@xras/ui 0.1.3 → 0.1.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/dist/xras-ui.cjs CHANGED
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var vA;function EV(){if(vA)return Yt;vA=1;var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),p=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),R=Symbol.iterator;function T(F){return F===null||typeof F!="object"?null:(F=R&&F[R]||F["@@iterator"],typeof F=="function"?F:null)}var A={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},N=Object.assign,j={};function O(F,q,se){this.props=F,this.context=q,this.refs=j,this.updater=se||A}O.prototype.isReactComponent={},O.prototype.setState=function(F,q){if(typeof F!="object"&&typeof F!="function"&&F!=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,F,q,"setState")},O.prototype.forceUpdate=function(F){this.updater.enqueueForceUpdate(this,F,"forceUpdate")};function L(){}L.prototype=O.prototype;function B(F,q,se){this.props=F,this.context=q,this.refs=j,this.updater=se||A}var P=B.prototype=new L;P.constructor=B,N(P,O.prototype),P.isPureReactComponent=!0;var U=Array.isArray,z=Object.prototype.hasOwnProperty,G={current:null},X={key:!0,ref:!0,__self:!0,__source:!0};function te(F,q,se){var xe,Ee={},De=null,ie=null;if(q!=null)for(xe in q.ref!==void 0&&(ie=q.ref),q.key!==void 0&&(De=""+q.key),q)z.call(q,xe)&&!X.hasOwnProperty(xe)&&(Ee[xe]=q[xe]);var he=arguments.length-2;if(he===1)Ee.children=se;else if(1<he){for(var Te=Array(he),Ve=0;Ve<he;Ve++)Te[Ve]=arguments[Ve+2];Ee.children=Te}if(F&&F.defaultProps)for(xe in he=F.defaultProps,he)Ee[xe]===void 0&&(Ee[xe]=he[xe]);return{$$typeof:n,type:F,key:De,ref:ie,props:Ee,_owner:G.current}}function Re(F,q){return{$$typeof:n,type:F.type,key:q,ref:F.ref,props:F.props,_owner:F._owner}}function ue(F){return typeof F=="object"&&F!==null&&F.$$typeof===n}function pe(F){var q={"=":"=0",":":"=2"};return"$"+F.replace(/[=:]/g,function(se){return q[se]})}var ye=/\/+/g;function me(F,q){return typeof F=="object"&&F!==null&&F.key!=null?pe(""+F.key):q.toString(36)}function Ae(F,q,se,xe,Ee){var De=typeof F;(De==="undefined"||De==="boolean")&&(F=null);var ie=!1;if(F===null)ie=!0;else switch(De){case"string":case"number":ie=!0;break;case"object":switch(F.$$typeof){case n:case r:ie=!0}}if(ie)return ie=F,Ee=Ee(ie),F=xe===""?"."+me(ie,0):xe,U(Ee)?(se="",F!=null&&(se=F.replace(ye,"$&/")+"/"),Ae(Ee,q,se,"",function(Ve){return Ve})):Ee!=null&&(ue(Ee)&&(Ee=Re(Ee,se+(!Ee.key||ie&&ie.key===Ee.key?"":(""+Ee.key).replace(ye,"$&/")+"/")+F)),q.push(Ee)),1;if(ie=0,xe=xe===""?".":xe+":",U(F))for(var he=0;he<F.length;he++){De=F[he];var Te=xe+me(De,he);ie+=Ae(De,q,se,Te,Ee)}else if(Te=T(F),typeof Te=="function")for(F=Te.call(F),he=0;!(De=F.next()).done;)De=De.value,Te=xe+me(De,he++),ie+=Ae(De,q,se,Te,Ee);else if(De==="object")throw q=String(F),Error("Objects are not valid as a React child (found: "+(q==="[object Object]"?"object with keys {"+Object.keys(F).join(", ")+"}":q)+"). If you meant to render a collection of children, use an array instead.");return ie}function _e(F,q,se){if(F==null)return F;var xe=[],Ee=0;return Ae(F,xe,"","",function(De){return q.call(se,De,Ee++)}),xe}function Oe(F){if(F._status===-1){var q=F._result;q=q(),q.then(function(se){(F._status===0||F._status===-1)&&(F._status=1,F._result=se)},function(se){(F._status===0||F._status===-1)&&(F._status=2,F._result=se)}),F._status===-1&&(F._status=0,F._result=q)}if(F._status===1)return F._result.default;throw F._result}var Ie={current:null},ve={transition:null},Le={ReactCurrentDispatcher:Ie,ReactCurrentBatchConfig:ve,ReactCurrentOwner:G};return Yt.Children={map:_e,forEach:function(F,q,se){_e(F,function(){q.apply(this,arguments)},se)},count:function(F){var q=0;return _e(F,function(){q++}),q},toArray:function(F){return _e(F,function(q){return q})||[]},only:function(F){if(!ue(F))throw Error("React.Children.only expected to receive a single React element child.");return F}},Yt.Component=O,Yt.Fragment=i,Yt.Profiler=l,Yt.PureComponent=B,Yt.StrictMode=u,Yt.Suspense=g,Yt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Le,Yt.cloneElement=function(F,q,se){if(F==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+F+".");var xe=N({},F.props),Ee=F.key,De=F.ref,ie=F._owner;if(q!=null){if(q.ref!==void 0&&(De=q.ref,ie=G.current),q.key!==void 0&&(Ee=""+q.key),F.type&&F.type.defaultProps)var he=F.type.defaultProps;for(Te in q)z.call(q,Te)&&!X.hasOwnProperty(Te)&&(xe[Te]=q[Te]===void 0&&he!==void 0?he[Te]:q[Te])}var Te=arguments.length-2;if(Te===1)xe.children=se;else if(1<Te){he=Array(Te);for(var Ve=0;Ve<Te;Ve++)he[Ve]=arguments[Ve+2];xe.children=he}return{$$typeof:n,type:F.type,key:Ee,ref:De,props:xe,_owner:ie}},Yt.createContext=function(F){return F={$$typeof:p,_currentValue:F,_currentValue2:F,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},F.Provider={$$typeof:d,_context:F},F.Consumer=F},Yt.createElement=te,Yt.createFactory=function(F){var q=te.bind(null,F);return q.type=F,q},Yt.createRef=function(){return{current:null}},Yt.forwardRef=function(F){return{$$typeof:y,render:F}},Yt.isValidElement=ue,Yt.lazy=function(F){return{$$typeof:E,_payload:{_status:-1,_result:F},_init:Oe}},Yt.memo=function(F,q){return{$$typeof:b,type:F,compare:q===void 0?null:q}},Yt.startTransition=function(F){var q=ve.transition;ve.transition={};try{F()}finally{ve.transition=q}},Yt.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},Yt.useCallback=function(F,q){return Ie.current.useCallback(F,q)},Yt.useContext=function(F){return Ie.current.useContext(F)},Yt.useDebugValue=function(){},Yt.useDeferredValue=function(F){return Ie.current.useDeferredValue(F)},Yt.useEffect=function(F,q){return Ie.current.useEffect(F,q)},Yt.useId=function(){return Ie.current.useId()},Yt.useImperativeHandle=function(F,q,se){return Ie.current.useImperativeHandle(F,q,se)},Yt.useInsertionEffect=function(F,q){return Ie.current.useInsertionEffect(F,q)},Yt.useLayoutEffect=function(F,q){return Ie.current.useLayoutEffect(F,q)},Yt.useMemo=function(F,q){return Ie.current.useMemo(F,q)},Yt.useReducer=function(F,q,se){return Ie.current.useReducer(F,q,se)},Yt.useRef=function(F){return Ie.current.useRef(F)},Yt.useState=function(F){return Ie.current.useState(F)},Yt.useSyncExternalStore=function(F,q,se){return Ie.current.useSyncExternalStore(F,q,se)},Yt.useTransition=function(){return Ie.current.useTransition()},Yt.version="18.2.0",Yt}var im={exports:{}};/**
9
+ */var vA;function EV(){if(vA)return Yt;vA=1;var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),p=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),w=Symbol.iterator;function T(F){return F===null||typeof F!="object"?null:(F=w&&F[w]||F["@@iterator"],typeof F=="function"?F:null)}var A={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},N=Object.assign,j={};function O(F,q,se){this.props=F,this.context=q,this.refs=j,this.updater=se||A}O.prototype.isReactComponent={},O.prototype.setState=function(F,q){if(typeof F!="object"&&typeof F!="function"&&F!=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,F,q,"setState")},O.prototype.forceUpdate=function(F){this.updater.enqueueForceUpdate(this,F,"forceUpdate")};function L(){}L.prototype=O.prototype;function B(F,q,se){this.props=F,this.context=q,this.refs=j,this.updater=se||A}var P=B.prototype=new L;P.constructor=B,N(P,O.prototype),P.isPureReactComponent=!0;var U=Array.isArray,z=Object.prototype.hasOwnProperty,G={current:null},X={key:!0,ref:!0,__self:!0,__source:!0};function te(F,q,se){var xe,Ee={},De=null,ie=null;if(q!=null)for(xe in q.ref!==void 0&&(ie=q.ref),q.key!==void 0&&(De=""+q.key),q)z.call(q,xe)&&!X.hasOwnProperty(xe)&&(Ee[xe]=q[xe]);var he=arguments.length-2;if(he===1)Ee.children=se;else if(1<he){for(var Te=Array(he),Ve=0;Ve<he;Ve++)Te[Ve]=arguments[Ve+2];Ee.children=Te}if(F&&F.defaultProps)for(xe in he=F.defaultProps,he)Ee[xe]===void 0&&(Ee[xe]=he[xe]);return{$$typeof:n,type:F,key:De,ref:ie,props:Ee,_owner:G.current}}function Re(F,q){return{$$typeof:n,type:F.type,key:q,ref:F.ref,props:F.props,_owner:F._owner}}function ue(F){return typeof F=="object"&&F!==null&&F.$$typeof===n}function pe(F){var q={"=":"=0",":":"=2"};return"$"+F.replace(/[=:]/g,function(se){return q[se]})}var ye=/\/+/g;function me(F,q){return typeof F=="object"&&F!==null&&F.key!=null?pe(""+F.key):q.toString(36)}function Ae(F,q,se,xe,Ee){var De=typeof F;(De==="undefined"||De==="boolean")&&(F=null);var ie=!1;if(F===null)ie=!0;else switch(De){case"string":case"number":ie=!0;break;case"object":switch(F.$$typeof){case n:case r:ie=!0}}if(ie)return ie=F,Ee=Ee(ie),F=xe===""?"."+me(ie,0):xe,U(Ee)?(se="",F!=null&&(se=F.replace(ye,"$&/")+"/"),Ae(Ee,q,se,"",function(Ve){return Ve})):Ee!=null&&(ue(Ee)&&(Ee=Re(Ee,se+(!Ee.key||ie&&ie.key===Ee.key?"":(""+Ee.key).replace(ye,"$&/")+"/")+F)),q.push(Ee)),1;if(ie=0,xe=xe===""?".":xe+":",U(F))for(var he=0;he<F.length;he++){De=F[he];var Te=xe+me(De,he);ie+=Ae(De,q,se,Te,Ee)}else if(Te=T(F),typeof Te=="function")for(F=Te.call(F),he=0;!(De=F.next()).done;)De=De.value,Te=xe+me(De,he++),ie+=Ae(De,q,se,Te,Ee);else if(De==="object")throw q=String(F),Error("Objects are not valid as a React child (found: "+(q==="[object Object]"?"object with keys {"+Object.keys(F).join(", ")+"}":q)+"). If you meant to render a collection of children, use an array instead.");return ie}function _e(F,q,se){if(F==null)return F;var xe=[],Ee=0;return Ae(F,xe,"","",function(De){return q.call(se,De,Ee++)}),xe}function Oe(F){if(F._status===-1){var q=F._result;q=q(),q.then(function(se){(F._status===0||F._status===-1)&&(F._status=1,F._result=se)},function(se){(F._status===0||F._status===-1)&&(F._status=2,F._result=se)}),F._status===-1&&(F._status=0,F._result=q)}if(F._status===1)return F._result.default;throw F._result}var Ie={current:null},ve={transition:null},Le={ReactCurrentDispatcher:Ie,ReactCurrentBatchConfig:ve,ReactCurrentOwner:G};return Yt.Children={map:_e,forEach:function(F,q,se){_e(F,function(){q.apply(this,arguments)},se)},count:function(F){var q=0;return _e(F,function(){q++}),q},toArray:function(F){return _e(F,function(q){return q})||[]},only:function(F){if(!ue(F))throw Error("React.Children.only expected to receive a single React element child.");return F}},Yt.Component=O,Yt.Fragment=i,Yt.Profiler=l,Yt.PureComponent=B,Yt.StrictMode=u,Yt.Suspense=g,Yt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Le,Yt.cloneElement=function(F,q,se){if(F==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+F+".");var xe=N({},F.props),Ee=F.key,De=F.ref,ie=F._owner;if(q!=null){if(q.ref!==void 0&&(De=q.ref,ie=G.current),q.key!==void 0&&(Ee=""+q.key),F.type&&F.type.defaultProps)var he=F.type.defaultProps;for(Te in q)z.call(q,Te)&&!X.hasOwnProperty(Te)&&(xe[Te]=q[Te]===void 0&&he!==void 0?he[Te]:q[Te])}var Te=arguments.length-2;if(Te===1)xe.children=se;else if(1<Te){he=Array(Te);for(var Ve=0;Ve<Te;Ve++)he[Ve]=arguments[Ve+2];xe.children=he}return{$$typeof:n,type:F.type,key:Ee,ref:De,props:xe,_owner:ie}},Yt.createContext=function(F){return F={$$typeof:p,_currentValue:F,_currentValue2:F,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},F.Provider={$$typeof:d,_context:F},F.Consumer=F},Yt.createElement=te,Yt.createFactory=function(F){var q=te.bind(null,F);return q.type=F,q},Yt.createRef=function(){return{current:null}},Yt.forwardRef=function(F){return{$$typeof:y,render:F}},Yt.isValidElement=ue,Yt.lazy=function(F){return{$$typeof:E,_payload:{_status:-1,_result:F},_init:Oe}},Yt.memo=function(F,q){return{$$typeof:b,type:F,compare:q===void 0?null:q}},Yt.startTransition=function(F){var q=ve.transition;ve.transition={};try{F()}finally{ve.transition=q}},Yt.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},Yt.useCallback=function(F,q){return Ie.current.useCallback(F,q)},Yt.useContext=function(F){return Ie.current.useContext(F)},Yt.useDebugValue=function(){},Yt.useDeferredValue=function(F){return Ie.current.useDeferredValue(F)},Yt.useEffect=function(F,q){return Ie.current.useEffect(F,q)},Yt.useId=function(){return Ie.current.useId()},Yt.useImperativeHandle=function(F,q,se){return Ie.current.useImperativeHandle(F,q,se)},Yt.useInsertionEffect=function(F,q){return Ie.current.useInsertionEffect(F,q)},Yt.useLayoutEffect=function(F,q){return Ie.current.useLayoutEffect(F,q)},Yt.useMemo=function(F,q){return Ie.current.useMemo(F,q)},Yt.useReducer=function(F,q,se){return Ie.current.useReducer(F,q,se)},Yt.useRef=function(F){return Ie.current.useRef(F)},Yt.useState=function(F){return Ie.current.useState(F)},Yt.useSyncExternalStore=function(F,q,se){return Ie.current.useSyncExternalStore(F,q,se)},Yt.useTransition=function(){return Ie.current.useTransition()},Yt.version="18.2.0",Yt}var im={exports:{}};/**
10
10
  * @license React
11
11
  * react.development.js
12
12
  *
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */im.exports;var hA;function SV(){return hA||(hA=1,function(n,r){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var i="18.2.0",u=Symbol.for("react.element"),l=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),p=Symbol.for("react.strict_mode"),y=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),b=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),j=Symbol.for("react.offscreen"),O=Symbol.iterator,L="@@iterator";function B(D){if(D===null||typeof D!="object")return null;var Y=O&&D[O]||D[L];return typeof Y=="function"?Y:null}var P={current:null},U={transition:null},z={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},G={current:null},X={},te=null;function Re(D){te=D}X.setExtraStackFrame=function(D){te=D},X.getCurrentStack=null,X.getStackAddendum=function(){var D="";te&&(D+=te);var Y=X.getCurrentStack;return Y&&(D+=Y()||""),D};var ue=!1,pe=!1,ye=!1,me=!1,Ae=!1,_e={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:U,ReactCurrentOwner:G};_e.ReactDebugCurrentFrame=X,_e.ReactCurrentActQueue=z;function Oe(D){{for(var Y=arguments.length,ce=new Array(Y>1?Y-1:0),ge=1;ge<Y;ge++)ce[ge-1]=arguments[ge];ve("warn",D,ce)}}function Ie(D){{for(var Y=arguments.length,ce=new Array(Y>1?Y-1:0),ge=1;ge<Y;ge++)ce[ge-1]=arguments[ge];ve("error",D,ce)}}function ve(D,Y,ce){{var ge=_e.ReactDebugCurrentFrame,Be=ge.getStackAddendum();Be!==""&&(Y+="%s",ce=ce.concat([Be]));var gt=ce.map(function(We){return String(We)});gt.unshift("Warning: "+Y),Function.prototype.apply.call(console[D],console,gt)}}var Le={};function F(D,Y){{var ce=D.constructor,ge=ce&&(ce.displayName||ce.name)||"ReactClass",Be=ge+"."+Y;if(Le[Be])return;Ie("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.",Y,ge),Le[Be]=!0}}var q={isMounted:function(D){return!1},enqueueForceUpdate:function(D,Y,ce){F(D,"forceUpdate")},enqueueReplaceState:function(D,Y,ce,ge){F(D,"replaceState")},enqueueSetState:function(D,Y,ce,ge){F(D,"setState")}},se=Object.assign,xe={};Object.freeze(xe);function Ee(D,Y,ce){this.props=D,this.context=Y,this.refs=xe,this.updater=ce||q}Ee.prototype.isReactComponent={},Ee.prototype.setState=function(D,Y){if(typeof D!="object"&&typeof D!="function"&&D!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,D,Y,"setState")},Ee.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};{var De={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)."]},ie=function(D,Y){Object.defineProperty(Ee.prototype,D,{get:function(){Oe("%s(...) is deprecated in plain JavaScript React classes. %s",Y[0],Y[1])}})};for(var he in De)De.hasOwnProperty(he)&&ie(he,De[he])}function Te(){}Te.prototype=Ee.prototype;function Ve(D,Y,ce){this.props=D,this.context=Y,this.refs=xe,this.updater=ce||q}var Ke=Ve.prototype=new Te;Ke.constructor=Ve,se(Ke,Ee.prototype),Ke.isPureReactComponent=!0;function It(){var D={current:null};return Object.seal(D),D}var Ne=Array.isArray;function ft(D){return Ne(D)}function Bt(D){{var Y=typeof Symbol=="function"&&Symbol.toStringTag,ce=Y&&D[Symbol.toStringTag]||D.constructor.name||"Object";return ce}}function lt(D){try{return hn(D),!1}catch{return!0}}function hn(D){return""+D}function nn(D){if(lt(D))return Ie("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Bt(D)),hn(D)}function Hn(D,Y,ce){var ge=D.displayName;if(ge)return ge;var Be=Y.displayName||Y.name||"";return Be!==""?ce+"("+Be+")":ce}function Mn(D){return D.displayName||"Context"}function Mt(D){if(D==null)return null;if(typeof D.tag=="number"&&Ie("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof D=="function")return D.displayName||D.name||null;if(typeof D=="string")return D;switch(D){case d:return"Fragment";case l:return"Portal";case y:return"Profiler";case p:return"StrictMode";case R:return"Suspense";case T:return"SuspenseList"}if(typeof D=="object")switch(D.$$typeof){case b:var Y=D;return Mn(Y)+".Consumer";case g:var ce=D;return Mn(ce._context)+".Provider";case E:return Hn(D,D.render,"ForwardRef");case A:var ge=D.displayName||null;return ge!==null?ge:Mt(D.type)||"Memo";case N:{var Be=D,gt=Be._payload,We=Be._init;try{return Mt(We(gt))}catch{return null}}}return null}var Ln=Object.prototype.hasOwnProperty,$n={key:!0,ref:!0,__self:!0,__source:!0},rr,lr,Qn;Qn={};function St(D){if(Ln.call(D,"ref")){var Y=Object.getOwnPropertyDescriptor(D,"ref").get;if(Y&&Y.isReactWarning)return!1}return D.ref!==void 0}function en(D){if(Ln.call(D,"key")){var Y=Object.getOwnPropertyDescriptor(D,"key").get;if(Y&&Y.isReactWarning)return!1}return D.key!==void 0}function ar(D,Y){var ce=function(){rr||(rr=!0,Ie("%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)",Y))};ce.isReactWarning=!0,Object.defineProperty(D,"key",{get:ce,configurable:!0})}function Xi(D,Y){var ce=function(){lr||(lr=!0,Ie("%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)",Y))};ce.isReactWarning=!0,Object.defineProperty(D,"ref",{get:ce,configurable:!0})}function Va(D){if(typeof D.ref=="string"&&G.current&&D.__self&&G.current.stateNode!==D.__self){var Y=Mt(G.current.type);Qn[Y]||(Ie('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',Y,D.ref),Qn[Y]=!0)}}var He=function(D,Y,ce,ge,Be,gt,We){var ht={$$typeof:u,type:D,key:Y,ref:ce,props:We,_owner:gt};return ht._store={},Object.defineProperty(ht._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ht,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ge}),Object.defineProperty(ht,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Be}),Object.freeze&&(Object.freeze(ht.props),Object.freeze(ht)),ht};function st(D,Y,ce){var ge,Be={},gt=null,We=null,ht=null,Pt=null;if(Y!=null){St(Y)&&(We=Y.ref,Va(Y)),en(Y)&&(nn(Y.key),gt=""+Y.key),ht=Y.__self===void 0?null:Y.__self,Pt=Y.__source===void 0?null:Y.__source;for(ge in Y)Ln.call(Y,ge)&&!$n.hasOwnProperty(ge)&&(Be[ge]=Y[ge])}var qt=arguments.length-2;if(qt===1)Be.children=ce;else if(qt>1){for(var Tn=Array(qt),gn=0;gn<qt;gn++)Tn[gn]=arguments[gn+2];Object.freeze&&Object.freeze(Tn),Be.children=Tn}if(D&&D.defaultProps){var In=D.defaultProps;for(ge in In)Be[ge]===void 0&&(Be[ge]=In[ge])}if(gt||We){var jn=typeof D=="function"?D.displayName||D.name||"Unknown":D;gt&&ar(Be,jn),We&&Xi(Be,jn)}return He(D,gt,We,ht,Pt,G.current,Be)}function Lt(D,Y){var ce=He(D.type,Y,D.ref,D._self,D._source,D._owner,D.props);return ce}function sn(D,Y,ce){if(D==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+D+".");var ge,Be=se({},D.props),gt=D.key,We=D.ref,ht=D._self,Pt=D._source,qt=D._owner;if(Y!=null){St(Y)&&(We=Y.ref,qt=G.current),en(Y)&&(nn(Y.key),gt=""+Y.key);var Tn;D.type&&D.type.defaultProps&&(Tn=D.type.defaultProps);for(ge in Y)Ln.call(Y,ge)&&!$n.hasOwnProperty(ge)&&(Y[ge]===void 0&&Tn!==void 0?Be[ge]=Tn[ge]:Be[ge]=Y[ge])}var gn=arguments.length-2;if(gn===1)Be.children=ce;else if(gn>1){for(var In=Array(gn),jn=0;jn<gn;jn++)In[jn]=arguments[jn+2];Be.children=In}return He(D.type,gt,We,ht,Pt,qt,Be)}function ln(D){return typeof D=="object"&&D!==null&&D.$$typeof===u}var ir=".",Wn=":";function $r(D){var Y=/[=:]/g,ce={"=":"=0",":":"=2"},ge=D.replace(Y,function(Be){return ce[Be]});return"$"+ge}var mn=!1,na=/\/+/g;function cn(D){return D.replace(na,"$&/")}function fn(D,Y){return typeof D=="object"&&D!==null&&D.key!=null?(nn(D.key),$r(""+D.key)):Y.toString(36)}function Ni(D,Y,ce,ge,Be){var gt=typeof D;(gt==="undefined"||gt==="boolean")&&(D=null);var We=!1;if(D===null)We=!0;else switch(gt){case"string":case"number":We=!0;break;case"object":switch(D.$$typeof){case u:case l:We=!0}}if(We){var ht=D,Pt=Be(ht),qt=ge===""?ir+fn(ht,0):ge;if(ft(Pt)){var Tn="";qt!=null&&(Tn=cn(qt)+"/"),Ni(Pt,Y,Tn,"",function($p){return $p})}else Pt!=null&&(ln(Pt)&&(Pt.key&&(!ht||ht.key!==Pt.key)&&nn(Pt.key),Pt=Lt(Pt,ce+(Pt.key&&(!ht||ht.key!==Pt.key)?cn(""+Pt.key)+"/":"")+qt)),Y.push(Pt));return 1}var gn,In,jn=0,Ut=ge===""?ir:ge+Wn;if(ft(D))for(var Eo=0;Eo<D.length;Eo++)gn=D[Eo],In=Ut+fn(gn,Eo),jn+=Ni(gn,Y,ce,In,Be);else{var dl=B(D);if(typeof dl=="function"){var bc=D;dl===bc.entries&&(mn||Oe("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),mn=!0);for(var Gp=dl.call(bc),ji,Cc=0;!(ji=Gp.next()).done;)gn=ji.value,In=Ut+fn(gn,Cc++),jn+=Ni(gn,Y,ce,In,Be)}else if(gt==="object"){var xc=String(D);throw new Error("Objects are not valid as a React child (found: "+(xc==="[object Object]"?"object with keys {"+Object.keys(D).join(", ")+"}":xc)+"). If you meant to render a collection of children, use an array instead.")}}return jn}function ni(D,Y,ce){if(D==null)return D;var ge=[],Be=0;return Ni(D,ge,"","",function(gt){return Y.call(ce,gt,Be++)}),ge}function Ko(D){var Y=0;return ni(D,function(){Y++}),Y}function Js(D,Y,ce){ni(D,function(){Y.apply(this,arguments)},ce)}function el(D){return ni(D,function(Y){return Y})||[]}function bo(D){if(!ln(D))throw new Error("React.Children.only expected to receive a single React element child.");return D}function es(D){var Y={$$typeof:b,_currentValue:D,_currentValue2:D,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};Y.Provider={$$typeof:g,_context:Y};var ce=!1,ge=!1,Be=!1;{var gt={$$typeof:b,_context:Y};Object.defineProperties(gt,{Provider:{get:function(){return ge||(ge=!0,Ie("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),Y.Provider},set:function(We){Y.Provider=We}},_currentValue:{get:function(){return Y._currentValue},set:function(We){Y._currentValue=We}},_currentValue2:{get:function(){return Y._currentValue2},set:function(We){Y._currentValue2=We}},_threadCount:{get:function(){return Y._threadCount},set:function(We){Y._threadCount=We}},Consumer:{get:function(){return ce||(ce=!0,Ie("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),Y.Consumer}},displayName:{get:function(){return Y.displayName},set:function(We){Be||(Oe("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",We),Be=!0)}}}),Y.Consumer=gt}return Y._currentRenderer=null,Y._currentRenderer2=null,Y}var Ba=-1,Yi=0,za=1,Zi=2;function ra(D){if(D._status===Ba){var Y=D._result,ce=Y();if(ce.then(function(gt){if(D._status===Yi||D._status===Ba){var We=D;We._status=za,We._result=gt}},function(gt){if(D._status===Yi||D._status===Ba){var We=D;We._status=Zi,We._result=gt}}),D._status===Ba){var ge=D;ge._status=Yi,ge._result=ce}}if(D._status===za){var Be=D._result;return Be===void 0&&Ie(`lazy: Expected the result of a dynamic import() call. Instead received: %s
17
+ */im.exports;var hA;function SV(){return hA||(hA=1,function(n,r){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var i="18.2.0",u=Symbol.for("react.element"),l=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),p=Symbol.for("react.strict_mode"),y=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),b=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),j=Symbol.for("react.offscreen"),O=Symbol.iterator,L="@@iterator";function B(D){if(D===null||typeof D!="object")return null;var Y=O&&D[O]||D[L];return typeof Y=="function"?Y:null}var P={current:null},U={transition:null},z={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},G={current:null},X={},te=null;function Re(D){te=D}X.setExtraStackFrame=function(D){te=D},X.getCurrentStack=null,X.getStackAddendum=function(){var D="";te&&(D+=te);var Y=X.getCurrentStack;return Y&&(D+=Y()||""),D};var ue=!1,pe=!1,ye=!1,me=!1,Ae=!1,_e={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:U,ReactCurrentOwner:G};_e.ReactDebugCurrentFrame=X,_e.ReactCurrentActQueue=z;function Oe(D){{for(var Y=arguments.length,ce=new Array(Y>1?Y-1:0),ge=1;ge<Y;ge++)ce[ge-1]=arguments[ge];ve("warn",D,ce)}}function Ie(D){{for(var Y=arguments.length,ce=new Array(Y>1?Y-1:0),ge=1;ge<Y;ge++)ce[ge-1]=arguments[ge];ve("error",D,ce)}}function ve(D,Y,ce){{var ge=_e.ReactDebugCurrentFrame,Be=ge.getStackAddendum();Be!==""&&(Y+="%s",ce=ce.concat([Be]));var gt=ce.map(function(We){return String(We)});gt.unshift("Warning: "+Y),Function.prototype.apply.call(console[D],console,gt)}}var Le={};function F(D,Y){{var ce=D.constructor,ge=ce&&(ce.displayName||ce.name)||"ReactClass",Be=ge+"."+Y;if(Le[Be])return;Ie("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.",Y,ge),Le[Be]=!0}}var q={isMounted:function(D){return!1},enqueueForceUpdate:function(D,Y,ce){F(D,"forceUpdate")},enqueueReplaceState:function(D,Y,ce,ge){F(D,"replaceState")},enqueueSetState:function(D,Y,ce,ge){F(D,"setState")}},se=Object.assign,xe={};Object.freeze(xe);function Ee(D,Y,ce){this.props=D,this.context=Y,this.refs=xe,this.updater=ce||q}Ee.prototype.isReactComponent={},Ee.prototype.setState=function(D,Y){if(typeof D!="object"&&typeof D!="function"&&D!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,D,Y,"setState")},Ee.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};{var De={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)."]},ie=function(D,Y){Object.defineProperty(Ee.prototype,D,{get:function(){Oe("%s(...) is deprecated in plain JavaScript React classes. %s",Y[0],Y[1])}})};for(var he in De)De.hasOwnProperty(he)&&ie(he,De[he])}function Te(){}Te.prototype=Ee.prototype;function Ve(D,Y,ce){this.props=D,this.context=Y,this.refs=xe,this.updater=ce||q}var Ke=Ve.prototype=new Te;Ke.constructor=Ve,se(Ke,Ee.prototype),Ke.isPureReactComponent=!0;function It(){var D={current:null};return Object.seal(D),D}var Ne=Array.isArray;function ft(D){return Ne(D)}function Bt(D){{var Y=typeof Symbol=="function"&&Symbol.toStringTag,ce=Y&&D[Symbol.toStringTag]||D.constructor.name||"Object";return ce}}function lt(D){try{return hn(D),!1}catch{return!0}}function hn(D){return""+D}function nn(D){if(lt(D))return Ie("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Bt(D)),hn(D)}function Hn(D,Y,ce){var ge=D.displayName;if(ge)return ge;var Be=Y.displayName||Y.name||"";return Be!==""?ce+"("+Be+")":ce}function Mn(D){return D.displayName||"Context"}function Mt(D){if(D==null)return null;if(typeof D.tag=="number"&&Ie("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof D=="function")return D.displayName||D.name||null;if(typeof D=="string")return D;switch(D){case d:return"Fragment";case l:return"Portal";case y:return"Profiler";case p:return"StrictMode";case w:return"Suspense";case T:return"SuspenseList"}if(typeof D=="object")switch(D.$$typeof){case b:var Y=D;return Mn(Y)+".Consumer";case g:var ce=D;return Mn(ce._context)+".Provider";case E:return Hn(D,D.render,"ForwardRef");case A:var ge=D.displayName||null;return ge!==null?ge:Mt(D.type)||"Memo";case N:{var Be=D,gt=Be._payload,We=Be._init;try{return Mt(We(gt))}catch{return null}}}return null}var Ln=Object.prototype.hasOwnProperty,$n={key:!0,ref:!0,__self:!0,__source:!0},rr,lr,Qn;Qn={};function St(D){if(Ln.call(D,"ref")){var Y=Object.getOwnPropertyDescriptor(D,"ref").get;if(Y&&Y.isReactWarning)return!1}return D.ref!==void 0}function en(D){if(Ln.call(D,"key")){var Y=Object.getOwnPropertyDescriptor(D,"key").get;if(Y&&Y.isReactWarning)return!1}return D.key!==void 0}function ar(D,Y){var ce=function(){rr||(rr=!0,Ie("%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)",Y))};ce.isReactWarning=!0,Object.defineProperty(D,"key",{get:ce,configurable:!0})}function Xi(D,Y){var ce=function(){lr||(lr=!0,Ie("%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)",Y))};ce.isReactWarning=!0,Object.defineProperty(D,"ref",{get:ce,configurable:!0})}function Va(D){if(typeof D.ref=="string"&&G.current&&D.__self&&G.current.stateNode!==D.__self){var Y=Mt(G.current.type);Qn[Y]||(Ie('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',Y,D.ref),Qn[Y]=!0)}}var He=function(D,Y,ce,ge,Be,gt,We){var ht={$$typeof:u,type:D,key:Y,ref:ce,props:We,_owner:gt};return ht._store={},Object.defineProperty(ht._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ht,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ge}),Object.defineProperty(ht,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Be}),Object.freeze&&(Object.freeze(ht.props),Object.freeze(ht)),ht};function st(D,Y,ce){var ge,Be={},gt=null,We=null,ht=null,Pt=null;if(Y!=null){St(Y)&&(We=Y.ref,Va(Y)),en(Y)&&(nn(Y.key),gt=""+Y.key),ht=Y.__self===void 0?null:Y.__self,Pt=Y.__source===void 0?null:Y.__source;for(ge in Y)Ln.call(Y,ge)&&!$n.hasOwnProperty(ge)&&(Be[ge]=Y[ge])}var qt=arguments.length-2;if(qt===1)Be.children=ce;else if(qt>1){for(var Tn=Array(qt),gn=0;gn<qt;gn++)Tn[gn]=arguments[gn+2];Object.freeze&&Object.freeze(Tn),Be.children=Tn}if(D&&D.defaultProps){var In=D.defaultProps;for(ge in In)Be[ge]===void 0&&(Be[ge]=In[ge])}if(gt||We){var jn=typeof D=="function"?D.displayName||D.name||"Unknown":D;gt&&ar(Be,jn),We&&Xi(Be,jn)}return He(D,gt,We,ht,Pt,G.current,Be)}function Lt(D,Y){var ce=He(D.type,Y,D.ref,D._self,D._source,D._owner,D.props);return ce}function sn(D,Y,ce){if(D==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+D+".");var ge,Be=se({},D.props),gt=D.key,We=D.ref,ht=D._self,Pt=D._source,qt=D._owner;if(Y!=null){St(Y)&&(We=Y.ref,qt=G.current),en(Y)&&(nn(Y.key),gt=""+Y.key);var Tn;D.type&&D.type.defaultProps&&(Tn=D.type.defaultProps);for(ge in Y)Ln.call(Y,ge)&&!$n.hasOwnProperty(ge)&&(Y[ge]===void 0&&Tn!==void 0?Be[ge]=Tn[ge]:Be[ge]=Y[ge])}var gn=arguments.length-2;if(gn===1)Be.children=ce;else if(gn>1){for(var In=Array(gn),jn=0;jn<gn;jn++)In[jn]=arguments[jn+2];Be.children=In}return He(D.type,gt,We,ht,Pt,qt,Be)}function ln(D){return typeof D=="object"&&D!==null&&D.$$typeof===u}var ir=".",Wn=":";function $r(D){var Y=/[=:]/g,ce={"=":"=0",":":"=2"},ge=D.replace(Y,function(Be){return ce[Be]});return"$"+ge}var mn=!1,na=/\/+/g;function cn(D){return D.replace(na,"$&/")}function fn(D,Y){return typeof D=="object"&&D!==null&&D.key!=null?(nn(D.key),$r(""+D.key)):Y.toString(36)}function Ni(D,Y,ce,ge,Be){var gt=typeof D;(gt==="undefined"||gt==="boolean")&&(D=null);var We=!1;if(D===null)We=!0;else switch(gt){case"string":case"number":We=!0;break;case"object":switch(D.$$typeof){case u:case l:We=!0}}if(We){var ht=D,Pt=Be(ht),qt=ge===""?ir+fn(ht,0):ge;if(ft(Pt)){var Tn="";qt!=null&&(Tn=cn(qt)+"/"),Ni(Pt,Y,Tn,"",function($p){return $p})}else Pt!=null&&(ln(Pt)&&(Pt.key&&(!ht||ht.key!==Pt.key)&&nn(Pt.key),Pt=Lt(Pt,ce+(Pt.key&&(!ht||ht.key!==Pt.key)?cn(""+Pt.key)+"/":"")+qt)),Y.push(Pt));return 1}var gn,In,jn=0,Ut=ge===""?ir:ge+Wn;if(ft(D))for(var Eo=0;Eo<D.length;Eo++)gn=D[Eo],In=Ut+fn(gn,Eo),jn+=Ni(gn,Y,ce,In,Be);else{var dl=B(D);if(typeof dl=="function"){var bc=D;dl===bc.entries&&(mn||Oe("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),mn=!0);for(var Gp=dl.call(bc),ji,Cc=0;!(ji=Gp.next()).done;)gn=ji.value,In=Ut+fn(gn,Cc++),jn+=Ni(gn,Y,ce,In,Be)}else if(gt==="object"){var xc=String(D);throw new Error("Objects are not valid as a React child (found: "+(xc==="[object Object]"?"object with keys {"+Object.keys(D).join(", ")+"}":xc)+"). If you meant to render a collection of children, use an array instead.")}}return jn}function ni(D,Y,ce){if(D==null)return D;var ge=[],Be=0;return Ni(D,ge,"","",function(gt){return Y.call(ce,gt,Be++)}),ge}function Ko(D){var Y=0;return ni(D,function(){Y++}),Y}function Js(D,Y,ce){ni(D,function(){Y.apply(this,arguments)},ce)}function el(D){return ni(D,function(Y){return Y})||[]}function bo(D){if(!ln(D))throw new Error("React.Children.only expected to receive a single React element child.");return D}function es(D){var Y={$$typeof:b,_currentValue:D,_currentValue2:D,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};Y.Provider={$$typeof:g,_context:Y};var ce=!1,ge=!1,Be=!1;{var gt={$$typeof:b,_context:Y};Object.defineProperties(gt,{Provider:{get:function(){return ge||(ge=!0,Ie("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),Y.Provider},set:function(We){Y.Provider=We}},_currentValue:{get:function(){return Y._currentValue},set:function(We){Y._currentValue=We}},_currentValue2:{get:function(){return Y._currentValue2},set:function(We){Y._currentValue2=We}},_threadCount:{get:function(){return Y._threadCount},set:function(We){Y._threadCount=We}},Consumer:{get:function(){return ce||(ce=!0,Ie("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),Y.Consumer}},displayName:{get:function(){return Y.displayName},set:function(We){Be||(Oe("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",We),Be=!0)}}}),Y.Consumer=gt}return Y._currentRenderer=null,Y._currentRenderer2=null,Y}var Ba=-1,Yi=0,za=1,Zi=2;function ra(D){if(D._status===Ba){var Y=D._result,ce=Y();if(ce.then(function(gt){if(D._status===Yi||D._status===Ba){var We=D;We._status=za,We._result=gt}},function(gt){if(D._status===Yi||D._status===Ba){var We=D;We._status=Zi,We._result=gt}}),D._status===Ba){var ge=D;ge._status=Yi,ge._result=ce}}if(D._status===za){var Be=D._result;return Be===void 0&&Ie(`lazy: Expected the result of a dynamic import() call. Instead received: %s
18
18
 
19
19
  Your code should look like:
20
20
  const MyComponent = lazy(() => import('./MyComponent'))
@@ -22,7 +22,7 @@ Your code should look like:
22
22
  Did you accidentally put curly braces around the import?`,Be),"default"in Be||Ie(`lazy: Expected the result of a dynamic import() call. Instead received: %s
23
23
 
24
24
  Your code should look like:
25
- const MyComponent = lazy(() => import('./MyComponent'))`,Be),Be.default}else throw D._result}function Ha(D){var Y={_status:Ba,_result:D},ce={$$typeof:N,_payload:Y,_init:ra};{var ge,Be;Object.defineProperties(ce,{defaultProps:{configurable:!0,get:function(){return ge},set:function(gt){Ie("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."),ge=gt,Object.defineProperty(ce,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return Be},set:function(gt){Ie("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."),Be=gt,Object.defineProperty(ce,"propTypes",{enumerable:!0})}}})}return ce}function Ji(D){D!=null&&D.$$typeof===A?Ie("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof D!="function"?Ie("forwardRef requires a render function but was given %s.",D===null?"null":typeof D):D.length!==0&&D.length!==2&&Ie("forwardRef render functions accept exactly two parameters: props and ref. %s",D.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),D!=null&&(D.defaultProps!=null||D.propTypes!=null)&&Ie("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var Y={$$typeof:E,render:D};{var ce;Object.defineProperty(Y,"displayName",{enumerable:!1,configurable:!0,get:function(){return ce},set:function(ge){ce=ge,!D.name&&!D.displayName&&(D.displayName=ge)}})}return Y}var Z;Z=Symbol.for("react.module.reference");function je(D){return!!(typeof D=="string"||typeof D=="function"||D===d||D===y||Ae||D===p||D===R||D===T||me||D===j||ue||pe||ye||typeof D=="object"&&D!==null&&(D.$$typeof===N||D.$$typeof===A||D.$$typeof===g||D.$$typeof===b||D.$$typeof===E||D.$$typeof===Z||D.getModuleId!==void 0))}function Ue(D,Y){je(D)||Ie("memo: The first argument must be a component. Instead received: %s",D===null?"null":typeof D);var ce={$$typeof:A,type:D,compare:Y===void 0?null:Y};{var ge;Object.defineProperty(ce,"displayName",{enumerable:!1,configurable:!0,get:function(){return ge},set:function(Be){ge=Be,!D.name&&!D.displayName&&(D.displayName=Be)}})}return ce}function Je(){var D=P.current;return D===null&&Ie(`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:
25
+ const MyComponent = lazy(() => import('./MyComponent'))`,Be),Be.default}else throw D._result}function Ha(D){var Y={_status:Ba,_result:D},ce={$$typeof:N,_payload:Y,_init:ra};{var ge,Be;Object.defineProperties(ce,{defaultProps:{configurable:!0,get:function(){return ge},set:function(gt){Ie("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."),ge=gt,Object.defineProperty(ce,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return Be},set:function(gt){Ie("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."),Be=gt,Object.defineProperty(ce,"propTypes",{enumerable:!0})}}})}return ce}function Ji(D){D!=null&&D.$$typeof===A?Ie("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof D!="function"?Ie("forwardRef requires a render function but was given %s.",D===null?"null":typeof D):D.length!==0&&D.length!==2&&Ie("forwardRef render functions accept exactly two parameters: props and ref. %s",D.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),D!=null&&(D.defaultProps!=null||D.propTypes!=null)&&Ie("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var Y={$$typeof:E,render:D};{var ce;Object.defineProperty(Y,"displayName",{enumerable:!1,configurable:!0,get:function(){return ce},set:function(ge){ce=ge,!D.name&&!D.displayName&&(D.displayName=ge)}})}return Y}var Z;Z=Symbol.for("react.module.reference");function je(D){return!!(typeof D=="string"||typeof D=="function"||D===d||D===y||Ae||D===p||D===w||D===T||me||D===j||ue||pe||ye||typeof D=="object"&&D!==null&&(D.$$typeof===N||D.$$typeof===A||D.$$typeof===g||D.$$typeof===b||D.$$typeof===E||D.$$typeof===Z||D.getModuleId!==void 0))}function Ue(D,Y){je(D)||Ie("memo: The first argument must be a component. Instead received: %s",D===null?"null":typeof D);var ce={$$typeof:A,type:D,compare:Y===void 0?null:Y};{var ge;Object.defineProperty(ce,"displayName",{enumerable:!1,configurable:!0,get:function(){return ge},set:function(Be){ge=Be,!D.name&&!D.displayName&&(D.displayName=Be)}})}return ce}function Je(){var D=P.current;return D===null&&Ie(`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:
26
26
  1. You might have mismatching versions of React and the renderer (such as React DOM)
27
27
  2. You might be breaking the Rules of Hooks
28
28
  3. You might have more than one copy of React in the same app
@@ -30,13 +30,13 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
30
30
  `+ia+D}}var is=!1,os;{var al=typeof WeakMap=="function"?WeakMap:Map;os=new al}function il(D,Y){if(!D||is)return"";{var ce=os.get(D);if(ce!==void 0)return ce}var ge;is=!0;var Be=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var gt;gt=_i.current,_i.current=null,rl();try{if(Y){var We=function(){throw Error()};if(Object.defineProperty(We.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(We,[])}catch(Ut){ge=Ut}Reflect.construct(D,[],We)}else{try{We.call()}catch(Ut){ge=Ut}D.call(We.prototype)}}else{try{throw Error()}catch(Ut){ge=Ut}D()}}catch(Ut){if(Ut&&ge&&typeof Ut.stack=="string"){for(var ht=Ut.stack.split(`
31
31
  `),Pt=ge.stack.split(`
32
32
  `),qt=ht.length-1,Tn=Pt.length-1;qt>=1&&Tn>=0&&ht[qt]!==Pt[Tn];)Tn--;for(;qt>=1&&Tn>=0;qt--,Tn--)if(ht[qt]!==Pt[Tn]){if(qt!==1||Tn!==1)do if(qt--,Tn--,Tn<0||ht[qt]!==Pt[Tn]){var gn=`
33
- `+ht[qt].replace(" at new "," at ");return D.displayName&&gn.includes("<anonymous>")&&(gn=gn.replace("<anonymous>",D.displayName)),typeof D=="function"&&os.set(D,gn),gn}while(qt>=1&&Tn>=0);break}}}finally{is=!1,_i.current=gt,rs(),Error.prepareStackTrace=Be}var In=D?D.displayName||D.name:"",jn=In?as(In):"";return typeof D=="function"&&os.set(D,jn),jn}function Co(D,Y,ce){return il(D,!1)}function Up(D){var Y=D.prototype;return!!(Y&&Y.isReactComponent)}function Ki(D,Y,ce){if(D==null)return"";if(typeof D=="function")return il(D,Up(D));if(typeof D=="string")return as(D);switch(D){case R:return as("Suspense");case T:return as("SuspenseList")}if(typeof D=="object")switch(D.$$typeof){case E:return Co(D.render);case A:return Ki(D.type,Y,ce);case N:{var ge=D,Be=ge._payload,gt=ge._init;try{return Ki(gt(Be),Y,ce)}catch{}}}return""}var rn={},ol=_e.ReactDebugCurrentFrame;function qs(D){if(D){var Y=D._owner,ce=Ki(D.type,D._source,Y?Y.type:null);ol.setExtraStackFrame(ce)}else ol.setExtraStackFrame(null)}function sl(D,Y,ce,ge,Be){{var gt=Function.call.bind(Ln);for(var We in D)if(gt(D,We)){var ht=void 0;try{if(typeof D[We]!="function"){var Pt=Error((ge||"React class")+": "+ce+" type `"+We+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof D[We]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Pt.name="Invariant Violation",Pt}ht=D[We](Y,We,ge,ce,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(qt){ht=qt}ht&&!(ht instanceof Error)&&(qs(Be),Ie("%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).",ge||"React class",ce,We,typeof ht),qs(null)),ht instanceof Error&&!(ht.message in rn)&&(rn[ht.message]=!0,qs(Be),Ie("Failed %s type: %s",ce,ht.message),qs(null))}}}function Jt(D){if(D){var Y=D._owner,ce=Ki(D.type,D._source,Y?Y.type:null);Re(ce)}else Re(null)}var ul;ul=!1;function ll(){if(G.current){var D=Mt(G.current.type);if(D)return`
33
+ `+ht[qt].replace(" at new "," at ");return D.displayName&&gn.includes("<anonymous>")&&(gn=gn.replace("<anonymous>",D.displayName)),typeof D=="function"&&os.set(D,gn),gn}while(qt>=1&&Tn>=0);break}}}finally{is=!1,_i.current=gt,rs(),Error.prepareStackTrace=Be}var In=D?D.displayName||D.name:"",jn=In?as(In):"";return typeof D=="function"&&os.set(D,jn),jn}function Co(D,Y,ce){return il(D,!1)}function Up(D){var Y=D.prototype;return!!(Y&&Y.isReactComponent)}function Ki(D,Y,ce){if(D==null)return"";if(typeof D=="function")return il(D,Up(D));if(typeof D=="string")return as(D);switch(D){case w:return as("Suspense");case T:return as("SuspenseList")}if(typeof D=="object")switch(D.$$typeof){case E:return Co(D.render);case A:return Ki(D.type,Y,ce);case N:{var ge=D,Be=ge._payload,gt=ge._init;try{return Ki(gt(Be),Y,ce)}catch{}}}return""}var rn={},ol=_e.ReactDebugCurrentFrame;function qs(D){if(D){var Y=D._owner,ce=Ki(D.type,D._source,Y?Y.type:null);ol.setExtraStackFrame(ce)}else ol.setExtraStackFrame(null)}function sl(D,Y,ce,ge,Be){{var gt=Function.call.bind(Ln);for(var We in D)if(gt(D,We)){var ht=void 0;try{if(typeof D[We]!="function"){var Pt=Error((ge||"React class")+": "+ce+" type `"+We+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof D[We]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Pt.name="Invariant Violation",Pt}ht=D[We](Y,We,ge,ce,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(qt){ht=qt}ht&&!(ht instanceof Error)&&(qs(Be),Ie("%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).",ge||"React class",ce,We,typeof ht),qs(null)),ht instanceof Error&&!(ht.message in rn)&&(rn[ht.message]=!0,qs(Be),Ie("Failed %s type: %s",ce,ht.message),qs(null))}}}function Jt(D){if(D){var Y=D._owner,ce=Ki(D.type,D._source,Y?Y.type:null);Re(ce)}else Re(null)}var ul;ul=!1;function ll(){if(G.current){var D=Mt(G.current.type);if(D)return`
34
34
 
35
35
  Check the render method of \``+D+"`."}return""}function At(D){if(D!==void 0){var Y=D.fileName.replace(/^.*[\\\/]/,""),ce=D.lineNumber;return`
36
36
 
37
37
  Check your code at `+Y+":"+ce+"."}return""}function Qs(D){return D!=null?At(D.__source):""}var Xn={};function xa(D){var Y=ll();if(!Y){var ce=typeof D=="string"?D:D.displayName||D.name;ce&&(Y=`
38
38
 
39
- Check the top-level render call using <`+ce+">.")}return Y}function oa(D,Y){if(!(!D._store||D._store.validated||D.key!=null)){D._store.validated=!0;var ce=xa(Y);if(!Xn[ce]){Xn[ce]=!0;var ge="";D&&D._owner&&D._owner!==G.current&&(ge=" It was passed a child from "+Mt(D._owner.type)+"."),Jt(D),Ie('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ce,ge),Jt(null)}}}function ss(D,Y){if(typeof D=="object"){if(ft(D))for(var ce=0;ce<D.length;ce++){var ge=D[ce];ln(ge)&&oa(ge,Y)}else if(ln(D))D._store&&(D._store.validated=!0);else if(D){var Be=B(D);if(typeof Be=="function"&&Be!==D.entries)for(var gt=Be.call(D),We;!(We=gt.next()).done;)ln(We.value)&&oa(We.value,Y)}}}function Kn(D){{var Y=D.type;if(Y==null||typeof Y=="string")return;var ce;if(typeof Y=="function")ce=Y.propTypes;else if(typeof Y=="object"&&(Y.$$typeof===E||Y.$$typeof===A))ce=Y.propTypes;else return;if(ce){var ge=Mt(Y);sl(ce,D.props,"prop",ge,D)}else if(Y.PropTypes!==void 0&&!ul){ul=!0;var Be=Mt(Y);Ie("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Be||"Unknown")}typeof Y.getDefaultProps=="function"&&!Y.getDefaultProps.isReactClassApproved&&Ie("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function dn(D){{for(var Y=Object.keys(D.props),ce=0;ce<Y.length;ce++){var ge=Y[ce];if(ge!=="children"&&ge!=="key"){Jt(D),Ie("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ge),Jt(null);break}}D.ref!==null&&(Jt(D),Ie("Invalid attribute `ref` supplied to `React.Fragment`."),Jt(null))}}function jf(D,Y,ce){var ge=je(D);if(!ge){var Be="";(D===void 0||typeof D=="object"&&D!==null&&Object.keys(D).length===0)&&(Be+=" 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 gt=Qs(Y);gt?Be+=gt:Be+=ll();var We;D===null?We="null":ft(D)?We="array":D!==void 0&&D.$$typeof===u?(We="<"+(Mt(D.type)||"Unknown")+" />",Be=" Did you accidentally export a JSX literal instead of a component?"):We=typeof D,Ie("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",We,Be)}var ht=st.apply(this,arguments);if(ht==null)return ht;if(ge)for(var Pt=2;Pt<arguments.length;Pt++)ss(arguments[Pt],D);return D===d?dn(ht):Kn(ht),ht}var Ea=!1;function Sr(D){var Y=jf.bind(null,D);return Y.type=D,Ea||(Ea=!0,Oe("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(Y,"type",{enumerable:!1,get:function(){return Oe("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:D}),D}}),Y}function eo(D,Y,ce){for(var ge=sn.apply(this,arguments),Be=2;Be<arguments.length;Be++)ss(arguments[Be],ge.type);return Kn(ge),ge}function kf(D,Y){var ce=U.transition;U.transition={};var ge=U.transition;U.transition._updatedFibers=new Set;try{D()}finally{if(U.transition=ce,ce===null&&ge._updatedFibers){var Be=ge._updatedFibers.size;Be>10&&Oe("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),ge._updatedFibers.clear()}}}var xo=!1,us=null;function Mf(D){if(us===null)try{var Y=("require"+Math.random()).slice(0,7),ce=n&&n[Y];us=ce.call(n,"timers").setImmediate}catch{us=function(Be){xo===!1&&(xo=!0,typeof MessageChannel>"u"&&Ie("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var gt=new MessageChannel;gt.port1.onmessage=Be,gt.port2.postMessage(void 0)}}return us(D)}var ri=0,ls=!1;function cs(D){{var Y=ri;ri++,z.current===null&&(z.current=[]);var ce=z.isBatchingLegacy,ge;try{if(z.isBatchingLegacy=!0,ge=D(),!ce&&z.didScheduleLegacyUpdate){var Be=z.current;Be!==null&&(z.didScheduleLegacyUpdate=!1,ds(Be))}}catch(In){throw ai(Y),In}finally{z.isBatchingLegacy=ce}if(ge!==null&&typeof ge=="object"&&typeof ge.then=="function"){var gt=ge,We=!1,ht={then:function(In,jn){We=!0,gt.then(function(Ut){ai(Y),ri===0?cl(Ut,In,jn):In(Ut)},function(Ut){ai(Y),jn(Ut)})}};return!ls&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){We||(ls=!0,Ie("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),ht}else{var Pt=ge;if(ai(Y),ri===0){var qt=z.current;qt!==null&&(ds(qt),z.current=null);var Tn={then:function(In,jn){z.current===null?(z.current=[],cl(Pt,In,jn)):In(Pt)}};return Tn}else{var gn={then:function(In,jn){In(Pt)}};return gn}}}}function ai(D){D!==ri-1&&Ie("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),ri=D}function cl(D,Y,ce){{var ge=z.current;if(ge!==null)try{ds(ge),Mf(function(){ge.length===0?(z.current=null,Y(D)):cl(D,Y,ce)})}catch(Be){ce(Be)}else Y(D)}}var fs=!1;function ds(D){if(!fs){fs=!0;var Y=0;try{for(;Y<D.length;Y++){var ce=D[Y];do ce=ce(!0);while(ce!==null)}D.length=0}catch(ge){throw D=D.slice(Y+1),ge}finally{fs=!1}}}var Ks=jf,fl=eo,yc=Sr,Di={map:ni,forEach:Js,count:Ko,toArray:el,only:bo};r.Children=Di,r.Component=Ee,r.Fragment=d,r.Profiler=y,r.PureComponent=Ve,r.StrictMode=p,r.Suspense=R,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_e,r.cloneElement=fl,r.createContext=es,r.createElement=Ks,r.createFactory=yc,r.createRef=It,r.forwardRef=Ji,r.isValidElement=ln,r.lazy=Ha,r.memo=Ue,r.startTransition=kf,r.unstable_act=cs,r.useCallback=jr,r.useContext=_t,r.useDebugValue=Zt,r.useDeferredValue=Oi,r.useEffect=cr,r.useId=Ft,r.useImperativeHandle=tl,r.useInsertionEffect=_n,r.useLayoutEffect=Dn,r.useMemo=qi,r.useReducer=Dt,r.useRef=dt,r.useState=Gt,r.useSyncExternalStore=Qi,r.useTransition=Hp,r.version=i,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(im,im.exports)),im.exports}var mA;function Of(){return mA||(mA=1,process.env.NODE_ENV==="production"?vb.exports=EV():vb.exports=SV()),vb.exports}/**
39
+ Check the top-level render call using <`+ce+">.")}return Y}function oa(D,Y){if(!(!D._store||D._store.validated||D.key!=null)){D._store.validated=!0;var ce=xa(Y);if(!Xn[ce]){Xn[ce]=!0;var ge="";D&&D._owner&&D._owner!==G.current&&(ge=" It was passed a child from "+Mt(D._owner.type)+"."),Jt(D),Ie('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ce,ge),Jt(null)}}}function ss(D,Y){if(typeof D=="object"){if(ft(D))for(var ce=0;ce<D.length;ce++){var ge=D[ce];ln(ge)&&oa(ge,Y)}else if(ln(D))D._store&&(D._store.validated=!0);else if(D){var Be=B(D);if(typeof Be=="function"&&Be!==D.entries)for(var gt=Be.call(D),We;!(We=gt.next()).done;)ln(We.value)&&oa(We.value,Y)}}}function Kn(D){{var Y=D.type;if(Y==null||typeof Y=="string")return;var ce;if(typeof Y=="function")ce=Y.propTypes;else if(typeof Y=="object"&&(Y.$$typeof===E||Y.$$typeof===A))ce=Y.propTypes;else return;if(ce){var ge=Mt(Y);sl(ce,D.props,"prop",ge,D)}else if(Y.PropTypes!==void 0&&!ul){ul=!0;var Be=Mt(Y);Ie("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Be||"Unknown")}typeof Y.getDefaultProps=="function"&&!Y.getDefaultProps.isReactClassApproved&&Ie("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function dn(D){{for(var Y=Object.keys(D.props),ce=0;ce<Y.length;ce++){var ge=Y[ce];if(ge!=="children"&&ge!=="key"){Jt(D),Ie("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ge),Jt(null);break}}D.ref!==null&&(Jt(D),Ie("Invalid attribute `ref` supplied to `React.Fragment`."),Jt(null))}}function jf(D,Y,ce){var ge=je(D);if(!ge){var Be="";(D===void 0||typeof D=="object"&&D!==null&&Object.keys(D).length===0)&&(Be+=" 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 gt=Qs(Y);gt?Be+=gt:Be+=ll();var We;D===null?We="null":ft(D)?We="array":D!==void 0&&D.$$typeof===u?(We="<"+(Mt(D.type)||"Unknown")+" />",Be=" Did you accidentally export a JSX literal instead of a component?"):We=typeof D,Ie("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",We,Be)}var ht=st.apply(this,arguments);if(ht==null)return ht;if(ge)for(var Pt=2;Pt<arguments.length;Pt++)ss(arguments[Pt],D);return D===d?dn(ht):Kn(ht),ht}var Ea=!1;function Sr(D){var Y=jf.bind(null,D);return Y.type=D,Ea||(Ea=!0,Oe("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(Y,"type",{enumerable:!1,get:function(){return Oe("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:D}),D}}),Y}function eo(D,Y,ce){for(var ge=sn.apply(this,arguments),Be=2;Be<arguments.length;Be++)ss(arguments[Be],ge.type);return Kn(ge),ge}function kf(D,Y){var ce=U.transition;U.transition={};var ge=U.transition;U.transition._updatedFibers=new Set;try{D()}finally{if(U.transition=ce,ce===null&&ge._updatedFibers){var Be=ge._updatedFibers.size;Be>10&&Oe("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),ge._updatedFibers.clear()}}}var xo=!1,us=null;function Mf(D){if(us===null)try{var Y=("require"+Math.random()).slice(0,7),ce=n&&n[Y];us=ce.call(n,"timers").setImmediate}catch{us=function(Be){xo===!1&&(xo=!0,typeof MessageChannel>"u"&&Ie("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var gt=new MessageChannel;gt.port1.onmessage=Be,gt.port2.postMessage(void 0)}}return us(D)}var ri=0,ls=!1;function cs(D){{var Y=ri;ri++,z.current===null&&(z.current=[]);var ce=z.isBatchingLegacy,ge;try{if(z.isBatchingLegacy=!0,ge=D(),!ce&&z.didScheduleLegacyUpdate){var Be=z.current;Be!==null&&(z.didScheduleLegacyUpdate=!1,ds(Be))}}catch(In){throw ai(Y),In}finally{z.isBatchingLegacy=ce}if(ge!==null&&typeof ge=="object"&&typeof ge.then=="function"){var gt=ge,We=!1,ht={then:function(In,jn){We=!0,gt.then(function(Ut){ai(Y),ri===0?cl(Ut,In,jn):In(Ut)},function(Ut){ai(Y),jn(Ut)})}};return!ls&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){We||(ls=!0,Ie("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),ht}else{var Pt=ge;if(ai(Y),ri===0){var qt=z.current;qt!==null&&(ds(qt),z.current=null);var Tn={then:function(In,jn){z.current===null?(z.current=[],cl(Pt,In,jn)):In(Pt)}};return Tn}else{var gn={then:function(In,jn){In(Pt)}};return gn}}}}function ai(D){D!==ri-1&&Ie("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),ri=D}function cl(D,Y,ce){{var ge=z.current;if(ge!==null)try{ds(ge),Mf(function(){ge.length===0?(z.current=null,Y(D)):cl(D,Y,ce)})}catch(Be){ce(Be)}else Y(D)}}var fs=!1;function ds(D){if(!fs){fs=!0;var Y=0;try{for(;Y<D.length;Y++){var ce=D[Y];do ce=ce(!0);while(ce!==null)}D.length=0}catch(ge){throw D=D.slice(Y+1),ge}finally{fs=!1}}}var Ks=jf,fl=eo,yc=Sr,Di={map:ni,forEach:Js,count:Ko,toArray:el,only:bo};r.Children=Di,r.Component=Ee,r.Fragment=d,r.Profiler=y,r.PureComponent=Ve,r.StrictMode=p,r.Suspense=w,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_e,r.cloneElement=fl,r.createContext=es,r.createElement=Ks,r.createFactory=yc,r.createRef=It,r.forwardRef=Ji,r.isValidElement=ln,r.lazy=Ha,r.memo=Ue,r.startTransition=kf,r.unstable_act=cs,r.useCallback=jr,r.useContext=_t,r.useDebugValue=Zt,r.useDeferredValue=Oi,r.useEffect=cr,r.useId=Ft,r.useImperativeHandle=tl,r.useInsertionEffect=_n,r.useLayoutEffect=Dn,r.useMemo=qi,r.useReducer=Dt,r.useRef=dt,r.useState=Gt,r.useSyncExternalStore=Qi,r.useTransition=Hp,r.version=i,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(im,im.exports)),im.exports}var mA;function Of(){return mA||(mA=1,process.env.NODE_ENV==="production"?vb.exports=EV():vb.exports=SV()),vb.exports}/**
40
40
  * @license React
41
41
  * react-jsx-runtime.production.min.js
42
42
  *
@@ -44,7 +44,7 @@ Check the top-level render call using <`+ce+">.")}return Y}function oa(D,Y){if(!
44
44
  *
45
45
  * This source code is licensed under the MIT license found in the
46
46
  * LICENSE file in the root directory of this source tree.
47
- */var gA;function wV(){if(gA)return qh;gA=1;var n=Of(),r=Symbol.for("react.element"),i=Symbol.for("react.fragment"),u=Object.prototype.hasOwnProperty,l=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d={key:!0,ref:!0,__self:!0,__source:!0};function p(y,g,b){var E,R={},T=null,A=null;b!==void 0&&(T=""+b),g.key!==void 0&&(T=""+g.key),g.ref!==void 0&&(A=g.ref);for(E in g)u.call(g,E)&&!d.hasOwnProperty(E)&&(R[E]=g[E]);if(y&&y.defaultProps)for(E in g=y.defaultProps,g)R[E]===void 0&&(R[E]=g[E]);return{$$typeof:r,type:y,key:T,ref:A,props:R,_owner:l.current}}return qh.Fragment=i,qh.jsx=p,qh.jsxs=p,qh}var Qh={};/**
47
+ */var gA;function wV(){if(gA)return qh;gA=1;var n=Of(),r=Symbol.for("react.element"),i=Symbol.for("react.fragment"),u=Object.prototype.hasOwnProperty,l=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d={key:!0,ref:!0,__self:!0,__source:!0};function p(y,g,b){var E,w={},T=null,A=null;b!==void 0&&(T=""+b),g.key!==void 0&&(T=""+g.key),g.ref!==void 0&&(A=g.ref);for(E in g)u.call(g,E)&&!d.hasOwnProperty(E)&&(w[E]=g[E]);if(y&&y.defaultProps)for(E in g=y.defaultProps,g)w[E]===void 0&&(w[E]=g[E]);return{$$typeof:r,type:y,key:T,ref:A,props:w,_owner:l.current}}return qh.Fragment=i,qh.jsx=p,qh.jsxs=p,qh}var Qh={};/**
48
48
  * @license React
49
49
  * react-jsx-runtime.development.js
50
50
  *
@@ -52,17 +52,17 @@ Check the top-level render call using <`+ce+">.")}return Y}function oa(D,Y){if(!
52
52
  *
53
53
  * This source code is licensed under the MIT license found in the
54
54
  * LICENSE file in the root directory of this source tree.
55
- */var yA;function RV(){return yA||(yA=1,process.env.NODE_ENV!=="production"&&function(){var n=Of(),r=Symbol.for("react.element"),i=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),p=Symbol.for("react.provider"),y=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),E=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),A=Symbol.for("react.offscreen"),N=Symbol.iterator,j="@@iterator";function O(Z){if(Z===null||typeof Z!="object")return null;var je=N&&Z[N]||Z[j];return typeof je=="function"?je:null}var L=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function B(Z){{for(var je=arguments.length,Ue=new Array(je>1?je-1:0),Je=1;Je<je;Je++)Ue[Je-1]=arguments[Je];P("error",Z,Ue)}}function P(Z,je,Ue){{var Je=L.ReactDebugCurrentFrame,_t=Je.getStackAddendum();_t!==""&&(je+="%s",Ue=Ue.concat([_t]));var Gt=Ue.map(function(Dt){return String(Dt)});Gt.unshift("Warning: "+je),Function.prototype.apply.call(console[Z],console,Gt)}}var U=!1,z=!1,G=!1,X=!1,te=!1,Re;Re=Symbol.for("react.module.reference");function ue(Z){return!!(typeof Z=="string"||typeof Z=="function"||Z===u||Z===d||te||Z===l||Z===b||Z===E||X||Z===A||U||z||G||typeof Z=="object"&&Z!==null&&(Z.$$typeof===T||Z.$$typeof===R||Z.$$typeof===p||Z.$$typeof===y||Z.$$typeof===g||Z.$$typeof===Re||Z.getModuleId!==void 0))}function pe(Z,je,Ue){var Je=Z.displayName;if(Je)return Je;var _t=je.displayName||je.name||"";return _t!==""?Ue+"("+_t+")":Ue}function ye(Z){return Z.displayName||"Context"}function me(Z){if(Z==null)return null;if(typeof Z.tag=="number"&&B("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof Z=="function")return Z.displayName||Z.name||null;if(typeof Z=="string")return Z;switch(Z){case u:return"Fragment";case i:return"Portal";case d:return"Profiler";case l:return"StrictMode";case b:return"Suspense";case E:return"SuspenseList"}if(typeof Z=="object")switch(Z.$$typeof){case y:var je=Z;return ye(je)+".Consumer";case p:var Ue=Z;return ye(Ue._context)+".Provider";case g:return pe(Z,Z.render,"ForwardRef");case R:var Je=Z.displayName||null;return Je!==null?Je:me(Z.type)||"Memo";case T:{var _t=Z,Gt=_t._payload,Dt=_t._init;try{return me(Dt(Gt))}catch{return null}}}return null}var Ae=Object.assign,_e=0,Oe,Ie,ve,Le,F,q,se;function xe(){}xe.__reactDisabledLog=!0;function Ee(){{if(_e===0){Oe=console.log,Ie=console.info,ve=console.warn,Le=console.error,F=console.group,q=console.groupCollapsed,se=console.groupEnd;var Z={configurable:!0,enumerable:!0,value:xe,writable:!0};Object.defineProperties(console,{info:Z,log:Z,warn:Z,error:Z,group:Z,groupCollapsed:Z,groupEnd:Z})}_e++}}function De(){{if(_e--,_e===0){var Z={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ae({},Z,{value:Oe}),info:Ae({},Z,{value:Ie}),warn:Ae({},Z,{value:ve}),error:Ae({},Z,{value:Le}),group:Ae({},Z,{value:F}),groupCollapsed:Ae({},Z,{value:q}),groupEnd:Ae({},Z,{value:se})})}_e<0&&B("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ie=L.ReactCurrentDispatcher,he;function Te(Z,je,Ue){{if(he===void 0)try{throw Error()}catch(_t){var Je=_t.stack.trim().match(/\n( *(at )?)/);he=Je&&Je[1]||""}return`
55
+ */var yA;function RV(){return yA||(yA=1,process.env.NODE_ENV!=="production"&&function(){var n=Of(),r=Symbol.for("react.element"),i=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),p=Symbol.for("react.provider"),y=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),E=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),A=Symbol.for("react.offscreen"),N=Symbol.iterator,j="@@iterator";function O(Z){if(Z===null||typeof Z!="object")return null;var je=N&&Z[N]||Z[j];return typeof je=="function"?je:null}var L=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function B(Z){{for(var je=arguments.length,Ue=new Array(je>1?je-1:0),Je=1;Je<je;Je++)Ue[Je-1]=arguments[Je];P("error",Z,Ue)}}function P(Z,je,Ue){{var Je=L.ReactDebugCurrentFrame,_t=Je.getStackAddendum();_t!==""&&(je+="%s",Ue=Ue.concat([_t]));var Gt=Ue.map(function(Dt){return String(Dt)});Gt.unshift("Warning: "+je),Function.prototype.apply.call(console[Z],console,Gt)}}var U=!1,z=!1,G=!1,X=!1,te=!1,Re;Re=Symbol.for("react.module.reference");function ue(Z){return!!(typeof Z=="string"||typeof Z=="function"||Z===u||Z===d||te||Z===l||Z===b||Z===E||X||Z===A||U||z||G||typeof Z=="object"&&Z!==null&&(Z.$$typeof===T||Z.$$typeof===w||Z.$$typeof===p||Z.$$typeof===y||Z.$$typeof===g||Z.$$typeof===Re||Z.getModuleId!==void 0))}function pe(Z,je,Ue){var Je=Z.displayName;if(Je)return Je;var _t=je.displayName||je.name||"";return _t!==""?Ue+"("+_t+")":Ue}function ye(Z){return Z.displayName||"Context"}function me(Z){if(Z==null)return null;if(typeof Z.tag=="number"&&B("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof Z=="function")return Z.displayName||Z.name||null;if(typeof Z=="string")return Z;switch(Z){case u:return"Fragment";case i:return"Portal";case d:return"Profiler";case l:return"StrictMode";case b:return"Suspense";case E:return"SuspenseList"}if(typeof Z=="object")switch(Z.$$typeof){case y:var je=Z;return ye(je)+".Consumer";case p:var Ue=Z;return ye(Ue._context)+".Provider";case g:return pe(Z,Z.render,"ForwardRef");case w:var Je=Z.displayName||null;return Je!==null?Je:me(Z.type)||"Memo";case T:{var _t=Z,Gt=_t._payload,Dt=_t._init;try{return me(Dt(Gt))}catch{return null}}}return null}var Ae=Object.assign,_e=0,Oe,Ie,ve,Le,F,q,se;function xe(){}xe.__reactDisabledLog=!0;function Ee(){{if(_e===0){Oe=console.log,Ie=console.info,ve=console.warn,Le=console.error,F=console.group,q=console.groupCollapsed,se=console.groupEnd;var Z={configurable:!0,enumerable:!0,value:xe,writable:!0};Object.defineProperties(console,{info:Z,log:Z,warn:Z,error:Z,group:Z,groupCollapsed:Z,groupEnd:Z})}_e++}}function De(){{if(_e--,_e===0){var Z={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ae({},Z,{value:Oe}),info:Ae({},Z,{value:Ie}),warn:Ae({},Z,{value:ve}),error:Ae({},Z,{value:Le}),group:Ae({},Z,{value:F}),groupCollapsed:Ae({},Z,{value:q}),groupEnd:Ae({},Z,{value:se})})}_e<0&&B("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ie=L.ReactCurrentDispatcher,he;function Te(Z,je,Ue){{if(he===void 0)try{throw Error()}catch(_t){var Je=_t.stack.trim().match(/\n( *(at )?)/);he=Je&&Je[1]||""}return`
56
56
  `+he+Z}}var Ve=!1,Ke;{var It=typeof WeakMap=="function"?WeakMap:Map;Ke=new It}function Ne(Z,je){if(!Z||Ve)return"";{var Ue=Ke.get(Z);if(Ue!==void 0)return Ue}var Je;Ve=!0;var _t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Gt;Gt=ie.current,ie.current=null,Ee();try{if(je){var Dt=function(){throw Error()};if(Object.defineProperty(Dt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Dt,[])}catch(Zt){Je=Zt}Reflect.construct(Z,[],Dt)}else{try{Dt.call()}catch(Zt){Je=Zt}Z.call(Dt.prototype)}}else{try{throw Error()}catch(Zt){Je=Zt}Z()}}catch(Zt){if(Zt&&Je&&typeof Zt.stack=="string"){for(var dt=Zt.stack.split(`
57
57
  `),cr=Je.stack.split(`
58
58
  `),_n=dt.length-1,Dn=cr.length-1;_n>=1&&Dn>=0&&dt[_n]!==cr[Dn];)Dn--;for(;_n>=1&&Dn>=0;_n--,Dn--)if(dt[_n]!==cr[Dn]){if(_n!==1||Dn!==1)do if(_n--,Dn--,Dn<0||dt[_n]!==cr[Dn]){var jr=`
59
- `+dt[_n].replace(" at new "," at ");return Z.displayName&&jr.includes("<anonymous>")&&(jr=jr.replace("<anonymous>",Z.displayName)),typeof Z=="function"&&Ke.set(Z,jr),jr}while(_n>=1&&Dn>=0);break}}}finally{Ve=!1,ie.current=Gt,De(),Error.prepareStackTrace=_t}var qi=Z?Z.displayName||Z.name:"",tl=qi?Te(qi):"";return typeof Z=="function"&&Ke.set(Z,tl),tl}function ft(Z,je,Ue){return Ne(Z,!1)}function Bt(Z){var je=Z.prototype;return!!(je&&je.isReactComponent)}function lt(Z,je,Ue){if(Z==null)return"";if(typeof Z=="function")return Ne(Z,Bt(Z));if(typeof Z=="string")return Te(Z);switch(Z){case b:return Te("Suspense");case E:return Te("SuspenseList")}if(typeof Z=="object")switch(Z.$$typeof){case g:return ft(Z.render);case R:return lt(Z.type,je,Ue);case T:{var Je=Z,_t=Je._payload,Gt=Je._init;try{return lt(Gt(_t),je,Ue)}catch{}}}return""}var hn=Object.prototype.hasOwnProperty,nn={},Hn=L.ReactDebugCurrentFrame;function Mn(Z){if(Z){var je=Z._owner,Ue=lt(Z.type,Z._source,je?je.type:null);Hn.setExtraStackFrame(Ue)}else Hn.setExtraStackFrame(null)}function Mt(Z,je,Ue,Je,_t){{var Gt=Function.call.bind(hn);for(var Dt in Z)if(Gt(Z,Dt)){var dt=void 0;try{if(typeof Z[Dt]!="function"){var cr=Error((Je||"React class")+": "+Ue+" type `"+Dt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof Z[Dt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw cr.name="Invariant Violation",cr}dt=Z[Dt](je,Dt,Je,Ue,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(_n){dt=_n}dt&&!(dt instanceof Error)&&(Mn(_t),B("%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).",Je||"React class",Ue,Dt,typeof dt),Mn(null)),dt instanceof Error&&!(dt.message in nn)&&(nn[dt.message]=!0,Mn(_t),B("Failed %s type: %s",Ue,dt.message),Mn(null))}}}var Ln=Array.isArray;function $n(Z){return Ln(Z)}function rr(Z){{var je=typeof Symbol=="function"&&Symbol.toStringTag,Ue=je&&Z[Symbol.toStringTag]||Z.constructor.name||"Object";return Ue}}function lr(Z){try{return Qn(Z),!1}catch{return!0}}function Qn(Z){return""+Z}function St(Z){if(lr(Z))return B("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",rr(Z)),Qn(Z)}var en=L.ReactCurrentOwner,ar={key:!0,ref:!0,__self:!0,__source:!0},Xi,Va,He;He={};function st(Z){if(hn.call(Z,"ref")){var je=Object.getOwnPropertyDescriptor(Z,"ref").get;if(je&&je.isReactWarning)return!1}return Z.ref!==void 0}function Lt(Z){if(hn.call(Z,"key")){var je=Object.getOwnPropertyDescriptor(Z,"key").get;if(je&&je.isReactWarning)return!1}return Z.key!==void 0}function sn(Z,je){if(typeof Z.ref=="string"&&en.current&&je&&en.current.stateNode!==je){var Ue=me(en.current.type);He[Ue]||(B('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',me(en.current.type),Z.ref),He[Ue]=!0)}}function ln(Z,je){{var Ue=function(){Xi||(Xi=!0,B("%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)",je))};Ue.isReactWarning=!0,Object.defineProperty(Z,"key",{get:Ue,configurable:!0})}}function ir(Z,je){{var Ue=function(){Va||(Va=!0,B("%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)",je))};Ue.isReactWarning=!0,Object.defineProperty(Z,"ref",{get:Ue,configurable:!0})}}var Wn=function(Z,je,Ue,Je,_t,Gt,Dt){var dt={$$typeof:r,type:Z,key:je,ref:Ue,props:Dt,_owner:Gt};return dt._store={},Object.defineProperty(dt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(dt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Je}),Object.defineProperty(dt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:_t}),Object.freeze&&(Object.freeze(dt.props),Object.freeze(dt)),dt};function $r(Z,je,Ue,Je,_t){{var Gt,Dt={},dt=null,cr=null;Ue!==void 0&&(St(Ue),dt=""+Ue),Lt(je)&&(St(je.key),dt=""+je.key),st(je)&&(cr=je.ref,sn(je,_t));for(Gt in je)hn.call(je,Gt)&&!ar.hasOwnProperty(Gt)&&(Dt[Gt]=je[Gt]);if(Z&&Z.defaultProps){var _n=Z.defaultProps;for(Gt in _n)Dt[Gt]===void 0&&(Dt[Gt]=_n[Gt])}if(dt||cr){var Dn=typeof Z=="function"?Z.displayName||Z.name||"Unknown":Z;dt&&ln(Dt,Dn),cr&&ir(Dt,Dn)}return Wn(Z,dt,cr,_t,Je,en.current,Dt)}}var mn=L.ReactCurrentOwner,na=L.ReactDebugCurrentFrame;function cn(Z){if(Z){var je=Z._owner,Ue=lt(Z.type,Z._source,je?je.type:null);na.setExtraStackFrame(Ue)}else na.setExtraStackFrame(null)}var fn;fn=!1;function Ni(Z){return typeof Z=="object"&&Z!==null&&Z.$$typeof===r}function ni(){{if(mn.current){var Z=me(mn.current.type);if(Z)return`
59
+ `+dt[_n].replace(" at new "," at ");return Z.displayName&&jr.includes("<anonymous>")&&(jr=jr.replace("<anonymous>",Z.displayName)),typeof Z=="function"&&Ke.set(Z,jr),jr}while(_n>=1&&Dn>=0);break}}}finally{Ve=!1,ie.current=Gt,De(),Error.prepareStackTrace=_t}var qi=Z?Z.displayName||Z.name:"",tl=qi?Te(qi):"";return typeof Z=="function"&&Ke.set(Z,tl),tl}function ft(Z,je,Ue){return Ne(Z,!1)}function Bt(Z){var je=Z.prototype;return!!(je&&je.isReactComponent)}function lt(Z,je,Ue){if(Z==null)return"";if(typeof Z=="function")return Ne(Z,Bt(Z));if(typeof Z=="string")return Te(Z);switch(Z){case b:return Te("Suspense");case E:return Te("SuspenseList")}if(typeof Z=="object")switch(Z.$$typeof){case g:return ft(Z.render);case w:return lt(Z.type,je,Ue);case T:{var Je=Z,_t=Je._payload,Gt=Je._init;try{return lt(Gt(_t),je,Ue)}catch{}}}return""}var hn=Object.prototype.hasOwnProperty,nn={},Hn=L.ReactDebugCurrentFrame;function Mn(Z){if(Z){var je=Z._owner,Ue=lt(Z.type,Z._source,je?je.type:null);Hn.setExtraStackFrame(Ue)}else Hn.setExtraStackFrame(null)}function Mt(Z,je,Ue,Je,_t){{var Gt=Function.call.bind(hn);for(var Dt in Z)if(Gt(Z,Dt)){var dt=void 0;try{if(typeof Z[Dt]!="function"){var cr=Error((Je||"React class")+": "+Ue+" type `"+Dt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof Z[Dt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw cr.name="Invariant Violation",cr}dt=Z[Dt](je,Dt,Je,Ue,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(_n){dt=_n}dt&&!(dt instanceof Error)&&(Mn(_t),B("%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).",Je||"React class",Ue,Dt,typeof dt),Mn(null)),dt instanceof Error&&!(dt.message in nn)&&(nn[dt.message]=!0,Mn(_t),B("Failed %s type: %s",Ue,dt.message),Mn(null))}}}var Ln=Array.isArray;function $n(Z){return Ln(Z)}function rr(Z){{var je=typeof Symbol=="function"&&Symbol.toStringTag,Ue=je&&Z[Symbol.toStringTag]||Z.constructor.name||"Object";return Ue}}function lr(Z){try{return Qn(Z),!1}catch{return!0}}function Qn(Z){return""+Z}function St(Z){if(lr(Z))return B("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",rr(Z)),Qn(Z)}var en=L.ReactCurrentOwner,ar={key:!0,ref:!0,__self:!0,__source:!0},Xi,Va,He;He={};function st(Z){if(hn.call(Z,"ref")){var je=Object.getOwnPropertyDescriptor(Z,"ref").get;if(je&&je.isReactWarning)return!1}return Z.ref!==void 0}function Lt(Z){if(hn.call(Z,"key")){var je=Object.getOwnPropertyDescriptor(Z,"key").get;if(je&&je.isReactWarning)return!1}return Z.key!==void 0}function sn(Z,je){if(typeof Z.ref=="string"&&en.current&&je&&en.current.stateNode!==je){var Ue=me(en.current.type);He[Ue]||(B('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',me(en.current.type),Z.ref),He[Ue]=!0)}}function ln(Z,je){{var Ue=function(){Xi||(Xi=!0,B("%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)",je))};Ue.isReactWarning=!0,Object.defineProperty(Z,"key",{get:Ue,configurable:!0})}}function ir(Z,je){{var Ue=function(){Va||(Va=!0,B("%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)",je))};Ue.isReactWarning=!0,Object.defineProperty(Z,"ref",{get:Ue,configurable:!0})}}var Wn=function(Z,je,Ue,Je,_t,Gt,Dt){var dt={$$typeof:r,type:Z,key:je,ref:Ue,props:Dt,_owner:Gt};return dt._store={},Object.defineProperty(dt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(dt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Je}),Object.defineProperty(dt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:_t}),Object.freeze&&(Object.freeze(dt.props),Object.freeze(dt)),dt};function $r(Z,je,Ue,Je,_t){{var Gt,Dt={},dt=null,cr=null;Ue!==void 0&&(St(Ue),dt=""+Ue),Lt(je)&&(St(je.key),dt=""+je.key),st(je)&&(cr=je.ref,sn(je,_t));for(Gt in je)hn.call(je,Gt)&&!ar.hasOwnProperty(Gt)&&(Dt[Gt]=je[Gt]);if(Z&&Z.defaultProps){var _n=Z.defaultProps;for(Gt in _n)Dt[Gt]===void 0&&(Dt[Gt]=_n[Gt])}if(dt||cr){var Dn=typeof Z=="function"?Z.displayName||Z.name||"Unknown":Z;dt&&ln(Dt,Dn),cr&&ir(Dt,Dn)}return Wn(Z,dt,cr,_t,Je,en.current,Dt)}}var mn=L.ReactCurrentOwner,na=L.ReactDebugCurrentFrame;function cn(Z){if(Z){var je=Z._owner,Ue=lt(Z.type,Z._source,je?je.type:null);na.setExtraStackFrame(Ue)}else na.setExtraStackFrame(null)}var fn;fn=!1;function Ni(Z){return typeof Z=="object"&&Z!==null&&Z.$$typeof===r}function ni(){{if(mn.current){var Z=me(mn.current.type);if(Z)return`
60
60
 
61
61
  Check the render method of \``+Z+"`."}return""}}function Ko(Z){{if(Z!==void 0){var je=Z.fileName.replace(/^.*[\\\/]/,""),Ue=Z.lineNumber;return`
62
62
 
63
63
  Check your code at `+je+":"+Ue+"."}return""}}var Js={};function el(Z){{var je=ni();if(!je){var Ue=typeof Z=="string"?Z:Z.displayName||Z.name;Ue&&(je=`
64
64
 
65
- Check the top-level render call using <`+Ue+">.")}return je}}function bo(Z,je){{if(!Z._store||Z._store.validated||Z.key!=null)return;Z._store.validated=!0;var Ue=el(je);if(Js[Ue])return;Js[Ue]=!0;var Je="";Z&&Z._owner&&Z._owner!==mn.current&&(Je=" It was passed a child from "+me(Z._owner.type)+"."),cn(Z),B('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Ue,Je),cn(null)}}function es(Z,je){{if(typeof Z!="object")return;if($n(Z))for(var Ue=0;Ue<Z.length;Ue++){var Je=Z[Ue];Ni(Je)&&bo(Je,je)}else if(Ni(Z))Z._store&&(Z._store.validated=!0);else if(Z){var _t=O(Z);if(typeof _t=="function"&&_t!==Z.entries)for(var Gt=_t.call(Z),Dt;!(Dt=Gt.next()).done;)Ni(Dt.value)&&bo(Dt.value,je)}}}function Ba(Z){{var je=Z.type;if(je==null||typeof je=="string")return;var Ue;if(typeof je=="function")Ue=je.propTypes;else if(typeof je=="object"&&(je.$$typeof===g||je.$$typeof===R))Ue=je.propTypes;else return;if(Ue){var Je=me(je);Mt(Ue,Z.props,"prop",Je,Z)}else if(je.PropTypes!==void 0&&!fn){fn=!0;var _t=me(je);B("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",_t||"Unknown")}typeof je.getDefaultProps=="function"&&!je.getDefaultProps.isReactClassApproved&&B("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Yi(Z){{for(var je=Object.keys(Z.props),Ue=0;Ue<je.length;Ue++){var Je=je[Ue];if(Je!=="children"&&Je!=="key"){cn(Z),B("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Je),cn(null);break}}Z.ref!==null&&(cn(Z),B("Invalid attribute `ref` supplied to `React.Fragment`."),cn(null))}}function za(Z,je,Ue,Je,_t,Gt){{var Dt=ue(Z);if(!Dt){var dt="";(Z===void 0||typeof Z=="object"&&Z!==null&&Object.keys(Z).length===0)&&(dt+=" 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=Ko(_t);cr?dt+=cr:dt+=ni();var _n;Z===null?_n="null":$n(Z)?_n="array":Z!==void 0&&Z.$$typeof===r?(_n="<"+(me(Z.type)||"Unknown")+" />",dt=" Did you accidentally export a JSX literal instead of a component?"):_n=typeof Z,B("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",_n,dt)}var Dn=$r(Z,je,Ue,_t,Gt);if(Dn==null)return Dn;if(Dt){var jr=je.children;if(jr!==void 0)if(Je)if($n(jr)){for(var qi=0;qi<jr.length;qi++)es(jr[qi],Z);Object.freeze&&Object.freeze(jr)}else B("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 es(jr,Z)}return Z===u?Yi(Dn):Ba(Dn),Dn}}function Zi(Z,je,Ue){return za(Z,je,Ue,!0)}function ra(Z,je,Ue){return za(Z,je,Ue,!1)}var Ha=ra,Ji=Zi;Qh.Fragment=u,Qh.jsx=Ha,Qh.jsxs=Ji}()),Qh}process.env.NODE_ENV==="production"?zS.exports=wV():zS.exports=RV();var C=zS.exports,$s={},HS={exports:{}},Si={},hb={exports:{}},uS={};/**
65
+ Check the top-level render call using <`+Ue+">.")}return je}}function bo(Z,je){{if(!Z._store||Z._store.validated||Z.key!=null)return;Z._store.validated=!0;var Ue=el(je);if(Js[Ue])return;Js[Ue]=!0;var Je="";Z&&Z._owner&&Z._owner!==mn.current&&(Je=" It was passed a child from "+me(Z._owner.type)+"."),cn(Z),B('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Ue,Je),cn(null)}}function es(Z,je){{if(typeof Z!="object")return;if($n(Z))for(var Ue=0;Ue<Z.length;Ue++){var Je=Z[Ue];Ni(Je)&&bo(Je,je)}else if(Ni(Z))Z._store&&(Z._store.validated=!0);else if(Z){var _t=O(Z);if(typeof _t=="function"&&_t!==Z.entries)for(var Gt=_t.call(Z),Dt;!(Dt=Gt.next()).done;)Ni(Dt.value)&&bo(Dt.value,je)}}}function Ba(Z){{var je=Z.type;if(je==null||typeof je=="string")return;var Ue;if(typeof je=="function")Ue=je.propTypes;else if(typeof je=="object"&&(je.$$typeof===g||je.$$typeof===w))Ue=je.propTypes;else return;if(Ue){var Je=me(je);Mt(Ue,Z.props,"prop",Je,Z)}else if(je.PropTypes!==void 0&&!fn){fn=!0;var _t=me(je);B("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",_t||"Unknown")}typeof je.getDefaultProps=="function"&&!je.getDefaultProps.isReactClassApproved&&B("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Yi(Z){{for(var je=Object.keys(Z.props),Ue=0;Ue<je.length;Ue++){var Je=je[Ue];if(Je!=="children"&&Je!=="key"){cn(Z),B("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Je),cn(null);break}}Z.ref!==null&&(cn(Z),B("Invalid attribute `ref` supplied to `React.Fragment`."),cn(null))}}function za(Z,je,Ue,Je,_t,Gt){{var Dt=ue(Z);if(!Dt){var dt="";(Z===void 0||typeof Z=="object"&&Z!==null&&Object.keys(Z).length===0)&&(dt+=" 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=Ko(_t);cr?dt+=cr:dt+=ni();var _n;Z===null?_n="null":$n(Z)?_n="array":Z!==void 0&&Z.$$typeof===r?(_n="<"+(me(Z.type)||"Unknown")+" />",dt=" Did you accidentally export a JSX literal instead of a component?"):_n=typeof Z,B("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",_n,dt)}var Dn=$r(Z,je,Ue,_t,Gt);if(Dn==null)return Dn;if(Dt){var jr=je.children;if(jr!==void 0)if(Je)if($n(jr)){for(var qi=0;qi<jr.length;qi++)es(jr[qi],Z);Object.freeze&&Object.freeze(jr)}else B("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 es(jr,Z)}return Z===u?Yi(Dn):Ba(Dn),Dn}}function Zi(Z,je,Ue){return za(Z,je,Ue,!0)}function ra(Z,je,Ue){return za(Z,je,Ue,!1)}var Ha=ra,Ji=Zi;Qh.Fragment=u,Qh.jsx=Ha,Qh.jsxs=Ji}()),Qh}process.env.NODE_ENV==="production"?zS.exports=wV():zS.exports=RV();var C=zS.exports,$s={},HS={exports:{}},Si={},hb={exports:{}},uS={};/**
66
66
  * @license React
67
67
  * scheduler.production.min.js
68
68
  *
@@ -70,7 +70,7 @@ Check the top-level render call using <`+Ue+">.")}return je}}function bo(Z,je){{
70
70
  *
71
71
  * This source code is licensed under the MIT license found in the
72
72
  * LICENSE file in the root directory of this source tree.
73
- */var bA;function TV(){return bA||(bA=1,function(n){function r(ve,Le){var F=ve.length;ve.push(Le);e:for(;0<F;){var q=F-1>>>1,se=ve[q];if(0<l(se,Le))ve[q]=Le,ve[F]=se,F=q;else break e}}function i(ve){return ve.length===0?null:ve[0]}function u(ve){if(ve.length===0)return null;var Le=ve[0],F=ve.pop();if(F!==Le){ve[0]=F;e:for(var q=0,se=ve.length,xe=se>>>1;q<xe;){var Ee=2*(q+1)-1,De=ve[Ee],ie=Ee+1,he=ve[ie];if(0>l(De,F))ie<se&&0>l(he,De)?(ve[q]=he,ve[ie]=F,q=ie):(ve[q]=De,ve[Ee]=F,q=Ee);else if(ie<se&&0>l(he,F))ve[q]=he,ve[ie]=F,q=ie;else break e}}return Le}function l(ve,Le){var F=ve.sortIndex-Le.sortIndex;return F!==0?F:ve.id-Le.id}if(typeof performance=="object"&&typeof performance.now=="function"){var d=performance;n.unstable_now=function(){return d.now()}}else{var p=Date,y=p.now();n.unstable_now=function(){return p.now()-y}}var g=[],b=[],E=1,R=null,T=3,A=!1,N=!1,j=!1,O=typeof setTimeout=="function"?setTimeout:null,L=typeof clearTimeout=="function"?clearTimeout:null,B=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function P(ve){for(var Le=i(b);Le!==null;){if(Le.callback===null)u(b);else if(Le.startTime<=ve)u(b),Le.sortIndex=Le.expirationTime,r(g,Le);else break;Le=i(b)}}function U(ve){if(j=!1,P(ve),!N)if(i(g)!==null)N=!0,Oe(z);else{var Le=i(b);Le!==null&&Ie(U,Le.startTime-ve)}}function z(ve,Le){N=!1,j&&(j=!1,L(te),te=-1),A=!0;var F=T;try{for(P(Le),R=i(g);R!==null&&(!(R.expirationTime>Le)||ve&&!pe());){var q=R.callback;if(typeof q=="function"){R.callback=null,T=R.priorityLevel;var se=q(R.expirationTime<=Le);Le=n.unstable_now(),typeof se=="function"?R.callback=se:R===i(g)&&u(g),P(Le)}else u(g);R=i(g)}if(R!==null)var xe=!0;else{var Ee=i(b);Ee!==null&&Ie(U,Ee.startTime-Le),xe=!1}return xe}finally{R=null,T=F,A=!1}}var G=!1,X=null,te=-1,Re=5,ue=-1;function pe(){return!(n.unstable_now()-ue<Re)}function ye(){if(X!==null){var ve=n.unstable_now();ue=ve;var Le=!0;try{Le=X(!0,ve)}finally{Le?me():(G=!1,X=null)}}else G=!1}var me;if(typeof B=="function")me=function(){B(ye)};else if(typeof MessageChannel<"u"){var Ae=new MessageChannel,_e=Ae.port2;Ae.port1.onmessage=ye,me=function(){_e.postMessage(null)}}else me=function(){O(ye,0)};function Oe(ve){X=ve,G||(G=!0,me())}function Ie(ve,Le){te=O(function(){ve(n.unstable_now())},Le)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(ve){ve.callback=null},n.unstable_continueExecution=function(){N||A||(N=!0,Oe(z))},n.unstable_forceFrameRate=function(ve){0>ve||125<ve?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Re=0<ve?Math.floor(1e3/ve):5},n.unstable_getCurrentPriorityLevel=function(){return T},n.unstable_getFirstCallbackNode=function(){return i(g)},n.unstable_next=function(ve){switch(T){case 1:case 2:case 3:var Le=3;break;default:Le=T}var F=T;T=Le;try{return ve()}finally{T=F}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(ve,Le){switch(ve){case 1:case 2:case 3:case 4:case 5:break;default:ve=3}var F=T;T=ve;try{return Le()}finally{T=F}},n.unstable_scheduleCallback=function(ve,Le,F){var q=n.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?q+F:q):F=q,ve){case 1:var se=-1;break;case 2:se=250;break;case 5:se=1073741823;break;case 4:se=1e4;break;default:se=5e3}return se=F+se,ve={id:E++,callback:Le,priorityLevel:ve,startTime:F,expirationTime:se,sortIndex:-1},F>q?(ve.sortIndex=F,r(b,ve),i(g)===null&&ve===i(b)&&(j?(L(te),te=-1):j=!0,Ie(U,F-q))):(ve.sortIndex=se,r(g,ve),N||A||(N=!0,Oe(z))),ve},n.unstable_shouldYield=pe,n.unstable_wrapCallback=function(ve){var Le=T;return function(){var F=T;T=Le;try{return ve.apply(this,arguments)}finally{T=F}}}}(uS)),uS}var lS={};/**
73
+ */var bA;function TV(){return bA||(bA=1,function(n){function r(ve,Le){var F=ve.length;ve.push(Le);e:for(;0<F;){var q=F-1>>>1,se=ve[q];if(0<l(se,Le))ve[q]=Le,ve[F]=se,F=q;else break e}}function i(ve){return ve.length===0?null:ve[0]}function u(ve){if(ve.length===0)return null;var Le=ve[0],F=ve.pop();if(F!==Le){ve[0]=F;e:for(var q=0,se=ve.length,xe=se>>>1;q<xe;){var Ee=2*(q+1)-1,De=ve[Ee],ie=Ee+1,he=ve[ie];if(0>l(De,F))ie<se&&0>l(he,De)?(ve[q]=he,ve[ie]=F,q=ie):(ve[q]=De,ve[Ee]=F,q=Ee);else if(ie<se&&0>l(he,F))ve[q]=he,ve[ie]=F,q=ie;else break e}}return Le}function l(ve,Le){var F=ve.sortIndex-Le.sortIndex;return F!==0?F:ve.id-Le.id}if(typeof performance=="object"&&typeof performance.now=="function"){var d=performance;n.unstable_now=function(){return d.now()}}else{var p=Date,y=p.now();n.unstable_now=function(){return p.now()-y}}var g=[],b=[],E=1,w=null,T=3,A=!1,N=!1,j=!1,O=typeof setTimeout=="function"?setTimeout:null,L=typeof clearTimeout=="function"?clearTimeout:null,B=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function P(ve){for(var Le=i(b);Le!==null;){if(Le.callback===null)u(b);else if(Le.startTime<=ve)u(b),Le.sortIndex=Le.expirationTime,r(g,Le);else break;Le=i(b)}}function U(ve){if(j=!1,P(ve),!N)if(i(g)!==null)N=!0,Oe(z);else{var Le=i(b);Le!==null&&Ie(U,Le.startTime-ve)}}function z(ve,Le){N=!1,j&&(j=!1,L(te),te=-1),A=!0;var F=T;try{for(P(Le),w=i(g);w!==null&&(!(w.expirationTime>Le)||ve&&!pe());){var q=w.callback;if(typeof q=="function"){w.callback=null,T=w.priorityLevel;var se=q(w.expirationTime<=Le);Le=n.unstable_now(),typeof se=="function"?w.callback=se:w===i(g)&&u(g),P(Le)}else u(g);w=i(g)}if(w!==null)var xe=!0;else{var Ee=i(b);Ee!==null&&Ie(U,Ee.startTime-Le),xe=!1}return xe}finally{w=null,T=F,A=!1}}var G=!1,X=null,te=-1,Re=5,ue=-1;function pe(){return!(n.unstable_now()-ue<Re)}function ye(){if(X!==null){var ve=n.unstable_now();ue=ve;var Le=!0;try{Le=X(!0,ve)}finally{Le?me():(G=!1,X=null)}}else G=!1}var me;if(typeof B=="function")me=function(){B(ye)};else if(typeof MessageChannel<"u"){var Ae=new MessageChannel,_e=Ae.port2;Ae.port1.onmessage=ye,me=function(){_e.postMessage(null)}}else me=function(){O(ye,0)};function Oe(ve){X=ve,G||(G=!0,me())}function Ie(ve,Le){te=O(function(){ve(n.unstable_now())},Le)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(ve){ve.callback=null},n.unstable_continueExecution=function(){N||A||(N=!0,Oe(z))},n.unstable_forceFrameRate=function(ve){0>ve||125<ve?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Re=0<ve?Math.floor(1e3/ve):5},n.unstable_getCurrentPriorityLevel=function(){return T},n.unstable_getFirstCallbackNode=function(){return i(g)},n.unstable_next=function(ve){switch(T){case 1:case 2:case 3:var Le=3;break;default:Le=T}var F=T;T=Le;try{return ve()}finally{T=F}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(ve,Le){switch(ve){case 1:case 2:case 3:case 4:case 5:break;default:ve=3}var F=T;T=ve;try{return Le()}finally{T=F}},n.unstable_scheduleCallback=function(ve,Le,F){var q=n.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?q+F:q):F=q,ve){case 1:var se=-1;break;case 2:se=250;break;case 5:se=1073741823;break;case 4:se=1e4;break;default:se=5e3}return se=F+se,ve={id:E++,callback:Le,priorityLevel:ve,startTime:F,expirationTime:se,sortIndex:-1},F>q?(ve.sortIndex=F,r(b,ve),i(g)===null&&ve===i(b)&&(j?(L(te),te=-1):j=!0,Ie(U,F-q))):(ve.sortIndex=se,r(g,ve),N||A||(N=!0,Oe(z))),ve},n.unstable_shouldYield=pe,n.unstable_wrapCallback=function(ve){var Le=T;return function(){var F=T;T=Le;try{return ve.apply(this,arguments)}finally{T=F}}}}(uS)),uS}var lS={};/**
74
74
  * @license React
75
75
  * scheduler.development.js
76
76
  *
@@ -78,7 +78,7 @@ Check the top-level render call using <`+Ue+">.")}return je}}function bo(Z,je){{
78
78
  *
79
79
  * This source code is licensed under the MIT license found in the
80
80
  * LICENSE file in the root directory of this source tree.
81
- */var CA;function IV(){return CA||(CA=1,function(n){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=!1,i=!1,u=5;function l(He,st){var Lt=He.length;He.push(st),y(He,st,Lt)}function d(He){return He.length===0?null:He[0]}function p(He){if(He.length===0)return null;var st=He[0],Lt=He.pop();return Lt!==st&&(He[0]=Lt,g(He,Lt,0)),st}function y(He,st,Lt){for(var sn=Lt;sn>0;){var ln=sn-1>>>1,ir=He[ln];if(b(ir,st)>0)He[ln]=st,He[sn]=ir,sn=ln;else return}}function g(He,st,Lt){for(var sn=Lt,ln=He.length,ir=ln>>>1;sn<ir;){var Wn=(sn+1)*2-1,$r=He[Wn],mn=Wn+1,na=He[mn];if(b($r,st)<0)mn<ln&&b(na,$r)<0?(He[sn]=na,He[mn]=st,sn=mn):(He[sn]=$r,He[Wn]=st,sn=Wn);else if(mn<ln&&b(na,st)<0)He[sn]=na,He[mn]=st,sn=mn;else return}}function b(He,st){var Lt=He.sortIndex-st.sortIndex;return Lt!==0?Lt:He.id-st.id}var E=1,R=2,T=3,A=4,N=5;function j(He,st){}var O=typeof performance=="object"&&typeof performance.now=="function";if(O){var L=performance;n.unstable_now=function(){return L.now()}}else{var B=Date,P=B.now();n.unstable_now=function(){return B.now()-P}}var U=1073741823,z=-1,G=250,X=5e3,te=1e4,Re=U,ue=[],pe=[],ye=1,me=null,Ae=T,_e=!1,Oe=!1,Ie=!1,ve=typeof setTimeout=="function"?setTimeout:null,Le=typeof clearTimeout=="function"?clearTimeout:null,F=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function q(He){for(var st=d(pe);st!==null;){if(st.callback===null)p(pe);else if(st.startTime<=He)p(pe),st.sortIndex=st.expirationTime,l(ue,st);else return;st=d(pe)}}function se(He){if(Ie=!1,q(He),!Oe)if(d(ue)!==null)Oe=!0,St(xe);else{var st=d(pe);st!==null&&en(se,st.startTime-He)}}function xe(He,st){Oe=!1,Ie&&(Ie=!1,ar()),_e=!0;var Lt=Ae;try{var sn;if(!i)return Ee(He,st)}finally{me=null,Ae=Lt,_e=!1}}function Ee(He,st){var Lt=st;for(q(Lt),me=d(ue);me!==null&&!r&&!(me.expirationTime>Lt&&(!He||Mn()));){var sn=me.callback;if(typeof sn=="function"){me.callback=null,Ae=me.priorityLevel;var ln=me.expirationTime<=Lt,ir=sn(ln);Lt=n.unstable_now(),typeof ir=="function"?me.callback=ir:me===d(ue)&&p(ue),q(Lt)}else p(ue);me=d(ue)}if(me!==null)return!0;var Wn=d(pe);return Wn!==null&&en(se,Wn.startTime-Lt),!1}function De(He,st){switch(He){case E:case R:case T:case A:case N:break;default:He=T}var Lt=Ae;Ae=He;try{return st()}finally{Ae=Lt}}function ie(He){var st;switch(Ae){case E:case R:case T:st=T;break;default:st=Ae;break}var Lt=Ae;Ae=st;try{return He()}finally{Ae=Lt}}function he(He){var st=Ae;return function(){var Lt=Ae;Ae=st;try{return He.apply(this,arguments)}finally{Ae=Lt}}}function Te(He,st,Lt){var sn=n.unstable_now(),ln;if(typeof Lt=="object"&&Lt!==null){var ir=Lt.delay;typeof ir=="number"&&ir>0?ln=sn+ir:ln=sn}else ln=sn;var Wn;switch(He){case E:Wn=z;break;case R:Wn=G;break;case N:Wn=Re;break;case A:Wn=te;break;case T:default:Wn=X;break}var $r=ln+Wn,mn={id:ye++,callback:st,priorityLevel:He,startTime:ln,expirationTime:$r,sortIndex:-1};return ln>sn?(mn.sortIndex=ln,l(pe,mn),d(ue)===null&&mn===d(pe)&&(Ie?ar():Ie=!0,en(se,ln-sn))):(mn.sortIndex=$r,l(ue,mn),!Oe&&!_e&&(Oe=!0,St(xe))),mn}function Ve(){}function Ke(){!Oe&&!_e&&(Oe=!0,St(xe))}function It(){return d(ue)}function Ne(He){He.callback=null}function ft(){return Ae}var Bt=!1,lt=null,hn=-1,nn=u,Hn=-1;function Mn(){var He=n.unstable_now()-Hn;return!(He<nn)}function Mt(){}function Ln(He){if(He<0||He>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}He>0?nn=Math.floor(1e3/He):nn=u}var $n=function(){if(lt!==null){var He=n.unstable_now();Hn=He;var st=!0,Lt=!0;try{Lt=lt(st,He)}finally{Lt?rr():(Bt=!1,lt=null)}}else Bt=!1},rr;if(typeof F=="function")rr=function(){F($n)};else if(typeof MessageChannel<"u"){var lr=new MessageChannel,Qn=lr.port2;lr.port1.onmessage=$n,rr=function(){Qn.postMessage(null)}}else rr=function(){ve($n,0)};function St(He){lt=He,Bt||(Bt=!0,rr())}function en(He,st){hn=ve(function(){He(n.unstable_now())},st)}function ar(){Le(hn),hn=-1}var Xi=Mt,Va=null;n.unstable_IdlePriority=N,n.unstable_ImmediatePriority=E,n.unstable_LowPriority=A,n.unstable_NormalPriority=T,n.unstable_Profiling=Va,n.unstable_UserBlockingPriority=R,n.unstable_cancelCallback=Ne,n.unstable_continueExecution=Ke,n.unstable_forceFrameRate=Ln,n.unstable_getCurrentPriorityLevel=ft,n.unstable_getFirstCallbackNode=It,n.unstable_next=ie,n.unstable_pauseExecution=Ve,n.unstable_requestPaint=Xi,n.unstable_runWithPriority=De,n.unstable_scheduleCallback=Te,n.unstable_shouldYield=Mn,n.unstable_wrapCallback=he,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(lS)),lS}var xA;function OO(){return xA||(xA=1,process.env.NODE_ENV==="production"?hb.exports=TV():hb.exports=IV()),hb.exports}/**
81
+ */var CA;function IV(){return CA||(CA=1,function(n){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=!1,i=!1,u=5;function l(He,st){var Lt=He.length;He.push(st),y(He,st,Lt)}function d(He){return He.length===0?null:He[0]}function p(He){if(He.length===0)return null;var st=He[0],Lt=He.pop();return Lt!==st&&(He[0]=Lt,g(He,Lt,0)),st}function y(He,st,Lt){for(var sn=Lt;sn>0;){var ln=sn-1>>>1,ir=He[ln];if(b(ir,st)>0)He[ln]=st,He[sn]=ir,sn=ln;else return}}function g(He,st,Lt){for(var sn=Lt,ln=He.length,ir=ln>>>1;sn<ir;){var Wn=(sn+1)*2-1,$r=He[Wn],mn=Wn+1,na=He[mn];if(b($r,st)<0)mn<ln&&b(na,$r)<0?(He[sn]=na,He[mn]=st,sn=mn):(He[sn]=$r,He[Wn]=st,sn=Wn);else if(mn<ln&&b(na,st)<0)He[sn]=na,He[mn]=st,sn=mn;else return}}function b(He,st){var Lt=He.sortIndex-st.sortIndex;return Lt!==0?Lt:He.id-st.id}var E=1,w=2,T=3,A=4,N=5;function j(He,st){}var O=typeof performance=="object"&&typeof performance.now=="function";if(O){var L=performance;n.unstable_now=function(){return L.now()}}else{var B=Date,P=B.now();n.unstable_now=function(){return B.now()-P}}var U=1073741823,z=-1,G=250,X=5e3,te=1e4,Re=U,ue=[],pe=[],ye=1,me=null,Ae=T,_e=!1,Oe=!1,Ie=!1,ve=typeof setTimeout=="function"?setTimeout:null,Le=typeof clearTimeout=="function"?clearTimeout:null,F=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function q(He){for(var st=d(pe);st!==null;){if(st.callback===null)p(pe);else if(st.startTime<=He)p(pe),st.sortIndex=st.expirationTime,l(ue,st);else return;st=d(pe)}}function se(He){if(Ie=!1,q(He),!Oe)if(d(ue)!==null)Oe=!0,St(xe);else{var st=d(pe);st!==null&&en(se,st.startTime-He)}}function xe(He,st){Oe=!1,Ie&&(Ie=!1,ar()),_e=!0;var Lt=Ae;try{var sn;if(!i)return Ee(He,st)}finally{me=null,Ae=Lt,_e=!1}}function Ee(He,st){var Lt=st;for(q(Lt),me=d(ue);me!==null&&!r&&!(me.expirationTime>Lt&&(!He||Mn()));){var sn=me.callback;if(typeof sn=="function"){me.callback=null,Ae=me.priorityLevel;var ln=me.expirationTime<=Lt,ir=sn(ln);Lt=n.unstable_now(),typeof ir=="function"?me.callback=ir:me===d(ue)&&p(ue),q(Lt)}else p(ue);me=d(ue)}if(me!==null)return!0;var Wn=d(pe);return Wn!==null&&en(se,Wn.startTime-Lt),!1}function De(He,st){switch(He){case E:case w:case T:case A:case N:break;default:He=T}var Lt=Ae;Ae=He;try{return st()}finally{Ae=Lt}}function ie(He){var st;switch(Ae){case E:case w:case T:st=T;break;default:st=Ae;break}var Lt=Ae;Ae=st;try{return He()}finally{Ae=Lt}}function he(He){var st=Ae;return function(){var Lt=Ae;Ae=st;try{return He.apply(this,arguments)}finally{Ae=Lt}}}function Te(He,st,Lt){var sn=n.unstable_now(),ln;if(typeof Lt=="object"&&Lt!==null){var ir=Lt.delay;typeof ir=="number"&&ir>0?ln=sn+ir:ln=sn}else ln=sn;var Wn;switch(He){case E:Wn=z;break;case w:Wn=G;break;case N:Wn=Re;break;case A:Wn=te;break;case T:default:Wn=X;break}var $r=ln+Wn,mn={id:ye++,callback:st,priorityLevel:He,startTime:ln,expirationTime:$r,sortIndex:-1};return ln>sn?(mn.sortIndex=ln,l(pe,mn),d(ue)===null&&mn===d(pe)&&(Ie?ar():Ie=!0,en(se,ln-sn))):(mn.sortIndex=$r,l(ue,mn),!Oe&&!_e&&(Oe=!0,St(xe))),mn}function Ve(){}function Ke(){!Oe&&!_e&&(Oe=!0,St(xe))}function It(){return d(ue)}function Ne(He){He.callback=null}function ft(){return Ae}var Bt=!1,lt=null,hn=-1,nn=u,Hn=-1;function Mn(){var He=n.unstable_now()-Hn;return!(He<nn)}function Mt(){}function Ln(He){if(He<0||He>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}He>0?nn=Math.floor(1e3/He):nn=u}var $n=function(){if(lt!==null){var He=n.unstable_now();Hn=He;var st=!0,Lt=!0;try{Lt=lt(st,He)}finally{Lt?rr():(Bt=!1,lt=null)}}else Bt=!1},rr;if(typeof F=="function")rr=function(){F($n)};else if(typeof MessageChannel<"u"){var lr=new MessageChannel,Qn=lr.port2;lr.port1.onmessage=$n,rr=function(){Qn.postMessage(null)}}else rr=function(){ve($n,0)};function St(He){lt=He,Bt||(Bt=!0,rr())}function en(He,st){hn=ve(function(){He(n.unstable_now())},st)}function ar(){Le(hn),hn=-1}var Xi=Mt,Va=null;n.unstable_IdlePriority=N,n.unstable_ImmediatePriority=E,n.unstable_LowPriority=A,n.unstable_NormalPriority=T,n.unstable_Profiling=Va,n.unstable_UserBlockingPriority=w,n.unstable_cancelCallback=Ne,n.unstable_continueExecution=Ke,n.unstable_forceFrameRate=Ln,n.unstable_getCurrentPriorityLevel=ft,n.unstable_getFirstCallbackNode=It,n.unstable_next=ie,n.unstable_pauseExecution=Ve,n.unstable_requestPaint=Xi,n.unstable_runWithPriority=De,n.unstable_scheduleCallback=Te,n.unstable_shouldYield=Mn,n.unstable_wrapCallback=he,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(lS)),lS}var xA;function OO(){return xA||(xA=1,process.env.NODE_ENV==="production"?hb.exports=TV():hb.exports=IV()),hb.exports}/**
82
82
  * @license React
83
83
  * react-dom.production.min.js
84
84
  *
@@ -86,14 +86,14 @@ Check the top-level render call using <`+Ue+">.")}return je}}function bo(Z,je){{
86
86
  *
87
87
  * This source code is licensed under the MIT license found in the
88
88
  * LICENSE file in the root directory of this source tree.
89
- */var EA;function AV(){if(EA)return Si;EA=1;var n=Of(),r=OO();function i(a){for(var o="https://reactjs.org/docs/error-decoder.html?invariant="+a,f=1;f<arguments.length;f++)o+="&args[]="+encodeURIComponent(arguments[f]);return"Minified React error #"+a+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var u=new Set,l={};function d(a,o){p(a,o),p(a+"Capture",o)}function p(a,o){for(l[a]=o,a=0;a<o.length;a++)u.add(o[a])}var y=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),g=Object.prototype.hasOwnProperty,b=/^[: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]*$/,E={},R={};function T(a){return g.call(R,a)?!0:g.call(E,a)?!1:b.test(a)?R[a]=!0:(E[a]=!0,!1)}function A(a,o,f,h){if(f!==null&&f.type===0)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":return h?!1:f!==null?!f.acceptsBooleans:(a=a.toLowerCase().slice(0,5),a!=="data-"&&a!=="aria-");default:return!1}}function N(a,o,f,h){if(o===null||typeof o>"u"||A(a,o,f,h))return!0;if(h)return!1;if(f!==null)switch(f.type){case 3:return!o;case 4:return o===!1;case 5:return isNaN(o);case 6:return isNaN(o)||1>o}return!1}function j(a,o,f,h,x,w,k){this.acceptsBooleans=o===2||o===3||o===4,this.attributeName=h,this.attributeNamespace=x,this.mustUseProperty=f,this.propertyName=a,this.type=o,this.sanitizeURL=w,this.removeEmptyString=k}var O={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){O[a]=new j(a,0,!1,a,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var o=a[0];O[o]=new j(o,1,!1,a[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(a){O[a]=new j(a,2,!1,a.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){O[a]=new j(a,2,!1,a,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(a){O[a]=new j(a,3,!1,a.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(a){O[a]=new j(a,3,!0,a,null,!1,!1)}),["capture","download"].forEach(function(a){O[a]=new j(a,4,!1,a,null,!1,!1)}),["cols","rows","size","span"].forEach(function(a){O[a]=new j(a,6,!1,a,null,!1,!1)}),["rowSpan","start"].forEach(function(a){O[a]=new j(a,5,!1,a.toLowerCase(),null,!1,!1)});var L=/[\-:]([a-z])/g;function B(a){return a[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(a){var o=a.replace(L,B);O[o]=new j(o,1,!1,a,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var o=a.replace(L,B);O[o]=new j(o,1,!1,a,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(a){var o=a.replace(L,B);O[o]=new j(o,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(a){O[a]=new j(a,1,!1,a.toLowerCase(),null,!1,!1)}),O.xlinkHref=new j("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(a){O[a]=new j(a,1,!1,a.toLowerCase(),null,!0,!0)});function P(a,o,f,h){var x=O.hasOwnProperty(o)?O[o]:null;(x!==null?x.type!==0:h||!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(N(o,f,x,h)&&(f=null),h||x===null?T(o)&&(f===null?a.removeAttribute(o):a.setAttribute(o,""+f)):x.mustUseProperty?a[x.propertyName]=f===null?x.type===3?!1:"":f:(o=x.attributeName,h=x.attributeNamespace,f===null?a.removeAttribute(o):(x=x.type,f=x===3||x===4&&f===!0?"":""+f,h?a.setAttributeNS(h,o,f):a.setAttribute(o,f))))}var U=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,z=Symbol.for("react.element"),G=Symbol.for("react.portal"),X=Symbol.for("react.fragment"),te=Symbol.for("react.strict_mode"),Re=Symbol.for("react.profiler"),ue=Symbol.for("react.provider"),pe=Symbol.for("react.context"),ye=Symbol.for("react.forward_ref"),me=Symbol.for("react.suspense"),Ae=Symbol.for("react.suspense_list"),_e=Symbol.for("react.memo"),Oe=Symbol.for("react.lazy"),Ie=Symbol.for("react.offscreen"),ve=Symbol.iterator;function Le(a){return a===null||typeof a!="object"?null:(a=ve&&a[ve]||a["@@iterator"],typeof a=="function"?a:null)}var F=Object.assign,q;function se(a){if(q===void 0)try{throw Error()}catch(f){var o=f.stack.trim().match(/\n( *(at )?)/);q=o&&o[1]||""}return`
89
+ */var EA;function AV(){if(EA)return Si;EA=1;var n=Of(),r=OO();function i(a){for(var o="https://reactjs.org/docs/error-decoder.html?invariant="+a,f=1;f<arguments.length;f++)o+="&args[]="+encodeURIComponent(arguments[f]);return"Minified React error #"+a+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var u=new Set,l={};function d(a,o){p(a,o),p(a+"Capture",o)}function p(a,o){for(l[a]=o,a=0;a<o.length;a++)u.add(o[a])}var y=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),g=Object.prototype.hasOwnProperty,b=/^[: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]*$/,E={},w={};function T(a){return g.call(w,a)?!0:g.call(E,a)?!1:b.test(a)?w[a]=!0:(E[a]=!0,!1)}function A(a,o,f,h){if(f!==null&&f.type===0)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":return h?!1:f!==null?!f.acceptsBooleans:(a=a.toLowerCase().slice(0,5),a!=="data-"&&a!=="aria-");default:return!1}}function N(a,o,f,h){if(o===null||typeof o>"u"||A(a,o,f,h))return!0;if(h)return!1;if(f!==null)switch(f.type){case 3:return!o;case 4:return o===!1;case 5:return isNaN(o);case 6:return isNaN(o)||1>o}return!1}function j(a,o,f,h,x,R,k){this.acceptsBooleans=o===2||o===3||o===4,this.attributeName=h,this.attributeNamespace=x,this.mustUseProperty=f,this.propertyName=a,this.type=o,this.sanitizeURL=R,this.removeEmptyString=k}var O={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){O[a]=new j(a,0,!1,a,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var o=a[0];O[o]=new j(o,1,!1,a[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(a){O[a]=new j(a,2,!1,a.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){O[a]=new j(a,2,!1,a,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(a){O[a]=new j(a,3,!1,a.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(a){O[a]=new j(a,3,!0,a,null,!1,!1)}),["capture","download"].forEach(function(a){O[a]=new j(a,4,!1,a,null,!1,!1)}),["cols","rows","size","span"].forEach(function(a){O[a]=new j(a,6,!1,a,null,!1,!1)}),["rowSpan","start"].forEach(function(a){O[a]=new j(a,5,!1,a.toLowerCase(),null,!1,!1)});var L=/[\-:]([a-z])/g;function B(a){return a[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(a){var o=a.replace(L,B);O[o]=new j(o,1,!1,a,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var o=a.replace(L,B);O[o]=new j(o,1,!1,a,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(a){var o=a.replace(L,B);O[o]=new j(o,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(a){O[a]=new j(a,1,!1,a.toLowerCase(),null,!1,!1)}),O.xlinkHref=new j("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(a){O[a]=new j(a,1,!1,a.toLowerCase(),null,!0,!0)});function P(a,o,f,h){var x=O.hasOwnProperty(o)?O[o]:null;(x!==null?x.type!==0:h||!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(N(o,f,x,h)&&(f=null),h||x===null?T(o)&&(f===null?a.removeAttribute(o):a.setAttribute(o,""+f)):x.mustUseProperty?a[x.propertyName]=f===null?x.type===3?!1:"":f:(o=x.attributeName,h=x.attributeNamespace,f===null?a.removeAttribute(o):(x=x.type,f=x===3||x===4&&f===!0?"":""+f,h?a.setAttributeNS(h,o,f):a.setAttribute(o,f))))}var U=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,z=Symbol.for("react.element"),G=Symbol.for("react.portal"),X=Symbol.for("react.fragment"),te=Symbol.for("react.strict_mode"),Re=Symbol.for("react.profiler"),ue=Symbol.for("react.provider"),pe=Symbol.for("react.context"),ye=Symbol.for("react.forward_ref"),me=Symbol.for("react.suspense"),Ae=Symbol.for("react.suspense_list"),_e=Symbol.for("react.memo"),Oe=Symbol.for("react.lazy"),Ie=Symbol.for("react.offscreen"),ve=Symbol.iterator;function Le(a){return a===null||typeof a!="object"?null:(a=ve&&a[ve]||a["@@iterator"],typeof a=="function"?a:null)}var F=Object.assign,q;function se(a){if(q===void 0)try{throw Error()}catch(f){var o=f.stack.trim().match(/\n( *(at )?)/);q=o&&o[1]||""}return`
90
90
  `+q+a}var xe=!1;function Ee(a,o){if(!a||xe)return"";xe=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(o)if(o=function(){throw Error()},Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(de){var h=de}Reflect.construct(a,[],o)}else{try{o.call()}catch(de){h=de}a.call(o.prototype)}else{try{throw Error()}catch(de){h=de}a()}}catch(de){if(de&&h&&typeof de.stack=="string"){for(var x=de.stack.split(`
91
- `),w=h.stack.split(`
92
- `),k=x.length-1,W=w.length-1;1<=k&&0<=W&&x[k]!==w[W];)W--;for(;1<=k&&0<=W;k--,W--)if(x[k]!==w[W]){if(k!==1||W!==1)do if(k--,W--,0>W||x[k]!==w[W]){var J=`
93
- `+x[k].replace(" at new "," at ");return a.displayName&&J.includes("<anonymous>")&&(J=J.replace("<anonymous>",a.displayName)),J}while(1<=k&&0<=W);break}}}finally{xe=!1,Error.prepareStackTrace=f}return(a=a?a.displayName||a.name:"")?se(a):""}function De(a){switch(a.tag){case 5:return se(a.type);case 16:return se("Lazy");case 13:return se("Suspense");case 19:return se("SuspenseList");case 0:case 2:case 15:return a=Ee(a.type,!1),a;case 11:return a=Ee(a.type.render,!1),a;case 1:return a=Ee(a.type,!0),a;default:return""}}function ie(a){if(a==null)return null;if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case X:return"Fragment";case G:return"Portal";case Re:return"Profiler";case te:return"StrictMode";case me:return"Suspense";case Ae:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case pe:return(a.displayName||"Context")+".Consumer";case ue:return(a._context.displayName||"Context")+".Provider";case ye:var o=a.render;return a=a.displayName,a||(a=o.displayName||o.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case _e:return o=a.displayName||null,o!==null?o:ie(a.type)||"Memo";case Oe:o=a._payload,a=a._init;try{return ie(a(o))}catch{}}return null}function he(a){var o=a.type;switch(a.tag){case 24:return"Cache";case 9:return(o.displayName||"Context")+".Consumer";case 10:return(o._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return a=o.render,a=a.displayName||a.name||"",o.displayName||(a!==""?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 5:return o;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ie(o);case 8:return o===te?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o}return null}function Te(a){switch(typeof a){case"boolean":case"number":case"string":case"undefined":return a;case"object":return a;default:return""}}function Ve(a){var o=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function Ke(a){var o=Ve(a)?"checked":"value",f=Object.getOwnPropertyDescriptor(a.constructor.prototype,o),h=""+a[o];if(!a.hasOwnProperty(o)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var x=f.get,w=f.set;return Object.defineProperty(a,o,{configurable:!0,get:function(){return x.call(this)},set:function(k){h=""+k,w.call(this,k)}}),Object.defineProperty(a,o,{enumerable:f.enumerable}),{getValue:function(){return h},setValue:function(k){h=""+k},stopTracking:function(){a._valueTracker=null,delete a[o]}}}}function It(a){a._valueTracker||(a._valueTracker=Ke(a))}function Ne(a){if(!a)return!1;var o=a._valueTracker;if(!o)return!0;var f=o.getValue(),h="";return a&&(h=Ve(a)?a.checked?"true":"false":a.value),a=h,a!==f?(o.setValue(a),!0):!1}function ft(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}function Bt(a,o){var f=o.checked;return F({},o,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:f??a._wrapperState.initialChecked})}function lt(a,o){var f=o.defaultValue==null?"":o.defaultValue,h=o.checked!=null?o.checked:o.defaultChecked;f=Te(o.value!=null?o.value:f),a._wrapperState={initialChecked:h,initialValue:f,controlled:o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null}}function hn(a,o){o=o.checked,o!=null&&P(a,"checked",o,!1)}function nn(a,o){hn(a,o);var f=Te(o.value),h=o.type;if(f!=null)h==="number"?(f===0&&a.value===""||a.value!=f)&&(a.value=""+f):a.value!==""+f&&(a.value=""+f);else if(h==="submit"||h==="reset"){a.removeAttribute("value");return}o.hasOwnProperty("value")?Mn(a,o.type,f):o.hasOwnProperty("defaultValue")&&Mn(a,o.type,Te(o.defaultValue)),o.checked==null&&o.defaultChecked!=null&&(a.defaultChecked=!!o.defaultChecked)}function Hn(a,o,f){if(o.hasOwnProperty("value")||o.hasOwnProperty("defaultValue")){var h=o.type;if(!(h!=="submit"&&h!=="reset"||o.value!==void 0&&o.value!==null))return;o=""+a._wrapperState.initialValue,f||o===a.value||(a.value=o),a.defaultValue=o}f=a.name,f!==""&&(a.name=""),a.defaultChecked=!!a._wrapperState.initialChecked,f!==""&&(a.name=f)}function Mn(a,o,f){(o!=="number"||ft(a.ownerDocument)!==a)&&(f==null?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+f&&(a.defaultValue=""+f))}var Mt=Array.isArray;function Ln(a,o,f,h){if(a=a.options,o){o={};for(var x=0;x<f.length;x++)o["$"+f[x]]=!0;for(f=0;f<a.length;f++)x=o.hasOwnProperty("$"+a[f].value),a[f].selected!==x&&(a[f].selected=x),x&&h&&(a[f].defaultSelected=!0)}else{for(f=""+Te(f),o=null,x=0;x<a.length;x++){if(a[x].value===f){a[x].selected=!0,h&&(a[x].defaultSelected=!0);return}o!==null||a[x].disabled||(o=a[x])}o!==null&&(o.selected=!0)}}function $n(a,o){if(o.dangerouslySetInnerHTML!=null)throw Error(i(91));return F({},o,{value:void 0,defaultValue:void 0,children:""+a._wrapperState.initialValue})}function rr(a,o){var f=o.value;if(f==null){if(f=o.children,o=o.defaultValue,f!=null){if(o!=null)throw Error(i(92));if(Mt(f)){if(1<f.length)throw Error(i(93));f=f[0]}o=f}o==null&&(o=""),f=o}a._wrapperState={initialValue:Te(f)}}function lr(a,o){var f=Te(o.value),h=Te(o.defaultValue);f!=null&&(f=""+f,f!==a.value&&(a.value=f),o.defaultValue==null&&a.defaultValue!==f&&(a.defaultValue=f)),h!=null&&(a.defaultValue=""+h)}function Qn(a){var o=a.textContent;o===a._wrapperState.initialValue&&o!==""&&o!==null&&(a.value=o)}function St(a){switch(a){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 en(a,o){return a==null||a==="http://www.w3.org/1999/xhtml"?St(o):a==="http://www.w3.org/2000/svg"&&o==="foreignObject"?"http://www.w3.org/1999/xhtml":a}var ar,Xi=function(a){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(o,f,h,x){MSApp.execUnsafeLocalFunction(function(){return a(o,f,h,x)})}:a}(function(a,o){if(a.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in a)a.innerHTML=o;else{for(ar=ar||document.createElement("div"),ar.innerHTML="<svg>"+o.valueOf().toString()+"</svg>",o=ar.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;o.firstChild;)a.appendChild(o.firstChild)}});function Va(a,o){if(o){var f=a.firstChild;if(f&&f===a.lastChild&&f.nodeType===3){f.nodeValue=o;return}}a.textContent=o}var He={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},st=["Webkit","ms","Moz","O"];Object.keys(He).forEach(function(a){st.forEach(function(o){o=o+a.charAt(0).toUpperCase()+a.substring(1),He[o]=He[a]})});function Lt(a,o,f){return o==null||typeof o=="boolean"||o===""?"":f||typeof o!="number"||o===0||He.hasOwnProperty(a)&&He[a]?(""+o).trim():o+"px"}function sn(a,o){a=a.style;for(var f in o)if(o.hasOwnProperty(f)){var h=f.indexOf("--")===0,x=Lt(f,o[f],h);f==="float"&&(f="cssFloat"),h?a.setProperty(f,x):a[f]=x}}var ln=F({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 ir(a,o){if(o){if(ln[a]&&(o.children!=null||o.dangerouslySetInnerHTML!=null))throw Error(i(137,a));if(o.dangerouslySetInnerHTML!=null){if(o.children!=null)throw Error(i(60));if(typeof o.dangerouslySetInnerHTML!="object"||!("__html"in o.dangerouslySetInnerHTML))throw Error(i(61))}if(o.style!=null&&typeof o.style!="object")throw Error(i(62))}}function Wn(a,o){if(a.indexOf("-")===-1)return typeof o.is=="string";switch(a){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 $r=null;function mn(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}var na=null,cn=null,fn=null;function Ni(a){if(a=Dc(a)){if(typeof na!="function")throw Error(i(280));var o=a.stateNode;o&&(o=ct(o),na(a.stateNode,a.type,o))}}function ni(a){cn?fn?fn.push(a):fn=[a]:cn=a}function Ko(){if(cn){var a=cn,o=fn;if(fn=cn=null,Ni(a),o)for(a=0;a<o.length;a++)Ni(o[a])}}function Js(a,o){return a(o)}function el(){}var bo=!1;function es(a,o,f){if(bo)return a(o,f);bo=!0;try{return Js(a,o,f)}finally{bo=!1,(cn!==null||fn!==null)&&(el(),Ko())}}function Ba(a,o){var f=a.stateNode;if(f===null)return null;var h=ct(f);if(h===null)return null;f=h[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(h=!h.disabled)||(a=a.type,h=!(a==="button"||a==="input"||a==="select"||a==="textarea")),a=!h;break e;default:a=!1}if(a)return null;if(f&&typeof f!="function")throw Error(i(231,o,typeof f));return f}var Yi=!1;if(y)try{var za={};Object.defineProperty(za,"passive",{get:function(){Yi=!0}}),window.addEventListener("test",za,za),window.removeEventListener("test",za,za)}catch{Yi=!1}function Zi(a,o,f,h,x,w,k,W,J){var de=Array.prototype.slice.call(arguments,3);try{o.apply(f,de)}catch(Me){this.onError(Me)}}var ra=!1,Ha=null,Ji=!1,Z=null,je={onError:function(a){ra=!0,Ha=a}};function Ue(a,o,f,h,x,w,k,W,J){ra=!1,Ha=null,Zi.apply(je,arguments)}function Je(a,o,f,h,x,w,k,W,J){if(Ue.apply(this,arguments),ra){if(ra){var de=Ha;ra=!1,Ha=null}else throw Error(i(198));Ji||(Ji=!0,Z=de)}}function _t(a){var o=a,f=a;if(a.alternate)for(;o.return;)o=o.return;else{a=o;do o=a,o.flags&4098&&(f=o.return),a=o.return;while(a)}return o.tag===3?f:null}function Gt(a){if(a.tag===13){var o=a.memoizedState;if(o===null&&(a=a.alternate,a!==null&&(o=a.memoizedState)),o!==null)return o.dehydrated}return null}function Dt(a){if(_t(a)!==a)throw Error(i(188))}function dt(a){var o=a.alternate;if(!o){if(o=_t(a),o===null)throw Error(i(188));return o!==a?null:a}for(var f=a,h=o;;){var x=f.return;if(x===null)break;var w=x.alternate;if(w===null){if(h=x.return,h!==null){f=h;continue}break}if(x.child===w.child){for(w=x.child;w;){if(w===f)return Dt(x),a;if(w===h)return Dt(x),o;w=w.sibling}throw Error(i(188))}if(f.return!==h.return)f=x,h=w;else{for(var k=!1,W=x.child;W;){if(W===f){k=!0,f=x,h=w;break}if(W===h){k=!0,h=x,f=w;break}W=W.sibling}if(!k){for(W=w.child;W;){if(W===f){k=!0,f=w,h=x;break}if(W===h){k=!0,h=w,f=x;break}W=W.sibling}if(!k)throw Error(i(189))}}if(f.alternate!==h)throw Error(i(190))}if(f.tag!==3)throw Error(i(188));return f.stateNode.current===f?a:o}function cr(a){return a=dt(a),a!==null?_n(a):null}function _n(a){if(a.tag===5||a.tag===6)return a;for(a=a.child;a!==null;){var o=_n(a);if(o!==null)return o;a=a.sibling}return null}var Dn=r.unstable_scheduleCallback,jr=r.unstable_cancelCallback,qi=r.unstable_shouldYield,tl=r.unstable_requestPaint,Zt=r.unstable_now,Hp=r.unstable_getCurrentPriorityLevel,Oi=r.unstable_ImmediatePriority,Ft=r.unstable_UserBlockingPriority,Qi=r.unstable_NormalPriority,ts=r.unstable_LowPriority,nl=r.unstable_IdlePriority,ns=null,Ca=null;function hc(a){if(Ca&&typeof Ca.onCommitFiberRoot=="function")try{Ca.onCommitFiberRoot(ns,a,void 0,(a.current.flags&128)===128)}catch{}}var aa=Math.clz32?Math.clz32:Df,mc=Math.log,gc=Math.LN2;function Df(a){return a>>>=0,a===0?32:31-(mc(a)/gc|0)|0}var rl=64,rs=4194304;function _i(a){switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return a&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return a}}function ia(a,o){var f=a.pendingLanes;if(f===0)return 0;var h=0,x=a.suspendedLanes,w=a.pingedLanes,k=f&268435455;if(k!==0){var W=k&~x;W!==0?h=_i(W):(w&=k,w!==0&&(h=_i(w)))}else k=f&~x,k!==0?h=_i(k):w!==0&&(h=_i(w));if(h===0)return 0;if(o!==0&&o!==h&&!(o&x)&&(x=h&-h,w=o&-o,x>=w||x===16&&(w&4194240)!==0))return o;if(h&4&&(h|=f&16),o=a.entangledLanes,o!==0)for(a=a.entanglements,o&=h;0<o;)f=31-aa(o),x=1<<f,h|=a[f],o&=~x;return h}function as(a,o){switch(a){case 1:case 2:case 4:return o+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function is(a,o){for(var f=a.suspendedLanes,h=a.pingedLanes,x=a.expirationTimes,w=a.pendingLanes;0<w;){var k=31-aa(w),W=1<<k,J=x[k];J===-1?(!(W&f)||W&h)&&(x[k]=as(W,o)):J<=o&&(a.expiredLanes|=W),w&=~W}}function os(a){return a=a.pendingLanes&-1073741825,a!==0?a:a&1073741824?1073741824:0}function al(){var a=rl;return rl<<=1,!(rl&4194240)&&(rl=64),a}function il(a){for(var o=[],f=0;31>f;f++)o.push(a);return o}function Co(a,o,f){a.pendingLanes|=o,o!==536870912&&(a.suspendedLanes=0,a.pingedLanes=0),a=a.eventTimes,o=31-aa(o),a[o]=f}function Up(a,o){var f=a.pendingLanes&~o;a.pendingLanes=o,a.suspendedLanes=0,a.pingedLanes=0,a.expiredLanes&=o,a.mutableReadLanes&=o,a.entangledLanes&=o,o=a.entanglements;var h=a.eventTimes;for(a=a.expirationTimes;0<f;){var x=31-aa(f),w=1<<x;o[x]=0,h[x]=-1,a[x]=-1,f&=~w}}function Ki(a,o){var f=a.entangledLanes|=o;for(a=a.entanglements;f;){var h=31-aa(f),x=1<<h;x&o|a[h]&o&&(a[h]|=o),f&=~x}}var rn=0;function ol(a){return a&=-a,1<a?4<a?a&268435455?16:536870912:4:1}var qs,sl,Jt,ul,ll,At=!1,Qs=[],Xn=null,xa=null,oa=null,ss=new Map,Kn=new Map,dn=[],jf="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 Ea(a,o){switch(a){case"focusin":case"focusout":Xn=null;break;case"dragenter":case"dragleave":xa=null;break;case"mouseover":case"mouseout":oa=null;break;case"pointerover":case"pointerout":ss.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":Kn.delete(o.pointerId)}}function Sr(a,o,f,h,x,w){return a===null||a.nativeEvent!==w?(a={blockedOn:o,domEventName:f,eventSystemFlags:h,nativeEvent:w,targetContainers:[x]},o!==null&&(o=Dc(o),o!==null&&sl(o)),a):(a.eventSystemFlags|=h,o=a.targetContainers,x!==null&&o.indexOf(x)===-1&&o.push(x),a)}function eo(a,o,f,h,x){switch(o){case"focusin":return Xn=Sr(Xn,a,o,f,h,x),!0;case"dragenter":return xa=Sr(xa,a,o,f,h,x),!0;case"mouseover":return oa=Sr(oa,a,o,f,h,x),!0;case"pointerover":var w=x.pointerId;return ss.set(w,Sr(ss.get(w)||null,a,o,f,h,x)),!0;case"gotpointercapture":return w=x.pointerId,Kn.set(w,Sr(Kn.get(w)||null,a,o,f,h,x)),!0}return!1}function kf(a){var o=oi(a.target);if(o!==null){var f=_t(o);if(f!==null){if(o=f.tag,o===13){if(o=Gt(f),o!==null){a.blockedOn=o,ll(a.priority,function(){Jt(f)});return}}else if(o===3&&f.stateNode.current.memoizedState.isDehydrated){a.blockedOn=f.tag===3?f.stateNode.containerInfo:null;return}}}a.blockedOn=null}function xo(a){if(a.blockedOn!==null)return!1;for(var o=a.targetContainers;0<o.length;){var f=fl(a.domEventName,a.eventSystemFlags,o[0],a.nativeEvent);if(f===null){f=a.nativeEvent;var h=new f.constructor(f.type,f);$r=h,f.target.dispatchEvent(h),$r=null}else return o=Dc(f),o!==null&&sl(o),a.blockedOn=f,!1;o.shift()}return!0}function us(a,o,f){xo(a)&&f.delete(o)}function Mf(){At=!1,Xn!==null&&xo(Xn)&&(Xn=null),xa!==null&&xo(xa)&&(xa=null),oa!==null&&xo(oa)&&(oa=null),ss.forEach(us),Kn.forEach(us)}function ri(a,o){a.blockedOn===o&&(a.blockedOn=null,At||(At=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Mf)))}function ls(a){function o(x){return ri(x,a)}if(0<Qs.length){ri(Qs[0],a);for(var f=1;f<Qs.length;f++){var h=Qs[f];h.blockedOn===a&&(h.blockedOn=null)}}for(Xn!==null&&ri(Xn,a),xa!==null&&ri(xa,a),oa!==null&&ri(oa,a),ss.forEach(o),Kn.forEach(o),f=0;f<dn.length;f++)h=dn[f],h.blockedOn===a&&(h.blockedOn=null);for(;0<dn.length&&(f=dn[0],f.blockedOn===null);)kf(f),f.blockedOn===null&&dn.shift()}var cs=U.ReactCurrentBatchConfig,ai=!0;function cl(a,o,f,h){var x=rn,w=cs.transition;cs.transition=null;try{rn=1,ds(a,o,f,h)}finally{rn=x,cs.transition=w}}function fs(a,o,f,h){var x=rn,w=cs.transition;cs.transition=null;try{rn=4,ds(a,o,f,h)}finally{rn=x,cs.transition=w}}function ds(a,o,f,h){if(ai){var x=fl(a,o,f,h);if(x===null)Gf(a,o,h,Ks,f),Ea(a,h);else if(eo(x,a,o,f,h))h.stopPropagation();else if(Ea(a,h),o&4&&-1<jf.indexOf(a)){for(;x!==null;){var w=Dc(x);if(w!==null&&qs(w),w=fl(a,o,f,h),w===null&&Gf(a,o,h,Ks,f),w===x)break;x=w}x!==null&&h.stopPropagation()}else Gf(a,o,h,null,f)}}var Ks=null;function fl(a,o,f,h){if(Ks=null,a=mn(h),a=oi(a),a!==null)if(o=_t(a),o===null)a=null;else if(f=o.tag,f===13){if(a=Gt(o),a!==null)return a;a=null}else if(f===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;a=null}else o!==a&&(a=null);return Ks=a,null}function yc(a){switch(a){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Hp()){case Oi:return 1;case Ft:return 4;case Qi:case ts:return 16;case nl:return 536870912;default:return 16}default:return 16}}var Di=null,D=null,Y=null;function ce(){if(Y)return Y;var a,o=D,f=o.length,h,x="value"in Di?Di.value:Di.textContent,w=x.length;for(a=0;a<f&&o[a]===x[a];a++);var k=f-a;for(h=1;h<=k&&o[f-h]===x[w-h];h++);return Y=x.slice(a,1<h?1-h:void 0)}function ge(a){var o=a.keyCode;return"charCode"in a?(a=a.charCode,a===0&&o===13&&(a=13)):a=o,a===10&&(a=13),32<=a||a===13?a:0}function Be(){return!0}function gt(){return!1}function We(a){function o(f,h,x,w,k){this._reactName=f,this._targetInst=x,this.type=h,this.nativeEvent=w,this.target=k,this.currentTarget=null;for(var W in a)a.hasOwnProperty(W)&&(f=a[W],this[W]=f?f(w):w[W]);return this.isDefaultPrevented=(w.defaultPrevented!=null?w.defaultPrevented:w.returnValue===!1)?Be:gt,this.isPropagationStopped=gt,this}return F(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var f=this.nativeEvent;f&&(f.preventDefault?f.preventDefault():typeof f.returnValue!="unknown"&&(f.returnValue=!1),this.isDefaultPrevented=Be)},stopPropagation:function(){var f=this.nativeEvent;f&&(f.stopPropagation?f.stopPropagation():typeof f.cancelBubble!="unknown"&&(f.cancelBubble=!0),this.isPropagationStopped=Be)},persist:function(){},isPersistent:Be}),o}var ht={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Pt=We(ht),qt=F({},ht,{view:0,detail:0}),Tn=We(qt),gn,In,jn,Ut=F({},qt,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Yp,button:0,buttons:0,relatedTarget:function(a){return a.relatedTarget===void 0?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){return"movementX"in a?a.movementX:(a!==jn&&(jn&&a.type==="mousemove"?(gn=a.screenX-jn.screenX,In=a.screenY-jn.screenY):In=gn=0,jn=a),gn)},movementY:function(a){return"movementY"in a?a.movementY:In}}),Eo=We(Ut),dl=F({},Ut,{dataTransfer:0}),bc=We(dl),Gp=F({},qt,{relatedTarget:0}),ji=We(Gp),Cc=F({},ht,{animationName:0,elapsedTime:0,pseudoElement:0}),xc=We(Cc),$p=F({},ht,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),L0=We($p),F0=F({},ht,{data:0}),Wp=We(F0),Xp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Nm={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"},Om={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _m(a){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(a):(a=Om[a])?!!o[a]:!1}function Yp(){return _m}var So=F({},qt,{key:function(a){if(a.key){var o=Xp[a.key]||a.key;if(o!=="Unidentified")return o}return a.type==="keypress"?(a=ge(a),a===13?"Enter":String.fromCharCode(a)):a.type==="keydown"||a.type==="keyup"?Nm[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Yp,charCode:function(a){return a.type==="keypress"?ge(a):0},keyCode:function(a){return a.type==="keydown"||a.type==="keyup"?a.keyCode:0},which:function(a){return a.type==="keypress"?ge(a):a.type==="keydown"||a.type==="keyup"?a.keyCode:0}}),P0=We(So),Zp=F({},Ut,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Lf=We(Zp),Jp=F({},qt,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Yp}),V0=We(Jp),Ff=F({},ht,{propertyName:0,elapsedTime:0,pseudoElement:0}),Dm=We(Ff),Sa=F({},Ut,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),wo=We(Sa),fr=[9,13,27,32],ki=y&&"CompositionEvent"in window,eu=null;y&&"documentMode"in document&&(eu=document.documentMode);var Pf=y&&"TextEvent"in window&&!eu,jm=y&&(!ki||eu&&8<eu&&11>=eu),pl=" ",km=!1;function Mm(a,o){switch(a){case"keyup":return fr.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vf(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var vl=!1;function B0(a,o){switch(a){case"compositionend":return Vf(o);case"keypress":return o.which!==32?null:(km=!0,pl);case"textInput":return a=o.data,a===pl&&km?null:a;default:return null}}function z0(a,o){if(vl)return a==="compositionend"||!ki&&Mm(a,o)?(a=ce(),Y=D=Di=null,vl=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return jm&&o.locale!=="ko"?null:o.data;default:return null}}var Lm={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 Fm(a){var o=a&&a.nodeName&&a.nodeName.toLowerCase();return o==="input"?!!Lm[a.type]:o==="textarea"}function Pm(a,o,f,h){ni(h),o=Nc(o,"onChange"),0<o.length&&(f=new Pt("onChange","change",null,f,h),a.push({event:f,listeners:o}))}var Ec=null,hl=null;function ml(a){Uf(a,0)}function gl(a){var o=bl(a);if(Ne(o))return a}function Vm(a,o){if(a==="change")return o}var qp=!1;if(y){var Qp;if(y){var Kp="oninput"in document;if(!Kp){var Bm=document.createElement("div");Bm.setAttribute("oninput","return;"),Kp=typeof Bm.oninput=="function"}Qp=Kp}else Qp=!1;qp=Qp&&(!document.documentMode||9<document.documentMode)}function zm(){Ec&&(Ec.detachEvent("onpropertychange",Hm),hl=Ec=null)}function Hm(a){if(a.propertyName==="value"&&gl(hl)){var o=[];Pm(o,hl,a,mn(a)),es(ml,o)}}function H0(a,o,f){a==="focusin"?(zm(),Ec=o,hl=f,Ec.attachEvent("onpropertychange",Hm)):a==="focusout"&&zm()}function U0(a){if(a==="selectionchange"||a==="keyup"||a==="keydown")return gl(hl)}function G0(a,o){if(a==="click")return gl(o)}function Um(a,o){if(a==="input"||a==="change")return gl(o)}function $0(a,o){return a===o&&(a!==0||1/a===1/o)||a!==a&&o!==o}var ii=typeof Object.is=="function"?Object.is:$0;function Sc(a,o){if(ii(a,o))return!0;if(typeof a!="object"||a===null||typeof o!="object"||o===null)return!1;var f=Object.keys(a),h=Object.keys(o);if(f.length!==h.length)return!1;for(h=0;h<f.length;h++){var x=f[h];if(!g.call(o,x)||!ii(a[x],o[x]))return!1}return!0}function Gm(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function $m(a,o){var f=Gm(a);a=0;for(var h;f;){if(f.nodeType===3){if(h=a+f.textContent.length,a<=o&&h>=o)return{node:f,offset:o-a};a=h}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=Gm(f)}}function Wm(a,o){return a&&o?a===o?!0:a&&a.nodeType===3?!1:o&&o.nodeType===3?Wm(a,o.parentNode):"contains"in a?a.contains(o):a.compareDocumentPosition?!!(a.compareDocumentPosition(o)&16):!1:!1}function Bf(){for(var a=window,o=ft();o instanceof a.HTMLIFrameElement;){try{var f=typeof o.contentWindow.location.href=="string"}catch{f=!1}if(f)a=o.contentWindow;else break;o=ft(a.document)}return o}function Ro(a){var o=a&&a.nodeName&&a.nodeName.toLowerCase();return o&&(o==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||o==="textarea"||a.contentEditable==="true")}function zf(a){var o=Bf(),f=a.focusedElem,h=a.selectionRange;if(o!==f&&f&&f.ownerDocument&&Wm(f.ownerDocument.documentElement,f)){if(h!==null&&Ro(f)){if(o=h.start,a=h.end,a===void 0&&(a=o),"selectionStart"in f)f.selectionStart=o,f.selectionEnd=Math.min(a,f.value.length);else if(a=(o=f.ownerDocument||document)&&o.defaultView||window,a.getSelection){a=a.getSelection();var x=f.textContent.length,w=Math.min(h.start,x);h=h.end===void 0?w:Math.min(h.end,x),!a.extend&&w>h&&(x=h,h=w,w=x),x=$m(f,w);var k=$m(f,h);x&&k&&(a.rangeCount!==1||a.anchorNode!==x.node||a.anchorOffset!==x.offset||a.focusNode!==k.node||a.focusOffset!==k.offset)&&(o=o.createRange(),o.setStart(x.node,x.offset),a.removeAllRanges(),w>h?(a.addRange(o),a.extend(k.node,k.offset)):(o.setEnd(k.node,k.offset),a.addRange(o)))}}for(o=[],a=f;a=a.parentNode;)a.nodeType===1&&o.push({element:a,left:a.scrollLeft,top:a.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<o.length;f++)a=o[f],a.element.scrollLeft=a.left,a.element.scrollTop=a.top}}var Xm=y&&"documentMode"in document&&11>=document.documentMode,Mi=null,ev=null,wc=null,tv=!1;function Ym(a,o,f){var h=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;tv||Mi==null||Mi!==ft(h)||(h=Mi,"selectionStart"in h&&Ro(h)?h={start:h.selectionStart,end:h.selectionEnd}:(h=(h.ownerDocument&&h.ownerDocument.defaultView||window).getSelection(),h={anchorNode:h.anchorNode,anchorOffset:h.anchorOffset,focusNode:h.focusNode,focusOffset:h.focusOffset}),wc&&Sc(wc,h)||(wc=h,h=Nc(ev,"onSelect"),0<h.length&&(o=new Pt("onSelect","select",null,o,f),a.push({event:o,listeners:h}),o.target=Mi)))}function Hf(a,o){var f={};return f[a.toLowerCase()]=o.toLowerCase(),f["Webkit"+a]="webkit"+o,f["Moz"+a]="moz"+o,f}var tu={animationend:Hf("Animation","AnimationEnd"),animationiteration:Hf("Animation","AnimationIteration"),animationstart:Hf("Animation","AnimationStart"),transitionend:Hf("Transition","TransitionEnd")},nv={},rv={};y&&(rv=document.createElement("div").style,"AnimationEvent"in window||(delete tu.animationend.animation,delete tu.animationiteration.animation,delete tu.animationstart.animation),"TransitionEvent"in window||delete tu.transitionend.transition);function wr(a){if(nv[a])return nv[a];if(!tu[a])return a;var o=tu[a],f;for(f in o)if(o.hasOwnProperty(f)&&f in rv)return nv[a]=o[f];return a}var av=wr("animationend"),Zm=wr("animationiteration"),Jm=wr("animationstart"),qm=wr("transitionend"),Qm=new Map,Km="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function To(a,o){Qm.set(a,o),d(o,[a])}for(var Rc=0;Rc<Km.length;Rc++){var nu=Km[Rc],W0=nu.toLowerCase(),Tc=nu[0].toUpperCase()+nu.slice(1);To(W0,"on"+Tc)}To(av,"onAnimationEnd"),To(Zm,"onAnimationIteration"),To(Jm,"onAnimationStart"),To("dblclick","onDoubleClick"),To("focusin","onFocus"),To("focusout","onBlur"),To(qm,"onTransitionEnd"),p("onMouseEnter",["mouseout","mouseover"]),p("onMouseLeave",["mouseout","mouseover"]),p("onPointerEnter",["pointerout","pointerover"]),p("onPointerLeave",["pointerout","pointerover"]),d("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),d("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),d("onBeforeInput",["compositionend","keypress","textInput","paste"]),d("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),d("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),d("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ic="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),X0=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ic));function eg(a,o,f){var h=a.type||"unknown-event";a.currentTarget=f,Je(h,o,void 0,a),a.currentTarget=null}function Uf(a,o){o=(o&4)!==0;for(var f=0;f<a.length;f++){var h=a[f],x=h.event;h=h.listeners;e:{var w=void 0;if(o)for(var k=h.length-1;0<=k;k--){var W=h[k],J=W.instance,de=W.currentTarget;if(W=W.listener,J!==w&&x.isPropagationStopped())break e;eg(x,W,de),w=J}else for(k=0;k<h.length;k++){if(W=h[k],J=W.instance,de=W.currentTarget,W=W.listener,J!==w&&x.isPropagationStopped())break e;eg(x,W,de),w=J}}}if(Ji)throw a=Z,Ji=!1,Z=null,a}function An(a,o){var f=o[fv];f===void 0&&(f=o[fv]=new Set);var h=a+"__bubble";f.has(h)||(tg(o,a,2,!1),f.add(h))}function ps(a,o,f){var h=0;o&&(h|=4),tg(f,a,h,o)}var Io="_reactListening"+Math.random().toString(36).slice(2);function yl(a){if(!a[Io]){a[Io]=!0,u.forEach(function(f){f!=="selectionchange"&&(X0.has(f)||ps(f,!1,a),ps(f,!0,a))});var o=a.nodeType===9?a:a.ownerDocument;o===null||o[Io]||(o[Io]=!0,ps("selectionchange",!1,o))}}function tg(a,o,f,h){switch(yc(o)){case 1:var x=cl;break;case 4:x=fs;break;default:x=ds}f=x.bind(null,o,f,a),x=void 0,!Yi||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(x=!0),h?x!==void 0?a.addEventListener(o,f,{capture:!0,passive:x}):a.addEventListener(o,f,!0):x!==void 0?a.addEventListener(o,f,{passive:x}):a.addEventListener(o,f,!1)}function Gf(a,o,f,h,x){var w=h;if(!(o&1)&&!(o&2)&&h!==null)e:for(;;){if(h===null)return;var k=h.tag;if(k===3||k===4){var W=h.stateNode.containerInfo;if(W===x||W.nodeType===8&&W.parentNode===x)break;if(k===4)for(k=h.return;k!==null;){var J=k.tag;if((J===3||J===4)&&(J=k.stateNode.containerInfo,J===x||J.nodeType===8&&J.parentNode===x))return;k=k.return}for(;W!==null;){if(k=oi(W),k===null)return;if(J=k.tag,J===5||J===6){h=w=k;continue e}W=W.parentNode}}h=h.return}es(function(){var de=w,Me=mn(f),Fe=[];e:{var ke=Qm.get(a);if(ke!==void 0){var Ye=Pt,tt=a;switch(a){case"keypress":if(ge(f)===0)break e;case"keydown":case"keyup":Ye=P0;break;case"focusin":tt="focus",Ye=ji;break;case"focusout":tt="blur",Ye=ji;break;case"beforeblur":case"afterblur":Ye=ji;break;case"click":if(f.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Ye=Eo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Ye=bc;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Ye=V0;break;case av:case Zm:case Jm:Ye=xc;break;case qm:Ye=Dm;break;case"scroll":Ye=Tn;break;case"wheel":Ye=wo;break;case"copy":case"cut":case"paste":Ye=L0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ye=Lf}var at=(o&4)!==0,sr=!at&&a==="scroll",ne=at?ke!==null?ke+"Capture":null:ke;at=[];for(var K=de,oe;K!==null;){oe=K;var ze=oe.stateNode;if(oe.tag===5&&ze!==null&&(oe=ze,ne!==null&&(ze=Ba(K,ne),ze!=null&&at.push(Ac(K,ze,oe)))),sr)break;K=K.return}0<at.length&&(ke=new Ye(ke,tt,null,f,Me),Fe.push({event:ke,listeners:at}))}}if(!(o&7)){e:{if(ke=a==="mouseover"||a==="pointerover",Ye=a==="mouseout"||a==="pointerout",ke&&f!==$r&&(tt=f.relatedTarget||f.fromElement)&&(oi(tt)||tt[Ao]))break e;if((Ye||ke)&&(ke=Me.window===Me?Me:(ke=Me.ownerDocument)?ke.defaultView||ke.parentWindow:window,Ye?(tt=f.relatedTarget||f.toElement,Ye=de,tt=tt?oi(tt):null,tt!==null&&(sr=_t(tt),tt!==sr||tt.tag!==5&&tt.tag!==6)&&(tt=null)):(Ye=null,tt=de),Ye!==tt)){if(at=Eo,ze="onMouseLeave",ne="onMouseEnter",K="mouse",(a==="pointerout"||a==="pointerover")&&(at=Lf,ze="onPointerLeave",ne="onPointerEnter",K="pointer"),sr=Ye==null?ke:bl(Ye),oe=tt==null?ke:bl(tt),ke=new at(ze,K+"leave",Ye,f,Me),ke.target=sr,ke.relatedTarget=oe,ze=null,oi(Me)===de&&(at=new at(ne,K+"enter",tt,f,Me),at.target=oe,at.relatedTarget=sr,ze=at),sr=ze,Ye&&tt)t:{for(at=Ye,ne=tt,K=0,oe=at;oe;oe=ru(oe))K++;for(oe=0,ze=ne;ze;ze=ru(ze))oe++;for(;0<K-oe;)at=ru(at),K--;for(;0<oe-K;)ne=ru(ne),oe--;for(;K--;){if(at===ne||ne!==null&&at===ne.alternate)break t;at=ru(at),ne=ru(ne)}at=null}else at=null;Ye!==null&&iv(Fe,ke,Ye,at,!1),tt!==null&&sr!==null&&iv(Fe,sr,tt,at,!0)}}e:{if(ke=de?bl(de):window,Ye=ke.nodeName&&ke.nodeName.toLowerCase(),Ye==="select"||Ye==="input"&&ke.type==="file")var it=Vm;else if(Fm(ke))if(qp)it=Um;else{it=U0;var nt=H0}else(Ye=ke.nodeName)&&Ye.toLowerCase()==="input"&&(ke.type==="checkbox"||ke.type==="radio")&&(it=G0);if(it&&(it=it(a,de))){Pm(Fe,it,f,Me);break e}nt&&nt(a,ke,de),a==="focusout"&&(nt=ke._wrapperState)&&nt.controlled&&ke.type==="number"&&Mn(ke,"number",ke.value)}switch(nt=de?bl(de):window,a){case"focusin":(Fm(nt)||nt.contentEditable==="true")&&(Mi=nt,ev=de,wc=null);break;case"focusout":wc=ev=Mi=null;break;case"mousedown":tv=!0;break;case"contextmenu":case"mouseup":case"dragend":tv=!1,Ym(Fe,f,Me);break;case"selectionchange":if(Xm)break;case"keydown":case"keyup":Ym(Fe,f,Me)}var ut;if(ki)e:{switch(a){case"compositionstart":var Rt="onCompositionStart";break e;case"compositionend":Rt="onCompositionEnd";break e;case"compositionupdate":Rt="onCompositionUpdate";break e}Rt=void 0}else vl?Mm(a,f)&&(Rt="onCompositionEnd"):a==="keydown"&&f.keyCode===229&&(Rt="onCompositionStart");Rt&&(jm&&f.locale!=="ko"&&(vl||Rt!=="onCompositionStart"?Rt==="onCompositionEnd"&&vl&&(ut=ce()):(Di=Me,D="value"in Di?Di.value:Di.textContent,vl=!0)),nt=Nc(de,Rt),0<nt.length&&(Rt=new Wp(Rt,a,null,f,Me),Fe.push({event:Rt,listeners:nt}),ut?Rt.data=ut:(ut=Vf(f),ut!==null&&(Rt.data=ut)))),(ut=Pf?B0(a,f):z0(a,f))&&(de=Nc(de,"onBeforeInput"),0<de.length&&(Me=new Wp("onBeforeInput","beforeinput",null,f,Me),Fe.push({event:Me,listeners:de}),Me.data=ut))}Uf(Fe,o)})}function Ac(a,o,f){return{instance:a,listener:o,currentTarget:f}}function Nc(a,o){for(var f=o+"Capture",h=[];a!==null;){var x=a,w=x.stateNode;x.tag===5&&w!==null&&(x=w,w=Ba(a,f),w!=null&&h.unshift(Ac(a,w,x)),w=Ba(a,o),w!=null&&h.push(Ac(a,w,x))),a=a.return}return h}function ru(a){if(a===null)return null;do a=a.return;while(a&&a.tag!==5);return a||null}function iv(a,o,f,h,x){for(var w=o._reactName,k=[];f!==null&&f!==h;){var W=f,J=W.alternate,de=W.stateNode;if(J!==null&&J===h)break;W.tag===5&&de!==null&&(W=de,x?(J=Ba(f,w),J!=null&&k.unshift(Ac(f,J,W))):x||(J=Ba(f,w),J!=null&&k.push(Ac(f,J,W)))),f=f.return}k.length!==0&&a.push({event:o,listeners:k})}var ov=/\r\n?/g,Y0=/\u0000|\uFFFD/g;function sv(a){return(typeof a=="string"?a:""+a).replace(ov,`
94
- `).replace(Y0,"")}function $f(a,o,f){if(o=sv(o),sv(a)!==o&&f)throw Error(i(425))}function Wf(){}var uv=null,au=null;function Oc(a,o){return a==="textarea"||a==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var iu=typeof setTimeout=="function"?setTimeout:void 0,ng=typeof clearTimeout=="function"?clearTimeout:void 0,lv=typeof Promise=="function"?Promise:void 0,cv=typeof queueMicrotask=="function"?queueMicrotask:typeof lv<"u"?function(a){return lv.resolve(null).then(a).catch(Z0)}:iu;function Z0(a){setTimeout(function(){throw a})}function vs(a,o){var f=o,h=0;do{var x=f.nextSibling;if(a.removeChild(f),x&&x.nodeType===8)if(f=x.data,f==="/$"){if(h===0){a.removeChild(x),ls(o);return}h--}else f!=="$"&&f!=="$?"&&f!=="$!"||h++;f=x}while(f);ls(o)}function Li(a){for(;a!=null;a=a.nextSibling){var o=a.nodeType;if(o===1||o===3)break;if(o===8){if(o=a.data,o==="$"||o==="$!"||o==="$?")break;if(o==="/$")return null}}return a}function _c(a){a=a.previousSibling;for(var o=0;a;){if(a.nodeType===8){var f=a.data;if(f==="$"||f==="$!"||f==="$?"){if(o===0)return a;o--}else f==="/$"&&o++}a=a.previousSibling}return null}var hs=Math.random().toString(36).slice(2),to="__reactFiber$"+hs,ou="__reactProps$"+hs,Ao="__reactContainer$"+hs,fv="__reactEvents$"+hs,J0="__reactListeners$"+hs,dv="__reactHandles$"+hs;function oi(a){var o=a[to];if(o)return o;for(var f=a.parentNode;f;){if(o=f[Ao]||f[to]){if(f=o.alternate,o.child!==null||f!==null&&f.child!==null)for(a=_c(a);a!==null;){if(f=a[to])return f;a=_c(a)}return o}a=f,f=a.parentNode}return null}function Dc(a){return a=a[to]||a[Ao],!a||a.tag!==5&&a.tag!==6&&a.tag!==13&&a.tag!==3?null:a}function bl(a){if(a.tag===5||a.tag===6)return a.stateNode;throw Error(i(33))}function ct(a){return a[ou]||null}var ms=[],Fn=-1;function jt(a){return{current:a}}function un(a){0>Fn||(a.current=ms[Fn],ms[Fn]=null,Fn--)}function pn(a,o){Fn++,ms[Fn]=a.current,a.current=o}var no={},wt=jt(no),er=jt(!1),wa=no;function si(a,o){var f=a.type.contextTypes;if(!f)return no;var h=a.stateNode;if(h&&h.__reactInternalMemoizedUnmaskedChildContext===o)return h.__reactInternalMemoizedMaskedChildContext;var x={},w;for(w in f)x[w]=o[w];return h&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=o,a.__reactInternalMemoizedMaskedChildContext=x),x}function Un(a){return a=a.childContextTypes,a!=null}function ui(){un(er),un(wt)}function gs(a,o,f){if(wt.current!==no)throw Error(i(168));pn(wt,o),pn(er,f)}function jc(a,o,f){var h=a.stateNode;if(o=o.childContextTypes,typeof h.getChildContext!="function")return f;h=h.getChildContext();for(var x in h)if(!(x in o))throw Error(i(108,he(a)||"Unknown",x));return F({},f,h)}function Xf(a){return a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||no,wa=wt.current,pn(wt,a),pn(er,er.current),!0}function rg(a,o,f){var h=a.stateNode;if(!h)throw Error(i(169));f?(a=jc(a,o,wa),h.__reactInternalMemoizedMergedChildContext=a,un(er),un(wt),pn(wt,a)):un(er),pn(er,f)}var Ua=null,Rr=!1,kc=!1;function pv(a){Ua===null?Ua=[a]:Ua.push(a)}function vv(a){Rr=!0,pv(a)}function Ra(){if(!kc&&Ua!==null){kc=!0;var a=0,o=rn;try{var f=Ua;for(rn=1;a<f.length;a++){var h=f[a];do h=h(!0);while(h!==null)}Ua=null,Rr=!1}catch(x){throw Ua!==null&&(Ua=Ua.slice(a+1)),Dn(Oi,Ra),x}finally{rn=o,kc=!1}}return null}var ys=[],Ta=0,su=null,Cl=0,Ia=[],Wr=0,li=null,kr=1,No="";function Ga(a,o){ys[Ta++]=Cl,ys[Ta++]=su,su=a,Cl=o}function hv(a,o,f){Ia[Wr++]=kr,Ia[Wr++]=No,Ia[Wr++]=li,li=a;var h=kr;a=No;var x=32-aa(h)-1;h&=~(1<<x),f+=1;var w=32-aa(o)+x;if(30<w){var k=x-x%5;w=(h&(1<<k)-1).toString(32),h>>=k,x-=k,kr=1<<32-aa(o)+x|f<<x|h,No=w+a}else kr=1<<w|f<<x|h,No=a}function Yf(a){a.return!==null&&(Ga(a,1),hv(a,1,0))}function mv(a){for(;a===su;)su=ys[--Ta],ys[Ta]=null,Cl=ys[--Ta],ys[Ta]=null;for(;a===li;)li=Ia[--Wr],Ia[Wr]=null,No=Ia[--Wr],Ia[Wr]=null,kr=Ia[--Wr],Ia[Wr]=null}var $a=null,Aa=null,Pn=!1,ci=null;function gv(a,o){var f=gi(5,null,null,0);f.elementType="DELETED",f.stateNode=o,f.return=a,o=a.deletions,o===null?(a.deletions=[f],a.flags|=16):o.push(f)}function ag(a,o){switch(a.tag){case 5:var f=a.type;return o=o.nodeType!==1||f.toLowerCase()!==o.nodeName.toLowerCase()?null:o,o!==null?(a.stateNode=o,$a=a,Aa=Li(o.firstChild),!0):!1;case 6:return o=a.pendingProps===""||o.nodeType!==3?null:o,o!==null?(a.stateNode=o,$a=a,Aa=null,!0):!1;case 13:return o=o.nodeType!==8?null:o,o!==null?(f=li!==null?{id:kr,overflow:No}:null,a.memoizedState={dehydrated:o,treeContext:f,retryLane:1073741824},f=gi(18,null,null,0),f.stateNode=o,f.return=a,a.child=f,$a=a,Aa=null,!0):!1;default:return!1}}function Zf(a){return(a.mode&1)!==0&&(a.flags&128)===0}function Jf(a){if(Pn){var o=Aa;if(o){var f=o;if(!ag(a,o)){if(Zf(a))throw Error(i(418));o=Li(f.nextSibling);var h=$a;o&&ag(a,o)?gv(h,f):(a.flags=a.flags&-4097|2,Pn=!1,$a=a)}}else{if(Zf(a))throw Error(i(418));a.flags=a.flags&-4097|2,Pn=!1,$a=a}}}function ig(a){for(a=a.return;a!==null&&a.tag!==5&&a.tag!==3&&a.tag!==13;)a=a.return;$a=a}function qf(a){if(a!==$a)return!1;if(!Pn)return ig(a),Pn=!0,!1;var o;if((o=a.tag!==3)&&!(o=a.tag!==5)&&(o=a.type,o=o!=="head"&&o!=="body"&&!Oc(a.type,a.memoizedProps)),o&&(o=Aa)){if(Zf(a))throw og(),Error(i(418));for(;o;)gv(a,o),o=Li(o.nextSibling)}if(ig(a),a.tag===13){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(i(317));e:{for(a=a.nextSibling,o=0;a;){if(a.nodeType===8){var f=a.data;if(f==="/$"){if(o===0){Aa=Li(a.nextSibling);break e}o--}else f!=="$"&&f!=="$!"&&f!=="$?"||o++}a=a.nextSibling}Aa=null}}else Aa=$a?Li(a.stateNode.nextSibling):null;return!0}function og(){for(var a=Aa;a;)a=Li(a.nextSibling)}function Yn(){Aa=$a=null,Pn=!1}function yv(a){ci===null?ci=[a]:ci.push(a)}var Qf=U.ReactCurrentBatchConfig;function Wa(a,o){if(a&&a.defaultProps){o=F({},o),a=a.defaultProps;for(var f in a)o[f]===void 0&&(o[f]=a[f]);return o}return o}var ro=jt(null),Kf=null,bs=null,bv=null;function Cv(){bv=bs=Kf=null}function Cs(a){var o=ro.current;un(ro),a._currentValue=o}function Tr(a,o,f){for(;a!==null;){var h=a.alternate;if((a.childLanes&o)!==o?(a.childLanes|=o,h!==null&&(h.childLanes|=o)):h!==null&&(h.childLanes&o)!==o&&(h.childLanes|=o),a===f)break;a=a.return}}function Ge(a,o){Kf=a,bv=bs=null,a=a.dependencies,a!==null&&a.firstContext!==null&&(a.lanes&o&&(dr=!0),a.firstContext=null)}function or(a){var o=a._currentValue;if(bv!==a)if(a={context:a,memoizedValue:o,next:null},bs===null){if(Kf===null)throw Error(i(308));bs=a,Kf.dependencies={lanes:0,firstContext:a}}else bs=bs.next=a;return o}var Mr=null;function xv(a){Mr===null?Mr=[a]:Mr.push(a)}function sg(a,o,f,h){var x=o.interleaved;return x===null?(f.next=f,xv(o)):(f.next=x.next,x.next=f),o.interleaved=f,Oo(a,h)}function Oo(a,o){a.lanes|=o;var f=a.alternate;for(f!==null&&(f.lanes|=o),f=a,a=a.return;a!==null;)a.childLanes|=o,f=a.alternate,f!==null&&(f.childLanes|=o),f=a,a=a.return;return f.tag===3?f.stateNode:null}var xs=!1;function Ev(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function gr(a,o){a=a.updateQueue,o.updateQueue===a&&(o.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects})}function _o(a,o){return{eventTime:a,lane:o,tag:0,payload:null,callback:null,next:null}}function Es(a,o,f){var h=a.updateQueue;if(h===null)return null;if(h=h.shared,zt&2){var x=h.pending;return x===null?o.next=o:(o.next=x.next,x.next=o),h.pending=o,Oo(a,f)}return x=h.interleaved,x===null?(o.next=o,xv(h)):(o.next=x.next,x.next=o),h.interleaved=o,Oo(a,f)}function ed(a,o,f){if(o=o.updateQueue,o!==null&&(o=o.shared,(f&4194240)!==0)){var h=o.lanes;h&=a.pendingLanes,f|=h,o.lanes=f,Ki(a,f)}}function Sv(a,o){var f=a.updateQueue,h=a.alternate;if(h!==null&&(h=h.updateQueue,f===h)){var x=null,w=null;if(f=f.firstBaseUpdate,f!==null){do{var k={eventTime:f.eventTime,lane:f.lane,tag:f.tag,payload:f.payload,callback:f.callback,next:null};w===null?x=w=k:w=w.next=k,f=f.next}while(f!==null);w===null?x=w=o:w=w.next=o}else x=w=o;f={baseState:h.baseState,firstBaseUpdate:x,lastBaseUpdate:w,shared:h.shared,effects:h.effects},a.updateQueue=f;return}a=f.lastBaseUpdate,a===null?f.firstBaseUpdate=o:a.next=o,f.lastBaseUpdate=o}function Ss(a,o,f,h){var x=a.updateQueue;xs=!1;var w=x.firstBaseUpdate,k=x.lastBaseUpdate,W=x.shared.pending;if(W!==null){x.shared.pending=null;var J=W,de=J.next;J.next=null,k===null?w=de:k.next=de,k=J;var Me=a.alternate;Me!==null&&(Me=Me.updateQueue,W=Me.lastBaseUpdate,W!==k&&(W===null?Me.firstBaseUpdate=de:W.next=de,Me.lastBaseUpdate=J))}if(w!==null){var Fe=x.baseState;k=0,Me=de=J=null,W=w;do{var ke=W.lane,Ye=W.eventTime;if((h&ke)===ke){Me!==null&&(Me=Me.next={eventTime:Ye,lane:0,tag:W.tag,payload:W.payload,callback:W.callback,next:null});e:{var tt=a,at=W;switch(ke=o,Ye=f,at.tag){case 1:if(tt=at.payload,typeof tt=="function"){Fe=tt.call(Ye,Fe,ke);break e}Fe=tt;break e;case 3:tt.flags=tt.flags&-65537|128;case 0:if(tt=at.payload,ke=typeof tt=="function"?tt.call(Ye,Fe,ke):tt,ke==null)break e;Fe=F({},Fe,ke);break e;case 2:xs=!0}}W.callback!==null&&W.lane!==0&&(a.flags|=64,ke=x.effects,ke===null?x.effects=[W]:ke.push(W))}else Ye={eventTime:Ye,lane:ke,tag:W.tag,payload:W.payload,callback:W.callback,next:null},Me===null?(de=Me=Ye,J=Fe):Me=Me.next=Ye,k|=ke;if(W=W.next,W===null){if(W=x.shared.pending,W===null)break;ke=W,W=ke.next,ke.next=null,x.lastBaseUpdate=ke,x.shared.pending=null}}while(!0);if(Me===null&&(J=Fe),x.baseState=J,x.firstBaseUpdate=de,x.lastBaseUpdate=Me,o=x.shared.interleaved,o!==null){x=o;do k|=x.lane,x=x.next;while(x!==o)}else w===null&&(x.shared.lanes=0);Mo|=k,a.lanes=k,a.memoizedState=Fe}}function uu(a,o,f){if(a=o.effects,o.effects=null,a!==null)for(o=0;o<a.length;o++){var h=a[o],x=h.callback;if(x!==null){if(h.callback=null,h=f,typeof x!="function")throw Error(i(191,x));x.call(h)}}}var ug=new n.Component().refs;function wv(a,o,f,h){o=a.memoizedState,f=f(h,o),f=f==null?o:F({},o,f),a.memoizedState=f,a.lanes===0&&(a.updateQueue.baseState=f)}var td={isMounted:function(a){return(a=a._reactInternals)?_t(a)===a:!1},enqueueSetState:function(a,o,f){a=a._reactInternals;var h=Jr(),x=pr(a),w=_o(h,x);w.payload=o,f!=null&&(w.callback=f),o=Es(a,w,x),o!==null&&(qr(o,a,x,h),ed(o,a,x))},enqueueReplaceState:function(a,o,f){a=a._reactInternals;var h=Jr(),x=pr(a),w=_o(h,x);w.tag=1,w.payload=o,f!=null&&(w.callback=f),o=Es(a,w,x),o!==null&&(qr(o,a,x,h),ed(o,a,x))},enqueueForceUpdate:function(a,o){a=a._reactInternals;var f=Jr(),h=pr(a),x=_o(f,h);x.tag=2,o!=null&&(x.callback=o),o=Es(a,x,h),o!==null&&(qr(o,a,h,f),ed(o,a,h))}};function lg(a,o,f,h,x,w,k){return a=a.stateNode,typeof a.shouldComponentUpdate=="function"?a.shouldComponentUpdate(h,w,k):o.prototype&&o.prototype.isPureReactComponent?!Sc(f,h)||!Sc(x,w):!0}function cg(a,o,f){var h=!1,x=no,w=o.contextType;return typeof w=="object"&&w!==null?w=or(w):(x=Un(o)?wa:wt.current,h=o.contextTypes,w=(h=h!=null)?si(a,x):no),o=new o(f,w),a.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=td,a.stateNode=o,o._reactInternals=a,h&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=x,a.__reactInternalMemoizedMaskedChildContext=w),o}function fg(a,o,f,h){a=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(f,h),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(f,h),o.state!==a&&td.enqueueReplaceState(o,o.state,null)}function nd(a,o,f,h){var x=a.stateNode;x.props=f,x.state=a.memoizedState,x.refs=ug,Ev(a);var w=o.contextType;typeof w=="object"&&w!==null?x.context=or(w):(w=Un(o)?wa:wt.current,x.context=si(a,w)),x.state=a.memoizedState,w=o.getDerivedStateFromProps,typeof w=="function"&&(wv(a,o,w,f),x.state=a.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof x.getSnapshotBeforeUpdate=="function"||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(o=x.state,typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount(),o!==x.state&&td.enqueueReplaceState(x,x.state,null),Ss(a,f,x,h),x.state=a.memoizedState),typeof x.componentDidMount=="function"&&(a.flags|=4194308)}function xl(a,o,f){if(a=f.ref,a!==null&&typeof a!="function"&&typeof a!="object"){if(f._owner){if(f=f._owner,f){if(f.tag!==1)throw Error(i(309));var h=f.stateNode}if(!h)throw Error(i(147,a));var x=h,w=""+a;return o!==null&&o.ref!==null&&typeof o.ref=="function"&&o.ref._stringRef===w?o.ref:(o=function(k){var W=x.refs;W===ug&&(W=x.refs={}),k===null?delete W[w]:W[w]=k},o._stringRef=w,o)}if(typeof a!="string")throw Error(i(284));if(!f._owner)throw Error(i(290,a))}return a}function rd(a,o){throw a=Object.prototype.toString.call(o),Error(i(31,a==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":a))}function dg(a){var o=a._init;return o(a._payload)}function pg(a){function o(ne,K){if(a){var oe=ne.deletions;oe===null?(ne.deletions=[K],ne.flags|=16):oe.push(K)}}function f(ne,K){if(!a)return null;for(;K!==null;)o(ne,K),K=K.sibling;return null}function h(ne,K){for(ne=new Map;K!==null;)K.key!==null?ne.set(K.key,K):ne.set(K.index,K),K=K.sibling;return ne}function x(ne,K){return ne=_s(ne,K),ne.index=0,ne.sibling=null,ne}function w(ne,K,oe){return ne.index=oe,a?(oe=ne.alternate,oe!==null?(oe=oe.index,oe<K?(ne.flags|=2,K):oe):(ne.flags|=2,K)):(ne.flags|=1048576,K)}function k(ne){return a&&ne.alternate===null&&(ne.flags|=2),ne}function W(ne,K,oe,ze){return K===null||K.tag!==6?(K=Kc(oe,ne.mode,ze),K.return=ne,K):(K=x(K,oe),K.return=ne,K)}function J(ne,K,oe,ze){var it=oe.type;return it===X?Me(ne,K,oe.props.children,ze,oe.key):K!==null&&(K.elementType===it||typeof it=="object"&&it!==null&&it.$$typeof===Oe&&dg(it)===K.type)?(ze=x(K,oe.props),ze.ref=xl(ne,K,oe),ze.return=ne,ze):(ze=Md(oe.type,oe.key,oe.props,null,ne.mode,ze),ze.ref=xl(ne,K,oe),ze.return=ne,ze)}function de(ne,K,oe,ze){return K===null||K.tag!==4||K.stateNode.containerInfo!==oe.containerInfo||K.stateNode.implementation!==oe.implementation?(K=Iu(oe,ne.mode,ze),K.return=ne,K):(K=x(K,oe.children||[]),K.return=ne,K)}function Me(ne,K,oe,ze,it){return K===null||K.tag!==7?(K=Tu(oe,ne.mode,ze,it),K.return=ne,K):(K=x(K,oe),K.return=ne,K)}function Fe(ne,K,oe){if(typeof K=="string"&&K!==""||typeof K=="number")return K=Kc(""+K,ne.mode,oe),K.return=ne,K;if(typeof K=="object"&&K!==null){switch(K.$$typeof){case z:return oe=Md(K.type,K.key,K.props,null,ne.mode,oe),oe.ref=xl(ne,null,K),oe.return=ne,oe;case G:return K=Iu(K,ne.mode,oe),K.return=ne,K;case Oe:var ze=K._init;return Fe(ne,ze(K._payload),oe)}if(Mt(K)||Le(K))return K=Tu(K,ne.mode,oe,null),K.return=ne,K;rd(ne,K)}return null}function ke(ne,K,oe,ze){var it=K!==null?K.key:null;if(typeof oe=="string"&&oe!==""||typeof oe=="number")return it!==null?null:W(ne,K,""+oe,ze);if(typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case z:return oe.key===it?J(ne,K,oe,ze):null;case G:return oe.key===it?de(ne,K,oe,ze):null;case Oe:return it=oe._init,ke(ne,K,it(oe._payload),ze)}if(Mt(oe)||Le(oe))return it!==null?null:Me(ne,K,oe,ze,null);rd(ne,oe)}return null}function Ye(ne,K,oe,ze,it){if(typeof ze=="string"&&ze!==""||typeof ze=="number")return ne=ne.get(oe)||null,W(K,ne,""+ze,it);if(typeof ze=="object"&&ze!==null){switch(ze.$$typeof){case z:return ne=ne.get(ze.key===null?oe:ze.key)||null,J(K,ne,ze,it);case G:return ne=ne.get(ze.key===null?oe:ze.key)||null,de(K,ne,ze,it);case Oe:var nt=ze._init;return Ye(ne,K,oe,nt(ze._payload),it)}if(Mt(ze)||Le(ze))return ne=ne.get(oe)||null,Me(K,ne,ze,it,null);rd(K,ze)}return null}function tt(ne,K,oe,ze){for(var it=null,nt=null,ut=K,Rt=K=0,Nr=null;ut!==null&&Rt<oe.length;Rt++){ut.index>Rt?(Nr=ut,ut=null):Nr=ut.sibling;var tn=ke(ne,ut,oe[Rt],ze);if(tn===null){ut===null&&(ut=Nr);break}a&&ut&&tn.alternate===null&&o(ne,ut),K=w(tn,K,Rt),nt===null?it=tn:nt.sibling=tn,nt=tn,ut=Nr}if(Rt===oe.length)return f(ne,ut),Pn&&Ga(ne,Rt),it;if(ut===null){for(;Rt<oe.length;Rt++)ut=Fe(ne,oe[Rt],ze),ut!==null&&(K=w(ut,K,Rt),nt===null?it=ut:nt.sibling=ut,nt=ut);return Pn&&Ga(ne,Rt),it}for(ut=h(ne,ut);Rt<oe.length;Rt++)Nr=Ye(ut,ne,Rt,oe[Rt],ze),Nr!==null&&(a&&Nr.alternate!==null&&ut.delete(Nr.key===null?Rt:Nr.key),K=w(Nr,K,Rt),nt===null?it=Nr:nt.sibling=Nr,nt=Nr);return a&&ut.forEach(function(Ds){return o(ne,Ds)}),Pn&&Ga(ne,Rt),it}function at(ne,K,oe,ze){var it=Le(oe);if(typeof it!="function")throw Error(i(150));if(oe=it.call(oe),oe==null)throw Error(i(151));for(var nt=it=null,ut=K,Rt=K=0,Nr=null,tn=oe.next();ut!==null&&!tn.done;Rt++,tn=oe.next()){ut.index>Rt?(Nr=ut,ut=null):Nr=ut.sibling;var Ds=ke(ne,ut,tn.value,ze);if(Ds===null){ut===null&&(ut=Nr);break}a&&ut&&Ds.alternate===null&&o(ne,ut),K=w(Ds,K,Rt),nt===null?it=Ds:nt.sibling=Ds,nt=Ds,ut=Nr}if(tn.done)return f(ne,ut),Pn&&Ga(ne,Rt),it;if(ut===null){for(;!tn.done;Rt++,tn=oe.next())tn=Fe(ne,tn.value,ze),tn!==null&&(K=w(tn,K,Rt),nt===null?it=tn:nt.sibling=tn,nt=tn);return Pn&&Ga(ne,Rt),it}for(ut=h(ne,ut);!tn.done;Rt++,tn=oe.next())tn=Ye(ut,ne,Rt,tn.value,ze),tn!==null&&(a&&tn.alternate!==null&&ut.delete(tn.key===null?Rt:tn.key),K=w(tn,K,Rt),nt===null?it=tn:nt.sibling=tn,nt=tn);return a&&ut.forEach(function(mC){return o(ne,mC)}),Pn&&Ga(ne,Rt),it}function sr(ne,K,oe,ze){if(typeof oe=="object"&&oe!==null&&oe.type===X&&oe.key===null&&(oe=oe.props.children),typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case z:e:{for(var it=oe.key,nt=K;nt!==null;){if(nt.key===it){if(it=oe.type,it===X){if(nt.tag===7){f(ne,nt.sibling),K=x(nt,oe.props.children),K.return=ne,ne=K;break e}}else if(nt.elementType===it||typeof it=="object"&&it!==null&&it.$$typeof===Oe&&dg(it)===nt.type){f(ne,nt.sibling),K=x(nt,oe.props),K.ref=xl(ne,nt,oe),K.return=ne,ne=K;break e}f(ne,nt);break}else o(ne,nt);nt=nt.sibling}oe.type===X?(K=Tu(oe.props.children,ne.mode,ze,oe.key),K.return=ne,ne=K):(ze=Md(oe.type,oe.key,oe.props,null,ne.mode,ze),ze.ref=xl(ne,K,oe),ze.return=ne,ne=ze)}return k(ne);case G:e:{for(nt=oe.key;K!==null;){if(K.key===nt)if(K.tag===4&&K.stateNode.containerInfo===oe.containerInfo&&K.stateNode.implementation===oe.implementation){f(ne,K.sibling),K=x(K,oe.children||[]),K.return=ne,ne=K;break e}else{f(ne,K);break}else o(ne,K);K=K.sibling}K=Iu(oe,ne.mode,ze),K.return=ne,ne=K}return k(ne);case Oe:return nt=oe._init,sr(ne,K,nt(oe._payload),ze)}if(Mt(oe))return tt(ne,K,oe,ze);if(Le(oe))return at(ne,K,oe,ze);rd(ne,oe)}return typeof oe=="string"&&oe!==""||typeof oe=="number"?(oe=""+oe,K!==null&&K.tag===6?(f(ne,K.sibling),K=x(K,oe),K.return=ne,ne=K):(f(ne,K),K=Kc(oe,ne.mode,ze),K.return=ne,ne=K),k(ne)):f(ne,K)}return sr}var El=pg(!0),vg=pg(!1),Mc={},Fi=jt(Mc),Lc=jt(Mc),Sl=jt(Mc);function lu(a){if(a===Mc)throw Error(i(174));return a}function Rv(a,o){switch(pn(Sl,o),pn(Lc,a),pn(Fi,Mc),a=o.nodeType,a){case 9:case 11:o=(o=o.documentElement)?o.namespaceURI:en(null,"");break;default:a=a===8?o.parentNode:o,o=a.namespaceURI||null,a=a.tagName,o=en(o,a)}un(Fi),pn(Fi,o)}function ws(){un(Fi),un(Lc),un(Sl)}function mt(a){lu(Sl.current);var o=lu(Fi.current),f=en(o,a.type);o!==f&&(pn(Lc,a),pn(Fi,f))}function Vt(a){Lc.current===a&&(un(Fi),un(Lc))}var yt=jt(0);function Zn(a){for(var o=a;o!==null;){if(o.tag===13){var f=o.memoizedState;if(f!==null&&(f=f.dehydrated,f===null||f.data==="$?"||f.data==="$!"))return o}else if(o.tag===19&&o.memoizedProps.revealOrder!==void 0){if(o.flags&128)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===a)break;for(;o.sibling===null;){if(o.return===null||o.return===a)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var fi=[];function ad(){for(var a=0;a<fi.length;a++)fi[a]._workInProgressVersionPrimary=null;fi.length=0}var id=U.ReactCurrentDispatcher,Tv=U.ReactCurrentBatchConfig,cu=0,Vn=null,Se=null,$t=null,bt=!1,ao=!1,Xa=0,fu=0;function Bn(){throw Error(i(321))}function du(a,o){if(o===null)return!1;for(var f=0;f<o.length&&f<a.length;f++)if(!ii(a[f],o[f]))return!1;return!0}function Rs(a,o,f,h,x,w){if(cu=w,Vn=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,id.current=a===null||a.memoizedState===null?Q0:K0,a=f(h,x),ao){w=0;do{if(ao=!1,Xa=0,25<=w)throw Error(i(301));w+=1,$t=Se=null,o.updateQueue=null,id.current=Av,a=f(h,x)}while(ao)}if(id.current=xd,o=Se!==null&&Se.next!==null,cu=0,$t=Se=Vn=null,bt=!1,o)throw Error(i(300));return a}function pu(){var a=Xa!==0;return Xa=0,a}function di(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return $t===null?Vn.memoizedState=$t=a:$t=$t.next=a,$t}function Na(){if(Se===null){var a=Vn.alternate;a=a!==null?a.memoizedState:null}else a=Se.next;var o=$t===null?Vn.memoizedState:$t.next;if(o!==null)$t=o,Se=a;else{if(a===null)throw Error(i(310));Se=a,a={memoizedState:Se.memoizedState,baseState:Se.baseState,baseQueue:Se.baseQueue,queue:Se.queue,next:null},$t===null?Vn.memoizedState=$t=a:$t=$t.next=a}return $t}function vu(a,o){return typeof o=="function"?o(a):o}function Fc(a){var o=Na(),f=o.queue;if(f===null)throw Error(i(311));f.lastRenderedReducer=a;var h=Se,x=h.baseQueue,w=f.pending;if(w!==null){if(x!==null){var k=x.next;x.next=w.next,w.next=k}h.baseQueue=x=w,f.pending=null}if(x!==null){w=x.next,h=h.baseState;var W=k=null,J=null,de=w;do{var Me=de.lane;if((cu&Me)===Me)J!==null&&(J=J.next={lane:0,action:de.action,hasEagerState:de.hasEagerState,eagerState:de.eagerState,next:null}),h=de.hasEagerState?de.eagerState:a(h,de.action);else{var Fe={lane:Me,action:de.action,hasEagerState:de.hasEagerState,eagerState:de.eagerState,next:null};J===null?(W=J=Fe,k=h):J=J.next=Fe,Vn.lanes|=Me,Mo|=Me}de=de.next}while(de!==null&&de!==w);J===null?k=h:J.next=W,ii(h,o.memoizedState)||(dr=!0),o.memoizedState=h,o.baseState=k,o.baseQueue=J,f.lastRenderedState=h}if(a=f.interleaved,a!==null){x=a;do w=x.lane,Vn.lanes|=w,Mo|=w,x=x.next;while(x!==a)}else x===null&&(f.lanes=0);return[o.memoizedState,f.dispatch]}function Pc(a){var o=Na(),f=o.queue;if(f===null)throw Error(i(311));f.lastRenderedReducer=a;var h=f.dispatch,x=f.pending,w=o.memoizedState;if(x!==null){f.pending=null;var k=x=x.next;do w=a(w,k.action),k=k.next;while(k!==x);ii(w,o.memoizedState)||(dr=!0),o.memoizedState=w,o.baseQueue===null&&(o.baseState=w),f.lastRenderedState=w}return[w,h]}function od(){}function sd(a,o){var f=Vn,h=Na(),x=o(),w=!ii(h.memoizedState,x);if(w&&(h.memoizedState=x,dr=!0),h=h.queue,Vc(cd.bind(null,f,h,a),[a]),h.getSnapshot!==o||w||$t!==null&&$t.memoizedState.tag&1){if(f.flags|=2048,hu(9,ld.bind(null,f,h,x,o),void 0,null),Jn===null)throw Error(i(349));cu&30||ud(f,o,x)}return x}function ud(a,o,f){a.flags|=16384,a={getSnapshot:o,value:f},o=Vn.updateQueue,o===null?(o={lastEffect:null,stores:null},Vn.updateQueue=o,o.stores=[a]):(f=o.stores,f===null?o.stores=[a]:f.push(a))}function ld(a,o,f,h){o.value=f,o.getSnapshot=h,fd(o)&&dd(a)}function cd(a,o,f){return f(function(){fd(o)&&dd(a)})}function fd(a){var o=a.getSnapshot;a=a.value;try{var f=o();return!ii(a,f)}catch{return!0}}function dd(a){var o=Oo(a,1);o!==null&&qr(o,a,1,-1)}function pd(a){var o=di();return typeof a=="function"&&(a=a()),o.memoizedState=o.baseState=a,a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:vu,lastRenderedState:a},o.queue=a,a=a.dispatch=Cd.bind(null,Vn,a),[o.memoizedState,a]}function hu(a,o,f,h){return a={tag:a,create:o,destroy:f,deps:h,next:null},o=Vn.updateQueue,o===null?(o={lastEffect:null,stores:null},Vn.updateQueue=o,o.lastEffect=a.next=a):(f=o.lastEffect,f===null?o.lastEffect=a.next=a:(h=f.next,f.next=a,a.next=h,o.lastEffect=a)),a}function vd(){return Na().memoizedState}function mu(a,o,f,h){var x=di();Vn.flags|=a,x.memoizedState=hu(1|o,f,void 0,h===void 0?null:h)}function Do(a,o,f,h){var x=Na();h=h===void 0?null:h;var w=void 0;if(Se!==null){var k=Se.memoizedState;if(w=k.destroy,h!==null&&du(h,k.deps)){x.memoizedState=hu(o,f,w,h);return}}Vn.flags|=a,x.memoizedState=hu(1|o,f,w,h)}function hd(a,o){return mu(8390656,8,a,o)}function Vc(a,o){return Do(2048,8,a,o)}function md(a,o){return Do(4,2,a,o)}function gd(a,o){return Do(4,4,a,o)}function Iv(a,o){if(typeof o=="function")return a=a(),o(a),function(){o(null)};if(o!=null)return a=a(),o.current=a,function(){o.current=null}}function wl(a,o,f){return f=f!=null?f.concat([a]):null,Do(4,4,Iv.bind(null,o,a),f)}function yd(){}function Rl(a,o){var f=Na();o=o===void 0?null:o;var h=f.memoizedState;return h!==null&&o!==null&&du(o,h[1])?h[0]:(f.memoizedState=[a,o],a)}function Ts(a,o){var f=Na();o=o===void 0?null:o;var h=f.memoizedState;return h!==null&&o!==null&&du(o,h[1])?h[0]:(a=a(),f.memoizedState=[a,o],a)}function Oa(a,o,f){return cu&21?(ii(f,o)||(f=al(),Vn.lanes|=f,Mo|=f,a.baseState=!0),o):(a.baseState&&(a.baseState=!1,dr=!0),a.memoizedState=f)}function q0(a,o){var f=rn;rn=f!==0&&4>f?f:4,a(!0);var h=Tv.transition;Tv.transition={};try{a(!1),o()}finally{rn=f,Tv.transition=h}}function Nn(){return Na().memoizedState}function bd(a,o,f){var h=pr(a);if(f={lane:h,action:f,hasEagerState:!1,eagerState:null,next:null},Tl(a))Bc(o,f);else if(f=sg(a,o,f,h),f!==null){var x=Jr();qr(f,a,h,x),hg(f,o,h)}}function Cd(a,o,f){var h=pr(a),x={lane:h,action:f,hasEagerState:!1,eagerState:null,next:null};if(Tl(a))Bc(o,x);else{var w=a.alternate;if(a.lanes===0&&(w===null||w.lanes===0)&&(w=o.lastRenderedReducer,w!==null))try{var k=o.lastRenderedState,W=w(k,f);if(x.hasEagerState=!0,x.eagerState=W,ii(W,k)){var J=o.interleaved;J===null?(x.next=x,xv(o)):(x.next=J.next,J.next=x),o.interleaved=x;return}}catch{}finally{}f=sg(a,o,x,h),f!==null&&(x=Jr(),qr(f,a,h,x),hg(f,o,h))}}function Tl(a){var o=a.alternate;return a===Vn||o!==null&&o===Vn}function Bc(a,o){ao=bt=!0;var f=a.pending;f===null?o.next=o:(o.next=f.next,f.next=o),a.pending=o}function hg(a,o,f){if(f&4194240){var h=o.lanes;h&=a.pendingLanes,f|=h,o.lanes=f,Ki(a,f)}}var xd={readContext:or,useCallback:Bn,useContext:Bn,useEffect:Bn,useImperativeHandle:Bn,useInsertionEffect:Bn,useLayoutEffect:Bn,useMemo:Bn,useReducer:Bn,useRef:Bn,useState:Bn,useDebugValue:Bn,useDeferredValue:Bn,useTransition:Bn,useMutableSource:Bn,useSyncExternalStore:Bn,useId:Bn,unstable_isNewReconciler:!1},Q0={readContext:or,useCallback:function(a,o){return di().memoizedState=[a,o===void 0?null:o],a},useContext:or,useEffect:hd,useImperativeHandle:function(a,o,f){return f=f!=null?f.concat([a]):null,mu(4194308,4,Iv.bind(null,o,a),f)},useLayoutEffect:function(a,o){return mu(4194308,4,a,o)},useInsertionEffect:function(a,o){return mu(4,2,a,o)},useMemo:function(a,o){var f=di();return o=o===void 0?null:o,a=a(),f.memoizedState=[a,o],a},useReducer:function(a,o,f){var h=di();return o=f!==void 0?f(o):o,h.memoizedState=h.baseState=o,a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:o},h.queue=a,a=a.dispatch=bd.bind(null,Vn,a),[h.memoizedState,a]},useRef:function(a){var o=di();return a={current:a},o.memoizedState=a},useState:pd,useDebugValue:yd,useDeferredValue:function(a){return di().memoizedState=a},useTransition:function(){var a=pd(!1),o=a[0];return a=q0.bind(null,a[1]),di().memoizedState=a,[o,a]},useMutableSource:function(){},useSyncExternalStore:function(a,o,f){var h=Vn,x=di();if(Pn){if(f===void 0)throw Error(i(407));f=f()}else{if(f=o(),Jn===null)throw Error(i(349));cu&30||ud(h,o,f)}x.memoizedState=f;var w={value:f,getSnapshot:o};return x.queue=w,hd(cd.bind(null,h,w,a),[a]),h.flags|=2048,hu(9,ld.bind(null,h,w,f,o),void 0,null),f},useId:function(){var a=di(),o=Jn.identifierPrefix;if(Pn){var f=No,h=kr;f=(h&~(1<<32-aa(h)-1)).toString(32)+f,o=":"+o+"R"+f,f=Xa++,0<f&&(o+="H"+f.toString(32)),o+=":"}else f=fu++,o=":"+o+"r"+f.toString(32)+":";return a.memoizedState=o},unstable_isNewReconciler:!1},K0={readContext:or,useCallback:Rl,useContext:or,useEffect:Vc,useImperativeHandle:wl,useInsertionEffect:md,useLayoutEffect:gd,useMemo:Ts,useReducer:Fc,useRef:vd,useState:function(){return Fc(vu)},useDebugValue:yd,useDeferredValue:function(a){var o=Na();return Oa(o,Se.memoizedState,a)},useTransition:function(){var a=Fc(vu)[0],o=Na().memoizedState;return[a,o]},useMutableSource:od,useSyncExternalStore:sd,useId:Nn,unstable_isNewReconciler:!1},Av={readContext:or,useCallback:Rl,useContext:or,useEffect:Vc,useImperativeHandle:wl,useInsertionEffect:md,useLayoutEffect:gd,useMemo:Ts,useReducer:Pc,useRef:vd,useState:function(){return Pc(vu)},useDebugValue:yd,useDeferredValue:function(a){var o=Na();return Se===null?o.memoizedState=a:Oa(o,Se.memoizedState,a)},useTransition:function(){var a=Pc(vu)[0],o=Na().memoizedState;return[a,o]},useMutableSource:od,useSyncExternalStore:sd,useId:Nn,unstable_isNewReconciler:!1};function Il(a,o){try{var f="",h=o;do f+=De(h),h=h.return;while(h);var x=f}catch(w){x=`
95
- Error generating stack: `+w.message+`
96
- `+w.stack}return{value:a,source:o,stack:x,digest:null}}function zc(a,o,f){return{value:a,source:null,stack:f??null,digest:o??null}}function Ed(a,o){try{console.error(o.value)}catch(f){setTimeout(function(){throw f})}}var eC=typeof WeakMap=="function"?WeakMap:Map;function mg(a,o,f){f=_o(-1,f),f.tag=3,f.payload={element:null};var h=o.value;return f.callback=function(){Nd||(Nd=!0,xu=h),Ed(a,o)},f}function Hc(a,o,f){f=_o(-1,f),f.tag=3;var h=a.type.getDerivedStateFromError;if(typeof h=="function"){var x=o.value;f.payload=function(){return h(x)},f.callback=function(){Ed(a,o)}}var w=a.stateNode;return w!==null&&typeof w.componentDidCatch=="function"&&(f.callback=function(){Ed(a,o),typeof h!="function"&&(so===null?so=new Set([this]):so.add(this));var k=o.stack;this.componentDidCatch(o.value,{componentStack:k!==null?k:""})}),f}function gg(a,o,f){var h=a.pingCache;if(h===null){h=a.pingCache=new eC;var x=new Set;h.set(o,x)}else x=h.get(o),x===void 0&&(x=new Set,h.set(o,x));x.has(f)||(x.add(f),a=sC.bind(null,a,o,f),o.then(a,a))}function Nv(a){do{var o;if((o=a.tag===13)&&(o=a.memoizedState,o=o!==null?o.dehydrated!==null:!0),o)return a;a=a.return}while(a!==null);return null}function Ov(a,o,f,h,x){return a.mode&1?(a.flags|=65536,a.lanes=x,a):(a===o?a.flags|=65536:(a.flags|=128,f.flags|=131072,f.flags&=-52805,f.tag===1&&(f.alternate===null?f.tag=17:(o=_o(-1,1),o.tag=2,Es(f,o,1))),f.lanes|=1),a)}var tC=U.ReactCurrentOwner,dr=!1;function yr(a,o,f,h){o.child=a===null?vg(o,null,f,h):El(o,a.child,f,h)}function Is(a,o,f,h,x){f=f.render;var w=o.ref;return Ge(o,x),h=Rs(a,o,f,h,w,x),f=pu(),a!==null&&!dr?(o.updateQueue=a.updateQueue,o.flags&=-2053,a.lanes&=~x,Lr(a,o,x)):(Pn&&f&&Yf(o),o.flags|=1,yr(a,o,h,x),o.child)}function Sd(a,o,f,h,x){if(a===null){var w=f.type;return typeof w=="function"&&!Zv(w)&&w.defaultProps===void 0&&f.compare===null&&f.defaultProps===void 0?(o.tag=15,o.type=w,_a(a,o,w,h,x)):(a=Md(f.type,null,h,o,o.mode,x),a.ref=o.ref,a.return=o,o.child=a)}if(w=a.child,!(a.lanes&x)){var k=w.memoizedProps;if(f=f.compare,f=f!==null?f:Sc,f(k,h)&&a.ref===o.ref)return Lr(a,o,x)}return o.flags|=1,a=_s(w,h),a.ref=o.ref,a.return=o,o.child=a}function _a(a,o,f,h,x){if(a!==null){var w=a.memoizedProps;if(Sc(w,h)&&a.ref===o.ref)if(dr=!1,o.pendingProps=h=w,(a.lanes&x)!==0)a.flags&131072&&(dr=!0);else return o.lanes=a.lanes,Lr(a,o,x)}return Al(a,o,f,h,x)}function gu(a,o,f){var h=o.pendingProps,x=h.children,w=a!==null?a.memoizedState:null;if(h.mode==="hidden")if(!(o.mode&1))o.memoizedState={baseLanes:0,cachePool:null,transitions:null},pn(kl,Ya),Ya|=f;else{if(!(f&1073741824))return a=w!==null?w.baseLanes|f:f,o.lanes=o.childLanes=1073741824,o.memoizedState={baseLanes:a,cachePool:null,transitions:null},o.updateQueue=null,pn(kl,Ya),Ya|=a,null;o.memoizedState={baseLanes:0,cachePool:null,transitions:null},h=w!==null?w.baseLanes:f,pn(kl,Ya),Ya|=h}else w!==null?(h=w.baseLanes|f,o.memoizedState=null):h=f,pn(kl,Ya),Ya|=h;return yr(a,o,x,f),o.child}function kt(a,o){var f=o.ref;(a===null&&f!==null||a!==null&&a.ref!==f)&&(o.flags|=512,o.flags|=2097152)}function Al(a,o,f,h,x){var w=Un(f)?wa:wt.current;return w=si(o,w),Ge(o,x),f=Rs(a,o,f,h,w,x),h=pu(),a!==null&&!dr?(o.updateQueue=a.updateQueue,o.flags&=-2053,a.lanes&=~x,Lr(a,o,x)):(Pn&&h&&Yf(o),o.flags|=1,yr(a,o,f,x),o.child)}function _v(a,o,f,h,x){if(Un(f)){var w=!0;Xf(o)}else w=!1;if(Ge(o,x),o.stateNode===null)Xr(a,o),cg(o,f,h),nd(o,f,h,x),h=!0;else if(a===null){var k=o.stateNode,W=o.memoizedProps;k.props=W;var J=k.context,de=f.contextType;typeof de=="object"&&de!==null?de=or(de):(de=Un(f)?wa:wt.current,de=si(o,de));var Me=f.getDerivedStateFromProps,Fe=typeof Me=="function"||typeof k.getSnapshotBeforeUpdate=="function";Fe||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(W!==h||J!==de)&&fg(o,k,h,de),xs=!1;var ke=o.memoizedState;k.state=ke,Ss(o,h,k,x),J=o.memoizedState,W!==h||ke!==J||er.current||xs?(typeof Me=="function"&&(wv(o,f,Me,h),J=o.memoizedState),(W=xs||lg(o,f,W,h,ke,J,de))?(Fe||typeof k.UNSAFE_componentWillMount!="function"&&typeof k.componentWillMount!="function"||(typeof k.componentWillMount=="function"&&k.componentWillMount(),typeof k.UNSAFE_componentWillMount=="function"&&k.UNSAFE_componentWillMount()),typeof k.componentDidMount=="function"&&(o.flags|=4194308)):(typeof k.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=h,o.memoizedState=J),k.props=h,k.state=J,k.context=de,h=W):(typeof k.componentDidMount=="function"&&(o.flags|=4194308),h=!1)}else{k=o.stateNode,gr(a,o),W=o.memoizedProps,de=o.type===o.elementType?W:Wa(o.type,W),k.props=de,Fe=o.pendingProps,ke=k.context,J=f.contextType,typeof J=="object"&&J!==null?J=or(J):(J=Un(f)?wa:wt.current,J=si(o,J));var Ye=f.getDerivedStateFromProps;(Me=typeof Ye=="function"||typeof k.getSnapshotBeforeUpdate=="function")||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(W!==Fe||ke!==J)&&fg(o,k,h,J),xs=!1,ke=o.memoizedState,k.state=ke,Ss(o,h,k,x);var tt=o.memoizedState;W!==Fe||ke!==tt||er.current||xs?(typeof Ye=="function"&&(wv(o,f,Ye,h),tt=o.memoizedState),(de=xs||lg(o,f,de,h,ke,tt,J)||!1)?(Me||typeof k.UNSAFE_componentWillUpdate!="function"&&typeof k.componentWillUpdate!="function"||(typeof k.componentWillUpdate=="function"&&k.componentWillUpdate(h,tt,J),typeof k.UNSAFE_componentWillUpdate=="function"&&k.UNSAFE_componentWillUpdate(h,tt,J)),typeof k.componentDidUpdate=="function"&&(o.flags|=4),typeof k.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof k.componentDidUpdate!="function"||W===a.memoizedProps&&ke===a.memoizedState||(o.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||W===a.memoizedProps&&ke===a.memoizedState||(o.flags|=1024),o.memoizedProps=h,o.memoizedState=tt),k.props=h,k.state=tt,k.context=J,h=de):(typeof k.componentDidUpdate!="function"||W===a.memoizedProps&&ke===a.memoizedState||(o.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||W===a.memoizedProps&&ke===a.memoizedState||(o.flags|=1024),h=!1)}return yg(a,o,f,h,w,x)}function yg(a,o,f,h,x,w){kt(a,o);var k=(o.flags&128)!==0;if(!h&&!k)return x&&rg(o,f,!1),Lr(a,o,w);h=o.stateNode,tC.current=o;var W=k&&typeof f.getDerivedStateFromError!="function"?null:h.render();return o.flags|=1,a!==null&&k?(o.child=El(o,a.child,null,w),o.child=El(o,null,W,w)):yr(a,o,W,w),o.memoizedState=h.state,x&&rg(o,f,!0),o.child}function bg(a){var o=a.stateNode;o.pendingContext?gs(a,o.pendingContext,o.pendingContext!==o.context):o.context&&gs(a,o.context,!1),Rv(a,o.containerInfo)}function wd(a,o,f,h,x){return Yn(),yv(x),o.flags|=256,yr(a,o,f,h),o.child}var yu={dehydrated:null,treeContext:null,retryLane:0};function Dv(a){return{baseLanes:a,cachePool:null,transitions:null}}function jv(a,o,f){var h=o.pendingProps,x=yt.current,w=!1,k=(o.flags&128)!==0,W;if((W=k)||(W=a!==null&&a.memoizedState===null?!1:(x&2)!==0),W?(w=!0,o.flags&=-129):(a===null||a.memoizedState!==null)&&(x|=1),pn(yt,x&1),a===null)return Jf(o),a=o.memoizedState,a!==null&&(a=a.dehydrated,a!==null)?(o.mode&1?a.data==="$!"?o.lanes=8:o.lanes=1073741824:o.lanes=1,null):(k=h.children,a=h.fallback,w?(h=o.mode,w=o.child,k={mode:"hidden",children:k},!(h&1)&&w!==null?(w.childLanes=0,w.pendingProps=k):w=Qc(k,h,0,null),a=Tu(a,h,f,null),w.return=o,a.return=o,w.sibling=a,o.child=w,o.child.memoizedState=Dv(f),o.memoizedState=yu,a):kv(o,k));if(x=a.memoizedState,x!==null&&(W=x.dehydrated,W!==null))return nC(a,o,k,h,W,x,f);if(w){w=h.fallback,k=o.mode,x=a.child,W=x.sibling;var J={mode:"hidden",children:h.children};return!(k&1)&&o.child!==x?(h=o.child,h.childLanes=0,h.pendingProps=J,o.deletions=null):(h=_s(x,J),h.subtreeFlags=x.subtreeFlags&14680064),W!==null?w=_s(W,w):(w=Tu(w,k,f,null),w.flags|=2),w.return=o,h.return=o,h.sibling=w,o.child=h,h=w,w=o.child,k=a.child.memoizedState,k=k===null?Dv(f):{baseLanes:k.baseLanes|f,cachePool:null,transitions:k.transitions},w.memoizedState=k,w.childLanes=a.childLanes&~f,o.memoizedState=yu,h}return w=a.child,a=w.sibling,h=_s(w,{mode:"visible",children:h.children}),!(o.mode&1)&&(h.lanes=f),h.return=o,h.sibling=null,a!==null&&(f=o.deletions,f===null?(o.deletions=[a],o.flags|=16):f.push(a)),o.child=h,o.memoizedState=null,h}function kv(a,o){return o=Qc({mode:"visible",children:o},a.mode,0,null),o.return=a,a.child=o}function Nl(a,o,f,h){return h!==null&&yv(h),El(o,a.child,null,f),a=kv(o,o.pendingProps.children),a.flags|=2,o.memoizedState=null,a}function nC(a,o,f,h,x,w,k){if(f)return o.flags&256?(o.flags&=-257,h=zc(Error(i(422))),Nl(a,o,k,h)):o.memoizedState!==null?(o.child=a.child,o.flags|=128,null):(w=h.fallback,x=o.mode,h=Qc({mode:"visible",children:h.children},x,0,null),w=Tu(w,x,k,null),w.flags|=2,h.return=o,w.return=o,h.sibling=w,o.child=h,o.mode&1&&El(o,a.child,null,k),o.child.memoizedState=Dv(k),o.memoizedState=yu,w);if(!(o.mode&1))return Nl(a,o,k,null);if(x.data==="$!"){if(h=x.nextSibling&&x.nextSibling.dataset,h)var W=h.dgst;return h=W,w=Error(i(419)),h=zc(w,h,void 0),Nl(a,o,k,h)}if(W=(k&a.childLanes)!==0,dr||W){if(h=Jn,h!==null){switch(k&-k){case 4:x=2;break;case 16:x=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:x=32;break;case 536870912:x=268435456;break;default:x=0}x=x&(h.suspendedLanes|k)?0:x,x!==0&&x!==w.retryLane&&(w.retryLane=x,Oo(a,x),qr(h,a,x,-1))}return Wv(),h=zc(Error(i(421))),Nl(a,o,k,h)}return x.data==="$?"?(o.flags|=128,o.child=a.child,o=uC.bind(null,a),x._reactRetry=o,null):(a=w.treeContext,Aa=Li(x.nextSibling),$a=o,Pn=!0,ci=null,a!==null&&(Ia[Wr++]=kr,Ia[Wr++]=No,Ia[Wr++]=li,kr=a.id,No=a.overflow,li=o),o=kv(o,h.children),o.flags|=4096,o)}function Mv(a,o,f){a.lanes|=o;var h=a.alternate;h!==null&&(h.lanes|=o),Tr(a.return,o,f)}function Rd(a,o,f,h,x){var w=a.memoizedState;w===null?a.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:h,tail:f,tailMode:x}:(w.isBackwards=o,w.rendering=null,w.renderingStartTime=0,w.last=h,w.tail=f,w.tailMode=x)}function Lv(a,o,f){var h=o.pendingProps,x=h.revealOrder,w=h.tail;if(yr(a,o,h.children,f),h=yt.current,h&2)h=h&1|2,o.flags|=128;else{if(a!==null&&a.flags&128)e:for(a=o.child;a!==null;){if(a.tag===13)a.memoizedState!==null&&Mv(a,f,o);else if(a.tag===19)Mv(a,f,o);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===o)break e;for(;a.sibling===null;){if(a.return===null||a.return===o)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}h&=1}if(pn(yt,h),!(o.mode&1))o.memoizedState=null;else switch(x){case"forwards":for(f=o.child,x=null;f!==null;)a=f.alternate,a!==null&&Zn(a)===null&&(x=f),f=f.sibling;f=x,f===null?(x=o.child,o.child=null):(x=f.sibling,f.sibling=null),Rd(o,!1,x,f,w);break;case"backwards":for(f=null,x=o.child,o.child=null;x!==null;){if(a=x.alternate,a!==null&&Zn(a)===null){o.child=x;break}a=x.sibling,x.sibling=f,f=x,x=a}Rd(o,!0,f,null,w);break;case"together":Rd(o,!1,null,null,void 0);break;default:o.memoizedState=null}return o.child}function Xr(a,o){!(o.mode&1)&&a!==null&&(a.alternate=null,o.alternate=null,o.flags|=2)}function Lr(a,o,f){if(a!==null&&(o.dependencies=a.dependencies),Mo|=o.lanes,!(f&o.childLanes))return null;if(a!==null&&o.child!==a.child)throw Error(i(153));if(o.child!==null){for(a=o.child,f=_s(a,a.pendingProps),o.child=f,f.return=o;a.sibling!==null;)a=a.sibling,f=f.sibling=_s(a,a.pendingProps),f.return=o;f.sibling=null}return o.child}function jo(a,o,f){switch(o.tag){case 3:bg(o),Yn();break;case 5:mt(o);break;case 1:Un(o.type)&&Xf(o);break;case 4:Rv(o,o.stateNode.containerInfo);break;case 10:var h=o.type._context,x=o.memoizedProps.value;pn(ro,h._currentValue),h._currentValue=x;break;case 13:if(h=o.memoizedState,h!==null)return h.dehydrated!==null?(pn(yt,yt.current&1),o.flags|=128,null):f&o.child.childLanes?jv(a,o,f):(pn(yt,yt.current&1),a=Lr(a,o,f),a!==null?a.sibling:null);pn(yt,yt.current&1);break;case 19:if(h=(f&o.childLanes)!==0,a.flags&128){if(h)return Lv(a,o,f);o.flags|=128}if(x=o.memoizedState,x!==null&&(x.rendering=null,x.tail=null,x.lastEffect=null),pn(yt,yt.current),h)break;return null;case 22:case 23:return o.lanes=0,gu(a,o,f)}return Lr(a,o,f)}var Uc,bu,pi,br;Uc=function(a,o){for(var f=o.child;f!==null;){if(f.tag===5||f.tag===6)a.appendChild(f.stateNode);else if(f.tag!==4&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===o)break;for(;f.sibling===null;){if(f.return===null||f.return===o)return;f=f.return}f.sibling.return=f.return,f=f.sibling}},bu=function(){},pi=function(a,o,f,h){var x=a.memoizedProps;if(x!==h){a=o.stateNode,lu(Fi.current);var w=null;switch(f){case"input":x=Bt(a,x),h=Bt(a,h),w=[];break;case"select":x=F({},x,{value:void 0}),h=F({},h,{value:void 0}),w=[];break;case"textarea":x=$n(a,x),h=$n(a,h),w=[];break;default:typeof x.onClick!="function"&&typeof h.onClick=="function"&&(a.onclick=Wf)}ir(f,h);var k;f=null;for(de in x)if(!h.hasOwnProperty(de)&&x.hasOwnProperty(de)&&x[de]!=null)if(de==="style"){var W=x[de];for(k in W)W.hasOwnProperty(k)&&(f||(f={}),f[k]="")}else de!=="dangerouslySetInnerHTML"&&de!=="children"&&de!=="suppressContentEditableWarning"&&de!=="suppressHydrationWarning"&&de!=="autoFocus"&&(l.hasOwnProperty(de)?w||(w=[]):(w=w||[]).push(de,null));for(de in h){var J=h[de];if(W=x!=null?x[de]:void 0,h.hasOwnProperty(de)&&J!==W&&(J!=null||W!=null))if(de==="style")if(W){for(k in W)!W.hasOwnProperty(k)||J&&J.hasOwnProperty(k)||(f||(f={}),f[k]="");for(k in J)J.hasOwnProperty(k)&&W[k]!==J[k]&&(f||(f={}),f[k]=J[k])}else f||(w||(w=[]),w.push(de,f)),f=J;else de==="dangerouslySetInnerHTML"?(J=J?J.__html:void 0,W=W?W.__html:void 0,J!=null&&W!==J&&(w=w||[]).push(de,J)):de==="children"?typeof J!="string"&&typeof J!="number"||(w=w||[]).push(de,""+J):de!=="suppressContentEditableWarning"&&de!=="suppressHydrationWarning"&&(l.hasOwnProperty(de)?(J!=null&&de==="onScroll"&&An("scroll",a),w||W===J||(w=[])):(w=w||[]).push(de,J))}f&&(w=w||[]).push("style",f);var de=w;(o.updateQueue=de)&&(o.flags|=4)}},br=function(a,o,f,h){f!==h&&(o.flags|=4)};function Gc(a,o){if(!Pn)switch(a.tailMode){case"hidden":o=a.tail;for(var f=null;o!==null;)o.alternate!==null&&(f=o),o=o.sibling;f===null?a.tail=null:f.sibling=null;break;case"collapsed":f=a.tail;for(var h=null;f!==null;)f.alternate!==null&&(h=f),f=f.sibling;h===null?o||a.tail===null?a.tail=null:a.tail.sibling=null:h.sibling=null}}function Yr(a){var o=a.alternate!==null&&a.alternate.child===a.child,f=0,h=0;if(o)for(var x=a.child;x!==null;)f|=x.lanes|x.childLanes,h|=x.subtreeFlags&14680064,h|=x.flags&14680064,x.return=a,x=x.sibling;else for(x=a.child;x!==null;)f|=x.lanes|x.childLanes,h|=x.subtreeFlags,h|=x.flags,x.return=a,x=x.sibling;return a.subtreeFlags|=h,a.childLanes=f,o}function rC(a,o,f){var h=o.pendingProps;switch(mv(o),o.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Yr(o),null;case 1:return Un(o.type)&&ui(),Yr(o),null;case 3:return h=o.stateNode,ws(),un(er),un(wt),ad(),h.pendingContext&&(h.context=h.pendingContext,h.pendingContext=null),(a===null||a.child===null)&&(qf(o)?o.flags|=4:a===null||a.memoizedState.isDehydrated&&!(o.flags&256)||(o.flags|=1024,ci!==null&&(qc(ci),ci=null))),bu(a,o),Yr(o),null;case 5:Vt(o);var x=lu(Sl.current);if(f=o.type,a!==null&&o.stateNode!=null)pi(a,o,f,h,x),a.ref!==o.ref&&(o.flags|=512,o.flags|=2097152);else{if(!h){if(o.stateNode===null)throw Error(i(166));return Yr(o),null}if(a=lu(Fi.current),qf(o)){h=o.stateNode,f=o.type;var w=o.memoizedProps;switch(h[to]=o,h[ou]=w,a=(o.mode&1)!==0,f){case"dialog":An("cancel",h),An("close",h);break;case"iframe":case"object":case"embed":An("load",h);break;case"video":case"audio":for(x=0;x<Ic.length;x++)An(Ic[x],h);break;case"source":An("error",h);break;case"img":case"image":case"link":An("error",h),An("load",h);break;case"details":An("toggle",h);break;case"input":lt(h,w),An("invalid",h);break;case"select":h._wrapperState={wasMultiple:!!w.multiple},An("invalid",h);break;case"textarea":rr(h,w),An("invalid",h)}ir(f,w),x=null;for(var k in w)if(w.hasOwnProperty(k)){var W=w[k];k==="children"?typeof W=="string"?h.textContent!==W&&(w.suppressHydrationWarning!==!0&&$f(h.textContent,W,a),x=["children",W]):typeof W=="number"&&h.textContent!==""+W&&(w.suppressHydrationWarning!==!0&&$f(h.textContent,W,a),x=["children",""+W]):l.hasOwnProperty(k)&&W!=null&&k==="onScroll"&&An("scroll",h)}switch(f){case"input":It(h),Hn(h,w,!0);break;case"textarea":It(h),Qn(h);break;case"select":case"option":break;default:typeof w.onClick=="function"&&(h.onclick=Wf)}h=x,o.updateQueue=h,h!==null&&(o.flags|=4)}else{k=x.nodeType===9?x:x.ownerDocument,a==="http://www.w3.org/1999/xhtml"&&(a=St(f)),a==="http://www.w3.org/1999/xhtml"?f==="script"?(a=k.createElement("div"),a.innerHTML="<script><\/script>",a=a.removeChild(a.firstChild)):typeof h.is=="string"?a=k.createElement(f,{is:h.is}):(a=k.createElement(f),f==="select"&&(k=a,h.multiple?k.multiple=!0:h.size&&(k.size=h.size))):a=k.createElementNS(a,f),a[to]=o,a[ou]=h,Uc(a,o,!1,!1),o.stateNode=a;e:{switch(k=Wn(f,h),f){case"dialog":An("cancel",a),An("close",a),x=h;break;case"iframe":case"object":case"embed":An("load",a),x=h;break;case"video":case"audio":for(x=0;x<Ic.length;x++)An(Ic[x],a);x=h;break;case"source":An("error",a),x=h;break;case"img":case"image":case"link":An("error",a),An("load",a),x=h;break;case"details":An("toggle",a),x=h;break;case"input":lt(a,h),x=Bt(a,h),An("invalid",a);break;case"option":x=h;break;case"select":a._wrapperState={wasMultiple:!!h.multiple},x=F({},h,{value:void 0}),An("invalid",a);break;case"textarea":rr(a,h),x=$n(a,h),An("invalid",a);break;default:x=h}ir(f,x),W=x;for(w in W)if(W.hasOwnProperty(w)){var J=W[w];w==="style"?sn(a,J):w==="dangerouslySetInnerHTML"?(J=J?J.__html:void 0,J!=null&&Xi(a,J)):w==="children"?typeof J=="string"?(f!=="textarea"||J!=="")&&Va(a,J):typeof J=="number"&&Va(a,""+J):w!=="suppressContentEditableWarning"&&w!=="suppressHydrationWarning"&&w!=="autoFocus"&&(l.hasOwnProperty(w)?J!=null&&w==="onScroll"&&An("scroll",a):J!=null&&P(a,w,J,k))}switch(f){case"input":It(a),Hn(a,h,!1);break;case"textarea":It(a),Qn(a);break;case"option":h.value!=null&&a.setAttribute("value",""+Te(h.value));break;case"select":a.multiple=!!h.multiple,w=h.value,w!=null?Ln(a,!!h.multiple,w,!1):h.defaultValue!=null&&Ln(a,!!h.multiple,h.defaultValue,!0);break;default:typeof x.onClick=="function"&&(a.onclick=Wf)}switch(f){case"button":case"input":case"select":case"textarea":h=!!h.autoFocus;break e;case"img":h=!0;break e;default:h=!1}}h&&(o.flags|=4)}o.ref!==null&&(o.flags|=512,o.flags|=2097152)}return Yr(o),null;case 6:if(a&&o.stateNode!=null)br(a,o,a.memoizedProps,h);else{if(typeof h!="string"&&o.stateNode===null)throw Error(i(166));if(f=lu(Sl.current),lu(Fi.current),qf(o)){if(h=o.stateNode,f=o.memoizedProps,h[to]=o,(w=h.nodeValue!==f)&&(a=$a,a!==null))switch(a.tag){case 3:$f(h.nodeValue,f,(a.mode&1)!==0);break;case 5:a.memoizedProps.suppressHydrationWarning!==!0&&$f(h.nodeValue,f,(a.mode&1)!==0)}w&&(o.flags|=4)}else h=(f.nodeType===9?f:f.ownerDocument).createTextNode(h),h[to]=o,o.stateNode=h}return Yr(o),null;case 13:if(un(yt),h=o.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(Pn&&Aa!==null&&o.mode&1&&!(o.flags&128))og(),Yn(),o.flags|=98560,w=!1;else if(w=qf(o),h!==null&&h.dehydrated!==null){if(a===null){if(!w)throw Error(i(318));if(w=o.memoizedState,w=w!==null?w.dehydrated:null,!w)throw Error(i(317));w[to]=o}else Yn(),!(o.flags&128)&&(o.memoizedState=null),o.flags|=4;Yr(o),w=!1}else ci!==null&&(qc(ci),ci=null),w=!0;if(!w)return o.flags&65536?o:null}return o.flags&128?(o.lanes=f,o):(h=h!==null,h!==(a!==null&&a.memoizedState!==null)&&h&&(o.child.flags|=8192,o.mode&1&&(a===null||yt.current&1?xr===0&&(xr=3):Wv())),o.updateQueue!==null&&(o.flags|=4),Yr(o),null);case 4:return ws(),bu(a,o),a===null&&yl(o.stateNode.containerInfo),Yr(o),null;case 10:return Cs(o.type._context),Yr(o),null;case 17:return Un(o.type)&&ui(),Yr(o),null;case 19:if(un(yt),w=o.memoizedState,w===null)return Yr(o),null;if(h=(o.flags&128)!==0,k=w.rendering,k===null)if(h)Gc(w,!1);else{if(xr!==0||a!==null&&a.flags&128)for(a=o.child;a!==null;){if(k=Zn(a),k!==null){for(o.flags|=128,Gc(w,!1),h=k.updateQueue,h!==null&&(o.updateQueue=h,o.flags|=4),o.subtreeFlags=0,h=f,f=o.child;f!==null;)w=f,a=h,w.flags&=14680066,k=w.alternate,k===null?(w.childLanes=0,w.lanes=a,w.child=null,w.subtreeFlags=0,w.memoizedProps=null,w.memoizedState=null,w.updateQueue=null,w.dependencies=null,w.stateNode=null):(w.childLanes=k.childLanes,w.lanes=k.lanes,w.child=k.child,w.subtreeFlags=0,w.deletions=null,w.memoizedProps=k.memoizedProps,w.memoizedState=k.memoizedState,w.updateQueue=k.updateQueue,w.type=k.type,a=k.dependencies,w.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),f=f.sibling;return pn(yt,yt.current&1|2),o.child}a=a.sibling}w.tail!==null&&Zt()>Ll&&(o.flags|=128,h=!0,Gc(w,!1),o.lanes=4194304)}else{if(!h)if(a=Zn(k),a!==null){if(o.flags|=128,h=!0,f=a.updateQueue,f!==null&&(o.updateQueue=f,o.flags|=4),Gc(w,!0),w.tail===null&&w.tailMode==="hidden"&&!k.alternate&&!Pn)return Yr(o),null}else 2*Zt()-w.renderingStartTime>Ll&&f!==1073741824&&(o.flags|=128,h=!0,Gc(w,!1),o.lanes=4194304);w.isBackwards?(k.sibling=o.child,o.child=k):(f=w.last,f!==null?f.sibling=k:o.child=k,w.last=k)}return w.tail!==null?(o=w.tail,w.rendering=o,w.tail=o.sibling,w.renderingStartTime=Zt(),o.sibling=null,f=yt.current,pn(yt,h?f&1|2:f&1),o):(Yr(o),null);case 22:case 23:return $v(),h=o.memoizedState!==null,a!==null&&a.memoizedState!==null!==h&&(o.flags|=8192),h&&o.mode&1?Ya&1073741824&&(Yr(o),o.subtreeFlags&6&&(o.flags|=8192)):Yr(o),null;case 24:return null;case 25:return null}throw Error(i(156,o.tag))}function Fv(a,o){switch(mv(o),o.tag){case 1:return Un(o.type)&&ui(),a=o.flags,a&65536?(o.flags=a&-65537|128,o):null;case 3:return ws(),un(er),un(wt),ad(),a=o.flags,a&65536&&!(a&128)?(o.flags=a&-65537|128,o):null;case 5:return Vt(o),null;case 13:if(un(yt),a=o.memoizedState,a!==null&&a.dehydrated!==null){if(o.alternate===null)throw Error(i(340));Yn()}return a=o.flags,a&65536?(o.flags=a&-65537|128,o):null;case 19:return un(yt),null;case 4:return ws(),null;case 10:return Cs(o.type._context),null;case 22:case 23:return $v(),null;case 24:return null;default:return null}}var $c=!1,Cr=!1,Cg=typeof WeakSet=="function"?WeakSet:Set,et=null;function Ol(a,o){var f=a.ref;if(f!==null)if(typeof f=="function")try{f(null)}catch(h){nr(a,o,h)}else f.current=null}function Wc(a,o,f){try{f()}catch(h){nr(a,o,h)}}var xg=!1;function Eg(a,o){if(uv=ai,a=Bf(),Ro(a)){if("selectionStart"in a)var f={start:a.selectionStart,end:a.selectionEnd};else e:{f=(f=a.ownerDocument)&&f.defaultView||window;var h=f.getSelection&&f.getSelection();if(h&&h.rangeCount!==0){f=h.anchorNode;var x=h.anchorOffset,w=h.focusNode;h=h.focusOffset;try{f.nodeType,w.nodeType}catch{f=null;break e}var k=0,W=-1,J=-1,de=0,Me=0,Fe=a,ke=null;t:for(;;){for(var Ye;Fe!==f||x!==0&&Fe.nodeType!==3||(W=k+x),Fe!==w||h!==0&&Fe.nodeType!==3||(J=k+h),Fe.nodeType===3&&(k+=Fe.nodeValue.length),(Ye=Fe.firstChild)!==null;)ke=Fe,Fe=Ye;for(;;){if(Fe===a)break t;if(ke===f&&++de===x&&(W=k),ke===w&&++Me===h&&(J=k),(Ye=Fe.nextSibling)!==null)break;Fe=ke,ke=Fe.parentNode}Fe=Ye}f=W===-1||J===-1?null:{start:W,end:J}}else f=null}f=f||{start:0,end:0}}else f=null;for(au={focusedElem:a,selectionRange:f},ai=!1,et=o;et!==null;)if(o=et,a=o.child,(o.subtreeFlags&1028)!==0&&a!==null)a.return=o,et=a;else for(;et!==null;){o=et;try{var tt=o.alternate;if(o.flags&1024)switch(o.tag){case 0:case 11:case 15:break;case 1:if(tt!==null){var at=tt.memoizedProps,sr=tt.memoizedState,ne=o.stateNode,K=ne.getSnapshotBeforeUpdate(o.elementType===o.type?at:Wa(o.type,at),sr);ne.__reactInternalSnapshotBeforeUpdate=K}break;case 3:var oe=o.stateNode.containerInfo;oe.nodeType===1?oe.textContent="":oe.nodeType===9&&oe.documentElement&&oe.removeChild(oe.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(ze){nr(o,o.return,ze)}if(a=o.sibling,a!==null){a.return=o.return,et=a;break}et=o.return}return tt=xg,xg=!1,tt}function Xc(a,o,f){var h=o.updateQueue;if(h=h!==null?h.lastEffect:null,h!==null){var x=h=h.next;do{if((x.tag&a)===a){var w=x.destroy;x.destroy=void 0,w!==void 0&&Wc(o,f,w)}x=x.next}while(x!==h)}}function Yc(a,o){if(o=o.updateQueue,o=o!==null?o.lastEffect:null,o!==null){var f=o=o.next;do{if((f.tag&a)===a){var h=f.create;f.destroy=h()}f=f.next}while(f!==o)}}function Pv(a){var o=a.ref;if(o!==null){var f=a.stateNode;switch(a.tag){case 5:a=f;break;default:a=f}typeof o=="function"?o(a):o.current=a}}function Vv(a){var o=a.alternate;o!==null&&(a.alternate=null,Vv(o)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(o=a.stateNode,o!==null&&(delete o[to],delete o[ou],delete o[fv],delete o[J0],delete o[dv])),a.stateNode=null,a.return=null,a.dependencies=null,a.memoizedProps=null,a.memoizedState=null,a.pendingProps=null,a.stateNode=null,a.updateQueue=null}function Sg(a){return a.tag===5||a.tag===3||a.tag===4}function Td(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||Sg(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function _l(a,o,f){var h=a.tag;if(h===5||h===6)a=a.stateNode,o?f.nodeType===8?f.parentNode.insertBefore(a,o):f.insertBefore(a,o):(f.nodeType===8?(o=f.parentNode,o.insertBefore(a,f)):(o=f,o.appendChild(a)),f=f._reactRootContainer,f!=null||o.onclick!==null||(o.onclick=Wf));else if(h!==4&&(a=a.child,a!==null))for(_l(a,o,f),a=a.sibling;a!==null;)_l(a,o,f),a=a.sibling}function io(a,o,f){var h=a.tag;if(h===5||h===6)a=a.stateNode,o?f.insertBefore(a,o):f.appendChild(a);else if(h!==4&&(a=a.child,a!==null))for(io(a,o,f),a=a.sibling;a!==null;)io(a,o,f),a=a.sibling}var Gn=null,Ir=!1;function hi(a,o,f){for(f=f.child;f!==null;)Dl(a,o,f),f=f.sibling}function Dl(a,o,f){if(Ca&&typeof Ca.onCommitFiberUnmount=="function")try{Ca.onCommitFiberUnmount(ns,f)}catch{}switch(f.tag){case 5:Cr||Ol(f,o);case 6:var h=Gn,x=Ir;Gn=null,hi(a,o,f),Gn=h,Ir=x,Gn!==null&&(Ir?(a=Gn,f=f.stateNode,a.nodeType===8?a.parentNode.removeChild(f):a.removeChild(f)):Gn.removeChild(f.stateNode));break;case 18:Gn!==null&&(Ir?(a=Gn,f=f.stateNode,a.nodeType===8?vs(a.parentNode,f):a.nodeType===1&&vs(a,f),ls(a)):vs(Gn,f.stateNode));break;case 4:h=Gn,x=Ir,Gn=f.stateNode.containerInfo,Ir=!0,hi(a,o,f),Gn=h,Ir=x;break;case 0:case 11:case 14:case 15:if(!Cr&&(h=f.updateQueue,h!==null&&(h=h.lastEffect,h!==null))){x=h=h.next;do{var w=x,k=w.destroy;w=w.tag,k!==void 0&&(w&2||w&4)&&Wc(f,o,k),x=x.next}while(x!==h)}hi(a,o,f);break;case 1:if(!Cr&&(Ol(f,o),h=f.stateNode,typeof h.componentWillUnmount=="function"))try{h.props=f.memoizedProps,h.state=f.memoizedState,h.componentWillUnmount()}catch(W){nr(f,o,W)}hi(a,o,f);break;case 21:hi(a,o,f);break;case 22:f.mode&1?(Cr=(h=Cr)||f.memoizedState!==null,hi(a,o,f),Cr=h):hi(a,o,f);break;default:hi(a,o,f)}}function ko(a){var o=a.updateQueue;if(o!==null){a.updateQueue=null;var f=a.stateNode;f===null&&(f=a.stateNode=new Cg),o.forEach(function(h){var x=lC.bind(null,a,h);f.has(h)||(f.add(h),h.then(x,x))})}}function Pi(a,o){var f=o.deletions;if(f!==null)for(var h=0;h<f.length;h++){var x=f[h];try{var w=a,k=o,W=k;e:for(;W!==null;){switch(W.tag){case 5:Gn=W.stateNode,Ir=!1;break e;case 3:Gn=W.stateNode.containerInfo,Ir=!0;break e;case 4:Gn=W.stateNode.containerInfo,Ir=!0;break e}W=W.return}if(Gn===null)throw Error(i(160));Dl(w,k,x),Gn=null,Ir=!1;var J=x.alternate;J!==null&&(J.return=null),x.return=null}catch(de){nr(x,o,de)}}if(o.subtreeFlags&12854)for(o=o.child;o!==null;)wg(o,a),o=o.sibling}function wg(a,o){var f=a.alternate,h=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:if(Pi(o,a),oo(a),h&4){try{Xc(3,a,a.return),Yc(3,a)}catch(at){nr(a,a.return,at)}try{Xc(5,a,a.return)}catch(at){nr(a,a.return,at)}}break;case 1:Pi(o,a),oo(a),h&512&&f!==null&&Ol(f,f.return);break;case 5:if(Pi(o,a),oo(a),h&512&&f!==null&&Ol(f,f.return),a.flags&32){var x=a.stateNode;try{Va(x,"")}catch(at){nr(a,a.return,at)}}if(h&4&&(x=a.stateNode,x!=null)){var w=a.memoizedProps,k=f!==null?f.memoizedProps:w,W=a.type,J=a.updateQueue;if(a.updateQueue=null,J!==null)try{W==="input"&&w.type==="radio"&&w.name!=null&&hn(x,w),Wn(W,k);var de=Wn(W,w);for(k=0;k<J.length;k+=2){var Me=J[k],Fe=J[k+1];Me==="style"?sn(x,Fe):Me==="dangerouslySetInnerHTML"?Xi(x,Fe):Me==="children"?Va(x,Fe):P(x,Me,Fe,de)}switch(W){case"input":nn(x,w);break;case"textarea":lr(x,w);break;case"select":var ke=x._wrapperState.wasMultiple;x._wrapperState.wasMultiple=!!w.multiple;var Ye=w.value;Ye!=null?Ln(x,!!w.multiple,Ye,!1):ke!==!!w.multiple&&(w.defaultValue!=null?Ln(x,!!w.multiple,w.defaultValue,!0):Ln(x,!!w.multiple,w.multiple?[]:"",!1))}x[ou]=w}catch(at){nr(a,a.return,at)}}break;case 6:if(Pi(o,a),oo(a),h&4){if(a.stateNode===null)throw Error(i(162));x=a.stateNode,w=a.memoizedProps;try{x.nodeValue=w}catch(at){nr(a,a.return,at)}}break;case 3:if(Pi(o,a),oo(a),h&4&&f!==null&&f.memoizedState.isDehydrated)try{ls(o.containerInfo)}catch(at){nr(a,a.return,at)}break;case 4:Pi(o,a),oo(a);break;case 13:Pi(o,a),oo(a),x=a.child,x.flags&8192&&(w=x.memoizedState!==null,x.stateNode.isHidden=w,!w||x.alternate!==null&&x.alternate.memoizedState!==null||(Hv=Zt())),h&4&&ko(a);break;case 22:if(Me=f!==null&&f.memoizedState!==null,a.mode&1?(Cr=(de=Cr)||Me,Pi(o,a),Cr=de):Pi(o,a),oo(a),h&8192){if(de=a.memoizedState!==null,(a.stateNode.isHidden=de)&&!Me&&a.mode&1)for(et=a,Me=a.child;Me!==null;){for(Fe=et=Me;et!==null;){switch(ke=et,Ye=ke.child,ke.tag){case 0:case 11:case 14:case 15:Xc(4,ke,ke.return);break;case 1:Ol(ke,ke.return);var tt=ke.stateNode;if(typeof tt.componentWillUnmount=="function"){h=ke,f=ke.return;try{o=h,tt.props=o.memoizedProps,tt.state=o.memoizedState,tt.componentWillUnmount()}catch(at){nr(h,f,at)}}break;case 5:Ol(ke,ke.return);break;case 22:if(ke.memoizedState!==null){Bv(Fe);continue}}Ye!==null?(Ye.return=ke,et=Ye):Bv(Fe)}Me=Me.sibling}e:for(Me=null,Fe=a;;){if(Fe.tag===5){if(Me===null){Me=Fe;try{x=Fe.stateNode,de?(w=x.style,typeof w.setProperty=="function"?w.setProperty("display","none","important"):w.display="none"):(W=Fe.stateNode,J=Fe.memoizedProps.style,k=J!=null&&J.hasOwnProperty("display")?J.display:null,W.style.display=Lt("display",k))}catch(at){nr(a,a.return,at)}}}else if(Fe.tag===6){if(Me===null)try{Fe.stateNode.nodeValue=de?"":Fe.memoizedProps}catch(at){nr(a,a.return,at)}}else if((Fe.tag!==22&&Fe.tag!==23||Fe.memoizedState===null||Fe===a)&&Fe.child!==null){Fe.child.return=Fe,Fe=Fe.child;continue}if(Fe===a)break e;for(;Fe.sibling===null;){if(Fe.return===null||Fe.return===a)break e;Me===Fe&&(Me=null),Fe=Fe.return}Me===Fe&&(Me=null),Fe.sibling.return=Fe.return,Fe=Fe.sibling}}break;case 19:Pi(o,a),oo(a),h&4&&ko(a);break;case 21:break;default:Pi(o,a),oo(a)}}function oo(a){var o=a.flags;if(o&2){try{e:{for(var f=a.return;f!==null;){if(Sg(f)){var h=f;break e}f=f.return}throw Error(i(160))}switch(h.tag){case 5:var x=h.stateNode;h.flags&32&&(Va(x,""),h.flags&=-33);var w=Td(a);io(a,w,x);break;case 3:case 4:var k=h.stateNode.containerInfo,W=Td(a);_l(a,W,k);break;default:throw Error(i(161))}}catch(J){nr(a,a.return,J)}a.flags&=-3}o&4096&&(a.flags&=-4097)}function Rg(a,o,f){et=a,jl(a)}function jl(a,o,f){for(var h=(a.mode&1)!==0;et!==null;){var x=et,w=x.child;if(x.tag===22&&h){var k=x.memoizedState!==null||$c;if(!k){var W=x.alternate,J=W!==null&&W.memoizedState!==null||Cr;W=$c;var de=Cr;if($c=k,(Cr=J)&&!de)for(et=x;et!==null;)k=et,J=k.child,k.tag===22&&k.memoizedState!==null?Ig(x):J!==null?(J.return=k,et=J):Ig(x);for(;w!==null;)et=w,jl(w),w=w.sibling;et=x,$c=W,Cr=de}Tg(a)}else x.subtreeFlags&8772&&w!==null?(w.return=x,et=w):Tg(a)}}function Tg(a){for(;et!==null;){var o=et;if(o.flags&8772){var f=o.alternate;try{if(o.flags&8772)switch(o.tag){case 0:case 11:case 15:Cr||Yc(5,o);break;case 1:var h=o.stateNode;if(o.flags&4&&!Cr)if(f===null)h.componentDidMount();else{var x=o.elementType===o.type?f.memoizedProps:Wa(o.type,f.memoizedProps);h.componentDidUpdate(x,f.memoizedState,h.__reactInternalSnapshotBeforeUpdate)}var w=o.updateQueue;w!==null&&uu(o,w,h);break;case 3:var k=o.updateQueue;if(k!==null){if(f=null,o.child!==null)switch(o.child.tag){case 5:f=o.child.stateNode;break;case 1:f=o.child.stateNode}uu(o,k,f)}break;case 5:var W=o.stateNode;if(f===null&&o.flags&4){f=W;var J=o.memoizedProps;switch(o.type){case"button":case"input":case"select":case"textarea":J.autoFocus&&f.focus();break;case"img":J.src&&(f.src=J.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(o.memoizedState===null){var de=o.alternate;if(de!==null){var Me=de.memoizedState;if(Me!==null){var Fe=Me.dehydrated;Fe!==null&&ls(Fe)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}Cr||o.flags&512&&Pv(o)}catch(ke){nr(o,o.return,ke)}}if(o===a){et=null;break}if(f=o.sibling,f!==null){f.return=o.return,et=f;break}et=o.return}}function Bv(a){for(;et!==null;){var o=et;if(o===a){et=null;break}var f=o.sibling;if(f!==null){f.return=o.return,et=f;break}et=o.return}}function Ig(a){for(;et!==null;){var o=et;try{switch(o.tag){case 0:case 11:case 15:var f=o.return;try{Yc(4,o)}catch(J){nr(o,f,J)}break;case 1:var h=o.stateNode;if(typeof h.componentDidMount=="function"){var x=o.return;try{h.componentDidMount()}catch(J){nr(o,x,J)}}var w=o.return;try{Pv(o)}catch(J){nr(o,w,J)}break;case 5:var k=o.return;try{Pv(o)}catch(J){nr(o,k,J)}}}catch(J){nr(o,o.return,J)}if(o===a){et=null;break}var W=o.sibling;if(W!==null){W.return=o.return,et=W;break}et=o.return}}var Id=Math.ceil,Zc=U.ReactCurrentDispatcher,zv=U.ReactCurrentOwner,Zr=U.ReactCurrentBatchConfig,zt=0,Jn=null,tr=null,Ar=0,Ya=0,kl=jt(0),xr=0,Jc=null,Mo=0,Ad=0,Ml=0,Cu=null,sa=null,Hv=0,Ll=1/0,Lo=null,Nd=!1,xu=null,so=null,As=!1,Ns=null,Od=0,Fl=0,_d=null,Eu=-1,Su=0;function Jr(){return zt&6?Zt():Eu!==-1?Eu:Eu=Zt()}function pr(a){return a.mode&1?zt&2&&Ar!==0?Ar&-Ar:Qf.transition!==null?(Su===0&&(Su=al()),Su):(a=rn,a!==0||(a=window.event,a=a===void 0?16:yc(a.type)),a):1}function qr(a,o,f,h){if(50<Fl)throw Fl=0,_d=null,Error(i(185));Co(a,f,h),(!(zt&2)||a!==Jn)&&(a===Jn&&(!(zt&2)&&(Ad|=f),xr===4&&mi(a,Ar)),Qr(a,h),f===1&&zt===0&&!(o.mode&1)&&(Ll=Zt()+500,Rr&&Ra()))}function Qr(a,o){var f=a.callbackNode;is(a,o);var h=ia(a,a===Jn?Ar:0);if(h===0)f!==null&&jr(f),a.callbackNode=null,a.callbackPriority=0;else if(o=h&-h,a.callbackPriority!==o){if(f!=null&&jr(f),o===1)a.tag===0?vv(Ag.bind(null,a)):pv(Ag.bind(null,a)),cv(function(){!(zt&6)&&Ra()}),f=null;else{switch(ol(h)){case 1:f=Oi;break;case 4:f=Ft;break;case 16:f=Qi;break;case 536870912:f=nl;break;default:f=Qi}f=Yv(f,Pl.bind(null,a))}a.callbackPriority=o,a.callbackNode=f}}function Pl(a,o){if(Eu=-1,Su=0,zt&6)throw Error(i(327));var f=a.callbackNode;if(Bl()&&a.callbackNode!==f)return null;var h=ia(a,a===Jn?Ar:0);if(h===0)return null;if(h&30||h&a.expiredLanes||o)o=jd(a,h);else{o=h;var x=zt;zt|=2;var w=Dd();(Jn!==a||Ar!==o)&&(Lo=null,Ll=Zt()+500,wu(a,o));do try{iC();break}catch(W){Ng(a,W)}while(!0);Cv(),Zc.current=w,zt=x,tr!==null?o=0:(Jn=null,Ar=0,o=xr)}if(o!==0){if(o===2&&(x=os(a),x!==0&&(h=x,o=Uv(a,x))),o===1)throw f=Jc,wu(a,0),mi(a,h),Qr(a,Zt()),f;if(o===6)mi(a,h);else{if(x=a.current.alternate,!(h&30)&&!Gv(x)&&(o=jd(a,h),o===2&&(w=os(a),w!==0&&(h=w,o=Uv(a,w))),o===1))throw f=Jc,wu(a,0),mi(a,h),Qr(a,Zt()),f;switch(a.finishedWork=x,a.finishedLanes=h,o){case 0:case 1:throw Error(i(345));case 2:Ru(a,sa,Lo);break;case 3:if(mi(a,h),(h&130023424)===h&&(o=Hv+500-Zt(),10<o)){if(ia(a,0)!==0)break;if(x=a.suspendedLanes,(x&h)!==h){Jr(),a.pingedLanes|=a.suspendedLanes&x;break}a.timeoutHandle=iu(Ru.bind(null,a,sa,Lo),o);break}Ru(a,sa,Lo);break;case 4:if(mi(a,h),(h&4194240)===h)break;for(o=a.eventTimes,x=-1;0<h;){var k=31-aa(h);w=1<<k,k=o[k],k>x&&(x=k),h&=~w}if(h=x,h=Zt()-h,h=(120>h?120:480>h?480:1080>h?1080:1920>h?1920:3e3>h?3e3:4320>h?4320:1960*Id(h/1960))-h,10<h){a.timeoutHandle=iu(Ru.bind(null,a,sa,Lo),h);break}Ru(a,sa,Lo);break;case 5:Ru(a,sa,Lo);break;default:throw Error(i(329))}}}return Qr(a,Zt()),a.callbackNode===f?Pl.bind(null,a):null}function Uv(a,o){var f=Cu;return a.current.memoizedState.isDehydrated&&(wu(a,o).flags|=256),a=jd(a,o),a!==2&&(o=sa,sa=f,o!==null&&qc(o)),a}function qc(a){sa===null?sa=a:sa.push.apply(sa,a)}function Gv(a){for(var o=a;;){if(o.flags&16384){var f=o.updateQueue;if(f!==null&&(f=f.stores,f!==null))for(var h=0;h<f.length;h++){var x=f[h],w=x.getSnapshot;x=x.value;try{if(!ii(w(),x))return!1}catch{return!1}}}if(f=o.child,o.subtreeFlags&16384&&f!==null)f.return=o,o=f;else{if(o===a)break;for(;o.sibling===null;){if(o.return===null||o.return===a)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function mi(a,o){for(o&=~Ml,o&=~Ad,a.suspendedLanes|=o,a.pingedLanes&=~o,a=a.expirationTimes;0<o;){var f=31-aa(o),h=1<<f;a[f]=-1,o&=~h}}function Ag(a){if(zt&6)throw Error(i(327));Bl();var o=ia(a,0);if(!(o&1))return Qr(a,Zt()),null;var f=jd(a,o);if(a.tag!==0&&f===2){var h=os(a);h!==0&&(o=h,f=Uv(a,h))}if(f===1)throw f=Jc,wu(a,0),mi(a,o),Qr(a,Zt()),f;if(f===6)throw Error(i(345));return a.finishedWork=a.current.alternate,a.finishedLanes=o,Ru(a,sa,Lo),Qr(a,Zt()),null}function Vl(a,o){var f=zt;zt|=1;try{return a(o)}finally{zt=f,zt===0&&(Ll=Zt()+500,Rr&&Ra())}}function Os(a){Ns!==null&&Ns.tag===0&&!(zt&6)&&Bl();var o=zt;zt|=1;var f=Zr.transition,h=rn;try{if(Zr.transition=null,rn=1,a)return a()}finally{rn=h,Zr.transition=f,zt=o,!(zt&6)&&Ra()}}function $v(){Ya=kl.current,un(kl)}function wu(a,o){a.finishedWork=null,a.finishedLanes=0;var f=a.timeoutHandle;if(f!==-1&&(a.timeoutHandle=-1,ng(f)),tr!==null)for(f=tr.return;f!==null;){var h=f;switch(mv(h),h.tag){case 1:h=h.type.childContextTypes,h!=null&&ui();break;case 3:ws(),un(er),un(wt),ad();break;case 5:Vt(h);break;case 4:ws();break;case 13:un(yt);break;case 19:un(yt);break;case 10:Cs(h.type._context);break;case 22:case 23:$v()}f=f.return}if(Jn=a,tr=a=_s(a.current,null),Ar=Ya=o,xr=0,Jc=null,Ml=Ad=Mo=0,sa=Cu=null,Mr!==null){for(o=0;o<Mr.length;o++)if(f=Mr[o],h=f.interleaved,h!==null){f.interleaved=null;var x=h.next,w=f.pending;if(w!==null){var k=w.next;w.next=x,h.next=k}f.pending=h}Mr=null}return a}function Ng(a,o){do{var f=tr;try{if(Cv(),id.current=xd,bt){for(var h=Vn.memoizedState;h!==null;){var x=h.queue;x!==null&&(x.pending=null),h=h.next}bt=!1}if(cu=0,$t=Se=Vn=null,ao=!1,Xa=0,zv.current=null,f===null||f.return===null){xr=1,Jc=o,tr=null;break}e:{var w=a,k=f.return,W=f,J=o;if(o=Ar,W.flags|=32768,J!==null&&typeof J=="object"&&typeof J.then=="function"){var de=J,Me=W,Fe=Me.tag;if(!(Me.mode&1)&&(Fe===0||Fe===11||Fe===15)){var ke=Me.alternate;ke?(Me.updateQueue=ke.updateQueue,Me.memoizedState=ke.memoizedState,Me.lanes=ke.lanes):(Me.updateQueue=null,Me.memoizedState=null)}var Ye=Nv(k);if(Ye!==null){Ye.flags&=-257,Ov(Ye,k,W,w,o),Ye.mode&1&&gg(w,de,o),o=Ye,J=de;var tt=o.updateQueue;if(tt===null){var at=new Set;at.add(J),o.updateQueue=at}else tt.add(J);break e}else{if(!(o&1)){gg(w,de,o),Wv();break e}J=Error(i(426))}}else if(Pn&&W.mode&1){var sr=Nv(k);if(sr!==null){!(sr.flags&65536)&&(sr.flags|=256),Ov(sr,k,W,w,o),yv(Il(J,W));break e}}w=J=Il(J,W),xr!==4&&(xr=2),Cu===null?Cu=[w]:Cu.push(w),w=k;do{switch(w.tag){case 3:w.flags|=65536,o&=-o,w.lanes|=o;var ne=mg(w,J,o);Sv(w,ne);break e;case 1:W=J;var K=w.type,oe=w.stateNode;if(!(w.flags&128)&&(typeof K.getDerivedStateFromError=="function"||oe!==null&&typeof oe.componentDidCatch=="function"&&(so===null||!so.has(oe)))){w.flags|=65536,o&=-o,w.lanes|=o;var ze=Hc(w,W,o);Sv(w,ze);break e}}w=w.return}while(w!==null)}Xv(f)}catch(it){o=it,tr===f&&f!==null&&(tr=f=f.return);continue}break}while(!0)}function Dd(){var a=Zc.current;return Zc.current=xd,a===null?xd:a}function Wv(){(xr===0||xr===3||xr===2)&&(xr=4),Jn===null||!(Mo&268435455)&&!(Ad&268435455)||mi(Jn,Ar)}function jd(a,o){var f=zt;zt|=2;var h=Dd();(Jn!==a||Ar!==o)&&(Lo=null,wu(a,o));do try{aC();break}catch(x){Ng(a,x)}while(!0);if(Cv(),zt=f,Zc.current=h,tr!==null)throw Error(i(261));return Jn=null,Ar=0,xr}function aC(){for(;tr!==null;)Og(tr)}function iC(){for(;tr!==null&&!qi();)Og(tr)}function Og(a){var o=Dg(a.alternate,a,Ya);a.memoizedProps=a.pendingProps,o===null?Xv(a):tr=o,zv.current=null}function Xv(a){var o=a;do{var f=o.alternate;if(a=o.return,o.flags&32768){if(f=Fv(f,o),f!==null){f.flags&=32767,tr=f;return}if(a!==null)a.flags|=32768,a.subtreeFlags=0,a.deletions=null;else{xr=6,tr=null;return}}else if(f=rC(f,o,Ya),f!==null){tr=f;return}if(o=o.sibling,o!==null){tr=o;return}tr=o=a}while(o!==null);xr===0&&(xr=5)}function Ru(a,o,f){var h=rn,x=Zr.transition;try{Zr.transition=null,rn=1,oC(a,o,f,h)}finally{Zr.transition=x,rn=h}return null}function oC(a,o,f,h){do Bl();while(Ns!==null);if(zt&6)throw Error(i(327));f=a.finishedWork;var x=a.finishedLanes;if(f===null)return null;if(a.finishedWork=null,a.finishedLanes=0,f===a.current)throw Error(i(177));a.callbackNode=null,a.callbackPriority=0;var w=f.lanes|f.childLanes;if(Up(a,w),a===Jn&&(tr=Jn=null,Ar=0),!(f.subtreeFlags&2064)&&!(f.flags&2064)||As||(As=!0,Yv(Qi,function(){return Bl(),null})),w=(f.flags&15990)!==0,f.subtreeFlags&15990||w){w=Zr.transition,Zr.transition=null;var k=rn;rn=1;var W=zt;zt|=4,zv.current=null,Eg(a,f),wg(f,a),zf(au),ai=!!uv,au=uv=null,a.current=f,Rg(f),tl(),zt=W,rn=k,Zr.transition=w}else a.current=f;if(As&&(As=!1,Ns=a,Od=x),w=a.pendingLanes,w===0&&(so=null),hc(f.stateNode),Qr(a,Zt()),o!==null)for(h=a.onRecoverableError,f=0;f<o.length;f++)x=o[f],h(x.value,{componentStack:x.stack,digest:x.digest});if(Nd)throw Nd=!1,a=xu,xu=null,a;return Od&1&&a.tag!==0&&Bl(),w=a.pendingLanes,w&1?a===_d?Fl++:(Fl=0,_d=a):Fl=0,Ra(),null}function Bl(){if(Ns!==null){var a=ol(Od),o=Zr.transition,f=rn;try{if(Zr.transition=null,rn=16>a?16:a,Ns===null)var h=!1;else{if(a=Ns,Ns=null,Od=0,zt&6)throw Error(i(331));var x=zt;for(zt|=4,et=a.current;et!==null;){var w=et,k=w.child;if(et.flags&16){var W=w.deletions;if(W!==null){for(var J=0;J<W.length;J++){var de=W[J];for(et=de;et!==null;){var Me=et;switch(Me.tag){case 0:case 11:case 15:Xc(8,Me,w)}var Fe=Me.child;if(Fe!==null)Fe.return=Me,et=Fe;else for(;et!==null;){Me=et;var ke=Me.sibling,Ye=Me.return;if(Vv(Me),Me===de){et=null;break}if(ke!==null){ke.return=Ye,et=ke;break}et=Ye}}}var tt=w.alternate;if(tt!==null){var at=tt.child;if(at!==null){tt.child=null;do{var sr=at.sibling;at.sibling=null,at=sr}while(at!==null)}}et=w}}if(w.subtreeFlags&2064&&k!==null)k.return=w,et=k;else e:for(;et!==null;){if(w=et,w.flags&2048)switch(w.tag){case 0:case 11:case 15:Xc(9,w,w.return)}var ne=w.sibling;if(ne!==null){ne.return=w.return,et=ne;break e}et=w.return}}var K=a.current;for(et=K;et!==null;){k=et;var oe=k.child;if(k.subtreeFlags&2064&&oe!==null)oe.return=k,et=oe;else e:for(k=K;et!==null;){if(W=et,W.flags&2048)try{switch(W.tag){case 0:case 11:case 15:Yc(9,W)}}catch(it){nr(W,W.return,it)}if(W===k){et=null;break e}var ze=W.sibling;if(ze!==null){ze.return=W.return,et=ze;break e}et=W.return}}if(zt=x,Ra(),Ca&&typeof Ca.onPostCommitFiberRoot=="function")try{Ca.onPostCommitFiberRoot(ns,a)}catch{}h=!0}return h}finally{rn=f,Zr.transition=o}}return!1}function _g(a,o,f){o=Il(f,o),o=mg(a,o,1),a=Es(a,o,1),o=Jr(),a!==null&&(Co(a,1,o),Qr(a,o))}function nr(a,o,f){if(a.tag===3)_g(a,a,f);else for(;o!==null;){if(o.tag===3){_g(o,a,f);break}else if(o.tag===1){var h=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(so===null||!so.has(h))){a=Il(f,a),a=Hc(o,a,1),o=Es(o,a,1),a=Jr(),o!==null&&(Co(o,1,a),Qr(o,a));break}}o=o.return}}function sC(a,o,f){var h=a.pingCache;h!==null&&h.delete(o),o=Jr(),a.pingedLanes|=a.suspendedLanes&f,Jn===a&&(Ar&f)===f&&(xr===4||xr===3&&(Ar&130023424)===Ar&&500>Zt()-Hv?wu(a,0):Ml|=f),Qr(a,o)}function kd(a,o){o===0&&(a.mode&1?(o=rs,rs<<=1,!(rs&130023424)&&(rs=4194304)):o=1);var f=Jr();a=Oo(a,o),a!==null&&(Co(a,o,f),Qr(a,f))}function uC(a){var o=a.memoizedState,f=0;o!==null&&(f=o.retryLane),kd(a,f)}function lC(a,o){var f=0;switch(a.tag){case 13:var h=a.stateNode,x=a.memoizedState;x!==null&&(f=x.retryLane);break;case 19:h=a.stateNode;break;default:throw Error(i(314))}h!==null&&h.delete(o),kd(a,f)}var Dg;Dg=function(a,o,f){if(a!==null)if(a.memoizedProps!==o.pendingProps||er.current)dr=!0;else{if(!(a.lanes&f)&&!(o.flags&128))return dr=!1,jo(a,o,f);dr=!!(a.flags&131072)}else dr=!1,Pn&&o.flags&1048576&&hv(o,Cl,o.index);switch(o.lanes=0,o.tag){case 2:var h=o.type;Xr(a,o),a=o.pendingProps;var x=si(o,wt.current);Ge(o,f),x=Rs(null,o,h,a,x,f);var w=pu();return o.flags|=1,typeof x=="object"&&x!==null&&typeof x.render=="function"&&x.$$typeof===void 0?(o.tag=1,o.memoizedState=null,o.updateQueue=null,Un(h)?(w=!0,Xf(o)):w=!1,o.memoizedState=x.state!==null&&x.state!==void 0?x.state:null,Ev(o),x.updater=td,o.stateNode=x,x._reactInternals=o,nd(o,h,a,f),o=yg(null,o,h,!0,w,f)):(o.tag=0,Pn&&w&&Yf(o),yr(null,o,x,f),o=o.child),o;case 16:h=o.elementType;e:{switch(Xr(a,o),a=o.pendingProps,x=h._init,h=x(h._payload),o.type=h,x=o.tag=fC(h),a=Wa(h,a),x){case 0:o=Al(null,o,h,a,f);break e;case 1:o=_v(null,o,h,a,f);break e;case 11:o=Is(null,o,h,a,f);break e;case 14:o=Sd(null,o,h,Wa(h.type,a),f);break e}throw Error(i(306,h,""))}return o;case 0:return h=o.type,x=o.pendingProps,x=o.elementType===h?x:Wa(h,x),Al(a,o,h,x,f);case 1:return h=o.type,x=o.pendingProps,x=o.elementType===h?x:Wa(h,x),_v(a,o,h,x,f);case 3:e:{if(bg(o),a===null)throw Error(i(387));h=o.pendingProps,w=o.memoizedState,x=w.element,gr(a,o),Ss(o,h,null,f);var k=o.memoizedState;if(h=k.element,w.isDehydrated)if(w={element:h,isDehydrated:!1,cache:k.cache,pendingSuspenseBoundaries:k.pendingSuspenseBoundaries,transitions:k.transitions},o.updateQueue.baseState=w,o.memoizedState=w,o.flags&256){x=Il(Error(i(423)),o),o=wd(a,o,h,f,x);break e}else if(h!==x){x=Il(Error(i(424)),o),o=wd(a,o,h,f,x);break e}else for(Aa=Li(o.stateNode.containerInfo.firstChild),$a=o,Pn=!0,ci=null,f=vg(o,null,h,f),o.child=f;f;)f.flags=f.flags&-3|4096,f=f.sibling;else{if(Yn(),h===x){o=Lr(a,o,f);break e}yr(a,o,h,f)}o=o.child}return o;case 5:return mt(o),a===null&&Jf(o),h=o.type,x=o.pendingProps,w=a!==null?a.memoizedProps:null,k=x.children,Oc(h,x)?k=null:w!==null&&Oc(h,w)&&(o.flags|=32),kt(a,o),yr(a,o,k,f),o.child;case 6:return a===null&&Jf(o),null;case 13:return jv(a,o,f);case 4:return Rv(o,o.stateNode.containerInfo),h=o.pendingProps,a===null?o.child=El(o,null,h,f):yr(a,o,h,f),o.child;case 11:return h=o.type,x=o.pendingProps,x=o.elementType===h?x:Wa(h,x),Is(a,o,h,x,f);case 7:return yr(a,o,o.pendingProps,f),o.child;case 8:return yr(a,o,o.pendingProps.children,f),o.child;case 12:return yr(a,o,o.pendingProps.children,f),o.child;case 10:e:{if(h=o.type._context,x=o.pendingProps,w=o.memoizedProps,k=x.value,pn(ro,h._currentValue),h._currentValue=k,w!==null)if(ii(w.value,k)){if(w.children===x.children&&!er.current){o=Lr(a,o,f);break e}}else for(w=o.child,w!==null&&(w.return=o);w!==null;){var W=w.dependencies;if(W!==null){k=w.child;for(var J=W.firstContext;J!==null;){if(J.context===h){if(w.tag===1){J=_o(-1,f&-f),J.tag=2;var de=w.updateQueue;if(de!==null){de=de.shared;var Me=de.pending;Me===null?J.next=J:(J.next=Me.next,Me.next=J),de.pending=J}}w.lanes|=f,J=w.alternate,J!==null&&(J.lanes|=f),Tr(w.return,f,o),W.lanes|=f;break}J=J.next}}else if(w.tag===10)k=w.type===o.type?null:w.child;else if(w.tag===18){if(k=w.return,k===null)throw Error(i(341));k.lanes|=f,W=k.alternate,W!==null&&(W.lanes|=f),Tr(k,f,o),k=w.sibling}else k=w.child;if(k!==null)k.return=w;else for(k=w;k!==null;){if(k===o){k=null;break}if(w=k.sibling,w!==null){w.return=k.return,k=w;break}k=k.return}w=k}yr(a,o,x.children,f),o=o.child}return o;case 9:return x=o.type,h=o.pendingProps.children,Ge(o,f),x=or(x),h=h(x),o.flags|=1,yr(a,o,h,f),o.child;case 14:return h=o.type,x=Wa(h,o.pendingProps),x=Wa(h.type,x),Sd(a,o,h,x,f);case 15:return _a(a,o,o.type,o.pendingProps,f);case 17:return h=o.type,x=o.pendingProps,x=o.elementType===h?x:Wa(h,x),Xr(a,o),o.tag=1,Un(h)?(a=!0,Xf(o)):a=!1,Ge(o,f),cg(o,h,x),nd(o,h,x,f),yg(null,o,h,!0,a,f);case 19:return Lv(a,o,f);case 22:return gu(a,o,f)}throw Error(i(156,o.tag))};function Yv(a,o){return Dn(a,o)}function cC(a,o,f,h){this.tag=a,this.key=f,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=h,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function gi(a,o,f,h){return new cC(a,o,f,h)}function Zv(a){return a=a.prototype,!(!a||!a.isReactComponent)}function fC(a){if(typeof a=="function")return Zv(a)?1:0;if(a!=null){if(a=a.$$typeof,a===ye)return 11;if(a===_e)return 14}return 2}function _s(a,o){var f=a.alternate;return f===null?(f=gi(a.tag,o,a.key,a.mode),f.elementType=a.elementType,f.type=a.type,f.stateNode=a.stateNode,f.alternate=a,a.alternate=f):(f.pendingProps=o,f.type=a.type,f.flags=0,f.subtreeFlags=0,f.deletions=null),f.flags=a.flags&14680064,f.childLanes=a.childLanes,f.lanes=a.lanes,f.child=a.child,f.memoizedProps=a.memoizedProps,f.memoizedState=a.memoizedState,f.updateQueue=a.updateQueue,o=a.dependencies,f.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},f.sibling=a.sibling,f.index=a.index,f.ref=a.ref,f}function Md(a,o,f,h,x,w){var k=2;if(h=a,typeof a=="function")Zv(a)&&(k=1);else if(typeof a=="string")k=5;else e:switch(a){case X:return Tu(f.children,x,w,o);case te:k=8,x|=8;break;case Re:return a=gi(12,f,o,x|2),a.elementType=Re,a.lanes=w,a;case me:return a=gi(13,f,o,x),a.elementType=me,a.lanes=w,a;case Ae:return a=gi(19,f,o,x),a.elementType=Ae,a.lanes=w,a;case Ie:return Qc(f,x,w,o);default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case ue:k=10;break e;case pe:k=9;break e;case ye:k=11;break e;case _e:k=14;break e;case Oe:k=16,h=null;break e}throw Error(i(130,a==null?a:typeof a,""))}return o=gi(k,f,o,x),o.elementType=a,o.type=h,o.lanes=w,o}function Tu(a,o,f,h){return a=gi(7,a,h,o),a.lanes=f,a}function Qc(a,o,f,h){return a=gi(22,a,h,o),a.elementType=Ie,a.lanes=f,a.stateNode={isHidden:!1},a}function Kc(a,o,f){return a=gi(6,a,null,o),a.lanes=f,a}function Iu(a,o,f){return o=gi(4,a.children!==null?a.children:[],a.key,o),o.lanes=f,o.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},o}function dC(a,o,f,h,x){this.tag=o,this.containerInfo=a,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=il(0),this.expirationTimes=il(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=il(0),this.identifierPrefix=h,this.onRecoverableError=x,this.mutableSourceEagerHydrationData=null}function Ld(a,o,f,h,x,w,k,W,J){return a=new dC(a,o,f,W,J),o===1?(o=1,w===!0&&(o|=8)):o=0,w=gi(3,null,null,o),a.current=w,w.stateNode=a,w.memoizedState={element:h,isDehydrated:f,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ev(w),a}function jg(a,o,f){var h=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:G,key:h==null?null:""+h,children:a,containerInfo:o,implementation:f}}function Jv(a){if(!a)return no;a=a._reactInternals;e:{if(_t(a)!==a||a.tag!==1)throw Error(i(170));var o=a;do{switch(o.tag){case 3:o=o.stateNode.context;break e;case 1:if(Un(o.type)){o=o.stateNode.__reactInternalMemoizedMergedChildContext;break e}}o=o.return}while(o!==null);throw Error(i(171))}if(a.tag===1){var f=a.type;if(Un(f))return jc(a,f,o)}return o}function kg(a,o,f,h,x,w,k,W,J){return a=Ld(f,h,!0,a,x,w,k,W,J),a.context=Jv(null),f=a.current,h=Jr(),x=pr(f),w=_o(h,x),w.callback=o??null,Es(f,w,x),a.current.lanes=x,Co(a,x,h),Qr(a,h),a}function ef(a,o,f,h){var x=o.current,w=Jr(),k=pr(x);return f=Jv(f),o.context===null?o.context=f:o.pendingContext=f,o=_o(w,k),o.payload={element:a},h=h===void 0?null:h,h!==null&&(o.callback=h),a=Es(x,o,k),a!==null&&(qr(a,x,k,w),ed(a,x,k)),k}function Fd(a){if(a=a.current,!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function Mg(a,o){if(a=a.memoizedState,a!==null&&a.dehydrated!==null){var f=a.retryLane;a.retryLane=f!==0&&f<o?f:o}}function qv(a,o){Mg(a,o),(a=a.alternate)&&Mg(a,o)}function Lg(){return null}var Qv=typeof reportError=="function"?reportError:function(a){console.error(a)};function Pd(a){this._internalRoot=a}Fo.prototype.render=Pd.prototype.render=function(a){var o=this._internalRoot;if(o===null)throw Error(i(409));ef(a,o,null,null)},Fo.prototype.unmount=Pd.prototype.unmount=function(){var a=this._internalRoot;if(a!==null){this._internalRoot=null;var o=a.containerInfo;Os(function(){ef(null,a,null,null)}),o[Ao]=null}};function Fo(a){this._internalRoot=a}Fo.prototype.unstable_scheduleHydration=function(a){if(a){var o=ul();a={blockedOn:null,target:a,priority:o};for(var f=0;f<dn.length&&o!==0&&o<dn[f].priority;f++);dn.splice(f,0,a),f===0&&kf(a)}};function Kv(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function Vd(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11&&(a.nodeType!==8||a.nodeValue!==" react-mount-point-unstable "))}function Fg(){}function pC(a,o,f,h,x){if(x){if(typeof h=="function"){var w=h;h=function(){var de=Fd(k);w.call(de)}}var k=kg(o,h,a,0,null,!1,!1,"",Fg);return a._reactRootContainer=k,a[Ao]=k.current,yl(a.nodeType===8?a.parentNode:a),Os(),k}for(;x=a.lastChild;)a.removeChild(x);if(typeof h=="function"){var W=h;h=function(){var de=Fd(J);W.call(de)}}var J=Ld(a,0,!1,null,null,!1,!1,"",Fg);return a._reactRootContainer=J,a[Ao]=J.current,yl(a.nodeType===8?a.parentNode:a),Os(function(){ef(o,J,f,h)}),J}function Bd(a,o,f,h,x){var w=f._reactRootContainer;if(w){var k=w;if(typeof x=="function"){var W=x;x=function(){var J=Fd(k);W.call(J)}}ef(o,k,a,x)}else k=pC(f,o,a,x,h);return Fd(k)}qs=function(a){switch(a.tag){case 3:var o=a.stateNode;if(o.current.memoizedState.isDehydrated){var f=_i(o.pendingLanes);f!==0&&(Ki(o,f|1),Qr(o,Zt()),!(zt&6)&&(Ll=Zt()+500,Ra()))}break;case 13:Os(function(){var h=Oo(a,1);if(h!==null){var x=Jr();qr(h,a,1,x)}}),qv(a,1)}},sl=function(a){if(a.tag===13){var o=Oo(a,134217728);if(o!==null){var f=Jr();qr(o,a,134217728,f)}qv(a,134217728)}},Jt=function(a){if(a.tag===13){var o=pr(a),f=Oo(a,o);if(f!==null){var h=Jr();qr(f,a,o,h)}qv(a,o)}},ul=function(){return rn},ll=function(a,o){var f=rn;try{return rn=a,o()}finally{rn=f}},na=function(a,o,f){switch(o){case"input":if(nn(a,f),o=f.name,f.type==="radio"&&o!=null){for(f=a;f.parentNode;)f=f.parentNode;for(f=f.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),o=0;o<f.length;o++){var h=f[o];if(h!==a&&h.form===a.form){var x=ct(h);if(!x)throw Error(i(90));Ne(h),nn(h,x)}}}break;case"textarea":lr(a,f);break;case"select":o=f.value,o!=null&&Ln(a,!!f.multiple,o,!1)}},Js=Vl,el=Os;var vC={usingClientEntryPoint:!1,Events:[Dc,bl,ct,ni,Ko,Vl]},zl={findFiberByHostInstance:oi,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},hC={bundleType:zl.bundleType,version:zl.version,rendererPackageName:zl.rendererPackageName,rendererConfig:zl.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:U.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){return a=cr(a),a===null?null:a.stateNode},findFiberByHostInstance:zl.findFiberByHostInstance||Lg,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var zd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!zd.isDisabled&&zd.supportsFiber)try{ns=zd.inject(hC),Ca=zd}catch{}}return Si.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vC,Si.createPortal=function(a,o){var f=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Kv(o))throw Error(i(200));return jg(a,o,null,f)},Si.createRoot=function(a,o){if(!Kv(a))throw Error(i(299));var f=!1,h="",x=Qv;return o!=null&&(o.unstable_strictMode===!0&&(f=!0),o.identifierPrefix!==void 0&&(h=o.identifierPrefix),o.onRecoverableError!==void 0&&(x=o.onRecoverableError)),o=Ld(a,1,!1,null,null,f,!1,h,x),a[Ao]=o.current,yl(a.nodeType===8?a.parentNode:a),new Pd(o)},Si.findDOMNode=function(a){if(a==null)return null;if(a.nodeType===1)return a;var o=a._reactInternals;if(o===void 0)throw typeof a.render=="function"?Error(i(188)):(a=Object.keys(a).join(","),Error(i(268,a)));return a=cr(o),a=a===null?null:a.stateNode,a},Si.flushSync=function(a){return Os(a)},Si.hydrate=function(a,o,f){if(!Vd(o))throw Error(i(200));return Bd(null,a,o,!0,f)},Si.hydrateRoot=function(a,o,f){if(!Kv(a))throw Error(i(405));var h=f!=null&&f.hydratedSources||null,x=!1,w="",k=Qv;if(f!=null&&(f.unstable_strictMode===!0&&(x=!0),f.identifierPrefix!==void 0&&(w=f.identifierPrefix),f.onRecoverableError!==void 0&&(k=f.onRecoverableError)),o=kg(o,null,a,1,f??null,x,!1,w,k),a[Ao]=o.current,yl(a),h)for(a=0;a<h.length;a++)f=h[a],x=f._getVersion,x=x(f._source),o.mutableSourceEagerHydrationData==null?o.mutableSourceEagerHydrationData=[f,x]:o.mutableSourceEagerHydrationData.push(f,x);return new Fo(o)},Si.render=function(a,o,f){if(!Vd(o))throw Error(i(200));return Bd(null,a,o,!1,f)},Si.unmountComponentAtNode=function(a){if(!Vd(a))throw Error(i(40));return a._reactRootContainer?(Os(function(){Bd(null,null,a,!1,function(){a._reactRootContainer=null,a[Ao]=null})}),!0):!1},Si.unstable_batchedUpdates=Vl,Si.unstable_renderSubtreeIntoContainer=function(a,o,f,h){if(!Vd(f))throw Error(i(200));if(a==null||a._reactInternals===void 0)throw Error(i(38));return Bd(a,o,f,!1,h)},Si.version="18.2.0-next-9e3b772b8-20220608",Si}var wi={};/**
91
+ `),R=h.stack.split(`
92
+ `),k=x.length-1,W=R.length-1;1<=k&&0<=W&&x[k]!==R[W];)W--;for(;1<=k&&0<=W;k--,W--)if(x[k]!==R[W]){if(k!==1||W!==1)do if(k--,W--,0>W||x[k]!==R[W]){var J=`
93
+ `+x[k].replace(" at new "," at ");return a.displayName&&J.includes("<anonymous>")&&(J=J.replace("<anonymous>",a.displayName)),J}while(1<=k&&0<=W);break}}}finally{xe=!1,Error.prepareStackTrace=f}return(a=a?a.displayName||a.name:"")?se(a):""}function De(a){switch(a.tag){case 5:return se(a.type);case 16:return se("Lazy");case 13:return se("Suspense");case 19:return se("SuspenseList");case 0:case 2:case 15:return a=Ee(a.type,!1),a;case 11:return a=Ee(a.type.render,!1),a;case 1:return a=Ee(a.type,!0),a;default:return""}}function ie(a){if(a==null)return null;if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case X:return"Fragment";case G:return"Portal";case Re:return"Profiler";case te:return"StrictMode";case me:return"Suspense";case Ae:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case pe:return(a.displayName||"Context")+".Consumer";case ue:return(a._context.displayName||"Context")+".Provider";case ye:var o=a.render;return a=a.displayName,a||(a=o.displayName||o.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case _e:return o=a.displayName||null,o!==null?o:ie(a.type)||"Memo";case Oe:o=a._payload,a=a._init;try{return ie(a(o))}catch{}}return null}function he(a){var o=a.type;switch(a.tag){case 24:return"Cache";case 9:return(o.displayName||"Context")+".Consumer";case 10:return(o._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return a=o.render,a=a.displayName||a.name||"",o.displayName||(a!==""?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 5:return o;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ie(o);case 8:return o===te?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o}return null}function Te(a){switch(typeof a){case"boolean":case"number":case"string":case"undefined":return a;case"object":return a;default:return""}}function Ve(a){var o=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function Ke(a){var o=Ve(a)?"checked":"value",f=Object.getOwnPropertyDescriptor(a.constructor.prototype,o),h=""+a[o];if(!a.hasOwnProperty(o)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var x=f.get,R=f.set;return Object.defineProperty(a,o,{configurable:!0,get:function(){return x.call(this)},set:function(k){h=""+k,R.call(this,k)}}),Object.defineProperty(a,o,{enumerable:f.enumerable}),{getValue:function(){return h},setValue:function(k){h=""+k},stopTracking:function(){a._valueTracker=null,delete a[o]}}}}function It(a){a._valueTracker||(a._valueTracker=Ke(a))}function Ne(a){if(!a)return!1;var o=a._valueTracker;if(!o)return!0;var f=o.getValue(),h="";return a&&(h=Ve(a)?a.checked?"true":"false":a.value),a=h,a!==f?(o.setValue(a),!0):!1}function ft(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}function Bt(a,o){var f=o.checked;return F({},o,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:f??a._wrapperState.initialChecked})}function lt(a,o){var f=o.defaultValue==null?"":o.defaultValue,h=o.checked!=null?o.checked:o.defaultChecked;f=Te(o.value!=null?o.value:f),a._wrapperState={initialChecked:h,initialValue:f,controlled:o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null}}function hn(a,o){o=o.checked,o!=null&&P(a,"checked",o,!1)}function nn(a,o){hn(a,o);var f=Te(o.value),h=o.type;if(f!=null)h==="number"?(f===0&&a.value===""||a.value!=f)&&(a.value=""+f):a.value!==""+f&&(a.value=""+f);else if(h==="submit"||h==="reset"){a.removeAttribute("value");return}o.hasOwnProperty("value")?Mn(a,o.type,f):o.hasOwnProperty("defaultValue")&&Mn(a,o.type,Te(o.defaultValue)),o.checked==null&&o.defaultChecked!=null&&(a.defaultChecked=!!o.defaultChecked)}function Hn(a,o,f){if(o.hasOwnProperty("value")||o.hasOwnProperty("defaultValue")){var h=o.type;if(!(h!=="submit"&&h!=="reset"||o.value!==void 0&&o.value!==null))return;o=""+a._wrapperState.initialValue,f||o===a.value||(a.value=o),a.defaultValue=o}f=a.name,f!==""&&(a.name=""),a.defaultChecked=!!a._wrapperState.initialChecked,f!==""&&(a.name=f)}function Mn(a,o,f){(o!=="number"||ft(a.ownerDocument)!==a)&&(f==null?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+f&&(a.defaultValue=""+f))}var Mt=Array.isArray;function Ln(a,o,f,h){if(a=a.options,o){o={};for(var x=0;x<f.length;x++)o["$"+f[x]]=!0;for(f=0;f<a.length;f++)x=o.hasOwnProperty("$"+a[f].value),a[f].selected!==x&&(a[f].selected=x),x&&h&&(a[f].defaultSelected=!0)}else{for(f=""+Te(f),o=null,x=0;x<a.length;x++){if(a[x].value===f){a[x].selected=!0,h&&(a[x].defaultSelected=!0);return}o!==null||a[x].disabled||(o=a[x])}o!==null&&(o.selected=!0)}}function $n(a,o){if(o.dangerouslySetInnerHTML!=null)throw Error(i(91));return F({},o,{value:void 0,defaultValue:void 0,children:""+a._wrapperState.initialValue})}function rr(a,o){var f=o.value;if(f==null){if(f=o.children,o=o.defaultValue,f!=null){if(o!=null)throw Error(i(92));if(Mt(f)){if(1<f.length)throw Error(i(93));f=f[0]}o=f}o==null&&(o=""),f=o}a._wrapperState={initialValue:Te(f)}}function lr(a,o){var f=Te(o.value),h=Te(o.defaultValue);f!=null&&(f=""+f,f!==a.value&&(a.value=f),o.defaultValue==null&&a.defaultValue!==f&&(a.defaultValue=f)),h!=null&&(a.defaultValue=""+h)}function Qn(a){var o=a.textContent;o===a._wrapperState.initialValue&&o!==""&&o!==null&&(a.value=o)}function St(a){switch(a){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 en(a,o){return a==null||a==="http://www.w3.org/1999/xhtml"?St(o):a==="http://www.w3.org/2000/svg"&&o==="foreignObject"?"http://www.w3.org/1999/xhtml":a}var ar,Xi=function(a){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(o,f,h,x){MSApp.execUnsafeLocalFunction(function(){return a(o,f,h,x)})}:a}(function(a,o){if(a.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in a)a.innerHTML=o;else{for(ar=ar||document.createElement("div"),ar.innerHTML="<svg>"+o.valueOf().toString()+"</svg>",o=ar.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;o.firstChild;)a.appendChild(o.firstChild)}});function Va(a,o){if(o){var f=a.firstChild;if(f&&f===a.lastChild&&f.nodeType===3){f.nodeValue=o;return}}a.textContent=o}var He={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},st=["Webkit","ms","Moz","O"];Object.keys(He).forEach(function(a){st.forEach(function(o){o=o+a.charAt(0).toUpperCase()+a.substring(1),He[o]=He[a]})});function Lt(a,o,f){return o==null||typeof o=="boolean"||o===""?"":f||typeof o!="number"||o===0||He.hasOwnProperty(a)&&He[a]?(""+o).trim():o+"px"}function sn(a,o){a=a.style;for(var f in o)if(o.hasOwnProperty(f)){var h=f.indexOf("--")===0,x=Lt(f,o[f],h);f==="float"&&(f="cssFloat"),h?a.setProperty(f,x):a[f]=x}}var ln=F({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 ir(a,o){if(o){if(ln[a]&&(o.children!=null||o.dangerouslySetInnerHTML!=null))throw Error(i(137,a));if(o.dangerouslySetInnerHTML!=null){if(o.children!=null)throw Error(i(60));if(typeof o.dangerouslySetInnerHTML!="object"||!("__html"in o.dangerouslySetInnerHTML))throw Error(i(61))}if(o.style!=null&&typeof o.style!="object")throw Error(i(62))}}function Wn(a,o){if(a.indexOf("-")===-1)return typeof o.is=="string";switch(a){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 $r=null;function mn(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}var na=null,cn=null,fn=null;function Ni(a){if(a=Dc(a)){if(typeof na!="function")throw Error(i(280));var o=a.stateNode;o&&(o=ct(o),na(a.stateNode,a.type,o))}}function ni(a){cn?fn?fn.push(a):fn=[a]:cn=a}function Ko(){if(cn){var a=cn,o=fn;if(fn=cn=null,Ni(a),o)for(a=0;a<o.length;a++)Ni(o[a])}}function Js(a,o){return a(o)}function el(){}var bo=!1;function es(a,o,f){if(bo)return a(o,f);bo=!0;try{return Js(a,o,f)}finally{bo=!1,(cn!==null||fn!==null)&&(el(),Ko())}}function Ba(a,o){var f=a.stateNode;if(f===null)return null;var h=ct(f);if(h===null)return null;f=h[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(h=!h.disabled)||(a=a.type,h=!(a==="button"||a==="input"||a==="select"||a==="textarea")),a=!h;break e;default:a=!1}if(a)return null;if(f&&typeof f!="function")throw Error(i(231,o,typeof f));return f}var Yi=!1;if(y)try{var za={};Object.defineProperty(za,"passive",{get:function(){Yi=!0}}),window.addEventListener("test",za,za),window.removeEventListener("test",za,za)}catch{Yi=!1}function Zi(a,o,f,h,x,R,k,W,J){var de=Array.prototype.slice.call(arguments,3);try{o.apply(f,de)}catch(Me){this.onError(Me)}}var ra=!1,Ha=null,Ji=!1,Z=null,je={onError:function(a){ra=!0,Ha=a}};function Ue(a,o,f,h,x,R,k,W,J){ra=!1,Ha=null,Zi.apply(je,arguments)}function Je(a,o,f,h,x,R,k,W,J){if(Ue.apply(this,arguments),ra){if(ra){var de=Ha;ra=!1,Ha=null}else throw Error(i(198));Ji||(Ji=!0,Z=de)}}function _t(a){var o=a,f=a;if(a.alternate)for(;o.return;)o=o.return;else{a=o;do o=a,o.flags&4098&&(f=o.return),a=o.return;while(a)}return o.tag===3?f:null}function Gt(a){if(a.tag===13){var o=a.memoizedState;if(o===null&&(a=a.alternate,a!==null&&(o=a.memoizedState)),o!==null)return o.dehydrated}return null}function Dt(a){if(_t(a)!==a)throw Error(i(188))}function dt(a){var o=a.alternate;if(!o){if(o=_t(a),o===null)throw Error(i(188));return o!==a?null:a}for(var f=a,h=o;;){var x=f.return;if(x===null)break;var R=x.alternate;if(R===null){if(h=x.return,h!==null){f=h;continue}break}if(x.child===R.child){for(R=x.child;R;){if(R===f)return Dt(x),a;if(R===h)return Dt(x),o;R=R.sibling}throw Error(i(188))}if(f.return!==h.return)f=x,h=R;else{for(var k=!1,W=x.child;W;){if(W===f){k=!0,f=x,h=R;break}if(W===h){k=!0,h=x,f=R;break}W=W.sibling}if(!k){for(W=R.child;W;){if(W===f){k=!0,f=R,h=x;break}if(W===h){k=!0,h=R,f=x;break}W=W.sibling}if(!k)throw Error(i(189))}}if(f.alternate!==h)throw Error(i(190))}if(f.tag!==3)throw Error(i(188));return f.stateNode.current===f?a:o}function cr(a){return a=dt(a),a!==null?_n(a):null}function _n(a){if(a.tag===5||a.tag===6)return a;for(a=a.child;a!==null;){var o=_n(a);if(o!==null)return o;a=a.sibling}return null}var Dn=r.unstable_scheduleCallback,jr=r.unstable_cancelCallback,qi=r.unstable_shouldYield,tl=r.unstable_requestPaint,Zt=r.unstable_now,Hp=r.unstable_getCurrentPriorityLevel,Oi=r.unstable_ImmediatePriority,Ft=r.unstable_UserBlockingPriority,Qi=r.unstable_NormalPriority,ts=r.unstable_LowPriority,nl=r.unstable_IdlePriority,ns=null,Ca=null;function hc(a){if(Ca&&typeof Ca.onCommitFiberRoot=="function")try{Ca.onCommitFiberRoot(ns,a,void 0,(a.current.flags&128)===128)}catch{}}var aa=Math.clz32?Math.clz32:Df,mc=Math.log,gc=Math.LN2;function Df(a){return a>>>=0,a===0?32:31-(mc(a)/gc|0)|0}var rl=64,rs=4194304;function _i(a){switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return a&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return a}}function ia(a,o){var f=a.pendingLanes;if(f===0)return 0;var h=0,x=a.suspendedLanes,R=a.pingedLanes,k=f&268435455;if(k!==0){var W=k&~x;W!==0?h=_i(W):(R&=k,R!==0&&(h=_i(R)))}else k=f&~x,k!==0?h=_i(k):R!==0&&(h=_i(R));if(h===0)return 0;if(o!==0&&o!==h&&!(o&x)&&(x=h&-h,R=o&-o,x>=R||x===16&&(R&4194240)!==0))return o;if(h&4&&(h|=f&16),o=a.entangledLanes,o!==0)for(a=a.entanglements,o&=h;0<o;)f=31-aa(o),x=1<<f,h|=a[f],o&=~x;return h}function as(a,o){switch(a){case 1:case 2:case 4:return o+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function is(a,o){for(var f=a.suspendedLanes,h=a.pingedLanes,x=a.expirationTimes,R=a.pendingLanes;0<R;){var k=31-aa(R),W=1<<k,J=x[k];J===-1?(!(W&f)||W&h)&&(x[k]=as(W,o)):J<=o&&(a.expiredLanes|=W),R&=~W}}function os(a){return a=a.pendingLanes&-1073741825,a!==0?a:a&1073741824?1073741824:0}function al(){var a=rl;return rl<<=1,!(rl&4194240)&&(rl=64),a}function il(a){for(var o=[],f=0;31>f;f++)o.push(a);return o}function Co(a,o,f){a.pendingLanes|=o,o!==536870912&&(a.suspendedLanes=0,a.pingedLanes=0),a=a.eventTimes,o=31-aa(o),a[o]=f}function Up(a,o){var f=a.pendingLanes&~o;a.pendingLanes=o,a.suspendedLanes=0,a.pingedLanes=0,a.expiredLanes&=o,a.mutableReadLanes&=o,a.entangledLanes&=o,o=a.entanglements;var h=a.eventTimes;for(a=a.expirationTimes;0<f;){var x=31-aa(f),R=1<<x;o[x]=0,h[x]=-1,a[x]=-1,f&=~R}}function Ki(a,o){var f=a.entangledLanes|=o;for(a=a.entanglements;f;){var h=31-aa(f),x=1<<h;x&o|a[h]&o&&(a[h]|=o),f&=~x}}var rn=0;function ol(a){return a&=-a,1<a?4<a?a&268435455?16:536870912:4:1}var qs,sl,Jt,ul,ll,At=!1,Qs=[],Xn=null,xa=null,oa=null,ss=new Map,Kn=new Map,dn=[],jf="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 Ea(a,o){switch(a){case"focusin":case"focusout":Xn=null;break;case"dragenter":case"dragleave":xa=null;break;case"mouseover":case"mouseout":oa=null;break;case"pointerover":case"pointerout":ss.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":Kn.delete(o.pointerId)}}function Sr(a,o,f,h,x,R){return a===null||a.nativeEvent!==R?(a={blockedOn:o,domEventName:f,eventSystemFlags:h,nativeEvent:R,targetContainers:[x]},o!==null&&(o=Dc(o),o!==null&&sl(o)),a):(a.eventSystemFlags|=h,o=a.targetContainers,x!==null&&o.indexOf(x)===-1&&o.push(x),a)}function eo(a,o,f,h,x){switch(o){case"focusin":return Xn=Sr(Xn,a,o,f,h,x),!0;case"dragenter":return xa=Sr(xa,a,o,f,h,x),!0;case"mouseover":return oa=Sr(oa,a,o,f,h,x),!0;case"pointerover":var R=x.pointerId;return ss.set(R,Sr(ss.get(R)||null,a,o,f,h,x)),!0;case"gotpointercapture":return R=x.pointerId,Kn.set(R,Sr(Kn.get(R)||null,a,o,f,h,x)),!0}return!1}function kf(a){var o=oi(a.target);if(o!==null){var f=_t(o);if(f!==null){if(o=f.tag,o===13){if(o=Gt(f),o!==null){a.blockedOn=o,ll(a.priority,function(){Jt(f)});return}}else if(o===3&&f.stateNode.current.memoizedState.isDehydrated){a.blockedOn=f.tag===3?f.stateNode.containerInfo:null;return}}}a.blockedOn=null}function xo(a){if(a.blockedOn!==null)return!1;for(var o=a.targetContainers;0<o.length;){var f=fl(a.domEventName,a.eventSystemFlags,o[0],a.nativeEvent);if(f===null){f=a.nativeEvent;var h=new f.constructor(f.type,f);$r=h,f.target.dispatchEvent(h),$r=null}else return o=Dc(f),o!==null&&sl(o),a.blockedOn=f,!1;o.shift()}return!0}function us(a,o,f){xo(a)&&f.delete(o)}function Mf(){At=!1,Xn!==null&&xo(Xn)&&(Xn=null),xa!==null&&xo(xa)&&(xa=null),oa!==null&&xo(oa)&&(oa=null),ss.forEach(us),Kn.forEach(us)}function ri(a,o){a.blockedOn===o&&(a.blockedOn=null,At||(At=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Mf)))}function ls(a){function o(x){return ri(x,a)}if(0<Qs.length){ri(Qs[0],a);for(var f=1;f<Qs.length;f++){var h=Qs[f];h.blockedOn===a&&(h.blockedOn=null)}}for(Xn!==null&&ri(Xn,a),xa!==null&&ri(xa,a),oa!==null&&ri(oa,a),ss.forEach(o),Kn.forEach(o),f=0;f<dn.length;f++)h=dn[f],h.blockedOn===a&&(h.blockedOn=null);for(;0<dn.length&&(f=dn[0],f.blockedOn===null);)kf(f),f.blockedOn===null&&dn.shift()}var cs=U.ReactCurrentBatchConfig,ai=!0;function cl(a,o,f,h){var x=rn,R=cs.transition;cs.transition=null;try{rn=1,ds(a,o,f,h)}finally{rn=x,cs.transition=R}}function fs(a,o,f,h){var x=rn,R=cs.transition;cs.transition=null;try{rn=4,ds(a,o,f,h)}finally{rn=x,cs.transition=R}}function ds(a,o,f,h){if(ai){var x=fl(a,o,f,h);if(x===null)Gf(a,o,h,Ks,f),Ea(a,h);else if(eo(x,a,o,f,h))h.stopPropagation();else if(Ea(a,h),o&4&&-1<jf.indexOf(a)){for(;x!==null;){var R=Dc(x);if(R!==null&&qs(R),R=fl(a,o,f,h),R===null&&Gf(a,o,h,Ks,f),R===x)break;x=R}x!==null&&h.stopPropagation()}else Gf(a,o,h,null,f)}}var Ks=null;function fl(a,o,f,h){if(Ks=null,a=mn(h),a=oi(a),a!==null)if(o=_t(a),o===null)a=null;else if(f=o.tag,f===13){if(a=Gt(o),a!==null)return a;a=null}else if(f===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;a=null}else o!==a&&(a=null);return Ks=a,null}function yc(a){switch(a){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Hp()){case Oi:return 1;case Ft:return 4;case Qi:case ts:return 16;case nl:return 536870912;default:return 16}default:return 16}}var Di=null,D=null,Y=null;function ce(){if(Y)return Y;var a,o=D,f=o.length,h,x="value"in Di?Di.value:Di.textContent,R=x.length;for(a=0;a<f&&o[a]===x[a];a++);var k=f-a;for(h=1;h<=k&&o[f-h]===x[R-h];h++);return Y=x.slice(a,1<h?1-h:void 0)}function ge(a){var o=a.keyCode;return"charCode"in a?(a=a.charCode,a===0&&o===13&&(a=13)):a=o,a===10&&(a=13),32<=a||a===13?a:0}function Be(){return!0}function gt(){return!1}function We(a){function o(f,h,x,R,k){this._reactName=f,this._targetInst=x,this.type=h,this.nativeEvent=R,this.target=k,this.currentTarget=null;for(var W in a)a.hasOwnProperty(W)&&(f=a[W],this[W]=f?f(R):R[W]);return this.isDefaultPrevented=(R.defaultPrevented!=null?R.defaultPrevented:R.returnValue===!1)?Be:gt,this.isPropagationStopped=gt,this}return F(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var f=this.nativeEvent;f&&(f.preventDefault?f.preventDefault():typeof f.returnValue!="unknown"&&(f.returnValue=!1),this.isDefaultPrevented=Be)},stopPropagation:function(){var f=this.nativeEvent;f&&(f.stopPropagation?f.stopPropagation():typeof f.cancelBubble!="unknown"&&(f.cancelBubble=!0),this.isPropagationStopped=Be)},persist:function(){},isPersistent:Be}),o}var ht={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Pt=We(ht),qt=F({},ht,{view:0,detail:0}),Tn=We(qt),gn,In,jn,Ut=F({},qt,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Yp,button:0,buttons:0,relatedTarget:function(a){return a.relatedTarget===void 0?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){return"movementX"in a?a.movementX:(a!==jn&&(jn&&a.type==="mousemove"?(gn=a.screenX-jn.screenX,In=a.screenY-jn.screenY):In=gn=0,jn=a),gn)},movementY:function(a){return"movementY"in a?a.movementY:In}}),Eo=We(Ut),dl=F({},Ut,{dataTransfer:0}),bc=We(dl),Gp=F({},qt,{relatedTarget:0}),ji=We(Gp),Cc=F({},ht,{animationName:0,elapsedTime:0,pseudoElement:0}),xc=We(Cc),$p=F({},ht,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),L0=We($p),F0=F({},ht,{data:0}),Wp=We(F0),Xp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Nm={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"},Om={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _m(a){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(a):(a=Om[a])?!!o[a]:!1}function Yp(){return _m}var So=F({},qt,{key:function(a){if(a.key){var o=Xp[a.key]||a.key;if(o!=="Unidentified")return o}return a.type==="keypress"?(a=ge(a),a===13?"Enter":String.fromCharCode(a)):a.type==="keydown"||a.type==="keyup"?Nm[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Yp,charCode:function(a){return a.type==="keypress"?ge(a):0},keyCode:function(a){return a.type==="keydown"||a.type==="keyup"?a.keyCode:0},which:function(a){return a.type==="keypress"?ge(a):a.type==="keydown"||a.type==="keyup"?a.keyCode:0}}),P0=We(So),Zp=F({},Ut,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Lf=We(Zp),Jp=F({},qt,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Yp}),V0=We(Jp),Ff=F({},ht,{propertyName:0,elapsedTime:0,pseudoElement:0}),Dm=We(Ff),Sa=F({},Ut,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),wo=We(Sa),fr=[9,13,27,32],ki=y&&"CompositionEvent"in window,eu=null;y&&"documentMode"in document&&(eu=document.documentMode);var Pf=y&&"TextEvent"in window&&!eu,jm=y&&(!ki||eu&&8<eu&&11>=eu),pl=" ",km=!1;function Mm(a,o){switch(a){case"keyup":return fr.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vf(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var vl=!1;function B0(a,o){switch(a){case"compositionend":return Vf(o);case"keypress":return o.which!==32?null:(km=!0,pl);case"textInput":return a=o.data,a===pl&&km?null:a;default:return null}}function z0(a,o){if(vl)return a==="compositionend"||!ki&&Mm(a,o)?(a=ce(),Y=D=Di=null,vl=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return jm&&o.locale!=="ko"?null:o.data;default:return null}}var Lm={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 Fm(a){var o=a&&a.nodeName&&a.nodeName.toLowerCase();return o==="input"?!!Lm[a.type]:o==="textarea"}function Pm(a,o,f,h){ni(h),o=Nc(o,"onChange"),0<o.length&&(f=new Pt("onChange","change",null,f,h),a.push({event:f,listeners:o}))}var Ec=null,hl=null;function ml(a){Uf(a,0)}function gl(a){var o=bl(a);if(Ne(o))return a}function Vm(a,o){if(a==="change")return o}var qp=!1;if(y){var Qp;if(y){var Kp="oninput"in document;if(!Kp){var Bm=document.createElement("div");Bm.setAttribute("oninput","return;"),Kp=typeof Bm.oninput=="function"}Qp=Kp}else Qp=!1;qp=Qp&&(!document.documentMode||9<document.documentMode)}function zm(){Ec&&(Ec.detachEvent("onpropertychange",Hm),hl=Ec=null)}function Hm(a){if(a.propertyName==="value"&&gl(hl)){var o=[];Pm(o,hl,a,mn(a)),es(ml,o)}}function H0(a,o,f){a==="focusin"?(zm(),Ec=o,hl=f,Ec.attachEvent("onpropertychange",Hm)):a==="focusout"&&zm()}function U0(a){if(a==="selectionchange"||a==="keyup"||a==="keydown")return gl(hl)}function G0(a,o){if(a==="click")return gl(o)}function Um(a,o){if(a==="input"||a==="change")return gl(o)}function $0(a,o){return a===o&&(a!==0||1/a===1/o)||a!==a&&o!==o}var ii=typeof Object.is=="function"?Object.is:$0;function Sc(a,o){if(ii(a,o))return!0;if(typeof a!="object"||a===null||typeof o!="object"||o===null)return!1;var f=Object.keys(a),h=Object.keys(o);if(f.length!==h.length)return!1;for(h=0;h<f.length;h++){var x=f[h];if(!g.call(o,x)||!ii(a[x],o[x]))return!1}return!0}function Gm(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function $m(a,o){var f=Gm(a);a=0;for(var h;f;){if(f.nodeType===3){if(h=a+f.textContent.length,a<=o&&h>=o)return{node:f,offset:o-a};a=h}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=Gm(f)}}function Wm(a,o){return a&&o?a===o?!0:a&&a.nodeType===3?!1:o&&o.nodeType===3?Wm(a,o.parentNode):"contains"in a?a.contains(o):a.compareDocumentPosition?!!(a.compareDocumentPosition(o)&16):!1:!1}function Bf(){for(var a=window,o=ft();o instanceof a.HTMLIFrameElement;){try{var f=typeof o.contentWindow.location.href=="string"}catch{f=!1}if(f)a=o.contentWindow;else break;o=ft(a.document)}return o}function Ro(a){var o=a&&a.nodeName&&a.nodeName.toLowerCase();return o&&(o==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||o==="textarea"||a.contentEditable==="true")}function zf(a){var o=Bf(),f=a.focusedElem,h=a.selectionRange;if(o!==f&&f&&f.ownerDocument&&Wm(f.ownerDocument.documentElement,f)){if(h!==null&&Ro(f)){if(o=h.start,a=h.end,a===void 0&&(a=o),"selectionStart"in f)f.selectionStart=o,f.selectionEnd=Math.min(a,f.value.length);else if(a=(o=f.ownerDocument||document)&&o.defaultView||window,a.getSelection){a=a.getSelection();var x=f.textContent.length,R=Math.min(h.start,x);h=h.end===void 0?R:Math.min(h.end,x),!a.extend&&R>h&&(x=h,h=R,R=x),x=$m(f,R);var k=$m(f,h);x&&k&&(a.rangeCount!==1||a.anchorNode!==x.node||a.anchorOffset!==x.offset||a.focusNode!==k.node||a.focusOffset!==k.offset)&&(o=o.createRange(),o.setStart(x.node,x.offset),a.removeAllRanges(),R>h?(a.addRange(o),a.extend(k.node,k.offset)):(o.setEnd(k.node,k.offset),a.addRange(o)))}}for(o=[],a=f;a=a.parentNode;)a.nodeType===1&&o.push({element:a,left:a.scrollLeft,top:a.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<o.length;f++)a=o[f],a.element.scrollLeft=a.left,a.element.scrollTop=a.top}}var Xm=y&&"documentMode"in document&&11>=document.documentMode,Mi=null,ev=null,wc=null,tv=!1;function Ym(a,o,f){var h=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;tv||Mi==null||Mi!==ft(h)||(h=Mi,"selectionStart"in h&&Ro(h)?h={start:h.selectionStart,end:h.selectionEnd}:(h=(h.ownerDocument&&h.ownerDocument.defaultView||window).getSelection(),h={anchorNode:h.anchorNode,anchorOffset:h.anchorOffset,focusNode:h.focusNode,focusOffset:h.focusOffset}),wc&&Sc(wc,h)||(wc=h,h=Nc(ev,"onSelect"),0<h.length&&(o=new Pt("onSelect","select",null,o,f),a.push({event:o,listeners:h}),o.target=Mi)))}function Hf(a,o){var f={};return f[a.toLowerCase()]=o.toLowerCase(),f["Webkit"+a]="webkit"+o,f["Moz"+a]="moz"+o,f}var tu={animationend:Hf("Animation","AnimationEnd"),animationiteration:Hf("Animation","AnimationIteration"),animationstart:Hf("Animation","AnimationStart"),transitionend:Hf("Transition","TransitionEnd")},nv={},rv={};y&&(rv=document.createElement("div").style,"AnimationEvent"in window||(delete tu.animationend.animation,delete tu.animationiteration.animation,delete tu.animationstart.animation),"TransitionEvent"in window||delete tu.transitionend.transition);function wr(a){if(nv[a])return nv[a];if(!tu[a])return a;var o=tu[a],f;for(f in o)if(o.hasOwnProperty(f)&&f in rv)return nv[a]=o[f];return a}var av=wr("animationend"),Zm=wr("animationiteration"),Jm=wr("animationstart"),qm=wr("transitionend"),Qm=new Map,Km="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function To(a,o){Qm.set(a,o),d(o,[a])}for(var Rc=0;Rc<Km.length;Rc++){var nu=Km[Rc],W0=nu.toLowerCase(),Tc=nu[0].toUpperCase()+nu.slice(1);To(W0,"on"+Tc)}To(av,"onAnimationEnd"),To(Zm,"onAnimationIteration"),To(Jm,"onAnimationStart"),To("dblclick","onDoubleClick"),To("focusin","onFocus"),To("focusout","onBlur"),To(qm,"onTransitionEnd"),p("onMouseEnter",["mouseout","mouseover"]),p("onMouseLeave",["mouseout","mouseover"]),p("onPointerEnter",["pointerout","pointerover"]),p("onPointerLeave",["pointerout","pointerover"]),d("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),d("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),d("onBeforeInput",["compositionend","keypress","textInput","paste"]),d("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),d("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),d("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ic="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),X0=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ic));function eg(a,o,f){var h=a.type||"unknown-event";a.currentTarget=f,Je(h,o,void 0,a),a.currentTarget=null}function Uf(a,o){o=(o&4)!==0;for(var f=0;f<a.length;f++){var h=a[f],x=h.event;h=h.listeners;e:{var R=void 0;if(o)for(var k=h.length-1;0<=k;k--){var W=h[k],J=W.instance,de=W.currentTarget;if(W=W.listener,J!==R&&x.isPropagationStopped())break e;eg(x,W,de),R=J}else for(k=0;k<h.length;k++){if(W=h[k],J=W.instance,de=W.currentTarget,W=W.listener,J!==R&&x.isPropagationStopped())break e;eg(x,W,de),R=J}}}if(Ji)throw a=Z,Ji=!1,Z=null,a}function An(a,o){var f=o[fv];f===void 0&&(f=o[fv]=new Set);var h=a+"__bubble";f.has(h)||(tg(o,a,2,!1),f.add(h))}function ps(a,o,f){var h=0;o&&(h|=4),tg(f,a,h,o)}var Io="_reactListening"+Math.random().toString(36).slice(2);function yl(a){if(!a[Io]){a[Io]=!0,u.forEach(function(f){f!=="selectionchange"&&(X0.has(f)||ps(f,!1,a),ps(f,!0,a))});var o=a.nodeType===9?a:a.ownerDocument;o===null||o[Io]||(o[Io]=!0,ps("selectionchange",!1,o))}}function tg(a,o,f,h){switch(yc(o)){case 1:var x=cl;break;case 4:x=fs;break;default:x=ds}f=x.bind(null,o,f,a),x=void 0,!Yi||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(x=!0),h?x!==void 0?a.addEventListener(o,f,{capture:!0,passive:x}):a.addEventListener(o,f,!0):x!==void 0?a.addEventListener(o,f,{passive:x}):a.addEventListener(o,f,!1)}function Gf(a,o,f,h,x){var R=h;if(!(o&1)&&!(o&2)&&h!==null)e:for(;;){if(h===null)return;var k=h.tag;if(k===3||k===4){var W=h.stateNode.containerInfo;if(W===x||W.nodeType===8&&W.parentNode===x)break;if(k===4)for(k=h.return;k!==null;){var J=k.tag;if((J===3||J===4)&&(J=k.stateNode.containerInfo,J===x||J.nodeType===8&&J.parentNode===x))return;k=k.return}for(;W!==null;){if(k=oi(W),k===null)return;if(J=k.tag,J===5||J===6){h=R=k;continue e}W=W.parentNode}}h=h.return}es(function(){var de=R,Me=mn(f),Fe=[];e:{var ke=Qm.get(a);if(ke!==void 0){var Ye=Pt,tt=a;switch(a){case"keypress":if(ge(f)===0)break e;case"keydown":case"keyup":Ye=P0;break;case"focusin":tt="focus",Ye=ji;break;case"focusout":tt="blur",Ye=ji;break;case"beforeblur":case"afterblur":Ye=ji;break;case"click":if(f.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Ye=Eo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Ye=bc;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Ye=V0;break;case av:case Zm:case Jm:Ye=xc;break;case qm:Ye=Dm;break;case"scroll":Ye=Tn;break;case"wheel":Ye=wo;break;case"copy":case"cut":case"paste":Ye=L0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ye=Lf}var at=(o&4)!==0,sr=!at&&a==="scroll",ne=at?ke!==null?ke+"Capture":null:ke;at=[];for(var K=de,oe;K!==null;){oe=K;var ze=oe.stateNode;if(oe.tag===5&&ze!==null&&(oe=ze,ne!==null&&(ze=Ba(K,ne),ze!=null&&at.push(Ac(K,ze,oe)))),sr)break;K=K.return}0<at.length&&(ke=new Ye(ke,tt,null,f,Me),Fe.push({event:ke,listeners:at}))}}if(!(o&7)){e:{if(ke=a==="mouseover"||a==="pointerover",Ye=a==="mouseout"||a==="pointerout",ke&&f!==$r&&(tt=f.relatedTarget||f.fromElement)&&(oi(tt)||tt[Ao]))break e;if((Ye||ke)&&(ke=Me.window===Me?Me:(ke=Me.ownerDocument)?ke.defaultView||ke.parentWindow:window,Ye?(tt=f.relatedTarget||f.toElement,Ye=de,tt=tt?oi(tt):null,tt!==null&&(sr=_t(tt),tt!==sr||tt.tag!==5&&tt.tag!==6)&&(tt=null)):(Ye=null,tt=de),Ye!==tt)){if(at=Eo,ze="onMouseLeave",ne="onMouseEnter",K="mouse",(a==="pointerout"||a==="pointerover")&&(at=Lf,ze="onPointerLeave",ne="onPointerEnter",K="pointer"),sr=Ye==null?ke:bl(Ye),oe=tt==null?ke:bl(tt),ke=new at(ze,K+"leave",Ye,f,Me),ke.target=sr,ke.relatedTarget=oe,ze=null,oi(Me)===de&&(at=new at(ne,K+"enter",tt,f,Me),at.target=oe,at.relatedTarget=sr,ze=at),sr=ze,Ye&&tt)t:{for(at=Ye,ne=tt,K=0,oe=at;oe;oe=ru(oe))K++;for(oe=0,ze=ne;ze;ze=ru(ze))oe++;for(;0<K-oe;)at=ru(at),K--;for(;0<oe-K;)ne=ru(ne),oe--;for(;K--;){if(at===ne||ne!==null&&at===ne.alternate)break t;at=ru(at),ne=ru(ne)}at=null}else at=null;Ye!==null&&iv(Fe,ke,Ye,at,!1),tt!==null&&sr!==null&&iv(Fe,sr,tt,at,!0)}}e:{if(ke=de?bl(de):window,Ye=ke.nodeName&&ke.nodeName.toLowerCase(),Ye==="select"||Ye==="input"&&ke.type==="file")var it=Vm;else if(Fm(ke))if(qp)it=Um;else{it=U0;var nt=H0}else(Ye=ke.nodeName)&&Ye.toLowerCase()==="input"&&(ke.type==="checkbox"||ke.type==="radio")&&(it=G0);if(it&&(it=it(a,de))){Pm(Fe,it,f,Me);break e}nt&&nt(a,ke,de),a==="focusout"&&(nt=ke._wrapperState)&&nt.controlled&&ke.type==="number"&&Mn(ke,"number",ke.value)}switch(nt=de?bl(de):window,a){case"focusin":(Fm(nt)||nt.contentEditable==="true")&&(Mi=nt,ev=de,wc=null);break;case"focusout":wc=ev=Mi=null;break;case"mousedown":tv=!0;break;case"contextmenu":case"mouseup":case"dragend":tv=!1,Ym(Fe,f,Me);break;case"selectionchange":if(Xm)break;case"keydown":case"keyup":Ym(Fe,f,Me)}var ut;if(ki)e:{switch(a){case"compositionstart":var Rt="onCompositionStart";break e;case"compositionend":Rt="onCompositionEnd";break e;case"compositionupdate":Rt="onCompositionUpdate";break e}Rt=void 0}else vl?Mm(a,f)&&(Rt="onCompositionEnd"):a==="keydown"&&f.keyCode===229&&(Rt="onCompositionStart");Rt&&(jm&&f.locale!=="ko"&&(vl||Rt!=="onCompositionStart"?Rt==="onCompositionEnd"&&vl&&(ut=ce()):(Di=Me,D="value"in Di?Di.value:Di.textContent,vl=!0)),nt=Nc(de,Rt),0<nt.length&&(Rt=new Wp(Rt,a,null,f,Me),Fe.push({event:Rt,listeners:nt}),ut?Rt.data=ut:(ut=Vf(f),ut!==null&&(Rt.data=ut)))),(ut=Pf?B0(a,f):z0(a,f))&&(de=Nc(de,"onBeforeInput"),0<de.length&&(Me=new Wp("onBeforeInput","beforeinput",null,f,Me),Fe.push({event:Me,listeners:de}),Me.data=ut))}Uf(Fe,o)})}function Ac(a,o,f){return{instance:a,listener:o,currentTarget:f}}function Nc(a,o){for(var f=o+"Capture",h=[];a!==null;){var x=a,R=x.stateNode;x.tag===5&&R!==null&&(x=R,R=Ba(a,f),R!=null&&h.unshift(Ac(a,R,x)),R=Ba(a,o),R!=null&&h.push(Ac(a,R,x))),a=a.return}return h}function ru(a){if(a===null)return null;do a=a.return;while(a&&a.tag!==5);return a||null}function iv(a,o,f,h,x){for(var R=o._reactName,k=[];f!==null&&f!==h;){var W=f,J=W.alternate,de=W.stateNode;if(J!==null&&J===h)break;W.tag===5&&de!==null&&(W=de,x?(J=Ba(f,R),J!=null&&k.unshift(Ac(f,J,W))):x||(J=Ba(f,R),J!=null&&k.push(Ac(f,J,W)))),f=f.return}k.length!==0&&a.push({event:o,listeners:k})}var ov=/\r\n?/g,Y0=/\u0000|\uFFFD/g;function sv(a){return(typeof a=="string"?a:""+a).replace(ov,`
94
+ `).replace(Y0,"")}function $f(a,o,f){if(o=sv(o),sv(a)!==o&&f)throw Error(i(425))}function Wf(){}var uv=null,au=null;function Oc(a,o){return a==="textarea"||a==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var iu=typeof setTimeout=="function"?setTimeout:void 0,ng=typeof clearTimeout=="function"?clearTimeout:void 0,lv=typeof Promise=="function"?Promise:void 0,cv=typeof queueMicrotask=="function"?queueMicrotask:typeof lv<"u"?function(a){return lv.resolve(null).then(a).catch(Z0)}:iu;function Z0(a){setTimeout(function(){throw a})}function vs(a,o){var f=o,h=0;do{var x=f.nextSibling;if(a.removeChild(f),x&&x.nodeType===8)if(f=x.data,f==="/$"){if(h===0){a.removeChild(x),ls(o);return}h--}else f!=="$"&&f!=="$?"&&f!=="$!"||h++;f=x}while(f);ls(o)}function Li(a){for(;a!=null;a=a.nextSibling){var o=a.nodeType;if(o===1||o===3)break;if(o===8){if(o=a.data,o==="$"||o==="$!"||o==="$?")break;if(o==="/$")return null}}return a}function _c(a){a=a.previousSibling;for(var o=0;a;){if(a.nodeType===8){var f=a.data;if(f==="$"||f==="$!"||f==="$?"){if(o===0)return a;o--}else f==="/$"&&o++}a=a.previousSibling}return null}var hs=Math.random().toString(36).slice(2),to="__reactFiber$"+hs,ou="__reactProps$"+hs,Ao="__reactContainer$"+hs,fv="__reactEvents$"+hs,J0="__reactListeners$"+hs,dv="__reactHandles$"+hs;function oi(a){var o=a[to];if(o)return o;for(var f=a.parentNode;f;){if(o=f[Ao]||f[to]){if(f=o.alternate,o.child!==null||f!==null&&f.child!==null)for(a=_c(a);a!==null;){if(f=a[to])return f;a=_c(a)}return o}a=f,f=a.parentNode}return null}function Dc(a){return a=a[to]||a[Ao],!a||a.tag!==5&&a.tag!==6&&a.tag!==13&&a.tag!==3?null:a}function bl(a){if(a.tag===5||a.tag===6)return a.stateNode;throw Error(i(33))}function ct(a){return a[ou]||null}var ms=[],Fn=-1;function jt(a){return{current:a}}function un(a){0>Fn||(a.current=ms[Fn],ms[Fn]=null,Fn--)}function pn(a,o){Fn++,ms[Fn]=a.current,a.current=o}var no={},wt=jt(no),er=jt(!1),wa=no;function si(a,o){var f=a.type.contextTypes;if(!f)return no;var h=a.stateNode;if(h&&h.__reactInternalMemoizedUnmaskedChildContext===o)return h.__reactInternalMemoizedMaskedChildContext;var x={},R;for(R in f)x[R]=o[R];return h&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=o,a.__reactInternalMemoizedMaskedChildContext=x),x}function Un(a){return a=a.childContextTypes,a!=null}function ui(){un(er),un(wt)}function gs(a,o,f){if(wt.current!==no)throw Error(i(168));pn(wt,o),pn(er,f)}function jc(a,o,f){var h=a.stateNode;if(o=o.childContextTypes,typeof h.getChildContext!="function")return f;h=h.getChildContext();for(var x in h)if(!(x in o))throw Error(i(108,he(a)||"Unknown",x));return F({},f,h)}function Xf(a){return a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||no,wa=wt.current,pn(wt,a),pn(er,er.current),!0}function rg(a,o,f){var h=a.stateNode;if(!h)throw Error(i(169));f?(a=jc(a,o,wa),h.__reactInternalMemoizedMergedChildContext=a,un(er),un(wt),pn(wt,a)):un(er),pn(er,f)}var Ua=null,Rr=!1,kc=!1;function pv(a){Ua===null?Ua=[a]:Ua.push(a)}function vv(a){Rr=!0,pv(a)}function Ra(){if(!kc&&Ua!==null){kc=!0;var a=0,o=rn;try{var f=Ua;for(rn=1;a<f.length;a++){var h=f[a];do h=h(!0);while(h!==null)}Ua=null,Rr=!1}catch(x){throw Ua!==null&&(Ua=Ua.slice(a+1)),Dn(Oi,Ra),x}finally{rn=o,kc=!1}}return null}var ys=[],Ta=0,su=null,Cl=0,Ia=[],Wr=0,li=null,kr=1,No="";function Ga(a,o){ys[Ta++]=Cl,ys[Ta++]=su,su=a,Cl=o}function hv(a,o,f){Ia[Wr++]=kr,Ia[Wr++]=No,Ia[Wr++]=li,li=a;var h=kr;a=No;var x=32-aa(h)-1;h&=~(1<<x),f+=1;var R=32-aa(o)+x;if(30<R){var k=x-x%5;R=(h&(1<<k)-1).toString(32),h>>=k,x-=k,kr=1<<32-aa(o)+x|f<<x|h,No=R+a}else kr=1<<R|f<<x|h,No=a}function Yf(a){a.return!==null&&(Ga(a,1),hv(a,1,0))}function mv(a){for(;a===su;)su=ys[--Ta],ys[Ta]=null,Cl=ys[--Ta],ys[Ta]=null;for(;a===li;)li=Ia[--Wr],Ia[Wr]=null,No=Ia[--Wr],Ia[Wr]=null,kr=Ia[--Wr],Ia[Wr]=null}var $a=null,Aa=null,Pn=!1,ci=null;function gv(a,o){var f=gi(5,null,null,0);f.elementType="DELETED",f.stateNode=o,f.return=a,o=a.deletions,o===null?(a.deletions=[f],a.flags|=16):o.push(f)}function ag(a,o){switch(a.tag){case 5:var f=a.type;return o=o.nodeType!==1||f.toLowerCase()!==o.nodeName.toLowerCase()?null:o,o!==null?(a.stateNode=o,$a=a,Aa=Li(o.firstChild),!0):!1;case 6:return o=a.pendingProps===""||o.nodeType!==3?null:o,o!==null?(a.stateNode=o,$a=a,Aa=null,!0):!1;case 13:return o=o.nodeType!==8?null:o,o!==null?(f=li!==null?{id:kr,overflow:No}:null,a.memoizedState={dehydrated:o,treeContext:f,retryLane:1073741824},f=gi(18,null,null,0),f.stateNode=o,f.return=a,a.child=f,$a=a,Aa=null,!0):!1;default:return!1}}function Zf(a){return(a.mode&1)!==0&&(a.flags&128)===0}function Jf(a){if(Pn){var o=Aa;if(o){var f=o;if(!ag(a,o)){if(Zf(a))throw Error(i(418));o=Li(f.nextSibling);var h=$a;o&&ag(a,o)?gv(h,f):(a.flags=a.flags&-4097|2,Pn=!1,$a=a)}}else{if(Zf(a))throw Error(i(418));a.flags=a.flags&-4097|2,Pn=!1,$a=a}}}function ig(a){for(a=a.return;a!==null&&a.tag!==5&&a.tag!==3&&a.tag!==13;)a=a.return;$a=a}function qf(a){if(a!==$a)return!1;if(!Pn)return ig(a),Pn=!0,!1;var o;if((o=a.tag!==3)&&!(o=a.tag!==5)&&(o=a.type,o=o!=="head"&&o!=="body"&&!Oc(a.type,a.memoizedProps)),o&&(o=Aa)){if(Zf(a))throw og(),Error(i(418));for(;o;)gv(a,o),o=Li(o.nextSibling)}if(ig(a),a.tag===13){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(i(317));e:{for(a=a.nextSibling,o=0;a;){if(a.nodeType===8){var f=a.data;if(f==="/$"){if(o===0){Aa=Li(a.nextSibling);break e}o--}else f!=="$"&&f!=="$!"&&f!=="$?"||o++}a=a.nextSibling}Aa=null}}else Aa=$a?Li(a.stateNode.nextSibling):null;return!0}function og(){for(var a=Aa;a;)a=Li(a.nextSibling)}function Yn(){Aa=$a=null,Pn=!1}function yv(a){ci===null?ci=[a]:ci.push(a)}var Qf=U.ReactCurrentBatchConfig;function Wa(a,o){if(a&&a.defaultProps){o=F({},o),a=a.defaultProps;for(var f in a)o[f]===void 0&&(o[f]=a[f]);return o}return o}var ro=jt(null),Kf=null,bs=null,bv=null;function Cv(){bv=bs=Kf=null}function Cs(a){var o=ro.current;un(ro),a._currentValue=o}function Tr(a,o,f){for(;a!==null;){var h=a.alternate;if((a.childLanes&o)!==o?(a.childLanes|=o,h!==null&&(h.childLanes|=o)):h!==null&&(h.childLanes&o)!==o&&(h.childLanes|=o),a===f)break;a=a.return}}function Ge(a,o){Kf=a,bv=bs=null,a=a.dependencies,a!==null&&a.firstContext!==null&&(a.lanes&o&&(dr=!0),a.firstContext=null)}function or(a){var o=a._currentValue;if(bv!==a)if(a={context:a,memoizedValue:o,next:null},bs===null){if(Kf===null)throw Error(i(308));bs=a,Kf.dependencies={lanes:0,firstContext:a}}else bs=bs.next=a;return o}var Mr=null;function xv(a){Mr===null?Mr=[a]:Mr.push(a)}function sg(a,o,f,h){var x=o.interleaved;return x===null?(f.next=f,xv(o)):(f.next=x.next,x.next=f),o.interleaved=f,Oo(a,h)}function Oo(a,o){a.lanes|=o;var f=a.alternate;for(f!==null&&(f.lanes|=o),f=a,a=a.return;a!==null;)a.childLanes|=o,f=a.alternate,f!==null&&(f.childLanes|=o),f=a,a=a.return;return f.tag===3?f.stateNode:null}var xs=!1;function Ev(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function gr(a,o){a=a.updateQueue,o.updateQueue===a&&(o.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects})}function _o(a,o){return{eventTime:a,lane:o,tag:0,payload:null,callback:null,next:null}}function Es(a,o,f){var h=a.updateQueue;if(h===null)return null;if(h=h.shared,zt&2){var x=h.pending;return x===null?o.next=o:(o.next=x.next,x.next=o),h.pending=o,Oo(a,f)}return x=h.interleaved,x===null?(o.next=o,xv(h)):(o.next=x.next,x.next=o),h.interleaved=o,Oo(a,f)}function ed(a,o,f){if(o=o.updateQueue,o!==null&&(o=o.shared,(f&4194240)!==0)){var h=o.lanes;h&=a.pendingLanes,f|=h,o.lanes=f,Ki(a,f)}}function Sv(a,o){var f=a.updateQueue,h=a.alternate;if(h!==null&&(h=h.updateQueue,f===h)){var x=null,R=null;if(f=f.firstBaseUpdate,f!==null){do{var k={eventTime:f.eventTime,lane:f.lane,tag:f.tag,payload:f.payload,callback:f.callback,next:null};R===null?x=R=k:R=R.next=k,f=f.next}while(f!==null);R===null?x=R=o:R=R.next=o}else x=R=o;f={baseState:h.baseState,firstBaseUpdate:x,lastBaseUpdate:R,shared:h.shared,effects:h.effects},a.updateQueue=f;return}a=f.lastBaseUpdate,a===null?f.firstBaseUpdate=o:a.next=o,f.lastBaseUpdate=o}function Ss(a,o,f,h){var x=a.updateQueue;xs=!1;var R=x.firstBaseUpdate,k=x.lastBaseUpdate,W=x.shared.pending;if(W!==null){x.shared.pending=null;var J=W,de=J.next;J.next=null,k===null?R=de:k.next=de,k=J;var Me=a.alternate;Me!==null&&(Me=Me.updateQueue,W=Me.lastBaseUpdate,W!==k&&(W===null?Me.firstBaseUpdate=de:W.next=de,Me.lastBaseUpdate=J))}if(R!==null){var Fe=x.baseState;k=0,Me=de=J=null,W=R;do{var ke=W.lane,Ye=W.eventTime;if((h&ke)===ke){Me!==null&&(Me=Me.next={eventTime:Ye,lane:0,tag:W.tag,payload:W.payload,callback:W.callback,next:null});e:{var tt=a,at=W;switch(ke=o,Ye=f,at.tag){case 1:if(tt=at.payload,typeof tt=="function"){Fe=tt.call(Ye,Fe,ke);break e}Fe=tt;break e;case 3:tt.flags=tt.flags&-65537|128;case 0:if(tt=at.payload,ke=typeof tt=="function"?tt.call(Ye,Fe,ke):tt,ke==null)break e;Fe=F({},Fe,ke);break e;case 2:xs=!0}}W.callback!==null&&W.lane!==0&&(a.flags|=64,ke=x.effects,ke===null?x.effects=[W]:ke.push(W))}else Ye={eventTime:Ye,lane:ke,tag:W.tag,payload:W.payload,callback:W.callback,next:null},Me===null?(de=Me=Ye,J=Fe):Me=Me.next=Ye,k|=ke;if(W=W.next,W===null){if(W=x.shared.pending,W===null)break;ke=W,W=ke.next,ke.next=null,x.lastBaseUpdate=ke,x.shared.pending=null}}while(!0);if(Me===null&&(J=Fe),x.baseState=J,x.firstBaseUpdate=de,x.lastBaseUpdate=Me,o=x.shared.interleaved,o!==null){x=o;do k|=x.lane,x=x.next;while(x!==o)}else R===null&&(x.shared.lanes=0);Mo|=k,a.lanes=k,a.memoizedState=Fe}}function uu(a,o,f){if(a=o.effects,o.effects=null,a!==null)for(o=0;o<a.length;o++){var h=a[o],x=h.callback;if(x!==null){if(h.callback=null,h=f,typeof x!="function")throw Error(i(191,x));x.call(h)}}}var ug=new n.Component().refs;function wv(a,o,f,h){o=a.memoizedState,f=f(h,o),f=f==null?o:F({},o,f),a.memoizedState=f,a.lanes===0&&(a.updateQueue.baseState=f)}var td={isMounted:function(a){return(a=a._reactInternals)?_t(a)===a:!1},enqueueSetState:function(a,o,f){a=a._reactInternals;var h=Jr(),x=pr(a),R=_o(h,x);R.payload=o,f!=null&&(R.callback=f),o=Es(a,R,x),o!==null&&(qr(o,a,x,h),ed(o,a,x))},enqueueReplaceState:function(a,o,f){a=a._reactInternals;var h=Jr(),x=pr(a),R=_o(h,x);R.tag=1,R.payload=o,f!=null&&(R.callback=f),o=Es(a,R,x),o!==null&&(qr(o,a,x,h),ed(o,a,x))},enqueueForceUpdate:function(a,o){a=a._reactInternals;var f=Jr(),h=pr(a),x=_o(f,h);x.tag=2,o!=null&&(x.callback=o),o=Es(a,x,h),o!==null&&(qr(o,a,h,f),ed(o,a,h))}};function lg(a,o,f,h,x,R,k){return a=a.stateNode,typeof a.shouldComponentUpdate=="function"?a.shouldComponentUpdate(h,R,k):o.prototype&&o.prototype.isPureReactComponent?!Sc(f,h)||!Sc(x,R):!0}function cg(a,o,f){var h=!1,x=no,R=o.contextType;return typeof R=="object"&&R!==null?R=or(R):(x=Un(o)?wa:wt.current,h=o.contextTypes,R=(h=h!=null)?si(a,x):no),o=new o(f,R),a.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=td,a.stateNode=o,o._reactInternals=a,h&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=x,a.__reactInternalMemoizedMaskedChildContext=R),o}function fg(a,o,f,h){a=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(f,h),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(f,h),o.state!==a&&td.enqueueReplaceState(o,o.state,null)}function nd(a,o,f,h){var x=a.stateNode;x.props=f,x.state=a.memoizedState,x.refs=ug,Ev(a);var R=o.contextType;typeof R=="object"&&R!==null?x.context=or(R):(R=Un(o)?wa:wt.current,x.context=si(a,R)),x.state=a.memoizedState,R=o.getDerivedStateFromProps,typeof R=="function"&&(wv(a,o,R,f),x.state=a.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof x.getSnapshotBeforeUpdate=="function"||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(o=x.state,typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount(),o!==x.state&&td.enqueueReplaceState(x,x.state,null),Ss(a,f,x,h),x.state=a.memoizedState),typeof x.componentDidMount=="function"&&(a.flags|=4194308)}function xl(a,o,f){if(a=f.ref,a!==null&&typeof a!="function"&&typeof a!="object"){if(f._owner){if(f=f._owner,f){if(f.tag!==1)throw Error(i(309));var h=f.stateNode}if(!h)throw Error(i(147,a));var x=h,R=""+a;return o!==null&&o.ref!==null&&typeof o.ref=="function"&&o.ref._stringRef===R?o.ref:(o=function(k){var W=x.refs;W===ug&&(W=x.refs={}),k===null?delete W[R]:W[R]=k},o._stringRef=R,o)}if(typeof a!="string")throw Error(i(284));if(!f._owner)throw Error(i(290,a))}return a}function rd(a,o){throw a=Object.prototype.toString.call(o),Error(i(31,a==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":a))}function dg(a){var o=a._init;return o(a._payload)}function pg(a){function o(ne,K){if(a){var oe=ne.deletions;oe===null?(ne.deletions=[K],ne.flags|=16):oe.push(K)}}function f(ne,K){if(!a)return null;for(;K!==null;)o(ne,K),K=K.sibling;return null}function h(ne,K){for(ne=new Map;K!==null;)K.key!==null?ne.set(K.key,K):ne.set(K.index,K),K=K.sibling;return ne}function x(ne,K){return ne=_s(ne,K),ne.index=0,ne.sibling=null,ne}function R(ne,K,oe){return ne.index=oe,a?(oe=ne.alternate,oe!==null?(oe=oe.index,oe<K?(ne.flags|=2,K):oe):(ne.flags|=2,K)):(ne.flags|=1048576,K)}function k(ne){return a&&ne.alternate===null&&(ne.flags|=2),ne}function W(ne,K,oe,ze){return K===null||K.tag!==6?(K=Kc(oe,ne.mode,ze),K.return=ne,K):(K=x(K,oe),K.return=ne,K)}function J(ne,K,oe,ze){var it=oe.type;return it===X?Me(ne,K,oe.props.children,ze,oe.key):K!==null&&(K.elementType===it||typeof it=="object"&&it!==null&&it.$$typeof===Oe&&dg(it)===K.type)?(ze=x(K,oe.props),ze.ref=xl(ne,K,oe),ze.return=ne,ze):(ze=Md(oe.type,oe.key,oe.props,null,ne.mode,ze),ze.ref=xl(ne,K,oe),ze.return=ne,ze)}function de(ne,K,oe,ze){return K===null||K.tag!==4||K.stateNode.containerInfo!==oe.containerInfo||K.stateNode.implementation!==oe.implementation?(K=Iu(oe,ne.mode,ze),K.return=ne,K):(K=x(K,oe.children||[]),K.return=ne,K)}function Me(ne,K,oe,ze,it){return K===null||K.tag!==7?(K=Tu(oe,ne.mode,ze,it),K.return=ne,K):(K=x(K,oe),K.return=ne,K)}function Fe(ne,K,oe){if(typeof K=="string"&&K!==""||typeof K=="number")return K=Kc(""+K,ne.mode,oe),K.return=ne,K;if(typeof K=="object"&&K!==null){switch(K.$$typeof){case z:return oe=Md(K.type,K.key,K.props,null,ne.mode,oe),oe.ref=xl(ne,null,K),oe.return=ne,oe;case G:return K=Iu(K,ne.mode,oe),K.return=ne,K;case Oe:var ze=K._init;return Fe(ne,ze(K._payload),oe)}if(Mt(K)||Le(K))return K=Tu(K,ne.mode,oe,null),K.return=ne,K;rd(ne,K)}return null}function ke(ne,K,oe,ze){var it=K!==null?K.key:null;if(typeof oe=="string"&&oe!==""||typeof oe=="number")return it!==null?null:W(ne,K,""+oe,ze);if(typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case z:return oe.key===it?J(ne,K,oe,ze):null;case G:return oe.key===it?de(ne,K,oe,ze):null;case Oe:return it=oe._init,ke(ne,K,it(oe._payload),ze)}if(Mt(oe)||Le(oe))return it!==null?null:Me(ne,K,oe,ze,null);rd(ne,oe)}return null}function Ye(ne,K,oe,ze,it){if(typeof ze=="string"&&ze!==""||typeof ze=="number")return ne=ne.get(oe)||null,W(K,ne,""+ze,it);if(typeof ze=="object"&&ze!==null){switch(ze.$$typeof){case z:return ne=ne.get(ze.key===null?oe:ze.key)||null,J(K,ne,ze,it);case G:return ne=ne.get(ze.key===null?oe:ze.key)||null,de(K,ne,ze,it);case Oe:var nt=ze._init;return Ye(ne,K,oe,nt(ze._payload),it)}if(Mt(ze)||Le(ze))return ne=ne.get(oe)||null,Me(K,ne,ze,it,null);rd(K,ze)}return null}function tt(ne,K,oe,ze){for(var it=null,nt=null,ut=K,Rt=K=0,Nr=null;ut!==null&&Rt<oe.length;Rt++){ut.index>Rt?(Nr=ut,ut=null):Nr=ut.sibling;var tn=ke(ne,ut,oe[Rt],ze);if(tn===null){ut===null&&(ut=Nr);break}a&&ut&&tn.alternate===null&&o(ne,ut),K=R(tn,K,Rt),nt===null?it=tn:nt.sibling=tn,nt=tn,ut=Nr}if(Rt===oe.length)return f(ne,ut),Pn&&Ga(ne,Rt),it;if(ut===null){for(;Rt<oe.length;Rt++)ut=Fe(ne,oe[Rt],ze),ut!==null&&(K=R(ut,K,Rt),nt===null?it=ut:nt.sibling=ut,nt=ut);return Pn&&Ga(ne,Rt),it}for(ut=h(ne,ut);Rt<oe.length;Rt++)Nr=Ye(ut,ne,Rt,oe[Rt],ze),Nr!==null&&(a&&Nr.alternate!==null&&ut.delete(Nr.key===null?Rt:Nr.key),K=R(Nr,K,Rt),nt===null?it=Nr:nt.sibling=Nr,nt=Nr);return a&&ut.forEach(function(Ds){return o(ne,Ds)}),Pn&&Ga(ne,Rt),it}function at(ne,K,oe,ze){var it=Le(oe);if(typeof it!="function")throw Error(i(150));if(oe=it.call(oe),oe==null)throw Error(i(151));for(var nt=it=null,ut=K,Rt=K=0,Nr=null,tn=oe.next();ut!==null&&!tn.done;Rt++,tn=oe.next()){ut.index>Rt?(Nr=ut,ut=null):Nr=ut.sibling;var Ds=ke(ne,ut,tn.value,ze);if(Ds===null){ut===null&&(ut=Nr);break}a&&ut&&Ds.alternate===null&&o(ne,ut),K=R(Ds,K,Rt),nt===null?it=Ds:nt.sibling=Ds,nt=Ds,ut=Nr}if(tn.done)return f(ne,ut),Pn&&Ga(ne,Rt),it;if(ut===null){for(;!tn.done;Rt++,tn=oe.next())tn=Fe(ne,tn.value,ze),tn!==null&&(K=R(tn,K,Rt),nt===null?it=tn:nt.sibling=tn,nt=tn);return Pn&&Ga(ne,Rt),it}for(ut=h(ne,ut);!tn.done;Rt++,tn=oe.next())tn=Ye(ut,ne,Rt,tn.value,ze),tn!==null&&(a&&tn.alternate!==null&&ut.delete(tn.key===null?Rt:tn.key),K=R(tn,K,Rt),nt===null?it=tn:nt.sibling=tn,nt=tn);return a&&ut.forEach(function(mC){return o(ne,mC)}),Pn&&Ga(ne,Rt),it}function sr(ne,K,oe,ze){if(typeof oe=="object"&&oe!==null&&oe.type===X&&oe.key===null&&(oe=oe.props.children),typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case z:e:{for(var it=oe.key,nt=K;nt!==null;){if(nt.key===it){if(it=oe.type,it===X){if(nt.tag===7){f(ne,nt.sibling),K=x(nt,oe.props.children),K.return=ne,ne=K;break e}}else if(nt.elementType===it||typeof it=="object"&&it!==null&&it.$$typeof===Oe&&dg(it)===nt.type){f(ne,nt.sibling),K=x(nt,oe.props),K.ref=xl(ne,nt,oe),K.return=ne,ne=K;break e}f(ne,nt);break}else o(ne,nt);nt=nt.sibling}oe.type===X?(K=Tu(oe.props.children,ne.mode,ze,oe.key),K.return=ne,ne=K):(ze=Md(oe.type,oe.key,oe.props,null,ne.mode,ze),ze.ref=xl(ne,K,oe),ze.return=ne,ne=ze)}return k(ne);case G:e:{for(nt=oe.key;K!==null;){if(K.key===nt)if(K.tag===4&&K.stateNode.containerInfo===oe.containerInfo&&K.stateNode.implementation===oe.implementation){f(ne,K.sibling),K=x(K,oe.children||[]),K.return=ne,ne=K;break e}else{f(ne,K);break}else o(ne,K);K=K.sibling}K=Iu(oe,ne.mode,ze),K.return=ne,ne=K}return k(ne);case Oe:return nt=oe._init,sr(ne,K,nt(oe._payload),ze)}if(Mt(oe))return tt(ne,K,oe,ze);if(Le(oe))return at(ne,K,oe,ze);rd(ne,oe)}return typeof oe=="string"&&oe!==""||typeof oe=="number"?(oe=""+oe,K!==null&&K.tag===6?(f(ne,K.sibling),K=x(K,oe),K.return=ne,ne=K):(f(ne,K),K=Kc(oe,ne.mode,ze),K.return=ne,ne=K),k(ne)):f(ne,K)}return sr}var El=pg(!0),vg=pg(!1),Mc={},Fi=jt(Mc),Lc=jt(Mc),Sl=jt(Mc);function lu(a){if(a===Mc)throw Error(i(174));return a}function Rv(a,o){switch(pn(Sl,o),pn(Lc,a),pn(Fi,Mc),a=o.nodeType,a){case 9:case 11:o=(o=o.documentElement)?o.namespaceURI:en(null,"");break;default:a=a===8?o.parentNode:o,o=a.namespaceURI||null,a=a.tagName,o=en(o,a)}un(Fi),pn(Fi,o)}function ws(){un(Fi),un(Lc),un(Sl)}function mt(a){lu(Sl.current);var o=lu(Fi.current),f=en(o,a.type);o!==f&&(pn(Lc,a),pn(Fi,f))}function Vt(a){Lc.current===a&&(un(Fi),un(Lc))}var yt=jt(0);function Zn(a){for(var o=a;o!==null;){if(o.tag===13){var f=o.memoizedState;if(f!==null&&(f=f.dehydrated,f===null||f.data==="$?"||f.data==="$!"))return o}else if(o.tag===19&&o.memoizedProps.revealOrder!==void 0){if(o.flags&128)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===a)break;for(;o.sibling===null;){if(o.return===null||o.return===a)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var fi=[];function ad(){for(var a=0;a<fi.length;a++)fi[a]._workInProgressVersionPrimary=null;fi.length=0}var id=U.ReactCurrentDispatcher,Tv=U.ReactCurrentBatchConfig,cu=0,Vn=null,Se=null,$t=null,bt=!1,ao=!1,Xa=0,fu=0;function Bn(){throw Error(i(321))}function du(a,o){if(o===null)return!1;for(var f=0;f<o.length&&f<a.length;f++)if(!ii(a[f],o[f]))return!1;return!0}function Rs(a,o,f,h,x,R){if(cu=R,Vn=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,id.current=a===null||a.memoizedState===null?Q0:K0,a=f(h,x),ao){R=0;do{if(ao=!1,Xa=0,25<=R)throw Error(i(301));R+=1,$t=Se=null,o.updateQueue=null,id.current=Av,a=f(h,x)}while(ao)}if(id.current=xd,o=Se!==null&&Se.next!==null,cu=0,$t=Se=Vn=null,bt=!1,o)throw Error(i(300));return a}function pu(){var a=Xa!==0;return Xa=0,a}function di(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return $t===null?Vn.memoizedState=$t=a:$t=$t.next=a,$t}function Na(){if(Se===null){var a=Vn.alternate;a=a!==null?a.memoizedState:null}else a=Se.next;var o=$t===null?Vn.memoizedState:$t.next;if(o!==null)$t=o,Se=a;else{if(a===null)throw Error(i(310));Se=a,a={memoizedState:Se.memoizedState,baseState:Se.baseState,baseQueue:Se.baseQueue,queue:Se.queue,next:null},$t===null?Vn.memoizedState=$t=a:$t=$t.next=a}return $t}function vu(a,o){return typeof o=="function"?o(a):o}function Fc(a){var o=Na(),f=o.queue;if(f===null)throw Error(i(311));f.lastRenderedReducer=a;var h=Se,x=h.baseQueue,R=f.pending;if(R!==null){if(x!==null){var k=x.next;x.next=R.next,R.next=k}h.baseQueue=x=R,f.pending=null}if(x!==null){R=x.next,h=h.baseState;var W=k=null,J=null,de=R;do{var Me=de.lane;if((cu&Me)===Me)J!==null&&(J=J.next={lane:0,action:de.action,hasEagerState:de.hasEagerState,eagerState:de.eagerState,next:null}),h=de.hasEagerState?de.eagerState:a(h,de.action);else{var Fe={lane:Me,action:de.action,hasEagerState:de.hasEagerState,eagerState:de.eagerState,next:null};J===null?(W=J=Fe,k=h):J=J.next=Fe,Vn.lanes|=Me,Mo|=Me}de=de.next}while(de!==null&&de!==R);J===null?k=h:J.next=W,ii(h,o.memoizedState)||(dr=!0),o.memoizedState=h,o.baseState=k,o.baseQueue=J,f.lastRenderedState=h}if(a=f.interleaved,a!==null){x=a;do R=x.lane,Vn.lanes|=R,Mo|=R,x=x.next;while(x!==a)}else x===null&&(f.lanes=0);return[o.memoizedState,f.dispatch]}function Pc(a){var o=Na(),f=o.queue;if(f===null)throw Error(i(311));f.lastRenderedReducer=a;var h=f.dispatch,x=f.pending,R=o.memoizedState;if(x!==null){f.pending=null;var k=x=x.next;do R=a(R,k.action),k=k.next;while(k!==x);ii(R,o.memoizedState)||(dr=!0),o.memoizedState=R,o.baseQueue===null&&(o.baseState=R),f.lastRenderedState=R}return[R,h]}function od(){}function sd(a,o){var f=Vn,h=Na(),x=o(),R=!ii(h.memoizedState,x);if(R&&(h.memoizedState=x,dr=!0),h=h.queue,Vc(cd.bind(null,f,h,a),[a]),h.getSnapshot!==o||R||$t!==null&&$t.memoizedState.tag&1){if(f.flags|=2048,hu(9,ld.bind(null,f,h,x,o),void 0,null),Jn===null)throw Error(i(349));cu&30||ud(f,o,x)}return x}function ud(a,o,f){a.flags|=16384,a={getSnapshot:o,value:f},o=Vn.updateQueue,o===null?(o={lastEffect:null,stores:null},Vn.updateQueue=o,o.stores=[a]):(f=o.stores,f===null?o.stores=[a]:f.push(a))}function ld(a,o,f,h){o.value=f,o.getSnapshot=h,fd(o)&&dd(a)}function cd(a,o,f){return f(function(){fd(o)&&dd(a)})}function fd(a){var o=a.getSnapshot;a=a.value;try{var f=o();return!ii(a,f)}catch{return!0}}function dd(a){var o=Oo(a,1);o!==null&&qr(o,a,1,-1)}function pd(a){var o=di();return typeof a=="function"&&(a=a()),o.memoizedState=o.baseState=a,a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:vu,lastRenderedState:a},o.queue=a,a=a.dispatch=Cd.bind(null,Vn,a),[o.memoizedState,a]}function hu(a,o,f,h){return a={tag:a,create:o,destroy:f,deps:h,next:null},o=Vn.updateQueue,o===null?(o={lastEffect:null,stores:null},Vn.updateQueue=o,o.lastEffect=a.next=a):(f=o.lastEffect,f===null?o.lastEffect=a.next=a:(h=f.next,f.next=a,a.next=h,o.lastEffect=a)),a}function vd(){return Na().memoizedState}function mu(a,o,f,h){var x=di();Vn.flags|=a,x.memoizedState=hu(1|o,f,void 0,h===void 0?null:h)}function Do(a,o,f,h){var x=Na();h=h===void 0?null:h;var R=void 0;if(Se!==null){var k=Se.memoizedState;if(R=k.destroy,h!==null&&du(h,k.deps)){x.memoizedState=hu(o,f,R,h);return}}Vn.flags|=a,x.memoizedState=hu(1|o,f,R,h)}function hd(a,o){return mu(8390656,8,a,o)}function Vc(a,o){return Do(2048,8,a,o)}function md(a,o){return Do(4,2,a,o)}function gd(a,o){return Do(4,4,a,o)}function Iv(a,o){if(typeof o=="function")return a=a(),o(a),function(){o(null)};if(o!=null)return a=a(),o.current=a,function(){o.current=null}}function wl(a,o,f){return f=f!=null?f.concat([a]):null,Do(4,4,Iv.bind(null,o,a),f)}function yd(){}function Rl(a,o){var f=Na();o=o===void 0?null:o;var h=f.memoizedState;return h!==null&&o!==null&&du(o,h[1])?h[0]:(f.memoizedState=[a,o],a)}function Ts(a,o){var f=Na();o=o===void 0?null:o;var h=f.memoizedState;return h!==null&&o!==null&&du(o,h[1])?h[0]:(a=a(),f.memoizedState=[a,o],a)}function Oa(a,o,f){return cu&21?(ii(f,o)||(f=al(),Vn.lanes|=f,Mo|=f,a.baseState=!0),o):(a.baseState&&(a.baseState=!1,dr=!0),a.memoizedState=f)}function q0(a,o){var f=rn;rn=f!==0&&4>f?f:4,a(!0);var h=Tv.transition;Tv.transition={};try{a(!1),o()}finally{rn=f,Tv.transition=h}}function Nn(){return Na().memoizedState}function bd(a,o,f){var h=pr(a);if(f={lane:h,action:f,hasEagerState:!1,eagerState:null,next:null},Tl(a))Bc(o,f);else if(f=sg(a,o,f,h),f!==null){var x=Jr();qr(f,a,h,x),hg(f,o,h)}}function Cd(a,o,f){var h=pr(a),x={lane:h,action:f,hasEagerState:!1,eagerState:null,next:null};if(Tl(a))Bc(o,x);else{var R=a.alternate;if(a.lanes===0&&(R===null||R.lanes===0)&&(R=o.lastRenderedReducer,R!==null))try{var k=o.lastRenderedState,W=R(k,f);if(x.hasEagerState=!0,x.eagerState=W,ii(W,k)){var J=o.interleaved;J===null?(x.next=x,xv(o)):(x.next=J.next,J.next=x),o.interleaved=x;return}}catch{}finally{}f=sg(a,o,x,h),f!==null&&(x=Jr(),qr(f,a,h,x),hg(f,o,h))}}function Tl(a){var o=a.alternate;return a===Vn||o!==null&&o===Vn}function Bc(a,o){ao=bt=!0;var f=a.pending;f===null?o.next=o:(o.next=f.next,f.next=o),a.pending=o}function hg(a,o,f){if(f&4194240){var h=o.lanes;h&=a.pendingLanes,f|=h,o.lanes=f,Ki(a,f)}}var xd={readContext:or,useCallback:Bn,useContext:Bn,useEffect:Bn,useImperativeHandle:Bn,useInsertionEffect:Bn,useLayoutEffect:Bn,useMemo:Bn,useReducer:Bn,useRef:Bn,useState:Bn,useDebugValue:Bn,useDeferredValue:Bn,useTransition:Bn,useMutableSource:Bn,useSyncExternalStore:Bn,useId:Bn,unstable_isNewReconciler:!1},Q0={readContext:or,useCallback:function(a,o){return di().memoizedState=[a,o===void 0?null:o],a},useContext:or,useEffect:hd,useImperativeHandle:function(a,o,f){return f=f!=null?f.concat([a]):null,mu(4194308,4,Iv.bind(null,o,a),f)},useLayoutEffect:function(a,o){return mu(4194308,4,a,o)},useInsertionEffect:function(a,o){return mu(4,2,a,o)},useMemo:function(a,o){var f=di();return o=o===void 0?null:o,a=a(),f.memoizedState=[a,o],a},useReducer:function(a,o,f){var h=di();return o=f!==void 0?f(o):o,h.memoizedState=h.baseState=o,a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:o},h.queue=a,a=a.dispatch=bd.bind(null,Vn,a),[h.memoizedState,a]},useRef:function(a){var o=di();return a={current:a},o.memoizedState=a},useState:pd,useDebugValue:yd,useDeferredValue:function(a){return di().memoizedState=a},useTransition:function(){var a=pd(!1),o=a[0];return a=q0.bind(null,a[1]),di().memoizedState=a,[o,a]},useMutableSource:function(){},useSyncExternalStore:function(a,o,f){var h=Vn,x=di();if(Pn){if(f===void 0)throw Error(i(407));f=f()}else{if(f=o(),Jn===null)throw Error(i(349));cu&30||ud(h,o,f)}x.memoizedState=f;var R={value:f,getSnapshot:o};return x.queue=R,hd(cd.bind(null,h,R,a),[a]),h.flags|=2048,hu(9,ld.bind(null,h,R,f,o),void 0,null),f},useId:function(){var a=di(),o=Jn.identifierPrefix;if(Pn){var f=No,h=kr;f=(h&~(1<<32-aa(h)-1)).toString(32)+f,o=":"+o+"R"+f,f=Xa++,0<f&&(o+="H"+f.toString(32)),o+=":"}else f=fu++,o=":"+o+"r"+f.toString(32)+":";return a.memoizedState=o},unstable_isNewReconciler:!1},K0={readContext:or,useCallback:Rl,useContext:or,useEffect:Vc,useImperativeHandle:wl,useInsertionEffect:md,useLayoutEffect:gd,useMemo:Ts,useReducer:Fc,useRef:vd,useState:function(){return Fc(vu)},useDebugValue:yd,useDeferredValue:function(a){var o=Na();return Oa(o,Se.memoizedState,a)},useTransition:function(){var a=Fc(vu)[0],o=Na().memoizedState;return[a,o]},useMutableSource:od,useSyncExternalStore:sd,useId:Nn,unstable_isNewReconciler:!1},Av={readContext:or,useCallback:Rl,useContext:or,useEffect:Vc,useImperativeHandle:wl,useInsertionEffect:md,useLayoutEffect:gd,useMemo:Ts,useReducer:Pc,useRef:vd,useState:function(){return Pc(vu)},useDebugValue:yd,useDeferredValue:function(a){var o=Na();return Se===null?o.memoizedState=a:Oa(o,Se.memoizedState,a)},useTransition:function(){var a=Pc(vu)[0],o=Na().memoizedState;return[a,o]},useMutableSource:od,useSyncExternalStore:sd,useId:Nn,unstable_isNewReconciler:!1};function Il(a,o){try{var f="",h=o;do f+=De(h),h=h.return;while(h);var x=f}catch(R){x=`
95
+ Error generating stack: `+R.message+`
96
+ `+R.stack}return{value:a,source:o,stack:x,digest:null}}function zc(a,o,f){return{value:a,source:null,stack:f??null,digest:o??null}}function Ed(a,o){try{console.error(o.value)}catch(f){setTimeout(function(){throw f})}}var eC=typeof WeakMap=="function"?WeakMap:Map;function mg(a,o,f){f=_o(-1,f),f.tag=3,f.payload={element:null};var h=o.value;return f.callback=function(){Nd||(Nd=!0,xu=h),Ed(a,o)},f}function Hc(a,o,f){f=_o(-1,f),f.tag=3;var h=a.type.getDerivedStateFromError;if(typeof h=="function"){var x=o.value;f.payload=function(){return h(x)},f.callback=function(){Ed(a,o)}}var R=a.stateNode;return R!==null&&typeof R.componentDidCatch=="function"&&(f.callback=function(){Ed(a,o),typeof h!="function"&&(so===null?so=new Set([this]):so.add(this));var k=o.stack;this.componentDidCatch(o.value,{componentStack:k!==null?k:""})}),f}function gg(a,o,f){var h=a.pingCache;if(h===null){h=a.pingCache=new eC;var x=new Set;h.set(o,x)}else x=h.get(o),x===void 0&&(x=new Set,h.set(o,x));x.has(f)||(x.add(f),a=sC.bind(null,a,o,f),o.then(a,a))}function Nv(a){do{var o;if((o=a.tag===13)&&(o=a.memoizedState,o=o!==null?o.dehydrated!==null:!0),o)return a;a=a.return}while(a!==null);return null}function Ov(a,o,f,h,x){return a.mode&1?(a.flags|=65536,a.lanes=x,a):(a===o?a.flags|=65536:(a.flags|=128,f.flags|=131072,f.flags&=-52805,f.tag===1&&(f.alternate===null?f.tag=17:(o=_o(-1,1),o.tag=2,Es(f,o,1))),f.lanes|=1),a)}var tC=U.ReactCurrentOwner,dr=!1;function yr(a,o,f,h){o.child=a===null?vg(o,null,f,h):El(o,a.child,f,h)}function Is(a,o,f,h,x){f=f.render;var R=o.ref;return Ge(o,x),h=Rs(a,o,f,h,R,x),f=pu(),a!==null&&!dr?(o.updateQueue=a.updateQueue,o.flags&=-2053,a.lanes&=~x,Lr(a,o,x)):(Pn&&f&&Yf(o),o.flags|=1,yr(a,o,h,x),o.child)}function Sd(a,o,f,h,x){if(a===null){var R=f.type;return typeof R=="function"&&!Zv(R)&&R.defaultProps===void 0&&f.compare===null&&f.defaultProps===void 0?(o.tag=15,o.type=R,_a(a,o,R,h,x)):(a=Md(f.type,null,h,o,o.mode,x),a.ref=o.ref,a.return=o,o.child=a)}if(R=a.child,!(a.lanes&x)){var k=R.memoizedProps;if(f=f.compare,f=f!==null?f:Sc,f(k,h)&&a.ref===o.ref)return Lr(a,o,x)}return o.flags|=1,a=_s(R,h),a.ref=o.ref,a.return=o,o.child=a}function _a(a,o,f,h,x){if(a!==null){var R=a.memoizedProps;if(Sc(R,h)&&a.ref===o.ref)if(dr=!1,o.pendingProps=h=R,(a.lanes&x)!==0)a.flags&131072&&(dr=!0);else return o.lanes=a.lanes,Lr(a,o,x)}return Al(a,o,f,h,x)}function gu(a,o,f){var h=o.pendingProps,x=h.children,R=a!==null?a.memoizedState:null;if(h.mode==="hidden")if(!(o.mode&1))o.memoizedState={baseLanes:0,cachePool:null,transitions:null},pn(kl,Ya),Ya|=f;else{if(!(f&1073741824))return a=R!==null?R.baseLanes|f:f,o.lanes=o.childLanes=1073741824,o.memoizedState={baseLanes:a,cachePool:null,transitions:null},o.updateQueue=null,pn(kl,Ya),Ya|=a,null;o.memoizedState={baseLanes:0,cachePool:null,transitions:null},h=R!==null?R.baseLanes:f,pn(kl,Ya),Ya|=h}else R!==null?(h=R.baseLanes|f,o.memoizedState=null):h=f,pn(kl,Ya),Ya|=h;return yr(a,o,x,f),o.child}function kt(a,o){var f=o.ref;(a===null&&f!==null||a!==null&&a.ref!==f)&&(o.flags|=512,o.flags|=2097152)}function Al(a,o,f,h,x){var R=Un(f)?wa:wt.current;return R=si(o,R),Ge(o,x),f=Rs(a,o,f,h,R,x),h=pu(),a!==null&&!dr?(o.updateQueue=a.updateQueue,o.flags&=-2053,a.lanes&=~x,Lr(a,o,x)):(Pn&&h&&Yf(o),o.flags|=1,yr(a,o,f,x),o.child)}function _v(a,o,f,h,x){if(Un(f)){var R=!0;Xf(o)}else R=!1;if(Ge(o,x),o.stateNode===null)Xr(a,o),cg(o,f,h),nd(o,f,h,x),h=!0;else if(a===null){var k=o.stateNode,W=o.memoizedProps;k.props=W;var J=k.context,de=f.contextType;typeof de=="object"&&de!==null?de=or(de):(de=Un(f)?wa:wt.current,de=si(o,de));var Me=f.getDerivedStateFromProps,Fe=typeof Me=="function"||typeof k.getSnapshotBeforeUpdate=="function";Fe||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(W!==h||J!==de)&&fg(o,k,h,de),xs=!1;var ke=o.memoizedState;k.state=ke,Ss(o,h,k,x),J=o.memoizedState,W!==h||ke!==J||er.current||xs?(typeof Me=="function"&&(wv(o,f,Me,h),J=o.memoizedState),(W=xs||lg(o,f,W,h,ke,J,de))?(Fe||typeof k.UNSAFE_componentWillMount!="function"&&typeof k.componentWillMount!="function"||(typeof k.componentWillMount=="function"&&k.componentWillMount(),typeof k.UNSAFE_componentWillMount=="function"&&k.UNSAFE_componentWillMount()),typeof k.componentDidMount=="function"&&(o.flags|=4194308)):(typeof k.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=h,o.memoizedState=J),k.props=h,k.state=J,k.context=de,h=W):(typeof k.componentDidMount=="function"&&(o.flags|=4194308),h=!1)}else{k=o.stateNode,gr(a,o),W=o.memoizedProps,de=o.type===o.elementType?W:Wa(o.type,W),k.props=de,Fe=o.pendingProps,ke=k.context,J=f.contextType,typeof J=="object"&&J!==null?J=or(J):(J=Un(f)?wa:wt.current,J=si(o,J));var Ye=f.getDerivedStateFromProps;(Me=typeof Ye=="function"||typeof k.getSnapshotBeforeUpdate=="function")||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(W!==Fe||ke!==J)&&fg(o,k,h,J),xs=!1,ke=o.memoizedState,k.state=ke,Ss(o,h,k,x);var tt=o.memoizedState;W!==Fe||ke!==tt||er.current||xs?(typeof Ye=="function"&&(wv(o,f,Ye,h),tt=o.memoizedState),(de=xs||lg(o,f,de,h,ke,tt,J)||!1)?(Me||typeof k.UNSAFE_componentWillUpdate!="function"&&typeof k.componentWillUpdate!="function"||(typeof k.componentWillUpdate=="function"&&k.componentWillUpdate(h,tt,J),typeof k.UNSAFE_componentWillUpdate=="function"&&k.UNSAFE_componentWillUpdate(h,tt,J)),typeof k.componentDidUpdate=="function"&&(o.flags|=4),typeof k.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof k.componentDidUpdate!="function"||W===a.memoizedProps&&ke===a.memoizedState||(o.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||W===a.memoizedProps&&ke===a.memoizedState||(o.flags|=1024),o.memoizedProps=h,o.memoizedState=tt),k.props=h,k.state=tt,k.context=J,h=de):(typeof k.componentDidUpdate!="function"||W===a.memoizedProps&&ke===a.memoizedState||(o.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||W===a.memoizedProps&&ke===a.memoizedState||(o.flags|=1024),h=!1)}return yg(a,o,f,h,R,x)}function yg(a,o,f,h,x,R){kt(a,o);var k=(o.flags&128)!==0;if(!h&&!k)return x&&rg(o,f,!1),Lr(a,o,R);h=o.stateNode,tC.current=o;var W=k&&typeof f.getDerivedStateFromError!="function"?null:h.render();return o.flags|=1,a!==null&&k?(o.child=El(o,a.child,null,R),o.child=El(o,null,W,R)):yr(a,o,W,R),o.memoizedState=h.state,x&&rg(o,f,!0),o.child}function bg(a){var o=a.stateNode;o.pendingContext?gs(a,o.pendingContext,o.pendingContext!==o.context):o.context&&gs(a,o.context,!1),Rv(a,o.containerInfo)}function wd(a,o,f,h,x){return Yn(),yv(x),o.flags|=256,yr(a,o,f,h),o.child}var yu={dehydrated:null,treeContext:null,retryLane:0};function Dv(a){return{baseLanes:a,cachePool:null,transitions:null}}function jv(a,o,f){var h=o.pendingProps,x=yt.current,R=!1,k=(o.flags&128)!==0,W;if((W=k)||(W=a!==null&&a.memoizedState===null?!1:(x&2)!==0),W?(R=!0,o.flags&=-129):(a===null||a.memoizedState!==null)&&(x|=1),pn(yt,x&1),a===null)return Jf(o),a=o.memoizedState,a!==null&&(a=a.dehydrated,a!==null)?(o.mode&1?a.data==="$!"?o.lanes=8:o.lanes=1073741824:o.lanes=1,null):(k=h.children,a=h.fallback,R?(h=o.mode,R=o.child,k={mode:"hidden",children:k},!(h&1)&&R!==null?(R.childLanes=0,R.pendingProps=k):R=Qc(k,h,0,null),a=Tu(a,h,f,null),R.return=o,a.return=o,R.sibling=a,o.child=R,o.child.memoizedState=Dv(f),o.memoizedState=yu,a):kv(o,k));if(x=a.memoizedState,x!==null&&(W=x.dehydrated,W!==null))return nC(a,o,k,h,W,x,f);if(R){R=h.fallback,k=o.mode,x=a.child,W=x.sibling;var J={mode:"hidden",children:h.children};return!(k&1)&&o.child!==x?(h=o.child,h.childLanes=0,h.pendingProps=J,o.deletions=null):(h=_s(x,J),h.subtreeFlags=x.subtreeFlags&14680064),W!==null?R=_s(W,R):(R=Tu(R,k,f,null),R.flags|=2),R.return=o,h.return=o,h.sibling=R,o.child=h,h=R,R=o.child,k=a.child.memoizedState,k=k===null?Dv(f):{baseLanes:k.baseLanes|f,cachePool:null,transitions:k.transitions},R.memoizedState=k,R.childLanes=a.childLanes&~f,o.memoizedState=yu,h}return R=a.child,a=R.sibling,h=_s(R,{mode:"visible",children:h.children}),!(o.mode&1)&&(h.lanes=f),h.return=o,h.sibling=null,a!==null&&(f=o.deletions,f===null?(o.deletions=[a],o.flags|=16):f.push(a)),o.child=h,o.memoizedState=null,h}function kv(a,o){return o=Qc({mode:"visible",children:o},a.mode,0,null),o.return=a,a.child=o}function Nl(a,o,f,h){return h!==null&&yv(h),El(o,a.child,null,f),a=kv(o,o.pendingProps.children),a.flags|=2,o.memoizedState=null,a}function nC(a,o,f,h,x,R,k){if(f)return o.flags&256?(o.flags&=-257,h=zc(Error(i(422))),Nl(a,o,k,h)):o.memoizedState!==null?(o.child=a.child,o.flags|=128,null):(R=h.fallback,x=o.mode,h=Qc({mode:"visible",children:h.children},x,0,null),R=Tu(R,x,k,null),R.flags|=2,h.return=o,R.return=o,h.sibling=R,o.child=h,o.mode&1&&El(o,a.child,null,k),o.child.memoizedState=Dv(k),o.memoizedState=yu,R);if(!(o.mode&1))return Nl(a,o,k,null);if(x.data==="$!"){if(h=x.nextSibling&&x.nextSibling.dataset,h)var W=h.dgst;return h=W,R=Error(i(419)),h=zc(R,h,void 0),Nl(a,o,k,h)}if(W=(k&a.childLanes)!==0,dr||W){if(h=Jn,h!==null){switch(k&-k){case 4:x=2;break;case 16:x=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:x=32;break;case 536870912:x=268435456;break;default:x=0}x=x&(h.suspendedLanes|k)?0:x,x!==0&&x!==R.retryLane&&(R.retryLane=x,Oo(a,x),qr(h,a,x,-1))}return Wv(),h=zc(Error(i(421))),Nl(a,o,k,h)}return x.data==="$?"?(o.flags|=128,o.child=a.child,o=uC.bind(null,a),x._reactRetry=o,null):(a=R.treeContext,Aa=Li(x.nextSibling),$a=o,Pn=!0,ci=null,a!==null&&(Ia[Wr++]=kr,Ia[Wr++]=No,Ia[Wr++]=li,kr=a.id,No=a.overflow,li=o),o=kv(o,h.children),o.flags|=4096,o)}function Mv(a,o,f){a.lanes|=o;var h=a.alternate;h!==null&&(h.lanes|=o),Tr(a.return,o,f)}function Rd(a,o,f,h,x){var R=a.memoizedState;R===null?a.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:h,tail:f,tailMode:x}:(R.isBackwards=o,R.rendering=null,R.renderingStartTime=0,R.last=h,R.tail=f,R.tailMode=x)}function Lv(a,o,f){var h=o.pendingProps,x=h.revealOrder,R=h.tail;if(yr(a,o,h.children,f),h=yt.current,h&2)h=h&1|2,o.flags|=128;else{if(a!==null&&a.flags&128)e:for(a=o.child;a!==null;){if(a.tag===13)a.memoizedState!==null&&Mv(a,f,o);else if(a.tag===19)Mv(a,f,o);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===o)break e;for(;a.sibling===null;){if(a.return===null||a.return===o)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}h&=1}if(pn(yt,h),!(o.mode&1))o.memoizedState=null;else switch(x){case"forwards":for(f=o.child,x=null;f!==null;)a=f.alternate,a!==null&&Zn(a)===null&&(x=f),f=f.sibling;f=x,f===null?(x=o.child,o.child=null):(x=f.sibling,f.sibling=null),Rd(o,!1,x,f,R);break;case"backwards":for(f=null,x=o.child,o.child=null;x!==null;){if(a=x.alternate,a!==null&&Zn(a)===null){o.child=x;break}a=x.sibling,x.sibling=f,f=x,x=a}Rd(o,!0,f,null,R);break;case"together":Rd(o,!1,null,null,void 0);break;default:o.memoizedState=null}return o.child}function Xr(a,o){!(o.mode&1)&&a!==null&&(a.alternate=null,o.alternate=null,o.flags|=2)}function Lr(a,o,f){if(a!==null&&(o.dependencies=a.dependencies),Mo|=o.lanes,!(f&o.childLanes))return null;if(a!==null&&o.child!==a.child)throw Error(i(153));if(o.child!==null){for(a=o.child,f=_s(a,a.pendingProps),o.child=f,f.return=o;a.sibling!==null;)a=a.sibling,f=f.sibling=_s(a,a.pendingProps),f.return=o;f.sibling=null}return o.child}function jo(a,o,f){switch(o.tag){case 3:bg(o),Yn();break;case 5:mt(o);break;case 1:Un(o.type)&&Xf(o);break;case 4:Rv(o,o.stateNode.containerInfo);break;case 10:var h=o.type._context,x=o.memoizedProps.value;pn(ro,h._currentValue),h._currentValue=x;break;case 13:if(h=o.memoizedState,h!==null)return h.dehydrated!==null?(pn(yt,yt.current&1),o.flags|=128,null):f&o.child.childLanes?jv(a,o,f):(pn(yt,yt.current&1),a=Lr(a,o,f),a!==null?a.sibling:null);pn(yt,yt.current&1);break;case 19:if(h=(f&o.childLanes)!==0,a.flags&128){if(h)return Lv(a,o,f);o.flags|=128}if(x=o.memoizedState,x!==null&&(x.rendering=null,x.tail=null,x.lastEffect=null),pn(yt,yt.current),h)break;return null;case 22:case 23:return o.lanes=0,gu(a,o,f)}return Lr(a,o,f)}var Uc,bu,pi,br;Uc=function(a,o){for(var f=o.child;f!==null;){if(f.tag===5||f.tag===6)a.appendChild(f.stateNode);else if(f.tag!==4&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===o)break;for(;f.sibling===null;){if(f.return===null||f.return===o)return;f=f.return}f.sibling.return=f.return,f=f.sibling}},bu=function(){},pi=function(a,o,f,h){var x=a.memoizedProps;if(x!==h){a=o.stateNode,lu(Fi.current);var R=null;switch(f){case"input":x=Bt(a,x),h=Bt(a,h),R=[];break;case"select":x=F({},x,{value:void 0}),h=F({},h,{value:void 0}),R=[];break;case"textarea":x=$n(a,x),h=$n(a,h),R=[];break;default:typeof x.onClick!="function"&&typeof h.onClick=="function"&&(a.onclick=Wf)}ir(f,h);var k;f=null;for(de in x)if(!h.hasOwnProperty(de)&&x.hasOwnProperty(de)&&x[de]!=null)if(de==="style"){var W=x[de];for(k in W)W.hasOwnProperty(k)&&(f||(f={}),f[k]="")}else de!=="dangerouslySetInnerHTML"&&de!=="children"&&de!=="suppressContentEditableWarning"&&de!=="suppressHydrationWarning"&&de!=="autoFocus"&&(l.hasOwnProperty(de)?R||(R=[]):(R=R||[]).push(de,null));for(de in h){var J=h[de];if(W=x!=null?x[de]:void 0,h.hasOwnProperty(de)&&J!==W&&(J!=null||W!=null))if(de==="style")if(W){for(k in W)!W.hasOwnProperty(k)||J&&J.hasOwnProperty(k)||(f||(f={}),f[k]="");for(k in J)J.hasOwnProperty(k)&&W[k]!==J[k]&&(f||(f={}),f[k]=J[k])}else f||(R||(R=[]),R.push(de,f)),f=J;else de==="dangerouslySetInnerHTML"?(J=J?J.__html:void 0,W=W?W.__html:void 0,J!=null&&W!==J&&(R=R||[]).push(de,J)):de==="children"?typeof J!="string"&&typeof J!="number"||(R=R||[]).push(de,""+J):de!=="suppressContentEditableWarning"&&de!=="suppressHydrationWarning"&&(l.hasOwnProperty(de)?(J!=null&&de==="onScroll"&&An("scroll",a),R||W===J||(R=[])):(R=R||[]).push(de,J))}f&&(R=R||[]).push("style",f);var de=R;(o.updateQueue=de)&&(o.flags|=4)}},br=function(a,o,f,h){f!==h&&(o.flags|=4)};function Gc(a,o){if(!Pn)switch(a.tailMode){case"hidden":o=a.tail;for(var f=null;o!==null;)o.alternate!==null&&(f=o),o=o.sibling;f===null?a.tail=null:f.sibling=null;break;case"collapsed":f=a.tail;for(var h=null;f!==null;)f.alternate!==null&&(h=f),f=f.sibling;h===null?o||a.tail===null?a.tail=null:a.tail.sibling=null:h.sibling=null}}function Yr(a){var o=a.alternate!==null&&a.alternate.child===a.child,f=0,h=0;if(o)for(var x=a.child;x!==null;)f|=x.lanes|x.childLanes,h|=x.subtreeFlags&14680064,h|=x.flags&14680064,x.return=a,x=x.sibling;else for(x=a.child;x!==null;)f|=x.lanes|x.childLanes,h|=x.subtreeFlags,h|=x.flags,x.return=a,x=x.sibling;return a.subtreeFlags|=h,a.childLanes=f,o}function rC(a,o,f){var h=o.pendingProps;switch(mv(o),o.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Yr(o),null;case 1:return Un(o.type)&&ui(),Yr(o),null;case 3:return h=o.stateNode,ws(),un(er),un(wt),ad(),h.pendingContext&&(h.context=h.pendingContext,h.pendingContext=null),(a===null||a.child===null)&&(qf(o)?o.flags|=4:a===null||a.memoizedState.isDehydrated&&!(o.flags&256)||(o.flags|=1024,ci!==null&&(qc(ci),ci=null))),bu(a,o),Yr(o),null;case 5:Vt(o);var x=lu(Sl.current);if(f=o.type,a!==null&&o.stateNode!=null)pi(a,o,f,h,x),a.ref!==o.ref&&(o.flags|=512,o.flags|=2097152);else{if(!h){if(o.stateNode===null)throw Error(i(166));return Yr(o),null}if(a=lu(Fi.current),qf(o)){h=o.stateNode,f=o.type;var R=o.memoizedProps;switch(h[to]=o,h[ou]=R,a=(o.mode&1)!==0,f){case"dialog":An("cancel",h),An("close",h);break;case"iframe":case"object":case"embed":An("load",h);break;case"video":case"audio":for(x=0;x<Ic.length;x++)An(Ic[x],h);break;case"source":An("error",h);break;case"img":case"image":case"link":An("error",h),An("load",h);break;case"details":An("toggle",h);break;case"input":lt(h,R),An("invalid",h);break;case"select":h._wrapperState={wasMultiple:!!R.multiple},An("invalid",h);break;case"textarea":rr(h,R),An("invalid",h)}ir(f,R),x=null;for(var k in R)if(R.hasOwnProperty(k)){var W=R[k];k==="children"?typeof W=="string"?h.textContent!==W&&(R.suppressHydrationWarning!==!0&&$f(h.textContent,W,a),x=["children",W]):typeof W=="number"&&h.textContent!==""+W&&(R.suppressHydrationWarning!==!0&&$f(h.textContent,W,a),x=["children",""+W]):l.hasOwnProperty(k)&&W!=null&&k==="onScroll"&&An("scroll",h)}switch(f){case"input":It(h),Hn(h,R,!0);break;case"textarea":It(h),Qn(h);break;case"select":case"option":break;default:typeof R.onClick=="function"&&(h.onclick=Wf)}h=x,o.updateQueue=h,h!==null&&(o.flags|=4)}else{k=x.nodeType===9?x:x.ownerDocument,a==="http://www.w3.org/1999/xhtml"&&(a=St(f)),a==="http://www.w3.org/1999/xhtml"?f==="script"?(a=k.createElement("div"),a.innerHTML="<script><\/script>",a=a.removeChild(a.firstChild)):typeof h.is=="string"?a=k.createElement(f,{is:h.is}):(a=k.createElement(f),f==="select"&&(k=a,h.multiple?k.multiple=!0:h.size&&(k.size=h.size))):a=k.createElementNS(a,f),a[to]=o,a[ou]=h,Uc(a,o,!1,!1),o.stateNode=a;e:{switch(k=Wn(f,h),f){case"dialog":An("cancel",a),An("close",a),x=h;break;case"iframe":case"object":case"embed":An("load",a),x=h;break;case"video":case"audio":for(x=0;x<Ic.length;x++)An(Ic[x],a);x=h;break;case"source":An("error",a),x=h;break;case"img":case"image":case"link":An("error",a),An("load",a),x=h;break;case"details":An("toggle",a),x=h;break;case"input":lt(a,h),x=Bt(a,h),An("invalid",a);break;case"option":x=h;break;case"select":a._wrapperState={wasMultiple:!!h.multiple},x=F({},h,{value:void 0}),An("invalid",a);break;case"textarea":rr(a,h),x=$n(a,h),An("invalid",a);break;default:x=h}ir(f,x),W=x;for(R in W)if(W.hasOwnProperty(R)){var J=W[R];R==="style"?sn(a,J):R==="dangerouslySetInnerHTML"?(J=J?J.__html:void 0,J!=null&&Xi(a,J)):R==="children"?typeof J=="string"?(f!=="textarea"||J!=="")&&Va(a,J):typeof J=="number"&&Va(a,""+J):R!=="suppressContentEditableWarning"&&R!=="suppressHydrationWarning"&&R!=="autoFocus"&&(l.hasOwnProperty(R)?J!=null&&R==="onScroll"&&An("scroll",a):J!=null&&P(a,R,J,k))}switch(f){case"input":It(a),Hn(a,h,!1);break;case"textarea":It(a),Qn(a);break;case"option":h.value!=null&&a.setAttribute("value",""+Te(h.value));break;case"select":a.multiple=!!h.multiple,R=h.value,R!=null?Ln(a,!!h.multiple,R,!1):h.defaultValue!=null&&Ln(a,!!h.multiple,h.defaultValue,!0);break;default:typeof x.onClick=="function"&&(a.onclick=Wf)}switch(f){case"button":case"input":case"select":case"textarea":h=!!h.autoFocus;break e;case"img":h=!0;break e;default:h=!1}}h&&(o.flags|=4)}o.ref!==null&&(o.flags|=512,o.flags|=2097152)}return Yr(o),null;case 6:if(a&&o.stateNode!=null)br(a,o,a.memoizedProps,h);else{if(typeof h!="string"&&o.stateNode===null)throw Error(i(166));if(f=lu(Sl.current),lu(Fi.current),qf(o)){if(h=o.stateNode,f=o.memoizedProps,h[to]=o,(R=h.nodeValue!==f)&&(a=$a,a!==null))switch(a.tag){case 3:$f(h.nodeValue,f,(a.mode&1)!==0);break;case 5:a.memoizedProps.suppressHydrationWarning!==!0&&$f(h.nodeValue,f,(a.mode&1)!==0)}R&&(o.flags|=4)}else h=(f.nodeType===9?f:f.ownerDocument).createTextNode(h),h[to]=o,o.stateNode=h}return Yr(o),null;case 13:if(un(yt),h=o.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(Pn&&Aa!==null&&o.mode&1&&!(o.flags&128))og(),Yn(),o.flags|=98560,R=!1;else if(R=qf(o),h!==null&&h.dehydrated!==null){if(a===null){if(!R)throw Error(i(318));if(R=o.memoizedState,R=R!==null?R.dehydrated:null,!R)throw Error(i(317));R[to]=o}else Yn(),!(o.flags&128)&&(o.memoizedState=null),o.flags|=4;Yr(o),R=!1}else ci!==null&&(qc(ci),ci=null),R=!0;if(!R)return o.flags&65536?o:null}return o.flags&128?(o.lanes=f,o):(h=h!==null,h!==(a!==null&&a.memoizedState!==null)&&h&&(o.child.flags|=8192,o.mode&1&&(a===null||yt.current&1?xr===0&&(xr=3):Wv())),o.updateQueue!==null&&(o.flags|=4),Yr(o),null);case 4:return ws(),bu(a,o),a===null&&yl(o.stateNode.containerInfo),Yr(o),null;case 10:return Cs(o.type._context),Yr(o),null;case 17:return Un(o.type)&&ui(),Yr(o),null;case 19:if(un(yt),R=o.memoizedState,R===null)return Yr(o),null;if(h=(o.flags&128)!==0,k=R.rendering,k===null)if(h)Gc(R,!1);else{if(xr!==0||a!==null&&a.flags&128)for(a=o.child;a!==null;){if(k=Zn(a),k!==null){for(o.flags|=128,Gc(R,!1),h=k.updateQueue,h!==null&&(o.updateQueue=h,o.flags|=4),o.subtreeFlags=0,h=f,f=o.child;f!==null;)R=f,a=h,R.flags&=14680066,k=R.alternate,k===null?(R.childLanes=0,R.lanes=a,R.child=null,R.subtreeFlags=0,R.memoizedProps=null,R.memoizedState=null,R.updateQueue=null,R.dependencies=null,R.stateNode=null):(R.childLanes=k.childLanes,R.lanes=k.lanes,R.child=k.child,R.subtreeFlags=0,R.deletions=null,R.memoizedProps=k.memoizedProps,R.memoizedState=k.memoizedState,R.updateQueue=k.updateQueue,R.type=k.type,a=k.dependencies,R.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),f=f.sibling;return pn(yt,yt.current&1|2),o.child}a=a.sibling}R.tail!==null&&Zt()>Ll&&(o.flags|=128,h=!0,Gc(R,!1),o.lanes=4194304)}else{if(!h)if(a=Zn(k),a!==null){if(o.flags|=128,h=!0,f=a.updateQueue,f!==null&&(o.updateQueue=f,o.flags|=4),Gc(R,!0),R.tail===null&&R.tailMode==="hidden"&&!k.alternate&&!Pn)return Yr(o),null}else 2*Zt()-R.renderingStartTime>Ll&&f!==1073741824&&(o.flags|=128,h=!0,Gc(R,!1),o.lanes=4194304);R.isBackwards?(k.sibling=o.child,o.child=k):(f=R.last,f!==null?f.sibling=k:o.child=k,R.last=k)}return R.tail!==null?(o=R.tail,R.rendering=o,R.tail=o.sibling,R.renderingStartTime=Zt(),o.sibling=null,f=yt.current,pn(yt,h?f&1|2:f&1),o):(Yr(o),null);case 22:case 23:return $v(),h=o.memoizedState!==null,a!==null&&a.memoizedState!==null!==h&&(o.flags|=8192),h&&o.mode&1?Ya&1073741824&&(Yr(o),o.subtreeFlags&6&&(o.flags|=8192)):Yr(o),null;case 24:return null;case 25:return null}throw Error(i(156,o.tag))}function Fv(a,o){switch(mv(o),o.tag){case 1:return Un(o.type)&&ui(),a=o.flags,a&65536?(o.flags=a&-65537|128,o):null;case 3:return ws(),un(er),un(wt),ad(),a=o.flags,a&65536&&!(a&128)?(o.flags=a&-65537|128,o):null;case 5:return Vt(o),null;case 13:if(un(yt),a=o.memoizedState,a!==null&&a.dehydrated!==null){if(o.alternate===null)throw Error(i(340));Yn()}return a=o.flags,a&65536?(o.flags=a&-65537|128,o):null;case 19:return un(yt),null;case 4:return ws(),null;case 10:return Cs(o.type._context),null;case 22:case 23:return $v(),null;case 24:return null;default:return null}}var $c=!1,Cr=!1,Cg=typeof WeakSet=="function"?WeakSet:Set,et=null;function Ol(a,o){var f=a.ref;if(f!==null)if(typeof f=="function")try{f(null)}catch(h){nr(a,o,h)}else f.current=null}function Wc(a,o,f){try{f()}catch(h){nr(a,o,h)}}var xg=!1;function Eg(a,o){if(uv=ai,a=Bf(),Ro(a)){if("selectionStart"in a)var f={start:a.selectionStart,end:a.selectionEnd};else e:{f=(f=a.ownerDocument)&&f.defaultView||window;var h=f.getSelection&&f.getSelection();if(h&&h.rangeCount!==0){f=h.anchorNode;var x=h.anchorOffset,R=h.focusNode;h=h.focusOffset;try{f.nodeType,R.nodeType}catch{f=null;break e}var k=0,W=-1,J=-1,de=0,Me=0,Fe=a,ke=null;t:for(;;){for(var Ye;Fe!==f||x!==0&&Fe.nodeType!==3||(W=k+x),Fe!==R||h!==0&&Fe.nodeType!==3||(J=k+h),Fe.nodeType===3&&(k+=Fe.nodeValue.length),(Ye=Fe.firstChild)!==null;)ke=Fe,Fe=Ye;for(;;){if(Fe===a)break t;if(ke===f&&++de===x&&(W=k),ke===R&&++Me===h&&(J=k),(Ye=Fe.nextSibling)!==null)break;Fe=ke,ke=Fe.parentNode}Fe=Ye}f=W===-1||J===-1?null:{start:W,end:J}}else f=null}f=f||{start:0,end:0}}else f=null;for(au={focusedElem:a,selectionRange:f},ai=!1,et=o;et!==null;)if(o=et,a=o.child,(o.subtreeFlags&1028)!==0&&a!==null)a.return=o,et=a;else for(;et!==null;){o=et;try{var tt=o.alternate;if(o.flags&1024)switch(o.tag){case 0:case 11:case 15:break;case 1:if(tt!==null){var at=tt.memoizedProps,sr=tt.memoizedState,ne=o.stateNode,K=ne.getSnapshotBeforeUpdate(o.elementType===o.type?at:Wa(o.type,at),sr);ne.__reactInternalSnapshotBeforeUpdate=K}break;case 3:var oe=o.stateNode.containerInfo;oe.nodeType===1?oe.textContent="":oe.nodeType===9&&oe.documentElement&&oe.removeChild(oe.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(ze){nr(o,o.return,ze)}if(a=o.sibling,a!==null){a.return=o.return,et=a;break}et=o.return}return tt=xg,xg=!1,tt}function Xc(a,o,f){var h=o.updateQueue;if(h=h!==null?h.lastEffect:null,h!==null){var x=h=h.next;do{if((x.tag&a)===a){var R=x.destroy;x.destroy=void 0,R!==void 0&&Wc(o,f,R)}x=x.next}while(x!==h)}}function Yc(a,o){if(o=o.updateQueue,o=o!==null?o.lastEffect:null,o!==null){var f=o=o.next;do{if((f.tag&a)===a){var h=f.create;f.destroy=h()}f=f.next}while(f!==o)}}function Pv(a){var o=a.ref;if(o!==null){var f=a.stateNode;switch(a.tag){case 5:a=f;break;default:a=f}typeof o=="function"?o(a):o.current=a}}function Vv(a){var o=a.alternate;o!==null&&(a.alternate=null,Vv(o)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(o=a.stateNode,o!==null&&(delete o[to],delete o[ou],delete o[fv],delete o[J0],delete o[dv])),a.stateNode=null,a.return=null,a.dependencies=null,a.memoizedProps=null,a.memoizedState=null,a.pendingProps=null,a.stateNode=null,a.updateQueue=null}function Sg(a){return a.tag===5||a.tag===3||a.tag===4}function Td(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||Sg(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function _l(a,o,f){var h=a.tag;if(h===5||h===6)a=a.stateNode,o?f.nodeType===8?f.parentNode.insertBefore(a,o):f.insertBefore(a,o):(f.nodeType===8?(o=f.parentNode,o.insertBefore(a,f)):(o=f,o.appendChild(a)),f=f._reactRootContainer,f!=null||o.onclick!==null||(o.onclick=Wf));else if(h!==4&&(a=a.child,a!==null))for(_l(a,o,f),a=a.sibling;a!==null;)_l(a,o,f),a=a.sibling}function io(a,o,f){var h=a.tag;if(h===5||h===6)a=a.stateNode,o?f.insertBefore(a,o):f.appendChild(a);else if(h!==4&&(a=a.child,a!==null))for(io(a,o,f),a=a.sibling;a!==null;)io(a,o,f),a=a.sibling}var Gn=null,Ir=!1;function hi(a,o,f){for(f=f.child;f!==null;)Dl(a,o,f),f=f.sibling}function Dl(a,o,f){if(Ca&&typeof Ca.onCommitFiberUnmount=="function")try{Ca.onCommitFiberUnmount(ns,f)}catch{}switch(f.tag){case 5:Cr||Ol(f,o);case 6:var h=Gn,x=Ir;Gn=null,hi(a,o,f),Gn=h,Ir=x,Gn!==null&&(Ir?(a=Gn,f=f.stateNode,a.nodeType===8?a.parentNode.removeChild(f):a.removeChild(f)):Gn.removeChild(f.stateNode));break;case 18:Gn!==null&&(Ir?(a=Gn,f=f.stateNode,a.nodeType===8?vs(a.parentNode,f):a.nodeType===1&&vs(a,f),ls(a)):vs(Gn,f.stateNode));break;case 4:h=Gn,x=Ir,Gn=f.stateNode.containerInfo,Ir=!0,hi(a,o,f),Gn=h,Ir=x;break;case 0:case 11:case 14:case 15:if(!Cr&&(h=f.updateQueue,h!==null&&(h=h.lastEffect,h!==null))){x=h=h.next;do{var R=x,k=R.destroy;R=R.tag,k!==void 0&&(R&2||R&4)&&Wc(f,o,k),x=x.next}while(x!==h)}hi(a,o,f);break;case 1:if(!Cr&&(Ol(f,o),h=f.stateNode,typeof h.componentWillUnmount=="function"))try{h.props=f.memoizedProps,h.state=f.memoizedState,h.componentWillUnmount()}catch(W){nr(f,o,W)}hi(a,o,f);break;case 21:hi(a,o,f);break;case 22:f.mode&1?(Cr=(h=Cr)||f.memoizedState!==null,hi(a,o,f),Cr=h):hi(a,o,f);break;default:hi(a,o,f)}}function ko(a){var o=a.updateQueue;if(o!==null){a.updateQueue=null;var f=a.stateNode;f===null&&(f=a.stateNode=new Cg),o.forEach(function(h){var x=lC.bind(null,a,h);f.has(h)||(f.add(h),h.then(x,x))})}}function Pi(a,o){var f=o.deletions;if(f!==null)for(var h=0;h<f.length;h++){var x=f[h];try{var R=a,k=o,W=k;e:for(;W!==null;){switch(W.tag){case 5:Gn=W.stateNode,Ir=!1;break e;case 3:Gn=W.stateNode.containerInfo,Ir=!0;break e;case 4:Gn=W.stateNode.containerInfo,Ir=!0;break e}W=W.return}if(Gn===null)throw Error(i(160));Dl(R,k,x),Gn=null,Ir=!1;var J=x.alternate;J!==null&&(J.return=null),x.return=null}catch(de){nr(x,o,de)}}if(o.subtreeFlags&12854)for(o=o.child;o!==null;)wg(o,a),o=o.sibling}function wg(a,o){var f=a.alternate,h=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:if(Pi(o,a),oo(a),h&4){try{Xc(3,a,a.return),Yc(3,a)}catch(at){nr(a,a.return,at)}try{Xc(5,a,a.return)}catch(at){nr(a,a.return,at)}}break;case 1:Pi(o,a),oo(a),h&512&&f!==null&&Ol(f,f.return);break;case 5:if(Pi(o,a),oo(a),h&512&&f!==null&&Ol(f,f.return),a.flags&32){var x=a.stateNode;try{Va(x,"")}catch(at){nr(a,a.return,at)}}if(h&4&&(x=a.stateNode,x!=null)){var R=a.memoizedProps,k=f!==null?f.memoizedProps:R,W=a.type,J=a.updateQueue;if(a.updateQueue=null,J!==null)try{W==="input"&&R.type==="radio"&&R.name!=null&&hn(x,R),Wn(W,k);var de=Wn(W,R);for(k=0;k<J.length;k+=2){var Me=J[k],Fe=J[k+1];Me==="style"?sn(x,Fe):Me==="dangerouslySetInnerHTML"?Xi(x,Fe):Me==="children"?Va(x,Fe):P(x,Me,Fe,de)}switch(W){case"input":nn(x,R);break;case"textarea":lr(x,R);break;case"select":var ke=x._wrapperState.wasMultiple;x._wrapperState.wasMultiple=!!R.multiple;var Ye=R.value;Ye!=null?Ln(x,!!R.multiple,Ye,!1):ke!==!!R.multiple&&(R.defaultValue!=null?Ln(x,!!R.multiple,R.defaultValue,!0):Ln(x,!!R.multiple,R.multiple?[]:"",!1))}x[ou]=R}catch(at){nr(a,a.return,at)}}break;case 6:if(Pi(o,a),oo(a),h&4){if(a.stateNode===null)throw Error(i(162));x=a.stateNode,R=a.memoizedProps;try{x.nodeValue=R}catch(at){nr(a,a.return,at)}}break;case 3:if(Pi(o,a),oo(a),h&4&&f!==null&&f.memoizedState.isDehydrated)try{ls(o.containerInfo)}catch(at){nr(a,a.return,at)}break;case 4:Pi(o,a),oo(a);break;case 13:Pi(o,a),oo(a),x=a.child,x.flags&8192&&(R=x.memoizedState!==null,x.stateNode.isHidden=R,!R||x.alternate!==null&&x.alternate.memoizedState!==null||(Hv=Zt())),h&4&&ko(a);break;case 22:if(Me=f!==null&&f.memoizedState!==null,a.mode&1?(Cr=(de=Cr)||Me,Pi(o,a),Cr=de):Pi(o,a),oo(a),h&8192){if(de=a.memoizedState!==null,(a.stateNode.isHidden=de)&&!Me&&a.mode&1)for(et=a,Me=a.child;Me!==null;){for(Fe=et=Me;et!==null;){switch(ke=et,Ye=ke.child,ke.tag){case 0:case 11:case 14:case 15:Xc(4,ke,ke.return);break;case 1:Ol(ke,ke.return);var tt=ke.stateNode;if(typeof tt.componentWillUnmount=="function"){h=ke,f=ke.return;try{o=h,tt.props=o.memoizedProps,tt.state=o.memoizedState,tt.componentWillUnmount()}catch(at){nr(h,f,at)}}break;case 5:Ol(ke,ke.return);break;case 22:if(ke.memoizedState!==null){Bv(Fe);continue}}Ye!==null?(Ye.return=ke,et=Ye):Bv(Fe)}Me=Me.sibling}e:for(Me=null,Fe=a;;){if(Fe.tag===5){if(Me===null){Me=Fe;try{x=Fe.stateNode,de?(R=x.style,typeof R.setProperty=="function"?R.setProperty("display","none","important"):R.display="none"):(W=Fe.stateNode,J=Fe.memoizedProps.style,k=J!=null&&J.hasOwnProperty("display")?J.display:null,W.style.display=Lt("display",k))}catch(at){nr(a,a.return,at)}}}else if(Fe.tag===6){if(Me===null)try{Fe.stateNode.nodeValue=de?"":Fe.memoizedProps}catch(at){nr(a,a.return,at)}}else if((Fe.tag!==22&&Fe.tag!==23||Fe.memoizedState===null||Fe===a)&&Fe.child!==null){Fe.child.return=Fe,Fe=Fe.child;continue}if(Fe===a)break e;for(;Fe.sibling===null;){if(Fe.return===null||Fe.return===a)break e;Me===Fe&&(Me=null),Fe=Fe.return}Me===Fe&&(Me=null),Fe.sibling.return=Fe.return,Fe=Fe.sibling}}break;case 19:Pi(o,a),oo(a),h&4&&ko(a);break;case 21:break;default:Pi(o,a),oo(a)}}function oo(a){var o=a.flags;if(o&2){try{e:{for(var f=a.return;f!==null;){if(Sg(f)){var h=f;break e}f=f.return}throw Error(i(160))}switch(h.tag){case 5:var x=h.stateNode;h.flags&32&&(Va(x,""),h.flags&=-33);var R=Td(a);io(a,R,x);break;case 3:case 4:var k=h.stateNode.containerInfo,W=Td(a);_l(a,W,k);break;default:throw Error(i(161))}}catch(J){nr(a,a.return,J)}a.flags&=-3}o&4096&&(a.flags&=-4097)}function Rg(a,o,f){et=a,jl(a)}function jl(a,o,f){for(var h=(a.mode&1)!==0;et!==null;){var x=et,R=x.child;if(x.tag===22&&h){var k=x.memoizedState!==null||$c;if(!k){var W=x.alternate,J=W!==null&&W.memoizedState!==null||Cr;W=$c;var de=Cr;if($c=k,(Cr=J)&&!de)for(et=x;et!==null;)k=et,J=k.child,k.tag===22&&k.memoizedState!==null?Ig(x):J!==null?(J.return=k,et=J):Ig(x);for(;R!==null;)et=R,jl(R),R=R.sibling;et=x,$c=W,Cr=de}Tg(a)}else x.subtreeFlags&8772&&R!==null?(R.return=x,et=R):Tg(a)}}function Tg(a){for(;et!==null;){var o=et;if(o.flags&8772){var f=o.alternate;try{if(o.flags&8772)switch(o.tag){case 0:case 11:case 15:Cr||Yc(5,o);break;case 1:var h=o.stateNode;if(o.flags&4&&!Cr)if(f===null)h.componentDidMount();else{var x=o.elementType===o.type?f.memoizedProps:Wa(o.type,f.memoizedProps);h.componentDidUpdate(x,f.memoizedState,h.__reactInternalSnapshotBeforeUpdate)}var R=o.updateQueue;R!==null&&uu(o,R,h);break;case 3:var k=o.updateQueue;if(k!==null){if(f=null,o.child!==null)switch(o.child.tag){case 5:f=o.child.stateNode;break;case 1:f=o.child.stateNode}uu(o,k,f)}break;case 5:var W=o.stateNode;if(f===null&&o.flags&4){f=W;var J=o.memoizedProps;switch(o.type){case"button":case"input":case"select":case"textarea":J.autoFocus&&f.focus();break;case"img":J.src&&(f.src=J.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(o.memoizedState===null){var de=o.alternate;if(de!==null){var Me=de.memoizedState;if(Me!==null){var Fe=Me.dehydrated;Fe!==null&&ls(Fe)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}Cr||o.flags&512&&Pv(o)}catch(ke){nr(o,o.return,ke)}}if(o===a){et=null;break}if(f=o.sibling,f!==null){f.return=o.return,et=f;break}et=o.return}}function Bv(a){for(;et!==null;){var o=et;if(o===a){et=null;break}var f=o.sibling;if(f!==null){f.return=o.return,et=f;break}et=o.return}}function Ig(a){for(;et!==null;){var o=et;try{switch(o.tag){case 0:case 11:case 15:var f=o.return;try{Yc(4,o)}catch(J){nr(o,f,J)}break;case 1:var h=o.stateNode;if(typeof h.componentDidMount=="function"){var x=o.return;try{h.componentDidMount()}catch(J){nr(o,x,J)}}var R=o.return;try{Pv(o)}catch(J){nr(o,R,J)}break;case 5:var k=o.return;try{Pv(o)}catch(J){nr(o,k,J)}}}catch(J){nr(o,o.return,J)}if(o===a){et=null;break}var W=o.sibling;if(W!==null){W.return=o.return,et=W;break}et=o.return}}var Id=Math.ceil,Zc=U.ReactCurrentDispatcher,zv=U.ReactCurrentOwner,Zr=U.ReactCurrentBatchConfig,zt=0,Jn=null,tr=null,Ar=0,Ya=0,kl=jt(0),xr=0,Jc=null,Mo=0,Ad=0,Ml=0,Cu=null,sa=null,Hv=0,Ll=1/0,Lo=null,Nd=!1,xu=null,so=null,As=!1,Ns=null,Od=0,Fl=0,_d=null,Eu=-1,Su=0;function Jr(){return zt&6?Zt():Eu!==-1?Eu:Eu=Zt()}function pr(a){return a.mode&1?zt&2&&Ar!==0?Ar&-Ar:Qf.transition!==null?(Su===0&&(Su=al()),Su):(a=rn,a!==0||(a=window.event,a=a===void 0?16:yc(a.type)),a):1}function qr(a,o,f,h){if(50<Fl)throw Fl=0,_d=null,Error(i(185));Co(a,f,h),(!(zt&2)||a!==Jn)&&(a===Jn&&(!(zt&2)&&(Ad|=f),xr===4&&mi(a,Ar)),Qr(a,h),f===1&&zt===0&&!(o.mode&1)&&(Ll=Zt()+500,Rr&&Ra()))}function Qr(a,o){var f=a.callbackNode;is(a,o);var h=ia(a,a===Jn?Ar:0);if(h===0)f!==null&&jr(f),a.callbackNode=null,a.callbackPriority=0;else if(o=h&-h,a.callbackPriority!==o){if(f!=null&&jr(f),o===1)a.tag===0?vv(Ag.bind(null,a)):pv(Ag.bind(null,a)),cv(function(){!(zt&6)&&Ra()}),f=null;else{switch(ol(h)){case 1:f=Oi;break;case 4:f=Ft;break;case 16:f=Qi;break;case 536870912:f=nl;break;default:f=Qi}f=Yv(f,Pl.bind(null,a))}a.callbackPriority=o,a.callbackNode=f}}function Pl(a,o){if(Eu=-1,Su=0,zt&6)throw Error(i(327));var f=a.callbackNode;if(Bl()&&a.callbackNode!==f)return null;var h=ia(a,a===Jn?Ar:0);if(h===0)return null;if(h&30||h&a.expiredLanes||o)o=jd(a,h);else{o=h;var x=zt;zt|=2;var R=Dd();(Jn!==a||Ar!==o)&&(Lo=null,Ll=Zt()+500,wu(a,o));do try{iC();break}catch(W){Ng(a,W)}while(!0);Cv(),Zc.current=R,zt=x,tr!==null?o=0:(Jn=null,Ar=0,o=xr)}if(o!==0){if(o===2&&(x=os(a),x!==0&&(h=x,o=Uv(a,x))),o===1)throw f=Jc,wu(a,0),mi(a,h),Qr(a,Zt()),f;if(o===6)mi(a,h);else{if(x=a.current.alternate,!(h&30)&&!Gv(x)&&(o=jd(a,h),o===2&&(R=os(a),R!==0&&(h=R,o=Uv(a,R))),o===1))throw f=Jc,wu(a,0),mi(a,h),Qr(a,Zt()),f;switch(a.finishedWork=x,a.finishedLanes=h,o){case 0:case 1:throw Error(i(345));case 2:Ru(a,sa,Lo);break;case 3:if(mi(a,h),(h&130023424)===h&&(o=Hv+500-Zt(),10<o)){if(ia(a,0)!==0)break;if(x=a.suspendedLanes,(x&h)!==h){Jr(),a.pingedLanes|=a.suspendedLanes&x;break}a.timeoutHandle=iu(Ru.bind(null,a,sa,Lo),o);break}Ru(a,sa,Lo);break;case 4:if(mi(a,h),(h&4194240)===h)break;for(o=a.eventTimes,x=-1;0<h;){var k=31-aa(h);R=1<<k,k=o[k],k>x&&(x=k),h&=~R}if(h=x,h=Zt()-h,h=(120>h?120:480>h?480:1080>h?1080:1920>h?1920:3e3>h?3e3:4320>h?4320:1960*Id(h/1960))-h,10<h){a.timeoutHandle=iu(Ru.bind(null,a,sa,Lo),h);break}Ru(a,sa,Lo);break;case 5:Ru(a,sa,Lo);break;default:throw Error(i(329))}}}return Qr(a,Zt()),a.callbackNode===f?Pl.bind(null,a):null}function Uv(a,o){var f=Cu;return a.current.memoizedState.isDehydrated&&(wu(a,o).flags|=256),a=jd(a,o),a!==2&&(o=sa,sa=f,o!==null&&qc(o)),a}function qc(a){sa===null?sa=a:sa.push.apply(sa,a)}function Gv(a){for(var o=a;;){if(o.flags&16384){var f=o.updateQueue;if(f!==null&&(f=f.stores,f!==null))for(var h=0;h<f.length;h++){var x=f[h],R=x.getSnapshot;x=x.value;try{if(!ii(R(),x))return!1}catch{return!1}}}if(f=o.child,o.subtreeFlags&16384&&f!==null)f.return=o,o=f;else{if(o===a)break;for(;o.sibling===null;){if(o.return===null||o.return===a)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function mi(a,o){for(o&=~Ml,o&=~Ad,a.suspendedLanes|=o,a.pingedLanes&=~o,a=a.expirationTimes;0<o;){var f=31-aa(o),h=1<<f;a[f]=-1,o&=~h}}function Ag(a){if(zt&6)throw Error(i(327));Bl();var o=ia(a,0);if(!(o&1))return Qr(a,Zt()),null;var f=jd(a,o);if(a.tag!==0&&f===2){var h=os(a);h!==0&&(o=h,f=Uv(a,h))}if(f===1)throw f=Jc,wu(a,0),mi(a,o),Qr(a,Zt()),f;if(f===6)throw Error(i(345));return a.finishedWork=a.current.alternate,a.finishedLanes=o,Ru(a,sa,Lo),Qr(a,Zt()),null}function Vl(a,o){var f=zt;zt|=1;try{return a(o)}finally{zt=f,zt===0&&(Ll=Zt()+500,Rr&&Ra())}}function Os(a){Ns!==null&&Ns.tag===0&&!(zt&6)&&Bl();var o=zt;zt|=1;var f=Zr.transition,h=rn;try{if(Zr.transition=null,rn=1,a)return a()}finally{rn=h,Zr.transition=f,zt=o,!(zt&6)&&Ra()}}function $v(){Ya=kl.current,un(kl)}function wu(a,o){a.finishedWork=null,a.finishedLanes=0;var f=a.timeoutHandle;if(f!==-1&&(a.timeoutHandle=-1,ng(f)),tr!==null)for(f=tr.return;f!==null;){var h=f;switch(mv(h),h.tag){case 1:h=h.type.childContextTypes,h!=null&&ui();break;case 3:ws(),un(er),un(wt),ad();break;case 5:Vt(h);break;case 4:ws();break;case 13:un(yt);break;case 19:un(yt);break;case 10:Cs(h.type._context);break;case 22:case 23:$v()}f=f.return}if(Jn=a,tr=a=_s(a.current,null),Ar=Ya=o,xr=0,Jc=null,Ml=Ad=Mo=0,sa=Cu=null,Mr!==null){for(o=0;o<Mr.length;o++)if(f=Mr[o],h=f.interleaved,h!==null){f.interleaved=null;var x=h.next,R=f.pending;if(R!==null){var k=R.next;R.next=x,h.next=k}f.pending=h}Mr=null}return a}function Ng(a,o){do{var f=tr;try{if(Cv(),id.current=xd,bt){for(var h=Vn.memoizedState;h!==null;){var x=h.queue;x!==null&&(x.pending=null),h=h.next}bt=!1}if(cu=0,$t=Se=Vn=null,ao=!1,Xa=0,zv.current=null,f===null||f.return===null){xr=1,Jc=o,tr=null;break}e:{var R=a,k=f.return,W=f,J=o;if(o=Ar,W.flags|=32768,J!==null&&typeof J=="object"&&typeof J.then=="function"){var de=J,Me=W,Fe=Me.tag;if(!(Me.mode&1)&&(Fe===0||Fe===11||Fe===15)){var ke=Me.alternate;ke?(Me.updateQueue=ke.updateQueue,Me.memoizedState=ke.memoizedState,Me.lanes=ke.lanes):(Me.updateQueue=null,Me.memoizedState=null)}var Ye=Nv(k);if(Ye!==null){Ye.flags&=-257,Ov(Ye,k,W,R,o),Ye.mode&1&&gg(R,de,o),o=Ye,J=de;var tt=o.updateQueue;if(tt===null){var at=new Set;at.add(J),o.updateQueue=at}else tt.add(J);break e}else{if(!(o&1)){gg(R,de,o),Wv();break e}J=Error(i(426))}}else if(Pn&&W.mode&1){var sr=Nv(k);if(sr!==null){!(sr.flags&65536)&&(sr.flags|=256),Ov(sr,k,W,R,o),yv(Il(J,W));break e}}R=J=Il(J,W),xr!==4&&(xr=2),Cu===null?Cu=[R]:Cu.push(R),R=k;do{switch(R.tag){case 3:R.flags|=65536,o&=-o,R.lanes|=o;var ne=mg(R,J,o);Sv(R,ne);break e;case 1:W=J;var K=R.type,oe=R.stateNode;if(!(R.flags&128)&&(typeof K.getDerivedStateFromError=="function"||oe!==null&&typeof oe.componentDidCatch=="function"&&(so===null||!so.has(oe)))){R.flags|=65536,o&=-o,R.lanes|=o;var ze=Hc(R,W,o);Sv(R,ze);break e}}R=R.return}while(R!==null)}Xv(f)}catch(it){o=it,tr===f&&f!==null&&(tr=f=f.return);continue}break}while(!0)}function Dd(){var a=Zc.current;return Zc.current=xd,a===null?xd:a}function Wv(){(xr===0||xr===3||xr===2)&&(xr=4),Jn===null||!(Mo&268435455)&&!(Ad&268435455)||mi(Jn,Ar)}function jd(a,o){var f=zt;zt|=2;var h=Dd();(Jn!==a||Ar!==o)&&(Lo=null,wu(a,o));do try{aC();break}catch(x){Ng(a,x)}while(!0);if(Cv(),zt=f,Zc.current=h,tr!==null)throw Error(i(261));return Jn=null,Ar=0,xr}function aC(){for(;tr!==null;)Og(tr)}function iC(){for(;tr!==null&&!qi();)Og(tr)}function Og(a){var o=Dg(a.alternate,a,Ya);a.memoizedProps=a.pendingProps,o===null?Xv(a):tr=o,zv.current=null}function Xv(a){var o=a;do{var f=o.alternate;if(a=o.return,o.flags&32768){if(f=Fv(f,o),f!==null){f.flags&=32767,tr=f;return}if(a!==null)a.flags|=32768,a.subtreeFlags=0,a.deletions=null;else{xr=6,tr=null;return}}else if(f=rC(f,o,Ya),f!==null){tr=f;return}if(o=o.sibling,o!==null){tr=o;return}tr=o=a}while(o!==null);xr===0&&(xr=5)}function Ru(a,o,f){var h=rn,x=Zr.transition;try{Zr.transition=null,rn=1,oC(a,o,f,h)}finally{Zr.transition=x,rn=h}return null}function oC(a,o,f,h){do Bl();while(Ns!==null);if(zt&6)throw Error(i(327));f=a.finishedWork;var x=a.finishedLanes;if(f===null)return null;if(a.finishedWork=null,a.finishedLanes=0,f===a.current)throw Error(i(177));a.callbackNode=null,a.callbackPriority=0;var R=f.lanes|f.childLanes;if(Up(a,R),a===Jn&&(tr=Jn=null,Ar=0),!(f.subtreeFlags&2064)&&!(f.flags&2064)||As||(As=!0,Yv(Qi,function(){return Bl(),null})),R=(f.flags&15990)!==0,f.subtreeFlags&15990||R){R=Zr.transition,Zr.transition=null;var k=rn;rn=1;var W=zt;zt|=4,zv.current=null,Eg(a,f),wg(f,a),zf(au),ai=!!uv,au=uv=null,a.current=f,Rg(f),tl(),zt=W,rn=k,Zr.transition=R}else a.current=f;if(As&&(As=!1,Ns=a,Od=x),R=a.pendingLanes,R===0&&(so=null),hc(f.stateNode),Qr(a,Zt()),o!==null)for(h=a.onRecoverableError,f=0;f<o.length;f++)x=o[f],h(x.value,{componentStack:x.stack,digest:x.digest});if(Nd)throw Nd=!1,a=xu,xu=null,a;return Od&1&&a.tag!==0&&Bl(),R=a.pendingLanes,R&1?a===_d?Fl++:(Fl=0,_d=a):Fl=0,Ra(),null}function Bl(){if(Ns!==null){var a=ol(Od),o=Zr.transition,f=rn;try{if(Zr.transition=null,rn=16>a?16:a,Ns===null)var h=!1;else{if(a=Ns,Ns=null,Od=0,zt&6)throw Error(i(331));var x=zt;for(zt|=4,et=a.current;et!==null;){var R=et,k=R.child;if(et.flags&16){var W=R.deletions;if(W!==null){for(var J=0;J<W.length;J++){var de=W[J];for(et=de;et!==null;){var Me=et;switch(Me.tag){case 0:case 11:case 15:Xc(8,Me,R)}var Fe=Me.child;if(Fe!==null)Fe.return=Me,et=Fe;else for(;et!==null;){Me=et;var ke=Me.sibling,Ye=Me.return;if(Vv(Me),Me===de){et=null;break}if(ke!==null){ke.return=Ye,et=ke;break}et=Ye}}}var tt=R.alternate;if(tt!==null){var at=tt.child;if(at!==null){tt.child=null;do{var sr=at.sibling;at.sibling=null,at=sr}while(at!==null)}}et=R}}if(R.subtreeFlags&2064&&k!==null)k.return=R,et=k;else e:for(;et!==null;){if(R=et,R.flags&2048)switch(R.tag){case 0:case 11:case 15:Xc(9,R,R.return)}var ne=R.sibling;if(ne!==null){ne.return=R.return,et=ne;break e}et=R.return}}var K=a.current;for(et=K;et!==null;){k=et;var oe=k.child;if(k.subtreeFlags&2064&&oe!==null)oe.return=k,et=oe;else e:for(k=K;et!==null;){if(W=et,W.flags&2048)try{switch(W.tag){case 0:case 11:case 15:Yc(9,W)}}catch(it){nr(W,W.return,it)}if(W===k){et=null;break e}var ze=W.sibling;if(ze!==null){ze.return=W.return,et=ze;break e}et=W.return}}if(zt=x,Ra(),Ca&&typeof Ca.onPostCommitFiberRoot=="function")try{Ca.onPostCommitFiberRoot(ns,a)}catch{}h=!0}return h}finally{rn=f,Zr.transition=o}}return!1}function _g(a,o,f){o=Il(f,o),o=mg(a,o,1),a=Es(a,o,1),o=Jr(),a!==null&&(Co(a,1,o),Qr(a,o))}function nr(a,o,f){if(a.tag===3)_g(a,a,f);else for(;o!==null;){if(o.tag===3){_g(o,a,f);break}else if(o.tag===1){var h=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(so===null||!so.has(h))){a=Il(f,a),a=Hc(o,a,1),o=Es(o,a,1),a=Jr(),o!==null&&(Co(o,1,a),Qr(o,a));break}}o=o.return}}function sC(a,o,f){var h=a.pingCache;h!==null&&h.delete(o),o=Jr(),a.pingedLanes|=a.suspendedLanes&f,Jn===a&&(Ar&f)===f&&(xr===4||xr===3&&(Ar&130023424)===Ar&&500>Zt()-Hv?wu(a,0):Ml|=f),Qr(a,o)}function kd(a,o){o===0&&(a.mode&1?(o=rs,rs<<=1,!(rs&130023424)&&(rs=4194304)):o=1);var f=Jr();a=Oo(a,o),a!==null&&(Co(a,o,f),Qr(a,f))}function uC(a){var o=a.memoizedState,f=0;o!==null&&(f=o.retryLane),kd(a,f)}function lC(a,o){var f=0;switch(a.tag){case 13:var h=a.stateNode,x=a.memoizedState;x!==null&&(f=x.retryLane);break;case 19:h=a.stateNode;break;default:throw Error(i(314))}h!==null&&h.delete(o),kd(a,f)}var Dg;Dg=function(a,o,f){if(a!==null)if(a.memoizedProps!==o.pendingProps||er.current)dr=!0;else{if(!(a.lanes&f)&&!(o.flags&128))return dr=!1,jo(a,o,f);dr=!!(a.flags&131072)}else dr=!1,Pn&&o.flags&1048576&&hv(o,Cl,o.index);switch(o.lanes=0,o.tag){case 2:var h=o.type;Xr(a,o),a=o.pendingProps;var x=si(o,wt.current);Ge(o,f),x=Rs(null,o,h,a,x,f);var R=pu();return o.flags|=1,typeof x=="object"&&x!==null&&typeof x.render=="function"&&x.$$typeof===void 0?(o.tag=1,o.memoizedState=null,o.updateQueue=null,Un(h)?(R=!0,Xf(o)):R=!1,o.memoizedState=x.state!==null&&x.state!==void 0?x.state:null,Ev(o),x.updater=td,o.stateNode=x,x._reactInternals=o,nd(o,h,a,f),o=yg(null,o,h,!0,R,f)):(o.tag=0,Pn&&R&&Yf(o),yr(null,o,x,f),o=o.child),o;case 16:h=o.elementType;e:{switch(Xr(a,o),a=o.pendingProps,x=h._init,h=x(h._payload),o.type=h,x=o.tag=fC(h),a=Wa(h,a),x){case 0:o=Al(null,o,h,a,f);break e;case 1:o=_v(null,o,h,a,f);break e;case 11:o=Is(null,o,h,a,f);break e;case 14:o=Sd(null,o,h,Wa(h.type,a),f);break e}throw Error(i(306,h,""))}return o;case 0:return h=o.type,x=o.pendingProps,x=o.elementType===h?x:Wa(h,x),Al(a,o,h,x,f);case 1:return h=o.type,x=o.pendingProps,x=o.elementType===h?x:Wa(h,x),_v(a,o,h,x,f);case 3:e:{if(bg(o),a===null)throw Error(i(387));h=o.pendingProps,R=o.memoizedState,x=R.element,gr(a,o),Ss(o,h,null,f);var k=o.memoizedState;if(h=k.element,R.isDehydrated)if(R={element:h,isDehydrated:!1,cache:k.cache,pendingSuspenseBoundaries:k.pendingSuspenseBoundaries,transitions:k.transitions},o.updateQueue.baseState=R,o.memoizedState=R,o.flags&256){x=Il(Error(i(423)),o),o=wd(a,o,h,f,x);break e}else if(h!==x){x=Il(Error(i(424)),o),o=wd(a,o,h,f,x);break e}else for(Aa=Li(o.stateNode.containerInfo.firstChild),$a=o,Pn=!0,ci=null,f=vg(o,null,h,f),o.child=f;f;)f.flags=f.flags&-3|4096,f=f.sibling;else{if(Yn(),h===x){o=Lr(a,o,f);break e}yr(a,o,h,f)}o=o.child}return o;case 5:return mt(o),a===null&&Jf(o),h=o.type,x=o.pendingProps,R=a!==null?a.memoizedProps:null,k=x.children,Oc(h,x)?k=null:R!==null&&Oc(h,R)&&(o.flags|=32),kt(a,o),yr(a,o,k,f),o.child;case 6:return a===null&&Jf(o),null;case 13:return jv(a,o,f);case 4:return Rv(o,o.stateNode.containerInfo),h=o.pendingProps,a===null?o.child=El(o,null,h,f):yr(a,o,h,f),o.child;case 11:return h=o.type,x=o.pendingProps,x=o.elementType===h?x:Wa(h,x),Is(a,o,h,x,f);case 7:return yr(a,o,o.pendingProps,f),o.child;case 8:return yr(a,o,o.pendingProps.children,f),o.child;case 12:return yr(a,o,o.pendingProps.children,f),o.child;case 10:e:{if(h=o.type._context,x=o.pendingProps,R=o.memoizedProps,k=x.value,pn(ro,h._currentValue),h._currentValue=k,R!==null)if(ii(R.value,k)){if(R.children===x.children&&!er.current){o=Lr(a,o,f);break e}}else for(R=o.child,R!==null&&(R.return=o);R!==null;){var W=R.dependencies;if(W!==null){k=R.child;for(var J=W.firstContext;J!==null;){if(J.context===h){if(R.tag===1){J=_o(-1,f&-f),J.tag=2;var de=R.updateQueue;if(de!==null){de=de.shared;var Me=de.pending;Me===null?J.next=J:(J.next=Me.next,Me.next=J),de.pending=J}}R.lanes|=f,J=R.alternate,J!==null&&(J.lanes|=f),Tr(R.return,f,o),W.lanes|=f;break}J=J.next}}else if(R.tag===10)k=R.type===o.type?null:R.child;else if(R.tag===18){if(k=R.return,k===null)throw Error(i(341));k.lanes|=f,W=k.alternate,W!==null&&(W.lanes|=f),Tr(k,f,o),k=R.sibling}else k=R.child;if(k!==null)k.return=R;else for(k=R;k!==null;){if(k===o){k=null;break}if(R=k.sibling,R!==null){R.return=k.return,k=R;break}k=k.return}R=k}yr(a,o,x.children,f),o=o.child}return o;case 9:return x=o.type,h=o.pendingProps.children,Ge(o,f),x=or(x),h=h(x),o.flags|=1,yr(a,o,h,f),o.child;case 14:return h=o.type,x=Wa(h,o.pendingProps),x=Wa(h.type,x),Sd(a,o,h,x,f);case 15:return _a(a,o,o.type,o.pendingProps,f);case 17:return h=o.type,x=o.pendingProps,x=o.elementType===h?x:Wa(h,x),Xr(a,o),o.tag=1,Un(h)?(a=!0,Xf(o)):a=!1,Ge(o,f),cg(o,h,x),nd(o,h,x,f),yg(null,o,h,!0,a,f);case 19:return Lv(a,o,f);case 22:return gu(a,o,f)}throw Error(i(156,o.tag))};function Yv(a,o){return Dn(a,o)}function cC(a,o,f,h){this.tag=a,this.key=f,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=h,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function gi(a,o,f,h){return new cC(a,o,f,h)}function Zv(a){return a=a.prototype,!(!a||!a.isReactComponent)}function fC(a){if(typeof a=="function")return Zv(a)?1:0;if(a!=null){if(a=a.$$typeof,a===ye)return 11;if(a===_e)return 14}return 2}function _s(a,o){var f=a.alternate;return f===null?(f=gi(a.tag,o,a.key,a.mode),f.elementType=a.elementType,f.type=a.type,f.stateNode=a.stateNode,f.alternate=a,a.alternate=f):(f.pendingProps=o,f.type=a.type,f.flags=0,f.subtreeFlags=0,f.deletions=null),f.flags=a.flags&14680064,f.childLanes=a.childLanes,f.lanes=a.lanes,f.child=a.child,f.memoizedProps=a.memoizedProps,f.memoizedState=a.memoizedState,f.updateQueue=a.updateQueue,o=a.dependencies,f.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},f.sibling=a.sibling,f.index=a.index,f.ref=a.ref,f}function Md(a,o,f,h,x,R){var k=2;if(h=a,typeof a=="function")Zv(a)&&(k=1);else if(typeof a=="string")k=5;else e:switch(a){case X:return Tu(f.children,x,R,o);case te:k=8,x|=8;break;case Re:return a=gi(12,f,o,x|2),a.elementType=Re,a.lanes=R,a;case me:return a=gi(13,f,o,x),a.elementType=me,a.lanes=R,a;case Ae:return a=gi(19,f,o,x),a.elementType=Ae,a.lanes=R,a;case Ie:return Qc(f,x,R,o);default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case ue:k=10;break e;case pe:k=9;break e;case ye:k=11;break e;case _e:k=14;break e;case Oe:k=16,h=null;break e}throw Error(i(130,a==null?a:typeof a,""))}return o=gi(k,f,o,x),o.elementType=a,o.type=h,o.lanes=R,o}function Tu(a,o,f,h){return a=gi(7,a,h,o),a.lanes=f,a}function Qc(a,o,f,h){return a=gi(22,a,h,o),a.elementType=Ie,a.lanes=f,a.stateNode={isHidden:!1},a}function Kc(a,o,f){return a=gi(6,a,null,o),a.lanes=f,a}function Iu(a,o,f){return o=gi(4,a.children!==null?a.children:[],a.key,o),o.lanes=f,o.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},o}function dC(a,o,f,h,x){this.tag=o,this.containerInfo=a,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=il(0),this.expirationTimes=il(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=il(0),this.identifierPrefix=h,this.onRecoverableError=x,this.mutableSourceEagerHydrationData=null}function Ld(a,o,f,h,x,R,k,W,J){return a=new dC(a,o,f,W,J),o===1?(o=1,R===!0&&(o|=8)):o=0,R=gi(3,null,null,o),a.current=R,R.stateNode=a,R.memoizedState={element:h,isDehydrated:f,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ev(R),a}function jg(a,o,f){var h=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:G,key:h==null?null:""+h,children:a,containerInfo:o,implementation:f}}function Jv(a){if(!a)return no;a=a._reactInternals;e:{if(_t(a)!==a||a.tag!==1)throw Error(i(170));var o=a;do{switch(o.tag){case 3:o=o.stateNode.context;break e;case 1:if(Un(o.type)){o=o.stateNode.__reactInternalMemoizedMergedChildContext;break e}}o=o.return}while(o!==null);throw Error(i(171))}if(a.tag===1){var f=a.type;if(Un(f))return jc(a,f,o)}return o}function kg(a,o,f,h,x,R,k,W,J){return a=Ld(f,h,!0,a,x,R,k,W,J),a.context=Jv(null),f=a.current,h=Jr(),x=pr(f),R=_o(h,x),R.callback=o??null,Es(f,R,x),a.current.lanes=x,Co(a,x,h),Qr(a,h),a}function ef(a,o,f,h){var x=o.current,R=Jr(),k=pr(x);return f=Jv(f),o.context===null?o.context=f:o.pendingContext=f,o=_o(R,k),o.payload={element:a},h=h===void 0?null:h,h!==null&&(o.callback=h),a=Es(x,o,k),a!==null&&(qr(a,x,k,R),ed(a,x,k)),k}function Fd(a){if(a=a.current,!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function Mg(a,o){if(a=a.memoizedState,a!==null&&a.dehydrated!==null){var f=a.retryLane;a.retryLane=f!==0&&f<o?f:o}}function qv(a,o){Mg(a,o),(a=a.alternate)&&Mg(a,o)}function Lg(){return null}var Qv=typeof reportError=="function"?reportError:function(a){console.error(a)};function Pd(a){this._internalRoot=a}Fo.prototype.render=Pd.prototype.render=function(a){var o=this._internalRoot;if(o===null)throw Error(i(409));ef(a,o,null,null)},Fo.prototype.unmount=Pd.prototype.unmount=function(){var a=this._internalRoot;if(a!==null){this._internalRoot=null;var o=a.containerInfo;Os(function(){ef(null,a,null,null)}),o[Ao]=null}};function Fo(a){this._internalRoot=a}Fo.prototype.unstable_scheduleHydration=function(a){if(a){var o=ul();a={blockedOn:null,target:a,priority:o};for(var f=0;f<dn.length&&o!==0&&o<dn[f].priority;f++);dn.splice(f,0,a),f===0&&kf(a)}};function Kv(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function Vd(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11&&(a.nodeType!==8||a.nodeValue!==" react-mount-point-unstable "))}function Fg(){}function pC(a,o,f,h,x){if(x){if(typeof h=="function"){var R=h;h=function(){var de=Fd(k);R.call(de)}}var k=kg(o,h,a,0,null,!1,!1,"",Fg);return a._reactRootContainer=k,a[Ao]=k.current,yl(a.nodeType===8?a.parentNode:a),Os(),k}for(;x=a.lastChild;)a.removeChild(x);if(typeof h=="function"){var W=h;h=function(){var de=Fd(J);W.call(de)}}var J=Ld(a,0,!1,null,null,!1,!1,"",Fg);return a._reactRootContainer=J,a[Ao]=J.current,yl(a.nodeType===8?a.parentNode:a),Os(function(){ef(o,J,f,h)}),J}function Bd(a,o,f,h,x){var R=f._reactRootContainer;if(R){var k=R;if(typeof x=="function"){var W=x;x=function(){var J=Fd(k);W.call(J)}}ef(o,k,a,x)}else k=pC(f,o,a,x,h);return Fd(k)}qs=function(a){switch(a.tag){case 3:var o=a.stateNode;if(o.current.memoizedState.isDehydrated){var f=_i(o.pendingLanes);f!==0&&(Ki(o,f|1),Qr(o,Zt()),!(zt&6)&&(Ll=Zt()+500,Ra()))}break;case 13:Os(function(){var h=Oo(a,1);if(h!==null){var x=Jr();qr(h,a,1,x)}}),qv(a,1)}},sl=function(a){if(a.tag===13){var o=Oo(a,134217728);if(o!==null){var f=Jr();qr(o,a,134217728,f)}qv(a,134217728)}},Jt=function(a){if(a.tag===13){var o=pr(a),f=Oo(a,o);if(f!==null){var h=Jr();qr(f,a,o,h)}qv(a,o)}},ul=function(){return rn},ll=function(a,o){var f=rn;try{return rn=a,o()}finally{rn=f}},na=function(a,o,f){switch(o){case"input":if(nn(a,f),o=f.name,f.type==="radio"&&o!=null){for(f=a;f.parentNode;)f=f.parentNode;for(f=f.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),o=0;o<f.length;o++){var h=f[o];if(h!==a&&h.form===a.form){var x=ct(h);if(!x)throw Error(i(90));Ne(h),nn(h,x)}}}break;case"textarea":lr(a,f);break;case"select":o=f.value,o!=null&&Ln(a,!!f.multiple,o,!1)}},Js=Vl,el=Os;var vC={usingClientEntryPoint:!1,Events:[Dc,bl,ct,ni,Ko,Vl]},zl={findFiberByHostInstance:oi,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},hC={bundleType:zl.bundleType,version:zl.version,rendererPackageName:zl.rendererPackageName,rendererConfig:zl.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:U.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){return a=cr(a),a===null?null:a.stateNode},findFiberByHostInstance:zl.findFiberByHostInstance||Lg,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var zd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!zd.isDisabled&&zd.supportsFiber)try{ns=zd.inject(hC),Ca=zd}catch{}}return Si.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vC,Si.createPortal=function(a,o){var f=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Kv(o))throw Error(i(200));return jg(a,o,null,f)},Si.createRoot=function(a,o){if(!Kv(a))throw Error(i(299));var f=!1,h="",x=Qv;return o!=null&&(o.unstable_strictMode===!0&&(f=!0),o.identifierPrefix!==void 0&&(h=o.identifierPrefix),o.onRecoverableError!==void 0&&(x=o.onRecoverableError)),o=Ld(a,1,!1,null,null,f,!1,h,x),a[Ao]=o.current,yl(a.nodeType===8?a.parentNode:a),new Pd(o)},Si.findDOMNode=function(a){if(a==null)return null;if(a.nodeType===1)return a;var o=a._reactInternals;if(o===void 0)throw typeof a.render=="function"?Error(i(188)):(a=Object.keys(a).join(","),Error(i(268,a)));return a=cr(o),a=a===null?null:a.stateNode,a},Si.flushSync=function(a){return Os(a)},Si.hydrate=function(a,o,f){if(!Vd(o))throw Error(i(200));return Bd(null,a,o,!0,f)},Si.hydrateRoot=function(a,o,f){if(!Kv(a))throw Error(i(405));var h=f!=null&&f.hydratedSources||null,x=!1,R="",k=Qv;if(f!=null&&(f.unstable_strictMode===!0&&(x=!0),f.identifierPrefix!==void 0&&(R=f.identifierPrefix),f.onRecoverableError!==void 0&&(k=f.onRecoverableError)),o=kg(o,null,a,1,f??null,x,!1,R,k),a[Ao]=o.current,yl(a),h)for(a=0;a<h.length;a++)f=h[a],x=f._getVersion,x=x(f._source),o.mutableSourceEagerHydrationData==null?o.mutableSourceEagerHydrationData=[f,x]:o.mutableSourceEagerHydrationData.push(f,x);return new Fo(o)},Si.render=function(a,o,f){if(!Vd(o))throw Error(i(200));return Bd(null,a,o,!1,f)},Si.unmountComponentAtNode=function(a){if(!Vd(a))throw Error(i(40));return a._reactRootContainer?(Os(function(){Bd(null,null,a,!1,function(){a._reactRootContainer=null,a[Ao]=null})}),!0):!1},Si.unstable_batchedUpdates=Vl,Si.unstable_renderSubtreeIntoContainer=function(a,o,f,h){if(!Vd(f))throw Error(i(200));if(a==null||a._reactInternals===void 0)throw Error(i(38));return Bd(a,o,f,!1,h)},Si.version="18.2.0-next-9e3b772b8-20220608",Si}var wi={};/**
97
97
  * @license React
98
98
  * react-dom.development.js
99
99
  *
@@ -101,15 +101,15 @@ Error generating stack: `+w.message+`
101
101
  *
102
102
  * This source code is licensed under the MIT license found in the
103
103
  * LICENSE file in the root directory of this source tree.
104
- */var SA;function NV(){return SA||(SA=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n=Of(),r=OO(),i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,u=!1;function l(e){u=e}function d(e){if(!u){for(var t=arguments.length,s=new Array(t>1?t-1:0),c=1;c<t;c++)s[c-1]=arguments[c];y("warn",e,s)}}function p(e){if(!u){for(var t=arguments.length,s=new Array(t>1?t-1:0),c=1;c<t;c++)s[c-1]=arguments[c];y("error",e,s)}}function y(e,t,s){{var c=i.ReactDebugCurrentFrame,v=c.getStackAddendum();v!==""&&(t+="%s",s=s.concat([v]));var m=s.map(function(S){return String(S)});m.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,m)}}var g=0,b=1,E=2,R=3,T=4,A=5,N=6,j=7,O=8,L=9,B=10,P=11,U=12,z=13,G=14,X=15,te=16,Re=17,ue=18,pe=19,ye=21,me=22,Ae=23,_e=24,Oe=25,Ie=!0,ve=!1,Le=!1,F=!1,q=!1,se=!0,xe=!1,Ee=!1,De=!0,ie=!0,he=!0,Te=new Set,Ve={},Ke={};function It(e,t){Ne(e,t),Ne(e+"Capture",t)}function Ne(e,t){Ve[e]&&p("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Ve[e]=t;{var s=e.toLowerCase();Ke[s]=e,e==="onDoubleClick"&&(Ke.ondblclick=e)}for(var c=0;c<t.length;c++)Te.add(t[c])}var ft=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Bt=Object.prototype.hasOwnProperty;function lt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,s=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return s}}function hn(e){try{return nn(e),!1}catch{return!0}}function nn(e){return""+e}function Hn(e,t){if(hn(e))return p("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,lt(e)),nn(e)}function Mn(e){if(hn(e))return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",lt(e)),nn(e)}function Mt(e,t){if(hn(e))return p("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,lt(e)),nn(e)}function Ln(e,t){if(hn(e))return p("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,lt(e)),nn(e)}function $n(e){if(hn(e))return p("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",lt(e)),nn(e)}function rr(e){if(hn(e))return p("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",lt(e)),nn(e)}var lr=0,Qn=1,St=2,en=3,ar=4,Xi=5,Va=6,He=":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",st=He+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Lt=new RegExp("^["+He+"]["+st+"]*$"),sn={},ln={};function ir(e){return Bt.call(ln,e)?!0:Bt.call(sn,e)?!1:Lt.test(e)?(ln[e]=!0,!0):(sn[e]=!0,p("Invalid attribute name: `%s`",e),!1)}function Wn(e,t,s){return t!==null?t.type===lr:s?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function $r(e,t,s,c){if(s!==null&&s.type===lr)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(c)return!1;if(s!==null)return!s.acceptsBooleans;var v=e.toLowerCase().slice(0,5);return v!=="data-"&&v!=="aria-"}default:return!1}}function mn(e,t,s,c){if(t===null||typeof t>"u"||$r(e,t,s,c))return!0;if(c)return!1;if(s!==null)switch(s.type){case en:return!t;case ar:return t===!1;case Xi:return isNaN(t);case Va:return isNaN(t)||t<1}return!1}function na(e){return fn.hasOwnProperty(e)?fn[e]:null}function cn(e,t,s,c,v,m,S){this.acceptsBooleans=t===St||t===en||t===ar,this.attributeName=c,this.attributeNamespace=v,this.mustUseProperty=s,this.propertyName=e,this.type=t,this.sanitizeURL=m,this.removeEmptyString=S}var fn={},Ni=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Ni.forEach(function(e){fn[e]=new cn(e,lr,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],s=e[1];fn[t]=new cn(t,Qn,!1,s,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){fn[e]=new cn(e,St,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){fn[e]=new cn(e,St,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){fn[e]=new cn(e,en,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){fn[e]=new cn(e,en,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){fn[e]=new cn(e,ar,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){fn[e]=new cn(e,Va,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){fn[e]=new cn(e,Xi,!1,e.toLowerCase(),null,!1,!1)});var ni=/[\-\:]([a-z])/g,Ko=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(ni,Ko);fn[t]=new cn(t,Qn,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(ni,Ko);fn[t]=new cn(t,Qn,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ni,Ko);fn[t]=new cn(t,Qn,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){fn[e]=new cn(e,Qn,!1,e.toLowerCase(),null,!1,!1)});var Js="xlinkHref";fn[Js]=new cn("xlinkHref",Qn,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){fn[e]=new cn(e,Qn,!1,e.toLowerCase(),null,!0,!0)});var el=/^[\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,bo=!1;function es(e){!bo&&el.test(e)&&(bo=!0,p("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(e)))}function Ba(e,t,s,c){if(c.mustUseProperty){var v=c.propertyName;return e[v]}else{Hn(s,t),c.sanitizeURL&&es(""+s);var m=c.attributeName,S=null;if(c.type===ar){if(e.hasAttribute(m)){var I=e.getAttribute(m);return I===""?!0:mn(t,s,c,!1)?I:I===""+s?s:I}}else if(e.hasAttribute(m)){if(mn(t,s,c,!1))return e.getAttribute(m);if(c.type===en)return s;S=e.getAttribute(m)}return mn(t,s,c,!1)?S===null?s:S:S===""+s?s:S}}function Yi(e,t,s,c){{if(!ir(t))return;if(!e.hasAttribute(t))return s===void 0?void 0:null;var v=e.getAttribute(t);return Hn(s,t),v===""+s?s:v}}function za(e,t,s,c){var v=na(t);if(!Wn(t,v,c)){if(mn(t,s,v,c)&&(s=null),c||v===null){if(ir(t)){var m=t;s===null?e.removeAttribute(m):(Hn(s,t),e.setAttribute(m,""+s))}return}var S=v.mustUseProperty;if(S){var I=v.propertyName;if(s===null){var _=v.type;e[I]=_===en?!1:""}else e[I]=s;return}var V=v.attributeName,H=v.attributeNamespace;if(s===null)e.removeAttribute(V);else{var ee=v.type,Q;ee===en||ee===ar&&s===!0?Q="":(Hn(s,V),Q=""+s,v.sanitizeURL&&es(Q.toString())),H?e.setAttributeNS(H,V,Q):e.setAttribute(V,Q)}}}var Zi=Symbol.for("react.element"),ra=Symbol.for("react.portal"),Ha=Symbol.for("react.fragment"),Ji=Symbol.for("react.strict_mode"),Z=Symbol.for("react.profiler"),je=Symbol.for("react.provider"),Ue=Symbol.for("react.context"),Je=Symbol.for("react.forward_ref"),_t=Symbol.for("react.suspense"),Gt=Symbol.for("react.suspense_list"),Dt=Symbol.for("react.memo"),dt=Symbol.for("react.lazy"),cr=Symbol.for("react.scope"),_n=Symbol.for("react.debug_trace_mode"),Dn=Symbol.for("react.offscreen"),jr=Symbol.for("react.legacy_hidden"),qi=Symbol.for("react.cache"),tl=Symbol.for("react.tracing_marker"),Zt=Symbol.iterator,Hp="@@iterator";function Oi(e){if(e===null||typeof e!="object")return null;var t=Zt&&e[Zt]||e[Hp];return typeof t=="function"?t:null}var Ft=Object.assign,Qi=0,ts,nl,ns,Ca,hc,aa,mc;function gc(){}gc.__reactDisabledLog=!0;function Df(){{if(Qi===0){ts=console.log,nl=console.info,ns=console.warn,Ca=console.error,hc=console.group,aa=console.groupCollapsed,mc=console.groupEnd;var e={configurable:!0,enumerable:!0,value:gc,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Qi++}}function rl(){{if(Qi--,Qi===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ft({},e,{value:ts}),info:Ft({},e,{value:nl}),warn:Ft({},e,{value:ns}),error:Ft({},e,{value:Ca}),group:Ft({},e,{value:hc}),groupCollapsed:Ft({},e,{value:aa}),groupEnd:Ft({},e,{value:mc})})}Qi<0&&p("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var rs=i.ReactCurrentDispatcher,_i;function ia(e,t,s){{if(_i===void 0)try{throw Error()}catch(v){var c=v.stack.trim().match(/\n( *(at )?)/);_i=c&&c[1]||""}return`
104
+ */var SA;function NV(){return SA||(SA=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n=Of(),r=OO(),i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,u=!1;function l(e){u=e}function d(e){if(!u){for(var t=arguments.length,s=new Array(t>1?t-1:0),c=1;c<t;c++)s[c-1]=arguments[c];y("warn",e,s)}}function p(e){if(!u){for(var t=arguments.length,s=new Array(t>1?t-1:0),c=1;c<t;c++)s[c-1]=arguments[c];y("error",e,s)}}function y(e,t,s){{var c=i.ReactDebugCurrentFrame,v=c.getStackAddendum();v!==""&&(t+="%s",s=s.concat([v]));var m=s.map(function(S){return String(S)});m.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,m)}}var g=0,b=1,E=2,w=3,T=4,A=5,N=6,j=7,O=8,L=9,B=10,P=11,U=12,z=13,G=14,X=15,te=16,Re=17,ue=18,pe=19,ye=21,me=22,Ae=23,_e=24,Oe=25,Ie=!0,ve=!1,Le=!1,F=!1,q=!1,se=!0,xe=!1,Ee=!1,De=!0,ie=!0,he=!0,Te=new Set,Ve={},Ke={};function It(e,t){Ne(e,t),Ne(e+"Capture",t)}function Ne(e,t){Ve[e]&&p("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Ve[e]=t;{var s=e.toLowerCase();Ke[s]=e,e==="onDoubleClick"&&(Ke.ondblclick=e)}for(var c=0;c<t.length;c++)Te.add(t[c])}var ft=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Bt=Object.prototype.hasOwnProperty;function lt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,s=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return s}}function hn(e){try{return nn(e),!1}catch{return!0}}function nn(e){return""+e}function Hn(e,t){if(hn(e))return p("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,lt(e)),nn(e)}function Mn(e){if(hn(e))return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",lt(e)),nn(e)}function Mt(e,t){if(hn(e))return p("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,lt(e)),nn(e)}function Ln(e,t){if(hn(e))return p("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,lt(e)),nn(e)}function $n(e){if(hn(e))return p("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",lt(e)),nn(e)}function rr(e){if(hn(e))return p("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",lt(e)),nn(e)}var lr=0,Qn=1,St=2,en=3,ar=4,Xi=5,Va=6,He=":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",st=He+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Lt=new RegExp("^["+He+"]["+st+"]*$"),sn={},ln={};function ir(e){return Bt.call(ln,e)?!0:Bt.call(sn,e)?!1:Lt.test(e)?(ln[e]=!0,!0):(sn[e]=!0,p("Invalid attribute name: `%s`",e),!1)}function Wn(e,t,s){return t!==null?t.type===lr:s?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function $r(e,t,s,c){if(s!==null&&s.type===lr)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(c)return!1;if(s!==null)return!s.acceptsBooleans;var v=e.toLowerCase().slice(0,5);return v!=="data-"&&v!=="aria-"}default:return!1}}function mn(e,t,s,c){if(t===null||typeof t>"u"||$r(e,t,s,c))return!0;if(c)return!1;if(s!==null)switch(s.type){case en:return!t;case ar:return t===!1;case Xi:return isNaN(t);case Va:return isNaN(t)||t<1}return!1}function na(e){return fn.hasOwnProperty(e)?fn[e]:null}function cn(e,t,s,c,v,m,S){this.acceptsBooleans=t===St||t===en||t===ar,this.attributeName=c,this.attributeNamespace=v,this.mustUseProperty=s,this.propertyName=e,this.type=t,this.sanitizeURL=m,this.removeEmptyString=S}var fn={},Ni=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Ni.forEach(function(e){fn[e]=new cn(e,lr,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],s=e[1];fn[t]=new cn(t,Qn,!1,s,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){fn[e]=new cn(e,St,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){fn[e]=new cn(e,St,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){fn[e]=new cn(e,en,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){fn[e]=new cn(e,en,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){fn[e]=new cn(e,ar,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){fn[e]=new cn(e,Va,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){fn[e]=new cn(e,Xi,!1,e.toLowerCase(),null,!1,!1)});var ni=/[\-\:]([a-z])/g,Ko=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(ni,Ko);fn[t]=new cn(t,Qn,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(ni,Ko);fn[t]=new cn(t,Qn,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ni,Ko);fn[t]=new cn(t,Qn,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){fn[e]=new cn(e,Qn,!1,e.toLowerCase(),null,!1,!1)});var Js="xlinkHref";fn[Js]=new cn("xlinkHref",Qn,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){fn[e]=new cn(e,Qn,!1,e.toLowerCase(),null,!0,!0)});var el=/^[\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,bo=!1;function es(e){!bo&&el.test(e)&&(bo=!0,p("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(e)))}function Ba(e,t,s,c){if(c.mustUseProperty){var v=c.propertyName;return e[v]}else{Hn(s,t),c.sanitizeURL&&es(""+s);var m=c.attributeName,S=null;if(c.type===ar){if(e.hasAttribute(m)){var I=e.getAttribute(m);return I===""?!0:mn(t,s,c,!1)?I:I===""+s?s:I}}else if(e.hasAttribute(m)){if(mn(t,s,c,!1))return e.getAttribute(m);if(c.type===en)return s;S=e.getAttribute(m)}return mn(t,s,c,!1)?S===null?s:S:S===""+s?s:S}}function Yi(e,t,s,c){{if(!ir(t))return;if(!e.hasAttribute(t))return s===void 0?void 0:null;var v=e.getAttribute(t);return Hn(s,t),v===""+s?s:v}}function za(e,t,s,c){var v=na(t);if(!Wn(t,v,c)){if(mn(t,s,v,c)&&(s=null),c||v===null){if(ir(t)){var m=t;s===null?e.removeAttribute(m):(Hn(s,t),e.setAttribute(m,""+s))}return}var S=v.mustUseProperty;if(S){var I=v.propertyName;if(s===null){var _=v.type;e[I]=_===en?!1:""}else e[I]=s;return}var V=v.attributeName,H=v.attributeNamespace;if(s===null)e.removeAttribute(V);else{var ee=v.type,Q;ee===en||ee===ar&&s===!0?Q="":(Hn(s,V),Q=""+s,v.sanitizeURL&&es(Q.toString())),H?e.setAttributeNS(H,V,Q):e.setAttribute(V,Q)}}}var Zi=Symbol.for("react.element"),ra=Symbol.for("react.portal"),Ha=Symbol.for("react.fragment"),Ji=Symbol.for("react.strict_mode"),Z=Symbol.for("react.profiler"),je=Symbol.for("react.provider"),Ue=Symbol.for("react.context"),Je=Symbol.for("react.forward_ref"),_t=Symbol.for("react.suspense"),Gt=Symbol.for("react.suspense_list"),Dt=Symbol.for("react.memo"),dt=Symbol.for("react.lazy"),cr=Symbol.for("react.scope"),_n=Symbol.for("react.debug_trace_mode"),Dn=Symbol.for("react.offscreen"),jr=Symbol.for("react.legacy_hidden"),qi=Symbol.for("react.cache"),tl=Symbol.for("react.tracing_marker"),Zt=Symbol.iterator,Hp="@@iterator";function Oi(e){if(e===null||typeof e!="object")return null;var t=Zt&&e[Zt]||e[Hp];return typeof t=="function"?t:null}var Ft=Object.assign,Qi=0,ts,nl,ns,Ca,hc,aa,mc;function gc(){}gc.__reactDisabledLog=!0;function Df(){{if(Qi===0){ts=console.log,nl=console.info,ns=console.warn,Ca=console.error,hc=console.group,aa=console.groupCollapsed,mc=console.groupEnd;var e={configurable:!0,enumerable:!0,value:gc,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Qi++}}function rl(){{if(Qi--,Qi===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ft({},e,{value:ts}),info:Ft({},e,{value:nl}),warn:Ft({},e,{value:ns}),error:Ft({},e,{value:Ca}),group:Ft({},e,{value:hc}),groupCollapsed:Ft({},e,{value:aa}),groupEnd:Ft({},e,{value:mc})})}Qi<0&&p("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var rs=i.ReactCurrentDispatcher,_i;function ia(e,t,s){{if(_i===void 0)try{throw Error()}catch(v){var c=v.stack.trim().match(/\n( *(at )?)/);_i=c&&c[1]||""}return`
105
105
  `+_i+e}}var as=!1,is;{var os=typeof WeakMap=="function"?WeakMap:Map;is=new os}function al(e,t){if(!e||as)return"";{var s=is.get(e);if(s!==void 0)return s}var c;as=!0;var v=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var m;m=rs.current,rs.current=null,Df();try{if(t){var S=function(){throw Error()};if(Object.defineProperty(S.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(S,[])}catch(fe){c=fe}Reflect.construct(e,[],S)}else{try{S.call()}catch(fe){c=fe}e.call(S.prototype)}}else{try{throw Error()}catch(fe){c=fe}e()}}catch(fe){if(fe&&c&&typeof fe.stack=="string"){for(var I=fe.stack.split(`
106
106
  `),_=c.stack.split(`
107
107
  `),V=I.length-1,H=_.length-1;V>=1&&H>=0&&I[V]!==_[H];)H--;for(;V>=1&&H>=0;V--,H--)if(I[V]!==_[H]){if(V!==1||H!==1)do if(V--,H--,H<0||I[V]!==_[H]){var ee=`
108
108
  `+I[V].replace(" at new "," at ");return e.displayName&&ee.includes("<anonymous>")&&(ee=ee.replace("<anonymous>",e.displayName)),typeof e=="function"&&is.set(e,ee),ee}while(V>=1&&H>=0);break}}}finally{as=!1,rs.current=m,rl(),Error.prepareStackTrace=v}var Q=e?e.displayName||e.name:"",le=Q?ia(Q):"";return typeof e=="function"&&is.set(e,le),le}function il(e,t,s){return al(e,!0)}function Co(e,t,s){return al(e,!1)}function Up(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Ki(e,t,s){if(e==null)return"";if(typeof e=="function")return al(e,Up(e));if(typeof e=="string")return ia(e);switch(e){case _t:return ia("Suspense");case Gt:return ia("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case Je:return Co(e.render);case Dt:return Ki(e.type,t,s);case dt:{var c=e,v=c._payload,m=c._init;try{return Ki(m(v),t,s)}catch{}}}return""}function rn(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case A:return ia(e.type);case te:return ia("Lazy");case z:return ia("Suspense");case pe:return ia("SuspenseList");case g:case E:case X:return Co(e.type);case P:return Co(e.type.render);case b:return il(e.type);default:return""}}function ol(e){try{var t="",s=e;do t+=rn(s),s=s.return;while(s);return t}catch(c){return`
109
109
  Error generating stack: `+c.message+`
110
- `+c.stack}}function qs(e,t,s){var c=e.displayName;if(c)return c;var v=t.displayName||t.name||"";return v!==""?s+"("+v+")":s}function sl(e){return e.displayName||"Context"}function Jt(e){if(e==null)return null;if(typeof e.tag=="number"&&p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ha:return"Fragment";case ra:return"Portal";case Z:return"Profiler";case Ji:return"StrictMode";case _t:return"Suspense";case Gt:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ue:var t=e;return sl(t)+".Consumer";case je:var s=e;return sl(s._context)+".Provider";case Je:return qs(e,e.render,"ForwardRef");case Dt:var c=e.displayName||null;return c!==null?c:Jt(e.type)||"Memo";case dt:{var v=e,m=v._payload,S=v._init;try{return Jt(S(m))}catch{return null}}}return null}function ul(e,t,s){var c=t.displayName||t.name||"";return e.displayName||(c!==""?s+"("+c+")":s)}function ll(e){return e.displayName||"Context"}function At(e){var t=e.tag,s=e.type;switch(t){case _e:return"Cache";case L:var c=s;return ll(c)+".Consumer";case B:var v=s;return ll(v._context)+".Provider";case ue:return"DehydratedFragment";case P:return ul(s,s.render,"ForwardRef");case j:return"Fragment";case A:return s;case T:return"Portal";case R:return"Root";case N:return"Text";case te:return Jt(s);case O:return s===Ji?"StrictMode":"Mode";case me:return"Offscreen";case U:return"Profiler";case ye:return"Scope";case z:return"Suspense";case pe:return"SuspenseList";case Oe:return"TracingMarker";case b:case g:case Re:case E:case G:case X:if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;break}return null}var Qs=i.ReactDebugCurrentFrame,Xn=null,xa=!1;function oa(){{if(Xn===null)return null;var e=Xn._debugOwner;if(e!==null&&typeof e<"u")return At(e)}return null}function ss(){return Xn===null?"":ol(Xn)}function Kn(){Qs.getCurrentStack=null,Xn=null,xa=!1}function dn(e){Qs.getCurrentStack=e===null?null:ss,Xn=e,xa=!1}function jf(){return Xn}function Ea(e){xa=e}function Sr(e){return""+e}function eo(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return rr(e),e;default:return""}}var kf={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function xo(e,t){kf[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||p("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`."),t.onChange||t.readOnly||t.disabled||t.checked==null||p("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 us(e){var t=e.type,s=e.nodeName;return s&&s.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Mf(e){return e._valueTracker}function ri(e){e._valueTracker=null}function ls(e){var t="";return e&&(us(e)?t=e.checked?"true":"false":t=e.value),t}function cs(e){var t=us(e)?"checked":"value",s=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);rr(e[t]);var c=""+e[t];if(!(e.hasOwnProperty(t)||typeof s>"u"||typeof s.get!="function"||typeof s.set!="function")){var v=s.get,m=s.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return v.call(this)},set:function(I){rr(I),c=""+I,m.call(this,I)}}),Object.defineProperty(e,t,{enumerable:s.enumerable});var S={getValue:function(){return c},setValue:function(I){rr(I),c=""+I},stopTracking:function(){ri(e),delete e[t]}};return S}}function ai(e){Mf(e)||(e._valueTracker=cs(e))}function cl(e){if(!e)return!1;var t=Mf(e);if(!t)return!0;var s=t.getValue(),c=ls(e);return c!==s?(t.setValue(c),!0):!1}function fs(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var ds=!1,Ks=!1,fl=!1,yc=!1;function Di(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function D(e,t){var s=e,c=t.checked,v=Ft({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:c??s._wrapperState.initialChecked});return v}function Y(e,t){xo("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Ks&&(p("%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",oa()||"A component",t.type),Ks=!0),t.value!==void 0&&t.defaultValue!==void 0&&!ds&&(p("%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",oa()||"A component",t.type),ds=!0);var s=e,c=t.defaultValue==null?"":t.defaultValue;s._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:eo(t.value!=null?t.value:c),controlled:Di(t)}}function ce(e,t){var s=e,c=t.checked;c!=null&&za(s,"checked",c,!1)}function ge(e,t){var s=e;{var c=Di(t);!s._wrapperState.controlled&&c&&!yc&&(p("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"),yc=!0),s._wrapperState.controlled&&!c&&!fl&&(p("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"),fl=!0)}ce(e,t);var v=eo(t.value),m=t.type;if(v!=null)m==="number"?(v===0&&s.value===""||s.value!=v)&&(s.value=Sr(v)):s.value!==Sr(v)&&(s.value=Sr(v));else if(m==="submit"||m==="reset"){s.removeAttribute("value");return}t.hasOwnProperty("value")?ht(s,t.type,v):t.hasOwnProperty("defaultValue")&&ht(s,t.type,eo(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(s.defaultChecked=!!t.defaultChecked)}function Be(e,t,s){var c=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var v=t.type,m=v==="submit"||v==="reset";if(m&&(t.value===void 0||t.value===null))return;var S=Sr(c._wrapperState.initialValue);s||S!==c.value&&(c.value=S),c.defaultValue=S}var I=c.name;I!==""&&(c.name=""),c.defaultChecked=!c.defaultChecked,c.defaultChecked=!!c._wrapperState.initialChecked,I!==""&&(c.name=I)}function gt(e,t){var s=e;ge(s,t),We(s,t)}function We(e,t){var s=t.name;if(t.type==="radio"&&s!=null){for(var c=e;c.parentNode;)c=c.parentNode;Hn(s,"name");for(var v=c.querySelectorAll("input[name="+JSON.stringify(""+s)+'][type="radio"]'),m=0;m<v.length;m++){var S=v[m];if(!(S===e||S.form!==e.form)){var I=ey(S);if(!I)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");cl(S),ge(S,I)}}}}function ht(e,t,s){(t!=="number"||fs(e.ownerDocument)!==e)&&(s==null?e.defaultValue=Sr(e._wrapperState.initialValue):e.defaultValue!==Sr(s)&&(e.defaultValue=Sr(s)))}var Pt=!1,qt=!1,Tn=!1;function gn(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?n.Children.forEach(t.children,function(s){s!=null&&(typeof s=="string"||typeof s=="number"||qt||(qt=!0,p("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(Tn||(Tn=!0,p("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!Pt&&(p("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Pt=!0)}function In(e,t){t.value!=null&&e.setAttribute("value",Sr(eo(t.value)))}var jn=Array.isArray;function Ut(e){return jn(e)}var Eo;Eo=!1;function dl(){var e=oa();return e?`
110
+ `+c.stack}}function qs(e,t,s){var c=e.displayName;if(c)return c;var v=t.displayName||t.name||"";return v!==""?s+"("+v+")":s}function sl(e){return e.displayName||"Context"}function Jt(e){if(e==null)return null;if(typeof e.tag=="number"&&p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ha:return"Fragment";case ra:return"Portal";case Z:return"Profiler";case Ji:return"StrictMode";case _t:return"Suspense";case Gt:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ue:var t=e;return sl(t)+".Consumer";case je:var s=e;return sl(s._context)+".Provider";case Je:return qs(e,e.render,"ForwardRef");case Dt:var c=e.displayName||null;return c!==null?c:Jt(e.type)||"Memo";case dt:{var v=e,m=v._payload,S=v._init;try{return Jt(S(m))}catch{return null}}}return null}function ul(e,t,s){var c=t.displayName||t.name||"";return e.displayName||(c!==""?s+"("+c+")":s)}function ll(e){return e.displayName||"Context"}function At(e){var t=e.tag,s=e.type;switch(t){case _e:return"Cache";case L:var c=s;return ll(c)+".Consumer";case B:var v=s;return ll(v._context)+".Provider";case ue:return"DehydratedFragment";case P:return ul(s,s.render,"ForwardRef");case j:return"Fragment";case A:return s;case T:return"Portal";case w:return"Root";case N:return"Text";case te:return Jt(s);case O:return s===Ji?"StrictMode":"Mode";case me:return"Offscreen";case U:return"Profiler";case ye:return"Scope";case z:return"Suspense";case pe:return"SuspenseList";case Oe:return"TracingMarker";case b:case g:case Re:case E:case G:case X:if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;break}return null}var Qs=i.ReactDebugCurrentFrame,Xn=null,xa=!1;function oa(){{if(Xn===null)return null;var e=Xn._debugOwner;if(e!==null&&typeof e<"u")return At(e)}return null}function ss(){return Xn===null?"":ol(Xn)}function Kn(){Qs.getCurrentStack=null,Xn=null,xa=!1}function dn(e){Qs.getCurrentStack=e===null?null:ss,Xn=e,xa=!1}function jf(){return Xn}function Ea(e){xa=e}function Sr(e){return""+e}function eo(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return rr(e),e;default:return""}}var kf={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function xo(e,t){kf[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||p("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`."),t.onChange||t.readOnly||t.disabled||t.checked==null||p("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 us(e){var t=e.type,s=e.nodeName;return s&&s.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Mf(e){return e._valueTracker}function ri(e){e._valueTracker=null}function ls(e){var t="";return e&&(us(e)?t=e.checked?"true":"false":t=e.value),t}function cs(e){var t=us(e)?"checked":"value",s=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);rr(e[t]);var c=""+e[t];if(!(e.hasOwnProperty(t)||typeof s>"u"||typeof s.get!="function"||typeof s.set!="function")){var v=s.get,m=s.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return v.call(this)},set:function(I){rr(I),c=""+I,m.call(this,I)}}),Object.defineProperty(e,t,{enumerable:s.enumerable});var S={getValue:function(){return c},setValue:function(I){rr(I),c=""+I},stopTracking:function(){ri(e),delete e[t]}};return S}}function ai(e){Mf(e)||(e._valueTracker=cs(e))}function cl(e){if(!e)return!1;var t=Mf(e);if(!t)return!0;var s=t.getValue(),c=ls(e);return c!==s?(t.setValue(c),!0):!1}function fs(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var ds=!1,Ks=!1,fl=!1,yc=!1;function Di(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function D(e,t){var s=e,c=t.checked,v=Ft({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:c??s._wrapperState.initialChecked});return v}function Y(e,t){xo("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Ks&&(p("%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",oa()||"A component",t.type),Ks=!0),t.value!==void 0&&t.defaultValue!==void 0&&!ds&&(p("%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",oa()||"A component",t.type),ds=!0);var s=e,c=t.defaultValue==null?"":t.defaultValue;s._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:eo(t.value!=null?t.value:c),controlled:Di(t)}}function ce(e,t){var s=e,c=t.checked;c!=null&&za(s,"checked",c,!1)}function ge(e,t){var s=e;{var c=Di(t);!s._wrapperState.controlled&&c&&!yc&&(p("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"),yc=!0),s._wrapperState.controlled&&!c&&!fl&&(p("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"),fl=!0)}ce(e,t);var v=eo(t.value),m=t.type;if(v!=null)m==="number"?(v===0&&s.value===""||s.value!=v)&&(s.value=Sr(v)):s.value!==Sr(v)&&(s.value=Sr(v));else if(m==="submit"||m==="reset"){s.removeAttribute("value");return}t.hasOwnProperty("value")?ht(s,t.type,v):t.hasOwnProperty("defaultValue")&&ht(s,t.type,eo(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(s.defaultChecked=!!t.defaultChecked)}function Be(e,t,s){var c=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var v=t.type,m=v==="submit"||v==="reset";if(m&&(t.value===void 0||t.value===null))return;var S=Sr(c._wrapperState.initialValue);s||S!==c.value&&(c.value=S),c.defaultValue=S}var I=c.name;I!==""&&(c.name=""),c.defaultChecked=!c.defaultChecked,c.defaultChecked=!!c._wrapperState.initialChecked,I!==""&&(c.name=I)}function gt(e,t){var s=e;ge(s,t),We(s,t)}function We(e,t){var s=t.name;if(t.type==="radio"&&s!=null){for(var c=e;c.parentNode;)c=c.parentNode;Hn(s,"name");for(var v=c.querySelectorAll("input[name="+JSON.stringify(""+s)+'][type="radio"]'),m=0;m<v.length;m++){var S=v[m];if(!(S===e||S.form!==e.form)){var I=ey(S);if(!I)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");cl(S),ge(S,I)}}}}function ht(e,t,s){(t!=="number"||fs(e.ownerDocument)!==e)&&(s==null?e.defaultValue=Sr(e._wrapperState.initialValue):e.defaultValue!==Sr(s)&&(e.defaultValue=Sr(s)))}var Pt=!1,qt=!1,Tn=!1;function gn(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?n.Children.forEach(t.children,function(s){s!=null&&(typeof s=="string"||typeof s=="number"||qt||(qt=!0,p("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(Tn||(Tn=!0,p("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!Pt&&(p("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Pt=!0)}function In(e,t){t.value!=null&&e.setAttribute("value",Sr(eo(t.value)))}var jn=Array.isArray;function Ut(e){return jn(e)}var Eo;Eo=!1;function dl(){var e=oa();return e?`
111
111
 
112
- Check the render method of \``+e+"`.":""}var bc=["value","defaultValue"];function Gp(e){{xo("select",e);for(var t=0;t<bc.length;t++){var s=bc[t];if(e[s]!=null){var c=Ut(e[s]);e.multiple&&!c?p("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",s,dl()):!e.multiple&&c&&p("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",s,dl())}}}}function ji(e,t,s,c){var v=e.options;if(t){for(var m=s,S={},I=0;I<m.length;I++)S["$"+m[I]]=!0;for(var _=0;_<v.length;_++){var V=S.hasOwnProperty("$"+v[_].value);v[_].selected!==V&&(v[_].selected=V),V&&c&&(v[_].defaultSelected=!0)}}else{for(var H=Sr(eo(s)),ee=null,Q=0;Q<v.length;Q++){if(v[Q].value===H){v[Q].selected=!0,c&&(v[Q].defaultSelected=!0);return}ee===null&&!v[Q].disabled&&(ee=v[Q])}ee!==null&&(ee.selected=!0)}}function Cc(e,t){return Ft({},t,{value:void 0})}function xc(e,t){var s=e;Gp(t),s._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Eo&&(p("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"),Eo=!0)}function $p(e,t){var s=e;s.multiple=!!t.multiple;var c=t.value;c!=null?ji(s,!!t.multiple,c,!1):t.defaultValue!=null&&ji(s,!!t.multiple,t.defaultValue,!0)}function L0(e,t){var s=e,c=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!t.multiple;var v=t.value;v!=null?ji(s,!!t.multiple,v,!1):c!==!!t.multiple&&(t.defaultValue!=null?ji(s,!!t.multiple,t.defaultValue,!0):ji(s,!!t.multiple,t.multiple?[]:"",!1))}function F0(e,t){var s=e,c=t.value;c!=null&&ji(s,!!t.multiple,c,!1)}var Wp=!1;function Xp(e,t){var s=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var c=Ft({},t,{value:void 0,defaultValue:void 0,children:Sr(s._wrapperState.initialValue)});return c}function Nm(e,t){var s=e;xo("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Wp&&(p("%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",oa()||"A component"),Wp=!0);var c=t.value;if(c==null){var v=t.children,m=t.defaultValue;if(v!=null){p("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(m!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Ut(v)){if(v.length>1)throw new Error("<textarea> can only have at most one child.");v=v[0]}m=v}}m==null&&(m=""),c=m}s._wrapperState={initialValue:eo(c)}}function Om(e,t){var s=e,c=eo(t.value),v=eo(t.defaultValue);if(c!=null){var m=Sr(c);m!==s.value&&(s.value=m),t.defaultValue==null&&s.defaultValue!==m&&(s.defaultValue=m)}v!=null&&(s.defaultValue=Sr(v))}function _m(e,t){var s=e,c=s.textContent;c===s._wrapperState.initialValue&&c!==""&&c!==null&&(s.value=c)}function Yp(e,t){Om(e,t)}var So="http://www.w3.org/1999/xhtml",P0="http://www.w3.org/1998/Math/MathML",Zp="http://www.w3.org/2000/svg";function Lf(e){switch(e){case"svg":return Zp;case"math":return P0;default:return So}}function Jp(e,t){return e==null||e===So?Lf(t):e===Zp&&t==="foreignObject"?So:e}var V0=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,s,c,v){MSApp.execUnsafeLocalFunction(function(){return e(t,s,c,v)})}:e},Ff,Dm=V0(function(e,t){if(e.namespaceURI===Zp&&!("innerHTML"in e)){Ff=Ff||document.createElement("div"),Ff.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var s=Ff.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;s.firstChild;)e.appendChild(s.firstChild);return}e.innerHTML=t}),Sa=1,wo=3,fr=8,ki=9,eu=11,Pf=function(e,t){if(t){var s=e.firstChild;if(s&&s===e.lastChild&&s.nodeType===wo){s.nodeValue=t;return}}e.textContent=t},jm={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"]},pl={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function km(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var Mm=["Webkit","ms","Moz","O"];Object.keys(pl).forEach(function(e){Mm.forEach(function(t){pl[km(t,e)]=pl[e]})});function Vf(e,t,s){var c=t==null||typeof t=="boolean"||t==="";return c?"":!s&&typeof t=="number"&&t!==0&&!(pl.hasOwnProperty(e)&&pl[e])?t+"px":(Ln(t,e),(""+t).trim())}var vl=/([A-Z])/g,B0=/^ms-/;function z0(e){return e.replace(vl,"-$1").toLowerCase().replace(B0,"-ms-")}var Lm=function(){};{var Fm=/^(?:webkit|moz|o)[A-Z]/,Pm=/^-ms-/,Ec=/-(.)/g,hl=/;\s*$/,ml={},gl={},Vm=!1,qp=!1,Qp=function(e){return e.replace(Ec,function(t,s){return s.toUpperCase()})},Kp=function(e){ml.hasOwnProperty(e)&&ml[e]||(ml[e]=!0,p("Unsupported style property %s. Did you mean %s?",e,Qp(e.replace(Pm,"ms-"))))},Bm=function(e){ml.hasOwnProperty(e)&&ml[e]||(ml[e]=!0,p("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},zm=function(e,t){gl.hasOwnProperty(t)&&gl[t]||(gl[t]=!0,p(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(hl,"")))},Hm=function(e,t){Vm||(Vm=!0,p("`NaN` is an invalid value for the `%s` css style property.",e))},H0=function(e,t){qp||(qp=!0,p("`Infinity` is an invalid value for the `%s` css style property.",e))};Lm=function(e,t){e.indexOf("-")>-1?Kp(e):Fm.test(e)?Bm(e):hl.test(t)&&zm(e,t),typeof t=="number"&&(isNaN(t)?Hm(e,t):isFinite(t)||H0(e,t))}}var U0=Lm;function G0(e){{var t="",s="";for(var c in e)if(e.hasOwnProperty(c)){var v=e[c];if(v!=null){var m=c.indexOf("--")===0;t+=s+(m?c:z0(c))+":",t+=Vf(c,v,m),s=";"}}return t||null}}function Um(e,t){var s=e.style;for(var c in t)if(t.hasOwnProperty(c)){var v=c.indexOf("--")===0;v||U0(c,t[c]);var m=Vf(c,t[c],v);c==="float"&&(c="cssFloat"),v?s.setProperty(c,m):s[c]=m}}function $0(e){return e==null||typeof e=="boolean"||e===""}function ii(e){var t={};for(var s in e)for(var c=jm[s]||[s],v=0;v<c.length;v++)t[c[v]]=s;return t}function Sc(e,t){{if(!t)return;var s=ii(e),c=ii(t),v={};for(var m in s){var S=s[m],I=c[m];if(I&&S!==I){var _=S+","+I;if(v[_])continue;v[_]=!0,p("%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.",$0(e[S])?"Removing":"Updating",S,I)}}}}var Gm={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},$m=Ft({menuitem:!0},Gm),Wm="__html";function Bf(e,t){if(t){if($m[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(Wm in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&p("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."),t.style!=null&&typeof t.style!="object")throw new 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 Ro(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var zf={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",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",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"},Xm={"aria-current":0,"aria-description":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},Mi={},ev=new RegExp("^(aria)-["+st+"]*$"),wc=new RegExp("^(aria)[A-Z]["+st+"]*$");function tv(e,t){{if(Bt.call(Mi,t)&&Mi[t])return!0;if(wc.test(t)){var s="aria-"+t.slice(4).toLowerCase(),c=Xm.hasOwnProperty(s)?s:null;if(c==null)return p("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Mi[t]=!0,!0;if(t!==c)return p("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,c),Mi[t]=!0,!0}if(ev.test(t)){var v=t.toLowerCase(),m=Xm.hasOwnProperty(v)?v:null;if(m==null)return Mi[t]=!0,!1;if(t!==m)return p("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,m),Mi[t]=!0,!0}}return!0}function Ym(e,t){{var s=[];for(var c in t){var v=tv(e,c);v||s.push(c)}var m=s.map(function(S){return"`"+S+"`"}).join(", ");s.length===1?p("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",m,e):s.length>1&&p("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",m,e)}}function Hf(e,t){Ro(e,t)||Ym(e,t)}var tu=!1;function nv(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!tu&&(tu=!0,e==="select"&&t.multiple?p("`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.",e):p("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var rv=function(){};{var wr={},av=/^on./,Zm=/^on[^A-Z]/,Jm=new RegExp("^(aria)-["+st+"]*$"),qm=new RegExp("^(aria)[A-Z]["+st+"]*$");rv=function(e,t,s,c){if(Bt.call(wr,t)&&wr[t])return!0;var v=t.toLowerCase();if(v==="onfocusin"||v==="onfocusout")return p("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."),wr[t]=!0,!0;if(c!=null){var m=c.registrationNameDependencies,S=c.possibleRegistrationNames;if(m.hasOwnProperty(t))return!0;var I=S.hasOwnProperty(v)?S[v]:null;if(I!=null)return p("Invalid event handler property `%s`. Did you mean `%s`?",t,I),wr[t]=!0,!0;if(av.test(t))return p("Unknown event handler property `%s`. It will be ignored.",t),wr[t]=!0,!0}else if(av.test(t))return Zm.test(t)&&p("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),wr[t]=!0,!0;if(Jm.test(t)||qm.test(t))return!0;if(v==="innerhtml")return p("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),wr[t]=!0,!0;if(v==="aria")return p("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),wr[t]=!0,!0;if(v==="is"&&s!==null&&s!==void 0&&typeof s!="string")return p("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof s),wr[t]=!0,!0;if(typeof s=="number"&&isNaN(s))return p("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),wr[t]=!0,!0;var _=na(t),V=_!==null&&_.type===lr;if(zf.hasOwnProperty(v)){var H=zf[v];if(H!==t)return p("Invalid DOM property `%s`. Did you mean `%s`?",t,H),wr[t]=!0,!0}else if(!V&&t!==v)return p("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.",t,v),wr[t]=!0,!0;return typeof s=="boolean"&&$r(t,s,_,!1)?(s?p('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()}.',s,t,t,s,t):p('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.',s,t,t,s,t,t,t),wr[t]=!0,!0):V?!0:$r(t,s,_,!1)?(wr[t]=!0,!1):((s==="false"||s==="true")&&_!==null&&_.type===en&&(p("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",s,t,s==="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".',t,s),wr[t]=!0),!0)}}var Qm=function(e,t,s){{var c=[];for(var v in t){var m=rv(e,v,t[v],s);m||c.push(v)}var S=c.map(function(I){return"`"+I+"`"}).join(", ");c.length===1?p("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 ",S,e):c.length>1&&p("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 ",S,e)}};function Km(e,t,s){Ro(e,t)||Qm(e,t,s)}var To=1,Rc=2,nu=4,W0=To|Rc|nu,Tc=null;function Ic(e){Tc!==null&&p("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Tc=e}function X0(){Tc===null&&p("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Tc=null}function eg(e){return e===Tc}function Uf(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===wo?t.parentNode:t}var An=null,ps=null,Io=null;function yl(e){var t=Gl(e);if(t){if(typeof An!="function")throw new 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 s=t.stateNode;if(s){var c=ey(s);An(t.stateNode,t.type,c)}}}function tg(e){An=e}function Gf(e){ps?Io?Io.push(e):Io=[e]:ps=e}function Ac(){return ps!==null||Io!==null}function Nc(){if(ps){var e=ps,t=Io;if(ps=null,Io=null,yl(e),t)for(var s=0;s<t.length;s++)yl(t[s])}}var ru=function(e,t){return e(t)},iv=function(){},ov=!1;function Y0(){var e=Ac();e&&(iv(),Nc())}function sv(e,t,s){if(ov)return e(t,s);ov=!0;try{return ru(e,t,s)}finally{ov=!1,Y0()}}function $f(e,t,s){ru=e,iv=s}function Wf(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function uv(e,t,s){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(s.disabled&&Wf(t));default:return!1}}function au(e,t){var s=e.stateNode;if(s===null)return null;var c=ey(s);if(c===null)return null;var v=c[t];if(uv(t,e.type,c))return null;if(v&&typeof v!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof v+"` type.");return v}var Oc=!1;if(ft)try{var iu={};Object.defineProperty(iu,"passive",{get:function(){Oc=!0}}),window.addEventListener("test",iu,iu),window.removeEventListener("test",iu,iu)}catch{Oc=!1}function ng(e,t,s,c,v,m,S,I,_){var V=Array.prototype.slice.call(arguments,3);try{t.apply(s,V)}catch(H){this.onError(H)}}var lv=ng;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var cv=document.createElement("react");lv=function(t,s,c,v,m,S,I,_,V){if(typeof document>"u"||document===null)throw new 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 H=document.createEvent("Event"),ee=!1,Q=!0,le=window.event,fe=Object.getOwnPropertyDescriptor(window,"event");function be(){cv.removeEventListener(Ce,pt,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=le)}var qe=Array.prototype.slice.call(arguments,3);function pt(){ee=!0,be(),s.apply(c,qe),Q=!1}var ot,Xt=!1,Ht=!1;function re(ae){if(ot=ae.error,Xt=!0,ot===null&&ae.colno===0&&ae.lineno===0&&(Ht=!0),ae.defaultPrevented&&ot!=null&&typeof ot=="object")try{ot._suppressLogging=!0}catch{}}var Ce="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",re),cv.addEventListener(Ce,pt,!1),H.initEvent(Ce,!1,!1),cv.dispatchEvent(H),fe&&Object.defineProperty(window,"event",fe),ee&&Q&&(Xt?Ht&&(ot=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.")):ot=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(ot)),window.removeEventListener("error",re),!ee)return be(),ng.apply(this,arguments)}}var Z0=lv,vs=!1,Li=null,_c=!1,hs=null,to={onError:function(e){vs=!0,Li=e}};function ou(e,t,s,c,v,m,S,I,_){vs=!1,Li=null,Z0.apply(to,arguments)}function Ao(e,t,s,c,v,m,S,I,_){if(ou.apply(this,arguments),vs){var V=dv();_c||(_c=!0,hs=V)}}function fv(){if(_c){var e=hs;throw _c=!1,hs=null,e}}function J0(){return vs}function dv(){if(vs){var e=Li;return vs=!1,Li=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function oi(e){return e._reactInternals}function Dc(e){return e._reactInternals!==void 0}function bl(e,t){e._reactInternals=t}var ct=0,ms=1,Fn=2,jt=4,un=16,pn=32,no=64,wt=128,er=256,wa=512,si=1024,Un=2048,ui=4096,gs=8192,jc=16384,Xf=Un|jt|no|wa|si|jc,rg=32767,Ua=32768,Rr=65536,kc=131072,pv=1048576,vv=2097152,Ra=4194304,ys=8388608,Ta=16777216,su=33554432,Cl=jt|si|0,Ia=Fn|jt|un|pn|wa|ui|gs,Wr=jt|no|wa|gs,li=Un|un,kr=Ra|ys|vv,No=i.ReactCurrentOwner;function Ga(e){var t=e,s=e;if(e.alternate)for(;t.return;)t=t.return;else{var c=t;do t=c,(t.flags&(Fn|ui))!==ct&&(s=t.return),c=t.return;while(c)}return t.tag===R?s:null}function hv(e){if(e.tag===z){var t=e.memoizedState;if(t===null){var s=e.alternate;s!==null&&(t=s.memoizedState)}if(t!==null)return t.dehydrated}return null}function Yf(e){return e.tag===R?e.stateNode.containerInfo:null}function mv(e){return Ga(e)===e}function $a(e){{var t=No.current;if(t!==null&&t.tag===b){var s=t,c=s.stateNode;c._warnedAboutRefsInRender||p("%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.",At(s)||"A component"),c._warnedAboutRefsInRender=!0}}var v=oi(e);return v?Ga(v)===v:!1}function Aa(e){if(Ga(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function Pn(e){var t=e.alternate;if(!t){var s=Ga(e);if(s===null)throw new Error("Unable to find node on an unmounted component.");return s!==e?null:e}for(var c=e,v=t;;){var m=c.return;if(m===null)break;var S=m.alternate;if(S===null){var I=m.return;if(I!==null){c=v=I;continue}break}if(m.child===S.child){for(var _=m.child;_;){if(_===c)return Aa(m),e;if(_===v)return Aa(m),t;_=_.sibling}throw new Error("Unable to find node on an unmounted component.")}if(c.return!==v.return)c=m,v=S;else{for(var V=!1,H=m.child;H;){if(H===c){V=!0,c=m,v=S;break}if(H===v){V=!0,v=m,c=S;break}H=H.sibling}if(!V){for(H=S.child;H;){if(H===c){V=!0,c=S,v=m;break}if(H===v){V=!0,v=S,c=m;break}H=H.sibling}if(!V)throw new 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(c.alternate!==v)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(c.tag!==R)throw new Error("Unable to find node on an unmounted component.");return c.stateNode.current===c?e:t}function ci(e){var t=Pn(e);return t!==null?gv(t):null}function gv(e){if(e.tag===A||e.tag===N)return e;for(var t=e.child;t!==null;){var s=gv(t);if(s!==null)return s;t=t.sibling}return null}function ag(e){var t=Pn(e);return t!==null?Zf(t):null}function Zf(e){if(e.tag===A||e.tag===N)return e;for(var t=e.child;t!==null;){if(t.tag!==T){var s=Zf(t);if(s!==null)return s}t=t.sibling}return null}var Jf=r.unstable_scheduleCallback,ig=r.unstable_cancelCallback,qf=r.unstable_shouldYield,og=r.unstable_requestPaint,Yn=r.unstable_now,yv=r.unstable_getCurrentPriorityLevel,Qf=r.unstable_ImmediatePriority,Wa=r.unstable_UserBlockingPriority,ro=r.unstable_NormalPriority,Kf=r.unstable_LowPriority,bs=r.unstable_IdlePriority,bv=r.unstable_yieldValue,Cv=r.unstable_setDisableYieldValue,Cs=null,Tr=null,Ge=null,or=!1,Mr=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function xv(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return p("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{De&&(e=Ft({},e,{getLaneLabelMap:Es,injectProfilingHooks:_o})),Cs=t.inject(e),Tr=t}catch(s){p("React instrumentation encountered an error: %s.",s)}return!!t.checkDCE}function sg(e,t){if(Tr&&typeof Tr.onScheduleFiberRoot=="function")try{Tr.onScheduleFiberRoot(Cs,e,t)}catch(s){or||(or=!0,p("React instrumentation encountered an error: %s",s))}}function Oo(e,t){if(Tr&&typeof Tr.onCommitFiberRoot=="function")try{var s=(e.current.flags&wt)===wt;if(ie){var c;switch(t){case Xr:c=Qf;break;case Lr:c=Wa;break;case jo:c=ro;break;case Uc:c=bs;break;default:c=ro;break}Tr.onCommitFiberRoot(Cs,e,c,s)}}catch(v){or||(or=!0,p("React instrumentation encountered an error: %s",v))}}function xs(e){if(Tr&&typeof Tr.onPostCommitFiberRoot=="function")try{Tr.onPostCommitFiberRoot(Cs,e)}catch(t){or||(or=!0,p("React instrumentation encountered an error: %s",t))}}function Ev(e){if(Tr&&typeof Tr.onCommitFiberUnmount=="function")try{Tr.onCommitFiberUnmount(Cs,e)}catch(t){or||(or=!0,p("React instrumentation encountered an error: %s",t))}}function gr(e){if(typeof bv=="function"&&(Cv(e),l(e)),Tr&&typeof Tr.setStrictMode=="function")try{Tr.setStrictMode(Cs,e)}catch(t){or||(or=!0,p("React instrumentation encountered an error: %s",t))}}function _o(e){Ge=e}function Es(){{for(var e=new Map,t=1,s=0;s<Vn;s++){var c=q0(t);e.set(t,c),t*=2}return e}}function ed(e){Ge!==null&&typeof Ge.markCommitStarted=="function"&&Ge.markCommitStarted(e)}function Sv(){Ge!==null&&typeof Ge.markCommitStopped=="function"&&Ge.markCommitStopped()}function Ss(e){Ge!==null&&typeof Ge.markComponentRenderStarted=="function"&&Ge.markComponentRenderStarted(e)}function uu(){Ge!==null&&typeof Ge.markComponentRenderStopped=="function"&&Ge.markComponentRenderStopped()}function ug(e){Ge!==null&&typeof Ge.markComponentPassiveEffectMountStarted=="function"&&Ge.markComponentPassiveEffectMountStarted(e)}function wv(){Ge!==null&&typeof Ge.markComponentPassiveEffectMountStopped=="function"&&Ge.markComponentPassiveEffectMountStopped()}function td(e){Ge!==null&&typeof Ge.markComponentPassiveEffectUnmountStarted=="function"&&Ge.markComponentPassiveEffectUnmountStarted(e)}function lg(){Ge!==null&&typeof Ge.markComponentPassiveEffectUnmountStopped=="function"&&Ge.markComponentPassiveEffectUnmountStopped()}function cg(e){Ge!==null&&typeof Ge.markComponentLayoutEffectMountStarted=="function"&&Ge.markComponentLayoutEffectMountStarted(e)}function fg(){Ge!==null&&typeof Ge.markComponentLayoutEffectMountStopped=="function"&&Ge.markComponentLayoutEffectMountStopped()}function nd(e){Ge!==null&&typeof Ge.markComponentLayoutEffectUnmountStarted=="function"&&Ge.markComponentLayoutEffectUnmountStarted(e)}function xl(){Ge!==null&&typeof Ge.markComponentLayoutEffectUnmountStopped=="function"&&Ge.markComponentLayoutEffectUnmountStopped()}function rd(e,t,s){Ge!==null&&typeof Ge.markComponentErrored=="function"&&Ge.markComponentErrored(e,t,s)}function dg(e,t,s){Ge!==null&&typeof Ge.markComponentSuspended=="function"&&Ge.markComponentSuspended(e,t,s)}function pg(e){Ge!==null&&typeof Ge.markLayoutEffectsStarted=="function"&&Ge.markLayoutEffectsStarted(e)}function El(){Ge!==null&&typeof Ge.markLayoutEffectsStopped=="function"&&Ge.markLayoutEffectsStopped()}function vg(e){Ge!==null&&typeof Ge.markPassiveEffectsStarted=="function"&&Ge.markPassiveEffectsStarted(e)}function Mc(){Ge!==null&&typeof Ge.markPassiveEffectsStopped=="function"&&Ge.markPassiveEffectsStopped()}function Fi(e){Ge!==null&&typeof Ge.markRenderStarted=="function"&&Ge.markRenderStarted(e)}function Lc(){Ge!==null&&typeof Ge.markRenderYielded=="function"&&Ge.markRenderYielded()}function Sl(){Ge!==null&&typeof Ge.markRenderStopped=="function"&&Ge.markRenderStopped()}function lu(e){Ge!==null&&typeof Ge.markRenderScheduled=="function"&&Ge.markRenderScheduled(e)}function Rv(e,t){Ge!==null&&typeof Ge.markForceUpdateScheduled=="function"&&Ge.markForceUpdateScheduled(e,t)}function ws(e,t){Ge!==null&&typeof Ge.markStateUpdateScheduled=="function"&&Ge.markStateUpdateScheduled(e,t)}var mt=0,Vt=1,yt=2,Zn=8,fi=16,ad=Math.clz32?Math.clz32:cu,id=Math.log,Tv=Math.LN2;function cu(e){var t=e>>>0;return t===0?32:31-(id(t)/Tv|0)|0}var Vn=31,Se=0,$t=0,bt=1,ao=2,Xa=4,fu=8,Bn=16,du=32,Rs=4194240,pu=64,di=128,Na=256,vu=512,Fc=1024,Pc=2048,od=4096,sd=8192,ud=16384,ld=32768,cd=65536,fd=131072,dd=262144,pd=524288,hu=1048576,vd=2097152,mu=130023424,Do=4194304,hd=8388608,Vc=16777216,md=33554432,gd=67108864,Iv=Do,wl=134217728,yd=268435455,Rl=268435456,Ts=536870912,Oa=1073741824;function q0(e){{if(e&bt)return"Sync";if(e&ao)return"InputContinuousHydration";if(e&Xa)return"InputContinuous";if(e&fu)return"DefaultHydration";if(e&Bn)return"Default";if(e&du)return"TransitionHydration";if(e&Rs)return"Transition";if(e&mu)return"Retry";if(e&wl)return"SelectiveHydration";if(e&Rl)return"IdleHydration";if(e&Ts)return"Idle";if(e&Oa)return"Offscreen"}}var Nn=-1,bd=pu,Cd=Do;function Tl(e){switch(dr(e)){case bt:return bt;case ao:return ao;case Xa:return Xa;case fu:return fu;case Bn:return Bn;case du:return du;case pu:case di:case Na:case vu:case Fc:case Pc:case od:case sd:case ud:case ld:case cd:case fd:case dd:case pd:case hu:case vd:return e&Rs;case Do:case hd:case Vc:case md:case gd:return e&mu;case wl:return wl;case Rl:return Rl;case Ts:return Ts;case Oa:return Oa;default:return p("Should have found matching lanes. This is a bug in React."),e}}function Bc(e,t){var s=e.pendingLanes;if(s===Se)return Se;var c=Se,v=e.suspendedLanes,m=e.pingedLanes,S=s&yd;if(S!==Se){var I=S&~v;if(I!==Se)c=Tl(I);else{var _=S&m;_!==Se&&(c=Tl(_))}}else{var V=s&~v;V!==Se?c=Tl(V):m!==Se&&(c=Tl(m))}if(c===Se)return Se;if(t!==Se&&t!==c&&(t&v)===Se){var H=dr(c),ee=dr(t);if(H>=ee||H===Bn&&(ee&Rs)!==Se)return t}(c&Xa)!==Se&&(c|=s&Bn);var Q=e.entangledLanes;if(Q!==Se)for(var le=e.entanglements,fe=c&Q;fe>0;){var be=Is(fe),qe=1<<be;c|=le[be],fe&=~qe}return c}function hg(e,t){for(var s=e.eventTimes,c=Nn;t>0;){var v=Is(t),m=1<<v,S=s[v];S>c&&(c=S),t&=~m}return c}function xd(e,t){switch(e){case bt:case ao:case Xa:return t+250;case fu:case Bn:case du:case pu:case di:case Na:case vu:case Fc:case Pc:case od:case sd:case ud:case ld:case cd:case fd:case dd:case pd:case hu:case vd:return t+5e3;case Do:case hd:case Vc:case md:case gd:return Nn;case wl:case Rl:case Ts:case Oa:return Nn;default:return p("Should have found matching lanes. This is a bug in React."),Nn}}function Q0(e,t){for(var s=e.pendingLanes,c=e.suspendedLanes,v=e.pingedLanes,m=e.expirationTimes,S=s;S>0;){var I=Is(S),_=1<<I,V=m[I];V===Nn?((_&c)===Se||(_&v)!==Se)&&(m[I]=xd(_,t)):V<=t&&(e.expiredLanes|=_),S&=~_}}function K0(e){return Tl(e.pendingLanes)}function Av(e){var t=e.pendingLanes&~Oa;return t!==Se?t:t&Oa?Oa:Se}function Il(e){return(e&bt)!==Se}function zc(e){return(e&yd)!==Se}function Ed(e){return(e&mu)===e}function eC(e){var t=bt|Xa|Bn;return(e&t)===Se}function mg(e){return(e&Rs)===e}function Hc(e,t){var s=ao|Xa|fu|Bn;return(t&s)!==Se}function gg(e,t){return(t&e.expiredLanes)!==Se}function Nv(e){return(e&Rs)!==Se}function Ov(){var e=bd;return bd<<=1,(bd&Rs)===Se&&(bd=pu),e}function tC(){var e=Cd;return Cd<<=1,(Cd&mu)===Se&&(Cd=Do),e}function dr(e){return e&-e}function yr(e){return dr(e)}function Is(e){return 31-ad(e)}function Sd(e){return Is(e)}function _a(e,t){return(e&t)!==Se}function gu(e,t){return(e&t)===t}function kt(e,t){return e|t}function Al(e,t){return e&~t}function _v(e,t){return e&t}function yg(e){return e}function bg(e,t){return e!==$t&&e<t?e:t}function wd(e){for(var t=[],s=0;s<Vn;s++)t.push(e);return t}function yu(e,t,s){e.pendingLanes|=t,t!==Ts&&(e.suspendedLanes=Se,e.pingedLanes=Se);var c=e.eventTimes,v=Sd(t);c[v]=s}function Dv(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var s=e.expirationTimes,c=t;c>0;){var v=Is(c),m=1<<v;s[v]=Nn,c&=~m}}function jv(e,t,s){e.pingedLanes|=e.suspendedLanes&t}function kv(e,t){var s=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=Se,e.pingedLanes=Se,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var c=e.entanglements,v=e.eventTimes,m=e.expirationTimes,S=s;S>0;){var I=Is(S),_=1<<I;c[I]=Se,v[I]=Nn,m[I]=Nn,S&=~_}}function Nl(e,t){for(var s=e.entangledLanes|=t,c=e.entanglements,v=s;v;){var m=Is(v),S=1<<m;S&t|c[m]&t&&(c[m]|=t),v&=~S}}function nC(e,t){var s=dr(t),c;switch(s){case Xa:c=ao;break;case Bn:c=fu;break;case pu:case di:case Na:case vu:case Fc:case Pc:case od:case sd:case ud:case ld:case cd:case fd:case dd:case pd:case hu:case vd:case Do:case hd:case Vc:case md:case gd:c=du;break;case Ts:c=Rl;break;default:c=$t;break}return(c&(e.suspendedLanes|t))!==$t?$t:c}function Mv(e,t,s){if(Mr)for(var c=e.pendingUpdatersLaneMap;s>0;){var v=Sd(s),m=1<<v,S=c[v];S.add(t),s&=~m}}function Rd(e,t){if(Mr)for(var s=e.pendingUpdatersLaneMap,c=e.memoizedUpdaters;t>0;){var v=Sd(t),m=1<<v,S=s[v];S.size>0&&(S.forEach(function(I){var _=I.alternate;(_===null||!c.has(_))&&c.add(I)}),S.clear()),t&=~m}}function Lv(e,t){return null}var Xr=bt,Lr=Xa,jo=Bn,Uc=Ts,bu=$t;function pi(){return bu}function br(e){bu=e}function Gc(e,t){var s=bu;try{return bu=e,t()}finally{bu=s}}function Yr(e,t){return e!==0&&e<t?e:t}function rC(e,t){return e===0||e>t?e:t}function Fv(e,t){return e!==0&&e<t}function $c(e){var t=dr(e);return Fv(Xr,t)?Fv(Lr,t)?zc(t)?jo:Uc:Lr:Xr}function Cr(e){var t=e.current.memoizedState;return t.isDehydrated}var Cg;function et(e){Cg=e}function Ol(e){Cg(e)}var Wc;function xg(e){Wc=e}var Eg;function Xc(e){Eg=e}var Yc;function Pv(e){Yc=e}var Vv;function Sg(e){Vv=e}var Td=!1,_l=[],io=null,Gn=null,Ir=null,hi=new Map,Dl=new Map,ko=[],Pi=["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 wg(e){return Pi.indexOf(e)>-1}function oo(e,t,s,c,v){return{blockedOn:e,domEventName:t,eventSystemFlags:s,nativeEvent:v,targetContainers:[c]}}function Rg(e,t){switch(e){case"focusin":case"focusout":io=null;break;case"dragenter":case"dragleave":Gn=null;break;case"mouseover":case"mouseout":Ir=null;break;case"pointerover":case"pointerout":{var s=t.pointerId;hi.delete(s);break}case"gotpointercapture":case"lostpointercapture":{var c=t.pointerId;Dl.delete(c);break}}}function jl(e,t,s,c,v,m){if(e===null||e.nativeEvent!==m){var S=oo(t,s,c,v,m);if(t!==null){var I=Gl(t);I!==null&&Wc(I)}return S}e.eventSystemFlags|=c;var _=e.targetContainers;return v!==null&&_.indexOf(v)===-1&&_.push(v),e}function Tg(e,t,s,c,v){switch(t){case"focusin":{var m=v;return io=jl(io,e,t,s,c,m),!0}case"dragenter":{var S=v;return Gn=jl(Gn,e,t,s,c,S),!0}case"mouseover":{var I=v;return Ir=jl(Ir,e,t,s,c,I),!0}case"pointerover":{var _=v,V=_.pointerId;return hi.set(V,jl(hi.get(V)||null,e,t,s,c,_)),!0}case"gotpointercapture":{var H=v,ee=H.pointerId;return Dl.set(ee,jl(Dl.get(ee)||null,e,t,s,c,H)),!0}}return!1}function Bv(e){var t=rf(e.target);if(t!==null){var s=Ga(t);if(s!==null){var c=s.tag;if(c===z){var v=hv(s);if(v!==null){e.blockedOn=v,Vv(e.priority,function(){Eg(s)});return}}else if(c===R){var m=s.stateNode;if(Cr(m)){e.blockedOn=Yf(s);return}}}}e.blockedOn=null}function Ig(e){for(var t=Yc(),s={blockedOn:null,target:e,priority:t},c=0;c<ko.length&&Fv(t,ko[c].priority);c++);ko.splice(c,0,s),c===0&&Bv(s)}function Id(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var s=t[0],c=Cu(e.domEventName,e.eventSystemFlags,s,e.nativeEvent);if(c===null){var v=e.nativeEvent,m=new v.constructor(v.type,v);Ic(m),v.target.dispatchEvent(m),X0()}else{var S=Gl(c);return S!==null&&Wc(S),e.blockedOn=c,!1}t.shift()}return!0}function Zc(e,t,s){Id(e)&&s.delete(t)}function zv(){Td=!1,io!==null&&Id(io)&&(io=null),Gn!==null&&Id(Gn)&&(Gn=null),Ir!==null&&Id(Ir)&&(Ir=null),hi.forEach(Zc),Dl.forEach(Zc)}function Zr(e,t){e.blockedOn===t&&(e.blockedOn=null,Td||(Td=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,zv)))}function zt(e){if(_l.length>0){Zr(_l[0],e);for(var t=1;t<_l.length;t++){var s=_l[t];s.blockedOn===e&&(s.blockedOn=null)}}io!==null&&Zr(io,e),Gn!==null&&Zr(Gn,e),Ir!==null&&Zr(Ir,e);var c=function(I){return Zr(I,e)};hi.forEach(c),Dl.forEach(c);for(var v=0;v<ko.length;v++){var m=ko[v];m.blockedOn===e&&(m.blockedOn=null)}for(;ko.length>0;){var S=ko[0];if(S.blockedOn!==null)break;Bv(S),S.blockedOn===null&&ko.shift()}}var Jn=i.ReactCurrentBatchConfig,tr=!0;function Ar(e){tr=!!e}function Ya(){return tr}function kl(e,t,s){var c=sa(t),v;switch(c){case Xr:v=xr;break;case Lr:v=Jc;break;case jo:default:v=Mo;break}return v.bind(null,t,s,e)}function xr(e,t,s,c){var v=pi(),m=Jn.transition;Jn.transition=null;try{br(Xr),Mo(e,t,s,c)}finally{br(v),Jn.transition=m}}function Jc(e,t,s,c){var v=pi(),m=Jn.transition;Jn.transition=null;try{br(Lr),Mo(e,t,s,c)}finally{br(v),Jn.transition=m}}function Mo(e,t,s,c){tr&&Ad(e,t,s,c)}function Ad(e,t,s,c){var v=Cu(e,t,s,c);if(v===null){SC(e,t,c,Ml,s),Rg(e,c);return}if(Tg(v,e,t,s,c)){c.stopPropagation();return}if(Rg(e,c),t&nu&&wg(e)){for(;v!==null;){var m=Gl(v);m!==null&&Ol(m);var S=Cu(e,t,s,c);if(S===null&&SC(e,t,c,Ml,s),S===v)break;v=S}v!==null&&c.stopPropagation();return}SC(e,t,c,null,s)}var Ml=null;function Cu(e,t,s,c){Ml=null;var v=Uf(c),m=rf(v);if(m!==null){var S=Ga(m);if(S===null)m=null;else{var I=S.tag;if(I===z){var _=hv(S);if(_!==null)return _;m=null}else if(I===R){var V=S.stateNode;if(Cr(V))return Yf(S);m=null}else S!==m&&(m=null)}}return Ml=m,null}function sa(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Xr;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Lr;case"message":{var t=yv();switch(t){case Qf:return Xr;case Wa:return Lr;case ro:case Kf:return jo;case bs:return Uc;default:return jo}}default:return jo}}function Hv(e,t,s){return e.addEventListener(t,s,!1),s}function Ll(e,t,s){return e.addEventListener(t,s,!0),s}function Lo(e,t,s,c){return e.addEventListener(t,s,{capture:!0,passive:c}),s}function Nd(e,t,s,c){return e.addEventListener(t,s,{passive:c}),s}var xu=null,so=null,As=null;function Ns(e){return xu=e,so=_d(),!0}function Od(){xu=null,so=null,As=null}function Fl(){if(As)return As;var e,t=so,s=t.length,c,v=_d(),m=v.length;for(e=0;e<s&&t[e]===v[e];e++);var S=s-e;for(c=1;c<=S&&t[s-c]===v[m-c];c++);var I=c>1?1-c:void 0;return As=v.slice(e,I),As}function _d(){return"value"in xu?xu.value:xu.textContent}function Eu(e){var t,s=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&s===13&&(t=13)):t=s,t===10&&(t=13),t>=32||t===13?t:0}function Su(){return!0}function Jr(){return!1}function pr(e){function t(s,c,v,m,S){this._reactName=s,this._targetInst=v,this.type=c,this.nativeEvent=m,this.target=S,this.currentTarget=null;for(var I in e)if(e.hasOwnProperty(I)){var _=e[I];_?this[I]=_(m):this[I]=m[I]}var V=m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1;return V?this.isDefaultPrevented=Su:this.isDefaultPrevented=Jr,this.isPropagationStopped=Jr,this}return Ft(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=Su)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=Su)},persist:function(){},isPersistent:Su}),t}var qr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Qr=pr(qr),Pl=Ft({},qr,{view:0,detail:0}),Uv=pr(Pl),qc,Gv,mi;function Ag(e){e!==mi&&(mi&&e.type==="mousemove"?(qc=e.screenX-mi.screenX,Gv=e.screenY-mi.screenY):(qc=0,Gv=0),mi=e)}var Vl=Ft({},Pl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kd,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(Ag(e),qc)},movementY:function(e){return"movementY"in e?e.movementY:Gv}}),Os=pr(Vl),$v=Ft({},Vl,{dataTransfer:0}),wu=pr($v),Ng=Ft({},Pl,{relatedTarget:0}),Dd=pr(Ng),Wv=Ft({},qr,{animationName:0,elapsedTime:0,pseudoElement:0}),jd=pr(Wv),aC=Ft({},qr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),iC=pr(aC),Og=Ft({},qr,{data:0}),Xv=pr(Og),Ru=Xv,oC={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Bl={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 _g(e){if(e.key){var t=oC[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var s=Eu(e);return s===13?"Enter":String.fromCharCode(s)}return e.type==="keydown"||e.type==="keyup"?Bl[e.keyCode]||"Unidentified":""}var nr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function sC(e){var t=this,s=t.nativeEvent;if(s.getModifierState)return s.getModifierState(e);var c=nr[e];return c?!!s[c]:!1}function kd(e){return sC}var uC=Ft({},Pl,{key:_g,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kd,charCode:function(e){return e.type==="keypress"?Eu(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Eu(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),lC=pr(uC),Dg=Ft({},Vl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Yv=pr(Dg),cC=Ft({},Pl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kd}),gi=pr(cC),Zv=Ft({},qr,{propertyName:0,elapsedTime:0,pseudoElement:0}),fC=pr(Zv),_s=Ft({},Vl,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Md=pr(_s),Tu=[9,13,27,32],Qc=229,Kc=ft&&"CompositionEvent"in window,Iu=null;ft&&"documentMode"in document&&(Iu=document.documentMode);var dC=ft&&"TextEvent"in window&&!Iu,Ld=ft&&(!Kc||Iu&&Iu>8&&Iu<=11),jg=32,Jv=String.fromCharCode(jg);function kg(){It("onBeforeInput",["compositionend","keypress","textInput","paste"]),It("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),It("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),It("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var ef=!1;function Fd(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function Mg(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function qv(e,t){return e==="keydown"&&t.keyCode===Qc}function Lg(e,t){switch(e){case"keyup":return Tu.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Qc;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qv(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function Pd(e){return e.locale==="ko"}var Fo=!1;function Kv(e,t,s,c,v){var m,S;if(Kc?m=Mg(t):Fo?Lg(t,c)&&(m="onCompositionEnd"):qv(t,c)&&(m="onCompositionStart"),!m)return null;Ld&&!Pd(c)&&(!Fo&&m==="onCompositionStart"?Fo=Ns(v):m==="onCompositionEnd"&&Fo&&(S=Fl()));var I=zg(s,m);if(I.length>0){var _=new Xv(m,t,null,c,v);if(e.push({event:_,listeners:I}),S)_.data=S;else{var V=Qv(c);V!==null&&(_.data=V)}}}function Vd(e,t){switch(e){case"compositionend":return Qv(t);case"keypress":var s=t.which;return s!==jg?null:(ef=!0,Jv);case"textInput":var c=t.data;return c===Jv&&ef?null:c;default:return null}}function Fg(e,t){if(Fo){if(e==="compositionend"||!Kc&&Lg(e,t)){var s=Fl();return Od(),Fo=!1,s}return null}switch(e){case"paste":return null;case"keypress":if(!Fd(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Ld&&!Pd(t)?null:t.data;default:return null}}function pC(e,t,s,c,v){var m;if(dC?m=Vd(t,c):m=Fg(t,c),!m)return null;var S=zg(s,"onBeforeInput");if(S.length>0){var I=new Ru("onBeforeInput","beforeinput",null,c,v);e.push({event:I,listeners:S}),I.data=m}}function Bd(e,t,s,c,v,m,S){Kv(e,t,s,c,v),pC(e,t,s,c,v)}var vC={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 zl(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!vC[e.type]:t==="textarea"}/**
112
+ Check the render method of \``+e+"`.":""}var bc=["value","defaultValue"];function Gp(e){{xo("select",e);for(var t=0;t<bc.length;t++){var s=bc[t];if(e[s]!=null){var c=Ut(e[s]);e.multiple&&!c?p("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",s,dl()):!e.multiple&&c&&p("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",s,dl())}}}}function ji(e,t,s,c){var v=e.options;if(t){for(var m=s,S={},I=0;I<m.length;I++)S["$"+m[I]]=!0;for(var _=0;_<v.length;_++){var V=S.hasOwnProperty("$"+v[_].value);v[_].selected!==V&&(v[_].selected=V),V&&c&&(v[_].defaultSelected=!0)}}else{for(var H=Sr(eo(s)),ee=null,Q=0;Q<v.length;Q++){if(v[Q].value===H){v[Q].selected=!0,c&&(v[Q].defaultSelected=!0);return}ee===null&&!v[Q].disabled&&(ee=v[Q])}ee!==null&&(ee.selected=!0)}}function Cc(e,t){return Ft({},t,{value:void 0})}function xc(e,t){var s=e;Gp(t),s._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Eo&&(p("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"),Eo=!0)}function $p(e,t){var s=e;s.multiple=!!t.multiple;var c=t.value;c!=null?ji(s,!!t.multiple,c,!1):t.defaultValue!=null&&ji(s,!!t.multiple,t.defaultValue,!0)}function L0(e,t){var s=e,c=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!t.multiple;var v=t.value;v!=null?ji(s,!!t.multiple,v,!1):c!==!!t.multiple&&(t.defaultValue!=null?ji(s,!!t.multiple,t.defaultValue,!0):ji(s,!!t.multiple,t.multiple?[]:"",!1))}function F0(e,t){var s=e,c=t.value;c!=null&&ji(s,!!t.multiple,c,!1)}var Wp=!1;function Xp(e,t){var s=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var c=Ft({},t,{value:void 0,defaultValue:void 0,children:Sr(s._wrapperState.initialValue)});return c}function Nm(e,t){var s=e;xo("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Wp&&(p("%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",oa()||"A component"),Wp=!0);var c=t.value;if(c==null){var v=t.children,m=t.defaultValue;if(v!=null){p("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(m!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Ut(v)){if(v.length>1)throw new Error("<textarea> can only have at most one child.");v=v[0]}m=v}}m==null&&(m=""),c=m}s._wrapperState={initialValue:eo(c)}}function Om(e,t){var s=e,c=eo(t.value),v=eo(t.defaultValue);if(c!=null){var m=Sr(c);m!==s.value&&(s.value=m),t.defaultValue==null&&s.defaultValue!==m&&(s.defaultValue=m)}v!=null&&(s.defaultValue=Sr(v))}function _m(e,t){var s=e,c=s.textContent;c===s._wrapperState.initialValue&&c!==""&&c!==null&&(s.value=c)}function Yp(e,t){Om(e,t)}var So="http://www.w3.org/1999/xhtml",P0="http://www.w3.org/1998/Math/MathML",Zp="http://www.w3.org/2000/svg";function Lf(e){switch(e){case"svg":return Zp;case"math":return P0;default:return So}}function Jp(e,t){return e==null||e===So?Lf(t):e===Zp&&t==="foreignObject"?So:e}var V0=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,s,c,v){MSApp.execUnsafeLocalFunction(function(){return e(t,s,c,v)})}:e},Ff,Dm=V0(function(e,t){if(e.namespaceURI===Zp&&!("innerHTML"in e)){Ff=Ff||document.createElement("div"),Ff.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var s=Ff.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;s.firstChild;)e.appendChild(s.firstChild);return}e.innerHTML=t}),Sa=1,wo=3,fr=8,ki=9,eu=11,Pf=function(e,t){if(t){var s=e.firstChild;if(s&&s===e.lastChild&&s.nodeType===wo){s.nodeValue=t;return}}e.textContent=t},jm={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"]},pl={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function km(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var Mm=["Webkit","ms","Moz","O"];Object.keys(pl).forEach(function(e){Mm.forEach(function(t){pl[km(t,e)]=pl[e]})});function Vf(e,t,s){var c=t==null||typeof t=="boolean"||t==="";return c?"":!s&&typeof t=="number"&&t!==0&&!(pl.hasOwnProperty(e)&&pl[e])?t+"px":(Ln(t,e),(""+t).trim())}var vl=/([A-Z])/g,B0=/^ms-/;function z0(e){return e.replace(vl,"-$1").toLowerCase().replace(B0,"-ms-")}var Lm=function(){};{var Fm=/^(?:webkit|moz|o)[A-Z]/,Pm=/^-ms-/,Ec=/-(.)/g,hl=/;\s*$/,ml={},gl={},Vm=!1,qp=!1,Qp=function(e){return e.replace(Ec,function(t,s){return s.toUpperCase()})},Kp=function(e){ml.hasOwnProperty(e)&&ml[e]||(ml[e]=!0,p("Unsupported style property %s. Did you mean %s?",e,Qp(e.replace(Pm,"ms-"))))},Bm=function(e){ml.hasOwnProperty(e)&&ml[e]||(ml[e]=!0,p("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},zm=function(e,t){gl.hasOwnProperty(t)&&gl[t]||(gl[t]=!0,p(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(hl,"")))},Hm=function(e,t){Vm||(Vm=!0,p("`NaN` is an invalid value for the `%s` css style property.",e))},H0=function(e,t){qp||(qp=!0,p("`Infinity` is an invalid value for the `%s` css style property.",e))};Lm=function(e,t){e.indexOf("-")>-1?Kp(e):Fm.test(e)?Bm(e):hl.test(t)&&zm(e,t),typeof t=="number"&&(isNaN(t)?Hm(e,t):isFinite(t)||H0(e,t))}}var U0=Lm;function G0(e){{var t="",s="";for(var c in e)if(e.hasOwnProperty(c)){var v=e[c];if(v!=null){var m=c.indexOf("--")===0;t+=s+(m?c:z0(c))+":",t+=Vf(c,v,m),s=";"}}return t||null}}function Um(e,t){var s=e.style;for(var c in t)if(t.hasOwnProperty(c)){var v=c.indexOf("--")===0;v||U0(c,t[c]);var m=Vf(c,t[c],v);c==="float"&&(c="cssFloat"),v?s.setProperty(c,m):s[c]=m}}function $0(e){return e==null||typeof e=="boolean"||e===""}function ii(e){var t={};for(var s in e)for(var c=jm[s]||[s],v=0;v<c.length;v++)t[c[v]]=s;return t}function Sc(e,t){{if(!t)return;var s=ii(e),c=ii(t),v={};for(var m in s){var S=s[m],I=c[m];if(I&&S!==I){var _=S+","+I;if(v[_])continue;v[_]=!0,p("%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.",$0(e[S])?"Removing":"Updating",S,I)}}}}var Gm={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},$m=Ft({menuitem:!0},Gm),Wm="__html";function Bf(e,t){if(t){if($m[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(Wm in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&p("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."),t.style!=null&&typeof t.style!="object")throw new 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 Ro(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var zf={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",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",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"},Xm={"aria-current":0,"aria-description":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},Mi={},ev=new RegExp("^(aria)-["+st+"]*$"),wc=new RegExp("^(aria)[A-Z]["+st+"]*$");function tv(e,t){{if(Bt.call(Mi,t)&&Mi[t])return!0;if(wc.test(t)){var s="aria-"+t.slice(4).toLowerCase(),c=Xm.hasOwnProperty(s)?s:null;if(c==null)return p("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Mi[t]=!0,!0;if(t!==c)return p("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,c),Mi[t]=!0,!0}if(ev.test(t)){var v=t.toLowerCase(),m=Xm.hasOwnProperty(v)?v:null;if(m==null)return Mi[t]=!0,!1;if(t!==m)return p("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,m),Mi[t]=!0,!0}}return!0}function Ym(e,t){{var s=[];for(var c in t){var v=tv(e,c);v||s.push(c)}var m=s.map(function(S){return"`"+S+"`"}).join(", ");s.length===1?p("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",m,e):s.length>1&&p("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",m,e)}}function Hf(e,t){Ro(e,t)||Ym(e,t)}var tu=!1;function nv(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!tu&&(tu=!0,e==="select"&&t.multiple?p("`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.",e):p("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var rv=function(){};{var wr={},av=/^on./,Zm=/^on[^A-Z]/,Jm=new RegExp("^(aria)-["+st+"]*$"),qm=new RegExp("^(aria)[A-Z]["+st+"]*$");rv=function(e,t,s,c){if(Bt.call(wr,t)&&wr[t])return!0;var v=t.toLowerCase();if(v==="onfocusin"||v==="onfocusout")return p("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."),wr[t]=!0,!0;if(c!=null){var m=c.registrationNameDependencies,S=c.possibleRegistrationNames;if(m.hasOwnProperty(t))return!0;var I=S.hasOwnProperty(v)?S[v]:null;if(I!=null)return p("Invalid event handler property `%s`. Did you mean `%s`?",t,I),wr[t]=!0,!0;if(av.test(t))return p("Unknown event handler property `%s`. It will be ignored.",t),wr[t]=!0,!0}else if(av.test(t))return Zm.test(t)&&p("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),wr[t]=!0,!0;if(Jm.test(t)||qm.test(t))return!0;if(v==="innerhtml")return p("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),wr[t]=!0,!0;if(v==="aria")return p("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),wr[t]=!0,!0;if(v==="is"&&s!==null&&s!==void 0&&typeof s!="string")return p("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof s),wr[t]=!0,!0;if(typeof s=="number"&&isNaN(s))return p("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),wr[t]=!0,!0;var _=na(t),V=_!==null&&_.type===lr;if(zf.hasOwnProperty(v)){var H=zf[v];if(H!==t)return p("Invalid DOM property `%s`. Did you mean `%s`?",t,H),wr[t]=!0,!0}else if(!V&&t!==v)return p("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.",t,v),wr[t]=!0,!0;return typeof s=="boolean"&&$r(t,s,_,!1)?(s?p('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()}.',s,t,t,s,t):p('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.',s,t,t,s,t,t,t),wr[t]=!0,!0):V?!0:$r(t,s,_,!1)?(wr[t]=!0,!1):((s==="false"||s==="true")&&_!==null&&_.type===en&&(p("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",s,t,s==="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".',t,s),wr[t]=!0),!0)}}var Qm=function(e,t,s){{var c=[];for(var v in t){var m=rv(e,v,t[v],s);m||c.push(v)}var S=c.map(function(I){return"`"+I+"`"}).join(", ");c.length===1?p("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 ",S,e):c.length>1&&p("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 ",S,e)}};function Km(e,t,s){Ro(e,t)||Qm(e,t,s)}var To=1,Rc=2,nu=4,W0=To|Rc|nu,Tc=null;function Ic(e){Tc!==null&&p("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Tc=e}function X0(){Tc===null&&p("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Tc=null}function eg(e){return e===Tc}function Uf(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===wo?t.parentNode:t}var An=null,ps=null,Io=null;function yl(e){var t=Gl(e);if(t){if(typeof An!="function")throw new 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 s=t.stateNode;if(s){var c=ey(s);An(t.stateNode,t.type,c)}}}function tg(e){An=e}function Gf(e){ps?Io?Io.push(e):Io=[e]:ps=e}function Ac(){return ps!==null||Io!==null}function Nc(){if(ps){var e=ps,t=Io;if(ps=null,Io=null,yl(e),t)for(var s=0;s<t.length;s++)yl(t[s])}}var ru=function(e,t){return e(t)},iv=function(){},ov=!1;function Y0(){var e=Ac();e&&(iv(),Nc())}function sv(e,t,s){if(ov)return e(t,s);ov=!0;try{return ru(e,t,s)}finally{ov=!1,Y0()}}function $f(e,t,s){ru=e,iv=s}function Wf(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function uv(e,t,s){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(s.disabled&&Wf(t));default:return!1}}function au(e,t){var s=e.stateNode;if(s===null)return null;var c=ey(s);if(c===null)return null;var v=c[t];if(uv(t,e.type,c))return null;if(v&&typeof v!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof v+"` type.");return v}var Oc=!1;if(ft)try{var iu={};Object.defineProperty(iu,"passive",{get:function(){Oc=!0}}),window.addEventListener("test",iu,iu),window.removeEventListener("test",iu,iu)}catch{Oc=!1}function ng(e,t,s,c,v,m,S,I,_){var V=Array.prototype.slice.call(arguments,3);try{t.apply(s,V)}catch(H){this.onError(H)}}var lv=ng;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var cv=document.createElement("react");lv=function(t,s,c,v,m,S,I,_,V){if(typeof document>"u"||document===null)throw new 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 H=document.createEvent("Event"),ee=!1,Q=!0,le=window.event,fe=Object.getOwnPropertyDescriptor(window,"event");function be(){cv.removeEventListener(Ce,pt,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=le)}var qe=Array.prototype.slice.call(arguments,3);function pt(){ee=!0,be(),s.apply(c,qe),Q=!1}var ot,Xt=!1,Ht=!1;function re(ae){if(ot=ae.error,Xt=!0,ot===null&&ae.colno===0&&ae.lineno===0&&(Ht=!0),ae.defaultPrevented&&ot!=null&&typeof ot=="object")try{ot._suppressLogging=!0}catch{}}var Ce="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",re),cv.addEventListener(Ce,pt,!1),H.initEvent(Ce,!1,!1),cv.dispatchEvent(H),fe&&Object.defineProperty(window,"event",fe),ee&&Q&&(Xt?Ht&&(ot=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.")):ot=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(ot)),window.removeEventListener("error",re),!ee)return be(),ng.apply(this,arguments)}}var Z0=lv,vs=!1,Li=null,_c=!1,hs=null,to={onError:function(e){vs=!0,Li=e}};function ou(e,t,s,c,v,m,S,I,_){vs=!1,Li=null,Z0.apply(to,arguments)}function Ao(e,t,s,c,v,m,S,I,_){if(ou.apply(this,arguments),vs){var V=dv();_c||(_c=!0,hs=V)}}function fv(){if(_c){var e=hs;throw _c=!1,hs=null,e}}function J0(){return vs}function dv(){if(vs){var e=Li;return vs=!1,Li=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function oi(e){return e._reactInternals}function Dc(e){return e._reactInternals!==void 0}function bl(e,t){e._reactInternals=t}var ct=0,ms=1,Fn=2,jt=4,un=16,pn=32,no=64,wt=128,er=256,wa=512,si=1024,Un=2048,ui=4096,gs=8192,jc=16384,Xf=Un|jt|no|wa|si|jc,rg=32767,Ua=32768,Rr=65536,kc=131072,pv=1048576,vv=2097152,Ra=4194304,ys=8388608,Ta=16777216,su=33554432,Cl=jt|si|0,Ia=Fn|jt|un|pn|wa|ui|gs,Wr=jt|no|wa|gs,li=Un|un,kr=Ra|ys|vv,No=i.ReactCurrentOwner;function Ga(e){var t=e,s=e;if(e.alternate)for(;t.return;)t=t.return;else{var c=t;do t=c,(t.flags&(Fn|ui))!==ct&&(s=t.return),c=t.return;while(c)}return t.tag===w?s:null}function hv(e){if(e.tag===z){var t=e.memoizedState;if(t===null){var s=e.alternate;s!==null&&(t=s.memoizedState)}if(t!==null)return t.dehydrated}return null}function Yf(e){return e.tag===w?e.stateNode.containerInfo:null}function mv(e){return Ga(e)===e}function $a(e){{var t=No.current;if(t!==null&&t.tag===b){var s=t,c=s.stateNode;c._warnedAboutRefsInRender||p("%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.",At(s)||"A component"),c._warnedAboutRefsInRender=!0}}var v=oi(e);return v?Ga(v)===v:!1}function Aa(e){if(Ga(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function Pn(e){var t=e.alternate;if(!t){var s=Ga(e);if(s===null)throw new Error("Unable to find node on an unmounted component.");return s!==e?null:e}for(var c=e,v=t;;){var m=c.return;if(m===null)break;var S=m.alternate;if(S===null){var I=m.return;if(I!==null){c=v=I;continue}break}if(m.child===S.child){for(var _=m.child;_;){if(_===c)return Aa(m),e;if(_===v)return Aa(m),t;_=_.sibling}throw new Error("Unable to find node on an unmounted component.")}if(c.return!==v.return)c=m,v=S;else{for(var V=!1,H=m.child;H;){if(H===c){V=!0,c=m,v=S;break}if(H===v){V=!0,v=m,c=S;break}H=H.sibling}if(!V){for(H=S.child;H;){if(H===c){V=!0,c=S,v=m;break}if(H===v){V=!0,v=S,c=m;break}H=H.sibling}if(!V)throw new 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(c.alternate!==v)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(c.tag!==w)throw new Error("Unable to find node on an unmounted component.");return c.stateNode.current===c?e:t}function ci(e){var t=Pn(e);return t!==null?gv(t):null}function gv(e){if(e.tag===A||e.tag===N)return e;for(var t=e.child;t!==null;){var s=gv(t);if(s!==null)return s;t=t.sibling}return null}function ag(e){var t=Pn(e);return t!==null?Zf(t):null}function Zf(e){if(e.tag===A||e.tag===N)return e;for(var t=e.child;t!==null;){if(t.tag!==T){var s=Zf(t);if(s!==null)return s}t=t.sibling}return null}var Jf=r.unstable_scheduleCallback,ig=r.unstable_cancelCallback,qf=r.unstable_shouldYield,og=r.unstable_requestPaint,Yn=r.unstable_now,yv=r.unstable_getCurrentPriorityLevel,Qf=r.unstable_ImmediatePriority,Wa=r.unstable_UserBlockingPriority,ro=r.unstable_NormalPriority,Kf=r.unstable_LowPriority,bs=r.unstable_IdlePriority,bv=r.unstable_yieldValue,Cv=r.unstable_setDisableYieldValue,Cs=null,Tr=null,Ge=null,or=!1,Mr=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function xv(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return p("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{De&&(e=Ft({},e,{getLaneLabelMap:Es,injectProfilingHooks:_o})),Cs=t.inject(e),Tr=t}catch(s){p("React instrumentation encountered an error: %s.",s)}return!!t.checkDCE}function sg(e,t){if(Tr&&typeof Tr.onScheduleFiberRoot=="function")try{Tr.onScheduleFiberRoot(Cs,e,t)}catch(s){or||(or=!0,p("React instrumentation encountered an error: %s",s))}}function Oo(e,t){if(Tr&&typeof Tr.onCommitFiberRoot=="function")try{var s=(e.current.flags&wt)===wt;if(ie){var c;switch(t){case Xr:c=Qf;break;case Lr:c=Wa;break;case jo:c=ro;break;case Uc:c=bs;break;default:c=ro;break}Tr.onCommitFiberRoot(Cs,e,c,s)}}catch(v){or||(or=!0,p("React instrumentation encountered an error: %s",v))}}function xs(e){if(Tr&&typeof Tr.onPostCommitFiberRoot=="function")try{Tr.onPostCommitFiberRoot(Cs,e)}catch(t){or||(or=!0,p("React instrumentation encountered an error: %s",t))}}function Ev(e){if(Tr&&typeof Tr.onCommitFiberUnmount=="function")try{Tr.onCommitFiberUnmount(Cs,e)}catch(t){or||(or=!0,p("React instrumentation encountered an error: %s",t))}}function gr(e){if(typeof bv=="function"&&(Cv(e),l(e)),Tr&&typeof Tr.setStrictMode=="function")try{Tr.setStrictMode(Cs,e)}catch(t){or||(or=!0,p("React instrumentation encountered an error: %s",t))}}function _o(e){Ge=e}function Es(){{for(var e=new Map,t=1,s=0;s<Vn;s++){var c=q0(t);e.set(t,c),t*=2}return e}}function ed(e){Ge!==null&&typeof Ge.markCommitStarted=="function"&&Ge.markCommitStarted(e)}function Sv(){Ge!==null&&typeof Ge.markCommitStopped=="function"&&Ge.markCommitStopped()}function Ss(e){Ge!==null&&typeof Ge.markComponentRenderStarted=="function"&&Ge.markComponentRenderStarted(e)}function uu(){Ge!==null&&typeof Ge.markComponentRenderStopped=="function"&&Ge.markComponentRenderStopped()}function ug(e){Ge!==null&&typeof Ge.markComponentPassiveEffectMountStarted=="function"&&Ge.markComponentPassiveEffectMountStarted(e)}function wv(){Ge!==null&&typeof Ge.markComponentPassiveEffectMountStopped=="function"&&Ge.markComponentPassiveEffectMountStopped()}function td(e){Ge!==null&&typeof Ge.markComponentPassiveEffectUnmountStarted=="function"&&Ge.markComponentPassiveEffectUnmountStarted(e)}function lg(){Ge!==null&&typeof Ge.markComponentPassiveEffectUnmountStopped=="function"&&Ge.markComponentPassiveEffectUnmountStopped()}function cg(e){Ge!==null&&typeof Ge.markComponentLayoutEffectMountStarted=="function"&&Ge.markComponentLayoutEffectMountStarted(e)}function fg(){Ge!==null&&typeof Ge.markComponentLayoutEffectMountStopped=="function"&&Ge.markComponentLayoutEffectMountStopped()}function nd(e){Ge!==null&&typeof Ge.markComponentLayoutEffectUnmountStarted=="function"&&Ge.markComponentLayoutEffectUnmountStarted(e)}function xl(){Ge!==null&&typeof Ge.markComponentLayoutEffectUnmountStopped=="function"&&Ge.markComponentLayoutEffectUnmountStopped()}function rd(e,t,s){Ge!==null&&typeof Ge.markComponentErrored=="function"&&Ge.markComponentErrored(e,t,s)}function dg(e,t,s){Ge!==null&&typeof Ge.markComponentSuspended=="function"&&Ge.markComponentSuspended(e,t,s)}function pg(e){Ge!==null&&typeof Ge.markLayoutEffectsStarted=="function"&&Ge.markLayoutEffectsStarted(e)}function El(){Ge!==null&&typeof Ge.markLayoutEffectsStopped=="function"&&Ge.markLayoutEffectsStopped()}function vg(e){Ge!==null&&typeof Ge.markPassiveEffectsStarted=="function"&&Ge.markPassiveEffectsStarted(e)}function Mc(){Ge!==null&&typeof Ge.markPassiveEffectsStopped=="function"&&Ge.markPassiveEffectsStopped()}function Fi(e){Ge!==null&&typeof Ge.markRenderStarted=="function"&&Ge.markRenderStarted(e)}function Lc(){Ge!==null&&typeof Ge.markRenderYielded=="function"&&Ge.markRenderYielded()}function Sl(){Ge!==null&&typeof Ge.markRenderStopped=="function"&&Ge.markRenderStopped()}function lu(e){Ge!==null&&typeof Ge.markRenderScheduled=="function"&&Ge.markRenderScheduled(e)}function Rv(e,t){Ge!==null&&typeof Ge.markForceUpdateScheduled=="function"&&Ge.markForceUpdateScheduled(e,t)}function ws(e,t){Ge!==null&&typeof Ge.markStateUpdateScheduled=="function"&&Ge.markStateUpdateScheduled(e,t)}var mt=0,Vt=1,yt=2,Zn=8,fi=16,ad=Math.clz32?Math.clz32:cu,id=Math.log,Tv=Math.LN2;function cu(e){var t=e>>>0;return t===0?32:31-(id(t)/Tv|0)|0}var Vn=31,Se=0,$t=0,bt=1,ao=2,Xa=4,fu=8,Bn=16,du=32,Rs=4194240,pu=64,di=128,Na=256,vu=512,Fc=1024,Pc=2048,od=4096,sd=8192,ud=16384,ld=32768,cd=65536,fd=131072,dd=262144,pd=524288,hu=1048576,vd=2097152,mu=130023424,Do=4194304,hd=8388608,Vc=16777216,md=33554432,gd=67108864,Iv=Do,wl=134217728,yd=268435455,Rl=268435456,Ts=536870912,Oa=1073741824;function q0(e){{if(e&bt)return"Sync";if(e&ao)return"InputContinuousHydration";if(e&Xa)return"InputContinuous";if(e&fu)return"DefaultHydration";if(e&Bn)return"Default";if(e&du)return"TransitionHydration";if(e&Rs)return"Transition";if(e&mu)return"Retry";if(e&wl)return"SelectiveHydration";if(e&Rl)return"IdleHydration";if(e&Ts)return"Idle";if(e&Oa)return"Offscreen"}}var Nn=-1,bd=pu,Cd=Do;function Tl(e){switch(dr(e)){case bt:return bt;case ao:return ao;case Xa:return Xa;case fu:return fu;case Bn:return Bn;case du:return du;case pu:case di:case Na:case vu:case Fc:case Pc:case od:case sd:case ud:case ld:case cd:case fd:case dd:case pd:case hu:case vd:return e&Rs;case Do:case hd:case Vc:case md:case gd:return e&mu;case wl:return wl;case Rl:return Rl;case Ts:return Ts;case Oa:return Oa;default:return p("Should have found matching lanes. This is a bug in React."),e}}function Bc(e,t){var s=e.pendingLanes;if(s===Se)return Se;var c=Se,v=e.suspendedLanes,m=e.pingedLanes,S=s&yd;if(S!==Se){var I=S&~v;if(I!==Se)c=Tl(I);else{var _=S&m;_!==Se&&(c=Tl(_))}}else{var V=s&~v;V!==Se?c=Tl(V):m!==Se&&(c=Tl(m))}if(c===Se)return Se;if(t!==Se&&t!==c&&(t&v)===Se){var H=dr(c),ee=dr(t);if(H>=ee||H===Bn&&(ee&Rs)!==Se)return t}(c&Xa)!==Se&&(c|=s&Bn);var Q=e.entangledLanes;if(Q!==Se)for(var le=e.entanglements,fe=c&Q;fe>0;){var be=Is(fe),qe=1<<be;c|=le[be],fe&=~qe}return c}function hg(e,t){for(var s=e.eventTimes,c=Nn;t>0;){var v=Is(t),m=1<<v,S=s[v];S>c&&(c=S),t&=~m}return c}function xd(e,t){switch(e){case bt:case ao:case Xa:return t+250;case fu:case Bn:case du:case pu:case di:case Na:case vu:case Fc:case Pc:case od:case sd:case ud:case ld:case cd:case fd:case dd:case pd:case hu:case vd:return t+5e3;case Do:case hd:case Vc:case md:case gd:return Nn;case wl:case Rl:case Ts:case Oa:return Nn;default:return p("Should have found matching lanes. This is a bug in React."),Nn}}function Q0(e,t){for(var s=e.pendingLanes,c=e.suspendedLanes,v=e.pingedLanes,m=e.expirationTimes,S=s;S>0;){var I=Is(S),_=1<<I,V=m[I];V===Nn?((_&c)===Se||(_&v)!==Se)&&(m[I]=xd(_,t)):V<=t&&(e.expiredLanes|=_),S&=~_}}function K0(e){return Tl(e.pendingLanes)}function Av(e){var t=e.pendingLanes&~Oa;return t!==Se?t:t&Oa?Oa:Se}function Il(e){return(e&bt)!==Se}function zc(e){return(e&yd)!==Se}function Ed(e){return(e&mu)===e}function eC(e){var t=bt|Xa|Bn;return(e&t)===Se}function mg(e){return(e&Rs)===e}function Hc(e,t){var s=ao|Xa|fu|Bn;return(t&s)!==Se}function gg(e,t){return(t&e.expiredLanes)!==Se}function Nv(e){return(e&Rs)!==Se}function Ov(){var e=bd;return bd<<=1,(bd&Rs)===Se&&(bd=pu),e}function tC(){var e=Cd;return Cd<<=1,(Cd&mu)===Se&&(Cd=Do),e}function dr(e){return e&-e}function yr(e){return dr(e)}function Is(e){return 31-ad(e)}function Sd(e){return Is(e)}function _a(e,t){return(e&t)!==Se}function gu(e,t){return(e&t)===t}function kt(e,t){return e|t}function Al(e,t){return e&~t}function _v(e,t){return e&t}function yg(e){return e}function bg(e,t){return e!==$t&&e<t?e:t}function wd(e){for(var t=[],s=0;s<Vn;s++)t.push(e);return t}function yu(e,t,s){e.pendingLanes|=t,t!==Ts&&(e.suspendedLanes=Se,e.pingedLanes=Se);var c=e.eventTimes,v=Sd(t);c[v]=s}function Dv(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var s=e.expirationTimes,c=t;c>0;){var v=Is(c),m=1<<v;s[v]=Nn,c&=~m}}function jv(e,t,s){e.pingedLanes|=e.suspendedLanes&t}function kv(e,t){var s=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=Se,e.pingedLanes=Se,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var c=e.entanglements,v=e.eventTimes,m=e.expirationTimes,S=s;S>0;){var I=Is(S),_=1<<I;c[I]=Se,v[I]=Nn,m[I]=Nn,S&=~_}}function Nl(e,t){for(var s=e.entangledLanes|=t,c=e.entanglements,v=s;v;){var m=Is(v),S=1<<m;S&t|c[m]&t&&(c[m]|=t),v&=~S}}function nC(e,t){var s=dr(t),c;switch(s){case Xa:c=ao;break;case Bn:c=fu;break;case pu:case di:case Na:case vu:case Fc:case Pc:case od:case sd:case ud:case ld:case cd:case fd:case dd:case pd:case hu:case vd:case Do:case hd:case Vc:case md:case gd:c=du;break;case Ts:c=Rl;break;default:c=$t;break}return(c&(e.suspendedLanes|t))!==$t?$t:c}function Mv(e,t,s){if(Mr)for(var c=e.pendingUpdatersLaneMap;s>0;){var v=Sd(s),m=1<<v,S=c[v];S.add(t),s&=~m}}function Rd(e,t){if(Mr)for(var s=e.pendingUpdatersLaneMap,c=e.memoizedUpdaters;t>0;){var v=Sd(t),m=1<<v,S=s[v];S.size>0&&(S.forEach(function(I){var _=I.alternate;(_===null||!c.has(_))&&c.add(I)}),S.clear()),t&=~m}}function Lv(e,t){return null}var Xr=bt,Lr=Xa,jo=Bn,Uc=Ts,bu=$t;function pi(){return bu}function br(e){bu=e}function Gc(e,t){var s=bu;try{return bu=e,t()}finally{bu=s}}function Yr(e,t){return e!==0&&e<t?e:t}function rC(e,t){return e===0||e>t?e:t}function Fv(e,t){return e!==0&&e<t}function $c(e){var t=dr(e);return Fv(Xr,t)?Fv(Lr,t)?zc(t)?jo:Uc:Lr:Xr}function Cr(e){var t=e.current.memoizedState;return t.isDehydrated}var Cg;function et(e){Cg=e}function Ol(e){Cg(e)}var Wc;function xg(e){Wc=e}var Eg;function Xc(e){Eg=e}var Yc;function Pv(e){Yc=e}var Vv;function Sg(e){Vv=e}var Td=!1,_l=[],io=null,Gn=null,Ir=null,hi=new Map,Dl=new Map,ko=[],Pi=["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 wg(e){return Pi.indexOf(e)>-1}function oo(e,t,s,c,v){return{blockedOn:e,domEventName:t,eventSystemFlags:s,nativeEvent:v,targetContainers:[c]}}function Rg(e,t){switch(e){case"focusin":case"focusout":io=null;break;case"dragenter":case"dragleave":Gn=null;break;case"mouseover":case"mouseout":Ir=null;break;case"pointerover":case"pointerout":{var s=t.pointerId;hi.delete(s);break}case"gotpointercapture":case"lostpointercapture":{var c=t.pointerId;Dl.delete(c);break}}}function jl(e,t,s,c,v,m){if(e===null||e.nativeEvent!==m){var S=oo(t,s,c,v,m);if(t!==null){var I=Gl(t);I!==null&&Wc(I)}return S}e.eventSystemFlags|=c;var _=e.targetContainers;return v!==null&&_.indexOf(v)===-1&&_.push(v),e}function Tg(e,t,s,c,v){switch(t){case"focusin":{var m=v;return io=jl(io,e,t,s,c,m),!0}case"dragenter":{var S=v;return Gn=jl(Gn,e,t,s,c,S),!0}case"mouseover":{var I=v;return Ir=jl(Ir,e,t,s,c,I),!0}case"pointerover":{var _=v,V=_.pointerId;return hi.set(V,jl(hi.get(V)||null,e,t,s,c,_)),!0}case"gotpointercapture":{var H=v,ee=H.pointerId;return Dl.set(ee,jl(Dl.get(ee)||null,e,t,s,c,H)),!0}}return!1}function Bv(e){var t=rf(e.target);if(t!==null){var s=Ga(t);if(s!==null){var c=s.tag;if(c===z){var v=hv(s);if(v!==null){e.blockedOn=v,Vv(e.priority,function(){Eg(s)});return}}else if(c===w){var m=s.stateNode;if(Cr(m)){e.blockedOn=Yf(s);return}}}}e.blockedOn=null}function Ig(e){for(var t=Yc(),s={blockedOn:null,target:e,priority:t},c=0;c<ko.length&&Fv(t,ko[c].priority);c++);ko.splice(c,0,s),c===0&&Bv(s)}function Id(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var s=t[0],c=Cu(e.domEventName,e.eventSystemFlags,s,e.nativeEvent);if(c===null){var v=e.nativeEvent,m=new v.constructor(v.type,v);Ic(m),v.target.dispatchEvent(m),X0()}else{var S=Gl(c);return S!==null&&Wc(S),e.blockedOn=c,!1}t.shift()}return!0}function Zc(e,t,s){Id(e)&&s.delete(t)}function zv(){Td=!1,io!==null&&Id(io)&&(io=null),Gn!==null&&Id(Gn)&&(Gn=null),Ir!==null&&Id(Ir)&&(Ir=null),hi.forEach(Zc),Dl.forEach(Zc)}function Zr(e,t){e.blockedOn===t&&(e.blockedOn=null,Td||(Td=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,zv)))}function zt(e){if(_l.length>0){Zr(_l[0],e);for(var t=1;t<_l.length;t++){var s=_l[t];s.blockedOn===e&&(s.blockedOn=null)}}io!==null&&Zr(io,e),Gn!==null&&Zr(Gn,e),Ir!==null&&Zr(Ir,e);var c=function(I){return Zr(I,e)};hi.forEach(c),Dl.forEach(c);for(var v=0;v<ko.length;v++){var m=ko[v];m.blockedOn===e&&(m.blockedOn=null)}for(;ko.length>0;){var S=ko[0];if(S.blockedOn!==null)break;Bv(S),S.blockedOn===null&&ko.shift()}}var Jn=i.ReactCurrentBatchConfig,tr=!0;function Ar(e){tr=!!e}function Ya(){return tr}function kl(e,t,s){var c=sa(t),v;switch(c){case Xr:v=xr;break;case Lr:v=Jc;break;case jo:default:v=Mo;break}return v.bind(null,t,s,e)}function xr(e,t,s,c){var v=pi(),m=Jn.transition;Jn.transition=null;try{br(Xr),Mo(e,t,s,c)}finally{br(v),Jn.transition=m}}function Jc(e,t,s,c){var v=pi(),m=Jn.transition;Jn.transition=null;try{br(Lr),Mo(e,t,s,c)}finally{br(v),Jn.transition=m}}function Mo(e,t,s,c){tr&&Ad(e,t,s,c)}function Ad(e,t,s,c){var v=Cu(e,t,s,c);if(v===null){SC(e,t,c,Ml,s),Rg(e,c);return}if(Tg(v,e,t,s,c)){c.stopPropagation();return}if(Rg(e,c),t&nu&&wg(e)){for(;v!==null;){var m=Gl(v);m!==null&&Ol(m);var S=Cu(e,t,s,c);if(S===null&&SC(e,t,c,Ml,s),S===v)break;v=S}v!==null&&c.stopPropagation();return}SC(e,t,c,null,s)}var Ml=null;function Cu(e,t,s,c){Ml=null;var v=Uf(c),m=rf(v);if(m!==null){var S=Ga(m);if(S===null)m=null;else{var I=S.tag;if(I===z){var _=hv(S);if(_!==null)return _;m=null}else if(I===w){var V=S.stateNode;if(Cr(V))return Yf(S);m=null}else S!==m&&(m=null)}}return Ml=m,null}function sa(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Xr;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Lr;case"message":{var t=yv();switch(t){case Qf:return Xr;case Wa:return Lr;case ro:case Kf:return jo;case bs:return Uc;default:return jo}}default:return jo}}function Hv(e,t,s){return e.addEventListener(t,s,!1),s}function Ll(e,t,s){return e.addEventListener(t,s,!0),s}function Lo(e,t,s,c){return e.addEventListener(t,s,{capture:!0,passive:c}),s}function Nd(e,t,s,c){return e.addEventListener(t,s,{passive:c}),s}var xu=null,so=null,As=null;function Ns(e){return xu=e,so=_d(),!0}function Od(){xu=null,so=null,As=null}function Fl(){if(As)return As;var e,t=so,s=t.length,c,v=_d(),m=v.length;for(e=0;e<s&&t[e]===v[e];e++);var S=s-e;for(c=1;c<=S&&t[s-c]===v[m-c];c++);var I=c>1?1-c:void 0;return As=v.slice(e,I),As}function _d(){return"value"in xu?xu.value:xu.textContent}function Eu(e){var t,s=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&s===13&&(t=13)):t=s,t===10&&(t=13),t>=32||t===13?t:0}function Su(){return!0}function Jr(){return!1}function pr(e){function t(s,c,v,m,S){this._reactName=s,this._targetInst=v,this.type=c,this.nativeEvent=m,this.target=S,this.currentTarget=null;for(var I in e)if(e.hasOwnProperty(I)){var _=e[I];_?this[I]=_(m):this[I]=m[I]}var V=m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1;return V?this.isDefaultPrevented=Su:this.isDefaultPrevented=Jr,this.isPropagationStopped=Jr,this}return Ft(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=Su)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=Su)},persist:function(){},isPersistent:Su}),t}var qr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Qr=pr(qr),Pl=Ft({},qr,{view:0,detail:0}),Uv=pr(Pl),qc,Gv,mi;function Ag(e){e!==mi&&(mi&&e.type==="mousemove"?(qc=e.screenX-mi.screenX,Gv=e.screenY-mi.screenY):(qc=0,Gv=0),mi=e)}var Vl=Ft({},Pl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kd,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(Ag(e),qc)},movementY:function(e){return"movementY"in e?e.movementY:Gv}}),Os=pr(Vl),$v=Ft({},Vl,{dataTransfer:0}),wu=pr($v),Ng=Ft({},Pl,{relatedTarget:0}),Dd=pr(Ng),Wv=Ft({},qr,{animationName:0,elapsedTime:0,pseudoElement:0}),jd=pr(Wv),aC=Ft({},qr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),iC=pr(aC),Og=Ft({},qr,{data:0}),Xv=pr(Og),Ru=Xv,oC={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Bl={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 _g(e){if(e.key){var t=oC[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var s=Eu(e);return s===13?"Enter":String.fromCharCode(s)}return e.type==="keydown"||e.type==="keyup"?Bl[e.keyCode]||"Unidentified":""}var nr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function sC(e){var t=this,s=t.nativeEvent;if(s.getModifierState)return s.getModifierState(e);var c=nr[e];return c?!!s[c]:!1}function kd(e){return sC}var uC=Ft({},Pl,{key:_g,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kd,charCode:function(e){return e.type==="keypress"?Eu(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Eu(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),lC=pr(uC),Dg=Ft({},Vl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Yv=pr(Dg),cC=Ft({},Pl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kd}),gi=pr(cC),Zv=Ft({},qr,{propertyName:0,elapsedTime:0,pseudoElement:0}),fC=pr(Zv),_s=Ft({},Vl,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Md=pr(_s),Tu=[9,13,27,32],Qc=229,Kc=ft&&"CompositionEvent"in window,Iu=null;ft&&"documentMode"in document&&(Iu=document.documentMode);var dC=ft&&"TextEvent"in window&&!Iu,Ld=ft&&(!Kc||Iu&&Iu>8&&Iu<=11),jg=32,Jv=String.fromCharCode(jg);function kg(){It("onBeforeInput",["compositionend","keypress","textInput","paste"]),It("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),It("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),It("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var ef=!1;function Fd(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function Mg(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function qv(e,t){return e==="keydown"&&t.keyCode===Qc}function Lg(e,t){switch(e){case"keyup":return Tu.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Qc;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qv(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function Pd(e){return e.locale==="ko"}var Fo=!1;function Kv(e,t,s,c,v){var m,S;if(Kc?m=Mg(t):Fo?Lg(t,c)&&(m="onCompositionEnd"):qv(t,c)&&(m="onCompositionStart"),!m)return null;Ld&&!Pd(c)&&(!Fo&&m==="onCompositionStart"?Fo=Ns(v):m==="onCompositionEnd"&&Fo&&(S=Fl()));var I=zg(s,m);if(I.length>0){var _=new Xv(m,t,null,c,v);if(e.push({event:_,listeners:I}),S)_.data=S;else{var V=Qv(c);V!==null&&(_.data=V)}}}function Vd(e,t){switch(e){case"compositionend":return Qv(t);case"keypress":var s=t.which;return s!==jg?null:(ef=!0,Jv);case"textInput":var c=t.data;return c===Jv&&ef?null:c;default:return null}}function Fg(e,t){if(Fo){if(e==="compositionend"||!Kc&&Lg(e,t)){var s=Fl();return Od(),Fo=!1,s}return null}switch(e){case"paste":return null;case"keypress":if(!Fd(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Ld&&!Pd(t)?null:t.data;default:return null}}function pC(e,t,s,c,v){var m;if(dC?m=Vd(t,c):m=Fg(t,c),!m)return null;var S=zg(s,"onBeforeInput");if(S.length>0){var I=new Ru("onBeforeInput","beforeinput",null,c,v);e.push({event:I,listeners:S}),I.data=m}}function Bd(e,t,s,c,v,m,S){Kv(e,t,s,c,v),pC(e,t,s,c,v)}var vC={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 zl(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!vC[e.type]:t==="textarea"}/**
113
113
  * Checks if an event is supported in the current execution environment.
114
114
  *
115
115
  * NOTE: This will not work correctly for non-generic events such as `change`,
@@ -121,8 +121,8 @@ Check the render method of \``+e+"`.":""}var bc=["value","defaultValue"];functio
121
121
  * @return {boolean} True if the event is supported.
122
122
  * @internal
123
123
  * @license Modernizr 3.0.0pre (Custom Build) | MIT
124
- */function hC(e){if(!ft)return!1;var t="on"+e,s=t in document;if(!s){var c=document.createElement("div");c.setAttribute(t,"return;"),s=typeof c[t]=="function"}return s}function zd(){It("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function a(e,t,s,c){Gf(c);var v=zg(t,"onChange");if(v.length>0){var m=new Qr("onChange","change",null,s,c);e.push({event:m,listeners:v})}}var o=null,f=null;function h(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function x(e){var t=[];a(t,f,e,Uf(e)),sv(w,t)}function w(e){$w(e,0)}function k(e){var t=Xd(e);if(cl(t))return e}function W(e,t){if(e==="change")return t}var J=!1;ft&&(J=hC("input")&&(!document.documentMode||document.documentMode>9));function de(e,t){o=e,f=t,o.attachEvent("onpropertychange",Fe)}function Me(){o&&(o.detachEvent("onpropertychange",Fe),o=null,f=null)}function Fe(e){e.propertyName==="value"&&k(f)&&x(e)}function ke(e,t,s){e==="focusin"?(Me(),de(t,s)):e==="focusout"&&Me()}function Ye(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return k(f)}function tt(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function at(e,t){if(e==="click")return k(t)}function sr(e,t){if(e==="input"||e==="change")return k(t)}function ne(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||ht(e,"number",e.value)}function K(e,t,s,c,v,m,S){var I=s?Xd(s):window,_,V;if(h(I)?_=W:zl(I)?J?_=sr:(_=Ye,V=ke):tt(I)&&(_=at),_){var H=_(t,s);if(H){a(e,H,c,v);return}}V&&V(t,I,s),t==="focusout"&&ne(I)}function oe(){Ne("onMouseEnter",["mouseout","mouseover"]),Ne("onMouseLeave",["mouseout","mouseover"]),Ne("onPointerEnter",["pointerout","pointerover"]),Ne("onPointerLeave",["pointerout","pointerover"])}function ze(e,t,s,c,v,m,S){var I=t==="mouseover"||t==="pointerover",_=t==="mouseout"||t==="pointerout";if(I&&!eg(c)){var V=c.relatedTarget||c.fromElement;if(V&&(rf(V)||ph(V)))return}if(!(!_&&!I)){var H;if(v.window===v)H=v;else{var ee=v.ownerDocument;ee?H=ee.defaultView||ee.parentWindow:H=window}var Q,le;if(_){var fe=c.relatedTarget||c.toElement;if(Q=s,le=fe?rf(fe):null,le!==null){var be=Ga(le);(le!==be||le.tag!==A&&le.tag!==N)&&(le=null)}}else Q=null,le=s;if(Q!==le){var qe=Os,pt="onMouseLeave",ot="onMouseEnter",Xt="mouse";(t==="pointerout"||t==="pointerover")&&(qe=Yv,pt="onPointerLeave",ot="onPointerEnter",Xt="pointer");var Ht=Q==null?H:Xd(Q),re=le==null?H:Xd(le),Ce=new qe(pt,Xt+"leave",Q,c,v);Ce.target=Ht,Ce.relatedTarget=re;var ae=null,Pe=rf(v);if(Pe===s){var Qe=new qe(ot,Xt+"enter",le,c,v);Qe.target=re,Qe.relatedTarget=Ht,ae=Qe}Qk(e,Ce,ae,Q,le)}}}function it(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var nt=typeof Object.is=="function"?Object.is:it;function ut(e,t){if(nt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var s=Object.keys(e),c=Object.keys(t);if(s.length!==c.length)return!1;for(var v=0;v<s.length;v++){var m=s[v];if(!Bt.call(t,m)||!nt(e[m],t[m]))return!1}return!0}function Rt(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Nr(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function tn(e,t){for(var s=Rt(e),c=0,v=0;s;){if(s.nodeType===wo){if(v=c+s.textContent.length,c<=t&&v>=t)return{node:s,offset:t-c};c=v}s=Rt(Nr(s))}}function Ds(e){var t=e.ownerDocument,s=t&&t.defaultView||window,c=s.getSelection&&s.getSelection();if(!c||c.rangeCount===0)return null;var v=c.anchorNode,m=c.anchorOffset,S=c.focusNode,I=c.focusOffset;try{v.nodeType,S.nodeType}catch{return null}return mC(e,v,m,S,I)}function mC(e,t,s,c,v){var m=0,S=-1,I=-1,_=0,V=0,H=e,ee=null;e:for(;;){for(var Q=null;H===t&&(s===0||H.nodeType===wo)&&(S=m+s),H===c&&(v===0||H.nodeType===wo)&&(I=m+v),H.nodeType===wo&&(m+=H.nodeValue.length),(Q=H.firstChild)!==null;)ee=H,H=Q;for(;;){if(H===e)break e;if(ee===t&&++_===s&&(S=m),ee===c&&++V===v&&(I=m),(Q=H.nextSibling)!==null)break;H=ee,ee=H.parentNode}H=Q}return S===-1||I===-1?null:{start:S,end:I}}function jk(e,t){var s=e.ownerDocument||document,c=s&&s.defaultView||window;if(c.getSelection){var v=c.getSelection(),m=e.textContent.length,S=Math.min(t.start,m),I=t.end===void 0?S:Math.min(t.end,m);if(!v.extend&&S>I){var _=I;I=S,S=_}var V=tn(e,S),H=tn(e,I);if(V&&H){if(v.rangeCount===1&&v.anchorNode===V.node&&v.anchorOffset===V.offset&&v.focusNode===H.node&&v.focusOffset===H.offset)return;var ee=s.createRange();ee.setStart(V.node,V.offset),v.removeAllRanges(),S>I?(v.addRange(ee),v.extend(H.node,H.offset)):(ee.setEnd(H.node,H.offset),v.addRange(ee))}}}function jw(e){return e&&e.nodeType===wo}function kw(e,t){return!e||!t?!1:e===t?!0:jw(e)?!1:jw(t)?kw(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function kk(e){return e&&e.ownerDocument&&kw(e.ownerDocument.documentElement,e)}function Mk(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function Mw(){for(var e=window,t=fs();t instanceof e.HTMLIFrameElement;){if(Mk(t))e=t.contentWindow;else return t;t=fs(e.document)}return t}function gC(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Lk(){var e=Mw();return{focusedElem:e,selectionRange:gC(e)?Pk(e):null}}function Fk(e){var t=Mw(),s=e.focusedElem,c=e.selectionRange;if(t!==s&&kk(s)){c!==null&&gC(s)&&Vk(s,c);for(var v=[],m=s;m=m.parentNode;)m.nodeType===Sa&&v.push({element:m,left:m.scrollLeft,top:m.scrollTop});typeof s.focus=="function"&&s.focus();for(var S=0;S<v.length;S++){var I=v[S];I.element.scrollLeft=I.left,I.element.scrollTop=I.top}}}function Pk(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=Ds(e),t||{start:0,end:0}}function Vk(e,t){var s=t.start,c=t.end;c===void 0&&(c=s),"selectionStart"in e?(e.selectionStart=s,e.selectionEnd=Math.min(c,e.value.length)):jk(e,t)}var Bk=ft&&"documentMode"in document&&document.documentMode<=11;function zk(){It("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Hd=null,yC=null,eh=null,bC=!1;function Hk(e){if("selectionStart"in e&&gC(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,s=t.getSelection();return{anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}}function Uk(e){return e.window===e?e.document:e.nodeType===ki?e:e.ownerDocument}function Lw(e,t,s){var c=Uk(s);if(!(bC||Hd==null||Hd!==fs(c))){var v=Hk(Hd);if(!eh||!ut(eh,v)){eh=v;var m=zg(yC,"onSelect");if(m.length>0){var S=new Qr("onSelect","select",null,t,s);e.push({event:S,listeners:m}),S.target=Hd}}}}function Gk(e,t,s,c,v,m,S){var I=s?Xd(s):window;switch(t){case"focusin":(zl(I)||I.contentEditable==="true")&&(Hd=I,yC=s,eh=null);break;case"focusout":Hd=null,yC=null,eh=null;break;case"mousedown":bC=!0;break;case"contextmenu":case"mouseup":case"dragend":bC=!1,Lw(e,c,v);break;case"selectionchange":if(Bk)break;case"keydown":case"keyup":Lw(e,c,v)}}function Pg(e,t){var s={};return s[e.toLowerCase()]=t.toLowerCase(),s["Webkit"+e]="webkit"+t,s["Moz"+e]="moz"+t,s}var Ud={animationend:Pg("Animation","AnimationEnd"),animationiteration:Pg("Animation","AnimationIteration"),animationstart:Pg("Animation","AnimationStart"),transitionend:Pg("Transition","TransitionEnd")},CC={},Fw={};ft&&(Fw=document.createElement("div").style,"AnimationEvent"in window||(delete Ud.animationend.animation,delete Ud.animationiteration.animation,delete Ud.animationstart.animation),"TransitionEvent"in window||delete Ud.transitionend.transition);function Vg(e){if(CC[e])return CC[e];if(!Ud[e])return e;var t=Ud[e];for(var s in t)if(t.hasOwnProperty(s)&&s in Fw)return CC[e]=t[s];return e}var Pw=Vg("animationend"),Vw=Vg("animationiteration"),Bw=Vg("animationstart"),zw=Vg("transitionend"),Hw=new Map,Uw=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function Hl(e,t){Hw.set(e,t),It(t,[e])}function $k(){for(var e=0;e<Uw.length;e++){var t=Uw[e],s=t.toLowerCase(),c=t[0].toUpperCase()+t.slice(1);Hl(s,"on"+c)}Hl(Pw,"onAnimationEnd"),Hl(Vw,"onAnimationIteration"),Hl(Bw,"onAnimationStart"),Hl("dblclick","onDoubleClick"),Hl("focusin","onFocus"),Hl("focusout","onBlur"),Hl(zw,"onTransitionEnd")}function Wk(e,t,s,c,v,m,S){var I=Hw.get(t);if(I!==void 0){var _=Qr,V=t;switch(t){case"keypress":if(Eu(c)===0)return;case"keydown":case"keyup":_=lC;break;case"focusin":V="focus",_=Dd;break;case"focusout":V="blur",_=Dd;break;case"beforeblur":case"afterblur":_=Dd;break;case"click":if(c.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":_=Os;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":_=wu;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":_=gi;break;case Pw:case Vw:case Bw:_=jd;break;case zw:_=fC;break;case"scroll":_=Uv;break;case"wheel":_=Md;break;case"copy":case"cut":case"paste":_=iC;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":_=Yv;break}var H=(m&nu)!==0;{var ee=!H&&t==="scroll",Q=Jk(s,I,c.type,H,ee);if(Q.length>0){var le=new _(I,V,null,c,v);e.push({event:le,listeners:Q})}}}}$k(),oe(),zd(),zk(),kg();function Xk(e,t,s,c,v,m,S){Wk(e,t,s,c,v,m);var I=(m&W0)===0;I&&(ze(e,t,s,c,v),K(e,t,s,c,v),Gk(e,t,s,c,v),Bd(e,t,s,c,v))}var th=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],xC=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(th));function Gw(e,t,s){var c=e.type||"unknown-event";e.currentTarget=s,Ao(c,t,void 0,e),e.currentTarget=null}function Yk(e,t,s){var c;if(s)for(var v=t.length-1;v>=0;v--){var m=t[v],S=m.instance,I=m.currentTarget,_=m.listener;if(S!==c&&e.isPropagationStopped())return;Gw(e,_,I),c=S}else for(var V=0;V<t.length;V++){var H=t[V],ee=H.instance,Q=H.currentTarget,le=H.listener;if(ee!==c&&e.isPropagationStopped())return;Gw(e,le,Q),c=ee}}function $w(e,t){for(var s=(t&nu)!==0,c=0;c<e.length;c++){var v=e[c],m=v.event,S=v.listeners;Yk(m,S,s)}fv()}function Zk(e,t,s,c,v){var m=Uf(s),S=[];Xk(S,e,c,s,m,t),$w(S,t)}function qn(e,t){xC.has(e)||p('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var s=!1,c=R2(t),v=Kk(e,s);c.has(v)||(Ww(t,e,Rc,s),c.add(v))}function EC(e,t,s){xC.has(e)&&!t&&p('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var c=0;t&&(c|=nu),Ww(s,e,c,t)}var Bg="_reactListening"+Math.random().toString(36).slice(2);function nh(e){if(!e[Bg]){e[Bg]=!0,Te.forEach(function(s){s!=="selectionchange"&&(xC.has(s)||EC(s,!1,e),EC(s,!0,e))});var t=e.nodeType===ki?e:e.ownerDocument;t!==null&&(t[Bg]||(t[Bg]=!0,EC("selectionchange",!1,t)))}}function Ww(e,t,s,c,v){var m=kl(e,t,s),S=void 0;Oc&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(S=!0),e=e,c?S!==void 0?Lo(e,t,m,S):Ll(e,t,m):S!==void 0?Nd(e,t,m,S):Hv(e,t,m)}function Xw(e,t){return e===t||e.nodeType===fr&&e.parentNode===t}function SC(e,t,s,c,v){var m=c;if(!(t&To)&&!(t&Rc)){var S=v;if(c!==null){var I=c;e:for(;;){if(I===null)return;var _=I.tag;if(_===R||_===T){var V=I.stateNode.containerInfo;if(Xw(V,S))break;if(_===T)for(var H=I.return;H!==null;){var ee=H.tag;if(ee===R||ee===T){var Q=H.stateNode.containerInfo;if(Xw(Q,S))return}H=H.return}for(;V!==null;){var le=rf(V);if(le===null)return;var fe=le.tag;if(fe===A||fe===N){I=m=le;continue e}V=V.parentNode}}I=I.return}}}sv(function(){return Zk(e,t,s,m)})}function rh(e,t,s){return{instance:e,listener:t,currentTarget:s}}function Jk(e,t,s,c,v,m){for(var S=t!==null?t+"Capture":null,I=c?S:t,_=[],V=e,H=null;V!==null;){var ee=V,Q=ee.stateNode,le=ee.tag;if(le===A&&Q!==null&&(H=Q,I!==null)){var fe=au(V,I);fe!=null&&_.push(rh(V,fe,H))}if(v)break;V=V.return}return _}function zg(e,t){for(var s=t+"Capture",c=[],v=e;v!==null;){var m=v,S=m.stateNode,I=m.tag;if(I===A&&S!==null){var _=S,V=au(v,s);V!=null&&c.unshift(rh(v,V,_));var H=au(v,t);H!=null&&c.push(rh(v,H,_))}v=v.return}return c}function Gd(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==A);return e||null}function qk(e,t){for(var s=e,c=t,v=0,m=s;m;m=Gd(m))v++;for(var S=0,I=c;I;I=Gd(I))S++;for(;v-S>0;)s=Gd(s),v--;for(;S-v>0;)c=Gd(c),S--;for(var _=v;_--;){if(s===c||c!==null&&s===c.alternate)return s;s=Gd(s),c=Gd(c)}return null}function Yw(e,t,s,c,v){for(var m=t._reactName,S=[],I=s;I!==null&&I!==c;){var _=I,V=_.alternate,H=_.stateNode,ee=_.tag;if(V!==null&&V===c)break;if(ee===A&&H!==null){var Q=H;if(v){var le=au(I,m);le!=null&&S.unshift(rh(I,le,Q))}else if(!v){var fe=au(I,m);fe!=null&&S.push(rh(I,fe,Q))}}I=I.return}S.length!==0&&e.push({event:t,listeners:S})}function Qk(e,t,s,c,v){var m=c&&v?qk(c,v):null;c!==null&&Yw(e,t,c,m,!1),v!==null&&s!==null&&Yw(e,s,v,m,!0)}function Kk(e,t){return e+"__"+(t?"capture":"bubble")}var yi=!1,ah="dangerouslySetInnerHTML",Hg="suppressContentEditableWarning",Ul="suppressHydrationWarning",Zw="autoFocus",tf="children",nf="style",Ug="__html",wC,Gg,ih,Jw,$g,qw,Qw;wC={dialog:!0,webview:!0},Gg=function(e,t){Hf(e,t),nv(e,t),Km(e,t,{registrationNameDependencies:Ve,possibleRegistrationNames:Ke})},qw=ft&&!document.documentMode,ih=function(e,t,s){if(!yi){var c=Wg(s),v=Wg(t);v!==c&&(yi=!0,p("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(v),JSON.stringify(c)))}},Jw=function(e){if(!yi){yi=!0;var t=[];e.forEach(function(s){t.push(s)}),p("Extra attributes from the server: %s",t)}},$g=function(e,t){t===!1?p("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.",e,e,e):p("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},Qw=function(e,t){var s=e.namespaceURI===So?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return s.innerHTML=t,s.innerHTML};var eM=/\r\n?/g,tM=/\u0000|\uFFFD/g;function Wg(e){$n(e);var t=typeof e=="string"?e:""+e;return t.replace(eM,`
125
- `).replace(tM,"")}function Xg(e,t,s,c){var v=Wg(t),m=Wg(e);if(m!==v&&(c&&(yi||(yi=!0,p('Text content did not match. Server: "%s" Client: "%s"',m,v))),s&&Ie))throw new Error("Text content does not match server-rendered HTML.")}function Kw(e){return e.nodeType===ki?e:e.ownerDocument}function nM(){}function Yg(e){e.onclick=nM}function rM(e,t,s,c,v){for(var m in c)if(c.hasOwnProperty(m)){var S=c[m];if(m===nf)S&&Object.freeze(S),Um(t,S);else if(m===ah){var I=S?S[Ug]:void 0;I!=null&&Dm(t,I)}else if(m===tf)if(typeof S=="string"){var _=e!=="textarea"||S!=="";_&&Pf(t,S)}else typeof S=="number"&&Pf(t,""+S);else m===Hg||m===Ul||m===Zw||(Ve.hasOwnProperty(m)?S!=null&&(typeof S!="function"&&$g(m,S),m==="onScroll"&&qn("scroll",t)):S!=null&&za(t,m,S,v))}}function aM(e,t,s,c){for(var v=0;v<t.length;v+=2){var m=t[v],S=t[v+1];m===nf?Um(e,S):m===ah?Dm(e,S):m===tf?Pf(e,S):za(e,m,S,c)}}function iM(e,t,s,c){var v,m=Kw(s),S,I=c;if(I===So&&(I=Lf(e)),I===So){if(v=Ro(e,t),!v&&e!==e.toLowerCase()&&p("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var _=m.createElement("div");_.innerHTML="<script><\/script>";var V=_.firstChild;S=_.removeChild(V)}else if(typeof t.is=="string")S=m.createElement(e,{is:t.is});else if(S=m.createElement(e),e==="select"){var H=S;t.multiple?H.multiple=!0:t.size&&(H.size=t.size)}}else S=m.createElementNS(I,e);return I===So&&!v&&Object.prototype.toString.call(S)==="[object HTMLUnknownElement]"&&!Bt.call(wC,e)&&(wC[e]=!0,p("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),S}function oM(e,t){return Kw(t).createTextNode(e)}function sM(e,t,s,c){var v=Ro(t,s);Gg(t,s);var m;switch(t){case"dialog":qn("cancel",e),qn("close",e),m=s;break;case"iframe":case"object":case"embed":qn("load",e),m=s;break;case"video":case"audio":for(var S=0;S<th.length;S++)qn(th[S],e);m=s;break;case"source":qn("error",e),m=s;break;case"img":case"image":case"link":qn("error",e),qn("load",e),m=s;break;case"details":qn("toggle",e),m=s;break;case"input":Y(e,s),m=D(e,s),qn("invalid",e);break;case"option":gn(e,s),m=s;break;case"select":xc(e,s),m=Cc(e,s),qn("invalid",e);break;case"textarea":Nm(e,s),m=Xp(e,s),qn("invalid",e);break;default:m=s}switch(Bf(t,m),rM(t,e,c,m,v),t){case"input":ai(e),Be(e,s,!1);break;case"textarea":ai(e),_m(e);break;case"option":In(e,s);break;case"select":$p(e,s);break;default:typeof m.onClick=="function"&&Yg(e);break}}function uM(e,t,s,c,v){Gg(t,c);var m=null,S,I;switch(t){case"input":S=D(e,s),I=D(e,c),m=[];break;case"select":S=Cc(e,s),I=Cc(e,c),m=[];break;case"textarea":S=Xp(e,s),I=Xp(e,c),m=[];break;default:S=s,I=c,typeof S.onClick!="function"&&typeof I.onClick=="function"&&Yg(e);break}Bf(t,I);var _,V,H=null;for(_ in S)if(!(I.hasOwnProperty(_)||!S.hasOwnProperty(_)||S[_]==null))if(_===nf){var ee=S[_];for(V in ee)ee.hasOwnProperty(V)&&(H||(H={}),H[V]="")}else _===ah||_===tf||_===Hg||_===Ul||_===Zw||(Ve.hasOwnProperty(_)?m||(m=[]):(m=m||[]).push(_,null));for(_ in I){var Q=I[_],le=S!=null?S[_]:void 0;if(!(!I.hasOwnProperty(_)||Q===le||Q==null&&le==null))if(_===nf)if(Q&&Object.freeze(Q),le){for(V in le)le.hasOwnProperty(V)&&(!Q||!Q.hasOwnProperty(V))&&(H||(H={}),H[V]="");for(V in Q)Q.hasOwnProperty(V)&&le[V]!==Q[V]&&(H||(H={}),H[V]=Q[V])}else H||(m||(m=[]),m.push(_,H)),H=Q;else if(_===ah){var fe=Q?Q[Ug]:void 0,be=le?le[Ug]:void 0;fe!=null&&be!==fe&&(m=m||[]).push(_,fe)}else _===tf?(typeof Q=="string"||typeof Q=="number")&&(m=m||[]).push(_,""+Q):_===Hg||_===Ul||(Ve.hasOwnProperty(_)?(Q!=null&&(typeof Q!="function"&&$g(_,Q),_==="onScroll"&&qn("scroll",e)),!m&&le!==Q&&(m=[])):(m=m||[]).push(_,Q))}return H&&(Sc(H,I[nf]),(m=m||[]).push(nf,H)),m}function lM(e,t,s,c,v){s==="input"&&v.type==="radio"&&v.name!=null&&ce(e,v);var m=Ro(s,c),S=Ro(s,v);switch(aM(e,t,m,S),s){case"input":ge(e,v);break;case"textarea":Om(e,v);break;case"select":L0(e,v);break}}function cM(e){{var t=e.toLowerCase();return zf.hasOwnProperty(t)&&zf[t]||null}}function fM(e,t,s,c,v,m,S){var I,_;switch(I=Ro(t,s),Gg(t,s),t){case"dialog":qn("cancel",e),qn("close",e);break;case"iframe":case"object":case"embed":qn("load",e);break;case"video":case"audio":for(var V=0;V<th.length;V++)qn(th[V],e);break;case"source":qn("error",e);break;case"img":case"image":case"link":qn("error",e),qn("load",e);break;case"details":qn("toggle",e);break;case"input":Y(e,s),qn("invalid",e);break;case"option":gn(e,s);break;case"select":xc(e,s),qn("invalid",e);break;case"textarea":Nm(e,s),qn("invalid",e);break}Bf(t,s);{_=new Set;for(var H=e.attributes,ee=0;ee<H.length;ee++){var Q=H[ee].name.toLowerCase();switch(Q){case"value":break;case"checked":break;case"selected":break;default:_.add(H[ee].name)}}}var le=null;for(var fe in s)if(s.hasOwnProperty(fe)){var be=s[fe];if(fe===tf)typeof be=="string"?e.textContent!==be&&(s[Ul]!==!0&&Xg(e.textContent,be,m,S),le=[tf,be]):typeof be=="number"&&e.textContent!==""+be&&(s[Ul]!==!0&&Xg(e.textContent,be,m,S),le=[tf,""+be]);else if(Ve.hasOwnProperty(fe))be!=null&&(typeof be!="function"&&$g(fe,be),fe==="onScroll"&&qn("scroll",e));else if(S&&typeof I=="boolean"){var qe=void 0,pt=I&&xe?null:na(fe);if(s[Ul]!==!0){if(!(fe===Hg||fe===Ul||fe==="value"||fe==="checked"||fe==="selected")){if(fe===ah){var ot=e.innerHTML,Xt=be?be[Ug]:void 0;if(Xt!=null){var Ht=Qw(e,Xt);Ht!==ot&&ih(fe,ot,Ht)}}else if(fe===nf){if(_.delete(fe),qw){var re=G0(be);qe=e.getAttribute("style"),re!==qe&&ih(fe,qe,re)}}else if(I&&!xe)_.delete(fe.toLowerCase()),qe=Yi(e,fe,be),be!==qe&&ih(fe,qe,be);else if(!Wn(fe,pt,I)&&!mn(fe,be,pt,I)){var Ce=!1;if(pt!==null)_.delete(pt.attributeName),qe=Ba(e,fe,be,pt);else{var ae=c;if(ae===So&&(ae=Lf(t)),ae===So)_.delete(fe.toLowerCase());else{var Pe=cM(fe);Pe!==null&&Pe!==fe&&(Ce=!0,_.delete(Pe)),_.delete(fe)}qe=Yi(e,fe,be)}var Qe=xe;!Qe&&be!==qe&&!Ce&&ih(fe,qe,be)}}}}}switch(S&&_.size>0&&s[Ul]!==!0&&Jw(_),t){case"input":ai(e),Be(e,s,!0);break;case"textarea":ai(e),_m(e);break;case"select":case"option":break;default:typeof s.onClick=="function"&&Yg(e);break}return le}function dM(e,t,s){var c=e.nodeValue!==t;return c}function RC(e,t){{if(yi)return;yi=!0,p("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function TC(e,t){{if(yi)return;yi=!0,p('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function IC(e,t,s){{if(yi)return;yi=!0,p("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function AC(e,t){{if(t===""||yi)return;yi=!0,p('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function pM(e,t,s){switch(t){case"input":gt(e,s);return;case"textarea":Yp(e,s);return;case"select":F0(e,s);return}}var oh=function(){},sh=function(){};{var vM=["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"],eR=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],hM=eR.concat(["button"]),mM=["dd","dt","li","option","optgroup","p","rp","rt"],tR={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};sh=function(e,t){var s=Ft({},e||tR),c={tag:t};return eR.indexOf(t)!==-1&&(s.aTagInScope=null,s.buttonTagInScope=null,s.nobrTagInScope=null),hM.indexOf(t)!==-1&&(s.pTagInButtonScope=null),vM.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(s.listItemTagAutoclosing=null,s.dlItemTagAutoclosing=null),s.current=c,t==="form"&&(s.formTag=c),t==="a"&&(s.aTagInScope=c),t==="button"&&(s.buttonTagInScope=c),t==="nobr"&&(s.nobrTagInScope=c),t==="p"&&(s.pTagInButtonScope=c),t==="li"&&(s.listItemTagAutoclosing=c),(t==="dd"||t==="dt")&&(s.dlItemTagAutoclosing=c),s};var gM=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return mM.indexOf(t)===-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 t==null}return!0},yM=function(e,t){switch(e){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 t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},nR={};oh=function(e,t,s){s=s||tR;var c=s.current,v=c&&c.tag;t!=null&&(e!=null&&p("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var m=gM(e,v)?null:c,S=m?null:yM(e,s),I=m||S;if(I){var _=I.tag,V=!!m+"|"+e+"|"+_;if(!nR[V]){nR[V]=!0;var H=e,ee="";if(e==="#text"?/\S/.test(t)?H="Text nodes":(H="Whitespace text nodes",ee=" Make sure you don't have any extra whitespace between tags on each line of your source code."):H="<"+e+">",m){var Q="";_==="table"&&e==="tr"&&(Q+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),p("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",H,_,ee,Q)}else p("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",H,_)}}}}var Zg="suppressHydrationWarning",Jg="$",qg="/$",uh="$?",lh="$!",bM="style",NC=null,OC=null;function CM(e){var t,s,c=e.nodeType;switch(c){case ki:case eu:{t=c===ki?"#document":"#fragment";var v=e.documentElement;s=v?v.namespaceURI:Jp(null,"");break}default:{var m=c===fr?e.parentNode:e,S=m.namespaceURI||null;t=m.tagName,s=Jp(S,t);break}}{var I=t.toLowerCase(),_=sh(null,I);return{namespace:s,ancestorInfo:_}}}function xM(e,t,s){{var c=e,v=Jp(c.namespace,t),m=sh(c.ancestorInfo,t);return{namespace:v,ancestorInfo:m}}}function NZ(e){return e}function EM(e){NC=Ya(),OC=Lk();var t=null;return Ar(!1),t}function SM(e){Fk(OC),Ar(NC),NC=null,OC=null}function wM(e,t,s,c,v){var m;{var S=c;if(oh(e,null,S.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var I=""+t.children,_=sh(S.ancestorInfo,e);oh(null,I,_)}m=S.namespace}var V=iM(e,t,s,m);return dh(v,V),PC(V,t),V}function RM(e,t){e.appendChild(t)}function TM(e,t,s,c,v){switch(sM(e,t,s,c),t){case"button":case"input":case"select":case"textarea":return!!s.autoFocus;case"img":return!0;default:return!1}}function IM(e,t,s,c,v,m){{var S=m;if(typeof c.children!=typeof s.children&&(typeof c.children=="string"||typeof c.children=="number")){var I=""+c.children,_=sh(S.ancestorInfo,t);oh(null,I,_)}}return uM(e,t,s,c)}function _C(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function AM(e,t,s,c){{var v=s;oh(null,e,v.ancestorInfo)}var m=oM(e,t);return dh(c,m),m}function NM(){var e=window.event;return e===void 0?jo:sa(e.type)}var DC=typeof setTimeout=="function"?setTimeout:void 0,OM=typeof clearTimeout=="function"?clearTimeout:void 0,jC=-1,rR=typeof Promise=="function"?Promise:void 0,_M=typeof queueMicrotask=="function"?queueMicrotask:typeof rR<"u"?function(e){return rR.resolve(null).then(e).catch(DM)}:DC;function DM(e){setTimeout(function(){throw e})}function jM(e,t,s,c){switch(t){case"button":case"input":case"select":case"textarea":s.autoFocus&&e.focus();return;case"img":{s.src&&(e.src=s.src);return}}}function kM(e,t,s,c,v,m){lM(e,t,s,c,v),PC(e,v)}function aR(e){Pf(e,"")}function MM(e,t,s){e.nodeValue=s}function LM(e,t){e.appendChild(t)}function FM(e,t){var s;e.nodeType===fr?(s=e.parentNode,s.insertBefore(t,e)):(s=e,s.appendChild(t));var c=e._reactRootContainer;c==null&&s.onclick===null&&Yg(s)}function PM(e,t,s){e.insertBefore(t,s)}function VM(e,t,s){e.nodeType===fr?e.parentNode.insertBefore(t,s):e.insertBefore(t,s)}function BM(e,t){e.removeChild(t)}function zM(e,t){e.nodeType===fr?e.parentNode.removeChild(t):e.removeChild(t)}function kC(e,t){var s=t,c=0;do{var v=s.nextSibling;if(e.removeChild(s),v&&v.nodeType===fr){var m=v.data;if(m===qg)if(c===0){e.removeChild(v),zt(t);return}else c--;else(m===Jg||m===uh||m===lh)&&c++}s=v}while(s);zt(t)}function HM(e,t){e.nodeType===fr?kC(e.parentNode,t):e.nodeType===Sa&&kC(e,t),zt(e)}function UM(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function GM(e){e.nodeValue=""}function $M(e,t){e=e;var s=t[bM],c=s!=null&&s.hasOwnProperty("display")?s.display:null;e.style.display=Vf("display",c)}function WM(e,t){e.nodeValue=t}function XM(e){e.nodeType===Sa?e.textContent="":e.nodeType===ki&&e.documentElement&&e.removeChild(e.documentElement)}function YM(e,t,s){return e.nodeType!==Sa||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function ZM(e,t){return t===""||e.nodeType!==wo?null:e}function JM(e){return e.nodeType!==fr?null:e}function iR(e){return e.data===uh}function MC(e){return e.data===lh}function qM(e){var t=e.nextSibling&&e.nextSibling.dataset,s,c,v;return t&&(s=t.dgst,c=t.msg,v=t.stck),{message:c,digest:s,stack:v}}function QM(e,t){e._reactRetry=t}function Qg(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===Sa||t===wo)break;if(t===fr){var s=e.data;if(s===Jg||s===lh||s===uh)break;if(s===qg)return null}}return e}function ch(e){return Qg(e.nextSibling)}function KM(e){return Qg(e.firstChild)}function e2(e){return Qg(e.firstChild)}function t2(e){return Qg(e.nextSibling)}function n2(e,t,s,c,v,m,S){dh(m,e),PC(e,s);var I;{var _=v;I=_.namespace}var V=(m.mode&Vt)!==mt;return fM(e,t,s,I,c,V,S)}function r2(e,t,s,c){return dh(s,e),s.mode&Vt,dM(e,t)}function a2(e,t){dh(t,e)}function i2(e){for(var t=e.nextSibling,s=0;t;){if(t.nodeType===fr){var c=t.data;if(c===qg){if(s===0)return ch(t);s--}else(c===Jg||c===lh||c===uh)&&s++}t=t.nextSibling}return null}function oR(e){for(var t=e.previousSibling,s=0;t;){if(t.nodeType===fr){var c=t.data;if(c===Jg||c===lh||c===uh){if(s===0)return t;s--}else c===qg&&s++}t=t.previousSibling}return null}function o2(e){zt(e)}function s2(e){zt(e)}function u2(e){return e!=="head"&&e!=="body"}function l2(e,t,s,c){var v=!0;Xg(t.nodeValue,s,c,v)}function c2(e,t,s,c,v,m){if(t[Zg]!==!0){var S=!0;Xg(c.nodeValue,v,m,S)}}function f2(e,t){t.nodeType===Sa?RC(e,t):t.nodeType===fr||TC(e,t)}function d2(e,t){{var s=e.parentNode;s!==null&&(t.nodeType===Sa?RC(s,t):t.nodeType===fr||TC(s,t))}}function p2(e,t,s,c,v){(v||t[Zg]!==!0)&&(c.nodeType===Sa?RC(s,c):c.nodeType===fr||TC(s,c))}function v2(e,t,s){IC(e,t)}function h2(e,t){AC(e,t)}function m2(e,t,s){{var c=e.parentNode;c!==null&&IC(c,t)}}function g2(e,t){{var s=e.parentNode;s!==null&&AC(s,t)}}function y2(e,t,s,c,v,m){(m||t[Zg]!==!0)&&IC(s,c)}function b2(e,t,s,c,v){(v||t[Zg]!==!0)&&AC(s,c)}function C2(e){p("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function x2(e){nh(e)}var $d=Math.random().toString(36).slice(2),Wd="__reactFiber$"+$d,LC="__reactProps$"+$d,fh="__reactContainer$"+$d,FC="__reactEvents$"+$d,E2="__reactListeners$"+$d,S2="__reactHandles$"+$d;function w2(e){delete e[Wd],delete e[LC],delete e[FC],delete e[E2],delete e[S2]}function dh(e,t){t[Wd]=e}function Kg(e,t){t[fh]=e}function sR(e){e[fh]=null}function ph(e){return!!e[fh]}function rf(e){var t=e[Wd];if(t)return t;for(var s=e.parentNode;s;){if(t=s[fh]||s[Wd],t){var c=t.alternate;if(t.child!==null||c!==null&&c.child!==null)for(var v=oR(e);v!==null;){var m=v[Wd];if(m)return m;v=oR(v)}return t}e=s,s=e.parentNode}return null}function Gl(e){var t=e[Wd]||e[fh];return t&&(t.tag===A||t.tag===N||t.tag===z||t.tag===R)?t:null}function Xd(e){if(e.tag===A||e.tag===N)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function ey(e){return e[LC]||null}function PC(e,t){e[LC]=t}function R2(e){var t=e[FC];return t===void 0&&(t=e[FC]=new Set),t}var uR={},lR=i.ReactDebugCurrentFrame;function ty(e){if(e){var t=e._owner,s=Ki(e.type,e._source,t?t.type:null);lR.setExtraStackFrame(s)}else lR.setExtraStackFrame(null)}function Po(e,t,s,c,v){{var m=Function.call.bind(Bt);for(var S in e)if(m(e,S)){var I=void 0;try{if(typeof e[S]!="function"){var _=Error((c||"React class")+": "+s+" type `"+S+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[S]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw _.name="Invariant Violation",_}I=e[S](t,S,c,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(V){I=V}I&&!(I instanceof Error)&&(ty(v),p("%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).",c||"React class",s,S,typeof I),ty(null)),I instanceof Error&&!(I.message in uR)&&(uR[I.message]=!0,ty(v),p("Failed %s type: %s",s,I.message),ty(null))}}}var VC=[],ny;ny=[];var Au=-1;function $l(e){return{current:e}}function Da(e,t){if(Au<0){p("Unexpected pop.");return}t!==ny[Au]&&p("Unexpected Fiber popped."),e.current=VC[Au],VC[Au]=null,ny[Au]=null,Au--}function ja(e,t,s){Au++,VC[Au]=e.current,ny[Au]=s,e.current=t}var BC;BC={};var Vi={};Object.freeze(Vi);var Nu=$l(Vi),js=$l(!1),zC=Vi;function Yd(e,t,s){return s&&ks(t)?zC:Nu.current}function cR(e,t,s){{var c=e.stateNode;c.__reactInternalMemoizedUnmaskedChildContext=t,c.__reactInternalMemoizedMaskedChildContext=s}}function Zd(e,t){{var s=e.type,c=s.contextTypes;if(!c)return Vi;var v=e.stateNode;if(v&&v.__reactInternalMemoizedUnmaskedChildContext===t)return v.__reactInternalMemoizedMaskedChildContext;var m={};for(var S in c)m[S]=t[S];{var I=At(e)||"Unknown";Po(c,m,"context",I)}return v&&cR(e,t,m),m}}function ry(){return js.current}function ks(e){{var t=e.childContextTypes;return t!=null}}function ay(e){Da(js,e),Da(Nu,e)}function HC(e){Da(js,e),Da(Nu,e)}function fR(e,t,s){{if(Nu.current!==Vi)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");ja(Nu,t,e),ja(js,s,e)}}function dR(e,t,s){{var c=e.stateNode,v=t.childContextTypes;if(typeof c.getChildContext!="function"){{var m=At(e)||"Unknown";BC[m]||(BC[m]=!0,p("%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.",m,m))}return s}var S=c.getChildContext();for(var I in S)if(!(I in v))throw new Error((At(e)||"Unknown")+'.getChildContext(): key "'+I+'" is not defined in childContextTypes.');{var _=At(e)||"Unknown";Po(v,S,"child context",_)}return Ft({},s,S)}}function iy(e){{var t=e.stateNode,s=t&&t.__reactInternalMemoizedMergedChildContext||Vi;return zC=Nu.current,ja(Nu,s,e),ja(js,js.current,e),!0}}function pR(e,t,s){{var c=e.stateNode;if(!c)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(s){var v=dR(e,t,zC);c.__reactInternalMemoizedMergedChildContext=v,Da(js,e),Da(Nu,e),ja(Nu,v,e),ja(js,s,e)}else Da(js,e),ja(js,s,e)}}function T2(e){{if(!mv(e)||e.tag!==b)throw new 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 t=e;do{switch(t.tag){case R:return t.stateNode.context;case b:{var s=t.type;if(ks(s))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var Wl=0,oy=1,Ou=null,UC=!1,GC=!1;function vR(e){Ou===null?Ou=[e]:Ou.push(e)}function I2(e){UC=!0,vR(e)}function hR(){UC&&Xl()}function Xl(){if(!GC&&Ou!==null){GC=!0;var e=0,t=pi();try{var s=!0,c=Ou;for(br(Xr);e<c.length;e++){var v=c[e];do v=v(s);while(v!==null)}Ou=null,UC=!1}catch(m){throw Ou!==null&&(Ou=Ou.slice(e+1)),Jf(Qf,Xl),m}finally{br(t),GC=!1}}return null}var Jd=[],qd=0,sy=null,uy=0,uo=[],lo=0,af=null,_u=1,Du="";function A2(e){return sf(),(e.flags&pv)!==ct}function N2(e){return sf(),uy}function O2(){var e=Du,t=_u,s=t&~_2(t);return s.toString(32)+e}function of(e,t){sf(),Jd[qd++]=uy,Jd[qd++]=sy,sy=e,uy=t}function mR(e,t,s){sf(),uo[lo++]=_u,uo[lo++]=Du,uo[lo++]=af,af=e;var c=_u,v=Du,m=ly(c)-1,S=c&~(1<<m),I=s+1,_=ly(t)+m;if(_>30){var V=m-m%5,H=(1<<V)-1,ee=(S&H).toString(32),Q=S>>V,le=m-V,fe=ly(t)+le,be=I<<le,qe=be|Q,pt=ee+v;_u=1<<fe|qe,Du=pt}else{var ot=I<<m,Xt=ot|S,Ht=v;_u=1<<_|Xt,Du=Ht}}function $C(e){sf();var t=e.return;if(t!==null){var s=1,c=0;of(e,s),mR(e,s,c)}}function ly(e){return 32-ad(e)}function _2(e){return 1<<ly(e)-1}function WC(e){for(;e===sy;)sy=Jd[--qd],Jd[qd]=null,uy=Jd[--qd],Jd[qd]=null;for(;e===af;)af=uo[--lo],uo[lo]=null,Du=uo[--lo],uo[lo]=null,_u=uo[--lo],uo[lo]=null}function D2(){return sf(),af!==null?{id:_u,overflow:Du}:null}function j2(e,t){sf(),uo[lo++]=_u,uo[lo++]=Du,uo[lo++]=af,_u=t.id,Du=t.overflow,af=e}function sf(){la()||p("Expected to be hydrating. This is a bug in React. Please file an issue.")}var ua=null,co=null,Vo=!1,uf=!1,Yl=null;function k2(){Vo&&p("We should not be hydrating here. This is a bug in React. Please file a bug.")}function gR(){uf=!0}function M2(){return uf}function L2(e){var t=e.stateNode.containerInfo;return co=e2(t),ua=e,Vo=!0,Yl=null,uf=!1,!0}function F2(e,t,s){return co=t2(t),ua=e,Vo=!0,Yl=null,uf=!1,s!==null&&j2(e,s),!0}function yR(e,t){switch(e.tag){case R:{f2(e.stateNode.containerInfo,t);break}case A:{var s=(e.mode&Vt)!==mt;p2(e.type,e.memoizedProps,e.stateNode,t,s);break}case z:{var c=e.memoizedState;c.dehydrated!==null&&d2(c.dehydrated,t);break}}}function bR(e,t){yR(e,t);var s=BP();s.stateNode=t,s.return=e;var c=e.deletions;c===null?(e.deletions=[s],e.flags|=un):c.push(s)}function XC(e,t){{if(uf)return;switch(e.tag){case R:{var s=e.stateNode.containerInfo;switch(t.tag){case A:var c=t.type;t.pendingProps,v2(s,c);break;case N:var v=t.pendingProps;h2(s,v);break}break}case A:{var m=e.type,S=e.memoizedProps,I=e.stateNode;switch(t.tag){case A:{var _=t.type,V=t.pendingProps,H=(e.mode&Vt)!==mt;y2(m,S,I,_,V,H);break}case N:{var ee=t.pendingProps,Q=(e.mode&Vt)!==mt;b2(m,S,I,ee,Q);break}}break}case z:{var le=e.memoizedState,fe=le.dehydrated;if(fe!==null)switch(t.tag){case A:var be=t.type;t.pendingProps,m2(fe,be);break;case N:var qe=t.pendingProps;g2(fe,qe);break}break}default:return}}}function CR(e,t){t.flags=t.flags&~ui|Fn,XC(e,t)}function xR(e,t){switch(e.tag){case A:{var s=e.type;e.pendingProps;var c=YM(t,s);return c!==null?(e.stateNode=c,ua=e,co=KM(c),!0):!1}case N:{var v=e.pendingProps,m=ZM(t,v);return m!==null?(e.stateNode=m,ua=e,co=null,!0):!1}case z:{var S=JM(t);if(S!==null){var I={dehydrated:S,treeContext:D2(),retryLane:Oa};e.memoizedState=I;var _=zP(S);return _.return=e,e.child=_,ua=e,co=null,!0}return!1}default:return!1}}function YC(e){return(e.mode&Vt)!==mt&&(e.flags&wt)===ct}function ZC(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function JC(e){if(Vo){var t=co;if(!t){YC(e)&&(XC(ua,e),ZC()),CR(ua,e),Vo=!1,ua=e;return}var s=t;if(!xR(e,t)){YC(e)&&(XC(ua,e),ZC()),t=ch(s);var c=ua;if(!t||!xR(e,t)){CR(ua,e),Vo=!1,ua=e;return}bR(c,s)}}}function P2(e,t,s){var c=e.stateNode,v=!uf,m=n2(c,e.type,e.memoizedProps,t,s,e,v);return e.updateQueue=m,m!==null}function V2(e){var t=e.stateNode,s=e.memoizedProps,c=r2(t,s,e);if(c){var v=ua;if(v!==null)switch(v.tag){case R:{var m=v.stateNode.containerInfo,S=(v.mode&Vt)!==mt;l2(m,t,s,S);break}case A:{var I=v.type,_=v.memoizedProps,V=v.stateNode,H=(v.mode&Vt)!==mt;c2(I,_,V,t,s,H);break}}}return c}function B2(e){var t=e.memoizedState,s=t!==null?t.dehydrated:null;if(!s)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");a2(s,e)}function z2(e){var t=e.memoizedState,s=t!==null?t.dehydrated:null;if(!s)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return i2(s)}function ER(e){for(var t=e.return;t!==null&&t.tag!==A&&t.tag!==R&&t.tag!==z;)t=t.return;ua=t}function cy(e){if(e!==ua)return!1;if(!Vo)return ER(e),Vo=!0,!1;if(e.tag!==R&&(e.tag!==A||u2(e.type)&&!_C(e.type,e.memoizedProps))){var t=co;if(t)if(YC(e))SR(e),ZC();else for(;t;)bR(e,t),t=ch(t)}return ER(e),e.tag===z?co=z2(e):co=ua?ch(e.stateNode):null,!0}function H2(){return Vo&&co!==null}function SR(e){for(var t=co;t;)yR(e,t),t=ch(t)}function Qd(){ua=null,co=null,Vo=!1,uf=!1}function wR(){Yl!==null&&(yI(Yl),Yl=null)}function la(){return Vo}function qC(e){Yl===null?Yl=[e]:Yl.push(e)}var U2=i.ReactCurrentBatchConfig,G2=null;function $2(){return U2.transition}var Bo={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var W2=function(e){for(var t=null,s=e;s!==null;)s.mode&Zn&&(t=s),s=s.return;return t},lf=function(e){var t=[];return e.forEach(function(s){t.push(s)}),t.sort().join(", ")},vh=[],hh=[],mh=[],gh=[],yh=[],bh=[],cf=new Set;Bo.recordUnsafeLifecycleWarnings=function(e,t){cf.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&vh.push(e),e.mode&Zn&&typeof t.UNSAFE_componentWillMount=="function"&&hh.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&mh.push(e),e.mode&Zn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&gh.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&yh.push(e),e.mode&Zn&&typeof t.UNSAFE_componentWillUpdate=="function"&&bh.push(e))},Bo.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;vh.length>0&&(vh.forEach(function(Q){e.add(At(Q)||"Component"),cf.add(Q.type)}),vh=[]);var t=new Set;hh.length>0&&(hh.forEach(function(Q){t.add(At(Q)||"Component"),cf.add(Q.type)}),hh=[]);var s=new Set;mh.length>0&&(mh.forEach(function(Q){s.add(At(Q)||"Component"),cf.add(Q.type)}),mh=[]);var c=new Set;gh.length>0&&(gh.forEach(function(Q){c.add(At(Q)||"Component"),cf.add(Q.type)}),gh=[]);var v=new Set;yh.length>0&&(yh.forEach(function(Q){v.add(At(Q)||"Component"),cf.add(Q.type)}),yh=[]);var m=new Set;if(bh.length>0&&(bh.forEach(function(Q){m.add(At(Q)||"Component"),cf.add(Q.type)}),bh=[]),t.size>0){var S=lf(t);p(`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.
124
+ */function hC(e){if(!ft)return!1;var t="on"+e,s=t in document;if(!s){var c=document.createElement("div");c.setAttribute(t,"return;"),s=typeof c[t]=="function"}return s}function zd(){It("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function a(e,t,s,c){Gf(c);var v=zg(t,"onChange");if(v.length>0){var m=new Qr("onChange","change",null,s,c);e.push({event:m,listeners:v})}}var o=null,f=null;function h(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function x(e){var t=[];a(t,f,e,Uf(e)),sv(R,t)}function R(e){$w(e,0)}function k(e){var t=Xd(e);if(cl(t))return e}function W(e,t){if(e==="change")return t}var J=!1;ft&&(J=hC("input")&&(!document.documentMode||document.documentMode>9));function de(e,t){o=e,f=t,o.attachEvent("onpropertychange",Fe)}function Me(){o&&(o.detachEvent("onpropertychange",Fe),o=null,f=null)}function Fe(e){e.propertyName==="value"&&k(f)&&x(e)}function ke(e,t,s){e==="focusin"?(Me(),de(t,s)):e==="focusout"&&Me()}function Ye(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return k(f)}function tt(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function at(e,t){if(e==="click")return k(t)}function sr(e,t){if(e==="input"||e==="change")return k(t)}function ne(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||ht(e,"number",e.value)}function K(e,t,s,c,v,m,S){var I=s?Xd(s):window,_,V;if(h(I)?_=W:zl(I)?J?_=sr:(_=Ye,V=ke):tt(I)&&(_=at),_){var H=_(t,s);if(H){a(e,H,c,v);return}}V&&V(t,I,s),t==="focusout"&&ne(I)}function oe(){Ne("onMouseEnter",["mouseout","mouseover"]),Ne("onMouseLeave",["mouseout","mouseover"]),Ne("onPointerEnter",["pointerout","pointerover"]),Ne("onPointerLeave",["pointerout","pointerover"])}function ze(e,t,s,c,v,m,S){var I=t==="mouseover"||t==="pointerover",_=t==="mouseout"||t==="pointerout";if(I&&!eg(c)){var V=c.relatedTarget||c.fromElement;if(V&&(rf(V)||ph(V)))return}if(!(!_&&!I)){var H;if(v.window===v)H=v;else{var ee=v.ownerDocument;ee?H=ee.defaultView||ee.parentWindow:H=window}var Q,le;if(_){var fe=c.relatedTarget||c.toElement;if(Q=s,le=fe?rf(fe):null,le!==null){var be=Ga(le);(le!==be||le.tag!==A&&le.tag!==N)&&(le=null)}}else Q=null,le=s;if(Q!==le){var qe=Os,pt="onMouseLeave",ot="onMouseEnter",Xt="mouse";(t==="pointerout"||t==="pointerover")&&(qe=Yv,pt="onPointerLeave",ot="onPointerEnter",Xt="pointer");var Ht=Q==null?H:Xd(Q),re=le==null?H:Xd(le),Ce=new qe(pt,Xt+"leave",Q,c,v);Ce.target=Ht,Ce.relatedTarget=re;var ae=null,Pe=rf(v);if(Pe===s){var Qe=new qe(ot,Xt+"enter",le,c,v);Qe.target=re,Qe.relatedTarget=Ht,ae=Qe}Qk(e,Ce,ae,Q,le)}}}function it(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var nt=typeof Object.is=="function"?Object.is:it;function ut(e,t){if(nt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var s=Object.keys(e),c=Object.keys(t);if(s.length!==c.length)return!1;for(var v=0;v<s.length;v++){var m=s[v];if(!Bt.call(t,m)||!nt(e[m],t[m]))return!1}return!0}function Rt(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Nr(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function tn(e,t){for(var s=Rt(e),c=0,v=0;s;){if(s.nodeType===wo){if(v=c+s.textContent.length,c<=t&&v>=t)return{node:s,offset:t-c};c=v}s=Rt(Nr(s))}}function Ds(e){var t=e.ownerDocument,s=t&&t.defaultView||window,c=s.getSelection&&s.getSelection();if(!c||c.rangeCount===0)return null;var v=c.anchorNode,m=c.anchorOffset,S=c.focusNode,I=c.focusOffset;try{v.nodeType,S.nodeType}catch{return null}return mC(e,v,m,S,I)}function mC(e,t,s,c,v){var m=0,S=-1,I=-1,_=0,V=0,H=e,ee=null;e:for(;;){for(var Q=null;H===t&&(s===0||H.nodeType===wo)&&(S=m+s),H===c&&(v===0||H.nodeType===wo)&&(I=m+v),H.nodeType===wo&&(m+=H.nodeValue.length),(Q=H.firstChild)!==null;)ee=H,H=Q;for(;;){if(H===e)break e;if(ee===t&&++_===s&&(S=m),ee===c&&++V===v&&(I=m),(Q=H.nextSibling)!==null)break;H=ee,ee=H.parentNode}H=Q}return S===-1||I===-1?null:{start:S,end:I}}function jk(e,t){var s=e.ownerDocument||document,c=s&&s.defaultView||window;if(c.getSelection){var v=c.getSelection(),m=e.textContent.length,S=Math.min(t.start,m),I=t.end===void 0?S:Math.min(t.end,m);if(!v.extend&&S>I){var _=I;I=S,S=_}var V=tn(e,S),H=tn(e,I);if(V&&H){if(v.rangeCount===1&&v.anchorNode===V.node&&v.anchorOffset===V.offset&&v.focusNode===H.node&&v.focusOffset===H.offset)return;var ee=s.createRange();ee.setStart(V.node,V.offset),v.removeAllRanges(),S>I?(v.addRange(ee),v.extend(H.node,H.offset)):(ee.setEnd(H.node,H.offset),v.addRange(ee))}}}function jw(e){return e&&e.nodeType===wo}function kw(e,t){return!e||!t?!1:e===t?!0:jw(e)?!1:jw(t)?kw(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function kk(e){return e&&e.ownerDocument&&kw(e.ownerDocument.documentElement,e)}function Mk(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function Mw(){for(var e=window,t=fs();t instanceof e.HTMLIFrameElement;){if(Mk(t))e=t.contentWindow;else return t;t=fs(e.document)}return t}function gC(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Lk(){var e=Mw();return{focusedElem:e,selectionRange:gC(e)?Pk(e):null}}function Fk(e){var t=Mw(),s=e.focusedElem,c=e.selectionRange;if(t!==s&&kk(s)){c!==null&&gC(s)&&Vk(s,c);for(var v=[],m=s;m=m.parentNode;)m.nodeType===Sa&&v.push({element:m,left:m.scrollLeft,top:m.scrollTop});typeof s.focus=="function"&&s.focus();for(var S=0;S<v.length;S++){var I=v[S];I.element.scrollLeft=I.left,I.element.scrollTop=I.top}}}function Pk(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=Ds(e),t||{start:0,end:0}}function Vk(e,t){var s=t.start,c=t.end;c===void 0&&(c=s),"selectionStart"in e?(e.selectionStart=s,e.selectionEnd=Math.min(c,e.value.length)):jk(e,t)}var Bk=ft&&"documentMode"in document&&document.documentMode<=11;function zk(){It("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Hd=null,yC=null,eh=null,bC=!1;function Hk(e){if("selectionStart"in e&&gC(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,s=t.getSelection();return{anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}}function Uk(e){return e.window===e?e.document:e.nodeType===ki?e:e.ownerDocument}function Lw(e,t,s){var c=Uk(s);if(!(bC||Hd==null||Hd!==fs(c))){var v=Hk(Hd);if(!eh||!ut(eh,v)){eh=v;var m=zg(yC,"onSelect");if(m.length>0){var S=new Qr("onSelect","select",null,t,s);e.push({event:S,listeners:m}),S.target=Hd}}}}function Gk(e,t,s,c,v,m,S){var I=s?Xd(s):window;switch(t){case"focusin":(zl(I)||I.contentEditable==="true")&&(Hd=I,yC=s,eh=null);break;case"focusout":Hd=null,yC=null,eh=null;break;case"mousedown":bC=!0;break;case"contextmenu":case"mouseup":case"dragend":bC=!1,Lw(e,c,v);break;case"selectionchange":if(Bk)break;case"keydown":case"keyup":Lw(e,c,v)}}function Pg(e,t){var s={};return s[e.toLowerCase()]=t.toLowerCase(),s["Webkit"+e]="webkit"+t,s["Moz"+e]="moz"+t,s}var Ud={animationend:Pg("Animation","AnimationEnd"),animationiteration:Pg("Animation","AnimationIteration"),animationstart:Pg("Animation","AnimationStart"),transitionend:Pg("Transition","TransitionEnd")},CC={},Fw={};ft&&(Fw=document.createElement("div").style,"AnimationEvent"in window||(delete Ud.animationend.animation,delete Ud.animationiteration.animation,delete Ud.animationstart.animation),"TransitionEvent"in window||delete Ud.transitionend.transition);function Vg(e){if(CC[e])return CC[e];if(!Ud[e])return e;var t=Ud[e];for(var s in t)if(t.hasOwnProperty(s)&&s in Fw)return CC[e]=t[s];return e}var Pw=Vg("animationend"),Vw=Vg("animationiteration"),Bw=Vg("animationstart"),zw=Vg("transitionend"),Hw=new Map,Uw=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function Hl(e,t){Hw.set(e,t),It(t,[e])}function $k(){for(var e=0;e<Uw.length;e++){var t=Uw[e],s=t.toLowerCase(),c=t[0].toUpperCase()+t.slice(1);Hl(s,"on"+c)}Hl(Pw,"onAnimationEnd"),Hl(Vw,"onAnimationIteration"),Hl(Bw,"onAnimationStart"),Hl("dblclick","onDoubleClick"),Hl("focusin","onFocus"),Hl("focusout","onBlur"),Hl(zw,"onTransitionEnd")}function Wk(e,t,s,c,v,m,S){var I=Hw.get(t);if(I!==void 0){var _=Qr,V=t;switch(t){case"keypress":if(Eu(c)===0)return;case"keydown":case"keyup":_=lC;break;case"focusin":V="focus",_=Dd;break;case"focusout":V="blur",_=Dd;break;case"beforeblur":case"afterblur":_=Dd;break;case"click":if(c.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":_=Os;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":_=wu;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":_=gi;break;case Pw:case Vw:case Bw:_=jd;break;case zw:_=fC;break;case"scroll":_=Uv;break;case"wheel":_=Md;break;case"copy":case"cut":case"paste":_=iC;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":_=Yv;break}var H=(m&nu)!==0;{var ee=!H&&t==="scroll",Q=Jk(s,I,c.type,H,ee);if(Q.length>0){var le=new _(I,V,null,c,v);e.push({event:le,listeners:Q})}}}}$k(),oe(),zd(),zk(),kg();function Xk(e,t,s,c,v,m,S){Wk(e,t,s,c,v,m);var I=(m&W0)===0;I&&(ze(e,t,s,c,v),K(e,t,s,c,v),Gk(e,t,s,c,v),Bd(e,t,s,c,v))}var th=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],xC=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(th));function Gw(e,t,s){var c=e.type||"unknown-event";e.currentTarget=s,Ao(c,t,void 0,e),e.currentTarget=null}function Yk(e,t,s){var c;if(s)for(var v=t.length-1;v>=0;v--){var m=t[v],S=m.instance,I=m.currentTarget,_=m.listener;if(S!==c&&e.isPropagationStopped())return;Gw(e,_,I),c=S}else for(var V=0;V<t.length;V++){var H=t[V],ee=H.instance,Q=H.currentTarget,le=H.listener;if(ee!==c&&e.isPropagationStopped())return;Gw(e,le,Q),c=ee}}function $w(e,t){for(var s=(t&nu)!==0,c=0;c<e.length;c++){var v=e[c],m=v.event,S=v.listeners;Yk(m,S,s)}fv()}function Zk(e,t,s,c,v){var m=Uf(s),S=[];Xk(S,e,c,s,m,t),$w(S,t)}function qn(e,t){xC.has(e)||p('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var s=!1,c=R2(t),v=Kk(e,s);c.has(v)||(Ww(t,e,Rc,s),c.add(v))}function EC(e,t,s){xC.has(e)&&!t&&p('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var c=0;t&&(c|=nu),Ww(s,e,c,t)}var Bg="_reactListening"+Math.random().toString(36).slice(2);function nh(e){if(!e[Bg]){e[Bg]=!0,Te.forEach(function(s){s!=="selectionchange"&&(xC.has(s)||EC(s,!1,e),EC(s,!0,e))});var t=e.nodeType===ki?e:e.ownerDocument;t!==null&&(t[Bg]||(t[Bg]=!0,EC("selectionchange",!1,t)))}}function Ww(e,t,s,c,v){var m=kl(e,t,s),S=void 0;Oc&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(S=!0),e=e,c?S!==void 0?Lo(e,t,m,S):Ll(e,t,m):S!==void 0?Nd(e,t,m,S):Hv(e,t,m)}function Xw(e,t){return e===t||e.nodeType===fr&&e.parentNode===t}function SC(e,t,s,c,v){var m=c;if(!(t&To)&&!(t&Rc)){var S=v;if(c!==null){var I=c;e:for(;;){if(I===null)return;var _=I.tag;if(_===w||_===T){var V=I.stateNode.containerInfo;if(Xw(V,S))break;if(_===T)for(var H=I.return;H!==null;){var ee=H.tag;if(ee===w||ee===T){var Q=H.stateNode.containerInfo;if(Xw(Q,S))return}H=H.return}for(;V!==null;){var le=rf(V);if(le===null)return;var fe=le.tag;if(fe===A||fe===N){I=m=le;continue e}V=V.parentNode}}I=I.return}}}sv(function(){return Zk(e,t,s,m)})}function rh(e,t,s){return{instance:e,listener:t,currentTarget:s}}function Jk(e,t,s,c,v,m){for(var S=t!==null?t+"Capture":null,I=c?S:t,_=[],V=e,H=null;V!==null;){var ee=V,Q=ee.stateNode,le=ee.tag;if(le===A&&Q!==null&&(H=Q,I!==null)){var fe=au(V,I);fe!=null&&_.push(rh(V,fe,H))}if(v)break;V=V.return}return _}function zg(e,t){for(var s=t+"Capture",c=[],v=e;v!==null;){var m=v,S=m.stateNode,I=m.tag;if(I===A&&S!==null){var _=S,V=au(v,s);V!=null&&c.unshift(rh(v,V,_));var H=au(v,t);H!=null&&c.push(rh(v,H,_))}v=v.return}return c}function Gd(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==A);return e||null}function qk(e,t){for(var s=e,c=t,v=0,m=s;m;m=Gd(m))v++;for(var S=0,I=c;I;I=Gd(I))S++;for(;v-S>0;)s=Gd(s),v--;for(;S-v>0;)c=Gd(c),S--;for(var _=v;_--;){if(s===c||c!==null&&s===c.alternate)return s;s=Gd(s),c=Gd(c)}return null}function Yw(e,t,s,c,v){for(var m=t._reactName,S=[],I=s;I!==null&&I!==c;){var _=I,V=_.alternate,H=_.stateNode,ee=_.tag;if(V!==null&&V===c)break;if(ee===A&&H!==null){var Q=H;if(v){var le=au(I,m);le!=null&&S.unshift(rh(I,le,Q))}else if(!v){var fe=au(I,m);fe!=null&&S.push(rh(I,fe,Q))}}I=I.return}S.length!==0&&e.push({event:t,listeners:S})}function Qk(e,t,s,c,v){var m=c&&v?qk(c,v):null;c!==null&&Yw(e,t,c,m,!1),v!==null&&s!==null&&Yw(e,s,v,m,!0)}function Kk(e,t){return e+"__"+(t?"capture":"bubble")}var yi=!1,ah="dangerouslySetInnerHTML",Hg="suppressContentEditableWarning",Ul="suppressHydrationWarning",Zw="autoFocus",tf="children",nf="style",Ug="__html",wC,Gg,ih,Jw,$g,qw,Qw;wC={dialog:!0,webview:!0},Gg=function(e,t){Hf(e,t),nv(e,t),Km(e,t,{registrationNameDependencies:Ve,possibleRegistrationNames:Ke})},qw=ft&&!document.documentMode,ih=function(e,t,s){if(!yi){var c=Wg(s),v=Wg(t);v!==c&&(yi=!0,p("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(v),JSON.stringify(c)))}},Jw=function(e){if(!yi){yi=!0;var t=[];e.forEach(function(s){t.push(s)}),p("Extra attributes from the server: %s",t)}},$g=function(e,t){t===!1?p("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.",e,e,e):p("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},Qw=function(e,t){var s=e.namespaceURI===So?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return s.innerHTML=t,s.innerHTML};var eM=/\r\n?/g,tM=/\u0000|\uFFFD/g;function Wg(e){$n(e);var t=typeof e=="string"?e:""+e;return t.replace(eM,`
125
+ `).replace(tM,"")}function Xg(e,t,s,c){var v=Wg(t),m=Wg(e);if(m!==v&&(c&&(yi||(yi=!0,p('Text content did not match. Server: "%s" Client: "%s"',m,v))),s&&Ie))throw new Error("Text content does not match server-rendered HTML.")}function Kw(e){return e.nodeType===ki?e:e.ownerDocument}function nM(){}function Yg(e){e.onclick=nM}function rM(e,t,s,c,v){for(var m in c)if(c.hasOwnProperty(m)){var S=c[m];if(m===nf)S&&Object.freeze(S),Um(t,S);else if(m===ah){var I=S?S[Ug]:void 0;I!=null&&Dm(t,I)}else if(m===tf)if(typeof S=="string"){var _=e!=="textarea"||S!=="";_&&Pf(t,S)}else typeof S=="number"&&Pf(t,""+S);else m===Hg||m===Ul||m===Zw||(Ve.hasOwnProperty(m)?S!=null&&(typeof S!="function"&&$g(m,S),m==="onScroll"&&qn("scroll",t)):S!=null&&za(t,m,S,v))}}function aM(e,t,s,c){for(var v=0;v<t.length;v+=2){var m=t[v],S=t[v+1];m===nf?Um(e,S):m===ah?Dm(e,S):m===tf?Pf(e,S):za(e,m,S,c)}}function iM(e,t,s,c){var v,m=Kw(s),S,I=c;if(I===So&&(I=Lf(e)),I===So){if(v=Ro(e,t),!v&&e!==e.toLowerCase()&&p("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var _=m.createElement("div");_.innerHTML="<script><\/script>";var V=_.firstChild;S=_.removeChild(V)}else if(typeof t.is=="string")S=m.createElement(e,{is:t.is});else if(S=m.createElement(e),e==="select"){var H=S;t.multiple?H.multiple=!0:t.size&&(H.size=t.size)}}else S=m.createElementNS(I,e);return I===So&&!v&&Object.prototype.toString.call(S)==="[object HTMLUnknownElement]"&&!Bt.call(wC,e)&&(wC[e]=!0,p("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),S}function oM(e,t){return Kw(t).createTextNode(e)}function sM(e,t,s,c){var v=Ro(t,s);Gg(t,s);var m;switch(t){case"dialog":qn("cancel",e),qn("close",e),m=s;break;case"iframe":case"object":case"embed":qn("load",e),m=s;break;case"video":case"audio":for(var S=0;S<th.length;S++)qn(th[S],e);m=s;break;case"source":qn("error",e),m=s;break;case"img":case"image":case"link":qn("error",e),qn("load",e),m=s;break;case"details":qn("toggle",e),m=s;break;case"input":Y(e,s),m=D(e,s),qn("invalid",e);break;case"option":gn(e,s),m=s;break;case"select":xc(e,s),m=Cc(e,s),qn("invalid",e);break;case"textarea":Nm(e,s),m=Xp(e,s),qn("invalid",e);break;default:m=s}switch(Bf(t,m),rM(t,e,c,m,v),t){case"input":ai(e),Be(e,s,!1);break;case"textarea":ai(e),_m(e);break;case"option":In(e,s);break;case"select":$p(e,s);break;default:typeof m.onClick=="function"&&Yg(e);break}}function uM(e,t,s,c,v){Gg(t,c);var m=null,S,I;switch(t){case"input":S=D(e,s),I=D(e,c),m=[];break;case"select":S=Cc(e,s),I=Cc(e,c),m=[];break;case"textarea":S=Xp(e,s),I=Xp(e,c),m=[];break;default:S=s,I=c,typeof S.onClick!="function"&&typeof I.onClick=="function"&&Yg(e);break}Bf(t,I);var _,V,H=null;for(_ in S)if(!(I.hasOwnProperty(_)||!S.hasOwnProperty(_)||S[_]==null))if(_===nf){var ee=S[_];for(V in ee)ee.hasOwnProperty(V)&&(H||(H={}),H[V]="")}else _===ah||_===tf||_===Hg||_===Ul||_===Zw||(Ve.hasOwnProperty(_)?m||(m=[]):(m=m||[]).push(_,null));for(_ in I){var Q=I[_],le=S!=null?S[_]:void 0;if(!(!I.hasOwnProperty(_)||Q===le||Q==null&&le==null))if(_===nf)if(Q&&Object.freeze(Q),le){for(V in le)le.hasOwnProperty(V)&&(!Q||!Q.hasOwnProperty(V))&&(H||(H={}),H[V]="");for(V in Q)Q.hasOwnProperty(V)&&le[V]!==Q[V]&&(H||(H={}),H[V]=Q[V])}else H||(m||(m=[]),m.push(_,H)),H=Q;else if(_===ah){var fe=Q?Q[Ug]:void 0,be=le?le[Ug]:void 0;fe!=null&&be!==fe&&(m=m||[]).push(_,fe)}else _===tf?(typeof Q=="string"||typeof Q=="number")&&(m=m||[]).push(_,""+Q):_===Hg||_===Ul||(Ve.hasOwnProperty(_)?(Q!=null&&(typeof Q!="function"&&$g(_,Q),_==="onScroll"&&qn("scroll",e)),!m&&le!==Q&&(m=[])):(m=m||[]).push(_,Q))}return H&&(Sc(H,I[nf]),(m=m||[]).push(nf,H)),m}function lM(e,t,s,c,v){s==="input"&&v.type==="radio"&&v.name!=null&&ce(e,v);var m=Ro(s,c),S=Ro(s,v);switch(aM(e,t,m,S),s){case"input":ge(e,v);break;case"textarea":Om(e,v);break;case"select":L0(e,v);break}}function cM(e){{var t=e.toLowerCase();return zf.hasOwnProperty(t)&&zf[t]||null}}function fM(e,t,s,c,v,m,S){var I,_;switch(I=Ro(t,s),Gg(t,s),t){case"dialog":qn("cancel",e),qn("close",e);break;case"iframe":case"object":case"embed":qn("load",e);break;case"video":case"audio":for(var V=0;V<th.length;V++)qn(th[V],e);break;case"source":qn("error",e);break;case"img":case"image":case"link":qn("error",e),qn("load",e);break;case"details":qn("toggle",e);break;case"input":Y(e,s),qn("invalid",e);break;case"option":gn(e,s);break;case"select":xc(e,s),qn("invalid",e);break;case"textarea":Nm(e,s),qn("invalid",e);break}Bf(t,s);{_=new Set;for(var H=e.attributes,ee=0;ee<H.length;ee++){var Q=H[ee].name.toLowerCase();switch(Q){case"value":break;case"checked":break;case"selected":break;default:_.add(H[ee].name)}}}var le=null;for(var fe in s)if(s.hasOwnProperty(fe)){var be=s[fe];if(fe===tf)typeof be=="string"?e.textContent!==be&&(s[Ul]!==!0&&Xg(e.textContent,be,m,S),le=[tf,be]):typeof be=="number"&&e.textContent!==""+be&&(s[Ul]!==!0&&Xg(e.textContent,be,m,S),le=[tf,""+be]);else if(Ve.hasOwnProperty(fe))be!=null&&(typeof be!="function"&&$g(fe,be),fe==="onScroll"&&qn("scroll",e));else if(S&&typeof I=="boolean"){var qe=void 0,pt=I&&xe?null:na(fe);if(s[Ul]!==!0){if(!(fe===Hg||fe===Ul||fe==="value"||fe==="checked"||fe==="selected")){if(fe===ah){var ot=e.innerHTML,Xt=be?be[Ug]:void 0;if(Xt!=null){var Ht=Qw(e,Xt);Ht!==ot&&ih(fe,ot,Ht)}}else if(fe===nf){if(_.delete(fe),qw){var re=G0(be);qe=e.getAttribute("style"),re!==qe&&ih(fe,qe,re)}}else if(I&&!xe)_.delete(fe.toLowerCase()),qe=Yi(e,fe,be),be!==qe&&ih(fe,qe,be);else if(!Wn(fe,pt,I)&&!mn(fe,be,pt,I)){var Ce=!1;if(pt!==null)_.delete(pt.attributeName),qe=Ba(e,fe,be,pt);else{var ae=c;if(ae===So&&(ae=Lf(t)),ae===So)_.delete(fe.toLowerCase());else{var Pe=cM(fe);Pe!==null&&Pe!==fe&&(Ce=!0,_.delete(Pe)),_.delete(fe)}qe=Yi(e,fe,be)}var Qe=xe;!Qe&&be!==qe&&!Ce&&ih(fe,qe,be)}}}}}switch(S&&_.size>0&&s[Ul]!==!0&&Jw(_),t){case"input":ai(e),Be(e,s,!0);break;case"textarea":ai(e),_m(e);break;case"select":case"option":break;default:typeof s.onClick=="function"&&Yg(e);break}return le}function dM(e,t,s){var c=e.nodeValue!==t;return c}function RC(e,t){{if(yi)return;yi=!0,p("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function TC(e,t){{if(yi)return;yi=!0,p('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function IC(e,t,s){{if(yi)return;yi=!0,p("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function AC(e,t){{if(t===""||yi)return;yi=!0,p('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function pM(e,t,s){switch(t){case"input":gt(e,s);return;case"textarea":Yp(e,s);return;case"select":F0(e,s);return}}var oh=function(){},sh=function(){};{var vM=["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"],eR=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],hM=eR.concat(["button"]),mM=["dd","dt","li","option","optgroup","p","rp","rt"],tR={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};sh=function(e,t){var s=Ft({},e||tR),c={tag:t};return eR.indexOf(t)!==-1&&(s.aTagInScope=null,s.buttonTagInScope=null,s.nobrTagInScope=null),hM.indexOf(t)!==-1&&(s.pTagInButtonScope=null),vM.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(s.listItemTagAutoclosing=null,s.dlItemTagAutoclosing=null),s.current=c,t==="form"&&(s.formTag=c),t==="a"&&(s.aTagInScope=c),t==="button"&&(s.buttonTagInScope=c),t==="nobr"&&(s.nobrTagInScope=c),t==="p"&&(s.pTagInButtonScope=c),t==="li"&&(s.listItemTagAutoclosing=c),(t==="dd"||t==="dt")&&(s.dlItemTagAutoclosing=c),s};var gM=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return mM.indexOf(t)===-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 t==null}return!0},yM=function(e,t){switch(e){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 t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},nR={};oh=function(e,t,s){s=s||tR;var c=s.current,v=c&&c.tag;t!=null&&(e!=null&&p("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var m=gM(e,v)?null:c,S=m?null:yM(e,s),I=m||S;if(I){var _=I.tag,V=!!m+"|"+e+"|"+_;if(!nR[V]){nR[V]=!0;var H=e,ee="";if(e==="#text"?/\S/.test(t)?H="Text nodes":(H="Whitespace text nodes",ee=" Make sure you don't have any extra whitespace between tags on each line of your source code."):H="<"+e+">",m){var Q="";_==="table"&&e==="tr"&&(Q+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),p("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",H,_,ee,Q)}else p("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",H,_)}}}}var Zg="suppressHydrationWarning",Jg="$",qg="/$",uh="$?",lh="$!",bM="style",NC=null,OC=null;function CM(e){var t,s,c=e.nodeType;switch(c){case ki:case eu:{t=c===ki?"#document":"#fragment";var v=e.documentElement;s=v?v.namespaceURI:Jp(null,"");break}default:{var m=c===fr?e.parentNode:e,S=m.namespaceURI||null;t=m.tagName,s=Jp(S,t);break}}{var I=t.toLowerCase(),_=sh(null,I);return{namespace:s,ancestorInfo:_}}}function xM(e,t,s){{var c=e,v=Jp(c.namespace,t),m=sh(c.ancestorInfo,t);return{namespace:v,ancestorInfo:m}}}function NZ(e){return e}function EM(e){NC=Ya(),OC=Lk();var t=null;return Ar(!1),t}function SM(e){Fk(OC),Ar(NC),NC=null,OC=null}function wM(e,t,s,c,v){var m;{var S=c;if(oh(e,null,S.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var I=""+t.children,_=sh(S.ancestorInfo,e);oh(null,I,_)}m=S.namespace}var V=iM(e,t,s,m);return dh(v,V),PC(V,t),V}function RM(e,t){e.appendChild(t)}function TM(e,t,s,c,v){switch(sM(e,t,s,c),t){case"button":case"input":case"select":case"textarea":return!!s.autoFocus;case"img":return!0;default:return!1}}function IM(e,t,s,c,v,m){{var S=m;if(typeof c.children!=typeof s.children&&(typeof c.children=="string"||typeof c.children=="number")){var I=""+c.children,_=sh(S.ancestorInfo,t);oh(null,I,_)}}return uM(e,t,s,c)}function _C(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function AM(e,t,s,c){{var v=s;oh(null,e,v.ancestorInfo)}var m=oM(e,t);return dh(c,m),m}function NM(){var e=window.event;return e===void 0?jo:sa(e.type)}var DC=typeof setTimeout=="function"?setTimeout:void 0,OM=typeof clearTimeout=="function"?clearTimeout:void 0,jC=-1,rR=typeof Promise=="function"?Promise:void 0,_M=typeof queueMicrotask=="function"?queueMicrotask:typeof rR<"u"?function(e){return rR.resolve(null).then(e).catch(DM)}:DC;function DM(e){setTimeout(function(){throw e})}function jM(e,t,s,c){switch(t){case"button":case"input":case"select":case"textarea":s.autoFocus&&e.focus();return;case"img":{s.src&&(e.src=s.src);return}}}function kM(e,t,s,c,v,m){lM(e,t,s,c,v),PC(e,v)}function aR(e){Pf(e,"")}function MM(e,t,s){e.nodeValue=s}function LM(e,t){e.appendChild(t)}function FM(e,t){var s;e.nodeType===fr?(s=e.parentNode,s.insertBefore(t,e)):(s=e,s.appendChild(t));var c=e._reactRootContainer;c==null&&s.onclick===null&&Yg(s)}function PM(e,t,s){e.insertBefore(t,s)}function VM(e,t,s){e.nodeType===fr?e.parentNode.insertBefore(t,s):e.insertBefore(t,s)}function BM(e,t){e.removeChild(t)}function zM(e,t){e.nodeType===fr?e.parentNode.removeChild(t):e.removeChild(t)}function kC(e,t){var s=t,c=0;do{var v=s.nextSibling;if(e.removeChild(s),v&&v.nodeType===fr){var m=v.data;if(m===qg)if(c===0){e.removeChild(v),zt(t);return}else c--;else(m===Jg||m===uh||m===lh)&&c++}s=v}while(s);zt(t)}function HM(e,t){e.nodeType===fr?kC(e.parentNode,t):e.nodeType===Sa&&kC(e,t),zt(e)}function UM(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function GM(e){e.nodeValue=""}function $M(e,t){e=e;var s=t[bM],c=s!=null&&s.hasOwnProperty("display")?s.display:null;e.style.display=Vf("display",c)}function WM(e,t){e.nodeValue=t}function XM(e){e.nodeType===Sa?e.textContent="":e.nodeType===ki&&e.documentElement&&e.removeChild(e.documentElement)}function YM(e,t,s){return e.nodeType!==Sa||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function ZM(e,t){return t===""||e.nodeType!==wo?null:e}function JM(e){return e.nodeType!==fr?null:e}function iR(e){return e.data===uh}function MC(e){return e.data===lh}function qM(e){var t=e.nextSibling&&e.nextSibling.dataset,s,c,v;return t&&(s=t.dgst,c=t.msg,v=t.stck),{message:c,digest:s,stack:v}}function QM(e,t){e._reactRetry=t}function Qg(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===Sa||t===wo)break;if(t===fr){var s=e.data;if(s===Jg||s===lh||s===uh)break;if(s===qg)return null}}return e}function ch(e){return Qg(e.nextSibling)}function KM(e){return Qg(e.firstChild)}function e2(e){return Qg(e.firstChild)}function t2(e){return Qg(e.nextSibling)}function n2(e,t,s,c,v,m,S){dh(m,e),PC(e,s);var I;{var _=v;I=_.namespace}var V=(m.mode&Vt)!==mt;return fM(e,t,s,I,c,V,S)}function r2(e,t,s,c){return dh(s,e),s.mode&Vt,dM(e,t)}function a2(e,t){dh(t,e)}function i2(e){for(var t=e.nextSibling,s=0;t;){if(t.nodeType===fr){var c=t.data;if(c===qg){if(s===0)return ch(t);s--}else(c===Jg||c===lh||c===uh)&&s++}t=t.nextSibling}return null}function oR(e){for(var t=e.previousSibling,s=0;t;){if(t.nodeType===fr){var c=t.data;if(c===Jg||c===lh||c===uh){if(s===0)return t;s--}else c===qg&&s++}t=t.previousSibling}return null}function o2(e){zt(e)}function s2(e){zt(e)}function u2(e){return e!=="head"&&e!=="body"}function l2(e,t,s,c){var v=!0;Xg(t.nodeValue,s,c,v)}function c2(e,t,s,c,v,m){if(t[Zg]!==!0){var S=!0;Xg(c.nodeValue,v,m,S)}}function f2(e,t){t.nodeType===Sa?RC(e,t):t.nodeType===fr||TC(e,t)}function d2(e,t){{var s=e.parentNode;s!==null&&(t.nodeType===Sa?RC(s,t):t.nodeType===fr||TC(s,t))}}function p2(e,t,s,c,v){(v||t[Zg]!==!0)&&(c.nodeType===Sa?RC(s,c):c.nodeType===fr||TC(s,c))}function v2(e,t,s){IC(e,t)}function h2(e,t){AC(e,t)}function m2(e,t,s){{var c=e.parentNode;c!==null&&IC(c,t)}}function g2(e,t){{var s=e.parentNode;s!==null&&AC(s,t)}}function y2(e,t,s,c,v,m){(m||t[Zg]!==!0)&&IC(s,c)}function b2(e,t,s,c,v){(v||t[Zg]!==!0)&&AC(s,c)}function C2(e){p("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function x2(e){nh(e)}var $d=Math.random().toString(36).slice(2),Wd="__reactFiber$"+$d,LC="__reactProps$"+$d,fh="__reactContainer$"+$d,FC="__reactEvents$"+$d,E2="__reactListeners$"+$d,S2="__reactHandles$"+$d;function w2(e){delete e[Wd],delete e[LC],delete e[FC],delete e[E2],delete e[S2]}function dh(e,t){t[Wd]=e}function Kg(e,t){t[fh]=e}function sR(e){e[fh]=null}function ph(e){return!!e[fh]}function rf(e){var t=e[Wd];if(t)return t;for(var s=e.parentNode;s;){if(t=s[fh]||s[Wd],t){var c=t.alternate;if(t.child!==null||c!==null&&c.child!==null)for(var v=oR(e);v!==null;){var m=v[Wd];if(m)return m;v=oR(v)}return t}e=s,s=e.parentNode}return null}function Gl(e){var t=e[Wd]||e[fh];return t&&(t.tag===A||t.tag===N||t.tag===z||t.tag===w)?t:null}function Xd(e){if(e.tag===A||e.tag===N)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function ey(e){return e[LC]||null}function PC(e,t){e[LC]=t}function R2(e){var t=e[FC];return t===void 0&&(t=e[FC]=new Set),t}var uR={},lR=i.ReactDebugCurrentFrame;function ty(e){if(e){var t=e._owner,s=Ki(e.type,e._source,t?t.type:null);lR.setExtraStackFrame(s)}else lR.setExtraStackFrame(null)}function Po(e,t,s,c,v){{var m=Function.call.bind(Bt);for(var S in e)if(m(e,S)){var I=void 0;try{if(typeof e[S]!="function"){var _=Error((c||"React class")+": "+s+" type `"+S+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[S]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw _.name="Invariant Violation",_}I=e[S](t,S,c,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(V){I=V}I&&!(I instanceof Error)&&(ty(v),p("%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).",c||"React class",s,S,typeof I),ty(null)),I instanceof Error&&!(I.message in uR)&&(uR[I.message]=!0,ty(v),p("Failed %s type: %s",s,I.message),ty(null))}}}var VC=[],ny;ny=[];var Au=-1;function $l(e){return{current:e}}function Da(e,t){if(Au<0){p("Unexpected pop.");return}t!==ny[Au]&&p("Unexpected Fiber popped."),e.current=VC[Au],VC[Au]=null,ny[Au]=null,Au--}function ja(e,t,s){Au++,VC[Au]=e.current,ny[Au]=s,e.current=t}var BC;BC={};var Vi={};Object.freeze(Vi);var Nu=$l(Vi),js=$l(!1),zC=Vi;function Yd(e,t,s){return s&&ks(t)?zC:Nu.current}function cR(e,t,s){{var c=e.stateNode;c.__reactInternalMemoizedUnmaskedChildContext=t,c.__reactInternalMemoizedMaskedChildContext=s}}function Zd(e,t){{var s=e.type,c=s.contextTypes;if(!c)return Vi;var v=e.stateNode;if(v&&v.__reactInternalMemoizedUnmaskedChildContext===t)return v.__reactInternalMemoizedMaskedChildContext;var m={};for(var S in c)m[S]=t[S];{var I=At(e)||"Unknown";Po(c,m,"context",I)}return v&&cR(e,t,m),m}}function ry(){return js.current}function ks(e){{var t=e.childContextTypes;return t!=null}}function ay(e){Da(js,e),Da(Nu,e)}function HC(e){Da(js,e),Da(Nu,e)}function fR(e,t,s){{if(Nu.current!==Vi)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");ja(Nu,t,e),ja(js,s,e)}}function dR(e,t,s){{var c=e.stateNode,v=t.childContextTypes;if(typeof c.getChildContext!="function"){{var m=At(e)||"Unknown";BC[m]||(BC[m]=!0,p("%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.",m,m))}return s}var S=c.getChildContext();for(var I in S)if(!(I in v))throw new Error((At(e)||"Unknown")+'.getChildContext(): key "'+I+'" is not defined in childContextTypes.');{var _=At(e)||"Unknown";Po(v,S,"child context",_)}return Ft({},s,S)}}function iy(e){{var t=e.stateNode,s=t&&t.__reactInternalMemoizedMergedChildContext||Vi;return zC=Nu.current,ja(Nu,s,e),ja(js,js.current,e),!0}}function pR(e,t,s){{var c=e.stateNode;if(!c)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(s){var v=dR(e,t,zC);c.__reactInternalMemoizedMergedChildContext=v,Da(js,e),Da(Nu,e),ja(Nu,v,e),ja(js,s,e)}else Da(js,e),ja(js,s,e)}}function T2(e){{if(!mv(e)||e.tag!==b)throw new 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 t=e;do{switch(t.tag){case w:return t.stateNode.context;case b:{var s=t.type;if(ks(s))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var Wl=0,oy=1,Ou=null,UC=!1,GC=!1;function vR(e){Ou===null?Ou=[e]:Ou.push(e)}function I2(e){UC=!0,vR(e)}function hR(){UC&&Xl()}function Xl(){if(!GC&&Ou!==null){GC=!0;var e=0,t=pi();try{var s=!0,c=Ou;for(br(Xr);e<c.length;e++){var v=c[e];do v=v(s);while(v!==null)}Ou=null,UC=!1}catch(m){throw Ou!==null&&(Ou=Ou.slice(e+1)),Jf(Qf,Xl),m}finally{br(t),GC=!1}}return null}var Jd=[],qd=0,sy=null,uy=0,uo=[],lo=0,af=null,_u=1,Du="";function A2(e){return sf(),(e.flags&pv)!==ct}function N2(e){return sf(),uy}function O2(){var e=Du,t=_u,s=t&~_2(t);return s.toString(32)+e}function of(e,t){sf(),Jd[qd++]=uy,Jd[qd++]=sy,sy=e,uy=t}function mR(e,t,s){sf(),uo[lo++]=_u,uo[lo++]=Du,uo[lo++]=af,af=e;var c=_u,v=Du,m=ly(c)-1,S=c&~(1<<m),I=s+1,_=ly(t)+m;if(_>30){var V=m-m%5,H=(1<<V)-1,ee=(S&H).toString(32),Q=S>>V,le=m-V,fe=ly(t)+le,be=I<<le,qe=be|Q,pt=ee+v;_u=1<<fe|qe,Du=pt}else{var ot=I<<m,Xt=ot|S,Ht=v;_u=1<<_|Xt,Du=Ht}}function $C(e){sf();var t=e.return;if(t!==null){var s=1,c=0;of(e,s),mR(e,s,c)}}function ly(e){return 32-ad(e)}function _2(e){return 1<<ly(e)-1}function WC(e){for(;e===sy;)sy=Jd[--qd],Jd[qd]=null,uy=Jd[--qd],Jd[qd]=null;for(;e===af;)af=uo[--lo],uo[lo]=null,Du=uo[--lo],uo[lo]=null,_u=uo[--lo],uo[lo]=null}function D2(){return sf(),af!==null?{id:_u,overflow:Du}:null}function j2(e,t){sf(),uo[lo++]=_u,uo[lo++]=Du,uo[lo++]=af,_u=t.id,Du=t.overflow,af=e}function sf(){la()||p("Expected to be hydrating. This is a bug in React. Please file an issue.")}var ua=null,co=null,Vo=!1,uf=!1,Yl=null;function k2(){Vo&&p("We should not be hydrating here. This is a bug in React. Please file a bug.")}function gR(){uf=!0}function M2(){return uf}function L2(e){var t=e.stateNode.containerInfo;return co=e2(t),ua=e,Vo=!0,Yl=null,uf=!1,!0}function F2(e,t,s){return co=t2(t),ua=e,Vo=!0,Yl=null,uf=!1,s!==null&&j2(e,s),!0}function yR(e,t){switch(e.tag){case w:{f2(e.stateNode.containerInfo,t);break}case A:{var s=(e.mode&Vt)!==mt;p2(e.type,e.memoizedProps,e.stateNode,t,s);break}case z:{var c=e.memoizedState;c.dehydrated!==null&&d2(c.dehydrated,t);break}}}function bR(e,t){yR(e,t);var s=BP();s.stateNode=t,s.return=e;var c=e.deletions;c===null?(e.deletions=[s],e.flags|=un):c.push(s)}function XC(e,t){{if(uf)return;switch(e.tag){case w:{var s=e.stateNode.containerInfo;switch(t.tag){case A:var c=t.type;t.pendingProps,v2(s,c);break;case N:var v=t.pendingProps;h2(s,v);break}break}case A:{var m=e.type,S=e.memoizedProps,I=e.stateNode;switch(t.tag){case A:{var _=t.type,V=t.pendingProps,H=(e.mode&Vt)!==mt;y2(m,S,I,_,V,H);break}case N:{var ee=t.pendingProps,Q=(e.mode&Vt)!==mt;b2(m,S,I,ee,Q);break}}break}case z:{var le=e.memoizedState,fe=le.dehydrated;if(fe!==null)switch(t.tag){case A:var be=t.type;t.pendingProps,m2(fe,be);break;case N:var qe=t.pendingProps;g2(fe,qe);break}break}default:return}}}function CR(e,t){t.flags=t.flags&~ui|Fn,XC(e,t)}function xR(e,t){switch(e.tag){case A:{var s=e.type;e.pendingProps;var c=YM(t,s);return c!==null?(e.stateNode=c,ua=e,co=KM(c),!0):!1}case N:{var v=e.pendingProps,m=ZM(t,v);return m!==null?(e.stateNode=m,ua=e,co=null,!0):!1}case z:{var S=JM(t);if(S!==null){var I={dehydrated:S,treeContext:D2(),retryLane:Oa};e.memoizedState=I;var _=zP(S);return _.return=e,e.child=_,ua=e,co=null,!0}return!1}default:return!1}}function YC(e){return(e.mode&Vt)!==mt&&(e.flags&wt)===ct}function ZC(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function JC(e){if(Vo){var t=co;if(!t){YC(e)&&(XC(ua,e),ZC()),CR(ua,e),Vo=!1,ua=e;return}var s=t;if(!xR(e,t)){YC(e)&&(XC(ua,e),ZC()),t=ch(s);var c=ua;if(!t||!xR(e,t)){CR(ua,e),Vo=!1,ua=e;return}bR(c,s)}}}function P2(e,t,s){var c=e.stateNode,v=!uf,m=n2(c,e.type,e.memoizedProps,t,s,e,v);return e.updateQueue=m,m!==null}function V2(e){var t=e.stateNode,s=e.memoizedProps,c=r2(t,s,e);if(c){var v=ua;if(v!==null)switch(v.tag){case w:{var m=v.stateNode.containerInfo,S=(v.mode&Vt)!==mt;l2(m,t,s,S);break}case A:{var I=v.type,_=v.memoizedProps,V=v.stateNode,H=(v.mode&Vt)!==mt;c2(I,_,V,t,s,H);break}}}return c}function B2(e){var t=e.memoizedState,s=t!==null?t.dehydrated:null;if(!s)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");a2(s,e)}function z2(e){var t=e.memoizedState,s=t!==null?t.dehydrated:null;if(!s)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return i2(s)}function ER(e){for(var t=e.return;t!==null&&t.tag!==A&&t.tag!==w&&t.tag!==z;)t=t.return;ua=t}function cy(e){if(e!==ua)return!1;if(!Vo)return ER(e),Vo=!0,!1;if(e.tag!==w&&(e.tag!==A||u2(e.type)&&!_C(e.type,e.memoizedProps))){var t=co;if(t)if(YC(e))SR(e),ZC();else for(;t;)bR(e,t),t=ch(t)}return ER(e),e.tag===z?co=z2(e):co=ua?ch(e.stateNode):null,!0}function H2(){return Vo&&co!==null}function SR(e){for(var t=co;t;)yR(e,t),t=ch(t)}function Qd(){ua=null,co=null,Vo=!1,uf=!1}function wR(){Yl!==null&&(yI(Yl),Yl=null)}function la(){return Vo}function qC(e){Yl===null?Yl=[e]:Yl.push(e)}var U2=i.ReactCurrentBatchConfig,G2=null;function $2(){return U2.transition}var Bo={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var W2=function(e){for(var t=null,s=e;s!==null;)s.mode&Zn&&(t=s),s=s.return;return t},lf=function(e){var t=[];return e.forEach(function(s){t.push(s)}),t.sort().join(", ")},vh=[],hh=[],mh=[],gh=[],yh=[],bh=[],cf=new Set;Bo.recordUnsafeLifecycleWarnings=function(e,t){cf.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&vh.push(e),e.mode&Zn&&typeof t.UNSAFE_componentWillMount=="function"&&hh.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&mh.push(e),e.mode&Zn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&gh.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&yh.push(e),e.mode&Zn&&typeof t.UNSAFE_componentWillUpdate=="function"&&bh.push(e))},Bo.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;vh.length>0&&(vh.forEach(function(Q){e.add(At(Q)||"Component"),cf.add(Q.type)}),vh=[]);var t=new Set;hh.length>0&&(hh.forEach(function(Q){t.add(At(Q)||"Component"),cf.add(Q.type)}),hh=[]);var s=new Set;mh.length>0&&(mh.forEach(function(Q){s.add(At(Q)||"Component"),cf.add(Q.type)}),mh=[]);var c=new Set;gh.length>0&&(gh.forEach(function(Q){c.add(At(Q)||"Component"),cf.add(Q.type)}),gh=[]);var v=new Set;yh.length>0&&(yh.forEach(function(Q){v.add(At(Q)||"Component"),cf.add(Q.type)}),yh=[]);var m=new Set;if(bh.length>0&&(bh.forEach(function(Q){m.add(At(Q)||"Component"),cf.add(Q.type)}),bh=[]),t.size>0){var S=lf(t);p(`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.
126
126
 
127
127
  * Move code with side effects to componentDidMount, and set initial state in the constructor.
128
128
 
@@ -157,7 +157,7 @@ The old API will be supported in all 16.x releases, but applications using it sh
157
157
 
158
158
  Please update the following components: %s
159
159
 
160
- Learn more about this warning here: https://reactjs.org/link/legacy-context`,v)}finally{Kn()}}})},Bo.discardPendingWarnings=function(){vh=[],hh=[],mh=[],gh=[],yh=[],bh=[],fy=new Map}}function zo(e,t){if(e&&e.defaultProps){var s=Ft({},t),c=e.defaultProps;for(var v in c)s[v]===void 0&&(s[v]=c[v]);return s}return t}var QC=$l(null),KC;KC={};var dy=null,Kd=null,ex=null,py=!1;function vy(){dy=null,Kd=null,ex=null,py=!1}function TR(){py=!0}function IR(){py=!1}function AR(e,t,s){ja(QC,t._currentValue,e),t._currentValue=s,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==KC&&p("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=KC}function tx(e,t){var s=QC.current;Da(QC,t),e._currentValue=s}function nx(e,t,s){for(var c=e;c!==null;){var v=c.alternate;if(gu(c.childLanes,t)?v!==null&&!gu(v.childLanes,t)&&(v.childLanes=kt(v.childLanes,t)):(c.childLanes=kt(c.childLanes,t),v!==null&&(v.childLanes=kt(v.childLanes,t))),c===s)break;c=c.return}c!==s&&p("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function X2(e,t,s){Y2(e,t,s)}function Y2(e,t,s){var c=e.child;for(c!==null&&(c.return=e);c!==null;){var v=void 0,m=c.dependencies;if(m!==null){v=c.child;for(var S=m.firstContext;S!==null;){if(S.context===t){if(c.tag===b){var I=yr(s),_=ju(Nn,I);_.tag=my;var V=c.updateQueue;if(V!==null){var H=V.shared,ee=H.pending;ee===null?_.next=_:(_.next=ee.next,ee.next=_),H.pending=_}}c.lanes=kt(c.lanes,s);var Q=c.alternate;Q!==null&&(Q.lanes=kt(Q.lanes,s)),nx(c.return,s,e),m.lanes=kt(m.lanes,s);break}S=S.next}}else if(c.tag===B)v=c.type===e.type?null:c.child;else if(c.tag===ue){var le=c.return;if(le===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");le.lanes=kt(le.lanes,s);var fe=le.alternate;fe!==null&&(fe.lanes=kt(fe.lanes,s)),nx(le,s,e),v=c.sibling}else v=c.child;if(v!==null)v.return=c;else for(v=c;v!==null;){if(v===e){v=null;break}var be=v.sibling;if(be!==null){be.return=v.return,v=be;break}v=v.return}c=v}}function ep(e,t){dy=e,Kd=null,ex=null;var s=e.dependencies;if(s!==null){var c=s.firstContext;c!==null&&(_a(s.lanes,t)&&jh(),s.firstContext=null)}}function Or(e){py&&p("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().");var t=e._currentValue;if(ex!==e){var s={context:e,memoizedValue:t,next:null};if(Kd===null){if(dy===null)throw new 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().");Kd=s,dy.dependencies={lanes:Se,firstContext:s}}else Kd=Kd.next=s}return t}var ff=null;function rx(e){ff===null?ff=[e]:ff.push(e)}function Z2(){if(ff!==null){for(var e=0;e<ff.length;e++){var t=ff[e],s=t.interleaved;if(s!==null){t.interleaved=null;var c=s.next,v=t.pending;if(v!==null){var m=v.next;v.next=c,s.next=m}t.pending=s}}ff=null}}function NR(e,t,s,c){var v=t.interleaved;return v===null?(s.next=s,rx(t)):(s.next=v.next,v.next=s),t.interleaved=s,hy(e,c)}function J2(e,t,s,c){var v=t.interleaved;v===null?(s.next=s,rx(t)):(s.next=v.next,v.next=s),t.interleaved=s}function q2(e,t,s,c){var v=t.interleaved;return v===null?(s.next=s,rx(t)):(s.next=v.next,v.next=s),t.interleaved=s,hy(e,c)}function bi(e,t){return hy(e,t)}var Q2=hy;function hy(e,t){e.lanes=kt(e.lanes,t);var s=e.alternate;s!==null&&(s.lanes=kt(s.lanes,t)),s===null&&(e.flags&(Fn|ui))!==ct&&OI(e);for(var c=e,v=e.return;v!==null;)v.childLanes=kt(v.childLanes,t),s=v.alternate,s!==null?s.childLanes=kt(s.childLanes,t):(v.flags&(Fn|ui))!==ct&&OI(e),c=v,v=v.return;if(c.tag===R){var m=c.stateNode;return m}else return null}var OR=0,_R=1,my=2,ax=3,gy=!1,ix,yy;ix=!1,yy=null;function ox(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:Se},effects:null};e.updateQueue=t}function DR(e,t){var s=t.updateQueue,c=e.updateQueue;if(s===c){var v={baseState:c.baseState,firstBaseUpdate:c.firstBaseUpdate,lastBaseUpdate:c.lastBaseUpdate,shared:c.shared,effects:c.effects};t.updateQueue=v}}function ju(e,t){var s={eventTime:e,lane:t,tag:OR,payload:null,callback:null,next:null};return s}function Zl(e,t,s){var c=e.updateQueue;if(c===null)return null;var v=c.shared;if(yy===v&&!ix&&(p("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."),ix=!0),QF()){var m=v.pending;return m===null?t.next=t:(t.next=m.next,m.next=t),v.pending=t,Q2(e,s)}else return q2(e,v,t,s)}function by(e,t,s){var c=t.updateQueue;if(c!==null){var v=c.shared;if(Nv(s)){var m=v.lanes;m=_v(m,e.pendingLanes);var S=kt(m,s);v.lanes=S,Nl(e,S)}}}function sx(e,t){var s=e.updateQueue,c=e.alternate;if(c!==null){var v=c.updateQueue;if(s===v){var m=null,S=null,I=s.firstBaseUpdate;if(I!==null){var _=I;do{var V={eventTime:_.eventTime,lane:_.lane,tag:_.tag,payload:_.payload,callback:_.callback,next:null};S===null?m=S=V:(S.next=V,S=V),_=_.next}while(_!==null);S===null?m=S=t:(S.next=t,S=t)}else m=S=t;s={baseState:v.baseState,firstBaseUpdate:m,lastBaseUpdate:S,shared:v.shared,effects:v.effects},e.updateQueue=s;return}}var H=s.lastBaseUpdate;H===null?s.firstBaseUpdate=t:H.next=t,s.lastBaseUpdate=t}function K2(e,t,s,c,v,m){switch(s.tag){case _R:{var S=s.payload;if(typeof S=="function"){TR();var I=S.call(m,c,v);{if(e.mode&Zn){gr(!0);try{S.call(m,c,v)}finally{gr(!1)}}IR()}return I}return S}case ax:e.flags=e.flags&~Rr|wt;case OR:{var _=s.payload,V;if(typeof _=="function"){TR(),V=_.call(m,c,v);{if(e.mode&Zn){gr(!0);try{_.call(m,c,v)}finally{gr(!1)}}IR()}}else V=_;return V==null?c:Ft({},c,V)}case my:return gy=!0,c}return c}function Cy(e,t,s,c){var v=e.updateQueue;gy=!1,yy=v.shared;var m=v.firstBaseUpdate,S=v.lastBaseUpdate,I=v.shared.pending;if(I!==null){v.shared.pending=null;var _=I,V=_.next;_.next=null,S===null?m=V:S.next=V,S=_;var H=e.alternate;if(H!==null){var ee=H.updateQueue,Q=ee.lastBaseUpdate;Q!==S&&(Q===null?ee.firstBaseUpdate=V:Q.next=V,ee.lastBaseUpdate=_)}}if(m!==null){var le=v.baseState,fe=Se,be=null,qe=null,pt=null,ot=m;do{var Xt=ot.lane,Ht=ot.eventTime;if(gu(c,Xt)){if(pt!==null){var Ce={eventTime:Ht,lane:$t,tag:ot.tag,payload:ot.payload,callback:ot.callback,next:null};pt=pt.next=Ce}le=K2(e,v,ot,le,t,s);var ae=ot.callback;if(ae!==null&&ot.lane!==$t){e.flags|=no;var Pe=v.effects;Pe===null?v.effects=[ot]:Pe.push(ot)}}else{var re={eventTime:Ht,lane:Xt,tag:ot.tag,payload:ot.payload,callback:ot.callback,next:null};pt===null?(qe=pt=re,be=le):pt=pt.next=re,fe=kt(fe,Xt)}if(ot=ot.next,ot===null){if(I=v.shared.pending,I===null)break;var Qe=I,Xe=Qe.next;Qe.next=null,ot=Xe,v.lastBaseUpdate=Qe,v.shared.pending=null}}while(!0);pt===null&&(be=le),v.baseState=be,v.firstBaseUpdate=qe,v.lastBaseUpdate=pt;var Et=v.shared.interleaved;if(Et!==null){var Ot=Et;do fe=kt(fe,Ot.lane),Ot=Ot.next;while(Ot!==Et)}else m===null&&(v.shared.lanes=Se);$h(fe),e.lanes=fe,e.memoizedState=le}yy=null}function eL(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function jR(){gy=!1}function xy(){return gy}function kR(e,t,s){var c=t.effects;if(t.effects=null,c!==null)for(var v=0;v<c.length;v++){var m=c[v],S=m.callback;S!==null&&(m.callback=null,eL(S,s))}}var ux={},MR=new n.Component().refs,lx,cx,fx,dx,px,LR,Ey,vx,hx,mx;{lx=new Set,cx=new Set,fx=new Set,dx=new Set,vx=new Set,px=new Set,hx=new Set,mx=new Set;var FR=new Set;Ey=function(e,t){if(!(e===null||typeof e=="function")){var s=t+"_"+e;FR.has(s)||(FR.add(s),p("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},LR=function(e,t){if(t===void 0){var s=Jt(e)||"Component";px.has(s)||(px.add(s),p("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",s))}},Object.defineProperty(ux,"_processChildContext",{enumerable:!1,value:function(){throw new 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(ux)}function gx(e,t,s,c){var v=e.memoizedState,m=s(c,v);{if(e.mode&Zn){gr(!0);try{m=s(c,v)}finally{gr(!1)}}LR(t,m)}var S=m==null?v:Ft({},v,m);if(e.memoizedState=S,e.lanes===Se){var I=e.updateQueue;I.baseState=S}}var yx={isMounted:$a,enqueueSetState:function(e,t,s){var c=oi(e),v=qa(),m=rc(c),S=ju(v,m);S.payload=t,s!=null&&(Ey(s,"setState"),S.callback=s);var I=Zl(c,S,m);I!==null&&(Gr(I,c,m,v),by(I,c,m)),ws(c,m)},enqueueReplaceState:function(e,t,s){var c=oi(e),v=qa(),m=rc(c),S=ju(v,m);S.tag=_R,S.payload=t,s!=null&&(Ey(s,"replaceState"),S.callback=s);var I=Zl(c,S,m);I!==null&&(Gr(I,c,m,v),by(I,c,m)),ws(c,m)},enqueueForceUpdate:function(e,t){var s=oi(e),c=qa(),v=rc(s),m=ju(c,v);m.tag=my,t!=null&&(Ey(t,"forceUpdate"),m.callback=t);var S=Zl(s,m,v);S!==null&&(Gr(S,s,v,c),by(S,s,v)),Rv(s,v)}};function PR(e,t,s,c,v,m,S){var I=e.stateNode;if(typeof I.shouldComponentUpdate=="function"){var _=I.shouldComponentUpdate(c,m,S);{if(e.mode&Zn){gr(!0);try{_=I.shouldComponentUpdate(c,m,S)}finally{gr(!1)}}_===void 0&&p("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Jt(t)||"Component")}return _}return t.prototype&&t.prototype.isPureReactComponent?!ut(s,c)||!ut(v,m):!0}function tL(e,t,s){var c=e.stateNode;{var v=Jt(t)||"Component",m=c.render;m||(t.prototype&&typeof t.prototype.render=="function"?p("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",v):p("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",v)),c.getInitialState&&!c.getInitialState.isReactClassApproved&&!c.state&&p("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?",v),c.getDefaultProps&&!c.getDefaultProps.isReactClassApproved&&p("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.",v),c.propTypes&&p("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",v),c.contextType&&p("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",v),c.contextTypes&&p("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",v),t.contextType&&t.contextTypes&&!hx.has(t)&&(hx.add(t),p("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",v)),typeof c.componentShouldUpdate=="function"&&p("%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.",v),t.prototype&&t.prototype.isPureReactComponent&&typeof c.shouldComponentUpdate<"u"&&p("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Jt(t)||"A pure component"),typeof c.componentDidUnmount=="function"&&p("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",v),typeof c.componentDidReceiveProps=="function"&&p("%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().",v),typeof c.componentWillRecieveProps=="function"&&p("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",v),typeof c.UNSAFE_componentWillRecieveProps=="function"&&p("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",v);var S=c.props!==s;c.props!==void 0&&S&&p("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",v,v),c.defaultProps&&p("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",v,v),typeof c.getSnapshotBeforeUpdate=="function"&&typeof c.componentDidUpdate!="function"&&!fx.has(t)&&(fx.add(t),p("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Jt(t))),typeof c.getDerivedStateFromProps=="function"&&p("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",v),typeof c.getDerivedStateFromError=="function"&&p("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",v),typeof t.getSnapshotBeforeUpdate=="function"&&p("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",v);var I=c.state;I&&(typeof I!="object"||Ut(I))&&p("%s.state: must be set to an object or null",v),typeof c.getChildContext=="function"&&typeof t.childContextTypes!="object"&&p("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",v)}}function VR(e,t){t.updater=yx,e.stateNode=t,bl(t,e),t._reactInternalInstance=ux}function BR(e,t,s){var c=!1,v=Vi,m=Vi,S=t.contextType;if("contextType"in t){var I=S===null||S!==void 0&&S.$$typeof===Ue&&S._context===void 0;if(!I&&!mx.has(t)){mx.add(t);var _="";S===void 0?_=" 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 S!="object"?_=" However, it is set to a "+typeof S+".":S.$$typeof===je?_=" Did you accidentally pass the Context.Provider instead?":S._context!==void 0?_=" Did you accidentally pass the Context.Consumer instead?":_=" However, it is set to an object with keys {"+Object.keys(S).join(", ")+"}.",p("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Jt(t)||"Component",_)}}if(typeof S=="object"&&S!==null)m=Or(S);else{v=Yd(e,t,!0);var V=t.contextTypes;c=V!=null,m=c?Zd(e,v):Vi}var H=new t(s,m);if(e.mode&Zn){gr(!0);try{H=new t(s,m)}finally{gr(!1)}}var ee=e.memoizedState=H.state!==null&&H.state!==void 0?H.state:null;VR(e,H);{if(typeof t.getDerivedStateFromProps=="function"&&ee===null){var Q=Jt(t)||"Component";cx.has(Q)||(cx.add(Q),p("`%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.",Q,H.state===null?"null":"undefined",Q))}if(typeof t.getDerivedStateFromProps=="function"||typeof H.getSnapshotBeforeUpdate=="function"){var le=null,fe=null,be=null;if(typeof H.componentWillMount=="function"&&H.componentWillMount.__suppressDeprecationWarning!==!0?le="componentWillMount":typeof H.UNSAFE_componentWillMount=="function"&&(le="UNSAFE_componentWillMount"),typeof H.componentWillReceiveProps=="function"&&H.componentWillReceiveProps.__suppressDeprecationWarning!==!0?fe="componentWillReceiveProps":typeof H.UNSAFE_componentWillReceiveProps=="function"&&(fe="UNSAFE_componentWillReceiveProps"),typeof H.componentWillUpdate=="function"&&H.componentWillUpdate.__suppressDeprecationWarning!==!0?be="componentWillUpdate":typeof H.UNSAFE_componentWillUpdate=="function"&&(be="UNSAFE_componentWillUpdate"),le!==null||fe!==null||be!==null){var qe=Jt(t)||"Component",pt=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";dx.has(qe)||(dx.add(qe),p(`Unsafe legacy lifecycles will not be called for components using new component APIs.
160
+ Learn more about this warning here: https://reactjs.org/link/legacy-context`,v)}finally{Kn()}}})},Bo.discardPendingWarnings=function(){vh=[],hh=[],mh=[],gh=[],yh=[],bh=[],fy=new Map}}function zo(e,t){if(e&&e.defaultProps){var s=Ft({},t),c=e.defaultProps;for(var v in c)s[v]===void 0&&(s[v]=c[v]);return s}return t}var QC=$l(null),KC;KC={};var dy=null,Kd=null,ex=null,py=!1;function vy(){dy=null,Kd=null,ex=null,py=!1}function TR(){py=!0}function IR(){py=!1}function AR(e,t,s){ja(QC,t._currentValue,e),t._currentValue=s,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==KC&&p("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=KC}function tx(e,t){var s=QC.current;Da(QC,t),e._currentValue=s}function nx(e,t,s){for(var c=e;c!==null;){var v=c.alternate;if(gu(c.childLanes,t)?v!==null&&!gu(v.childLanes,t)&&(v.childLanes=kt(v.childLanes,t)):(c.childLanes=kt(c.childLanes,t),v!==null&&(v.childLanes=kt(v.childLanes,t))),c===s)break;c=c.return}c!==s&&p("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function X2(e,t,s){Y2(e,t,s)}function Y2(e,t,s){var c=e.child;for(c!==null&&(c.return=e);c!==null;){var v=void 0,m=c.dependencies;if(m!==null){v=c.child;for(var S=m.firstContext;S!==null;){if(S.context===t){if(c.tag===b){var I=yr(s),_=ju(Nn,I);_.tag=my;var V=c.updateQueue;if(V!==null){var H=V.shared,ee=H.pending;ee===null?_.next=_:(_.next=ee.next,ee.next=_),H.pending=_}}c.lanes=kt(c.lanes,s);var Q=c.alternate;Q!==null&&(Q.lanes=kt(Q.lanes,s)),nx(c.return,s,e),m.lanes=kt(m.lanes,s);break}S=S.next}}else if(c.tag===B)v=c.type===e.type?null:c.child;else if(c.tag===ue){var le=c.return;if(le===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");le.lanes=kt(le.lanes,s);var fe=le.alternate;fe!==null&&(fe.lanes=kt(fe.lanes,s)),nx(le,s,e),v=c.sibling}else v=c.child;if(v!==null)v.return=c;else for(v=c;v!==null;){if(v===e){v=null;break}var be=v.sibling;if(be!==null){be.return=v.return,v=be;break}v=v.return}c=v}}function ep(e,t){dy=e,Kd=null,ex=null;var s=e.dependencies;if(s!==null){var c=s.firstContext;c!==null&&(_a(s.lanes,t)&&jh(),s.firstContext=null)}}function Or(e){py&&p("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().");var t=e._currentValue;if(ex!==e){var s={context:e,memoizedValue:t,next:null};if(Kd===null){if(dy===null)throw new 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().");Kd=s,dy.dependencies={lanes:Se,firstContext:s}}else Kd=Kd.next=s}return t}var ff=null;function rx(e){ff===null?ff=[e]:ff.push(e)}function Z2(){if(ff!==null){for(var e=0;e<ff.length;e++){var t=ff[e],s=t.interleaved;if(s!==null){t.interleaved=null;var c=s.next,v=t.pending;if(v!==null){var m=v.next;v.next=c,s.next=m}t.pending=s}}ff=null}}function NR(e,t,s,c){var v=t.interleaved;return v===null?(s.next=s,rx(t)):(s.next=v.next,v.next=s),t.interleaved=s,hy(e,c)}function J2(e,t,s,c){var v=t.interleaved;v===null?(s.next=s,rx(t)):(s.next=v.next,v.next=s),t.interleaved=s}function q2(e,t,s,c){var v=t.interleaved;return v===null?(s.next=s,rx(t)):(s.next=v.next,v.next=s),t.interleaved=s,hy(e,c)}function bi(e,t){return hy(e,t)}var Q2=hy;function hy(e,t){e.lanes=kt(e.lanes,t);var s=e.alternate;s!==null&&(s.lanes=kt(s.lanes,t)),s===null&&(e.flags&(Fn|ui))!==ct&&OI(e);for(var c=e,v=e.return;v!==null;)v.childLanes=kt(v.childLanes,t),s=v.alternate,s!==null?s.childLanes=kt(s.childLanes,t):(v.flags&(Fn|ui))!==ct&&OI(e),c=v,v=v.return;if(c.tag===w){var m=c.stateNode;return m}else return null}var OR=0,_R=1,my=2,ax=3,gy=!1,ix,yy;ix=!1,yy=null;function ox(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:Se},effects:null};e.updateQueue=t}function DR(e,t){var s=t.updateQueue,c=e.updateQueue;if(s===c){var v={baseState:c.baseState,firstBaseUpdate:c.firstBaseUpdate,lastBaseUpdate:c.lastBaseUpdate,shared:c.shared,effects:c.effects};t.updateQueue=v}}function ju(e,t){var s={eventTime:e,lane:t,tag:OR,payload:null,callback:null,next:null};return s}function Zl(e,t,s){var c=e.updateQueue;if(c===null)return null;var v=c.shared;if(yy===v&&!ix&&(p("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."),ix=!0),QF()){var m=v.pending;return m===null?t.next=t:(t.next=m.next,m.next=t),v.pending=t,Q2(e,s)}else return q2(e,v,t,s)}function by(e,t,s){var c=t.updateQueue;if(c!==null){var v=c.shared;if(Nv(s)){var m=v.lanes;m=_v(m,e.pendingLanes);var S=kt(m,s);v.lanes=S,Nl(e,S)}}}function sx(e,t){var s=e.updateQueue,c=e.alternate;if(c!==null){var v=c.updateQueue;if(s===v){var m=null,S=null,I=s.firstBaseUpdate;if(I!==null){var _=I;do{var V={eventTime:_.eventTime,lane:_.lane,tag:_.tag,payload:_.payload,callback:_.callback,next:null};S===null?m=S=V:(S.next=V,S=V),_=_.next}while(_!==null);S===null?m=S=t:(S.next=t,S=t)}else m=S=t;s={baseState:v.baseState,firstBaseUpdate:m,lastBaseUpdate:S,shared:v.shared,effects:v.effects},e.updateQueue=s;return}}var H=s.lastBaseUpdate;H===null?s.firstBaseUpdate=t:H.next=t,s.lastBaseUpdate=t}function K2(e,t,s,c,v,m){switch(s.tag){case _R:{var S=s.payload;if(typeof S=="function"){TR();var I=S.call(m,c,v);{if(e.mode&Zn){gr(!0);try{S.call(m,c,v)}finally{gr(!1)}}IR()}return I}return S}case ax:e.flags=e.flags&~Rr|wt;case OR:{var _=s.payload,V;if(typeof _=="function"){TR(),V=_.call(m,c,v);{if(e.mode&Zn){gr(!0);try{_.call(m,c,v)}finally{gr(!1)}}IR()}}else V=_;return V==null?c:Ft({},c,V)}case my:return gy=!0,c}return c}function Cy(e,t,s,c){var v=e.updateQueue;gy=!1,yy=v.shared;var m=v.firstBaseUpdate,S=v.lastBaseUpdate,I=v.shared.pending;if(I!==null){v.shared.pending=null;var _=I,V=_.next;_.next=null,S===null?m=V:S.next=V,S=_;var H=e.alternate;if(H!==null){var ee=H.updateQueue,Q=ee.lastBaseUpdate;Q!==S&&(Q===null?ee.firstBaseUpdate=V:Q.next=V,ee.lastBaseUpdate=_)}}if(m!==null){var le=v.baseState,fe=Se,be=null,qe=null,pt=null,ot=m;do{var Xt=ot.lane,Ht=ot.eventTime;if(gu(c,Xt)){if(pt!==null){var Ce={eventTime:Ht,lane:$t,tag:ot.tag,payload:ot.payload,callback:ot.callback,next:null};pt=pt.next=Ce}le=K2(e,v,ot,le,t,s);var ae=ot.callback;if(ae!==null&&ot.lane!==$t){e.flags|=no;var Pe=v.effects;Pe===null?v.effects=[ot]:Pe.push(ot)}}else{var re={eventTime:Ht,lane:Xt,tag:ot.tag,payload:ot.payload,callback:ot.callback,next:null};pt===null?(qe=pt=re,be=le):pt=pt.next=re,fe=kt(fe,Xt)}if(ot=ot.next,ot===null){if(I=v.shared.pending,I===null)break;var Qe=I,Xe=Qe.next;Qe.next=null,ot=Xe,v.lastBaseUpdate=Qe,v.shared.pending=null}}while(!0);pt===null&&(be=le),v.baseState=be,v.firstBaseUpdate=qe,v.lastBaseUpdate=pt;var Et=v.shared.interleaved;if(Et!==null){var Ot=Et;do fe=kt(fe,Ot.lane),Ot=Ot.next;while(Ot!==Et)}else m===null&&(v.shared.lanes=Se);$h(fe),e.lanes=fe,e.memoizedState=le}yy=null}function eL(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function jR(){gy=!1}function xy(){return gy}function kR(e,t,s){var c=t.effects;if(t.effects=null,c!==null)for(var v=0;v<c.length;v++){var m=c[v],S=m.callback;S!==null&&(m.callback=null,eL(S,s))}}var ux={},MR=new n.Component().refs,lx,cx,fx,dx,px,LR,Ey,vx,hx,mx;{lx=new Set,cx=new Set,fx=new Set,dx=new Set,vx=new Set,px=new Set,hx=new Set,mx=new Set;var FR=new Set;Ey=function(e,t){if(!(e===null||typeof e=="function")){var s=t+"_"+e;FR.has(s)||(FR.add(s),p("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},LR=function(e,t){if(t===void 0){var s=Jt(e)||"Component";px.has(s)||(px.add(s),p("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",s))}},Object.defineProperty(ux,"_processChildContext",{enumerable:!1,value:function(){throw new 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(ux)}function gx(e,t,s,c){var v=e.memoizedState,m=s(c,v);{if(e.mode&Zn){gr(!0);try{m=s(c,v)}finally{gr(!1)}}LR(t,m)}var S=m==null?v:Ft({},v,m);if(e.memoizedState=S,e.lanes===Se){var I=e.updateQueue;I.baseState=S}}var yx={isMounted:$a,enqueueSetState:function(e,t,s){var c=oi(e),v=qa(),m=rc(c),S=ju(v,m);S.payload=t,s!=null&&(Ey(s,"setState"),S.callback=s);var I=Zl(c,S,m);I!==null&&(Gr(I,c,m,v),by(I,c,m)),ws(c,m)},enqueueReplaceState:function(e,t,s){var c=oi(e),v=qa(),m=rc(c),S=ju(v,m);S.tag=_R,S.payload=t,s!=null&&(Ey(s,"replaceState"),S.callback=s);var I=Zl(c,S,m);I!==null&&(Gr(I,c,m,v),by(I,c,m)),ws(c,m)},enqueueForceUpdate:function(e,t){var s=oi(e),c=qa(),v=rc(s),m=ju(c,v);m.tag=my,t!=null&&(Ey(t,"forceUpdate"),m.callback=t);var S=Zl(s,m,v);S!==null&&(Gr(S,s,v,c),by(S,s,v)),Rv(s,v)}};function PR(e,t,s,c,v,m,S){var I=e.stateNode;if(typeof I.shouldComponentUpdate=="function"){var _=I.shouldComponentUpdate(c,m,S);{if(e.mode&Zn){gr(!0);try{_=I.shouldComponentUpdate(c,m,S)}finally{gr(!1)}}_===void 0&&p("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Jt(t)||"Component")}return _}return t.prototype&&t.prototype.isPureReactComponent?!ut(s,c)||!ut(v,m):!0}function tL(e,t,s){var c=e.stateNode;{var v=Jt(t)||"Component",m=c.render;m||(t.prototype&&typeof t.prototype.render=="function"?p("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",v):p("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",v)),c.getInitialState&&!c.getInitialState.isReactClassApproved&&!c.state&&p("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?",v),c.getDefaultProps&&!c.getDefaultProps.isReactClassApproved&&p("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.",v),c.propTypes&&p("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",v),c.contextType&&p("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",v),c.contextTypes&&p("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",v),t.contextType&&t.contextTypes&&!hx.has(t)&&(hx.add(t),p("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",v)),typeof c.componentShouldUpdate=="function"&&p("%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.",v),t.prototype&&t.prototype.isPureReactComponent&&typeof c.shouldComponentUpdate<"u"&&p("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Jt(t)||"A pure component"),typeof c.componentDidUnmount=="function"&&p("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",v),typeof c.componentDidReceiveProps=="function"&&p("%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().",v),typeof c.componentWillRecieveProps=="function"&&p("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",v),typeof c.UNSAFE_componentWillRecieveProps=="function"&&p("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",v);var S=c.props!==s;c.props!==void 0&&S&&p("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",v,v),c.defaultProps&&p("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",v,v),typeof c.getSnapshotBeforeUpdate=="function"&&typeof c.componentDidUpdate!="function"&&!fx.has(t)&&(fx.add(t),p("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Jt(t))),typeof c.getDerivedStateFromProps=="function"&&p("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",v),typeof c.getDerivedStateFromError=="function"&&p("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",v),typeof t.getSnapshotBeforeUpdate=="function"&&p("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",v);var I=c.state;I&&(typeof I!="object"||Ut(I))&&p("%s.state: must be set to an object or null",v),typeof c.getChildContext=="function"&&typeof t.childContextTypes!="object"&&p("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",v)}}function VR(e,t){t.updater=yx,e.stateNode=t,bl(t,e),t._reactInternalInstance=ux}function BR(e,t,s){var c=!1,v=Vi,m=Vi,S=t.contextType;if("contextType"in t){var I=S===null||S!==void 0&&S.$$typeof===Ue&&S._context===void 0;if(!I&&!mx.has(t)){mx.add(t);var _="";S===void 0?_=" 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 S!="object"?_=" However, it is set to a "+typeof S+".":S.$$typeof===je?_=" Did you accidentally pass the Context.Provider instead?":S._context!==void 0?_=" Did you accidentally pass the Context.Consumer instead?":_=" However, it is set to an object with keys {"+Object.keys(S).join(", ")+"}.",p("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Jt(t)||"Component",_)}}if(typeof S=="object"&&S!==null)m=Or(S);else{v=Yd(e,t,!0);var V=t.contextTypes;c=V!=null,m=c?Zd(e,v):Vi}var H=new t(s,m);if(e.mode&Zn){gr(!0);try{H=new t(s,m)}finally{gr(!1)}}var ee=e.memoizedState=H.state!==null&&H.state!==void 0?H.state:null;VR(e,H);{if(typeof t.getDerivedStateFromProps=="function"&&ee===null){var Q=Jt(t)||"Component";cx.has(Q)||(cx.add(Q),p("`%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.",Q,H.state===null?"null":"undefined",Q))}if(typeof t.getDerivedStateFromProps=="function"||typeof H.getSnapshotBeforeUpdate=="function"){var le=null,fe=null,be=null;if(typeof H.componentWillMount=="function"&&H.componentWillMount.__suppressDeprecationWarning!==!0?le="componentWillMount":typeof H.UNSAFE_componentWillMount=="function"&&(le="UNSAFE_componentWillMount"),typeof H.componentWillReceiveProps=="function"&&H.componentWillReceiveProps.__suppressDeprecationWarning!==!0?fe="componentWillReceiveProps":typeof H.UNSAFE_componentWillReceiveProps=="function"&&(fe="UNSAFE_componentWillReceiveProps"),typeof H.componentWillUpdate=="function"&&H.componentWillUpdate.__suppressDeprecationWarning!==!0?be="componentWillUpdate":typeof H.UNSAFE_componentWillUpdate=="function"&&(be="UNSAFE_componentWillUpdate"),le!==null||fe!==null||be!==null){var qe=Jt(t)||"Component",pt=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";dx.has(qe)||(dx.add(qe),p(`Unsafe legacy lifecycles will not be called for components using new component APIs.
161
161
 
162
162
  %s uses %s but also contains the following legacy lifecycles:%s%s%s
163
163
 
@@ -182,13 +182,13 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}retur
182
182
  See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function kx(e,t){if(jx)return!1;if(t===null)return p("%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.",we),!1;e.length!==t.length&&p(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
183
183
 
184
184
  Previous: %s
185
- Incoming: %s`,we,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var s=0;s<t.length&&s<e.length;s++)if(!nt(e[s],t[s]))return!1;return!0}function sp(e,t,s,c,v,m){df=m,xn=t,fo=e!==null?e._debugHookTypes:null,Ql=-1,jx=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=Se,e!==null&&e.memoizedState!==null?Ze.current=gT:fo!==null?Ze.current=mT:Ze.current=hT;var S=s(c,v);if(Rh){var I=0;do{if(Rh=!1,Th=0,I>=dL)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");I+=1,jx=!1,Vr=null,Br=null,t.updateQueue=null,Ql=-1,Ze.current=yT,S=s(c,v)}while(Rh)}Ze.current=zy,t._debugHookTypes=fo;var _=Vr!==null&&Vr.next!==null;if(df=Se,xn=null,Vr=null,Br=null,we=null,fo=null,Ql=-1,e!==null&&(e.flags&kr)!==(t.flags&kr)&&(e.mode&Vt)!==mt&&p("Internal React error: Expected static flag was missing. Please notify the React team."),Ay=!1,_)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return S}function up(){var e=Th!==0;return Th=0,e}function JR(e,t,s){t.updateQueue=e.updateQueue,(t.mode&fi)!==mt?t.flags&=~(su|Ta|Un|jt):t.flags&=~(Un|jt),e.lanes=Al(e.lanes,s)}function qR(){if(Ze.current=zy,Ay){for(var e=xn.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Ay=!1}df=Se,xn=null,Vr=null,Br=null,fo=null,Ql=-1,we=null,cT=!1,Rh=!1,Th=0}function Ls(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Br===null?xn.memoizedState=Br=e:Br=Br.next=e,Br}function po(){var e;if(Vr===null){var t=xn.alternate;t!==null?e=t.memoizedState:e=null}else e=Vr.next;var s;if(Br===null?s=xn.memoizedState:s=Br.next,s!==null)Br=s,s=Br.next,Vr=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Vr=e;var c={memoizedState:Vr.memoizedState,baseState:Vr.baseState,baseQueue:Vr.baseQueue,queue:Vr.queue,next:null};Br===null?xn.memoizedState=Br=c:Br=Br.next=c}return Br}function QR(){return{lastEffect:null,stores:null}}function Mx(e,t){return typeof t=="function"?t(e):t}function Lx(e,t,s){var c=Ls(),v;s!==void 0?v=s(t):v=t,c.memoizedState=c.baseState=v;var m={pending:null,interleaved:null,lanes:Se,dispatch:null,lastRenderedReducer:e,lastRenderedState:v};c.queue=m;var S=m.dispatch=gL.bind(null,xn,m);return[c.memoizedState,S]}function Fx(e,t,s){var c=po(),v=c.queue;if(v===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");v.lastRenderedReducer=e;var m=Vr,S=m.baseQueue,I=v.pending;if(I!==null){if(S!==null){var _=S.next,V=I.next;S.next=V,I.next=_}m.baseQueue!==S&&p("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),m.baseQueue=S=I,v.pending=null}if(S!==null){var H=S.next,ee=m.baseState,Q=null,le=null,fe=null,be=H;do{var qe=be.lane;if(gu(df,qe)){if(fe!==null){var ot={lane:$t,action:be.action,hasEagerState:be.hasEagerState,eagerState:be.eagerState,next:null};fe=fe.next=ot}if(be.hasEagerState)ee=be.eagerState;else{var Xt=be.action;ee=e(ee,Xt)}}else{var pt={lane:qe,action:be.action,hasEagerState:be.hasEagerState,eagerState:be.eagerState,next:null};fe===null?(le=fe=pt,Q=ee):fe=fe.next=pt,xn.lanes=kt(xn.lanes,qe),$h(qe)}be=be.next}while(be!==null&&be!==H);fe===null?Q=ee:fe.next=le,nt(ee,c.memoizedState)||jh(),c.memoizedState=ee,c.baseState=Q,c.baseQueue=fe,v.lastRenderedState=ee}var Ht=v.interleaved;if(Ht!==null){var re=Ht;do{var Ce=re.lane;xn.lanes=kt(xn.lanes,Ce),$h(Ce),re=re.next}while(re!==Ht)}else S===null&&(v.lanes=Se);var ae=v.dispatch;return[c.memoizedState,ae]}function Px(e,t,s){var c=po(),v=c.queue;if(v===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");v.lastRenderedReducer=e;var m=v.dispatch,S=v.pending,I=c.memoizedState;if(S!==null){v.pending=null;var _=S.next,V=_;do{var H=V.action;I=e(I,H),V=V.next}while(V!==_);nt(I,c.memoizedState)||jh(),c.memoizedState=I,c.baseQueue===null&&(c.baseState=I),v.lastRenderedState=I}return[I,m]}function OZ(e,t,s){}function _Z(e,t,s){}function Vx(e,t,s){var c=xn,v=Ls(),m,S=la();if(S){if(s===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");m=s(),ip||m!==s()&&(p("The result of getServerSnapshot should be cached to avoid an infinite loop"),ip=!0)}else{if(m=t(),!ip){var I=t();nt(m,I)||(p("The result of getSnapshot should be cached to avoid an infinite loop"),ip=!0)}var _=ib();if(_===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Hc(_,df)||KR(c,t,m)}v.memoizedState=m;var V={value:m,getSnapshot:t};return v.queue=V,jy(tT.bind(null,c,V,e),[e]),c.flags|=Un,Ih(Fr|ca,eT.bind(null,c,V,m,t),void 0,null),m}function Ny(e,t,s){var c=xn,v=po(),m=t();if(!ip){var S=t();nt(m,S)||(p("The result of getSnapshot should be cached to avoid an infinite loop"),ip=!0)}var I=v.memoizedState,_=!nt(I,m);_&&(v.memoizedState=m,jh());var V=v.queue;if(Nh(tT.bind(null,c,V,e),[e]),V.getSnapshot!==t||_||Br!==null&&Br.memoizedState.tag&Fr){c.flags|=Un,Ih(Fr|ca,eT.bind(null,c,V,m,t),void 0,null);var H=ib();if(H===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Hc(H,df)||KR(c,t,m)}return m}function KR(e,t,s){e.flags|=jc;var c={getSnapshot:t,value:s},v=xn.updateQueue;if(v===null)v=QR(),xn.updateQueue=v,v.stores=[c];else{var m=v.stores;m===null?v.stores=[c]:m.push(c)}}function eT(e,t,s,c){t.value=s,t.getSnapshot=c,nT(t)&&rT(e)}function tT(e,t,s){var c=function(){nT(t)&&rT(e)};return s(c)}function nT(e){var t=e.getSnapshot,s=e.value;try{var c=t();return!nt(s,c)}catch{return!0}}function rT(e){var t=bi(e,bt);t!==null&&Gr(t,e,bt,Nn)}function Oy(e){var t=Ls();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var s={pending:null,interleaved:null,lanes:Se,dispatch:null,lastRenderedReducer:Mx,lastRenderedState:e};t.queue=s;var c=s.dispatch=yL.bind(null,xn,s);return[t.memoizedState,c]}function Bx(e){return Fx(Mx)}function zx(e){return Px(Mx)}function Ih(e,t,s,c){var v={tag:e,create:t,destroy:s,deps:c,next:null},m=xn.updateQueue;if(m===null)m=QR(),xn.updateQueue=m,m.lastEffect=v.next=v;else{var S=m.lastEffect;if(S===null)m.lastEffect=v.next=v;else{var I=S.next;S.next=v,v.next=I,m.lastEffect=v}}return v}function Hx(e){var t=Ls();{var s={current:e};return t.memoizedState=s,s}}function _y(e){var t=po();return t.memoizedState}function Ah(e,t,s,c){var v=Ls(),m=c===void 0?null:c;xn.flags|=e,v.memoizedState=Ih(Fr|t,s,void 0,m)}function Dy(e,t,s,c){var v=po(),m=c===void 0?null:c,S=void 0;if(Vr!==null){var I=Vr.memoizedState;if(S=I.destroy,m!==null){var _=I.deps;if(kx(m,_)){v.memoizedState=Ih(t,s,S,m);return}}}xn.flags|=e,v.memoizedState=Ih(Fr|t,s,S,m)}function jy(e,t){return(xn.mode&fi)!==mt?Ah(su|Un|ys,ca,e,t):Ah(Un|ys,ca,e,t)}function Nh(e,t){return Dy(Un,ca,e,t)}function Ux(e,t){return Ah(jt,Ms,e,t)}function ky(e,t){return Dy(jt,Ms,e,t)}function Gx(e,t){var s=jt;return s|=Ra,(xn.mode&fi)!==mt&&(s|=Ta),Ah(s,Pr,e,t)}function My(e,t){return Dy(jt,Pr,e,t)}function aT(e,t){if(typeof t=="function"){var s=t,c=e();return s(c),function(){s(null)}}else if(t!=null){var v=t;v.hasOwnProperty("current")||p("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(v).join(", ")+"}");var m=e();return v.current=m,function(){v.current=null}}}function $x(e,t,s){typeof t!="function"&&p("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var c=s!=null?s.concat([e]):null,v=jt;return v|=Ra,(xn.mode&fi)!==mt&&(v|=Ta),Ah(v,Pr,aT.bind(null,t,e),c)}function Ly(e,t,s){typeof t!="function"&&p("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var c=s!=null?s.concat([e]):null;return Dy(jt,Pr,aT.bind(null,t,e),c)}function vL(e,t){}var Fy=vL;function Wx(e,t){var s=Ls(),c=t===void 0?null:t;return s.memoizedState=[e,c],e}function Py(e,t){var s=po(),c=t===void 0?null:t,v=s.memoizedState;if(v!==null&&c!==null){var m=v[1];if(kx(c,m))return v[0]}return s.memoizedState=[e,c],e}function Xx(e,t){var s=Ls(),c=t===void 0?null:t,v=e();return s.memoizedState=[v,c],v}function Vy(e,t){var s=po(),c=t===void 0?null:t,v=s.memoizedState;if(v!==null&&c!==null){var m=v[1];if(kx(c,m))return v[0]}var S=e();return s.memoizedState=[S,c],S}function Yx(e){var t=Ls();return t.memoizedState=e,e}function iT(e){var t=po(),s=Vr,c=s.memoizedState;return sT(t,c,e)}function oT(e){var t=po();if(Vr===null)return t.memoizedState=e,e;var s=Vr.memoizedState;return sT(t,s,e)}function sT(e,t,s){var c=!eC(df);if(c){if(!nt(s,t)){var v=Ov();xn.lanes=kt(xn.lanes,v),$h(v),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,jh()),e.memoizedState=s,s}function hL(e,t,s){var c=pi();br(Yr(c,Lr)),e(!0);var v=wh.transition;wh.transition={};var m=wh.transition;wh.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(br(c),wh.transition=v,v===null&&m._updatedFibers){var S=m._updatedFibers.size;S>10&&d("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),m._updatedFibers.clear()}}}function Zx(){var e=Oy(!1),t=e[0],s=e[1],c=hL.bind(null,s),v=Ls();return v.memoizedState=c,[t,c]}function uT(){var e=Bx(),t=e[0],s=po(),c=s.memoizedState;return[t,c]}function lT(){var e=zx(),t=e[0],s=po(),c=s.memoizedState;return[t,c]}var cT=!1;function mL(){return cT}function Jx(){var e=Ls(),t=ib(),s=t.identifierPrefix,c;if(la()){var v=O2();c=":"+s+"R"+v;var m=Th++;m>0&&(c+="H"+m.toString(32)),c+=":"}else{var S=fL++;c=":"+s+"r"+S.toString(32)+":"}return e.memoizedState=c,c}function By(){var e=po(),t=e.memoizedState;return t}function gL(e,t,s){typeof arguments[3]=="function"&&p("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 c=rc(e),v={lane:c,action:s,hasEagerState:!1,eagerState:null,next:null};if(fT(e))dT(t,v);else{var m=NR(e,t,v,c);if(m!==null){var S=qa();Gr(m,e,c,S),pT(m,t,c)}}vT(e,c)}function yL(e,t,s){typeof arguments[3]=="function"&&p("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 c=rc(e),v={lane:c,action:s,hasEagerState:!1,eagerState:null,next:null};if(fT(e))dT(t,v);else{var m=e.alternate;if(e.lanes===Se&&(m===null||m.lanes===Se)){var S=t.lastRenderedReducer;if(S!==null){var I;I=Ze.current,Ze.current=Uo;try{var _=t.lastRenderedState,V=S(_,s);if(v.hasEagerState=!0,v.eagerState=V,nt(V,_)){J2(e,t,v,c);return}}catch{}finally{Ze.current=I}}}var H=NR(e,t,v,c);if(H!==null){var ee=qa();Gr(H,e,c,ee),pT(H,t,c)}}vT(e,c)}function fT(e){var t=e.alternate;return e===xn||t!==null&&t===xn}function dT(e,t){Rh=Ay=!0;var s=e.pending;s===null?t.next=t:(t.next=s.next,s.next=t),e.pending=t}function pT(e,t,s){if(Nv(s)){var c=t.lanes;c=_v(c,e.pendingLanes);var v=kt(c,s);t.lanes=v,Nl(e,v)}}function vT(e,t,s){ws(e,t)}var zy={readContext:Or,useCallback:ka,useContext:ka,useEffect:ka,useImperativeHandle:ka,useInsertionEffect:ka,useLayoutEffect:ka,useMemo:ka,useReducer:ka,useRef:ka,useState:ka,useDebugValue:ka,useDeferredValue:ka,useTransition:ka,useMutableSource:ka,useSyncExternalStore:ka,useId:ka,unstable_isNewReconciler:ve},hT=null,mT=null,gT=null,yT=null,Fs=null,Uo=null,Hy=null;{var qx=function(){p("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().")},Nt=function(){p("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")};hT={readContext:function(e){return Or(e)},useCallback:function(e,t){return we="useCallback",vn(),op(t),Wx(e,t)},useContext:function(e){return we="useContext",vn(),Or(e)},useEffect:function(e,t){return we="useEffect",vn(),op(t),jy(e,t)},useImperativeHandle:function(e,t,s){return we="useImperativeHandle",vn(),op(s),$x(e,t,s)},useInsertionEffect:function(e,t){return we="useInsertionEffect",vn(),op(t),Ux(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",vn(),op(t),Gx(e,t)},useMemo:function(e,t){we="useMemo",vn(),op(t);var s=Ze.current;Ze.current=Fs;try{return Xx(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){we="useReducer",vn();var c=Ze.current;Ze.current=Fs;try{return Lx(e,t,s)}finally{Ze.current=c}},useRef:function(e){return we="useRef",vn(),Hx(e)},useState:function(e){we="useState",vn();var t=Ze.current;Ze.current=Fs;try{return Oy(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return we="useDebugValue",vn(),void 0},useDeferredValue:function(e){return we="useDeferredValue",vn(),Yx(e)},useTransition:function(){return we="useTransition",vn(),Zx()},useMutableSource:function(e,t,s){return we="useMutableSource",vn(),void 0},useSyncExternalStore:function(e,t,s){return we="useSyncExternalStore",vn(),Vx(e,t,s)},useId:function(){return we="useId",vn(),Jx()},unstable_isNewReconciler:ve},mT={readContext:function(e){return Or(e)},useCallback:function(e,t){return we="useCallback",$e(),Wx(e,t)},useContext:function(e){return we="useContext",$e(),Or(e)},useEffect:function(e,t){return we="useEffect",$e(),jy(e,t)},useImperativeHandle:function(e,t,s){return we="useImperativeHandle",$e(),$x(e,t,s)},useInsertionEffect:function(e,t){return we="useInsertionEffect",$e(),Ux(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",$e(),Gx(e,t)},useMemo:function(e,t){we="useMemo",$e();var s=Ze.current;Ze.current=Fs;try{return Xx(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){we="useReducer",$e();var c=Ze.current;Ze.current=Fs;try{return Lx(e,t,s)}finally{Ze.current=c}},useRef:function(e){return we="useRef",$e(),Hx(e)},useState:function(e){we="useState",$e();var t=Ze.current;Ze.current=Fs;try{return Oy(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return we="useDebugValue",$e(),void 0},useDeferredValue:function(e){return we="useDeferredValue",$e(),Yx(e)},useTransition:function(){return we="useTransition",$e(),Zx()},useMutableSource:function(e,t,s){return we="useMutableSource",$e(),void 0},useSyncExternalStore:function(e,t,s){return we="useSyncExternalStore",$e(),Vx(e,t,s)},useId:function(){return we="useId",$e(),Jx()},unstable_isNewReconciler:ve},gT={readContext:function(e){return Or(e)},useCallback:function(e,t){return we="useCallback",$e(),Py(e,t)},useContext:function(e){return we="useContext",$e(),Or(e)},useEffect:function(e,t){return we="useEffect",$e(),Nh(e,t)},useImperativeHandle:function(e,t,s){return we="useImperativeHandle",$e(),Ly(e,t,s)},useInsertionEffect:function(e,t){return we="useInsertionEffect",$e(),ky(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",$e(),My(e,t)},useMemo:function(e,t){we="useMemo",$e();var s=Ze.current;Ze.current=Uo;try{return Vy(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){we="useReducer",$e();var c=Ze.current;Ze.current=Uo;try{return Fx(e,t,s)}finally{Ze.current=c}},useRef:function(e){return we="useRef",$e(),_y()},useState:function(e){we="useState",$e();var t=Ze.current;Ze.current=Uo;try{return Bx(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return we="useDebugValue",$e(),Fy()},useDeferredValue:function(e){return we="useDeferredValue",$e(),iT(e)},useTransition:function(){return we="useTransition",$e(),uT()},useMutableSource:function(e,t,s){return we="useMutableSource",$e(),void 0},useSyncExternalStore:function(e,t,s){return we="useSyncExternalStore",$e(),Ny(e,t)},useId:function(){return we="useId",$e(),By()},unstable_isNewReconciler:ve},yT={readContext:function(e){return Or(e)},useCallback:function(e,t){return we="useCallback",$e(),Py(e,t)},useContext:function(e){return we="useContext",$e(),Or(e)},useEffect:function(e,t){return we="useEffect",$e(),Nh(e,t)},useImperativeHandle:function(e,t,s){return we="useImperativeHandle",$e(),Ly(e,t,s)},useInsertionEffect:function(e,t){return we="useInsertionEffect",$e(),ky(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",$e(),My(e,t)},useMemo:function(e,t){we="useMemo",$e();var s=Ze.current;Ze.current=Hy;try{return Vy(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){we="useReducer",$e();var c=Ze.current;Ze.current=Hy;try{return Px(e,t,s)}finally{Ze.current=c}},useRef:function(e){return we="useRef",$e(),_y()},useState:function(e){we="useState",$e();var t=Ze.current;Ze.current=Hy;try{return zx(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return we="useDebugValue",$e(),Fy()},useDeferredValue:function(e){return we="useDeferredValue",$e(),oT(e)},useTransition:function(){return we="useTransition",$e(),lT()},useMutableSource:function(e,t,s){return we="useMutableSource",$e(),void 0},useSyncExternalStore:function(e,t,s){return we="useSyncExternalStore",$e(),Ny(e,t)},useId:function(){return we="useId",$e(),By()},unstable_isNewReconciler:ve},Fs={readContext:function(e){return qx(),Or(e)},useCallback:function(e,t){return we="useCallback",Nt(),vn(),Wx(e,t)},useContext:function(e){return we="useContext",Nt(),vn(),Or(e)},useEffect:function(e,t){return we="useEffect",Nt(),vn(),jy(e,t)},useImperativeHandle:function(e,t,s){return we="useImperativeHandle",Nt(),vn(),$x(e,t,s)},useInsertionEffect:function(e,t){return we="useInsertionEffect",Nt(),vn(),Ux(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",Nt(),vn(),Gx(e,t)},useMemo:function(e,t){we="useMemo",Nt(),vn();var s=Ze.current;Ze.current=Fs;try{return Xx(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){we="useReducer",Nt(),vn();var c=Ze.current;Ze.current=Fs;try{return Lx(e,t,s)}finally{Ze.current=c}},useRef:function(e){return we="useRef",Nt(),vn(),Hx(e)},useState:function(e){we="useState",Nt(),vn();var t=Ze.current;Ze.current=Fs;try{return Oy(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return we="useDebugValue",Nt(),vn(),void 0},useDeferredValue:function(e){return we="useDeferredValue",Nt(),vn(),Yx(e)},useTransition:function(){return we="useTransition",Nt(),vn(),Zx()},useMutableSource:function(e,t,s){return we="useMutableSource",Nt(),vn(),void 0},useSyncExternalStore:function(e,t,s){return we="useSyncExternalStore",Nt(),vn(),Vx(e,t,s)},useId:function(){return we="useId",Nt(),vn(),Jx()},unstable_isNewReconciler:ve},Uo={readContext:function(e){return qx(),Or(e)},useCallback:function(e,t){return we="useCallback",Nt(),$e(),Py(e,t)},useContext:function(e){return we="useContext",Nt(),$e(),Or(e)},useEffect:function(e,t){return we="useEffect",Nt(),$e(),Nh(e,t)},useImperativeHandle:function(e,t,s){return we="useImperativeHandle",Nt(),$e(),Ly(e,t,s)},useInsertionEffect:function(e,t){return we="useInsertionEffect",Nt(),$e(),ky(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",Nt(),$e(),My(e,t)},useMemo:function(e,t){we="useMemo",Nt(),$e();var s=Ze.current;Ze.current=Uo;try{return Vy(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){we="useReducer",Nt(),$e();var c=Ze.current;Ze.current=Uo;try{return Fx(e,t,s)}finally{Ze.current=c}},useRef:function(e){return we="useRef",Nt(),$e(),_y()},useState:function(e){we="useState",Nt(),$e();var t=Ze.current;Ze.current=Uo;try{return Bx(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return we="useDebugValue",Nt(),$e(),Fy()},useDeferredValue:function(e){return we="useDeferredValue",Nt(),$e(),iT(e)},useTransition:function(){return we="useTransition",Nt(),$e(),uT()},useMutableSource:function(e,t,s){return we="useMutableSource",Nt(),$e(),void 0},useSyncExternalStore:function(e,t,s){return we="useSyncExternalStore",Nt(),$e(),Ny(e,t)},useId:function(){return we="useId",Nt(),$e(),By()},unstable_isNewReconciler:ve},Hy={readContext:function(e){return qx(),Or(e)},useCallback:function(e,t){return we="useCallback",Nt(),$e(),Py(e,t)},useContext:function(e){return we="useContext",Nt(),$e(),Or(e)},useEffect:function(e,t){return we="useEffect",Nt(),$e(),Nh(e,t)},useImperativeHandle:function(e,t,s){return we="useImperativeHandle",Nt(),$e(),Ly(e,t,s)},useInsertionEffect:function(e,t){return we="useInsertionEffect",Nt(),$e(),ky(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",Nt(),$e(),My(e,t)},useMemo:function(e,t){we="useMemo",Nt(),$e();var s=Ze.current;Ze.current=Uo;try{return Vy(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){we="useReducer",Nt(),$e();var c=Ze.current;Ze.current=Uo;try{return Px(e,t,s)}finally{Ze.current=c}},useRef:function(e){return we="useRef",Nt(),$e(),_y()},useState:function(e){we="useState",Nt(),$e();var t=Ze.current;Ze.current=Uo;try{return zx(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return we="useDebugValue",Nt(),$e(),Fy()},useDeferredValue:function(e){return we="useDeferredValue",Nt(),$e(),oT(e)},useTransition:function(){return we="useTransition",Nt(),$e(),lT()},useMutableSource:function(e,t,s){return we="useMutableSource",Nt(),$e(),void 0},useSyncExternalStore:function(e,t,s){return we="useSyncExternalStore",Nt(),$e(),Ny(e,t)},useId:function(){return we="useId",Nt(),$e(),By()},unstable_isNewReconciler:ve}}var Kl=r.unstable_now,bT=0,Uy=-1,Oh=-1,Gy=-1,Qx=!1,$y=!1;function CT(){return Qx}function bL(){$y=!0}function CL(){Qx=!1,$y=!1}function xL(){Qx=$y,$y=!1}function xT(){return bT}function ET(){bT=Kl()}function Kx(e){Oh=Kl(),e.actualStartTime<0&&(e.actualStartTime=Kl())}function ST(e){Oh=-1}function Wy(e,t){if(Oh>=0){var s=Kl()-Oh;e.actualDuration+=s,t&&(e.selfBaseDuration=s),Oh=-1}}function Ps(e){if(Uy>=0){var t=Kl()-Uy;Uy=-1;for(var s=e.return;s!==null;){switch(s.tag){case R:var c=s.stateNode;c.effectDuration+=t;return;case U:var v=s.stateNode;v.effectDuration+=t;return}s=s.return}}}function eE(e){if(Gy>=0){var t=Kl()-Gy;Gy=-1;for(var s=e.return;s!==null;){switch(s.tag){case R:var c=s.stateNode;c!==null&&(c.passiveEffectDuration+=t);return;case U:var v=s.stateNode;v!==null&&(v.passiveEffectDuration+=t);return}s=s.return}}}function Vs(){Uy=Kl()}function tE(){Gy=Kl()}function nE(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function pf(e,t){return{value:e,source:t,stack:ol(t),digest:null}}function rE(e,t,s){return{value:e,source:null,stack:s??null,digest:t??null}}function EL(e,t){return!0}function aE(e,t){try{var s=EL(e,t);if(s===!1)return;var c=t.value,v=t.source,m=t.stack,S=m!==null?m:"";if(c!=null&&c._suppressLogging){if(e.tag===b)return;console.error(c)}var I=v?At(v):null,_=I?"The above error occurred in the <"+I+"> component:":"The above error occurred in one of your React components:",V;if(e.tag===R)V=`Consider adding an error boundary to your tree to customize error handling behavior.
185
+ Incoming: %s`,we,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var s=0;s<t.length&&s<e.length;s++)if(!nt(e[s],t[s]))return!1;return!0}function sp(e,t,s,c,v,m){df=m,xn=t,fo=e!==null?e._debugHookTypes:null,Ql=-1,jx=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=Se,e!==null&&e.memoizedState!==null?Ze.current=gT:fo!==null?Ze.current=mT:Ze.current=hT;var S=s(c,v);if(Rh){var I=0;do{if(Rh=!1,Th=0,I>=dL)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");I+=1,jx=!1,Vr=null,Br=null,t.updateQueue=null,Ql=-1,Ze.current=yT,S=s(c,v)}while(Rh)}Ze.current=zy,t._debugHookTypes=fo;var _=Vr!==null&&Vr.next!==null;if(df=Se,xn=null,Vr=null,Br=null,we=null,fo=null,Ql=-1,e!==null&&(e.flags&kr)!==(t.flags&kr)&&(e.mode&Vt)!==mt&&p("Internal React error: Expected static flag was missing. Please notify the React team."),Ay=!1,_)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return S}function up(){var e=Th!==0;return Th=0,e}function JR(e,t,s){t.updateQueue=e.updateQueue,(t.mode&fi)!==mt?t.flags&=~(su|Ta|Un|jt):t.flags&=~(Un|jt),e.lanes=Al(e.lanes,s)}function qR(){if(Ze.current=zy,Ay){for(var e=xn.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Ay=!1}df=Se,xn=null,Vr=null,Br=null,fo=null,Ql=-1,we=null,cT=!1,Rh=!1,Th=0}function Ls(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Br===null?xn.memoizedState=Br=e:Br=Br.next=e,Br}function po(){var e;if(Vr===null){var t=xn.alternate;t!==null?e=t.memoizedState:e=null}else e=Vr.next;var s;if(Br===null?s=xn.memoizedState:s=Br.next,s!==null)Br=s,s=Br.next,Vr=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Vr=e;var c={memoizedState:Vr.memoizedState,baseState:Vr.baseState,baseQueue:Vr.baseQueue,queue:Vr.queue,next:null};Br===null?xn.memoizedState=Br=c:Br=Br.next=c}return Br}function QR(){return{lastEffect:null,stores:null}}function Mx(e,t){return typeof t=="function"?t(e):t}function Lx(e,t,s){var c=Ls(),v;s!==void 0?v=s(t):v=t,c.memoizedState=c.baseState=v;var m={pending:null,interleaved:null,lanes:Se,dispatch:null,lastRenderedReducer:e,lastRenderedState:v};c.queue=m;var S=m.dispatch=gL.bind(null,xn,m);return[c.memoizedState,S]}function Fx(e,t,s){var c=po(),v=c.queue;if(v===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");v.lastRenderedReducer=e;var m=Vr,S=m.baseQueue,I=v.pending;if(I!==null){if(S!==null){var _=S.next,V=I.next;S.next=V,I.next=_}m.baseQueue!==S&&p("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),m.baseQueue=S=I,v.pending=null}if(S!==null){var H=S.next,ee=m.baseState,Q=null,le=null,fe=null,be=H;do{var qe=be.lane;if(gu(df,qe)){if(fe!==null){var ot={lane:$t,action:be.action,hasEagerState:be.hasEagerState,eagerState:be.eagerState,next:null};fe=fe.next=ot}if(be.hasEagerState)ee=be.eagerState;else{var Xt=be.action;ee=e(ee,Xt)}}else{var pt={lane:qe,action:be.action,hasEagerState:be.hasEagerState,eagerState:be.eagerState,next:null};fe===null?(le=fe=pt,Q=ee):fe=fe.next=pt,xn.lanes=kt(xn.lanes,qe),$h(qe)}be=be.next}while(be!==null&&be!==H);fe===null?Q=ee:fe.next=le,nt(ee,c.memoizedState)||jh(),c.memoizedState=ee,c.baseState=Q,c.baseQueue=fe,v.lastRenderedState=ee}var Ht=v.interleaved;if(Ht!==null){var re=Ht;do{var Ce=re.lane;xn.lanes=kt(xn.lanes,Ce),$h(Ce),re=re.next}while(re!==Ht)}else S===null&&(v.lanes=Se);var ae=v.dispatch;return[c.memoizedState,ae]}function Px(e,t,s){var c=po(),v=c.queue;if(v===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");v.lastRenderedReducer=e;var m=v.dispatch,S=v.pending,I=c.memoizedState;if(S!==null){v.pending=null;var _=S.next,V=_;do{var H=V.action;I=e(I,H),V=V.next}while(V!==_);nt(I,c.memoizedState)||jh(),c.memoizedState=I,c.baseQueue===null&&(c.baseState=I),v.lastRenderedState=I}return[I,m]}function OZ(e,t,s){}function _Z(e,t,s){}function Vx(e,t,s){var c=xn,v=Ls(),m,S=la();if(S){if(s===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");m=s(),ip||m!==s()&&(p("The result of getServerSnapshot should be cached to avoid an infinite loop"),ip=!0)}else{if(m=t(),!ip){var I=t();nt(m,I)||(p("The result of getSnapshot should be cached to avoid an infinite loop"),ip=!0)}var _=ib();if(_===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Hc(_,df)||KR(c,t,m)}v.memoizedState=m;var V={value:m,getSnapshot:t};return v.queue=V,jy(tT.bind(null,c,V,e),[e]),c.flags|=Un,Ih(Fr|ca,eT.bind(null,c,V,m,t),void 0,null),m}function Ny(e,t,s){var c=xn,v=po(),m=t();if(!ip){var S=t();nt(m,S)||(p("The result of getSnapshot should be cached to avoid an infinite loop"),ip=!0)}var I=v.memoizedState,_=!nt(I,m);_&&(v.memoizedState=m,jh());var V=v.queue;if(Nh(tT.bind(null,c,V,e),[e]),V.getSnapshot!==t||_||Br!==null&&Br.memoizedState.tag&Fr){c.flags|=Un,Ih(Fr|ca,eT.bind(null,c,V,m,t),void 0,null);var H=ib();if(H===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Hc(H,df)||KR(c,t,m)}return m}function KR(e,t,s){e.flags|=jc;var c={getSnapshot:t,value:s},v=xn.updateQueue;if(v===null)v=QR(),xn.updateQueue=v,v.stores=[c];else{var m=v.stores;m===null?v.stores=[c]:m.push(c)}}function eT(e,t,s,c){t.value=s,t.getSnapshot=c,nT(t)&&rT(e)}function tT(e,t,s){var c=function(){nT(t)&&rT(e)};return s(c)}function nT(e){var t=e.getSnapshot,s=e.value;try{var c=t();return!nt(s,c)}catch{return!0}}function rT(e){var t=bi(e,bt);t!==null&&Gr(t,e,bt,Nn)}function Oy(e){var t=Ls();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var s={pending:null,interleaved:null,lanes:Se,dispatch:null,lastRenderedReducer:Mx,lastRenderedState:e};t.queue=s;var c=s.dispatch=yL.bind(null,xn,s);return[t.memoizedState,c]}function Bx(e){return Fx(Mx)}function zx(e){return Px(Mx)}function Ih(e,t,s,c){var v={tag:e,create:t,destroy:s,deps:c,next:null},m=xn.updateQueue;if(m===null)m=QR(),xn.updateQueue=m,m.lastEffect=v.next=v;else{var S=m.lastEffect;if(S===null)m.lastEffect=v.next=v;else{var I=S.next;S.next=v,v.next=I,m.lastEffect=v}}return v}function Hx(e){var t=Ls();{var s={current:e};return t.memoizedState=s,s}}function _y(e){var t=po();return t.memoizedState}function Ah(e,t,s,c){var v=Ls(),m=c===void 0?null:c;xn.flags|=e,v.memoizedState=Ih(Fr|t,s,void 0,m)}function Dy(e,t,s,c){var v=po(),m=c===void 0?null:c,S=void 0;if(Vr!==null){var I=Vr.memoizedState;if(S=I.destroy,m!==null){var _=I.deps;if(kx(m,_)){v.memoizedState=Ih(t,s,S,m);return}}}xn.flags|=e,v.memoizedState=Ih(Fr|t,s,S,m)}function jy(e,t){return(xn.mode&fi)!==mt?Ah(su|Un|ys,ca,e,t):Ah(Un|ys,ca,e,t)}function Nh(e,t){return Dy(Un,ca,e,t)}function Ux(e,t){return Ah(jt,Ms,e,t)}function ky(e,t){return Dy(jt,Ms,e,t)}function Gx(e,t){var s=jt;return s|=Ra,(xn.mode&fi)!==mt&&(s|=Ta),Ah(s,Pr,e,t)}function My(e,t){return Dy(jt,Pr,e,t)}function aT(e,t){if(typeof t=="function"){var s=t,c=e();return s(c),function(){s(null)}}else if(t!=null){var v=t;v.hasOwnProperty("current")||p("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(v).join(", ")+"}");var m=e();return v.current=m,function(){v.current=null}}}function $x(e,t,s){typeof t!="function"&&p("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var c=s!=null?s.concat([e]):null,v=jt;return v|=Ra,(xn.mode&fi)!==mt&&(v|=Ta),Ah(v,Pr,aT.bind(null,t,e),c)}function Ly(e,t,s){typeof t!="function"&&p("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var c=s!=null?s.concat([e]):null;return Dy(jt,Pr,aT.bind(null,t,e),c)}function vL(e,t){}var Fy=vL;function Wx(e,t){var s=Ls(),c=t===void 0?null:t;return s.memoizedState=[e,c],e}function Py(e,t){var s=po(),c=t===void 0?null:t,v=s.memoizedState;if(v!==null&&c!==null){var m=v[1];if(kx(c,m))return v[0]}return s.memoizedState=[e,c],e}function Xx(e,t){var s=Ls(),c=t===void 0?null:t,v=e();return s.memoizedState=[v,c],v}function Vy(e,t){var s=po(),c=t===void 0?null:t,v=s.memoizedState;if(v!==null&&c!==null){var m=v[1];if(kx(c,m))return v[0]}var S=e();return s.memoizedState=[S,c],S}function Yx(e){var t=Ls();return t.memoizedState=e,e}function iT(e){var t=po(),s=Vr,c=s.memoizedState;return sT(t,c,e)}function oT(e){var t=po();if(Vr===null)return t.memoizedState=e,e;var s=Vr.memoizedState;return sT(t,s,e)}function sT(e,t,s){var c=!eC(df);if(c){if(!nt(s,t)){var v=Ov();xn.lanes=kt(xn.lanes,v),$h(v),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,jh()),e.memoizedState=s,s}function hL(e,t,s){var c=pi();br(Yr(c,Lr)),e(!0);var v=wh.transition;wh.transition={};var m=wh.transition;wh.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(br(c),wh.transition=v,v===null&&m._updatedFibers){var S=m._updatedFibers.size;S>10&&d("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),m._updatedFibers.clear()}}}function Zx(){var e=Oy(!1),t=e[0],s=e[1],c=hL.bind(null,s),v=Ls();return v.memoizedState=c,[t,c]}function uT(){var e=Bx(),t=e[0],s=po(),c=s.memoizedState;return[t,c]}function lT(){var e=zx(),t=e[0],s=po(),c=s.memoizedState;return[t,c]}var cT=!1;function mL(){return cT}function Jx(){var e=Ls(),t=ib(),s=t.identifierPrefix,c;if(la()){var v=O2();c=":"+s+"R"+v;var m=Th++;m>0&&(c+="H"+m.toString(32)),c+=":"}else{var S=fL++;c=":"+s+"r"+S.toString(32)+":"}return e.memoizedState=c,c}function By(){var e=po(),t=e.memoizedState;return t}function gL(e,t,s){typeof arguments[3]=="function"&&p("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 c=rc(e),v={lane:c,action:s,hasEagerState:!1,eagerState:null,next:null};if(fT(e))dT(t,v);else{var m=NR(e,t,v,c);if(m!==null){var S=qa();Gr(m,e,c,S),pT(m,t,c)}}vT(e,c)}function yL(e,t,s){typeof arguments[3]=="function"&&p("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 c=rc(e),v={lane:c,action:s,hasEagerState:!1,eagerState:null,next:null};if(fT(e))dT(t,v);else{var m=e.alternate;if(e.lanes===Se&&(m===null||m.lanes===Se)){var S=t.lastRenderedReducer;if(S!==null){var I;I=Ze.current,Ze.current=Uo;try{var _=t.lastRenderedState,V=S(_,s);if(v.hasEagerState=!0,v.eagerState=V,nt(V,_)){J2(e,t,v,c);return}}catch{}finally{Ze.current=I}}}var H=NR(e,t,v,c);if(H!==null){var ee=qa();Gr(H,e,c,ee),pT(H,t,c)}}vT(e,c)}function fT(e){var t=e.alternate;return e===xn||t!==null&&t===xn}function dT(e,t){Rh=Ay=!0;var s=e.pending;s===null?t.next=t:(t.next=s.next,s.next=t),e.pending=t}function pT(e,t,s){if(Nv(s)){var c=t.lanes;c=_v(c,e.pendingLanes);var v=kt(c,s);t.lanes=v,Nl(e,v)}}function vT(e,t,s){ws(e,t)}var zy={readContext:Or,useCallback:ka,useContext:ka,useEffect:ka,useImperativeHandle:ka,useInsertionEffect:ka,useLayoutEffect:ka,useMemo:ka,useReducer:ka,useRef:ka,useState:ka,useDebugValue:ka,useDeferredValue:ka,useTransition:ka,useMutableSource:ka,useSyncExternalStore:ka,useId:ka,unstable_isNewReconciler:ve},hT=null,mT=null,gT=null,yT=null,Fs=null,Uo=null,Hy=null;{var qx=function(){p("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().")},Nt=function(){p("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")};hT={readContext:function(e){return Or(e)},useCallback:function(e,t){return we="useCallback",vn(),op(t),Wx(e,t)},useContext:function(e){return we="useContext",vn(),Or(e)},useEffect:function(e,t){return we="useEffect",vn(),op(t),jy(e,t)},useImperativeHandle:function(e,t,s){return we="useImperativeHandle",vn(),op(s),$x(e,t,s)},useInsertionEffect:function(e,t){return we="useInsertionEffect",vn(),op(t),Ux(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",vn(),op(t),Gx(e,t)},useMemo:function(e,t){we="useMemo",vn(),op(t);var s=Ze.current;Ze.current=Fs;try{return Xx(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){we="useReducer",vn();var c=Ze.current;Ze.current=Fs;try{return Lx(e,t,s)}finally{Ze.current=c}},useRef:function(e){return we="useRef",vn(),Hx(e)},useState:function(e){we="useState",vn();var t=Ze.current;Ze.current=Fs;try{return Oy(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return we="useDebugValue",vn(),void 0},useDeferredValue:function(e){return we="useDeferredValue",vn(),Yx(e)},useTransition:function(){return we="useTransition",vn(),Zx()},useMutableSource:function(e,t,s){return we="useMutableSource",vn(),void 0},useSyncExternalStore:function(e,t,s){return we="useSyncExternalStore",vn(),Vx(e,t,s)},useId:function(){return we="useId",vn(),Jx()},unstable_isNewReconciler:ve},mT={readContext:function(e){return Or(e)},useCallback:function(e,t){return we="useCallback",$e(),Wx(e,t)},useContext:function(e){return we="useContext",$e(),Or(e)},useEffect:function(e,t){return we="useEffect",$e(),jy(e,t)},useImperativeHandle:function(e,t,s){return we="useImperativeHandle",$e(),$x(e,t,s)},useInsertionEffect:function(e,t){return we="useInsertionEffect",$e(),Ux(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",$e(),Gx(e,t)},useMemo:function(e,t){we="useMemo",$e();var s=Ze.current;Ze.current=Fs;try{return Xx(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){we="useReducer",$e();var c=Ze.current;Ze.current=Fs;try{return Lx(e,t,s)}finally{Ze.current=c}},useRef:function(e){return we="useRef",$e(),Hx(e)},useState:function(e){we="useState",$e();var t=Ze.current;Ze.current=Fs;try{return Oy(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return we="useDebugValue",$e(),void 0},useDeferredValue:function(e){return we="useDeferredValue",$e(),Yx(e)},useTransition:function(){return we="useTransition",$e(),Zx()},useMutableSource:function(e,t,s){return we="useMutableSource",$e(),void 0},useSyncExternalStore:function(e,t,s){return we="useSyncExternalStore",$e(),Vx(e,t,s)},useId:function(){return we="useId",$e(),Jx()},unstable_isNewReconciler:ve},gT={readContext:function(e){return Or(e)},useCallback:function(e,t){return we="useCallback",$e(),Py(e,t)},useContext:function(e){return we="useContext",$e(),Or(e)},useEffect:function(e,t){return we="useEffect",$e(),Nh(e,t)},useImperativeHandle:function(e,t,s){return we="useImperativeHandle",$e(),Ly(e,t,s)},useInsertionEffect:function(e,t){return we="useInsertionEffect",$e(),ky(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",$e(),My(e,t)},useMemo:function(e,t){we="useMemo",$e();var s=Ze.current;Ze.current=Uo;try{return Vy(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){we="useReducer",$e();var c=Ze.current;Ze.current=Uo;try{return Fx(e,t,s)}finally{Ze.current=c}},useRef:function(e){return we="useRef",$e(),_y()},useState:function(e){we="useState",$e();var t=Ze.current;Ze.current=Uo;try{return Bx(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return we="useDebugValue",$e(),Fy()},useDeferredValue:function(e){return we="useDeferredValue",$e(),iT(e)},useTransition:function(){return we="useTransition",$e(),uT()},useMutableSource:function(e,t,s){return we="useMutableSource",$e(),void 0},useSyncExternalStore:function(e,t,s){return we="useSyncExternalStore",$e(),Ny(e,t)},useId:function(){return we="useId",$e(),By()},unstable_isNewReconciler:ve},yT={readContext:function(e){return Or(e)},useCallback:function(e,t){return we="useCallback",$e(),Py(e,t)},useContext:function(e){return we="useContext",$e(),Or(e)},useEffect:function(e,t){return we="useEffect",$e(),Nh(e,t)},useImperativeHandle:function(e,t,s){return we="useImperativeHandle",$e(),Ly(e,t,s)},useInsertionEffect:function(e,t){return we="useInsertionEffect",$e(),ky(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",$e(),My(e,t)},useMemo:function(e,t){we="useMemo",$e();var s=Ze.current;Ze.current=Hy;try{return Vy(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){we="useReducer",$e();var c=Ze.current;Ze.current=Hy;try{return Px(e,t,s)}finally{Ze.current=c}},useRef:function(e){return we="useRef",$e(),_y()},useState:function(e){we="useState",$e();var t=Ze.current;Ze.current=Hy;try{return zx(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return we="useDebugValue",$e(),Fy()},useDeferredValue:function(e){return we="useDeferredValue",$e(),oT(e)},useTransition:function(){return we="useTransition",$e(),lT()},useMutableSource:function(e,t,s){return we="useMutableSource",$e(),void 0},useSyncExternalStore:function(e,t,s){return we="useSyncExternalStore",$e(),Ny(e,t)},useId:function(){return we="useId",$e(),By()},unstable_isNewReconciler:ve},Fs={readContext:function(e){return qx(),Or(e)},useCallback:function(e,t){return we="useCallback",Nt(),vn(),Wx(e,t)},useContext:function(e){return we="useContext",Nt(),vn(),Or(e)},useEffect:function(e,t){return we="useEffect",Nt(),vn(),jy(e,t)},useImperativeHandle:function(e,t,s){return we="useImperativeHandle",Nt(),vn(),$x(e,t,s)},useInsertionEffect:function(e,t){return we="useInsertionEffect",Nt(),vn(),Ux(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",Nt(),vn(),Gx(e,t)},useMemo:function(e,t){we="useMemo",Nt(),vn();var s=Ze.current;Ze.current=Fs;try{return Xx(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){we="useReducer",Nt(),vn();var c=Ze.current;Ze.current=Fs;try{return Lx(e,t,s)}finally{Ze.current=c}},useRef:function(e){return we="useRef",Nt(),vn(),Hx(e)},useState:function(e){we="useState",Nt(),vn();var t=Ze.current;Ze.current=Fs;try{return Oy(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return we="useDebugValue",Nt(),vn(),void 0},useDeferredValue:function(e){return we="useDeferredValue",Nt(),vn(),Yx(e)},useTransition:function(){return we="useTransition",Nt(),vn(),Zx()},useMutableSource:function(e,t,s){return we="useMutableSource",Nt(),vn(),void 0},useSyncExternalStore:function(e,t,s){return we="useSyncExternalStore",Nt(),vn(),Vx(e,t,s)},useId:function(){return we="useId",Nt(),vn(),Jx()},unstable_isNewReconciler:ve},Uo={readContext:function(e){return qx(),Or(e)},useCallback:function(e,t){return we="useCallback",Nt(),$e(),Py(e,t)},useContext:function(e){return we="useContext",Nt(),$e(),Or(e)},useEffect:function(e,t){return we="useEffect",Nt(),$e(),Nh(e,t)},useImperativeHandle:function(e,t,s){return we="useImperativeHandle",Nt(),$e(),Ly(e,t,s)},useInsertionEffect:function(e,t){return we="useInsertionEffect",Nt(),$e(),ky(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",Nt(),$e(),My(e,t)},useMemo:function(e,t){we="useMemo",Nt(),$e();var s=Ze.current;Ze.current=Uo;try{return Vy(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){we="useReducer",Nt(),$e();var c=Ze.current;Ze.current=Uo;try{return Fx(e,t,s)}finally{Ze.current=c}},useRef:function(e){return we="useRef",Nt(),$e(),_y()},useState:function(e){we="useState",Nt(),$e();var t=Ze.current;Ze.current=Uo;try{return Bx(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return we="useDebugValue",Nt(),$e(),Fy()},useDeferredValue:function(e){return we="useDeferredValue",Nt(),$e(),iT(e)},useTransition:function(){return we="useTransition",Nt(),$e(),uT()},useMutableSource:function(e,t,s){return we="useMutableSource",Nt(),$e(),void 0},useSyncExternalStore:function(e,t,s){return we="useSyncExternalStore",Nt(),$e(),Ny(e,t)},useId:function(){return we="useId",Nt(),$e(),By()},unstable_isNewReconciler:ve},Hy={readContext:function(e){return qx(),Or(e)},useCallback:function(e,t){return we="useCallback",Nt(),$e(),Py(e,t)},useContext:function(e){return we="useContext",Nt(),$e(),Or(e)},useEffect:function(e,t){return we="useEffect",Nt(),$e(),Nh(e,t)},useImperativeHandle:function(e,t,s){return we="useImperativeHandle",Nt(),$e(),Ly(e,t,s)},useInsertionEffect:function(e,t){return we="useInsertionEffect",Nt(),$e(),ky(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",Nt(),$e(),My(e,t)},useMemo:function(e,t){we="useMemo",Nt(),$e();var s=Ze.current;Ze.current=Uo;try{return Vy(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){we="useReducer",Nt(),$e();var c=Ze.current;Ze.current=Uo;try{return Px(e,t,s)}finally{Ze.current=c}},useRef:function(e){return we="useRef",Nt(),$e(),_y()},useState:function(e){we="useState",Nt(),$e();var t=Ze.current;Ze.current=Uo;try{return zx(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return we="useDebugValue",Nt(),$e(),Fy()},useDeferredValue:function(e){return we="useDeferredValue",Nt(),$e(),oT(e)},useTransition:function(){return we="useTransition",Nt(),$e(),lT()},useMutableSource:function(e,t,s){return we="useMutableSource",Nt(),$e(),void 0},useSyncExternalStore:function(e,t,s){return we="useSyncExternalStore",Nt(),$e(),Ny(e,t)},useId:function(){return we="useId",Nt(),$e(),By()},unstable_isNewReconciler:ve}}var Kl=r.unstable_now,bT=0,Uy=-1,Oh=-1,Gy=-1,Qx=!1,$y=!1;function CT(){return Qx}function bL(){$y=!0}function CL(){Qx=!1,$y=!1}function xL(){Qx=$y,$y=!1}function xT(){return bT}function ET(){bT=Kl()}function Kx(e){Oh=Kl(),e.actualStartTime<0&&(e.actualStartTime=Kl())}function ST(e){Oh=-1}function Wy(e,t){if(Oh>=0){var s=Kl()-Oh;e.actualDuration+=s,t&&(e.selfBaseDuration=s),Oh=-1}}function Ps(e){if(Uy>=0){var t=Kl()-Uy;Uy=-1;for(var s=e.return;s!==null;){switch(s.tag){case w:var c=s.stateNode;c.effectDuration+=t;return;case U:var v=s.stateNode;v.effectDuration+=t;return}s=s.return}}}function eE(e){if(Gy>=0){var t=Kl()-Gy;Gy=-1;for(var s=e.return;s!==null;){switch(s.tag){case w:var c=s.stateNode;c!==null&&(c.passiveEffectDuration+=t);return;case U:var v=s.stateNode;v!==null&&(v.passiveEffectDuration+=t);return}s=s.return}}}function Vs(){Uy=Kl()}function tE(){Gy=Kl()}function nE(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function pf(e,t){return{value:e,source:t,stack:ol(t),digest:null}}function rE(e,t,s){return{value:e,source:null,stack:s??null,digest:t??null}}function EL(e,t){return!0}function aE(e,t){try{var s=EL(e,t);if(s===!1)return;var c=t.value,v=t.source,m=t.stack,S=m!==null?m:"";if(c!=null&&c._suppressLogging){if(e.tag===b)return;console.error(c)}var I=v?At(v):null,_=I?"The above error occurred in the <"+I+"> component:":"The above error occurred in one of your React components:",V;if(e.tag===w)V=`Consider adding an error boundary to your tree to customize error handling behavior.
186
186
  Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var H=At(e)||"Anonymous";V="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+H+".")}var ee=_+`
187
187
  `+S+`
188
188
 
189
- `+(""+V);console.error(ee)}catch(Q){setTimeout(function(){throw Q})}}var SL=typeof WeakMap=="function"?WeakMap:Map;function wT(e,t,s){var c=ju(Nn,s);c.tag=ax,c.payload={element:null};var v=t.value;return c.callback=function(){hP(v),aE(e,t)},c}function iE(e,t,s){var c=ju(Nn,s);c.tag=ax;var v=e.type.getDerivedStateFromError;if(typeof v=="function"){var m=t.value;c.payload=function(){return v(m)},c.callback=function(){MI(e),aE(e,t)}}var S=e.stateNode;return S!==null&&typeof S.componentDidCatch=="function"&&(c.callback=function(){MI(e),aE(e,t),typeof v!="function"&&pP(this);var _=t.value,V=t.stack;this.componentDidCatch(_,{componentStack:V!==null?V:""}),typeof v!="function"&&(_a(e.lanes,bt)||p("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",At(e)||"Unknown"))}),c}function RT(e,t,s){var c=e.pingCache,v;if(c===null?(c=e.pingCache=new SL,v=new Set,c.set(t,v)):(v=c.get(t),v===void 0&&(v=new Set,c.set(t,v))),!v.has(s)){v.add(s);var m=mP.bind(null,e,t,s);Mr&&Wh(e,s),t.then(m,m)}}function wL(e,t,s,c){var v=e.updateQueue;if(v===null){var m=new Set;m.add(s),e.updateQueue=m}else v.add(s)}function RL(e,t){var s=e.tag;if((e.mode&Vt)===mt&&(s===g||s===P||s===X)){var c=e.alternate;c?(e.updateQueue=c.updateQueue,e.memoizedState=c.memoizedState,e.lanes=c.lanes):(e.updateQueue=null,e.memoizedState=null)}}function TT(e){var t=e;do{if(t.tag===z&&lL(t))return t;t=t.return}while(t!==null);return null}function IT(e,t,s,c,v){if((e.mode&Vt)===mt){if(e===t)e.flags|=Rr;else{if(e.flags|=wt,s.flags|=kc,s.flags&=~(Xf|Ua),s.tag===b){var m=s.alternate;if(m===null)s.tag=Re;else{var S=ju(Nn,bt);S.tag=my,Zl(s,S,bt)}}s.lanes=kt(s.lanes,bt)}return e}return e.flags|=Rr,e.lanes=v,e}function TL(e,t,s,c,v){if(s.flags|=Ua,Mr&&Wh(e,v),c!==null&&typeof c=="object"&&typeof c.then=="function"){var m=c;RL(s),la()&&s.mode&Vt&&gR();var S=TT(t);if(S!==null){S.flags&=~er,IT(S,t,s,e,v),S.mode&Vt&&RT(e,m,v),wL(S,e,m);return}else{if(!Il(v)){RT(e,m,v),PE();return}var I=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");c=I}}else if(la()&&s.mode&Vt){gR();var _=TT(t);if(_!==null){(_.flags&Rr)===ct&&(_.flags|=er),IT(_,t,s,e,v),qC(pf(c,s));return}}c=pf(c,s),iP(c);var V=t;do{switch(V.tag){case R:{var H=c;V.flags|=Rr;var ee=yr(v);V.lanes=kt(V.lanes,ee);var Q=wT(V,H,ee);sx(V,Q);return}case b:var le=c,fe=V.type,be=V.stateNode;if((V.flags&wt)===ct&&(typeof fe.getDerivedStateFromError=="function"||be!==null&&typeof be.componentDidCatch=="function"&&!TI(be))){V.flags|=Rr;var qe=yr(v);V.lanes=kt(V.lanes,qe);var pt=iE(V,le,qe);sx(V,pt);return}break}V=V.return}while(V!==null)}function IL(){return null}var _h=i.ReactCurrentOwner,Go=!1,oE,Dh,sE,uE,lE,vf,cE,Xy;oE={},Dh={},sE={},uE={},lE={},vf=!1,cE={},Xy={};function Za(e,t,s,c){e===null?t.child=$R(t,null,s,c):t.child=tp(t,e.child,s,c)}function AL(e,t,s,c){t.child=tp(t,e.child,null,c),t.child=tp(t,null,s,c)}function AT(e,t,s,c,v){if(t.type!==t.elementType){var m=s.propTypes;m&&Po(m,c,"prop",Jt(s))}var S=s.render,I=t.ref,_,V;ep(t,v),Ss(t);{if(_h.current=t,Ea(!0),_=sp(e,t,S,c,I,v),V=up(),t.mode&Zn){gr(!0);try{_=sp(e,t,S,c,I,v),V=up()}finally{gr(!1)}}Ea(!1)}return uu(),e!==null&&!Go?(JR(e,t,v),ku(e,t,v)):(la()&&V&&$C(t),t.flags|=ms,Za(e,t,_,v),t.child)}function NT(e,t,s,c,v){if(e===null){var m=s.type;if(jP(m)&&s.compare===null&&s.defaultProps===void 0){var S=m;return S=mp(m),t.tag=X,t.type=S,pE(t,m),OT(e,t,S,c,v)}{var I=m.propTypes;I&&Po(I,c,"prop",Jt(m))}var _=ZE(s.type,null,c,t,t.mode,v);return _.ref=t.ref,_.return=t,t.child=_,_}{var V=s.type,H=V.propTypes;H&&Po(H,c,"prop",Jt(V))}var ee=e.child,Q=bE(e,v);if(!Q){var le=ee.memoizedProps,fe=s.compare;if(fe=fe!==null?fe:ut,fe(le,c)&&e.ref===t.ref)return ku(e,t,v)}t.flags|=ms;var be=bf(ee,c);return be.ref=t.ref,be.return=t,t.child=be,be}function OT(e,t,s,c,v){if(t.type!==t.elementType){var m=t.elementType;if(m.$$typeof===dt){var S=m,I=S._payload,_=S._init;try{m=_(I)}catch{m=null}var V=m&&m.propTypes;V&&Po(V,c,"prop",Jt(m))}}if(e!==null){var H=e.memoizedProps;if(ut(H,c)&&e.ref===t.ref&&t.type===e.type)if(Go=!1,t.pendingProps=c=H,bE(e,v))(e.flags&kc)!==ct&&(Go=!0);else return t.lanes=e.lanes,ku(e,t,v)}return fE(e,t,s,c,v)}function _T(e,t,s){var c=t.pendingProps,v=c.children,m=e!==null?e.memoizedState:null;if(c.mode==="hidden"||F)if((t.mode&Vt)===mt){var S={baseLanes:Se,cachePool:null,transitions:null};t.memoizedState=S,ob(t,s)}else if(_a(s,Oa)){var ee={baseLanes:Se,cachePool:null,transitions:null};t.memoizedState=ee;var Q=m!==null?m.baseLanes:s;ob(t,Q)}else{var I=null,_;if(m!==null){var V=m.baseLanes;_=kt(V,s)}else _=s;t.lanes=t.childLanes=Oa;var H={baseLanes:_,cachePool:I,transitions:null};return t.memoizedState=H,t.updateQueue=null,ob(t,_),null}else{var le;m!==null?(le=kt(m.baseLanes,s),t.memoizedState=null):le=s,ob(t,le)}return Za(e,t,v,s),t.child}function NL(e,t,s){var c=t.pendingProps;return Za(e,t,c,s),t.child}function OL(e,t,s){var c=t.pendingProps.children;return Za(e,t,c,s),t.child}function _L(e,t,s){{t.flags|=jt;{var c=t.stateNode;c.effectDuration=0,c.passiveEffectDuration=0}}var v=t.pendingProps,m=v.children;return Za(e,t,m,s),t.child}function DT(e,t){var s=t.ref;(e===null&&s!==null||e!==null&&e.ref!==s)&&(t.flags|=wa,t.flags|=vv)}function fE(e,t,s,c,v){if(t.type!==t.elementType){var m=s.propTypes;m&&Po(m,c,"prop",Jt(s))}var S;{var I=Yd(t,s,!0);S=Zd(t,I)}var _,V;ep(t,v),Ss(t);{if(_h.current=t,Ea(!0),_=sp(e,t,s,c,S,v),V=up(),t.mode&Zn){gr(!0);try{_=sp(e,t,s,c,S,v),V=up()}finally{gr(!1)}}Ea(!1)}return uu(),e!==null&&!Go?(JR(e,t,v),ku(e,t,v)):(la()&&V&&$C(t),t.flags|=ms,Za(e,t,_,v),t.child)}function jT(e,t,s,c,v){{switch(YP(t)){case!1:{var m=t.stateNode,S=t.type,I=new S(t.memoizedProps,m.context),_=I.state;m.updater.enqueueSetState(m,_,null);break}case!0:{t.flags|=wt,t.flags|=Rr;var V=new Error("Simulated error coming from DevTools"),H=yr(v);t.lanes=kt(t.lanes,H);var ee=iE(t,pf(V,t),H);sx(t,ee);break}}if(t.type!==t.elementType){var Q=s.propTypes;Q&&Po(Q,c,"prop",Jt(s))}}var le;ks(s)?(le=!0,iy(t)):le=!1,ep(t,v);var fe=t.stateNode,be;fe===null?(Zy(e,t),BR(t,s,c),bx(t,s,c,v),be=!0):e===null?be=rL(t,s,c,v):be=aL(e,t,s,c,v);var qe=dE(e,t,s,be,le,v);{var pt=t.stateNode;be&&pt.props!==c&&(vf||p("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",At(t)||"a component"),vf=!0)}return qe}function dE(e,t,s,c,v,m){DT(e,t);var S=(t.flags&wt)!==ct;if(!c&&!S)return v&&pR(t,s,!1),ku(e,t,m);var I=t.stateNode;_h.current=t;var _;if(S&&typeof s.getDerivedStateFromError!="function")_=null,ST();else{Ss(t);{if(Ea(!0),_=I.render(),t.mode&Zn){gr(!0);try{I.render()}finally{gr(!1)}}Ea(!1)}uu()}return t.flags|=ms,e!==null&&S?AL(e,t,_,m):Za(e,t,_,m),t.memoizedState=I.state,v&&pR(t,s,!0),t.child}function kT(e){var t=e.stateNode;t.pendingContext?fR(e,t.pendingContext,t.pendingContext!==t.context):t.context&&fR(e,t.context,!1),Rx(e,t.containerInfo)}function DL(e,t,s){if(kT(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var c=t.pendingProps,v=t.memoizedState,m=v.element;DR(e,t),Cy(t,c,null,s);var S=t.memoizedState;t.stateNode;var I=S.element;if(v.isDehydrated){var _={element:I,isDehydrated:!1,cache:S.cache,pendingSuspenseBoundaries:S.pendingSuspenseBoundaries,transitions:S.transitions},V=t.updateQueue;if(V.baseState=_,t.memoizedState=_,t.flags&er){var H=pf(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return MT(e,t,I,s,H)}else if(I!==m){var ee=pf(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return MT(e,t,I,s,ee)}else{L2(t);var Q=$R(t,null,I,s);t.child=Q;for(var le=Q;le;)le.flags=le.flags&~Fn|ui,le=le.sibling}}else{if(Qd(),I===m)return ku(e,t,s);Za(e,t,I,s)}return t.child}function MT(e,t,s,c,v){return Qd(),qC(v),t.flags|=er,Za(e,t,s,c),t.child}function jL(e,t,s){XR(t),e===null&&JC(t);var c=t.type,v=t.pendingProps,m=e!==null?e.memoizedProps:null,S=v.children,I=_C(c,v);return I?S=null:m!==null&&_C(c,m)&&(t.flags|=pn),DT(e,t),Za(e,t,S,s),t.child}function kL(e,t){return e===null&&JC(t),null}function ML(e,t,s,c){Zy(e,t);var v=t.pendingProps,m=s,S=m._payload,I=m._init,_=I(S);t.type=_;var V=t.tag=kP(_),H=zo(_,v),ee;switch(V){case g:return pE(t,_),t.type=_=mp(_),ee=fE(null,t,_,H,c),ee;case b:return t.type=_=UE(_),ee=jT(null,t,_,H,c),ee;case P:return t.type=_=GE(_),ee=AT(null,t,_,H,c),ee;case G:{if(t.type!==t.elementType){var Q=_.propTypes;Q&&Po(Q,H,"prop",Jt(_))}return ee=NT(null,t,_,zo(_.type,H),c),ee}}var le="";throw _!==null&&typeof _=="object"&&_.$$typeof===dt&&(le=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+_+". "+("Lazy element type must resolve to a class or function."+le))}function LL(e,t,s,c,v){Zy(e,t),t.tag=b;var m;return ks(s)?(m=!0,iy(t)):m=!1,ep(t,v),BR(t,s,c),bx(t,s,c,v),dE(null,t,s,!0,m,v)}function FL(e,t,s,c){Zy(e,t);var v=t.pendingProps,m;{var S=Yd(t,s,!1);m=Zd(t,S)}ep(t,c);var I,_;Ss(t);{if(s.prototype&&typeof s.prototype.render=="function"){var V=Jt(s)||"Unknown";oE[V]||(p("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.",V,V),oE[V]=!0)}t.mode&Zn&&Bo.recordLegacyContextWarning(t,null),Ea(!0),_h.current=t,I=sp(null,t,s,v,m,c),_=up(),Ea(!1)}if(uu(),t.flags|=ms,typeof I=="object"&&I!==null&&typeof I.render=="function"&&I.$$typeof===void 0){var H=Jt(s)||"Unknown";Dh[H]||(p("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.",H,H,H),Dh[H]=!0)}if(typeof I=="object"&&I!==null&&typeof I.render=="function"&&I.$$typeof===void 0){{var ee=Jt(s)||"Unknown";Dh[ee]||(p("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.",ee,ee,ee),Dh[ee]=!0)}t.tag=b,t.memoizedState=null,t.updateQueue=null;var Q=!1;return ks(s)?(Q=!0,iy(t)):Q=!1,t.memoizedState=I.state!==null&&I.state!==void 0?I.state:null,ox(t),VR(t,I),bx(t,s,v,c),dE(null,t,s,!0,Q,c)}else{if(t.tag=g,t.mode&Zn){gr(!0);try{I=sp(null,t,s,v,m,c),_=up()}finally{gr(!1)}}return la()&&_&&$C(t),Za(null,t,I,c),pE(t,s),t.child}}function pE(e,t){{if(t&&t.childContextTypes&&p("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var s="",c=oa();c&&(s+=`
189
+ `+(""+V);console.error(ee)}catch(Q){setTimeout(function(){throw Q})}}var SL=typeof WeakMap=="function"?WeakMap:Map;function wT(e,t,s){var c=ju(Nn,s);c.tag=ax,c.payload={element:null};var v=t.value;return c.callback=function(){hP(v),aE(e,t)},c}function iE(e,t,s){var c=ju(Nn,s);c.tag=ax;var v=e.type.getDerivedStateFromError;if(typeof v=="function"){var m=t.value;c.payload=function(){return v(m)},c.callback=function(){MI(e),aE(e,t)}}var S=e.stateNode;return S!==null&&typeof S.componentDidCatch=="function"&&(c.callback=function(){MI(e),aE(e,t),typeof v!="function"&&pP(this);var _=t.value,V=t.stack;this.componentDidCatch(_,{componentStack:V!==null?V:""}),typeof v!="function"&&(_a(e.lanes,bt)||p("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",At(e)||"Unknown"))}),c}function RT(e,t,s){var c=e.pingCache,v;if(c===null?(c=e.pingCache=new SL,v=new Set,c.set(t,v)):(v=c.get(t),v===void 0&&(v=new Set,c.set(t,v))),!v.has(s)){v.add(s);var m=mP.bind(null,e,t,s);Mr&&Wh(e,s),t.then(m,m)}}function wL(e,t,s,c){var v=e.updateQueue;if(v===null){var m=new Set;m.add(s),e.updateQueue=m}else v.add(s)}function RL(e,t){var s=e.tag;if((e.mode&Vt)===mt&&(s===g||s===P||s===X)){var c=e.alternate;c?(e.updateQueue=c.updateQueue,e.memoizedState=c.memoizedState,e.lanes=c.lanes):(e.updateQueue=null,e.memoizedState=null)}}function TT(e){var t=e;do{if(t.tag===z&&lL(t))return t;t=t.return}while(t!==null);return null}function IT(e,t,s,c,v){if((e.mode&Vt)===mt){if(e===t)e.flags|=Rr;else{if(e.flags|=wt,s.flags|=kc,s.flags&=~(Xf|Ua),s.tag===b){var m=s.alternate;if(m===null)s.tag=Re;else{var S=ju(Nn,bt);S.tag=my,Zl(s,S,bt)}}s.lanes=kt(s.lanes,bt)}return e}return e.flags|=Rr,e.lanes=v,e}function TL(e,t,s,c,v){if(s.flags|=Ua,Mr&&Wh(e,v),c!==null&&typeof c=="object"&&typeof c.then=="function"){var m=c;RL(s),la()&&s.mode&Vt&&gR();var S=TT(t);if(S!==null){S.flags&=~er,IT(S,t,s,e,v),S.mode&Vt&&RT(e,m,v),wL(S,e,m);return}else{if(!Il(v)){RT(e,m,v),PE();return}var I=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");c=I}}else if(la()&&s.mode&Vt){gR();var _=TT(t);if(_!==null){(_.flags&Rr)===ct&&(_.flags|=er),IT(_,t,s,e,v),qC(pf(c,s));return}}c=pf(c,s),iP(c);var V=t;do{switch(V.tag){case w:{var H=c;V.flags|=Rr;var ee=yr(v);V.lanes=kt(V.lanes,ee);var Q=wT(V,H,ee);sx(V,Q);return}case b:var le=c,fe=V.type,be=V.stateNode;if((V.flags&wt)===ct&&(typeof fe.getDerivedStateFromError=="function"||be!==null&&typeof be.componentDidCatch=="function"&&!TI(be))){V.flags|=Rr;var qe=yr(v);V.lanes=kt(V.lanes,qe);var pt=iE(V,le,qe);sx(V,pt);return}break}V=V.return}while(V!==null)}function IL(){return null}var _h=i.ReactCurrentOwner,Go=!1,oE,Dh,sE,uE,lE,vf,cE,Xy;oE={},Dh={},sE={},uE={},lE={},vf=!1,cE={},Xy={};function Za(e,t,s,c){e===null?t.child=$R(t,null,s,c):t.child=tp(t,e.child,s,c)}function AL(e,t,s,c){t.child=tp(t,e.child,null,c),t.child=tp(t,null,s,c)}function AT(e,t,s,c,v){if(t.type!==t.elementType){var m=s.propTypes;m&&Po(m,c,"prop",Jt(s))}var S=s.render,I=t.ref,_,V;ep(t,v),Ss(t);{if(_h.current=t,Ea(!0),_=sp(e,t,S,c,I,v),V=up(),t.mode&Zn){gr(!0);try{_=sp(e,t,S,c,I,v),V=up()}finally{gr(!1)}}Ea(!1)}return uu(),e!==null&&!Go?(JR(e,t,v),ku(e,t,v)):(la()&&V&&$C(t),t.flags|=ms,Za(e,t,_,v),t.child)}function NT(e,t,s,c,v){if(e===null){var m=s.type;if(jP(m)&&s.compare===null&&s.defaultProps===void 0){var S=m;return S=mp(m),t.tag=X,t.type=S,pE(t,m),OT(e,t,S,c,v)}{var I=m.propTypes;I&&Po(I,c,"prop",Jt(m))}var _=ZE(s.type,null,c,t,t.mode,v);return _.ref=t.ref,_.return=t,t.child=_,_}{var V=s.type,H=V.propTypes;H&&Po(H,c,"prop",Jt(V))}var ee=e.child,Q=bE(e,v);if(!Q){var le=ee.memoizedProps,fe=s.compare;if(fe=fe!==null?fe:ut,fe(le,c)&&e.ref===t.ref)return ku(e,t,v)}t.flags|=ms;var be=bf(ee,c);return be.ref=t.ref,be.return=t,t.child=be,be}function OT(e,t,s,c,v){if(t.type!==t.elementType){var m=t.elementType;if(m.$$typeof===dt){var S=m,I=S._payload,_=S._init;try{m=_(I)}catch{m=null}var V=m&&m.propTypes;V&&Po(V,c,"prop",Jt(m))}}if(e!==null){var H=e.memoizedProps;if(ut(H,c)&&e.ref===t.ref&&t.type===e.type)if(Go=!1,t.pendingProps=c=H,bE(e,v))(e.flags&kc)!==ct&&(Go=!0);else return t.lanes=e.lanes,ku(e,t,v)}return fE(e,t,s,c,v)}function _T(e,t,s){var c=t.pendingProps,v=c.children,m=e!==null?e.memoizedState:null;if(c.mode==="hidden"||F)if((t.mode&Vt)===mt){var S={baseLanes:Se,cachePool:null,transitions:null};t.memoizedState=S,ob(t,s)}else if(_a(s,Oa)){var ee={baseLanes:Se,cachePool:null,transitions:null};t.memoizedState=ee;var Q=m!==null?m.baseLanes:s;ob(t,Q)}else{var I=null,_;if(m!==null){var V=m.baseLanes;_=kt(V,s)}else _=s;t.lanes=t.childLanes=Oa;var H={baseLanes:_,cachePool:I,transitions:null};return t.memoizedState=H,t.updateQueue=null,ob(t,_),null}else{var le;m!==null?(le=kt(m.baseLanes,s),t.memoizedState=null):le=s,ob(t,le)}return Za(e,t,v,s),t.child}function NL(e,t,s){var c=t.pendingProps;return Za(e,t,c,s),t.child}function OL(e,t,s){var c=t.pendingProps.children;return Za(e,t,c,s),t.child}function _L(e,t,s){{t.flags|=jt;{var c=t.stateNode;c.effectDuration=0,c.passiveEffectDuration=0}}var v=t.pendingProps,m=v.children;return Za(e,t,m,s),t.child}function DT(e,t){var s=t.ref;(e===null&&s!==null||e!==null&&e.ref!==s)&&(t.flags|=wa,t.flags|=vv)}function fE(e,t,s,c,v){if(t.type!==t.elementType){var m=s.propTypes;m&&Po(m,c,"prop",Jt(s))}var S;{var I=Yd(t,s,!0);S=Zd(t,I)}var _,V;ep(t,v),Ss(t);{if(_h.current=t,Ea(!0),_=sp(e,t,s,c,S,v),V=up(),t.mode&Zn){gr(!0);try{_=sp(e,t,s,c,S,v),V=up()}finally{gr(!1)}}Ea(!1)}return uu(),e!==null&&!Go?(JR(e,t,v),ku(e,t,v)):(la()&&V&&$C(t),t.flags|=ms,Za(e,t,_,v),t.child)}function jT(e,t,s,c,v){{switch(YP(t)){case!1:{var m=t.stateNode,S=t.type,I=new S(t.memoizedProps,m.context),_=I.state;m.updater.enqueueSetState(m,_,null);break}case!0:{t.flags|=wt,t.flags|=Rr;var V=new Error("Simulated error coming from DevTools"),H=yr(v);t.lanes=kt(t.lanes,H);var ee=iE(t,pf(V,t),H);sx(t,ee);break}}if(t.type!==t.elementType){var Q=s.propTypes;Q&&Po(Q,c,"prop",Jt(s))}}var le;ks(s)?(le=!0,iy(t)):le=!1,ep(t,v);var fe=t.stateNode,be;fe===null?(Zy(e,t),BR(t,s,c),bx(t,s,c,v),be=!0):e===null?be=rL(t,s,c,v):be=aL(e,t,s,c,v);var qe=dE(e,t,s,be,le,v);{var pt=t.stateNode;be&&pt.props!==c&&(vf||p("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",At(t)||"a component"),vf=!0)}return qe}function dE(e,t,s,c,v,m){DT(e,t);var S=(t.flags&wt)!==ct;if(!c&&!S)return v&&pR(t,s,!1),ku(e,t,m);var I=t.stateNode;_h.current=t;var _;if(S&&typeof s.getDerivedStateFromError!="function")_=null,ST();else{Ss(t);{if(Ea(!0),_=I.render(),t.mode&Zn){gr(!0);try{I.render()}finally{gr(!1)}}Ea(!1)}uu()}return t.flags|=ms,e!==null&&S?AL(e,t,_,m):Za(e,t,_,m),t.memoizedState=I.state,v&&pR(t,s,!0),t.child}function kT(e){var t=e.stateNode;t.pendingContext?fR(e,t.pendingContext,t.pendingContext!==t.context):t.context&&fR(e,t.context,!1),Rx(e,t.containerInfo)}function DL(e,t,s){if(kT(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var c=t.pendingProps,v=t.memoizedState,m=v.element;DR(e,t),Cy(t,c,null,s);var S=t.memoizedState;t.stateNode;var I=S.element;if(v.isDehydrated){var _={element:I,isDehydrated:!1,cache:S.cache,pendingSuspenseBoundaries:S.pendingSuspenseBoundaries,transitions:S.transitions},V=t.updateQueue;if(V.baseState=_,t.memoizedState=_,t.flags&er){var H=pf(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return MT(e,t,I,s,H)}else if(I!==m){var ee=pf(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return MT(e,t,I,s,ee)}else{L2(t);var Q=$R(t,null,I,s);t.child=Q;for(var le=Q;le;)le.flags=le.flags&~Fn|ui,le=le.sibling}}else{if(Qd(),I===m)return ku(e,t,s);Za(e,t,I,s)}return t.child}function MT(e,t,s,c,v){return Qd(),qC(v),t.flags|=er,Za(e,t,s,c),t.child}function jL(e,t,s){XR(t),e===null&&JC(t);var c=t.type,v=t.pendingProps,m=e!==null?e.memoizedProps:null,S=v.children,I=_C(c,v);return I?S=null:m!==null&&_C(c,m)&&(t.flags|=pn),DT(e,t),Za(e,t,S,s),t.child}function kL(e,t){return e===null&&JC(t),null}function ML(e,t,s,c){Zy(e,t);var v=t.pendingProps,m=s,S=m._payload,I=m._init,_=I(S);t.type=_;var V=t.tag=kP(_),H=zo(_,v),ee;switch(V){case g:return pE(t,_),t.type=_=mp(_),ee=fE(null,t,_,H,c),ee;case b:return t.type=_=UE(_),ee=jT(null,t,_,H,c),ee;case P:return t.type=_=GE(_),ee=AT(null,t,_,H,c),ee;case G:{if(t.type!==t.elementType){var Q=_.propTypes;Q&&Po(Q,H,"prop",Jt(_))}return ee=NT(null,t,_,zo(_.type,H),c),ee}}var le="";throw _!==null&&typeof _=="object"&&_.$$typeof===dt&&(le=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+_+". "+("Lazy element type must resolve to a class or function."+le))}function LL(e,t,s,c,v){Zy(e,t),t.tag=b;var m;return ks(s)?(m=!0,iy(t)):m=!1,ep(t,v),BR(t,s,c),bx(t,s,c,v),dE(null,t,s,!0,m,v)}function FL(e,t,s,c){Zy(e,t);var v=t.pendingProps,m;{var S=Yd(t,s,!1);m=Zd(t,S)}ep(t,c);var I,_;Ss(t);{if(s.prototype&&typeof s.prototype.render=="function"){var V=Jt(s)||"Unknown";oE[V]||(p("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.",V,V),oE[V]=!0)}t.mode&Zn&&Bo.recordLegacyContextWarning(t,null),Ea(!0),_h.current=t,I=sp(null,t,s,v,m,c),_=up(),Ea(!1)}if(uu(),t.flags|=ms,typeof I=="object"&&I!==null&&typeof I.render=="function"&&I.$$typeof===void 0){var H=Jt(s)||"Unknown";Dh[H]||(p("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.",H,H,H),Dh[H]=!0)}if(typeof I=="object"&&I!==null&&typeof I.render=="function"&&I.$$typeof===void 0){{var ee=Jt(s)||"Unknown";Dh[ee]||(p("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.",ee,ee,ee),Dh[ee]=!0)}t.tag=b,t.memoizedState=null,t.updateQueue=null;var Q=!1;return ks(s)?(Q=!0,iy(t)):Q=!1,t.memoizedState=I.state!==null&&I.state!==void 0?I.state:null,ox(t),VR(t,I),bx(t,s,v,c),dE(null,t,s,!0,Q,c)}else{if(t.tag=g,t.mode&Zn){gr(!0);try{I=sp(null,t,s,v,m,c),_=up()}finally{gr(!1)}}return la()&&_&&$C(t),Za(null,t,I,c),pE(t,s),t.child}}function pE(e,t){{if(t&&t.childContextTypes&&p("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var s="",c=oa();c&&(s+=`
190
190
 
191
- Check the render method of \``+c+"`.");var v=c||"",m=e._debugSource;m&&(v=m.fileName+":"+m.lineNumber),lE[v]||(lE[v]=!0,p("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",s))}if(typeof t.getDerivedStateFromProps=="function"){var S=Jt(t)||"Unknown";uE[S]||(p("%s: Function components do not support getDerivedStateFromProps.",S),uE[S]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var I=Jt(t)||"Unknown";sE[I]||(p("%s: Function components do not support contextType.",I),sE[I]=!0)}}}var vE={dehydrated:null,treeContext:null,retryLane:$t};function hE(e){return{baseLanes:e,cachePool:IL(),transitions:null}}function PL(e,t){var s=null;return{baseLanes:kt(e.baseLanes,t),cachePool:s,transitions:e.transitions}}function VL(e,t,s,c){if(t!==null){var v=t.memoizedState;if(v===null)return!1}return Ax(e,Sh)}function BL(e,t){return Al(e.childLanes,t)}function LT(e,t,s){var c=t.pendingProps;ZP(t)&&(t.flags|=wt);var v=Ho.current,m=!1,S=(t.flags&wt)!==ct;if(S||VL(v,e)?(m=!0,t.flags&=~wt):(e===null||e.memoizedState!==null)&&(v=uL(v,ZR)),v=rp(v),ql(t,v),e===null){JC(t);var I=t.memoizedState;if(I!==null){var _=I.dehydrated;if(_!==null)return $L(t,_)}var V=c.children,H=c.fallback;if(m){var ee=zL(t,V,H,s),Q=t.child;return Q.memoizedState=hE(s),t.memoizedState=vE,ee}else return mE(t,V)}else{var le=e.memoizedState;if(le!==null){var fe=le.dehydrated;if(fe!==null)return WL(e,t,S,c,fe,le,s)}if(m){var be=c.fallback,qe=c.children,pt=UL(e,t,qe,be,s),ot=t.child,Xt=e.child.memoizedState;return ot.memoizedState=Xt===null?hE(s):PL(Xt,s),ot.childLanes=BL(e,s),t.memoizedState=vE,pt}else{var Ht=c.children,re=HL(e,t,Ht,s);return t.memoizedState=null,re}}}function mE(e,t,s){var c=e.mode,v={mode:"visible",children:t},m=gE(v,c);return m.return=e,e.child=m,m}function zL(e,t,s,c){var v=e.mode,m=e.child,S={mode:"hidden",children:t},I,_;return(v&Vt)===mt&&m!==null?(I=m,I.childLanes=Se,I.pendingProps=S,e.mode&yt&&(I.actualDuration=0,I.actualStartTime=-1,I.selfBaseDuration=0,I.treeBaseDuration=0),_=ic(s,v,c,null)):(I=gE(S,v),_=ic(s,v,c,null)),I.return=e,_.return=e,I.sibling=_,e.child=I,_}function gE(e,t,s){return FI(e,t,Se,null)}function FT(e,t){return bf(e,t)}function HL(e,t,s,c){var v=e.child,m=v.sibling,S=FT(v,{mode:"visible",children:s});if((t.mode&Vt)===mt&&(S.lanes=c),S.return=t,S.sibling=null,m!==null){var I=t.deletions;I===null?(t.deletions=[m],t.flags|=un):I.push(m)}return t.child=S,S}function UL(e,t,s,c,v){var m=t.mode,S=e.child,I=S.sibling,_={mode:"hidden",children:s},V;if((m&Vt)===mt&&t.child!==S){var H=t.child;V=H,V.childLanes=Se,V.pendingProps=_,t.mode&yt&&(V.actualDuration=0,V.actualStartTime=-1,V.selfBaseDuration=S.selfBaseDuration,V.treeBaseDuration=S.treeBaseDuration),t.deletions=null}else V=FT(S,_),V.subtreeFlags=S.subtreeFlags&kr;var ee;return I!==null?ee=bf(I,c):(ee=ic(c,m,v,null),ee.flags|=Fn),ee.return=t,V.return=t,V.sibling=ee,t.child=V,ee}function Yy(e,t,s,c){c!==null&&qC(c),tp(t,e.child,null,s);var v=t.pendingProps,m=v.children,S=mE(t,m);return S.flags|=Fn,t.memoizedState=null,S}function GL(e,t,s,c,v){var m=t.mode,S={mode:"visible",children:s},I=gE(S,m),_=ic(c,m,v,null);return _.flags|=Fn,I.return=t,_.return=t,I.sibling=_,t.child=I,(t.mode&Vt)!==mt&&tp(t,e.child,null,v),_}function $L(e,t,s){return(e.mode&Vt)===mt?(p("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=bt):MC(t)?e.lanes=fu:e.lanes=Oa,null}function WL(e,t,s,c,v,m,S){if(s)if(t.flags&er){t.flags&=~er;var re=rE(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Yy(e,t,S,re)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=wt,null;var Ce=c.children,ae=c.fallback,Pe=GL(e,t,Ce,ae,S),Qe=t.child;return Qe.memoizedState=hE(S),t.memoizedState=vE,Pe}else{if(k2(),(t.mode&Vt)===mt)return Yy(e,t,S,null);if(MC(v)){var I,_,V;{var H=qM(v);I=H.digest,_=H.message,V=H.stack}var ee;_?ee=new Error(_):ee=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var Q=rE(ee,I,V);return Yy(e,t,S,Q)}var le=_a(S,e.childLanes);if(Go||le){var fe=ib();if(fe!==null){var be=nC(fe,S);if(be!==$t&&be!==m.retryLane){m.retryLane=be;var qe=Nn;bi(e,be),Gr(fe,e,be,qe)}}PE();var pt=rE(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return Yy(e,t,S,pt)}else if(iR(v)){t.flags|=wt,t.child=e.child;var ot=gP.bind(null,e);return QM(v,ot),null}else{F2(t,v,m.treeContext);var Xt=c.children,Ht=mE(t,Xt);return Ht.flags|=ui,Ht}}}function PT(e,t,s){e.lanes=kt(e.lanes,t);var c=e.alternate;c!==null&&(c.lanes=kt(c.lanes,t)),nx(e.return,t,s)}function XL(e,t,s){for(var c=t;c!==null;){if(c.tag===z){var v=c.memoizedState;v!==null&&PT(c,s,e)}else if(c.tag===pe)PT(c,s,e);else if(c.child!==null){c.child.return=c,c=c.child;continue}if(c===e)return;for(;c.sibling===null;){if(c.return===null||c.return===e)return;c=c.return}c.sibling.return=c.return,c=c.sibling}}function YL(e){for(var t=e,s=null;t!==null;){var c=t.alternate;c!==null&&Iy(c)===null&&(s=t),t=t.sibling}return s}function ZL(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!cE[e])if(cE[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{p('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{p('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:p('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else p('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function JL(e,t){e!==void 0&&!Xy[e]&&(e!=="collapsed"&&e!=="hidden"?(Xy[e]=!0,p('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(Xy[e]=!0,p('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function VT(e,t){{var s=Ut(e),c=!s&&typeof Oi(e)=="function";if(s||c){var v=s?"array":"iterable";return p("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>",v,t,v),!1}}return!0}function qL(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Ut(e)){for(var s=0;s<e.length;s++)if(!VT(e[s],s))return}else{var c=Oi(e);if(typeof c=="function"){var v=c.call(e);if(v)for(var m=v.next(),S=0;!m.done;m=v.next()){if(!VT(m.value,S))return;S++}}else p('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?',t)}}function yE(e,t,s,c,v){var m=e.memoizedState;m===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:c,tail:s,tailMode:v}:(m.isBackwards=t,m.rendering=null,m.renderingStartTime=0,m.last=c,m.tail=s,m.tailMode=v)}function BT(e,t,s){var c=t.pendingProps,v=c.revealOrder,m=c.tail,S=c.children;ZL(v),JL(m,v),qL(S,v),Za(e,t,S,s);var I=Ho.current,_=Ax(I,Sh);if(_)I=Nx(I,Sh),t.flags|=wt;else{var V=e!==null&&(e.flags&wt)!==ct;V&&XL(t,t.child,s),I=rp(I)}if(ql(t,I),(t.mode&Vt)===mt)t.memoizedState=null;else switch(v){case"forwards":{var H=YL(t.child),ee;H===null?(ee=t.child,t.child=null):(ee=H.sibling,H.sibling=null),yE(t,!1,ee,H,m);break}case"backwards":{var Q=null,le=t.child;for(t.child=null;le!==null;){var fe=le.alternate;if(fe!==null&&Iy(fe)===null){t.child=le;break}var be=le.sibling;le.sibling=Q,Q=le,le=be}yE(t,!0,Q,null,m);break}case"together":{yE(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function QL(e,t,s){Rx(t,t.stateNode.containerInfo);var c=t.pendingProps;return e===null?t.child=tp(t,null,c,s):Za(e,t,c,s),t.child}var zT=!1;function KL(e,t,s){var c=t.type,v=c._context,m=t.pendingProps,S=t.memoizedProps,I=m.value;{"value"in m||zT||(zT=!0,p("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var _=t.type.propTypes;_&&Po(_,m,"prop","Context.Provider")}if(AR(t,v,I),S!==null){var V=S.value;if(nt(V,I)){if(S.children===m.children&&!ry())return ku(e,t,s)}else X2(t,v,s)}var H=m.children;return Za(e,t,H,s),t.child}var HT=!1;function eF(e,t,s){var c=t.type;c._context===void 0?c!==c.Consumer&&(HT||(HT=!0,p("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):c=c._context;var v=t.pendingProps,m=v.children;typeof m!="function"&&p("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."),ep(t,s);var S=Or(c);Ss(t);var I;return _h.current=t,Ea(!0),I=m(S),Ea(!1),uu(),t.flags|=ms,Za(e,t,I,s),t.child}function jh(){Go=!0}function Zy(e,t){(t.mode&Vt)===mt&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Fn)}function ku(e,t,s){return e!==null&&(t.dependencies=e.dependencies),ST(),$h(t.lanes),_a(s,t.childLanes)?(iL(e,t),t.child):null}function tF(e,t,s){{var c=t.return;if(c===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,s.index=t.index,s.sibling=t.sibling,s.return=t.return,s.ref=t.ref,t===c.child)c.child=s;else{var v=c.child;if(v===null)throw new Error("Expected parent to have a child.");for(;v.sibling!==t;)if(v=v.sibling,v===null)throw new Error("Expected to find the previous sibling.");v.sibling=s}var m=c.deletions;return m===null?(c.deletions=[e],c.flags|=un):m.push(e),s.flags|=Fn,s}}function bE(e,t){var s=e.lanes;return!!_a(s,t)}function nF(e,t,s){switch(t.tag){case R:kT(t),t.stateNode,Qd();break;case A:XR(t);break;case b:{var c=t.type;ks(c)&&iy(t);break}case T:Rx(t,t.stateNode.containerInfo);break;case B:{var v=t.memoizedProps.value,m=t.type._context;AR(t,m,v);break}case U:{var S=_a(s,t.childLanes);S&&(t.flags|=jt);{var I=t.stateNode;I.effectDuration=0,I.passiveEffectDuration=0}}break;case z:{var _=t.memoizedState;if(_!==null){if(_.dehydrated!==null)return ql(t,rp(Ho.current)),t.flags|=wt,null;var V=t.child,H=V.childLanes;if(_a(s,H))return LT(e,t,s);ql(t,rp(Ho.current));var ee=ku(e,t,s);return ee!==null?ee.sibling:null}else ql(t,rp(Ho.current));break}case pe:{var Q=(e.flags&wt)!==ct,le=_a(s,t.childLanes);if(Q){if(le)return BT(e,t,s);t.flags|=wt}var fe=t.memoizedState;if(fe!==null&&(fe.rendering=null,fe.tail=null,fe.lastEffect=null),ql(t,Ho.current),le)break;return null}case me:case Ae:return t.lanes=Se,_T(e,t,s)}return ku(e,t,s)}function UT(e,t,s){if(t._debugNeedsRemount&&e!==null)return tF(e,t,ZE(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var c=e.memoizedProps,v=t.pendingProps;if(c!==v||ry()||t.type!==e.type)Go=!0;else{var m=bE(e,s);if(!m&&(t.flags&wt)===ct)return Go=!1,nF(e,t,s);(e.flags&kc)!==ct?Go=!0:Go=!1}}else if(Go=!1,la()&&A2(t)){var S=t.index,I=N2();mR(t,I,S)}switch(t.lanes=Se,t.tag){case E:return FL(e,t,t.type,s);case te:{var _=t.elementType;return ML(e,t,_,s)}case g:{var V=t.type,H=t.pendingProps,ee=t.elementType===V?H:zo(V,H);return fE(e,t,V,ee,s)}case b:{var Q=t.type,le=t.pendingProps,fe=t.elementType===Q?le:zo(Q,le);return jT(e,t,Q,fe,s)}case R:return DL(e,t,s);case A:return jL(e,t,s);case N:return kL(e,t);case z:return LT(e,t,s);case T:return QL(e,t,s);case P:{var be=t.type,qe=t.pendingProps,pt=t.elementType===be?qe:zo(be,qe);return AT(e,t,be,pt,s)}case j:return NL(e,t,s);case O:return OL(e,t,s);case U:return _L(e,t,s);case B:return KL(e,t,s);case L:return eF(e,t,s);case G:{var ot=t.type,Xt=t.pendingProps,Ht=zo(ot,Xt);if(t.type!==t.elementType){var re=ot.propTypes;re&&Po(re,Ht,"prop",Jt(ot))}return Ht=zo(ot.type,Ht),NT(e,t,ot,Ht,s)}case X:return OT(e,t,t.type,t.pendingProps,s);case Re:{var Ce=t.type,ae=t.pendingProps,Pe=t.elementType===Ce?ae:zo(Ce,ae);return LL(e,t,Ce,Pe,s)}case pe:return BT(e,t,s);case ye:break;case me:return _T(e,t,s)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function lp(e){e.flags|=jt}function GT(e){e.flags|=wa,e.flags|=vv}var $T,CE,WT,XT;$T=function(e,t,s,c){for(var v=t.child;v!==null;){if(v.tag===A||v.tag===N)RM(e,v.stateNode);else if(v.tag!==T){if(v.child!==null){v.child.return=v,v=v.child;continue}}if(v===t)return;for(;v.sibling===null;){if(v.return===null||v.return===t)return;v=v.return}v.sibling.return=v.return,v=v.sibling}},CE=function(e,t){},WT=function(e,t,s,c,v){var m=e.memoizedProps;if(m!==c){var S=t.stateNode,I=Tx(),_=IM(S,s,m,c,v,I);t.updateQueue=_,_&&lp(t)}},XT=function(e,t,s,c){s!==c&&lp(t)};function kh(e,t){if(!la())switch(e.tailMode){case"hidden":{for(var s=e.tail,c=null;s!==null;)s.alternate!==null&&(c=s),s=s.sibling;c===null?e.tail=null:c.sibling=null;break}case"collapsed":{for(var v=e.tail,m=null;v!==null;)v.alternate!==null&&(m=v),v=v.sibling;m===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:m.sibling=null;break}}}function fa(e){var t=e.alternate!==null&&e.alternate.child===e.child,s=Se,c=ct;if(t){if((e.mode&yt)!==mt){for(var _=e.selfBaseDuration,V=e.child;V!==null;)s=kt(s,kt(V.lanes,V.childLanes)),c|=V.subtreeFlags&kr,c|=V.flags&kr,_+=V.treeBaseDuration,V=V.sibling;e.treeBaseDuration=_}else for(var H=e.child;H!==null;)s=kt(s,kt(H.lanes,H.childLanes)),c|=H.subtreeFlags&kr,c|=H.flags&kr,H.return=e,H=H.sibling;e.subtreeFlags|=c}else{if((e.mode&yt)!==mt){for(var v=e.actualDuration,m=e.selfBaseDuration,S=e.child;S!==null;)s=kt(s,kt(S.lanes,S.childLanes)),c|=S.subtreeFlags,c|=S.flags,v+=S.actualDuration,m+=S.treeBaseDuration,S=S.sibling;e.actualDuration=v,e.treeBaseDuration=m}else for(var I=e.child;I!==null;)s=kt(s,kt(I.lanes,I.childLanes)),c|=I.subtreeFlags,c|=I.flags,I.return=e,I=I.sibling;e.subtreeFlags|=c}return e.childLanes=s,t}function rF(e,t,s){if(H2()&&(t.mode&Vt)!==mt&&(t.flags&wt)===ct)return SR(t),Qd(),t.flags|=er|Ua|Rr,!1;var c=cy(t);if(s!==null&&s.dehydrated!==null)if(e===null){if(!c)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(B2(t),fa(t),(t.mode&yt)!==mt){var v=s!==null;if(v){var m=t.child;m!==null&&(t.treeBaseDuration-=m.treeBaseDuration)}}return!1}else{if(Qd(),(t.flags&wt)===ct&&(t.memoizedState=null),t.flags|=jt,fa(t),(t.mode&yt)!==mt){var S=s!==null;if(S){var I=t.child;I!==null&&(t.treeBaseDuration-=I.treeBaseDuration)}}return!1}else return wR(),!0}function YT(e,t,s){var c=t.pendingProps;switch(WC(t),t.tag){case E:case te:case X:case g:case P:case j:case O:case U:case L:case G:return fa(t),null;case b:{var v=t.type;return ks(v)&&ay(t),fa(t),null}case R:{var m=t.stateNode;if(np(t),HC(t),_x(),m.pendingContext&&(m.context=m.pendingContext,m.pendingContext=null),e===null||e.child===null){var S=cy(t);if(S)lp(t);else if(e!==null){var I=e.memoizedState;(!I.isDehydrated||(t.flags&er)!==ct)&&(t.flags|=si,wR())}}return CE(e,t),fa(t),null}case A:{Ix(t);var _=WR(),V=t.type;if(e!==null&&t.stateNode!=null)WT(e,t,V,c,_),e.ref!==t.ref&&GT(t);else{if(!c){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return fa(t),null}var H=Tx(),ee=cy(t);if(ee)P2(t,_,H)&&lp(t);else{var Q=wM(V,c,_,H,t);$T(Q,t,!1,!1),t.stateNode=Q,TM(Q,V,c,_)&&lp(t)}t.ref!==null&&GT(t)}return fa(t),null}case N:{var le=c;if(e&&t.stateNode!=null){var fe=e.memoizedProps;XT(e,t,fe,le)}else{if(typeof le!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var be=WR(),qe=Tx(),pt=cy(t);pt?V2(t)&&lp(t):t.stateNode=AM(le,be,qe,t)}return fa(t),null}case z:{ap(t);var ot=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var Xt=rF(e,t,ot);if(!Xt)return t.flags&Rr?t:null}if((t.flags&wt)!==ct)return t.lanes=s,(t.mode&yt)!==mt&&nE(t),t;var Ht=ot!==null,re=e!==null&&e.memoizedState!==null;if(Ht!==re&&Ht){var Ce=t.child;if(Ce.flags|=gs,(t.mode&Vt)!==mt){var ae=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!q);ae||Ax(Ho.current,ZR)?aP():PE()}}var Pe=t.updateQueue;if(Pe!==null&&(t.flags|=jt),fa(t),(t.mode&yt)!==mt&&Ht){var Qe=t.child;Qe!==null&&(t.treeBaseDuration-=Qe.treeBaseDuration)}return null}case T:return np(t),CE(e,t),e===null&&x2(t.stateNode.containerInfo),fa(t),null;case B:var Xe=t.type._context;return tx(Xe,t),fa(t),null;case Re:{var Et=t.type;return ks(Et)&&ay(t),fa(t),null}case pe:{ap(t);var Ot=t.memoizedState;if(Ot===null)return fa(t),null;var En=(t.flags&wt)!==ct,an=Ot.rendering;if(an===null)if(En)kh(Ot,!1);else{var Er=oP()&&(e===null||(e.flags&wt)===ct);if(!Er)for(var on=t.child;on!==null;){var vr=Iy(on);if(vr!==null){En=!0,t.flags|=wt,kh(Ot,!1);var Ma=vr.updateQueue;return Ma!==null&&(t.updateQueue=Ma,t.flags|=jt),t.subtreeFlags=ct,oL(t,s),ql(t,Nx(Ho.current,Sh)),t.child}on=on.sibling}Ot.tail!==null&&Yn()>hI()&&(t.flags|=wt,En=!0,kh(Ot,!1),t.lanes=Iv)}else{if(!En){var ma=Iy(an);if(ma!==null){t.flags|=wt,En=!0;var zi=ma.updateQueue;if(zi!==null&&(t.updateQueue=zi,t.flags|=jt),kh(Ot,!0),Ot.tail===null&&Ot.tailMode==="hidden"&&!an.alternate&&!la())return fa(t),null}else Yn()*2-Ot.renderingStartTime>hI()&&s!==Oa&&(t.flags|=wt,En=!0,kh(Ot,!1),t.lanes=Iv)}if(Ot.isBackwards)an.sibling=t.child,t.child=an;else{var Qa=Ot.last;Qa!==null?Qa.sibling=an:t.child=an,Ot.last=an}}if(Ot.tail!==null){var Ka=Ot.tail;Ot.rendering=Ka,Ot.tail=Ka.sibling,Ot.renderingStartTime=Yn(),Ka.sibling=null;var La=Ho.current;return En?La=Nx(La,Sh):La=rp(La),ql(t,La),Ka}return fa(t),null}case ye:break;case me:case Ae:{FE(t);var Vu=t.memoizedState,gp=Vu!==null;if(e!==null){var Jh=e.memoizedState,Hs=Jh!==null;Hs!==gp&&!F&&(t.flags|=gs)}return!gp||(t.mode&Vt)===mt?fa(t):_a(zs,Oa)&&(fa(t),t.subtreeFlags&(Fn|jt)&&(t.flags|=gs)),null}case _e:return null;case Oe:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function aF(e,t,s){switch(WC(t),t.tag){case b:{var c=t.type;ks(c)&&ay(t);var v=t.flags;return v&Rr?(t.flags=v&~Rr|wt,(t.mode&yt)!==mt&&nE(t),t):null}case R:{t.stateNode,np(t),HC(t),_x();var m=t.flags;return(m&Rr)!==ct&&(m&wt)===ct?(t.flags=m&~Rr|wt,t):null}case A:return Ix(t),null;case z:{ap(t);var S=t.memoizedState;if(S!==null&&S.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Qd()}var I=t.flags;return I&Rr?(t.flags=I&~Rr|wt,(t.mode&yt)!==mt&&nE(t),t):null}case pe:return ap(t),null;case T:return np(t),null;case B:var _=t.type._context;return tx(_,t),null;case me:case Ae:return FE(t),null;case _e:return null;default:return null}}function ZT(e,t,s){switch(WC(t),t.tag){case b:{var c=t.type.childContextTypes;c!=null&&ay(t);break}case R:{t.stateNode,np(t),HC(t),_x();break}case A:{Ix(t);break}case T:np(t);break;case z:ap(t);break;case pe:ap(t);break;case B:var v=t.type._context;tx(v,t);break;case me:case Ae:FE(t);break}}var JT=null;JT=new Set;var Jy=!1,da=!1,iF=typeof WeakSet=="function"?WeakSet:Set,rt=null,cp=null,fp=null;function oF(e){ou(null,function(){throw e}),dv()}var sF=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&yt)try{Vs(),t.componentWillUnmount()}finally{Ps(e)}else t.componentWillUnmount()};function qT(e,t){try{ec(Pr,e)}catch(s){zn(e,t,s)}}function xE(e,t,s){try{sF(e,s)}catch(c){zn(e,t,c)}}function uF(e,t,s){try{s.componentDidMount()}catch(c){zn(e,t,c)}}function QT(e,t){try{eI(e)}catch(s){zn(e,t,s)}}function dp(e,t){var s=e.ref;if(s!==null)if(typeof s=="function"){var c;try{if(ie&&he&&e.mode&yt)try{Vs(),c=s(null)}finally{Ps(e)}else c=s(null)}catch(v){zn(e,t,v)}typeof c=="function"&&p("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",At(e))}else s.current=null}function qy(e,t,s){try{s()}catch(c){zn(e,t,c)}}var KT=!1;function lF(e,t){EM(e.containerInfo),rt=t,cF();var s=KT;return KT=!1,s}function cF(){for(;rt!==null;){var e=rt,t=e.child;(e.subtreeFlags&Cl)!==ct&&t!==null?(t.return=e,rt=t):fF()}}function fF(){for(;rt!==null;){var e=rt;dn(e);try{dF(e)}catch(s){zn(e,e.return,s)}Kn();var t=e.sibling;if(t!==null){t.return=e.return,rt=t;return}rt=e.return}}function dF(e){var t=e.alternate,s=e.flags;if((s&si)!==ct){switch(dn(e),e.tag){case g:case P:case X:break;case b:{if(t!==null){var c=t.memoizedProps,v=t.memoizedState,m=e.stateNode;e.type===e.elementType&&!vf&&(m.props!==e.memoizedProps&&p("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.",At(e)||"instance"),m.state!==e.memoizedState&&p("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.",At(e)||"instance"));var S=m.getSnapshotBeforeUpdate(e.elementType===e.type?c:zo(e.type,c),v);{var I=JT;S===void 0&&!I.has(e.type)&&(I.add(e.type),p("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",At(e)))}m.__reactInternalSnapshotBeforeUpdate=S}break}case R:{{var _=e.stateNode;XM(_.containerInfo)}break}case A:case N:case T:case Re:break;default:throw new 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.")}Kn()}}function $o(e,t,s){var c=t.updateQueue,v=c!==null?c.lastEffect:null;if(v!==null){var m=v.next,S=m;do{if((S.tag&e)===e){var I=S.destroy;S.destroy=void 0,I!==void 0&&((e&ca)!==Ci?td(t):(e&Pr)!==Ci&&nd(t),(e&Ms)!==Ci&&Xh(!0),qy(t,s,I),(e&Ms)!==Ci&&Xh(!1),(e&ca)!==Ci?lg():(e&Pr)!==Ci&&xl())}S=S.next}while(S!==m)}}function ec(e,t){var s=t.updateQueue,c=s!==null?s.lastEffect:null;if(c!==null){var v=c.next,m=v;do{if((m.tag&e)===e){(e&ca)!==Ci?ug(t):(e&Pr)!==Ci&&cg(t);var S=m.create;(e&Ms)!==Ci&&Xh(!0),m.destroy=S(),(e&Ms)!==Ci&&Xh(!1),(e&ca)!==Ci?wv():(e&Pr)!==Ci&&fg();{var I=m.destroy;if(I!==void 0&&typeof I!="function"){var _=void 0;(m.tag&Pr)!==ct?_="useLayoutEffect":(m.tag&Ms)!==ct?_="useInsertionEffect":_="useEffect";var V=void 0;I===null?V=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof I.then=="function"?V=`
191
+ Check the render method of \``+c+"`.");var v=c||"",m=e._debugSource;m&&(v=m.fileName+":"+m.lineNumber),lE[v]||(lE[v]=!0,p("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",s))}if(typeof t.getDerivedStateFromProps=="function"){var S=Jt(t)||"Unknown";uE[S]||(p("%s: Function components do not support getDerivedStateFromProps.",S),uE[S]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var I=Jt(t)||"Unknown";sE[I]||(p("%s: Function components do not support contextType.",I),sE[I]=!0)}}}var vE={dehydrated:null,treeContext:null,retryLane:$t};function hE(e){return{baseLanes:e,cachePool:IL(),transitions:null}}function PL(e,t){var s=null;return{baseLanes:kt(e.baseLanes,t),cachePool:s,transitions:e.transitions}}function VL(e,t,s,c){if(t!==null){var v=t.memoizedState;if(v===null)return!1}return Ax(e,Sh)}function BL(e,t){return Al(e.childLanes,t)}function LT(e,t,s){var c=t.pendingProps;ZP(t)&&(t.flags|=wt);var v=Ho.current,m=!1,S=(t.flags&wt)!==ct;if(S||VL(v,e)?(m=!0,t.flags&=~wt):(e===null||e.memoizedState!==null)&&(v=uL(v,ZR)),v=rp(v),ql(t,v),e===null){JC(t);var I=t.memoizedState;if(I!==null){var _=I.dehydrated;if(_!==null)return $L(t,_)}var V=c.children,H=c.fallback;if(m){var ee=zL(t,V,H,s),Q=t.child;return Q.memoizedState=hE(s),t.memoizedState=vE,ee}else return mE(t,V)}else{var le=e.memoizedState;if(le!==null){var fe=le.dehydrated;if(fe!==null)return WL(e,t,S,c,fe,le,s)}if(m){var be=c.fallback,qe=c.children,pt=UL(e,t,qe,be,s),ot=t.child,Xt=e.child.memoizedState;return ot.memoizedState=Xt===null?hE(s):PL(Xt,s),ot.childLanes=BL(e,s),t.memoizedState=vE,pt}else{var Ht=c.children,re=HL(e,t,Ht,s);return t.memoizedState=null,re}}}function mE(e,t,s){var c=e.mode,v={mode:"visible",children:t},m=gE(v,c);return m.return=e,e.child=m,m}function zL(e,t,s,c){var v=e.mode,m=e.child,S={mode:"hidden",children:t},I,_;return(v&Vt)===mt&&m!==null?(I=m,I.childLanes=Se,I.pendingProps=S,e.mode&yt&&(I.actualDuration=0,I.actualStartTime=-1,I.selfBaseDuration=0,I.treeBaseDuration=0),_=ic(s,v,c,null)):(I=gE(S,v),_=ic(s,v,c,null)),I.return=e,_.return=e,I.sibling=_,e.child=I,_}function gE(e,t,s){return FI(e,t,Se,null)}function FT(e,t){return bf(e,t)}function HL(e,t,s,c){var v=e.child,m=v.sibling,S=FT(v,{mode:"visible",children:s});if((t.mode&Vt)===mt&&(S.lanes=c),S.return=t,S.sibling=null,m!==null){var I=t.deletions;I===null?(t.deletions=[m],t.flags|=un):I.push(m)}return t.child=S,S}function UL(e,t,s,c,v){var m=t.mode,S=e.child,I=S.sibling,_={mode:"hidden",children:s},V;if((m&Vt)===mt&&t.child!==S){var H=t.child;V=H,V.childLanes=Se,V.pendingProps=_,t.mode&yt&&(V.actualDuration=0,V.actualStartTime=-1,V.selfBaseDuration=S.selfBaseDuration,V.treeBaseDuration=S.treeBaseDuration),t.deletions=null}else V=FT(S,_),V.subtreeFlags=S.subtreeFlags&kr;var ee;return I!==null?ee=bf(I,c):(ee=ic(c,m,v,null),ee.flags|=Fn),ee.return=t,V.return=t,V.sibling=ee,t.child=V,ee}function Yy(e,t,s,c){c!==null&&qC(c),tp(t,e.child,null,s);var v=t.pendingProps,m=v.children,S=mE(t,m);return S.flags|=Fn,t.memoizedState=null,S}function GL(e,t,s,c,v){var m=t.mode,S={mode:"visible",children:s},I=gE(S,m),_=ic(c,m,v,null);return _.flags|=Fn,I.return=t,_.return=t,I.sibling=_,t.child=I,(t.mode&Vt)!==mt&&tp(t,e.child,null,v),_}function $L(e,t,s){return(e.mode&Vt)===mt?(p("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=bt):MC(t)?e.lanes=fu:e.lanes=Oa,null}function WL(e,t,s,c,v,m,S){if(s)if(t.flags&er){t.flags&=~er;var re=rE(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Yy(e,t,S,re)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=wt,null;var Ce=c.children,ae=c.fallback,Pe=GL(e,t,Ce,ae,S),Qe=t.child;return Qe.memoizedState=hE(S),t.memoizedState=vE,Pe}else{if(k2(),(t.mode&Vt)===mt)return Yy(e,t,S,null);if(MC(v)){var I,_,V;{var H=qM(v);I=H.digest,_=H.message,V=H.stack}var ee;_?ee=new Error(_):ee=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var Q=rE(ee,I,V);return Yy(e,t,S,Q)}var le=_a(S,e.childLanes);if(Go||le){var fe=ib();if(fe!==null){var be=nC(fe,S);if(be!==$t&&be!==m.retryLane){m.retryLane=be;var qe=Nn;bi(e,be),Gr(fe,e,be,qe)}}PE();var pt=rE(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return Yy(e,t,S,pt)}else if(iR(v)){t.flags|=wt,t.child=e.child;var ot=gP.bind(null,e);return QM(v,ot),null}else{F2(t,v,m.treeContext);var Xt=c.children,Ht=mE(t,Xt);return Ht.flags|=ui,Ht}}}function PT(e,t,s){e.lanes=kt(e.lanes,t);var c=e.alternate;c!==null&&(c.lanes=kt(c.lanes,t)),nx(e.return,t,s)}function XL(e,t,s){for(var c=t;c!==null;){if(c.tag===z){var v=c.memoizedState;v!==null&&PT(c,s,e)}else if(c.tag===pe)PT(c,s,e);else if(c.child!==null){c.child.return=c,c=c.child;continue}if(c===e)return;for(;c.sibling===null;){if(c.return===null||c.return===e)return;c=c.return}c.sibling.return=c.return,c=c.sibling}}function YL(e){for(var t=e,s=null;t!==null;){var c=t.alternate;c!==null&&Iy(c)===null&&(s=t),t=t.sibling}return s}function ZL(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!cE[e])if(cE[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{p('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{p('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:p('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else p('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function JL(e,t){e!==void 0&&!Xy[e]&&(e!=="collapsed"&&e!=="hidden"?(Xy[e]=!0,p('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(Xy[e]=!0,p('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function VT(e,t){{var s=Ut(e),c=!s&&typeof Oi(e)=="function";if(s||c){var v=s?"array":"iterable";return p("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>",v,t,v),!1}}return!0}function qL(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Ut(e)){for(var s=0;s<e.length;s++)if(!VT(e[s],s))return}else{var c=Oi(e);if(typeof c=="function"){var v=c.call(e);if(v)for(var m=v.next(),S=0;!m.done;m=v.next()){if(!VT(m.value,S))return;S++}}else p('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?',t)}}function yE(e,t,s,c,v){var m=e.memoizedState;m===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:c,tail:s,tailMode:v}:(m.isBackwards=t,m.rendering=null,m.renderingStartTime=0,m.last=c,m.tail=s,m.tailMode=v)}function BT(e,t,s){var c=t.pendingProps,v=c.revealOrder,m=c.tail,S=c.children;ZL(v),JL(m,v),qL(S,v),Za(e,t,S,s);var I=Ho.current,_=Ax(I,Sh);if(_)I=Nx(I,Sh),t.flags|=wt;else{var V=e!==null&&(e.flags&wt)!==ct;V&&XL(t,t.child,s),I=rp(I)}if(ql(t,I),(t.mode&Vt)===mt)t.memoizedState=null;else switch(v){case"forwards":{var H=YL(t.child),ee;H===null?(ee=t.child,t.child=null):(ee=H.sibling,H.sibling=null),yE(t,!1,ee,H,m);break}case"backwards":{var Q=null,le=t.child;for(t.child=null;le!==null;){var fe=le.alternate;if(fe!==null&&Iy(fe)===null){t.child=le;break}var be=le.sibling;le.sibling=Q,Q=le,le=be}yE(t,!0,Q,null,m);break}case"together":{yE(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function QL(e,t,s){Rx(t,t.stateNode.containerInfo);var c=t.pendingProps;return e===null?t.child=tp(t,null,c,s):Za(e,t,c,s),t.child}var zT=!1;function KL(e,t,s){var c=t.type,v=c._context,m=t.pendingProps,S=t.memoizedProps,I=m.value;{"value"in m||zT||(zT=!0,p("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var _=t.type.propTypes;_&&Po(_,m,"prop","Context.Provider")}if(AR(t,v,I),S!==null){var V=S.value;if(nt(V,I)){if(S.children===m.children&&!ry())return ku(e,t,s)}else X2(t,v,s)}var H=m.children;return Za(e,t,H,s),t.child}var HT=!1;function eF(e,t,s){var c=t.type;c._context===void 0?c!==c.Consumer&&(HT||(HT=!0,p("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):c=c._context;var v=t.pendingProps,m=v.children;typeof m!="function"&&p("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."),ep(t,s);var S=Or(c);Ss(t);var I;return _h.current=t,Ea(!0),I=m(S),Ea(!1),uu(),t.flags|=ms,Za(e,t,I,s),t.child}function jh(){Go=!0}function Zy(e,t){(t.mode&Vt)===mt&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Fn)}function ku(e,t,s){return e!==null&&(t.dependencies=e.dependencies),ST(),$h(t.lanes),_a(s,t.childLanes)?(iL(e,t),t.child):null}function tF(e,t,s){{var c=t.return;if(c===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,s.index=t.index,s.sibling=t.sibling,s.return=t.return,s.ref=t.ref,t===c.child)c.child=s;else{var v=c.child;if(v===null)throw new Error("Expected parent to have a child.");for(;v.sibling!==t;)if(v=v.sibling,v===null)throw new Error("Expected to find the previous sibling.");v.sibling=s}var m=c.deletions;return m===null?(c.deletions=[e],c.flags|=un):m.push(e),s.flags|=Fn,s}}function bE(e,t){var s=e.lanes;return!!_a(s,t)}function nF(e,t,s){switch(t.tag){case w:kT(t),t.stateNode,Qd();break;case A:XR(t);break;case b:{var c=t.type;ks(c)&&iy(t);break}case T:Rx(t,t.stateNode.containerInfo);break;case B:{var v=t.memoizedProps.value,m=t.type._context;AR(t,m,v);break}case U:{var S=_a(s,t.childLanes);S&&(t.flags|=jt);{var I=t.stateNode;I.effectDuration=0,I.passiveEffectDuration=0}}break;case z:{var _=t.memoizedState;if(_!==null){if(_.dehydrated!==null)return ql(t,rp(Ho.current)),t.flags|=wt,null;var V=t.child,H=V.childLanes;if(_a(s,H))return LT(e,t,s);ql(t,rp(Ho.current));var ee=ku(e,t,s);return ee!==null?ee.sibling:null}else ql(t,rp(Ho.current));break}case pe:{var Q=(e.flags&wt)!==ct,le=_a(s,t.childLanes);if(Q){if(le)return BT(e,t,s);t.flags|=wt}var fe=t.memoizedState;if(fe!==null&&(fe.rendering=null,fe.tail=null,fe.lastEffect=null),ql(t,Ho.current),le)break;return null}case me:case Ae:return t.lanes=Se,_T(e,t,s)}return ku(e,t,s)}function UT(e,t,s){if(t._debugNeedsRemount&&e!==null)return tF(e,t,ZE(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var c=e.memoizedProps,v=t.pendingProps;if(c!==v||ry()||t.type!==e.type)Go=!0;else{var m=bE(e,s);if(!m&&(t.flags&wt)===ct)return Go=!1,nF(e,t,s);(e.flags&kc)!==ct?Go=!0:Go=!1}}else if(Go=!1,la()&&A2(t)){var S=t.index,I=N2();mR(t,I,S)}switch(t.lanes=Se,t.tag){case E:return FL(e,t,t.type,s);case te:{var _=t.elementType;return ML(e,t,_,s)}case g:{var V=t.type,H=t.pendingProps,ee=t.elementType===V?H:zo(V,H);return fE(e,t,V,ee,s)}case b:{var Q=t.type,le=t.pendingProps,fe=t.elementType===Q?le:zo(Q,le);return jT(e,t,Q,fe,s)}case w:return DL(e,t,s);case A:return jL(e,t,s);case N:return kL(e,t);case z:return LT(e,t,s);case T:return QL(e,t,s);case P:{var be=t.type,qe=t.pendingProps,pt=t.elementType===be?qe:zo(be,qe);return AT(e,t,be,pt,s)}case j:return NL(e,t,s);case O:return OL(e,t,s);case U:return _L(e,t,s);case B:return KL(e,t,s);case L:return eF(e,t,s);case G:{var ot=t.type,Xt=t.pendingProps,Ht=zo(ot,Xt);if(t.type!==t.elementType){var re=ot.propTypes;re&&Po(re,Ht,"prop",Jt(ot))}return Ht=zo(ot.type,Ht),NT(e,t,ot,Ht,s)}case X:return OT(e,t,t.type,t.pendingProps,s);case Re:{var Ce=t.type,ae=t.pendingProps,Pe=t.elementType===Ce?ae:zo(Ce,ae);return LL(e,t,Ce,Pe,s)}case pe:return BT(e,t,s);case ye:break;case me:return _T(e,t,s)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function lp(e){e.flags|=jt}function GT(e){e.flags|=wa,e.flags|=vv}var $T,CE,WT,XT;$T=function(e,t,s,c){for(var v=t.child;v!==null;){if(v.tag===A||v.tag===N)RM(e,v.stateNode);else if(v.tag!==T){if(v.child!==null){v.child.return=v,v=v.child;continue}}if(v===t)return;for(;v.sibling===null;){if(v.return===null||v.return===t)return;v=v.return}v.sibling.return=v.return,v=v.sibling}},CE=function(e,t){},WT=function(e,t,s,c,v){var m=e.memoizedProps;if(m!==c){var S=t.stateNode,I=Tx(),_=IM(S,s,m,c,v,I);t.updateQueue=_,_&&lp(t)}},XT=function(e,t,s,c){s!==c&&lp(t)};function kh(e,t){if(!la())switch(e.tailMode){case"hidden":{for(var s=e.tail,c=null;s!==null;)s.alternate!==null&&(c=s),s=s.sibling;c===null?e.tail=null:c.sibling=null;break}case"collapsed":{for(var v=e.tail,m=null;v!==null;)v.alternate!==null&&(m=v),v=v.sibling;m===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:m.sibling=null;break}}}function fa(e){var t=e.alternate!==null&&e.alternate.child===e.child,s=Se,c=ct;if(t){if((e.mode&yt)!==mt){for(var _=e.selfBaseDuration,V=e.child;V!==null;)s=kt(s,kt(V.lanes,V.childLanes)),c|=V.subtreeFlags&kr,c|=V.flags&kr,_+=V.treeBaseDuration,V=V.sibling;e.treeBaseDuration=_}else for(var H=e.child;H!==null;)s=kt(s,kt(H.lanes,H.childLanes)),c|=H.subtreeFlags&kr,c|=H.flags&kr,H.return=e,H=H.sibling;e.subtreeFlags|=c}else{if((e.mode&yt)!==mt){for(var v=e.actualDuration,m=e.selfBaseDuration,S=e.child;S!==null;)s=kt(s,kt(S.lanes,S.childLanes)),c|=S.subtreeFlags,c|=S.flags,v+=S.actualDuration,m+=S.treeBaseDuration,S=S.sibling;e.actualDuration=v,e.treeBaseDuration=m}else for(var I=e.child;I!==null;)s=kt(s,kt(I.lanes,I.childLanes)),c|=I.subtreeFlags,c|=I.flags,I.return=e,I=I.sibling;e.subtreeFlags|=c}return e.childLanes=s,t}function rF(e,t,s){if(H2()&&(t.mode&Vt)!==mt&&(t.flags&wt)===ct)return SR(t),Qd(),t.flags|=er|Ua|Rr,!1;var c=cy(t);if(s!==null&&s.dehydrated!==null)if(e===null){if(!c)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(B2(t),fa(t),(t.mode&yt)!==mt){var v=s!==null;if(v){var m=t.child;m!==null&&(t.treeBaseDuration-=m.treeBaseDuration)}}return!1}else{if(Qd(),(t.flags&wt)===ct&&(t.memoizedState=null),t.flags|=jt,fa(t),(t.mode&yt)!==mt){var S=s!==null;if(S){var I=t.child;I!==null&&(t.treeBaseDuration-=I.treeBaseDuration)}}return!1}else return wR(),!0}function YT(e,t,s){var c=t.pendingProps;switch(WC(t),t.tag){case E:case te:case X:case g:case P:case j:case O:case U:case L:case G:return fa(t),null;case b:{var v=t.type;return ks(v)&&ay(t),fa(t),null}case w:{var m=t.stateNode;if(np(t),HC(t),_x(),m.pendingContext&&(m.context=m.pendingContext,m.pendingContext=null),e===null||e.child===null){var S=cy(t);if(S)lp(t);else if(e!==null){var I=e.memoizedState;(!I.isDehydrated||(t.flags&er)!==ct)&&(t.flags|=si,wR())}}return CE(e,t),fa(t),null}case A:{Ix(t);var _=WR(),V=t.type;if(e!==null&&t.stateNode!=null)WT(e,t,V,c,_),e.ref!==t.ref&&GT(t);else{if(!c){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return fa(t),null}var H=Tx(),ee=cy(t);if(ee)P2(t,_,H)&&lp(t);else{var Q=wM(V,c,_,H,t);$T(Q,t,!1,!1),t.stateNode=Q,TM(Q,V,c,_)&&lp(t)}t.ref!==null&&GT(t)}return fa(t),null}case N:{var le=c;if(e&&t.stateNode!=null){var fe=e.memoizedProps;XT(e,t,fe,le)}else{if(typeof le!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var be=WR(),qe=Tx(),pt=cy(t);pt?V2(t)&&lp(t):t.stateNode=AM(le,be,qe,t)}return fa(t),null}case z:{ap(t);var ot=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var Xt=rF(e,t,ot);if(!Xt)return t.flags&Rr?t:null}if((t.flags&wt)!==ct)return t.lanes=s,(t.mode&yt)!==mt&&nE(t),t;var Ht=ot!==null,re=e!==null&&e.memoizedState!==null;if(Ht!==re&&Ht){var Ce=t.child;if(Ce.flags|=gs,(t.mode&Vt)!==mt){var ae=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!q);ae||Ax(Ho.current,ZR)?aP():PE()}}var Pe=t.updateQueue;if(Pe!==null&&(t.flags|=jt),fa(t),(t.mode&yt)!==mt&&Ht){var Qe=t.child;Qe!==null&&(t.treeBaseDuration-=Qe.treeBaseDuration)}return null}case T:return np(t),CE(e,t),e===null&&x2(t.stateNode.containerInfo),fa(t),null;case B:var Xe=t.type._context;return tx(Xe,t),fa(t),null;case Re:{var Et=t.type;return ks(Et)&&ay(t),fa(t),null}case pe:{ap(t);var Ot=t.memoizedState;if(Ot===null)return fa(t),null;var En=(t.flags&wt)!==ct,an=Ot.rendering;if(an===null)if(En)kh(Ot,!1);else{var Er=oP()&&(e===null||(e.flags&wt)===ct);if(!Er)for(var on=t.child;on!==null;){var vr=Iy(on);if(vr!==null){En=!0,t.flags|=wt,kh(Ot,!1);var Ma=vr.updateQueue;return Ma!==null&&(t.updateQueue=Ma,t.flags|=jt),t.subtreeFlags=ct,oL(t,s),ql(t,Nx(Ho.current,Sh)),t.child}on=on.sibling}Ot.tail!==null&&Yn()>hI()&&(t.flags|=wt,En=!0,kh(Ot,!1),t.lanes=Iv)}else{if(!En){var ma=Iy(an);if(ma!==null){t.flags|=wt,En=!0;var zi=ma.updateQueue;if(zi!==null&&(t.updateQueue=zi,t.flags|=jt),kh(Ot,!0),Ot.tail===null&&Ot.tailMode==="hidden"&&!an.alternate&&!la())return fa(t),null}else Yn()*2-Ot.renderingStartTime>hI()&&s!==Oa&&(t.flags|=wt,En=!0,kh(Ot,!1),t.lanes=Iv)}if(Ot.isBackwards)an.sibling=t.child,t.child=an;else{var Qa=Ot.last;Qa!==null?Qa.sibling=an:t.child=an,Ot.last=an}}if(Ot.tail!==null){var Ka=Ot.tail;Ot.rendering=Ka,Ot.tail=Ka.sibling,Ot.renderingStartTime=Yn(),Ka.sibling=null;var La=Ho.current;return En?La=Nx(La,Sh):La=rp(La),ql(t,La),Ka}return fa(t),null}case ye:break;case me:case Ae:{FE(t);var Vu=t.memoizedState,gp=Vu!==null;if(e!==null){var Jh=e.memoizedState,Hs=Jh!==null;Hs!==gp&&!F&&(t.flags|=gs)}return!gp||(t.mode&Vt)===mt?fa(t):_a(zs,Oa)&&(fa(t),t.subtreeFlags&(Fn|jt)&&(t.flags|=gs)),null}case _e:return null;case Oe:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function aF(e,t,s){switch(WC(t),t.tag){case b:{var c=t.type;ks(c)&&ay(t);var v=t.flags;return v&Rr?(t.flags=v&~Rr|wt,(t.mode&yt)!==mt&&nE(t),t):null}case w:{t.stateNode,np(t),HC(t),_x();var m=t.flags;return(m&Rr)!==ct&&(m&wt)===ct?(t.flags=m&~Rr|wt,t):null}case A:return Ix(t),null;case z:{ap(t);var S=t.memoizedState;if(S!==null&&S.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Qd()}var I=t.flags;return I&Rr?(t.flags=I&~Rr|wt,(t.mode&yt)!==mt&&nE(t),t):null}case pe:return ap(t),null;case T:return np(t),null;case B:var _=t.type._context;return tx(_,t),null;case me:case Ae:return FE(t),null;case _e:return null;default:return null}}function ZT(e,t,s){switch(WC(t),t.tag){case b:{var c=t.type.childContextTypes;c!=null&&ay(t);break}case w:{t.stateNode,np(t),HC(t),_x();break}case A:{Ix(t);break}case T:np(t);break;case z:ap(t);break;case pe:ap(t);break;case B:var v=t.type._context;tx(v,t);break;case me:case Ae:FE(t);break}}var JT=null;JT=new Set;var Jy=!1,da=!1,iF=typeof WeakSet=="function"?WeakSet:Set,rt=null,cp=null,fp=null;function oF(e){ou(null,function(){throw e}),dv()}var sF=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&yt)try{Vs(),t.componentWillUnmount()}finally{Ps(e)}else t.componentWillUnmount()};function qT(e,t){try{ec(Pr,e)}catch(s){zn(e,t,s)}}function xE(e,t,s){try{sF(e,s)}catch(c){zn(e,t,c)}}function uF(e,t,s){try{s.componentDidMount()}catch(c){zn(e,t,c)}}function QT(e,t){try{eI(e)}catch(s){zn(e,t,s)}}function dp(e,t){var s=e.ref;if(s!==null)if(typeof s=="function"){var c;try{if(ie&&he&&e.mode&yt)try{Vs(),c=s(null)}finally{Ps(e)}else c=s(null)}catch(v){zn(e,t,v)}typeof c=="function"&&p("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",At(e))}else s.current=null}function qy(e,t,s){try{s()}catch(c){zn(e,t,c)}}var KT=!1;function lF(e,t){EM(e.containerInfo),rt=t,cF();var s=KT;return KT=!1,s}function cF(){for(;rt!==null;){var e=rt,t=e.child;(e.subtreeFlags&Cl)!==ct&&t!==null?(t.return=e,rt=t):fF()}}function fF(){for(;rt!==null;){var e=rt;dn(e);try{dF(e)}catch(s){zn(e,e.return,s)}Kn();var t=e.sibling;if(t!==null){t.return=e.return,rt=t;return}rt=e.return}}function dF(e){var t=e.alternate,s=e.flags;if((s&si)!==ct){switch(dn(e),e.tag){case g:case P:case X:break;case b:{if(t!==null){var c=t.memoizedProps,v=t.memoizedState,m=e.stateNode;e.type===e.elementType&&!vf&&(m.props!==e.memoizedProps&&p("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.",At(e)||"instance"),m.state!==e.memoizedState&&p("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.",At(e)||"instance"));var S=m.getSnapshotBeforeUpdate(e.elementType===e.type?c:zo(e.type,c),v);{var I=JT;S===void 0&&!I.has(e.type)&&(I.add(e.type),p("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",At(e)))}m.__reactInternalSnapshotBeforeUpdate=S}break}case w:{{var _=e.stateNode;XM(_.containerInfo)}break}case A:case N:case T:case Re:break;default:throw new 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.")}Kn()}}function $o(e,t,s){var c=t.updateQueue,v=c!==null?c.lastEffect:null;if(v!==null){var m=v.next,S=m;do{if((S.tag&e)===e){var I=S.destroy;S.destroy=void 0,I!==void 0&&((e&ca)!==Ci?td(t):(e&Pr)!==Ci&&nd(t),(e&Ms)!==Ci&&Xh(!0),qy(t,s,I),(e&Ms)!==Ci&&Xh(!1),(e&ca)!==Ci?lg():(e&Pr)!==Ci&&xl())}S=S.next}while(S!==m)}}function ec(e,t){var s=t.updateQueue,c=s!==null?s.lastEffect:null;if(c!==null){var v=c.next,m=v;do{if((m.tag&e)===e){(e&ca)!==Ci?ug(t):(e&Pr)!==Ci&&cg(t);var S=m.create;(e&Ms)!==Ci&&Xh(!0),m.destroy=S(),(e&Ms)!==Ci&&Xh(!1),(e&ca)!==Ci?wv():(e&Pr)!==Ci&&fg();{var I=m.destroy;if(I!==void 0&&typeof I!="function"){var _=void 0;(m.tag&Pr)!==ct?_="useLayoutEffect":(m.tag&Ms)!==ct?_="useInsertionEffect":_="useEffect";var V=void 0;I===null?V=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof I.then=="function"?V=`
192
192
 
193
193
  It looks like you wrote `+_+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
194
194
 
@@ -201,11 +201,11 @@ It looks like you wrote `+_+`(async () => ...) or returned a Promise. Instead, w
201
201
  fetchData();
202
202
  }, [someId]); // Or [] if effect doesn't need props or state
203
203
 
204
- Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:V=" You returned: "+I,p("%s must not return anything besides a function, which is used for clean-up.%s",_,V)}}}m=m.next}while(m!==v)}}function pF(e,t){if((t.flags&jt)!==ct)switch(t.tag){case U:{var s=t.stateNode.passiveEffectDuration,c=t.memoizedProps,v=c.id,m=c.onPostCommit,S=xT(),I=t.alternate===null?"mount":"update";CT()&&(I="nested-update"),typeof m=="function"&&m(v,I,s,S);var _=t.return;e:for(;_!==null;){switch(_.tag){case R:var V=_.stateNode;V.passiveEffectDuration+=s;break e;case U:var H=_.stateNode;H.passiveEffectDuration+=s;break e}_=_.return}break}}}function vF(e,t,s,c){if((s.flags&Wr)!==ct)switch(s.tag){case g:case P:case X:{if(!da)if(s.mode&yt)try{Vs(),ec(Pr|Fr,s)}finally{Ps(s)}else ec(Pr|Fr,s);break}case b:{var v=s.stateNode;if(s.flags&jt&&!da)if(t===null)if(s.type===s.elementType&&!vf&&(v.props!==s.memoizedProps&&p("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.",At(s)||"instance"),v.state!==s.memoizedState&&p("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.",At(s)||"instance")),s.mode&yt)try{Vs(),v.componentDidMount()}finally{Ps(s)}else v.componentDidMount();else{var m=s.elementType===s.type?t.memoizedProps:zo(s.type,t.memoizedProps),S=t.memoizedState;if(s.type===s.elementType&&!vf&&(v.props!==s.memoizedProps&&p("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.",At(s)||"instance"),v.state!==s.memoizedState&&p("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.",At(s)||"instance")),s.mode&yt)try{Vs(),v.componentDidUpdate(m,S,v.__reactInternalSnapshotBeforeUpdate)}finally{Ps(s)}else v.componentDidUpdate(m,S,v.__reactInternalSnapshotBeforeUpdate)}var I=s.updateQueue;I!==null&&(s.type===s.elementType&&!vf&&(v.props!==s.memoizedProps&&p("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.",At(s)||"instance"),v.state!==s.memoizedState&&p("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.",At(s)||"instance")),kR(s,I,v));break}case R:{var _=s.updateQueue;if(_!==null){var V=null;if(s.child!==null)switch(s.child.tag){case A:V=s.child.stateNode;break;case b:V=s.child.stateNode;break}kR(s,_,V)}break}case A:{var H=s.stateNode;if(t===null&&s.flags&jt){var ee=s.type,Q=s.memoizedProps;jM(H,ee,Q)}break}case N:break;case T:break;case U:{{var le=s.memoizedProps,fe=le.onCommit,be=le.onRender,qe=s.stateNode.effectDuration,pt=xT(),ot=t===null?"mount":"update";CT()&&(ot="nested-update"),typeof be=="function"&&be(s.memoizedProps.id,ot,s.actualDuration,s.treeBaseDuration,s.actualStartTime,pt);{typeof fe=="function"&&fe(s.memoizedProps.id,ot,qe,pt),fP(s);var Xt=s.return;e:for(;Xt!==null;){switch(Xt.tag){case R:var Ht=Xt.stateNode;Ht.effectDuration+=qe;break e;case U:var re=Xt.stateNode;re.effectDuration+=qe;break e}Xt=Xt.return}}}break}case z:{EF(e,s);break}case pe:case Re:case ye:case me:case Ae:case Oe:break;default:throw new 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.")}da||s.flags&wa&&eI(s)}function hF(e){switch(e.tag){case g:case P:case X:{if(e.mode&yt)try{Vs(),qT(e,e.return)}finally{Ps(e)}else qT(e,e.return);break}case b:{var t=e.stateNode;typeof t.componentDidMount=="function"&&uF(e,e.return,t),QT(e,e.return);break}case A:{QT(e,e.return);break}}}function mF(e,t){for(var s=null,c=e;;){if(c.tag===A){if(s===null){s=c;try{var v=c.stateNode;t?UM(v):$M(c.stateNode,c.memoizedProps)}catch(S){zn(e,e.return,S)}}}else if(c.tag===N){if(s===null)try{var m=c.stateNode;t?GM(m):WM(m,c.memoizedProps)}catch(S){zn(e,e.return,S)}}else if(!((c.tag===me||c.tag===Ae)&&c.memoizedState!==null&&c!==e)){if(c.child!==null){c.child.return=c,c=c.child;continue}}if(c===e)return;for(;c.sibling===null;){if(c.return===null||c.return===e)return;s===c&&(s=null),c=c.return}s===c&&(s=null),c.sibling.return=c.return,c=c.sibling}}function eI(e){var t=e.ref;if(t!==null){var s=e.stateNode,c;switch(e.tag){case A:c=s;break;default:c=s}if(typeof t=="function"){var v;if(e.mode&yt)try{Vs(),v=t(c)}finally{Ps(e)}else v=t(c);typeof v=="function"&&p("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",At(e))}else t.hasOwnProperty("current")||p("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",At(e)),t.current=c}}function gF(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function tI(e){var t=e.alternate;t!==null&&(e.alternate=null,tI(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===A){var s=e.stateNode;s!==null&&w2(s)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function yF(e){for(var t=e.return;t!==null;){if(nI(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function nI(e){return e.tag===A||e.tag===R||e.tag===T}function rI(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||nI(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==A&&t.tag!==N&&t.tag!==ue;){if(t.flags&Fn||t.child===null||t.tag===T)continue e;t.child.return=t,t=t.child}if(!(t.flags&Fn))return t.stateNode}}function bF(e){var t=yF(e);switch(t.tag){case A:{var s=t.stateNode;t.flags&pn&&(aR(s),t.flags&=~pn);var c=rI(e);SE(e,c,s);break}case R:case T:{var v=t.stateNode.containerInfo,m=rI(e);EE(e,m,v);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function EE(e,t,s){var c=e.tag,v=c===A||c===N;if(v){var m=e.stateNode;t?VM(s,m,t):FM(s,m)}else if(c!==T){var S=e.child;if(S!==null){EE(S,t,s);for(var I=S.sibling;I!==null;)EE(I,t,s),I=I.sibling}}}function SE(e,t,s){var c=e.tag,v=c===A||c===N;if(v){var m=e.stateNode;t?PM(s,m,t):LM(s,m)}else if(c!==T){var S=e.child;if(S!==null){SE(S,t,s);for(var I=S.sibling;I!==null;)SE(I,t,s),I=I.sibling}}}var pa=null,Wo=!1;function CF(e,t,s){{var c=t;e:for(;c!==null;){switch(c.tag){case A:{pa=c.stateNode,Wo=!1;break e}case R:{pa=c.stateNode.containerInfo,Wo=!0;break e}case T:{pa=c.stateNode.containerInfo,Wo=!0;break e}}c=c.return}if(pa===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");aI(e,t,s),pa=null,Wo=!1}gF(s)}function tc(e,t,s){for(var c=s.child;c!==null;)aI(e,t,c),c=c.sibling}function aI(e,t,s){switch(Ev(s),s.tag){case A:da||dp(s,t);case N:{{var c=pa,v=Wo;pa=null,tc(e,t,s),pa=c,Wo=v,pa!==null&&(Wo?zM(pa,s.stateNode):BM(pa,s.stateNode))}return}case ue:{pa!==null&&(Wo?HM(pa,s.stateNode):kC(pa,s.stateNode));return}case T:{{var m=pa,S=Wo;pa=s.stateNode.containerInfo,Wo=!0,tc(e,t,s),pa=m,Wo=S}return}case g:case P:case G:case X:{if(!da){var I=s.updateQueue;if(I!==null){var _=I.lastEffect;if(_!==null){var V=_.next,H=V;do{var ee=H,Q=ee.destroy,le=ee.tag;Q!==void 0&&((le&Ms)!==Ci?qy(s,t,Q):(le&Pr)!==Ci&&(nd(s),s.mode&yt?(Vs(),qy(s,t,Q),Ps(s)):qy(s,t,Q),xl())),H=H.next}while(H!==V)}}}tc(e,t,s);return}case b:{if(!da){dp(s,t);var fe=s.stateNode;typeof fe.componentWillUnmount=="function"&&xE(s,t,fe)}tc(e,t,s);return}case ye:{tc(e,t,s);return}case me:{if(s.mode&Vt){var be=da;da=be||s.memoizedState!==null,tc(e,t,s),da=be}else tc(e,t,s);break}default:{tc(e,t,s);return}}}function xF(e){e.memoizedState}function EF(e,t){var s=t.memoizedState;if(s===null){var c=t.alternate;if(c!==null){var v=c.memoizedState;if(v!==null){var m=v.dehydrated;m!==null&&s2(m)}}}}function iI(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var s=e.stateNode;s===null&&(s=e.stateNode=new iF),t.forEach(function(c){var v=yP.bind(null,e,c);if(!s.has(c)){if(s.add(c),Mr)if(cp!==null&&fp!==null)Wh(fp,cp);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");c.then(v,v)}})}}function SF(e,t,s){cp=s,fp=e,dn(t),oI(t,e),dn(t),cp=null,fp=null}function Xo(e,t,s){var c=t.deletions;if(c!==null)for(var v=0;v<c.length;v++){var m=c[v];try{CF(e,t,m)}catch(_){zn(m,t,_)}}var S=jf();if(t.subtreeFlags&Ia)for(var I=t.child;I!==null;)dn(I),oI(I,e),I=I.sibling;dn(S)}function oI(e,t,s){var c=e.alternate,v=e.flags;switch(e.tag){case g:case P:case G:case X:{if(Xo(t,e),Bs(e),v&jt){try{$o(Ms|Fr,e,e.return),ec(Ms|Fr,e)}catch(Et){zn(e,e.return,Et)}if(e.mode&yt){try{Vs(),$o(Pr|Fr,e,e.return)}catch(Et){zn(e,e.return,Et)}Ps(e)}else try{$o(Pr|Fr,e,e.return)}catch(Et){zn(e,e.return,Et)}}return}case b:{Xo(t,e),Bs(e),v&wa&&c!==null&&dp(c,c.return);return}case A:{Xo(t,e),Bs(e),v&wa&&c!==null&&dp(c,c.return);{if(e.flags&pn){var m=e.stateNode;try{aR(m)}catch(Et){zn(e,e.return,Et)}}if(v&jt){var S=e.stateNode;if(S!=null){var I=e.memoizedProps,_=c!==null?c.memoizedProps:I,V=e.type,H=e.updateQueue;if(e.updateQueue=null,H!==null)try{kM(S,H,V,_,I,e)}catch(Et){zn(e,e.return,Et)}}}}return}case N:{if(Xo(t,e),Bs(e),v&jt){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var ee=e.stateNode,Q=e.memoizedProps,le=c!==null?c.memoizedProps:Q;try{MM(ee,le,Q)}catch(Et){zn(e,e.return,Et)}}return}case R:{if(Xo(t,e),Bs(e),v&jt&&c!==null){var fe=c.memoizedState;if(fe.isDehydrated)try{o2(t.containerInfo)}catch(Et){zn(e,e.return,Et)}}return}case T:{Xo(t,e),Bs(e);return}case z:{Xo(t,e),Bs(e);var be=e.child;if(be.flags&gs){var qe=be.stateNode,pt=be.memoizedState,ot=pt!==null;if(qe.isHidden=ot,ot){var Xt=be.alternate!==null&&be.alternate.memoizedState!==null;Xt||rP()}}if(v&jt){try{xF(e)}catch(Et){zn(e,e.return,Et)}iI(e)}return}case me:{var Ht=c!==null&&c.memoizedState!==null;if(e.mode&Vt){var re=da;da=re||Ht,Xo(t,e),da=re}else Xo(t,e);if(Bs(e),v&gs){var Ce=e.stateNode,ae=e.memoizedState,Pe=ae!==null,Qe=e;if(Ce.isHidden=Pe,Pe&&!Ht&&(Qe.mode&Vt)!==mt){rt=Qe;for(var Xe=Qe.child;Xe!==null;)rt=Xe,RF(Xe),Xe=Xe.sibling}mF(Qe,Pe)}return}case pe:{Xo(t,e),Bs(e),v&jt&&iI(e);return}case ye:return;default:{Xo(t,e),Bs(e);return}}}function Bs(e){var t=e.flags;if(t&Fn){try{bF(e)}catch(s){zn(e,e.return,s)}e.flags&=~Fn}t&ui&&(e.flags&=~ui)}function wF(e,t,s){cp=s,fp=t,rt=e,sI(e,t,s),cp=null,fp=null}function sI(e,t,s){for(var c=(e.mode&Vt)!==mt;rt!==null;){var v=rt,m=v.child;if(v.tag===me&&c){var S=v.memoizedState!==null,I=S||Jy;if(I){wE(e,t,s);continue}else{var _=v.alternate,V=_!==null&&_.memoizedState!==null,H=V||da,ee=Jy,Q=da;Jy=I,da=H,da&&!Q&&(rt=v,TF(v));for(var le=m;le!==null;)rt=le,sI(le,t,s),le=le.sibling;rt=v,Jy=ee,da=Q,wE(e,t,s);continue}}(v.subtreeFlags&Wr)!==ct&&m!==null?(m.return=v,rt=m):wE(e,t,s)}}function wE(e,t,s){for(;rt!==null;){var c=rt;if((c.flags&Wr)!==ct){var v=c.alternate;dn(c);try{vF(t,v,c,s)}catch(S){zn(c,c.return,S)}Kn()}if(c===e){rt=null;return}var m=c.sibling;if(m!==null){m.return=c.return,rt=m;return}rt=c.return}}function RF(e){for(;rt!==null;){var t=rt,s=t.child;switch(t.tag){case g:case P:case G:case X:{if(t.mode&yt)try{Vs(),$o(Pr,t,t.return)}finally{Ps(t)}else $o(Pr,t,t.return);break}case b:{dp(t,t.return);var c=t.stateNode;typeof c.componentWillUnmount=="function"&&xE(t,t.return,c);break}case A:{dp(t,t.return);break}case me:{var v=t.memoizedState!==null;if(v){uI(e);continue}break}}s!==null?(s.return=t,rt=s):uI(e)}}function uI(e){for(;rt!==null;){var t=rt;if(t===e){rt=null;return}var s=t.sibling;if(s!==null){s.return=t.return,rt=s;return}rt=t.return}}function TF(e){for(;rt!==null;){var t=rt,s=t.child;if(t.tag===me){var c=t.memoizedState!==null;if(c){lI(e);continue}}s!==null?(s.return=t,rt=s):lI(e)}}function lI(e){for(;rt!==null;){var t=rt;dn(t);try{hF(t)}catch(c){zn(t,t.return,c)}if(Kn(),t===e){rt=null;return}var s=t.sibling;if(s!==null){s.return=t.return,rt=s;return}rt=t.return}}function IF(e,t,s,c){rt=t,AF(t,e,s,c)}function AF(e,t,s,c){for(;rt!==null;){var v=rt,m=v.child;(v.subtreeFlags&li)!==ct&&m!==null?(m.return=v,rt=m):NF(e,t,s,c)}}function NF(e,t,s,c){for(;rt!==null;){var v=rt;if((v.flags&Un)!==ct){dn(v);try{OF(t,v,s,c)}catch(S){zn(v,v.return,S)}Kn()}if(v===e){rt=null;return}var m=v.sibling;if(m!==null){m.return=v.return,rt=m;return}rt=v.return}}function OF(e,t,s,c){switch(t.tag){case g:case P:case X:{if(t.mode&yt){tE();try{ec(ca|Fr,t)}finally{eE(t)}}else ec(ca|Fr,t);break}}}function _F(e){rt=e,DF()}function DF(){for(;rt!==null;){var e=rt,t=e.child;if((rt.flags&un)!==ct){var s=e.deletions;if(s!==null){for(var c=0;c<s.length;c++){var v=s[c];rt=v,MF(v,e)}{var m=e.alternate;if(m!==null){var S=m.child;if(S!==null){m.child=null;do{var I=S.sibling;S.sibling=null,S=I}while(S!==null)}}}rt=e}}(e.subtreeFlags&li)!==ct&&t!==null?(t.return=e,rt=t):jF()}}function jF(){for(;rt!==null;){var e=rt;(e.flags&Un)!==ct&&(dn(e),kF(e),Kn());var t=e.sibling;if(t!==null){t.return=e.return,rt=t;return}rt=e.return}}function kF(e){switch(e.tag){case g:case P:case X:{e.mode&yt?(tE(),$o(ca|Fr,e,e.return),eE(e)):$o(ca|Fr,e,e.return);break}}}function MF(e,t){for(;rt!==null;){var s=rt;dn(s),FF(s,t),Kn();var c=s.child;c!==null?(c.return=s,rt=c):LF(e)}}function LF(e){for(;rt!==null;){var t=rt,s=t.sibling,c=t.return;if(tI(t),t===e){rt=null;return}if(s!==null){s.return=c,rt=s;return}rt=c}}function FF(e,t){switch(e.tag){case g:case P:case X:{e.mode&yt?(tE(),$o(ca,e,t),eE(e)):$o(ca,e,t);break}}}function PF(e){switch(e.tag){case g:case P:case X:{try{ec(Pr|Fr,e)}catch(s){zn(e,e.return,s)}break}case b:{var t=e.stateNode;try{t.componentDidMount()}catch(s){zn(e,e.return,s)}break}}}function VF(e){switch(e.tag){case g:case P:case X:{try{ec(ca|Fr,e)}catch(t){zn(e,e.return,t)}break}}}function BF(e){switch(e.tag){case g:case P:case X:{try{$o(Pr|Fr,e,e.return)}catch(s){zn(e,e.return,s)}break}case b:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&xE(e,e.return,t);break}}}function zF(e){switch(e.tag){case g:case P:case X:try{$o(ca|Fr,e,e.return)}catch(t){zn(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var Mh=Symbol.for;Mh("selector.component"),Mh("selector.has_pseudo_class"),Mh("selector.role"),Mh("selector.test_id"),Mh("selector.text")}var HF=[];function UF(){HF.forEach(function(e){return e()})}var GF=i.ReactCurrentActQueue;function $F(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,s=typeof jest<"u";return s&&t!==!1}}function cI(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&GF.current!==null&&p("The current testing environment is not configured to support act(...)"),e}}var WF=Math.ceil,RE=i.ReactCurrentDispatcher,TE=i.ReactCurrentOwner,va=i.ReactCurrentBatchConfig,Yo=i.ReactCurrentActQueue,zr=0,fI=1,ha=2,vo=4,Mu=0,Lh=1,hf=2,Qy=3,Fh=4,dI=5,IE=6,Wt=zr,Ja=null,ur=null,Hr=Se,zs=Se,AE=$l(Se),Ur=Mu,Ph=null,Ky=Se,Vh=Se,eb=Se,Bh=null,xi=null,NE=0,pI=500,vI=1/0,XF=500,Lu=null;function zh(){vI=Yn()+XF}function hI(){return vI}var tb=!1,OE=null,pp=null,mf=!1,nc=null,Hh=Se,_E=[],DE=null,YF=50,Uh=0,jE=null,kE=!1,nb=!1,ZF=50,vp=0,rb=null,Gh=Nn,ab=Se,mI=!1;function ib(){return Ja}function qa(){return(Wt&(ha|vo))!==zr?Yn():(Gh!==Nn||(Gh=Yn()),Gh)}function rc(e){var t=e.mode;if((t&Vt)===mt)return bt;if((Wt&ha)!==zr&&Hr!==Se)return yr(Hr);var s=$2()!==G2;if(s){if(va.transition!==null){var c=va.transition;c._updatedFibers||(c._updatedFibers=new Set),c._updatedFibers.add(e)}return ab===$t&&(ab=Ov()),ab}var v=pi();if(v!==$t)return v;var m=NM();return m}function JF(e){var t=e.mode;return(t&Vt)===mt?bt:tC()}function Gr(e,t,s,c){CP(),mI&&p("useInsertionEffect must not schedule updates."),kE&&(nb=!0),yu(e,s,c),(Wt&ha)!==Se&&e===Ja?SP(t):(Mr&&Mv(e,t,s),wP(t),e===Ja&&((Wt&ha)===zr&&(Vh=kt(Vh,s)),Ur===Fh&&ac(e,Hr)),Ei(e,c),s===bt&&Wt===zr&&(t.mode&Vt)===mt&&!Yo.isBatchingLegacy&&(zh(),hR()))}function qF(e,t,s){var c=e.current;c.lanes=t,yu(e,t,s),Ei(e,s)}function QF(e){return(Wt&ha)!==zr}function Ei(e,t){var s=e.callbackNode;Q0(e,t);var c=Bc(e,e===Ja?Hr:Se);if(c===Se){s!==null&&DI(s),e.callbackNode=null,e.callbackPriority=$t;return}var v=dr(c),m=e.callbackPriority;if(m===v&&!(Yo.current!==null&&s!==zE)){s==null&&m!==bt&&p("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}s!=null&&DI(s);var S;if(v===bt)e.tag===Wl?(Yo.isBatchingLegacy!==null&&(Yo.didScheduleLegacyUpdate=!0),I2(bI.bind(null,e))):vR(bI.bind(null,e)),Yo.current!==null?Yo.current.push(Xl):_M(function(){(Wt&(ha|vo))===zr&&Xl()}),S=null;else{var I;switch($c(c)){case Xr:I=Qf;break;case Lr:I=Wa;break;case jo:I=ro;break;case Uc:I=bs;break;default:I=ro;break}S=HE(I,gI.bind(null,e))}e.callbackPriority=v,e.callbackNode=S}function gI(e,t){if(CL(),Gh=Nn,ab=Se,(Wt&(ha|vo))!==zr)throw new Error("Should not already be working.");var s=e.callbackNode,c=Pu();if(c&&e.callbackNode!==s)return null;var v=Bc(e,e===Ja?Hr:Se);if(v===Se)return null;var m=!Hc(e,v)&&!gg(e,v)&&!t,S=m?uP(e,v):sb(e,v);if(S!==Mu){if(S===hf){var I=Av(e);I!==Se&&(v=I,S=ME(e,I))}if(S===Lh){var _=Ph;throw gf(e,Se),ac(e,v),Ei(e,Yn()),_}if(S===IE)ac(e,v);else{var V=!Hc(e,v),H=e.current.alternate;if(V&&!eP(H)){if(S=sb(e,v),S===hf){var ee=Av(e);ee!==Se&&(v=ee,S=ME(e,ee))}if(S===Lh){var Q=Ph;throw gf(e,Se),ac(e,v),Ei(e,Yn()),Q}}e.finishedWork=H,e.finishedLanes=v,KF(e,S,v)}}return Ei(e,Yn()),e.callbackNode===s?gI.bind(null,e):null}function ME(e,t){var s=Bh;if(Cr(e)){var c=gf(e,t);c.flags|=er,C2(e.containerInfo)}var v=sb(e,t);if(v!==hf){var m=xi;xi=s,m!==null&&yI(m)}return v}function yI(e){xi===null?xi=e:xi.push.apply(xi,e)}function KF(e,t,s){switch(t){case Mu:case Lh:throw new Error("Root did not complete. This is a bug in React.");case hf:{yf(e,xi,Lu);break}case Qy:{if(ac(e,s),Ed(s)&&!jI()){var c=NE+pI-Yn();if(c>10){var v=Bc(e,Se);if(v!==Se)break;var m=e.suspendedLanes;if(!gu(m,s)){qa(),jv(e,m);break}e.timeoutHandle=DC(yf.bind(null,e,xi,Lu),c);break}}yf(e,xi,Lu);break}case Fh:{if(ac(e,s),mg(s))break;if(!jI()){var S=hg(e,s),I=S,_=Yn()-I,V=bP(_)-_;if(V>10){e.timeoutHandle=DC(yf.bind(null,e,xi,Lu),V);break}}yf(e,xi,Lu);break}case dI:{yf(e,xi,Lu);break}default:throw new Error("Unknown root exit status.")}}function eP(e){for(var t=e;;){if(t.flags&jc){var s=t.updateQueue;if(s!==null){var c=s.stores;if(c!==null)for(var v=0;v<c.length;v++){var m=c[v],S=m.getSnapshot,I=m.value;try{if(!nt(S(),I))return!1}catch{return!1}}}}var _=t.child;if(t.subtreeFlags&jc&&_!==null){_.return=t,t=_;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function ac(e,t){t=Al(t,eb),t=Al(t,Vh),Dv(e,t)}function bI(e){if(xL(),(Wt&(ha|vo))!==zr)throw new Error("Should not already be working.");Pu();var t=Bc(e,Se);if(!_a(t,bt))return Ei(e,Yn()),null;var s=sb(e,t);if(e.tag!==Wl&&s===hf){var c=Av(e);c!==Se&&(t=c,s=ME(e,c))}if(s===Lh){var v=Ph;throw gf(e,Se),ac(e,t),Ei(e,Yn()),v}if(s===IE)throw new Error("Root did not complete. This is a bug in React.");var m=e.current.alternate;return e.finishedWork=m,e.finishedLanes=t,yf(e,xi,Lu),Ei(e,Yn()),null}function tP(e,t){t!==Se&&(Nl(e,kt(t,bt)),Ei(e,Yn()),(Wt&(ha|vo))===zr&&(zh(),Xl()))}function LE(e,t){var s=Wt;Wt|=fI;try{return e(t)}finally{Wt=s,Wt===zr&&!Yo.isBatchingLegacy&&(zh(),hR())}}function nP(e,t,s,c,v){var m=pi(),S=va.transition;try{return va.transition=null,br(Xr),e(t,s,c,v)}finally{br(m),va.transition=S,Wt===zr&&zh()}}function Fu(e){nc!==null&&nc.tag===Wl&&(Wt&(ha|vo))===zr&&Pu();var t=Wt;Wt|=fI;var s=va.transition,c=pi();try{return va.transition=null,br(Xr),e?e():void 0}finally{br(c),va.transition=s,Wt=t,(Wt&(ha|vo))===zr&&Xl()}}function CI(){return(Wt&(ha|vo))!==zr}function ob(e,t){ja(AE,zs,e),zs=kt(zs,t)}function FE(e){zs=AE.current,Da(AE,e)}function gf(e,t){e.finishedWork=null,e.finishedLanes=Se;var s=e.timeoutHandle;if(s!==jC&&(e.timeoutHandle=jC,OM(s)),ur!==null)for(var c=ur.return;c!==null;){var v=c.alternate;ZT(v,c),c=c.return}Ja=e;var m=bf(e.current,null);return ur=m,Hr=zs=t,Ur=Mu,Ph=null,Ky=Se,Vh=Se,eb=Se,Bh=null,xi=null,Z2(),Bo.discardPendingWarnings(),m}function xI(e,t){do{var s=ur;try{if(vy(),qR(),Kn(),TE.current=null,s===null||s.return===null){Ur=Lh,Ph=t,ur=null;return}if(ie&&s.mode&yt&&Wy(s,!0),De)if(uu(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var c=t;dg(s,c,Hr)}else rd(s,t,Hr);TL(e,s.return,s,t,Hr),RI(s)}catch(v){t=v,ur===s&&s!==null?(s=s.return,ur=s):s=ur;continue}return}while(!0)}function EI(){var e=RE.current;return RE.current=zy,e===null?zy:e}function SI(e){RE.current=e}function rP(){NE=Yn()}function $h(e){Ky=kt(e,Ky)}function aP(){Ur===Mu&&(Ur=Qy)}function PE(){(Ur===Mu||Ur===Qy||Ur===hf)&&(Ur=Fh),Ja!==null&&(zc(Ky)||zc(Vh))&&ac(Ja,Hr)}function iP(e){Ur!==Fh&&(Ur=hf),Bh===null?Bh=[e]:Bh.push(e)}function oP(){return Ur===Mu}function sb(e,t){var s=Wt;Wt|=ha;var c=EI();if(Ja!==e||Hr!==t){if(Mr){var v=e.memoizedUpdaters;v.size>0&&(Wh(e,Hr),v.clear()),Rd(e,t)}Lu=Lv(),gf(e,t)}Fi(t);do try{sP();break}catch(m){xI(e,m)}while(!0);if(vy(),Wt=s,SI(c),ur!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return Sl(),Ja=null,Hr=Se,Ur}function sP(){for(;ur!==null;)wI(ur)}function uP(e,t){var s=Wt;Wt|=ha;var c=EI();if(Ja!==e||Hr!==t){if(Mr){var v=e.memoizedUpdaters;v.size>0&&(Wh(e,Hr),v.clear()),Rd(e,t)}Lu=Lv(),zh(),gf(e,t)}Fi(t);do try{lP();break}catch(m){xI(e,m)}while(!0);return vy(),SI(c),Wt=s,ur!==null?(Lc(),Mu):(Sl(),Ja=null,Hr=Se,Ur)}function lP(){for(;ur!==null&&!qf();)wI(ur)}function wI(e){var t=e.alternate;dn(e);var s;(e.mode&yt)!==mt?(Kx(e),s=VE(t,e,zs),Wy(e,!0)):s=VE(t,e,zs),Kn(),e.memoizedProps=e.pendingProps,s===null?RI(e):ur=s,TE.current=null}function RI(e){var t=e;do{var s=t.alternate,c=t.return;if((t.flags&Ua)===ct){dn(t);var v=void 0;if((t.mode&yt)===mt?v=YT(s,t,zs):(Kx(t),v=YT(s,t,zs),Wy(t,!1)),Kn(),v!==null){ur=v;return}}else{var m=aF(s,t);if(m!==null){m.flags&=rg,ur=m;return}if((t.mode&yt)!==mt){Wy(t,!1);for(var S=t.actualDuration,I=t.child;I!==null;)S+=I.actualDuration,I=I.sibling;t.actualDuration=S}if(c!==null)c.flags|=Ua,c.subtreeFlags=ct,c.deletions=null;else{Ur=IE,ur=null;return}}var _=t.sibling;if(_!==null){ur=_;return}t=c,ur=t}while(t!==null);Ur===Mu&&(Ur=dI)}function yf(e,t,s){var c=pi(),v=va.transition;try{va.transition=null,br(Xr),cP(e,t,s,c)}finally{va.transition=v,br(c)}return null}function cP(e,t,s,c){do Pu();while(nc!==null);if(xP(),(Wt&(ha|vo))!==zr)throw new Error("Should not already be working.");var v=e.finishedWork,m=e.finishedLanes;if(ed(m),v===null)return Sv(),null;if(m===Se&&p("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=Se,v===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=$t;var S=kt(v.lanes,v.childLanes);kv(e,S),e===Ja&&(Ja=null,ur=null,Hr=Se),((v.subtreeFlags&li)!==ct||(v.flags&li)!==ct)&&(mf||(mf=!0,DE=s,HE(ro,function(){return Pu(),null})));var I=(v.subtreeFlags&(Cl|Ia|Wr|li))!==ct,_=(v.flags&(Cl|Ia|Wr|li))!==ct;if(I||_){var V=va.transition;va.transition=null;var H=pi();br(Xr);var ee=Wt;Wt|=vo,TE.current=null,lF(e,v),ET(),SF(e,v,m),SM(e.containerInfo),e.current=v,pg(m),wF(v,e,m),El(),og(),Wt=ee,br(H),va.transition=V}else e.current=v,ET();var Q=mf;if(mf?(mf=!1,nc=e,Hh=m):(vp=0,rb=null),S=e.pendingLanes,S===Se&&(pp=null),Q||NI(e.current,!1),Oo(v.stateNode,c),Mr&&e.memoizedUpdaters.clear(),UF(),Ei(e,Yn()),t!==null)for(var le=e.onRecoverableError,fe=0;fe<t.length;fe++){var be=t[fe],qe=be.stack,pt=be.digest;le(be.value,{componentStack:qe,digest:pt})}if(tb){tb=!1;var ot=OE;throw OE=null,ot}return _a(Hh,bt)&&e.tag!==Wl&&Pu(),S=e.pendingLanes,_a(S,bt)?(bL(),e===jE?Uh++:(Uh=0,jE=e)):Uh=0,Xl(),Sv(),null}function Pu(){if(nc!==null){var e=$c(Hh),t=rC(jo,e),s=va.transition,c=pi();try{return va.transition=null,br(t),dP()}finally{br(c),va.transition=s}}return!1}function fP(e){_E.push(e),mf||(mf=!0,HE(ro,function(){return Pu(),null}))}function dP(){if(nc===null)return!1;var e=DE;DE=null;var t=nc,s=Hh;if(nc=null,Hh=Se,(Wt&(ha|vo))!==zr)throw new Error("Cannot flush passive effects while already rendering.");kE=!0,nb=!1,vg(s);var c=Wt;Wt|=vo,_F(t.current),IF(t,t.current,s,e);{var v=_E;_E=[];for(var m=0;m<v.length;m++){var S=v[m];pF(t,S)}}Mc(),NI(t.current,!0),Wt=c,Xl(),nb?t===rb?vp++:(vp=0,rb=t):vp=0,kE=!1,nb=!1,xs(t);{var I=t.current.stateNode;I.effectDuration=0,I.passiveEffectDuration=0}return!0}function TI(e){return pp!==null&&pp.has(e)}function pP(e){pp===null?pp=new Set([e]):pp.add(e)}function vP(e){tb||(tb=!0,OE=e)}var hP=vP;function II(e,t,s){var c=pf(s,t),v=wT(e,c,bt),m=Zl(e,v,bt),S=qa();m!==null&&(yu(m,bt,S),Ei(m,S))}function zn(e,t,s){if(oF(s),Xh(!1),e.tag===R){II(e,e,s);return}var c=null;for(c=t;c!==null;){if(c.tag===R){II(c,e,s);return}else if(c.tag===b){var v=c.type,m=c.stateNode;if(typeof v.getDerivedStateFromError=="function"||typeof m.componentDidCatch=="function"&&!TI(m)){var S=pf(s,e),I=iE(c,S,bt),_=Zl(c,I,bt),V=qa();_!==null&&(yu(_,bt,V),Ei(_,V));return}}c=c.return}p(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
204
+ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:V=" You returned: "+I,p("%s must not return anything besides a function, which is used for clean-up.%s",_,V)}}}m=m.next}while(m!==v)}}function pF(e,t){if((t.flags&jt)!==ct)switch(t.tag){case U:{var s=t.stateNode.passiveEffectDuration,c=t.memoizedProps,v=c.id,m=c.onPostCommit,S=xT(),I=t.alternate===null?"mount":"update";CT()&&(I="nested-update"),typeof m=="function"&&m(v,I,s,S);var _=t.return;e:for(;_!==null;){switch(_.tag){case w:var V=_.stateNode;V.passiveEffectDuration+=s;break e;case U:var H=_.stateNode;H.passiveEffectDuration+=s;break e}_=_.return}break}}}function vF(e,t,s,c){if((s.flags&Wr)!==ct)switch(s.tag){case g:case P:case X:{if(!da)if(s.mode&yt)try{Vs(),ec(Pr|Fr,s)}finally{Ps(s)}else ec(Pr|Fr,s);break}case b:{var v=s.stateNode;if(s.flags&jt&&!da)if(t===null)if(s.type===s.elementType&&!vf&&(v.props!==s.memoizedProps&&p("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.",At(s)||"instance"),v.state!==s.memoizedState&&p("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.",At(s)||"instance")),s.mode&yt)try{Vs(),v.componentDidMount()}finally{Ps(s)}else v.componentDidMount();else{var m=s.elementType===s.type?t.memoizedProps:zo(s.type,t.memoizedProps),S=t.memoizedState;if(s.type===s.elementType&&!vf&&(v.props!==s.memoizedProps&&p("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.",At(s)||"instance"),v.state!==s.memoizedState&&p("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.",At(s)||"instance")),s.mode&yt)try{Vs(),v.componentDidUpdate(m,S,v.__reactInternalSnapshotBeforeUpdate)}finally{Ps(s)}else v.componentDidUpdate(m,S,v.__reactInternalSnapshotBeforeUpdate)}var I=s.updateQueue;I!==null&&(s.type===s.elementType&&!vf&&(v.props!==s.memoizedProps&&p("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.",At(s)||"instance"),v.state!==s.memoizedState&&p("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.",At(s)||"instance")),kR(s,I,v));break}case w:{var _=s.updateQueue;if(_!==null){var V=null;if(s.child!==null)switch(s.child.tag){case A:V=s.child.stateNode;break;case b:V=s.child.stateNode;break}kR(s,_,V)}break}case A:{var H=s.stateNode;if(t===null&&s.flags&jt){var ee=s.type,Q=s.memoizedProps;jM(H,ee,Q)}break}case N:break;case T:break;case U:{{var le=s.memoizedProps,fe=le.onCommit,be=le.onRender,qe=s.stateNode.effectDuration,pt=xT(),ot=t===null?"mount":"update";CT()&&(ot="nested-update"),typeof be=="function"&&be(s.memoizedProps.id,ot,s.actualDuration,s.treeBaseDuration,s.actualStartTime,pt);{typeof fe=="function"&&fe(s.memoizedProps.id,ot,qe,pt),fP(s);var Xt=s.return;e:for(;Xt!==null;){switch(Xt.tag){case w:var Ht=Xt.stateNode;Ht.effectDuration+=qe;break e;case U:var re=Xt.stateNode;re.effectDuration+=qe;break e}Xt=Xt.return}}}break}case z:{EF(e,s);break}case pe:case Re:case ye:case me:case Ae:case Oe:break;default:throw new 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.")}da||s.flags&wa&&eI(s)}function hF(e){switch(e.tag){case g:case P:case X:{if(e.mode&yt)try{Vs(),qT(e,e.return)}finally{Ps(e)}else qT(e,e.return);break}case b:{var t=e.stateNode;typeof t.componentDidMount=="function"&&uF(e,e.return,t),QT(e,e.return);break}case A:{QT(e,e.return);break}}}function mF(e,t){for(var s=null,c=e;;){if(c.tag===A){if(s===null){s=c;try{var v=c.stateNode;t?UM(v):$M(c.stateNode,c.memoizedProps)}catch(S){zn(e,e.return,S)}}}else if(c.tag===N){if(s===null)try{var m=c.stateNode;t?GM(m):WM(m,c.memoizedProps)}catch(S){zn(e,e.return,S)}}else if(!((c.tag===me||c.tag===Ae)&&c.memoizedState!==null&&c!==e)){if(c.child!==null){c.child.return=c,c=c.child;continue}}if(c===e)return;for(;c.sibling===null;){if(c.return===null||c.return===e)return;s===c&&(s=null),c=c.return}s===c&&(s=null),c.sibling.return=c.return,c=c.sibling}}function eI(e){var t=e.ref;if(t!==null){var s=e.stateNode,c;switch(e.tag){case A:c=s;break;default:c=s}if(typeof t=="function"){var v;if(e.mode&yt)try{Vs(),v=t(c)}finally{Ps(e)}else v=t(c);typeof v=="function"&&p("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",At(e))}else t.hasOwnProperty("current")||p("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",At(e)),t.current=c}}function gF(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function tI(e){var t=e.alternate;t!==null&&(e.alternate=null,tI(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===A){var s=e.stateNode;s!==null&&w2(s)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function yF(e){for(var t=e.return;t!==null;){if(nI(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function nI(e){return e.tag===A||e.tag===w||e.tag===T}function rI(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||nI(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==A&&t.tag!==N&&t.tag!==ue;){if(t.flags&Fn||t.child===null||t.tag===T)continue e;t.child.return=t,t=t.child}if(!(t.flags&Fn))return t.stateNode}}function bF(e){var t=yF(e);switch(t.tag){case A:{var s=t.stateNode;t.flags&pn&&(aR(s),t.flags&=~pn);var c=rI(e);SE(e,c,s);break}case w:case T:{var v=t.stateNode.containerInfo,m=rI(e);EE(e,m,v);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function EE(e,t,s){var c=e.tag,v=c===A||c===N;if(v){var m=e.stateNode;t?VM(s,m,t):FM(s,m)}else if(c!==T){var S=e.child;if(S!==null){EE(S,t,s);for(var I=S.sibling;I!==null;)EE(I,t,s),I=I.sibling}}}function SE(e,t,s){var c=e.tag,v=c===A||c===N;if(v){var m=e.stateNode;t?PM(s,m,t):LM(s,m)}else if(c!==T){var S=e.child;if(S!==null){SE(S,t,s);for(var I=S.sibling;I!==null;)SE(I,t,s),I=I.sibling}}}var pa=null,Wo=!1;function CF(e,t,s){{var c=t;e:for(;c!==null;){switch(c.tag){case A:{pa=c.stateNode,Wo=!1;break e}case w:{pa=c.stateNode.containerInfo,Wo=!0;break e}case T:{pa=c.stateNode.containerInfo,Wo=!0;break e}}c=c.return}if(pa===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");aI(e,t,s),pa=null,Wo=!1}gF(s)}function tc(e,t,s){for(var c=s.child;c!==null;)aI(e,t,c),c=c.sibling}function aI(e,t,s){switch(Ev(s),s.tag){case A:da||dp(s,t);case N:{{var c=pa,v=Wo;pa=null,tc(e,t,s),pa=c,Wo=v,pa!==null&&(Wo?zM(pa,s.stateNode):BM(pa,s.stateNode))}return}case ue:{pa!==null&&(Wo?HM(pa,s.stateNode):kC(pa,s.stateNode));return}case T:{{var m=pa,S=Wo;pa=s.stateNode.containerInfo,Wo=!0,tc(e,t,s),pa=m,Wo=S}return}case g:case P:case G:case X:{if(!da){var I=s.updateQueue;if(I!==null){var _=I.lastEffect;if(_!==null){var V=_.next,H=V;do{var ee=H,Q=ee.destroy,le=ee.tag;Q!==void 0&&((le&Ms)!==Ci?qy(s,t,Q):(le&Pr)!==Ci&&(nd(s),s.mode&yt?(Vs(),qy(s,t,Q),Ps(s)):qy(s,t,Q),xl())),H=H.next}while(H!==V)}}}tc(e,t,s);return}case b:{if(!da){dp(s,t);var fe=s.stateNode;typeof fe.componentWillUnmount=="function"&&xE(s,t,fe)}tc(e,t,s);return}case ye:{tc(e,t,s);return}case me:{if(s.mode&Vt){var be=da;da=be||s.memoizedState!==null,tc(e,t,s),da=be}else tc(e,t,s);break}default:{tc(e,t,s);return}}}function xF(e){e.memoizedState}function EF(e,t){var s=t.memoizedState;if(s===null){var c=t.alternate;if(c!==null){var v=c.memoizedState;if(v!==null){var m=v.dehydrated;m!==null&&s2(m)}}}}function iI(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var s=e.stateNode;s===null&&(s=e.stateNode=new iF),t.forEach(function(c){var v=yP.bind(null,e,c);if(!s.has(c)){if(s.add(c),Mr)if(cp!==null&&fp!==null)Wh(fp,cp);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");c.then(v,v)}})}}function SF(e,t,s){cp=s,fp=e,dn(t),oI(t,e),dn(t),cp=null,fp=null}function Xo(e,t,s){var c=t.deletions;if(c!==null)for(var v=0;v<c.length;v++){var m=c[v];try{CF(e,t,m)}catch(_){zn(m,t,_)}}var S=jf();if(t.subtreeFlags&Ia)for(var I=t.child;I!==null;)dn(I),oI(I,e),I=I.sibling;dn(S)}function oI(e,t,s){var c=e.alternate,v=e.flags;switch(e.tag){case g:case P:case G:case X:{if(Xo(t,e),Bs(e),v&jt){try{$o(Ms|Fr,e,e.return),ec(Ms|Fr,e)}catch(Et){zn(e,e.return,Et)}if(e.mode&yt){try{Vs(),$o(Pr|Fr,e,e.return)}catch(Et){zn(e,e.return,Et)}Ps(e)}else try{$o(Pr|Fr,e,e.return)}catch(Et){zn(e,e.return,Et)}}return}case b:{Xo(t,e),Bs(e),v&wa&&c!==null&&dp(c,c.return);return}case A:{Xo(t,e),Bs(e),v&wa&&c!==null&&dp(c,c.return);{if(e.flags&pn){var m=e.stateNode;try{aR(m)}catch(Et){zn(e,e.return,Et)}}if(v&jt){var S=e.stateNode;if(S!=null){var I=e.memoizedProps,_=c!==null?c.memoizedProps:I,V=e.type,H=e.updateQueue;if(e.updateQueue=null,H!==null)try{kM(S,H,V,_,I,e)}catch(Et){zn(e,e.return,Et)}}}}return}case N:{if(Xo(t,e),Bs(e),v&jt){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var ee=e.stateNode,Q=e.memoizedProps,le=c!==null?c.memoizedProps:Q;try{MM(ee,le,Q)}catch(Et){zn(e,e.return,Et)}}return}case w:{if(Xo(t,e),Bs(e),v&jt&&c!==null){var fe=c.memoizedState;if(fe.isDehydrated)try{o2(t.containerInfo)}catch(Et){zn(e,e.return,Et)}}return}case T:{Xo(t,e),Bs(e);return}case z:{Xo(t,e),Bs(e);var be=e.child;if(be.flags&gs){var qe=be.stateNode,pt=be.memoizedState,ot=pt!==null;if(qe.isHidden=ot,ot){var Xt=be.alternate!==null&&be.alternate.memoizedState!==null;Xt||rP()}}if(v&jt){try{xF(e)}catch(Et){zn(e,e.return,Et)}iI(e)}return}case me:{var Ht=c!==null&&c.memoizedState!==null;if(e.mode&Vt){var re=da;da=re||Ht,Xo(t,e),da=re}else Xo(t,e);if(Bs(e),v&gs){var Ce=e.stateNode,ae=e.memoizedState,Pe=ae!==null,Qe=e;if(Ce.isHidden=Pe,Pe&&!Ht&&(Qe.mode&Vt)!==mt){rt=Qe;for(var Xe=Qe.child;Xe!==null;)rt=Xe,RF(Xe),Xe=Xe.sibling}mF(Qe,Pe)}return}case pe:{Xo(t,e),Bs(e),v&jt&&iI(e);return}case ye:return;default:{Xo(t,e),Bs(e);return}}}function Bs(e){var t=e.flags;if(t&Fn){try{bF(e)}catch(s){zn(e,e.return,s)}e.flags&=~Fn}t&ui&&(e.flags&=~ui)}function wF(e,t,s){cp=s,fp=t,rt=e,sI(e,t,s),cp=null,fp=null}function sI(e,t,s){for(var c=(e.mode&Vt)!==mt;rt!==null;){var v=rt,m=v.child;if(v.tag===me&&c){var S=v.memoizedState!==null,I=S||Jy;if(I){wE(e,t,s);continue}else{var _=v.alternate,V=_!==null&&_.memoizedState!==null,H=V||da,ee=Jy,Q=da;Jy=I,da=H,da&&!Q&&(rt=v,TF(v));for(var le=m;le!==null;)rt=le,sI(le,t,s),le=le.sibling;rt=v,Jy=ee,da=Q,wE(e,t,s);continue}}(v.subtreeFlags&Wr)!==ct&&m!==null?(m.return=v,rt=m):wE(e,t,s)}}function wE(e,t,s){for(;rt!==null;){var c=rt;if((c.flags&Wr)!==ct){var v=c.alternate;dn(c);try{vF(t,v,c,s)}catch(S){zn(c,c.return,S)}Kn()}if(c===e){rt=null;return}var m=c.sibling;if(m!==null){m.return=c.return,rt=m;return}rt=c.return}}function RF(e){for(;rt!==null;){var t=rt,s=t.child;switch(t.tag){case g:case P:case G:case X:{if(t.mode&yt)try{Vs(),$o(Pr,t,t.return)}finally{Ps(t)}else $o(Pr,t,t.return);break}case b:{dp(t,t.return);var c=t.stateNode;typeof c.componentWillUnmount=="function"&&xE(t,t.return,c);break}case A:{dp(t,t.return);break}case me:{var v=t.memoizedState!==null;if(v){uI(e);continue}break}}s!==null?(s.return=t,rt=s):uI(e)}}function uI(e){for(;rt!==null;){var t=rt;if(t===e){rt=null;return}var s=t.sibling;if(s!==null){s.return=t.return,rt=s;return}rt=t.return}}function TF(e){for(;rt!==null;){var t=rt,s=t.child;if(t.tag===me){var c=t.memoizedState!==null;if(c){lI(e);continue}}s!==null?(s.return=t,rt=s):lI(e)}}function lI(e){for(;rt!==null;){var t=rt;dn(t);try{hF(t)}catch(c){zn(t,t.return,c)}if(Kn(),t===e){rt=null;return}var s=t.sibling;if(s!==null){s.return=t.return,rt=s;return}rt=t.return}}function IF(e,t,s,c){rt=t,AF(t,e,s,c)}function AF(e,t,s,c){for(;rt!==null;){var v=rt,m=v.child;(v.subtreeFlags&li)!==ct&&m!==null?(m.return=v,rt=m):NF(e,t,s,c)}}function NF(e,t,s,c){for(;rt!==null;){var v=rt;if((v.flags&Un)!==ct){dn(v);try{OF(t,v,s,c)}catch(S){zn(v,v.return,S)}Kn()}if(v===e){rt=null;return}var m=v.sibling;if(m!==null){m.return=v.return,rt=m;return}rt=v.return}}function OF(e,t,s,c){switch(t.tag){case g:case P:case X:{if(t.mode&yt){tE();try{ec(ca|Fr,t)}finally{eE(t)}}else ec(ca|Fr,t);break}}}function _F(e){rt=e,DF()}function DF(){for(;rt!==null;){var e=rt,t=e.child;if((rt.flags&un)!==ct){var s=e.deletions;if(s!==null){for(var c=0;c<s.length;c++){var v=s[c];rt=v,MF(v,e)}{var m=e.alternate;if(m!==null){var S=m.child;if(S!==null){m.child=null;do{var I=S.sibling;S.sibling=null,S=I}while(S!==null)}}}rt=e}}(e.subtreeFlags&li)!==ct&&t!==null?(t.return=e,rt=t):jF()}}function jF(){for(;rt!==null;){var e=rt;(e.flags&Un)!==ct&&(dn(e),kF(e),Kn());var t=e.sibling;if(t!==null){t.return=e.return,rt=t;return}rt=e.return}}function kF(e){switch(e.tag){case g:case P:case X:{e.mode&yt?(tE(),$o(ca|Fr,e,e.return),eE(e)):$o(ca|Fr,e,e.return);break}}}function MF(e,t){for(;rt!==null;){var s=rt;dn(s),FF(s,t),Kn();var c=s.child;c!==null?(c.return=s,rt=c):LF(e)}}function LF(e){for(;rt!==null;){var t=rt,s=t.sibling,c=t.return;if(tI(t),t===e){rt=null;return}if(s!==null){s.return=c,rt=s;return}rt=c}}function FF(e,t){switch(e.tag){case g:case P:case X:{e.mode&yt?(tE(),$o(ca,e,t),eE(e)):$o(ca,e,t);break}}}function PF(e){switch(e.tag){case g:case P:case X:{try{ec(Pr|Fr,e)}catch(s){zn(e,e.return,s)}break}case b:{var t=e.stateNode;try{t.componentDidMount()}catch(s){zn(e,e.return,s)}break}}}function VF(e){switch(e.tag){case g:case P:case X:{try{ec(ca|Fr,e)}catch(t){zn(e,e.return,t)}break}}}function BF(e){switch(e.tag){case g:case P:case X:{try{$o(Pr|Fr,e,e.return)}catch(s){zn(e,e.return,s)}break}case b:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&xE(e,e.return,t);break}}}function zF(e){switch(e.tag){case g:case P:case X:try{$o(ca|Fr,e,e.return)}catch(t){zn(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var Mh=Symbol.for;Mh("selector.component"),Mh("selector.has_pseudo_class"),Mh("selector.role"),Mh("selector.test_id"),Mh("selector.text")}var HF=[];function UF(){HF.forEach(function(e){return e()})}var GF=i.ReactCurrentActQueue;function $F(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,s=typeof jest<"u";return s&&t!==!1}}function cI(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&GF.current!==null&&p("The current testing environment is not configured to support act(...)"),e}}var WF=Math.ceil,RE=i.ReactCurrentDispatcher,TE=i.ReactCurrentOwner,va=i.ReactCurrentBatchConfig,Yo=i.ReactCurrentActQueue,zr=0,fI=1,ha=2,vo=4,Mu=0,Lh=1,hf=2,Qy=3,Fh=4,dI=5,IE=6,Wt=zr,Ja=null,ur=null,Hr=Se,zs=Se,AE=$l(Se),Ur=Mu,Ph=null,Ky=Se,Vh=Se,eb=Se,Bh=null,xi=null,NE=0,pI=500,vI=1/0,XF=500,Lu=null;function zh(){vI=Yn()+XF}function hI(){return vI}var tb=!1,OE=null,pp=null,mf=!1,nc=null,Hh=Se,_E=[],DE=null,YF=50,Uh=0,jE=null,kE=!1,nb=!1,ZF=50,vp=0,rb=null,Gh=Nn,ab=Se,mI=!1;function ib(){return Ja}function qa(){return(Wt&(ha|vo))!==zr?Yn():(Gh!==Nn||(Gh=Yn()),Gh)}function rc(e){var t=e.mode;if((t&Vt)===mt)return bt;if((Wt&ha)!==zr&&Hr!==Se)return yr(Hr);var s=$2()!==G2;if(s){if(va.transition!==null){var c=va.transition;c._updatedFibers||(c._updatedFibers=new Set),c._updatedFibers.add(e)}return ab===$t&&(ab=Ov()),ab}var v=pi();if(v!==$t)return v;var m=NM();return m}function JF(e){var t=e.mode;return(t&Vt)===mt?bt:tC()}function Gr(e,t,s,c){CP(),mI&&p("useInsertionEffect must not schedule updates."),kE&&(nb=!0),yu(e,s,c),(Wt&ha)!==Se&&e===Ja?SP(t):(Mr&&Mv(e,t,s),wP(t),e===Ja&&((Wt&ha)===zr&&(Vh=kt(Vh,s)),Ur===Fh&&ac(e,Hr)),Ei(e,c),s===bt&&Wt===zr&&(t.mode&Vt)===mt&&!Yo.isBatchingLegacy&&(zh(),hR()))}function qF(e,t,s){var c=e.current;c.lanes=t,yu(e,t,s),Ei(e,s)}function QF(e){return(Wt&ha)!==zr}function Ei(e,t){var s=e.callbackNode;Q0(e,t);var c=Bc(e,e===Ja?Hr:Se);if(c===Se){s!==null&&DI(s),e.callbackNode=null,e.callbackPriority=$t;return}var v=dr(c),m=e.callbackPriority;if(m===v&&!(Yo.current!==null&&s!==zE)){s==null&&m!==bt&&p("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}s!=null&&DI(s);var S;if(v===bt)e.tag===Wl?(Yo.isBatchingLegacy!==null&&(Yo.didScheduleLegacyUpdate=!0),I2(bI.bind(null,e))):vR(bI.bind(null,e)),Yo.current!==null?Yo.current.push(Xl):_M(function(){(Wt&(ha|vo))===zr&&Xl()}),S=null;else{var I;switch($c(c)){case Xr:I=Qf;break;case Lr:I=Wa;break;case jo:I=ro;break;case Uc:I=bs;break;default:I=ro;break}S=HE(I,gI.bind(null,e))}e.callbackPriority=v,e.callbackNode=S}function gI(e,t){if(CL(),Gh=Nn,ab=Se,(Wt&(ha|vo))!==zr)throw new Error("Should not already be working.");var s=e.callbackNode,c=Pu();if(c&&e.callbackNode!==s)return null;var v=Bc(e,e===Ja?Hr:Se);if(v===Se)return null;var m=!Hc(e,v)&&!gg(e,v)&&!t,S=m?uP(e,v):sb(e,v);if(S!==Mu){if(S===hf){var I=Av(e);I!==Se&&(v=I,S=ME(e,I))}if(S===Lh){var _=Ph;throw gf(e,Se),ac(e,v),Ei(e,Yn()),_}if(S===IE)ac(e,v);else{var V=!Hc(e,v),H=e.current.alternate;if(V&&!eP(H)){if(S=sb(e,v),S===hf){var ee=Av(e);ee!==Se&&(v=ee,S=ME(e,ee))}if(S===Lh){var Q=Ph;throw gf(e,Se),ac(e,v),Ei(e,Yn()),Q}}e.finishedWork=H,e.finishedLanes=v,KF(e,S,v)}}return Ei(e,Yn()),e.callbackNode===s?gI.bind(null,e):null}function ME(e,t){var s=Bh;if(Cr(e)){var c=gf(e,t);c.flags|=er,C2(e.containerInfo)}var v=sb(e,t);if(v!==hf){var m=xi;xi=s,m!==null&&yI(m)}return v}function yI(e){xi===null?xi=e:xi.push.apply(xi,e)}function KF(e,t,s){switch(t){case Mu:case Lh:throw new Error("Root did not complete. This is a bug in React.");case hf:{yf(e,xi,Lu);break}case Qy:{if(ac(e,s),Ed(s)&&!jI()){var c=NE+pI-Yn();if(c>10){var v=Bc(e,Se);if(v!==Se)break;var m=e.suspendedLanes;if(!gu(m,s)){qa(),jv(e,m);break}e.timeoutHandle=DC(yf.bind(null,e,xi,Lu),c);break}}yf(e,xi,Lu);break}case Fh:{if(ac(e,s),mg(s))break;if(!jI()){var S=hg(e,s),I=S,_=Yn()-I,V=bP(_)-_;if(V>10){e.timeoutHandle=DC(yf.bind(null,e,xi,Lu),V);break}}yf(e,xi,Lu);break}case dI:{yf(e,xi,Lu);break}default:throw new Error("Unknown root exit status.")}}function eP(e){for(var t=e;;){if(t.flags&jc){var s=t.updateQueue;if(s!==null){var c=s.stores;if(c!==null)for(var v=0;v<c.length;v++){var m=c[v],S=m.getSnapshot,I=m.value;try{if(!nt(S(),I))return!1}catch{return!1}}}}var _=t.child;if(t.subtreeFlags&jc&&_!==null){_.return=t,t=_;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function ac(e,t){t=Al(t,eb),t=Al(t,Vh),Dv(e,t)}function bI(e){if(xL(),(Wt&(ha|vo))!==zr)throw new Error("Should not already be working.");Pu();var t=Bc(e,Se);if(!_a(t,bt))return Ei(e,Yn()),null;var s=sb(e,t);if(e.tag!==Wl&&s===hf){var c=Av(e);c!==Se&&(t=c,s=ME(e,c))}if(s===Lh){var v=Ph;throw gf(e,Se),ac(e,t),Ei(e,Yn()),v}if(s===IE)throw new Error("Root did not complete. This is a bug in React.");var m=e.current.alternate;return e.finishedWork=m,e.finishedLanes=t,yf(e,xi,Lu),Ei(e,Yn()),null}function tP(e,t){t!==Se&&(Nl(e,kt(t,bt)),Ei(e,Yn()),(Wt&(ha|vo))===zr&&(zh(),Xl()))}function LE(e,t){var s=Wt;Wt|=fI;try{return e(t)}finally{Wt=s,Wt===zr&&!Yo.isBatchingLegacy&&(zh(),hR())}}function nP(e,t,s,c,v){var m=pi(),S=va.transition;try{return va.transition=null,br(Xr),e(t,s,c,v)}finally{br(m),va.transition=S,Wt===zr&&zh()}}function Fu(e){nc!==null&&nc.tag===Wl&&(Wt&(ha|vo))===zr&&Pu();var t=Wt;Wt|=fI;var s=va.transition,c=pi();try{return va.transition=null,br(Xr),e?e():void 0}finally{br(c),va.transition=s,Wt=t,(Wt&(ha|vo))===zr&&Xl()}}function CI(){return(Wt&(ha|vo))!==zr}function ob(e,t){ja(AE,zs,e),zs=kt(zs,t)}function FE(e){zs=AE.current,Da(AE,e)}function gf(e,t){e.finishedWork=null,e.finishedLanes=Se;var s=e.timeoutHandle;if(s!==jC&&(e.timeoutHandle=jC,OM(s)),ur!==null)for(var c=ur.return;c!==null;){var v=c.alternate;ZT(v,c),c=c.return}Ja=e;var m=bf(e.current,null);return ur=m,Hr=zs=t,Ur=Mu,Ph=null,Ky=Se,Vh=Se,eb=Se,Bh=null,xi=null,Z2(),Bo.discardPendingWarnings(),m}function xI(e,t){do{var s=ur;try{if(vy(),qR(),Kn(),TE.current=null,s===null||s.return===null){Ur=Lh,Ph=t,ur=null;return}if(ie&&s.mode&yt&&Wy(s,!0),De)if(uu(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var c=t;dg(s,c,Hr)}else rd(s,t,Hr);TL(e,s.return,s,t,Hr),RI(s)}catch(v){t=v,ur===s&&s!==null?(s=s.return,ur=s):s=ur;continue}return}while(!0)}function EI(){var e=RE.current;return RE.current=zy,e===null?zy:e}function SI(e){RE.current=e}function rP(){NE=Yn()}function $h(e){Ky=kt(e,Ky)}function aP(){Ur===Mu&&(Ur=Qy)}function PE(){(Ur===Mu||Ur===Qy||Ur===hf)&&(Ur=Fh),Ja!==null&&(zc(Ky)||zc(Vh))&&ac(Ja,Hr)}function iP(e){Ur!==Fh&&(Ur=hf),Bh===null?Bh=[e]:Bh.push(e)}function oP(){return Ur===Mu}function sb(e,t){var s=Wt;Wt|=ha;var c=EI();if(Ja!==e||Hr!==t){if(Mr){var v=e.memoizedUpdaters;v.size>0&&(Wh(e,Hr),v.clear()),Rd(e,t)}Lu=Lv(),gf(e,t)}Fi(t);do try{sP();break}catch(m){xI(e,m)}while(!0);if(vy(),Wt=s,SI(c),ur!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return Sl(),Ja=null,Hr=Se,Ur}function sP(){for(;ur!==null;)wI(ur)}function uP(e,t){var s=Wt;Wt|=ha;var c=EI();if(Ja!==e||Hr!==t){if(Mr){var v=e.memoizedUpdaters;v.size>0&&(Wh(e,Hr),v.clear()),Rd(e,t)}Lu=Lv(),zh(),gf(e,t)}Fi(t);do try{lP();break}catch(m){xI(e,m)}while(!0);return vy(),SI(c),Wt=s,ur!==null?(Lc(),Mu):(Sl(),Ja=null,Hr=Se,Ur)}function lP(){for(;ur!==null&&!qf();)wI(ur)}function wI(e){var t=e.alternate;dn(e);var s;(e.mode&yt)!==mt?(Kx(e),s=VE(t,e,zs),Wy(e,!0)):s=VE(t,e,zs),Kn(),e.memoizedProps=e.pendingProps,s===null?RI(e):ur=s,TE.current=null}function RI(e){var t=e;do{var s=t.alternate,c=t.return;if((t.flags&Ua)===ct){dn(t);var v=void 0;if((t.mode&yt)===mt?v=YT(s,t,zs):(Kx(t),v=YT(s,t,zs),Wy(t,!1)),Kn(),v!==null){ur=v;return}}else{var m=aF(s,t);if(m!==null){m.flags&=rg,ur=m;return}if((t.mode&yt)!==mt){Wy(t,!1);for(var S=t.actualDuration,I=t.child;I!==null;)S+=I.actualDuration,I=I.sibling;t.actualDuration=S}if(c!==null)c.flags|=Ua,c.subtreeFlags=ct,c.deletions=null;else{Ur=IE,ur=null;return}}var _=t.sibling;if(_!==null){ur=_;return}t=c,ur=t}while(t!==null);Ur===Mu&&(Ur=dI)}function yf(e,t,s){var c=pi(),v=va.transition;try{va.transition=null,br(Xr),cP(e,t,s,c)}finally{va.transition=v,br(c)}return null}function cP(e,t,s,c){do Pu();while(nc!==null);if(xP(),(Wt&(ha|vo))!==zr)throw new Error("Should not already be working.");var v=e.finishedWork,m=e.finishedLanes;if(ed(m),v===null)return Sv(),null;if(m===Se&&p("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=Se,v===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=$t;var S=kt(v.lanes,v.childLanes);kv(e,S),e===Ja&&(Ja=null,ur=null,Hr=Se),((v.subtreeFlags&li)!==ct||(v.flags&li)!==ct)&&(mf||(mf=!0,DE=s,HE(ro,function(){return Pu(),null})));var I=(v.subtreeFlags&(Cl|Ia|Wr|li))!==ct,_=(v.flags&(Cl|Ia|Wr|li))!==ct;if(I||_){var V=va.transition;va.transition=null;var H=pi();br(Xr);var ee=Wt;Wt|=vo,TE.current=null,lF(e,v),ET(),SF(e,v,m),SM(e.containerInfo),e.current=v,pg(m),wF(v,e,m),El(),og(),Wt=ee,br(H),va.transition=V}else e.current=v,ET();var Q=mf;if(mf?(mf=!1,nc=e,Hh=m):(vp=0,rb=null),S=e.pendingLanes,S===Se&&(pp=null),Q||NI(e.current,!1),Oo(v.stateNode,c),Mr&&e.memoizedUpdaters.clear(),UF(),Ei(e,Yn()),t!==null)for(var le=e.onRecoverableError,fe=0;fe<t.length;fe++){var be=t[fe],qe=be.stack,pt=be.digest;le(be.value,{componentStack:qe,digest:pt})}if(tb){tb=!1;var ot=OE;throw OE=null,ot}return _a(Hh,bt)&&e.tag!==Wl&&Pu(),S=e.pendingLanes,_a(S,bt)?(bL(),e===jE?Uh++:(Uh=0,jE=e)):Uh=0,Xl(),Sv(),null}function Pu(){if(nc!==null){var e=$c(Hh),t=rC(jo,e),s=va.transition,c=pi();try{return va.transition=null,br(t),dP()}finally{br(c),va.transition=s}}return!1}function fP(e){_E.push(e),mf||(mf=!0,HE(ro,function(){return Pu(),null}))}function dP(){if(nc===null)return!1;var e=DE;DE=null;var t=nc,s=Hh;if(nc=null,Hh=Se,(Wt&(ha|vo))!==zr)throw new Error("Cannot flush passive effects while already rendering.");kE=!0,nb=!1,vg(s);var c=Wt;Wt|=vo,_F(t.current),IF(t,t.current,s,e);{var v=_E;_E=[];for(var m=0;m<v.length;m++){var S=v[m];pF(t,S)}}Mc(),NI(t.current,!0),Wt=c,Xl(),nb?t===rb?vp++:(vp=0,rb=t):vp=0,kE=!1,nb=!1,xs(t);{var I=t.current.stateNode;I.effectDuration=0,I.passiveEffectDuration=0}return!0}function TI(e){return pp!==null&&pp.has(e)}function pP(e){pp===null?pp=new Set([e]):pp.add(e)}function vP(e){tb||(tb=!0,OE=e)}var hP=vP;function II(e,t,s){var c=pf(s,t),v=wT(e,c,bt),m=Zl(e,v,bt),S=qa();m!==null&&(yu(m,bt,S),Ei(m,S))}function zn(e,t,s){if(oF(s),Xh(!1),e.tag===w){II(e,e,s);return}var c=null;for(c=t;c!==null;){if(c.tag===w){II(c,e,s);return}else if(c.tag===b){var v=c.type,m=c.stateNode;if(typeof v.getDerivedStateFromError=="function"||typeof m.componentDidCatch=="function"&&!TI(m)){var S=pf(s,e),I=iE(c,S,bt),_=Zl(c,I,bt),V=qa();_!==null&&(yu(_,bt,V),Ei(_,V));return}}c=c.return}p(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
205
205
 
206
206
  Error message:
207
207
 
208
- %s`,s)}function mP(e,t,s){var c=e.pingCache;c!==null&&c.delete(t);var v=qa();jv(e,s),RP(e),Ja===e&&gu(Hr,s)&&(Ur===Fh||Ur===Qy&&Ed(Hr)&&Yn()-NE<pI?gf(e,Se):eb=kt(eb,s)),Ei(e,v)}function AI(e,t){t===$t&&(t=JF(e));var s=qa(),c=bi(e,t);c!==null&&(yu(c,t,s),Ei(c,s))}function gP(e){var t=e.memoizedState,s=$t;t!==null&&(s=t.retryLane),AI(e,s)}function yP(e,t){var s=$t,c;switch(e.tag){case z:c=e.stateNode;var v=e.memoizedState;v!==null&&(s=v.retryLane);break;case pe:c=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}c!==null&&c.delete(t),AI(e,s)}function bP(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:WF(e/1960)*1960}function CP(){if(Uh>YF)throw Uh=0,jE=null,new 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.");vp>ZF&&(vp=0,rb=null,p("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 xP(){Bo.flushLegacyContextWarning(),Bo.flushPendingUnsafeLifecycleWarnings()}function NI(e,t){dn(e),ub(e,Ta,BF),t&&ub(e,su,zF),ub(e,Ta,PF),t&&ub(e,su,VF),Kn()}function ub(e,t,s){for(var c=e,v=null;c!==null;){var m=c.subtreeFlags&t;c!==v&&c.child!==null&&m!==ct?c=c.child:((c.flags&t)!==ct&&s(c),c.sibling!==null?c=c.sibling:c=v=c.return)}}var lb=null;function OI(e){{if((Wt&ha)!==zr||!(e.mode&Vt))return;var t=e.tag;if(t!==E&&t!==R&&t!==b&&t!==g&&t!==P&&t!==G&&t!==X)return;var s=At(e)||"ReactComponent";if(lb!==null){if(lb.has(s))return;lb.add(s)}else lb=new Set([s]);var c=Xn;try{dn(e),p("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{c?dn(e):Kn()}}}var VE;{var EP=null;VE=function(e,t,s){var c=PI(EP,t);try{return UT(e,t,s)}catch(m){if(M2()||m!==null&&typeof m=="object"&&typeof m.then=="function")throw m;if(vy(),qR(),ZT(e,t),PI(t,c),t.mode&yt&&Kx(t),ou(null,UT,null,e,t,s),J0()){var v=dv();typeof v=="object"&&v!==null&&v._suppressLogging&&typeof m=="object"&&m!==null&&!m._suppressLogging&&(m._suppressLogging=!0)}throw m}}}var _I=!1,BE;BE=new Set;function SP(e){if(xa&&!mL())switch(e.tag){case g:case P:case X:{var t=ur&&At(ur)||"Unknown",s=t;if(!BE.has(s)){BE.add(s);var c=At(e)||"Unknown";p("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",c,t,t)}break}case b:{_I||(p("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),_I=!0);break}}}function Wh(e,t){if(Mr){var s=e.memoizedUpdaters;s.forEach(function(c){Mv(e,c,t)})}}var zE={};function HE(e,t){{var s=Yo.current;return s!==null?(s.push(t),zE):Jf(e,t)}}function DI(e){if(e!==zE)return ig(e)}function jI(){return Yo.current!==null}function wP(e){{if(e.mode&Vt){if(!cI())return}else if(!$F()||Wt!==zr||e.tag!==g&&e.tag!==P&&e.tag!==X)return;if(Yo.current===null){var t=Xn;try{dn(e),p(`An update to %s inside a test was not wrapped in act(...).
208
+ %s`,s)}function mP(e,t,s){var c=e.pingCache;c!==null&&c.delete(t);var v=qa();jv(e,s),RP(e),Ja===e&&gu(Hr,s)&&(Ur===Fh||Ur===Qy&&Ed(Hr)&&Yn()-NE<pI?gf(e,Se):eb=kt(eb,s)),Ei(e,v)}function AI(e,t){t===$t&&(t=JF(e));var s=qa(),c=bi(e,t);c!==null&&(yu(c,t,s),Ei(c,s))}function gP(e){var t=e.memoizedState,s=$t;t!==null&&(s=t.retryLane),AI(e,s)}function yP(e,t){var s=$t,c;switch(e.tag){case z:c=e.stateNode;var v=e.memoizedState;v!==null&&(s=v.retryLane);break;case pe:c=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}c!==null&&c.delete(t),AI(e,s)}function bP(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:WF(e/1960)*1960}function CP(){if(Uh>YF)throw Uh=0,jE=null,new 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.");vp>ZF&&(vp=0,rb=null,p("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 xP(){Bo.flushLegacyContextWarning(),Bo.flushPendingUnsafeLifecycleWarnings()}function NI(e,t){dn(e),ub(e,Ta,BF),t&&ub(e,su,zF),ub(e,Ta,PF),t&&ub(e,su,VF),Kn()}function ub(e,t,s){for(var c=e,v=null;c!==null;){var m=c.subtreeFlags&t;c!==v&&c.child!==null&&m!==ct?c=c.child:((c.flags&t)!==ct&&s(c),c.sibling!==null?c=c.sibling:c=v=c.return)}}var lb=null;function OI(e){{if((Wt&ha)!==zr||!(e.mode&Vt))return;var t=e.tag;if(t!==E&&t!==w&&t!==b&&t!==g&&t!==P&&t!==G&&t!==X)return;var s=At(e)||"ReactComponent";if(lb!==null){if(lb.has(s))return;lb.add(s)}else lb=new Set([s]);var c=Xn;try{dn(e),p("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{c?dn(e):Kn()}}}var VE;{var EP=null;VE=function(e,t,s){var c=PI(EP,t);try{return UT(e,t,s)}catch(m){if(M2()||m!==null&&typeof m=="object"&&typeof m.then=="function")throw m;if(vy(),qR(),ZT(e,t),PI(t,c),t.mode&yt&&Kx(t),ou(null,UT,null,e,t,s),J0()){var v=dv();typeof v=="object"&&v!==null&&v._suppressLogging&&typeof m=="object"&&m!==null&&!m._suppressLogging&&(m._suppressLogging=!0)}throw m}}}var _I=!1,BE;BE=new Set;function SP(e){if(xa&&!mL())switch(e.tag){case g:case P:case X:{var t=ur&&At(ur)||"Unknown",s=t;if(!BE.has(s)){BE.add(s);var c=At(e)||"Unknown";p("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",c,t,t)}break}case b:{_I||(p("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),_I=!0);break}}}function Wh(e,t){if(Mr){var s=e.memoizedUpdaters;s.forEach(function(c){Mv(e,c,t)})}}var zE={};function HE(e,t){{var s=Yo.current;return s!==null?(s.push(t),zE):Jf(e,t)}}function DI(e){if(e!==zE)return ig(e)}function jI(){return Yo.current!==null}function wP(e){{if(e.mode&Vt){if(!cI())return}else if(!$F()||Wt!==zr||e.tag!==g&&e.tag!==P&&e.tag!==X)return;if(Yo.current===null){var t=Xn;try{dn(e),p(`An update to %s inside a test was not wrapped in act(...).
209
209
 
210
210
  When testing, code that causes React state updates should be wrapped into act(...):
211
211
 
@@ -223,29 +223,29 @@ act(() => {
223
223
  });
224
224
  /* assert on the output */
225
225
 
226
- 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`)}function Xh(e){mI=e}var ho=null,hp=null,TP=function(e){ho=e};function mp(e){{if(ho===null)return e;var t=ho(e);return t===void 0?e:t.current}}function UE(e){return mp(e)}function GE(e){{if(ho===null)return e;var t=ho(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var s=mp(e.render);if(e.render!==s){var c={$$typeof:Je,render:s};return e.displayName!==void 0&&(c.displayName=e.displayName),c}}return e}return t.current}}function kI(e,t){{if(ho===null)return!1;var s=e.elementType,c=t.type,v=!1,m=typeof c=="object"&&c!==null?c.$$typeof:null;switch(e.tag){case b:{typeof c=="function"&&(v=!0);break}case g:{(typeof c=="function"||m===dt)&&(v=!0);break}case P:{(m===Je||m===dt)&&(v=!0);break}case G:case X:{(m===Dt||m===dt)&&(v=!0);break}default:return!1}if(v){var S=ho(s);if(S!==void 0&&S===ho(c))return!0}return!1}}function MI(e){{if(ho===null||typeof WeakSet!="function")return;hp===null&&(hp=new WeakSet),hp.add(e)}}var IP=function(e,t){{if(ho===null)return;var s=t.staleFamilies,c=t.updatedFamilies;Pu(),Fu(function(){$E(e.current,c,s)})}},AP=function(e,t){{if(e.context!==Vi)return;Pu(),Fu(function(){Yh(t,e,null,null)})}};function $E(e,t,s){{var c=e.alternate,v=e.child,m=e.sibling,S=e.tag,I=e.type,_=null;switch(S){case g:case X:case b:_=I;break;case P:_=I.render;break}if(ho===null)throw new Error("Expected resolveFamily to be set during hot reload.");var V=!1,H=!1;if(_!==null){var ee=ho(_);ee!==void 0&&(s.has(ee)?H=!0:t.has(ee)&&(S===b?H=!0:V=!0))}if(hp!==null&&(hp.has(e)||c!==null&&hp.has(c))&&(H=!0),H&&(e._debugNeedsRemount=!0),H||V){var Q=bi(e,bt);Q!==null&&Gr(Q,e,bt,Nn)}v!==null&&!H&&$E(v,t,s),m!==null&&$E(m,t,s)}}var NP=function(e,t){{var s=new Set,c=new Set(t.map(function(v){return v.current}));return WE(e.current,c,s),s}};function WE(e,t,s){{var c=e.child,v=e.sibling,m=e.tag,S=e.type,I=null;switch(m){case g:case X:case b:I=S;break;case P:I=S.render;break}var _=!1;I!==null&&t.has(I)&&(_=!0),_?OP(e,s):c!==null&&WE(c,t,s),v!==null&&WE(v,t,s)}}function OP(e,t){{var s=_P(e,t);if(s)return;for(var c=e;;){switch(c.tag){case A:t.add(c.stateNode);return;case T:t.add(c.stateNode.containerInfo);return;case R:t.add(c.stateNode.containerInfo);return}if(c.return===null)throw new Error("Expected to reach root first.");c=c.return}}}function _P(e,t){for(var s=e,c=!1;;){if(s.tag===A)c=!0,t.add(s.stateNode);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===e)return c;for(;s.sibling===null;){if(s.return===null||s.return===e)return c;s=s.return}s.sibling.return=s.return,s=s.sibling}return!1}var XE;{XE=!1;try{var LI=Object.preventExtensions({})}catch{XE=!0}}function DP(e,t,s,c){this.tag=e,this.key=s,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=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=c,this.flags=ct,this.subtreeFlags=ct,this.deletions=null,this.lanes=Se,this.childLanes=Se,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._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!XE&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var Bi=function(e,t,s,c){return new DP(e,t,s,c)};function YE(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function jP(e){return typeof e=="function"&&!YE(e)&&e.defaultProps===void 0}function kP(e){if(typeof e=="function")return YE(e)?b:g;if(e!=null){var t=e.$$typeof;if(t===Je)return P;if(t===Dt)return G}return E}function bf(e,t){var s=e.alternate;s===null?(s=Bi(e.tag,t,e.key,e.mode),s.elementType=e.elementType,s.type=e.type,s.stateNode=e.stateNode,s._debugSource=e._debugSource,s._debugOwner=e._debugOwner,s._debugHookTypes=e._debugHookTypes,s.alternate=e,e.alternate=s):(s.pendingProps=t,s.type=e.type,s.flags=ct,s.subtreeFlags=ct,s.deletions=null,s.actualDuration=0,s.actualStartTime=-1),s.flags=e.flags&kr,s.childLanes=e.childLanes,s.lanes=e.lanes,s.child=e.child,s.memoizedProps=e.memoizedProps,s.memoizedState=e.memoizedState,s.updateQueue=e.updateQueue;var c=e.dependencies;switch(s.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext},s.sibling=e.sibling,s.index=e.index,s.ref=e.ref,s.selfBaseDuration=e.selfBaseDuration,s.treeBaseDuration=e.treeBaseDuration,s._debugNeedsRemount=e._debugNeedsRemount,s.tag){case E:case g:case X:s.type=mp(e.type);break;case b:s.type=UE(e.type);break;case P:s.type=GE(e.type);break}return s}function MP(e,t){e.flags&=kr|Fn;var s=e.alternate;if(s===null)e.childLanes=Se,e.lanes=t,e.child=null,e.subtreeFlags=ct,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=s.childLanes,e.lanes=s.lanes,e.child=s.child,e.subtreeFlags=ct,e.deletions=null,e.memoizedProps=s.memoizedProps,e.memoizedState=s.memoizedState,e.updateQueue=s.updateQueue,e.type=s.type;var c=s.dependencies;e.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext},e.selfBaseDuration=s.selfBaseDuration,e.treeBaseDuration=s.treeBaseDuration}return e}function LP(e,t,s){var c;return e===oy?(c=Vt,t===!0&&(c|=Zn,c|=fi)):c=mt,Mr&&(c|=yt),Bi(R,null,null,c)}function ZE(e,t,s,c,v,m){var S=E,I=e;if(typeof e=="function")YE(e)?(S=b,I=UE(I)):I=mp(I);else if(typeof e=="string")S=A;else e:switch(e){case Ha:return ic(s.children,v,m,t);case Ji:S=O,v|=Zn,(v&Vt)!==mt&&(v|=fi);break;case Z:return FP(s,v,m,t);case _t:return PP(s,v,m,t);case Gt:return VP(s,v,m,t);case Dn:return FI(s,v,m,t);case jr:case cr:case qi:case tl:case _n:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case je:S=B;break e;case Ue:S=L;break e;case Je:S=P,I=GE(I);break e;case Dt:S=G;break e;case dt:S=te,I=null;break e}var _="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(_+=" 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 V=c?At(c):null;V&&(_+=`
226
+ 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`)}function Xh(e){mI=e}var ho=null,hp=null,TP=function(e){ho=e};function mp(e){{if(ho===null)return e;var t=ho(e);return t===void 0?e:t.current}}function UE(e){return mp(e)}function GE(e){{if(ho===null)return e;var t=ho(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var s=mp(e.render);if(e.render!==s){var c={$$typeof:Je,render:s};return e.displayName!==void 0&&(c.displayName=e.displayName),c}}return e}return t.current}}function kI(e,t){{if(ho===null)return!1;var s=e.elementType,c=t.type,v=!1,m=typeof c=="object"&&c!==null?c.$$typeof:null;switch(e.tag){case b:{typeof c=="function"&&(v=!0);break}case g:{(typeof c=="function"||m===dt)&&(v=!0);break}case P:{(m===Je||m===dt)&&(v=!0);break}case G:case X:{(m===Dt||m===dt)&&(v=!0);break}default:return!1}if(v){var S=ho(s);if(S!==void 0&&S===ho(c))return!0}return!1}}function MI(e){{if(ho===null||typeof WeakSet!="function")return;hp===null&&(hp=new WeakSet),hp.add(e)}}var IP=function(e,t){{if(ho===null)return;var s=t.staleFamilies,c=t.updatedFamilies;Pu(),Fu(function(){$E(e.current,c,s)})}},AP=function(e,t){{if(e.context!==Vi)return;Pu(),Fu(function(){Yh(t,e,null,null)})}};function $E(e,t,s){{var c=e.alternate,v=e.child,m=e.sibling,S=e.tag,I=e.type,_=null;switch(S){case g:case X:case b:_=I;break;case P:_=I.render;break}if(ho===null)throw new Error("Expected resolveFamily to be set during hot reload.");var V=!1,H=!1;if(_!==null){var ee=ho(_);ee!==void 0&&(s.has(ee)?H=!0:t.has(ee)&&(S===b?H=!0:V=!0))}if(hp!==null&&(hp.has(e)||c!==null&&hp.has(c))&&(H=!0),H&&(e._debugNeedsRemount=!0),H||V){var Q=bi(e,bt);Q!==null&&Gr(Q,e,bt,Nn)}v!==null&&!H&&$E(v,t,s),m!==null&&$E(m,t,s)}}var NP=function(e,t){{var s=new Set,c=new Set(t.map(function(v){return v.current}));return WE(e.current,c,s),s}};function WE(e,t,s){{var c=e.child,v=e.sibling,m=e.tag,S=e.type,I=null;switch(m){case g:case X:case b:I=S;break;case P:I=S.render;break}var _=!1;I!==null&&t.has(I)&&(_=!0),_?OP(e,s):c!==null&&WE(c,t,s),v!==null&&WE(v,t,s)}}function OP(e,t){{var s=_P(e,t);if(s)return;for(var c=e;;){switch(c.tag){case A:t.add(c.stateNode);return;case T:t.add(c.stateNode.containerInfo);return;case w:t.add(c.stateNode.containerInfo);return}if(c.return===null)throw new Error("Expected to reach root first.");c=c.return}}}function _P(e,t){for(var s=e,c=!1;;){if(s.tag===A)c=!0,t.add(s.stateNode);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===e)return c;for(;s.sibling===null;){if(s.return===null||s.return===e)return c;s=s.return}s.sibling.return=s.return,s=s.sibling}return!1}var XE;{XE=!1;try{var LI=Object.preventExtensions({})}catch{XE=!0}}function DP(e,t,s,c){this.tag=e,this.key=s,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=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=c,this.flags=ct,this.subtreeFlags=ct,this.deletions=null,this.lanes=Se,this.childLanes=Se,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._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!XE&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var Bi=function(e,t,s,c){return new DP(e,t,s,c)};function YE(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function jP(e){return typeof e=="function"&&!YE(e)&&e.defaultProps===void 0}function kP(e){if(typeof e=="function")return YE(e)?b:g;if(e!=null){var t=e.$$typeof;if(t===Je)return P;if(t===Dt)return G}return E}function bf(e,t){var s=e.alternate;s===null?(s=Bi(e.tag,t,e.key,e.mode),s.elementType=e.elementType,s.type=e.type,s.stateNode=e.stateNode,s._debugSource=e._debugSource,s._debugOwner=e._debugOwner,s._debugHookTypes=e._debugHookTypes,s.alternate=e,e.alternate=s):(s.pendingProps=t,s.type=e.type,s.flags=ct,s.subtreeFlags=ct,s.deletions=null,s.actualDuration=0,s.actualStartTime=-1),s.flags=e.flags&kr,s.childLanes=e.childLanes,s.lanes=e.lanes,s.child=e.child,s.memoizedProps=e.memoizedProps,s.memoizedState=e.memoizedState,s.updateQueue=e.updateQueue;var c=e.dependencies;switch(s.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext},s.sibling=e.sibling,s.index=e.index,s.ref=e.ref,s.selfBaseDuration=e.selfBaseDuration,s.treeBaseDuration=e.treeBaseDuration,s._debugNeedsRemount=e._debugNeedsRemount,s.tag){case E:case g:case X:s.type=mp(e.type);break;case b:s.type=UE(e.type);break;case P:s.type=GE(e.type);break}return s}function MP(e,t){e.flags&=kr|Fn;var s=e.alternate;if(s===null)e.childLanes=Se,e.lanes=t,e.child=null,e.subtreeFlags=ct,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=s.childLanes,e.lanes=s.lanes,e.child=s.child,e.subtreeFlags=ct,e.deletions=null,e.memoizedProps=s.memoizedProps,e.memoizedState=s.memoizedState,e.updateQueue=s.updateQueue,e.type=s.type;var c=s.dependencies;e.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext},e.selfBaseDuration=s.selfBaseDuration,e.treeBaseDuration=s.treeBaseDuration}return e}function LP(e,t,s){var c;return e===oy?(c=Vt,t===!0&&(c|=Zn,c|=fi)):c=mt,Mr&&(c|=yt),Bi(w,null,null,c)}function ZE(e,t,s,c,v,m){var S=E,I=e;if(typeof e=="function")YE(e)?(S=b,I=UE(I)):I=mp(I);else if(typeof e=="string")S=A;else e:switch(e){case Ha:return ic(s.children,v,m,t);case Ji:S=O,v|=Zn,(v&Vt)!==mt&&(v|=fi);break;case Z:return FP(s,v,m,t);case _t:return PP(s,v,m,t);case Gt:return VP(s,v,m,t);case Dn:return FI(s,v,m,t);case jr:case cr:case qi:case tl:case _n:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case je:S=B;break e;case Ue:S=L;break e;case Je:S=P,I=GE(I);break e;case Dt:S=G;break e;case dt:S=te,I=null;break e}var _="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(_+=" 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 V=c?At(c):null;V&&(_+=`
227
227
 
228
228
  Check the render method of \``+V+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+_))}}var H=Bi(S,s,t,v);return H.elementType=e,H.type=I,H.lanes=m,H._debugOwner=c,H}function JE(e,t,s){var c=null;c=e._owner;var v=e.type,m=e.key,S=e.props,I=ZE(v,m,S,c,t,s);return I._debugSource=e._source,I._debugOwner=e._owner,I}function ic(e,t,s,c){var v=Bi(j,e,c,t);return v.lanes=s,v}function FP(e,t,s,c){typeof e.id!="string"&&p('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var v=Bi(U,e,c,t|yt);return v.elementType=Z,v.lanes=s,v.stateNode={effectDuration:0,passiveEffectDuration:0},v}function PP(e,t,s,c){var v=Bi(z,e,c,t);return v.elementType=_t,v.lanes=s,v}function VP(e,t,s,c){var v=Bi(pe,e,c,t);return v.elementType=Gt,v.lanes=s,v}function FI(e,t,s,c){var v=Bi(me,e,c,t);v.elementType=Dn,v.lanes=s;var m={isHidden:!1};return v.stateNode=m,v}function qE(e,t,s){var c=Bi(N,e,null,t);return c.lanes=s,c}function BP(){var e=Bi(A,null,null,mt);return e.elementType="DELETED",e}function zP(e){var t=Bi(ue,null,null,mt);return t.stateNode=e,t}function QE(e,t,s){var c=e.children!==null?e.children:[],v=Bi(T,c,e.key,t);return v.lanes=s,v.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},v}function PI(e,t){return e===null&&(e=Bi(E,null,null,mt)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function HP(e,t,s,c,v){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=jC,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=$t,this.eventTimes=wd(Se),this.expirationTimes=wd(Nn),this.pendingLanes=Se,this.suspendedLanes=Se,this.pingedLanes=Se,this.expiredLanes=Se,this.mutableReadLanes=Se,this.finishedLanes=Se,this.entangledLanes=Se,this.entanglements=wd(Se),this.identifierPrefix=c,this.onRecoverableError=v,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var m=this.pendingUpdatersLaneMap=[],S=0;S<Vn;S++)m.push(new Set)}switch(t){case oy:this._debugRootType=s?"hydrateRoot()":"createRoot()";break;case Wl:this._debugRootType=s?"hydrate()":"render()";break}}function VI(e,t,s,c,v,m,S,I,_,V){var H=new HP(e,t,s,I,_),ee=LP(t,m);H.current=ee,ee.stateNode=H;{var Q={element:c,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null};ee.memoizedState=Q}return ox(ee),H}var KE="18.2.0";function UP(e,t,s){var c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return Mn(c),{$$typeof:ra,key:c==null?null:""+c,children:e,containerInfo:t,implementation:s}}var eS,tS;eS=!1,tS={};function BI(e){if(!e)return Vi;var t=oi(e),s=T2(t);if(t.tag===b){var c=t.type;if(ks(c))return dR(t,c,s)}return s}function GP(e,t){{var s=oi(e);if(s===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var c=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+c)}var v=ci(s);if(v===null)return null;if(v.mode&Zn){var m=At(s)||"Component";if(!tS[m]){tS[m]=!0;var S=Xn;try{dn(v),s.mode&Zn?p("%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",t,t,m):p("%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",t,t,m)}finally{S?dn(S):Kn()}}}return v.stateNode}}function zI(e,t,s,c,v,m,S,I){var _=!1,V=null;return VI(e,t,_,V,s,c,v,m,S)}function HI(e,t,s,c,v,m,S,I,_,V){var H=!0,ee=VI(s,c,H,e,v,m,S,I,_);ee.context=BI(null);var Q=ee.current,le=qa(),fe=rc(Q),be=ju(le,fe);return be.callback=t??null,Zl(Q,be,fe),qF(ee,fe,le),ee}function Yh(e,t,s,c){sg(t,e);var v=t.current,m=qa(),S=rc(v);lu(S);var I=BI(s);t.context===null?t.context=I:t.pendingContext=I,xa&&Xn!==null&&!eS&&(eS=!0,p(`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.
229
229
 
230
- Check the render method of %s.`,At(Xn)||"Unknown"));var _=ju(m,S);_.payload={element:e},c=c===void 0?null:c,c!==null&&(typeof c!="function"&&p("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",c),_.callback=c);var V=Zl(v,_,S);return V!==null&&(Gr(V,v,S,m),by(V,v,S)),S}function cb(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case A:return t.child.stateNode;default:return t.child.stateNode}}function $P(e){switch(e.tag){case R:{var t=e.stateNode;if(Cr(t)){var s=K0(t);tP(t,s)}break}case z:{Fu(function(){var v=bi(e,bt);if(v!==null){var m=qa();Gr(v,e,bt,m)}});var c=bt;nS(e,c);break}}}function UI(e,t){var s=e.memoizedState;s!==null&&s.dehydrated!==null&&(s.retryLane=bg(s.retryLane,t))}function nS(e,t){UI(e,t);var s=e.alternate;s&&UI(s,t)}function WP(e){if(e.tag===z){var t=wl,s=bi(e,t);if(s!==null){var c=qa();Gr(s,e,t,c)}nS(e,t)}}function XP(e){if(e.tag===z){var t=rc(e),s=bi(e,t);if(s!==null){var c=qa();Gr(s,e,t,c)}nS(e,t)}}function GI(e){var t=ag(e);return t===null?null:t.stateNode}var $I=function(e){return null};function YP(e){return $I(e)}var WI=function(e){return!1};function ZP(e){return WI(e)}var XI=null,YI=null,ZI=null,JI=null,qI=null,QI=null,KI=null,eA=null,tA=null;{var nA=function(e,t,s){var c=t[s],v=Ut(e)?e.slice():Ft({},e);return s+1===t.length?(Ut(v)?v.splice(c,1):delete v[c],v):(v[c]=nA(e[c],t,s+1),v)},rA=function(e,t){return nA(e,t,0)},aA=function(e,t,s,c){var v=t[c],m=Ut(e)?e.slice():Ft({},e);if(c+1===t.length){var S=s[c];m[S]=m[v],Ut(m)?m.splice(v,1):delete m[v]}else m[v]=aA(e[v],t,s,c+1);return m},iA=function(e,t,s){if(t.length!==s.length){d("copyWithRename() expects paths of the same length");return}else for(var c=0;c<s.length-1;c++)if(t[c]!==s[c]){d("copyWithRename() expects paths to be the same except for the deepest key");return}return aA(e,t,s,0)},oA=function(e,t,s,c){if(s>=t.length)return c;var v=t[s],m=Ut(e)?e.slice():Ft({},e);return m[v]=oA(e[v],t,s+1,c),m},sA=function(e,t,s){return oA(e,t,0,s)},rS=function(e,t){for(var s=e.memoizedState;s!==null&&t>0;)s=s.next,t--;return s};XI=function(e,t,s,c){var v=rS(e,t);if(v!==null){var m=sA(v.memoizedState,s,c);v.memoizedState=m,v.baseState=m,e.memoizedProps=Ft({},e.memoizedProps);var S=bi(e,bt);S!==null&&Gr(S,e,bt,Nn)}},YI=function(e,t,s){var c=rS(e,t);if(c!==null){var v=rA(c.memoizedState,s);c.memoizedState=v,c.baseState=v,e.memoizedProps=Ft({},e.memoizedProps);var m=bi(e,bt);m!==null&&Gr(m,e,bt,Nn)}},ZI=function(e,t,s,c){var v=rS(e,t);if(v!==null){var m=iA(v.memoizedState,s,c);v.memoizedState=m,v.baseState=m,e.memoizedProps=Ft({},e.memoizedProps);var S=bi(e,bt);S!==null&&Gr(S,e,bt,Nn)}},JI=function(e,t,s){e.pendingProps=sA(e.memoizedProps,t,s),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var c=bi(e,bt);c!==null&&Gr(c,e,bt,Nn)},qI=function(e,t){e.pendingProps=rA(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var s=bi(e,bt);s!==null&&Gr(s,e,bt,Nn)},QI=function(e,t,s){e.pendingProps=iA(e.memoizedProps,t,s),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var c=bi(e,bt);c!==null&&Gr(c,e,bt,Nn)},KI=function(e){var t=bi(e,bt);t!==null&&Gr(t,e,bt,Nn)},eA=function(e){$I=e},tA=function(e){WI=e}}function JP(e){var t=ci(e);return t===null?null:t.stateNode}function qP(e){return null}function QP(){return Xn}function KP(e){var t=e.findFiberByHostInstance,s=i.ReactCurrentDispatcher;return xv({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:XI,overrideHookStateDeletePath:YI,overrideHookStateRenamePath:ZI,overrideProps:JI,overridePropsDeletePath:qI,overridePropsRenamePath:QI,setErrorHandler:eA,setSuspenseHandler:tA,scheduleUpdate:KI,currentDispatcherRef:s,findHostInstanceByFiber:JP,findFiberByHostInstance:t||qP,findHostInstancesForRefresh:NP,scheduleRefresh:IP,scheduleRoot:AP,setRefreshHandler:TP,getCurrentFiber:QP,reconcilerVersion:KE})}var uA=typeof reportError=="function"?reportError:function(e){console.error(e)};function aS(e){this._internalRoot=e}fb.prototype.render=aS.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?p("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):db(arguments[1])?p("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]<"u"&&p("You passed a second argument to root.render(...) but it only accepts one argument.");var s=t.containerInfo;if(s.nodeType!==fr){var c=GI(t.current);c&&c.parentNode!==s&&p("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.")}}Yh(e,t,null,null)},fb.prototype.unmount=aS.prototype.unmount=function(){typeof arguments[0]=="function"&&p("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;CI()&&p("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Fu(function(){Yh(null,e,null,null)}),sR(t)}};function eV(e,t){if(!db(e))throw new Error("createRoot(...): Target container is not a DOM element.");lA(e);var s=!1,c=!1,v="",m=uA;t!=null&&(t.hydrate?d("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Zi&&p(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
230
+ Check the render method of %s.`,At(Xn)||"Unknown"));var _=ju(m,S);_.payload={element:e},c=c===void 0?null:c,c!==null&&(typeof c!="function"&&p("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",c),_.callback=c);var V=Zl(v,_,S);return V!==null&&(Gr(V,v,S,m),by(V,v,S)),S}function cb(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case A:return t.child.stateNode;default:return t.child.stateNode}}function $P(e){switch(e.tag){case w:{var t=e.stateNode;if(Cr(t)){var s=K0(t);tP(t,s)}break}case z:{Fu(function(){var v=bi(e,bt);if(v!==null){var m=qa();Gr(v,e,bt,m)}});var c=bt;nS(e,c);break}}}function UI(e,t){var s=e.memoizedState;s!==null&&s.dehydrated!==null&&(s.retryLane=bg(s.retryLane,t))}function nS(e,t){UI(e,t);var s=e.alternate;s&&UI(s,t)}function WP(e){if(e.tag===z){var t=wl,s=bi(e,t);if(s!==null){var c=qa();Gr(s,e,t,c)}nS(e,t)}}function XP(e){if(e.tag===z){var t=rc(e),s=bi(e,t);if(s!==null){var c=qa();Gr(s,e,t,c)}nS(e,t)}}function GI(e){var t=ag(e);return t===null?null:t.stateNode}var $I=function(e){return null};function YP(e){return $I(e)}var WI=function(e){return!1};function ZP(e){return WI(e)}var XI=null,YI=null,ZI=null,JI=null,qI=null,QI=null,KI=null,eA=null,tA=null;{var nA=function(e,t,s){var c=t[s],v=Ut(e)?e.slice():Ft({},e);return s+1===t.length?(Ut(v)?v.splice(c,1):delete v[c],v):(v[c]=nA(e[c],t,s+1),v)},rA=function(e,t){return nA(e,t,0)},aA=function(e,t,s,c){var v=t[c],m=Ut(e)?e.slice():Ft({},e);if(c+1===t.length){var S=s[c];m[S]=m[v],Ut(m)?m.splice(v,1):delete m[v]}else m[v]=aA(e[v],t,s,c+1);return m},iA=function(e,t,s){if(t.length!==s.length){d("copyWithRename() expects paths of the same length");return}else for(var c=0;c<s.length-1;c++)if(t[c]!==s[c]){d("copyWithRename() expects paths to be the same except for the deepest key");return}return aA(e,t,s,0)},oA=function(e,t,s,c){if(s>=t.length)return c;var v=t[s],m=Ut(e)?e.slice():Ft({},e);return m[v]=oA(e[v],t,s+1,c),m},sA=function(e,t,s){return oA(e,t,0,s)},rS=function(e,t){for(var s=e.memoizedState;s!==null&&t>0;)s=s.next,t--;return s};XI=function(e,t,s,c){var v=rS(e,t);if(v!==null){var m=sA(v.memoizedState,s,c);v.memoizedState=m,v.baseState=m,e.memoizedProps=Ft({},e.memoizedProps);var S=bi(e,bt);S!==null&&Gr(S,e,bt,Nn)}},YI=function(e,t,s){var c=rS(e,t);if(c!==null){var v=rA(c.memoizedState,s);c.memoizedState=v,c.baseState=v,e.memoizedProps=Ft({},e.memoizedProps);var m=bi(e,bt);m!==null&&Gr(m,e,bt,Nn)}},ZI=function(e,t,s,c){var v=rS(e,t);if(v!==null){var m=iA(v.memoizedState,s,c);v.memoizedState=m,v.baseState=m,e.memoizedProps=Ft({},e.memoizedProps);var S=bi(e,bt);S!==null&&Gr(S,e,bt,Nn)}},JI=function(e,t,s){e.pendingProps=sA(e.memoizedProps,t,s),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var c=bi(e,bt);c!==null&&Gr(c,e,bt,Nn)},qI=function(e,t){e.pendingProps=rA(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var s=bi(e,bt);s!==null&&Gr(s,e,bt,Nn)},QI=function(e,t,s){e.pendingProps=iA(e.memoizedProps,t,s),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var c=bi(e,bt);c!==null&&Gr(c,e,bt,Nn)},KI=function(e){var t=bi(e,bt);t!==null&&Gr(t,e,bt,Nn)},eA=function(e){$I=e},tA=function(e){WI=e}}function JP(e){var t=ci(e);return t===null?null:t.stateNode}function qP(e){return null}function QP(){return Xn}function KP(e){var t=e.findFiberByHostInstance,s=i.ReactCurrentDispatcher;return xv({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:XI,overrideHookStateDeletePath:YI,overrideHookStateRenamePath:ZI,overrideProps:JI,overridePropsDeletePath:qI,overridePropsRenamePath:QI,setErrorHandler:eA,setSuspenseHandler:tA,scheduleUpdate:KI,currentDispatcherRef:s,findHostInstanceByFiber:JP,findFiberByHostInstance:t||qP,findHostInstancesForRefresh:NP,scheduleRefresh:IP,scheduleRoot:AP,setRefreshHandler:TP,getCurrentFiber:QP,reconcilerVersion:KE})}var uA=typeof reportError=="function"?reportError:function(e){console.error(e)};function aS(e){this._internalRoot=e}fb.prototype.render=aS.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?p("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):db(arguments[1])?p("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]<"u"&&p("You passed a second argument to root.render(...) but it only accepts one argument.");var s=t.containerInfo;if(s.nodeType!==fr){var c=GI(t.current);c&&c.parentNode!==s&&p("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.")}}Yh(e,t,null,null)},fb.prototype.unmount=aS.prototype.unmount=function(){typeof arguments[0]=="function"&&p("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;CI()&&p("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Fu(function(){Yh(null,e,null,null)}),sR(t)}};function eV(e,t){if(!db(e))throw new Error("createRoot(...): Target container is not a DOM element.");lA(e);var s=!1,c=!1,v="",m=uA;t!=null&&(t.hydrate?d("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Zi&&p(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
231
231
 
232
232
  let root = createRoot(domContainer);
233
233
  root.render(<App />);`),t.unstable_strictMode===!0&&(s=!0),t.identifierPrefix!==void 0&&(v=t.identifierPrefix),t.onRecoverableError!==void 0&&(m=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var S=zI(e,oy,null,s,c,v,m);Kg(S.current,e);var I=e.nodeType===fr?e.parentNode:e;return nh(I),new aS(S)}function fb(e){this._internalRoot=e}function tV(e){e&&Ig(e)}fb.prototype.unstable_scheduleHydration=tV;function nV(e,t,s){if(!db(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");lA(e),t===void 0&&p("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var c=s??null,v=s!=null&&s.hydratedSources||null,m=!1,S=!1,I="",_=uA;s!=null&&(s.unstable_strictMode===!0&&(m=!0),s.identifierPrefix!==void 0&&(I=s.identifierPrefix),s.onRecoverableError!==void 0&&(_=s.onRecoverableError));var V=HI(t,null,e,oy,c,m,S,I,_);if(Kg(V.current,e),nh(e),v)for(var H=0;H<v.length;H++){var ee=v[H];cL(V,ee)}return new fb(V)}function db(e){return!!(e&&(e.nodeType===Sa||e.nodeType===ki||e.nodeType===eu||!se))}function Zh(e){return!!(e&&(e.nodeType===Sa||e.nodeType===ki||e.nodeType===eu||e.nodeType===fr&&e.nodeValue===" react-mount-point-unstable "))}function lA(e){e.nodeType===Sa&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&p("createRoot(): Creating roots directly with 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 using a container element created for your app."),ph(e)&&(e._reactRootContainer?p("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):p("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var rV=i.ReactCurrentOwner,cA;cA=function(e){if(e._reactRootContainer&&e.nodeType!==fr){var t=GI(e._reactRootContainer.current);t&&t.parentNode!==e&&p("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 s=!!e._reactRootContainer,c=iS(e),v=!!(c&&Gl(c));v&&!s&&p("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."),e.nodeType===Sa&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&p("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 iS(e){return e?e.nodeType===ki?e.documentElement:e.firstChild:null}function fA(){}function aV(e,t,s,c,v){if(v){if(typeof c=="function"){var m=c;c=function(){var Q=cb(S);m.call(Q)}}var S=HI(t,c,e,Wl,null,!1,!1,"",fA);e._reactRootContainer=S,Kg(S.current,e);var I=e.nodeType===fr?e.parentNode:e;return nh(I),Fu(),S}else{for(var _;_=e.lastChild;)e.removeChild(_);if(typeof c=="function"){var V=c;c=function(){var Q=cb(H);V.call(Q)}}var H=zI(e,Wl,null,!1,!1,"",fA);e._reactRootContainer=H,Kg(H.current,e);var ee=e.nodeType===fr?e.parentNode:e;return nh(ee),Fu(function(){Yh(t,H,s,c)}),H}}function iV(e,t){e!==null&&typeof e!="function"&&p("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function pb(e,t,s,c,v){cA(s),iV(v===void 0?null:v,"render");var m=s._reactRootContainer,S;if(!m)S=aV(s,t,e,v,c);else{if(S=m,typeof v=="function"){var I=v;v=function(){var _=cb(S);I.call(_)}}Yh(t,S,e,v)}return cb(S)}function oV(e){{var t=rV.current;if(t!==null&&t.stateNode!==null){var s=t.stateNode._warnedAboutRefsInRender;s||p("%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.",Jt(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===Sa?e:GP(e,"findDOMNode")}function sV(e,t,s){if(p("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Zh(t))throw new Error("Target container is not a DOM element.");{var c=ph(t)&&t._reactRootContainer===void 0;c&&p("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return pb(null,e,t,!0,s)}function uV(e,t,s){if(p("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Zh(t))throw new Error("Target container is not a DOM element.");{var c=ph(t)&&t._reactRootContainer===void 0;c&&p("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return pb(null,e,t,!1,s)}function lV(e,t,s,c){if(p("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Zh(s))throw new Error("Target container is not a DOM element.");if(e==null||!Dc(e))throw new Error("parentComponent must be a valid React Component");return pb(e,t,s,!1,c)}function cV(e){if(!Zh(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=ph(e)&&e._reactRootContainer===void 0;t&&p("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var s=iS(e),c=s&&!Gl(s);c&&p("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return Fu(function(){pb(null,null,e,!1,function(){e._reactRootContainer=null,sR(e)})}),!0}else{{var v=iS(e),m=!!(v&&Gl(v)),S=e.nodeType===Sa&&Zh(e.parentNode)&&!!e.parentNode._reactRootContainer;m&&p("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",S?"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}}et($P),xg(WP),Xc(XP),Pv(pi),Sg(Gc),(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")&&p("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"),tg(pM),$f(LE,nP,Fu);function fV(e,t){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!db(t))throw new Error("Target container is not a DOM element.");return UP(e,t,null,s)}function dV(e,t,s,c){return lV(e,t,s,c)}var oS={usingClientEntryPoint:!1,Events:[Gl,Xd,ey,Gf,Nc,LE]};function pV(e,t){return oS.usingClientEntryPoint||p('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),eV(e,t)}function vV(e,t,s){return oS.usingClientEntryPoint||p('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),nV(e,t,s)}function hV(e){return CI()&&p("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."),Fu(e)}var mV=KP({findFiberByHostInstance:rf,bundleType:1,version:KE,rendererPackageName:"react-dom"});if(!mV&&ft&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var dA=window.location.protocol;/^(https?|file):$/.test(dA)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(dA==="file:"?`
234
- You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}wi.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oS,wi.createPortal=fV,wi.createRoot=pV,wi.findDOMNode=oV,wi.flushSync=hV,wi.hydrate=sV,wi.hydrateRoot=vV,wi.render=uV,wi.unmountComponentAtNode=cV,wi.unstable_batchedUpdates=LE,wi.unstable_renderSubtreeIntoContainer=dV,wi.version=KE,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),wi}function _O(){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(_O)}catch(n){console.error(n)}}}process.env.NODE_ENV==="production"?(_O(),HS.exports=AV()):HS.exports=NV();var A1=HS.exports;const xf=Lp(A1);var Kh=A1;if(process.env.NODE_ENV==="production")$s.createRoot=Kh.createRoot,$s.hydrateRoot=Kh.hydrateRoot;else{var mb=Kh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;$s.createRoot=function(n,r){mb.usingClientEntryPoint=!0;try{return Kh.createRoot(n,r)}finally{mb.usingClientEntryPoint=!1}},$s.hydrateRoot=function(n,r,i){mb.usingClientEntryPoint=!0;try{return Kh.hydrateRoot(n,r,i)}finally{mb.usingClientEntryPoint=!1}}}function ga(n){return`Minified Redux error #${n}; visit https://redux.js.org/Errors?code=${n} for the full message or use the non-minified dev environment for full errors. `}var OV=typeof Symbol=="function"&&Symbol.observable||"@@observable",wA=OV,cS=()=>Math.random().toString(36).substring(7).split("").join("."),_V={INIT:`@@redux/INIT${cS()}`,REPLACE:`@@redux/REPLACE${cS()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${cS()}`},Ef=_V;function Em(n){if(typeof n!="object"||n===null)return!1;let r=n;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(n)===r||Object.getPrototypeOf(n)===null}function DV(n){if(n===void 0)return"undefined";if(n===null)return"null";const r=typeof n;switch(r){case"boolean":case"string":case"number":case"symbol":case"function":return r}if(Array.isArray(n))return"array";if(MV(n))return"date";if(kV(n))return"error";const i=jV(n);switch(i){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return i}return Object.prototype.toString.call(n).slice(8,-1).toLowerCase().replace(/\s/g,"")}function jV(n){return typeof n.constructor=="function"?n.constructor.name:null}function kV(n){return n instanceof Error||typeof n.message=="string"&&n.constructor&&typeof n.constructor.stackTraceLimit=="number"}function MV(n){return n instanceof Date?!0:typeof n.toDateString=="function"&&typeof n.getDate=="function"&&typeof n.setDate=="function"}function sc(n){let r=typeof n;return process.env.NODE_ENV!=="production"&&(r=DV(n)),r}function DO(n,r,i){if(typeof n!="function")throw new Error(process.env.NODE_ENV==="production"?ga(2):`Expected the root reducer to be a function. Instead, received: '${sc(n)}'`);if(typeof r=="function"&&typeof i=="function"||typeof i=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?ga(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof r=="function"&&typeof i>"u"&&(i=r,r=void 0),typeof i<"u"){if(typeof i!="function")throw new Error(process.env.NODE_ENV==="production"?ga(1):`Expected the enhancer to be a function. Instead, received: '${sc(i)}'`);return i(DO)(n,r)}let u=n,l=r,d=new Map,p=d,y=0,g=!1;function b(){p===d&&(p=new Map,d.forEach((O,L)=>{p.set(L,O)}))}function E(){if(g)throw new Error(process.env.NODE_ENV==="production"?ga(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return l}function R(O){if(typeof O!="function")throw new Error(process.env.NODE_ENV==="production"?ga(4):`Expected the listener to be a function. Instead, received: '${sc(O)}'`);if(g)throw new Error(process.env.NODE_ENV==="production"?ga(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");let L=!0;b();const B=y++;return p.set(B,O),function(){if(L){if(g)throw new Error(process.env.NODE_ENV==="production"?ga(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");L=!1,b(),p.delete(B),d=null}}}function T(O){if(!Em(O))throw new Error(process.env.NODE_ENV==="production"?ga(7):`Actions must be plain objects. Instead, the actual type was: '${sc(O)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`);if(typeof O.type>"u")throw new Error(process.env.NODE_ENV==="production"?ga(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(typeof O.type!="string")throw new Error(process.env.NODE_ENV==="production"?ga(17):`Action "type" property must be a string. Instead, the actual type was: '${sc(O.type)}'. Value was: '${O.type}' (stringified)`);if(g)throw new Error(process.env.NODE_ENV==="production"?ga(9):"Reducers may not dispatch actions.");try{g=!0,l=u(l,O)}finally{g=!1}return(d=p).forEach(B=>{B()}),O}function A(O){if(typeof O!="function")throw new Error(process.env.NODE_ENV==="production"?ga(10):`Expected the nextReducer to be a function. Instead, received: '${sc(O)}`);u=O,T({type:Ef.REPLACE})}function N(){const O=R;return{subscribe(L){if(typeof L!="object"||L===null)throw new Error(process.env.NODE_ENV==="production"?ga(11):`Expected the observer to be an object. Instead, received: '${sc(L)}'`);function B(){const U=L;U.next&&U.next(E())}return B(),{unsubscribe:O(B)}},[wA](){return this}}}return T({type:Ef.INIT}),{dispatch:T,subscribe:R,getState:E,replaceReducer:A,[wA]:N}}function RA(n){typeof console<"u"&&typeof console.error=="function"&&console.error(n);try{throw new Error(n)}catch{}}function LV(n,r,i,u){const l=Object.keys(r),d=i&&i.type===Ef.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(l.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!Em(n))return`The ${d} has unexpected type of "${sc(n)}". Expected argument to be an object with the following keys: "${l.join('", "')}"`;const p=Object.keys(n).filter(y=>!r.hasOwnProperty(y)&&!u[y]);if(p.forEach(y=>{u[y]=!0}),!(i&&i.type===Ef.REPLACE)&&p.length>0)return`Unexpected ${p.length>1?"keys":"key"} "${p.join('", "')}" found in ${d}. Expected to find one of the known reducer keys instead: "${l.join('", "')}". Unexpected keys will be ignored.`}function FV(n){Object.keys(n).forEach(r=>{const i=n[r];if(typeof i(void 0,{type:Ef.INIT})>"u")throw new Error(process.env.NODE_ENV==="production"?ga(12):`The slice reducer for key "${r}" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof i(void 0,{type:Ef.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(process.env.NODE_ENV==="production"?ga(13):`The slice reducer for key "${r}" returned undefined when probed with a random type. Don't try to handle '${Ef.INIT}' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.`)})}function PV(n){const r=Object.keys(n),i={};for(let p=0;p<r.length;p++){const y=r[p];process.env.NODE_ENV!=="production"&&typeof n[y]>"u"&&RA(`No reducer provided for key "${y}"`),typeof n[y]=="function"&&(i[y]=n[y])}const u=Object.keys(i);let l;process.env.NODE_ENV!=="production"&&(l={});let d;try{FV(i)}catch(p){d=p}return function(y={},g){if(d)throw d;if(process.env.NODE_ENV!=="production"){const R=LV(y,i,g,l);R&&RA(R)}let b=!1;const E={};for(let R=0;R<u.length;R++){const T=u[R],A=i[T],N=y[T],j=A(N,g);if(typeof j>"u"){const O=g&&g.type;throw new Error(process.env.NODE_ENV==="production"?ga(14):`When called with an action of type ${O?`"${String(O)}"`:"(unknown type)"}, the slice reducer for key "${T}" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.`)}E[T]=j,b=b||j!==N}return b=b||u.length!==Object.keys(y).length,b?E:y}}function Xb(...n){return n.length===0?r=>r:n.length===1?n[0]:n.reduce((r,i)=>(...u)=>r(i(...u)))}function VV(...n){return r=>(i,u)=>{const l=r(i,u);let d=()=>{throw new Error(process.env.NODE_ENV==="production"?ga(15):"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")};const p={getState:l.getState,dispatch:(g,...b)=>d(g,...b)},y=n.map(g=>g(p));return d=Xb(...y)(l.dispatch),{...l,dispatch:d}}}function jO(n){return Em(n)&&"type"in n&&typeof n.type=="string"}var kO=Symbol.for("immer-nothing"),TA=Symbol.for("immer-draftable"),Ui=Symbol.for("immer-state"),BV=process.env.NODE_ENV!=="production"?[function(n){return`The plugin for '${n}' has not been loaded into Immer. To enable the plugin, import and call \`enable${n}()\` when initializing your application.`},function(n){return`produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${n}'`},"This object has been frozen and should not be mutated",function(n){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+n},"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.","Immer forbids circular references","The first or second argument to `produce` must be a function","The third argument to `produce` must be a function or undefined","First argument to `createDraft` must be a plain object, an array, or an immerable object","First argument to `finishDraft` must be a draft returned by `createDraft`",function(n){return`'current' expects a draft, got: ${n}`},"Object.defineProperty() cannot be used on an Immer draft","Object.setPrototypeOf() cannot be used on an Immer draft","Immer only supports deleting array indices","Immer only supports setting array indices and the 'length' property",function(n){return`'original' expects a draft, got: ${n}`}]:[];function Ri(n,...r){if(process.env.NODE_ENV!=="production"){const i=BV[n],u=typeof i=="function"?i.apply(null,r):i;throw new Error(`[Immer] ${u}`)}throw new Error(`[Immer] minified error nr: ${n}. Full error at: https://bit.ly/3cXEKWf`)}var Ap=Object.getPrototypeOf;function fc(n){return!!n&&!!n[Ui]}function Xu(n){var r;return n?MO(n)||Array.isArray(n)||!!n[TA]||!!((r=n.constructor)!=null&&r[TA])||y0(n)||b0(n):!1}var zV=Object.prototype.constructor.toString();function MO(n){if(!n||typeof n!="object")return!1;const r=Ap(n);if(r===null)return!0;const i=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;return i===Object?!0:typeof i=="function"&&Function.toString.call(i)===zV}function fm(n,r){g0(n)===0?Object.entries(n).forEach(([i,u])=>{r(i,u,n)}):n.forEach((i,u)=>r(u,i,n))}function g0(n){const r=n[Ui];return r?r.type_:Array.isArray(n)?1:y0(n)?2:b0(n)?3:0}function US(n,r){return g0(n)===2?n.has(r):Object.prototype.hasOwnProperty.call(n,r)}function LO(n,r,i){const u=g0(n);u===2?n.set(r,i):u===3?n.add(i):n[r]=i}function HV(n,r){return n===r?n!==0||1/n===1/r:n!==n&&r!==r}function y0(n){return n instanceof Map}function b0(n){return n instanceof Set}function Cf(n){return n.copy_||n.base_}function GS(n,r){if(y0(n))return new Map(n);if(b0(n))return new Set(n);if(Array.isArray(n))return Array.prototype.slice.call(n);if(!r&&MO(n))return Ap(n)?{...n}:Object.assign(Object.create(null),n);const i=Object.getOwnPropertyDescriptors(n);delete i[Ui];let u=Reflect.ownKeys(i);for(let l=0;l<u.length;l++){const d=u[l],p=i[d];p.writable===!1&&(p.writable=!0,p.configurable=!0),(p.get||p.set)&&(i[d]={configurable:!0,writable:!0,enumerable:p.enumerable,value:n[d]})}return Object.create(Ap(n),i)}function N1(n,r=!1){return C0(n)||fc(n)||!Xu(n)||(g0(n)>1&&(n.set=n.add=n.clear=n.delete=UV),Object.freeze(n),r&&fm(n,(i,u)=>N1(u,!0))),n}function UV(){Ri(2)}function C0(n){return Object.isFrozen(n)}var GV={};function Tf(n){const r=GV[n];return r||Ri(0,n),r}var dm;function FO(){return dm}function $V(n,r){return{drafts_:[],parent_:n,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function IA(n,r){r&&(Tf("Patches"),n.patches_=[],n.inversePatches_=[],n.patchListener_=r)}function $S(n){WS(n),n.drafts_.forEach(WV),n.drafts_=null}function WS(n){n===dm&&(dm=n.parent_)}function AA(n){return dm=$V(dm,n)}function WV(n){const r=n[Ui];r.type_===0||r.type_===1?r.revoke_():r.revoked_=!0}function NA(n,r){r.unfinalizedDrafts_=r.drafts_.length;const i=r.drafts_[0];return n!==void 0&&n!==i?(i[Ui].modified_&&($S(r),Ri(4)),Xu(n)&&(n=Yb(r,n),r.parent_||Zb(r,n)),r.patches_&&Tf("Patches").generateReplacementPatches_(i[Ui].base_,n,r.patches_,r.inversePatches_)):n=Yb(r,i,[]),$S(r),r.patches_&&r.patchListener_(r.patches_,r.inversePatches_),n!==kO?n:void 0}function Yb(n,r,i){if(C0(r))return r;const u=r[Ui];if(!u)return fm(r,(l,d)=>OA(n,u,r,l,d,i)),r;if(u.scope_!==n)return r;if(!u.modified_)return Zb(n,u.base_,!0),u.base_;if(!u.finalized_){u.finalized_=!0,u.scope_.unfinalizedDrafts_--;const l=u.copy_;let d=l,p=!1;u.type_===3&&(d=new Set(l),l.clear(),p=!0),fm(d,(y,g)=>OA(n,u,l,y,g,i,p)),Zb(n,l,!1),i&&n.patches_&&Tf("Patches").generatePatches_(u,i,n.patches_,n.inversePatches_)}return u.copy_}function OA(n,r,i,u,l,d,p){if(process.env.NODE_ENV!=="production"&&l===i&&Ri(5),fc(l)){const y=d&&r&&r.type_!==3&&!US(r.assigned_,u)?d.concat(u):void 0,g=Yb(n,l,y);if(LO(i,u,g),fc(g))n.canAutoFreeze_=!1;else return}else p&&i.add(l);if(Xu(l)&&!C0(l)){if(!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1)return;Yb(n,l),(!r||!r.scope_.parent_)&&Zb(n,l)}}function Zb(n,r,i=!1){!n.parent_&&n.immer_.autoFreeze_&&n.canAutoFreeze_&&N1(r,i)}function XV(n,r){const i=Array.isArray(n),u={type_:i?1:0,scope_:r?r.scope_:FO(),modified_:!1,finalized_:!1,assigned_:{},parent_:r,base_:n,draft_:null,copy_:null,revoke_:null,isManual_:!1};let l=u,d=O1;i&&(l=[u],d=pm);const{revoke:p,proxy:y}=Proxy.revocable(l,d);return u.draft_=y,u.revoke_=p,y}var O1={get(n,r){if(r===Ui)return n;const i=Cf(n);if(!US(i,r))return YV(n,i,r);const u=i[r];return n.finalized_||!Xu(u)?u:u===fS(n.base_,r)?(dS(n),n.copy_[r]=YS(u,n)):u},has(n,r){return r in Cf(n)},ownKeys(n){return Reflect.ownKeys(Cf(n))},set(n,r,i){const u=PO(Cf(n),r);if(u!=null&&u.set)return u.set.call(n.draft_,i),!0;if(!n.modified_){const l=fS(Cf(n),r),d=l==null?void 0:l[Ui];if(d&&d.base_===i)return n.copy_[r]=i,n.assigned_[r]=!1,!0;if(HV(i,l)&&(i!==void 0||US(n.base_,r)))return!0;dS(n),XS(n)}return n.copy_[r]===i&&(i!==void 0||r in n.copy_)||Number.isNaN(i)&&Number.isNaN(n.copy_[r])||(n.copy_[r]=i,n.assigned_[r]=!0),!0},deleteProperty(n,r){return fS(n.base_,r)!==void 0||r in n.base_?(n.assigned_[r]=!1,dS(n),XS(n)):delete n.assigned_[r],n.copy_&&delete n.copy_[r],!0},getOwnPropertyDescriptor(n,r){const i=Cf(n),u=Reflect.getOwnPropertyDescriptor(i,r);return u&&{writable:!0,configurable:n.type_!==1||r!=="length",enumerable:u.enumerable,value:i[r]}},defineProperty(){Ri(11)},getPrototypeOf(n){return Ap(n.base_)},setPrototypeOf(){Ri(12)}},pm={};fm(O1,(n,r)=>{pm[n]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}});pm.deleteProperty=function(n,r){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(r))&&Ri(13),pm.set.call(this,n,r,void 0)};pm.set=function(n,r,i){return process.env.NODE_ENV!=="production"&&r!=="length"&&isNaN(parseInt(r))&&Ri(14),O1.set.call(this,n[0],r,i,n[0])};function fS(n,r){const i=n[Ui];return(i?Cf(i):n)[r]}function YV(n,r,i){var l;const u=PO(r,i);return u?"value"in u?u.value:(l=u.get)==null?void 0:l.call(n.draft_):void 0}function PO(n,r){if(!(r in n))return;let i=Ap(n);for(;i;){const u=Object.getOwnPropertyDescriptor(i,r);if(u)return u;i=Ap(i)}}function XS(n){n.modified_||(n.modified_=!0,n.parent_&&XS(n.parent_))}function dS(n){n.copy_||(n.copy_=GS(n.base_,n.scope_.immer_.useStrictShallowCopy_))}var ZV=class{constructor(n){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(r,i,u)=>{if(typeof r=="function"&&typeof i!="function"){const d=i;i=r;const p=this;return function(g=d,...b){return p.produce(g,E=>i.call(this,E,...b))}}typeof i!="function"&&Ri(6),u!==void 0&&typeof u!="function"&&Ri(7);let l;if(Xu(r)){const d=AA(this),p=YS(r,void 0);let y=!0;try{l=i(p),y=!1}finally{y?$S(d):WS(d)}return IA(d,u),NA(l,d)}else if(!r||typeof r!="object"){if(l=i(r),l===void 0&&(l=r),l===kO&&(l=void 0),this.autoFreeze_&&N1(l,!0),u){const d=[],p=[];Tf("Patches").generateReplacementPatches_(r,l,d,p),u(d,p)}return l}else Ri(1,r)},this.produceWithPatches=(r,i)=>{if(typeof r=="function")return(p,...y)=>this.produceWithPatches(p,g=>r(g,...y));let u,l;return[this.produce(r,i,(p,y)=>{u=p,l=y}),u,l]},typeof(n==null?void 0:n.autoFreeze)=="boolean"&&this.setAutoFreeze(n.autoFreeze),typeof(n==null?void 0:n.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(n.useStrictShallowCopy)}createDraft(n){Xu(n)||Ri(8),fc(n)&&(n=VO(n));const r=AA(this),i=YS(n,void 0);return i[Ui].isManual_=!0,WS(r),i}finishDraft(n,r){const i=n&&n[Ui];(!i||!i.isManual_)&&Ri(9);const{scope_:u}=i;return IA(u,r),NA(void 0,u)}setAutoFreeze(n){this.autoFreeze_=n}setUseStrictShallowCopy(n){this.useStrictShallowCopy_=n}applyPatches(n,r){let i;for(i=r.length-1;i>=0;i--){const l=r[i];if(l.path.length===0&&l.op==="replace"){n=l.value;break}}i>-1&&(r=r.slice(i+1));const u=Tf("Patches").applyPatches_;return fc(n)?u(n,r):this.produce(n,l=>u(l,r))}};function YS(n,r){const i=y0(n)?Tf("MapSet").proxyMap_(n,r):b0(n)?Tf("MapSet").proxySet_(n,r):XV(n,r);return(r?r.scope_:FO()).drafts_.push(i),i}function VO(n){return fc(n)||Ri(10,n),BO(n)}function BO(n){if(!Xu(n)||C0(n))return n;const r=n[Ui];let i;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,i=GS(n,r.scope_.immer_.useStrictShallowCopy_)}else i=GS(n,!0);return fm(i,(u,l)=>{LO(i,u,BO(l))}),r&&(r.finalized_=!1),i}var Gi=new ZV,mo=Gi.produce;Gi.produceWithPatches.bind(Gi);Gi.setAutoFreeze.bind(Gi);Gi.setUseStrictShallowCopy.bind(Gi);Gi.applyPatches.bind(Gi);Gi.createDraft.bind(Gi);Gi.finishDraft.bind(Gi);var JV=(n,r,i)=>{if(r.length===1&&r[0]===i){let u=!1;try{const l={};n(l)===l&&(u=!0)}catch{}if(u){let l;try{throw new Error}catch(d){({stack:l}=d)}console.warn(`The result function returned its own inputs without modification. e.g
234
+ You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}wi.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oS,wi.createPortal=fV,wi.createRoot=pV,wi.findDOMNode=oV,wi.flushSync=hV,wi.hydrate=sV,wi.hydrateRoot=vV,wi.render=uV,wi.unmountComponentAtNode=cV,wi.unstable_batchedUpdates=LE,wi.unstable_renderSubtreeIntoContainer=dV,wi.version=KE,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),wi}function _O(){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(_O)}catch(n){console.error(n)}}}process.env.NODE_ENV==="production"?(_O(),HS.exports=AV()):HS.exports=NV();var A1=HS.exports;const xf=Lp(A1);var Kh=A1;if(process.env.NODE_ENV==="production")$s.createRoot=Kh.createRoot,$s.hydrateRoot=Kh.hydrateRoot;else{var mb=Kh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;$s.createRoot=function(n,r){mb.usingClientEntryPoint=!0;try{return Kh.createRoot(n,r)}finally{mb.usingClientEntryPoint=!1}},$s.hydrateRoot=function(n,r,i){mb.usingClientEntryPoint=!0;try{return Kh.hydrateRoot(n,r,i)}finally{mb.usingClientEntryPoint=!1}}}function ga(n){return`Minified Redux error #${n}; visit https://redux.js.org/Errors?code=${n} for the full message or use the non-minified dev environment for full errors. `}var OV=typeof Symbol=="function"&&Symbol.observable||"@@observable",wA=OV,cS=()=>Math.random().toString(36).substring(7).split("").join("."),_V={INIT:`@@redux/INIT${cS()}`,REPLACE:`@@redux/REPLACE${cS()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${cS()}`},Ef=_V;function Em(n){if(typeof n!="object"||n===null)return!1;let r=n;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(n)===r||Object.getPrototypeOf(n)===null}function DV(n){if(n===void 0)return"undefined";if(n===null)return"null";const r=typeof n;switch(r){case"boolean":case"string":case"number":case"symbol":case"function":return r}if(Array.isArray(n))return"array";if(MV(n))return"date";if(kV(n))return"error";const i=jV(n);switch(i){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return i}return Object.prototype.toString.call(n).slice(8,-1).toLowerCase().replace(/\s/g,"")}function jV(n){return typeof n.constructor=="function"?n.constructor.name:null}function kV(n){return n instanceof Error||typeof n.message=="string"&&n.constructor&&typeof n.constructor.stackTraceLimit=="number"}function MV(n){return n instanceof Date?!0:typeof n.toDateString=="function"&&typeof n.getDate=="function"&&typeof n.setDate=="function"}function sc(n){let r=typeof n;return process.env.NODE_ENV!=="production"&&(r=DV(n)),r}function DO(n,r,i){if(typeof n!="function")throw new Error(process.env.NODE_ENV==="production"?ga(2):`Expected the root reducer to be a function. Instead, received: '${sc(n)}'`);if(typeof r=="function"&&typeof i=="function"||typeof i=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?ga(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof r=="function"&&typeof i>"u"&&(i=r,r=void 0),typeof i<"u"){if(typeof i!="function")throw new Error(process.env.NODE_ENV==="production"?ga(1):`Expected the enhancer to be a function. Instead, received: '${sc(i)}'`);return i(DO)(n,r)}let u=n,l=r,d=new Map,p=d,y=0,g=!1;function b(){p===d&&(p=new Map,d.forEach((O,L)=>{p.set(L,O)}))}function E(){if(g)throw new Error(process.env.NODE_ENV==="production"?ga(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return l}function w(O){if(typeof O!="function")throw new Error(process.env.NODE_ENV==="production"?ga(4):`Expected the listener to be a function. Instead, received: '${sc(O)}'`);if(g)throw new Error(process.env.NODE_ENV==="production"?ga(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");let L=!0;b();const B=y++;return p.set(B,O),function(){if(L){if(g)throw new Error(process.env.NODE_ENV==="production"?ga(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");L=!1,b(),p.delete(B),d=null}}}function T(O){if(!Em(O))throw new Error(process.env.NODE_ENV==="production"?ga(7):`Actions must be plain objects. Instead, the actual type was: '${sc(O)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`);if(typeof O.type>"u")throw new Error(process.env.NODE_ENV==="production"?ga(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(typeof O.type!="string")throw new Error(process.env.NODE_ENV==="production"?ga(17):`Action "type" property must be a string. Instead, the actual type was: '${sc(O.type)}'. Value was: '${O.type}' (stringified)`);if(g)throw new Error(process.env.NODE_ENV==="production"?ga(9):"Reducers may not dispatch actions.");try{g=!0,l=u(l,O)}finally{g=!1}return(d=p).forEach(B=>{B()}),O}function A(O){if(typeof O!="function")throw new Error(process.env.NODE_ENV==="production"?ga(10):`Expected the nextReducer to be a function. Instead, received: '${sc(O)}`);u=O,T({type:Ef.REPLACE})}function N(){const O=w;return{subscribe(L){if(typeof L!="object"||L===null)throw new Error(process.env.NODE_ENV==="production"?ga(11):`Expected the observer to be an object. Instead, received: '${sc(L)}'`);function B(){const U=L;U.next&&U.next(E())}return B(),{unsubscribe:O(B)}},[wA](){return this}}}return T({type:Ef.INIT}),{dispatch:T,subscribe:w,getState:E,replaceReducer:A,[wA]:N}}function RA(n){typeof console<"u"&&typeof console.error=="function"&&console.error(n);try{throw new Error(n)}catch{}}function LV(n,r,i,u){const l=Object.keys(r),d=i&&i.type===Ef.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(l.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!Em(n))return`The ${d} has unexpected type of "${sc(n)}". Expected argument to be an object with the following keys: "${l.join('", "')}"`;const p=Object.keys(n).filter(y=>!r.hasOwnProperty(y)&&!u[y]);if(p.forEach(y=>{u[y]=!0}),!(i&&i.type===Ef.REPLACE)&&p.length>0)return`Unexpected ${p.length>1?"keys":"key"} "${p.join('", "')}" found in ${d}. Expected to find one of the known reducer keys instead: "${l.join('", "')}". Unexpected keys will be ignored.`}function FV(n){Object.keys(n).forEach(r=>{const i=n[r];if(typeof i(void 0,{type:Ef.INIT})>"u")throw new Error(process.env.NODE_ENV==="production"?ga(12):`The slice reducer for key "${r}" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof i(void 0,{type:Ef.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(process.env.NODE_ENV==="production"?ga(13):`The slice reducer for key "${r}" returned undefined when probed with a random type. Don't try to handle '${Ef.INIT}' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.`)})}function PV(n){const r=Object.keys(n),i={};for(let p=0;p<r.length;p++){const y=r[p];process.env.NODE_ENV!=="production"&&typeof n[y]>"u"&&RA(`No reducer provided for key "${y}"`),typeof n[y]=="function"&&(i[y]=n[y])}const u=Object.keys(i);let l;process.env.NODE_ENV!=="production"&&(l={});let d;try{FV(i)}catch(p){d=p}return function(y={},g){if(d)throw d;if(process.env.NODE_ENV!=="production"){const w=LV(y,i,g,l);w&&RA(w)}let b=!1;const E={};for(let w=0;w<u.length;w++){const T=u[w],A=i[T],N=y[T],j=A(N,g);if(typeof j>"u"){const O=g&&g.type;throw new Error(process.env.NODE_ENV==="production"?ga(14):`When called with an action of type ${O?`"${String(O)}"`:"(unknown type)"}, the slice reducer for key "${T}" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.`)}E[T]=j,b=b||j!==N}return b=b||u.length!==Object.keys(y).length,b?E:y}}function Xb(...n){return n.length===0?r=>r:n.length===1?n[0]:n.reduce((r,i)=>(...u)=>r(i(...u)))}function VV(...n){return r=>(i,u)=>{const l=r(i,u);let d=()=>{throw new Error(process.env.NODE_ENV==="production"?ga(15):"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")};const p={getState:l.getState,dispatch:(g,...b)=>d(g,...b)},y=n.map(g=>g(p));return d=Xb(...y)(l.dispatch),{...l,dispatch:d}}}function jO(n){return Em(n)&&"type"in n&&typeof n.type=="string"}var kO=Symbol.for("immer-nothing"),TA=Symbol.for("immer-draftable"),Ui=Symbol.for("immer-state"),BV=process.env.NODE_ENV!=="production"?[function(n){return`The plugin for '${n}' has not been loaded into Immer. To enable the plugin, import and call \`enable${n}()\` when initializing your application.`},function(n){return`produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${n}'`},"This object has been frozen and should not be mutated",function(n){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+n},"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.","Immer forbids circular references","The first or second argument to `produce` must be a function","The third argument to `produce` must be a function or undefined","First argument to `createDraft` must be a plain object, an array, or an immerable object","First argument to `finishDraft` must be a draft returned by `createDraft`",function(n){return`'current' expects a draft, got: ${n}`},"Object.defineProperty() cannot be used on an Immer draft","Object.setPrototypeOf() cannot be used on an Immer draft","Immer only supports deleting array indices","Immer only supports setting array indices and the 'length' property",function(n){return`'original' expects a draft, got: ${n}`}]:[];function Ri(n,...r){if(process.env.NODE_ENV!=="production"){const i=BV[n],u=typeof i=="function"?i.apply(null,r):i;throw new Error(`[Immer] ${u}`)}throw new Error(`[Immer] minified error nr: ${n}. Full error at: https://bit.ly/3cXEKWf`)}var Ap=Object.getPrototypeOf;function fc(n){return!!n&&!!n[Ui]}function Xu(n){var r;return n?MO(n)||Array.isArray(n)||!!n[TA]||!!((r=n.constructor)!=null&&r[TA])||y0(n)||b0(n):!1}var zV=Object.prototype.constructor.toString();function MO(n){if(!n||typeof n!="object")return!1;const r=Ap(n);if(r===null)return!0;const i=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;return i===Object?!0:typeof i=="function"&&Function.toString.call(i)===zV}function fm(n,r){g0(n)===0?Object.entries(n).forEach(([i,u])=>{r(i,u,n)}):n.forEach((i,u)=>r(u,i,n))}function g0(n){const r=n[Ui];return r?r.type_:Array.isArray(n)?1:y0(n)?2:b0(n)?3:0}function US(n,r){return g0(n)===2?n.has(r):Object.prototype.hasOwnProperty.call(n,r)}function LO(n,r,i){const u=g0(n);u===2?n.set(r,i):u===3?n.add(i):n[r]=i}function HV(n,r){return n===r?n!==0||1/n===1/r:n!==n&&r!==r}function y0(n){return n instanceof Map}function b0(n){return n instanceof Set}function Cf(n){return n.copy_||n.base_}function GS(n,r){if(y0(n))return new Map(n);if(b0(n))return new Set(n);if(Array.isArray(n))return Array.prototype.slice.call(n);if(!r&&MO(n))return Ap(n)?{...n}:Object.assign(Object.create(null),n);const i=Object.getOwnPropertyDescriptors(n);delete i[Ui];let u=Reflect.ownKeys(i);for(let l=0;l<u.length;l++){const d=u[l],p=i[d];p.writable===!1&&(p.writable=!0,p.configurable=!0),(p.get||p.set)&&(i[d]={configurable:!0,writable:!0,enumerable:p.enumerable,value:n[d]})}return Object.create(Ap(n),i)}function N1(n,r=!1){return C0(n)||fc(n)||!Xu(n)||(g0(n)>1&&(n.set=n.add=n.clear=n.delete=UV),Object.freeze(n),r&&fm(n,(i,u)=>N1(u,!0))),n}function UV(){Ri(2)}function C0(n){return Object.isFrozen(n)}var GV={};function Tf(n){const r=GV[n];return r||Ri(0,n),r}var dm;function FO(){return dm}function $V(n,r){return{drafts_:[],parent_:n,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function IA(n,r){r&&(Tf("Patches"),n.patches_=[],n.inversePatches_=[],n.patchListener_=r)}function $S(n){WS(n),n.drafts_.forEach(WV),n.drafts_=null}function WS(n){n===dm&&(dm=n.parent_)}function AA(n){return dm=$V(dm,n)}function WV(n){const r=n[Ui];r.type_===0||r.type_===1?r.revoke_():r.revoked_=!0}function NA(n,r){r.unfinalizedDrafts_=r.drafts_.length;const i=r.drafts_[0];return n!==void 0&&n!==i?(i[Ui].modified_&&($S(r),Ri(4)),Xu(n)&&(n=Yb(r,n),r.parent_||Zb(r,n)),r.patches_&&Tf("Patches").generateReplacementPatches_(i[Ui].base_,n,r.patches_,r.inversePatches_)):n=Yb(r,i,[]),$S(r),r.patches_&&r.patchListener_(r.patches_,r.inversePatches_),n!==kO?n:void 0}function Yb(n,r,i){if(C0(r))return r;const u=r[Ui];if(!u)return fm(r,(l,d)=>OA(n,u,r,l,d,i)),r;if(u.scope_!==n)return r;if(!u.modified_)return Zb(n,u.base_,!0),u.base_;if(!u.finalized_){u.finalized_=!0,u.scope_.unfinalizedDrafts_--;const l=u.copy_;let d=l,p=!1;u.type_===3&&(d=new Set(l),l.clear(),p=!0),fm(d,(y,g)=>OA(n,u,l,y,g,i,p)),Zb(n,l,!1),i&&n.patches_&&Tf("Patches").generatePatches_(u,i,n.patches_,n.inversePatches_)}return u.copy_}function OA(n,r,i,u,l,d,p){if(process.env.NODE_ENV!=="production"&&l===i&&Ri(5),fc(l)){const y=d&&r&&r.type_!==3&&!US(r.assigned_,u)?d.concat(u):void 0,g=Yb(n,l,y);if(LO(i,u,g),fc(g))n.canAutoFreeze_=!1;else return}else p&&i.add(l);if(Xu(l)&&!C0(l)){if(!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1)return;Yb(n,l),(!r||!r.scope_.parent_)&&Zb(n,l)}}function Zb(n,r,i=!1){!n.parent_&&n.immer_.autoFreeze_&&n.canAutoFreeze_&&N1(r,i)}function XV(n,r){const i=Array.isArray(n),u={type_:i?1:0,scope_:r?r.scope_:FO(),modified_:!1,finalized_:!1,assigned_:{},parent_:r,base_:n,draft_:null,copy_:null,revoke_:null,isManual_:!1};let l=u,d=O1;i&&(l=[u],d=pm);const{revoke:p,proxy:y}=Proxy.revocable(l,d);return u.draft_=y,u.revoke_=p,y}var O1={get(n,r){if(r===Ui)return n;const i=Cf(n);if(!US(i,r))return YV(n,i,r);const u=i[r];return n.finalized_||!Xu(u)?u:u===fS(n.base_,r)?(dS(n),n.copy_[r]=YS(u,n)):u},has(n,r){return r in Cf(n)},ownKeys(n){return Reflect.ownKeys(Cf(n))},set(n,r,i){const u=PO(Cf(n),r);if(u!=null&&u.set)return u.set.call(n.draft_,i),!0;if(!n.modified_){const l=fS(Cf(n),r),d=l==null?void 0:l[Ui];if(d&&d.base_===i)return n.copy_[r]=i,n.assigned_[r]=!1,!0;if(HV(i,l)&&(i!==void 0||US(n.base_,r)))return!0;dS(n),XS(n)}return n.copy_[r]===i&&(i!==void 0||r in n.copy_)||Number.isNaN(i)&&Number.isNaN(n.copy_[r])||(n.copy_[r]=i,n.assigned_[r]=!0),!0},deleteProperty(n,r){return fS(n.base_,r)!==void 0||r in n.base_?(n.assigned_[r]=!1,dS(n),XS(n)):delete n.assigned_[r],n.copy_&&delete n.copy_[r],!0},getOwnPropertyDescriptor(n,r){const i=Cf(n),u=Reflect.getOwnPropertyDescriptor(i,r);return u&&{writable:!0,configurable:n.type_!==1||r!=="length",enumerable:u.enumerable,value:i[r]}},defineProperty(){Ri(11)},getPrototypeOf(n){return Ap(n.base_)},setPrototypeOf(){Ri(12)}},pm={};fm(O1,(n,r)=>{pm[n]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}});pm.deleteProperty=function(n,r){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(r))&&Ri(13),pm.set.call(this,n,r,void 0)};pm.set=function(n,r,i){return process.env.NODE_ENV!=="production"&&r!=="length"&&isNaN(parseInt(r))&&Ri(14),O1.set.call(this,n[0],r,i,n[0])};function fS(n,r){const i=n[Ui];return(i?Cf(i):n)[r]}function YV(n,r,i){var l;const u=PO(r,i);return u?"value"in u?u.value:(l=u.get)==null?void 0:l.call(n.draft_):void 0}function PO(n,r){if(!(r in n))return;let i=Ap(n);for(;i;){const u=Object.getOwnPropertyDescriptor(i,r);if(u)return u;i=Ap(i)}}function XS(n){n.modified_||(n.modified_=!0,n.parent_&&XS(n.parent_))}function dS(n){n.copy_||(n.copy_=GS(n.base_,n.scope_.immer_.useStrictShallowCopy_))}var ZV=class{constructor(n){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(r,i,u)=>{if(typeof r=="function"&&typeof i!="function"){const d=i;i=r;const p=this;return function(g=d,...b){return p.produce(g,E=>i.call(this,E,...b))}}typeof i!="function"&&Ri(6),u!==void 0&&typeof u!="function"&&Ri(7);let l;if(Xu(r)){const d=AA(this),p=YS(r,void 0);let y=!0;try{l=i(p),y=!1}finally{y?$S(d):WS(d)}return IA(d,u),NA(l,d)}else if(!r||typeof r!="object"){if(l=i(r),l===void 0&&(l=r),l===kO&&(l=void 0),this.autoFreeze_&&N1(l,!0),u){const d=[],p=[];Tf("Patches").generateReplacementPatches_(r,l,d,p),u(d,p)}return l}else Ri(1,r)},this.produceWithPatches=(r,i)=>{if(typeof r=="function")return(p,...y)=>this.produceWithPatches(p,g=>r(g,...y));let u,l;return[this.produce(r,i,(p,y)=>{u=p,l=y}),u,l]},typeof(n==null?void 0:n.autoFreeze)=="boolean"&&this.setAutoFreeze(n.autoFreeze),typeof(n==null?void 0:n.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(n.useStrictShallowCopy)}createDraft(n){Xu(n)||Ri(8),fc(n)&&(n=VO(n));const r=AA(this),i=YS(n,void 0);return i[Ui].isManual_=!0,WS(r),i}finishDraft(n,r){const i=n&&n[Ui];(!i||!i.isManual_)&&Ri(9);const{scope_:u}=i;return IA(u,r),NA(void 0,u)}setAutoFreeze(n){this.autoFreeze_=n}setUseStrictShallowCopy(n){this.useStrictShallowCopy_=n}applyPatches(n,r){let i;for(i=r.length-1;i>=0;i--){const l=r[i];if(l.path.length===0&&l.op==="replace"){n=l.value;break}}i>-1&&(r=r.slice(i+1));const u=Tf("Patches").applyPatches_;return fc(n)?u(n,r):this.produce(n,l=>u(l,r))}};function YS(n,r){const i=y0(n)?Tf("MapSet").proxyMap_(n,r):b0(n)?Tf("MapSet").proxySet_(n,r):XV(n,r);return(r?r.scope_:FO()).drafts_.push(i),i}function VO(n){return fc(n)||Ri(10,n),BO(n)}function BO(n){if(!Xu(n)||C0(n))return n;const r=n[Ui];let i;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,i=GS(n,r.scope_.immer_.useStrictShallowCopy_)}else i=GS(n,!0);return fm(i,(u,l)=>{LO(i,u,BO(l))}),r&&(r.finalized_=!1),i}var Gi=new ZV,mo=Gi.produce;Gi.produceWithPatches.bind(Gi);Gi.setAutoFreeze.bind(Gi);Gi.setUseStrictShallowCopy.bind(Gi);Gi.applyPatches.bind(Gi);Gi.createDraft.bind(Gi);Gi.finishDraft.bind(Gi);var JV=(n,r,i)=>{if(r.length===1&&r[0]===i){let u=!1;try{const l={};n(l)===l&&(u=!0)}catch{}if(u){let l;try{throw new Error}catch(d){({stack:l}=d)}console.warn(`The result function returned its own inputs without modification. e.g
235
235
  \`createSelector([state => state.todos], todos => todos)\`
236
236
  This could lead to inefficient memoization and unnecessary re-renders.
237
237
  Ensure transformation logic is in the result function, and extraction logic is in the input selectors.`,{stack:l})}}},qV=(n,r,i)=>{const{memoize:u,memoizeOptions:l}=r,{inputSelectorResults:d,inputSelectorResultsCopy:p}=n,y=u(()=>({}),...l);if(!(y.apply(null,d)===y.apply(null,p))){let b;try{throw new Error}catch(E){({stack:b}=E)}console.warn(`An input selector returned a different result when passed same arguments.
238
238
  This means your output selector will likely run more frequently than intended.
239
239
  Avoid returning a new reference inside your input selector, e.g.
240
- \`createSelector([state => state.todos.map(todo => todo.id)], todoIds => todoIds.length)\``,{arguments:i,firstInputs:d,secondInputs:p,stack:b})}},QV={inputStabilityCheck:"once",identityFunctionCheck:"once"};function KV(n,r=`expected a function, instead received ${typeof n}`){if(typeof n!="function")throw new TypeError(r)}function eB(n,r=`expected an object, instead received ${typeof n}`){if(typeof n!="object")throw new TypeError(r)}function tB(n,r="expected all items to be functions, instead received the following types: "){if(!n.every(i=>typeof i=="function")){const i=n.map(u=>typeof u=="function"?`function ${u.name||"unnamed"}()`:typeof u).join(", ");throw new TypeError(`${r}[${i}]`)}}var _A=n=>Array.isArray(n)?n:[n];function nB(n){const r=Array.isArray(n[0])?n[0]:n;return tB(r,"createSelector expects all input-selectors to be functions, but received the following types: "),r}function DA(n,r){const i=[],{length:u}=n;for(let l=0;l<u;l++)i.push(n[l].apply(null,r));return i}var rB=(n,r)=>{const{identityFunctionCheck:i,inputStabilityCheck:u}={...QV,...r};return{identityFunctionCheck:{shouldRun:i==="always"||i==="once"&&n,run:JV},inputStabilityCheck:{shouldRun:u==="always"||u==="once"&&n,run:qV}}},aB=class{constructor(n){this.value=n}deref(){return this.value}},iB=typeof WeakRef<"u"?WeakRef:aB,oB=0,jA=1;function gb(){return{s:oB,v:void 0,o:null,p:null}}function _1(n,r={}){let i=gb();const{resultEqualityCheck:u}=r;let l,d=0;function p(){var R;let y=i;const{length:g}=arguments;for(let T=0,A=g;T<A;T++){const N=arguments[T];if(typeof N=="function"||typeof N=="object"&&N!==null){let j=y.o;j===null&&(y.o=j=new WeakMap);const O=j.get(N);O===void 0?(y=gb(),j.set(N,y)):y=O}else{let j=y.p;j===null&&(y.p=j=new Map);const O=j.get(N);O===void 0?(y=gb(),j.set(N,y)):y=O}}const b=y;let E;if(y.s===jA?E=y.v:(E=n.apply(null,arguments),d++),b.s=jA,u){const T=((R=l==null?void 0:l.deref)==null?void 0:R.call(l))??l;T!=null&&u(T,E)&&(E=T,d!==0&&d--),l=typeof E=="object"&&E!==null||typeof E=="function"?new iB(E):E}return b.v=E,E}return p.clearCache=()=>{i=gb(),p.resetResultsCount()},p.resultsCount=()=>d,p.resetResultsCount=()=>{d=0},p}function zO(n,...r){const i=typeof n=="function"?{memoize:n,memoizeOptions:r}:n,u=(...l)=>{let d=0,p=0,y,g={},b=l.pop();typeof b=="object"&&(g=b,b=l.pop()),KV(b,`createSelector expects an output function after the inputs, but received: [${typeof b}]`);const E={...i,...g},{memoize:R,memoizeOptions:T=[],argsMemoize:A=_1,argsMemoizeOptions:N=[],devModeChecks:j={}}=E,O=_A(T),L=_A(N),B=nB(l),P=R(function(){return d++,b.apply(null,arguments)},...O);let U=!0;const z=A(function(){p++;const X=DA(B,arguments);if(y=P.apply(null,X),process.env.NODE_ENV!=="production"){const{identityFunctionCheck:te,inputStabilityCheck:Re}=rB(U,j);if(te.shouldRun&&te.run(b,X,y),Re.shouldRun){const ue=DA(B,arguments);Re.run({inputSelectorResults:X,inputSelectorResultsCopy:ue},{memoize:R,memoizeOptions:O},arguments)}U&&(U=!1)}return y},...L);return Object.assign(z,{resultFunc:b,memoizedResultFunc:P,dependencies:B,dependencyRecomputations:()=>p,resetDependencyRecomputations:()=>{p=0},lastResult:()=>y,recomputations:()=>d,resetRecomputations:()=>{d=0},memoize:R,argsMemoize:A})};return Object.assign(u,{withTypes:()=>u}),u}var sB=zO(_1),uB=Object.assign((n,r=sB)=>{eB(n,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof n}`);const i=Object.keys(n),u=i.map(d=>n[d]);return r(u,(...d)=>d.reduce((p,y,g)=>(p[i[g]]=y,p),{}))},{withTypes:()=>uB});function HO(n){return({dispatch:i,getState:u})=>l=>d=>typeof d=="function"?d(i,u,n):l(d)}var lB=HO(),cB=HO,fB=(...n)=>{const r=zO(...n),i=Object.assign((...u)=>{const l=r(...u),d=(p,...y)=>l(fc(p)?VO(p):p,...y);return Object.assign(d,l),d},{withTypes:()=>i});return i};fB(_1);var dB=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Xb:Xb.apply(null,arguments)},UO=n=>n&&typeof n.match=="function";function $u(n,r){function i(...u){if(r){let l=r(...u);if(!l)throw new Error(process.env.NODE_ENV==="production"?Rn(0):"prepareAction did not return an object");return{type:n,payload:l.payload,..."meta"in l&&{meta:l.meta},..."error"in l&&{error:l.error}}}return{type:n,payload:u[0]}}return i.toString=()=>`${n}`,i.type=n,i.match=u=>jO(u)&&u.type===n,i}function pB(n){return typeof n=="function"&&"type"in n&&UO(n)}function vB(n){const r=n?`${n}`.split("/"):[],i=r[r.length-1]||"actionCreator";return`Detected an action creator with type "${n||"unknown"}" being dispatched.
240
+ \`createSelector([state => state.todos.map(todo => todo.id)], todoIds => todoIds.length)\``,{arguments:i,firstInputs:d,secondInputs:p,stack:b})}},QV={inputStabilityCheck:"once",identityFunctionCheck:"once"};function KV(n,r=`expected a function, instead received ${typeof n}`){if(typeof n!="function")throw new TypeError(r)}function eB(n,r=`expected an object, instead received ${typeof n}`){if(typeof n!="object")throw new TypeError(r)}function tB(n,r="expected all items to be functions, instead received the following types: "){if(!n.every(i=>typeof i=="function")){const i=n.map(u=>typeof u=="function"?`function ${u.name||"unnamed"}()`:typeof u).join(", ");throw new TypeError(`${r}[${i}]`)}}var _A=n=>Array.isArray(n)?n:[n];function nB(n){const r=Array.isArray(n[0])?n[0]:n;return tB(r,"createSelector expects all input-selectors to be functions, but received the following types: "),r}function DA(n,r){const i=[],{length:u}=n;for(let l=0;l<u;l++)i.push(n[l].apply(null,r));return i}var rB=(n,r)=>{const{identityFunctionCheck:i,inputStabilityCheck:u}={...QV,...r};return{identityFunctionCheck:{shouldRun:i==="always"||i==="once"&&n,run:JV},inputStabilityCheck:{shouldRun:u==="always"||u==="once"&&n,run:qV}}},aB=class{constructor(n){this.value=n}deref(){return this.value}},iB=typeof WeakRef<"u"?WeakRef:aB,oB=0,jA=1;function gb(){return{s:oB,v:void 0,o:null,p:null}}function _1(n,r={}){let i=gb();const{resultEqualityCheck:u}=r;let l,d=0;function p(){var w;let y=i;const{length:g}=arguments;for(let T=0,A=g;T<A;T++){const N=arguments[T];if(typeof N=="function"||typeof N=="object"&&N!==null){let j=y.o;j===null&&(y.o=j=new WeakMap);const O=j.get(N);O===void 0?(y=gb(),j.set(N,y)):y=O}else{let j=y.p;j===null&&(y.p=j=new Map);const O=j.get(N);O===void 0?(y=gb(),j.set(N,y)):y=O}}const b=y;let E;if(y.s===jA?E=y.v:(E=n.apply(null,arguments),d++),b.s=jA,u){const T=((w=l==null?void 0:l.deref)==null?void 0:w.call(l))??l;T!=null&&u(T,E)&&(E=T,d!==0&&d--),l=typeof E=="object"&&E!==null||typeof E=="function"?new iB(E):E}return b.v=E,E}return p.clearCache=()=>{i=gb(),p.resetResultsCount()},p.resultsCount=()=>d,p.resetResultsCount=()=>{d=0},p}function zO(n,...r){const i=typeof n=="function"?{memoize:n,memoizeOptions:r}:n,u=(...l)=>{let d=0,p=0,y,g={},b=l.pop();typeof b=="object"&&(g=b,b=l.pop()),KV(b,`createSelector expects an output function after the inputs, but received: [${typeof b}]`);const E={...i,...g},{memoize:w,memoizeOptions:T=[],argsMemoize:A=_1,argsMemoizeOptions:N=[],devModeChecks:j={}}=E,O=_A(T),L=_A(N),B=nB(l),P=w(function(){return d++,b.apply(null,arguments)},...O);let U=!0;const z=A(function(){p++;const X=DA(B,arguments);if(y=P.apply(null,X),process.env.NODE_ENV!=="production"){const{identityFunctionCheck:te,inputStabilityCheck:Re}=rB(U,j);if(te.shouldRun&&te.run(b,X,y),Re.shouldRun){const ue=DA(B,arguments);Re.run({inputSelectorResults:X,inputSelectorResultsCopy:ue},{memoize:w,memoizeOptions:O},arguments)}U&&(U=!1)}return y},...L);return Object.assign(z,{resultFunc:b,memoizedResultFunc:P,dependencies:B,dependencyRecomputations:()=>p,resetDependencyRecomputations:()=>{p=0},lastResult:()=>y,recomputations:()=>d,resetRecomputations:()=>{d=0},memoize:w,argsMemoize:A})};return Object.assign(u,{withTypes:()=>u}),u}var sB=zO(_1),uB=Object.assign((n,r=sB)=>{eB(n,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof n}`);const i=Object.keys(n),u=i.map(d=>n[d]);return r(u,(...d)=>d.reduce((p,y,g)=>(p[i[g]]=y,p),{}))},{withTypes:()=>uB});function HO(n){return({dispatch:i,getState:u})=>l=>d=>typeof d=="function"?d(i,u,n):l(d)}var lB=HO(),cB=HO,fB=(...n)=>{const r=zO(...n),i=Object.assign((...u)=>{const l=r(...u),d=(p,...y)=>l(fc(p)?VO(p):p,...y);return Object.assign(d,l),d},{withTypes:()=>i});return i};fB(_1);var dB=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Xb:Xb.apply(null,arguments)},UO=n=>n&&typeof n.match=="function";function $u(n,r){function i(...u){if(r){let l=r(...u);if(!l)throw new Error(process.env.NODE_ENV==="production"?Rn(0):"prepareAction did not return an object");return{type:n,payload:l.payload,..."meta"in l&&{meta:l.meta},..."error"in l&&{error:l.error}}}return{type:n,payload:u[0]}}return i.toString=()=>`${n}`,i.type=n,i.match=u=>jO(u)&&u.type===n,i}function pB(n){return typeof n=="function"&&"type"in n&&UO(n)}function vB(n){const r=n?`${n}`.split("/"):[],i=r[r.length-1]||"actionCreator";return`Detected an action creator with type "${n||"unknown"}" being dispatched.
241
241
  Make sure you're calling the action creator before dispatching, i.e. \`dispatch(${i}())\` instead of \`dispatch(${i})\`. This is necessary even if the action has no payload.`}function hB(n={}){if(process.env.NODE_ENV==="production")return()=>i=>u=>i(u);const{isActionCreator:r=pB}=n;return()=>i=>u=>(r(u)&&console.warn(vB(u.type)),i(u))}function GO(n,r){let i=0;return{measureTime(u){const l=Date.now();try{return u()}finally{const d=Date.now();i+=d-l}},warnIfExceeded(){i>n&&console.warn(`${r} took ${i}ms, which is more than the warning threshold of ${n}ms.
242
242
  If your state or actions are very large, you may want to disable the middleware as it might cause too much of a slowdown in development mode. See https://redux-toolkit.js.org/api/getDefaultMiddleware for instructions.
243
- It is disabled in production builds, so you don't need to worry about that.`)}}}var $O=class om extends Array{constructor(...r){super(...r),Object.setPrototypeOf(this,om.prototype)}static get[Symbol.species](){return om}concat(...r){return super.concat.apply(this,r)}prepend(...r){return r.length===1&&Array.isArray(r[0])?new om(...r[0].concat(this)):new om(...r.concat(this))}};function kA(n){return Xu(n)?mo(n,()=>{}):n}function MA(n,r,i){if(n.has(r)){let l=n.get(r);return i.update&&(l=i.update(l,r,n),n.set(r,l)),l}if(!i.insert)throw new Error(process.env.NODE_ENV==="production"?Rn(10):"No insert provided for key not already in map");const u=i.insert(r,n);return n.set(r,u),u}function mB(n){return typeof n!="object"||n==null||Object.isFrozen(n)}function gB(n,r,i){const u=WO(n,r,i);return{detectMutations(){return XO(n,r,u,i)}}}function WO(n,r=[],i,u="",l=new Set){const d={value:i};if(!n(i)&&!l.has(i)){l.add(i),d.children={};for(const p in i){const y=u?u+"."+p:p;r.length&&r.indexOf(y)!==-1||(d.children[p]=WO(n,r,i[p],y))}}return d}function XO(n,r=[],i,u,l=!1,d=""){const p=i?i.value:void 0,y=p===u;if(l&&!y&&!Number.isNaN(u))return{wasMutated:!0,path:d};if(n(p)||n(u))return{wasMutated:!1};const g={};for(let E in i.children)g[E]=!0;for(let E in u)g[E]=!0;const b=r.length>0;for(let E in g){const R=d?d+"."+E:E;if(b&&r.some(N=>N instanceof RegExp?N.test(R):R===N))continue;const T=XO(n,r,i.children[E],u[E],y,R);if(T.wasMutated)return T}return{wasMutated:!1}}function yB(n={}){if(process.env.NODE_ENV==="production")return()=>r=>i=>r(i);{let r=function(y,g,b,E){return JSON.stringify(y,i(g,E),b)},i=function(y,g){let b=[],E=[];return g||(g=function(R,T){return b[0]===T?"[Circular ~]":"[Circular ~."+E.slice(0,b.indexOf(T)).join(".")+"]"}),function(R,T){if(b.length>0){var A=b.indexOf(this);~A?b.splice(A+1):b.push(this),~A?E.splice(A,1/0,R):E.push(R),~b.indexOf(T)&&(T=g.call(this,R,T))}else b.push(T);return y==null?T:y.call(this,R,T)}},{isImmutable:u=mB,ignoredPaths:l,warnAfter:d=32}=n;const p=gB.bind(null,u,l);return({getState:y})=>{let g=y(),b=p(g),E;return R=>T=>{const A=GO(d,"ImmutableStateInvariantMiddleware");A.measureTime(()=>{if(g=y(),E=b.detectMutations(),b=p(g),E.wasMutated)throw new Error(process.env.NODE_ENV==="production"?Rn(19):`A state mutation was detected between dispatches, in the path '${E.path||""}'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)});const N=R(T);return A.measureTime(()=>{if(g=y(),E=b.detectMutations(),b=p(g),E.wasMutated)throw new Error(process.env.NODE_ENV==="production"?Rn(20):`A state mutation was detected inside a dispatch, in the path: ${E.path||""}. Take a look at the reducer(s) handling the action ${r(T)}. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)}),A.warnIfExceeded(),N}}}}function YO(n){const r=typeof n;return n==null||r==="string"||r==="boolean"||r==="number"||Array.isArray(n)||Em(n)}function ZS(n,r="",i=YO,u,l=[],d){let p;if(!i(n))return{keyPath:r||"<root>",value:n};if(typeof n!="object"||n===null||d!=null&&d.has(n))return!1;const y=u!=null?u(n):Object.entries(n),g=l.length>0;for(const[b,E]of y){const R=r?r+"."+b:b;if(!(g&&l.some(A=>A instanceof RegExp?A.test(R):R===A))){if(!i(E))return{keyPath:R,value:E};if(typeof E=="object"&&(p=ZS(E,R,i,u,l,d),p))return p}}return d&&ZO(n)&&d.add(n),!1}function ZO(n){if(!Object.isFrozen(n))return!1;for(const r of Object.values(n))if(!(typeof r!="object"||r===null)&&!ZO(r))return!1;return!0}function bB(n={}){if(process.env.NODE_ENV==="production")return()=>r=>i=>r(i);{const{isSerializable:r=YO,getEntries:i,ignoredActions:u=[],ignoredActionPaths:l=["meta.arg","meta.baseQueryMeta"],ignoredPaths:d=[],warnAfter:p=32,ignoreState:y=!1,ignoreActions:g=!1,disableCache:b=!1}=n,E=!b&&WeakSet?new WeakSet:void 0;return R=>T=>A=>{if(!jO(A))return T(A);const N=T(A),j=GO(p,"SerializableStateInvariantMiddleware");return!g&&!(u.length&&u.indexOf(A.type)!==-1)&&j.measureTime(()=>{const O=ZS(A,"",r,i,l,E);if(O){const{keyPath:L,value:B}=O;console.error(`A non-serializable value was detected in an action, in the path: \`${L}\`. Value:`,B,`
243
+ It is disabled in production builds, so you don't need to worry about that.`)}}}var $O=class om extends Array{constructor(...r){super(...r),Object.setPrototypeOf(this,om.prototype)}static get[Symbol.species](){return om}concat(...r){return super.concat.apply(this,r)}prepend(...r){return r.length===1&&Array.isArray(r[0])?new om(...r[0].concat(this)):new om(...r.concat(this))}};function kA(n){return Xu(n)?mo(n,()=>{}):n}function MA(n,r,i){if(n.has(r)){let l=n.get(r);return i.update&&(l=i.update(l,r,n),n.set(r,l)),l}if(!i.insert)throw new Error(process.env.NODE_ENV==="production"?Rn(10):"No insert provided for key not already in map");const u=i.insert(r,n);return n.set(r,u),u}function mB(n){return typeof n!="object"||n==null||Object.isFrozen(n)}function gB(n,r,i){const u=WO(n,r,i);return{detectMutations(){return XO(n,r,u,i)}}}function WO(n,r=[],i,u="",l=new Set){const d={value:i};if(!n(i)&&!l.has(i)){l.add(i),d.children={};for(const p in i){const y=u?u+"."+p:p;r.length&&r.indexOf(y)!==-1||(d.children[p]=WO(n,r,i[p],y))}}return d}function XO(n,r=[],i,u,l=!1,d=""){const p=i?i.value:void 0,y=p===u;if(l&&!y&&!Number.isNaN(u))return{wasMutated:!0,path:d};if(n(p)||n(u))return{wasMutated:!1};const g={};for(let E in i.children)g[E]=!0;for(let E in u)g[E]=!0;const b=r.length>0;for(let E in g){const w=d?d+"."+E:E;if(b&&r.some(N=>N instanceof RegExp?N.test(w):w===N))continue;const T=XO(n,r,i.children[E],u[E],y,w);if(T.wasMutated)return T}return{wasMutated:!1}}function yB(n={}){if(process.env.NODE_ENV==="production")return()=>r=>i=>r(i);{let r=function(y,g,b,E){return JSON.stringify(y,i(g,E),b)},i=function(y,g){let b=[],E=[];return g||(g=function(w,T){return b[0]===T?"[Circular ~]":"[Circular ~."+E.slice(0,b.indexOf(T)).join(".")+"]"}),function(w,T){if(b.length>0){var A=b.indexOf(this);~A?b.splice(A+1):b.push(this),~A?E.splice(A,1/0,w):E.push(w),~b.indexOf(T)&&(T=g.call(this,w,T))}else b.push(T);return y==null?T:y.call(this,w,T)}},{isImmutable:u=mB,ignoredPaths:l,warnAfter:d=32}=n;const p=gB.bind(null,u,l);return({getState:y})=>{let g=y(),b=p(g),E;return w=>T=>{const A=GO(d,"ImmutableStateInvariantMiddleware");A.measureTime(()=>{if(g=y(),E=b.detectMutations(),b=p(g),E.wasMutated)throw new Error(process.env.NODE_ENV==="production"?Rn(19):`A state mutation was detected between dispatches, in the path '${E.path||""}'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)});const N=w(T);return A.measureTime(()=>{if(g=y(),E=b.detectMutations(),b=p(g),E.wasMutated)throw new Error(process.env.NODE_ENV==="production"?Rn(20):`A state mutation was detected inside a dispatch, in the path: ${E.path||""}. Take a look at the reducer(s) handling the action ${r(T)}. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)}),A.warnIfExceeded(),N}}}}function YO(n){const r=typeof n;return n==null||r==="string"||r==="boolean"||r==="number"||Array.isArray(n)||Em(n)}function ZS(n,r="",i=YO,u,l=[],d){let p;if(!i(n))return{keyPath:r||"<root>",value:n};if(typeof n!="object"||n===null||d!=null&&d.has(n))return!1;const y=u!=null?u(n):Object.entries(n),g=l.length>0;for(const[b,E]of y){const w=r?r+"."+b:b;if(!(g&&l.some(A=>A instanceof RegExp?A.test(w):w===A))){if(!i(E))return{keyPath:w,value:E};if(typeof E=="object"&&(p=ZS(E,w,i,u,l,d),p))return p}}return d&&ZO(n)&&d.add(n),!1}function ZO(n){if(!Object.isFrozen(n))return!1;for(const r of Object.values(n))if(!(typeof r!="object"||r===null)&&!ZO(r))return!1;return!0}function bB(n={}){if(process.env.NODE_ENV==="production")return()=>r=>i=>r(i);{const{isSerializable:r=YO,getEntries:i,ignoredActions:u=[],ignoredActionPaths:l=["meta.arg","meta.baseQueryMeta"],ignoredPaths:d=[],warnAfter:p=32,ignoreState:y=!1,ignoreActions:g=!1,disableCache:b=!1}=n,E=!b&&WeakSet?new WeakSet:void 0;return w=>T=>A=>{if(!jO(A))return T(A);const N=T(A),j=GO(p,"SerializableStateInvariantMiddleware");return!g&&!(u.length&&u.indexOf(A.type)!==-1)&&j.measureTime(()=>{const O=ZS(A,"",r,i,l,E);if(O){const{keyPath:L,value:B}=O;console.error(`A non-serializable value was detected in an action, in the path: \`${L}\`. Value:`,B,`
244
244
  Take a look at the logic that dispatched this action: `,A,`
245
245
  (See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)`,`
246
- (To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`)}}),y||(j.measureTime(()=>{const O=R.getState(),L=ZS(O,"",r,i,d,E);if(L){const{keyPath:B,value:P}=L;console.error(`A non-serializable value was detected in the state, in the path: \`${B}\`. Value:`,P,`
246
+ (To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`)}}),y||(j.measureTime(()=>{const O=w.getState(),L=ZS(O,"",r,i,d,E);if(L){const{keyPath:B,value:P}=L;console.error(`A non-serializable value was detected in the state, in the path: \`${B}\`. Value:`,P,`
247
247
  Take a look at the reducer(s) handling this action type: ${A.type}.
248
- (See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}}),j.warnIfExceeded()),N}}}function yb(n){return typeof n=="boolean"}var CB=()=>function(r){const{thunk:i=!0,immutableCheck:u=!0,serializableCheck:l=!0,actionCreatorCheck:d=!0}=r??{};let p=new $O;if(i&&(yb(i)?p.push(lB):p.push(cB(i.extraArgument))),process.env.NODE_ENV!=="production"){if(u){let y={};yb(u)||(y=u),p.unshift(yB(y))}if(l){let y={};yb(l)||(y=l),p.push(bB(y))}if(d){let y={};yb(d)||(y=d),p.unshift(hB(y))}}return p},xB="RTK_autoBatch",JO=n=>r=>{setTimeout(r,n)},EB=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:JO(10),SB=(n={type:"raf"})=>r=>(...i)=>{const u=r(...i);let l=!0,d=!1,p=!1;const y=new Set,g=n.type==="tick"?queueMicrotask:n.type==="raf"?EB:n.type==="callback"?n.queueNotification:JO(n.timeout),b=()=>{p=!1,d&&(d=!1,y.forEach(E=>E()))};return Object.assign({},u,{subscribe(E){const R=()=>l&&E(),T=u.subscribe(R);return y.add(E),()=>{T(),y.delete(E)}},dispatch(E){var R;try{return l=!((R=E==null?void 0:E.meta)!=null&&R[xB]),d=!l,d&&(p||(p=!0,g(b))),u.dispatch(E)}finally{l=!0}}})},wB=n=>function(i){const{autoBatch:u=!0}=i??{};let l=new $O(n);return u&&l.push(SB(typeof u=="object"?u:void 0)),l},oc=process.env.NODE_ENV==="production";function x0(n){const r=CB(),{reducer:i=void 0,middleware:u,devTools:l=!0,preloadedState:d=void 0,enhancers:p=void 0}=n||{};let y;if(typeof i=="function")y=i;else if(Em(i))y=PV(i);else throw new Error(process.env.NODE_ENV==="production"?Rn(1):"`reducer` is a required argument, and must be a function or an object of functions that can be passed to combineReducers");if(!oc&&u&&typeof u!="function")throw new Error(process.env.NODE_ENV==="production"?Rn(2):"`middleware` field must be a callback");let g;if(typeof u=="function"){if(g=u(r),!oc&&!Array.isArray(g))throw new Error(process.env.NODE_ENV==="production"?Rn(3):"when using a middleware builder function, an array of middleware must be returned")}else g=r();if(!oc&&g.some(N=>typeof N!="function"))throw new Error(process.env.NODE_ENV==="production"?Rn(4):"each middleware provided to configureStore must be a function");let b=Xb;l&&(b=dB({trace:!oc,...typeof l=="object"&&l}));const E=VV(...g),R=wB(E);if(!oc&&p&&typeof p!="function")throw new Error(process.env.NODE_ENV==="production"?Rn(5):"`enhancers` field must be a callback");let T=typeof p=="function"?p(R):R();if(!oc&&!Array.isArray(T))throw new Error(process.env.NODE_ENV==="production"?Rn(6):"`enhancers` callback must return an array");if(!oc&&T.some(N=>typeof N!="function"))throw new Error(process.env.NODE_ENV==="production"?Rn(7):"each enhancer provided to configureStore must be a function");!oc&&g.length&&!T.includes(E)&&console.error("middlewares were provided, but middleware enhancer was not included in final enhancers - make sure to call `getDefaultEnhancers`");const A=b(...T);return DO(y,d,A)}function qO(n){const r={},i=[];let u;const l={addCase(d,p){if(process.env.NODE_ENV!=="production"){if(i.length>0)throw new Error(process.env.NODE_ENV==="production"?Rn(26):"`builder.addCase` should only be called before calling `builder.addMatcher`");if(u)throw new Error(process.env.NODE_ENV==="production"?Rn(27):"`builder.addCase` should only be called before calling `builder.addDefaultCase`")}const y=typeof d=="string"?d:d.type;if(!y)throw new Error(process.env.NODE_ENV==="production"?Rn(28):"`builder.addCase` cannot be called with an empty action type");if(y in r)throw new Error(process.env.NODE_ENV==="production"?Rn(29):`\`builder.addCase\` cannot be called with two reducers for the same action type '${y}'`);return r[y]=p,l},addMatcher(d,p){if(process.env.NODE_ENV!=="production"&&u)throw new Error(process.env.NODE_ENV==="production"?Rn(30):"`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return i.push({matcher:d,reducer:p}),l},addDefaultCase(d){if(process.env.NODE_ENV!=="production"&&u)throw new Error(process.env.NODE_ENV==="production"?Rn(31):"`builder.addDefaultCase` can only be called once");return u=d,l}};return n(l),[r,i,u]}function RB(n){return typeof n=="function"}function TB(n,r){if(process.env.NODE_ENV!=="production"&&typeof r=="object")throw new Error(process.env.NODE_ENV==="production"?Rn(8):"The object notation for `createReducer` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer");let[i,u,l]=qO(r),d;if(RB(n))d=()=>kA(n());else{const y=kA(n);d=()=>y}function p(y=d(),g){let b=[i[g.type],...u.filter(({matcher:E})=>E(g)).map(({reducer:E})=>E)];return b.filter(E=>!!E).length===0&&(b=[l]),b.reduce((E,R)=>{if(R)if(fc(E)){const A=R(E,g);return A===void 0?E:A}else{if(Xu(E))return mo(E,T=>R(T,g));{const T=R(E,g);if(T===void 0){if(E===null)return E;throw new Error(process.env.NODE_ENV==="production"?Rn(9):"A case reducer on a non-draftable value must not return undefined")}return T}}return E},y)}return p.getInitialState=d,p}var IB="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",QO=(n=21)=>{let r="",i=n;for(;i--;)r+=IB[Math.random()*64|0];return r},AB=(n,r)=>UO(n)?n.match(r):n(r);function NB(...n){return r=>n.some(i=>AB(i,r))}var OB=["name","message","stack","code"],pS=class{constructor(n,r){sS(this,"_type");this.payload=n,this.meta=r}},LA=class{constructor(n,r){sS(this,"_type");this.payload=n,this.meta=r}},_B=n=>{if(typeof n=="object"&&n!==null){const r={};for(const i of OB)typeof n[i]=="string"&&(r[i]=n[i]);return r}return{message:String(n)}},qu=(()=>{function n(r,i,u){const l=$u(r+"/fulfilled",(g,b,E,R)=>({payload:g,meta:{...R||{},arg:E,requestId:b,requestStatus:"fulfilled"}})),d=$u(r+"/pending",(g,b,E)=>({payload:void 0,meta:{...E||{},arg:b,requestId:g,requestStatus:"pending"}})),p=$u(r+"/rejected",(g,b,E,R,T)=>({payload:R,error:(u&&u.serializeError||_B)(g||"Rejected"),meta:{...T||{},arg:E,requestId:b,rejectedWithValue:!!R,requestStatus:"rejected",aborted:(g==null?void 0:g.name)==="AbortError",condition:(g==null?void 0:g.name)==="ConditionError"}}));function y(g){return(b,E,R)=>{const T=u!=null&&u.idGenerator?u.idGenerator(g):QO(),A=new AbortController;let N,j;function O(B){j=B,A.abort()}const L=async function(){var U,z;let B;try{let G=(U=u==null?void 0:u.condition)==null?void 0:U.call(u,g,{getState:E,extra:R});if(jB(G)&&(G=await G),G===!1||A.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const X=new Promise((te,Re)=>{N=()=>{Re({name:"AbortError",message:j||"Aborted"})},A.signal.addEventListener("abort",N)});b(d(T,g,(z=u==null?void 0:u.getPendingMeta)==null?void 0:z.call(u,{requestId:T,arg:g},{getState:E,extra:R}))),B=await Promise.race([X,Promise.resolve(i(g,{dispatch:b,getState:E,extra:R,requestId:T,signal:A.signal,abort:O,rejectWithValue:(te,Re)=>new pS(te,Re),fulfillWithValue:(te,Re)=>new LA(te,Re)})).then(te=>{if(te instanceof pS)throw te;return te instanceof LA?l(te.payload,T,g,te.meta):l(te,T,g)})])}catch(G){B=G instanceof pS?p(null,T,g,G.payload,G.meta):p(G,T,g)}finally{N&&A.signal.removeEventListener("abort",N)}return u&&!u.dispatchConditionRejection&&p.match(B)&&B.meta.condition||b(B),B}();return Object.assign(L,{abort:O,requestId:T,arg:g,unwrap(){return L.then(DB)}})}}return Object.assign(y,{pending:d,rejected:p,fulfilled:l,settled:NB(p,l),typePrefix:r})}return n.withTypes=()=>n,n})();function DB(n){if(n.meta&&n.meta.rejectedWithValue)throw n.payload;if(n.error)throw n.error;return n.payload}function jB(n){return n!==null&&typeof n=="object"&&typeof n.then=="function"}var kB=Symbol.for("rtk-slice-createasyncthunk");function MB(n,r){return`${n}/${r}`}function LB({creators:n}={}){var i;const r=(i=n==null?void 0:n.asyncThunk)==null?void 0:i[kB];return function(l){const{name:d,reducerPath:p=d}=l;if(!d)throw new Error(process.env.NODE_ENV==="production"?Rn(11):"`name` is a required option for createSlice");typeof process<"u"&&process.env.NODE_ENV==="development"&&l.initialState===void 0&&console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`");const y=(typeof l.reducers=="function"?l.reducers(PB()):l.reducers)||{},g=Object.keys(y),b={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},E={addCase(P,U){const z=typeof P=="string"?P:P.type;if(!z)throw new Error(process.env.NODE_ENV==="production"?Rn(12):"`context.addCase` cannot be called with an empty action type");if(z in b.sliceCaseReducersByType)throw new Error(process.env.NODE_ENV==="production"?Rn(13):"`context.addCase` cannot be called with two reducers for the same action type: "+z);return b.sliceCaseReducersByType[z]=U,E},addMatcher(P,U){return b.sliceMatchers.push({matcher:P,reducer:U}),E},exposeAction(P,U){return b.actionCreators[P]=U,E},exposeCaseReducer(P,U){return b.sliceCaseReducersByName[P]=U,E}};g.forEach(P=>{const U=y[P],z={reducerName:P,type:MB(d,P),createNotation:typeof l.reducers=="function"};BB(U)?HB(z,U,E,r):VB(z,U,E)});function R(){if(process.env.NODE_ENV!=="production"&&typeof l.extraReducers=="object")throw new Error(process.env.NODE_ENV==="production"?Rn(14):"The object notation for `createSlice.extraReducers` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice");const[P={},U=[],z=void 0]=typeof l.extraReducers=="function"?qO(l.extraReducers):[l.extraReducers],G={...P,...b.sliceCaseReducersByType};return TB(l.initialState,X=>{for(let te in G)X.addCase(te,G[te]);for(let te of b.sliceMatchers)X.addMatcher(te.matcher,te.reducer);for(let te of U)X.addMatcher(te.matcher,te.reducer);z&&X.addDefaultCase(z)})}const T=P=>P,A=new Map;let N;function j(P,U){return N||(N=R()),N(P,U)}function O(){return N||(N=R()),N.getInitialState()}function L(P,U=!1){function z(X){let te=X[P];if(typeof te>"u"){if(U)te=O();else if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV==="production"?Rn(15):"selectSlice returned undefined for an uninjected slice reducer")}return te}function G(X=T){const te=MA(A,U,{insert:()=>new WeakMap});return MA(te,X,{insert:()=>{const Re={};for(const[ue,pe]of Object.entries(l.selectors??{}))Re[ue]=FB(pe,X,O,U);return Re}})}return{reducerPath:P,getSelectors:G,get selectors(){return G(z)},selectSlice:z}}const B={name:d,reducer:j,actions:b.actionCreators,caseReducers:b.sliceCaseReducersByName,getInitialState:O,...L(p),injectInto(P,{reducerPath:U,...z}={}){const G=U??p;return P.inject({reducerPath:G,reducer:j},z),{...B,...L(G,!0)}}};return B}}function FB(n,r,i,u){function l(d,...p){let y=r(d);if(typeof y>"u"){if(u)y=i();else if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV==="production"?Rn(16):"selectState returned undefined for an uninjected slice reducer")}return n(y,...p)}return l.unwrapped=n,l}var D1=LB();function PB(){function n(r,i){return{_reducerDefinitionType:"asyncThunk",payloadCreator:r,...i}}return n.withTypes=()=>n,{reducer(r){return Object.assign({[r.name](...i){return r(...i)}}[r.name],{_reducerDefinitionType:"reducer"})},preparedReducer(r,i){return{_reducerDefinitionType:"reducerWithPrepare",prepare:r,reducer:i}},asyncThunk:n}}function VB({type:n,reducerName:r,createNotation:i},u,l){let d,p;if("reducer"in u){if(i&&!zB(u))throw new Error(process.env.NODE_ENV==="production"?Rn(17):"Please use the `create.preparedReducer` notation for prepared action creators with the `create` notation.");d=u.reducer,p=u.prepare}else d=u;l.addCase(n,d).exposeCaseReducer(r,d).exposeAction(r,p?$u(n,p):$u(n))}function BB(n){return n._reducerDefinitionType==="asyncThunk"}function zB(n){return n._reducerDefinitionType==="reducerWithPrepare"}function HB({type:n,reducerName:r},i,u,l){if(!l)throw new Error(process.env.NODE_ENV==="production"?Rn(18):"Cannot use `create.asyncThunk` in the built-in `createSlice`. Use `buildCreateSlice({ creators: { asyncThunk: asyncThunkCreator } })` to create a customised version of `createSlice`.");const{payloadCreator:d,fulfilled:p,pending:y,rejected:g,settled:b,options:E}=i,R=l(n,d,E);u.exposeAction(r,R),p&&u.addCase(R.fulfilled,p),y&&u.addCase(R.pending,y),g&&u.addCase(R.rejected,g),b&&u.addMatcher(R.settled,b),u.exposeCaseReducer(r,{fulfilled:p||bb,pending:y||bb,rejected:g||bb,settled:b||bb})}function bb(){}var UB=(n,r)=>{if(typeof n!="function")throw new Error(process.env.NODE_ENV==="production"?Rn(32):`${r} is not a function`)},j1="listenerMiddleware",GB=n=>{let{type:r,actionCreator:i,matcher:u,predicate:l,effect:d}=n;if(r)l=$u(r).match;else if(i)r=i.type,l=i.match;else if(u)l=u;else if(!l)throw new Error(process.env.NODE_ENV==="production"?Rn(21):"Creating or removing a listener requires one of the known fields for matching an action");return UB(d,"options.listener"),{predicate:l,type:r,effect:d}},$B=Object.assign(n=>{const{type:r,predicate:i,effect:u}=GB(n);return{id:QO(),effect:u,type:r,predicate:i,pending:new Set,unsubscribe:()=>{throw new Error(process.env.NODE_ENV==="production"?Rn(22):"Unsubscribe not initialized")}}},{withTypes:()=>$B}),WB=Object.assign($u(`${j1}/add`),{withTypes:()=>WB});$u(`${j1}/removeAll`);var XB=Object.assign($u(`${j1}/remove`),{withTypes:()=>XB});function Rn(n){return`Minified Redux Toolkit error #${n}; visit https://redux-toolkit.js.org/Errors?code=${n} for the full message or use the non-minified dev environment for full errors. `}var M=Of();const Dr=Lp(M),Jb=xV({__proto__:null,default:Dr},[M]);var JS={exports:{}},vS={};/**
248
+ (See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}}),j.warnIfExceeded()),N}}}function yb(n){return typeof n=="boolean"}var CB=()=>function(r){const{thunk:i=!0,immutableCheck:u=!0,serializableCheck:l=!0,actionCreatorCheck:d=!0}=r??{};let p=new $O;if(i&&(yb(i)?p.push(lB):p.push(cB(i.extraArgument))),process.env.NODE_ENV!=="production"){if(u){let y={};yb(u)||(y=u),p.unshift(yB(y))}if(l){let y={};yb(l)||(y=l),p.push(bB(y))}if(d){let y={};yb(d)||(y=d),p.unshift(hB(y))}}return p},xB="RTK_autoBatch",JO=n=>r=>{setTimeout(r,n)},EB=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:JO(10),SB=(n={type:"raf"})=>r=>(...i)=>{const u=r(...i);let l=!0,d=!1,p=!1;const y=new Set,g=n.type==="tick"?queueMicrotask:n.type==="raf"?EB:n.type==="callback"?n.queueNotification:JO(n.timeout),b=()=>{p=!1,d&&(d=!1,y.forEach(E=>E()))};return Object.assign({},u,{subscribe(E){const w=()=>l&&E(),T=u.subscribe(w);return y.add(E),()=>{T(),y.delete(E)}},dispatch(E){var w;try{return l=!((w=E==null?void 0:E.meta)!=null&&w[xB]),d=!l,d&&(p||(p=!0,g(b))),u.dispatch(E)}finally{l=!0}}})},wB=n=>function(i){const{autoBatch:u=!0}=i??{};let l=new $O(n);return u&&l.push(SB(typeof u=="object"?u:void 0)),l},oc=process.env.NODE_ENV==="production";function x0(n){const r=CB(),{reducer:i=void 0,middleware:u,devTools:l=!0,preloadedState:d=void 0,enhancers:p=void 0}=n||{};let y;if(typeof i=="function")y=i;else if(Em(i))y=PV(i);else throw new Error(process.env.NODE_ENV==="production"?Rn(1):"`reducer` is a required argument, and must be a function or an object of functions that can be passed to combineReducers");if(!oc&&u&&typeof u!="function")throw new Error(process.env.NODE_ENV==="production"?Rn(2):"`middleware` field must be a callback");let g;if(typeof u=="function"){if(g=u(r),!oc&&!Array.isArray(g))throw new Error(process.env.NODE_ENV==="production"?Rn(3):"when using a middleware builder function, an array of middleware must be returned")}else g=r();if(!oc&&g.some(N=>typeof N!="function"))throw new Error(process.env.NODE_ENV==="production"?Rn(4):"each middleware provided to configureStore must be a function");let b=Xb;l&&(b=dB({trace:!oc,...typeof l=="object"&&l}));const E=VV(...g),w=wB(E);if(!oc&&p&&typeof p!="function")throw new Error(process.env.NODE_ENV==="production"?Rn(5):"`enhancers` field must be a callback");let T=typeof p=="function"?p(w):w();if(!oc&&!Array.isArray(T))throw new Error(process.env.NODE_ENV==="production"?Rn(6):"`enhancers` callback must return an array");if(!oc&&T.some(N=>typeof N!="function"))throw new Error(process.env.NODE_ENV==="production"?Rn(7):"each enhancer provided to configureStore must be a function");!oc&&g.length&&!T.includes(E)&&console.error("middlewares were provided, but middleware enhancer was not included in final enhancers - make sure to call `getDefaultEnhancers`");const A=b(...T);return DO(y,d,A)}function qO(n){const r={},i=[];let u;const l={addCase(d,p){if(process.env.NODE_ENV!=="production"){if(i.length>0)throw new Error(process.env.NODE_ENV==="production"?Rn(26):"`builder.addCase` should only be called before calling `builder.addMatcher`");if(u)throw new Error(process.env.NODE_ENV==="production"?Rn(27):"`builder.addCase` should only be called before calling `builder.addDefaultCase`")}const y=typeof d=="string"?d:d.type;if(!y)throw new Error(process.env.NODE_ENV==="production"?Rn(28):"`builder.addCase` cannot be called with an empty action type");if(y in r)throw new Error(process.env.NODE_ENV==="production"?Rn(29):`\`builder.addCase\` cannot be called with two reducers for the same action type '${y}'`);return r[y]=p,l},addMatcher(d,p){if(process.env.NODE_ENV!=="production"&&u)throw new Error(process.env.NODE_ENV==="production"?Rn(30):"`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return i.push({matcher:d,reducer:p}),l},addDefaultCase(d){if(process.env.NODE_ENV!=="production"&&u)throw new Error(process.env.NODE_ENV==="production"?Rn(31):"`builder.addDefaultCase` can only be called once");return u=d,l}};return n(l),[r,i,u]}function RB(n){return typeof n=="function"}function TB(n,r){if(process.env.NODE_ENV!=="production"&&typeof r=="object")throw new Error(process.env.NODE_ENV==="production"?Rn(8):"The object notation for `createReducer` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer");let[i,u,l]=qO(r),d;if(RB(n))d=()=>kA(n());else{const y=kA(n);d=()=>y}function p(y=d(),g){let b=[i[g.type],...u.filter(({matcher:E})=>E(g)).map(({reducer:E})=>E)];return b.filter(E=>!!E).length===0&&(b=[l]),b.reduce((E,w)=>{if(w)if(fc(E)){const A=w(E,g);return A===void 0?E:A}else{if(Xu(E))return mo(E,T=>w(T,g));{const T=w(E,g);if(T===void 0){if(E===null)return E;throw new Error(process.env.NODE_ENV==="production"?Rn(9):"A case reducer on a non-draftable value must not return undefined")}return T}}return E},y)}return p.getInitialState=d,p}var IB="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",QO=(n=21)=>{let r="",i=n;for(;i--;)r+=IB[Math.random()*64|0];return r},AB=(n,r)=>UO(n)?n.match(r):n(r);function NB(...n){return r=>n.some(i=>AB(i,r))}var OB=["name","message","stack","code"],pS=class{constructor(n,r){sS(this,"_type");this.payload=n,this.meta=r}},LA=class{constructor(n,r){sS(this,"_type");this.payload=n,this.meta=r}},_B=n=>{if(typeof n=="object"&&n!==null){const r={};for(const i of OB)typeof n[i]=="string"&&(r[i]=n[i]);return r}return{message:String(n)}},qu=(()=>{function n(r,i,u){const l=$u(r+"/fulfilled",(g,b,E,w)=>({payload:g,meta:{...w||{},arg:E,requestId:b,requestStatus:"fulfilled"}})),d=$u(r+"/pending",(g,b,E)=>({payload:void 0,meta:{...E||{},arg:b,requestId:g,requestStatus:"pending"}})),p=$u(r+"/rejected",(g,b,E,w,T)=>({payload:w,error:(u&&u.serializeError||_B)(g||"Rejected"),meta:{...T||{},arg:E,requestId:b,rejectedWithValue:!!w,requestStatus:"rejected",aborted:(g==null?void 0:g.name)==="AbortError",condition:(g==null?void 0:g.name)==="ConditionError"}}));function y(g){return(b,E,w)=>{const T=u!=null&&u.idGenerator?u.idGenerator(g):QO(),A=new AbortController;let N,j;function O(B){j=B,A.abort()}const L=async function(){var U,z;let B;try{let G=(U=u==null?void 0:u.condition)==null?void 0:U.call(u,g,{getState:E,extra:w});if(jB(G)&&(G=await G),G===!1||A.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const X=new Promise((te,Re)=>{N=()=>{Re({name:"AbortError",message:j||"Aborted"})},A.signal.addEventListener("abort",N)});b(d(T,g,(z=u==null?void 0:u.getPendingMeta)==null?void 0:z.call(u,{requestId:T,arg:g},{getState:E,extra:w}))),B=await Promise.race([X,Promise.resolve(i(g,{dispatch:b,getState:E,extra:w,requestId:T,signal:A.signal,abort:O,rejectWithValue:(te,Re)=>new pS(te,Re),fulfillWithValue:(te,Re)=>new LA(te,Re)})).then(te=>{if(te instanceof pS)throw te;return te instanceof LA?l(te.payload,T,g,te.meta):l(te,T,g)})])}catch(G){B=G instanceof pS?p(null,T,g,G.payload,G.meta):p(G,T,g)}finally{N&&A.signal.removeEventListener("abort",N)}return u&&!u.dispatchConditionRejection&&p.match(B)&&B.meta.condition||b(B),B}();return Object.assign(L,{abort:O,requestId:T,arg:g,unwrap(){return L.then(DB)}})}}return Object.assign(y,{pending:d,rejected:p,fulfilled:l,settled:NB(p,l),typePrefix:r})}return n.withTypes=()=>n,n})();function DB(n){if(n.meta&&n.meta.rejectedWithValue)throw n.payload;if(n.error)throw n.error;return n.payload}function jB(n){return n!==null&&typeof n=="object"&&typeof n.then=="function"}var kB=Symbol.for("rtk-slice-createasyncthunk");function MB(n,r){return`${n}/${r}`}function LB({creators:n}={}){var i;const r=(i=n==null?void 0:n.asyncThunk)==null?void 0:i[kB];return function(l){const{name:d,reducerPath:p=d}=l;if(!d)throw new Error(process.env.NODE_ENV==="production"?Rn(11):"`name` is a required option for createSlice");typeof process<"u"&&process.env.NODE_ENV==="development"&&l.initialState===void 0&&console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`");const y=(typeof l.reducers=="function"?l.reducers(PB()):l.reducers)||{},g=Object.keys(y),b={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},E={addCase(P,U){const z=typeof P=="string"?P:P.type;if(!z)throw new Error(process.env.NODE_ENV==="production"?Rn(12):"`context.addCase` cannot be called with an empty action type");if(z in b.sliceCaseReducersByType)throw new Error(process.env.NODE_ENV==="production"?Rn(13):"`context.addCase` cannot be called with two reducers for the same action type: "+z);return b.sliceCaseReducersByType[z]=U,E},addMatcher(P,U){return b.sliceMatchers.push({matcher:P,reducer:U}),E},exposeAction(P,U){return b.actionCreators[P]=U,E},exposeCaseReducer(P,U){return b.sliceCaseReducersByName[P]=U,E}};g.forEach(P=>{const U=y[P],z={reducerName:P,type:MB(d,P),createNotation:typeof l.reducers=="function"};BB(U)?HB(z,U,E,r):VB(z,U,E)});function w(){if(process.env.NODE_ENV!=="production"&&typeof l.extraReducers=="object")throw new Error(process.env.NODE_ENV==="production"?Rn(14):"The object notation for `createSlice.extraReducers` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice");const[P={},U=[],z=void 0]=typeof l.extraReducers=="function"?qO(l.extraReducers):[l.extraReducers],G={...P,...b.sliceCaseReducersByType};return TB(l.initialState,X=>{for(let te in G)X.addCase(te,G[te]);for(let te of b.sliceMatchers)X.addMatcher(te.matcher,te.reducer);for(let te of U)X.addMatcher(te.matcher,te.reducer);z&&X.addDefaultCase(z)})}const T=P=>P,A=new Map;let N;function j(P,U){return N||(N=w()),N(P,U)}function O(){return N||(N=w()),N.getInitialState()}function L(P,U=!1){function z(X){let te=X[P];if(typeof te>"u"){if(U)te=O();else if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV==="production"?Rn(15):"selectSlice returned undefined for an uninjected slice reducer")}return te}function G(X=T){const te=MA(A,U,{insert:()=>new WeakMap});return MA(te,X,{insert:()=>{const Re={};for(const[ue,pe]of Object.entries(l.selectors??{}))Re[ue]=FB(pe,X,O,U);return Re}})}return{reducerPath:P,getSelectors:G,get selectors(){return G(z)},selectSlice:z}}const B={name:d,reducer:j,actions:b.actionCreators,caseReducers:b.sliceCaseReducersByName,getInitialState:O,...L(p),injectInto(P,{reducerPath:U,...z}={}){const G=U??p;return P.inject({reducerPath:G,reducer:j},z),{...B,...L(G,!0)}}};return B}}function FB(n,r,i,u){function l(d,...p){let y=r(d);if(typeof y>"u"){if(u)y=i();else if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV==="production"?Rn(16):"selectState returned undefined for an uninjected slice reducer")}return n(y,...p)}return l.unwrapped=n,l}var D1=LB();function PB(){function n(r,i){return{_reducerDefinitionType:"asyncThunk",payloadCreator:r,...i}}return n.withTypes=()=>n,{reducer(r){return Object.assign({[r.name](...i){return r(...i)}}[r.name],{_reducerDefinitionType:"reducer"})},preparedReducer(r,i){return{_reducerDefinitionType:"reducerWithPrepare",prepare:r,reducer:i}},asyncThunk:n}}function VB({type:n,reducerName:r,createNotation:i},u,l){let d,p;if("reducer"in u){if(i&&!zB(u))throw new Error(process.env.NODE_ENV==="production"?Rn(17):"Please use the `create.preparedReducer` notation for prepared action creators with the `create` notation.");d=u.reducer,p=u.prepare}else d=u;l.addCase(n,d).exposeCaseReducer(r,d).exposeAction(r,p?$u(n,p):$u(n))}function BB(n){return n._reducerDefinitionType==="asyncThunk"}function zB(n){return n._reducerDefinitionType==="reducerWithPrepare"}function HB({type:n,reducerName:r},i,u,l){if(!l)throw new Error(process.env.NODE_ENV==="production"?Rn(18):"Cannot use `create.asyncThunk` in the built-in `createSlice`. Use `buildCreateSlice({ creators: { asyncThunk: asyncThunkCreator } })` to create a customised version of `createSlice`.");const{payloadCreator:d,fulfilled:p,pending:y,rejected:g,settled:b,options:E}=i,w=l(n,d,E);u.exposeAction(r,w),p&&u.addCase(w.fulfilled,p),y&&u.addCase(w.pending,y),g&&u.addCase(w.rejected,g),b&&u.addMatcher(w.settled,b),u.exposeCaseReducer(r,{fulfilled:p||bb,pending:y||bb,rejected:g||bb,settled:b||bb})}function bb(){}var UB=(n,r)=>{if(typeof n!="function")throw new Error(process.env.NODE_ENV==="production"?Rn(32):`${r} is not a function`)},j1="listenerMiddleware",GB=n=>{let{type:r,actionCreator:i,matcher:u,predicate:l,effect:d}=n;if(r)l=$u(r).match;else if(i)r=i.type,l=i.match;else if(u)l=u;else if(!l)throw new Error(process.env.NODE_ENV==="production"?Rn(21):"Creating or removing a listener requires one of the known fields for matching an action");return UB(d,"options.listener"),{predicate:l,type:r,effect:d}},$B=Object.assign(n=>{const{type:r,predicate:i,effect:u}=GB(n);return{id:QO(),effect:u,type:r,predicate:i,pending:new Set,unsubscribe:()=>{throw new Error(process.env.NODE_ENV==="production"?Rn(22):"Unsubscribe not initialized")}}},{withTypes:()=>$B}),WB=Object.assign($u(`${j1}/add`),{withTypes:()=>WB});$u(`${j1}/removeAll`);var XB=Object.assign($u(`${j1}/remove`),{withTypes:()=>XB});function Rn(n){return`Minified Redux Toolkit error #${n}; visit https://redux-toolkit.js.org/Errors?code=${n} for the full message or use the non-minified dev environment for full errors. `}var M=Of();const Dr=Lp(M),Jb=xV({__proto__:null,default:Dr},[M]);var JS={exports:{}},vS={};/**
249
249
  * @license React
250
250
  * use-sync-external-store-with-selector.production.min.js
251
251
  *
@@ -253,7 +253,7 @@ Take a look at the reducer(s) handling this action type: ${A.type}.
253
253
  *
254
254
  * This source code is licensed under the MIT license found in the
255
255
  * LICENSE file in the root directory of this source tree.
256
- */var FA;function YB(){if(FA)return vS;FA=1;var n=Of();function r(g,b){return g===b&&(g!==0||1/g===1/b)||g!==g&&b!==b}var i=typeof Object.is=="function"?Object.is:r,u=n.useSyncExternalStore,l=n.useRef,d=n.useEffect,p=n.useMemo,y=n.useDebugValue;return vS.useSyncExternalStoreWithSelector=function(g,b,E,R,T){var A=l(null);if(A.current===null){var N={hasValue:!1,value:null};A.current=N}else N=A.current;A=p(function(){function O(z){if(!L){if(L=!0,B=z,z=R(z),T!==void 0&&N.hasValue){var G=N.value;if(T(G,z))return P=G}return P=z}if(G=P,i(B,z))return G;var X=R(z);return T!==void 0&&T(G,X)?G:(B=z,P=X)}var L=!1,B,P,U=E===void 0?null:E;return[function(){return O(b())},U===null?void 0:function(){return O(U())}]},[b,E,R,T]);var j=u(g,A[0],A[1]);return d(function(){N.hasValue=!0,N.value=j},[j]),y(j),j},vS}var hS={};/**
256
+ */var FA;function YB(){if(FA)return vS;FA=1;var n=Of();function r(g,b){return g===b&&(g!==0||1/g===1/b)||g!==g&&b!==b}var i=typeof Object.is=="function"?Object.is:r,u=n.useSyncExternalStore,l=n.useRef,d=n.useEffect,p=n.useMemo,y=n.useDebugValue;return vS.useSyncExternalStoreWithSelector=function(g,b,E,w,T){var A=l(null);if(A.current===null){var N={hasValue:!1,value:null};A.current=N}else N=A.current;A=p(function(){function O(z){if(!L){if(L=!0,B=z,z=w(z),T!==void 0&&N.hasValue){var G=N.value;if(T(G,z))return P=G}return P=z}if(G=P,i(B,z))return G;var X=w(z);return T!==void 0&&T(G,X)?G:(B=z,P=X)}var L=!1,B,P,U=E===void 0?null:E;return[function(){return O(b())},U===null?void 0:function(){return O(U())}]},[b,E,w,T]);var j=u(g,A[0],A[1]);return d(function(){N.hasValue=!0,N.value=j},[j]),y(j),j},vS}var hS={};/**
257
257
  * @license React
258
258
  * use-sync-external-store-with-selector.development.js
259
259
  *
@@ -261,49 +261,49 @@ Take a look at the reducer(s) handling this action type: ${A.type}.
261
261
  *
262
262
  * This source code is licensed under the MIT license found in the
263
263
  * LICENSE file in the root directory of this source tree.
264
- */var PA;function ZB(){return PA||(PA=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n=Of();function r(b,E){return b===E&&(b!==0||1/b===1/E)||b!==b&&E!==E}var i=typeof Object.is=="function"?Object.is:r,u=n.useSyncExternalStore,l=n.useRef,d=n.useEffect,p=n.useMemo,y=n.useDebugValue;function g(b,E,R,T,A){var N=l(null),j;N.current===null?(j={hasValue:!1,value:null},N.current=j):j=N.current;var O=p(function(){var U=!1,z,G,X=function(pe){if(!U){U=!0,z=pe;var ye=T(pe);if(A!==void 0&&j.hasValue){var me=j.value;if(A(me,ye))return G=me,me}return G=ye,ye}var Ae=z,_e=G;if(i(Ae,pe))return _e;var Oe=T(pe);return A!==void 0&&A(_e,Oe)?_e:(z=pe,G=Oe,Oe)},te=R===void 0?null:R,Re=function(){return X(E())},ue=te===null?void 0:function(){return X(te())};return[Re,ue]},[E,R,T,A]),L=O[0],B=O[1],P=u(b,L,B);return d(function(){j.hasValue=!0,j.value=P},[P]),y(P),P}hS.useSyncExternalStoreWithSelector=g,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),hS}process.env.NODE_ENV==="production"?JS.exports=YB():JS.exports=ZB();var JB=JS.exports,Qt="default"in Jb?Dr:Jb,VA=Symbol.for("react-redux-context"),BA=typeof globalThis<"u"?globalThis:{};function qB(){if(!Qt.createContext)return{};const n=BA[VA]??(BA[VA]=new Map);let r=n.get(Qt.createContext);return r||(r=Qt.createContext(null),process.env.NODE_ENV!=="production"&&(r.displayName="ReactRedux"),n.set(Qt.createContext,r)),r}var Yu=qB(),KO=()=>{throw new Error("uSES not initialized!")};function k1(n=Yu){return function(){const i=Qt.useContext(n);if(process.env.NODE_ENV!=="production"&&!i)throw new Error("could not find react-redux context value; please ensure the component is wrapped in a <Provider>");return i}}var e_=k1(),t_=KO,QB=n=>{t_=n},KB=(n,r)=>n===r;function e4(n=Yu){const r=n===Yu?e_:k1(n),i=(u,l={})=>{const{equalityFn:d=KB,devModeChecks:p={}}=typeof l=="function"?{equalityFn:l}:l;if(process.env.NODE_ENV!=="production"){if(!u)throw new Error("You must pass a selector to useSelector");if(typeof u!="function")throw new Error("You must pass a function as a selector to useSelector");if(typeof d!="function")throw new Error("You must pass a function as an equality function to useSelector")}const{store:y,subscription:g,getServerState:b,stabilityCheck:E,identityFunctionCheck:R}=r(),T=Qt.useRef(!0),A=Qt.useCallback({[u.name](j){const O=u(j);if(process.env.NODE_ENV!=="production"){const{identityFunctionCheck:L,stabilityCheck:B}={stabilityCheck:E,identityFunctionCheck:R,...p};if(B==="always"||B==="once"&&T.current){const P=u(j);if(!d(O,P)){let U;try{throw new Error}catch(z){({stack:U}=z)}console.warn("Selector "+(u.name||"unknown")+` returned a different result when called with the same parameters. This can lead to unnecessary rerenders.
264
+ */var PA;function ZB(){return PA||(PA=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n=Of();function r(b,E){return b===E&&(b!==0||1/b===1/E)||b!==b&&E!==E}var i=typeof Object.is=="function"?Object.is:r,u=n.useSyncExternalStore,l=n.useRef,d=n.useEffect,p=n.useMemo,y=n.useDebugValue;function g(b,E,w,T,A){var N=l(null),j;N.current===null?(j={hasValue:!1,value:null},N.current=j):j=N.current;var O=p(function(){var U=!1,z,G,X=function(pe){if(!U){U=!0,z=pe;var ye=T(pe);if(A!==void 0&&j.hasValue){var me=j.value;if(A(me,ye))return G=me,me}return G=ye,ye}var Ae=z,_e=G;if(i(Ae,pe))return _e;var Oe=T(pe);return A!==void 0&&A(_e,Oe)?_e:(z=pe,G=Oe,Oe)},te=w===void 0?null:w,Re=function(){return X(E())},ue=te===null?void 0:function(){return X(te())};return[Re,ue]},[E,w,T,A]),L=O[0],B=O[1],P=u(b,L,B);return d(function(){j.hasValue=!0,j.value=P},[P]),y(P),P}hS.useSyncExternalStoreWithSelector=g,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),hS}process.env.NODE_ENV==="production"?JS.exports=YB():JS.exports=ZB();var JB=JS.exports,Qt="default"in Jb?Dr:Jb,VA=Symbol.for("react-redux-context"),BA=typeof globalThis<"u"?globalThis:{};function qB(){if(!Qt.createContext)return{};const n=BA[VA]??(BA[VA]=new Map);let r=n.get(Qt.createContext);return r||(r=Qt.createContext(null),process.env.NODE_ENV!=="production"&&(r.displayName="ReactRedux"),n.set(Qt.createContext,r)),r}var Yu=qB(),KO=()=>{throw new Error("uSES not initialized!")};function k1(n=Yu){return function(){const i=Qt.useContext(n);if(process.env.NODE_ENV!=="production"&&!i)throw new Error("could not find react-redux context value; please ensure the component is wrapped in a <Provider>");return i}}var e_=k1(),t_=KO,QB=n=>{t_=n},KB=(n,r)=>n===r;function e4(n=Yu){const r=n===Yu?e_:k1(n),i=(u,l={})=>{const{equalityFn:d=KB,devModeChecks:p={}}=typeof l=="function"?{equalityFn:l}:l;if(process.env.NODE_ENV!=="production"){if(!u)throw new Error("You must pass a selector to useSelector");if(typeof u!="function")throw new Error("You must pass a function as a selector to useSelector");if(typeof d!="function")throw new Error("You must pass a function as an equality function to useSelector")}const{store:y,subscription:g,getServerState:b,stabilityCheck:E,identityFunctionCheck:w}=r(),T=Qt.useRef(!0),A=Qt.useCallback({[u.name](j){const O=u(j);if(process.env.NODE_ENV!=="production"){const{identityFunctionCheck:L,stabilityCheck:B}={stabilityCheck:E,identityFunctionCheck:w,...p};if(B==="always"||B==="once"&&T.current){const P=u(j);if(!d(O,P)){let U;try{throw new Error}catch(z){({stack:U}=z)}console.warn("Selector "+(u.name||"unknown")+` returned a different result when called with the same parameters. This can lead to unnecessary rerenders.
265
265
  Selectors that return a new reference (such as an object or an array) should be memoized: https://redux.js.org/usage/deriving-data-selectors#optimizing-selectors-with-memoization`,{state:j,selected:O,selected2:P,stack:U})}}if((L==="always"||L==="once"&&T.current)&&O===j){let P;try{throw new Error}catch(U){({stack:P}=U)}console.warn("Selector "+(u.name||"unknown")+` returned the root state when called. This can lead to unnecessary rerenders.
266
- Selectors that return the entire state are almost certainly a mistake, as they will cause a rerender whenever *anything* in state changes.`,{stack:P})}T.current&&(T.current=!1)}return O}}[u.name],[u,E,p.stabilityCheck]),N=t_(g.addNestedSub,y.getState,b||y.getState,A,d);return Qt.useDebugValue(N),N};return Object.assign(i,{withTypes:()=>i}),i}var Pa=e4(),t4=Symbol.for("react.element"),n4=Symbol.for("react.portal"),n_=Symbol.for("react.fragment"),r_=Symbol.for("react.strict_mode"),a_=Symbol.for("react.profiler"),i_=Symbol.for("react.provider"),M1=Symbol.for("react.context"),r4=Symbol.for("react.server_context"),L1=Symbol.for("react.forward_ref"),o_=Symbol.for("react.suspense"),s_=Symbol.for("react.suspense_list"),E0=Symbol.for("react.memo"),u_=Symbol.for("react.lazy"),a4=Symbol.for("react.offscreen"),i4=Symbol.for("react.client.reference"),o4=L1,s4=E0;function u4(n){return typeof n=="string"||typeof n=="function"||n===n_||n===a_||n===r_||n===o_||n===s_||n===a4||typeof n=="object"&&n!==null&&(n.$$typeof===u_||n.$$typeof===E0||n.$$typeof===i_||n.$$typeof===M1||n.$$typeof===L1||n.$$typeof===i4||n.getModuleId!==void 0)}function l_(n){if(typeof n=="object"&&n!==null){const r=n.$$typeof;switch(r){case t4:{const i=n.type;switch(i){case n_:case a_:case r_:case o_:case s_:return i;default:{const u=i&&i.$$typeof;switch(u){case r4:case M1:case L1:case u_:case E0:case i_:return u;default:return r}}}}case n4:return r}}}function l4(n){return l_(n)===M1}function c4(n){return l_(n)===E0}function F1(n){typeof console<"u"&&typeof console.error=="function"&&console.error(n);try{throw new Error(n)}catch{}}function mS(n,r){if(n)(r==="mapStateToProps"||r==="mapDispatchToProps")&&(Object.prototype.hasOwnProperty.call(n,"dependsOnOwnProps")||F1(`The selector for ${r} of connect did not specify a value for dependsOnOwnProps.`));else throw new Error(`Unexpected value for ${r} in connect.`)}function f4(n,r,i){mS(n,"mapStateToProps"),mS(r,"mapDispatchToProps"),mS(i,"mergeProps")}function d4(n,r,i,u,{areStatesEqual:l,areOwnPropsEqual:d,areStatePropsEqual:p}){let y=!1,g,b,E,R,T;function A(B,P){return g=B,b=P,E=n(g,b),R=r(u,b),T=i(E,R,b),y=!0,T}function N(){return E=n(g,b),r.dependsOnOwnProps&&(R=r(u,b)),T=i(E,R,b),T}function j(){return n.dependsOnOwnProps&&(E=n(g,b)),r.dependsOnOwnProps&&(R=r(u,b)),T=i(E,R,b),T}function O(){const B=n(g,b),P=!p(B,E);return E=B,P&&(T=i(E,R,b)),T}function L(B,P){const U=!d(P,b),z=!l(B,g,P,b);return g=B,b=P,U&&z?N():U?j():z?O():T}return function(P,U){return y?L(P,U):A(P,U)}}function p4(n,{initMapStateToProps:r,initMapDispatchToProps:i,initMergeProps:u,...l}){const d=r(n,l),p=i(n,l),y=u(n,l);return process.env.NODE_ENV!=="production"&&f4(d,p,y),d4(d,p,y,n,l)}function v4(n,r){const i={};for(const u in n){const l=n[u];typeof l=="function"&&(i[u]=(...d)=>r(l(...d)))}return i}function h4(n){if(typeof n!="object"||n===null)return!1;const r=Object.getPrototypeOf(n);if(r===null)return!0;let i=r;for(;Object.getPrototypeOf(i)!==null;)i=Object.getPrototypeOf(i);return r===i}function c_(n,r,i){h4(n)||F1(`${i}() in ${r} must return a plain object. Instead received ${n}.`)}function qS(n){return function(i){const u=n(i);function l(){return u}return l.dependsOnOwnProps=!1,l}}function zA(n){return n.dependsOnOwnProps?!!n.dependsOnOwnProps:n.length!==1}function f_(n,r){return function(u,{displayName:l}){const d=function(y,g){return d.dependsOnOwnProps?d.mapToProps(y,g):d.mapToProps(y,void 0)};return d.dependsOnOwnProps=!0,d.mapToProps=function(y,g){d.mapToProps=n,d.dependsOnOwnProps=zA(n);let b=d(y,g);return typeof b=="function"&&(d.mapToProps=b,d.dependsOnOwnProps=zA(b),b=d(y,g)),process.env.NODE_ENV!=="production"&&c_(b,l,r),b},d}}function P1(n,r){return(i,u)=>{throw new Error(`Invalid value of type ${typeof n} for ${r} argument when connecting component ${u.wrappedComponentName}.`)}}function m4(n){return n&&typeof n=="object"?qS(r=>v4(n,r)):n?typeof n=="function"?f_(n,"mapDispatchToProps"):P1(n,"mapDispatchToProps"):qS(r=>({dispatch:r}))}function g4(n){return n?typeof n=="function"?f_(n,"mapStateToProps"):P1(n,"mapStateToProps"):qS(()=>({}))}function y4(n,r,i){return{...i,...n,...r}}function b4(n){return function(i,{displayName:u,areMergedPropsEqual:l}){let d=!1,p;return function(g,b,E){const R=n(g,b,E);return d?l(R,p)||(p=R):(d=!0,p=R,process.env.NODE_ENV!=="production"&&c_(p,u,"mergeProps")),p}}}function C4(n){return n?typeof n=="function"?b4(n):P1(n,"mergeProps"):()=>y4}function x4(n){n()}function E4(){let n=null,r=null;return{clear(){n=null,r=null},notify(){x4(()=>{let i=n;for(;i;)i.callback(),i=i.next})},get(){const i=[];let u=n;for(;u;)i.push(u),u=u.next;return i},subscribe(i){let u=!0;const l=r={callback:i,next:null,prev:r};return l.prev?l.prev.next=l:n=l,function(){!u||n===null||(u=!1,l.next?l.next.prev=l.prev:r=l.prev,l.prev?l.prev.next=l.next:n=l.next)}}}}var HA={notify(){},get:()=>[]};function d_(n,r){let i,u=HA,l=0,d=!1;function p(j){E();const O=u.subscribe(j);let L=!1;return()=>{L||(L=!0,O(),R())}}function y(){u.notify()}function g(){N.onStateChange&&N.onStateChange()}function b(){return d}function E(){l++,i||(i=r?r.addNestedSub(g):n.subscribe(g),u=E4())}function R(){l--,i&&l===0&&(i(),i=void 0,u.clear(),u=HA)}function T(){d||(d=!0,E())}function A(){d&&(d=!1,R())}const N={addNestedSub:p,notifyNestedSubs:y,handleChangeWrapper:g,isSubscribed:b,trySubscribe:T,tryUnsubscribe:A,getListeners:()=>u};return N}var S4=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",qb=S4?Qt.useLayoutEffect:Qt.useEffect;function UA(n,r){return n===r?n!==0||r!==0||1/n===1/r:n!==n&&r!==r}function gS(n,r){if(UA(n,r))return!0;if(typeof n!="object"||n===null||typeof r!="object"||r===null)return!1;const i=Object.keys(n),u=Object.keys(r);if(i.length!==u.length)return!1;for(let l=0;l<i.length;l++)if(!Object.prototype.hasOwnProperty.call(r,i[l])||!UA(n[i[l]],r[i[l]]))return!1;return!0}var w4={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},R4={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},T4={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},p_={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},I4={[o4]:T4,[s4]:p_};function GA(n){return c4(n)?p_:I4[n.$$typeof]||w4}var A4=Object.defineProperty,N4=Object.getOwnPropertyNames,$A=Object.getOwnPropertySymbols,O4=Object.getOwnPropertyDescriptor,_4=Object.getPrototypeOf,WA=Object.prototype;function QS(n,r){if(typeof r!="string"){if(WA){const d=_4(r);d&&d!==WA&&QS(n,d)}let i=N4(r);$A&&(i=i.concat($A(r)));const u=GA(n),l=GA(r);for(let d=0;d<i.length;++d){const p=i[d];if(!R4[p]&&!(l&&l[p])&&!(u&&u[p])){const y=O4(r,p);try{A4(n,p,y)}catch{}}}}return n}var v_=KO,D4=n=>{v_=n},j4=[null,null],k4=n=>{try{return JSON.stringify(n)}catch{return String(n)}};function M4(n,r,i){qb(()=>n(...r),i)}function L4(n,r,i,u,l,d){n.current=u,i.current=!1,l.current&&(l.current=null,d())}function F4(n,r,i,u,l,d,p,y,g,b,E){if(!n)return()=>{};let R=!1,T=null;const A=()=>{if(R||!y.current)return;const j=r.getState();let O,L;try{O=u(j,l.current)}catch(B){L=B,T=B}L||(T=null),O===d.current?p.current||b():(d.current=O,g.current=O,p.current=!0,E())};return i.onStateChange=A,i.trySubscribe(),A(),()=>{if(R=!0,i.tryUnsubscribe(),i.onStateChange=null,T)throw T}}function P4(n,r){return n===r}var XA=!1;function V4(n,r,i,{pure:u,areStatesEqual:l=P4,areOwnPropsEqual:d=gS,areStatePropsEqual:p=gS,areMergedPropsEqual:y=gS,forwardRef:g=!1,context:b=Yu}={}){process.env.NODE_ENV!=="production"&&u!==void 0&&!XA&&(XA=!0,F1('The `pure` option has been removed. `connect` is now always a "pure/memoized" component'));const E=b,R=g4(n),T=m4(r),A=C4(i),N=!!n;return O=>{if(process.env.NODE_ENV!=="production"&&!u4(O))throw new Error(`You must pass a component to the function returned by connect. Instead received ${k4(O)}`);const L=O.displayName||O.name||"Component",B=`Connect(${L})`,P={shouldHandleStateChanges:N,displayName:B,wrappedComponentName:L,WrappedComponent:O,initMapStateToProps:R,initMapDispatchToProps:T,initMergeProps:A,areStatesEqual:l,areStatePropsEqual:p,areOwnPropsEqual:d,areMergedPropsEqual:y};function U(X){const[te,Re,ue]=Qt.useMemo(()=>{const{reactReduxForwardedRef:Ne,...ft}=X;return[X.context,Ne,ft]},[X]),pe=Qt.useMemo(()=>{let Ne=E;if(te!=null&&te.Consumer&&process.env.NODE_ENV!=="production"){if(!l4(Qt.createElement(te.Consumer,null)))throw new Error("You must pass a valid React context consumer as `props.context`");Ne=te}return Ne},[te,E]),ye=Qt.useContext(pe),me=!!X.store&&!!X.store.getState&&!!X.store.dispatch,Ae=!!ye&&!!ye.store;if(process.env.NODE_ENV!=="production"&&!me&&!Ae)throw new Error(`Could not find "store" in the context of "${B}". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to ${B} in connect options.`);const _e=me?X.store:ye.store,Oe=Ae?ye.getServerState:_e.getState,Ie=Qt.useMemo(()=>p4(_e.dispatch,P),[_e]),[ve,Le]=Qt.useMemo(()=>{if(!N)return j4;const Ne=d_(_e,me?void 0:ye.subscription),ft=Ne.notifyNestedSubs.bind(Ne);return[Ne,ft]},[_e,me,ye]),F=Qt.useMemo(()=>me?ye:{...ye,subscription:ve},[me,ye,ve]),q=Qt.useRef(),se=Qt.useRef(ue),xe=Qt.useRef(),Ee=Qt.useRef(!1);Qt.useRef(!1);const De=Qt.useRef(!1),ie=Qt.useRef();qb(()=>(De.current=!0,()=>{De.current=!1}),[]);const he=Qt.useMemo(()=>()=>xe.current&&ue===se.current?xe.current:Ie(_e.getState(),ue),[_e,ue]),Te=Qt.useMemo(()=>ft=>ve?F4(N,_e,ve,Ie,se,q,Ee,De,xe,Le,ft):()=>{},[ve]);M4(L4,[se,q,Ee,ue,xe,Le]);let Ve;try{Ve=v_(Te,he,Oe?()=>Ie(Oe(),ue):he)}catch(Ne){throw ie.current&&(Ne.message+=`
266
+ Selectors that return the entire state are almost certainly a mistake, as they will cause a rerender whenever *anything* in state changes.`,{stack:P})}T.current&&(T.current=!1)}return O}}[u.name],[u,E,p.stabilityCheck]),N=t_(g.addNestedSub,y.getState,b||y.getState,A,d);return Qt.useDebugValue(N),N};return Object.assign(i,{withTypes:()=>i}),i}var Pa=e4(),t4=Symbol.for("react.element"),n4=Symbol.for("react.portal"),n_=Symbol.for("react.fragment"),r_=Symbol.for("react.strict_mode"),a_=Symbol.for("react.profiler"),i_=Symbol.for("react.provider"),M1=Symbol.for("react.context"),r4=Symbol.for("react.server_context"),L1=Symbol.for("react.forward_ref"),o_=Symbol.for("react.suspense"),s_=Symbol.for("react.suspense_list"),E0=Symbol.for("react.memo"),u_=Symbol.for("react.lazy"),a4=Symbol.for("react.offscreen"),i4=Symbol.for("react.client.reference"),o4=L1,s4=E0;function u4(n){return typeof n=="string"||typeof n=="function"||n===n_||n===a_||n===r_||n===o_||n===s_||n===a4||typeof n=="object"&&n!==null&&(n.$$typeof===u_||n.$$typeof===E0||n.$$typeof===i_||n.$$typeof===M1||n.$$typeof===L1||n.$$typeof===i4||n.getModuleId!==void 0)}function l_(n){if(typeof n=="object"&&n!==null){const r=n.$$typeof;switch(r){case t4:{const i=n.type;switch(i){case n_:case a_:case r_:case o_:case s_:return i;default:{const u=i&&i.$$typeof;switch(u){case r4:case M1:case L1:case u_:case E0:case i_:return u;default:return r}}}}case n4:return r}}}function l4(n){return l_(n)===M1}function c4(n){return l_(n)===E0}function F1(n){typeof console<"u"&&typeof console.error=="function"&&console.error(n);try{throw new Error(n)}catch{}}function mS(n,r){if(n)(r==="mapStateToProps"||r==="mapDispatchToProps")&&(Object.prototype.hasOwnProperty.call(n,"dependsOnOwnProps")||F1(`The selector for ${r} of connect did not specify a value for dependsOnOwnProps.`));else throw new Error(`Unexpected value for ${r} in connect.`)}function f4(n,r,i){mS(n,"mapStateToProps"),mS(r,"mapDispatchToProps"),mS(i,"mergeProps")}function d4(n,r,i,u,{areStatesEqual:l,areOwnPropsEqual:d,areStatePropsEqual:p}){let y=!1,g,b,E,w,T;function A(B,P){return g=B,b=P,E=n(g,b),w=r(u,b),T=i(E,w,b),y=!0,T}function N(){return E=n(g,b),r.dependsOnOwnProps&&(w=r(u,b)),T=i(E,w,b),T}function j(){return n.dependsOnOwnProps&&(E=n(g,b)),r.dependsOnOwnProps&&(w=r(u,b)),T=i(E,w,b),T}function O(){const B=n(g,b),P=!p(B,E);return E=B,P&&(T=i(E,w,b)),T}function L(B,P){const U=!d(P,b),z=!l(B,g,P,b);return g=B,b=P,U&&z?N():U?j():z?O():T}return function(P,U){return y?L(P,U):A(P,U)}}function p4(n,{initMapStateToProps:r,initMapDispatchToProps:i,initMergeProps:u,...l}){const d=r(n,l),p=i(n,l),y=u(n,l);return process.env.NODE_ENV!=="production"&&f4(d,p,y),d4(d,p,y,n,l)}function v4(n,r){const i={};for(const u in n){const l=n[u];typeof l=="function"&&(i[u]=(...d)=>r(l(...d)))}return i}function h4(n){if(typeof n!="object"||n===null)return!1;const r=Object.getPrototypeOf(n);if(r===null)return!0;let i=r;for(;Object.getPrototypeOf(i)!==null;)i=Object.getPrototypeOf(i);return r===i}function c_(n,r,i){h4(n)||F1(`${i}() in ${r} must return a plain object. Instead received ${n}.`)}function qS(n){return function(i){const u=n(i);function l(){return u}return l.dependsOnOwnProps=!1,l}}function zA(n){return n.dependsOnOwnProps?!!n.dependsOnOwnProps:n.length!==1}function f_(n,r){return function(u,{displayName:l}){const d=function(y,g){return d.dependsOnOwnProps?d.mapToProps(y,g):d.mapToProps(y,void 0)};return d.dependsOnOwnProps=!0,d.mapToProps=function(y,g){d.mapToProps=n,d.dependsOnOwnProps=zA(n);let b=d(y,g);return typeof b=="function"&&(d.mapToProps=b,d.dependsOnOwnProps=zA(b),b=d(y,g)),process.env.NODE_ENV!=="production"&&c_(b,l,r),b},d}}function P1(n,r){return(i,u)=>{throw new Error(`Invalid value of type ${typeof n} for ${r} argument when connecting component ${u.wrappedComponentName}.`)}}function m4(n){return n&&typeof n=="object"?qS(r=>v4(n,r)):n?typeof n=="function"?f_(n,"mapDispatchToProps"):P1(n,"mapDispatchToProps"):qS(r=>({dispatch:r}))}function g4(n){return n?typeof n=="function"?f_(n,"mapStateToProps"):P1(n,"mapStateToProps"):qS(()=>({}))}function y4(n,r,i){return{...i,...n,...r}}function b4(n){return function(i,{displayName:u,areMergedPropsEqual:l}){let d=!1,p;return function(g,b,E){const w=n(g,b,E);return d?l(w,p)||(p=w):(d=!0,p=w,process.env.NODE_ENV!=="production"&&c_(p,u,"mergeProps")),p}}}function C4(n){return n?typeof n=="function"?b4(n):P1(n,"mergeProps"):()=>y4}function x4(n){n()}function E4(){let n=null,r=null;return{clear(){n=null,r=null},notify(){x4(()=>{let i=n;for(;i;)i.callback(),i=i.next})},get(){const i=[];let u=n;for(;u;)i.push(u),u=u.next;return i},subscribe(i){let u=!0;const l=r={callback:i,next:null,prev:r};return l.prev?l.prev.next=l:n=l,function(){!u||n===null||(u=!1,l.next?l.next.prev=l.prev:r=l.prev,l.prev?l.prev.next=l.next:n=l.next)}}}}var HA={notify(){},get:()=>[]};function d_(n,r){let i,u=HA,l=0,d=!1;function p(j){E();const O=u.subscribe(j);let L=!1;return()=>{L||(L=!0,O(),w())}}function y(){u.notify()}function g(){N.onStateChange&&N.onStateChange()}function b(){return d}function E(){l++,i||(i=r?r.addNestedSub(g):n.subscribe(g),u=E4())}function w(){l--,i&&l===0&&(i(),i=void 0,u.clear(),u=HA)}function T(){d||(d=!0,E())}function A(){d&&(d=!1,w())}const N={addNestedSub:p,notifyNestedSubs:y,handleChangeWrapper:g,isSubscribed:b,trySubscribe:T,tryUnsubscribe:A,getListeners:()=>u};return N}var S4=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",qb=S4?Qt.useLayoutEffect:Qt.useEffect;function UA(n,r){return n===r?n!==0||r!==0||1/n===1/r:n!==n&&r!==r}function gS(n,r){if(UA(n,r))return!0;if(typeof n!="object"||n===null||typeof r!="object"||r===null)return!1;const i=Object.keys(n),u=Object.keys(r);if(i.length!==u.length)return!1;for(let l=0;l<i.length;l++)if(!Object.prototype.hasOwnProperty.call(r,i[l])||!UA(n[i[l]],r[i[l]]))return!1;return!0}var w4={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},R4={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},T4={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},p_={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},I4={[o4]:T4,[s4]:p_};function GA(n){return c4(n)?p_:I4[n.$$typeof]||w4}var A4=Object.defineProperty,N4=Object.getOwnPropertyNames,$A=Object.getOwnPropertySymbols,O4=Object.getOwnPropertyDescriptor,_4=Object.getPrototypeOf,WA=Object.prototype;function QS(n,r){if(typeof r!="string"){if(WA){const d=_4(r);d&&d!==WA&&QS(n,d)}let i=N4(r);$A&&(i=i.concat($A(r)));const u=GA(n),l=GA(r);for(let d=0;d<i.length;++d){const p=i[d];if(!R4[p]&&!(l&&l[p])&&!(u&&u[p])){const y=O4(r,p);try{A4(n,p,y)}catch{}}}}return n}var v_=KO,D4=n=>{v_=n},j4=[null,null],k4=n=>{try{return JSON.stringify(n)}catch{return String(n)}};function M4(n,r,i){qb(()=>n(...r),i)}function L4(n,r,i,u,l,d){n.current=u,i.current=!1,l.current&&(l.current=null,d())}function F4(n,r,i,u,l,d,p,y,g,b,E){if(!n)return()=>{};let w=!1,T=null;const A=()=>{if(w||!y.current)return;const j=r.getState();let O,L;try{O=u(j,l.current)}catch(B){L=B,T=B}L||(T=null),O===d.current?p.current||b():(d.current=O,g.current=O,p.current=!0,E())};return i.onStateChange=A,i.trySubscribe(),A(),()=>{if(w=!0,i.tryUnsubscribe(),i.onStateChange=null,T)throw T}}function P4(n,r){return n===r}var XA=!1;function V4(n,r,i,{pure:u,areStatesEqual:l=P4,areOwnPropsEqual:d=gS,areStatePropsEqual:p=gS,areMergedPropsEqual:y=gS,forwardRef:g=!1,context:b=Yu}={}){process.env.NODE_ENV!=="production"&&u!==void 0&&!XA&&(XA=!0,F1('The `pure` option has been removed. `connect` is now always a "pure/memoized" component'));const E=b,w=g4(n),T=m4(r),A=C4(i),N=!!n;return O=>{if(process.env.NODE_ENV!=="production"&&!u4(O))throw new Error(`You must pass a component to the function returned by connect. Instead received ${k4(O)}`);const L=O.displayName||O.name||"Component",B=`Connect(${L})`,P={shouldHandleStateChanges:N,displayName:B,wrappedComponentName:L,WrappedComponent:O,initMapStateToProps:w,initMapDispatchToProps:T,initMergeProps:A,areStatesEqual:l,areStatePropsEqual:p,areOwnPropsEqual:d,areMergedPropsEqual:y};function U(X){const[te,Re,ue]=Qt.useMemo(()=>{const{reactReduxForwardedRef:Ne,...ft}=X;return[X.context,Ne,ft]},[X]),pe=Qt.useMemo(()=>{let Ne=E;if(te!=null&&te.Consumer&&process.env.NODE_ENV!=="production"){if(!l4(Qt.createElement(te.Consumer,null)))throw new Error("You must pass a valid React context consumer as `props.context`");Ne=te}return Ne},[te,E]),ye=Qt.useContext(pe),me=!!X.store&&!!X.store.getState&&!!X.store.dispatch,Ae=!!ye&&!!ye.store;if(process.env.NODE_ENV!=="production"&&!me&&!Ae)throw new Error(`Could not find "store" in the context of "${B}". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to ${B} in connect options.`);const _e=me?X.store:ye.store,Oe=Ae?ye.getServerState:_e.getState,Ie=Qt.useMemo(()=>p4(_e.dispatch,P),[_e]),[ve,Le]=Qt.useMemo(()=>{if(!N)return j4;const Ne=d_(_e,me?void 0:ye.subscription),ft=Ne.notifyNestedSubs.bind(Ne);return[Ne,ft]},[_e,me,ye]),F=Qt.useMemo(()=>me?ye:{...ye,subscription:ve},[me,ye,ve]),q=Qt.useRef(),se=Qt.useRef(ue),xe=Qt.useRef(),Ee=Qt.useRef(!1);Qt.useRef(!1);const De=Qt.useRef(!1),ie=Qt.useRef();qb(()=>(De.current=!0,()=>{De.current=!1}),[]);const he=Qt.useMemo(()=>()=>xe.current&&ue===se.current?xe.current:Ie(_e.getState(),ue),[_e,ue]),Te=Qt.useMemo(()=>ft=>ve?F4(N,_e,ve,Ie,se,q,Ee,De,xe,Le,ft):()=>{},[ve]);M4(L4,[se,q,Ee,ue,xe,Le]);let Ve;try{Ve=v_(Te,he,Oe?()=>Ie(Oe(),ue):he)}catch(Ne){throw ie.current&&(Ne.message+=`
267
267
  The error may be correlated with this previous error:
268
268
  ${ie.current.stack}
269
269
 
270
- `),Ne}qb(()=>{ie.current=void 0,xe.current=void 0,q.current=Ve});const Ke=Qt.useMemo(()=>Qt.createElement(O,{...Ve,ref:Re}),[Re,O,Ve]);return Qt.useMemo(()=>N?Qt.createElement(pe.Provider,{value:F},Ke):Ke,[pe,Ke,F])}const G=Qt.memo(U);if(G.WrappedComponent=O,G.displayName=U.displayName=B,g){const te=Qt.forwardRef(function(ue,pe){return Qt.createElement(G,{...ue,reactReduxForwardedRef:pe})});return te.displayName=B,te.WrappedComponent=O,QS(te,O)}return QS(G,O)}}var qo=V4;function B4({store:n,context:r,children:i,serverState:u,stabilityCheck:l="once",identityFunctionCheck:d="once"}){const p=Qt.useMemo(()=>{const b=d_(n);return{store:n,subscription:b,getServerState:u?()=>u:void 0,stabilityCheck:l,identityFunctionCheck:d}},[n,u,l,d]),y=Qt.useMemo(()=>n.getState(),[n]);qb(()=>{const{subscription:b}=p;return b.onStateChange=b.notifyNestedSubs,b.trySubscribe(),y!==n.getState()&&b.notifyNestedSubs(),()=>{b.tryUnsubscribe(),b.onStateChange=void 0}},[p,y]);const g=r||Yu;return Qt.createElement(g.Provider,{value:p},i)}var Sm=B4;function h_(n=Yu){const r=n===Yu?e_:k1(n),i=()=>{const{store:u}=r();return u};return Object.assign(i,{withTypes:()=>i}),i}var z4=h_();function H4(n=Yu){const r=n===Yu?z4:h_(n),i=()=>r().dispatch;return Object.assign(i,{withTypes:()=>i}),i}var Qu=H4();QB(JB.useSyncExternalStoreWithSelector);D4(M.useSyncExternalStore);const KS={user:{colors:["#ffc42d","#fea92c","#f98f30","#f07537"]},rp:{colors:["#48c0b9","#2e9da4","#207b8b","#1a5b6e"]}},yS={};function m_(n,r=3){let i=0;for(;n/Math.pow(1e3,i)>1e3;)i+=1;const u=n.toString().length,l=Math.pow(10,u-r);return(Math.round(n/l)*l/Math.pow(1e3,i)).toString()+["","K","M","B","T"][i]}async function U4(){return await(await fetch("https://basemaps-api.arcgis.com/arcgis/rest/services/styles/ArcGIS:Community?type=style&token=AAPK220079f462f24fda89c27fa210c3f887EJPCECuukKD8PnCIBqktgGTKZWPlVXWjRoSsZYGkOJ12QemGItZ4liRZkcUzYyme")).json()}async function G4(n){if(yS[n])return yS[n];const r=document.location,i=`${r.protocol}//${r.host}${r.pathname}`,l=await(await fetch(`${i}/${n}`)).json();return yS[n]=l,l}function $4(n){const r=[...n.creditLines.features.map(u=>u.properties.credits)],i=[...n.rpPoints.features.map(u=>u.properties.rpCredits),...n.userPoints.features.map(u=>u.properties.userCredits)];return{lines:ZA(r),points:ZA(i)}}function YA({activeOrg:n,basemapStyle:r,creditLevels:i,creditType:u,geoJSON:l,organizationType:d}){const p={},y=[];if(l&&i){const b=d==="user"?"rp":"user",E=l[`${d}Points`],R=l[`${b}Points`],T=`${d}Credits`,A=`${b}Credits`;p.organizations={type:"geojson",data:E};const N={user:[],rp:[]},j=[];i.points.forEach((L,B)=>{Object.keys(KS).forEach(P=>{N[P].push(L[1],KS[P].colors[B])}),j.push(L[1],5*(B+1))});const O=[];if(i.lines.forEach((L,B)=>{O.push(L[1],1*(B+1))}),y.push({id:"organizations",type:"circle",source:"organizations",paint:{"circle-radius":["interpolate",["linear"],["get",T],...j],"circle-color":["interpolate",["linear"],["get",T],...N[d]],"circle-opacity":n?["match",["id"],n.id,1,.3]:1,"circle-stroke-color":"#ffffff","circle-stroke-width":1}}),n&&u!=="allocated"){p.opp={type:"geojson",data:R};const L=["get",n.id.toString(),["get",`${A}Map`]];y.push({id:"opp",type:"circle",source:"opp",filter:["has",n.id.toString(),["get",`${A}Map`]],paint:{"circle-radius":["interpolate",["linear"],L,...j],"circle-color":["interpolate",["linear"],L,...N[b]],"circle-stroke-color":"#ffffff","circle-stroke-width":1}}),p.credits={type:"geojson",data:l.creditLines},y.push({id:"credits",type:"line",source:"credits",filter:["==",["get",`${d}_organization_id`],n.id],paint:{"line-color":"#444444","line-opacity":.4,"line-width":["interpolate",["linear"],["get","credits"],...O]}})}}const g=r||{version:8,sources:{},layers:[]};return{...g,sources:{...g.sources,...p},layers:[...g.layers.filter(b=>b.id!=="Marine waterbody/label/2x large"),...y]}}function W4(n,r,i,u,l=20){return[...Array(l+1).keys()].map(d=>d/l).map(d=>{let p=d*(i-n)+n,y=d*(u-r)+r+Math.abs(Math.sin(d*Math.PI)*(i-n)*.1);return[p,y]})}function X4(n,r,i){const u={};return n.features.forEach(d=>u[d.id]={type:d.type,geometry:d.geometry,id:d.id,properties:{name:d.properties.name,abbr:d.properties.abbr,userCredits:0,userCreditsMap:{},rpCredits:0,rpCreditsMap:{}}},{}),{creditLines:{type:"FeatureCollection",features:r.result.filter(d=>u[d.user_organization_id]!==void 0&&(i==="allocated"||u[d.rp_organization_id]!==void 0)).map(d=>{const p=u[d.user_organization_id],y=u[d.rp_organization_id];if(p.properties.userCredits+=d.credits,y&&(y.properties.rpCredits+=d.credits),p.properties.userCreditsMap[d.rp_organization_id]=(p.properties.userCreditsMap[d.rp_organization_id]||0)+d.credits,y&&(y.properties.rpCreditsMap[d.user_organization_id]=(y.properties.rpCreditsMap[d.user_organization_id]||0)+d.credits),i!=="allocated")return{type:"Feature",geometry:{type:"LineString",coordinates:W4(...u[d.user_organization_id].geometry.coordinates,...u[d.rp_organization_id].geometry.coordinates)},properties:d}}).filter(d=>d!==void 0)},userPoints:{type:"FeatureCollection",features:Object.values(u).filter(d=>d.properties.userCredits>0).sort((d,p)=>d.properties.userCredits>p.properties.userCredits?-1:1)},rpPoints:{type:"FeatureCollection",features:Object.values(u).filter(d=>d.properties.rpCredits>0).sort((d,p)=>d.properties.rpCredits>p.properties.rpCredits?-1:1)}}}function ZA(n,r=[0,.3,.6,.9]){return r.map((i,u)=>{const l=Y4(n,i),d=u===r.length-1?"+":"";return[`${m_(Math.round(l))}${d}`,l]})}function Y4(n,r){n.sort((d,p)=>d-p);const i=(n.length-1)*r,u=Math.floor(i),l=i-u;return n[u+1]!==void 0?n[u]+l*(n[u+1]-n[u]):n[u]}const Z4="_fullscreen_1iid9_6",J4="_map_1iid9_14",Cb={"allocations-map":"_allocations-map_1iid9_1",fullscreen:Z4,map:J4},q4="_group_11k83_1",Q4="_button_11k83_6",K4="_icon_11k83_16",bS={group:q4,button:Q4,icon:K4};function JA({choices:n,disabledValues:r=[],label:i,value:u,setValue:l}){const d=[];return n.forEach(([p,y])=>d.push(C.jsx("input",{type:"radio",className:"btn-check",name:p,id:p,autoComplete:"off",checked:u===p,onChange:()=>l(p),disabled:r.includes(p)},p),C.jsxs("label",{className:`btn btn-outline-primary ${bS.button}`,htmlFor:p,disabled:r.includes(p),children:[u===p?C.jsx("i",{className:`bi bi-check ${bS.icon}`}):null," ",y]},`${p}-label`))),C.jsx("div",{className:"mb-2",children:C.jsx("div",{className:`btn-group ${bS.group}`,role:"group","aria-label":i,children:d})})}const ez="_controls_1be4t_1",tz={controls:ez};function nz({creditType:n,organizationType:r,setCreditType:i,setOrganizationType:u}){return C.jsxs("div",{className:tz.controls,children:[C.jsx("h2",{children:"ACCESS Allocations"}),C.jsx(JA,{choices:[["allocated","Allocations"],["exchanged","Exchanges"],["used","Usage"]],label:"Credit Type",value:n,setValue:i}),C.jsx(JA,{choices:[["user","By Research Institution"],["rp","By Resource Provider"]],disabledValues:n==="allocated"?["rp"]:[],label:"Organization Type",value:r,setValue:u})]})}const rz="_legend_odgg9_1",az="_symbols_odgg9_17",iz="_symbol_odgg9_17",Db={legend:rz,symbols:az,symbol:iz};function oz(n,r){const i=2*n+2;return C.jsx("svg",{viewBox:`0 0 ${i} ${i}`,xmlns:"http://www.w3.org/2000/svg",stroke:"white",strokeWidth:"1",height:i,width:i,children:C.jsx("circle",{fill:r,cx:n+1,cy:n+1,r:n})})}function sz({activeOrg:n,creditLevels:r,organizationType:i}){if(n||!r)return;const u=r.points.map((l,d)=>C.jsxs("div",{className:Db.symbol,children:[oz(5*(d+1),KS[i].colors[d]),C.jsx("br",{}),C.jsx("span",{className:"label",children:l[0]})]},l[0]));return C.jsxs("div",{className:Db.legend,children:[C.jsxs("h2",{className:"fs-6 mt-0 mb-0",children:["ACCESS Credits ",C.jsx("small",{children:"or credit equivalents"})]}),C.jsx("div",{className:Db.symbols,children:u})]})}const uz="_info_oxxoh_1",lz="_user_oxxoh_7",cz="_rp_oxxoh_10",fz="_credits_oxxoh_15",jb={info:uz,user:lz,rp:cz,credits:fz};function qA(n,r,i){n.sort((l,d)=>d[1]-l[1]);const u=n.slice(0,3).map(l=>l[0]);return n.length>3&&(u[2]=`${n.length-2} other ${i}s`),u.reduce((l,d,p,y)=>[l,C.jsx("span",{className:`name ${jb[r]}`,children:d},d),[""," and ",", "][y.length-p-1]],[])}function dz({activeOrg:n,creditType:r,organizationMap:i,organizationType:u}){if(!n||!i)return;const l=n.properties,d=l[`${u}Credits`],p=u==="rp"?"user":"rp",y=JSON.parse(l[`${u}CreditsMap`]),g={user:[],rp:[]};return g[u].push([l.name,d]),Object.keys(y).forEach(b=>g[p].push([i[b],y[b]])),C.jsx("div",{className:`${Db.legend} ${jb.info}`,children:C.jsxs("p",{className:jb[u],children:["Researchers at ",qA(g.user,"user","research institution")," ",r==="allocated"?"were ":"",r," ",C.jsxs("span",{className:jb.credits,children:[m_(d)," ACCESS Credits"]}),r!=="allocated"?C.jsxs(C.Fragment,{children:[" ",r==="exchanged"?"for":"on"," resources at"," ",qA(g.rp,"rp","resource provider")]}):"","."]})})}function pz(){const n=M.useRef(null),r=M.useRef(null),[i,u]=M.useState(null),[l,d]=M.useState(null),[p,y]=M.useState(null),[g,b]=M.useState(!1),[E,R]=M.useState(null),[T,A]=M.useState(null),[N,j]=M.useState(null),[O,L]=M.useState("user"),[B,P]=M.useState("exchanged");return M.useEffect(()=>{(async()=>d(await U4()))()},[]),M.useEffect(()=>{(async U=>{const[z,G]=await Promise.all(["organizations",`credits_${U}`].map(G4));if(!N){const te={};z.features.forEach(Re=>te[Re.id.toString()]=Re.properties.name),j(te)}const X=X4(z,G,B);R(X),U==="exchanged"&&!p&&y($4(X))})(B)},[B]),M.useEffect(()=>{T&&T.setStyle(YA({activeOrg:i,basemapStyle:l,creditLevels:p,creditType:B,geoJSON:E,organizationType:O}))},[i,E,T,O]),M.useEffect(()=>{T&&(T.on("mousemove","organizations",U=>u(U.features.length?U.features[0]:null)),T.on("mouseleave","organizations",()=>u(null)))},[T]),M.useEffect(()=>{T&&T.resize()},[g]),M.useEffect(()=>{B==="allocated"&&L("user")},[B]),M.useLayoutEffect(()=>A(new maplibregl.Map({container:r.current,style:YA({activeOrg:i,basemapStyle:l,creditLevels:p,creditType:B,geoJSON:E,organizationType:O}),center:[-111.01,38.88],zoom:3.4,hash:!0})),[]),M.useLayoutEffect(()=>n.current.addEventListener("keydown",U=>{U.key==="Escape"&&b(!1)}),[]),C.jsxs("section",{className:`${Cb["allocations-map"]} ${g?Cb.fullscreen:"border border-3 border-primary"}`,ref:n,children:[C.jsx("div",{className:Cb.map,ref:r}),C.jsx(nz,{creditType:B,fullscreen:g,organizationType:O,setCreditType:P,setFullscreen:b,setOrganizationType:L}),C.jsx(sz,{activeOrg:i,creditLevels:p,organizationType:O}),C.jsx(dz,{activeOrg:i,creditType:B,organizationMap:N,organizationType:O}),C.jsx("button",{title:`${g?"Exit":"Enter"} Fullscreen`,className:Cb.fullscreen,onClick:()=>b(!g),children:C.jsx("i",{className:`bi ${g?"bi-fullscreen-exit":"bi-arrows-fullscreen"}`,"aria-label":"Fullscreen"})})]})}const Bu="https://allocations.access-ci.org",On={creditAlertThreshold:1e3,resourceTypeIcons:{credit:"cash-coin",compute:"cpu-fill",storage:"hdd-fill",program:"person-square"},routes:{edit_request_action_path:(n,r)=>`/requests/${n}/actions/${r}/edit`,edit_request_path:n=>`/requests/${n}/edit`,how_to_path:()=>"/how-to",get_your_first_project_path:()=>`${Bu}/get-your-first-project`,project_types_path:()=>`${Bu}/project-types`,projects_path:()=>`${Bu}/projects`,projects_save_users_path:()=>"/projects/save_users",renew_request_path:n=>`${Bu}/requests/${n}/renew`,request_action_path:(n,r)=>`${Bu}/requests/${n}/actions/${r}`,request_actions_path:n=>`${Bu}/requests/${n}/actions`,request_path:n=>`${Bu}/requests/${n}`,resources_path:()=>`${Bu}/resources`,search_people_path:()=>`${Bu}/search/people`,usage_detail_path:(n,r)=>`/usage/${n}/${r}`},roleIcons:{PI:"person-fill-check","Co-PI":"person-fill-add","Allocation Manager":"person-fill-gear",User:"people-fill"}};function Qb({color:n="primary",href:r,icon:i,onClick:u,target:l,title:d}){const p=C.jsx("i",{className:`bi bi-${i}`}),y={className:`btn btn-sm ms-1 text-${n}`,href:r,onClick:u,style:{"--bs-btn-padding-x":"0.1rem","--bs-btn-padding-y":"0.1rem","--bs-btn-line-height":"1"},target:l,title:d};return r?C.jsx("a",{...y,children:p}):C.jsx("button",{...y,children:p})}const Sp=(n,r,i="round")=>{const u=Math.pow(10,r||0);return Math[i](n*u)/u},vz=n=>new Date(`${n}T00:00:00`),hz={year:"numeric",month:"short",day:"numeric"},wp=(n,r)=>vz(n).toLocaleString("en-us",r||hz),ei=(n,{abbreviate:r=!1,decimalPlaces:i=void 0}={})=>{if(r){let u=0;for(;Math.abs(n)/Math.pow(1e3,u)>=1e3;)u+=1;const l=["","K","M","B","T","Q"][u];return`${(n/Math.pow(1e3,u)).toLocaleString("en-US",{maximumSignificantDigits:3})}${l}`}return n.toLocaleString("en-US",{maximumFractionDigits:i,minimumFractionDigits:i})},V1=(n,r)=>{if(n.startDate&&n.endDate){const l=wp(n.startDate,r),d=wp(n.endDate,r);return`${n.allocationType}: ${l} to ${d}`}const i=wp(n.entryDate,r),u=n.status=="Incomplete"?"Started":"Submitted";return`${n.allocationType}: ${u} ${i}`},dc=n=>C.jsx("i",{className:`bi bi-${n}`}),S0=n=>{const r=n.match(/^([^\(\)]+) (\(([^\)]+)\))?$/);return{full:n,short:r&&r[3]||null}},Sf=(n,{userGuide:r=!0}={})=>{const{full:i,short:u}=S0(n.name),l=u?C.jsx("abbr",{title:i,children:u}):i;return C.jsxs(C.Fragment,{children:[dc(On.resourceTypeIcons[n.icon])," ",l,!n.isCredit&&n.userGuideUrl&&r?C.jsx(Qb,{icon:"book",href:n.userGuideUrl,target:"_blank",title:`${n.name} User Guide`}):null]})},QA=n=>{const r=S0(n.name);return r.short||r.full},Kb=(n,r)=>n.isCredit>r.isCredit||n.isActive>r.isActive||QA(n)<QA(r)?-1:1,KA=(...n)=>{for(let r of n)if(r!=null)return r;return null},g_=(n,r="and",i=", ")=>n.reduce((u,l,d)=>C.jsxs(C.Fragment,{children:[u,n.length-1>d?i:` ${r} `,l]})),B1=n=>n?C.jsxs(C.Fragment,{children:[dc("check-circle")," Yes"]}):C.jsxs(C.Fragment,{children:[dc("x-circle")," No"]}),z1=n=>g_(n.users.filter(({role:r})=>["pi","co_pi","allocation_manager"].includes(r)).map(r=>`${r.firstName} ${r.lastName}`),"or"),eN=(n,r)=>r==1&&n.endsWith("s")?n.slice(0,-1):n,y_=n=>{let r=0,i=0;for(let u of n.resources)u.isBoolean||(r+=u.allocated*u.unitCost,i+=Math.min(u.used,u.allocated)*u.unitCost);return r>0?i/r:0},w0=[{role:"pi",name:"PI",xrasRole:"PI"},{role:"co_pi",name:"Co-PI",xrasRole:"CoPI"},{role:"allocation_manager",name:"Allocation Manager",xrasRole:"Allocation Manager"},{role:"user",name:"User",xrasRole:"User"}],b_={};for(let n of w0)b_[n.role]=n;const e1={};for(let{role:n,xrasRole:r}of w0)e1[n]=r;const t1=["info","success","secondary","warning","danger"],ea={error:"error",pending:"pending",success:"success"},e0=n=>n.endDate||n.startDate||(n.actions[0]||{}).entryDate,tN=n=>`${{pi:"01",co_pi:"02",allocation_manager:"03"}[n.role]||"04"} ${n.lastName}, ${n.firstName}`,mz=(n,{grantNumber:r,projectManager:i,requestMasterId:u,requests:l,title:d,users:p},y)=>{r=r||u,l.sort((E,R)=>e0(E)>e0(R)?-1:1);const g=l.find(E=>E.timeStatus=="current"),b=g?g.requestId:null;n.projects[r]={currentRequestId:b,grantNumber:r,isManager:i,requestsList:l.map(E=>{const{actions:R,allocationType:T,endDate:A,requestId:N,startDate:j,status:O}=E,L=R.map(({entryDate:B})=>B).sort()[0].split("T")[0];return gz(n,E,{entryDate:L,grantNumber:r}),{allocationType:T,endDate:A,entryDate:L,requestId:N,startDate:j,status:O}}),selectedRequestId:b||l[0].requestId,status:y,tab:"overview",title:d,users:p.map(({email:E,firstName:R,lastName:T,organization:A,resources:N,role:j,username:O})=>{const L=N.filter(G=>G.userAccountState=="active"&&G.unitType!="ACCESS Credits"),B=L.map(G=>G.xrasResourceId),P=L.filter(G=>G.resourceProviderState=="pending-active").map(G=>G.xrasResourceId),U=N.filter(G=>G.userAccountState!="active").map(G=>G.xrasResourceId),z={};for(let G of L)z[G.xrasResourceId]=G.resourceUsername;return{email:E,firstName:R,initialResourceIds:[...B],initialRole:j,lastName:T,organization:A,resourceAccountPendingIds:P,resourceAccountInactiveIds:U,resourceIds:B,resourceUsernames:z,role:j,username:O}}).sort((E,R)=>tN(E)<tN(R)?-1:1),usersNewRowIndex:0,usersStatus:null},n.projects[r].currentUser=n.projects[r].users.find(({username:E})=>E==n.username)},gz=(n,{actions:r,allocationType:i,allowedActions:u,endDate:l,requestId:d,requestType:p,resources:y,startDate:g,status:b,timeStatus:E},{entryDate:R,grantNumber:T})=>{y=y||[];const A={actions:r.map(({actionId:O,actionStatusType:L,actionType:B,allowedOperations:P,approvedStartDate:U,detailAvailable:z,entryDate:G,isRequest:X,requestedStartDate:te,resources:Re})=>({actionId:O,allowedOperations:P,detailAvailable:z,date:(U||te||G).split("T")[0],deleteStatus:null,isRequest:X,resources:Re.map(n1).sort(Kb),showDeleteModal:!1,status:L,type:B})),allocationType:i,allowedActions:yz(u),endDate:l,entryDate:R,exchangeActionId:null,exchangeStatus:null,grantNumber:T,isMaximize:i=="Maximize",requestId:d,resources:y.map(n1).filter(O=>O.isCredit||O.allocated>0).sort(Kb),resourcesReason:"",showActionsModal:!1,showConfirmModal:!1,showResourcesModal:!1,startDate:g,status:b,timeStatus:E,type:p,usageDetail:null,usageDetailStatus:null,usesCredits:["Explore","Discover","Accelerate"].includes(i)};let N={};for(let O of A.actions)if(["Exchange","Transfer"].includes(O.type)&&["Submitted","Under Review"].includes(O.status)){A.exchangeActionId=O.actionId;for(let L of O.resources)N[L.resourceId]=L;for(let L of A.resources)L.resourceId in N&&(L.requested+=N[L.resourceId].requested,delete N[L.resourceId]);A.resources.push(...Object.values(N).map(L=>({...L,isNew:!0})));break}const j=A.allowedActions.Exchange||A.allowedActions.Transfer;if(j){N={};for(let O of j.resources)N[O.resourceId]=O;for(let O of A.resources)O.resourceId in N&&(O.questions=N[O.resourceId].questions||[])}!A.usesCredits&&y.length&&A.resources.push({allocated:0,decimalPlaces:0,icon:"credit",isActive:!0,isBoolean:!1,isCredit:!0,isFake:!0,name:"Credit Equivalents",requested:0,requires:[],resourceId:0,unit:"Credit Equivalents",unitCost:1,used:0}),n.requests[d]=A},yz=n=>{const r={};for(let{actionType:i,allowedResources:u,opportunityId:l,opportunityName:d}of n){let p={name:i,resources:u.map(n1).sort(Kb),opportunityId:l,opportunityName:d};i in r?(Array.isArray(r[i])||(r[i]=[r[i]]),r[i].push(p)):r[i]=p}return"Transfer"in r&&!("Exchange"in r)&&(r.Exchange=r.Transfer),r},nN=(n,r)=>n.relativeOrder<r.relativeOrder?-1:1,n1=({allocationState:n,amountAllocated:r,amountApproved:i,amountRequested:u,amountUsed:l,attributeSets:d,dependentResourceXrasIds:p,displayResourceName:y,endDate:g,exchangeRate:b,resourceRepositoryKey:E,resourceType:R,startDate:T,unitType:A,userGuideUrl:N,xrasResourceId:j})=>({allocated:Sp(KA(r,i)||0,0,"floor"),decimalPlaces:0,endDate:g,icon:A=="ACCESS Credits"?"credit":R.toLowerCase(),isActive:n=="active",isBoolean:A=="[Yes = 1, No = 0]",isCredit:A=="ACCESS Credits",isFake:!1,isUnderReview:!1,isNew:!1,name:y.trim(),questions:(d||[]).filter(({isActive:O})=>O).sort(nN).map(O=>({attributeSetId:O.attributeSetId,attributes:O.attributes.sort(nN).map(L=>({required:L.isRequired,resourceAttributeId:L.resourceAttributeId,label:L.attributeName})),fieldType:O.attributeSetRelationType,label:O.attributeSetName,resourceId:j,values:[]})),requested:Sp(KA(u,r)||0,0,"floor"),requires:p||[],resourceId:j,resourceRepositoryKey:E,startDate:T,type:R,unit:A,unitCost:A!="[Yes = 1, No = 0]"&&b?b:0,used:Sp(l||0,0,"ceil"),userGuideUrl:N}),C_=(n,r)=>(n=[...n].sort(),r=[...r].sort(),n.length===r.length&&n.every((i,u)=>i===r[u])),xb=(n,r)=>{const i=Kr(n,r);for(let u of i.actions)if(u.actionId==r.payload.actionId)return u},Us=(n,r)=>n.projects[r.payload.grantNumber],Kr=(n,r)=>n.requests[r.payload.requestId],bz=(n,r)=>Us(n,r).users.find(({username:i})=>i==r.payload.username),r1=({allocated:n,isActive:r,isCredit:i})=>n>0&&r&&!i,rN=n=>n.hasChanges=n.isNew||n.role!=n.initialRole||!C_(n.resourceIds,n.initialResourceIds),x_=()=>document.querySelector("meta[name=csrf-token]").content,Cz=async n=>{const r=new URLSearchParams({q:n});return(await(await fetch(`${On.routes.search_people_path()}?${r}`)).json()).map(({email:u,first_name:l,last_name:d,username:p,organization:y})=>({email:u,firstName:l,lastName:d,username:p,organization:y}))},kb=qu("api/fetchProjectsList",async(n,{rejectWithValue:r})=>{const i=await fetch(`${On.routes.projects_path()}.json`);return i.status==200?{username:n,projectsList:(await i.json()).result}:r({})}),E_=qu("api/fetchProjectDetail",async({grantNumber:n},{rejectWithValue:r})=>r({grantNumber:n})),S_=qu("api/fetchRequestDetail",async({grantNumber:n,requestId:r},{rejectWithValue:i})=>i({grantNumber:n,requestId:r})),Mb=qu("api/fetchUsageDetail",async({grantNumber:n,requestId:r,resourceRepositoryKey:i},{rejectWithValue:u})=>{const l=await fetch(`${On.routes.usage_detail_path(n,i)}.json`);return l.status==200?{grantNumber:n,requestId:r,resourceRepositoryKey:i,usageDetail:(await l.json()).usage}:u({grantNumber:n,requestId:r,resourceRepositoryKey:i})}),Lb=qu("api/deleteAction",async({actionId:n,requestId:r},{getState:i,rejectWithValue:u})=>{const l=i().api.requests[r],d=l.actions.find(b=>b.actionId==n);if(!d||!d.allowedOperations||!d.allowedOperations.includes("Delete"))return u({actionId:n,requestId:r});const p=On.routes.request_action_path(l.requestId,d.actionId),y={_method:"delete",authenticity_token:x_()};return(await fetch(p,{body:Object.keys(y).map(b=>`${encodeURIComponent(b)}=${encodeURIComponent(y[b])}`).join("&"),headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},method:"POST"})).status==200?{actionId:n,requestId:r}:u({actionId:n,requestId:r})}),Fb=qu("api/saveResources",async({requestId:n},{getState:r,rejectWithValue:i})=>{const u=r().api.requests[n],l={},d={};for(let{allocated:b,isFake:E,questions:R,requested:T,resourceId:A}of u.resources)if(T!=b&&!E){l[A]={resource_id:A,requested:1,amount:T-b};for(let{attributes:N,values:j,fieldType:O}of R)if(j.length){let L=N[0].resourceAttributeId,B=["drop_down","single_sel","multi_sel"].includes(O),U={resource_attribute_id:O=="multi_sel"?j:B?j[0]:L};B||(U.attribute_value=j[0]),d[L]=U}}const p={authenticity_token:x_(),request_action:{action_type:u.allowedActions.Exchange.name,user_comments:u.resourcesReason,resource_attributes:d},requested_resources:l},y=u.exchangeActionId?On.routes.request_action_path(u.requestId,u.exchangeActionId):On.routes.request_actions_path(u.requestId),g=await fetch(`${y}.json`,{body:JSON.stringify(p),headers:{"Content-Type":"application/json"},method:u.exchangeActionId?"PUT":"POST"});if(g.status==200){const b=parseInt(g.url.split("/").pop(),10);return{requestId:n,exchangeActionId:b}}return i({requestId:n})}),Pb=qu("api/saveUsers",async({grantNumber:n},{getState:r,rejectWithValue:i})=>{const l=r().api.projects[n].users,d=l.filter(b=>!C_(b.resourceIds,b.initialResourceIds)||b.isNew).length==0?[]:l.map(b=>({username:b.username,resources:b.resourceIds})),p=l.filter(b=>b.role!=b.initialRole).map(b=>({username:b.username,role:e1[b.role],initialRole:e1[b.initialRole]})),y={grantNumber:n,resourceChanges:d,roleChanges:p,authenticity_token:document.querySelector("meta[name=csrf-token]").content};return(await fetch(On.routes.projects_save_users_path(),{method:"POST",body:JSON.stringify(y),headers:{"Content-Type":"application/json"}})).status==200?{grantNumber:n}:i({grantNumber:n})}),w_=D1({name:"api",initialState:{error:null,projectsList:[],projectListLoading:!1,projects:{},requests:{},username:null},reducers:{addResource:(n,r)=>{const{resourceId:i}=r.payload,u=Kr(n,r),l=u.allowedActions.Exchange;if(!l)return;const d={};for(let g of l.resources)d[g.resourceId]=g;const p=u.resources.map(g=>g.resourceId),y=[i,...d[i].requires||[]].filter(g=>g in d&&!p.includes(g));u.resources.push(...y.map(g=>({...d[g],allocated:0,isNew:!0,used:0,requested:0})))},addUser:(n,r)=>{const i=Us(n,r),u=n.requests[i.currentRequestId],{user:l}=r.payload;i.users.map(({username:d})=>d).includes(l.username)||(i.users.push({...l,resourceIds:u.resources.filter(r1).map(d=>d.resourceId),role:"user",initialResourceIds:[],initialRole:"user",hasChanges:!0,isNew:!0}),i.usersNewRowIndex=i.users.length-1)},closeUsageDetailModal:(n,r)=>{const i=Kr(n,r);i.usageDetail=null,i.usageDetailStatus=null},resetResources:(n,r)=>{const i=Kr(n,r);i.resourcesReason="",i.resources=i.resources.filter(u=>u.isCredit||u.allocated).map(u=>({...u,requested:u.allocated}))},resetUsers:(n,r)=>{const i=Us(n,r);i.users=i.users.filter(({isNew:u})=>!u).map(u=>({...u,resourceIds:[...u.initialResourceIds],role:u.initialRole,hasChanges:!1}))},setRequest:(n,r)=>{const i=Us(n,r);i&&(i.selectedRequestId=r.payload.requestId,i.tab=="users"&&i.currentRequestId!=i.selectedRequestId&&(i.tab="overview"))},setResourceQuestionValues:(n,r)=>{const{attributeSetId:i,resourceId:u,values:l}=r.payload,d=Kr(n,r);for(let p of d.resources)if(p.resourceId==u){for(let y of p.questions)if(y.attributeSetId==i){y.values=l;break}break}},setResourceRequest:(n,r)=>{const{resourceId:i,requested:u}=r.payload,l=Kr(n,r);let d,p=0;for(let y of l.resources)y.resourceId==i&&(y.requested=u),y.isCredit?(d=y,p+=y.allocated*y.unitCost):p-=(y.requested-y.allocated)*y.unitCost;d&&(d.requested=Sp(p,d.decimalPlaces,"floor"))},setResourcesReason:(n,r)=>{const i=Kr(n,r);i.resourcesReason=r.payload.reason},setTab:(n,r)=>{const i=Us(n,r);i&&(i.tab=r.payload.tab)},setUserRole:(n,r)=>{const i=bz(n,r);i.role=r.payload.role,rN(i)},toggleActionsModal:(n,r)=>{const i=Kr(n,r);i.showActionsModal=!i.showActionsModal},toggleConfirmModal:(n,r)=>{const i=Kr(n,r);i.showConfirmModal=!i.showConfirmModal},toggleDeleteModal:(n,r)=>{const i=xb(n,r);i.showDeleteModal=!i.showDeleteModal},toggleResourcesModal:(n,r)=>{const i=Kr(n,r);i.showResourcesModal=!i.showResourcesModal},toggleUsersResources:(n,r)=>{const i=Us(n,r),u=n.requests[i.currentRequestId],{username:l,resourceId:d,checked:p}=r.payload,y=l?[i.users.find(g=>g.username==l)]:i.users;for(let g of y){if(d){let b=g.resourceIds.indexOf(d);p&&b==-1?g.resourceIds.push(d):!p&&b>=0&&g.resourceIds.splice(b,1)}else g.resourceIds=p?u.resources.filter(r1).map(({resourceId:b})=>b):[];rN(g)}}},extraReducers:n=>{n.addCase(kb.pending,r=>{r.projectListLoading=!0}).addCase(kb.fulfilled,(r,i)=>{i.payload.projectsList.sort((u,l)=>e0(u.requests[0])>e0(l.requests[0])?-1:1),r.username=i.payload.username,r.projectsList=i.payload.projectsList.map(u=>{const{grantNumber:l,requestMasterId:d,requests:p,status:y,title:g}=u,b=y||p&&(p.find(({timeStatus:E})=>E=="current")?"Active":p[0].timeStatus=="past"?"Inactive":p[0].status);return p&&mz(r,u,b),{grantNumber:l||d,status:b,title:g}}),r.projectListLoading=!1}).addCase(kb.rejected,r=>{r.error="Failed to load project list.",r.projectListLoading=!1}).addCase(E_.rejected,(r,i)=>{const{grantNumber:u}=i.payload;r.projects[u]={error:"Failed to load project data."}}).addCase(S_.rejected,(r,i)=>{const{requestId:u}=i.payload;r.requests[u]={error:"Failed to load request data."}}).addCase(Mb.pending,(r,i)=>{const u=Kr(r,{payload:i.meta.arg});u.usageDetailStatus=ea.pending}).addCase(Mb.fulfilled,(r,i)=>{const u=Kr(r,i);u.usageDetail=i.payload.usageDetail,u.usageDetailStatus=ea.success}).addCase(Mb.rejected,(r,i)=>{const u=Kr(r,i);u.usageDetailStatus=ea.error}).addCase(Lb.pending,(r,i)=>{const u=xb(r,{payload:i.meta.arg});u.deleteStatus=ea.pending}).addCase(Lb.fulfilled,(r,i)=>{const u=Kr(r,i),l=xb(r,i);l.isRequest?(u.error="This request has been deleted.",l.allowedOperations=[]):u.actions=u.actions.filter(d=>d.actionId!=l.actionId),l.deleteStatus=ea.success,l.showDeleteModal=!1}).addCase(Lb.rejected,(r,i)=>{const u=xb(r,i);u.deleteStatus=ea.error}).addCase(Fb.pending,(r,i)=>{const u=Kr(r,{payload:i.meta.arg});u.exchangeStatus=ea.pending,u.showResourcesModal=!1}).addCase(Fb.fulfilled,(r,i)=>{const u=Kr(r,i);u.exchangeActionId=i.payload.exchangeActionId,u.exchangeStatus=ea.success}).addCase(Fb.rejected,(r,i)=>{const u=Kr(r,i);u.exchangeStatus=ea.error}).addCase(Pb.pending,(r,i)=>{const u=Us(r,{payload:i.meta.arg});u.usersStatus=ea.pending}).addCase(Pb.fulfilled,(r,i)=>{const u=Us(r,i);u.users=u.users.map(l=>({...l,initialResourceIds:[...l.resourceIds],initialRole:l.role,hasChanges:!1,isNew:!1})),u.usersStatus=ea.success}).addCase(Pb.rejected,(r,i)=>{const u=Us(r,i);u.usersStatus=ea.error})}}),xz=n=>n.api.error,Ez=n=>n.api.projectsList,Sz=n=>n.api.projectListLoading,wz=(n,r)=>Us(n.api,{payload:{grantNumber:r}}),Rz=(n,r)=>Kr(n.api,{payload:{requestId:r}}),Tz=n=>n.api.username,{addResource:Iz,addUser:Az,closeUsageDetailModal:Nz,hideAlert:jZ,resetResources:Oz,resetUsers:_z,setRequest:Dz,setResourceQuestionValues:jz,setResourceRequest:kz,setResourcesReason:Mz,setTab:Lz,setUserRole:Fz,toggleActionsModal:Pz,toggleConfirmModal:Vz,toggleDeleteModal:Bz,toggleResourcesModal:zz,toggleUsersResources:Hz}=w_.actions,Uz=w_.reducer,Gz=n=>{const r=Pa(xz),i=Pa(Sz),u=Pa(Ez),l=Qu();return M.useEffect(()=>{l(kb(n))},[]),{error:r,loading:i,projects:u}},$i=(n,r)=>{const i=Pa(d=>wz(d,n)),u=Pa(Tz),l=Qu();return M.useEffect(()=>{!i&&!r&&l(E_({grantNumber:n}))},[r]),{project:i,addUser:d=>l(Az({grantNumber:n,user:d})),resetUsers:()=>l(_z({grantNumber:n})),saveUsers:()=>l(Pb({grantNumber:n})),setRequest:d=>l(Dz({grantNumber:n,requestId:d})),setTab:d=>l(Lz({grantNumber:n,tab:d})),setUserRole:(d,p)=>l(Fz({grantNumber:n,username:d,role:p})),statuses:ea,toggleUsersResources:(d,p,y)=>l(Hz({grantNumber:n,username:p,resourceId:y,checked:d})),username:u}},ti=(n,r)=>{const i=Pa(l=>Rz(l,n)),u=Qu();return M.useEffect(()=>{i||u(S_({grantNumber:r,requestId:n}))},[r,n]),{request:i,addResource:l=>u(Iz({requestId:n,resourceId:l})),closeUsageDetailModal:()=>u(Nz({requestId:n})),deleteAction:l=>u(Lb({actionId:l,requestId:n})),openUsageDetailModal:l=>u(Mb({grantNumber:i.grantNumber,requestId:n,resourceRepositoryKey:l})),resetResources:()=>u(Oz({requestId:n})),saveResources:()=>u(Fb({requestId:n})),setResourceQuestionValues:(l,d,p)=>u(jz({requestId:n,resourceId:l,attributeSetId:d,values:p})),setResourceRequest:(l,d)=>u(kz({requestId:n,resourceId:l,requested:d})),setResourcesReason:l=>u(Mz({requestId:n,reason:l})),statuses:ea,toggleActionsModal:()=>u(Pz({requestId:n})),toggleConfirmModal:()=>u(Vz({requestId:n})),toggleDeleteModal:l=>u(Bz({requestId:n,actionId:l})),toggleResourcesModal:()=>u(zz({requestId:n}))}},ba=({children:n,color:r})=>C.jsx("div",{className:`alert alert-${r} mt-3`,role:"alert",children:n}),$z="_project_qqnbz_1",Wz="_expand_qqnbz_5",aN={project:$z,expand:Wz};var a1={exports:{}},i1={exports:{}},Sn={};/** @license React v16.13.1
270
+ `),Ne}qb(()=>{ie.current=void 0,xe.current=void 0,q.current=Ve});const Ke=Qt.useMemo(()=>Qt.createElement(O,{...Ve,ref:Re}),[Re,O,Ve]);return Qt.useMemo(()=>N?Qt.createElement(pe.Provider,{value:F},Ke):Ke,[pe,Ke,F])}const G=Qt.memo(U);if(G.WrappedComponent=O,G.displayName=U.displayName=B,g){const te=Qt.forwardRef(function(ue,pe){return Qt.createElement(G,{...ue,reactReduxForwardedRef:pe})});return te.displayName=B,te.WrappedComponent=O,QS(te,O)}return QS(G,O)}}var qo=V4;function B4({store:n,context:r,children:i,serverState:u,stabilityCheck:l="once",identityFunctionCheck:d="once"}){const p=Qt.useMemo(()=>{const b=d_(n);return{store:n,subscription:b,getServerState:u?()=>u:void 0,stabilityCheck:l,identityFunctionCheck:d}},[n,u,l,d]),y=Qt.useMemo(()=>n.getState(),[n]);qb(()=>{const{subscription:b}=p;return b.onStateChange=b.notifyNestedSubs,b.trySubscribe(),y!==n.getState()&&b.notifyNestedSubs(),()=>{b.tryUnsubscribe(),b.onStateChange=void 0}},[p,y]);const g=r||Yu;return Qt.createElement(g.Provider,{value:p},i)}var Sm=B4;function h_(n=Yu){const r=n===Yu?e_:k1(n),i=()=>{const{store:u}=r();return u};return Object.assign(i,{withTypes:()=>i}),i}var z4=h_();function H4(n=Yu){const r=n===Yu?z4:h_(n),i=()=>r().dispatch;return Object.assign(i,{withTypes:()=>i}),i}var Qu=H4();QB(JB.useSyncExternalStoreWithSelector);D4(M.useSyncExternalStore);const KS={user:{colors:["#ffc42d","#fea92c","#f98f30","#f07537"]},rp:{colors:["#48c0b9","#2e9da4","#207b8b","#1a5b6e"]}},yS={};function m_(n,r=3){let i=0;for(;n/Math.pow(1e3,i)>1e3;)i+=1;const u=n.toString().length,l=Math.pow(10,u-r);return(Math.round(n/l)*l/Math.pow(1e3,i)).toString()+["","K","M","B","T"][i]}async function U4(){return await(await fetch("https://basemaps-api.arcgis.com/arcgis/rest/services/styles/ArcGIS:Community?type=style&token=AAPK220079f462f24fda89c27fa210c3f887EJPCECuukKD8PnCIBqktgGTKZWPlVXWjRoSsZYGkOJ12QemGItZ4liRZkcUzYyme")).json()}async function G4(n){if(yS[n])return yS[n];const r=document.location,i=`${r.protocol}//${r.host}${r.pathname}`,l=await(await fetch(`${i}/${n}`)).json();return yS[n]=l,l}function $4(n){const r=[...n.creditLines.features.map(u=>u.properties.credits)],i=[...n.rpPoints.features.map(u=>u.properties.rpCredits),...n.userPoints.features.map(u=>u.properties.userCredits)];return{lines:ZA(r),points:ZA(i)}}function YA({activeOrg:n,basemapStyle:r,creditLevels:i,creditType:u,geoJSON:l,organizationType:d}){const p={},y=[];if(l&&i){const b=d==="user"?"rp":"user",E=l[`${d}Points`],w=l[`${b}Points`],T=`${d}Credits`,A=`${b}Credits`;p.organizations={type:"geojson",data:E};const N={user:[],rp:[]},j=[];i.points.forEach((L,B)=>{Object.keys(KS).forEach(P=>{N[P].push(L[1],KS[P].colors[B])}),j.push(L[1],5*(B+1))});const O=[];if(i.lines.forEach((L,B)=>{O.push(L[1],1*(B+1))}),y.push({id:"organizations",type:"circle",source:"organizations",paint:{"circle-radius":["interpolate",["linear"],["get",T],...j],"circle-color":["interpolate",["linear"],["get",T],...N[d]],"circle-opacity":n?["match",["id"],n.id,1,.3]:1,"circle-stroke-color":"#ffffff","circle-stroke-width":1}}),n&&u!=="allocated"){p.opp={type:"geojson",data:w};const L=["get",n.id.toString(),["get",`${A}Map`]];y.push({id:"opp",type:"circle",source:"opp",filter:["has",n.id.toString(),["get",`${A}Map`]],paint:{"circle-radius":["interpolate",["linear"],L,...j],"circle-color":["interpolate",["linear"],L,...N[b]],"circle-stroke-color":"#ffffff","circle-stroke-width":1}}),p.credits={type:"geojson",data:l.creditLines},y.push({id:"credits",type:"line",source:"credits",filter:["==",["get",`${d}_organization_id`],n.id],paint:{"line-color":"#444444","line-opacity":.4,"line-width":["interpolate",["linear"],["get","credits"],...O]}})}}const g=r||{version:8,sources:{},layers:[]};return{...g,sources:{...g.sources,...p},layers:[...g.layers.filter(b=>b.id!=="Marine waterbody/label/2x large"),...y]}}function W4(n,r,i,u,l=20){return[...Array(l+1).keys()].map(d=>d/l).map(d=>{let p=d*(i-n)+n,y=d*(u-r)+r+Math.abs(Math.sin(d*Math.PI)*(i-n)*.1);return[p,y]})}function X4(n,r,i){const u={};return n.features.forEach(d=>u[d.id]={type:d.type,geometry:d.geometry,id:d.id,properties:{name:d.properties.name,abbr:d.properties.abbr,userCredits:0,userCreditsMap:{},rpCredits:0,rpCreditsMap:{}}},{}),{creditLines:{type:"FeatureCollection",features:r.result.filter(d=>u[d.user_organization_id]!==void 0&&(i==="allocated"||u[d.rp_organization_id]!==void 0)).map(d=>{const p=u[d.user_organization_id],y=u[d.rp_organization_id];if(p.properties.userCredits+=d.credits,y&&(y.properties.rpCredits+=d.credits),p.properties.userCreditsMap[d.rp_organization_id]=(p.properties.userCreditsMap[d.rp_organization_id]||0)+d.credits,y&&(y.properties.rpCreditsMap[d.user_organization_id]=(y.properties.rpCreditsMap[d.user_organization_id]||0)+d.credits),i!=="allocated")return{type:"Feature",geometry:{type:"LineString",coordinates:W4(...u[d.user_organization_id].geometry.coordinates,...u[d.rp_organization_id].geometry.coordinates)},properties:d}}).filter(d=>d!==void 0)},userPoints:{type:"FeatureCollection",features:Object.values(u).filter(d=>d.properties.userCredits>0).sort((d,p)=>d.properties.userCredits>p.properties.userCredits?-1:1)},rpPoints:{type:"FeatureCollection",features:Object.values(u).filter(d=>d.properties.rpCredits>0).sort((d,p)=>d.properties.rpCredits>p.properties.rpCredits?-1:1)}}}function ZA(n,r=[0,.3,.6,.9]){return r.map((i,u)=>{const l=Y4(n,i),d=u===r.length-1?"+":"";return[`${m_(Math.round(l))}${d}`,l]})}function Y4(n,r){n.sort((d,p)=>d-p);const i=(n.length-1)*r,u=Math.floor(i),l=i-u;return n[u+1]!==void 0?n[u]+l*(n[u+1]-n[u]):n[u]}const Z4="_fullscreen_1iid9_6",J4="_map_1iid9_14",Cb={"allocations-map":"_allocations-map_1iid9_1",fullscreen:Z4,map:J4},q4="_group_11k83_1",Q4="_button_11k83_6",K4="_icon_11k83_16",bS={group:q4,button:Q4,icon:K4};function JA({choices:n,disabledValues:r=[],label:i,value:u,setValue:l}){const d=[];return n.forEach(([p,y])=>d.push(C.jsx("input",{type:"radio",className:"btn-check",name:p,id:p,autoComplete:"off",checked:u===p,onChange:()=>l(p),disabled:r.includes(p)},p),C.jsxs("label",{className:`btn btn-outline-primary ${bS.button}`,htmlFor:p,disabled:r.includes(p),children:[u===p?C.jsx("i",{className:`bi bi-check ${bS.icon}`}):null," ",y]},`${p}-label`))),C.jsx("div",{className:"mb-2",children:C.jsx("div",{className:`btn-group ${bS.group}`,role:"group","aria-label":i,children:d})})}const ez="_controls_1be4t_1",tz={controls:ez};function nz({creditType:n,organizationType:r,setCreditType:i,setOrganizationType:u}){return C.jsxs("div",{className:tz.controls,children:[C.jsx("h2",{children:"ACCESS Allocations"}),C.jsx(JA,{choices:[["allocated","Allocations"],["exchanged","Exchanges"],["used","Usage"]],label:"Credit Type",value:n,setValue:i}),C.jsx(JA,{choices:[["user","By Research Institution"],["rp","By Resource Provider"]],disabledValues:n==="allocated"?["rp"]:[],label:"Organization Type",value:r,setValue:u})]})}const rz="_legend_odgg9_1",az="_symbols_odgg9_17",iz="_symbol_odgg9_17",Db={legend:rz,symbols:az,symbol:iz};function oz(n,r){const i=2*n+2;return C.jsx("svg",{viewBox:`0 0 ${i} ${i}`,xmlns:"http://www.w3.org/2000/svg",stroke:"white",strokeWidth:"1",height:i,width:i,children:C.jsx("circle",{fill:r,cx:n+1,cy:n+1,r:n})})}function sz({activeOrg:n,creditLevels:r,organizationType:i}){if(n||!r)return;const u=r.points.map((l,d)=>C.jsxs("div",{className:Db.symbol,children:[oz(5*(d+1),KS[i].colors[d]),C.jsx("br",{}),C.jsx("span",{className:"label",children:l[0]})]},l[0]));return C.jsxs("div",{className:Db.legend,children:[C.jsxs("h2",{className:"fs-6 mt-0 mb-0",children:["ACCESS Credits ",C.jsx("small",{children:"or credit equivalents"})]}),C.jsx("div",{className:Db.symbols,children:u})]})}const uz="_info_oxxoh_1",lz="_user_oxxoh_7",cz="_rp_oxxoh_10",fz="_credits_oxxoh_15",jb={info:uz,user:lz,rp:cz,credits:fz};function qA(n,r,i){n.sort((l,d)=>d[1]-l[1]);const u=n.slice(0,3).map(l=>l[0]);return n.length>3&&(u[2]=`${n.length-2} other ${i}s`),u.reduce((l,d,p,y)=>[l,C.jsx("span",{className:`name ${jb[r]}`,children:d},d),[""," and ",", "][y.length-p-1]],[])}function dz({activeOrg:n,creditType:r,organizationMap:i,organizationType:u}){if(!n||!i)return;const l=n.properties,d=l[`${u}Credits`],p=u==="rp"?"user":"rp",y=JSON.parse(l[`${u}CreditsMap`]),g={user:[],rp:[]};return g[u].push([l.name,d]),Object.keys(y).forEach(b=>g[p].push([i[b],y[b]])),C.jsx("div",{className:`${Db.legend} ${jb.info}`,children:C.jsxs("p",{className:jb[u],children:["Researchers at ",qA(g.user,"user","research institution")," ",r==="allocated"?"were ":"",r," ",C.jsxs("span",{className:jb.credits,children:[m_(d)," ACCESS Credits"]}),r!=="allocated"?C.jsxs(C.Fragment,{children:[" ",r==="exchanged"?"for":"on"," resources at"," ",qA(g.rp,"rp","resource provider")]}):"","."]})})}function pz(){const n=M.useRef(null),r=M.useRef(null),[i,u]=M.useState(null),[l,d]=M.useState(null),[p,y]=M.useState(null),[g,b]=M.useState(!1),[E,w]=M.useState(null),[T,A]=M.useState(null),[N,j]=M.useState(null),[O,L]=M.useState("user"),[B,P]=M.useState("exchanged");return M.useEffect(()=>{(async()=>d(await U4()))()},[]),M.useEffect(()=>{(async U=>{const[z,G]=await Promise.all(["organizations",`credits_${U}`].map(G4));if(!N){const te={};z.features.forEach(Re=>te[Re.id.toString()]=Re.properties.name),j(te)}const X=X4(z,G,B);w(X),U==="exchanged"&&!p&&y($4(X))})(B)},[B]),M.useEffect(()=>{T&&T.setStyle(YA({activeOrg:i,basemapStyle:l,creditLevels:p,creditType:B,geoJSON:E,organizationType:O}))},[i,E,T,O]),M.useEffect(()=>{T&&(T.on("mousemove","organizations",U=>u(U.features.length?U.features[0]:null)),T.on("mouseleave","organizations",()=>u(null)))},[T]),M.useEffect(()=>{T&&T.resize()},[g]),M.useEffect(()=>{B==="allocated"&&L("user")},[B]),M.useLayoutEffect(()=>A(new maplibregl.Map({container:r.current,style:YA({activeOrg:i,basemapStyle:l,creditLevels:p,creditType:B,geoJSON:E,organizationType:O}),center:[-111.01,38.88],zoom:3.4,hash:!0})),[]),M.useLayoutEffect(()=>n.current.addEventListener("keydown",U=>{U.key==="Escape"&&b(!1)}),[]),C.jsxs("section",{className:`${Cb["allocations-map"]} ${g?Cb.fullscreen:"border border-3 border-primary"}`,ref:n,children:[C.jsx("div",{className:Cb.map,ref:r}),C.jsx(nz,{creditType:B,fullscreen:g,organizationType:O,setCreditType:P,setFullscreen:b,setOrganizationType:L}),C.jsx(sz,{activeOrg:i,creditLevels:p,organizationType:O}),C.jsx(dz,{activeOrg:i,creditType:B,organizationMap:N,organizationType:O}),C.jsx("button",{title:`${g?"Exit":"Enter"} Fullscreen`,className:Cb.fullscreen,onClick:()=>b(!g),children:C.jsx("i",{className:`bi ${g?"bi-fullscreen-exit":"bi-arrows-fullscreen"}`,"aria-label":"Fullscreen"})})]})}const Bu="https://allocations.access-ci.org",On={creditAlertThreshold:1e3,resourceTypeIcons:{credit:"cash-coin",compute:"cpu-fill",storage:"hdd-fill",program:"person-square"},routes:{edit_request_action_path:(n,r)=>`/requests/${n}/actions/${r}/edit`,edit_request_path:n=>`/requests/${n}/edit`,how_to_path:()=>"/how-to",get_your_first_project_path:()=>`${Bu}/get-your-first-project`,project_types_path:()=>`${Bu}/project-types`,projects_path:()=>`${Bu}/projects`,projects_save_users_path:()=>"/projects/save_users",renew_request_path:n=>`${Bu}/requests/${n}/renew`,request_action_path:(n,r)=>`${Bu}/requests/${n}/actions/${r}`,request_actions_path:n=>`${Bu}/requests/${n}/actions`,request_path:n=>`${Bu}/requests/${n}`,resources_path:()=>`${Bu}/resources`,search_people_path:()=>`${Bu}/search/people`,usage_detail_path:(n,r)=>`/usage/${n}/${r}`},roleIcons:{PI:"person-fill-check","Co-PI":"person-fill-add","Allocation Manager":"person-fill-gear",User:"people-fill"}};function Qb({color:n="primary",href:r,icon:i,onClick:u,target:l,title:d}){const p=C.jsx("i",{className:`bi bi-${i}`}),y={className:`btn btn-sm ms-1 text-${n}`,href:r,onClick:u,style:{"--bs-btn-padding-x":"0.1rem","--bs-btn-padding-y":"0.1rem","--bs-btn-line-height":"1"},target:l,title:d};return r?C.jsx("a",{...y,children:p}):C.jsx("button",{...y,children:p})}const Sp=(n,r,i="round")=>{const u=Math.pow(10,r||0);return Math[i](n*u)/u},vz=n=>new Date(`${n}T00:00:00`),hz={year:"numeric",month:"short",day:"numeric"},wp=(n,r)=>vz(n).toLocaleString("en-us",r||hz),ei=(n,{abbreviate:r=!1,decimalPlaces:i=void 0}={})=>{if(r){let u=0;for(;Math.abs(n)/Math.pow(1e3,u)>=1e3;)u+=1;const l=["","K","M","B","T","Q"][u];return`${(n/Math.pow(1e3,u)).toLocaleString("en-US",{maximumSignificantDigits:3})}${l}`}return n.toLocaleString("en-US",{maximumFractionDigits:i,minimumFractionDigits:i})},V1=(n,r)=>{if(n.startDate&&n.endDate){const l=wp(n.startDate,r),d=wp(n.endDate,r);return`${n.allocationType}: ${l} to ${d}`}const i=wp(n.entryDate,r),u=n.status=="Incomplete"?"Started":"Submitted";return`${n.allocationType}: ${u} ${i}`},dc=n=>C.jsx("i",{className:`bi bi-${n}`}),S0=n=>{const r=n.match(/^([^\(\)]+) (\(([^\)]+)\))?$/);return{full:n,short:r&&r[3]||null}},Sf=(n,{userGuide:r=!0}={})=>{const{full:i,short:u}=S0(n.name),l=u?C.jsx("abbr",{title:i,children:u}):i;return C.jsxs(C.Fragment,{children:[dc(On.resourceTypeIcons[n.icon])," ",l,!n.isCredit&&n.userGuideUrl&&r?C.jsx(Qb,{icon:"book",href:n.userGuideUrl,target:"_blank",title:`${n.name} User Guide`}):null]})},QA=n=>{const r=S0(n.name);return r.short||r.full},Kb=(n,r)=>n.isCredit>r.isCredit||n.isActive>r.isActive||QA(n)<QA(r)?-1:1,KA=(...n)=>{for(let r of n)if(r!=null)return r;return null},g_=(n,r="and",i=", ")=>n.reduce((u,l,d)=>C.jsxs(C.Fragment,{children:[u,n.length-1>d?i:` ${r} `,l]})),B1=n=>n?C.jsxs(C.Fragment,{children:[dc("check-circle")," Yes"]}):C.jsxs(C.Fragment,{children:[dc("x-circle")," No"]}),z1=n=>g_(n.users.filter(({role:r})=>["pi","co_pi","allocation_manager"].includes(r)).map(r=>`${r.firstName} ${r.lastName}`),"or"),eN=(n,r)=>r==1&&n.endsWith("s")?n.slice(0,-1):n,y_=n=>{let r=0,i=0;for(let u of n.resources)u.isBoolean||(r+=u.allocated*u.unitCost,i+=Math.min(u.used,u.allocated)*u.unitCost);return r>0?i/r:0},w0=[{role:"pi",name:"PI",xrasRole:"PI"},{role:"co_pi",name:"Co-PI",xrasRole:"CoPI"},{role:"allocation_manager",name:"Allocation Manager",xrasRole:"Allocation Manager"},{role:"user",name:"User",xrasRole:"User"}],b_={};for(let n of w0)b_[n.role]=n;const e1={};for(let{role:n,xrasRole:r}of w0)e1[n]=r;const t1=["info","success","secondary","warning","danger"],ea={error:"error",pending:"pending",success:"success"},e0=n=>n.endDate||n.startDate||(n.actions[0]||{}).entryDate,tN=n=>`${{pi:"01",co_pi:"02",allocation_manager:"03"}[n.role]||"04"} ${n.lastName}, ${n.firstName}`,mz=(n,{grantNumber:r,projectManager:i,requestMasterId:u,requests:l,title:d,users:p},y)=>{r=r||u,l.sort((E,w)=>e0(E)>e0(w)?-1:1);const g=l.find(E=>E.timeStatus=="current"),b=g?g.requestId:null;n.projects[r]={currentRequestId:b,grantNumber:r,isManager:i,requestsList:l.map(E=>{const{actions:w,allocationType:T,endDate:A,requestId:N,startDate:j,status:O}=E,L=w.map(({entryDate:B})=>B).sort()[0].split("T")[0];return gz(n,E,{entryDate:L,grantNumber:r}),{allocationType:T,endDate:A,entryDate:L,requestId:N,startDate:j,status:O}}),selectedRequestId:b||l[0].requestId,status:y,tab:"overview",title:d,users:p.map(({email:E,firstName:w,lastName:T,organization:A,resources:N,role:j,username:O})=>{const L=N.filter(G=>G.userAccountState=="active"&&G.unitType!="ACCESS Credits"),B=L.map(G=>G.xrasResourceId),P=L.filter(G=>G.resourceProviderState=="pending-active").map(G=>G.xrasResourceId),U=N.filter(G=>G.userAccountState!="active").map(G=>G.xrasResourceId),z={};for(let G of L)z[G.xrasResourceId]=G.resourceUsername;return{email:E,firstName:w,initialResourceIds:[...B],initialRole:j,lastName:T,organization:A,resourceAccountPendingIds:P,resourceAccountInactiveIds:U,resourceIds:B,resourceUsernames:z,role:j,username:O}}).sort((E,w)=>tN(E)<tN(w)?-1:1),usersNewRowIndex:0,usersStatus:null},n.projects[r].currentUser=n.projects[r].users.find(({username:E})=>E==n.username)},gz=(n,{actions:r,allocationType:i,allowedActions:u,endDate:l,requestId:d,requestType:p,resources:y,startDate:g,status:b,timeStatus:E},{entryDate:w,grantNumber:T})=>{y=y||[];const A={actions:r.map(({actionId:O,actionStatusType:L,actionType:B,allowedOperations:P,approvedStartDate:U,detailAvailable:z,entryDate:G,isRequest:X,requestedStartDate:te,resources:Re})=>({actionId:O,allowedOperations:P,detailAvailable:z,date:(U||te||G).split("T")[0],deleteStatus:null,isRequest:X,resources:Re.map(n1).sort(Kb),showDeleteModal:!1,status:L,type:B})),allocationType:i,allowedActions:yz(u),endDate:l,entryDate:w,exchangeActionId:null,exchangeStatus:null,grantNumber:T,isMaximize:i=="Maximize",requestId:d,resources:y.map(n1).filter(O=>O.isCredit||O.allocated>0).sort(Kb),resourcesReason:"",showActionsModal:!1,showConfirmModal:!1,showResourcesModal:!1,startDate:g,status:b,timeStatus:E,type:p,usageDetail:null,usageDetailStatus:null,usesCredits:["Explore","Discover","Accelerate"].includes(i)};let N={};for(let O of A.actions)if(["Exchange","Transfer"].includes(O.type)&&["Submitted","Under Review"].includes(O.status)){A.exchangeActionId=O.actionId;for(let L of O.resources)N[L.resourceId]=L;for(let L of A.resources)L.resourceId in N&&(L.requested+=N[L.resourceId].requested,delete N[L.resourceId]);A.resources.push(...Object.values(N).map(L=>({...L,isNew:!0})));break}const j=A.allowedActions.Exchange||A.allowedActions.Transfer;if(j){N={};for(let O of j.resources)N[O.resourceId]=O;for(let O of A.resources)O.resourceId in N&&(O.questions=N[O.resourceId].questions||[])}!A.usesCredits&&y.length&&A.resources.push({allocated:0,decimalPlaces:0,icon:"credit",isActive:!0,isBoolean:!1,isCredit:!0,isFake:!0,name:"Credit Equivalents",requested:0,requires:[],resourceId:0,unit:"Credit Equivalents",unitCost:1,used:0}),n.requests[d]=A},yz=n=>{const r={};for(let{actionType:i,allowedResources:u,opportunityId:l,opportunityName:d}of n){let p={name:i,resources:u.map(n1).sort(Kb),opportunityId:l,opportunityName:d};i in r?(Array.isArray(r[i])||(r[i]=[r[i]]),r[i].push(p)):r[i]=p}return"Transfer"in r&&!("Exchange"in r)&&(r.Exchange=r.Transfer),r},nN=(n,r)=>n.relativeOrder<r.relativeOrder?-1:1,n1=({allocationState:n,amountAllocated:r,amountApproved:i,amountRequested:u,amountUsed:l,attributeSets:d,dependentResourceXrasIds:p,displayResourceName:y,endDate:g,exchangeRate:b,resourceRepositoryKey:E,resourceType:w,startDate:T,unitType:A,userGuideUrl:N,xrasResourceId:j})=>({allocated:Sp(KA(r,i)||0,0,"floor"),decimalPlaces:0,endDate:g,icon:A=="ACCESS Credits"?"credit":w.toLowerCase(),isActive:n=="active",isBoolean:A=="[Yes = 1, No = 0]",isCredit:A=="ACCESS Credits",isFake:!1,isUnderReview:!1,isNew:!1,name:y.trim(),questions:(d||[]).filter(({isActive:O})=>O).sort(nN).map(O=>({attributeSetId:O.attributeSetId,attributes:O.attributes.sort(nN).map(L=>({required:L.isRequired,resourceAttributeId:L.resourceAttributeId,label:L.attributeName})),fieldType:O.attributeSetRelationType,label:O.attributeSetName,resourceId:j,values:[]})),requested:Sp(KA(u,r)||0,0,"floor"),requires:p||[],resourceId:j,resourceRepositoryKey:E,startDate:T,type:w,unit:A,unitCost:A!="[Yes = 1, No = 0]"&&b?b:0,used:Sp(l||0,0,"ceil"),userGuideUrl:N}),C_=(n,r)=>(n=[...n].sort(),r=[...r].sort(),n.length===r.length&&n.every((i,u)=>i===r[u])),xb=(n,r)=>{const i=Kr(n,r);for(let u of i.actions)if(u.actionId==r.payload.actionId)return u},Us=(n,r)=>n.projects[r.payload.grantNumber],Kr=(n,r)=>n.requests[r.payload.requestId],bz=(n,r)=>Us(n,r).users.find(({username:i})=>i==r.payload.username),r1=({allocated:n,isActive:r,isCredit:i})=>n>0&&r&&!i,rN=n=>n.hasChanges=n.isNew||n.role!=n.initialRole||!C_(n.resourceIds,n.initialResourceIds),x_=()=>document.querySelector("meta[name=csrf-token]").content,Cz=async n=>{const r=new URLSearchParams({q:n});return(await(await fetch(`${On.routes.search_people_path()}?${r}`)).json()).map(({email:u,first_name:l,last_name:d,username:p,organization:y})=>({email:u,firstName:l,lastName:d,username:p,organization:y}))},kb=qu("api/fetchProjectsList",async(n,{rejectWithValue:r})=>{const i=await fetch(`${On.routes.projects_path()}.json`);return i.status==200?{username:n,projectsList:(await i.json()).result}:r({})}),E_=qu("api/fetchProjectDetail",async({grantNumber:n},{rejectWithValue:r})=>r({grantNumber:n})),S_=qu("api/fetchRequestDetail",async({grantNumber:n,requestId:r},{rejectWithValue:i})=>i({grantNumber:n,requestId:r})),Mb=qu("api/fetchUsageDetail",async({grantNumber:n,requestId:r,resourceRepositoryKey:i},{rejectWithValue:u})=>{const l=await fetch(`${On.routes.usage_detail_path(n,i)}.json`);return l.status==200?{grantNumber:n,requestId:r,resourceRepositoryKey:i,usageDetail:(await l.json()).usage}:u({grantNumber:n,requestId:r,resourceRepositoryKey:i})}),Lb=qu("api/deleteAction",async({actionId:n,requestId:r},{getState:i,rejectWithValue:u})=>{const l=i().api.requests[r],d=l.actions.find(b=>b.actionId==n);if(!d||!d.allowedOperations||!d.allowedOperations.includes("Delete"))return u({actionId:n,requestId:r});const p=On.routes.request_action_path(l.requestId,d.actionId),y={_method:"delete",authenticity_token:x_()};return(await fetch(p,{body:Object.keys(y).map(b=>`${encodeURIComponent(b)}=${encodeURIComponent(y[b])}`).join("&"),headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},method:"POST"})).status==200?{actionId:n,requestId:r}:u({actionId:n,requestId:r})}),Fb=qu("api/saveResources",async({requestId:n},{getState:r,rejectWithValue:i})=>{const u=r().api.requests[n],l={},d={};for(let{allocated:b,isFake:E,questions:w,requested:T,resourceId:A}of u.resources)if(T!=b&&!E){l[A]={resource_id:A,requested:1,amount:T-b};for(let{attributes:N,values:j,fieldType:O}of w)if(j.length){let L=N[0].resourceAttributeId,B=["drop_down","single_sel","multi_sel"].includes(O),U={resource_attribute_id:O=="multi_sel"?j:B?j[0]:L};B||(U.attribute_value=j[0]),d[L]=U}}const p={authenticity_token:x_(),request_action:{action_type:u.allowedActions.Exchange.name,user_comments:u.resourcesReason,resource_attributes:d},requested_resources:l},y=u.exchangeActionId?On.routes.request_action_path(u.requestId,u.exchangeActionId):On.routes.request_actions_path(u.requestId),g=await fetch(`${y}.json`,{body:JSON.stringify(p),headers:{"Content-Type":"application/json"},method:u.exchangeActionId?"PUT":"POST"});if(g.status==200){const b=parseInt(g.url.split("/").pop(),10);return{requestId:n,exchangeActionId:b}}return i({requestId:n})}),Pb=qu("api/saveUsers",async({grantNumber:n},{getState:r,rejectWithValue:i})=>{const l=r().api.projects[n].users,d=l.filter(b=>!C_(b.resourceIds,b.initialResourceIds)||b.isNew).length==0?[]:l.map(b=>({username:b.username,resources:b.resourceIds})),p=l.filter(b=>b.role!=b.initialRole).map(b=>({username:b.username,role:e1[b.role],initialRole:e1[b.initialRole]})),y={grantNumber:n,resourceChanges:d,roleChanges:p,authenticity_token:document.querySelector("meta[name=csrf-token]").content};return(await fetch(On.routes.projects_save_users_path(),{method:"POST",body:JSON.stringify(y),headers:{"Content-Type":"application/json"}})).status==200?{grantNumber:n}:i({grantNumber:n})}),w_=D1({name:"api",initialState:{error:null,projectsList:[],projectListLoading:!1,projects:{},requests:{},username:null},reducers:{addResource:(n,r)=>{const{resourceId:i}=r.payload,u=Kr(n,r),l=u.allowedActions.Exchange;if(!l)return;const d={};for(let g of l.resources)d[g.resourceId]=g;const p=u.resources.map(g=>g.resourceId),y=[i,...d[i].requires||[]].filter(g=>g in d&&!p.includes(g));u.resources.push(...y.map(g=>({...d[g],allocated:0,isNew:!0,used:0,requested:0})))},addUser:(n,r)=>{const i=Us(n,r),u=n.requests[i.currentRequestId],{user:l}=r.payload;i.users.map(({username:d})=>d).includes(l.username)||(i.users.push({...l,resourceIds:u.resources.filter(r1).map(d=>d.resourceId),role:"user",initialResourceIds:[],initialRole:"user",hasChanges:!0,isNew:!0}),i.usersNewRowIndex=i.users.length-1)},closeUsageDetailModal:(n,r)=>{const i=Kr(n,r);i.usageDetail=null,i.usageDetailStatus=null},resetResources:(n,r)=>{const i=Kr(n,r);i.resourcesReason="",i.resources=i.resources.filter(u=>u.isCredit||u.allocated).map(u=>({...u,requested:u.allocated}))},resetUsers:(n,r)=>{const i=Us(n,r);i.users=i.users.filter(({isNew:u})=>!u).map(u=>({...u,resourceIds:[...u.initialResourceIds],role:u.initialRole,hasChanges:!1}))},setRequest:(n,r)=>{const i=Us(n,r);i&&(i.selectedRequestId=r.payload.requestId,i.tab=="users"&&i.currentRequestId!=i.selectedRequestId&&(i.tab="overview"))},setResourceQuestionValues:(n,r)=>{const{attributeSetId:i,resourceId:u,values:l}=r.payload,d=Kr(n,r);for(let p of d.resources)if(p.resourceId==u){for(let y of p.questions)if(y.attributeSetId==i){y.values=l;break}break}},setResourceRequest:(n,r)=>{const{resourceId:i,requested:u}=r.payload,l=Kr(n,r);let d,p=0;for(let y of l.resources)y.resourceId==i&&(y.requested=u),y.isCredit?(d=y,p+=y.allocated*y.unitCost):p-=(y.requested-y.allocated)*y.unitCost;d&&(d.requested=Sp(p,d.decimalPlaces,"floor"))},setResourcesReason:(n,r)=>{const i=Kr(n,r);i.resourcesReason=r.payload.reason},setTab:(n,r)=>{const i=Us(n,r);i&&(i.tab=r.payload.tab)},setUserRole:(n,r)=>{const i=bz(n,r);i.role=r.payload.role,rN(i)},toggleActionsModal:(n,r)=>{const i=Kr(n,r);i.showActionsModal=!i.showActionsModal},toggleConfirmModal:(n,r)=>{const i=Kr(n,r);i.showConfirmModal=!i.showConfirmModal},toggleDeleteModal:(n,r)=>{const i=xb(n,r);i.showDeleteModal=!i.showDeleteModal},toggleResourcesModal:(n,r)=>{const i=Kr(n,r);i.showResourcesModal=!i.showResourcesModal},toggleUsersResources:(n,r)=>{const i=Us(n,r),u=n.requests[i.currentRequestId],{username:l,resourceId:d,checked:p}=r.payload,y=l?[i.users.find(g=>g.username==l)]:i.users;for(let g of y){if(d){let b=g.resourceIds.indexOf(d);p&&b==-1?g.resourceIds.push(d):!p&&b>=0&&g.resourceIds.splice(b,1)}else g.resourceIds=p?u.resources.filter(r1).map(({resourceId:b})=>b):[];rN(g)}}},extraReducers:n=>{n.addCase(kb.pending,r=>{r.projectListLoading=!0}).addCase(kb.fulfilled,(r,i)=>{i.payload.projectsList.sort((u,l)=>e0(u.requests[0])>e0(l.requests[0])?-1:1),r.username=i.payload.username,r.projectsList=i.payload.projectsList.map(u=>{const{grantNumber:l,requestMasterId:d,requests:p,status:y,title:g}=u,b=y||p&&(p.find(({timeStatus:E})=>E=="current")?"Active":p[0].timeStatus=="past"?"Inactive":p[0].status);return p&&mz(r,u,b),{grantNumber:l||d,status:b,title:g}}),r.projectListLoading=!1}).addCase(kb.rejected,r=>{r.error="Failed to load project list.",r.projectListLoading=!1}).addCase(E_.rejected,(r,i)=>{const{grantNumber:u}=i.payload;r.projects[u]={error:"Failed to load project data."}}).addCase(S_.rejected,(r,i)=>{const{requestId:u}=i.payload;r.requests[u]={error:"Failed to load request data."}}).addCase(Mb.pending,(r,i)=>{const u=Kr(r,{payload:i.meta.arg});u.usageDetailStatus=ea.pending}).addCase(Mb.fulfilled,(r,i)=>{const u=Kr(r,i);u.usageDetail=i.payload.usageDetail,u.usageDetailStatus=ea.success}).addCase(Mb.rejected,(r,i)=>{const u=Kr(r,i);u.usageDetailStatus=ea.error}).addCase(Lb.pending,(r,i)=>{const u=xb(r,{payload:i.meta.arg});u.deleteStatus=ea.pending}).addCase(Lb.fulfilled,(r,i)=>{const u=Kr(r,i),l=xb(r,i);l.isRequest?(u.error="This request has been deleted.",l.allowedOperations=[]):u.actions=u.actions.filter(d=>d.actionId!=l.actionId),l.deleteStatus=ea.success,l.showDeleteModal=!1}).addCase(Lb.rejected,(r,i)=>{const u=xb(r,i);u.deleteStatus=ea.error}).addCase(Fb.pending,(r,i)=>{const u=Kr(r,{payload:i.meta.arg});u.exchangeStatus=ea.pending,u.showResourcesModal=!1}).addCase(Fb.fulfilled,(r,i)=>{const u=Kr(r,i);u.exchangeActionId=i.payload.exchangeActionId,u.exchangeStatus=ea.success}).addCase(Fb.rejected,(r,i)=>{const u=Kr(r,i);u.exchangeStatus=ea.error}).addCase(Pb.pending,(r,i)=>{const u=Us(r,{payload:i.meta.arg});u.usersStatus=ea.pending}).addCase(Pb.fulfilled,(r,i)=>{const u=Us(r,i);u.users=u.users.map(l=>({...l,initialResourceIds:[...l.resourceIds],initialRole:l.role,hasChanges:!1,isNew:!1})),u.usersStatus=ea.success}).addCase(Pb.rejected,(r,i)=>{const u=Us(r,i);u.usersStatus=ea.error})}}),xz=n=>n.api.error,Ez=n=>n.api.projectsList,Sz=n=>n.api.projectListLoading,wz=(n,r)=>Us(n.api,{payload:{grantNumber:r}}),Rz=(n,r)=>Kr(n.api,{payload:{requestId:r}}),Tz=n=>n.api.username,{addResource:Iz,addUser:Az,closeUsageDetailModal:Nz,hideAlert:jZ,resetResources:Oz,resetUsers:_z,setRequest:Dz,setResourceQuestionValues:jz,setResourceRequest:kz,setResourcesReason:Mz,setTab:Lz,setUserRole:Fz,toggleActionsModal:Pz,toggleConfirmModal:Vz,toggleDeleteModal:Bz,toggleResourcesModal:zz,toggleUsersResources:Hz}=w_.actions,Uz=w_.reducer,Gz=n=>{const r=Pa(xz),i=Pa(Sz),u=Pa(Ez),l=Qu();return M.useEffect(()=>{l(kb(n))},[]),{error:r,loading:i,projects:u}},$i=(n,r)=>{const i=Pa(d=>wz(d,n)),u=Pa(Tz),l=Qu();return M.useEffect(()=>{!i&&!r&&l(E_({grantNumber:n}))},[r]),{project:i,addUser:d=>l(Az({grantNumber:n,user:d})),resetUsers:()=>l(_z({grantNumber:n})),saveUsers:()=>l(Pb({grantNumber:n})),setRequest:d=>l(Dz({grantNumber:n,requestId:d})),setTab:d=>l(Lz({grantNumber:n,tab:d})),setUserRole:(d,p)=>l(Fz({grantNumber:n,username:d,role:p})),statuses:ea,toggleUsersResources:(d,p,y)=>l(Hz({grantNumber:n,username:p,resourceId:y,checked:d})),username:u}},ti=(n,r)=>{const i=Pa(l=>Rz(l,n)),u=Qu();return M.useEffect(()=>{i||u(S_({grantNumber:r,requestId:n}))},[r,n]),{request:i,addResource:l=>u(Iz({requestId:n,resourceId:l})),closeUsageDetailModal:()=>u(Nz({requestId:n})),deleteAction:l=>u(Lb({actionId:l,requestId:n})),openUsageDetailModal:l=>u(Mb({grantNumber:i.grantNumber,requestId:n,resourceRepositoryKey:l})),resetResources:()=>u(Oz({requestId:n})),saveResources:()=>u(Fb({requestId:n})),setResourceQuestionValues:(l,d,p)=>u(jz({requestId:n,resourceId:l,attributeSetId:d,values:p})),setResourceRequest:(l,d)=>u(kz({requestId:n,resourceId:l,requested:d})),setResourcesReason:l=>u(Mz({requestId:n,reason:l})),statuses:ea,toggleActionsModal:()=>u(Pz({requestId:n})),toggleConfirmModal:()=>u(Vz({requestId:n})),toggleDeleteModal:l=>u(Bz({requestId:n,actionId:l})),toggleResourcesModal:()=>u(zz({requestId:n}))}},ba=({children:n,color:r})=>C.jsx("div",{className:`alert alert-${r} mt-3`,role:"alert",children:n}),$z="_project_qqnbz_1",Wz="_expand_qqnbz_5",aN={project:$z,expand:Wz};var a1={exports:{}},i1={exports:{}},Sn={};/** @license React v16.13.1
271
271
  * react-is.production.min.js
272
272
  *
273
273
  * Copyright (c) Facebook, Inc. and its affiliates.
274
274
  *
275
275
  * This source code is licensed under the MIT license found in the
276
276
  * LICENSE file in the root directory of this source tree.
277
- */var iN;function Xz(){if(iN)return Sn;iN=1;var n=typeof Symbol=="function"&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,u=n?Symbol.for("react.fragment"):60107,l=n?Symbol.for("react.strict_mode"):60108,d=n?Symbol.for("react.profiler"):60114,p=n?Symbol.for("react.provider"):60109,y=n?Symbol.for("react.context"):60110,g=n?Symbol.for("react.async_mode"):60111,b=n?Symbol.for("react.concurrent_mode"):60111,E=n?Symbol.for("react.forward_ref"):60112,R=n?Symbol.for("react.suspense"):60113,T=n?Symbol.for("react.suspense_list"):60120,A=n?Symbol.for("react.memo"):60115,N=n?Symbol.for("react.lazy"):60116,j=n?Symbol.for("react.block"):60121,O=n?Symbol.for("react.fundamental"):60117,L=n?Symbol.for("react.responder"):60118,B=n?Symbol.for("react.scope"):60119;function P(z){if(typeof z=="object"&&z!==null){var G=z.$$typeof;switch(G){case r:switch(z=z.type,z){case g:case b:case u:case d:case l:case R:return z;default:switch(z=z&&z.$$typeof,z){case y:case E:case N:case A:case p:return z;default:return G}}case i:return G}}}function U(z){return P(z)===b}return Sn.AsyncMode=g,Sn.ConcurrentMode=b,Sn.ContextConsumer=y,Sn.ContextProvider=p,Sn.Element=r,Sn.ForwardRef=E,Sn.Fragment=u,Sn.Lazy=N,Sn.Memo=A,Sn.Portal=i,Sn.Profiler=d,Sn.StrictMode=l,Sn.Suspense=R,Sn.isAsyncMode=function(z){return U(z)||P(z)===g},Sn.isConcurrentMode=U,Sn.isContextConsumer=function(z){return P(z)===y},Sn.isContextProvider=function(z){return P(z)===p},Sn.isElement=function(z){return typeof z=="object"&&z!==null&&z.$$typeof===r},Sn.isForwardRef=function(z){return P(z)===E},Sn.isFragment=function(z){return P(z)===u},Sn.isLazy=function(z){return P(z)===N},Sn.isMemo=function(z){return P(z)===A},Sn.isPortal=function(z){return P(z)===i},Sn.isProfiler=function(z){return P(z)===d},Sn.isStrictMode=function(z){return P(z)===l},Sn.isSuspense=function(z){return P(z)===R},Sn.isValidElementType=function(z){return typeof z=="string"||typeof z=="function"||z===u||z===b||z===d||z===l||z===R||z===T||typeof z=="object"&&z!==null&&(z.$$typeof===N||z.$$typeof===A||z.$$typeof===p||z.$$typeof===y||z.$$typeof===E||z.$$typeof===O||z.$$typeof===L||z.$$typeof===B||z.$$typeof===j)},Sn.typeOf=P,Sn}var wn={};/** @license React v16.13.1
277
+ */var iN;function Xz(){if(iN)return Sn;iN=1;var n=typeof Symbol=="function"&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,u=n?Symbol.for("react.fragment"):60107,l=n?Symbol.for("react.strict_mode"):60108,d=n?Symbol.for("react.profiler"):60114,p=n?Symbol.for("react.provider"):60109,y=n?Symbol.for("react.context"):60110,g=n?Symbol.for("react.async_mode"):60111,b=n?Symbol.for("react.concurrent_mode"):60111,E=n?Symbol.for("react.forward_ref"):60112,w=n?Symbol.for("react.suspense"):60113,T=n?Symbol.for("react.suspense_list"):60120,A=n?Symbol.for("react.memo"):60115,N=n?Symbol.for("react.lazy"):60116,j=n?Symbol.for("react.block"):60121,O=n?Symbol.for("react.fundamental"):60117,L=n?Symbol.for("react.responder"):60118,B=n?Symbol.for("react.scope"):60119;function P(z){if(typeof z=="object"&&z!==null){var G=z.$$typeof;switch(G){case r:switch(z=z.type,z){case g:case b:case u:case d:case l:case w:return z;default:switch(z=z&&z.$$typeof,z){case y:case E:case N:case A:case p:return z;default:return G}}case i:return G}}}function U(z){return P(z)===b}return Sn.AsyncMode=g,Sn.ConcurrentMode=b,Sn.ContextConsumer=y,Sn.ContextProvider=p,Sn.Element=r,Sn.ForwardRef=E,Sn.Fragment=u,Sn.Lazy=N,Sn.Memo=A,Sn.Portal=i,Sn.Profiler=d,Sn.StrictMode=l,Sn.Suspense=w,Sn.isAsyncMode=function(z){return U(z)||P(z)===g},Sn.isConcurrentMode=U,Sn.isContextConsumer=function(z){return P(z)===y},Sn.isContextProvider=function(z){return P(z)===p},Sn.isElement=function(z){return typeof z=="object"&&z!==null&&z.$$typeof===r},Sn.isForwardRef=function(z){return P(z)===E},Sn.isFragment=function(z){return P(z)===u},Sn.isLazy=function(z){return P(z)===N},Sn.isMemo=function(z){return P(z)===A},Sn.isPortal=function(z){return P(z)===i},Sn.isProfiler=function(z){return P(z)===d},Sn.isStrictMode=function(z){return P(z)===l},Sn.isSuspense=function(z){return P(z)===w},Sn.isValidElementType=function(z){return typeof z=="string"||typeof z=="function"||z===u||z===b||z===d||z===l||z===w||z===T||typeof z=="object"&&z!==null&&(z.$$typeof===N||z.$$typeof===A||z.$$typeof===p||z.$$typeof===y||z.$$typeof===E||z.$$typeof===O||z.$$typeof===L||z.$$typeof===B||z.$$typeof===j)},Sn.typeOf=P,Sn}var wn={};/** @license React v16.13.1
278
278
  * react-is.development.js
279
279
  *
280
280
  * Copyright (c) Facebook, Inc. and its affiliates.
281
281
  *
282
282
  * This source code is licensed under the MIT license found in the
283
283
  * LICENSE file in the root directory of this source tree.
284
- */var oN;function Yz(){return oN||(oN=1,process.env.NODE_ENV!=="production"&&function(){var n=typeof Symbol=="function"&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,u=n?Symbol.for("react.fragment"):60107,l=n?Symbol.for("react.strict_mode"):60108,d=n?Symbol.for("react.profiler"):60114,p=n?Symbol.for("react.provider"):60109,y=n?Symbol.for("react.context"):60110,g=n?Symbol.for("react.async_mode"):60111,b=n?Symbol.for("react.concurrent_mode"):60111,E=n?Symbol.for("react.forward_ref"):60112,R=n?Symbol.for("react.suspense"):60113,T=n?Symbol.for("react.suspense_list"):60120,A=n?Symbol.for("react.memo"):60115,N=n?Symbol.for("react.lazy"):60116,j=n?Symbol.for("react.block"):60121,O=n?Symbol.for("react.fundamental"):60117,L=n?Symbol.for("react.responder"):60118,B=n?Symbol.for("react.scope"):60119;function P(Ne){return typeof Ne=="string"||typeof Ne=="function"||Ne===u||Ne===b||Ne===d||Ne===l||Ne===R||Ne===T||typeof Ne=="object"&&Ne!==null&&(Ne.$$typeof===N||Ne.$$typeof===A||Ne.$$typeof===p||Ne.$$typeof===y||Ne.$$typeof===E||Ne.$$typeof===O||Ne.$$typeof===L||Ne.$$typeof===B||Ne.$$typeof===j)}function U(Ne){if(typeof Ne=="object"&&Ne!==null){var ft=Ne.$$typeof;switch(ft){case r:var Bt=Ne.type;switch(Bt){case g:case b:case u:case d:case l:case R:return Bt;default:var lt=Bt&&Bt.$$typeof;switch(lt){case y:case E:case N:case A:case p:return lt;default:return ft}}case i:return ft}}}var z=g,G=b,X=y,te=p,Re=r,ue=E,pe=u,ye=N,me=A,Ae=i,_e=d,Oe=l,Ie=R,ve=!1;function Le(Ne){return ve||(ve=!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.")),F(Ne)||U(Ne)===g}function F(Ne){return U(Ne)===b}function q(Ne){return U(Ne)===y}function se(Ne){return U(Ne)===p}function xe(Ne){return typeof Ne=="object"&&Ne!==null&&Ne.$$typeof===r}function Ee(Ne){return U(Ne)===E}function De(Ne){return U(Ne)===u}function ie(Ne){return U(Ne)===N}function he(Ne){return U(Ne)===A}function Te(Ne){return U(Ne)===i}function Ve(Ne){return U(Ne)===d}function Ke(Ne){return U(Ne)===l}function It(Ne){return U(Ne)===R}wn.AsyncMode=z,wn.ConcurrentMode=G,wn.ContextConsumer=X,wn.ContextProvider=te,wn.Element=Re,wn.ForwardRef=ue,wn.Fragment=pe,wn.Lazy=ye,wn.Memo=me,wn.Portal=Ae,wn.Profiler=_e,wn.StrictMode=Oe,wn.Suspense=Ie,wn.isAsyncMode=Le,wn.isConcurrentMode=F,wn.isContextConsumer=q,wn.isContextProvider=se,wn.isElement=xe,wn.isForwardRef=Ee,wn.isFragment=De,wn.isLazy=ie,wn.isMemo=he,wn.isPortal=Te,wn.isProfiler=Ve,wn.isStrictMode=Ke,wn.isSuspense=It,wn.isValidElementType=P,wn.typeOf=U}()),wn}process.env.NODE_ENV==="production"?i1.exports=Xz():i1.exports=Yz();var H1=i1.exports;/*
284
+ */var oN;function Yz(){return oN||(oN=1,process.env.NODE_ENV!=="production"&&function(){var n=typeof Symbol=="function"&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,u=n?Symbol.for("react.fragment"):60107,l=n?Symbol.for("react.strict_mode"):60108,d=n?Symbol.for("react.profiler"):60114,p=n?Symbol.for("react.provider"):60109,y=n?Symbol.for("react.context"):60110,g=n?Symbol.for("react.async_mode"):60111,b=n?Symbol.for("react.concurrent_mode"):60111,E=n?Symbol.for("react.forward_ref"):60112,w=n?Symbol.for("react.suspense"):60113,T=n?Symbol.for("react.suspense_list"):60120,A=n?Symbol.for("react.memo"):60115,N=n?Symbol.for("react.lazy"):60116,j=n?Symbol.for("react.block"):60121,O=n?Symbol.for("react.fundamental"):60117,L=n?Symbol.for("react.responder"):60118,B=n?Symbol.for("react.scope"):60119;function P(Ne){return typeof Ne=="string"||typeof Ne=="function"||Ne===u||Ne===b||Ne===d||Ne===l||Ne===w||Ne===T||typeof Ne=="object"&&Ne!==null&&(Ne.$$typeof===N||Ne.$$typeof===A||Ne.$$typeof===p||Ne.$$typeof===y||Ne.$$typeof===E||Ne.$$typeof===O||Ne.$$typeof===L||Ne.$$typeof===B||Ne.$$typeof===j)}function U(Ne){if(typeof Ne=="object"&&Ne!==null){var ft=Ne.$$typeof;switch(ft){case r:var Bt=Ne.type;switch(Bt){case g:case b:case u:case d:case l:case w:return Bt;default:var lt=Bt&&Bt.$$typeof;switch(lt){case y:case E:case N:case A:case p:return lt;default:return ft}}case i:return ft}}}var z=g,G=b,X=y,te=p,Re=r,ue=E,pe=u,ye=N,me=A,Ae=i,_e=d,Oe=l,Ie=w,ve=!1;function Le(Ne){return ve||(ve=!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.")),F(Ne)||U(Ne)===g}function F(Ne){return U(Ne)===b}function q(Ne){return U(Ne)===y}function se(Ne){return U(Ne)===p}function xe(Ne){return typeof Ne=="object"&&Ne!==null&&Ne.$$typeof===r}function Ee(Ne){return U(Ne)===E}function De(Ne){return U(Ne)===u}function ie(Ne){return U(Ne)===N}function he(Ne){return U(Ne)===A}function Te(Ne){return U(Ne)===i}function Ve(Ne){return U(Ne)===d}function Ke(Ne){return U(Ne)===l}function It(Ne){return U(Ne)===w}wn.AsyncMode=z,wn.ConcurrentMode=G,wn.ContextConsumer=X,wn.ContextProvider=te,wn.Element=Re,wn.ForwardRef=ue,wn.Fragment=pe,wn.Lazy=ye,wn.Memo=me,wn.Portal=Ae,wn.Profiler=_e,wn.StrictMode=Oe,wn.Suspense=Ie,wn.isAsyncMode=Le,wn.isConcurrentMode=F,wn.isContextConsumer=q,wn.isContextProvider=se,wn.isElement=xe,wn.isForwardRef=Ee,wn.isFragment=De,wn.isLazy=ie,wn.isMemo=he,wn.isPortal=Te,wn.isProfiler=Ve,wn.isStrictMode=Ke,wn.isSuspense=It,wn.isValidElementType=P,wn.typeOf=U}()),wn}process.env.NODE_ENV==="production"?i1.exports=Xz():i1.exports=Yz();var H1=i1.exports;/*
285
285
  object-assign
286
286
  (c) Sindre Sorhus
287
287
  @license MIT
288
- */var CS,sN;function Zz(){if(sN)return CS;sN=1;var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function u(d){if(d==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(d)}function l(){try{if(!Object.assign)return!1;var d=new String("abc");if(d[5]="de",Object.getOwnPropertyNames(d)[0]==="5")return!1;for(var p={},y=0;y<10;y++)p["_"+String.fromCharCode(y)]=y;var g=Object.getOwnPropertyNames(p).map(function(E){return p[E]});if(g.join("")!=="0123456789")return!1;var b={};return"abcdefghijklmnopqrst".split("").forEach(function(E){b[E]=E}),Object.keys(Object.assign({},b)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return CS=l()?Object.assign:function(d,p){for(var y,g=u(d),b,E=1;E<arguments.length;E++){y=Object(arguments[E]);for(var R in y)r.call(y,R)&&(g[R]=y[R]);if(n){b=n(y);for(var T=0;T<b.length;T++)i.call(y,b[T])&&(g[b[T]]=y[b[T]])}}return g},CS}var xS,uN;function U1(){if(uN)return xS;uN=1;var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return xS=n,xS}var ES,lN;function R_(){return lN||(lN=1,ES=Function.call.bind(Object.prototype.hasOwnProperty)),ES}var SS,cN;function Jz(){if(cN)return SS;cN=1;var n=function(){};if(process.env.NODE_ENV!=="production"){var r=U1(),i={},u=R_();n=function(d){var p="Warning: "+d;typeof console<"u"&&console.error(p);try{throw new Error(p)}catch{}}}function l(d,p,y,g,b){if(process.env.NODE_ENV!=="production"){for(var E in d)if(u(d,E)){var R;try{if(typeof d[E]!="function"){var T=Error((g||"React class")+": "+y+" type `"+E+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof d[E]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw T.name="Invariant Violation",T}R=d[E](p,E,g,y,null,r)}catch(N){R=N}if(R&&!(R instanceof Error)&&n((g||"React class")+": type specification of "+y+" `"+E+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof R+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),R instanceof Error&&!(R.message in i)){i[R.message]=!0;var A=b?b():"";n("Failed "+y+" type: "+R.message+(A??""))}}}}return l.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(i={})},SS=l,SS}var wS,fN;function qz(){if(fN)return wS;fN=1;var n=H1,r=Zz(),i=U1(),u=R_(),l=Jz(),d=function(){};process.env.NODE_ENV!=="production"&&(d=function(y){var g="Warning: "+y;typeof console<"u"&&console.error(g);try{throw new Error(g)}catch{}});function p(){return null}return wS=function(y,g){var b=typeof Symbol=="function"&&Symbol.iterator,E="@@iterator";function R(F){var q=F&&(b&&F[b]||F[E]);if(typeof q=="function")return q}var T="<<anonymous>>",A={array:L("array"),bigint:L("bigint"),bool:L("boolean"),func:L("function"),number:L("number"),object:L("object"),string:L("string"),symbol:L("symbol"),any:B(),arrayOf:P,element:U(),elementType:z(),instanceOf:G,node:ue(),objectOf:te,oneOf:X,oneOfType:Re,shape:ye,exact:me};function N(F,q){return F===q?F!==0||1/F===1/q:F!==F&&q!==q}function j(F,q){this.message=F,this.data=q&&typeof q=="object"?q:{},this.stack=""}j.prototype=Error.prototype;function O(F){if(process.env.NODE_ENV!=="production")var q={},se=0;function xe(De,ie,he,Te,Ve,Ke,It){if(Te=Te||T,Ke=Ke||he,It!==i){if(g){var Ne=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 Ne.name="Invariant Violation",Ne}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ft=Te+":"+he;!q[ft]&&se<3&&(d("You are manually calling a React.PropTypes validation function for the `"+Ke+"` prop on `"+Te+"`. 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."),q[ft]=!0,se++)}}return ie[he]==null?De?ie[he]===null?new j("The "+Ve+" `"+Ke+"` is marked as required "+("in `"+Te+"`, but its value is `null`.")):new j("The "+Ve+" `"+Ke+"` is marked as required in "+("`"+Te+"`, but its value is `undefined`.")):null:F(ie,he,Te,Ve,Ke)}var Ee=xe.bind(null,!1);return Ee.isRequired=xe.bind(null,!0),Ee}function L(F){function q(se,xe,Ee,De,ie,he){var Te=se[xe],Ve=Oe(Te);if(Ve!==F){var Ke=Ie(Te);return new j("Invalid "+De+" `"+ie+"` of type "+("`"+Ke+"` supplied to `"+Ee+"`, expected ")+("`"+F+"`."),{expectedType:F})}return null}return O(q)}function B(){return O(p)}function P(F){function q(se,xe,Ee,De,ie){if(typeof F!="function")return new j("Property `"+ie+"` of component `"+Ee+"` has invalid PropType notation inside arrayOf.");var he=se[xe];if(!Array.isArray(he)){var Te=Oe(he);return new j("Invalid "+De+" `"+ie+"` of type "+("`"+Te+"` supplied to `"+Ee+"`, expected an array."))}for(var Ve=0;Ve<he.length;Ve++){var Ke=F(he,Ve,Ee,De,ie+"["+Ve+"]",i);if(Ke instanceof Error)return Ke}return null}return O(q)}function U(){function F(q,se,xe,Ee,De){var ie=q[se];if(!y(ie)){var he=Oe(ie);return new j("Invalid "+Ee+" `"+De+"` of type "+("`"+he+"` supplied to `"+xe+"`, expected a single ReactElement."))}return null}return O(F)}function z(){function F(q,se,xe,Ee,De){var ie=q[se];if(!n.isValidElementType(ie)){var he=Oe(ie);return new j("Invalid "+Ee+" `"+De+"` of type "+("`"+he+"` supplied to `"+xe+"`, expected a single ReactElement type."))}return null}return O(F)}function G(F){function q(se,xe,Ee,De,ie){if(!(se[xe]instanceof F)){var he=F.name||T,Te=Le(se[xe]);return new j("Invalid "+De+" `"+ie+"` of type "+("`"+Te+"` supplied to `"+Ee+"`, expected ")+("instance of `"+he+"`."))}return null}return O(q)}function X(F){if(!Array.isArray(F))return process.env.NODE_ENV!=="production"&&(arguments.length>1?d("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])."):d("Invalid argument supplied to oneOf, expected an array.")),p;function q(se,xe,Ee,De,ie){for(var he=se[xe],Te=0;Te<F.length;Te++)if(N(he,F[Te]))return null;var Ve=JSON.stringify(F,function(It,Ne){var ft=Ie(Ne);return ft==="symbol"?String(Ne):Ne});return new j("Invalid "+De+" `"+ie+"` of value `"+String(he)+"` "+("supplied to `"+Ee+"`, expected one of "+Ve+"."))}return O(q)}function te(F){function q(se,xe,Ee,De,ie){if(typeof F!="function")return new j("Property `"+ie+"` of component `"+Ee+"` has invalid PropType notation inside objectOf.");var he=se[xe],Te=Oe(he);if(Te!=="object")return new j("Invalid "+De+" `"+ie+"` of type "+("`"+Te+"` supplied to `"+Ee+"`, expected an object."));for(var Ve in he)if(u(he,Ve)){var Ke=F(he,Ve,Ee,De,ie+"."+Ve,i);if(Ke instanceof Error)return Ke}return null}return O(q)}function Re(F){if(!Array.isArray(F))return process.env.NODE_ENV!=="production"&&d("Invalid argument supplied to oneOfType, expected an instance of array."),p;for(var q=0;q<F.length;q++){var se=F[q];if(typeof se!="function")return d("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ve(se)+" at index "+q+"."),p}function xe(Ee,De,ie,he,Te){for(var Ve=[],Ke=0;Ke<F.length;Ke++){var It=F[Ke],Ne=It(Ee,De,ie,he,Te,i);if(Ne==null)return null;Ne.data&&u(Ne.data,"expectedType")&&Ve.push(Ne.data.expectedType)}var ft=Ve.length>0?", expected one of type ["+Ve.join(", ")+"]":"";return new j("Invalid "+he+" `"+Te+"` supplied to "+("`"+ie+"`"+ft+"."))}return O(xe)}function ue(){function F(q,se,xe,Ee,De){return Ae(q[se])?null:new j("Invalid "+Ee+" `"+De+"` supplied to "+("`"+xe+"`, expected a ReactNode."))}return O(F)}function pe(F,q,se,xe,Ee){return new j((F||"React class")+": "+q+" type `"+se+"."+xe+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+Ee+"`.")}function ye(F){function q(se,xe,Ee,De,ie){var he=se[xe],Te=Oe(he);if(Te!=="object")return new j("Invalid "+De+" `"+ie+"` of type `"+Te+"` "+("supplied to `"+Ee+"`, expected `object`."));for(var Ve in F){var Ke=F[Ve];if(typeof Ke!="function")return pe(Ee,De,ie,Ve,Ie(Ke));var It=Ke(he,Ve,Ee,De,ie+"."+Ve,i);if(It)return It}return null}return O(q)}function me(F){function q(se,xe,Ee,De,ie){var he=se[xe],Te=Oe(he);if(Te!=="object")return new j("Invalid "+De+" `"+ie+"` of type `"+Te+"` "+("supplied to `"+Ee+"`, expected `object`."));var Ve=r({},se[xe],F);for(var Ke in Ve){var It=F[Ke];if(u(F,Ke)&&typeof It!="function")return pe(Ee,De,ie,Ke,Ie(It));if(!It)return new j("Invalid "+De+" `"+ie+"` key `"+Ke+"` supplied to `"+Ee+"`.\nBad object: "+JSON.stringify(se[xe],null," ")+`
289
- Valid keys: `+JSON.stringify(Object.keys(F),null," "));var Ne=It(he,Ke,Ee,De,ie+"."+Ke,i);if(Ne)return Ne}return null}return O(q)}function Ae(F){switch(typeof F){case"number":case"string":case"undefined":return!0;case"boolean":return!F;case"object":if(Array.isArray(F))return F.every(Ae);if(F===null||y(F))return!0;var q=R(F);if(q){var se=q.call(F),xe;if(q!==F.entries){for(;!(xe=se.next()).done;)if(!Ae(xe.value))return!1}else for(;!(xe=se.next()).done;){var Ee=xe.value;if(Ee&&!Ae(Ee[1]))return!1}}else return!1;return!0;default:return!1}}function _e(F,q){return F==="symbol"?!0:q?q["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&q instanceof Symbol:!1}function Oe(F){var q=typeof F;return Array.isArray(F)?"array":F instanceof RegExp?"object":_e(q,F)?"symbol":q}function Ie(F){if(typeof F>"u"||F===null)return""+F;var q=Oe(F);if(q==="object"){if(F instanceof Date)return"date";if(F instanceof RegExp)return"regexp"}return q}function ve(F){var q=Ie(F);switch(q){case"array":case"object":return"an "+q;case"boolean":case"date":case"regexp":return"a "+q;default:return q}}function Le(F){return!F.constructor||!F.constructor.name?T:F.constructor.name}return A.checkPropTypes=l,A.resetWarningCache=l.resetWarningCache,A.PropTypes=A,A},wS}var RS,dN;function Qz(){if(dN)return RS;dN=1;var n=U1();function r(){}function i(){}return i.resetWarningCache=r,RS=function(){function u(p,y,g,b,E,R){if(R!==n){var T=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 T.name="Invariant Violation",T}}u.isRequired=u;function l(){return u}var d={array:u,bigint:u,bool:u,func:u,number:u,object:u,string:u,symbol:u,any:u,arrayOf:l,element:u,elementType:u,instanceOf:l,node:u,objectOf:l,oneOf:l,oneOfType:l,shape:l,exact:l,checkPropTypes:i,resetWarningCache:r};return d.PropTypes=d,d},RS}if(process.env.NODE_ENV!=="production"){var Kz=H1,e3=!0;a1.exports=qz()(Kz.isElement,e3)}else a1.exports=Qz()();var t3=a1.exports;const Tt=Lp(t3);function T_(n,r,i){const u=M.useRef(n!==void 0),[l,d]=M.useState(r),p=n!==void 0,y=u.current;return u.current=p,!p&&y&&l!==r&&d(r),[p?n:l,M.useCallback((...g)=>{const[b,...E]=g;let R=i==null?void 0:i(b,...E);return d(b),R},[i])]}const t0={prefix:String(Math.round(Math.random()*1e10)),current:0},I_=Dr.createContext(t0),n3=Dr.createContext(!1);let r3=!!(typeof window<"u"&&window.document&&window.document.createElement),TS=new WeakMap;function a3(n=!1){let r=M.useContext(I_),i=M.useRef(null);if(i.current===null&&!n){var u,l;let d=(l=Dr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||l===void 0||(u=l.ReactCurrentOwner)===null||u===void 0?void 0:u.current;if(d){let p=TS.get(d);p==null?TS.set(d,{id:r.current,state:d.memoizedState}):d.memoizedState!==p.state&&(r.current=p.id,TS.delete(d))}i.current=++r.current}return i.current}function i3(n){let r=M.useContext(I_);r===t0&&!r3&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let i=a3(!!n),u=r===t0&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${r.prefix}`;return n||`${u}-${i}`}function o3(n){let r=Dr.useId(),[i]=M.useState(c3()),u=i||process.env.NODE_ENV==="test"?"react-aria":`react-aria${t0.prefix}`;return n||`${u}-${r}`}const A_=typeof Dr.useId=="function"?o3:i3;function s3(){return!1}function u3(){return!0}function l3(n){return()=>{}}function c3(){return typeof Dr.useSyncExternalStore=="function"?Dr.useSyncExternalStore(l3,s3,u3):M.useContext(n3)}const f3=M.createContext(null),Fp=f3,d3=M.createContext(null),If=(n,r=null)=>n!=null?String(n):r||null,Zu=d3;function p3(n){const r=M.useRef(n);return M.useEffect(()=>{r.current=n},[n]),r}function hr(n){const r=p3(n);return M.useCallback(function(...i){return r.current&&r.current(...i)},[r])}const pN=n=>!n||typeof n=="function"?n:r=>{n.current=r};function v3(n,r){const i=pN(n),u=pN(r);return l=>{i&&i(l),u&&u(l)}}function Qo(n,r){return M.useMemo(()=>v3(n,r),[n,r])}function G1({children:n,in:r,onExited:i,mountOnEnter:u,unmountOnExit:l}){const d=M.useRef(null),p=M.useRef(r),y=hr(i);M.useEffect(()=>{r?p.current=!0:y(d.current)},[r,y]);const g=Qo(d,n.ref),b=M.cloneElement(n,{ref:g});return r?b:l||!p.current&&u?null:b}const h3=["active","eventKey","mountOnEnter","transition","unmountOnExit","role","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],m3=["activeKey","getControlledId","getControllerId"],g3=["as"];function o1(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}function N_(n){let{active:r,eventKey:i,mountOnEnter:u,transition:l,unmountOnExit:d,role:p="tabpanel",onEnter:y,onEntering:g,onEntered:b,onExit:E,onExiting:R,onExited:T}=n,A=o1(n,h3);const N=M.useContext(Fp);if(!N)return[Object.assign({},A,{role:p}),{eventKey:i,isActive:r,mountOnEnter:u,transition:l,unmountOnExit:d,onEnter:y,onEntering:g,onEntered:b,onExit:E,onExiting:R,onExited:T}];const{activeKey:j,getControlledId:O,getControllerId:L}=N,B=o1(N,m3),P=If(i);return[Object.assign({},A,{role:p,id:O(i),"aria-labelledby":L(i)}),{eventKey:i,isActive:r==null&&P!=null?If(j)===P:r,transition:l||B.transition,mountOnEnter:u??B.mountOnEnter,unmountOnExit:d??B.unmountOnExit,onEnter:y,onEntering:g,onEntered:b,onExit:E,onExiting:R,onExited:T}]}const O_=M.forwardRef((n,r)=>{let{as:i="div"}=n,u=o1(n,g3);const[l,{isActive:d,onEnter:p,onEntering:y,onEntered:g,onExit:b,onExiting:E,onExited:R,mountOnEnter:T,unmountOnExit:A,transition:N=G1}]=N_(u);return C.jsx(Fp.Provider,{value:null,children:C.jsx(Zu.Provider,{value:null,children:C.jsx(N,{in:d,onEnter:p,onEntering:y,onEntered:g,onExit:b,onExiting:E,onExited:R,mountOnEnter:T,unmountOnExit:A,children:C.jsx(i,Object.assign({},l,{ref:r,hidden:!d,"aria-hidden":!d}))})})})});O_.displayName="TabPanel";const __=n=>{const{id:r,generateChildId:i,onSelect:u,activeKey:l,defaultActiveKey:d,transition:p,mountOnEnter:y,unmountOnExit:g,children:b}=n,[E,R]=T_(l,d,u),T=A_(r),A=M.useMemo(()=>i||((j,O)=>T?`${T}-${O}-${j}`:null),[T,i]),N=M.useMemo(()=>({onSelect:R,activeKey:E,transition:p,mountOnEnter:y||!1,unmountOnExit:g||!1,getControlledId:j=>A(j,"tabpane"),getControllerId:j=>A(j,"tab")}),[R,E,p,y,g,A]);return C.jsx(Fp.Provider,{value:N,children:C.jsx(Zu.Provider,{value:R||null,children:b})})};__.Panel=O_;const D_=__;var j_={exports:{}};/*!
288
+ */var CS,sN;function Zz(){if(sN)return CS;sN=1;var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function u(d){if(d==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(d)}function l(){try{if(!Object.assign)return!1;var d=new String("abc");if(d[5]="de",Object.getOwnPropertyNames(d)[0]==="5")return!1;for(var p={},y=0;y<10;y++)p["_"+String.fromCharCode(y)]=y;var g=Object.getOwnPropertyNames(p).map(function(E){return p[E]});if(g.join("")!=="0123456789")return!1;var b={};return"abcdefghijklmnopqrst".split("").forEach(function(E){b[E]=E}),Object.keys(Object.assign({},b)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return CS=l()?Object.assign:function(d,p){for(var y,g=u(d),b,E=1;E<arguments.length;E++){y=Object(arguments[E]);for(var w in y)r.call(y,w)&&(g[w]=y[w]);if(n){b=n(y);for(var T=0;T<b.length;T++)i.call(y,b[T])&&(g[b[T]]=y[b[T]])}}return g},CS}var xS,uN;function U1(){if(uN)return xS;uN=1;var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return xS=n,xS}var ES,lN;function R_(){return lN||(lN=1,ES=Function.call.bind(Object.prototype.hasOwnProperty)),ES}var SS,cN;function Jz(){if(cN)return SS;cN=1;var n=function(){};if(process.env.NODE_ENV!=="production"){var r=U1(),i={},u=R_();n=function(d){var p="Warning: "+d;typeof console<"u"&&console.error(p);try{throw new Error(p)}catch{}}}function l(d,p,y,g,b){if(process.env.NODE_ENV!=="production"){for(var E in d)if(u(d,E)){var w;try{if(typeof d[E]!="function"){var T=Error((g||"React class")+": "+y+" type `"+E+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof d[E]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw T.name="Invariant Violation",T}w=d[E](p,E,g,y,null,r)}catch(N){w=N}if(w&&!(w instanceof Error)&&n((g||"React class")+": type specification of "+y+" `"+E+"` 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 i)){i[w.message]=!0;var A=b?b():"";n("Failed "+y+" type: "+w.message+(A??""))}}}}return l.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(i={})},SS=l,SS}var wS,fN;function qz(){if(fN)return wS;fN=1;var n=H1,r=Zz(),i=U1(),u=R_(),l=Jz(),d=function(){};process.env.NODE_ENV!=="production"&&(d=function(y){var g="Warning: "+y;typeof console<"u"&&console.error(g);try{throw new Error(g)}catch{}});function p(){return null}return wS=function(y,g){var b=typeof Symbol=="function"&&Symbol.iterator,E="@@iterator";function w(F){var q=F&&(b&&F[b]||F[E]);if(typeof q=="function")return q}var T="<<anonymous>>",A={array:L("array"),bigint:L("bigint"),bool:L("boolean"),func:L("function"),number:L("number"),object:L("object"),string:L("string"),symbol:L("symbol"),any:B(),arrayOf:P,element:U(),elementType:z(),instanceOf:G,node:ue(),objectOf:te,oneOf:X,oneOfType:Re,shape:ye,exact:me};function N(F,q){return F===q?F!==0||1/F===1/q:F!==F&&q!==q}function j(F,q){this.message=F,this.data=q&&typeof q=="object"?q:{},this.stack=""}j.prototype=Error.prototype;function O(F){if(process.env.NODE_ENV!=="production")var q={},se=0;function xe(De,ie,he,Te,Ve,Ke,It){if(Te=Te||T,Ke=Ke||he,It!==i){if(g){var Ne=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 Ne.name="Invariant Violation",Ne}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ft=Te+":"+he;!q[ft]&&se<3&&(d("You are manually calling a React.PropTypes validation function for the `"+Ke+"` prop on `"+Te+"`. 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."),q[ft]=!0,se++)}}return ie[he]==null?De?ie[he]===null?new j("The "+Ve+" `"+Ke+"` is marked as required "+("in `"+Te+"`, but its value is `null`.")):new j("The "+Ve+" `"+Ke+"` is marked as required in "+("`"+Te+"`, but its value is `undefined`.")):null:F(ie,he,Te,Ve,Ke)}var Ee=xe.bind(null,!1);return Ee.isRequired=xe.bind(null,!0),Ee}function L(F){function q(se,xe,Ee,De,ie,he){var Te=se[xe],Ve=Oe(Te);if(Ve!==F){var Ke=Ie(Te);return new j("Invalid "+De+" `"+ie+"` of type "+("`"+Ke+"` supplied to `"+Ee+"`, expected ")+("`"+F+"`."),{expectedType:F})}return null}return O(q)}function B(){return O(p)}function P(F){function q(se,xe,Ee,De,ie){if(typeof F!="function")return new j("Property `"+ie+"` of component `"+Ee+"` has invalid PropType notation inside arrayOf.");var he=se[xe];if(!Array.isArray(he)){var Te=Oe(he);return new j("Invalid "+De+" `"+ie+"` of type "+("`"+Te+"` supplied to `"+Ee+"`, expected an array."))}for(var Ve=0;Ve<he.length;Ve++){var Ke=F(he,Ve,Ee,De,ie+"["+Ve+"]",i);if(Ke instanceof Error)return Ke}return null}return O(q)}function U(){function F(q,se,xe,Ee,De){var ie=q[se];if(!y(ie)){var he=Oe(ie);return new j("Invalid "+Ee+" `"+De+"` of type "+("`"+he+"` supplied to `"+xe+"`, expected a single ReactElement."))}return null}return O(F)}function z(){function F(q,se,xe,Ee,De){var ie=q[se];if(!n.isValidElementType(ie)){var he=Oe(ie);return new j("Invalid "+Ee+" `"+De+"` of type "+("`"+he+"` supplied to `"+xe+"`, expected a single ReactElement type."))}return null}return O(F)}function G(F){function q(se,xe,Ee,De,ie){if(!(se[xe]instanceof F)){var he=F.name||T,Te=Le(se[xe]);return new j("Invalid "+De+" `"+ie+"` of type "+("`"+Te+"` supplied to `"+Ee+"`, expected ")+("instance of `"+he+"`."))}return null}return O(q)}function X(F){if(!Array.isArray(F))return process.env.NODE_ENV!=="production"&&(arguments.length>1?d("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])."):d("Invalid argument supplied to oneOf, expected an array.")),p;function q(se,xe,Ee,De,ie){for(var he=se[xe],Te=0;Te<F.length;Te++)if(N(he,F[Te]))return null;var Ve=JSON.stringify(F,function(It,Ne){var ft=Ie(Ne);return ft==="symbol"?String(Ne):Ne});return new j("Invalid "+De+" `"+ie+"` of value `"+String(he)+"` "+("supplied to `"+Ee+"`, expected one of "+Ve+"."))}return O(q)}function te(F){function q(se,xe,Ee,De,ie){if(typeof F!="function")return new j("Property `"+ie+"` of component `"+Ee+"` has invalid PropType notation inside objectOf.");var he=se[xe],Te=Oe(he);if(Te!=="object")return new j("Invalid "+De+" `"+ie+"` of type "+("`"+Te+"` supplied to `"+Ee+"`, expected an object."));for(var Ve in he)if(u(he,Ve)){var Ke=F(he,Ve,Ee,De,ie+"."+Ve,i);if(Ke instanceof Error)return Ke}return null}return O(q)}function Re(F){if(!Array.isArray(F))return process.env.NODE_ENV!=="production"&&d("Invalid argument supplied to oneOfType, expected an instance of array."),p;for(var q=0;q<F.length;q++){var se=F[q];if(typeof se!="function")return d("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ve(se)+" at index "+q+"."),p}function xe(Ee,De,ie,he,Te){for(var Ve=[],Ke=0;Ke<F.length;Ke++){var It=F[Ke],Ne=It(Ee,De,ie,he,Te,i);if(Ne==null)return null;Ne.data&&u(Ne.data,"expectedType")&&Ve.push(Ne.data.expectedType)}var ft=Ve.length>0?", expected one of type ["+Ve.join(", ")+"]":"";return new j("Invalid "+he+" `"+Te+"` supplied to "+("`"+ie+"`"+ft+"."))}return O(xe)}function ue(){function F(q,se,xe,Ee,De){return Ae(q[se])?null:new j("Invalid "+Ee+" `"+De+"` supplied to "+("`"+xe+"`, expected a ReactNode."))}return O(F)}function pe(F,q,se,xe,Ee){return new j((F||"React class")+": "+q+" type `"+se+"."+xe+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+Ee+"`.")}function ye(F){function q(se,xe,Ee,De,ie){var he=se[xe],Te=Oe(he);if(Te!=="object")return new j("Invalid "+De+" `"+ie+"` of type `"+Te+"` "+("supplied to `"+Ee+"`, expected `object`."));for(var Ve in F){var Ke=F[Ve];if(typeof Ke!="function")return pe(Ee,De,ie,Ve,Ie(Ke));var It=Ke(he,Ve,Ee,De,ie+"."+Ve,i);if(It)return It}return null}return O(q)}function me(F){function q(se,xe,Ee,De,ie){var he=se[xe],Te=Oe(he);if(Te!=="object")return new j("Invalid "+De+" `"+ie+"` of type `"+Te+"` "+("supplied to `"+Ee+"`, expected `object`."));var Ve=r({},se[xe],F);for(var Ke in Ve){var It=F[Ke];if(u(F,Ke)&&typeof It!="function")return pe(Ee,De,ie,Ke,Ie(It));if(!It)return new j("Invalid "+De+" `"+ie+"` key `"+Ke+"` supplied to `"+Ee+"`.\nBad object: "+JSON.stringify(se[xe],null," ")+`
289
+ Valid keys: `+JSON.stringify(Object.keys(F),null," "));var Ne=It(he,Ke,Ee,De,ie+"."+Ke,i);if(Ne)return Ne}return null}return O(q)}function Ae(F){switch(typeof F){case"number":case"string":case"undefined":return!0;case"boolean":return!F;case"object":if(Array.isArray(F))return F.every(Ae);if(F===null||y(F))return!0;var q=w(F);if(q){var se=q.call(F),xe;if(q!==F.entries){for(;!(xe=se.next()).done;)if(!Ae(xe.value))return!1}else for(;!(xe=se.next()).done;){var Ee=xe.value;if(Ee&&!Ae(Ee[1]))return!1}}else return!1;return!0;default:return!1}}function _e(F,q){return F==="symbol"?!0:q?q["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&q instanceof Symbol:!1}function Oe(F){var q=typeof F;return Array.isArray(F)?"array":F instanceof RegExp?"object":_e(q,F)?"symbol":q}function Ie(F){if(typeof F>"u"||F===null)return""+F;var q=Oe(F);if(q==="object"){if(F instanceof Date)return"date";if(F instanceof RegExp)return"regexp"}return q}function ve(F){var q=Ie(F);switch(q){case"array":case"object":return"an "+q;case"boolean":case"date":case"regexp":return"a "+q;default:return q}}function Le(F){return!F.constructor||!F.constructor.name?T:F.constructor.name}return A.checkPropTypes=l,A.resetWarningCache=l.resetWarningCache,A.PropTypes=A,A},wS}var RS,dN;function Qz(){if(dN)return RS;dN=1;var n=U1();function r(){}function i(){}return i.resetWarningCache=r,RS=function(){function u(p,y,g,b,E,w){if(w!==n){var T=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 T.name="Invariant Violation",T}}u.isRequired=u;function l(){return u}var d={array:u,bigint:u,bool:u,func:u,number:u,object:u,string:u,symbol:u,any:u,arrayOf:l,element:u,elementType:u,instanceOf:l,node:u,objectOf:l,oneOf:l,oneOfType:l,shape:l,exact:l,checkPropTypes:i,resetWarningCache:r};return d.PropTypes=d,d},RS}if(process.env.NODE_ENV!=="production"){var Kz=H1,e3=!0;a1.exports=qz()(Kz.isElement,e3)}else a1.exports=Qz()();var t3=a1.exports;const Tt=Lp(t3);function T_(n,r,i){const u=M.useRef(n!==void 0),[l,d]=M.useState(r),p=n!==void 0,y=u.current;return u.current=p,!p&&y&&l!==r&&d(r),[p?n:l,M.useCallback((...g)=>{const[b,...E]=g;let w=i==null?void 0:i(b,...E);return d(b),w},[i])]}const t0={prefix:String(Math.round(Math.random()*1e10)),current:0},I_=Dr.createContext(t0),n3=Dr.createContext(!1);let r3=!!(typeof window<"u"&&window.document&&window.document.createElement),TS=new WeakMap;function a3(n=!1){let r=M.useContext(I_),i=M.useRef(null);if(i.current===null&&!n){var u,l;let d=(l=Dr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||l===void 0||(u=l.ReactCurrentOwner)===null||u===void 0?void 0:u.current;if(d){let p=TS.get(d);p==null?TS.set(d,{id:r.current,state:d.memoizedState}):d.memoizedState!==p.state&&(r.current=p.id,TS.delete(d))}i.current=++r.current}return i.current}function i3(n){let r=M.useContext(I_);r===t0&&!r3&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let i=a3(!!n),u=r===t0&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${r.prefix}`;return n||`${u}-${i}`}function o3(n){let r=Dr.useId(),[i]=M.useState(c3()),u=i||process.env.NODE_ENV==="test"?"react-aria":`react-aria${t0.prefix}`;return n||`${u}-${r}`}const A_=typeof Dr.useId=="function"?o3:i3;function s3(){return!1}function u3(){return!0}function l3(n){return()=>{}}function c3(){return typeof Dr.useSyncExternalStore=="function"?Dr.useSyncExternalStore(l3,s3,u3):M.useContext(n3)}const f3=M.createContext(null),Fp=f3,d3=M.createContext(null),If=(n,r=null)=>n!=null?String(n):r||null,Zu=d3;function p3(n){const r=M.useRef(n);return M.useEffect(()=>{r.current=n},[n]),r}function hr(n){const r=p3(n);return M.useCallback(function(...i){return r.current&&r.current(...i)},[r])}const pN=n=>!n||typeof n=="function"?n:r=>{n.current=r};function v3(n,r){const i=pN(n),u=pN(r);return l=>{i&&i(l),u&&u(l)}}function Qo(n,r){return M.useMemo(()=>v3(n,r),[n,r])}function G1({children:n,in:r,onExited:i,mountOnEnter:u,unmountOnExit:l}){const d=M.useRef(null),p=M.useRef(r),y=hr(i);M.useEffect(()=>{r?p.current=!0:y(d.current)},[r,y]);const g=Qo(d,n.ref),b=M.cloneElement(n,{ref:g});return r?b:l||!p.current&&u?null:b}const h3=["active","eventKey","mountOnEnter","transition","unmountOnExit","role","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],m3=["activeKey","getControlledId","getControllerId"],g3=["as"];function o1(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}function N_(n){let{active:r,eventKey:i,mountOnEnter:u,transition:l,unmountOnExit:d,role:p="tabpanel",onEnter:y,onEntering:g,onEntered:b,onExit:E,onExiting:w,onExited:T}=n,A=o1(n,h3);const N=M.useContext(Fp);if(!N)return[Object.assign({},A,{role:p}),{eventKey:i,isActive:r,mountOnEnter:u,transition:l,unmountOnExit:d,onEnter:y,onEntering:g,onEntered:b,onExit:E,onExiting:w,onExited:T}];const{activeKey:j,getControlledId:O,getControllerId:L}=N,B=o1(N,m3),P=If(i);return[Object.assign({},A,{role:p,id:O(i),"aria-labelledby":L(i)}),{eventKey:i,isActive:r==null&&P!=null?If(j)===P:r,transition:l||B.transition,mountOnEnter:u??B.mountOnEnter,unmountOnExit:d??B.unmountOnExit,onEnter:y,onEntering:g,onEntered:b,onExit:E,onExiting:w,onExited:T}]}const O_=M.forwardRef((n,r)=>{let{as:i="div"}=n,u=o1(n,g3);const[l,{isActive:d,onEnter:p,onEntering:y,onEntered:g,onExit:b,onExiting:E,onExited:w,mountOnEnter:T,unmountOnExit:A,transition:N=G1}]=N_(u);return C.jsx(Fp.Provider,{value:null,children:C.jsx(Zu.Provider,{value:null,children:C.jsx(N,{in:d,onEnter:p,onEntering:y,onEntered:g,onExit:b,onExiting:E,onExited:w,mountOnEnter:T,unmountOnExit:A,children:C.jsx(i,Object.assign({},l,{ref:r,hidden:!d,"aria-hidden":!d}))})})})});O_.displayName="TabPanel";const __=n=>{const{id:r,generateChildId:i,onSelect:u,activeKey:l,defaultActiveKey:d,transition:p,mountOnEnter:y,unmountOnExit:g,children:b}=n,[E,w]=T_(l,d,u),T=A_(r),A=M.useMemo(()=>i||((j,O)=>T?`${T}-${O}-${j}`:null),[T,i]),N=M.useMemo(()=>({onSelect:w,activeKey:E,transition:p,mountOnEnter:y||!1,unmountOnExit:g||!1,getControlledId:j=>A(j,"tabpane"),getControllerId:j=>A(j,"tab")}),[w,E,p,y,g,A]);return C.jsx(Fp.Provider,{value:N,children:C.jsx(Zu.Provider,{value:w||null,children:b})})};__.Panel=O_;const D_=__;var j_={exports:{}};/*!
290
290
  Copyright (c) 2018 Jed Watson.
291
291
  Licensed under the MIT License (MIT), see
292
292
  http://jedwatson.github.io/classnames
293
- */(function(n){(function(){var r={}.hasOwnProperty;function i(){for(var d="",p=0;p<arguments.length;p++){var y=arguments[p];y&&(d=l(d,u(y)))}return d}function u(d){if(typeof d=="string"||typeof d=="number")return d;if(typeof d!="object")return"";if(Array.isArray(d))return i.apply(null,d);if(d.toString!==Object.prototype.toString&&!d.toString.toString().includes("[native code]"))return d.toString();var p="";for(var y in d)r.call(d,y)&&d[y]&&(p=l(p,y));return p}function l(d,p){return p?d?d+" "+p:d+p:d}n.exports?(i.default=i,n.exports=i):window.classNames=i})()})(j_);var y3=j_.exports;const Kt=Lp(y3);function $1(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}function n0(n,r){return n0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(u,l){return u.__proto__=l,u},n0(n,r)}function b3(n,r){n.prototype=Object.create(r.prototype),n.prototype.constructor=n,n0(n,r)}const vN={disabled:!1};var C3=process.env.NODE_ENV!=="production"?Tt.oneOfType([Tt.number,Tt.shape({enter:Tt.number,exit:Tt.number,appear:Tt.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&Tt.oneOfType([Tt.string,Tt.shape({enter:Tt.string,exit:Tt.string,active:Tt.string}),Tt.shape({enter:Tt.string,enterDone:Tt.string,enterActive:Tt.string,exit:Tt.string,exitDone:Tt.string,exitActive:Tt.string})]);const k_=Dr.createContext(null);var x3=function(r){return r.scrollTop},sm="unmounted",uc="exited",Hu="entering",lc="entered",r0="exiting",Ku=function(n){b3(r,n);function r(u,l){var d;d=n.call(this,u,l)||this;var p=l,y=p&&!p.isMounting?u.enter:u.appear,g;return d.appearStatus=null,u.in?y?(g=uc,d.appearStatus=Hu):g=lc:u.unmountOnExit||u.mountOnEnter?g=sm:g=uc,d.state={status:g},d.nextCallback=null,d}r.getDerivedStateFromProps=function(l,d){var p=l.in;return p&&d.status===sm?{status:uc}:null};var i=r.prototype;return i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(l){var d=null;if(l!==this.props){var p=this.state.status;this.props.in?p!==Hu&&p!==lc&&(d=Hu):(p===Hu||p===lc)&&(d=r0)}this.updateStatus(!1,d)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var l=this.props.timeout,d,p,y;return d=p=y=l,l!=null&&typeof l!="number"&&(d=l.exit,p=l.enter,y=l.appear!==void 0?l.appear:p),{exit:d,enter:p,appear:y}},i.updateStatus=function(l,d){if(l===void 0&&(l=!1),d!==null)if(this.cancelNextCallback(),d===Hu){if(this.props.unmountOnExit||this.props.mountOnEnter){var p=this.props.nodeRef?this.props.nodeRef.current:xf.findDOMNode(this);p&&x3(p)}this.performEnter(l)}else this.performExit();else this.props.unmountOnExit&&this.state.status===uc&&this.setState({status:sm})},i.performEnter=function(l){var d=this,p=this.props.enter,y=this.context?this.context.isMounting:l,g=this.props.nodeRef?[y]:[xf.findDOMNode(this),y],b=g[0],E=g[1],R=this.getTimeouts(),T=y?R.appear:R.enter;if(!l&&!p||vN.disabled){this.safeSetState({status:lc},function(){d.props.onEntered(b)});return}this.props.onEnter(b,E),this.safeSetState({status:Hu},function(){d.props.onEntering(b,E),d.onTransitionEnd(T,function(){d.safeSetState({status:lc},function(){d.props.onEntered(b,E)})})})},i.performExit=function(){var l=this,d=this.props.exit,p=this.getTimeouts(),y=this.props.nodeRef?void 0:xf.findDOMNode(this);if(!d||vN.disabled){this.safeSetState({status:uc},function(){l.props.onExited(y)});return}this.props.onExit(y),this.safeSetState({status:r0},function(){l.props.onExiting(y),l.onTransitionEnd(p.exit,function(){l.safeSetState({status:uc},function(){l.props.onExited(y)})})})},i.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(l,d){d=this.setNextCallback(d),this.setState(l,d)},i.setNextCallback=function(l){var d=this,p=!0;return this.nextCallback=function(y){p&&(p=!1,d.nextCallback=null,l(y))},this.nextCallback.cancel=function(){p=!1},this.nextCallback},i.onTransitionEnd=function(l,d){this.setNextCallback(d);var p=this.props.nodeRef?this.props.nodeRef.current:xf.findDOMNode(this),y=l==null&&!this.props.addEndListener;if(!p||y){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var g=this.props.nodeRef?[this.nextCallback]:[p,this.nextCallback],b=g[0],E=g[1];this.props.addEndListener(b,E)}l!=null&&setTimeout(this.nextCallback,l)},i.render=function(){var l=this.state.status;if(l===sm)return null;var d=this.props,p=d.children;d.in,d.mountOnEnter,d.unmountOnExit,d.appear,d.enter,d.exit,d.timeout,d.addEndListener,d.onEnter,d.onEntering,d.onEntered,d.onExit,d.onExiting,d.onExited,d.nodeRef;var y=$1(d,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Dr.createElement(k_.Provider,{value:null},typeof p=="function"?p(l,y):Dr.cloneElement(Dr.Children.only(p),y))},r}(Dr.Component);Ku.contextType=k_;Ku.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:Tt.shape({current:typeof Element>"u"?Tt.any:function(n,r,i,u,l,d){var p=n[r];return Tt.instanceOf(p&&"ownerDocument"in p?p.ownerDocument.defaultView.Element:Element)(n,r,i,u,l,d)}}),children:Tt.oneOfType([Tt.func.isRequired,Tt.element.isRequired]).isRequired,in:Tt.bool,mountOnEnter:Tt.bool,unmountOnExit:Tt.bool,appear:Tt.bool,enter:Tt.bool,exit:Tt.bool,timeout:function(r){var i=C3;r.addEndListener||(i=i.isRequired);for(var u=arguments.length,l=new Array(u>1?u-1:0),d=1;d<u;d++)l[d-1]=arguments[d];return i.apply(void 0,[r].concat(l))},addEndListener:Tt.func,onEnter:Tt.func,onEntering:Tt.func,onEntered:Tt.func,onExit:Tt.func,onExiting:Tt.func,onExited:Tt.func}:{};function yp(){}Ku.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:yp,onEntering:yp,onEntered:yp,onExit:yp,onExiting:yp,onExited:yp};Ku.UNMOUNTED=sm;Ku.EXITED=uc;Ku.ENTERING=Hu;Ku.ENTERED=lc;Ku.EXITING=r0;const E3=Ku;function Pp(n){return n&&n.ownerDocument||document}function S3(n){var r=Pp(n);return r&&r.defaultView||window}function w3(n,r){return S3(n).getComputedStyle(n,r)}var R3=/([A-Z])/g;function T3(n){return n.replace(R3,"-$1").toLowerCase()}var I3=/^ms-/;function Eb(n){return T3(n).replace(I3,"-ms-")}var A3=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function N3(n){return!!(n&&A3.test(n))}function Wu(n,r){var i="",u="";if(typeof r=="string")return n.style.getPropertyValue(Eb(r))||w3(n).getPropertyValue(Eb(r));Object.keys(r).forEach(function(l){var d=r[l];!d&&d!==0?n.style.removeProperty(Eb(l)):N3(l)?u+=l+"("+d+") ":i+=Eb(l)+": "+d+";"}),u&&(i+="transform: "+u+";"),n.style.cssText+=";"+i}const Vp=!!(typeof window<"u"&&window.document&&window.document.createElement);var s1=!1,u1=!1;try{var IS={get passive(){return s1=!0},get once(){return u1=s1=!0}};Vp&&(window.addEventListener("test",IS,IS),window.removeEventListener("test",IS,!0))}catch{}function W1(n,r,i,u){if(u&&typeof u!="boolean"&&!u1){var l=u.once,d=u.capture,p=i;!u1&&l&&(p=i.__once||function y(g){this.removeEventListener(r,y,d),i.call(this,g)},i.__once=p),n.addEventListener(r,p,s1?u:d)}n.addEventListener(r,i,u)}function l1(n,r,i,u){var l=u&&typeof u!="boolean"?u.capture:u;n.removeEventListener(r,i,l),i.__once&&n.removeEventListener(r,i.__once,l)}function Gu(n,r,i,u){return W1(n,r,i,u),function(){l1(n,r,i,u)}}function O3(n,r,i,u){if(i===void 0&&(i=!1),u===void 0&&(u=!0),n){var l=document.createEvent("HTMLEvents");l.initEvent(r,i,u),n.dispatchEvent(l)}}function _3(n){var r=Wu(n,"transitionDuration")||"",i=r.indexOf("ms")===-1?1e3:1;return parseFloat(r)*i}function D3(n,r,i){i===void 0&&(i=5);var u=!1,l=setTimeout(function(){u||O3(n,"transitionend",!0)},r+i),d=Gu(n,"transitionend",function(){u=!0},{once:!0});return function(){clearTimeout(l),d()}}function M_(n,r,i,u){i==null&&(i=_3(n)||0);var l=D3(n,i,u),d=Gu(n,"transitionend",r);return function(){l(),d()}}function hN(n,r){const i=Wu(n,r)||"",u=i.indexOf("ms")===-1?1e3:1;return parseFloat(i)*u}function L_(n,r){const i=hN(n,"transitionDuration"),u=hN(n,"transitionDelay"),l=M_(n,d=>{d.target===n&&(l(),r(d))},i+u)}function F_(n){n.offsetHeight}function a0(n){return n&&"setState"in n?xf.findDOMNode(n):n??null}const j3=Dr.forwardRef(({onEnter:n,onEntering:r,onEntered:i,onExit:u,onExiting:l,onExited:d,addEndListener:p,children:y,childRef:g,...b},E)=>{const R=M.useRef(null),T=Qo(R,g),A=G=>{T(a0(G))},N=G=>X=>{G&&R.current&&G(R.current,X)},j=M.useCallback(N(n),[n]),O=M.useCallback(N(r),[r]),L=M.useCallback(N(i),[i]),B=M.useCallback(N(u),[u]),P=M.useCallback(N(l),[l]),U=M.useCallback(N(d),[d]),z=M.useCallback(N(p),[p]);return C.jsx(E3,{ref:E,...b,onEnter:j,onEntered:L,onEntering:O,onExit:B,onExited:U,onExiting:P,addEndListener:z,nodeRef:R,children:typeof y=="function"?(G,X)=>y(G,{...X,ref:A}):Dr.cloneElement(y,{ref:A})})}),P_=j3,k3={[Hu]:"show",[lc]:"show"},V_=M.forwardRef(({className:n,children:r,transitionClasses:i={},onEnter:u,...l},d)=>{const p={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...l},y=M.useCallback((g,b)=>{F_(g),u==null||u(g,b)},[u]);return C.jsx(P_,{ref:d,addEndListener:L_,...p,onEnter:y,childRef:r.ref,children:(g,b)=>M.cloneElement(r,{...b,className:Kt("fade",n,r.props.className,k3[g],i[g])})})});V_.displayName="Fade";const Np=V_;function X1(n){return typeof n=="boolean"?n?Np:G1:n}const B_=({transition:n,...r})=>C.jsx(D_,{...r,transition:X1(n)});B_.displayName="TabContainer";const M3=B_,L3=["xxl","xl","lg","md","sm","xs"],F3="xs",z_=M.createContext({prefixes:{},breakpoints:L3,minBreakpoint:F3});function Cn(n,r){const{prefixes:i}=M.useContext(z_);return n||i[r]||r}function R0(){const{dir:n}=M.useContext(z_);return n==="rtl"}const H_=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=Cn(r,"tab-content"),C.jsx(i,{ref:l,className:Kt(n,r),...u})));H_.displayName="TabContent";const U_=H_,G_=M.forwardRef(({bsPrefix:n,transition:r,...i},u)=>{const[{className:l,as:d="div",...p},{isActive:y,onEnter:g,onEntering:b,onEntered:E,onExit:R,onExiting:T,onExited:A,mountOnEnter:N,unmountOnExit:j,transition:O=Np}]=N_({...i,transition:X1(r)}),L=Cn(n,"tab-pane");return C.jsx(Fp.Provider,{value:null,children:C.jsx(Zu.Provider,{value:null,children:C.jsx(O,{in:y,onEnter:g,onEntering:b,onEntered:E,onExit:R,onExiting:T,onExited:A,mountOnEnter:N,unmountOnExit:j,children:C.jsx(d,{...p,ref:u,className:Kt(l,L,y&&"active")})})})})});G_.displayName="TabPane";const $_=G_,P3={eventKey:Tt.oneOfType([Tt.string,Tt.number]),title:Tt.node.isRequired,disabled:Tt.bool,tabClassName:Tt.string,tabAttrs:Tt.object},W_=()=>{throw new Error("ReactBootstrap: The `Tab` component is not meant to be rendered! It's an abstract component that is only valid as a direct Child of the `Tabs` Component. For custom tabs components use TabPane and TabsContainer directly")};W_.propTypes=P3;const Sb=Object.assign(W_,{Container:M3,Content:U_,Pane:$_});function xt(){return xt=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])}return n},xt.apply(this,arguments)}var V3=function(n,r,i,u,l,d,p,y){if(process.env.NODE_ENV!=="production"&&r===void 0)throw new Error("invariant requires an error message argument");if(!n){var g;if(r===void 0)g=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var b=[i,u,l,d,p,y],E=0;g=new Error(r.replace(/%s/g,function(){return b[E++]})),g.name="Invariant Violation"}throw g.framesToPop=1,g}},B3=V3;const mN=Lp(B3);function gN(n){return"default"+n.charAt(0).toUpperCase()+n.substr(1)}function z3(n){var r=H3(n,"string");return typeof r=="symbol"?r:String(r)}function H3(n,r){if(typeof n!="object"||n===null)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var u=i.call(n,r||"default");if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(n)}function X_(n,r,i){var u=M.useRef(n!==void 0),l=M.useState(r),d=l[0],p=l[1],y=n!==void 0,g=u.current;return u.current=y,!y&&g&&d!==r&&p(r),[y?n:d,M.useCallback(function(b){for(var E=arguments.length,R=new Array(E>1?E-1:0),T=1;T<E;T++)R[T-1]=arguments[T];i&&i.apply(void 0,[b].concat(R)),p(b)},[i])]}function T0(n,r){return Object.keys(r).reduce(function(i,u){var l,d=i,p=d[gN(u)],y=d[u],g=$1(d,[gN(u),u].map(z3)),b=r[u],E=X_(y,p,n[b]),R=E[0],T=E[1];return xt({},g,(l={},l[u]=R,l[b]=T,l))},n)}var yN={exports:{}},c1={exports:{}};(function(n,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=i;function i(u){function l(p,y,g,b,E,R){var T=b||"<<anonymous>>",A=R||g;if(y[g]==null)return p?new Error("Required "+E+" `"+A+"` was not specified "+("in `"+T+"`.")):null;for(var N=arguments.length,j=Array(N>6?N-6:0),O=6;O<N;O++)j[O-6]=arguments[O];return u.apply(void 0,[y,g,T,E,A].concat(j))}var d=l.bind(null,!1);return d.isRequired=l.bind(null,!0),d}n.exports=r.default})(c1,c1.exports);var U3=c1.exports;(function(n,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=d;var i=U3,u=l(i);function l(p){return p&&p.__esModule?p:{default:p}}function d(){for(var p=arguments.length,y=Array(p),g=0;g<p;g++)y[g]=arguments[g];function b(){for(var E=arguments.length,R=Array(E),T=0;T<E;T++)R[T]=arguments[T];var A=null;return y.forEach(function(N){if(A==null){var j=N.apply(void 0,R);j!=null&&(A=j)}}),A}return(0,u.default)(b)}n.exports=r.default})(yN,yN.exports);var G3=Function.prototype.bind.call(Function.prototype.call,[].slice);function Uu(n,r){return G3(n.querySelectorAll(r))}function Y_(){const[,n]=M.useReducer(r=>!r,!1);return n}const Z_=M.createContext(null);Z_.displayName="NavContext";const Y1=Z_,$3="data-rr-ui-",W3="rrUi";function Bp(n){return`${$3}${n}`}function X3(n){return`${W3}${n}`}const Y3=["as","disabled"];function Z3(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}function J3(n){return!n||n.trim()==="#"}function Z1({tagName:n,disabled:r,href:i,target:u,rel:l,role:d,onClick:p,tabIndex:y=0,type:g}){n||(i!=null||u!=null||l!=null?n="a":n="button");const b={tagName:n};if(n==="button")return[{type:g||"button",disabled:r},b];const E=T=>{if((r||n==="a"&&J3(i))&&T.preventDefault(),r){T.stopPropagation();return}p==null||p(T)},R=T=>{T.key===" "&&(T.preventDefault(),E(T))};return n==="a"&&(i||(i="#"),r&&(i=void 0)),[{role:d??"button",disabled:void 0,tabIndex:r?void 0:y,href:i,target:n==="a"?u:void 0,"aria-disabled":r||void 0,rel:n==="a"?l:void 0,onClick:E,onKeyDown:R},b]}const J1=M.forwardRef((n,r)=>{let{as:i,disabled:u}=n,l=Z3(n,Y3);const[d,{tagName:p}]=Z1(Object.assign({tagName:i,disabled:u},l));return C.jsx(p,Object.assign({},l,d,{ref:r}))});J1.displayName="Button";const q3=["as","active","eventKey"];function Q3(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}function J_({key:n,onClick:r,active:i,id:u,role:l,disabled:d}){const p=M.useContext(Zu),y=M.useContext(Y1),g=M.useContext(Fp);let b=i;const E={role:l};if(y){!l&&y.role==="tablist"&&(E.role="tab");const R=y.getControllerId(n??null),T=y.getControlledId(n??null);E[Bp("event-key")]=n,E.id=R||u,b=i==null&&n!=null?y.activeKey===n:i,(b||!(g!=null&&g.unmountOnExit)&&!(g!=null&&g.mountOnEnter))&&(E["aria-controls"]=T)}return E.role==="tab"&&(E["aria-selected"]=b,b||(E.tabIndex=-1),d&&(E.tabIndex=-1,E["aria-disabled"]=!0)),E.onClick=hr(R=>{d||(r==null||r(R),n!=null&&p&&!R.isPropagationStopped()&&p(n,R))}),[E,{isActive:b}]}const q_=M.forwardRef((n,r)=>{let{as:i=J1,active:u,eventKey:l}=n,d=Q3(n,q3);const[p,y]=J_(Object.assign({key:If(l,d.href),active:u},d));return p[Bp("active")]=y.isActive,C.jsx(i,Object.assign({},d,p,{ref:r}))});q_.displayName="NavItem";const K3=q_,e9=["as","onSelect","activeKey","role","onKeyDown"];function t9(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}const bN=()=>{},CN=Bp("event-key"),Q_=M.forwardRef((n,r)=>{let{as:i="div",onSelect:u,activeKey:l,role:d,onKeyDown:p}=n,y=t9(n,e9);const g=Y_(),b=M.useRef(!1),E=M.useContext(Zu),R=M.useContext(Fp);let T,A;R&&(d=d||"tablist",l=R.activeKey,T=R.getControlledId,A=R.getControllerId);const N=M.useRef(null),j=P=>{const U=N.current;if(!U)return null;const z=Uu(U,`[${CN}]:not([aria-disabled=true])`),G=U.querySelector("[aria-selected=true]");if(!G||G!==document.activeElement)return null;const X=z.indexOf(G);if(X===-1)return null;let te=X+P;return te>=z.length&&(te=0),te<0&&(te=z.length-1),z[te]},O=(P,U)=>{P!=null&&(u==null||u(P,U),E==null||E(P,U))},L=P=>{if(p==null||p(P),!R)return;let U;switch(P.key){case"ArrowLeft":case"ArrowUp":U=j(-1);break;case"ArrowRight":case"ArrowDown":U=j(1);break;default:return}U&&(P.preventDefault(),O(U.dataset[X3("EventKey")]||null,P),b.current=!0,g())};M.useEffect(()=>{if(N.current&&b.current){const P=N.current.querySelector(`[${CN}][aria-selected=true]`);P==null||P.focus()}b.current=!1});const B=Qo(r,N);return C.jsx(Zu.Provider,{value:O,children:C.jsx(Y1.Provider,{value:{role:d,activeKey:If(l),getControlledId:T||bN,getControllerId:A||bN},children:C.jsx(i,Object.assign({},y,{onKeyDown:L,ref:B,role:d}))})})});Q_.displayName="Nav";const n9=Object.assign(Q_,{Item:K3}),K_=M.createContext(null);K_.displayName="NavbarContext";const eD=K_,tD=M.createContext(null);tD.displayName="CardHeaderContext";const r9=tD,nD=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=Cn(r,"nav-item"),C.jsx(i,{ref:l,className:Kt(n,r),...u})));nD.displayName="NavItem";const rD=nD;function i0(){return M.useState(null)}function a9(n,r,i,u=!1){const l=hr(i);M.useEffect(()=>{const d=typeof n=="function"?n():n;return d.addEventListener(r,l,u),()=>d.removeEventListener(r,l,u)},[n])}function q1(){const n=M.useRef(!0),r=M.useRef(()=>n.current);return M.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[]),r.current}function aD(n){const r=M.useRef(null);return M.useEffect(()=>{r.current=n}),r.current}const i9=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",o9=typeof document<"u",o0=o9||i9?M.useLayoutEffect:M.useEffect,s9=["onKeyDown"];function u9(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}function l9(n){return!n||n.trim()==="#"}const iD=M.forwardRef((n,r)=>{let{onKeyDown:i}=n,u=u9(n,s9);const[l]=Z1(Object.assign({tagName:"a"},u)),d=hr(p=>{l.onKeyDown(p),i==null||i(p)});return l9(u.href)||u.role==="button"?C.jsx("a",Object.assign({ref:r},u,l,{onKeyDown:d})):C.jsx("a",Object.assign({ref:r},u,{onKeyDown:i}))});iD.displayName="Anchor";const oD=iD,sD=M.forwardRef(({bsPrefix:n,className:r,as:i=oD,active:u,eventKey:l,disabled:d=!1,...p},y)=>{n=Cn(n,"nav-link");const[g,b]=J_({key:If(l,p.href),active:u,disabled:d,...p});return C.jsx(i,{...p,...g,ref:y,disabled:d,className:Kt(r,n,d&&"disabled",b.isActive&&"active")})});sD.displayName="NavLink";const uD=sD,lD=M.forwardRef((n,r)=>{const{as:i="div",bsPrefix:u,variant:l,fill:d=!1,justify:p=!1,navbar:y,navbarScroll:g,className:b,activeKey:E,...R}=T0(n,{activeKey:"onSelect"}),T=Cn(u,"nav");let A,N,j=!1;const O=M.useContext(eD),L=M.useContext(r9);return O?(A=O.bsPrefix,j=y??!0):L&&({cardHeaderBsPrefix:N}=L),C.jsx(n9,{as:i,ref:r,activeKey:E,className:Kt(b,{[T]:!j,[`${A}-nav`]:j,[`${A}-nav-scroll`]:j&&g,[`${N}-${l}`]:!!N,[`${T}-${l}`]:!!l,[`${T}-fill`]:d,[`${T}-justified`]:p}),...R})});lD.displayName="Nav";const c9=Object.assign(lD,{Item:rD,Link:uD});function xN(n,r){let i=0;return M.Children.map(n,u=>M.isValidElement(u)?r(u,i++):u)}function f9(n,r){let i=0;M.Children.forEach(n,u=>{M.isValidElement(u)&&r(u,i++)})}function d9(n){let r;return f9(n,i=>{r==null&&(r=i.props.eventKey)}),r}function p9(n){const{title:r,eventKey:i,disabled:u,tabClassName:l,tabAttrs:d,id:p}=n.props;return r==null?null:C.jsx(rD,{as:"li",role:"presentation",children:C.jsx(uD,{as:"button",type:"button",eventKey:i,disabled:u,id:p,className:l,...d,children:r})})}const cD=n=>{const{id:r,onSelect:i,transition:u,mountOnEnter:l=!1,unmountOnExit:d=!1,variant:p="tabs",children:y,activeKey:g=d9(y),...b}=T0(n,{activeKey:"onSelect"});return C.jsxs(D_,{id:r,activeKey:g,onSelect:i,transition:X1(u),mountOnEnter:l,unmountOnExit:d,children:[C.jsx(c9,{...b,role:"tablist",as:"ul",variant:p,children:xN(y,p9)}),C.jsx(U_,{children:xN(y,E=>{const R={...E.props};return delete R.title,delete R.disabled,delete R.tabClassName,delete R.tabAttrs,C.jsx($_,{...R})})})]})};cD.displayName="Tabs";const v9=cD,h9=M.createContext(null),I0=h9;var EN=Object.prototype.hasOwnProperty;function SN(n,r,i){for(i of n.keys())if(um(i,r))return i}function um(n,r){var i,u,l;if(n===r)return!0;if(n&&r&&(i=n.constructor)===r.constructor){if(i===Date)return n.getTime()===r.getTime();if(i===RegExp)return n.toString()===r.toString();if(i===Array){if((u=n.length)===r.length)for(;u--&&um(n[u],r[u]););return u===-1}if(i===Set){if(n.size!==r.size)return!1;for(u of n)if(l=u,l&&typeof l=="object"&&(l=SN(r,l),!l)||!r.has(l))return!1;return!0}if(i===Map){if(n.size!==r.size)return!1;for(u of n)if(l=u[0],l&&typeof l=="object"&&(l=SN(r,l),!l)||!um(u[1],r.get(l)))return!1;return!0}if(i===ArrayBuffer)n=new Uint8Array(n),r=new Uint8Array(r);else if(i===DataView){if((u=n.byteLength)===r.byteLength)for(;u--&&n.getInt8(u)===r.getInt8(u););return u===-1}if(ArrayBuffer.isView(n)){if((u=n.byteLength)===r.byteLength)for(;u--&&n[u]===r[u];);return u===-1}if(!i||typeof n=="object"){u=0;for(i in n)if(EN.call(n,i)&&++u&&!EN.call(r,i)||!(i in r)||!um(n[i],r[i]))return!1;return Object.keys(r).length===u}}return n!==n&&r!==r}function m9(n){const r=q1();return[n[0],M.useCallback(i=>{if(r())return n[1](i)},[r,n[1]])]}var Ti="top",go="bottom",yo="right",Ii="left",Q1="auto",wm=[Ti,go,yo,Ii],Op="start",vm="end",g9="clippingParents",fD="viewport",em="popper",y9="reference",wN=wm.reduce(function(n,r){return n.concat([r+"-"+Op,r+"-"+vm])},[]),dD=[].concat(wm,[Q1]).reduce(function(n,r){return n.concat([r,r+"-"+Op,r+"-"+vm])},[]),b9="beforeRead",C9="read",x9="afterRead",E9="beforeMain",S9="main",w9="afterMain",R9="beforeWrite",T9="write",I9="afterWrite",A9=[b9,C9,x9,E9,S9,w9,R9,T9,I9];function Ws(n){return n.split("-")[0]}function Wi(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var r=n.ownerDocument;return r&&r.defaultView||window}return n}function Af(n){var r=Wi(n).Element;return n instanceof r||n instanceof Element}function Xs(n){var r=Wi(n).HTMLElement;return n instanceof r||n instanceof HTMLElement}function K1(n){if(typeof ShadowRoot>"u")return!1;var r=Wi(n).ShadowRoot;return n instanceof r||n instanceof ShadowRoot}var wf=Math.max,s0=Math.min,_p=Math.round;function f1(){var n=navigator.userAgentData;return n!=null&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(r){return r.brand+"/"+r.version}).join(" "):navigator.userAgent}function pD(){return!/^((?!chrome|android).)*safari/i.test(f1())}function Dp(n,r,i){r===void 0&&(r=!1),i===void 0&&(i=!1);var u=n.getBoundingClientRect(),l=1,d=1;r&&Xs(n)&&(l=n.offsetWidth>0&&_p(u.width)/n.offsetWidth||1,d=n.offsetHeight>0&&_p(u.height)/n.offsetHeight||1);var p=Af(n)?Wi(n):window,y=p.visualViewport,g=!pD()&&i,b=(u.left+(g&&y?y.offsetLeft:0))/l,E=(u.top+(g&&y?y.offsetTop:0))/d,R=u.width/l,T=u.height/d;return{width:R,height:T,top:E,right:b+R,bottom:E+T,left:b,x:b,y:E}}function ew(n){var r=Dp(n),i=n.offsetWidth,u=n.offsetHeight;return Math.abs(r.width-i)<=1&&(i=r.width),Math.abs(r.height-u)<=1&&(u=r.height),{x:n.offsetLeft,y:n.offsetTop,width:i,height:u}}function vD(n,r){var i=r.getRootNode&&r.getRootNode();if(n.contains(r))return!0;if(i&&K1(i)){var u=r;do{if(u&&n.isSameNode(u))return!0;u=u.parentNode||u.host}while(u)}return!1}function pc(n){return n?(n.nodeName||"").toLowerCase():null}function Ju(n){return Wi(n).getComputedStyle(n)}function N9(n){return["table","td","th"].indexOf(pc(n))>=0}function vc(n){return((Af(n)?n.ownerDocument:n.document)||window.document).documentElement}function A0(n){return pc(n)==="html"?n:n.assignedSlot||n.parentNode||(K1(n)?n.host:null)||vc(n)}function RN(n){return!Xs(n)||Ju(n).position==="fixed"?null:n.offsetParent}function O9(n){var r=/firefox/i.test(f1()),i=/Trident/i.test(f1());if(i&&Xs(n)){var u=Ju(n);if(u.position==="fixed")return null}var l=A0(n);for(K1(l)&&(l=l.host);Xs(l)&&["html","body"].indexOf(pc(l))<0;){var d=Ju(l);if(d.transform!=="none"||d.perspective!=="none"||d.contain==="paint"||["transform","perspective"].indexOf(d.willChange)!==-1||r&&d.willChange==="filter"||r&&d.filter&&d.filter!=="none")return l;l=l.parentNode}return null}function Rm(n){for(var r=Wi(n),i=RN(n);i&&N9(i)&&Ju(i).position==="static";)i=RN(i);return i&&(pc(i)==="html"||pc(i)==="body"&&Ju(i).position==="static")?r:i||O9(n)||r}function tw(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function lm(n,r,i){return wf(n,s0(r,i))}function _9(n,r,i){var u=lm(n,r,i);return u>i?i:u}function hD(){return{top:0,right:0,bottom:0,left:0}}function mD(n){return Object.assign({},hD(),n)}function gD(n,r){return r.reduce(function(i,u){return i[u]=n,i},{})}var D9=function(r,i){return r=typeof r=="function"?r(Object.assign({},i.rects,{placement:i.placement})):r,mD(typeof r!="number"?r:gD(r,wm))};function j9(n){var r,i=n.state,u=n.name,l=n.options,d=i.elements.arrow,p=i.modifiersData.popperOffsets,y=Ws(i.placement),g=tw(y),b=[Ii,yo].indexOf(y)>=0,E=b?"height":"width";if(!(!d||!p)){var R=D9(l.padding,i),T=ew(d),A=g==="y"?Ti:Ii,N=g==="y"?go:yo,j=i.rects.reference[E]+i.rects.reference[g]-p[g]-i.rects.popper[E],O=p[g]-i.rects.reference[g],L=Rm(d),B=L?g==="y"?L.clientHeight||0:L.clientWidth||0:0,P=j/2-O/2,U=R[A],z=B-T[E]-R[N],G=B/2-T[E]/2+P,X=lm(U,G,z),te=g;i.modifiersData[u]=(r={},r[te]=X,r.centerOffset=X-G,r)}}function k9(n){var r=n.state,i=n.options,u=i.element,l=u===void 0?"[data-popper-arrow]":u;l!=null&&(typeof l=="string"&&(l=r.elements.popper.querySelector(l),!l)||vD(r.elements.popper,l)&&(r.elements.arrow=l))}const M9={name:"arrow",enabled:!0,phase:"main",fn:j9,effect:k9,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function jp(n){return n.split("-")[1]}var L9={top:"auto",right:"auto",bottom:"auto",left:"auto"};function F9(n,r){var i=n.x,u=n.y,l=r.devicePixelRatio||1;return{x:_p(i*l)/l||0,y:_p(u*l)/l||0}}function TN(n){var r,i=n.popper,u=n.popperRect,l=n.placement,d=n.variation,p=n.offsets,y=n.position,g=n.gpuAcceleration,b=n.adaptive,E=n.roundOffsets,R=n.isFixed,T=p.x,A=T===void 0?0:T,N=p.y,j=N===void 0?0:N,O=typeof E=="function"?E({x:A,y:j}):{x:A,y:j};A=O.x,j=O.y;var L=p.hasOwnProperty("x"),B=p.hasOwnProperty("y"),P=Ii,U=Ti,z=window;if(b){var G=Rm(i),X="clientHeight",te="clientWidth";if(G===Wi(i)&&(G=vc(i),Ju(G).position!=="static"&&y==="absolute"&&(X="scrollHeight",te="scrollWidth")),G=G,l===Ti||(l===Ii||l===yo)&&d===vm){U=go;var Re=R&&G===z&&z.visualViewport?z.visualViewport.height:G[X];j-=Re-u.height,j*=g?1:-1}if(l===Ii||(l===Ti||l===go)&&d===vm){P=yo;var ue=R&&G===z&&z.visualViewport?z.visualViewport.width:G[te];A-=ue-u.width,A*=g?1:-1}}var pe=Object.assign({position:y},b&&L9),ye=E===!0?F9({x:A,y:j},Wi(i)):{x:A,y:j};if(A=ye.x,j=ye.y,g){var me;return Object.assign({},pe,(me={},me[U]=B?"0":"",me[P]=L?"0":"",me.transform=(z.devicePixelRatio||1)<=1?"translate("+A+"px, "+j+"px)":"translate3d("+A+"px, "+j+"px, 0)",me))}return Object.assign({},pe,(r={},r[U]=B?j+"px":"",r[P]=L?A+"px":"",r.transform="",r))}function P9(n){var r=n.state,i=n.options,u=i.gpuAcceleration,l=u===void 0?!0:u,d=i.adaptive,p=d===void 0?!0:d,y=i.roundOffsets,g=y===void 0?!0:y,b={placement:Ws(r.placement),variation:jp(r.placement),popper:r.elements.popper,popperRect:r.rects.popper,gpuAcceleration:l,isFixed:r.options.strategy==="fixed"};r.modifiersData.popperOffsets!=null&&(r.styles.popper=Object.assign({},r.styles.popper,TN(Object.assign({},b,{offsets:r.modifiersData.popperOffsets,position:r.options.strategy,adaptive:p,roundOffsets:g})))),r.modifiersData.arrow!=null&&(r.styles.arrow=Object.assign({},r.styles.arrow,TN(Object.assign({},b,{offsets:r.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:g})))),r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-placement":r.placement})}const V9={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:P9,data:{}};var wb={passive:!0};function B9(n){var r=n.state,i=n.instance,u=n.options,l=u.scroll,d=l===void 0?!0:l,p=u.resize,y=p===void 0?!0:p,g=Wi(r.elements.popper),b=[].concat(r.scrollParents.reference,r.scrollParents.popper);return d&&b.forEach(function(E){E.addEventListener("scroll",i.update,wb)}),y&&g.addEventListener("resize",i.update,wb),function(){d&&b.forEach(function(E){E.removeEventListener("scroll",i.update,wb)}),y&&g.removeEventListener("resize",i.update,wb)}}const z9={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:B9,data:{}};var H9={left:"right",right:"left",bottom:"top",top:"bottom"};function Vb(n){return n.replace(/left|right|bottom|top/g,function(r){return H9[r]})}var U9={start:"end",end:"start"};function IN(n){return n.replace(/start|end/g,function(r){return U9[r]})}function nw(n){var r=Wi(n),i=r.pageXOffset,u=r.pageYOffset;return{scrollLeft:i,scrollTop:u}}function rw(n){return Dp(vc(n)).left+nw(n).scrollLeft}function G9(n,r){var i=Wi(n),u=vc(n),l=i.visualViewport,d=u.clientWidth,p=u.clientHeight,y=0,g=0;if(l){d=l.width,p=l.height;var b=pD();(b||!b&&r==="fixed")&&(y=l.offsetLeft,g=l.offsetTop)}return{width:d,height:p,x:y+rw(n),y:g}}function $9(n){var r,i=vc(n),u=nw(n),l=(r=n.ownerDocument)==null?void 0:r.body,d=wf(i.scrollWidth,i.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),p=wf(i.scrollHeight,i.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),y=-u.scrollLeft+rw(n),g=-u.scrollTop;return Ju(l||i).direction==="rtl"&&(y+=wf(i.clientWidth,l?l.clientWidth:0)-d),{width:d,height:p,x:y,y:g}}function aw(n){var r=Ju(n),i=r.overflow,u=r.overflowX,l=r.overflowY;return/auto|scroll|overlay|hidden/.test(i+l+u)}function yD(n){return["html","body","#document"].indexOf(pc(n))>=0?n.ownerDocument.body:Xs(n)&&aw(n)?n:yD(A0(n))}function cm(n,r){var i;r===void 0&&(r=[]);var u=yD(n),l=u===((i=n.ownerDocument)==null?void 0:i.body),d=Wi(u),p=l?[d].concat(d.visualViewport||[],aw(u)?u:[]):u,y=r.concat(p);return l?y:y.concat(cm(A0(p)))}function d1(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function W9(n,r){var i=Dp(n,!1,r==="fixed");return i.top=i.top+n.clientTop,i.left=i.left+n.clientLeft,i.bottom=i.top+n.clientHeight,i.right=i.left+n.clientWidth,i.width=n.clientWidth,i.height=n.clientHeight,i.x=i.left,i.y=i.top,i}function AN(n,r,i){return r===fD?d1(G9(n,i)):Af(r)?W9(r,i):d1($9(vc(n)))}function X9(n){var r=cm(A0(n)),i=["absolute","fixed"].indexOf(Ju(n).position)>=0,u=i&&Xs(n)?Rm(n):n;return Af(u)?r.filter(function(l){return Af(l)&&vD(l,u)&&pc(l)!=="body"}):[]}function Y9(n,r,i,u){var l=r==="clippingParents"?X9(n):[].concat(r),d=[].concat(l,[i]),p=d[0],y=d.reduce(function(g,b){var E=AN(n,b,u);return g.top=wf(E.top,g.top),g.right=s0(E.right,g.right),g.bottom=s0(E.bottom,g.bottom),g.left=wf(E.left,g.left),g},AN(n,p,u));return y.width=y.right-y.left,y.height=y.bottom-y.top,y.x=y.left,y.y=y.top,y}function bD(n){var r=n.reference,i=n.element,u=n.placement,l=u?Ws(u):null,d=u?jp(u):null,p=r.x+r.width/2-i.width/2,y=r.y+r.height/2-i.height/2,g;switch(l){case Ti:g={x:p,y:r.y-i.height};break;case go:g={x:p,y:r.y+r.height};break;case yo:g={x:r.x+r.width,y};break;case Ii:g={x:r.x-i.width,y};break;default:g={x:r.x,y:r.y}}var b=l?tw(l):null;if(b!=null){var E=b==="y"?"height":"width";switch(d){case Op:g[b]=g[b]-(r[E]/2-i[E]/2);break;case vm:g[b]=g[b]+(r[E]/2-i[E]/2);break}}return g}function hm(n,r){r===void 0&&(r={});var i=r,u=i.placement,l=u===void 0?n.placement:u,d=i.strategy,p=d===void 0?n.strategy:d,y=i.boundary,g=y===void 0?g9:y,b=i.rootBoundary,E=b===void 0?fD:b,R=i.elementContext,T=R===void 0?em:R,A=i.altBoundary,N=A===void 0?!1:A,j=i.padding,O=j===void 0?0:j,L=mD(typeof O!="number"?O:gD(O,wm)),B=T===em?y9:em,P=n.rects.popper,U=n.elements[N?B:T],z=Y9(Af(U)?U:U.contextElement||vc(n.elements.popper),g,E,p),G=Dp(n.elements.reference),X=bD({reference:G,element:P,strategy:"absolute",placement:l}),te=d1(Object.assign({},P,X)),Re=T===em?te:G,ue={top:z.top-Re.top+L.top,bottom:Re.bottom-z.bottom+L.bottom,left:z.left-Re.left+L.left,right:Re.right-z.right+L.right},pe=n.modifiersData.offset;if(T===em&&pe){var ye=pe[l];Object.keys(ue).forEach(function(me){var Ae=[yo,go].indexOf(me)>=0?1:-1,_e=[Ti,go].indexOf(me)>=0?"y":"x";ue[me]+=ye[_e]*Ae})}return ue}function Z9(n,r){r===void 0&&(r={});var i=r,u=i.placement,l=i.boundary,d=i.rootBoundary,p=i.padding,y=i.flipVariations,g=i.allowedAutoPlacements,b=g===void 0?dD:g,E=jp(u),R=E?y?wN:wN.filter(function(N){return jp(N)===E}):wm,T=R.filter(function(N){return b.indexOf(N)>=0});T.length===0&&(T=R);var A=T.reduce(function(N,j){return N[j]=hm(n,{placement:j,boundary:l,rootBoundary:d,padding:p})[Ws(j)],N},{});return Object.keys(A).sort(function(N,j){return A[N]-A[j]})}function J9(n){if(Ws(n)===Q1)return[];var r=Vb(n);return[IN(n),r,IN(r)]}function q9(n){var r=n.state,i=n.options,u=n.name;if(!r.modifiersData[u]._skip){for(var l=i.mainAxis,d=l===void 0?!0:l,p=i.altAxis,y=p===void 0?!0:p,g=i.fallbackPlacements,b=i.padding,E=i.boundary,R=i.rootBoundary,T=i.altBoundary,A=i.flipVariations,N=A===void 0?!0:A,j=i.allowedAutoPlacements,O=r.options.placement,L=Ws(O),B=L===O,P=g||(B||!N?[Vb(O)]:J9(O)),U=[O].concat(P).reduce(function(Ee,De){return Ee.concat(Ws(De)===Q1?Z9(r,{placement:De,boundary:E,rootBoundary:R,padding:b,flipVariations:N,allowedAutoPlacements:j}):De)},[]),z=r.rects.reference,G=r.rects.popper,X=new Map,te=!0,Re=U[0],ue=0;ue<U.length;ue++){var pe=U[ue],ye=Ws(pe),me=jp(pe)===Op,Ae=[Ti,go].indexOf(ye)>=0,_e=Ae?"width":"height",Oe=hm(r,{placement:pe,boundary:E,rootBoundary:R,altBoundary:T,padding:b}),Ie=Ae?me?yo:Ii:me?go:Ti;z[_e]>G[_e]&&(Ie=Vb(Ie));var ve=Vb(Ie),Le=[];if(d&&Le.push(Oe[ye]<=0),y&&Le.push(Oe[Ie]<=0,Oe[ve]<=0),Le.every(function(Ee){return Ee})){Re=pe,te=!1;break}X.set(pe,Le)}if(te)for(var F=N?3:1,q=function(De){var ie=U.find(function(he){var Te=X.get(he);if(Te)return Te.slice(0,De).every(function(Ve){return Ve})});if(ie)return Re=ie,"break"},se=F;se>0;se--){var xe=q(se);if(xe==="break")break}r.placement!==Re&&(r.modifiersData[u]._skip=!0,r.placement=Re,r.reset=!0)}}const Q9={name:"flip",enabled:!0,phase:"main",fn:q9,requiresIfExists:["offset"],data:{_skip:!1}};function NN(n,r,i){return i===void 0&&(i={x:0,y:0}),{top:n.top-r.height-i.y,right:n.right-r.width+i.x,bottom:n.bottom-r.height+i.y,left:n.left-r.width-i.x}}function ON(n){return[Ti,yo,go,Ii].some(function(r){return n[r]>=0})}function K9(n){var r=n.state,i=n.name,u=r.rects.reference,l=r.rects.popper,d=r.modifiersData.preventOverflow,p=hm(r,{elementContext:"reference"}),y=hm(r,{altBoundary:!0}),g=NN(p,u),b=NN(y,l,d),E=ON(g),R=ON(b);r.modifiersData[i]={referenceClippingOffsets:g,popperEscapeOffsets:b,isReferenceHidden:E,hasPopperEscaped:R},r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-reference-hidden":E,"data-popper-escaped":R})}const eH={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:K9};function tH(n,r,i){var u=Ws(n),l=[Ii,Ti].indexOf(u)>=0?-1:1,d=typeof i=="function"?i(Object.assign({},r,{placement:n})):i,p=d[0],y=d[1];return p=p||0,y=(y||0)*l,[Ii,yo].indexOf(u)>=0?{x:y,y:p}:{x:p,y}}function nH(n){var r=n.state,i=n.options,u=n.name,l=i.offset,d=l===void 0?[0,0]:l,p=dD.reduce(function(E,R){return E[R]=tH(R,r.rects,d),E},{}),y=p[r.placement],g=y.x,b=y.y;r.modifiersData.popperOffsets!=null&&(r.modifiersData.popperOffsets.x+=g,r.modifiersData.popperOffsets.y+=b),r.modifiersData[u]=p}const rH={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:nH};function aH(n){var r=n.state,i=n.name;r.modifiersData[i]=bD({reference:r.rects.reference,element:r.rects.popper,strategy:"absolute",placement:r.placement})}const iH={name:"popperOffsets",enabled:!0,phase:"read",fn:aH,data:{}};function oH(n){return n==="x"?"y":"x"}function sH(n){var r=n.state,i=n.options,u=n.name,l=i.mainAxis,d=l===void 0?!0:l,p=i.altAxis,y=p===void 0?!1:p,g=i.boundary,b=i.rootBoundary,E=i.altBoundary,R=i.padding,T=i.tether,A=T===void 0?!0:T,N=i.tetherOffset,j=N===void 0?0:N,O=hm(r,{boundary:g,rootBoundary:b,padding:R,altBoundary:E}),L=Ws(r.placement),B=jp(r.placement),P=!B,U=tw(L),z=oH(U),G=r.modifiersData.popperOffsets,X=r.rects.reference,te=r.rects.popper,Re=typeof j=="function"?j(Object.assign({},r.rects,{placement:r.placement})):j,ue=typeof Re=="number"?{mainAxis:Re,altAxis:Re}:Object.assign({mainAxis:0,altAxis:0},Re),pe=r.modifiersData.offset?r.modifiersData.offset[r.placement]:null,ye={x:0,y:0};if(G){if(d){var me,Ae=U==="y"?Ti:Ii,_e=U==="y"?go:yo,Oe=U==="y"?"height":"width",Ie=G[U],ve=Ie+O[Ae],Le=Ie-O[_e],F=A?-te[Oe]/2:0,q=B===Op?X[Oe]:te[Oe],se=B===Op?-te[Oe]:-X[Oe],xe=r.elements.arrow,Ee=A&&xe?ew(xe):{width:0,height:0},De=r.modifiersData["arrow#persistent"]?r.modifiersData["arrow#persistent"].padding:hD(),ie=De[Ae],he=De[_e],Te=lm(0,X[Oe],Ee[Oe]),Ve=P?X[Oe]/2-F-Te-ie-ue.mainAxis:q-Te-ie-ue.mainAxis,Ke=P?-X[Oe]/2+F+Te+he+ue.mainAxis:se+Te+he+ue.mainAxis,It=r.elements.arrow&&Rm(r.elements.arrow),Ne=It?U==="y"?It.clientTop||0:It.clientLeft||0:0,ft=(me=pe==null?void 0:pe[U])!=null?me:0,Bt=Ie+Ve-ft-Ne,lt=Ie+Ke-ft,hn=lm(A?s0(ve,Bt):ve,Ie,A?wf(Le,lt):Le);G[U]=hn,ye[U]=hn-Ie}if(y){var nn,Hn=U==="x"?Ti:Ii,Mn=U==="x"?go:yo,Mt=G[z],Ln=z==="y"?"height":"width",$n=Mt+O[Hn],rr=Mt-O[Mn],lr=[Ti,Ii].indexOf(L)!==-1,Qn=(nn=pe==null?void 0:pe[z])!=null?nn:0,St=lr?$n:Mt-X[Ln]-te[Ln]-Qn+ue.altAxis,en=lr?Mt+X[Ln]+te[Ln]-Qn-ue.altAxis:rr,ar=A&&lr?_9(St,Mt,en):lm(A?St:$n,Mt,A?en:rr);G[z]=ar,ye[z]=ar-Mt}r.modifiersData[u]=ye}}const uH={name:"preventOverflow",enabled:!0,phase:"main",fn:sH,requiresIfExists:["offset"]};function lH(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function cH(n){return n===Wi(n)||!Xs(n)?nw(n):lH(n)}function fH(n){var r=n.getBoundingClientRect(),i=_p(r.width)/n.offsetWidth||1,u=_p(r.height)/n.offsetHeight||1;return i!==1||u!==1}function dH(n,r,i){i===void 0&&(i=!1);var u=Xs(r),l=Xs(r)&&fH(r),d=vc(r),p=Dp(n,l,i),y={scrollLeft:0,scrollTop:0},g={x:0,y:0};return(u||!u&&!i)&&((pc(r)!=="body"||aw(d))&&(y=cH(r)),Xs(r)?(g=Dp(r,!0),g.x+=r.clientLeft,g.y+=r.clientTop):d&&(g.x=rw(d))),{x:p.left+y.scrollLeft-g.x,y:p.top+y.scrollTop-g.y,width:p.width,height:p.height}}function pH(n){var r=new Map,i=new Set,u=[];n.forEach(function(d){r.set(d.name,d)});function l(d){i.add(d.name);var p=[].concat(d.requires||[],d.requiresIfExists||[]);p.forEach(function(y){if(!i.has(y)){var g=r.get(y);g&&l(g)}}),u.push(d)}return n.forEach(function(d){i.has(d.name)||l(d)}),u}function vH(n){var r=pH(n);return A9.reduce(function(i,u){return i.concat(r.filter(function(l){return l.phase===u}))},[])}function hH(n){var r;return function(){return r||(r=new Promise(function(i){Promise.resolve().then(function(){r=void 0,i(n())})})),r}}function mH(n){var r=n.reduce(function(i,u){var l=i[u.name];return i[u.name]=l?Object.assign({},l,u,{options:Object.assign({},l.options,u.options),data:Object.assign({},l.data,u.data)}):u,i},{});return Object.keys(r).map(function(i){return r[i]})}var _N={placement:"bottom",modifiers:[],strategy:"absolute"};function DN(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return!r.some(function(u){return!(u&&typeof u.getBoundingClientRect=="function")})}function gH(n){n===void 0&&(n={});var r=n,i=r.defaultModifiers,u=i===void 0?[]:i,l=r.defaultOptions,d=l===void 0?_N:l;return function(y,g,b){b===void 0&&(b=d);var E={placement:"bottom",orderedModifiers:[],options:Object.assign({},_N,d),modifiersData:{},elements:{reference:y,popper:g},attributes:{},styles:{}},R=[],T=!1,A={state:E,setOptions:function(L){var B=typeof L=="function"?L(E.options):L;j(),E.options=Object.assign({},d,E.options,B),E.scrollParents={reference:Af(y)?cm(y):y.contextElement?cm(y.contextElement):[],popper:cm(g)};var P=vH(mH([].concat(u,E.options.modifiers)));return E.orderedModifiers=P.filter(function(U){return U.enabled}),N(),A.update()},forceUpdate:function(){if(!T){var L=E.elements,B=L.reference,P=L.popper;if(DN(B,P)){E.rects={reference:dH(B,Rm(P),E.options.strategy==="fixed"),popper:ew(P)},E.reset=!1,E.placement=E.options.placement,E.orderedModifiers.forEach(function(ue){return E.modifiersData[ue.name]=Object.assign({},ue.data)});for(var U=0;U<E.orderedModifiers.length;U++){if(E.reset===!0){E.reset=!1,U=-1;continue}var z=E.orderedModifiers[U],G=z.fn,X=z.options,te=X===void 0?{}:X,Re=z.name;typeof G=="function"&&(E=G({state:E,options:te,name:Re,instance:A})||E)}}}},update:hH(function(){return new Promise(function(O){A.forceUpdate(),O(E)})}),destroy:function(){j(),T=!0}};if(!DN(y,g))return A;A.setOptions(b).then(function(O){!T&&b.onFirstUpdate&&b.onFirstUpdate(O)});function N(){E.orderedModifiers.forEach(function(O){var L=O.name,B=O.options,P=B===void 0?{}:B,U=O.effect;if(typeof U=="function"){var z=U({state:E,name:L,instance:A,options:P}),G=function(){};R.push(z||G)}})}function j(){R.forEach(function(O){return O()}),R=[]}return A}}const yH=gH({defaultModifiers:[eH,iH,V9,z9,rH,Q9,uH,M9]}),bH=["enabled","placement","strategy","modifiers"];function CH(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}const xH={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},EH={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:n})=>()=>{const{reference:r,popper:i}=n.elements;if("removeAttribute"in r){const u=(r.getAttribute("aria-describedby")||"").split(",").filter(l=>l.trim()!==i.id);u.length?r.setAttribute("aria-describedby",u.join(",")):r.removeAttribute("aria-describedby")}},fn:({state:n})=>{var r;const{popper:i,reference:u}=n.elements,l=(r=i.getAttribute("role"))==null?void 0:r.toLowerCase();if(i.id&&l==="tooltip"&&"setAttribute"in u){const d=u.getAttribute("aria-describedby");if(d&&d.split(",").indexOf(i.id)!==-1)return;u.setAttribute("aria-describedby",d?`${d},${i.id}`:i.id)}}},SH=[];function CD(n,r,i={}){let{enabled:u=!0,placement:l="bottom",strategy:d="absolute",modifiers:p=SH}=i,y=CH(i,bH);const g=M.useRef(p),b=M.useRef(),E=M.useCallback(()=>{var O;(O=b.current)==null||O.update()},[]),R=M.useCallback(()=>{var O;(O=b.current)==null||O.forceUpdate()},[]),[T,A]=m9(M.useState({placement:l,update:E,forceUpdate:R,attributes:{},styles:{popper:{},arrow:{}}})),N=M.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:O})=>{const L={},B={};Object.keys(O.elements).forEach(P=>{L[P]=O.styles[P],B[P]=O.attributes[P]}),A({state:O,styles:L,attributes:B,update:E,forceUpdate:R,placement:O.placement})}}),[E,R,A]),j=M.useMemo(()=>(um(g.current,p)||(g.current=p),g.current),[p]);return M.useEffect(()=>{!b.current||!u||b.current.setOptions({placement:l,strategy:d,modifiers:[...j,N,xH]})},[d,l,N,u,j]),M.useEffect(()=>{if(!(!u||n==null||r==null))return b.current=yH(n,r,Object.assign({},y,{placement:l,strategy:d,modifiers:[...j,EH,N]})),()=>{b.current!=null&&(b.current.destroy(),b.current=void 0,A(O=>Object.assign({},O,{attributes:{},styles:{popper:{}}})))}},[u,n,r]),T}function mm(n,r){if(n.contains)return n.contains(r);if(n.compareDocumentPosition)return n===r||!!(n.compareDocumentPosition(r)&16)}var wH=process.env.NODE_ENV!=="production",xD=function(){};if(wH){var RH=function(r,i){var u=arguments.length;i=new Array(u>1?u-1:0);for(var l=1;l<u;l++)i[l-1]=arguments[l];var d=0,p="Warning: "+r.replace(/%s/g,function(){return i[d++]});typeof console<"u"&&console.error(p);try{throw new Error(p)}catch{}};xD=function(n,r,i){var u=arguments.length;i=new Array(u>2?u-2:0);for(var l=2;l<u;l++)i[l-2]=arguments[l];if(r===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");n||RH.apply(null,[r].concat(i))}}var TH=xD;const iw=Lp(TH),jN=()=>{};function IH(n){return n.button===0}function AH(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}const Bb=n=>n&&("current"in n?n.current:n),kN={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function ED(n,r=jN,{disabled:i,clickTrigger:u="click"}={}){const l=M.useRef(!1),d=M.useRef(!1),p=M.useCallback(b=>{const E=Bb(n);iw(!!E,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),l.current=!E||AH(b)||!IH(b)||!!mm(E,b.target)||d.current,d.current=!1},[n]),y=hr(b=>{const E=Bb(n);E&&mm(E,b.target)&&(d.current=!0)}),g=hr(b=>{l.current||r(b)});M.useEffect(()=>{var b,E;if(i||n==null)return;const R=Pp(Bb(n)),T=R.defaultView||window;let A=(b=T.event)!=null?b:(E=T.parent)==null?void 0:E.event,N=null;kN[u]&&(N=Gu(R,kN[u],y,!0));const j=Gu(R,u,p,!0),O=Gu(R,u,B=>{if(B===A){A=void 0;return}g(B)});let L=[];return"ontouchstart"in R.documentElement&&(L=[].slice.call(R.body.children).map(B=>Gu(B,"mousemove",jN))),()=>{N==null||N(),j(),O(),L.forEach(B=>B())}},[n,i,u,p,y,g])}function NH(n){const r={};return Array.isArray(n)?(n==null||n.forEach(i=>{r[i.name]=i}),r):n||r}function OH(n={}){return Array.isArray(n)?n:Object.keys(n).map(r=>(n[r].name=r,n[r]))}function SD({enabled:n,enableEvents:r,placement:i,flip:u,offset:l,fixed:d,containerPadding:p,arrowElement:y,popperConfig:g={}}){var b,E,R,T,A;const N=NH(g.modifiers);return Object.assign({},g,{placement:i,enabled:n,strategy:d?"fixed":g.strategy,modifiers:OH(Object.assign({},N,{eventListeners:{enabled:r,options:(b=N.eventListeners)==null?void 0:b.options},preventOverflow:Object.assign({},N.preventOverflow,{options:p?Object.assign({padding:p},(E=N.preventOverflow)==null?void 0:E.options):(R=N.preventOverflow)==null?void 0:R.options}),offset:{options:Object.assign({offset:l},(T=N.offset)==null?void 0:T.options)},arrow:Object.assign({},N.arrow,{enabled:!!y,options:Object.assign({},(A=N.arrow)==null?void 0:A.options,{element:y})}),flip:Object.assign({enabled:!!u},N.flip)}))})}const _H=["children"];function DH(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}const jH=()=>{};function wD(n={}){const r=M.useContext(I0),[i,u]=i0(),l=M.useRef(!1),{flip:d,offset:p,rootCloseEvent:y,fixed:g=!1,placement:b,popperConfig:E={},enableEventListeners:R=!0,usePopper:T=!!r}=n,A=(r==null?void 0:r.show)==null?!!n.show:r.show;A&&!l.current&&(l.current=!0);const N=G=>{r==null||r.toggle(!1,G)},{placement:j,setMenu:O,menuElement:L,toggleElement:B}=r||{},P=CD(B,L,SD({placement:b||j||"bottom-start",enabled:T,enableEvents:R??A,offset:p,flip:d,fixed:g,arrowElement:i,popperConfig:E})),U=Object.assign({ref:O||jH,"aria-labelledby":B==null?void 0:B.id},P.attributes.popper,{style:P.styles.popper}),z={show:A,placement:j,hasShown:l.current,toggle:r==null?void 0:r.toggle,popper:T?P:null,arrowProps:T?Object.assign({ref:u},P.attributes.arrow,{style:P.styles.arrow}):{}};return ED(L,N,{clickTrigger:y,disabled:!A}),[U,z]}const kH={usePopper:!0};function ow(n){let{children:r}=n,i=DH(n,_H);const[u,l]=wD(i);return C.jsx(C.Fragment,{children:r(u,l)})}ow.displayName="DropdownMenu";ow.defaultProps=kH;const RD=n=>{var r;return((r=n.getAttribute("role"))==null?void 0:r.toLowerCase())==="menu"},MN=()=>{};function TD(){const n=A_(),{show:r=!1,toggle:i=MN,setToggle:u,menuElement:l}=M.useContext(I0)||{},d=M.useCallback(y=>{i(!r,y)},[r,i]),p={id:n,ref:u||MN,onClick:d,"aria-expanded":!!r};return l&&RD(l)&&(p["aria-haspopup"]=!0),[p,{show:r,toggle:i}]}function ID({children:n}){const[r,i]=TD();return C.jsx(C.Fragment,{children:n(r,i)})}ID.displayName="DropdownToggle";const MH=["eventKey","disabled","onClick","active","as"];function LH(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}function AD({key:n,href:r,active:i,disabled:u,onClick:l}){const d=M.useContext(Zu),p=M.useContext(Y1),{activeKey:y}=p||{},g=If(n,r),b=i==null&&n!=null?If(y)===g:i;return[{onClick:hr(R=>{u||(l==null||l(R),d&&!R.isPropagationStopped()&&d(g,R))}),"aria-disabled":u||void 0,"aria-selected":b,[Bp("dropdown-item")]:""},{isActive:b}]}const ND=M.forwardRef((n,r)=>{let{eventKey:i,disabled:u,onClick:l,active:d,as:p=J1}=n,y=LH(n,MH);const[g]=AD({key:i,href:y.href,disabled:u,onClick:l,active:d});return C.jsx(p,Object.assign({},y,{ref:r},g))});ND.displayName="DropdownItem";const OD=M.createContext(Vp?window:void 0);OD.Provider;function N0(){return M.useContext(OD)}function LN(){const n=Y_(),r=M.useRef(null),i=M.useCallback(u=>{r.current=u,n()},[n]);return[r,i]}function Tm({defaultShow:n,show:r,onSelect:i,onToggle:u,itemSelector:l=`* [${Bp("dropdown-item")}]`,focusFirstItemOnShow:d,placement:p="bottom-start",children:y}){const g=N0(),[b,E]=T_(r,n,u),[R,T]=LN(),A=R.current,[N,j]=LN(),O=N.current,L=aD(b),B=M.useRef(null),P=M.useRef(!1),U=M.useContext(Zu),z=M.useCallback((pe,ye,me=ye==null?void 0:ye.type)=>{E(pe,{originalEvent:ye,source:me})},[E]),G=hr((pe,ye)=>{i==null||i(pe,ye),z(!1,ye,"select"),ye.isPropagationStopped()||U==null||U(pe,ye)}),X=M.useMemo(()=>({toggle:z,placement:p,show:b,menuElement:A,toggleElement:O,setMenu:T,setToggle:j}),[z,p,b,A,O,T,j]);A&&L&&!b&&(P.current=A.contains(A.ownerDocument.activeElement));const te=hr(()=>{O&&O.focus&&O.focus()}),Re=hr(()=>{const pe=B.current;let ye=d;if(ye==null&&(ye=R.current&&RD(R.current)?"keyboard":!1),ye===!1||ye==="keyboard"&&!/^key.+$/.test(pe))return;const me=Uu(R.current,l)[0];me&&me.focus&&me.focus()});M.useEffect(()=>{b?Re():P.current&&(P.current=!1,te())},[b,P,te,Re]),M.useEffect(()=>{B.current=null});const ue=(pe,ye)=>{if(!R.current)return null;const me=Uu(R.current,l);let Ae=me.indexOf(pe)+ye;return Ae=Math.max(0,Math.min(Ae,me.length)),me[Ae]};return a9(M.useCallback(()=>g.document,[g]),"keydown",pe=>{var ye,me;const{key:Ae}=pe,_e=pe.target,Oe=(ye=R.current)==null?void 0:ye.contains(_e),Ie=(me=N.current)==null?void 0:me.contains(_e);if(/input|textarea/i.test(_e.tagName)&&(Ae===" "||Ae!=="Escape"&&Oe||Ae==="Escape"&&_e.type==="search")||!Oe&&!Ie||Ae==="Tab"&&(!R.current||!b))return;B.current=pe.type;const Le={originalEvent:pe,source:pe.type};switch(Ae){case"ArrowUp":{const F=ue(_e,-1);F&&F.focus&&F.focus(),pe.preventDefault();return}case"ArrowDown":if(pe.preventDefault(),!b)E(!0,Le);else{const F=ue(_e,1);F&&F.focus&&F.focus()}return;case"Tab":W1(_e.ownerDocument,"keyup",F=>{var q;(F.key==="Tab"&&!F.target||!((q=R.current)!=null&&q.contains(F.target)))&&E(!1,Le)},{once:!0});break;case"Escape":Ae==="Escape"&&(pe.preventDefault(),pe.stopPropagation()),E(!1,Le);break}}),C.jsx(Zu.Provider,{value:G,children:C.jsx(I0.Provider,{value:X,children:y})})}Tm.displayName="Dropdown";Tm.Menu=ow;Tm.Toggle=ID;Tm.Item=ND;const _D=M.createContext({});_D.displayName="DropdownContext";const DD=_D,jD=M.forwardRef(({className:n,bsPrefix:r,as:i="hr",role:u="separator",...l},d)=>(r=Cn(r,"dropdown-divider"),C.jsx(i,{ref:d,className:Kt(n,r),role:u,...l})));jD.displayName="DropdownDivider";const FH=jD,kD=M.forwardRef(({className:n,bsPrefix:r,as:i="div",role:u="heading",...l},d)=>(r=Cn(r,"dropdown-header"),C.jsx(i,{ref:d,className:Kt(n,r),role:u,...l})));kD.displayName="DropdownHeader";const PH=kD,MD=M.forwardRef(({bsPrefix:n,className:r,eventKey:i,disabled:u=!1,onClick:l,active:d,as:p=oD,...y},g)=>{const b=Cn(n,"dropdown-item"),[E,R]=AD({key:i,href:y.href,disabled:u,onClick:l,active:d});return C.jsx(p,{...y,...E,ref:g,className:Kt(r,b,R.isActive&&"active",u&&"disabled")})});MD.displayName="DropdownItem";const VH=MD,LD=M.forwardRef(({className:n,bsPrefix:r,as:i="span",...u},l)=>(r=Cn(r,"dropdown-item-text"),C.jsx(i,{ref:l,className:Kt(n,r),...u})));LD.displayName="DropdownItemText";const BH=LD,FD=M.createContext(null);FD.displayName="InputGroupContext";const PD=FD;function VD(n,r){if(process.env.NODE_ENV==="production")return n;const i=M.useCallback(u=>{u==null||!u.isReactComponent||(process.env.NODE_ENV!=="production"?mN(!1,`${r} injected a ref to a provided \`as\` component that resolved to a component instance instead of a DOM element. Use \`React.forwardRef\` to provide the injected ref to the class component as a prop in order to pass it directly to a DOM element`):mN(!1))},[r]);return Qo(i,n)}function BD(n,r,i){const u=i?"top-end":"top-start",l=i?"top-start":"top-end",d=i?"bottom-end":"bottom-start",p=i?"bottom-start":"bottom-end",y=i?"right-start":"left-start",g=i?"right-end":"left-end",b=i?"left-start":"right-start",E=i?"left-end":"right-end";let R=n?p:d;return r==="up"?R=n?l:u:r==="end"?R=n?E:b:r==="start"?R=n?g:y:r==="down-centered"?R="bottom":r==="up-centered"&&(R="top"),R}const zD=M.forwardRef(({bsPrefix:n,className:r,align:i,rootCloseEvent:u,flip:l=!0,show:d,renderOnMount:p,as:y="div",popperConfig:g,variant:b,...E},R)=>{let T=!1;const A=M.useContext(eD),N=Cn(n,"dropdown-menu"),{align:j,drop:O,isRTL:L}=M.useContext(DD);i=i||j;const B=M.useContext(PD),P=[];if(i)if(typeof i=="object"){const pe=Object.keys(i);if(process.env.NODE_ENV!=="production"&&iw(pe.length===1,"There should only be 1 breakpoint when passing an object to `align`"),pe.length){const ye=pe[0],me=i[ye];T=me==="start",P.push(`${N}-${ye}-${me}`)}}else i==="end"&&(T=!0);const U=BD(T,O,L),[z,{hasShown:G,popper:X,show:te,toggle:Re}]=wD({flip:l,rootCloseEvent:u,show:d,usePopper:!A&&P.length===0,offset:[0,2],popperConfig:g,placement:U});if(z.ref=Qo(VD(R,"DropdownMenu"),z.ref),o0(()=>{te&&(X==null||X.update())},[te]),!G&&!p&&!B)return null;typeof y!="string"&&(z.show=te,z.close=()=>Re==null?void 0:Re(!1),z.align=i);let ue=E.style;return X!=null&&X.placement&&(ue={...E.style,...z.style},E["x-placement"]=X.placement),C.jsx(y,{...E,...z,style:ue,...(P.length||A)&&{"data-bs-popper":"static"},className:Kt(r,N,te&&"show",T&&`${N}-end`,b&&`${N}-${b}`,...P)})});zD.displayName="DropdownMenu";const zH=zD,HD=M.forwardRef(({as:n,bsPrefix:r,variant:i="primary",size:u,active:l=!1,disabled:d=!1,className:p,...y},g)=>{const b=Cn(r,"btn"),[E,{tagName:R}]=Z1({tagName:n,disabled:d,...y}),T=R;return C.jsx(T,{...E,...y,ref:g,disabled:d,className:Kt(p,b,l&&"active",i&&`${b}-${i}`,u&&`${b}-${u}`,y.href&&d&&"disabled")})});HD.displayName="Button";const HH=HD,UD=M.forwardRef(({bsPrefix:n,split:r,className:i,childBsPrefix:u,as:l=HH,...d},p)=>{const y=Cn(n,"dropdown-toggle"),g=M.useContext(I0);u!==void 0&&(d.bsPrefix=u);const[b]=TD();return b.ref=Qo(b.ref,VD(p,"DropdownToggle")),C.jsx(l,{className:Kt(i,y,r&&`${y}-split`,(g==null?void 0:g.show)&&"show"),...b,...d})});UD.displayName="DropdownToggle";const UH=UD,GD=M.forwardRef((n,r)=>{const{bsPrefix:i,drop:u="down",show:l,className:d,align:p="start",onSelect:y,onToggle:g,focusFirstItemOnShow:b,as:E="div",navbar:R,autoClose:T=!0,...A}=T0(n,{show:"onToggle"}),N=M.useContext(PD),j=Cn(i,"dropdown"),O=R0(),L=X=>T===!1?X==="click":T==="inside"?X!=="rootClose":T==="outside"?X!=="select":!0,B=hr((X,te)=>{var Re,ue;!((Re=te.originalEvent)==null||(ue=Re.target)==null)&&ue.classList.contains("dropdown-toggle")&&te.source==="mousedown"||(te.originalEvent.currentTarget===document&&(te.source!=="keydown"||te.originalEvent.key==="Escape")&&(te.source="rootClose"),L(te.source)&&(g==null||g(X,te)))}),U=BD(p==="end",u,O),z=M.useMemo(()=>({align:p,drop:u,isRTL:O}),[p,u,O]),G={down:j,"down-centered":`${j}-center`,up:"dropup","up-centered":"dropup-center dropup",end:"dropend",start:"dropstart"};return C.jsx(DD.Provider,{value:z,children:C.jsx(Tm,{placement:U,show:l,onSelect:y,onToggle:B,focusFirstItemOnShow:b,itemSelector:`.${j}-item:not(.disabled):not(:disabled)`,children:N?A.children:C.jsx(E,{...A,ref:r,className:Kt(d,l&&"show",G[u])})})})});GD.displayName="Dropdown";const Rb=Object.assign(GD,{Toggle:UH,Menu:zH,Item:VH,ItemText:BH,Divider:FH,Header:PH});var Tb;function FN(n){if((!Tb&&Tb!==0||n)&&Vp){var r=document.createElement("div");r.style.position="absolute",r.style.top="-9999px",r.style.width="50px",r.style.height="50px",r.style.overflow="scroll",document.body.appendChild(r),Tb=r.offsetWidth-r.clientWidth,document.body.removeChild(r)}return Tb}function GH(n){const r=M.useRef(n);return r.current=n,r}function sw(n){const r=GH(n);M.useEffect(()=>()=>r.current(),[])}function AS(n){n===void 0&&(n=Pp());try{var r=n.activeElement;return!r||!r.nodeName?null:r}catch{return n.body}}function $H(n=document){const r=n.defaultView;return Math.abs(r.innerWidth-n.documentElement.clientWidth)}const PN=Bp("modal-open");class WH{constructor({ownerDocument:r,handleContainerOverflow:i=!0,isRTL:u=!1}={}){this.handleContainerOverflow=i,this.isRTL=u,this.modals=[],this.ownerDocument=r}getScrollbarWidth(){return $H(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(r){}removeModalAttributes(r){}setContainerStyle(r){const i={overflow:"hidden"},u=this.isRTL?"paddingLeft":"paddingRight",l=this.getElement();r.style={overflow:l.style.overflow,[u]:l.style[u]},r.scrollBarWidth&&(i[u]=`${parseInt(Wu(l,u)||"0",10)+r.scrollBarWidth}px`),l.setAttribute(PN,""),Wu(l,i)}reset(){[...this.modals].forEach(r=>this.remove(r))}removeContainerStyle(r){const i=this.getElement();i.removeAttribute(PN),Object.assign(i.style,r.style)}add(r){let i=this.modals.indexOf(r);return i!==-1||(i=this.modals.length,this.modals.push(r),this.setModalAttributes(r),i!==0)||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),i}remove(r){const i=this.modals.indexOf(r);i!==-1&&(this.modals.splice(i,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(r))}isTopModal(r){return!!this.modals.length&&this.modals[this.modals.length-1]===r}}const uw=WH,NS=(n,r)=>Vp?n==null?(r||Pp()).body:(typeof n=="function"&&(n=n()),n&&"current"in n&&(n=n.current),n&&("nodeType"in n||n.getBoundingClientRect)?n:null):null;function p1(n,r){const i=N0(),[u,l]=M.useState(()=>NS(n,i==null?void 0:i.document));if(!u){const d=NS(n);d&&l(d)}return M.useEffect(()=>{r&&u&&r(u)},[r,u]),M.useEffect(()=>{const d=NS(n);d!==u&&l(d)},[n,u]),u}function XH({in:n,onTransition:r}){const i=M.useRef(null),u=M.useRef(!0),l=hr(r);return o0(()=>{if(!i.current)return;let d=!1;return l({in:n,element:i.current,initial:u.current,isStale:()=>d}),()=>{d=!0}},[n,l]),o0(()=>(u.current=!1,()=>{u.current=!0}),[]),i}function YH({children:n,in:r,onExited:i,onEntered:u,transition:l}){const[d,p]=M.useState(!r);r&&d&&p(!1);const y=XH({in:!!r,onTransition:b=>{const E=()=>{b.isStale()||(b.in?u==null||u(b.element,b.initial):(p(!0),i==null||i(b.element)))};Promise.resolve(l(b)).then(E,R=>{throw b.in||p(!0),R})}}),g=Qo(y,n.ref);return d&&!r?null:M.cloneElement(n,{ref:g})}function v1(n,r,i){return n?C.jsx(n,Object.assign({},i)):r?C.jsx(YH,Object.assign({},i,{transition:r})):C.jsx(G1,Object.assign({},i))}function $D(n){return n.code==="Escape"||n.keyCode===27}const ZH=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];function JH(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}let OS;function qH(n){return OS||(OS=new uw({ownerDocument:n==null?void 0:n.document})),OS}function QH(n){const r=N0(),i=n||qH(r),u=M.useRef({dialog:null,backdrop:null});return Object.assign(u.current,{add:()=>i.add(u.current),remove:()=>i.remove(u.current),isTopModal:()=>i.isTopModal(u.current),setDialogRef:M.useCallback(l=>{u.current.dialog=l},[]),setBackdropRef:M.useCallback(l=>{u.current.backdrop=l},[])})}const WD=M.forwardRef((n,r)=>{let{show:i=!1,role:u="dialog",className:l,style:d,children:p,backdrop:y=!0,keyboard:g=!0,onBackdropClick:b,onEscapeKeyDown:E,transition:R,runTransition:T,backdropTransition:A,runBackdropTransition:N,autoFocus:j=!0,enforceFocus:O=!0,restoreFocus:L=!0,restoreFocusOptions:B,renderDialog:P,renderBackdrop:U=lt=>C.jsx("div",Object.assign({},lt)),manager:z,container:G,onShow:X,onHide:te=()=>{},onExit:Re,onExited:ue,onExiting:pe,onEnter:ye,onEntering:me,onEntered:Ae}=n,_e=JH(n,ZH);const Oe=N0(),Ie=p1(G),ve=QH(z),Le=q1(),F=aD(i),[q,se]=M.useState(!i),xe=M.useRef(null);M.useImperativeHandle(r,()=>ve,[ve]),Vp&&!F&&i&&(xe.current=AS(Oe==null?void 0:Oe.document)),i&&q&&se(!1);const Ee=hr(()=>{if(ve.add(),Ke.current=Gu(document,"keydown",Te),Ve.current=Gu(document,"focus",()=>setTimeout(ie),!0),X&&X(),j){var lt,hn;const nn=AS((lt=(hn=ve.dialog)==null?void 0:hn.ownerDocument)!=null?lt:Oe==null?void 0:Oe.document);ve.dialog&&nn&&!mm(ve.dialog,nn)&&(xe.current=nn,ve.dialog.focus())}}),De=hr(()=>{if(ve.remove(),Ke.current==null||Ke.current(),Ve.current==null||Ve.current(),L){var lt;(lt=xe.current)==null||lt.focus==null||lt.focus(B),xe.current=null}});M.useEffect(()=>{!i||!Ie||Ee()},[i,Ie,Ee]),M.useEffect(()=>{q&&De()},[q,De]),sw(()=>{De()});const ie=hr(()=>{if(!O||!Le()||!ve.isTopModal())return;const lt=AS(Oe==null?void 0:Oe.document);ve.dialog&&lt&&!mm(ve.dialog,lt)&&ve.dialog.focus()}),he=hr(lt=>{lt.target===lt.currentTarget&&(b==null||b(lt),y===!0&&te())}),Te=hr(lt=>{g&&$D(lt)&&ve.isTopModal()&&(E==null||E(lt),lt.defaultPrevented||te())}),Ve=M.useRef(),Ke=M.useRef(),It=(...lt)=>{se(!0),ue==null||ue(...lt)};if(!Ie)return null;const Ne=Object.assign({role:u,ref:ve.setDialogRef,"aria-modal":u==="dialog"?!0:void 0},_e,{style:d,className:l,tabIndex:-1});let ft=P?P(Ne):C.jsx("div",Object.assign({},Ne,{children:M.cloneElement(p,{role:"document"})}));ft=v1(R,T,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!i,onExit:Re,onExiting:pe,onExited:It,onEnter:ye,onEntering:me,onEntered:Ae,children:ft});let Bt=null;return y&&(Bt=U({ref:ve.setBackdropRef,onClick:he}),Bt=v1(A,N,{in:!!i,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:Bt})),C.jsx(C.Fragment,{children:xf.createPortal(C.jsxs(C.Fragment,{children:[Bt,ft]}),Ie)})});WD.displayName="Modal";const KH=Object.assign(WD,{Manager:uw});function h1(n,r){return n.classList?!!r&&n.classList.contains(r):(" "+(n.className.baseVal||n.className)+" ").indexOf(" "+r+" ")!==-1}function eU(n,r){n.classList?n.classList.add(r):h1(n,r)||(typeof n.className=="string"?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r))}function VN(n,r){return n.replace(new RegExp("(^|\\s)"+r+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function tU(n,r){n.classList?n.classList.remove(r):typeof n.className=="string"?n.className=VN(n.className,r):n.setAttribute("class",VN(n.className&&n.className.baseVal||"",r))}const bp={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class nU extends uw{adjustAndStore(r,i,u){const l=i.style[r];i.dataset[r]=l,Wu(i,{[r]:`${parseFloat(Wu(i,r))+u}px`})}restore(r,i){const u=i.dataset[r];u!==void 0&&(delete i.dataset[r],Wu(i,{[r]:u}))}setContainerStyle(r){super.setContainerStyle(r);const i=this.getElement();if(eU(i,"modal-open"),!r.scrollBarWidth)return;const u=this.isRTL?"paddingLeft":"paddingRight",l=this.isRTL?"marginLeft":"marginRight";Uu(i,bp.FIXED_CONTENT).forEach(d=>this.adjustAndStore(u,d,r.scrollBarWidth)),Uu(i,bp.STICKY_CONTENT).forEach(d=>this.adjustAndStore(l,d,-r.scrollBarWidth)),Uu(i,bp.NAVBAR_TOGGLER).forEach(d=>this.adjustAndStore(l,d,r.scrollBarWidth))}removeContainerStyle(r){super.removeContainerStyle(r);const i=this.getElement();tU(i,"modal-open");const u=this.isRTL?"paddingLeft":"paddingRight",l=this.isRTL?"marginLeft":"marginRight";Uu(i,bp.FIXED_CONTENT).forEach(d=>this.restore(u,d)),Uu(i,bp.STICKY_CONTENT).forEach(d=>this.restore(l,d)),Uu(i,bp.NAVBAR_TOGGLER).forEach(d=>this.restore(l,d))}}let _S;function rU(n){return _S||(_S=new nU(n)),_S}const XD=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=Cn(r,"modal-body"),C.jsx(i,{ref:l,className:Kt(n,r),...u})));XD.displayName="ModalBody";const aU=XD,iU=M.createContext({onHide(){}}),YD=iU,ZD=M.forwardRef(({bsPrefix:n,className:r,contentClassName:i,centered:u,size:l,fullscreen:d,children:p,scrollable:y,...g},b)=>{n=Cn(n,"modal");const E=`${n}-dialog`,R=typeof d=="string"?`${n}-fullscreen-${d}`:`${n}-fullscreen`;return C.jsx("div",{...g,ref:b,className:Kt(E,r,l&&`${n}-${l}`,u&&`${E}-centered`,y&&`${E}-scrollable`,d&&R),children:C.jsx("div",{className:Kt(`${n}-content`,i),children:p})})});ZD.displayName="ModalDialog";const JD=ZD,qD=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=Cn(r,"modal-footer"),C.jsx(i,{ref:l,className:Kt(n,r),...u})));qD.displayName="ModalFooter";const oU=qD,sU={"aria-label":Tt.string,onClick:Tt.func,variant:Tt.oneOf(["white"])},lw=M.forwardRef(({className:n,variant:r,"aria-label":i="Close",...u},l)=>C.jsx("button",{ref:l,type:"button",className:Kt("btn-close",r&&`btn-close-${r}`,n),"aria-label":i,...u}));lw.displayName="CloseButton";lw.propTypes=sU;const uU=lw,lU=M.forwardRef(({closeLabel:n="Close",closeVariant:r,closeButton:i=!1,onHide:u,children:l,...d},p)=>{const y=M.useContext(YD),g=hr(()=>{y==null||y.onHide(),u==null||u()});return C.jsxs("div",{ref:p,...d,children:[l,i&&C.jsx(uU,{"aria-label":n,variant:r,onClick:g})]})}),cU=lU,QD=M.forwardRef(({bsPrefix:n,className:r,closeLabel:i="Close",closeButton:u=!1,...l},d)=>(n=Cn(n,"modal-header"),C.jsx(cU,{ref:d,...l,className:Kt(r,n),closeLabel:i,closeButton:u})));QD.displayName="ModalHeader";const fU=QD,dU=n=>M.forwardRef((r,i)=>C.jsx("div",{...r,ref:i,className:Kt(r.className,n)})),pU=dU("h4"),KD=M.forwardRef(({className:n,bsPrefix:r,as:i=pU,...u},l)=>(r=Cn(r,"modal-title"),C.jsx(i,{ref:l,className:Kt(n,r),...u})));KD.displayName="ModalTitle";const vU=KD;function hU(n){return C.jsx(Np,{...n,timeout:null})}function mU(n){return C.jsx(Np,{...n,timeout:null})}const ej=M.forwardRef(({bsPrefix:n,className:r,style:i,dialogClassName:u,contentClassName:l,children:d,dialogAs:p=JD,"data-bs-theme":y,"aria-labelledby":g,"aria-describedby":b,"aria-label":E,show:R=!1,animation:T=!0,backdrop:A=!0,keyboard:N=!0,onEscapeKeyDown:j,onShow:O,onHide:L,container:B,autoFocus:P=!0,enforceFocus:U=!0,restoreFocus:z=!0,restoreFocusOptions:G,onEntered:X,onExit:te,onExiting:Re,onEnter:ue,onEntering:pe,onExited:ye,backdropClassName:me,manager:Ae,..._e},Oe)=>{const[Ie,ve]=M.useState({}),[Le,F]=M.useState(!1),q=M.useRef(!1),se=M.useRef(!1),xe=M.useRef(null),[Ee,De]=i0(),ie=Qo(Oe,De),he=hr(L),Te=R0();n=Cn(n,"modal");const Ve=M.useMemo(()=>({onHide:he}),[he]);function Ke(){return Ae||rU({isRTL:Te})}function It(St){if(!Vp)return;const en=Ke().getScrollbarWidth()>0,ar=St.scrollHeight>Pp(St).documentElement.clientHeight;ve({paddingRight:en&&!ar?FN():void 0,paddingLeft:!en&&ar?FN():void 0})}const Ne=hr(()=>{Ee&&It(Ee.dialog)});sw(()=>{l1(window,"resize",Ne),xe.current==null||xe.current()});const ft=()=>{q.current=!0},Bt=St=>{q.current&&Ee&&St.target===Ee.dialog&&(se.current=!0),q.current=!1},lt=()=>{F(!0),xe.current=M_(Ee.dialog,()=>{F(!1)})},hn=St=>{St.target===St.currentTarget&&lt()},nn=St=>{if(A==="static"){hn(St);return}if(se.current||St.target!==St.currentTarget){se.current=!1;return}L==null||L()},Hn=St=>{N?j==null||j(St):(St.preventDefault(),A==="static"&&lt())},Mn=(St,en)=>{St&&It(St),ue==null||ue(St,en)},Mt=St=>{xe.current==null||xe.current(),te==null||te(St)},Ln=(St,en)=>{pe==null||pe(St,en),W1(window,"resize",Ne)},$n=St=>{St&&(St.style.display=""),ye==null||ye(St),l1(window,"resize",Ne)},rr=M.useCallback(St=>C.jsx("div",{...St,className:Kt(`${n}-backdrop`,me,!T&&"show")}),[T,me,n]),lr={...i,...Ie};lr.display="block";const Qn=St=>C.jsx("div",{role:"dialog",...St,style:lr,className:Kt(r,n,Le&&`${n}-static`,!T&&"show"),onClick:A?nn:void 0,onMouseUp:Bt,"data-bs-theme":y,"aria-label":E,"aria-labelledby":g,"aria-describedby":b,children:C.jsx(p,{..._e,onMouseDown:ft,className:u,contentClassName:l,children:d})});return C.jsx(YD.Provider,{value:Ve,children:C.jsx(KH,{show:R,ref:ie,backdrop:A,container:B,keyboard:!0,autoFocus:P,enforceFocus:U,restoreFocus:z,restoreFocusOptions:G,onEscapeKeyDown:Hn,onShow:O,onHide:L,onEnter:Mn,onEntering:Ln,onEntered:X,onExit:Mt,onExiting:Re,onExited:$n,manager:Ke(),transition:T?hU:void 0,backdropTransition:T?mU:void 0,renderBackdrop:rr,renderDialog:Qn})})});ej.displayName="Modal";const kn=Object.assign(ej,{Body:aU,Header:fU,Title:vU,Footer:oU,Dialog:JD,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),gU=Dr.forwardRef(({children:n,onClick:r},i)=>C.jsx("a",{className:"btn btn-secondary d-flex flex-column justify-content-center flex-grow-1",href:"",ref:i,onClick:u=>{u.preventDefault(),r(u)},children:C.jsx("span",{className:"dropdown-toggle",children:n})}));function yU({requestId:n,grantNumber:r}){const{request:i,toggleActionsModal:u}=ti(n,r),{project:l}=$i(r||i.grantNumber);if(!i||!l||i.error||l.error)return;const d=On.routes.request_action_path(n,"new"),p=i.allowedActions.Renewal?Array.isArray(i.allowedActions.Renewal)?[...i.allowedActions.Renewal]:[i.allowedActions.Renewal]:[];p.sort((b,E)=>b.opportunityId<E.opportunityId?-1:1);const y=[{id:"extension",action:`${d}?action_type=Extension`,isEnabled:"Extension"in i.allowedActions,button:"Request an Extension",enabled:i.usesCredits?C.jsx("p",{children:"Need more time to use your current credits and allocations? You can extend your project's end date up to six months past your funding end date, or up to 12 months at a time for projects not supported by a funding award."}):C.jsx("p",{children:"Need more time to use your current allocations? A one-time extension can extend your project end date by up to six months."}),disabled:C.jsxs("p",{children:["Your project is not currently eligible for an extension of its end date.",i.usesCredits?C.jsxs(C.Fragment,{children:[" ","Extensions can be requested starting 90 days before your project's current end date."]}):null]})},{id:"supplement",action:`${d}?action_type=Supplement`,isEnabled:"Supplement"in i.allowedActions,button:"Request a Supplement",enabled:i.usesCredits?C.jsxs("p",{children:["Need more credits to complete your project? Great news! Your"," ",i.allocationType," project is eligible for a supplement of"," ",{Explore:"200,000",Discover:"750,000",Accelerate:"1,500,000"}[i.allocationType]," ","additional ACCESS credits."]}):C.jsxs("p",{children:["Need more units to complete your research? Great news! Your"," ",i.allocationType," project is eligible for a supplement of additional units."]}),disabled:C.jsxs("p",{children:["Your project is not currently eligible for a supplement of additional"," ",i.usesCredits?"ACCESS Credits":"units","."]})},{id:"renewal",action:p.map(b=>[b.opportunityName,`${On.routes.renew_request_path(n)}?opportunity_id=${b.opportunityId}`,"post"]),isEnabled:"Renewal"in i.allowedActions,button:"Request a Renewal",enabled:C.jsxs("p",{children:["Your ",i.allocationType," project can be renewed! The requirements for renewing your project depend on the"," ",C.jsx("a",{href:On.routes.project_types_path(),target:"_blank",children:"new project type you select"}),"."]}),disabled:C.jsxs("p",{children:["Your project is not currently eligible for renewal.",i.usesCredits&&C.jsxs(C.Fragment,{children:[" ","Renewals are available starting 30 days before the project's current end date."]}),i.isMaximize&&C.jsxs(C.Fragment,{children:[" ","You can submit a renewal request to the Maximize ACCESS opportunity closest to your project's current end date."]})]})},{id:"help",action:[["Learn How to Manage Allocations",On.routes.how_to_path(),"get"],["Submit a Help Ticket","https://support.access-ci.org/open-a-ticket","get"]],isEnabled:!0,button:"Request Help",enabled:C.jsxs("p",{children:["Need to change something else about your project or expecting another option? Submit a help ticket that includes"," ",C.jsxs("em",{children:["grant number ",l.grantNumber]})," and a detailed description of the problem."]})}];y.sort((b,E)=>b.isEnabled<E.isEnabled?1:-1);const g=y.map(({id:b,action:E,isEnabled:R,button:T,enabled:A,disabled:N})=>C.jsxs("div",{className:"row",children:[C.jsx("div",{className:"col-sm-4 mb-2 d-grid",children:Array.isArray(E)&&E.length?C.jsxs(Rb,{className:"d-flex flex-column",children:[C.jsx(Rb.Toggle,{as:gU,children:T}),C.jsx(Rb.Menu,{children:E.map(([j,O,L])=>C.jsx(Rb.Item,{href:O,onClick:B=>{L!=="get"&&(B.preventDefault(),B.target.dataset.method=L,$&&$.rails&&$.rails.handleMethod($(B.target)))},children:j},O))})]}):C.jsx("a",{className:`btn btn-secondary d-flex flex-column justify-content-center ${R?"":"disabled"}`,href:R?E:"",children:C.jsx("span",{children:T})})}),C.jsx("div",{className:"col-sm-8 mb-2",children:R?A:N})]},b));return C.jsxs(kn,{size:"lg",show:i.showActionsModal,onHide:u,children:[C.jsx(kn.Header,{closeButton:!0,children:C.jsx(kn.Title,{children:"Manage Your Project"})}),C.jsxs(kn.Body,{children:[C.jsxs("p",{children:["Please select an action to manage your project"," ",C.jsxs("strong",{children:[l.grantNumber,": ",l.title]}),"."]}),g]})]})}function bU({requestId:n,grantNumber:r}){const{request:i,toggleActionsModal:u,toggleConfirmModal:l}=ti(n,r),{project:d}=$i(r||i.grantNumber);if(!i||!d||i.error||d.error)return;const p=i.usesCredits?"credits":"units",y=(1-y_(i))*100;return C.jsxs(kn,{size:"lg",show:i.showConfirmModal,onHide:l,scrollable:!0,children:[C.jsx(kn.Header,{closeButton:!0,children:C.jsx(kn.Title,{children:"Consider Requesting an Exchange"})}),C.jsx(kn.Body,{children:C.jsxs("p",{children:[C.jsxs("strong",{children:[Math.round(y),"% of your allocation is unused."]})," ","Are you sure you want to request more ",p,"? You can exchange"," ",i.usesCredits?"credits for resources or ":""," one resource for another by changing the ",C.jsx("strong",{children:"balance"})," numbers in the table on the previous screen."]})}),C.jsx(kn.Footer,{children:C.jsxs("div",{className:"d-flex",children:[C.jsx("button",{type:"button",className:"btn btn-primary me-2",onClick:l,children:"Return to Exchange"}),C.jsxs("button",{type:"button",className:"btn btn-secondary",onClick:()=>{l(),u()},children:["Request More ",p]})]})})]})}function CU({requestId:n,grantNumber:r,actionId:i}){const{deleteAction:u,request:l,toggleDeleteModal:d}=ti(n,r);if(!l||l.error)return;const p=l.actions.find(T=>T.actionId==i);if(!p)return;const{deleteStatus:y,isRequest:g}=p,b=y==ea.pending,E=y==ea.error,R=()=>d(i);return C.jsxs(kn,{show:p.showDeleteModal,onHide:R,scrollable:!0,children:[C.jsx(kn.Header,{closeButton:!0,children:C.jsx(kn.Title,{children:"Confirm Deletion"})}),C.jsxs(kn.Body,{children:[E&&C.jsxs(ba,{color:"danger",children:["Deletion of the ",g?"request":"action"," failed."]}),C.jsxs("p",{children:["Are you sure you want to delete"," ",!g&&C.jsxs(C.Fragment,{children:["action"," ",C.jsxs("strong",{children:[p.type,": ",wp(p.date)]})," ","on"," "]}),"request ",C.jsx("strong",{children:V1(l)}),"? Deletions cannot be undone."]})]}),C.jsx(kn.Footer,{children:C.jsxs("div",{className:"d-flex",children:[C.jsx("button",{type:"button",className:"btn btn-primary me-2",onClick:R,disabled:b,children:"Cancel"}),C.jsx("button",{type:"button",className:"btn btn-danger",onClick:()=>u(i),disabled:b,children:b?"Deleting...":"Delete"})]})})]})}function tj({action:n,request:r,toggleDeleteModal:i}){const u=n.allowedOperations||[],l=[];u.includes("Edit")&&l.push(C.jsx(Qb,{href:n.isRequest?On.routes.edit_request_path(r.requestId):On.routes.edit_request_action_path(r.requestId,n.actionId),icon:"pencil",title:"Edit action"},"edit")),u.includes("Delete")&&l.push(C.jsx(Qb,{color:"danger",icon:"trash",onClick:()=>i(n.actionId),title:"Edit action"},"delete"));const d=`${n.type}: ${wp(n.date)}`;return C.jsxs(C.Fragment,{children:[n.detailAvailable?C.jsx("a",{href:On.routes.request_action_path(r.requestId,n.actionId),children:d}):d,l]})}const xU="_grid_15z6r_1",EU="_important_15z6r_32",SU="_input_15z6r_36",wU="_edited_15z6r_40",RU="_disabled_15z6r_48",Rp={grid:xU,important:EU,input:SU,edited:wU,disabled:RU};function TU({column:n,row:r,style:i={}}){const u=n.format?n.format(r[n.key],r):r[n.key],l=["cell"];return n.class&&l.push(n.class),n.rowClass&&l.push(n.rowClass(r)),C.jsx("td",{className:l.join(" "),style:i,children:u})}const IU={text:TU};function _f({columns:n,rows:r,classes:i,frozenColumns:u=0,minWidth:l,rowClasses:d=[],scrollBehavior:p="smooth",scrollRowIndex:y=0}){const g=M.useRef();M.useLayoutEffect(()=>{if(!g.current)return;const N=g.current.querySelector(`tbody tr:nth-child(${y+1})`);N&&N.scrollIntoView({behavior:p,block:"nearest",inline:"nearest"})},[y,p]);const b=[0];for(let N=0;N<u;N++)b[N+1]=b[N]+(n[N].width||100);const E=(N,j)=>N<u?{position:"sticky",left:`${b[N]}px`,minWidth:`${n[N].width||100}px`,width:`${n[N].width||100}px`,zIndex:j||1}:{},R=n.map((N,j)=>C.jsx("th",{className:N.headerClass||N.class||"",style:E(j,100),children:N.formatHeader?N.formatHeader(N.name,N):N.name},N.key)),T=r.map((N,j)=>{const O=n.map((L,B)=>{const P=IU[L.type||"text"];return C.jsx(P,{column:L,row:N,style:E(B)},L.key)});return C.jsx("tr",{className:d[j]||"",children:O},j)}),A={};return l&&(A.minWidth=l),C.jsx("div",{className:`${Rp.grid} ${i||""}`,ref:g,children:C.jsxs("table",{className:"table table-bordered",style:A,children:[C.jsx("thead",{children:C.jsx("tr",{children:R})}),C.jsx("tbody",{children:T})]})})}function kp({status:n,title:r}){const i={Active:"primary",Approved:"primary",New:"secondary",Pending:"secondary","Under Review":"secondary"}[n]||"dark";return C.jsx("span",{className:`badge text-bg-${i} align-self-center`,title:r,children:n})}const AU=n=>C.jsx("span",{className:n<0?"text-danger":"",children:n===0?"":n.toLocaleString()});function NU({requestId:n,grantNumber:r}){const{request:i,toggleDeleteModal:u}=ti(n,r),{project:l,setRequest:d}=$i(r||i.grantNumber);if(!i||!l)return;const p=l.requestsList;let y=0;for(;y<p.length&&p[y].requestId!==n;)y++;const g=p[y+1],b=p[y-1],E=(j,O)=>j?C.jsxs("button",{type:"button",className:"btn btn-light btn-sm",onClick:()=>d(j.requestId),children:[O=="prev"?C.jsx("i",{className:"bi bi-chevron-left"}):null,V1(j),O=="next"?C.jsx("i",{className:"bi bi-chevron-right"}):null]}):C.jsx("span",{}),R=new Set,T=[];for(let j of i.actions)for(let O of j.resources)R.has(O.resourceId)||(R.add(O.resourceId),T.push(O));T.sort(Kb);const A=[{key:"action",name:"Action Details",format:(j,O)=>C.jsx(tj,{action:O,request:i,toggleDeleteModal:u})},{key:"status",name:"Status",format:j=>C.jsx(kp,{status:j})},...T.map(j=>({key:`resource${j.resourceId}`,name:j.name,icon:j.icon,class:"text-end",format:j.isBoolean?O=>O?B1(O):null:AU,formatHeader:(O,L)=>Sf(L,{userGuide:!1})}))],N=i.actions.map(j=>{const O={...j};for(let{resourceId:L}of T)O[`resource${L}`]=0;for(let{resourceId:L,approved:B,requested:P}of j.resources)O[`resource${L}`]=B||P||0;return O});return C.jsxs("div",{className:"history",children:[C.jsx(_f,{columns:A,rows:N}),C.jsxs("div",{className:"buttons d-flex justify-content-between",children:[E(g,"prev"),E(b,"next")]})]})}function OU({requestId:n,grantNumber:r}){const{request:i,toggleDeleteModal:u}=ti(n,r);if(!i)return;const l=[{key:"type",name:"Action Details",format:(d,p)=>C.jsx(tj,{action:p,request:i,toggleDeleteModal:u})},{key:"status",name:"Status",format:d=>C.jsx(kp,{status:d})}];if(i.actions&&i.actions.length)return C.jsx(_f,{rows:i.actions,columns:l})}function tm(...n){return n.filter(r=>r!=null).reduce((r,i)=>{if(typeof i!="function")throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return r===null?i:function(...l){r.apply(this,l),i.apply(this,l)}},null)}const _U={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function DU(n,r){const i=`offset${n[0].toUpperCase()}${n.slice(1)}`,u=r[i],l=_U[n];return u+parseInt(Wu(r,l[0]),10)+parseInt(Wu(r,l[1]),10)}const jU={[uc]:"collapse",[r0]:"collapsing",[Hu]:"collapsing",[lc]:"collapse show"},kU=Dr.forwardRef(({onEnter:n,onEntering:r,onEntered:i,onExit:u,onExiting:l,className:d,children:p,dimension:y="height",in:g=!1,timeout:b=300,mountOnEnter:E=!1,unmountOnExit:R=!1,appear:T=!1,getDimensionValue:A=DU,...N},j)=>{const O=typeof y=="function"?y():y,L=M.useMemo(()=>tm(G=>{G.style[O]="0"},n),[O,n]),B=M.useMemo(()=>tm(G=>{const X=`scroll${O[0].toUpperCase()}${O.slice(1)}`;G.style[O]=`${G[X]}px`},r),[O,r]),P=M.useMemo(()=>tm(G=>{G.style[O]=null},i),[O,i]),U=M.useMemo(()=>tm(G=>{G.style[O]=`${A(O,G)}px`,F_(G)},u),[u,A,O]),z=M.useMemo(()=>tm(G=>{G.style[O]=null},l),[O,l]);return C.jsx(P_,{ref:j,addEndListener:L_,...N,"aria-expanded":N.role?g:null,onEnter:L,onEntering:B,onEntered:P,onExit:U,onExiting:z,childRef:p.ref,in:g,timeout:b,mountOnEnter:E,unmountOnExit:R,appear:T,children:(G,X)=>Dr.cloneElement(p,{...X,className:Kt(d,p.props.className,jU[G],O==="width"&&"collapse-horizontal")})})}),MU=kU;function nj(n,r){return Array.isArray(n)?n.includes(r):n===r}const rj=M.createContext({});rj.displayName="AccordionContext";const O0=rj,aj=M.forwardRef(({as:n="div",bsPrefix:r,className:i,children:u,eventKey:l,...d},p)=>{const{activeEventKey:y}=M.useContext(O0);return r=Cn(r,"accordion-collapse"),C.jsx(MU,{ref:p,in:nj(y,l),...d,className:Kt(i,r),children:C.jsx(n,{children:M.Children.only(u)})})});aj.displayName="AccordionCollapse";const ij=aj,oj=M.createContext({eventKey:""});oj.displayName="AccordionItemContext";const cw=oj,sj=M.forwardRef(({as:n="div",bsPrefix:r,className:i,onEnter:u,onEntering:l,onEntered:d,onExit:p,onExiting:y,onExited:g,...b},E)=>{r=Cn(r,"accordion-body");const{eventKey:R}=M.useContext(cw);return C.jsx(ij,{eventKey:R,onEnter:u,onEntering:l,onEntered:d,onExit:p,onExiting:y,onExited:g,children:C.jsx(n,{ref:E,...b,className:Kt(i,r)})})});sj.displayName="AccordionBody";const LU=sj;function FU(n,r){const{activeEventKey:i,onSelect:u,alwaysOpen:l}=M.useContext(O0);return d=>{let p=n===i?null:n;l&&(Array.isArray(i)?i.includes(n)?p=i.filter(y=>y!==n):p=[...i,n]:p=[n]),u==null||u(p,d),r==null||r(d)}}const uj=M.forwardRef(({as:n="button",bsPrefix:r,className:i,onClick:u,...l},d)=>{r=Cn(r,"accordion-button");const{eventKey:p}=M.useContext(cw),y=FU(p,u),{activeEventKey:g}=M.useContext(O0);return n==="button"&&(l.type="button"),C.jsx(n,{ref:d,onClick:y,...l,"aria-expanded":Array.isArray(g)?g.includes(p):p===g,className:Kt(i,r,!nj(g,p)&&"collapsed")})});uj.displayName="AccordionButton";const lj=uj,cj=M.forwardRef(({as:n="h2",bsPrefix:r,className:i,children:u,onClick:l,...d},p)=>(r=Cn(r,"accordion-header"),C.jsx(n,{ref:p,...d,className:Kt(i,r),children:C.jsx(lj,{onClick:l,children:u})})));cj.displayName="AccordionHeader";const PU=cj,fj=M.forwardRef(({as:n="div",bsPrefix:r,className:i,eventKey:u,...l},d)=>{r=Cn(r,"accordion-item");const p=M.useMemo(()=>({eventKey:u}),[u]);return C.jsx(cw.Provider,{value:p,children:C.jsx(n,{ref:d,...l,className:Kt(i,r)})})});fj.displayName="AccordionItem";const VU=fj,dj=M.forwardRef((n,r)=>{const{as:i="div",activeKey:u,bsPrefix:l,className:d,onSelect:p,flush:y,alwaysOpen:g,...b}=T0(n,{activeKey:"onSelect"}),E=Cn(l,"accordion"),R=M.useMemo(()=>({activeEventKey:u,onSelect:p,alwaysOpen:g}),[u,p,g]);return C.jsx(O0.Provider,{value:R,children:C.jsx(i,{ref:r,...b,className:Kt(d,E,y&&`${E}-flush`)})})});dj.displayName="Accordion";const zb=Object.assign(dj,{Button:lj,Collapse:ij,Item:VU,Header:PU,Body:LU}),m1=2**31-1;function pj(n,r,i){const u=i-Date.now();n.current=u<=m1?setTimeout(r,u):setTimeout(()=>pj(n,r,i),m1)}function BU(){const n=q1(),r=M.useRef();return sw(()=>clearTimeout(r.current)),M.useMemo(()=>{const i=()=>clearTimeout(r.current);function u(l,d=0){n()&&(i(),d<=m1?r.current=setTimeout(l,d):pj(r,l,Date.now()+d))}return{set:u,clear:i,handleRef:r}},[])}const zU=()=>{};function HU(n,r,{disabled:i,clickTrigger:u}={}){const l=r||zU;ED(n,l,{disabled:i,clickTrigger:u});const d=hr(p=>{$D(p)&&l(p)});M.useEffect(()=>{if(i||n==null)return;const p=Pp(Bb(n));let y=(p.defaultView||window).event;const g=Gu(p,"keyup",b=>{if(b===y){y=void 0;return}d(b)});return()=>{g()}},[n,i,d])}const vj=M.forwardRef((n,r)=>{const{flip:i,offset:u,placement:l,containerPadding:d,popperConfig:p={},transition:y,runTransition:g}=n,[b,E]=i0(),[R,T]=i0(),A=Qo(E,r),N=p1(n.container),j=p1(n.target),[O,L]=M.useState(!n.show),B=CD(j,b,SD({placement:l,enableEvents:!!n.show,containerPadding:d||5,flip:i,offset:u,arrowElement:R,popperConfig:p}));n.show&&O&&L(!1);const P=(...pe)=>{L(!0),n.onExited&&n.onExited(...pe)},U=n.show||!O;if(HU(b,n.onHide,{disabled:!n.rootClose||n.rootCloseDisabled,clickTrigger:n.rootCloseEvent}),!U)return null;const{onExit:z,onExiting:G,onEnter:X,onEntering:te,onEntered:Re}=n;let ue=n.children(Object.assign({},B.attributes.popper,{style:B.styles.popper,ref:A}),{popper:B,placement:l,show:!!n.show,arrowProps:Object.assign({},B.attributes.arrow,{style:B.styles.arrow,ref:T})});return ue=v1(y,g,{in:!!n.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:ue,onExit:z,onExiting:G,onExited:P,onEnter:X,onEntering:te,onEntered:Re}),N?xf.createPortal(ue,N):null});vj.displayName="Overlay";const UU=vj,hj=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=Cn(r,"popover-header"),C.jsx(i,{ref:l,className:Kt(n,r),...u})));hj.displayName="PopoverHeader";const GU=hj,mj=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=Cn(r,"popover-body"),C.jsx(i,{ref:l,className:Kt(n,r),...u})));mj.displayName="PopoverBody";const gj=mj;function yj(n,r){let i=n;return n==="left"?i=r?"end":"start":n==="right"&&(i=r?"start":"end"),i}function bj(n="absolute"){return{position:n,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const $U=M.forwardRef(({bsPrefix:n,placement:r="right",className:i,style:u,children:l,body:d,arrowProps:p,hasDoneInitialMeasure:y,popper:g,show:b,...E},R)=>{const T=Cn(n,"popover"),A=R0(),[N]=(r==null?void 0:r.split("-"))||[],j=yj(N,A);let O=u;return b&&!y&&(O={...u,...bj(g==null?void 0:g.strategy)}),C.jsxs("div",{ref:R,role:"tooltip",style:O,"x-placement":N,className:Kt(i,T,N&&`bs-popover-${j}`),...E,children:[C.jsx("div",{className:"popover-arrow",...p}),d?C.jsx(gj,{children:l}):l]})}),WU=Object.assign($U,{Header:GU,Body:gj,POPPER_OFFSET:[0,8]}),Cj=M.forwardRef(({bsPrefix:n,placement:r="right",className:i,style:u,children:l,arrowProps:d,hasDoneInitialMeasure:p,popper:y,show:g,...b},E)=>{n=Cn(n,"tooltip");const R=R0(),[T]=(r==null?void 0:r.split("-"))||[],A=yj(T,R);let N=u;return g&&!p&&(N={...u,...bj(y==null?void 0:y.strategy)}),C.jsxs("div",{ref:E,style:N,role:"tooltip","x-placement":T,className:Kt(i,n,`bs-tooltip-${A}`),...b,children:[C.jsx("div",{className:"tooltip-arrow",...d}),C.jsx("div",{className:`${n}-inner`,children:l})]})});Cj.displayName="Tooltip";const fw=Object.assign(Cj,{TOOLTIP_OFFSET:[0,6]});function XU(n){const r=M.useRef(null),i=Cn(void 0,"popover"),u=Cn(void 0,"tooltip"),l=M.useMemo(()=>({name:"offset",options:{offset:()=>{if(n)return n;if(r.current){if(h1(r.current,i))return WU.POPPER_OFFSET;if(h1(r.current,u))return fw.TOOLTIP_OFFSET}return[0,0]}}}),[n,i,u]);return[r,[l]]}function YU(n,r){const{ref:i}=n,{ref:u}=r;n.ref=i.__wrapped||(i.__wrapped=l=>i(a0(l))),r.ref=u.__wrapped||(u.__wrapped=l=>u(a0(l)))}const xj=M.forwardRef(({children:n,transition:r=Np,popperConfig:i={},rootClose:u=!1,placement:l="top",show:d=!1,...p},y)=>{const g=M.useRef({}),[b,E]=M.useState(null),[R,T]=XU(p.offset),A=Qo(y,R),N=r===!0?Np:r||void 0,j=hr(O=>{E(O),i==null||i.onFirstUpdate==null||i.onFirstUpdate(O)});return o0(()=>{b&&p.target&&(g.current.scheduleUpdate==null||g.current.scheduleUpdate())},[b,p.target]),M.useEffect(()=>{d||E(null)},[d]),C.jsx(UU,{...p,ref:A,popperConfig:{...i,modifiers:T.concat(i.modifiers||[]),onFirstUpdate:j},transition:N,rootClose:u,placement:l,show:d,children:(O,{arrowProps:L,popper:B,show:P})=>{var U,z;YU(O,L);const G=B==null?void 0:B.placement,X=Object.assign(g.current,{state:B==null?void 0:B.state,scheduleUpdate:B==null?void 0:B.update,placement:G,outOfBoundaries:(B==null||(U=B.state)==null||(z=U.modifiersData.hide)==null?void 0:z.isReferenceHidden)||!1,strategy:i.strategy}),te=!!b;return typeof n=="function"?n({...O,placement:G,show:P,...!r&&P&&{className:"show"},popper:X,arrowProps:L,hasDoneInitialMeasure:te}):M.cloneElement(n,{...O,placement:G,arrowProps:L,popper:X,hasDoneInitialMeasure:te,className:Kt(n.props.className,!r&&P&&"show"),style:{...n.props.style,...O.style}})}})});xj.displayName="Overlay";const Ej=xj;function ZU(n){return n&&typeof n=="object"?n:{show:n,hide:n}}function BN(n,r,i){const[u]=r,l=u.currentTarget,d=u.relatedTarget||u.nativeEvent[i];(!d||d!==l)&&!mm(l,d)&&n(...r)}Tt.oneOf(["click","hover","focus"]);const JU=({trigger:n=["hover","focus"],overlay:r,children:i,popperConfig:u={},show:l,defaultShow:d=!1,onToggle:p,delay:y,placement:g,flip:b=g&&g.indexOf("auto")!==-1,...E})=>{const R=M.useRef(null),T=Qo(R,i.ref),A=BU(),N=M.useRef(""),[j,O]=X_(l,d,p),L=ZU(y),{onFocus:B,onBlur:P,onClick:U}=typeof i!="function"?M.Children.only(i).props:{},z=_e=>{T(a0(_e))},G=M.useCallback(()=>{if(A.clear(),N.current="show",!L.show){O(!0);return}A.set(()=>{N.current==="show"&&O(!0)},L.show)},[L.show,O,A]),X=M.useCallback(()=>{if(A.clear(),N.current="hide",!L.hide){O(!1);return}A.set(()=>{N.current==="hide"&&O(!1)},L.hide)},[L.hide,O,A]),te=M.useCallback((..._e)=>{G(),B==null||B(..._e)},[G,B]),Re=M.useCallback((..._e)=>{X(),P==null||P(..._e)},[X,P]),ue=M.useCallback((..._e)=>{O(!j),U==null||U(..._e)},[U,O,j]),pe=M.useCallback((..._e)=>{BN(G,_e,"fromElement")},[G]),ye=M.useCallback((..._e)=>{BN(X,_e,"toElement")},[X]),me=n==null?[]:[].concat(n),Ae={ref:z};return me.indexOf("click")!==-1&&(Ae.onClick=ue),me.indexOf("focus")!==-1&&(Ae.onFocus=te,Ae.onBlur=Re),me.indexOf("hover")!==-1&&(process.env.NODE_ENV!=="production"&&iw(me.length>1,'[react-bootstrap] Specifying only the `"hover"` trigger limits the visibility of the overlay to just mouse users. Consider also including the `"focus"` trigger so that touch and keyboard only users can see the overlay as well.'),Ae.onMouseOver=pe,Ae.onMouseOut=ye),C.jsxs(C.Fragment,{children:[typeof i=="function"?i(Ae):M.cloneElement(i,Ae),C.jsx(Ej,{...E,show:j,onHide:X,flip:b,placement:g,popperConfig:u,target:R.current,children:r})]})},Sj=JU;function qU({requestId:n,grantNumber:r}){const{request:i}=ti(n,r),{project:u}=$i(r||i.grantNumber),{setTab:l}=$i(r||i.grantNumber);if(!i||!u)return;let d;const p={};for(let T of u.users||[])for(let A of T.resourceIds)p[A]=p[A]||0,p[A]+=1;const y=(i.resources||[]).filter(T=>T.isCredit?(d=T,!1):T.allocated>0).map((T,A)=>({...T,userCount:p[T.resourceId]||0,color:t1[A%t1.length]})),g=d?d.allocated:0,b="Exchange"in i.allowedActions,E=i.exchangeActionId!==null,R=[{key:"name",name:"Resource",format:(T,A)=>Sf(A)},{key:"isActive",name:"Status",format:T=>C.jsx(kp,{status:T?"Active":"Inactive"})},{key:"used",name:"Balance",class:"position-relative",format:(T,A)=>{if(A.isBoolean)return B1(A.allocated);const N=A.allocated-T,j=Math.max(N,0)*100/A.allocated;return C.jsxs(C.Fragment,{children:[C.jsx("div",{className:`usage bg-${A.color}`,style:{width:`${Math.min(j,100)}%`}}),ei(N,{abbreviate:!0})," of"," ",ei(A.allocated,{abbreviate:!0})," ",A.unit," ","remaining (",Math.round(j),"%)"]})}},{key:"endDate",name:"End Date",format:T=>wp(T)}];return u.isManager&&R.push({key:"userCount",name:"Users",class:"text-end",format:ei}),u.currentUser&&R.push({key:"resourceUsername",name:"My Username",format:(T,A)=>{const N=u.currentUser.resourceUsernames[A.resourceId];if(N)return N;if(u.currentUser.resourceAccountPendingIds.includes(A.resourceId))return C.jsx(kp,{status:"Pending",title:"Creation of your account by the resource provider is pending."});if(u.currentUser.resourceIds.includes(A.resourceId)||!A.isActive)return C.jsx(C.Fragment,{children:"—"});if(u.isManager)return C.jsx("a",{href:"#",onClick:O=>{O.preventDefault(),l("users")},children:"Grant access"});const j=C.jsxs(fw,{children:["Please contact ",z1(u)," to request access to this resource."]});return C.jsx(Sj,{overlay:j,children:C.jsx("a",{href:"#",onClick:O=>{O.preventDefault()},children:"Request access"})})}}),C.jsxs("div",{className:"overview",children:[b&&!E&&g>On.creditAlertThreshold?C.jsxs("button",{onClick:()=>l("resources"),className:"alert alert-info d-flex justify-content-between align-items-center w-100",children:[C.jsxs("span",{children:[C.jsxs("span",{className:"fs-3",children:[dc(On.resourceTypeIcons[d.icon])," ",ei(g)]})," ",d.unit," available"]}),C.jsxs("span",{className:"align-middle d-flex align-items-center",children:["Exchange credits for resources!"," ",C.jsx("span",{className:"fs-3",children:dc("chevron-right")})]})]}):null,y.length?C.jsx(_f,{columns:R,rows:y}):null]})}const QU=[{key:"role",name:"Role",format:n=>C.jsxs(C.Fragment,{children:[dc(On.roleIcons[n])," ",n]})},{key:"users",name:"Users",format:n=>{const r=n.slice(0,3);return n.length>4&&(r[2]=`${ei(n.length-3)} others`),r.map((i,u)=>{const l=r.length-u;return`${i}${l>2?",":l==2&&r.length>1?" and":""}`}).join(" ")}}],KU=({requestId:n,grantNumber:r})=>{const{project:i}=$i(r);if(!i)return;const u=w0.map(({role:l,name:d})=>({role:d,users:(i.users||[]).filter(p=>p.role===l).map(p=>`${p.firstName} ${p.lastName}`)})).filter(l=>l.users.length>0);return u.length?C.jsx(_f,{rows:u,columns:QU}):null};function eG({requestId:n,grantNumber:r}){const{request:i}=ti(n,r),{project:u,username:l}=$i(r||i.grantNumber);if(!(!i||!u||i.error||u.error)&&i)return C.jsxs("div",{className:"overview",children:[C.jsx(qU,{requestId:n,grantNumber:r}),u.isManager?C.jsxs("div",{className:"row",children:[C.jsx("div",{className:"col-lg-6",children:C.jsx(KU,{requestId:n,grantNumber:r})}),C.jsx("div",{className:"col-lg-6",children:C.jsx(OU,{requestId:n})})]}):null]})}function Nf(n){"@babel/helpers - typeof";return Nf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Nf(n)}function tG(n,r){if(Nf(n)!="object"||!n)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var u=i.call(n,r||"default");if(Nf(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(n)}function wj(n){var r=tG(n,"string");return Nf(r)=="symbol"?r:String(r)}function Ep(n,r,i){return r=wj(r),r in n?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,n}function zN(n,r){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(n);r&&(u=u.filter(function(l){return Object.getOwnPropertyDescriptor(n,l).enumerable})),i.push.apply(i,u)}return i}function vt(n){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?zN(Object(i),!0).forEach(function(u){Ep(n,u,i[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):zN(Object(i)).forEach(function(u){Object.defineProperty(n,u,Object.getOwnPropertyDescriptor(i,u))})}return n}function nG(n){if(Array.isArray(n))return n}function rG(n,r){var i=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(i!=null){var u,l,d,p,y=[],g=!0,b=!1;try{if(d=(i=i.call(n)).next,r===0){if(Object(i)!==i)return;g=!1}else for(;!(g=(u=d.call(i)).done)&&(y.push(u.value),y.length!==r);g=!0);}catch(E){b=!0,l=E}finally{try{if(!g&&i.return!=null&&(p=i.return(),Object(p)!==p))return}finally{if(b)throw l}}return y}}function g1(n,r){(r==null||r>n.length)&&(r=n.length);for(var i=0,u=new Array(r);i<r;i++)u[i]=n[i];return u}function Rj(n,r){if(n){if(typeof n=="string")return g1(n,r);var i=Object.prototype.toString.call(n).slice(8,-1);if(i==="Object"&&n.constructor&&(i=n.constructor.name),i==="Map"||i==="Set")return Array.from(n);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return g1(n,r)}}function aG(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
294
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ta(n,r){return nG(n)||rG(n,r)||Rj(n,r)||aG()}function Zs(n,r){if(n==null)return{};var i=$1(n,r),u,l;if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(n);for(l=0;l<d.length;l++)u=d[l],!(r.indexOf(u)>=0)&&Object.prototype.propertyIsEnumerable.call(n,u)&&(i[u]=n[u])}return i}var iG=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Tj(n){var r=n.defaultInputValue,i=r===void 0?"":r,u=n.defaultMenuIsOpen,l=u===void 0?!1:u,d=n.defaultValue,p=d===void 0?null:d,y=n.inputValue,g=n.menuIsOpen,b=n.onChange,E=n.onInputChange,R=n.onMenuClose,T=n.onMenuOpen,A=n.value,N=Zs(n,iG),j=M.useState(y!==void 0?y:i),O=ta(j,2),L=O[0],B=O[1],P=M.useState(g!==void 0?g:l),U=ta(P,2),z=U[0],G=U[1],X=M.useState(A!==void 0?A:p),te=ta(X,2),Re=te[0],ue=te[1],pe=M.useCallback(function(ve,Le){typeof b=="function"&&b(ve,Le),ue(ve)},[b]),ye=M.useCallback(function(ve,Le){var F;typeof E=="function"&&(F=E(ve,Le)),B(F!==void 0?F:ve)},[E]),me=M.useCallback(function(){typeof T=="function"&&T(),G(!0)},[T]),Ae=M.useCallback(function(){typeof R=="function"&&R(),G(!1)},[R]),_e=y!==void 0?y:L,Oe=g!==void 0?g:z,Ie=A!==void 0?A:Re;return vt(vt({},N),{},{inputValue:_e,menuIsOpen:Oe,onChange:pe,onInputChange:ye,onMenuClose:Ae,onMenuOpen:me,value:Ie})}function oG(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}function HN(n,r){for(var i=0;i<r.length;i++){var u=r[i];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(n,wj(u.key),u)}}function sG(n,r,i){return r&&HN(n.prototype,r),i&&HN(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n}function uG(n,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(r&&r.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),r&&n0(n,r)}function u0(n){return u0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},u0(n)}function Ij(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Ij=function(){return!!n})()}function lG(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function cG(n,r){if(r&&(Nf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return lG(n)}function fG(n){var r=Ij();return function(){var u=u0(n),l;if(r){var d=u0(this).constructor;l=Reflect.construct(u,arguments,d)}else l=u.apply(this,arguments);return cG(this,l)}}function dG(n){if(Array.isArray(n))return g1(n)}function pG(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function vG(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
293
+ */(function(n){(function(){var r={}.hasOwnProperty;function i(){for(var d="",p=0;p<arguments.length;p++){var y=arguments[p];y&&(d=l(d,u(y)))}return d}function u(d){if(typeof d=="string"||typeof d=="number")return d;if(typeof d!="object")return"";if(Array.isArray(d))return i.apply(null,d);if(d.toString!==Object.prototype.toString&&!d.toString.toString().includes("[native code]"))return d.toString();var p="";for(var y in d)r.call(d,y)&&d[y]&&(p=l(p,y));return p}function l(d,p){return p?d?d+" "+p:d+p:d}n.exports?(i.default=i,n.exports=i):window.classNames=i})()})(j_);var y3=j_.exports;const Kt=Lp(y3);function $1(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}function n0(n,r){return n0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(u,l){return u.__proto__=l,u},n0(n,r)}function b3(n,r){n.prototype=Object.create(r.prototype),n.prototype.constructor=n,n0(n,r)}const vN={disabled:!1};var C3=process.env.NODE_ENV!=="production"?Tt.oneOfType([Tt.number,Tt.shape({enter:Tt.number,exit:Tt.number,appear:Tt.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&Tt.oneOfType([Tt.string,Tt.shape({enter:Tt.string,exit:Tt.string,active:Tt.string}),Tt.shape({enter:Tt.string,enterDone:Tt.string,enterActive:Tt.string,exit:Tt.string,exitDone:Tt.string,exitActive:Tt.string})]);const k_=Dr.createContext(null);var x3=function(r){return r.scrollTop},sm="unmounted",uc="exited",Hu="entering",lc="entered",r0="exiting",Ku=function(n){b3(r,n);function r(u,l){var d;d=n.call(this,u,l)||this;var p=l,y=p&&!p.isMounting?u.enter:u.appear,g;return d.appearStatus=null,u.in?y?(g=uc,d.appearStatus=Hu):g=lc:u.unmountOnExit||u.mountOnEnter?g=sm:g=uc,d.state={status:g},d.nextCallback=null,d}r.getDerivedStateFromProps=function(l,d){var p=l.in;return p&&d.status===sm?{status:uc}:null};var i=r.prototype;return i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(l){var d=null;if(l!==this.props){var p=this.state.status;this.props.in?p!==Hu&&p!==lc&&(d=Hu):(p===Hu||p===lc)&&(d=r0)}this.updateStatus(!1,d)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var l=this.props.timeout,d,p,y;return d=p=y=l,l!=null&&typeof l!="number"&&(d=l.exit,p=l.enter,y=l.appear!==void 0?l.appear:p),{exit:d,enter:p,appear:y}},i.updateStatus=function(l,d){if(l===void 0&&(l=!1),d!==null)if(this.cancelNextCallback(),d===Hu){if(this.props.unmountOnExit||this.props.mountOnEnter){var p=this.props.nodeRef?this.props.nodeRef.current:xf.findDOMNode(this);p&&x3(p)}this.performEnter(l)}else this.performExit();else this.props.unmountOnExit&&this.state.status===uc&&this.setState({status:sm})},i.performEnter=function(l){var d=this,p=this.props.enter,y=this.context?this.context.isMounting:l,g=this.props.nodeRef?[y]:[xf.findDOMNode(this),y],b=g[0],E=g[1],w=this.getTimeouts(),T=y?w.appear:w.enter;if(!l&&!p||vN.disabled){this.safeSetState({status:lc},function(){d.props.onEntered(b)});return}this.props.onEnter(b,E),this.safeSetState({status:Hu},function(){d.props.onEntering(b,E),d.onTransitionEnd(T,function(){d.safeSetState({status:lc},function(){d.props.onEntered(b,E)})})})},i.performExit=function(){var l=this,d=this.props.exit,p=this.getTimeouts(),y=this.props.nodeRef?void 0:xf.findDOMNode(this);if(!d||vN.disabled){this.safeSetState({status:uc},function(){l.props.onExited(y)});return}this.props.onExit(y),this.safeSetState({status:r0},function(){l.props.onExiting(y),l.onTransitionEnd(p.exit,function(){l.safeSetState({status:uc},function(){l.props.onExited(y)})})})},i.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(l,d){d=this.setNextCallback(d),this.setState(l,d)},i.setNextCallback=function(l){var d=this,p=!0;return this.nextCallback=function(y){p&&(p=!1,d.nextCallback=null,l(y))},this.nextCallback.cancel=function(){p=!1},this.nextCallback},i.onTransitionEnd=function(l,d){this.setNextCallback(d);var p=this.props.nodeRef?this.props.nodeRef.current:xf.findDOMNode(this),y=l==null&&!this.props.addEndListener;if(!p||y){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var g=this.props.nodeRef?[this.nextCallback]:[p,this.nextCallback],b=g[0],E=g[1];this.props.addEndListener(b,E)}l!=null&&setTimeout(this.nextCallback,l)},i.render=function(){var l=this.state.status;if(l===sm)return null;var d=this.props,p=d.children;d.in,d.mountOnEnter,d.unmountOnExit,d.appear,d.enter,d.exit,d.timeout,d.addEndListener,d.onEnter,d.onEntering,d.onEntered,d.onExit,d.onExiting,d.onExited,d.nodeRef;var y=$1(d,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Dr.createElement(k_.Provider,{value:null},typeof p=="function"?p(l,y):Dr.cloneElement(Dr.Children.only(p),y))},r}(Dr.Component);Ku.contextType=k_;Ku.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:Tt.shape({current:typeof Element>"u"?Tt.any:function(n,r,i,u,l,d){var p=n[r];return Tt.instanceOf(p&&"ownerDocument"in p?p.ownerDocument.defaultView.Element:Element)(n,r,i,u,l,d)}}),children:Tt.oneOfType([Tt.func.isRequired,Tt.element.isRequired]).isRequired,in:Tt.bool,mountOnEnter:Tt.bool,unmountOnExit:Tt.bool,appear:Tt.bool,enter:Tt.bool,exit:Tt.bool,timeout:function(r){var i=C3;r.addEndListener||(i=i.isRequired);for(var u=arguments.length,l=new Array(u>1?u-1:0),d=1;d<u;d++)l[d-1]=arguments[d];return i.apply(void 0,[r].concat(l))},addEndListener:Tt.func,onEnter:Tt.func,onEntering:Tt.func,onEntered:Tt.func,onExit:Tt.func,onExiting:Tt.func,onExited:Tt.func}:{};function yp(){}Ku.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:yp,onEntering:yp,onEntered:yp,onExit:yp,onExiting:yp,onExited:yp};Ku.UNMOUNTED=sm;Ku.EXITED=uc;Ku.ENTERING=Hu;Ku.ENTERED=lc;Ku.EXITING=r0;const E3=Ku;function Pp(n){return n&&n.ownerDocument||document}function S3(n){var r=Pp(n);return r&&r.defaultView||window}function w3(n,r){return S3(n).getComputedStyle(n,r)}var R3=/([A-Z])/g;function T3(n){return n.replace(R3,"-$1").toLowerCase()}var I3=/^ms-/;function Eb(n){return T3(n).replace(I3,"-ms-")}var A3=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function N3(n){return!!(n&&A3.test(n))}function Wu(n,r){var i="",u="";if(typeof r=="string")return n.style.getPropertyValue(Eb(r))||w3(n).getPropertyValue(Eb(r));Object.keys(r).forEach(function(l){var d=r[l];!d&&d!==0?n.style.removeProperty(Eb(l)):N3(l)?u+=l+"("+d+") ":i+=Eb(l)+": "+d+";"}),u&&(i+="transform: "+u+";"),n.style.cssText+=";"+i}const Vp=!!(typeof window<"u"&&window.document&&window.document.createElement);var s1=!1,u1=!1;try{var IS={get passive(){return s1=!0},get once(){return u1=s1=!0}};Vp&&(window.addEventListener("test",IS,IS),window.removeEventListener("test",IS,!0))}catch{}function W1(n,r,i,u){if(u&&typeof u!="boolean"&&!u1){var l=u.once,d=u.capture,p=i;!u1&&l&&(p=i.__once||function y(g){this.removeEventListener(r,y,d),i.call(this,g)},i.__once=p),n.addEventListener(r,p,s1?u:d)}n.addEventListener(r,i,u)}function l1(n,r,i,u){var l=u&&typeof u!="boolean"?u.capture:u;n.removeEventListener(r,i,l),i.__once&&n.removeEventListener(r,i.__once,l)}function Gu(n,r,i,u){return W1(n,r,i,u),function(){l1(n,r,i,u)}}function O3(n,r,i,u){if(i===void 0&&(i=!1),u===void 0&&(u=!0),n){var l=document.createEvent("HTMLEvents");l.initEvent(r,i,u),n.dispatchEvent(l)}}function _3(n){var r=Wu(n,"transitionDuration")||"",i=r.indexOf("ms")===-1?1e3:1;return parseFloat(r)*i}function D3(n,r,i){i===void 0&&(i=5);var u=!1,l=setTimeout(function(){u||O3(n,"transitionend",!0)},r+i),d=Gu(n,"transitionend",function(){u=!0},{once:!0});return function(){clearTimeout(l),d()}}function M_(n,r,i,u){i==null&&(i=_3(n)||0);var l=D3(n,i,u),d=Gu(n,"transitionend",r);return function(){l(),d()}}function hN(n,r){const i=Wu(n,r)||"",u=i.indexOf("ms")===-1?1e3:1;return parseFloat(i)*u}function L_(n,r){const i=hN(n,"transitionDuration"),u=hN(n,"transitionDelay"),l=M_(n,d=>{d.target===n&&(l(),r(d))},i+u)}function F_(n){n.offsetHeight}function a0(n){return n&&"setState"in n?xf.findDOMNode(n):n??null}const j3=Dr.forwardRef(({onEnter:n,onEntering:r,onEntered:i,onExit:u,onExiting:l,onExited:d,addEndListener:p,children:y,childRef:g,...b},E)=>{const w=M.useRef(null),T=Qo(w,g),A=G=>{T(a0(G))},N=G=>X=>{G&&w.current&&G(w.current,X)},j=M.useCallback(N(n),[n]),O=M.useCallback(N(r),[r]),L=M.useCallback(N(i),[i]),B=M.useCallback(N(u),[u]),P=M.useCallback(N(l),[l]),U=M.useCallback(N(d),[d]),z=M.useCallback(N(p),[p]);return C.jsx(E3,{ref:E,...b,onEnter:j,onEntered:L,onEntering:O,onExit:B,onExited:U,onExiting:P,addEndListener:z,nodeRef:w,children:typeof y=="function"?(G,X)=>y(G,{...X,ref:A}):Dr.cloneElement(y,{ref:A})})}),P_=j3,k3={[Hu]:"show",[lc]:"show"},V_=M.forwardRef(({className:n,children:r,transitionClasses:i={},onEnter:u,...l},d)=>{const p={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...l},y=M.useCallback((g,b)=>{F_(g),u==null||u(g,b)},[u]);return C.jsx(P_,{ref:d,addEndListener:L_,...p,onEnter:y,childRef:r.ref,children:(g,b)=>M.cloneElement(r,{...b,className:Kt("fade",n,r.props.className,k3[g],i[g])})})});V_.displayName="Fade";const Np=V_;function X1(n){return typeof n=="boolean"?n?Np:G1:n}const B_=({transition:n,...r})=>C.jsx(D_,{...r,transition:X1(n)});B_.displayName="TabContainer";const M3=B_,L3=["xxl","xl","lg","md","sm","xs"],F3="xs",z_=M.createContext({prefixes:{},breakpoints:L3,minBreakpoint:F3});function Cn(n,r){const{prefixes:i}=M.useContext(z_);return n||i[r]||r}function R0(){const{dir:n}=M.useContext(z_);return n==="rtl"}const H_=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=Cn(r,"tab-content"),C.jsx(i,{ref:l,className:Kt(n,r),...u})));H_.displayName="TabContent";const U_=H_,G_=M.forwardRef(({bsPrefix:n,transition:r,...i},u)=>{const[{className:l,as:d="div",...p},{isActive:y,onEnter:g,onEntering:b,onEntered:E,onExit:w,onExiting:T,onExited:A,mountOnEnter:N,unmountOnExit:j,transition:O=Np}]=N_({...i,transition:X1(r)}),L=Cn(n,"tab-pane");return C.jsx(Fp.Provider,{value:null,children:C.jsx(Zu.Provider,{value:null,children:C.jsx(O,{in:y,onEnter:g,onEntering:b,onEntered:E,onExit:w,onExiting:T,onExited:A,mountOnEnter:N,unmountOnExit:j,children:C.jsx(d,{...p,ref:u,className:Kt(l,L,y&&"active")})})})})});G_.displayName="TabPane";const $_=G_,P3={eventKey:Tt.oneOfType([Tt.string,Tt.number]),title:Tt.node.isRequired,disabled:Tt.bool,tabClassName:Tt.string,tabAttrs:Tt.object},W_=()=>{throw new Error("ReactBootstrap: The `Tab` component is not meant to be rendered! It's an abstract component that is only valid as a direct Child of the `Tabs` Component. For custom tabs components use TabPane and TabsContainer directly")};W_.propTypes=P3;const Sb=Object.assign(W_,{Container:M3,Content:U_,Pane:$_});function xt(){return xt=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])}return n},xt.apply(this,arguments)}var V3=function(n,r,i,u,l,d,p,y){if(process.env.NODE_ENV!=="production"&&r===void 0)throw new Error("invariant requires an error message argument");if(!n){var g;if(r===void 0)g=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var b=[i,u,l,d,p,y],E=0;g=new Error(r.replace(/%s/g,function(){return b[E++]})),g.name="Invariant Violation"}throw g.framesToPop=1,g}},B3=V3;const mN=Lp(B3);function gN(n){return"default"+n.charAt(0).toUpperCase()+n.substr(1)}function z3(n){var r=H3(n,"string");return typeof r=="symbol"?r:String(r)}function H3(n,r){if(typeof n!="object"||n===null)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var u=i.call(n,r||"default");if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(n)}function X_(n,r,i){var u=M.useRef(n!==void 0),l=M.useState(r),d=l[0],p=l[1],y=n!==void 0,g=u.current;return u.current=y,!y&&g&&d!==r&&p(r),[y?n:d,M.useCallback(function(b){for(var E=arguments.length,w=new Array(E>1?E-1:0),T=1;T<E;T++)w[T-1]=arguments[T];i&&i.apply(void 0,[b].concat(w)),p(b)},[i])]}function T0(n,r){return Object.keys(r).reduce(function(i,u){var l,d=i,p=d[gN(u)],y=d[u],g=$1(d,[gN(u),u].map(z3)),b=r[u],E=X_(y,p,n[b]),w=E[0],T=E[1];return xt({},g,(l={},l[u]=w,l[b]=T,l))},n)}var yN={exports:{}},c1={exports:{}};(function(n,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=i;function i(u){function l(p,y,g,b,E,w){var T=b||"<<anonymous>>",A=w||g;if(y[g]==null)return p?new Error("Required "+E+" `"+A+"` was not specified "+("in `"+T+"`.")):null;for(var N=arguments.length,j=Array(N>6?N-6:0),O=6;O<N;O++)j[O-6]=arguments[O];return u.apply(void 0,[y,g,T,E,A].concat(j))}var d=l.bind(null,!1);return d.isRequired=l.bind(null,!0),d}n.exports=r.default})(c1,c1.exports);var U3=c1.exports;(function(n,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=d;var i=U3,u=l(i);function l(p){return p&&p.__esModule?p:{default:p}}function d(){for(var p=arguments.length,y=Array(p),g=0;g<p;g++)y[g]=arguments[g];function b(){for(var E=arguments.length,w=Array(E),T=0;T<E;T++)w[T]=arguments[T];var A=null;return y.forEach(function(N){if(A==null){var j=N.apply(void 0,w);j!=null&&(A=j)}}),A}return(0,u.default)(b)}n.exports=r.default})(yN,yN.exports);var G3=Function.prototype.bind.call(Function.prototype.call,[].slice);function Uu(n,r){return G3(n.querySelectorAll(r))}function Y_(){const[,n]=M.useReducer(r=>!r,!1);return n}const Z_=M.createContext(null);Z_.displayName="NavContext";const Y1=Z_,$3="data-rr-ui-",W3="rrUi";function Bp(n){return`${$3}${n}`}function X3(n){return`${W3}${n}`}const Y3=["as","disabled"];function Z3(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}function J3(n){return!n||n.trim()==="#"}function Z1({tagName:n,disabled:r,href:i,target:u,rel:l,role:d,onClick:p,tabIndex:y=0,type:g}){n||(i!=null||u!=null||l!=null?n="a":n="button");const b={tagName:n};if(n==="button")return[{type:g||"button",disabled:r},b];const E=T=>{if((r||n==="a"&&J3(i))&&T.preventDefault(),r){T.stopPropagation();return}p==null||p(T)},w=T=>{T.key===" "&&(T.preventDefault(),E(T))};return n==="a"&&(i||(i="#"),r&&(i=void 0)),[{role:d??"button",disabled:void 0,tabIndex:r?void 0:y,href:i,target:n==="a"?u:void 0,"aria-disabled":r||void 0,rel:n==="a"?l:void 0,onClick:E,onKeyDown:w},b]}const J1=M.forwardRef((n,r)=>{let{as:i,disabled:u}=n,l=Z3(n,Y3);const[d,{tagName:p}]=Z1(Object.assign({tagName:i,disabled:u},l));return C.jsx(p,Object.assign({},l,d,{ref:r}))});J1.displayName="Button";const q3=["as","active","eventKey"];function Q3(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}function J_({key:n,onClick:r,active:i,id:u,role:l,disabled:d}){const p=M.useContext(Zu),y=M.useContext(Y1),g=M.useContext(Fp);let b=i;const E={role:l};if(y){!l&&y.role==="tablist"&&(E.role="tab");const w=y.getControllerId(n??null),T=y.getControlledId(n??null);E[Bp("event-key")]=n,E.id=w||u,b=i==null&&n!=null?y.activeKey===n:i,(b||!(g!=null&&g.unmountOnExit)&&!(g!=null&&g.mountOnEnter))&&(E["aria-controls"]=T)}return E.role==="tab"&&(E["aria-selected"]=b,b||(E.tabIndex=-1),d&&(E.tabIndex=-1,E["aria-disabled"]=!0)),E.onClick=hr(w=>{d||(r==null||r(w),n!=null&&p&&!w.isPropagationStopped()&&p(n,w))}),[E,{isActive:b}]}const q_=M.forwardRef((n,r)=>{let{as:i=J1,active:u,eventKey:l}=n,d=Q3(n,q3);const[p,y]=J_(Object.assign({key:If(l,d.href),active:u},d));return p[Bp("active")]=y.isActive,C.jsx(i,Object.assign({},d,p,{ref:r}))});q_.displayName="NavItem";const K3=q_,e9=["as","onSelect","activeKey","role","onKeyDown"];function t9(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}const bN=()=>{},CN=Bp("event-key"),Q_=M.forwardRef((n,r)=>{let{as:i="div",onSelect:u,activeKey:l,role:d,onKeyDown:p}=n,y=t9(n,e9);const g=Y_(),b=M.useRef(!1),E=M.useContext(Zu),w=M.useContext(Fp);let T,A;w&&(d=d||"tablist",l=w.activeKey,T=w.getControlledId,A=w.getControllerId);const N=M.useRef(null),j=P=>{const U=N.current;if(!U)return null;const z=Uu(U,`[${CN}]:not([aria-disabled=true])`),G=U.querySelector("[aria-selected=true]");if(!G||G!==document.activeElement)return null;const X=z.indexOf(G);if(X===-1)return null;let te=X+P;return te>=z.length&&(te=0),te<0&&(te=z.length-1),z[te]},O=(P,U)=>{P!=null&&(u==null||u(P,U),E==null||E(P,U))},L=P=>{if(p==null||p(P),!w)return;let U;switch(P.key){case"ArrowLeft":case"ArrowUp":U=j(-1);break;case"ArrowRight":case"ArrowDown":U=j(1);break;default:return}U&&(P.preventDefault(),O(U.dataset[X3("EventKey")]||null,P),b.current=!0,g())};M.useEffect(()=>{if(N.current&&b.current){const P=N.current.querySelector(`[${CN}][aria-selected=true]`);P==null||P.focus()}b.current=!1});const B=Qo(r,N);return C.jsx(Zu.Provider,{value:O,children:C.jsx(Y1.Provider,{value:{role:d,activeKey:If(l),getControlledId:T||bN,getControllerId:A||bN},children:C.jsx(i,Object.assign({},y,{onKeyDown:L,ref:B,role:d}))})})});Q_.displayName="Nav";const n9=Object.assign(Q_,{Item:K3}),K_=M.createContext(null);K_.displayName="NavbarContext";const eD=K_,tD=M.createContext(null);tD.displayName="CardHeaderContext";const r9=tD,nD=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=Cn(r,"nav-item"),C.jsx(i,{ref:l,className:Kt(n,r),...u})));nD.displayName="NavItem";const rD=nD;function i0(){return M.useState(null)}function a9(n,r,i,u=!1){const l=hr(i);M.useEffect(()=>{const d=typeof n=="function"?n():n;return d.addEventListener(r,l,u),()=>d.removeEventListener(r,l,u)},[n])}function q1(){const n=M.useRef(!0),r=M.useRef(()=>n.current);return M.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[]),r.current}function aD(n){const r=M.useRef(null);return M.useEffect(()=>{r.current=n}),r.current}const i9=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",o9=typeof document<"u",o0=o9||i9?M.useLayoutEffect:M.useEffect,s9=["onKeyDown"];function u9(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}function l9(n){return!n||n.trim()==="#"}const iD=M.forwardRef((n,r)=>{let{onKeyDown:i}=n,u=u9(n,s9);const[l]=Z1(Object.assign({tagName:"a"},u)),d=hr(p=>{l.onKeyDown(p),i==null||i(p)});return l9(u.href)||u.role==="button"?C.jsx("a",Object.assign({ref:r},u,l,{onKeyDown:d})):C.jsx("a",Object.assign({ref:r},u,{onKeyDown:i}))});iD.displayName="Anchor";const oD=iD,sD=M.forwardRef(({bsPrefix:n,className:r,as:i=oD,active:u,eventKey:l,disabled:d=!1,...p},y)=>{n=Cn(n,"nav-link");const[g,b]=J_({key:If(l,p.href),active:u,disabled:d,...p});return C.jsx(i,{...p,...g,ref:y,disabled:d,className:Kt(r,n,d&&"disabled",b.isActive&&"active")})});sD.displayName="NavLink";const uD=sD,lD=M.forwardRef((n,r)=>{const{as:i="div",bsPrefix:u,variant:l,fill:d=!1,justify:p=!1,navbar:y,navbarScroll:g,className:b,activeKey:E,...w}=T0(n,{activeKey:"onSelect"}),T=Cn(u,"nav");let A,N,j=!1;const O=M.useContext(eD),L=M.useContext(r9);return O?(A=O.bsPrefix,j=y??!0):L&&({cardHeaderBsPrefix:N}=L),C.jsx(n9,{as:i,ref:r,activeKey:E,className:Kt(b,{[T]:!j,[`${A}-nav`]:j,[`${A}-nav-scroll`]:j&&g,[`${N}-${l}`]:!!N,[`${T}-${l}`]:!!l,[`${T}-fill`]:d,[`${T}-justified`]:p}),...w})});lD.displayName="Nav";const c9=Object.assign(lD,{Item:rD,Link:uD});function xN(n,r){let i=0;return M.Children.map(n,u=>M.isValidElement(u)?r(u,i++):u)}function f9(n,r){let i=0;M.Children.forEach(n,u=>{M.isValidElement(u)&&r(u,i++)})}function d9(n){let r;return f9(n,i=>{r==null&&(r=i.props.eventKey)}),r}function p9(n){const{title:r,eventKey:i,disabled:u,tabClassName:l,tabAttrs:d,id:p}=n.props;return r==null?null:C.jsx(rD,{as:"li",role:"presentation",children:C.jsx(uD,{as:"button",type:"button",eventKey:i,disabled:u,id:p,className:l,...d,children:r})})}const cD=n=>{const{id:r,onSelect:i,transition:u,mountOnEnter:l=!1,unmountOnExit:d=!1,variant:p="tabs",children:y,activeKey:g=d9(y),...b}=T0(n,{activeKey:"onSelect"});return C.jsxs(D_,{id:r,activeKey:g,onSelect:i,transition:X1(u),mountOnEnter:l,unmountOnExit:d,children:[C.jsx(c9,{...b,role:"tablist",as:"ul",variant:p,children:xN(y,p9)}),C.jsx(U_,{children:xN(y,E=>{const w={...E.props};return delete w.title,delete w.disabled,delete w.tabClassName,delete w.tabAttrs,C.jsx($_,{...w})})})]})};cD.displayName="Tabs";const v9=cD,h9=M.createContext(null),I0=h9;var EN=Object.prototype.hasOwnProperty;function SN(n,r,i){for(i of n.keys())if(um(i,r))return i}function um(n,r){var i,u,l;if(n===r)return!0;if(n&&r&&(i=n.constructor)===r.constructor){if(i===Date)return n.getTime()===r.getTime();if(i===RegExp)return n.toString()===r.toString();if(i===Array){if((u=n.length)===r.length)for(;u--&&um(n[u],r[u]););return u===-1}if(i===Set){if(n.size!==r.size)return!1;for(u of n)if(l=u,l&&typeof l=="object"&&(l=SN(r,l),!l)||!r.has(l))return!1;return!0}if(i===Map){if(n.size!==r.size)return!1;for(u of n)if(l=u[0],l&&typeof l=="object"&&(l=SN(r,l),!l)||!um(u[1],r.get(l)))return!1;return!0}if(i===ArrayBuffer)n=new Uint8Array(n),r=new Uint8Array(r);else if(i===DataView){if((u=n.byteLength)===r.byteLength)for(;u--&&n.getInt8(u)===r.getInt8(u););return u===-1}if(ArrayBuffer.isView(n)){if((u=n.byteLength)===r.byteLength)for(;u--&&n[u]===r[u];);return u===-1}if(!i||typeof n=="object"){u=0;for(i in n)if(EN.call(n,i)&&++u&&!EN.call(r,i)||!(i in r)||!um(n[i],r[i]))return!1;return Object.keys(r).length===u}}return n!==n&&r!==r}function m9(n){const r=q1();return[n[0],M.useCallback(i=>{if(r())return n[1](i)},[r,n[1]])]}var Ti="top",go="bottom",yo="right",Ii="left",Q1="auto",wm=[Ti,go,yo,Ii],Op="start",vm="end",g9="clippingParents",fD="viewport",em="popper",y9="reference",wN=wm.reduce(function(n,r){return n.concat([r+"-"+Op,r+"-"+vm])},[]),dD=[].concat(wm,[Q1]).reduce(function(n,r){return n.concat([r,r+"-"+Op,r+"-"+vm])},[]),b9="beforeRead",C9="read",x9="afterRead",E9="beforeMain",S9="main",w9="afterMain",R9="beforeWrite",T9="write",I9="afterWrite",A9=[b9,C9,x9,E9,S9,w9,R9,T9,I9];function Ws(n){return n.split("-")[0]}function Wi(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var r=n.ownerDocument;return r&&r.defaultView||window}return n}function Af(n){var r=Wi(n).Element;return n instanceof r||n instanceof Element}function Xs(n){var r=Wi(n).HTMLElement;return n instanceof r||n instanceof HTMLElement}function K1(n){if(typeof ShadowRoot>"u")return!1;var r=Wi(n).ShadowRoot;return n instanceof r||n instanceof ShadowRoot}var wf=Math.max,s0=Math.min,_p=Math.round;function f1(){var n=navigator.userAgentData;return n!=null&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(r){return r.brand+"/"+r.version}).join(" "):navigator.userAgent}function pD(){return!/^((?!chrome|android).)*safari/i.test(f1())}function Dp(n,r,i){r===void 0&&(r=!1),i===void 0&&(i=!1);var u=n.getBoundingClientRect(),l=1,d=1;r&&Xs(n)&&(l=n.offsetWidth>0&&_p(u.width)/n.offsetWidth||1,d=n.offsetHeight>0&&_p(u.height)/n.offsetHeight||1);var p=Af(n)?Wi(n):window,y=p.visualViewport,g=!pD()&&i,b=(u.left+(g&&y?y.offsetLeft:0))/l,E=(u.top+(g&&y?y.offsetTop:0))/d,w=u.width/l,T=u.height/d;return{width:w,height:T,top:E,right:b+w,bottom:E+T,left:b,x:b,y:E}}function ew(n){var r=Dp(n),i=n.offsetWidth,u=n.offsetHeight;return Math.abs(r.width-i)<=1&&(i=r.width),Math.abs(r.height-u)<=1&&(u=r.height),{x:n.offsetLeft,y:n.offsetTop,width:i,height:u}}function vD(n,r){var i=r.getRootNode&&r.getRootNode();if(n.contains(r))return!0;if(i&&K1(i)){var u=r;do{if(u&&n.isSameNode(u))return!0;u=u.parentNode||u.host}while(u)}return!1}function pc(n){return n?(n.nodeName||"").toLowerCase():null}function Ju(n){return Wi(n).getComputedStyle(n)}function N9(n){return["table","td","th"].indexOf(pc(n))>=0}function vc(n){return((Af(n)?n.ownerDocument:n.document)||window.document).documentElement}function A0(n){return pc(n)==="html"?n:n.assignedSlot||n.parentNode||(K1(n)?n.host:null)||vc(n)}function RN(n){return!Xs(n)||Ju(n).position==="fixed"?null:n.offsetParent}function O9(n){var r=/firefox/i.test(f1()),i=/Trident/i.test(f1());if(i&&Xs(n)){var u=Ju(n);if(u.position==="fixed")return null}var l=A0(n);for(K1(l)&&(l=l.host);Xs(l)&&["html","body"].indexOf(pc(l))<0;){var d=Ju(l);if(d.transform!=="none"||d.perspective!=="none"||d.contain==="paint"||["transform","perspective"].indexOf(d.willChange)!==-1||r&&d.willChange==="filter"||r&&d.filter&&d.filter!=="none")return l;l=l.parentNode}return null}function Rm(n){for(var r=Wi(n),i=RN(n);i&&N9(i)&&Ju(i).position==="static";)i=RN(i);return i&&(pc(i)==="html"||pc(i)==="body"&&Ju(i).position==="static")?r:i||O9(n)||r}function tw(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function lm(n,r,i){return wf(n,s0(r,i))}function _9(n,r,i){var u=lm(n,r,i);return u>i?i:u}function hD(){return{top:0,right:0,bottom:0,left:0}}function mD(n){return Object.assign({},hD(),n)}function gD(n,r){return r.reduce(function(i,u){return i[u]=n,i},{})}var D9=function(r,i){return r=typeof r=="function"?r(Object.assign({},i.rects,{placement:i.placement})):r,mD(typeof r!="number"?r:gD(r,wm))};function j9(n){var r,i=n.state,u=n.name,l=n.options,d=i.elements.arrow,p=i.modifiersData.popperOffsets,y=Ws(i.placement),g=tw(y),b=[Ii,yo].indexOf(y)>=0,E=b?"height":"width";if(!(!d||!p)){var w=D9(l.padding,i),T=ew(d),A=g==="y"?Ti:Ii,N=g==="y"?go:yo,j=i.rects.reference[E]+i.rects.reference[g]-p[g]-i.rects.popper[E],O=p[g]-i.rects.reference[g],L=Rm(d),B=L?g==="y"?L.clientHeight||0:L.clientWidth||0:0,P=j/2-O/2,U=w[A],z=B-T[E]-w[N],G=B/2-T[E]/2+P,X=lm(U,G,z),te=g;i.modifiersData[u]=(r={},r[te]=X,r.centerOffset=X-G,r)}}function k9(n){var r=n.state,i=n.options,u=i.element,l=u===void 0?"[data-popper-arrow]":u;l!=null&&(typeof l=="string"&&(l=r.elements.popper.querySelector(l),!l)||vD(r.elements.popper,l)&&(r.elements.arrow=l))}const M9={name:"arrow",enabled:!0,phase:"main",fn:j9,effect:k9,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function jp(n){return n.split("-")[1]}var L9={top:"auto",right:"auto",bottom:"auto",left:"auto"};function F9(n,r){var i=n.x,u=n.y,l=r.devicePixelRatio||1;return{x:_p(i*l)/l||0,y:_p(u*l)/l||0}}function TN(n){var r,i=n.popper,u=n.popperRect,l=n.placement,d=n.variation,p=n.offsets,y=n.position,g=n.gpuAcceleration,b=n.adaptive,E=n.roundOffsets,w=n.isFixed,T=p.x,A=T===void 0?0:T,N=p.y,j=N===void 0?0:N,O=typeof E=="function"?E({x:A,y:j}):{x:A,y:j};A=O.x,j=O.y;var L=p.hasOwnProperty("x"),B=p.hasOwnProperty("y"),P=Ii,U=Ti,z=window;if(b){var G=Rm(i),X="clientHeight",te="clientWidth";if(G===Wi(i)&&(G=vc(i),Ju(G).position!=="static"&&y==="absolute"&&(X="scrollHeight",te="scrollWidth")),G=G,l===Ti||(l===Ii||l===yo)&&d===vm){U=go;var Re=w&&G===z&&z.visualViewport?z.visualViewport.height:G[X];j-=Re-u.height,j*=g?1:-1}if(l===Ii||(l===Ti||l===go)&&d===vm){P=yo;var ue=w&&G===z&&z.visualViewport?z.visualViewport.width:G[te];A-=ue-u.width,A*=g?1:-1}}var pe=Object.assign({position:y},b&&L9),ye=E===!0?F9({x:A,y:j},Wi(i)):{x:A,y:j};if(A=ye.x,j=ye.y,g){var me;return Object.assign({},pe,(me={},me[U]=B?"0":"",me[P]=L?"0":"",me.transform=(z.devicePixelRatio||1)<=1?"translate("+A+"px, "+j+"px)":"translate3d("+A+"px, "+j+"px, 0)",me))}return Object.assign({},pe,(r={},r[U]=B?j+"px":"",r[P]=L?A+"px":"",r.transform="",r))}function P9(n){var r=n.state,i=n.options,u=i.gpuAcceleration,l=u===void 0?!0:u,d=i.adaptive,p=d===void 0?!0:d,y=i.roundOffsets,g=y===void 0?!0:y,b={placement:Ws(r.placement),variation:jp(r.placement),popper:r.elements.popper,popperRect:r.rects.popper,gpuAcceleration:l,isFixed:r.options.strategy==="fixed"};r.modifiersData.popperOffsets!=null&&(r.styles.popper=Object.assign({},r.styles.popper,TN(Object.assign({},b,{offsets:r.modifiersData.popperOffsets,position:r.options.strategy,adaptive:p,roundOffsets:g})))),r.modifiersData.arrow!=null&&(r.styles.arrow=Object.assign({},r.styles.arrow,TN(Object.assign({},b,{offsets:r.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:g})))),r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-placement":r.placement})}const V9={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:P9,data:{}};var wb={passive:!0};function B9(n){var r=n.state,i=n.instance,u=n.options,l=u.scroll,d=l===void 0?!0:l,p=u.resize,y=p===void 0?!0:p,g=Wi(r.elements.popper),b=[].concat(r.scrollParents.reference,r.scrollParents.popper);return d&&b.forEach(function(E){E.addEventListener("scroll",i.update,wb)}),y&&g.addEventListener("resize",i.update,wb),function(){d&&b.forEach(function(E){E.removeEventListener("scroll",i.update,wb)}),y&&g.removeEventListener("resize",i.update,wb)}}const z9={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:B9,data:{}};var H9={left:"right",right:"left",bottom:"top",top:"bottom"};function Vb(n){return n.replace(/left|right|bottom|top/g,function(r){return H9[r]})}var U9={start:"end",end:"start"};function IN(n){return n.replace(/start|end/g,function(r){return U9[r]})}function nw(n){var r=Wi(n),i=r.pageXOffset,u=r.pageYOffset;return{scrollLeft:i,scrollTop:u}}function rw(n){return Dp(vc(n)).left+nw(n).scrollLeft}function G9(n,r){var i=Wi(n),u=vc(n),l=i.visualViewport,d=u.clientWidth,p=u.clientHeight,y=0,g=0;if(l){d=l.width,p=l.height;var b=pD();(b||!b&&r==="fixed")&&(y=l.offsetLeft,g=l.offsetTop)}return{width:d,height:p,x:y+rw(n),y:g}}function $9(n){var r,i=vc(n),u=nw(n),l=(r=n.ownerDocument)==null?void 0:r.body,d=wf(i.scrollWidth,i.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),p=wf(i.scrollHeight,i.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),y=-u.scrollLeft+rw(n),g=-u.scrollTop;return Ju(l||i).direction==="rtl"&&(y+=wf(i.clientWidth,l?l.clientWidth:0)-d),{width:d,height:p,x:y,y:g}}function aw(n){var r=Ju(n),i=r.overflow,u=r.overflowX,l=r.overflowY;return/auto|scroll|overlay|hidden/.test(i+l+u)}function yD(n){return["html","body","#document"].indexOf(pc(n))>=0?n.ownerDocument.body:Xs(n)&&aw(n)?n:yD(A0(n))}function cm(n,r){var i;r===void 0&&(r=[]);var u=yD(n),l=u===((i=n.ownerDocument)==null?void 0:i.body),d=Wi(u),p=l?[d].concat(d.visualViewport||[],aw(u)?u:[]):u,y=r.concat(p);return l?y:y.concat(cm(A0(p)))}function d1(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function W9(n,r){var i=Dp(n,!1,r==="fixed");return i.top=i.top+n.clientTop,i.left=i.left+n.clientLeft,i.bottom=i.top+n.clientHeight,i.right=i.left+n.clientWidth,i.width=n.clientWidth,i.height=n.clientHeight,i.x=i.left,i.y=i.top,i}function AN(n,r,i){return r===fD?d1(G9(n,i)):Af(r)?W9(r,i):d1($9(vc(n)))}function X9(n){var r=cm(A0(n)),i=["absolute","fixed"].indexOf(Ju(n).position)>=0,u=i&&Xs(n)?Rm(n):n;return Af(u)?r.filter(function(l){return Af(l)&&vD(l,u)&&pc(l)!=="body"}):[]}function Y9(n,r,i,u){var l=r==="clippingParents"?X9(n):[].concat(r),d=[].concat(l,[i]),p=d[0],y=d.reduce(function(g,b){var E=AN(n,b,u);return g.top=wf(E.top,g.top),g.right=s0(E.right,g.right),g.bottom=s0(E.bottom,g.bottom),g.left=wf(E.left,g.left),g},AN(n,p,u));return y.width=y.right-y.left,y.height=y.bottom-y.top,y.x=y.left,y.y=y.top,y}function bD(n){var r=n.reference,i=n.element,u=n.placement,l=u?Ws(u):null,d=u?jp(u):null,p=r.x+r.width/2-i.width/2,y=r.y+r.height/2-i.height/2,g;switch(l){case Ti:g={x:p,y:r.y-i.height};break;case go:g={x:p,y:r.y+r.height};break;case yo:g={x:r.x+r.width,y};break;case Ii:g={x:r.x-i.width,y};break;default:g={x:r.x,y:r.y}}var b=l?tw(l):null;if(b!=null){var E=b==="y"?"height":"width";switch(d){case Op:g[b]=g[b]-(r[E]/2-i[E]/2);break;case vm:g[b]=g[b]+(r[E]/2-i[E]/2);break}}return g}function hm(n,r){r===void 0&&(r={});var i=r,u=i.placement,l=u===void 0?n.placement:u,d=i.strategy,p=d===void 0?n.strategy:d,y=i.boundary,g=y===void 0?g9:y,b=i.rootBoundary,E=b===void 0?fD:b,w=i.elementContext,T=w===void 0?em:w,A=i.altBoundary,N=A===void 0?!1:A,j=i.padding,O=j===void 0?0:j,L=mD(typeof O!="number"?O:gD(O,wm)),B=T===em?y9:em,P=n.rects.popper,U=n.elements[N?B:T],z=Y9(Af(U)?U:U.contextElement||vc(n.elements.popper),g,E,p),G=Dp(n.elements.reference),X=bD({reference:G,element:P,strategy:"absolute",placement:l}),te=d1(Object.assign({},P,X)),Re=T===em?te:G,ue={top:z.top-Re.top+L.top,bottom:Re.bottom-z.bottom+L.bottom,left:z.left-Re.left+L.left,right:Re.right-z.right+L.right},pe=n.modifiersData.offset;if(T===em&&pe){var ye=pe[l];Object.keys(ue).forEach(function(me){var Ae=[yo,go].indexOf(me)>=0?1:-1,_e=[Ti,go].indexOf(me)>=0?"y":"x";ue[me]+=ye[_e]*Ae})}return ue}function Z9(n,r){r===void 0&&(r={});var i=r,u=i.placement,l=i.boundary,d=i.rootBoundary,p=i.padding,y=i.flipVariations,g=i.allowedAutoPlacements,b=g===void 0?dD:g,E=jp(u),w=E?y?wN:wN.filter(function(N){return jp(N)===E}):wm,T=w.filter(function(N){return b.indexOf(N)>=0});T.length===0&&(T=w);var A=T.reduce(function(N,j){return N[j]=hm(n,{placement:j,boundary:l,rootBoundary:d,padding:p})[Ws(j)],N},{});return Object.keys(A).sort(function(N,j){return A[N]-A[j]})}function J9(n){if(Ws(n)===Q1)return[];var r=Vb(n);return[IN(n),r,IN(r)]}function q9(n){var r=n.state,i=n.options,u=n.name;if(!r.modifiersData[u]._skip){for(var l=i.mainAxis,d=l===void 0?!0:l,p=i.altAxis,y=p===void 0?!0:p,g=i.fallbackPlacements,b=i.padding,E=i.boundary,w=i.rootBoundary,T=i.altBoundary,A=i.flipVariations,N=A===void 0?!0:A,j=i.allowedAutoPlacements,O=r.options.placement,L=Ws(O),B=L===O,P=g||(B||!N?[Vb(O)]:J9(O)),U=[O].concat(P).reduce(function(Ee,De){return Ee.concat(Ws(De)===Q1?Z9(r,{placement:De,boundary:E,rootBoundary:w,padding:b,flipVariations:N,allowedAutoPlacements:j}):De)},[]),z=r.rects.reference,G=r.rects.popper,X=new Map,te=!0,Re=U[0],ue=0;ue<U.length;ue++){var pe=U[ue],ye=Ws(pe),me=jp(pe)===Op,Ae=[Ti,go].indexOf(ye)>=0,_e=Ae?"width":"height",Oe=hm(r,{placement:pe,boundary:E,rootBoundary:w,altBoundary:T,padding:b}),Ie=Ae?me?yo:Ii:me?go:Ti;z[_e]>G[_e]&&(Ie=Vb(Ie));var ve=Vb(Ie),Le=[];if(d&&Le.push(Oe[ye]<=0),y&&Le.push(Oe[Ie]<=0,Oe[ve]<=0),Le.every(function(Ee){return Ee})){Re=pe,te=!1;break}X.set(pe,Le)}if(te)for(var F=N?3:1,q=function(De){var ie=U.find(function(he){var Te=X.get(he);if(Te)return Te.slice(0,De).every(function(Ve){return Ve})});if(ie)return Re=ie,"break"},se=F;se>0;se--){var xe=q(se);if(xe==="break")break}r.placement!==Re&&(r.modifiersData[u]._skip=!0,r.placement=Re,r.reset=!0)}}const Q9={name:"flip",enabled:!0,phase:"main",fn:q9,requiresIfExists:["offset"],data:{_skip:!1}};function NN(n,r,i){return i===void 0&&(i={x:0,y:0}),{top:n.top-r.height-i.y,right:n.right-r.width+i.x,bottom:n.bottom-r.height+i.y,left:n.left-r.width-i.x}}function ON(n){return[Ti,yo,go,Ii].some(function(r){return n[r]>=0})}function K9(n){var r=n.state,i=n.name,u=r.rects.reference,l=r.rects.popper,d=r.modifiersData.preventOverflow,p=hm(r,{elementContext:"reference"}),y=hm(r,{altBoundary:!0}),g=NN(p,u),b=NN(y,l,d),E=ON(g),w=ON(b);r.modifiersData[i]={referenceClippingOffsets:g,popperEscapeOffsets:b,isReferenceHidden:E,hasPopperEscaped:w},r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-reference-hidden":E,"data-popper-escaped":w})}const eH={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:K9};function tH(n,r,i){var u=Ws(n),l=[Ii,Ti].indexOf(u)>=0?-1:1,d=typeof i=="function"?i(Object.assign({},r,{placement:n})):i,p=d[0],y=d[1];return p=p||0,y=(y||0)*l,[Ii,yo].indexOf(u)>=0?{x:y,y:p}:{x:p,y}}function nH(n){var r=n.state,i=n.options,u=n.name,l=i.offset,d=l===void 0?[0,0]:l,p=dD.reduce(function(E,w){return E[w]=tH(w,r.rects,d),E},{}),y=p[r.placement],g=y.x,b=y.y;r.modifiersData.popperOffsets!=null&&(r.modifiersData.popperOffsets.x+=g,r.modifiersData.popperOffsets.y+=b),r.modifiersData[u]=p}const rH={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:nH};function aH(n){var r=n.state,i=n.name;r.modifiersData[i]=bD({reference:r.rects.reference,element:r.rects.popper,strategy:"absolute",placement:r.placement})}const iH={name:"popperOffsets",enabled:!0,phase:"read",fn:aH,data:{}};function oH(n){return n==="x"?"y":"x"}function sH(n){var r=n.state,i=n.options,u=n.name,l=i.mainAxis,d=l===void 0?!0:l,p=i.altAxis,y=p===void 0?!1:p,g=i.boundary,b=i.rootBoundary,E=i.altBoundary,w=i.padding,T=i.tether,A=T===void 0?!0:T,N=i.tetherOffset,j=N===void 0?0:N,O=hm(r,{boundary:g,rootBoundary:b,padding:w,altBoundary:E}),L=Ws(r.placement),B=jp(r.placement),P=!B,U=tw(L),z=oH(U),G=r.modifiersData.popperOffsets,X=r.rects.reference,te=r.rects.popper,Re=typeof j=="function"?j(Object.assign({},r.rects,{placement:r.placement})):j,ue=typeof Re=="number"?{mainAxis:Re,altAxis:Re}:Object.assign({mainAxis:0,altAxis:0},Re),pe=r.modifiersData.offset?r.modifiersData.offset[r.placement]:null,ye={x:0,y:0};if(G){if(d){var me,Ae=U==="y"?Ti:Ii,_e=U==="y"?go:yo,Oe=U==="y"?"height":"width",Ie=G[U],ve=Ie+O[Ae],Le=Ie-O[_e],F=A?-te[Oe]/2:0,q=B===Op?X[Oe]:te[Oe],se=B===Op?-te[Oe]:-X[Oe],xe=r.elements.arrow,Ee=A&&xe?ew(xe):{width:0,height:0},De=r.modifiersData["arrow#persistent"]?r.modifiersData["arrow#persistent"].padding:hD(),ie=De[Ae],he=De[_e],Te=lm(0,X[Oe],Ee[Oe]),Ve=P?X[Oe]/2-F-Te-ie-ue.mainAxis:q-Te-ie-ue.mainAxis,Ke=P?-X[Oe]/2+F+Te+he+ue.mainAxis:se+Te+he+ue.mainAxis,It=r.elements.arrow&&Rm(r.elements.arrow),Ne=It?U==="y"?It.clientTop||0:It.clientLeft||0:0,ft=(me=pe==null?void 0:pe[U])!=null?me:0,Bt=Ie+Ve-ft-Ne,lt=Ie+Ke-ft,hn=lm(A?s0(ve,Bt):ve,Ie,A?wf(Le,lt):Le);G[U]=hn,ye[U]=hn-Ie}if(y){var nn,Hn=U==="x"?Ti:Ii,Mn=U==="x"?go:yo,Mt=G[z],Ln=z==="y"?"height":"width",$n=Mt+O[Hn],rr=Mt-O[Mn],lr=[Ti,Ii].indexOf(L)!==-1,Qn=(nn=pe==null?void 0:pe[z])!=null?nn:0,St=lr?$n:Mt-X[Ln]-te[Ln]-Qn+ue.altAxis,en=lr?Mt+X[Ln]+te[Ln]-Qn-ue.altAxis:rr,ar=A&&lr?_9(St,Mt,en):lm(A?St:$n,Mt,A?en:rr);G[z]=ar,ye[z]=ar-Mt}r.modifiersData[u]=ye}}const uH={name:"preventOverflow",enabled:!0,phase:"main",fn:sH,requiresIfExists:["offset"]};function lH(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function cH(n){return n===Wi(n)||!Xs(n)?nw(n):lH(n)}function fH(n){var r=n.getBoundingClientRect(),i=_p(r.width)/n.offsetWidth||1,u=_p(r.height)/n.offsetHeight||1;return i!==1||u!==1}function dH(n,r,i){i===void 0&&(i=!1);var u=Xs(r),l=Xs(r)&&fH(r),d=vc(r),p=Dp(n,l,i),y={scrollLeft:0,scrollTop:0},g={x:0,y:0};return(u||!u&&!i)&&((pc(r)!=="body"||aw(d))&&(y=cH(r)),Xs(r)?(g=Dp(r,!0),g.x+=r.clientLeft,g.y+=r.clientTop):d&&(g.x=rw(d))),{x:p.left+y.scrollLeft-g.x,y:p.top+y.scrollTop-g.y,width:p.width,height:p.height}}function pH(n){var r=new Map,i=new Set,u=[];n.forEach(function(d){r.set(d.name,d)});function l(d){i.add(d.name);var p=[].concat(d.requires||[],d.requiresIfExists||[]);p.forEach(function(y){if(!i.has(y)){var g=r.get(y);g&&l(g)}}),u.push(d)}return n.forEach(function(d){i.has(d.name)||l(d)}),u}function vH(n){var r=pH(n);return A9.reduce(function(i,u){return i.concat(r.filter(function(l){return l.phase===u}))},[])}function hH(n){var r;return function(){return r||(r=new Promise(function(i){Promise.resolve().then(function(){r=void 0,i(n())})})),r}}function mH(n){var r=n.reduce(function(i,u){var l=i[u.name];return i[u.name]=l?Object.assign({},l,u,{options:Object.assign({},l.options,u.options),data:Object.assign({},l.data,u.data)}):u,i},{});return Object.keys(r).map(function(i){return r[i]})}var _N={placement:"bottom",modifiers:[],strategy:"absolute"};function DN(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return!r.some(function(u){return!(u&&typeof u.getBoundingClientRect=="function")})}function gH(n){n===void 0&&(n={});var r=n,i=r.defaultModifiers,u=i===void 0?[]:i,l=r.defaultOptions,d=l===void 0?_N:l;return function(y,g,b){b===void 0&&(b=d);var E={placement:"bottom",orderedModifiers:[],options:Object.assign({},_N,d),modifiersData:{},elements:{reference:y,popper:g},attributes:{},styles:{}},w=[],T=!1,A={state:E,setOptions:function(L){var B=typeof L=="function"?L(E.options):L;j(),E.options=Object.assign({},d,E.options,B),E.scrollParents={reference:Af(y)?cm(y):y.contextElement?cm(y.contextElement):[],popper:cm(g)};var P=vH(mH([].concat(u,E.options.modifiers)));return E.orderedModifiers=P.filter(function(U){return U.enabled}),N(),A.update()},forceUpdate:function(){if(!T){var L=E.elements,B=L.reference,P=L.popper;if(DN(B,P)){E.rects={reference:dH(B,Rm(P),E.options.strategy==="fixed"),popper:ew(P)},E.reset=!1,E.placement=E.options.placement,E.orderedModifiers.forEach(function(ue){return E.modifiersData[ue.name]=Object.assign({},ue.data)});for(var U=0;U<E.orderedModifiers.length;U++){if(E.reset===!0){E.reset=!1,U=-1;continue}var z=E.orderedModifiers[U],G=z.fn,X=z.options,te=X===void 0?{}:X,Re=z.name;typeof G=="function"&&(E=G({state:E,options:te,name:Re,instance:A})||E)}}}},update:hH(function(){return new Promise(function(O){A.forceUpdate(),O(E)})}),destroy:function(){j(),T=!0}};if(!DN(y,g))return A;A.setOptions(b).then(function(O){!T&&b.onFirstUpdate&&b.onFirstUpdate(O)});function N(){E.orderedModifiers.forEach(function(O){var L=O.name,B=O.options,P=B===void 0?{}:B,U=O.effect;if(typeof U=="function"){var z=U({state:E,name:L,instance:A,options:P}),G=function(){};w.push(z||G)}})}function j(){w.forEach(function(O){return O()}),w=[]}return A}}const yH=gH({defaultModifiers:[eH,iH,V9,z9,rH,Q9,uH,M9]}),bH=["enabled","placement","strategy","modifiers"];function CH(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}const xH={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},EH={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:n})=>()=>{const{reference:r,popper:i}=n.elements;if("removeAttribute"in r){const u=(r.getAttribute("aria-describedby")||"").split(",").filter(l=>l.trim()!==i.id);u.length?r.setAttribute("aria-describedby",u.join(",")):r.removeAttribute("aria-describedby")}},fn:({state:n})=>{var r;const{popper:i,reference:u}=n.elements,l=(r=i.getAttribute("role"))==null?void 0:r.toLowerCase();if(i.id&&l==="tooltip"&&"setAttribute"in u){const d=u.getAttribute("aria-describedby");if(d&&d.split(",").indexOf(i.id)!==-1)return;u.setAttribute("aria-describedby",d?`${d},${i.id}`:i.id)}}},SH=[];function CD(n,r,i={}){let{enabled:u=!0,placement:l="bottom",strategy:d="absolute",modifiers:p=SH}=i,y=CH(i,bH);const g=M.useRef(p),b=M.useRef(),E=M.useCallback(()=>{var O;(O=b.current)==null||O.update()},[]),w=M.useCallback(()=>{var O;(O=b.current)==null||O.forceUpdate()},[]),[T,A]=m9(M.useState({placement:l,update:E,forceUpdate:w,attributes:{},styles:{popper:{},arrow:{}}})),N=M.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:O})=>{const L={},B={};Object.keys(O.elements).forEach(P=>{L[P]=O.styles[P],B[P]=O.attributes[P]}),A({state:O,styles:L,attributes:B,update:E,forceUpdate:w,placement:O.placement})}}),[E,w,A]),j=M.useMemo(()=>(um(g.current,p)||(g.current=p),g.current),[p]);return M.useEffect(()=>{!b.current||!u||b.current.setOptions({placement:l,strategy:d,modifiers:[...j,N,xH]})},[d,l,N,u,j]),M.useEffect(()=>{if(!(!u||n==null||r==null))return b.current=yH(n,r,Object.assign({},y,{placement:l,strategy:d,modifiers:[...j,EH,N]})),()=>{b.current!=null&&(b.current.destroy(),b.current=void 0,A(O=>Object.assign({},O,{attributes:{},styles:{popper:{}}})))}},[u,n,r]),T}function mm(n,r){if(n.contains)return n.contains(r);if(n.compareDocumentPosition)return n===r||!!(n.compareDocumentPosition(r)&16)}var wH=process.env.NODE_ENV!=="production",xD=function(){};if(wH){var RH=function(r,i){var u=arguments.length;i=new Array(u>1?u-1:0);for(var l=1;l<u;l++)i[l-1]=arguments[l];var d=0,p="Warning: "+r.replace(/%s/g,function(){return i[d++]});typeof console<"u"&&console.error(p);try{throw new Error(p)}catch{}};xD=function(n,r,i){var u=arguments.length;i=new Array(u>2?u-2:0);for(var l=2;l<u;l++)i[l-2]=arguments[l];if(r===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");n||RH.apply(null,[r].concat(i))}}var TH=xD;const iw=Lp(TH),jN=()=>{};function IH(n){return n.button===0}function AH(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}const Bb=n=>n&&("current"in n?n.current:n),kN={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function ED(n,r=jN,{disabled:i,clickTrigger:u="click"}={}){const l=M.useRef(!1),d=M.useRef(!1),p=M.useCallback(b=>{const E=Bb(n);iw(!!E,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),l.current=!E||AH(b)||!IH(b)||!!mm(E,b.target)||d.current,d.current=!1},[n]),y=hr(b=>{const E=Bb(n);E&&mm(E,b.target)&&(d.current=!0)}),g=hr(b=>{l.current||r(b)});M.useEffect(()=>{var b,E;if(i||n==null)return;const w=Pp(Bb(n)),T=w.defaultView||window;let A=(b=T.event)!=null?b:(E=T.parent)==null?void 0:E.event,N=null;kN[u]&&(N=Gu(w,kN[u],y,!0));const j=Gu(w,u,p,!0),O=Gu(w,u,B=>{if(B===A){A=void 0;return}g(B)});let L=[];return"ontouchstart"in w.documentElement&&(L=[].slice.call(w.body.children).map(B=>Gu(B,"mousemove",jN))),()=>{N==null||N(),j(),O(),L.forEach(B=>B())}},[n,i,u,p,y,g])}function NH(n){const r={};return Array.isArray(n)?(n==null||n.forEach(i=>{r[i.name]=i}),r):n||r}function OH(n={}){return Array.isArray(n)?n:Object.keys(n).map(r=>(n[r].name=r,n[r]))}function SD({enabled:n,enableEvents:r,placement:i,flip:u,offset:l,fixed:d,containerPadding:p,arrowElement:y,popperConfig:g={}}){var b,E,w,T,A;const N=NH(g.modifiers);return Object.assign({},g,{placement:i,enabled:n,strategy:d?"fixed":g.strategy,modifiers:OH(Object.assign({},N,{eventListeners:{enabled:r,options:(b=N.eventListeners)==null?void 0:b.options},preventOverflow:Object.assign({},N.preventOverflow,{options:p?Object.assign({padding:p},(E=N.preventOverflow)==null?void 0:E.options):(w=N.preventOverflow)==null?void 0:w.options}),offset:{options:Object.assign({offset:l},(T=N.offset)==null?void 0:T.options)},arrow:Object.assign({},N.arrow,{enabled:!!y,options:Object.assign({},(A=N.arrow)==null?void 0:A.options,{element:y})}),flip:Object.assign({enabled:!!u},N.flip)}))})}const _H=["children"];function DH(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}const jH=()=>{};function wD(n={}){const r=M.useContext(I0),[i,u]=i0(),l=M.useRef(!1),{flip:d,offset:p,rootCloseEvent:y,fixed:g=!1,placement:b,popperConfig:E={},enableEventListeners:w=!0,usePopper:T=!!r}=n,A=(r==null?void 0:r.show)==null?!!n.show:r.show;A&&!l.current&&(l.current=!0);const N=G=>{r==null||r.toggle(!1,G)},{placement:j,setMenu:O,menuElement:L,toggleElement:B}=r||{},P=CD(B,L,SD({placement:b||j||"bottom-start",enabled:T,enableEvents:w??A,offset:p,flip:d,fixed:g,arrowElement:i,popperConfig:E})),U=Object.assign({ref:O||jH,"aria-labelledby":B==null?void 0:B.id},P.attributes.popper,{style:P.styles.popper}),z={show:A,placement:j,hasShown:l.current,toggle:r==null?void 0:r.toggle,popper:T?P:null,arrowProps:T?Object.assign({ref:u},P.attributes.arrow,{style:P.styles.arrow}):{}};return ED(L,N,{clickTrigger:y,disabled:!A}),[U,z]}const kH={usePopper:!0};function ow(n){let{children:r}=n,i=DH(n,_H);const[u,l]=wD(i);return C.jsx(C.Fragment,{children:r(u,l)})}ow.displayName="DropdownMenu";ow.defaultProps=kH;const RD=n=>{var r;return((r=n.getAttribute("role"))==null?void 0:r.toLowerCase())==="menu"},MN=()=>{};function TD(){const n=A_(),{show:r=!1,toggle:i=MN,setToggle:u,menuElement:l}=M.useContext(I0)||{},d=M.useCallback(y=>{i(!r,y)},[r,i]),p={id:n,ref:u||MN,onClick:d,"aria-expanded":!!r};return l&&RD(l)&&(p["aria-haspopup"]=!0),[p,{show:r,toggle:i}]}function ID({children:n}){const[r,i]=TD();return C.jsx(C.Fragment,{children:n(r,i)})}ID.displayName="DropdownToggle";const MH=["eventKey","disabled","onClick","active","as"];function LH(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}function AD({key:n,href:r,active:i,disabled:u,onClick:l}){const d=M.useContext(Zu),p=M.useContext(Y1),{activeKey:y}=p||{},g=If(n,r),b=i==null&&n!=null?If(y)===g:i;return[{onClick:hr(w=>{u||(l==null||l(w),d&&!w.isPropagationStopped()&&d(g,w))}),"aria-disabled":u||void 0,"aria-selected":b,[Bp("dropdown-item")]:""},{isActive:b}]}const ND=M.forwardRef((n,r)=>{let{eventKey:i,disabled:u,onClick:l,active:d,as:p=J1}=n,y=LH(n,MH);const[g]=AD({key:i,href:y.href,disabled:u,onClick:l,active:d});return C.jsx(p,Object.assign({},y,{ref:r},g))});ND.displayName="DropdownItem";const OD=M.createContext(Vp?window:void 0);OD.Provider;function N0(){return M.useContext(OD)}function LN(){const n=Y_(),r=M.useRef(null),i=M.useCallback(u=>{r.current=u,n()},[n]);return[r,i]}function Tm({defaultShow:n,show:r,onSelect:i,onToggle:u,itemSelector:l=`* [${Bp("dropdown-item")}]`,focusFirstItemOnShow:d,placement:p="bottom-start",children:y}){const g=N0(),[b,E]=T_(r,n,u),[w,T]=LN(),A=w.current,[N,j]=LN(),O=N.current,L=aD(b),B=M.useRef(null),P=M.useRef(!1),U=M.useContext(Zu),z=M.useCallback((pe,ye,me=ye==null?void 0:ye.type)=>{E(pe,{originalEvent:ye,source:me})},[E]),G=hr((pe,ye)=>{i==null||i(pe,ye),z(!1,ye,"select"),ye.isPropagationStopped()||U==null||U(pe,ye)}),X=M.useMemo(()=>({toggle:z,placement:p,show:b,menuElement:A,toggleElement:O,setMenu:T,setToggle:j}),[z,p,b,A,O,T,j]);A&&L&&!b&&(P.current=A.contains(A.ownerDocument.activeElement));const te=hr(()=>{O&&O.focus&&O.focus()}),Re=hr(()=>{const pe=B.current;let ye=d;if(ye==null&&(ye=w.current&&RD(w.current)?"keyboard":!1),ye===!1||ye==="keyboard"&&!/^key.+$/.test(pe))return;const me=Uu(w.current,l)[0];me&&me.focus&&me.focus()});M.useEffect(()=>{b?Re():P.current&&(P.current=!1,te())},[b,P,te,Re]),M.useEffect(()=>{B.current=null});const ue=(pe,ye)=>{if(!w.current)return null;const me=Uu(w.current,l);let Ae=me.indexOf(pe)+ye;return Ae=Math.max(0,Math.min(Ae,me.length)),me[Ae]};return a9(M.useCallback(()=>g.document,[g]),"keydown",pe=>{var ye,me;const{key:Ae}=pe,_e=pe.target,Oe=(ye=w.current)==null?void 0:ye.contains(_e),Ie=(me=N.current)==null?void 0:me.contains(_e);if(/input|textarea/i.test(_e.tagName)&&(Ae===" "||Ae!=="Escape"&&Oe||Ae==="Escape"&&_e.type==="search")||!Oe&&!Ie||Ae==="Tab"&&(!w.current||!b))return;B.current=pe.type;const Le={originalEvent:pe,source:pe.type};switch(Ae){case"ArrowUp":{const F=ue(_e,-1);F&&F.focus&&F.focus(),pe.preventDefault();return}case"ArrowDown":if(pe.preventDefault(),!b)E(!0,Le);else{const F=ue(_e,1);F&&F.focus&&F.focus()}return;case"Tab":W1(_e.ownerDocument,"keyup",F=>{var q;(F.key==="Tab"&&!F.target||!((q=w.current)!=null&&q.contains(F.target)))&&E(!1,Le)},{once:!0});break;case"Escape":Ae==="Escape"&&(pe.preventDefault(),pe.stopPropagation()),E(!1,Le);break}}),C.jsx(Zu.Provider,{value:G,children:C.jsx(I0.Provider,{value:X,children:y})})}Tm.displayName="Dropdown";Tm.Menu=ow;Tm.Toggle=ID;Tm.Item=ND;const _D=M.createContext({});_D.displayName="DropdownContext";const DD=_D,jD=M.forwardRef(({className:n,bsPrefix:r,as:i="hr",role:u="separator",...l},d)=>(r=Cn(r,"dropdown-divider"),C.jsx(i,{ref:d,className:Kt(n,r),role:u,...l})));jD.displayName="DropdownDivider";const FH=jD,kD=M.forwardRef(({className:n,bsPrefix:r,as:i="div",role:u="heading",...l},d)=>(r=Cn(r,"dropdown-header"),C.jsx(i,{ref:d,className:Kt(n,r),role:u,...l})));kD.displayName="DropdownHeader";const PH=kD,MD=M.forwardRef(({bsPrefix:n,className:r,eventKey:i,disabled:u=!1,onClick:l,active:d,as:p=oD,...y},g)=>{const b=Cn(n,"dropdown-item"),[E,w]=AD({key:i,href:y.href,disabled:u,onClick:l,active:d});return C.jsx(p,{...y,...E,ref:g,className:Kt(r,b,w.isActive&&"active",u&&"disabled")})});MD.displayName="DropdownItem";const VH=MD,LD=M.forwardRef(({className:n,bsPrefix:r,as:i="span",...u},l)=>(r=Cn(r,"dropdown-item-text"),C.jsx(i,{ref:l,className:Kt(n,r),...u})));LD.displayName="DropdownItemText";const BH=LD,FD=M.createContext(null);FD.displayName="InputGroupContext";const PD=FD;function VD(n,r){if(process.env.NODE_ENV==="production")return n;const i=M.useCallback(u=>{u==null||!u.isReactComponent||(process.env.NODE_ENV!=="production"?mN(!1,`${r} injected a ref to a provided \`as\` component that resolved to a component instance instead of a DOM element. Use \`React.forwardRef\` to provide the injected ref to the class component as a prop in order to pass it directly to a DOM element`):mN(!1))},[r]);return Qo(i,n)}function BD(n,r,i){const u=i?"top-end":"top-start",l=i?"top-start":"top-end",d=i?"bottom-end":"bottom-start",p=i?"bottom-start":"bottom-end",y=i?"right-start":"left-start",g=i?"right-end":"left-end",b=i?"left-start":"right-start",E=i?"left-end":"right-end";let w=n?p:d;return r==="up"?w=n?l:u:r==="end"?w=n?E:b:r==="start"?w=n?g:y:r==="down-centered"?w="bottom":r==="up-centered"&&(w="top"),w}const zD=M.forwardRef(({bsPrefix:n,className:r,align:i,rootCloseEvent:u,flip:l=!0,show:d,renderOnMount:p,as:y="div",popperConfig:g,variant:b,...E},w)=>{let T=!1;const A=M.useContext(eD),N=Cn(n,"dropdown-menu"),{align:j,drop:O,isRTL:L}=M.useContext(DD);i=i||j;const B=M.useContext(PD),P=[];if(i)if(typeof i=="object"){const pe=Object.keys(i);if(process.env.NODE_ENV!=="production"&&iw(pe.length===1,"There should only be 1 breakpoint when passing an object to `align`"),pe.length){const ye=pe[0],me=i[ye];T=me==="start",P.push(`${N}-${ye}-${me}`)}}else i==="end"&&(T=!0);const U=BD(T,O,L),[z,{hasShown:G,popper:X,show:te,toggle:Re}]=wD({flip:l,rootCloseEvent:u,show:d,usePopper:!A&&P.length===0,offset:[0,2],popperConfig:g,placement:U});if(z.ref=Qo(VD(w,"DropdownMenu"),z.ref),o0(()=>{te&&(X==null||X.update())},[te]),!G&&!p&&!B)return null;typeof y!="string"&&(z.show=te,z.close=()=>Re==null?void 0:Re(!1),z.align=i);let ue=E.style;return X!=null&&X.placement&&(ue={...E.style,...z.style},E["x-placement"]=X.placement),C.jsx(y,{...E,...z,style:ue,...(P.length||A)&&{"data-bs-popper":"static"},className:Kt(r,N,te&&"show",T&&`${N}-end`,b&&`${N}-${b}`,...P)})});zD.displayName="DropdownMenu";const zH=zD,HD=M.forwardRef(({as:n,bsPrefix:r,variant:i="primary",size:u,active:l=!1,disabled:d=!1,className:p,...y},g)=>{const b=Cn(r,"btn"),[E,{tagName:w}]=Z1({tagName:n,disabled:d,...y}),T=w;return C.jsx(T,{...E,...y,ref:g,disabled:d,className:Kt(p,b,l&&"active",i&&`${b}-${i}`,u&&`${b}-${u}`,y.href&&d&&"disabled")})});HD.displayName="Button";const HH=HD,UD=M.forwardRef(({bsPrefix:n,split:r,className:i,childBsPrefix:u,as:l=HH,...d},p)=>{const y=Cn(n,"dropdown-toggle"),g=M.useContext(I0);u!==void 0&&(d.bsPrefix=u);const[b]=TD();return b.ref=Qo(b.ref,VD(p,"DropdownToggle")),C.jsx(l,{className:Kt(i,y,r&&`${y}-split`,(g==null?void 0:g.show)&&"show"),...b,...d})});UD.displayName="DropdownToggle";const UH=UD,GD=M.forwardRef((n,r)=>{const{bsPrefix:i,drop:u="down",show:l,className:d,align:p="start",onSelect:y,onToggle:g,focusFirstItemOnShow:b,as:E="div",navbar:w,autoClose:T=!0,...A}=T0(n,{show:"onToggle"}),N=M.useContext(PD),j=Cn(i,"dropdown"),O=R0(),L=X=>T===!1?X==="click":T==="inside"?X!=="rootClose":T==="outside"?X!=="select":!0,B=hr((X,te)=>{var Re,ue;!((Re=te.originalEvent)==null||(ue=Re.target)==null)&&ue.classList.contains("dropdown-toggle")&&te.source==="mousedown"||(te.originalEvent.currentTarget===document&&(te.source!=="keydown"||te.originalEvent.key==="Escape")&&(te.source="rootClose"),L(te.source)&&(g==null||g(X,te)))}),U=BD(p==="end",u,O),z=M.useMemo(()=>({align:p,drop:u,isRTL:O}),[p,u,O]),G={down:j,"down-centered":`${j}-center`,up:"dropup","up-centered":"dropup-center dropup",end:"dropend",start:"dropstart"};return C.jsx(DD.Provider,{value:z,children:C.jsx(Tm,{placement:U,show:l,onSelect:y,onToggle:B,focusFirstItemOnShow:b,itemSelector:`.${j}-item:not(.disabled):not(:disabled)`,children:N?A.children:C.jsx(E,{...A,ref:r,className:Kt(d,l&&"show",G[u])})})})});GD.displayName="Dropdown";const Rb=Object.assign(GD,{Toggle:UH,Menu:zH,Item:VH,ItemText:BH,Divider:FH,Header:PH});var Tb;function FN(n){if((!Tb&&Tb!==0||n)&&Vp){var r=document.createElement("div");r.style.position="absolute",r.style.top="-9999px",r.style.width="50px",r.style.height="50px",r.style.overflow="scroll",document.body.appendChild(r),Tb=r.offsetWidth-r.clientWidth,document.body.removeChild(r)}return Tb}function GH(n){const r=M.useRef(n);return r.current=n,r}function sw(n){const r=GH(n);M.useEffect(()=>()=>r.current(),[])}function AS(n){n===void 0&&(n=Pp());try{var r=n.activeElement;return!r||!r.nodeName?null:r}catch{return n.body}}function $H(n=document){const r=n.defaultView;return Math.abs(r.innerWidth-n.documentElement.clientWidth)}const PN=Bp("modal-open");class WH{constructor({ownerDocument:r,handleContainerOverflow:i=!0,isRTL:u=!1}={}){this.handleContainerOverflow=i,this.isRTL=u,this.modals=[],this.ownerDocument=r}getScrollbarWidth(){return $H(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(r){}removeModalAttributes(r){}setContainerStyle(r){const i={overflow:"hidden"},u=this.isRTL?"paddingLeft":"paddingRight",l=this.getElement();r.style={overflow:l.style.overflow,[u]:l.style[u]},r.scrollBarWidth&&(i[u]=`${parseInt(Wu(l,u)||"0",10)+r.scrollBarWidth}px`),l.setAttribute(PN,""),Wu(l,i)}reset(){[...this.modals].forEach(r=>this.remove(r))}removeContainerStyle(r){const i=this.getElement();i.removeAttribute(PN),Object.assign(i.style,r.style)}add(r){let i=this.modals.indexOf(r);return i!==-1||(i=this.modals.length,this.modals.push(r),this.setModalAttributes(r),i!==0)||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),i}remove(r){const i=this.modals.indexOf(r);i!==-1&&(this.modals.splice(i,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(r))}isTopModal(r){return!!this.modals.length&&this.modals[this.modals.length-1]===r}}const uw=WH,NS=(n,r)=>Vp?n==null?(r||Pp()).body:(typeof n=="function"&&(n=n()),n&&"current"in n&&(n=n.current),n&&("nodeType"in n||n.getBoundingClientRect)?n:null):null;function p1(n,r){const i=N0(),[u,l]=M.useState(()=>NS(n,i==null?void 0:i.document));if(!u){const d=NS(n);d&&l(d)}return M.useEffect(()=>{r&&u&&r(u)},[r,u]),M.useEffect(()=>{const d=NS(n);d!==u&&l(d)},[n,u]),u}function XH({in:n,onTransition:r}){const i=M.useRef(null),u=M.useRef(!0),l=hr(r);return o0(()=>{if(!i.current)return;let d=!1;return l({in:n,element:i.current,initial:u.current,isStale:()=>d}),()=>{d=!0}},[n,l]),o0(()=>(u.current=!1,()=>{u.current=!0}),[]),i}function YH({children:n,in:r,onExited:i,onEntered:u,transition:l}){const[d,p]=M.useState(!r);r&&d&&p(!1);const y=XH({in:!!r,onTransition:b=>{const E=()=>{b.isStale()||(b.in?u==null||u(b.element,b.initial):(p(!0),i==null||i(b.element)))};Promise.resolve(l(b)).then(E,w=>{throw b.in||p(!0),w})}}),g=Qo(y,n.ref);return d&&!r?null:M.cloneElement(n,{ref:g})}function v1(n,r,i){return n?C.jsx(n,Object.assign({},i)):r?C.jsx(YH,Object.assign({},i,{transition:r})):C.jsx(G1,Object.assign({},i))}function $D(n){return n.code==="Escape"||n.keyCode===27}const ZH=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];function JH(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}let OS;function qH(n){return OS||(OS=new uw({ownerDocument:n==null?void 0:n.document})),OS}function QH(n){const r=N0(),i=n||qH(r),u=M.useRef({dialog:null,backdrop:null});return Object.assign(u.current,{add:()=>i.add(u.current),remove:()=>i.remove(u.current),isTopModal:()=>i.isTopModal(u.current),setDialogRef:M.useCallback(l=>{u.current.dialog=l},[]),setBackdropRef:M.useCallback(l=>{u.current.backdrop=l},[])})}const WD=M.forwardRef((n,r)=>{let{show:i=!1,role:u="dialog",className:l,style:d,children:p,backdrop:y=!0,keyboard:g=!0,onBackdropClick:b,onEscapeKeyDown:E,transition:w,runTransition:T,backdropTransition:A,runBackdropTransition:N,autoFocus:j=!0,enforceFocus:O=!0,restoreFocus:L=!0,restoreFocusOptions:B,renderDialog:P,renderBackdrop:U=lt=>C.jsx("div",Object.assign({},lt)),manager:z,container:G,onShow:X,onHide:te=()=>{},onExit:Re,onExited:ue,onExiting:pe,onEnter:ye,onEntering:me,onEntered:Ae}=n,_e=JH(n,ZH);const Oe=N0(),Ie=p1(G),ve=QH(z),Le=q1(),F=aD(i),[q,se]=M.useState(!i),xe=M.useRef(null);M.useImperativeHandle(r,()=>ve,[ve]),Vp&&!F&&i&&(xe.current=AS(Oe==null?void 0:Oe.document)),i&&q&&se(!1);const Ee=hr(()=>{if(ve.add(),Ke.current=Gu(document,"keydown",Te),Ve.current=Gu(document,"focus",()=>setTimeout(ie),!0),X&&X(),j){var lt,hn;const nn=AS((lt=(hn=ve.dialog)==null?void 0:hn.ownerDocument)!=null?lt:Oe==null?void 0:Oe.document);ve.dialog&&nn&&!mm(ve.dialog,nn)&&(xe.current=nn,ve.dialog.focus())}}),De=hr(()=>{if(ve.remove(),Ke.current==null||Ke.current(),Ve.current==null||Ve.current(),L){var lt;(lt=xe.current)==null||lt.focus==null||lt.focus(B),xe.current=null}});M.useEffect(()=>{!i||!Ie||Ee()},[i,Ie,Ee]),M.useEffect(()=>{q&&De()},[q,De]),sw(()=>{De()});const ie=hr(()=>{if(!O||!Le()||!ve.isTopModal())return;const lt=AS(Oe==null?void 0:Oe.document);ve.dialog&&lt&&!mm(ve.dialog,lt)&&ve.dialog.focus()}),he=hr(lt=>{lt.target===lt.currentTarget&&(b==null||b(lt),y===!0&&te())}),Te=hr(lt=>{g&&$D(lt)&&ve.isTopModal()&&(E==null||E(lt),lt.defaultPrevented||te())}),Ve=M.useRef(),Ke=M.useRef(),It=(...lt)=>{se(!0),ue==null||ue(...lt)};if(!Ie)return null;const Ne=Object.assign({role:u,ref:ve.setDialogRef,"aria-modal":u==="dialog"?!0:void 0},_e,{style:d,className:l,tabIndex:-1});let ft=P?P(Ne):C.jsx("div",Object.assign({},Ne,{children:M.cloneElement(p,{role:"document"})}));ft=v1(w,T,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!i,onExit:Re,onExiting:pe,onExited:It,onEnter:ye,onEntering:me,onEntered:Ae,children:ft});let Bt=null;return y&&(Bt=U({ref:ve.setBackdropRef,onClick:he}),Bt=v1(A,N,{in:!!i,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:Bt})),C.jsx(C.Fragment,{children:xf.createPortal(C.jsxs(C.Fragment,{children:[Bt,ft]}),Ie)})});WD.displayName="Modal";const KH=Object.assign(WD,{Manager:uw});function h1(n,r){return n.classList?!!r&&n.classList.contains(r):(" "+(n.className.baseVal||n.className)+" ").indexOf(" "+r+" ")!==-1}function eU(n,r){n.classList?n.classList.add(r):h1(n,r)||(typeof n.className=="string"?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r))}function VN(n,r){return n.replace(new RegExp("(^|\\s)"+r+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function tU(n,r){n.classList?n.classList.remove(r):typeof n.className=="string"?n.className=VN(n.className,r):n.setAttribute("class",VN(n.className&&n.className.baseVal||"",r))}const bp={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class nU extends uw{adjustAndStore(r,i,u){const l=i.style[r];i.dataset[r]=l,Wu(i,{[r]:`${parseFloat(Wu(i,r))+u}px`})}restore(r,i){const u=i.dataset[r];u!==void 0&&(delete i.dataset[r],Wu(i,{[r]:u}))}setContainerStyle(r){super.setContainerStyle(r);const i=this.getElement();if(eU(i,"modal-open"),!r.scrollBarWidth)return;const u=this.isRTL?"paddingLeft":"paddingRight",l=this.isRTL?"marginLeft":"marginRight";Uu(i,bp.FIXED_CONTENT).forEach(d=>this.adjustAndStore(u,d,r.scrollBarWidth)),Uu(i,bp.STICKY_CONTENT).forEach(d=>this.adjustAndStore(l,d,-r.scrollBarWidth)),Uu(i,bp.NAVBAR_TOGGLER).forEach(d=>this.adjustAndStore(l,d,r.scrollBarWidth))}removeContainerStyle(r){super.removeContainerStyle(r);const i=this.getElement();tU(i,"modal-open");const u=this.isRTL?"paddingLeft":"paddingRight",l=this.isRTL?"marginLeft":"marginRight";Uu(i,bp.FIXED_CONTENT).forEach(d=>this.restore(u,d)),Uu(i,bp.STICKY_CONTENT).forEach(d=>this.restore(l,d)),Uu(i,bp.NAVBAR_TOGGLER).forEach(d=>this.restore(l,d))}}let _S;function rU(n){return _S||(_S=new nU(n)),_S}const XD=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=Cn(r,"modal-body"),C.jsx(i,{ref:l,className:Kt(n,r),...u})));XD.displayName="ModalBody";const aU=XD,iU=M.createContext({onHide(){}}),YD=iU,ZD=M.forwardRef(({bsPrefix:n,className:r,contentClassName:i,centered:u,size:l,fullscreen:d,children:p,scrollable:y,...g},b)=>{n=Cn(n,"modal");const E=`${n}-dialog`,w=typeof d=="string"?`${n}-fullscreen-${d}`:`${n}-fullscreen`;return C.jsx("div",{...g,ref:b,className:Kt(E,r,l&&`${n}-${l}`,u&&`${E}-centered`,y&&`${E}-scrollable`,d&&w),children:C.jsx("div",{className:Kt(`${n}-content`,i),children:p})})});ZD.displayName="ModalDialog";const JD=ZD,qD=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=Cn(r,"modal-footer"),C.jsx(i,{ref:l,className:Kt(n,r),...u})));qD.displayName="ModalFooter";const oU=qD,sU={"aria-label":Tt.string,onClick:Tt.func,variant:Tt.oneOf(["white"])},lw=M.forwardRef(({className:n,variant:r,"aria-label":i="Close",...u},l)=>C.jsx("button",{ref:l,type:"button",className:Kt("btn-close",r&&`btn-close-${r}`,n),"aria-label":i,...u}));lw.displayName="CloseButton";lw.propTypes=sU;const uU=lw,lU=M.forwardRef(({closeLabel:n="Close",closeVariant:r,closeButton:i=!1,onHide:u,children:l,...d},p)=>{const y=M.useContext(YD),g=hr(()=>{y==null||y.onHide(),u==null||u()});return C.jsxs("div",{ref:p,...d,children:[l,i&&C.jsx(uU,{"aria-label":n,variant:r,onClick:g})]})}),cU=lU,QD=M.forwardRef(({bsPrefix:n,className:r,closeLabel:i="Close",closeButton:u=!1,...l},d)=>(n=Cn(n,"modal-header"),C.jsx(cU,{ref:d,...l,className:Kt(r,n),closeLabel:i,closeButton:u})));QD.displayName="ModalHeader";const fU=QD,dU=n=>M.forwardRef((r,i)=>C.jsx("div",{...r,ref:i,className:Kt(r.className,n)})),pU=dU("h4"),KD=M.forwardRef(({className:n,bsPrefix:r,as:i=pU,...u},l)=>(r=Cn(r,"modal-title"),C.jsx(i,{ref:l,className:Kt(n,r),...u})));KD.displayName="ModalTitle";const vU=KD;function hU(n){return C.jsx(Np,{...n,timeout:null})}function mU(n){return C.jsx(Np,{...n,timeout:null})}const ej=M.forwardRef(({bsPrefix:n,className:r,style:i,dialogClassName:u,contentClassName:l,children:d,dialogAs:p=JD,"data-bs-theme":y,"aria-labelledby":g,"aria-describedby":b,"aria-label":E,show:w=!1,animation:T=!0,backdrop:A=!0,keyboard:N=!0,onEscapeKeyDown:j,onShow:O,onHide:L,container:B,autoFocus:P=!0,enforceFocus:U=!0,restoreFocus:z=!0,restoreFocusOptions:G,onEntered:X,onExit:te,onExiting:Re,onEnter:ue,onEntering:pe,onExited:ye,backdropClassName:me,manager:Ae,..._e},Oe)=>{const[Ie,ve]=M.useState({}),[Le,F]=M.useState(!1),q=M.useRef(!1),se=M.useRef(!1),xe=M.useRef(null),[Ee,De]=i0(),ie=Qo(Oe,De),he=hr(L),Te=R0();n=Cn(n,"modal");const Ve=M.useMemo(()=>({onHide:he}),[he]);function Ke(){return Ae||rU({isRTL:Te})}function It(St){if(!Vp)return;const en=Ke().getScrollbarWidth()>0,ar=St.scrollHeight>Pp(St).documentElement.clientHeight;ve({paddingRight:en&&!ar?FN():void 0,paddingLeft:!en&&ar?FN():void 0})}const Ne=hr(()=>{Ee&&It(Ee.dialog)});sw(()=>{l1(window,"resize",Ne),xe.current==null||xe.current()});const ft=()=>{q.current=!0},Bt=St=>{q.current&&Ee&&St.target===Ee.dialog&&(se.current=!0),q.current=!1},lt=()=>{F(!0),xe.current=M_(Ee.dialog,()=>{F(!1)})},hn=St=>{St.target===St.currentTarget&&lt()},nn=St=>{if(A==="static"){hn(St);return}if(se.current||St.target!==St.currentTarget){se.current=!1;return}L==null||L()},Hn=St=>{N?j==null||j(St):(St.preventDefault(),A==="static"&&lt())},Mn=(St,en)=>{St&&It(St),ue==null||ue(St,en)},Mt=St=>{xe.current==null||xe.current(),te==null||te(St)},Ln=(St,en)=>{pe==null||pe(St,en),W1(window,"resize",Ne)},$n=St=>{St&&(St.style.display=""),ye==null||ye(St),l1(window,"resize",Ne)},rr=M.useCallback(St=>C.jsx("div",{...St,className:Kt(`${n}-backdrop`,me,!T&&"show")}),[T,me,n]),lr={...i,...Ie};lr.display="block";const Qn=St=>C.jsx("div",{role:"dialog",...St,style:lr,className:Kt(r,n,Le&&`${n}-static`,!T&&"show"),onClick:A?nn:void 0,onMouseUp:Bt,"data-bs-theme":y,"aria-label":E,"aria-labelledby":g,"aria-describedby":b,children:C.jsx(p,{..._e,onMouseDown:ft,className:u,contentClassName:l,children:d})});return C.jsx(YD.Provider,{value:Ve,children:C.jsx(KH,{show:w,ref:ie,backdrop:A,container:B,keyboard:!0,autoFocus:P,enforceFocus:U,restoreFocus:z,restoreFocusOptions:G,onEscapeKeyDown:Hn,onShow:O,onHide:L,onEnter:Mn,onEntering:Ln,onEntered:X,onExit:Mt,onExiting:Re,onExited:$n,manager:Ke(),transition:T?hU:void 0,backdropTransition:T?mU:void 0,renderBackdrop:rr,renderDialog:Qn})})});ej.displayName="Modal";const kn=Object.assign(ej,{Body:aU,Header:fU,Title:vU,Footer:oU,Dialog:JD,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),gU=Dr.forwardRef(({children:n,onClick:r},i)=>C.jsx("a",{className:"btn btn-secondary d-flex flex-column justify-content-center flex-grow-1",href:"",ref:i,onClick:u=>{u.preventDefault(),r(u)},children:C.jsx("span",{className:"dropdown-toggle",children:n})}));function yU({requestId:n,grantNumber:r}){const{request:i,toggleActionsModal:u}=ti(n,r),{project:l}=$i(r||i.grantNumber);if(!i||!l||i.error||l.error)return;const d=On.routes.request_action_path(n,"new"),p=i.allowedActions.Renewal?Array.isArray(i.allowedActions.Renewal)?[...i.allowedActions.Renewal]:[i.allowedActions.Renewal]:[];p.sort((b,E)=>b.opportunityId<E.opportunityId?-1:1);const y=[{id:"extension",action:`${d}?action_type=Extension`,isEnabled:"Extension"in i.allowedActions,button:"Request an Extension",enabled:i.usesCredits?C.jsx("p",{children:"Need more time to use your current credits and allocations? You can extend your project's end date up to six months past your funding end date, or up to 12 months at a time for projects not supported by a funding award."}):C.jsx("p",{children:"Need more time to use your current allocations? A one-time extension can extend your project end date by up to six months."}),disabled:C.jsxs("p",{children:["Your project is not currently eligible for an extension of its end date.",i.usesCredits?C.jsxs(C.Fragment,{children:[" ","Extensions can be requested starting 90 days before your project's current end date."]}):null]})},{id:"supplement",action:`${d}?action_type=Supplement`,isEnabled:"Supplement"in i.allowedActions,button:"Request a Supplement",enabled:i.usesCredits?C.jsxs("p",{children:["Need more credits to complete your project? Great news! Your"," ",i.allocationType," project is eligible for a supplement of"," ",{Explore:"200,000",Discover:"750,000",Accelerate:"1,500,000"}[i.allocationType]," ","additional ACCESS credits."]}):C.jsxs("p",{children:["Need more units to complete your research? Great news! Your"," ",i.allocationType," project is eligible for a supplement of additional units."]}),disabled:C.jsxs("p",{children:["Your project is not currently eligible for a supplement of additional"," ",i.usesCredits?"ACCESS Credits":"units","."]})},{id:"renewal",action:p.map(b=>[b.opportunityName,`${On.routes.renew_request_path(n)}?opportunity_id=${b.opportunityId}`,"post"]),isEnabled:"Renewal"in i.allowedActions,button:"Request a Renewal",enabled:C.jsxs("p",{children:["Your ",i.allocationType," project can be renewed! The requirements for renewing your project depend on the"," ",C.jsx("a",{href:On.routes.project_types_path(),target:"_blank",children:"new project type you select"}),"."]}),disabled:C.jsxs("p",{children:["Your project is not currently eligible for renewal.",i.usesCredits&&C.jsxs(C.Fragment,{children:[" ","Renewals are available starting 30 days before the project's current end date."]}),i.isMaximize&&C.jsxs(C.Fragment,{children:[" ","You can submit a renewal request to the Maximize ACCESS opportunity closest to your project's current end date."]})]})},{id:"help",action:[["Learn How to Manage Allocations",On.routes.how_to_path(),"get"],["Submit a Help Ticket","https://support.access-ci.org/open-a-ticket","get"]],isEnabled:!0,button:"Request Help",enabled:C.jsxs("p",{children:["Need to change something else about your project or expecting another option? Submit a help ticket that includes"," ",C.jsxs("em",{children:["grant number ",l.grantNumber]})," and a detailed description of the problem."]})}];y.sort((b,E)=>b.isEnabled<E.isEnabled?1:-1);const g=y.map(({id:b,action:E,isEnabled:w,button:T,enabled:A,disabled:N})=>C.jsxs("div",{className:"row",children:[C.jsx("div",{className:"col-sm-4 mb-2 d-grid",children:Array.isArray(E)&&E.length?C.jsxs(Rb,{className:"d-flex flex-column",children:[C.jsx(Rb.Toggle,{as:gU,children:T}),C.jsx(Rb.Menu,{children:E.map(([j,O,L])=>C.jsx(Rb.Item,{href:O,onClick:B=>{L!=="get"&&(B.preventDefault(),B.target.dataset.method=L,$&&$.rails&&$.rails.handleMethod($(B.target)))},children:j},O))})]}):C.jsx("a",{className:`btn btn-secondary d-flex flex-column justify-content-center ${w?"":"disabled"}`,href:w?E:"",children:C.jsx("span",{children:T})})}),C.jsx("div",{className:"col-sm-8 mb-2",children:w?A:N})]},b));return C.jsxs(kn,{size:"lg",show:i.showActionsModal,onHide:u,children:[C.jsx(kn.Header,{closeButton:!0,children:C.jsx(kn.Title,{children:"Manage Your Project"})}),C.jsxs(kn.Body,{children:[C.jsxs("p",{children:["Please select an action to manage your project"," ",C.jsxs("strong",{children:[l.grantNumber,": ",l.title]}),"."]}),g]})]})}function bU({requestId:n,grantNumber:r}){const{request:i,toggleActionsModal:u,toggleConfirmModal:l}=ti(n,r),{project:d}=$i(r||i.grantNumber);if(!i||!d||i.error||d.error)return;const p=i.usesCredits?"credits":"units",y=(1-y_(i))*100;return C.jsxs(kn,{size:"lg",show:i.showConfirmModal,onHide:l,scrollable:!0,children:[C.jsx(kn.Header,{closeButton:!0,children:C.jsx(kn.Title,{children:"Consider Requesting an Exchange"})}),C.jsx(kn.Body,{children:C.jsxs("p",{children:[C.jsxs("strong",{children:[Math.round(y),"% of your allocation is unused."]})," ","Are you sure you want to request more ",p,"? You can exchange"," ",i.usesCredits?"credits for resources or ":""," one resource for another by changing the ",C.jsx("strong",{children:"balance"})," numbers in the table on the previous screen."]})}),C.jsx(kn.Footer,{children:C.jsxs("div",{className:"d-flex",children:[C.jsx("button",{type:"button",className:"btn btn-primary me-2",onClick:l,children:"Return to Exchange"}),C.jsxs("button",{type:"button",className:"btn btn-secondary",onClick:()=>{l(),u()},children:["Request More ",p]})]})})]})}function CU({requestId:n,grantNumber:r,actionId:i}){const{deleteAction:u,request:l,toggleDeleteModal:d}=ti(n,r);if(!l||l.error)return;const p=l.actions.find(T=>T.actionId==i);if(!p)return;const{deleteStatus:y,isRequest:g}=p,b=y==ea.pending,E=y==ea.error,w=()=>d(i);return C.jsxs(kn,{show:p.showDeleteModal,onHide:w,scrollable:!0,children:[C.jsx(kn.Header,{closeButton:!0,children:C.jsx(kn.Title,{children:"Confirm Deletion"})}),C.jsxs(kn.Body,{children:[E&&C.jsxs(ba,{color:"danger",children:["Deletion of the ",g?"request":"action"," failed."]}),C.jsxs("p",{children:["Are you sure you want to delete"," ",!g&&C.jsxs(C.Fragment,{children:["action"," ",C.jsxs("strong",{children:[p.type,": ",wp(p.date)]})," ","on"," "]}),"request ",C.jsx("strong",{children:V1(l)}),"? Deletions cannot be undone."]})]}),C.jsx(kn.Footer,{children:C.jsxs("div",{className:"d-flex",children:[C.jsx("button",{type:"button",className:"btn btn-primary me-2",onClick:w,disabled:b,children:"Cancel"}),C.jsx("button",{type:"button",className:"btn btn-danger",onClick:()=>u(i),disabled:b,children:b?"Deleting...":"Delete"})]})})]})}function tj({action:n,request:r,toggleDeleteModal:i}){const u=n.allowedOperations||[],l=[];u.includes("Edit")&&l.push(C.jsx(Qb,{href:n.isRequest?On.routes.edit_request_path(r.requestId):On.routes.edit_request_action_path(r.requestId,n.actionId),icon:"pencil",title:"Edit action"},"edit")),u.includes("Delete")&&l.push(C.jsx(Qb,{color:"danger",icon:"trash",onClick:()=>i(n.actionId),title:"Edit action"},"delete"));const d=`${n.type}: ${wp(n.date)}`;return C.jsxs(C.Fragment,{children:[n.detailAvailable?C.jsx("a",{href:On.routes.request_action_path(r.requestId,n.actionId),children:d}):d,l]})}const xU="_grid_15z6r_1",EU="_important_15z6r_32",SU="_input_15z6r_36",wU="_edited_15z6r_40",RU="_disabled_15z6r_48",Rp={grid:xU,important:EU,input:SU,edited:wU,disabled:RU};function TU({column:n,row:r,style:i={}}){const u=n.format?n.format(r[n.key],r):r[n.key],l=["cell"];return n.class&&l.push(n.class),n.rowClass&&l.push(n.rowClass(r)),C.jsx("td",{className:l.join(" "),style:i,children:u})}const IU={text:TU};function _f({columns:n,rows:r,classes:i,frozenColumns:u=0,minWidth:l,rowClasses:d=[],scrollBehavior:p="smooth",scrollRowIndex:y=0}){const g=M.useRef();M.useLayoutEffect(()=>{if(!g.current)return;const N=g.current.querySelector(`tbody tr:nth-child(${y+1})`);N&&N.scrollIntoView({behavior:p,block:"nearest",inline:"nearest"})},[y,p]);const b=[0];for(let N=0;N<u;N++)b[N+1]=b[N]+(n[N].width||100);const E=(N,j)=>N<u?{position:"sticky",left:`${b[N]}px`,minWidth:`${n[N].width||100}px`,width:`${n[N].width||100}px`,zIndex:j||1}:{},w=n.map((N,j)=>C.jsx("th",{className:N.headerClass||N.class||"",style:E(j,100),children:N.formatHeader?N.formatHeader(N.name,N):N.name},N.key)),T=r.map((N,j)=>{const O=n.map((L,B)=>{const P=IU[L.type||"text"];return C.jsx(P,{column:L,row:N,style:E(B)},L.key)});return C.jsx("tr",{className:d[j]||"",children:O},j)}),A={};return l&&(A.minWidth=l),C.jsx("div",{className:`${Rp.grid} ${i||""}`,ref:g,children:C.jsxs("table",{className:"table table-bordered",style:A,children:[C.jsx("thead",{children:C.jsx("tr",{children:w})}),C.jsx("tbody",{children:T})]})})}function kp({status:n,title:r}){const i={Active:"primary",Approved:"primary",New:"secondary",Pending:"secondary","Under Review":"secondary"}[n]||"dark";return C.jsx("span",{className:`badge text-bg-${i} align-self-center`,title:r,children:n})}const AU=n=>C.jsx("span",{className:n<0?"text-danger":"",children:n===0?"":n.toLocaleString()});function NU({requestId:n,grantNumber:r}){const{request:i,toggleDeleteModal:u}=ti(n,r),{project:l,setRequest:d}=$i(r||i.grantNumber);if(!i||!l)return;const p=l.requestsList;let y=0;for(;y<p.length&&p[y].requestId!==n;)y++;const g=p[y+1],b=p[y-1],E=(j,O)=>j?C.jsxs("button",{type:"button",className:"btn btn-light btn-sm",onClick:()=>d(j.requestId),children:[O=="prev"?C.jsx("i",{className:"bi bi-chevron-left"}):null,V1(j),O=="next"?C.jsx("i",{className:"bi bi-chevron-right"}):null]}):C.jsx("span",{}),w=new Set,T=[];for(let j of i.actions)for(let O of j.resources)w.has(O.resourceId)||(w.add(O.resourceId),T.push(O));T.sort(Kb);const A=[{key:"action",name:"Action Details",format:(j,O)=>C.jsx(tj,{action:O,request:i,toggleDeleteModal:u})},{key:"status",name:"Status",format:j=>C.jsx(kp,{status:j})},...T.map(j=>({key:`resource${j.resourceId}`,name:j.name,icon:j.icon,class:"text-end",format:j.isBoolean?O=>O?B1(O):null:AU,formatHeader:(O,L)=>Sf(L,{userGuide:!1})}))],N=i.actions.map(j=>{const O={...j};for(let{resourceId:L}of T)O[`resource${L}`]=0;for(let{resourceId:L,approved:B,requested:P}of j.resources)O[`resource${L}`]=B||P||0;return O});return C.jsxs("div",{className:"history",children:[C.jsx(_f,{columns:A,rows:N}),C.jsxs("div",{className:"buttons d-flex justify-content-between",children:[E(g,"prev"),E(b,"next")]})]})}function OU({requestId:n,grantNumber:r}){const{request:i,toggleDeleteModal:u}=ti(n,r);if(!i)return;const l=[{key:"type",name:"Action Details",format:(d,p)=>C.jsx(tj,{action:p,request:i,toggleDeleteModal:u})},{key:"status",name:"Status",format:d=>C.jsx(kp,{status:d})}];if(i.actions&&i.actions.length)return C.jsx(_f,{rows:i.actions,columns:l})}function tm(...n){return n.filter(r=>r!=null).reduce((r,i)=>{if(typeof i!="function")throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return r===null?i:function(...l){r.apply(this,l),i.apply(this,l)}},null)}const _U={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function DU(n,r){const i=`offset${n[0].toUpperCase()}${n.slice(1)}`,u=r[i],l=_U[n];return u+parseInt(Wu(r,l[0]),10)+parseInt(Wu(r,l[1]),10)}const jU={[uc]:"collapse",[r0]:"collapsing",[Hu]:"collapsing",[lc]:"collapse show"},kU=Dr.forwardRef(({onEnter:n,onEntering:r,onEntered:i,onExit:u,onExiting:l,className:d,children:p,dimension:y="height",in:g=!1,timeout:b=300,mountOnEnter:E=!1,unmountOnExit:w=!1,appear:T=!1,getDimensionValue:A=DU,...N},j)=>{const O=typeof y=="function"?y():y,L=M.useMemo(()=>tm(G=>{G.style[O]="0"},n),[O,n]),B=M.useMemo(()=>tm(G=>{const X=`scroll${O[0].toUpperCase()}${O.slice(1)}`;G.style[O]=`${G[X]}px`},r),[O,r]),P=M.useMemo(()=>tm(G=>{G.style[O]=null},i),[O,i]),U=M.useMemo(()=>tm(G=>{G.style[O]=`${A(O,G)}px`,F_(G)},u),[u,A,O]),z=M.useMemo(()=>tm(G=>{G.style[O]=null},l),[O,l]);return C.jsx(P_,{ref:j,addEndListener:L_,...N,"aria-expanded":N.role?g:null,onEnter:L,onEntering:B,onEntered:P,onExit:U,onExiting:z,childRef:p.ref,in:g,timeout:b,mountOnEnter:E,unmountOnExit:w,appear:T,children:(G,X)=>Dr.cloneElement(p,{...X,className:Kt(d,p.props.className,jU[G],O==="width"&&"collapse-horizontal")})})}),MU=kU;function nj(n,r){return Array.isArray(n)?n.includes(r):n===r}const rj=M.createContext({});rj.displayName="AccordionContext";const O0=rj,aj=M.forwardRef(({as:n="div",bsPrefix:r,className:i,children:u,eventKey:l,...d},p)=>{const{activeEventKey:y}=M.useContext(O0);return r=Cn(r,"accordion-collapse"),C.jsx(MU,{ref:p,in:nj(y,l),...d,className:Kt(i,r),children:C.jsx(n,{children:M.Children.only(u)})})});aj.displayName="AccordionCollapse";const ij=aj,oj=M.createContext({eventKey:""});oj.displayName="AccordionItemContext";const cw=oj,sj=M.forwardRef(({as:n="div",bsPrefix:r,className:i,onEnter:u,onEntering:l,onEntered:d,onExit:p,onExiting:y,onExited:g,...b},E)=>{r=Cn(r,"accordion-body");const{eventKey:w}=M.useContext(cw);return C.jsx(ij,{eventKey:w,onEnter:u,onEntering:l,onEntered:d,onExit:p,onExiting:y,onExited:g,children:C.jsx(n,{ref:E,...b,className:Kt(i,r)})})});sj.displayName="AccordionBody";const LU=sj;function FU(n,r){const{activeEventKey:i,onSelect:u,alwaysOpen:l}=M.useContext(O0);return d=>{let p=n===i?null:n;l&&(Array.isArray(i)?i.includes(n)?p=i.filter(y=>y!==n):p=[...i,n]:p=[n]),u==null||u(p,d),r==null||r(d)}}const uj=M.forwardRef(({as:n="button",bsPrefix:r,className:i,onClick:u,...l},d)=>{r=Cn(r,"accordion-button");const{eventKey:p}=M.useContext(cw),y=FU(p,u),{activeEventKey:g}=M.useContext(O0);return n==="button"&&(l.type="button"),C.jsx(n,{ref:d,onClick:y,...l,"aria-expanded":Array.isArray(g)?g.includes(p):p===g,className:Kt(i,r,!nj(g,p)&&"collapsed")})});uj.displayName="AccordionButton";const lj=uj,cj=M.forwardRef(({as:n="h2",bsPrefix:r,className:i,children:u,onClick:l,...d},p)=>(r=Cn(r,"accordion-header"),C.jsx(n,{ref:p,...d,className:Kt(i,r),children:C.jsx(lj,{onClick:l,children:u})})));cj.displayName="AccordionHeader";const PU=cj,fj=M.forwardRef(({as:n="div",bsPrefix:r,className:i,eventKey:u,...l},d)=>{r=Cn(r,"accordion-item");const p=M.useMemo(()=>({eventKey:u}),[u]);return C.jsx(cw.Provider,{value:p,children:C.jsx(n,{ref:d,...l,className:Kt(i,r)})})});fj.displayName="AccordionItem";const VU=fj,dj=M.forwardRef((n,r)=>{const{as:i="div",activeKey:u,bsPrefix:l,className:d,onSelect:p,flush:y,alwaysOpen:g,...b}=T0(n,{activeKey:"onSelect"}),E=Cn(l,"accordion"),w=M.useMemo(()=>({activeEventKey:u,onSelect:p,alwaysOpen:g}),[u,p,g]);return C.jsx(O0.Provider,{value:w,children:C.jsx(i,{ref:r,...b,className:Kt(d,E,y&&`${E}-flush`)})})});dj.displayName="Accordion";const zb=Object.assign(dj,{Button:lj,Collapse:ij,Item:VU,Header:PU,Body:LU}),m1=2**31-1;function pj(n,r,i){const u=i-Date.now();n.current=u<=m1?setTimeout(r,u):setTimeout(()=>pj(n,r,i),m1)}function BU(){const n=q1(),r=M.useRef();return sw(()=>clearTimeout(r.current)),M.useMemo(()=>{const i=()=>clearTimeout(r.current);function u(l,d=0){n()&&(i(),d<=m1?r.current=setTimeout(l,d):pj(r,l,Date.now()+d))}return{set:u,clear:i,handleRef:r}},[])}const zU=()=>{};function HU(n,r,{disabled:i,clickTrigger:u}={}){const l=r||zU;ED(n,l,{disabled:i,clickTrigger:u});const d=hr(p=>{$D(p)&&l(p)});M.useEffect(()=>{if(i||n==null)return;const p=Pp(Bb(n));let y=(p.defaultView||window).event;const g=Gu(p,"keyup",b=>{if(b===y){y=void 0;return}d(b)});return()=>{g()}},[n,i,d])}const vj=M.forwardRef((n,r)=>{const{flip:i,offset:u,placement:l,containerPadding:d,popperConfig:p={},transition:y,runTransition:g}=n,[b,E]=i0(),[w,T]=i0(),A=Qo(E,r),N=p1(n.container),j=p1(n.target),[O,L]=M.useState(!n.show),B=CD(j,b,SD({placement:l,enableEvents:!!n.show,containerPadding:d||5,flip:i,offset:u,arrowElement:w,popperConfig:p}));n.show&&O&&L(!1);const P=(...pe)=>{L(!0),n.onExited&&n.onExited(...pe)},U=n.show||!O;if(HU(b,n.onHide,{disabled:!n.rootClose||n.rootCloseDisabled,clickTrigger:n.rootCloseEvent}),!U)return null;const{onExit:z,onExiting:G,onEnter:X,onEntering:te,onEntered:Re}=n;let ue=n.children(Object.assign({},B.attributes.popper,{style:B.styles.popper,ref:A}),{popper:B,placement:l,show:!!n.show,arrowProps:Object.assign({},B.attributes.arrow,{style:B.styles.arrow,ref:T})});return ue=v1(y,g,{in:!!n.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:ue,onExit:z,onExiting:G,onExited:P,onEnter:X,onEntering:te,onEntered:Re}),N?xf.createPortal(ue,N):null});vj.displayName="Overlay";const UU=vj,hj=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=Cn(r,"popover-header"),C.jsx(i,{ref:l,className:Kt(n,r),...u})));hj.displayName="PopoverHeader";const GU=hj,mj=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=Cn(r,"popover-body"),C.jsx(i,{ref:l,className:Kt(n,r),...u})));mj.displayName="PopoverBody";const gj=mj;function yj(n,r){let i=n;return n==="left"?i=r?"end":"start":n==="right"&&(i=r?"start":"end"),i}function bj(n="absolute"){return{position:n,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const $U=M.forwardRef(({bsPrefix:n,placement:r="right",className:i,style:u,children:l,body:d,arrowProps:p,hasDoneInitialMeasure:y,popper:g,show:b,...E},w)=>{const T=Cn(n,"popover"),A=R0(),[N]=(r==null?void 0:r.split("-"))||[],j=yj(N,A);let O=u;return b&&!y&&(O={...u,...bj(g==null?void 0:g.strategy)}),C.jsxs("div",{ref:w,role:"tooltip",style:O,"x-placement":N,className:Kt(i,T,N&&`bs-popover-${j}`),...E,children:[C.jsx("div",{className:"popover-arrow",...p}),d?C.jsx(gj,{children:l}):l]})}),WU=Object.assign($U,{Header:GU,Body:gj,POPPER_OFFSET:[0,8]}),Cj=M.forwardRef(({bsPrefix:n,placement:r="right",className:i,style:u,children:l,arrowProps:d,hasDoneInitialMeasure:p,popper:y,show:g,...b},E)=>{n=Cn(n,"tooltip");const w=R0(),[T]=(r==null?void 0:r.split("-"))||[],A=yj(T,w);let N=u;return g&&!p&&(N={...u,...bj(y==null?void 0:y.strategy)}),C.jsxs("div",{ref:E,style:N,role:"tooltip","x-placement":T,className:Kt(i,n,`bs-tooltip-${A}`),...b,children:[C.jsx("div",{className:"tooltip-arrow",...d}),C.jsx("div",{className:`${n}-inner`,children:l})]})});Cj.displayName="Tooltip";const fw=Object.assign(Cj,{TOOLTIP_OFFSET:[0,6]});function XU(n){const r=M.useRef(null),i=Cn(void 0,"popover"),u=Cn(void 0,"tooltip"),l=M.useMemo(()=>({name:"offset",options:{offset:()=>{if(n)return n;if(r.current){if(h1(r.current,i))return WU.POPPER_OFFSET;if(h1(r.current,u))return fw.TOOLTIP_OFFSET}return[0,0]}}}),[n,i,u]);return[r,[l]]}function YU(n,r){const{ref:i}=n,{ref:u}=r;n.ref=i.__wrapped||(i.__wrapped=l=>i(a0(l))),r.ref=u.__wrapped||(u.__wrapped=l=>u(a0(l)))}const xj=M.forwardRef(({children:n,transition:r=Np,popperConfig:i={},rootClose:u=!1,placement:l="top",show:d=!1,...p},y)=>{const g=M.useRef({}),[b,E]=M.useState(null),[w,T]=XU(p.offset),A=Qo(y,w),N=r===!0?Np:r||void 0,j=hr(O=>{E(O),i==null||i.onFirstUpdate==null||i.onFirstUpdate(O)});return o0(()=>{b&&p.target&&(g.current.scheduleUpdate==null||g.current.scheduleUpdate())},[b,p.target]),M.useEffect(()=>{d||E(null)},[d]),C.jsx(UU,{...p,ref:A,popperConfig:{...i,modifiers:T.concat(i.modifiers||[]),onFirstUpdate:j},transition:N,rootClose:u,placement:l,show:d,children:(O,{arrowProps:L,popper:B,show:P})=>{var U,z;YU(O,L);const G=B==null?void 0:B.placement,X=Object.assign(g.current,{state:B==null?void 0:B.state,scheduleUpdate:B==null?void 0:B.update,placement:G,outOfBoundaries:(B==null||(U=B.state)==null||(z=U.modifiersData.hide)==null?void 0:z.isReferenceHidden)||!1,strategy:i.strategy}),te=!!b;return typeof n=="function"?n({...O,placement:G,show:P,...!r&&P&&{className:"show"},popper:X,arrowProps:L,hasDoneInitialMeasure:te}):M.cloneElement(n,{...O,placement:G,arrowProps:L,popper:X,hasDoneInitialMeasure:te,className:Kt(n.props.className,!r&&P&&"show"),style:{...n.props.style,...O.style}})}})});xj.displayName="Overlay";const Ej=xj;function ZU(n){return n&&typeof n=="object"?n:{show:n,hide:n}}function BN(n,r,i){const[u]=r,l=u.currentTarget,d=u.relatedTarget||u.nativeEvent[i];(!d||d!==l)&&!mm(l,d)&&n(...r)}Tt.oneOf(["click","hover","focus"]);const JU=({trigger:n=["hover","focus"],overlay:r,children:i,popperConfig:u={},show:l,defaultShow:d=!1,onToggle:p,delay:y,placement:g,flip:b=g&&g.indexOf("auto")!==-1,...E})=>{const w=M.useRef(null),T=Qo(w,i.ref),A=BU(),N=M.useRef(""),[j,O]=X_(l,d,p),L=ZU(y),{onFocus:B,onBlur:P,onClick:U}=typeof i!="function"?M.Children.only(i).props:{},z=_e=>{T(a0(_e))},G=M.useCallback(()=>{if(A.clear(),N.current="show",!L.show){O(!0);return}A.set(()=>{N.current==="show"&&O(!0)},L.show)},[L.show,O,A]),X=M.useCallback(()=>{if(A.clear(),N.current="hide",!L.hide){O(!1);return}A.set(()=>{N.current==="hide"&&O(!1)},L.hide)},[L.hide,O,A]),te=M.useCallback((..._e)=>{G(),B==null||B(..._e)},[G,B]),Re=M.useCallback((..._e)=>{X(),P==null||P(..._e)},[X,P]),ue=M.useCallback((..._e)=>{O(!j),U==null||U(..._e)},[U,O,j]),pe=M.useCallback((..._e)=>{BN(G,_e,"fromElement")},[G]),ye=M.useCallback((..._e)=>{BN(X,_e,"toElement")},[X]),me=n==null?[]:[].concat(n),Ae={ref:z};return me.indexOf("click")!==-1&&(Ae.onClick=ue),me.indexOf("focus")!==-1&&(Ae.onFocus=te,Ae.onBlur=Re),me.indexOf("hover")!==-1&&(process.env.NODE_ENV!=="production"&&iw(me.length>1,'[react-bootstrap] Specifying only the `"hover"` trigger limits the visibility of the overlay to just mouse users. Consider also including the `"focus"` trigger so that touch and keyboard only users can see the overlay as well.'),Ae.onMouseOver=pe,Ae.onMouseOut=ye),C.jsxs(C.Fragment,{children:[typeof i=="function"?i(Ae):M.cloneElement(i,Ae),C.jsx(Ej,{...E,show:j,onHide:X,flip:b,placement:g,popperConfig:u,target:w.current,children:r})]})},Sj=JU;function qU({requestId:n,grantNumber:r}){const{request:i}=ti(n,r),{project:u}=$i(r||i.grantNumber),{setTab:l}=$i(r||i.grantNumber);if(!i||!u)return;let d;const p={};for(let T of u.users||[])for(let A of T.resourceIds)p[A]=p[A]||0,p[A]+=1;const y=(i.resources||[]).filter(T=>T.isCredit?(d=T,!1):T.allocated>0).map((T,A)=>({...T,userCount:p[T.resourceId]||0,color:t1[A%t1.length]})),g=d?d.allocated:0,b="Exchange"in i.allowedActions,E=i.exchangeActionId!==null,w=[{key:"name",name:"Resource",format:(T,A)=>Sf(A)},{key:"isActive",name:"Status",format:T=>C.jsx(kp,{status:T?"Active":"Inactive"})},{key:"used",name:"Balance",class:"position-relative",format:(T,A)=>{if(A.isBoolean)return B1(A.allocated);const N=A.allocated-T,j=Math.max(N,0)*100/A.allocated;return C.jsxs(C.Fragment,{children:[C.jsx("div",{className:`usage bg-${A.color}`,style:{width:`${Math.min(j,100)}%`}}),ei(N,{abbreviate:!0})," of"," ",ei(A.allocated,{abbreviate:!0})," ",A.unit," ","remaining (",Math.round(j),"%)"]})}},{key:"endDate",name:"End Date",format:T=>wp(T)}];return u.isManager&&w.push({key:"userCount",name:"Users",class:"text-end",format:ei}),u.currentUser&&w.push({key:"resourceUsername",name:"My Username",format:(T,A)=>{const N=u.currentUser.resourceUsernames[A.resourceId];if(N)return N;if(u.currentUser.resourceAccountPendingIds.includes(A.resourceId))return C.jsx(kp,{status:"Pending",title:"Creation of your account by the resource provider is pending."});if(u.currentUser.resourceIds.includes(A.resourceId)||!A.isActive)return C.jsx(C.Fragment,{children:"—"});if(u.isManager)return C.jsx("a",{href:"#",onClick:O=>{O.preventDefault(),l("users")},children:"Grant access"});const j=C.jsxs(fw,{children:["Please contact ",z1(u)," to request access to this resource."]});return C.jsx(Sj,{overlay:j,children:C.jsx("a",{href:"#",onClick:O=>{O.preventDefault()},children:"Request access"})})}}),C.jsxs("div",{className:"overview",children:[b&&!E&&g>On.creditAlertThreshold?C.jsxs("button",{onClick:()=>l("resources"),className:"alert alert-info d-flex justify-content-between align-items-center w-100",children:[C.jsxs("span",{children:[C.jsxs("span",{className:"fs-3",children:[dc(On.resourceTypeIcons[d.icon])," ",ei(g)]})," ",d.unit," available"]}),C.jsxs("span",{className:"align-middle d-flex align-items-center",children:["Exchange credits for resources!"," ",C.jsx("span",{className:"fs-3",children:dc("chevron-right")})]})]}):null,y.length?C.jsx(_f,{columns:w,rows:y}):null]})}const QU=[{key:"role",name:"Role",format:n=>C.jsxs(C.Fragment,{children:[dc(On.roleIcons[n])," ",n]})},{key:"users",name:"Users",format:n=>{const r=n.slice(0,3);return n.length>4&&(r[2]=`${ei(n.length-3)} others`),r.map((i,u)=>{const l=r.length-u;return`${i}${l>2?",":l==2&&r.length>1?" and":""}`}).join(" ")}}],KU=({requestId:n,grantNumber:r})=>{const{project:i}=$i(r);if(!i)return;const u=w0.map(({role:l,name:d})=>({role:d,users:(i.users||[]).filter(p=>p.role===l).map(p=>`${p.firstName} ${p.lastName}`)})).filter(l=>l.users.length>0);return u.length?C.jsx(_f,{rows:u,columns:QU}):null};function eG({requestId:n,grantNumber:r}){const{request:i}=ti(n,r),{project:u,username:l}=$i(r||i.grantNumber);if(!(!i||!u||i.error||u.error)&&i)return C.jsxs("div",{className:"overview",children:[C.jsx(qU,{requestId:n,grantNumber:r}),u.isManager?C.jsxs("div",{className:"row",children:[C.jsx("div",{className:"col-lg-6",children:C.jsx(KU,{requestId:n,grantNumber:r})}),C.jsx("div",{className:"col-lg-6",children:C.jsx(OU,{requestId:n})})]}):null]})}function Nf(n){"@babel/helpers - typeof";return Nf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Nf(n)}function tG(n,r){if(Nf(n)!="object"||!n)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var u=i.call(n,r||"default");if(Nf(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(n)}function wj(n){var r=tG(n,"string");return Nf(r)=="symbol"?r:String(r)}function Ep(n,r,i){return r=wj(r),r in n?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,n}function zN(n,r){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(n);r&&(u=u.filter(function(l){return Object.getOwnPropertyDescriptor(n,l).enumerable})),i.push.apply(i,u)}return i}function vt(n){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?zN(Object(i),!0).forEach(function(u){Ep(n,u,i[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):zN(Object(i)).forEach(function(u){Object.defineProperty(n,u,Object.getOwnPropertyDescriptor(i,u))})}return n}function nG(n){if(Array.isArray(n))return n}function rG(n,r){var i=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(i!=null){var u,l,d,p,y=[],g=!0,b=!1;try{if(d=(i=i.call(n)).next,r===0){if(Object(i)!==i)return;g=!1}else for(;!(g=(u=d.call(i)).done)&&(y.push(u.value),y.length!==r);g=!0);}catch(E){b=!0,l=E}finally{try{if(!g&&i.return!=null&&(p=i.return(),Object(p)!==p))return}finally{if(b)throw l}}return y}}function g1(n,r){(r==null||r>n.length)&&(r=n.length);for(var i=0,u=new Array(r);i<r;i++)u[i]=n[i];return u}function Rj(n,r){if(n){if(typeof n=="string")return g1(n,r);var i=Object.prototype.toString.call(n).slice(8,-1);if(i==="Object"&&n.constructor&&(i=n.constructor.name),i==="Map"||i==="Set")return Array.from(n);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return g1(n,r)}}function aG(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
294
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ta(n,r){return nG(n)||rG(n,r)||Rj(n,r)||aG()}function Zs(n,r){if(n==null)return{};var i=$1(n,r),u,l;if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(n);for(l=0;l<d.length;l++)u=d[l],!(r.indexOf(u)>=0)&&Object.prototype.propertyIsEnumerable.call(n,u)&&(i[u]=n[u])}return i}var iG=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Tj(n){var r=n.defaultInputValue,i=r===void 0?"":r,u=n.defaultMenuIsOpen,l=u===void 0?!1:u,d=n.defaultValue,p=d===void 0?null:d,y=n.inputValue,g=n.menuIsOpen,b=n.onChange,E=n.onInputChange,w=n.onMenuClose,T=n.onMenuOpen,A=n.value,N=Zs(n,iG),j=M.useState(y!==void 0?y:i),O=ta(j,2),L=O[0],B=O[1],P=M.useState(g!==void 0?g:l),U=ta(P,2),z=U[0],G=U[1],X=M.useState(A!==void 0?A:p),te=ta(X,2),Re=te[0],ue=te[1],pe=M.useCallback(function(ve,Le){typeof b=="function"&&b(ve,Le),ue(ve)},[b]),ye=M.useCallback(function(ve,Le){var F;typeof E=="function"&&(F=E(ve,Le)),B(F!==void 0?F:ve)},[E]),me=M.useCallback(function(){typeof T=="function"&&T(),G(!0)},[T]),Ae=M.useCallback(function(){typeof w=="function"&&w(),G(!1)},[w]),_e=y!==void 0?y:L,Oe=g!==void 0?g:z,Ie=A!==void 0?A:Re;return vt(vt({},N),{},{inputValue:_e,menuIsOpen:Oe,onChange:pe,onInputChange:ye,onMenuClose:Ae,onMenuOpen:me,value:Ie})}function oG(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}function HN(n,r){for(var i=0;i<r.length;i++){var u=r[i];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(n,wj(u.key),u)}}function sG(n,r,i){return r&&HN(n.prototype,r),i&&HN(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n}function uG(n,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(r&&r.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),r&&n0(n,r)}function u0(n){return u0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},u0(n)}function Ij(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Ij=function(){return!!n})()}function lG(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function cG(n,r){if(r&&(Nf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return lG(n)}function fG(n){var r=Ij();return function(){var u=u0(n),l;if(r){var d=u0(this).constructor;l=Reflect.construct(u,arguments,d)}else l=u.apply(this,arguments);return cG(this,l)}}function dG(n){if(Array.isArray(n))return g1(n)}function pG(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function vG(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
295
295
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dw(n){return dG(n)||pG(n)||Rj(n)||vG()}function hG(n){if(n.sheet)return n.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===n)return document.styleSheets[r]}function mG(n){var r=document.createElement("style");return r.setAttribute("data-emotion",n.key),n.nonce!==void 0&&r.setAttribute("nonce",n.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}var gG=function(){function n(i){var u=this;this._insertTag=function(l){var d;u.tags.length===0?u.insertionPoint?d=u.insertionPoint.nextSibling:u.prepend?d=u.container.firstChild:d=u.before:d=u.tags[u.tags.length-1].nextSibling,u.container.insertBefore(l,d),u.tags.push(l)},this.isSpeedy=i.speedy===void 0?process.env.NODE_ENV==="production":i.speedy,this.tags=[],this.ctr=0,this.nonce=i.nonce,this.key=i.key,this.container=i.container,this.prepend=i.prepend,this.insertionPoint=i.insertionPoint,this.before=null}var r=n.prototype;return r.hydrate=function(u){u.forEach(this._insertTag)},r.insert=function(u){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(mG(this));var l=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var d=u.charCodeAt(0)===64&&u.charCodeAt(1)===105;d&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
296
- `+u+"\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||!d}if(this.isSpeedy){var p=hG(l);try{p.insertRule(u,p.cssRules.length)}catch(y){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(u)&&console.error('There was a problem inserting the following rule: "'+u+'"',y)}}else l.appendChild(document.createTextNode(u));this.ctr++},r.flush=function(){this.tags.forEach(function(u){return u.parentNode&&u.parentNode.removeChild(u)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},n}(),Fa="-ms-",l0="-moz-",yn="-webkit-",pw="comm",vw="rule",hw="decl",yG="@import",Aj="@keyframes",bG="@layer",CG=Math.abs,_0=String.fromCharCode,xG=Object.assign;function EG(n,r){return ya(n,0)^45?(((r<<2^ya(n,0))<<2^ya(n,1))<<2^ya(n,2))<<2^ya(n,3):0}function Nj(n){return n.trim()}function SG(n,r){return(n=r.exec(n))?n[0]:n}function bn(n,r,i){return n.replace(r,i)}function y1(n,r){return n.indexOf(r)}function ya(n,r){return n.charCodeAt(r)|0}function gm(n,r,i){return n.slice(r,i)}function Gs(n){return n.length}function mw(n){return n.length}function Ib(n,r){return r.push(n),n}function wG(n,r){return n.map(r).join("")}var D0=1,Mp=1,Oj=0,Ai=0,_r=0,zp="";function j0(n,r,i,u,l,d,p){return{value:n,root:r,parent:i,type:u,props:l,children:d,line:D0,column:Mp,length:p,return:""}}function nm(n,r){return xG(j0("",null,null,"",null,null,0),n,{length:-n.length},r)}function RG(){return _r}function TG(){return _r=Ai>0?ya(zp,--Ai):0,Mp--,_r===10&&(Mp=1,D0--),_r}function Hi(){return _r=Ai<Oj?ya(zp,Ai++):0,Mp++,_r===10&&(Mp=1,D0++),_r}function Ys(){return ya(zp,Ai)}function Hb(){return Ai}function Im(n,r){return gm(zp,n,r)}function ym(n){switch(n){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 _j(n){return D0=Mp=1,Oj=Gs(zp=n),Ai=0,[]}function Dj(n){return zp="",n}function Ub(n){return Nj(Im(Ai-1,b1(n===91?n+2:n===40?n+1:n)))}function IG(n){for(;(_r=Ys())&&_r<33;)Hi();return ym(n)>2||ym(_r)>3?"":" "}function AG(n,r){for(;--r&&Hi()&&!(_r<48||_r>102||_r>57&&_r<65||_r>70&&_r<97););return Im(n,Hb()+(r<6&&Ys()==32&&Hi()==32))}function b1(n){for(;Hi();)switch(_r){case n:return Ai;case 34:case 39:n!==34&&n!==39&&b1(_r);break;case 40:n===41&&b1(n);break;case 92:Hi();break}return Ai}function NG(n,r){for(;Hi()&&n+_r!==57;)if(n+_r===84&&Ys()===47)break;return"/*"+Im(r,Ai-1)+"*"+_0(n===47?n:Hi())}function OG(n){for(;!ym(Ys());)Hi();return Im(n,Ai)}function _G(n){return Dj(Gb("",null,null,null,[""],n=_j(n),0,[0],n))}function Gb(n,r,i,u,l,d,p,y,g){for(var b=0,E=0,R=p,T=0,A=0,N=0,j=1,O=1,L=1,B=0,P="",U=l,z=d,G=u,X=P;O;)switch(N=B,B=Hi()){case 40:if(N!=108&&ya(X,R-1)==58){y1(X+=bn(Ub(B),"&","&\f"),"&\f")!=-1&&(L=-1);break}case 34:case 39:case 91:X+=Ub(B);break;case 9:case 10:case 13:case 32:X+=IG(N);break;case 92:X+=AG(Hb()-1,7);continue;case 47:switch(Ys()){case 42:case 47:Ib(DG(NG(Hi(),Hb()),r,i),g);break;default:X+="/"}break;case 123*j:y[b++]=Gs(X)*L;case 125*j:case 59:case 0:switch(B){case 0:case 125:O=0;case 59+E:L==-1&&(X=bn(X,/\f/g,"")),A>0&&Gs(X)-R&&Ib(A>32?GN(X+";",u,i,R-1):GN(bn(X," ","")+";",u,i,R-2),g);break;case 59:X+=";";default:if(Ib(G=UN(X,r,i,b,E,l,y,P,U=[],z=[],R),d),B===123)if(E===0)Gb(X,r,G,G,U,d,R,y,z);else switch(T===99&&ya(X,3)===110?100:T){case 100:case 108:case 109:case 115:Gb(n,G,G,u&&Ib(UN(n,G,G,0,0,l,y,P,l,U=[],R),z),l,z,R,y,u?U:z);break;default:Gb(X,G,G,G,[""],z,0,y,z)}}b=E=A=0,j=L=1,P=X="",R=p;break;case 58:R=1+Gs(X),A=N;default:if(j<1){if(B==123)--j;else if(B==125&&j++==0&&TG()==125)continue}switch(X+=_0(B),B*j){case 38:L=E>0?1:(X+="\f",-1);break;case 44:y[b++]=(Gs(X)-1)*L,L=1;break;case 64:Ys()===45&&(X+=Ub(Hi())),T=Ys(),E=R=Gs(P=X+=OG(Hb())),B++;break;case 45:N===45&&Gs(X)==2&&(j=0)}}return d}function UN(n,r,i,u,l,d,p,y,g,b,E){for(var R=l-1,T=l===0?d:[""],A=mw(T),N=0,j=0,O=0;N<u;++N)for(var L=0,B=gm(n,R+1,R=CG(j=p[N])),P=n;L<A;++L)(P=Nj(j>0?T[L]+" "+B:bn(B,/&\f/g,T[L])))&&(g[O++]=P);return j0(n,r,i,l===0?vw:y,g,b,E)}function DG(n,r,i){return j0(n,r,i,pw,_0(RG()),gm(n,2,-2),0)}function GN(n,r,i,u){return j0(n,r,i,hw,gm(n,0,u),gm(n,u+1,-1),u)}function Tp(n,r){for(var i="",u=mw(n),l=0;l<u;l++)i+=r(n[l],l,n,r)||"";return i}function jG(n,r,i,u){switch(n.type){case bG:if(n.children.length)break;case yG:case hw:return n.return=n.return||n.value;case pw:return"";case Aj:return n.return=n.value+"{"+Tp(n.children,u)+"}";case vw:n.value=n.props.join(",")}return Gs(i=Tp(n.children,u))?n.return=n.value+"{"+i+"}":""}function kG(n){var r=mw(n);return function(i,u,l,d){for(var p="",y=0;y<r;y++)p+=n[y](i,u,l,d)||"";return p}}function MG(n){return function(r){r.root||(r=r.return)&&n(r)}}function LG(n){var r=Object.create(null);return function(i){return r[i]===void 0&&(r[i]=n(i)),r[i]}}var FG=function(r,i,u){for(var l=0,d=0;l=d,d=Ys(),l===38&&d===12&&(i[u]=1),!ym(d);)Hi();return Im(r,Ai)},PG=function(r,i){var u=-1,l=44;do switch(ym(l)){case 0:l===38&&Ys()===12&&(i[u]=1),r[u]+=FG(Ai-1,i,u);break;case 2:r[u]+=Ub(l);break;case 4:if(l===44){r[++u]=Ys()===58?"&\f":"",i[u]=r[u].length;break}default:r[u]+=_0(l)}while(l=Hi());return r},VG=function(r,i){return Dj(PG(_j(r),i))},$N=new WeakMap,BG=function(r){if(!(r.type!=="rule"||!r.parent||r.length<1)){for(var i=r.value,u=r.parent,l=r.column===u.column&&r.line===u.line;u.type!=="rule";)if(u=u.parent,!u)return;if(!(r.props.length===1&&i.charCodeAt(0)!==58&&!$N.get(u))&&!l){$N.set(r,!0);for(var d=[],p=VG(i,d),y=u.props,g=0,b=0;g<p.length;g++)for(var E=0;E<y.length;E++,b++)r.props[b]=d[g]?p[g].replace(/&\f/g,y[E]):y[E]+" "+p[g]}}},zG=function(r){if(r.type==="decl"){var i=r.value;i.charCodeAt(0)===108&&i.charCodeAt(2)===98&&(r.return="",r.value="")}},HG="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",UG=function(r){return r.type==="comm"&&r.children.indexOf(HG)>-1},GG=function(r){return function(i,u,l){if(!(i.type!=="rule"||r.compat)){var d=i.value.match(/(:first|:nth|:nth-last)-child/g);if(d){for(var p=!!i.parent,y=p?i.parent.children:l,g=y.length-1;g>=0;g--){var b=y[g];if(b.line<i.line)break;if(b.column<i.column){if(UG(b))return;break}}d.forEach(function(E){console.error('The pseudo class "'+E+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+E.split("-child")[0]+'-of-type".')})}}}},jj=function(r){return r.type.charCodeAt(1)===105&&r.type.charCodeAt(0)===64},$G=function(r,i){for(var u=r-1;u>=0;u--)if(!jj(i[u]))return!0;return!1},WN=function(r){r.type="",r.value="",r.return="",r.children="",r.props=""},WG=function(r,i,u){jj(r)&&(r.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."),WN(r)):$G(i,u)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),WN(r)))};function kj(n,r){switch(EG(n,r)){case 5103:return yn+"print-"+n+n;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 yn+n+n;case 5349:case 4246:case 4810:case 6968:case 2756:return yn+n+l0+n+Fa+n+n;case 6828:case 4268:return yn+n+Fa+n+n;case 6165:return yn+n+Fa+"flex-"+n+n;case 5187:return yn+n+bn(n,/(\w+).+(:[^]+)/,yn+"box-$1$2"+Fa+"flex-$1$2")+n;case 5443:return yn+n+Fa+"flex-item-"+bn(n,/flex-|-self/,"")+n;case 4675:return yn+n+Fa+"flex-line-pack"+bn(n,/align-content|flex-|-self/,"")+n;case 5548:return yn+n+Fa+bn(n,"shrink","negative")+n;case 5292:return yn+n+Fa+bn(n,"basis","preferred-size")+n;case 6060:return yn+"box-"+bn(n,"-grow","")+yn+n+Fa+bn(n,"grow","positive")+n;case 4554:return yn+bn(n,/([^-])(transform)/g,"$1"+yn+"$2")+n;case 6187:return bn(bn(bn(n,/(zoom-|grab)/,yn+"$1"),/(image-set)/,yn+"$1"),n,"")+n;case 5495:case 3959:return bn(n,/(image-set\([^]*)/,yn+"$1$`$1");case 4968:return bn(bn(n,/(.+:)(flex-)?(.*)/,yn+"box-pack:$3"+Fa+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+yn+n+n;case 4095:case 3583:case 4068:case 2532:return bn(n,/(.+)-inline(.+)/,yn+"$1$2")+n;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(Gs(n)-1-r>6)switch(ya(n,r+1)){case 109:if(ya(n,r+4)!==45)break;case 102:return bn(n,/(.+:)(.+)-([^]+)/,"$1"+yn+"$2-$3$1"+l0+(ya(n,r+3)==108?"$3":"$2-$3"))+n;case 115:return~y1(n,"stretch")?kj(bn(n,"stretch","fill-available"),r)+n:n}break;case 4949:if(ya(n,r+1)!==115)break;case 6444:switch(ya(n,Gs(n)-3-(~y1(n,"!important")&&10))){case 107:return bn(n,":",":"+yn)+n;case 101:return bn(n,/(.+:)([^;!]+)(;|!.+)?/,"$1"+yn+(ya(n,14)===45?"inline-":"")+"box$3$1"+yn+"$2$3$1"+Fa+"$2box$3")+n}break;case 5936:switch(ya(n,r+11)){case 114:return yn+n+Fa+bn(n,/[svh]\w+-[tblr]{2}/,"tb")+n;case 108:return yn+n+Fa+bn(n,/[svh]\w+-[tblr]{2}/,"tb-rl")+n;case 45:return yn+n+Fa+bn(n,/[svh]\w+-[tblr]{2}/,"lr")+n}return yn+n+Fa+n+n}return n}var XG=function(r,i,u,l){if(r.length>-1&&!r.return)switch(r.type){case hw:r.return=kj(r.value,r.length);break;case Aj:return Tp([nm(r,{value:bn(r.value,"@","@"+yn)})],l);case vw:if(r.length)return wG(r.props,function(d){switch(SG(d,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Tp([nm(r,{props:[bn(d,/:(read-\w+)/,":"+l0+"$1")]})],l);case"::placeholder":return Tp([nm(r,{props:[bn(d,/:(plac\w+)/,":"+yn+"input-$1")]}),nm(r,{props:[bn(d,/:(plac\w+)/,":"+l0+"$1")]}),nm(r,{props:[bn(d,/:(plac\w+)/,Fa+"input-$1")]})],l)}return""})}},YG=[XG],ZG=function(r){var i=r.key;if(process.env.NODE_ENV!=="production"&&!i)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.
297
- If multiple caches share the same key they might "fight" for each other's style elements.`);if(i==="css"){var u=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(u,function(j){var O=j.getAttribute("data-emotion");O.indexOf(" ")!==-1&&(document.head.appendChild(j),j.setAttribute("data-s",""))})}var l=r.stylisPlugins||YG;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(i))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+i+'" was passed');var d={},p,y=[];p=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+i+' "]'),function(j){for(var O=j.getAttribute("data-emotion").split(" "),L=1;L<O.length;L++)d[O[L]]=!0;y.push(j)});var g,b=[BG,zG];process.env.NODE_ENV!=="production"&&b.push(GG({get compat(){return N.compat}}),WG);{var E,R=[jG,process.env.NODE_ENV!=="production"?function(j){j.root||(j.return?E.insert(j.return):j.value&&j.type!==pw&&E.insert(j.value+"{}"))}:MG(function(j){E.insert(j)})],T=kG(b.concat(l,R)),A=function(O){return Tp(_G(O),T)};g=function(O,L,B,P){E=B,process.env.NODE_ENV!=="production"&&L.map!==void 0&&(E={insert:function(z){B.insert(z+L.map)}}),A(O?O+"{"+L.styles+"}":L.styles),P&&(N.inserted[L.name]=!0)}}var N={key:i,sheet:new gG({key:i,container:p,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:d,registered:{},insert:g};return N.sheet.hydrate(y),N},Mj=H1,JG={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},qG={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Lj={};Lj[Mj.ForwardRef]=JG;Lj[Mj.Memo]=qG;var QG=!0;function Fj(n,r,i){var u="";return i.split(" ").forEach(function(l){n[l]!==void 0?r.push(n[l]+";"):u+=l+" "}),u}var gw=function(r,i,u){var l=r.key+"-"+i.name;(u===!1||QG===!1)&&r.registered[l]===void 0&&(r.registered[l]=i.styles)},yw=function(r,i,u){gw(r,i,u);var l=r.key+"-"+i.name;if(r.inserted[i.name]===void 0){var d=i;do r.insert(i===d?"."+l:"",d,r.sheet,!0),d=d.next;while(d!==void 0)}};function KG(n){for(var r=0,i,u=0,l=n.length;l>=4;++u,l-=4)i=n.charCodeAt(u)&255|(n.charCodeAt(++u)&255)<<8|(n.charCodeAt(++u)&255)<<16|(n.charCodeAt(++u)&255)<<24,i=(i&65535)*1540483477+((i>>>16)*59797<<16),i^=i>>>24,r=(i&65535)*1540483477+((i>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(l){case 3:r^=(n.charCodeAt(u+2)&255)<<16;case 2:r^=(n.charCodeAt(u+1)&255)<<8;case 1:r^=n.charCodeAt(u)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}var e5={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},XN=`You have illegal escape sequence in your template literal, most likely inside content's property value.
296
+ `+u+"\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||!d}if(this.isSpeedy){var p=hG(l);try{p.insertRule(u,p.cssRules.length)}catch(y){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(u)&&console.error('There was a problem inserting the following rule: "'+u+'"',y)}}else l.appendChild(document.createTextNode(u));this.ctr++},r.flush=function(){this.tags.forEach(function(u){return u.parentNode&&u.parentNode.removeChild(u)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},n}(),Fa="-ms-",l0="-moz-",yn="-webkit-",pw="comm",vw="rule",hw="decl",yG="@import",Aj="@keyframes",bG="@layer",CG=Math.abs,_0=String.fromCharCode,xG=Object.assign;function EG(n,r){return ya(n,0)^45?(((r<<2^ya(n,0))<<2^ya(n,1))<<2^ya(n,2))<<2^ya(n,3):0}function Nj(n){return n.trim()}function SG(n,r){return(n=r.exec(n))?n[0]:n}function bn(n,r,i){return n.replace(r,i)}function y1(n,r){return n.indexOf(r)}function ya(n,r){return n.charCodeAt(r)|0}function gm(n,r,i){return n.slice(r,i)}function Gs(n){return n.length}function mw(n){return n.length}function Ib(n,r){return r.push(n),n}function wG(n,r){return n.map(r).join("")}var D0=1,Mp=1,Oj=0,Ai=0,_r=0,zp="";function j0(n,r,i,u,l,d,p){return{value:n,root:r,parent:i,type:u,props:l,children:d,line:D0,column:Mp,length:p,return:""}}function nm(n,r){return xG(j0("",null,null,"",null,null,0),n,{length:-n.length},r)}function RG(){return _r}function TG(){return _r=Ai>0?ya(zp,--Ai):0,Mp--,_r===10&&(Mp=1,D0--),_r}function Hi(){return _r=Ai<Oj?ya(zp,Ai++):0,Mp++,_r===10&&(Mp=1,D0++),_r}function Ys(){return ya(zp,Ai)}function Hb(){return Ai}function Im(n,r){return gm(zp,n,r)}function ym(n){switch(n){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 _j(n){return D0=Mp=1,Oj=Gs(zp=n),Ai=0,[]}function Dj(n){return zp="",n}function Ub(n){return Nj(Im(Ai-1,b1(n===91?n+2:n===40?n+1:n)))}function IG(n){for(;(_r=Ys())&&_r<33;)Hi();return ym(n)>2||ym(_r)>3?"":" "}function AG(n,r){for(;--r&&Hi()&&!(_r<48||_r>102||_r>57&&_r<65||_r>70&&_r<97););return Im(n,Hb()+(r<6&&Ys()==32&&Hi()==32))}function b1(n){for(;Hi();)switch(_r){case n:return Ai;case 34:case 39:n!==34&&n!==39&&b1(_r);break;case 40:n===41&&b1(n);break;case 92:Hi();break}return Ai}function NG(n,r){for(;Hi()&&n+_r!==57;)if(n+_r===84&&Ys()===47)break;return"/*"+Im(r,Ai-1)+"*"+_0(n===47?n:Hi())}function OG(n){for(;!ym(Ys());)Hi();return Im(n,Ai)}function _G(n){return Dj(Gb("",null,null,null,[""],n=_j(n),0,[0],n))}function Gb(n,r,i,u,l,d,p,y,g){for(var b=0,E=0,w=p,T=0,A=0,N=0,j=1,O=1,L=1,B=0,P="",U=l,z=d,G=u,X=P;O;)switch(N=B,B=Hi()){case 40:if(N!=108&&ya(X,w-1)==58){y1(X+=bn(Ub(B),"&","&\f"),"&\f")!=-1&&(L=-1);break}case 34:case 39:case 91:X+=Ub(B);break;case 9:case 10:case 13:case 32:X+=IG(N);break;case 92:X+=AG(Hb()-1,7);continue;case 47:switch(Ys()){case 42:case 47:Ib(DG(NG(Hi(),Hb()),r,i),g);break;default:X+="/"}break;case 123*j:y[b++]=Gs(X)*L;case 125*j:case 59:case 0:switch(B){case 0:case 125:O=0;case 59+E:L==-1&&(X=bn(X,/\f/g,"")),A>0&&Gs(X)-w&&Ib(A>32?GN(X+";",u,i,w-1):GN(bn(X," ","")+";",u,i,w-2),g);break;case 59:X+=";";default:if(Ib(G=UN(X,r,i,b,E,l,y,P,U=[],z=[],w),d),B===123)if(E===0)Gb(X,r,G,G,U,d,w,y,z);else switch(T===99&&ya(X,3)===110?100:T){case 100:case 108:case 109:case 115:Gb(n,G,G,u&&Ib(UN(n,G,G,0,0,l,y,P,l,U=[],w),z),l,z,w,y,u?U:z);break;default:Gb(X,G,G,G,[""],z,0,y,z)}}b=E=A=0,j=L=1,P=X="",w=p;break;case 58:w=1+Gs(X),A=N;default:if(j<1){if(B==123)--j;else if(B==125&&j++==0&&TG()==125)continue}switch(X+=_0(B),B*j){case 38:L=E>0?1:(X+="\f",-1);break;case 44:y[b++]=(Gs(X)-1)*L,L=1;break;case 64:Ys()===45&&(X+=Ub(Hi())),T=Ys(),E=w=Gs(P=X+=OG(Hb())),B++;break;case 45:N===45&&Gs(X)==2&&(j=0)}}return d}function UN(n,r,i,u,l,d,p,y,g,b,E){for(var w=l-1,T=l===0?d:[""],A=mw(T),N=0,j=0,O=0;N<u;++N)for(var L=0,B=gm(n,w+1,w=CG(j=p[N])),P=n;L<A;++L)(P=Nj(j>0?T[L]+" "+B:bn(B,/&\f/g,T[L])))&&(g[O++]=P);return j0(n,r,i,l===0?vw:y,g,b,E)}function DG(n,r,i){return j0(n,r,i,pw,_0(RG()),gm(n,2,-2),0)}function GN(n,r,i,u){return j0(n,r,i,hw,gm(n,0,u),gm(n,u+1,-1),u)}function Tp(n,r){for(var i="",u=mw(n),l=0;l<u;l++)i+=r(n[l],l,n,r)||"";return i}function jG(n,r,i,u){switch(n.type){case bG:if(n.children.length)break;case yG:case hw:return n.return=n.return||n.value;case pw:return"";case Aj:return n.return=n.value+"{"+Tp(n.children,u)+"}";case vw:n.value=n.props.join(",")}return Gs(i=Tp(n.children,u))?n.return=n.value+"{"+i+"}":""}function kG(n){var r=mw(n);return function(i,u,l,d){for(var p="",y=0;y<r;y++)p+=n[y](i,u,l,d)||"";return p}}function MG(n){return function(r){r.root||(r=r.return)&&n(r)}}function LG(n){var r=Object.create(null);return function(i){return r[i]===void 0&&(r[i]=n(i)),r[i]}}var FG=function(r,i,u){for(var l=0,d=0;l=d,d=Ys(),l===38&&d===12&&(i[u]=1),!ym(d);)Hi();return Im(r,Ai)},PG=function(r,i){var u=-1,l=44;do switch(ym(l)){case 0:l===38&&Ys()===12&&(i[u]=1),r[u]+=FG(Ai-1,i,u);break;case 2:r[u]+=Ub(l);break;case 4:if(l===44){r[++u]=Ys()===58?"&\f":"",i[u]=r[u].length;break}default:r[u]+=_0(l)}while(l=Hi());return r},VG=function(r,i){return Dj(PG(_j(r),i))},$N=new WeakMap,BG=function(r){if(!(r.type!=="rule"||!r.parent||r.length<1)){for(var i=r.value,u=r.parent,l=r.column===u.column&&r.line===u.line;u.type!=="rule";)if(u=u.parent,!u)return;if(!(r.props.length===1&&i.charCodeAt(0)!==58&&!$N.get(u))&&!l){$N.set(r,!0);for(var d=[],p=VG(i,d),y=u.props,g=0,b=0;g<p.length;g++)for(var E=0;E<y.length;E++,b++)r.props[b]=d[g]?p[g].replace(/&\f/g,y[E]):y[E]+" "+p[g]}}},zG=function(r){if(r.type==="decl"){var i=r.value;i.charCodeAt(0)===108&&i.charCodeAt(2)===98&&(r.return="",r.value="")}},HG="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",UG=function(r){return r.type==="comm"&&r.children.indexOf(HG)>-1},GG=function(r){return function(i,u,l){if(!(i.type!=="rule"||r.compat)){var d=i.value.match(/(:first|:nth|:nth-last)-child/g);if(d){for(var p=!!i.parent,y=p?i.parent.children:l,g=y.length-1;g>=0;g--){var b=y[g];if(b.line<i.line)break;if(b.column<i.column){if(UG(b))return;break}}d.forEach(function(E){console.error('The pseudo class "'+E+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+E.split("-child")[0]+'-of-type".')})}}}},jj=function(r){return r.type.charCodeAt(1)===105&&r.type.charCodeAt(0)===64},$G=function(r,i){for(var u=r-1;u>=0;u--)if(!jj(i[u]))return!0;return!1},WN=function(r){r.type="",r.value="",r.return="",r.children="",r.props=""},WG=function(r,i,u){jj(r)&&(r.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."),WN(r)):$G(i,u)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),WN(r)))};function kj(n,r){switch(EG(n,r)){case 5103:return yn+"print-"+n+n;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 yn+n+n;case 5349:case 4246:case 4810:case 6968:case 2756:return yn+n+l0+n+Fa+n+n;case 6828:case 4268:return yn+n+Fa+n+n;case 6165:return yn+n+Fa+"flex-"+n+n;case 5187:return yn+n+bn(n,/(\w+).+(:[^]+)/,yn+"box-$1$2"+Fa+"flex-$1$2")+n;case 5443:return yn+n+Fa+"flex-item-"+bn(n,/flex-|-self/,"")+n;case 4675:return yn+n+Fa+"flex-line-pack"+bn(n,/align-content|flex-|-self/,"")+n;case 5548:return yn+n+Fa+bn(n,"shrink","negative")+n;case 5292:return yn+n+Fa+bn(n,"basis","preferred-size")+n;case 6060:return yn+"box-"+bn(n,"-grow","")+yn+n+Fa+bn(n,"grow","positive")+n;case 4554:return yn+bn(n,/([^-])(transform)/g,"$1"+yn+"$2")+n;case 6187:return bn(bn(bn(n,/(zoom-|grab)/,yn+"$1"),/(image-set)/,yn+"$1"),n,"")+n;case 5495:case 3959:return bn(n,/(image-set\([^]*)/,yn+"$1$`$1");case 4968:return bn(bn(n,/(.+:)(flex-)?(.*)/,yn+"box-pack:$3"+Fa+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+yn+n+n;case 4095:case 3583:case 4068:case 2532:return bn(n,/(.+)-inline(.+)/,yn+"$1$2")+n;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(Gs(n)-1-r>6)switch(ya(n,r+1)){case 109:if(ya(n,r+4)!==45)break;case 102:return bn(n,/(.+:)(.+)-([^]+)/,"$1"+yn+"$2-$3$1"+l0+(ya(n,r+3)==108?"$3":"$2-$3"))+n;case 115:return~y1(n,"stretch")?kj(bn(n,"stretch","fill-available"),r)+n:n}break;case 4949:if(ya(n,r+1)!==115)break;case 6444:switch(ya(n,Gs(n)-3-(~y1(n,"!important")&&10))){case 107:return bn(n,":",":"+yn)+n;case 101:return bn(n,/(.+:)([^;!]+)(;|!.+)?/,"$1"+yn+(ya(n,14)===45?"inline-":"")+"box$3$1"+yn+"$2$3$1"+Fa+"$2box$3")+n}break;case 5936:switch(ya(n,r+11)){case 114:return yn+n+Fa+bn(n,/[svh]\w+-[tblr]{2}/,"tb")+n;case 108:return yn+n+Fa+bn(n,/[svh]\w+-[tblr]{2}/,"tb-rl")+n;case 45:return yn+n+Fa+bn(n,/[svh]\w+-[tblr]{2}/,"lr")+n}return yn+n+Fa+n+n}return n}var XG=function(r,i,u,l){if(r.length>-1&&!r.return)switch(r.type){case hw:r.return=kj(r.value,r.length);break;case Aj:return Tp([nm(r,{value:bn(r.value,"@","@"+yn)})],l);case vw:if(r.length)return wG(r.props,function(d){switch(SG(d,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Tp([nm(r,{props:[bn(d,/:(read-\w+)/,":"+l0+"$1")]})],l);case"::placeholder":return Tp([nm(r,{props:[bn(d,/:(plac\w+)/,":"+yn+"input-$1")]}),nm(r,{props:[bn(d,/:(plac\w+)/,":"+l0+"$1")]}),nm(r,{props:[bn(d,/:(plac\w+)/,Fa+"input-$1")]})],l)}return""})}},YG=[XG],ZG=function(r){var i=r.key;if(process.env.NODE_ENV!=="production"&&!i)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.
297
+ If multiple caches share the same key they might "fight" for each other's style elements.`);if(i==="css"){var u=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(u,function(j){var O=j.getAttribute("data-emotion");O.indexOf(" ")!==-1&&(document.head.appendChild(j),j.setAttribute("data-s",""))})}var l=r.stylisPlugins||YG;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(i))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+i+'" was passed');var d={},p,y=[];p=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+i+' "]'),function(j){for(var O=j.getAttribute("data-emotion").split(" "),L=1;L<O.length;L++)d[O[L]]=!0;y.push(j)});var g,b=[BG,zG];process.env.NODE_ENV!=="production"&&b.push(GG({get compat(){return N.compat}}),WG);{var E,w=[jG,process.env.NODE_ENV!=="production"?function(j){j.root||(j.return?E.insert(j.return):j.value&&j.type!==pw&&E.insert(j.value+"{}"))}:MG(function(j){E.insert(j)})],T=kG(b.concat(l,w)),A=function(O){return Tp(_G(O),T)};g=function(O,L,B,P){E=B,process.env.NODE_ENV!=="production"&&L.map!==void 0&&(E={insert:function(z){B.insert(z+L.map)}}),A(O?O+"{"+L.styles+"}":L.styles),P&&(N.inserted[L.name]=!0)}}var N={key:i,sheet:new gG({key:i,container:p,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:d,registered:{},insert:g};return N.sheet.hydrate(y),N},Mj=H1,JG={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},qG={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Lj={};Lj[Mj.ForwardRef]=JG;Lj[Mj.Memo]=qG;var QG=!0;function Fj(n,r,i){var u="";return i.split(" ").forEach(function(l){n[l]!==void 0?r.push(n[l]+";"):u+=l+" "}),u}var gw=function(r,i,u){var l=r.key+"-"+i.name;(u===!1||QG===!1)&&r.registered[l]===void 0&&(r.registered[l]=i.styles)},yw=function(r,i,u){gw(r,i,u);var l=r.key+"-"+i.name;if(r.inserted[i.name]===void 0){var d=i;do r.insert(i===d?"."+l:"",d,r.sheet,!0),d=d.next;while(d!==void 0)}};function KG(n){for(var r=0,i,u=0,l=n.length;l>=4;++u,l-=4)i=n.charCodeAt(u)&255|(n.charCodeAt(++u)&255)<<8|(n.charCodeAt(++u)&255)<<16|(n.charCodeAt(++u)&255)<<24,i=(i&65535)*1540483477+((i>>>16)*59797<<16),i^=i>>>24,r=(i&65535)*1540483477+((i>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(l){case 3:r^=(n.charCodeAt(u+2)&255)<<16;case 2:r^=(n.charCodeAt(u+1)&255)<<8;case 1:r^=n.charCodeAt(u)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}var e5={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},XN=`You have illegal escape sequence in your template literal, most likely inside content's property value.
298
298
  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';".
299
299
  You can read more about this here:
300
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,t5="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",n5=/[A-Z]|^ms/g,Pj=/_EMO_([^_]+?)_([^]*?)_EMO_/g,bw=function(r){return r.charCodeAt(1)===45},YN=function(r){return r!=null&&typeof r!="boolean"},DS=LG(function(n){return bw(n)?n:n.replace(n5,"-$&").toLowerCase()}),c0=function(r,i){switch(r){case"animation":case"animationName":if(typeof i=="string")return i.replace(Pj,function(u,l,d){return Zo={name:l,styles:d,next:Zo},l})}return e5[r]!==1&&!bw(r)&&typeof i=="number"&&i!==0?i+"px":i};if(process.env.NODE_ENV!=="production"){var r5=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,a5=["normal","none","initial","inherit","unset"],i5=c0,o5=/^-ms-/,s5=/-(.)/g,ZN={};c0=function(r,i){if(r==="content"&&(typeof i!="string"||a5.indexOf(i)===-1&&!r5.test(i)&&(i.charAt(0)!==i.charAt(i.length-1)||i.charAt(0)!=='"'&&i.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+i+"\"'`");var u=i5(r,i);return u!==""&&!bw(r)&&r.indexOf("-")!==-1&&ZN[r]===void 0&&(ZN[r]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+r.replace(o5,"ms-").replace(s5,function(l,d){return d.toUpperCase()})+"?")),u}}var Vj="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function bm(n,r,i){if(i==null)return"";if(i.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&i.toString()==="NO_COMPONENT_SELECTOR")throw new Error(Vj);return i}switch(typeof i){case"boolean":return"";case"object":{if(i.anim===1)return Zo={name:i.name,styles:i.styles,next:Zo},i.name;if(i.styles!==void 0){var u=i.next;if(u!==void 0)for(;u!==void 0;)Zo={name:u.name,styles:u.styles,next:Zo},u=u.next;var l=i.styles+";";return process.env.NODE_ENV!=="production"&&i.map!==void 0&&(l+=i.map),l}return u5(n,r,i)}case"function":{if(n!==void 0){var d=Zo,p=i(n);return Zo=d,bm(n,r,p)}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 y=[],g=i.replace(Pj,function(E,R,T){var A="animation"+y.length;return y.push("const "+A+" = keyframes`"+T.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+A+"}"});y.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(y,["`"+g+"`"]).join(`
300
+ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,t5="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",n5=/[A-Z]|^ms/g,Pj=/_EMO_([^_]+?)_([^]*?)_EMO_/g,bw=function(r){return r.charCodeAt(1)===45},YN=function(r){return r!=null&&typeof r!="boolean"},DS=LG(function(n){return bw(n)?n:n.replace(n5,"-$&").toLowerCase()}),c0=function(r,i){switch(r){case"animation":case"animationName":if(typeof i=="string")return i.replace(Pj,function(u,l,d){return Zo={name:l,styles:d,next:Zo},l})}return e5[r]!==1&&!bw(r)&&typeof i=="number"&&i!==0?i+"px":i};if(process.env.NODE_ENV!=="production"){var r5=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,a5=["normal","none","initial","inherit","unset"],i5=c0,o5=/^-ms-/,s5=/-(.)/g,ZN={};c0=function(r,i){if(r==="content"&&(typeof i!="string"||a5.indexOf(i)===-1&&!r5.test(i)&&(i.charAt(0)!==i.charAt(i.length-1)||i.charAt(0)!=='"'&&i.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+i+"\"'`");var u=i5(r,i);return u!==""&&!bw(r)&&r.indexOf("-")!==-1&&ZN[r]===void 0&&(ZN[r]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+r.replace(o5,"ms-").replace(s5,function(l,d){return d.toUpperCase()})+"?")),u}}var Vj="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function bm(n,r,i){if(i==null)return"";if(i.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&i.toString()==="NO_COMPONENT_SELECTOR")throw new Error(Vj);return i}switch(typeof i){case"boolean":return"";case"object":{if(i.anim===1)return Zo={name:i.name,styles:i.styles,next:Zo},i.name;if(i.styles!==void 0){var u=i.next;if(u!==void 0)for(;u!==void 0;)Zo={name:u.name,styles:u.styles,next:Zo},u=u.next;var l=i.styles+";";return process.env.NODE_ENV!=="production"&&i.map!==void 0&&(l+=i.map),l}return u5(n,r,i)}case"function":{if(n!==void 0){var d=Zo,p=i(n);return Zo=d,bm(n,r,p)}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 y=[],g=i.replace(Pj,function(E,w,T){var A="animation"+y.length;return y.push("const "+A+" = keyframes`"+T.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+A+"}"});y.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(y,["`"+g+"`"]).join(`
301
301
  `)+`
302
302
 
303
303
  You should wrap it with \`css\` like this:
304
304
 
305
- `+("css`"+g+"`"))}break}if(r==null)return i;var b=r[i];return b!==void 0?b:i}function u5(n,r,i){var u="";if(Array.isArray(i))for(var l=0;l<i.length;l++)u+=bm(n,r,i[l])+";";else for(var d in i){var p=i[d];if(typeof p!="object")r!=null&&r[p]!==void 0?u+=d+"{"+r[p]+"}":YN(p)&&(u+=DS(d)+":"+c0(d,p)+";");else{if(d==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(Vj);if(Array.isArray(p)&&typeof p[0]=="string"&&(r==null||r[p[0]]===void 0))for(var y=0;y<p.length;y++)YN(p[y])&&(u+=DS(d)+":"+c0(d,p[y])+";");else{var g=bm(n,r,p);switch(d){case"animation":case"animationName":{u+=DS(d)+":"+g+";";break}default:process.env.NODE_ENV!=="production"&&d==="undefined"&&console.error(t5),u+=d+"{"+g+"}"}}}}return u}var JN=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Bj;process.env.NODE_ENV!=="production"&&(Bj=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var Zo,Cm=function(r,i,u){if(r.length===1&&typeof r[0]=="object"&&r[0]!==null&&r[0].styles!==void 0)return r[0];var l=!0,d="";Zo=void 0;var p=r[0];p==null||p.raw===void 0?(l=!1,d+=bm(u,i,p)):(process.env.NODE_ENV!=="production"&&p[0]===void 0&&console.error(XN),d+=p[0]);for(var y=1;y<r.length;y++)d+=bm(u,i,r[y]),l&&(process.env.NODE_ENV!=="production"&&p[y]===void 0&&console.error(XN),d+=p[y]);var g;process.env.NODE_ENV!=="production"&&(d=d.replace(Bj,function(T){return g=T,""})),JN.lastIndex=0;for(var b="",E;(E=JN.exec(d))!==null;)b+="-"+E[1];var R=KG(d)+b;return process.env.NODE_ENV!=="production"?{name:R,styles:d,map:g,next:Zo,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:R,styles:d,next:Zo}},l5=function(r){return r()},zj=Jb.useInsertionEffect?Jb.useInsertionEffect:!1,Hj=zj||l5,qN=zj||M.useLayoutEffect,Cw={}.hasOwnProperty,xw=M.createContext(typeof HTMLElement<"u"?ZG({key:"css"}):null);process.env.NODE_ENV!=="production"&&(xw.displayName="EmotionCacheContext");xw.Provider;var Ew=function(r){return M.forwardRef(function(i,u){var l=M.useContext(xw);return r(i,l,u)})},k0=M.createContext({});process.env.NODE_ENV!=="production"&&(k0.displayName="EmotionThemeContext");var QN=function(r){var i=r.split(".");return i[i.length-1]},c5=function(r){var i=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(r);if(i||(i=/^([A-Za-z0-9$.]+)@/.exec(r),i))return QN(i[1])},f5=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),d5=function(r){return r.replace(/\$/g,"-")},p5=function(r){if(r)for(var i=r.split(`
306
- `),u=0;u<i.length;u++){var l=c5(i[u]);if(l){if(f5.has(l))break;if(/^[A-Z]/.test(l))return d5(l)}}},C1="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",x1="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",v5=function(r,i){if(process.env.NODE_ENV!=="production"&&typeof i.css=="string"&&i.css.indexOf(":")!==-1)throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+i.css+"`");var u={};for(var l in i)Cw.call(i,l)&&(u[l]=i[l]);if(u[C1]=r,process.env.NODE_ENV!=="production"&&i.css&&(typeof i.css!="object"||typeof i.css.name!="string"||i.css.name.indexOf("-")===-1)){var d=p5(new Error().stack);d&&(u[x1]=d)}return u},h5=function(r){var i=r.cache,u=r.serialized,l=r.isStringTag;return gw(i,u,l),Hj(function(){return yw(i,u,l)}),null},Uj=Ew(function(n,r,i){var u=n.css;typeof u=="string"&&r.registered[u]!==void 0&&(u=r.registered[u]);var l=n[C1],d=[u],p="";typeof n.className=="string"?p=Fj(r.registered,d,n.className):n.className!=null&&(p=n.className+" ");var y=Cm(d,void 0,M.useContext(k0));if(process.env.NODE_ENV!=="production"&&y.name.indexOf("-")===-1){var g=n[x1];g&&(y=Cm([y,"label:"+g+";"]))}p+=r.key+"-"+y.name;var b={};for(var E in n)Cw.call(n,E)&&E!=="css"&&E!==C1&&(process.env.NODE_ENV==="production"||E!==x1)&&(b[E]=n[E]);return b.ref=i,b.className=p,M.createElement(M.Fragment,null,M.createElement(h5,{cache:r,serialized:y,isStringTag:typeof l=="string"}),M.createElement(l,b))});process.env.NODE_ENV!=="production"&&(Uj.displayName="EmotionCssPropInternal");var m5=Uj,g5={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"}}}}},Ct=function(r,i){var u=arguments;if(i==null||!Cw.call(i,"css"))return M.createElement.apply(void 0,u);var l=u.length,d=new Array(l);d[0]=m5,d[1]=v5(r,i);for(var p=2;p<l;p++)d[p]=u[p];return M.createElement.apply(null,d)},KN=!1,y5=Ew(function(n,r){process.env.NODE_ENV!=="production"&&!KN&&(n.className||n.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),KN=!0);var i=n.styles,u=Cm([i],void 0,M.useContext(k0)),l=M.useRef();return qN(function(){var d=r.key+"-global",p=new r.sheet.constructor({key:d,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy}),y=!1,g=document.querySelector('style[data-emotion="'+d+" "+u.name+'"]');return r.sheet.tags.length&&(p.before=r.sheet.tags[0]),g!==null&&(y=!0,g.setAttribute("data-emotion",d),p.hydrate([g])),l.current=[p,y],function(){p.flush()}},[r]),qN(function(){var d=l.current,p=d[0],y=d[1];if(y){d[1]=!1;return}if(u.next!==void 0&&yw(r,u.next,!0),p.tags.length){var g=p.tags[p.tags.length-1].nextElementSibling;p.before=g,p.flush()}r.insert("",u,p,!1)},[r,u.name]),null});process.env.NODE_ENV!=="production"&&(y5.displayName="EmotionGlobal");function Sw(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return Cm(r)}var b5=function(){var r=Sw.apply(void 0,arguments),i="animation-"+r.name;return{name:i,styles:"@keyframes "+i+"{"+r.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},C5=function n(r){for(var i=r.length,u=0,l="";u<i;u++){var d=r[u];if(d!=null){var p=void 0;switch(typeof d){case"boolean":break;case"object":{if(Array.isArray(d))p=n(d);else{process.env.NODE_ENV!=="production"&&d.styles!==void 0&&d.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."),p="";for(var y in d)d[y]&&y&&(p&&(p+=" "),p+=y)}break}default:p=d}p&&(l&&(l+=" "),l+=p)}}return l};function x5(n,r,i){var u=[],l=Fj(n,u,i);return u.length<2?i:l+r(u)}var E5=function(r){var i=r.cache,u=r.serializedArr;return Hj(function(){for(var l=0;l<u.length;l++)yw(i,u[l],!1)}),null},S5=Ew(function(n,r){var i=!1,u=[],l=function(){if(i&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var b=arguments.length,E=new Array(b),R=0;R<b;R++)E[R]=arguments[R];var T=Cm(E,r.registered);return u.push(T),gw(r,T,!1),r.key+"-"+T.name},d=function(){if(i&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var b=arguments.length,E=new Array(b),R=0;R<b;R++)E[R]=arguments[R];return x5(r.registered,l,C5(E))},p={css:l,cx:d,theme:M.useContext(k0)},y=n.children(p);return i=!0,M.createElement(M.Fragment,null,M.createElement(E5,{cache:r,serializedArr:u}),y)});process.env.NODE_ENV!=="production"&&(S5.displayName="EmotionClassNames");if(process.env.NODE_ENV!=="production"){var eO=!0,w5=typeof jest<"u"||typeof vi<"u";if(eO&&!w5){var tO=typeof globalThis<"u"?globalThis:eO?window:global,nO="__EMOTION_REACT_"+g5.version.split(".")[0]+"__";tO[nO]&&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."),tO[nO]=!0}}function R5(n,r){return r||(r=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(r)}}))}const T5=Math.min,I5=Math.max,f0=Math.round,Ab=Math.floor,d0=n=>({x:n,y:n});function A5(n){return{...n,top:n.y,left:n.x,right:n.x+n.width,bottom:n.y+n.height}}function Gj(n){return Wj(n)?(n.nodeName||"").toLowerCase():"#document"}function Jo(n){var r;return(n==null||(r=n.ownerDocument)==null?void 0:r.defaultView)||window}function $j(n){var r;return(r=(Wj(n)?n.ownerDocument:n.document)||window.document)==null?void 0:r.documentElement}function Wj(n){return n instanceof Node||n instanceof Jo(n).Node}function E1(n){return n instanceof Element||n instanceof Jo(n).Element}function ww(n){return n instanceof HTMLElement||n instanceof Jo(n).HTMLElement}function rO(n){return typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof Jo(n).ShadowRoot}function Xj(n){const{overflow:r,overflowX:i,overflowY:u,display:l}=Rw(n);return/auto|scroll|overlay|hidden|clip/.test(r+u+i)&&!["inline","contents"].includes(l)}function N5(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function O5(n){return["html","body","#document"].includes(Gj(n))}function Rw(n){return Jo(n).getComputedStyle(n)}function _5(n){if(Gj(n)==="html")return n;const r=n.assignedSlot||n.parentNode||rO(n)&&n.host||$j(n);return rO(r)?r.host:r}function Yj(n){const r=_5(n);return O5(r)?n.ownerDocument?n.ownerDocument.body:n.body:ww(r)&&Xj(r)?r:Yj(r)}function p0(n,r,i){var u;r===void 0&&(r=[]),i===void 0&&(i=!0);const l=Yj(n),d=l===((u=n.ownerDocument)==null?void 0:u.body),p=Jo(l);return d?r.concat(p,p.visualViewport||[],Xj(l)?l:[],p.frameElement&&i?p0(p.frameElement):[]):r.concat(l,p0(l,[],i))}function D5(n){const r=Rw(n);let i=parseFloat(r.width)||0,u=parseFloat(r.height)||0;const l=ww(n),d=l?n.offsetWidth:i,p=l?n.offsetHeight:u,y=f0(i)!==d||f0(u)!==p;return y&&(i=d,u=p),{width:i,height:u,$:y}}function Tw(n){return E1(n)?n:n.contextElement}function jS(n){const r=Tw(n);if(!ww(r))return d0(1);const i=r.getBoundingClientRect(),{width:u,height:l,$:d}=D5(r);let p=(d?f0(i.width):i.width)/u,y=(d?f0(i.height):i.height)/l;return(!p||!Number.isFinite(p))&&(p=1),(!y||!Number.isFinite(y))&&(y=1),{x:p,y}}const j5=d0(0);function k5(n){const r=Jo(n);return!N5()||!r.visualViewport?j5:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function M5(n,r,i){return r===void 0&&(r=!1),!i||r&&i!==Jo(n)?!1:r}function aO(n,r,i,u){r===void 0&&(r=!1),i===void 0&&(i=!1);const l=n.getBoundingClientRect(),d=Tw(n);let p=d0(1);r&&(u?E1(u)&&(p=jS(u)):p=jS(n));const y=M5(d,i,u)?k5(d):d0(0);let g=(l.left+y.x)/p.x,b=(l.top+y.y)/p.y,E=l.width/p.x,R=l.height/p.y;if(d){const T=Jo(d),A=u&&E1(u)?Jo(u):u;let N=T.frameElement;for(;N&&u&&A!==T;){const j=jS(N),O=N.getBoundingClientRect(),L=Rw(N),B=O.left+(N.clientLeft+parseFloat(L.paddingLeft))*j.x,P=O.top+(N.clientTop+parseFloat(L.paddingTop))*j.y;g*=j.x,b*=j.y,E*=j.x,R*=j.y,g+=B,b+=P,N=Jo(N).frameElement}}return A5({width:E,height:R,x:g,y:b})}function L5(n,r){let i=null,u;const l=$j(n);function d(){var y;clearTimeout(u),(y=i)==null||y.disconnect(),i=null}function p(y,g){y===void 0&&(y=!1),g===void 0&&(g=1),d();const{left:b,top:E,width:R,height:T}=n.getBoundingClientRect();if(y||r(),!R||!T)return;const A=Ab(E),N=Ab(l.clientWidth-(b+R)),j=Ab(l.clientHeight-(E+T)),O=Ab(b),B={rootMargin:-A+"px "+-N+"px "+-j+"px "+-O+"px",threshold:I5(0,T5(1,g))||1};let P=!0;function U(z){const G=z[0].intersectionRatio;if(G!==g){if(!P)return p();G?p(!1,G):u=setTimeout(()=>{p(!1,1e-7)},100)}P=!1}try{i=new IntersectionObserver(U,{...B,root:l.ownerDocument})}catch{i=new IntersectionObserver(U,B)}i.observe(n)}return p(!0),d}function F5(n,r,i,u){u===void 0&&(u={});const{ancestorScroll:l=!0,ancestorResize:d=!0,elementResize:p=typeof ResizeObserver=="function",layoutShift:y=typeof IntersectionObserver=="function",animationFrame:g=!1}=u,b=Tw(n),E=l||d?[...b?p0(b):[],...p0(r)]:[];E.forEach(L=>{l&&L.addEventListener("scroll",i,{passive:!0}),d&&L.addEventListener("resize",i)});const R=b&&y?L5(b,i):null;let T=-1,A=null;p&&(A=new ResizeObserver(L=>{let[B]=L;B&&B.target===b&&A&&(A.unobserve(r),cancelAnimationFrame(T),T=requestAnimationFrame(()=>{var P;(P=A)==null||P.observe(r)})),i()}),b&&!g&&A.observe(b),A.observe(r));let N,j=g?aO(n):null;g&&O();function O(){const L=aO(n);j&&(L.x!==j.x||L.y!==j.y||L.width!==j.width||L.height!==j.height)&&i(),j=L,N=requestAnimationFrame(O)}return i(),()=>{var L;E.forEach(B=>{l&&B.removeEventListener("scroll",i),d&&B.removeEventListener("resize",i)}),R==null||R(),(L=A)==null||L.disconnect(),A=null,g&&cancelAnimationFrame(N)}}var S1=M.useLayoutEffect,P5=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],v0=function(){};function V5(n,r){return r?r[0]==="-"?n+r:n+"__"+r:n}function B5(n,r){for(var i=arguments.length,u=new Array(i>2?i-2:0),l=2;l<i;l++)u[l-2]=arguments[l];var d=[].concat(u);if(r&&n)for(var p in r)r.hasOwnProperty(p)&&r[p]&&d.push("".concat(V5(n,p)));return d.filter(function(y){return y}).map(function(y){return String(y).trim()}).join(" ")}var iO=function(r){return J5(r)?r.filter(Boolean):Nf(r)==="object"&&r!==null?[r]:[]},Zj=function(r){r.className,r.clearValue,r.cx,r.getStyles,r.getClassNames,r.getValue,r.hasValue,r.isMulti,r.isRtl,r.options,r.selectOption,r.selectProps,r.setValue,r.theme;var i=Zs(r,P5);return vt({},i)},mr=function(r,i,u){var l=r.cx,d=r.getStyles,p=r.getClassNames,y=r.className;return{css:d(i,r),className:l(u??{},p(i,r),y)}};function z5(n,r,i){if(i){var u=i(n,r);if(typeof u=="string")return u}return n}function M0(n){return[document.documentElement,document.body,window].indexOf(n)>-1}function H5(n){return M0(n)?window.innerHeight:n.clientHeight}function Jj(n){return M0(n)?window.pageYOffset:n.scrollTop}function h0(n,r){if(M0(n)){window.scrollTo(0,r);return}n.scrollTop=r}function U5(n){var r=getComputedStyle(n),i=r.position==="absolute",u=/(auto|scroll)/;if(r.position==="fixed")return document.documentElement;for(var l=n;l=l.parentElement;)if(r=getComputedStyle(l),!(i&&r.position==="static")&&u.test(r.overflow+r.overflowY+r.overflowX))return l;return document.documentElement}function G5(n,r,i,u){return i*((n=n/u-1)*n*n+1)+r}function Nb(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:v0,l=Jj(n),d=r-l,p=10,y=0;function g(){y+=p;var b=G5(y,l,d,i);h0(n,b),y<i?window.requestAnimationFrame(g):u(n)}g()}function oO(n,r){var i=n.getBoundingClientRect(),u=r.getBoundingClientRect(),l=r.offsetHeight/3;u.bottom+l>i.bottom?h0(n,Math.min(r.offsetTop+r.clientHeight-n.offsetHeight+l,n.scrollHeight)):u.top-l<i.top&&h0(n,Math.max(r.offsetTop-l,0))}function $5(n){var r=n.getBoundingClientRect();return{bottom:r.bottom,height:r.height,left:r.left,right:r.right,top:r.top,width:r.width}}function sO(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function W5(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var qj=!1,X5={get passive(){return qj=!0}},Ob=typeof window<"u"?window:{};Ob.addEventListener&&Ob.removeEventListener&&(Ob.addEventListener("p",v0,X5),Ob.removeEventListener("p",v0,!1));var Y5=qj;function Z5(n){return n!=null}function J5(n){return Array.isArray(n)}function _b(n,r,i){return n?r:i}var q5=function(r){for(var i=arguments.length,u=new Array(i>1?i-1:0),l=1;l<i;l++)u[l-1]=arguments[l];var d=Object.entries(r).filter(function(p){var y=ta(p,1),g=y[0];return!u.includes(g)});return d.reduce(function(p,y){var g=ta(y,2),b=g[0],E=g[1];return p[b]=E,p},{})},Q5=["children","innerProps"],K5=["children","innerProps"];function e$(n){var r=n.maxHeight,i=n.menuEl,u=n.minHeight,l=n.placement,d=n.shouldScroll,p=n.isFixedPosition,y=n.controlHeight,g=U5(i),b={placement:"bottom",maxHeight:r};if(!i||!i.offsetParent)return b;var E=g.getBoundingClientRect(),R=E.height,T=i.getBoundingClientRect(),A=T.bottom,N=T.height,j=T.top,O=i.offsetParent.getBoundingClientRect(),L=O.top,B=p?window.innerHeight:H5(g),P=Jj(g),U=parseInt(getComputedStyle(i).marginBottom,10),z=parseInt(getComputedStyle(i).marginTop,10),G=L-z,X=B-j,te=G+P,Re=R-P-j,ue=A-B+P+U,pe=P+j-z,ye=160;switch(l){case"auto":case"bottom":if(X>=N)return{placement:"bottom",maxHeight:r};if(Re>=N&&!p)return d&&Nb(g,ue,ye),{placement:"bottom",maxHeight:r};if(!p&&Re>=u||p&&X>=u){d&&Nb(g,ue,ye);var me=p?X-U:Re-U;return{placement:"bottom",maxHeight:me}}if(l==="auto"||p){var Ae=r,_e=p?G:te;return _e>=u&&(Ae=Math.min(_e-U-y,r)),{placement:"top",maxHeight:Ae}}if(l==="bottom")return d&&h0(g,ue),{placement:"bottom",maxHeight:r};break;case"top":if(G>=N)return{placement:"top",maxHeight:r};if(te>=N&&!p)return d&&Nb(g,pe,ye),{placement:"top",maxHeight:r};if(!p&&te>=u||p&&G>=u){var Oe=r;return(!p&&te>=u||p&&G>=u)&&(Oe=p?G-z:te-z),d&&Nb(g,pe,ye),{placement:"top",maxHeight:Oe}}return{placement:"bottom",maxHeight:r};default:throw new Error('Invalid placement provided "'.concat(l,'".'))}return b}function t$(n){var r={bottom:"top",top:"bottom"};return n?r[n]:"bottom"}var Qj=function(r){return r==="auto"?"bottom":r},n$=function(r,i){var u,l=r.placement,d=r.theme,p=d.borderRadius,y=d.spacing,g=d.colors;return vt((u={label:"menu"},Ep(u,t$(l),"100%"),Ep(u,"position","absolute"),Ep(u,"width","100%"),Ep(u,"zIndex",1),u),i?{}:{backgroundColor:g.neutral0,borderRadius:p,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:y.menuGutter,marginTop:y.menuGutter})},Kj=M.createContext(null),r$=function(r){var i=r.children,u=r.minMenuHeight,l=r.maxMenuHeight,d=r.menuPlacement,p=r.menuPosition,y=r.menuShouldScrollIntoView,g=r.theme,b=M.useContext(Kj)||{},E=b.setPortalPlacement,R=M.useRef(null),T=M.useState(l),A=ta(T,2),N=A[0],j=A[1],O=M.useState(null),L=ta(O,2),B=L[0],P=L[1],U=g.spacing.controlHeight;return S1(function(){var z=R.current;if(z){var G=p==="fixed",X=y&&!G,te=e$({maxHeight:l,menuEl:z,minHeight:u,placement:d,shouldScroll:X,isFixedPosition:G,controlHeight:U});j(te.maxHeight),P(te.placement),E==null||E(te.placement)}},[l,d,p,y,u,E,U]),i({ref:R,placerProps:vt(vt({},r),{},{placement:B||Qj(d),maxHeight:N})})},a$=function(r){var i=r.children,u=r.innerRef,l=r.innerProps;return Ct("div",xt({},mr(r,"menu",{menu:!0}),{ref:u},l),i)},i$=a$,o$=function(r,i){var u=r.maxHeight,l=r.theme.spacing.baseUnit;return vt({maxHeight:u,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},i?{}:{paddingBottom:l,paddingTop:l})},s$=function(r){var i=r.children,u=r.innerProps,l=r.innerRef,d=r.isMulti;return Ct("div",xt({},mr(r,"menuList",{"menu-list":!0,"menu-list--is-multi":d}),{ref:l},u),i)},ek=function(r,i){var u=r.theme,l=u.spacing.baseUnit,d=u.colors;return vt({textAlign:"center"},i?{}:{color:d.neutral40,padding:"".concat(l*2,"px ").concat(l*3,"px")})},u$=ek,l$=ek,c$=function(r){var i=r.children,u=i===void 0?"No options":i,l=r.innerProps,d=Zs(r,Q5);return Ct("div",xt({},mr(vt(vt({},d),{},{children:u,innerProps:l}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),l),u)},f$=function(r){var i=r.children,u=i===void 0?"Loading...":i,l=r.innerProps,d=Zs(r,K5);return Ct("div",xt({},mr(vt(vt({},d),{},{children:u,innerProps:l}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),l),u)},d$=function(r){var i=r.rect,u=r.offset,l=r.position;return{left:i.left,position:l,top:u,width:i.width,zIndex:1}},p$=function(r){var i=r.appendTo,u=r.children,l=r.controlElement,d=r.innerProps,p=r.menuPlacement,y=r.menuPosition,g=M.useRef(null),b=M.useRef(null),E=M.useState(Qj(p)),R=ta(E,2),T=R[0],A=R[1],N=M.useMemo(function(){return{setPortalPlacement:A}},[]),j=M.useState(null),O=ta(j,2),L=O[0],B=O[1],P=M.useCallback(function(){if(l){var X=$5(l),te=y==="fixed"?0:window.pageYOffset,Re=X[T]+te;(Re!==(L==null?void 0:L.offset)||X.left!==(L==null?void 0:L.rect.left)||X.width!==(L==null?void 0:L.rect.width))&&B({offset:Re,rect:X})}},[l,y,T,L==null?void 0:L.offset,L==null?void 0:L.rect.left,L==null?void 0:L.rect.width]);S1(function(){P()},[P]);var U=M.useCallback(function(){typeof b.current=="function"&&(b.current(),b.current=null),l&&g.current&&(b.current=F5(l,g.current,P,{elementResize:"ResizeObserver"in window}))},[l,P]);S1(function(){U()},[U]);var z=M.useCallback(function(X){g.current=X,U()},[U]);if(!i&&y!=="fixed"||!L)return null;var G=Ct("div",xt({ref:z},mr(vt(vt({},r),{},{offset:L.offset,position:y,rect:L.rect}),"menuPortal",{"menu-portal":!0}),d),u);return Ct(Kj.Provider,{value:N},i?A1.createPortal(G,i):G)},v$=function(r){var i=r.isDisabled,u=r.isRtl;return{label:"container",direction:u?"rtl":void 0,pointerEvents:i?"none":void 0,position:"relative"}},h$=function(r){var i=r.children,u=r.innerProps,l=r.isDisabled,d=r.isRtl;return Ct("div",xt({},mr(r,"container",{"--is-disabled":l,"--is-rtl":d}),u),i)},m$=function(r,i){var u=r.theme.spacing,l=r.isMulti,d=r.hasValue,p=r.selectProps.controlShouldRenderValue;return vt({alignItems:"center",display:l&&d&&p?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},i?{}:{padding:"".concat(u.baseUnit/2,"px ").concat(u.baseUnit*2,"px")})},g$=function(r){var i=r.children,u=r.innerProps,l=r.isMulti,d=r.hasValue;return Ct("div",xt({},mr(r,"valueContainer",{"value-container":!0,"value-container--is-multi":l,"value-container--has-value":d}),u),i)},y$=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},b$=function(r){var i=r.children,u=r.innerProps;return Ct("div",xt({},mr(r,"indicatorsContainer",{indicators:!0}),u),i)},uO,C$=["size"],x$=["innerProps","isRtl","size"];function E$(){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)."}var S$=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3InLFxuICAgICAgbGluZUhlaWdodDogMSxcbiAgICAgIHN0cm9rZTogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBzdHJva2VXaWR0aDogMCxcbiAgICB9fVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG5cbmV4cG9ydCB0eXBlIENyb3NzSWNvblByb3BzID0gSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZT86IG51bWJlciB9O1xuZXhwb3J0IGNvbnN0IENyb3NzSWNvbiA9IChwcm9wczogQ3Jvc3NJY29uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTE0LjM0OCAxNC44NDljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDBsLTIuNjUxLTMuMDMwLTIuNjUxIDMuMDI5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI5IDAtMS42OTdsMi43NTgtMy4xNS0yLjc1OS0zLjE1MmMtMC40NjktMC40NjktMC40NjktMS4yMjggMC0xLjY5N3MxLjIyOC0wLjQ2OSAxLjY5NyAwbDIuNjUyIDMuMDMxIDIuNjUxLTMuMDMxYzAuNDY5LTAuNDY5IDEuMjI4LTAuNDY5IDEuNjk3IDBzMC40NjkgMS4yMjkgMCAxLjY5N2wtMi43NTggMy4xNTIgMi43NTggMy4xNWMwLjQ2OSAwLjQ2OSAwLjQ2OSAxLjIyOSAwIDEuNjk4elwiIC8+XG4gIDwvU3ZnPlxuKTtcbmV4cG9ydCB0eXBlIERvd25DaGV2cm9uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgRG93bkNoZXZyb24gPSAocHJvcHM6IERvd25DaGV2cm9uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTQuNTE2IDcuNTQ4YzAuNDM2LTAuNDQ2IDEuMDQzLTAuNDgxIDEuNTc2IDBsMy45MDggMy43NDcgMy45MDgtMy43NDdjMC41MzMtMC40ODEgMS4xNDEtMC40NDYgMS41NzQgMCAwLjQzNiAwLjQ0NSAwLjQwOCAxLjE5NyAwIDEuNjE1LTAuNDA2IDAuNDE4LTQuNjk1IDQuNTAyLTQuNjk1IDQuNTAyLTAuMjE3IDAuMjIzLTAuNTAyIDAuMzM1LTAuNzg3IDAuMzM1cy0wLjU3LTAuMTEyLTAuNzg5LTAuMzM1YzAgMC00LjI4Ny00LjA4NC00LjY5NS00LjUwMnMtMC40MzYtMS4xNyAwLTEuNjE1elwiIC8+XG4gIDwvU3ZnPlxuKTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEJ1dHRvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xufVxuXG5jb25zdCBiYXNlQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTpcbiAgICB8IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbiAgICB8IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JDb250YWluZXInLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICAgICc6aG92ZXInOiB7XG4gICAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsODAgOiBjb2xvcnMubmV1dHJhbDQwLFxuICAgICAgICB9LFxuICAgICAgfSksXG59KTtcblxuZXhwb3J0IGNvbnN0IGRyb3Bkb3duSW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBEcm9wZG93bkluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2Ryb3Bkb3duSW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGludGVyZmFjZSBDbGVhckluZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFRoZSBjaGlsZHJlbiB0byBiZSByZW5kZXJlZCBpbnNpZGUgdGhlIGluZGljYXRvci4gKi9cbiAgY2hpbGRyZW4/OiBSZWFjdE5vZGU7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2NsZWFySW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdjbGVhci1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPENyb3NzSWNvbiAvPn1cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gU2VwYXJhdG9yXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuZXhwb3J0IGludGVyZmFjZSBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaW5uZXJQcm9wcz86IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3BhbiddO1xufVxuXG5leHBvcnQgY29uc3QgaW5kaWNhdG9yU2VwYXJhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNEaXNhYmxlZCxcbiAgICB0aGVtZToge1xuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgICAgY29sb3JzLFxuICAgIH0sXG4gIH06IEluZGljYXRvclNlcGFyYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+LFxuICB1bnN0eWxlZDogYm9vbGVhblxuKTogQ1NTT2JqZWN0V2l0aExhYmVsID0+ICh7XG4gIGxhYmVsOiAnaW5kaWNhdG9yU2VwYXJhdG9yJyxcbiAgYWxpZ25TZWxmOiAnc3RyZXRjaCcsXG4gIHdpZHRoOiAxLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGJhY2tncm91bmRDb2xvcjogaXNEaXNhYmxlZCA/IGNvbG9ycy5uZXV0cmFsMTAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBtYXJnaW5Cb3R0b206IGJhc2VVbml0ICogMixcbiAgICAgICAgbWFyZ2luVG9wOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgSW5kaWNhdG9yU2VwYXJhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxzcGFuXG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnaW5kaWNhdG9yU2VwYXJhdG9yJywge1xuICAgICAgICAnaW5kaWNhdG9yLXNlcGFyYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAvPlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBMb2FkaW5nXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgbG9hZGluZ0RvdEFuaW1hdGlvbnMgPSBrZXlmcmFtZXNgXG4gIDAlLCA4MCUsIDEwMCUgeyBvcGFjaXR5OiAwOyB9XG4gIDQwJSB7IG9wYWNpdHk6IDE7IH1cbmA7XG5cbmV4cG9ydCBjb25zdCBsb2FkaW5nSW5kaWNhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHNpemUsXG4gICAgdGhlbWU6IHtcbiAgICAgIGNvbG9ycyxcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICB9LFxuICB9OiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICB0cmFuc2l0aW9uOiAnY29sb3IgMTUwbXMnLFxuICBhbGlnblNlbGY6ICdjZW50ZXInLFxuICBmb250U2l6ZTogc2l6ZSxcbiAgbGluZUhlaWdodDogMSxcbiAgbWFyZ2luUmlnaHQ6IHNpemUsXG4gIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gIHZlcnRpY2FsQWxpZ246ICdtaWRkbGUnLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDYwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgICAgICAgcGFkZGluZzogYmFzZVVuaXQgKiAyLFxuICAgICAgfSksXG59KTtcblxuaW50ZXJmYWNlIExvYWRpbmdEb3RQcm9wcyB7XG4gIGRlbGF5OiBudW1iZXI7XG4gIG9mZnNldDogYm9vbGVhbjtcbn1cbmNvbnN0IExvYWRpbmdEb3QgPSAoeyBkZWxheSwgb2Zmc2V0IH06IExvYWRpbmdEb3RQcm9wcykgPT4gKFxuICA8c3BhblxuICAgIGNzcz17e1xuICAgICAgYW5pbWF0aW9uOiBgJHtsb2FkaW5nRG90QW5pbWF0aW9uc30gMXMgZWFzZS1pbi1vdXQgJHtkZWxheX1tcyBpbmZpbml0ZTtgLFxuICAgICAgYmFja2dyb3VuZENvbG9yOiAnY3VycmVudENvbG9yJyxcbiAgICAgIGJvcmRlclJhZGl1czogJzFlbScsXG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIG1hcmdpbkxlZnQ6IG9mZnNldCA/ICcxZW0nIDogdW5kZWZpbmVkLFxuICAgICAgaGVpZ2h0OiAnMWVtJyxcbiAgICAgIHZlcnRpY2FsQWxpZ246ICd0b3AnLFxuICAgICAgd2lkdGg6ICcxZW0nLFxuICAgIH19XG4gIC8+XG4pO1xuXG5leHBvcnQgaW50ZXJmYWNlIExvYWRpbmdJbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgLyoqIFNldCBzaXplIG9mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */",toString:E$},tk=function(r){var i=r.size,u=Zs(r,C$);return Ct("svg",xt({height:i,width:i,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:S$},u))},Iw=function(r){return Ct(tk,xt({size:20},r),Ct("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},nk=function(r){return Ct(tk,xt({size:20},r),Ct("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},rk=function(r,i){var u=r.isFocused,l=r.theme,d=l.spacing.baseUnit,p=l.colors;return vt({label:"indicatorContainer",display:"flex",transition:"color 150ms"},i?{}:{color:u?p.neutral60:p.neutral20,padding:d*2,":hover":{color:u?p.neutral80:p.neutral40}})},w$=rk,R$=function(r){var i=r.children,u=r.innerProps;return Ct("div",xt({},mr(r,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),u),i||Ct(nk,null))},T$=rk,I$=function(r){var i=r.children,u=r.innerProps;return Ct("div",xt({},mr(r,"clearIndicator",{indicator:!0,"clear-indicator":!0}),u),i||Ct(Iw,null))},A$=function(r,i){var u=r.isDisabled,l=r.theme,d=l.spacing.baseUnit,p=l.colors;return vt({label:"indicatorSeparator",alignSelf:"stretch",width:1},i?{}:{backgroundColor:u?p.neutral10:p.neutral20,marginBottom:d*2,marginTop:d*2})},N$=function(r){var i=r.innerProps;return Ct("span",xt({},i,mr(r,"indicatorSeparator",{"indicator-separator":!0})))},O$=b5(uO||(uO=R5([`
305
+ `+("css`"+g+"`"))}break}if(r==null)return i;var b=r[i];return b!==void 0?b:i}function u5(n,r,i){var u="";if(Array.isArray(i))for(var l=0;l<i.length;l++)u+=bm(n,r,i[l])+";";else for(var d in i){var p=i[d];if(typeof p!="object")r!=null&&r[p]!==void 0?u+=d+"{"+r[p]+"}":YN(p)&&(u+=DS(d)+":"+c0(d,p)+";");else{if(d==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(Vj);if(Array.isArray(p)&&typeof p[0]=="string"&&(r==null||r[p[0]]===void 0))for(var y=0;y<p.length;y++)YN(p[y])&&(u+=DS(d)+":"+c0(d,p[y])+";");else{var g=bm(n,r,p);switch(d){case"animation":case"animationName":{u+=DS(d)+":"+g+";";break}default:process.env.NODE_ENV!=="production"&&d==="undefined"&&console.error(t5),u+=d+"{"+g+"}"}}}}return u}var JN=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Bj;process.env.NODE_ENV!=="production"&&(Bj=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var Zo,Cm=function(r,i,u){if(r.length===1&&typeof r[0]=="object"&&r[0]!==null&&r[0].styles!==void 0)return r[0];var l=!0,d="";Zo=void 0;var p=r[0];p==null||p.raw===void 0?(l=!1,d+=bm(u,i,p)):(process.env.NODE_ENV!=="production"&&p[0]===void 0&&console.error(XN),d+=p[0]);for(var y=1;y<r.length;y++)d+=bm(u,i,r[y]),l&&(process.env.NODE_ENV!=="production"&&p[y]===void 0&&console.error(XN),d+=p[y]);var g;process.env.NODE_ENV!=="production"&&(d=d.replace(Bj,function(T){return g=T,""})),JN.lastIndex=0;for(var b="",E;(E=JN.exec(d))!==null;)b+="-"+E[1];var w=KG(d)+b;return process.env.NODE_ENV!=="production"?{name:w,styles:d,map:g,next:Zo,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:d,next:Zo}},l5=function(r){return r()},zj=Jb.useInsertionEffect?Jb.useInsertionEffect:!1,Hj=zj||l5,qN=zj||M.useLayoutEffect,Cw={}.hasOwnProperty,xw=M.createContext(typeof HTMLElement<"u"?ZG({key:"css"}):null);process.env.NODE_ENV!=="production"&&(xw.displayName="EmotionCacheContext");xw.Provider;var Ew=function(r){return M.forwardRef(function(i,u){var l=M.useContext(xw);return r(i,l,u)})},k0=M.createContext({});process.env.NODE_ENV!=="production"&&(k0.displayName="EmotionThemeContext");var QN=function(r){var i=r.split(".");return i[i.length-1]},c5=function(r){var i=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(r);if(i||(i=/^([A-Za-z0-9$.]+)@/.exec(r),i))return QN(i[1])},f5=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),d5=function(r){return r.replace(/\$/g,"-")},p5=function(r){if(r)for(var i=r.split(`
306
+ `),u=0;u<i.length;u++){var l=c5(i[u]);if(l){if(f5.has(l))break;if(/^[A-Z]/.test(l))return d5(l)}}},C1="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",x1="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",v5=function(r,i){if(process.env.NODE_ENV!=="production"&&typeof i.css=="string"&&i.css.indexOf(":")!==-1)throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+i.css+"`");var u={};for(var l in i)Cw.call(i,l)&&(u[l]=i[l]);if(u[C1]=r,process.env.NODE_ENV!=="production"&&i.css&&(typeof i.css!="object"||typeof i.css.name!="string"||i.css.name.indexOf("-")===-1)){var d=p5(new Error().stack);d&&(u[x1]=d)}return u},h5=function(r){var i=r.cache,u=r.serialized,l=r.isStringTag;return gw(i,u,l),Hj(function(){return yw(i,u,l)}),null},Uj=Ew(function(n,r,i){var u=n.css;typeof u=="string"&&r.registered[u]!==void 0&&(u=r.registered[u]);var l=n[C1],d=[u],p="";typeof n.className=="string"?p=Fj(r.registered,d,n.className):n.className!=null&&(p=n.className+" ");var y=Cm(d,void 0,M.useContext(k0));if(process.env.NODE_ENV!=="production"&&y.name.indexOf("-")===-1){var g=n[x1];g&&(y=Cm([y,"label:"+g+";"]))}p+=r.key+"-"+y.name;var b={};for(var E in n)Cw.call(n,E)&&E!=="css"&&E!==C1&&(process.env.NODE_ENV==="production"||E!==x1)&&(b[E]=n[E]);return b.ref=i,b.className=p,M.createElement(M.Fragment,null,M.createElement(h5,{cache:r,serialized:y,isStringTag:typeof l=="string"}),M.createElement(l,b))});process.env.NODE_ENV!=="production"&&(Uj.displayName="EmotionCssPropInternal");var m5=Uj,g5={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"}}}}},Ct=function(r,i){var u=arguments;if(i==null||!Cw.call(i,"css"))return M.createElement.apply(void 0,u);var l=u.length,d=new Array(l);d[0]=m5,d[1]=v5(r,i);for(var p=2;p<l;p++)d[p]=u[p];return M.createElement.apply(null,d)},KN=!1,y5=Ew(function(n,r){process.env.NODE_ENV!=="production"&&!KN&&(n.className||n.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),KN=!0);var i=n.styles,u=Cm([i],void 0,M.useContext(k0)),l=M.useRef();return qN(function(){var d=r.key+"-global",p=new r.sheet.constructor({key:d,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy}),y=!1,g=document.querySelector('style[data-emotion="'+d+" "+u.name+'"]');return r.sheet.tags.length&&(p.before=r.sheet.tags[0]),g!==null&&(y=!0,g.setAttribute("data-emotion",d),p.hydrate([g])),l.current=[p,y],function(){p.flush()}},[r]),qN(function(){var d=l.current,p=d[0],y=d[1];if(y){d[1]=!1;return}if(u.next!==void 0&&yw(r,u.next,!0),p.tags.length){var g=p.tags[p.tags.length-1].nextElementSibling;p.before=g,p.flush()}r.insert("",u,p,!1)},[r,u.name]),null});process.env.NODE_ENV!=="production"&&(y5.displayName="EmotionGlobal");function Sw(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return Cm(r)}var b5=function(){var r=Sw.apply(void 0,arguments),i="animation-"+r.name;return{name:i,styles:"@keyframes "+i+"{"+r.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},C5=function n(r){for(var i=r.length,u=0,l="";u<i;u++){var d=r[u];if(d!=null){var p=void 0;switch(typeof d){case"boolean":break;case"object":{if(Array.isArray(d))p=n(d);else{process.env.NODE_ENV!=="production"&&d.styles!==void 0&&d.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."),p="";for(var y in d)d[y]&&y&&(p&&(p+=" "),p+=y)}break}default:p=d}p&&(l&&(l+=" "),l+=p)}}return l};function x5(n,r,i){var u=[],l=Fj(n,u,i);return u.length<2?i:l+r(u)}var E5=function(r){var i=r.cache,u=r.serializedArr;return Hj(function(){for(var l=0;l<u.length;l++)yw(i,u[l],!1)}),null},S5=Ew(function(n,r){var i=!1,u=[],l=function(){if(i&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var b=arguments.length,E=new Array(b),w=0;w<b;w++)E[w]=arguments[w];var T=Cm(E,r.registered);return u.push(T),gw(r,T,!1),r.key+"-"+T.name},d=function(){if(i&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var b=arguments.length,E=new Array(b),w=0;w<b;w++)E[w]=arguments[w];return x5(r.registered,l,C5(E))},p={css:l,cx:d,theme:M.useContext(k0)},y=n.children(p);return i=!0,M.createElement(M.Fragment,null,M.createElement(E5,{cache:r,serializedArr:u}),y)});process.env.NODE_ENV!=="production"&&(S5.displayName="EmotionClassNames");if(process.env.NODE_ENV!=="production"){var eO=!0,w5=typeof jest<"u"||typeof vi<"u";if(eO&&!w5){var tO=typeof globalThis<"u"?globalThis:eO?window:global,nO="__EMOTION_REACT_"+g5.version.split(".")[0]+"__";tO[nO]&&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."),tO[nO]=!0}}function R5(n,r){return r||(r=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(r)}}))}const T5=Math.min,I5=Math.max,f0=Math.round,Ab=Math.floor,d0=n=>({x:n,y:n});function A5(n){return{...n,top:n.y,left:n.x,right:n.x+n.width,bottom:n.y+n.height}}function Gj(n){return Wj(n)?(n.nodeName||"").toLowerCase():"#document"}function Jo(n){var r;return(n==null||(r=n.ownerDocument)==null?void 0:r.defaultView)||window}function $j(n){var r;return(r=(Wj(n)?n.ownerDocument:n.document)||window.document)==null?void 0:r.documentElement}function Wj(n){return n instanceof Node||n instanceof Jo(n).Node}function E1(n){return n instanceof Element||n instanceof Jo(n).Element}function ww(n){return n instanceof HTMLElement||n instanceof Jo(n).HTMLElement}function rO(n){return typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof Jo(n).ShadowRoot}function Xj(n){const{overflow:r,overflowX:i,overflowY:u,display:l}=Rw(n);return/auto|scroll|overlay|hidden|clip/.test(r+u+i)&&!["inline","contents"].includes(l)}function N5(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function O5(n){return["html","body","#document"].includes(Gj(n))}function Rw(n){return Jo(n).getComputedStyle(n)}function _5(n){if(Gj(n)==="html")return n;const r=n.assignedSlot||n.parentNode||rO(n)&&n.host||$j(n);return rO(r)?r.host:r}function Yj(n){const r=_5(n);return O5(r)?n.ownerDocument?n.ownerDocument.body:n.body:ww(r)&&Xj(r)?r:Yj(r)}function p0(n,r,i){var u;r===void 0&&(r=[]),i===void 0&&(i=!0);const l=Yj(n),d=l===((u=n.ownerDocument)==null?void 0:u.body),p=Jo(l);return d?r.concat(p,p.visualViewport||[],Xj(l)?l:[],p.frameElement&&i?p0(p.frameElement):[]):r.concat(l,p0(l,[],i))}function D5(n){const r=Rw(n);let i=parseFloat(r.width)||0,u=parseFloat(r.height)||0;const l=ww(n),d=l?n.offsetWidth:i,p=l?n.offsetHeight:u,y=f0(i)!==d||f0(u)!==p;return y&&(i=d,u=p),{width:i,height:u,$:y}}function Tw(n){return E1(n)?n:n.contextElement}function jS(n){const r=Tw(n);if(!ww(r))return d0(1);const i=r.getBoundingClientRect(),{width:u,height:l,$:d}=D5(r);let p=(d?f0(i.width):i.width)/u,y=(d?f0(i.height):i.height)/l;return(!p||!Number.isFinite(p))&&(p=1),(!y||!Number.isFinite(y))&&(y=1),{x:p,y}}const j5=d0(0);function k5(n){const r=Jo(n);return!N5()||!r.visualViewport?j5:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function M5(n,r,i){return r===void 0&&(r=!1),!i||r&&i!==Jo(n)?!1:r}function aO(n,r,i,u){r===void 0&&(r=!1),i===void 0&&(i=!1);const l=n.getBoundingClientRect(),d=Tw(n);let p=d0(1);r&&(u?E1(u)&&(p=jS(u)):p=jS(n));const y=M5(d,i,u)?k5(d):d0(0);let g=(l.left+y.x)/p.x,b=(l.top+y.y)/p.y,E=l.width/p.x,w=l.height/p.y;if(d){const T=Jo(d),A=u&&E1(u)?Jo(u):u;let N=T.frameElement;for(;N&&u&&A!==T;){const j=jS(N),O=N.getBoundingClientRect(),L=Rw(N),B=O.left+(N.clientLeft+parseFloat(L.paddingLeft))*j.x,P=O.top+(N.clientTop+parseFloat(L.paddingTop))*j.y;g*=j.x,b*=j.y,E*=j.x,w*=j.y,g+=B,b+=P,N=Jo(N).frameElement}}return A5({width:E,height:w,x:g,y:b})}function L5(n,r){let i=null,u;const l=$j(n);function d(){var y;clearTimeout(u),(y=i)==null||y.disconnect(),i=null}function p(y,g){y===void 0&&(y=!1),g===void 0&&(g=1),d();const{left:b,top:E,width:w,height:T}=n.getBoundingClientRect();if(y||r(),!w||!T)return;const A=Ab(E),N=Ab(l.clientWidth-(b+w)),j=Ab(l.clientHeight-(E+T)),O=Ab(b),B={rootMargin:-A+"px "+-N+"px "+-j+"px "+-O+"px",threshold:I5(0,T5(1,g))||1};let P=!0;function U(z){const G=z[0].intersectionRatio;if(G!==g){if(!P)return p();G?p(!1,G):u=setTimeout(()=>{p(!1,1e-7)},100)}P=!1}try{i=new IntersectionObserver(U,{...B,root:l.ownerDocument})}catch{i=new IntersectionObserver(U,B)}i.observe(n)}return p(!0),d}function F5(n,r,i,u){u===void 0&&(u={});const{ancestorScroll:l=!0,ancestorResize:d=!0,elementResize:p=typeof ResizeObserver=="function",layoutShift:y=typeof IntersectionObserver=="function",animationFrame:g=!1}=u,b=Tw(n),E=l||d?[...b?p0(b):[],...p0(r)]:[];E.forEach(L=>{l&&L.addEventListener("scroll",i,{passive:!0}),d&&L.addEventListener("resize",i)});const w=b&&y?L5(b,i):null;let T=-1,A=null;p&&(A=new ResizeObserver(L=>{let[B]=L;B&&B.target===b&&A&&(A.unobserve(r),cancelAnimationFrame(T),T=requestAnimationFrame(()=>{var P;(P=A)==null||P.observe(r)})),i()}),b&&!g&&A.observe(b),A.observe(r));let N,j=g?aO(n):null;g&&O();function O(){const L=aO(n);j&&(L.x!==j.x||L.y!==j.y||L.width!==j.width||L.height!==j.height)&&i(),j=L,N=requestAnimationFrame(O)}return i(),()=>{var L;E.forEach(B=>{l&&B.removeEventListener("scroll",i),d&&B.removeEventListener("resize",i)}),w==null||w(),(L=A)==null||L.disconnect(),A=null,g&&cancelAnimationFrame(N)}}var S1=M.useLayoutEffect,P5=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],v0=function(){};function V5(n,r){return r?r[0]==="-"?n+r:n+"__"+r:n}function B5(n,r){for(var i=arguments.length,u=new Array(i>2?i-2:0),l=2;l<i;l++)u[l-2]=arguments[l];var d=[].concat(u);if(r&&n)for(var p in r)r.hasOwnProperty(p)&&r[p]&&d.push("".concat(V5(n,p)));return d.filter(function(y){return y}).map(function(y){return String(y).trim()}).join(" ")}var iO=function(r){return J5(r)?r.filter(Boolean):Nf(r)==="object"&&r!==null?[r]:[]},Zj=function(r){r.className,r.clearValue,r.cx,r.getStyles,r.getClassNames,r.getValue,r.hasValue,r.isMulti,r.isRtl,r.options,r.selectOption,r.selectProps,r.setValue,r.theme;var i=Zs(r,P5);return vt({},i)},mr=function(r,i,u){var l=r.cx,d=r.getStyles,p=r.getClassNames,y=r.className;return{css:d(i,r),className:l(u??{},p(i,r),y)}};function z5(n,r,i){if(i){var u=i(n,r);if(typeof u=="string")return u}return n}function M0(n){return[document.documentElement,document.body,window].indexOf(n)>-1}function H5(n){return M0(n)?window.innerHeight:n.clientHeight}function Jj(n){return M0(n)?window.pageYOffset:n.scrollTop}function h0(n,r){if(M0(n)){window.scrollTo(0,r);return}n.scrollTop=r}function U5(n){var r=getComputedStyle(n),i=r.position==="absolute",u=/(auto|scroll)/;if(r.position==="fixed")return document.documentElement;for(var l=n;l=l.parentElement;)if(r=getComputedStyle(l),!(i&&r.position==="static")&&u.test(r.overflow+r.overflowY+r.overflowX))return l;return document.documentElement}function G5(n,r,i,u){return i*((n=n/u-1)*n*n+1)+r}function Nb(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:v0,l=Jj(n),d=r-l,p=10,y=0;function g(){y+=p;var b=G5(y,l,d,i);h0(n,b),y<i?window.requestAnimationFrame(g):u(n)}g()}function oO(n,r){var i=n.getBoundingClientRect(),u=r.getBoundingClientRect(),l=r.offsetHeight/3;u.bottom+l>i.bottom?h0(n,Math.min(r.offsetTop+r.clientHeight-n.offsetHeight+l,n.scrollHeight)):u.top-l<i.top&&h0(n,Math.max(r.offsetTop-l,0))}function $5(n){var r=n.getBoundingClientRect();return{bottom:r.bottom,height:r.height,left:r.left,right:r.right,top:r.top,width:r.width}}function sO(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function W5(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var qj=!1,X5={get passive(){return qj=!0}},Ob=typeof window<"u"?window:{};Ob.addEventListener&&Ob.removeEventListener&&(Ob.addEventListener("p",v0,X5),Ob.removeEventListener("p",v0,!1));var Y5=qj;function Z5(n){return n!=null}function J5(n){return Array.isArray(n)}function _b(n,r,i){return n?r:i}var q5=function(r){for(var i=arguments.length,u=new Array(i>1?i-1:0),l=1;l<i;l++)u[l-1]=arguments[l];var d=Object.entries(r).filter(function(p){var y=ta(p,1),g=y[0];return!u.includes(g)});return d.reduce(function(p,y){var g=ta(y,2),b=g[0],E=g[1];return p[b]=E,p},{})},Q5=["children","innerProps"],K5=["children","innerProps"];function e$(n){var r=n.maxHeight,i=n.menuEl,u=n.minHeight,l=n.placement,d=n.shouldScroll,p=n.isFixedPosition,y=n.controlHeight,g=U5(i),b={placement:"bottom",maxHeight:r};if(!i||!i.offsetParent)return b;var E=g.getBoundingClientRect(),w=E.height,T=i.getBoundingClientRect(),A=T.bottom,N=T.height,j=T.top,O=i.offsetParent.getBoundingClientRect(),L=O.top,B=p?window.innerHeight:H5(g),P=Jj(g),U=parseInt(getComputedStyle(i).marginBottom,10),z=parseInt(getComputedStyle(i).marginTop,10),G=L-z,X=B-j,te=G+P,Re=w-P-j,ue=A-B+P+U,pe=P+j-z,ye=160;switch(l){case"auto":case"bottom":if(X>=N)return{placement:"bottom",maxHeight:r};if(Re>=N&&!p)return d&&Nb(g,ue,ye),{placement:"bottom",maxHeight:r};if(!p&&Re>=u||p&&X>=u){d&&Nb(g,ue,ye);var me=p?X-U:Re-U;return{placement:"bottom",maxHeight:me}}if(l==="auto"||p){var Ae=r,_e=p?G:te;return _e>=u&&(Ae=Math.min(_e-U-y,r)),{placement:"top",maxHeight:Ae}}if(l==="bottom")return d&&h0(g,ue),{placement:"bottom",maxHeight:r};break;case"top":if(G>=N)return{placement:"top",maxHeight:r};if(te>=N&&!p)return d&&Nb(g,pe,ye),{placement:"top",maxHeight:r};if(!p&&te>=u||p&&G>=u){var Oe=r;return(!p&&te>=u||p&&G>=u)&&(Oe=p?G-z:te-z),d&&Nb(g,pe,ye),{placement:"top",maxHeight:Oe}}return{placement:"bottom",maxHeight:r};default:throw new Error('Invalid placement provided "'.concat(l,'".'))}return b}function t$(n){var r={bottom:"top",top:"bottom"};return n?r[n]:"bottom"}var Qj=function(r){return r==="auto"?"bottom":r},n$=function(r,i){var u,l=r.placement,d=r.theme,p=d.borderRadius,y=d.spacing,g=d.colors;return vt((u={label:"menu"},Ep(u,t$(l),"100%"),Ep(u,"position","absolute"),Ep(u,"width","100%"),Ep(u,"zIndex",1),u),i?{}:{backgroundColor:g.neutral0,borderRadius:p,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:y.menuGutter,marginTop:y.menuGutter})},Kj=M.createContext(null),r$=function(r){var i=r.children,u=r.minMenuHeight,l=r.maxMenuHeight,d=r.menuPlacement,p=r.menuPosition,y=r.menuShouldScrollIntoView,g=r.theme,b=M.useContext(Kj)||{},E=b.setPortalPlacement,w=M.useRef(null),T=M.useState(l),A=ta(T,2),N=A[0],j=A[1],O=M.useState(null),L=ta(O,2),B=L[0],P=L[1],U=g.spacing.controlHeight;return S1(function(){var z=w.current;if(z){var G=p==="fixed",X=y&&!G,te=e$({maxHeight:l,menuEl:z,minHeight:u,placement:d,shouldScroll:X,isFixedPosition:G,controlHeight:U});j(te.maxHeight),P(te.placement),E==null||E(te.placement)}},[l,d,p,y,u,E,U]),i({ref:w,placerProps:vt(vt({},r),{},{placement:B||Qj(d),maxHeight:N})})},a$=function(r){var i=r.children,u=r.innerRef,l=r.innerProps;return Ct("div",xt({},mr(r,"menu",{menu:!0}),{ref:u},l),i)},i$=a$,o$=function(r,i){var u=r.maxHeight,l=r.theme.spacing.baseUnit;return vt({maxHeight:u,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},i?{}:{paddingBottom:l,paddingTop:l})},s$=function(r){var i=r.children,u=r.innerProps,l=r.innerRef,d=r.isMulti;return Ct("div",xt({},mr(r,"menuList",{"menu-list":!0,"menu-list--is-multi":d}),{ref:l},u),i)},ek=function(r,i){var u=r.theme,l=u.spacing.baseUnit,d=u.colors;return vt({textAlign:"center"},i?{}:{color:d.neutral40,padding:"".concat(l*2,"px ").concat(l*3,"px")})},u$=ek,l$=ek,c$=function(r){var i=r.children,u=i===void 0?"No options":i,l=r.innerProps,d=Zs(r,Q5);return Ct("div",xt({},mr(vt(vt({},d),{},{children:u,innerProps:l}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),l),u)},f$=function(r){var i=r.children,u=i===void 0?"Loading...":i,l=r.innerProps,d=Zs(r,K5);return Ct("div",xt({},mr(vt(vt({},d),{},{children:u,innerProps:l}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),l),u)},d$=function(r){var i=r.rect,u=r.offset,l=r.position;return{left:i.left,position:l,top:u,width:i.width,zIndex:1}},p$=function(r){var i=r.appendTo,u=r.children,l=r.controlElement,d=r.innerProps,p=r.menuPlacement,y=r.menuPosition,g=M.useRef(null),b=M.useRef(null),E=M.useState(Qj(p)),w=ta(E,2),T=w[0],A=w[1],N=M.useMemo(function(){return{setPortalPlacement:A}},[]),j=M.useState(null),O=ta(j,2),L=O[0],B=O[1],P=M.useCallback(function(){if(l){var X=$5(l),te=y==="fixed"?0:window.pageYOffset,Re=X[T]+te;(Re!==(L==null?void 0:L.offset)||X.left!==(L==null?void 0:L.rect.left)||X.width!==(L==null?void 0:L.rect.width))&&B({offset:Re,rect:X})}},[l,y,T,L==null?void 0:L.offset,L==null?void 0:L.rect.left,L==null?void 0:L.rect.width]);S1(function(){P()},[P]);var U=M.useCallback(function(){typeof b.current=="function"&&(b.current(),b.current=null),l&&g.current&&(b.current=F5(l,g.current,P,{elementResize:"ResizeObserver"in window}))},[l,P]);S1(function(){U()},[U]);var z=M.useCallback(function(X){g.current=X,U()},[U]);if(!i&&y!=="fixed"||!L)return null;var G=Ct("div",xt({ref:z},mr(vt(vt({},r),{},{offset:L.offset,position:y,rect:L.rect}),"menuPortal",{"menu-portal":!0}),d),u);return Ct(Kj.Provider,{value:N},i?A1.createPortal(G,i):G)},v$=function(r){var i=r.isDisabled,u=r.isRtl;return{label:"container",direction:u?"rtl":void 0,pointerEvents:i?"none":void 0,position:"relative"}},h$=function(r){var i=r.children,u=r.innerProps,l=r.isDisabled,d=r.isRtl;return Ct("div",xt({},mr(r,"container",{"--is-disabled":l,"--is-rtl":d}),u),i)},m$=function(r,i){var u=r.theme.spacing,l=r.isMulti,d=r.hasValue,p=r.selectProps.controlShouldRenderValue;return vt({alignItems:"center",display:l&&d&&p?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},i?{}:{padding:"".concat(u.baseUnit/2,"px ").concat(u.baseUnit*2,"px")})},g$=function(r){var i=r.children,u=r.innerProps,l=r.isMulti,d=r.hasValue;return Ct("div",xt({},mr(r,"valueContainer",{"value-container":!0,"value-container--is-multi":l,"value-container--has-value":d}),u),i)},y$=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},b$=function(r){var i=r.children,u=r.innerProps;return Ct("div",xt({},mr(r,"indicatorsContainer",{indicators:!0}),u),i)},uO,C$=["size"],x$=["innerProps","isRtl","size"];function E$(){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)."}var S$=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3InLFxuICAgICAgbGluZUhlaWdodDogMSxcbiAgICAgIHN0cm9rZTogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBzdHJva2VXaWR0aDogMCxcbiAgICB9fVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG5cbmV4cG9ydCB0eXBlIENyb3NzSWNvblByb3BzID0gSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZT86IG51bWJlciB9O1xuZXhwb3J0IGNvbnN0IENyb3NzSWNvbiA9IChwcm9wczogQ3Jvc3NJY29uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTE0LjM0OCAxNC44NDljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDBsLTIuNjUxLTMuMDMwLTIuNjUxIDMuMDI5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI5IDAtMS42OTdsMi43NTgtMy4xNS0yLjc1OS0zLjE1MmMtMC40NjktMC40NjktMC40NjktMS4yMjggMC0xLjY5N3MxLjIyOC0wLjQ2OSAxLjY5NyAwbDIuNjUyIDMuMDMxIDIuNjUxLTMuMDMxYzAuNDY5LTAuNDY5IDEuMjI4LTAuNDY5IDEuNjk3IDBzMC40NjkgMS4yMjkgMCAxLjY5N2wtMi43NTggMy4xNTIgMi43NTggMy4xNWMwLjQ2OSAwLjQ2OSAwLjQ2OSAxLjIyOSAwIDEuNjk4elwiIC8+XG4gIDwvU3ZnPlxuKTtcbmV4cG9ydCB0eXBlIERvd25DaGV2cm9uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgRG93bkNoZXZyb24gPSAocHJvcHM6IERvd25DaGV2cm9uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTQuNTE2IDcuNTQ4YzAuNDM2LTAuNDQ2IDEuMDQzLTAuNDgxIDEuNTc2IDBsMy45MDggMy43NDcgMy45MDgtMy43NDdjMC41MzMtMC40ODEgMS4xNDEtMC40NDYgMS41NzQgMCAwLjQzNiAwLjQ0NSAwLjQwOCAxLjE5NyAwIDEuNjE1LTAuNDA2IDAuNDE4LTQuNjk1IDQuNTAyLTQuNjk1IDQuNTAyLTAuMjE3IDAuMjIzLTAuNTAyIDAuMzM1LTAuNzg3IDAuMzM1cy0wLjU3LTAuMTEyLTAuNzg5LTAuMzM1YzAgMC00LjI4Ny00LjA4NC00LjY5NS00LjUwMnMtMC40MzYtMS4xNyAwLTEuNjE1elwiIC8+XG4gIDwvU3ZnPlxuKTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEJ1dHRvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xufVxuXG5jb25zdCBiYXNlQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTpcbiAgICB8IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbiAgICB8IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JDb250YWluZXInLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICAgICc6aG92ZXInOiB7XG4gICAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsODAgOiBjb2xvcnMubmV1dHJhbDQwLFxuICAgICAgICB9LFxuICAgICAgfSksXG59KTtcblxuZXhwb3J0IGNvbnN0IGRyb3Bkb3duSW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBEcm9wZG93bkluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2Ryb3Bkb3duSW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGludGVyZmFjZSBDbGVhckluZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFRoZSBjaGlsZHJlbiB0byBiZSByZW5kZXJlZCBpbnNpZGUgdGhlIGluZGljYXRvci4gKi9cbiAgY2hpbGRyZW4/OiBSZWFjdE5vZGU7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2NsZWFySW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdjbGVhci1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPENyb3NzSWNvbiAvPn1cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gU2VwYXJhdG9yXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuZXhwb3J0IGludGVyZmFjZSBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaW5uZXJQcm9wcz86IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3BhbiddO1xufVxuXG5leHBvcnQgY29uc3QgaW5kaWNhdG9yU2VwYXJhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNEaXNhYmxlZCxcbiAgICB0aGVtZToge1xuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgICAgY29sb3JzLFxuICAgIH0sXG4gIH06IEluZGljYXRvclNlcGFyYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+LFxuICB1bnN0eWxlZDogYm9vbGVhblxuKTogQ1NTT2JqZWN0V2l0aExhYmVsID0+ICh7XG4gIGxhYmVsOiAnaW5kaWNhdG9yU2VwYXJhdG9yJyxcbiAgYWxpZ25TZWxmOiAnc3RyZXRjaCcsXG4gIHdpZHRoOiAxLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGJhY2tncm91bmRDb2xvcjogaXNEaXNhYmxlZCA/IGNvbG9ycy5uZXV0cmFsMTAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBtYXJnaW5Cb3R0b206IGJhc2VVbml0ICogMixcbiAgICAgICAgbWFyZ2luVG9wOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgSW5kaWNhdG9yU2VwYXJhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxzcGFuXG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnaW5kaWNhdG9yU2VwYXJhdG9yJywge1xuICAgICAgICAnaW5kaWNhdG9yLXNlcGFyYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAvPlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBMb2FkaW5nXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgbG9hZGluZ0RvdEFuaW1hdGlvbnMgPSBrZXlmcmFtZXNgXG4gIDAlLCA4MCUsIDEwMCUgeyBvcGFjaXR5OiAwOyB9XG4gIDQwJSB7IG9wYWNpdHk6IDE7IH1cbmA7XG5cbmV4cG9ydCBjb25zdCBsb2FkaW5nSW5kaWNhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHNpemUsXG4gICAgdGhlbWU6IHtcbiAgICAgIGNvbG9ycyxcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICB9LFxuICB9OiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICB0cmFuc2l0aW9uOiAnY29sb3IgMTUwbXMnLFxuICBhbGlnblNlbGY6ICdjZW50ZXInLFxuICBmb250U2l6ZTogc2l6ZSxcbiAgbGluZUhlaWdodDogMSxcbiAgbWFyZ2luUmlnaHQ6IHNpemUsXG4gIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gIHZlcnRpY2FsQWxpZ246ICdtaWRkbGUnLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDYwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgICAgICAgcGFkZGluZzogYmFzZVVuaXQgKiAyLFxuICAgICAgfSksXG59KTtcblxuaW50ZXJmYWNlIExvYWRpbmdEb3RQcm9wcyB7XG4gIGRlbGF5OiBudW1iZXI7XG4gIG9mZnNldDogYm9vbGVhbjtcbn1cbmNvbnN0IExvYWRpbmdEb3QgPSAoeyBkZWxheSwgb2Zmc2V0IH06IExvYWRpbmdEb3RQcm9wcykgPT4gKFxuICA8c3BhblxuICAgIGNzcz17e1xuICAgICAgYW5pbWF0aW9uOiBgJHtsb2FkaW5nRG90QW5pbWF0aW9uc30gMXMgZWFzZS1pbi1vdXQgJHtkZWxheX1tcyBpbmZpbml0ZTtgLFxuICAgICAgYmFja2dyb3VuZENvbG9yOiAnY3VycmVudENvbG9yJyxcbiAgICAgIGJvcmRlclJhZGl1czogJzFlbScsXG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIG1hcmdpbkxlZnQ6IG9mZnNldCA/ICcxZW0nIDogdW5kZWZpbmVkLFxuICAgICAgaGVpZ2h0OiAnMWVtJyxcbiAgICAgIHZlcnRpY2FsQWxpZ246ICd0b3AnLFxuICAgICAgd2lkdGg6ICcxZW0nLFxuICAgIH19XG4gIC8+XG4pO1xuXG5leHBvcnQgaW50ZXJmYWNlIExvYWRpbmdJbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgLyoqIFNldCBzaXplIG9mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */",toString:E$},tk=function(r){var i=r.size,u=Zs(r,C$);return Ct("svg",xt({height:i,width:i,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:S$},u))},Iw=function(r){return Ct(tk,xt({size:20},r),Ct("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},nk=function(r){return Ct(tk,xt({size:20},r),Ct("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},rk=function(r,i){var u=r.isFocused,l=r.theme,d=l.spacing.baseUnit,p=l.colors;return vt({label:"indicatorContainer",display:"flex",transition:"color 150ms"},i?{}:{color:u?p.neutral60:p.neutral20,padding:d*2,":hover":{color:u?p.neutral80:p.neutral40}})},w$=rk,R$=function(r){var i=r.children,u=r.innerProps;return Ct("div",xt({},mr(r,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),u),i||Ct(nk,null))},T$=rk,I$=function(r){var i=r.children,u=r.innerProps;return Ct("div",xt({},mr(r,"clearIndicator",{indicator:!0,"clear-indicator":!0}),u),i||Ct(Iw,null))},A$=function(r,i){var u=r.isDisabled,l=r.theme,d=l.spacing.baseUnit,p=l.colors;return vt({label:"indicatorSeparator",alignSelf:"stretch",width:1},i?{}:{backgroundColor:u?p.neutral10:p.neutral20,marginBottom:d*2,marginTop:d*2})},N$=function(r){var i=r.innerProps;return Ct("span",xt({},i,mr(r,"indicatorSeparator",{"indicator-separator":!0})))},O$=b5(uO||(uO=R5([`
307
307
  0%, 80%, 100% { opacity: 0; }
308
308
  40% { opacity: 1; }
309
- `]))),_$=function(r,i){var u=r.isFocused,l=r.size,d=r.theme,p=d.colors,y=d.spacing.baseUnit;return vt({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:l,lineHeight:1,marginRight:l,textAlign:"center",verticalAlign:"middle"},i?{}:{color:u?p.neutral60:p.neutral20,padding:y*2})},kS=function(r){var i=r.delay,u=r.offset;return Ct("span",{css:Sw({animation:"".concat(O$," 1s ease-in-out ").concat(i,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:u?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3InLFxuICAgICAgbGluZUhlaWdodDogMSxcbiAgICAgIHN0cm9rZTogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBzdHJva2VXaWR0aDogMCxcbiAgICB9fVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG5cbmV4cG9ydCB0eXBlIENyb3NzSWNvblByb3BzID0gSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZT86IG51bWJlciB9O1xuZXhwb3J0IGNvbnN0IENyb3NzSWNvbiA9IChwcm9wczogQ3Jvc3NJY29uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTE0LjM0OCAxNC44NDljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDBsLTIuNjUxLTMuMDMwLTIuNjUxIDMuMDI5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI5IDAtMS42OTdsMi43NTgtMy4xNS0yLjc1OS0zLjE1MmMtMC40NjktMC40NjktMC40NjktMS4yMjggMC0xLjY5N3MxLjIyOC0wLjQ2OSAxLjY5NyAwbDIuNjUyIDMuMDMxIDIuNjUxLTMuMDMxYzAuNDY5LTAuNDY5IDEuMjI4LTAuNDY5IDEuNjk3IDBzMC40NjkgMS4yMjkgMCAxLjY5N2wtMi43NTggMy4xNTIgMi43NTggMy4xNWMwLjQ2OSAwLjQ2OSAwLjQ2OSAxLjIyOSAwIDEuNjk4elwiIC8+XG4gIDwvU3ZnPlxuKTtcbmV4cG9ydCB0eXBlIERvd25DaGV2cm9uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgRG93bkNoZXZyb24gPSAocHJvcHM6IERvd25DaGV2cm9uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTQuNTE2IDcuNTQ4YzAuNDM2LTAuNDQ2IDEuMDQzLTAuNDgxIDEuNTc2IDBsMy45MDggMy43NDcgMy45MDgtMy43NDdjMC41MzMtMC40ODEgMS4xNDEtMC40NDYgMS41NzQgMCAwLjQzNiAwLjQ0NSAwLjQwOCAxLjE5NyAwIDEuNjE1LTAuNDA2IDAuNDE4LTQuNjk1IDQuNTAyLTQuNjk1IDQuNTAyLTAuMjE3IDAuMjIzLTAuNTAyIDAuMzM1LTAuNzg3IDAuMzM1cy0wLjU3LTAuMTEyLTAuNzg5LTAuMzM1YzAgMC00LjI4Ny00LjA4NC00LjY5NS00LjUwMnMtMC40MzYtMS4xNyAwLTEuNjE1elwiIC8+XG4gIDwvU3ZnPlxuKTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEJ1dHRvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xufVxuXG5jb25zdCBiYXNlQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTpcbiAgICB8IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbiAgICB8IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JDb250YWluZXInLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICAgICc6aG92ZXInOiB7XG4gICAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsODAgOiBjb2xvcnMubmV1dHJhbDQwLFxuICAgICAgICB9LFxuICAgICAgfSksXG59KTtcblxuZXhwb3J0IGNvbnN0IGRyb3Bkb3duSW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBEcm9wZG93bkluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2Ryb3Bkb3duSW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGludGVyZmFjZSBDbGVhckluZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFRoZSBjaGlsZHJlbiB0byBiZSByZW5kZXJlZCBpbnNpZGUgdGhlIGluZGljYXRvci4gKi9cbiAgY2hpbGRyZW4/OiBSZWFjdE5vZGU7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2NsZWFySW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdjbGVhci1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPENyb3NzSWNvbiAvPn1cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gU2VwYXJhdG9yXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuZXhwb3J0IGludGVyZmFjZSBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaW5uZXJQcm9wcz86IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3BhbiddO1xufVxuXG5leHBvcnQgY29uc3QgaW5kaWNhdG9yU2VwYXJhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNEaXNhYmxlZCxcbiAgICB0aGVtZToge1xuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgICAgY29sb3JzLFxuICAgIH0sXG4gIH06IEluZGljYXRvclNlcGFyYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+LFxuICB1bnN0eWxlZDogYm9vbGVhblxuKTogQ1NTT2JqZWN0V2l0aExhYmVsID0+ICh7XG4gIGxhYmVsOiAnaW5kaWNhdG9yU2VwYXJhdG9yJyxcbiAgYWxpZ25TZWxmOiAnc3RyZXRjaCcsXG4gIHdpZHRoOiAxLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGJhY2tncm91bmRDb2xvcjogaXNEaXNhYmxlZCA/IGNvbG9ycy5uZXV0cmFsMTAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBtYXJnaW5Cb3R0b206IGJhc2VVbml0ICogMixcbiAgICAgICAgbWFyZ2luVG9wOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgSW5kaWNhdG9yU2VwYXJhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxzcGFuXG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnaW5kaWNhdG9yU2VwYXJhdG9yJywge1xuICAgICAgICAnaW5kaWNhdG9yLXNlcGFyYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAvPlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBMb2FkaW5nXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgbG9hZGluZ0RvdEFuaW1hdGlvbnMgPSBrZXlmcmFtZXNgXG4gIDAlLCA4MCUsIDEwMCUgeyBvcGFjaXR5OiAwOyB9XG4gIDQwJSB7IG9wYWNpdHk6IDE7IH1cbmA7XG5cbmV4cG9ydCBjb25zdCBsb2FkaW5nSW5kaWNhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHNpemUsXG4gICAgdGhlbWU6IHtcbiAgICAgIGNvbG9ycyxcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICB9LFxuICB9OiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICB0cmFuc2l0aW9uOiAnY29sb3IgMTUwbXMnLFxuICBhbGlnblNlbGY6ICdjZW50ZXInLFxuICBmb250U2l6ZTogc2l6ZSxcbiAgbGluZUhlaWdodDogMSxcbiAgbWFyZ2luUmlnaHQ6IHNpemUsXG4gIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gIHZlcnRpY2FsQWxpZ246ICdtaWRkbGUnLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDYwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgICAgICAgcGFkZGluZzogYmFzZVVuaXQgKiAyLFxuICAgICAgfSksXG59KTtcblxuaW50ZXJmYWNlIExvYWRpbmdEb3RQcm9wcyB7XG4gIGRlbGF5OiBudW1iZXI7XG4gIG9mZnNldDogYm9vbGVhbjtcbn1cbmNvbnN0IExvYWRpbmdEb3QgPSAoeyBkZWxheSwgb2Zmc2V0IH06IExvYWRpbmdEb3RQcm9wcykgPT4gKFxuICA8c3BhblxuICAgIGNzcz17e1xuICAgICAgYW5pbWF0aW9uOiBgJHtsb2FkaW5nRG90QW5pbWF0aW9uc30gMXMgZWFzZS1pbi1vdXQgJHtkZWxheX1tcyBpbmZpbml0ZTtgLFxuICAgICAgYmFja2dyb3VuZENvbG9yOiAnY3VycmVudENvbG9yJyxcbiAgICAgIGJvcmRlclJhZGl1czogJzFlbScsXG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIG1hcmdpbkxlZnQ6IG9mZnNldCA/ICcxZW0nIDogdW5kZWZpbmVkLFxuICAgICAgaGVpZ2h0OiAnMWVtJyxcbiAgICAgIHZlcnRpY2FsQWxpZ246ICd0b3AnLFxuICAgICAgd2lkdGg6ICcxZW0nLFxuICAgIH19XG4gIC8+XG4pO1xuXG5leHBvcnQgaW50ZXJmYWNlIExvYWRpbmdJbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgLyoqIFNldCBzaXplIG9mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */")})},D$=function(r){var i=r.innerProps,u=r.isRtl,l=r.size,d=l===void 0?4:l,p=Zs(r,x$);return Ct("div",xt({},mr(vt(vt({},p),{},{innerProps:i,isRtl:u,size:d}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),i),Ct(kS,{delay:0,offset:u}),Ct(kS,{delay:160,offset:!0}),Ct(kS,{delay:320,offset:!u}))},j$=function(r,i){var u=r.isDisabled,l=r.isFocused,d=r.theme,p=d.colors,y=d.borderRadius,g=d.spacing;return vt({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:g.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},i?{}:{backgroundColor:u?p.neutral5:p.neutral0,borderColor:u?p.neutral10:l?p.primary:p.neutral20,borderRadius:y,borderStyle:"solid",borderWidth:1,boxShadow:l?"0 0 0 1px ".concat(p.primary):void 0,"&:hover":{borderColor:l?p.primary:p.neutral30}})},k$=function(r){var i=r.children,u=r.isDisabled,l=r.isFocused,d=r.innerRef,p=r.innerProps,y=r.menuIsOpen;return Ct("div",xt({ref:d},mr(r,"control",{control:!0,"control--is-disabled":u,"control--is-focused":l,"control--menu-is-open":y}),p,{"aria-disabled":u||void 0}),i)},M$=k$,L$=["data"],F$=function(r,i){var u=r.theme.spacing;return i?{}:{paddingBottom:u.baseUnit*2,paddingTop:u.baseUnit*2}},P$=function(r){var i=r.children,u=r.cx,l=r.getStyles,d=r.getClassNames,p=r.Heading,y=r.headingProps,g=r.innerProps,b=r.label,E=r.theme,R=r.selectProps;return Ct("div",xt({},mr(r,"group",{group:!0}),g),Ct(p,xt({},y,{selectProps:R,theme:E,getStyles:l,getClassNames:d,cx:u}),b),Ct("div",null,i))},V$=function(r,i){var u=r.theme,l=u.colors,d=u.spacing;return vt({label:"group",cursor:"default",display:"block"},i?{}:{color:l.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:d.baseUnit*3,paddingRight:d.baseUnit*3,textTransform:"uppercase"})},B$=function(r){var i=Zj(r);i.data;var u=Zs(i,L$);return Ct("div",xt({},mr(r,"groupHeading",{"group-heading":!0}),u))},z$=P$,H$=["innerRef","isDisabled","isHidden","inputClassName"],U$=function(r,i){var u=r.isDisabled,l=r.value,d=r.theme,p=d.spacing,y=d.colors;return vt(vt({visibility:u?"hidden":"visible",transform:l?"translateZ(0)":""},G$),i?{}:{margin:p.baseUnit/2,paddingBottom:p.baseUnit/2,paddingTop:p.baseUnit/2,color:y.neutral80})},ak={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},G$={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":vt({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},ak)},$$=function(r){return vt({label:"input",color:"inherit",background:0,opacity:r?0:1,width:"100%"},ak)},W$=function(r){var i=r.cx,u=r.value,l=Zj(r),d=l.innerRef,p=l.isDisabled,y=l.isHidden,g=l.inputClassName,b=Zs(l,H$);return Ct("div",xt({},mr(r,"input",{"input-container":!0}),{"data-value":u||""}),Ct("input",xt({className:i({input:!0},g),ref:d,style:$$(y),disabled:p},b)))},X$=W$,Y$=function(r,i){var u=r.theme,l=u.spacing,d=u.borderRadius,p=u.colors;return vt({label:"multiValue",display:"flex",minWidth:0},i?{}:{backgroundColor:p.neutral10,borderRadius:d/2,margin:l.baseUnit/2})},Z$=function(r,i){var u=r.theme,l=u.borderRadius,d=u.colors,p=r.cropWithEllipsis;return vt({overflow:"hidden",textOverflow:p||p===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},i?{}:{borderRadius:l/2,color:d.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},J$=function(r,i){var u=r.theme,l=u.spacing,d=u.borderRadius,p=u.colors,y=r.isFocused;return vt({alignItems:"center",display:"flex"},i?{}:{borderRadius:d/2,backgroundColor:y?p.dangerLight:void 0,paddingLeft:l.baseUnit,paddingRight:l.baseUnit,":hover":{backgroundColor:p.dangerLight,color:p.danger}})},ik=function(r){var i=r.children,u=r.innerProps;return Ct("div",u,i)},q$=ik,Q$=ik;function K$(n){var r=n.children,i=n.innerProps;return Ct("div",xt({role:"button"},i),r||Ct(Iw,{size:14}))}var eW=function(r){var i=r.children,u=r.components,l=r.data,d=r.innerProps,p=r.isDisabled,y=r.removeProps,g=r.selectProps,b=u.Container,E=u.Label,R=u.Remove;return Ct(b,{data:l,innerProps:vt(vt({},mr(r,"multiValue",{"multi-value":!0,"multi-value--is-disabled":p})),d),selectProps:g},Ct(E,{data:l,innerProps:vt({},mr(r,"multiValueLabel",{"multi-value__label":!0})),selectProps:g},i),Ct(R,{data:l,innerProps:vt(vt({},mr(r,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(i||"option")},y),selectProps:g}))},tW=eW,nW=function(r,i){var u=r.isDisabled,l=r.isFocused,d=r.isSelected,p=r.theme,y=p.spacing,g=p.colors;return vt({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},i?{}:{backgroundColor:d?g.primary:l?g.primary25:"transparent",color:u?g.neutral20:d?g.neutral0:"inherit",padding:"".concat(y.baseUnit*2,"px ").concat(y.baseUnit*3,"px"),":active":{backgroundColor:u?void 0:d?g.primary:g.primary50}})},rW=function(r){var i=r.children,u=r.isDisabled,l=r.isFocused,d=r.isSelected,p=r.innerRef,y=r.innerProps;return Ct("div",xt({},mr(r,"option",{option:!0,"option--is-disabled":u,"option--is-focused":l,"option--is-selected":d}),{ref:p,"aria-disabled":u},y),i)},aW=rW,iW=function(r,i){var u=r.theme,l=u.spacing,d=u.colors;return vt({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},i?{}:{color:d.neutral50,marginLeft:l.baseUnit/2,marginRight:l.baseUnit/2})},oW=function(r){var i=r.children,u=r.innerProps;return Ct("div",xt({},mr(r,"placeholder",{placeholder:!0}),u),i)},sW=oW,uW=function(r,i){var u=r.isDisabled,l=r.theme,d=l.spacing,p=l.colors;return vt({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},i?{}:{color:u?p.neutral40:p.neutral80,marginLeft:d.baseUnit/2,marginRight:d.baseUnit/2})},lW=function(r){var i=r.children,u=r.isDisabled,l=r.innerProps;return Ct("div",xt({},mr(r,"singleValue",{"single-value":!0,"single-value--is-disabled":u}),l),i)},cW=lW,fW={ClearIndicator:I$,Control:M$,DropdownIndicator:R$,DownChevron:nk,CrossIcon:Iw,Group:z$,GroupHeading:B$,IndicatorsContainer:b$,IndicatorSeparator:N$,Input:X$,LoadingIndicator:D$,Menu:i$,MenuList:s$,MenuPortal:p$,LoadingMessage:f$,NoOptionsMessage:c$,MultiValue:tW,MultiValueContainer:q$,MultiValueLabel:Q$,MultiValueRemove:K$,Option:aW,Placeholder:sW,SelectContainer:h$,SingleValue:cW,ValueContainer:g$},dW=function(r){return vt(vt({},fW),r.components)},lO=Number.isNaN||function(r){return typeof r=="number"&&r!==r};function pW(n,r){return!!(n===r||lO(n)&&lO(r))}function vW(n,r){if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!pW(n[i],r[i]))return!1;return!0}function hW(n,r){r===void 0&&(r=vW);var i=null;function u(){for(var l=[],d=0;d<arguments.length;d++)l[d]=arguments[d];if(i&&i.lastThis===this&&r(l,i.lastArgs))return i.lastResult;var p=n.apply(this,l);return i={lastResult:p,lastArgs:l,lastThis:this},p}return u.clear=function(){i=null},u}function mW(){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)."}var gW=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:mW},yW=function(r){return Ct("span",xt({css:gW},r))},cO=yW,bW={guidance:function(r){var i=r.isSearchable,u=r.isMulti,l=r.tabSelectsValue,d=r.context,p=r.isInitialFocus;switch(d){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(l?", press Tab to select the option and exit the menu":"",".");case"input":return p?"".concat(r["aria-label"]||"Select"," is focused ").concat(i?",type to refine list":"",", press Down to open the menu, ").concat(u?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(r){var i=r.action,u=r.label,l=u===void 0?"":u,d=r.labels,p=r.isDisabled;switch(i){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(l,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(d.length>1?"s":""," ").concat(d.join(","),", selected.");case"select-option":return p?"option ".concat(l," is disabled. Select another option."):"option ".concat(l,", selected.");default:return""}},onFocus:function(r){var i=r.context,u=r.focused,l=r.options,d=r.label,p=d===void 0?"":d,y=r.selectValue,g=r.isDisabled,b=r.isSelected,E=r.isAppleDevice,R=function(j,O){return j&&j.length?"".concat(j.indexOf(O)+1," of ").concat(j.length):""};if(i==="value"&&y)return"value ".concat(p," focused, ").concat(R(y,u),".");if(i==="menu"&&E){var T=g?" disabled":"",A="".concat(b?" selected":"").concat(T);return"".concat(p).concat(A,", ").concat(R(l,u),".")}return""},onFilter:function(r){var i=r.inputValue,u=r.resultsMessage;return"".concat(u).concat(i?" for search term "+i:"",".")}},CW=function(r){var i=r.ariaSelection,u=r.focusedOption,l=r.focusedValue,d=r.focusableOptions,p=r.isFocused,y=r.selectValue,g=r.selectProps,b=r.id,E=r.isAppleDevice,R=g.ariaLiveMessages,T=g.getOptionLabel,A=g.inputValue,N=g.isMulti,j=g.isOptionDisabled,O=g.isSearchable,L=g.menuIsOpen,B=g.options,P=g.screenReaderStatus,U=g.tabSelectsValue,z=g.isLoading,G=g["aria-label"],X=g["aria-live"],te=M.useMemo(function(){return vt(vt({},bW),R||{})},[R]),Re=M.useMemo(function(){var _e="";if(i&&te.onChange){var Oe=i.option,Ie=i.options,ve=i.removedValue,Le=i.removedValues,F=i.value,q=function(Te){return Array.isArray(Te)?null:Te},se=ve||Oe||q(F),xe=se?T(se):"",Ee=Ie||Le||void 0,De=Ee?Ee.map(T):[],ie=vt({isDisabled:se&&j(se,y),label:xe,labels:De},i);_e=te.onChange(ie)}return _e},[i,te,j,y,T]),ue=M.useMemo(function(){var _e="",Oe=u||l,Ie=!!(u&&y&&y.includes(u));if(Oe&&te.onFocus){var ve={focused:Oe,label:T(Oe),isDisabled:j(Oe,y),isSelected:Ie,options:d,context:Oe===u?"menu":"value",selectValue:y,isAppleDevice:E};_e=te.onFocus(ve)}return _e},[u,l,T,j,te,d,y,E]),pe=M.useMemo(function(){var _e="";if(L&&B.length&&!z&&te.onFilter){var Oe=P({count:d.length});_e=te.onFilter({inputValue:A,resultsMessage:Oe})}return _e},[d,A,L,te,B,P,z]),ye=(i==null?void 0:i.action)==="initial-input-focus",me=M.useMemo(function(){var _e="";if(te.guidance){var Oe=l?"value":L?"menu":"input";_e=te.guidance({"aria-label":G,context:Oe,isDisabled:u&&j(u,y),isMulti:N,isSearchable:O,tabSelectsValue:U,isInitialFocus:ye})}return _e},[G,u,l,N,j,O,L,te,y,U,ye]),Ae=Ct(M.Fragment,null,Ct("span",{id:"aria-selection"},Re),Ct("span",{id:"aria-focused"},ue),Ct("span",{id:"aria-results"},pe),Ct("span",{id:"aria-guidance"},me));return Ct(M.Fragment,null,Ct(cO,{id:b},ye&&Ae),Ct(cO,{"aria-live":X,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},p&&!ye&&Ae))},xW=CW,w1=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],EW=new RegExp("["+w1.map(function(n){return n.letters}).join("")+"]","g"),ok={};for(var MS=0;MS<w1.length;MS++)for(var LS=w1[MS],FS=0;FS<LS.letters.length;FS++)ok[LS.letters[FS]]=LS.base;var sk=function(r){return r.replace(EW,function(i){return ok[i]})},SW=hW(sk),fO=function(r){return r.replace(/^\s+|\s+$/g,"")},wW=function(r){return"".concat(r.label," ").concat(r.value)},RW=function(r){return function(i,u){if(i.data.__isNew__)return!0;var l=vt({ignoreCase:!0,ignoreAccents:!0,stringify:wW,trim:!0,matchFrom:"any"},r),d=l.ignoreCase,p=l.ignoreAccents,y=l.stringify,g=l.trim,b=l.matchFrom,E=g?fO(u):u,R=g?fO(y(i)):y(i);return d&&(E=E.toLowerCase(),R=R.toLowerCase()),p&&(E=SW(E),R=sk(R)),b==="start"?R.substr(0,E.length)===E:R.indexOf(E)>-1}},TW=["innerRef"];function IW(n){var r=n.innerRef,i=Zs(n,TW),u=q5(i,"onExited","in","enter","exit","appear");return Ct("input",xt({ref:r},u,{css:Sw({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0pIHtcbiAgLy8gUmVtb3ZlIGFuaW1hdGlvbiBwcm9wcyBub3QgbWVhbnQgZm9yIEhUTUwgZWxlbWVudHNcbiAgY29uc3QgZmlsdGVyZWRQcm9wcyA9IHJlbW92ZVByb3BzKFxuICAgIHByb3BzLFxuICAgICdvbkV4aXRlZCcsXG4gICAgJ2luJyxcbiAgICAnZW50ZXInLFxuICAgICdleGl0JyxcbiAgICAnYXBwZWFyJ1xuICApO1xuXG4gIHJldHVybiAoXG4gICAgPGlucHV0XG4gICAgICByZWY9e2lubmVyUmVmfVxuICAgICAgey4uLmZpbHRlcmVkUHJvcHN9XG4gICAgICBjc3M9e3tcbiAgICAgICAgbGFiZWw6ICdkdW1teUlucHV0JyxcbiAgICAgICAgLy8gZ2V0IHJpZCBvZiBhbnkgZGVmYXVsdCBzdHlsZXNcbiAgICAgICAgYmFja2dyb3VuZDogMCxcbiAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHRoaXMgaGlkZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var AW=function(r){r.cancelable&&r.preventDefault(),r.stopPropagation()};function NW(n){var r=n.isEnabled,i=n.onBottomArrive,u=n.onBottomLeave,l=n.onTopArrive,d=n.onTopLeave,p=M.useRef(!1),y=M.useRef(!1),g=M.useRef(0),b=M.useRef(null),E=M.useCallback(function(O,L){if(b.current!==null){var B=b.current,P=B.scrollTop,U=B.scrollHeight,z=B.clientHeight,G=b.current,X=L>0,te=U-z-P,Re=!1;te>L&&p.current&&(u&&u(O),p.current=!1),X&&y.current&&(d&&d(O),y.current=!1),X&&L>te?(i&&!p.current&&i(O),G.scrollTop=U,Re=!0,p.current=!0):!X&&-L>P&&(l&&!y.current&&l(O),G.scrollTop=0,Re=!0,y.current=!0),Re&&AW(O)}},[i,u,l,d]),R=M.useCallback(function(O){E(O,O.deltaY)},[E]),T=M.useCallback(function(O){g.current=O.changedTouches[0].clientY},[]),A=M.useCallback(function(O){var L=g.current-O.changedTouches[0].clientY;E(O,L)},[E]),N=M.useCallback(function(O){if(O){var L=Y5?{passive:!1}:!1;O.addEventListener("wheel",R,L),O.addEventListener("touchstart",T,L),O.addEventListener("touchmove",A,L)}},[A,T,R]),j=M.useCallback(function(O){O&&(O.removeEventListener("wheel",R,!1),O.removeEventListener("touchstart",T,!1),O.removeEventListener("touchmove",A,!1))},[A,T,R]);return M.useEffect(function(){if(r){var O=b.current;return N(O),function(){j(O)}}},[r,N,j]),function(O){b.current=O}}var dO=["boxSizing","height","overflow","paddingRight","position"],pO={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function vO(n){n.preventDefault()}function hO(n){n.stopPropagation()}function mO(){var n=this.scrollTop,r=this.scrollHeight,i=n+this.offsetHeight;n===0?this.scrollTop=1:i===r&&(this.scrollTop=n-1)}function gO(){return"ontouchstart"in window||navigator.maxTouchPoints}var yO=!!(typeof window<"u"&&window.document&&window.document.createElement),rm=0,Cp={capture:!1,passive:!1};function OW(n){var r=n.isEnabled,i=n.accountForScrollbars,u=i===void 0?!0:i,l=M.useRef({}),d=M.useRef(null),p=M.useCallback(function(g){if(yO){var b=document.body,E=b&&b.style;if(u&&dO.forEach(function(N){var j=E&&E[N];l.current[N]=j}),u&&rm<1){var R=parseInt(l.current.paddingRight,10)||0,T=document.body?document.body.clientWidth:0,A=window.innerWidth-T+R||0;Object.keys(pO).forEach(function(N){var j=pO[N];E&&(E[N]=j)}),E&&(E.paddingRight="".concat(A,"px"))}b&&gO()&&(b.addEventListener("touchmove",vO,Cp),g&&(g.addEventListener("touchstart",mO,Cp),g.addEventListener("touchmove",hO,Cp))),rm+=1}},[u]),y=M.useCallback(function(g){if(yO){var b=document.body,E=b&&b.style;rm=Math.max(rm-1,0),u&&rm<1&&dO.forEach(function(R){var T=l.current[R];E&&(E[R]=T)}),b&&gO()&&(b.removeEventListener("touchmove",vO,Cp),g&&(g.removeEventListener("touchstart",mO,Cp),g.removeEventListener("touchmove",hO,Cp)))}},[u]);return M.useEffect(function(){if(r){var g=d.current;return p(g),function(){y(g)}}},[r,p,y]),function(g){d.current=g}}function _W(){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)."}var DW=function(r){var i=r.target;return i.ownerDocument.activeElement&&i.ownerDocument.activeElement.blur()},jW=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:_W};function kW(n){var r=n.children,i=n.lockEnabled,u=n.captureEnabled,l=u===void 0?!0:u,d=n.onBottomArrive,p=n.onBottomLeave,y=n.onTopArrive,g=n.onTopLeave,b=NW({isEnabled:l,onBottomArrive:d,onBottomLeave:p,onTopArrive:y,onTopLeave:g}),E=OW({isEnabled:i}),R=function(A){b(A),E(A)};return Ct(M.Fragment,null,i&&Ct("div",{onClick:DW,css:jW}),r(R))}function MW(){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)."}var LW=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:MW},FW=function(r){var i=r.name,u=r.onFocus;return Ct("input",{required:!0,name:i,tabIndex:-1,"aria-hidden":"true",onFocus:u,css:LW,value:"",onChange:function(){}})},PW=FW;function Aw(n){var r;return typeof window<"u"&&window.navigator!=null?n.test(((r=window.navigator.userAgentData)===null||r===void 0?void 0:r.platform)||window.navigator.platform):!1}function VW(){return Aw(/^iPhone/i)}function uk(){return Aw(/^Mac/i)}function BW(){return Aw(/^iPad/i)||uk()&&navigator.maxTouchPoints>1}function zW(){return VW()||BW()}function HW(){return uk()||zW()}var UW=function(r){return r.label},GW=function(r){return r.label},$W=function(r){return r.value},WW=function(r){return!!r.isDisabled},XW={clearIndicator:T$,container:v$,control:j$,dropdownIndicator:w$,group:F$,groupHeading:V$,indicatorsContainer:y$,indicatorSeparator:A$,input:U$,loadingIndicator:_$,loadingMessage:l$,menu:n$,menuList:o$,menuPortal:d$,multiValue:Y$,multiValueLabel:Z$,multiValueRemove:J$,noOptionsMessage:u$,option:nW,placeholder:iW,singleValue:uW,valueContainer:m$},YW={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},ZW=4,lk=4,JW=38,qW=lk*2,QW={baseUnit:lk,controlHeight:JW,menuGutter:qW},PS={borderRadius:ZW,colors:YW,spacing:QW},KW={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:sO(),captureMenuScroll:!sO(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:RW(),formatGroupLabel:UW,getOptionLabel:GW,getOptionValue:$W,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:WW,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!W5(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(r){var i=r.count;return"".concat(i," result").concat(i!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function bO(n,r,i,u){var l=dk(n,r,i),d=pk(n,r,i),p=fk(n,r),y=m0(n,r);return{type:"option",data:r,isDisabled:l,isSelected:d,label:p,value:y,index:u}}function $b(n,r){return n.options.map(function(i,u){if("options"in i){var l=i.options.map(function(p,y){return bO(n,p,r,y)}).filter(function(p){return xO(n,p)});return l.length>0?{type:"group",data:i,options:l,index:u}:void 0}var d=bO(n,i,r,u);return xO(n,d)?d:void 0}).filter(Z5)}function ck(n){return n.reduce(function(r,i){return i.type==="group"?r.push.apply(r,dw(i.options.map(function(u){return u.data}))):r.push(i.data),r},[])}function CO(n,r){return n.reduce(function(i,u){return u.type==="group"?i.push.apply(i,dw(u.options.map(function(l){return{data:l.data,id:"".concat(r,"-").concat(u.index,"-").concat(l.index)}}))):i.push({data:u.data,id:"".concat(r,"-").concat(u.index)}),i},[])}function eX(n,r){return ck($b(n,r))}function xO(n,r){var i=n.inputValue,u=i===void 0?"":i,l=r.data,d=r.isSelected,p=r.label,y=r.value;return(!hk(n)||!d)&&vk(n,{label:p,value:y,data:l},u)}function tX(n,r){var i=n.focusedValue,u=n.selectValue,l=u.indexOf(i);if(l>-1){var d=r.indexOf(i);if(d>-1)return i;if(l<r.length)return r[l]}return null}function nX(n,r){var i=n.focusedOption;return i&&r.indexOf(i)>-1?i:r[0]}var VS=function(r,i){var u,l=(u=r.find(function(d){return d.data===i}))===null||u===void 0?void 0:u.id;return l||null},fk=function(r,i){return r.getOptionLabel(i)},m0=function(r,i){return r.getOptionValue(i)};function dk(n,r,i){return typeof n.isOptionDisabled=="function"?n.isOptionDisabled(r,i):!1}function pk(n,r,i){if(i.indexOf(r)>-1)return!0;if(typeof n.isOptionSelected=="function")return n.isOptionSelected(r,i);var u=m0(n,r);return i.some(function(l){return m0(n,l)===u})}function vk(n,r,i){return n.filterOption?n.filterOption(r,i):!0}var hk=function(r){var i=r.hideSelectedOptions,u=r.isMulti;return i===void 0?u:i},rX=1,Nw=function(n){uG(i,n);var r=fG(i);function i(u){var l;if(oG(this,i),l=r.call(this,u),l.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},l.blockOptionHover=!1,l.isComposing=!1,l.commonProps=void 0,l.initialTouchX=0,l.initialTouchY=0,l.openAfterFocus=!1,l.scrollToFocusedOptionOnUpdate=!1,l.userIsDragging=void 0,l.isAppleDevice=HW(),l.controlRef=null,l.getControlRef=function(g){l.controlRef=g},l.focusedOptionRef=null,l.getFocusedOptionRef=function(g){l.focusedOptionRef=g},l.menuListRef=null,l.getMenuListRef=function(g){l.menuListRef=g},l.inputRef=null,l.getInputRef=function(g){l.inputRef=g},l.focus=l.focusInput,l.blur=l.blurInput,l.onChange=function(g,b){var E=l.props,R=E.onChange,T=E.name;b.name=T,l.ariaOnChange(g,b),R(g,b)},l.setValue=function(g,b,E){var R=l.props,T=R.closeMenuOnSelect,A=R.isMulti,N=R.inputValue;l.onInputChange("",{action:"set-value",prevInputValue:N}),T&&(l.setState({inputIsHiddenAfterUpdate:!A}),l.onMenuClose()),l.setState({clearFocusValueOnUpdate:!0}),l.onChange(g,{action:b,option:E})},l.selectOption=function(g){var b=l.props,E=b.blurInputOnSelect,R=b.isMulti,T=b.name,A=l.state.selectValue,N=R&&l.isOptionSelected(g,A),j=l.isOptionDisabled(g,A);if(N){var O=l.getOptionValue(g);l.setValue(A.filter(function(L){return l.getOptionValue(L)!==O}),"deselect-option",g)}else if(!j)R?l.setValue([].concat(dw(A),[g]),"select-option",g):l.setValue(g,"select-option");else{l.ariaOnChange(g,{action:"select-option",option:g,name:T});return}E&&l.blurInput()},l.removeValue=function(g){var b=l.props.isMulti,E=l.state.selectValue,R=l.getOptionValue(g),T=E.filter(function(N){return l.getOptionValue(N)!==R}),A=_b(b,T,T[0]||null);l.onChange(A,{action:"remove-value",removedValue:g}),l.focusInput()},l.clearValue=function(){var g=l.state.selectValue;l.onChange(_b(l.props.isMulti,[],null),{action:"clear",removedValues:g})},l.popValue=function(){var g=l.props.isMulti,b=l.state.selectValue,E=b[b.length-1],R=b.slice(0,b.length-1),T=_b(g,R,R[0]||null);l.onChange(T,{action:"pop-value",removedValue:E})},l.getFocusedOptionId=function(g){return VS(l.state.focusableOptionsWithIds,g)},l.getFocusableOptionsWithIds=function(){return CO($b(l.props,l.state.selectValue),l.getElementId("option"))},l.getValue=function(){return l.state.selectValue},l.cx=function(){for(var g=arguments.length,b=new Array(g),E=0;E<g;E++)b[E]=arguments[E];return B5.apply(void 0,[l.props.classNamePrefix].concat(b))},l.getOptionLabel=function(g){return fk(l.props,g)},l.getOptionValue=function(g){return m0(l.props,g)},l.getStyles=function(g,b){var E=l.props.unstyled,R=XW[g](b,E);R.boxSizing="border-box";var T=l.props.styles[g];return T?T(R,b):R},l.getClassNames=function(g,b){var E,R;return(E=(R=l.props.classNames)[g])===null||E===void 0?void 0:E.call(R,b)},l.getElementId=function(g){return"".concat(l.state.instancePrefix,"-").concat(g)},l.getComponents=function(){return dW(l.props)},l.buildCategorizedOptions=function(){return $b(l.props,l.state.selectValue)},l.getCategorizedOptions=function(){return l.props.menuIsOpen?l.buildCategorizedOptions():[]},l.buildFocusableOptions=function(){return ck(l.buildCategorizedOptions())},l.getFocusableOptions=function(){return l.props.menuIsOpen?l.buildFocusableOptions():[]},l.ariaOnChange=function(g,b){l.setState({ariaSelection:vt({value:g},b)})},l.onMenuMouseDown=function(g){g.button===0&&(g.stopPropagation(),g.preventDefault(),l.focusInput())},l.onMenuMouseMove=function(g){l.blockOptionHover=!1},l.onControlMouseDown=function(g){if(!g.defaultPrevented){var b=l.props.openMenuOnClick;l.state.isFocused?l.props.menuIsOpen?g.target.tagName!=="INPUT"&&g.target.tagName!=="TEXTAREA"&&l.onMenuClose():b&&l.openMenu("first"):(b&&(l.openAfterFocus=!0),l.focusInput()),g.target.tagName!=="INPUT"&&g.target.tagName!=="TEXTAREA"&&g.preventDefault()}},l.onDropdownIndicatorMouseDown=function(g){if(!(g&&g.type==="mousedown"&&g.button!==0)&&!l.props.isDisabled){var b=l.props,E=b.isMulti,R=b.menuIsOpen;l.focusInput(),R?(l.setState({inputIsHiddenAfterUpdate:!E}),l.onMenuClose()):l.openMenu("first"),g.preventDefault()}},l.onClearIndicatorMouseDown=function(g){g&&g.type==="mousedown"&&g.button!==0||(l.clearValue(),g.preventDefault(),l.openAfterFocus=!1,g.type==="touchend"?l.focusInput():setTimeout(function(){return l.focusInput()}))},l.onScroll=function(g){typeof l.props.closeMenuOnScroll=="boolean"?g.target instanceof HTMLElement&&M0(g.target)&&l.props.onMenuClose():typeof l.props.closeMenuOnScroll=="function"&&l.props.closeMenuOnScroll(g)&&l.props.onMenuClose()},l.onCompositionStart=function(){l.isComposing=!0},l.onCompositionEnd=function(){l.isComposing=!1},l.onTouchStart=function(g){var b=g.touches,E=b&&b.item(0);E&&(l.initialTouchX=E.clientX,l.initialTouchY=E.clientY,l.userIsDragging=!1)},l.onTouchMove=function(g){var b=g.touches,E=b&&b.item(0);if(E){var R=Math.abs(E.clientX-l.initialTouchX),T=Math.abs(E.clientY-l.initialTouchY),A=5;l.userIsDragging=R>A||T>A}},l.onTouchEnd=function(g){l.userIsDragging||(l.controlRef&&!l.controlRef.contains(g.target)&&l.menuListRef&&!l.menuListRef.contains(g.target)&&l.blurInput(),l.initialTouchX=0,l.initialTouchY=0)},l.onControlTouchEnd=function(g){l.userIsDragging||l.onControlMouseDown(g)},l.onClearIndicatorTouchEnd=function(g){l.userIsDragging||l.onClearIndicatorMouseDown(g)},l.onDropdownIndicatorTouchEnd=function(g){l.userIsDragging||l.onDropdownIndicatorMouseDown(g)},l.handleInputChange=function(g){var b=l.props.inputValue,E=g.currentTarget.value;l.setState({inputIsHiddenAfterUpdate:!1}),l.onInputChange(E,{action:"input-change",prevInputValue:b}),l.props.menuIsOpen||l.onMenuOpen()},l.onInputFocus=function(g){l.props.onFocus&&l.props.onFocus(g),l.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(l.openAfterFocus||l.props.openMenuOnFocus)&&l.openMenu("first"),l.openAfterFocus=!1},l.onInputBlur=function(g){var b=l.props.inputValue;if(l.menuListRef&&l.menuListRef.contains(document.activeElement)){l.inputRef.focus();return}l.props.onBlur&&l.props.onBlur(g),l.onInputChange("",{action:"input-blur",prevInputValue:b}),l.onMenuClose(),l.setState({focusedValue:null,isFocused:!1})},l.onOptionHover=function(g){if(!(l.blockOptionHover||l.state.focusedOption===g)){var b=l.getFocusableOptions(),E=b.indexOf(g);l.setState({focusedOption:g,focusedOptionId:E>-1?l.getFocusedOptionId(g):null})}},l.shouldHideSelectedOptions=function(){return hk(l.props)},l.onValueInputFocus=function(g){g.preventDefault(),g.stopPropagation(),l.focus()},l.onKeyDown=function(g){var b=l.props,E=b.isMulti,R=b.backspaceRemovesValue,T=b.escapeClearsValue,A=b.inputValue,N=b.isClearable,j=b.isDisabled,O=b.menuIsOpen,L=b.onKeyDown,B=b.tabSelectsValue,P=b.openMenuOnFocus,U=l.state,z=U.focusedOption,G=U.focusedValue,X=U.selectValue;if(!j&&!(typeof L=="function"&&(L(g),g.defaultPrevented))){switch(l.blockOptionHover=!0,g.key){case"ArrowLeft":if(!E||A)return;l.focusValue("previous");break;case"ArrowRight":if(!E||A)return;l.focusValue("next");break;case"Delete":case"Backspace":if(A)return;if(G)l.removeValue(G);else{if(!R)return;E?l.popValue():N&&l.clearValue()}break;case"Tab":if(l.isComposing||g.shiftKey||!O||!B||!z||P&&l.isOptionSelected(z,X))return;l.selectOption(z);break;case"Enter":if(g.keyCode===229)break;if(O){if(!z||l.isComposing)return;l.selectOption(z);break}return;case"Escape":O?(l.setState({inputIsHiddenAfterUpdate:!1}),l.onInputChange("",{action:"menu-close",prevInputValue:A}),l.onMenuClose()):N&&T&&l.clearValue();break;case" ":if(A)return;if(!O){l.openMenu("first");break}if(!z)return;l.selectOption(z);break;case"ArrowUp":O?l.focusOption("up"):l.openMenu("last");break;case"ArrowDown":O?l.focusOption("down"):l.openMenu("first");break;case"PageUp":if(!O)return;l.focusOption("pageup");break;case"PageDown":if(!O)return;l.focusOption("pagedown");break;case"Home":if(!O)return;l.focusOption("first");break;case"End":if(!O)return;l.focusOption("last");break;default:return}g.preventDefault()}},l.state.instancePrefix="react-select-"+(l.props.instanceId||++rX),l.state.selectValue=iO(u.value),u.menuIsOpen&&l.state.selectValue.length){var d=l.getFocusableOptionsWithIds(),p=l.buildFocusableOptions(),y=p.indexOf(l.state.selectValue[0]);l.state.focusableOptionsWithIds=d,l.state.focusedOption=p[y],l.state.focusedOptionId=VS(d,p[y])}return l}return sG(i,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&oO(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(l){var d=this.props,p=d.isDisabled,y=d.menuIsOpen,g=this.state.isFocused;(g&&!p&&l.isDisabled||g&&y&&!l.menuIsOpen)&&this.focusInput(),g&&p&&!l.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!g&&!p&&l.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(oO(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(l,d){this.props.onInputChange(l,d)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(l){var d=this,p=this.state,y=p.selectValue,g=p.isFocused,b=this.buildFocusableOptions(),E=l==="first"?0:b.length-1;if(!this.props.isMulti){var R=b.indexOf(y[0]);R>-1&&(E=R)}this.scrollToFocusedOptionOnUpdate=!(g&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:b[E],focusedOptionId:this.getFocusedOptionId(b[E])},function(){return d.onMenuOpen()})}},{key:"focusValue",value:function(l){var d=this.state,p=d.selectValue,y=d.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var g=p.indexOf(y);y||(g=-1);var b=p.length-1,E=-1;if(p.length){switch(l){case"previous":g===0?E=0:g===-1?E=b:E=g-1;break;case"next":g>-1&&g<b&&(E=g+1);break}this.setState({inputIsHidden:E!==-1,focusedValue:p[E]})}}}},{key:"focusOption",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",d=this.props.pageSize,p=this.state.focusedOption,y=this.getFocusableOptions();if(y.length){var g=0,b=y.indexOf(p);p||(b=-1),l==="up"?g=b>0?b-1:y.length-1:l==="down"?g=(b+1)%y.length:l==="pageup"?(g=b-d,g<0&&(g=0)):l==="pagedown"?(g=b+d,g>y.length-1&&(g=y.length-1)):l==="last"&&(g=y.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:y[g],focusedValue:null,focusedOptionId:this.getFocusedOptionId(y[g])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(PS):vt(vt({},PS),this.props.theme):PS}},{key:"getCommonProps",value:function(){var l=this.clearValue,d=this.cx,p=this.getStyles,y=this.getClassNames,g=this.getValue,b=this.selectOption,E=this.setValue,R=this.props,T=R.isMulti,A=R.isRtl,N=R.options,j=this.hasValue();return{clearValue:l,cx:d,getStyles:p,getClassNames:y,getValue:g,hasValue:j,isMulti:T,isRtl:A,options:N,selectOption:b,selectProps:R,setValue:E,theme:this.getTheme()}}},{key:"hasValue",value:function(){var l=this.state.selectValue;return l.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var l=this.props,d=l.isClearable,p=l.isMulti;return d===void 0?p:d}},{key:"isOptionDisabled",value:function(l,d){return dk(this.props,l,d)}},{key:"isOptionSelected",value:function(l,d){return pk(this.props,l,d)}},{key:"filterOption",value:function(l,d){return vk(this.props,l,d)}},{key:"formatOptionLabel",value:function(l,d){if(typeof this.props.formatOptionLabel=="function"){var p=this.props.inputValue,y=this.state.selectValue;return this.props.formatOptionLabel(l,{context:d,inputValue:p,selectValue:y})}else return this.getOptionLabel(l)}},{key:"formatGroupLabel",value:function(l){return this.props.formatGroupLabel(l)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var l=this.props,d=l.isDisabled,p=l.isSearchable,y=l.inputId,g=l.inputValue,b=l.tabIndex,E=l.form,R=l.menuIsOpen,T=l.required,A=this.getComponents(),N=A.Input,j=this.state,O=j.inputIsHidden,L=j.ariaSelection,B=this.commonProps,P=y||this.getElementId("input"),U=vt(vt(vt({"aria-autocomplete":"list","aria-expanded":R,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":T,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},R&&{"aria-controls":this.getElementId("listbox")}),!p&&{"aria-readonly":!0}),this.hasValue()?(L==null?void 0:L.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return p?M.createElement(N,xt({},B,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:P,innerRef:this.getInputRef,isDisabled:d,isHidden:O,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:b,form:E,type:"text",value:g},U)):M.createElement(IW,xt({id:P,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:v0,onFocus:this.onInputFocus,disabled:d,tabIndex:b,inputMode:"none",form:E,value:""},U))}},{key:"renderPlaceholderOrValue",value:function(){var l=this,d=this.getComponents(),p=d.MultiValue,y=d.MultiValueContainer,g=d.MultiValueLabel,b=d.MultiValueRemove,E=d.SingleValue,R=d.Placeholder,T=this.commonProps,A=this.props,N=A.controlShouldRenderValue,j=A.isDisabled,O=A.isMulti,L=A.inputValue,B=A.placeholder,P=this.state,U=P.selectValue,z=P.focusedValue,G=P.isFocused;if(!this.hasValue()||!N)return L?null:M.createElement(R,xt({},T,{key:"placeholder",isDisabled:j,isFocused:G,innerProps:{id:this.getElementId("placeholder")}}),B);if(O)return U.map(function(te,Re){var ue=te===z,pe="".concat(l.getOptionLabel(te),"-").concat(l.getOptionValue(te));return M.createElement(p,xt({},T,{components:{Container:y,Label:g,Remove:b},isFocused:ue,isDisabled:j,key:pe,index:Re,removeProps:{onClick:function(){return l.removeValue(te)},onTouchEnd:function(){return l.removeValue(te)},onMouseDown:function(me){me.preventDefault()}},data:te}),l.formatOptionLabel(te,"value"))});if(L)return null;var X=U[0];return M.createElement(E,xt({},T,{data:X,isDisabled:j}),this.formatOptionLabel(X,"value"))}},{key:"renderClearIndicator",value:function(){var l=this.getComponents(),d=l.ClearIndicator,p=this.commonProps,y=this.props,g=y.isDisabled,b=y.isLoading,E=this.state.isFocused;if(!this.isClearable()||!d||g||!this.hasValue()||b)return null;var R={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return M.createElement(d,xt({},p,{innerProps:R,isFocused:E}))}},{key:"renderLoadingIndicator",value:function(){var l=this.getComponents(),d=l.LoadingIndicator,p=this.commonProps,y=this.props,g=y.isDisabled,b=y.isLoading,E=this.state.isFocused;if(!d||!b)return null;var R={"aria-hidden":"true"};return M.createElement(d,xt({},p,{innerProps:R,isDisabled:g,isFocused:E}))}},{key:"renderIndicatorSeparator",value:function(){var l=this.getComponents(),d=l.DropdownIndicator,p=l.IndicatorSeparator;if(!d||!p)return null;var y=this.commonProps,g=this.props.isDisabled,b=this.state.isFocused;return M.createElement(p,xt({},y,{isDisabled:g,isFocused:b}))}},{key:"renderDropdownIndicator",value:function(){var l=this.getComponents(),d=l.DropdownIndicator;if(!d)return null;var p=this.commonProps,y=this.props.isDisabled,g=this.state.isFocused,b={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return M.createElement(d,xt({},p,{innerProps:b,isDisabled:y,isFocused:g}))}},{key:"renderMenu",value:function(){var l=this,d=this.getComponents(),p=d.Group,y=d.GroupHeading,g=d.Menu,b=d.MenuList,E=d.MenuPortal,R=d.LoadingMessage,T=d.NoOptionsMessage,A=d.Option,N=this.commonProps,j=this.state.focusedOption,O=this.props,L=O.captureMenuScroll,B=O.inputValue,P=O.isLoading,U=O.loadingMessage,z=O.minMenuHeight,G=O.maxMenuHeight,X=O.menuIsOpen,te=O.menuPlacement,Re=O.menuPosition,ue=O.menuPortalTarget,pe=O.menuShouldBlockScroll,ye=O.menuShouldScrollIntoView,me=O.noOptionsMessage,Ae=O.onMenuScrollToTop,_e=O.onMenuScrollToBottom;if(!X)return null;var Oe=function(xe,Ee){var De=xe.type,ie=xe.data,he=xe.isDisabled,Te=xe.isSelected,Ve=xe.label,Ke=xe.value,It=j===ie,Ne=he?void 0:function(){return l.onOptionHover(ie)},ft=he?void 0:function(){return l.selectOption(ie)},Bt="".concat(l.getElementId("option"),"-").concat(Ee),lt={id:Bt,onClick:ft,onMouseMove:Ne,onMouseOver:Ne,tabIndex:-1,role:"option","aria-selected":l.isAppleDevice?void 0:Te};return M.createElement(A,xt({},N,{innerProps:lt,data:ie,isDisabled:he,isSelected:Te,key:Bt,label:Ve,type:De,value:Ke,isFocused:It,innerRef:It?l.getFocusedOptionRef:void 0}),l.formatOptionLabel(xe.data,"menu"))},Ie;if(this.hasOptions())Ie=this.getCategorizedOptions().map(function(se){if(se.type==="group"){var xe=se.data,Ee=se.options,De=se.index,ie="".concat(l.getElementId("group"),"-").concat(De),he="".concat(ie,"-heading");return M.createElement(p,xt({},N,{key:ie,data:xe,options:Ee,Heading:y,headingProps:{id:he,data:se.data},label:l.formatGroupLabel(se.data)}),se.options.map(function(Te){return Oe(Te,"".concat(De,"-").concat(Te.index))}))}else if(se.type==="option")return Oe(se,"".concat(se.index))});else if(P){var ve=U({inputValue:B});if(ve===null)return null;Ie=M.createElement(R,N,ve)}else{var Le=me({inputValue:B});if(Le===null)return null;Ie=M.createElement(T,N,Le)}var F={minMenuHeight:z,maxMenuHeight:G,menuPlacement:te,menuPosition:Re,menuShouldScrollIntoView:ye},q=M.createElement(r$,xt({},N,F),function(se){var xe=se.ref,Ee=se.placerProps,De=Ee.placement,ie=Ee.maxHeight;return M.createElement(g,xt({},N,F,{innerRef:xe,innerProps:{onMouseDown:l.onMenuMouseDown,onMouseMove:l.onMenuMouseMove},isLoading:P,placement:De}),M.createElement(kW,{captureEnabled:L,onTopArrive:Ae,onBottomArrive:_e,lockEnabled:pe},function(he){return M.createElement(b,xt({},N,{innerRef:function(Ve){l.getMenuListRef(Ve),he(Ve)},innerProps:{role:"listbox","aria-multiselectable":N.isMulti,id:l.getElementId("listbox")},isLoading:P,maxHeight:ie,focusedOption:j}),Ie)}))});return ue||Re==="fixed"?M.createElement(E,xt({},N,{appendTo:ue,controlElement:this.controlRef,menuPlacement:te,menuPosition:Re}),q):q}},{key:"renderFormField",value:function(){var l=this,d=this.props,p=d.delimiter,y=d.isDisabled,g=d.isMulti,b=d.name,E=d.required,R=this.state.selectValue;if(E&&!this.hasValue()&&!y)return M.createElement(PW,{name:b,onFocus:this.onValueInputFocus});if(!(!b||y))if(g)if(p){var T=R.map(function(j){return l.getOptionValue(j)}).join(p);return M.createElement("input",{name:b,type:"hidden",value:T})}else{var A=R.length>0?R.map(function(j,O){return M.createElement("input",{key:"i-".concat(O),name:b,type:"hidden",value:l.getOptionValue(j)})}):M.createElement("input",{name:b,type:"hidden",value:""});return M.createElement("div",null,A)}else{var N=R[0]?this.getOptionValue(R[0]):"";return M.createElement("input",{name:b,type:"hidden",value:N})}}},{key:"renderLiveRegion",value:function(){var l=this.commonProps,d=this.state,p=d.ariaSelection,y=d.focusedOption,g=d.focusedValue,b=d.isFocused,E=d.selectValue,R=this.getFocusableOptions();return M.createElement(xW,xt({},l,{id:this.getElementId("live-region"),ariaSelection:p,focusedOption:y,focusedValue:g,isFocused:b,selectValue:E,focusableOptions:R,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var l=this.getComponents(),d=l.Control,p=l.IndicatorsContainer,y=l.SelectContainer,g=l.ValueContainer,b=this.props,E=b.className,R=b.id,T=b.isDisabled,A=b.menuIsOpen,N=this.state.isFocused,j=this.commonProps=this.getCommonProps();return M.createElement(y,xt({},j,{className:E,innerProps:{id:R,onKeyDown:this.onKeyDown},isDisabled:T,isFocused:N}),this.renderLiveRegion(),M.createElement(d,xt({},j,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:T,isFocused:N,menuIsOpen:A}),M.createElement(g,xt({},j,{isDisabled:T}),this.renderPlaceholderOrValue(),this.renderInput()),M.createElement(p,xt({},j,{isDisabled:T}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(l,d){var p=d.prevProps,y=d.clearFocusValueOnUpdate,g=d.inputIsHiddenAfterUpdate,b=d.ariaSelection,E=d.isFocused,R=d.prevWasFocused,T=d.instancePrefix,A=l.options,N=l.value,j=l.menuIsOpen,O=l.inputValue,L=l.isMulti,B=iO(N),P={};if(p&&(N!==p.value||A!==p.options||j!==p.menuIsOpen||O!==p.inputValue)){var U=j?eX(l,B):[],z=j?CO($b(l,B),"".concat(T,"-option")):[],G=y?tX(d,B):null,X=nX(d,U),te=VS(z,X);P={selectValue:B,focusedOption:X,focusedOptionId:te,focusableOptionsWithIds:z,focusedValue:G,clearFocusValueOnUpdate:!1}}var Re=g!=null&&l!==p?{inputIsHidden:g,inputIsHiddenAfterUpdate:void 0}:{},ue=b,pe=E&&R;return E&&!pe&&(ue={value:_b(L,B,B[0]||null),options:B,action:"initial-input-focus"},pe=!R),(b==null?void 0:b.action)==="initial-input-focus"&&(ue=null),vt(vt(vt({},P),Re),{},{prevProps:l,ariaSelection:ue,prevWasFocused:pe})}}]),i}(M.Component);Nw.defaultProps=KW;var aX=M.forwardRef(function(n,r){var i=Tj(n);return M.createElement(Nw,xt({ref:r},i))}),Ow=aX;function Ip({bg:n="dark",children:r,color:i="light",fontWeight:u="bold",icon:l="info-circle-fill",initial:d=!1,maxWidth:p="200px",padding:y="10px",placement:g,target:b,trigger:E="click",visible:R=!0}){const T=typeof d=="string"||d instanceof String,[A,N]=M.useState(T?localStorage.getItem(d)!="true":d),[j,O]=M.useState(!1);M.useEffect(()=>{setTimeout(()=>O(!0),100)},[]);const L=()=>{T&&localStorage.setItem(d,"true")},B=C.jsxs(fw,{style:{"--bs-tooltip-bg":`var(--bs-${n})`,"--bs-tooltip-color":`var(--bs-${i})`,"--bs-tooltip-max-width":p,"--bs-tooltip-padding-x":y,"--bs-tooltip-padding-y":y,fontWeight:u},children:[C.jsx("button",{"aria-label":"Close",onClick:()=>{L(),N(!1)},style:{background:"transparent",border:"0 none transparent",float:"right"},children:C.jsx("i",{className:"bi bi-x-lg"})}),r]});return b&&b.current?C.jsx(Ej,{target:b.current,placement:g,show:A&&R&&j,children:B}):C.jsx(Sj,{placement:g,onToggle:P=>{L(),N(P)},overlay:B,show:A&&R&&j,trigger:E,children:C.jsx("button",{className:"btn bnt-clear border-0",style:{backgroundColor:"transparent"},children:C.jsx("i",{className:`bi bi-${l}`})})})}const iX="_items_c2dbg_1",oX="_item_c2dbg_1",sX="_details_c2dbg_14",uX="_text_c2dbg_20",lX="_number_c2dbg_35",cX="_outer_c2dbg_50",fX="_inner_c2dbg_61",zu={items:iX,item:oX,details:sX,text:uX,number:lX,outer:cX,inner:fX},am=(n,r)=>`${Math.cos(2*Math.PI*n)*r} ${Math.sin(2*Math.PI*n)*r}`;function dX({requestId:n,grantNumber:r,creditColorClass:i="gray-300",colorClasses:u=t1}){const{request:l}=ti(n,r);if(!l)return;let d=0,p;const y=[];for(let T of l.resources)T.isBoolean||(T.isCredit?p=T:y.push(T),d+=T.requested*T.unitCost);const g=[],b=[];let E=-.25;const R=[...y,p].map((T,A)=>{if(!T)return null;const N=A+1,O=T.requested*T.unitCost/d,L=T.requested-T.used,B=Math.max(0,L),P=T.isCredit?d/T.unitCost:T.requested,U=P==0?0:100*B/P,G=`var(--bs-${T.isCredit?i:u[A%u.length]})`;if(O>0){const X=E,te=E+O/2,Re=E+=O,ue=O>.5?1:0,pe=[`M ${am(X,100)}`,`A 100 100 0 ${ue} 1 ${am(Re,100)}`,`L ${am(Re,50)}`,`A 50 50 0 ${ue} 0 ${am(X,50)}`].join(" "),[ye,me]=am(te,75).split(" ").map(Ae=>parseFloat(Ae));g.push(C.jsx("path",{d:pe,style:{fill:G}},T.resourceId)),b.push(C.jsx("circle",{cx:ye,cy:me,r:"8",fill:"black"},`${T.resourceId}-circle`),C.jsx("text",{x:ye-4,y:me+4,fill:"white",className:zu.number,children:N},`${T.resourceId}-text`))}return T.isCredit&&b.push(C.jsx("foreignObject",{x:"-50",y:"-50",width:"100",height:"100",children:C.jsx("div",{className:zu.text,children:C.jsxs("div",{children:[C.jsx("strong",{children:ei(B,{abbreviate:!0})}),T.unit," available"]})})},"center-text")),C.jsxs("li",{className:zu.item,children:[C.jsx("span",{className:zu.number,children:N}),C.jsx("span",{className:`${zu.outer} ms-2 me-2`,style:{borderColor:G},children:C.jsx("span",{className:zu.inner,style:{backgroundColor:G,width:`${U}%`}})}),C.jsxs("strong",{className:zu.name,children:[Sf(T,{userGuide:!1}),": "]}),C.jsxs("span",{className:zu.details,children:[ei(L,{abbreviate:!0})," ",T.isCredit?null:C.jsxs(C.Fragment,{children:["of ",ei(P,{abbreviate:!0})," "]}),T.unit," ",T.isCredit?"available":"remaining"," (",Math.round(U),"%)"]})]},T.resourceId)});return C.jsxs("div",{className:"row",children:[C.jsx("div",{className:"col-lg-3 mb-3 d-flex flex-row align-items-center justify-content-center",children:C.jsxs("svg",{version:"1.1",viewBox:"-100 -100 200 200",width:"200",height:"200",xmlns:"http://www.w3.org/2000/svg",children:[g,b]})}),C.jsx("div",{className:"col-lg-9 mb-3 d-flex flex-column justify-content-center",children:C.jsx("ul",{className:zu.items,children:R})})]})}const EO=n=>n;function pX({classes:n,clean:r=EO,format:i=EO,label:u,setValue:l,style:d,value:p}){const y=i(p),[g,b]=M.useState(y);return M.useEffect(()=>{b(y)},[y]),C.jsx("input",{type:"text","aria-label":u,className:`form-control ${n}`,value:g,style:d,onChange:E=>b(E.target.value),onBlur:E=>{const R=r(E.target.value);b(i(R)),l(R)},onKeyDown:E=>{E.code=="Enter"&&(E.preventDefault(),E.target.blur())}})}function vX({requestId:n,grantNumber:r}){const{request:i,addResource:u,openUsageDetailModal:l,resetResources:d,setResourceRequest:p,setResourcesReason:y,statuses:g,toggleActionsModal:b,toggleConfirmModal:E,toggleResourcesModal:R}=ti(n,r),{project:T}=$i(r||i&&i.grantNumber),A=M.useRef(null),N=M.useRef(null);if(!i||!T)return;const j="Exchange"in i.allowedActions,O="Renewal"in i.allowedActions,L="Supplement"in i.allowedActions,B=i.exchangeStatus==g.pending,P=i.exchangeStatus==g.success,U=i.exchangeStatus==g.error,z=i.exchangeActionId!==null,G=i.resources,X=i.resourcesReason,te={};for(let ie of G)te[ie.resourceId]=ie;const Re=()=>{y_(i)>=.75?b():E()},ue=[];for(let ie of G){let he=[];if(ie.requested>0){for(let Te of ie.requires||[]){let Ve=te[Te];if(Ve){if(Ve.requested>0){he=[];break}he.push(Ve)}}he.length&&ue.push(C.jsxs("span",{children:[Sf(ie,{userGuide:!1})," requires"," ",g_(he.map(Te=>Sf(Te,{userGuide:!1})),"or"),"."]},ie.resourceId))}}const pe=ue.length>0;let ye;P?ye=C.jsx(ba,{color:"info",children:"Your exchange request has been submitted."}):z?ye=C.jsx(ba,{color:"warning",children:"You have an exchange request under review. The information below reflects the pending exchange request."}):U?ye=C.jsx(ba,{color:"danger",children:"Sorry, your exchange request could not be submitted. Please try again later."}):i.timeStatus=="current"&&!T.isManager?ye=C.jsxs(ba,{color:"warning",children:["You do not have permission to manage resources for this project. Please contact ",z1(T)," to request a change."]}):pe&&(ye=C.jsxs(ba,{color:"warning",children:[ue," Please adjust your balance values."]}));const me=X.length>0;let Ae=!1,_e=!1;for(let ie of G)if(ie.isNew&&(Ae=!0),ie.allocated!=ie.requested&&(_e=!0),Ae&&_e)break;const Oe=G.map(ie=>ie.resourceId),Ie=j&&!P&&!z?i.allowedActions.Exchange.resources.filter(ie=>!Oe.includes(ie.resourceId)).map(ie=>{const he=S0(ie.name),Te=he.short?`${he.short} (${he.full.replace(/ \([^(]+\)/,"")})`:he.full;return{value:ie.resourceId,label:Te}}):[],ve=j?i.allowedActions.Exchange.resources.map(ie=>ie.resourceId):[];let Le;const F=[],q=[];for(let ie of G)ie.isCredit?Le=ie:(F.push(ie),q.push(!P&&!z&&(ie.isNew||ie.allocated!=ie.requested)?Rp.edited:ve.includes(ie.resourceId)?"":Rp.disabled));const se=`Add ${F.length?"another":"a"} resource to your exchange...`,xe=ie=>ie.requested-ie.used,Ee=(ie,he)=>{let Te=Sp(Number(ie.replace(/[^0-9-.]/g,""))+he.used,he.decimalPlaces);isNaN(Te)&&(Te=he.allocated);const Ve=Math.min(he.allocated,he.used);return Te<Ve?Ve:he.unitCost*(Te-he.requested)>Le.requested?Sp(Le.requested/he.unitCost,he.decimalPlaces,"floor")+he.requested:Te},De=[{key:"name",name:"Resource",format:(ie,he)=>Sf(he),width:Math.min(350,window.innerWidth*.3)},{key:"isActive",name:"Status",format:(ie,he)=>C.jsx(kp,{status:ie?"Active":he.isNew?"New":"Inactive"}),width:100},{key:"unit",name:"Unit",width:150,format:(ie,he)=>he.isBoolean?C.jsx(C.Fragment,{children:"—"}):C.jsx("abbr",{title:`1 ${eN(ie,1)} = ${ei(he.unitCost)} ${eN(Le.name,he.unitCost)}`,children:ie})},{key:"used",name:"Usage",class:"text-end",format:(ie,he)=>he.isBoolean?C.jsx(C.Fragment,{children:"—"}):C.jsxs(C.Fragment,{children:[ei(ie),(T.currentUser.resourceIds.includes(he.resourceId)||T.currentUser.resourceAccountInactiveIds.includes(he.resourceId))&&C.jsx(Qb,{icon:"table",onClick:()=>l(he.resourceRepositoryKey),target:"_blank",title:`${he.name} Usage Details`})]})}];return j&&De.push({key:"requested",name:"Balance",class:"text-end",rowClass:ie=>!P&&!z&&ve.includes(ie.resourceId)?Rp.input:"",format:(ie,he)=>{const Te=!P&&!z&&ve.includes(he.resourceId);return he.isBoolean?C.jsx("input",{className:"form-check-input",type:"checkbox",checked:ie==1,disabled:!Te,onChange:Ve=>p(he.resourceId,Ve.target.checked?1:0)}):Te?C.jsx(pX,{classes:"text-end w-100",clean:Ve=>Ee(Ve,he)-he.used,format:ei,label:`Balance for ${he.name}`,setValue:Ve=>{p(he.resourceId,Ve+he.used)},style:{padding:"0.1rem 0.5rem"},value:xe(he)}):ei(xe(he))},formatHeader:ie=>C.jsxs(C.Fragment,{children:[ie,!P&&!z?C.jsx(Ip,{bg:"secondary",color:"dark",initial:"myprojects.requestedAllocation",placement:"top-end",visible:T.tab=="resources",children:"You can increase or decrease the balance below to change your allocation on a resource. Enter the total amount you would like to have available once the exchange is complete."}):null]})}),C.jsxs("div",{className:"resources",children:[ye,G.length?C.jsx(dX,{requestId:n}):null,Le&&(j||O||L)?C.jsxs("h2",{className:"mb-1 mt-2 d-flex justify-content-between",children:[C.jsxs("span",{children:[dc(On.resourceTypeIcons.credit)," ",ei(Le.requested,Le)," ",Le.unit," available to exchange"]}),O||L?C.jsxs("button",{type:"button",className:"btn btn-sm btn-primary ms-2",onClick:Re,children:[dc(On.resourceTypeIcons.credit)," Request More"," ",i.usesCredits?"Credits":"Units"]}):null]}):null,F.length?C.jsx(_f,{columns:De,rows:F,rowClasses:q,classes:Ie.length?"mb-0":"",frozenColumns:2,minWidth:"800px"}):C.jsx("div",{className:"card p-2 text-bg-light p-3",children:"This project does not have any resources."}),Ie.length?C.jsxs(C.Fragment,{children:[C.jsx("div",{className:"p-2",style:{backgroundColor:"var(--teal-200)",border:"1px solid #cccccc",marginTop:"-1px"},ref:A,children:C.jsx(Ow,{classNames:{control:()=>"react-select mb-1"},options:Ie,onChange:ie=>u(ie.value),placeholder:se,value:null,"aria-label":se})}),F.length?null:C.jsx(Ip,{bg:"secondary",color:"dark",visible:T.tab=="resources",initial:!0,target:A,children:"Ready to get started? Search for a resource to add it to your project."}),C.jsxs("p",{className:"text-black-50",style:{fontSize:"0.9rem"},children:["Need help choosing a resource? Visit our"," ",C.jsx("a",{href:On.routes.resources_path(),children:"Resource Catalog"}),"."]})]}):null,j&&!P&&!z?C.jsxs(C.Fragment,{children:[C.jsxs("div",{className:"mb-3",children:[C.jsx("label",{htmlFor:"resources-reason",className:"form-label required",children:"Please briefly explain how the requested resources and amounts will contribute to your research."}),C.jsx("textarea",{className:"form-control",id:"resources-reason",rows:"2",value:X,onChange:ie=>y(ie.target.value),style:{minHeight:"3rem"}})]}),C.jsxs("div",{className:"d-flex",children:[C.jsx("button",{type:"button",className:"btn btn-danger me-2",disabled:B||!_e&&!me&&!Ae,onClick:d,children:"Reset Form"}),C.jsx("button",{ref:N,type:"button",className:"btn btn-secondary",disabled:B||!_e||!me||pe,onClick:R,children:B?"Submitting...":"Submit for Approval"})]}),_e&&!pe?C.jsx(Ip,{bg:"secondary",color:"dark",initial:"myprojects.submitExchange",maxWidth:"390px",placement:"right",target:N,visible:T.tab=="resources",children:"When you are finished adding resources, enter a justification for the requested resources above. Then you can submit your exchange for approval."}):null]}):null]})}function hX({question:n,requestId:r,grantNumber:i}){const{request:u,setResourceQuestionValues:l}=ti(r,i),d=M.useId();if(!n||!u||u.error)return;const{attributeSetId:p,attributes:y,fieldType:g,label:b,resourceId:E,values:R}=n,T=y[0],A=T.required?"required":"",N=P=>l(E,p,P.target.value?[P.target.value]:[]),j=P=>{l(E,p,Array.from(P.target.options).filter(({selected:U})=>U).map(({value:U})=>parseInt(U,10)))},O=P=>{const U=parseInt(P.target.value,10),z=P.target.checked?[...R,U]:R.filter(G=>G!=U);l(E,p,z)},L=P=>{const U=parseInt(P.target.value);l(E,p,isNaN(U)?[]:[U])};let B;if(["calendar","integer_only","text"].includes(g)){const P={calendar:"date",integer_only:"number",text:"text"}[g];B=C.jsx("input",{className:"form-control",id:d,type:P,placeholder:T.label,required:T.required,value:R[0]||"",onChange:g=="integer_only"?L:N})}else if(g=="textarea")B=C.jsx("textarea",{className:"form-control",id:d,placeholder:T.label,required:T.required,value:R[0]||"",onChange:N});else if(g=="drop_down"||y.length>=10){const P=g=="multi_sel";B=C.jsxs("select",{id:d,className:"form-select",required:T.required,multiple:P,onChange:P?j:L,value:P?R:R[0]||"",children:[P?null:C.jsx("option",{}),y.map(U=>C.jsx("option",{value:U.resourceAttributeId,children:U.label},U.resourceAttributeId))]})}else B=C.jsx("div",{id:d,children:y.map(P=>{const U=`resource-attribute-${P.resourceAttributeId}`;return C.jsxs("div",{className:"form-check",children:[C.jsx("input",{className:"form-check-input",type:g=="single_sel"?"radio":"checkbox",id:U,value:P.resourceAttributeId,checked:R.includes(P.resourceAttributeId),onChange:g=="single_sel"?L:O}),C.jsx("label",{className:"form-check-label",htmlFor:U,children:P.label})]},P.resourceAttributeId)})});return C.jsxs("div",{className:"mb-3",children:[C.jsx("label",{htmlFor:d,className:`form-label ${A}`,children:b}),B]})}function mX({requestId:n,grantNumber:r}){const{request:i,saveResources:u,toggleResourcesModal:l}=ti(n,r),{project:d}=$i(r||i.grantNumber);if(!i||!d||i.error||d.error)return;const p=[],y=i.resources.filter(b=>b.allocated!=b.requested).map(b=>{const E=b.requested-b.allocated;return b.questions&&p.push(...b.questions),C.jsxs("li",{className:"list-group-item d-flex justify-content-between align-items-center mb-0",children:[b.name,C.jsx("span",{className:`badge bg-${E>0?"primary":"danger"} rounded-pill`,children:b.isBoolean?B1(b.requested):C.jsxs(C.Fragment,{children:[E>0?"+":"",ei(E,b)," ",b.unit]})})]},b.resourceId)}),g=p.some(({attributes:b,values:E})=>E.length==0&&b[0].required);return C.jsxs(kn,{size:"lg",show:i.showResourcesModal,onHide:l,scrollable:!0,children:[C.jsx(kn.Header,{closeButton:!0,children:C.jsx(kn.Title,{children:"Complete Your Exchange"})}),C.jsxs(kn.Body,{children:[C.jsx("p",{children:"Please review your exchange to make sure it includes all the resources you need. Once you submit it, you will not be able to request another exchange until this one has been processed by the resource providers."}),C.jsx("ul",{className:"list-group mb-3",children:y}),p.length?C.jsxs(C.Fragment,{children:[C.jsx("h2",{children:"Resource Questions"}),C.jsx("p",{children:"Some of the resources you selected have associated questions. Please answer the questions below."}),p.map(b=>C.jsx(hX,{question:b,requestId:n,grantNumber:r},b.attributeSetId))]}):null]}),C.jsx(kn.Footer,{children:C.jsxs("div",{className:"d-flex",children:[C.jsx("button",{type:"button",className:"btn btn-primary me-2",onClick:l,children:"Continue Editing"}),C.jsx("button",{type:"button",className:"btn btn-secondary",onClick:u,disabled:g,children:"Submit"})]})})]})}function Am(){return C.jsx("div",{className:"spinner-border",role:"status",children:C.jsx("span",{className:"visually-hidden",children:"Loading..."})})}function mk({user:n}){const r=`${n.lastName}, ${n.firstName}`;let i=r,u=[n.organization,n.email].filter(l=>l).join(", ");return u&&(i+=`: ${u}`),C.jsx("abbr",{title:i,children:r})}function gX({requestId:n,grantNumber:r}){const{project:i}=$i(r),{request:u,closeUsageDetailModal:l}=ti(n,r);if(!u||u.error||!i||i.error||!u.usageDetailStatus)return;let d,p="Usage";if(u.usageDetailStatus==ea.pending)d=C.jsx(Am,{});else if(u.usageDetailStatus==ea.error)d=C.jsx(ba,{color:"danger",children:"An error occurred while loading usage data."});else{const{projectTitle:y,resourceDisplayName:g,resourceRepositoryKey:b,users:E}=u.usageDetail,{full:R,short:T}=S0(g),A=u.resources.find(L=>L.resourceRepositoryKey==b),N=L=>ei(L,{decimalPlaces:A?A.decimalPlaces:void 0}),j={};for(let L of i.users)j[L.username]=L;p=C.jsxs(C.Fragment,{children:["Usage: ",T||R," for ",y]});const O=[{key:"name",name:"Name",format:(L,{lastName:B,firstName:P,portalUsername:U})=>{const z=j[U];return z?C.jsx(mk,{user:z}):`${B}, ${P}`}},{key:"portalUsername",name:"Resource Username",format:L=>{const B=j[L],P=B?B.resourceUsernames[A.resourceId]:null;return P||C.jsx(C.Fragment,{children:"—"})}},{key:"role",name:"Role",format:L=>b_[L].name},{key:"lastWeek",name:"Last Week",class:"text-end",format:N},{key:"lastMonth",name:"Last Month",class:"text-end",format:N},{key:"lastQuarter",name:"Last 3 Months",class:"text-end",format:N},{key:"currentRequest",name:"Current Allocation",class:"text-end",format:N},{key:"total",name:"All Time",class:"text-end",format:N}];d=E.length?C.jsx(_f,{rows:E,columns:O}):C.jsx(ba,{color:"info",children:"There is no usage for this resource."})}return C.jsxs(kn,{show:!0,size:"lg",onHide:l,scrollable:!0,children:[C.jsx(kn.Header,{closeButton:!0,children:C.jsx(kn.Title,{children:p})}),C.jsx(kn.Body,{children:d})]})}var yX=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];function bX(n){var r=n.defaultOptions,i=r===void 0?!1:r,u=n.cacheOptions,l=u===void 0?!1:u,d=n.loadOptions;n.options;var p=n.isLoading,y=p===void 0?!1:p,g=n.onInputChange,b=n.filterOption,E=b===void 0?null:b,R=Zs(n,yX),T=R.inputValue,A=M.useRef(void 0),N=M.useRef(!1),j=M.useState(Array.isArray(i)?i:void 0),O=ta(j,2),L=O[0],B=O[1],P=M.useState(typeof T<"u"?T:""),U=ta(P,2),z=U[0],G=U[1],X=M.useState(i===!0),te=ta(X,2),Re=te[0],ue=te[1],pe=M.useState(void 0),ye=ta(pe,2),me=ye[0],Ae=ye[1],_e=M.useState([]),Oe=ta(_e,2),Ie=Oe[0],ve=Oe[1],Le=M.useState(!1),F=ta(Le,2),q=F[0],se=F[1],xe=M.useState({}),Ee=ta(xe,2),De=Ee[0],ie=Ee[1],he=M.useState(void 0),Te=ta(he,2),Ve=Te[0],Ke=Te[1],It=M.useState(void 0),Ne=ta(It,2),ft=Ne[0],Bt=Ne[1];l!==ft&&(ie({}),Bt(l)),i!==Ve&&(B(Array.isArray(i)?i:void 0),Ke(i)),M.useEffect(function(){return N.current=!0,function(){N.current=!1}},[]);var lt=M.useCallback(function(Hn,Mn){if(!d)return Mn();var Mt=d(Hn,Mn);Mt&&typeof Mt.then=="function"&&Mt.then(Mn,function(){return Mn()})},[d]);M.useEffect(function(){i===!0&&lt(z,function(Hn){N.current&&(B(Hn||[]),ue(!!A.current))})},[]);var hn=M.useCallback(function(Hn,Mn){var Mt=z5(Hn,Mn,g);if(!Mt){A.current=void 0,G(""),Ae(""),ve([]),ue(!1),se(!1);return}if(l&&De[Mt])G(Mt),Ae(Mt),ve(De[Mt]),ue(!1),se(!1);else{var Ln=A.current={};G(Mt),ue(!0),se(!me),lt(Mt,function($n){N&&Ln===A.current&&(A.current=void 0,ue(!1),Ae(Mt),ve($n||[]),se(!1),ie($n?vt(vt({},De),{},Ep({},Mt,$n)):De))})}},[l,lt,me,De,g]),nn=q?[]:z&&me?Ie:L||[];return vt(vt({},R),{},{options:nn,isLoading:Re||y,onInputChange:hn,filterOption:E})}var CX=M.forwardRef(function(n,r){var i=bX(n),u=Tj(i);return M.createElement(Nw,xt({ref:r},u))}),xX=CX;const SO=({description:n,disabled:r=!1,onChange:i,selectedLength:u,totalLength:l})=>{const d=M.useRef(),p=M.useId();let y=u==l,g=u>0&&!y;return M.useEffect(()=>{d.current&&(d.current.checked=y,d.current.indeterminate=g)},[y,g]),C.jsxs(C.Fragment,{children:[C.jsx("input",{className:"custom-checkbox form-check-input",disabled:r,id:p,onChange:b=>i(b.target.checked),ref:d,type:"checkbox"}),C.jsx("label",{className:"form-check-label",htmlFor:p,"aria-description":`${y?"Deselect":"Select"} ${n}`})]})};function EX({grantNumber:n,requestId:r}){const{project:i,addUser:u,resetUsers:l,saveUsers:d,setTab:p,setUserRole:y,statuses:g,toggleUsersResources:b}=$i(n),{request:E}=i?ti(r||i.currentRequestId,n):{request:null};if(!i||!i.currentRequestId||!E||i.error||E.error)return;const R=i.isManager,T="Exchange"in E.allowedActions,A=i.usersStatus==g.pending,N=i.usersStatus==g.success,j=i.usersStatus==g.error,O=i.users,L=E.resources.filter(r1),B=L.length==0,P=O.find(ue=>ue.hasChanges)!==void 0,U=O.find(ue=>ue.role!="pi")!==void 0;let z;N&&!P?z=C.jsx(ba,{color:"info",children:"Your changes have been saved. Creation of user accounts can take some time. Users can check the status of their accounts on the Overview tab of the My Projects page."}):j?z=C.jsx(ba,{color:"danger",children:"Sorry, your changes could not be saved. Please try again later."}):R?L.length?B&&(z=C.jsx(ba,{color:"warning",children:"This project does not have any active resources."})):z=C.jsxs(ba,{color:"warning",children:["This project does not have any resources."," ",T?C.jsx("a",{href:On.routes.request_action_path(E.requestId,"new?action_type=Exchange"),onClick:ue=>{ue.preventDefault(),p("resources")},children:"Exchange credits for resources."}):null," ","Additional users can be added after an exchange is approved."]}):z=C.jsxs(ba,{color:"warning",children:["You do not have permission to manage users for this project. Please contact ",z1(i)," to request a change."]});const G=(ue,pe)=>{let ye,me,Ae,_e;if(pe.key=="all"){ye="all resources for all users",me=Oe=>b(Oe),Ae=0;for(let Oe of O)Ae+=Oe.resourceIds.length;_e=O.length*L.length}else ye=`all users for ${pe.name}`,me=Oe=>b(Oe,null,pe.key),Ae=O.filter(({resourceIds:Oe})=>Oe.includes(pe.key)).length,_e=O.length;return C.jsxs(C.Fragment,{children:[pe.key=="all"?ue:Sf(pe,{userGuide:!1}),C.jsx("br",{}),C.jsx(SO,{description:ye,disabled:pe.disabled,onChange:me,selectedLength:Ae,totalLength:_e})]})},X=w0.map(({role:ue,name:pe})=>C.jsx("option",{value:ue,children:pe},ue)),te=[{key:"name",name:"Name",width:200,format:(ue,pe)=>C.jsx(mk,{user:pe})},{key:"username",name:"ACCESS Username",width:100},{key:"role",name:"Role",width:100,format:(ue,pe)=>C.jsx("select",{className:"form-select",value:ue,onChange:ye=>y(pe.username,ye.target.value),disabled:!R||ue=="pi"||ue=="co_pi",style:{position:"absolute",left:0,top:0,bottom:0,right:0,borderWidth:0},children:X.filter(ye=>ye.key==ue||!["pi","co_pi"].includes(ye.key))})}];L.length&&te.push({key:"all",name:"All Resources",class:`text-center ${Rp.important}`,disabled:!R||B,width:100,format:(ue,pe)=>C.jsx(SO,{description:`all users for ${pe.name}`,disabled:!R||B,onChange:ye=>b(ye,pe.username),selectedLength:pe.resourceIds.length,totalLength:L.length}),formatHeader:G});for(let ue of L)te.push({key:ue.resourceId,name:ue.name,class:"text-center",disabled:!R||!ue.isActive,icon:ue.icon,format:(pe,ye)=>C.jsx(C.Fragment,{children:C.jsx("input",{className:"form-check-input",disabled:!R||!ue.isActive,onChange:me=>b(me.target.checked,ye.username,ue.resourceId),type:"checkbox",checked:ye.resourceIds.includes(ue.resourceId)})}),formatHeader:G});const Re=O.map(ue=>ue.hasChanges?Rp.edited:"");return C.jsxs(C.Fragment,{children:[z,C.jsx(_f,{rows:O,columns:te,frozenColumns:L.length?4:3,classes:"mb-0",minWidth:"800px",rowClasses:Re,scrollRowIndex:i.usersNewRowIndex}),R&&L.length&&!B?C.jsx("div",{style:{marginTop:"-1px",position:"relative",zIndex:100},children:C.jsx(xX,{classNames:{control:()=>"react-select"},loadOptions:async ue=>(await Cz(ue)).map(ye=>({value:ye,label:`${ye.username} (${ye.firstName} ${ye.lastName}, ${ye.organization}${ye.email?`, ${ye.email}`:""})`})),onChange:ue=>u(ue.value),placeholder:"Add another user...",value:null,"aria-label":"Add another user"})}):null,R&&(L.length&&!B||U)?C.jsxs("div",{className:"d-flex mt-3",children:[C.jsx("button",{type:"button",className:"btn btn-danger me-2",disabled:A||!P,onClick:l,children:"Reset Form"}),C.jsx("button",{type:"button",className:"btn btn-secondary",disabled:A||!P,onClick:d,children:A?"Saving...":"Save Changes"})]}):null]})}function SX({requestId:n,grantNumber:r}){const{request:i}=ti(n,r),{project:u,setRequest:l,setTab:d}=$i(r||i.grantNumber);if(!i)return;if(i.error)return C.jsx(ba,{color:"danger",children:i.error});const p=i.timeStatus||i.actions[0].status.toLowerCase(),y=i.actions.find(({showDeleteModal:b})=>b),g=[];return i.resources.length||g.push("resources"),n!=u.currentRequestId&&g.push("users"),C.jsxs("div",{className:"request",children:[i.timeStatus!="current"?C.jsxs(ba,{color:"warning",children:["You are viewing ","aeiou".includes(p[0])?"an":"a"," ",p," request."," ",g.length?`You cannot manage ${g.join(" or ")} for this request.`:""," ",u.currentRequestId?C.jsx("a",{href:On.routes.request_path(u.currentRequestId),onClick:b=>{b.preventDefault(),l(u.currentRequestId)},children:"Go to the current request."}):null]}):null,C.jsxs(v9,{activeKey:u.tab,onSelect:d,className:"mt-3 mb-3",children:[C.jsx(Sb,{eventKey:"overview",title:"Overview",className:"mb-0",children:C.jsx(eG,{requestId:n,grantNumber:r})}),C.jsx(Sb,{eventKey:"resources",title:i.usesCredits?"Credits + Resources":"Resources",disabled:g.includes("resources"),children:C.jsx(vX,{requestId:n})}),C.jsx(Sb,{eventKey:"users",title:"Users + Roles",disabled:g.includes("users"),children:C.jsx(EX,{grantNumber:r})}),C.jsx(Sb,{eventKey:"history",title:"History",children:C.jsx(NU,{requestId:n})})]}),C.jsx(yU,{grantNumber:r,requestId:n}),C.jsx(bU,{grantNumber:r,requestId:n}),C.jsx(CU,{grantNumber:r,requestId:n,actionId:y?y.actionId:null}),C.jsx(mX,{grantNumber:r,requestId:n}),C.jsx(gX,{grantNumber:r,requestId:n})]})}function wX({requestId:n,grantNumber:r}){const{request:i,toggleActionsModal:u,toggleDeleteModal:l}=ti(n,r);if(!i)return;const{actions:d,allowedActions:p}=i,y=[];p&&(("Extension"in p||"Renewal"in p)&&y.push(["Extend End Date",b=>{b.preventDefault(),u()},"calendar-plus"]),"Final Report"in p&&y.push(["Submit Final Report",`${On.routes.request_action_path(n,"new")}?action_type=Final+Report`,"file-earmark-check"]));const g=d.find(b=>b.isRequest);if(g){const b=g.allowedOperations||[];b.includes("Edit")&&y.push(["Edit",On.routes.edit_request_path(i.requestId),"pencil"]),b.includes("Delete")&&y.push(["Delete",E=>{E.preventDefault(),l(g.actionId)},"trash","danger"])}return y.map(([b,E,R,T])=>{const A=C.jsxs(C.Fragment,{children:[" ",R&&C.jsx("i",{className:`bi bi-${R} me-1`}),b]});return typeof E=="function"?C.jsx("button",{className:`btn btn-${T||"primary"} ms-2 text-nowrap`,onClick:E,children:A},b):C.jsx("a",{className:`btn btn-${T||"primary"} ms-2 text-nowrap`,href:E,children:A},b)})}function RX({open:n=!1,grantNumber:r,title:i,status:u}){const[l,d]=M.useState(n),{project:p,setRequest:y}=$i(r,!l&&i&&u&&!0),g=`project-${r}`;let b=null;if(l&&p)if(p.error)b=C.jsx(ba,{color:"danger",children:p.error});else{let E;const R=p.requestsList.map(T=>(T.requestId==p.selectedRequestId&&(E=T),C.jsx("option",{value:T.requestId,children:V1(T)},T.requestId)));b=C.jsxs(C.Fragment,{children:[C.jsxs("div",{className:"d-flex",children:[C.jsx("select",{className:"form-select","aria-label":"Select a request to display",onChange:T=>y(parseInt(T.target.value,10)),value:p.selectedRequestId,disabled:R.length<2,children:R}),C.jsx(wX,{requestId:p.selectedRequestId,grantNumber:r})]}),E?C.jsx(SX,{...E,grantNumber:r}):null]})}return C.jsxs("div",{className:`${aN.project} card mb-3`,children:[C.jsxs("div",{className:`card-header d-flex justify-content-between ${l?"":"border-bottom-0"}`,children:[C.jsx("button",{"aria-expanded":l,"aria-controls":g,className:aN.expand,onClick:()=>d(!l),children:C.jsxs("h2",{className:"mb-1 mt-1 text-start",children:[C.jsx("i",{className:`bi bi-caret-${l?"down":"right"}-fill`})," ",/^[A-Z]/.test(r)?C.jsxs(C.Fragment,{children:[C.jsxs("span",{className:"grant-number",children:[r,":"]})," "]}):null,i||p.title]})}),C.jsx(kp,{status:u||p.status})]}),C.jsx("div",{className:"card-body",id:g,hidden:!l||!p,children:b})]})}function TX({username:n,openFirst:r=1}){const{error:i,loading:u,projects:l}=Gz(n);return u?C.jsx(Am,{}):i?C.jsxs(ba,{color:"danger",children:[i," ",C.jsx("a",{href:"#",onClick:d=>{d.preventDefault(),window.location.reload()},children:"Reload the page"})," ","to try again."]}):l.length?l.map((d,p)=>C.jsx(RX,{open:p<r,...d},d.grantNumber)):C.jsxs("div",{className:"pt-5 pb-5 text-bg-light border border-light-subtle",children:[C.jsx("p",{className:"fs-2 text-center mb-4",children:"You don't have any projects yet."}),C.jsxs("div",{className:"d-flex gap-2 justify-content-center",children:[C.jsxs("a",{className:"btn btn-primary w-25",href:On.routes.project_types_path(),children:[C.jsx("i",{className:"bi bi-boxes fs-1 d-block"})," Learn about Project Types"]}),C.jsxs("a",{className:"btn btn-secondary w-25",href:On.routes.get_your_first_project_path(),children:[C.jsx("i",{className:"bi bi-cpu fs-1 d-block"})," Learn How to Get Your"," ",C.jsx("br",{className:"d-none d-xxl-inline"})," First Project"]}),C.jsxs("a",{className:"btn btn-primary w-25",href:On.routes.how_to_path(),children:[C.jsx("i",{className:"bi bi-person-plus fs-1 d-block"})," Learn How to Join an Existing Project"]})]})]})}const gk={pages:1,projects:[],projectsLoaded:!1,showPagination:!1,filters:{org:"",allocationType:"",allFosToggled:!0},pageData:{current_page:1,last_page:1},typeLists:{orgs:[],fosTypes:[],allocationTypes:[]}},Rf=qu("projectBrowser/getProjects",async(n,{getState:r})=>{const i=r().projectBrowser,u=i.filters,l=i.typeLists,d=l.fosTypes.filter(b=>b.checked);let p=`/current-projects.json?page=${i.pageData.current_page}`;return d.length!=l.fosTypes.length&&(p+=`&fos=${d.map(b=>b.fos_type_id)}`),u.org!=""&&(p+=`&org=${u.org}`),u.allocationType!=""&&(p+=`&allocation_type=${u.allocationType}`),await(await fetch(p)).json()}),_w=D1({name:"projectBrowser",initialState:gk,reducers:{resetFilters:n=>{n.filters={org:"",allocationType:"",allFosToggled:!1},_w.caseReducers.toggleAllFos(n)},setShowPagination:(n,{payload:r})=>{n.showPagination=r},toggleAllFos:n=>{n.typeLists.fosTypes.forEach(r=>r.checked=!n.filters.allFosToggled),n.filters.allFosToggled=!n.filters.allFosToggled},toggleFos:(n,{payload:r})=>{n.typeLists.fosTypes.forEach(i=>{i.fos_type_id==r.fos_type_id&&(i.checked=!i.checked)}),n.typeLists.fosTypes.filter(i=>i.checked).length!=n.typeLists.fosTypes.length?n.filters.allFosToggled=!1:n.filters.allFosToggled=!0},updateFilter:(n,{payload:r})=>{n.filters[r.name]=r.value},updatePageData:(n,{payload:r})=>{r.current_page&&(n.pageData.current_page=r.current_page),r.last_page&&(n.pageData.last_page=r.last_page)}},extraReducers:n=>{n.addCase(Rf.pending,r=>{r.projectsLoaded=!1}).addCase(Rf.fulfilled,(r,i)=>{const u=i.payload;r.projectsLoaded=!0,r.projects=u.projects,u.pages!=r.pageData.last_page&&(r.pageData.current_page=1),r.showPagination=!0,r.pageData.last_page=u.pages}).addCase(Rf.rejected,(r,i)=>{console.log(i.error)})}}),{resetFilters:IX,setShowPagination:wO,toggleAllFos:AX,toggleFos:NX,updateFilter:RO,updatePageData:R1}=_w.actions,OX=n=>n.projectBrowser.filters,_X=n=>n.projectBrowser.projectsLoaded,DX=n=>n.projectBrowser.pageData,jX=n=>n.projectBrowser.projects,kX=n=>n.projectBrowser.showPagination,MX=n=>n.projectBrowser.typeLists,LX=_w.reducer,FX={"fos-select-list":"_fos-select-list_1bl6z_1"},PX=()=>{const n=Qu(),r=Pa(OX),i=Pa(MX),u=i.orgs.map(N=>({label:N,value:N})),l=M.useRef(),[d,p]=M.useState(null),[y,g]=M.useState(!1),b=N=>{n(RO({name:N.target.name,value:N.target.value}))},E=()=>{window.scrollTo(0,0),g(!0),n(wO(!1)),n(R1({current_page:1})),n(Rf())},R=()=>{p(null),n(wO(!1)),n(R1({current_page:1})),n(IX()),y&&(window.scrollTo(0,0),n(Rf()),g(!1))},T=N=>{p(N),n(RO({name:"org",value:N.value}))},A=()=>r.org==""&&r.allocationType==""&&r.allFosToggled;return C.jsx("div",{className:"row sticky-top mb-2",children:C.jsxs("div",{className:"col",children:[C.jsx("h3",{className:"mb-2",children:"Filters"}),C.jsx("h5",{className:"mb-1",children:"Field of Science"}),C.jsxs("div",{className:`${FX["fos-select-list"]} border mb-3`,children:[C.jsxs("div",{className:"form-check",children:[C.jsx("input",{className:"form-check-input",type:"checkbox",value:"",id:"toggle_all",checked:r.allFosToggled,onChange:()=>{n(AX())}}),C.jsx("label",{className:"form-check-label",htmlFor:"toggle_all",children:"(Toggle All)"})]}),i.fosTypes.map(N=>C.jsxs("div",{className:"form-check",children:[C.jsx("input",{className:"form-check-input",type:"checkbox",value:N.fos_type_id,id:`fos_${N.fos_type_id}`,checked:N.checked,onChange:()=>n(NX(N))}),C.jsx("label",{className:"form-check-label",htmlFor:`fos_${N.fos_type_id}`,children:N.fos_name})]},`fos_${N.fos_type_id}`))]}),C.jsx("h5",{id:"org_select_label",className:"mb-1",children:"Organization"}),C.jsx("div",{className:"mb-3",children:C.jsx(Ow,{options:u,openMenuOnClick:!0,name:"org",inputId:"orgs_filter",ref:l,closeMenuOnSelect:!0,onChange:T,value:d,"aria-labelledby":"org_select_label"},"org_select")}),C.jsx("h5",{id:"project_type_label",className:"mb-1",children:C.jsx("abbr",{title:'A specific level of allocation; also referred to as "Opportunity"',children:"Project Type"})}),C.jsx("div",{className:"mb-3",children:C.jsxs("select",{name:"allocationType",id:"project_type_select",value:r.allocationType,className:"form-control","aria-labelledby":"project_type_label",onChange:N=>b(N),children:[C.jsx("option",{value:"",children:"-- All --"}),i.allocationTypes.map((N,j)=>C.jsx("option",{value:N,children:N},`allocation_type_${j}`))]})}),C.jsxs("div",{className:"mt-2",children:[C.jsx("button",{className:"btn btn-primary me-2",onClick:E,children:"Submit"}),C.jsx("button",{className:"btn btn-secondary",disabled:A(),onClick:R,children:"Reset"})]})]})})},VX="_abstract_cz9zk_1",BX={abstract:VX},zX=({project:n})=>{const r=n.resources,i=u=>{if(u.units=="[Yes = 1, No = 0]")return u.allocation=="1.0"?"Yes":"No";{const l=parseInt(u.allocation).toString().replace(/\B(?=(\d{3})+(?!\d))/g,",");let d=u.units;return d=="ACCESS Credits"&&(d=C.jsx("span",{className:"tooltip-underline",title:"universal currency that can be exchanged for resource units",children:"ACCESS Credits"})),C.jsxs(C.Fragment,{children:[l," ",d]})}};return C.jsxs("div",{className:"card mb-4",children:[C.jsxs("div",{className:"card-header bg-primary text-white rounded-0",children:[C.jsx("span",{className:"fw-bold",children:n.title})," ",C.jsx("br",{}),C.jsxs("span",{className:"fst-italic",children:[n.pi," ",C.jsxs("small",{children:[" (",n.pi_institution,") "]})]})]}),C.jsxs("div",{className:"card-body",children:[C.jsxs("div",{className:"row fw-bold border-bottom",children:[C.jsx("div",{className:"col",children:C.jsx("h5",{className:"mb-1 pb-0",children:"Field of Science"})}),C.jsx("div",{className:"col",children:C.jsx("h5",{className:"mb-1 pb-0 tooltip-underline",title:'A specific level of allocation; also referred to as "Opportunity"',children:"Project Type"})}),C.jsx("div",{className:"col",children:C.jsx("h5",{className:"mb-1 pb-0",children:"Dates"})})]}),C.jsxs("div",{className:"row",children:[C.jsx("div",{className:"col",children:n.primary_fos}),C.jsx("div",{className:"col",children:n.allocation_type}),C.jsxs("div",{className:"col",children:[n.start_date," to ",n.end_date]})]}),C.jsxs("div",{className:"accordion accordion-flush mt-3 mb-1",children:[C.jsxs("div",{className:"accordion-item",children:[C.jsx("h2",{className:"accordion-header",children:C.jsx("button",{className:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":`#resources_${n.project_id}`,"aria-expanded":"false","aria-controls":`resources_${n.project_id}`,children:"Resources"})}),C.jsx("div",{id:`resources_${n.project_id}`,className:"accordion-collapse collapse",children:C.jsx("div",{className:"accordion-body",children:C.jsxs("table",{className:"table table-striped table-bordered mt-2 mb-0",children:[C.jsx("thead",{children:C.jsxs("tr",{children:[C.jsx("td",{children:C.jsx("h5",{className:"m-0 p-0",children:"Resource"})}),C.jsx("td",{children:C.jsx("h5",{className:"m-0 p-0 d-inline",children:"Allocation"})})]})}),C.jsx("tbody",{children:r.map((u,l)=>C.jsxs("tr",{children:[C.jsx("td",{children:u.resource_name}),C.jsx("td",{style:{whiteSpace:"nowrap"},children:i(u)})]},`resource_${n.project_id}_${l}`))})]})})})]}),C.jsxs("div",{className:"accordion-item",children:[C.jsx("h2",{className:"accordion-header",children:C.jsx("button",{className:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":`#abstract_${n.project_id}`,"aria-expanded":"false","aria-controls":`abstract_${n.project_id}`,children:"Abstract"})}),C.jsx("div",{id:`abstract_${n.project_id}`,className:"accordion-collapse collapse",children:C.jsx("div",{className:"accordion-body",children:C.jsx("div",{className:BX.abstract,children:n.abstract})})})]})]})]})]})},HX=()=>{const n=Pa(jX);return C.jsx("div",{children:n.map((r,i)=>C.jsx(zX,{project:r},`project_${i}`))})},UX="_link_viyef_1",xp={link:UX},TO=()=>{const n=Qu(),r=Pa(DX),[i,u]=M.useState([]),[l,d]=M.useState("0"),p=Array.from({length:r.last_page},(A,N)=>N),y=10;M.useEffect(()=>{E()},[r]);const g=A=>{const N=parseInt(A);n(R1({current_page:A})),n(Rf(N))},b=A=>(event.preventDefault(),d("0"),g(A),!1),E=()=>{const A=[];if(r.last_page>y)if(r.current_page>4){A.push(1),A.push("spacer");for(var N=1;N>0;N--)r.current_page-N>1&&A.push(r.current_page-N);A.push(["current",r.current_page]);for(var N=1;N<2;N++)r.current_page+N<=r.last_page&&A.push(r.current_page+N);r.last_page-r.current_page>1&&(A.push("spacer"),A.push(r.last_page))}else[1,2,3,4,5].forEach(j=>{j==r.current_page?A.push(["current",j]):A.push(j)}),A.push("spacer"),A.push(r.last_page);else for(var N=1;N<=r.last_page;N++)N==r.current_page?A.push(["current",N]):A.push(N);u(A)},R=A=>{let N="";return typeof A=="object"?[A,N]=A:N=A,A=="spacer"?C.jsx("li",{className:"page-item disabled",children:C.jsx("span",{className:`page-link ${xp.link}`,children:". . ."})}):A=="current"?C.jsx("li",{className:"page-item active","aria-current":"page",children:C.jsx("span",{className:`page-link ${xp.link}`,children:N})}):C.jsx("li",{className:"page-item",children:C.jsx("button",{className:`page-link ${xp.link}`,onClick:()=>g(A),children:N})})},T=()=>C.jsx("li",{className:"page-item",children:C.jsxs("select",{className:`page-link ${xp.link}`,style:{height:"100%"},value:l,onChange:A=>b(A.target.value),children:[C.jsx("option",{value:"0",children:"Go To"}),p.map(A=>C.jsx("option",{value:A+1,children:A+1},`page_option_${A}`))]})});return C.jsx("div",{children:C.jsx("nav",{"aria-label":"Pages for the table",children:C.jsxs("ul",{className:"pagination",children:[C.jsx("li",{className:`page-item ${r.current_page==1?"disabled":""}`,children:C.jsx("button",{className:`page-link ${xp.link}`,onClick:()=>g(r.current_page-1),disabled:r.current_page==1,"aria-label":"Previous Page Button",children:C.jsx("i",{className:"bi bi-chevron-left"})})}),i.map((A,N)=>C.jsx(Dr.Fragment,{children:R(A)},`page_${N}`)),r.last_page>y?T():"",C.jsx("li",{className:`page-item ${r.current_page==r.last_page?"disabled":""}`,children:C.jsx("button",{className:`page-link ${xp.link}`,onClick:()=>g(r.current_page+1),disabled:r.current_page==r.last_page,"aria-label":"Next Page Button",children:C.jsx("i",{className:"bi bi-chevron-right"})})})]})})})},GX=()=>{const n=Qu(),r=Pa(_X),i=Pa(kX);return M.useEffect(()=>{n(Rf())},[]),C.jsx("div",{className:"container-fluid",children:C.jsxs("div",{className:"row",children:[C.jsx("div",{className:"col-sm-3",children:C.jsx(PX,{})}),C.jsxs("div",{className:"col-sm-9",children:[C.jsx("div",{className:"row",children:C.jsx("div",{className:"col",children:i?C.jsx(TO,{}):""})}),C.jsx("div",{className:"row",children:C.jsx("div",{className:"col",children:r?C.jsx(HX,{}):C.jsx(Am,{})})}),C.jsx("div",{className:"row",children:C.jsx("div",{className:"col",children:i?C.jsx(TO,{}):""})})]})]})})},$X=n=>n.publications_store.publication,WX=n=>n.publications_store.publication.doi,XX=n=>n.publications_store.publication_types,yk=n=>n.publications_store.publication.authors,YX=n=>n.publications_store.tag_categories,ZX=n=>n.publications_store.projects,JX=n=>n.publications_store.publication.tags,qX=n=>n.publications_store.errors,bk=n=>n.publications_store.data_loaded,Ck=n=>n.publications_store.show_saved,Dw=n=>n.publications_store.saving,QX=n=>n.publications_store.modal,xk=n=>n.publications_store.form_valid,Ek=n=>!Dw(n)&&bk(n)&&xk(n)&&Sk(n)&&n.publications_store.projects.filter(r=>r.selected).length>0,Sk=n=>{const r=yk(n);return r.length==0?!1:r.filter(i=>i.first_name==""||i.last_name=="").length==0},wk=n=>({type:"UPDATE_PUBLICATION",payload:n}),KX=n=>({type:"UPDATE_FIELD",payload:n}),T1=n=>({type:"CHANGE_PUB_TYPE",payload:n}),eY=n=>({type:"SET_PUBLICATION",payload:n}),tY=()=>({type:"ADD_AUTHOR"}),nY=n=>({type:"UPDATE_AUTHOR",payload:n}),rY=n=>({type:"TOGGLE_REQUEST",payload:n}),xm=n=>({type:"UPDATE_ERRORS",payload:n}),Rk=n=>({type:"HIDE_ERROR",payload:n}),aY=n=>({type:"UPDATE_SELECTED_TAGS",payload:n}),iY=n=>({type:"DELETE_AUTHOR",payload:n}),oY=n=>({type:"DATA_LOADED",payload:n}),Tk=n=>({type:"UPDATE_SHOW_SAVED",payload:n}),sY=()=>({type:"RESET_STATE"}),BS=n=>({type:"UPDATE_SAVING",payload:n}),uY=n=>({type:"SET_FORM_VALID",payload:n}),Ik=n=>({type:"SET_GRANT_NUMBER",payload:n}),lY=n=>({type:"ADD_PROJECT",payload:n}),cc={routes:{}},cY=(n,r,i)=>{let u=!0;const l=[];for(const p of r)n[p]||(u=!1,l.push(p));const d=n.authors||[];for(const p of d)for(const y of i)p[y]||(u=!1,l.includes(y)||l.push(y));return{formValid:u,missingFields:l}},fY=n=>n.length>0?C.jsxs("div",{role:"alert",children:[C.jsx("p",{children:"Please provide the following information before submitting:"}),C.jsx("ul",{children:n.map(r=>C.jsx("li",{children:dY(r)},r))})]}):null;function dY(n){return n.split("_").map(r=>r.charAt(0).toUpperCase()+r.slice(1)).join(" ")}const pY=()=>async(n,r)=>{const i=r().publications_store.publication.doi,u=encodeURIComponent(i).replaceAll(".","%2E"),l="Unable to retrieve publication. Double check your DOI, or continue entering information manually.";fetch(`/publications/lookup?doi=${u}`).then(d=>d.json()).then(d=>{if(d.title!=""){let p=r().publications_store.publication_types.find(y=>y.citation_style_type==d.type);n(T1(p?p.publication_type:"Other")),n(eY(d))}else n(xm(l))},d=>{n(xm(l))})},vY=()=>async(n,r)=>{const i=r().publications_store.grant_number,u=cc.routes.publications_find_project_path();await fetch(`${u}?grant_number=${i}`).then(l=>l.json()).then(l=>{n(lY(l)),n(Ik(""))},()=>{n(xm("Unable to find a project with this grant number."))})},Ak=()=>async n=>{const r=/^\/requests/.test(window.location.pathname)?cc.routes.publication_path("new.json"):window.location.href+".json";await fetch(r).then(i=>i.json()).then(i=>{n(oY(i))})},Nk=()=>async(n,r)=>{const i=r().publications_store,u=i.projects.filter(T=>T.selected),l=Object.keys(i.selected_tags).map(T=>i.selected_tags[T]).flat(),d={...i.publication},p=i.errors,{formValid:y,missingFields:g}=cY(d,["title","publication_year","publication_month"],["first_name","last_name","affiliation"]);if(!y){p.length>0&&Array.from(p).forEach(A=>{n(Rk(A.id))});const T=fY(g);n(xm(T));return}const b={authenticity_token:document.getElementsByName("authenticity_token")[0].value,publication:d,authors:d.authors.map(T=>({...T,order:0})),tags:l,projects:u};let E,R;d.publication_id?(E=cc.routes.publication_path(d.publication_id),R="PATCH"):(E=cc.routes.publications_path(),R="POST"),n(BS(!0)),await fetch(E,{method:R,headers:{"Content-Type":"application/json"},body:JSON.stringify(b)}).then(T=>{i.redirect?window.location.href=cc.routes.publications_path():(d.publication_id||(n(sY()),n(Ak())),n(Tk(!0)),n(BS(!1)))},()=>{n(BS(!1)),n(xm("There was an error saving this publication."))})},hY=({doi:n,updatePublication:r,doiLookup:i})=>C.jsx("div",{className:"row mb-3",children:C.jsxs("div",{className:"col",children:[C.jsx("label",{htmlFor:"doi",className:"form-label",children:"DOI"}),C.jsxs("div",{className:"input-group",children:[C.jsx("input",{type:"text",className:"form-control",id:"doi",name:"publication[doi]","aria-label":"DOI Input and Search box","aria-describedby":"doi_button",value:n,onChange:u=>r(u.target.value)}),C.jsx("button",{className:"btn btn-primary",type:"button",id:"doi_button",onClick:()=>i(),children:"Lookup Publication"})]})]})}),mY=n=>({doi:WX(n)}),gY=n=>({updatePublication:r=>n(wk({key:"doi",value:r})),doiLookup:()=>n(pY())}),yY=qo(mY,gY)(hY),bY=({author:n,authorKey:r,updateAuthor:i,deleteAuthor:u})=>{const l=y=>{i({key:y.target.name,value:y.target.value,idx:r})},d=y=>C.jsx("td",{children:C.jsx("input",{type:"text",className:"form-control",name:y,id:y,value:n[y],onChange:g=>l(g)})},`field_${y}`),p=["first_name","last_name","affiliation"];return C.jsxs("tr",{children:[p.map(y=>d(y)),C.jsx("td",{children:r!==0&&C.jsx("button",{className:"btn btn-sm btn-danger",onClick:()=>u(r),children:C.jsx("i",{className:"bi bi-trash"})})})]})},CY=n=>({updateAuthor:r=>n(nY(r)),deleteAuthor:r=>n(iY(r))}),IO=qo(null,CY)(bY),xY=({authors:n,addAuthor:r,authors_exist:i})=>{const u=n.length===0,l=()=>i?"":C.jsx("div",{className:"alert alert-danger",children:"You must add at least one author and each author must have a first and last name"});return C.jsxs("div",{children:[l(),C.jsxs("table",{className:"table",children:[C.jsx("thead",{children:C.jsxs("tr",{children:[C.jsx("th",{children:"First Name"}),C.jsx("th",{children:"Last Name"}),C.jsx("th",{children:"Affiliation"}),C.jsx("th",{})]})}),C.jsxs("tbody",{children:[n.map((d,p)=>C.jsx(IO,{author:d,authorKey:p},`author_${p}`)),u&&C.jsx(IO,{author:r()})]})]}),C.jsx("button",{className:"btn btn-primary mt-3",onClick:()=>r(),children:"Add Author"})]})},EY=n=>({authors:yk(n),authors_exist:Sk(n)}),SY=n=>({addAuthor:()=>n(tY())}),wY=qo(EY,SY)(xY),RY=({category:n,publication_tags:r,updateSelectedTags:i,index:u})=>{const l=M.useRef(null),d=()=>{const y=r.filter(g=>g.label==n.label)[0];return y?y.options:[]},p=y=>{i({category:n.label,tags:y})};return C.jsxs(C.Fragment,{children:[C.jsx("div",{className:"fw-bold mb-1",children:n.label}),C.jsx("div",{className:"mb-3",children:C.jsx(Ow,{classNames:{control:y=>y.isFocused?"custom-select-selected":"border-grey-300"},defaultValue:d(),options:n.options,isMulti:!0,openMenuOnClick:!0,name:`tags_${u}`,inputId:`tags_${u}`,ref:l,closeMenuOnSelect:!1,onChange:p})})]})},TY=n=>({updateSelectedTags:r=>n(aY(r))}),IY=n=>({publication_tags:JX(n)}),AY=qo(IY,TY)(RY),NY=({projects:n,toggleProject:r})=>{const i=l=>`list-group-item list-group-item-action clickable ${l.selected?"list-group-item-success":""}`,u=()=>n.filter(l=>l.selected).length>0;return C.jsx("div",{className:"row",children:C.jsxs("div",{className:"col",children:[u()?"":C.jsx("div",{className:"alert alert-danger",children:"You must select at least one project"}),C.jsx("div",{className:"list-group",children:n.map((l,d)=>C.jsxs("div",{className:i(l),onClick:()=>r(d),children:[l.grant_number,": ",l.title]},`project_${l.grant_number}`))})]})})},OY=n=>({projects:ZX(n)}),_Y=n=>({toggleProject:r=>n(rY(r))}),DY=qo(OY,_Y)(NY),jY=({grant_number:n,setGrantNumber:r,grantSearch:i})=>C.jsx("div",{className:"row",children:C.jsxs("div",{className:"col",children:["If your project isn't listed above, you can manually add it by entering the grant number below.",C.jsxs("div",{className:"input-group mt-1",children:[C.jsx("input",{type:"text",className:"form-control",value:n,onChange:u=>r(u.target.value),placeholder:"Enter a grant number"}),C.jsx("button",{className:"btn btn-primary",onClick:()=>i(),children:"Find Project"})]})]})}),kY=n=>({setGrantNumber:r=>n(Ik(r)),grantSearch:()=>n(vY())}),MY=n=>({grant_number:n.publications_store.grant_number}),LY=qo(MY,kY)(jY),FY=({publication:n,updateField:r,publication_types:i,changePubType:u,updatePublication:l,tag_categories:d,savePublication:p,modal:y,save_enabled:g,setFormValid:b,form_valid:E})=>{const R=B=>{B.target.value.trim()==""?b(!1):b(!0),l({key:"title",value:B.target.value})},T=()=>n.fields.map((B,P)=>C.jsx("div",{className:"row mb-3",children:C.jsxs("div",{className:"col",children:[C.jsx("label",{htmlFor:`field_${B.csl_field_name}`,className:"form-label",children:B.name}),C.jsx("input",{type:"text",className:"form-control",name:`field_${B.csl_field_name}`,id:`field_${B.csl_field_name}`,value:B.field_value,onChange:U=>r({index:P,value:U.target.value})})]})},`field_${B.csl_field_name}`)),A=()=>{const B=new Date().getFullYear()+2;let P=1980;const U=[];for(;P<=B;)U.push(P++);const z=["January","February","March","April","May","June","July","August","September","October","November","December"],G=C.jsx("i",{className:"bi bi-asterisk text-danger"});return C.jsxs(C.Fragment,{children:[C.jsx("div",{className:"row mb-3",children:C.jsxs("div",{className:"col",children:[C.jsxs("label",{className:"form-label",htmlFor:"publication_title",children:["Title ",G]}),C.jsx("input",{name:"publication_title",id:"publication_title",type:"text",className:`form-control ${E?"":"is-invalid"}`,value:n.title,onChange:X=>R(X)})]})}),C.jsx("div",{className:"row mb-3",children:C.jsxs("div",{className:"col",children:[C.jsx("label",{className:"form-label",htmlFor:"publication_year",children:"Year Published"}),C.jsx("select",{name:"publication_year",id:"publication_year",className:"form-control",value:n.publication_year,onChange:X=>{l({key:"publication_year",value:X.target.value})},children:U.map(X=>C.jsx("option",{value:X,children:X},`year_${X}`))})]})}),C.jsx("div",{className:"row mb-3",children:C.jsxs("div",{className:"col",children:[C.jsx("label",{className:"form-label",htmlFor:"publication_month",children:"Month Published"}),C.jsx("select",{name:"publication_month",id:"publication_month",className:"form-control",value:n.publication_month,onChange:X=>{l({key:"publication_month",value:X.target.value})},children:z.map((X,te)=>C.jsx("option",{value:te+1,children:X},`month_${te}`))})]})})]})},N=C.jsxs("div",{className:"card",children:[C.jsx("div",{className:"card-header",children:C.jsx("h2",{children:"Publication Information"})}),C.jsxs("div",{className:"card-body",children:[C.jsx("p",{className:"mb-2",children:'Enter information about this publication below. If you have a DOI, you may use the "Lookup Publication" button to attempt to find this information automatically.'}),C.jsx(yY,{}),C.jsx("div",{className:"row mb-3",children:C.jsxs("div",{className:"col",children:[C.jsx("label",{htmlFor:"publication_type",className:"form-label",children:"Publication Type"}),C.jsx("select",{name:"publication[publication_type]",id:"publication_type",className:"form-control",value:n.publication_type,onChange:B=>u(B.target.value),children:i.map(B=>C.jsx("option",{value:B.publication_type,children:B.publication_type},`pub_type_${B.type_id}`))})]})}),A(),T()]})]}),j=C.jsxs("div",{className:"card mt-3",children:[C.jsxs("div",{className:"card-header d-flex",children:[C.jsx("h2",{children:"Authors"}),C.jsxs(Ip,{children:[`Add authors by clicking the "Add Authors" button below and entering the author's details. You may also remove authors by clicking the `,C.jsx("i",{className:"bi bi-trash fw-bold text-danger"})," ","button"]})]}),C.jsx("div",{className:"card-body",children:C.jsx(wY,{})})]}),O=C.jsxs("div",{className:"card mt-3",children:[C.jsxs("div",{className:"card-header d-flex",children:[C.jsx("h2",{children:"Tags"}),C.jsx(Ip,{children:"Add related tags from the lists below. You may choose multiple tags per category."})]}),C.jsx("div",{className:"card-body",children:d.map((B,P)=>C.jsx(AY,{index:P,category:B},`tc_${P}`))})]}),L=C.jsxs("div",{className:"card mt-3",children:[C.jsxs("div",{className:"card-header d-flex",children:[C.jsx("h2",{children:"Associated Projects"}),C.jsx(Ip,{children:"Click/Tap each project that this publication is related to."})]}),C.jsxs("div",{className:"card-body",children:[C.jsx(DY,{}),C.jsx("hr",{}),C.jsx(LY,{})]})]});return C.jsxs(C.Fragment,{children:[N,j,O,L,y?null:C.jsx("p",{className:"mt-3",children:C.jsx("button",{onClick:()=>p(),className:"btn btn-success",disabled:!g,children:"Save Publication"})})]})},PY=n=>({publication:$X(n),publication_types:XX(n),tag_categories:YX(n),saving:Dw(n),modal:QX(n),save_enabled:Ek(n),form_valid:xk(n)}),VY=n=>({updateField:r=>n(KX(r)),changePubType:r=>n(T1(r)),updatePublication:r=>n(wk(r)),savePublication:()=>n(Nk()),setFormValid:r=>n(uY(r))}),BY=qo(PY,VY)(FY),zY=({errors:n,hideError:r})=>C.jsx(C.Fragment,{children:n.map(i=>C.jsxs("div",{className:"alert alert-danger alert-dismissible sticky-top",children:[i.message,C.jsx("button",{type:"button",className:"btn-close","aria-label":"Close",onClick:()=>r(i.id)})]},`err_${i.id}`))}),HY=n=>({errors:qX(n)}),UY=n=>({hideError:r=>n(Rk(r))}),GY=qo(HY,UY)(zY),$Y=({show_saved:n,updateShowSaved:r})=>{const i=C.jsxs("div",{className:"alert alert-success alert-dismissible sticky-top",children:["Publication Saved Successfully!",C.jsx("button",{type:"button",className:"btn-close","aria-label":"Close",onClick:()=>r(!1)})]});return n?i:C.jsx(C.Fragment,{})},WY=n=>({show_saved:Ck(n)}),XY=n=>({updateShowSaved:r=>n(Tk(r))}),YY=qo(WY,XY)($Y),ZY=({getData:n,data_loaded:r})=>(M.useEffect(()=>{n()},[]),C.jsxs(C.Fragment,{children:[C.jsx(YY,{}),C.jsx(GY,{}),r?C.jsx(BY,{}):C.jsx(Am,{})]})),JY=n=>({data_loaded:bk(n)}),qY=n=>({getData:()=>n(Ak())}),Ok=qo(JY,qY)(ZY),QY=({saving:n,savePublication:r,showSaved:i,updatePublications:u,save_enabled:l})=>{const[d,p]=M.useState(!1);return M.useEffect(()=>{!n&&i&&u()},[n,i]),C.jsxs(C.Fragment,{children:[C.jsxs(kn,{size:"xl",show:d,onHide:()=>p(!1),scrollable:!0,children:[C.jsx(kn.Header,{closeButton:!0,children:C.jsx(kn.Title,{children:"Add Publication"})}),C.jsx(kn.Body,{children:C.jsx(Ok,{})}),C.jsx(kn.Footer,{children:C.jsxs("div",{className:"d-flex",children:[C.jsx("button",{type:"button",className:"btn btn-danger me-2",onClick:()=>p(!1),children:"Cancel"}),C.jsx("button",{type:"button",className:"btn btn-primary",onClick:()=>{r(),p(!1)},children:"Save Publication"})]})})]}),C.jsx("button",{type:"button",className:"btn btn-primary",onClick:()=>p(!0),children:"Add a New Publication"})]})},KY=n=>({saving:Dw(n),showSaved:Ck(n),save_enabled:Ek(n)}),eZ=n=>({savePublication:()=>n(Nk())}),tZ=qo(KY,eZ)(QY),nZ=({usernames:n=[],publication_ids:r=[]})=>{const[i,u]=M.useState(n),[l,d]=M.useState(r),[p,y]=M.useState([]),g=M.useRef(i),b=j=>{g.current=j,u(j)},E=async()=>{const O=await(await fetch(cc.routes.search_publications_path({usernames:i}))).json();y(O)};M.useEffect(()=>{E()},[i]),M.useEffect(()=>{addEventListener("requestAddRole",j=>b([...g.current,j.detail.username])),addEventListener("requestRemoveRole",j=>b(g.current.filter(O=>O!=j.detail.username)))},[]);let R=!1,T=!1;const A=p.map(j=>{const O=l.includes(j.publication_id);R=R||O,T=T||!O;const L=new Date(j.publication_year,j.publication_month-1);return C.jsxs("tr",{children:[C.jsx("td",{children:C.jsx("input",{type:"checkbox",name:"publication_ids[]",value:j.publication_id,checked:O,onChange:()=>d(O?l.filter(B=>B!=j.publication_id):[...l,j.publication_id])})}),C.jsx("td",{children:j.title}),C.jsx("td",{children:j.authors.map(B=>`${B.first_name} ${B.last_name}`).join(", ")}),C.jsx("td",{children:j.publication_type}),C.jsxs("td",{children:[L.toLocaleString("default",{month:"short"})," ",j.publication_year]})]},j.publication_id)}),N=`${T?"Select":"Deselect"} all`;return C.jsxs("div",{className:"publications-select",children:[C.jsxs("table",{className:"table",children:[C.jsx("thead",{children:C.jsxs("tr",{children:[C.jsx("th",{children:C.jsx("input",{type:"checkbox",value:"","aria-label":N,title:N,checked:R&&!T,onChange:()=>d(T?p.map(j=>j.publication_id):[]),ref:j=>{j&&(j.indeterminate=R&&T)}})}),C.jsx("th",{children:"Title"}),C.jsx("th",{children:"Authors"}),C.jsx("th",{children:"Type"}),C.jsx("th",{children:"Date"})]})}),C.jsx("tbody",{children:A})]}),C.jsx(tZ,{updatePublications:E})]})},rZ=()=>`${Math.random().toString(36).slice(2)}`,I1=document.querySelector("#publications-react"),aZ=I1?I1.dataset:{},AO={publication_types:[],tag_categories:[],publication:{},projects:[],errors:[],selected_tags:{},data_loaded:!1,saving:!1,show_saved:!1,redirect:aZ.redirect||!1,modal:I1==null,form_valid:!1,grant_number:""},iZ=(n=AO,r)=>{const{type:i,payload:u}=r;switch(i){case"UPDATE_FIELD":return mo(n,d=>(d.publication.fields[u.index].field_value=u.value,d));case"CHANGE_PUB_TYPE":return mo(n,d=>{let p=d.publication_types.find(y=>y.publication_type==u).fields;return p.forEach(y=>{const g=d.publication.fields.find(b=>b.csl_field_name==y.csl_field_name);g&&(y.value=g.value)}),d.publication.publication_type=u,d.publication.fields=p,d});case"UPDATE_PUBLICATION":return{...n,publication:{...n.publication,[u.key]:u.value}};case"SET_PUBLICATION":return mo(n,d=>(d.publication.fields.forEach(p=>{p.field_value=u[p.csl_field_name]}),Object.keys(d.publication).forEach(p=>{u[p]&&(d.publication[p]=u[p])}),d.form_valid=u.title.trim()!="",d));case"ADD_AUTHOR":{const l={portal_username:"",first_name:"",middle_name:"",last_name:"",prefix:"",suffix:"",initials:"",affiliation:"",hash:{}};return mo(n,p=>{p.publication.authors.push(l)})}case"UPDATE_AUTHOR":return mo(n,d=>{d.publication.authors[u.idx][u.key]=u.value});case"TOGGLE_TAG":return mo(n,d=>{let p=d.tag_categories.find(y=>y.publication_tags_category_id==u.publication_tags_category_id);p.tags[u.idx].selected=!p.tags[u.idx].selected});case"TOGGLE_REQUEST":return mo(n,d=>(d.projects[u].selected=!d.projects[u].selected,d));case"UPDATE_ERRORS":{const l={id:rZ(),message:u};return{...n,errors:[...n.errors,l]}}case"HIDE_ERROR":{const l=n.errors.filter(d=>d.id!=u);return{...n,errors:l}}case"UPDATE_SELECTED_TAGS":return mo(n,d=>{const p=u.tags.map(y=>y.value);return d.selected_tags[u.category]=p,d});case"DELETE_AUTHOR":return mo(n,d=>(d.publication.authors.splice(u,1),d));case"DATA_LOADED":return mo(n,d=>(d.publication=u.publication,d.form_valid=u.publication.title.trim()!="",d.publication.authors.forEach(p=>{p.affiliation||(p.affiliation="")}),d.publication_types=u.publication_types,d.tag_categories=u.tag_categories,d.projects=u.publication.projects,u.publication.tags.forEach(p=>d.selected_tags[p.label]=p.options.map(y=>y.value)),d.data_loaded=!0,d));case"UPDATE_SHOW_SAVED":return{...n,show_saved:u};case"UPDATE_SAVING":return{...n,saving:u};case"RESET_STATE":return AO;case"SET_FORM_VALID":return{...n,form_valid:u};case"SET_GRANT_NUMBER":return{...n,grant_number:u};case"ADD_PROJECT":return{...n,projects:[...n.projects,u]};default:return n}},oZ={filters:[],resources:[],filteredResources:[],resourcesLoaded:!1,hasErrors:!1},Wb=qu("resourceCatalog/getResources",async(n,{dispatch:r})=>{const u=await(await fetch(n.apiUrl)).json();r(uZ({data:u,params:n}))}),sZ=n=>{const r=[],i=n.filter(u=>u.features.filter(l=>l.selected).length>0);return n.forEach(u=>{u.features.forEach(l=>{l.selected&&r.push(l.featureId)})}),i.map(u=>({...u,features:u.features.filter(l=>l.selected)}))},NO=(n,r,i)=>{if(n.length==0&&r.length==0)return!0;if(n.length>0)return n.find(u=>u==i);if(r.length>0)return!r.find(u=>u==i)},_k=D1({name:"resourceCatalog",initialState:oZ,reducers:{handleResponse:(n,{payload:r})=>{const i=r.data,u=r.params.excludedCategories,l=r.params.excludedFilters,d=r.params.allowedCategories,p=r.params.allowedFilters,y=[],g={};i.forEach(b=>{const E=[];b.featureCategories.filter(T=>T.categoryIsFilter).forEach(T=>{const A=T.categoryId;!g[A]&&NO(d,u,T.categoryName)&&(g[A]={categoryId:A,categoryName:T.categoryName,categoryDescription:T.categoryDescription,features:{}}),T.features.forEach(N=>{const j={featureId:N.featureId,name:N.name,description:N.description,categoryId:A,selected:!1},O=NO(p,l,j.name);O&&E.push(j),g[A]&&O&&!g[A].features[N.featureId]&&(g[A].features[N.featureId]=j)})});const R={resourceName:b.resourceName,resourceId:b.resourceId,resourceType:b.resourceType,organization:b.organization,units:b.units,userGuideUrl:b.userGuideUrl,resourceDescription:b.resourceDescription,description:b.description,recommendedUse:b.recommendedUse,features:E.map(T=>T.name).sort((T,A)=>T>A),featureIds:E.map(T=>T.featureId)};y.push(R)});for(const b in g){const E=g[b],R=[];for(const T in E.features)R.push(E.features[T]);n.filters.push({...E,features:R.sort((T,A)=>T.name>A.name)})}n.filters=n.filters.sort((b,E)=>b.categoryName.localeCompare(E.categoryName)),n.resources=y.sort((b,E)=>b.resourceName.localeCompare(E.resourceName)),n.filteredResources=[...n.resources],n.resourcesLoaded=!0},resetFilters:n=>{n.filters.forEach(r=>{r.features.forEach(i=>i.selected=!1)}),n.filteredResources=[...n.resources]},toggleFilter:(n,{payload:r})=>{const i=r,l=n.filters.find(p=>p.categoryId==i.categoryId).features.find(p=>p.featureId==i.featureId);l.selected=!l.selected;const d=sZ(n.filters);if(d.length>0){const p=[],y=d.map(g=>g.features.map(b=>b.featureId));n.resources.forEach(g=>{let b=0;y.forEach(E=>{let R=!1;g.featureIds.forEach(T=>{E.indexOf(T)>=0&&(R=!0)}),R&&(b+=1)}),b>=y.length&&p.push(g)}),n.filteredResources=p}else n.filteredResources=[...n.resources]}},extraReducers:n=>{n.addCase(Wb.pending,r=>{}).addCase(Wb.fulfilled,(r,i)=>{}).addCase(Wb.rejected,(r,i)=>{r.hasErrors=!0,console.log(i.error)})}}),{handleResponse:uZ,processData:kZ,resetFilters:lZ,toggleFilter:cZ}=_k.actions,fZ=n=>n.resourceCatalog.hasErrors,dZ=n=>n.resourceCatalog.resourcesLoaded,pZ=n=>n.resourceCatalog.filters,vZ=n=>n.resourceCatalog.filteredResources,hZ=_k.reducer,mZ=({resource:n})=>{const r=u=>u.length==0?"":C.jsx("ul",{children:u.map((l,d)=>C.jsx("li",{children:l},`feature_${n.resourceId}_${d}`))}),i=(u,l)=>l&&l!=""?C.jsxs(C.Fragment,{children:[C.jsx("div",{className:"row",children:C.jsx("div",{className:"col fw-bold",children:u})}),C.jsx("div",{className:"row mb-3",children:C.jsx("div",{className:"col",dangerouslySetInnerHTML:{__html:l}})})]}):"";return C.jsxs(zb.Item,{eventKey:n.resourceId,children:[C.jsx(zb.Header,{children:n.resourceName}),C.jsxs(zb.Body,{children:[C.jsx("table",{className:"table",children:C.jsxs("tbody",{children:[C.jsxs("tr",{children:[C.jsx("td",{className:"fw-bold",children:"Resource Type:"}),C.jsx("td",{children:n.resourceType})]}),C.jsxs("tr",{children:[C.jsx("td",{className:"fw-bold",children:"Organization:"}),C.jsx("td",{children:n.organization})]}),C.jsxs("tr",{children:[C.jsx("td",{className:"fw-bold",children:"Units:"}),C.jsx("td",{children:n.units})]}),C.jsxs("tr",{children:[C.jsx("td",{className:"fw-bold",children:"User Guide:"}),C.jsx("td",{children:n.userGuideUrl==""?"":C.jsx("a",{href:n.userGuideUrl,target:"_blank",rel:"noreferrer",children:"Link to User Guide"})})]}),C.jsxs("tr",{children:[C.jsx("td",{className:"fw-bold",children:"Features Available:"}),C.jsx("td",{children:r(n.features)})]})]})}),i("Resource Description",n.resourceDescription),i("Allocations Description",n.description),i("Recommended Use",n.recommendedUse)]})]})},gZ=()=>{const n=Pa(vZ);return n.length==0?C.jsx("div",{className:"fw-bold",children:"No Resources Match Your Filters"}):C.jsxs("div",{children:[C.jsx("h4",{className:"mb-0",children:"Resources"}),C.jsx(zb,{children:n.map(r=>C.jsx(mZ,{resource:r},r.resourceId))})]})},yZ=({filter:n})=>{const r=Qu(),i=()=>{r(cZ(n))};return C.jsx("div",{className:"row",children:C.jsx("div",{className:"col",children:C.jsxs("div",{className:"form-check",children:[C.jsx("label",{className:"form-check-label",htmlFor:`filter_${n.featureId}`,children:n.name}),C.jsx("input",{className:"form-check-input",type:"checkbox",value:n.featureId,id:`filter_${n.featureId}`,checked:n.selected,onChange:i})]})})})},bZ=({category:n})=>C.jsx("div",{className:"row",children:C.jsxs("div",{className:"col",children:[C.jsx("div",{className:"fw-bold mb-1 mt-1",children:C.jsx("abbr",{title:n.categoryDescription,children:n.categoryName})}),n.features.map(r=>C.jsx(yZ,{filter:r},r.featureId))]})}),CZ=()=>{const n=Qu(),r=Pa(pZ),i=r.filter(u=>u.features.filter(l=>l.selected).length>0);return C.jsxs("div",{children:[C.jsx("h4",{className:"mb-0",children:"Filters"}),r.map(u=>C.jsx(bZ,{category:u},u.categoryId)),C.jsx("button",{className:"btn btn-warning mt-2 mb-2",onClick:()=>n(lZ()),disabled:i.length==0,children:"Reset Filters"})]})},xZ=({apiUrl:n,excludedCategories:r=[],excludedFilters:i=[],allowedCategories:u=[],allowedFilters:l=[]})=>{const d=Qu(),p=Pa(dZ),y=Pa(fZ);return M.useEffect(()=>{d(Wb({apiUrl:n,excludedCategories:r,excludedFilters:i,allowedCategories:u,allowedFilters:l}))},[]),y?C.jsx("div",{className:"row",children:C.jsx("div",{className:"col text-center mt-2",children:C.jsx("h4",{children:"Unable to Load Resources"})})}):p?C.jsx(C.Fragment,{children:C.jsxs("div",{className:"row mt-3",children:[C.jsx("div",{className:"col-sm-4",children:C.jsx(CZ,{})}),C.jsx("div",{className:"col-sm-8",children:C.jsx(gZ,{})})]})}):C.jsx(Am,{})};function EZ(n,{bootstrapFonts:r=!0,bootstrapVariables:i=!0}={}){const u=n.attachShadow({mode:"open"}),l=document.createElement("div"),d=document.createElement("div"),p=document.createElement("div"),y=document.createElement("link"),g=document.createElement("link"),b=(typeof document>"u"?require("url").pathToFileURL(__filename).href:pA&&pA.src||new URL("xras-ui.cjs",document.baseURI).href).replace(/\/[^/]+$/,"");return y.rel="stylesheet",y.href=`${b}/bootstrap.css`,g.rel="stylesheet",g.href=`${b}/xras-ui.css`,d.appendChild(p),l.appendChild(d),u.appendChild(l),u.appendChild(y),u.appendChild(g),l.classList.add("bootstrap"),i&&d.classList.add("bootstrap-variables"),r&&d.classList.add("bootstrap-fonts"),p}function SZ({target:n}){$s.createRoot(n).render(C.jsx(pz,{}))}function wZ({target:n,username:r,routes:i}){i&&(On.routes=i);const u=x0({reducer:{api:Uz}});$s.createRoot(n).render(C.jsx(Sm,{store:u,children:C.jsx(TX,{username:r})}))}function RZ({target:n}){const r={};for(let u in n.dataset)r[u]=JSON.parse(n.dataset[u]);const i=x0({reducer:{projectBrowser:LX},preloadedState:{projectBrowser:{...gk,typeLists:r}}});$s.createRoot(n).render(C.jsx(Sm,{store:i,children:C.jsx(GX,{})}))}function Dk(){return x0({reducer:{publications_store:iZ}})}function TZ({target:n,routes:r}){r&&(cc.routes=r),$s.createRoot(n).render(C.jsx(Sm,{store:Dk(),children:C.jsx(Ok,{})}))}function IZ({target:n,routes:r}){r&&(cc.routes=r),$s.createRoot(n).render(C.jsx(Sm,{store:Dk(),children:C.jsx(nZ,{...JSON.parse(n.dataset.publicationsSelectProps)})}))}function AZ({target:n,apiUrl:r,excludedCategories:i,excludedFilters:u,allowedCategories:l,allowedFilters:d}){const p=x0({reducer:{resourceCatalog:hZ}});$s.createRoot(n).render(C.jsx(Sm,{store:p,children:C.jsx(xZ,{apiUrl:r,excludedCategories:i,excludedFilters:u,allowedCategories:l,allowedFilters:d})}))}exports.allocationsMap=SZ;exports.projects=wZ;exports.projectsBrowser=RZ;exports.publications=TZ;exports.publicationsSelect=IZ;exports.resourceCatalog=AZ;exports.shadowTarget=EZ;
309
+ `]))),_$=function(r,i){var u=r.isFocused,l=r.size,d=r.theme,p=d.colors,y=d.spacing.baseUnit;return vt({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:l,lineHeight:1,marginRight:l,textAlign:"center",verticalAlign:"middle"},i?{}:{color:u?p.neutral60:p.neutral20,padding:y*2})},kS=function(r){var i=r.delay,u=r.offset;return Ct("span",{css:Sw({animation:"".concat(O$," 1s ease-in-out ").concat(i,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:u?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3InLFxuICAgICAgbGluZUhlaWdodDogMSxcbiAgICAgIHN0cm9rZTogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBzdHJva2VXaWR0aDogMCxcbiAgICB9fVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG5cbmV4cG9ydCB0eXBlIENyb3NzSWNvblByb3BzID0gSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZT86IG51bWJlciB9O1xuZXhwb3J0IGNvbnN0IENyb3NzSWNvbiA9IChwcm9wczogQ3Jvc3NJY29uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTE0LjM0OCAxNC44NDljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDBsLTIuNjUxLTMuMDMwLTIuNjUxIDMuMDI5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI5IDAtMS42OTdsMi43NTgtMy4xNS0yLjc1OS0zLjE1MmMtMC40NjktMC40NjktMC40NjktMS4yMjggMC0xLjY5N3MxLjIyOC0wLjQ2OSAxLjY5NyAwbDIuNjUyIDMuMDMxIDIuNjUxLTMuMDMxYzAuNDY5LTAuNDY5IDEuMjI4LTAuNDY5IDEuNjk3IDBzMC40NjkgMS4yMjkgMCAxLjY5N2wtMi43NTggMy4xNTIgMi43NTggMy4xNWMwLjQ2OSAwLjQ2OSAwLjQ2OSAxLjIyOSAwIDEuNjk4elwiIC8+XG4gIDwvU3ZnPlxuKTtcbmV4cG9ydCB0eXBlIERvd25DaGV2cm9uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgRG93bkNoZXZyb24gPSAocHJvcHM6IERvd25DaGV2cm9uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTQuNTE2IDcuNTQ4YzAuNDM2LTAuNDQ2IDEuMDQzLTAuNDgxIDEuNTc2IDBsMy45MDggMy43NDcgMy45MDgtMy43NDdjMC41MzMtMC40ODEgMS4xNDEtMC40NDYgMS41NzQgMCAwLjQzNiAwLjQ0NSAwLjQwOCAxLjE5NyAwIDEuNjE1LTAuNDA2IDAuNDE4LTQuNjk1IDQuNTAyLTQuNjk1IDQuNTAyLTAuMjE3IDAuMjIzLTAuNTAyIDAuMzM1LTAuNzg3IDAuMzM1cy0wLjU3LTAuMTEyLTAuNzg5LTAuMzM1YzAgMC00LjI4Ny00LjA4NC00LjY5NS00LjUwMnMtMC40MzYtMS4xNyAwLTEuNjE1elwiIC8+XG4gIDwvU3ZnPlxuKTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEJ1dHRvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xufVxuXG5jb25zdCBiYXNlQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTpcbiAgICB8IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbiAgICB8IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JDb250YWluZXInLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICAgICc6aG92ZXInOiB7XG4gICAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsODAgOiBjb2xvcnMubmV1dHJhbDQwLFxuICAgICAgICB9LFxuICAgICAgfSksXG59KTtcblxuZXhwb3J0IGNvbnN0IGRyb3Bkb3duSW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBEcm9wZG93bkluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2Ryb3Bkb3duSW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGludGVyZmFjZSBDbGVhckluZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFRoZSBjaGlsZHJlbiB0byBiZSByZW5kZXJlZCBpbnNpZGUgdGhlIGluZGljYXRvci4gKi9cbiAgY2hpbGRyZW4/OiBSZWFjdE5vZGU7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2NsZWFySW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdjbGVhci1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPENyb3NzSWNvbiAvPn1cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gU2VwYXJhdG9yXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuZXhwb3J0IGludGVyZmFjZSBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaW5uZXJQcm9wcz86IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3BhbiddO1xufVxuXG5leHBvcnQgY29uc3QgaW5kaWNhdG9yU2VwYXJhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNEaXNhYmxlZCxcbiAgICB0aGVtZToge1xuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgICAgY29sb3JzLFxuICAgIH0sXG4gIH06IEluZGljYXRvclNlcGFyYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+LFxuICB1bnN0eWxlZDogYm9vbGVhblxuKTogQ1NTT2JqZWN0V2l0aExhYmVsID0+ICh7XG4gIGxhYmVsOiAnaW5kaWNhdG9yU2VwYXJhdG9yJyxcbiAgYWxpZ25TZWxmOiAnc3RyZXRjaCcsXG4gIHdpZHRoOiAxLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGJhY2tncm91bmRDb2xvcjogaXNEaXNhYmxlZCA/IGNvbG9ycy5uZXV0cmFsMTAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBtYXJnaW5Cb3R0b206IGJhc2VVbml0ICogMixcbiAgICAgICAgbWFyZ2luVG9wOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgSW5kaWNhdG9yU2VwYXJhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxzcGFuXG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnaW5kaWNhdG9yU2VwYXJhdG9yJywge1xuICAgICAgICAnaW5kaWNhdG9yLXNlcGFyYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAvPlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBMb2FkaW5nXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgbG9hZGluZ0RvdEFuaW1hdGlvbnMgPSBrZXlmcmFtZXNgXG4gIDAlLCA4MCUsIDEwMCUgeyBvcGFjaXR5OiAwOyB9XG4gIDQwJSB7IG9wYWNpdHk6IDE7IH1cbmA7XG5cbmV4cG9ydCBjb25zdCBsb2FkaW5nSW5kaWNhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHNpemUsXG4gICAgdGhlbWU6IHtcbiAgICAgIGNvbG9ycyxcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICB9LFxuICB9OiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICB0cmFuc2l0aW9uOiAnY29sb3IgMTUwbXMnLFxuICBhbGlnblNlbGY6ICdjZW50ZXInLFxuICBmb250U2l6ZTogc2l6ZSxcbiAgbGluZUhlaWdodDogMSxcbiAgbWFyZ2luUmlnaHQ6IHNpemUsXG4gIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gIHZlcnRpY2FsQWxpZ246ICdtaWRkbGUnLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDYwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgICAgICAgcGFkZGluZzogYmFzZVVuaXQgKiAyLFxuICAgICAgfSksXG59KTtcblxuaW50ZXJmYWNlIExvYWRpbmdEb3RQcm9wcyB7XG4gIGRlbGF5OiBudW1iZXI7XG4gIG9mZnNldDogYm9vbGVhbjtcbn1cbmNvbnN0IExvYWRpbmdEb3QgPSAoeyBkZWxheSwgb2Zmc2V0IH06IExvYWRpbmdEb3RQcm9wcykgPT4gKFxuICA8c3BhblxuICAgIGNzcz17e1xuICAgICAgYW5pbWF0aW9uOiBgJHtsb2FkaW5nRG90QW5pbWF0aW9uc30gMXMgZWFzZS1pbi1vdXQgJHtkZWxheX1tcyBpbmZpbml0ZTtgLFxuICAgICAgYmFja2dyb3VuZENvbG9yOiAnY3VycmVudENvbG9yJyxcbiAgICAgIGJvcmRlclJhZGl1czogJzFlbScsXG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIG1hcmdpbkxlZnQ6IG9mZnNldCA/ICcxZW0nIDogdW5kZWZpbmVkLFxuICAgICAgaGVpZ2h0OiAnMWVtJyxcbiAgICAgIHZlcnRpY2FsQWxpZ246ICd0b3AnLFxuICAgICAgd2lkdGg6ICcxZW0nLFxuICAgIH19XG4gIC8+XG4pO1xuXG5leHBvcnQgaW50ZXJmYWNlIExvYWRpbmdJbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgLyoqIFNldCBzaXplIG9mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */")})},D$=function(r){var i=r.innerProps,u=r.isRtl,l=r.size,d=l===void 0?4:l,p=Zs(r,x$);return Ct("div",xt({},mr(vt(vt({},p),{},{innerProps:i,isRtl:u,size:d}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),i),Ct(kS,{delay:0,offset:u}),Ct(kS,{delay:160,offset:!0}),Ct(kS,{delay:320,offset:!u}))},j$=function(r,i){var u=r.isDisabled,l=r.isFocused,d=r.theme,p=d.colors,y=d.borderRadius,g=d.spacing;return vt({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:g.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},i?{}:{backgroundColor:u?p.neutral5:p.neutral0,borderColor:u?p.neutral10:l?p.primary:p.neutral20,borderRadius:y,borderStyle:"solid",borderWidth:1,boxShadow:l?"0 0 0 1px ".concat(p.primary):void 0,"&:hover":{borderColor:l?p.primary:p.neutral30}})},k$=function(r){var i=r.children,u=r.isDisabled,l=r.isFocused,d=r.innerRef,p=r.innerProps,y=r.menuIsOpen;return Ct("div",xt({ref:d},mr(r,"control",{control:!0,"control--is-disabled":u,"control--is-focused":l,"control--menu-is-open":y}),p,{"aria-disabled":u||void 0}),i)},M$=k$,L$=["data"],F$=function(r,i){var u=r.theme.spacing;return i?{}:{paddingBottom:u.baseUnit*2,paddingTop:u.baseUnit*2}},P$=function(r){var i=r.children,u=r.cx,l=r.getStyles,d=r.getClassNames,p=r.Heading,y=r.headingProps,g=r.innerProps,b=r.label,E=r.theme,w=r.selectProps;return Ct("div",xt({},mr(r,"group",{group:!0}),g),Ct(p,xt({},y,{selectProps:w,theme:E,getStyles:l,getClassNames:d,cx:u}),b),Ct("div",null,i))},V$=function(r,i){var u=r.theme,l=u.colors,d=u.spacing;return vt({label:"group",cursor:"default",display:"block"},i?{}:{color:l.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:d.baseUnit*3,paddingRight:d.baseUnit*3,textTransform:"uppercase"})},B$=function(r){var i=Zj(r);i.data;var u=Zs(i,L$);return Ct("div",xt({},mr(r,"groupHeading",{"group-heading":!0}),u))},z$=P$,H$=["innerRef","isDisabled","isHidden","inputClassName"],U$=function(r,i){var u=r.isDisabled,l=r.value,d=r.theme,p=d.spacing,y=d.colors;return vt(vt({visibility:u?"hidden":"visible",transform:l?"translateZ(0)":""},G$),i?{}:{margin:p.baseUnit/2,paddingBottom:p.baseUnit/2,paddingTop:p.baseUnit/2,color:y.neutral80})},ak={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},G$={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":vt({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},ak)},$$=function(r){return vt({label:"input",color:"inherit",background:0,opacity:r?0:1,width:"100%"},ak)},W$=function(r){var i=r.cx,u=r.value,l=Zj(r),d=l.innerRef,p=l.isDisabled,y=l.isHidden,g=l.inputClassName,b=Zs(l,H$);return Ct("div",xt({},mr(r,"input",{"input-container":!0}),{"data-value":u||""}),Ct("input",xt({className:i({input:!0},g),ref:d,style:$$(y),disabled:p},b)))},X$=W$,Y$=function(r,i){var u=r.theme,l=u.spacing,d=u.borderRadius,p=u.colors;return vt({label:"multiValue",display:"flex",minWidth:0},i?{}:{backgroundColor:p.neutral10,borderRadius:d/2,margin:l.baseUnit/2})},Z$=function(r,i){var u=r.theme,l=u.borderRadius,d=u.colors,p=r.cropWithEllipsis;return vt({overflow:"hidden",textOverflow:p||p===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},i?{}:{borderRadius:l/2,color:d.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},J$=function(r,i){var u=r.theme,l=u.spacing,d=u.borderRadius,p=u.colors,y=r.isFocused;return vt({alignItems:"center",display:"flex"},i?{}:{borderRadius:d/2,backgroundColor:y?p.dangerLight:void 0,paddingLeft:l.baseUnit,paddingRight:l.baseUnit,":hover":{backgroundColor:p.dangerLight,color:p.danger}})},ik=function(r){var i=r.children,u=r.innerProps;return Ct("div",u,i)},q$=ik,Q$=ik;function K$(n){var r=n.children,i=n.innerProps;return Ct("div",xt({role:"button"},i),r||Ct(Iw,{size:14}))}var eW=function(r){var i=r.children,u=r.components,l=r.data,d=r.innerProps,p=r.isDisabled,y=r.removeProps,g=r.selectProps,b=u.Container,E=u.Label,w=u.Remove;return Ct(b,{data:l,innerProps:vt(vt({},mr(r,"multiValue",{"multi-value":!0,"multi-value--is-disabled":p})),d),selectProps:g},Ct(E,{data:l,innerProps:vt({},mr(r,"multiValueLabel",{"multi-value__label":!0})),selectProps:g},i),Ct(w,{data:l,innerProps:vt(vt({},mr(r,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(i||"option")},y),selectProps:g}))},tW=eW,nW=function(r,i){var u=r.isDisabled,l=r.isFocused,d=r.isSelected,p=r.theme,y=p.spacing,g=p.colors;return vt({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},i?{}:{backgroundColor:d?g.primary:l?g.primary25:"transparent",color:u?g.neutral20:d?g.neutral0:"inherit",padding:"".concat(y.baseUnit*2,"px ").concat(y.baseUnit*3,"px"),":active":{backgroundColor:u?void 0:d?g.primary:g.primary50}})},rW=function(r){var i=r.children,u=r.isDisabled,l=r.isFocused,d=r.isSelected,p=r.innerRef,y=r.innerProps;return Ct("div",xt({},mr(r,"option",{option:!0,"option--is-disabled":u,"option--is-focused":l,"option--is-selected":d}),{ref:p,"aria-disabled":u},y),i)},aW=rW,iW=function(r,i){var u=r.theme,l=u.spacing,d=u.colors;return vt({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},i?{}:{color:d.neutral50,marginLeft:l.baseUnit/2,marginRight:l.baseUnit/2})},oW=function(r){var i=r.children,u=r.innerProps;return Ct("div",xt({},mr(r,"placeholder",{placeholder:!0}),u),i)},sW=oW,uW=function(r,i){var u=r.isDisabled,l=r.theme,d=l.spacing,p=l.colors;return vt({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},i?{}:{color:u?p.neutral40:p.neutral80,marginLeft:d.baseUnit/2,marginRight:d.baseUnit/2})},lW=function(r){var i=r.children,u=r.isDisabled,l=r.innerProps;return Ct("div",xt({},mr(r,"singleValue",{"single-value":!0,"single-value--is-disabled":u}),l),i)},cW=lW,fW={ClearIndicator:I$,Control:M$,DropdownIndicator:R$,DownChevron:nk,CrossIcon:Iw,Group:z$,GroupHeading:B$,IndicatorsContainer:b$,IndicatorSeparator:N$,Input:X$,LoadingIndicator:D$,Menu:i$,MenuList:s$,MenuPortal:p$,LoadingMessage:f$,NoOptionsMessage:c$,MultiValue:tW,MultiValueContainer:q$,MultiValueLabel:Q$,MultiValueRemove:K$,Option:aW,Placeholder:sW,SelectContainer:h$,SingleValue:cW,ValueContainer:g$},dW=function(r){return vt(vt({},fW),r.components)},lO=Number.isNaN||function(r){return typeof r=="number"&&r!==r};function pW(n,r){return!!(n===r||lO(n)&&lO(r))}function vW(n,r){if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!pW(n[i],r[i]))return!1;return!0}function hW(n,r){r===void 0&&(r=vW);var i=null;function u(){for(var l=[],d=0;d<arguments.length;d++)l[d]=arguments[d];if(i&&i.lastThis===this&&r(l,i.lastArgs))return i.lastResult;var p=n.apply(this,l);return i={lastResult:p,lastArgs:l,lastThis:this},p}return u.clear=function(){i=null},u}function mW(){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)."}var gW=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:mW},yW=function(r){return Ct("span",xt({css:gW},r))},cO=yW,bW={guidance:function(r){var i=r.isSearchable,u=r.isMulti,l=r.tabSelectsValue,d=r.context,p=r.isInitialFocus;switch(d){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(l?", press Tab to select the option and exit the menu":"",".");case"input":return p?"".concat(r["aria-label"]||"Select"," is focused ").concat(i?",type to refine list":"",", press Down to open the menu, ").concat(u?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(r){var i=r.action,u=r.label,l=u===void 0?"":u,d=r.labels,p=r.isDisabled;switch(i){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(l,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(d.length>1?"s":""," ").concat(d.join(","),", selected.");case"select-option":return p?"option ".concat(l," is disabled. Select another option."):"option ".concat(l,", selected.");default:return""}},onFocus:function(r){var i=r.context,u=r.focused,l=r.options,d=r.label,p=d===void 0?"":d,y=r.selectValue,g=r.isDisabled,b=r.isSelected,E=r.isAppleDevice,w=function(j,O){return j&&j.length?"".concat(j.indexOf(O)+1," of ").concat(j.length):""};if(i==="value"&&y)return"value ".concat(p," focused, ").concat(w(y,u),".");if(i==="menu"&&E){var T=g?" disabled":"",A="".concat(b?" selected":"").concat(T);return"".concat(p).concat(A,", ").concat(w(l,u),".")}return""},onFilter:function(r){var i=r.inputValue,u=r.resultsMessage;return"".concat(u).concat(i?" for search term "+i:"",".")}},CW=function(r){var i=r.ariaSelection,u=r.focusedOption,l=r.focusedValue,d=r.focusableOptions,p=r.isFocused,y=r.selectValue,g=r.selectProps,b=r.id,E=r.isAppleDevice,w=g.ariaLiveMessages,T=g.getOptionLabel,A=g.inputValue,N=g.isMulti,j=g.isOptionDisabled,O=g.isSearchable,L=g.menuIsOpen,B=g.options,P=g.screenReaderStatus,U=g.tabSelectsValue,z=g.isLoading,G=g["aria-label"],X=g["aria-live"],te=M.useMemo(function(){return vt(vt({},bW),w||{})},[w]),Re=M.useMemo(function(){var _e="";if(i&&te.onChange){var Oe=i.option,Ie=i.options,ve=i.removedValue,Le=i.removedValues,F=i.value,q=function(Te){return Array.isArray(Te)?null:Te},se=ve||Oe||q(F),xe=se?T(se):"",Ee=Ie||Le||void 0,De=Ee?Ee.map(T):[],ie=vt({isDisabled:se&&j(se,y),label:xe,labels:De},i);_e=te.onChange(ie)}return _e},[i,te,j,y,T]),ue=M.useMemo(function(){var _e="",Oe=u||l,Ie=!!(u&&y&&y.includes(u));if(Oe&&te.onFocus){var ve={focused:Oe,label:T(Oe),isDisabled:j(Oe,y),isSelected:Ie,options:d,context:Oe===u?"menu":"value",selectValue:y,isAppleDevice:E};_e=te.onFocus(ve)}return _e},[u,l,T,j,te,d,y,E]),pe=M.useMemo(function(){var _e="";if(L&&B.length&&!z&&te.onFilter){var Oe=P({count:d.length});_e=te.onFilter({inputValue:A,resultsMessage:Oe})}return _e},[d,A,L,te,B,P,z]),ye=(i==null?void 0:i.action)==="initial-input-focus",me=M.useMemo(function(){var _e="";if(te.guidance){var Oe=l?"value":L?"menu":"input";_e=te.guidance({"aria-label":G,context:Oe,isDisabled:u&&j(u,y),isMulti:N,isSearchable:O,tabSelectsValue:U,isInitialFocus:ye})}return _e},[G,u,l,N,j,O,L,te,y,U,ye]),Ae=Ct(M.Fragment,null,Ct("span",{id:"aria-selection"},Re),Ct("span",{id:"aria-focused"},ue),Ct("span",{id:"aria-results"},pe),Ct("span",{id:"aria-guidance"},me));return Ct(M.Fragment,null,Ct(cO,{id:b},ye&&Ae),Ct(cO,{"aria-live":X,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},p&&!ye&&Ae))},xW=CW,w1=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],EW=new RegExp("["+w1.map(function(n){return n.letters}).join("")+"]","g"),ok={};for(var MS=0;MS<w1.length;MS++)for(var LS=w1[MS],FS=0;FS<LS.letters.length;FS++)ok[LS.letters[FS]]=LS.base;var sk=function(r){return r.replace(EW,function(i){return ok[i]})},SW=hW(sk),fO=function(r){return r.replace(/^\s+|\s+$/g,"")},wW=function(r){return"".concat(r.label," ").concat(r.value)},RW=function(r){return function(i,u){if(i.data.__isNew__)return!0;var l=vt({ignoreCase:!0,ignoreAccents:!0,stringify:wW,trim:!0,matchFrom:"any"},r),d=l.ignoreCase,p=l.ignoreAccents,y=l.stringify,g=l.trim,b=l.matchFrom,E=g?fO(u):u,w=g?fO(y(i)):y(i);return d&&(E=E.toLowerCase(),w=w.toLowerCase()),p&&(E=SW(E),w=sk(w)),b==="start"?w.substr(0,E.length)===E:w.indexOf(E)>-1}},TW=["innerRef"];function IW(n){var r=n.innerRef,i=Zs(n,TW),u=q5(i,"onExited","in","enter","exit","appear");return Ct("input",xt({ref:r},u,{css:Sw({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0pIHtcbiAgLy8gUmVtb3ZlIGFuaW1hdGlvbiBwcm9wcyBub3QgbWVhbnQgZm9yIEhUTUwgZWxlbWVudHNcbiAgY29uc3QgZmlsdGVyZWRQcm9wcyA9IHJlbW92ZVByb3BzKFxuICAgIHByb3BzLFxuICAgICdvbkV4aXRlZCcsXG4gICAgJ2luJyxcbiAgICAnZW50ZXInLFxuICAgICdleGl0JyxcbiAgICAnYXBwZWFyJ1xuICApO1xuXG4gIHJldHVybiAoXG4gICAgPGlucHV0XG4gICAgICByZWY9e2lubmVyUmVmfVxuICAgICAgey4uLmZpbHRlcmVkUHJvcHN9XG4gICAgICBjc3M9e3tcbiAgICAgICAgbGFiZWw6ICdkdW1teUlucHV0JyxcbiAgICAgICAgLy8gZ2V0IHJpZCBvZiBhbnkgZGVmYXVsdCBzdHlsZXNcbiAgICAgICAgYmFja2dyb3VuZDogMCxcbiAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHRoaXMgaGlkZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var AW=function(r){r.cancelable&&r.preventDefault(),r.stopPropagation()};function NW(n){var r=n.isEnabled,i=n.onBottomArrive,u=n.onBottomLeave,l=n.onTopArrive,d=n.onTopLeave,p=M.useRef(!1),y=M.useRef(!1),g=M.useRef(0),b=M.useRef(null),E=M.useCallback(function(O,L){if(b.current!==null){var B=b.current,P=B.scrollTop,U=B.scrollHeight,z=B.clientHeight,G=b.current,X=L>0,te=U-z-P,Re=!1;te>L&&p.current&&(u&&u(O),p.current=!1),X&&y.current&&(d&&d(O),y.current=!1),X&&L>te?(i&&!p.current&&i(O),G.scrollTop=U,Re=!0,p.current=!0):!X&&-L>P&&(l&&!y.current&&l(O),G.scrollTop=0,Re=!0,y.current=!0),Re&&AW(O)}},[i,u,l,d]),w=M.useCallback(function(O){E(O,O.deltaY)},[E]),T=M.useCallback(function(O){g.current=O.changedTouches[0].clientY},[]),A=M.useCallback(function(O){var L=g.current-O.changedTouches[0].clientY;E(O,L)},[E]),N=M.useCallback(function(O){if(O){var L=Y5?{passive:!1}:!1;O.addEventListener("wheel",w,L),O.addEventListener("touchstart",T,L),O.addEventListener("touchmove",A,L)}},[A,T,w]),j=M.useCallback(function(O){O&&(O.removeEventListener("wheel",w,!1),O.removeEventListener("touchstart",T,!1),O.removeEventListener("touchmove",A,!1))},[A,T,w]);return M.useEffect(function(){if(r){var O=b.current;return N(O),function(){j(O)}}},[r,N,j]),function(O){b.current=O}}var dO=["boxSizing","height","overflow","paddingRight","position"],pO={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function vO(n){n.preventDefault()}function hO(n){n.stopPropagation()}function mO(){var n=this.scrollTop,r=this.scrollHeight,i=n+this.offsetHeight;n===0?this.scrollTop=1:i===r&&(this.scrollTop=n-1)}function gO(){return"ontouchstart"in window||navigator.maxTouchPoints}var yO=!!(typeof window<"u"&&window.document&&window.document.createElement),rm=0,Cp={capture:!1,passive:!1};function OW(n){var r=n.isEnabled,i=n.accountForScrollbars,u=i===void 0?!0:i,l=M.useRef({}),d=M.useRef(null),p=M.useCallback(function(g){if(yO){var b=document.body,E=b&&b.style;if(u&&dO.forEach(function(N){var j=E&&E[N];l.current[N]=j}),u&&rm<1){var w=parseInt(l.current.paddingRight,10)||0,T=document.body?document.body.clientWidth:0,A=window.innerWidth-T+w||0;Object.keys(pO).forEach(function(N){var j=pO[N];E&&(E[N]=j)}),E&&(E.paddingRight="".concat(A,"px"))}b&&gO()&&(b.addEventListener("touchmove",vO,Cp),g&&(g.addEventListener("touchstart",mO,Cp),g.addEventListener("touchmove",hO,Cp))),rm+=1}},[u]),y=M.useCallback(function(g){if(yO){var b=document.body,E=b&&b.style;rm=Math.max(rm-1,0),u&&rm<1&&dO.forEach(function(w){var T=l.current[w];E&&(E[w]=T)}),b&&gO()&&(b.removeEventListener("touchmove",vO,Cp),g&&(g.removeEventListener("touchstart",mO,Cp),g.removeEventListener("touchmove",hO,Cp)))}},[u]);return M.useEffect(function(){if(r){var g=d.current;return p(g),function(){y(g)}}},[r,p,y]),function(g){d.current=g}}function _W(){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)."}var DW=function(r){var i=r.target;return i.ownerDocument.activeElement&&i.ownerDocument.activeElement.blur()},jW=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:_W};function kW(n){var r=n.children,i=n.lockEnabled,u=n.captureEnabled,l=u===void 0?!0:u,d=n.onBottomArrive,p=n.onBottomLeave,y=n.onTopArrive,g=n.onTopLeave,b=NW({isEnabled:l,onBottomArrive:d,onBottomLeave:p,onTopArrive:y,onTopLeave:g}),E=OW({isEnabled:i}),w=function(A){b(A),E(A)};return Ct(M.Fragment,null,i&&Ct("div",{onClick:DW,css:jW}),r(w))}function MW(){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)."}var LW=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:MW},FW=function(r){var i=r.name,u=r.onFocus;return Ct("input",{required:!0,name:i,tabIndex:-1,"aria-hidden":"true",onFocus:u,css:LW,value:"",onChange:function(){}})},PW=FW;function Aw(n){var r;return typeof window<"u"&&window.navigator!=null?n.test(((r=window.navigator.userAgentData)===null||r===void 0?void 0:r.platform)||window.navigator.platform):!1}function VW(){return Aw(/^iPhone/i)}function uk(){return Aw(/^Mac/i)}function BW(){return Aw(/^iPad/i)||uk()&&navigator.maxTouchPoints>1}function zW(){return VW()||BW()}function HW(){return uk()||zW()}var UW=function(r){return r.label},GW=function(r){return r.label},$W=function(r){return r.value},WW=function(r){return!!r.isDisabled},XW={clearIndicator:T$,container:v$,control:j$,dropdownIndicator:w$,group:F$,groupHeading:V$,indicatorsContainer:y$,indicatorSeparator:A$,input:U$,loadingIndicator:_$,loadingMessage:l$,menu:n$,menuList:o$,menuPortal:d$,multiValue:Y$,multiValueLabel:Z$,multiValueRemove:J$,noOptionsMessage:u$,option:nW,placeholder:iW,singleValue:uW,valueContainer:m$},YW={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},ZW=4,lk=4,JW=38,qW=lk*2,QW={baseUnit:lk,controlHeight:JW,menuGutter:qW},PS={borderRadius:ZW,colors:YW,spacing:QW},KW={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:sO(),captureMenuScroll:!sO(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:RW(),formatGroupLabel:UW,getOptionLabel:GW,getOptionValue:$W,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:WW,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!W5(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(r){var i=r.count;return"".concat(i," result").concat(i!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function bO(n,r,i,u){var l=dk(n,r,i),d=pk(n,r,i),p=fk(n,r),y=m0(n,r);return{type:"option",data:r,isDisabled:l,isSelected:d,label:p,value:y,index:u}}function $b(n,r){return n.options.map(function(i,u){if("options"in i){var l=i.options.map(function(p,y){return bO(n,p,r,y)}).filter(function(p){return xO(n,p)});return l.length>0?{type:"group",data:i,options:l,index:u}:void 0}var d=bO(n,i,r,u);return xO(n,d)?d:void 0}).filter(Z5)}function ck(n){return n.reduce(function(r,i){return i.type==="group"?r.push.apply(r,dw(i.options.map(function(u){return u.data}))):r.push(i.data),r},[])}function CO(n,r){return n.reduce(function(i,u){return u.type==="group"?i.push.apply(i,dw(u.options.map(function(l){return{data:l.data,id:"".concat(r,"-").concat(u.index,"-").concat(l.index)}}))):i.push({data:u.data,id:"".concat(r,"-").concat(u.index)}),i},[])}function eX(n,r){return ck($b(n,r))}function xO(n,r){var i=n.inputValue,u=i===void 0?"":i,l=r.data,d=r.isSelected,p=r.label,y=r.value;return(!hk(n)||!d)&&vk(n,{label:p,value:y,data:l},u)}function tX(n,r){var i=n.focusedValue,u=n.selectValue,l=u.indexOf(i);if(l>-1){var d=r.indexOf(i);if(d>-1)return i;if(l<r.length)return r[l]}return null}function nX(n,r){var i=n.focusedOption;return i&&r.indexOf(i)>-1?i:r[0]}var VS=function(r,i){var u,l=(u=r.find(function(d){return d.data===i}))===null||u===void 0?void 0:u.id;return l||null},fk=function(r,i){return r.getOptionLabel(i)},m0=function(r,i){return r.getOptionValue(i)};function dk(n,r,i){return typeof n.isOptionDisabled=="function"?n.isOptionDisabled(r,i):!1}function pk(n,r,i){if(i.indexOf(r)>-1)return!0;if(typeof n.isOptionSelected=="function")return n.isOptionSelected(r,i);var u=m0(n,r);return i.some(function(l){return m0(n,l)===u})}function vk(n,r,i){return n.filterOption?n.filterOption(r,i):!0}var hk=function(r){var i=r.hideSelectedOptions,u=r.isMulti;return i===void 0?u:i},rX=1,Nw=function(n){uG(i,n);var r=fG(i);function i(u){var l;if(oG(this,i),l=r.call(this,u),l.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},l.blockOptionHover=!1,l.isComposing=!1,l.commonProps=void 0,l.initialTouchX=0,l.initialTouchY=0,l.openAfterFocus=!1,l.scrollToFocusedOptionOnUpdate=!1,l.userIsDragging=void 0,l.isAppleDevice=HW(),l.controlRef=null,l.getControlRef=function(g){l.controlRef=g},l.focusedOptionRef=null,l.getFocusedOptionRef=function(g){l.focusedOptionRef=g},l.menuListRef=null,l.getMenuListRef=function(g){l.menuListRef=g},l.inputRef=null,l.getInputRef=function(g){l.inputRef=g},l.focus=l.focusInput,l.blur=l.blurInput,l.onChange=function(g,b){var E=l.props,w=E.onChange,T=E.name;b.name=T,l.ariaOnChange(g,b),w(g,b)},l.setValue=function(g,b,E){var w=l.props,T=w.closeMenuOnSelect,A=w.isMulti,N=w.inputValue;l.onInputChange("",{action:"set-value",prevInputValue:N}),T&&(l.setState({inputIsHiddenAfterUpdate:!A}),l.onMenuClose()),l.setState({clearFocusValueOnUpdate:!0}),l.onChange(g,{action:b,option:E})},l.selectOption=function(g){var b=l.props,E=b.blurInputOnSelect,w=b.isMulti,T=b.name,A=l.state.selectValue,N=w&&l.isOptionSelected(g,A),j=l.isOptionDisabled(g,A);if(N){var O=l.getOptionValue(g);l.setValue(A.filter(function(L){return l.getOptionValue(L)!==O}),"deselect-option",g)}else if(!j)w?l.setValue([].concat(dw(A),[g]),"select-option",g):l.setValue(g,"select-option");else{l.ariaOnChange(g,{action:"select-option",option:g,name:T});return}E&&l.blurInput()},l.removeValue=function(g){var b=l.props.isMulti,E=l.state.selectValue,w=l.getOptionValue(g),T=E.filter(function(N){return l.getOptionValue(N)!==w}),A=_b(b,T,T[0]||null);l.onChange(A,{action:"remove-value",removedValue:g}),l.focusInput()},l.clearValue=function(){var g=l.state.selectValue;l.onChange(_b(l.props.isMulti,[],null),{action:"clear",removedValues:g})},l.popValue=function(){var g=l.props.isMulti,b=l.state.selectValue,E=b[b.length-1],w=b.slice(0,b.length-1),T=_b(g,w,w[0]||null);l.onChange(T,{action:"pop-value",removedValue:E})},l.getFocusedOptionId=function(g){return VS(l.state.focusableOptionsWithIds,g)},l.getFocusableOptionsWithIds=function(){return CO($b(l.props,l.state.selectValue),l.getElementId("option"))},l.getValue=function(){return l.state.selectValue},l.cx=function(){for(var g=arguments.length,b=new Array(g),E=0;E<g;E++)b[E]=arguments[E];return B5.apply(void 0,[l.props.classNamePrefix].concat(b))},l.getOptionLabel=function(g){return fk(l.props,g)},l.getOptionValue=function(g){return m0(l.props,g)},l.getStyles=function(g,b){var E=l.props.unstyled,w=XW[g](b,E);w.boxSizing="border-box";var T=l.props.styles[g];return T?T(w,b):w},l.getClassNames=function(g,b){var E,w;return(E=(w=l.props.classNames)[g])===null||E===void 0?void 0:E.call(w,b)},l.getElementId=function(g){return"".concat(l.state.instancePrefix,"-").concat(g)},l.getComponents=function(){return dW(l.props)},l.buildCategorizedOptions=function(){return $b(l.props,l.state.selectValue)},l.getCategorizedOptions=function(){return l.props.menuIsOpen?l.buildCategorizedOptions():[]},l.buildFocusableOptions=function(){return ck(l.buildCategorizedOptions())},l.getFocusableOptions=function(){return l.props.menuIsOpen?l.buildFocusableOptions():[]},l.ariaOnChange=function(g,b){l.setState({ariaSelection:vt({value:g},b)})},l.onMenuMouseDown=function(g){g.button===0&&(g.stopPropagation(),g.preventDefault(),l.focusInput())},l.onMenuMouseMove=function(g){l.blockOptionHover=!1},l.onControlMouseDown=function(g){if(!g.defaultPrevented){var b=l.props.openMenuOnClick;l.state.isFocused?l.props.menuIsOpen?g.target.tagName!=="INPUT"&&g.target.tagName!=="TEXTAREA"&&l.onMenuClose():b&&l.openMenu("first"):(b&&(l.openAfterFocus=!0),l.focusInput()),g.target.tagName!=="INPUT"&&g.target.tagName!=="TEXTAREA"&&g.preventDefault()}},l.onDropdownIndicatorMouseDown=function(g){if(!(g&&g.type==="mousedown"&&g.button!==0)&&!l.props.isDisabled){var b=l.props,E=b.isMulti,w=b.menuIsOpen;l.focusInput(),w?(l.setState({inputIsHiddenAfterUpdate:!E}),l.onMenuClose()):l.openMenu("first"),g.preventDefault()}},l.onClearIndicatorMouseDown=function(g){g&&g.type==="mousedown"&&g.button!==0||(l.clearValue(),g.preventDefault(),l.openAfterFocus=!1,g.type==="touchend"?l.focusInput():setTimeout(function(){return l.focusInput()}))},l.onScroll=function(g){typeof l.props.closeMenuOnScroll=="boolean"?g.target instanceof HTMLElement&&M0(g.target)&&l.props.onMenuClose():typeof l.props.closeMenuOnScroll=="function"&&l.props.closeMenuOnScroll(g)&&l.props.onMenuClose()},l.onCompositionStart=function(){l.isComposing=!0},l.onCompositionEnd=function(){l.isComposing=!1},l.onTouchStart=function(g){var b=g.touches,E=b&&b.item(0);E&&(l.initialTouchX=E.clientX,l.initialTouchY=E.clientY,l.userIsDragging=!1)},l.onTouchMove=function(g){var b=g.touches,E=b&&b.item(0);if(E){var w=Math.abs(E.clientX-l.initialTouchX),T=Math.abs(E.clientY-l.initialTouchY),A=5;l.userIsDragging=w>A||T>A}},l.onTouchEnd=function(g){l.userIsDragging||(l.controlRef&&!l.controlRef.contains(g.target)&&l.menuListRef&&!l.menuListRef.contains(g.target)&&l.blurInput(),l.initialTouchX=0,l.initialTouchY=0)},l.onControlTouchEnd=function(g){l.userIsDragging||l.onControlMouseDown(g)},l.onClearIndicatorTouchEnd=function(g){l.userIsDragging||l.onClearIndicatorMouseDown(g)},l.onDropdownIndicatorTouchEnd=function(g){l.userIsDragging||l.onDropdownIndicatorMouseDown(g)},l.handleInputChange=function(g){var b=l.props.inputValue,E=g.currentTarget.value;l.setState({inputIsHiddenAfterUpdate:!1}),l.onInputChange(E,{action:"input-change",prevInputValue:b}),l.props.menuIsOpen||l.onMenuOpen()},l.onInputFocus=function(g){l.props.onFocus&&l.props.onFocus(g),l.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(l.openAfterFocus||l.props.openMenuOnFocus)&&l.openMenu("first"),l.openAfterFocus=!1},l.onInputBlur=function(g){var b=l.props.inputValue;if(l.menuListRef&&l.menuListRef.contains(document.activeElement)){l.inputRef.focus();return}l.props.onBlur&&l.props.onBlur(g),l.onInputChange("",{action:"input-blur",prevInputValue:b}),l.onMenuClose(),l.setState({focusedValue:null,isFocused:!1})},l.onOptionHover=function(g){if(!(l.blockOptionHover||l.state.focusedOption===g)){var b=l.getFocusableOptions(),E=b.indexOf(g);l.setState({focusedOption:g,focusedOptionId:E>-1?l.getFocusedOptionId(g):null})}},l.shouldHideSelectedOptions=function(){return hk(l.props)},l.onValueInputFocus=function(g){g.preventDefault(),g.stopPropagation(),l.focus()},l.onKeyDown=function(g){var b=l.props,E=b.isMulti,w=b.backspaceRemovesValue,T=b.escapeClearsValue,A=b.inputValue,N=b.isClearable,j=b.isDisabled,O=b.menuIsOpen,L=b.onKeyDown,B=b.tabSelectsValue,P=b.openMenuOnFocus,U=l.state,z=U.focusedOption,G=U.focusedValue,X=U.selectValue;if(!j&&!(typeof L=="function"&&(L(g),g.defaultPrevented))){switch(l.blockOptionHover=!0,g.key){case"ArrowLeft":if(!E||A)return;l.focusValue("previous");break;case"ArrowRight":if(!E||A)return;l.focusValue("next");break;case"Delete":case"Backspace":if(A)return;if(G)l.removeValue(G);else{if(!w)return;E?l.popValue():N&&l.clearValue()}break;case"Tab":if(l.isComposing||g.shiftKey||!O||!B||!z||P&&l.isOptionSelected(z,X))return;l.selectOption(z);break;case"Enter":if(g.keyCode===229)break;if(O){if(!z||l.isComposing)return;l.selectOption(z);break}return;case"Escape":O?(l.setState({inputIsHiddenAfterUpdate:!1}),l.onInputChange("",{action:"menu-close",prevInputValue:A}),l.onMenuClose()):N&&T&&l.clearValue();break;case" ":if(A)return;if(!O){l.openMenu("first");break}if(!z)return;l.selectOption(z);break;case"ArrowUp":O?l.focusOption("up"):l.openMenu("last");break;case"ArrowDown":O?l.focusOption("down"):l.openMenu("first");break;case"PageUp":if(!O)return;l.focusOption("pageup");break;case"PageDown":if(!O)return;l.focusOption("pagedown");break;case"Home":if(!O)return;l.focusOption("first");break;case"End":if(!O)return;l.focusOption("last");break;default:return}g.preventDefault()}},l.state.instancePrefix="react-select-"+(l.props.instanceId||++rX),l.state.selectValue=iO(u.value),u.menuIsOpen&&l.state.selectValue.length){var d=l.getFocusableOptionsWithIds(),p=l.buildFocusableOptions(),y=p.indexOf(l.state.selectValue[0]);l.state.focusableOptionsWithIds=d,l.state.focusedOption=p[y],l.state.focusedOptionId=VS(d,p[y])}return l}return sG(i,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&oO(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(l){var d=this.props,p=d.isDisabled,y=d.menuIsOpen,g=this.state.isFocused;(g&&!p&&l.isDisabled||g&&y&&!l.menuIsOpen)&&this.focusInput(),g&&p&&!l.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!g&&!p&&l.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(oO(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(l,d){this.props.onInputChange(l,d)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(l){var d=this,p=this.state,y=p.selectValue,g=p.isFocused,b=this.buildFocusableOptions(),E=l==="first"?0:b.length-1;if(!this.props.isMulti){var w=b.indexOf(y[0]);w>-1&&(E=w)}this.scrollToFocusedOptionOnUpdate=!(g&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:b[E],focusedOptionId:this.getFocusedOptionId(b[E])},function(){return d.onMenuOpen()})}},{key:"focusValue",value:function(l){var d=this.state,p=d.selectValue,y=d.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var g=p.indexOf(y);y||(g=-1);var b=p.length-1,E=-1;if(p.length){switch(l){case"previous":g===0?E=0:g===-1?E=b:E=g-1;break;case"next":g>-1&&g<b&&(E=g+1);break}this.setState({inputIsHidden:E!==-1,focusedValue:p[E]})}}}},{key:"focusOption",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",d=this.props.pageSize,p=this.state.focusedOption,y=this.getFocusableOptions();if(y.length){var g=0,b=y.indexOf(p);p||(b=-1),l==="up"?g=b>0?b-1:y.length-1:l==="down"?g=(b+1)%y.length:l==="pageup"?(g=b-d,g<0&&(g=0)):l==="pagedown"?(g=b+d,g>y.length-1&&(g=y.length-1)):l==="last"&&(g=y.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:y[g],focusedValue:null,focusedOptionId:this.getFocusedOptionId(y[g])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(PS):vt(vt({},PS),this.props.theme):PS}},{key:"getCommonProps",value:function(){var l=this.clearValue,d=this.cx,p=this.getStyles,y=this.getClassNames,g=this.getValue,b=this.selectOption,E=this.setValue,w=this.props,T=w.isMulti,A=w.isRtl,N=w.options,j=this.hasValue();return{clearValue:l,cx:d,getStyles:p,getClassNames:y,getValue:g,hasValue:j,isMulti:T,isRtl:A,options:N,selectOption:b,selectProps:w,setValue:E,theme:this.getTheme()}}},{key:"hasValue",value:function(){var l=this.state.selectValue;return l.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var l=this.props,d=l.isClearable,p=l.isMulti;return d===void 0?p:d}},{key:"isOptionDisabled",value:function(l,d){return dk(this.props,l,d)}},{key:"isOptionSelected",value:function(l,d){return pk(this.props,l,d)}},{key:"filterOption",value:function(l,d){return vk(this.props,l,d)}},{key:"formatOptionLabel",value:function(l,d){if(typeof this.props.formatOptionLabel=="function"){var p=this.props.inputValue,y=this.state.selectValue;return this.props.formatOptionLabel(l,{context:d,inputValue:p,selectValue:y})}else return this.getOptionLabel(l)}},{key:"formatGroupLabel",value:function(l){return this.props.formatGroupLabel(l)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var l=this.props,d=l.isDisabled,p=l.isSearchable,y=l.inputId,g=l.inputValue,b=l.tabIndex,E=l.form,w=l.menuIsOpen,T=l.required,A=this.getComponents(),N=A.Input,j=this.state,O=j.inputIsHidden,L=j.ariaSelection,B=this.commonProps,P=y||this.getElementId("input"),U=vt(vt(vt({"aria-autocomplete":"list","aria-expanded":w,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":T,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},w&&{"aria-controls":this.getElementId("listbox")}),!p&&{"aria-readonly":!0}),this.hasValue()?(L==null?void 0:L.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return p?M.createElement(N,xt({},B,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:P,innerRef:this.getInputRef,isDisabled:d,isHidden:O,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:b,form:E,type:"text",value:g},U)):M.createElement(IW,xt({id:P,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:v0,onFocus:this.onInputFocus,disabled:d,tabIndex:b,inputMode:"none",form:E,value:""},U))}},{key:"renderPlaceholderOrValue",value:function(){var l=this,d=this.getComponents(),p=d.MultiValue,y=d.MultiValueContainer,g=d.MultiValueLabel,b=d.MultiValueRemove,E=d.SingleValue,w=d.Placeholder,T=this.commonProps,A=this.props,N=A.controlShouldRenderValue,j=A.isDisabled,O=A.isMulti,L=A.inputValue,B=A.placeholder,P=this.state,U=P.selectValue,z=P.focusedValue,G=P.isFocused;if(!this.hasValue()||!N)return L?null:M.createElement(w,xt({},T,{key:"placeholder",isDisabled:j,isFocused:G,innerProps:{id:this.getElementId("placeholder")}}),B);if(O)return U.map(function(te,Re){var ue=te===z,pe="".concat(l.getOptionLabel(te),"-").concat(l.getOptionValue(te));return M.createElement(p,xt({},T,{components:{Container:y,Label:g,Remove:b},isFocused:ue,isDisabled:j,key:pe,index:Re,removeProps:{onClick:function(){return l.removeValue(te)},onTouchEnd:function(){return l.removeValue(te)},onMouseDown:function(me){me.preventDefault()}},data:te}),l.formatOptionLabel(te,"value"))});if(L)return null;var X=U[0];return M.createElement(E,xt({},T,{data:X,isDisabled:j}),this.formatOptionLabel(X,"value"))}},{key:"renderClearIndicator",value:function(){var l=this.getComponents(),d=l.ClearIndicator,p=this.commonProps,y=this.props,g=y.isDisabled,b=y.isLoading,E=this.state.isFocused;if(!this.isClearable()||!d||g||!this.hasValue()||b)return null;var w={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return M.createElement(d,xt({},p,{innerProps:w,isFocused:E}))}},{key:"renderLoadingIndicator",value:function(){var l=this.getComponents(),d=l.LoadingIndicator,p=this.commonProps,y=this.props,g=y.isDisabled,b=y.isLoading,E=this.state.isFocused;if(!d||!b)return null;var w={"aria-hidden":"true"};return M.createElement(d,xt({},p,{innerProps:w,isDisabled:g,isFocused:E}))}},{key:"renderIndicatorSeparator",value:function(){var l=this.getComponents(),d=l.DropdownIndicator,p=l.IndicatorSeparator;if(!d||!p)return null;var y=this.commonProps,g=this.props.isDisabled,b=this.state.isFocused;return M.createElement(p,xt({},y,{isDisabled:g,isFocused:b}))}},{key:"renderDropdownIndicator",value:function(){var l=this.getComponents(),d=l.DropdownIndicator;if(!d)return null;var p=this.commonProps,y=this.props.isDisabled,g=this.state.isFocused,b={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return M.createElement(d,xt({},p,{innerProps:b,isDisabled:y,isFocused:g}))}},{key:"renderMenu",value:function(){var l=this,d=this.getComponents(),p=d.Group,y=d.GroupHeading,g=d.Menu,b=d.MenuList,E=d.MenuPortal,w=d.LoadingMessage,T=d.NoOptionsMessage,A=d.Option,N=this.commonProps,j=this.state.focusedOption,O=this.props,L=O.captureMenuScroll,B=O.inputValue,P=O.isLoading,U=O.loadingMessage,z=O.minMenuHeight,G=O.maxMenuHeight,X=O.menuIsOpen,te=O.menuPlacement,Re=O.menuPosition,ue=O.menuPortalTarget,pe=O.menuShouldBlockScroll,ye=O.menuShouldScrollIntoView,me=O.noOptionsMessage,Ae=O.onMenuScrollToTop,_e=O.onMenuScrollToBottom;if(!X)return null;var Oe=function(xe,Ee){var De=xe.type,ie=xe.data,he=xe.isDisabled,Te=xe.isSelected,Ve=xe.label,Ke=xe.value,It=j===ie,Ne=he?void 0:function(){return l.onOptionHover(ie)},ft=he?void 0:function(){return l.selectOption(ie)},Bt="".concat(l.getElementId("option"),"-").concat(Ee),lt={id:Bt,onClick:ft,onMouseMove:Ne,onMouseOver:Ne,tabIndex:-1,role:"option","aria-selected":l.isAppleDevice?void 0:Te};return M.createElement(A,xt({},N,{innerProps:lt,data:ie,isDisabled:he,isSelected:Te,key:Bt,label:Ve,type:De,value:Ke,isFocused:It,innerRef:It?l.getFocusedOptionRef:void 0}),l.formatOptionLabel(xe.data,"menu"))},Ie;if(this.hasOptions())Ie=this.getCategorizedOptions().map(function(se){if(se.type==="group"){var xe=se.data,Ee=se.options,De=se.index,ie="".concat(l.getElementId("group"),"-").concat(De),he="".concat(ie,"-heading");return M.createElement(p,xt({},N,{key:ie,data:xe,options:Ee,Heading:y,headingProps:{id:he,data:se.data},label:l.formatGroupLabel(se.data)}),se.options.map(function(Te){return Oe(Te,"".concat(De,"-").concat(Te.index))}))}else if(se.type==="option")return Oe(se,"".concat(se.index))});else if(P){var ve=U({inputValue:B});if(ve===null)return null;Ie=M.createElement(w,N,ve)}else{var Le=me({inputValue:B});if(Le===null)return null;Ie=M.createElement(T,N,Le)}var F={minMenuHeight:z,maxMenuHeight:G,menuPlacement:te,menuPosition:Re,menuShouldScrollIntoView:ye},q=M.createElement(r$,xt({},N,F),function(se){var xe=se.ref,Ee=se.placerProps,De=Ee.placement,ie=Ee.maxHeight;return M.createElement(g,xt({},N,F,{innerRef:xe,innerProps:{onMouseDown:l.onMenuMouseDown,onMouseMove:l.onMenuMouseMove},isLoading:P,placement:De}),M.createElement(kW,{captureEnabled:L,onTopArrive:Ae,onBottomArrive:_e,lockEnabled:pe},function(he){return M.createElement(b,xt({},N,{innerRef:function(Ve){l.getMenuListRef(Ve),he(Ve)},innerProps:{role:"listbox","aria-multiselectable":N.isMulti,id:l.getElementId("listbox")},isLoading:P,maxHeight:ie,focusedOption:j}),Ie)}))});return ue||Re==="fixed"?M.createElement(E,xt({},N,{appendTo:ue,controlElement:this.controlRef,menuPlacement:te,menuPosition:Re}),q):q}},{key:"renderFormField",value:function(){var l=this,d=this.props,p=d.delimiter,y=d.isDisabled,g=d.isMulti,b=d.name,E=d.required,w=this.state.selectValue;if(E&&!this.hasValue()&&!y)return M.createElement(PW,{name:b,onFocus:this.onValueInputFocus});if(!(!b||y))if(g)if(p){var T=w.map(function(j){return l.getOptionValue(j)}).join(p);return M.createElement("input",{name:b,type:"hidden",value:T})}else{var A=w.length>0?w.map(function(j,O){return M.createElement("input",{key:"i-".concat(O),name:b,type:"hidden",value:l.getOptionValue(j)})}):M.createElement("input",{name:b,type:"hidden",value:""});return M.createElement("div",null,A)}else{var N=w[0]?this.getOptionValue(w[0]):"";return M.createElement("input",{name:b,type:"hidden",value:N})}}},{key:"renderLiveRegion",value:function(){var l=this.commonProps,d=this.state,p=d.ariaSelection,y=d.focusedOption,g=d.focusedValue,b=d.isFocused,E=d.selectValue,w=this.getFocusableOptions();return M.createElement(xW,xt({},l,{id:this.getElementId("live-region"),ariaSelection:p,focusedOption:y,focusedValue:g,isFocused:b,selectValue:E,focusableOptions:w,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var l=this.getComponents(),d=l.Control,p=l.IndicatorsContainer,y=l.SelectContainer,g=l.ValueContainer,b=this.props,E=b.className,w=b.id,T=b.isDisabled,A=b.menuIsOpen,N=this.state.isFocused,j=this.commonProps=this.getCommonProps();return M.createElement(y,xt({},j,{className:E,innerProps:{id:w,onKeyDown:this.onKeyDown},isDisabled:T,isFocused:N}),this.renderLiveRegion(),M.createElement(d,xt({},j,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:T,isFocused:N,menuIsOpen:A}),M.createElement(g,xt({},j,{isDisabled:T}),this.renderPlaceholderOrValue(),this.renderInput()),M.createElement(p,xt({},j,{isDisabled:T}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(l,d){var p=d.prevProps,y=d.clearFocusValueOnUpdate,g=d.inputIsHiddenAfterUpdate,b=d.ariaSelection,E=d.isFocused,w=d.prevWasFocused,T=d.instancePrefix,A=l.options,N=l.value,j=l.menuIsOpen,O=l.inputValue,L=l.isMulti,B=iO(N),P={};if(p&&(N!==p.value||A!==p.options||j!==p.menuIsOpen||O!==p.inputValue)){var U=j?eX(l,B):[],z=j?CO($b(l,B),"".concat(T,"-option")):[],G=y?tX(d,B):null,X=nX(d,U),te=VS(z,X);P={selectValue:B,focusedOption:X,focusedOptionId:te,focusableOptionsWithIds:z,focusedValue:G,clearFocusValueOnUpdate:!1}}var Re=g!=null&&l!==p?{inputIsHidden:g,inputIsHiddenAfterUpdate:void 0}:{},ue=b,pe=E&&w;return E&&!pe&&(ue={value:_b(L,B,B[0]||null),options:B,action:"initial-input-focus"},pe=!w),(b==null?void 0:b.action)==="initial-input-focus"&&(ue=null),vt(vt(vt({},P),Re),{},{prevProps:l,ariaSelection:ue,prevWasFocused:pe})}}]),i}(M.Component);Nw.defaultProps=KW;var aX=M.forwardRef(function(n,r){var i=Tj(n);return M.createElement(Nw,xt({ref:r},i))}),Ow=aX;function Ip({bg:n="dark",children:r,color:i="light",fontWeight:u="bold",icon:l="info-circle-fill",initial:d=!1,maxWidth:p="200px",padding:y="10px",placement:g,target:b,trigger:E="click",visible:w=!0}){const T=typeof d=="string"||d instanceof String,[A,N]=M.useState(T?localStorage.getItem(d)!="true":d),[j,O]=M.useState(!1);M.useEffect(()=>{setTimeout(()=>O(!0),100)},[]);const L=()=>{T&&localStorage.setItem(d,"true")},B=C.jsxs(fw,{style:{"--bs-tooltip-bg":`var(--bs-${n})`,"--bs-tooltip-color":`var(--bs-${i})`,"--bs-tooltip-max-width":p,"--bs-tooltip-padding-x":y,"--bs-tooltip-padding-y":y,fontWeight:u},children:[C.jsx("button",{"aria-label":"Close",onClick:()=>{L(),N(!1)},style:{background:"transparent",border:"0 none transparent",float:"right"},children:C.jsx("i",{className:"bi bi-x-lg"})}),r]});return b&&b.current?C.jsx(Ej,{target:b.current,placement:g,show:A&&w&&j,children:B}):C.jsx(Sj,{placement:g,onToggle:P=>{L(),N(P)},overlay:B,show:A&&w&&j,trigger:E,children:C.jsx("button",{className:"btn bnt-clear border-0",style:{backgroundColor:"transparent"},children:C.jsx("i",{className:`bi bi-${l}`})})})}const iX="_items_c2dbg_1",oX="_item_c2dbg_1",sX="_details_c2dbg_14",uX="_text_c2dbg_20",lX="_number_c2dbg_35",cX="_outer_c2dbg_50",fX="_inner_c2dbg_61",zu={items:iX,item:oX,details:sX,text:uX,number:lX,outer:cX,inner:fX},am=(n,r)=>`${Math.cos(2*Math.PI*n)*r} ${Math.sin(2*Math.PI*n)*r}`;function dX({requestId:n,grantNumber:r,creditColorClass:i="gray-300",colorClasses:u=t1}){const{request:l}=ti(n,r);if(!l)return;let d=0,p;const y=[];for(let T of l.resources)T.isBoolean||(T.isCredit?p=T:y.push(T),d+=T.requested*T.unitCost);const g=[],b=[];let E=-.25;const w=[...y,p].map((T,A)=>{if(!T)return null;const N=A+1,O=T.requested*T.unitCost/d,L=T.requested-T.used,B=Math.max(0,L),P=T.isCredit?d/T.unitCost:T.requested,U=P==0?0:100*B/P,G=`var(--bs-${T.isCredit?i:u[A%u.length]})`;if(O>0){const X=E,te=E+O/2,Re=E+=O,ue=O>.5?1:0,pe=[`M ${am(X,100)}`,`A 100 100 0 ${ue} 1 ${am(Re,100)}`,`L ${am(Re,50)}`,`A 50 50 0 ${ue} 0 ${am(X,50)}`].join(" "),[ye,me]=am(te,75).split(" ").map(Ae=>parseFloat(Ae));g.push(C.jsx("path",{d:pe,style:{fill:G}},T.resourceId)),b.push(C.jsx("circle",{cx:ye,cy:me,r:"8",fill:"black"},`${T.resourceId}-circle`),C.jsx("text",{x:ye-4,y:me+4,fill:"white",className:zu.number,children:N},`${T.resourceId}-text`))}return T.isCredit&&b.push(C.jsx("foreignObject",{x:"-50",y:"-50",width:"100",height:"100",children:C.jsx("div",{className:zu.text,children:C.jsxs("div",{children:[C.jsx("strong",{children:ei(B,{abbreviate:!0})}),T.unit," available"]})})},"center-text")),C.jsxs("li",{className:zu.item,children:[C.jsx("span",{className:zu.number,children:N}),C.jsx("span",{className:`${zu.outer} ms-2 me-2`,style:{borderColor:G},children:C.jsx("span",{className:zu.inner,style:{backgroundColor:G,width:`${U}%`}})}),C.jsxs("strong",{className:zu.name,children:[Sf(T,{userGuide:!1}),": "]}),C.jsxs("span",{className:zu.details,children:[ei(L,{abbreviate:!0})," ",T.isCredit?null:C.jsxs(C.Fragment,{children:["of ",ei(P,{abbreviate:!0})," "]}),T.unit," ",T.isCredit?"available":"remaining"," (",Math.round(U),"%)"]})]},T.resourceId)});return C.jsxs("div",{className:"row",children:[C.jsx("div",{className:"col-lg-3 mb-3 d-flex flex-row align-items-center justify-content-center",children:C.jsxs("svg",{version:"1.1",viewBox:"-100 -100 200 200",width:"200",height:"200",xmlns:"http://www.w3.org/2000/svg",children:[g,b]})}),C.jsx("div",{className:"col-lg-9 mb-3 d-flex flex-column justify-content-center",children:C.jsx("ul",{className:zu.items,children:w})})]})}const EO=n=>n;function pX({classes:n,clean:r=EO,format:i=EO,label:u,setValue:l,style:d,value:p}){const y=i(p),[g,b]=M.useState(y);return M.useEffect(()=>{b(y)},[y]),C.jsx("input",{type:"text","aria-label":u,className:`form-control ${n}`,value:g,style:d,onChange:E=>b(E.target.value),onBlur:E=>{const w=r(E.target.value);b(i(w)),l(w)},onKeyDown:E=>{E.code=="Enter"&&(E.preventDefault(),E.target.blur())}})}function vX({requestId:n,grantNumber:r}){const{request:i,addResource:u,openUsageDetailModal:l,resetResources:d,setResourceRequest:p,setResourcesReason:y,statuses:g,toggleActionsModal:b,toggleConfirmModal:E,toggleResourcesModal:w}=ti(n,r),{project:T}=$i(r||i&&i.grantNumber),A=M.useRef(null),N=M.useRef(null);if(!i||!T)return;const j="Exchange"in i.allowedActions,O="Renewal"in i.allowedActions,L="Supplement"in i.allowedActions,B=i.exchangeStatus==g.pending,P=i.exchangeStatus==g.success,U=i.exchangeStatus==g.error,z=i.exchangeActionId!==null,G=i.resources,X=i.resourcesReason,te={};for(let ie of G)te[ie.resourceId]=ie;const Re=()=>{y_(i)>=.75?b():E()},ue=[];for(let ie of G){let he=[];if(ie.requested>0){for(let Te of ie.requires||[]){let Ve=te[Te];if(Ve){if(Ve.requested>0){he=[];break}he.push(Ve)}}he.length&&ue.push(C.jsxs("span",{children:[Sf(ie,{userGuide:!1})," requires"," ",g_(he.map(Te=>Sf(Te,{userGuide:!1})),"or"),"."]},ie.resourceId))}}const pe=ue.length>0;let ye;P?ye=C.jsx(ba,{color:"info",children:"Your exchange request has been submitted."}):z?ye=C.jsx(ba,{color:"warning",children:"You have an exchange request under review. The information below reflects the pending exchange request."}):U?ye=C.jsx(ba,{color:"danger",children:"Sorry, your exchange request could not be submitted. Please try again later."}):i.timeStatus=="current"&&!T.isManager?ye=C.jsxs(ba,{color:"warning",children:["You do not have permission to manage resources for this project. Please contact ",z1(T)," to request a change."]}):pe&&(ye=C.jsxs(ba,{color:"warning",children:[ue," Please adjust your balance values."]}));const me=X.length>0;let Ae=!1,_e=!1;for(let ie of G)if(ie.isNew&&(Ae=!0),ie.allocated!=ie.requested&&(_e=!0),Ae&&_e)break;const Oe=G.map(ie=>ie.resourceId),Ie=j&&!P&&!z?i.allowedActions.Exchange.resources.filter(ie=>!Oe.includes(ie.resourceId)).map(ie=>{const he=S0(ie.name),Te=he.short?`${he.short} (${he.full.replace(/ \([^(]+\)/,"")})`:he.full;return{value:ie.resourceId,label:Te}}):[],ve=j?i.allowedActions.Exchange.resources.map(ie=>ie.resourceId):[];let Le;const F=[],q=[];for(let ie of G)ie.isCredit?Le=ie:(F.push(ie),q.push(!P&&!z&&(ie.isNew||ie.allocated!=ie.requested)?Rp.edited:ve.includes(ie.resourceId)?"":Rp.disabled));const se=`Add ${F.length?"another":"a"} resource to your exchange...`,xe=ie=>ie.requested-ie.used,Ee=(ie,he)=>{let Te=Sp(Number(ie.replace(/[^0-9-.]/g,""))+he.used,he.decimalPlaces);isNaN(Te)&&(Te=he.allocated);const Ve=Math.min(he.allocated,he.used);return Te<Ve?Ve:he.unitCost*(Te-he.requested)>Le.requested?Sp(Le.requested/he.unitCost,he.decimalPlaces,"floor")+he.requested:Te},De=[{key:"name",name:"Resource",format:(ie,he)=>Sf(he),width:Math.min(350,window.innerWidth*.3)},{key:"isActive",name:"Status",format:(ie,he)=>C.jsx(kp,{status:ie?"Active":he.isNew?"New":"Inactive"}),width:100},{key:"unit",name:"Unit",width:150,format:(ie,he)=>he.isBoolean?C.jsx(C.Fragment,{children:"—"}):C.jsx("abbr",{title:`1 ${eN(ie,1)} = ${ei(he.unitCost)} ${eN(Le.name,he.unitCost)}`,children:ie})},{key:"used",name:"Usage",class:"text-end",format:(ie,he)=>he.isBoolean?C.jsx(C.Fragment,{children:"—"}):C.jsxs(C.Fragment,{children:[ei(ie),(T.currentUser.resourceIds.includes(he.resourceId)||T.currentUser.resourceAccountInactiveIds.includes(he.resourceId))&&C.jsx(Qb,{icon:"table",onClick:()=>l(he.resourceRepositoryKey),target:"_blank",title:`${he.name} Usage Details`})]})}];return j&&De.push({key:"requested",name:"Balance",class:"text-end",rowClass:ie=>!P&&!z&&ve.includes(ie.resourceId)?Rp.input:"",format:(ie,he)=>{const Te=!P&&!z&&ve.includes(he.resourceId);return he.isBoolean?C.jsx("input",{className:"form-check-input",type:"checkbox",checked:ie==1,disabled:!Te,onChange:Ve=>p(he.resourceId,Ve.target.checked?1:0)}):Te?C.jsx(pX,{classes:"text-end w-100",clean:Ve=>Ee(Ve,he)-he.used,format:ei,label:`Balance for ${he.name}`,setValue:Ve=>{p(he.resourceId,Ve+he.used)},style:{padding:"0.1rem 0.5rem"},value:xe(he)}):ei(xe(he))},formatHeader:ie=>C.jsxs(C.Fragment,{children:[ie,!P&&!z?C.jsx(Ip,{bg:"secondary",color:"dark",initial:"myprojects.requestedAllocation",placement:"top-end",visible:T.tab=="resources",children:"You can increase or decrease the balance below to change your allocation on a resource. Enter the total amount you would like to have available once the exchange is complete."}):null]})}),C.jsxs("div",{className:"resources",children:[ye,G.length?C.jsx(dX,{requestId:n}):null,Le&&(j||O||L)?C.jsxs("h2",{className:"mb-1 mt-2 d-flex justify-content-between",children:[C.jsxs("span",{children:[dc(On.resourceTypeIcons.credit)," ",ei(Le.requested,Le)," ",Le.unit," available to exchange"]}),O||L?C.jsxs("button",{type:"button",className:"btn btn-sm btn-primary ms-2",onClick:Re,children:[dc(On.resourceTypeIcons.credit)," Request More"," ",i.usesCredits?"Credits":"Units"]}):null]}):null,F.length?C.jsx(_f,{columns:De,rows:F,rowClasses:q,classes:Ie.length?"mb-0":"",frozenColumns:2,minWidth:"800px"}):C.jsx("div",{className:"card p-2 text-bg-light p-3",children:"This project does not have any resources."}),Ie.length?C.jsxs(C.Fragment,{children:[C.jsx("div",{className:"p-2",style:{backgroundColor:"var(--teal-200)",border:"1px solid #cccccc",marginTop:"-1px"},ref:A,children:C.jsx(Ow,{classNames:{control:()=>"react-select mb-1"},options:Ie,onChange:ie=>u(ie.value),placeholder:se,value:null,"aria-label":se})}),F.length?null:C.jsx(Ip,{bg:"secondary",color:"dark",visible:T.tab=="resources",initial:!0,target:A,children:"Ready to get started? Search for a resource to add it to your project."}),C.jsxs("p",{className:"text-black-50",style:{fontSize:"0.9rem"},children:["Need help choosing a resource? Visit our"," ",C.jsx("a",{href:On.routes.resources_path(),children:"Resource Catalog"}),"."]})]}):null,j&&!P&&!z?C.jsxs(C.Fragment,{children:[C.jsxs("div",{className:"mb-3",children:[C.jsx("label",{htmlFor:"resources-reason",className:"form-label required",children:"Please briefly explain how the requested resources and amounts will contribute to your research."}),C.jsx("textarea",{className:"form-control",id:"resources-reason",rows:"2",value:X,onChange:ie=>y(ie.target.value),style:{minHeight:"3rem"}})]}),C.jsxs("div",{className:"d-flex",children:[C.jsx("button",{type:"button",className:"btn btn-danger me-2",disabled:B||!_e&&!me&&!Ae,onClick:d,children:"Reset Form"}),C.jsx("button",{ref:N,type:"button",className:"btn btn-secondary",disabled:B||!_e||!me||pe,onClick:w,children:B?"Submitting...":"Submit for Approval"})]}),_e&&!pe?C.jsx(Ip,{bg:"secondary",color:"dark",initial:"myprojects.submitExchange",maxWidth:"390px",placement:"right",target:N,visible:T.tab=="resources",children:"When you are finished adding resources, enter a justification for the requested resources above. Then you can submit your exchange for approval."}):null]}):null]})}function hX({question:n,requestId:r,grantNumber:i}){const{request:u,setResourceQuestionValues:l}=ti(r,i),d=M.useId();if(!n||!u||u.error)return;const{attributeSetId:p,attributes:y,fieldType:g,label:b,resourceId:E,values:w}=n,T=y[0],A=T.required?"required":"",N=P=>l(E,p,P.target.value?[P.target.value]:[]),j=P=>{l(E,p,Array.from(P.target.options).filter(({selected:U})=>U).map(({value:U})=>parseInt(U,10)))},O=P=>{const U=parseInt(P.target.value,10),z=P.target.checked?[...w,U]:w.filter(G=>G!=U);l(E,p,z)},L=P=>{const U=parseInt(P.target.value);l(E,p,isNaN(U)?[]:[U])};let B;if(["calendar","integer_only","text"].includes(g)){const P={calendar:"date",integer_only:"number",text:"text"}[g];B=C.jsx("input",{className:"form-control",id:d,type:P,placeholder:T.label,required:T.required,value:w[0]||"",onChange:g=="integer_only"?L:N})}else if(g=="textarea")B=C.jsx("textarea",{className:"form-control",id:d,placeholder:T.label,required:T.required,value:w[0]||"",onChange:N});else if(g=="drop_down"||y.length>=10){const P=g=="multi_sel";B=C.jsxs("select",{id:d,className:"form-select",required:T.required,multiple:P,onChange:P?j:L,value:P?w:w[0]||"",children:[P?null:C.jsx("option",{}),y.map(U=>C.jsx("option",{value:U.resourceAttributeId,children:U.label},U.resourceAttributeId))]})}else B=C.jsx("div",{id:d,children:y.map(P=>{const U=`resource-attribute-${P.resourceAttributeId}`;return C.jsxs("div",{className:"form-check",children:[C.jsx("input",{className:"form-check-input",type:g=="single_sel"?"radio":"checkbox",id:U,value:P.resourceAttributeId,checked:w.includes(P.resourceAttributeId),onChange:g=="single_sel"?L:O}),C.jsx("label",{className:"form-check-label",htmlFor:U,children:P.label})]},P.resourceAttributeId)})});return C.jsxs("div",{className:"mb-3",children:[C.jsx("label",{htmlFor:d,className:`form-label ${A}`,children:b}),B]})}function mX({requestId:n,grantNumber:r}){const{request:i,saveResources:u,toggleResourcesModal:l}=ti(n,r),{project:d}=$i(r||i.grantNumber);if(!i||!d||i.error||d.error)return;const p=[],y=i.resources.filter(b=>b.allocated!=b.requested).map(b=>{const E=b.requested-b.allocated;return b.questions&&p.push(...b.questions),C.jsxs("li",{className:"list-group-item d-flex justify-content-between align-items-center mb-0",children:[b.name,C.jsx("span",{className:`badge bg-${E>0?"primary":"danger"} rounded-pill`,children:b.isBoolean?B1(b.requested):C.jsxs(C.Fragment,{children:[E>0?"+":"",ei(E,b)," ",b.unit]})})]},b.resourceId)}),g=p.some(({attributes:b,values:E})=>E.length==0&&b[0].required);return C.jsxs(kn,{size:"lg",show:i.showResourcesModal,onHide:l,scrollable:!0,children:[C.jsx(kn.Header,{closeButton:!0,children:C.jsx(kn.Title,{children:"Complete Your Exchange"})}),C.jsxs(kn.Body,{children:[C.jsx("p",{children:"Please review your exchange to make sure it includes all the resources you need. Once you submit it, you will not be able to request another exchange until this one has been processed by the resource providers."}),C.jsx("ul",{className:"list-group mb-3",children:y}),p.length?C.jsxs(C.Fragment,{children:[C.jsx("h2",{children:"Resource Questions"}),C.jsx("p",{children:"Some of the resources you selected have associated questions. Please answer the questions below."}),p.map(b=>C.jsx(hX,{question:b,requestId:n,grantNumber:r},b.attributeSetId))]}):null]}),C.jsx(kn.Footer,{children:C.jsxs("div",{className:"d-flex",children:[C.jsx("button",{type:"button",className:"btn btn-primary me-2",onClick:l,children:"Continue Editing"}),C.jsx("button",{type:"button",className:"btn btn-secondary",onClick:u,disabled:g,children:"Submit"})]})})]})}function Am(){return C.jsx("div",{className:"spinner-border",role:"status",children:C.jsx("span",{className:"visually-hidden",children:"Loading..."})})}function mk({user:n}){const r=`${n.lastName}, ${n.firstName}`;let i=r,u=[n.organization,n.email].filter(l=>l).join(", ");return u&&(i+=`: ${u}`),C.jsx("abbr",{title:i,children:r})}function gX({requestId:n,grantNumber:r}){const{project:i}=$i(r),{request:u,closeUsageDetailModal:l}=ti(n,r);if(!u||u.error||!i||i.error||!u.usageDetailStatus)return;let d,p="Usage";if(u.usageDetailStatus==ea.pending)d=C.jsx(Am,{});else if(u.usageDetailStatus==ea.error)d=C.jsx(ba,{color:"danger",children:"An error occurred while loading usage data."});else{const{projectTitle:y,resourceDisplayName:g,resourceRepositoryKey:b,users:E}=u.usageDetail,{full:w,short:T}=S0(g),A=u.resources.find(L=>L.resourceRepositoryKey==b),N=L=>ei(L,{decimalPlaces:A?A.decimalPlaces:void 0}),j={};for(let L of i.users)j[L.username]=L;p=C.jsxs(C.Fragment,{children:["Usage: ",T||w," for ",y]});const O=[{key:"name",name:"Name",format:(L,{lastName:B,firstName:P,portalUsername:U})=>{const z=j[U];return z?C.jsx(mk,{user:z}):`${B}, ${P}`}},{key:"portalUsername",name:"Resource Username",format:L=>{const B=j[L],P=B?B.resourceUsernames[A.resourceId]:null;return P||C.jsx(C.Fragment,{children:"—"})}},{key:"role",name:"Role",format:L=>b_[L].name},{key:"lastWeek",name:"Last Week",class:"text-end",format:N},{key:"lastMonth",name:"Last Month",class:"text-end",format:N},{key:"lastQuarter",name:"Last 3 Months",class:"text-end",format:N},{key:"currentRequest",name:"Current Allocation",class:"text-end",format:N},{key:"total",name:"All Time",class:"text-end",format:N}];d=E.length?C.jsx(_f,{rows:E,columns:O}):C.jsx(ba,{color:"info",children:"There is no usage for this resource."})}return C.jsxs(kn,{show:!0,size:"lg",onHide:l,scrollable:!0,children:[C.jsx(kn.Header,{closeButton:!0,children:C.jsx(kn.Title,{children:p})}),C.jsx(kn.Body,{children:d})]})}var yX=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];function bX(n){var r=n.defaultOptions,i=r===void 0?!1:r,u=n.cacheOptions,l=u===void 0?!1:u,d=n.loadOptions;n.options;var p=n.isLoading,y=p===void 0?!1:p,g=n.onInputChange,b=n.filterOption,E=b===void 0?null:b,w=Zs(n,yX),T=w.inputValue,A=M.useRef(void 0),N=M.useRef(!1),j=M.useState(Array.isArray(i)?i:void 0),O=ta(j,2),L=O[0],B=O[1],P=M.useState(typeof T<"u"?T:""),U=ta(P,2),z=U[0],G=U[1],X=M.useState(i===!0),te=ta(X,2),Re=te[0],ue=te[1],pe=M.useState(void 0),ye=ta(pe,2),me=ye[0],Ae=ye[1],_e=M.useState([]),Oe=ta(_e,2),Ie=Oe[0],ve=Oe[1],Le=M.useState(!1),F=ta(Le,2),q=F[0],se=F[1],xe=M.useState({}),Ee=ta(xe,2),De=Ee[0],ie=Ee[1],he=M.useState(void 0),Te=ta(he,2),Ve=Te[0],Ke=Te[1],It=M.useState(void 0),Ne=ta(It,2),ft=Ne[0],Bt=Ne[1];l!==ft&&(ie({}),Bt(l)),i!==Ve&&(B(Array.isArray(i)?i:void 0),Ke(i)),M.useEffect(function(){return N.current=!0,function(){N.current=!1}},[]);var lt=M.useCallback(function(Hn,Mn){if(!d)return Mn();var Mt=d(Hn,Mn);Mt&&typeof Mt.then=="function"&&Mt.then(Mn,function(){return Mn()})},[d]);M.useEffect(function(){i===!0&&lt(z,function(Hn){N.current&&(B(Hn||[]),ue(!!A.current))})},[]);var hn=M.useCallback(function(Hn,Mn){var Mt=z5(Hn,Mn,g);if(!Mt){A.current=void 0,G(""),Ae(""),ve([]),ue(!1),se(!1);return}if(l&&De[Mt])G(Mt),Ae(Mt),ve(De[Mt]),ue(!1),se(!1);else{var Ln=A.current={};G(Mt),ue(!0),se(!me),lt(Mt,function($n){N&&Ln===A.current&&(A.current=void 0,ue(!1),Ae(Mt),ve($n||[]),se(!1),ie($n?vt(vt({},De),{},Ep({},Mt,$n)):De))})}},[l,lt,me,De,g]),nn=q?[]:z&&me?Ie:L||[];return vt(vt({},w),{},{options:nn,isLoading:Re||y,onInputChange:hn,filterOption:E})}var CX=M.forwardRef(function(n,r){var i=bX(n),u=Tj(i);return M.createElement(Nw,xt({ref:r},u))}),xX=CX;const SO=({description:n,disabled:r=!1,onChange:i,selectedLength:u,totalLength:l})=>{const d=M.useRef(),p=M.useId();let y=u==l,g=u>0&&!y;return M.useEffect(()=>{d.current&&(d.current.checked=y,d.current.indeterminate=g)},[y,g]),C.jsxs(C.Fragment,{children:[C.jsx("input",{className:"custom-checkbox form-check-input",disabled:r,id:p,onChange:b=>i(b.target.checked),ref:d,type:"checkbox"}),C.jsx("label",{className:"form-check-label",htmlFor:p,"aria-description":`${y?"Deselect":"Select"} ${n}`})]})};function EX({grantNumber:n,requestId:r}){const{project:i,addUser:u,resetUsers:l,saveUsers:d,setTab:p,setUserRole:y,statuses:g,toggleUsersResources:b}=$i(n),{request:E}=i?ti(r||i.currentRequestId,n):{request:null};if(!i||!i.currentRequestId||!E||i.error||E.error)return;const w=i.isManager,T="Exchange"in E.allowedActions,A=i.usersStatus==g.pending,N=i.usersStatus==g.success,j=i.usersStatus==g.error,O=i.users,L=E.resources.filter(r1),B=L.length==0,P=O.find(ue=>ue.hasChanges)!==void 0,U=O.find(ue=>ue.role!="pi")!==void 0;let z;N&&!P?z=C.jsx(ba,{color:"info",children:"Your changes have been saved. Creation of user accounts can take some time. Users can check the status of their accounts on the Overview tab of the My Projects page."}):j?z=C.jsx(ba,{color:"danger",children:"Sorry, your changes could not be saved. Please try again later."}):w?L.length?B&&(z=C.jsx(ba,{color:"warning",children:"This project does not have any active resources."})):z=C.jsxs(ba,{color:"warning",children:["This project does not have any resources."," ",T?C.jsx("a",{href:On.routes.request_action_path(E.requestId,"new?action_type=Exchange"),onClick:ue=>{ue.preventDefault(),p("resources")},children:"Exchange credits for resources."}):null," ","Additional users can be added after an exchange is approved."]}):z=C.jsxs(ba,{color:"warning",children:["You do not have permission to manage users for this project. Please contact ",z1(i)," to request a change."]});const G=(ue,pe)=>{let ye,me,Ae,_e;if(pe.key=="all"){ye="all resources for all users",me=Oe=>b(Oe),Ae=0;for(let Oe of O)Ae+=Oe.resourceIds.length;_e=O.length*L.length}else ye=`all users for ${pe.name}`,me=Oe=>b(Oe,null,pe.key),Ae=O.filter(({resourceIds:Oe})=>Oe.includes(pe.key)).length,_e=O.length;return C.jsxs(C.Fragment,{children:[pe.key=="all"?ue:Sf(pe,{userGuide:!1}),C.jsx("br",{}),C.jsx(SO,{description:ye,disabled:pe.disabled,onChange:me,selectedLength:Ae,totalLength:_e})]})},X=w0.map(({role:ue,name:pe})=>C.jsx("option",{value:ue,children:pe},ue)),te=[{key:"name",name:"Name",width:200,format:(ue,pe)=>C.jsx(mk,{user:pe})},{key:"username",name:"ACCESS Username",width:100},{key:"role",name:"Role",width:100,format:(ue,pe)=>C.jsx("select",{className:"form-select",value:ue,onChange:ye=>y(pe.username,ye.target.value),disabled:!w||ue=="pi"||ue=="co_pi",style:{position:"absolute",left:0,top:0,bottom:0,right:0,borderWidth:0},children:X.filter(ye=>ye.key==ue||!["pi","co_pi"].includes(ye.key))})}];L.length&&te.push({key:"all",name:"All Resources",class:`text-center ${Rp.important}`,disabled:!w||B,width:100,format:(ue,pe)=>C.jsx(SO,{description:`all users for ${pe.name}`,disabled:!w||B,onChange:ye=>b(ye,pe.username),selectedLength:pe.resourceIds.length,totalLength:L.length}),formatHeader:G});for(let ue of L)te.push({key:ue.resourceId,name:ue.name,class:"text-center",disabled:!w||!ue.isActive,icon:ue.icon,format:(pe,ye)=>C.jsx(C.Fragment,{children:C.jsx("input",{className:"form-check-input",disabled:!w||!ue.isActive,onChange:me=>b(me.target.checked,ye.username,ue.resourceId),type:"checkbox",checked:ye.resourceIds.includes(ue.resourceId)})}),formatHeader:G});const Re=O.map(ue=>ue.hasChanges?Rp.edited:"");return C.jsxs(C.Fragment,{children:[z,C.jsx(_f,{rows:O,columns:te,frozenColumns:L.length?4:3,classes:"mb-0",minWidth:"800px",rowClasses:Re,scrollRowIndex:i.usersNewRowIndex}),w&&L.length&&!B?C.jsx("div",{style:{marginTop:"-1px",position:"relative",zIndex:100},children:C.jsx(xX,{classNames:{control:()=>"react-select"},loadOptions:async ue=>(await Cz(ue)).map(ye=>({value:ye,label:`${ye.username} (${ye.firstName} ${ye.lastName}, ${ye.organization}${ye.email?`, ${ye.email}`:""})`})),onChange:ue=>u(ue.value),placeholder:"Add another user...",value:null,"aria-label":"Add another user"})}):null,w&&(L.length&&!B||U)?C.jsxs("div",{className:"d-flex mt-3",children:[C.jsx("button",{type:"button",className:"btn btn-danger me-2",disabled:A||!P,onClick:l,children:"Reset Form"}),C.jsx("button",{type:"button",className:"btn btn-secondary",disabled:A||!P,onClick:d,children:A?"Saving...":"Save Changes"})]}):null]})}function SX({requestId:n,grantNumber:r}){const{request:i}=ti(n,r),{project:u,setRequest:l,setTab:d}=$i(r||i.grantNumber);if(!i)return;if(i.error)return C.jsx(ba,{color:"danger",children:i.error});const p=i.timeStatus||i.actions[0].status.toLowerCase(),y=i.actions.find(({showDeleteModal:b})=>b),g=[];return i.resources.length||g.push("resources"),n!=u.currentRequestId&&g.push("users"),C.jsxs("div",{className:"request",children:[i.timeStatus!="current"?C.jsxs(ba,{color:"warning",children:["You are viewing ","aeiou".includes(p[0])?"an":"a"," ",p," request."," ",g.length?`You cannot manage ${g.join(" or ")} for this request.`:""," ",u.currentRequestId?C.jsx("a",{href:On.routes.request_path(u.currentRequestId),onClick:b=>{b.preventDefault(),l(u.currentRequestId)},children:"Go to the current request."}):null]}):null,C.jsxs(v9,{activeKey:u.tab,onSelect:d,className:"mt-3 mb-3",children:[C.jsx(Sb,{eventKey:"overview",title:"Overview",className:"mb-0",children:C.jsx(eG,{requestId:n,grantNumber:r})}),C.jsx(Sb,{eventKey:"resources",title:i.usesCredits?"Credits + Resources":"Resources",disabled:g.includes("resources"),children:C.jsx(vX,{requestId:n})}),C.jsx(Sb,{eventKey:"users",title:"Users + Roles",disabled:g.includes("users"),children:C.jsx(EX,{grantNumber:r})}),C.jsx(Sb,{eventKey:"history",title:"History",children:C.jsx(NU,{requestId:n})})]}),C.jsx(yU,{grantNumber:r,requestId:n}),C.jsx(bU,{grantNumber:r,requestId:n}),C.jsx(CU,{grantNumber:r,requestId:n,actionId:y?y.actionId:null}),C.jsx(mX,{grantNumber:r,requestId:n}),C.jsx(gX,{grantNumber:r,requestId:n})]})}function wX({requestId:n,grantNumber:r}){const{request:i,toggleActionsModal:u,toggleDeleteModal:l}=ti(n,r);if(!i)return;const{actions:d,allowedActions:p}=i,y=[];p&&(("Extension"in p||"Renewal"in p)&&y.push(["Extend End Date",b=>{b.preventDefault(),u()},"calendar-plus"]),"Final Report"in p&&y.push(["Submit Final Report",`${On.routes.request_action_path(n,"new")}?action_type=Final+Report`,"file-earmark-check"]));const g=d.find(b=>b.isRequest);if(g){const b=g.allowedOperations||[];b.includes("Edit")&&y.push(["Edit",On.routes.edit_request_path(i.requestId),"pencil"]),b.includes("Delete")&&y.push(["Delete",E=>{E.preventDefault(),l(g.actionId)},"trash","danger"])}return y.map(([b,E,w,T])=>{const A=C.jsxs(C.Fragment,{children:[" ",w&&C.jsx("i",{className:`bi bi-${w} me-1`}),b]});return typeof E=="function"?C.jsx("button",{className:`btn btn-${T||"primary"} ms-2 text-nowrap`,onClick:E,children:A},b):C.jsx("a",{className:`btn btn-${T||"primary"} ms-2 text-nowrap`,href:E,children:A},b)})}function RX({open:n=!1,grantNumber:r,title:i,status:u}){const[l,d]=M.useState(n),{project:p,setRequest:y}=$i(r,!l&&i&&u&&!0),g=`project-${r}`;let b=null;if(l&&p)if(p.error)b=C.jsx(ba,{color:"danger",children:p.error});else{let E;const w=p.requestsList.map(T=>(T.requestId==p.selectedRequestId&&(E=T),C.jsx("option",{value:T.requestId,children:V1(T)},T.requestId)));b=C.jsxs(C.Fragment,{children:[C.jsxs("div",{className:"d-flex",children:[C.jsx("select",{className:"form-select","aria-label":"Select a request to display",onChange:T=>y(parseInt(T.target.value,10)),value:p.selectedRequestId,disabled:w.length<2,children:w}),C.jsx(wX,{requestId:p.selectedRequestId,grantNumber:r})]}),E?C.jsx(SX,{...E,grantNumber:r}):null]})}return C.jsxs("div",{className:`${aN.project} card mb-3`,children:[C.jsxs("div",{className:`card-header d-flex justify-content-between ${l?"":"border-bottom-0"}`,children:[C.jsx("button",{"aria-expanded":l,"aria-controls":g,className:aN.expand,onClick:()=>d(!l),children:C.jsxs("h2",{className:"mb-1 mt-1 text-start",children:[C.jsx("i",{className:`bi bi-caret-${l?"down":"right"}-fill`})," ",/^[A-Z]/.test(r)?C.jsxs(C.Fragment,{children:[C.jsxs("span",{className:"grant-number",children:[r,":"]})," "]}):null,i||p.title]})}),C.jsx(kp,{status:u||p.status})]}),C.jsx("div",{className:"card-body",id:g,hidden:!l||!p,children:b})]})}function TX({username:n,openFirst:r=1}){const{error:i,loading:u,projects:l}=Gz(n);return u?C.jsx(Am,{}):i?C.jsxs(ba,{color:"danger",children:[i," ",C.jsx("a",{href:"#",onClick:d=>{d.preventDefault(),window.location.reload()},children:"Reload the page"})," ","to try again."]}):l.length?l.map((d,p)=>C.jsx(RX,{open:p<r,...d},d.grantNumber)):C.jsxs("div",{className:"pt-5 pb-5 text-bg-light border border-light-subtle",children:[C.jsx("p",{className:"fs-2 text-center mb-4",children:"You don't have any projects yet."}),C.jsxs("div",{className:"d-flex gap-2 justify-content-center",children:[C.jsxs("a",{className:"btn btn-primary w-25",href:On.routes.project_types_path(),children:[C.jsx("i",{className:"bi bi-boxes fs-1 d-block"})," Learn about Project Types"]}),C.jsxs("a",{className:"btn btn-secondary w-25",href:On.routes.get_your_first_project_path(),children:[C.jsx("i",{className:"bi bi-cpu fs-1 d-block"})," Learn How to Get Your"," ",C.jsx("br",{className:"d-none d-xxl-inline"})," First Project"]}),C.jsxs("a",{className:"btn btn-primary w-25",href:On.routes.how_to_path(),children:[C.jsx("i",{className:"bi bi-person-plus fs-1 d-block"})," Learn How to Join an Existing Project"]})]})]})}const gk={pages:1,projects:[],projectsLoaded:!1,showPagination:!1,filters:{org:"",allocationType:"",allFosToggled:!0},pageData:{current_page:1,last_page:1},typeLists:{orgs:[],fosTypes:[],allocationTypes:[]}},Rf=qu("projectBrowser/getProjects",async(n,{getState:r})=>{const i=r().projectBrowser,u=i.filters,l=i.typeLists,d=l.fosTypes.filter(b=>b.checked);let p=`/current-projects.json?page=${i.pageData.current_page}`;return d.length!=l.fosTypes.length&&(p+=`&fos=${d.map(b=>b.fos_type_id)}`),u.org!=""&&(p+=`&org=${u.org}`),u.allocationType!=""&&(p+=`&allocation_type=${u.allocationType}`),await(await fetch(p)).json()}),_w=D1({name:"projectBrowser",initialState:gk,reducers:{resetFilters:n=>{n.filters={org:"",allocationType:"",allFosToggled:!1},_w.caseReducers.toggleAllFos(n)},setShowPagination:(n,{payload:r})=>{n.showPagination=r},toggleAllFos:n=>{n.typeLists.fosTypes.forEach(r=>r.checked=!n.filters.allFosToggled),n.filters.allFosToggled=!n.filters.allFosToggled},toggleFos:(n,{payload:r})=>{n.typeLists.fosTypes.forEach(i=>{i.fos_type_id==r.fos_type_id&&(i.checked=!i.checked)}),n.typeLists.fosTypes.filter(i=>i.checked).length!=n.typeLists.fosTypes.length?n.filters.allFosToggled=!1:n.filters.allFosToggled=!0},updateFilter:(n,{payload:r})=>{n.filters[r.name]=r.value},updatePageData:(n,{payload:r})=>{r.current_page&&(n.pageData.current_page=r.current_page),r.last_page&&(n.pageData.last_page=r.last_page)}},extraReducers:n=>{n.addCase(Rf.pending,r=>{r.projectsLoaded=!1}).addCase(Rf.fulfilled,(r,i)=>{const u=i.payload;r.projectsLoaded=!0,r.projects=u.projects,u.pages!=r.pageData.last_page&&(r.pageData.current_page=1),r.showPagination=!0,r.pageData.last_page=u.pages}).addCase(Rf.rejected,(r,i)=>{console.log(i.error)})}}),{resetFilters:IX,setShowPagination:wO,toggleAllFos:AX,toggleFos:NX,updateFilter:RO,updatePageData:R1}=_w.actions,OX=n=>n.projectBrowser.filters,_X=n=>n.projectBrowser.projectsLoaded,DX=n=>n.projectBrowser.pageData,jX=n=>n.projectBrowser.projects,kX=n=>n.projectBrowser.showPagination,MX=n=>n.projectBrowser.typeLists,LX=_w.reducer,FX={"fos-select-list":"_fos-select-list_1bl6z_1"},PX=()=>{const n=Qu(),r=Pa(OX),i=Pa(MX),u=i.orgs.map(N=>({label:N,value:N})),l=M.useRef(),[d,p]=M.useState(null),[y,g]=M.useState(!1),b=N=>{n(RO({name:N.target.name,value:N.target.value}))},E=()=>{window.scrollTo(0,0),g(!0),n(wO(!1)),n(R1({current_page:1})),n(Rf())},w=()=>{p(null),n(wO(!1)),n(R1({current_page:1})),n(IX()),y&&(window.scrollTo(0,0),n(Rf()),g(!1))},T=N=>{p(N),n(RO({name:"org",value:N.value}))},A=()=>r.org==""&&r.allocationType==""&&r.allFosToggled;return C.jsx("div",{className:"row sticky-top mb-2",children:C.jsxs("div",{className:"col",children:[C.jsx("h3",{className:"mb-2",children:"Filters"}),C.jsx("h5",{className:"mb-1",children:"Field of Science"}),C.jsxs("div",{className:`${FX["fos-select-list"]} border mb-3`,children:[C.jsxs("div",{className:"form-check",children:[C.jsx("input",{className:"form-check-input",type:"checkbox",value:"",id:"toggle_all",checked:r.allFosToggled,onChange:()=>{n(AX())}}),C.jsx("label",{className:"form-check-label",htmlFor:"toggle_all",children:"(Toggle All)"})]}),i.fosTypes.map(N=>C.jsxs("div",{className:"form-check",children:[C.jsx("input",{className:"form-check-input",type:"checkbox",value:N.fos_type_id,id:`fos_${N.fos_type_id}`,checked:N.checked,onChange:()=>n(NX(N))}),C.jsx("label",{className:"form-check-label",htmlFor:`fos_${N.fos_type_id}`,children:N.fos_name})]},`fos_${N.fos_type_id}`))]}),C.jsx("h5",{id:"org_select_label",className:"mb-1",children:"Organization"}),C.jsx("div",{className:"mb-3",children:C.jsx(Ow,{options:u,openMenuOnClick:!0,name:"org",inputId:"orgs_filter",ref:l,closeMenuOnSelect:!0,onChange:T,value:d,"aria-labelledby":"org_select_label"},"org_select")}),C.jsx("h5",{id:"project_type_label",className:"mb-1",children:C.jsx("abbr",{title:'A specific level of allocation; also referred to as "Opportunity"',children:"Project Type"})}),C.jsx("div",{className:"mb-3",children:C.jsxs("select",{name:"allocationType",id:"project_type_select",value:r.allocationType,className:"form-control","aria-labelledby":"project_type_label",onChange:N=>b(N),children:[C.jsx("option",{value:"",children:"-- All --"}),i.allocationTypes.map((N,j)=>C.jsx("option",{value:N,children:N},`allocation_type_${j}`))]})}),C.jsxs("div",{className:"mt-2",children:[C.jsx("button",{className:"btn btn-primary me-2",onClick:E,children:"Submit"}),C.jsx("button",{className:"btn btn-secondary",disabled:A(),onClick:w,children:"Reset"})]})]})})},VX="_abstract_cz9zk_1",BX={abstract:VX},zX=({project:n})=>{const r=n.resources,i=u=>{if(u.units=="[Yes = 1, No = 0]")return u.allocation=="1.0"?"Yes":"No";{const l=parseInt(u.allocation).toString().replace(/\B(?=(\d{3})+(?!\d))/g,",");let d=u.units;return d=="ACCESS Credits"&&(d=C.jsx("span",{className:"tooltip-underline",title:"universal currency that can be exchanged for resource units",children:"ACCESS Credits"})),C.jsxs(C.Fragment,{children:[l," ",d]})}};return C.jsxs("div",{className:"card mb-4",children:[C.jsxs("div",{className:"card-header bg-primary text-white rounded-0",children:[C.jsx("span",{className:"fw-bold",children:n.title})," ",C.jsx("br",{}),C.jsxs("span",{className:"fst-italic",children:[n.pi," ",C.jsxs("small",{children:[" (",n.pi_institution,") "]})]})]}),C.jsxs("div",{className:"card-body",children:[C.jsxs("div",{className:"row fw-bold border-bottom",children:[C.jsx("div",{className:"col",children:C.jsx("h5",{className:"mb-1 pb-0",children:"Field of Science"})}),C.jsx("div",{className:"col",children:C.jsx("h5",{className:"mb-1 pb-0 tooltip-underline",title:'A specific level of allocation; also referred to as "Opportunity"',children:"Project Type"})}),C.jsx("div",{className:"col",children:C.jsx("h5",{className:"mb-1 pb-0",children:"Dates"})})]}),C.jsxs("div",{className:"row",children:[C.jsx("div",{className:"col",children:n.primary_fos}),C.jsx("div",{className:"col",children:n.allocation_type}),C.jsxs("div",{className:"col",children:[n.start_date," to ",n.end_date]})]}),C.jsxs("div",{className:"accordion accordion-flush mt-3 mb-1",children:[C.jsxs("div",{className:"accordion-item",children:[C.jsx("h2",{className:"accordion-header",children:C.jsx("button",{className:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":`#resources_${n.project_id}`,"aria-expanded":"false","aria-controls":`resources_${n.project_id}`,children:"Resources"})}),C.jsx("div",{id:`resources_${n.project_id}`,className:"accordion-collapse collapse",children:C.jsx("div",{className:"accordion-body",children:C.jsxs("table",{className:"table table-striped table-bordered mt-2 mb-0",children:[C.jsx("thead",{children:C.jsxs("tr",{children:[C.jsx("td",{children:C.jsx("h5",{className:"m-0 p-0",children:"Resource"})}),C.jsx("td",{children:C.jsx("h5",{className:"m-0 p-0 d-inline",children:"Allocation"})})]})}),C.jsx("tbody",{children:r.map((u,l)=>C.jsxs("tr",{children:[C.jsx("td",{children:u.resource_name}),C.jsx("td",{style:{whiteSpace:"nowrap"},children:i(u)})]},`resource_${n.project_id}_${l}`))})]})})})]}),C.jsxs("div",{className:"accordion-item",children:[C.jsx("h2",{className:"accordion-header",children:C.jsx("button",{className:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":`#abstract_${n.project_id}`,"aria-expanded":"false","aria-controls":`abstract_${n.project_id}`,children:"Abstract"})}),C.jsx("div",{id:`abstract_${n.project_id}`,className:"accordion-collapse collapse",children:C.jsx("div",{className:"accordion-body",children:C.jsx("div",{className:BX.abstract,children:n.abstract})})})]})]})]})]})},HX=()=>{const n=Pa(jX);return C.jsx("div",{children:n.map((r,i)=>C.jsx(zX,{project:r},`project_${i}`))})},UX="_link_viyef_1",xp={link:UX},TO=()=>{const n=Qu(),r=Pa(DX),[i,u]=M.useState([]),[l,d]=M.useState("0"),p=Array.from({length:r.last_page},(A,N)=>N),y=10;M.useEffect(()=>{E()},[r]);const g=A=>{const N=parseInt(A);n(R1({current_page:A})),n(Rf(N))},b=A=>(event.preventDefault(),d("0"),g(A),!1),E=()=>{const A=[];if(r.last_page>y)if(r.current_page>4){A.push(1),A.push("spacer");for(var N=1;N>0;N--)r.current_page-N>1&&A.push(r.current_page-N);A.push(["current",r.current_page]);for(var N=1;N<2;N++)r.current_page+N<=r.last_page&&A.push(r.current_page+N);r.last_page-r.current_page>1&&(A.push("spacer"),A.push(r.last_page))}else[1,2,3,4,5].forEach(j=>{j==r.current_page?A.push(["current",j]):A.push(j)}),A.push("spacer"),A.push(r.last_page);else for(var N=1;N<=r.last_page;N++)N==r.current_page?A.push(["current",N]):A.push(N);u(A)},w=A=>{let N="";return typeof A=="object"?[A,N]=A:N=A,A=="spacer"?C.jsx("li",{className:"page-item disabled",children:C.jsx("span",{className:`page-link ${xp.link}`,children:". . ."})}):A=="current"?C.jsx("li",{className:"page-item active","aria-current":"page",children:C.jsx("span",{className:`page-link ${xp.link}`,children:N})}):C.jsx("li",{className:"page-item",children:C.jsx("button",{className:`page-link ${xp.link}`,onClick:()=>g(A),children:N})})},T=()=>C.jsx("li",{className:"page-item",children:C.jsxs("select",{className:`page-link ${xp.link}`,style:{height:"100%"},value:l,onChange:A=>b(A.target.value),children:[C.jsx("option",{value:"0",children:"Go To"}),p.map(A=>C.jsx("option",{value:A+1,children:A+1},`page_option_${A}`))]})});return C.jsx("div",{children:C.jsx("nav",{"aria-label":"Pages for the table",children:C.jsxs("ul",{className:"pagination",children:[C.jsx("li",{className:`page-item ${r.current_page==1?"disabled":""}`,children:C.jsx("button",{className:`page-link ${xp.link}`,onClick:()=>g(r.current_page-1),disabled:r.current_page==1,"aria-label":"Previous Page Button",children:C.jsx("i",{className:"bi bi-chevron-left"})})}),i.map((A,N)=>C.jsx(Dr.Fragment,{children:w(A)},`page_${N}`)),r.last_page>y?T():"",C.jsx("li",{className:`page-item ${r.current_page==r.last_page?"disabled":""}`,children:C.jsx("button",{className:`page-link ${xp.link}`,onClick:()=>g(r.current_page+1),disabled:r.current_page==r.last_page,"aria-label":"Next Page Button",children:C.jsx("i",{className:"bi bi-chevron-right"})})})]})})})},GX=()=>{const n=Qu(),r=Pa(_X),i=Pa(kX);return M.useEffect(()=>{n(Rf())},[]),C.jsx("div",{className:"container-fluid",children:C.jsxs("div",{className:"row",children:[C.jsx("div",{className:"col-sm-3",children:C.jsx(PX,{})}),C.jsxs("div",{className:"col-sm-9",children:[C.jsx("div",{className:"row",children:C.jsx("div",{className:"col",children:i?C.jsx(TO,{}):""})}),C.jsx("div",{className:"row",children:C.jsx("div",{className:"col",children:r?C.jsx(HX,{}):C.jsx(Am,{})})}),C.jsx("div",{className:"row",children:C.jsx("div",{className:"col",children:i?C.jsx(TO,{}):""})})]})]})})},$X=n=>n.publications_store.publication,WX=n=>n.publications_store.publication.doi,XX=n=>n.publications_store.publication_types,yk=n=>n.publications_store.publication.authors,YX=n=>n.publications_store.tag_categories,ZX=n=>n.publications_store.projects,JX=n=>n.publications_store.publication.tags,qX=n=>n.publications_store.errors,bk=n=>n.publications_store.data_loaded,Ck=n=>n.publications_store.show_saved,Dw=n=>n.publications_store.saving,QX=n=>n.publications_store.modal,xk=n=>n.publications_store.form_valid,Ek=n=>!Dw(n)&&bk(n)&&xk(n)&&Sk(n)&&n.publications_store.projects.filter(r=>r.selected).length>0,Sk=n=>{const r=yk(n);return r.length==0?!1:r.filter(i=>i.first_name==""||i.last_name=="").length==0},wk=n=>({type:"UPDATE_PUBLICATION",payload:n}),KX=n=>({type:"UPDATE_FIELD",payload:n}),T1=n=>({type:"CHANGE_PUB_TYPE",payload:n}),eY=n=>({type:"SET_PUBLICATION",payload:n}),tY=()=>({type:"ADD_AUTHOR"}),nY=n=>({type:"UPDATE_AUTHOR",payload:n}),rY=n=>({type:"TOGGLE_REQUEST",payload:n}),xm=n=>({type:"UPDATE_ERRORS",payload:n}),Rk=n=>({type:"HIDE_ERROR",payload:n}),aY=n=>({type:"UPDATE_SELECTED_TAGS",payload:n}),iY=n=>({type:"DELETE_AUTHOR",payload:n}),oY=n=>({type:"DATA_LOADED",payload:n}),Tk=n=>({type:"UPDATE_SHOW_SAVED",payload:n}),sY=()=>({type:"RESET_STATE"}),BS=n=>({type:"UPDATE_SAVING",payload:n}),uY=n=>({type:"SET_FORM_VALID",payload:n}),Ik=n=>({type:"SET_GRANT_NUMBER",payload:n}),lY=n=>({type:"ADD_PROJECT",payload:n}),cc={routes:{}},cY=(n,r,i)=>{let u=!0;const l=[];for(const p of r)n[p]||(u=!1,l.push(p));const d=n.authors||[];for(const p of d)for(const y of i)p[y]||(u=!1,l.includes(y)||l.push(y));return{formValid:u,missingFields:l}},fY=n=>n.length>0?C.jsxs("div",{role:"alert",children:[C.jsx("p",{children:"Please provide the following information before submitting:"}),C.jsx("ul",{children:n.map(r=>C.jsx("li",{children:dY(r)},r))})]}):null;function dY(n){return n.split("_").map(r=>r.charAt(0).toUpperCase()+r.slice(1)).join(" ")}const pY=()=>async(n,r)=>{const i=r().publications_store.publication.doi,u=encodeURIComponent(i).replaceAll(".","%2E"),l="Unable to retrieve publication. Double check your DOI, or continue entering information manually.";fetch(`/publications/lookup?doi=${u}`).then(d=>d.json()).then(d=>{if(d.title!=""){let p=r().publications_store.publication_types.find(y=>y.citation_style_type==d.type);n(T1(p?p.publication_type:"Other")),n(eY(d))}else n(xm(l))},d=>{n(xm(l))})},vY=()=>async(n,r)=>{const i=r().publications_store.grant_number,u=cc.routes.publications_find_project_path();await fetch(`${u}?grant_number=${i}`).then(l=>l.json()).then(l=>{n(lY(l)),n(Ik(""))},()=>{n(xm("Unable to find a project with this grant number."))})},Ak=()=>async n=>{const r=/^\/requests/.test(window.location.pathname)?cc.routes.publication_path("new.json"):window.location.href+".json";await fetch(r).then(i=>i.json()).then(i=>{n(oY(i))})},Nk=()=>async(n,r)=>{const i=r().publications_store,u=i.projects.filter(T=>T.selected),l=Object.keys(i.selected_tags).map(T=>i.selected_tags[T]).flat(),d={...i.publication},p=i.errors,{formValid:y,missingFields:g}=cY(d,["title","publication_year","publication_month"],["first_name","last_name","affiliation"]);if(!y){p.length>0&&Array.from(p).forEach(A=>{n(Rk(A.id))});const T=fY(g);n(xm(T));return}const b={authenticity_token:document.getElementsByName("authenticity_token")[0].value,publication:d,authors:d.authors.map(T=>({...T,order:0})),tags:l,projects:u};let E,w;d.publication_id?(E=cc.routes.publication_path(d.publication_id),w="PATCH"):(E=cc.routes.publications_path(),w="POST"),n(BS(!0)),await fetch(E,{method:w,headers:{"Content-Type":"application/json"},body:JSON.stringify(b)}).then(T=>{i.redirect?window.location.href=cc.routes.publications_path():(d.publication_id||(n(sY()),n(Ak())),n(Tk(!0)),n(BS(!1)))},()=>{n(BS(!1)),n(xm("There was an error saving this publication."))})},hY=({doi:n,updatePublication:r,doiLookup:i})=>C.jsx("div",{className:"row mb-3",children:C.jsxs("div",{className:"col",children:[C.jsx("label",{htmlFor:"doi",className:"form-label",children:"DOI"}),C.jsxs("div",{className:"input-group",children:[C.jsx("input",{type:"text",className:"form-control",id:"doi",name:"publication[doi]","aria-label":"DOI Input and Search box","aria-describedby":"doi_button",value:n,onChange:u=>r(u.target.value)}),C.jsx("button",{className:"btn btn-primary",type:"button",id:"doi_button",onClick:()=>i(),children:"Lookup Publication"})]})]})}),mY=n=>({doi:WX(n)}),gY=n=>({updatePublication:r=>n(wk({key:"doi",value:r})),doiLookup:()=>n(pY())}),yY=qo(mY,gY)(hY),bY=({author:n,authorKey:r,updateAuthor:i,deleteAuthor:u})=>{const l=y=>{i({key:y.target.name,value:y.target.value,idx:r})},d=y=>C.jsx("td",{children:C.jsx("input",{type:"text",className:"form-control",name:y,id:y,value:n[y],onChange:g=>l(g)})},`field_${y}`),p=["first_name","last_name","affiliation"];return C.jsxs("tr",{children:[p.map(y=>d(y)),C.jsx("td",{children:r!==0&&C.jsx("button",{className:"btn btn-sm btn-danger",onClick:()=>u(r),children:C.jsx("i",{className:"bi bi-trash"})})})]})},CY=n=>({updateAuthor:r=>n(nY(r)),deleteAuthor:r=>n(iY(r))}),IO=qo(null,CY)(bY),xY=({authors:n,addAuthor:r,authors_exist:i})=>{const u=n.length===0,l=()=>i?"":C.jsx("div",{className:"alert alert-danger",children:"You must add at least one author and each author must have a first and last name"});return C.jsxs("div",{children:[l(),C.jsxs("table",{className:"table",children:[C.jsx("thead",{children:C.jsxs("tr",{children:[C.jsx("th",{children:"First Name"}),C.jsx("th",{children:"Last Name"}),C.jsx("th",{children:"Affiliation"}),C.jsx("th",{})]})}),C.jsxs("tbody",{children:[n.map((d,p)=>C.jsx(IO,{author:d,authorKey:p},`author_${p}`)),u&&C.jsx(IO,{author:r()})]})]}),C.jsx("button",{className:"btn btn-primary mt-3",onClick:()=>r(),children:"Add Author"})]})},EY=n=>({authors:yk(n),authors_exist:Sk(n)}),SY=n=>({addAuthor:()=>n(tY())}),wY=qo(EY,SY)(xY),RY=({category:n,publication_tags:r,updateSelectedTags:i,index:u})=>{const l=M.useRef(null),d=()=>{const y=r.filter(g=>g.label==n.label)[0];return y?y.options:[]},p=y=>{i({category:n.label,tags:y})};return C.jsxs(C.Fragment,{children:[C.jsx("div",{className:"fw-bold mb-1",children:n.label}),C.jsx("div",{className:"mb-3",children:C.jsx(Ow,{classNames:{control:y=>y.isFocused?"custom-select-selected":"border-grey-300"},defaultValue:d(),options:n.options,isMulti:!0,openMenuOnClick:!0,name:`tags_${u}`,inputId:`tags_${u}`,ref:l,closeMenuOnSelect:!1,onChange:p})})]})},TY=n=>({updateSelectedTags:r=>n(aY(r))}),IY=n=>({publication_tags:JX(n)}),AY=qo(IY,TY)(RY),NY=({projects:n,toggleProject:r})=>{const i=l=>`list-group-item list-group-item-action clickable ${l.selected?"list-group-item-success":""}`,u=()=>n.filter(l=>l.selected).length>0;return C.jsx("div",{className:"row",children:C.jsxs("div",{className:"col",children:[u()?"":C.jsx("div",{className:"alert alert-danger",children:"You must select at least one project"}),C.jsx("div",{className:"list-group",children:n.map((l,d)=>C.jsxs("div",{className:i(l),onClick:()=>r(d),children:[l.grant_number,": ",l.title]},`project_${l.grant_number}`))})]})})},OY=n=>({projects:ZX(n)}),_Y=n=>({toggleProject:r=>n(rY(r))}),DY=qo(OY,_Y)(NY),jY=({grant_number:n,setGrantNumber:r,grantSearch:i})=>C.jsx("div",{className:"row",children:C.jsxs("div",{className:"col",children:["If your project isn't listed above, you can manually add it by entering the grant number below.",C.jsxs("div",{className:"input-group mt-1",children:[C.jsx("input",{type:"text",className:"form-control",value:n,onChange:u=>r(u.target.value),placeholder:"Enter a grant number"}),C.jsx("button",{className:"btn btn-primary",onClick:()=>i(),children:"Find Project"})]})]})}),kY=n=>({setGrantNumber:r=>n(Ik(r)),grantSearch:()=>n(vY())}),MY=n=>({grant_number:n.publications_store.grant_number}),LY=qo(MY,kY)(jY),FY=({publication:n,updateField:r,publication_types:i,changePubType:u,updatePublication:l,tag_categories:d,savePublication:p,modal:y,save_enabled:g,setFormValid:b,form_valid:E})=>{const w=B=>{B.target.value.trim()==""?b(!1):b(!0),l({key:"title",value:B.target.value})},T=()=>n.fields.map((B,P)=>C.jsx("div",{className:"row mb-3",children:C.jsxs("div",{className:"col",children:[C.jsx("label",{htmlFor:`field_${B.csl_field_name}`,className:"form-label",children:B.name}),C.jsx("input",{type:"text",className:"form-control",name:`field_${B.csl_field_name}`,id:`field_${B.csl_field_name}`,value:B.field_value,onChange:U=>r({index:P,value:U.target.value})})]})},`field_${B.csl_field_name}`)),A=()=>{const B=new Date().getFullYear()+2;let P=1980;const U=[];for(;P<=B;)U.push(P++);const z=["January","February","March","April","May","June","July","August","September","October","November","December"],G=C.jsx("i",{className:"bi bi-asterisk text-danger"});return C.jsxs(C.Fragment,{children:[C.jsx("div",{className:"row mb-3",children:C.jsxs("div",{className:"col",children:[C.jsxs("label",{className:"form-label",htmlFor:"publication_title",children:["Title ",G]}),C.jsx("input",{name:"publication_title",id:"publication_title",type:"text",className:`form-control ${E?"":"is-invalid"}`,value:n.title,onChange:X=>w(X)})]})}),C.jsx("div",{className:"row mb-3",children:C.jsxs("div",{className:"col",children:[C.jsx("label",{className:"form-label",htmlFor:"publication_year",children:"Year Published"}),C.jsx("select",{name:"publication_year",id:"publication_year",className:"form-control",value:n.publication_year,onChange:X=>{l({key:"publication_year",value:X.target.value})},children:U.map(X=>C.jsx("option",{value:X,children:X},`year_${X}`))})]})}),C.jsx("div",{className:"row mb-3",children:C.jsxs("div",{className:"col",children:[C.jsx("label",{className:"form-label",htmlFor:"publication_month",children:"Month Published"}),C.jsx("select",{name:"publication_month",id:"publication_month",className:"form-control",value:n.publication_month,onChange:X=>{l({key:"publication_month",value:X.target.value})},children:z.map((X,te)=>C.jsx("option",{value:te+1,children:X},`month_${te}`))})]})})]})},N=C.jsxs("div",{className:"card",children:[C.jsx("div",{className:"card-header",children:C.jsx("h2",{children:"Publication Information"})}),C.jsxs("div",{className:"card-body",children:[C.jsx("p",{className:"mb-2",children:'Enter information about this publication below. If you have a DOI, you may use the "Lookup Publication" button to attempt to find this information automatically.'}),C.jsx(yY,{}),C.jsx("div",{className:"row mb-3",children:C.jsxs("div",{className:"col",children:[C.jsx("label",{htmlFor:"publication_type",className:"form-label",children:"Publication Type"}),C.jsx("select",{name:"publication[publication_type]",id:"publication_type",className:"form-control",value:n.publication_type,onChange:B=>u(B.target.value),children:i.map(B=>C.jsx("option",{value:B.publication_type,children:B.publication_type},`pub_type_${B.type_id}`))})]})}),A(),T()]})]}),j=C.jsxs("div",{className:"card mt-3",children:[C.jsxs("div",{className:"card-header d-flex",children:[C.jsx("h2",{children:"Authors"}),C.jsxs(Ip,{children:[`Add authors by clicking the "Add Authors" button below and entering the author's details. You may also remove authors by clicking the `,C.jsx("i",{className:"bi bi-trash fw-bold text-danger"})," ","button"]})]}),C.jsx("div",{className:"card-body",children:C.jsx(wY,{})})]}),O=C.jsxs("div",{className:"card mt-3",children:[C.jsxs("div",{className:"card-header d-flex",children:[C.jsx("h2",{children:"Tags"}),C.jsx(Ip,{children:"Add related tags from the lists below. You may choose multiple tags per category."})]}),C.jsx("div",{className:"card-body",children:d.map((B,P)=>C.jsx(AY,{index:P,category:B},`tc_${P}`))})]}),L=C.jsxs("div",{className:"card mt-3",children:[C.jsxs("div",{className:"card-header d-flex",children:[C.jsx("h2",{children:"Associated Projects"}),C.jsx(Ip,{children:"Click/Tap each project that this publication is related to."})]}),C.jsxs("div",{className:"card-body",children:[C.jsx(DY,{}),C.jsx("hr",{}),C.jsx(LY,{})]})]});return C.jsxs(C.Fragment,{children:[N,j,O,L,y?null:C.jsx("p",{className:"mt-3",children:C.jsx("button",{onClick:()=>p(),className:"btn btn-success",disabled:!g,children:"Save Publication"})})]})},PY=n=>({publication:$X(n),publication_types:XX(n),tag_categories:YX(n),saving:Dw(n),modal:QX(n),save_enabled:Ek(n),form_valid:xk(n)}),VY=n=>({updateField:r=>n(KX(r)),changePubType:r=>n(T1(r)),updatePublication:r=>n(wk(r)),savePublication:()=>n(Nk()),setFormValid:r=>n(uY(r))}),BY=qo(PY,VY)(FY),zY=({errors:n,hideError:r})=>C.jsx(C.Fragment,{children:n.map(i=>C.jsxs("div",{className:"alert alert-danger alert-dismissible sticky-top",children:[i.message,C.jsx("button",{type:"button",className:"btn-close","aria-label":"Close",onClick:()=>r(i.id)})]},`err_${i.id}`))}),HY=n=>({errors:qX(n)}),UY=n=>({hideError:r=>n(Rk(r))}),GY=qo(HY,UY)(zY),$Y=({show_saved:n,updateShowSaved:r})=>{const i=C.jsxs("div",{className:"alert alert-success alert-dismissible sticky-top",children:["Publication Saved Successfully!",C.jsx("button",{type:"button",className:"btn-close","aria-label":"Close",onClick:()=>r(!1)})]});return n?i:C.jsx(C.Fragment,{})},WY=n=>({show_saved:Ck(n)}),XY=n=>({updateShowSaved:r=>n(Tk(r))}),YY=qo(WY,XY)($Y),ZY=({getData:n,data_loaded:r})=>(M.useEffect(()=>{n()},[]),C.jsxs(C.Fragment,{children:[C.jsx(YY,{}),C.jsx(GY,{}),r?C.jsx(BY,{}):C.jsx(Am,{})]})),JY=n=>({data_loaded:bk(n)}),qY=n=>({getData:()=>n(Ak())}),Ok=qo(JY,qY)(ZY),QY=({saving:n,savePublication:r,showSaved:i,updatePublications:u,save_enabled:l})=>{const[d,p]=M.useState(!1);return M.useEffect(()=>{!n&&i&&u()},[n,i]),C.jsxs(C.Fragment,{children:[C.jsxs(kn,{size:"xl",show:d,onHide:()=>p(!1),scrollable:!0,children:[C.jsx(kn.Header,{closeButton:!0,children:C.jsx(kn.Title,{children:"Add Publication"})}),C.jsx(kn.Body,{children:C.jsx(Ok,{})}),C.jsx(kn.Footer,{children:C.jsxs("div",{className:"d-flex",children:[C.jsx("button",{type:"button",className:"btn btn-danger me-2",onClick:()=>p(!1),children:"Cancel"}),C.jsx("button",{type:"button",className:"btn btn-primary",onClick:()=>{r(),p(!1)},children:"Save Publication"})]})})]}),C.jsx("button",{type:"button",className:"btn btn-primary",onClick:()=>p(!0),children:"Add a New Publication"})]})},KY=n=>({saving:Dw(n),showSaved:Ck(n),save_enabled:Ek(n)}),eZ=n=>({savePublication:()=>n(Nk())}),tZ=qo(KY,eZ)(QY),nZ=({usernames:n=[],publication_ids:r=[]})=>{const[i,u]=M.useState(n),[l,d]=M.useState(r),[p,y]=M.useState([]),g=M.useRef(i),b=j=>{g.current=j,u(j)},E=async()=>{const O=await(await fetch(cc.routes.search_publications_path({usernames:i}))).json();y(O)};M.useEffect(()=>{E()},[i]),M.useEffect(()=>{addEventListener("requestAddRole",j=>b([...g.current,j.detail.username])),addEventListener("requestRemoveRole",j=>b(g.current.filter(O=>O!=j.detail.username)))},[]);let w=!1,T=!1;const A=p.map(j=>{const O=l.includes(j.publication_id);w=w||O,T=T||!O;const L=new Date(j.publication_year,j.publication_month-1);return C.jsxs("tr",{children:[C.jsx("td",{children:C.jsx("input",{type:"checkbox",name:"publication_ids[]",value:j.publication_id,checked:O,onChange:()=>d(O?l.filter(B=>B!=j.publication_id):[...l,j.publication_id])})}),C.jsx("td",{children:j.title}),C.jsx("td",{children:j.authors.map(B=>`${B.first_name} ${B.last_name}`).join(", ")}),C.jsx("td",{children:j.publication_type}),C.jsxs("td",{children:[L.toLocaleString("default",{month:"short"})," ",j.publication_year]})]},j.publication_id)}),N=`${T?"Select":"Deselect"} all`;return C.jsxs("div",{className:"publications-select",children:[C.jsxs("table",{className:"table",children:[C.jsx("thead",{children:C.jsxs("tr",{children:[C.jsx("th",{children:C.jsx("input",{type:"checkbox",value:"","aria-label":N,title:N,checked:w&&!T,onChange:()=>d(T?p.map(j=>j.publication_id):[]),ref:j=>{j&&(j.indeterminate=w&&T)}})}),C.jsx("th",{children:"Title"}),C.jsx("th",{children:"Authors"}),C.jsx("th",{children:"Type"}),C.jsx("th",{children:"Date"})]})}),C.jsx("tbody",{children:A})]}),C.jsx(tZ,{updatePublications:E})]})},rZ=()=>`${Math.random().toString(36).slice(2)}`,I1=document.querySelector("#publications-react"),aZ=I1?I1.dataset:{},AO={publication_types:[],tag_categories:[],publication:{},projects:[],errors:[],selected_tags:{},data_loaded:!1,saving:!1,show_saved:!1,redirect:aZ.redirect||!1,modal:I1==null,form_valid:!1,grant_number:""},iZ=(n=AO,r)=>{const{type:i,payload:u}=r;switch(i){case"UPDATE_FIELD":return mo(n,d=>(d.publication.fields[u.index].field_value=u.value,d));case"CHANGE_PUB_TYPE":return mo(n,d=>{let p=d.publication_types.find(y=>y.publication_type==u).fields;return p.forEach(y=>{const g=d.publication.fields.find(b=>b.csl_field_name==y.csl_field_name);g&&(y.value=g.value)}),d.publication.publication_type=u,d.publication.fields=p,d});case"UPDATE_PUBLICATION":return{...n,publication:{...n.publication,[u.key]:u.value}};case"SET_PUBLICATION":return mo(n,d=>(d.publication.fields.forEach(p=>{p.field_value=u[p.csl_field_name]}),Object.keys(d.publication).forEach(p=>{u[p]&&(d.publication[p]=u[p])}),d.form_valid=u.title.trim()!="",d));case"ADD_AUTHOR":{const l={portal_username:"",first_name:"",middle_name:"",last_name:"",prefix:"",suffix:"",initials:"",affiliation:"",hash:{}};return mo(n,p=>{p.publication.authors.push(l)})}case"UPDATE_AUTHOR":return mo(n,d=>{d.publication.authors[u.idx][u.key]=u.value});case"TOGGLE_TAG":return mo(n,d=>{let p=d.tag_categories.find(y=>y.publication_tags_category_id==u.publication_tags_category_id);p.tags[u.idx].selected=!p.tags[u.idx].selected});case"TOGGLE_REQUEST":return mo(n,d=>(d.projects[u].selected=!d.projects[u].selected,d));case"UPDATE_ERRORS":{const l={id:rZ(),message:u};return{...n,errors:[...n.errors,l]}}case"HIDE_ERROR":{const l=n.errors.filter(d=>d.id!=u);return{...n,errors:l}}case"UPDATE_SELECTED_TAGS":return mo(n,d=>{const p=u.tags.map(y=>y.value);return d.selected_tags[u.category]=p,d});case"DELETE_AUTHOR":return mo(n,d=>(d.publication.authors.splice(u,1),d));case"DATA_LOADED":return mo(n,d=>(d.publication=u.publication,d.form_valid=u.publication.title.trim()!="",d.publication.authors.forEach(p=>{p.affiliation||(p.affiliation="")}),d.publication_types=u.publication_types,d.tag_categories=u.tag_categories,d.projects=u.publication.projects,u.publication.tags.forEach(p=>d.selected_tags[p.label]=p.options.map(y=>y.value)),d.data_loaded=!0,d));case"UPDATE_SHOW_SAVED":return{...n,show_saved:u};case"UPDATE_SAVING":return{...n,saving:u};case"RESET_STATE":return AO;case"SET_FORM_VALID":return{...n,form_valid:u};case"SET_GRANT_NUMBER":return{...n,grant_number:u};case"ADD_PROJECT":return{...n,projects:[...n.projects,u]};default:return n}},oZ={filters:[],resources:[],filteredResources:[],resourcesLoaded:!1,hasErrors:!1},Wb=qu("resourceCatalog/getResources",async(n,{dispatch:r})=>{const u=await(await fetch(n.apiUrl)).json();r(uZ({data:u,params:n}))}),sZ=n=>{const r=[],i=n.filter(u=>u.features.filter(l=>l.selected).length>0);return n.forEach(u=>{u.features.forEach(l=>{l.selected&&r.push(l.featureId)})}),i.map(u=>({...u,features:u.features.filter(l=>l.selected)}))},NO=(n,r,i)=>{if(n.length==0&&r.length==0)return!0;if(n.length>0)return n.find(u=>u==i);if(r.length>0)return!r.find(u=>u==i)},_k=D1({name:"resourceCatalog",initialState:oZ,reducers:{handleResponse:(n,{payload:r})=>{const i=r.data,u=r.params.excludedCategories,l=r.params.excludedFilters,d=r.params.excludedResources,p=r.params.allowedCategories,y=r.params.allowedFilters,g=[],b={};i.filter(E=>!d.includes(E.resourceName)).forEach(E=>{const w=[];E.featureCategories.filter(A=>A.categoryIsFilter).forEach(A=>{const N=A.categoryId;!b[N]&&NO(p,u,A.categoryName)&&(b[N]={categoryId:N,categoryName:A.categoryName,categoryDescription:A.categoryDescription,features:{}}),A.features.forEach(j=>{const O={featureId:j.featureId,name:j.name,description:j.description,categoryId:N,selected:!1},L=NO(y,l,O.name);L&&w.push(O),b[N]&&L&&!b[N].features[j.featureId]&&(b[N].features[j.featureId]=O)})});const T={resourceName:E.resourceName,resourceId:E.resourceId,resourceType:E.resourceType,organization:E.organization,units:E.units,userGuideUrl:E.userGuideUrl,resourceDescription:E.resourceDescription,description:E.description,recommendedUse:E.recommendedUse,features:w.map(A=>A.name).sort((A,N)=>A>N),featureIds:w.map(A=>A.featureId)};g.push(T)});for(const E in b){const w=b[E],T=[];for(const A in w.features)T.push(w.features[A]);n.filters.push({...w,features:T.sort((A,N)=>A.name>N.name)})}n.filters=n.filters.sort((E,w)=>E.categoryName.localeCompare(w.categoryName)),n.resources=g.sort((E,w)=>E.resourceName.localeCompare(w.resourceName)),n.filteredResources=[...n.resources],n.resourcesLoaded=!0},resetFilters:n=>{n.filters.forEach(r=>{r.features.forEach(i=>i.selected=!1)}),n.filteredResources=[...n.resources]},toggleFilter:(n,{payload:r})=>{const i=r,l=n.filters.find(p=>p.categoryId==i.categoryId).features.find(p=>p.featureId==i.featureId);l.selected=!l.selected;const d=sZ(n.filters);if(d.length>0){const p=[],y=d.map(g=>g.features.map(b=>b.featureId));n.resources.forEach(g=>{let b=0;y.forEach(E=>{let w=!1;g.featureIds.forEach(T=>{E.indexOf(T)>=0&&(w=!0)}),w&&(b+=1)}),b>=y.length&&p.push(g)}),n.filteredResources=p}else n.filteredResources=[...n.resources]}},extraReducers:n=>{n.addCase(Wb.pending,r=>{}).addCase(Wb.fulfilled,(r,i)=>{}).addCase(Wb.rejected,(r,i)=>{r.hasErrors=!0,console.log(i.error)})}}),{handleResponse:uZ,processData:kZ,resetFilters:lZ,toggleFilter:cZ}=_k.actions,fZ=n=>n.resourceCatalog.hasErrors,dZ=n=>n.resourceCatalog.resourcesLoaded,pZ=n=>n.resourceCatalog.filters,vZ=n=>n.resourceCatalog.filteredResources,hZ=_k.reducer,mZ=({resource:n})=>{const r=u=>u.length==0?"":C.jsx("ul",{children:u.map((l,d)=>C.jsx("li",{children:l},`feature_${n.resourceId}_${d}`))}),i=(u,l)=>l&&l!=""?C.jsxs(C.Fragment,{children:[C.jsx("div",{className:"row",children:C.jsx("div",{className:"col fw-bold",children:u})}),C.jsx("div",{className:"row mb-3",children:C.jsx("div",{className:"col",dangerouslySetInnerHTML:{__html:l}})})]}):"";return C.jsxs(zb.Item,{eventKey:n.resourceId,children:[C.jsx(zb.Header,{children:n.resourceName}),C.jsxs(zb.Body,{children:[C.jsx("table",{className:"table",children:C.jsxs("tbody",{children:[C.jsxs("tr",{children:[C.jsx("td",{className:"fw-bold",children:"Resource Type:"}),C.jsx("td",{children:n.resourceType})]}),C.jsxs("tr",{children:[C.jsx("td",{className:"fw-bold",children:"Organization:"}),C.jsx("td",{children:n.organization})]}),C.jsxs("tr",{children:[C.jsx("td",{className:"fw-bold",children:"Units:"}),C.jsx("td",{children:n.units})]}),C.jsxs("tr",{children:[C.jsx("td",{className:"fw-bold",children:"User Guide:"}),C.jsx("td",{children:n.userGuideUrl==""?"":C.jsx("a",{href:n.userGuideUrl,target:"_blank",rel:"noreferrer",children:"Link to User Guide"})})]}),C.jsxs("tr",{children:[C.jsx("td",{className:"fw-bold",children:"Features Available:"}),C.jsx("td",{children:r(n.features)})]})]})}),i("Resource Description",n.resourceDescription),i("Allocations Description",n.description),i("Recommended Use",n.recommendedUse)]})]})},gZ=()=>{const n=Pa(vZ);return n.length==0?C.jsx("div",{className:"fw-bold",children:"No Resources Match Your Filters"}):C.jsxs("div",{children:[C.jsx("h4",{className:"mb-0",children:"Resources"}),C.jsx(zb,{children:n.map(r=>C.jsx(mZ,{resource:r},r.resourceId))})]})},yZ=({filter:n})=>{const r=Qu(),i=()=>{r(cZ(n))};return C.jsx("div",{className:"row",children:C.jsx("div",{className:"col",children:C.jsxs("div",{className:"form-check",children:[C.jsx("label",{className:"form-check-label",htmlFor:`filter_${n.featureId}`,children:n.name}),C.jsx("input",{className:"form-check-input",type:"checkbox",value:n.featureId,id:`filter_${n.featureId}`,checked:n.selected,onChange:i})]})})})},bZ=({category:n})=>C.jsx("div",{className:"row",children:C.jsxs("div",{className:"col",children:[C.jsx("div",{className:"fw-bold mb-1 mt-1",children:C.jsx("abbr",{title:n.categoryDescription,children:n.categoryName})}),n.features.map(r=>C.jsx(yZ,{filter:r},r.featureId))]})}),CZ=()=>{const n=Qu(),r=Pa(pZ),i=r.filter(u=>u.features.filter(l=>l.selected).length>0);return C.jsxs("div",{children:[C.jsx("h4",{className:"mb-0",children:"Filters"}),r.map(u=>C.jsx(bZ,{category:u},u.categoryId)),C.jsx("button",{className:"btn btn-warning mt-2 mb-2",onClick:()=>n(lZ()),disabled:i.length==0,children:"Reset Filters"})]})},xZ=({apiUrl:n,excludedCategories:r=[],excludedFilters:i=[],excludedResources:u=[],allowedCategories:l=[],allowedFilters:d=[]})=>{const p=Qu(),y=Pa(dZ),g=Pa(fZ);return M.useEffect(()=>{p(Wb({apiUrl:n,excludedCategories:r,excludedFilters:i,excludedResources:u,allowedCategories:l,allowedFilters:d}))},[]),g?C.jsx("div",{className:"row",children:C.jsx("div",{className:"col text-center mt-2",children:C.jsx("h4",{children:"Unable to Load Resources"})})}):y?C.jsx(C.Fragment,{children:C.jsxs("div",{className:"row mt-3",children:[C.jsx("div",{className:"col-sm-4",children:C.jsx(CZ,{})}),C.jsx("div",{className:"col-sm-8",children:C.jsx(gZ,{})})]})}):C.jsx(Am,{})};function EZ(n,{bootstrapFonts:r=!0,bootstrapVariables:i=!0}={}){const u=n.attachShadow({mode:"open"}),l=document.createElement("div"),d=document.createElement("div"),p=document.createElement("div"),y=document.createElement("link"),g=document.createElement("link"),b=(typeof document>"u"?require("url").pathToFileURL(__filename).href:pA&&pA.src||new URL("xras-ui.cjs",document.baseURI).href).replace(/\/[^/]+$/,"");return y.rel="stylesheet",y.href=`${b}/bootstrap.css`,g.rel="stylesheet",g.href=`${b}/xras-ui.css`,d.appendChild(p),l.appendChild(d),u.appendChild(l),u.appendChild(y),u.appendChild(g),l.classList.add("bootstrap"),i&&d.classList.add("bootstrap-variables"),r&&d.classList.add("bootstrap-fonts"),p}function SZ({target:n}){$s.createRoot(n).render(C.jsx(pz,{}))}function wZ({target:n,username:r,routes:i}){i&&(On.routes=i);const u=x0({reducer:{api:Uz}});$s.createRoot(n).render(C.jsx(Sm,{store:u,children:C.jsx(TX,{username:r})}))}function RZ({target:n}){const r={};for(let u in n.dataset)r[u]=JSON.parse(n.dataset[u]);const i=x0({reducer:{projectBrowser:LX},preloadedState:{projectBrowser:{...gk,typeLists:r}}});$s.createRoot(n).render(C.jsx(Sm,{store:i,children:C.jsx(GX,{})}))}function Dk(){return x0({reducer:{publications_store:iZ}})}function TZ({target:n,routes:r}){r&&(cc.routes=r),$s.createRoot(n).render(C.jsx(Sm,{store:Dk(),children:C.jsx(Ok,{})}))}function IZ({target:n,routes:r}){r&&(cc.routes=r),$s.createRoot(n).render(C.jsx(Sm,{store:Dk(),children:C.jsx(nZ,{...JSON.parse(n.dataset.publicationsSelectProps)})}))}function AZ({target:n,apiUrl:r,excludedCategories:i,excludedFilters:u,excludedResources:l,allowedCategories:d,allowedFilters:p}){const y=x0({reducer:{resourceCatalog:hZ}});$s.createRoot(n).render(C.jsx(Sm,{store:y,children:C.jsx(xZ,{apiUrl:r,excludedCategories:i,excludedFilters:u,excludedResources:l,allowedCategories:d,allowedFilters:p})}))}exports.allocationsMap=SZ;exports.projects=wZ;exports.projectsBrowser=RZ;exports.publications=TZ;exports.publicationsSelect=IZ;exports.resourceCatalog=AZ;exports.shadowTarget=EZ;