@hievilmath/browser-formidavim 0.0.1 → 0.0.2
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/index.d.ts +1 -1
- package/index.js +2707 -23
- package/index.mjs +27541 -1348
- package/lib/components/ComponentFactory.d.ts +24 -0
- package/lib/components/FlowFormRenderer.d.ts +6 -0
- package/lib/components/FlowProgressTracker.d.ts +8 -0
- package/lib/components/FlowRenderer.d.ts +7 -0
- package/lib/components/FormComponentRenderer.d.ts +8 -0
- package/lib/components/FormRenderer.d.ts +6 -0
- package/lib/components/FormWrapper.d.ts +7 -0
- package/lib/components/{render.d.ts → Renderer.d.ts} +3 -2
- package/lib/components/RendererWrapper.d.ts +8 -0
- package/lib/components/index.d.ts +10 -0
- package/lib/components/inputs/Checkbox.d.ts +5 -0
- package/lib/components/inputs/Number.d.ts +5 -0
- package/lib/components/inputs/Radio.d.ts +15 -0
- package/lib/components/inputs/Scale.d.ts +13 -0
- package/lib/components/inputs/TextArea.d.ts +5 -0
- package/lib/components/inputs/TextInput.d.ts +5 -0
- package/lib/components/inputs/template.d.ts +5 -0
- package/lib/components/visual/Header.d.ts +10 -0
- package/lib/components/visual/Image.d.ts +5 -0
- package/lib/components/visual/Paragraph.d.ts +10 -0
- package/lib/components/visual/RenderError.d.ts +4 -0
- package/lib/components/visual/Rule.d.ts +5 -0
- package/lib/components/visual/SmallText.d.ts +10 -0
- package/lib/components/visual/TextTip.d.ts +5 -0
- package/lib/components/visual/WeightLossChart.d.ts +5 -0
- package/lib/constants/components.d.ts +5 -0
- package/lib/constants/theme.d.ts +58 -0
- package/lib/hooks/useConditionEvaluator.d.ts +7 -0
- package/lib/hooks/useFlowStore.d.ts +11 -0
- package/lib/state/slices/flow.slice.d.ts +22 -0
- package/lib/state/slices/patient.slice.d.ts +17 -0
- package/lib/state/store.d.ts +9 -0
- package/lib/styled-components/layout.d.ts +135 -0
- package/lib/styled-components/typography.d.ts +51 -0
- package/lib/styled-components/uiComponents.d.ts +135 -0
- package/lib/utils/conditionEvaluator.d.ts +18 -0
- package/lib/utils/formDataGenerator.d.ts +18 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function M3(n,s){for(var d=0;d<s.length;d++){const v=s[d];if(typeof v!="string"&&!Array.isArray(v)){for(const b in v)if(b!=="default"&&!(b in n)){const E=Object.getOwnPropertyDescriptor(v,b);E&&Object.defineProperty(n,b,E.get?E:{enumerable:!0,get:()=>v[b]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}function z3(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Qy={exports:{}},qy={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-dev-runtime.production.min.js
|
|
4
4
|
*
|
|
@@ -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
|
|
9
|
+
*/var MC;function A3(){if(MC)return qy;MC=1;var n=Symbol.for("react.fragment");return qy.Fragment=n,qy.jsxDEV=void 0,qy}var Ky={},Xy={exports:{}},Rt={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react.production.min.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
|
-
*/var
|
|
17
|
+
*/var zC;function U3(){if(zC)return Rt;zC=1;var n=Symbol.for("react.element"),s=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),E=Symbol.for("react.provider"),y=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),_=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),N=Symbol.iterator;function M(F){return F===null||typeof F!="object"?null:(F=N&&F[N]||F["@@iterator"],typeof F=="function"?F:null)}var V={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},P=Object.assign,re={};function oe(F,Z,Ze){this.props=F,this.context=Z,this.refs=re,this.updater=Ze||V}oe.prototype.isReactComponent={},oe.prototype.setState=function(F,Z){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,Z,"setState")},oe.prototype.forceUpdate=function(F){this.updater.enqueueForceUpdate(this,F,"forceUpdate")};function ge(){}ge.prototype=oe.prototype;function X(F,Z,Ze){this.props=F,this.context=Z,this.refs=re,this.updater=Ze||V}var K=X.prototype=new ge;K.constructor=X,P(K,oe.prototype),K.isPureReactComponent=!0;var ie=Array.isArray,ne=Object.prototype.hasOwnProperty,pe={current:null},le={key:!0,ref:!0,__self:!0,__source:!0};function Je(F,Z,Ze){var Ge,mt={},ct=null,ft=null;if(Z!=null)for(Ge in Z.ref!==void 0&&(ft=Z.ref),Z.key!==void 0&&(ct=""+Z.key),Z)ne.call(Z,Ge)&&!le.hasOwnProperty(Ge)&&(mt[Ge]=Z[Ge]);var at=arguments.length-2;if(at===1)mt.children=Ze;else if(1<at){for(var ot=Array(at),jt=0;jt<at;jt++)ot[jt]=arguments[jt+2];mt.children=ot}if(F&&F.defaultProps)for(Ge in at=F.defaultProps,at)mt[Ge]===void 0&&(mt[Ge]=at[Ge]);return{$$typeof:n,type:F,key:ct,ref:ft,props:mt,_owner:pe.current}}function yt(F,Z){return{$$typeof:n,type:F.type,key:Z,ref:F.ref,props:F.props,_owner:F._owner}}function Lt(F){return typeof F=="object"&&F!==null&&F.$$typeof===n}function Yt(F){var Z={"=":"=0",":":"=2"};return"$"+F.replace(/[=:]/g,function(Ze){return Z[Ze]})}var Tt=/\/+/g;function Pe(F,Z){return typeof F=="object"&&F!==null&&F.key!=null?Yt(""+F.key):Z.toString(36)}function Ut(F,Z,Ze,Ge,mt){var ct=typeof F;(ct==="undefined"||ct==="boolean")&&(F=null);var ft=!1;if(F===null)ft=!0;else switch(ct){case"string":case"number":ft=!0;break;case"object":switch(F.$$typeof){case n:case s:ft=!0}}if(ft)return ft=F,mt=mt(ft),F=Ge===""?"."+Pe(ft,0):Ge,ie(mt)?(Ze="",F!=null&&(Ze=F.replace(Tt,"$&/")+"/"),Ut(mt,Z,Ze,"",function(jt){return jt})):mt!=null&&(Lt(mt)&&(mt=yt(mt,Ze+(!mt.key||ft&&ft.key===mt.key?"":(""+mt.key).replace(Tt,"$&/")+"/")+F)),Z.push(mt)),1;if(ft=0,Ge=Ge===""?".":Ge+":",ie(F))for(var at=0;at<F.length;at++){ct=F[at];var ot=Ge+Pe(ct,at);ft+=Ut(ct,Z,Ze,ot,mt)}else if(ot=M(F),typeof ot=="function")for(F=ot.call(F),at=0;!(ct=F.next()).done;)ct=ct.value,ot=Ge+Pe(ct,at++),ft+=Ut(ct,Z,Ze,ot,mt);else if(ct==="object")throw Z=String(F),Error("Objects are not valid as a React child (found: "+(Z==="[object Object]"?"object with keys {"+Object.keys(F).join(", ")+"}":Z)+"). If you meant to render a collection of children, use an array instead.");return ft}function kt(F,Z,Ze){if(F==null)return F;var Ge=[],mt=0;return Ut(F,Ge,"","",function(ct){return Z.call(Ze,ct,mt++)}),Ge}function Mt(F){if(F._status===-1){var Z=F._result;Z=Z(),Z.then(function(Ze){(F._status===0||F._status===-1)&&(F._status=1,F._result=Ze)},function(Ze){(F._status===0||F._status===-1)&&(F._status=2,F._result=Ze)}),F._status===-1&&(F._status=0,F._result=Z)}if(F._status===1)return F._result.default;throw F._result}var Me={current:null},ve={transition:null},Oe={ReactCurrentDispatcher:Me,ReactCurrentBatchConfig:ve,ReactCurrentOwner:pe};function Se(){throw Error("act(...) is not supported in production builds of React.")}return Rt.Children={map:kt,forEach:function(F,Z,Ze){kt(F,function(){Z.apply(this,arguments)},Ze)},count:function(F){var Z=0;return kt(F,function(){Z++}),Z},toArray:function(F){return kt(F,function(Z){return Z})||[]},only:function(F){if(!Lt(F))throw Error("React.Children.only expected to receive a single React element child.");return F}},Rt.Component=oe,Rt.Fragment=d,Rt.Profiler=b,Rt.PureComponent=X,Rt.StrictMode=v,Rt.Suspense=T,Rt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Oe,Rt.act=Se,Rt.cloneElement=function(F,Z,Ze){if(F==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+F+".");var Ge=P({},F.props),mt=F.key,ct=F.ref,ft=F._owner;if(Z!=null){if(Z.ref!==void 0&&(ct=Z.ref,ft=pe.current),Z.key!==void 0&&(mt=""+Z.key),F.type&&F.type.defaultProps)var at=F.type.defaultProps;for(ot in Z)ne.call(Z,ot)&&!le.hasOwnProperty(ot)&&(Ge[ot]=Z[ot]===void 0&&at!==void 0?at[ot]:Z[ot])}var ot=arguments.length-2;if(ot===1)Ge.children=Ze;else if(1<ot){at=Array(ot);for(var jt=0;jt<ot;jt++)at[jt]=arguments[jt+2];Ge.children=at}return{$$typeof:n,type:F.type,key:mt,ref:ct,props:Ge,_owner:ft}},Rt.createContext=function(F){return F={$$typeof:y,_currentValue:F,_currentValue2:F,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},F.Provider={$$typeof:E,_context:F},F.Consumer=F},Rt.createElement=Je,Rt.createFactory=function(F){var Z=Je.bind(null,F);return Z.type=F,Z},Rt.createRef=function(){return{current:null}},Rt.forwardRef=function(F){return{$$typeof:R,render:F}},Rt.isValidElement=Lt,Rt.lazy=function(F){return{$$typeof:A,_payload:{_status:-1,_result:F},_init:Mt}},Rt.memo=function(F,Z){return{$$typeof:_,type:F,compare:Z===void 0?null:Z}},Rt.startTransition=function(F){var Z=ve.transition;ve.transition={};try{F()}finally{ve.transition=Z}},Rt.unstable_act=Se,Rt.useCallback=function(F,Z){return Me.current.useCallback(F,Z)},Rt.useContext=function(F){return Me.current.useContext(F)},Rt.useDebugValue=function(){},Rt.useDeferredValue=function(F){return Me.current.useDeferredValue(F)},Rt.useEffect=function(F,Z){return Me.current.useEffect(F,Z)},Rt.useId=function(){return Me.current.useId()},Rt.useImperativeHandle=function(F,Z,Ze){return Me.current.useImperativeHandle(F,Z,Ze)},Rt.useInsertionEffect=function(F,Z){return Me.current.useInsertionEffect(F,Z)},Rt.useLayoutEffect=function(F,Z){return Me.current.useLayoutEffect(F,Z)},Rt.useMemo=function(F,Z){return Me.current.useMemo(F,Z)},Rt.useReducer=function(F,Z,Ze){return Me.current.useReducer(F,Z,Ze)},Rt.useRef=function(F){return Me.current.useRef(F)},Rt.useState=function(F){return Me.current.useState(F)},Rt.useSyncExternalStore=function(F,Z,Ze){return Me.current.useSyncExternalStore(F,Z,Ze)},Rt.useTransition=function(){return Me.current.useTransition()},Rt.version="18.3.1",Rt}var Ym={exports:{}};/**
|
|
18
18
|
* @license React
|
|
19
19
|
* react.development.js
|
|
20
20
|
*
|
|
@@ -22,29 +22,29 @@
|
|
|
22
22
|
*
|
|
23
23
|
* This source code is licensed under the MIT license found in the
|
|
24
24
|
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/Ge.exports;var vt;function Yt(){return vt||(vt=1,function(z,y){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 We="18.3.1",G=Symbol.for("react.element"),Re=Symbol.for("react.portal"),se=Symbol.for("react.fragment"),pe=Symbol.for("react.strict_mode"),ye=Symbol.for("react.profiler"),te=Symbol.for("react.provider"),ne=Symbol.for("react.context"),J=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),ce=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),ae=Symbol.for("react.lazy"),Ie=Symbol.for("react.offscreen"),Q=Symbol.iterator,Z="@@iterator";function A(e){if(e===null||typeof e!="object")return null;var r=Q&&e[Q]||e[Z];return typeof r=="function"?r:null}var me={current:null},ee={transition:null},$={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},B={current:null},oe={},fe=null;function Ce(e){fe=e}oe.setExtraStackFrame=function(e){fe=e},oe.getCurrentStack=null,oe.getStackAddendum=function(){var e="";fe&&(e+=fe);var r=oe.getCurrentStack;return r&&(e+=r()||""),e};var we=!1,Ye=!1,Se=!1,W=!1,q=!1,M={ReactCurrentDispatcher:me,ReactCurrentBatchConfig:ee,ReactCurrentOwner:B};M.ReactDebugCurrentFrame=oe,M.ReactCurrentActQueue=$;function re(e){{for(var r=arguments.length,a=new Array(r>1?r-1:0),o=1;o<r;o++)a[o-1]=arguments[o];ie("warn",e,a)}}function l(e){{for(var r=arguments.length,a=new Array(r>1?r-1:0),o=1;o<r;o++)a[o-1]=arguments[o];ie("error",e,a)}}function ie(e,r,a){{var o=M.ReactDebugCurrentFrame,s=o.getStackAddendum();s!==""&&(r+="%s",a=a.concat([s]));var v=a.map(function(f){return String(f)});v.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,v)}}var Te={};function le(e,r){{var a=e.constructor,o=a&&(a.displayName||a.name)||"ReactClass",s=o+"."+r;if(Te[s])return;l("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.",r,o),Te[s]=!0}}var n={isMounted:function(e){return!1},enqueueForceUpdate:function(e,r,a){le(e,"forceUpdate")},enqueueReplaceState:function(e,r,a,o){le(e,"replaceState")},enqueueSetState:function(e,r,a,o){le(e,"setState")}},u=Object.assign,b={};Object.freeze(b);function E(e,r,a){this.props=e,this.context=r,this.refs=b,this.updater=a||n}E.prototype.isReactComponent={},E.prototype.setState=function(e,r){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,r,"setState")},E.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};{var w={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)."]},k=function(e,r){Object.defineProperty(E.prototype,e,{get:function(){re("%s(...) is deprecated in plain JavaScript React classes. %s",r[0],r[1])}})};for(var O in w)w.hasOwnProperty(O)&&k(O,w[O])}function T(){}T.prototype=E.prototype;function S(e,r,a){this.props=e,this.context=r,this.refs=b,this.updater=a||n}var N=S.prototype=new T;N.constructor=S,u(N,E.prototype),N.isPureReactComponent=!0;function br(){var e={current:null};return Object.seal(e),e}var Je=Array.isArray;function Fe(e){return Je(e)}function _r(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,a=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function $e(e){try{return he(e),!1}catch{return!0}}function he(e){return""+e}function Oe(e){if($e(e))return l("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",_r(e)),he(e)}function Xe(e,r,a){var o=e.displayName;if(o)return o;var s=r.displayName||r.name||"";return s!==""?a+"("+s+")":a}function Pe(e){return e.displayName||"Context"}function ue(e){if(e==null)return null;if(typeof e.tag=="number"&&l("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 se:return"Fragment";case Re:return"Portal";case ye:return"Profiler";case pe:return"StrictMode";case K:return"Suspense";case ce:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ne:var r=e;return Pe(r)+".Consumer";case te:var a=e;return Pe(a._context)+".Provider";case J:return Xe(e,e.render,"ForwardRef");case X:var o=e.displayName||null;return o!==null?o:ue(e.type)||"Memo";case ae:{var s=e,v=s._payload,f=s._init;try{return ue(f(v))}catch{return null}}}return null}var ke=Object.prototype.hasOwnProperty,Ne={key:!0,ref:!0,__self:!0,__source:!0},Qe,Ze,Le;Le={};function Be(e){if(ke.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function ge(e){if(ke.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Er(e,r){var a=function(){Qe||(Qe=!0,l("%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)",r))};a.isReactWarning=!0,Object.defineProperty(e,"key",{get:a,configurable:!0})}function er(e,r){var a=function(){Ze||(Ze=!0,l("%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)",r))};a.isReactWarning=!0,Object.defineProperty(e,"ref",{get:a,configurable:!0})}function rr(e){if(typeof e.ref=="string"&&B.current&&e.__self&&B.current.stateNode!==e.__self){var r=ue(B.current.type);Le[r]||(l('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',r,e.ref),Le[r]=!0)}}var je=function(e,r,a,o,s,v,f){var p={$$typeof:G,type:e,key:r,ref:a,props:f,_owner:v};return p._store={},Object.defineProperty(p._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(p,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(p,"_source",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.freeze&&(Object.freeze(p.props),Object.freeze(p)),p};function Rr(e,r,a){var o,s={},v=null,f=null,p=null,R=null;if(r!=null){Be(r)&&(f=r.ref,rr(r)),ge(r)&&(Oe(r.key),v=""+r.key),p=r.__self===void 0?null:r.__self,R=r.__source===void 0?null:r.__source;for(o in r)ke.call(r,o)&&!Ne.hasOwnProperty(o)&&(s[o]=r[o])}var P=arguments.length-2;if(P===1)s.children=a;else if(P>1){for(var j=Array(P),D=0;D<P;D++)j[D]=arguments[D+2];Object.freeze&&Object.freeze(j),s.children=j}if(e&&e.defaultProps){var I=e.defaultProps;for(o in I)s[o]===void 0&&(s[o]=I[o])}if(v||f){var L=typeof e=="function"?e.displayName||e.name||"Unknown":e;v&&Er(s,L),f&&er(s,L)}return je(e,v,f,p,R,B.current,s)}function Cr(e,r){var a=je(e.type,r,e.ref,e._self,e._source,e._owner,e.props);return a}function wr(e,r,a){if(e==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o,s=u({},e.props),v=e.key,f=e.ref,p=e._self,R=e._source,P=e._owner;if(r!=null){Be(r)&&(f=r.ref,P=B.current),ge(r)&&(Oe(r.key),v=""+r.key);var j;e.type&&e.type.defaultProps&&(j=e.type.defaultProps);for(o in r)ke.call(r,o)&&!Ne.hasOwnProperty(o)&&(r[o]===void 0&&j!==void 0?s[o]=j[o]:s[o]=r[o])}var D=arguments.length-2;if(D===1)s.children=a;else if(D>1){for(var I=Array(D),L=0;L<D;L++)I[L]=arguments[L+2];s.children=I}return je(e.type,v,f,p,R,P,s)}function be(e){return typeof e=="object"&&e!==null&&e.$$typeof===G}var tr=".",Sr=":";function Tr(e){var r=/[=:]/g,a={"=":"=0",":":"=2"},o=e.replace(r,function(s){return a[s]});return"$"+o}var Me=!1,nr=/\/+/g;function de(e){return e.replace(nr,"$&/")}function De(e,r){return typeof e=="object"&&e!==null&&e.key!=null?(Oe(e.key),Tr(""+e.key)):r.toString(36)}function _e(e,r,a,o,s){var v=typeof e;(v==="undefined"||v==="boolean")&&(e=null);var f=!1;if(e===null)f=!0;else switch(v){case"string":case"number":f=!0;break;case"object":switch(e.$$typeof){case G:case Re:f=!0}}if(f){var p=e,R=s(p),P=o===""?tr+De(p,0):o;if(Fe(R)){var j="";P!=null&&(j=de(P)+"/"),_e(R,r,j,"",function(Vt){return Vt})}else R!=null&&(be(R)&&(R.key&&(!p||p.key!==R.key)&&Oe(R.key),R=Cr(R,a+(R.key&&(!p||p.key!==R.key)?de(""+R.key)+"/":"")+P)),r.push(R));return 1}var D,I,L=0,U=o===""?tr:o+Sr;if(Fe(e))for(var vr=0;vr<e.length;vr++)D=e[vr],I=U+De(D,vr),L+=_e(D,r,a,I,s);else{var Vr=A(e);if(typeof Vr=="function"){var st=e;Vr===st.entries&&(Me||re("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Me=!0);for(var Lt=Vr.call(st),ct,Mt=0;!(ct=Lt.next()).done;)D=ct.value,I=U+De(D,Mt++),L+=_e(D,r,a,I,s)}else if(v==="object"){var ft=String(e);throw new Error("Objects are not valid as a React child (found: "+(ft==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":ft)+"). If you meant to render a collection of children, use an array instead.")}}return L}function Ae(e,r,a){if(e==null)return e;var o=[],s=0;return _e(e,o,"","",function(v){return r.call(a,v,s++)}),o}function Or(e){var r=0;return Ae(e,function(){r++}),r}function ar(e,r,a){Ae(e,function(){r.apply(this,arguments)},a)}function Pr(e){return Ae(e,function(r){return r})||[]}function or(e){if(!be(e))throw new Error("React.Children.only expected to receive a single React element child.");return e}function ir(e){var r={$$typeof:ne,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};r.Provider={$$typeof:te,_context:r};var a=!1,o=!1,s=!1;{var v={$$typeof:ne,_context:r};Object.defineProperties(v,{Provider:{get:function(){return o||(o=!0,l("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),r.Provider},set:function(f){r.Provider=f}},_currentValue:{get:function(){return r._currentValue},set:function(f){r._currentValue=f}},_currentValue2:{get:function(){return r._currentValue2},set:function(f){r._currentValue2=f}},_threadCount:{get:function(){return r._threadCount},set:function(f){r._threadCount=f}},Consumer:{get:function(){return a||(a=!0,l("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),r.Consumer}},displayName:{get:function(){return r.displayName},set:function(f){s||(re("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",f),s=!0)}}}),r.Consumer=v}return r._currentRenderer=null,r._currentRenderer2=null,r}var xe=-1,ze=0,qe=1,kr=2;function jr(e){if(e._status===xe){var r=e._result,a=r();if(a.then(function(v){if(e._status===ze||e._status===xe){var f=e;f._status=qe,f._result=v}},function(v){if(e._status===ze||e._status===xe){var f=e;f._status=kr,f._result=v}}),e._status===xe){var o=e;o._status=ze,o._result=a}}if(e._status===qe){var s=e._result;return s===void 0&&l(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
25
|
+
*/Ym.exports;var AC;function j3(){return AC||(AC=1,function(n,s){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 d="18.3.1",v=Symbol.for("react.element"),b=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),T=Symbol.for("react.provider"),_=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),M=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),re=Symbol.for("react.offscreen"),oe=Symbol.iterator,ge="@@iterator";function X(S){if(S===null||typeof S!="object")return null;var D=oe&&S[oe]||S[ge];return typeof D=="function"?D:null}var K={current:null},ie={transition:null},ne={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},pe={current:null},le={},Je=null;function yt(S){Je=S}le.setExtraStackFrame=function(S){Je=S},le.getCurrentStack=null,le.getStackAddendum=function(){var S="";Je&&(S+=Je);var D=le.getCurrentStack;return D&&(S+=D()||""),S};var Lt=!1,Yt=!1,Tt=!1,Pe=!1,Ut=!1,kt={ReactCurrentDispatcher:K,ReactCurrentBatchConfig:ie,ReactCurrentOwner:pe};kt.ReactDebugCurrentFrame=le,kt.ReactCurrentActQueue=ne;function Mt(S){{for(var D=arguments.length,G=new Array(D>1?D-1:0),J=1;J<D;J++)G[J-1]=arguments[J];ve("warn",S,G)}}function Me(S){{for(var D=arguments.length,G=new Array(D>1?D-1:0),J=1;J<D;J++)G[J-1]=arguments[J];ve("error",S,G)}}function ve(S,D,G){{var J=kt.ReactDebugCurrentFrame,ye=J.getStackAddendum();ye!==""&&(D+="%s",G=G.concat([ye]));var qe=G.map(function($e){return String($e)});qe.unshift("Warning: "+D),Function.prototype.apply.call(console[S],console,qe)}}var Oe={};function Se(S,D){{var G=S.constructor,J=G&&(G.displayName||G.name)||"ReactClass",ye=J+"."+D;if(Oe[ye])return;Me("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.",D,J),Oe[ye]=!0}}var F={isMounted:function(S){return!1},enqueueForceUpdate:function(S,D,G){Se(S,"forceUpdate")},enqueueReplaceState:function(S,D,G,J){Se(S,"replaceState")},enqueueSetState:function(S,D,G,J){Se(S,"setState")}},Z=Object.assign,Ze={};Object.freeze(Ze);function Ge(S,D,G){this.props=S,this.context=D,this.refs=Ze,this.updater=G||F}Ge.prototype.isReactComponent={},Ge.prototype.setState=function(S,D){if(typeof S!="object"&&typeof S!="function"&&S!=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,S,D,"setState")},Ge.prototype.forceUpdate=function(S){this.updater.enqueueForceUpdate(this,S,"forceUpdate")};{var mt={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)."]},ct=function(S,D){Object.defineProperty(Ge.prototype,S,{get:function(){Mt("%s(...) is deprecated in plain JavaScript React classes. %s",D[0],D[1])}})};for(var ft in mt)mt.hasOwnProperty(ft)&&ct(ft,mt[ft])}function at(){}at.prototype=Ge.prototype;function ot(S,D,G){this.props=S,this.context=D,this.refs=Ze,this.updater=G||F}var jt=ot.prototype=new at;jt.constructor=ot,Z(jt,Ge.prototype),jt.isPureReactComponent=!0;function fn(){var S={current:null};return Object.seal(S),S}var vn=Array.isArray;function _n(S){return vn(S)}function dr(S){{var D=typeof Symbol=="function"&&Symbol.toStringTag,G=D&&S[Symbol.toStringTag]||S.constructor.name||"Object";return G}}function qn(S){try{return Kn(S),!1}catch{return!0}}function Kn(S){return""+S}function ti(S){if(qn(S))return Me("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",dr(S)),Kn(S)}function $a(S,D,G){var J=S.displayName;if(J)return J;var ye=D.displayName||D.name||"";return ye!==""?G+"("+ye+")":G}function Si(S){return S.displayName||"Context"}function ar(S){if(S==null)return null;if(typeof S.tag=="number"&&Me("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof S=="function")return S.displayName||S.name||null;if(typeof S=="string")return S;switch(S){case E:return"Fragment";case b:return"Portal";case R:return"Profiler";case y:return"StrictMode";case N:return"Suspense";case M:return"SuspenseList"}if(typeof S=="object")switch(S.$$typeof){case _:var D=S;return Si(D)+".Consumer";case T:var G=S;return Si(G._context)+".Provider";case A:return $a(S,S.render,"ForwardRef");case V:var J=S.displayName||null;return J!==null?J:ar(S.type)||"Memo";case P:{var ye=S,qe=ye._payload,$e=ye._init;try{return ar($e(qe))}catch{return null}}}return null}var Nn=Object.prototype.hasOwnProperty,Xn={key:!0,ref:!0,__self:!0,__source:!0},kr,ia,jn;jn={};function _r(S){if(Nn.call(S,"ref")){var D=Object.getOwnPropertyDescriptor(S,"ref").get;if(D&&D.isReactWarning)return!1}return S.ref!==void 0}function Nr(S){if(Nn.call(S,"key")){var D=Object.getOwnPropertyDescriptor(S,"key").get;if(D&&D.isReactWarning)return!1}return S.key!==void 0}function aa(S,D){var G=function(){kr||(kr=!0,Me("%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)",D))};G.isReactWarning=!0,Object.defineProperty(S,"key",{get:G,configurable:!0})}function Ra(S,D){var G=function(){ia||(ia=!0,Me("%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)",D))};G.isReactWarning=!0,Object.defineProperty(S,"ref",{get:G,configurable:!0})}function we(S){if(typeof S.ref=="string"&&pe.current&&S.__self&&pe.current.stateNode!==S.__self){var D=ar(pe.current.type);jn[D]||(Me('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',D,S.ref),jn[D]=!0)}}var Ve=function(S,D,G,J,ye,qe,$e){var tt={$$typeof:v,type:S,key:D,ref:G,props:$e,_owner:qe};return tt._store={},Object.defineProperty(tt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(tt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:J}),Object.defineProperty(tt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ye}),Object.freeze&&(Object.freeze(tt.props),Object.freeze(tt)),tt};function gt(S,D,G){var J,ye={},qe=null,$e=null,tt=null,wt=null;if(D!=null){_r(D)&&($e=D.ref,we(D)),Nr(D)&&(ti(D.key),qe=""+D.key),tt=D.__self===void 0?null:D.__self,wt=D.__source===void 0?null:D.__source;for(J in D)Nn.call(D,J)&&!Xn.hasOwnProperty(J)&&(ye[J]=D[J])}var At=arguments.length-2;if(At===1)ye.children=G;else if(At>1){for(var sn=Array(At),Zt=0;Zt<At;Zt++)sn[Zt]=arguments[Zt+2];Object.freeze&&Object.freeze(sn),ye.children=sn}if(S&&S.defaultProps){var bt=S.defaultProps;for(J in bt)ye[J]===void 0&&(ye[J]=bt[J])}if(qe||$e){var en=typeof S=="function"?S.displayName||S.name||"Unknown":S;qe&&aa(ye,en),$e&&Ra(ye,en)}return Ve(S,qe,$e,tt,wt,pe.current,ye)}function Gt(S,D){var G=Ve(S.type,D,S.ref,S._self,S._source,S._owner,S.props);return G}function ln(S,D,G){if(S==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+S+".");var J,ye=Z({},S.props),qe=S.key,$e=S.ref,tt=S._self,wt=S._source,At=S._owner;if(D!=null){_r(D)&&($e=D.ref,At=pe.current),Nr(D)&&(ti(D.key),qe=""+D.key);var sn;S.type&&S.type.defaultProps&&(sn=S.type.defaultProps);for(J in D)Nn.call(D,J)&&!Xn.hasOwnProperty(J)&&(D[J]===void 0&&sn!==void 0?ye[J]=sn[J]:ye[J]=D[J])}var Zt=arguments.length-2;if(Zt===1)ye.children=G;else if(Zt>1){for(var bt=Array(Zt),en=0;en<Zt;en++)bt[en]=arguments[en+2];ye.children=bt}return Ve(S.type,qe,$e,tt,wt,At,ye)}function wn(S){return typeof S=="object"&&S!==null&&S.$$typeof===v}var dn=".",or=":";function yn(S){var D=/[=:]/g,G={"=":"=0",":":"=2"},J=S.replace(D,function(ye){return G[ye]});return"$"+J}var Xt=!1,gn=/\/+/g;function Dr(S){return S.replace(gn,"$&/")}function Or(S,D){return typeof S=="object"&&S!==null&&S.key!=null?(ti(S.key),yn(""+S.key)):D.toString(36)}function wi(S,D,G,J,ye){var qe=typeof S;(qe==="undefined"||qe==="boolean")&&(S=null);var $e=!1;if(S===null)$e=!0;else switch(qe){case"string":case"number":$e=!0;break;case"object":switch(S.$$typeof){case v:case b:$e=!0}}if($e){var tt=S,wt=ye(tt),At=J===""?dn+Or(tt,0):J;if(_n(wt)){var sn="";At!=null&&(sn=Dr(At)+"/"),wi(wt,D,sn,"",function(Bd){return Bd})}else wt!=null&&(wn(wt)&&(wt.key&&(!tt||tt.key!==wt.key)&&ti(wt.key),wt=Gt(wt,G+(wt.key&&(!tt||tt.key!==wt.key)?Dr(""+wt.key)+"/":"")+At)),D.push(wt));return 1}var Zt,bt,en=0,En=J===""?dn:J+or;if(_n(S))for(var Vo=0;Vo<S.length;Vo++)Zt=S[Vo],bt=En+Or(Zt,Vo),en+=wi(Zt,D,G,bt,ye);else{var Ss=X(S);if(typeof Ss=="function"){var ro=S;Ss===ro.entries&&(Xt||Mt("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Xt=!0);for(var ws=Ss.call(ro),$l,Id=0;!($l=ws.next()).done;)Zt=$l.value,bt=En+Or(Zt,Id++),en+=wi(Zt,D,G,bt,ye)}else if(qe==="object"){var Bc=String(S);throw new Error("Objects are not valid as a React child (found: "+(Bc==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":Bc)+"). If you meant to render a collection of children, use an array instead.")}}return en}function Ta(S,D,G){if(S==null)return S;var J=[],ye=0;return wi(S,J,"","",function(qe){return D.call(G,qe,ye++)}),J}function hu(S){var D=0;return Ta(S,function(){D++}),D}function No(S,D,G){Ta(S,function(){D.apply(this,arguments)},G)}function gl(S){return Ta(S,function(D){return D})||[]}function Do(S){if(!wn(S))throw new Error("React.Children.only expected to receive a single React element child.");return S}function Oo(S){var D={$$typeof:_,_currentValue:S,_currentValue2:S,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};D.Provider={$$typeof:T,_context:D};var G=!1,J=!1,ye=!1;{var qe={$$typeof:_,_context:D};Object.defineProperties(qe,{Provider:{get:function(){return J||(J=!0,Me("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),D.Provider},set:function($e){D.Provider=$e}},_currentValue:{get:function(){return D._currentValue},set:function($e){D._currentValue=$e}},_currentValue2:{get:function(){return D._currentValue2},set:function($e){D._currentValue2=$e}},_threadCount:{get:function(){return D._threadCount},set:function($e){D._threadCount=$e}},Consumer:{get:function(){return G||(G=!0,Me("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),D.Consumer}},displayName:{get:function(){return D.displayName},set:function($e){ye||(Mt("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",$e),ye=!0)}}}),D.Consumer=qe}return D._currentRenderer=null,D._currentRenderer2=null,D}var Ur=-1,ni=0,pr=1,ka=2;function oa(S){if(S._status===Ur){var D=S._result,G=D();if(G.then(function(qe){if(S._status===ni||S._status===Ur){var $e=S;$e._status=pr,$e._result=qe}},function(qe){if(S._status===ni||S._status===Ur){var $e=S;$e._status=ka,$e._result=qe}}),S._status===Ur){var J=S;J._status=ni,J._result=G}}if(S._status===pr){var ye=S._result;return ye===void 0&&Me(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
26
26
|
|
|
27
27
|
Your code should look like:
|
|
28
28
|
const MyComponent = lazy(() => import('./MyComponent'))
|
|
29
29
|
|
|
30
|
-
Did you accidentally put curly braces around the import?`,
|
|
30
|
+
Did you accidentally put curly braces around the import?`,ye),"default"in ye||Me(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
31
31
|
|
|
32
32
|
Your code should look like:
|
|
33
|
-
const MyComponent = lazy(() => import('./MyComponent'))`,
|
|
33
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,ye),ye.default}else throw S._result}function O(S){var D={_status:Ur,_result:S},G={$$typeof:P,_payload:D,_init:oa};{var J,ye;Object.defineProperties(G,{defaultProps:{configurable:!0,get:function(){return J},set:function(qe){Me("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."),J=qe,Object.defineProperty(G,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return ye},set:function(qe){Me("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."),ye=qe,Object.defineProperty(G,"propTypes",{enumerable:!0})}}})}return G}function se(S){S!=null&&S.$$typeof===V?Me("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof S!="function"?Me("forwardRef requires a render function but was given %s.",S===null?"null":typeof S):S.length!==0&&S.length!==2&&Me("forwardRef render functions accept exactly two parameters: props and ref. %s",S.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),S!=null&&(S.defaultProps!=null||S.propTypes!=null)&&Me("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var D={$$typeof:A,render:S};{var G;Object.defineProperty(D,"displayName",{enumerable:!1,configurable:!0,get:function(){return G},set:function(J){G=J,!S.name&&!S.displayName&&(S.displayName=J)}})}return D}var Ee;Ee=Symbol.for("react.module.reference");function Be(S){return!!(typeof S=="string"||typeof S=="function"||S===E||S===R||Ut||S===y||S===N||S===M||Pe||S===re||Lt||Yt||Tt||typeof S=="object"&&S!==null&&(S.$$typeof===P||S.$$typeof===V||S.$$typeof===T||S.$$typeof===_||S.$$typeof===A||S.$$typeof===Ee||S.getModuleId!==void 0))}function Et(S,D){Be(S)||Me("memo: The first argument must be a component. Instead received: %s",S===null?"null":typeof S);var G={$$typeof:V,type:S,compare:D===void 0?null:D};{var J;Object.defineProperty(G,"displayName",{enumerable:!1,configurable:!0,get:function(){return J},set:function(ye){J=ye,!S.name&&!S.displayName&&(S.displayName=ye)}})}return G}function lt(){var S=K.current;return S===null&&Me(`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:
|
|
34
34
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
35
35
|
2. You might be breaking the Rules of Hooks
|
|
36
36
|
3. You might have more than one copy of React in the same app
|
|
37
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),
|
|
38
|
-
`+
|
|
39
|
-
`),
|
|
40
|
-
`),
|
|
41
|
-
`+
|
|
37
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),S}function ut(S){var D=lt();if(S._context!==void 0){var G=S._context;G.Consumer===S?Me("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):G.Provider===S&&Me("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return D.useContext(S)}function Qe(S){var D=lt();return D.useState(S)}function Fn(S,D,G){var J=lt();return J.useReducer(S,D,G)}function pn(S){var D=lt();return D.useRef(S)}function un(S,D){var G=lt();return G.useEffect(S,D)}function mr(S,D){var G=lt();return G.useInsertionEffect(S,D)}function la(S,D){var G=lt();return G.useLayoutEffect(S,D)}function Ai(S,D){var G=lt();return G.useCallback(S,D)}function Jn(S,D){var G=lt();return G.useMemo(S,D)}function bl(S,D,G){var J=lt();return J.useImperativeHandle(S,D,G)}function Qt(S,D){{var G=lt();return G.useDebugValue(S,D)}}function xt(){var S=lt();return S.useTransition()}function eo(S){var D=lt();return D.useDeferredValue(S)}function vs(){var S=lt();return S.useId()}function xl(S,D,G){var J=lt();return J.useSyncExternalStore(S,D,G)}var Lo=0,vu,Mo,ri,ys,jr,Hc,Ic;function yu(){}yu.__reactDisabledLog=!0;function zo(){{if(Lo===0){vu=console.log,Mo=console.info,ri=console.warn,ys=console.error,jr=console.group,Hc=console.groupCollapsed,Ic=console.groupEnd;var S={configurable:!0,enumerable:!0,value:yu,writable:!0};Object.defineProperties(console,{info:S,log:S,warn:S,error:S,group:S,groupCollapsed:S,groupEnd:S})}Lo++}}function Ei(){{if(Lo--,Lo===0){var S={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Z({},S,{value:vu}),info:Z({},S,{value:Mo}),warn:Z({},S,{value:ri}),error:Z({},S,{value:ys}),group:Z({},S,{value:jr}),groupCollapsed:Z({},S,{value:Hc}),groupEnd:Z({},S,{value:Ic})})}Lo<0&&Me("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ua=kt.ReactCurrentDispatcher,sa;function gu(S,D,G){{if(sa===void 0)try{throw Error()}catch(ye){var J=ye.stack.trim().match(/\n( *(at )?)/);sa=J&&J[1]||""}return`
|
|
38
|
+
`+sa+S}}var Sl=!1,Ao;{var bu=typeof WeakMap=="function"?WeakMap:Map;Ao=new bu}function xu(S,D){if(!S||Sl)return"";{var G=Ao.get(S);if(G!==void 0)return G}var J;Sl=!0;var ye=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var qe;qe=ua.current,ua.current=null,zo();try{if(D){var $e=function(){throw Error()};if(Object.defineProperty($e.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct($e,[])}catch(En){J=En}Reflect.construct(S,[],$e)}else{try{$e.call()}catch(En){J=En}S.call($e.prototype)}}else{try{throw Error()}catch(En){J=En}S()}}catch(En){if(En&&J&&typeof En.stack=="string"){for(var tt=En.stack.split(`
|
|
39
|
+
`),wt=J.stack.split(`
|
|
40
|
+
`),At=tt.length-1,sn=wt.length-1;At>=1&&sn>=0&&tt[At]!==wt[sn];)sn--;for(;At>=1&&sn>=0;At--,sn--)if(tt[At]!==wt[sn]){if(At!==1||sn!==1)do if(At--,sn--,sn<0||tt[At]!==wt[sn]){var Zt=`
|
|
41
|
+
`+tt[At].replace(" at new "," at ");return S.displayName&&Zt.includes("<anonymous>")&&(Zt=Zt.replace("<anonymous>",S.displayName)),typeof S=="function"&&Ao.set(S,Zt),Zt}while(At>=1&&sn>=0);break}}}finally{Sl=!1,ua.current=qe,Ei(),Error.prepareStackTrace=ye}var bt=S?S.displayName||S.name:"",en=bt?gu(bt):"";return typeof S=="function"&&Ao.set(S,en),en}function to(S,D,G){return xu(S,!1)}function Pd(S){var D=S.prototype;return!!(D&&D.isReactComponent)}function no(S,D,G){if(S==null)return"";if(typeof S=="function")return xu(S,Pd(S));if(typeof S=="string")return gu(S);switch(S){case N:return gu("Suspense");case M:return gu("SuspenseList")}if(typeof S=="object")switch(S.$$typeof){case A:return to(S.render);case V:return no(S.type,D,G);case P:{var J=S,ye=J._payload,qe=J._init;try{return no(qe(ye),D,G)}catch{}}}return""}var Vt={},Su=kt.ReactDebugCurrentFrame;function zt(S){if(S){var D=S._owner,G=no(S.type,S._source,D?D.type:null);Su.setExtraStackFrame(G)}else Su.setExtraStackFrame(null)}function gs(S,D,G,J,ye){{var qe=Function.call.bind(Nn);for(var $e in S)if(qe(S,$e)){var tt=void 0;try{if(typeof S[$e]!="function"){var wt=Error((J||"React class")+": "+G+" type `"+$e+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof S[$e]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw wt.name="Invariant Violation",wt}tt=S[$e](D,$e,J,G,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(At){tt=At}tt&&!(tt instanceof Error)&&(zt(ye),Me("%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).",J||"React class",G,$e,typeof tt),zt(null)),tt instanceof Error&&!(tt.message in Vt)&&(Vt[tt.message]=!0,zt(ye),Me("Failed %s type: %s",G,tt.message),zt(null))}}}function _a(S){if(S){var D=S._owner,G=no(S.type,S._source,D?D.type:null);yt(G)}else yt(null)}var dt;dt=!1;function wu(){if(pe.current){var S=ar(pe.current.type);if(S)return`
|
|
42
42
|
|
|
43
|
-
Check the render method of \``+
|
|
43
|
+
Check the render method of \``+S+"`."}return""}function hr(S){if(S!==void 0){var D=S.fileName.replace(/^.*[\\\/]/,""),G=S.lineNumber;return`
|
|
44
44
|
|
|
45
|
-
Check your code at `+
|
|
45
|
+
Check your code at `+D+":"+G+"."}return""}function Na(S){return S!=null?hr(S.__source):""}var Fr={};function Da(S){var D=wu();if(!D){var G=typeof S=="string"?S:S.displayName||S.name;G&&(D=`
|
|
46
46
|
|
|
47
|
-
Check the top-level render call using <`+
|
|
47
|
+
Check the top-level render call using <`+G+">.")}return D}function mn(S,D){if(!(!S._store||S._store.validated||S.key!=null)){S._store.validated=!0;var G=Da(D);if(!Fr[G]){Fr[G]=!0;var J="";S&&S._owner&&S._owner!==pe.current&&(J=" It was passed a child from "+ar(S._owner.type)+"."),_a(S),Me('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',G,J),_a(null)}}}function Jt(S,D){if(typeof S=="object"){if(_n(S))for(var G=0;G<S.length;G++){var J=S[G];wn(J)&&mn(J,D)}else if(wn(S))S._store&&(S._store.validated=!0);else if(S){var ye=X(S);if(typeof ye=="function"&&ye!==S.entries)for(var qe=ye.call(S),$e;!($e=qe.next()).done;)wn($e.value)&&mn($e.value,D)}}}function Uo(S){{var D=S.type;if(D==null||typeof D=="string")return;var G;if(typeof D=="function")G=D.propTypes;else if(typeof D=="object"&&(D.$$typeof===A||D.$$typeof===V))G=D.propTypes;else return;if(G){var J=ar(D);gs(G,S.props,"prop",J,S)}else if(D.PropTypes!==void 0&&!dt){dt=!0;var ye=ar(D);Me("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ye||"Unknown")}typeof D.getDefaultProps=="function"&&!D.getDefaultProps.isReactClassApproved&&Me("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Zn(S){{for(var D=Object.keys(S.props),G=0;G<D.length;G++){var J=D[G];if(J!=="children"&&J!=="key"){_a(S),Me("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",J),_a(null);break}}S.ref!==null&&(_a(S),Me("Invalid attribute `ref` supplied to `React.Fragment`."),_a(null))}}function Vr(S,D,G){var J=Be(S);if(!J){var ye="";(S===void 0||typeof S=="object"&&S!==null&&Object.keys(S).length===0)&&(ye+=" 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 qe=Na(D);qe?ye+=qe:ye+=wu();var $e;S===null?$e="null":_n(S)?$e="array":S!==void 0&&S.$$typeof===v?($e="<"+(ar(S.type)||"Unknown")+" />",ye=" Did you accidentally export a JSX literal instead of a component?"):$e=typeof S,Me("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",$e,ye)}var tt=gt.apply(this,arguments);if(tt==null)return tt;if(J)for(var wt=2;wt<arguments.length;wt++)Jt(arguments[wt],S);return S===E?Zn(tt):Uo(tt),tt}var Ui=!1;function wl(S){var D=Vr.bind(null,S);return D.type=S,Ui||(Ui=!0,Mt("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(D,"type",{enumerable:!1,get:function(){return Mt("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:S}),S}}),D}function bs(S,D,G){for(var J=ln.apply(this,arguments),ye=2;ye<arguments.length;ye++)Jt(arguments[ye],J.type);return Uo(J),J}function xs(S,D){var G=ie.transition;ie.transition={};var J=ie.transition;ie.transition._updatedFibers=new Set;try{S()}finally{if(ie.transition=G,G===null&&J._updatedFibers){var ye=J._updatedFibers.size;ye>10&&Mt("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."),J._updatedFibers.clear()}}}var jo=!1,El=null;function Hd(S){if(El===null)try{var D=("require"+Math.random()).slice(0,7),G=n&&n[D];El=G.call(n,"timers").setImmediate}catch{El=function(ye){jo===!1&&(jo=!0,typeof MessageChannel>"u"&&Me("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 qe=new MessageChannel;qe.port1.onmessage=ye,qe.port2.postMessage(void 0)}}return El(S)}var ji=0,ca=!1;function Oa(S){{var D=ji;ji++,ne.current===null&&(ne.current=[]);var G=ne.isBatchingLegacy,J;try{if(ne.isBatchingLegacy=!0,J=S(),!G&&ne.didScheduleLegacyUpdate){var ye=ne.current;ye!==null&&(ne.didScheduleLegacyUpdate=!1,Fo(ye))}}catch(bt){throw Fi(D),bt}finally{ne.isBatchingLegacy=G}if(J!==null&&typeof J=="object"&&typeof J.then=="function"){var qe=J,$e=!1,tt={then:function(bt,en){$e=!0,qe.then(function(En){Fi(D),ji===0?Eu(En,bt,en):bt(En)},function(En){Fi(D),en(En)})}};return!ca&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){$e||(ca=!0,Me("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 () => ...);"))}),tt}else{var wt=J;if(Fi(D),ji===0){var At=ne.current;At!==null&&(Fo(At),ne.current=null);var sn={then:function(bt,en){ne.current===null?(ne.current=[],Eu(wt,bt,en)):bt(wt)}};return sn}else{var Zt={then:function(bt,en){bt(wt)}};return Zt}}}}function Fi(S){S!==ji-1&&Me("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),ji=S}function Eu(S,D,G){{var J=ne.current;if(J!==null)try{Fo(J),Hd(function(){J.length===0?(ne.current=null,D(S)):Eu(S,D,G)})}catch(ye){G(ye)}else D(S)}}var Cu=!1;function Fo(S){if(!Cu){Cu=!0;var D=0;try{for(;D<S.length;D++){var G=S[D];do G=G(!0);while(G!==null)}S.length=0}catch(J){throw S=S.slice(D+1),J}finally{Cu=!1}}}var Cl=Vr,$u=bs,Ru=wl,fa={map:Ta,forEach:No,count:hu,toArray:gl,only:Do};s.Children=fa,s.Component=Ge,s.Fragment=E,s.Profiler=R,s.PureComponent=ot,s.StrictMode=y,s.Suspense=N,s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=kt,s.act=Oa,s.cloneElement=$u,s.createContext=Oo,s.createElement=Cl,s.createFactory=Ru,s.createRef=fn,s.forwardRef=se,s.isValidElement=wn,s.lazy=O,s.memo=Et,s.startTransition=xs,s.unstable_act=Oa,s.useCallback=Ai,s.useContext=ut,s.useDebugValue=Qt,s.useDeferredValue=eo,s.useEffect=un,s.useId=vs,s.useImperativeHandle=bl,s.useInsertionEffect=mr,s.useLayoutEffect=la,s.useMemo=Jn,s.useReducer=Fn,s.useRef=pn,s.useState=Qe,s.useSyncExternalStore=xl,s.useTransition=xt,s.version=d,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(Ym,Ym.exports)),Ym.exports}var UC;function jd(){return UC||(UC=1,process.env.NODE_ENV==="production"?Xy.exports=U3():Xy.exports=j3()),Xy.exports}/**
|
|
48
48
|
* @license React
|
|
49
49
|
* react-jsx-dev-runtime.development.js
|
|
50
50
|
*
|
|
@@ -52,19 +52,2703 @@ Check the top-level render call using <`+a+">.")}return r}function et(e,r){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
|
|
56
|
-
`+O
|
|
57
|
-
`),
|
|
58
|
-
`),
|
|
59
|
-
`+
|
|
55
|
+
*/var jC;function F3(){return jC||(jC=1,process.env.NODE_ENV!=="production"&&function(){var n=jd(),s=Symbol.for("react.element"),d=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),y=Symbol.for("react.provider"),R=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),A=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),M=Symbol.for("react.lazy"),V=Symbol.for("react.offscreen"),P=Symbol.iterator,re="@@iterator";function oe(O){if(O===null||typeof O!="object")return null;var se=P&&O[P]||O[re];return typeof se=="function"?se:null}var ge=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function X(O){{for(var se=arguments.length,Ee=new Array(se>1?se-1:0),Be=1;Be<se;Be++)Ee[Be-1]=arguments[Be];K("error",O,Ee)}}function K(O,se,Ee){{var Be=ge.ReactDebugCurrentFrame,Et=Be.getStackAddendum();Et!==""&&(se+="%s",Ee=Ee.concat([Et]));var lt=Ee.map(function(ut){return String(ut)});lt.unshift("Warning: "+se),Function.prototype.apply.call(console[O],console,lt)}}var ie=!1,ne=!1,pe=!1,le=!1,Je=!1,yt;yt=Symbol.for("react.module.reference");function Lt(O){return!!(typeof O=="string"||typeof O=="function"||O===v||O===E||Je||O===b||O===_||O===A||le||O===V||ie||ne||pe||typeof O=="object"&&O!==null&&(O.$$typeof===M||O.$$typeof===N||O.$$typeof===y||O.$$typeof===R||O.$$typeof===T||O.$$typeof===yt||O.getModuleId!==void 0))}function Yt(O,se,Ee){var Be=O.displayName;if(Be)return Be;var Et=se.displayName||se.name||"";return Et!==""?Ee+"("+Et+")":Ee}function Tt(O){return O.displayName||"Context"}function Pe(O){if(O==null)return null;if(typeof O.tag=="number"&&X("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof O=="function")return O.displayName||O.name||null;if(typeof O=="string")return O;switch(O){case v:return"Fragment";case d:return"Portal";case E:return"Profiler";case b:return"StrictMode";case _:return"Suspense";case A:return"SuspenseList"}if(typeof O=="object")switch(O.$$typeof){case R:var se=O;return Tt(se)+".Consumer";case y:var Ee=O;return Tt(Ee._context)+".Provider";case T:return Yt(O,O.render,"ForwardRef");case N:var Be=O.displayName||null;return Be!==null?Be:Pe(O.type)||"Memo";case M:{var Et=O,lt=Et._payload,ut=Et._init;try{return Pe(ut(lt))}catch{return null}}}return null}var Ut=Object.assign,kt=0,Mt,Me,ve,Oe,Se,F,Z;function Ze(){}Ze.__reactDisabledLog=!0;function Ge(){{if(kt===0){Mt=console.log,Me=console.info,ve=console.warn,Oe=console.error,Se=console.group,F=console.groupCollapsed,Z=console.groupEnd;var O={configurable:!0,enumerable:!0,value:Ze,writable:!0};Object.defineProperties(console,{info:O,log:O,warn:O,error:O,group:O,groupCollapsed:O,groupEnd:O})}kt++}}function mt(){{if(kt--,kt===0){var O={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ut({},O,{value:Mt}),info:Ut({},O,{value:Me}),warn:Ut({},O,{value:ve}),error:Ut({},O,{value:Oe}),group:Ut({},O,{value:Se}),groupCollapsed:Ut({},O,{value:F}),groupEnd:Ut({},O,{value:Z})})}kt<0&&X("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ct=ge.ReactCurrentDispatcher,ft;function at(O,se,Ee){{if(ft===void 0)try{throw Error()}catch(Et){var Be=Et.stack.trim().match(/\n( *(at )?)/);ft=Be&&Be[1]||""}return`
|
|
56
|
+
`+ft+O}}var ot=!1,jt;{var fn=typeof WeakMap=="function"?WeakMap:Map;jt=new fn}function vn(O,se){if(!O||ot)return"";{var Ee=jt.get(O);if(Ee!==void 0)return Ee}var Be;ot=!0;var Et=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var lt;lt=ct.current,ct.current=null,Ge();try{if(se){var ut=function(){throw Error()};if(Object.defineProperty(ut.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ut,[])}catch(Jn){Be=Jn}Reflect.construct(O,[],ut)}else{try{ut.call()}catch(Jn){Be=Jn}O.call(ut.prototype)}}else{try{throw Error()}catch(Jn){Be=Jn}O()}}catch(Jn){if(Jn&&Be&&typeof Jn.stack=="string"){for(var Qe=Jn.stack.split(`
|
|
57
|
+
`),Fn=Be.stack.split(`
|
|
58
|
+
`),pn=Qe.length-1,un=Fn.length-1;pn>=1&&un>=0&&Qe[pn]!==Fn[un];)un--;for(;pn>=1&&un>=0;pn--,un--)if(Qe[pn]!==Fn[un]){if(pn!==1||un!==1)do if(pn--,un--,un<0||Qe[pn]!==Fn[un]){var mr=`
|
|
59
|
+
`+Qe[pn].replace(" at new "," at ");return O.displayName&&mr.includes("<anonymous>")&&(mr=mr.replace("<anonymous>",O.displayName)),typeof O=="function"&&jt.set(O,mr),mr}while(pn>=1&&un>=0);break}}}finally{ot=!1,ct.current=lt,mt(),Error.prepareStackTrace=Et}var la=O?O.displayName||O.name:"",Ai=la?at(la):"";return typeof O=="function"&&jt.set(O,Ai),Ai}function _n(O,se,Ee){return vn(O,!1)}function dr(O){var se=O.prototype;return!!(se&&se.isReactComponent)}function qn(O,se,Ee){if(O==null)return"";if(typeof O=="function")return vn(O,dr(O));if(typeof O=="string")return at(O);switch(O){case _:return at("Suspense");case A:return at("SuspenseList")}if(typeof O=="object")switch(O.$$typeof){case T:return _n(O.render);case N:return qn(O.type,se,Ee);case M:{var Be=O,Et=Be._payload,lt=Be._init;try{return qn(lt(Et),se,Ee)}catch{}}}return""}var Kn=Object.prototype.hasOwnProperty,ti={},$a=ge.ReactDebugCurrentFrame;function Si(O){if(O){var se=O._owner,Ee=qn(O.type,O._source,se?se.type:null);$a.setExtraStackFrame(Ee)}else $a.setExtraStackFrame(null)}function ar(O,se,Ee,Be,Et){{var lt=Function.call.bind(Kn);for(var ut in O)if(lt(O,ut)){var Qe=void 0;try{if(typeof O[ut]!="function"){var Fn=Error((Be||"React class")+": "+Ee+" type `"+ut+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof O[ut]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Fn.name="Invariant Violation",Fn}Qe=O[ut](se,ut,Be,Ee,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(pn){Qe=pn}Qe&&!(Qe instanceof Error)&&(Si(Et),X("%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).",Be||"React class",Ee,ut,typeof Qe),Si(null)),Qe instanceof Error&&!(Qe.message in ti)&&(ti[Qe.message]=!0,Si(Et),X("Failed %s type: %s",Ee,Qe.message),Si(null))}}}var Nn=Array.isArray;function Xn(O){return Nn(O)}function kr(O){{var se=typeof Symbol=="function"&&Symbol.toStringTag,Ee=se&&O[Symbol.toStringTag]||O.constructor.name||"Object";return Ee}}function ia(O){try{return jn(O),!1}catch{return!0}}function jn(O){return""+O}function _r(O){if(ia(O))return X("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",kr(O)),jn(O)}var Nr=ge.ReactCurrentOwner,aa={key:!0,ref:!0,__self:!0,__source:!0},Ra,we,Ve;Ve={};function gt(O){if(Kn.call(O,"ref")){var se=Object.getOwnPropertyDescriptor(O,"ref").get;if(se&&se.isReactWarning)return!1}return O.ref!==void 0}function Gt(O){if(Kn.call(O,"key")){var se=Object.getOwnPropertyDescriptor(O,"key").get;if(se&&se.isReactWarning)return!1}return O.key!==void 0}function ln(O,se){if(typeof O.ref=="string"&&Nr.current&&se&&Nr.current.stateNode!==se){var Ee=Pe(Nr.current.type);Ve[Ee]||(X('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',Pe(Nr.current.type),O.ref),Ve[Ee]=!0)}}function wn(O,se){{var Ee=function(){Ra||(Ra=!0,X("%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)",se))};Ee.isReactWarning=!0,Object.defineProperty(O,"key",{get:Ee,configurable:!0})}}function dn(O,se){{var Ee=function(){we||(we=!0,X("%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)",se))};Ee.isReactWarning=!0,Object.defineProperty(O,"ref",{get:Ee,configurable:!0})}}var or=function(O,se,Ee,Be,Et,lt,ut){var Qe={$$typeof:s,type:O,key:se,ref:Ee,props:ut,_owner:lt};return Qe._store={},Object.defineProperty(Qe._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Qe,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Be}),Object.defineProperty(Qe,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Et}),Object.freeze&&(Object.freeze(Qe.props),Object.freeze(Qe)),Qe};function yn(O,se,Ee,Be,Et){{var lt,ut={},Qe=null,Fn=null;Ee!==void 0&&(_r(Ee),Qe=""+Ee),Gt(se)&&(_r(se.key),Qe=""+se.key),gt(se)&&(Fn=se.ref,ln(se,Et));for(lt in se)Kn.call(se,lt)&&!aa.hasOwnProperty(lt)&&(ut[lt]=se[lt]);if(O&&O.defaultProps){var pn=O.defaultProps;for(lt in pn)ut[lt]===void 0&&(ut[lt]=pn[lt])}if(Qe||Fn){var un=typeof O=="function"?O.displayName||O.name||"Unknown":O;Qe&&wn(ut,un),Fn&&dn(ut,un)}return or(O,Qe,Fn,Et,Be,Nr.current,ut)}}var Xt=ge.ReactCurrentOwner,gn=ge.ReactDebugCurrentFrame;function Dr(O){if(O){var se=O._owner,Ee=qn(O.type,O._source,se?se.type:null);gn.setExtraStackFrame(Ee)}else gn.setExtraStackFrame(null)}var Or;Or=!1;function wi(O){return typeof O=="object"&&O!==null&&O.$$typeof===s}function Ta(){{if(Xt.current){var O=Pe(Xt.current.type);if(O)return`
|
|
60
60
|
|
|
61
|
-
Check the render method of \``+
|
|
61
|
+
Check the render method of \``+O+"`."}return""}}function hu(O){{if(O!==void 0){var se=O.fileName.replace(/^.*[\\\/]/,""),Ee=O.lineNumber;return`
|
|
62
62
|
|
|
63
|
-
Check your code at `+
|
|
63
|
+
Check your code at `+se+":"+Ee+"."}return""}}var No={};function gl(O){{var se=Ta();if(!se){var Ee=typeof O=="string"?O:O.displayName||O.name;Ee&&(se=`
|
|
64
64
|
|
|
65
|
-
Check the top-level render call using <`+
|
|
65
|
+
Check the top-level render call using <`+Ee+">.")}return se}}function Do(O,se){{if(!O._store||O._store.validated||O.key!=null)return;O._store.validated=!0;var Ee=gl(se);if(No[Ee])return;No[Ee]=!0;var Be="";O&&O._owner&&O._owner!==Xt.current&&(Be=" It was passed a child from "+Pe(O._owner.type)+"."),Dr(O),X('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Ee,Be),Dr(null)}}function Oo(O,se){{if(typeof O!="object")return;if(Xn(O))for(var Ee=0;Ee<O.length;Ee++){var Be=O[Ee];wi(Be)&&Do(Be,se)}else if(wi(O))O._store&&(O._store.validated=!0);else if(O){var Et=oe(O);if(typeof Et=="function"&&Et!==O.entries)for(var lt=Et.call(O),ut;!(ut=lt.next()).done;)wi(ut.value)&&Do(ut.value,se)}}}function Ur(O){{var se=O.type;if(se==null||typeof se=="string")return;var Ee;if(typeof se=="function")Ee=se.propTypes;else if(typeof se=="object"&&(se.$$typeof===T||se.$$typeof===N))Ee=se.propTypes;else return;if(Ee){var Be=Pe(se);ar(Ee,O.props,"prop",Be,O)}else if(se.PropTypes!==void 0&&!Or){Or=!0;var Et=Pe(se);X("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Et||"Unknown")}typeof se.getDefaultProps=="function"&&!se.getDefaultProps.isReactClassApproved&&X("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ni(O){{for(var se=Object.keys(O.props),Ee=0;Ee<se.length;Ee++){var Be=se[Ee];if(Be!=="children"&&Be!=="key"){Dr(O),X("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Be),Dr(null);break}}O.ref!==null&&(Dr(O),X("Invalid attribute `ref` supplied to `React.Fragment`."),Dr(null))}}var pr={};function ka(O,se,Ee,Be,Et,lt){{var ut=Lt(O);if(!ut){var Qe="";(O===void 0||typeof O=="object"&&O!==null&&Object.keys(O).length===0)&&(Qe+=" 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 Fn=hu(Et);Fn?Qe+=Fn:Qe+=Ta();var pn;O===null?pn="null":Xn(O)?pn="array":O!==void 0&&O.$$typeof===s?(pn="<"+(Pe(O.type)||"Unknown")+" />",Qe=" Did you accidentally export a JSX literal instead of a component?"):pn=typeof O,X("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",pn,Qe)}var un=yn(O,se,Ee,Et,lt);if(un==null)return un;if(ut){var mr=se.children;if(mr!==void 0)if(Be)if(Xn(mr)){for(var la=0;la<mr.length;la++)Oo(mr[la],O);Object.freeze&&Object.freeze(mr)}else X("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 Oo(mr,O)}if(Kn.call(se,"key")){var Ai=Pe(O),Jn=Object.keys(se).filter(function(xt){return xt!=="key"}),bl=Jn.length>0?"{key: someKey, "+Jn.join(": ..., ")+": ...}":"{key: someKey}";if(!pr[Ai+bl]){var Qt=Jn.length>0?"{"+Jn.join(": ..., ")+": ...}":"{}";X(`A props object containing a "key" prop is being spread into JSX:
|
|
66
66
|
let props = %s;
|
|
67
67
|
<%s {...props} />
|
|
68
68
|
React keys must be passed directly to JSX without using spread:
|
|
69
69
|
let props = %s;
|
|
70
|
-
<%s key={someKey} {...props} />`,
|
|
70
|
+
<%s key={someKey} {...props} />`,bl,Ai,Qt,Ai),pr[Ai+bl]=!0}}return O===v?ni(un):Ur(un),un}}var oa=ka;Ky.Fragment=v,Ky.jsxDEV=oa}()),Ky}var FC;function V3(){return FC||(FC=1,process.env.NODE_ENV==="production"?Qy.exports=A3():Qy.exports=F3()),Qy.exports}var be=V3(),ze=jd();const du=z3(ze),VC=M3({__proto__:null,default:du},[ze]);var Jy={exports:{}},ta={},Zy={exports:{}},rS={};/**
|
|
71
|
+
* @license React
|
|
72
|
+
* scheduler.production.min.js
|
|
73
|
+
*
|
|
74
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
75
|
+
*
|
|
76
|
+
* This source code is licensed under the MIT license found in the
|
|
77
|
+
* LICENSE file in the root directory of this source tree.
|
|
78
|
+
*/var PC;function P3(){return PC||(PC=1,function(n){function s(ve,Oe){var Se=ve.length;ve.push(Oe);e:for(;0<Se;){var F=Se-1>>>1,Z=ve[F];if(0<b(Z,Oe))ve[F]=Oe,ve[Se]=Z,Se=F;else break e}}function d(ve){return ve.length===0?null:ve[0]}function v(ve){if(ve.length===0)return null;var Oe=ve[0],Se=ve.pop();if(Se!==Oe){ve[0]=Se;e:for(var F=0,Z=ve.length,Ze=Z>>>1;F<Ze;){var Ge=2*(F+1)-1,mt=ve[Ge],ct=Ge+1,ft=ve[ct];if(0>b(mt,Se))ct<Z&&0>b(ft,mt)?(ve[F]=ft,ve[ct]=Se,F=ct):(ve[F]=mt,ve[Ge]=Se,F=Ge);else if(ct<Z&&0>b(ft,Se))ve[F]=ft,ve[ct]=Se,F=ct;else break e}}return Oe}function b(ve,Oe){var Se=ve.sortIndex-Oe.sortIndex;return Se!==0?Se:ve.id-Oe.id}if(typeof performance=="object"&&typeof performance.now=="function"){var E=performance;n.unstable_now=function(){return E.now()}}else{var y=Date,R=y.now();n.unstable_now=function(){return y.now()-R}}var T=[],_=[],A=1,N=null,M=3,V=!1,P=!1,re=!1,oe=typeof setTimeout=="function"?setTimeout:null,ge=typeof clearTimeout=="function"?clearTimeout:null,X=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function K(ve){for(var Oe=d(_);Oe!==null;){if(Oe.callback===null)v(_);else if(Oe.startTime<=ve)v(_),Oe.sortIndex=Oe.expirationTime,s(T,Oe);else break;Oe=d(_)}}function ie(ve){if(re=!1,K(ve),!P)if(d(T)!==null)P=!0,Mt(ne);else{var Oe=d(_);Oe!==null&&Me(ie,Oe.startTime-ve)}}function ne(ve,Oe){P=!1,re&&(re=!1,ge(Je),Je=-1),V=!0;var Se=M;try{for(K(Oe),N=d(T);N!==null&&(!(N.expirationTime>Oe)||ve&&!Yt());){var F=N.callback;if(typeof F=="function"){N.callback=null,M=N.priorityLevel;var Z=F(N.expirationTime<=Oe);Oe=n.unstable_now(),typeof Z=="function"?N.callback=Z:N===d(T)&&v(T),K(Oe)}else v(T);N=d(T)}if(N!==null)var Ze=!0;else{var Ge=d(_);Ge!==null&&Me(ie,Ge.startTime-Oe),Ze=!1}return Ze}finally{N=null,M=Se,V=!1}}var pe=!1,le=null,Je=-1,yt=5,Lt=-1;function Yt(){return!(n.unstable_now()-Lt<yt)}function Tt(){if(le!==null){var ve=n.unstable_now();Lt=ve;var Oe=!0;try{Oe=le(!0,ve)}finally{Oe?Pe():(pe=!1,le=null)}}else pe=!1}var Pe;if(typeof X=="function")Pe=function(){X(Tt)};else if(typeof MessageChannel<"u"){var Ut=new MessageChannel,kt=Ut.port2;Ut.port1.onmessage=Tt,Pe=function(){kt.postMessage(null)}}else Pe=function(){oe(Tt,0)};function Mt(ve){le=ve,pe||(pe=!0,Pe())}function Me(ve,Oe){Je=oe(function(){ve(n.unstable_now())},Oe)}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(){P||V||(P=!0,Mt(ne))},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"):yt=0<ve?Math.floor(1e3/ve):5},n.unstable_getCurrentPriorityLevel=function(){return M},n.unstable_getFirstCallbackNode=function(){return d(T)},n.unstable_next=function(ve){switch(M){case 1:case 2:case 3:var Oe=3;break;default:Oe=M}var Se=M;M=Oe;try{return ve()}finally{M=Se}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(ve,Oe){switch(ve){case 1:case 2:case 3:case 4:case 5:break;default:ve=3}var Se=M;M=ve;try{return Oe()}finally{M=Se}},n.unstable_scheduleCallback=function(ve,Oe,Se){var F=n.unstable_now();switch(typeof Se=="object"&&Se!==null?(Se=Se.delay,Se=typeof Se=="number"&&0<Se?F+Se:F):Se=F,ve){case 1:var Z=-1;break;case 2:Z=250;break;case 5:Z=1073741823;break;case 4:Z=1e4;break;default:Z=5e3}return Z=Se+Z,ve={id:A++,callback:Oe,priorityLevel:ve,startTime:Se,expirationTime:Z,sortIndex:-1},Se>F?(ve.sortIndex=Se,s(_,ve),d(T)===null&&ve===d(_)&&(re?(ge(Je),Je=-1):re=!0,Me(ie,Se-F))):(ve.sortIndex=Z,s(T,ve),P||V||(P=!0,Mt(ne))),ve},n.unstable_shouldYield=Yt,n.unstable_wrapCallback=function(ve){var Oe=M;return function(){var Se=M;M=Oe;try{return ve.apply(this,arguments)}finally{M=Se}}}}(rS)),rS}var iS={};/**
|
|
79
|
+
* @license React
|
|
80
|
+
* scheduler.development.js
|
|
81
|
+
*
|
|
82
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
83
|
+
*
|
|
84
|
+
* This source code is licensed under the MIT license found in the
|
|
85
|
+
* LICENSE file in the root directory of this source tree.
|
|
86
|
+
*/var HC;function H3(){return HC||(HC=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 s=!1,d=5;function v(we,Ve){var gt=we.length;we.push(Ve),y(we,Ve,gt)}function b(we){return we.length===0?null:we[0]}function E(we){if(we.length===0)return null;var Ve=we[0],gt=we.pop();return gt!==Ve&&(we[0]=gt,R(we,gt,0)),Ve}function y(we,Ve,gt){for(var Gt=gt;Gt>0;){var ln=Gt-1>>>1,wn=we[ln];if(T(wn,Ve)>0)we[ln]=Ve,we[Gt]=wn,Gt=ln;else return}}function R(we,Ve,gt){for(var Gt=gt,ln=we.length,wn=ln>>>1;Gt<wn;){var dn=(Gt+1)*2-1,or=we[dn],yn=dn+1,Xt=we[yn];if(T(or,Ve)<0)yn<ln&&T(Xt,or)<0?(we[Gt]=Xt,we[yn]=Ve,Gt=yn):(we[Gt]=or,we[dn]=Ve,Gt=dn);else if(yn<ln&&T(Xt,Ve)<0)we[Gt]=Xt,we[yn]=Ve,Gt=yn;else return}}function T(we,Ve){var gt=we.sortIndex-Ve.sortIndex;return gt!==0?gt:we.id-Ve.id}var _=1,A=2,N=3,M=4,V=5;function P(we,Ve){}var re=typeof performance=="object"&&typeof performance.now=="function";if(re){var oe=performance;n.unstable_now=function(){return oe.now()}}else{var ge=Date,X=ge.now();n.unstable_now=function(){return ge.now()-X}}var K=1073741823,ie=-1,ne=250,pe=5e3,le=1e4,Je=K,yt=[],Lt=[],Yt=1,Tt=null,Pe=N,Ut=!1,kt=!1,Mt=!1,Me=typeof setTimeout=="function"?setTimeout:null,ve=typeof clearTimeout=="function"?clearTimeout:null,Oe=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Se(we){for(var Ve=b(Lt);Ve!==null;){if(Ve.callback===null)E(Lt);else if(Ve.startTime<=we)E(Lt),Ve.sortIndex=Ve.expirationTime,v(yt,Ve);else return;Ve=b(Lt)}}function F(we){if(Mt=!1,Se(we),!kt)if(b(yt)!==null)kt=!0,jn(Z);else{var Ve=b(Lt);Ve!==null&&_r(F,Ve.startTime-we)}}function Z(we,Ve){kt=!1,Mt&&(Mt=!1,Nr()),Ut=!0;var gt=Pe;try{var Gt;if(!s)return Ze(we,Ve)}finally{Tt=null,Pe=gt,Ut=!1}}function Ze(we,Ve){var gt=Ve;for(Se(gt),Tt=b(yt);Tt!==null&&!(Tt.expirationTime>gt&&(!we||$a()));){var Gt=Tt.callback;if(typeof Gt=="function"){Tt.callback=null,Pe=Tt.priorityLevel;var ln=Tt.expirationTime<=gt,wn=Gt(ln);gt=n.unstable_now(),typeof wn=="function"?Tt.callback=wn:Tt===b(yt)&&E(yt),Se(gt)}else E(yt);Tt=b(yt)}if(Tt!==null)return!0;var dn=b(Lt);return dn!==null&&_r(F,dn.startTime-gt),!1}function Ge(we,Ve){switch(we){case _:case A:case N:case M:case V:break;default:we=N}var gt=Pe;Pe=we;try{return Ve()}finally{Pe=gt}}function mt(we){var Ve;switch(Pe){case _:case A:case N:Ve=N;break;default:Ve=Pe;break}var gt=Pe;Pe=Ve;try{return we()}finally{Pe=gt}}function ct(we){var Ve=Pe;return function(){var gt=Pe;Pe=Ve;try{return we.apply(this,arguments)}finally{Pe=gt}}}function ft(we,Ve,gt){var Gt=n.unstable_now(),ln;if(typeof gt=="object"&>!==null){var wn=gt.delay;typeof wn=="number"&&wn>0?ln=Gt+wn:ln=Gt}else ln=Gt;var dn;switch(we){case _:dn=ie;break;case A:dn=ne;break;case V:dn=Je;break;case M:dn=le;break;case N:default:dn=pe;break}var or=ln+dn,yn={id:Yt++,callback:Ve,priorityLevel:we,startTime:ln,expirationTime:or,sortIndex:-1};return ln>Gt?(yn.sortIndex=ln,v(Lt,yn),b(yt)===null&&yn===b(Lt)&&(Mt?Nr():Mt=!0,_r(F,ln-Gt))):(yn.sortIndex=or,v(yt,yn),!kt&&!Ut&&(kt=!0,jn(Z))),yn}function at(){}function ot(){!kt&&!Ut&&(kt=!0,jn(Z))}function jt(){return b(yt)}function fn(we){we.callback=null}function vn(){return Pe}var _n=!1,dr=null,qn=-1,Kn=d,ti=-1;function $a(){var we=n.unstable_now()-ti;return!(we<Kn)}function Si(){}function ar(we){if(we<0||we>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}we>0?Kn=Math.floor(1e3/we):Kn=d}var Nn=function(){if(dr!==null){var we=n.unstable_now();ti=we;var Ve=!0,gt=!0;try{gt=dr(Ve,we)}finally{gt?Xn():(_n=!1,dr=null)}}else _n=!1},Xn;if(typeof Oe=="function")Xn=function(){Oe(Nn)};else if(typeof MessageChannel<"u"){var kr=new MessageChannel,ia=kr.port2;kr.port1.onmessage=Nn,Xn=function(){ia.postMessage(null)}}else Xn=function(){Me(Nn,0)};function jn(we){dr=we,_n||(_n=!0,Xn())}function _r(we,Ve){qn=Me(function(){we(n.unstable_now())},Ve)}function Nr(){ve(qn),qn=-1}var aa=Si,Ra=null;n.unstable_IdlePriority=V,n.unstable_ImmediatePriority=_,n.unstable_LowPriority=M,n.unstable_NormalPriority=N,n.unstable_Profiling=Ra,n.unstable_UserBlockingPriority=A,n.unstable_cancelCallback=fn,n.unstable_continueExecution=ot,n.unstable_forceFrameRate=ar,n.unstable_getCurrentPriorityLevel=vn,n.unstable_getFirstCallbackNode=jt,n.unstable_next=mt,n.unstable_pauseExecution=at,n.unstable_requestPaint=aa,n.unstable_runWithPriority=Ge,n.unstable_scheduleCallback=ft,n.unstable_shouldYield=$a,n.unstable_wrapCallback=ct,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(iS)),iS}var IC;function L$(){return IC||(IC=1,process.env.NODE_ENV==="production"?Zy.exports=P3():Zy.exports=H3()),Zy.exports}/**
|
|
87
|
+
* @license React
|
|
88
|
+
* react-dom.production.min.js
|
|
89
|
+
*
|
|
90
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
91
|
+
*
|
|
92
|
+
* This source code is licensed under the MIT license found in the
|
|
93
|
+
* LICENSE file in the root directory of this source tree.
|
|
94
|
+
*/var BC;function I3(){if(BC)return ta;BC=1;var n=jd(),s=L$();function d(r){for(var i="https://reactjs.org/docs/error-decoder.html?invariant="+r,l=1;l<arguments.length;l++)i+="&args[]="+encodeURIComponent(arguments[l]);return"Minified React error #"+r+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var v=new Set,b={};function E(r,i){y(r,i),y(r+"Capture",i)}function y(r,i){for(b[r]=i,r=0;r<i.length;r++)v.add(i[r])}var R=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),T=Object.prototype.hasOwnProperty,_=/^[: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]*$/,A={},N={};function M(r){return T.call(N,r)?!0:T.call(A,r)?!1:_.test(r)?N[r]=!0:(A[r]=!0,!1)}function V(r,i,l,c){if(l!==null&&l.type===0)return!1;switch(typeof i){case"function":case"symbol":return!0;case"boolean":return c?!1:l!==null?!l.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function P(r,i,l,c){if(i===null||typeof i>"u"||V(r,i,l,c))return!0;if(c)return!1;if(l!==null)switch(l.type){case 3:return!i;case 4:return i===!1;case 5:return isNaN(i);case 6:return isNaN(i)||1>i}return!1}function re(r,i,l,c,p,h,w){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=c,this.attributeNamespace=p,this.mustUseProperty=l,this.propertyName=r,this.type=i,this.sanitizeURL=h,this.removeEmptyString=w}var oe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){oe[r]=new re(r,0,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var i=r[0];oe[i]=new re(i,1,!1,r[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){oe[r]=new re(r,2,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){oe[r]=new re(r,2,!1,r,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(r){oe[r]=new re(r,3,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){oe[r]=new re(r,3,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){oe[r]=new re(r,4,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){oe[r]=new re(r,6,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){oe[r]=new re(r,5,!1,r.toLowerCase(),null,!1,!1)});var ge=/[\-:]([a-z])/g;function X(r){return r[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(r){var i=r.replace(ge,X);oe[i]=new re(i,1,!1,r,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(r){var i=r.replace(ge,X);oe[i]=new re(i,1,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(r){var i=r.replace(ge,X);oe[i]=new re(i,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){oe[r]=new re(r,1,!1,r.toLowerCase(),null,!1,!1)}),oe.xlinkHref=new re("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){oe[r]=new re(r,1,!1,r.toLowerCase(),null,!0,!0)});function K(r,i,l,c){var p=oe.hasOwnProperty(i)?oe[i]:null;(p!==null?p.type!==0:c||!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(P(i,l,p,c)&&(l=null),c||p===null?M(i)&&(l===null?r.removeAttribute(i):r.setAttribute(i,""+l)):p.mustUseProperty?r[p.propertyName]=l===null?p.type===3?!1:"":l:(i=p.attributeName,c=p.attributeNamespace,l===null?r.removeAttribute(i):(p=p.type,l=p===3||p===4&&l===!0?"":""+l,c?r.setAttributeNS(c,i,l):r.setAttribute(i,l))))}var ie=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ne=Symbol.for("react.element"),pe=Symbol.for("react.portal"),le=Symbol.for("react.fragment"),Je=Symbol.for("react.strict_mode"),yt=Symbol.for("react.profiler"),Lt=Symbol.for("react.provider"),Yt=Symbol.for("react.context"),Tt=Symbol.for("react.forward_ref"),Pe=Symbol.for("react.suspense"),Ut=Symbol.for("react.suspense_list"),kt=Symbol.for("react.memo"),Mt=Symbol.for("react.lazy"),Me=Symbol.for("react.offscreen"),ve=Symbol.iterator;function Oe(r){return r===null||typeof r!="object"?null:(r=ve&&r[ve]||r["@@iterator"],typeof r=="function"?r:null)}var Se=Object.assign,F;function Z(r){if(F===void 0)try{throw Error()}catch(l){var i=l.stack.trim().match(/\n( *(at )?)/);F=i&&i[1]||""}return`
|
|
95
|
+
`+F+r}var Ze=!1;function Ge(r,i){if(!r||Ze)return"";Ze=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(i)if(i=function(){throw Error()},Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(Q){var c=Q}Reflect.construct(r,[],i)}else{try{i.call()}catch(Q){c=Q}r.call(i.prototype)}else{try{throw Error()}catch(Q){c=Q}r()}}catch(Q){if(Q&&c&&typeof Q.stack=="string"){for(var p=Q.stack.split(`
|
|
96
|
+
`),h=c.stack.split(`
|
|
97
|
+
`),w=p.length-1,k=h.length-1;1<=w&&0<=k&&p[w]!==h[k];)k--;for(;1<=w&&0<=k;w--,k--)if(p[w]!==h[k]){if(w!==1||k!==1)do if(w--,k--,0>k||p[w]!==h[k]){var L=`
|
|
98
|
+
`+p[w].replace(" at new "," at ");return r.displayName&&L.includes("<anonymous>")&&(L=L.replace("<anonymous>",r.displayName)),L}while(1<=w&&0<=k);break}}}finally{Ze=!1,Error.prepareStackTrace=l}return(r=r?r.displayName||r.name:"")?Z(r):""}function mt(r){switch(r.tag){case 5:return Z(r.type);case 16:return Z("Lazy");case 13:return Z("Suspense");case 19:return Z("SuspenseList");case 0:case 2:case 15:return r=Ge(r.type,!1),r;case 11:return r=Ge(r.type.render,!1),r;case 1:return r=Ge(r.type,!0),r;default:return""}}function ct(r){if(r==null)return null;if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case le:return"Fragment";case pe:return"Portal";case yt:return"Profiler";case Je:return"StrictMode";case Pe:return"Suspense";case Ut:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case Yt:return(r.displayName||"Context")+".Consumer";case Lt:return(r._context.displayName||"Context")+".Provider";case Tt:var i=r.render;return r=r.displayName,r||(r=i.displayName||i.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case kt:return i=r.displayName||null,i!==null?i:ct(r.type)||"Memo";case Mt:i=r._payload,r=r._init;try{return ct(r(i))}catch{}}return null}function ft(r){var i=r.type;switch(r.tag){case 24:return"Cache";case 9:return(i.displayName||"Context")+".Consumer";case 10:return(i._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return r=i.render,r=r.displayName||r.name||"",i.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ct(i);case 8:return i===Je?"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 i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i}return null}function at(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function ot(r){var i=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function jt(r){var i=ot(r)?"checked":"value",l=Object.getOwnPropertyDescriptor(r.constructor.prototype,i),c=""+r[i];if(!r.hasOwnProperty(i)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var p=l.get,h=l.set;return Object.defineProperty(r,i,{configurable:!0,get:function(){return p.call(this)},set:function(w){c=""+w,h.call(this,w)}}),Object.defineProperty(r,i,{enumerable:l.enumerable}),{getValue:function(){return c},setValue:function(w){c=""+w},stopTracking:function(){r._valueTracker=null,delete r[i]}}}}function fn(r){r._valueTracker||(r._valueTracker=jt(r))}function vn(r){if(!r)return!1;var i=r._valueTracker;if(!i)return!0;var l=i.getValue(),c="";return r&&(c=ot(r)?r.checked?"true":"false":r.value),r=c,r!==l?(i.setValue(r),!0):!1}function _n(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}function dr(r,i){var l=i.checked;return Se({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:l??r._wrapperState.initialChecked})}function qn(r,i){var l=i.defaultValue==null?"":i.defaultValue,c=i.checked!=null?i.checked:i.defaultChecked;l=at(i.value!=null?i.value:l),r._wrapperState={initialChecked:c,initialValue:l,controlled:i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null}}function Kn(r,i){i=i.checked,i!=null&&K(r,"checked",i,!1)}function ti(r,i){Kn(r,i);var l=at(i.value),c=i.type;if(l!=null)c==="number"?(l===0&&r.value===""||r.value!=l)&&(r.value=""+l):r.value!==""+l&&(r.value=""+l);else if(c==="submit"||c==="reset"){r.removeAttribute("value");return}i.hasOwnProperty("value")?Si(r,i.type,l):i.hasOwnProperty("defaultValue")&&Si(r,i.type,at(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(r.defaultChecked=!!i.defaultChecked)}function $a(r,i,l){if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var c=i.type;if(!(c!=="submit"&&c!=="reset"||i.value!==void 0&&i.value!==null))return;i=""+r._wrapperState.initialValue,l||i===r.value||(r.value=i),r.defaultValue=i}l=r.name,l!==""&&(r.name=""),r.defaultChecked=!!r._wrapperState.initialChecked,l!==""&&(r.name=l)}function Si(r,i,l){(i!=="number"||_n(r.ownerDocument)!==r)&&(l==null?r.defaultValue=""+r._wrapperState.initialValue:r.defaultValue!==""+l&&(r.defaultValue=""+l))}var ar=Array.isArray;function Nn(r,i,l,c){if(r=r.options,i){i={};for(var p=0;p<l.length;p++)i["$"+l[p]]=!0;for(l=0;l<r.length;l++)p=i.hasOwnProperty("$"+r[l].value),r[l].selected!==p&&(r[l].selected=p),p&&c&&(r[l].defaultSelected=!0)}else{for(l=""+at(l),i=null,p=0;p<r.length;p++){if(r[p].value===l){r[p].selected=!0,c&&(r[p].defaultSelected=!0);return}i!==null||r[p].disabled||(i=r[p])}i!==null&&(i.selected=!0)}}function Xn(r,i){if(i.dangerouslySetInnerHTML!=null)throw Error(d(91));return Se({},i,{value:void 0,defaultValue:void 0,children:""+r._wrapperState.initialValue})}function kr(r,i){var l=i.value;if(l==null){if(l=i.children,i=i.defaultValue,l!=null){if(i!=null)throw Error(d(92));if(ar(l)){if(1<l.length)throw Error(d(93));l=l[0]}i=l}i==null&&(i=""),l=i}r._wrapperState={initialValue:at(l)}}function ia(r,i){var l=at(i.value),c=at(i.defaultValue);l!=null&&(l=""+l,l!==r.value&&(r.value=l),i.defaultValue==null&&r.defaultValue!==l&&(r.defaultValue=l)),c!=null&&(r.defaultValue=""+c)}function jn(r){var i=r.textContent;i===r._wrapperState.initialValue&&i!==""&&i!==null&&(r.value=i)}function _r(r){switch(r){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 Nr(r,i){return r==null||r==="http://www.w3.org/1999/xhtml"?_r(i):r==="http://www.w3.org/2000/svg"&&i==="foreignObject"?"http://www.w3.org/1999/xhtml":r}var aa,Ra=function(r){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(i,l,c,p){MSApp.execUnsafeLocalFunction(function(){return r(i,l,c,p)})}:r}(function(r,i){if(r.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in r)r.innerHTML=i;else{for(aa=aa||document.createElement("div"),aa.innerHTML="<svg>"+i.valueOf().toString()+"</svg>",i=aa.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;i.firstChild;)r.appendChild(i.firstChild)}});function we(r,i){if(i){var l=r.firstChild;if(l&&l===r.lastChild&&l.nodeType===3){l.nodeValue=i;return}}r.textContent=i}var Ve={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},gt=["Webkit","ms","Moz","O"];Object.keys(Ve).forEach(function(r){gt.forEach(function(i){i=i+r.charAt(0).toUpperCase()+r.substring(1),Ve[i]=Ve[r]})});function Gt(r,i,l){return i==null||typeof i=="boolean"||i===""?"":l||typeof i!="number"||i===0||Ve.hasOwnProperty(r)&&Ve[r]?(""+i).trim():i+"px"}function ln(r,i){r=r.style;for(var l in i)if(i.hasOwnProperty(l)){var c=l.indexOf("--")===0,p=Gt(l,i[l],c);l==="float"&&(l="cssFloat"),c?r.setProperty(l,p):r[l]=p}}var wn=Se({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 dn(r,i){if(i){if(wn[r]&&(i.children!=null||i.dangerouslySetInnerHTML!=null))throw Error(d(137,r));if(i.dangerouslySetInnerHTML!=null){if(i.children!=null)throw Error(d(60));if(typeof i.dangerouslySetInnerHTML!="object"||!("__html"in i.dangerouslySetInnerHTML))throw Error(d(61))}if(i.style!=null&&typeof i.style!="object")throw Error(d(62))}}function or(r,i){if(r.indexOf("-")===-1)return typeof i.is=="string";switch(r){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var yn=null;function Xt(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var gn=null,Dr=null,Or=null;function wi(r){if(r=We(r)){if(typeof gn!="function")throw Error(d(280));var i=r.stateNode;i&&(i=Dn(i),gn(r.stateNode,r.type,i))}}function Ta(r){Dr?Or?Or.push(r):Or=[r]:Dr=r}function hu(){if(Dr){var r=Dr,i=Or;if(Or=Dr=null,wi(r),i)for(r=0;r<i.length;r++)wi(i[r])}}function No(r,i){return r(i)}function gl(){}var Do=!1;function Oo(r,i,l){if(Do)return r(i,l);Do=!0;try{return No(r,i,l)}finally{Do=!1,(Dr!==null||Or!==null)&&(gl(),hu())}}function Ur(r,i){var l=r.stateNode;if(l===null)return null;var c=Dn(l);if(c===null)return null;l=c[i];e:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(r=r.type,c=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!c;break e;default:r=!1}if(r)return null;if(l&&typeof l!="function")throw Error(d(231,i,typeof l));return l}var ni=!1;if(R)try{var pr={};Object.defineProperty(pr,"passive",{get:function(){ni=!0}}),window.addEventListener("test",pr,pr),window.removeEventListener("test",pr,pr)}catch{ni=!1}function ka(r,i,l,c,p,h,w,k,L){var Q=Array.prototype.slice.call(arguments,3);try{i.apply(l,Q)}catch(fe){this.onError(fe)}}var oa=!1,O=null,se=!1,Ee=null,Be={onError:function(r){oa=!0,O=r}};function Et(r,i,l,c,p,h,w,k,L){oa=!1,O=null,ka.apply(Be,arguments)}function lt(r,i,l,c,p,h,w,k,L){if(Et.apply(this,arguments),oa){if(oa){var Q=O;oa=!1,O=null}else throw Error(d(198));se||(se=!0,Ee=Q)}}function ut(r){var i=r,l=r;if(r.alternate)for(;i.return;)i=i.return;else{r=i;do i=r,(i.flags&4098)!==0&&(l=i.return),r=i.return;while(r)}return i.tag===3?l:null}function Qe(r){if(r.tag===13){var i=r.memoizedState;if(i===null&&(r=r.alternate,r!==null&&(i=r.memoizedState)),i!==null)return i.dehydrated}return null}function Fn(r){if(ut(r)!==r)throw Error(d(188))}function pn(r){var i=r.alternate;if(!i){if(i=ut(r),i===null)throw Error(d(188));return i!==r?null:r}for(var l=r,c=i;;){var p=l.return;if(p===null)break;var h=p.alternate;if(h===null){if(c=p.return,c!==null){l=c;continue}break}if(p.child===h.child){for(h=p.child;h;){if(h===l)return Fn(p),r;if(h===c)return Fn(p),i;h=h.sibling}throw Error(d(188))}if(l.return!==c.return)l=p,c=h;else{for(var w=!1,k=p.child;k;){if(k===l){w=!0,l=p,c=h;break}if(k===c){w=!0,c=p,l=h;break}k=k.sibling}if(!w){for(k=h.child;k;){if(k===l){w=!0,l=h,c=p;break}if(k===c){w=!0,c=h,l=p;break}k=k.sibling}if(!w)throw Error(d(189))}}if(l.alternate!==c)throw Error(d(190))}if(l.tag!==3)throw Error(d(188));return l.stateNode.current===l?r:i}function un(r){return r=pn(r),r!==null?mr(r):null}function mr(r){if(r.tag===5||r.tag===6)return r;for(r=r.child;r!==null;){var i=mr(r);if(i!==null)return i;r=r.sibling}return null}var la=s.unstable_scheduleCallback,Ai=s.unstable_cancelCallback,Jn=s.unstable_shouldYield,bl=s.unstable_requestPaint,Qt=s.unstable_now,xt=s.unstable_getCurrentPriorityLevel,eo=s.unstable_ImmediatePriority,vs=s.unstable_UserBlockingPriority,xl=s.unstable_NormalPriority,Lo=s.unstable_LowPriority,vu=s.unstable_IdlePriority,Mo=null,ri=null;function ys(r){if(ri&&typeof ri.onCommitFiberRoot=="function")try{ri.onCommitFiberRoot(Mo,r,void 0,(r.current.flags&128)===128)}catch{}}var jr=Math.clz32?Math.clz32:yu,Hc=Math.log,Ic=Math.LN2;function yu(r){return r>>>=0,r===0?32:31-(Hc(r)/Ic|0)|0}var zo=64,Ei=4194304;function ua(r){switch(r&-r){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 r&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return r&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return r}}function sa(r,i){var l=r.pendingLanes;if(l===0)return 0;var c=0,p=r.suspendedLanes,h=r.pingedLanes,w=l&268435455;if(w!==0){var k=w&~p;k!==0?c=ua(k):(h&=w,h!==0&&(c=ua(h)))}else w=l&~p,w!==0?c=ua(w):h!==0&&(c=ua(h));if(c===0)return 0;if(i!==0&&i!==c&&(i&p)===0&&(p=c&-c,h=i&-i,p>=h||p===16&&(h&4194240)!==0))return i;if((c&4)!==0&&(c|=l&16),i=r.entangledLanes,i!==0)for(r=r.entanglements,i&=c;0<i;)l=31-jr(i),p=1<<l,c|=r[l],i&=~p;return c}function gu(r,i){switch(r){case 1:case 2:case 4:return i+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 i+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 Sl(r,i){for(var l=r.suspendedLanes,c=r.pingedLanes,p=r.expirationTimes,h=r.pendingLanes;0<h;){var w=31-jr(h),k=1<<w,L=p[w];L===-1?((k&l)===0||(k&c)!==0)&&(p[w]=gu(k,i)):L<=i&&(r.expiredLanes|=k),h&=~k}}function Ao(r){return r=r.pendingLanes&-1073741825,r!==0?r:r&1073741824?1073741824:0}function bu(){var r=zo;return zo<<=1,(zo&4194240)===0&&(zo=64),r}function xu(r){for(var i=[],l=0;31>l;l++)i.push(r);return i}function to(r,i,l){r.pendingLanes|=i,i!==536870912&&(r.suspendedLanes=0,r.pingedLanes=0),r=r.eventTimes,i=31-jr(i),r[i]=l}function Pd(r,i){var l=r.pendingLanes&~i;r.pendingLanes=i,r.suspendedLanes=0,r.pingedLanes=0,r.expiredLanes&=i,r.mutableReadLanes&=i,r.entangledLanes&=i,i=r.entanglements;var c=r.eventTimes;for(r=r.expirationTimes;0<l;){var p=31-jr(l),h=1<<p;i[p]=0,c[p]=-1,r[p]=-1,l&=~h}}function no(r,i){var l=r.entangledLanes|=i;for(r=r.entanglements;l;){var c=31-jr(l),p=1<<c;p&i|r[c]&i&&(r[c]|=i),l&=~p}}var Vt=0;function Su(r){return r&=-r,1<r?4<r?(r&268435455)!==0?16:536870912:4:1}var zt,gs,_a,dt,wu,hr=!1,Na=[],Fr=null,Da=null,mn=null,Jt=new Map,Uo=new Map,Zn=[],Vr="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 Ui(r,i){switch(r){case"focusin":case"focusout":Fr=null;break;case"dragenter":case"dragleave":Da=null;break;case"mouseover":case"mouseout":mn=null;break;case"pointerover":case"pointerout":Jt.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":Uo.delete(i.pointerId)}}function wl(r,i,l,c,p,h){return r===null||r.nativeEvent!==h?(r={blockedOn:i,domEventName:l,eventSystemFlags:c,nativeEvent:h,targetContainers:[p]},i!==null&&(i=We(i),i!==null&&gs(i)),r):(r.eventSystemFlags|=c,i=r.targetContainers,p!==null&&i.indexOf(p)===-1&&i.push(p),r)}function bs(r,i,l,c,p){switch(i){case"focusin":return Fr=wl(Fr,r,i,l,c,p),!0;case"dragenter":return Da=wl(Da,r,i,l,c,p),!0;case"mouseover":return mn=wl(mn,r,i,l,c,p),!0;case"pointerover":var h=p.pointerId;return Jt.set(h,wl(Jt.get(h)||null,r,i,l,c,p)),!0;case"gotpointercapture":return h=p.pointerId,Uo.set(h,wl(Uo.get(h)||null,r,i,l,c,p)),!0}return!1}function xs(r){var i=Dl(r.target);if(i!==null){var l=ut(i);if(l!==null){if(i=l.tag,i===13){if(i=Qe(l),i!==null){r.blockedOn=i,wu(r.priority,function(){_a(l)});return}}else if(i===3&&l.stateNode.current.memoizedState.isDehydrated){r.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}r.blockedOn=null}function jo(r){if(r.blockedOn!==null)return!1;for(var i=r.targetContainers;0<i.length;){var l=$u(r.domEventName,r.eventSystemFlags,i[0],r.nativeEvent);if(l===null){l=r.nativeEvent;var c=new l.constructor(l.type,l);yn=c,l.target.dispatchEvent(c),yn=null}else return i=We(l),i!==null&&gs(i),r.blockedOn=l,!1;i.shift()}return!0}function El(r,i,l){jo(r)&&l.delete(i)}function Hd(){hr=!1,Fr!==null&&jo(Fr)&&(Fr=null),Da!==null&&jo(Da)&&(Da=null),mn!==null&&jo(mn)&&(mn=null),Jt.forEach(El),Uo.forEach(El)}function ji(r,i){r.blockedOn===i&&(r.blockedOn=null,hr||(hr=!0,s.unstable_scheduleCallback(s.unstable_NormalPriority,Hd)))}function ca(r){function i(p){return ji(p,r)}if(0<Na.length){ji(Na[0],r);for(var l=1;l<Na.length;l++){var c=Na[l];c.blockedOn===r&&(c.blockedOn=null)}}for(Fr!==null&&ji(Fr,r),Da!==null&&ji(Da,r),mn!==null&&ji(mn,r),Jt.forEach(i),Uo.forEach(i),l=0;l<Zn.length;l++)c=Zn[l],c.blockedOn===r&&(c.blockedOn=null);for(;0<Zn.length&&(l=Zn[0],l.blockedOn===null);)xs(l),l.blockedOn===null&&Zn.shift()}var Oa=ie.ReactCurrentBatchConfig,Fi=!0;function Eu(r,i,l,c){var p=Vt,h=Oa.transition;Oa.transition=null;try{Vt=1,Fo(r,i,l,c)}finally{Vt=p,Oa.transition=h}}function Cu(r,i,l,c){var p=Vt,h=Oa.transition;Oa.transition=null;try{Vt=4,Fo(r,i,l,c)}finally{Vt=p,Oa.transition=h}}function Fo(r,i,l,c){if(Fi){var p=$u(r,i,l,c);if(p===null)tf(r,i,c,Cl,l),Ui(r,c);else if(bs(p,r,i,l,c))c.stopPropagation();else if(Ui(r,c),i&4&&-1<Vr.indexOf(r)){for(;p!==null;){var h=We(p);if(h!==null&&zt(h),h=$u(r,i,l,c),h===null&&tf(r,i,c,Cl,l),h===p)break;p=h}p!==null&&c.stopPropagation()}else tf(r,i,c,null,l)}}var Cl=null;function $u(r,i,l,c){if(Cl=null,r=Xt(c),r=Dl(r),r!==null)if(i=ut(r),i===null)r=null;else if(l=i.tag,l===13){if(r=Qe(i),r!==null)return r;r=null}else if(l===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;r=null}else i!==r&&(r=null);return Cl=r,null}function Ru(r){switch(r){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(xt()){case eo:return 1;case vs:return 4;case xl:case Lo:return 16;case vu:return 536870912;default:return 16}default:return 16}}var fa=null,S=null,D=null;function G(){if(D)return D;var r,i=S,l=i.length,c,p="value"in fa?fa.value:fa.textContent,h=p.length;for(r=0;r<l&&i[r]===p[r];r++);var w=l-r;for(c=1;c<=w&&i[l-c]===p[h-c];c++);return D=p.slice(r,1<c?1-c:void 0)}function J(r){var i=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&i===13&&(r=13)):r=i,r===10&&(r=13),32<=r||r===13?r:0}function ye(){return!0}function qe(){return!1}function $e(r){function i(l,c,p,h,w){this._reactName=l,this._targetInst=p,this.type=c,this.nativeEvent=h,this.target=w,this.currentTarget=null;for(var k in r)r.hasOwnProperty(k)&&(l=r[k],this[k]=l?l(h):h[k]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?ye:qe,this.isPropagationStopped=qe,this}return Se(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=ye)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=ye)},persist:function(){},isPersistent:ye}),i}var tt={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},wt=$e(tt),At=Se({},tt,{view:0,detail:0}),sn=$e(At),Zt,bt,en,En=Se({},At,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Gd,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==en&&(en&&r.type==="mousemove"?(Zt=r.screenX-en.screenX,bt=r.screenY-en.screenY):bt=Zt=0,en=r),Zt)},movementY:function(r){return"movementY"in r?r.movementY:bt}}),Vo=$e(En),Ss=Se({},En,{dataTransfer:0}),ro=$e(Ss),ws=Se({},At,{relatedTarget:0}),$l=$e(ws),Id=Se({},tt,{animationName:0,elapsedTime:0,pseudoElement:0}),Bc=$e(Id),Bd=Se({},tt,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),rh=$e(Bd),Wd=Se({},tt,{data:0}),Yd=$e(Wd),ih={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ah={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"},Pg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function io(r){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(r):(r=Pg[r])?!!i[r]:!1}function Gd(){return io}var Qd=Se({},At,{key:function(r){if(r.key){var i=ih[r.key]||r.key;if(i!=="Unidentified")return i}return r.type==="keypress"?(r=J(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?ah[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Gd,charCode:function(r){return r.type==="keypress"?J(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?J(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),qd=$e(Qd),Kd=Se({},En,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),oh=$e(Kd),Wc=Se({},At,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Gd}),lh=$e(Wc),ii=Se({},tt,{propertyName:0,elapsedTime:0,pseudoElement:0}),ao=$e(ii),Vn=Se({},En,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),oo=$e(Vn),Xd=[9,13,27,32],Tu=R&&"CompositionEvent"in window,Es=null;R&&"documentMode"in document&&(Es=document.documentMode);var Cs=R&&"TextEvent"in window&&!Es,uh=R&&(!Tu||Es&&8<Es&&11>=Es),sh=" ",Yc=!1;function ch(r,i){switch(r){case"keyup":return Xd.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function fh(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var ku=!1;function dh(r,i){switch(r){case"compositionend":return fh(i);case"keypress":return i.which!==32?null:(Yc=!0,sh);case"textInput":return r=i.data,r===sh&&Yc?null:r;default:return null}}function Hg(r,i){if(ku)return r==="compositionend"||!Tu&&ch(r,i)?(r=G(),D=S=fa=null,ku=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return uh&&i.locale!=="ko"?null:i.data;default:return null}}var Ig={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 ph(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i==="input"?!!Ig[r.type]:i==="textarea"}function Jd(r,i,l,c){Ta(c),i=Ns(i,"onChange"),0<i.length&&(l=new wt("onChange","change",null,l,c),r.push({event:l,listeners:i}))}var La=null,Rl=null;function mh(r){_l(r,0)}function $s(r){var i=pa(r);if(vn(i))return r}function Bg(r,i){if(r==="change")return i}var hh=!1;if(R){var Zd;if(R){var ep="oninput"in document;if(!ep){var vh=document.createElement("div");vh.setAttribute("oninput","return;"),ep=typeof vh.oninput=="function"}Zd=ep}else Zd=!1;hh=Zd&&(!document.documentMode||9<document.documentMode)}function yh(){La&&(La.detachEvent("onpropertychange",gh),Rl=La=null)}function gh(r){if(r.propertyName==="value"&&$s(Rl)){var i=[];Jd(i,Rl,r,Xt(r)),Oo(mh,i)}}function Wg(r,i,l){r==="focusin"?(yh(),La=i,Rl=l,La.attachEvent("onpropertychange",gh)):r==="focusout"&&yh()}function bh(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return $s(Rl)}function Yg(r,i){if(r==="click")return $s(i)}function xh(r,i){if(r==="input"||r==="change")return $s(i)}function Gg(r,i){return r===i&&(r!==0||1/r===1/i)||r!==r&&i!==i}var da=typeof Object.is=="function"?Object.is:Gg;function Rs(r,i){if(da(r,i))return!0;if(typeof r!="object"||r===null||typeof i!="object"||i===null)return!1;var l=Object.keys(r),c=Object.keys(i);if(l.length!==c.length)return!1;for(c=0;c<l.length;c++){var p=l[c];if(!T.call(i,p)||!da(r[p],i[p]))return!1}return!0}function Sh(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function Gc(r,i){var l=Sh(r);r=0;for(var c;l;){if(l.nodeType===3){if(c=r+l.textContent.length,r<=i&&c>=i)return{node:l,offset:i-r};r=c}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Sh(l)}}function Po(r,i){return r&&i?r===i?!0:r&&r.nodeType===3?!1:i&&i.nodeType===3?Po(r,i.parentNode):"contains"in r?r.contains(i):r.compareDocumentPosition?!!(r.compareDocumentPosition(i)&16):!1:!1}function Ts(){for(var r=window,i=_n();i instanceof r.HTMLIFrameElement;){try{var l=typeof i.contentWindow.location.href=="string"}catch{l=!1}if(l)r=i.contentWindow;else break;i=_n(r.document)}return i}function Qc(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i&&(i==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||i==="textarea"||r.contentEditable==="true")}function _u(r){var i=Ts(),l=r.focusedElem,c=r.selectionRange;if(i!==l&&l&&l.ownerDocument&&Po(l.ownerDocument.documentElement,l)){if(c!==null&&Qc(l)){if(i=c.start,r=c.end,r===void 0&&(r=i),"selectionStart"in l)l.selectionStart=i,l.selectionEnd=Math.min(r,l.value.length);else if(r=(i=l.ownerDocument||document)&&i.defaultView||window,r.getSelection){r=r.getSelection();var p=l.textContent.length,h=Math.min(c.start,p);c=c.end===void 0?h:Math.min(c.end,p),!r.extend&&h>c&&(p=c,c=h,h=p),p=Gc(l,h);var w=Gc(l,c);p&&w&&(r.rangeCount!==1||r.anchorNode!==p.node||r.anchorOffset!==p.offset||r.focusNode!==w.node||r.focusOffset!==w.offset)&&(i=i.createRange(),i.setStart(p.node,p.offset),r.removeAllRanges(),h>c?(r.addRange(i),r.extend(w.node,w.offset)):(i.setEnd(w.node,w.offset),r.addRange(i)))}}for(i=[],r=l;r=r.parentNode;)r.nodeType===1&&i.push({element:r,left:r.scrollLeft,top:r.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l<i.length;l++)r=i[l],r.element.scrollLeft=r.left,r.element.scrollTop=r.top}}var Qg=R&&"documentMode"in document&&11>=document.documentMode,Nu=null,tp=null,ks=null,np=!1;function rp(r,i,l){var c=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;np||Nu==null||Nu!==_n(c)||(c=Nu,"selectionStart"in c&&Qc(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),ks&&Rs(ks,c)||(ks=c,c=Ns(tp,"onSelect"),0<c.length&&(i=new wt("onSelect","select",null,i,l),r.push({event:i,listeners:c}),i.target=Nu)))}function qc(r,i){var l={};return l[r.toLowerCase()]=i.toLowerCase(),l["Webkit"+r]="webkit"+i,l["Moz"+r]="moz"+i,l}var Tl={animationend:qc("Animation","AnimationEnd"),animationiteration:qc("Animation","AnimationIteration"),animationstart:qc("Animation","AnimationStart"),transitionend:qc("Transition","TransitionEnd")},vr={},ip={};R&&(ip=document.createElement("div").style,"AnimationEvent"in window||(delete Tl.animationend.animation,delete Tl.animationiteration.animation,delete Tl.animationstart.animation),"TransitionEvent"in window||delete Tl.transitionend.transition);function Kc(r){if(vr[r])return vr[r];if(!Tl[r])return r;var i=Tl[r],l;for(l in i)if(i.hasOwnProperty(l)&&l in ip)return vr[r]=i[l];return r}var wh=Kc("animationend"),Eh=Kc("animationiteration"),Ch=Kc("animationstart"),$h=Kc("transitionend"),ap=new Map,Xc="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 Vi(r,i){ap.set(r,i),E(i,[r])}for(var op=0;op<Xc.length;op++){var kl=Xc[op],qg=kl.toLowerCase(),Kg=kl[0].toUpperCase()+kl.slice(1);Vi(qg,"on"+Kg)}Vi(wh,"onAnimationEnd"),Vi(Eh,"onAnimationIteration"),Vi(Ch,"onAnimationStart"),Vi("dblclick","onDoubleClick"),Vi("focusin","onFocus"),Vi("focusout","onBlur"),Vi($h,"onTransitionEnd"),y("onMouseEnter",["mouseout","mouseover"]),y("onMouseLeave",["mouseout","mouseover"]),y("onPointerEnter",["pointerout","pointerover"]),y("onPointerLeave",["pointerout","pointerover"]),E("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),E("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),E("onBeforeInput",["compositionend","keypress","textInput","paste"]),E("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),E("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),E("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var _s="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(" "),lp=new Set("cancel close invalid load scroll toggle".split(" ").concat(_s));function Jc(r,i,l){var c=r.type||"unknown-event";r.currentTarget=l,lt(c,i,void 0,r),r.currentTarget=null}function _l(r,i){i=(i&4)!==0;for(var l=0;l<r.length;l++){var c=r[l],p=c.event;c=c.listeners;e:{var h=void 0;if(i)for(var w=c.length-1;0<=w;w--){var k=c[w],L=k.instance,Q=k.currentTarget;if(k=k.listener,L!==h&&p.isPropagationStopped())break e;Jc(p,k,Q),h=L}else for(w=0;w<c.length;w++){if(k=c[w],L=k.instance,Q=k.currentTarget,k=k.listener,L!==h&&p.isPropagationStopped())break e;Jc(p,k,Q),h=L}}}if(se)throw r=Ee,se=!1,Ee=null,r}function qt(r,i){var l=i[Ls];l===void 0&&(l=i[Ls]=new Set);var c=r+"__bubble";l.has(c)||(Rh(i,r,2,!1),l.add(c))}function Zc(r,i,l){var c=0;i&&(c|=4),Rh(l,r,c,i)}var ef="_reactListening"+Math.random().toString(36).slice(2);function Du(r){if(!r[ef]){r[ef]=!0,v.forEach(function(l){l!=="selectionchange"&&(lp.has(l)||Zc(l,!1,r),Zc(l,!0,r))});var i=r.nodeType===9?r:r.ownerDocument;i===null||i[ef]||(i[ef]=!0,Zc("selectionchange",!1,i))}}function Rh(r,i,l,c){switch(Ru(i)){case 1:var p=Eu;break;case 4:p=Cu;break;default:p=Fo}l=p.bind(null,i,l,r),p=void 0,!ni||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(p=!0),c?p!==void 0?r.addEventListener(i,l,{capture:!0,passive:p}):r.addEventListener(i,l,!0):p!==void 0?r.addEventListener(i,l,{passive:p}):r.addEventListener(i,l,!1)}function tf(r,i,l,c,p){var h=c;if((i&1)===0&&(i&2)===0&&c!==null)e:for(;;){if(c===null)return;var w=c.tag;if(w===3||w===4){var k=c.stateNode.containerInfo;if(k===p||k.nodeType===8&&k.parentNode===p)break;if(w===4)for(w=c.return;w!==null;){var L=w.tag;if((L===3||L===4)&&(L=w.stateNode.containerInfo,L===p||L.nodeType===8&&L.parentNode===p))return;w=w.return}for(;k!==null;){if(w=Dl(k),w===null)return;if(L=w.tag,L===5||L===6){c=h=w;continue e}k=k.parentNode}}c=c.return}Oo(function(){var Q=h,fe=Xt(l),me=[];e:{var ce=ap.get(r);if(ce!==void 0){var _e=wt,Ae=r;switch(r){case"keypress":if(J(l)===0)break e;case"keydown":case"keyup":_e=qd;break;case"focusin":Ae="focus",_e=$l;break;case"focusout":Ae="blur",_e=$l;break;case"beforeblur":case"afterblur":_e=$l;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":_e=Vo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":_e=ro;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":_e=lh;break;case wh:case Eh:case Ch:_e=Bc;break;case $h:_e=ao;break;case"scroll":_e=sn;break;case"wheel":_e=oo;break;case"copy":case"cut":case"paste":_e=rh;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":_e=oh}var Fe=(i&4)!==0,An=!Fe&&r==="scroll",H=Fe?ce!==null?ce+"Capture":null:ce;Fe=[];for(var U=Q,W;U!==null;){W=U;var de=W.stateNode;if(W.tag===5&&de!==null&&(W=de,H!==null&&(de=Ur(U,H),de!=null&&Fe.push(Ou(U,de,W)))),An)break;U=U.return}0<Fe.length&&(ce=new _e(ce,Ae,null,l,fe),me.push({event:ce,listeners:Fe}))}}if((i&7)===0){e:{if(ce=r==="mouseover"||r==="pointerover",_e=r==="mouseout"||r==="pointerout",ce&&l!==yn&&(Ae=l.relatedTarget||l.fromElement)&&(Dl(Ae)||Ae[lo]))break e;if((_e||ce)&&(ce=fe.window===fe?fe:(ce=fe.ownerDocument)?ce.defaultView||ce.parentWindow:window,_e?(Ae=l.relatedTarget||l.toElement,_e=Q,Ae=Ae?Dl(Ae):null,Ae!==null&&(An=ut(Ae),Ae!==An||Ae.tag!==5&&Ae.tag!==6)&&(Ae=null)):(_e=null,Ae=Q),_e!==Ae)){if(Fe=Vo,de="onMouseLeave",H="onMouseEnter",U="mouse",(r==="pointerout"||r==="pointerover")&&(Fe=oh,de="onPointerLeave",H="onPointerEnter",U="pointer"),An=_e==null?ce:pa(_e),W=Ae==null?ce:pa(Ae),ce=new Fe(de,U+"leave",_e,l,fe),ce.target=An,ce.relatedTarget=W,de=null,Dl(fe)===Q&&(Fe=new Fe(H,U+"enter",Ae,l,fe),Fe.target=W,Fe.relatedTarget=An,de=Fe),An=de,_e&&Ae)t:{for(Fe=_e,H=Ae,U=0,W=Fe;W;W=Ho(W))U++;for(W=0,de=H;de;de=Ho(de))W++;for(;0<U-W;)Fe=Ho(Fe),U--;for(;0<W-U;)H=Ho(H),W--;for(;U--;){if(Fe===H||H!==null&&Fe===H.alternate)break t;Fe=Ho(Fe),H=Ho(H)}Fe=null}else Fe=null;_e!==null&&Th(me,ce,_e,Fe,!1),Ae!==null&&An!==null&&Th(me,An,Ae,Fe,!0)}}e:{if(ce=Q?pa(Q):window,_e=ce.nodeName&&ce.nodeName.toLowerCase(),_e==="select"||_e==="input"&&ce.type==="file")var Ue=Bg;else if(ph(ce))if(hh)Ue=xh;else{Ue=bh;var et=Wg}else(_e=ce.nodeName)&&_e.toLowerCase()==="input"&&(ce.type==="checkbox"||ce.type==="radio")&&(Ue=Yg);if(Ue&&(Ue=Ue(r,Q))){Jd(me,Ue,l,fe);break e}et&&et(r,ce,Q),r==="focusout"&&(et=ce._wrapperState)&&et.controlled&&ce.type==="number"&&Si(ce,"number",ce.value)}switch(et=Q?pa(Q):window,r){case"focusin":(ph(et)||et.contentEditable==="true")&&(Nu=et,tp=Q,ks=null);break;case"focusout":ks=tp=Nu=null;break;case"mousedown":np=!0;break;case"contextmenu":case"mouseup":case"dragend":np=!1,rp(me,l,fe);break;case"selectionchange":if(Qg)break;case"keydown":case"keyup":rp(me,l,fe)}var nt;if(Tu)e:{switch(r){case"compositionstart":var st="onCompositionStart";break e;case"compositionend":st="onCompositionEnd";break e;case"compositionupdate":st="onCompositionUpdate";break e}st=void 0}else ku?ch(r,l)&&(st="onCompositionEnd"):r==="keydown"&&l.keyCode===229&&(st="onCompositionStart");st&&(uh&&l.locale!=="ko"&&(ku||st!=="onCompositionStart"?st==="onCompositionEnd"&&ku&&(nt=G()):(fa=fe,S="value"in fa?fa.value:fa.textContent,ku=!0)),et=Ns(Q,st),0<et.length&&(st=new Yd(st,r,null,l,fe),me.push({event:st,listeners:et}),nt?st.data=nt:(nt=fh(l),nt!==null&&(st.data=nt)))),(nt=Cs?dh(r,l):Hg(r,l))&&(Q=Ns(Q,"onBeforeInput"),0<Q.length&&(fe=new Yd("onBeforeInput","beforeinput",null,l,fe),me.push({event:fe,listeners:Q}),fe.data=nt))}_l(me,i)})}function Ou(r,i,l){return{instance:r,listener:i,currentTarget:l}}function Ns(r,i){for(var l=i+"Capture",c=[];r!==null;){var p=r,h=p.stateNode;p.tag===5&&h!==null&&(p=h,h=Ur(r,l),h!=null&&c.unshift(Ou(r,h,p)),h=Ur(r,i),h!=null&&c.push(Ou(r,h,p))),r=r.return}return c}function Ho(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5);return r||null}function Th(r,i,l,c,p){for(var h=i._reactName,w=[];l!==null&&l!==c;){var k=l,L=k.alternate,Q=k.stateNode;if(L!==null&&L===c)break;k.tag===5&&Q!==null&&(k=Q,p?(L=Ur(l,h),L!=null&&w.unshift(Ou(l,L,k))):p||(L=Ur(l,h),L!=null&&w.push(Ou(l,L,k)))),l=l.return}w.length!==0&&r.push({event:i,listeners:w})}var kh=/\r\n?/g,Xg=/\u0000|\uFFFD/g;function _h(r){return(typeof r=="string"?r:""+r).replace(kh,`
|
|
99
|
+
`).replace(Xg,"")}function nf(r,i,l){if(i=_h(i),_h(r)!==i&&l)throw Error(d(425))}function Io(){}var Ds=null,Nl=null;function rf(r,i){return r==="textarea"||r==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var af=typeof setTimeout=="function"?setTimeout:void 0,up=typeof clearTimeout=="function"?clearTimeout:void 0,Nh=typeof Promise=="function"?Promise:void 0,Lu=typeof queueMicrotask=="function"?queueMicrotask:typeof Nh<"u"?function(r){return Nh.resolve(null).then(r).catch(of)}:af;function of(r){setTimeout(function(){throw r})}function Mu(r,i){var l=i,c=0;do{var p=l.nextSibling;if(r.removeChild(l),p&&p.nodeType===8)if(l=p.data,l==="/$"){if(c===0){r.removeChild(p),ca(i);return}c--}else l!=="$"&&l!=="$?"&&l!=="$!"||c++;l=p}while(l);ca(i)}function Ma(r){for(;r!=null;r=r.nextSibling){var i=r.nodeType;if(i===1||i===3)break;if(i===8){if(i=r.data,i==="$"||i==="$!"||i==="$?")break;if(i==="/$")return null}}return r}function Dh(r){r=r.previousSibling;for(var i=0;r;){if(r.nodeType===8){var l=r.data;if(l==="$"||l==="$!"||l==="$?"){if(i===0)return r;i--}else l==="/$"&&i++}r=r.previousSibling}return null}var Bo=Math.random().toString(36).slice(2),za="__reactFiber$"+Bo,Os="__reactProps$"+Bo,lo="__reactContainer$"+Bo,Ls="__reactEvents$"+Bo,zu="__reactListeners$"+Bo,Jg="__reactHandles$"+Bo;function Dl(r){var i=r[za];if(i)return i;for(var l=r.parentNode;l;){if(i=l[lo]||l[za]){if(l=i.alternate,i.child!==null||l!==null&&l.child!==null)for(r=Dh(r);r!==null;){if(l=r[za])return l;r=Dh(r)}return i}r=l,l=r.parentNode}return null}function We(r){return r=r[za]||r[lo],!r||r.tag!==5&&r.tag!==6&&r.tag!==13&&r.tag!==3?null:r}function pa(r){if(r.tag===5||r.tag===6)return r.stateNode;throw Error(d(33))}function Dn(r){return r[Os]||null}var _t=[],Pi=-1;function ma(r){return{current:r}}function cn(r){0>Pi||(r.current=_t[Pi],_t[Pi]=null,Pi--)}function Ie(r,i){Pi++,_t[Pi]=r.current,r.current=i}var ai={},kn=ma(ai),er=ma(!1),oi=ai;function Hi(r,i){var l=r.type.contextTypes;if(!l)return ai;var c=r.stateNode;if(c&&c.__reactInternalMemoizedUnmaskedChildContext===i)return c.__reactInternalMemoizedMaskedChildContext;var p={},h;for(h in l)p[h]=i[h];return c&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=i,r.__reactInternalMemoizedMaskedChildContext=p),p}function Pn(r){return r=r.childContextTypes,r!=null}function Au(){cn(er),cn(kn)}function Oh(r,i,l){if(kn.current!==ai)throw Error(d(168));Ie(kn,i),Ie(er,l)}function Ms(r,i,l){var c=r.stateNode;if(i=i.childContextTypes,typeof c.getChildContext!="function")return l;c=c.getChildContext();for(var p in c)if(!(p in i))throw Error(d(108,ft(r)||"Unknown",p));return Se({},l,c)}function li(r){return r=(r=r.stateNode)&&r.__reactInternalMemoizedMergedChildContext||ai,oi=kn.current,Ie(kn,r),Ie(er,er.current),!0}function lf(r,i,l){var c=r.stateNode;if(!c)throw Error(d(169));l?(r=Ms(r,i,oi),c.__reactInternalMemoizedMergedChildContext=r,cn(er),cn(kn),Ie(kn,r)):cn(er),Ie(er,l)}var Aa=null,Uu=!1,uo=!1;function uf(r){Aa===null?Aa=[r]:Aa.push(r)}function Wo(r){Uu=!0,uf(r)}function Ua(){if(!uo&&Aa!==null){uo=!0;var r=0,i=Vt;try{var l=Aa;for(Vt=1;r<l.length;r++){var c=l[r];do c=c(!0);while(c!==null)}Aa=null,Uu=!1}catch(p){throw Aa!==null&&(Aa=Aa.slice(r+1)),la(eo,Ua),p}finally{Vt=i,uo=!1}}return null}var Yo=[],Go=0,Qo=null,so=0,Hn=[],Ii=0,Ci=null,ja=1,Fa="";function Ol(r,i){Yo[Go++]=so,Yo[Go++]=Qo,Qo=r,so=i}function Lh(r,i,l){Hn[Ii++]=ja,Hn[Ii++]=Fa,Hn[Ii++]=Ci,Ci=r;var c=ja;r=Fa;var p=32-jr(c)-1;c&=~(1<<p),l+=1;var h=32-jr(i)+p;if(30<h){var w=p-p%5;h=(c&(1<<w)-1).toString(32),c>>=w,p-=w,ja=1<<32-jr(i)+p|l<<p|c,Fa=h+r}else ja=1<<h|l<<p|c,Fa=r}function sf(r){r.return!==null&&(Ol(r,1),Lh(r,1,0))}function cf(r){for(;r===Qo;)Qo=Yo[--Go],Yo[Go]=null,so=Yo[--Go],Yo[Go]=null;for(;r===Ci;)Ci=Hn[--Ii],Hn[Ii]=null,Fa=Hn[--Ii],Hn[Ii]=null,ja=Hn[--Ii],Hn[Ii]=null}var ui=null,si=null,bn=!1,Bi=null;function sp(r,i){var l=qi(5,null,null,0);l.elementType="DELETED",l.stateNode=i,l.return=r,i=r.deletions,i===null?(r.deletions=[l],r.flags|=16):i.push(l)}function Mh(r,i){switch(r.tag){case 5:var l=r.type;return i=i.nodeType!==1||l.toLowerCase()!==i.nodeName.toLowerCase()?null:i,i!==null?(r.stateNode=i,ui=r,si=Ma(i.firstChild),!0):!1;case 6:return i=r.pendingProps===""||i.nodeType!==3?null:i,i!==null?(r.stateNode=i,ui=r,si=null,!0):!1;case 13:return i=i.nodeType!==8?null:i,i!==null?(l=Ci!==null?{id:ja,overflow:Fa}:null,r.memoizedState={dehydrated:i,treeContext:l,retryLane:1073741824},l=qi(18,null,null,0),l.stateNode=i,l.return=r,r.child=l,ui=r,si=null,!0):!1;default:return!1}}function cp(r){return(r.mode&1)!==0&&(r.flags&128)===0}function fp(r){if(bn){var i=si;if(i){var l=i;if(!Mh(r,i)){if(cp(r))throw Error(d(418));i=Ma(l.nextSibling);var c=ui;i&&Mh(r,i)?sp(c,l):(r.flags=r.flags&-4097|2,bn=!1,ui=r)}}else{if(cp(r))throw Error(d(418));r.flags=r.flags&-4097|2,bn=!1,ui=r}}}function tr(r){for(r=r.return;r!==null&&r.tag!==5&&r.tag!==3&&r.tag!==13;)r=r.return;ui=r}function ff(r){if(r!==ui)return!1;if(!bn)return tr(r),bn=!0,!1;var i;if((i=r.tag!==3)&&!(i=r.tag!==5)&&(i=r.type,i=i!=="head"&&i!=="body"&&!rf(r.type,r.memoizedProps)),i&&(i=si)){if(cp(r))throw zs(),Error(d(418));for(;i;)sp(r,i),i=Ma(i.nextSibling)}if(tr(r),r.tag===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(d(317));e:{for(r=r.nextSibling,i=0;r;){if(r.nodeType===8){var l=r.data;if(l==="/$"){if(i===0){si=Ma(r.nextSibling);break e}i--}else l!=="$"&&l!=="$!"&&l!=="$?"||i++}r=r.nextSibling}si=null}}else si=ui?Ma(r.stateNode.nextSibling):null;return!0}function zs(){for(var r=si;r;)r=Ma(r.nextSibling)}function qo(){si=ui=null,bn=!1}function co(r){Bi===null?Bi=[r]:Bi.push(r)}var Zg=ie.ReactCurrentBatchConfig;function Ll(r,i,l){if(r=l.ref,r!==null&&typeof r!="function"&&typeof r!="object"){if(l._owner){if(l=l._owner,l){if(l.tag!==1)throw Error(d(309));var c=l.stateNode}if(!c)throw Error(d(147,r));var p=c,h=""+r;return i!==null&&i.ref!==null&&typeof i.ref=="function"&&i.ref._stringRef===h?i.ref:(i=function(w){var k=p.refs;w===null?delete k[h]:k[h]=w},i._stringRef=h,i)}if(typeof r!="string")throw Error(d(284));if(!l._owner)throw Error(d(290,r))}return r}function df(r,i){throw r=Object.prototype.toString.call(i),Error(d(31,r==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":r))}function zh(r){var i=r._init;return i(r._payload)}function Ml(r){function i(H,U){if(r){var W=H.deletions;W===null?(H.deletions=[U],H.flags|=16):W.push(U)}}function l(H,U){if(!r)return null;for(;U!==null;)i(H,U),U=U.sibling;return null}function c(H,U){for(H=new Map;U!==null;)U.key!==null?H.set(U.key,U):H.set(U.index,U),U=U.sibling;return H}function p(H,U){return H=rl(H,U),H.index=0,H.sibling=null,H}function h(H,U,W){return H.index=W,r?(W=H.alternate,W!==null?(W=W.index,W<U?(H.flags|=2,U):W):(H.flags|=2,U)):(H.flags|=1048576,U)}function w(H){return r&&H.alternate===null&&(H.flags|=2),H}function k(H,U,W,de){return U===null||U.tag!==6?(U=Hp(W,H.mode,de),U.return=H,U):(U=p(U,W),U.return=H,U)}function L(H,U,W,de){var Ue=W.type;return Ue===le?fe(H,U,W.props.children,de,W.key):U!==null&&(U.elementType===Ue||typeof Ue=="object"&&Ue!==null&&Ue.$$typeof===Mt&&zh(Ue)===U.type)?(de=p(U,W.props),de.ref=Ll(H,U,W),de.return=H,de):(de=fc(W.type,W.key,W.props,null,H.mode,de),de.ref=Ll(H,U,W),de.return=H,de)}function Q(H,U,W,de){return U===null||U.tag!==4||U.stateNode.containerInfo!==W.containerInfo||U.stateNode.implementation!==W.implementation?(U=Wf(W,H.mode,de),U.return=H,U):(U=p(U,W.children||[]),U.return=H,U)}function fe(H,U,W,de,Ue){return U===null||U.tag!==7?(U=yo(W,H.mode,de,Ue),U.return=H,U):(U=p(U,W),U.return=H,U)}function me(H,U,W){if(typeof U=="string"&&U!==""||typeof U=="number")return U=Hp(""+U,H.mode,W),U.return=H,U;if(typeof U=="object"&&U!==null){switch(U.$$typeof){case ne:return W=fc(U.type,U.key,U.props,null,H.mode,W),W.ref=Ll(H,null,U),W.return=H,W;case pe:return U=Wf(U,H.mode,W),U.return=H,U;case Mt:var de=U._init;return me(H,de(U._payload),W)}if(ar(U)||Oe(U))return U=yo(U,H.mode,W,null),U.return=H,U;df(H,U)}return null}function ce(H,U,W,de){var Ue=U!==null?U.key:null;if(typeof W=="string"&&W!==""||typeof W=="number")return Ue!==null?null:k(H,U,""+W,de);if(typeof W=="object"&&W!==null){switch(W.$$typeof){case ne:return W.key===Ue?L(H,U,W,de):null;case pe:return W.key===Ue?Q(H,U,W,de):null;case Mt:return Ue=W._init,ce(H,U,Ue(W._payload),de)}if(ar(W)||Oe(W))return Ue!==null?null:fe(H,U,W,de,null);df(H,W)}return null}function _e(H,U,W,de,Ue){if(typeof de=="string"&&de!==""||typeof de=="number")return H=H.get(W)||null,k(U,H,""+de,Ue);if(typeof de=="object"&&de!==null){switch(de.$$typeof){case ne:return H=H.get(de.key===null?W:de.key)||null,L(U,H,de,Ue);case pe:return H=H.get(de.key===null?W:de.key)||null,Q(U,H,de,Ue);case Mt:var et=de._init;return _e(H,U,W,et(de._payload),Ue)}if(ar(de)||Oe(de))return H=H.get(W)||null,fe(U,H,de,Ue,null);df(U,de)}return null}function Ae(H,U,W,de){for(var Ue=null,et=null,nt=U,st=U=0,sr=null;nt!==null&&st<W.length;st++){nt.index>st?(sr=nt,nt=null):sr=nt.sibling;var It=ce(H,nt,W[st],de);if(It===null){nt===null&&(nt=sr);break}r&&nt&&It.alternate===null&&i(H,nt),U=h(It,U,st),et===null?Ue=It:et.sibling=It,et=It,nt=sr}if(st===W.length)return l(H,nt),bn&&Ol(H,st),Ue;if(nt===null){for(;st<W.length;st++)nt=me(H,W[st],de),nt!==null&&(U=h(nt,U,st),et===null?Ue=nt:et.sibling=nt,et=nt);return bn&&Ol(H,st),Ue}for(nt=c(H,nt);st<W.length;st++)sr=_e(nt,H,st,W[st],de),sr!==null&&(r&&sr.alternate!==null&&nt.delete(sr.key===null?st:sr.key),U=h(sr,U,st),et===null?Ue=sr:et.sibling=sr,et=sr);return r&&nt.forEach(function(ol){return i(H,ol)}),bn&&Ol(H,st),Ue}function Fe(H,U,W,de){var Ue=Oe(W);if(typeof Ue!="function")throw Error(d(150));if(W=Ue.call(W),W==null)throw Error(d(151));for(var et=Ue=null,nt=U,st=U=0,sr=null,It=W.next();nt!==null&&!It.done;st++,It=W.next()){nt.index>st?(sr=nt,nt=null):sr=nt.sibling;var ol=ce(H,nt,It.value,de);if(ol===null){nt===null&&(nt=sr);break}r&&nt&&ol.alternate===null&&i(H,nt),U=h(ol,U,st),et===null?Ue=ol:et.sibling=ol,et=ol,nt=sr}if(It.done)return l(H,nt),bn&&Ol(H,st),Ue;if(nt===null){for(;!It.done;st++,It=W.next())It=me(H,It.value,de),It!==null&&(U=h(It,U,st),et===null?Ue=It:et.sibling=It,et=It);return bn&&Ol(H,st),Ue}for(nt=c(H,nt);!It.done;st++,It=W.next())It=_e(nt,H,st,It.value,de),It!==null&&(r&&It.alternate!==null&&nt.delete(It.key===null?st:It.key),U=h(It,U,st),et===null?Ue=It:et.sibling=It,et=It);return r&&nt.forEach(function(yv){return i(H,yv)}),bn&&Ol(H,st),Ue}function An(H,U,W,de){if(typeof W=="object"&&W!==null&&W.type===le&&W.key===null&&(W=W.props.children),typeof W=="object"&&W!==null){switch(W.$$typeof){case ne:e:{for(var Ue=W.key,et=U;et!==null;){if(et.key===Ue){if(Ue=W.type,Ue===le){if(et.tag===7){l(H,et.sibling),U=p(et,W.props.children),U.return=H,H=U;break e}}else if(et.elementType===Ue||typeof Ue=="object"&&Ue!==null&&Ue.$$typeof===Mt&&zh(Ue)===et.type){l(H,et.sibling),U=p(et,W.props),U.ref=Ll(H,et,W),U.return=H,H=U;break e}l(H,et);break}else i(H,et);et=et.sibling}W.type===le?(U=yo(W.props.children,H.mode,de,W.key),U.return=H,H=U):(de=fc(W.type,W.key,W.props,null,H.mode,de),de.ref=Ll(H,U,W),de.return=H,H=de)}return w(H);case pe:e:{for(et=W.key;U!==null;){if(U.key===et)if(U.tag===4&&U.stateNode.containerInfo===W.containerInfo&&U.stateNode.implementation===W.implementation){l(H,U.sibling),U=p(U,W.children||[]),U.return=H,H=U;break e}else{l(H,U);break}else i(H,U);U=U.sibling}U=Wf(W,H.mode,de),U.return=H,H=U}return w(H);case Mt:return et=W._init,An(H,U,et(W._payload),de)}if(ar(W))return Ae(H,U,W,de);if(Oe(W))return Fe(H,U,W,de);df(H,W)}return typeof W=="string"&&W!==""||typeof W=="number"?(W=""+W,U!==null&&U.tag===6?(l(H,U.sibling),U=p(U,W),U.return=H,H=U):(l(H,U),U=Hp(W,H.mode,de),U.return=H,H=U),w(H)):l(H,U)}return An}var On=Ml(!0),Re=Ml(!1),$i=ma(null),ci=null,ju=null,dp=null;function pp(){dp=ju=ci=null}function mp(r){var i=$i.current;cn($i),r._currentValue=i}function hp(r,i,l){for(;r!==null;){var c=r.alternate;if((r.childLanes&i)!==i?(r.childLanes|=i,c!==null&&(c.childLanes|=i)):c!==null&&(c.childLanes&i)!==i&&(c.childLanes|=i),r===l)break;r=r.return}}function Cn(r,i){ci=r,dp=ju=null,r=r.dependencies,r!==null&&r.firstContext!==null&&((r.lanes&i)!==0&&(Bn=!0),r.firstContext=null)}function Wi(r){var i=r._currentValue;if(dp!==r)if(r={context:r,memoizedValue:i,next:null},ju===null){if(ci===null)throw Error(d(308));ju=r,ci.dependencies={lanes:0,firstContext:r}}else ju=ju.next=r;return i}var zl=null;function vp(r){zl===null?zl=[r]:zl.push(r)}function yp(r,i,l,c){var p=i.interleaved;return p===null?(l.next=l,vp(i)):(l.next=p.next,p.next=l),i.interleaved=l,Ri(r,c)}function Ri(r,i){r.lanes|=i;var l=r.alternate;for(l!==null&&(l.lanes|=i),l=r,r=r.return;r!==null;)r.childLanes|=i,l=r.alternate,l!==null&&(l.childLanes|=i),l=r,r=r.return;return l.tag===3?l.stateNode:null}var Ti=!1;function gp(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ah(r,i){r=r.updateQueue,i.updateQueue===r&&(i.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects})}function fo(r,i){return{eventTime:r,lane:i,tag:0,payload:null,callback:null,next:null}}function Ko(r,i,l){var c=r.updateQueue;if(c===null)return null;if(c=c.shared,(Nt&2)!==0){var p=c.pending;return p===null?i.next=i:(i.next=p.next,p.next=i),c.pending=i,Ri(r,l)}return p=c.interleaved,p===null?(i.next=i,vp(c)):(i.next=p.next,p.next=i),c.interleaved=i,Ri(r,l)}function pf(r,i,l){if(i=i.updateQueue,i!==null&&(i=i.shared,(l&4194240)!==0)){var c=i.lanes;c&=r.pendingLanes,l|=c,i.lanes=l,no(r,l)}}function Uh(r,i){var l=r.updateQueue,c=r.alternate;if(c!==null&&(c=c.updateQueue,l===c)){var p=null,h=null;if(l=l.firstBaseUpdate,l!==null){do{var w={eventTime:l.eventTime,lane:l.lane,tag:l.tag,payload:l.payload,callback:l.callback,next:null};h===null?p=h=w:h=h.next=w,l=l.next}while(l!==null);h===null?p=h=i:h=h.next=i}else p=h=i;l={baseState:c.baseState,firstBaseUpdate:p,lastBaseUpdate:h,shared:c.shared,effects:c.effects},r.updateQueue=l;return}r=l.lastBaseUpdate,r===null?l.firstBaseUpdate=i:r.next=i,l.lastBaseUpdate=i}function As(r,i,l,c){var p=r.updateQueue;Ti=!1;var h=p.firstBaseUpdate,w=p.lastBaseUpdate,k=p.shared.pending;if(k!==null){p.shared.pending=null;var L=k,Q=L.next;L.next=null,w===null?h=Q:w.next=Q,w=L;var fe=r.alternate;fe!==null&&(fe=fe.updateQueue,k=fe.lastBaseUpdate,k!==w&&(k===null?fe.firstBaseUpdate=Q:k.next=Q,fe.lastBaseUpdate=L))}if(h!==null){var me=p.baseState;w=0,fe=Q=L=null,k=h;do{var ce=k.lane,_e=k.eventTime;if((c&ce)===ce){fe!==null&&(fe=fe.next={eventTime:_e,lane:0,tag:k.tag,payload:k.payload,callback:k.callback,next:null});e:{var Ae=r,Fe=k;switch(ce=i,_e=l,Fe.tag){case 1:if(Ae=Fe.payload,typeof Ae=="function"){me=Ae.call(_e,me,ce);break e}me=Ae;break e;case 3:Ae.flags=Ae.flags&-65537|128;case 0:if(Ae=Fe.payload,ce=typeof Ae=="function"?Ae.call(_e,me,ce):Ae,ce==null)break e;me=Se({},me,ce);break e;case 2:Ti=!0}}k.callback!==null&&k.lane!==0&&(r.flags|=64,ce=p.effects,ce===null?p.effects=[k]:ce.push(k))}else _e={eventTime:_e,lane:ce,tag:k.tag,payload:k.payload,callback:k.callback,next:null},fe===null?(Q=fe=_e,L=me):fe=fe.next=_e,w|=ce;if(k=k.next,k===null){if(k=p.shared.pending,k===null)break;ce=k,k=ce.next,ce.next=null,p.lastBaseUpdate=ce,p.shared.pending=null}}while(!0);if(fe===null&&(L=me),p.baseState=L,p.firstBaseUpdate=Q,p.lastBaseUpdate=fe,i=p.shared.interleaved,i!==null){p=i;do w|=p.lane,p=p.next;while(p!==i)}else h===null&&(p.shared.lanes=0);Ba|=w,r.lanes=w,r.memoizedState=me}}function bp(r,i,l){if(r=i.effects,i.effects=null,r!==null)for(i=0;i<r.length;i++){var c=r[i],p=c.callback;if(p!==null){if(c.callback=null,c=l,typeof p!="function")throw Error(d(191,p));p.call(c)}}}var Us={},Va=ma(Us),js=ma(Us),Fs=ma(Us);function Al(r){if(r===Us)throw Error(d(174));return r}function xp(r,i){switch(Ie(Fs,i),Ie(js,r),Ie(Va,Us),r=i.nodeType,r){case 9:case 11:i=(i=i.documentElement)?i.namespaceURI:Nr(null,"");break;default:r=r===8?i.parentNode:i,i=r.namespaceURI||null,r=r.tagName,i=Nr(i,r)}cn(Va),Ie(Va,i)}function Ul(){cn(Va),cn(js),cn(Fs)}function jh(r){Al(Fs.current);var i=Al(Va.current),l=Nr(i,r.type);i!==l&&(Ie(js,r),Ie(Va,l))}function mf(r){js.current===r&&(cn(Va),cn(js))}var $n=ma(0);function hf(r){for(var i=r;i!==null;){if(i.tag===13){var l=i.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||l.data==="$!"))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===r)break;for(;i.sibling===null;){if(i.return===null||i.return===r)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var Vs=[];function Ye(){for(var r=0;r<Vs.length;r++)Vs[r]._workInProgressVersionPrimary=null;Vs.length=0}var St=ie.ReactCurrentDispatcher,Pt=ie.ReactCurrentBatchConfig,tn=0,Ht=null,In=null,lr=null,vf=!1,Ps=!1,jl=0,ue=0;function Ft(){throw Error(d(321))}function rt(r,i){if(i===null)return!1;for(var l=0;l<i.length&&l<r.length;l++)if(!da(r[l],i[l]))return!1;return!0}function Xo(r,i,l,c,p,h){if(tn=h,Ht=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,St.current=r===null||r.memoizedState===null?Df:Gs,r=l(c,p),Ps){h=0;do{if(Ps=!1,jl=0,25<=h)throw Error(d(301));h+=1,lr=In=null,i.updateQueue=null,St.current=Of,r=l(c,p)}while(Ps)}if(St.current=Il,i=In!==null&&In.next!==null,tn=0,lr=In=Ht=null,vf=!1,i)throw Error(d(300));return r}function ha(){var r=jl!==0;return jl=0,r}function Lr(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return lr===null?Ht.memoizedState=lr=r:lr=lr.next=r,lr}function Ln(){if(In===null){var r=Ht.alternate;r=r!==null?r.memoizedState:null}else r=In.next;var i=lr===null?Ht.memoizedState:lr.next;if(i!==null)lr=i,In=r;else{if(r===null)throw Error(d(310));In=r,r={memoizedState:In.memoizedState,baseState:In.baseState,baseQueue:In.baseQueue,queue:In.queue,next:null},lr===null?Ht.memoizedState=lr=r:lr=lr.next=r}return lr}function po(r,i){return typeof i=="function"?i(r):i}function Jo(r){var i=Ln(),l=i.queue;if(l===null)throw Error(d(311));l.lastRenderedReducer=r;var c=In,p=c.baseQueue,h=l.pending;if(h!==null){if(p!==null){var w=p.next;p.next=h.next,h.next=w}c.baseQueue=p=h,l.pending=null}if(p!==null){h=p.next,c=c.baseState;var k=w=null,L=null,Q=h;do{var fe=Q.lane;if((tn&fe)===fe)L!==null&&(L=L.next={lane:0,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null}),c=Q.hasEagerState?Q.eagerState:r(c,Q.action);else{var me={lane:fe,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null};L===null?(k=L=me,w=c):L=L.next=me,Ht.lanes|=fe,Ba|=fe}Q=Q.next}while(Q!==null&&Q!==h);L===null?w=c:L.next=k,da(c,i.memoizedState)||(Bn=!0),i.memoizedState=c,i.baseState=w,i.baseQueue=L,l.lastRenderedState=c}if(r=l.interleaved,r!==null){p=r;do h=p.lane,Ht.lanes|=h,Ba|=h,p=p.next;while(p!==r)}else p===null&&(l.lanes=0);return[i.memoizedState,l.dispatch]}function Fl(r){var i=Ln(),l=i.queue;if(l===null)throw Error(d(311));l.lastRenderedReducer=r;var c=l.dispatch,p=l.pending,h=i.memoizedState;if(p!==null){l.pending=null;var w=p=p.next;do h=r(h,w.action),w=w.next;while(w!==p);da(h,i.memoizedState)||(Bn=!0),i.memoizedState=h,i.baseQueue===null&&(i.baseState=h),l.lastRenderedState=h}return[h,c]}function yf(){}function gf(r,i){var l=Ht,c=Ln(),p=i(),h=!da(c.memoizedState,p);if(h&&(c.memoizedState=p,Bn=!0),c=c.queue,Hs(Sf.bind(null,l,c,r),[r]),c.getSnapshot!==i||h||lr!==null&&lr.memoizedState.tag&1){if(l.flags|=2048,Vl(9,xf.bind(null,l,c,p,i),void 0,null),nr===null)throw Error(d(349));(tn&30)!==0||bf(l,i,p)}return p}function bf(r,i,l){r.flags|=16384,r={getSnapshot:i,value:l},i=Ht.updateQueue,i===null?(i={lastEffect:null,stores:null},Ht.updateQueue=i,i.stores=[r]):(l=i.stores,l===null?i.stores=[r]:l.push(r))}function xf(r,i,l,c){i.value=l,i.getSnapshot=c,wf(i)&&Ef(r)}function Sf(r,i,l){return l(function(){wf(i)&&Ef(r)})}function wf(r){var i=r.getSnapshot;r=r.value;try{var l=i();return!da(r,l)}catch{return!0}}function Ef(r){var i=Ri(r,1);i!==null&&Br(i,r,1,-1)}function Cf(r){var i=Lr();return typeof r=="function"&&(r=r()),i.memoizedState=i.baseState=r,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:po,lastRenderedState:r},i.queue=r,r=r.dispatch=Hl.bind(null,Ht,r),[i.memoizedState,r]}function Vl(r,i,l,c){return r={tag:r,create:i,destroy:l,deps:c,next:null},i=Ht.updateQueue,i===null?(i={lastEffect:null,stores:null},Ht.updateQueue=i,i.lastEffect=r.next=r):(l=i.lastEffect,l===null?i.lastEffect=r.next=r:(c=l.next,l.next=r,r.next=c,i.lastEffect=r)),r}function $f(){return Ln().memoizedState}function Fu(r,i,l,c){var p=Lr();Ht.flags|=r,p.memoizedState=Vl(1|i,l,void 0,c===void 0?null:c)}function Vu(r,i,l,c){var p=Ln();c=c===void 0?null:c;var h=void 0;if(In!==null){var w=In.memoizedState;if(h=w.destroy,c!==null&&rt(c,w.deps)){p.memoizedState=Vl(i,l,h,c);return}}Ht.flags|=r,p.memoizedState=Vl(1|i,l,h,c)}function Rf(r,i){return Fu(8390656,8,r,i)}function Hs(r,i){return Vu(2048,8,r,i)}function Tf(r,i){return Vu(4,2,r,i)}function Is(r,i){return Vu(4,4,r,i)}function Pl(r,i){if(typeof i=="function")return r=r(),i(r),function(){i(null)};if(i!=null)return r=r(),i.current=r,function(){i.current=null}}function kf(r,i,l){return l=l!=null?l.concat([r]):null,Vu(4,4,Pl.bind(null,i,r),l)}function Bs(){}function _f(r,i){var l=Ln();i=i===void 0?null:i;var c=l.memoizedState;return c!==null&&i!==null&&rt(i,c[1])?c[0]:(l.memoizedState=[r,i],r)}function Nf(r,i){var l=Ln();i=i===void 0?null:i;var c=l.memoizedState;return c!==null&&i!==null&&rt(i,c[1])?c[0]:(r=r(),l.memoizedState=[r,i],r)}function Sp(r,i,l){return(tn&21)===0?(r.baseState&&(r.baseState=!1,Bn=!0),r.memoizedState=l):(da(l,i)||(l=bu(),Ht.lanes|=l,Ba|=l,r.baseState=!0),i)}function Ws(r,i){var l=Vt;Vt=l!==0&&4>l?l:4,r(!0);var c=Pt.transition;Pt.transition={};try{r(!1),i()}finally{Vt=l,Pt.transition=c}}function wp(){return Ln().memoizedState}function Ys(r,i,l){var c=Wa(r);if(l={lane:c,action:l,hasEagerState:!1,eagerState:null,next:null},ki(r))Fh(i,l);else if(l=yp(r,i,l,c),l!==null){var p=Gn();Br(l,r,c,p),on(l,i,c)}}function Hl(r,i,l){var c=Wa(r),p={lane:c,action:l,hasEagerState:!1,eagerState:null,next:null};if(ki(r))Fh(i,p);else{var h=r.alternate;if(r.lanes===0&&(h===null||h.lanes===0)&&(h=i.lastRenderedReducer,h!==null))try{var w=i.lastRenderedState,k=h(w,l);if(p.hasEagerState=!0,p.eagerState=k,da(k,w)){var L=i.interleaved;L===null?(p.next=p,vp(i)):(p.next=L.next,L.next=p),i.interleaved=p;return}}catch{}finally{}l=yp(r,i,p,c),l!==null&&(p=Gn(),Br(l,r,c,p),on(l,i,c))}}function ki(r){var i=r.alternate;return r===Ht||i!==null&&i===Ht}function Fh(r,i){Ps=vf=!0;var l=r.pending;l===null?i.next=i:(i.next=l.next,l.next=i),r.pending=i}function on(r,i,l){if((l&4194240)!==0){var c=i.lanes;c&=r.pendingLanes,l|=c,i.lanes=l,no(r,l)}}var Il={readContext:Wi,useCallback:Ft,useContext:Ft,useEffect:Ft,useImperativeHandle:Ft,useInsertionEffect:Ft,useLayoutEffect:Ft,useMemo:Ft,useReducer:Ft,useRef:Ft,useState:Ft,useDebugValue:Ft,useDeferredValue:Ft,useTransition:Ft,useMutableSource:Ft,useSyncExternalStore:Ft,useId:Ft,unstable_isNewReconciler:!1},Df={readContext:Wi,useCallback:function(r,i){return Lr().memoizedState=[r,i===void 0?null:i],r},useContext:Wi,useEffect:Rf,useImperativeHandle:function(r,i,l){return l=l!=null?l.concat([r]):null,Fu(4194308,4,Pl.bind(null,i,r),l)},useLayoutEffect:function(r,i){return Fu(4194308,4,r,i)},useInsertionEffect:function(r,i){return Fu(4,2,r,i)},useMemo:function(r,i){var l=Lr();return i=i===void 0?null:i,r=r(),l.memoizedState=[r,i],r},useReducer:function(r,i,l){var c=Lr();return i=l!==void 0?l(i):i,c.memoizedState=c.baseState=i,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:i},c.queue=r,r=r.dispatch=Ys.bind(null,Ht,r),[c.memoizedState,r]},useRef:function(r){var i=Lr();return r={current:r},i.memoizedState=r},useState:Cf,useDebugValue:Bs,useDeferredValue:function(r){return Lr().memoizedState=r},useTransition:function(){var r=Cf(!1),i=r[0];return r=Ws.bind(null,r[1]),Lr().memoizedState=r,[i,r]},useMutableSource:function(){},useSyncExternalStore:function(r,i,l){var c=Ht,p=Lr();if(bn){if(l===void 0)throw Error(d(407));l=l()}else{if(l=i(),nr===null)throw Error(d(349));(tn&30)!==0||bf(c,i,l)}p.memoizedState=l;var h={value:l,getSnapshot:i};return p.queue=h,Rf(Sf.bind(null,c,h,r),[r]),c.flags|=2048,Vl(9,xf.bind(null,c,h,l,i),void 0,null),l},useId:function(){var r=Lr(),i=nr.identifierPrefix;if(bn){var l=Fa,c=ja;l=(c&~(1<<32-jr(c)-1)).toString(32)+l,i=":"+i+"R"+l,l=jl++,0<l&&(i+="H"+l.toString(32)),i+=":"}else l=ue++,i=":"+i+"r"+l.toString(32)+":";return r.memoizedState=i},unstable_isNewReconciler:!1},Gs={readContext:Wi,useCallback:_f,useContext:Wi,useEffect:Hs,useImperativeHandle:kf,useInsertionEffect:Tf,useLayoutEffect:Is,useMemo:Nf,useReducer:Jo,useRef:$f,useState:function(){return Jo(po)},useDebugValue:Bs,useDeferredValue:function(r){var i=Ln();return Sp(i,In.memoizedState,r)},useTransition:function(){var r=Jo(po)[0],i=Ln().memoizedState;return[r,i]},useMutableSource:yf,useSyncExternalStore:gf,useId:wp,unstable_isNewReconciler:!1},Of={readContext:Wi,useCallback:_f,useContext:Wi,useEffect:Hs,useImperativeHandle:kf,useInsertionEffect:Tf,useLayoutEffect:Is,useMemo:Nf,useReducer:Fl,useRef:$f,useState:function(){return Fl(po)},useDebugValue:Bs,useDeferredValue:function(r){var i=Ln();return In===null?i.memoizedState=r:Sp(i,In.memoizedState,r)},useTransition:function(){var r=Fl(po)[0],i=Ln().memoizedState;return[r,i]},useMutableSource:yf,useSyncExternalStore:gf,useId:wp,unstable_isNewReconciler:!1};function va(r,i){if(r&&r.defaultProps){i=Se({},i),r=r.defaultProps;for(var l in r)i[l]===void 0&&(i[l]=r[l]);return i}return i}function Ep(r,i,l,c){i=r.memoizedState,l=l(c,i),l=l==null?i:Se({},i,l),r.memoizedState=l,r.lanes===0&&(r.updateQueue.baseState=l)}var Lf={isMounted:function(r){return(r=r._reactInternals)?ut(r)===r:!1},enqueueSetState:function(r,i,l){r=r._reactInternals;var c=Gn(),p=Wa(r),h=fo(c,p);h.payload=i,l!=null&&(h.callback=l),i=Ko(r,h,p),i!==null&&(Br(i,r,p,c),pf(i,r,p))},enqueueReplaceState:function(r,i,l){r=r._reactInternals;var c=Gn(),p=Wa(r),h=fo(c,p);h.tag=1,h.payload=i,l!=null&&(h.callback=l),i=Ko(r,h,p),i!==null&&(Br(i,r,p,c),pf(i,r,p))},enqueueForceUpdate:function(r,i){r=r._reactInternals;var l=Gn(),c=Wa(r),p=fo(l,c);p.tag=2,i!=null&&(p.callback=i),i=Ko(r,p,c),i!==null&&(Br(i,r,c,l),pf(i,r,c))}};function Vh(r,i,l,c,p,h,w){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(c,h,w):i.prototype&&i.prototype.isPureReactComponent?!Rs(l,c)||!Rs(p,h):!0}function Mf(r,i,l){var c=!1,p=ai,h=i.contextType;return typeof h=="object"&&h!==null?h=Wi(h):(p=Pn(i)?oi:kn.current,c=i.contextTypes,h=(c=c!=null)?Hi(r,p):ai),i=new i(l,h),r.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=Lf,r.stateNode=i,i._reactInternals=r,c&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=p,r.__reactInternalMemoizedMaskedChildContext=h),i}function Ph(r,i,l,c){r=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(l,c),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(l,c),i.state!==r&&Lf.enqueueReplaceState(i,i.state,null)}function Qs(r,i,l,c){var p=r.stateNode;p.props=l,p.state=r.memoizedState,p.refs={},gp(r);var h=i.contextType;typeof h=="object"&&h!==null?p.context=Wi(h):(h=Pn(i)?oi:kn.current,p.context=Hi(r,h)),p.state=r.memoizedState,h=i.getDerivedStateFromProps,typeof h=="function"&&(Ep(r,i,h,l),p.state=r.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof p.getSnapshotBeforeUpdate=="function"||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(i=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),i!==p.state&&Lf.enqueueReplaceState(p,p.state,null),As(r,l,p,c),p.state=r.memoizedState),typeof p.componentDidMount=="function"&&(r.flags|=4194308)}function Bl(r,i){try{var l="",c=i;do l+=mt(c),c=c.return;while(c);var p=l}catch(h){p=`
|
|
100
|
+
Error generating stack: `+h.message+`
|
|
101
|
+
`+h.stack}return{value:r,source:i,stack:p,digest:null}}function Cp(r,i,l){return{value:r,source:null,stack:l??null,digest:i??null}}function $p(r,i){try{console.error(i.value)}catch(l){setTimeout(function(){throw l})}}var zf=typeof WeakMap=="function"?WeakMap:Map;function Hh(r,i,l){l=fo(-1,l),l.tag=3,l.payload={element:null};var c=i.value;return l.callback=function(){Yu||(Yu=!0,Gl=c),$p(r,i)},l}function Rp(r,i,l){l=fo(-1,l),l.tag=3;var c=r.type.getDerivedStateFromError;if(typeof c=="function"){var p=i.value;l.payload=function(){return c(p)},l.callback=function(){$p(r,i)}}var h=r.stateNode;return h!==null&&typeof h.componentDidCatch=="function"&&(l.callback=function(){$p(r,i),typeof c!="function"&&(tl===null?tl=new Set([this]):tl.add(this));var w=i.stack;this.componentDidCatch(i.value,{componentStack:w!==null?w:""})}),l}function Tp(r,i,l){var c=r.pingCache;if(c===null){c=r.pingCache=new zf;var p=new Set;c.set(i,p)}else p=c.get(i),p===void 0&&(p=new Set,c.set(i,p));p.has(l)||(p.add(l),r=o0.bind(null,r,i,l),i.then(r,r))}function Ih(r){do{var i;if((i=r.tag===13)&&(i=r.memoizedState,i=i!==null?i.dehydrated!==null:!0),i)return r;r=r.return}while(r!==null);return null}function Zo(r,i,l,c,p){return(r.mode&1)===0?(r===i?r.flags|=65536:(r.flags|=128,l.flags|=131072,l.flags&=-52805,l.tag===1&&(l.alternate===null?l.tag=17:(i=fo(-1,1),i.tag=2,Ko(l,i,1))),l.lanes|=1),r):(r.flags|=65536,r.lanes=p,r)}var qs=ie.ReactCurrentOwner,Bn=!1;function yr(r,i,l,c){i.child=r===null?Re(i,null,l,c):On(i,r.child,l,c)}function fi(r,i,l,c,p){l=l.render;var h=i.ref;return Cn(i,p),c=Xo(r,i,l,c,h,p),l=ha(),r!==null&&!Bn?(i.updateQueue=r.updateQueue,i.flags&=-2053,r.lanes&=~p,Gi(r,i,p)):(bn&&l&&sf(i),i.flags|=1,yr(r,i,c,p),i.child)}function Wl(r,i,l,c,p){if(r===null){var h=l.type;return typeof h=="function"&&!Pp(h)&&h.defaultProps===void 0&&l.compare===null&&l.defaultProps===void 0?(i.tag=15,i.type=h,vt(r,i,h,c,p)):(r=fc(l.type,null,c,i,i.mode,p),r.ref=i.ref,r.return=i,i.child=r)}if(h=r.child,(r.lanes&p)===0){var w=h.memoizedProps;if(l=l.compare,l=l!==null?l:Rs,l(w,c)&&r.ref===i.ref)return Gi(r,i,p)}return i.flags|=1,r=rl(h,c),r.ref=i.ref,r.return=i,i.child=r}function vt(r,i,l,c,p){if(r!==null){var h=r.memoizedProps;if(Rs(h,c)&&r.ref===i.ref)if(Bn=!1,i.pendingProps=c=h,(r.lanes&p)!==0)(r.flags&131072)!==0&&(Bn=!0);else return i.lanes=r.lanes,Gi(r,i,p)}return Bh(r,i,l,c,p)}function Ks(r,i,l){var c=i.pendingProps,p=c.children,h=r!==null?r.memoizedState:null;if(c.mode==="hidden")if((i.mode&1)===0)i.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ie(Iu,_i),_i|=l;else{if((l&1073741824)===0)return r=h!==null?h.baseLanes|l:l,i.lanes=i.childLanes=1073741824,i.memoizedState={baseLanes:r,cachePool:null,transitions:null},i.updateQueue=null,Ie(Iu,_i),_i|=r,null;i.memoizedState={baseLanes:0,cachePool:null,transitions:null},c=h!==null?h.baseLanes:l,Ie(Iu,_i),_i|=c}else h!==null?(c=h.baseLanes|l,i.memoizedState=null):c=l,Ie(Iu,_i),_i|=c;return yr(r,i,p,l),i.child}function kp(r,i){var l=i.ref;(r===null&&l!==null||r!==null&&r.ref!==l)&&(i.flags|=512,i.flags|=2097152)}function Bh(r,i,l,c,p){var h=Pn(l)?oi:kn.current;return h=Hi(i,h),Cn(i,p),l=Xo(r,i,l,c,h,p),c=ha(),r!==null&&!Bn?(i.updateQueue=r.updateQueue,i.flags&=-2053,r.lanes&=~p,Gi(r,i,p)):(bn&&c&&sf(i),i.flags|=1,yr(r,i,l,p),i.child)}function Wh(r,i,l,c,p){if(Pn(l)){var h=!0;li(i)}else h=!1;if(Cn(i,p),i.stateNode===null)Yi(r,i),Mf(i,l,c),Qs(i,l,c,p),c=!0;else if(r===null){var w=i.stateNode,k=i.memoizedProps;w.props=k;var L=w.context,Q=l.contextType;typeof Q=="object"&&Q!==null?Q=Wi(Q):(Q=Pn(l)?oi:kn.current,Q=Hi(i,Q));var fe=l.getDerivedStateFromProps,me=typeof fe=="function"||typeof w.getSnapshotBeforeUpdate=="function";me||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(k!==c||L!==Q)&&Ph(i,w,c,Q),Ti=!1;var ce=i.memoizedState;w.state=ce,As(i,c,w,p),L=i.memoizedState,k!==c||ce!==L||er.current||Ti?(typeof fe=="function"&&(Ep(i,l,fe,c),L=i.memoizedState),(k=Ti||Vh(i,l,k,c,ce,L,Q))?(me||typeof w.UNSAFE_componentWillMount!="function"&&typeof w.componentWillMount!="function"||(typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount()),typeof w.componentDidMount=="function"&&(i.flags|=4194308)):(typeof w.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=c,i.memoizedState=L),w.props=c,w.state=L,w.context=Q,c=k):(typeof w.componentDidMount=="function"&&(i.flags|=4194308),c=!1)}else{w=i.stateNode,Ah(r,i),k=i.memoizedProps,Q=i.type===i.elementType?k:va(i.type,k),w.props=Q,me=i.pendingProps,ce=w.context,L=l.contextType,typeof L=="object"&&L!==null?L=Wi(L):(L=Pn(l)?oi:kn.current,L=Hi(i,L));var _e=l.getDerivedStateFromProps;(fe=typeof _e=="function"||typeof w.getSnapshotBeforeUpdate=="function")||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(k!==me||ce!==L)&&Ph(i,w,c,L),Ti=!1,ce=i.memoizedState,w.state=ce,As(i,c,w,p);var Ae=i.memoizedState;k!==me||ce!==Ae||er.current||Ti?(typeof _e=="function"&&(Ep(i,l,_e,c),Ae=i.memoizedState),(Q=Ti||Vh(i,l,Q,c,ce,Ae,L)||!1)?(fe||typeof w.UNSAFE_componentWillUpdate!="function"&&typeof w.componentWillUpdate!="function"||(typeof w.componentWillUpdate=="function"&&w.componentWillUpdate(c,Ae,L),typeof w.UNSAFE_componentWillUpdate=="function"&&w.UNSAFE_componentWillUpdate(c,Ae,L)),typeof w.componentDidUpdate=="function"&&(i.flags|=4),typeof w.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof w.componentDidUpdate!="function"||k===r.memoizedProps&&ce===r.memoizedState||(i.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||k===r.memoizedProps&&ce===r.memoizedState||(i.flags|=1024),i.memoizedProps=c,i.memoizedState=Ae),w.props=c,w.state=Ae,w.context=L,c=Q):(typeof w.componentDidUpdate!="function"||k===r.memoizedProps&&ce===r.memoizedState||(i.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||k===r.memoizedProps&&ce===r.memoizedState||(i.flags|=1024),c=!1)}return Xs(r,i,l,c,h,p)}function Xs(r,i,l,c,p,h){kp(r,i);var w=(i.flags&128)!==0;if(!c&&!w)return p&&lf(i,l,!1),Gi(r,i,h);c=i.stateNode,qs.current=i;var k=w&&typeof l.getDerivedStateFromError!="function"?null:c.render();return i.flags|=1,r!==null&&w?(i.child=On(i,r.child,null,h),i.child=On(i,null,k,h)):yr(r,i,k,h),i.memoizedState=c.state,p&&lf(i,l,!0),i.child}function Pu(r){var i=r.stateNode;i.pendingContext?Oh(r,i.pendingContext,i.pendingContext!==i.context):i.context&&Oh(r,i.context,!1),xp(r,i.containerInfo)}function Yh(r,i,l,c,p){return qo(),co(p),i.flags|=256,yr(r,i,l,c),i.child}var Af={dehydrated:null,treeContext:null,retryLane:0};function _p(r){return{baseLanes:r,cachePool:null,transitions:null}}function Uf(r,i,l){var c=i.pendingProps,p=$n.current,h=!1,w=(i.flags&128)!==0,k;if((k=w)||(k=r!==null&&r.memoizedState===null?!1:(p&2)!==0),k?(h=!0,i.flags&=-129):(r===null||r.memoizedState!==null)&&(p|=1),Ie($n,p&1),r===null)return fp(i),r=i.memoizedState,r!==null&&(r=r.dehydrated,r!==null)?((i.mode&1)===0?i.lanes=1:r.data==="$!"?i.lanes=8:i.lanes=1073741824,null):(w=c.children,r=c.fallback,h?(c=i.mode,h=i.child,w={mode:"hidden",children:w},(c&1)===0&&h!==null?(h.childLanes=0,h.pendingProps=w):h=il(w,c,0,null),r=yo(r,c,l,null),h.return=i,r.return=i,h.sibling=r,i.child=h,i.child.memoizedState=_p(l),i.memoizedState=Af,r):Np(i,w));if(p=r.memoizedState,p!==null&&(k=p.dehydrated,k!==null))return Gh(r,i,w,c,k,p,l);if(h){h=c.fallback,w=i.mode,p=r.child,k=p.sibling;var L={mode:"hidden",children:c.children};return(w&1)===0&&i.child!==p?(c=i.child,c.childLanes=0,c.pendingProps=L,i.deletions=null):(c=rl(p,L),c.subtreeFlags=p.subtreeFlags&14680064),k!==null?h=rl(k,h):(h=yo(h,w,l,null),h.flags|=2),h.return=i,c.return=i,c.sibling=h,i.child=c,c=h,h=i.child,w=r.child.memoizedState,w=w===null?_p(l):{baseLanes:w.baseLanes|l,cachePool:null,transitions:w.transitions},h.memoizedState=w,h.childLanes=r.childLanes&~l,i.memoizedState=Af,c}return h=r.child,r=h.sibling,c=rl(h,{mode:"visible",children:c.children}),(i.mode&1)===0&&(c.lanes=l),c.return=i,c.sibling=null,r!==null&&(l=i.deletions,l===null?(i.deletions=[r],i.flags|=16):l.push(r)),i.child=c,i.memoizedState=null,c}function Np(r,i){return i=il({mode:"visible",children:i},r.mode,0,null),i.return=r,r.child=i}function Js(r,i,l,c){return c!==null&&co(c),On(i,r.child,null,l),r=Np(i,i.pendingProps.children),r.flags|=2,i.memoizedState=null,r}function Gh(r,i,l,c,p,h,w){if(l)return i.flags&256?(i.flags&=-257,c=Cp(Error(d(422))),Js(r,i,w,c)):i.memoizedState!==null?(i.child=r.child,i.flags|=128,null):(h=c.fallback,p=i.mode,c=il({mode:"visible",children:c.children},p,0,null),h=yo(h,p,w,null),h.flags|=2,c.return=i,h.return=i,c.sibling=h,i.child=c,(i.mode&1)!==0&&On(i,r.child,null,w),i.child.memoizedState=_p(w),i.memoizedState=Af,h);if((i.mode&1)===0)return Js(r,i,w,null);if(p.data==="$!"){if(c=p.nextSibling&&p.nextSibling.dataset,c)var k=c.dgst;return c=k,h=Error(d(419)),c=Cp(h,c,void 0),Js(r,i,w,c)}if(k=(w&r.childLanes)!==0,Bn||k){if(c=nr,c!==null){switch(w&-w){case 4:p=2;break;case 16:p=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:p=32;break;case 536870912:p=268435456;break;default:p=0}p=(p&(c.suspendedLanes|w))!==0?0:p,p!==0&&p!==h.retryLane&&(h.retryLane=p,Ri(r,p),Br(c,r,p,-1))}return Vp(),c=Cp(Error(d(421))),Js(r,i,w,c)}return p.data==="$?"?(i.flags|=128,i.child=r.child,i=l0.bind(null,r),p._reactRetry=i,null):(r=h.treeContext,si=Ma(p.nextSibling),ui=i,bn=!0,Bi=null,r!==null&&(Hn[Ii++]=ja,Hn[Ii++]=Fa,Hn[Ii++]=Ci,ja=r.id,Fa=r.overflow,Ci=i),i=Np(i,c.children),i.flags|=4096,i)}function Dp(r,i,l){r.lanes|=i;var c=r.alternate;c!==null&&(c.lanes|=i),hp(r.return,i,l)}function Pr(r,i,l,c,p){var h=r.memoizedState;h===null?r.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:c,tail:l,tailMode:p}:(h.isBackwards=i,h.rendering=null,h.renderingStartTime=0,h.last=c,h.tail=l,h.tailMode=p)}function Pa(r,i,l){var c=i.pendingProps,p=c.revealOrder,h=c.tail;if(yr(r,i,c.children,l),c=$n.current,(c&2)!==0)c=c&1|2,i.flags|=128;else{if(r!==null&&(r.flags&128)!==0)e:for(r=i.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&Dp(r,l,i);else if(r.tag===19)Dp(r,l,i);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===i)break e;for(;r.sibling===null;){if(r.return===null||r.return===i)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}c&=1}if(Ie($n,c),(i.mode&1)===0)i.memoizedState=null;else switch(p){case"forwards":for(l=i.child,p=null;l!==null;)r=l.alternate,r!==null&&hf(r)===null&&(p=l),l=l.sibling;l=p,l===null?(p=i.child,i.child=null):(p=l.sibling,l.sibling=null),Pr(i,!1,p,l,h);break;case"backwards":for(l=null,p=i.child,i.child=null;p!==null;){if(r=p.alternate,r!==null&&hf(r)===null){i.child=p;break}r=p.sibling,p.sibling=l,l=p,p=r}Pr(i,!0,l,null,h);break;case"together":Pr(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function Yi(r,i){(i.mode&1)===0&&r!==null&&(r.alternate=null,i.alternate=null,i.flags|=2)}function Gi(r,i,l){if(r!==null&&(i.dependencies=r.dependencies),Ba|=i.lanes,(l&i.childLanes)===0)return null;if(r!==null&&i.child!==r.child)throw Error(d(153));if(i.child!==null){for(r=i.child,l=rl(r,r.pendingProps),i.child=l,l.return=i;r.sibling!==null;)r=r.sibling,l=l.sibling=rl(r,r.pendingProps),l.return=i;l.sibling=null}return i.child}function Zs(r,i,l){switch(i.tag){case 3:Pu(i),qo();break;case 5:jh(i);break;case 1:Pn(i.type)&&li(i);break;case 4:xp(i,i.stateNode.containerInfo);break;case 10:var c=i.type._context,p=i.memoizedProps.value;Ie($i,c._currentValue),c._currentValue=p;break;case 13:if(c=i.memoizedState,c!==null)return c.dehydrated!==null?(Ie($n,$n.current&1),i.flags|=128,null):(l&i.child.childLanes)!==0?Uf(r,i,l):(Ie($n,$n.current&1),r=Gi(r,i,l),r!==null?r.sibling:null);Ie($n,$n.current&1);break;case 19:if(c=(l&i.childLanes)!==0,(r.flags&128)!==0){if(c)return Pa(r,i,l);i.flags|=128}if(p=i.memoizedState,p!==null&&(p.rendering=null,p.tail=null,p.lastEffect=null),Ie($n,$n.current),c)break;return null;case 22:case 23:return i.lanes=0,Ks(r,i,l)}return Gi(r,i,l)}var Qi,Wn,Qh,qh;Qi=function(r,i){for(var l=i.child;l!==null;){if(l.tag===5||l.tag===6)r.appendChild(l.stateNode);else if(l.tag!==4&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===i)break;for(;l.sibling===null;){if(l.return===null||l.return===i)return;l=l.return}l.sibling.return=l.return,l=l.sibling}},Wn=function(){},Qh=function(r,i,l,c){var p=r.memoizedProps;if(p!==c){r=i.stateNode,Al(Va.current);var h=null;switch(l){case"input":p=dr(r,p),c=dr(r,c),h=[];break;case"select":p=Se({},p,{value:void 0}),c=Se({},c,{value:void 0}),h=[];break;case"textarea":p=Xn(r,p),c=Xn(r,c),h=[];break;default:typeof p.onClick!="function"&&typeof c.onClick=="function"&&(r.onclick=Io)}dn(l,c);var w;l=null;for(Q in p)if(!c.hasOwnProperty(Q)&&p.hasOwnProperty(Q)&&p[Q]!=null)if(Q==="style"){var k=p[Q];for(w in k)k.hasOwnProperty(w)&&(l||(l={}),l[w]="")}else Q!=="dangerouslySetInnerHTML"&&Q!=="children"&&Q!=="suppressContentEditableWarning"&&Q!=="suppressHydrationWarning"&&Q!=="autoFocus"&&(b.hasOwnProperty(Q)?h||(h=[]):(h=h||[]).push(Q,null));for(Q in c){var L=c[Q];if(k=p!=null?p[Q]:void 0,c.hasOwnProperty(Q)&&L!==k&&(L!=null||k!=null))if(Q==="style")if(k){for(w in k)!k.hasOwnProperty(w)||L&&L.hasOwnProperty(w)||(l||(l={}),l[w]="");for(w in L)L.hasOwnProperty(w)&&k[w]!==L[w]&&(l||(l={}),l[w]=L[w])}else l||(h||(h=[]),h.push(Q,l)),l=L;else Q==="dangerouslySetInnerHTML"?(L=L?L.__html:void 0,k=k?k.__html:void 0,L!=null&&k!==L&&(h=h||[]).push(Q,L)):Q==="children"?typeof L!="string"&&typeof L!="number"||(h=h||[]).push(Q,""+L):Q!=="suppressContentEditableWarning"&&Q!=="suppressHydrationWarning"&&(b.hasOwnProperty(Q)?(L!=null&&Q==="onScroll"&&qt("scroll",r),h||k===L||(h=[])):(h=h||[]).push(Q,L))}l&&(h=h||[]).push("style",l);var Q=h;(i.updateQueue=Q)&&(i.flags|=4)}},qh=function(r,i,l,c){l!==c&&(i.flags|=4)};function ec(r,i){if(!bn)switch(r.tailMode){case"hidden":i=r.tail;for(var l=null;i!==null;)i.alternate!==null&&(l=i),i=i.sibling;l===null?r.tail=null:l.sibling=null;break;case"collapsed":l=r.tail;for(var c=null;l!==null;)l.alternate!==null&&(c=l),l=l.sibling;c===null?i||r.tail===null?r.tail=null:r.tail.sibling=null:c.sibling=null}}function ur(r){var i=r.alternate!==null&&r.alternate.child===r.child,l=0,c=0;if(i)for(var p=r.child;p!==null;)l|=p.lanes|p.childLanes,c|=p.subtreeFlags&14680064,c|=p.flags&14680064,p.return=r,p=p.sibling;else for(p=r.child;p!==null;)l|=p.lanes|p.childLanes,c|=p.subtreeFlags,c|=p.flags,p.return=r,p=p.sibling;return r.subtreeFlags|=c,r.childLanes=l,i}function Kh(r,i,l){var c=i.pendingProps;switch(cf(i),i.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ur(i),null;case 1:return Pn(i.type)&&Au(),ur(i),null;case 3:return c=i.stateNode,Ul(),cn(er),cn(kn),Ye(),c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),(r===null||r.child===null)&&(ff(i)?i.flags|=4:r===null||r.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,Bi!==null&&(Ql(Bi),Bi=null))),Wn(r,i),ur(i),null;case 5:mf(i);var p=Al(Fs.current);if(l=i.type,r!==null&&i.stateNode!=null)Qh(r,i,l,c,p),r.ref!==i.ref&&(i.flags|=512,i.flags|=2097152);else{if(!c){if(i.stateNode===null)throw Error(d(166));return ur(i),null}if(r=Al(Va.current),ff(i)){c=i.stateNode,l=i.type;var h=i.memoizedProps;switch(c[za]=i,c[Os]=h,r=(i.mode&1)!==0,l){case"dialog":qt("cancel",c),qt("close",c);break;case"iframe":case"object":case"embed":qt("load",c);break;case"video":case"audio":for(p=0;p<_s.length;p++)qt(_s[p],c);break;case"source":qt("error",c);break;case"img":case"image":case"link":qt("error",c),qt("load",c);break;case"details":qt("toggle",c);break;case"input":qn(c,h),qt("invalid",c);break;case"select":c._wrapperState={wasMultiple:!!h.multiple},qt("invalid",c);break;case"textarea":kr(c,h),qt("invalid",c)}dn(l,h),p=null;for(var w in h)if(h.hasOwnProperty(w)){var k=h[w];w==="children"?typeof k=="string"?c.textContent!==k&&(h.suppressHydrationWarning!==!0&&nf(c.textContent,k,r),p=["children",k]):typeof k=="number"&&c.textContent!==""+k&&(h.suppressHydrationWarning!==!0&&nf(c.textContent,k,r),p=["children",""+k]):b.hasOwnProperty(w)&&k!=null&&w==="onScroll"&&qt("scroll",c)}switch(l){case"input":fn(c),$a(c,h,!0);break;case"textarea":fn(c),jn(c);break;case"select":case"option":break;default:typeof h.onClick=="function"&&(c.onclick=Io)}c=p,i.updateQueue=c,c!==null&&(i.flags|=4)}else{w=p.nodeType===9?p:p.ownerDocument,r==="http://www.w3.org/1999/xhtml"&&(r=_r(l)),r==="http://www.w3.org/1999/xhtml"?l==="script"?(r=w.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild)):typeof c.is=="string"?r=w.createElement(l,{is:c.is}):(r=w.createElement(l),l==="select"&&(w=r,c.multiple?w.multiple=!0:c.size&&(w.size=c.size))):r=w.createElementNS(r,l),r[za]=i,r[Os]=c,Qi(r,i,!1,!1),i.stateNode=r;e:{switch(w=or(l,c),l){case"dialog":qt("cancel",r),qt("close",r),p=c;break;case"iframe":case"object":case"embed":qt("load",r),p=c;break;case"video":case"audio":for(p=0;p<_s.length;p++)qt(_s[p],r);p=c;break;case"source":qt("error",r),p=c;break;case"img":case"image":case"link":qt("error",r),qt("load",r),p=c;break;case"details":qt("toggle",r),p=c;break;case"input":qn(r,c),p=dr(r,c),qt("invalid",r);break;case"option":p=c;break;case"select":r._wrapperState={wasMultiple:!!c.multiple},p=Se({},c,{value:void 0}),qt("invalid",r);break;case"textarea":kr(r,c),p=Xn(r,c),qt("invalid",r);break;default:p=c}dn(l,p),k=p;for(h in k)if(k.hasOwnProperty(h)){var L=k[h];h==="style"?ln(r,L):h==="dangerouslySetInnerHTML"?(L=L?L.__html:void 0,L!=null&&Ra(r,L)):h==="children"?typeof L=="string"?(l!=="textarea"||L!=="")&&we(r,L):typeof L=="number"&&we(r,""+L):h!=="suppressContentEditableWarning"&&h!=="suppressHydrationWarning"&&h!=="autoFocus"&&(b.hasOwnProperty(h)?L!=null&&h==="onScroll"&&qt("scroll",r):L!=null&&K(r,h,L,w))}switch(l){case"input":fn(r),$a(r,c,!1);break;case"textarea":fn(r),jn(r);break;case"option":c.value!=null&&r.setAttribute("value",""+at(c.value));break;case"select":r.multiple=!!c.multiple,h=c.value,h!=null?Nn(r,!!c.multiple,h,!1):c.defaultValue!=null&&Nn(r,!!c.multiple,c.defaultValue,!0);break;default:typeof p.onClick=="function"&&(r.onclick=Io)}switch(l){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break e;case"img":c=!0;break e;default:c=!1}}c&&(i.flags|=4)}i.ref!==null&&(i.flags|=512,i.flags|=2097152)}return ur(i),null;case 6:if(r&&i.stateNode!=null)qh(r,i,r.memoizedProps,c);else{if(typeof c!="string"&&i.stateNode===null)throw Error(d(166));if(l=Al(Fs.current),Al(Va.current),ff(i)){if(c=i.stateNode,l=i.memoizedProps,c[za]=i,(h=c.nodeValue!==l)&&(r=ui,r!==null))switch(r.tag){case 3:nf(c.nodeValue,l,(r.mode&1)!==0);break;case 5:r.memoizedProps.suppressHydrationWarning!==!0&&nf(c.nodeValue,l,(r.mode&1)!==0)}h&&(i.flags|=4)}else c=(l.nodeType===9?l:l.ownerDocument).createTextNode(c),c[za]=i,i.stateNode=c}return ur(i),null;case 13:if(cn($n),c=i.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(bn&&si!==null&&(i.mode&1)!==0&&(i.flags&128)===0)zs(),qo(),i.flags|=98560,h=!1;else if(h=ff(i),c!==null&&c.dehydrated!==null){if(r===null){if(!h)throw Error(d(318));if(h=i.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(d(317));h[za]=i}else qo(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;ur(i),h=!1}else Bi!==null&&(Ql(Bi),Bi=null),h=!0;if(!h)return i.flags&65536?i:null}return(i.flags&128)!==0?(i.lanes=l,i):(c=c!==null,c!==(r!==null&&r.memoizedState!==null)&&c&&(i.child.flags|=8192,(i.mode&1)!==0&&(r===null||($n.current&1)!==0?zn===0&&(zn=3):Vp())),i.updateQueue!==null&&(i.flags|=4),ur(i),null);case 4:return Ul(),Wn(r,i),r===null&&Du(i.stateNode.containerInfo),ur(i),null;case 10:return mp(i.type._context),ur(i),null;case 17:return Pn(i.type)&&Au(),ur(i),null;case 19:if(cn($n),h=i.memoizedState,h===null)return ur(i),null;if(c=(i.flags&128)!==0,w=h.rendering,w===null)if(c)ec(h,!1);else{if(zn!==0||r!==null&&(r.flags&128)!==0)for(r=i.child;r!==null;){if(w=hf(r),w!==null){for(i.flags|=128,ec(h,!1),c=w.updateQueue,c!==null&&(i.updateQueue=c,i.flags|=4),i.subtreeFlags=0,c=l,l=i.child;l!==null;)h=l,r=c,h.flags&=14680066,w=h.alternate,w===null?(h.childLanes=0,h.lanes=r,h.child=null,h.subtreeFlags=0,h.memoizedProps=null,h.memoizedState=null,h.updateQueue=null,h.dependencies=null,h.stateNode=null):(h.childLanes=w.childLanes,h.lanes=w.lanes,h.child=w.child,h.subtreeFlags=0,h.deletions=null,h.memoizedProps=w.memoizedProps,h.memoizedState=w.memoizedState,h.updateQueue=w.updateQueue,h.type=w.type,r=w.dependencies,h.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),l=l.sibling;return Ie($n,$n.current&1|2),i.child}r=r.sibling}h.tail!==null&&Qt()>Wu&&(i.flags|=128,c=!0,ec(h,!1),i.lanes=4194304)}else{if(!c)if(r=hf(w),r!==null){if(i.flags|=128,c=!0,l=r.updateQueue,l!==null&&(i.updateQueue=l,i.flags|=4),ec(h,!0),h.tail===null&&h.tailMode==="hidden"&&!w.alternate&&!bn)return ur(i),null}else 2*Qt()-h.renderingStartTime>Wu&&l!==1073741824&&(i.flags|=128,c=!0,ec(h,!1),i.lanes=4194304);h.isBackwards?(w.sibling=i.child,i.child=w):(l=h.last,l!==null?l.sibling=w:i.child=w,h.last=w)}return h.tail!==null?(i=h.tail,h.rendering=i,h.tail=i.sibling,h.renderingStartTime=Qt(),i.sibling=null,l=$n.current,Ie($n,c?l&1|2:l&1),i):(ur(i),null);case 22:case 23:return Fp(),c=i.memoizedState!==null,r!==null&&r.memoizedState!==null!==c&&(i.flags|=8192),c&&(i.mode&1)!==0?(_i&1073741824)!==0&&(ur(i),i.subtreeFlags&6&&(i.flags|=8192)):ur(i),null;case 24:return null;case 25:return null}throw Error(d(156,i.tag))}function jf(r,i){switch(cf(i),i.tag){case 1:return Pn(i.type)&&Au(),r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 3:return Ul(),cn(er),cn(kn),Ye(),r=i.flags,(r&65536)!==0&&(r&128)===0?(i.flags=r&-65537|128,i):null;case 5:return mf(i),null;case 13:if(cn($n),r=i.memoizedState,r!==null&&r.dehydrated!==null){if(i.alternate===null)throw Error(d(340));qo()}return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 19:return cn($n),null;case 4:return Ul(),null;case 10:return mp(i.type._context),null;case 22:case 23:return Fp(),null;case 24:return null;default:return null}}var tc=!1,Mr=!1,e0=typeof WeakSet=="function"?WeakSet:Set,Le=null;function Hu(r,i){var l=r.ref;if(l!==null)if(typeof l=="function")try{l(null)}catch(c){xn(r,i,c)}else l.current=null}function Ff(r,i,l){try{l()}catch(c){xn(r,i,c)}}var Xh=!1;function Jh(r,i){if(Ds=Fi,r=Ts(),Qc(r)){if("selectionStart"in r)var l={start:r.selectionStart,end:r.selectionEnd};else e:{l=(l=r.ownerDocument)&&l.defaultView||window;var c=l.getSelection&&l.getSelection();if(c&&c.rangeCount!==0){l=c.anchorNode;var p=c.anchorOffset,h=c.focusNode;c=c.focusOffset;try{l.nodeType,h.nodeType}catch{l=null;break e}var w=0,k=-1,L=-1,Q=0,fe=0,me=r,ce=null;t:for(;;){for(var _e;me!==l||p!==0&&me.nodeType!==3||(k=w+p),me!==h||c!==0&&me.nodeType!==3||(L=w+c),me.nodeType===3&&(w+=me.nodeValue.length),(_e=me.firstChild)!==null;)ce=me,me=_e;for(;;){if(me===r)break t;if(ce===l&&++Q===p&&(k=w),ce===h&&++fe===c&&(L=w),(_e=me.nextSibling)!==null)break;me=ce,ce=me.parentNode}me=_e}l=k===-1||L===-1?null:{start:k,end:L}}else l=null}l=l||{start:0,end:0}}else l=null;for(Nl={focusedElem:r,selectionRange:l},Fi=!1,Le=i;Le!==null;)if(i=Le,r=i.child,(i.subtreeFlags&1028)!==0&&r!==null)r.return=i,Le=r;else for(;Le!==null;){i=Le;try{var Ae=i.alternate;if((i.flags&1024)!==0)switch(i.tag){case 0:case 11:case 15:break;case 1:if(Ae!==null){var Fe=Ae.memoizedProps,An=Ae.memoizedState,H=i.stateNode,U=H.getSnapshotBeforeUpdate(i.elementType===i.type?Fe:va(i.type,Fe),An);H.__reactInternalSnapshotBeforeUpdate=U}break;case 3:var W=i.stateNode.containerInfo;W.nodeType===1?W.textContent="":W.nodeType===9&&W.documentElement&&W.removeChild(W.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(d(163))}}catch(de){xn(i,i.return,de)}if(r=i.sibling,r!==null){r.return=i.return,Le=r;break}Le=i.return}return Ae=Xh,Xh=!1,Ae}function nc(r,i,l){var c=i.updateQueue;if(c=c!==null?c.lastEffect:null,c!==null){var p=c=c.next;do{if((p.tag&r)===r){var h=p.destroy;p.destroy=void 0,h!==void 0&&Ff(i,l,h)}p=p.next}while(p!==c)}}function rc(r,i){if(i=i.updateQueue,i=i!==null?i.lastEffect:null,i!==null){var l=i=i.next;do{if((l.tag&r)===r){var c=l.create;l.destroy=c()}l=l.next}while(l!==i)}}function Op(r){var i=r.ref;if(i!==null){var l=r.stateNode;switch(r.tag){case 5:r=l;break;default:r=l}typeof i=="function"?i(r):i.current=r}}function Vf(r){var i=r.alternate;i!==null&&(r.alternate=null,Vf(i)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(i=r.stateNode,i!==null&&(delete i[za],delete i[Os],delete i[Ls],delete i[zu],delete i[Jg])),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}function ic(r){return r.tag===5||r.tag===3||r.tag===4}function mo(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||ic(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function Ha(r,i,l){var c=r.tag;if(c===5||c===6)r=r.stateNode,i?l.nodeType===8?l.parentNode.insertBefore(r,i):l.insertBefore(r,i):(l.nodeType===8?(i=l.parentNode,i.insertBefore(r,l)):(i=l,i.appendChild(r)),l=l._reactRootContainer,l!=null||i.onclick!==null||(i.onclick=Io));else if(c!==4&&(r=r.child,r!==null))for(Ha(r,i,l),r=r.sibling;r!==null;)Ha(r,i,l),r=r.sibling}function Ia(r,i,l){var c=r.tag;if(c===5||c===6)r=r.stateNode,i?l.insertBefore(r,i):l.appendChild(r);else if(c!==4&&(r=r.child,r!==null))for(Ia(r,i,l),r=r.sibling;r!==null;)Ia(r,i,l),r=r.sibling}var Mn=null,Hr=!1;function Ir(r,i,l){for(l=l.child;l!==null;)Zh(r,i,l),l=l.sibling}function Zh(r,i,l){if(ri&&typeof ri.onCommitFiberUnmount=="function")try{ri.onCommitFiberUnmount(Mo,l)}catch{}switch(l.tag){case 5:Mr||Hu(l,i);case 6:var c=Mn,p=Hr;Mn=null,Ir(r,i,l),Mn=c,Hr=p,Mn!==null&&(Hr?(r=Mn,l=l.stateNode,r.nodeType===8?r.parentNode.removeChild(l):r.removeChild(l)):Mn.removeChild(l.stateNode));break;case 18:Mn!==null&&(Hr?(r=Mn,l=l.stateNode,r.nodeType===8?Mu(r.parentNode,l):r.nodeType===1&&Mu(r,l),ca(r)):Mu(Mn,l.stateNode));break;case 4:c=Mn,p=Hr,Mn=l.stateNode.containerInfo,Hr=!0,Ir(r,i,l),Mn=c,Hr=p;break;case 0:case 11:case 14:case 15:if(!Mr&&(c=l.updateQueue,c!==null&&(c=c.lastEffect,c!==null))){p=c=c.next;do{var h=p,w=h.destroy;h=h.tag,w!==void 0&&((h&2)!==0||(h&4)!==0)&&Ff(l,i,w),p=p.next}while(p!==c)}Ir(r,i,l);break;case 1:if(!Mr&&(Hu(l,i),c=l.stateNode,typeof c.componentWillUnmount=="function"))try{c.props=l.memoizedProps,c.state=l.memoizedState,c.componentWillUnmount()}catch(k){xn(l,i,k)}Ir(r,i,l);break;case 21:Ir(r,i,l);break;case 22:l.mode&1?(Mr=(c=Mr)||l.memoizedState!==null,Ir(r,i,l),Mr=c):Ir(r,i,l);break;default:Ir(r,i,l)}}function ev(r){var i=r.updateQueue;if(i!==null){r.updateQueue=null;var l=r.stateNode;l===null&&(l=r.stateNode=new e0),i.forEach(function(c){var p=sv.bind(null,r,c);l.has(c)||(l.add(c),c.then(p,p))})}}function ya(r,i){var l=i.deletions;if(l!==null)for(var c=0;c<l.length;c++){var p=l[c];try{var h=r,w=i,k=w;e:for(;k!==null;){switch(k.tag){case 5:Mn=k.stateNode,Hr=!1;break e;case 3:Mn=k.stateNode.containerInfo,Hr=!0;break e;case 4:Mn=k.stateNode.containerInfo,Hr=!0;break e}k=k.return}if(Mn===null)throw Error(d(160));Zh(h,w,p),Mn=null,Hr=!1;var L=p.alternate;L!==null&&(L.return=null),p.return=null}catch(Q){xn(p,i,Q)}}if(i.subtreeFlags&12854)for(i=i.child;i!==null;)Lp(i,r),i=i.sibling}function Lp(r,i){var l=r.alternate,c=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:if(ya(i,r),di(r),c&4){try{nc(3,r,r.return),rc(3,r)}catch(Fe){xn(r,r.return,Fe)}try{nc(5,r,r.return)}catch(Fe){xn(r,r.return,Fe)}}break;case 1:ya(i,r),di(r),c&512&&l!==null&&Hu(l,l.return);break;case 5:if(ya(i,r),di(r),c&512&&l!==null&&Hu(l,l.return),r.flags&32){var p=r.stateNode;try{we(p,"")}catch(Fe){xn(r,r.return,Fe)}}if(c&4&&(p=r.stateNode,p!=null)){var h=r.memoizedProps,w=l!==null?l.memoizedProps:h,k=r.type,L=r.updateQueue;if(r.updateQueue=null,L!==null)try{k==="input"&&h.type==="radio"&&h.name!=null&&Kn(p,h),or(k,w);var Q=or(k,h);for(w=0;w<L.length;w+=2){var fe=L[w],me=L[w+1];fe==="style"?ln(p,me):fe==="dangerouslySetInnerHTML"?Ra(p,me):fe==="children"?we(p,me):K(p,fe,me,Q)}switch(k){case"input":ti(p,h);break;case"textarea":ia(p,h);break;case"select":var ce=p._wrapperState.wasMultiple;p._wrapperState.wasMultiple=!!h.multiple;var _e=h.value;_e!=null?Nn(p,!!h.multiple,_e,!1):ce!==!!h.multiple&&(h.defaultValue!=null?Nn(p,!!h.multiple,h.defaultValue,!0):Nn(p,!!h.multiple,h.multiple?[]:"",!1))}p[Os]=h}catch(Fe){xn(r,r.return,Fe)}}break;case 6:if(ya(i,r),di(r),c&4){if(r.stateNode===null)throw Error(d(162));p=r.stateNode,h=r.memoizedProps;try{p.nodeValue=h}catch(Fe){xn(r,r.return,Fe)}}break;case 3:if(ya(i,r),di(r),c&4&&l!==null&&l.memoizedState.isDehydrated)try{ca(i.containerInfo)}catch(Fe){xn(r,r.return,Fe)}break;case 4:ya(i,r),di(r);break;case 13:ya(i,r),di(r),p=r.child,p.flags&8192&&(h=p.memoizedState!==null,p.stateNode.isHidden=h,!h||p.alternate!==null&&p.alternate.memoizedState!==null||(Ap=Qt())),c&4&&ev(r);break;case 22:if(fe=l!==null&&l.memoizedState!==null,r.mode&1?(Mr=(Q=Mr)||fe,ya(i,r),Mr=Q):ya(i,r),di(r),c&8192){if(Q=r.memoizedState!==null,(r.stateNode.isHidden=Q)&&!fe&&(r.mode&1)!==0)for(Le=r,fe=r.child;fe!==null;){for(me=Le=fe;Le!==null;){switch(ce=Le,_e=ce.child,ce.tag){case 0:case 11:case 14:case 15:nc(4,ce,ce.return);break;case 1:Hu(ce,ce.return);var Ae=ce.stateNode;if(typeof Ae.componentWillUnmount=="function"){c=ce,l=ce.return;try{i=c,Ae.props=i.memoizedProps,Ae.state=i.memoizedState,Ae.componentWillUnmount()}catch(Fe){xn(c,l,Fe)}}break;case 5:Hu(ce,ce.return);break;case 22:if(ce.memoizedState!==null){ac(me);continue}}_e!==null?(_e.return=ce,Le=_e):ac(me)}fe=fe.sibling}e:for(fe=null,me=r;;){if(me.tag===5){if(fe===null){fe=me;try{p=me.stateNode,Q?(h=p.style,typeof h.setProperty=="function"?h.setProperty("display","none","important"):h.display="none"):(k=me.stateNode,L=me.memoizedProps.style,w=L!=null&&L.hasOwnProperty("display")?L.display:null,k.style.display=Gt("display",w))}catch(Fe){xn(r,r.return,Fe)}}}else if(me.tag===6){if(fe===null)try{me.stateNode.nodeValue=Q?"":me.memoizedProps}catch(Fe){xn(r,r.return,Fe)}}else if((me.tag!==22&&me.tag!==23||me.memoizedState===null||me===r)&&me.child!==null){me.child.return=me,me=me.child;continue}if(me===r)break e;for(;me.sibling===null;){if(me.return===null||me.return===r)break e;fe===me&&(fe=null),me=me.return}fe===me&&(fe=null),me.sibling.return=me.return,me=me.sibling}}break;case 19:ya(i,r),di(r),c&4&&ev(r);break;case 21:break;default:ya(i,r),di(r)}}function di(r){var i=r.flags;if(i&2){try{e:{for(var l=r.return;l!==null;){if(ic(l)){var c=l;break e}l=l.return}throw Error(d(160))}switch(c.tag){case 5:var p=c.stateNode;c.flags&32&&(we(p,""),c.flags&=-33);var h=mo(r);Ia(r,h,p);break;case 3:case 4:var w=c.stateNode.containerInfo,k=mo(r);Ha(r,k,w);break;default:throw Error(d(161))}}catch(L){xn(r,r.return,L)}r.flags&=-3}i&4096&&(r.flags&=-4097)}function t0(r,i,l){Le=r,Mp(r)}function Mp(r,i,l){for(var c=(r.mode&1)!==0;Le!==null;){var p=Le,h=p.child;if(p.tag===22&&c){var w=p.memoizedState!==null||tc;if(!w){var k=p.alternate,L=k!==null&&k.memoizedState!==null||Mr;k=tc;var Q=Mr;if(tc=w,(Mr=L)&&!Q)for(Le=p;Le!==null;)w=Le,L=w.child,w.tag===22&&w.memoizedState!==null?zp(p):L!==null?(L.return=w,Le=L):zp(p);for(;h!==null;)Le=h,Mp(h),h=h.sibling;Le=p,tc=k,Mr=Q}tv(r)}else(p.subtreeFlags&8772)!==0&&h!==null?(h.return=p,Le=h):tv(r)}}function tv(r){for(;Le!==null;){var i=Le;if((i.flags&8772)!==0){var l=i.alternate;try{if((i.flags&8772)!==0)switch(i.tag){case 0:case 11:case 15:Mr||rc(5,i);break;case 1:var c=i.stateNode;if(i.flags&4&&!Mr)if(l===null)c.componentDidMount();else{var p=i.elementType===i.type?l.memoizedProps:va(i.type,l.memoizedProps);c.componentDidUpdate(p,l.memoizedState,c.__reactInternalSnapshotBeforeUpdate)}var h=i.updateQueue;h!==null&&bp(i,h,c);break;case 3:var w=i.updateQueue;if(w!==null){if(l=null,i.child!==null)switch(i.child.tag){case 5:l=i.child.stateNode;break;case 1:l=i.child.stateNode}bp(i,w,l)}break;case 5:var k=i.stateNode;if(l===null&&i.flags&4){l=k;var L=i.memoizedProps;switch(i.type){case"button":case"input":case"select":case"textarea":L.autoFocus&&l.focus();break;case"img":L.src&&(l.src=L.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(i.memoizedState===null){var Q=i.alternate;if(Q!==null){var fe=Q.memoizedState;if(fe!==null){var me=fe.dehydrated;me!==null&&ca(me)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(d(163))}Mr||i.flags&512&&Op(i)}catch(ce){xn(i,i.return,ce)}}if(i===r){Le=null;break}if(l=i.sibling,l!==null){l.return=i.return,Le=l;break}Le=i.return}}function ac(r){for(;Le!==null;){var i=Le;if(i===r){Le=null;break}var l=i.sibling;if(l!==null){l.return=i.return,Le=l;break}Le=i.return}}function zp(r){for(;Le!==null;){var i=Le;try{switch(i.tag){case 0:case 11:case 15:var l=i.return;try{rc(4,i)}catch(L){xn(i,l,L)}break;case 1:var c=i.stateNode;if(typeof c.componentDidMount=="function"){var p=i.return;try{c.componentDidMount()}catch(L){xn(i,p,L)}}var h=i.return;try{Op(i)}catch(L){xn(i,h,L)}break;case 5:var w=i.return;try{Op(i)}catch(L){xn(i,w,L)}}}catch(L){xn(i,i.return,L)}if(i===r){Le=null;break}var k=i.sibling;if(k!==null){k.return=i.return,Le=k;break}Le=i.return}}var n0=Math.ceil,el=ie.ReactCurrentDispatcher,Yl=ie.ReactCurrentOwner,gr=ie.ReactCurrentBatchConfig,Nt=0,nr=null,Yn=null,br=0,_i=0,Iu=ma(0),zn=0,oc=null,Ba=0,Bu=0,Pf=0,lc=null,pi=null,Ap=0,Wu=1/0,Ni=null,Yu=!1,Gl=null,tl=null,Hf=!1,ho=null,uc=0,nl=0,Gu=null,sc=-1,zr=0;function Gn(){return(Nt&6)!==0?Qt():sc!==-1?sc:sc=Qt()}function Wa(r){return(r.mode&1)===0?1:(Nt&2)!==0&&br!==0?br&-br:Zg.transition!==null?(zr===0&&(zr=bu()),zr):(r=Vt,r!==0||(r=window.event,r=r===void 0?16:Ru(r.type)),r)}function Br(r,i,l,c){if(50<nl)throw nl=0,Gu=null,Error(d(185));to(r,l,c),((Nt&2)===0||r!==nr)&&(r===nr&&((Nt&2)===0&&(Bu|=l),zn===4&&ga(r,br)),mi(r,c),l===1&&Nt===0&&(i.mode&1)===0&&(Wu=Qt()+500,Uu&&Ua()))}function mi(r,i){var l=r.callbackNode;Sl(r,i);var c=sa(r,r===nr?br:0);if(c===0)l!==null&&Ai(l),r.callbackNode=null,r.callbackPriority=0;else if(i=c&-c,r.callbackPriority!==i){if(l!=null&&Ai(l),i===1)r.tag===0?Wo(Up.bind(null,r)):uf(Up.bind(null,r)),Lu(function(){(Nt&6)===0&&Ua()}),l=null;else{switch(Su(c)){case 1:l=eo;break;case 4:l=vs;break;case 16:l=xl;break;case 536870912:l=vu;break;default:l=xl}l=fv(l,If.bind(null,r))}r.callbackPriority=i,r.callbackNode=l}}function If(r,i){if(sc=-1,zr=0,(Nt&6)!==0)throw Error(d(327));var l=r.callbackNode;if(Qu()&&r.callbackNode!==l)return null;var c=sa(r,r===nr?br:0);if(c===0)return null;if((c&30)!==0||(c&r.expiredLanes)!==0||i)i=Bf(r,c);else{i=c;var p=Nt;Nt|=2;var h=rv();(nr!==r||br!==i)&&(Ni=null,Wu=Qt()+500,vo(r,i));do try{iv();break}catch(k){nv(r,k)}while(!0);pp(),el.current=h,Nt=p,Yn!==null?i=0:(nr=null,br=0,i=zn)}if(i!==0){if(i===2&&(p=Ao(r),p!==0&&(c=p,i=cc(r,p))),i===1)throw l=oc,vo(r,0),ga(r,c),mi(r,Qt()),l;if(i===6)ga(r,c);else{if(p=r.current.alternate,(c&30)===0&&!r0(p)&&(i=Bf(r,c),i===2&&(h=Ao(r),h!==0&&(c=h,i=cc(r,h))),i===1))throw l=oc,vo(r,0),ga(r,c),mi(r,Qt()),l;switch(r.finishedWork=p,r.finishedLanes=c,i){case 0:case 1:throw Error(d(345));case 2:Kl(r,pi,Ni);break;case 3:if(ga(r,c),(c&130023424)===c&&(i=Ap+500-Qt(),10<i)){if(sa(r,0)!==0)break;if(p=r.suspendedLanes,(p&c)!==c){Gn(),r.pingedLanes|=r.suspendedLanes&p;break}r.timeoutHandle=af(Kl.bind(null,r,pi,Ni),i);break}Kl(r,pi,Ni);break;case 4:if(ga(r,c),(c&4194240)===c)break;for(i=r.eventTimes,p=-1;0<c;){var w=31-jr(c);h=1<<w,w=i[w],w>p&&(p=w),c&=~h}if(c=p,c=Qt()-c,c=(120>c?120:480>c?480:1080>c?1080:1920>c?1920:3e3>c?3e3:4320>c?4320:1960*n0(c/1960))-c,10<c){r.timeoutHandle=af(Kl.bind(null,r,pi,Ni),c);break}Kl(r,pi,Ni);break;case 5:Kl(r,pi,Ni);break;default:throw Error(d(329))}}}return mi(r,Qt()),r.callbackNode===l?If.bind(null,r):null}function cc(r,i){var l=lc;return r.current.memoizedState.isDehydrated&&(vo(r,i).flags|=256),r=Bf(r,i),r!==2&&(i=pi,pi=l,i!==null&&Ql(i)),r}function Ql(r){pi===null?pi=r:pi.push.apply(pi,r)}function r0(r){for(var i=r;;){if(i.flags&16384){var l=i.updateQueue;if(l!==null&&(l=l.stores,l!==null))for(var c=0;c<l.length;c++){var p=l[c],h=p.getSnapshot;p=p.value;try{if(!da(h(),p))return!1}catch{return!1}}}if(l=i.child,i.subtreeFlags&16384&&l!==null)l.return=i,i=l;else{if(i===r)break;for(;i.sibling===null;){if(i.return===null||i.return===r)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function ga(r,i){for(i&=~Pf,i&=~Bu,r.suspendedLanes|=i,r.pingedLanes&=~i,r=r.expirationTimes;0<i;){var l=31-jr(i),c=1<<l;r[l]=-1,i&=~c}}function Up(r){if((Nt&6)!==0)throw Error(d(327));Qu();var i=sa(r,0);if((i&1)===0)return mi(r,Qt()),null;var l=Bf(r,i);if(r.tag!==0&&l===2){var c=Ao(r);c!==0&&(i=c,l=cc(r,c))}if(l===1)throw l=oc,vo(r,0),ga(r,i),mi(r,Qt()),l;if(l===6)throw Error(d(345));return r.finishedWork=r.current.alternate,r.finishedLanes=i,Kl(r,pi,Ni),mi(r,Qt()),null}function jp(r,i){var l=Nt;Nt|=1;try{return r(i)}finally{Nt=l,Nt===0&&(Wu=Qt()+500,Uu&&Ua())}}function ql(r){ho!==null&&ho.tag===0&&(Nt&6)===0&&Qu();var i=Nt;Nt|=1;var l=gr.transition,c=Vt;try{if(gr.transition=null,Vt=1,r)return r()}finally{Vt=c,gr.transition=l,Nt=i,(Nt&6)===0&&Ua()}}function Fp(){_i=Iu.current,cn(Iu)}function vo(r,i){r.finishedWork=null,r.finishedLanes=0;var l=r.timeoutHandle;if(l!==-1&&(r.timeoutHandle=-1,up(l)),Yn!==null)for(l=Yn.return;l!==null;){var c=l;switch(cf(c),c.tag){case 1:c=c.type.childContextTypes,c!=null&&Au();break;case 3:Ul(),cn(er),cn(kn),Ye();break;case 5:mf(c);break;case 4:Ul();break;case 13:cn($n);break;case 19:cn($n);break;case 10:mp(c.type._context);break;case 22:case 23:Fp()}l=l.return}if(nr=r,Yn=r=rl(r.current,null),br=_i=i,zn=0,oc=null,Pf=Bu=Ba=0,pi=lc=null,zl!==null){for(i=0;i<zl.length;i++)if(l=zl[i],c=l.interleaved,c!==null){l.interleaved=null;var p=c.next,h=l.pending;if(h!==null){var w=h.next;h.next=p,c.next=w}l.pending=c}zl=null}return r}function nv(r,i){do{var l=Yn;try{if(pp(),St.current=Il,vf){for(var c=Ht.memoizedState;c!==null;){var p=c.queue;p!==null&&(p.pending=null),c=c.next}vf=!1}if(tn=0,lr=In=Ht=null,Ps=!1,jl=0,Yl.current=null,l===null||l.return===null){zn=1,oc=i,Yn=null;break}e:{var h=r,w=l.return,k=l,L=i;if(i=br,k.flags|=32768,L!==null&&typeof L=="object"&&typeof L.then=="function"){var Q=L,fe=k,me=fe.tag;if((fe.mode&1)===0&&(me===0||me===11||me===15)){var ce=fe.alternate;ce?(fe.updateQueue=ce.updateQueue,fe.memoizedState=ce.memoizedState,fe.lanes=ce.lanes):(fe.updateQueue=null,fe.memoizedState=null)}var _e=Ih(w);if(_e!==null){_e.flags&=-257,Zo(_e,w,k,h,i),_e.mode&1&&Tp(h,Q,i),i=_e,L=Q;var Ae=i.updateQueue;if(Ae===null){var Fe=new Set;Fe.add(L),i.updateQueue=Fe}else Ae.add(L);break e}else{if((i&1)===0){Tp(h,Q,i),Vp();break e}L=Error(d(426))}}else if(bn&&k.mode&1){var An=Ih(w);if(An!==null){(An.flags&65536)===0&&(An.flags|=256),Zo(An,w,k,h,i),co(Bl(L,k));break e}}h=L=Bl(L,k),zn!==4&&(zn=2),lc===null?lc=[h]:lc.push(h),h=w;do{switch(h.tag){case 3:h.flags|=65536,i&=-i,h.lanes|=i;var H=Hh(h,L,i);Uh(h,H);break e;case 1:k=L;var U=h.type,W=h.stateNode;if((h.flags&128)===0&&(typeof U.getDerivedStateFromError=="function"||W!==null&&typeof W.componentDidCatch=="function"&&(tl===null||!tl.has(W)))){h.flags|=65536,i&=-i,h.lanes|=i;var de=Rp(h,k,i);Uh(h,de);break e}}h=h.return}while(h!==null)}ov(l)}catch(Ue){i=Ue,Yn===l&&l!==null&&(Yn=l=l.return);continue}break}while(!0)}function rv(){var r=el.current;return el.current=Il,r===null?Il:r}function Vp(){(zn===0||zn===3||zn===2)&&(zn=4),nr===null||(Ba&268435455)===0&&(Bu&268435455)===0||ga(nr,br)}function Bf(r,i){var l=Nt;Nt|=2;var c=rv();(nr!==r||br!==i)&&(Ni=null,vo(r,i));do try{i0();break}catch(p){nv(r,p)}while(!0);if(pp(),Nt=l,el.current=c,Yn!==null)throw Error(d(261));return nr=null,br=0,zn}function i0(){for(;Yn!==null;)av(Yn)}function iv(){for(;Yn!==null&&!Jn();)av(Yn)}function av(r){var i=cv(r.alternate,r,_i);r.memoizedProps=r.pendingProps,i===null?ov(r):Yn=i,Yl.current=null}function ov(r){var i=r;do{var l=i.alternate;if(r=i.return,(i.flags&32768)===0){if(l=Kh(l,i,_i),l!==null){Yn=l;return}}else{if(l=jf(l,i),l!==null){l.flags&=32767,Yn=l;return}if(r!==null)r.flags|=32768,r.subtreeFlags=0,r.deletions=null;else{zn=6,Yn=null;return}}if(i=i.sibling,i!==null){Yn=i;return}Yn=i=r}while(i!==null);zn===0&&(zn=5)}function Kl(r,i,l){var c=Vt,p=gr.transition;try{gr.transition=null,Vt=1,a0(r,i,l,c)}finally{gr.transition=p,Vt=c}return null}function a0(r,i,l,c){do Qu();while(ho!==null);if((Nt&6)!==0)throw Error(d(327));l=r.finishedWork;var p=r.finishedLanes;if(l===null)return null;if(r.finishedWork=null,r.finishedLanes=0,l===r.current)throw Error(d(177));r.callbackNode=null,r.callbackPriority=0;var h=l.lanes|l.childLanes;if(Pd(r,h),r===nr&&(Yn=nr=null,br=0),(l.subtreeFlags&2064)===0&&(l.flags&2064)===0||Hf||(Hf=!0,fv(xl,function(){return Qu(),null})),h=(l.flags&15990)!==0,(l.subtreeFlags&15990)!==0||h){h=gr.transition,gr.transition=null;var w=Vt;Vt=1;var k=Nt;Nt|=4,Yl.current=null,Jh(r,l),Lp(l,r),_u(Nl),Fi=!!Ds,Nl=Ds=null,r.current=l,t0(l),bl(),Nt=k,Vt=w,gr.transition=h}else r.current=l;if(Hf&&(Hf=!1,ho=r,uc=p),h=r.pendingLanes,h===0&&(tl=null),ys(l.stateNode),mi(r,Qt()),i!==null)for(c=r.onRecoverableError,l=0;l<i.length;l++)p=i[l],c(p.value,{componentStack:p.stack,digest:p.digest});if(Yu)throw Yu=!1,r=Gl,Gl=null,r;return(uc&1)!==0&&r.tag!==0&&Qu(),h=r.pendingLanes,(h&1)!==0?r===Gu?nl++:(nl=0,Gu=r):nl=0,Ua(),null}function Qu(){if(ho!==null){var r=Su(uc),i=gr.transition,l=Vt;try{if(gr.transition=null,Vt=16>r?16:r,ho===null)var c=!1;else{if(r=ho,ho=null,uc=0,(Nt&6)!==0)throw Error(d(331));var p=Nt;for(Nt|=4,Le=r.current;Le!==null;){var h=Le,w=h.child;if((Le.flags&16)!==0){var k=h.deletions;if(k!==null){for(var L=0;L<k.length;L++){var Q=k[L];for(Le=Q;Le!==null;){var fe=Le;switch(fe.tag){case 0:case 11:case 15:nc(8,fe,h)}var me=fe.child;if(me!==null)me.return=fe,Le=me;else for(;Le!==null;){fe=Le;var ce=fe.sibling,_e=fe.return;if(Vf(fe),fe===Q){Le=null;break}if(ce!==null){ce.return=_e,Le=ce;break}Le=_e}}}var Ae=h.alternate;if(Ae!==null){var Fe=Ae.child;if(Fe!==null){Ae.child=null;do{var An=Fe.sibling;Fe.sibling=null,Fe=An}while(Fe!==null)}}Le=h}}if((h.subtreeFlags&2064)!==0&&w!==null)w.return=h,Le=w;else e:for(;Le!==null;){if(h=Le,(h.flags&2048)!==0)switch(h.tag){case 0:case 11:case 15:nc(9,h,h.return)}var H=h.sibling;if(H!==null){H.return=h.return,Le=H;break e}Le=h.return}}var U=r.current;for(Le=U;Le!==null;){w=Le;var W=w.child;if((w.subtreeFlags&2064)!==0&&W!==null)W.return=w,Le=W;else e:for(w=U;Le!==null;){if(k=Le,(k.flags&2048)!==0)try{switch(k.tag){case 0:case 11:case 15:rc(9,k)}}catch(Ue){xn(k,k.return,Ue)}if(k===w){Le=null;break e}var de=k.sibling;if(de!==null){de.return=k.return,Le=de;break e}Le=k.return}}if(Nt=p,Ua(),ri&&typeof ri.onPostCommitFiberRoot=="function")try{ri.onPostCommitFiberRoot(Mo,r)}catch{}c=!0}return c}finally{Vt=l,gr.transition=i}}return!1}function lv(r,i,l){i=Bl(l,i),i=Hh(r,i,1),r=Ko(r,i,1),i=Gn(),r!==null&&(to(r,1,i),mi(r,i))}function xn(r,i,l){if(r.tag===3)lv(r,r,l);else for(;i!==null;){if(i.tag===3){lv(i,r,l);break}else if(i.tag===1){var c=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(tl===null||!tl.has(c))){r=Bl(l,r),r=Rp(i,r,1),i=Ko(i,r,1),r=Gn(),i!==null&&(to(i,1,r),mi(i,r));break}}i=i.return}}function o0(r,i,l){var c=r.pingCache;c!==null&&c.delete(i),i=Gn(),r.pingedLanes|=r.suspendedLanes&l,nr===r&&(br&l)===l&&(zn===4||zn===3&&(br&130023424)===br&&500>Qt()-Ap?vo(r,0):Pf|=l),mi(r,i)}function uv(r,i){i===0&&((r.mode&1)===0?i=1:(i=Ei,Ei<<=1,(Ei&130023424)===0&&(Ei=4194304)));var l=Gn();r=Ri(r,i),r!==null&&(to(r,i,l),mi(r,l))}function l0(r){var i=r.memoizedState,l=0;i!==null&&(l=i.retryLane),uv(r,l)}function sv(r,i){var l=0;switch(r.tag){case 13:var c=r.stateNode,p=r.memoizedState;p!==null&&(l=p.retryLane);break;case 19:c=r.stateNode;break;default:throw Error(d(314))}c!==null&&c.delete(i),uv(r,l)}var cv;cv=function(r,i,l){if(r!==null)if(r.memoizedProps!==i.pendingProps||er.current)Bn=!0;else{if((r.lanes&l)===0&&(i.flags&128)===0)return Bn=!1,Zs(r,i,l);Bn=(r.flags&131072)!==0}else Bn=!1,bn&&(i.flags&1048576)!==0&&Lh(i,so,i.index);switch(i.lanes=0,i.tag){case 2:var c=i.type;Yi(r,i),r=i.pendingProps;var p=Hi(i,kn.current);Cn(i,l),p=Xo(null,i,c,r,p,l);var h=ha();return i.flags|=1,typeof p=="object"&&p!==null&&typeof p.render=="function"&&p.$$typeof===void 0?(i.tag=1,i.memoizedState=null,i.updateQueue=null,Pn(c)?(h=!0,li(i)):h=!1,i.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,gp(i),p.updater=Lf,i.stateNode=p,p._reactInternals=i,Qs(i,c,r,l),i=Xs(null,i,c,!0,h,l)):(i.tag=0,bn&&h&&sf(i),yr(null,i,p,l),i=i.child),i;case 16:c=i.elementType;e:{switch(Yi(r,i),r=i.pendingProps,p=c._init,c=p(c._payload),i.type=c,p=i.tag=s0(c),r=va(c,r),p){case 0:i=Bh(null,i,c,r,l);break e;case 1:i=Wh(null,i,c,r,l);break e;case 11:i=fi(null,i,c,r,l);break e;case 14:i=Wl(null,i,c,va(c.type,r),l);break e}throw Error(d(306,c,""))}return i;case 0:return c=i.type,p=i.pendingProps,p=i.elementType===c?p:va(c,p),Bh(r,i,c,p,l);case 1:return c=i.type,p=i.pendingProps,p=i.elementType===c?p:va(c,p),Wh(r,i,c,p,l);case 3:e:{if(Pu(i),r===null)throw Error(d(387));c=i.pendingProps,h=i.memoizedState,p=h.element,Ah(r,i),As(i,c,null,l);var w=i.memoizedState;if(c=w.element,h.isDehydrated)if(h={element:c,isDehydrated:!1,cache:w.cache,pendingSuspenseBoundaries:w.pendingSuspenseBoundaries,transitions:w.transitions},i.updateQueue.baseState=h,i.memoizedState=h,i.flags&256){p=Bl(Error(d(423)),i),i=Yh(r,i,c,l,p);break e}else if(c!==p){p=Bl(Error(d(424)),i),i=Yh(r,i,c,l,p);break e}else for(si=Ma(i.stateNode.containerInfo.firstChild),ui=i,bn=!0,Bi=null,l=Re(i,null,c,l),i.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(qo(),c===p){i=Gi(r,i,l);break e}yr(r,i,c,l)}i=i.child}return i;case 5:return jh(i),r===null&&fp(i),c=i.type,p=i.pendingProps,h=r!==null?r.memoizedProps:null,w=p.children,rf(c,p)?w=null:h!==null&&rf(c,h)&&(i.flags|=32),kp(r,i),yr(r,i,w,l),i.child;case 6:return r===null&&fp(i),null;case 13:return Uf(r,i,l);case 4:return xp(i,i.stateNode.containerInfo),c=i.pendingProps,r===null?i.child=On(i,null,c,l):yr(r,i,c,l),i.child;case 11:return c=i.type,p=i.pendingProps,p=i.elementType===c?p:va(c,p),fi(r,i,c,p,l);case 7:return yr(r,i,i.pendingProps,l),i.child;case 8:return yr(r,i,i.pendingProps.children,l),i.child;case 12:return yr(r,i,i.pendingProps.children,l),i.child;case 10:e:{if(c=i.type._context,p=i.pendingProps,h=i.memoizedProps,w=p.value,Ie($i,c._currentValue),c._currentValue=w,h!==null)if(da(h.value,w)){if(h.children===p.children&&!er.current){i=Gi(r,i,l);break e}}else for(h=i.child,h!==null&&(h.return=i);h!==null;){var k=h.dependencies;if(k!==null){w=h.child;for(var L=k.firstContext;L!==null;){if(L.context===c){if(h.tag===1){L=fo(-1,l&-l),L.tag=2;var Q=h.updateQueue;if(Q!==null){Q=Q.shared;var fe=Q.pending;fe===null?L.next=L:(L.next=fe.next,fe.next=L),Q.pending=L}}h.lanes|=l,L=h.alternate,L!==null&&(L.lanes|=l),hp(h.return,l,i),k.lanes|=l;break}L=L.next}}else if(h.tag===10)w=h.type===i.type?null:h.child;else if(h.tag===18){if(w=h.return,w===null)throw Error(d(341));w.lanes|=l,k=w.alternate,k!==null&&(k.lanes|=l),hp(w,l,i),w=h.sibling}else w=h.child;if(w!==null)w.return=h;else for(w=h;w!==null;){if(w===i){w=null;break}if(h=w.sibling,h!==null){h.return=w.return,w=h;break}w=w.return}h=w}yr(r,i,p.children,l),i=i.child}return i;case 9:return p=i.type,c=i.pendingProps.children,Cn(i,l),p=Wi(p),c=c(p),i.flags|=1,yr(r,i,c,l),i.child;case 14:return c=i.type,p=va(c,i.pendingProps),p=va(c.type,p),Wl(r,i,c,p,l);case 15:return vt(r,i,i.type,i.pendingProps,l);case 17:return c=i.type,p=i.pendingProps,p=i.elementType===c?p:va(c,p),Yi(r,i),i.tag=1,Pn(c)?(r=!0,li(i)):r=!1,Cn(i,l),Mf(i,c,p),Qs(i,c,p,l),Xs(null,i,c,!0,r,l);case 19:return Pa(r,i,l);case 22:return Ks(r,i,l)}throw Error(d(156,i.tag))};function fv(r,i){return la(r,i)}function u0(r,i,l,c){this.tag=r,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function qi(r,i,l,c){return new u0(r,i,l,c)}function Pp(r){return r=r.prototype,!(!r||!r.isReactComponent)}function s0(r){if(typeof r=="function")return Pp(r)?1:0;if(r!=null){if(r=r.$$typeof,r===Tt)return 11;if(r===kt)return 14}return 2}function rl(r,i){var l=r.alternate;return l===null?(l=qi(r.tag,i,r.key,r.mode),l.elementType=r.elementType,l.type=r.type,l.stateNode=r.stateNode,l.alternate=r,r.alternate=l):(l.pendingProps=i,l.type=r.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=r.flags&14680064,l.childLanes=r.childLanes,l.lanes=r.lanes,l.child=r.child,l.memoizedProps=r.memoizedProps,l.memoizedState=r.memoizedState,l.updateQueue=r.updateQueue,i=r.dependencies,l.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},l.sibling=r.sibling,l.index=r.index,l.ref=r.ref,l}function fc(r,i,l,c,p,h){var w=2;if(c=r,typeof r=="function")Pp(r)&&(w=1);else if(typeof r=="string")w=5;else e:switch(r){case le:return yo(l.children,p,h,i);case Je:w=8,p|=8;break;case yt:return r=qi(12,l,i,p|2),r.elementType=yt,r.lanes=h,r;case Pe:return r=qi(13,l,i,p),r.elementType=Pe,r.lanes=h,r;case Ut:return r=qi(19,l,i,p),r.elementType=Ut,r.lanes=h,r;case Me:return il(l,p,h,i);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case Lt:w=10;break e;case Yt:w=9;break e;case Tt:w=11;break e;case kt:w=14;break e;case Mt:w=16,c=null;break e}throw Error(d(130,r==null?r:typeof r,""))}return i=qi(w,l,i,p),i.elementType=r,i.type=c,i.lanes=h,i}function yo(r,i,l,c){return r=qi(7,r,c,i),r.lanes=l,r}function il(r,i,l,c){return r=qi(22,r,c,i),r.elementType=Me,r.lanes=l,r.stateNode={isHidden:!1},r}function Hp(r,i,l){return r=qi(6,r,null,i),r.lanes=l,r}function Wf(r,i,l){return i=qi(4,r.children!==null?r.children:[],r.key,i),i.lanes=l,i.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},i}function dv(r,i,l,c,p){this.tag=i,this.containerInfo=r,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=xu(0),this.expirationTimes=xu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=xu(0),this.identifierPrefix=c,this.onRecoverableError=p,this.mutableSourceEagerHydrationData=null}function Yf(r,i,l,c,p,h,w,k,L){return r=new dv(r,i,l,k,L),i===1?(i=1,h===!0&&(i|=8)):i=0,h=qi(3,null,null,i),r.current=h,h.stateNode=r,h.memoizedState={element:c,isDehydrated:l,cache:null,transitions:null,pendingSuspenseBoundaries:null},gp(h),r}function c0(r,i,l){var c=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:pe,key:c==null?null:""+c,children:r,containerInfo:i,implementation:l}}function Ip(r){if(!r)return ai;r=r._reactInternals;e:{if(ut(r)!==r||r.tag!==1)throw Error(d(170));var i=r;do{switch(i.tag){case 3:i=i.stateNode.context;break e;case 1:if(Pn(i.type)){i=i.stateNode.__reactInternalMemoizedMergedChildContext;break e}}i=i.return}while(i!==null);throw Error(d(171))}if(r.tag===1){var l=r.type;if(Pn(l))return Ms(r,l,i)}return i}function pv(r,i,l,c,p,h,w,k,L){return r=Yf(l,c,!0,r,p,h,w,k,L),r.context=Ip(null),l=r.current,c=Gn(),p=Wa(l),h=fo(c,p),h.callback=i??null,Ko(l,h,p),r.current.lanes=p,to(r,p,c),mi(r,c),r}function Gf(r,i,l,c){var p=i.current,h=Gn(),w=Wa(p);return l=Ip(l),i.context===null?i.context=l:i.pendingContext=l,i=fo(h,w),i.payload={element:r},c=c===void 0?null:c,c!==null&&(i.callback=c),r=Ko(p,i,w),r!==null&&(Br(r,p,w,h),pf(r,p,w)),w}function Qf(r){if(r=r.current,!r.child)return null;switch(r.child.tag){case 5:return r.child.stateNode;default:return r.child.stateNode}}function Bp(r,i){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var l=r.retryLane;r.retryLane=l!==0&&l<i?l:i}}function qf(r,i){Bp(r,i),(r=r.alternate)&&Bp(r,i)}function mv(){return null}var Xl=typeof reportError=="function"?reportError:function(r){console.error(r)};function Wp(r){this._internalRoot=r}Kf.prototype.render=Wp.prototype.render=function(r){var i=this._internalRoot;if(i===null)throw Error(d(409));Gf(r,i,null,null)},Kf.prototype.unmount=Wp.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var i=r.containerInfo;ql(function(){Gf(null,r,null,null)}),i[lo]=null}};function Kf(r){this._internalRoot=r}Kf.prototype.unstable_scheduleHydration=function(r){if(r){var i=dt();r={blockedOn:null,target:r,priority:i};for(var l=0;l<Zn.length&&i!==0&&i<Zn[l].priority;l++);Zn.splice(l,0,r),l===0&&xs(r)}};function Yp(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function Xf(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11&&(r.nodeType!==8||r.nodeValue!==" react-mount-point-unstable "))}function hv(){}function f0(r,i,l,c,p){if(p){if(typeof c=="function"){var h=c;c=function(){var Q=Qf(w);h.call(Q)}}var w=pv(i,c,r,0,null,!1,!1,"",hv);return r._reactRootContainer=w,r[lo]=w.current,Du(r.nodeType===8?r.parentNode:r),ql(),w}for(;p=r.lastChild;)r.removeChild(p);if(typeof c=="function"){var k=c;c=function(){var Q=Qf(L);k.call(Q)}}var L=Yf(r,0,!1,null,null,!1,!1,"",hv);return r._reactRootContainer=L,r[lo]=L.current,Du(r.nodeType===8?r.parentNode:r),ql(function(){Gf(i,L,l,c)}),L}function dc(r,i,l,c,p){var h=l._reactRootContainer;if(h){var w=h;if(typeof p=="function"){var k=p;p=function(){var L=Qf(w);k.call(L)}}Gf(i,w,r,p)}else w=f0(l,i,r,p,c);return Qf(w)}zt=function(r){switch(r.tag){case 3:var i=r.stateNode;if(i.current.memoizedState.isDehydrated){var l=ua(i.pendingLanes);l!==0&&(no(i,l|1),mi(i,Qt()),(Nt&6)===0&&(Wu=Qt()+500,Ua()))}break;case 13:ql(function(){var c=Ri(r,1);if(c!==null){var p=Gn();Br(c,r,1,p)}}),qf(r,1)}},gs=function(r){if(r.tag===13){var i=Ri(r,134217728);if(i!==null){var l=Gn();Br(i,r,134217728,l)}qf(r,134217728)}},_a=function(r){if(r.tag===13){var i=Wa(r),l=Ri(r,i);if(l!==null){var c=Gn();Br(l,r,i,c)}qf(r,i)}},dt=function(){return Vt},wu=function(r,i){var l=Vt;try{return Vt=r,i()}finally{Vt=l}},gn=function(r,i,l){switch(i){case"input":if(ti(r,l),i=l.name,l.type==="radio"&&i!=null){for(l=r;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll("input[name="+JSON.stringify(""+i)+'][type="radio"]'),i=0;i<l.length;i++){var c=l[i];if(c!==r&&c.form===r.form){var p=Dn(c);if(!p)throw Error(d(90));vn(c),ti(c,p)}}}break;case"textarea":ia(r,l);break;case"select":i=l.value,i!=null&&Nn(r,!!l.multiple,i,!1)}},No=jp,gl=ql;var d0={usingClientEntryPoint:!1,Events:[We,pa,Dn,Ta,hu,jp]},pc={findFiberByHostInstance:Dl,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},vv={bundleType:pc.bundleType,version:pc.version,rendererPackageName:pc.rendererPackageName,rendererConfig:pc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ie.ReactCurrentDispatcher,findHostInstanceByFiber:function(r){return r=un(r),r===null?null:r.stateNode},findFiberByHostInstance:pc.findFiberByHostInstance||mv,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var al=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!al.isDisabled&&al.supportsFiber)try{Mo=al.inject(vv),ri=al}catch{}}return ta.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=d0,ta.createPortal=function(r,i){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Yp(i))throw Error(d(200));return c0(r,i,null,l)},ta.createRoot=function(r,i){if(!Yp(r))throw Error(d(299));var l=!1,c="",p=Xl;return i!=null&&(i.unstable_strictMode===!0&&(l=!0),i.identifierPrefix!==void 0&&(c=i.identifierPrefix),i.onRecoverableError!==void 0&&(p=i.onRecoverableError)),i=Yf(r,1,!1,null,null,l,!1,c,p),r[lo]=i.current,Du(r.nodeType===8?r.parentNode:r),new Wp(i)},ta.findDOMNode=function(r){if(r==null)return null;if(r.nodeType===1)return r;var i=r._reactInternals;if(i===void 0)throw typeof r.render=="function"?Error(d(188)):(r=Object.keys(r).join(","),Error(d(268,r)));return r=un(i),r=r===null?null:r.stateNode,r},ta.flushSync=function(r){return ql(r)},ta.hydrate=function(r,i,l){if(!Xf(i))throw Error(d(200));return dc(null,r,i,!0,l)},ta.hydrateRoot=function(r,i,l){if(!Yp(r))throw Error(d(405));var c=l!=null&&l.hydratedSources||null,p=!1,h="",w=Xl;if(l!=null&&(l.unstable_strictMode===!0&&(p=!0),l.identifierPrefix!==void 0&&(h=l.identifierPrefix),l.onRecoverableError!==void 0&&(w=l.onRecoverableError)),i=pv(i,null,r,1,l??null,p,!1,h,w),r[lo]=i.current,Du(r),c)for(r=0;r<c.length;r++)l=c[r],p=l._getVersion,p=p(l._source),i.mutableSourceEagerHydrationData==null?i.mutableSourceEagerHydrationData=[l,p]:i.mutableSourceEagerHydrationData.push(l,p);return new Kf(i)},ta.render=function(r,i,l){if(!Xf(i))throw Error(d(200));return dc(null,r,i,!1,l)},ta.unmountComponentAtNode=function(r){if(!Xf(r))throw Error(d(40));return r._reactRootContainer?(ql(function(){dc(null,null,r,!1,function(){r._reactRootContainer=null,r[lo]=null})}),!0):!1},ta.unstable_batchedUpdates=jp,ta.unstable_renderSubtreeIntoContainer=function(r,i,l,c){if(!Xf(l))throw Error(d(200));if(r==null||r._reactInternals===void 0)throw Error(d(38));return dc(r,i,l,!1,c)},ta.version="18.3.1-next-f1338f8080-20240426",ta}var na={};/**
|
|
102
|
+
* @license React
|
|
103
|
+
* react-dom.development.js
|
|
104
|
+
*
|
|
105
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
106
|
+
*
|
|
107
|
+
* This source code is licensed under the MIT license found in the
|
|
108
|
+
* LICENSE file in the root directory of this source tree.
|
|
109
|
+
*/var WC;function B3(){return WC||(WC=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=jd(),s=L$(),d=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,v=!1;function b(e){v=e}function E(e){if(!v){for(var t=arguments.length,a=new Array(t>1?t-1:0),o=1;o<t;o++)a[o-1]=arguments[o];R("warn",e,a)}}function y(e){if(!v){for(var t=arguments.length,a=new Array(t>1?t-1:0),o=1;o<t;o++)a[o-1]=arguments[o];R("error",e,a)}}function R(e,t,a){{var o=d.ReactDebugCurrentFrame,u=o.getStackAddendum();u!==""&&(t+="%s",a=a.concat([u]));var f=a.map(function(m){return String(m)});f.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,f)}}var T=0,_=1,A=2,N=3,M=4,V=5,P=6,re=7,oe=8,ge=9,X=10,K=11,ie=12,ne=13,pe=14,le=15,Je=16,yt=17,Lt=18,Yt=19,Tt=21,Pe=22,Ut=23,kt=24,Mt=25,Me=!0,ve=!1,Oe=!1,Se=!1,F=!1,Z=!0,Ze=!0,Ge=!0,mt=!0,ct=new Set,ft={},at={};function ot(e,t){jt(e,t),jt(e+"Capture",t)}function jt(e,t){ft[e]&&y("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),ft[e]=t;{var a=e.toLowerCase();at[a]=e,e==="onDoubleClick"&&(at.ondblclick=e)}for(var o=0;o<t.length;o++)ct.add(t[o])}var fn=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",vn=Object.prototype.hasOwnProperty;function _n(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,a=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function dr(e){try{return qn(e),!1}catch{return!0}}function qn(e){return""+e}function Kn(e,t){if(dr(e))return y("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,_n(e)),qn(e)}function ti(e){if(dr(e))return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",_n(e)),qn(e)}function $a(e,t){if(dr(e))return y("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,_n(e)),qn(e)}function Si(e,t){if(dr(e))return y("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,_n(e)),qn(e)}function ar(e){if(dr(e))return y("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",_n(e)),qn(e)}function Nn(e){if(dr(e))return y("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.",_n(e)),qn(e)}var Xn=0,kr=1,ia=2,jn=3,_r=4,Nr=5,aa=6,Ra=":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",we=Ra+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ve=new RegExp("^["+Ra+"]["+we+"]*$"),gt={},Gt={};function ln(e){return vn.call(Gt,e)?!0:vn.call(gt,e)?!1:Ve.test(e)?(Gt[e]=!0,!0):(gt[e]=!0,y("Invalid attribute name: `%s`",e),!1)}function wn(e,t,a){return t!==null?t.type===Xn:a?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function dn(e,t,a,o){if(a!==null&&a.type===Xn)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(o)return!1;if(a!==null)return!a.acceptsBooleans;var u=e.toLowerCase().slice(0,5);return u!=="data-"&&u!=="aria-"}default:return!1}}function or(e,t,a,o){if(t===null||typeof t>"u"||dn(e,t,a,o))return!0;if(o)return!1;if(a!==null)switch(a.type){case jn:return!t;case _r:return t===!1;case Nr:return isNaN(t);case aa:return isNaN(t)||t<1}return!1}function yn(e){return gn.hasOwnProperty(e)?gn[e]:null}function Xt(e,t,a,o,u,f,m){this.acceptsBooleans=t===ia||t===jn||t===_r,this.attributeName=o,this.attributeNamespace=u,this.mustUseProperty=a,this.propertyName=e,this.type=t,this.sanitizeURL=f,this.removeEmptyString=m}var gn={},Dr=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Dr.forEach(function(e){gn[e]=new Xt(e,Xn,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],a=e[1];gn[t]=new Xt(t,kr,!1,a,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){gn[e]=new Xt(e,ia,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){gn[e]=new Xt(e,ia,!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){gn[e]=new Xt(e,jn,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){gn[e]=new Xt(e,jn,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){gn[e]=new Xt(e,_r,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){gn[e]=new Xt(e,aa,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){gn[e]=new Xt(e,Nr,!1,e.toLowerCase(),null,!1,!1)});var Or=/[\-\:]([a-z])/g,wi=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(Or,wi);gn[t]=new Xt(t,kr,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(Or,wi);gn[t]=new Xt(t,kr,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Or,wi);gn[t]=new Xt(t,kr,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){gn[e]=new Xt(e,kr,!1,e.toLowerCase(),null,!1,!1)});var Ta="xlinkHref";gn[Ta]=new Xt("xlinkHref",kr,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){gn[e]=new Xt(e,kr,!1,e.toLowerCase(),null,!0,!0)});var hu=/^[\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,No=!1;function gl(e){!No&&hu.test(e)&&(No=!0,y("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 Do(e,t,a,o){if(o.mustUseProperty){var u=o.propertyName;return e[u]}else{Kn(a,t),o.sanitizeURL&&gl(""+a);var f=o.attributeName,m=null;if(o.type===_r){if(e.hasAttribute(f)){var g=e.getAttribute(f);return g===""?!0:or(t,a,o,!1)?g:g===""+a?a:g}}else if(e.hasAttribute(f)){if(or(t,a,o,!1))return e.getAttribute(f);if(o.type===jn)return a;m=e.getAttribute(f)}return or(t,a,o,!1)?m===null?a:m:m===""+a?a:m}}function Oo(e,t,a,o){{if(!ln(t))return;if(!e.hasAttribute(t))return a===void 0?void 0:null;var u=e.getAttribute(t);return Kn(a,t),u===""+a?a:u}}function Ur(e,t,a,o){var u=yn(t);if(!wn(t,u,o)){if(or(t,a,u,o)&&(a=null),o||u===null){if(ln(t)){var f=t;a===null?e.removeAttribute(f):(Kn(a,t),e.setAttribute(f,""+a))}return}var m=u.mustUseProperty;if(m){var g=u.propertyName;if(a===null){var x=u.type;e[g]=x===jn?!1:""}else e[g]=a;return}var C=u.attributeName,$=u.attributeNamespace;if(a===null)e.removeAttribute(C);else{var j=u.type,z;j===jn||j===_r&&a===!0?z="":(Kn(a,C),z=""+a,u.sanitizeURL&&gl(z.toString())),$?e.setAttributeNS($,C,z):e.setAttribute(C,z)}}}var ni=Symbol.for("react.element"),pr=Symbol.for("react.portal"),ka=Symbol.for("react.fragment"),oa=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),se=Symbol.for("react.provider"),Ee=Symbol.for("react.context"),Be=Symbol.for("react.forward_ref"),Et=Symbol.for("react.suspense"),lt=Symbol.for("react.suspense_list"),ut=Symbol.for("react.memo"),Qe=Symbol.for("react.lazy"),Fn=Symbol.for("react.scope"),pn=Symbol.for("react.debug_trace_mode"),un=Symbol.for("react.offscreen"),mr=Symbol.for("react.legacy_hidden"),la=Symbol.for("react.cache"),Ai=Symbol.for("react.tracing_marker"),Jn=Symbol.iterator,bl="@@iterator";function Qt(e){if(e===null||typeof e!="object")return null;var t=Jn&&e[Jn]||e[bl];return typeof t=="function"?t:null}var xt=Object.assign,eo=0,vs,xl,Lo,vu,Mo,ri,ys;function jr(){}jr.__reactDisabledLog=!0;function Hc(){{if(eo===0){vs=console.log,xl=console.info,Lo=console.warn,vu=console.error,Mo=console.group,ri=console.groupCollapsed,ys=console.groupEnd;var e={configurable:!0,enumerable:!0,value:jr,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}eo++}}function Ic(){{if(eo--,eo===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:xt({},e,{value:vs}),info:xt({},e,{value:xl}),warn:xt({},e,{value:Lo}),error:xt({},e,{value:vu}),group:xt({},e,{value:Mo}),groupCollapsed:xt({},e,{value:ri}),groupEnd:xt({},e,{value:ys})})}eo<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var yu=d.ReactCurrentDispatcher,zo;function Ei(e,t,a){{if(zo===void 0)try{throw Error()}catch(u){var o=u.stack.trim().match(/\n( *(at )?)/);zo=o&&o[1]||""}return`
|
|
110
|
+
`+zo+e}}var ua=!1,sa;{var gu=typeof WeakMap=="function"?WeakMap:Map;sa=new gu}function Sl(e,t){if(!e||ua)return"";{var a=sa.get(e);if(a!==void 0)return a}var o;ua=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var f;f=yu.current,yu.current=null,Hc();try{if(t){var m=function(){throw Error()};if(Object.defineProperty(m.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(m,[])}catch(q){o=q}Reflect.construct(e,[],m)}else{try{m.call()}catch(q){o=q}e.call(m.prototype)}}else{try{throw Error()}catch(q){o=q}e()}}catch(q){if(q&&o&&typeof q.stack=="string"){for(var g=q.stack.split(`
|
|
111
|
+
`),x=o.stack.split(`
|
|
112
|
+
`),C=g.length-1,$=x.length-1;C>=1&&$>=0&&g[C]!==x[$];)$--;for(;C>=1&&$>=0;C--,$--)if(g[C]!==x[$]){if(C!==1||$!==1)do if(C--,$--,$<0||g[C]!==x[$]){var j=`
|
|
113
|
+
`+g[C].replace(" at new "," at ");return e.displayName&&j.includes("<anonymous>")&&(j=j.replace("<anonymous>",e.displayName)),typeof e=="function"&&sa.set(e,j),j}while(C>=1&&$>=0);break}}}finally{ua=!1,yu.current=f,Ic(),Error.prepareStackTrace=u}var z=e?e.displayName||e.name:"",Y=z?Ei(z):"";return typeof e=="function"&&sa.set(e,Y),Y}function Ao(e,t,a){return Sl(e,!0)}function bu(e,t,a){return Sl(e,!1)}function xu(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function to(e,t,a){if(e==null)return"";if(typeof e=="function")return Sl(e,xu(e));if(typeof e=="string")return Ei(e);switch(e){case Et:return Ei("Suspense");case lt:return Ei("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case Be:return bu(e.render);case ut:return to(e.type,t,a);case Qe:{var o=e,u=o._payload,f=o._init;try{return to(f(u),t,a)}catch{}}}return""}function Pd(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case V:return Ei(e.type);case Je:return Ei("Lazy");case ne:return Ei("Suspense");case Yt:return Ei("SuspenseList");case T:case A:case le:return bu(e.type);case K:return bu(e.type.render);case _:return Ao(e.type);default:return""}}function no(e){try{var t="",a=e;do t+=Pd(a),a=a.return;while(a);return t}catch(o){return`
|
|
114
|
+
Error generating stack: `+o.message+`
|
|
115
|
+
`+o.stack}}function Vt(e,t,a){var o=e.displayName;if(o)return o;var u=t.displayName||t.name||"";return u!==""?a+"("+u+")":a}function Su(e){return e.displayName||"Context"}function zt(e){if(e==null)return null;if(typeof e.tag=="number"&&y("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 ka:return"Fragment";case pr:return"Portal";case O:return"Profiler";case oa:return"StrictMode";case Et:return"Suspense";case lt:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ee:var t=e;return Su(t)+".Consumer";case se:var a=e;return Su(a._context)+".Provider";case Be:return Vt(e,e.render,"ForwardRef");case ut:var o=e.displayName||null;return o!==null?o:zt(e.type)||"Memo";case Qe:{var u=e,f=u._payload,m=u._init;try{return zt(m(f))}catch{return null}}}return null}function gs(e,t,a){var o=t.displayName||t.name||"";return e.displayName||(o!==""?a+"("+o+")":a)}function _a(e){return e.displayName||"Context"}function dt(e){var t=e.tag,a=e.type;switch(t){case kt:return"Cache";case ge:var o=a;return _a(o)+".Consumer";case X:var u=a;return _a(u._context)+".Provider";case Lt:return"DehydratedFragment";case K:return gs(a,a.render,"ForwardRef");case re:return"Fragment";case V:return a;case M:return"Portal";case N:return"Root";case P:return"Text";case Je:return zt(a);case oe:return a===oa?"StrictMode":"Mode";case Pe:return"Offscreen";case ie:return"Profiler";case Tt:return"Scope";case ne:return"Suspense";case Yt:return"SuspenseList";case Mt:return"TracingMarker";case _:case T:case yt:case A:case pe:case le:if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;break}return null}var wu=d.ReactDebugCurrentFrame,hr=null,Na=!1;function Fr(){{if(hr===null)return null;var e=hr._debugOwner;if(e!==null&&typeof e<"u")return dt(e)}return null}function Da(){return hr===null?"":no(hr)}function mn(){wu.getCurrentStack=null,hr=null,Na=!1}function Jt(e){wu.getCurrentStack=e===null?null:Da,hr=e,Na=!1}function Uo(){return hr}function Zn(e){Na=e}function Vr(e){return""+e}function Ui(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return Nn(e),e;default:return""}}var wl={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function bs(e,t){wl[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||y("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||y("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 xs(e){var t=e.type,a=e.nodeName;return a&&a.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function jo(e){return e._valueTracker}function El(e){e._valueTracker=null}function Hd(e){var t="";return e&&(xs(e)?t=e.checked?"true":"false":t=e.value),t}function ji(e){var t=xs(e)?"checked":"value",a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);Nn(e[t]);var o=""+e[t];if(!(e.hasOwnProperty(t)||typeof a>"u"||typeof a.get!="function"||typeof a.set!="function")){var u=a.get,f=a.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return u.call(this)},set:function(g){Nn(g),o=""+g,f.call(this,g)}}),Object.defineProperty(e,t,{enumerable:a.enumerable});var m={getValue:function(){return o},setValue:function(g){Nn(g),o=""+g},stopTracking:function(){El(e),delete e[t]}};return m}}function ca(e){jo(e)||(e._valueTracker=ji(e))}function Oa(e){if(!e)return!1;var t=jo(e);if(!t)return!0;var a=t.getValue(),o=Hd(e);return o!==a?(t.setValue(o),!0):!1}function Fi(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 Eu=!1,Cu=!1,Fo=!1,Cl=!1;function $u(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function Ru(e,t){var a=e,o=t.checked,u=xt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o??a._wrapperState.initialChecked});return u}function fa(e,t){bs("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Cu&&(y("%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",Fr()||"A component",t.type),Cu=!0),t.value!==void 0&&t.defaultValue!==void 0&&!Eu&&(y("%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",Fr()||"A component",t.type),Eu=!0);var a=e,o=t.defaultValue==null?"":t.defaultValue;a._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:Ui(t.value!=null?t.value:o),controlled:$u(t)}}function S(e,t){var a=e,o=t.checked;o!=null&&Ur(a,"checked",o,!1)}function D(e,t){var a=e;{var o=$u(t);!a._wrapperState.controlled&&o&&!Cl&&(y("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"),Cl=!0),a._wrapperState.controlled&&!o&&!Fo&&(y("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"),Fo=!0)}S(e,t);var u=Ui(t.value),f=t.type;if(u!=null)f==="number"?(u===0&&a.value===""||a.value!=u)&&(a.value=Vr(u)):a.value!==Vr(u)&&(a.value=Vr(u));else if(f==="submit"||f==="reset"){a.removeAttribute("value");return}t.hasOwnProperty("value")?qe(a,t.type,u):t.hasOwnProperty("defaultValue")&&qe(a,t.type,Ui(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(a.defaultChecked=!!t.defaultChecked)}function G(e,t,a){var o=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var u=t.type,f=u==="submit"||u==="reset";if(f&&(t.value===void 0||t.value===null))return;var m=Vr(o._wrapperState.initialValue);a||m!==o.value&&(o.value=m),o.defaultValue=m}var g=o.name;g!==""&&(o.name=""),o.defaultChecked=!o.defaultChecked,o.defaultChecked=!!o._wrapperState.initialChecked,g!==""&&(o.name=g)}function J(e,t){var a=e;D(a,t),ye(a,t)}function ye(e,t){var a=t.name;if(t.type==="radio"&&a!=null){for(var o=e;o.parentNode;)o=o.parentNode;Kn(a,"name");for(var u=o.querySelectorAll("input[name="+JSON.stringify(""+a)+'][type="radio"]'),f=0;f<u.length;f++){var m=u[f];if(!(m===e||m.form!==e.form)){var g=Mv(m);if(!g)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Oa(m),D(m,g)}}}}function qe(e,t,a){(t!=="number"||Fi(e.ownerDocument)!==e)&&(a==null?e.defaultValue=Vr(e._wrapperState.initialValue):e.defaultValue!==Vr(a)&&(e.defaultValue=Vr(a)))}var $e=!1,tt=!1,wt=!1;function At(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?n.Children.forEach(t.children,function(a){a!=null&&(typeof a=="string"||typeof a=="number"||tt||(tt=!0,y("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(wt||(wt=!0,y("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!$e&&(y("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),$e=!0)}function sn(e,t){t.value!=null&&e.setAttribute("value",Vr(Ui(t.value)))}var Zt=Array.isArray;function bt(e){return Zt(e)}var en;en=!1;function En(){var e=Fr();return e?`
|
|
116
|
+
|
|
117
|
+
Check the render method of \``+e+"`.":""}var Vo=["value","defaultValue"];function Ss(e){{bs("select",e);for(var t=0;t<Vo.length;t++){var a=Vo[t];if(e[a]!=null){var o=bt(e[a]);e.multiple&&!o?y("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",a,En()):!e.multiple&&o&&y("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",a,En())}}}}function ro(e,t,a,o){var u=e.options;if(t){for(var f=a,m={},g=0;g<f.length;g++)m["$"+f[g]]=!0;for(var x=0;x<u.length;x++){var C=m.hasOwnProperty("$"+u[x].value);u[x].selected!==C&&(u[x].selected=C),C&&o&&(u[x].defaultSelected=!0)}}else{for(var $=Vr(Ui(a)),j=null,z=0;z<u.length;z++){if(u[z].value===$){u[z].selected=!0,o&&(u[z].defaultSelected=!0);return}j===null&&!u[z].disabled&&(j=u[z])}j!==null&&(j.selected=!0)}}function ws(e,t){return xt({},t,{value:void 0})}function $l(e,t){var a=e;Ss(t),a._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!en&&(y("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"),en=!0)}function Id(e,t){var a=e;a.multiple=!!t.multiple;var o=t.value;o!=null?ro(a,!!t.multiple,o,!1):t.defaultValue!=null&&ro(a,!!t.multiple,t.defaultValue,!0)}function Bc(e,t){var a=e,o=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!t.multiple;var u=t.value;u!=null?ro(a,!!t.multiple,u,!1):o!==!!t.multiple&&(t.defaultValue!=null?ro(a,!!t.multiple,t.defaultValue,!0):ro(a,!!t.multiple,t.multiple?[]:"",!1))}function Bd(e,t){var a=e,o=t.value;o!=null&&ro(a,!!t.multiple,o,!1)}var rh=!1;function Wd(e,t){var a=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var o=xt({},t,{value:void 0,defaultValue:void 0,children:Vr(a._wrapperState.initialValue)});return o}function Yd(e,t){var a=e;bs("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!rh&&(y("%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",Fr()||"A component"),rh=!0);var o=t.value;if(o==null){var u=t.children,f=t.defaultValue;if(u!=null){y("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(f!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(bt(u)){if(u.length>1)throw new Error("<textarea> can only have at most one child.");u=u[0]}f=u}}f==null&&(f=""),o=f}a._wrapperState={initialValue:Ui(o)}}function ih(e,t){var a=e,o=Ui(t.value),u=Ui(t.defaultValue);if(o!=null){var f=Vr(o);f!==a.value&&(a.value=f),t.defaultValue==null&&a.defaultValue!==f&&(a.defaultValue=f)}u!=null&&(a.defaultValue=Vr(u))}function ah(e,t){var a=e,o=a.textContent;o===a._wrapperState.initialValue&&o!==""&&o!==null&&(a.value=o)}function Pg(e,t){ih(e,t)}var io="http://www.w3.org/1999/xhtml",Gd="http://www.w3.org/1998/Math/MathML",Qd="http://www.w3.org/2000/svg";function qd(e){switch(e){case"svg":return Qd;case"math":return Gd;default:return io}}function Kd(e,t){return e==null||e===io?qd(t):e===Qd&&t==="foreignObject"?io:e}var oh=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,a,o,u){MSApp.execUnsafeLocalFunction(function(){return e(t,a,o,u)})}:e},Wc,lh=oh(function(e,t){if(e.namespaceURI===Qd&&!("innerHTML"in e)){Wc=Wc||document.createElement("div"),Wc.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var a=Wc.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;a.firstChild;)e.appendChild(a.firstChild);return}e.innerHTML=t}),ii=1,ao=3,Vn=8,oo=9,Xd=11,Tu=function(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===ao){a.nodeValue=t;return}}e.textContent=t},Es={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"]},Cs={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 uh(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var sh=["Webkit","ms","Moz","O"];Object.keys(Cs).forEach(function(e){sh.forEach(function(t){Cs[uh(t,e)]=Cs[e]})});function Yc(e,t,a){var o=t==null||typeof t=="boolean"||t==="";return o?"":!a&&typeof t=="number"&&t!==0&&!(Cs.hasOwnProperty(e)&&Cs[e])?t+"px":(Si(t,e),(""+t).trim())}var ch=/([A-Z])/g,fh=/^ms-/;function ku(e){return e.replace(ch,"-$1").toLowerCase().replace(fh,"-ms-")}var dh=function(){};{var Hg=/^(?:webkit|moz|o)[A-Z]/,Ig=/^-ms-/,ph=/-(.)/g,Jd=/;\s*$/,La={},Rl={},mh=!1,$s=!1,Bg=function(e){return e.replace(ph,function(t,a){return a.toUpperCase()})},hh=function(e){La.hasOwnProperty(e)&&La[e]||(La[e]=!0,y("Unsupported style property %s. Did you mean %s?",e,Bg(e.replace(Ig,"ms-"))))},Zd=function(e){La.hasOwnProperty(e)&&La[e]||(La[e]=!0,y("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},ep=function(e,t){Rl.hasOwnProperty(t)&&Rl[t]||(Rl[t]=!0,y(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Jd,"")))},vh=function(e,t){mh||(mh=!0,y("`NaN` is an invalid value for the `%s` css style property.",e))},yh=function(e,t){$s||($s=!0,y("`Infinity` is an invalid value for the `%s` css style property.",e))};dh=function(e,t){e.indexOf("-")>-1?hh(e):Hg.test(e)?Zd(e):Jd.test(t)&&ep(e,t),typeof t=="number"&&(isNaN(t)?vh(e,t):isFinite(t)||yh(e,t))}}var gh=dh;function Wg(e){{var t="",a="";for(var o in e)if(e.hasOwnProperty(o)){var u=e[o];if(u!=null){var f=o.indexOf("--")===0;t+=a+(f?o:ku(o))+":",t+=Yc(o,u,f),a=";"}}return t||null}}function bh(e,t){var a=e.style;for(var o in t)if(t.hasOwnProperty(o)){var u=o.indexOf("--")===0;u||gh(o,t[o]);var f=Yc(o,t[o],u);o==="float"&&(o="cssFloat"),u?a.setProperty(o,f):a[o]=f}}function Yg(e){return e==null||typeof e=="boolean"||e===""}function xh(e){var t={};for(var a in e)for(var o=Es[a]||[a],u=0;u<o.length;u++)t[o[u]]=a;return t}function Gg(e,t){{if(!t)return;var a=xh(e),o=xh(t),u={};for(var f in a){var m=a[f],g=o[f];if(g&&m!==g){var x=m+","+g;if(u[x])continue;u[x]=!0,y("%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.",Yg(e[m])?"Removing":"Updating",m,g)}}}}var da={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},Rs=xt({menuitem:!0},da),Sh="__html";function Gc(e,t){if(t){if(Rs[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"||!(Sh 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&&y("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 Po(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 Ts={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"},Qc={"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},_u={},Qg=new RegExp("^(aria)-["+we+"]*$"),Nu=new RegExp("^(aria)[A-Z]["+we+"]*$");function tp(e,t){{if(vn.call(_u,t)&&_u[t])return!0;if(Nu.test(t)){var a="aria-"+t.slice(4).toLowerCase(),o=Qc.hasOwnProperty(a)?a:null;if(o==null)return y("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),_u[t]=!0,!0;if(t!==o)return y("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,o),_u[t]=!0,!0}if(Qg.test(t)){var u=t.toLowerCase(),f=Qc.hasOwnProperty(u)?u:null;if(f==null)return _u[t]=!0,!1;if(t!==f)return y("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,f),_u[t]=!0,!0}}return!0}function ks(e,t){{var a=[];for(var o in t){var u=tp(e,o);u||a.push(o)}var f=a.map(function(m){return"`"+m+"`"}).join(", ");a.length===1?y("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",f,e):a.length>1&&y("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",f,e)}}function np(e,t){Po(e,t)||ks(e,t)}var rp=!1;function qc(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!rp&&(rp=!0,e==="select"&&t.multiple?y("`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):y("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var Tl=function(){};{var vr={},ip=/^on./,Kc=/^on[^A-Z]/,wh=new RegExp("^(aria)-["+we+"]*$"),Eh=new RegExp("^(aria)[A-Z]["+we+"]*$");Tl=function(e,t,a,o){if(vn.call(vr,t)&&vr[t])return!0;var u=t.toLowerCase();if(u==="onfocusin"||u==="onfocusout")return y("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."),vr[t]=!0,!0;if(o!=null){var f=o.registrationNameDependencies,m=o.possibleRegistrationNames;if(f.hasOwnProperty(t))return!0;var g=m.hasOwnProperty(u)?m[u]:null;if(g!=null)return y("Invalid event handler property `%s`. Did you mean `%s`?",t,g),vr[t]=!0,!0;if(ip.test(t))return y("Unknown event handler property `%s`. It will be ignored.",t),vr[t]=!0,!0}else if(ip.test(t))return Kc.test(t)&&y("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),vr[t]=!0,!0;if(wh.test(t)||Eh.test(t))return!0;if(u==="innerhtml")return y("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),vr[t]=!0,!0;if(u==="aria")return y("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),vr[t]=!0,!0;if(u==="is"&&a!==null&&a!==void 0&&typeof a!="string")return y("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof a),vr[t]=!0,!0;if(typeof a=="number"&&isNaN(a))return y("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),vr[t]=!0,!0;var x=yn(t),C=x!==null&&x.type===Xn;if(Ts.hasOwnProperty(u)){var $=Ts[u];if($!==t)return y("Invalid DOM property `%s`. Did you mean `%s`?",t,$),vr[t]=!0,!0}else if(!C&&t!==u)return y("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,u),vr[t]=!0,!0;return typeof a=="boolean"&&dn(t,a,x,!1)?(a?y('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()}.',a,t,t,a,t):y('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.',a,t,t,a,t,t,t),vr[t]=!0,!0):C?!0:dn(t,a,x,!1)?(vr[t]=!0,!1):((a==="false"||a==="true")&&x!==null&&x.type===jn&&(y("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",a,t,a==="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,a),vr[t]=!0),!0)}}var Ch=function(e,t,a){{var o=[];for(var u in t){var f=Tl(e,u,t[u],a);f||o.push(u)}var m=o.map(function(g){return"`"+g+"`"}).join(", ");o.length===1?y("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",m,e):o.length>1&&y("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",m,e)}};function $h(e,t,a){Po(e,t)||Ch(e,t,a)}var ap=1,Xc=2,Vi=4,op=ap|Xc|Vi,kl=null;function qg(e){kl!==null&&y("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),kl=e}function Kg(){kl===null&&y("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),kl=null}function _s(e){return e===kl}function lp(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===ao?t.parentNode:t}var Jc=null,_l=null,qt=null;function Zc(e){var t=Xu(e);if(t){if(typeof Jc!="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 a=t.stateNode;if(a){var o=Mv(a);Jc(t.stateNode,t.type,o)}}}function ef(e){Jc=e}function Du(e){_l?qt?qt.push(e):qt=[e]:_l=e}function Rh(){return _l!==null||qt!==null}function tf(){if(_l){var e=_l,t=qt;if(_l=null,qt=null,Zc(e),t)for(var a=0;a<t.length;a++)Zc(t[a])}}var Ou=function(e,t){return e(t)},Ns=function(){},Ho=!1;function Th(){var e=Rh();e&&(Ns(),tf())}function kh(e,t,a){if(Ho)return e(t,a);Ho=!0;try{return Ou(e,t,a)}finally{Ho=!1,Th()}}function Xg(e,t,a){Ou=e,Ns=a}function _h(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function nf(e,t,a){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!!(a.disabled&&_h(t));default:return!1}}function Io(e,t){var a=e.stateNode;if(a===null)return null;var o=Mv(a);if(o===null)return null;var u=o[t];if(nf(t,e.type,o))return null;if(u&&typeof u!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof u+"` type.");return u}var Ds=!1;if(fn)try{var Nl={};Object.defineProperty(Nl,"passive",{get:function(){Ds=!0}}),window.addEventListener("test",Nl,Nl),window.removeEventListener("test",Nl,Nl)}catch{Ds=!1}function rf(e,t,a,o,u,f,m,g,x){var C=Array.prototype.slice.call(arguments,3);try{t.apply(a,C)}catch($){this.onError($)}}var af=rf;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var up=document.createElement("react");af=function(t,a,o,u,f,m,g,x,C){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 $=document.createEvent("Event"),j=!1,z=!0,Y=window.event,q=Object.getOwnPropertyDescriptor(window,"event");function ee(){up.removeEventListener(te,Ke,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=Y)}var Te=Array.prototype.slice.call(arguments,3);function Ke(){j=!0,ee(),a.apply(o,Te),z=!1}var He,Ot=!1,$t=!1;function I(B){if(He=B.error,Ot=!0,He===null&&B.colno===0&&B.lineno===0&&($t=!0),B.defaultPrevented&&He!=null&&typeof He=="object")try{He._suppressLogging=!0}catch{}}var te="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",I),up.addEventListener(te,Ke,!1),$.initEvent(te,!1,!1),up.dispatchEvent($),q&&Object.defineProperty(window,"event",q),j&&z&&(Ot?$t&&(He=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.")):He=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(He)),window.removeEventListener("error",I),!j)return ee(),rf.apply(this,arguments)}}var Nh=af,Lu=!1,of=null,Mu=!1,Ma=null,Dh={onError:function(e){Lu=!0,of=e}};function Bo(e,t,a,o,u,f,m,g,x){Lu=!1,of=null,Nh.apply(Dh,arguments)}function za(e,t,a,o,u,f,m,g,x){if(Bo.apply(this,arguments),Lu){var C=Ls();Mu||(Mu=!0,Ma=C)}}function Os(){if(Mu){var e=Ma;throw Mu=!1,Ma=null,e}}function lo(){return Lu}function Ls(){if(Lu){var e=of;return Lu=!1,of=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 zu(e){return e._reactInternals}function Jg(e){return e._reactInternals!==void 0}function Dl(e,t){e._reactInternals=t}var We=0,pa=1,Dn=2,_t=4,Pi=16,ma=32,cn=64,Ie=128,ai=256,kn=512,er=1024,oi=2048,Hi=4096,Pn=8192,Au=16384,Oh=32767,Ms=32768,li=65536,lf=131072,Aa=1048576,Uu=2097152,uo=4194304,uf=8388608,Wo=16777216,Ua=33554432,Yo=_t|er|0,Go=Dn|_t|Pi|ma|kn|Hi|Pn,Qo=_t|cn|kn|Pn,so=oi|Pi,Hn=uo|uf|Uu,Ii=d.ReactCurrentOwner;function Ci(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{var o=t;do t=o,(t.flags&(Dn|Hi))!==We&&(a=t.return),o=t.return;while(o)}return t.tag===N?a:null}function ja(e){if(e.tag===ne){var t=e.memoizedState;if(t===null){var a=e.alternate;a!==null&&(t=a.memoizedState)}if(t!==null)return t.dehydrated}return null}function Fa(e){return e.tag===N?e.stateNode.containerInfo:null}function Ol(e){return Ci(e)===e}function Lh(e){{var t=Ii.current;if(t!==null&&t.tag===_){var a=t,o=a.stateNode;o._warnedAboutRefsInRender||y("%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.",dt(a)||"A component"),o._warnedAboutRefsInRender=!0}}var u=zu(e);return u?Ci(u)===u:!1}function sf(e){if(Ci(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function cf(e){var t=e.alternate;if(!t){var a=Ci(e);if(a===null)throw new Error("Unable to find node on an unmounted component.");return a!==e?null:e}for(var o=e,u=t;;){var f=o.return;if(f===null)break;var m=f.alternate;if(m===null){var g=f.return;if(g!==null){o=u=g;continue}break}if(f.child===m.child){for(var x=f.child;x;){if(x===o)return sf(f),e;if(x===u)return sf(f),t;x=x.sibling}throw new Error("Unable to find node on an unmounted component.")}if(o.return!==u.return)o=f,u=m;else{for(var C=!1,$=f.child;$;){if($===o){C=!0,o=f,u=m;break}if($===u){C=!0,u=f,o=m;break}$=$.sibling}if(!C){for($=m.child;$;){if($===o){C=!0,o=m,u=f;break}if($===u){C=!0,u=m,o=f;break}$=$.sibling}if(!C)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(o.alternate!==u)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(o.tag!==N)throw new Error("Unable to find node on an unmounted component.");return o.stateNode.current===o?e:t}function ui(e){var t=cf(e);return t!==null?si(t):null}function si(e){if(e.tag===V||e.tag===P)return e;for(var t=e.child;t!==null;){var a=si(t);if(a!==null)return a;t=t.sibling}return null}function bn(e){var t=cf(e);return t!==null?Bi(t):null}function Bi(e){if(e.tag===V||e.tag===P)return e;for(var t=e.child;t!==null;){if(t.tag!==M){var a=Bi(t);if(a!==null)return a}t=t.sibling}return null}var sp=s.unstable_scheduleCallback,Mh=s.unstable_cancelCallback,cp=s.unstable_shouldYield,fp=s.unstable_requestPaint,tr=s.unstable_now,ff=s.unstable_getCurrentPriorityLevel,zs=s.unstable_ImmediatePriority,qo=s.unstable_UserBlockingPriority,co=s.unstable_NormalPriority,Zg=s.unstable_LowPriority,Ll=s.unstable_IdlePriority,df=s.unstable_yieldValue,zh=s.unstable_setDisableYieldValue,Ml=null,On=null,Re=null,$i=!1,ci=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function ju(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 y("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{Ze&&(e=xt({},e,{getLaneLabelMap:zl,injectProfilingHooks:Wi})),Ml=t.inject(e),On=t}catch(a){y("React instrumentation encountered an error: %s.",a)}return!!t.checkDCE}function dp(e,t){if(On&&typeof On.onScheduleFiberRoot=="function")try{On.onScheduleFiberRoot(Ml,e,t)}catch(a){$i||($i=!0,y("React instrumentation encountered an error: %s",a))}}function pp(e,t){if(On&&typeof On.onCommitFiberRoot=="function")try{var a=(e.current.flags&Ie)===Ie;if(Ge){var o;switch(t){case Pr:o=zs;break;case Pa:o=qo;break;case Yi:o=co;break;case Gi:o=Ll;break;default:o=co;break}On.onCommitFiberRoot(Ml,e,o,a)}}catch(u){$i||($i=!0,y("React instrumentation encountered an error: %s",u))}}function mp(e){if(On&&typeof On.onPostCommitFiberRoot=="function")try{On.onPostCommitFiberRoot(Ml,e)}catch(t){$i||($i=!0,y("React instrumentation encountered an error: %s",t))}}function hp(e){if(On&&typeof On.onCommitFiberUnmount=="function")try{On.onCommitFiberUnmount(Ml,e)}catch(t){$i||($i=!0,y("React instrumentation encountered an error: %s",t))}}function Cn(e){if(typeof df=="function"&&(zh(e),b(e)),On&&typeof On.setStrictMode=="function")try{On.setStrictMode(Ml,e)}catch(t){$i||($i=!0,y("React instrumentation encountered an error: %s",t))}}function Wi(e){Re=e}function zl(){{for(var e=new Map,t=1,a=0;a<jl;a++){var o=Fh(t);e.set(t,o),t*=2}return e}}function vp(e){Re!==null&&typeof Re.markCommitStarted=="function"&&Re.markCommitStarted(e)}function yp(){Re!==null&&typeof Re.markCommitStopped=="function"&&Re.markCommitStopped()}function Ri(e){Re!==null&&typeof Re.markComponentRenderStarted=="function"&&Re.markComponentRenderStarted(e)}function Ti(){Re!==null&&typeof Re.markComponentRenderStopped=="function"&&Re.markComponentRenderStopped()}function gp(e){Re!==null&&typeof Re.markComponentPassiveEffectMountStarted=="function"&&Re.markComponentPassiveEffectMountStarted(e)}function Ah(){Re!==null&&typeof Re.markComponentPassiveEffectMountStopped=="function"&&Re.markComponentPassiveEffectMountStopped()}function fo(e){Re!==null&&typeof Re.markComponentPassiveEffectUnmountStarted=="function"&&Re.markComponentPassiveEffectUnmountStarted(e)}function Ko(){Re!==null&&typeof Re.markComponentPassiveEffectUnmountStopped=="function"&&Re.markComponentPassiveEffectUnmountStopped()}function pf(e){Re!==null&&typeof Re.markComponentLayoutEffectMountStarted=="function"&&Re.markComponentLayoutEffectMountStarted(e)}function Uh(){Re!==null&&typeof Re.markComponentLayoutEffectMountStopped=="function"&&Re.markComponentLayoutEffectMountStopped()}function As(e){Re!==null&&typeof Re.markComponentLayoutEffectUnmountStarted=="function"&&Re.markComponentLayoutEffectUnmountStarted(e)}function bp(){Re!==null&&typeof Re.markComponentLayoutEffectUnmountStopped=="function"&&Re.markComponentLayoutEffectUnmountStopped()}function Us(e,t,a){Re!==null&&typeof Re.markComponentErrored=="function"&&Re.markComponentErrored(e,t,a)}function Va(e,t,a){Re!==null&&typeof Re.markComponentSuspended=="function"&&Re.markComponentSuspended(e,t,a)}function js(e){Re!==null&&typeof Re.markLayoutEffectsStarted=="function"&&Re.markLayoutEffectsStarted(e)}function Fs(){Re!==null&&typeof Re.markLayoutEffectsStopped=="function"&&Re.markLayoutEffectsStopped()}function Al(e){Re!==null&&typeof Re.markPassiveEffectsStarted=="function"&&Re.markPassiveEffectsStarted(e)}function xp(){Re!==null&&typeof Re.markPassiveEffectsStopped=="function"&&Re.markPassiveEffectsStopped()}function Ul(e){Re!==null&&typeof Re.markRenderStarted=="function"&&Re.markRenderStarted(e)}function jh(){Re!==null&&typeof Re.markRenderYielded=="function"&&Re.markRenderYielded()}function mf(){Re!==null&&typeof Re.markRenderStopped=="function"&&Re.markRenderStopped()}function $n(e){Re!==null&&typeof Re.markRenderScheduled=="function"&&Re.markRenderScheduled(e)}function hf(e,t){Re!==null&&typeof Re.markForceUpdateScheduled=="function"&&Re.markForceUpdateScheduled(e,t)}function Vs(e,t){Re!==null&&typeof Re.markStateUpdateScheduled=="function"&&Re.markStateUpdateScheduled(e,t)}var Ye=0,St=1,Pt=2,tn=8,Ht=16,In=Math.clz32?Math.clz32:Ps,lr=Math.log,vf=Math.LN2;function Ps(e){var t=e>>>0;return t===0?32:31-(lr(t)/vf|0)|0}var jl=31,ue=0,Ft=0,rt=1,Xo=2,ha=4,Lr=8,Ln=16,po=32,Jo=4194240,Fl=64,yf=128,gf=256,bf=512,xf=1024,Sf=2048,wf=4096,Ef=8192,Cf=16384,Vl=32768,$f=65536,Fu=131072,Vu=262144,Rf=524288,Hs=1048576,Tf=2097152,Is=130023424,Pl=4194304,kf=8388608,Bs=16777216,_f=33554432,Nf=67108864,Sp=Pl,Ws=134217728,wp=268435455,Ys=268435456,Hl=536870912,ki=1073741824;function Fh(e){{if(e&rt)return"Sync";if(e&Xo)return"InputContinuousHydration";if(e&ha)return"InputContinuous";if(e&Lr)return"DefaultHydration";if(e&Ln)return"Default";if(e&po)return"TransitionHydration";if(e&Jo)return"Transition";if(e&Is)return"Retry";if(e&Ws)return"SelectiveHydration";if(e&Ys)return"IdleHydration";if(e&Hl)return"Idle";if(e&ki)return"Offscreen"}}var on=-1,Il=Fl,Df=Pl;function Gs(e){switch(Zo(e)){case rt:return rt;case Xo:return Xo;case ha:return ha;case Lr:return Lr;case Ln:return Ln;case po:return po;case Fl:case yf:case gf:case bf:case xf:case Sf:case wf:case Ef:case Cf:case Vl:case $f:case Fu:case Vu:case Rf:case Hs:case Tf:return e&Jo;case Pl:case kf:case Bs:case _f:case Nf:return e&Is;case Ws:return Ws;case Ys:return Ys;case Hl:return Hl;case ki:return ki;default:return y("Should have found matching lanes. This is a bug in React."),e}}function Of(e,t){var a=e.pendingLanes;if(a===ue)return ue;var o=ue,u=e.suspendedLanes,f=e.pingedLanes,m=a℘if(m!==ue){var g=m&~u;if(g!==ue)o=Gs(g);else{var x=m&f;x!==ue&&(o=Gs(x))}}else{var C=a&~u;C!==ue?o=Gs(C):f!==ue&&(o=Gs(f))}if(o===ue)return ue;if(t!==ue&&t!==o&&(t&u)===ue){var $=Zo(o),j=Zo(t);if($>=j||$===Ln&&(j&Jo)!==ue)return t}(o&ha)!==ue&&(o|=a&Ln);var z=e.entangledLanes;if(z!==ue)for(var Y=e.entanglements,q=o&z;q>0;){var ee=Bn(q),Te=1<<ee;o|=Y[ee],q&=~Te}return o}function va(e,t){for(var a=e.eventTimes,o=on;t>0;){var u=Bn(t),f=1<<u,m=a[u];m>o&&(o=m),t&=~f}return o}function Ep(e,t){switch(e){case rt:case Xo:case ha:return t+250;case Lr:case Ln:case po:case Fl:case yf:case gf:case bf:case xf:case Sf:case wf:case Ef:case Cf:case Vl:case $f:case Fu:case Vu:case Rf:case Hs:case Tf:return t+5e3;case Pl:case kf:case Bs:case _f:case Nf:return on;case Ws:case Ys:case Hl:case ki:return on;default:return y("Should have found matching lanes. This is a bug in React."),on}}function Lf(e,t){for(var a=e.pendingLanes,o=e.suspendedLanes,u=e.pingedLanes,f=e.expirationTimes,m=a;m>0;){var g=Bn(m),x=1<<g,C=f[g];C===on?((x&o)===ue||(x&u)!==ue)&&(f[g]=Ep(x,t)):C<=t&&(e.expiredLanes|=x),m&=~x}}function Vh(e){return Gs(e.pendingLanes)}function Mf(e){var t=e.pendingLanes&-1073741825;return t!==ue?t:t&ki?ki:ue}function Ph(e){return(e&rt)!==ue}function Qs(e){return(e&wp)!==ue}function Bl(e){return(e&Is)===e}function Cp(e){var t=rt|ha|Ln;return(e&t)===ue}function $p(e){return(e&Jo)===e}function zf(e,t){var a=Xo|ha|Lr|Ln;return(t&a)!==ue}function Hh(e,t){return(t&e.expiredLanes)!==ue}function Rp(e){return(e&Jo)!==ue}function Tp(){var e=Il;return Il<<=1,(Il&Jo)===ue&&(Il=Fl),e}function Ih(){var e=Df;return Df<<=1,(Df&Is)===ue&&(Df=Pl),e}function Zo(e){return e&-e}function qs(e){return Zo(e)}function Bn(e){return 31-In(e)}function yr(e){return Bn(e)}function fi(e,t){return(e&t)!==ue}function Wl(e,t){return(e&t)===t}function vt(e,t){return e|t}function Ks(e,t){return e&~t}function kp(e,t){return e&t}function Bh(e){return e}function Wh(e,t){return e!==Ft&&e<t?e:t}function Xs(e){for(var t=[],a=0;a<jl;a++)t.push(e);return t}function Pu(e,t,a){e.pendingLanes|=t,t!==Hl&&(e.suspendedLanes=ue,e.pingedLanes=ue);var o=e.eventTimes,u=yr(t);o[u]=a}function Yh(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var a=e.expirationTimes,o=t;o>0;){var u=Bn(o),f=1<<u;a[u]=on,o&=~f}}function Af(e,t,a){e.pingedLanes|=e.suspendedLanes&t}function _p(e,t){var a=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=ue,e.pingedLanes=ue,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var o=e.entanglements,u=e.eventTimes,f=e.expirationTimes,m=a;m>0;){var g=Bn(m),x=1<<g;o[g]=ue,u[g]=on,f[g]=on,m&=~x}}function Uf(e,t){for(var a=e.entangledLanes|=t,o=e.entanglements,u=a;u;){var f=Bn(u),m=1<<f;m&t|o[f]&t&&(o[f]|=t),u&=~m}}function Np(e,t){var a=Zo(t),o;switch(a){case ha:o=Xo;break;case Ln:o=Lr;break;case Fl:case yf:case gf:case bf:case xf:case Sf:case wf:case Ef:case Cf:case Vl:case $f:case Fu:case Vu:case Rf:case Hs:case Tf:case Pl:case kf:case Bs:case _f:case Nf:o=po;break;case Hl:o=Ys;break;default:o=Ft;break}return(o&(e.suspendedLanes|t))!==Ft?Ft:o}function Js(e,t,a){if(ci)for(var o=e.pendingUpdatersLaneMap;a>0;){var u=yr(a),f=1<<u,m=o[u];m.add(t),a&=~f}}function Gh(e,t){if(ci)for(var a=e.pendingUpdatersLaneMap,o=e.memoizedUpdaters;t>0;){var u=yr(t),f=1<<u,m=a[u];m.size>0&&(m.forEach(function(g){var x=g.alternate;(x===null||!o.has(x))&&o.add(g)}),m.clear()),t&=~f}}function Dp(e,t){return null}var Pr=rt,Pa=ha,Yi=Ln,Gi=Hl,Zs=Ft;function Qi(){return Zs}function Wn(e){Zs=e}function Qh(e,t){var a=Zs;try{return Zs=e,t()}finally{Zs=a}}function qh(e,t){return e!==0&&e<t?e:t}function ec(e,t){return e>t?e:t}function ur(e,t){return e!==0&&e<t}function Kh(e){var t=Zo(e);return ur(Pr,t)?ur(Pa,t)?Qs(t)?Yi:Gi:Pa:Pr}function jf(e){var t=e.current.memoizedState;return t.isDehydrated}var tc;function Mr(e){tc=e}function e0(e){tc(e)}var Le;function Hu(e){Le=e}var Ff;function Xh(e){Ff=e}var Jh;function nc(e){Jh=e}var rc;function Op(e){rc=e}var Vf=!1,ic=[],mo=null,Ha=null,Ia=null,Mn=new Map,Hr=new Map,Ir=[],Zh=["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 ev(e){return Zh.indexOf(e)>-1}function ya(e,t,a,o,u){return{blockedOn:e,domEventName:t,eventSystemFlags:a,nativeEvent:u,targetContainers:[o]}}function Lp(e,t){switch(e){case"focusin":case"focusout":mo=null;break;case"dragenter":case"dragleave":Ha=null;break;case"mouseover":case"mouseout":Ia=null;break;case"pointerover":case"pointerout":{var a=t.pointerId;Mn.delete(a);break}case"gotpointercapture":case"lostpointercapture":{var o=t.pointerId;Hr.delete(o);break}}}function di(e,t,a,o,u,f){if(e===null||e.nativeEvent!==f){var m=ya(t,a,o,u,f);if(t!==null){var g=Xu(t);g!==null&&Le(g)}return m}e.eventSystemFlags|=o;var x=e.targetContainers;return u!==null&&x.indexOf(u)===-1&&x.push(u),e}function t0(e,t,a,o,u){switch(t){case"focusin":{var f=u;return mo=di(mo,e,t,a,o,f),!0}case"dragenter":{var m=u;return Ha=di(Ha,e,t,a,o,m),!0}case"mouseover":{var g=u;return Ia=di(Ia,e,t,a,o,g),!0}case"pointerover":{var x=u,C=x.pointerId;return Mn.set(C,di(Mn.get(C)||null,e,t,a,o,x)),!0}case"gotpointercapture":{var $=u,j=$.pointerId;return Hr.set(j,di(Hr.get(j)||null,e,t,a,o,$)),!0}}return!1}function Mp(e){var t=vc(e.target);if(t!==null){var a=Ci(t);if(a!==null){var o=a.tag;if(o===ne){var u=ja(a);if(u!==null){e.blockedOn=u,rc(e.priority,function(){Ff(a)});return}}else if(o===N){var f=a.stateNode;if(jf(f)){e.blockedOn=Fa(a);return}}}}e.blockedOn=null}function tv(e){for(var t=Jh(),a={blockedOn:null,target:e,priority:t},o=0;o<Ir.length&&ur(t,Ir[o].priority);o++);Ir.splice(o,0,a),o===0&&Mp(a)}function ac(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var a=t[0],o=Bu(e.domEventName,e.eventSystemFlags,a,e.nativeEvent);if(o===null){var u=e.nativeEvent,f=new u.constructor(u.type,u);qg(f),u.target.dispatchEvent(f),Kg()}else{var m=Xu(o);return m!==null&&Le(m),e.blockedOn=o,!1}t.shift()}return!0}function zp(e,t,a){ac(e)&&a.delete(t)}function n0(){Vf=!1,mo!==null&&ac(mo)&&(mo=null),Ha!==null&&ac(Ha)&&(Ha=null),Ia!==null&&ac(Ia)&&(Ia=null),Mn.forEach(zp),Hr.forEach(zp)}function el(e,t){e.blockedOn===t&&(e.blockedOn=null,Vf||(Vf=!0,s.unstable_scheduleCallback(s.unstable_NormalPriority,n0)))}function Yl(e){if(ic.length>0){el(ic[0],e);for(var t=1;t<ic.length;t++){var a=ic[t];a.blockedOn===e&&(a.blockedOn=null)}}mo!==null&&el(mo,e),Ha!==null&&el(Ha,e),Ia!==null&&el(Ia,e);var o=function(g){return el(g,e)};Mn.forEach(o),Hr.forEach(o);for(var u=0;u<Ir.length;u++){var f=Ir[u];f.blockedOn===e&&(f.blockedOn=null)}for(;Ir.length>0;){var m=Ir[0];if(m.blockedOn!==null)break;Mp(m),m.blockedOn===null&&Ir.shift()}}var gr=d.ReactCurrentBatchConfig,Nt=!0;function nr(e){Nt=!!e}function Yn(){return Nt}function br(e,t,a){var o=Pf(t),u;switch(o){case Pr:u=_i;break;case Pa:u=Iu;break;case Yi:default:u=zn;break}return u.bind(null,t,a,e)}function _i(e,t,a,o){var u=Qi(),f=gr.transition;gr.transition=null;try{Wn(Pr),zn(e,t,a,o)}finally{Wn(u),gr.transition=f}}function Iu(e,t,a,o){var u=Qi(),f=gr.transition;gr.transition=null;try{Wn(Pa),zn(e,t,a,o)}finally{Wn(u),gr.transition=f}}function zn(e,t,a,o){Nt&&oc(e,t,a,o)}function oc(e,t,a,o){var u=Bu(e,t,a,o);if(u===null){b0(e,t,o,Ba,a),Lp(e,o);return}if(t0(u,e,t,a,o)){o.stopPropagation();return}if(Lp(e,o),t&Vi&&ev(e)){for(;u!==null;){var f=Xu(u);f!==null&&e0(f);var m=Bu(e,t,a,o);if(m===null&&b0(e,t,o,Ba,a),m===u)break;u=m}u!==null&&o.stopPropagation();return}b0(e,t,o,null,a)}var Ba=null;function Bu(e,t,a,o){Ba=null;var u=lp(o),f=vc(u);if(f!==null){var m=Ci(f);if(m===null)f=null;else{var g=m.tag;if(g===ne){var x=ja(m);if(x!==null)return x;f=null}else if(g===N){var C=m.stateNode;if(jf(C))return Fa(m);f=null}else m!==f&&(f=null)}}return Ba=f,null}function Pf(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 Pr;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 Pa;case"message":{var t=ff();switch(t){case zs:return Pr;case qo:return Pa;case co:case Zg:return Yi;case Ll:return Gi;default:return Yi}}default:return Yi}}function lc(e,t,a){return e.addEventListener(t,a,!1),a}function pi(e,t,a){return e.addEventListener(t,a,!0),a}function Ap(e,t,a,o){return e.addEventListener(t,a,{capture:!0,passive:o}),a}function Wu(e,t,a,o){return e.addEventListener(t,a,{passive:o}),a}var Ni=null,Yu=null,Gl=null;function tl(e){return Ni=e,Yu=uc(),!0}function Hf(){Ni=null,Yu=null,Gl=null}function ho(){if(Gl)return Gl;var e,t=Yu,a=t.length,o,u=uc(),f=u.length;for(e=0;e<a&&t[e]===u[e];e++);var m=a-e;for(o=1;o<=m&&t[a-o]===u[f-o];o++);var g=o>1?1-o:void 0;return Gl=u.slice(e,g),Gl}function uc(){return"value"in Ni?Ni.value:Ni.textContent}function nl(e){var t,a=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&a===13&&(t=13)):t=a,t===10&&(t=13),t>=32||t===13?t:0}function Gu(){return!0}function sc(){return!1}function zr(e){function t(a,o,u,f,m){this._reactName=a,this._targetInst=u,this.type=o,this.nativeEvent=f,this.target=m,this.currentTarget=null;for(var g in e)if(e.hasOwnProperty(g)){var x=e[g];x?this[g]=x(f):this[g]=f[g]}var C=f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1;return C?this.isDefaultPrevented=Gu:this.isDefaultPrevented=sc,this.isPropagationStopped=sc,this}return xt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Gu)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Gu)},persist:function(){},isPersistent:Gu}),t}var Gn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Wa=zr(Gn),Br=xt({},Gn,{view:0,detail:0}),mi=zr(Br),If,cc,Ql;function r0(e){e!==Ql&&(Ql&&e.type==="mousemove"?(If=e.screenX-Ql.screenX,cc=e.screenY-Ql.screenY):(If=0,cc=0),Ql=e)}var ga=xt({},Br,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xn,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:(r0(e),If)},movementY:function(e){return"movementY"in e?e.movementY:cc}}),Up=zr(ga),jp=xt({},ga,{dataTransfer:0}),ql=zr(jp),Fp=xt({},Br,{relatedTarget:0}),vo=zr(Fp),nv=xt({},Gn,{animationName:0,elapsedTime:0,pseudoElement:0}),rv=zr(nv),Vp=xt({},Gn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Bf=zr(Vp),i0=xt({},Gn,{data:0}),iv=zr(i0),av=iv,ov={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Kl={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 a0(e){if(e.key){var t=ov[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var a=nl(e);return a===13?"Enter":String.fromCharCode(a)}return e.type==="keydown"||e.type==="keyup"?Kl[e.keyCode]||"Unidentified":""}var Qu={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function lv(e){var t=this,a=t.nativeEvent;if(a.getModifierState)return a.getModifierState(e);var o=Qu[e];return o?!!a[o]:!1}function xn(e){return lv}var o0=xt({},Br,{key:a0,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xn,charCode:function(e){return e.type==="keypress"?nl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?nl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),uv=zr(o0),l0=xt({},ga,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),sv=zr(l0),cv=xt({},Br,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xn}),fv=zr(cv),u0=xt({},Gn,{propertyName:0,elapsedTime:0,pseudoElement:0}),qi=zr(u0),Pp=xt({},ga,{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}),s0=zr(Pp),rl=[9,13,27,32],fc=229,yo=fn&&"CompositionEvent"in window,il=null;fn&&"documentMode"in document&&(il=document.documentMode);var Hp=fn&&"TextEvent"in window&&!il,Wf=fn&&(!yo||il&&il>8&&il<=11),dv=32,Yf=String.fromCharCode(dv);function c0(){ot("onBeforeInput",["compositionend","keypress","textInput","paste"]),ot("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),ot("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),ot("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var Ip=!1;function pv(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function Gf(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function Qf(e,t){return e==="keydown"&&t.keyCode===fc}function Bp(e,t){switch(e){case"keyup":return rl.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==fc;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qf(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function mv(e){return e.locale==="ko"}var Xl=!1;function Wp(e,t,a,o,u){var f,m;if(yo?f=Gf(t):Xl?Bp(t,o)&&(f="onCompositionEnd"):Qf(t,o)&&(f="onCompositionStart"),!f)return null;Wf&&!mv(o)&&(!Xl&&f==="onCompositionStart"?Xl=tl(u):f==="onCompositionEnd"&&Xl&&(m=ho()));var g=Sv(a,f);if(g.length>0){var x=new iv(f,t,null,o,u);if(e.push({event:x,listeners:g}),m)x.data=m;else{var C=qf(o);C!==null&&(x.data=C)}}}function Kf(e,t){switch(e){case"compositionend":return qf(t);case"keypress":var a=t.which;return a!==dv?null:(Ip=!0,Yf);case"textInput":var o=t.data;return o===Yf&&Ip?null:o;default:return null}}function Yp(e,t){if(Xl){if(e==="compositionend"||!yo&&Bp(e,t)){var a=ho();return Hf(),Xl=!1,a}return null}switch(e){case"paste":return null;case"keypress":if(!pv(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Wf&&!mv(t)?null:t.data;default:return null}}function Xf(e,t,a,o,u){var f;if(Hp?f=Kf(t,o):f=Yp(t,o),!f)return null;var m=Sv(a,"onBeforeInput");if(m.length>0){var g=new av("onBeforeInput","beforeinput",null,o,u);e.push({event:g,listeners:m}),g.data=f}}function hv(e,t,a,o,u,f,m){Wp(e,t,a,o,u),Xf(e,t,a,o,u)}var f0={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 dc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!f0[e.type]:t==="textarea"}/**
|
|
118
|
+
* Checks if an event is supported in the current execution environment.
|
|
119
|
+
*
|
|
120
|
+
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
121
|
+
* `reset`, `load`, `error`, and `select`.
|
|
122
|
+
*
|
|
123
|
+
* Borrows from Modernizr.
|
|
124
|
+
*
|
|
125
|
+
* @param {string} eventNameSuffix Event name, e.g. "click".
|
|
126
|
+
* @return {boolean} True if the event is supported.
|
|
127
|
+
* @internal
|
|
128
|
+
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
129
|
+
*/function d0(e){if(!fn)return!1;var t="on"+e,a=t in document;if(!a){var o=document.createElement("div");o.setAttribute(t,"return;"),a=typeof o[t]=="function"}return a}function pc(){ot("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function vv(e,t,a,o){Du(o);var u=Sv(t,"onChange");if(u.length>0){var f=new Wa("onChange","change",null,a,o);e.push({event:f,listeners:u})}}var al=null,r=null;function i(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function l(e){var t=[];vv(t,r,e,lp(e)),kh(c,t)}function c(e){fw(e,0)}function p(e){var t=rd(e);if(Oa(t))return e}function h(e,t){if(e==="change")return t}var w=!1;fn&&(w=d0("input")&&(!document.documentMode||document.documentMode>9));function k(e,t){al=e,r=t,al.attachEvent("onpropertychange",Q)}function L(){al&&(al.detachEvent("onpropertychange",Q),al=null,r=null)}function Q(e){e.propertyName==="value"&&p(r)&&l(e)}function fe(e,t,a){e==="focusin"?(L(),k(t,a)):e==="focusout"&&L()}function me(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return p(r)}function ce(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function _e(e,t){if(e==="click")return p(t)}function Ae(e,t){if(e==="input"||e==="change")return p(t)}function Fe(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||qe(e,"number",e.value)}function An(e,t,a,o,u,f,m){var g=a?rd(a):window,x,C;if(i(g)?x=h:dc(g)?w?x=Ae:(x=me,C=fe):ce(g)&&(x=_e),x){var $=x(t,a);if($){vv(e,$,o,u);return}}C&&C(t,g,a),t==="focusout"&&Fe(g)}function H(){jt("onMouseEnter",["mouseout","mouseover"]),jt("onMouseLeave",["mouseout","mouseover"]),jt("onPointerEnter",["pointerout","pointerover"]),jt("onPointerLeave",["pointerout","pointerover"])}function U(e,t,a,o,u,f,m){var g=t==="mouseover"||t==="pointerover",x=t==="mouseout"||t==="pointerout";if(g&&!_s(o)){var C=o.relatedTarget||o.fromElement;if(C&&(vc(C)||om(C)))return}if(!(!x&&!g)){var $;if(u.window===u)$=u;else{var j=u.ownerDocument;j?$=j.defaultView||j.parentWindow:$=window}var z,Y;if(x){var q=o.relatedTarget||o.toElement;if(z=a,Y=q?vc(q):null,Y!==null){var ee=Ci(Y);(Y!==ee||Y.tag!==V&&Y.tag!==P)&&(Y=null)}}else z=null,Y=a;if(z!==Y){var Te=Up,Ke="onMouseLeave",He="onMouseEnter",Ot="mouse";(t==="pointerout"||t==="pointerover")&&(Te=sv,Ke="onPointerLeave",He="onPointerEnter",Ot="pointer");var $t=z==null?$:rd(z),I=Y==null?$:rd(Y),te=new Te(Ke,Ot+"leave",z,o,u);te.target=$t,te.relatedTarget=I;var B=null,he=vc(u);if(he===a){var De=new Te(He,Ot+"enter",Y,o,u);De.target=I,De.relatedTarget=$t,B=De}dT(e,te,B,z,Y)}}}function W(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var de=typeof Object.is=="function"?Object.is:W;function Ue(e,t){if(de(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),o=Object.keys(t);if(a.length!==o.length)return!1;for(var u=0;u<a.length;u++){var f=a[u];if(!vn.call(t,f)||!de(e[f],t[f]))return!1}return!0}function et(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function nt(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function st(e,t){for(var a=et(e),o=0,u=0;a;){if(a.nodeType===ao){if(u=o+a.textContent.length,o<=t&&u>=t)return{node:a,offset:t-o};o=u}a=et(nt(a))}}function sr(e){var t=e.ownerDocument,a=t&&t.defaultView||window,o=a.getSelection&&a.getSelection();if(!o||o.rangeCount===0)return null;var u=o.anchorNode,f=o.anchorOffset,m=o.focusNode,g=o.focusOffset;try{u.nodeType,m.nodeType}catch{return null}return It(e,u,f,m,g)}function It(e,t,a,o,u){var f=0,m=-1,g=-1,x=0,C=0,$=e,j=null;e:for(;;){for(var z=null;$===t&&(a===0||$.nodeType===ao)&&(m=f+a),$===o&&(u===0||$.nodeType===ao)&&(g=f+u),$.nodeType===ao&&(f+=$.nodeValue.length),(z=$.firstChild)!==null;)j=$,$=z;for(;;){if($===e)break e;if(j===t&&++x===a&&(m=f),j===o&&++C===u&&(g=f),(z=$.nextSibling)!==null)break;$=j,j=$.parentNode}$=z}return m===-1||g===-1?null:{start:m,end:g}}function ol(e,t){var a=e.ownerDocument||document,o=a&&a.defaultView||window;if(o.getSelection){var u=o.getSelection(),f=e.textContent.length,m=Math.min(t.start,f),g=t.end===void 0?m:Math.min(t.end,f);if(!u.extend&&m>g){var x=g;g=m,m=x}var C=st(e,m),$=st(e,g);if(C&&$){if(u.rangeCount===1&&u.anchorNode===C.node&&u.anchorOffset===C.offset&&u.focusNode===$.node&&u.focusOffset===$.offset)return;var j=a.createRange();j.setStart(C.node,C.offset),u.removeAllRanges(),m>g?(u.addRange(j),u.extend($.node,$.offset)):(j.setEnd($.node,$.offset),u.addRange(j))}}}function yv(e){return e&&e.nodeType===ao}function ew(e,t){return!e||!t?!1:e===t?!0:yv(e)?!1:yv(t)?ew(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function QR(e){return e&&e.ownerDocument&&ew(e.ownerDocument.documentElement,e)}function qR(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function tw(){for(var e=window,t=Fi();t instanceof e.HTMLIFrameElement;){if(qR(t))e=t.contentWindow;else return t;t=Fi(e.document)}return t}function p0(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 KR(){var e=tw();return{focusedElem:e,selectionRange:p0(e)?JR(e):null}}function XR(e){var t=tw(),a=e.focusedElem,o=e.selectionRange;if(t!==a&&QR(a)){o!==null&&p0(a)&&ZR(a,o);for(var u=[],f=a;f=f.parentNode;)f.nodeType===ii&&u.push({element:f,left:f.scrollLeft,top:f.scrollTop});typeof a.focus=="function"&&a.focus();for(var m=0;m<u.length;m++){var g=u[m];g.element.scrollLeft=g.left,g.element.scrollTop=g.top}}}function JR(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=sr(e),t||{start:0,end:0}}function ZR(e,t){var a=t.start,o=t.end;o===void 0&&(o=a),"selectionStart"in e?(e.selectionStart=a,e.selectionEnd=Math.min(o,e.value.length)):ol(e,t)}var eT=fn&&"documentMode"in document&&document.documentMode<=11;function tT(){ot("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Jf=null,m0=null,Gp=null,h0=!1;function nT(e){if("selectionStart"in e&&p0(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,a=t.getSelection();return{anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}}function rT(e){return e.window===e?e.document:e.nodeType===oo?e:e.ownerDocument}function nw(e,t,a){var o=rT(a);if(!(h0||Jf==null||Jf!==Fi(o))){var u=nT(Jf);if(!Gp||!Ue(Gp,u)){Gp=u;var f=Sv(m0,"onSelect");if(f.length>0){var m=new Wa("onSelect","select",null,t,a);e.push({event:m,listeners:f}),m.target=Jf}}}}function iT(e,t,a,o,u,f,m){var g=a?rd(a):window;switch(t){case"focusin":(dc(g)||g.contentEditable==="true")&&(Jf=g,m0=a,Gp=null);break;case"focusout":Jf=null,m0=null,Gp=null;break;case"mousedown":h0=!0;break;case"contextmenu":case"mouseup":case"dragend":h0=!1,nw(e,o,u);break;case"selectionchange":if(eT)break;case"keydown":case"keyup":nw(e,o,u)}}function gv(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var Zf={animationend:gv("Animation","AnimationEnd"),animationiteration:gv("Animation","AnimationIteration"),animationstart:gv("Animation","AnimationStart"),transitionend:gv("Transition","TransitionEnd")},v0={},rw={};fn&&(rw=document.createElement("div").style,"AnimationEvent"in window||(delete Zf.animationend.animation,delete Zf.animationiteration.animation,delete Zf.animationstart.animation),"TransitionEvent"in window||delete Zf.transitionend.transition);function bv(e){if(v0[e])return v0[e];if(!Zf[e])return e;var t=Zf[e];for(var a in t)if(t.hasOwnProperty(a)&&a in rw)return v0[e]=t[a];return e}var iw=bv("animationend"),aw=bv("animationiteration"),ow=bv("animationstart"),lw=bv("transitionend"),uw=new Map,sw=["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 qu(e,t){uw.set(e,t),ot(t,[e])}function aT(){for(var e=0;e<sw.length;e++){var t=sw[e],a=t.toLowerCase(),o=t[0].toUpperCase()+t.slice(1);qu(a,"on"+o)}qu(iw,"onAnimationEnd"),qu(aw,"onAnimationIteration"),qu(ow,"onAnimationStart"),qu("dblclick","onDoubleClick"),qu("focusin","onFocus"),qu("focusout","onBlur"),qu(lw,"onTransitionEnd")}function oT(e,t,a,o,u,f,m){var g=uw.get(t);if(g!==void 0){var x=Wa,C=t;switch(t){case"keypress":if(nl(o)===0)return;case"keydown":case"keyup":x=uv;break;case"focusin":C="focus",x=vo;break;case"focusout":C="blur",x=vo;break;case"beforeblur":case"afterblur":x=vo;break;case"click":if(o.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":x=Up;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":x=ql;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":x=fv;break;case iw:case aw:case ow:x=rv;break;case lw:x=qi;break;case"scroll":x=mi;break;case"wheel":x=s0;break;case"copy":case"cut":case"paste":x=Bf;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":x=sv;break}var $=(f&Vi)!==0;{var j=!$&&t==="scroll",z=cT(a,g,o.type,$,j);if(z.length>0){var Y=new x(g,C,null,o,u);e.push({event:Y,listeners:z})}}}}aT(),H(),pc(),tT(),c0();function lT(e,t,a,o,u,f,m){oT(e,t,a,o,u,f);var g=(f&op)===0;g&&(U(e,t,a,o,u),An(e,t,a,o,u),iT(e,t,a,o,u),hv(e,t,a,o,u))}var Qp=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],y0=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Qp));function cw(e,t,a){var o=e.type||"unknown-event";e.currentTarget=a,za(o,t,void 0,e),e.currentTarget=null}function uT(e,t,a){var o;if(a)for(var u=t.length-1;u>=0;u--){var f=t[u],m=f.instance,g=f.currentTarget,x=f.listener;if(m!==o&&e.isPropagationStopped())return;cw(e,x,g),o=m}else for(var C=0;C<t.length;C++){var $=t[C],j=$.instance,z=$.currentTarget,Y=$.listener;if(j!==o&&e.isPropagationStopped())return;cw(e,Y,z),o=j}}function fw(e,t){for(var a=(t&Vi)!==0,o=0;o<e.length;o++){var u=e[o],f=u.event,m=u.listeners;uT(f,m,a)}Os()}function sT(e,t,a,o,u){var f=lp(a),m=[];lT(m,e,o,a,f,t),fw(m,t)}function Rn(e,t){y0.has(e)||y('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var a=!1,o=Fk(t),u=pT(e);o.has(u)||(dw(t,e,Xc,a),o.add(u))}function g0(e,t,a){y0.has(e)&&!t&&y('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var o=0;t&&(o|=Vi),dw(a,e,o,t)}var xv="_reactListening"+Math.random().toString(36).slice(2);function qp(e){if(!e[xv]){e[xv]=!0,ct.forEach(function(a){a!=="selectionchange"&&(y0.has(a)||g0(a,!1,e),g0(a,!0,e))});var t=e.nodeType===oo?e:e.ownerDocument;t!==null&&(t[xv]||(t[xv]=!0,g0("selectionchange",!1,t)))}}function dw(e,t,a,o,u){var f=br(e,t,a),m=void 0;Ds&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(m=!0),e=e,o?m!==void 0?Ap(e,t,f,m):pi(e,t,f):m!==void 0?Wu(e,t,f,m):lc(e,t,f)}function pw(e,t){return e===t||e.nodeType===Vn&&e.parentNode===t}function b0(e,t,a,o,u){var f=o;if((t&ap)===0&&(t&Xc)===0){var m=u;if(o!==null){var g=o;e:for(;;){if(g===null)return;var x=g.tag;if(x===N||x===M){var C=g.stateNode.containerInfo;if(pw(C,m))break;if(x===M)for(var $=g.return;$!==null;){var j=$.tag;if(j===N||j===M){var z=$.stateNode.containerInfo;if(pw(z,m))return}$=$.return}for(;C!==null;){var Y=vc(C);if(Y===null)return;var q=Y.tag;if(q===V||q===P){g=f=Y;continue e}C=C.parentNode}}g=g.return}}}kh(function(){return sT(e,t,a,f)})}function Kp(e,t,a){return{instance:e,listener:t,currentTarget:a}}function cT(e,t,a,o,u,f){for(var m=t!==null?t+"Capture":null,g=o?m:t,x=[],C=e,$=null;C!==null;){var j=C,z=j.stateNode,Y=j.tag;if(Y===V&&z!==null&&($=z,g!==null)){var q=Io(C,g);q!=null&&x.push(Kp(C,q,$))}if(u)break;C=C.return}return x}function Sv(e,t){for(var a=t+"Capture",o=[],u=e;u!==null;){var f=u,m=f.stateNode,g=f.tag;if(g===V&&m!==null){var x=m,C=Io(u,a);C!=null&&o.unshift(Kp(u,C,x));var $=Io(u,t);$!=null&&o.push(Kp(u,$,x))}u=u.return}return o}function ed(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==V);return e||null}function fT(e,t){for(var a=e,o=t,u=0,f=a;f;f=ed(f))u++;for(var m=0,g=o;g;g=ed(g))m++;for(;u-m>0;)a=ed(a),u--;for(;m-u>0;)o=ed(o),m--;for(var x=u;x--;){if(a===o||o!==null&&a===o.alternate)return a;a=ed(a),o=ed(o)}return null}function mw(e,t,a,o,u){for(var f=t._reactName,m=[],g=a;g!==null&&g!==o;){var x=g,C=x.alternate,$=x.stateNode,j=x.tag;if(C!==null&&C===o)break;if(j===V&&$!==null){var z=$;if(u){var Y=Io(g,f);Y!=null&&m.unshift(Kp(g,Y,z))}else if(!u){var q=Io(g,f);q!=null&&m.push(Kp(g,q,z))}}g=g.return}m.length!==0&&e.push({event:t,listeners:m})}function dT(e,t,a,o,u){var f=o&&u?fT(o,u):null;o!==null&&mw(e,t,o,f,!1),u!==null&&a!==null&&mw(e,a,u,f,!0)}function pT(e,t){return e+"__bubble"}var Ki=!1,Xp="dangerouslySetInnerHTML",wv="suppressContentEditableWarning",Ku="suppressHydrationWarning",hw="autoFocus",mc="children",hc="style",Ev="__html",x0,Cv,Jp,vw,$v,yw,gw;x0={dialog:!0,webview:!0},Cv=function(e,t){np(e,t),qc(e,t),$h(e,t,{registrationNameDependencies:ft,possibleRegistrationNames:at})},yw=fn&&!document.documentMode,Jp=function(e,t,a){if(!Ki){var o=Rv(a),u=Rv(t);u!==o&&(Ki=!0,y("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(u),JSON.stringify(o)))}},vw=function(e){if(!Ki){Ki=!0;var t=[];e.forEach(function(a){t.push(a)}),y("Extra attributes from the server: %s",t)}},$v=function(e,t){t===!1?y("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):y("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},gw=function(e,t){var a=e.namespaceURI===io?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return a.innerHTML=t,a.innerHTML};var mT=/\r\n?/g,hT=/\u0000|\uFFFD/g;function Rv(e){ar(e);var t=typeof e=="string"?e:""+e;return t.replace(mT,`
|
|
130
|
+
`).replace(hT,"")}function Tv(e,t,a,o){var u=Rv(t),f=Rv(e);if(f!==u&&(o&&(Ki||(Ki=!0,y('Text content did not match. Server: "%s" Client: "%s"',f,u))),a&&Me))throw new Error("Text content does not match server-rendered HTML.")}function bw(e){return e.nodeType===oo?e:e.ownerDocument}function vT(){}function kv(e){e.onclick=vT}function yT(e,t,a,o,u){for(var f in o)if(o.hasOwnProperty(f)){var m=o[f];if(f===hc)m&&Object.freeze(m),bh(t,m);else if(f===Xp){var g=m?m[Ev]:void 0;g!=null&&lh(t,g)}else if(f===mc)if(typeof m=="string"){var x=e!=="textarea"||m!=="";x&&Tu(t,m)}else typeof m=="number"&&Tu(t,""+m);else f===wv||f===Ku||f===hw||(ft.hasOwnProperty(f)?m!=null&&(typeof m!="function"&&$v(f,m),f==="onScroll"&&Rn("scroll",t)):m!=null&&Ur(t,f,m,u))}}function gT(e,t,a,o){for(var u=0;u<t.length;u+=2){var f=t[u],m=t[u+1];f===hc?bh(e,m):f===Xp?lh(e,m):f===mc?Tu(e,m):Ur(e,f,m,o)}}function bT(e,t,a,o){var u,f=bw(a),m,g=o;if(g===io&&(g=qd(e)),g===io){if(u=Po(e,t),!u&&e!==e.toLowerCase()&&y("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var x=f.createElement("div");x.innerHTML="<script><\/script>";var C=x.firstChild;m=x.removeChild(C)}else if(typeof t.is=="string")m=f.createElement(e,{is:t.is});else if(m=f.createElement(e),e==="select"){var $=m;t.multiple?$.multiple=!0:t.size&&($.size=t.size)}}else m=f.createElementNS(g,e);return g===io&&!u&&Object.prototype.toString.call(m)==="[object HTMLUnknownElement]"&&!vn.call(x0,e)&&(x0[e]=!0,y("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),m}function xT(e,t){return bw(t).createTextNode(e)}function ST(e,t,a,o){var u=Po(t,a);Cv(t,a);var f;switch(t){case"dialog":Rn("cancel",e),Rn("close",e),f=a;break;case"iframe":case"object":case"embed":Rn("load",e),f=a;break;case"video":case"audio":for(var m=0;m<Qp.length;m++)Rn(Qp[m],e);f=a;break;case"source":Rn("error",e),f=a;break;case"img":case"image":case"link":Rn("error",e),Rn("load",e),f=a;break;case"details":Rn("toggle",e),f=a;break;case"input":fa(e,a),f=Ru(e,a),Rn("invalid",e);break;case"option":At(e,a),f=a;break;case"select":$l(e,a),f=ws(e,a),Rn("invalid",e);break;case"textarea":Yd(e,a),f=Wd(e,a),Rn("invalid",e);break;default:f=a}switch(Gc(t,f),yT(t,e,o,f,u),t){case"input":ca(e),G(e,a,!1);break;case"textarea":ca(e),ah(e);break;case"option":sn(e,a);break;case"select":Id(e,a);break;default:typeof f.onClick=="function"&&kv(e);break}}function wT(e,t,a,o,u){Cv(t,o);var f=null,m,g;switch(t){case"input":m=Ru(e,a),g=Ru(e,o),f=[];break;case"select":m=ws(e,a),g=ws(e,o),f=[];break;case"textarea":m=Wd(e,a),g=Wd(e,o),f=[];break;default:m=a,g=o,typeof m.onClick!="function"&&typeof g.onClick=="function"&&kv(e);break}Gc(t,g);var x,C,$=null;for(x in m)if(!(g.hasOwnProperty(x)||!m.hasOwnProperty(x)||m[x]==null))if(x===hc){var j=m[x];for(C in j)j.hasOwnProperty(C)&&($||($={}),$[C]="")}else x===Xp||x===mc||x===wv||x===Ku||x===hw||(ft.hasOwnProperty(x)?f||(f=[]):(f=f||[]).push(x,null));for(x in g){var z=g[x],Y=m!=null?m[x]:void 0;if(!(!g.hasOwnProperty(x)||z===Y||z==null&&Y==null))if(x===hc)if(z&&Object.freeze(z),Y){for(C in Y)Y.hasOwnProperty(C)&&(!z||!z.hasOwnProperty(C))&&($||($={}),$[C]="");for(C in z)z.hasOwnProperty(C)&&Y[C]!==z[C]&&($||($={}),$[C]=z[C])}else $||(f||(f=[]),f.push(x,$)),$=z;else if(x===Xp){var q=z?z[Ev]:void 0,ee=Y?Y[Ev]:void 0;q!=null&&ee!==q&&(f=f||[]).push(x,q)}else x===mc?(typeof z=="string"||typeof z=="number")&&(f=f||[]).push(x,""+z):x===wv||x===Ku||(ft.hasOwnProperty(x)?(z!=null&&(typeof z!="function"&&$v(x,z),x==="onScroll"&&Rn("scroll",e)),!f&&Y!==z&&(f=[])):(f=f||[]).push(x,z))}return $&&(Gg($,g[hc]),(f=f||[]).push(hc,$)),f}function ET(e,t,a,o,u){a==="input"&&u.type==="radio"&&u.name!=null&&S(e,u);var f=Po(a,o),m=Po(a,u);switch(gT(e,t,f,m),a){case"input":D(e,u);break;case"textarea":ih(e,u);break;case"select":Bc(e,u);break}}function CT(e){{var t=e.toLowerCase();return Ts.hasOwnProperty(t)&&Ts[t]||null}}function $T(e,t,a,o,u,f,m){var g,x;switch(g=Po(t,a),Cv(t,a),t){case"dialog":Rn("cancel",e),Rn("close",e);break;case"iframe":case"object":case"embed":Rn("load",e);break;case"video":case"audio":for(var C=0;C<Qp.length;C++)Rn(Qp[C],e);break;case"source":Rn("error",e);break;case"img":case"image":case"link":Rn("error",e),Rn("load",e);break;case"details":Rn("toggle",e);break;case"input":fa(e,a),Rn("invalid",e);break;case"option":At(e,a);break;case"select":$l(e,a),Rn("invalid",e);break;case"textarea":Yd(e,a),Rn("invalid",e);break}Gc(t,a);{x=new Set;for(var $=e.attributes,j=0;j<$.length;j++){var z=$[j].name.toLowerCase();switch(z){case"value":break;case"checked":break;case"selected":break;default:x.add($[j].name)}}}var Y=null;for(var q in a)if(a.hasOwnProperty(q)){var ee=a[q];if(q===mc)typeof ee=="string"?e.textContent!==ee&&(a[Ku]!==!0&&Tv(e.textContent,ee,f,m),Y=[mc,ee]):typeof ee=="number"&&e.textContent!==""+ee&&(a[Ku]!==!0&&Tv(e.textContent,ee,f,m),Y=[mc,""+ee]);else if(ft.hasOwnProperty(q))ee!=null&&(typeof ee!="function"&&$v(q,ee),q==="onScroll"&&Rn("scroll",e));else if(m&&typeof g=="boolean"){var Te=void 0,Ke=yn(q);if(a[Ku]!==!0){if(!(q===wv||q===Ku||q==="value"||q==="checked"||q==="selected")){if(q===Xp){var He=e.innerHTML,Ot=ee?ee[Ev]:void 0;if(Ot!=null){var $t=gw(e,Ot);$t!==He&&Jp(q,He,$t)}}else if(q===hc){if(x.delete(q),yw){var I=Wg(ee);Te=e.getAttribute("style"),I!==Te&&Jp(q,Te,I)}}else if(g)x.delete(q.toLowerCase()),Te=Oo(e,q,ee),ee!==Te&&Jp(q,Te,ee);else if(!wn(q,Ke,g)&&!or(q,ee,Ke,g)){var te=!1;if(Ke!==null)x.delete(Ke.attributeName),Te=Do(e,q,ee,Ke);else{var B=o;if(B===io&&(B=qd(t)),B===io)x.delete(q.toLowerCase());else{var he=CT(q);he!==null&&he!==q&&(te=!0,x.delete(he)),x.delete(q)}Te=Oo(e,q,ee)}var De=F;!De&&ee!==Te&&!te&&Jp(q,Te,ee)}}}}}switch(m&&x.size>0&&a[Ku]!==!0&&vw(x),t){case"input":ca(e),G(e,a,!0);break;case"textarea":ca(e),ah(e);break;case"select":case"option":break;default:typeof a.onClick=="function"&&kv(e);break}return Y}function RT(e,t,a){var o=e.nodeValue!==t;return o}function S0(e,t){{if(Ki)return;Ki=!0,y("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function w0(e,t){{if(Ki)return;Ki=!0,y('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function E0(e,t,a){{if(Ki)return;Ki=!0,y("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function C0(e,t){{if(t===""||Ki)return;Ki=!0,y('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function TT(e,t,a){switch(t){case"input":J(e,a);return;case"textarea":Pg(e,a);return;case"select":Bd(e,a);return}}var Zp=function(){},em=function(){};{var kT=["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"],xw=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],_T=xw.concat(["button"]),NT=["dd","dt","li","option","optgroup","p","rp","rt"],Sw={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};em=function(e,t){var a=xt({},e||Sw),o={tag:t};return xw.indexOf(t)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),_T.indexOf(t)!==-1&&(a.pTagInButtonScope=null),kT.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=o,t==="form"&&(a.formTag=o),t==="a"&&(a.aTagInScope=o),t==="button"&&(a.buttonTagInScope=o),t==="nobr"&&(a.nobrTagInScope=o),t==="p"&&(a.pTagInButtonScope=o),t==="li"&&(a.listItemTagAutoclosing=o),(t==="dd"||t==="dt")&&(a.dlItemTagAutoclosing=o),a};var DT=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 NT.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},OT=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},ww={};Zp=function(e,t,a){a=a||Sw;var o=a.current,u=o&&o.tag;t!=null&&(e!=null&&y("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var f=DT(e,u)?null:o,m=f?null:OT(e,a),g=f||m;if(g){var x=g.tag,C=!!f+"|"+e+"|"+x;if(!ww[C]){ww[C]=!0;var $=e,j="";if(e==="#text"?/\S/.test(t)?$="Text nodes":($="Whitespace text nodes",j=" Make sure you don't have any extra whitespace between tags on each line of your source code."):$="<"+e+">",f){var z="";x==="table"&&e==="tr"&&(z+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),y("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",$,x,j,z)}else y("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",$,x)}}}}var _v="suppressHydrationWarning",Nv="$",Dv="/$",tm="$?",nm="$!",LT="style",$0=null,R0=null;function MT(e){var t,a,o=e.nodeType;switch(o){case oo:case Xd:{t=o===oo?"#document":"#fragment";var u=e.documentElement;a=u?u.namespaceURI:Kd(null,"");break}default:{var f=o===Vn?e.parentNode:e,m=f.namespaceURI||null;t=f.tagName,a=Kd(m,t);break}}{var g=t.toLowerCase(),x=em(null,g);return{namespace:a,ancestorInfo:x}}}function zT(e,t,a){{var o=e,u=Kd(o.namespace,t),f=em(o.ancestorInfo,t);return{namespace:u,ancestorInfo:f}}}function hM(e){return e}function AT(e){$0=Yn(),R0=KR();var t=null;return nr(!1),t}function UT(e){XR(R0),nr($0),$0=null,R0=null}function jT(e,t,a,o,u){var f;{var m=o;if(Zp(e,null,m.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var g=""+t.children,x=em(m.ancestorInfo,e);Zp(null,g,x)}f=m.namespace}var C=bT(e,t,a,f);return am(u,C),M0(C,t),C}function FT(e,t){e.appendChild(t)}function VT(e,t,a,o,u){switch(ST(e,t,a,o),t){case"button":case"input":case"select":case"textarea":return!!a.autoFocus;case"img":return!0;default:return!1}}function PT(e,t,a,o,u,f){{var m=f;if(typeof o.children!=typeof a.children&&(typeof o.children=="string"||typeof o.children=="number")){var g=""+o.children,x=em(m.ancestorInfo,t);Zp(null,g,x)}}return wT(e,t,a,o)}function T0(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 HT(e,t,a,o){{var u=a;Zp(null,e,u.ancestorInfo)}var f=xT(e,t);return am(o,f),f}function IT(){var e=window.event;return e===void 0?Yi:Pf(e.type)}var k0=typeof setTimeout=="function"?setTimeout:void 0,BT=typeof clearTimeout=="function"?clearTimeout:void 0,_0=-1,Ew=typeof Promise=="function"?Promise:void 0,WT=typeof queueMicrotask=="function"?queueMicrotask:typeof Ew<"u"?function(e){return Ew.resolve(null).then(e).catch(YT)}:k0;function YT(e){setTimeout(function(){throw e})}function GT(e,t,a,o){switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&e.focus();return;case"img":{a.src&&(e.src=a.src);return}}}function QT(e,t,a,o,u,f){ET(e,t,a,o,u),M0(e,u)}function Cw(e){Tu(e,"")}function qT(e,t,a){e.nodeValue=a}function KT(e,t){e.appendChild(t)}function XT(e,t){var a;e.nodeType===Vn?(a=e.parentNode,a.insertBefore(t,e)):(a=e,a.appendChild(t));var o=e._reactRootContainer;o==null&&a.onclick===null&&kv(a)}function JT(e,t,a){e.insertBefore(t,a)}function ZT(e,t,a){e.nodeType===Vn?e.parentNode.insertBefore(t,a):e.insertBefore(t,a)}function ek(e,t){e.removeChild(t)}function tk(e,t){e.nodeType===Vn?e.parentNode.removeChild(t):e.removeChild(t)}function N0(e,t){var a=t,o=0;do{var u=a.nextSibling;if(e.removeChild(a),u&&u.nodeType===Vn){var f=u.data;if(f===Dv)if(o===0){e.removeChild(u),Yl(t);return}else o--;else(f===Nv||f===tm||f===nm)&&o++}a=u}while(a);Yl(t)}function nk(e,t){e.nodeType===Vn?N0(e.parentNode,t):e.nodeType===ii&&N0(e,t),Yl(e)}function rk(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function ik(e){e.nodeValue=""}function ak(e,t){e=e;var a=t[LT],o=a!=null&&a.hasOwnProperty("display")?a.display:null;e.style.display=Yc("display",o)}function ok(e,t){e.nodeValue=t}function lk(e){e.nodeType===ii?e.textContent="":e.nodeType===oo&&e.documentElement&&e.removeChild(e.documentElement)}function uk(e,t,a){return e.nodeType!==ii||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function sk(e,t){return t===""||e.nodeType!==ao?null:e}function ck(e){return e.nodeType!==Vn?null:e}function $w(e){return e.data===tm}function D0(e){return e.data===nm}function fk(e){var t=e.nextSibling&&e.nextSibling.dataset,a,o,u;return t&&(a=t.dgst,o=t.msg,u=t.stck),{message:o,digest:a,stack:u}}function dk(e,t){e._reactRetry=t}function Ov(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===ii||t===ao)break;if(t===Vn){var a=e.data;if(a===Nv||a===nm||a===tm)break;if(a===Dv)return null}}return e}function rm(e){return Ov(e.nextSibling)}function pk(e){return Ov(e.firstChild)}function mk(e){return Ov(e.firstChild)}function hk(e){return Ov(e.nextSibling)}function vk(e,t,a,o,u,f,m){am(f,e),M0(e,a);var g;{var x=u;g=x.namespace}var C=(f.mode&St)!==Ye;return $T(e,t,a,g,o,C,m)}function yk(e,t,a,o){return am(a,e),a.mode&St,RT(e,t)}function gk(e,t){am(t,e)}function bk(e){for(var t=e.nextSibling,a=0;t;){if(t.nodeType===Vn){var o=t.data;if(o===Dv){if(a===0)return rm(t);a--}else(o===Nv||o===nm||o===tm)&&a++}t=t.nextSibling}return null}function Rw(e){for(var t=e.previousSibling,a=0;t;){if(t.nodeType===Vn){var o=t.data;if(o===Nv||o===nm||o===tm){if(a===0)return t;a--}else o===Dv&&a++}t=t.previousSibling}return null}function xk(e){Yl(e)}function Sk(e){Yl(e)}function wk(e){return e!=="head"&&e!=="body"}function Ek(e,t,a,o){var u=!0;Tv(t.nodeValue,a,o,u)}function Ck(e,t,a,o,u,f){if(t[_v]!==!0){var m=!0;Tv(o.nodeValue,u,f,m)}}function $k(e,t){t.nodeType===ii?S0(e,t):t.nodeType===Vn||w0(e,t)}function Rk(e,t){{var a=e.parentNode;a!==null&&(t.nodeType===ii?S0(a,t):t.nodeType===Vn||w0(a,t))}}function Tk(e,t,a,o,u){(u||t[_v]!==!0)&&(o.nodeType===ii?S0(a,o):o.nodeType===Vn||w0(a,o))}function kk(e,t,a){E0(e,t)}function _k(e,t){C0(e,t)}function Nk(e,t,a){{var o=e.parentNode;o!==null&&E0(o,t)}}function Dk(e,t){{var a=e.parentNode;a!==null&&C0(a,t)}}function Ok(e,t,a,o,u,f){(f||t[_v]!==!0)&&E0(a,o)}function Lk(e,t,a,o,u){(u||t[_v]!==!0)&&C0(a,o)}function Mk(e){y("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function zk(e){qp(e)}var td=Math.random().toString(36).slice(2),nd="__reactFiber$"+td,O0="__reactProps$"+td,im="__reactContainer$"+td,L0="__reactEvents$"+td,Ak="__reactListeners$"+td,Uk="__reactHandles$"+td;function jk(e){delete e[nd],delete e[O0],delete e[L0],delete e[Ak],delete e[Uk]}function am(e,t){t[nd]=e}function Lv(e,t){t[im]=e}function Tw(e){e[im]=null}function om(e){return!!e[im]}function vc(e){var t=e[nd];if(t)return t;for(var a=e.parentNode;a;){if(t=a[im]||a[nd],t){var o=t.alternate;if(t.child!==null||o!==null&&o.child!==null)for(var u=Rw(e);u!==null;){var f=u[nd];if(f)return f;u=Rw(u)}return t}e=a,a=e.parentNode}return null}function Xu(e){var t=e[nd]||e[im];return t&&(t.tag===V||t.tag===P||t.tag===ne||t.tag===N)?t:null}function rd(e){if(e.tag===V||e.tag===P)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Mv(e){return e[O0]||null}function M0(e,t){e[O0]=t}function Fk(e){var t=e[L0];return t===void 0&&(t=e[L0]=new Set),t}var kw={},_w=d.ReactDebugCurrentFrame;function zv(e){if(e){var t=e._owner,a=to(e.type,e._source,t?t.type:null);_w.setExtraStackFrame(a)}else _w.setExtraStackFrame(null)}function go(e,t,a,o,u){{var f=Function.call.bind(vn);for(var m in e)if(f(e,m)){var g=void 0;try{if(typeof e[m]!="function"){var x=Error((o||"React class")+": "+a+" type `"+m+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[m]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw x.name="Invariant Violation",x}g=e[m](t,m,o,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(C){g=C}g&&!(g instanceof Error)&&(zv(u),y("%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).",o||"React class",a,m,typeof g),zv(null)),g instanceof Error&&!(g.message in kw)&&(kw[g.message]=!0,zv(u),y("Failed %s type: %s",a,g.message),zv(null))}}}var z0=[],Av;Av=[];var Jl=-1;function Ju(e){return{current:e}}function hi(e,t){if(Jl<0){y("Unexpected pop.");return}t!==Av[Jl]&&y("Unexpected Fiber popped."),e.current=z0[Jl],z0[Jl]=null,Av[Jl]=null,Jl--}function vi(e,t,a){Jl++,z0[Jl]=e.current,Av[Jl]=a,e.current=t}var A0;A0={};var ba={};Object.freeze(ba);var Zl=Ju(ba),ll=Ju(!1),U0=ba;function id(e,t,a){return a&&ul(t)?U0:Zl.current}function Nw(e,t,a){{var o=e.stateNode;o.__reactInternalMemoizedUnmaskedChildContext=t,o.__reactInternalMemoizedMaskedChildContext=a}}function ad(e,t){{var a=e.type,o=a.contextTypes;if(!o)return ba;var u=e.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===t)return u.__reactInternalMemoizedMaskedChildContext;var f={};for(var m in o)f[m]=t[m];{var g=dt(e)||"Unknown";go(o,f,"context",g)}return u&&Nw(e,t,f),f}}function Uv(){return ll.current}function ul(e){{var t=e.childContextTypes;return t!=null}}function jv(e){hi(ll,e),hi(Zl,e)}function j0(e){hi(ll,e),hi(Zl,e)}function Dw(e,t,a){{if(Zl.current!==ba)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");vi(Zl,t,e),vi(ll,a,e)}}function Ow(e,t,a){{var o=e.stateNode,u=t.childContextTypes;if(typeof o.getChildContext!="function"){{var f=dt(e)||"Unknown";A0[f]||(A0[f]=!0,y("%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.",f,f))}return a}var m=o.getChildContext();for(var g in m)if(!(g in u))throw new Error((dt(e)||"Unknown")+'.getChildContext(): key "'+g+'" is not defined in childContextTypes.');{var x=dt(e)||"Unknown";go(u,m,"child context",x)}return xt({},a,m)}}function Fv(e){{var t=e.stateNode,a=t&&t.__reactInternalMemoizedMergedChildContext||ba;return U0=Zl.current,vi(Zl,a,e),vi(ll,ll.current,e),!0}}function Lw(e,t,a){{var o=e.stateNode;if(!o)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(a){var u=Ow(e,t,U0);o.__reactInternalMemoizedMergedChildContext=u,hi(ll,e),hi(Zl,e),vi(Zl,u,e),vi(ll,a,e)}else hi(ll,e),vi(ll,a,e)}}function Vk(e){{if(!Ol(e)||e.tag!==_)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 N:return t.stateNode.context;case _:{var a=t.type;if(ul(a))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 Zu=0,Vv=1,eu=null,F0=!1,V0=!1;function Mw(e){eu===null?eu=[e]:eu.push(e)}function Pk(e){F0=!0,Mw(e)}function zw(){F0&&es()}function es(){if(!V0&&eu!==null){V0=!0;var e=0,t=Qi();try{var a=!0,o=eu;for(Wn(Pr);e<o.length;e++){var u=o[e];do u=u(a);while(u!==null)}eu=null,F0=!1}catch(f){throw eu!==null&&(eu=eu.slice(e+1)),sp(zs,es),f}finally{Wn(t),V0=!1}}return null}var od=[],ld=0,Pv=null,Hv=0,Ya=[],Ga=0,yc=null,tu=1,nu="";function Hk(e){return bc(),(e.flags&Aa)!==We}function Ik(e){return bc(),Hv}function Bk(){var e=nu,t=tu,a=t&~Wk(t);return a.toString(32)+e}function gc(e,t){bc(),od[ld++]=Hv,od[ld++]=Pv,Pv=e,Hv=t}function Aw(e,t,a){bc(),Ya[Ga++]=tu,Ya[Ga++]=nu,Ya[Ga++]=yc,yc=e;var o=tu,u=nu,f=Iv(o)-1,m=o&~(1<<f),g=a+1,x=Iv(t)+f;if(x>30){var C=f-f%5,$=(1<<C)-1,j=(m&$).toString(32),z=m>>C,Y=f-C,q=Iv(t)+Y,ee=g<<Y,Te=ee|z,Ke=j+u;tu=1<<q|Te,nu=Ke}else{var He=g<<f,Ot=He|m,$t=u;tu=1<<x|Ot,nu=$t}}function P0(e){bc();var t=e.return;if(t!==null){var a=1,o=0;gc(e,a),Aw(e,a,o)}}function Iv(e){return 32-In(e)}function Wk(e){return 1<<Iv(e)-1}function H0(e){for(;e===Pv;)Pv=od[--ld],od[ld]=null,Hv=od[--ld],od[ld]=null;for(;e===yc;)yc=Ya[--Ga],Ya[Ga]=null,nu=Ya[--Ga],Ya[Ga]=null,tu=Ya[--Ga],Ya[Ga]=null}function Yk(){return bc(),yc!==null?{id:tu,overflow:nu}:null}function Gk(e,t){bc(),Ya[Ga++]=tu,Ya[Ga++]=nu,Ya[Ga++]=yc,tu=t.id,nu=t.overflow,yc=e}function bc(){Yr()||y("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Wr=null,Qa=null,bo=!1,xc=!1,ts=null;function Qk(){bo&&y("We should not be hydrating here. This is a bug in React. Please file a bug.")}function Uw(){xc=!0}function qk(){return xc}function Kk(e){var t=e.stateNode.containerInfo;return Qa=mk(t),Wr=e,bo=!0,ts=null,xc=!1,!0}function Xk(e,t,a){return Qa=hk(t),Wr=e,bo=!0,ts=null,xc=!1,a!==null&&Gk(e,a),!0}function jw(e,t){switch(e.tag){case N:{$k(e.stateNode.containerInfo,t);break}case V:{var a=(e.mode&St)!==Ye;Tk(e.type,e.memoizedProps,e.stateNode,t,a);break}case ne:{var o=e.memoizedState;o.dehydrated!==null&&Rk(o.dehydrated,t);break}}}function Fw(e,t){jw(e,t);var a=t3();a.stateNode=t,a.return=e;var o=e.deletions;o===null?(e.deletions=[a],e.flags|=Pi):o.push(a)}function I0(e,t){{if(xc)return;switch(e.tag){case N:{var a=e.stateNode.containerInfo;switch(t.tag){case V:var o=t.type;t.pendingProps,kk(a,o);break;case P:var u=t.pendingProps;_k(a,u);break}break}case V:{var f=e.type,m=e.memoizedProps,g=e.stateNode;switch(t.tag){case V:{var x=t.type,C=t.pendingProps,$=(e.mode&St)!==Ye;Ok(f,m,g,x,C,$);break}case P:{var j=t.pendingProps,z=(e.mode&St)!==Ye;Lk(f,m,g,j,z);break}}break}case ne:{var Y=e.memoizedState,q=Y.dehydrated;if(q!==null)switch(t.tag){case V:var ee=t.type;t.pendingProps,Nk(q,ee);break;case P:var Te=t.pendingProps;Dk(q,Te);break}break}default:return}}}function Vw(e,t){t.flags=t.flags&-4097|Dn,I0(e,t)}function Pw(e,t){switch(e.tag){case V:{var a=e.type;e.pendingProps;var o=uk(t,a);return o!==null?(e.stateNode=o,Wr=e,Qa=pk(o),!0):!1}case P:{var u=e.pendingProps,f=sk(t,u);return f!==null?(e.stateNode=f,Wr=e,Qa=null,!0):!1}case ne:{var m=ck(t);if(m!==null){var g={dehydrated:m,treeContext:Yk(),retryLane:ki};e.memoizedState=g;var x=n3(m);return x.return=e,e.child=x,Wr=e,Qa=null,!0}return!1}default:return!1}}function B0(e){return(e.mode&St)!==Ye&&(e.flags&Ie)===We}function W0(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function Y0(e){if(bo){var t=Qa;if(!t){B0(e)&&(I0(Wr,e),W0()),Vw(Wr,e),bo=!1,Wr=e;return}var a=t;if(!Pw(e,t)){B0(e)&&(I0(Wr,e),W0()),t=rm(a);var o=Wr;if(!t||!Pw(e,t)){Vw(Wr,e),bo=!1,Wr=e;return}Fw(o,a)}}}function Jk(e,t,a){var o=e.stateNode,u=!xc,f=vk(o,e.type,e.memoizedProps,t,a,e,u);return e.updateQueue=f,f!==null}function Zk(e){var t=e.stateNode,a=e.memoizedProps,o=yk(t,a,e);if(o){var u=Wr;if(u!==null)switch(u.tag){case N:{var f=u.stateNode.containerInfo,m=(u.mode&St)!==Ye;Ek(f,t,a,m);break}case V:{var g=u.type,x=u.memoizedProps,C=u.stateNode,$=(u.mode&St)!==Ye;Ck(g,x,C,t,a,$);break}}}return o}function e_(e){var t=e.memoizedState,a=t!==null?t.dehydrated:null;if(!a)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");gk(a,e)}function t_(e){var t=e.memoizedState,a=t!==null?t.dehydrated:null;if(!a)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 bk(a)}function Hw(e){for(var t=e.return;t!==null&&t.tag!==V&&t.tag!==N&&t.tag!==ne;)t=t.return;Wr=t}function Bv(e){if(e!==Wr)return!1;if(!bo)return Hw(e),bo=!0,!1;if(e.tag!==N&&(e.tag!==V||wk(e.type)&&!T0(e.type,e.memoizedProps))){var t=Qa;if(t)if(B0(e))Iw(e),W0();else for(;t;)Fw(e,t),t=rm(t)}return Hw(e),e.tag===ne?Qa=t_(e):Qa=Wr?rm(e.stateNode):null,!0}function n_(){return bo&&Qa!==null}function Iw(e){for(var t=Qa;t;)jw(e,t),t=rm(t)}function ud(){Wr=null,Qa=null,bo=!1,xc=!1}function Bw(){ts!==null&&(UE(ts),ts=null)}function Yr(){return bo}function G0(e){ts===null?ts=[e]:ts.push(e)}var r_=d.ReactCurrentBatchConfig,i_=null;function a_(){return r_.transition}var xo={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var o_=function(e){for(var t=null,a=e;a!==null;)a.mode&tn&&(t=a),a=a.return;return t},Sc=function(e){var t=[];return e.forEach(function(a){t.push(a)}),t.sort().join(", ")},lm=[],um=[],sm=[],cm=[],fm=[],dm=[],wc=new Set;xo.recordUnsafeLifecycleWarnings=function(e,t){wc.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&lm.push(e),e.mode&tn&&typeof t.UNSAFE_componentWillMount=="function"&&um.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&sm.push(e),e.mode&tn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&cm.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&fm.push(e),e.mode&tn&&typeof t.UNSAFE_componentWillUpdate=="function"&&dm.push(e))},xo.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;lm.length>0&&(lm.forEach(function(z){e.add(dt(z)||"Component"),wc.add(z.type)}),lm=[]);var t=new Set;um.length>0&&(um.forEach(function(z){t.add(dt(z)||"Component"),wc.add(z.type)}),um=[]);var a=new Set;sm.length>0&&(sm.forEach(function(z){a.add(dt(z)||"Component"),wc.add(z.type)}),sm=[]);var o=new Set;cm.length>0&&(cm.forEach(function(z){o.add(dt(z)||"Component"),wc.add(z.type)}),cm=[]);var u=new Set;fm.length>0&&(fm.forEach(function(z){u.add(dt(z)||"Component"),wc.add(z.type)}),fm=[]);var f=new Set;if(dm.length>0&&(dm.forEach(function(z){f.add(dt(z)||"Component"),wc.add(z.type)}),dm=[]),t.size>0){var m=Sc(t);y(`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.
|
|
131
|
+
|
|
132
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
133
|
+
|
|
134
|
+
Please update the following components: %s`,m)}if(o.size>0){var g=Sc(o);y(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
135
|
+
|
|
136
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
137
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
138
|
+
|
|
139
|
+
Please update the following components: %s`,g)}if(f.size>0){var x=Sc(f);y(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
140
|
+
|
|
141
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
142
|
+
|
|
143
|
+
Please update the following components: %s`,x)}if(e.size>0){var C=Sc(e);E(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
144
|
+
|
|
145
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
146
|
+
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
147
|
+
|
|
148
|
+
Please update the following components: %s`,C)}if(a.size>0){var $=Sc(a);E(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
149
|
+
|
|
150
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
151
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
152
|
+
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
153
|
+
|
|
154
|
+
Please update the following components: %s`,$)}if(u.size>0){var j=Sc(u);E(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
155
|
+
|
|
156
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
157
|
+
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
158
|
+
|
|
159
|
+
Please update the following components: %s`,j)}};var Wv=new Map,Ww=new Set;xo.recordLegacyContextWarning=function(e,t){var a=o_(e);if(a===null){y("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!Ww.has(e.type)){var o=Wv.get(a);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(o===void 0&&(o=[],Wv.set(a,o)),o.push(e))}},xo.flushLegacyContextWarning=function(){Wv.forEach(function(e,t){if(e.length!==0){var a=e[0],o=new Set;e.forEach(function(f){o.add(dt(f)||"Component"),Ww.add(f.type)});var u=Sc(o);try{Jt(a),y(`Legacy context API has been detected within a strict-mode tree.
|
|
160
|
+
|
|
161
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
162
|
+
|
|
163
|
+
Please update the following components: %s
|
|
164
|
+
|
|
165
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,u)}finally{mn()}}})},xo.discardPendingWarnings=function(){lm=[],um=[],sm=[],cm=[],fm=[],dm=[],Wv=new Map}}var Q0,q0,K0,X0,J0,Yw=function(e,t){};Q0=!1,q0=!1,K0={},X0={},J0={},Yw=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var a=dt(t)||"Component";X0[a]||(X0[a]=!0,y('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function l_(e){return e.prototype&&e.prototype.isReactComponent}function pm(e,t,a){var o=a.ref;if(o!==null&&typeof o!="function"&&typeof o!="object"){if((e.mode&tn||Z)&&!(a._owner&&a._self&&a._owner.stateNode!==a._self)&&!(a._owner&&a._owner.tag!==_)&&!(typeof a.type=="function"&&!l_(a.type))&&a._owner){var u=dt(e)||"Component";K0[u]||(y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',u,o),K0[u]=!0)}if(a._owner){var f=a._owner,m;if(f){var g=f;if(g.tag!==_)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");m=g.stateNode}if(!m)throw new Error("Missing owner for string ref "+o+". This error is likely caused by a bug in React. Please file an issue.");var x=m;$a(o,"ref");var C=""+o;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===C)return t.ref;var $=function(j){var z=x.refs;j===null?delete z[C]:z[C]=j};return $._stringRef=C,$}else{if(typeof o!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!a._owner)throw new Error("Element ref was specified as a string ("+o+`) but no owner was set. This could happen for one of the following reasons:
|
|
166
|
+
1. You may be adding a ref to a function component
|
|
167
|
+
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
168
|
+
3. You have multiple copies of React loaded
|
|
169
|
+
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return o}function Yv(e,t){var a=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(a==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}function Gv(e){{var t=dt(e)||"Component";if(J0[t])return;J0[t]=!0,y("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function Gw(e){var t=e._payload,a=e._init;return a(t)}function Qw(e){function t(I,te){if(e){var B=I.deletions;B===null?(I.deletions=[te],I.flags|=Pi):B.push(te)}}function a(I,te){if(!e)return null;for(var B=te;B!==null;)t(I,B),B=B.sibling;return null}function o(I,te){for(var B=new Map,he=te;he!==null;)he.key!==null?B.set(he.key,he):B.set(he.index,he),he=he.sibling;return B}function u(I,te){var B=Dc(I,te);return B.index=0,B.sibling=null,B}function f(I,te,B){if(I.index=B,!e)return I.flags|=Aa,te;var he=I.alternate;if(he!==null){var De=he.index;return De<te?(I.flags|=Dn,te):De}else return I.flags|=Dn,te}function m(I){return e&&I.alternate===null&&(I.flags|=Dn),I}function g(I,te,B,he){if(te===null||te.tag!==P){var De=Gx(B,I.mode,he);return De.return=I,De}else{var ke=u(te,B);return ke.return=I,ke}}function x(I,te,B,he){var De=B.type;if(De===ka)return $(I,te,B.props.children,he,B.key);if(te!==null&&(te.elementType===De||ZE(te,B)||typeof De=="object"&&De!==null&&De.$$typeof===Qe&&Gw(De)===te.type)){var ke=u(te,B.props);return ke.ref=pm(I,te,B),ke.return=I,ke._debugSource=B._source,ke._debugOwner=B._owner,ke}var it=Yx(B,I.mode,he);return it.ref=pm(I,te,B),it.return=I,it}function C(I,te,B,he){if(te===null||te.tag!==M||te.stateNode.containerInfo!==B.containerInfo||te.stateNode.implementation!==B.implementation){var De=Qx(B,I.mode,he);return De.return=I,De}else{var ke=u(te,B.children||[]);return ke.return=I,ke}}function $(I,te,B,he,De){if(te===null||te.tag!==re){var ke=ds(B,I.mode,he,De);return ke.return=I,ke}else{var it=u(te,B);return it.return=I,it}}function j(I,te,B){if(typeof te=="string"&&te!==""||typeof te=="number"){var he=Gx(""+te,I.mode,B);return he.return=I,he}if(typeof te=="object"&&te!==null){switch(te.$$typeof){case ni:{var De=Yx(te,I.mode,B);return De.ref=pm(I,null,te),De.return=I,De}case pr:{var ke=Qx(te,I.mode,B);return ke.return=I,ke}case Qe:{var it=te._payload,ht=te._init;return j(I,ht(it),B)}}if(bt(te)||Qt(te)){var rn=ds(te,I.mode,B,null);return rn.return=I,rn}Yv(I,te)}return typeof te=="function"&&Gv(I),null}function z(I,te,B,he){var De=te!==null?te.key:null;if(typeof B=="string"&&B!==""||typeof B=="number")return De!==null?null:g(I,te,""+B,he);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case ni:return B.key===De?x(I,te,B,he):null;case pr:return B.key===De?C(I,te,B,he):null;case Qe:{var ke=B._payload,it=B._init;return z(I,te,it(ke),he)}}if(bt(B)||Qt(B))return De!==null?null:$(I,te,B,he,null);Yv(I,B)}return typeof B=="function"&&Gv(I),null}function Y(I,te,B,he,De){if(typeof he=="string"&&he!==""||typeof he=="number"){var ke=I.get(B)||null;return g(te,ke,""+he,De)}if(typeof he=="object"&&he!==null){switch(he.$$typeof){case ni:{var it=I.get(he.key===null?B:he.key)||null;return x(te,it,he,De)}case pr:{var ht=I.get(he.key===null?B:he.key)||null;return C(te,ht,he,De)}case Qe:var rn=he._payload,Bt=he._init;return Y(I,te,B,Bt(rn),De)}if(bt(he)||Qt(he)){var rr=I.get(B)||null;return $(te,rr,he,De,null)}Yv(te,he)}return typeof he=="function"&&Gv(te),null}function q(I,te,B){{if(typeof I!="object"||I===null)return te;switch(I.$$typeof){case ni:case pr:Yw(I,B);var he=I.key;if(typeof he!="string")break;if(te===null){te=new Set,te.add(he);break}if(!te.has(he)){te.add(he);break}y("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",he);break;case Qe:var De=I._payload,ke=I._init;q(ke(De),te,B);break}}return te}function ee(I,te,B,he){for(var De=null,ke=0;ke<B.length;ke++){var it=B[ke];De=q(it,De,I)}for(var ht=null,rn=null,Bt=te,rr=0,Wt=0,Qn=null;Bt!==null&&Wt<B.length;Wt++){Bt.index>Wt?(Qn=Bt,Bt=null):Qn=Bt.sibling;var gi=z(I,Bt,B[Wt],he);if(gi===null){Bt===null&&(Bt=Qn);break}e&&Bt&&gi.alternate===null&&t(I,Bt),rr=f(gi,rr,Wt),rn===null?ht=gi:rn.sibling=gi,rn=gi,Bt=Qn}if(Wt===B.length){if(a(I,Bt),Yr()){var Zr=Wt;gc(I,Zr)}return ht}if(Bt===null){for(;Wt<B.length;Wt++){var Sa=j(I,B[Wt],he);Sa!==null&&(rr=f(Sa,rr,Wt),rn===null?ht=Sa:rn.sibling=Sa,rn=Sa)}if(Yr()){var Mi=Wt;gc(I,Mi)}return ht}for(var zi=o(I,Bt);Wt<B.length;Wt++){var bi=Y(zi,I,Wt,B[Wt],he);bi!==null&&(e&&bi.alternate!==null&&zi.delete(bi.key===null?Wt:bi.key),rr=f(bi,rr,Wt),rn===null?ht=bi:rn.sibling=bi,rn=bi)}if(e&&zi.forEach(function(Td){return t(I,Td)}),Yr()){var su=Wt;gc(I,su)}return ht}function Te(I,te,B,he){var De=Qt(B);if(typeof De!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&B[Symbol.toStringTag]==="Generator"&&(q0||y("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),q0=!0),B.entries===De&&(Q0||y("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Q0=!0);var ke=De.call(B);if(ke)for(var it=null,ht=ke.next();!ht.done;ht=ke.next()){var rn=ht.value;it=q(rn,it,I)}}var Bt=De.call(B);if(Bt==null)throw new Error("An iterable object provided no iterator.");for(var rr=null,Wt=null,Qn=te,gi=0,Zr=0,Sa=null,Mi=Bt.next();Qn!==null&&!Mi.done;Zr++,Mi=Bt.next()){Qn.index>Zr?(Sa=Qn,Qn=null):Sa=Qn.sibling;var zi=z(I,Qn,Mi.value,he);if(zi===null){Qn===null&&(Qn=Sa);break}e&&Qn&&zi.alternate===null&&t(I,Qn),gi=f(zi,gi,Zr),Wt===null?rr=zi:Wt.sibling=zi,Wt=zi,Qn=Sa}if(Mi.done){if(a(I,Qn),Yr()){var bi=Zr;gc(I,bi)}return rr}if(Qn===null){for(;!Mi.done;Zr++,Mi=Bt.next()){var su=j(I,Mi.value,he);su!==null&&(gi=f(su,gi,Zr),Wt===null?rr=su:Wt.sibling=su,Wt=su)}if(Yr()){var Td=Zr;gc(I,Td)}return rr}for(var Wm=o(I,Qn);!Mi.done;Zr++,Mi=Bt.next()){var vl=Y(Wm,I,Zr,Mi.value,he);vl!==null&&(e&&vl.alternate!==null&&Wm.delete(vl.key===null?Zr:vl.key),gi=f(vl,gi,Zr),Wt===null?rr=vl:Wt.sibling=vl,Wt=vl)}if(e&&Wm.forEach(function(L3){return t(I,L3)}),Yr()){var O3=Zr;gc(I,O3)}return rr}function Ke(I,te,B,he){if(te!==null&&te.tag===P){a(I,te.sibling);var De=u(te,B);return De.return=I,De}a(I,te);var ke=Gx(B,I.mode,he);return ke.return=I,ke}function He(I,te,B,he){for(var De=B.key,ke=te;ke!==null;){if(ke.key===De){var it=B.type;if(it===ka){if(ke.tag===re){a(I,ke.sibling);var ht=u(ke,B.props.children);return ht.return=I,ht._debugSource=B._source,ht._debugOwner=B._owner,ht}}else if(ke.elementType===it||ZE(ke,B)||typeof it=="object"&&it!==null&&it.$$typeof===Qe&&Gw(it)===ke.type){a(I,ke.sibling);var rn=u(ke,B.props);return rn.ref=pm(I,ke,B),rn.return=I,rn._debugSource=B._source,rn._debugOwner=B._owner,rn}a(I,ke);break}else t(I,ke);ke=ke.sibling}if(B.type===ka){var Bt=ds(B.props.children,I.mode,he,B.key);return Bt.return=I,Bt}else{var rr=Yx(B,I.mode,he);return rr.ref=pm(I,te,B),rr.return=I,rr}}function Ot(I,te,B,he){for(var De=B.key,ke=te;ke!==null;){if(ke.key===De)if(ke.tag===M&&ke.stateNode.containerInfo===B.containerInfo&&ke.stateNode.implementation===B.implementation){a(I,ke.sibling);var it=u(ke,B.children||[]);return it.return=I,it}else{a(I,ke);break}else t(I,ke);ke=ke.sibling}var ht=Qx(B,I.mode,he);return ht.return=I,ht}function $t(I,te,B,he){var De=typeof B=="object"&&B!==null&&B.type===ka&&B.key===null;if(De&&(B=B.props.children),typeof B=="object"&&B!==null){switch(B.$$typeof){case ni:return m(He(I,te,B,he));case pr:return m(Ot(I,te,B,he));case Qe:var ke=B._payload,it=B._init;return $t(I,te,it(ke),he)}if(bt(B))return ee(I,te,B,he);if(Qt(B))return Te(I,te,B,he);Yv(I,B)}return typeof B=="string"&&B!==""||typeof B=="number"?m(Ke(I,te,""+B,he)):(typeof B=="function"&&Gv(I),a(I,te))}return $t}var sd=Qw(!0),qw=Qw(!1);function u_(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var a=t.child,o=Dc(a,a.pendingProps);for(t.child=o,o.return=t;a.sibling!==null;)a=a.sibling,o=o.sibling=Dc(a,a.pendingProps),o.return=t;o.sibling=null}}function s_(e,t){for(var a=e.child;a!==null;)KD(a,t),a=a.sibling}var Z0=Ju(null),eb;eb={};var Qv=null,cd=null,tb=null,qv=!1;function Kv(){Qv=null,cd=null,tb=null,qv=!1}function Kw(){qv=!0}function Xw(){qv=!1}function Jw(e,t,a){vi(Z0,t._currentValue,e),t._currentValue=a,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==eb&&y("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=eb}function nb(e,t){var a=Z0.current;hi(Z0,t),e._currentValue=a}function rb(e,t,a){for(var o=e;o!==null;){var u=o.alternate;if(Wl(o.childLanes,t)?u!==null&&!Wl(u.childLanes,t)&&(u.childLanes=vt(u.childLanes,t)):(o.childLanes=vt(o.childLanes,t),u!==null&&(u.childLanes=vt(u.childLanes,t))),o===a)break;o=o.return}o!==a&&y("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 c_(e,t,a){f_(e,t,a)}function f_(e,t,a){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var u=void 0,f=o.dependencies;if(f!==null){u=o.child;for(var m=f.firstContext;m!==null;){if(m.context===t){if(o.tag===_){var g=qs(a),x=ru(on,g);x.tag=Jv;var C=o.updateQueue;if(C!==null){var $=C.shared,j=$.pending;j===null?x.next=x:(x.next=j.next,j.next=x),$.pending=x}}o.lanes=vt(o.lanes,a);var z=o.alternate;z!==null&&(z.lanes=vt(z.lanes,a)),rb(o.return,a,e),f.lanes=vt(f.lanes,a);break}m=m.next}}else if(o.tag===X)u=o.type===e.type?null:o.child;else if(o.tag===Lt){var Y=o.return;if(Y===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");Y.lanes=vt(Y.lanes,a);var q=Y.alternate;q!==null&&(q.lanes=vt(q.lanes,a)),rb(Y,a,e),u=o.sibling}else u=o.child;if(u!==null)u.return=o;else for(u=o;u!==null;){if(u===e){u=null;break}var ee=u.sibling;if(ee!==null){ee.return=u.return,u=ee;break}u=u.return}o=u}}function fd(e,t){Qv=e,cd=null,tb=null;var a=e.dependencies;if(a!==null){var o=a.firstContext;o!==null&&(fi(a.lanes,t)&&km(),a.firstContext=null)}}function cr(e){qv&&y("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(tb!==e){var a={context:e,memoizedValue:t,next:null};if(cd===null){if(Qv===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().");cd=a,Qv.dependencies={lanes:ue,firstContext:a}}else cd=cd.next=a}return t}var Ec=null;function ib(e){Ec===null?Ec=[e]:Ec.push(e)}function d_(){if(Ec!==null){for(var e=0;e<Ec.length;e++){var t=Ec[e],a=t.interleaved;if(a!==null){t.interleaved=null;var o=a.next,u=t.pending;if(u!==null){var f=u.next;u.next=o,a.next=f}t.pending=a}}Ec=null}}function Zw(e,t,a,o){var u=t.interleaved;return u===null?(a.next=a,ib(t)):(a.next=u.next,u.next=a),t.interleaved=a,Xv(e,o)}function p_(e,t,a,o){var u=t.interleaved;u===null?(a.next=a,ib(t)):(a.next=u.next,u.next=a),t.interleaved=a}function m_(e,t,a,o){var u=t.interleaved;return u===null?(a.next=a,ib(t)):(a.next=u.next,u.next=a),t.interleaved=a,Xv(e,o)}function Xi(e,t){return Xv(e,t)}var h_=Xv;function Xv(e,t){e.lanes=vt(e.lanes,t);var a=e.alternate;a!==null&&(a.lanes=vt(a.lanes,t)),a===null&&(e.flags&(Dn|Hi))!==We&&qE(e);for(var o=e,u=e.return;u!==null;)u.childLanes=vt(u.childLanes,t),a=u.alternate,a!==null?a.childLanes=vt(a.childLanes,t):(u.flags&(Dn|Hi))!==We&&qE(e),o=u,u=u.return;if(o.tag===N){var f=o.stateNode;return f}else return null}var e1=0,t1=1,Jv=2,ab=3,Zv=!1,ob,ey;ob=!1,ey=null;function lb(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:ue},effects:null};e.updateQueue=t}function n1(e,t){var a=t.updateQueue,o=e.updateQueue;if(a===o){var u={baseState:o.baseState,firstBaseUpdate:o.firstBaseUpdate,lastBaseUpdate:o.lastBaseUpdate,shared:o.shared,effects:o.effects};t.updateQueue=u}}function ru(e,t){var a={eventTime:e,lane:t,tag:e1,payload:null,callback:null,next:null};return a}function ns(e,t,a){var o=e.updateQueue;if(o===null)return null;var u=o.shared;if(ey===u&&!ob&&(y("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."),ob=!0),pD()){var f=u.pending;return f===null?t.next=t:(t.next=f.next,f.next=t),u.pending=t,h_(e,a)}else return m_(e,u,t,a)}function ty(e,t,a){var o=t.updateQueue;if(o!==null){var u=o.shared;if(Rp(a)){var f=u.lanes;f=kp(f,e.pendingLanes);var m=vt(f,a);u.lanes=m,Uf(e,m)}}}function ub(e,t){var a=e.updateQueue,o=e.alternate;if(o!==null){var u=o.updateQueue;if(a===u){var f=null,m=null,g=a.firstBaseUpdate;if(g!==null){var x=g;do{var C={eventTime:x.eventTime,lane:x.lane,tag:x.tag,payload:x.payload,callback:x.callback,next:null};m===null?f=m=C:(m.next=C,m=C),x=x.next}while(x!==null);m===null?f=m=t:(m.next=t,m=t)}else f=m=t;a={baseState:u.baseState,firstBaseUpdate:f,lastBaseUpdate:m,shared:u.shared,effects:u.effects},e.updateQueue=a;return}}var $=a.lastBaseUpdate;$===null?a.firstBaseUpdate=t:$.next=t,a.lastBaseUpdate=t}function v_(e,t,a,o,u,f){switch(a.tag){case t1:{var m=a.payload;if(typeof m=="function"){Kw();var g=m.call(f,o,u);{if(e.mode&tn){Cn(!0);try{m.call(f,o,u)}finally{Cn(!1)}}Xw()}return g}return m}case ab:e.flags=e.flags&-65537|Ie;case e1:{var x=a.payload,C;if(typeof x=="function"){Kw(),C=x.call(f,o,u);{if(e.mode&tn){Cn(!0);try{x.call(f,o,u)}finally{Cn(!1)}}Xw()}}else C=x;return C==null?o:xt({},o,C)}case Jv:return Zv=!0,o}return o}function ny(e,t,a,o){var u=e.updateQueue;Zv=!1,ey=u.shared;var f=u.firstBaseUpdate,m=u.lastBaseUpdate,g=u.shared.pending;if(g!==null){u.shared.pending=null;var x=g,C=x.next;x.next=null,m===null?f=C:m.next=C,m=x;var $=e.alternate;if($!==null){var j=$.updateQueue,z=j.lastBaseUpdate;z!==m&&(z===null?j.firstBaseUpdate=C:z.next=C,j.lastBaseUpdate=x)}}if(f!==null){var Y=u.baseState,q=ue,ee=null,Te=null,Ke=null,He=f;do{var Ot=He.lane,$t=He.eventTime;if(Wl(o,Ot)){if(Ke!==null){var te={eventTime:$t,lane:Ft,tag:He.tag,payload:He.payload,callback:He.callback,next:null};Ke=Ke.next=te}Y=v_(e,u,He,Y,t,a);var B=He.callback;if(B!==null&&He.lane!==Ft){e.flags|=cn;var he=u.effects;he===null?u.effects=[He]:he.push(He)}}else{var I={eventTime:$t,lane:Ot,tag:He.tag,payload:He.payload,callback:He.callback,next:null};Ke===null?(Te=Ke=I,ee=Y):Ke=Ke.next=I,q=vt(q,Ot)}if(He=He.next,He===null){if(g=u.shared.pending,g===null)break;var De=g,ke=De.next;De.next=null,He=ke,u.lastBaseUpdate=De,u.shared.pending=null}}while(!0);Ke===null&&(ee=Y),u.baseState=ee,u.firstBaseUpdate=Te,u.lastBaseUpdate=Ke;var it=u.shared.interleaved;if(it!==null){var ht=it;do q=vt(q,ht.lane),ht=ht.next;while(ht!==it)}else f===null&&(u.shared.lanes=ue);Vm(q),e.lanes=q,e.memoizedState=Y}ey=null}function y_(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function r1(){Zv=!1}function ry(){return Zv}function i1(e,t,a){var o=t.effects;if(t.effects=null,o!==null)for(var u=0;u<o.length;u++){var f=o[u],m=f.callback;m!==null&&(f.callback=null,y_(m,a))}}var mm={},rs=Ju(mm),hm=Ju(mm),iy=Ju(mm);function ay(e){if(e===mm)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function a1(){var e=ay(iy.current);return e}function sb(e,t){vi(iy,t,e),vi(hm,e,e),vi(rs,mm,e);var a=MT(t);hi(rs,e),vi(rs,a,e)}function dd(e){hi(rs,e),hi(hm,e),hi(iy,e)}function cb(){var e=ay(rs.current);return e}function o1(e){ay(iy.current);var t=ay(rs.current),a=zT(t,e.type);t!==a&&(vi(hm,e,e),vi(rs,a,e))}function fb(e){hm.current===e&&(hi(rs,e),hi(hm,e))}var g_=0,l1=1,u1=1,vm=2,So=Ju(g_);function db(e,t){return(e&t)!==0}function pd(e){return e&l1}function pb(e,t){return e&l1|t}function b_(e,t){return e|t}function is(e,t){vi(So,t,e)}function md(e){hi(So,e)}function x_(e,t){var a=e.memoizedState;return a!==null?a.dehydrated!==null:(e.memoizedProps,!0)}function oy(e){for(var t=e;t!==null;){if(t.tag===ne){var a=t.memoizedState;if(a!==null){var o=a.dehydrated;if(o===null||$w(o)||D0(o))return t}}else if(t.tag===Yt&&t.memoizedProps.revealOrder!==void 0){var u=(t.flags&Ie)!==We;if(u)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ji=0,xr=1,sl=2,Sr=4,Gr=8,mb=[];function hb(){for(var e=0;e<mb.length;e++){var t=mb[e];t._workInProgressVersionPrimary=null}mb.length=0}function S_(e,t){var a=t._getVersion,o=a(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,o]:e.mutableSourceEagerHydrationData.push(t,o)}var Ne=d.ReactCurrentDispatcher,ym=d.ReactCurrentBatchConfig,vb,hd;vb=new Set;var Cc=ue,nn=null,wr=null,Er=null,ly=!1,gm=!1,bm=0,w_=0,E_=25,ae=null,qa=null,as=-1,yb=!1;function Kt(){{var e=ae;qa===null?qa=[e]:qa.push(e)}}function Ce(){{var e=ae;qa!==null&&(as++,qa[as]!==e&&C_(e))}}function vd(e){e!=null&&!bt(e)&&y("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",ae,typeof e)}function C_(e){{var t=dt(nn);if(!vb.has(t)&&(vb.add(t),qa!==null)){for(var a="",o=30,u=0;u<=as;u++){for(var f=qa[u],m=u===as?e:f,g=u+1+". "+f;g.length<o;)g+=" ";g+=m+`
|
|
170
|
+
`,a+=g}y(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
|
|
171
|
+
|
|
172
|
+
Previous render Next render
|
|
173
|
+
------------------------------------------------------
|
|
174
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
175
|
+
`,t,a)}}}function yi(){throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
176
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
177
|
+
2. You might be breaking the Rules of Hooks
|
|
178
|
+
3. You might have more than one copy of React in the same app
|
|
179
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function gb(e,t){if(yb)return!1;if(t===null)return y("%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.",ae),!1;e.length!==t.length&&y(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
180
|
+
|
|
181
|
+
Previous: %s
|
|
182
|
+
Incoming: %s`,ae,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var a=0;a<t.length&&a<e.length;a++)if(!de(e[a],t[a]))return!1;return!0}function yd(e,t,a,o,u,f){Cc=f,nn=t,qa=e!==null?e._debugHookTypes:null,as=-1,yb=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=ue,e!==null&&e.memoizedState!==null?Ne.current=N1:qa!==null?Ne.current=_1:Ne.current=k1;var m=a(o,u);if(gm){var g=0;do{if(gm=!1,bm=0,g>=E_)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");g+=1,yb=!1,wr=null,Er=null,t.updateQueue=null,as=-1,Ne.current=D1,m=a(o,u)}while(gm)}Ne.current=xy,t._debugHookTypes=qa;var x=wr!==null&&wr.next!==null;if(Cc=ue,nn=null,wr=null,Er=null,ae=null,qa=null,as=-1,e!==null&&(e.flags&Hn)!==(t.flags&Hn)&&(e.mode&St)!==Ye&&y("Internal React error: Expected static flag was missing. Please notify the React team."),ly=!1,x)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return m}function gd(){var e=bm!==0;return bm=0,e}function s1(e,t,a){t.updateQueue=e.updateQueue,(t.mode&Ht)!==Ye?t.flags&=-50333701:t.flags&=-2053,e.lanes=Ks(e.lanes,a)}function c1(){if(Ne.current=xy,ly){for(var e=nn.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}ly=!1}Cc=ue,nn=null,wr=null,Er=null,qa=null,as=-1,ae=null,E1=!1,gm=!1,bm=0}function cl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Er===null?nn.memoizedState=Er=e:Er=Er.next=e,Er}function Ka(){var e;if(wr===null){var t=nn.alternate;t!==null?e=t.memoizedState:e=null}else e=wr.next;var a;if(Er===null?a=nn.memoizedState:a=Er.next,a!==null)Er=a,a=Er.next,wr=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");wr=e;var o={memoizedState:wr.memoizedState,baseState:wr.baseState,baseQueue:wr.baseQueue,queue:wr.queue,next:null};Er===null?nn.memoizedState=Er=o:Er=Er.next=o}return Er}function f1(){return{lastEffect:null,stores:null}}function bb(e,t){return typeof t=="function"?t(e):t}function xb(e,t,a){var o=cl(),u;a!==void 0?u=a(t):u=t,o.memoizedState=o.baseState=u;var f={pending:null,interleaved:null,lanes:ue,dispatch:null,lastRenderedReducer:e,lastRenderedState:u};o.queue=f;var m=f.dispatch=k_.bind(null,nn,f);return[o.memoizedState,m]}function Sb(e,t,a){var o=Ka(),u=o.queue;if(u===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");u.lastRenderedReducer=e;var f=wr,m=f.baseQueue,g=u.pending;if(g!==null){if(m!==null){var x=m.next,C=g.next;m.next=C,g.next=x}f.baseQueue!==m&&y("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),f.baseQueue=m=g,u.pending=null}if(m!==null){var $=m.next,j=f.baseState,z=null,Y=null,q=null,ee=$;do{var Te=ee.lane;if(Wl(Cc,Te)){if(q!==null){var He={lane:Ft,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null};q=q.next=He}if(ee.hasEagerState)j=ee.eagerState;else{var Ot=ee.action;j=e(j,Ot)}}else{var Ke={lane:Te,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null};q===null?(Y=q=Ke,z=j):q=q.next=Ke,nn.lanes=vt(nn.lanes,Te),Vm(Te)}ee=ee.next}while(ee!==null&&ee!==$);q===null?z=j:q.next=Y,de(j,o.memoizedState)||km(),o.memoizedState=j,o.baseState=z,o.baseQueue=q,u.lastRenderedState=j}var $t=u.interleaved;if($t!==null){var I=$t;do{var te=I.lane;nn.lanes=vt(nn.lanes,te),Vm(te),I=I.next}while(I!==$t)}else m===null&&(u.lanes=ue);var B=u.dispatch;return[o.memoizedState,B]}function wb(e,t,a){var o=Ka(),u=o.queue;if(u===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");u.lastRenderedReducer=e;var f=u.dispatch,m=u.pending,g=o.memoizedState;if(m!==null){u.pending=null;var x=m.next,C=x;do{var $=C.action;g=e(g,$),C=C.next}while(C!==x);de(g,o.memoizedState)||km(),o.memoizedState=g,o.baseQueue===null&&(o.baseState=g),u.lastRenderedState=g}return[g,f]}function vM(e,t,a){}function yM(e,t,a){}function Eb(e,t,a){var o=nn,u=cl(),f,m=Yr();if(m){if(a===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");f=a(),hd||f!==a()&&(y("The result of getServerSnapshot should be cached to avoid an infinite loop"),hd=!0)}else{if(f=t(),!hd){var g=t();de(f,g)||(y("The result of getSnapshot should be cached to avoid an infinite loop"),hd=!0)}var x=Fy();if(x===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");zf(x,Cc)||d1(o,t,f)}u.memoizedState=f;var C={value:f,getSnapshot:t};return u.queue=C,dy(m1.bind(null,o,C,e),[e]),o.flags|=oi,xm(xr|Gr,p1.bind(null,o,C,f,t),void 0,null),f}function uy(e,t,a){var o=nn,u=Ka(),f=t();if(!hd){var m=t();de(f,m)||(y("The result of getSnapshot should be cached to avoid an infinite loop"),hd=!0)}var g=u.memoizedState,x=!de(g,f);x&&(u.memoizedState=f,km());var C=u.queue;if(wm(m1.bind(null,o,C,e),[e]),C.getSnapshot!==t||x||Er!==null&&Er.memoizedState.tag&xr){o.flags|=oi,xm(xr|Gr,p1.bind(null,o,C,f,t),void 0,null);var $=Fy();if($===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");zf($,Cc)||d1(o,t,f)}return f}function d1(e,t,a){e.flags|=Au;var o={getSnapshot:t,value:a},u=nn.updateQueue;if(u===null)u=f1(),nn.updateQueue=u,u.stores=[o];else{var f=u.stores;f===null?u.stores=[o]:f.push(o)}}function p1(e,t,a,o){t.value=a,t.getSnapshot=o,h1(t)&&v1(e)}function m1(e,t,a){var o=function(){h1(t)&&v1(e)};return a(o)}function h1(e){var t=e.getSnapshot,a=e.value;try{var o=t();return!de(a,o)}catch{return!0}}function v1(e){var t=Xi(e,rt);t!==null&&Tr(t,e,rt,on)}function sy(e){var t=cl();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var a={pending:null,interleaved:null,lanes:ue,dispatch:null,lastRenderedReducer:bb,lastRenderedState:e};t.queue=a;var o=a.dispatch=__.bind(null,nn,a);return[t.memoizedState,o]}function Cb(e){return Sb(bb)}function $b(e){return wb(bb)}function xm(e,t,a,o){var u={tag:e,create:t,destroy:a,deps:o,next:null},f=nn.updateQueue;if(f===null)f=f1(),nn.updateQueue=f,f.lastEffect=u.next=u;else{var m=f.lastEffect;if(m===null)f.lastEffect=u.next=u;else{var g=m.next;m.next=u,u.next=g,f.lastEffect=u}}return u}function Rb(e){var t=cl();{var a={current:e};return t.memoizedState=a,a}}function cy(e){var t=Ka();return t.memoizedState}function Sm(e,t,a,o){var u=cl(),f=o===void 0?null:o;nn.flags|=e,u.memoizedState=xm(xr|t,a,void 0,f)}function fy(e,t,a,o){var u=Ka(),f=o===void 0?null:o,m=void 0;if(wr!==null){var g=wr.memoizedState;if(m=g.destroy,f!==null){var x=g.deps;if(gb(f,x)){u.memoizedState=xm(t,a,m,f);return}}}nn.flags|=e,u.memoizedState=xm(xr|t,a,m,f)}function dy(e,t){return(nn.mode&Ht)!==Ye?Sm(Ua|oi|uf,Gr,e,t):Sm(oi|uf,Gr,e,t)}function wm(e,t){return fy(oi,Gr,e,t)}function Tb(e,t){return Sm(_t,sl,e,t)}function py(e,t){return fy(_t,sl,e,t)}function kb(e,t){var a=_t;return a|=uo,(nn.mode&Ht)!==Ye&&(a|=Wo),Sm(a,Sr,e,t)}function my(e,t){return fy(_t,Sr,e,t)}function y1(e,t){if(typeof t=="function"){var a=t,o=e();return a(o),function(){a(null)}}else if(t!=null){var u=t;u.hasOwnProperty("current")||y("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(u).join(", ")+"}");var f=e();return u.current=f,function(){u.current=null}}}function _b(e,t,a){typeof t!="function"&&y("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var o=a!=null?a.concat([e]):null,u=_t;return u|=uo,(nn.mode&Ht)!==Ye&&(u|=Wo),Sm(u,Sr,y1.bind(null,t,e),o)}function hy(e,t,a){typeof t!="function"&&y("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var o=a!=null?a.concat([e]):null;return fy(_t,Sr,y1.bind(null,t,e),o)}function $_(e,t){}var vy=$_;function Nb(e,t){var a=cl(),o=t===void 0?null:t;return a.memoizedState=[e,o],e}function yy(e,t){var a=Ka(),o=t===void 0?null:t,u=a.memoizedState;if(u!==null&&o!==null){var f=u[1];if(gb(o,f))return u[0]}return a.memoizedState=[e,o],e}function Db(e,t){var a=cl(),o=t===void 0?null:t,u=e();return a.memoizedState=[u,o],u}function gy(e,t){var a=Ka(),o=t===void 0?null:t,u=a.memoizedState;if(u!==null&&o!==null){var f=u[1];if(gb(o,f))return u[0]}var m=e();return a.memoizedState=[m,o],m}function Ob(e){var t=cl();return t.memoizedState=e,e}function g1(e){var t=Ka(),a=wr,o=a.memoizedState;return x1(t,o,e)}function b1(e){var t=Ka();if(wr===null)return t.memoizedState=e,e;var a=wr.memoizedState;return x1(t,a,e)}function x1(e,t,a){var o=!Cp(Cc);if(o){if(!de(a,t)){var u=Tp();nn.lanes=vt(nn.lanes,u),Vm(u),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,km()),e.memoizedState=a,a}function R_(e,t,a){var o=Qi();Wn(qh(o,Pa)),e(!0);var u=ym.transition;ym.transition={};var f=ym.transition;ym.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Wn(o),ym.transition=u,u===null&&f._updatedFibers){var m=f._updatedFibers.size;m>10&&E("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."),f._updatedFibers.clear()}}}function Lb(){var e=sy(!1),t=e[0],a=e[1],o=R_.bind(null,a),u=cl();return u.memoizedState=o,[t,o]}function S1(){var e=Cb(),t=e[0],a=Ka(),o=a.memoizedState;return[t,o]}function w1(){var e=$b(),t=e[0],a=Ka(),o=a.memoizedState;return[t,o]}var E1=!1;function T_(){return E1}function Mb(){var e=cl(),t=Fy(),a=t.identifierPrefix,o;if(Yr()){var u=Bk();o=":"+a+"R"+u;var f=bm++;f>0&&(o+="H"+f.toString(32)),o+=":"}else{var m=w_++;o=":"+a+"r"+m.toString(32)+":"}return e.memoizedState=o,o}function by(){var e=Ka(),t=e.memoizedState;return t}function k_(e,t,a){typeof arguments[3]=="function"&&y("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 o=cs(e),u={lane:o,action:a,hasEagerState:!1,eagerState:null,next:null};if(C1(e))$1(t,u);else{var f=Zw(e,t,u,o);if(f!==null){var m=Li();Tr(f,e,o,m),R1(f,t,o)}}T1(e,o)}function __(e,t,a){typeof arguments[3]=="function"&&y("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 o=cs(e),u={lane:o,action:a,hasEagerState:!1,eagerState:null,next:null};if(C1(e))$1(t,u);else{var f=e.alternate;if(e.lanes===ue&&(f===null||f.lanes===ue)){var m=t.lastRenderedReducer;if(m!==null){var g;g=Ne.current,Ne.current=wo;try{var x=t.lastRenderedState,C=m(x,a);if(u.hasEagerState=!0,u.eagerState=C,de(C,x)){p_(e,t,u,o);return}}catch{}finally{Ne.current=g}}}var $=Zw(e,t,u,o);if($!==null){var j=Li();Tr($,e,o,j),R1($,t,o)}}T1(e,o)}function C1(e){var t=e.alternate;return e===nn||t!==null&&t===nn}function $1(e,t){gm=ly=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function R1(e,t,a){if(Rp(a)){var o=t.lanes;o=kp(o,e.pendingLanes);var u=vt(o,a);t.lanes=u,Uf(e,u)}}function T1(e,t,a){Vs(e,t)}var xy={readContext:cr,useCallback:yi,useContext:yi,useEffect:yi,useImperativeHandle:yi,useInsertionEffect:yi,useLayoutEffect:yi,useMemo:yi,useReducer:yi,useRef:yi,useState:yi,useDebugValue:yi,useDeferredValue:yi,useTransition:yi,useMutableSource:yi,useSyncExternalStore:yi,useId:yi,unstable_isNewReconciler:ve},k1=null,_1=null,N1=null,D1=null,fl=null,wo=null,Sy=null;{var zb=function(){y("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().")},pt=function(){y("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")};k1={readContext:function(e){return cr(e)},useCallback:function(e,t){return ae="useCallback",Kt(),vd(t),Nb(e,t)},useContext:function(e){return ae="useContext",Kt(),cr(e)},useEffect:function(e,t){return ae="useEffect",Kt(),vd(t),dy(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",Kt(),vd(a),_b(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",Kt(),vd(t),Tb(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",Kt(),vd(t),kb(e,t)},useMemo:function(e,t){ae="useMemo",Kt(),vd(t);var a=Ne.current;Ne.current=fl;try{return Db(e,t)}finally{Ne.current=a}},useReducer:function(e,t,a){ae="useReducer",Kt();var o=Ne.current;Ne.current=fl;try{return xb(e,t,a)}finally{Ne.current=o}},useRef:function(e){return ae="useRef",Kt(),Rb(e)},useState:function(e){ae="useState",Kt();var t=Ne.current;Ne.current=fl;try{return sy(e)}finally{Ne.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",Kt(),void 0},useDeferredValue:function(e){return ae="useDeferredValue",Kt(),Ob(e)},useTransition:function(){return ae="useTransition",Kt(),Lb()},useMutableSource:function(e,t,a){return ae="useMutableSource",Kt(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",Kt(),Eb(e,t,a)},useId:function(){return ae="useId",Kt(),Mb()},unstable_isNewReconciler:ve},_1={readContext:function(e){return cr(e)},useCallback:function(e,t){return ae="useCallback",Ce(),Nb(e,t)},useContext:function(e){return ae="useContext",Ce(),cr(e)},useEffect:function(e,t){return ae="useEffect",Ce(),dy(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",Ce(),_b(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",Ce(),Tb(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",Ce(),kb(e,t)},useMemo:function(e,t){ae="useMemo",Ce();var a=Ne.current;Ne.current=fl;try{return Db(e,t)}finally{Ne.current=a}},useReducer:function(e,t,a){ae="useReducer",Ce();var o=Ne.current;Ne.current=fl;try{return xb(e,t,a)}finally{Ne.current=o}},useRef:function(e){return ae="useRef",Ce(),Rb(e)},useState:function(e){ae="useState",Ce();var t=Ne.current;Ne.current=fl;try{return sy(e)}finally{Ne.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",Ce(),void 0},useDeferredValue:function(e){return ae="useDeferredValue",Ce(),Ob(e)},useTransition:function(){return ae="useTransition",Ce(),Lb()},useMutableSource:function(e,t,a){return ae="useMutableSource",Ce(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",Ce(),Eb(e,t,a)},useId:function(){return ae="useId",Ce(),Mb()},unstable_isNewReconciler:ve},N1={readContext:function(e){return cr(e)},useCallback:function(e,t){return ae="useCallback",Ce(),yy(e,t)},useContext:function(e){return ae="useContext",Ce(),cr(e)},useEffect:function(e,t){return ae="useEffect",Ce(),wm(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",Ce(),hy(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",Ce(),py(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",Ce(),my(e,t)},useMemo:function(e,t){ae="useMemo",Ce();var a=Ne.current;Ne.current=wo;try{return gy(e,t)}finally{Ne.current=a}},useReducer:function(e,t,a){ae="useReducer",Ce();var o=Ne.current;Ne.current=wo;try{return Sb(e,t,a)}finally{Ne.current=o}},useRef:function(e){return ae="useRef",Ce(),cy()},useState:function(e){ae="useState",Ce();var t=Ne.current;Ne.current=wo;try{return Cb(e)}finally{Ne.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",Ce(),vy()},useDeferredValue:function(e){return ae="useDeferredValue",Ce(),g1(e)},useTransition:function(){return ae="useTransition",Ce(),S1()},useMutableSource:function(e,t,a){return ae="useMutableSource",Ce(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",Ce(),uy(e,t)},useId:function(){return ae="useId",Ce(),by()},unstable_isNewReconciler:ve},D1={readContext:function(e){return cr(e)},useCallback:function(e,t){return ae="useCallback",Ce(),yy(e,t)},useContext:function(e){return ae="useContext",Ce(),cr(e)},useEffect:function(e,t){return ae="useEffect",Ce(),wm(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",Ce(),hy(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",Ce(),py(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",Ce(),my(e,t)},useMemo:function(e,t){ae="useMemo",Ce();var a=Ne.current;Ne.current=Sy;try{return gy(e,t)}finally{Ne.current=a}},useReducer:function(e,t,a){ae="useReducer",Ce();var o=Ne.current;Ne.current=Sy;try{return wb(e,t,a)}finally{Ne.current=o}},useRef:function(e){return ae="useRef",Ce(),cy()},useState:function(e){ae="useState",Ce();var t=Ne.current;Ne.current=Sy;try{return $b(e)}finally{Ne.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",Ce(),vy()},useDeferredValue:function(e){return ae="useDeferredValue",Ce(),b1(e)},useTransition:function(){return ae="useTransition",Ce(),w1()},useMutableSource:function(e,t,a){return ae="useMutableSource",Ce(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",Ce(),uy(e,t)},useId:function(){return ae="useId",Ce(),by()},unstable_isNewReconciler:ve},fl={readContext:function(e){return zb(),cr(e)},useCallback:function(e,t){return ae="useCallback",pt(),Kt(),Nb(e,t)},useContext:function(e){return ae="useContext",pt(),Kt(),cr(e)},useEffect:function(e,t){return ae="useEffect",pt(),Kt(),dy(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",pt(),Kt(),_b(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",pt(),Kt(),Tb(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",pt(),Kt(),kb(e,t)},useMemo:function(e,t){ae="useMemo",pt(),Kt();var a=Ne.current;Ne.current=fl;try{return Db(e,t)}finally{Ne.current=a}},useReducer:function(e,t,a){ae="useReducer",pt(),Kt();var o=Ne.current;Ne.current=fl;try{return xb(e,t,a)}finally{Ne.current=o}},useRef:function(e){return ae="useRef",pt(),Kt(),Rb(e)},useState:function(e){ae="useState",pt(),Kt();var t=Ne.current;Ne.current=fl;try{return sy(e)}finally{Ne.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",pt(),Kt(),void 0},useDeferredValue:function(e){return ae="useDeferredValue",pt(),Kt(),Ob(e)},useTransition:function(){return ae="useTransition",pt(),Kt(),Lb()},useMutableSource:function(e,t,a){return ae="useMutableSource",pt(),Kt(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",pt(),Kt(),Eb(e,t,a)},useId:function(){return ae="useId",pt(),Kt(),Mb()},unstable_isNewReconciler:ve},wo={readContext:function(e){return zb(),cr(e)},useCallback:function(e,t){return ae="useCallback",pt(),Ce(),yy(e,t)},useContext:function(e){return ae="useContext",pt(),Ce(),cr(e)},useEffect:function(e,t){return ae="useEffect",pt(),Ce(),wm(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",pt(),Ce(),hy(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",pt(),Ce(),py(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",pt(),Ce(),my(e,t)},useMemo:function(e,t){ae="useMemo",pt(),Ce();var a=Ne.current;Ne.current=wo;try{return gy(e,t)}finally{Ne.current=a}},useReducer:function(e,t,a){ae="useReducer",pt(),Ce();var o=Ne.current;Ne.current=wo;try{return Sb(e,t,a)}finally{Ne.current=o}},useRef:function(e){return ae="useRef",pt(),Ce(),cy()},useState:function(e){ae="useState",pt(),Ce();var t=Ne.current;Ne.current=wo;try{return Cb(e)}finally{Ne.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",pt(),Ce(),vy()},useDeferredValue:function(e){return ae="useDeferredValue",pt(),Ce(),g1(e)},useTransition:function(){return ae="useTransition",pt(),Ce(),S1()},useMutableSource:function(e,t,a){return ae="useMutableSource",pt(),Ce(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",pt(),Ce(),uy(e,t)},useId:function(){return ae="useId",pt(),Ce(),by()},unstable_isNewReconciler:ve},Sy={readContext:function(e){return zb(),cr(e)},useCallback:function(e,t){return ae="useCallback",pt(),Ce(),yy(e,t)},useContext:function(e){return ae="useContext",pt(),Ce(),cr(e)},useEffect:function(e,t){return ae="useEffect",pt(),Ce(),wm(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",pt(),Ce(),hy(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",pt(),Ce(),py(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",pt(),Ce(),my(e,t)},useMemo:function(e,t){ae="useMemo",pt(),Ce();var a=Ne.current;Ne.current=wo;try{return gy(e,t)}finally{Ne.current=a}},useReducer:function(e,t,a){ae="useReducer",pt(),Ce();var o=Ne.current;Ne.current=wo;try{return wb(e,t,a)}finally{Ne.current=o}},useRef:function(e){return ae="useRef",pt(),Ce(),cy()},useState:function(e){ae="useState",pt(),Ce();var t=Ne.current;Ne.current=wo;try{return $b(e)}finally{Ne.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",pt(),Ce(),vy()},useDeferredValue:function(e){return ae="useDeferredValue",pt(),Ce(),b1(e)},useTransition:function(){return ae="useTransition",pt(),Ce(),w1()},useMutableSource:function(e,t,a){return ae="useMutableSource",pt(),Ce(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",pt(),Ce(),uy(e,t)},useId:function(){return ae="useId",pt(),Ce(),by()},unstable_isNewReconciler:ve}}var os=s.unstable_now,O1=0,wy=-1,Em=-1,Ey=-1,Ab=!1,Cy=!1;function L1(){return Ab}function N_(){Cy=!0}function D_(){Ab=!1,Cy=!1}function O_(){Ab=Cy,Cy=!1}function M1(){return O1}function z1(){O1=os()}function Ub(e){Em=os(),e.actualStartTime<0&&(e.actualStartTime=os())}function A1(e){Em=-1}function $y(e,t){if(Em>=0){var a=os()-Em;e.actualDuration+=a,t&&(e.selfBaseDuration=a),Em=-1}}function dl(e){if(wy>=0){var t=os()-wy;wy=-1;for(var a=e.return;a!==null;){switch(a.tag){case N:var o=a.stateNode;o.effectDuration+=t;return;case ie:var u=a.stateNode;u.effectDuration+=t;return}a=a.return}}}function jb(e){if(Ey>=0){var t=os()-Ey;Ey=-1;for(var a=e.return;a!==null;){switch(a.tag){case N:var o=a.stateNode;o!==null&&(o.passiveEffectDuration+=t);return;case ie:var u=a.stateNode;u!==null&&(u.passiveEffectDuration+=t);return}a=a.return}}}function pl(){wy=os()}function Fb(){Ey=os()}function Vb(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Eo(e,t){if(e&&e.defaultProps){var a=xt({},t),o=e.defaultProps;for(var u in o)a[u]===void 0&&(a[u]=o[u]);return a}return t}var Pb={},Hb,Ib,Bb,Wb,Yb,U1,Ry,Gb,Qb,qb,Cm;{Hb=new Set,Ib=new Set,Bb=new Set,Wb=new Set,Gb=new Set,Yb=new Set,Qb=new Set,qb=new Set,Cm=new Set;var j1=new Set;Ry=function(e,t){if(!(e===null||typeof e=="function")){var a=t+"_"+e;j1.has(a)||(j1.add(a),y("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},U1=function(e,t){if(t===void 0){var a=zt(e)||"Component";Yb.has(a)||(Yb.add(a),y("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",a))}},Object.defineProperty(Pb,"_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(Pb)}function Kb(e,t,a,o){var u=e.memoizedState,f=a(o,u);{if(e.mode&tn){Cn(!0);try{f=a(o,u)}finally{Cn(!1)}}U1(t,f)}var m=f==null?u:xt({},u,f);if(e.memoizedState=m,e.lanes===ue){var g=e.updateQueue;g.baseState=m}}var Xb={isMounted:Lh,enqueueSetState:function(e,t,a){var o=zu(e),u=Li(),f=cs(o),m=ru(u,f);m.payload=t,a!=null&&(Ry(a,"setState"),m.callback=a);var g=ns(o,m,f);g!==null&&(Tr(g,o,f,u),ty(g,o,f)),Vs(o,f)},enqueueReplaceState:function(e,t,a){var o=zu(e),u=Li(),f=cs(o),m=ru(u,f);m.tag=t1,m.payload=t,a!=null&&(Ry(a,"replaceState"),m.callback=a);var g=ns(o,m,f);g!==null&&(Tr(g,o,f,u),ty(g,o,f)),Vs(o,f)},enqueueForceUpdate:function(e,t){var a=zu(e),o=Li(),u=cs(a),f=ru(o,u);f.tag=Jv,t!=null&&(Ry(t,"forceUpdate"),f.callback=t);var m=ns(a,f,u);m!==null&&(Tr(m,a,u,o),ty(m,a,u)),hf(a,u)}};function F1(e,t,a,o,u,f,m){var g=e.stateNode;if(typeof g.shouldComponentUpdate=="function"){var x=g.shouldComponentUpdate(o,f,m);{if(e.mode&tn){Cn(!0);try{x=g.shouldComponentUpdate(o,f,m)}finally{Cn(!1)}}x===void 0&&y("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",zt(t)||"Component")}return x}return t.prototype&&t.prototype.isPureReactComponent?!Ue(a,o)||!Ue(u,f):!0}function L_(e,t,a){var o=e.stateNode;{var u=zt(t)||"Component",f=o.render;f||(t.prototype&&typeof t.prototype.render=="function"?y("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",u):y("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",u)),o.getInitialState&&!o.getInitialState.isReactClassApproved&&!o.state&&y("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?",u),o.getDefaultProps&&!o.getDefaultProps.isReactClassApproved&&y("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.",u),o.propTypes&&y("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",u),o.contextType&&y("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",u),t.childContextTypes&&!Cm.has(t)&&(e.mode&tn)===Ye&&(Cm.add(t),y(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
183
|
+
|
|
184
|
+
.Learn more about this warning here: https://reactjs.org/link/legacy-context`,u)),t.contextTypes&&!Cm.has(t)&&(e.mode&tn)===Ye&&(Cm.add(t),y(`%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.
|
|
185
|
+
|
|
186
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,u)),o.contextTypes&&y("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",u),t.contextType&&t.contextTypes&&!Qb.has(t)&&(Qb.add(t),y("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",u)),typeof o.componentShouldUpdate=="function"&&y("%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.",u),t.prototype&&t.prototype.isPureReactComponent&&typeof o.shouldComponentUpdate<"u"&&y("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",zt(t)||"A pure component"),typeof o.componentDidUnmount=="function"&&y("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",u),typeof o.componentDidReceiveProps=="function"&&y("%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().",u),typeof o.componentWillRecieveProps=="function"&&y("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",u),typeof o.UNSAFE_componentWillRecieveProps=="function"&&y("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",u);var m=o.props!==a;o.props!==void 0&&m&&y("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",u,u),o.defaultProps&&y("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",u,u),typeof o.getSnapshotBeforeUpdate=="function"&&typeof o.componentDidUpdate!="function"&&!Bb.has(t)&&(Bb.add(t),y("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",zt(t))),typeof o.getDerivedStateFromProps=="function"&&y("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof o.getDerivedStateFromError=="function"&&y("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof t.getSnapshotBeforeUpdate=="function"&&y("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",u);var g=o.state;g&&(typeof g!="object"||bt(g))&&y("%s.state: must be set to an object or null",u),typeof o.getChildContext=="function"&&typeof t.childContextTypes!="object"&&y("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",u)}}function V1(e,t){t.updater=Xb,e.stateNode=t,Dl(t,e),t._reactInternalInstance=Pb}function P1(e,t,a){var o=!1,u=ba,f=ba,m=t.contextType;if("contextType"in t){var g=m===null||m!==void 0&&m.$$typeof===Ee&&m._context===void 0;if(!g&&!qb.has(t)){qb.add(t);var x="";m===void 0?x=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof m!="object"?x=" However, it is set to a "+typeof m+".":m.$$typeof===se?x=" Did you accidentally pass the Context.Provider instead?":m._context!==void 0?x=" Did you accidentally pass the Context.Consumer instead?":x=" However, it is set to an object with keys {"+Object.keys(m).join(", ")+"}.",y("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",zt(t)||"Component",x)}}if(typeof m=="object"&&m!==null)f=cr(m);else{u=id(e,t,!0);var C=t.contextTypes;o=C!=null,f=o?ad(e,u):ba}var $=new t(a,f);if(e.mode&tn){Cn(!0);try{$=new t(a,f)}finally{Cn(!1)}}var j=e.memoizedState=$.state!==null&&$.state!==void 0?$.state:null;V1(e,$);{if(typeof t.getDerivedStateFromProps=="function"&&j===null){var z=zt(t)||"Component";Ib.has(z)||(Ib.add(z),y("`%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.",z,$.state===null?"null":"undefined",z))}if(typeof t.getDerivedStateFromProps=="function"||typeof $.getSnapshotBeforeUpdate=="function"){var Y=null,q=null,ee=null;if(typeof $.componentWillMount=="function"&&$.componentWillMount.__suppressDeprecationWarning!==!0?Y="componentWillMount":typeof $.UNSAFE_componentWillMount=="function"&&(Y="UNSAFE_componentWillMount"),typeof $.componentWillReceiveProps=="function"&&$.componentWillReceiveProps.__suppressDeprecationWarning!==!0?q="componentWillReceiveProps":typeof $.UNSAFE_componentWillReceiveProps=="function"&&(q="UNSAFE_componentWillReceiveProps"),typeof $.componentWillUpdate=="function"&&$.componentWillUpdate.__suppressDeprecationWarning!==!0?ee="componentWillUpdate":typeof $.UNSAFE_componentWillUpdate=="function"&&(ee="UNSAFE_componentWillUpdate"),Y!==null||q!==null||ee!==null){var Te=zt(t)||"Component",Ke=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Wb.has(Te)||(Wb.add(Te),y(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
187
|
+
|
|
188
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
189
|
+
|
|
190
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
191
|
+
https://reactjs.org/link/unsafe-component-lifecycles`,Te,Ke,Y!==null?`
|
|
192
|
+
`+Y:"",q!==null?`
|
|
193
|
+
`+q:"",ee!==null?`
|
|
194
|
+
`+ee:""))}}}return o&&Nw(e,u,f),$}function M_(e,t){var a=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),a!==t.state&&(y("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",dt(e)||"Component"),Xb.enqueueReplaceState(t,t.state,null))}function H1(e,t,a,o){var u=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,o),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,o),t.state!==u){{var f=dt(e)||"Component";Hb.has(f)||(Hb.add(f),y("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",f))}Xb.enqueueReplaceState(t,t.state,null)}}function Jb(e,t,a,o){L_(e,t,a);var u=e.stateNode;u.props=a,u.state=e.memoizedState,u.refs={},lb(e);var f=t.contextType;if(typeof f=="object"&&f!==null)u.context=cr(f);else{var m=id(e,t,!0);u.context=ad(e,m)}{if(u.state===a){var g=zt(t)||"Component";Gb.has(g)||(Gb.add(g),y("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",g))}e.mode&tn&&xo.recordLegacyContextWarning(e,u),xo.recordUnsafeLifecycleWarnings(e,u)}u.state=e.memoizedState;var x=t.getDerivedStateFromProps;if(typeof x=="function"&&(Kb(e,t,x,a),u.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof u.getSnapshotBeforeUpdate!="function"&&(typeof u.UNSAFE_componentWillMount=="function"||typeof u.componentWillMount=="function")&&(M_(e,u),ny(e,a,u,o),u.state=e.memoizedState),typeof u.componentDidMount=="function"){var C=_t;C|=uo,(e.mode&Ht)!==Ye&&(C|=Wo),e.flags|=C}}function z_(e,t,a,o){var u=e.stateNode,f=e.memoizedProps;u.props=f;var m=u.context,g=t.contextType,x=ba;if(typeof g=="object"&&g!==null)x=cr(g);else{var C=id(e,t,!0);x=ad(e,C)}var $=t.getDerivedStateFromProps,j=typeof $=="function"||typeof u.getSnapshotBeforeUpdate=="function";!j&&(typeof u.UNSAFE_componentWillReceiveProps=="function"||typeof u.componentWillReceiveProps=="function")&&(f!==a||m!==x)&&H1(e,u,a,x),r1();var z=e.memoizedState,Y=u.state=z;if(ny(e,a,u,o),Y=e.memoizedState,f===a&&z===Y&&!Uv()&&!ry()){if(typeof u.componentDidMount=="function"){var q=_t;q|=uo,(e.mode&Ht)!==Ye&&(q|=Wo),e.flags|=q}return!1}typeof $=="function"&&(Kb(e,t,$,a),Y=e.memoizedState);var ee=ry()||F1(e,t,f,a,z,Y,x);if(ee){if(!j&&(typeof u.UNSAFE_componentWillMount=="function"||typeof u.componentWillMount=="function")&&(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"){var Te=_t;Te|=uo,(e.mode&Ht)!==Ye&&(Te|=Wo),e.flags|=Te}}else{if(typeof u.componentDidMount=="function"){var Ke=_t;Ke|=uo,(e.mode&Ht)!==Ye&&(Ke|=Wo),e.flags|=Ke}e.memoizedProps=a,e.memoizedState=Y}return u.props=a,u.state=Y,u.context=x,ee}function A_(e,t,a,o,u){var f=t.stateNode;n1(e,t);var m=t.memoizedProps,g=t.type===t.elementType?m:Eo(t.type,m);f.props=g;var x=t.pendingProps,C=f.context,$=a.contextType,j=ba;if(typeof $=="object"&&$!==null)j=cr($);else{var z=id(t,a,!0);j=ad(t,z)}var Y=a.getDerivedStateFromProps,q=typeof Y=="function"||typeof f.getSnapshotBeforeUpdate=="function";!q&&(typeof f.UNSAFE_componentWillReceiveProps=="function"||typeof f.componentWillReceiveProps=="function")&&(m!==x||C!==j)&&H1(t,f,o,j),r1();var ee=t.memoizedState,Te=f.state=ee;if(ny(t,o,f,u),Te=t.memoizedState,m===x&&ee===Te&&!Uv()&&!ry())return typeof f.componentDidUpdate=="function"&&(m!==e.memoizedProps||ee!==e.memoizedState)&&(t.flags|=_t),typeof f.getSnapshotBeforeUpdate=="function"&&(m!==e.memoizedProps||ee!==e.memoizedState)&&(t.flags|=er),!1;typeof Y=="function"&&(Kb(t,a,Y,o),Te=t.memoizedState);var Ke=ry()||F1(t,a,g,o,ee,Te,j)||Oe;return Ke?(!q&&(typeof f.UNSAFE_componentWillUpdate=="function"||typeof f.componentWillUpdate=="function")&&(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(o,Te,j),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(o,Te,j)),typeof f.componentDidUpdate=="function"&&(t.flags|=_t),typeof f.getSnapshotBeforeUpdate=="function"&&(t.flags|=er)):(typeof f.componentDidUpdate=="function"&&(m!==e.memoizedProps||ee!==e.memoizedState)&&(t.flags|=_t),typeof f.getSnapshotBeforeUpdate=="function"&&(m!==e.memoizedProps||ee!==e.memoizedState)&&(t.flags|=er),t.memoizedProps=o,t.memoizedState=Te),f.props=o,f.state=Te,f.context=j,Ke}function $c(e,t){return{value:e,source:t,stack:no(t),digest:null}}function Zb(e,t,a){return{value:e,source:null,stack:a??null,digest:t??null}}function U_(e,t){return!0}function ex(e,t){try{var a=U_(e,t);if(a===!1)return;var o=t.value,u=t.source,f=t.stack,m=f!==null?f:"";if(o!=null&&o._suppressLogging){if(e.tag===_)return;console.error(o)}var g=u?dt(u):null,x=g?"The above error occurred in the <"+g+"> component:":"The above error occurred in one of your React components:",C;if(e.tag===N)C=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
195
|
+
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var $=dt(e)||"Anonymous";C="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+$+".")}var j=x+`
|
|
196
|
+
`+m+`
|
|
197
|
+
|
|
198
|
+
`+(""+C);console.error(j)}catch(z){setTimeout(function(){throw z})}}var j_=typeof WeakMap=="function"?WeakMap:Map;function I1(e,t,a){var o=ru(on,a);o.tag=ab,o.payload={element:null};var u=t.value;return o.callback=function(){ND(u),ex(e,t)},o}function tx(e,t,a){var o=ru(on,a);o.tag=ab;var u=e.type.getDerivedStateFromError;if(typeof u=="function"){var f=t.value;o.payload=function(){return u(f)},o.callback=function(){eC(e),ex(e,t)}}var m=e.stateNode;return m!==null&&typeof m.componentDidCatch=="function"&&(o.callback=function(){eC(e),ex(e,t),typeof u!="function"&&kD(this);var x=t.value,C=t.stack;this.componentDidCatch(x,{componentStack:C!==null?C:""}),typeof u!="function"&&(fi(e.lanes,rt)||y("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",dt(e)||"Unknown"))}),o}function B1(e,t,a){var o=e.pingCache,u;if(o===null?(o=e.pingCache=new j_,u=new Set,o.set(t,u)):(u=o.get(t),u===void 0&&(u=new Set,o.set(t,u))),!u.has(a)){u.add(a);var f=DD.bind(null,e,t,a);ci&&Pm(e,a),t.then(f,f)}}function F_(e,t,a,o){var u=e.updateQueue;if(u===null){var f=new Set;f.add(a),e.updateQueue=f}else u.add(a)}function V_(e,t){var a=e.tag;if((e.mode&St)===Ye&&(a===T||a===K||a===le)){var o=e.alternate;o?(e.updateQueue=o.updateQueue,e.memoizedState=o.memoizedState,e.lanes=o.lanes):(e.updateQueue=null,e.memoizedState=null)}}function W1(e){var t=e;do{if(t.tag===ne&&x_(t))return t;t=t.return}while(t!==null);return null}function Y1(e,t,a,o,u){if((e.mode&St)===Ye){if(e===t)e.flags|=li;else{if(e.flags|=Ie,a.flags|=lf,a.flags&=-52805,a.tag===_){var f=a.alternate;if(f===null)a.tag=yt;else{var m=ru(on,rt);m.tag=Jv,ns(a,m,rt)}}a.lanes=vt(a.lanes,rt)}return e}return e.flags|=li,e.lanes=u,e}function P_(e,t,a,o,u){if(a.flags|=Ms,ci&&Pm(e,u),o!==null&&typeof o=="object"&&typeof o.then=="function"){var f=o;V_(a),Yr()&&a.mode&St&&Uw();var m=W1(t);if(m!==null){m.flags&=-257,Y1(m,t,a,e,u),m.mode&St&&B1(e,f,u),F_(m,e,f);return}else{if(!Ph(u)){B1(e,f,u),Mx();return}var g=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.");o=g}}else if(Yr()&&a.mode&St){Uw();var x=W1(t);if(x!==null){(x.flags&li)===We&&(x.flags|=ai),Y1(x,t,a,e,u),G0($c(o,a));return}}o=$c(o,a),xD(o);var C=t;do{switch(C.tag){case N:{var $=o;C.flags|=li;var j=qs(u);C.lanes=vt(C.lanes,j);var z=I1(C,$,j);ub(C,z);return}case _:var Y=o,q=C.type,ee=C.stateNode;if((C.flags&Ie)===We&&(typeof q.getDerivedStateFromError=="function"||ee!==null&&typeof ee.componentDidCatch=="function"&&!WE(ee))){C.flags|=li;var Te=qs(u);C.lanes=vt(C.lanes,Te);var Ke=tx(C,Y,Te);ub(C,Ke);return}break}C=C.return}while(C!==null)}function H_(){return null}var $m=d.ReactCurrentOwner,Co=!1,nx,Rm,rx,ix,ax,Rc,ox,Ty,Tm;nx={},Rm={},rx={},ix={},ax={},Rc=!1,ox={},Ty={},Tm={};function Di(e,t,a,o){e===null?t.child=qw(t,null,a,o):t.child=sd(t,e.child,a,o)}function I_(e,t,a,o){t.child=sd(t,e.child,null,o),t.child=sd(t,null,a,o)}function G1(e,t,a,o,u){if(t.type!==t.elementType){var f=a.propTypes;f&&go(f,o,"prop",zt(a))}var m=a.render,g=t.ref,x,C;fd(t,u),Ri(t);{if($m.current=t,Zn(!0),x=yd(e,t,m,o,g,u),C=gd(),t.mode&tn){Cn(!0);try{x=yd(e,t,m,o,g,u),C=gd()}finally{Cn(!1)}}Zn(!1)}return Ti(),e!==null&&!Co?(s1(e,t,u),iu(e,t,u)):(Yr()&&C&&P0(t),t.flags|=pa,Di(e,t,x,u),t.child)}function Q1(e,t,a,o,u){if(e===null){var f=a.type;if(QD(f)&&a.compare===null&&a.defaultProps===void 0){var m=f;return m=Rd(f),t.tag=le,t.type=m,sx(t,f),q1(e,t,m,o,u)}{var g=f.propTypes;if(g&&go(g,o,"prop",zt(f)),a.defaultProps!==void 0){var x=zt(f)||"Unknown";Tm[x]||(y("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",x),Tm[x]=!0)}}var C=Wx(a.type,null,o,t,t.mode,u);return C.ref=t.ref,C.return=t,t.child=C,C}{var $=a.type,j=$.propTypes;j&&go(j,o,"prop",zt($))}var z=e.child,Y=hx(e,u);if(!Y){var q=z.memoizedProps,ee=a.compare;if(ee=ee!==null?ee:Ue,ee(q,o)&&e.ref===t.ref)return iu(e,t,u)}t.flags|=pa;var Te=Dc(z,o);return Te.ref=t.ref,Te.return=t,t.child=Te,Te}function q1(e,t,a,o,u){if(t.type!==t.elementType){var f=t.elementType;if(f.$$typeof===Qe){var m=f,g=m._payload,x=m._init;try{f=x(g)}catch{f=null}var C=f&&f.propTypes;C&&go(C,o,"prop",zt(f))}}if(e!==null){var $=e.memoizedProps;if(Ue($,o)&&e.ref===t.ref&&t.type===e.type)if(Co=!1,t.pendingProps=o=$,hx(e,u))(e.flags&lf)!==We&&(Co=!0);else return t.lanes=e.lanes,iu(e,t,u)}return lx(e,t,a,o,u)}function K1(e,t,a){var o=t.pendingProps,u=o.children,f=e!==null?e.memoizedState:null;if(o.mode==="hidden"||Se)if((t.mode&St)===Ye){var m={baseLanes:ue,cachePool:null,transitions:null};t.memoizedState=m,Vy(t,a)}else if(fi(a,ki)){var j={baseLanes:ue,cachePool:null,transitions:null};t.memoizedState=j;var z=f!==null?f.baseLanes:a;Vy(t,z)}else{var g=null,x;if(f!==null){var C=f.baseLanes;x=vt(C,a)}else x=a;t.lanes=t.childLanes=ki;var $={baseLanes:x,cachePool:g,transitions:null};return t.memoizedState=$,t.updateQueue=null,Vy(t,x),null}else{var Y;f!==null?(Y=vt(f.baseLanes,a),t.memoizedState=null):Y=a,Vy(t,Y)}return Di(e,t,u,a),t.child}function B_(e,t,a){var o=t.pendingProps;return Di(e,t,o,a),t.child}function W_(e,t,a){var o=t.pendingProps.children;return Di(e,t,o,a),t.child}function Y_(e,t,a){{t.flags|=_t;{var o=t.stateNode;o.effectDuration=0,o.passiveEffectDuration=0}}var u=t.pendingProps,f=u.children;return Di(e,t,f,a),t.child}function X1(e,t){var a=t.ref;(e===null&&a!==null||e!==null&&e.ref!==a)&&(t.flags|=kn,t.flags|=Uu)}function lx(e,t,a,o,u){if(t.type!==t.elementType){var f=a.propTypes;f&&go(f,o,"prop",zt(a))}var m;{var g=id(t,a,!0);m=ad(t,g)}var x,C;fd(t,u),Ri(t);{if($m.current=t,Zn(!0),x=yd(e,t,a,o,m,u),C=gd(),t.mode&tn){Cn(!0);try{x=yd(e,t,a,o,m,u),C=gd()}finally{Cn(!1)}}Zn(!1)}return Ti(),e!==null&&!Co?(s1(e,t,u),iu(e,t,u)):(Yr()&&C&&P0(t),t.flags|=pa,Di(e,t,x,u),t.child)}function J1(e,t,a,o,u){{switch(s3(t)){case!1:{var f=t.stateNode,m=t.type,g=new m(t.memoizedProps,f.context),x=g.state;f.updater.enqueueSetState(f,x,null);break}case!0:{t.flags|=Ie,t.flags|=li;var C=new Error("Simulated error coming from DevTools"),$=qs(u);t.lanes=vt(t.lanes,$);var j=tx(t,$c(C,t),$);ub(t,j);break}}if(t.type!==t.elementType){var z=a.propTypes;z&&go(z,o,"prop",zt(a))}}var Y;ul(a)?(Y=!0,Fv(t)):Y=!1,fd(t,u);var q=t.stateNode,ee;q===null?(_y(e,t),P1(t,a,o),Jb(t,a,o,u),ee=!0):e===null?ee=z_(t,a,o,u):ee=A_(e,t,a,o,u);var Te=ux(e,t,a,ee,Y,u);{var Ke=t.stateNode;ee&&Ke.props!==o&&(Rc||y("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",dt(t)||"a component"),Rc=!0)}return Te}function ux(e,t,a,o,u,f){X1(e,t);var m=(t.flags&Ie)!==We;if(!o&&!m)return u&&Lw(t,a,!1),iu(e,t,f);var g=t.stateNode;$m.current=t;var x;if(m&&typeof a.getDerivedStateFromError!="function")x=null,A1();else{Ri(t);{if(Zn(!0),x=g.render(),t.mode&tn){Cn(!0);try{g.render()}finally{Cn(!1)}}Zn(!1)}Ti()}return t.flags|=pa,e!==null&&m?I_(e,t,x,f):Di(e,t,x,f),t.memoizedState=g.state,u&&Lw(t,a,!0),t.child}function Z1(e){var t=e.stateNode;t.pendingContext?Dw(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Dw(e,t.context,!1),sb(e,t.containerInfo)}function G_(e,t,a){if(Z1(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var o=t.pendingProps,u=t.memoizedState,f=u.element;n1(e,t),ny(t,o,null,a);var m=t.memoizedState;t.stateNode;var g=m.element;if(u.isDehydrated){var x={element:g,isDehydrated:!1,cache:m.cache,pendingSuspenseBoundaries:m.pendingSuspenseBoundaries,transitions:m.transitions},C=t.updateQueue;if(C.baseState=x,t.memoizedState=x,t.flags&ai){var $=$c(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 eE(e,t,g,a,$)}else if(g!==f){var j=$c(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return eE(e,t,g,a,j)}else{Kk(t);var z=qw(t,null,g,a);t.child=z;for(var Y=z;Y;)Y.flags=Y.flags&-3|Hi,Y=Y.sibling}}else{if(ud(),g===f)return iu(e,t,a);Di(e,t,g,a)}return t.child}function eE(e,t,a,o,u){return ud(),G0(u),t.flags|=ai,Di(e,t,a,o),t.child}function Q_(e,t,a){o1(t),e===null&&Y0(t);var o=t.type,u=t.pendingProps,f=e!==null?e.memoizedProps:null,m=u.children,g=T0(o,u);return g?m=null:f!==null&&T0(o,f)&&(t.flags|=ma),X1(e,t),Di(e,t,m,a),t.child}function q_(e,t){return e===null&&Y0(t),null}function K_(e,t,a,o){_y(e,t);var u=t.pendingProps,f=a,m=f._payload,g=f._init,x=g(m);t.type=x;var C=t.tag=qD(x),$=Eo(x,u),j;switch(C){case T:return sx(t,x),t.type=x=Rd(x),j=lx(null,t,x,$,o),j;case _:return t.type=x=Fx(x),j=J1(null,t,x,$,o),j;case K:return t.type=x=Vx(x),j=G1(null,t,x,$,o),j;case pe:{if(t.type!==t.elementType){var z=x.propTypes;z&&go(z,$,"prop",zt(x))}return j=Q1(null,t,x,Eo(x.type,$),o),j}}var Y="";throw x!==null&&typeof x=="object"&&x.$$typeof===Qe&&(Y=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+x+". "+("Lazy element type must resolve to a class or function."+Y))}function X_(e,t,a,o,u){_y(e,t),t.tag=_;var f;return ul(a)?(f=!0,Fv(t)):f=!1,fd(t,u),P1(t,a,o),Jb(t,a,o,u),ux(null,t,a,!0,f,u)}function J_(e,t,a,o){_y(e,t);var u=t.pendingProps,f;{var m=id(t,a,!1);f=ad(t,m)}fd(t,o);var g,x;Ri(t);{if(a.prototype&&typeof a.prototype.render=="function"){var C=zt(a)||"Unknown";nx[C]||(y("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.",C,C),nx[C]=!0)}t.mode&tn&&xo.recordLegacyContextWarning(t,null),Zn(!0),$m.current=t,g=yd(null,t,a,u,f,o),x=gd(),Zn(!1)}if(Ti(),t.flags|=pa,typeof g=="object"&&g!==null&&typeof g.render=="function"&&g.$$typeof===void 0){var $=zt(a)||"Unknown";Rm[$]||(y("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.",$,$,$),Rm[$]=!0)}if(typeof g=="object"&&g!==null&&typeof g.render=="function"&&g.$$typeof===void 0){{var j=zt(a)||"Unknown";Rm[j]||(y("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.",j,j,j),Rm[j]=!0)}t.tag=_,t.memoizedState=null,t.updateQueue=null;var z=!1;return ul(a)?(z=!0,Fv(t)):z=!1,t.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,lb(t),V1(t,g),Jb(t,a,u,o),ux(null,t,a,!0,z,o)}else{if(t.tag=T,t.mode&tn){Cn(!0);try{g=yd(null,t,a,u,f,o),x=gd()}finally{Cn(!1)}}return Yr()&&x&&P0(t),Di(null,t,g,o),sx(t,a),t.child}}function sx(e,t){{if(t&&t.childContextTypes&&y("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var a="",o=Fr();o&&(a+=`
|
|
199
|
+
|
|
200
|
+
Check the render method of \``+o+"`.");var u=o||"",f=e._debugSource;f&&(u=f.fileName+":"+f.lineNumber),ax[u]||(ax[u]=!0,y("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",a))}if(t.defaultProps!==void 0){var m=zt(t)||"Unknown";Tm[m]||(y("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",m),Tm[m]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var g=zt(t)||"Unknown";ix[g]||(y("%s: Function components do not support getDerivedStateFromProps.",g),ix[g]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var x=zt(t)||"Unknown";rx[x]||(y("%s: Function components do not support contextType.",x),rx[x]=!0)}}}var cx={dehydrated:null,treeContext:null,retryLane:Ft};function fx(e){return{baseLanes:e,cachePool:H_(),transitions:null}}function Z_(e,t){var a=null;return{baseLanes:vt(e.baseLanes,t),cachePool:a,transitions:e.transitions}}function eN(e,t,a,o){if(t!==null){var u=t.memoizedState;if(u===null)return!1}return db(e,vm)}function tN(e,t){return Ks(e.childLanes,t)}function tE(e,t,a){var o=t.pendingProps;c3(t)&&(t.flags|=Ie);var u=So.current,f=!1,m=(t.flags&Ie)!==We;if(m||eN(u,e)?(f=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(u=b_(u,u1)),u=pd(u),is(t,u),e===null){Y0(t);var g=t.memoizedState;if(g!==null){var x=g.dehydrated;if(x!==null)return oN(t,x)}var C=o.children,$=o.fallback;if(f){var j=nN(t,C,$,a),z=t.child;return z.memoizedState=fx(a),t.memoizedState=cx,j}else return dx(t,C)}else{var Y=e.memoizedState;if(Y!==null){var q=Y.dehydrated;if(q!==null)return lN(e,t,m,o,q,Y,a)}if(f){var ee=o.fallback,Te=o.children,Ke=iN(e,t,Te,ee,a),He=t.child,Ot=e.child.memoizedState;return He.memoizedState=Ot===null?fx(a):Z_(Ot,a),He.childLanes=tN(e,a),t.memoizedState=cx,Ke}else{var $t=o.children,I=rN(e,t,$t,a);return t.memoizedState=null,I}}}function dx(e,t,a){var o=e.mode,u={mode:"visible",children:t},f=px(u,o);return f.return=e,e.child=f,f}function nN(e,t,a,o){var u=e.mode,f=e.child,m={mode:"hidden",children:t},g,x;return(u&St)===Ye&&f!==null?(g=f,g.childLanes=ue,g.pendingProps=m,e.mode&Pt&&(g.actualDuration=0,g.actualStartTime=-1,g.selfBaseDuration=0,g.treeBaseDuration=0),x=ds(a,u,o,null)):(g=px(m,u),x=ds(a,u,o,null)),g.return=e,x.return=e,g.sibling=x,e.child=g,x}function px(e,t,a){return nC(e,t,ue,null)}function nE(e,t){return Dc(e,t)}function rN(e,t,a,o){var u=e.child,f=u.sibling,m=nE(u,{mode:"visible",children:a});if((t.mode&St)===Ye&&(m.lanes=o),m.return=t,m.sibling=null,f!==null){var g=t.deletions;g===null?(t.deletions=[f],t.flags|=Pi):g.push(f)}return t.child=m,m}function iN(e,t,a,o,u){var f=t.mode,m=e.child,g=m.sibling,x={mode:"hidden",children:a},C;if((f&St)===Ye&&t.child!==m){var $=t.child;C=$,C.childLanes=ue,C.pendingProps=x,t.mode&Pt&&(C.actualDuration=0,C.actualStartTime=-1,C.selfBaseDuration=m.selfBaseDuration,C.treeBaseDuration=m.treeBaseDuration),t.deletions=null}else C=nE(m,x),C.subtreeFlags=m.subtreeFlags&Hn;var j;return g!==null?j=Dc(g,o):(j=ds(o,f,u,null),j.flags|=Dn),j.return=t,C.return=t,C.sibling=j,t.child=C,j}function ky(e,t,a,o){o!==null&&G0(o),sd(t,e.child,null,a);var u=t.pendingProps,f=u.children,m=dx(t,f);return m.flags|=Dn,t.memoizedState=null,m}function aN(e,t,a,o,u){var f=t.mode,m={mode:"visible",children:a},g=px(m,f),x=ds(o,f,u,null);return x.flags|=Dn,g.return=t,x.return=t,g.sibling=x,t.child=g,(t.mode&St)!==Ye&&sd(t,e.child,null,u),x}function oN(e,t,a){return(e.mode&St)===Ye?(y("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=rt):D0(t)?e.lanes=Lr:e.lanes=ki,null}function lN(e,t,a,o,u,f,m){if(a)if(t.flags&ai){t.flags&=-257;var I=Zb(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return ky(e,t,m,I)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Ie,null;var te=o.children,B=o.fallback,he=aN(e,t,te,B,m),De=t.child;return De.memoizedState=fx(m),t.memoizedState=cx,he}else{if(Qk(),(t.mode&St)===Ye)return ky(e,t,m,null);if(D0(u)){var g,x,C;{var $=fk(u);g=$.digest,x=$.message,C=$.stack}var j;x?j=new Error(x):j=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var z=Zb(j,g,C);return ky(e,t,m,z)}var Y=fi(m,e.childLanes);if(Co||Y){var q=Fy();if(q!==null){var ee=Np(q,m);if(ee!==Ft&&ee!==f.retryLane){f.retryLane=ee;var Te=on;Xi(e,ee),Tr(q,e,ee,Te)}}Mx();var Ke=Zb(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 ky(e,t,m,Ke)}else if($w(u)){t.flags|=Ie,t.child=e.child;var He=OD.bind(null,e);return dk(u,He),null}else{Xk(t,u,f.treeContext);var Ot=o.children,$t=dx(t,Ot);return $t.flags|=Hi,$t}}}function rE(e,t,a){e.lanes=vt(e.lanes,t);var o=e.alternate;o!==null&&(o.lanes=vt(o.lanes,t)),rb(e.return,t,a)}function uN(e,t,a){for(var o=t;o!==null;){if(o.tag===ne){var u=o.memoizedState;u!==null&&rE(o,a,e)}else if(o.tag===Yt)rE(o,a,e);else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===e)return;for(;o.sibling===null;){if(o.return===null||o.return===e)return;o=o.return}o.sibling.return=o.return,o=o.sibling}}function sN(e){for(var t=e,a=null;t!==null;){var o=t.alternate;o!==null&&oy(o)===null&&(a=t),t=t.sibling}return a}function cN(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!ox[e])if(ox[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{y('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{y('"%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:y('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else y('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function fN(e,t){e!==void 0&&!Ty[e]&&(e!=="collapsed"&&e!=="hidden"?(Ty[e]=!0,y('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(Ty[e]=!0,y('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function iE(e,t){{var a=bt(e),o=!a&&typeof Qt(e)=="function";if(a||o){var u=a?"array":"iterable";return y("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>",u,t,u),!1}}return!0}function dN(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(bt(e)){for(var a=0;a<e.length;a++)if(!iE(e[a],a))return}else{var o=Qt(e);if(typeof o=="function"){var u=o.call(e);if(u)for(var f=u.next(),m=0;!f.done;f=u.next()){if(!iE(f.value,m))return;m++}}else y('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 mx(e,t,a,o,u){var f=e.memoizedState;f===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:a,tailMode:u}:(f.isBackwards=t,f.rendering=null,f.renderingStartTime=0,f.last=o,f.tail=a,f.tailMode=u)}function aE(e,t,a){var o=t.pendingProps,u=o.revealOrder,f=o.tail,m=o.children;cN(u),fN(f,u),dN(m,u),Di(e,t,m,a);var g=So.current,x=db(g,vm);if(x)g=pb(g,vm),t.flags|=Ie;else{var C=e!==null&&(e.flags&Ie)!==We;C&&uN(t,t.child,a),g=pd(g)}if(is(t,g),(t.mode&St)===Ye)t.memoizedState=null;else switch(u){case"forwards":{var $=sN(t.child),j;$===null?(j=t.child,t.child=null):(j=$.sibling,$.sibling=null),mx(t,!1,j,$,f);break}case"backwards":{var z=null,Y=t.child;for(t.child=null;Y!==null;){var q=Y.alternate;if(q!==null&&oy(q)===null){t.child=Y;break}var ee=Y.sibling;Y.sibling=z,z=Y,Y=ee}mx(t,!0,z,null,f);break}case"together":{mx(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function pN(e,t,a){sb(t,t.stateNode.containerInfo);var o=t.pendingProps;return e===null?t.child=sd(t,null,o,a):Di(e,t,o,a),t.child}var oE=!1;function mN(e,t,a){var o=t.type,u=o._context,f=t.pendingProps,m=t.memoizedProps,g=f.value;{"value"in f||oE||(oE=!0,y("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var x=t.type.propTypes;x&&go(x,f,"prop","Context.Provider")}if(Jw(t,u,g),m!==null){var C=m.value;if(de(C,g)){if(m.children===f.children&&!Uv())return iu(e,t,a)}else c_(t,u,a)}var $=f.children;return Di(e,t,$,a),t.child}var lE=!1;function hN(e,t,a){var o=t.type;o._context===void 0?o!==o.Consumer&&(lE||(lE=!0,y("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):o=o._context;var u=t.pendingProps,f=u.children;typeof f!="function"&&y("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."),fd(t,a);var m=cr(o);Ri(t);var g;return $m.current=t,Zn(!0),g=f(m),Zn(!1),Ti(),t.flags|=pa,Di(e,t,g,a),t.child}function km(){Co=!0}function _y(e,t){(t.mode&St)===Ye&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Dn)}function iu(e,t,a){return e!==null&&(t.dependencies=e.dependencies),A1(),Vm(t.lanes),fi(a,t.childLanes)?(u_(e,t),t.child):null}function vN(e,t,a){{var o=t.return;if(o===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,a.index=t.index,a.sibling=t.sibling,a.return=t.return,a.ref=t.ref,t===o.child)o.child=a;else{var u=o.child;if(u===null)throw new Error("Expected parent to have a child.");for(;u.sibling!==t;)if(u=u.sibling,u===null)throw new Error("Expected to find the previous sibling.");u.sibling=a}var f=o.deletions;return f===null?(o.deletions=[e],o.flags|=Pi):f.push(e),a.flags|=Dn,a}}function hx(e,t){var a=e.lanes;return!!fi(a,t)}function yN(e,t,a){switch(t.tag){case N:Z1(t),t.stateNode,ud();break;case V:o1(t);break;case _:{var o=t.type;ul(o)&&Fv(t);break}case M:sb(t,t.stateNode.containerInfo);break;case X:{var u=t.memoizedProps.value,f=t.type._context;Jw(t,f,u);break}case ie:{var m=fi(a,t.childLanes);m&&(t.flags|=_t);{var g=t.stateNode;g.effectDuration=0,g.passiveEffectDuration=0}}break;case ne:{var x=t.memoizedState;if(x!==null){if(x.dehydrated!==null)return is(t,pd(So.current)),t.flags|=Ie,null;var C=t.child,$=C.childLanes;if(fi(a,$))return tE(e,t,a);is(t,pd(So.current));var j=iu(e,t,a);return j!==null?j.sibling:null}else is(t,pd(So.current));break}case Yt:{var z=(e.flags&Ie)!==We,Y=fi(a,t.childLanes);if(z){if(Y)return aE(e,t,a);t.flags|=Ie}var q=t.memoizedState;if(q!==null&&(q.rendering=null,q.tail=null,q.lastEffect=null),is(t,So.current),Y)break;return null}case Pe:case Ut:return t.lanes=ue,K1(e,t,a)}return iu(e,t,a)}function uE(e,t,a){if(t._debugNeedsRemount&&e!==null)return vN(e,t,Wx(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var o=e.memoizedProps,u=t.pendingProps;if(o!==u||Uv()||t.type!==e.type)Co=!0;else{var f=hx(e,a);if(!f&&(t.flags&Ie)===We)return Co=!1,yN(e,t,a);(e.flags&lf)!==We?Co=!0:Co=!1}}else if(Co=!1,Yr()&&Hk(t)){var m=t.index,g=Ik();Aw(t,g,m)}switch(t.lanes=ue,t.tag){case A:return J_(e,t,t.type,a);case Je:{var x=t.elementType;return K_(e,t,x,a)}case T:{var C=t.type,$=t.pendingProps,j=t.elementType===C?$:Eo(C,$);return lx(e,t,C,j,a)}case _:{var z=t.type,Y=t.pendingProps,q=t.elementType===z?Y:Eo(z,Y);return J1(e,t,z,q,a)}case N:return G_(e,t,a);case V:return Q_(e,t,a);case P:return q_(e,t);case ne:return tE(e,t,a);case M:return pN(e,t,a);case K:{var ee=t.type,Te=t.pendingProps,Ke=t.elementType===ee?Te:Eo(ee,Te);return G1(e,t,ee,Ke,a)}case re:return B_(e,t,a);case oe:return W_(e,t,a);case ie:return Y_(e,t,a);case X:return mN(e,t,a);case ge:return hN(e,t,a);case pe:{var He=t.type,Ot=t.pendingProps,$t=Eo(He,Ot);if(t.type!==t.elementType){var I=He.propTypes;I&&go(I,$t,"prop",zt(He))}return $t=Eo(He.type,$t),Q1(e,t,He,$t,a)}case le:return q1(e,t,t.type,t.pendingProps,a);case yt:{var te=t.type,B=t.pendingProps,he=t.elementType===te?B:Eo(te,B);return X_(e,t,te,he,a)}case Yt:return aE(e,t,a);case Tt:break;case Pe:return K1(e,t,a)}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 bd(e){e.flags|=_t}function sE(e){e.flags|=kn,e.flags|=Uu}var cE,vx,fE,dE;cE=function(e,t,a,o){for(var u=t.child;u!==null;){if(u.tag===V||u.tag===P)FT(e,u.stateNode);else if(u.tag!==M){if(u.child!==null){u.child.return=u,u=u.child;continue}}if(u===t)return;for(;u.sibling===null;){if(u.return===null||u.return===t)return;u=u.return}u.sibling.return=u.return,u=u.sibling}},vx=function(e,t){},fE=function(e,t,a,o,u){var f=e.memoizedProps;if(f!==o){var m=t.stateNode,g=cb(),x=PT(m,a,f,o,u,g);t.updateQueue=x,x&&bd(t)}},dE=function(e,t,a,o){a!==o&&bd(t)};function _m(e,t){if(!Yr())switch(e.tailMode){case"hidden":{for(var a=e.tail,o=null;a!==null;)a.alternate!==null&&(o=a),a=a.sibling;o===null?e.tail=null:o.sibling=null;break}case"collapsed":{for(var u=e.tail,f=null;u!==null;)u.alternate!==null&&(f=u),u=u.sibling;f===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:f.sibling=null;break}}}function Qr(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=ue,o=We;if(t){if((e.mode&Pt)!==Ye){for(var x=e.selfBaseDuration,C=e.child;C!==null;)a=vt(a,vt(C.lanes,C.childLanes)),o|=C.subtreeFlags&Hn,o|=C.flags&Hn,x+=C.treeBaseDuration,C=C.sibling;e.treeBaseDuration=x}else for(var $=e.child;$!==null;)a=vt(a,vt($.lanes,$.childLanes)),o|=$.subtreeFlags&Hn,o|=$.flags&Hn,$.return=e,$=$.sibling;e.subtreeFlags|=o}else{if((e.mode&Pt)!==Ye){for(var u=e.actualDuration,f=e.selfBaseDuration,m=e.child;m!==null;)a=vt(a,vt(m.lanes,m.childLanes)),o|=m.subtreeFlags,o|=m.flags,u+=m.actualDuration,f+=m.treeBaseDuration,m=m.sibling;e.actualDuration=u,e.treeBaseDuration=f}else for(var g=e.child;g!==null;)a=vt(a,vt(g.lanes,g.childLanes)),o|=g.subtreeFlags,o|=g.flags,g.return=e,g=g.sibling;e.subtreeFlags|=o}return e.childLanes=a,t}function gN(e,t,a){if(n_()&&(t.mode&St)!==Ye&&(t.flags&Ie)===We)return Iw(t),ud(),t.flags|=ai|Ms|li,!1;var o=Bv(t);if(a!==null&&a.dehydrated!==null)if(e===null){if(!o)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(e_(t),Qr(t),(t.mode&Pt)!==Ye){var u=a!==null;if(u){var f=t.child;f!==null&&(t.treeBaseDuration-=f.treeBaseDuration)}}return!1}else{if(ud(),(t.flags&Ie)===We&&(t.memoizedState=null),t.flags|=_t,Qr(t),(t.mode&Pt)!==Ye){var m=a!==null;if(m){var g=t.child;g!==null&&(t.treeBaseDuration-=g.treeBaseDuration)}}return!1}else return Bw(),!0}function pE(e,t,a){var o=t.pendingProps;switch(H0(t),t.tag){case A:case Je:case le:case T:case K:case re:case oe:case ie:case ge:case pe:return Qr(t),null;case _:{var u=t.type;return ul(u)&&jv(t),Qr(t),null}case N:{var f=t.stateNode;if(dd(t),j0(t),hb(),f.pendingContext&&(f.context=f.pendingContext,f.pendingContext=null),e===null||e.child===null){var m=Bv(t);if(m)bd(t);else if(e!==null){var g=e.memoizedState;(!g.isDehydrated||(t.flags&ai)!==We)&&(t.flags|=er,Bw())}}return vx(e,t),Qr(t),null}case V:{fb(t);var x=a1(),C=t.type;if(e!==null&&t.stateNode!=null)fE(e,t,C,o,x),e.ref!==t.ref&&sE(t);else{if(!o){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 Qr(t),null}var $=cb(),j=Bv(t);if(j)Jk(t,x,$)&&bd(t);else{var z=jT(C,o,x,$,t);cE(z,t,!1,!1),t.stateNode=z,VT(z,C,o,x)&&bd(t)}t.ref!==null&&sE(t)}return Qr(t),null}case P:{var Y=o;if(e&&t.stateNode!=null){var q=e.memoizedProps;dE(e,t,q,Y)}else{if(typeof Y!="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 ee=a1(),Te=cb(),Ke=Bv(t);Ke?Zk(t)&&bd(t):t.stateNode=HT(Y,ee,Te,t)}return Qr(t),null}case ne:{md(t);var He=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var Ot=gN(e,t,He);if(!Ot)return t.flags&li?t:null}if((t.flags&Ie)!==We)return t.lanes=a,(t.mode&Pt)!==Ye&&Vb(t),t;var $t=He!==null,I=e!==null&&e.memoizedState!==null;if($t!==I&&$t){var te=t.child;if(te.flags|=Pn,(t.mode&St)!==Ye){var B=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!0);B||db(So.current,u1)?bD():Mx()}}var he=t.updateQueue;if(he!==null&&(t.flags|=_t),Qr(t),(t.mode&Pt)!==Ye&&$t){var De=t.child;De!==null&&(t.treeBaseDuration-=De.treeBaseDuration)}return null}case M:return dd(t),vx(e,t),e===null&&zk(t.stateNode.containerInfo),Qr(t),null;case X:var ke=t.type._context;return nb(ke,t),Qr(t),null;case yt:{var it=t.type;return ul(it)&&jv(t),Qr(t),null}case Yt:{md(t);var ht=t.memoizedState;if(ht===null)return Qr(t),null;var rn=(t.flags&Ie)!==We,Bt=ht.rendering;if(Bt===null)if(rn)_m(ht,!1);else{var rr=SD()&&(e===null||(e.flags&Ie)===We);if(!rr)for(var Wt=t.child;Wt!==null;){var Qn=oy(Wt);if(Qn!==null){rn=!0,t.flags|=Ie,_m(ht,!1);var gi=Qn.updateQueue;return gi!==null&&(t.updateQueue=gi,t.flags|=_t),t.subtreeFlags=We,s_(t,a),is(t,pb(So.current,vm)),t.child}Wt=Wt.sibling}ht.tail!==null&&tr()>ME()&&(t.flags|=Ie,rn=!0,_m(ht,!1),t.lanes=Sp)}else{if(!rn){var Zr=oy(Bt);if(Zr!==null){t.flags|=Ie,rn=!0;var Sa=Zr.updateQueue;if(Sa!==null&&(t.updateQueue=Sa,t.flags|=_t),_m(ht,!0),ht.tail===null&&ht.tailMode==="hidden"&&!Bt.alternate&&!Yr())return Qr(t),null}else tr()*2-ht.renderingStartTime>ME()&&a!==ki&&(t.flags|=Ie,rn=!0,_m(ht,!1),t.lanes=Sp)}if(ht.isBackwards)Bt.sibling=t.child,t.child=Bt;else{var Mi=ht.last;Mi!==null?Mi.sibling=Bt:t.child=Bt,ht.last=Bt}}if(ht.tail!==null){var zi=ht.tail;ht.rendering=zi,ht.tail=zi.sibling,ht.renderingStartTime=tr(),zi.sibling=null;var bi=So.current;return rn?bi=pb(bi,vm):bi=pd(bi),is(t,bi),zi}return Qr(t),null}case Tt:break;case Pe:case Ut:{Lx(t);var su=t.memoizedState,Td=su!==null;if(e!==null){var Wm=e.memoizedState,vl=Wm!==null;vl!==Td&&(t.flags|=Pn)}return!Td||(t.mode&St)===Ye?Qr(t):fi(hl,ki)&&(Qr(t),t.subtreeFlags&(Dn|_t)&&(t.flags|=Pn)),null}case kt:return null;case Mt: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 bN(e,t,a){switch(H0(t),t.tag){case _:{var o=t.type;ul(o)&&jv(t);var u=t.flags;return u&li?(t.flags=u&-65537|Ie,(t.mode&Pt)!==Ye&&Vb(t),t):null}case N:{t.stateNode,dd(t),j0(t),hb();var f=t.flags;return(f&li)!==We&&(f&Ie)===We?(t.flags=f&-65537|Ie,t):null}case V:return fb(t),null;case ne:{md(t);var m=t.memoizedState;if(m!==null&&m.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.");ud()}var g=t.flags;return g&li?(t.flags=g&-65537|Ie,(t.mode&Pt)!==Ye&&Vb(t),t):null}case Yt:return md(t),null;case M:return dd(t),null;case X:var x=t.type._context;return nb(x,t),null;case Pe:case Ut:return Lx(t),null;case kt:return null;default:return null}}function mE(e,t,a){switch(H0(t),t.tag){case _:{var o=t.type.childContextTypes;o!=null&&jv(t);break}case N:{t.stateNode,dd(t),j0(t),hb();break}case V:{fb(t);break}case M:dd(t);break;case ne:md(t);break;case Yt:md(t);break;case X:var u=t.type._context;nb(u,t);break;case Pe:case Ut:Lx(t);break}}var hE=null;hE=new Set;var Ny=!1,qr=!1,xN=typeof WeakSet=="function"?WeakSet:Set,je=null,xd=null,Sd=null;function SN(e){Bo(null,function(){throw e}),Ls()}var wN=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&Pt)try{pl(),t.componentWillUnmount()}finally{dl(e)}else t.componentWillUnmount()};function vE(e,t){try{ls(Sr,e)}catch(a){hn(e,t,a)}}function yx(e,t,a){try{wN(e,a)}catch(o){hn(e,t,o)}}function EN(e,t,a){try{a.componentDidMount()}catch(o){hn(e,t,o)}}function yE(e,t){try{bE(e)}catch(a){hn(e,t,a)}}function wd(e,t){var a=e.ref;if(a!==null)if(typeof a=="function"){var o;try{if(Ge&&mt&&e.mode&Pt)try{pl(),o=a(null)}finally{dl(e)}else o=a(null)}catch(u){hn(e,t,u)}typeof o=="function"&&y("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",dt(e))}else a.current=null}function Dy(e,t,a){try{a()}catch(o){hn(e,t,o)}}var gE=!1;function CN(e,t){AT(e.containerInfo),je=t,$N();var a=gE;return gE=!1,a}function $N(){for(;je!==null;){var e=je,t=e.child;(e.subtreeFlags&Yo)!==We&&t!==null?(t.return=e,je=t):RN()}}function RN(){for(;je!==null;){var e=je;Jt(e);try{TN(e)}catch(a){hn(e,e.return,a)}mn();var t=e.sibling;if(t!==null){t.return=e.return,je=t;return}je=e.return}}function TN(e){var t=e.alternate,a=e.flags;if((a&er)!==We){switch(Jt(e),e.tag){case T:case K:case le:break;case _:{if(t!==null){var o=t.memoizedProps,u=t.memoizedState,f=e.stateNode;e.type===e.elementType&&!Rc&&(f.props!==e.memoizedProps&&y("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.",dt(e)||"instance"),f.state!==e.memoizedState&&y("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.",dt(e)||"instance"));var m=f.getSnapshotBeforeUpdate(e.elementType===e.type?o:Eo(e.type,o),u);{var g=hE;m===void 0&&!g.has(e.type)&&(g.add(e.type),y("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",dt(e)))}f.__reactInternalSnapshotBeforeUpdate=m}break}case N:{{var x=e.stateNode;lk(x.containerInfo)}break}case V:case P:case M:case yt: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.")}mn()}}function $o(e,t,a){var o=t.updateQueue,u=o!==null?o.lastEffect:null;if(u!==null){var f=u.next,m=f;do{if((m.tag&e)===e){var g=m.destroy;m.destroy=void 0,g!==void 0&&((e&Gr)!==Ji?fo(t):(e&Sr)!==Ji&&As(t),(e&sl)!==Ji&&Hm(!0),Dy(t,a,g),(e&sl)!==Ji&&Hm(!1),(e&Gr)!==Ji?Ko():(e&Sr)!==Ji&&bp())}m=m.next}while(m!==f)}}function ls(e,t){var a=t.updateQueue,o=a!==null?a.lastEffect:null;if(o!==null){var u=o.next,f=u;do{if((f.tag&e)===e){(e&Gr)!==Ji?gp(t):(e&Sr)!==Ji&&pf(t);var m=f.create;(e&sl)!==Ji&&Hm(!0),f.destroy=m(),(e&sl)!==Ji&&Hm(!1),(e&Gr)!==Ji?Ah():(e&Sr)!==Ji&&Uh();{var g=f.destroy;if(g!==void 0&&typeof g!="function"){var x=void 0;(f.tag&Sr)!==We?x="useLayoutEffect":(f.tag&sl)!==We?x="useInsertionEffect":x="useEffect";var C=void 0;g===null?C=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof g.then=="function"?C=`
|
|
201
|
+
|
|
202
|
+
It looks like you wrote `+x+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
203
|
+
|
|
204
|
+
`+x+`(() => {
|
|
205
|
+
async function fetchData() {
|
|
206
|
+
// You can await here
|
|
207
|
+
const response = await MyAPI.getData(someId);
|
|
208
|
+
// ...
|
|
209
|
+
}
|
|
210
|
+
fetchData();
|
|
211
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
212
|
+
|
|
213
|
+
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:C=" You returned: "+g,y("%s must not return anything besides a function, which is used for clean-up.%s",x,C)}}}f=f.next}while(f!==u)}}function kN(e,t){if((t.flags&_t)!==We)switch(t.tag){case ie:{var a=t.stateNode.passiveEffectDuration,o=t.memoizedProps,u=o.id,f=o.onPostCommit,m=M1(),g=t.alternate===null?"mount":"update";L1()&&(g="nested-update"),typeof f=="function"&&f(u,g,a,m);var x=t.return;e:for(;x!==null;){switch(x.tag){case N:var C=x.stateNode;C.passiveEffectDuration+=a;break e;case ie:var $=x.stateNode;$.passiveEffectDuration+=a;break e}x=x.return}break}}}function _N(e,t,a,o){if((a.flags&Qo)!==We)switch(a.tag){case T:case K:case le:{if(!qr)if(a.mode&Pt)try{pl(),ls(Sr|xr,a)}finally{dl(a)}else ls(Sr|xr,a);break}case _:{var u=a.stateNode;if(a.flags&_t&&!qr)if(t===null)if(a.type===a.elementType&&!Rc&&(u.props!==a.memoizedProps&&y("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.",dt(a)||"instance"),u.state!==a.memoizedState&&y("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.",dt(a)||"instance")),a.mode&Pt)try{pl(),u.componentDidMount()}finally{dl(a)}else u.componentDidMount();else{var f=a.elementType===a.type?t.memoizedProps:Eo(a.type,t.memoizedProps),m=t.memoizedState;if(a.type===a.elementType&&!Rc&&(u.props!==a.memoizedProps&&y("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.",dt(a)||"instance"),u.state!==a.memoizedState&&y("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.",dt(a)||"instance")),a.mode&Pt)try{pl(),u.componentDidUpdate(f,m,u.__reactInternalSnapshotBeforeUpdate)}finally{dl(a)}else u.componentDidUpdate(f,m,u.__reactInternalSnapshotBeforeUpdate)}var g=a.updateQueue;g!==null&&(a.type===a.elementType&&!Rc&&(u.props!==a.memoizedProps&&y("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.",dt(a)||"instance"),u.state!==a.memoizedState&&y("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.",dt(a)||"instance")),i1(a,g,u));break}case N:{var x=a.updateQueue;if(x!==null){var C=null;if(a.child!==null)switch(a.child.tag){case V:C=a.child.stateNode;break;case _:C=a.child.stateNode;break}i1(a,x,C)}break}case V:{var $=a.stateNode;if(t===null&&a.flags&_t){var j=a.type,z=a.memoizedProps;GT($,j,z)}break}case P:break;case M:break;case ie:{{var Y=a.memoizedProps,q=Y.onCommit,ee=Y.onRender,Te=a.stateNode.effectDuration,Ke=M1(),He=t===null?"mount":"update";L1()&&(He="nested-update"),typeof ee=="function"&&ee(a.memoizedProps.id,He,a.actualDuration,a.treeBaseDuration,a.actualStartTime,Ke);{typeof q=="function"&&q(a.memoizedProps.id,He,Te,Ke),RD(a);var Ot=a.return;e:for(;Ot!==null;){switch(Ot.tag){case N:var $t=Ot.stateNode;$t.effectDuration+=Te;break e;case ie:var I=Ot.stateNode;I.effectDuration+=Te;break e}Ot=Ot.return}}}break}case ne:{UN(e,a);break}case Yt:case yt:case Tt:case Pe:case Ut:case Mt: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.")}qr||a.flags&kn&&bE(a)}function NN(e){switch(e.tag){case T:case K:case le:{if(e.mode&Pt)try{pl(),vE(e,e.return)}finally{dl(e)}else vE(e,e.return);break}case _:{var t=e.stateNode;typeof t.componentDidMount=="function"&&EN(e,e.return,t),yE(e,e.return);break}case V:{yE(e,e.return);break}}}function DN(e,t){for(var a=null,o=e;;){if(o.tag===V){if(a===null){a=o;try{var u=o.stateNode;t?rk(u):ak(o.stateNode,o.memoizedProps)}catch(m){hn(e,e.return,m)}}}else if(o.tag===P){if(a===null)try{var f=o.stateNode;t?ik(f):ok(f,o.memoizedProps)}catch(m){hn(e,e.return,m)}}else if(!((o.tag===Pe||o.tag===Ut)&&o.memoizedState!==null&&o!==e)){if(o.child!==null){o.child.return=o,o=o.child;continue}}if(o===e)return;for(;o.sibling===null;){if(o.return===null||o.return===e)return;a===o&&(a=null),o=o.return}a===o&&(a=null),o.sibling.return=o.return,o=o.sibling}}function bE(e){var t=e.ref;if(t!==null){var a=e.stateNode,o;switch(e.tag){case V:o=a;break;default:o=a}if(typeof t=="function"){var u;if(e.mode&Pt)try{pl(),u=t(o)}finally{dl(e)}else u=t(o);typeof u=="function"&&y("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",dt(e))}else t.hasOwnProperty("current")||y("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",dt(e)),t.current=o}}function ON(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function xE(e){var t=e.alternate;t!==null&&(e.alternate=null,xE(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===V){var a=e.stateNode;a!==null&&jk(a)}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 LN(e){for(var t=e.return;t!==null;){if(SE(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 SE(e){return e.tag===V||e.tag===N||e.tag===M}function wE(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||SE(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==V&&t.tag!==P&&t.tag!==Lt;){if(t.flags&Dn||t.child===null||t.tag===M)continue e;t.child.return=t,t=t.child}if(!(t.flags&Dn))return t.stateNode}}function MN(e){var t=LN(e);switch(t.tag){case V:{var a=t.stateNode;t.flags&ma&&(Cw(a),t.flags&=-33);var o=wE(e);bx(e,o,a);break}case N:case M:{var u=t.stateNode.containerInfo,f=wE(e);gx(e,f,u);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function gx(e,t,a){var o=e.tag,u=o===V||o===P;if(u){var f=e.stateNode;t?ZT(a,f,t):XT(a,f)}else if(o!==M){var m=e.child;if(m!==null){gx(m,t,a);for(var g=m.sibling;g!==null;)gx(g,t,a),g=g.sibling}}}function bx(e,t,a){var o=e.tag,u=o===V||o===P;if(u){var f=e.stateNode;t?JT(a,f,t):KT(a,f)}else if(o!==M){var m=e.child;if(m!==null){bx(m,t,a);for(var g=m.sibling;g!==null;)bx(g,t,a),g=g.sibling}}}var Kr=null,Ro=!1;function zN(e,t,a){{var o=t;e:for(;o!==null;){switch(o.tag){case V:{Kr=o.stateNode,Ro=!1;break e}case N:{Kr=o.stateNode.containerInfo,Ro=!0;break e}case M:{Kr=o.stateNode.containerInfo,Ro=!0;break e}}o=o.return}if(Kr===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");EE(e,t,a),Kr=null,Ro=!1}ON(a)}function us(e,t,a){for(var o=a.child;o!==null;)EE(e,t,o),o=o.sibling}function EE(e,t,a){switch(hp(a),a.tag){case V:qr||wd(a,t);case P:{{var o=Kr,u=Ro;Kr=null,us(e,t,a),Kr=o,Ro=u,Kr!==null&&(Ro?tk(Kr,a.stateNode):ek(Kr,a.stateNode))}return}case Lt:{Kr!==null&&(Ro?nk(Kr,a.stateNode):N0(Kr,a.stateNode));return}case M:{{var f=Kr,m=Ro;Kr=a.stateNode.containerInfo,Ro=!0,us(e,t,a),Kr=f,Ro=m}return}case T:case K:case pe:case le:{if(!qr){var g=a.updateQueue;if(g!==null){var x=g.lastEffect;if(x!==null){var C=x.next,$=C;do{var j=$,z=j.destroy,Y=j.tag;z!==void 0&&((Y&sl)!==Ji?Dy(a,t,z):(Y&Sr)!==Ji&&(As(a),a.mode&Pt?(pl(),Dy(a,t,z),dl(a)):Dy(a,t,z),bp())),$=$.next}while($!==C)}}}us(e,t,a);return}case _:{if(!qr){wd(a,t);var q=a.stateNode;typeof q.componentWillUnmount=="function"&&yx(a,t,q)}us(e,t,a);return}case Tt:{us(e,t,a);return}case Pe:{if(a.mode&St){var ee=qr;qr=ee||a.memoizedState!==null,us(e,t,a),qr=ee}else us(e,t,a);break}default:{us(e,t,a);return}}}function AN(e){e.memoizedState}function UN(e,t){var a=t.memoizedState;if(a===null){var o=t.alternate;if(o!==null){var u=o.memoizedState;if(u!==null){var f=u.dehydrated;f!==null&&Sk(f)}}}}function CE(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var a=e.stateNode;a===null&&(a=e.stateNode=new xN),t.forEach(function(o){var u=LD.bind(null,e,o);if(!a.has(o)){if(a.add(o),ci)if(xd!==null&&Sd!==null)Pm(Sd,xd);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");o.then(u,u)}})}}function jN(e,t,a){xd=a,Sd=e,Jt(t),$E(t,e),Jt(t),xd=null,Sd=null}function To(e,t,a){var o=t.deletions;if(o!==null)for(var u=0;u<o.length;u++){var f=o[u];try{zN(e,t,f)}catch(x){hn(f,t,x)}}var m=Uo();if(t.subtreeFlags&Go)for(var g=t.child;g!==null;)Jt(g),$E(g,e),g=g.sibling;Jt(m)}function $E(e,t,a){var o=e.alternate,u=e.flags;switch(e.tag){case T:case K:case pe:case le:{if(To(t,e),ml(e),u&_t){try{$o(sl|xr,e,e.return),ls(sl|xr,e)}catch(it){hn(e,e.return,it)}if(e.mode&Pt){try{pl(),$o(Sr|xr,e,e.return)}catch(it){hn(e,e.return,it)}dl(e)}else try{$o(Sr|xr,e,e.return)}catch(it){hn(e,e.return,it)}}return}case _:{To(t,e),ml(e),u&kn&&o!==null&&wd(o,o.return);return}case V:{To(t,e),ml(e),u&kn&&o!==null&&wd(o,o.return);{if(e.flags&ma){var f=e.stateNode;try{Cw(f)}catch(it){hn(e,e.return,it)}}if(u&_t){var m=e.stateNode;if(m!=null){var g=e.memoizedProps,x=o!==null?o.memoizedProps:g,C=e.type,$=e.updateQueue;if(e.updateQueue=null,$!==null)try{QT(m,$,C,x,g,e)}catch(it){hn(e,e.return,it)}}}}return}case P:{if(To(t,e),ml(e),u&_t){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 j=e.stateNode,z=e.memoizedProps,Y=o!==null?o.memoizedProps:z;try{qT(j,Y,z)}catch(it){hn(e,e.return,it)}}return}case N:{if(To(t,e),ml(e),u&_t&&o!==null){var q=o.memoizedState;if(q.isDehydrated)try{xk(t.containerInfo)}catch(it){hn(e,e.return,it)}}return}case M:{To(t,e),ml(e);return}case ne:{To(t,e),ml(e);var ee=e.child;if(ee.flags&Pn){var Te=ee.stateNode,Ke=ee.memoizedState,He=Ke!==null;if(Te.isHidden=He,He){var Ot=ee.alternate!==null&&ee.alternate.memoizedState!==null;Ot||gD()}}if(u&_t){try{AN(e)}catch(it){hn(e,e.return,it)}CE(e)}return}case Pe:{var $t=o!==null&&o.memoizedState!==null;if(e.mode&St){var I=qr;qr=I||$t,To(t,e),qr=I}else To(t,e);if(ml(e),u&Pn){var te=e.stateNode,B=e.memoizedState,he=B!==null,De=e;if(te.isHidden=he,he&&!$t&&(De.mode&St)!==Ye){je=De;for(var ke=De.child;ke!==null;)je=ke,VN(ke),ke=ke.sibling}DN(De,he)}return}case Yt:{To(t,e),ml(e),u&_t&&CE(e);return}case Tt:return;default:{To(t,e),ml(e);return}}}function ml(e){var t=e.flags;if(t&Dn){try{MN(e)}catch(a){hn(e,e.return,a)}e.flags&=-3}t&Hi&&(e.flags&=-4097)}function FN(e,t,a){xd=a,Sd=t,je=e,RE(e,t,a),xd=null,Sd=null}function RE(e,t,a){for(var o=(e.mode&St)!==Ye;je!==null;){var u=je,f=u.child;if(u.tag===Pe&&o){var m=u.memoizedState!==null,g=m||Ny;if(g){xx(e,t,a);continue}else{var x=u.alternate,C=x!==null&&x.memoizedState!==null,$=C||qr,j=Ny,z=qr;Ny=g,qr=$,qr&&!z&&(je=u,PN(u));for(var Y=f;Y!==null;)je=Y,RE(Y,t,a),Y=Y.sibling;je=u,Ny=j,qr=z,xx(e,t,a);continue}}(u.subtreeFlags&Qo)!==We&&f!==null?(f.return=u,je=f):xx(e,t,a)}}function xx(e,t,a){for(;je!==null;){var o=je;if((o.flags&Qo)!==We){var u=o.alternate;Jt(o);try{_N(t,u,o,a)}catch(m){hn(o,o.return,m)}mn()}if(o===e){je=null;return}var f=o.sibling;if(f!==null){f.return=o.return,je=f;return}je=o.return}}function VN(e){for(;je!==null;){var t=je,a=t.child;switch(t.tag){case T:case K:case pe:case le:{if(t.mode&Pt)try{pl(),$o(Sr,t,t.return)}finally{dl(t)}else $o(Sr,t,t.return);break}case _:{wd(t,t.return);var o=t.stateNode;typeof o.componentWillUnmount=="function"&&yx(t,t.return,o);break}case V:{wd(t,t.return);break}case Pe:{var u=t.memoizedState!==null;if(u){TE(e);continue}break}}a!==null?(a.return=t,je=a):TE(e)}}function TE(e){for(;je!==null;){var t=je;if(t===e){je=null;return}var a=t.sibling;if(a!==null){a.return=t.return,je=a;return}je=t.return}}function PN(e){for(;je!==null;){var t=je,a=t.child;if(t.tag===Pe){var o=t.memoizedState!==null;if(o){kE(e);continue}}a!==null?(a.return=t,je=a):kE(e)}}function kE(e){for(;je!==null;){var t=je;Jt(t);try{NN(t)}catch(o){hn(t,t.return,o)}if(mn(),t===e){je=null;return}var a=t.sibling;if(a!==null){a.return=t.return,je=a;return}je=t.return}}function HN(e,t,a,o){je=t,IN(t,e,a,o)}function IN(e,t,a,o){for(;je!==null;){var u=je,f=u.child;(u.subtreeFlags&so)!==We&&f!==null?(f.return=u,je=f):BN(e,t,a,o)}}function BN(e,t,a,o){for(;je!==null;){var u=je;if((u.flags&oi)!==We){Jt(u);try{WN(t,u,a,o)}catch(m){hn(u,u.return,m)}mn()}if(u===e){je=null;return}var f=u.sibling;if(f!==null){f.return=u.return,je=f;return}je=u.return}}function WN(e,t,a,o){switch(t.tag){case T:case K:case le:{if(t.mode&Pt){Fb();try{ls(Gr|xr,t)}finally{jb(t)}}else ls(Gr|xr,t);break}}}function YN(e){je=e,GN()}function GN(){for(;je!==null;){var e=je,t=e.child;if((je.flags&Pi)!==We){var a=e.deletions;if(a!==null){for(var o=0;o<a.length;o++){var u=a[o];je=u,KN(u,e)}{var f=e.alternate;if(f!==null){var m=f.child;if(m!==null){f.child=null;do{var g=m.sibling;m.sibling=null,m=g}while(m!==null)}}}je=e}}(e.subtreeFlags&so)!==We&&t!==null?(t.return=e,je=t):QN()}}function QN(){for(;je!==null;){var e=je;(e.flags&oi)!==We&&(Jt(e),qN(e),mn());var t=e.sibling;if(t!==null){t.return=e.return,je=t;return}je=e.return}}function qN(e){switch(e.tag){case T:case K:case le:{e.mode&Pt?(Fb(),$o(Gr|xr,e,e.return),jb(e)):$o(Gr|xr,e,e.return);break}}}function KN(e,t){for(;je!==null;){var a=je;Jt(a),JN(a,t),mn();var o=a.child;o!==null?(o.return=a,je=o):XN(e)}}function XN(e){for(;je!==null;){var t=je,a=t.sibling,o=t.return;if(xE(t),t===e){je=null;return}if(a!==null){a.return=o,je=a;return}je=o}}function JN(e,t){switch(e.tag){case T:case K:case le:{e.mode&Pt?(Fb(),$o(Gr,e,t),jb(e)):$o(Gr,e,t);break}}}function ZN(e){switch(e.tag){case T:case K:case le:{try{ls(Sr|xr,e)}catch(a){hn(e,e.return,a)}break}case _:{var t=e.stateNode;try{t.componentDidMount()}catch(a){hn(e,e.return,a)}break}}}function eD(e){switch(e.tag){case T:case K:case le:{try{ls(Gr|xr,e)}catch(t){hn(e,e.return,t)}break}}}function tD(e){switch(e.tag){case T:case K:case le:{try{$o(Sr|xr,e,e.return)}catch(a){hn(e,e.return,a)}break}case _:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&yx(e,e.return,t);break}}}function nD(e){switch(e.tag){case T:case K:case le:try{$o(Gr|xr,e,e.return)}catch(t){hn(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var Nm=Symbol.for;Nm("selector.component"),Nm("selector.has_pseudo_class"),Nm("selector.role"),Nm("selector.test_id"),Nm("selector.text")}var rD=[];function iD(){rD.forEach(function(e){return e()})}var aD=d.ReactCurrentActQueue;function oD(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,a=typeof jest<"u";return a&&t!==!1}}function _E(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&aD.current!==null&&y("The current testing environment is not configured to support act(...)"),e}}var lD=Math.ceil,Sx=d.ReactCurrentDispatcher,wx=d.ReactCurrentOwner,Xr=d.ReactCurrentBatchConfig,ko=d.ReactCurrentActQueue,Cr=0,NE=1,Jr=2,Xa=4,au=0,Dm=1,Tc=2,Oy=3,Om=4,DE=5,Ex=6,Dt=Cr,Oi=null,Un=null,$r=ue,hl=ue,Cx=Ju(ue),Rr=au,Lm=null,Ly=ue,Mm=ue,My=ue,zm=null,Zi=null,$x=0,OE=500,LE=1/0,uD=500,ou=null;function Am(){LE=tr()+uD}function ME(){return LE}var zy=!1,Rx=null,Ed=null,kc=!1,ss=null,Um=ue,Tx=[],kx=null,sD=50,jm=0,_x=null,Nx=!1,Ay=!1,cD=50,Cd=0,Uy=null,Fm=on,jy=ue,zE=!1;function Fy(){return Oi}function Li(){return(Dt&(Jr|Xa))!==Cr?tr():(Fm!==on||(Fm=tr()),Fm)}function cs(e){var t=e.mode;if((t&St)===Ye)return rt;if((Dt&Jr)!==Cr&&$r!==ue)return qs($r);var a=a_()!==i_;if(a){if(Xr.transition!==null){var o=Xr.transition;o._updatedFibers||(o._updatedFibers=new Set),o._updatedFibers.add(e)}return jy===Ft&&(jy=Tp()),jy}var u=Qi();if(u!==Ft)return u;var f=IT();return f}function fD(e){var t=e.mode;return(t&St)===Ye?rt:Ih()}function Tr(e,t,a,o){zD(),zE&&y("useInsertionEffect must not schedule updates."),Nx&&(Ay=!0),Pu(e,a,o),(Dt&Jr)!==ue&&e===Oi?jD(t):(ci&&Js(e,t,a),FD(t),e===Oi&&((Dt&Jr)===Cr&&(Mm=vt(Mm,a)),Rr===Om&&fs(e,$r)),ea(e,o),a===rt&&Dt===Cr&&(t.mode&St)===Ye&&!ko.isBatchingLegacy&&(Am(),zw()))}function dD(e,t,a){var o=e.current;o.lanes=t,Pu(e,t,a),ea(e,a)}function pD(e){return(Dt&Jr)!==Cr}function ea(e,t){var a=e.callbackNode;Lf(e,t);var o=Of(e,e===Oi?$r:ue);if(o===ue){a!==null&&XE(a),e.callbackNode=null,e.callbackPriority=Ft;return}var u=Zo(o),f=e.callbackPriority;if(f===u&&!(ko.current!==null&&a!==Ux)){a==null&&f!==rt&&y("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}a!=null&&XE(a);var m;if(u===rt)e.tag===Zu?(ko.isBatchingLegacy!==null&&(ko.didScheduleLegacyUpdate=!0),Pk(jE.bind(null,e))):Mw(jE.bind(null,e)),ko.current!==null?ko.current.push(es):WT(function(){(Dt&(Jr|Xa))===Cr&&es()}),m=null;else{var g;switch(Kh(o)){case Pr:g=zs;break;case Pa:g=qo;break;case Yi:g=co;break;case Gi:g=Ll;break;default:g=co;break}m=jx(g,AE.bind(null,e))}e.callbackPriority=u,e.callbackNode=m}function AE(e,t){if(D_(),Fm=on,jy=ue,(Dt&(Jr|Xa))!==Cr)throw new Error("Should not already be working.");var a=e.callbackNode,o=uu();if(o&&e.callbackNode!==a)return null;var u=Of(e,e===Oi?$r:ue);if(u===ue)return null;var f=!zf(e,u)&&!Hh(e,u)&&!t,m=f?ED(e,u):Py(e,u);if(m!==au){if(m===Tc){var g=Mf(e);g!==ue&&(u=g,m=Dx(e,g))}if(m===Dm){var x=Lm;throw _c(e,ue),fs(e,u),ea(e,tr()),x}if(m===Ex)fs(e,u);else{var C=!zf(e,u),$=e.current.alternate;if(C&&!hD($)){if(m=Py(e,u),m===Tc){var j=Mf(e);j!==ue&&(u=j,m=Dx(e,j))}if(m===Dm){var z=Lm;throw _c(e,ue),fs(e,u),ea(e,tr()),z}}e.finishedWork=$,e.finishedLanes=u,mD(e,m,u)}}return ea(e,tr()),e.callbackNode===a?AE.bind(null,e):null}function Dx(e,t){var a=zm;if(jf(e)){var o=_c(e,t);o.flags|=ai,Mk(e.containerInfo)}var u=Py(e,t);if(u!==Tc){var f=Zi;Zi=a,f!==null&&UE(f)}return u}function UE(e){Zi===null?Zi=e:Zi.push.apply(Zi,e)}function mD(e,t,a){switch(t){case au:case Dm:throw new Error("Root did not complete. This is a bug in React.");case Tc:{Nc(e,Zi,ou);break}case Oy:{if(fs(e,a),Bl(a)&&!JE()){var o=$x+OE-tr();if(o>10){var u=Of(e,ue);if(u!==ue)break;var f=e.suspendedLanes;if(!Wl(f,a)){Li(),Af(e,f);break}e.timeoutHandle=k0(Nc.bind(null,e,Zi,ou),o);break}}Nc(e,Zi,ou);break}case Om:{if(fs(e,a),$p(a))break;if(!JE()){var m=va(e,a),g=m,x=tr()-g,C=MD(x)-x;if(C>10){e.timeoutHandle=k0(Nc.bind(null,e,Zi,ou),C);break}}Nc(e,Zi,ou);break}case DE:{Nc(e,Zi,ou);break}default:throw new Error("Unknown root exit status.")}}function hD(e){for(var t=e;;){if(t.flags&Au){var a=t.updateQueue;if(a!==null){var o=a.stores;if(o!==null)for(var u=0;u<o.length;u++){var f=o[u],m=f.getSnapshot,g=f.value;try{if(!de(m(),g))return!1}catch{return!1}}}}var x=t.child;if(t.subtreeFlags&Au&&x!==null){x.return=t,t=x;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 fs(e,t){t=Ks(t,My),t=Ks(t,Mm),Yh(e,t)}function jE(e){if(O_(),(Dt&(Jr|Xa))!==Cr)throw new Error("Should not already be working.");uu();var t=Of(e,ue);if(!fi(t,rt))return ea(e,tr()),null;var a=Py(e,t);if(e.tag!==Zu&&a===Tc){var o=Mf(e);o!==ue&&(t=o,a=Dx(e,o))}if(a===Dm){var u=Lm;throw _c(e,ue),fs(e,t),ea(e,tr()),u}if(a===Ex)throw new Error("Root did not complete. This is a bug in React.");var f=e.current.alternate;return e.finishedWork=f,e.finishedLanes=t,Nc(e,Zi,ou),ea(e,tr()),null}function vD(e,t){t!==ue&&(Uf(e,vt(t,rt)),ea(e,tr()),(Dt&(Jr|Xa))===Cr&&(Am(),es()))}function Ox(e,t){var a=Dt;Dt|=NE;try{return e(t)}finally{Dt=a,Dt===Cr&&!ko.isBatchingLegacy&&(Am(),zw())}}function yD(e,t,a,o,u){var f=Qi(),m=Xr.transition;try{return Xr.transition=null,Wn(Pr),e(t,a,o,u)}finally{Wn(f),Xr.transition=m,Dt===Cr&&Am()}}function lu(e){ss!==null&&ss.tag===Zu&&(Dt&(Jr|Xa))===Cr&&uu();var t=Dt;Dt|=NE;var a=Xr.transition,o=Qi();try{return Xr.transition=null,Wn(Pr),e?e():void 0}finally{Wn(o),Xr.transition=a,Dt=t,(Dt&(Jr|Xa))===Cr&&es()}}function FE(){return(Dt&(Jr|Xa))!==Cr}function Vy(e,t){vi(Cx,hl,e),hl=vt(hl,t)}function Lx(e){hl=Cx.current,hi(Cx,e)}function _c(e,t){e.finishedWork=null,e.finishedLanes=ue;var a=e.timeoutHandle;if(a!==_0&&(e.timeoutHandle=_0,BT(a)),Un!==null)for(var o=Un.return;o!==null;){var u=o.alternate;mE(u,o),o=o.return}Oi=e;var f=Dc(e.current,null);return Un=f,$r=hl=t,Rr=au,Lm=null,Ly=ue,Mm=ue,My=ue,zm=null,Zi=null,d_(),xo.discardPendingWarnings(),f}function VE(e,t){do{var a=Un;try{if(Kv(),c1(),mn(),wx.current=null,a===null||a.return===null){Rr=Dm,Lm=t,Un=null;return}if(Ge&&a.mode&Pt&&$y(a,!0),Ze)if(Ti(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var o=t;Va(a,o,$r)}else Us(a,t,$r);P_(e,a.return,a,t,$r),BE(a)}catch(u){t=u,Un===a&&a!==null?(a=a.return,Un=a):a=Un;continue}return}while(!0)}function PE(){var e=Sx.current;return Sx.current=xy,e===null?xy:e}function HE(e){Sx.current=e}function gD(){$x=tr()}function Vm(e){Ly=vt(e,Ly)}function bD(){Rr===au&&(Rr=Oy)}function Mx(){(Rr===au||Rr===Oy||Rr===Tc)&&(Rr=Om),Oi!==null&&(Qs(Ly)||Qs(Mm))&&fs(Oi,$r)}function xD(e){Rr!==Om&&(Rr=Tc),zm===null?zm=[e]:zm.push(e)}function SD(){return Rr===au}function Py(e,t){var a=Dt;Dt|=Jr;var o=PE();if(Oi!==e||$r!==t){if(ci){var u=e.memoizedUpdaters;u.size>0&&(Pm(e,$r),u.clear()),Gh(e,t)}ou=Dp(),_c(e,t)}Ul(t);do try{wD();break}catch(f){VE(e,f)}while(!0);if(Kv(),Dt=a,HE(o),Un!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return mf(),Oi=null,$r=ue,Rr}function wD(){for(;Un!==null;)IE(Un)}function ED(e,t){var a=Dt;Dt|=Jr;var o=PE();if(Oi!==e||$r!==t){if(ci){var u=e.memoizedUpdaters;u.size>0&&(Pm(e,$r),u.clear()),Gh(e,t)}ou=Dp(),Am(),_c(e,t)}Ul(t);do try{CD();break}catch(f){VE(e,f)}while(!0);return Kv(),HE(o),Dt=a,Un!==null?(jh(),au):(mf(),Oi=null,$r=ue,Rr)}function CD(){for(;Un!==null&&!cp();)IE(Un)}function IE(e){var t=e.alternate;Jt(e);var a;(e.mode&Pt)!==Ye?(Ub(e),a=zx(t,e,hl),$y(e,!0)):a=zx(t,e,hl),mn(),e.memoizedProps=e.pendingProps,a===null?BE(e):Un=a,wx.current=null}function BE(e){var t=e;do{var a=t.alternate,o=t.return;if((t.flags&Ms)===We){Jt(t);var u=void 0;if((t.mode&Pt)===Ye?u=pE(a,t,hl):(Ub(t),u=pE(a,t,hl),$y(t,!1)),mn(),u!==null){Un=u;return}}else{var f=bN(a,t);if(f!==null){f.flags&=Oh,Un=f;return}if((t.mode&Pt)!==Ye){$y(t,!1);for(var m=t.actualDuration,g=t.child;g!==null;)m+=g.actualDuration,g=g.sibling;t.actualDuration=m}if(o!==null)o.flags|=Ms,o.subtreeFlags=We,o.deletions=null;else{Rr=Ex,Un=null;return}}var x=t.sibling;if(x!==null){Un=x;return}t=o,Un=t}while(t!==null);Rr===au&&(Rr=DE)}function Nc(e,t,a){var o=Qi(),u=Xr.transition;try{Xr.transition=null,Wn(Pr),$D(e,t,a,o)}finally{Xr.transition=u,Wn(o)}return null}function $D(e,t,a,o){do uu();while(ss!==null);if(AD(),(Dt&(Jr|Xa))!==Cr)throw new Error("Should not already be working.");var u=e.finishedWork,f=e.finishedLanes;if(vp(f),u===null)return yp(),null;if(f===ue&&y("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=ue,u===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=Ft;var m=vt(u.lanes,u.childLanes);_p(e,m),e===Oi&&(Oi=null,Un=null,$r=ue),((u.subtreeFlags&so)!==We||(u.flags&so)!==We)&&(kc||(kc=!0,kx=a,jx(co,function(){return uu(),null})));var g=(u.subtreeFlags&(Yo|Go|Qo|so))!==We,x=(u.flags&(Yo|Go|Qo|so))!==We;if(g||x){var C=Xr.transition;Xr.transition=null;var $=Qi();Wn(Pr);var j=Dt;Dt|=Xa,wx.current=null,CN(e,u),z1(),jN(e,u,f),UT(e.containerInfo),e.current=u,js(f),FN(u,e,f),Fs(),fp(),Dt=j,Wn($),Xr.transition=C}else e.current=u,z1();var z=kc;if(kc?(kc=!1,ss=e,Um=f):(Cd=0,Uy=null),m=e.pendingLanes,m===ue&&(Ed=null),z||QE(e.current,!1),pp(u.stateNode,o),ci&&e.memoizedUpdaters.clear(),iD(),ea(e,tr()),t!==null)for(var Y=e.onRecoverableError,q=0;q<t.length;q++){var ee=t[q],Te=ee.stack,Ke=ee.digest;Y(ee.value,{componentStack:Te,digest:Ke})}if(zy){zy=!1;var He=Rx;throw Rx=null,He}return fi(Um,rt)&&e.tag!==Zu&&uu(),m=e.pendingLanes,fi(m,rt)?(N_(),e===_x?jm++:(jm=0,_x=e)):jm=0,es(),yp(),null}function uu(){if(ss!==null){var e=Kh(Um),t=ec(Yi,e),a=Xr.transition,o=Qi();try{return Xr.transition=null,Wn(t),TD()}finally{Wn(o),Xr.transition=a}}return!1}function RD(e){Tx.push(e),kc||(kc=!0,jx(co,function(){return uu(),null}))}function TD(){if(ss===null)return!1;var e=kx;kx=null;var t=ss,a=Um;if(ss=null,Um=ue,(Dt&(Jr|Xa))!==Cr)throw new Error("Cannot flush passive effects while already rendering.");Nx=!0,Ay=!1,Al(a);var o=Dt;Dt|=Xa,YN(t.current),HN(t,t.current,a,e);{var u=Tx;Tx=[];for(var f=0;f<u.length;f++){var m=u[f];kN(t,m)}}xp(),QE(t.current,!0),Dt=o,es(),Ay?t===Uy?Cd++:(Cd=0,Uy=t):Cd=0,Nx=!1,Ay=!1,mp(t);{var g=t.current.stateNode;g.effectDuration=0,g.passiveEffectDuration=0}return!0}function WE(e){return Ed!==null&&Ed.has(e)}function kD(e){Ed===null?Ed=new Set([e]):Ed.add(e)}function _D(e){zy||(zy=!0,Rx=e)}var ND=_D;function YE(e,t,a){var o=$c(a,t),u=I1(e,o,rt),f=ns(e,u,rt),m=Li();f!==null&&(Pu(f,rt,m),ea(f,m))}function hn(e,t,a){if(SN(a),Hm(!1),e.tag===N){YE(e,e,a);return}var o=null;for(o=t;o!==null;){if(o.tag===N){YE(o,e,a);return}else if(o.tag===_){var u=o.type,f=o.stateNode;if(typeof u.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&!WE(f)){var m=$c(a,e),g=tx(o,m,rt),x=ns(o,g,rt),C=Li();x!==null&&(Pu(x,rt,C),ea(x,C));return}}o=o.return}y(`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.
|
|
214
|
+
|
|
215
|
+
Error message:
|
|
216
|
+
|
|
217
|
+
%s`,a)}function DD(e,t,a){var o=e.pingCache;o!==null&&o.delete(t);var u=Li();Af(e,a),VD(e),Oi===e&&Wl($r,a)&&(Rr===Om||Rr===Oy&&Bl($r)&&tr()-$x<OE?_c(e,ue):My=vt(My,a)),ea(e,u)}function GE(e,t){t===Ft&&(t=fD(e));var a=Li(),o=Xi(e,t);o!==null&&(Pu(o,t,a),ea(o,a))}function OD(e){var t=e.memoizedState,a=Ft;t!==null&&(a=t.retryLane),GE(e,a)}function LD(e,t){var a=Ft,o;switch(e.tag){case ne:o=e.stateNode;var u=e.memoizedState;u!==null&&(a=u.retryLane);break;case Yt:o=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}o!==null&&o.delete(t),GE(e,a)}function MD(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:lD(e/1960)*1960}function zD(){if(jm>sD)throw jm=0,_x=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.");Cd>cD&&(Cd=0,Uy=null,y("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 AD(){xo.flushLegacyContextWarning(),xo.flushPendingUnsafeLifecycleWarnings()}function QE(e,t){Jt(e),Hy(e,Wo,tD),t&&Hy(e,Ua,nD),Hy(e,Wo,ZN),t&&Hy(e,Ua,eD),mn()}function Hy(e,t,a){for(var o=e,u=null;o!==null;){var f=o.subtreeFlags&t;o!==u&&o.child!==null&&f!==We?o=o.child:((o.flags&t)!==We&&a(o),o.sibling!==null?o=o.sibling:o=u=o.return)}}var Iy=null;function qE(e){{if((Dt&Jr)!==Cr||!(e.mode&St))return;var t=e.tag;if(t!==A&&t!==N&&t!==_&&t!==T&&t!==K&&t!==pe&&t!==le)return;var a=dt(e)||"ReactComponent";if(Iy!==null){if(Iy.has(a))return;Iy.add(a)}else Iy=new Set([a]);var o=hr;try{Jt(e),y("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{o?Jt(e):mn()}}}var zx;{var UD=null;zx=function(e,t,a){var o=rC(UD,t);try{return uE(e,t,a)}catch(f){if(qk()||f!==null&&typeof f=="object"&&typeof f.then=="function")throw f;if(Kv(),c1(),mE(e,t),rC(t,o),t.mode&Pt&&Ub(t),Bo(null,uE,null,e,t,a),lo()){var u=Ls();typeof u=="object"&&u!==null&&u._suppressLogging&&typeof f=="object"&&f!==null&&!f._suppressLogging&&(f._suppressLogging=!0)}throw f}}}var KE=!1,Ax;Ax=new Set;function jD(e){if(Na&&!T_())switch(e.tag){case T:case K:case le:{var t=Un&&dt(Un)||"Unknown",a=t;if(!Ax.has(a)){Ax.add(a);var o=dt(e)||"Unknown";y("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",o,t,t)}break}case _:{KE||(y("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),KE=!0);break}}}function Pm(e,t){if(ci){var a=e.memoizedUpdaters;a.forEach(function(o){Js(e,o,t)})}}var Ux={};function jx(e,t){{var a=ko.current;return a!==null?(a.push(t),Ux):sp(e,t)}}function XE(e){if(e!==Ux)return Mh(e)}function JE(){return ko.current!==null}function FD(e){{if(e.mode&St){if(!_E())return}else if(!oD()||Dt!==Cr||e.tag!==T&&e.tag!==K&&e.tag!==le)return;if(ko.current===null){var t=hr;try{Jt(e),y(`An update to %s inside a test was not wrapped in act(...).
|
|
218
|
+
|
|
219
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
220
|
+
|
|
221
|
+
act(() => {
|
|
222
|
+
/* fire events that update state */
|
|
223
|
+
});
|
|
224
|
+
/* assert on the output */
|
|
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`,dt(e))}finally{t?Jt(e):mn()}}}}function VD(e){e.tag!==Zu&&_E()&&ko.current===null&&y(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
227
|
+
|
|
228
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
229
|
+
|
|
230
|
+
act(() => {
|
|
231
|
+
/* finish loading suspended data */
|
|
232
|
+
});
|
|
233
|
+
/* assert on the output */
|
|
234
|
+
|
|
235
|
+
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 Hm(e){zE=e}var Ja=null,$d=null,PD=function(e){Ja=e};function Rd(e){{if(Ja===null)return e;var t=Ja(e);return t===void 0?e:t.current}}function Fx(e){return Rd(e)}function Vx(e){{if(Ja===null)return e;var t=Ja(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var a=Rd(e.render);if(e.render!==a){var o={$$typeof:Be,render:a};return e.displayName!==void 0&&(o.displayName=e.displayName),o}}return e}return t.current}}function ZE(e,t){{if(Ja===null)return!1;var a=e.elementType,o=t.type,u=!1,f=typeof o=="object"&&o!==null?o.$$typeof:null;switch(e.tag){case _:{typeof o=="function"&&(u=!0);break}case T:{(typeof o=="function"||f===Qe)&&(u=!0);break}case K:{(f===Be||f===Qe)&&(u=!0);break}case pe:case le:{(f===ut||f===Qe)&&(u=!0);break}default:return!1}if(u){var m=Ja(a);if(m!==void 0&&m===Ja(o))return!0}return!1}}function eC(e){{if(Ja===null||typeof WeakSet!="function")return;$d===null&&($d=new WeakSet),$d.add(e)}}var HD=function(e,t){{if(Ja===null)return;var a=t.staleFamilies,o=t.updatedFamilies;uu(),lu(function(){Px(e.current,o,a)})}},ID=function(e,t){{if(e.context!==ba)return;uu(),lu(function(){Im(t,e,null,null)})}};function Px(e,t,a){{var o=e.alternate,u=e.child,f=e.sibling,m=e.tag,g=e.type,x=null;switch(m){case T:case le:case _:x=g;break;case K:x=g.render;break}if(Ja===null)throw new Error("Expected resolveFamily to be set during hot reload.");var C=!1,$=!1;if(x!==null){var j=Ja(x);j!==void 0&&(a.has(j)?$=!0:t.has(j)&&(m===_?$=!0:C=!0))}if($d!==null&&($d.has(e)||o!==null&&$d.has(o))&&($=!0),$&&(e._debugNeedsRemount=!0),$||C){var z=Xi(e,rt);z!==null&&Tr(z,e,rt,on)}u!==null&&!$&&Px(u,t,a),f!==null&&Px(f,t,a)}}var BD=function(e,t){{var a=new Set,o=new Set(t.map(function(u){return u.current}));return Hx(e.current,o,a),a}};function Hx(e,t,a){{var o=e.child,u=e.sibling,f=e.tag,m=e.type,g=null;switch(f){case T:case le:case _:g=m;break;case K:g=m.render;break}var x=!1;g!==null&&t.has(g)&&(x=!0),x?WD(e,a):o!==null&&Hx(o,t,a),u!==null&&Hx(u,t,a)}}function WD(e,t){{var a=YD(e,t);if(a)return;for(var o=e;;){switch(o.tag){case V:t.add(o.stateNode);return;case M:t.add(o.stateNode.containerInfo);return;case N:t.add(o.stateNode.containerInfo);return}if(o.return===null)throw new Error("Expected to reach root first.");o=o.return}}}function YD(e,t){for(var a=e,o=!1;;){if(a.tag===V)o=!0,t.add(a.stateNode);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)return o;for(;a.sibling===null;){if(a.return===null||a.return===e)return o;a=a.return}a.sibling.return=a.return,a=a.sibling}return!1}var Ix;{Ix=!1;try{var tC=Object.preventExtensions({})}catch{Ix=!0}}function GD(e,t,a,o){this.tag=e,this.key=a,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=o,this.flags=We,this.subtreeFlags=We,this.deletions=null,this.lanes=ue,this.childLanes=ue,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,!Ix&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var xa=function(e,t,a,o){return new GD(e,t,a,o)};function Bx(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function QD(e){return typeof e=="function"&&!Bx(e)&&e.defaultProps===void 0}function qD(e){if(typeof e=="function")return Bx(e)?_:T;if(e!=null){var t=e.$$typeof;if(t===Be)return K;if(t===ut)return pe}return A}function Dc(e,t){var a=e.alternate;a===null?(a=xa(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a._debugSource=e._debugSource,a._debugOwner=e._debugOwner,a._debugHookTypes=e._debugHookTypes,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=We,a.subtreeFlags=We,a.deletions=null,a.actualDuration=0,a.actualStartTime=-1),a.flags=e.flags&Hn,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue;var o=e.dependencies;switch(a.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.selfBaseDuration=e.selfBaseDuration,a.treeBaseDuration=e.treeBaseDuration,a._debugNeedsRemount=e._debugNeedsRemount,a.tag){case A:case T:case le:a.type=Rd(e.type);break;case _:a.type=Fx(e.type);break;case K:a.type=Vx(e.type);break}return a}function KD(e,t){e.flags&=Hn|Dn;var a=e.alternate;if(a===null)e.childLanes=ue,e.lanes=t,e.child=null,e.subtreeFlags=We,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=We,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type;var o=a.dependencies;e.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},e.selfBaseDuration=a.selfBaseDuration,e.treeBaseDuration=a.treeBaseDuration}return e}function XD(e,t,a){var o;return e===Vv?(o=St,t===!0&&(o|=tn,o|=Ht)):o=Ye,ci&&(o|=Pt),xa(N,null,null,o)}function Wx(e,t,a,o,u,f){var m=A,g=e;if(typeof e=="function")Bx(e)?(m=_,g=Fx(g)):g=Rd(g);else if(typeof e=="string")m=V;else e:switch(e){case ka:return ds(a.children,u,f,t);case oa:m=oe,u|=tn,(u&St)!==Ye&&(u|=Ht);break;case O:return JD(a,u,f,t);case Et:return ZD(a,u,f,t);case lt:return e3(a,u,f,t);case un:return nC(a,u,f,t);case mr:case Fn:case la:case Ai:case pn:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case se:m=X;break e;case Ee:m=ge;break e;case Be:m=K,g=Vx(g);break e;case ut:m=pe;break e;case Qe:m=Je,g=null;break e}var x="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(x+=" 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 C=o?dt(o):null;C&&(x+=`
|
|
236
|
+
|
|
237
|
+
Check the render method of \``+C+"`.")}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)+"."+x))}}var $=xa(m,a,t,u);return $.elementType=e,$.type=g,$.lanes=f,$._debugOwner=o,$}function Yx(e,t,a){var o=null;o=e._owner;var u=e.type,f=e.key,m=e.props,g=Wx(u,f,m,o,t,a);return g._debugSource=e._source,g._debugOwner=e._owner,g}function ds(e,t,a,o){var u=xa(re,e,o,t);return u.lanes=a,u}function JD(e,t,a,o){typeof e.id!="string"&&y('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var u=xa(ie,e,o,t|Pt);return u.elementType=O,u.lanes=a,u.stateNode={effectDuration:0,passiveEffectDuration:0},u}function ZD(e,t,a,o){var u=xa(ne,e,o,t);return u.elementType=Et,u.lanes=a,u}function e3(e,t,a,o){var u=xa(Yt,e,o,t);return u.elementType=lt,u.lanes=a,u}function nC(e,t,a,o){var u=xa(Pe,e,o,t);u.elementType=un,u.lanes=a;var f={isHidden:!1};return u.stateNode=f,u}function Gx(e,t,a){var o=xa(P,e,null,t);return o.lanes=a,o}function t3(){var e=xa(V,null,null,Ye);return e.elementType="DELETED",e}function n3(e){var t=xa(Lt,null,null,Ye);return t.stateNode=e,t}function Qx(e,t,a){var o=e.children!==null?e.children:[],u=xa(M,o,e.key,t);return u.lanes=a,u.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},u}function rC(e,t){return e===null&&(e=xa(A,null,null,Ye)),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 r3(e,t,a,o,u){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=_0,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=Ft,this.eventTimes=Xs(ue),this.expirationTimes=Xs(on),this.pendingLanes=ue,this.suspendedLanes=ue,this.pingedLanes=ue,this.expiredLanes=ue,this.mutableReadLanes=ue,this.finishedLanes=ue,this.entangledLanes=ue,this.entanglements=Xs(ue),this.identifierPrefix=o,this.onRecoverableError=u,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var f=this.pendingUpdatersLaneMap=[],m=0;m<jl;m++)f.push(new Set)}switch(t){case Vv:this._debugRootType=a?"hydrateRoot()":"createRoot()";break;case Zu:this._debugRootType=a?"hydrate()":"render()";break}}function iC(e,t,a,o,u,f,m,g,x,C){var $=new r3(e,t,a,g,x),j=XD(t,f);$.current=j,j.stateNode=$;{var z={element:o,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null};j.memoizedState=z}return lb(j),$}var qx="18.3.1";function i3(e,t,a){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return ti(o),{$$typeof:pr,key:o==null?null:""+o,children:e,containerInfo:t,implementation:a}}var Kx,Xx;Kx=!1,Xx={};function aC(e){if(!e)return ba;var t=zu(e),a=Vk(t);if(t.tag===_){var o=t.type;if(ul(o))return Ow(t,o,a)}return a}function a3(e,t){{var a=zu(e);if(a===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var o=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+o)}var u=ui(a);if(u===null)return null;if(u.mode&tn){var f=dt(a)||"Component";if(!Xx[f]){Xx[f]=!0;var m=hr;try{Jt(u),a.mode&tn?y("%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,f):y("%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,f)}finally{m?Jt(m):mn()}}}return u.stateNode}}function oC(e,t,a,o,u,f,m,g){var x=!1,C=null;return iC(e,t,x,C,a,o,u,f,m)}function lC(e,t,a,o,u,f,m,g,x,C){var $=!0,j=iC(a,o,$,e,u,f,m,g,x);j.context=aC(null);var z=j.current,Y=Li(),q=cs(z),ee=ru(Y,q);return ee.callback=t??null,ns(z,ee,q),dD(j,q,Y),j}function Im(e,t,a,o){dp(t,e);var u=t.current,f=Li(),m=cs(u);$n(m);var g=aC(a);t.context===null?t.context=g:t.pendingContext=g,Na&&hr!==null&&!Kx&&(Kx=!0,y(`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.
|
|
238
|
+
|
|
239
|
+
Check the render method of %s.`,dt(hr)||"Unknown"));var x=ru(f,m);x.payload={element:e},o=o===void 0?null:o,o!==null&&(typeof o!="function"&&y("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",o),x.callback=o);var C=ns(u,x,m);return C!==null&&(Tr(C,u,m,f),ty(C,u,m)),m}function By(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case V:return t.child.stateNode;default:return t.child.stateNode}}function o3(e){switch(e.tag){case N:{var t=e.stateNode;if(jf(t)){var a=Vh(t);vD(t,a)}break}case ne:{lu(function(){var u=Xi(e,rt);if(u!==null){var f=Li();Tr(u,e,rt,f)}});var o=rt;Jx(e,o);break}}}function uC(e,t){var a=e.memoizedState;a!==null&&a.dehydrated!==null&&(a.retryLane=Wh(a.retryLane,t))}function Jx(e,t){uC(e,t);var a=e.alternate;a&&uC(a,t)}function l3(e){if(e.tag===ne){var t=Ws,a=Xi(e,t);if(a!==null){var o=Li();Tr(a,e,t,o)}Jx(e,t)}}function u3(e){if(e.tag===ne){var t=cs(e),a=Xi(e,t);if(a!==null){var o=Li();Tr(a,e,t,o)}Jx(e,t)}}function sC(e){var t=bn(e);return t===null?null:t.stateNode}var cC=function(e){return null};function s3(e){return cC(e)}var fC=function(e){return!1};function c3(e){return fC(e)}var dC=null,pC=null,mC=null,hC=null,vC=null,yC=null,gC=null,bC=null,xC=null;{var SC=function(e,t,a){var o=t[a],u=bt(e)?e.slice():xt({},e);return a+1===t.length?(bt(u)?u.splice(o,1):delete u[o],u):(u[o]=SC(e[o],t,a+1),u)},wC=function(e,t){return SC(e,t,0)},EC=function(e,t,a,o){var u=t[o],f=bt(e)?e.slice():xt({},e);if(o+1===t.length){var m=a[o];f[m]=f[u],bt(f)?f.splice(u,1):delete f[u]}else f[u]=EC(e[u],t,a,o+1);return f},CC=function(e,t,a){if(t.length!==a.length){E("copyWithRename() expects paths of the same length");return}else for(var o=0;o<a.length-1;o++)if(t[o]!==a[o]){E("copyWithRename() expects paths to be the same except for the deepest key");return}return EC(e,t,a,0)},$C=function(e,t,a,o){if(a>=t.length)return o;var u=t[a],f=bt(e)?e.slice():xt({},e);return f[u]=$C(e[u],t,a+1,o),f},RC=function(e,t,a){return $C(e,t,0,a)},Zx=function(e,t){for(var a=e.memoizedState;a!==null&&t>0;)a=a.next,t--;return a};dC=function(e,t,a,o){var u=Zx(e,t);if(u!==null){var f=RC(u.memoizedState,a,o);u.memoizedState=f,u.baseState=f,e.memoizedProps=xt({},e.memoizedProps);var m=Xi(e,rt);m!==null&&Tr(m,e,rt,on)}},pC=function(e,t,a){var o=Zx(e,t);if(o!==null){var u=wC(o.memoizedState,a);o.memoizedState=u,o.baseState=u,e.memoizedProps=xt({},e.memoizedProps);var f=Xi(e,rt);f!==null&&Tr(f,e,rt,on)}},mC=function(e,t,a,o){var u=Zx(e,t);if(u!==null){var f=CC(u.memoizedState,a,o);u.memoizedState=f,u.baseState=f,e.memoizedProps=xt({},e.memoizedProps);var m=Xi(e,rt);m!==null&&Tr(m,e,rt,on)}},hC=function(e,t,a){e.pendingProps=RC(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var o=Xi(e,rt);o!==null&&Tr(o,e,rt,on)},vC=function(e,t){e.pendingProps=wC(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Xi(e,rt);a!==null&&Tr(a,e,rt,on)},yC=function(e,t,a){e.pendingProps=CC(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var o=Xi(e,rt);o!==null&&Tr(o,e,rt,on)},gC=function(e){var t=Xi(e,rt);t!==null&&Tr(t,e,rt,on)},bC=function(e){cC=e},xC=function(e){fC=e}}function f3(e){var t=ui(e);return t===null?null:t.stateNode}function d3(e){return null}function p3(){return hr}function m3(e){var t=e.findFiberByHostInstance,a=d.ReactCurrentDispatcher;return ju({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:dC,overrideHookStateDeletePath:pC,overrideHookStateRenamePath:mC,overrideProps:hC,overridePropsDeletePath:vC,overridePropsRenamePath:yC,setErrorHandler:bC,setSuspenseHandler:xC,scheduleUpdate:gC,currentDispatcherRef:a,findHostInstanceByFiber:f3,findFiberByHostInstance:t||d3,findHostInstancesForRefresh:BD,scheduleRefresh:HD,scheduleRoot:ID,setRefreshHandler:PD,getCurrentFiber:p3,reconcilerVersion:qx})}var TC=typeof reportError=="function"?reportError:function(e){console.error(e)};function eS(e){this._internalRoot=e}Wy.prototype.render=eS.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?y("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Yy(arguments[1])?y("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"&&y("You passed a second argument to root.render(...) but it only accepts one argument.");var a=t.containerInfo;if(a.nodeType!==Vn){var o=sC(t.current);o&&o.parentNode!==a&&y("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.")}}Im(e,t,null,null)},Wy.prototype.unmount=eS.prototype.unmount=function(){typeof arguments[0]=="function"&&y("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;FE()&&y("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."),lu(function(){Im(null,e,null,null)}),Tw(t)}};function h3(e,t){if(!Yy(e))throw new Error("createRoot(...): Target container is not a DOM element.");kC(e);var a=!1,o=!1,u="",f=TC;t!=null&&(t.hydrate?E("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===ni&&y(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
240
|
+
|
|
241
|
+
let root = createRoot(domContainer);
|
|
242
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(u=t.identifierPrefix),t.onRecoverableError!==void 0&&(f=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var m=oC(e,Vv,null,a,o,u,f);Lv(m.current,e);var g=e.nodeType===Vn?e.parentNode:e;return qp(g),new eS(m)}function Wy(e){this._internalRoot=e}function v3(e){e&&tv(e)}Wy.prototype.unstable_scheduleHydration=v3;function y3(e,t,a){if(!Yy(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");kC(e),t===void 0&&y("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var o=a??null,u=a!=null&&a.hydratedSources||null,f=!1,m=!1,g="",x=TC;a!=null&&(a.unstable_strictMode===!0&&(f=!0),a.identifierPrefix!==void 0&&(g=a.identifierPrefix),a.onRecoverableError!==void 0&&(x=a.onRecoverableError));var C=lC(t,null,e,Vv,o,f,m,g,x);if(Lv(C.current,e),qp(e),u)for(var $=0;$<u.length;$++){var j=u[$];S_(C,j)}return new Wy(C)}function Yy(e){return!!(e&&(e.nodeType===ii||e.nodeType===oo||e.nodeType===Xd))}function Bm(e){return!!(e&&(e.nodeType===ii||e.nodeType===oo||e.nodeType===Xd||e.nodeType===Vn&&e.nodeValue===" react-mount-point-unstable "))}function kC(e){e.nodeType===ii&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&y("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."),om(e)&&(e._reactRootContainer?y("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):y("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 g3=d.ReactCurrentOwner,_C;_C=function(e){if(e._reactRootContainer&&e.nodeType!==Vn){var t=sC(e._reactRootContainer.current);t&&t.parentNode!==e&&y("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 a=!!e._reactRootContainer,o=tS(e),u=!!(o&&Xu(o));u&&!a&&y("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===ii&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&y("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 tS(e){return e?e.nodeType===oo?e.documentElement:e.firstChild:null}function NC(){}function b3(e,t,a,o,u){if(u){if(typeof o=="function"){var f=o;o=function(){var z=By(m);f.call(z)}}var m=lC(t,o,e,Zu,null,!1,!1,"",NC);e._reactRootContainer=m,Lv(m.current,e);var g=e.nodeType===Vn?e.parentNode:e;return qp(g),lu(),m}else{for(var x;x=e.lastChild;)e.removeChild(x);if(typeof o=="function"){var C=o;o=function(){var z=By($);C.call(z)}}var $=oC(e,Zu,null,!1,!1,"",NC);e._reactRootContainer=$,Lv($.current,e);var j=e.nodeType===Vn?e.parentNode:e;return qp(j),lu(function(){Im(t,$,a,o)}),$}}function x3(e,t){e!==null&&typeof e!="function"&&y("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function Gy(e,t,a,o,u){_C(a),x3(u===void 0?null:u,"render");var f=a._reactRootContainer,m;if(!f)m=b3(a,t,e,u,o);else{if(m=f,typeof u=="function"){var g=u;u=function(){var x=By(m);g.call(x)}}Im(t,m,e,u)}return By(m)}var DC=!1;function S3(e){{DC||(DC=!0,y("findDOMNode is deprecated and will be removed in the next major release. 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"));var t=g3.current;if(t!==null&&t.stateNode!==null){var a=t.stateNode._warnedAboutRefsInRender;a||y("%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.",zt(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===ii?e:a3(e,"findDOMNode")}function w3(e,t,a){if(y("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"),!Bm(t))throw new Error("Target container is not a DOM element.");{var o=om(t)&&t._reactRootContainer===void 0;o&&y("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 Gy(null,e,t,!0,a)}function E3(e,t,a){if(y("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"),!Bm(t))throw new Error("Target container is not a DOM element.");{var o=om(t)&&t._reactRootContainer===void 0;o&&y("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 Gy(null,e,t,!1,a)}function C3(e,t,a,o){if(y("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"),!Bm(a))throw new Error("Target container is not a DOM element.");if(e==null||!Jg(e))throw new Error("parentComponent must be a valid React Component");return Gy(e,t,a,!1,o)}var OC=!1;function $3(e){if(OC||(OC=!0,y("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")),!Bm(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=om(e)&&e._reactRootContainer===void 0;t&&y("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 a=tS(e),o=a&&!Xu(a);o&&y("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return lu(function(){Gy(null,null,e,!1,function(){e._reactRootContainer=null,Tw(e)})}),!0}else{{var u=tS(e),f=!!(u&&Xu(u)),m=e.nodeType===ii&&Bm(e.parentNode)&&!!e.parentNode._reactRootContainer;f&&y("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",m?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}Mr(o3),Hu(l3),Xh(u3),nc(Qi),Op(Qh),(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")&&y("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"),ef(TT),Xg(Ox,yD,lu);function R3(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Yy(t))throw new Error("Target container is not a DOM element.");return i3(e,t,null,a)}function T3(e,t,a,o){return C3(e,t,a,o)}var nS={usingClientEntryPoint:!1,Events:[Xu,rd,Mv,Du,tf,Ox]};function k3(e,t){return nS.usingClientEntryPoint||y('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),h3(e,t)}function _3(e,t,a){return nS.usingClientEntryPoint||y('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),y3(e,t,a)}function N3(e){return FE()&&y("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."),lu(e)}var D3=m3({findFiberByHostInstance:vc,bundleType:1,version:qx,rendererPackageName:"react-dom"});if(!D3&&fn&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var LC=window.location.protocol;/^(https?|file):$/.test(LC)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(LC==="file:"?`
|
|
243
|
+
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}na.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=nS,na.createPortal=R3,na.createRoot=k3,na.findDOMNode=S3,na.flushSync=N3,na.hydrate=w3,na.hydrateRoot=_3,na.render=E3,na.unmountComponentAtNode=$3,na.unstable_batchedUpdates=Ox,na.unstable_renderSubtreeIntoContainer=T3,na.version=qx,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),na}var YC;function W3(){if(YC)return Jy.exports;YC=1;function n(){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(n)}catch(s){console.error(s)}}}return process.env.NODE_ENV==="production"?(n(),Jy.exports=I3()):Jy.exports=B3(),Jy.exports}W3();/**
|
|
244
|
+
* @remix-run/router v1.20.0
|
|
245
|
+
*
|
|
246
|
+
* Copyright (c) Remix Software Inc.
|
|
247
|
+
*
|
|
248
|
+
* This source code is licensed under the MIT license found in the
|
|
249
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
250
|
+
*
|
|
251
|
+
* @license MIT
|
|
252
|
+
*/function gS(){return gS=Object.assign?Object.assign.bind():function(n){for(var s=1;s<arguments.length;s++){var d=arguments[s];for(var v in d)Object.prototype.hasOwnProperty.call(d,v)&&(n[v]=d[v])}return n},gS.apply(this,arguments)}var GC;(function(n){n.Pop="POP",n.Push="PUSH",n.Replace="REPLACE"})(GC||(GC={}));function ir(n,s){if(n===!1||n===null||typeof n>"u")throw new Error(s)}function Jm(n,s){if(!n){typeof console<"u"&&console.warn(s);try{throw new Error(s)}catch{}}}function bS(n){let{pathname:s="/",search:d="",hash:v=""}=n;return d&&d!=="?"&&(s+=d.charAt(0)==="?"?d:"?"+d),v&&v!=="#"&&(s+=v.charAt(0)==="#"?v:"#"+v),s}function M$(n){let s={};if(n){let d=n.indexOf("#");d>=0&&(s.hash=n.substr(d),n=n.substr(0,d));let v=n.indexOf("?");v>=0&&(s.search=n.substr(v),n=n.substr(0,v)),n&&(s.pathname=n)}return s}var QC;(function(n){n.data="data",n.deferred="deferred",n.redirect="redirect",n.error="error"})(QC||(QC={}));function qC(n,s){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[d,v]=Y3(n.path,n.caseSensitive,n.end),b=s.match(d);if(!b)return null;let E=b[0],y=E.replace(/(.)\/+$/,"$1"),R=b.slice(1);return{params:v.reduce((_,A,N)=>{let{paramName:M,isOptional:V}=A;if(M==="*"){let re=R[N]||"";y=E.slice(0,E.length-re.length).replace(/(.)\/+$/,"$1")}const P=R[N];return V&&!P?_[M]=void 0:_[M]=(P||"").replace(/%2F/g,"/"),_},{}),pathname:E,pathnameBase:y,pattern:n}}function Y3(n,s,d){s===void 0&&(s=!1),d===void 0&&(d=!0),Jm(n==="*"||!n.endsWith("*")||n.endsWith("/*"),'Route path "'+n+'" will be treated as if it were '+('"'+n.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+n.replace(/\*$/,"/*")+'".'));let v=[],b="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(y,R,T)=>(v.push({paramName:R,isOptional:T!=null}),T?"/?([^\\/]+)?":"/([^\\/]+)"));return n.endsWith("*")?(v.push({paramName:"*"}),b+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):d?b+="\\/*$":n!==""&&n!=="/"&&(b+="(?:(?=\\/|$))"),[new RegExp(b,s?void 0:"i"),v]}function _d(n,s){if(s==="/")return n;if(!n.toLowerCase().startsWith(s.toLowerCase()))return null;let d=s.endsWith("/")?s.length-1:s.length,v=n.charAt(d);return v&&v!=="/"?null:n.slice(d)||"/"}function G3(n,s){s===void 0&&(s="/");let{pathname:d,search:v="",hash:b=""}=typeof n=="string"?M$(n):n;return{pathname:d?d.startsWith("/")?d:Q3(d,s):s,search:K3(v),hash:X3(b)}}function Q3(n,s){let d=s.replace(/\/+$/,"").split("/");return n.split("/").forEach(b=>{b===".."?d.length>1&&d.pop():b!=="."&&d.push(b)}),d.length>1?d.join("/"):"/"}function aS(n,s,d,v){return"Cannot include a '"+n+"' character in a manually specified "+("`to."+s+"` field ["+JSON.stringify(v)+"]. Please separate it out to the ")+("`to."+d+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function q3(n){return n.filter((s,d)=>d===0||s.route.path&&s.route.path.length>0)}function z$(n,s){let d=q3(n);return s?d.map((v,b)=>b===d.length-1?v.pathname:v.pathnameBase):d.map(v=>v.pathnameBase)}function A$(n,s,d,v){v===void 0&&(v=!1);let b;typeof n=="string"?b=M$(n):(b=gS({},n),ir(!b.pathname||!b.pathname.includes("?"),aS("?","pathname","search",b)),ir(!b.pathname||!b.pathname.includes("#"),aS("#","pathname","hash",b)),ir(!b.search||!b.search.includes("#"),aS("#","search","hash",b)));let E=n===""||b.pathname==="",y=E?"/":b.pathname,R;if(y==null)R=d;else{let N=s.length-1;if(!v&&y.startsWith("..")){let M=y.split("/");for(;M[0]==="..";)M.shift(),N-=1;b.pathname=M.join("/")}R=N>=0?s[N]:"/"}let T=G3(b,R),_=y&&y!=="/"&&y.endsWith("/"),A=(E||y===".")&&d.endsWith("/");return!T.pathname.endsWith("/")&&(_||A)&&(T.pathname+="/"),T}const AS=n=>n.join("/").replace(/\/\/+/g,"/"),K3=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,X3=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n,U$=["post","put","patch","delete"];new Set(U$);const J3=["get",...U$];new Set(J3);/**
|
|
253
|
+
* React Router v6.27.0
|
|
254
|
+
*
|
|
255
|
+
* Copyright (c) Remix Software Inc.
|
|
256
|
+
*
|
|
257
|
+
* This source code is licensed under the MIT license found in the
|
|
258
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
259
|
+
*
|
|
260
|
+
* @license MIT
|
|
261
|
+
*/function xS(){return xS=Object.assign?Object.assign.bind():function(n){for(var s=1;s<arguments.length;s++){var d=arguments[s];for(var v in d)Object.prototype.hasOwnProperty.call(d,v)&&(n[v]=d[v])}return n},xS.apply(this,arguments)}const kg=ze.createContext(null);process.env.NODE_ENV!=="production"&&(kg.displayName="DataRouter");const j$=ze.createContext(null);process.env.NODE_ENV!=="production"&&(j$.displayName="DataRouterState");const Z3=ze.createContext(null);process.env.NODE_ENV!=="production"&&(Z3.displayName="Await");const mu=ze.createContext(null);process.env.NODE_ENV!=="production"&&(mu.displayName="Navigation");const US=ze.createContext(null);process.env.NODE_ENV!=="production"&&(US.displayName="Location");const Fd=ze.createContext({outlet:null,matches:[],isDataRoute:!1});process.env.NODE_ENV!=="production"&&(Fd.displayName="Route");const eO=ze.createContext(null);process.env.NODE_ENV!=="production"&&(eO.displayName="RouteError");function tO(n,s){let{relative:d}=s===void 0?{}:s;jS()||(process.env.NODE_ENV!=="production"?ir(!1,"useHref() may be used only in the context of a <Router> component."):ir(!1));let{basename:v,navigator:b}=ze.useContext(mu),{hash:E,pathname:y,search:R}=eh(n,{relative:d}),T=y;return v!=="/"&&(T=y==="/"?v:AS([v,y])),b.createHref({pathname:T,search:R,hash:E})}function jS(){return ze.useContext(US)!=null}function Zm(){return jS()||(process.env.NODE_ENV!=="production"?ir(!1,"useLocation() may be used only in the context of a <Router> component."):ir(!1)),ze.useContext(US).location}const F$="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function V$(n){ze.useContext(mu).static||ze.useLayoutEffect(n)}function nO(){let{isDataRoute:n}=ze.useContext(Fd);return n?lO():rO()}function rO(){jS()||(process.env.NODE_ENV!=="production"?ir(!1,"useNavigate() may be used only in the context of a <Router> component."):ir(!1));let n=ze.useContext(kg),{basename:s,future:d,navigator:v}=ze.useContext(mu),{matches:b}=ze.useContext(Fd),{pathname:E}=Zm(),y=JSON.stringify(z$(b,d.v7_relativeSplatPath)),R=ze.useRef(!1);return V$(()=>{R.current=!0}),ze.useCallback(function(_,A){if(A===void 0&&(A={}),process.env.NODE_ENV!=="production"&&Jm(R.current,F$),!R.current)return;if(typeof _=="number"){v.go(_);return}let N=A$(_,JSON.parse(y),E,A.relative==="path");n==null&&s!=="/"&&(N.pathname=N.pathname==="/"?s:AS([s,N.pathname])),(A.replace?v.replace:v.push)(N,A.state,A)},[s,v,y,E,n])}function eh(n,s){let{relative:d}=s===void 0?{}:s,{future:v}=ze.useContext(mu),{matches:b}=ze.useContext(Fd),{pathname:E}=Zm(),y=JSON.stringify(z$(b,v.v7_relativeSplatPath));return ze.useMemo(()=>A$(n,JSON.parse(y),E,d==="path"),[n,y,E,d])}var P$=function(n){return n.UseBlocker="useBlocker",n.UseRevalidator="useRevalidator",n.UseNavigateStable="useNavigate",n}(P$||{}),FS=function(n){return n.UseBlocker="useBlocker",n.UseLoaderData="useLoaderData",n.UseActionData="useActionData",n.UseRouteError="useRouteError",n.UseNavigation="useNavigation",n.UseRouteLoaderData="useRouteLoaderData",n.UseMatches="useMatches",n.UseRevalidator="useRevalidator",n.UseNavigateStable="useNavigate",n.UseRouteId="useRouteId",n}(FS||{});function H$(n){return n+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function iO(n){let s=ze.useContext(kg);return s||(process.env.NODE_ENV!=="production"?ir(!1,H$(n)):ir(!1)),s}function aO(n){let s=ze.useContext(Fd);return s||(process.env.NODE_ENV!=="production"?ir(!1,H$(n)):ir(!1)),s}function I$(n){let s=aO(n),d=s.matches[s.matches.length-1];return d.route.id||(process.env.NODE_ENV!=="production"?ir(!1,n+' can only be used on routes that contain a unique "id"'):ir(!1)),d.route.id}function oO(){return I$(FS.UseRouteId)}function lO(){let{router:n}=iO(P$.UseNavigateStable),s=I$(FS.UseNavigateStable),d=ze.useRef(!1);return V$(()=>{d.current=!0}),ze.useCallback(function(b,E){E===void 0&&(E={}),process.env.NODE_ENV!=="production"&&Jm(d.current,F$),d.current&&(typeof b=="number"?n.navigate(b):n.navigate(b,xS({fromRouteId:s},E)))},[n,s])}new Promise(()=>{});/**
|
|
262
|
+
* React Router DOM v6.27.0
|
|
263
|
+
*
|
|
264
|
+
* Copyright (c) Remix Software Inc.
|
|
265
|
+
*
|
|
266
|
+
* This source code is licensed under the MIT license found in the
|
|
267
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
268
|
+
*
|
|
269
|
+
* @license MIT
|
|
270
|
+
*/function Nd(){return Nd=Object.assign?Object.assign.bind():function(n){for(var s=1;s<arguments.length;s++){var d=arguments[s];for(var v in d)Object.prototype.hasOwnProperty.call(d,v)&&(n[v]=d[v])}return n},Nd.apply(this,arguments)}function VS(n,s){if(n==null)return{};var d={},v=Object.keys(n),b,E;for(E=0;E<v.length;E++)b=v[E],!(s.indexOf(b)>=0)&&(d[b]=n[b]);return d}const ug="get",sg="application/x-www-form-urlencoded";function _g(n){return n!=null&&typeof n.tagName=="string"}function uO(n){return _g(n)&&n.tagName.toLowerCase()==="button"}function sO(n){return _g(n)&&n.tagName.toLowerCase()==="form"}function cO(n){return _g(n)&&n.tagName.toLowerCase()==="input"}function fO(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function dO(n,s){return n.button===0&&(!s||s==="_self")&&!fO(n)}let eg=null;function pO(){if(eg===null)try{new FormData(document.createElement("form"),0),eg=!1}catch{eg=!0}return eg}const mO=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function oS(n){return n!=null&&!mO.has(n)?(process.env.NODE_ENV!=="production"&&Jm(!1,'"'+n+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+sg+'"')),null):n}function hO(n,s){let d,v,b,E,y;if(sO(n)){let R=n.getAttribute("action");v=R?_d(R,s):null,d=n.getAttribute("method")||ug,b=oS(n.getAttribute("enctype"))||sg,E=new FormData(n)}else if(uO(n)||cO(n)&&(n.type==="submit"||n.type==="image")){let R=n.form;if(R==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let T=n.getAttribute("formaction")||R.getAttribute("action");if(v=T?_d(T,s):null,d=n.getAttribute("formmethod")||R.getAttribute("method")||ug,b=oS(n.getAttribute("formenctype"))||oS(R.getAttribute("enctype"))||sg,E=new FormData(R,n),!pO()){let{name:_,type:A,value:N}=n;if(A==="image"){let M=_?_+".":"";E.append(M+"x","0"),E.append(M+"y","0")}else _&&E.append(_,N)}}else{if(_g(n))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');d=ug,v=null,b=sg,y=n}return E&&b==="text/plain"&&(y=E,E=void 0),{action:v,method:d.toLowerCase(),encType:b,formData:E,body:y}}const vO=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],yO=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],gO=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"],bO="6";try{window.__reactRouterVersion=bO}catch{}const B$=ze.createContext({isTransitioning:!1});process.env.NODE_ENV!=="production"&&(B$.displayName="ViewTransition");const xO=ze.createContext(new Map);process.env.NODE_ENV!=="production"&&(xO.displayName="Fetchers");process.env.NODE_ENV;const SO=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",wO=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,th=ze.forwardRef(function(s,d){let{onClick:v,relative:b,reloadDocument:E,replace:y,state:R,target:T,to:_,preventScrollReset:A,viewTransition:N}=s,M=VS(s,vO),{basename:V}=ze.useContext(mu),P,re=!1;if(typeof _=="string"&&wO.test(_)&&(P=_,SO))try{let K=new URL(window.location.href),ie=_.startsWith("//")?new URL(K.protocol+_):new URL(_),ne=_d(ie.pathname,V);ie.origin===K.origin&&ne!=null?_=ne+ie.search+ie.hash:re=!0}catch{process.env.NODE_ENV!=="production"&&Jm(!1,'<Link to="'+_+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let oe=tO(_,{relative:b}),ge=RO(_,{replace:y,state:R,target:T,preventScrollReset:A,relative:b,viewTransition:N});function X(K){v&&v(K),K.defaultPrevented||ge(K)}return ze.createElement("a",Nd({},M,{href:P||oe,onClick:re||E?v:X,ref:d,target:T}))});process.env.NODE_ENV!=="production"&&(th.displayName="Link");const EO=ze.forwardRef(function(s,d){let{"aria-current":v="page",caseSensitive:b=!1,className:E="",end:y=!1,style:R,to:T,viewTransition:_,children:A}=s,N=VS(s,yO),M=eh(T,{relative:N.relative}),V=Zm(),P=ze.useContext(j$),{navigator:re,basename:oe}=ze.useContext(mu),ge=P!=null&&OO(M)&&_===!0,X=re.encodeLocation?re.encodeLocation(M).pathname:M.pathname,K=V.pathname,ie=P&&P.navigation&&P.navigation.location?P.navigation.location.pathname:null;b||(K=K.toLowerCase(),ie=ie?ie.toLowerCase():null,X=X.toLowerCase()),ie&&oe&&(ie=_d(ie,oe)||ie);const ne=X!=="/"&&X.endsWith("/")?X.length-1:X.length;let pe=K===X||!y&&K.startsWith(X)&&K.charAt(ne)==="/",le=ie!=null&&(ie===X||!y&&ie.startsWith(X)&&ie.charAt(X.length)==="/"),Je={isActive:pe,isPending:le,isTransitioning:ge},yt=pe?v:void 0,Lt;typeof E=="function"?Lt=E(Je):Lt=[E,pe?"active":null,le?"pending":null,ge?"transitioning":null].filter(Boolean).join(" ");let Yt=typeof R=="function"?R(Je):R;return ze.createElement(th,Nd({},N,{"aria-current":yt,className:Lt,ref:d,style:Yt,to:T,viewTransition:_}),typeof A=="function"?A(Je):A)});process.env.NODE_ENV!=="production"&&(EO.displayName="NavLink");const CO=ze.forwardRef((n,s)=>{let{fetcherKey:d,navigate:v,reloadDocument:b,replace:E,state:y,method:R=ug,action:T,onSubmit:_,relative:A,preventScrollReset:N,viewTransition:M}=n,V=VS(n,gO),P=NO(),re=DO(T,{relative:A}),oe=R.toLowerCase()==="get"?"get":"post",ge=X=>{if(_&&_(X),X.defaultPrevented)return;X.preventDefault();let K=X.nativeEvent.submitter,ie=(K==null?void 0:K.getAttribute("formmethod"))||R;P(K||X.currentTarget,{fetcherKey:d,method:ie,navigate:v,replace:E,state:y,relative:A,preventScrollReset:N,viewTransition:M})};return ze.createElement("form",Nd({ref:s,method:oe,action:re,onSubmit:b?_:ge},V))});process.env.NODE_ENV!=="production"&&(CO.displayName="Form");process.env.NODE_ENV;var hg;(function(n){n.UseScrollRestoration="useScrollRestoration",n.UseSubmit="useSubmit",n.UseSubmitFetcher="useSubmitFetcher",n.UseFetcher="useFetcher",n.useViewTransitionState="useViewTransitionState"})(hg||(hg={}));var KC;(function(n){n.UseFetcher="useFetcher",n.UseFetchers="useFetchers",n.UseScrollRestoration="useScrollRestoration"})(KC||(KC={}));function $O(n){return n+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function W$(n){let s=ze.useContext(kg);return s||(process.env.NODE_ENV!=="production"?ir(!1,$O(n)):ir(!1)),s}function RO(n,s){let{target:d,replace:v,state:b,preventScrollReset:E,relative:y,viewTransition:R}=s===void 0?{}:s,T=nO(),_=Zm(),A=eh(n,{relative:y});return ze.useCallback(N=>{if(dO(N,d)){N.preventDefault();let M=v!==void 0?v:bS(_)===bS(A);T(n,{replace:M,state:b,preventScrollReset:E,relative:y,viewTransition:R})}},[_,T,A,v,b,d,n,E,y,R])}function TO(){if(typeof document>"u")throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}let kO=0,_O=()=>"__"+String(++kO)+"__";function NO(){let{router:n}=W$(hg.UseSubmit),{basename:s}=ze.useContext(mu),d=oO();return ze.useCallback(function(v,b){b===void 0&&(b={}),TO();let{action:E,method:y,encType:R,formData:T,body:_}=hO(v,s);if(b.navigate===!1){let A=b.fetcherKey||_O();n.fetch(A,d,b.action||E,{preventScrollReset:b.preventScrollReset,formData:T,body:_,formMethod:b.method||y,formEncType:b.encType||R,flushSync:b.flushSync})}else n.navigate(b.action||E,{preventScrollReset:b.preventScrollReset,formData:T,body:_,formMethod:b.method||y,formEncType:b.encType||R,replace:b.replace,state:b.state,fromRouteId:d,flushSync:b.flushSync,viewTransition:b.viewTransition})},[n,s,d])}function DO(n,s){let{relative:d}=s===void 0?{}:s,{basename:v}=ze.useContext(mu),b=ze.useContext(Fd);b||(process.env.NODE_ENV!=="production"?ir(!1,"useFormAction must be used inside a RouteContext"):ir(!1));let[E]=b.matches.slice(-1),y=Nd({},eh(n||".",{relative:d})),R=Zm();if(n==null){y.search=R.search;let T=new URLSearchParams(y.search),_=T.getAll("index");if(_.some(N=>N==="")){T.delete("index"),_.filter(M=>M).forEach(M=>T.append("index",M));let N=T.toString();y.search=N?"?"+N:""}}return(!n||n===".")&&E.route.index&&(y.search=y.search?y.search.replace(/^\?/,"?index&"):"?index"),v!=="/"&&(y.pathname=y.pathname==="/"?v:AS([v,y.pathname])),bS(y)}function OO(n,s){s===void 0&&(s={});let d=ze.useContext(B$);d==null&&(process.env.NODE_ENV!=="production"?ir(!1,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?"):ir(!1));let{basename:v}=W$(hg.useViewTransitionState),b=eh(n,{relative:s.relative});if(!d.isTransitioning)return!1;let E=_d(d.currentLocation.pathname,v)||d.currentLocation.pathname,y=_d(d.nextLocation.pathname,v)||d.nextLocation.pathname;return qC(b.pathname,y)!=null||qC(b.pathname,E)!=null}var xi=function(){return xi=Object.assign||function(s){for(var d,v=1,b=arguments.length;v<b;v++){d=arguments[v];for(var E in d)Object.prototype.hasOwnProperty.call(d,E)&&(s[E]=d[E])}return s},xi.apply(this,arguments)};function Dd(n,s,d){if(d||arguments.length===2)for(var v=0,b=s.length,E;v<b;v++)(E||!(v in s))&&(E||(E=Array.prototype.slice.call(s,0,v)),E[v]=s[v]);return n.concat(E||Array.prototype.slice.call(s))}function LO(n){var s=Object.create(null);return function(d){return s[d]===void 0&&(s[d]=n(d)),s[d]}}var MO=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,zO=LO(function(n){return MO.test(n)||n.charCodeAt(0)===111&&n.charCodeAt(1)===110&&n.charCodeAt(2)<91}),Tn="-ms-",qm="-moz-",an="-webkit-",Y$="comm",Ng="rule",PS="decl",AO="@import",G$="@keyframes",UO="@layer",Q$=Math.abs,HS=String.fromCharCode,SS=Object.assign;function jO(n,s){return Ar(n,0)^45?(((s<<2^Ar(n,0))<<2^Ar(n,1))<<2^Ar(n,2))<<2^Ar(n,3):0}function q$(n){return n.trim()}function cu(n,s){return(n=s.exec(n))?n[0]:n}function Ct(n,s,d){return n.replace(s,d)}function cg(n,s,d){return n.indexOf(s,d)}function Ar(n,s){return n.charCodeAt(s)|0}function Od(n,s,d){return n.slice(s,d)}function yl(n){return n.length}function K$(n){return n.length}function Gm(n,s){return s.push(n),n}function FO(n,s){return n.map(s).join("")}function XC(n,s){return n.filter(function(d){return!cu(d,s)})}var Dg=1,Ld=1,X$=0,Za=0,fr=0,Vd="";function Og(n,s,d,v,b,E,y,R){return{value:n,root:s,parent:d,type:v,props:b,children:E,line:Dg,column:Ld,length:y,return:"",siblings:R}}function ps(n,s){return SS(Og("",null,null,"",null,null,0,n.siblings),n,{length:-n.length},s)}function kd(n){for(;n.root;)n=ps(n.root,{children:[n]});Gm(n,n.siblings)}function VO(){return fr}function PO(){return fr=Za>0?Ar(Vd,--Za):0,Ld--,fr===10&&(Ld=1,Dg--),fr}function _o(){return fr=Za<X$?Ar(Vd,Za++):0,Ld++,fr===10&&(Ld=1,Dg++),fr}function zc(){return Ar(Vd,Za)}function fg(){return Za}function Lg(n,s){return Od(Vd,n,s)}function wS(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 HO(n){return Dg=Ld=1,X$=yl(Vd=n),Za=0,[]}function IO(n){return Vd="",n}function lS(n){return q$(Lg(Za-1,ES(n===91?n+2:n===40?n+1:n)))}function BO(n){for(;(fr=zc())&&fr<33;)_o();return wS(n)>2||wS(fr)>3?"":" "}function WO(n,s){for(;--s&&_o()&&!(fr<48||fr>102||fr>57&&fr<65||fr>70&&fr<97););return Lg(n,fg()+(s<6&&zc()==32&&_o()==32))}function ES(n){for(;_o();)switch(fr){case n:return Za;case 34:case 39:n!==34&&n!==39&&ES(fr);break;case 40:n===41&&ES(n);break;case 92:_o();break}return Za}function YO(n,s){for(;_o()&&n+fr!==57;)if(n+fr===84&&zc()===47)break;return"/*"+Lg(s,Za-1)+"*"+HS(n===47?n:_o())}function GO(n){for(;!wS(zc());)_o();return Lg(n,Za)}function QO(n){return IO(dg("",null,null,null,[""],n=HO(n),0,[0],n))}function dg(n,s,d,v,b,E,y,R,T){for(var _=0,A=0,N=y,M=0,V=0,P=0,re=1,oe=1,ge=1,X=0,K="",ie=b,ne=E,pe=v,le=K;oe;)switch(P=X,X=_o()){case 40:if(P!=108&&Ar(le,N-1)==58){cg(le+=Ct(lS(X),"&","&\f"),"&\f",Q$(_?R[_-1]:0))!=-1&&(ge=-1);break}case 34:case 39:case 91:le+=lS(X);break;case 9:case 10:case 13:case 32:le+=BO(P);break;case 92:le+=WO(fg()-1,7);continue;case 47:switch(zc()){case 42:case 47:Gm(qO(YO(_o(),fg()),s,d,T),T);break;default:le+="/"}break;case 123*re:R[_++]=yl(le)*ge;case 125*re:case 59:case 0:switch(X){case 0:case 125:oe=0;case 59+A:ge==-1&&(le=Ct(le,/\f/g,"")),V>0&&yl(le)-N&&Gm(V>32?ZC(le+";",v,d,N-1,T):ZC(Ct(le," ","")+";",v,d,N-2,T),T);break;case 59:le+=";";default:if(Gm(pe=JC(le,s,d,_,A,b,R,K,ie=[],ne=[],N,E),E),X===123)if(A===0)dg(le,s,pe,pe,ie,E,N,R,ne);else switch(M===99&&Ar(le,3)===110?100:M){case 100:case 108:case 109:case 115:dg(n,pe,pe,v&&Gm(JC(n,pe,pe,0,0,b,R,K,b,ie=[],N,ne),ne),b,ne,N,R,v?ie:ne);break;default:dg(le,pe,pe,pe,[""],ne,0,R,ne)}}_=A=V=0,re=ge=1,K=le="",N=y;break;case 58:N=1+yl(le),V=P;default:if(re<1){if(X==123)--re;else if(X==125&&re++==0&&PO()==125)continue}switch(le+=HS(X),X*re){case 38:ge=A>0?1:(le+="\f",-1);break;case 44:R[_++]=(yl(le)-1)*ge,ge=1;break;case 64:zc()===45&&(le+=lS(_o())),M=zc(),A=N=yl(K=le+=GO(fg())),X++;break;case 45:P===45&&yl(le)==2&&(re=0)}}return E}function JC(n,s,d,v,b,E,y,R,T,_,A,N){for(var M=b-1,V=b===0?E:[""],P=K$(V),re=0,oe=0,ge=0;re<v;++re)for(var X=0,K=Od(n,M+1,M=Q$(oe=y[re])),ie=n;X<P;++X)(ie=q$(oe>0?V[X]+" "+K:Ct(K,/&\f/g,V[X])))&&(T[ge++]=ie);return Og(n,s,d,b===0?Ng:R,T,_,A,N)}function qO(n,s,d,v){return Og(n,s,d,Y$,HS(VO()),Od(n,2,-2),0,v)}function ZC(n,s,d,v,b){return Og(n,s,d,PS,Od(n,0,v),Od(n,v+1,-1),v,b)}function J$(n,s,d){switch(jO(n,s)){case 5103:return an+"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 an+n+n;case 4789:return qm+n+n;case 5349:case 4246:case 4810:case 6968:case 2756:return an+n+qm+n+Tn+n+n;case 5936:switch(Ar(n,s+11)){case 114:return an+n+Tn+Ct(n,/[svh]\w+-[tblr]{2}/,"tb")+n;case 108:return an+n+Tn+Ct(n,/[svh]\w+-[tblr]{2}/,"tb-rl")+n;case 45:return an+n+Tn+Ct(n,/[svh]\w+-[tblr]{2}/,"lr")+n}case 6828:case 4268:case 2903:return an+n+Tn+n+n;case 6165:return an+n+Tn+"flex-"+n+n;case 5187:return an+n+Ct(n,/(\w+).+(:[^]+)/,an+"box-$1$2"+Tn+"flex-$1$2")+n;case 5443:return an+n+Tn+"flex-item-"+Ct(n,/flex-|-self/g,"")+(cu(n,/flex-|baseline/)?"":Tn+"grid-row-"+Ct(n,/flex-|-self/g,""))+n;case 4675:return an+n+Tn+"flex-line-pack"+Ct(n,/align-content|flex-|-self/g,"")+n;case 5548:return an+n+Tn+Ct(n,"shrink","negative")+n;case 5292:return an+n+Tn+Ct(n,"basis","preferred-size")+n;case 6060:return an+"box-"+Ct(n,"-grow","")+an+n+Tn+Ct(n,"grow","positive")+n;case 4554:return an+Ct(n,/([^-])(transform)/g,"$1"+an+"$2")+n;case 6187:return Ct(Ct(Ct(n,/(zoom-|grab)/,an+"$1"),/(image-set)/,an+"$1"),n,"")+n;case 5495:case 3959:return Ct(n,/(image-set\([^]*)/,an+"$1$`$1");case 4968:return Ct(Ct(n,/(.+:)(flex-)?(.*)/,an+"box-pack:$3"+Tn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+an+n+n;case 4200:if(!cu(n,/flex-|baseline/))return Tn+"grid-column-align"+Od(n,s)+n;break;case 2592:case 3360:return Tn+Ct(n,"template-","")+n;case 4384:case 3616:return d&&d.some(function(v,b){return s=b,cu(v.props,/grid-\w+-end/)})?~cg(n+(d=d[s].value),"span",0)?n:Tn+Ct(n,"-start","")+n+Tn+"grid-row-span:"+(~cg(d,"span",0)?cu(d,/\d+/):+cu(d,/\d+/)-+cu(n,/\d+/))+";":Tn+Ct(n,"-start","")+n;case 4896:case 4128:return d&&d.some(function(v){return cu(v.props,/grid-\w+-start/)})?n:Tn+Ct(Ct(n,"-end","-span"),"span ","")+n;case 4095:case 3583:case 4068:case 2532:return Ct(n,/(.+)-inline(.+)/,an+"$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(yl(n)-1-s>6)switch(Ar(n,s+1)){case 109:if(Ar(n,s+4)!==45)break;case 102:return Ct(n,/(.+:)(.+)-([^]+)/,"$1"+an+"$2-$3$1"+qm+(Ar(n,s+3)==108?"$3":"$2-$3"))+n;case 115:return~cg(n,"stretch",0)?J$(Ct(n,"stretch","fill-available"),s,d)+n:n}break;case 5152:case 5920:return Ct(n,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(v,b,E,y,R,T,_){return Tn+b+":"+E+_+(y?Tn+b+"-span:"+(R?T:+T-+E)+_:"")+n});case 4949:if(Ar(n,s+6)===121)return Ct(n,":",":"+an)+n;break;case 6444:switch(Ar(n,Ar(n,14)===45?18:11)){case 120:return Ct(n,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+an+(Ar(n,14)===45?"inline-":"")+"box$3$1"+an+"$2$3$1"+Tn+"$2box$3")+n;case 100:return Ct(n,":",":"+Tn)+n}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Ct(n,"scroll-","scroll-snap-")+n}return n}function vg(n,s){for(var d="",v=0;v<n.length;v++)d+=s(n[v],v,n,s)||"";return d}function KO(n,s,d,v){switch(n.type){case UO:if(n.children.length)break;case AO:case PS:return n.return=n.return||n.value;case Y$:return"";case G$:return n.return=n.value+"{"+vg(n.children,v)+"}";case Ng:if(!yl(n.value=n.props.join(",")))return""}return yl(d=vg(n.children,v))?n.return=n.value+"{"+d+"}":""}function XO(n){var s=K$(n);return function(d,v,b,E){for(var y="",R=0;R<s;R++)y+=n[R](d,v,b,E)||"";return y}}function JO(n){return function(s){s.root||(s=s.return)&&n(s)}}function ZO(n,s,d,v){if(n.length>-1&&!n.return)switch(n.type){case PS:n.return=J$(n.value,n.length,d);return;case G$:return vg([ps(n,{value:Ct(n.value,"@","@"+an)})],v);case Ng:if(n.length)return FO(d=n.props,function(b){switch(cu(b,v=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":kd(ps(n,{props:[Ct(b,/:(read-\w+)/,":"+qm+"$1")]})),kd(ps(n,{props:[b]})),SS(n,{props:XC(d,v)});break;case"::placeholder":kd(ps(n,{props:[Ct(b,/:(plac\w+)/,":"+an+"input-$1")]})),kd(ps(n,{props:[Ct(b,/:(plac\w+)/,":"+qm+"$1")]})),kd(ps(n,{props:[Ct(b,/:(plac\w+)/,Tn+"input-$1")]})),kd(ps(n,{props:[b]})),SS(n,{props:XC(d,v)});break}return""})}}var e2={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},jc=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Z$="active",eR="data-styled-version",Mg="6.1.15",IS=`/*!sc*/
|
|
271
|
+
`,yg=typeof window<"u"&&"HTMLElement"in window,t2=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production"),e$=/invalid hook call/i,tg=new Set,n2=function(n,s){if(process.env.NODE_ENV!=="production"){var d=s?' with the id of "'.concat(s,'"'):"",v="The component ".concat(n).concat(d,` has been created dynamically.
|
|
272
|
+
`)+`You may see this warning because you've called styled inside another component.
|
|
273
|
+
To resolve this only create new StyledComponents outside of any render method and function component.`,b=console.error;try{var E=!0;console.error=function(y){for(var R=[],T=1;T<arguments.length;T++)R[T-1]=arguments[T];e$.test(y)?(E=!1,tg.delete(v)):b.apply(void 0,Dd([y],R,!1))},ze.useRef(),E&&!tg.has(v)&&(console.warn(v),tg.add(v))}catch(y){e$.test(y.message)&&tg.delete(v)}finally{console.error=b}}},zg=Object.freeze([]),Md=Object.freeze({});function r2(n,s,d){return d===void 0&&(d=Md),n.theme!==d.theme&&n.theme||s||d.theme}var CS=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),i2=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,a2=/(^-|-$)/g;function t$(n){return n.replace(i2,"-").replace(a2,"")}var o2=/(a)(d)/gi,ng=52,n$=function(n){return String.fromCharCode(n+(n>25?39:97))};function $S(n){var s,d="";for(s=Math.abs(n);s>ng;s=s/ng|0)d=n$(s%ng)+d;return(n$(s%ng)+d).replace(o2,"$1-$2")}var uS,tR=5381,Lc=function(n,s){for(var d=s.length;d;)n=33*n^s.charCodeAt(--d);return n},nR=function(n){return Lc(tR,n)};function l2(n){return $S(nR(n)>>>0)}function rR(n){return process.env.NODE_ENV!=="production"&&typeof n=="string"&&n||n.displayName||n.name||"Component"}function sS(n){return typeof n=="string"&&(process.env.NODE_ENV==="production"||n.charAt(0)===n.charAt(0).toLowerCase())}var iR=typeof Symbol=="function"&&Symbol.for,aR=iR?Symbol.for("react.memo"):60115,u2=iR?Symbol.for("react.forward_ref"):60112,s2={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},c2={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},oR={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},f2=((uS={})[u2]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},uS[aR]=oR,uS);function r$(n){return("type"in(s=n)&&s.type.$$typeof)===aR?oR:"$$typeof"in n?f2[n.$$typeof]:s2;var s}var d2=Object.defineProperty,p2=Object.getOwnPropertyNames,i$=Object.getOwnPropertySymbols,m2=Object.getOwnPropertyDescriptor,h2=Object.getPrototypeOf,a$=Object.prototype;function lR(n,s,d){if(typeof s!="string"){if(a$){var v=h2(s);v&&v!==a$&&lR(n,v,d)}var b=p2(s);i$&&(b=b.concat(i$(s)));for(var E=r$(n),y=r$(s),R=0;R<b.length;++R){var T=b[R];if(!(T in c2||d&&d[T]||y&&T in y||E&&T in E)){var _=m2(s,T);try{d2(n,T,_)}catch{}}}}return n}function Fc(n){return typeof n=="function"}function BS(n){return typeof n=="object"&&"styledComponentId"in n}function Mc(n,s){return n&&s?"".concat(n," ").concat(s):n||s||""}function o$(n,s){if(n.length===0)return"";for(var d=n[0],v=1;v<n.length;v++)d+=n[v];return d}function zd(n){return n!==null&&typeof n=="object"&&n.constructor.name===Object.name&&!("props"in n&&n.$$typeof)}function RS(n,s,d){if(d===void 0&&(d=!1),!d&&!zd(n)&&!Array.isArray(n))return s;if(Array.isArray(s))for(var v=0;v<s.length;v++)n[v]=RS(n[v],s[v]);else if(zd(s))for(var v in s)n[v]=RS(n[v],s[v]);return n}function WS(n,s){Object.defineProperty(n,"toString",{value:s})}var v2=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
|
|
274
|
+
|
|
275
|
+
`,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
|
|
276
|
+
|
|
277
|
+
- Are you trying to reuse it across renders?
|
|
278
|
+
- Are you accidentally calling collectStyles twice?
|
|
279
|
+
|
|
280
|
+
`,3:`Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
|
|
281
|
+
|
|
282
|
+
`,4:`The \`StyleSheetManager\` expects a valid target or sheet prop!
|
|
283
|
+
|
|
284
|
+
- Does this error occur on the client and is your target falsy?
|
|
285
|
+
- Does this error occur on the server and is the sheet falsy?
|
|
286
|
+
|
|
287
|
+
`,5:`The clone method cannot be used on the client!
|
|
288
|
+
|
|
289
|
+
- Are you running in a client-like environment on the server?
|
|
290
|
+
- Are you trying to run SSR on the client?
|
|
291
|
+
|
|
292
|
+
`,6:`Trying to insert a new style tag, but the given Node is unmounted!
|
|
293
|
+
|
|
294
|
+
- Are you using a custom target that isn't mounted?
|
|
295
|
+
- Does your document not have a valid head element?
|
|
296
|
+
- Have you accidentally removed a style tag manually?
|
|
297
|
+
|
|
298
|
+
`,7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:`ThemeProvider: Please make your "theme" prop an object.
|
|
299
|
+
|
|
300
|
+
`,9:"Missing document `<head>`\n\n",10:`Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
|
|
301
|
+
|
|
302
|
+
`,11:`_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
|
|
303
|
+
|
|
304
|
+
`,12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:`%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.
|
|
305
|
+
|
|
306
|
+
`,14:`ThemeProvider: "theme" prop is required.
|
|
307
|
+
|
|
308
|
+
`,15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:`Reached the limit of how many styled components may be created at group %s.
|
|
309
|
+
You may only create up to 1,073,741,824 components. If you're creating components dynamically,
|
|
310
|
+
as for instance in your render method then you may be running into this limitation.
|
|
311
|
+
|
|
312
|
+
`,17:`CSSStyleSheet could not be found on HTMLStyleElement.
|
|
313
|
+
Has styled-components' style tag been unmounted or altered by another script?
|
|
314
|
+
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function y2(){for(var n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];for(var d=n[0],v=[],b=1,E=n.length;b<E;b+=1)v.push(n[b]);return v.forEach(function(y){d=d.replace(/%[a-z]/,y)}),d}function fu(n){for(var s=[],d=1;d<arguments.length;d++)s[d-1]=arguments[d];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(n," for more information.").concat(s.length>0?" Args: ".concat(s.join(", ")):"")):new Error(y2.apply(void 0,Dd([v2[n]],s,!1)).trim())}var g2=function(){function n(s){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=s}return n.prototype.indexOfGroup=function(s){for(var d=0,v=0;v<s;v++)d+=this.groupSizes[v];return d},n.prototype.insertRules=function(s,d){if(s>=this.groupSizes.length){for(var v=this.groupSizes,b=v.length,E=b;s>=E;)if((E<<=1)<0)throw fu(16,"".concat(s));this.groupSizes=new Uint32Array(E),this.groupSizes.set(v),this.length=E;for(var y=b;y<E;y++)this.groupSizes[y]=0}for(var R=this.indexOfGroup(s+1),T=(y=0,d.length);y<T;y++)this.tag.insertRule(R,d[y])&&(this.groupSizes[s]++,R++)},n.prototype.clearGroup=function(s){if(s<this.length){var d=this.groupSizes[s],v=this.indexOfGroup(s),b=v+d;this.groupSizes[s]=0;for(var E=v;E<b;E++)this.tag.deleteRule(v)}},n.prototype.getGroup=function(s){var d="";if(s>=this.length||this.groupSizes[s]===0)return d;for(var v=this.groupSizes[s],b=this.indexOfGroup(s),E=b+v,y=b;y<E;y++)d+="".concat(this.tag.getRule(y)).concat(IS);return d},n}(),b2=1<<30,pg=new Map,gg=new Map,mg=1,rg=function(n){if(pg.has(n))return pg.get(n);for(;gg.has(mg);)mg++;var s=mg++;if(process.env.NODE_ENV!=="production"&&((0|s)<0||s>b2))throw fu(16,"".concat(s));return pg.set(n,s),gg.set(s,n),s},x2=function(n,s){mg=s+1,pg.set(n,s),gg.set(s,n)},S2="style[".concat(jc,"][").concat(eR,'="').concat(Mg,'"]'),w2=new RegExp("^".concat(jc,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),E2=function(n,s,d){for(var v,b=d.split(","),E=0,y=b.length;E<y;E++)(v=b[E])&&n.registerName(s,v)},C2=function(n,s){for(var d,v=((d=s.textContent)!==null&&d!==void 0?d:"").split(IS),b=[],E=0,y=v.length;E<y;E++){var R=v[E].trim();if(R){var T=R.match(w2);if(T){var _=0|parseInt(T[1],10),A=T[2];_!==0&&(x2(A,_),E2(n,A,T[3]),n.getTag().insertRules(_,b)),b.length=0}else b.push(R)}}},l$=function(n){for(var s=document.querySelectorAll(S2),d=0,v=s.length;d<v;d++){var b=s[d];b&&b.getAttribute(jc)!==Z$&&(C2(n,b),b.parentNode&&b.parentNode.removeChild(b))}};function $2(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var uR=function(n){var s=document.head,d=n||s,v=document.createElement("style"),b=function(R){var T=Array.from(R.querySelectorAll("style[".concat(jc,"]")));return T[T.length-1]}(d),E=b!==void 0?b.nextSibling:null;v.setAttribute(jc,Z$),v.setAttribute(eR,Mg);var y=$2();return y&&v.setAttribute("nonce",y),d.insertBefore(v,E),v},R2=function(){function n(s){this.element=uR(s),this.element.appendChild(document.createTextNode("")),this.sheet=function(d){if(d.sheet)return d.sheet;for(var v=document.styleSheets,b=0,E=v.length;b<E;b++){var y=v[b];if(y.ownerNode===d)return y}throw fu(17)}(this.element),this.length=0}return n.prototype.insertRule=function(s,d){try{return this.sheet.insertRule(d,s),this.length++,!0}catch{return!1}},n.prototype.deleteRule=function(s){this.sheet.deleteRule(s),this.length--},n.prototype.getRule=function(s){var d=this.sheet.cssRules[s];return d&&d.cssText?d.cssText:""},n}(),T2=function(){function n(s){this.element=uR(s),this.nodes=this.element.childNodes,this.length=0}return n.prototype.insertRule=function(s,d){if(s<=this.length&&s>=0){var v=document.createTextNode(d);return this.element.insertBefore(v,this.nodes[s]||null),this.length++,!0}return!1},n.prototype.deleteRule=function(s){this.element.removeChild(this.nodes[s]),this.length--},n.prototype.getRule=function(s){return s<this.length?this.nodes[s].textContent:""},n}(),k2=function(){function n(s){this.rules=[],this.length=0}return n.prototype.insertRule=function(s,d){return s<=this.length&&(this.rules.splice(s,0,d),this.length++,!0)},n.prototype.deleteRule=function(s){this.rules.splice(s,1),this.length--},n.prototype.getRule=function(s){return s<this.length?this.rules[s]:""},n}(),u$=yg,_2={isServer:!yg,useCSSOMInjection:!t2},sR=function(){function n(s,d,v){s===void 0&&(s=Md),d===void 0&&(d={});var b=this;this.options=xi(xi({},_2),s),this.gs=d,this.names=new Map(v),this.server=!!s.isServer,!this.server&&yg&&u$&&(u$=!1,l$(this)),WS(this,function(){return function(E){for(var y=E.getTag(),R=y.length,T="",_=function(N){var M=function(ge){return gg.get(ge)}(N);if(M===void 0)return"continue";var V=E.names.get(M),P=y.getGroup(N);if(V===void 0||!V.size||P.length===0)return"continue";var re="".concat(jc,".g").concat(N,'[id="').concat(M,'"]'),oe="";V!==void 0&&V.forEach(function(ge){ge.length>0&&(oe+="".concat(ge,","))}),T+="".concat(P).concat(re,'{content:"').concat(oe,'"}').concat(IS)},A=0;A<R;A++)_(A);return T}(b)})}return n.registerId=function(s){return rg(s)},n.prototype.rehydrate=function(){!this.server&&yg&&l$(this)},n.prototype.reconstructWithOptions=function(s,d){return d===void 0&&(d=!0),new n(xi(xi({},this.options),s),this.gs,d&&this.names||void 0)},n.prototype.allocateGSInstance=function(s){return this.gs[s]=(this.gs[s]||0)+1},n.prototype.getTag=function(){return this.tag||(this.tag=(s=function(d){var v=d.useCSSOMInjection,b=d.target;return d.isServer?new k2(b):v?new R2(b):new T2(b)}(this.options),new g2(s)));var s},n.prototype.hasNameForId=function(s,d){return this.names.has(s)&&this.names.get(s).has(d)},n.prototype.registerName=function(s,d){if(rg(s),this.names.has(s))this.names.get(s).add(d);else{var v=new Set;v.add(d),this.names.set(s,v)}},n.prototype.insertRules=function(s,d,v){this.registerName(s,d),this.getTag().insertRules(rg(s),v)},n.prototype.clearNames=function(s){this.names.has(s)&&this.names.get(s).clear()},n.prototype.clearRules=function(s){this.getTag().clearGroup(rg(s)),this.clearNames(s)},n.prototype.clearTag=function(){this.tag=void 0},n}(),N2=/&/g,D2=/^\s*\/\/.*$/gm;function cR(n,s){return n.map(function(d){return d.type==="rule"&&(d.value="".concat(s," ").concat(d.value),d.value=d.value.replaceAll(",",",".concat(s," ")),d.props=d.props.map(function(v){return"".concat(s," ").concat(v)})),Array.isArray(d.children)&&d.type!=="@keyframes"&&(d.children=cR(d.children,s)),d})}function O2(n){var s,d,v,b=Md,E=b.options,y=E===void 0?Md:E,R=b.plugins,T=R===void 0?zg:R,_=function(M,V,P){return P.startsWith(d)&&P.endsWith(d)&&P.replaceAll(d,"").length>0?".".concat(s):M},A=T.slice();A.push(function(M){M.type===Ng&&M.value.includes("&")&&(M.props[0]=M.props[0].replace(N2,d).replace(v,_))}),y.prefix&&A.push(ZO),A.push(KO);var N=function(M,V,P,re){V===void 0&&(V=""),P===void 0&&(P=""),re===void 0&&(re="&"),s=re,d=V,v=new RegExp("\\".concat(d,"\\b"),"g");var oe=M.replace(D2,""),ge=QO(P||V?"".concat(P," ").concat(V," { ").concat(oe," }"):oe);y.namespace&&(ge=cR(ge,y.namespace));var X=[];return vg(ge,XO(A.concat(JO(function(K){return X.push(K)})))),X};return N.hash=T.length?T.reduce(function(M,V){return V.name||fu(15),Lc(M,V.name)},tR).toString():"",N}var L2=new sR,TS=O2(),fR=du.createContext({shouldForwardProp:void 0,styleSheet:L2,stylis:TS});fR.Consumer;du.createContext(void 0);function s$(){return ze.useContext(fR)}var c$=function(){function n(s,d){var v=this;this.inject=function(b,E){E===void 0&&(E=TS);var y=v.name+E.hash;b.hasNameForId(v.id,y)||b.insertRules(v.id,y,E(v.rules,y,"@keyframes"))},this.name=s,this.id="sc-keyframes-".concat(s),this.rules=d,WS(this,function(){throw fu(12,String(v.name))})}return n.prototype.getName=function(s){return s===void 0&&(s=TS),this.name+s.hash},n}(),M2=function(n){return n>="A"&&n<="Z"};function f$(n){for(var s="",d=0;d<n.length;d++){var v=n[d];if(d===1&&v==="-"&&n[0]==="-")return n;M2(v)?s+="-"+v.toLowerCase():s+=v}return s.startsWith("ms-")?"-"+s:s}var dR=function(n){return n==null||n===!1||n===""},pR=function(n){var s,d,v=[];for(var b in n){var E=n[b];n.hasOwnProperty(b)&&!dR(E)&&(Array.isArray(E)&&E.isCss||Fc(E)?v.push("".concat(f$(b),":"),E,";"):zd(E)?v.push.apply(v,Dd(Dd(["".concat(b," {")],pR(E),!1),["}"],!1)):v.push("".concat(f$(b),": ").concat((s=b,(d=E)==null||typeof d=="boolean"||d===""?"":typeof d!="number"||d===0||s in e2||s.startsWith("--")?String(d).trim():"".concat(d,"px")),";")))}return v};function Ac(n,s,d,v){if(dR(n))return[];if(BS(n))return[".".concat(n.styledComponentId)];if(Fc(n)){if(!Fc(E=n)||E.prototype&&E.prototype.isReactComponent||!s)return[n];var b=n(s);return process.env.NODE_ENV==="production"||typeof b!="object"||Array.isArray(b)||b instanceof c$||zd(b)||b===null||console.error("".concat(rR(n)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),Ac(b,s,d,v)}var E;return n instanceof c$?d?(n.inject(d,v),[n.getName(v)]):[n]:zd(n)?pR(n):Array.isArray(n)?Array.prototype.concat.apply(zg,n.map(function(y){return Ac(y,s,d,v)})):[n.toString()]}function z2(n){for(var s=0;s<n.length;s+=1){var d=n[s];if(Fc(d)&&!BS(d))return!1}return!0}var A2=nR(Mg),U2=function(){function n(s,d,v){this.rules=s,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(v===void 0||v.isStatic)&&z2(s),this.componentId=d,this.baseHash=Lc(A2,d),this.baseStyle=v,sR.registerId(d)}return n.prototype.generateAndInjectStyles=function(s,d,v){var b=this.baseStyle?this.baseStyle.generateAndInjectStyles(s,d,v):"";if(this.isStatic&&!v.hash)if(this.staticRulesId&&d.hasNameForId(this.componentId,this.staticRulesId))b=Mc(b,this.staticRulesId);else{var E=o$(Ac(this.rules,s,d,v)),y=$S(Lc(this.baseHash,E)>>>0);if(!d.hasNameForId(this.componentId,y)){var R=v(E,".".concat(y),void 0,this.componentId);d.insertRules(this.componentId,y,R)}b=Mc(b,y),this.staticRulesId=y}else{for(var T=Lc(this.baseHash,v.hash),_="",A=0;A<this.rules.length;A++){var N=this.rules[A];if(typeof N=="string")_+=N,process.env.NODE_ENV!=="production"&&(T=Lc(T,N));else if(N){var M=o$(Ac(N,s,d,v));T=Lc(T,M+A),_+=M}}if(_){var V=$S(T>>>0);d.hasNameForId(this.componentId,V)||d.insertRules(this.componentId,V,v(_,".".concat(V),void 0,this.componentId)),b=Mc(b,V)}}return b},n}(),bg=du.createContext(void 0);bg.Consumer;function j2(n){var s=du.useContext(bg),d=ze.useMemo(function(){return function(v,b){if(!v)throw fu(14);if(Fc(v)){var E=v(b);if(process.env.NODE_ENV!=="production"&&(E===null||Array.isArray(E)||typeof E!="object"))throw fu(7);return E}if(Array.isArray(v)||typeof v!="object")throw fu(8);return b?xi(xi({},b),v):v}(n.theme,s)},[n.theme,s]);return n.children?du.createElement(bg.Provider,{value:d},n.children):null}var cS={},d$=new Set;function F2(n,s,d){var v=BS(n),b=n,E=!sS(n),y=s.attrs,R=y===void 0?zg:y,T=s.componentId,_=T===void 0?function(ie,ne){var pe=typeof ie!="string"?"sc":t$(ie);cS[pe]=(cS[pe]||0)+1;var le="".concat(pe,"-").concat(l2(Mg+pe+cS[pe]));return ne?"".concat(ne,"-").concat(le):le}(s.displayName,s.parentComponentId):T,A=s.displayName,N=A===void 0?function(ie){return sS(ie)?"styled.".concat(ie):"Styled(".concat(rR(ie),")")}(n):A,M=s.displayName&&s.componentId?"".concat(t$(s.displayName),"-").concat(s.componentId):s.componentId||_,V=v&&b.attrs?b.attrs.concat(R).filter(Boolean):R,P=s.shouldForwardProp;if(v&&b.shouldForwardProp){var re=b.shouldForwardProp;if(s.shouldForwardProp){var oe=s.shouldForwardProp;P=function(ie,ne){return re(ie,ne)&&oe(ie,ne)}}else P=re}var ge=new U2(d,M,v?b.componentStyle:void 0);function X(ie,ne){return function(pe,le,Je){var yt=pe.attrs,Lt=pe.componentStyle,Yt=pe.defaultProps,Tt=pe.foldedComponentIds,Pe=pe.styledComponentId,Ut=pe.target,kt=du.useContext(bg),Mt=s$(),Me=pe.shouldForwardProp||Mt.shouldForwardProp;process.env.NODE_ENV!=="production"&&ze.useDebugValue(Pe);var ve=r2(le,kt,Yt)||Md,Oe=function(mt,ct,ft){for(var at,ot=xi(xi({},ct),{className:void 0,theme:ft}),jt=0;jt<mt.length;jt+=1){var fn=Fc(at=mt[jt])?at(ot):at;for(var vn in fn)ot[vn]=vn==="className"?Mc(ot[vn],fn[vn]):vn==="style"?xi(xi({},ot[vn]),fn[vn]):fn[vn]}return ct.className&&(ot.className=Mc(ot.className,ct.className)),ot}(yt,le,ve),Se=Oe.as||Ut,F={};for(var Z in Oe)Oe[Z]===void 0||Z[0]==="$"||Z==="as"||Z==="theme"&&Oe.theme===ve||(Z==="forwardedAs"?F.as=Oe.forwardedAs:Me&&!Me(Z,Se)||(F[Z]=Oe[Z],Me||process.env.NODE_ENV!=="development"||zO(Z)||d$.has(Z)||!CS.has(Se)||(d$.add(Z),console.warn('styled-components: it looks like an unknown prop "'.concat(Z,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var Ze=function(mt,ct){var ft=s$(),at=mt.generateAndInjectStyles(ct,ft.styleSheet,ft.stylis);return process.env.NODE_ENV!=="production"&&ze.useDebugValue(at),at}(Lt,Oe);process.env.NODE_ENV!=="production"&&pe.warnTooManyClasses&&pe.warnTooManyClasses(Ze);var Ge=Mc(Tt,Pe);return Ze&&(Ge+=" "+Ze),Oe.className&&(Ge+=" "+Oe.className),F[sS(Se)&&!CS.has(Se)?"class":"className"]=Ge,Je&&(F.ref=Je),ze.createElement(Se,F)}(K,ie,ne)}X.displayName=N;var K=du.forwardRef(X);return K.attrs=V,K.componentStyle=ge,K.displayName=N,K.shouldForwardProp=P,K.foldedComponentIds=v?Mc(b.foldedComponentIds,b.styledComponentId):"",K.styledComponentId=M,K.target=v?b.target:n,Object.defineProperty(K,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(ie){this._foldedDefaultProps=v?function(ne){for(var pe=[],le=1;le<arguments.length;le++)pe[le-1]=arguments[le];for(var Je=0,yt=pe;Je<yt.length;Je++)RS(ne,yt[Je],!0);return ne}({},b.defaultProps,ie):ie}}),process.env.NODE_ENV!=="production"&&(n2(N,M),K.warnTooManyClasses=function(ie,ne){var pe={},le=!1;return function(Je){if(!le&&(pe[Je]=!0,Object.keys(pe).length>=200)){var yt=ne?' with the id of "'.concat(ne,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(ie).concat(yt,`.
|
|
315
|
+
`)+`Consider using the attrs method, together with a style object for frequently changed styles.
|
|
316
|
+
Example:
|
|
317
|
+
const Component = styled.div.attrs(props => ({
|
|
318
|
+
style: {
|
|
319
|
+
background: props.background,
|
|
320
|
+
},
|
|
321
|
+
}))\`width: 100%;\`
|
|
322
|
+
|
|
323
|
+
<Component />`),le=!0,pe={}}}}(N,M)),WS(K,function(){return".".concat(K.styledComponentId)}),E&&lR(K,n,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),K}function p$(n,s){for(var d=[n[0]],v=0,b=s.length;v<b;v+=1)d.push(s[v],n[v+1]);return d}var m$=function(n){return Object.assign(n,{isCss:!0})};function Xe(n){for(var s=[],d=1;d<arguments.length;d++)s[d-1]=arguments[d];if(Fc(n)||zd(n))return m$(Ac(p$(zg,Dd([n],s,!0))));var v=n;return s.length===0&&v.length===1&&typeof v[0]=="string"?Ac(v):m$(Ac(p$(v,s)))}function kS(n,s,d){if(d===void 0&&(d=Md),!s)throw fu(1,s);var v=function(b){for(var E=[],y=1;y<arguments.length;y++)E[y-1]=arguments[y];return n(s,d,Xe.apply(void 0,Dd([b],E,!1)))};return v.attrs=function(b){return kS(n,s,xi(xi({},d),{attrs:Array.prototype.concat(d.attrs,b).filter(Boolean)}))},v.withConfig=function(b){return kS(n,s,xi(xi({},d),b))},v}var mR=function(n){return kS(F2,n)},xe=mR;CS.forEach(function(n){xe[n]=mR(n)});process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
324
|
+
Perhaps you're looking to import 'styled-components/native'?
|
|
325
|
+
Read more about this at https://www.styled-components.com/docs/basics#react-native`);var ig="__sc-".concat(jc,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[ig]||(window[ig]=0),window[ig]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
|
|
326
|
+
|
|
327
|
+
See https://s-c.sh/2BAXzed for more info.`),window[ig]+=1);const V2=xe.h2`
|
|
328
|
+
&&{
|
|
329
|
+
font-family: ${n=>n.theme.fonts.poppins};
|
|
330
|
+
font-weight: 600; //semibold
|
|
331
|
+
font-size: 20px;
|
|
332
|
+
line-height: 28px;
|
|
333
|
+
margin: ${n=>n.$visible=="false"?"0":n.$margin?n.$margin:"0"};
|
|
334
|
+
opacity: ${n=>n.$visible=="false"?0:1};
|
|
335
|
+
z-index: ${n=>n.$visible=="false"?-1:1}; // needed this input overlays the next button if the input is made to appear and disappear
|
|
336
|
+
max-height: ${n=>n.$visible=="false"?"0":"500px"};
|
|
337
|
+
height: ${n=>n.$visible=="false"?"0":"auto"};
|
|
338
|
+
color: ${n=>n.$color?n.theme.colors[n.$color]:n.theme.colors.primary};
|
|
339
|
+
text-align: ${n=>n.$align?n.$align:"left"};
|
|
340
|
+
}
|
|
341
|
+
`,P2=xe.span`
|
|
342
|
+
&&{
|
|
343
|
+
text-transform:uppercase;
|
|
344
|
+
font-family: ${n=>n.theme.fonts.poppins};
|
|
345
|
+
font-weight: 600; //semibold
|
|
346
|
+
letter-spacing: 20%;
|
|
347
|
+
color: ${n=>n.theme.colors.success};
|
|
348
|
+
font-size: 14px;
|
|
349
|
+
display:block;
|
|
350
|
+
}
|
|
351
|
+
`,hR=xe.p`
|
|
352
|
+
&&{
|
|
353
|
+
font-family: ${n=>n.theme.fonts.poppins};
|
|
354
|
+
font-weight: ${n=>n.$weight?n.$weight:"500"}; // medium
|
|
355
|
+
color: ${n=>n.$color?n.theme.colors[n.$color]:n.theme.colors.pine120};
|
|
356
|
+
font-size: 16px;
|
|
357
|
+
margin: ${n=>n.$visible=="false"?"0":n.$margin?n.$margin:"0"};
|
|
358
|
+
text-align: ${n=>n.$align?n.$align:"left"};
|
|
359
|
+
opacity: ${n=>n.$visible=="false"?0:1};
|
|
360
|
+
z-index: ${n=>n.$visible=="false"?-1:1}; // needed this input overlays the next button if the input is made to appear and disappear
|
|
361
|
+
max-height: ${n=>n.$visible=="false"?"0":"500px"};
|
|
362
|
+
height: ${n=>n.$visible=="false"?"0":"auto"};
|
|
363
|
+
|
|
364
|
+
& a {
|
|
365
|
+
text-decoration: underline;
|
|
366
|
+
color: ${n=>n.$color?n.theme.colors[n.$color]:n.theme.colors.pine120}
|
|
367
|
+
}
|
|
368
|
+
& a:hover {
|
|
369
|
+
text-decoration: none;
|
|
370
|
+
color: ${n=>n.theme.colors.ivimGreen}
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
& .link-style {
|
|
374
|
+
cursor: pointer;
|
|
375
|
+
text-decoration: underline;
|
|
376
|
+
color: ${n=>n.$color?n.theme.colors[n.$color]:n.theme.colors.pine120}
|
|
377
|
+
}
|
|
378
|
+
& .link-style:hover {
|
|
379
|
+
text-decoration: none;
|
|
380
|
+
color: ${n=>n.theme.colors.ivimGreen}
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
@media ${n=>n.theme.mediaQuery.xs}{
|
|
384
|
+
font-size: '12px'};
|
|
385
|
+
line-height: '16px'};
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
}
|
|
389
|
+
`,H2=xe.span`
|
|
390
|
+
&&{
|
|
391
|
+
font-family: ${n=>n.theme.fonts.poppins};
|
|
392
|
+
color: ${n=>n.$color?n.theme.colors[n.$color]:n.theme.colors.gray60};
|
|
393
|
+
text-align: ${n=>n.$align?n.$align:"left"};
|
|
394
|
+
font-size: 10px;
|
|
395
|
+
line-height:16px;
|
|
396
|
+
display:block;
|
|
397
|
+
}
|
|
398
|
+
`,I2=xe.p`
|
|
399
|
+
&&{
|
|
400
|
+
font-family: ${n=>n.theme.fonts.poppins};
|
|
401
|
+
font-weight: ${n=>n.$weight?n.$weight:"500"}; // medium
|
|
402
|
+
color: ${n=>n.$color?n.theme.colors[n.$color]:n.theme.colors.pine120};
|
|
403
|
+
font-size: ${n=>n.$fontSize?`${Math.round(parseInt(n.$fontSize)*.83)}px`:"10px"};
|
|
404
|
+
line-height: ${n=>n.$lineHeight?n.$lineHeight:"normal"};
|
|
405
|
+
font-style: ${n=>n.$fontStyle?n.$fontStyle:"normal"};
|
|
406
|
+
margin: ${n=>n.$visible=="false"?"0":n.$margin?n.$margin:"0"};
|
|
407
|
+
text-align: ${n=>n.$align?n.$align:"left"};
|
|
408
|
+
opacity: ${n=>n.$visible=="false"?0:1};
|
|
409
|
+
z-index: ${n=>n.$visible=="false"?-1:1}; // needed this input overlays the next button if the input is made to appear and disappear
|
|
410
|
+
max-height: ${n=>n.$visible=="false"?"0":"500px"};
|
|
411
|
+
height: ${n=>n.$visible=="false"?"0":"auto"};
|
|
412
|
+
${n=>n.$balance&&Xe`
|
|
413
|
+
text-wrap: balance;
|
|
414
|
+
`};
|
|
415
|
+
${n=>n.$nowrap&&Xe`
|
|
416
|
+
white-space: nowrap;
|
|
417
|
+
`};
|
|
418
|
+
text-decoration: ${n=>n.$underline?"underline":"none"};
|
|
419
|
+
text-transform: ${n=>n.$transform?n.$transform:"none"};
|
|
420
|
+
|
|
421
|
+
& a {
|
|
422
|
+
text-decoration: underline;
|
|
423
|
+
color: ${n=>n.$color?n.theme.colors[n.$color]:n.theme.colors.pine120}
|
|
424
|
+
}
|
|
425
|
+
& a:hover {
|
|
426
|
+
text-decoration: none;
|
|
427
|
+
color: ${n=>n.theme.colors.ivimGreen}
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
& .link-style {
|
|
431
|
+
cursor: pointer;
|
|
432
|
+
text-decoration: underline;
|
|
433
|
+
color: ${n=>n.$color?n.theme.colors[n.$color]:n.theme.colors.pine120}
|
|
434
|
+
}
|
|
435
|
+
& .link-style:hover {
|
|
436
|
+
text-decoration: none;
|
|
437
|
+
color: ${n=>n.theme.colors.ivimGreen}
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
@media ${n=>n.theme.mediaQuery.xs}{
|
|
441
|
+
font-size: ${n=>n.$fontSize?`${n.$fontSize}px`:"12px"};
|
|
442
|
+
line-height: ${n=>n.$fontSize?`${parseInt(n.$fontSize)+4}px`:"16px"};
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
}
|
|
446
|
+
`,vR=xe.p`
|
|
447
|
+
&&{
|
|
448
|
+
font-family: ${n=>n.theme.fonts.poppins};
|
|
449
|
+
color: ${n=>n.theme.colors.pine120};
|
|
450
|
+
font-weight: 500;
|
|
451
|
+
font-size: 14px;
|
|
452
|
+
line-height: 16px;
|
|
453
|
+
margin: ${n=>n.$margin?n.$margin:"0"};
|
|
454
|
+
text-align: ${n=>n.$align?n.$align:"left"};
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
`,B2=xe.label`
|
|
458
|
+
&&{
|
|
459
|
+
font-family: ${n=>n.theme.fonts.poppins};
|
|
460
|
+
color: ${n=>n.theme.colors.brandDarkGray};
|
|
461
|
+
font-weight: 600;
|
|
462
|
+
font-size: 14px;
|
|
463
|
+
line-height: 16px;
|
|
464
|
+
margin: ${n=>n.$margin?n.$margin:"0 0 12px"};
|
|
465
|
+
text-align: ${n=>n.$align?n.$align:"left"};
|
|
466
|
+
position: absolute;
|
|
467
|
+
top: 12px;
|
|
468
|
+
z-index: 1;
|
|
469
|
+
left: 12px;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
`;xe.h3`
|
|
473
|
+
&&{
|
|
474
|
+
font-family: ${n=>n.theme.fonts.poppins};
|
|
475
|
+
font-weight: 600;
|
|
476
|
+
color: ${n=>n.theme.colors.primary};
|
|
477
|
+
font-size: 24px;
|
|
478
|
+
line-height: 1.2em;
|
|
479
|
+
margin: ${n=>n.$margin?n.$margin:"0"};
|
|
480
|
+
text-align: ${n=>n.$align?n.$align:"left"};
|
|
481
|
+
@media ${n=>n.theme.mediaQuery.sm}{
|
|
482
|
+
font-size: 26px;
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
`;const W2=xe.h4`
|
|
486
|
+
&&{
|
|
487
|
+
font-family: ${n=>n.theme.fonts.poppins};
|
|
488
|
+
font-weight: ${n=>n.$weight?n.$weight:"400"} ;
|
|
489
|
+
color: ${n=>n.theme.colors.primary};
|
|
490
|
+
font-size: 20px;
|
|
491
|
+
font-style: normal;
|
|
492
|
+
line-height: 23px;
|
|
493
|
+
letter-spacing: -0.4px;
|
|
494
|
+
margin: ${n=>n.$margin?n.$margin:"0"};
|
|
495
|
+
text-align: ${n=>n.$align?n.$align:"left"};
|
|
496
|
+
${n=>n.$balance&&Xe`
|
|
497
|
+
text-wrap: balance;
|
|
498
|
+
`};
|
|
499
|
+
}
|
|
500
|
+
`;xe.p`
|
|
501
|
+
&&{
|
|
502
|
+
font-size: 14px;
|
|
503
|
+
font-family: ${n=>n.theme.fonts.poppins};
|
|
504
|
+
text-align: ${n=>n.$align?n.$align:"left"};
|
|
505
|
+
color: ${n=>n.$color?n.theme.colors[n.$color]:n.theme.colors.primary};
|
|
506
|
+
font-weight: ${n=>n.$weight?n.$weight:"400"};
|
|
507
|
+
text-transform: ${n=>n.$caps=="true"?"uppercase":"none"};
|
|
508
|
+
line-height: 16px;
|
|
509
|
+
${n=>n.$margin&&Xe`
|
|
510
|
+
margin: ${s=>s.$margin};
|
|
511
|
+
`};
|
|
512
|
+
@media ${n=>n.theme.mediaQuery.lg}{
|
|
513
|
+
font-size: 16px;
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
`;xe.p`
|
|
517
|
+
&&{
|
|
518
|
+
font-size: 12px;
|
|
519
|
+
font-family: ${n=>n.theme.fonts.poppins};
|
|
520
|
+
font-weight: ${n=>n.$weight?n.$weight:"500"};
|
|
521
|
+
text-align: ${n=>n.$align?n.$align:"left"};
|
|
522
|
+
color: ${n=>n.$color?n.theme.colors[n.$color]:n.theme.colors.gray};
|
|
523
|
+
text-transform: ${n=>n.$caps=="true"?"uppercase":"none"};
|
|
524
|
+
${n=>n.$margin&&Xe`
|
|
525
|
+
margin: ${s=>s.$margin};
|
|
526
|
+
`};
|
|
527
|
+
@media ${n=>n.theme.mediaQuery.lg}{
|
|
528
|
+
font-size: 14px;
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
`;const Y2=xe.p`
|
|
532
|
+
&& {
|
|
533
|
+
font-size: 12px;
|
|
534
|
+
font-family: ${n=>n.theme.fonts.poppins};
|
|
535
|
+
font-weight: 400;
|
|
536
|
+
text-align: ${n=>n.$align?n.$align:"left"};
|
|
537
|
+
color: ${n=>n.$color?n.theme.colors[n.$color]:n.theme.colors.gray};
|
|
538
|
+
text-transform: ${n=>n.$caps=="true"?"uppercase":"none"};
|
|
539
|
+
${n=>n.$margin&&Xe`
|
|
540
|
+
margin: ${s=>s.$margin};
|
|
541
|
+
`};
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
`;xe.button`
|
|
545
|
+
&&{
|
|
546
|
+
font-size: 14px;
|
|
547
|
+
font-family: ${n=>n.theme.fonts.poppins};
|
|
548
|
+
border: none;
|
|
549
|
+
background-color: transparent;
|
|
550
|
+
padding: 0;
|
|
551
|
+
color: ${n=>n.theme.colors.ivimGreen};
|
|
552
|
+
text-decoration: 1px solid underline;
|
|
553
|
+
text-decoration-color: transparent;
|
|
554
|
+
transition: all .2s;
|
|
555
|
+
margin: ${n=>n.$margin?n.$margin:"0"};
|
|
556
|
+
&:hover {
|
|
557
|
+
transition: all .2s;
|
|
558
|
+
text-decoration-color: ${n=>n.theme.colors.ivimGreen};
|
|
559
|
+
}
|
|
560
|
+
@media ${n=>n.theme.mediaQuery.lg}{
|
|
561
|
+
font-size: 16px
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
`;xe(th)`
|
|
565
|
+
&&{
|
|
566
|
+
font-size: 14px;
|
|
567
|
+
font-family: ${n=>n.theme.fonts.poppins};
|
|
568
|
+
padding: 0 2px;
|
|
569
|
+
color: ${n=>n.theme.colors.ivimGreen};
|
|
570
|
+
text-decoration: 1px solid underline;
|
|
571
|
+
text-decoration-color: transparent;
|
|
572
|
+
transition: all .2s;
|
|
573
|
+
margin: ${n=>n.$margin?n.$margin:"0"};
|
|
574
|
+
&:hover {
|
|
575
|
+
transition: all .2s;
|
|
576
|
+
text-decoration-color: ${n=>n.theme.colors.ivimGreen};
|
|
577
|
+
}
|
|
578
|
+
@media ${n=>n.theme.mediaQuery.lg}{
|
|
579
|
+
font-size: 16px
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
`;xe.a`
|
|
583
|
+
&&{
|
|
584
|
+
font-size: inherit;
|
|
585
|
+
font-family: ${n=>n.theme.fonts.poppins};
|
|
586
|
+
padding: 0 2px;
|
|
587
|
+
color: ${n=>n.$color?n.theme.colors[n.$color]:n.theme.colors.ivimGreen};
|
|
588
|
+
text-decoration: 1px solid underline;
|
|
589
|
+
text-decoration-color: transparent;
|
|
590
|
+
transition: all .2s;
|
|
591
|
+
margin: ${n=>n.$margin?n.$margin:"0"};
|
|
592
|
+
&:hover {
|
|
593
|
+
transition: all .2s;
|
|
594
|
+
text-decoration-color: ${n=>n.$color?n.theme.colors[n.$color]:n.theme.colors.ivimGreen};
|
|
595
|
+
}
|
|
596
|
+
@media ${n=>n.theme.mediaQuery.lg}{
|
|
597
|
+
font-size: 16px
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
`;const YS=xe.p`
|
|
601
|
+
&&{
|
|
602
|
+
margin: ${n=>n.$margin?n.$margin:"0px"};
|
|
603
|
+
border-radius: 5px;
|
|
604
|
+
font-size: 10px;
|
|
605
|
+
background-color: ${n=>n.$bgColor?n.theme.colors[n.$bgColor]:n.theme.colors.white};
|
|
606
|
+
padding: 0 5px;
|
|
607
|
+
font-family: ${n=>n.theme.fonts.poppins};
|
|
608
|
+
// color: ${n=>n.$color?n.theme.colors[n.$color]:n.theme.colors.errorRed};
|
|
609
|
+
font-weight: 400;
|
|
610
|
+
opacity: ${n=>n.$visible?"1":"0"};
|
|
611
|
+
line-height: 150%;
|
|
612
|
+
// position: absolute;
|
|
613
|
+
// bottom: ${n=>n.$bottom?n.$bottom:"-17px"};
|
|
614
|
+
// right: ${n=>n.$right?n.$right:"0px"};
|
|
615
|
+
text-align:right;
|
|
616
|
+
}
|
|
617
|
+
`;xe.p`
|
|
618
|
+
&&{
|
|
619
|
+
margin: 0 0 15px;
|
|
620
|
+
font-size: 12px;
|
|
621
|
+
background-color: ${n=>n.$bgColor?n.theme.colors[n.$bgColor]:n.theme.colors.white};
|
|
622
|
+
padding: 0 2px;
|
|
623
|
+
font-weight: 400;
|
|
624
|
+
font-family: ${n=>n.theme.fonts.poppins};
|
|
625
|
+
color: ${n=>n.theme.colors.errorRed};
|
|
626
|
+
opacity: ${n=>n.$visible?"1":"0"};
|
|
627
|
+
height: 20px;
|
|
628
|
+
border-radius: 5px;
|
|
629
|
+
position: ${n=>n.$position?n.$position:"absolute"};
|
|
630
|
+
top: ${n=>n.$top?n.$top:"5px"};
|
|
631
|
+
left: ${n=>n.$left?n.$left:"30%"};
|
|
632
|
+
|
|
633
|
+
@media ${n=>n.theme.mediaQuery.sm}{
|
|
634
|
+
font-size: 14px;
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
`;xe(Y2)`
|
|
638
|
+
&&{
|
|
639
|
+
display: ${n=>n.$visible?"inline":"none"};
|
|
640
|
+
position: absolute;
|
|
641
|
+
bottom: ${n=>n.$bottom?n.$bottom:"-20px"};
|
|
642
|
+
left: 15px;
|
|
643
|
+
margin: 0;
|
|
644
|
+
transition: all .2s;
|
|
645
|
+
}
|
|
646
|
+
`;const G2="../assets/images/hideEyeIcon.png",Q2="../assets/images/showEyeIcon.png",q2="../assets/images/rightArrowGray.png",K2="../assets/images/ivimLogoSm.png",X2="../assets/images/backArrowIcon.png",Ad=xe.div`
|
|
647
|
+
&&{
|
|
648
|
+
width: calc(100vw - 20px);
|
|
649
|
+
/* min-width: 392px; */
|
|
650
|
+
padding-right: 28px;
|
|
651
|
+
padding-left: 28px;
|
|
652
|
+
margin-right: auto;
|
|
653
|
+
margin-left: auto;
|
|
654
|
+
margin-top: ${n=>n.$marginTop?n.$marginTop:"0"};
|
|
655
|
+
margin-bottom: ${n=>n.$marginBottom?n.$marginBottom:"0"};
|
|
656
|
+
position: ${n=>n.$position?n.$position:"relative"};
|
|
657
|
+
background-color: ${n=>n.$bgColor?n.theme.colors[n.$bgColor]:n.theme.colors.transparent};
|
|
658
|
+
border-radius: ${n=>n.$bRad?n.$bRad:"0"};
|
|
659
|
+
overflow: ${n=>n.$overflow?n.$overflow:"visible"};
|
|
660
|
+
@media ${n=>n.theme.mediaQuery.sm}{
|
|
661
|
+
max-width: ${n=>n.$fluid?"100%":"500px"};
|
|
662
|
+
}
|
|
663
|
+
@media ${n=>n.theme.mediaQuery.md}{
|
|
664
|
+
max-width: ${n=>n.$fluid?"100%":n.$xSmall?"500px":"720px"};
|
|
665
|
+
padding-right: 20px;
|
|
666
|
+
padding-left: 20px;
|
|
667
|
+
margin-bottom: ${n=>n.$marginBottomMd?n.$marginBottomMd:n.$marginBottom?n.$marginBottom:"0"};
|
|
668
|
+
}
|
|
669
|
+
@media ${n=>n.theme.mediaQuery.lg}{
|
|
670
|
+
max-width: ${n=>n.$fluid?"100%":n.$xSmall?"500px":n.$small?"720px":"960px"};
|
|
671
|
+
}
|
|
672
|
+
@media ${n=>n.theme.mediaQuery.xl}{
|
|
673
|
+
max-width: ${n=>n.$fluid?"100%":n.$xSmall?"500px":n.$small?"720px":"1140px"} ;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
//RESET STYLES FOR FORMIDAVIM
|
|
677
|
+
|
|
678
|
+
& p{
|
|
679
|
+
// margin: 0 0 1em;
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
`,yR=xe.div`
|
|
684
|
+
&&{
|
|
685
|
+
display: -ms-flexbox;
|
|
686
|
+
display: flex;
|
|
687
|
+
position: relative;
|
|
688
|
+
-ms-flex-wrap: wrap;
|
|
689
|
+
flex-wrap: wrap;
|
|
690
|
+
|
|
691
|
+
margin-right: ${n=>n.$noGutter?"-28px":"-10px"};
|
|
692
|
+
margin-left: ${n=>n.$noGutter?"-28px":"-10px"};;
|
|
693
|
+
background-color: ${n=>n.$bgColor?n.theme.colors[n.$bgColor]:n.theme.colors.transparent};
|
|
694
|
+
padding: ${n=>n.$padding?n.$padding:"0"};
|
|
695
|
+
justify-content: ${n=>n.$justify?n.$justify:"flex-start"};
|
|
696
|
+
align-items: ${n=>n.$align?n.$align:"flex-start"};
|
|
697
|
+
${n=>n.$borderTopColor&&Xe`
|
|
698
|
+
border-top: 2px solid ${n.theme.colors[n.$borderTopColor]};
|
|
699
|
+
`};
|
|
700
|
+
@media ${n=>n.theme.mediaQuery.md}{
|
|
701
|
+
|
|
702
|
+
margin-right: ${n=>n.$noGutter?"-21px":"-10px"};
|
|
703
|
+
margin-left: ${n=>n.$noGutter?"-21px":"-10px"};;
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
`,GS=xe.div`
|
|
707
|
+
&&{
|
|
708
|
+
margin: ${n=>n.$margin?n.$margin:"0"};
|
|
709
|
+
display: ${n=>n.$span==="0"?"none":"flex"};
|
|
710
|
+
flex-direction: ${n=>n.$flex?n.$flex:"row"};
|
|
711
|
+
justify-content: ${n=>n.$justify?n.$justify:"flex-start"};
|
|
712
|
+
align-items: ${n=>n.$align?n.$align:"flex-start"};
|
|
713
|
+
flex-grow: 1;
|
|
714
|
+
position: relative;
|
|
715
|
+
width: 100%;
|
|
716
|
+
padding-right: 10px;
|
|
717
|
+
padding-left: 10px;
|
|
718
|
+
min-width: ${n=>n.$minWidth?n.$minWidth:"10px"};
|
|
719
|
+
${n=>n.$minHeight&&Xe`
|
|
720
|
+
min-height: ${n.$minHeight};
|
|
721
|
+
`};
|
|
722
|
+
/* The span prop determines the column width at each breakpoint with mobile first. */
|
|
723
|
+
-ms-flex: 0 0 ${n=>n.$span==="0"?"0":n.$span==="1"?"8.333333%":n.$span==="2"?"16.666667%":n.$span==="3"?"25%":n.$span==="4"?"33.333333%":n.$span==="5"?"41.666667%":n.$span==="6"?"50%":n.$span==="7"?"58.333333%":n.$span==="8"?"66.666667%":n.$span==="9"?"75%":n.$span==="10"?"83.333333%":n.$span==="11"?"91.666667%":n.$span==="12"?"100%":"auto"};
|
|
724
|
+
flex: 0 0 ${n=>n.$span==="0"?"0":n.$span==="1"?"8.333333%":n.$span==="2"?"16.666667%":n.$span==="3"?"25%":n.$span==="4"?"33.333333%":n.$span==="5"?"41.666667%":n.$span==="6"?"50%":n.$span==="7"?"58.333333%":n.$span==="8"?"66.666667%":n.$span==="9"?"75%":n.$span==="10"?"83.333333%":n.$span==="11"?"91.666667%":n.$span==="12"?"100%":"auto"};
|
|
725
|
+
max-width: ${n=>n.$span==="0"?"0":n.$span==="1"?"8.333333%":n.$span==="2"?"16.666667%":n.$span==="3"?"25%":n.$span==="4"?"33.333333%":n.$span==="5"?"41.666667%":n.$span==="6"?"50%":n.$span==="7"?"58.333333%":n.$span==="8"?"66.666667%":n.$span==="9"?"75%":n.$span==="10"?"83.333333%":n.$span==="11"?"91.666667%":n.$span==="12"?"100%":"auto"};
|
|
726
|
+
@media ${n=>n.theme.mediaQuery.xs}{
|
|
727
|
+
display: ${n=>n.$xsSpan==="0"?"none":"flex"};
|
|
728
|
+
-ms-flex: 0 0 ${n=>n.$xsSpan==="0"?"0":n.$xsSpan==="1"?"8.333333%":n.$xsSpan==="2"?"16.666667%":n.$xsSpan==="3"?"25%":n.$xsSpan==="4"?"33.333333%":n.$xsSpan==="5"?"41.666667%":n.$xsSpan==="6"?"50%":n.$xsSpan==="7"?"58.333333%":n.$xsSpan==="8"?"66.666667%":n.$xsSpan==="9"?"75%":n.$xsSpan==="10"?"83.333333%":n.$xsSpan==="11"?"91.666667%":n.$xsSpan==="12"?"100%":"auto"};
|
|
729
|
+
flex: 0 0 ${n=>n.$xsSpan==="0"?"0":n.$xsSpan==="1"?"8.333333%":n.$xsSpan==="2"?"16.666667%":n.$xsSpan==="3"?"25%":n.$xsSpan==="4"?"33.333333%":n.$xsSpan==="5"?"41.666667%":n.$xsSpan==="6"?"50%":n.$xsSpan==="7"?"58.333333%":n.$xsSpan==="8"?"66.666667%":n.$xsSpan==="9"?"75%":n.$xsSpan==="10"?"83.333333%":n.$xsSpan==="11"?"91.666667%":n.$xsSpan==="12"?"100%":"auto"};
|
|
730
|
+
max-width: ${n=>n.$xsSpan==="0"?"0":n.$xsSpan==="1"?"8.333333%":n.$xsSpan==="2"?"16.666667%":n.$xsSpan==="3"?"25%":n.$xsSpan==="4"?"33.333333%":n.$xsSpan==="5"?"41.666667%":n.$xsSpan==="6"?"50%":n.$xsSpan==="7"?"58.333333%":n.$xsSpan==="8"?"66.666667%":n.$xsSpan==="9"?"75%":n.$xsSpan==="10"?"83.333333%":n.$xsSpan==="11"?"91.666667%":n.$xsSpan==="12"?"100%":"auto"};
|
|
731
|
+
}
|
|
732
|
+
@media ${n=>n.theme.mediaQuery.sm}{
|
|
733
|
+
display: ${n=>n.$smSpan==="0"?"none":"flex"};
|
|
734
|
+
-ms-flex: 0 0 ${n=>n.$smSpan==="0"?"0":n.$smSpan==="1"?"8.333333%":n.$smSpan==="2"?"16.666667%":n.$smSpan==="3"?"25%":n.$smSpan==="4"?"33.333333%":n.$smSpan==="5"?"41.666667%":n.$smSpan==="6"?"50%":n.$smSpan==="7"?"58.333333%":n.$smSpan==="8"?"66.666667%":n.$smSpan==="9"?"75%":n.$smSpan==="10"?"83.333333%":n.$smSpan==="11"?"91.666667%":n.$smSpan==="12"?"100%":"auto"};
|
|
735
|
+
flex: 0 0 ${n=>n.$smSpan==="0"?"0":n.$smSpan==="1"?"8.333333%":n.$smSpan==="2"?"16.666667%":n.$smSpan==="3"?"25%":n.$smSpan==="4"?"33.333333%":n.$smSpan==="5"?"41.666667%":n.$smSpan==="6"?"50%":n.$smSpan==="7"?"58.333333%":n.$smSpan==="8"?"66.666667%":n.$smSpan==="9"?"75%":n.$smSpan==="10"?"83.333333%":n.$smSpan==="11"?"91.666667%":n.$smSpan==="12"?"100%":"auto"};
|
|
736
|
+
max-width: ${n=>n.$smSpan==="0"?"0":n.$smSpan==="1"?"8.333333%":n.$smSpan==="2"?"16.666667%":n.$smSpan==="3"?"25%":n.$smSpan==="4"?"33.333333%":n.$smSpan==="5"?"41.666667%":n.$smSpan==="6"?"50%":n.$smSpan==="7"?"58.333333%":n.$smSpan==="8"?"66.666667%":n.$smSpan==="9"?"75%":n.$smSpan==="10"?"83.333333%":n.$smSpan==="11"?"91.666667%":n.$smSpan==="12"?"100%":"auto"};
|
|
737
|
+
}
|
|
738
|
+
@media ${n=>n.theme.mediaQuery.md}{
|
|
739
|
+
display: ${n=>n.$mdSpan==="0"?"none":"flex"};
|
|
740
|
+
-ms-flex: 0 0 ${n=>n.$mdSpan==="0"?"0":n.$mdSpan==="1"?"8.333333%":n.$mdSpan==="2"?"16.666667%":n.$mdSpan==="3"?"25%":n.$mdSpan==="4"?"33.333333%":n.$mdSpan==="5"?"41.666667%":n.$mdSpan==="6"?"50%":n.$mdSpan==="7"?"58.333333%":n.$mdSpan==="8"?"66.666667%":n.$mdSpan==="9"?"75%":n.$mdSpan==="10"?"83.333333%":n.$mdSpan==="11"?"91.666667%":n.$mdSpan==="12"?"100%":"auto"};
|
|
741
|
+
flex: 0 0 ${n=>n.$msSpan==="0"?"0":n.$mdSpan==="1"?"8.333333%":n.$mdSpan==="2"?"16.666667%":n.$mdSpan==="3"?"25%":n.$mdSpan==="4"?"33.333333%":n.$mdSpan==="5"?"41.666667%":n.$mdSpan==="6"?"50%":n.$mdSpan==="7"?"58.333333%":n.$mdSpan==="8"?"66.666667%":n.$mdSpan==="9"?"75%":n.$mdSpan==="10"?"83.333333%":n.$mdSpan==="11"?"91.666667%":n.$mdSpan==="12"?"100%":"auto"};
|
|
742
|
+
max-width: ${n=>n.$msSpan==="0"?"0":n.$mdSpan==="1"?"8.333333%":n.$mdSpan==="2"?"16.666667%":n.$mdSpan==="3"?"25%":n.$mdSpan==="4"?"33.333333%":n.$mdSpan==="5"?"41.666667%":n.$mdSpan==="6"?"50%":n.$mdSpan==="7"?"58.333333%":n.$mdSpan==="8"?"66.666667%":n.$mdSpan==="9"?"75%":n.$mdSpan==="10"?"83.333333%":n.$mdSpan==="11"?"91.666667%":n.$mdSpan==="12"?"100%":"auto"};
|
|
743
|
+
}
|
|
744
|
+
@media ${n=>n.theme.mediaQuery.lg}{
|
|
745
|
+
display: ${n=>n.$lgSpan==="0"?"none":"flex"};
|
|
746
|
+
-ms-flex: 0 0 ${n=>n.$lgSpan==="0"?"0":n.$lgSpan==="1"?"8.333333%":n.$lgSpan==="2"?"16.666667%":n.$lgSpan==="3"?"25%":n.$lgSpan==="4"?"33.333333%":n.$lgSpan==="5"?"41.666667%":n.$lgSpan==="6"?"50%":n.$lgSpan==="7"?"58.333333%":n.$lgSpan==="8"?"66.666667%":n.$lgSpan==="9"?"75%":n.$lgSpan==="10"?"83.333333%":n.$lgSpan==="11"?"91.666667%":n.$lgSpan==="12"?"100%":"auto"};
|
|
747
|
+
flex: 0 0 ${n=>n.$lgSpan==="0"?"0":n.$lgSpan==="1"?"8.333333%":n.$lgSpan==="2"?"16.666667%":n.$lgSpan==="3"?"25%":n.$lgSpan==="4"?"33.333333%":n.$lgSpan==="5"?"41.666667%":n.$lgSpan==="6"?"50%":n.$lgSpan==="7"?"58.333333%":n.$lgSpan==="8"?"66.666667%":n.$lgSpan==="9"?"75%":n.$lgSpan==="10"?"83.333333%":n.$lgSpan==="11"?"91.666667%":n.$lgSpan==="12"?"100%":"auto"};
|
|
748
|
+
max-width: ${n=>n.$lgSpan==="0"?"0":n.$lgSpan==="1"?"8.333333%":n.$lgSpan==="2"?"16.666667%":n.$lgSpan==="3"?"25%":n.$lgSpan==="4"?"33.333333%":n.$lgSpan==="5"?"41.666667%":n.$lgSpan==="6"?"50%":n.$lgSpan==="7"?"58.333333%":n.$lgSpan==="8"?"66.666667%":n.$lgSpan==="9"?"75%":n.$lgSpan==="10"?"83.333333%":n.$lgSpan==="11"?"91.666667%":n.$lgSpan==="12"?"100%":"auto"};
|
|
749
|
+
}
|
|
750
|
+
@media ${n=>n.theme.mediaQuery.xl}{
|
|
751
|
+
display: ${n=>n.$xlSpan==="0"?"none":"flex"};
|
|
752
|
+
-ms-flex: 0 0 ${n=>n.$xlSpan==="0"?"0":n.$xlSpan==="1"?"8.333333%":n.$xlSpan==="2"?"16.666667%":n.$xlSpan==="3"?"25%":n.$xlSpan==="4"?"33.333333%":n.$xlSpan==="5"?"41.666667%":n.$xlSpan==="6"?"50%":n.$xlSpan==="7"?"58.333333%":n.$xlSpan==="8"?"66.666667%":n.$xlSpan==="9"?"75%":n.$xlSpan==="10"?"83.333333%":n.$xlSpan==="11"?"91.666667%":n.$xlSpan==="12"?"100%":"auto"};
|
|
753
|
+
flex: 0 0 ${n=>n.$xlSpan==="0"?"0":n.$xlSpan==="1"?"8.333333%":n.$xlSpan==="2"?"16.666667%":n.$xlSpan==="3"?"25%":n.$xlSpan==="4"?"33.333333%":n.$xlSpan==="5"?"41.666667%":n.$xlSpan==="6"?"50%":n.$xlSpan==="7"?"58.333333%":n.$xlSpan==="8"?"66.666667%":n.$xlSpan==="9"?"75%":n.$xlSpan==="10"?"83.333333%":n.$xlSpan==="11"?"91.666667%":n.$xlSpan==="12"?"100%":"auto"};
|
|
754
|
+
max-width: ${n=>n.$xlSpan==="0"?"0":n.$xlSpan==="1"?"8.333333%":n.$xlSpan==="2"?"16.666667%":n.$xlSpan==="3"?"25%":n.$xlSpan==="4"?"33.333333%":n.$xlSpan==="5"?"41.666667%":n.$xlSpan==="6"?"50%":n.$xlSpan==="7"?"58.333333%":n.$xlSpan==="8"?"66.666667%":n.$xlSpan==="9"?"75%":n.$xlSpan==="10"?"83.333333%":n.$xlSpan==="11"?"91.666667%":n.$xlSpan==="12"?"100%":"auto"};
|
|
755
|
+
}
|
|
756
|
+
&& label{
|
|
757
|
+
${n=>n.$inputBoundary==="last"&&"margin-bottom: 0px"};
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
`,J2=xe.div`
|
|
761
|
+
&&{
|
|
762
|
+
width: 100%;
|
|
763
|
+
position: relative;
|
|
764
|
+
margin: ${n=>n.$margin?n.$margin:"20px 0px 0px"};
|
|
765
|
+
}
|
|
766
|
+
`;xe.div`
|
|
767
|
+
&&{
|
|
768
|
+
width: 100%;
|
|
769
|
+
height: 100%;
|
|
770
|
+
padding: ${n=>n.$padding?n.$padding:"30px 0px"};
|
|
771
|
+
position: relative;
|
|
772
|
+
background-color: ${n=>n.$color?n.theme.colors[n.$color]:n.theme.colors.lightGreen};
|
|
773
|
+
${n=>n.$minHeight&&Xe`
|
|
774
|
+
min-height: ${n.$minHeight};
|
|
775
|
+
`};
|
|
776
|
+
}
|
|
777
|
+
`;xe.div`
|
|
778
|
+
&&{
|
|
779
|
+
overflow: hidden;
|
|
780
|
+
position: relative;
|
|
781
|
+
min-width: ${n=>n.$width?n.$width:"100%"};
|
|
782
|
+
min-height: ${n=>n.$height?n.$height:"250px"};
|
|
783
|
+
border-radius: ${n=>n.$bRadius?n.$bRadius:"0"};
|
|
784
|
+
margin: ${n=>n.$margin?n.$margin:"0"};
|
|
785
|
+
> img {
|
|
786
|
+
width: auto;
|
|
787
|
+
height: 100%;
|
|
788
|
+
position: absolute;
|
|
789
|
+
top: 50%;
|
|
790
|
+
left: 50%;
|
|
791
|
+
transform: translate(-50%, -50%);
|
|
792
|
+
}
|
|
793
|
+
@media ${n=>n.theme.mediaQuery.md}{
|
|
794
|
+
min-height: ${n=>n.$height?`calc(${n.$height}*2)`:"500px"};
|
|
795
|
+
min-width: ${n=>n.$width?`calc(${n.$width}*2)`:"500px"};
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
`;xe.div`
|
|
799
|
+
&&{
|
|
800
|
+
position: ${n=>n.$position?n.$position:"static"};
|
|
801
|
+
${n=>n.$top&&Xe`
|
|
802
|
+
top: ${n.$top};
|
|
803
|
+
`};
|
|
804
|
+
${n=>n.$bottom&&Xe`
|
|
805
|
+
bottom: ${n.$bottom};
|
|
806
|
+
`};
|
|
807
|
+
${n=>n.$zIndex&&Xe`
|
|
808
|
+
z-index: ${n.$zIndex};
|
|
809
|
+
`};
|
|
810
|
+
display: flex;
|
|
811
|
+
flex: 1 1 auto;
|
|
812
|
+
flex-wrap: ${n=>n.$flexWrap?n.$flexWrap:"nowrap"};
|
|
813
|
+
flex-direction: ${n=>n.$flex?n.$flex:"row"};
|
|
814
|
+
justify-content: ${n=>n.$justify?n.$justify:"center"};
|
|
815
|
+
align-items: ${n=>n.$align?n.$align:"center"};
|
|
816
|
+
margin: ${n=>n.$margin?n.$margin:"0"};
|
|
817
|
+
padding: ${n=>n.$padding?n.$padding:"0"};
|
|
818
|
+
background-color: ${n=>n.$bgColor?n.theme.colors[n.$bgColor]:"transparent"};
|
|
819
|
+
border-radius: ${n=>n.$bRadius?n.$bRadius:"0"};
|
|
820
|
+
${n=>n.$minWidth&&Xe`
|
|
821
|
+
min-width: ${n.$minWidth};
|
|
822
|
+
`};
|
|
823
|
+
${n=>n.$minHeight&&Xe`
|
|
824
|
+
min-height: ${n.$minHeight};
|
|
825
|
+
`};
|
|
826
|
+
${n=>n.$maxWidth&&Xe`
|
|
827
|
+
max-width: ${n.$maxWidth};
|
|
828
|
+
`};
|
|
829
|
+
${n=>n.$maxHeight&&Xe`
|
|
830
|
+
max-height: ${n.$maxHeight};
|
|
831
|
+
`};
|
|
832
|
+
}
|
|
833
|
+
`;const QS=xe.div`
|
|
834
|
+
&&{
|
|
835
|
+
display: flex;
|
|
836
|
+
// flex-grow: 1;
|
|
837
|
+
flex-direction: column;
|
|
838
|
+
position: relative;
|
|
839
|
+
font-family: ${n=>n.theme.fonts.poppins};
|
|
840
|
+
max-height: ${n=>n.$type=="textArea"?"200px":n.$type=="symptomSurvey"?"160px":"0"};
|
|
841
|
+
transition: all .2s;
|
|
842
|
+
& input::-webkit-outer-spin-button,
|
|
843
|
+
& input::-webkit-inner-spin-button {
|
|
844
|
+
-webkit-appearance: none;
|
|
845
|
+
margin: 0;
|
|
846
|
+
}
|
|
847
|
+
& input[type=number] {
|
|
848
|
+
-moz-appearance: textfield;
|
|
849
|
+
}
|
|
850
|
+
& input, & textarea {
|
|
851
|
+
border: 2px solid ${n=>n.$hasError?n.theme.colors.danger:n.theme.colors.neutral20};
|
|
852
|
+
border-radius: 10px;
|
|
853
|
+
color: ${n=>n.theme.colors.primary};
|
|
854
|
+
font-size: 14px;
|
|
855
|
+
padding: 26px 12px 5px;
|
|
856
|
+
display: block;
|
|
857
|
+
position: relative;
|
|
858
|
+
background-color:${n=>n.theme.colors.neutral20};
|
|
859
|
+
min-width: 100%;
|
|
860
|
+
line-height: 150%;
|
|
861
|
+
transition: all .2s;
|
|
862
|
+
box-shadow: none;
|
|
863
|
+
& > option {
|
|
864
|
+
width: fit-content;
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
& textarea {
|
|
869
|
+
padding: 12px 12px 5px;
|
|
870
|
+
margin-top: 5px;
|
|
871
|
+
min-height: 75px;
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
& input {
|
|
875
|
+
padding: 26px 12px 5px;
|
|
876
|
+
min-height: 60px;
|
|
877
|
+
}
|
|
878
|
+
& input:hover, & input:focus, & input:focus-visible, & textarea:hover, & textarea:focus {
|
|
879
|
+
outline-color: ${n=>n.$hasError?n.theme.colors.danger:n.theme.colors.primary};
|
|
880
|
+
border-color: ${n=>n.$hasError?n.theme.colors.danger:n.theme.colors.primary};
|
|
881
|
+
transition: all .2s;
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
& input:disabled {
|
|
885
|
+
border: none;
|
|
886
|
+
background-color: transparent;
|
|
887
|
+
color: ${n=>n.theme.colors.primary};
|
|
888
|
+
cursor: default;
|
|
889
|
+
box-shadow: 0px -2px 0px 0px rgba(245,244,242,0.75) inset;
|
|
890
|
+
-webkit-box-shadow: 0px -2px 0px 0px rgba(245,244,242,0.75) inset;
|
|
891
|
+
-moz-box-shadow: 0px -2px 0px 0px rgba(245,244,242,0.75) inset;
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
${n=>n.$isPass=="true"&&Xe`
|
|
895
|
+
& button {
|
|
896
|
+
position: absolute;
|
|
897
|
+
right: 15px;
|
|
898
|
+
top: 43%;
|
|
899
|
+
transform: translateY(-50%);
|
|
900
|
+
z-index: 3;
|
|
901
|
+
/* transform: translateY(-50%); */
|
|
902
|
+
background-image: ${n.$show=="true"?`url(${G2})`:`url(${Q2})`};
|
|
903
|
+
background-repeat: no-repeat;
|
|
904
|
+
background-position: center;
|
|
905
|
+
background-size: 21px 15px;
|
|
906
|
+
width: 30px;
|
|
907
|
+
height: 30px;
|
|
908
|
+
border: none;
|
|
909
|
+
background-color: transparent;
|
|
910
|
+
opacity: .8;
|
|
911
|
+
transition: all .2s;
|
|
912
|
+
}
|
|
913
|
+
& button:hover {
|
|
914
|
+
cursor: pointer;
|
|
915
|
+
opacity: 1;
|
|
916
|
+
transition: all .2s;
|
|
917
|
+
}
|
|
918
|
+
`};
|
|
919
|
+
}
|
|
920
|
+
`;xe.div`
|
|
921
|
+
&&{
|
|
922
|
+
display: flex;
|
|
923
|
+
flex-direction: column;
|
|
924
|
+
opacity: ${n=>n.$visible=="true"?1:0};
|
|
925
|
+
z-index: ${n=>n.$visible=="true"?1:-1}; // needed because the button in this input overlays the next button if the input is made to appear and disappear
|
|
926
|
+
max-height: ${n=>n.$visible=="true"?"7500px":"0"};
|
|
927
|
+
transition: all .2s;
|
|
928
|
+
position: relative;
|
|
929
|
+
& > div {
|
|
930
|
+
display: flex;
|
|
931
|
+
flex-direction: row;
|
|
932
|
+
position: relative;
|
|
933
|
+
font-family: ${n=>n.theme.fonts.poppins};
|
|
934
|
+
margin-bottom: 25px;
|
|
935
|
+
max-height: ${n=>n.$visible=="true"?"75px":"0"};
|
|
936
|
+
transition: all .2s;
|
|
937
|
+
}
|
|
938
|
+
& input::-webkit-outer-spin-button,
|
|
939
|
+
& input::-webkit-inner-spin-button {
|
|
940
|
+
-webkit-appearance: none;
|
|
941
|
+
margin: 0;
|
|
942
|
+
}
|
|
943
|
+
& input {
|
|
944
|
+
border: 2px solid ${n=>n.$hasError?n.theme.colors.danger:n.theme.colors.neutral20};
|
|
945
|
+
border-radius: 10px;
|
|
946
|
+
color: ${n=>n.theme.colors.primary};
|
|
947
|
+
font-size: 14px;
|
|
948
|
+
padding: 5px 17px;
|
|
949
|
+
display: block;
|
|
950
|
+
position: relative;
|
|
951
|
+
background-color:${n=>n.theme.colors.neutral20};
|
|
952
|
+
width: 100%;
|
|
953
|
+
line-height: 150%;
|
|
954
|
+
transition: all .2s;
|
|
955
|
+
box-shadow: none;
|
|
956
|
+
& > option {
|
|
957
|
+
width: fit-content;
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
& input {
|
|
961
|
+
min-height: 60px;
|
|
962
|
+
}
|
|
963
|
+
& input:hover, & input:focus {
|
|
964
|
+
border-color: ${n=>n.$hasError?n.theme.colors.danger:n.theme.colors.primary};
|
|
965
|
+
transition: all .2s;
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
& input:disabled {
|
|
969
|
+
border: none;
|
|
970
|
+
background-color: transparent;
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
${YS} {
|
|
974
|
+
bottom: 73px;
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
`;const Z2=xe.div`
|
|
978
|
+
&&{
|
|
979
|
+
// max-height: ${n=>n.$visible===!0?"10000px":"0"};
|
|
980
|
+
// z-index: ${n=>n.$visible===!0?1:-1}; // needed this input overlays the next button if the input is made to appear and disappear
|
|
981
|
+
transition: all .2s;
|
|
982
|
+
display: flex;
|
|
983
|
+
flex-direction: column;
|
|
984
|
+
position: relative;
|
|
985
|
+
// since this one doesnt have the top label it looks better with the other inputs around it if it has neg top margin
|
|
986
|
+
margin: 0;
|
|
987
|
+
|
|
988
|
+
|
|
989
|
+
|
|
990
|
+
${n=>n.$style=="btn"&&Xe`
|
|
991
|
+
margin-bottom: 28px;
|
|
992
|
+
& span {
|
|
993
|
+
width: 100%;
|
|
994
|
+
}
|
|
995
|
+
& span label{
|
|
996
|
+
font-family: ${s=>s.theme.fonts.poppins};
|
|
997
|
+
color: ${s=>s.theme.colors.primary};
|
|
998
|
+
font-weight: 500;
|
|
999
|
+
font-size: 14px;
|
|
1000
|
+
line-height: 16px;
|
|
1001
|
+
-webkit-user-select: none;
|
|
1002
|
+
-moz-user-select: none;
|
|
1003
|
+
-ms-user-select: none;
|
|
1004
|
+
user-select: none;
|
|
1005
|
+
position: relative;
|
|
1006
|
+
display: flex;
|
|
1007
|
+
justify-content: center;
|
|
1008
|
+
align-items: center;
|
|
1009
|
+
width: 100%;
|
|
1010
|
+
height: 60px;
|
|
1011
|
+
padding: 5px 10px;
|
|
1012
|
+
border-radius: 10px;
|
|
1013
|
+
margin-bottom: 10px;
|
|
1014
|
+
background-color: ${s=>s.theme.colors.neutral20};
|
|
1015
|
+
border: 2px solid ${s=>s.theme.colors.neutral20};
|
|
1016
|
+
text-align: center;
|
|
1017
|
+
margin-bottom: 16px;
|
|
1018
|
+
}
|
|
1019
|
+
& span input{
|
|
1020
|
+
position: absolute;
|
|
1021
|
+
cursor: pointer;
|
|
1022
|
+
opacity: 0;
|
|
1023
|
+
height: 0;
|
|
1024
|
+
width: 0;
|
|
1025
|
+
}
|
|
1026
|
+
/* & span label:hover {
|
|
1027
|
+
border: 2px solid ${s=>s.theme.colors.pine120};
|
|
1028
|
+
transition: all .2s;
|
|
1029
|
+
cursor: pointer;
|
|
1030
|
+
} */
|
|
1031
|
+
& span input:checked ~ label {
|
|
1032
|
+
background-color: ${s=>s.theme.colors.ivimGreen};
|
|
1033
|
+
border-color: ${s=>s.theme.colors.ivimGreen};
|
|
1034
|
+
color: ${s=>s.theme.colors.white};
|
|
1035
|
+
transition: all .2s;
|
|
1036
|
+
}
|
|
1037
|
+
`};
|
|
1038
|
+
|
|
1039
|
+
${n=>(n.$style=="input"||n.$style=="product"||!n.$style)&&Xe`
|
|
1040
|
+
& label{
|
|
1041
|
+
display: block;
|
|
1042
|
+
position: relative;
|
|
1043
|
+
padding: 22px 12px 22px 48px ;
|
|
1044
|
+
margin: 0 0 10px;
|
|
1045
|
+
cursor: pointer;
|
|
1046
|
+
font-family: ${s=>s.theme.fonts.poppins};
|
|
1047
|
+
color: ${s=>s.theme.colors.primary};
|
|
1048
|
+
background-color: ${s=>s.theme.colors.neutral20};
|
|
1049
|
+
border-radius: 8px;
|
|
1050
|
+
font-weight: 600;
|
|
1051
|
+
font-size: 14px;
|
|
1052
|
+
line-height: 16px;
|
|
1053
|
+
text-align: left;
|
|
1054
|
+
width: 100%;
|
|
1055
|
+
-webkit-user-select: none;
|
|
1056
|
+
-moz-user-select: none;
|
|
1057
|
+
-ms-user-select: none;
|
|
1058
|
+
user-select: none;
|
|
1059
|
+
line-height: ${n.$labelLineHeight?n.$labelLineHeight:"16px"};
|
|
1060
|
+
width: ${n.$labelWidth?n.$labelWidth:"100%"};
|
|
1061
|
+
}
|
|
1062
|
+
@media ${s=>s.theme.mediaQuery.sm}{
|
|
1063
|
+
// & label {
|
|
1064
|
+
// margin: 0 auto 10px
|
|
1065
|
+
// }
|
|
1066
|
+
}
|
|
1067
|
+
& p {
|
|
1068
|
+
// margin-bottom: 0;
|
|
1069
|
+
}
|
|
1070
|
+
& input{
|
|
1071
|
+
position: absolute;
|
|
1072
|
+
cursor: pointer;
|
|
1073
|
+
opacity: 0;
|
|
1074
|
+
height: 0;
|
|
1075
|
+
width: 0;
|
|
1076
|
+
}
|
|
1077
|
+
& span {
|
|
1078
|
+
position: absolute;
|
|
1079
|
+
top: 50%;
|
|
1080
|
+
transform: translateY(-50%);
|
|
1081
|
+
left: 12px;
|
|
1082
|
+
height: 18px;
|
|
1083
|
+
width: 18px;
|
|
1084
|
+
border-radius: 50%;
|
|
1085
|
+
background-color: ${s=>s.theme.colors.neutral20};
|
|
1086
|
+
border: 1px solid ${s=>s.theme.colors.gray60}
|
|
1087
|
+
}
|
|
1088
|
+
& span:after {
|
|
1089
|
+
content: "";
|
|
1090
|
+
position: absolute;
|
|
1091
|
+
display: none;
|
|
1092
|
+
}
|
|
1093
|
+
/* & label:hover input ~ span{
|
|
1094
|
+
color: ${s=>s.theme.colors.white};
|
|
1095
|
+
background-color: ${s=>s.theme.colors.pine120};
|
|
1096
|
+
border-color: ${s=>s.theme.colors.pine120};
|
|
1097
|
+
transition: all .2s;
|
|
1098
|
+
} */
|
|
1099
|
+
& label input:checked ~ span {
|
|
1100
|
+
color: ${s=>s.theme.colors.white};
|
|
1101
|
+
background-color: ${s=>s.theme.colors.pine120};
|
|
1102
|
+
border-color: ${s=>s.theme.colors.pine120};
|
|
1103
|
+
transition: all .2s;
|
|
1104
|
+
}
|
|
1105
|
+
& label input:checked ~ span:after {
|
|
1106
|
+
display: block;
|
|
1107
|
+
}
|
|
1108
|
+
& label span:after {
|
|
1109
|
+
left: 5px;
|
|
1110
|
+
top: 2px;
|
|
1111
|
+
width: 5px;
|
|
1112
|
+
height: 10px;
|
|
1113
|
+
border: solid white;
|
|
1114
|
+
border-width: 0 2px 2px 0;
|
|
1115
|
+
-webkit-transform: rotate(45deg);
|
|
1116
|
+
-ms-transform: rotate(45deg);
|
|
1117
|
+
transform: rotate(45deg);
|
|
1118
|
+
}
|
|
1119
|
+
`};
|
|
1120
|
+
|
|
1121
|
+
${n=>n.$style=="product"&&Xe`
|
|
1122
|
+
background-color: ${s=>s.theme.colors.white};
|
|
1123
|
+
/* border: 2px solid ${s=>s.theme.colors.neutral40}; */
|
|
1124
|
+
border-radius: 10px;
|
|
1125
|
+
|
|
1126
|
+
& hr{
|
|
1127
|
+
background-color: ${s=>s.theme.colors.neutral40};
|
|
1128
|
+
width: 100%;
|
|
1129
|
+
height: 2px;
|
|
1130
|
+
margin: 5px 0px;
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
& label {
|
|
1134
|
+
margin: 0;
|
|
1135
|
+
padding: 13px 30px 13px 55px;
|
|
1136
|
+
width: 100%;
|
|
1137
|
+
display: flex;
|
|
1138
|
+
flex-direction: row;
|
|
1139
|
+
align-items: center;
|
|
1140
|
+
justify-content: flex-start;
|
|
1141
|
+
border-radius: 10px;
|
|
1142
|
+
background-color: ${s=>s.theme.colors.neutral20};
|
|
1143
|
+
|
|
1144
|
+
}
|
|
1145
|
+
& label > img {
|
|
1146
|
+
width: 64px;
|
|
1147
|
+
height: 64px;
|
|
1148
|
+
margin-right: 10px;
|
|
1149
|
+
border-radius: 10px;
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
& label > div > p:first-child {
|
|
1153
|
+
font-weight: 600;
|
|
1154
|
+
}
|
|
1155
|
+
& label > div > p:nth-child(2) {
|
|
1156
|
+
padding: 0 5px 0 0;
|
|
1157
|
+
}
|
|
1158
|
+
& label > div > p:nth-child(3) {
|
|
1159
|
+
font-weight: 500;
|
|
1160
|
+
}
|
|
1161
|
+
& span {
|
|
1162
|
+
left: 25px;
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
`};
|
|
1166
|
+
|
|
1167
|
+
${n=>(n.$style=="productTableAccordion"||n.$style=="productTable"||n.$style=="productTableWithSelectAccordion"||n.$style=="productTableWithSelectCard")&&Xe`
|
|
1168
|
+
|
|
1169
|
+
& > div > ${GS} > div{
|
|
1170
|
+
/* border: 2px solid orange; */
|
|
1171
|
+
margin: 0 0 30px;
|
|
1172
|
+
background-color: ${s=>s.theme.colors.white};
|
|
1173
|
+
border: 2px solid ${s=>s.theme.colors.neutral30};
|
|
1174
|
+
border-radius: 10px;
|
|
1175
|
+
padding: 0;
|
|
1176
|
+
width: 100%;
|
|
1177
|
+
transition: all .2s;
|
|
1178
|
+
position: relative;
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
|
|
1182
|
+
& label{
|
|
1183
|
+
display: flex;
|
|
1184
|
+
flex-direction: row;
|
|
1185
|
+
align-items: center;
|
|
1186
|
+
position: absolute;
|
|
1187
|
+
top: 4px;
|
|
1188
|
+
left: 20px;
|
|
1189
|
+
z-index: 2;
|
|
1190
|
+
max-width: ${n.$accordion?"73%":"100%"};
|
|
1191
|
+
min-width: 50%;
|
|
1192
|
+
max-height: 40px;
|
|
1193
|
+
overflow: hidden;
|
|
1194
|
+
min-height: 50px;
|
|
1195
|
+
cursor: pointer;
|
|
1196
|
+
margin: auto 0;
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
@media ${s=>s.theme.mediaQuery.xs}{
|
|
1200
|
+
& label {
|
|
1201
|
+
max-width: ${n.$accordion?"80%":"100%"} ;
|
|
1202
|
+
}
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
& label:hover ~ div {
|
|
1206
|
+
border: 2px solid ${s=>s.theme.colors.pine120};
|
|
1207
|
+
transition: all .2s;
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
& input:checked ~ div{
|
|
1211
|
+
border: 2px solid ${s=>s.theme.colors.pine120};
|
|
1212
|
+
transition: all .2s;
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
& input{
|
|
1216
|
+
position: absolute;
|
|
1217
|
+
cursor: pointer;
|
|
1218
|
+
opacity: 0;
|
|
1219
|
+
height: 0;
|
|
1220
|
+
width: 0;
|
|
1221
|
+
}
|
|
1222
|
+
& hr{
|
|
1223
|
+
background-color: ${s=>s.theme.colors.neutral40};
|
|
1224
|
+
width: 100%;
|
|
1225
|
+
height: 2px;
|
|
1226
|
+
margin: 0;
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
|
|
1230
|
+
& label span {
|
|
1231
|
+
display: block;
|
|
1232
|
+
height: 20px;
|
|
1233
|
+
width: 20px;
|
|
1234
|
+
min-height: 20px;
|
|
1235
|
+
min-width: 20px;
|
|
1236
|
+
border-radius: 5px;
|
|
1237
|
+
background-color: ${s=>s.theme.colors.neutral40};
|
|
1238
|
+
transition: all .2s;
|
|
1239
|
+
margin-right: 10px;
|
|
1240
|
+
position: relative;
|
|
1241
|
+
cursor: pointer;
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
& input:checked ~ label span {
|
|
1245
|
+
color: ${s=>s.theme.colors.white};
|
|
1246
|
+
background-color: ${s=>s.theme.colors.pine120};
|
|
1247
|
+
border-color: ${s=>s.theme.colors.pine120};
|
|
1248
|
+
transition: all .2s;
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
& span:after {
|
|
1252
|
+
content: "";
|
|
1253
|
+
position: absolute;
|
|
1254
|
+
display: none;
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
& label span:after {
|
|
1258
|
+
display: block;
|
|
1259
|
+
left: 7px;
|
|
1260
|
+
top: 3px;
|
|
1261
|
+
width: 5px;
|
|
1262
|
+
height: 10px;
|
|
1263
|
+
border: solid white;
|
|
1264
|
+
border-width: 0 2px 2px 0;
|
|
1265
|
+
-webkit-transform: rotate(45deg);
|
|
1266
|
+
-ms-transform: rotate(45deg);
|
|
1267
|
+
transform: rotate(45deg);
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
/* use the code below if we want to get rid of the white check mark in the not selected state */
|
|
1271
|
+
|
|
1272
|
+
/* & label span:after {
|
|
1273
|
+
content: "";
|
|
1274
|
+
position: absolute;
|
|
1275
|
+
display: none;
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
& input:checked ~ label span:after {
|
|
1279
|
+
left: 7px;
|
|
1280
|
+
top: 3px;
|
|
1281
|
+
width: 5px;
|
|
1282
|
+
height: 10px;
|
|
1283
|
+
border: solid white;
|
|
1284
|
+
border-width: 0 2px 2px 0;
|
|
1285
|
+
-webkit-transform: rotate(45deg);
|
|
1286
|
+
-ms-transform: rotate(45deg);
|
|
1287
|
+
transform: rotate(45deg);
|
|
1288
|
+
display: block;
|
|
1289
|
+
transition: all .2s;
|
|
1290
|
+
} */
|
|
1291
|
+
`};
|
|
1292
|
+
}
|
|
1293
|
+
`;xe.div`
|
|
1294
|
+
&&{
|
|
1295
|
+
height: 55px;
|
|
1296
|
+
width: 100%;
|
|
1297
|
+
border-bottom: ${n=>n.$showBorder=="true"?`2px solid ${n.theme.colors.neutral30}`:"none"} ;
|
|
1298
|
+
display: flex;
|
|
1299
|
+
justify-content: flex-end;
|
|
1300
|
+
padding-right: 5px;
|
|
1301
|
+
& ${W2}{
|
|
1302
|
+
font-weight: 600;
|
|
1303
|
+
text-transform: capitalize;
|
|
1304
|
+
}
|
|
1305
|
+
}
|
|
1306
|
+
`;xe.button`
|
|
1307
|
+
&&{
|
|
1308
|
+
position: relative;
|
|
1309
|
+
width: 35px;
|
|
1310
|
+
height: 35px;
|
|
1311
|
+
margin: auto 0px;
|
|
1312
|
+
border: none;
|
|
1313
|
+
background-color: transparent;
|
|
1314
|
+
padding: 0px 10px 10px;
|
|
1315
|
+
transition: all .2s;
|
|
1316
|
+
background-image: url(${q2});
|
|
1317
|
+
background-position: center;
|
|
1318
|
+
background-repeat: no-repeat;
|
|
1319
|
+
cursor: pointer;
|
|
1320
|
+
${n=>n.$open==="true"&&Xe`
|
|
1321
|
+
transform: rotate(90deg);
|
|
1322
|
+
transition: all .2s;
|
|
1323
|
+
`}
|
|
1324
|
+
@media ${n=>n.theme.mediaQuery.xs}{
|
|
1325
|
+
width: 45px;
|
|
1326
|
+
height: 45px;
|
|
1327
|
+
}
|
|
1328
|
+
}
|
|
1329
|
+
`;xe.div`
|
|
1330
|
+
&&{
|
|
1331
|
+
display: none;
|
|
1332
|
+
margin: auto 10px auto 0px;
|
|
1333
|
+
border-radius: 10px;
|
|
1334
|
+
background-position: center;
|
|
1335
|
+
background-size: contain;
|
|
1336
|
+
background-repeat: no-repeat;
|
|
1337
|
+
background-image: ${n=>n.$bgImg=="default"||!n.$bgImg?`url(${K2})`:`url(${n.$bgImg})`} ;
|
|
1338
|
+
@media ${n=>n.theme.mediaQuery.xs}{
|
|
1339
|
+
display: block;
|
|
1340
|
+
min-width: 40px;
|
|
1341
|
+
height: 40px;
|
|
1342
|
+
min-width: 40px;
|
|
1343
|
+
min-height: 40px;
|
|
1344
|
+
}
|
|
1345
|
+
@media ${n=>n.theme.mediaQuery.sm}{
|
|
1346
|
+
min-width:55px;
|
|
1347
|
+
height:55px;
|
|
1348
|
+
min-width:55px;
|
|
1349
|
+
min-height:55px;
|
|
1350
|
+
}
|
|
1351
|
+
@media ${n=>n.theme.mediaQuery.md}{
|
|
1352
|
+
min-width:60px;
|
|
1353
|
+
height:60px;
|
|
1354
|
+
min-width:60px;
|
|
1355
|
+
min-height:60px;
|
|
1356
|
+
}
|
|
1357
|
+
}
|
|
1358
|
+
`;xe.span`
|
|
1359
|
+
margin: 0 20px 0 auto;
|
|
1360
|
+
background-color: ${n=>n.theme.colors.ivimGreen};
|
|
1361
|
+
color: ${n=>n.theme.colors.white};
|
|
1362
|
+
border-radius: 6px 6px 0 0;
|
|
1363
|
+
padding: 2px 10px 0;
|
|
1364
|
+
min-height: 27px;
|
|
1365
|
+
text-transform: uppercase;
|
|
1366
|
+
font-weight: 600;
|
|
1367
|
+
font-size: 10px;
|
|
1368
|
+
position: absolute;
|
|
1369
|
+
bottom: 100%;
|
|
1370
|
+
right: 0%;
|
|
1371
|
+
z-index: -1;
|
|
1372
|
+
@media ${n=>n.theme.mediaQuery.md}{
|
|
1373
|
+
font-size: 14px;
|
|
1374
|
+
}
|
|
1375
|
+
@media ${n=>n.theme.mediaQuery.sm}{
|
|
1376
|
+
font-size: 12px;
|
|
1377
|
+
}
|
|
1378
|
+
`;xe.div`
|
|
1379
|
+
&&{
|
|
1380
|
+
height: ${n=>n.$open=="true"?"auto":"0px"};
|
|
1381
|
+
padding: ${n=>n.$open=="true"?"15px 0px":"0"};
|
|
1382
|
+
display: flex;
|
|
1383
|
+
flex: 1 1 auto;
|
|
1384
|
+
flex-direction: column;
|
|
1385
|
+
justify-content: center;
|
|
1386
|
+
align-items: stretch;
|
|
1387
|
+
overflow: ${n=>n.$open=="true"?"visible":"hidden"};
|
|
1388
|
+
margin: 0 20px;
|
|
1389
|
+
transition: all .2s;
|
|
1390
|
+
@media ${n=>n.theme.mediaQuery.md}{
|
|
1391
|
+
margin: 0 28px;
|
|
1392
|
+
}
|
|
1393
|
+
}
|
|
1394
|
+
`;xe.button`
|
|
1395
|
+
&&{
|
|
1396
|
+
display: flex;
|
|
1397
|
+
justify-content: center;
|
|
1398
|
+
align-items:center;
|
|
1399
|
+
width: -webkit-fill-available;
|
|
1400
|
+
margin-left: -10px;
|
|
1401
|
+
margin-right: -10px;
|
|
1402
|
+
background-color: transparent;
|
|
1403
|
+
padding: 0px;
|
|
1404
|
+
border-top: 2px solid ${n=>n.theme.colors.neutral30};
|
|
1405
|
+
border-radius: 0;
|
|
1406
|
+
margin-bottom: -17px;
|
|
1407
|
+
padding: 5px 0px;
|
|
1408
|
+
& ${I2}{
|
|
1409
|
+
margin-bottom: 0px;
|
|
1410
|
+
}
|
|
1411
|
+
@media ${n=>n.theme.mediaQuery.md}{
|
|
1412
|
+
margin-left: -28px;
|
|
1413
|
+
margin-right: -28px;
|
|
1414
|
+
}
|
|
1415
|
+
}
|
|
1416
|
+
`;xe.div`
|
|
1417
|
+
&& {
|
|
1418
|
+
display: flex;
|
|
1419
|
+
flex-direction: column;
|
|
1420
|
+
position: relative;
|
|
1421
|
+
height: 90px;
|
|
1422
|
+
font-family: ${n=>n.theme.fonts.poppins};
|
|
1423
|
+
margin-bottom: ${n=>n.$visible!=="true"?"0":"10px"};
|
|
1424
|
+
position: relative;
|
|
1425
|
+
z-index: ${n=>n.$visible=="true"?1:-1}; // needed this input overlays the next button if the input is made to appear and disappear
|
|
1426
|
+
opacity: ${n=>n.$visible=="true"?1:0};
|
|
1427
|
+
max-height: ${n=>n.$visible=="true"?"90px":"0"};
|
|
1428
|
+
transition: all .2s;
|
|
1429
|
+
|
|
1430
|
+
&:before{
|
|
1431
|
+
position: absolute;
|
|
1432
|
+
content: '';
|
|
1433
|
+
width: 20px;
|
|
1434
|
+
height: 20px;
|
|
1435
|
+
background-color: ${n=>n.theme.colors.neutral20};
|
|
1436
|
+
right: 6px;
|
|
1437
|
+
top: 38%;
|
|
1438
|
+
transform: translateY(-50%);
|
|
1439
|
+
pointer-events: none;
|
|
1440
|
+
}
|
|
1441
|
+
&:after {
|
|
1442
|
+
position: absolute;
|
|
1443
|
+
content: '';
|
|
1444
|
+
width: 10px;
|
|
1445
|
+
height: 10px;
|
|
1446
|
+
background-image: url(${X2});
|
|
1447
|
+
background-position: center;
|
|
1448
|
+
background-repeat: no-repeat;
|
|
1449
|
+
background-size: contain;
|
|
1450
|
+
right: 10px;
|
|
1451
|
+
top: 36%;
|
|
1452
|
+
transform: translateY(-50%) rotate(-90deg);
|
|
1453
|
+
pointer-events: none;
|
|
1454
|
+
}
|
|
1455
|
+
& select {
|
|
1456
|
+
border: 2px solid ${n=>n.$hasError?n.theme.colors.danger:n.theme.colors.neutral20};
|
|
1457
|
+
border-radius: 10px;
|
|
1458
|
+
font-size: 14px;
|
|
1459
|
+
font-weight: 500;
|
|
1460
|
+
padding-top: 14px!important;
|
|
1461
|
+
padding-left: 12px;
|
|
1462
|
+
padding-right: 17px;
|
|
1463
|
+
display: block;
|
|
1464
|
+
background-color: ${n=>n.theme.colors.neutral20};
|
|
1465
|
+
min-width: 100%;
|
|
1466
|
+
min-height: 60px;
|
|
1467
|
+
line-height: 50px;
|
|
1468
|
+
transition: all .2s;
|
|
1469
|
+
}
|
|
1470
|
+
& select:hover, & select:focus {
|
|
1471
|
+
border-color: ${n=>n.$hasError?n.theme.colors.danger:n.theme.colors.primary};
|
|
1472
|
+
transition: all .2s;
|
|
1473
|
+
}
|
|
1474
|
+
& input:disabled {
|
|
1475
|
+
border: none;
|
|
1476
|
+
background-color: transparent;
|
|
1477
|
+
}
|
|
1478
|
+
}
|
|
1479
|
+
`;xe.div`
|
|
1480
|
+
&& {
|
|
1481
|
+
display: flex;
|
|
1482
|
+
flex-direction: column;
|
|
1483
|
+
position: relative;
|
|
1484
|
+
font-family: ${n=>n.theme.fonts.poppins};
|
|
1485
|
+
margin: ${n=>n.$visible!=="true"?"0":"0px auto 35px"} ;
|
|
1486
|
+
/* max-width: 364px; */
|
|
1487
|
+
height: 119px;
|
|
1488
|
+
background-color: ${n=>n.theme.colors.neutral20};
|
|
1489
|
+
border: 2px solid ${n=>n.$hasError?n.theme.colors.danger:n.theme.colors.neutral20};
|
|
1490
|
+
border-radius: 10px;
|
|
1491
|
+
opacity: ${n=>n.$visible=="true"?1:0};
|
|
1492
|
+
z-index: ${n=>n.$visible=="true"?1:-1}; // needed this input overlays the next button if the input is made to appear and disappear
|
|
1493
|
+
transition: all .2s;
|
|
1494
|
+
|
|
1495
|
+
& input {
|
|
1496
|
+
font-size: 14px;
|
|
1497
|
+
padding: 0 15px 10px 40%;
|
|
1498
|
+
display: none;
|
|
1499
|
+
position: relative;
|
|
1500
|
+
background-color: ${n=>n.theme.colors.white};
|
|
1501
|
+
min-width: 100%;
|
|
1502
|
+
border-radius: 10px;
|
|
1503
|
+
transition: all .2s;
|
|
1504
|
+
}
|
|
1505
|
+
& input:focus, & input:hover {
|
|
1506
|
+
border-color:${n=>n.$hasError?n.theme.colors.danger:n.theme.colors.primary};
|
|
1507
|
+
transition: all .2s;
|
|
1508
|
+
}
|
|
1509
|
+
& input:disabled {
|
|
1510
|
+
border: none;
|
|
1511
|
+
background-color: transparent;
|
|
1512
|
+
}
|
|
1513
|
+
& input[type="file"]::-webkit-file-upload-button,
|
|
1514
|
+
input[type="file"]::file-selector-button {
|
|
1515
|
+
display: none !important;
|
|
1516
|
+
}
|
|
1517
|
+
& span::after {
|
|
1518
|
+
height: 1em;
|
|
1519
|
+
width: 1em;
|
|
1520
|
+
margin-left: 2px;
|
|
1521
|
+
color: ${n=>n.theme.colors.gray};
|
|
1522
|
+
content: "${n=>n.$req=="true"?"*":""}";
|
|
1523
|
+
}
|
|
1524
|
+
& span {
|
|
1525
|
+
margin-left: 25px;
|
|
1526
|
+
color: ${n=>n.theme.colors.gray};
|
|
1527
|
+
border-radius: 10px;
|
|
1528
|
+
transition: all .2s;
|
|
1529
|
+
background-color: ${n=>n.theme.colors.neutral20};
|
|
1530
|
+
padding: 10px 3px;
|
|
1531
|
+
line-height: 1.2em;
|
|
1532
|
+
z-index: 3;
|
|
1533
|
+
font-size: 10px;
|
|
1534
|
+
}
|
|
1535
|
+
& label {
|
|
1536
|
+
position: absolute;
|
|
1537
|
+
left: 25px;
|
|
1538
|
+
top: 55%;
|
|
1539
|
+
transform: translateY(-50%);
|
|
1540
|
+
height: 44px;
|
|
1541
|
+
border-radius: 10px;
|
|
1542
|
+
border: 1px solid ${n=>n.theme.colors.gray60};
|
|
1543
|
+
padding: 12px 26px 11px 22px;
|
|
1544
|
+
width: 40%;
|
|
1545
|
+
font-size: 14px;
|
|
1546
|
+
display: flex;
|
|
1547
|
+
flex-direction: row;
|
|
1548
|
+
align-items: center;
|
|
1549
|
+
justify-content: center;
|
|
1550
|
+
font-weight: 400;
|
|
1551
|
+
transition: all .2s;
|
|
1552
|
+
line-height: 150%;
|
|
1553
|
+
text-decoration: none;
|
|
1554
|
+
background-color: ${n=>n.theme.colors.white};
|
|
1555
|
+
color: ${n=>n.theme.colors.primary};
|
|
1556
|
+
|
|
1557
|
+
@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
|
1558
|
+
/* Safari and Chrome */
|
|
1559
|
+
min-width: ${n=>n.$isMultiple?"104px":"97px"};
|
|
1560
|
+
}
|
|
1561
|
+
@media screen and (min-resolution: 192dpi) {
|
|
1562
|
+
/* Firefox (does not expand btn for multiple files) */
|
|
1563
|
+
min-width: 73px;
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
}
|
|
1567
|
+
& label:hover{
|
|
1568
|
+
background-color: ${n=>n.theme.colors.ivimGreen};
|
|
1569
|
+
border-color: ${n=>n.theme.colors.ivimGreen};
|
|
1570
|
+
color: ${n=>n.theme.colors.white};
|
|
1571
|
+
cursor: pointer;
|
|
1572
|
+
}
|
|
1573
|
+
& p.fileName {
|
|
1574
|
+
position: absolute;
|
|
1575
|
+
top: 50%;
|
|
1576
|
+
transform: translateY(-50%);
|
|
1577
|
+
margin-left: 55%;
|
|
1578
|
+
color: ${n=>n.theme.colors.primary};
|
|
1579
|
+
font-size: 14px;
|
|
1580
|
+
font-weight: 400;
|
|
1581
|
+
line-height: 150%;
|
|
1582
|
+
width: 40%;
|
|
1583
|
+
text-align: left;
|
|
1584
|
+
margin-top: 5px;
|
|
1585
|
+
}
|
|
1586
|
+
}
|
|
1587
|
+
`;xe.div`
|
|
1588
|
+
&&{
|
|
1589
|
+
display: flex;
|
|
1590
|
+
flex-direction: column;
|
|
1591
|
+
position: relative;
|
|
1592
|
+
font-family: ${n=>n.theme.fonts.poppins};
|
|
1593
|
+
margin: ${n=>n.$visible!=="true"?"0":n.$margin?n.$margin:"0px auto 40px 0px"};
|
|
1594
|
+
width: 100%;
|
|
1595
|
+
/* max-width: 300px; */
|
|
1596
|
+
opacity: ${n=>n.$visible=="true"?1:0};
|
|
1597
|
+
z-index: ${n=>n.$visible=="true"?5:-1}; // needed this input overlays the next button if the input is made to appear and disappear
|
|
1598
|
+
max-height: ${n=>n.$visible=="true"?"50px":"0"};
|
|
1599
|
+
transition: all .2s;
|
|
1600
|
+
|
|
1601
|
+
//Styling targeting the packages date picker classnames
|
|
1602
|
+
.DPCalendar .react-datepicker__header,
|
|
1603
|
+
.DPCalendar .react-datepicker__header div,
|
|
1604
|
+
.DPCalendar .react-datepicker__day--selected {
|
|
1605
|
+
background-color: #5A6859;
|
|
1606
|
+
color: #fff;
|
|
1607
|
+
}
|
|
1608
|
+
.react-datepicker__header__dropdown.react-datepicker__header__dropdown--scroll {
|
|
1609
|
+
display: flex;
|
|
1610
|
+
justify-content: space-between;
|
|
1611
|
+
}
|
|
1612
|
+
.react-datepicker__current-month{
|
|
1613
|
+
margin: 0 auto 3px;
|
|
1614
|
+
text-align: center;
|
|
1615
|
+
display: block !important;
|
|
1616
|
+
font-size: 12px;
|
|
1617
|
+
}
|
|
1618
|
+
.react-datepicker__month-dropdown-container--scroll {
|
|
1619
|
+
font-size: 10px;
|
|
1620
|
+
}
|
|
1621
|
+
.react-datepicker__year-dropdown-container--scroll {
|
|
1622
|
+
font-size: 10px;
|
|
1623
|
+
margin: 0 30px 0 15px
|
|
1624
|
+
}
|
|
1625
|
+
.react-datepicker__month-dropdown {
|
|
1626
|
+
overflow-y: auto;
|
|
1627
|
+
height: 150px
|
|
1628
|
+
}
|
|
1629
|
+
|
|
1630
|
+
.react-datepicker__month-option--selected, .react-datepicker__year-option--selected {
|
|
1631
|
+
left: 3px;
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1634
|
+
.react-datepicker__navigation--next, .react-datepicker__navigation--previous {
|
|
1635
|
+
display: none;
|
|
1636
|
+
}
|
|
1637
|
+
.react-datepicker-popper.DPCalendar {
|
|
1638
|
+
z-index: 5;
|
|
1639
|
+
// left: unset !important;
|
|
1640
|
+
// right: 29%;
|
|
1641
|
+
// top: -150px !important;
|
|
1642
|
+
// bottom: unset !important;
|
|
1643
|
+
}
|
|
1644
|
+
.react-datepicker__triangle {
|
|
1645
|
+
display: none;
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1648
|
+
.react-datepicker-wrapper input {
|
|
1649
|
+
border: 2px solid ${n=>n.$hasError?n.theme.colors.danger:n.theme.colors.neutral20};
|
|
1650
|
+
border-radius: 10px;
|
|
1651
|
+
height: 60px;
|
|
1652
|
+
font-size: 14px;
|
|
1653
|
+
padding: 26px 12px 5px;
|
|
1654
|
+
display: block;
|
|
1655
|
+
background-color: ${n=>n.theme.colors.neutral20};
|
|
1656
|
+
min-width: 100%;
|
|
1657
|
+
line-height: 1.2em;
|
|
1658
|
+
transition: all .2s;
|
|
1659
|
+
}
|
|
1660
|
+
.react-datepicker-wrapper input:focus, .react-datepicker-wrapper input:hover {
|
|
1661
|
+
border-color: ${n=>n.$hasError?n.theme.colors.danger:n.theme.colors.primary};
|
|
1662
|
+
transition: all .2s;
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1665
|
+
}
|
|
1666
|
+
`;const e6=xe.div`
|
|
1667
|
+
max-width: 900px;
|
|
1668
|
+
margin: 0 auto;
|
|
1669
|
+
padding: 16px;
|
|
1670
|
+
position: relative;
|
|
1671
|
+
|
|
1672
|
+
@media (min-width: 768px) {
|
|
1673
|
+
padding: 32px;
|
|
1674
|
+
}
|
|
1675
|
+
`,t6=xe.button`
|
|
1676
|
+
&&{
|
|
1677
|
+
border-radius: ${n=>n.$radius?n.$radius:"5px"};
|
|
1678
|
+
padding: 10px 20px;
|
|
1679
|
+
font-size: 14px;
|
|
1680
|
+
display: flex;
|
|
1681
|
+
flex-direction: row;
|
|
1682
|
+
align-items: center;
|
|
1683
|
+
justify-content: center;
|
|
1684
|
+
font-weight: ${n=>n.$btnStyle==="black"||n.$btnStyle==="gray"||n.$btnStyle==="green"?600:400};
|
|
1685
|
+
transition: all .2s;
|
|
1686
|
+
border: ${n=>n.$btnStyle==="green"?`1px solid ${n.theme.colors.ivimGreen}`:n.$btnStyle==="gray"?`1px solid ${n.theme.colors.ltGray}`:`1px solid ${n.theme.colors.primary}`};
|
|
1687
|
+
line-height: 150%;
|
|
1688
|
+
text-transform: ${n=>n.$case?n.$case:"none"};
|
|
1689
|
+
background-color: ${n=>n.$btnStyle==="green"?n.theme.colors.ivimGreen:n.$btnStyle==="gray"?n.theme.colors.ltGray:n.$btnStyle==="black"?n.theme.colors.primary:n.theme.colors.white};
|
|
1690
|
+
color: ${n=>n.$btnStyle==="green"||n.$btnStyle==="black"?n.theme.colors.white:n.theme.colors.primary};
|
|
1691
|
+
min-width: ${n=>n.$minWidth?n.$minWidth:"110px"};
|
|
1692
|
+
width: 100%;
|
|
1693
|
+
margin: ${n=>n.$margin?n.$margin:"0 20px 15px 0"};
|
|
1694
|
+
${n=>n.$disable?Xe`
|
|
1695
|
+
/* allows the button to be clicked in the instance there is a function that the use case wants the button to be clickable i.e. triggering error states */
|
|
1696
|
+
pointer-events: ${s=>s.$allowDisableClick?"auto":"none"};
|
|
1697
|
+
opacity: .4;
|
|
1698
|
+
&:hover {
|
|
1699
|
+
cursor: not-allowed;
|
|
1700
|
+
background-color: ${n.theme.colors.primary};
|
|
1701
|
+
}
|
|
1702
|
+
`:Xe`
|
|
1703
|
+
&:hover{
|
|
1704
|
+
transition: all .2s;
|
|
1705
|
+
cursor: pointer;
|
|
1706
|
+
background-color: ${n.$btnStyle==="green"?n.theme.colors.primary:n.theme.colors.ivimGreen};
|
|
1707
|
+
color: ${n.theme.colors.white};
|
|
1708
|
+
border: 1px solid ${n.$btnStyle==="green"?n.theme.colors.primary:n.theme.colors.ivimGreen};
|
|
1709
|
+
}
|
|
1710
|
+
`}
|
|
1711
|
+
@media ${n=>n.theme.mediaQuery.md}{
|
|
1712
|
+
max-width: ${n=>n.$minWidth==="100%"?n.$minWidth:"364px"};
|
|
1713
|
+
}
|
|
1714
|
+
|
|
1715
|
+
|
|
1716
|
+
${n=>n.$includeIcon&&Xe`
|
|
1717
|
+
& >div {
|
|
1718
|
+
background-image: ${s=>`url('/assets/images/${s.$icon}Icon.png')`};
|
|
1719
|
+
width: 24px;
|
|
1720
|
+
height: 24px;
|
|
1721
|
+
background-size: contain;
|
|
1722
|
+
margin-right: 8px;
|
|
1723
|
+
}
|
|
1724
|
+
|
|
1725
|
+
`}
|
|
1726
|
+
}
|
|
1727
|
+
`;xe.button`
|
|
1728
|
+
&&{
|
|
1729
|
+
border-radius: 4px;
|
|
1730
|
+
padding: 10px 15px;
|
|
1731
|
+
font-size: 14px;
|
|
1732
|
+
min-width: 90px;
|
|
1733
|
+
font-weight: 600;
|
|
1734
|
+
transition: all .2s;
|
|
1735
|
+
border: none;
|
|
1736
|
+
display: flex;
|
|
1737
|
+
align-items: center;
|
|
1738
|
+
justify-content: center;
|
|
1739
|
+
background-color: ${n=>n.$bgColor?n.theme.colors[n.$bgColor]:n.theme.colors.pine120};
|
|
1740
|
+
border: 2px solid ${n=>n.theme.colors.pine120};
|
|
1741
|
+
color: ${n=>n.$color?n.theme.colors[n.$color]:n.theme.colors.white};
|
|
1742
|
+
margin: ${n=>n.$margin?n.$margin:"0 0 15px 0"};
|
|
1743
|
+
${n=>n.$icon=="true"&&Xe`
|
|
1744
|
+
&::before {
|
|
1745
|
+
content: "";
|
|
1746
|
+
display: block;
|
|
1747
|
+
background: url('/assets/images/editPencilBlack.png') no-repeat;
|
|
1748
|
+
background-size: cover;
|
|
1749
|
+
background-position: center;
|
|
1750
|
+
width: 24px;
|
|
1751
|
+
height: 24px;
|
|
1752
|
+
float: left;
|
|
1753
|
+
margin: 0 6px 0 0;
|
|
1754
|
+
transition: all .2s;
|
|
1755
|
+
}
|
|
1756
|
+
`};
|
|
1757
|
+
&:hover, &:focus{
|
|
1758
|
+
background-color: ${n=>n.theme.colors.white};
|
|
1759
|
+
color: ${n=>n.theme.colors.pine120};
|
|
1760
|
+
transition: all .2s;
|
|
1761
|
+
&::before {
|
|
1762
|
+
display: block;
|
|
1763
|
+
background: url('/assets/images/editPencilWhite.png') no-repeat;
|
|
1764
|
+
background-size: cover;
|
|
1765
|
+
background-position: center;
|
|
1766
|
+
width: 24px;
|
|
1767
|
+
height: 24px;
|
|
1768
|
+
float: left;
|
|
1769
|
+
margin: 0 6px 0 0;
|
|
1770
|
+
transition: all .2s;
|
|
1771
|
+
}
|
|
1772
|
+
}
|
|
1773
|
+
}
|
|
1774
|
+
`;xe.a`
|
|
1775
|
+
&&{
|
|
1776
|
+
border-radius: ${n=>n.$radius?n.$radius:"5px"};
|
|
1777
|
+
padding: 10px 20px;
|
|
1778
|
+
font-size: 14px;
|
|
1779
|
+
display: flex;
|
|
1780
|
+
flex-direction: row;
|
|
1781
|
+
align-items: center;
|
|
1782
|
+
justify-content: center;
|
|
1783
|
+
font-weight: ${n=>n.$btnStyle==="black"||n.$btnStyle==="gray"||n.$btnStyle==="green"?600:400};
|
|
1784
|
+
transition: all .2s;
|
|
1785
|
+
border: ${n=>n.$btnStyle==="green"?`1px solid ${n.theme.colors.ivimGreen}`:n.$btnStyle==="gray"?`1px solid ${n.theme.colors.ltGray}`:`1px solid ${n.theme.colors.primary}`};
|
|
1786
|
+
line-height: 150%;
|
|
1787
|
+
text-transform: ${n=>n.$case?n.$case:"none"};
|
|
1788
|
+
background-color: ${n=>n.$btnStyle==="green"?n.theme.colors.ivimGreen:n.$btnStyle==="gray"?n.theme.colors.ltGray:n.$btnStyle==="black"?n.theme.colors.primary:n.theme.colors.white};
|
|
1789
|
+
color: ${n=>n.$btnStyle==="green"||n.$btnStyle==="black"?n.theme.colors.white:n.theme.colors.primary};
|
|
1790
|
+
min-width: ${n=>n.$minWidth?n.$minWidth:"110px"};
|
|
1791
|
+
width: 100%;
|
|
1792
|
+
margin: ${n=>n.$margin?n.$margin:"0 20px 15px 0"};
|
|
1793
|
+
${n=>n.$disable?Xe`
|
|
1794
|
+
pointer-events: none;
|
|
1795
|
+
opacity: .4;
|
|
1796
|
+
&:hover {
|
|
1797
|
+
cursor: not-allowed;
|
|
1798
|
+
}
|
|
1799
|
+
`:Xe`
|
|
1800
|
+
&:hover{
|
|
1801
|
+
transition: all .2s;
|
|
1802
|
+
cursor: pointer;
|
|
1803
|
+
background-color: ${n.$btnStyle==="green"?n.theme.colors.primary:n.theme.colors.ivimGreen};
|
|
1804
|
+
color: ${n.theme.colors.white};
|
|
1805
|
+
border: 1px solid ${n.$btnStyle==="green"?n.theme.colors.primary:n.theme.colors.ivimGreen};
|
|
1806
|
+
}
|
|
1807
|
+
`}
|
|
1808
|
+
@media ${n=>n.theme.mediaQuery.md}{
|
|
1809
|
+
max-width: ${n=>n.$minWidth==="100%"?n.$minWidth:"364px"};
|
|
1810
|
+
}
|
|
1811
|
+
|
|
1812
|
+
${n=>n.$includeIcon&&Xe`
|
|
1813
|
+
& >div {
|
|
1814
|
+
background-image: ${s=>`url('/assets/images/${s.$icon}Icon.png')`};
|
|
1815
|
+
width: 24px;
|
|
1816
|
+
height: 24px;
|
|
1817
|
+
background-size: contain;
|
|
1818
|
+
margin-right: 8px;
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1821
|
+
`}
|
|
1822
|
+
}
|
|
1823
|
+
`;xe.a`
|
|
1824
|
+
&&{
|
|
1825
|
+
border-radius: 4px;
|
|
1826
|
+
padding: 5px;
|
|
1827
|
+
font-size: 10px;
|
|
1828
|
+
min-width: 90px;
|
|
1829
|
+
font-weight: 600;
|
|
1830
|
+
transition: all .2s;
|
|
1831
|
+
border: none;
|
|
1832
|
+
display: flex;
|
|
1833
|
+
align-items: center;
|
|
1834
|
+
justify-content: center;
|
|
1835
|
+
background-color: ${n=>n.$bgColor?n.theme.colors[n.$bgColor]:n.theme.colors.pine120};
|
|
1836
|
+
border: 2px solid ${n=>n.theme.colors.pine120};
|
|
1837
|
+
color: ${n=>n.$color?n.theme.colors[n.$color]:n.theme.colors.white};
|
|
1838
|
+
margin: ${n=>n.$margin?n.$margin:"0 0 15px 0"};
|
|
1839
|
+
${n=>n.$icon=="true"&&Xe`
|
|
1840
|
+
&::before {
|
|
1841
|
+
content: "";
|
|
1842
|
+
display: block;
|
|
1843
|
+
background: url('/assets/images/editPencilBlack.png') no-repeat;
|
|
1844
|
+
background-size: cover;
|
|
1845
|
+
background-position: center;
|
|
1846
|
+
width: 24px;
|
|
1847
|
+
height: 24px;
|
|
1848
|
+
float: left;
|
|
1849
|
+
margin: 0 6px 0 0;
|
|
1850
|
+
transition: all .2s;
|
|
1851
|
+
}
|
|
1852
|
+
`};
|
|
1853
|
+
&:hover, &:focus{
|
|
1854
|
+
background-color: ${n=>n.theme.colors.white};
|
|
1855
|
+
color: ${n=>n.theme.colors.pine120};
|
|
1856
|
+
transition: all .2s;
|
|
1857
|
+
&::before {
|
|
1858
|
+
display: block;
|
|
1859
|
+
background: url('/assets/images/editPencilWhite.png') no-repeat;
|
|
1860
|
+
background-size: cover;
|
|
1861
|
+
background-position: center;
|
|
1862
|
+
width: 24px;
|
|
1863
|
+
height: 24px;
|
|
1864
|
+
float: left;
|
|
1865
|
+
margin: 0 6px 0 0;
|
|
1866
|
+
transition: all .2s;
|
|
1867
|
+
}
|
|
1868
|
+
}
|
|
1869
|
+
|
|
1870
|
+
@media ${n=>n.theme.mediaQuery.xs}{
|
|
1871
|
+
padding: 10px 15px;
|
|
1872
|
+
font-size: 14px;
|
|
1873
|
+
}
|
|
1874
|
+
|
|
1875
|
+
|
|
1876
|
+
}
|
|
1877
|
+
`;xe.button`
|
|
1878
|
+
&&{
|
|
1879
|
+
border: none;
|
|
1880
|
+
background-color: transparent;
|
|
1881
|
+
background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
|
|
1882
|
+
background-size: 1.25em;
|
|
1883
|
+
background-repeat: no-repeat;
|
|
1884
|
+
background-position: center;
|
|
1885
|
+
width: 2em;
|
|
1886
|
+
height: 2em;
|
|
1887
|
+
margin-bottom: 5px;
|
|
1888
|
+
opacity: .8;
|
|
1889
|
+
transition: all .2s;
|
|
1890
|
+
&:hover {
|
|
1891
|
+
opacity: 1;
|
|
1892
|
+
transition: all .2s;
|
|
1893
|
+
transform: scale(1.25);
|
|
1894
|
+
}
|
|
1895
|
+
}
|
|
1896
|
+
|
|
1897
|
+
`;xe.button`
|
|
1898
|
+
&&{
|
|
1899
|
+
border: none;
|
|
1900
|
+
background-color: transparent;
|
|
1901
|
+
background: url('/assets/images/trash.png') no-repeat;
|
|
1902
|
+
background-size: 1.25em;
|
|
1903
|
+
background-repeat: no-repeat;
|
|
1904
|
+
background-position: center;
|
|
1905
|
+
width: 2em;
|
|
1906
|
+
height: 2em;
|
|
1907
|
+
margin: auto 0px;
|
|
1908
|
+
opacity: .8;
|
|
1909
|
+
transition: all .2s;
|
|
1910
|
+
&:hover {
|
|
1911
|
+
opacity: 1;
|
|
1912
|
+
transition: all .2s;
|
|
1913
|
+
transform: scale(1.1);
|
|
1914
|
+
}
|
|
1915
|
+
}
|
|
1916
|
+
|
|
1917
|
+
`;xe.button`
|
|
1918
|
+
&&{
|
|
1919
|
+
border-radius: 40px;
|
|
1920
|
+
padding: 10px 20px;
|
|
1921
|
+
font-size: 16px;
|
|
1922
|
+
display: flex;
|
|
1923
|
+
flex-direction: row;
|
|
1924
|
+
align-items: center;
|
|
1925
|
+
justify-content: center;
|
|
1926
|
+
font-weight: 600;
|
|
1927
|
+
transition: all .2s;
|
|
1928
|
+
border: none;
|
|
1929
|
+
line-height: 1.8;
|
|
1930
|
+
font-family:${n=>n.theme.fonts.poppins};
|
|
1931
|
+
font-weight: 600;
|
|
1932
|
+
background-color: ${n=>n.$btnStyle==="alt"?n.theme.colors.white:n.theme.colors.primary};
|
|
1933
|
+
color: ${n=>n.$btnStyle==="alt"?n.theme.colors.primary:n.theme.colors.white};
|
|
1934
|
+
min-width: ${n=>n.$minWidth?n.$minWidth:"110px"};
|
|
1935
|
+
margin: ${n=>n.$margin?n.$margin:"0 20px 15px 0"};
|
|
1936
|
+
|
|
1937
|
+
${n=>n.$disabled?Xe`
|
|
1938
|
+
opacity: .4;
|
|
1939
|
+
color: ${s=>s.$btnStyle==="alt"?s.theme.colors.gray:s.theme.colors.lightGray};
|
|
1940
|
+
background-color: ${s=>s.$btnStyle==="alt"?s.theme.colors.white:s.theme.colors.gray};
|
|
1941
|
+
&:hover {
|
|
1942
|
+
cursor: not-allowed;
|
|
1943
|
+
}
|
|
1944
|
+
`:Xe`
|
|
1945
|
+
&:hover{
|
|
1946
|
+
transition: all .2s;
|
|
1947
|
+
cursor: pointer;
|
|
1948
|
+
color: ${s=>s.$btnStyle==="alt"?s.theme.colors.primary:s.theme.colors.white}; ;
|
|
1949
|
+
background-color: ${s=>s.$btnStyle==="alt"?s.theme.colors.ivimGreen:s.theme.colors.gray};
|
|
1950
|
+
}
|
|
1951
|
+
`}
|
|
1952
|
+
@media ${n=>n.theme.mediaQuery.md}{
|
|
1953
|
+
min-width: ${n=>n.$minWidth==="100%"?n.$minWidth:"245px"};
|
|
1954
|
+
}
|
|
1955
|
+
}
|
|
1956
|
+
`;xe.button`
|
|
1957
|
+
&&{
|
|
1958
|
+
border-radius: 40px;
|
|
1959
|
+
padding: 10px 20px;
|
|
1960
|
+
font-size: 16px;
|
|
1961
|
+
display: flex;
|
|
1962
|
+
flex-direction: row;
|
|
1963
|
+
align-items: center;
|
|
1964
|
+
justify-content: center;
|
|
1965
|
+
font-weight: 600;
|
|
1966
|
+
transition: all .2s;
|
|
1967
|
+
border: none;
|
|
1968
|
+
line-height: 1.8;
|
|
1969
|
+
font-family:${n=>n.theme.fonts.poppins};
|
|
1970
|
+
font-weight: 600;
|
|
1971
|
+
border: 1px solid ${n=>n.$btnStyle==="alt"?n.theme.colors.white:n.theme.colors.primary};
|
|
1972
|
+
background-color: ${n=>n.$btnStyle==="alt"?n.theme.colors.transparent:n.theme.colors.white};
|
|
1973
|
+
color: ${n=>n.$btnStyle==="alt"?n.theme.colors.white:n.theme.colors.primary};
|
|
1974
|
+
min-width: ${n=>n.$minWidth?n.$minWidth:"110px"};
|
|
1975
|
+
margin: ${n=>n.$margin?n.$margin:"0 20px 15px 0"};
|
|
1976
|
+
|
|
1977
|
+
${n=>n.$disabled?Xe`
|
|
1978
|
+
opacity: .4;
|
|
1979
|
+
color: ${s=>s.theme.colors.lightGray};
|
|
1980
|
+
background-color: ${s=>s.$btnStyle==="alt"?s.theme.colors.transparent:s.theme.colors.white};
|
|
1981
|
+
border: 1px solid ${s=>s.theme.colors.lightGray};
|
|
1982
|
+
|
|
1983
|
+
&:hover {
|
|
1984
|
+
cursor: not-allowed;
|
|
1985
|
+
}
|
|
1986
|
+
`:Xe`
|
|
1987
|
+
&:hover{
|
|
1988
|
+
transition: all .2s;
|
|
1989
|
+
cursor: pointer;
|
|
1990
|
+
color: ${s=>s.theme.colors.primary}; ;
|
|
1991
|
+
background-color: ${s=>s.$btnStyle==="alt"?s.theme.colors.white:s.theme.colors.ivimGreen};
|
|
1992
|
+
border: 1px solid ${s=>s.$btnStyle==="alt"?s.theme.colors.white:s.theme.colors.ivimGreen};
|
|
1993
|
+
}
|
|
1994
|
+
`}
|
|
1995
|
+
|
|
1996
|
+
// to use the icon styling you must add an icon name in the assets folder to the prop ie. $icon='plus'
|
|
1997
|
+
${n=>n.$icon&&Xe`
|
|
1998
|
+
& span {
|
|
1999
|
+
background: url('/assets/images/' + props.$icon + '.png') no-repeat;
|
|
2000
|
+
width: 20px;
|
|
2001
|
+
height: 20px;
|
|
2002
|
+
margin: auto 10px;
|
|
2003
|
+
}
|
|
2004
|
+
`}
|
|
2005
|
+
@media ${n=>n.theme.mediaQuery.md}{
|
|
2006
|
+
min-width: ${n=>n.$minWidth==="100%"?n.$minWidth:"245px"};
|
|
2007
|
+
}
|
|
2008
|
+
}
|
|
2009
|
+
`;xe(th)`
|
|
2010
|
+
&&{
|
|
2011
|
+
background-color: ${n=>n.theme.colors.white};
|
|
2012
|
+
color: ${n=>n.theme.colors.primary};
|
|
2013
|
+
border-radius: 10px;
|
|
2014
|
+
box-shadow: 0px 1px 7px ${n=>n.theme.colors.gray};
|
|
2015
|
+
padding: 32px 20px;
|
|
2016
|
+
font-size: 18px;
|
|
2017
|
+
display: flex;
|
|
2018
|
+
flex-direction: row;
|
|
2019
|
+
align-items: center;
|
|
2020
|
+
width: 100%;
|
|
2021
|
+
max-width: 600px;
|
|
2022
|
+
margin: 0px 0px 15px;
|
|
2023
|
+
transition: all .2s;
|
|
2024
|
+
border: none;
|
|
2025
|
+
text-decoration: none;
|
|
2026
|
+
&:hover{
|
|
2027
|
+
background-color: ${n=>n.theme.colors.ivimGreen};
|
|
2028
|
+
color: ${n=>n.theme.colors.white};
|
|
2029
|
+
transition: all .2s;
|
|
2030
|
+
}
|
|
2031
|
+
|
|
2032
|
+
@media ${n=>n.theme.mediaQuery.sm}{
|
|
2033
|
+
font-size: 24px;
|
|
2034
|
+
margin: 0px 0px 30px;
|
|
2035
|
+
}
|
|
2036
|
+
}
|
|
2037
|
+
`;xe.a`
|
|
2038
|
+
&&{
|
|
2039
|
+
border-radius: 40px;
|
|
2040
|
+
padding: 10px 20px;
|
|
2041
|
+
font-size: 16px;
|
|
2042
|
+
display: flex;
|
|
2043
|
+
flex-direction: row;
|
|
2044
|
+
align-items: center;
|
|
2045
|
+
justify-content: center;
|
|
2046
|
+
font-weight: 600;
|
|
2047
|
+
transition: all .2s;
|
|
2048
|
+
border: none;
|
|
2049
|
+
line-height: 1.8;
|
|
2050
|
+
font-family:${n=>n.theme.fonts.poppins};
|
|
2051
|
+
font-weight: 600;
|
|
2052
|
+
border: 1px solid ${n=>n.$btnStyle==="alt"?n.theme.colors.white:n.theme.colors.primary};
|
|
2053
|
+
background-color: ${n=>n.$btnStyle==="alt"?n.theme.colors.transparent:n.theme.colors.white};
|
|
2054
|
+
color: ${n=>n.$btnStyle==="alt"?n.theme.colors.white:n.theme.colors.primary};
|
|
2055
|
+
min-width: ${n=>n.$minWidth?n.$minWidth:"110px"};
|
|
2056
|
+
margin: ${n=>n.$margin?n.$margin:"0 20px 15px 0"};
|
|
2057
|
+
|
|
2058
|
+
${n=>n.$disabled?Xe`
|
|
2059
|
+
opacity: .4;
|
|
2060
|
+
color: ${s=>s.theme.colors.lightGray};
|
|
2061
|
+
background-color: ${s=>s.$btnStyle==="alt"?s.theme.colors.transparent:s.theme.colors.white};
|
|
2062
|
+
border: 1px solid ${s=>s.theme.colors.lightGray};
|
|
2063
|
+
|
|
2064
|
+
&:hover {
|
|
2065
|
+
cursor: not-allowed;
|
|
2066
|
+
}
|
|
2067
|
+
`:Xe`
|
|
2068
|
+
&:hover{
|
|
2069
|
+
transition: all .2s;
|
|
2070
|
+
cursor: pointer;
|
|
2071
|
+
color: ${s=>s.theme.colors.primary}; ;
|
|
2072
|
+
background-color: ${s=>s.$btnStyle==="alt"?s.theme.colors.white:s.theme.colors.ivimGreen};
|
|
2073
|
+
border: 1px solid ${s=>s.$btnStyle==="alt"?s.theme.colors.white:s.theme.colors.ivimGreen};
|
|
2074
|
+
}
|
|
2075
|
+
`}
|
|
2076
|
+
|
|
2077
|
+
// to use the icon styling you must add an icon name in the assets folder to the prop ie. $icon='plus'
|
|
2078
|
+
${n=>n.$icon&&Xe`
|
|
2079
|
+
& span {
|
|
2080
|
+
background: url('/assets/images/' + props.$icon + '.png') no-repeat;
|
|
2081
|
+
width: 20px;
|
|
2082
|
+
height: 20px;
|
|
2083
|
+
margin: auto 10px;
|
|
2084
|
+
}
|
|
2085
|
+
`}
|
|
2086
|
+
@media ${n=>n.theme.mediaQuery.md}{
|
|
2087
|
+
min-width: ${n=>n.$minWidth==="100%"?n.$minWidth:"245px"};
|
|
2088
|
+
}
|
|
2089
|
+
}
|
|
2090
|
+
`;xe(th)`
|
|
2091
|
+
&&{
|
|
2092
|
+
background: url('/assets/images/backArrowIcon.png') no-repeat;
|
|
2093
|
+
border: none;
|
|
2094
|
+
background-color: transparent;
|
|
2095
|
+
background-size: 12px;
|
|
2096
|
+
background-repeat: no-repeat;
|
|
2097
|
+
background-position: center;
|
|
2098
|
+
width: 22px;
|
|
2099
|
+
height: 22px;
|
|
2100
|
+
margin: .9em 10px 0 0px;
|
|
2101
|
+
transition: all .2s;
|
|
2102
|
+
position: absolute;
|
|
2103
|
+
left: -.9em;
|
|
2104
|
+
&:hover{
|
|
2105
|
+
transform: scale(1.1);
|
|
2106
|
+
transition: all .2s;
|
|
2107
|
+
}
|
|
2108
|
+
opacity: ${n=>n.$fadeout?"1":"0"};
|
|
2109
|
+
${n=>n.$fadeout&&Xe`
|
|
2110
|
+
transition: opacity .2s ease-in;
|
|
2111
|
+
`};
|
|
2112
|
+
}
|
|
2113
|
+
`;xe.a`
|
|
2114
|
+
&&{
|
|
2115
|
+
border-radius: 40px;
|
|
2116
|
+
padding: 10px 20px;
|
|
2117
|
+
font-size: 16px;
|
|
2118
|
+
display: flex;
|
|
2119
|
+
flex-direction: row;
|
|
2120
|
+
align-items: center;
|
|
2121
|
+
justify-content: center;
|
|
2122
|
+
font-weight: 600;
|
|
2123
|
+
transition: all .2s;
|
|
2124
|
+
border: none;
|
|
2125
|
+
line-height: 1.8;
|
|
2126
|
+
font-family:${n=>n.theme.fonts.poppins};
|
|
2127
|
+
font-weight: 600;
|
|
2128
|
+
background-color: ${n=>n.$btnStyle==="alt"?n.theme.colors.white:n.theme.colors.primary};
|
|
2129
|
+
color: ${n=>n.$btnStyle==="alt"?n.theme.colors.primary:n.theme.colors.white};
|
|
2130
|
+
min-width: ${n=>n.$minWidth?n.$minWidth:"110px"};
|
|
2131
|
+
margin: ${n=>n.$margin?n.$margin:"0 20px 15px 0"};
|
|
2132
|
+
@media ${n=>n.theme.mediaQuery.md}{
|
|
2133
|
+
min-width: ${n=>n.$minWidth==="100%"?n.$minWidth:"245px"};
|
|
2134
|
+
}
|
|
2135
|
+
}
|
|
2136
|
+
`;xe.button`
|
|
2137
|
+
&&{
|
|
2138
|
+
${n=>n.$icon==="greenInfo"?Xe`
|
|
2139
|
+
background-color: ${s=>s.theme.colors.transparent};
|
|
2140
|
+
background-image: url('/assets/images/greenInfoIcon.png');
|
|
2141
|
+
background-size: contain;
|
|
2142
|
+
background-repeat: no-repeat;
|
|
2143
|
+
position: absolute;
|
|
2144
|
+
height: 30px;
|
|
2145
|
+
width: 30px;
|
|
2146
|
+
right: 25px;
|
|
2147
|
+
top: 25px;
|
|
2148
|
+
transform: translateY(-50%);
|
|
2149
|
+
cursor: pointer;
|
|
2150
|
+
transition: background-image 0.2s;
|
|
2151
|
+
|
|
2152
|
+
input:checked ~ & {
|
|
2153
|
+
background-image: url('/assets/images/whiteInfoIcon.png');
|
|
2154
|
+
}
|
|
2155
|
+
`:Xe`
|
|
2156
|
+
border-radius: 5px;
|
|
2157
|
+
min-width: 18px;
|
|
2158
|
+
min-height: 18px;
|
|
2159
|
+
background-size: contain;
|
|
2160
|
+
background-repeat: no-repeat;
|
|
2161
|
+
background-position: center;
|
|
2162
|
+
background-color: ${s=>s.$bgColor?s.theme.colors[s.$bgColor]:"white"};
|
|
2163
|
+
border: 2px solid ${s=>s.theme.colors.white};
|
|
2164
|
+
background-image: ${s=>`url('/assets/images/${s.$icon}Icon.png')`};
|
|
2165
|
+
transition: transform .2s;
|
|
2166
|
+
margin: ${s=>s.$margin?s.$margin:"0"};
|
|
2167
|
+
&:hover{
|
|
2168
|
+
transform: scale(1.1);
|
|
2169
|
+
transition: transform .2s;
|
|
2170
|
+
}
|
|
2171
|
+
@media ${s=>s.theme.mediaQuery.md}{
|
|
2172
|
+
min-width: 24px;
|
|
2173
|
+
min-height: 24px;
|
|
2174
|
+
}
|
|
2175
|
+
`}
|
|
2176
|
+
}
|
|
2177
|
+
`;xe.div`
|
|
2178
|
+
&&{
|
|
2179
|
+
border-radius: 50%;
|
|
2180
|
+
width: 40px;
|
|
2181
|
+
height: 40px;
|
|
2182
|
+
background-size: cover;
|
|
2183
|
+
margin-right: 20px;
|
|
2184
|
+
border: 2px solid ${n=>n.theme.colors.white};
|
|
2185
|
+
background-image: ${n=>`url('/assets/images/${n.$icon}Icon.png')`}; /* options are: acct, appt, dose, order, sub */
|
|
2186
|
+
@media ${n=>n.theme.mediaQuery.sm}{
|
|
2187
|
+
width: 60px;
|
|
2188
|
+
height: 60px;
|
|
2189
|
+
}
|
|
2190
|
+
@media ${n=>n.theme.mediaQuery.md}{
|
|
2191
|
+
width: 60px;
|
|
2192
|
+
height: 60px;
|
|
2193
|
+
}
|
|
2194
|
+
}
|
|
2195
|
+
`;xe.div`
|
|
2196
|
+
&&{
|
|
2197
|
+
background: url('/assets/images/headerBg.png') no-repeat;
|
|
2198
|
+
background-position: right;
|
|
2199
|
+
padding: 30px 20px 8px;
|
|
2200
|
+
background-size: contain;
|
|
2201
|
+
background-color: ${n=>n.$headerText==="Orders"?n.theme.colors.ltBlue:n.$headerText==="Account Details"?n.theme.colors.ltPurple:n.$headerText==="Dosing"?n.theme.colors.xltGray:n.$headerText==="Appointments"?n.theme.colors.ltGray:n.theme.colors.lightGreen};
|
|
2202
|
+
height: 84px;
|
|
2203
|
+
}
|
|
2204
|
+
`;xe.div`
|
|
2205
|
+
/* adding header="true" will style the first div in the card container with a bottom border, the text inside that div should be an h6 and will be styled by this component as the card header text */
|
|
2206
|
+
/* the second div is considered the card content and the text will need to be styled seperately */
|
|
2207
|
+
/* adding collapsible true and a button in the first div with the h6 will create the arrow and and a collapsible card content area, but you must set the onclick events to handle state for the accordions */
|
|
2208
|
+
&&{
|
|
2209
|
+
/* fix bg color and header border missing */
|
|
2210
|
+
display: flex;
|
|
2211
|
+
flex-direction: column;
|
|
2212
|
+
border-radius: 10px;
|
|
2213
|
+
border: 1px solid ${n=>n.theme.colors.ltGray};
|
|
2214
|
+
width: 100%;
|
|
2215
|
+
box-shadow: 0px 1px 7px ${n=>n.theme.colors.ltGray};
|
|
2216
|
+
margin: 0 0 15px;
|
|
2217
|
+
overflow: hidden;
|
|
2218
|
+
padding: ${n=>n.$header=="true"?"0px":"20px"};
|
|
2219
|
+
background-color: ${n=>n.$bgColor?n.theme.colors[n.$bgColor]:"white"};
|
|
2220
|
+
& > div:first-child {
|
|
2221
|
+
transition: all .2s;
|
|
2222
|
+
background-color: ${n=>n.$headerBgColor?n.theme.colors[n.$headerBgColor]:"transparent"};
|
|
2223
|
+
border-bottom: ${n=>n.$header=="true"?"1px solid"+n.theme.colors.ltGray:"none"};
|
|
2224
|
+
padding: ${n=>n.$header=="true"?"20px 20px 10px":"0px"};
|
|
2225
|
+
& h6 {
|
|
2226
|
+
font-family: ${n=>n.theme.fonts.poppins};
|
|
2227
|
+
font-size: 16px;
|
|
2228
|
+
margin: 0px 0px 5px;
|
|
2229
|
+
font-weight: 400;
|
|
2230
|
+
}
|
|
2231
|
+
${n=>n.$header=="true"&&Xe`
|
|
2232
|
+
display: flex;
|
|
2233
|
+
justify-content: space-between;
|
|
2234
|
+
align-items: center;
|
|
2235
|
+
`};
|
|
2236
|
+
${n=>n.$collapsible==="true"&&!n.$show&&Xe`
|
|
2237
|
+
border-width: 0px;
|
|
2238
|
+
transition: border-width .2s;
|
|
2239
|
+
`};
|
|
2240
|
+
${n=>n.$collapsible=="true"&&Xe`
|
|
2241
|
+
cursor: pointer;
|
|
2242
|
+
`};
|
|
2243
|
+
${n=>n.$collapsible&&Xe`
|
|
2244
|
+
& > div {
|
|
2245
|
+
width: 20px;
|
|
2246
|
+
height: 20px;
|
|
2247
|
+
background: url("data:image/svg+xml,%3Csvg width='800px' height='800px' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10L12 15L17 10' stroke='%23000000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
|
|
2248
|
+
background-size: 30px;
|
|
2249
|
+
background-position: center;
|
|
2250
|
+
transition: all .2s;
|
|
2251
|
+
${s=>s.$collapsible=="true"&&s.$show&&Xe`
|
|
2252
|
+
rotate: -180deg;
|
|
2253
|
+
transition: all .2s;
|
|
2254
|
+
`};
|
|
2255
|
+
}
|
|
2256
|
+
`};
|
|
2257
|
+
}
|
|
2258
|
+
& > div:not(:first-child){
|
|
2259
|
+
height: 100%;
|
|
2260
|
+
flex: 1 1 auto;
|
|
2261
|
+
position: relative;
|
|
2262
|
+
${n=>!n.$collapsible&&Xe`
|
|
2263
|
+
padding: ${s=>s.$header=="true"?"20px":"0px"};
|
|
2264
|
+
`};
|
|
2265
|
+
${n=>n.$collapsible=="true"&&n.$show&&Xe`
|
|
2266
|
+
padding: 20px;
|
|
2267
|
+
transition: max-height .35s, padding .01s;
|
|
2268
|
+
max-height: ${s=>s.$collapsible=="true"&&s.$show?"1000000px":"0"} ;
|
|
2269
|
+
`};
|
|
2270
|
+
${n=>n.$collapsible=="true"&&!n.$show&&Xe`
|
|
2271
|
+
padding: 0;
|
|
2272
|
+
max-height: 0;
|
|
2273
|
+
transition: max-height .25s, padding .1s ease .2s;
|
|
2274
|
+
overflow: hidden;
|
|
2275
|
+
`};
|
|
2276
|
+
}
|
|
2277
|
+
@media ${n=>n.theme.mediaQuery.lg}{
|
|
2278
|
+
margin: 0 0 30px
|
|
2279
|
+
}
|
|
2280
|
+
}
|
|
2281
|
+
`;xe.div`
|
|
2282
|
+
&&{
|
|
2283
|
+
display: ${n=>n.$show=="true"?"block":"none"};
|
|
2284
|
+
width: 100%;
|
|
2285
|
+
height: 100%;
|
|
2286
|
+
position: fixed;
|
|
2287
|
+
top: 0;
|
|
2288
|
+
left: 0;
|
|
2289
|
+
z-index: 1050;
|
|
2290
|
+
width: 100%;
|
|
2291
|
+
height: 100%;
|
|
2292
|
+
overflow-x: hidden;
|
|
2293
|
+
overflow-y: auto;
|
|
2294
|
+
outline: 0;
|
|
2295
|
+
background-color: rgba(55,57,70,.8);
|
|
2296
|
+
|
|
2297
|
+
${Ad} {
|
|
2298
|
+
position: absolute;
|
|
2299
|
+
top: 30px;
|
|
2300
|
+
left: 50%;
|
|
2301
|
+
transform: translateX(-50%);
|
|
2302
|
+
max-height: ${n=>n.$maxHeight?n.$maxHeight:"auto"}
|
|
2303
|
+
}
|
|
2304
|
+
}
|
|
2305
|
+
`;xe.div`
|
|
2306
|
+
&&{
|
|
2307
|
+
display: block;
|
|
2308
|
+
width: 100%;
|
|
2309
|
+
height: 100%;
|
|
2310
|
+
position: fixed;
|
|
2311
|
+
bottom: ${n=>n.$show=="true"?"0px":"-2000px"};
|
|
2312
|
+
transition: all .5s;
|
|
2313
|
+
transition-delay: .2s;
|
|
2314
|
+
left: 0;
|
|
2315
|
+
z-index: 1050;
|
|
2316
|
+
width: 100%;
|
|
2317
|
+
height: 100vh;
|
|
2318
|
+
overflow-x: hidden;
|
|
2319
|
+
outline: 0;
|
|
2320
|
+
background-color: rgba(0,0,0,.5);
|
|
2321
|
+
/* @media ${n=>n.theme.mediaQuery.md}{
|
|
2322
|
+
display: ${n=>n.$show=="true"?"block":"none"};
|
|
2323
|
+
} */
|
|
2324
|
+
|
|
2325
|
+
|
|
2326
|
+
${Ad} {
|
|
2327
|
+
position: absolute;
|
|
2328
|
+
left: 50%;
|
|
2329
|
+
bottom: 0;
|
|
2330
|
+
transform: translateX(-50%);
|
|
2331
|
+
border-radius: 10px 10px 0 0;
|
|
2332
|
+
max-height: 98vh;
|
|
2333
|
+
overflow-y: auto;
|
|
2334
|
+
transition: all .5s;
|
|
2335
|
+
width: 100%;
|
|
2336
|
+
@media ${n=>n.theme.mediaQuery.md}{
|
|
2337
|
+
bottom: unset;
|
|
2338
|
+
top: ${n=>n.$show=="true"?"30px":"2000px"};
|
|
2339
|
+
border-radius: 10px;
|
|
2340
|
+
}
|
|
2341
|
+
}
|
|
2342
|
+
|
|
2343
|
+
}
|
|
2344
|
+
`;xe.form`
|
|
2345
|
+
&&{
|
|
2346
|
+
width: 100%;
|
|
2347
|
+
position: relative;
|
|
2348
|
+
padding: ${n=>n.$padding?n.$padding:"40px 0px 15px"};
|
|
2349
|
+
& > hr {
|
|
2350
|
+
height: 2px;
|
|
2351
|
+
border: none;
|
|
2352
|
+
opacity: 1;
|
|
2353
|
+
margin: ${n=>n.$margin?n.$margin:"15px 0px"} ;
|
|
2354
|
+
background-color: ${n=>n.theme.colors.neutral30};
|
|
2355
|
+
}
|
|
2356
|
+
}
|
|
2357
|
+
`;const n6=xe.img`
|
|
2358
|
+
&&{
|
|
2359
|
+
height: auto;
|
|
2360
|
+
width: 100px;
|
|
2361
|
+
position: absolute;
|
|
2362
|
+
top: 50%;
|
|
2363
|
+
left: 50%;
|
|
2364
|
+
transform: translate(-50%, -50%);
|
|
2365
|
+
|
|
2366
|
+
@media ${n=>n.theme.mediaQuery.xs}{
|
|
2367
|
+
width: 145px;
|
|
2368
|
+
}
|
|
2369
|
+
}
|
|
2370
|
+
`,gR=xe.button`
|
|
2371
|
+
&&{
|
|
2372
|
+
height: 25px;
|
|
2373
|
+
width: 25px;
|
|
2374
|
+
min-height: 25px;
|
|
2375
|
+
min-width: 25px;
|
|
2376
|
+
background-image: url('https://ivim-public.s3.us-east-2.amazonaws.com/assets/images/icons/flows/formBackArrow.png');
|
|
2377
|
+
background-repeat: no-repeat;
|
|
2378
|
+
background-position: center;
|
|
2379
|
+
background-color: transparent;
|
|
2380
|
+
margin-left: 18px;
|
|
2381
|
+
padding:10px 15px 10px 15px;
|
|
2382
|
+
color:white;
|
|
2383
|
+
border:0px;
|
|
2384
|
+
}
|
|
2385
|
+
`;xe(gR)`
|
|
2386
|
+
&&{
|
|
2387
|
+
position: fixed;
|
|
2388
|
+
z-index: 20;
|
|
2389
|
+
top: 12px;
|
|
2390
|
+
left: 18px;
|
|
2391
|
+
@media ${n=>n.theme.mediaQuery.sm}{
|
|
2392
|
+
left: 16%;
|
|
2393
|
+
}
|
|
2394
|
+
@media ${n=>n.theme.mediaQuery.md}{
|
|
2395
|
+
display: none;
|
|
2396
|
+
}
|
|
2397
|
+
}
|
|
2398
|
+
`;xe.hr`
|
|
2399
|
+
|
|
2400
|
+
&&{
|
|
2401
|
+
height: 2px;
|
|
2402
|
+
border: none;
|
|
2403
|
+
opacity: .25;
|
|
2404
|
+
margin: ${n=>n.$margin?n.$margin:"15px 0px"} ;
|
|
2405
|
+
background-color: ${n=>n.theme.colors.purple};
|
|
2406
|
+
}
|
|
2407
|
+
|
|
2408
|
+
`;xe.div`
|
|
2409
|
+
&&{
|
|
2410
|
+
background-image: ${n=>"url('/assets/images/ivimLogoSm.png')"};
|
|
2411
|
+
background-size: contain;
|
|
2412
|
+
background-repeat: no-repeat;
|
|
2413
|
+
background-position: center;
|
|
2414
|
+
width: ${n=>n.$width?n.$width:"100%"};
|
|
2415
|
+
height: ${n=>n.$height?n.$height:"100%"};;
|
|
2416
|
+
margin: ${n=>n.$margin?n.$margin:"0"};
|
|
2417
|
+
background-color: ${n=>n.$bgColor?n.theme.colors[n.$bgColor]:"transparent"};
|
|
2418
|
+
${n=>n.$rotate&&Xe`
|
|
2419
|
+
animation: pulse 2s infinite;
|
|
2420
|
+
`};
|
|
2421
|
+
@keyframes pulse {
|
|
2422
|
+
0%{
|
|
2423
|
+
transform: scale(.95);
|
|
2424
|
+
}
|
|
2425
|
+
50%{
|
|
2426
|
+
transform: scale(1.1);
|
|
2427
|
+
}
|
|
2428
|
+
100%{
|
|
2429
|
+
transform: scale(.95);
|
|
2430
|
+
}
|
|
2431
|
+
}
|
|
2432
|
+
}
|
|
2433
|
+
`;xe.div`
|
|
2434
|
+
&&{
|
|
2435
|
+
z-index: 1000;
|
|
2436
|
+
font-size: 11px;
|
|
2437
|
+
font-family: ${n=>n.theme.fonts.poppins};
|
|
2438
|
+
font-weight: 500;
|
|
2439
|
+
display: flex;
|
|
2440
|
+
justify-content: center;
|
|
2441
|
+
align-items: center;
|
|
2442
|
+
position: ${n=>n.$top||n.$bottom||n.$left||n.$right?"absolute":"relative"};
|
|
2443
|
+
text-transform: ${n=>n.$case?n.$case:"uppercase"};
|
|
2444
|
+
background-color: ${n=>n.$bgColor?n.theme.colors[n.$bgColor]:n.theme.colors.primary};
|
|
2445
|
+
color: ${n=>n.$color?n.theme.colors[n.$color]:n.theme.colors.white};
|
|
2446
|
+
border-radius: ${n=>n.$bRadius?n.$bRadius:"50%"};
|
|
2447
|
+
width: ${n=>n.$width?n.$width:"20px"};
|
|
2448
|
+
height: ${n=>n.$height?n.$height:"20px"};
|
|
2449
|
+
margin: ${n=>n.$margin?n.$margin:"0"};
|
|
2450
|
+
${n=>n.$top&&Xe`
|
|
2451
|
+
top: ${s=>s.$top};
|
|
2452
|
+
`};
|
|
2453
|
+
${n=>n.$right&&Xe`
|
|
2454
|
+
right: ${s=>s.$right};
|
|
2455
|
+
`};
|
|
2456
|
+
${n=>n.$bottom&&Xe`
|
|
2457
|
+
bottom: ${s=>s.$bottom};
|
|
2458
|
+
`};
|
|
2459
|
+
${n=>n.$left&&Xe`
|
|
2460
|
+
left: ${s=>s.$left};
|
|
2461
|
+
`};
|
|
2462
|
+
${n=>n.$transform&&Xe`
|
|
2463
|
+
transform: ${s=>s.$transform};
|
|
2464
|
+
`};
|
|
2465
|
+
@media ${n=>n.theme.mediaQuery.md}{
|
|
2466
|
+
font-size: 14px;
|
|
2467
|
+
height: ${n=>n.$height?`calc(${n.$height} + 5px)`:"25px"};
|
|
2468
|
+
width: ${n=>n.$width?`calc(${n.$width} + 5px)`:"25px"};
|
|
2469
|
+
}
|
|
2470
|
+
}
|
|
2471
|
+
`;const r6=xe.div`
|
|
2472
|
+
&&{
|
|
2473
|
+
display: none;
|
|
2474
|
+
@media ${n=>n.theme.mediaQuery.md}{
|
|
2475
|
+
display: flex;
|
|
2476
|
+
justify-content: space-between;
|
|
2477
|
+
align-items: center;
|
|
2478
|
+
position: relative;
|
|
2479
|
+
background-color: ${n=>n.theme.colors.white};
|
|
2480
|
+
top: 0;
|
|
2481
|
+
height: 100px;
|
|
2482
|
+
z-index: 2;
|
|
2483
|
+
border-bottom: ${n=>n.$borderOff?"none":`2px solid ${n.theme.colors.neutral30}`};
|
|
2484
|
+
}
|
|
2485
|
+
}
|
|
2486
|
+
`,i6=xe.div`
|
|
2487
|
+
&&{
|
|
2488
|
+
display: none;
|
|
2489
|
+
@media ${n=>n.theme.mediaQuery.md}{
|
|
2490
|
+
display: flex;
|
|
2491
|
+
flex: 1 1 auto;
|
|
2492
|
+
flex-wrap: ${n=>n.$flexWrap?n.$flexWrap:"nowrap"};
|
|
2493
|
+
flex-direction: ${n=>n.$flex?n.$flex:"row"};
|
|
2494
|
+
justify-content: center;
|
|
2495
|
+
align-items: ${n=>n.$align?n.$align:"center"};
|
|
2496
|
+
margin: 0 -20px;
|
|
2497
|
+
padding: 15px 15px 0;
|
|
2498
|
+
background-color: ${n=>n.theme.colors.white};
|
|
2499
|
+
border-radius: 0px 0px 10px 10px;
|
|
2500
|
+
/* width: 100%; */
|
|
2501
|
+
border-bottom: ${n=>n.$borderOff?"none":`2px solid ${n.theme.colors.neutral30}`};
|
|
2502
|
+
}
|
|
2503
|
+
|
|
2504
|
+
}
|
|
2505
|
+
`,a6=xe.img`
|
|
2506
|
+
&& {
|
|
2507
|
+
display: block; // needed for centering using auto left and right margin
|
|
2508
|
+
border-radius: 20px;
|
|
2509
|
+
margin: ${n=>n.$margin?n.$margin:"0 auto"};
|
|
2510
|
+
max-height: ${n=>n.$maxHeight?n.$maxHeight:"auto"};
|
|
2511
|
+
max-width: 100%;
|
|
2512
|
+
height: auto;
|
|
2513
|
+
}
|
|
2514
|
+
`,o6=xe.p`
|
|
2515
|
+
&& {
|
|
2516
|
+
// margin: 0 0 1em;
|
|
2517
|
+
margin: 0 0 0em;
|
|
2518
|
+
}
|
|
2519
|
+
`,bR=({currentStep:n,totalSteps:s,showOnMobile:d=!0,showOnDesktop:v=!0})=>{if(s<=1)return null;const b=be.jsxDEV(s6,{children:be.jsxDEV(c6,{$currentStep:n,$totalSteps:s},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/FlowProgressTracker.tsx",lineNumber:21,columnNumber:7},void 0)},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/FlowProgressTracker.tsx",lineNumber:20,columnNumber:5},void 0);return be.jsxDEV(be.Fragment,{children:[v&&be.jsxDEV(l6,{children:b},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/FlowProgressTracker.tsx",lineNumber:31,columnNumber:9},void 0),d&&be.jsxDEV(u6,{children:b},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/FlowProgressTracker.tsx",lineNumber:36,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/FlowProgressTracker.tsx",lineNumber:29,columnNumber:5},void 0)},l6=xe.div`
|
|
2520
|
+
display: none;
|
|
2521
|
+
|
|
2522
|
+
@media (min-width: 768px) {
|
|
2523
|
+
display: block;
|
|
2524
|
+
width: 500px;
|
|
2525
|
+
margin: 0 auto 25px;
|
|
2526
|
+
}
|
|
2527
|
+
`,u6=xe.div`
|
|
2528
|
+
display: block;
|
|
2529
|
+
position: absolute;
|
|
2530
|
+
bottom: 0;
|
|
2531
|
+
width: 100%;
|
|
2532
|
+
margin: 0;
|
|
2533
|
+
|
|
2534
|
+
@media (min-width: 768px) {
|
|
2535
|
+
display: none;
|
|
2536
|
+
}
|
|
2537
|
+
`,s6=xe.div`
|
|
2538
|
+
width: 100%;
|
|
2539
|
+
height: 5px;
|
|
2540
|
+
background-color: ${n=>{var s,d;return((d=(s=n.theme)==null?void 0:s.colors)==null?void 0:d.neutral40)||"#E5E5E5"}};
|
|
2541
|
+
border-radius: 0;
|
|
2542
|
+
overflow: hidden;
|
|
2543
|
+
`,c6=xe.div`
|
|
2544
|
+
width: ${n=>`calc((${n.$currentStep} / ${n.$totalSteps}) * 100%)`};
|
|
2545
|
+
height: 100%;
|
|
2546
|
+
background-color: ${n=>{var s,d;return((d=(s=n.theme)==null?void 0:s.colors)==null?void 0:d.ivimGreen)||"#85AF61"}};
|
|
2547
|
+
transition: width 0.3s ease-in-out;
|
|
2548
|
+
`;var ag={exports:{}},fS={};/**
|
|
2549
|
+
* @license React
|
|
2550
|
+
* use-sync-external-store-with-selector.production.js
|
|
2551
|
+
*
|
|
2552
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
2553
|
+
*
|
|
2554
|
+
* This source code is licensed under the MIT license found in the
|
|
2555
|
+
* LICENSE file in the root directory of this source tree.
|
|
2556
|
+
*/var h$;function f6(){if(h$)return fS;h$=1;var n=jd();function s(T,_){return T===_&&(T!==0||1/T===1/_)||T!==T&&_!==_}var d=typeof Object.is=="function"?Object.is:s,v=n.useSyncExternalStore,b=n.useRef,E=n.useEffect,y=n.useMemo,R=n.useDebugValue;return fS.useSyncExternalStoreWithSelector=function(T,_,A,N,M){var V=b(null);if(V.current===null){var P={hasValue:!1,value:null};V.current=P}else P=V.current;V=y(function(){function oe(ne){if(!ge){if(ge=!0,X=ne,ne=N(ne),M!==void 0&&P.hasValue){var pe=P.value;if(M(pe,ne))return K=pe}return K=ne}if(pe=K,d(X,ne))return pe;var le=N(ne);return M!==void 0&&M(pe,le)?(X=ne,pe):(X=ne,K=le)}var ge=!1,X,K,ie=A===void 0?null:A;return[function(){return oe(_())},ie===null?void 0:function(){return oe(ie())}]},[_,A,N,M]);var re=v(T,V[0],V[1]);return E(function(){P.hasValue=!0,P.value=re},[re]),R(re),re},fS}var dS={};/**
|
|
2557
|
+
* @license React
|
|
2558
|
+
* use-sync-external-store-with-selector.development.js
|
|
2559
|
+
*
|
|
2560
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
2561
|
+
*
|
|
2562
|
+
* This source code is licensed under the MIT license found in the
|
|
2563
|
+
* LICENSE file in the root directory of this source tree.
|
|
2564
|
+
*/var v$;function d6(){return v$||(v$=1,process.env.NODE_ENV!=="production"&&function(){function n(T,_){return T===_&&(T!==0||1/T===1/_)||T!==T&&_!==_}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var s=jd(),d=typeof Object.is=="function"?Object.is:n,v=s.useSyncExternalStore,b=s.useRef,E=s.useEffect,y=s.useMemo,R=s.useDebugValue;dS.useSyncExternalStoreWithSelector=function(T,_,A,N,M){var V=b(null);if(V.current===null){var P={hasValue:!1,value:null};V.current=P}else P=V.current;V=y(function(){function oe(ne){if(!ge){if(ge=!0,X=ne,ne=N(ne),M!==void 0&&P.hasValue){var pe=P.value;if(M(pe,ne))return K=pe}return K=ne}if(pe=K,d(X,ne))return pe;var le=N(ne);return M!==void 0&&M(pe,le)?(X=ne,pe):(X=ne,K=le)}var ge=!1,X,K,ie=A===void 0?null:A;return[function(){return oe(_())},ie===null?void 0:function(){return oe(ie())}]},[_,A,N,M]);var re=v(T,V[0],V[1]);return E(function(){P.hasValue=!0,P.value=re},[re]),R(re),re},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),dS}var y$;function p6(){return y$||(y$=1,process.env.NODE_ENV==="production"?ag.exports=f6():ag.exports=d6()),ag.exports}var m6=p6(),wa="default"in VC?du:VC,g$=Symbol.for("react-redux-context"),b$=typeof globalThis<"u"?globalThis:{};function h6(){if(!wa.createContext)return{};const n=b$[g$]??(b$[g$]=new Map);let s=n.get(wa.createContext);return s||(s=wa.createContext(null),process.env.NODE_ENV!=="production"&&(s.displayName="ReactRedux"),n.set(wa.createContext,s)),s}var hs=h6(),v6=()=>{throw new Error("uSES not initialized!")};function qS(n=hs){return function(){const d=wa.useContext(n);if(process.env.NODE_ENV!=="production"&&!d)throw new Error("could not find react-redux context value; please ensure the component is wrapped in a <Provider>");return d}}var xR=qS(),SR=v6,y6=n=>{SR=n},g6=(n,s)=>n===s;function b6(n=hs){const s=n===hs?xR:qS(n),d=(v,b={})=>{const{equalityFn:E=g6,devModeChecks:y={}}=typeof b=="function"?{equalityFn:b}:b;if(process.env.NODE_ENV!=="production"){if(!v)throw new Error("You must pass a selector to useSelector");if(typeof v!="function")throw new Error("You must pass a function as a selector to useSelector");if(typeof E!="function")throw new Error("You must pass a function as an equality function to useSelector")}const{store:R,subscription:T,getServerState:_,stabilityCheck:A,identityFunctionCheck:N}=s(),M=wa.useRef(!0),V=wa.useCallback({[v.name](re){const oe=v(re);if(process.env.NODE_ENV!=="production"){const{identityFunctionCheck:ge,stabilityCheck:X}={stabilityCheck:A,identityFunctionCheck:N,...y};if(X==="always"||X==="once"&&M.current){const K=v(re);if(!E(oe,K)){let ie;try{throw new Error}catch(ne){({stack:ie}=ne)}console.warn("Selector "+(v.name||"unknown")+` returned a different result when called with the same parameters. This can lead to unnecessary rerenders.
|
|
2565
|
+
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:re,selected:oe,selected2:K,stack:ie})}}if((ge==="always"||ge==="once"&&M.current)&&oe===re){let K;try{throw new Error}catch(ie){({stack:K}=ie)}console.warn("Selector "+(v.name||"unknown")+` returned the root state when called. This can lead to unnecessary rerenders.
|
|
2566
|
+
Selectors that return the entire state are almost certainly a mistake, as they will cause a rerender whenever *anything* in state changes.`,{stack:K})}M.current&&(M.current=!1)}return oe}}[v.name],[v,A,y.stabilityCheck]),P=SR(T.addNestedSub,R.getState,_||R.getState,V,E);return wa.useDebugValue(P),P};return Object.assign(d,{withTypes:()=>d}),d}var x$=b6();function x6(n){n()}function S6(){let n=null,s=null;return{clear(){n=null,s=null},notify(){x6(()=>{let d=n;for(;d;)d.callback(),d=d.next})},get(){const d=[];let v=n;for(;v;)d.push(v),v=v.next;return d},subscribe(d){let v=!0;const b=s={callback:d,next:null,prev:s};return b.prev?b.prev.next=b:n=b,function(){!v||n===null||(v=!1,b.next?b.next.prev=b.prev:s=b.prev,b.prev?b.prev.next=b.next:n=b.next)}}}}var S$={notify(){},get:()=>[]};function w6(n,s){let d,v=S$,b=0,E=!1;function y(re){A();const oe=v.subscribe(re);let ge=!1;return()=>{ge||(ge=!0,oe(),N())}}function R(){v.notify()}function T(){P.onStateChange&&P.onStateChange()}function _(){return E}function A(){b++,d||(d=n.subscribe(T),v=S6())}function N(){b--,d&&b===0&&(d(),d=void 0,v.clear(),v=S$)}function M(){E||(E=!0,A())}function V(){E&&(E=!1,N())}const P={addNestedSub:y,notifyNestedSubs:R,handleChangeWrapper:T,isSubscribed:_,trySubscribe:M,tryUnsubscribe:V,getListeners:()=>v};return P}var E6=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",C6=typeof navigator<"u"&&navigator.product==="ReactNative",$6=E6||C6?wa.useLayoutEffect:wa.useEffect;function R6({store:n,context:s,children:d,serverState:v,stabilityCheck:b="once",identityFunctionCheck:E="once"}){const y=wa.useMemo(()=>{const _=w6(n);return{store:n,subscription:_,getServerState:v?()=>v:void 0,stabilityCheck:b,identityFunctionCheck:E}},[n,v,b,E]),R=wa.useMemo(()=>n.getState(),[n]);$6(()=>{const{subscription:_}=y;return _.onStateChange=_.notifyNestedSubs,_.trySubscribe(),R!==n.getState()&&_.notifyNestedSubs(),()=>{_.tryUnsubscribe(),_.onStateChange=void 0}},[y,R]);const T=s||hs;return wa.createElement(T.Provider,{value:y},d)}var T6=R6;function wR(n=hs){const s=n===hs?xR:qS(n),d=()=>{const{store:v}=s();return v};return Object.assign(d,{withTypes:()=>d}),d}var k6=wR();function _6(n=hs){const s=n===hs?k6:wR(n),d=()=>s().dispatch;return Object.assign(d,{withTypes:()=>d}),d}var N6=_6();y6(m6.useSyncExternalStoreWithSelector);function ei(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 D6=typeof Symbol=="function"&&Symbol.observable||"@@observable",w$=D6,pS=()=>Math.random().toString(36).substring(7).split("").join("."),O6={INIT:`@@redux/INIT${pS()}`,REPLACE:`@@redux/REPLACE${pS()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${pS()}`},Uc=O6;function nh(n){if(typeof n!="object"||n===null)return!1;let s=n;for(;Object.getPrototypeOf(s)!==null;)s=Object.getPrototypeOf(s);return Object.getPrototypeOf(n)===s||Object.getPrototypeOf(n)===null}function L6(n){if(n===void 0)return"undefined";if(n===null)return"null";const s=typeof n;switch(s){case"boolean":case"string":case"number":case"symbol":case"function":return s}if(Array.isArray(n))return"array";if(A6(n))return"date";if(z6(n))return"error";const d=M6(n);switch(d){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return d}return Object.prototype.toString.call(n).slice(8,-1).toLowerCase().replace(/\s/g,"")}function M6(n){return typeof n.constructor=="function"?n.constructor.name:null}function z6(n){return n instanceof Error||typeof n.message=="string"&&n.constructor&&typeof n.constructor.stackTraceLimit=="number"}function A6(n){return n instanceof Date?!0:typeof n.toDateString=="function"&&typeof n.getDate=="function"&&typeof n.setDate=="function"}function ms(n){let s=typeof n;return process.env.NODE_ENV!=="production"&&(s=L6(n)),s}function ER(n,s,d){if(typeof n!="function")throw new Error(process.env.NODE_ENV==="production"?ei(2):`Expected the root reducer to be a function. Instead, received: '${ms(n)}'`);if(typeof s=="function"&&typeof d=="function"||typeof d=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?ei(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 s=="function"&&typeof d>"u"&&(d=s,s=void 0),typeof d<"u"){if(typeof d!="function")throw new Error(process.env.NODE_ENV==="production"?ei(1):`Expected the enhancer to be a function. Instead, received: '${ms(d)}'`);return d(ER)(n,s)}let v=n,b=s,E=new Map,y=E,R=0,T=!1;function _(){y===E&&(y=new Map,E.forEach((oe,ge)=>{y.set(ge,oe)}))}function A(){if(T)throw new Error(process.env.NODE_ENV==="production"?ei(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 b}function N(oe){if(typeof oe!="function")throw new Error(process.env.NODE_ENV==="production"?ei(4):`Expected the listener to be a function. Instead, received: '${ms(oe)}'`);if(T)throw new Error(process.env.NODE_ENV==="production"?ei(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 ge=!0;_();const X=R++;return y.set(X,oe),function(){if(ge){if(T)throw new Error(process.env.NODE_ENV==="production"?ei(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.");ge=!1,_(),y.delete(X),E=null}}}function M(oe){if(!nh(oe))throw new Error(process.env.NODE_ENV==="production"?ei(7):`Actions must be plain objects. Instead, the actual type was: '${ms(oe)}'. 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 oe.type>"u")throw new Error(process.env.NODE_ENV==="production"?ei(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(typeof oe.type!="string")throw new Error(process.env.NODE_ENV==="production"?ei(17):`Action "type" property must be a string. Instead, the actual type was: '${ms(oe.type)}'. Value was: '${oe.type}' (stringified)`);if(T)throw new Error(process.env.NODE_ENV==="production"?ei(9):"Reducers may not dispatch actions.");try{T=!0,b=v(b,oe)}finally{T=!1}return(E=y).forEach(X=>{X()}),oe}function V(oe){if(typeof oe!="function")throw new Error(process.env.NODE_ENV==="production"?ei(10):`Expected the nextReducer to be a function. Instead, received: '${ms(oe)}`);v=oe,M({type:Uc.REPLACE})}function P(){const oe=N;return{subscribe(ge){if(typeof ge!="object"||ge===null)throw new Error(process.env.NODE_ENV==="production"?ei(11):`Expected the observer to be an object. Instead, received: '${ms(ge)}'`);function X(){const ie=ge;ie.next&&ie.next(A())}return X(),{unsubscribe:oe(X)}},[w$](){return this}}}return M({type:Uc.INIT}),{dispatch:M,subscribe:N,getState:A,replaceReducer:V,[w$]:P}}function E$(n){typeof console<"u"&&typeof console.error=="function"&&console.error(n);try{throw new Error(n)}catch{}}function U6(n,s,d,v){const b=Object.keys(s),E=d&&d.type===Uc.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(b.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(!nh(n))return`The ${E} has unexpected type of "${ms(n)}". Expected argument to be an object with the following keys: "${b.join('", "')}"`;const y=Object.keys(n).filter(R=>!s.hasOwnProperty(R)&&!v[R]);if(y.forEach(R=>{v[R]=!0}),!(d&&d.type===Uc.REPLACE)&&y.length>0)return`Unexpected ${y.length>1?"keys":"key"} "${y.join('", "')}" found in ${E}. Expected to find one of the known reducer keys instead: "${b.join('", "')}". Unexpected keys will be ignored.`}function j6(n){Object.keys(n).forEach(s=>{const d=n[s];if(typeof d(void 0,{type:Uc.INIT})>"u")throw new Error(process.env.NODE_ENV==="production"?ei(12):`The slice reducer for key "${s}" 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 d(void 0,{type:Uc.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(process.env.NODE_ENV==="production"?ei(13):`The slice reducer for key "${s}" returned undefined when probed with a random type. Don't try to handle '${Uc.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 F6(n){const s=Object.keys(n),d={};for(let y=0;y<s.length;y++){const R=s[y];process.env.NODE_ENV!=="production"&&typeof n[R]>"u"&&E$(`No reducer provided for key "${R}"`),typeof n[R]=="function"&&(d[R]=n[R])}const v=Object.keys(d);let b;process.env.NODE_ENV!=="production"&&(b={});let E;try{j6(d)}catch(y){E=y}return function(R={},T){if(E)throw E;if(process.env.NODE_ENV!=="production"){const N=U6(R,d,T,b);N&&E$(N)}let _=!1;const A={};for(let N=0;N<v.length;N++){const M=v[N],V=d[M],P=R[M],re=V(P,T);if(typeof re>"u"){const oe=T&&T.type;throw new Error(process.env.NODE_ENV==="production"?ei(14):`When called with an action of type ${oe?`"${String(oe)}"`:"(unknown type)"}, the slice reducer for key "${M}" 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.`)}A[M]=re,_=_||re!==P}return _=_||v.length!==Object.keys(R).length,_?A:R}}function xg(...n){return n.length===0?s=>s:n.length===1?n[0]:n.reduce((s,d)=>(...v)=>s(d(...v)))}function V6(...n){return s=>(d,v)=>{const b=s(d,v);let E=()=>{throw new Error(process.env.NODE_ENV==="production"?ei(15):"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")};const y={getState:b.getState,dispatch:(T,..._)=>E(T,..._)},R=n.map(T=>T(y));return E=xg(...R)(b.dispatch),{...b,dispatch:E}}}function CR(n){return nh(n)&&"type"in n&&typeof n.type=="string"}var $R=Symbol.for("immer-nothing"),C$=Symbol.for("immer-draftable"),Ea=Symbol.for("immer-state"),P6=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 ra(n,...s){if(process.env.NODE_ENV!=="production"){const d=P6[n],v=typeof d=="function"?d.apply(null,s):d;throw new Error(`[Immer] ${v}`)}throw new Error(`[Immer] minified error nr: ${n}. Full error at: https://bit.ly/3cXEKWf`)}var Ud=Object.getPrototypeOf;function Vc(n){return!!n&&!!n[Ea]}function pu(n){var s;return n?RR(n)||Array.isArray(n)||!!n[C$]||!!((s=n.constructor)!=null&&s[C$])||Ug(n)||jg(n):!1}var H6=Object.prototype.constructor.toString();function RR(n){if(!n||typeof n!="object")return!1;const s=Ud(n);if(s===null)return!0;const d=Object.hasOwnProperty.call(s,"constructor")&&s.constructor;return d===Object?!0:typeof d=="function"&&Function.toString.call(d)===H6}function Sg(n,s){Ag(n)===0?Reflect.ownKeys(n).forEach(d=>{s(d,n[d],n)}):n.forEach((d,v)=>s(v,d,n))}function Ag(n){const s=n[Ea];return s?s.type_:Array.isArray(n)?1:Ug(n)?2:jg(n)?3:0}function _S(n,s){return Ag(n)===2?n.has(s):Object.prototype.hasOwnProperty.call(n,s)}function TR(n,s,d){const v=Ag(n);v===2?n.set(s,d):v===3?n.add(d):n[s]=d}function I6(n,s){return n===s?n!==0||1/n===1/s:n!==n&&s!==s}function Ug(n){return n instanceof Map}function jg(n){return n instanceof Set}function Oc(n){return n.copy_||n.base_}function NS(n,s){if(Ug(n))return new Map(n);if(jg(n))return new Set(n);if(Array.isArray(n))return Array.prototype.slice.call(n);const d=RR(n);if(s===!0||s==="class_only"&&!d){const v=Object.getOwnPropertyDescriptors(n);delete v[Ea];let b=Reflect.ownKeys(v);for(let E=0;E<b.length;E++){const y=b[E],R=v[y];R.writable===!1&&(R.writable=!0,R.configurable=!0),(R.get||R.set)&&(v[y]={configurable:!0,writable:!0,enumerable:R.enumerable,value:n[y]})}return Object.create(Ud(n),v)}else{const v=Ud(n);if(v!==null&&d)return{...n};const b=Object.create(v);return Object.assign(b,n)}}function KS(n,s=!1){return Fg(n)||Vc(n)||!pu(n)||(Ag(n)>1&&(n.set=n.add=n.clear=n.delete=B6),Object.freeze(n),s&&Object.entries(n).forEach(([d,v])=>KS(v,!0))),n}function B6(){ra(2)}function Fg(n){return Object.isFrozen(n)}var W6={};function Pc(n){const s=W6[n];return s||ra(0,n),s}var Km;function kR(){return Km}function Y6(n,s){return{drafts_:[],parent_:n,immer_:s,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function $$(n,s){s&&(Pc("Patches"),n.patches_=[],n.inversePatches_=[],n.patchListener_=s)}function DS(n){OS(n),n.drafts_.forEach(G6),n.drafts_=null}function OS(n){n===Km&&(Km=n.parent_)}function R$(n){return Km=Y6(Km,n)}function G6(n){const s=n[Ea];s.type_===0||s.type_===1?s.revoke_():s.revoked_=!0}function T$(n,s){s.unfinalizedDrafts_=s.drafts_.length;const d=s.drafts_[0];return n!==void 0&&n!==d?(d[Ea].modified_&&(DS(s),ra(4)),pu(n)&&(n=wg(s,n),s.parent_||Eg(s,n)),s.patches_&&Pc("Patches").generateReplacementPatches_(d[Ea].base_,n,s.patches_,s.inversePatches_)):n=wg(s,d,[]),DS(s),s.patches_&&s.patchListener_(s.patches_,s.inversePatches_),n!==$R?n:void 0}function wg(n,s,d){if(Fg(s))return s;const v=s[Ea];if(!v)return Sg(s,(b,E)=>k$(n,v,s,b,E,d)),s;if(v.scope_!==n)return s;if(!v.modified_)return Eg(n,v.base_,!0),v.base_;if(!v.finalized_){v.finalized_=!0,v.scope_.unfinalizedDrafts_--;const b=v.copy_;let E=b,y=!1;v.type_===3&&(E=new Set(b),b.clear(),y=!0),Sg(E,(R,T)=>k$(n,v,b,R,T,d,y)),Eg(n,b,!1),d&&n.patches_&&Pc("Patches").generatePatches_(v,d,n.patches_,n.inversePatches_)}return v.copy_}function k$(n,s,d,v,b,E,y){if(process.env.NODE_ENV!=="production"&&b===d&&ra(5),Vc(b)){const R=E&&s&&s.type_!==3&&!_S(s.assigned_,v)?E.concat(v):void 0,T=wg(n,b,R);if(TR(d,v,T),Vc(T))n.canAutoFreeze_=!1;else return}else y&&d.add(b);if(pu(b)&&!Fg(b)){if(!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1)return;wg(n,b),(!s||!s.scope_.parent_)&&typeof v!="symbol"&&Object.prototype.propertyIsEnumerable.call(d,v)&&Eg(n,b)}}function Eg(n,s,d=!1){!n.parent_&&n.immer_.autoFreeze_&&n.canAutoFreeze_&&KS(s,d)}function Q6(n,s){const d=Array.isArray(n),v={type_:d?1:0,scope_:s?s.scope_:kR(),modified_:!1,finalized_:!1,assigned_:{},parent_:s,base_:n,draft_:null,copy_:null,revoke_:null,isManual_:!1};let b=v,E=XS;d&&(b=[v],E=Xm);const{revoke:y,proxy:R}=Proxy.revocable(b,E);return v.draft_=R,v.revoke_=y,R}var XS={get(n,s){if(s===Ea)return n;const d=Oc(n);if(!_S(d,s))return q6(n,d,s);const v=d[s];return n.finalized_||!pu(v)?v:v===mS(n.base_,s)?(hS(n),n.copy_[s]=MS(v,n)):v},has(n,s){return s in Oc(n)},ownKeys(n){return Reflect.ownKeys(Oc(n))},set(n,s,d){const v=_R(Oc(n),s);if(v!=null&&v.set)return v.set.call(n.draft_,d),!0;if(!n.modified_){const b=mS(Oc(n),s),E=b==null?void 0:b[Ea];if(E&&E.base_===d)return n.copy_[s]=d,n.assigned_[s]=!1,!0;if(I6(d,b)&&(d!==void 0||_S(n.base_,s)))return!0;hS(n),LS(n)}return n.copy_[s]===d&&(d!==void 0||s in n.copy_)||Number.isNaN(d)&&Number.isNaN(n.copy_[s])||(n.copy_[s]=d,n.assigned_[s]=!0),!0},deleteProperty(n,s){return mS(n.base_,s)!==void 0||s in n.base_?(n.assigned_[s]=!1,hS(n),LS(n)):delete n.assigned_[s],n.copy_&&delete n.copy_[s],!0},getOwnPropertyDescriptor(n,s){const d=Oc(n),v=Reflect.getOwnPropertyDescriptor(d,s);return v&&{writable:!0,configurable:n.type_!==1||s!=="length",enumerable:v.enumerable,value:d[s]}},defineProperty(){ra(11)},getPrototypeOf(n){return Ud(n.base_)},setPrototypeOf(){ra(12)}},Xm={};Sg(XS,(n,s)=>{Xm[n]=function(){return arguments[0]=arguments[0][0],s.apply(this,arguments)}});Xm.deleteProperty=function(n,s){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(s))&&ra(13),Xm.set.call(this,n,s,void 0)};Xm.set=function(n,s,d){return process.env.NODE_ENV!=="production"&&s!=="length"&&isNaN(parseInt(s))&&ra(14),XS.set.call(this,n[0],s,d,n[0])};function mS(n,s){const d=n[Ea];return(d?Oc(d):n)[s]}function q6(n,s,d){var b;const v=_R(s,d);return v?"value"in v?v.value:(b=v.get)==null?void 0:b.call(n.draft_):void 0}function _R(n,s){if(!(s in n))return;let d=Ud(n);for(;d;){const v=Object.getOwnPropertyDescriptor(d,s);if(v)return v;d=Ud(d)}}function LS(n){n.modified_||(n.modified_=!0,n.parent_&&LS(n.parent_))}function hS(n){n.copy_||(n.copy_=NS(n.base_,n.scope_.immer_.useStrictShallowCopy_))}var K6=class{constructor(n){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(s,d,v)=>{if(typeof s=="function"&&typeof d!="function"){const E=d;d=s;const y=this;return function(T=E,..._){return y.produce(T,A=>d.call(this,A,..._))}}typeof d!="function"&&ra(6),v!==void 0&&typeof v!="function"&&ra(7);let b;if(pu(s)){const E=R$(this),y=MS(s,void 0);let R=!0;try{b=d(y),R=!1}finally{R?DS(E):OS(E)}return $$(E,v),T$(b,E)}else if(!s||typeof s!="object"){if(b=d(s),b===void 0&&(b=s),b===$R&&(b=void 0),this.autoFreeze_&&KS(b,!0),v){const E=[],y=[];Pc("Patches").generateReplacementPatches_(s,b,E,y),v(E,y)}return b}else ra(1,s)},this.produceWithPatches=(s,d)=>{if(typeof s=="function")return(y,...R)=>this.produceWithPatches(y,T=>s(T,...R));let v,b;return[this.produce(s,d,(y,R)=>{v=y,b=R}),v,b]},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){pu(n)||ra(8),Vc(n)&&(n=X6(n));const s=R$(this),d=MS(n,void 0);return d[Ea].isManual_=!0,OS(s),d}finishDraft(n,s){const d=n&&n[Ea];(!d||!d.isManual_)&&ra(9);const{scope_:v}=d;return $$(v,s),T$(void 0,v)}setAutoFreeze(n){this.autoFreeze_=n}setUseStrictShallowCopy(n){this.useStrictShallowCopy_=n}applyPatches(n,s){let d;for(d=s.length-1;d>=0;d--){const b=s[d];if(b.path.length===0&&b.op==="replace"){n=b.value;break}}d>-1&&(s=s.slice(d+1));const v=Pc("Patches").applyPatches_;return Vc(n)?v(n,s):this.produce(n,b=>v(b,s))}};function MS(n,s){const d=Ug(n)?Pc("MapSet").proxyMap_(n,s):jg(n)?Pc("MapSet").proxySet_(n,s):Q6(n,s);return(s?s.scope_:kR()).drafts_.push(d),d}function X6(n){return Vc(n)||ra(10,n),NR(n)}function NR(n){if(!pu(n)||Fg(n))return n;const s=n[Ea];let d;if(s){if(!s.modified_)return s.base_;s.finalized_=!0,d=NS(n,s.scope_.immer_.useStrictShallowCopy_)}else d=NS(n,!0);return Sg(d,(v,b)=>{TR(d,v,NR(b))}),s&&(s.finalized_=!1),d}var Ca=new K6,DR=Ca.produce;Ca.produceWithPatches.bind(Ca);Ca.setAutoFreeze.bind(Ca);Ca.setUseStrictShallowCopy.bind(Ca);Ca.applyPatches.bind(Ca);Ca.createDraft.bind(Ca);Ca.finishDraft.bind(Ca);function OR(n){return({dispatch:d,getState:v})=>b=>E=>typeof E=="function"?E(d,v,n):b(E)}var J6=OR(),Z6=OR,eL=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?xg:xg.apply(null,arguments)},tL=n=>n&&typeof n.match=="function";function _$(n,s){function d(...v){if(s){let b=s(...v);if(!b)throw new Error(process.env.NODE_ENV==="production"?Sn(0):"prepareAction did not return an object");return{type:n,payload:b.payload,..."meta"in b&&{meta:b.meta},..."error"in b&&{error:b.error}}}return{type:n,payload:v[0]}}return d.toString=()=>`${n}`,d.type=n,d.match=v=>CR(v)&&v.type===n,d}function nL(n){return typeof n=="function"&&"type"in n&&tL(n)}function rL(n){const s=n?`${n}`.split("/"):[],d=s[s.length-1]||"actionCreator";return`Detected an action creator with type "${n||"unknown"}" being dispatched.
|
|
2567
|
+
Make sure you're calling the action creator before dispatching, i.e. \`dispatch(${d}())\` instead of \`dispatch(${d})\`. This is necessary even if the action has no payload.`}function iL(n={}){if(process.env.NODE_ENV==="production")return()=>d=>v=>d(v);const{isActionCreator:s=nL}=n;return()=>d=>v=>(s(v)&&console.warn(rL(v.type)),d(v))}function LR(n,s){let d=0;return{measureTime(v){const b=Date.now();try{return v()}finally{const E=Date.now();d+=E-b}},warnIfExceeded(){d>n&&console.warn(`${s} took ${d}ms, which is more than the warning threshold of ${n}ms.
|
|
2568
|
+
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.
|
|
2569
|
+
It is disabled in production builds, so you don't need to worry about that.`)}}}var MR=class Qm extends Array{constructor(...s){super(...s),Object.setPrototypeOf(this,Qm.prototype)}static get[Symbol.species](){return Qm}concat(...s){return super.concat.apply(this,s)}prepend(...s){return s.length===1&&Array.isArray(s[0])?new Qm(...s[0].concat(this)):new Qm(...s.concat(this))}};function N$(n){return pu(n)?DR(n,()=>{}):n}function D$(n,s,d){if(n.has(s)){let b=n.get(s);return d.update&&(b=d.update(b,s,n),n.set(s,b)),b}if(!d.insert)throw new Error(process.env.NODE_ENV==="production"?Sn(10):"No insert provided for key not already in map");const v=d.insert(s,n);return n.set(s,v),v}function aL(n){return typeof n!="object"||n==null||Object.isFrozen(n)}function oL(n,s,d){const v=zR(n,s,d);return{detectMutations(){return AR(n,s,v,d)}}}function zR(n,s=[],d,v="",b=new Set){const E={value:d};if(!n(d)&&!b.has(d)){b.add(d),E.children={};for(const y in d){const R=v?v+"."+y:y;s.length&&s.indexOf(R)!==-1||(E.children[y]=zR(n,s,d[y],R))}}return E}function AR(n,s=[],d,v,b=!1,E=""){const y=d?d.value:void 0,R=y===v;if(b&&!R&&!Number.isNaN(v))return{wasMutated:!0,path:E};if(n(y)||n(v))return{wasMutated:!1};const T={};for(let A in d.children)T[A]=!0;for(let A in v)T[A]=!0;const _=s.length>0;for(let A in T){const N=E?E+"."+A:A;if(_&&s.some(P=>P instanceof RegExp?P.test(N):N===P))continue;const M=AR(n,s,d.children[A],v[A],R,N);if(M.wasMutated)return M}return{wasMutated:!1}}function lL(n={}){if(process.env.NODE_ENV==="production")return()=>s=>d=>s(d);{let s=function(R,T,_,A){return JSON.stringify(R,d(T,A),_)},d=function(R,T){let _=[],A=[];return T||(T=function(N,M){return _[0]===M?"[Circular ~]":"[Circular ~."+A.slice(0,_.indexOf(M)).join(".")+"]"}),function(N,M){if(_.length>0){var V=_.indexOf(this);~V?_.splice(V+1):_.push(this),~V?A.splice(V,1/0,N):A.push(N),~_.indexOf(M)&&(M=T.call(this,N,M))}else _.push(M);return R==null?M:R.call(this,N,M)}},{isImmutable:v=aL,ignoredPaths:b,warnAfter:E=32}=n;const y=oL.bind(null,v,b);return({getState:R})=>{let T=R(),_=y(T),A;return N=>M=>{const V=LR(E,"ImmutableStateInvariantMiddleware");V.measureTime(()=>{if(T=R(),A=_.detectMutations(),_=y(T),A.wasMutated)throw new Error(process.env.NODE_ENV==="production"?Sn(19):`A state mutation was detected between dispatches, in the path '${A.path||""}'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)});const P=N(M);return V.measureTime(()=>{if(T=R(),A=_.detectMutations(),_=y(T),A.wasMutated)throw new Error(process.env.NODE_ENV==="production"?Sn(20):`A state mutation was detected inside a dispatch, in the path: ${A.path||""}. Take a look at the reducer(s) handling the action ${s(M)}. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)}),V.warnIfExceeded(),P}}}}function UR(n){const s=typeof n;return n==null||s==="string"||s==="boolean"||s==="number"||Array.isArray(n)||nh(n)}function zS(n,s="",d=UR,v,b=[],E){let y;if(!d(n))return{keyPath:s||"<root>",value:n};if(typeof n!="object"||n===null||E!=null&&E.has(n))return!1;const R=v!=null?v(n):Object.entries(n),T=b.length>0;for(const[_,A]of R){const N=s?s+"."+_:_;if(!(T&&b.some(V=>V instanceof RegExp?V.test(N):N===V))){if(!d(A))return{keyPath:N,value:A};if(typeof A=="object"&&(y=zS(A,N,d,v,b,E),y))return y}}return E&&jR(n)&&E.add(n),!1}function jR(n){if(!Object.isFrozen(n))return!1;for(const s of Object.values(n))if(!(typeof s!="object"||s===null)&&!jR(s))return!1;return!0}function uL(n={}){if(process.env.NODE_ENV==="production")return()=>s=>d=>s(d);{const{isSerializable:s=UR,getEntries:d,ignoredActions:v=[],ignoredActionPaths:b=["meta.arg","meta.baseQueryMeta"],ignoredPaths:E=[],warnAfter:y=32,ignoreState:R=!1,ignoreActions:T=!1,disableCache:_=!1}=n,A=!_&&WeakSet?new WeakSet:void 0;return N=>M=>V=>{if(!CR(V))return M(V);const P=M(V),re=LR(y,"SerializableStateInvariantMiddleware");return!T&&!(v.length&&v.indexOf(V.type)!==-1)&&re.measureTime(()=>{const oe=zS(V,"",s,d,b,A);if(oe){const{keyPath:ge,value:X}=oe;console.error(`A non-serializable value was detected in an action, in the path: \`${ge}\`. Value:`,X,`
|
|
2570
|
+
Take a look at the logic that dispatched this action: `,V,`
|
|
2571
|
+
(See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)`,`
|
|
2572
|
+
(To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`)}}),R||(re.measureTime(()=>{const oe=N.getState(),ge=zS(oe,"",s,d,E,A);if(ge){const{keyPath:X,value:K}=ge;console.error(`A non-serializable value was detected in the state, in the path: \`${X}\`. Value:`,K,`
|
|
2573
|
+
Take a look at the reducer(s) handling this action type: ${V.type}.
|
|
2574
|
+
(See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}}),re.warnIfExceeded()),P}}}function og(n){return typeof n=="boolean"}var sL=()=>function(s){const{thunk:d=!0,immutableCheck:v=!0,serializableCheck:b=!0,actionCreatorCheck:E=!0}=s??{};let y=new MR;if(d&&(og(d)?y.push(J6):y.push(Z6(d.extraArgument))),process.env.NODE_ENV!=="production"){if(v){let R={};og(v)||(R=v),y.unshift(lL(R))}if(b){let R={};og(b)||(R=b),y.push(uL(R))}if(E){let R={};og(E)||(R=E),y.unshift(iL(R))}}return y},cL="RTK_autoBatch",FR=n=>s=>{setTimeout(s,n)},fL=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:FR(10),dL=(n={type:"raf"})=>s=>(...d)=>{const v=s(...d);let b=!0,E=!1,y=!1;const R=new Set,T=n.type==="tick"?queueMicrotask:n.type==="raf"?fL:n.type==="callback"?n.queueNotification:FR(n.timeout),_=()=>{y=!1,E&&(E=!1,R.forEach(A=>A()))};return Object.assign({},v,{subscribe(A){const N=()=>b&&A(),M=v.subscribe(N);return R.add(A),()=>{M(),R.delete(A)}},dispatch(A){var N;try{return b=!((N=A==null?void 0:A.meta)!=null&&N[cL]),E=!b,E&&(y||(y=!0,T(_))),v.dispatch(A)}finally{b=!0}}})},pL=n=>function(d){const{autoBatch:v=!0}=d??{};let b=new MR(n);return v&&b.push(dL(typeof v=="object"?v:void 0)),b};function mL(n){const s=sL(),{reducer:d=void 0,middleware:v,devTools:b=!0,preloadedState:E=void 0,enhancers:y=void 0}=n||{};let R;if(typeof d=="function")R=d;else if(nh(d))R=F6(d);else throw new Error(process.env.NODE_ENV==="production"?Sn(1):"`reducer` is a required argument, and must be a function or an object of functions that can be passed to combineReducers");if(process.env.NODE_ENV!=="production"&&v&&typeof v!="function")throw new Error(process.env.NODE_ENV==="production"?Sn(2):"`middleware` field must be a callback");let T;if(typeof v=="function"){if(T=v(s),process.env.NODE_ENV!=="production"&&!Array.isArray(T))throw new Error(process.env.NODE_ENV==="production"?Sn(3):"when using a middleware builder function, an array of middleware must be returned")}else T=s();if(process.env.NODE_ENV!=="production"&&T.some(P=>typeof P!="function"))throw new Error(process.env.NODE_ENV==="production"?Sn(4):"each middleware provided to configureStore must be a function");let _=xg;b&&(_=eL({trace:process.env.NODE_ENV!=="production",...typeof b=="object"&&b}));const A=V6(...T),N=pL(A);if(process.env.NODE_ENV!=="production"&&y&&typeof y!="function")throw new Error(process.env.NODE_ENV==="production"?Sn(5):"`enhancers` field must be a callback");let M=typeof y=="function"?y(N):N();if(process.env.NODE_ENV!=="production"&&!Array.isArray(M))throw new Error(process.env.NODE_ENV==="production"?Sn(6):"`enhancers` callback must return an array");if(process.env.NODE_ENV!=="production"&&M.some(P=>typeof P!="function"))throw new Error(process.env.NODE_ENV==="production"?Sn(7):"each enhancer provided to configureStore must be a function");process.env.NODE_ENV!=="production"&&T.length&&!M.includes(A)&&console.error("middlewares were provided, but middleware enhancer was not included in final enhancers - make sure to call `getDefaultEnhancers`");const V=_(...M);return ER(R,E,V)}function VR(n){const s={},d=[];let v;const b={addCase(E,y){if(process.env.NODE_ENV!=="production"){if(d.length>0)throw new Error(process.env.NODE_ENV==="production"?Sn(26):"`builder.addCase` should only be called before calling `builder.addMatcher`");if(v)throw new Error(process.env.NODE_ENV==="production"?Sn(27):"`builder.addCase` should only be called before calling `builder.addDefaultCase`")}const R=typeof E=="string"?E:E.type;if(!R)throw new Error(process.env.NODE_ENV==="production"?Sn(28):"`builder.addCase` cannot be called with an empty action type");if(R in s)throw new Error(process.env.NODE_ENV==="production"?Sn(29):`\`builder.addCase\` cannot be called with two reducers for the same action type '${R}'`);return s[R]=y,b},addMatcher(E,y){if(process.env.NODE_ENV!=="production"&&v)throw new Error(process.env.NODE_ENV==="production"?Sn(30):"`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return d.push({matcher:E,reducer:y}),b},addDefaultCase(E){if(process.env.NODE_ENV!=="production"&&v)throw new Error(process.env.NODE_ENV==="production"?Sn(31):"`builder.addDefaultCase` can only be called once");return v=E,b}};return n(b),[s,d,v]}function hL(n){return typeof n=="function"}function vL(n,s){if(process.env.NODE_ENV!=="production"&&typeof s=="object")throw new Error(process.env.NODE_ENV==="production"?Sn(8):"The object notation for `createReducer` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer");let[d,v,b]=VR(s),E;if(hL(n))E=()=>N$(n());else{const R=N$(n);E=()=>R}function y(R=E(),T){let _=[d[T.type],...v.filter(({matcher:A})=>A(T)).map(({reducer:A})=>A)];return _.filter(A=>!!A).length===0&&(_=[b]),_.reduce((A,N)=>{if(N)if(Vc(A)){const V=N(A,T);return V===void 0?A:V}else{if(pu(A))return DR(A,M=>N(M,T));{const M=N(A,T);if(M===void 0){if(A===null)return A;throw Error("A case reducer on a non-draftable value must not return undefined")}return M}}return A},R)}return y.getInitialState=E,y}var yL=Symbol.for("rtk-slice-createasyncthunk");function gL(n,s){return`${n}/${s}`}function bL({creators:n}={}){var d;const s=(d=n==null?void 0:n.asyncThunk)==null?void 0:d[yL];return function(b){const{name:E,reducerPath:y=E}=b;if(!E)throw new Error(process.env.NODE_ENV==="production"?Sn(11):"`name` is a required option for createSlice");typeof process<"u"&&process.env.NODE_ENV==="development"&&b.initialState===void 0&&console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`");const R=(typeof b.reducers=="function"?b.reducers(SL()):b.reducers)||{},T=Object.keys(R),_={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},A={addCase(K,ie){const ne=typeof K=="string"?K:K.type;if(!ne)throw new Error(process.env.NODE_ENV==="production"?Sn(12):"`context.addCase` cannot be called with an empty action type");if(ne in _.sliceCaseReducersByType)throw new Error(process.env.NODE_ENV==="production"?Sn(13):"`context.addCase` cannot be called with two reducers for the same action type: "+ne);return _.sliceCaseReducersByType[ne]=ie,A},addMatcher(K,ie){return _.sliceMatchers.push({matcher:K,reducer:ie}),A},exposeAction(K,ie){return _.actionCreators[K]=ie,A},exposeCaseReducer(K,ie){return _.sliceCaseReducersByName[K]=ie,A}};T.forEach(K=>{const ie=R[K],ne={reducerName:K,type:gL(E,K),createNotation:typeof b.reducers=="function"};EL(ie)?$L(ne,ie,A,s):wL(ne,ie,A)});function N(){if(process.env.NODE_ENV!=="production"&&typeof b.extraReducers=="object")throw new Error(process.env.NODE_ENV==="production"?Sn(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[K={},ie=[],ne=void 0]=typeof b.extraReducers=="function"?VR(b.extraReducers):[b.extraReducers],pe={...K,..._.sliceCaseReducersByType};return vL(b.initialState,le=>{for(let Je in pe)le.addCase(Je,pe[Je]);for(let Je of _.sliceMatchers)le.addMatcher(Je.matcher,Je.reducer);for(let Je of ie)le.addMatcher(Je.matcher,Je.reducer);ne&&le.addDefaultCase(ne)})}const M=K=>K,V=new Map;let P;function re(K,ie){return P||(P=N()),P(K,ie)}function oe(){return P||(P=N()),P.getInitialState()}function ge(K,ie=!1){function ne(le){let Je=le[K];if(typeof Je>"u"){if(ie)Je=oe();else if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV==="production"?Sn(15):"selectSlice returned undefined for an uninjected slice reducer")}return Je}function pe(le=M){const Je=D$(V,ie,{insert:()=>new WeakMap});return D$(Je,le,{insert:()=>{const yt={};for(const[Lt,Yt]of Object.entries(b.selectors??{}))yt[Lt]=xL(Yt,le,oe,ie);return yt}})}return{reducerPath:K,getSelectors:pe,get selectors(){return pe(ne)},selectSlice:ne}}const X={name:E,reducer:re,actions:_.actionCreators,caseReducers:_.sliceCaseReducersByName,getInitialState:oe,...ge(y),injectInto(K,{reducerPath:ie,...ne}={}){const pe=ie??y;return K.inject({reducerPath:pe,reducer:re},ne),{...X,...ge(pe,!0)}}};return X}}function xL(n,s,d,v){function b(E,...y){let R=s(E);if(typeof R>"u"){if(v)R=d();else if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV==="production"?Sn(16):"selectState returned undefined for an uninjected slice reducer")}return n(R,...y)}return b.unwrapped=n,b}var PR=bL();function SL(){function n(s,d){return{_reducerDefinitionType:"asyncThunk",payloadCreator:s,...d}}return n.withTypes=()=>n,{reducer(s){return Object.assign({[s.name](...d){return s(...d)}}[s.name],{_reducerDefinitionType:"reducer"})},preparedReducer(s,d){return{_reducerDefinitionType:"reducerWithPrepare",prepare:s,reducer:d}},asyncThunk:n}}function wL({type:n,reducerName:s,createNotation:d},v,b){let E,y;if("reducer"in v){if(d&&!CL(v))throw new Error(process.env.NODE_ENV==="production"?Sn(17):"Please use the `create.preparedReducer` notation for prepared action creators with the `create` notation.");E=v.reducer,y=v.prepare}else E=v;b.addCase(n,E).exposeCaseReducer(s,E).exposeAction(s,y?_$(n,y):_$(n))}function EL(n){return n._reducerDefinitionType==="asyncThunk"}function CL(n){return n._reducerDefinitionType==="reducerWithPrepare"}function $L({type:n,reducerName:s},d,v,b){if(!b)throw new Error(process.env.NODE_ENV==="production"?Sn(18):"Cannot use `create.asyncThunk` in the built-in `createSlice`. Use `buildCreateSlice({ creators: { asyncThunk: asyncThunkCreator } })` to create a customised version of `createSlice`.");const{payloadCreator:E,fulfilled:y,pending:R,rejected:T,settled:_,options:A}=d,N=b(n,E,A);v.exposeAction(s,N),y&&v.addCase(N.fulfilled,y),R&&v.addCase(N.pending,R),T&&v.addCase(N.rejected,T),_&&v.addMatcher(N.settled,_),v.exposeCaseReducer(s,{fulfilled:y||lg,pending:R||lg,rejected:T||lg,settled:_||lg})}function lg(){}function Sn(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. `}const RL={inputValues:{}},Cg=PR({name:"flow",initialState:RL,reducers:{setInputValue:(n,s)=>{const{field:d,value:v}=s.payload;n.inputValues[d]=v},setInputValues:(n,s)=>{n.inputValues={...n.inputValues,...s.payload}}},selectors:{selectInputValues:n=>n.inputValues}}),{setInputValue:TL,setInputValues:O$}=Cg.actions,{selectInputValues:kL}=Cg.selectors,_L={patient:null},$g=PR({name:"patient",initialState:_L,reducers:{setPatient:(n,s)=>{n.patient=s.payload},updatePatient:(n,s)=>{n.patient&&(n.patient.profile={...n.patient.profile,...s.payload})}},selectors:{selectPatient:n=>{var s;return((s=n.patient)==null?void 0:s.profile)||null}}}),{setPatient:NL,updatePatient:DL}=$g.actions,{selectPatient:OL}=$g.selectors,LL=({formComponent:n})=>{const s=n.props,{required:d,min:v,max:b,property:E,label:y="Number Input",allowLeadingZero:R=!1}=s||{},T=1,[_,A]=ze.useState(""),N=M=>{let{value:V}=M.target;R||(V=V.replace(/^0+/,"")),A(V)};return be.jsxDEV(QS,{$hasError:!1,children:[be.jsxDEV(B2,{htmlFor:E,children:y},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/inputs/Number.tsx",lineNumber:71,columnNumber:7},void 0),be.jsxDEV("input",{type:"number",value:_||"",onChange:N,min:v,max:b,step:T},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/inputs/Number.tsx",lineNumber:72,columnNumber:7},void 0),be.jsxDEV(YS,{$margin:"0 0 1em",$visible:d,children:d?"Required":""},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/inputs/Number.tsx",lineNumber:81,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/inputs/Number.tsx",lineNumber:70,columnNumber:5},void 0)},Rg=({errors:n})=>be.jsxDEV(ML,{children:n.map((s,d)=>be.jsxDEV(zL,{children:s},d,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/visual/RenderError.tsx",lineNumber:8,columnNumber:17},void 0))},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/visual/RenderError.tsx",lineNumber:6,columnNumber:9},void 0),ML=xe.div`
|
|
2575
|
+
padding: 16px;
|
|
2576
|
+
background-color: #f5f5f5;
|
|
2577
|
+
border-radius: 8px;
|
|
2578
|
+
border: 1px solid #e0e0e0;
|
|
2579
|
+
margin: 8px 0;
|
|
2580
|
+
`,zL=xe.div`
|
|
2581
|
+
font-family: 'Poppins', sans-serif;
|
|
2582
|
+
font-size: 14px;
|
|
2583
|
+
color: #666;
|
|
2584
|
+
margin-bottom: 4px;
|
|
2585
|
+
`,vS=({formComponent:n})=>{var M;const{getFlowValue:s,setFlowAndPatientValue:d}=Vg(),[v,b]=ze.useState({}),E=n.props,y=(E==null?void 0:E.options)||[],R=[],T=s(E.propertyId);E.propertyId||R.push("Error"),ze.useEffect(()=>{},[T]);const _=V=>{const{value:P}=V.target;let re=T,oe={...v};if(n.componentId==="radio"||n.componentId==="radio-group")re===P?re="":re=P;else if(Array.isArray(re)||(re=[]),re.indexOf(P)!==-1){let ge=re.indexOf(P);re.splice(ge,1)}else re.push(P);d(E.propertyId,re),b(oe),E==null||E.required},A=V=>{var P;if(n.componentId==="radio"||n.componentId==="radio-group"){const re=(P=y[V])==null?void 0:P.value;return T===re}},N=(y==null?void 0:y.length)||0;return R.length>0?be.jsxDEV(Rg,{errors:R},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/inputs/Radio.tsx",lineNumber:143,columnNumber:12},void 0):be.jsxDEV(Z2,{id:n.id,$style:"input",children:be.jsxDEV(yR,{children:[be.jsxDEV(vR,{$margin:"0px 0px 5px 10px",children:(M=n.props)==null?void 0:M.label},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/inputs/Radio.tsx",lineNumber:155,columnNumber:9},void 0),y&&y.map((V,P)=>{const re=P===0&&P+1!=N?"first":N===P+1?"last":null,oe=n.id+"_"+P,ge=n.componentId==="radio-group"?E.propertyId:n.id;return be.jsxDEV(GS,{$justify:"flex-start",$inputBoundary:re,children:be.jsxDEV("label",{htmlFor:oe,children:[be.jsxDEV(o6,{dangerouslySetInnerHTML:{__html:V.labelText}},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/inputs/Radio.tsx",lineNumber:164,columnNumber:19},void 0),be.jsxDEV("input",{type:"checkbox",id:oe,name:ge,value:V.value,onChange:X=>_(X),checked:A(P)},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/inputs/Radio.tsx",lineNumber:165,columnNumber:19},void 0),be.jsxDEV("span",{},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/inputs/Radio.tsx",lineNumber:173,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/inputs/Radio.tsx",lineNumber:163,columnNumber:17},void 0)},oe,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/inputs/Radio.tsx",lineNumber:162,columnNumber:15},void 0)})]},void 0,!0,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/inputs/Radio.tsx",lineNumber:154,columnNumber:7},void 0)},n.id,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/inputs/Radio.tsx",lineNumber:147,columnNumber:5},void 0)},AL=({formComponent:n})=>{const s=n.props,{required:d,maxLength:v,propertyId:b,label:E="Text Area Input"}=s||{},[y,R]=ze.useState(""),T=_=>{const{value:A}=_.target;R(A)};return be.jsxDEV(QS,{children:[be.jsxDEV(vR,{children:E},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/inputs/TextArea.tsx",lineNumber:55,columnNumber:7},void 0),be.jsxDEV("textarea",{id:b,name:b,value:y,onChange:T,rows:3,maxLength:v||600},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/inputs/TextArea.tsx",lineNumber:56,columnNumber:7},void 0),be.jsxDEV(YS,{$margin:"0 0 1em",$visible:d,children:d?"Required":""},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/inputs/TextArea.tsx",lineNumber:64,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/inputs/TextArea.tsx",lineNumber:54,columnNumber:5},void 0)},UL=({formComponent:n})=>{const{getFlowValue:s,setFlowAndPatientValue:d}=Vg(),v=n.props,{labelText:b,leftText:E,middleText:y,rightText:R,propertyId:T,required:_}=v||{},A=s(T),N=P=>{d(T,P)},M=P=>({1:"#9AB777",2:"#949455",3:"#A07D4B",4:"#AC6741",5:"#BD5E46"})[P]||"#9AB777",V=P=>A===P;return be.jsxDEV(QS,{$type:"symptomSurvey",children:be.jsxDEV(jL,{children:[b&&be.jsxDEV(hR,{$color:"primary",$margin:"0px 0px 10px 0px",children:b},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/inputs/Scale.tsx",lineNumber:77,columnNumber:23},void 0),be.jsxDEV(FL,{children:[be.jsxDEV(VL,{children:[E&&be.jsxDEV(yS,{children:E},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/inputs/Scale.tsx",lineNumber:80,columnNumber:28},void 0),y&&be.jsxDEV(yS,{children:y},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/inputs/Scale.tsx",lineNumber:81,columnNumber:30},void 0),R&&be.jsxDEV(yS,{children:R},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/inputs/Scale.tsx",lineNumber:82,columnNumber:29},void 0)]},void 0,!0,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/inputs/Scale.tsx",lineNumber:79,columnNumber:11},void 0),be.jsxDEV(PL,{children:[1,2,3,4,5].map(P=>be.jsxDEV(HL,{style:{display:"flex",flexDirection:"column",alignItems:"center"},children:be.jsxDEV(IL,{$severity:P,$color:M(P),$isSelected:V(P),onClick:()=>N(P),type:"button",children:P},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/inputs/Scale.tsx",lineNumber:87,columnNumber:17},void 0)},P,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/inputs/Scale.tsx",lineNumber:86,columnNumber:15},void 0))},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/inputs/Scale.tsx",lineNumber:84,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/inputs/Scale.tsx",lineNumber:78,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/inputs/Scale.tsx",lineNumber:76,columnNumber:7},void 0)},n.id,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/inputs/Scale.tsx",lineNumber:69,columnNumber:5},void 0)};xe.div`
|
|
2586
|
+
&&{
|
|
2587
|
+
display: flex;
|
|
2588
|
+
align-items: center;
|
|
2589
|
+
}
|
|
2590
|
+
`;xe.h3`
|
|
2591
|
+
&&{
|
|
2592
|
+
font-family: ${n=>n.theme.fonts.poppins};
|
|
2593
|
+
font-weight: 600;
|
|
2594
|
+
font-size: 16px;
|
|
2595
|
+
color: ${n=>n.theme.colors.primary};
|
|
2596
|
+
margin: 0;
|
|
2597
|
+
}
|
|
2598
|
+
`;const jL=xe.div`
|
|
2599
|
+
&&{
|
|
2600
|
+
margin-top: 15px;
|
|
2601
|
+
}
|
|
2602
|
+
`,FL=xe.div`
|
|
2603
|
+
&&{
|
|
2604
|
+
background-color: ${n=>n.theme.colors.neutral20};
|
|
2605
|
+
border-radius: 8px;
|
|
2606
|
+
padding: 10px 12px;
|
|
2607
|
+
display: flex;
|
|
2608
|
+
flex-direction: column;
|
|
2609
|
+
gap: 8px;
|
|
2610
|
+
}
|
|
2611
|
+
`,VL=xe.div`
|
|
2612
|
+
&&{
|
|
2613
|
+
display: flex;
|
|
2614
|
+
justify-content: space-between;
|
|
2615
|
+
align-items: center;
|
|
2616
|
+
// padding: 0 8px;
|
|
2617
|
+
padding: 3px 0px;
|
|
2618
|
+
}
|
|
2619
|
+
`,yS=xe.span`
|
|
2620
|
+
&&{
|
|
2621
|
+
font-family: ${n=>n.theme.fonts.poppins};
|
|
2622
|
+
font-weight: 600;
|
|
2623
|
+
font-size: 12px;
|
|
2624
|
+
line-height: 100%;
|
|
2625
|
+
letter-spacing: 6%;
|
|
2626
|
+
text-transform: uppercase;
|
|
2627
|
+
color: ${n=>n.theme.colors.gray60};
|
|
2628
|
+
flex: 1;
|
|
2629
|
+
text-align: center;
|
|
2630
|
+
|
|
2631
|
+
&:first-child {
|
|
2632
|
+
text-align: left;
|
|
2633
|
+
}
|
|
2634
|
+
|
|
2635
|
+
&:last-child {
|
|
2636
|
+
text-align: right;
|
|
2637
|
+
}
|
|
2638
|
+
}
|
|
2639
|
+
`,PL=xe.div`
|
|
2640
|
+
&&{
|
|
2641
|
+
display: flex;
|
|
2642
|
+
justify-content: space-between;
|
|
2643
|
+
gap: 8px;
|
|
2644
|
+
}
|
|
2645
|
+
`,HL=xe.div`
|
|
2646
|
+
display: 'flex';
|
|
2647
|
+
flex-direction: 'column';
|
|
2648
|
+
align-items: 'center';
|
|
2649
|
+
width: 44px;
|
|
2650
|
+
max-width: 17%;
|
|
2651
|
+
|
|
2652
|
+
`,IL=xe.button`
|
|
2653
|
+
&&{
|
|
2654
|
+
width: 100%;
|
|
2655
|
+
height: 44px;
|
|
2656
|
+
padding: 12px;
|
|
2657
|
+
border-radius: 4px;
|
|
2658
|
+
border: 1px solid ${n=>n.theme.colors.gray60};
|
|
2659
|
+
background-color: ${n=>n.$isSelected?n.$color:n.theme.colors.white};
|
|
2660
|
+
color: ${n=>n.$isSelected?"white":n.theme.colors.gray60};
|
|
2661
|
+
font-family: ${n=>n.theme.fonts.poppins};
|
|
2662
|
+
font-weight: 600;
|
|
2663
|
+
font-size: 14px;
|
|
2664
|
+
cursor: pointer;
|
|
2665
|
+
transition: all .2s;
|
|
2666
|
+
display: flex;
|
|
2667
|
+
align-items: center;
|
|
2668
|
+
justify-content: center;
|
|
2669
|
+
|
|
2670
|
+
&:hover {
|
|
2671
|
+
background-color: ${n=>(n.$isSelected,n.$color)};
|
|
2672
|
+
color: white;
|
|
2673
|
+
}
|
|
2674
|
+
|
|
2675
|
+
&:focus {
|
|
2676
|
+
outline: none;
|
|
2677
|
+
box-shadow: 0 0 0 2px ${n=>n.theme.colors.primary}40;
|
|
2678
|
+
}
|
|
2679
|
+
}
|
|
2680
|
+
`,BL=({formComponent:n})=>{const s=n.props;return s!=null&&s.text?be.jsxDEV(V2,{$margin:"0px",$color:s.color,$align:s["text-align"],dangerouslySetInnerHTML:{__html:s.text}},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/visual/Header.tsx",lineNumber:16,columnNumber:5},void 0):null},WL=({formComponent:n})=>{const s=n.props;return s!=null&&s.src?be.jsxDEV(a6,{src:s.src},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/visual/Image.tsx",lineNumber:16,columnNumber:5},void 0):be.jsxDEV(Rg,{errors:["Image form component is missing valid image src"]},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/visual/Image.tsx",lineNumber:13,columnNumber:27},void 0)},YL=({formComponent:n})=>be.jsxDEV(GL,{children:be.jsxDEV(QL,{children:be.jsxDEV(qL,{children:be.jsxDEV("svg",{width:"352",height:"243",viewBox:"0 0 352 243",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[be.jsxDEV("g",{"clip-path":"url(#clip0_356_13948)",children:[be.jsxDEV("g",{"clip-path":"url(#clip1_356_13948)",children:[be.jsxDEV("path",{d:"M351 195C151.369 195 32.4675 102 0 22V230H351V195Z",fill:"url(#paint0_linear_356_13948)"},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/visual/WeightLossChart.tsx",lineNumber:15,columnNumber:1},void 0),be.jsxDEV("path",{d:"M0 22C32.4675 102 151.369 195 351 195",stroke:"#86AF61","stroke-width":"2","stroke-linecap":"round"},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/visual/WeightLossChart.tsx",lineNumber:16,columnNumber:1},void 0)]},void 0,!0,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/visual/WeightLossChart.tsx",lineNumber:14,columnNumber:1},void 0),be.jsxDEV("circle",{cx:"294.5",cy:"191.5",r:"22.5",fill:"#6F9351","fill-opacity":"0.16"},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/visual/WeightLossChart.tsx",lineNumber:18,columnNumber:1},void 0),be.jsxDEV("circle",{cx:"294.5",cy:"191.5",r:"6.5",fill:"white",stroke:"#6F9351","stroke-width":"4"},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/visual/WeightLossChart.tsx",lineNumber:19,columnNumber:1},void 0),be.jsxDEV("path",{d:"M0 22C32.56 75.1792 151.8 137 352 137",stroke:"#D9D8D8","stroke-width":"2","stroke-linecap":"round"},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/visual/WeightLossChart.tsx",lineNumber:20,columnNumber:1},void 0)]},void 0,!0,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/visual/WeightLossChart.tsx",lineNumber:13,columnNumber:1},void 0),be.jsxDEV("defs",{children:[be.jsxDEV("linearGradient",{id:"paint0_linear_356_13948",x1:"58.654",y1:"230",x2:"58.654",y2:"22",gradientUnits:"userSpaceOnUse",children:[be.jsxDEV("stop",{"stop-color":"#86AF61","stop-opacity":"0"},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/visual/WeightLossChart.tsx",lineNumber:24,columnNumber:1},void 0),be.jsxDEV("stop",{offset:"1","stop-color":"#86AF61"},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/visual/WeightLossChart.tsx",lineNumber:25,columnNumber:1},void 0)]},void 0,!0,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/visual/WeightLossChart.tsx",lineNumber:23,columnNumber:1},void 0),be.jsxDEV("clipPath",{id:"clip0_356_13948",children:be.jsxDEV("rect",{width:"352",height:"242",fill:"white",transform:"translate(0 0.5)"},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/visual/WeightLossChart.tsx",lineNumber:28,columnNumber:1},void 0)},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/visual/WeightLossChart.tsx",lineNumber:27,columnNumber:1},void 0),be.jsxDEV("clipPath",{id:"clip1_356_13948",children:be.jsxDEV("rect",{width:"351",height:"220",fill:"white",transform:"translate(0 22)"},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/visual/WeightLossChart.tsx",lineNumber:31,columnNumber:1},void 0)},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/visual/WeightLossChart.tsx",lineNumber:30,columnNumber:1},void 0)]},void 0,!0,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/visual/WeightLossChart.tsx",lineNumber:22,columnNumber:1},void 0)]},void 0,!0,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/visual/WeightLossChart.tsx",lineNumber:12,columnNumber:11},void 0)},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/visual/WeightLossChart.tsx",lineNumber:10,columnNumber:9},void 0)},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/visual/WeightLossChart.tsx",lineNumber:9,columnNumber:7},void 0)},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/visual/WeightLossChart.tsx",lineNumber:8,columnNumber:5},void 0),GL=xe.div`
|
|
2681
|
+
&& {
|
|
2682
|
+
display: flex;
|
|
2683
|
+
flex-direction: column;
|
|
2684
|
+
width: 100%;
|
|
2685
|
+
margin: 24px auto;
|
|
2686
|
+
max-width: 100%;
|
|
2687
|
+
padding: 0 28px;
|
|
2688
|
+
box-sizing: border-box;
|
|
2689
|
+
|
|
2690
|
+
@media (max-width: 768px) {
|
|
2691
|
+
margin: 24px auto;
|
|
2692
|
+
padding: 0 5px;
|
|
2693
|
+
}
|
|
2694
|
+
}
|
|
2695
|
+
`,QL=xe.div`
|
|
2696
|
+
&& {
|
|
2697
|
+
position: relative;
|
|
2698
|
+
width: 100%;
|
|
2699
|
+
// height: 188px;
|
|
2700
|
+
// margin-bottom: 54px;
|
|
2701
|
+
}
|
|
2702
|
+
`,qL=xe.div`
|
|
2703
|
+
&& {
|
|
2704
|
+
position: relative;
|
|
2705
|
+
width: 100%;
|
|
2706
|
+
height: 100%;
|
|
2707
|
+
animation: revealGraph 2s ease-out forwards; // graph reveal duration
|
|
2708
|
+
animation-delay: 0.25s;
|
|
2709
|
+
clip-path: inset(0 100% 0 0);
|
|
2710
|
+
}
|
|
2711
|
+
`,HR=document.createElement("style");HR.textContent=`
|
|
2712
|
+
@keyframes revealGraph {
|
|
2713
|
+
from {
|
|
2714
|
+
clip-path: inset(0 100% 0 0);
|
|
2715
|
+
}
|
|
2716
|
+
to {
|
|
2717
|
+
clip-path: inset(0 0 0 0);
|
|
2718
|
+
}
|
|
2719
|
+
}
|
|
2720
|
+
|
|
2721
|
+
@keyframes fadeIn {
|
|
2722
|
+
from {
|
|
2723
|
+
opacity: 0;
|
|
2724
|
+
}
|
|
2725
|
+
to {
|
|
2726
|
+
opacity: 1;
|
|
2727
|
+
}
|
|
2728
|
+
}
|
|
2729
|
+
`;document.head.appendChild(HR);const KL=({formComponent:n})=>be.jsxDEV("hr",{style:{height:"1px",border:"1px solid #D9D8D8",opacity:1,margin:"20px 0"}},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/visual/Rule.tsx",lineNumber:7,columnNumber:5},void 0),XL=({formComponent:n})=>{var s;return(s=n.props)!=null&&s.text?be.jsxDEV(P2,{$margin:"0px",dangerouslySetInnerHTML:{__html:n.props.text}},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/visual/TextTip.tsx",lineNumber:9,columnNumber:5},void 0):null},JL=({formComponent:n})=>{const s=n.props;return s!=null&&s.text?be.jsxDEV(H2,{$margin:"0px",$color:s.color,$align:s["text-align"],dangerouslySetInnerHTML:{__html:s.text}},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/visual/SmallText.tsx",lineNumber:16,columnNumber:5},void 0):null},ZL=({formComponent:n})=>{const s=n.props;return s!=null&&s.text?be.jsxDEV(hR,{$margin:"0px",$color:s.color,$align:s["text-align"],dangerouslySetInnerHTML:{__html:s.text}},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/visual/Paragraph.tsx",lineNumber:16,columnNumber:5},void 0):null},eM={number:"number","number-input":"number",radio:"string","radio-group":"string",checkbox:"array"},tM={header:BL,image:WL,"weight-loss-chart":YL,"horizontal-rule":KL,"text-tip":XL,"small-text":JL,paragraph:ZL,checkbox:vS,radio:vS,"radio-group":vS,number:LL,scale:UL,textarea:AL},Vg=()=>{const n=N6(),s=x$(N=>kL(N)),d=x$(N=>OL(N)),v=ze.useCallback((N,M)=>{n(TL({field:N,value:M}))},[n]),b=ze.useCallback(N=>s[N],[s]),E=ze.useCallback(N=>{n(O$(N)),n(O$(N))},[n]),y=ze.useCallback((N,M)=>{n(DL({[N]:M}))},[n]),R=ze.useCallback(N=>{const M={id:`temp-${Date.now()}`,profile:N,description:`Patient: ${N.first_name} ${N.last_name}`};n(NL(M))},[n]),T=ze.useCallback(N=>d==null?void 0:d[N],[d]),_=ze.useCallback((N,M)=>{v(N,M),y(N,M)},[v,y]),A=ze.useCallback(N=>{const M={};return N.flowForms&&N.flowForms.forEach(V=>{var P;(P=V.form)!=null&&P.formComponents&&V.form.formComponents.forEach(re=>{const oe=re.componentId||"";if(eM[oe]){const X=re.props,K=(X==null?void 0:X.property)||(X==null?void 0:X.propertyId)||(X==null?void 0:X.name)||(X==null?void 0:X.id);K&&(M[K]=null)}})}),M},[]);return{setFlowValue:v,setFlowValues:E,getFlowValue:b,setPatientValue:y,setPatientValues:R,getPatientValue:T,setFlowAndPatientValue:_,generateFormDataFromFlow:A}},nM=(n,s)=>{const{operand:d,operator:v,value:b}=n,E=s(d),y=String(E||"").toLowerCase().trim(),R=String(b||"").toLowerCase().trim();switch(v){case"==":case"===":return y===R;case"!=":case"!==":return y!==R;case">":const T=parseFloat(y),_=parseFloat(R);return!isNaN(T)&&!isNaN(_)&&T>_;case">=":const A=parseFloat(y),N=parseFloat(R);return!isNaN(A)&&!isNaN(N)&&A>=N;case"<":const M=parseFloat(y),V=parseFloat(R);return!isNaN(M)&&!isNaN(V)&&M<V;case"<=":const P=parseFloat(y),re=parseFloat(R);return!isNaN(P)&&!isNaN(re)&&P<=re;case"contains":case"includes":return y.includes(R);case"not_contains":case"not_includes":return!y.includes(R);case"starts_with":return y.startsWith(R);case"ends_with":return y.endsWith(R);case"exists":case"is_not_empty":return E!=null&&y!=="";case"not_exists":case"is_empty":return E==null||y==="";case"in":return Array.isArray(b)?b.some(X=>String(X).toLowerCase().trim()===y):String(b).split(",").map(X=>X.toLowerCase().trim()).includes(y);case"not_in":return Array.isArray(b)?!b.some(X=>String(X).toLowerCase().trim()===y):!String(b).split(",").map(X=>X.toLowerCase().trim()).includes(y);case"regex":case"matches":try{return new RegExp(String(b),"i").test(y)}catch{return console.warn("Invalid regex pattern:",b),!1}default:return console.warn("Unknown operator:",v),!1}},rM=(n,s)=>!n||!n.conditions||n.conditions.length===0?!0:n.conditions.some(d=>d.every(v=>nM(v,s))),iM=(n,s)=>(n&&console.warn("evaluateCondition is deprecated. Use evaluateConditionWithFlowStore with the flow store instead."),!0),IR=()=>{const{getPatientValue:n}=Vg();return{evaluateCondition:ze.useMemo(()=>d=>rM(d,n),[n])}},BR=({flow:n,isPreview:s,$bgColor:d})=>{var V;const[v,b]=ze.useState(0),{evaluateCondition:E}=IR(),y=((V=n.flowForms)==null?void 0:V.filter(P=>P.condition?E(P.condition):!0))||[],R=y.length,T=y[v];if(!T)return null;const _=v===0,A=v===R-1,N=()=>{v<R-1&&b(P=>P+1)},M=()=>{v>0&&b(P=>P-1)};return console.log(T.bgColor),be.jsxDEV(e6,{children:[be.jsxDEV(bR,{currentStep:v+1,totalSteps:R,showOnDesktop:!0,showOnMobile:!1},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/FlowRenderer.tsx",lineNumber:53,columnNumber:7},void 0),be.jsxDEV(Ad,{$xSmall:!0,$bgColor:"white",$bRad:"10px 10px 0px 0px",children:be.jsxDEV(r6,{$banner:!1,$borderOff:!!T.bgColor,children:[be.jsxDEV(gR,{onClick:M,disabled:_},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/FlowRenderer.tsx",lineNumber:62,columnNumber:13},void 0),be.jsxDEV(n6,{src:"https://media-s3-cdn.ivimhealth.com/assets/images/logos/ivim-black.svg"},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/FlowRenderer.tsx",lineNumber:63,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/FlowRenderer.tsx",lineNumber:61,columnNumber:9},void 0)},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/FlowRenderer.tsx",lineNumber:60,columnNumber:7},void 0),be.jsxDEV(JS,{$bgColor:T.bgColor,children:be.jsxDEV(WR,{flowForm:T,isPreview:s},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/FlowRenderer.tsx",lineNumber:69,columnNumber:9},void 0)},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/FlowRenderer.tsx",lineNumber:68,columnNumber:7},void 0),be.jsxDEV(Ad,{$xSmall:!0,$bgColor:"white",$bRad:"0px 0px 10px 10px",children:be.jsxDEV(i6,{$borderOff:!!T.bgColor,children:be.jsxDEV(t6,{type:"submit",onClick:N,$isLastStep:A,$radius:"41px",$margin:"0 0 15px 0",$btnStyle:"black",children:A?"Submit":"Next"},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/FlowRenderer.tsx",lineNumber:78,columnNumber:11},void 0)},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/FlowRenderer.tsx",lineNumber:77,columnNumber:9},void 0)},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/FlowRenderer.tsx",lineNumber:76,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/FlowRenderer.tsx",lineNumber:50,columnNumber:5},void 0)},aM=({data:n,config:s,isPreview:d})=>{const{setFlowValues:v,generateFormDataFromFlow:b,setPatientValues:E}=Vg();return ze.useEffect(()=>{E(n);const y=b(s);v(y)},[n,s,E,v,b]),be.jsxDEV(BR,{flow:s,isPreview:d},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/Renderer.tsx",lineNumber:21,columnNumber:5},void 0)},oM={lightPalettePine120:"#5A6859",darkGreenTint:"#7B867A",lightGreen:"#D9E7CE",lightGreenTint:"#ECF3E7",paleLeaf:"#C5D5B9",brandDarkGray:"#32312D",mediumGray:"#474642",gray:"#706F6C",lightGray:"#ADADAB",ltGray:"#D2D2D2",lightGrayTint:"#F5F5F5",brandTan:"#C2925B",neutral50:"#CAC8BE",neutralTint1:"#E5E3D7",neutralTint2:"#EAE9DF",neutralTint3:"#FAF9F7",transparent:"transparent",errorRed:"#DD1818",purple:"#8A61AF",ltPurple:"#E3D9EC",blue:"#6186AF",ltBlue:"#C8E2FE",focus:"#b17bb2",xltGray:"#E1E2E7",white:"#FFFFFF",transp:"transparent",primary:"#32312D",ivimGreen:"#85AF61",success:"#6F9351",pine120:"#5A6859",pine100:"#7B867A",neutral0:"#FFFFFF",neutral20:"#F5F4F2",neutral30:"#F1EFED",neutral40:"#D8D6CA",gray60:"#ADADAB",danger:"#B94E36"},lM={playfair:'"Playfair Display", serif',poppins:"Poppins, sans-serif",karmina:"Karmina, serif"},uM={xs:"only screen and (min-width: 400px)",sm:"only screen and (min-width: 576px)",md:"only screen and (min-width: 766px)",lg:"only screen and (min-width: 992px)",xl:"only screen and (min-width: 1200px)"},sM={colors:oM,fonts:lM,mediaQuery:uM},cM=mL({reducer:{[$g.name]:$g.reducer,[Cg.name]:Cg.reducer}}),fM=xe.div`
|
|
2730
|
+
&&{
|
|
2731
|
+
width: 100%;
|
|
2732
|
+
min-height: calc(100vh - 100px);
|
|
2733
|
+
padding: 28px 0px 100px;
|
|
2734
|
+
position: relative;
|
|
2735
|
+
background-color: ${n=>n.theme.colors.neutral30};
|
|
2736
|
+
${n=>n.$isPreview&&`
|
|
2737
|
+
// max-width: 600px;
|
|
2738
|
+
`}
|
|
2739
|
+
@media ${n=>n.theme.mediaQuery.md}{
|
|
2740
|
+
padding: 45px 0px 28px;
|
|
2741
|
+
min-height: 100vh;
|
|
2742
|
+
& ${Ad} {
|
|
2743
|
+
padding-top: 0px;
|
|
2744
|
+
}
|
|
2745
|
+
}
|
|
2746
|
+
}
|
|
2747
|
+
`,dM=xe.div`
|
|
2748
|
+
width: 100%;
|
|
2749
|
+
max-width: 600px;
|
|
2750
|
+
margin: 0 auto;
|
|
2751
|
+
position: relative;
|
|
2752
|
+
`,pM=({$isPreview:n,children:s})=>be.jsxDEV(T6,{store:cM,children:be.jsxDEV(j2,{theme:sM,children:be.jsxDEV(fM,{$isPreview:n,children:be.jsxDEV(dM,{children:s},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/RendererWrapper.tsx",lineNumber:46,columnNumber:11},void 0)},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/RendererWrapper.tsx",lineNumber:45,columnNumber:9},void 0)},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/RendererWrapper.tsx",lineNumber:44,columnNumber:7},void 0)},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/RendererWrapper.tsx",lineNumber:43,columnNumber:5},void 0),WR=({flowForm:n,isPreview:s})=>{if(!n||!n.form)return null;const d=be.jsxDEV(GR,{form:n.form,isPreview:s},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/FlowFormRenderer.tsx",lineNumber:19,columnNumber:5},void 0);return s?d:be.jsxDEV(JS,{children:d},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/FlowFormRenderer.tsx",lineNumber:25,columnNumber:23},void 0)},ZS=class ZS{static register(s,d){this.registry[s]=d}static getComponent(s){return this.registry[s]||null}static hasComponent(s){return s in this.registry}static getRegisteredComponents(){return Object.keys(this.registry)}};ZS.registry={...tM};let Tg=ZS;const YR=({formComponent:n,isPreview:s,boundary:d,isVisible:v=!0})=>{const b=E=>{const y=E.componentId;if(!y)return be.jsxDEV(Rg,{errors:["Missing componentId"]},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/FormComponentRenderer.tsx",lineNumber:19,columnNumber:14},void 0);const R=Tg.getComponent(y);return R?be.jsxDEV(R,{formComponent:E},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/FormComponentRenderer.tsx",lineNumber:24,columnNumber:9},void 0):be.jsxDEV(Rg,{errors:[`Unknown component type: ${y}`]},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/FormComponentRenderer.tsx",lineNumber:25,columnNumber:9},void 0)};return be.jsxDEV(yR,{children:be.jsxDEV(GS,{$span:"12",children:be.jsxDEV(J2,{$margin:d!=="first"?"25px 0px 0px":"0px",children:b(n)},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/FormComponentRenderer.tsx",lineNumber:31,columnNumber:11},void 0)},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/FormComponentRenderer.tsx",lineNumber:30,columnNumber:9},void 0)},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/FormComponentRenderer.tsx",lineNumber:29,columnNumber:7},void 0)},GR=({form:n,isPreview:s})=>{const{evaluateCondition:d}=IR(),b=ze.useMemo(()=>{var y;return((y=n.formComponents)==null?void 0:y.map(R=>{const T=!R.condition||d(R.condition);return{...R,isVisible:T,shouldRender:T,hasCondition:!!R.condition}}))||[]},[n.formComponents,d]).filter(y=>y.shouldRender),E=b.length;return be.jsxDEV(be.Fragment,{children:b.map((y,R)=>{const T=R===0?"first":E===R+1?"last":null,_=y.isVisible;return be.jsxDEV(YR,{formComponent:y,isPreview:s,boundary:T,isVisible:_},y.id,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/FormRenderer.tsx",lineNumber:38,columnNumber:11},void 0)})},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/FormRenderer.tsx",lineNumber:32,columnNumber:5},void 0)},mM=xe.form`
|
|
2753
|
+
padding: 20px 0px 20px;
|
|
2754
|
+
`,JS=({children:n,$bgColor:s})=>be.jsxDEV(Ad,{$overflow:"hidden",$position:"static",$xSmall:!0,id:"MainFlowContainer",$bgColor:s||"white",$bRad:"0px",$marginBottom:"0px",$marginBottomMd:"0px",children:be.jsxDEV(mM,{children:n},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/FormWrapper.tsx",lineNumber:18,columnNumber:7},void 0)},void 0,!1,{fileName:"/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/FormWrapper.tsx",lineNumber:17,columnNumber:5},void 0);exports.ComponentFactory=Tg;exports.FlowFormRenderer=WR;exports.FlowProgressTracker=bR;exports.FlowRenderer=BR;exports.FormComponentRenderer=YR;exports.FormRenderer=GR;exports.FormWrapper=JS;exports.Renderer=aM;exports.RendererWrapper=pM;exports.evaluateCondition=iM;
|