@biznext-ui/react 0.4.4 → 0.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1,272 +1,32 @@
1
- (function(_o,fp){typeof exports=="object"&&typeof module<"u"?fp(exports):typeof define=="function"&&define.amd?define(["exports"],fp):(_o=typeof globalThis<"u"?globalThis:_o||self,fp(_o["biznext-ui-react"]={}))})(this,function(_o){"use strict";function fp(i,r){for(var u=0;u<r.length;u++){const c=r[u];if(typeof c!="string"&&!Array.isArray(c)){for(const d in c)if(d!=="default"&&!(d in i)){const m=Object.getOwnPropertyDescriptor(c,d);m&&Object.defineProperty(i,d,m.get?m:{enumerable:!0,get:()=>c[d]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}function x0(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var E0={exports:{}},dp={},T0={exports:{}},Ft={};/**
2
- * @license React
3
- * react.production.min.js
4
- *
5
- * Copyright (c) Facebook, Inc. and its affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var Ix;function zD(){if(Ix)return Ft;Ix=1;var i=Symbol.for("react.element"),r=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),m=Symbol.for("react.provider"),h=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),x=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),w=Symbol.iterator;function M(X){return X===null||typeof X!="object"?null:(X=w&&X[w]||X["@@iterator"],typeof X=="function"?X:null)}var k={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},F=Object.assign,V={};function _(X,ie,Fe){this.props=X,this.context=ie,this.refs=V,this.updater=Fe||k}_.prototype.isReactComponent={},_.prototype.setState=function(X,ie){if(typeof X!="object"&&typeof X!="function"&&X!=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,X,ie,"setState")},_.prototype.forceUpdate=function(X){this.updater.enqueueForceUpdate(this,X,"forceUpdate")};function j(){}j.prototype=_.prototype;function Z(X,ie,Fe){this.props=X,this.context=ie,this.refs=V,this.updater=Fe||k}var z=Z.prototype=new j;z.constructor=Z,F(z,_.prototype),z.isPureReactComponent=!0;var q=Array.isArray,H=Object.prototype.hasOwnProperty,se={current:null},le={key:!0,ref:!0,__self:!0,__source:!0};function de(X,ie,Fe){var Ze,ut={},rt=null,Ct=null;if(ie!=null)for(Ze in ie.ref!==void 0&&(Ct=ie.ref),ie.key!==void 0&&(rt=""+ie.key),ie)H.call(ie,Ze)&&!le.hasOwnProperty(Ze)&&(ut[Ze]=ie[Ze]);var lt=arguments.length-2;if(lt===1)ut.children=Fe;else if(1<lt){for(var St=Array(lt),Jt=0;Jt<lt;Jt++)St[Jt]=arguments[Jt+2];ut.children=St}if(X&&X.defaultProps)for(Ze in lt=X.defaultProps,lt)ut[Ze]===void 0&&(ut[Ze]=lt[Ze]);return{$$typeof:i,type:X,key:rt,ref:Ct,props:ut,_owner:se.current}}function He(X,ie){return{$$typeof:i,type:X.type,key:ie,ref:X.ref,props:X.props,_owner:X._owner}}function We(X){return typeof X=="object"&&X!==null&&X.$$typeof===i}function nt(X){var ie={"=":"=0",":":"=2"};return"$"+X.replace(/[=:]/g,function(Fe){return ie[Fe]})}var Rt=/\/+/g;function Be(X,ie){return typeof X=="object"&&X!==null&&X.key!=null?nt(""+X.key):ie.toString(36)}function qe(X,ie,Fe,Ze,ut){var rt=typeof X;(rt==="undefined"||rt==="boolean")&&(X=null);var Ct=!1;if(X===null)Ct=!0;else switch(rt){case"string":case"number":Ct=!0;break;case"object":switch(X.$$typeof){case i:case r:Ct=!0}}if(Ct)return Ct=X,ut=ut(Ct),X=Ze===""?"."+Be(Ct,0):Ze,q(ut)?(Fe="",X!=null&&(Fe=X.replace(Rt,"$&/")+"/"),qe(ut,ie,Fe,"",function(Jt){return Jt})):ut!=null&&(We(ut)&&(ut=He(ut,Fe+(!ut.key||Ct&&Ct.key===ut.key?"":(""+ut.key).replace(Rt,"$&/")+"/")+X)),ie.push(ut)),1;if(Ct=0,Ze=Ze===""?".":Ze+":",q(X))for(var lt=0;lt<X.length;lt++){rt=X[lt];var St=Ze+Be(rt,lt);Ct+=qe(rt,ie,Fe,St,ut)}else if(St=M(X),typeof St=="function")for(X=St.call(X),lt=0;!(rt=X.next()).done;)rt=rt.value,St=Ze+Be(rt,lt++),Ct+=qe(rt,ie,Fe,St,ut);else if(rt==="object")throw ie=String(X),Error("Objects are not valid as a React child (found: "+(ie==="[object Object]"?"object with keys {"+Object.keys(X).join(", ")+"}":ie)+"). If you meant to render a collection of children, use an array instead.");return Ct}function Ve(X,ie,Fe){if(X==null)return X;var Ze=[],ut=0;return qe(X,Ze,"","",function(rt){return ie.call(Fe,rt,ut++)}),Ze}function ze(X){if(X._status===-1){var ie=X._result;ie=ie(),ie.then(function(Fe){(X._status===0||X._status===-1)&&(X._status=1,X._result=Fe)},function(Fe){(X._status===0||X._status===-1)&&(X._status=2,X._result=Fe)}),X._status===-1&&(X._status=0,X._result=ie)}if(X._status===1)return X._result.default;throw X._result}var Te={current:null},fe={transition:null},Ne={ReactCurrentDispatcher:Te,ReactCurrentBatchConfig:fe,ReactCurrentOwner:se};function xe(){throw Error("act(...) is not supported in production builds of React.")}return Ft.Children={map:Ve,forEach:function(X,ie,Fe){Ve(X,function(){ie.apply(this,arguments)},Fe)},count:function(X){var ie=0;return Ve(X,function(){ie++}),ie},toArray:function(X){return Ve(X,function(ie){return ie})||[]},only:function(X){if(!We(X))throw Error("React.Children.only expected to receive a single React element child.");return X}},Ft.Component=_,Ft.Fragment=u,Ft.Profiler=d,Ft.PureComponent=Z,Ft.StrictMode=c,Ft.Suspense=b,Ft.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ne,Ft.act=xe,Ft.cloneElement=function(X,ie,Fe){if(X==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+X+".");var Ze=F({},X.props),ut=X.key,rt=X.ref,Ct=X._owner;if(ie!=null){if(ie.ref!==void 0&&(rt=ie.ref,Ct=se.current),ie.key!==void 0&&(ut=""+ie.key),X.type&&X.type.defaultProps)var lt=X.type.defaultProps;for(St in ie)H.call(ie,St)&&!le.hasOwnProperty(St)&&(Ze[St]=ie[St]===void 0&&lt!==void 0?lt[St]:ie[St])}var St=arguments.length-2;if(St===1)Ze.children=Fe;else if(1<St){lt=Array(St);for(var Jt=0;Jt<St;Jt++)lt[Jt]=arguments[Jt+2];Ze.children=lt}return{$$typeof:i,type:X.type,key:ut,ref:rt,props:Ze,_owner:Ct}},Ft.createContext=function(X){return X={$$typeof:h,_currentValue:X,_currentValue2:X,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},X.Provider={$$typeof:m,_context:X},X.Consumer=X},Ft.createElement=de,Ft.createFactory=function(X){var ie=de.bind(null,X);return ie.type=X,ie},Ft.createRef=function(){return{current:null}},Ft.forwardRef=function(X){return{$$typeof:S,render:X}},Ft.isValidElement=We,Ft.lazy=function(X){return{$$typeof:T,_payload:{_status:-1,_result:X},_init:ze}},Ft.memo=function(X,ie){return{$$typeof:x,type:X,compare:ie===void 0?null:ie}},Ft.startTransition=function(X){var ie=fe.transition;fe.transition={};try{X()}finally{fe.transition=ie}},Ft.unstable_act=xe,Ft.useCallback=function(X,ie){return Te.current.useCallback(X,ie)},Ft.useContext=function(X){return Te.current.useContext(X)},Ft.useDebugValue=function(){},Ft.useDeferredValue=function(X){return Te.current.useDeferredValue(X)},Ft.useEffect=function(X,ie){return Te.current.useEffect(X,ie)},Ft.useId=function(){return Te.current.useId()},Ft.useImperativeHandle=function(X,ie,Fe){return Te.current.useImperativeHandle(X,ie,Fe)},Ft.useInsertionEffect=function(X,ie){return Te.current.useInsertionEffect(X,ie)},Ft.useLayoutEffect=function(X,ie){return Te.current.useLayoutEffect(X,ie)},Ft.useMemo=function(X,ie){return Te.current.useMemo(X,ie)},Ft.useReducer=function(X,ie,Fe){return Te.current.useReducer(X,ie,Fe)},Ft.useRef=function(X){return Te.current.useRef(X)},Ft.useState=function(X){return Te.current.useState(X)},Ft.useSyncExternalStore=function(X,ie,Fe){return Te.current.useSyncExternalStore(X,ie,Fe)},Ft.useTransition=function(){return Te.current.useTransition()},Ft.version="18.3.1",Ft}var pp={exports:{}};/**
10
- * @license React
11
- * react.development.js
12
- *
13
- * Copyright (c) Facebook, Inc. and its affiliates.
14
- *
15
- * This source code is licensed under the MIT license found in the
16
- * LICENSE file in the root directory of this source tree.
17
- */pp.exports;var Dx;function HD(){return Dx||(Dx=1,function(i,r){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var u="18.3.1",c=Symbol.for("react.element"),d=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),b=Symbol.for("react.provider"),x=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),M=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),F=Symbol.for("react.lazy"),V=Symbol.for("react.offscreen"),_=Symbol.iterator,j="@@iterator";function Z(A){if(A===null||typeof A!="object")return null;var N=_&&A[_]||A[j];return typeof N=="function"?N:null}var z={current:null},q={transition:null},H={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},se={current:null},le={},de=null;function He(A){de=A}le.setExtraStackFrame=function(A){de=A},le.getCurrentStack=null,le.getStackAddendum=function(){var A="";de&&(A+=de);var N=le.getCurrentStack;return N&&(A+=N()||""),A};var We=!1,nt=!1,Rt=!1,Be=!1,qe=!1,Ve={ReactCurrentDispatcher:z,ReactCurrentBatchConfig:q,ReactCurrentOwner:se};Ve.ReactDebugCurrentFrame=le,Ve.ReactCurrentActQueue=H;function ze(A){{for(var N=arguments.length,te=new Array(N>1?N-1:0),ae=1;ae<N;ae++)te[ae-1]=arguments[ae];fe("warn",A,te)}}function Te(A){{for(var N=arguments.length,te=new Array(N>1?N-1:0),ae=1;ae<N;ae++)te[ae-1]=arguments[ae];fe("error",A,te)}}function fe(A,N,te){{var ae=Ve.ReactDebugCurrentFrame,Ce=ae.getStackAddendum();Ce!==""&&(N+="%s",te=te.concat([Ce]));var ct=te.map(function(Ie){return String(Ie)});ct.unshift("Warning: "+N),Function.prototype.apply.call(console[A],console,ct)}}var Ne={};function xe(A,N){{var te=A.constructor,ae=te&&(te.displayName||te.name)||"ReactClass",Ce=ae+"."+N;if(Ne[Ce])return;Te("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.",N,ae),Ne[Ce]=!0}}var X={isMounted:function(A){return!1},enqueueForceUpdate:function(A,N,te){xe(A,"forceUpdate")},enqueueReplaceState:function(A,N,te,ae){xe(A,"replaceState")},enqueueSetState:function(A,N,te,ae){xe(A,"setState")}},ie=Object.assign,Fe={};Object.freeze(Fe);function Ze(A,N,te){this.props=A,this.context=N,this.refs=Fe,this.updater=te||X}Ze.prototype.isReactComponent={},Ze.prototype.setState=function(A,N){if(typeof A!="object"&&typeof A!="function"&&A!=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,A,N,"setState")},Ze.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};{var ut={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)."]},rt=function(A,N){Object.defineProperty(Ze.prototype,A,{get:function(){ze("%s(...) is deprecated in plain JavaScript React classes. %s",N[0],N[1])}})};for(var Ct in ut)ut.hasOwnProperty(Ct)&&rt(Ct,ut[Ct])}function lt(){}lt.prototype=Ze.prototype;function St(A,N,te){this.props=A,this.context=N,this.refs=Fe,this.updater=te||X}var Jt=St.prototype=new lt;Jt.constructor=St,ie(Jt,Ze.prototype),Jt.isPureReactComponent=!0;function Gn(){var A={current:null};return Object.seal(A),A}var Oe=Array.isArray;function on(A){return Oe(A)}function yn(A){{var N=typeof Symbol=="function"&&Symbol.toStringTag,te=N&&A[Symbol.toStringTag]||A.constructor.name||"Object";return te}}function wn(A){try{return Jn(A),!1}catch{return!0}}function Jn(A){return""+A}function jn(A){if(wn(A))return Te("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",yn(A)),Jn(A)}function ci(A,N,te){var ae=A.displayName;if(ae)return ae;var Ce=N.displayName||N.name||"";return Ce!==""?te+"("+Ce+")":te}function fi(A){return A.displayName||"Context"}function cr(A){if(A==null)return null;if(typeof A.tag=="number"&&Te("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof A=="function")return A.displayName||A.name||null;if(typeof A=="string")return A;switch(A){case m:return"Fragment";case d:return"Portal";case S:return"Profiler";case h:return"StrictMode";case w:return"Suspense";case M:return"SuspenseList"}if(typeof A=="object")switch(A.$$typeof){case x:var N=A;return fi(N)+".Consumer";case b:var te=A;return fi(te._context)+".Provider";case T:return ci(A,A.render,"ForwardRef");case k:var ae=A.displayName||null;return ae!==null?ae:cr(A.type)||"Memo";case F:{var Ce=A,ct=Ce._payload,Ie=Ce._init;try{return cr(Ie(ct))}catch{return null}}}return null}var Or=Object.prototype.hasOwnProperty,di={key:!0,ref:!0,__self:!0,__source:!0},kr,Li,br;br={};function pi(A){if(Or.call(A,"ref")){var N=Object.getOwnPropertyDescriptor(A,"ref").get;if(N&&N.isReactWarning)return!1}return A.ref!==void 0}function Mn(A){if(Or.call(A,"key")){var N=Object.getOwnPropertyDescriptor(A,"key").get;if(N&&N.isReactWarning)return!1}return A.key!==void 0}function Ur(A,N){var te=function(){kr||(kr=!0,Te("%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)",N))};te.isReactWarning=!0,Object.defineProperty(A,"key",{get:te,configurable:!0})}function Va(A,N){var te=function(){Li||(Li=!0,Te("%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)",N))};te.isReactWarning=!0,Object.defineProperty(A,"ref",{get:te,configurable:!0})}function Ni(A){if(typeof A.ref=="string"&&se.current&&A.__self&&se.current.stateNode!==A.__self){var N=cr(se.current.type);br[N]||(Te('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',N,A.ref),br[N]=!0)}}var Re=function(A,N,te,ae,Ce,ct,Ie){var ot={$$typeof:c,type:A,key:N,ref:te,props:Ie,_owner:ct};return ot._store={},Object.defineProperty(ot._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ot,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ae}),Object.defineProperty(ot,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Ce}),Object.freeze&&(Object.freeze(ot.props),Object.freeze(ot)),ot};function et(A,N,te){var ae,Ce={},ct=null,Ie=null,ot=null,Ot=null;if(N!=null){pi(N)&&(Ie=N.ref,Ni(N)),Mn(N)&&(jn(N.key),ct=""+N.key),ot=N.__self===void 0?null:N.__self,Ot=N.__source===void 0?null:N.__source;for(ae in N)Or.call(N,ae)&&!di.hasOwnProperty(ae)&&(Ce[ae]=N[ae])}var Gt=arguments.length-2;if(Gt===1)Ce.children=te;else if(Gt>1){for(var vn=Array(Gt),ln=0;ln<Gt;ln++)vn[ln]=arguments[ln+2];Object.freeze&&Object.freeze(vn),Ce.children=vn}if(A&&A.defaultProps){var mn=A.defaultProps;for(ae in mn)Ce[ae]===void 0&&(Ce[ae]=mn[ae])}if(ct||Ie){var bn=typeof A=="function"?A.displayName||A.name||"Unknown":A;ct&&Ur(Ce,bn),Ie&&Va(Ce,bn)}return Re(A,ct,Ie,ot,Ot,se.current,Ce)}function It(A,N){var te=Re(A.type,N,A.ref,A._self,A._source,A._owner,A.props);return te}function Yt(A,N,te){if(A==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+A+".");var ae,Ce=ie({},A.props),ct=A.key,Ie=A.ref,ot=A._self,Ot=A._source,Gt=A._owner;if(N!=null){pi(N)&&(Ie=N.ref,Gt=se.current),Mn(N)&&(jn(N.key),ct=""+N.key);var vn;A.type&&A.type.defaultProps&&(vn=A.type.defaultProps);for(ae in N)Or.call(N,ae)&&!di.hasOwnProperty(ae)&&(N[ae]===void 0&&vn!==void 0?Ce[ae]=vn[ae]:Ce[ae]=N[ae])}var ln=arguments.length-2;if(ln===1)Ce.children=te;else if(ln>1){for(var mn=Array(ln),bn=0;bn<ln;bn++)mn[bn]=arguments[bn+2];Ce.children=mn}return Re(A.type,ct,Ie,ot,Ot,Gt,Ce)}function Qt(A){return typeof A=="object"&&A!==null&&A.$$typeof===c}var Un=".",On=":";function Lr(A){var N=/[=:]/g,te={"=":"=0",":":"=2"},ae=A.replace(N,function(Ce){return te[Ce]});return"$"+ae}var un=!1,Wr=/\/+/g;function Kt(A){return A.replace(Wr,"$&/")}function qt(A,N){return typeof A=="object"&&A!==null&&A.key!=null?(jn(A.key),Lr(""+A.key)):N.toString(36)}function Ea(A,N,te,ae,Ce){var ct=typeof A;(ct==="undefined"||ct==="boolean")&&(A=null);var Ie=!1;if(A===null)Ie=!0;else switch(ct){case"string":case"number":Ie=!0;break;case"object":switch(A.$$typeof){case c:case d:Ie=!0}}if(Ie){var ot=A,Ot=Ce(ot),Gt=ae===""?Un+qt(ot,0):ae;if(on(Ot)){var vn="";Gt!=null&&(vn=Kt(Gt)+"/"),Ea(Ot,N,vn,"",function(zp){return zp})}else Ot!=null&&(Qt(Ot)&&(Ot.key&&(!ot||ot.key!==Ot.key)&&jn(Ot.key),Ot=It(Ot,te+(Ot.key&&(!ot||ot.key!==Ot.key)?Kt(""+Ot.key)+"/":"")+Gt)),N.push(Ot));return 1}var ln,mn,bn=0,Bt=ae===""?Un:ae+On;if(on(A))for(var fo=0;fo<A.length;fo++)ln=A[fo],mn=Bt+qt(ln,fo),bn+=Ea(ln,N,te,mn,Ce);else{var Ul=Z(A);if(typeof Ul=="function"){var rc=A;Ul===rc.entries&&(un||ze("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),un=!0);for(var Bp=Ul.call(rc),Aa,ic=0;!(Aa=Bp.next()).done;)ln=Aa.value,mn=Bt+qt(ln,ic++),bn+=Ea(ln,N,te,mn,Ce)}else if(ct==="object"){var ac=String(A);throw new Error("Objects are not valid as a React child (found: "+(ac==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":ac)+"). If you meant to render a collection of children, use an array instead.")}}return bn}function Ki(A,N,te){if(A==null)return A;var ae=[],Ce=0;return Ea(A,ae,"","",function(ct){return N.call(te,ct,Ce++)}),ae}function Uo(A){var N=0;return Ki(A,function(){N++}),N}function _u(A,N,te){Ki(A,function(){N.apply(this,arguments)},te)}function Ll(A){return Ki(A,function(N){return N})||[]}function uo(A){if(!Qt(A))throw new Error("React.Children.only expected to receive a single React element child.");return A}function Wo(A){var N={$$typeof:x,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};N.Provider={$$typeof:b,_context:N};var te=!1,ae=!1,Ce=!1;{var ct={$$typeof:x,_context:N};Object.defineProperties(ct,{Provider:{get:function(){return ae||(ae=!0,Te("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),N.Provider},set:function(Ie){N.Provider=Ie}},_currentValue:{get:function(){return N._currentValue},set:function(Ie){N._currentValue=Ie}},_currentValue2:{get:function(){return N._currentValue2},set:function(Ie){N._currentValue2=Ie}},_threadCount:{get:function(){return N._threadCount},set:function(Ie){N._threadCount=Ie}},Consumer:{get:function(){return te||(te=!0,Te("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),N.Consumer}},displayName:{get:function(){return N.displayName},set:function(Ie){Ce||(ze("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",Ie),Ce=!0)}}}),N.Consumer=ct}return N._currentRenderer=null,N._currentRenderer2=null,N}var Pi=-1,_a=0,Fi=1,Ta=2;function Xr(A){if(A._status===Pi){var N=A._result,te=N();if(te.then(function(ct){if(A._status===_a||A._status===Pi){var Ie=A;Ie._status=Fi,Ie._result=ct}},function(ct){if(A._status===_a||A._status===Pi){var Ie=A;Ie._status=Ta,Ie._result=ct}}),A._status===Pi){var ae=A;ae._status=_a,ae._result=te}}if(A._status===Fi){var Ce=A._result;return Ce===void 0&&Te(`lazy: Expected the result of a dynamic import() call. Instead received: %s
18
-
19
- Your code should look like:
20
- const MyComponent = lazy(() => import('./MyComponent'))
21
-
22
- Did you accidentally put curly braces around the import?`,Ce),"default"in Ce||Te(`lazy: Expected the result of a dynamic import() call. Instead received: %s
23
-
24
- Your code should look like:
25
- const MyComponent = lazy(() => import('./MyComponent'))`,Ce),Ce.default}else throw A._result}function Vi(A){var N={_status:Pi,_result:A},te={$$typeof:F,_payload:N,_init:Xr};{var ae,Ce;Object.defineProperties(te,{defaultProps:{configurable:!0,get:function(){return ae},set:function(ct){Te("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."),ae=ct,Object.defineProperty(te,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return Ce},set:function(ct){Te("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."),Ce=ct,Object.defineProperty(te,"propTypes",{enumerable:!0})}}})}return te}function Ba(A){A!=null&&A.$$typeof===k?Te("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof A!="function"?Te("forwardRef requires a render function but was given %s.",A===null?"null":typeof A):A.length!==0&&A.length!==2&&Te("forwardRef render functions accept exactly two parameters: props and ref. %s",A.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),A!=null&&(A.defaultProps!=null||A.propTypes!=null)&&Te("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var N={$$typeof:T,render:A};{var te;Object.defineProperty(N,"displayName",{enumerable:!1,configurable:!0,get:function(){return te},set:function(ae){te=ae,!A.name&&!A.displayName&&(A.displayName=ae)}})}return N}var za;za=Symbol.for("react.module.reference");function P(A){return!!(typeof A=="string"||typeof A=="function"||A===m||A===S||qe||A===h||A===w||A===M||Be||A===V||We||nt||Rt||typeof A=="object"&&A!==null&&(A.$$typeof===F||A.$$typeof===k||A.$$typeof===b||A.$$typeof===x||A.$$typeof===T||A.$$typeof===za||A.getModuleId!==void 0))}function ve(A,N){P(A)||Te("memo: The first argument must be a component. Instead received: %s",A===null?"null":typeof A);var te={$$typeof:k,type:A,compare:N===void 0?null:N};{var ae;Object.defineProperty(te,"displayName",{enumerable:!1,configurable:!0,get:function(){return ae},set:function(Ce){ae=Ce,!A.name&&!A.displayName&&(A.displayName=Ce)}})}return te}function be(){var A=z.current;return A===null&&Te(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
26
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
27
- 2. You might be breaking the Rules of Hooks
28
- 3. You might have more than one copy of React in the same app
29
- See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),A}function Je(A){var N=be();if(A._context!==void 0){var te=A._context;te.Consumer===A?Te("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?"):te.Provider===A&&Te("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return N.useContext(A)}function Lt(A){var N=be();return N.useState(A)}function Vt(A,N,te){var ae=be();return ae.useReducer(A,N,te)}function st(A){var N=be();return N.useRef(A)}function Dt(A,N){var te=be();return te.useEffect(A,N)}function Qn(A,N){var te=be();return te.useInsertionEffect(A,N)}function hn(A,N){var te=be();return te.useLayoutEffect(A,N)}function Sn(A,N){var te=be();return te.useCallback(A,N)}function Nr(A,N){var te=be();return te.useMemo(A,N)}function Ha(A,N,te){var ae=be();return ae.useImperativeHandle(A,N,te)}function jt(A,N){{var te=be();return te.useDebugValue(A,N)}}function fr(){var A=be();return A.useTransition()}function Zr(A){var N=be();return N.useDeferredValue(A)}function Mt(){var A=be();return A.useId()}function qi(A,N,te){var ae=be();return ae.useSyncExternalStore(A,N,te)}var Xo=0,Nl,Zo,hi,qs,Yr,ec,tc;function Sf(){}Sf.__reactDisabledLog=!0;function Pl(){{if(Xo===0){Nl=console.log,Zo=console.info,hi=console.warn,qs=console.error,Yr=console.group,ec=console.groupCollapsed,tc=console.groupEnd;var A={configurable:!0,enumerable:!0,value:Sf,writable:!0};Object.defineProperties(console,{info:A,log:A,warn:A,error:A,group:A,groupCollapsed:A,groupEnd:A})}Xo++}}function Yo(){{if(Xo--,Xo===0){var A={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ie({},A,{value:Nl}),info:ie({},A,{value:Zo}),warn:ie({},A,{value:hi}),error:ie({},A,{value:qs}),group:ie({},A,{value:Yr}),groupCollapsed:ie({},A,{value:ec}),groupEnd:ie({},A,{value:tc})})}Xo<0&&Te("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ra=Ve.ReactCurrentDispatcher,$r;function $o(A,N,te){{if($r===void 0)try{throw Error()}catch(Ce){var ae=Ce.stack.trim().match(/\n( *(at )?)/);$r=ae&&ae[1]||""}return`
30
- `+$r+A}}var Jo=!1,Qo;{var Fl=typeof WeakMap=="function"?WeakMap:Map;Qo=new Fl}function Vl(A,N){if(!A||Jo)return"";{var te=Qo.get(A);if(te!==void 0)return te}var ae;Jo=!0;var Ce=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ct;ct=Ra.current,Ra.current=null,Pl();try{if(N){var Ie=function(){throw Error()};if(Object.defineProperty(Ie.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ie,[])}catch(Bt){ae=Bt}Reflect.construct(A,[],Ie)}else{try{Ie.call()}catch(Bt){ae=Bt}A.call(Ie.prototype)}}else{try{throw Error()}catch(Bt){ae=Bt}A()}}catch(Bt){if(Bt&&ae&&typeof Bt.stack=="string"){for(var ot=Bt.stack.split(`
31
- `),Ot=ae.stack.split(`
32
- `),Gt=ot.length-1,vn=Ot.length-1;Gt>=1&&vn>=0&&ot[Gt]!==Ot[vn];)vn--;for(;Gt>=1&&vn>=0;Gt--,vn--)if(ot[Gt]!==Ot[vn]){if(Gt!==1||vn!==1)do if(Gt--,vn--,vn<0||ot[Gt]!==Ot[vn]){var ln=`
33
- `+ot[Gt].replace(" at new "," at ");return A.displayName&&ln.includes("<anonymous>")&&(ln=ln.replace("<anonymous>",A.displayName)),typeof A=="function"&&Qo.set(A,ln),ln}while(Gt>=1&&vn>=0);break}}}finally{Jo=!1,Ra.current=ct,Yo(),Error.prepareStackTrace=Ce}var mn=A?A.displayName||A.name:"",bn=mn?$o(mn):"";return typeof A=="function"&&Qo.set(A,bn),bn}function lo(A,N,te){return Vl(A,!1)}function _p(A){var N=A.prototype;return!!(N&&N.isReactComponent)}function Ga(A,N,te){if(A==null)return"";if(typeof A=="function")return Vl(A,_p(A));if(typeof A=="string")return $o(A);switch(A){case w:return $o("Suspense");case M:return $o("SuspenseList")}if(typeof A=="object")switch(A.$$typeof){case T:return lo(A.render);case k:return Ga(A.type,N,te);case F:{var ae=A,Ce=ae._payload,ct=ae._init;try{return Ga(ct(Ce),N,te)}catch{}}}return""}var Ut={},_l=Ve.ReactDebugCurrentFrame;function Bu(A){if(A){var N=A._owner,te=Ga(A.type,A._source,N?N.type:null);_l.setExtraStackFrame(te)}else _l.setExtraStackFrame(null)}function Bl(A,N,te,ae,Ce){{var ct=Function.call.bind(Or);for(var Ie in A)if(ct(A,Ie)){var ot=void 0;try{if(typeof A[Ie]!="function"){var Ot=Error((ae||"React class")+": "+te+" type `"+Ie+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof A[Ie]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ot.name="Invariant Violation",Ot}ot=A[Ie](N,Ie,ae,te,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Gt){ot=Gt}ot&&!(ot instanceof Error)&&(Bu(Ce),Te("%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).",ae||"React class",te,Ie,typeof ot),Bu(null)),ot instanceof Error&&!(ot.message in Ut)&&(Ut[ot.message]=!0,Bu(Ce),Te("Failed %s type: %s",te,ot.message),Bu(null))}}}function _t(A){if(A){var N=A._owner,te=Ga(A.type,A._source,N?N.type:null);He(te)}else He(null)}var zl;zl=!1;function Hl(){if(se.current){var A=cr(se.current.type);if(A)return`
34
-
35
- Check the render method of \``+A+"`."}return""}function xt(A){if(A!==void 0){var N=A.fileName.replace(/^.*[\\\/]/,""),te=A.lineNumber;return`
36
-
37
- Check your code at `+N+":"+te+"."}return""}function zu(A){return A!=null?xt(A.__source):""}var kn={};function vi(A){var N=Hl();if(!N){var te=typeof A=="string"?A:A.displayName||A.name;te&&(N=`
38
-
39
- Check the top-level render call using <`+te+">.")}return N}function Jr(A,N){if(!(!A._store||A._store.validated||A.key!=null)){A._store.validated=!0;var te=vi(N);if(!kn[te]){kn[te]=!0;var ae="";A&&A._owner&&A._owner!==se.current&&(ae=" It was passed a child from "+cr(A._owner.type)+"."),_t(A),Te('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',te,ae),_t(null)}}}function Ko(A,N){if(typeof A=="object"){if(on(A))for(var te=0;te<A.length;te++){var ae=A[te];Qt(ae)&&Jr(ae,N)}else if(Qt(A))A._store&&(A._store.validated=!0);else if(A){var Ce=Z(A);if(typeof Ce=="function"&&Ce!==A.entries)for(var ct=Ce.call(A),Ie;!(Ie=ct.next()).done;)Qt(Ie.value)&&Jr(Ie.value,N)}}}function Fn(A){{var N=A.type;if(N==null||typeof N=="string")return;var te;if(typeof N=="function")te=N.propTypes;else if(typeof N=="object"&&(N.$$typeof===T||N.$$typeof===k))te=N.propTypes;else return;if(te){var ae=cr(N);Bl(te,A.props,"prop",ae,A)}else if(N.PropTypes!==void 0&&!zl){zl=!0;var Ce=cr(N);Te("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Ce||"Unknown")}typeof N.getDefaultProps=="function"&&!N.getDefaultProps.isReactClassApproved&&Te("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function en(A){{for(var N=Object.keys(A.props),te=0;te<N.length;te++){var ae=N[te];if(ae!=="children"&&ae!=="key"){_t(A),Te("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ae),_t(null);break}}A.ref!==null&&(_t(A),Te("Invalid attribute `ref` supplied to `React.Fragment`."),_t(null))}}function xf(A,N,te){var ae=P(A);if(!ae){var Ce="";(A===void 0||typeof A=="object"&&A!==null&&Object.keys(A).length===0)&&(Ce+=" 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 ct=zu(N);ct?Ce+=ct:Ce+=Hl();var Ie;A===null?Ie="null":on(A)?Ie="array":A!==void 0&&A.$$typeof===c?(Ie="<"+(cr(A.type)||"Unknown")+" />",Ce=" Did you accidentally export a JSX literal instead of a component?"):Ie=typeof A,Te("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Ie,Ce)}var ot=et.apply(this,arguments);if(ot==null)return ot;if(ae)for(var Ot=2;Ot<arguments.length;Ot++)Ko(arguments[Ot],A);return A===m?en(ot):Fn(ot),ot}var mi=!1;function dr(A){var N=xf.bind(null,A);return N.type=A,mi||(mi=!0,ze("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(N,"type",{enumerable:!1,get:function(){return ze("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:A}),A}}),N}function ja(A,N,te){for(var ae=Yt.apply(this,arguments),Ce=2;Ce<arguments.length;Ce++)Ko(arguments[Ce],ae.type);return Fn(ae),ae}function Ef(A,N){var te=q.transition;q.transition={};var ae=q.transition;q.transition._updatedFibers=new Set;try{A()}finally{if(q.transition=te,te===null&&ae._updatedFibers){var Ce=ae._updatedFibers.size;Ce>10&&ze("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."),ae._updatedFibers.clear()}}}var so=!1,qo=null;function Tf(A){if(qo===null)try{var N=("require"+Math.random()).slice(0,7),te=i&&i[N];qo=te.call(i,"timers").setImmediate}catch{qo=function(Ce){so===!1&&(so=!0,typeof MessageChannel>"u"&&Te("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 ct=new MessageChannel;ct.port1.onmessage=Ce,ct.port2.postMessage(void 0)}}return qo(A)}var ea=0,eu=!1;function co(A){{var N=ea;ea++,H.current===null&&(H.current=[]);var te=H.isBatchingLegacy,ae;try{if(H.isBatchingLegacy=!0,ae=A(),!te&&H.didScheduleLegacyUpdate){var Ce=H.current;Ce!==null&&(H.didScheduleLegacyUpdate=!1,nu(Ce))}}catch(mn){throw ta(N),mn}finally{H.isBatchingLegacy=te}if(ae!==null&&typeof ae=="object"&&typeof ae.then=="function"){var ct=ae,Ie=!1,ot={then:function(mn,bn){Ie=!0,ct.then(function(Bt){ta(N),ea===0?Gl(Bt,mn,bn):mn(Bt)},function(Bt){ta(N),bn(Bt)})}};return!eu&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){Ie||(eu=!0,Te("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 () => ...);"))}),ot}else{var Ot=ae;if(ta(N),ea===0){var Gt=H.current;Gt!==null&&(nu(Gt),H.current=null);var vn={then:function(mn,bn){H.current===null?(H.current=[],Gl(Ot,mn,bn)):mn(Ot)}};return vn}else{var ln={then:function(mn,bn){mn(Ot)}};return ln}}}}function ta(A){A!==ea-1&&Te("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),ea=A}function Gl(A,N,te){{var ae=H.current;if(ae!==null)try{nu(ae),Tf(function(){ae.length===0?(H.current=null,N(A)):Gl(A,N,te)})}catch(Ce){te(Ce)}else N(A)}}var tu=!1;function nu(A){if(!tu){tu=!0;var N=0;try{for(;N<A.length;N++){var te=A[N];do te=te(!0);while(te!==null)}A.length=0}catch(ae){throw A=A.slice(N+1),ae}finally{tu=!1}}}var Hu=xf,jl=ja,nc=dr,wa={map:Ki,forEach:_u,count:Uo,toArray:Ll,only:uo};r.Children=wa,r.Component=Ze,r.Fragment=m,r.Profiler=S,r.PureComponent=St,r.StrictMode=h,r.Suspense=w,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ve,r.act=co,r.cloneElement=jl,r.createContext=Wo,r.createElement=Hu,r.createFactory=nc,r.createRef=Gn,r.forwardRef=Ba,r.isValidElement=Qt,r.lazy=Vi,r.memo=ve,r.startTransition=Ef,r.unstable_act=co,r.useCallback=Sn,r.useContext=Je,r.useDebugValue=jt,r.useDeferredValue=Zr,r.useEffect=Dt,r.useId=Mt,r.useImperativeHandle=Ha,r.useInsertionEffect=Qn,r.useLayoutEffect=hn,r.useMemo=Nr,r.useReducer=Vt,r.useRef=st,r.useState=Lt,r.useSyncExternalStore=qi,r.useTransition=fr,r.version=u,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(pp,pp.exports)),pp.exports}process.env.NODE_ENV==="production"?T0.exports=zD():T0.exports=HD();var Y=T0.exports;const Tl=x0(Y),Mx=fp({__proto__:null,default:Tl},[Y]);/**
40
- * @license React
41
- * react-jsx-runtime.production.min.js
42
- *
43
- * Copyright (c) Facebook, Inc. and its affiliates.
44
- *
45
- * This source code is licensed under the MIT license found in the
46
- * LICENSE file in the root directory of this source tree.
47
- */var Ox;function GD(){if(Ox)return dp;Ox=1;var i=Y,r=Symbol.for("react.element"),u=Symbol.for("react.fragment"),c=Object.prototype.hasOwnProperty,d=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,m={key:!0,ref:!0,__self:!0,__source:!0};function h(S,b,x){var T,w={},M=null,k=null;x!==void 0&&(M=""+x),b.key!==void 0&&(M=""+b.key),b.ref!==void 0&&(k=b.ref);for(T in b)c.call(b,T)&&!m.hasOwnProperty(T)&&(w[T]=b[T]);if(S&&S.defaultProps)for(T in b=S.defaultProps,b)w[T]===void 0&&(w[T]=b[T]);return{$$typeof:r,type:S,key:M,ref:k,props:w,_owner:d.current}}return dp.Fragment=u,dp.jsx=h,dp.jsxs=h,dp}var hp={};/**
48
- * @license React
49
- * react-jsx-runtime.development.js
50
- *
51
- * Copyright (c) Facebook, Inc. and its affiliates.
52
- *
53
- * This source code is licensed under the MIT license found in the
54
- * LICENSE file in the root directory of this source tree.
55
- */var kx;function jD(){return kx||(kx=1,process.env.NODE_ENV!=="production"&&function(){var i=Y,r=Symbol.for("react.element"),u=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),h=Symbol.for("react.provider"),S=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),M=Symbol.for("react.lazy"),k=Symbol.for("react.offscreen"),F=Symbol.iterator,V="@@iterator";function _(P){if(P===null||typeof P!="object")return null;var ve=F&&P[F]||P[V];return typeof ve=="function"?ve:null}var j=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Z(P){{for(var ve=arguments.length,be=new Array(ve>1?ve-1:0),Je=1;Je<ve;Je++)be[Je-1]=arguments[Je];z("error",P,be)}}function z(P,ve,be){{var Je=j.ReactDebugCurrentFrame,Lt=Je.getStackAddendum();Lt!==""&&(ve+="%s",be=be.concat([Lt]));var Vt=be.map(function(st){return String(st)});Vt.unshift("Warning: "+ve),Function.prototype.apply.call(console[P],console,Vt)}}var q=!1,H=!1,se=!1,le=!1,de=!1,He;He=Symbol.for("react.module.reference");function We(P){return!!(typeof P=="string"||typeof P=="function"||P===c||P===m||de||P===d||P===x||P===T||le||P===k||q||H||se||typeof P=="object"&&P!==null&&(P.$$typeof===M||P.$$typeof===w||P.$$typeof===h||P.$$typeof===S||P.$$typeof===b||P.$$typeof===He||P.getModuleId!==void 0))}function nt(P,ve,be){var Je=P.displayName;if(Je)return Je;var Lt=ve.displayName||ve.name||"";return Lt!==""?be+"("+Lt+")":be}function Rt(P){return P.displayName||"Context"}function Be(P){if(P==null)return null;if(typeof P.tag=="number"&&Z("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof P=="function")return P.displayName||P.name||null;if(typeof P=="string")return P;switch(P){case c:return"Fragment";case u:return"Portal";case m:return"Profiler";case d:return"StrictMode";case x:return"Suspense";case T:return"SuspenseList"}if(typeof P=="object")switch(P.$$typeof){case S:var ve=P;return Rt(ve)+".Consumer";case h:var be=P;return Rt(be._context)+".Provider";case b:return nt(P,P.render,"ForwardRef");case w:var Je=P.displayName||null;return Je!==null?Je:Be(P.type)||"Memo";case M:{var Lt=P,Vt=Lt._payload,st=Lt._init;try{return Be(st(Vt))}catch{return null}}}return null}var qe=Object.assign,Ve=0,ze,Te,fe,Ne,xe,X,ie;function Fe(){}Fe.__reactDisabledLog=!0;function Ze(){{if(Ve===0){ze=console.log,Te=console.info,fe=console.warn,Ne=console.error,xe=console.group,X=console.groupCollapsed,ie=console.groupEnd;var P={configurable:!0,enumerable:!0,value:Fe,writable:!0};Object.defineProperties(console,{info:P,log:P,warn:P,error:P,group:P,groupCollapsed:P,groupEnd:P})}Ve++}}function ut(){{if(Ve--,Ve===0){var P={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:qe({},P,{value:ze}),info:qe({},P,{value:Te}),warn:qe({},P,{value:fe}),error:qe({},P,{value:Ne}),group:qe({},P,{value:xe}),groupCollapsed:qe({},P,{value:X}),groupEnd:qe({},P,{value:ie})})}Ve<0&&Z("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var rt=j.ReactCurrentDispatcher,Ct;function lt(P,ve,be){{if(Ct===void 0)try{throw Error()}catch(Lt){var Je=Lt.stack.trim().match(/\n( *(at )?)/);Ct=Je&&Je[1]||""}return`
56
- `+Ct+P}}var St=!1,Jt;{var Gn=typeof WeakMap=="function"?WeakMap:Map;Jt=new Gn}function Oe(P,ve){if(!P||St)return"";{var be=Jt.get(P);if(be!==void 0)return be}var Je;St=!0;var Lt=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Vt;Vt=rt.current,rt.current=null,Ze();try{if(ve){var st=function(){throw Error()};if(Object.defineProperty(st.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(st,[])}catch(fr){Je=fr}Reflect.construct(P,[],st)}else{try{st.call()}catch(fr){Je=fr}P.call(st.prototype)}}else{try{throw Error()}catch(fr){Je=fr}P()}}catch(fr){if(fr&&Je&&typeof fr.stack=="string"){for(var Dt=fr.stack.split(`
57
- `),Qn=Je.stack.split(`
58
- `),hn=Dt.length-1,Sn=Qn.length-1;hn>=1&&Sn>=0&&Dt[hn]!==Qn[Sn];)Sn--;for(;hn>=1&&Sn>=0;hn--,Sn--)if(Dt[hn]!==Qn[Sn]){if(hn!==1||Sn!==1)do if(hn--,Sn--,Sn<0||Dt[hn]!==Qn[Sn]){var Nr=`
59
- `+Dt[hn].replace(" at new "," at ");return P.displayName&&Nr.includes("<anonymous>")&&(Nr=Nr.replace("<anonymous>",P.displayName)),typeof P=="function"&&Jt.set(P,Nr),Nr}while(hn>=1&&Sn>=0);break}}}finally{St=!1,rt.current=Vt,ut(),Error.prepareStackTrace=Lt}var Ha=P?P.displayName||P.name:"",jt=Ha?lt(Ha):"";return typeof P=="function"&&Jt.set(P,jt),jt}function on(P,ve,be){return Oe(P,!1)}function yn(P){var ve=P.prototype;return!!(ve&&ve.isReactComponent)}function wn(P,ve,be){if(P==null)return"";if(typeof P=="function")return Oe(P,yn(P));if(typeof P=="string")return lt(P);switch(P){case x:return lt("Suspense");case T:return lt("SuspenseList")}if(typeof P=="object")switch(P.$$typeof){case b:return on(P.render);case w:return wn(P.type,ve,be);case M:{var Je=P,Lt=Je._payload,Vt=Je._init;try{return wn(Vt(Lt),ve,be)}catch{}}}return""}var Jn=Object.prototype.hasOwnProperty,jn={},ci=j.ReactDebugCurrentFrame;function fi(P){if(P){var ve=P._owner,be=wn(P.type,P._source,ve?ve.type:null);ci.setExtraStackFrame(be)}else ci.setExtraStackFrame(null)}function cr(P,ve,be,Je,Lt){{var Vt=Function.call.bind(Jn);for(var st in P)if(Vt(P,st)){var Dt=void 0;try{if(typeof P[st]!="function"){var Qn=Error((Je||"React class")+": "+be+" type `"+st+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof P[st]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Qn.name="Invariant Violation",Qn}Dt=P[st](ve,st,Je,be,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(hn){Dt=hn}Dt&&!(Dt instanceof Error)&&(fi(Lt),Z("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Je||"React class",be,st,typeof Dt),fi(null)),Dt instanceof Error&&!(Dt.message in jn)&&(jn[Dt.message]=!0,fi(Lt),Z("Failed %s type: %s",be,Dt.message),fi(null))}}}var Or=Array.isArray;function di(P){return Or(P)}function kr(P){{var ve=typeof Symbol=="function"&&Symbol.toStringTag,be=ve&&P[Symbol.toStringTag]||P.constructor.name||"Object";return be}}function Li(P){try{return br(P),!1}catch{return!0}}function br(P){return""+P}function pi(P){if(Li(P))return Z("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",kr(P)),br(P)}var Mn=j.ReactCurrentOwner,Ur={key:!0,ref:!0,__self:!0,__source:!0},Va,Ni,Re;Re={};function et(P){if(Jn.call(P,"ref")){var ve=Object.getOwnPropertyDescriptor(P,"ref").get;if(ve&&ve.isReactWarning)return!1}return P.ref!==void 0}function It(P){if(Jn.call(P,"key")){var ve=Object.getOwnPropertyDescriptor(P,"key").get;if(ve&&ve.isReactWarning)return!1}return P.key!==void 0}function Yt(P,ve){if(typeof P.ref=="string"&&Mn.current&&ve&&Mn.current.stateNode!==ve){var be=Be(Mn.current.type);Re[be]||(Z('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',Be(Mn.current.type),P.ref),Re[be]=!0)}}function Qt(P,ve){{var be=function(){Va||(Va=!0,Z("%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)",ve))};be.isReactWarning=!0,Object.defineProperty(P,"key",{get:be,configurable:!0})}}function Un(P,ve){{var be=function(){Ni||(Ni=!0,Z("%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)",ve))};be.isReactWarning=!0,Object.defineProperty(P,"ref",{get:be,configurable:!0})}}var On=function(P,ve,be,Je,Lt,Vt,st){var Dt={$$typeof:r,type:P,key:ve,ref:be,props:st,_owner:Vt};return Dt._store={},Object.defineProperty(Dt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Dt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Je}),Object.defineProperty(Dt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Lt}),Object.freeze&&(Object.freeze(Dt.props),Object.freeze(Dt)),Dt};function Lr(P,ve,be,Je,Lt){{var Vt,st={},Dt=null,Qn=null;be!==void 0&&(pi(be),Dt=""+be),It(ve)&&(pi(ve.key),Dt=""+ve.key),et(ve)&&(Qn=ve.ref,Yt(ve,Lt));for(Vt in ve)Jn.call(ve,Vt)&&!Ur.hasOwnProperty(Vt)&&(st[Vt]=ve[Vt]);if(P&&P.defaultProps){var hn=P.defaultProps;for(Vt in hn)st[Vt]===void 0&&(st[Vt]=hn[Vt])}if(Dt||Qn){var Sn=typeof P=="function"?P.displayName||P.name||"Unknown":P;Dt&&Qt(st,Sn),Qn&&Un(st,Sn)}return On(P,Dt,Qn,Lt,Je,Mn.current,st)}}var un=j.ReactCurrentOwner,Wr=j.ReactDebugCurrentFrame;function Kt(P){if(P){var ve=P._owner,be=wn(P.type,P._source,ve?ve.type:null);Wr.setExtraStackFrame(be)}else Wr.setExtraStackFrame(null)}var qt;qt=!1;function Ea(P){return typeof P=="object"&&P!==null&&P.$$typeof===r}function Ki(){{if(un.current){var P=Be(un.current.type);if(P)return`
60
-
61
- Check the render method of \``+P+"`."}return""}}function Uo(P){return""}var _u={};function Ll(P){{var ve=Ki();if(!ve){var be=typeof P=="string"?P:P.displayName||P.name;be&&(ve=`
62
-
63
- Check the top-level render call using <`+be+">.")}return ve}}function uo(P,ve){{if(!P._store||P._store.validated||P.key!=null)return;P._store.validated=!0;var be=Ll(ve);if(_u[be])return;_u[be]=!0;var Je="";P&&P._owner&&P._owner!==un.current&&(Je=" It was passed a child from "+Be(P._owner.type)+"."),Kt(P),Z('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',be,Je),Kt(null)}}function Wo(P,ve){{if(typeof P!="object")return;if(di(P))for(var be=0;be<P.length;be++){var Je=P[be];Ea(Je)&&uo(Je,ve)}else if(Ea(P))P._store&&(P._store.validated=!0);else if(P){var Lt=_(P);if(typeof Lt=="function"&&Lt!==P.entries)for(var Vt=Lt.call(P),st;!(st=Vt.next()).done;)Ea(st.value)&&uo(st.value,ve)}}}function Pi(P){{var ve=P.type;if(ve==null||typeof ve=="string")return;var be;if(typeof ve=="function")be=ve.propTypes;else if(typeof ve=="object"&&(ve.$$typeof===b||ve.$$typeof===w))be=ve.propTypes;else return;if(be){var Je=Be(ve);cr(be,P.props,"prop",Je,P)}else if(ve.PropTypes!==void 0&&!qt){qt=!0;var Lt=Be(ve);Z("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Lt||"Unknown")}typeof ve.getDefaultProps=="function"&&!ve.getDefaultProps.isReactClassApproved&&Z("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function _a(P){{for(var ve=Object.keys(P.props),be=0;be<ve.length;be++){var Je=ve[be];if(Je!=="children"&&Je!=="key"){Kt(P),Z("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Je),Kt(null);break}}P.ref!==null&&(Kt(P),Z("Invalid attribute `ref` supplied to `React.Fragment`."),Kt(null))}}var Fi={};function Ta(P,ve,be,Je,Lt,Vt){{var st=We(P);if(!st){var Dt="";(P===void 0||typeof P=="object"&&P!==null&&Object.keys(P).length===0)&&(Dt+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Qn=Uo();Qn?Dt+=Qn:Dt+=Ki();var hn;P===null?hn="null":di(P)?hn="array":P!==void 0&&P.$$typeof===r?(hn="<"+(Be(P.type)||"Unknown")+" />",Dt=" Did you accidentally export a JSX literal instead of a component?"):hn=typeof P,Z("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",hn,Dt)}var Sn=Lr(P,ve,be,Lt,Vt);if(Sn==null)return Sn;if(st){var Nr=ve.children;if(Nr!==void 0)if(Je)if(di(Nr)){for(var Ha=0;Ha<Nr.length;Ha++)Wo(Nr[Ha],P);Object.freeze&&Object.freeze(Nr)}else Z("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 Wo(Nr,P)}if(Jn.call(ve,"key")){var jt=Be(P),fr=Object.keys(ve).filter(function(qi){return qi!=="key"}),Zr=fr.length>0?"{key: someKey, "+fr.join(": ..., ")+": ...}":"{key: someKey}";if(!Fi[jt+Zr]){var Mt=fr.length>0?"{"+fr.join(": ..., ")+": ...}":"{}";Z(`A props object containing a "key" prop is being spread into JSX:
64
- let props = %s;
65
- <%s {...props} />
66
- React keys must be passed directly to JSX without using spread:
67
- let props = %s;
68
- <%s key={someKey} {...props} />`,Zr,jt,Mt,jt),Fi[jt+Zr]=!0}}return P===c?_a(Sn):Pi(Sn),Sn}}function Xr(P,ve,be){return Ta(P,ve,be,!0)}function Vi(P,ve,be){return Ta(P,ve,be,!1)}var Ba=Vi,za=Xr;hp.Fragment=c,hp.jsx=Ba,hp.jsxs=za}()),hp}process.env.NODE_ENV==="production"?E0.exports=GD():E0.exports=jD();var Ee=E0.exports;const Lx=Y.createContext({}),Nx=(i,r)=>{switch(r.type){case"ADD_TOAST":return{...i,toasts:[r.payload,...i.toasts]};case"DELETE_TOAST":return{...i,toasts:i.toasts.filter(u=>u.id!==r.payload.id)};default:console.error(`Biznext-UI-Toast: Unhandled action type: ${r.type}`)}},Px=()=>Y.useContext(Lx),Bo={"toasts-container":"biznext-ui-Voj91bwiOQ0-5","top-left":"biznext-ui-r8K3Yfg1a0k-a","top-center":"biznext-ui-hLBI-yY3XZg-8","top-right":"biznext-ui-McMmb-sS6LE-3","bottom-left":"biznext-ui-lX4jcK0Szv4-9","bottom-center":"biznext-ui-Ee7khmzQluU-1","bottom-right":"biznext-ui-8KE-IEqqaMQ-f",toast:"biznext-ui-HNUcjKVTeyM-1",fadein:"biznext-ui-HDMPjvBSEyg-1","toast-icon":"biznext-ui--tFdGazkGSA-f","toast-content":"biznext-ui-ymhtH9nUp6I-c","toast-title":"biznext-ui-KpFZjCXKdcg-2","toast-close":"biznext-ui-BzxmwExZEIc-0","toast-close-btn":"biznext-ui-2vYXLFQRSLY-d","toast-close-btn-icon":"biznext-ui-fnjPMKE33W8-7",success:"biznext-ui-gWJh5oSUaH4-8",info:"biznext-ui-KprtriQR6do-2",warning:"biznext-ui-u0IYuYPu1og-b",error:"biznext-ui-DMi33WPhK2I-0"};var Fx={exports:{}};/*!
1
+ (function(ae,A){typeof exports=="object"&&typeof module<"u"?A(exports,require("react/jsx-runtime"),require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom"],A):(ae=typeof globalThis<"u"?globalThis:ae||self,A(ae["biznext-ui-react"]={},ae["react/jsx-runtime"],ae.React,ae.ReactDOM))})(this,function(ae,A,C,Re){"use strict";function Du(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const G=Du(C),pr=C.createContext({}),mr=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.payload,...e.toasts]};case"DELETE_TOAST":return{...e,toasts:e.toasts.filter(n=>n.id!==t.payload.id)};default:console.error(`Biznext-UI-Toast: Unhandled action type: ${t.type}`)}},gr=()=>C.useContext(pr),Ce={"toasts-container":"biznext-ui-Voj91bwiOQ0-5","top-left":"biznext-ui-r8K3Yfg1a0k-a","top-center":"biznext-ui-hLBI-yY3XZg-8","top-right":"biznext-ui-McMmb-sS6LE-3","bottom-left":"biznext-ui-lX4jcK0Szv4-9","bottom-center":"biznext-ui-Ee7khmzQluU-1","bottom-right":"biznext-ui-8KE-IEqqaMQ-f",toast:"biznext-ui-HNUcjKVTeyM-1",fadein:"biznext-ui-HDMPjvBSEyg-1","toast-icon":"biznext-ui--tFdGazkGSA-f","toast-content":"biznext-ui-ymhtH9nUp6I-c","toast-title":"biznext-ui-KpFZjCXKdcg-2","toast-close":"biznext-ui-BzxmwExZEIc-0","toast-close-btn":"biznext-ui-2vYXLFQRSLY-d","toast-close-btn-icon":"biznext-ui-fnjPMKE33W8-7",success:"biznext-ui-gWJh5oSUaH4-8",info:"biznext-ui-KprtriQR6do-2",warning:"biznext-ui-u0IYuYPu1og-b",error:"biznext-ui-DMi33WPhK2I-0"};function Nu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var br={exports:{}};/*!
69
2
  Copyright (c) 2018 Jed Watson.
70
3
  Licensed under the MIT License (MIT), see
71
4
  http://jedwatson.github.io/classnames
72
- */(function(i){(function(){var r={}.hasOwnProperty;function u(){for(var m="",h=0;h<arguments.length;h++){var S=arguments[h];S&&(m=d(m,c(S)))}return m}function c(m){if(typeof m=="string"||typeof m=="number")return m;if(typeof m!="object")return"";if(Array.isArray(m))return u.apply(null,m);if(m.toString!==Object.prototype.toString&&!m.toString.toString().includes("[native code]"))return m.toString();var h="";for(var S in m)r.call(m,S)&&m[S]&&(h=d(h,S));return h}function d(m,h){return h?m?m+" "+h:m+h:m}i.exports?(u.default=u,i.exports=u):window.classNames=u})()})(Fx);var UD=Fx.exports;const of=x0(UD);var Vx={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},_x=Tl.createContext&&Tl.createContext(Vx),WD=["attr","size","title"];function XD(i,r){if(i==null)return{};var u=ZD(i,r),c,d;if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(i);for(d=0;d<m.length;d++)c=m[d],!(r.indexOf(c)>=0)&&Object.prototype.propertyIsEnumerable.call(i,c)&&(u[c]=i[c])}return u}function ZD(i,r){if(i==null)return{};var u={};for(var c in i)if(Object.prototype.hasOwnProperty.call(i,c)){if(r.indexOf(c)>=0)continue;u[c]=i[c]}return u}function Hv(){return Hv=Object.assign?Object.assign.bind():function(i){for(var r=1;r<arguments.length;r++){var u=arguments[r];for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(i[c]=u[c])}return i},Hv.apply(this,arguments)}function Bx(i,r){var u=Object.keys(i);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(i);r&&(c=c.filter(function(d){return Object.getOwnPropertyDescriptor(i,d).enumerable})),u.push.apply(u,c)}return u}function Gv(i){for(var r=1;r<arguments.length;r++){var u=arguments[r]!=null?arguments[r]:{};r%2?Bx(Object(u),!0).forEach(function(c){YD(i,c,u[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(u)):Bx(Object(u)).forEach(function(c){Object.defineProperty(i,c,Object.getOwnPropertyDescriptor(u,c))})}return i}function YD(i,r,u){return r=$D(r),r in i?Object.defineProperty(i,r,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[r]=u,i}function $D(i){var r=JD(i,"string");return typeof r=="symbol"?r:r+""}function JD(i,r){if(typeof i!="object"||!i)return i;var u=i[Symbol.toPrimitive];if(u!==void 0){var c=u.call(i,r||"default");if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(i)}function zx(i){return i&&i.map((r,u)=>Tl.createElement(r.tag,Gv({key:u},r.attr),zx(r.child)))}function Ws(i){return r=>Tl.createElement(QD,Hv({attr:Gv({},i.attr)},r),zx(i.child))}function QD(i){var r=u=>{var{attr:c,size:d,title:m}=i,h=XD(i,WD),S=d||u.size||"1em",b;return u.className&&(b=u.className),i.className&&(b=(b?b+" ":"")+i.className),Tl.createElement("svg",Hv({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},u.attr,c,h,{className:b,style:Gv(Gv({color:i.color||u.color},u.style),i.style),height:S,width:S,xmlns:"http://www.w3.org/2000/svg"}),m&&Tl.createElement("title",null,m),i.children)};return _x!==void 0?Tl.createElement(_x.Consumer,null,u=>r(u)):r(Vx)}function KD(i){return Ws({tag:"svg",attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 0C5.383 0 0 5.383 0 12s5.383 12 12 12 12-5.383 12-12h-2.7c0 5.128-4.172 9.3-9.3 9.3-5.128 0-9.3-4.172-9.3-9.3 0-5.128 4.172-9.3 9.3-9.3V0Zm7.4 2.583-7.505 9.371L8.388 9.08l-2.002 2.436 4.741 3.888a1.573 1.573 0 0 0 2.231-.233l8.504-10.617L19.4 2.583Z"},child:[]}]})(i)}function qD(i){return Ws({tag:"svg",attr:{viewBox:"0 0 15 15",fill:"none"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M0.877075 7.49988C0.877075 3.84219 3.84222 0.877045 7.49991 0.877045C11.1576 0.877045 14.1227 3.84219 14.1227 7.49988C14.1227 11.1575 11.1576 14.1227 7.49991 14.1227C3.84222 14.1227 0.877075 11.1575 0.877075 7.49988ZM7.49991 1.82704C4.36689 1.82704 1.82708 4.36686 1.82708 7.49988C1.82708 10.6329 4.36689 13.1727 7.49991 13.1727C10.6329 13.1727 13.1727 10.6329 13.1727 7.49988C13.1727 4.36686 10.6329 1.82704 7.49991 1.82704ZM9.85358 5.14644C10.0488 5.3417 10.0488 5.65829 9.85358 5.85355L8.20713 7.49999L9.85358 9.14644C10.0488 9.3417 10.0488 9.65829 9.85358 9.85355C9.65832 10.0488 9.34173 10.0488 9.14647 9.85355L7.50002 8.2071L5.85358 9.85355C5.65832 10.0488 5.34173 10.0488 5.14647 9.85355C4.95121 9.65829 4.95121 9.3417 5.14647 9.14644L6.79292 7.49999L5.14647 5.85355C4.95121 5.65829 4.95121 5.3417 5.14647 5.14644C5.34173 4.95118 5.65832 4.95118 5.85358 5.14644L7.50002 6.79289L9.14647 5.14644C9.34173 4.95118 9.65832 4.95118 9.85358 5.14644Z",fill:"currentColor"},child:[]}]})(i)}function eM(i){return Ws({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm169.8-90.7c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"},child:[]}]})(i)}function tM(i){return Ws({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"},child:[]}]})(i)}function nM(i){return Ws({tag:"svg",attr:{version:"1.1",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M15.854 12.854c-0-0-0-0-0-0l-4.854-4.854 4.854-4.854c0-0 0-0 0-0 0.052-0.052 0.090-0.113 0.114-0.178 0.066-0.178 0.028-0.386-0.114-0.529l-2.293-2.293c-0.143-0.143-0.351-0.181-0.529-0.114-0.065 0.024-0.126 0.062-0.178 0.114 0 0-0 0-0 0l-4.854 4.854-4.854-4.854c-0-0-0-0-0-0-0.052-0.052-0.113-0.090-0.178-0.114-0.178-0.066-0.386-0.029-0.529 0.114l-2.293 2.293c-0.143 0.143-0.181 0.351-0.114 0.529 0.024 0.065 0.062 0.126 0.114 0.178 0 0 0 0 0 0l4.854 4.854-4.854 4.854c-0 0-0 0-0 0-0.052 0.052-0.090 0.113-0.114 0.178-0.066 0.178-0.029 0.386 0.114 0.529l2.293 2.293c0.143 0.143 0.351 0.181 0.529 0.114 0.065-0.024 0.126-0.062 0.178-0.114 0-0 0-0 0-0l4.854-4.854 4.854 4.854c0 0 0 0 0 0 0.052 0.052 0.113 0.090 0.178 0.114 0.178 0.066 0.386 0.029 0.529-0.114l2.293-2.293c0.143-0.143 0.181-0.351 0.114-0.529-0.024-0.065-0.062-0.126-0.114-0.178z"},child:[]}]})(i)}const R0=Y.createContext({transformPagePoint:i=>i,isStatic:!1,reducedMotion:"never"}),jv=Y.createContext({}),Uv=Y.createContext(null),w0=typeof document<"u",A0=w0?Y.useLayoutEffect:Y.useEffect,Hx=Y.createContext({strict:!1}),Wv=i=>i.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Gx="data-"+Wv("framerAppearId"),rM={skipAnimations:!1,useManualTiming:!1};function iM(i){let r=new Set,u=new Set,c=!1,d=!1;const m=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};function S(x){m.has(x)&&(b.schedule(x),i()),x(h)}const b={schedule:(x,T=!1,w=!1)=>{const k=w&&c?r:u;return T&&m.add(x),k.has(x)||k.add(x),x},cancel:x=>{u.delete(x),m.delete(x)},process:x=>{if(h=x,c){d=!0;return}c=!0,[r,u]=[u,r],u.clear(),r.forEach(S),c=!1,d&&(d=!1,b.process(x))}};return b}const Xv=["read","resolveKeyframes","update","preRender","render","postRender"],aM=40;function jx(i,r){let u=!1,c=!0;const d={delta:0,timestamp:0,isProcessing:!1},m=()=>u=!0,h=Xv.reduce((j,Z)=>(j[Z]=iM(m),j),{}),{read:S,resolveKeyframes:b,update:x,preRender:T,render:w,postRender:M}=h,k=()=>{const j=performance.now();u=!1,d.delta=c?1e3/60:Math.max(Math.min(j-d.timestamp,aM),1),d.timestamp=j,d.isProcessing=!0,S.process(d),b.process(d),x.process(d),T.process(d),w.process(d),M.process(d),d.isProcessing=!1,u&&r&&(c=!1,i(k))},F=()=>{u=!0,c=!0,d.isProcessing||i(k)};return{schedule:Xv.reduce((j,Z)=>{const z=h[Z];return j[Z]=(q,H=!1,se=!1)=>(u||F(),z.schedule(q,H,se)),j},{}),cancel:j=>{for(let Z=0;Z<Xv.length;Z++)h[Xv[Z]].cancel(j)},state:d,steps:h}}const{schedule:I0,cancel:eH}=jx(queueMicrotask,!1);function uf(i){return i&&typeof i=="object"&&Object.prototype.hasOwnProperty.call(i,"current")}const Ux=Y.createContext({});let Wx=!1;function oM(i,r,u,c,d){const{visualElement:m}=Y.useContext(jv),h=Y.useContext(Hx),S=Y.useContext(Uv),b=Y.useContext(R0).reducedMotion,x=Y.useRef();c=c||h.renderer,!x.current&&c&&(x.current=c(i,{visualState:r,parent:m,props:u,presenceContext:S,blockInitialAnimation:S?S.initial===!1:!1,reducedMotionConfig:b}));const T=x.current,w=Y.useContext(Ux);T&&!T.projection&&d&&(T.type==="html"||T.type==="svg")&&lM(x.current,u,d,w),Y.useInsertionEffect(()=>{T&&T.update(u,S)});const M=Y.useRef(!!(u[Gx]&&!window.HandoffComplete));return A0(()=>{T&&(T.updateFeatures(),I0.render(T.render),M.current&&T.animationState&&T.animationState.animateChanges())}),Y.useEffect(()=>{T&&(!M.current&&T.animationState&&T.animationState.animateChanges(),M.current&&(M.current=!1,Wx||(Wx=!0,queueMicrotask(uM))))}),T}function uM(){window.HandoffComplete=!0}function lM(i,r,u,c){const{layoutId:d,layout:m,drag:h,dragConstraints:S,layoutScroll:b,layoutRoot:x}=r;i.projection=new u(i.latestValues,r["data-framer-portal-id"]?void 0:Xx(i.parent)),i.projection.setOptions({layoutId:d,layout:m,alwaysMeasureLayout:!!h||S&&uf(S),visualElement:i,scheduleRender:()=>i.scheduleRender(),animationType:typeof m=="string"?m:"both",initialPromotionConfig:c,layoutScroll:b,layoutRoot:x})}function Xx(i){if(i)return i.options.allowProjection!==!1?i.projection:Xx(i.parent)}function sM(i,r,u){return Y.useCallback(c=>{c&&i.mount&&i.mount(c),r&&(c?r.mount(c):r.unmount()),u&&(typeof u=="function"?u(c):uf(u)&&(u.current=c))},[r])}function vp(i){return typeof i=="string"||Array.isArray(i)}function mp(i){return i!==null&&typeof i=="object"&&typeof i.start=="function"}const D0=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],M0=["initial",...D0];function Zv(i){return mp(i.animate)||M0.some(r=>vp(i[r]))}function Zx(i){return!!(Zv(i)||i.variants)}function cM(i,r){if(Zv(i)){const{initial:u,animate:c}=i;return{initial:u===!1||vp(u)?u:void 0,animate:vp(c)?c:void 0}}return i.inherit!==!1?r:{}}function fM(i){const{initial:r,animate:u}=cM(i,Y.useContext(jv));return Y.useMemo(()=>({initial:r,animate:u}),[Yx(r),Yx(u)])}function Yx(i){return Array.isArray(i)?i.join(" "):i}const $x={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},lf={};for(const i in $x)lf[i]={isEnabled:r=>$x[i].some(u=>!!r[u])};function dM(i){for(const r in i)lf[r]={...lf[r],...i[r]}}const O0=Y.createContext({}),pM=Symbol.for("motionComponentSymbol"),zr=i=>i;let sf=zr,Iu=zr;process.env.NODE_ENV!=="production"&&(sf=(i,r)=>{!i&&typeof console<"u"&&console.warn(r)},Iu=(i,r)=>{if(!i)throw new Error(r)});function hM({preloadedFeatures:i,createVisualElement:r,useRender:u,useVisualState:c,Component:d}){i&&dM(i);function m(S,b){let x;const T={...Y.useContext(R0),...S,layoutId:vM(S)},{isStatic:w}=T,M=fM(S),k=c(S,w);if(!w&&w0){mM(T,i);const F=gM(T);x=F.MeasureLayout,M.visualElement=oM(d,k,T,r,F.ProjectionNode)}return Ee.jsxs(jv.Provider,{value:M,children:[x&&M.visualElement?Ee.jsx(x,{visualElement:M.visualElement,...T}):null,u(d,S,sM(k,M.visualElement,b),k,w,M.visualElement)]})}const h=Y.forwardRef(m);return h[pM]=d,h}function vM({layoutId:i}){const r=Y.useContext(O0).id;return r&&i!==void 0?r+"-"+i:i}function mM(i,r){const u=Y.useContext(Hx).strict;if(process.env.NODE_ENV!=="production"&&r&&u){const c="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";i.ignoreStrict?sf(!1,c):Iu(!1,c)}}function gM(i){const{drag:r,layout:u}=lf;if(!r&&!u)return{};const c={...r,...u};return{MeasureLayout:r!=null&&r.isEnabled(i)||u!=null&&u.isEnabled(i)?c.MeasureLayout:void 0,ProjectionNode:c.ProjectionNode}}function yM(i){function r(c,d={}){return hM(i(c,d))}if(typeof Proxy>"u")return r;const u=new Map;return new Proxy(r,{get:(c,d)=>(u.has(d)||u.set(d,r(d)),u.get(d))})}const bM=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function k0(i){return typeof i!="string"||i.includes("-")?!1:!!(bM.indexOf(i)>-1||/[A-Z]/u.test(i))}const Yv={};function CM(i){Object.assign(Yv,i)}const gp=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Rl=new Set(gp);function Jx(i,{layout:r,layoutId:u}){return Rl.has(i)||i.startsWith("origin")||(r||u!==void 0)&&(!!Yv[i]||i==="opacity")}const ui=i=>!!(i&&i.getVelocity),SM={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},xM=gp.length;function EM(i,r,u){let c="";for(let d=0;d<xM;d++){const m=gp[d];if(i[m]!==void 0){const h=SM[m]||m;c+=`${h}(${i[m]}) `}}return c=c.trim(),u?c=u(i,r?"":c):r&&(c="none"),c}const Qx=i=>r=>typeof r=="string"&&r.startsWith(i),Kx=Qx("--"),TM=Qx("var(--"),L0=i=>TM(i)?RM.test(i.split("/*")[0].trim()):!1,RM=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,wM=(i,r)=>r&&typeof i=="number"?r.transform(i):i,wl=(i,r,u)=>u>r?r:u<i?i:u,cf={test:i=>typeof i=="number",parse:parseFloat,transform:i=>i},yp={...cf,transform:i=>wl(0,1,i)},$v={...cf,default:1},bp=i=>Math.round(i*1e5)/1e5,N0=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,AM=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,IM=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function Cp(i){return typeof i=="string"}function DM(i){return i==null}const Sp=i=>({test:r=>Cp(r)&&r.endsWith(i)&&r.split(" ").length===1,parse:parseFloat,transform:r=>`${r}${i}`}),Al=Sp("deg"),zo=Sp("%"),mt=Sp("px"),MM=Sp("vh"),OM=Sp("vw"),qx={...zo,parse:i=>zo.parse(i)/100,transform:i=>zo.transform(i*100)},eE={...cf,transform:Math.round},tE={borderWidth:mt,borderTopWidth:mt,borderRightWidth:mt,borderBottomWidth:mt,borderLeftWidth:mt,borderRadius:mt,radius:mt,borderTopLeftRadius:mt,borderTopRightRadius:mt,borderBottomRightRadius:mt,borderBottomLeftRadius:mt,width:mt,maxWidth:mt,height:mt,maxHeight:mt,size:mt,top:mt,right:mt,bottom:mt,left:mt,padding:mt,paddingTop:mt,paddingRight:mt,paddingBottom:mt,paddingLeft:mt,margin:mt,marginTop:mt,marginRight:mt,marginBottom:mt,marginLeft:mt,rotate:Al,rotateX:Al,rotateY:Al,rotateZ:Al,scale:$v,scaleX:$v,scaleY:$v,scaleZ:$v,skew:Al,skewX:Al,skewY:Al,distance:mt,translateX:mt,translateY:mt,translateZ:mt,x:mt,y:mt,z:mt,perspective:mt,transformPerspective:mt,opacity:yp,originX:qx,originY:qx,originZ:mt,zIndex:eE,backgroundPositionX:mt,backgroundPositionY:mt,fillOpacity:yp,strokeOpacity:yp,numOctaves:eE};function P0(i,r,u){const{style:c,vars:d,transform:m,transformOrigin:h}=i;let S=!1,b=!1,x=!0;for(const T in r){const w=r[T];if(Kx(T)){d[T]=w;continue}const M=tE[T],k=wM(w,M);if(Rl.has(T)){if(S=!0,m[T]=k,!x)continue;w!==(M.default||0)&&(x=!1)}else T.startsWith("origin")?(b=!0,h[T]=k):c[T]=k}if(r.transform||(S||u?c.transform=EM(i.transform,x,u):c.transform&&(c.transform="none")),b){const{originX:T="50%",originY:w="50%",originZ:M=0}=h;c.transformOrigin=`${T} ${w} ${M}`}}const F0=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function nE(i,r,u){for(const c in r)!ui(r[c])&&!Jx(c,u)&&(i[c]=r[c])}function kM({transformTemplate:i},r){return Y.useMemo(()=>{const u=F0();return P0(u,r,i),Object.assign({},u.vars,u.style)},[r])}function LM(i,r){const u=i.style||{},c={};return nE(c,u,i),Object.assign(c,kM(i,r)),c}function NM(i,r){const u={},c=LM(i,r);return i.drag&&i.dragListener!==!1&&(u.draggable=!1,c.userSelect=c.WebkitUserSelect=c.WebkitTouchCallout="none",c.touchAction=i.drag===!0?"none":`pan-${i.drag==="x"?"y":"x"}`),i.tabIndex===void 0&&(i.onTap||i.onTapStart||i.whileTap)&&(u.tabIndex=0),u.style=c,u}const PM=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Jv(i){return i.startsWith("while")||i.startsWith("drag")&&i!=="draggable"||i.startsWith("layout")||i.startsWith("onTap")||i.startsWith("onPan")||i.startsWith("onLayout")||PM.has(i)}let rE=i=>!Jv(i);function FM(i){i&&(rE=r=>r.startsWith("on")?!Jv(r):i(r))}try{FM(require("@emotion/is-prop-valid").default)}catch{}function VM(i,r,u){const c={};for(const d in i)d==="values"&&typeof i.values=="object"||(rE(d)||u===!0&&Jv(d)||!r&&!Jv(d)||i.draggable&&d.startsWith("onDrag"))&&(c[d]=i[d]);return c}function iE(i,r,u){return typeof i=="string"?i:mt.transform(r+u*i)}function _M(i,r,u){const c=iE(r,i.x,i.width),d=iE(u,i.y,i.height);return`${c} ${d}`}const BM={offset:"stroke-dashoffset",array:"stroke-dasharray"},zM={offset:"strokeDashoffset",array:"strokeDasharray"};function HM(i,r,u=1,c=0,d=!0){i.pathLength=1;const m=d?BM:zM;i[m.offset]=mt.transform(-c);const h=mt.transform(r),S=mt.transform(u);i[m.array]=`${h} ${S}`}function V0(i,{attrX:r,attrY:u,attrScale:c,originX:d,originY:m,pathLength:h,pathSpacing:S=1,pathOffset:b=0,...x},T,w){if(P0(i,x,w),T){i.style.viewBox&&(i.attrs.viewBox=i.style.viewBox);return}i.attrs=i.style,i.style={};const{attrs:M,style:k,dimensions:F}=i;M.transform&&(F&&(k.transform=M.transform),delete M.transform),F&&(d!==void 0||m!==void 0||k.transform)&&(k.transformOrigin=_M(F,d!==void 0?d:.5,m!==void 0?m:.5)),r!==void 0&&(M.x=r),u!==void 0&&(M.y=u),c!==void 0&&(M.scale=c),h!==void 0&&HM(M,h,S,b,!1)}const aE=()=>({...F0(),attrs:{}}),_0=i=>typeof i=="string"&&i.toLowerCase()==="svg";function GM(i,r,u,c){const d=Y.useMemo(()=>{const m=aE();return V0(m,r,_0(c),i.transformTemplate),{...m.attrs,style:{...m.style}}},[r]);if(i.style){const m={};nE(m,i.style,i),d.style={...m,...d.style}}return d}function jM(i=!1){return(u,c,d,{latestValues:m},h)=>{const b=(k0(u)?GM:NM)(c,m,h,u),x=VM(c,typeof u=="string",i),T=u!==Y.Fragment?{...x,...b,ref:d}:{},{children:w}=c,M=Y.useMemo(()=>ui(w)?w.get():w,[w]);return Y.createElement(u,{...T,children:M})}}function oE(i,{style:r,vars:u},c,d){Object.assign(i.style,r,d&&d.getProjectionStyles(c));for(const m in u)i.style.setProperty(m,u[m])}const uE=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function lE(i,r,u,c){oE(i,r,void 0,c);for(const d in r.attrs)i.setAttribute(uE.has(d)?d:Wv(d),r.attrs[d])}function B0(i,r,u){var c;const{style:d}=i,m={};for(const h in d)(ui(d[h])||r.style&&ui(r.style[h])||Jx(h,i)||((c=u==null?void 0:u.getValue(h))===null||c===void 0?void 0:c.liveStyle)!==void 0)&&(m[h]=d[h]);return u&&d&&typeof d.willChange=="string"&&(u.applyWillChange=!1),m}function sE(i,r,u){const c=B0(i,r,u);for(const d in i)if(ui(i[d])||ui(r[d])){const m=gp.indexOf(d)!==-1?"attr"+d.charAt(0).toUpperCase()+d.substring(1):d;c[m]=i[d]}return c}function cE(i){const r=[{},{}];return i==null||i.values.forEach((u,c)=>{r[0][c]=u.get(),r[1][c]=u.getVelocity()}),r}function z0(i,r,u,c){if(typeof r=="function"){const[d,m]=cE(c);r=r(u!==void 0?u:i.custom,d,m)}if(typeof r=="string"&&(r=i.variants&&i.variants[r]),typeof r=="function"){const[d,m]=cE(c);r=r(u!==void 0?u:i.custom,d,m)}return r}function fE(i){const r=Y.useRef(null);return r.current===null&&(r.current=i()),r.current}const H0=i=>Array.isArray(i),UM=i=>!!(i&&typeof i=="object"&&i.mix&&i.toValue),WM=i=>H0(i)?i[i.length-1]||0:i;function Qv(i){const r=ui(i)?i.get():i;return UM(r)?r.toValue():r}const dE=new Set(["opacity","clipPath","filter","transform"]);function pE(i){if(Rl.has(i))return"transform";if(dE.has(i))return Wv(i)}function Kv(i,r){i.indexOf(r)===-1&&i.push(r)}function qv(i,r){const u=i.indexOf(r);u>-1&&i.splice(u,1)}function XM({applyWillChange:i=!1,scrapeMotionValuesFromProps:r,createRenderState:u,onMount:c},d,m,h,S){const b={latestValues:YM(d,m,h,S?!1:i,r),renderState:u()};return c&&(b.mount=x=>c(d,x,b)),b}const hE=i=>(r,u)=>{const c=Y.useContext(jv),d=Y.useContext(Uv),m=()=>XM(i,r,c,d,u);return u?m():fE(m)};function ZM(i,r){const u=pE(r);u&&Kv(i,u)}function vE(i,r,u){const c=Array.isArray(r)?r:[r];for(let d=0;d<c.length;d++){const m=z0(i,c[d]);if(m){const{transitionEnd:h,transition:S,...b}=m;u(b,h)}}}function YM(i,r,u,c,d){var m;const h={},S=[],b=c&&((m=i.style)===null||m===void 0?void 0:m.willChange)===void 0,x=d(i,{});for(const _ in x)h[_]=Qv(x[_]);let{initial:T,animate:w}=i;const M=Zv(i),k=Zx(i);r&&k&&!M&&i.inherit!==!1&&(T===void 0&&(T=r.initial),w===void 0&&(w=r.animate));let F=u?u.initial===!1:!1;F=F||T===!1;const V=F?w:T;return V&&typeof V!="boolean"&&!mp(V)&&vE(i,V,(_,j)=>{for(const Z in _){let z=_[Z];if(Array.isArray(z)){const q=F?z.length-1:0;z=z[q]}z!==null&&(h[Z]=z)}for(const Z in j)h[Z]=j[Z]}),b&&(w&&T!==!1&&!mp(w)&&vE(i,w,_=>{for(const j in _)ZM(S,j)}),S.length&&(h.willChange=S.join(","))),h}const{schedule:sn,cancel:Du,state:Hr,steps:G0}=jx(typeof requestAnimationFrame<"u"?requestAnimationFrame:zr,!0),$M={useVisualState:hE({scrapeMotionValuesFromProps:sE,createRenderState:aE,onMount:(i,r,{renderState:u,latestValues:c})=>{sn.read(()=>{try{u.dimensions=typeof r.getBBox=="function"?r.getBBox():r.getBoundingClientRect()}catch{u.dimensions={x:0,y:0,width:0,height:0}}}),sn.render(()=>{V0(u,c,_0(r.tagName),i.transformTemplate),lE(r,u)})}})},JM={useVisualState:hE({applyWillChange:!0,scrapeMotionValuesFromProps:B0,createRenderState:F0})};function QM(i,{forwardMotionProps:r=!1},u,c){return{...k0(i)?$M:JM,preloadedFeatures:u,useRender:jM(r),createVisualElement:c,Component:i}}function Mu(i,r,u,c={passive:!0}){return i.addEventListener(r,u,c),()=>i.removeEventListener(r,u)}const mE=i=>i.pointerType==="mouse"?typeof i.button!="number"||i.button<=0:i.isPrimary!==!1;function em(i,r="page"){return{point:{x:i[`${r}X`],y:i[`${r}Y`]}}}const KM=i=>r=>mE(r)&&i(r,em(r));function Ou(i,r,u,c){return Mu(i,r,KM(u),c)}const qM=(i,r)=>u=>r(i(u)),ku=(...i)=>i.reduce(qM);function gE(i){let r=null;return()=>{const u=()=>{r=null};return r===null?(r=i,u):!1}}const yE=gE("dragHorizontal"),bE=gE("dragVertical");function CE(i){let r=!1;if(i==="y")r=bE();else if(i==="x")r=yE();else{const u=yE(),c=bE();u&&c?r=()=>{u(),c()}:(u&&u(),c&&c())}return r}function SE(){const i=CE(!0);return i?(i(),!1):!0}class Il{constructor(r){this.isMounted=!1,this.node=r}update(){}}function xE(i,r){const u=r?"pointerenter":"pointerleave",c=r?"onHoverStart":"onHoverEnd",d=(m,h)=>{if(m.pointerType==="touch"||SE())return;const S=i.getProps();i.animationState&&S.whileHover&&i.animationState.setActive("whileHover",r);const b=S[c];b&&sn.postRender(()=>b(m,h))};return Ou(i.current,u,d,{passive:!i.getProps()[c]})}class eO extends Il{mount(){this.unmount=ku(xE(this.node,!0),xE(this.node,!1))}unmount(){}}class tO extends Il{constructor(){super(...arguments),this.isActive=!1}onFocus(){let r=!1;try{r=this.node.current.matches(":focus-visible")}catch{r=!0}!r||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=ku(Mu(this.node.current,"focus",()=>this.onFocus()),Mu(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const EE=(i,r)=>r?i===r?!0:EE(i,r.parentElement):!1;function j0(i,r){if(!r)return;const u=new PointerEvent("pointer"+i);r(u,em(u))}class nO extends Il{constructor(){super(...arguments),this.removeStartListeners=zr,this.removeEndListeners=zr,this.removeAccessibleListeners=zr,this.startPointerPress=(r,u)=>{if(this.isPressing)return;this.removeEndListeners();const c=this.node.getProps(),m=Ou(window,"pointerup",(S,b)=>{if(!this.checkPressEnd())return;const{onTap:x,onTapCancel:T,globalTapTarget:w}=this.node.getProps(),M=!w&&!EE(this.node.current,S.target)?T:x;M&&sn.update(()=>M(S,b))},{passive:!(c.onTap||c.onPointerUp)}),h=Ou(window,"pointercancel",(S,b)=>this.cancelPress(S,b),{passive:!(c.onTapCancel||c.onPointerCancel)});this.removeEndListeners=ku(m,h),this.startPress(r,u)},this.startAccessiblePress=()=>{const r=m=>{if(m.key!=="Enter"||this.isPressing)return;const h=S=>{S.key!=="Enter"||!this.checkPressEnd()||j0("up",(b,x)=>{const{onTap:T}=this.node.getProps();T&&sn.postRender(()=>T(b,x))})};this.removeEndListeners(),this.removeEndListeners=Mu(this.node.current,"keyup",h),j0("down",(S,b)=>{this.startPress(S,b)})},u=Mu(this.node.current,"keydown",r),c=()=>{this.isPressing&&j0("cancel",(m,h)=>this.cancelPress(m,h))},d=Mu(this.node.current,"blur",c);this.removeAccessibleListeners=ku(u,d)}}startPress(r,u){this.isPressing=!0;const{onTapStart:c,whileTap:d}=this.node.getProps();d&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),c&&sn.postRender(()=>c(r,u))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!SE()}cancelPress(r,u){if(!this.checkPressEnd())return;const{onTapCancel:c}=this.node.getProps();c&&sn.postRender(()=>c(r,u))}mount(){const r=this.node.getProps(),u=Ou(r.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(r.onTapStart||r.onPointerStart)}),c=Mu(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=ku(u,c)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const U0=new WeakMap,W0=new WeakMap,rO=i=>{const r=U0.get(i.target);r&&r(i)},iO=i=>{i.forEach(rO)};function aO({root:i,...r}){const u=i||document;W0.has(u)||W0.set(u,{});const c=W0.get(u),d=JSON.stringify(r);return c[d]||(c[d]=new IntersectionObserver(iO,{root:i,...r})),c[d]}function oO(i,r,u){const c=aO(r);return U0.set(i,u),c.observe(i),()=>{U0.delete(i),c.unobserve(i)}}const uO={some:0,all:1};class lO extends Il{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:r={}}=this.node.getProps(),{root:u,margin:c,amount:d="some",once:m}=r,h={root:u?u.current:void 0,rootMargin:c,threshold:typeof d=="number"?d:uO[d]},S=b=>{const{isIntersecting:x}=b;if(this.isInView===x||(this.isInView=x,m&&!x&&this.hasEnteredView))return;x&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",x);const{onViewportEnter:T,onViewportLeave:w}=this.node.getProps(),M=x?T:w;M&&M(b)};return oO(this.node.current,h,S)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:r,prevProps:u}=this.node;["amount","margin","root"].some(sO(r,u))&&this.startObserver()}unmount(){}}function sO({viewport:i={}},{viewport:r={}}={}){return u=>i[u]!==r[u]}const cO={inView:{Feature:lO},tap:{Feature:nO},focus:{Feature:tO},hover:{Feature:eO}};function TE(i,r){if(!Array.isArray(r))return!1;const u=r.length;if(u!==i.length)return!1;for(let c=0;c<u;c++)if(r[c]!==i[c])return!1;return!0}function tm(i,r,u){const c=i.getProps();return z0(c,r,u!==void 0?u:c.custom,i)}const Lu=i=>i*1e3,Nu=i=>i/1e3,fO={type:"spring",stiffness:500,damping:25,restSpeed:10},dO=i=>({type:"spring",stiffness:550,damping:i===0?2*Math.sqrt(550):30,restSpeed:10}),pO={type:"keyframes",duration:.8},hO={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},vO=(i,{keyframes:r})=>r.length>2?pO:Rl.has(i)?i.startsWith("scale")?dO(r[1]):fO:hO;function mO({when:i,delay:r,delayChildren:u,staggerChildren:c,staggerDirection:d,repeat:m,repeatType:h,repeatDelay:S,from:b,elapsed:x,...T}){return!!Object.keys(T).length}function X0(i,r){return i[r]||i.default||i}const gO=i=>i!==null;function nm(i,{repeat:r,repeatType:u="loop"},c){const d=i.filter(gO),m=r&&u!=="loop"&&r%2===1?0:d.length-1;return!m||c===void 0?d[m]:c}let rm;function yO(){rm=void 0}const Dl={now:()=>(rm===void 0&&Dl.set(Hr.isProcessing||rM.useManualTiming?Hr.timestamp:performance.now()),rm),set:i=>{rm=i,queueMicrotask(yO)}},RE=i=>/^0[^.\s]+$/u.test(i);function bO(i){return typeof i=="number"?i===0:i!==null?i==="none"||i==="0"||RE(i):!0}const wE=i=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(i),CO=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function SO(i){const r=CO.exec(i);if(!r)return[,];const[,u,c,d]=r;return[`--${u??c}`,d]}const xO=4;function AE(i,r,u=1){Iu(u<=xO,`Max CSS variable fallback depth detected in property "${i}". This may indicate a circular fallback dependency.`);const[c,d]=SO(i);if(!c)return;const m=window.getComputedStyle(r).getPropertyValue(c);if(m){const h=m.trim();return wE(h)?parseFloat(h):h}return L0(d)?AE(d,r,u+1):d}const EO=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),IE=i=>i===cf||i===mt,DE=(i,r)=>parseFloat(i.split(", ")[r]),ME=(i,r)=>(u,{transform:c})=>{if(c==="none"||!c)return 0;const d=c.match(/^matrix3d\((.+)\)$/u);if(d)return DE(d[1],r);{const m=c.match(/^matrix\((.+)\)$/u);return m?DE(m[1],i):0}},TO=new Set(["x","y","z"]),RO=gp.filter(i=>!TO.has(i));function wO(i){const r=[];return RO.forEach(u=>{const c=i.getValue(u);c!==void 0&&(r.push([u,c.get()]),c.set(u.startsWith("scale")?1:0))}),r}const ff={width:({x:i},{paddingLeft:r="0",paddingRight:u="0"})=>i.max-i.min-parseFloat(r)-parseFloat(u),height:({y:i},{paddingTop:r="0",paddingBottom:u="0"})=>i.max-i.min-parseFloat(r)-parseFloat(u),top:(i,{top:r})=>parseFloat(r),left:(i,{left:r})=>parseFloat(r),bottom:({y:i},{top:r})=>parseFloat(r)+(i.max-i.min),right:({x:i},{left:r})=>parseFloat(r)+(i.max-i.min),x:ME(4,13),y:ME(5,14)};ff.translateX=ff.x,ff.translateY=ff.y;const OE=i=>r=>r.test(i),kE=[cf,mt,zo,Al,OM,MM,{test:i=>i==="auto",parse:i=>i}],LE=i=>kE.find(OE(i)),Xs=new Set;let Z0=!1,Y0=!1;function NE(){if(Y0){const i=Array.from(Xs).filter(c=>c.needsMeasurement),r=new Set(i.map(c=>c.element)),u=new Map;r.forEach(c=>{const d=wO(c);d.length&&(u.set(c,d),c.render())}),i.forEach(c=>c.measureInitialState()),r.forEach(c=>{c.render();const d=u.get(c);d&&d.forEach(([m,h])=>{var S;(S=c.getValue(m))===null||S===void 0||S.set(h)})}),i.forEach(c=>c.measureEndState()),i.forEach(c=>{c.suspendedScrollY!==void 0&&window.scrollTo(0,c.suspendedScrollY)})}Y0=!1,Z0=!1,Xs.forEach(i=>i.complete()),Xs.clear()}function PE(){Xs.forEach(i=>{i.readKeyframes(),i.needsMeasurement&&(Y0=!0)})}function AO(){PE(),NE()}class $0{constructor(r,u,c,d,m,h=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...r],this.onComplete=u,this.name=c,this.motionValue=d,this.element=m,this.isAsync=h}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Xs.add(this),Z0||(Z0=!0,sn.read(PE),sn.resolveKeyframes(NE))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:r,name:u,element:c,motionValue:d}=this;for(let m=0;m<r.length;m++)if(r[m]===null)if(m===0){const h=d==null?void 0:d.get(),S=r[r.length-1];if(h!==void 0)r[0]=h;else if(c&&u){const b=c.readValue(u,S);b!=null&&(r[0]=b)}r[0]===void 0&&(r[0]=S),d&&h===void 0&&d.set(r[0])}else r[m]=r[m-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Xs.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Xs.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const J0=(i,r)=>u=>!!(Cp(u)&&IM.test(u)&&u.startsWith(i)||r&&!DM(u)&&Object.prototype.hasOwnProperty.call(u,r)),FE=(i,r,u)=>c=>{if(!Cp(c))return c;const[d,m,h,S]=c.match(N0);return{[i]:parseFloat(d),[r]:parseFloat(m),[u]:parseFloat(h),alpha:S!==void 0?parseFloat(S):1}},IO=i=>wl(0,255,i),Q0={...cf,transform:i=>Math.round(IO(i))},Zs={test:J0("rgb","red"),parse:FE("red","green","blue"),transform:({red:i,green:r,blue:u,alpha:c=1})=>"rgba("+Q0.transform(i)+", "+Q0.transform(r)+", "+Q0.transform(u)+", "+bp(yp.transform(c))+")"};function DO(i){let r="",u="",c="",d="";return i.length>5?(r=i.substring(1,3),u=i.substring(3,5),c=i.substring(5,7),d=i.substring(7,9)):(r=i.substring(1,2),u=i.substring(2,3),c=i.substring(3,4),d=i.substring(4,5),r+=r,u+=u,c+=c,d+=d),{red:parseInt(r,16),green:parseInt(u,16),blue:parseInt(c,16),alpha:d?parseInt(d,16)/255:1}}const K0={test:J0("#"),parse:DO,transform:Zs.transform},df={test:J0("hsl","hue"),parse:FE("hue","saturation","lightness"),transform:({hue:i,saturation:r,lightness:u,alpha:c=1})=>"hsla("+Math.round(i)+", "+zo.transform(bp(r))+", "+zo.transform(bp(u))+", "+bp(yp.transform(c))+")"},li={test:i=>Zs.test(i)||K0.test(i)||df.test(i),parse:i=>Zs.test(i)?Zs.parse(i):df.test(i)?df.parse(i):K0.parse(i),transform:i=>Cp(i)?i:i.hasOwnProperty("red")?Zs.transform(i):df.transform(i)};function MO(i){var r,u;return isNaN(i)&&Cp(i)&&(((r=i.match(N0))===null||r===void 0?void 0:r.length)||0)+(((u=i.match(AM))===null||u===void 0?void 0:u.length)||0)>0}const VE="number",_E="color",OO="var",kO="var(",BE="${}",LO=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function xp(i){const r=i.toString(),u=[],c={color:[],number:[],var:[]},d=[];let m=0;const S=r.replace(LO,b=>(li.test(b)?(c.color.push(m),d.push(_E),u.push(li.parse(b))):b.startsWith(kO)?(c.var.push(m),d.push(OO),u.push(b)):(c.number.push(m),d.push(VE),u.push(parseFloat(b))),++m,BE)).split(BE);return{values:u,split:S,indexes:c,types:d}}function zE(i){return xp(i).values}function HE(i){const{split:r,types:u}=xp(i),c=r.length;return d=>{let m="";for(let h=0;h<c;h++)if(m+=r[h],d[h]!==void 0){const S=u[h];S===VE?m+=bp(d[h]):S===_E?m+=li.transform(d[h]):m+=d[h]}return m}}const NO=i=>typeof i=="number"?0:i;function PO(i){const r=zE(i);return HE(i)(r.map(NO))}const Ml={test:MO,parse:zE,createTransformer:HE,getAnimatableNone:PO},FO=new Set(["brightness","contrast","saturate","opacity"]);function VO(i){const[r,u]=i.slice(0,-1).split("(");if(r==="drop-shadow")return i;const[c]=u.match(N0)||[];if(!c)return i;const d=u.replace(c,"");let m=FO.has(r)?1:0;return c!==u&&(m*=100),r+"("+m+d+")"}const _O=/\b([a-z-]*)\(.*?\)/gu,q0={...Ml,getAnimatableNone:i=>{const r=i.match(_O);return r?r.map(VO).join(" "):i}},BO={...tE,color:li,backgroundColor:li,outlineColor:li,fill:li,stroke:li,borderColor:li,borderTopColor:li,borderRightColor:li,borderBottomColor:li,borderLeftColor:li,filter:q0,WebkitFilter:q0},eb=i=>BO[i];function GE(i,r){let u=eb(i);return u!==q0&&(u=Ml),u.getAnimatableNone?u.getAnimatableNone(r):void 0}const zO=new Set(["auto","none","0"]);function HO(i,r,u){let c=0,d;for(;c<i.length&&!d;){const m=i[c];typeof m=="string"&&!zO.has(m)&&xp(m).values.length&&(d=i[c]),c++}if(d&&u)for(const m of r)i[m]=GE(u,d)}class jE extends $0{constructor(r,u,c,d){super(r,u,c,d,d==null?void 0:d.owner,!0)}readKeyframes(){const{unresolvedKeyframes:r,element:u,name:c}=this;if(!u.current)return;super.readKeyframes();for(let b=0;b<r.length;b++){let x=r[b];if(typeof x=="string"&&(x=x.trim(),L0(x))){const T=AE(x,u.current);T!==void 0&&(r[b]=T),b===r.length-1&&(this.finalKeyframe=x)}}if(this.resolveNoneKeyframes(),!EO.has(c)||r.length!==2)return;const[d,m]=r,h=LE(d),S=LE(m);if(h!==S)if(IE(h)&&IE(S))for(let b=0;b<r.length;b++){const x=r[b];typeof x=="string"&&(r[b]=parseFloat(x))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:r,name:u}=this,c=[];for(let d=0;d<r.length;d++)bO(r[d])&&c.push(d);c.length&&HO(r,c,u)}measureInitialState(){const{element:r,unresolvedKeyframes:u,name:c}=this;if(!r.current)return;c==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ff[c](r.measureViewportBox(),window.getComputedStyle(r.current)),u[0]=this.measuredOrigin;const d=u[u.length-1];d!==void 0&&r.getValue(c,d).jump(d,!1)}measureEndState(){var r;const{element:u,name:c,unresolvedKeyframes:d}=this;if(!u.current)return;const m=u.getValue(c);m&&m.jump(this.measuredOrigin,!1);const h=d.length-1,S=d[h];d[h]=ff[c](u.measureViewportBox(),window.getComputedStyle(u.current)),S!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=S),!((r=this.removedTransforms)===null||r===void 0)&&r.length&&this.removedTransforms.forEach(([b,x])=>{u.getValue(b).set(x)}),this.resolveNoneKeyframes()}}function UE(i){let r;return()=>(r===void 0&&(r=i()),r)}const WE=(i,r)=>r==="zIndex"?!1:!!(typeof i=="number"||Array.isArray(i)||typeof i=="string"&&(Ml.test(i)||i==="0")&&!i.startsWith("url("));function GO(i){const r=i[0];if(i.length===1)return!0;for(let u=0;u<i.length;u++)if(i[u]!==r)return!0}function jO(i,r,u,c){const d=i[0];if(d===null)return!1;if(r==="display"||r==="visibility")return!0;const m=i[i.length-1],h=WE(d,r),S=WE(m,r);return sf(h===S,`You are trying to animate ${r} from "${d}" to "${m}". ${d} is not an animatable value - to enable this animation set ${d} to a value animatable to ${m} via the \`style\` property.`),!h||!S?!1:GO(i)||u==="spring"&&c}class XE{constructor({autoplay:r=!0,delay:u=0,type:c="keyframes",repeat:d=0,repeatDelay:m=0,repeatType:h="loop",...S}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:r,delay:u,type:c,repeat:d,repeatDelay:m,repeatType:h,...S},this.updateFinishedPromise()}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&AO(),this._resolved}onKeyframesResolved(r,u){this.hasAttemptedResolve=!0;const{name:c,type:d,velocity:m,delay:h,onComplete:S,onUpdate:b,isGenerator:x}=this.options;if(!x&&!jO(r,c,d,m))if(h)this.options.duration=0;else{b==null||b(nm(r,this.options,u)),S==null||S(),this.resolveFinishedPromise();return}const T=this.initPlayback(r,u);T!==!1&&(this._resolved={keyframes:r,finalKeyframe:u,...T},this.onPostResolved())}onPostResolved(){}then(r,u){return this.currentFinishedPromise.then(r,u)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(r=>{this.resolveFinishedPromise=r})}}function ZE(i,r){return r?i*(1e3/r):0}const UO=5;function YE(i,r,u){const c=Math.max(r-UO,0);return ZE(u-i(c),r-c)}const tb=.001,WO=.01,$E=10,XO=.05,ZO=1;function YO({duration:i=800,bounce:r=.25,velocity:u=0,mass:c=1}){let d,m;sf(i<=Lu($E),"Spring duration must be 10 seconds or less");let h=1-r;h=wl(XO,ZO,h),i=wl(WO,$E,Nu(i)),h<1?(d=x=>{const T=x*h,w=T*i,M=T-u,k=nb(x,h),F=Math.exp(-w);return tb-M/k*F},m=x=>{const w=x*h*i,M=w*u+u,k=Math.pow(h,2)*Math.pow(x,2)*i,F=Math.exp(-w),V=nb(Math.pow(x,2),h);return(-d(x)+tb>0?-1:1)*((M-k)*F)/V}):(d=x=>{const T=Math.exp(-x*i),w=(x-u)*i+1;return-tb+T*w},m=x=>{const T=Math.exp(-x*i),w=(u-x)*(i*i);return T*w});const S=5/i,b=JO(d,m,S);if(i=Lu(i),isNaN(b))return{stiffness:100,damping:10,duration:i};{const x=Math.pow(b,2)*c;return{stiffness:x,damping:h*2*Math.sqrt(c*x),duration:i}}}const $O=12;function JO(i,r,u){let c=u;for(let d=1;d<$O;d++)c=c-i(c)/r(c);return c}function nb(i,r){return i*Math.sqrt(1-r*r)}const QO=["duration","bounce"],KO=["stiffness","damping","mass"];function JE(i,r){return r.some(u=>i[u]!==void 0)}function qO(i){let r={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...i};if(!JE(i,KO)&&JE(i,QO)){const u=YO(i);r={...r,...u,mass:1},r.isResolvedFromDuration=!0}return r}function QE({keyframes:i,restDelta:r,restSpeed:u,...c}){const d=i[0],m=i[i.length-1],h={done:!1,value:d},{stiffness:S,damping:b,mass:x,duration:T,velocity:w,isResolvedFromDuration:M}=qO({...c,velocity:-Nu(c.velocity||0)}),k=w||0,F=b/(2*Math.sqrt(S*x)),V=m-d,_=Nu(Math.sqrt(S/x)),j=Math.abs(V)<5;u||(u=j?.01:2),r||(r=j?.005:.5);let Z;if(F<1){const z=nb(_,F);Z=q=>{const H=Math.exp(-F*_*q);return m-H*((k+F*_*V)/z*Math.sin(z*q)+V*Math.cos(z*q))}}else if(F===1)Z=z=>m-Math.exp(-_*z)*(V+(k+_*V)*z);else{const z=_*Math.sqrt(F*F-1);Z=q=>{const H=Math.exp(-F*_*q),se=Math.min(z*q,300);return m-H*((k+F*_*V)*Math.sinh(se)+z*V*Math.cosh(se))/z}}return{calculatedDuration:M&&T||null,next:z=>{const q=Z(z);if(M)h.done=z>=T;else{let H=k;z!==0&&(F<1?H=YE(Z,z,q):H=0);const se=Math.abs(H)<=u,le=Math.abs(m-q)<=r;h.done=se&&le}return h.value=h.done?m:q,h}}}function KE({keyframes:i,velocity:r=0,power:u=.8,timeConstant:c=325,bounceDamping:d=10,bounceStiffness:m=500,modifyTarget:h,min:S,max:b,restDelta:x=.5,restSpeed:T}){const w=i[0],M={done:!1,value:w},k=de=>S!==void 0&&de<S||b!==void 0&&de>b,F=de=>S===void 0?b:b===void 0||Math.abs(S-de)<Math.abs(b-de)?S:b;let V=u*r;const _=w+V,j=h===void 0?_:h(_);j!==_&&(V=j-w);const Z=de=>-V*Math.exp(-de/c),z=de=>j+Z(de),q=de=>{const He=Z(de),We=z(de);M.done=Math.abs(He)<=x,M.value=M.done?j:We};let H,se;const le=de=>{k(M.value)&&(H=de,se=QE({keyframes:[M.value,F(M.value)],velocity:YE(z,de,M.value),damping:d,stiffness:m,restDelta:x,restSpeed:T}))};return le(0),{calculatedDuration:null,next:de=>{let He=!1;return!se&&H===void 0&&(He=!0,q(de),le(de)),H!==void 0&&de>=H?se.next(de-H):(!He&&q(de),M)}}}const qE=(i,r,u)=>(((1-3*u+3*r)*i+(3*u-6*r))*i+3*r)*i,ek=1e-7,tk=12;function nk(i,r,u,c,d){let m,h,S=0;do h=r+(u-r)/2,m=qE(h,c,d)-i,m>0?u=h:r=h;while(Math.abs(m)>ek&&++S<tk);return h}function Ep(i,r,u,c){if(i===r&&u===c)return zr;const d=m=>nk(m,0,1,i,u);return m=>m===0||m===1?m:qE(d(m),r,c)}const rk=Ep(.42,0,1,1),ik=Ep(0,0,.58,1),eT=Ep(.42,0,.58,1),ak=i=>Array.isArray(i)&&typeof i[0]!="number",tT=i=>r=>r<=.5?i(2*r)/2:(2-i(2*(1-r)))/2,nT=i=>r=>1-i(1-r),rb=i=>1-Math.sin(Math.acos(i)),rT=nT(rb),ok=tT(rb),iT=Ep(.33,1.53,.69,.99),ib=nT(iT),uk=tT(ib),aT={linear:zr,easeIn:rk,easeInOut:eT,easeOut:ik,circIn:rb,circInOut:ok,circOut:rT,backIn:ib,backInOut:uk,backOut:iT,anticipate:i=>(i*=2)<1?.5*ib(i):.5*(2-Math.pow(2,-10*(i-1)))},oT=i=>{if(Array.isArray(i)){Iu(i.length===4,"Cubic bezier arrays must contain four numerical values.");const[r,u,c,d]=i;return Ep(r,u,c,d)}else if(typeof i=="string")return Iu(aT[i]!==void 0,`Invalid easing type '${i}'`),aT[i];return i},Tp=(i,r,u)=>{const c=r-i;return c===0?1:(u-i)/c},Hn=(i,r,u)=>i+(r-i)*u;function ab(i,r,u){return u<0&&(u+=1),u>1&&(u-=1),u<1/6?i+(r-i)*6*u:u<1/2?r:u<2/3?i+(r-i)*(2/3-u)*6:i}function lk({hue:i,saturation:r,lightness:u,alpha:c}){i/=360,r/=100,u/=100;let d=0,m=0,h=0;if(!r)d=m=h=u;else{const S=u<.5?u*(1+r):u+r-u*r,b=2*u-S;d=ab(b,S,i+1/3),m=ab(b,S,i),h=ab(b,S,i-1/3)}return{red:Math.round(d*255),green:Math.round(m*255),blue:Math.round(h*255),alpha:c}}function im(i,r){return u=>u>0?r:i}const ob=(i,r,u)=>{const c=i*i,d=u*(r*r-c)+c;return d<0?0:Math.sqrt(d)},sk=[K0,Zs,df],ck=i=>sk.find(r=>r.test(i));function uT(i){const r=ck(i);if(sf(!!r,`'${i}' is not an animatable color. Use the equivalent color code instead.`),!r)return!1;let u=r.parse(i);return r===df&&(u=lk(u)),u}const lT=(i,r)=>{const u=uT(i),c=uT(r);if(!u||!c)return im(i,r);const d={...u};return m=>(d.red=ob(u.red,c.red,m),d.green=ob(u.green,c.green,m),d.blue=ob(u.blue,c.blue,m),d.alpha=Hn(u.alpha,c.alpha,m),Zs.transform(d))},ub=new Set(["none","hidden"]);function fk(i,r){return ub.has(i)?u=>u<=0?i:r:u=>u>=1?r:i}function dk(i,r){return u=>Hn(i,r,u)}function lb(i){return typeof i=="number"?dk:typeof i=="string"?L0(i)?im:li.test(i)?lT:vk:Array.isArray(i)?sT:typeof i=="object"?li.test(i)?lT:pk:im}function sT(i,r){const u=[...i],c=u.length,d=i.map((m,h)=>lb(m)(m,r[h]));return m=>{for(let h=0;h<c;h++)u[h]=d[h](m);return u}}function pk(i,r){const u={...i,...r},c={};for(const d in u)i[d]!==void 0&&r[d]!==void 0&&(c[d]=lb(i[d])(i[d],r[d]));return d=>{for(const m in c)u[m]=c[m](d);return u}}function hk(i,r){var u;const c=[],d={color:0,var:0,number:0};for(let m=0;m<r.values.length;m++){const h=r.types[m],S=i.indexes[h][d[h]],b=(u=i.values[S])!==null&&u!==void 0?u:0;c[m]=b,d[h]++}return c}const vk=(i,r)=>{const u=Ml.createTransformer(r),c=xp(i),d=xp(r);return c.indexes.var.length===d.indexes.var.length&&c.indexes.color.length===d.indexes.color.length&&c.indexes.number.length>=d.indexes.number.length?ub.has(i)&&!d.values.length||ub.has(r)&&!c.values.length?fk(i,r):ku(sT(hk(c,d),d.values),u):(sf(!0,`Complex values '${i}' and '${r}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),im(i,r))};function cT(i,r,u){return typeof i=="number"&&typeof r=="number"&&typeof u=="number"?Hn(i,r,u):lb(i)(i,r)}function mk(i,r,u){const c=[],d=u||cT,m=i.length-1;for(let h=0;h<m;h++){let S=d(i[h],i[h+1]);if(r){const b=Array.isArray(r)?r[h]||zr:r;S=ku(b,S)}c.push(S)}return c}function gk(i,r,{clamp:u=!0,ease:c,mixer:d}={}){const m=i.length;if(Iu(m===r.length,"Both input and output ranges must be the same length"),m===1)return()=>r[0];if(m===2&&i[0]===i[1])return()=>r[1];i[0]>i[m-1]&&(i=[...i].reverse(),r=[...r].reverse());const h=mk(r,c,d),S=h.length,b=x=>{let T=0;if(S>1)for(;T<i.length-2&&!(x<i[T+1]);T++);const w=Tp(i[T],i[T+1],x);return h[T](w)};return u?x=>b(wl(i[0],i[m-1],x)):b}function yk(i,r){const u=i[i.length-1];for(let c=1;c<=r;c++){const d=Tp(0,r,c);i.push(Hn(u,1,d))}}function bk(i){const r=[0];return yk(r,i.length-1),r}function Ck(i,r){return i.map(u=>u*r)}function Sk(i,r){return i.map(()=>r||eT).splice(0,i.length-1)}function am({duration:i=300,keyframes:r,times:u,ease:c="easeInOut"}){const d=ak(c)?c.map(oT):oT(c),m={done:!1,value:r[0]},h=Ck(u&&u.length===r.length?u:bk(r),i),S=gk(h,r,{ease:Array.isArray(d)?d:Sk(r,d)});return{calculatedDuration:i,next:b=>(m.value=S(b),m.done=b>=i,m)}}const fT=2e4;function xk(i){let r=0;const u=50;let c=i.next(r);for(;!c.done&&r<fT;)r+=u,c=i.next(r);return r>=fT?1/0:r}const Ek=i=>{const r=({timestamp:u})=>i(u);return{start:()=>sn.update(r,!0),stop:()=>Du(r),now:()=>Hr.isProcessing?Hr.timestamp:Dl.now()}},Tk={decay:KE,inertia:KE,tween:am,keyframes:am,spring:QE},Rk=i=>i/100;class sb extends XE{constructor({KeyframeResolver:r=$0,...u}){super(u),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:S}=this.options;S&&S()};const{name:c,motionValue:d,keyframes:m}=this.options,h=(S,b)=>this.onKeyframesResolved(S,b);c&&d&&d.owner?this.resolver=d.owner.resolveKeyframes(m,h,c,d):this.resolver=new r(m,h,c,d),this.resolver.scheduleResolve()}initPlayback(r){const{type:u="keyframes",repeat:c=0,repeatDelay:d=0,repeatType:m,velocity:h=0}=this.options,S=Tk[u]||am;let b,x;S!==am&&typeof r[0]!="number"&&(process.env.NODE_ENV!=="production"&&Iu(r.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${r}`),b=ku(Rk,cT(r[0],r[1])),r=[0,100]);const T=S({...this.options,keyframes:r});m==="mirror"&&(x=S({...this.options,keyframes:[...r].reverse(),velocity:-h})),T.calculatedDuration===null&&(T.calculatedDuration=xk(T));const{calculatedDuration:w}=T,M=w+d,k=M*(c+1)-d;return{generator:T,mirroredGenerator:x,mapPercentToKeyframes:b,calculatedDuration:w,resolvedDuration:M,totalDuration:k}}onPostResolved(){const{autoplay:r=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!r?this.pause():this.state=this.pendingPlayState}tick(r,u=!1){const{resolved:c}=this;if(!c){const{keyframes:de}=this.options;return{done:!0,value:de[de.length-1]}}const{finalKeyframe:d,generator:m,mirroredGenerator:h,mapPercentToKeyframes:S,keyframes:b,calculatedDuration:x,totalDuration:T,resolvedDuration:w}=c;if(this.startTime===null)return m.next(0);const{delay:M,repeat:k,repeatType:F,repeatDelay:V,onUpdate:_}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,r):this.speed<0&&(this.startTime=Math.min(r-T/this.speed,this.startTime)),u?this.currentTime=r:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(r-this.startTime)*this.speed;const j=this.currentTime-M*(this.speed>=0?1:-1),Z=this.speed>=0?j<0:j>T;this.currentTime=Math.max(j,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=T);let z=this.currentTime,q=m;if(k){const de=Math.min(this.currentTime,T)/w;let He=Math.floor(de),We=de%1;!We&&de>=1&&(We=1),We===1&&He--,He=Math.min(He,k+1),!!(He%2)&&(F==="reverse"?(We=1-We,V&&(We-=V/w)):F==="mirror"&&(q=h)),z=wl(0,1,We)*w}const H=Z?{done:!1,value:b[0]}:q.next(z);S&&(H.value=S(H.value));let{done:se}=H;!Z&&x!==null&&(se=this.speed>=0?this.currentTime>=T:this.currentTime<=0);const le=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&se);return le&&d!==void 0&&(H.value=nm(b,this.options,d)),_&&_(H.value),le&&this.finish(),H}get duration(){const{resolved:r}=this;return r?Nu(r.calculatedDuration):0}get time(){return Nu(this.currentTime)}set time(r){r=Lu(r),this.currentTime=r,this.holdTime!==null||this.speed===0?this.holdTime=r:this.driver&&(this.startTime=this.driver.now()-r/this.speed)}get speed(){return this.playbackSpeed}set speed(r){const u=this.playbackSpeed!==r;this.playbackSpeed=r,u&&(this.time=Nu(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:r=Ek,onPlay:u}=this.options;this.driver||(this.driver=r(d=>this.tick(d))),u&&u();const c=this.driver.now();this.holdTime!==null?this.startTime=c-this.holdTime:(!this.startTime||this.state==="finished")&&(this.startTime=c),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var r;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(r=this.currentTime)!==null&&r!==void 0?r:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:r}=this.options;r&&r()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(r){return this.startTime=0,this.tick(r,!0)}}const dT=i=>Array.isArray(i)&&typeof i[0]=="number";function pT(i){return!!(!i||typeof i=="string"&&i in cb||dT(i)||Array.isArray(i)&&i.every(pT))}const Rp=([i,r,u,c])=>`cubic-bezier(${i}, ${r}, ${u}, ${c})`,cb={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Rp([0,.65,.55,1]),circOut:Rp([.55,0,1,.45]),backIn:Rp([.31,.01,.66,-.59]),backOut:Rp([.33,1.53,.69,.99])};function wk(i){return hT(i)||cb.easeOut}function hT(i){if(i)return dT(i)?Rp(i):Array.isArray(i)?i.map(wk):cb[i]}function Ak(i,r,u,{delay:c=0,duration:d=300,repeat:m=0,repeatType:h="loop",ease:S,times:b}={}){const x={[r]:u};b&&(x.offset=b);const T=hT(S);return Array.isArray(T)&&(x.easing=T),i.animate(x,{delay:c,duration:d,easing:Array.isArray(T)?"linear":T,fill:"both",iterations:m+1,direction:h==="reverse"?"alternate":"normal"})}const Ik=UE(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),om=10,Dk=2e4;function Mk(i){return i.type==="spring"||!pT(i.ease)}function Ok(i,r){const u=new sb({...r,keyframes:i,repeat:0,delay:0,isGenerator:!0});let c={done:!1,value:i[0]};const d=[];let m=0;for(;!c.done&&m<Dk;)c=u.sample(m),d.push(c.value),m+=om;return{times:void 0,keyframes:d,duration:m-om,ease:"linear"}}class vT extends XE{constructor(r){super(r);const{name:u,motionValue:c,keyframes:d}=this.options;this.resolver=new jE(d,(m,h)=>this.onKeyframesResolved(m,h),u,c),this.resolver.scheduleResolve()}initPlayback(r,u){var c;let{duration:d=300,times:m,ease:h,type:S,motionValue:b,name:x}=this.options;if(!(!((c=b.owner)===null||c===void 0)&&c.current))return!1;if(Mk(this.options)){const{onComplete:w,onUpdate:M,motionValue:k,...F}=this.options,V=Ok(r,F);r=V.keyframes,r.length===1&&(r[1]=r[0]),d=V.duration,m=V.times,h=V.ease,S="keyframes"}const T=Ak(b.owner.current,x,r,{...this.options,duration:d,times:m,ease:h});return T.startTime=Dl.now(),this.pendingTimeline?(T.timeline=this.pendingTimeline,this.pendingTimeline=void 0):T.onfinish=()=>{const{onComplete:w}=this.options;b.set(nm(r,this.options,u)),w&&w(),this.cancel(),this.resolveFinishedPromise()},{animation:T,duration:d,times:m,type:S,ease:h,keyframes:r}}get duration(){const{resolved:r}=this;if(!r)return 0;const{duration:u}=r;return Nu(u)}get time(){const{resolved:r}=this;if(!r)return 0;const{animation:u}=r;return Nu(u.currentTime||0)}set time(r){const{resolved:u}=this;if(!u)return;const{animation:c}=u;c.currentTime=Lu(r)}get speed(){const{resolved:r}=this;if(!r)return 1;const{animation:u}=r;return u.playbackRate}set speed(r){const{resolved:u}=this;if(!u)return;const{animation:c}=u;c.playbackRate=r}get state(){const{resolved:r}=this;if(!r)return"idle";const{animation:u}=r;return u.playState}attachTimeline(r){if(!this._resolved)this.pendingTimeline=r;else{const{resolved:u}=this;if(!u)return zr;const{animation:c}=u;c.timeline=r,c.onfinish=null}return zr}play(){if(this.isStopped)return;const{resolved:r}=this;if(!r)return;const{animation:u}=r;u.playState==="finished"&&this.updateFinishedPromise(),u.play()}pause(){const{resolved:r}=this;if(!r)return;const{animation:u}=r;u.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;const{resolved:r}=this;if(!r)return;const{animation:u,keyframes:c,duration:d,type:m,ease:h,times:S}=r;if(u.playState==="idle"||u.playState==="finished")return;if(this.time){const{motionValue:x,onUpdate:T,onComplete:w,...M}=this.options,k=new sb({...M,keyframes:c,duration:d,type:m,ease:h,times:S,isGenerator:!0}),F=Lu(this.time);x.setWithVelocity(k.sample(F-om).value,k.sample(F).value,om)}const{onStop:b}=this.options;b&&b(),this.cancel()}complete(){const{resolved:r}=this;r&&r.animation.finish()}cancel(){const{resolved:r}=this;r&&r.animation.cancel()}static supports(r){const{motionValue:u,name:c,repeatDelay:d,repeatType:m,damping:h,type:S}=r;return Ik()&&c&&dE.has(c)&&u&&u.owner&&u.owner.current instanceof HTMLElement&&!u.owner.getProps().onUpdate&&!d&&m!=="mirror"&&h!==0&&S!=="inertia"}}function kk(i,r){let u;const c=()=>{const{currentTime:d}=r,h=(d===null?0:d.value)/100;u!==h&&i(h),u=h};return sn.update(c,!0),()=>Du(c)}const Lk=UE(()=>window.ScrollTimeline!==void 0);class Nk{constructor(r){this.stop=()=>this.runAll("stop"),this.animations=r.filter(Boolean)}then(r,u){return Promise.all(this.animations).then(r).catch(u)}getAll(r){return this.animations[0][r]}setAll(r,u){for(let c=0;c<this.animations.length;c++)this.animations[c][r]=u}attachTimeline(r){const u=this.animations.map(c=>{if(Lk()&&c.attachTimeline)c.attachTimeline(r);else return c.pause(),kk(d=>{c.time=c.duration*d},r)});return()=>{u.forEach((c,d)=>{c&&c(),this.animations[d].stop()})}}get time(){return this.getAll("time")}set time(r){this.setAll("time",r)}get speed(){return this.getAll("speed")}set speed(r){this.setAll("speed",r)}get duration(){let r=0;for(let u=0;u<this.animations.length;u++)r=Math.max(r,this.animations[u].duration);return r}runAll(r){this.animations.forEach(u=>u[r]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}const fb=(i,r,u,c={},d,m,h)=>S=>{const b=X0(c,i)||{},x=b.delay||c.delay||0;let{elapsed:T=0}=c;T=T-Lu(x);let w={keyframes:Array.isArray(u)?u:[null,u],ease:"easeOut",velocity:r.getVelocity(),...b,delay:-T,onUpdate:k=>{r.set(k),b.onUpdate&&b.onUpdate(k)},onComplete:()=>{S(),b.onComplete&&b.onComplete(),h&&h()},onStop:h,name:i,motionValue:r,element:m?void 0:d};mO(b)||(w={...w,...vO(i,w)}),w.duration&&(w.duration=Lu(w.duration)),w.repeatDelay&&(w.repeatDelay=Lu(w.repeatDelay)),w.from!==void 0&&(w.keyframes[0]=w.from);let M=!1;if((w.type===!1||w.duration===0&&!w.repeatDelay)&&(w.duration=0,w.delay===0&&(M=!0)),M&&!m&&r.get()!==void 0){const k=nm(w.keyframes,b);if(k!==void 0)return sn.update(()=>{w.onUpdate(k),w.onComplete()}),new Nk([])}return!m&&vT.supports(w)?new vT(w):new sb(w)};class db{constructor(){this.subscriptions=[]}add(r){return Kv(this.subscriptions,r),()=>qv(this.subscriptions,r)}notify(r,u,c){const d=this.subscriptions.length;if(d)if(d===1)this.subscriptions[0](r,u,c);else for(let m=0;m<d;m++){const h=this.subscriptions[m];h&&h(r,u,c)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const mT=new Set;function pb(i,r,u){i||mT.has(r)||(console.warn(r),mT.add(r))}const gT=30,Pk=i=>!isNaN(parseFloat(i));class yT{constructor(r,u={}){this.version="11.3.8",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(c,d=!0)=>{const m=Dl.now();this.updatedAt!==m&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(c),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),d&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(r),this.owner=u.owner}setCurrent(r){this.current=r,this.updatedAt=Dl.now(),this.canTrackVelocity===null&&r!==void 0&&(this.canTrackVelocity=Pk(this.current))}setPrevFrameValue(r=this.current){this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt}onChange(r){return process.env.NODE_ENV!=="production"&&pb(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",r)}on(r,u){this.events[r]||(this.events[r]=new db);const c=this.events[r].add(u);return r==="change"?()=>{c(),sn.read(()=>{this.events.change.getSize()||this.stop()})}:c}clearListeners(){for(const r in this.events)this.events[r].clear()}attach(r,u){this.passiveEffect=r,this.stopPassiveEffect=u}set(r,u=!0){!u||!this.passiveEffect?this.updateAndNotify(r,u):this.passiveEffect(r,this.updateAndNotify)}setWithVelocity(r,u,c){this.set(u),this.prev=void 0,this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt-c}jump(r,u=!0){this.updateAndNotify(r),this.prev=r,this.prevUpdatedAt=this.prevFrameValue=void 0,u&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const r=Dl.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||r-this.updatedAt>gT)return 0;const u=Math.min(this.updatedAt-this.prevUpdatedAt,gT);return ZE(parseFloat(this.current)-parseFloat(this.prevFrameValue),u)}start(r){return this.stop(),new Promise(u=>{this.hasAnimated=!0,this.animation=r(u),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function wp(i,r){return new yT(i,r)}function Fk(i,r,u){i.hasValue(r)?i.getValue(r).set(u):i.addValue(r,wp(u))}function Vk(i,r){const u=tm(i,r);let{transitionEnd:c={},transition:d={},...m}=u||{};m={...m,...c};for(const h in m){const S=WM(m[h]);Fk(i,h,S)}}function bT(i){return i.getProps()[Gx]}class _k extends yT{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(r){const u=pE(r);if(!u)return;const c=this.counts.get(u)||0;this.counts.set(u,c+1),c===0&&(this.output.push(u),this.update());let d=!1;return()=>{if(d)return;d=!0;const m=this.counts.get(u)-1;this.counts.set(u,m),m===0&&(qv(this.output,u),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}}function Bk(i){return!!(ui(i)&&i.add)}function hb(i,r){var u;if(!i.applyWillChange)return;let c=i.getValue("willChange");if(!c&&!(!((u=i.props.style)===null||u===void 0)&&u.willChange)&&(c=new _k("auto"),i.addValue("willChange",c)),Bk(c))return c.add(r)}function zk({protectedKeys:i,needsAnimating:r},u){const c=i.hasOwnProperty(u)&&r[u]!==!0;return r[u]=!1,c}function CT(i,r,{delay:u=0,transitionOverride:c,type:d}={}){var m;let{transition:h=i.getDefaultTransition(),transitionEnd:S,...b}=r;c&&(h=c);const x=[],T=d&&i.animationState&&i.animationState.getState()[d];for(const w in b){const M=i.getValue(w,(m=i.latestValues[w])!==null&&m!==void 0?m:null),k=b[w];if(k===void 0||T&&zk(T,w))continue;const F={delay:u,elapsed:0,...X0(h||{},w)};let V=!1;if(window.HandoffAppearAnimations){const j=bT(i);if(j){const Z=window.HandoffAppearAnimations(j,w,M,sn);Z!==null&&(F.elapsed=Z,V=!0)}}M.start(fb(w,M,k,i.shouldReduceMotion&&Rl.has(w)?{type:!1}:F,i,V,hb(i,w)));const _=M.animation;_&&x.push(_)}return S&&Promise.all(x).then(()=>{sn.update(()=>{S&&Vk(i,S)})}),x}function vb(i,r,u={}){var c;const d=tm(i,r,u.type==="exit"?(c=i.presenceContext)===null||c===void 0?void 0:c.custom:void 0);let{transition:m=i.getDefaultTransition()||{}}=d||{};u.transitionOverride&&(m=u.transitionOverride);const h=d?()=>Promise.all(CT(i,d,u)):()=>Promise.resolve(),S=i.variantChildren&&i.variantChildren.size?(x=0)=>{const{delayChildren:T=0,staggerChildren:w,staggerDirection:M}=m;return Hk(i,r,T+x,w,M,u)}:()=>Promise.resolve(),{when:b}=m;if(b){const[x,T]=b==="beforeChildren"?[h,S]:[S,h];return x().then(()=>T())}else return Promise.all([h(),S(u.delay)])}function Hk(i,r,u=0,c=0,d=1,m){const h=[],S=(i.variantChildren.size-1)*c,b=d===1?(x=0)=>x*c:(x=0)=>S-x*c;return Array.from(i.variantChildren).sort(Gk).forEach((x,T)=>{x.notify("AnimationStart",r),h.push(vb(x,r,{...m,delay:u+b(T)}).then(()=>x.notify("AnimationComplete",r)))}),Promise.all(h)}function Gk(i,r){return i.sortNodePosition(r)}function jk(i,r,u={}){i.notify("AnimationStart",r);let c;if(Array.isArray(r)){const d=r.map(m=>vb(i,m,u));c=Promise.all(d)}else if(typeof r=="string")c=vb(i,r,u);else{const d=typeof r=="function"?tm(i,r,u.custom):r;c=Promise.all(CT(i,d,u))}return c.then(()=>{sn.postRender(()=>{i.notify("AnimationComplete",r)})})}const Uk=[...D0].reverse(),Wk=D0.length;function Xk(i){return r=>Promise.all(r.map(({animation:u,options:c})=>jk(i,u,c)))}function Zk(i){let r=Xk(i),u=ST(),c=!0;const d=b=>(x,T)=>{var w;const M=tm(i,T,b==="exit"?(w=i.presenceContext)===null||w===void 0?void 0:w.custom:void 0);if(M){const{transition:k,transitionEnd:F,...V}=M;x={...x,...V,...F}}return x};function m(b){r=b(i)}function h(b){const x=i.getProps(),T=i.getVariantContext(!0)||{},w=[],M=new Set;let k={},F=1/0;for(let _=0;_<Wk;_++){const j=Uk[_],Z=u[j],z=x[j]!==void 0?x[j]:T[j],q=vp(z),H=j===b?Z.isActive:null;H===!1&&(F=_);let se=z===T[j]&&z!==x[j]&&q;if(se&&c&&i.manuallyAnimateOnMount&&(se=!1),Z.protectedKeys={...k},!Z.isActive&&H===null||!z&&!Z.prevProp||mp(z)||typeof z=="boolean")continue;let de=Yk(Z.prevProp,z)||j===b&&Z.isActive&&!se&&q||_>F&&q,He=!1;const We=Array.isArray(z)?z:[z];let nt=We.reduce(d(j),{});H===!1&&(nt={});const{prevResolvedValues:Rt={}}=Z,Be={...Rt,...nt},qe=Ve=>{de=!0,M.has(Ve)&&(He=!0,M.delete(Ve)),Z.needsAnimating[Ve]=!0;const ze=i.getValue(Ve);ze&&(ze.liveStyle=!1)};for(const Ve in Be){const ze=nt[Ve],Te=Rt[Ve];if(k.hasOwnProperty(Ve))continue;let fe=!1;H0(ze)&&H0(Te)?fe=!TE(ze,Te):fe=ze!==Te,fe?ze!=null?qe(Ve):M.add(Ve):ze!==void 0&&M.has(Ve)?qe(Ve):Z.protectedKeys[Ve]=!0}Z.prevProp=z,Z.prevResolvedValues=nt,Z.isActive&&(k={...k,...nt}),c&&i.blockInitialAnimation&&(de=!1),de&&(!se||He)&&w.push(...We.map(Ve=>({animation:Ve,options:{type:j}})))}if(M.size){const _={};M.forEach(j=>{const Z=i.getBaseTarget(j),z=i.getValue(j);z&&(z.liveStyle=!0),_[j]=Z??null}),w.push({animation:_})}let V=!!w.length;return c&&(x.initial===!1||x.initial===x.animate)&&!i.manuallyAnimateOnMount&&(V=!1),c=!1,V?r(w):Promise.resolve()}function S(b,x){var T;if(u[b].isActive===x)return Promise.resolve();(T=i.variantChildren)===null||T===void 0||T.forEach(M=>{var k;return(k=M.animationState)===null||k===void 0?void 0:k.setActive(b,x)}),u[b].isActive=x;const w=h(b);for(const M in u)u[M].protectedKeys={};return w}return{animateChanges:h,setActive:S,setAnimateFunction:m,getState:()=>u,reset:()=>{u=ST(),c=!0}}}function Yk(i,r){return typeof r=="string"?r!==i:Array.isArray(r)?!TE(r,i):!1}function Ys(i=!1){return{isActive:i,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ST(){return{animate:Ys(!0),whileInView:Ys(),whileHover:Ys(),whileTap:Ys(),whileDrag:Ys(),whileFocus:Ys(),exit:Ys()}}class $k extends Il{constructor(r){super(r),r.animationState||(r.animationState=Zk(r))}updateAnimationControlsSubscription(){const{animate:r}=this.node.getProps();mp(r)&&(this.unmountControls=r.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:r}=this.node.getProps(),{animate:u}=this.node.prevProps||{};r!==u&&this.updateAnimationControlsSubscription()}unmount(){var r;this.node.animationState.reset(),(r=this.unmountControls)===null||r===void 0||r.call(this)}}let Jk=0;class Qk extends Il{constructor(){super(...arguments),this.id=Jk++}update(){if(!this.node.presenceContext)return;const{isPresent:r,onExitComplete:u}=this.node.presenceContext,{isPresent:c}=this.node.prevPresenceContext||{};if(!this.node.animationState||r===c)return;const d=this.node.animationState.setActive("exit",!r);u&&!r&&d.then(()=>u(this.id))}mount(){const{register:r}=this.node.presenceContext||{};r&&(this.unmount=r(this.id))}unmount(){}}const Kk={animation:{Feature:$k},exit:{Feature:Qk}},xT=(i,r)=>Math.abs(i-r);function qk(i,r){const u=xT(i.x,r.x),c=xT(i.y,r.y);return Math.sqrt(u**2+c**2)}class ET{constructor(r,u,{transformPagePoint:c,contextWindow:d,dragSnapToOrigin:m=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const w=gb(this.lastMoveEventInfo,this.history),M=this.startEvent!==null,k=qk(w.offset,{x:0,y:0})>=3;if(!M&&!k)return;const{point:F}=w,{timestamp:V}=Hr;this.history.push({...F,timestamp:V});const{onStart:_,onMove:j}=this.handlers;M||(_&&_(this.lastMoveEvent,w),this.startEvent=this.lastMoveEvent),j&&j(this.lastMoveEvent,w)},this.handlePointerMove=(w,M)=>{this.lastMoveEvent=w,this.lastMoveEventInfo=mb(M,this.transformPagePoint),sn.update(this.updatePoint,!0)},this.handlePointerUp=(w,M)=>{this.end();const{onEnd:k,onSessionEnd:F,resumeAnimation:V}=this.handlers;if(this.dragSnapToOrigin&&V&&V(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const _=gb(w.type==="pointercancel"?this.lastMoveEventInfo:mb(M,this.transformPagePoint),this.history);this.startEvent&&k&&k(w,_),F&&F(w,_)},!mE(r))return;this.dragSnapToOrigin=m,this.handlers=u,this.transformPagePoint=c,this.contextWindow=d||window;const h=em(r),S=mb(h,this.transformPagePoint),{point:b}=S,{timestamp:x}=Hr;this.history=[{...b,timestamp:x}];const{onSessionStart:T}=u;T&&T(r,gb(S,this.history)),this.removeListeners=ku(Ou(this.contextWindow,"pointermove",this.handlePointerMove),Ou(this.contextWindow,"pointerup",this.handlePointerUp),Ou(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(r){this.handlers=r}end(){this.removeListeners&&this.removeListeners(),Du(this.updatePoint)}}function mb(i,r){return r?{point:r(i.point)}:i}function TT(i,r){return{x:i.x-r.x,y:i.y-r.y}}function gb({point:i},r){return{point:i,delta:TT(i,RT(r)),offset:TT(i,eL(r)),velocity:tL(r,.1)}}function eL(i){return i[0]}function RT(i){return i[i.length-1]}function tL(i,r){if(i.length<2)return{x:0,y:0};let u=i.length-1,c=null;const d=RT(i);for(;u>=0&&(c=i[u],!(d.timestamp-c.timestamp>Lu(r)));)u--;if(!c)return{x:0,y:0};const m=Nu(d.timestamp-c.timestamp);if(m===0)return{x:0,y:0};const h={x:(d.x-c.x)/m,y:(d.y-c.y)/m};return h.x===1/0&&(h.x=0),h.y===1/0&&(h.y=0),h}const wT=1e-4,nL=1-wT,rL=1+wT,AT=.01,iL=0-AT,aL=0+AT;function Sa(i){return i.max-i.min}function oL(i,r,u){return Math.abs(i-r)<=u}function IT(i,r,u,c=.5){i.origin=c,i.originPoint=Hn(r.min,r.max,i.origin),i.scale=Sa(u)/Sa(r),i.translate=Hn(u.min,u.max,i.origin)-i.originPoint,(i.scale>=nL&&i.scale<=rL||isNaN(i.scale))&&(i.scale=1),(i.translate>=iL&&i.translate<=aL||isNaN(i.translate))&&(i.translate=0)}function Ap(i,r,u,c){IT(i.x,r.x,u.x,c?c.originX:void 0),IT(i.y,r.y,u.y,c?c.originY:void 0)}function DT(i,r,u){i.min=u.min+r.min,i.max=i.min+Sa(r)}function uL(i,r,u){DT(i.x,r.x,u.x),DT(i.y,r.y,u.y)}function MT(i,r,u){i.min=r.min-u.min,i.max=i.min+Sa(r)}function Ip(i,r,u){MT(i.x,r.x,u.x),MT(i.y,r.y,u.y)}function lL(i,{min:r,max:u},c){return r!==void 0&&i<r?i=c?Hn(r,i,c.min):Math.max(i,r):u!==void 0&&i>u&&(i=c?Hn(u,i,c.max):Math.min(i,u)),i}function OT(i,r,u){return{min:r!==void 0?i.min+r:void 0,max:u!==void 0?i.max+u-(i.max-i.min):void 0}}function sL(i,{top:r,left:u,bottom:c,right:d}){return{x:OT(i.x,u,d),y:OT(i.y,r,c)}}function kT(i,r){let u=r.min-i.min,c=r.max-i.max;return r.max-r.min<i.max-i.min&&([u,c]=[c,u]),{min:u,max:c}}function cL(i,r){return{x:kT(i.x,r.x),y:kT(i.y,r.y)}}function fL(i,r){let u=.5;const c=Sa(i),d=Sa(r);return d>c?u=Tp(r.min,r.max-c,i.min):c>d&&(u=Tp(i.min,i.max-d,r.min)),wl(0,1,u)}function dL(i,r){const u={};return r.min!==void 0&&(u.min=r.min-i.min),r.max!==void 0&&(u.max=r.max-i.min),u}const yb=.35;function pL(i=yb){return i===!1?i=0:i===!0&&(i=yb),{x:LT(i,"left","right"),y:LT(i,"top","bottom")}}function LT(i,r,u){return{min:NT(i,r),max:NT(i,u)}}function NT(i,r){return typeof i=="number"?i:i[r]||0}const PT=()=>({translate:0,scale:1,origin:0,originPoint:0}),pf=()=>({x:PT(),y:PT()}),FT=()=>({min:0,max:0}),nr=()=>({x:FT(),y:FT()});function Pa(i){return[i("x"),i("y")]}function VT({top:i,left:r,right:u,bottom:c}){return{x:{min:r,max:u},y:{min:i,max:c}}}function hL({x:i,y:r}){return{top:r.min,right:i.max,bottom:r.max,left:i.min}}function vL(i,r){if(!r)return i;const u=r({x:i.left,y:i.top}),c=r({x:i.right,y:i.bottom});return{top:u.y,left:u.x,bottom:c.y,right:c.x}}function bb(i){return i===void 0||i===1}function Cb({scale:i,scaleX:r,scaleY:u}){return!bb(i)||!bb(r)||!bb(u)}function $s(i){return Cb(i)||_T(i)||i.z||i.rotate||i.rotateX||i.rotateY||i.skewX||i.skewY}function _T(i){return BT(i.x)||BT(i.y)}function BT(i){return i&&i!=="0%"}function um(i,r,u){const c=i-u,d=r*c;return u+d}function zT(i,r,u,c,d){return d!==void 0&&(i=um(i,d,c)),um(i,u,c)+r}function Sb(i,r=0,u=1,c,d){i.min=zT(i.min,r,u,c,d),i.max=zT(i.max,r,u,c,d)}function HT(i,{x:r,y:u}){Sb(i.x,r.translate,r.scale,r.originPoint),Sb(i.y,u.translate,u.scale,u.originPoint)}const GT=.999999999999,jT=1.0000000000001;function mL(i,r,u,c=!1){const d=u.length;if(!d)return;r.x=r.y=1;let m,h;for(let S=0;S<d;S++){m=u[S],h=m.projectionDelta;const{visualElement:b}=m.options;b&&b.props.style&&b.props.style.display==="contents"||(c&&m.options.layoutScroll&&m.scroll&&m!==m.root&&hf(i,{x:-m.scroll.offset.x,y:-m.scroll.offset.y}),h&&(r.x*=h.x.scale,r.y*=h.y.scale,HT(i,h)),c&&$s(m.latestValues)&&hf(i,m.latestValues))}r.x<jT&&r.x>GT&&(r.x=1),r.y<jT&&r.y>GT&&(r.y=1)}function Ol(i,r){i.min=i.min+r,i.max=i.max+r}function UT(i,r,u,c,d=.5){const m=Hn(i.min,i.max,d);Sb(i,r,u,m,c)}function hf(i,r){UT(i.x,r.x,r.scaleX,r.scale,r.originX),UT(i.y,r.y,r.scaleY,r.scale,r.originY)}function WT(i,r){return VT(vL(i.getBoundingClientRect(),r))}function gL(i,r,u){const c=WT(i,u),{scroll:d}=r;return d&&(Ol(c.x,d.offset.x),Ol(c.y,d.offset.y)),c}const XT=({current:i})=>i?i.ownerDocument.defaultView:null,yL=new WeakMap;class bL{constructor(r){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=nr(),this.visualElement=r}start(r,{snapToCursor:u=!1}={}){const{presenceContext:c}=this.visualElement;if(c&&c.isPresent===!1)return;const d=T=>{const{dragSnapToOrigin:w}=this.getProps();w?this.pauseAnimation():this.stopAnimation(),u&&this.snapToCursor(em(T,"page").point)},m=(T,w)=>{var M;const{drag:k,dragPropagation:F,onDragStart:V}=this.getProps();if(k&&!F&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=CE(k),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Pa(j=>{let Z=this.getAxisMotionValue(j).get()||0;if(zo.test(Z)){const{projection:z}=this.visualElement;if(z&&z.layout){const q=z.layout.layoutBox[j];q&&(Z=Sa(q)*(parseFloat(Z)/100))}}this.originPoint[j]=Z}),V&&sn.postRender(()=>V(T,w)),(M=this.removeWillChange)===null||M===void 0||M.call(this),this.removeWillChange=hb(this.visualElement,"transform");const{animationState:_}=this.visualElement;_&&_.setActive("whileDrag",!0)},h=(T,w)=>{const{dragPropagation:M,dragDirectionLock:k,onDirectionLock:F,onDrag:V}=this.getProps();if(!M&&!this.openGlobalLock)return;const{offset:_}=w;if(k&&this.currentDirection===null){this.currentDirection=CL(_),this.currentDirection!==null&&F&&F(this.currentDirection);return}this.updateAxis("x",w.point,_),this.updateAxis("y",w.point,_),this.visualElement.render(),V&&V(T,w)},S=(T,w)=>this.stop(T,w),b=()=>Pa(T=>{var w;return this.getAnimationState(T)==="paused"&&((w=this.getAxisMotionValue(T).animation)===null||w===void 0?void 0:w.play())}),{dragSnapToOrigin:x}=this.getProps();this.panSession=new ET(r,{onSessionStart:d,onStart:m,onMove:h,onSessionEnd:S,resumeAnimation:b},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:x,contextWindow:XT(this.visualElement)})}stop(r,u){var c;(c=this.removeWillChange)===null||c===void 0||c.call(this);const d=this.isDragging;if(this.cancel(),!d)return;const{velocity:m}=u;this.startAnimation(m);const{onDragEnd:h}=this.getProps();h&&sn.postRender(()=>h(r,u))}cancel(){this.isDragging=!1;const{projection:r,animationState:u}=this.visualElement;r&&(r.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:c}=this.getProps();!c&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),u&&u.setActive("whileDrag",!1)}updateAxis(r,u,c){const{drag:d}=this.getProps();if(!c||!lm(r,d,this.currentDirection))return;const m=this.getAxisMotionValue(r);let h=this.originPoint[r]+c[r];this.constraints&&this.constraints[r]&&(h=lL(h,this.constraints[r],this.elastic[r])),m.set(h)}resolveConstraints(){var r;const{dragConstraints:u,dragElastic:c}=this.getProps(),d=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(r=this.visualElement.projection)===null||r===void 0?void 0:r.layout,m=this.constraints;u&&uf(u)?this.constraints||(this.constraints=this.resolveRefConstraints()):u&&d?this.constraints=sL(d.layoutBox,u):this.constraints=!1,this.elastic=pL(c),m!==this.constraints&&d&&this.constraints&&!this.hasMutatedConstraints&&Pa(h=>{this.constraints!==!1&&this.getAxisMotionValue(h)&&(this.constraints[h]=dL(d.layoutBox[h],this.constraints[h]))})}resolveRefConstraints(){const{dragConstraints:r,onMeasureDragConstraints:u}=this.getProps();if(!r||!uf(r))return!1;const c=r.current;Iu(c!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:d}=this.visualElement;if(!d||!d.layout)return!1;const m=gL(c,d.root,this.visualElement.getTransformPagePoint());let h=cL(d.layout.layoutBox,m);if(u){const S=u(hL(h));this.hasMutatedConstraints=!!S,S&&(h=VT(S))}return h}startAnimation(r){const{drag:u,dragMomentum:c,dragElastic:d,dragTransition:m,dragSnapToOrigin:h,onDragTransitionEnd:S}=this.getProps(),b=this.constraints||{},x=Pa(T=>{if(!lm(T,u,this.currentDirection))return;let w=b&&b[T]||{};h&&(w={min:0,max:0});const M=d?200:1e6,k=d?40:1e7,F={type:"inertia",velocity:c?r[T]:0,bounceStiffness:M,bounceDamping:k,timeConstant:750,restDelta:1,restSpeed:10,...m,...w};return this.startAxisValueAnimation(T,F)});return Promise.all(x).then(S)}startAxisValueAnimation(r,u){const c=this.getAxisMotionValue(r);return c.start(fb(r,c,0,u,this.visualElement,!1,hb(this.visualElement,r)))}stopAnimation(){Pa(r=>this.getAxisMotionValue(r).stop())}pauseAnimation(){Pa(r=>{var u;return(u=this.getAxisMotionValue(r).animation)===null||u===void 0?void 0:u.pause()})}getAnimationState(r){var u;return(u=this.getAxisMotionValue(r).animation)===null||u===void 0?void 0:u.state}getAxisMotionValue(r){const u=`_drag${r.toUpperCase()}`,c=this.visualElement.getProps(),d=c[u];return d||this.visualElement.getValue(r,(c.initial?c.initial[r]:void 0)||0)}snapToCursor(r){Pa(u=>{const{drag:c}=this.getProps();if(!lm(u,c,this.currentDirection))return;const{projection:d}=this.visualElement,m=this.getAxisMotionValue(u);if(d&&d.layout){const{min:h,max:S}=d.layout.layoutBox[u];m.set(r[u]-Hn(h,S,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:r,dragConstraints:u}=this.getProps(),{projection:c}=this.visualElement;if(!uf(u)||!c||!this.constraints)return;this.stopAnimation();const d={x:0,y:0};Pa(h=>{const S=this.getAxisMotionValue(h);if(S&&this.constraints!==!1){const b=S.get();d[h]=fL({min:b,max:b},this.constraints[h])}});const{transformTemplate:m}=this.visualElement.getProps();this.visualElement.current.style.transform=m?m({},""):"none",c.root&&c.root.updateScroll(),c.updateLayout(),this.resolveConstraints(),Pa(h=>{if(!lm(h,r,null))return;const S=this.getAxisMotionValue(h),{min:b,max:x}=this.constraints[h];S.set(Hn(b,x,d[h]))})}addListeners(){if(!this.visualElement.current)return;yL.set(this.visualElement,this);const r=this.visualElement.current,u=Ou(r,"pointerdown",b=>{const{drag:x,dragListener:T=!0}=this.getProps();x&&T&&this.start(b)}),c=()=>{const{dragConstraints:b}=this.getProps();uf(b)&&b.current&&(this.constraints=this.resolveRefConstraints())},{projection:d}=this.visualElement,m=d.addEventListener("measure",c);d&&!d.layout&&(d.root&&d.root.updateScroll(),d.updateLayout()),sn.read(c);const h=Mu(window,"resize",()=>this.scalePositionWithinConstraints()),S=d.addEventListener("didUpdate",({delta:b,hasLayoutChanged:x})=>{this.isDragging&&x&&(Pa(T=>{const w=this.getAxisMotionValue(T);w&&(this.originPoint[T]+=b[T].translate,w.set(w.get()+b[T].translate))}),this.visualElement.render())});return()=>{h(),u(),m(),S&&S()}}getProps(){const r=this.visualElement.getProps(),{drag:u=!1,dragDirectionLock:c=!1,dragPropagation:d=!1,dragConstraints:m=!1,dragElastic:h=yb,dragMomentum:S=!0}=r;return{...r,drag:u,dragDirectionLock:c,dragPropagation:d,dragConstraints:m,dragElastic:h,dragMomentum:S}}}function lm(i,r,u){return(r===!0||r===i)&&(u===null||u===i)}function CL(i,r=10){let u=null;return Math.abs(i.y)>r?u="y":Math.abs(i.x)>r&&(u="x"),u}class SL extends Il{constructor(r){super(r),this.removeGroupControls=zr,this.removeListeners=zr,this.controls=new bL(r)}mount(){const{dragControls:r}=this.node.getProps();r&&(this.removeGroupControls=r.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||zr}unmount(){this.removeGroupControls(),this.removeListeners()}}const ZT=i=>(r,u)=>{i&&sn.postRender(()=>i(r,u))};class xL extends Il{constructor(){super(...arguments),this.removePointerDownListener=zr}onPointerDown(r){this.session=new ET(r,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:XT(this.node)})}createPanHandlers(){const{onPanSessionStart:r,onPanStart:u,onPan:c,onPanEnd:d}=this.node.getProps();return{onSessionStart:ZT(r),onStart:ZT(u),onMove:c,onEnd:(m,h)=>{delete this.session,d&&sn.postRender(()=>d(m,h))}}}mount(){this.removePointerDownListener=Ou(this.node.current,"pointerdown",r=>this.onPointerDown(r))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function EL(){const i=Y.useContext(Uv);if(i===null)return[!0,null];const{isPresent:r,onExitComplete:u,register:c}=i,d=Y.useId();return Y.useEffect(()=>c(d),[]),!r&&u?[!1,()=>u&&u(d)]:[!0]}const sm={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function YT(i,r){return r.max===r.min?0:i/(r.max-r.min)*100}const Dp={correct:(i,r)=>{if(!r.target)return i;if(typeof i=="string")if(mt.test(i))i=parseFloat(i);else return i;const u=YT(i,r.target.x),c=YT(i,r.target.y);return`${u}% ${c}%`}},TL={correct:(i,{treeScale:r,projectionDelta:u})=>{const c=i,d=Ml.parse(i);if(d.length>5)return c;const m=Ml.createTransformer(i),h=typeof d[0]!="number"?1:0,S=u.x.scale*r.x,b=u.y.scale*r.y;d[0+h]/=S,d[1+h]/=b;const x=Hn(S,b,.5);return typeof d[2+h]=="number"&&(d[2+h]/=x),typeof d[3+h]=="number"&&(d[3+h]/=x),m(d)}};class RL extends Y.Component{componentDidMount(){const{visualElement:r,layoutGroup:u,switchLayoutGroup:c,layoutId:d}=this.props,{projection:m}=r;CM(wL),m&&(u.group&&u.group.add(m),c&&c.register&&d&&c.register(m),m.root.didUpdate(),m.addEventListener("animationComplete",()=>{this.safeToRemove()}),m.setOptions({...m.options,onExitComplete:()=>this.safeToRemove()})),sm.hasEverUpdated=!0}getSnapshotBeforeUpdate(r){const{layoutDependency:u,visualElement:c,drag:d,isPresent:m}=this.props,h=c.projection;return h&&(h.isPresent=m,d||r.layoutDependency!==u||u===void 0?h.willUpdate():this.safeToRemove(),r.isPresent!==m&&(m?h.promote():h.relegate()||sn.postRender(()=>{const S=h.getStack();(!S||!S.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:r}=this.props.visualElement;r&&(r.root.didUpdate(),I0.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:r,layoutGroup:u,switchLayoutGroup:c}=this.props,{projection:d}=r;d&&(d.scheduleCheckAfterUnmount(),u&&u.group&&u.group.remove(d),c&&c.deregister&&c.deregister(d))}safeToRemove(){const{safeToRemove:r}=this.props;r&&r()}render(){return null}}function $T(i){const[r,u]=EL(),c=Y.useContext(O0);return Ee.jsx(RL,{...i,layoutGroup:c,switchLayoutGroup:Y.useContext(Ux),isPresent:r,safeToRemove:u})}const wL={borderRadius:{...Dp,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Dp,borderTopRightRadius:Dp,borderBottomLeftRadius:Dp,borderBottomRightRadius:Dp,boxShadow:TL},JT=["TopLeft","TopRight","BottomLeft","BottomRight"],AL=JT.length,QT=i=>typeof i=="string"?parseFloat(i):i,KT=i=>typeof i=="number"||mt.test(i);function IL(i,r,u,c,d,m){d?(i.opacity=Hn(0,u.opacity!==void 0?u.opacity:1,DL(c)),i.opacityExit=Hn(r.opacity!==void 0?r.opacity:1,0,ML(c))):m&&(i.opacity=Hn(r.opacity!==void 0?r.opacity:1,u.opacity!==void 0?u.opacity:1,c));for(let h=0;h<AL;h++){const S=`border${JT[h]}Radius`;let b=qT(r,S),x=qT(u,S);if(b===void 0&&x===void 0)continue;b||(b=0),x||(x=0),b===0||x===0||KT(b)===KT(x)?(i[S]=Math.max(Hn(QT(b),QT(x),c),0),(zo.test(x)||zo.test(b))&&(i[S]+="%")):i[S]=x}(r.rotate||u.rotate)&&(i.rotate=Hn(r.rotate||0,u.rotate||0,c))}function qT(i,r){return i[r]!==void 0?i[r]:i.borderRadius}const DL=eR(0,.5,rT),ML=eR(.5,.95,zr);function eR(i,r,u){return c=>c<i?0:c>r?1:u(Tp(i,r,c))}function tR(i,r){i.min=r.min,i.max=r.max}function Fa(i,r){tR(i.x,r.x),tR(i.y,r.y)}function nR(i,r){i.translate=r.translate,i.scale=r.scale,i.originPoint=r.originPoint,i.origin=r.origin}function rR(i,r,u,c,d){return i-=r,i=um(i,1/u,c),d!==void 0&&(i=um(i,1/d,c)),i}function OL(i,r=0,u=1,c=.5,d,m=i,h=i){if(zo.test(r)&&(r=parseFloat(r),r=Hn(h.min,h.max,r/100)-h.min),typeof r!="number")return;let S=Hn(m.min,m.max,c);i===m&&(S-=r),i.min=rR(i.min,r,u,S,d),i.max=rR(i.max,r,u,S,d)}function iR(i,r,[u,c,d],m,h){OL(i,r[u],r[c],r[d],r.scale,m,h)}const kL=["x","scaleX","originX"],LL=["y","scaleY","originY"];function aR(i,r,u,c){iR(i.x,r,kL,u?u.x:void 0,c?c.x:void 0),iR(i.y,r,LL,u?u.y:void 0,c?c.y:void 0)}function oR(i){return i.translate===0&&i.scale===1}function uR(i){return oR(i.x)&&oR(i.y)}function NL(i,r){return i.x.min===r.x.min&&i.x.max===r.x.max&&i.y.min===r.y.min&&i.y.max===r.y.max}function lR(i,r){return Math.round(i.x.min)===Math.round(r.x.min)&&Math.round(i.x.max)===Math.round(r.x.max)&&Math.round(i.y.min)===Math.round(r.y.min)&&Math.round(i.y.max)===Math.round(r.y.max)}function sR(i){return Sa(i.x)/Sa(i.y)}function cR(i,r){return i.translate===r.translate&&i.scale===r.scale&&i.originPoint===r.originPoint}class PL{constructor(){this.members=[]}add(r){Kv(this.members,r),r.scheduleRender()}remove(r){if(qv(this.members,r),r===this.prevLead&&(this.prevLead=void 0),r===this.lead){const u=this.members[this.members.length-1];u&&this.promote(u)}}relegate(r){const u=this.members.findIndex(d=>r===d);if(u===0)return!1;let c;for(let d=u;d>=0;d--){const m=this.members[d];if(m.isPresent!==!1){c=m;break}}return c?(this.promote(c),!0):!1}promote(r,u){const c=this.lead;if(r!==c&&(this.prevLead=c,this.lead=r,r.show(),c)){c.instance&&c.scheduleRender(),r.scheduleRender(),r.resumeFrom=c,u&&(r.resumeFrom.preserveOpacity=!0),c.snapshot&&(r.snapshot=c.snapshot,r.snapshot.latestValues=c.animationValues||c.latestValues),r.root&&r.root.isUpdating&&(r.isLayoutDirty=!0);const{crossfade:d}=r.options;d===!1&&c.hide()}}exitAnimationComplete(){this.members.forEach(r=>{const{options:u,resumingFrom:c}=r;u.onExitComplete&&u.onExitComplete(),c&&c.options.onExitComplete&&c.options.onExitComplete()})}scheduleRender(){this.members.forEach(r=>{r.instance&&r.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function FL(i,r,u){let c="";const d=i.x.translate/r.x,m=i.y.translate/r.y,h=(u==null?void 0:u.z)||0;if((d||m||h)&&(c=`translate3d(${d}px, ${m}px, ${h}px) `),(r.x!==1||r.y!==1)&&(c+=`scale(${1/r.x}, ${1/r.y}) `),u){const{transformPerspective:x,rotate:T,rotateX:w,rotateY:M,skewX:k,skewY:F}=u;x&&(c=`perspective(${x}px) ${c}`),T&&(c+=`rotate(${T}deg) `),w&&(c+=`rotateX(${w}deg) `),M&&(c+=`rotateY(${M}deg) `),k&&(c+=`skewX(${k}deg) `),F&&(c+=`skewY(${F}deg) `)}const S=i.x.scale*r.x,b=i.y.scale*r.y;return(S!==1||b!==1)&&(c+=`scale(${S}, ${b})`),c||"none"}const VL=(i,r)=>i.depth-r.depth;class _L{constructor(){this.children=[],this.isDirty=!1}add(r){Kv(this.children,r),this.isDirty=!0}remove(r){qv(this.children,r),this.isDirty=!0}forEach(r){this.isDirty&&this.children.sort(VL),this.isDirty=!1,this.children.forEach(r)}}function BL(i,r){const u=Dl.now(),c=({timestamp:d})=>{const m=d-u;m>=r&&(Du(c),i(m-r))};return sn.read(c,!0),()=>Du(c)}function zL(i){return i instanceof SVGElement&&i.tagName!=="svg"}function HL(i,r,u){const c=ui(i)?i:wp(i);return c.start(fb("",c,r,u)),c.animation}const Js={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},xb=["","X","Y","Z"],GL={visibility:"hidden"},fR=1e3;let jL=0;function Eb(i,r,u,c){const{latestValues:d}=r;d[i]&&(u[i]=d[i],r.setStaticValue(i,0),c&&(c[i]=0))}function dR(i){if(i.hasCheckedOptimisedAppear=!0,i.root===i)return!1;const{visualElement:r}=i.options;return r?bT(r)?!0:i.parent&&!i.parent.hasCheckedOptimisedAppear?dR(i.parent):!1:!1}function pR({attachResizeListener:i,defaultParent:r,measureScroll:u,checkIsScrollRoot:c,resetTransform:d}){return class{constructor(h={},S=r==null?void 0:r()){this.id=jL++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,window.MotionDebug&&(Js.totalNodes=Js.resolvedTargetDeltas=Js.recalculatedProjection=0),this.nodes.forEach(XL),this.nodes.forEach(QL),this.nodes.forEach(KL),this.nodes.forEach(ZL),window.MotionDebug&&window.MotionDebug.record(Js)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=h,this.root=S?S.root||S:this,this.path=S?[...S.path,S]:[],this.parent=S,this.depth=S?S.depth+1:0;for(let b=0;b<this.path.length;b++)this.path[b].shouldResetTransform=!0;this.root===this&&(this.nodes=new _L)}addEventListener(h,S){return this.eventHandlers.has(h)||this.eventHandlers.set(h,new db),this.eventHandlers.get(h).add(S)}notifyListeners(h,...S){const b=this.eventHandlers.get(h);b&&b.notify(...S)}hasListeners(h){return this.eventHandlers.has(h)}mount(h,S=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=zL(h),this.instance=h;const{layoutId:b,layout:x,visualElement:T}=this.options;if(T&&!T.current&&T.mount(h),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),S&&(x||b)&&(this.isLayoutDirty=!0),i){let w;const M=()=>this.root.updateBlockedByResize=!1;i(h,()=>{this.root.updateBlockedByResize=!0,w&&w(),w=BL(M,250),sm.hasAnimatedSinceResize&&(sm.hasAnimatedSinceResize=!1,this.nodes.forEach(vR))})}b&&this.root.registerSharedNode(b,this),this.options.animate!==!1&&T&&(b||x)&&this.addEventListener("didUpdate",({delta:w,hasLayoutChanged:M,hasRelativeTargetChanged:k,layout:F})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const V=this.options.transition||T.getDefaultTransition()||rN,{onLayoutAnimationStart:_,onLayoutAnimationComplete:j}=T.getProps(),Z=!this.targetLayout||!lR(this.targetLayout,F)||k,z=!M&&k;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||z||M&&(Z||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(w,z);const q={...X0(V,"layout"),onPlay:_,onComplete:j};(T.shouldReduceMotion||this.options.layoutRoot)&&(q.delay=0,q.type=!1),this.startAnimation(q)}else M||vR(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=F})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const h=this.getStack();h&&h.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Du(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(qL),this.animationId++)}getTransformTemplate(){const{visualElement:h}=this.options;return h&&h.getProps().transformTemplate}willUpdate(h=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.HandoffCancelAllAnimations&&dR(this)&&window.HandoffCancelAllAnimations(),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let T=0;T<this.path.length;T++){const w=this.path[T];w.shouldResetTransform=!0,w.updateScroll("snapshot"),w.options.layoutRoot&&w.willUpdate(!1)}const{layoutId:S,layout:b}=this.options;if(S===void 0&&!b)return;const x=this.getTransformTemplate();this.prevTransformTemplateValue=x?x(this.latestValues,""):void 0,this.updateSnapshot(),h&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(hR);return}this.isUpdating||this.nodes.forEach($L),this.isUpdating=!1,this.nodes.forEach(JL),this.nodes.forEach(UL),this.nodes.forEach(WL),this.clearAllSnapshots();const S=Dl.now();Hr.delta=wl(0,1e3/60,S-Hr.timestamp),Hr.timestamp=S,Hr.isProcessing=!0,G0.update.process(Hr),G0.preRender.process(Hr),G0.render.process(Hr),Hr.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,I0.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(YL),this.sharedNodes.forEach(eN)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,sn.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){sn.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let b=0;b<this.path.length;b++)this.path[b].updateScroll();const h=this.layout;this.layout=this.measure(!1),this.layoutCorrected=nr(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:S}=this.options;S&&S.notify("LayoutMeasure",this.layout.layoutBox,h?h.layoutBox:void 0)}updateScroll(h="measure"){let S=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===h&&(S=!1),S&&(this.scroll={animationId:this.root.animationId,phase:h,isRoot:c(this.instance),offset:u(this.instance)})}resetTransform(){if(!d)return;const h=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,S=this.projectionDelta&&!uR(this.projectionDelta),b=this.getTransformTemplate(),x=b?b(this.latestValues,""):void 0,T=x!==this.prevTransformTemplateValue;h&&(S||$s(this.latestValues)||T)&&(d(this.instance,x),this.shouldResetTransform=!1,this.scheduleRender())}measure(h=!0){const S=this.measurePageBox();let b=this.removeElementScroll(S);return h&&(b=this.removeTransform(b)),iN(b),{animationId:this.root.animationId,measuredBox:S,layoutBox:b,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:h}=this.options;if(!h)return nr();const S=h.measureViewportBox(),{scroll:b}=this.root;return b&&(Ol(S.x,b.offset.x),Ol(S.y,b.offset.y)),S}removeElementScroll(h){const S=nr();Fa(S,h);for(let b=0;b<this.path.length;b++){const x=this.path[b],{scroll:T,options:w}=x;if(x!==this.root&&T&&w.layoutScroll){if(T.isRoot){Fa(S,h);const{scroll:M}=this.root;M&&(Ol(S.x,-M.offset.x),Ol(S.y,-M.offset.y))}Ol(S.x,T.offset.x),Ol(S.y,T.offset.y)}}return S}applyTransform(h,S=!1){const b=nr();Fa(b,h);for(let x=0;x<this.path.length;x++){const T=this.path[x];!S&&T.options.layoutScroll&&T.scroll&&T!==T.root&&hf(b,{x:-T.scroll.offset.x,y:-T.scroll.offset.y}),$s(T.latestValues)&&hf(b,T.latestValues)}return $s(this.latestValues)&&hf(b,this.latestValues),b}removeTransform(h){const S=nr();Fa(S,h);for(let b=0;b<this.path.length;b++){const x=this.path[b];if(!x.instance||!$s(x.latestValues))continue;Cb(x.latestValues)&&x.updateSnapshot();const T=nr(),w=x.measurePageBox();Fa(T,w),aR(S,x.latestValues,x.snapshot?x.snapshot.layoutBox:void 0,T)}return $s(this.latestValues)&&aR(S,this.latestValues),S}setTargetDelta(h){this.targetDelta=h,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(h){this.options={...this.options,...h,crossfade:h.crossfade!==void 0?h.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Hr.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(h=!1){var S;const b=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=b.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=b.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=b.isSharedProjectionDirty);const x=!!this.resumingFrom||this!==b;if(!(h||x&&this.isSharedProjectionDirty||this.isProjectionDirty||!((S=this.parent)===null||S===void 0)&&S.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:w,layoutId:M}=this.options;if(!(!this.layout||!(w||M))){if(this.resolvedRelativeTargetAt=Hr.timestamp,!this.targetDelta&&!this.relativeTarget){const k=this.getClosestProjectingParent();k&&k.layout&&this.animationProgress!==1?(this.relativeParent=k,this.forceRelativeParentToResolveTarget(),this.relativeTarget=nr(),this.relativeTargetOrigin=nr(),Ip(this.relativeTargetOrigin,this.layout.layoutBox,k.layout.layoutBox),Fa(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=nr(),this.targetWithTransforms=nr()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),uL(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Fa(this.target,this.layout.layoutBox),HT(this.target,this.targetDelta)):Fa(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const k=this.getClosestProjectingParent();k&&!!k.resumingFrom==!!this.resumingFrom&&!k.options.layoutScroll&&k.target&&this.animationProgress!==1?(this.relativeParent=k,this.forceRelativeParentToResolveTarget(),this.relativeTarget=nr(),this.relativeTargetOrigin=nr(),Ip(this.relativeTargetOrigin,this.target,k.target),Fa(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}window.MotionDebug&&Js.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Cb(this.parent.latestValues)||_T(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var h;const S=this.getLead(),b=!!this.resumingFrom||this!==S;let x=!0;if((this.isProjectionDirty||!((h=this.parent)===null||h===void 0)&&h.isProjectionDirty)&&(x=!1),b&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(x=!1),this.resolvedRelativeTargetAt===Hr.timestamp&&(x=!1),x)return;const{layout:T,layoutId:w}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(T||w))return;Fa(this.layoutCorrected,this.layout.layoutBox);const M=this.treeScale.x,k=this.treeScale.y;mL(this.layoutCorrected,this.treeScale,this.path,b),S.layout&&!S.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(S.target=S.layout.layoutBox,S.targetWithTransforms=nr());const{target:F}=S;if(!F){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(nR(this.prevProjectionDelta.x,this.projectionDelta.x),nR(this.prevProjectionDelta.y,this.projectionDelta.y)),Ap(this.projectionDelta,this.layoutCorrected,F,this.latestValues),(this.treeScale.x!==M||this.treeScale.y!==k||!cR(this.projectionDelta.x,this.prevProjectionDelta.x)||!cR(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",F)),window.MotionDebug&&Js.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(h=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),h){const S=this.getStack();S&&S.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=pf(),this.projectionDelta=pf(),this.projectionDeltaWithTransform=pf()}setAnimationOrigin(h,S=!1){const b=this.snapshot,x=b?b.latestValues:{},T={...this.latestValues},w=pf();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!S;const M=nr(),k=b?b.source:void 0,F=this.layout?this.layout.source:void 0,V=k!==F,_=this.getStack(),j=!_||_.members.length<=1,Z=!!(V&&!j&&this.options.crossfade===!0&&!this.path.some(nN));this.animationProgress=0;let z;this.mixTargetDelta=q=>{const H=q/1e3;mR(w.x,h.x,H),mR(w.y,h.y,H),this.setTargetDelta(w),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ip(M,this.layout.layoutBox,this.relativeParent.layout.layoutBox),tN(this.relativeTarget,this.relativeTargetOrigin,M,H),z&&NL(this.relativeTarget,z)&&(this.isProjectionDirty=!1),z||(z=nr()),Fa(z,this.relativeTarget)),V&&(this.animationValues=T,IL(T,x,this.latestValues,H,Z,j)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=H},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(h){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Du(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=sn.update(()=>{sm.hasAnimatedSinceResize=!0,this.currentAnimation=HL(0,fR,{...h,onUpdate:S=>{this.mixTargetDelta(S),h.onUpdate&&h.onUpdate(S)},onComplete:()=>{h.onComplete&&h.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const h=this.getStack();h&&h.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(fR),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const h=this.getLead();let{targetWithTransforms:S,target:b,layout:x,latestValues:T}=h;if(!(!S||!b||!x)){if(this!==h&&this.layout&&x&&SR(this.options.animationType,this.layout.layoutBox,x.layoutBox)){b=this.target||nr();const w=Sa(this.layout.layoutBox.x);b.x.min=h.target.x.min,b.x.max=b.x.min+w;const M=Sa(this.layout.layoutBox.y);b.y.min=h.target.y.min,b.y.max=b.y.min+M}Fa(S,b),hf(S,T),Ap(this.projectionDeltaWithTransform,this.layoutCorrected,S,T)}}registerSharedNode(h,S){this.sharedNodes.has(h)||this.sharedNodes.set(h,new PL),this.sharedNodes.get(h).add(S);const x=S.options.initialPromotionConfig;S.promote({transition:x?x.transition:void 0,preserveFollowOpacity:x&&x.shouldPreserveFollowOpacity?x.shouldPreserveFollowOpacity(S):void 0})}isLead(){const h=this.getStack();return h?h.lead===this:!0}getLead(){var h;const{layoutId:S}=this.options;return S?((h=this.getStack())===null||h===void 0?void 0:h.lead)||this:this}getPrevLead(){var h;const{layoutId:S}=this.options;return S?(h=this.getStack())===null||h===void 0?void 0:h.prevLead:void 0}getStack(){const{layoutId:h}=this.options;if(h)return this.root.sharedNodes.get(h)}promote({needsReset:h,transition:S,preserveFollowOpacity:b}={}){const x=this.getStack();x&&x.promote(this,b),h&&(this.projectionDelta=void 0,this.needsReset=!0),S&&this.setOptions({transition:S})}relegate(){const h=this.getStack();return h?h.relegate(this):!1}resetSkewAndRotation(){const{visualElement:h}=this.options;if(!h)return;let S=!1;const{latestValues:b}=h;if((b.z||b.rotate||b.rotateX||b.rotateY||b.rotateZ||b.skewX||b.skewY)&&(S=!0),!S)return;const x={};b.z&&Eb("z",h,x,this.animationValues);for(let T=0;T<xb.length;T++)Eb(`rotate${xb[T]}`,h,x,this.animationValues),Eb(`skew${xb[T]}`,h,x,this.animationValues);h.render();for(const T in x)h.setStaticValue(T,x[T]),this.animationValues&&(this.animationValues[T]=x[T]);h.scheduleRender()}getProjectionStyles(h){var S,b;if(!this.instance||this.isSVG)return;if(!this.isVisible)return GL;const x={visibility:""},T=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,x.opacity="",x.pointerEvents=Qv(h==null?void 0:h.pointerEvents)||"",x.transform=T?T(this.latestValues,""):"none",x;const w=this.getLead();if(!this.projectionDelta||!this.layout||!w.target){const V={};return this.options.layoutId&&(V.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,V.pointerEvents=Qv(h==null?void 0:h.pointerEvents)||""),this.hasProjected&&!$s(this.latestValues)&&(V.transform=T?T({},""):"none",this.hasProjected=!1),V}const M=w.animationValues||w.latestValues;this.applyTransformsToTarget(),x.transform=FL(this.projectionDeltaWithTransform,this.treeScale,M),T&&(x.transform=T(M,x.transform));const{x:k,y:F}=this.projectionDelta;x.transformOrigin=`${k.origin*100}% ${F.origin*100}% 0`,w.animationValues?x.opacity=w===this?(b=(S=M.opacity)!==null&&S!==void 0?S:this.latestValues.opacity)!==null&&b!==void 0?b:1:this.preserveOpacity?this.latestValues.opacity:M.opacityExit:x.opacity=w===this?M.opacity!==void 0?M.opacity:"":M.opacityExit!==void 0?M.opacityExit:0;for(const V in Yv){if(M[V]===void 0)continue;const{correct:_,applyTo:j}=Yv[V],Z=x.transform==="none"?M[V]:_(M[V],w);if(j){const z=j.length;for(let q=0;q<z;q++)x[j[q]]=Z}else x[V]=Z}return this.options.layoutId&&(x.pointerEvents=w===this?Qv(h==null?void 0:h.pointerEvents)||"":"none"),x}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(h=>{var S;return(S=h.currentAnimation)===null||S===void 0?void 0:S.stop()}),this.root.nodes.forEach(hR),this.root.sharedNodes.clear()}}}function UL(i){i.updateLayout()}function WL(i){var r;const u=((r=i.resumeFrom)===null||r===void 0?void 0:r.snapshot)||i.snapshot;if(i.isLead()&&i.layout&&u&&i.hasListeners("didUpdate")){const{layoutBox:c,measuredBox:d}=i.layout,{animationType:m}=i.options,h=u.source!==i.layout.source;m==="size"?Pa(w=>{const M=h?u.measuredBox[w]:u.layoutBox[w],k=Sa(M);M.min=c[w].min,M.max=M.min+k}):SR(m,u.layoutBox,c)&&Pa(w=>{const M=h?u.measuredBox[w]:u.layoutBox[w],k=Sa(c[w]);M.max=M.min+k,i.relativeTarget&&!i.currentAnimation&&(i.isProjectionDirty=!0,i.relativeTarget[w].max=i.relativeTarget[w].min+k)});const S=pf();Ap(S,c,u.layoutBox);const b=pf();h?Ap(b,i.applyTransform(d,!0),u.measuredBox):Ap(b,c,u.layoutBox);const x=!uR(S);let T=!1;if(!i.resumeFrom){const w=i.getClosestProjectingParent();if(w&&!w.resumeFrom){const{snapshot:M,layout:k}=w;if(M&&k){const F=nr();Ip(F,u.layoutBox,M.layoutBox);const V=nr();Ip(V,c,k.layoutBox),lR(F,V)||(T=!0),w.options.layoutRoot&&(i.relativeTarget=V,i.relativeTargetOrigin=F,i.relativeParent=w)}}}i.notifyListeners("didUpdate",{layout:c,snapshot:u,delta:b,layoutDelta:S,hasLayoutChanged:x,hasRelativeTargetChanged:T})}else if(i.isLead()){const{onExitComplete:c}=i.options;c&&c()}i.options.transition=void 0}function XL(i){window.MotionDebug&&Js.totalNodes++,i.parent&&(i.isProjecting()||(i.isProjectionDirty=i.parent.isProjectionDirty),i.isSharedProjectionDirty||(i.isSharedProjectionDirty=!!(i.isProjectionDirty||i.parent.isProjectionDirty||i.parent.isSharedProjectionDirty)),i.isTransformDirty||(i.isTransformDirty=i.parent.isTransformDirty))}function ZL(i){i.isProjectionDirty=i.isSharedProjectionDirty=i.isTransformDirty=!1}function YL(i){i.clearSnapshot()}function hR(i){i.clearMeasurements()}function $L(i){i.isLayoutDirty=!1}function JL(i){const{visualElement:r}=i.options;r&&r.getProps().onBeforeLayoutMeasure&&r.notify("BeforeLayoutMeasure"),i.resetTransform()}function vR(i){i.finishAnimation(),i.targetDelta=i.relativeTarget=i.target=void 0,i.isProjectionDirty=!0}function QL(i){i.resolveTargetDelta()}function KL(i){i.calcProjection()}function qL(i){i.resetSkewAndRotation()}function eN(i){i.removeLeadSnapshot()}function mR(i,r,u){i.translate=Hn(r.translate,0,u),i.scale=Hn(r.scale,1,u),i.origin=r.origin,i.originPoint=r.originPoint}function gR(i,r,u,c){i.min=Hn(r.min,u.min,c),i.max=Hn(r.max,u.max,c)}function tN(i,r,u,c){gR(i.x,r.x,u.x,c),gR(i.y,r.y,u.y,c)}function nN(i){return i.animationValues&&i.animationValues.opacityExit!==void 0}const rN={duration:.45,ease:[.4,0,.1,1]},yR=i=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(i),bR=yR("applewebkit/")&&!yR("chrome/")?Math.round:zr;function CR(i){i.min=bR(i.min),i.max=bR(i.max)}function iN(i){CR(i.x),CR(i.y)}function SR(i,r,u){return i==="position"||i==="preserve-aspect"&&!oL(sR(r),sR(u),.2)}const aN=pR({attachResizeListener:(i,r)=>Mu(i,"resize",r),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Tb={current:void 0},xR=pR({measureScroll:i=>({x:i.scrollLeft,y:i.scrollTop}),defaultParent:()=>{if(!Tb.current){const i=new aN({});i.mount(window),i.setOptions({layoutScroll:!0}),Tb.current=i}return Tb.current},resetTransform:(i,r)=>{i.style.transform=r!==void 0?r:"none"},checkIsScrollRoot:i=>window.getComputedStyle(i).position==="fixed"}),oN={pan:{Feature:xL},drag:{Feature:SL,ProjectionNode:xR,MeasureLayout:$T}},Rb={current:null},ER={current:!1};function uN(){if(ER.current=!0,!!w0)if(window.matchMedia){const i=window.matchMedia("(prefers-reduced-motion)"),r=()=>Rb.current=i.matches;i.addListener(r),r()}else Rb.current=!1}function lN(i,r,u){for(const c in r){const d=r[c],m=u[c];if(ui(d))i.addValue(c,d),process.env.NODE_ENV==="development"&&pb(d.version==="11.3.8",`Attempting to mix Framer Motion versions ${d.version} with 11.3.8 may not work as expected.`);else if(ui(m))i.addValue(c,wp(d,{owner:i}));else if(m!==d)if(i.hasValue(c)){const h=i.getValue(c);h.liveStyle===!0?h.jump(d):h.hasAnimated||h.set(d)}else{const h=i.getStaticValue(c);i.addValue(c,wp(h!==void 0?h:d,{owner:i}))}}for(const c in u)r[c]===void 0&&i.removeValue(c);return r}const TR=new WeakMap,sN=[...kE,li,Ml],cN=i=>sN.find(OE(i)),RR=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],fN=M0.length;class dN{scrapeMotionValuesFromProps(r,u,c){return{}}constructor({parent:r,props:u,presenceContext:c,reducedMotionConfig:d,blockInitialAnimation:m,visualState:h},S={}){this.applyWillChange=!1,this.resolveKeyframes=(M,k,F,V)=>new this.KeyframeResolver(M,k,F,V,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=$0,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.isRenderScheduled=!1,this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.isRenderScheduled=!1,this.scheduleRender=()=>{this.isRenderScheduled||(this.isRenderScheduled=!0,sn.render(this.render,!1,!0))};const{latestValues:b,renderState:x}=h;this.latestValues=b,this.baseTarget={...b},this.initialValues=u.initial?{...b}:{},this.renderState=x,this.parent=r,this.props=u,this.presenceContext=c,this.depth=r?r.depth+1:0,this.reducedMotionConfig=d,this.options=S,this.blockInitialAnimation=!!m,this.isControllingVariants=Zv(u),this.isVariantNode=Zx(u),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(r&&r.current);const{willChange:T,...w}=this.scrapeMotionValuesFromProps(u,{},this);for(const M in w){const k=w[M];b[M]!==void 0&&ui(k)&&k.set(b[M],!1)}}mount(r){this.current=r,TR.set(r,this),this.projection&&!this.projection.instance&&this.projection.mount(r),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((u,c)=>this.bindToMotionValue(c,u)),ER.current||uN(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Rb.current,process.env.NODE_ENV!=="production"&&pb(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){TR.delete(this.current),this.projection&&this.projection.unmount(),Du(this.notifyUpdate),Du(this.render),this.valueSubscriptions.forEach(r=>r()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const r in this.events)this.events[r].clear();for(const r in this.features){const u=this.features[r];u&&(u.unmount(),u.isMounted=!1)}this.current=null}bindToMotionValue(r,u){const c=Rl.has(r),d=u.on("change",h=>{this.latestValues[r]=h,this.props.onUpdate&&sn.preRender(this.notifyUpdate),c&&this.projection&&(this.projection.isTransformDirty=!0)}),m=u.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(r,()=>{d(),m(),u.owner&&u.stop()})}sortNodePosition(r){return!this.current||!this.sortInstanceNodePosition||this.type!==r.type?0:this.sortInstanceNodePosition(this.current,r.current)}updateFeatures(){let r="animation";for(r in lf){const u=lf[r];if(!u)continue;const{isEnabled:c,Feature:d}=u;if(!this.features[r]&&d&&c(this.props)&&(this.features[r]=new d(this)),this.features[r]){const m=this.features[r];m.isMounted?m.update():(m.mount(),m.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):nr()}getStaticValue(r){return this.latestValues[r]}setStaticValue(r,u){this.latestValues[r]=u}update(r,u){(r.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=r,this.prevPresenceContext=this.presenceContext,this.presenceContext=u;for(let c=0;c<RR.length;c++){const d=RR[c];this.propEventSubscriptions[d]&&(this.propEventSubscriptions[d](),delete this.propEventSubscriptions[d]);const m="on"+d,h=r[m];h&&(this.propEventSubscriptions[d]=this.on(d,h))}this.prevMotionValues=lN(this,this.scrapeMotionValuesFromProps(r,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(r){return this.props.variants?this.props.variants[r]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(r=!1){if(r)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const c=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(c.initial=this.props.initial),c}const u={};for(let c=0;c<fN;c++){const d=M0[c],m=this.props[d];(vp(m)||m===!1)&&(u[d]=m)}return u}addVariantChild(r){const u=this.getClosestVariantNode();if(u)return u.variantChildren&&u.variantChildren.add(r),()=>u.variantChildren.delete(r)}addValue(r,u){const c=this.values.get(r);u!==c&&(c&&this.removeValue(r),this.bindToMotionValue(r,u),this.values.set(r,u),this.latestValues[r]=u.get())}removeValue(r){this.values.delete(r);const u=this.valueSubscriptions.get(r);u&&(u(),this.valueSubscriptions.delete(r)),delete this.latestValues[r],this.removeValueFromRenderState(r,this.renderState)}hasValue(r){return this.values.has(r)}getValue(r,u){if(this.props.values&&this.props.values[r])return this.props.values[r];let c=this.values.get(r);return c===void 0&&u!==void 0&&(c=wp(u===null?void 0:u,{owner:this}),this.addValue(r,c)),c}readValue(r,u){var c;let d=this.latestValues[r]!==void 0||!this.current?this.latestValues[r]:(c=this.getBaseTargetFromProps(this.props,r))!==null&&c!==void 0?c:this.readValueFromInstance(this.current,r,this.options);return d!=null&&(typeof d=="string"&&(wE(d)||RE(d))?d=parseFloat(d):!cN(d)&&Ml.test(u)&&(d=GE(r,u)),this.setBaseTarget(r,ui(d)?d.get():d)),ui(d)?d.get():d}setBaseTarget(r,u){this.baseTarget[r]=u}getBaseTarget(r){var u;const{initial:c}=this.props;let d;if(typeof c=="string"||typeof c=="object"){const h=z0(this.props,c,(u=this.presenceContext)===null||u===void 0?void 0:u.custom);h&&(d=h[r])}if(c&&d!==void 0)return d;const m=this.getBaseTargetFromProps(this.props,r);return m!==void 0&&!ui(m)?m:this.initialValues[r]!==void 0&&d===void 0?void 0:this.baseTarget[r]}on(r,u){return this.events[r]||(this.events[r]=new db),this.events[r].add(u)}notify(r,...u){this.events[r]&&this.events[r].notify(...u)}}class wR extends dN{constructor(){super(...arguments),this.KeyframeResolver=jE}sortInstanceNodePosition(r,u){return r.compareDocumentPosition(u)&2?1:-1}getBaseTargetFromProps(r,u){return r.style?r.style[u]:void 0}removeValueFromRenderState(r,{vars:u,style:c}){delete u[r],delete c[r]}}function pN(i){return window.getComputedStyle(i)}class hN extends wR{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=oE}readValueFromInstance(r,u){if(Rl.has(u)){const c=eb(u);return c&&c.default||0}else{const c=pN(r),d=(Kx(u)?c.getPropertyValue(u):c[u])||0;return typeof d=="string"?d.trim():d}}measureInstanceViewportBox(r,{transformPagePoint:u}){return WT(r,u)}build(r,u,c){P0(r,u,c.transformTemplate)}scrapeMotionValuesFromProps(r,u,c){return B0(r,u,c)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:r}=this.props;ui(r)&&(this.childSubscription=r.on("change",u=>{this.current&&(this.current.textContent=`${u}`)}))}}class vN extends wR{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=nr}getBaseTargetFromProps(r,u){return r[u]}readValueFromInstance(r,u){if(Rl.has(u)){const c=eb(u);return c&&c.default||0}return u=uE.has(u)?u:Wv(u),r.getAttribute(u)}scrapeMotionValuesFromProps(r,u,c){return sE(r,u,c)}build(r,u,c){V0(r,u,this.isSVGTag,c.transformTemplate)}renderInstance(r,u,c,d){lE(r,u,c,d)}mount(r){this.isSVGTag=_0(r.tagName),super.mount(r)}}const mN=(i,r)=>k0(i)?new vN(r):new hN(r,{allowProjection:i!==Y.Fragment}),gN={...Kk,...cO,...oN,...{layout:{ProjectionNode:xR,MeasureLayout:$T}}},Mp=yM((i,r)=>QM(i,r,gN,mN));function AR(){const i=Y.useRef(!1);return A0(()=>(i.current=!0,()=>{i.current=!1}),[]),i}function yN(){const i=AR(),[r,u]=Y.useState(0),c=Y.useCallback(()=>{i.current&&u(r+1)},[r]);return[Y.useCallback(()=>sn.postRender(c),[c]),r]}class bN extends Y.Component{getSnapshotBeforeUpdate(r){const u=this.props.childRef.current;if(u&&r.isPresent&&!this.props.isPresent){const c=this.props.sizeRef.current;c.height=u.offsetHeight||0,c.width=u.offsetWidth||0,c.top=u.offsetTop,c.left=u.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function CN({children:i,isPresent:r}){const u=Y.useId(),c=Y.useRef(null),d=Y.useRef({width:0,height:0,top:0,left:0}),{nonce:m}=Y.useContext(R0);return Y.useInsertionEffect(()=>{const{width:h,height:S,top:b,left:x}=d.current;if(r||!c.current||!h||!S)return;c.current.dataset.motionPopId=u;const T=document.createElement("style");return m&&(T.nonce=m),document.head.appendChild(T),T.sheet&&T.sheet.insertRule(`
73
- [data-motion-pop-id="${u}"] {
5
+ */(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var s="",o=0;o<arguments.length;o++){var u=arguments[o];u&&(s=r(s,i(u)))}return s}function i(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return n.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var o="";for(var u in s)t.call(s,u)&&s[u]&&(o=r(o,u));return o}function r(s,o){return o?s?s+" "+o:s+o:s}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(br);var Lu=br.exports;const tt=Nu(Lu);var vr={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},yr=C.createContext&&C.createContext(vr),Wu=["attr","size","title"];function Ru(e,t){if(e==null)return{};var n=Ou(e,t),i,r;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)i=s[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function Ou(e,t){if(e==null)return{};var n={};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){if(t.indexOf(i)>=0)continue;n[i]=e[i]}return n}function Ht(){return Ht=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Ht.apply(this,arguments)}function Cr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function kt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Cr(Object(n),!0).forEach(function(i){Xu(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cr(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function Xu(e,t,n){return t=Zu(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zu(e){var t=Hu(e,"string");return typeof t=="symbol"?t:t+""}function Hu(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ir(e){return e&&e.map((t,n)=>C.createElement(t.tag,kt({key:n},t.attr),Ir(t.child)))}function Ye(e){return t=>C.createElement(ku,Ht({attr:kt({},e.attr)},t),Ir(e.child))}function ku(e){var t=n=>{var{attr:i,size:r,title:s}=e,o=Ru(e,Wu),u=r||n.size||"1em",a;return n.className&&(a=n.className),e.className&&(a=(a?a+" ":"")+e.className),C.createElement("svg",Ht({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,i,o,{className:a,style:kt(kt({color:e.color||n.color},n.style),e.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),s&&C.createElement("title",null,s),e.children)};return yr!==void 0?C.createElement(yr.Consumer,null,n=>t(n)):t(vr)}function zu(e){return Ye({tag:"svg",attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 0C5.383 0 0 5.383 0 12s5.383 12 12 12 12-5.383 12-12h-2.7c0 5.128-4.172 9.3-9.3 9.3-5.128 0-9.3-4.172-9.3-9.3 0-5.128 4.172-9.3 9.3-9.3V0Zm7.4 2.583-7.505 9.371L8.388 9.08l-2.002 2.436 4.741 3.888a1.573 1.573 0 0 0 2.231-.233l8.504-10.617L19.4 2.583Z"},child:[]}]})(e)}function ju(e){return Ye({tag:"svg",attr:{viewBox:"0 0 15 15",fill:"none"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M0.877075 7.49988C0.877075 3.84219 3.84222 0.877045 7.49991 0.877045C11.1576 0.877045 14.1227 3.84219 14.1227 7.49988C14.1227 11.1575 11.1576 14.1227 7.49991 14.1227C3.84222 14.1227 0.877075 11.1575 0.877075 7.49988ZM7.49991 1.82704C4.36689 1.82704 1.82708 4.36686 1.82708 7.49988C1.82708 10.6329 4.36689 13.1727 7.49991 13.1727C10.6329 13.1727 13.1727 10.6329 13.1727 7.49988C13.1727 4.36686 10.6329 1.82704 7.49991 1.82704ZM9.85358 5.14644C10.0488 5.3417 10.0488 5.65829 9.85358 5.85355L8.20713 7.49999L9.85358 9.14644C10.0488 9.3417 10.0488 9.65829 9.85358 9.85355C9.65832 10.0488 9.34173 10.0488 9.14647 9.85355L7.50002 8.2071L5.85358 9.85355C5.65832 10.0488 5.34173 10.0488 5.14647 9.85355C4.95121 9.65829 4.95121 9.3417 5.14647 9.14644L6.79292 7.49999L5.14647 5.85355C4.95121 5.65829 4.95121 5.3417 5.14647 5.14644C5.34173 4.95118 5.65832 4.95118 5.85358 5.14644L7.50002 6.79289L9.14647 5.14644C9.34173 4.95118 9.65832 4.95118 9.85358 5.14644Z",fill:"currentColor"},child:[]}]})(e)}function Yu(e){return Ye({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm169.8-90.7c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"},child:[]}]})(e)}function Ju(e){return Ye({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"},child:[]}]})(e)}function Uu(e){return Ye({tag:"svg",attr:{version:"1.1",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M15.854 12.854c-0-0-0-0-0-0l-4.854-4.854 4.854-4.854c0-0 0-0 0-0 0.052-0.052 0.090-0.113 0.114-0.178 0.066-0.178 0.028-0.386-0.114-0.529l-2.293-2.293c-0.143-0.143-0.351-0.181-0.529-0.114-0.065 0.024-0.126 0.062-0.178 0.114 0 0-0 0-0 0l-4.854 4.854-4.854-4.854c-0-0-0-0-0-0-0.052-0.052-0.113-0.090-0.178-0.114-0.178-0.066-0.386-0.029-0.529 0.114l-2.293 2.293c-0.143 0.143-0.181 0.351-0.114 0.529 0.024 0.065 0.062 0.126 0.114 0.178 0 0 0 0 0 0l4.854 4.854-4.854 4.854c-0 0-0 0-0 0-0.052 0.052-0.090 0.113-0.114 0.178-0.066 0.178-0.029 0.386 0.114 0.529l2.293 2.293c0.143 0.143 0.351 0.181 0.529 0.114 0.065-0.024 0.126-0.062 0.178-0.114 0-0 0-0 0-0l4.854-4.854 4.854 4.854c0 0 0 0 0 0 0.052 0.052 0.113 0.090 0.178 0.114 0.178 0.066 0.386 0.029 0.529-0.114l2.293-2.293c0.143-0.143 0.181-0.351 0.114-0.529-0.024-0.065-0.062-0.126-0.114-0.178z"},child:[]}]})(e)}const Ln=C.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),zt=C.createContext({}),jt=C.createContext(null),Wn=typeof document<"u",Rn=Wn?C.useLayoutEffect:C.useEffect,xr=C.createContext({strict:!1}),Yt=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Ar="data-"+Yt("framerAppearId"),_u={skipAnimations:!1,useManualTiming:!1};function Qu(e){let t=new Set,n=new Set,i=!1,r=!1;const s=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function u(l){s.has(l)&&(a.schedule(l),e()),l(o)}const a={schedule:(l,c=!1,d=!1)=>{const h=d&&i?t:n;return c&&s.add(l),h.has(l)||h.add(l),l},cancel:l=>{n.delete(l),s.delete(l)},process:l=>{if(o=l,i){r=!0;return}i=!0,[t,n]=[n,t],n.clear(),t.forEach(u),i=!1,r&&(r=!1,a.process(l))}};return a}const Jt=["read","resolveKeyframes","update","preRender","render","postRender"],$u=40;function Sr(e,t){let n=!1,i=!0;const r={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=Jt.reduce((b,I)=>(b[I]=Qu(s),b),{}),{read:u,resolveKeyframes:a,update:l,preRender:c,render:d,postRender:f}=o,h=()=>{const b=performance.now();n=!1,r.delta=i?1e3/60:Math.max(Math.min(b-r.timestamp,$u),1),r.timestamp=b,r.isProcessing=!0,u.process(r),a.process(r),l.process(r),c.process(r),d.process(r),f.process(r),r.isProcessing=!1,n&&t&&(i=!1,e(h))},m=()=>{n=!0,i=!0,r.isProcessing||e(h)};return{schedule:Jt.reduce((b,I)=>{const v=o[I];return b[I]=(x,y=!1,E=!1)=>(n||m(),v.schedule(x,y,E)),b},{}),cancel:b=>{for(let I=0;I<Jt.length;I++)o[Jt[I]].cancel(b)},state:r,steps:o}}const{schedule:On,cancel:eb}=Sr(queueMicrotask,!1);function nt(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}const Er=C.createContext({});let Tr=!1;function Ku(e,t,n,i,r){const{visualElement:s}=C.useContext(zt),o=C.useContext(xr),u=C.useContext(jt),a=C.useContext(Ln).reducedMotion,l=C.useRef();i=i||o.renderer,!l.current&&i&&(l.current=i(e,{visualState:t,parent:s,props:n,presenceContext:u,blockInitialAnimation:u?u.initial===!1:!1,reducedMotionConfig:a}));const c=l.current,d=C.useContext(Er);c&&!c.projection&&r&&(c.type==="html"||c.type==="svg")&&el(l.current,n,r,d),C.useInsertionEffect(()=>{c&&c.update(n,u)});const f=C.useRef(!!(n[Ar]&&!window.HandoffComplete));return Rn(()=>{c&&(c.updateFeatures(),On.render(c.render),f.current&&c.animationState&&c.animationState.animateChanges())}),C.useEffect(()=>{c&&(!f.current&&c.animationState&&c.animationState.animateChanges(),f.current&&(f.current=!1,Tr||(Tr=!0,queueMicrotask(qu))))}),c}function qu(){window.HandoffComplete=!0}function el(e,t,n,i){const{layoutId:r,layout:s,drag:o,dragConstraints:u,layoutScroll:a,layoutRoot:l}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Pr(e.parent)),e.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!o||u&&nt(u),visualElement:e,scheduleRender:()=>e.scheduleRender(),animationType:typeof s=="string"?s:"both",initialPromotionConfig:i,layoutScroll:a,layoutRoot:l})}function Pr(e){if(e)return e.options.allowProjection!==!1?e.projection:Pr(e.parent)}function tl(e,t,n){return C.useCallback(i=>{i&&e.mount&&e.mount(i),t&&(i?t.mount(i):t.unmount()),n&&(typeof n=="function"?n(i):nt(n)&&(n.current=i))},[t])}function vt(e){return typeof e=="string"||Array.isArray(e)}function yt(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Xn=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Zn=["initial",...Xn];function Ut(e){return yt(e.animate)||Zn.some(t=>vt(e[t]))}function Vr(e){return!!(Ut(e)||e.variants)}function nl(e,t){if(Ut(e)){const{initial:n,animate:i}=e;return{initial:n===!1||vt(n)?n:void 0,animate:vt(i)?i:void 0}}return e.inherit!==!1?t:{}}function il(e){const{initial:t,animate:n}=nl(e,C.useContext(zt));return C.useMemo(()=>({initial:t,animate:n}),[wr(t),wr(n)])}function wr(e){return Array.isArray(e)?e.join(" "):e}const Fr={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},it={};for(const e in Fr)it[e]={isEnabled:t=>Fr[e].some(n=>!!t[n])};function rl(e){for(const t in e)it[t]={...it[t],...e[t]}}const Hn=C.createContext({}),sl=Symbol.for("motionComponentSymbol"),Q=e=>e;let rt=Q,Ve=Q;process.env.NODE_ENV!=="production"&&(rt=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},Ve=(e,t)=>{if(!e)throw new Error(t)});function ol({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:i,Component:r}){e&&rl(e);function s(u,a){let l;const c={...C.useContext(Ln),...u,layoutId:al(u)},{isStatic:d}=c,f=il(u),h=i(u,d);if(!d&&Wn){ul(c,e);const m=ll(c);l=m.MeasureLayout,f.visualElement=Ku(r,h,c,t,m.ProjectionNode)}return A.jsxs(zt.Provider,{value:f,children:[l&&f.visualElement?A.jsx(l,{visualElement:f.visualElement,...c}):null,n(r,u,tl(h,f.visualElement,a),h,d,f.visualElement)]})}const o=C.forwardRef(s);return o[sl]=r,o}function al({layoutId:e}){const t=C.useContext(Hn).id;return t&&e!==void 0?t+"-"+e:e}function ul(e,t){const n=C.useContext(xr).strict;if(process.env.NODE_ENV!=="production"&&t&&n){const i="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?rt(!1,i):Ve(!1,i)}}function ll(e){const{drag:t,layout:n}=it;if(!t&&!n)return{};const i={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}function cl(e){function t(i,r={}){return ol(e(i,r))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(i,r)=>(n.has(r)||n.set(r,t(r)),n.get(r))})}const dl=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function kn(e){return typeof e!="string"||e.includes("-")?!1:!!(dl.indexOf(e)>-1||/[A-Z]/u.test(e))}const _t={};function fl(e){Object.assign(_t,e)}const Ct=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Oe=new Set(Ct);function Br(e,{layout:t,layoutId:n}){return Oe.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!_t[e]||e==="opacity")}const ee=e=>!!(e&&e.getVelocity),hl={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},pl=Ct.length;function ml(e,t,n){let i="";for(let r=0;r<pl;r++){const s=Ct[r];if(e[s]!==void 0){const o=hl[s]||s;i+=`${o}(${e[s]}) `}}return i=i.trim(),n?i=n(e,t?"":i):t&&(i="none"),i}const Gr=e=>t=>typeof t=="string"&&t.startsWith(e),Mr=Gr("--"),gl=Gr("var(--"),zn=e=>gl(e)?bl.test(e.split("/*")[0].trim()):!1,bl=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,vl=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Xe=(e,t,n)=>n>t?t:n<e?e:n,st={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},It={...st,transform:e=>Xe(0,1,e)},Qt={...st,default:1},xt=e=>Math.round(e*1e5)/1e5,jn=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,yl=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,Cl=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function At(e){return typeof e=="string"}function Il(e){return e==null}const St=e=>({test:t=>At(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ze=St("deg"),Ie=St("%"),F=St("px"),xl=St("vh"),Al=St("vw"),Dr={...Ie,parse:e=>Ie.parse(e)/100,transform:e=>Ie.transform(e*100)},Nr={...st,transform:Math.round},Lr={borderWidth:F,borderTopWidth:F,borderRightWidth:F,borderBottomWidth:F,borderLeftWidth:F,borderRadius:F,radius:F,borderTopLeftRadius:F,borderTopRightRadius:F,borderBottomRightRadius:F,borderBottomLeftRadius:F,width:F,maxWidth:F,height:F,maxHeight:F,size:F,top:F,right:F,bottom:F,left:F,padding:F,paddingTop:F,paddingRight:F,paddingBottom:F,paddingLeft:F,margin:F,marginTop:F,marginRight:F,marginBottom:F,marginLeft:F,rotate:Ze,rotateX:Ze,rotateY:Ze,rotateZ:Ze,scale:Qt,scaleX:Qt,scaleY:Qt,scaleZ:Qt,skew:Ze,skewX:Ze,skewY:Ze,distance:F,translateX:F,translateY:F,translateZ:F,x:F,y:F,z:F,perspective:F,transformPerspective:F,opacity:It,originX:Dr,originY:Dr,originZ:F,zIndex:Nr,backgroundPositionX:F,backgroundPositionY:F,fillOpacity:It,strokeOpacity:It,numOctaves:Nr};function Yn(e,t,n){const{style:i,vars:r,transform:s,transformOrigin:o}=e;let u=!1,a=!1,l=!0;for(const c in t){const d=t[c];if(Mr(c)){r[c]=d;continue}const f=Lr[c],h=vl(d,f);if(Oe.has(c)){if(u=!0,s[c]=h,!l)continue;d!==(f.default||0)&&(l=!1)}else c.startsWith("origin")?(a=!0,o[c]=h):i[c]=h}if(t.transform||(u||n?i.transform=ml(e.transform,l,n):i.transform&&(i.transform="none")),a){const{originX:c="50%",originY:d="50%",originZ:f=0}=o;i.transformOrigin=`${c} ${d} ${f}`}}const Jn=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Wr(e,t,n){for(const i in t)!ee(t[i])&&!Br(i,n)&&(e[i]=t[i])}function Sl({transformTemplate:e},t){return C.useMemo(()=>{const n=Jn();return Yn(n,t,e),Object.assign({},n.vars,n.style)},[t])}function El(e,t){const n=e.style||{},i={};return Wr(i,n,e),Object.assign(i,Sl(e,t)),i}function Tl(e,t){const n={},i=El(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=i,n}const Pl=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function $t(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Pl.has(e)}let Rr=e=>!$t(e);function Vl(e){e&&(Rr=t=>t.startsWith("on")?!$t(t):e(t))}try{Vl(require("@emotion/is-prop-valid").default)}catch{}function wl(e,t,n){const i={};for(const r in e)r==="values"&&typeof e.values=="object"||(Rr(r)||n===!0&&$t(r)||!t&&!$t(r)||e.draggable&&r.startsWith("onDrag"))&&(i[r]=e[r]);return i}function Or(e,t,n){return typeof e=="string"?e:F.transform(t+n*e)}function Fl(e,t,n){const i=Or(t,e.x,e.width),r=Or(n,e.y,e.height);return`${i} ${r}`}const Bl={offset:"stroke-dashoffset",array:"stroke-dasharray"},Gl={offset:"strokeDashoffset",array:"strokeDasharray"};function Ml(e,t,n=1,i=0,r=!0){e.pathLength=1;const s=r?Bl:Gl;e[s.offset]=F.transform(-i);const o=F.transform(t),u=F.transform(n);e[s.array]=`${o} ${u}`}function Un(e,{attrX:t,attrY:n,attrScale:i,originX:r,originY:s,pathLength:o,pathSpacing:u=1,pathOffset:a=0,...l},c,d){if(Yn(e,l,d),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:h,dimensions:m}=e;f.transform&&(m&&(h.transform=f.transform),delete f.transform),m&&(r!==void 0||s!==void 0||h.transform)&&(h.transformOrigin=Fl(m,r!==void 0?r:.5,s!==void 0?s:.5)),t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),i!==void 0&&(f.scale=i),o!==void 0&&Ml(f,o,u,a,!1)}const Xr=()=>({...Jn(),attrs:{}}),_n=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Dl(e,t,n,i){const r=C.useMemo(()=>{const s=Xr();return Un(s,t,_n(i),e.transformTemplate),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};Wr(s,e.style,e),r.style={...s,...r.style}}return r}function Nl(e=!1){return(n,i,r,{latestValues:s},o)=>{const a=(kn(n)?Dl:Tl)(i,s,o,n),l=wl(i,typeof n=="string",e),c=n!==C.Fragment?{...l,...a,ref:r}:{},{children:d}=i,f=C.useMemo(()=>ee(d)?d.get():d,[d]);return C.createElement(n,{...c,children:f})}}function Zr(e,{style:t,vars:n},i,r){Object.assign(e.style,t,r&&r.getProjectionStyles(i));for(const s in n)e.style.setProperty(s,n[s])}const Hr=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function kr(e,t,n,i){Zr(e,t,void 0,i);for(const r in t.attrs)e.setAttribute(Hr.has(r)?r:Yt(r),t.attrs[r])}function Qn(e,t,n){var i;const{style:r}=e,s={};for(const o in r)(ee(r[o])||t.style&&ee(t.style[o])||Br(o,e)||((i=n==null?void 0:n.getValue(o))===null||i===void 0?void 0:i.liveStyle)!==void 0)&&(s[o]=r[o]);return n&&r&&typeof r.willChange=="string"&&(n.applyWillChange=!1),s}function zr(e,t,n){const i=Qn(e,t,n);for(const r in e)if(ee(e[r])||ee(t[r])){const s=Ct.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;i[s]=e[r]}return i}function jr(e){const t=[{},{}];return e==null||e.values.forEach((n,i)=>{t[0][i]=n.get(),t[1][i]=n.getVelocity()}),t}function $n(e,t,n,i){if(typeof t=="function"){const[r,s]=jr(i);t=t(n!==void 0?n:e.custom,r,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[r,s]=jr(i);t=t(n!==void 0?n:e.custom,r,s)}return t}function Yr(e){const t=C.useRef(null);return t.current===null&&(t.current=e()),t.current}const Kn=e=>Array.isArray(e),Ll=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),Wl=e=>Kn(e)?e[e.length-1]||0:e;function Kt(e){const t=ee(e)?e.get():e;return Ll(t)?t.toValue():t}const Jr=new Set(["opacity","clipPath","filter","transform"]);function Ur(e){if(Oe.has(e))return"transform";if(Jr.has(e))return Yt(e)}function qt(e,t){e.indexOf(t)===-1&&e.push(t)}function en(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Rl({applyWillChange:e=!1,scrapeMotionValuesFromProps:t,createRenderState:n,onMount:i},r,s,o,u){const a={latestValues:Xl(r,s,o,u?!1:e,t),renderState:n()};return i&&(a.mount=l=>i(r,l,a)),a}const _r=e=>(t,n)=>{const i=C.useContext(zt),r=C.useContext(jt),s=()=>Rl(e,t,i,r,n);return n?s():Yr(s)};function Ol(e,t){const n=Ur(t);n&&qt(e,n)}function Qr(e,t,n){const i=Array.isArray(t)?t:[t];for(let r=0;r<i.length;r++){const s=$n(e,i[r]);if(s){const{transitionEnd:o,transition:u,...a}=s;n(a,o)}}}function Xl(e,t,n,i,r){var s;const o={},u=[],a=i&&((s=e.style)===null||s===void 0?void 0:s.willChange)===void 0,l=r(e,{});for(const g in l)o[g]=Kt(l[g]);let{initial:c,animate:d}=e;const f=Ut(e),h=Vr(e);t&&h&&!f&&e.inherit!==!1&&(c===void 0&&(c=t.initial),d===void 0&&(d=t.animate));let m=n?n.initial===!1:!1;m=m||c===!1;const p=m?d:c;return p&&typeof p!="boolean"&&!yt(p)&&Qr(e,p,(g,b)=>{for(const I in g){let v=g[I];if(Array.isArray(v)){const x=m?v.length-1:0;v=v[x]}v!==null&&(o[I]=v)}for(const I in b)o[I]=b[I]}),a&&(d&&c!==!1&&!yt(d)&&Qr(e,d,g=>{for(const b in g)Ol(u,b)}),u.length&&(o.willChange=u.join(","))),o}const{schedule:O,cancel:we,state:$,steps:qn}=Sr(typeof requestAnimationFrame<"u"?requestAnimationFrame:Q,!0),Zl={useVisualState:_r({scrapeMotionValuesFromProps:zr,createRenderState:Xr,onMount:(e,t,{renderState:n,latestValues:i})=>{O.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),O.render(()=>{Un(n,i,_n(t.tagName),e.transformTemplate),kr(t,n)})}})},Hl={useVisualState:_r({applyWillChange:!0,scrapeMotionValuesFromProps:Qn,createRenderState:Jn})};function kl(e,{forwardMotionProps:t=!1},n,i){return{...kn(e)?Zl:Hl,preloadedFeatures:n,useRender:Nl(t),createVisualElement:i,Component:e}}function Fe(e,t,n,i={passive:!0}){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n)}const $r=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function tn(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}const zl=e=>t=>$r(t)&&e(t,tn(t));function Be(e,t,n,i){return Fe(e,t,zl(n),i)}const jl=(e,t)=>n=>t(e(n)),Ge=(...e)=>e.reduce(jl);function Kr(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const qr=Kr("dragHorizontal"),es=Kr("dragVertical");function ts(e){let t=!1;if(e==="y")t=es();else if(e==="x")t=qr();else{const n=qr(),i=es();n&&i?t=()=>{n(),i()}:(n&&n(),i&&i())}return t}function ns(){const e=ts(!0);return e?(e(),!1):!0}class He{constructor(t){this.isMounted=!1,this.node=t}update(){}}function is(e,t){const n=t?"pointerenter":"pointerleave",i=t?"onHoverStart":"onHoverEnd",r=(s,o)=>{if(s.pointerType==="touch"||ns())return;const u=e.getProps();e.animationState&&u.whileHover&&e.animationState.setActive("whileHover",t);const a=u[i];a&&O.postRender(()=>a(s,o))};return Be(e.current,n,r,{passive:!e.getProps()[i]})}class Yl extends He{mount(){this.unmount=Ge(is(this.node,!0),is(this.node,!1))}unmount(){}}class Jl extends He{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Ge(Fe(this.node.current,"focus",()=>this.onFocus()),Fe(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const rs=(e,t)=>t?e===t?!0:rs(e,t.parentElement):!1;function ei(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,tn(n))}class Ul extends He{constructor(){super(...arguments),this.removeStartListeners=Q,this.removeEndListeners=Q,this.removeAccessibleListeners=Q,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const i=this.node.getProps(),s=Be(window,"pointerup",(u,a)=>{if(!this.checkPressEnd())return;const{onTap:l,onTapCancel:c,globalTapTarget:d}=this.node.getProps(),f=!d&&!rs(this.node.current,u.target)?c:l;f&&O.update(()=>f(u,a))},{passive:!(i.onTap||i.onPointerUp)}),o=Be(window,"pointercancel",(u,a)=>this.cancelPress(u,a),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=Ge(s,o),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=s=>{if(s.key!=="Enter"||this.isPressing)return;const o=u=>{u.key!=="Enter"||!this.checkPressEnd()||ei("up",(a,l)=>{const{onTap:c}=this.node.getProps();c&&O.postRender(()=>c(a,l))})};this.removeEndListeners(),this.removeEndListeners=Fe(this.node.current,"keyup",o),ei("down",(u,a)=>{this.startPress(u,a)})},n=Fe(this.node.current,"keydown",t),i=()=>{this.isPressing&&ei("cancel",(s,o)=>this.cancelPress(s,o))},r=Fe(this.node.current,"blur",i);this.removeAccessibleListeners=Ge(n,r)}}startPress(t,n){this.isPressing=!0;const{onTapStart:i,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),i&&O.postRender(()=>i(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!ns()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:i}=this.node.getProps();i&&O.postRender(()=>i(t,n))}mount(){const t=this.node.getProps(),n=Be(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),i=Fe(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Ge(n,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const ti=new WeakMap,ni=new WeakMap,_l=e=>{const t=ti.get(e.target);t&&t(e)},Ql=e=>{e.forEach(_l)};function $l({root:e,...t}){const n=e||document;ni.has(n)||ni.set(n,{});const i=ni.get(n),r=JSON.stringify(t);return i[r]||(i[r]=new IntersectionObserver(Ql,{root:e,...t})),i[r]}function Kl(e,t,n){const i=$l(t);return ti.set(e,n),i.observe(e),()=>{ti.delete(e),i.unobserve(e)}}const ql={some:0,all:1};class ec extends He{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:i,amount:r="some",once:s}=t,o={root:n?n.current:void 0,rootMargin:i,threshold:typeof r=="number"?r:ql[r]},u=a=>{const{isIntersecting:l}=a;if(this.isInView===l||(this.isInView=l,s&&!l&&this.hasEnteredView))return;l&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",l);const{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),f=l?c:d;f&&f(a)};return Kl(this.node.current,o,u)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(tc(t,n))&&this.startObserver()}unmount(){}}function tc({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const nc={inView:{Feature:ec},tap:{Feature:Ul},focus:{Feature:Jl},hover:{Feature:Yl}};function ss(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}function nn(e,t,n){const i=e.getProps();return $n(i,t,n!==void 0?n:i.custom,e)}const Me=e=>e*1e3,De=e=>e/1e3,ic={type:"spring",stiffness:500,damping:25,restSpeed:10},rc=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),sc={type:"keyframes",duration:.8},oc={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ac=(e,{keyframes:t})=>t.length>2?sc:Oe.has(e)?e.startsWith("scale")?rc(t[1]):ic:oc;function uc({when:e,delay:t,delayChildren:n,staggerChildren:i,staggerDirection:r,repeat:s,repeatType:o,repeatDelay:u,from:a,elapsed:l,...c}){return!!Object.keys(c).length}function ii(e,t){return e[t]||e.default||e}const lc=e=>e!==null;function rn(e,{repeat:t,repeatType:n="loop"},i){const r=e.filter(lc),s=t&&n!=="loop"&&t%2===1?0:r.length-1;return!s||i===void 0?r[s]:i}let sn;function cc(){sn=void 0}const ke={now:()=>(sn===void 0&&ke.set($.isProcessing||_u.useManualTiming?$.timestamp:performance.now()),sn),set:e=>{sn=e,queueMicrotask(cc)}},os=e=>/^0[^.\s]+$/u.test(e);function dc(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||os(e):!0}const as=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),fc=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function hc(e){const t=fc.exec(e);if(!t)return[,];const[,n,i,r]=t;return[`--${n??i}`,r]}const pc=4;function us(e,t,n=1){Ve(n<=pc,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[i,r]=hc(e);if(!i)return;const s=window.getComputedStyle(t).getPropertyValue(i);if(s){const o=s.trim();return as(o)?parseFloat(o):o}return zn(r)?us(r,t,n+1):r}const mc=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),ls=e=>e===st||e===F,cs=(e,t)=>parseFloat(e.split(", ")[t]),ds=(e,t)=>(n,{transform:i})=>{if(i==="none"||!i)return 0;const r=i.match(/^matrix3d\((.+)\)$/u);if(r)return cs(r[1],t);{const s=i.match(/^matrix\((.+)\)$/u);return s?cs(s[1],e):0}},gc=new Set(["x","y","z"]),bc=Ct.filter(e=>!gc.has(e));function vc(e){const t=[];return bc.forEach(n=>{const i=e.getValue(n);i!==void 0&&(t.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),t}const ot={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:ds(4,13),y:ds(5,14)};ot.translateX=ot.x,ot.translateY=ot.y;const fs=e=>t=>t.test(e),hs=[st,F,Ie,Ze,Al,xl,{test:e=>e==="auto",parse:e=>e}],ps=e=>hs.find(fs(e)),Je=new Set;let ri=!1,si=!1;function ms(){if(si){const e=Array.from(Je).filter(i=>i.needsMeasurement),t=new Set(e.map(i=>i.element)),n=new Map;t.forEach(i=>{const r=vc(i);r.length&&(n.set(i,r),i.render())}),e.forEach(i=>i.measureInitialState()),t.forEach(i=>{i.render();const r=n.get(i);r&&r.forEach(([s,o])=>{var u;(u=i.getValue(s))===null||u===void 0||u.set(o)})}),e.forEach(i=>i.measureEndState()),e.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}si=!1,ri=!1,Je.forEach(e=>e.complete()),Je.clear()}function gs(){Je.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(si=!0)})}function yc(){gs(),ms()}class oi{constructor(t,n,i,r,s,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=i,this.motionValue=r,this.element=s,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Je.add(this),ri||(ri=!0,O.read(gs),O.resolveKeyframes(ms))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:i,motionValue:r}=this;for(let s=0;s<t.length;s++)if(t[s]===null)if(s===0){const o=r==null?void 0:r.get(),u=t[t.length-1];if(o!==void 0)t[0]=o;else if(i&&n){const a=i.readValue(n,u);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=u),r&&o===void 0&&r.set(t[0])}else t[s]=t[s-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Je.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Je.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const ai=(e,t)=>n=>!!(At(n)&&Cl.test(n)&&n.startsWith(e)||t&&!Il(n)&&Object.prototype.hasOwnProperty.call(n,t)),bs=(e,t,n)=>i=>{if(!At(i))return i;const[r,s,o,u]=i.match(jn);return{[e]:parseFloat(r),[t]:parseFloat(s),[n]:parseFloat(o),alpha:u!==void 0?parseFloat(u):1}},Cc=e=>Xe(0,255,e),ui={...st,transform:e=>Math.round(Cc(e))},Ue={test:ai("rgb","red"),parse:bs("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+ui.transform(e)+", "+ui.transform(t)+", "+ui.transform(n)+", "+xt(It.transform(i))+")"};function Ic(e){let t="",n="",i="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),i=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,i+=i,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}}const li={test:ai("#"),parse:Ic,transform:Ue.transform},at={test:ai("hsl","hue"),parse:bs("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:i=1})=>"hsla("+Math.round(e)+", "+Ie.transform(xt(t))+", "+Ie.transform(xt(n))+", "+xt(It.transform(i))+")"},te={test:e=>Ue.test(e)||li.test(e)||at.test(e),parse:e=>Ue.test(e)?Ue.parse(e):at.test(e)?at.parse(e):li.parse(e),transform:e=>At(e)?e:e.hasOwnProperty("red")?Ue.transform(e):at.transform(e)};function xc(e){var t,n;return isNaN(e)&&At(e)&&(((t=e.match(jn))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(yl))===null||n===void 0?void 0:n.length)||0)>0}const vs="number",ys="color",Ac="var",Sc="var(",Cs="${}",Ec=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Et(e){const t=e.toString(),n=[],i={color:[],number:[],var:[]},r=[];let s=0;const u=t.replace(Ec,a=>(te.test(a)?(i.color.push(s),r.push(ys),n.push(te.parse(a))):a.startsWith(Sc)?(i.var.push(s),r.push(Ac),n.push(a)):(i.number.push(s),r.push(vs),n.push(parseFloat(a))),++s,Cs)).split(Cs);return{values:n,split:u,indexes:i,types:r}}function Is(e){return Et(e).values}function xs(e){const{split:t,types:n}=Et(e),i=t.length;return r=>{let s="";for(let o=0;o<i;o++)if(s+=t[o],r[o]!==void 0){const u=n[o];u===vs?s+=xt(r[o]):u===ys?s+=te.transform(r[o]):s+=r[o]}return s}}const Tc=e=>typeof e=="number"?0:e;function Pc(e){const t=Is(e);return xs(e)(t.map(Tc))}const ze={test:xc,parse:Is,createTransformer:xs,getAnimatableNone:Pc},Vc=new Set(["brightness","contrast","saturate","opacity"]);function wc(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[i]=n.match(jn)||[];if(!i)return e;const r=n.replace(i,"");let s=Vc.has(t)?1:0;return i!==n&&(s*=100),t+"("+s+r+")"}const Fc=/\b([a-z-]*)\(.*?\)/gu,ci={...ze,getAnimatableNone:e=>{const t=e.match(Fc);return t?t.map(wc).join(" "):e}},Bc={...Lr,color:te,backgroundColor:te,outlineColor:te,fill:te,stroke:te,borderColor:te,borderTopColor:te,borderRightColor:te,borderBottomColor:te,borderLeftColor:te,filter:ci,WebkitFilter:ci},di=e=>Bc[e];function As(e,t){let n=di(e);return n!==ci&&(n=ze),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Gc=new Set(["auto","none","0"]);function Mc(e,t,n){let i=0,r;for(;i<e.length&&!r;){const s=e[i];typeof s=="string"&&!Gc.has(s)&&Et(s).values.length&&(r=e[i]),i++}if(r&&n)for(const s of t)e[s]=As(n,r)}class Ss extends oi{constructor(t,n,i,r){super(t,n,i,r,r==null?void 0:r.owner,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:i}=this;if(!n.current)return;super.readKeyframes();for(let a=0;a<t.length;a++){let l=t[a];if(typeof l=="string"&&(l=l.trim(),zn(l))){const c=us(l,n.current);c!==void 0&&(t[a]=c),a===t.length-1&&(this.finalKeyframe=l)}}if(this.resolveNoneKeyframes(),!mc.has(i)||t.length!==2)return;const[r,s]=t,o=ps(r),u=ps(s);if(o!==u)if(ls(o)&&ls(u))for(let a=0;a<t.length;a++){const l=t[a];typeof l=="string"&&(t[a]=parseFloat(l))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,i=[];for(let r=0;r<t.length;r++)dc(t[r])&&i.push(r);i.length&&Mc(t,i,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:i}=this;if(!t.current)return;i==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ot[i](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const r=n[n.length-1];r!==void 0&&t.getValue(i,r).jump(r,!1)}measureEndState(){var t;const{element:n,name:i,unresolvedKeyframes:r}=this;if(!n.current)return;const s=n.getValue(i);s&&s.jump(this.measuredOrigin,!1);const o=r.length-1,u=r[o];r[o]=ot[i](n.measureViewportBox(),window.getComputedStyle(n.current)),u!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=u),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([a,l])=>{n.getValue(a).set(l)}),this.resolveNoneKeyframes()}}function Es(e){let t;return()=>(t===void 0&&(t=e()),t)}const Ts=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(ze.test(e)||e==="0")&&!e.startsWith("url("));function Dc(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Nc(e,t,n,i){const r=e[0];if(r===null)return!1;if(t==="display"||t==="visibility")return!0;const s=e[e.length-1],o=Ts(r,t),u=Ts(s,t);return rt(o===u,`You are trying to animate ${t} from "${r}" to "${s}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${s} via the \`style\` property.`),!o||!u?!1:Dc(e)||n==="spring"&&i}class Ps{constructor({autoplay:t=!0,delay:n=0,type:i="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:o="loop",...u}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:t,delay:n,type:i,repeat:r,repeatDelay:s,repeatType:o,...u},this.updateFinishedPromise()}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&yc(),this._resolved}onKeyframesResolved(t,n){this.hasAttemptedResolve=!0;const{name:i,type:r,velocity:s,delay:o,onComplete:u,onUpdate:a,isGenerator:l}=this.options;if(!l&&!Nc(t,i,r,s))if(o)this.options.duration=0;else{a==null||a(rn(t,this.options,n)),u==null||u(),this.resolveFinishedPromise();return}const c=this.initPlayback(t,n);c!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...c},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}function Vs(e,t){return t?e*(1e3/t):0}const Lc=5;function ws(e,t,n){const i=Math.max(t-Lc,0);return Vs(n-e(i),t-i)}const fi=.001,Wc=.01,Fs=10,Rc=.05,Oc=1;function Xc({duration:e=800,bounce:t=.25,velocity:n=0,mass:i=1}){let r,s;rt(e<=Me(Fs),"Spring duration must be 10 seconds or less");let o=1-t;o=Xe(Rc,Oc,o),e=Xe(Wc,Fs,De(e)),o<1?(r=l=>{const c=l*o,d=c*e,f=c-n,h=hi(l,o),m=Math.exp(-d);return fi-f/h*m},s=l=>{const d=l*o*e,f=d*n+n,h=Math.pow(o,2)*Math.pow(l,2)*e,m=Math.exp(-d),p=hi(Math.pow(l,2),o);return(-r(l)+fi>0?-1:1)*((f-h)*m)/p}):(r=l=>{const c=Math.exp(-l*e),d=(l-n)*e+1;return-fi+c*d},s=l=>{const c=Math.exp(-l*e),d=(n-l)*(e*e);return c*d});const u=5/e,a=Hc(r,s,u);if(e=Me(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{const l=Math.pow(a,2)*i;return{stiffness:l,damping:o*2*Math.sqrt(i*l),duration:e}}}const Zc=12;function Hc(e,t,n){let i=n;for(let r=1;r<Zc;r++)i=i-e(i)/t(i);return i}function hi(e,t){return e*Math.sqrt(1-t*t)}const kc=["duration","bounce"],zc=["stiffness","damping","mass"];function Bs(e,t){return t.some(n=>e[n]!==void 0)}function jc(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Bs(e,zc)&&Bs(e,kc)){const n=Xc(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function Gs({keyframes:e,restDelta:t,restSpeed:n,...i}){const r=e[0],s=e[e.length-1],o={done:!1,value:r},{stiffness:u,damping:a,mass:l,duration:c,velocity:d,isResolvedFromDuration:f}=jc({...i,velocity:-De(i.velocity||0)}),h=d||0,m=a/(2*Math.sqrt(u*l)),p=s-r,g=De(Math.sqrt(u/l)),b=Math.abs(p)<5;n||(n=b?.01:2),t||(t=b?.005:.5);let I;if(m<1){const v=hi(g,m);I=x=>{const y=Math.exp(-m*g*x);return s-y*((h+m*g*p)/v*Math.sin(v*x)+p*Math.cos(v*x))}}else if(m===1)I=v=>s-Math.exp(-g*v)*(p+(h+g*p)*v);else{const v=g*Math.sqrt(m*m-1);I=x=>{const y=Math.exp(-m*g*x),E=Math.min(v*x,300);return s-y*((h+m*g*p)*Math.sinh(E)+v*p*Math.cosh(E))/v}}return{calculatedDuration:f&&c||null,next:v=>{const x=I(v);if(f)o.done=v>=c;else{let y=h;v!==0&&(m<1?y=ws(I,v,x):y=0);const E=Math.abs(y)<=n,T=Math.abs(s-x)<=t;o.done=E&&T}return o.value=o.done?s:x,o}}}function Ms({keyframes:e,velocity:t=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:u,max:a,restDelta:l=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},h=S=>u!==void 0&&S<u||a!==void 0&&S>a,m=S=>u===void 0?a:a===void 0||Math.abs(u-S)<Math.abs(a-S)?u:a;let p=n*t;const g=d+p,b=o===void 0?g:o(g);b!==g&&(p=b-d);const I=S=>-p*Math.exp(-S/i),v=S=>b+I(S),x=S=>{const M=I(S),N=v(S);f.done=Math.abs(M)<=l,f.value=f.done?b:N};let y,E;const T=S=>{h(f.value)&&(y=S,E=Gs({keyframes:[f.value,m(f.value)],velocity:ws(v,S,f.value),damping:r,stiffness:s,restDelta:l,restSpeed:c}))};return T(0),{calculatedDuration:null,next:S=>{let M=!1;return!E&&y===void 0&&(M=!0,x(S),T(S)),y!==void 0&&S>=y?E.next(S-y):(!M&&x(S),f)}}}const Ds=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Yc=1e-7,Jc=12;function Uc(e,t,n,i,r){let s,o,u=0;do o=t+(n-t)/2,s=Ds(o,i,r)-e,s>0?n=o:t=o;while(Math.abs(s)>Yc&&++u<Jc);return o}function Tt(e,t,n,i){if(e===t&&n===i)return Q;const r=s=>Uc(s,0,1,e,n);return s=>s===0||s===1?s:Ds(r(s),t,i)}const _c=Tt(.42,0,1,1),Qc=Tt(0,0,.58,1),Ns=Tt(.42,0,.58,1),$c=e=>Array.isArray(e)&&typeof e[0]!="number",Ls=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Ws=e=>t=>1-e(1-t),pi=e=>1-Math.sin(Math.acos(e)),Rs=Ws(pi),Kc=Ls(pi),Os=Tt(.33,1.53,.69,.99),mi=Ws(Os),qc=Ls(mi),Xs={linear:Q,easeIn:_c,easeInOut:Ns,easeOut:Qc,circIn:pi,circInOut:Kc,circOut:Rs,backIn:mi,backInOut:qc,backOut:Os,anticipate:e=>(e*=2)<1?.5*mi(e):.5*(2-Math.pow(2,-10*(e-1)))},Zs=e=>{if(Array.isArray(e)){Ve(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,n,i,r]=e;return Tt(t,n,i,r)}else if(typeof e=="string")return Ve(Xs[e]!==void 0,`Invalid easing type '${e}'`),Xs[e];return e},Pt=(e,t,n)=>{const i=t-e;return i===0?1:(n-e)/i},H=(e,t,n)=>e+(t-e)*n;function gi(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ed({hue:e,saturation:t,lightness:n,alpha:i}){e/=360,t/=100,n/=100;let r=0,s=0,o=0;if(!t)r=s=o=n;else{const u=n<.5?n*(1+t):n+t-n*t,a=2*n-u;r=gi(a,u,e+1/3),s=gi(a,u,e),o=gi(a,u,e-1/3)}return{red:Math.round(r*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:i}}function on(e,t){return n=>n>0?t:e}const bi=(e,t,n)=>{const i=e*e,r=n*(t*t-i)+i;return r<0?0:Math.sqrt(r)},td=[li,Ue,at],nd=e=>td.find(t=>t.test(e));function Hs(e){const t=nd(e);if(rt(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===at&&(n=ed(n)),n}const ks=(e,t)=>{const n=Hs(e),i=Hs(t);if(!n||!i)return on(e,t);const r={...n};return s=>(r.red=bi(n.red,i.red,s),r.green=bi(n.green,i.green,s),r.blue=bi(n.blue,i.blue,s),r.alpha=H(n.alpha,i.alpha,s),Ue.transform(r))},vi=new Set(["none","hidden"]);function id(e,t){return vi.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function rd(e,t){return n=>H(e,t,n)}function yi(e){return typeof e=="number"?rd:typeof e=="string"?zn(e)?on:te.test(e)?ks:ad:Array.isArray(e)?zs:typeof e=="object"?te.test(e)?ks:sd:on}function zs(e,t){const n=[...e],i=n.length,r=e.map((s,o)=>yi(s)(s,t[o]));return s=>{for(let o=0;o<i;o++)n[o]=r[o](s);return n}}function sd(e,t){const n={...e,...t},i={};for(const r in n)e[r]!==void 0&&t[r]!==void 0&&(i[r]=yi(e[r])(e[r],t[r]));return r=>{for(const s in i)n[s]=i[s](r);return n}}function od(e,t){var n;const i=[],r={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const o=t.types[s],u=e.indexes[o][r[o]],a=(n=e.values[u])!==null&&n!==void 0?n:0;i[s]=a,r[o]++}return i}const ad=(e,t)=>{const n=ze.createTransformer(t),i=Et(e),r=Et(t);return i.indexes.var.length===r.indexes.var.length&&i.indexes.color.length===r.indexes.color.length&&i.indexes.number.length>=r.indexes.number.length?vi.has(e)&&!r.values.length||vi.has(t)&&!i.values.length?id(e,t):Ge(zs(od(i,r),r.values),n):(rt(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),on(e,t))};function js(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?H(e,t,n):yi(e)(e,t)}function ud(e,t,n){const i=[],r=n||js,s=e.length-1;for(let o=0;o<s;o++){let u=r(e[o],e[o+1]);if(t){const a=Array.isArray(t)?t[o]||Q:t;u=Ge(a,u)}i.push(u)}return i}function ld(e,t,{clamp:n=!0,ease:i,mixer:r}={}){const s=e.length;if(Ve(s===t.length,"Both input and output ranges must be the same length"),s===1)return()=>t[0];if(s===2&&e[0]===e[1])return()=>t[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const o=ud(t,i,r),u=o.length,a=l=>{let c=0;if(u>1)for(;c<e.length-2&&!(l<e[c+1]);c++);const d=Pt(e[c],e[c+1],l);return o[c](d)};return n?l=>a(Xe(e[0],e[s-1],l)):a}function cd(e,t){const n=e[e.length-1];for(let i=1;i<=t;i++){const r=Pt(0,t,i);e.push(H(n,1,r))}}function dd(e){const t=[0];return cd(t,e.length-1),t}function fd(e,t){return e.map(n=>n*t)}function hd(e,t){return e.map(()=>t||Ns).splice(0,e.length-1)}function an({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){const r=$c(i)?i.map(Zs):Zs(i),s={done:!1,value:t[0]},o=fd(n&&n.length===t.length?n:dd(t),e),u=ld(o,t,{ease:Array.isArray(r)?r:hd(t,r)});return{calculatedDuration:e,next:a=>(s.value=u(a),s.done=a>=e,s)}}const Ys=2e4;function pd(e){let t=0;const n=50;let i=e.next(t);for(;!i.done&&t<Ys;)t+=n,i=e.next(t);return t>=Ys?1/0:t}const md=e=>{const t=({timestamp:n})=>e(n);return{start:()=>O.update(t,!0),stop:()=>we(t),now:()=>$.isProcessing?$.timestamp:ke.now()}},gd={decay:Ms,inertia:Ms,tween:an,keyframes:an,spring:Gs},bd=e=>e/100;class Ci extends Ps{constructor({KeyframeResolver:t=oi,...n}){super(n),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:u}=this.options;u&&u()};const{name:i,motionValue:r,keyframes:s}=this.options,o=(u,a)=>this.onKeyframesResolved(u,a);i&&r&&r.owner?this.resolver=r.owner.resolveKeyframes(s,o,i,r):this.resolver=new t(s,o,i,r),this.resolver.scheduleResolve()}initPlayback(t){const{type:n="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:s,velocity:o=0}=this.options,u=gd[n]||an;let a,l;u!==an&&typeof t[0]!="number"&&(process.env.NODE_ENV!=="production"&&Ve(t.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${t}`),a=Ge(bd,js(t[0],t[1])),t=[0,100]);const c=u({...this.options,keyframes:t});s==="mirror"&&(l=u({...this.options,keyframes:[...t].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=pd(c));const{calculatedDuration:d}=c,f=d+r,h=f*(i+1)-r;return{generator:c,mirroredGenerator:l,mapPercentToKeyframes:a,calculatedDuration:d,resolvedDuration:f,totalDuration:h}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:i}=this;if(!i){const{keyframes:S}=this.options;return{done:!0,value:S[S.length-1]}}const{finalKeyframe:r,generator:s,mirroredGenerator:o,mapPercentToKeyframes:u,keyframes:a,calculatedDuration:l,totalDuration:c,resolvedDuration:d}=i;if(this.startTime===null)return s.next(0);const{delay:f,repeat:h,repeatType:m,repeatDelay:p,onUpdate:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-c/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const b=this.currentTime-f*(this.speed>=0?1:-1),I=this.speed>=0?b<0:b>c;this.currentTime=Math.max(b,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let v=this.currentTime,x=s;if(h){const S=Math.min(this.currentTime,c)/d;let M=Math.floor(S),N=S%1;!N&&S>=1&&(N=1),N===1&&M--,M=Math.min(M,h+1),!!(M%2)&&(m==="reverse"?(N=1-N,p&&(N-=p/d)):m==="mirror"&&(x=o)),v=Xe(0,1,N)*d}const y=I?{done:!1,value:a[0]}:x.next(v);u&&(y.value=u(y.value));let{done:E}=y;!I&&l!==null&&(E=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return T&&r!==void 0&&(y.value=rn(a,this.options,r)),g&&g(y.value),T&&this.finish(),y}get duration(){const{resolved:t}=this;return t?De(t.calculatedDuration):0}get time(){return De(this.currentTime)}set time(t){t=Me(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=De(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=md,onPlay:n}=this.options;this.driver||(this.driver=t(r=>this.tick(r))),n&&n();const i=this.driver.now();this.holdTime!==null?this.startTime=i-this.holdTime:(!this.startTime||this.state==="finished")&&(this.startTime=i),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const Js=e=>Array.isArray(e)&&typeof e[0]=="number";function Us(e){return!!(!e||typeof e=="string"&&e in Ii||Js(e)||Array.isArray(e)&&e.every(Us))}const Vt=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,Ii={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Vt([0,.65,.55,1]),circOut:Vt([.55,0,1,.45]),backIn:Vt([.31,.01,.66,-.59]),backOut:Vt([.33,1.53,.69,.99])};function vd(e){return _s(e)||Ii.easeOut}function _s(e){if(e)return Js(e)?Vt(e):Array.isArray(e)?e.map(vd):Ii[e]}function yd(e,t,n,{delay:i=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:u,times:a}={}){const l={[t]:n};a&&(l.offset=a);const c=_s(u);return Array.isArray(c)&&(l.easing=c),e.animate(l,{delay:i,duration:r,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:o==="reverse"?"alternate":"normal"})}const Cd=Es(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),un=10,Id=2e4;function xd(e){return e.type==="spring"||!Us(e.ease)}function Ad(e,t){const n=new Ci({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let i={done:!1,value:e[0]};const r=[];let s=0;for(;!i.done&&s<Id;)i=n.sample(s),r.push(i.value),s+=un;return{times:void 0,keyframes:r,duration:s-un,ease:"linear"}}class Qs extends Ps{constructor(t){super(t);const{name:n,motionValue:i,keyframes:r}=this.options;this.resolver=new Ss(r,(s,o)=>this.onKeyframesResolved(s,o),n,i),this.resolver.scheduleResolve()}initPlayback(t,n){var i;let{duration:r=300,times:s,ease:o,type:u,motionValue:a,name:l}=this.options;if(!(!((i=a.owner)===null||i===void 0)&&i.current))return!1;if(xd(this.options)){const{onComplete:d,onUpdate:f,motionValue:h,...m}=this.options,p=Ad(t,m);t=p.keyframes,t.length===1&&(t[1]=t[0]),r=p.duration,s=p.times,o=p.ease,u="keyframes"}const c=yd(a.owner.current,l,t,{...this.options,duration:r,times:s,ease:o});return c.startTime=ke.now(),this.pendingTimeline?(c.timeline=this.pendingTimeline,this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:d}=this.options;a.set(rn(t,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:r,times:s,type:u,ease:o,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return De(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return De(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.currentTime=Me(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return Q;const{animation:i}=n;i.timeline=t,i.onfinish=null}return Q}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:i,duration:r,type:s,ease:o,times:u}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:l,onUpdate:c,onComplete:d,...f}=this.options,h=new Ci({...f,keyframes:i,duration:r,type:s,ease:o,times:u,isGenerator:!0}),m=Me(this.time);l.setWithVelocity(h.sample(m-un).value,h.sample(m).value,un)}const{onStop:a}=this.options;a&&a(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:i,repeatDelay:r,repeatType:s,damping:o,type:u}=t;return Cd()&&i&&Jr.has(i)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!r&&s!=="mirror"&&o!==0&&u!=="inertia"}}function Sd(e,t){let n;const i=()=>{const{currentTime:r}=t,o=(r===null?0:r.value)/100;n!==o&&e(o),n=o};return O.update(i,!0),()=>we(i)}const Ed=Es(()=>window.ScrollTimeline!==void 0);class Td{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}then(t,n){return Promise.all(this.animations).then(t).catch(n)}getAll(t){return this.animations[0][t]}setAll(t,n){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=n}attachTimeline(t){const n=this.animations.map(i=>{if(Ed()&&i.attachTimeline)i.attachTimeline(t);else return i.pause(),Sd(r=>{i.time=i.duration*r},t)});return()=>{n.forEach((i,r)=>{i&&i(),this.animations[r].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get duration(){let t=0;for(let n=0;n<this.animations.length;n++)t=Math.max(t,this.animations[n].duration);return t}runAll(t){this.animations.forEach(n=>n[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}const xi=(e,t,n,i={},r,s,o)=>u=>{const a=ii(i,e)||{},l=a.delay||i.delay||0;let{elapsed:c=0}=i;c=c-Me(l);let d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:h=>{t.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{u(),a.onComplete&&a.onComplete(),o&&o()},onStop:o,name:e,motionValue:t,element:s?void 0:r};uc(a)||(d={...d,...ac(e,d)}),d.duration&&(d.duration=Me(d.duration)),d.repeatDelay&&(d.repeatDelay=Me(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let f=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(d.duration=0,d.delay===0&&(f=!0)),f&&!s&&t.get()!==void 0){const h=rn(d.keyframes,a);if(h!==void 0)return O.update(()=>{d.onUpdate(h),d.onComplete()}),new Td([])}return!s&&Qs.supports(d)?new Qs(d):new Ci(d)};class Ai{constructor(){this.subscriptions=[]}add(t){return qt(this.subscriptions,t),()=>en(this.subscriptions,t)}notify(t,n,i){const r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](t,n,i);else for(let s=0;s<r;s++){const o=this.subscriptions[s];o&&o(t,n,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const $s=new Set;function Si(e,t,n){e||$s.has(t)||(console.warn(t),$s.add(t))}const Ks=30,Pd=e=>!isNaN(parseFloat(e));class qs{constructor(t,n={}){this.version="11.3.8",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(i,r=!0)=>{const s=ke.now();this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(i),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),r&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=ke.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Pd(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&Si(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Ai);const i=this.events[t].add(n);return t==="change"?()=>{i(),O.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,i){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=ke.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Ks)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Ks);return Vs(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function wt(e,t){return new qs(e,t)}function Vd(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,wt(n))}function wd(e,t){const n=nn(e,t);let{transitionEnd:i={},transition:r={},...s}=n||{};s={...s,...i};for(const o in s){const u=Wl(s[o]);Vd(e,o,u)}}function eo(e){return e.getProps()[Ar]}class Fd extends qs{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(t){const n=Ur(t);if(!n)return;const i=this.counts.get(n)||0;this.counts.set(n,i+1),i===0&&(this.output.push(n),this.update());let r=!1;return()=>{if(r)return;r=!0;const s=this.counts.get(n)-1;this.counts.set(n,s),s===0&&(en(this.output,n),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}}function Bd(e){return!!(ee(e)&&e.add)}function Ei(e,t){var n;if(!e.applyWillChange)return;let i=e.getValue("willChange");if(!i&&!(!((n=e.props.style)===null||n===void 0)&&n.willChange)&&(i=new Fd("auto"),e.addValue("willChange",i)),Bd(i))return i.add(t)}function Gd({protectedKeys:e,needsAnimating:t},n){const i=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,i}function to(e,t,{delay:n=0,transitionOverride:i,type:r}={}){var s;let{transition:o=e.getDefaultTransition(),transitionEnd:u,...a}=t;i&&(o=i);const l=[],c=r&&e.animationState&&e.animationState.getState()[r];for(const d in a){const f=e.getValue(d,(s=e.latestValues[d])!==null&&s!==void 0?s:null),h=a[d];if(h===void 0||c&&Gd(c,d))continue;const m={delay:n,elapsed:0,...ii(o||{},d)};let p=!1;if(window.HandoffAppearAnimations){const b=eo(e);if(b){const I=window.HandoffAppearAnimations(b,d,f,O);I!==null&&(m.elapsed=I,p=!0)}}f.start(xi(d,f,h,e.shouldReduceMotion&&Oe.has(d)?{type:!1}:m,e,p,Ei(e,d)));const g=f.animation;g&&l.push(g)}return u&&Promise.all(l).then(()=>{O.update(()=>{u&&wd(e,u)})}),l}function Ti(e,t,n={}){var i;const r=nn(e,t,n.type==="exit"?(i=e.presenceContext)===null||i===void 0?void 0:i.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);const o=r?()=>Promise.all(to(e,r,n)):()=>Promise.resolve(),u=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=s;return Md(e,t,c+l,d,f,n)}:()=>Promise.resolve(),{when:a}=s;if(a){const[l,c]=a==="beforeChildren"?[o,u]:[u,o];return l().then(()=>c())}else return Promise.all([o(),u(n.delay)])}function Md(e,t,n=0,i=0,r=1,s){const o=[],u=(e.variantChildren.size-1)*i,a=r===1?(l=0)=>l*i:(l=0)=>u-l*i;return Array.from(e.variantChildren).sort(Dd).forEach((l,c)=>{l.notify("AnimationStart",t),o.push(Ti(l,t,{...s,delay:n+a(c)}).then(()=>l.notify("AnimationComplete",t)))}),Promise.all(o)}function Dd(e,t){return e.sortNodePosition(t)}function Nd(e,t,n={}){e.notify("AnimationStart",t);let i;if(Array.isArray(t)){const r=t.map(s=>Ti(e,s,n));i=Promise.all(r)}else if(typeof t=="string")i=Ti(e,t,n);else{const r=typeof t=="function"?nn(e,t,n.custom):t;i=Promise.all(to(e,r,n))}return i.then(()=>{O.postRender(()=>{e.notify("AnimationComplete",t)})})}const Ld=[...Xn].reverse(),Wd=Xn.length;function Rd(e){return t=>Promise.all(t.map(({animation:n,options:i})=>Nd(e,n,i)))}function Od(e){let t=Rd(e),n=no(),i=!0;const r=a=>(l,c)=>{var d;const f=nn(e,c,a==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:h,transitionEnd:m,...p}=f;l={...l,...p,...m}}return l};function s(a){t=a(e)}function o(a){const l=e.getProps(),c=e.getVariantContext(!0)||{},d=[],f=new Set;let h={},m=1/0;for(let g=0;g<Wd;g++){const b=Ld[g],I=n[b],v=l[b]!==void 0?l[b]:c[b],x=vt(v),y=b===a?I.isActive:null;y===!1&&(m=g);let E=v===c[b]&&v!==l[b]&&x;if(E&&i&&e.manuallyAnimateOnMount&&(E=!1),I.protectedKeys={...h},!I.isActive&&y===null||!v&&!I.prevProp||yt(v)||typeof v=="boolean")continue;let S=Xd(I.prevProp,v)||b===a&&I.isActive&&!E&&x||g>m&&x,M=!1;const N=Array.isArray(v)?v:[v];let k=N.reduce(r(b),{});y===!1&&(k={});const{prevResolvedValues:Y={}}=I,ce={...Y,...k},oe=D=>{S=!0,f.has(D)&&(M=!0,f.delete(D)),I.needsAnimating[D]=!0;const R=e.getValue(D);R&&(R.liveStyle=!1)};for(const D in ce){const R=k[D],ie=Y[D];if(h.hasOwnProperty(D))continue;let _=!1;Kn(R)&&Kn(ie)?_=!ss(R,ie):_=R!==ie,_?R!=null?oe(D):f.add(D):R!==void 0&&f.has(D)?oe(D):I.protectedKeys[D]=!0}I.prevProp=v,I.prevResolvedValues=k,I.isActive&&(h={...h,...k}),i&&e.blockInitialAnimation&&(S=!1),S&&(!E||M)&&d.push(...N.map(D=>({animation:D,options:{type:b}})))}if(f.size){const g={};f.forEach(b=>{const I=e.getBaseTarget(b),v=e.getValue(b);v&&(v.liveStyle=!0),g[b]=I??null}),d.push({animation:g})}let p=!!d.length;return i&&(l.initial===!1||l.initial===l.animate)&&!e.manuallyAnimateOnMount&&(p=!1),i=!1,p?t(d):Promise.resolve()}function u(a,l){var c;if(n[a].isActive===l)return Promise.resolve();(c=e.variantChildren)===null||c===void 0||c.forEach(f=>{var h;return(h=f.animationState)===null||h===void 0?void 0:h.setActive(a,l)}),n[a].isActive=l;const d=o(a);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:o,setActive:u,setAnimateFunction:s,getState:()=>n,reset:()=>{n=no(),i=!0}}}function Xd(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!ss(t,e):!1}function _e(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function no(){return{animate:_e(!0),whileInView:_e(),whileHover:_e(),whileTap:_e(),whileDrag:_e(),whileFocus:_e(),exit:_e()}}class Zd extends He{constructor(t){super(t),t.animationState||(t.animationState=Od(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();yt(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let Hd=0;class kd extends He{constructor(){super(...arguments),this.id=Hd++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;const r=this.node.animationState.setActive("exit",!t);n&&!t&&r.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const zd={animation:{Feature:Zd},exit:{Feature:kd}},io=(e,t)=>Math.abs(e-t);function jd(e,t){const n=io(e.x,t.x),i=io(e.y,t.y);return Math.sqrt(n**2+i**2)}class ro{constructor(t,n,{transformPagePoint:i,contextWindow:r,dragSnapToOrigin:s=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=Vi(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,h=jd(d.offset,{x:0,y:0})>=3;if(!f&&!h)return;const{point:m}=d,{timestamp:p}=$;this.history.push({...m,timestamp:p});const{onStart:g,onMove:b}=this.handlers;f||(g&&g(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),b&&b(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=Pi(f,this.transformPagePoint),O.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:h,onSessionEnd:m,resumeAnimation:p}=this.handlers;if(this.dragSnapToOrigin&&p&&p(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g=Vi(d.type==="pointercancel"?this.lastMoveEventInfo:Pi(f,this.transformPagePoint),this.history);this.startEvent&&h&&h(d,g),m&&m(d,g)},!$r(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=i,this.contextWindow=r||window;const o=tn(t),u=Pi(o,this.transformPagePoint),{point:a}=u,{timestamp:l}=$;this.history=[{...a,timestamp:l}];const{onSessionStart:c}=n;c&&c(t,Vi(u,this.history)),this.removeListeners=Ge(Be(this.contextWindow,"pointermove",this.handlePointerMove),Be(this.contextWindow,"pointerup",this.handlePointerUp),Be(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),we(this.updatePoint)}}function Pi(e,t){return t?{point:t(e.point)}:e}function so(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Vi({point:e},t){return{point:e,delta:so(e,oo(t)),offset:so(e,Yd(t)),velocity:Jd(t,.1)}}function Yd(e){return e[0]}function oo(e){return e[e.length-1]}function Jd(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,i=null;const r=oo(e);for(;n>=0&&(i=e[n],!(r.timestamp-i.timestamp>Me(t)));)n--;if(!i)return{x:0,y:0};const s=De(r.timestamp-i.timestamp);if(s===0)return{x:0,y:0};const o={x:(r.x-i.x)/s,y:(r.y-i.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}const ao=1e-4,Ud=1-ao,_d=1+ao,uo=.01,Qd=0-uo,$d=0+uo;function ue(e){return e.max-e.min}function Kd(e,t,n){return Math.abs(e-t)<=n}function lo(e,t,n,i=.5){e.origin=i,e.originPoint=H(t.min,t.max,e.origin),e.scale=ue(n)/ue(t),e.translate=H(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Ud&&e.scale<=_d||isNaN(e.scale))&&(e.scale=1),(e.translate>=Qd&&e.translate<=$d||isNaN(e.translate))&&(e.translate=0)}function Ft(e,t,n,i){lo(e.x,t.x,n.x,i?i.originX:void 0),lo(e.y,t.y,n.y,i?i.originY:void 0)}function co(e,t,n){e.min=n.min+t.min,e.max=e.min+ue(t)}function qd(e,t,n){co(e.x,t.x,n.x),co(e.y,t.y,n.y)}function fo(e,t,n){e.min=t.min-n.min,e.max=e.min+ue(t)}function Bt(e,t,n){fo(e.x,t.x,n.x),fo(e.y,t.y,n.y)}function ef(e,{min:t,max:n},i){return t!==void 0&&e<t?e=i?H(t,e,i.min):Math.max(e,t):n!==void 0&&e>n&&(e=i?H(n,e,i.max):Math.min(e,n)),e}function ho(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function tf(e,{top:t,left:n,bottom:i,right:r}){return{x:ho(e.x,n,r),y:ho(e.y,t,i)}}function po(e,t){let n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,i]=[i,n]),{min:n,max:i}}function nf(e,t){return{x:po(e.x,t.x),y:po(e.y,t.y)}}function rf(e,t){let n=.5;const i=ue(e),r=ue(t);return r>i?n=Pt(t.min,t.max-i,e.min):i>r&&(n=Pt(e.min,e.max-r,t.min)),Xe(0,1,n)}function sf(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const wi=.35;function of(e=wi){return e===!1?e=0:e===!0&&(e=wi),{x:mo(e,"left","right"),y:mo(e,"top","bottom")}}function mo(e,t,n){return{min:go(e,t),max:go(e,n)}}function go(e,t){return typeof e=="number"?e:e[t]||0}const bo=()=>({translate:0,scale:1,origin:0,originPoint:0}),ut=()=>({x:bo(),y:bo()}),vo=()=>({min:0,max:0}),j=()=>({x:vo(),y:vo()});function fe(e){return[e("x"),e("y")]}function yo({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function af({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function uf(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}function Fi(e){return e===void 0||e===1}function Bi({scale:e,scaleX:t,scaleY:n}){return!Fi(e)||!Fi(t)||!Fi(n)}function Qe(e){return Bi(e)||Co(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Co(e){return Io(e.x)||Io(e.y)}function Io(e){return e&&e!=="0%"}function ln(e,t,n){const i=e-n,r=t*i;return n+r}function xo(e,t,n,i,r){return r!==void 0&&(e=ln(e,r,i)),ln(e,n,i)+t}function Gi(e,t=0,n=1,i,r){e.min=xo(e.min,t,n,i,r),e.max=xo(e.max,t,n,i,r)}function Ao(e,{x:t,y:n}){Gi(e.x,t.translate,t.scale,t.originPoint),Gi(e.y,n.translate,n.scale,n.originPoint)}const So=.999999999999,Eo=1.0000000000001;function lf(e,t,n,i=!1){const r=n.length;if(!r)return;t.x=t.y=1;let s,o;for(let u=0;u<r;u++){s=n[u],o=s.projectionDelta;const{visualElement:a}=s.options;a&&a.props.style&&a.props.style.display==="contents"||(i&&s.options.layoutScroll&&s.scroll&&s!==s.root&&lt(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Ao(e,o)),i&&Qe(s.latestValues)&&lt(e,s.latestValues))}t.x<Eo&&t.x>So&&(t.x=1),t.y<Eo&&t.y>So&&(t.y=1)}function je(e,t){e.min=e.min+t,e.max=e.max+t}function To(e,t,n,i,r=.5){const s=H(e.min,e.max,r);Gi(e,t,n,s,i)}function lt(e,t){To(e.x,t.x,t.scaleX,t.scale,t.originX),To(e.y,t.y,t.scaleY,t.scale,t.originY)}function Po(e,t){return yo(uf(e.getBoundingClientRect(),t))}function cf(e,t,n){const i=Po(e,n),{scroll:r}=t;return r&&(je(i.x,r.offset.x),je(i.y,r.offset.y)),i}const Vo=({current:e})=>e?e.ownerDocument.defaultView:null,df=new WeakMap;class ff{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=j(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const r=c=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(tn(c,"page").point)},s=(c,d)=>{var f;const{drag:h,dragPropagation:m,onDragStart:p}=this.getProps();if(h&&!m&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=ts(h),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),fe(b=>{let I=this.getAxisMotionValue(b).get()||0;if(Ie.test(I)){const{projection:v}=this.visualElement;if(v&&v.layout){const x=v.layout.layoutBox[b];x&&(I=ue(x)*(parseFloat(I)/100))}}this.originPoint[b]=I}),p&&O.postRender(()=>p(c,d)),(f=this.removeWillChange)===null||f===void 0||f.call(this),this.removeWillChange=Ei(this.visualElement,"transform");const{animationState:g}=this.visualElement;g&&g.setActive("whileDrag",!0)},o=(c,d)=>{const{dragPropagation:f,dragDirectionLock:h,onDirectionLock:m,onDrag:p}=this.getProps();if(!f&&!this.openGlobalLock)return;const{offset:g}=d;if(h&&this.currentDirection===null){this.currentDirection=hf(g),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",d.point,g),this.updateAxis("y",d.point,g),this.visualElement.render(),p&&p(c,d)},u=(c,d)=>this.stop(c,d),a=()=>fe(c=>{var d;return this.getAnimationState(c)==="paused"&&((d=this.getAxisMotionValue(c).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new ro(t,{onSessionStart:r,onStart:s,onMove:o,onSessionEnd:u,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:Vo(this.visualElement)})}stop(t,n){var i;(i=this.removeWillChange)===null||i===void 0||i.call(this);const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:s}=n;this.startAnimation(s);const{onDragEnd:o}=this.getProps();o&&O.postRender(()=>o(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,i){const{drag:r}=this.getProps();if(!i||!cn(t,r,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(o=ef(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:i}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,s=this.constraints;n&&nt(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&r?this.constraints=tf(r.layoutBox,n):this.constraints=!1,this.elastic=of(i),s!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&fe(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=sf(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!nt(t))return!1;const i=t.current;Ve(i!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const s=cf(i,r.root,this.visualElement.getTransformPagePoint());let o=nf(r.layout.layoutBox,s);if(n){const u=n(af(o));this.hasMutatedConstraints=!!u,u&&(o=yo(u))}return o}startAnimation(t){const{drag:n,dragMomentum:i,dragElastic:r,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:u}=this.getProps(),a=this.constraints||{},l=fe(c=>{if(!cn(c,n,this.currentDirection))return;let d=a&&a[c]||{};o&&(d={min:0,max:0});const f=r?200:1e6,h=r?40:1e7,m={type:"inertia",velocity:i?t[c]:0,bounceStiffness:f,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...s,...d};return this.startAxisValueAnimation(c,m)});return Promise.all(l).then(u)}startAxisValueAnimation(t,n){const i=this.getAxisMotionValue(t);return i.start(xi(t,i,0,n,this.visualElement,!1,Ei(this.visualElement,t)))}stopAnimation(){fe(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){fe(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps(),r=i[n];return r||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){fe(n=>{const{drag:i}=this.getProps();if(!cn(n,i,this.currentDirection))return;const{projection:r}=this.visualElement,s=this.getAxisMotionValue(n);if(r&&r.layout){const{min:o,max:u}=r.layout.layoutBox[n];s.set(t[n]-H(o,u,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:i}=this.visualElement;if(!nt(n)||!i||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};fe(o=>{const u=this.getAxisMotionValue(o);if(u&&this.constraints!==!1){const a=u.get();r[o]=rf({min:a,max:a},this.constraints[o])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),fe(o=>{if(!cn(o,t,null))return;const u=this.getAxisMotionValue(o),{min:a,max:l}=this.constraints[o];u.set(H(a,l,r[o]))})}addListeners(){if(!this.visualElement.current)return;df.set(this.visualElement,this);const t=this.visualElement.current,n=Be(t,"pointerdown",a=>{const{drag:l,dragListener:c=!0}=this.getProps();l&&c&&this.start(a)}),i=()=>{const{dragConstraints:a}=this.getProps();nt(a)&&a.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,s=r.addEventListener("measure",i);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),O.read(i);const o=Fe(window,"resize",()=>this.scalePositionWithinConstraints()),u=r.addEventListener("didUpdate",({delta:a,hasLayoutChanged:l})=>{this.isDragging&&l&&(fe(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=a[c].translate,d.set(d.get()+a[c].translate))}),this.visualElement.render())});return()=>{o(),n(),s(),u&&u()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:s=!1,dragElastic:o=wi,dragMomentum:u=!0}=t;return{...t,drag:n,dragDirectionLock:i,dragPropagation:r,dragConstraints:s,dragElastic:o,dragMomentum:u}}}function cn(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function hf(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class pf extends He{constructor(t){super(t),this.removeGroupControls=Q,this.removeListeners=Q,this.controls=new ff(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Q}unmount(){this.removeGroupControls(),this.removeListeners()}}const wo=e=>(t,n)=>{e&&O.postRender(()=>e(t,n))};class mf extends He{constructor(){super(...arguments),this.removePointerDownListener=Q}onPointerDown(t){this.session=new ro(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Vo(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:wo(t),onStart:wo(n),onMove:i,onEnd:(s,o)=>{delete this.session,r&&O.postRender(()=>r(s,o))}}}mount(){this.removePointerDownListener=Be(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function gf(){const e=C.useContext(jt);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:i}=e,r=C.useId();return C.useEffect(()=>i(r),[]),!t&&n?[!1,()=>n&&n(r)]:[!0]}const dn={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Fo(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Gt={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(F.test(e))e=parseFloat(e);else return e;const n=Fo(e,t.target.x),i=Fo(e,t.target.y);return`${n}% ${i}%`}},bf={correct:(e,{treeScale:t,projectionDelta:n})=>{const i=e,r=ze.parse(e);if(r.length>5)return i;const s=ze.createTransformer(e),o=typeof r[0]!="number"?1:0,u=n.x.scale*t.x,a=n.y.scale*t.y;r[0+o]/=u,r[1+o]/=a;const l=H(u,a,.5);return typeof r[2+o]=="number"&&(r[2+o]/=l),typeof r[3+o]=="number"&&(r[3+o]/=l),s(r)}};class vf extends C.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:i,layoutId:r}=this.props,{projection:s}=t;fl(yf),s&&(n.group&&n.group.add(s),i&&i.register&&r&&i.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),dn.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:i,drag:r,isPresent:s}=this.props,o=i.projection;return o&&(o.isPresent=s,r||t.layoutDependency!==n||n===void 0?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||O.postRender(()=>{const u=o.getStack();(!u||!u.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),On.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:i}=this.props,{projection:r}=t;r&&(r.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Bo(e){const[t,n]=gf(),i=C.useContext(Hn);return A.jsx(vf,{...e,layoutGroup:i,switchLayoutGroup:C.useContext(Er),isPresent:t,safeToRemove:n})}const yf={borderRadius:{...Gt,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Gt,borderTopRightRadius:Gt,borderBottomLeftRadius:Gt,borderBottomRightRadius:Gt,boxShadow:bf},Go=["TopLeft","TopRight","BottomLeft","BottomRight"],Cf=Go.length,Mo=e=>typeof e=="string"?parseFloat(e):e,Do=e=>typeof e=="number"||F.test(e);function If(e,t,n,i,r,s){r?(e.opacity=H(0,n.opacity!==void 0?n.opacity:1,xf(i)),e.opacityExit=H(t.opacity!==void 0?t.opacity:1,0,Af(i))):s&&(e.opacity=H(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,i));for(let o=0;o<Cf;o++){const u=`border${Go[o]}Radius`;let a=No(t,u),l=No(n,u);if(a===void 0&&l===void 0)continue;a||(a=0),l||(l=0),a===0||l===0||Do(a)===Do(l)?(e[u]=Math.max(H(Mo(a),Mo(l),i),0),(Ie.test(l)||Ie.test(a))&&(e[u]+="%")):e[u]=l}(t.rotate||n.rotate)&&(e.rotate=H(t.rotate||0,n.rotate||0,i))}function No(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const xf=Lo(0,.5,Rs),Af=Lo(.5,.95,Q);function Lo(e,t,n){return i=>i<e?0:i>t?1:n(Pt(e,t,i))}function Wo(e,t){e.min=t.min,e.max=t.max}function he(e,t){Wo(e.x,t.x),Wo(e.y,t.y)}function Ro(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Oo(e,t,n,i,r){return e-=t,e=ln(e,1/n,i),r!==void 0&&(e=ln(e,1/r,i)),e}function Sf(e,t=0,n=1,i=.5,r,s=e,o=e){if(Ie.test(t)&&(t=parseFloat(t),t=H(o.min,o.max,t/100)-o.min),typeof t!="number")return;let u=H(s.min,s.max,i);e===s&&(u-=t),e.min=Oo(e.min,t,n,u,r),e.max=Oo(e.max,t,n,u,r)}function Xo(e,t,[n,i,r],s,o){Sf(e,t[n],t[i],t[r],t.scale,s,o)}const Ef=["x","scaleX","originX"],Tf=["y","scaleY","originY"];function Zo(e,t,n,i){Xo(e.x,t,Ef,n?n.x:void 0,i?i.x:void 0),Xo(e.y,t,Tf,n?n.y:void 0,i?i.y:void 0)}function Ho(e){return e.translate===0&&e.scale===1}function ko(e){return Ho(e.x)&&Ho(e.y)}function Pf(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function zo(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function jo(e){return ue(e.x)/ue(e.y)}function Yo(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Vf{constructor(){this.members=[]}add(t){qt(this.members,t),t.scheduleRender()}remove(t){if(en(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(r=>t===r);if(n===0)return!1;let i;for(let r=n;r>=0;r--){const s=this.members[r];if(s.isPresent!==!1){i=s;break}}return i?(this.promote(i),!0):!1}promote(t,n){const i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,n&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:r}=t.options;r===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:i}=t;n.onExitComplete&&n.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function wf(e,t,n){let i="";const r=e.x.translate/t.x,s=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((r||s||o)&&(i=`translate3d(${r}px, ${s}px, ${o}px) `),(t.x!==1||t.y!==1)&&(i+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:l,rotate:c,rotateX:d,rotateY:f,skewX:h,skewY:m}=n;l&&(i=`perspective(${l}px) ${i}`),c&&(i+=`rotate(${c}deg) `),d&&(i+=`rotateX(${d}deg) `),f&&(i+=`rotateY(${f}deg) `),h&&(i+=`skewX(${h}deg) `),m&&(i+=`skewY(${m}deg) `)}const u=e.x.scale*t.x,a=e.y.scale*t.y;return(u!==1||a!==1)&&(i+=`scale(${u}, ${a})`),i||"none"}const Ff=(e,t)=>e.depth-t.depth;class Bf{constructor(){this.children=[],this.isDirty=!1}add(t){qt(this.children,t),this.isDirty=!0}remove(t){en(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Ff),this.isDirty=!1,this.children.forEach(t)}}function Gf(e,t){const n=ke.now(),i=({timestamp:r})=>{const s=r-n;s>=t&&(we(i),e(s-t))};return O.read(i,!0),()=>we(i)}function Mf(e){return e instanceof SVGElement&&e.tagName!=="svg"}function Df(e,t,n){const i=ee(e)?e:wt(e);return i.start(xi("",i,t,n)),i.animation}const $e={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Mi=["","X","Y","Z"],Nf={visibility:"hidden"},Jo=1e3;let Lf=0;function Di(e,t,n,i){const{latestValues:r}=t;r[e]&&(n[e]=r[e],t.setStaticValue(e,0),i&&(i[e]=0))}function Uo(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return!1;const{visualElement:t}=e.options;return t?eo(t)?!0:e.parent&&!e.parent.hasCheckedOptimisedAppear?Uo(e.parent):!1:!1}function _o({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:i,resetTransform:r}){return class{constructor(o={},u=t==null?void 0:t()){this.id=Lf++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,window.MotionDebug&&($e.totalNodes=$e.resolvedTargetDeltas=$e.recalculatedProjection=0),this.nodes.forEach(Of),this.nodes.forEach(zf),this.nodes.forEach(jf),this.nodes.forEach(Xf),window.MotionDebug&&window.MotionDebug.record($e)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=u?u.root||u:this,this.path=u?[...u.path,u]:[],this.parent=u,this.depth=u?u.depth+1:0;for(let a=0;a<this.path.length;a++)this.path[a].shouldResetTransform=!0;this.root===this&&(this.nodes=new Bf)}addEventListener(o,u){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new Ai),this.eventHandlers.get(o).add(u)}notifyListeners(o,...u){const a=this.eventHandlers.get(o);a&&a.notify(...u)}hasListeners(o){return this.eventHandlers.has(o)}mount(o,u=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Mf(o),this.instance=o;const{layoutId:a,layout:l,visualElement:c}=this.options;if(c&&!c.current&&c.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),u&&(l||a)&&(this.isLayoutDirty=!0),e){let d;const f=()=>this.root.updateBlockedByResize=!1;e(o,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=Gf(f,250),dn.hasAnimatedSinceResize&&(dn.hasAnimatedSinceResize=!1,this.nodes.forEach($o))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||l)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeTargetChanged:h,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const p=this.options.transition||c.getDefaultTransition()||Qf,{onLayoutAnimationStart:g,onLayoutAnimationComplete:b}=c.getProps(),I=!this.targetLayout||!zo(this.targetLayout,m)||h,v=!f&&h;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||v||f&&(I||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,v);const x={...ii(p,"layout"),onPlay:g,onComplete:b};(c.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x)}else f||$o(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,we(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Yf),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.HandoffCancelAllAnimations&&Uo(this)&&window.HandoffCancelAllAnimations(),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const d=this.path[c];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:u,layout:a}=this.options;if(u===void 0&&!a)return;const l=this.getTransformTemplate();this.prevTransformTemplateValue=l?l(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Qo);return}this.isUpdating||this.nodes.forEach(Hf),this.isUpdating=!1,this.nodes.forEach(kf),this.nodes.forEach(Wf),this.nodes.forEach(Rf),this.clearAllSnapshots();const u=ke.now();$.delta=Xe(0,1e3/60,u-$.timestamp),$.timestamp=u,$.isProcessing=!0,qn.update.process($),qn.preRender.process($),qn.render.process($),$.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,On.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Zf),this.sharedNodes.forEach(Jf)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,O.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){O.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let a=0;a<this.path.length;a++)this.path[a].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutCorrected=j(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:u}=this.options;u&&u.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let u=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(u=!1),u&&(this.scroll={animationId:this.root.animationId,phase:o,isRoot:i(this.instance),offset:n(this.instance)})}resetTransform(){if(!r)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,u=this.projectionDelta&&!ko(this.projectionDelta),a=this.getTransformTemplate(),l=a?a(this.latestValues,""):void 0,c=l!==this.prevTransformTemplateValue;o&&(u||Qe(this.latestValues)||c)&&(r(this.instance,l),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const u=this.measurePageBox();let a=this.removeElementScroll(u);return o&&(a=this.removeTransform(a)),$f(a),{animationId:this.root.animationId,measuredBox:u,layoutBox:a,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:o}=this.options;if(!o)return j();const u=o.measureViewportBox(),{scroll:a}=this.root;return a&&(je(u.x,a.offset.x),je(u.y,a.offset.y)),u}removeElementScroll(o){const u=j();he(u,o);for(let a=0;a<this.path.length;a++){const l=this.path[a],{scroll:c,options:d}=l;if(l!==this.root&&c&&d.layoutScroll){if(c.isRoot){he(u,o);const{scroll:f}=this.root;f&&(je(u.x,-f.offset.x),je(u.y,-f.offset.y))}je(u.x,c.offset.x),je(u.y,c.offset.y)}}return u}applyTransform(o,u=!1){const a=j();he(a,o);for(let l=0;l<this.path.length;l++){const c=this.path[l];!u&&c.options.layoutScroll&&c.scroll&&c!==c.root&&lt(a,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),Qe(c.latestValues)&&lt(a,c.latestValues)}return Qe(this.latestValues)&&lt(a,this.latestValues),a}removeTransform(o){const u=j();he(u,o);for(let a=0;a<this.path.length;a++){const l=this.path[a];if(!l.instance||!Qe(l.latestValues))continue;Bi(l.latestValues)&&l.updateSnapshot();const c=j(),d=l.measurePageBox();he(c,d),Zo(u,l.latestValues,l.snapshot?l.snapshot.layoutBox:void 0,c)}return Qe(this.latestValues)&&Zo(u,this.latestValues),u}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==$.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var u;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(o||l&&this.isSharedProjectionDirty||this.isProjectionDirty||!((u=this.parent)===null||u===void 0)&&u.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:f}=this.options;if(!(!this.layout||!(d||f))){if(this.resolvedRelativeTargetAt=$.timestamp,!this.targetDelta&&!this.relativeTarget){const h=this.getClosestProjectingParent();h&&h.layout&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=j(),this.relativeTargetOrigin=j(),Bt(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),he(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=j(),this.targetWithTransforms=j()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),qd(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):he(this.target,this.layout.layoutBox),Ao(this.target,this.targetDelta)):he(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const h=this.getClosestProjectingParent();h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=j(),this.relativeTargetOrigin=j(),Bt(this.relativeTargetOrigin,this.target,h.target),he(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}window.MotionDebug&&$e.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Bi(this.parent.latestValues)||Co(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var o;const u=this.getLead(),a=!!this.resumingFrom||this!==u;let l=!0;if((this.isProjectionDirty||!((o=this.parent)===null||o===void 0)&&o.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===$.timestamp&&(l=!1),l)return;const{layout:c,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||d))return;he(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;lf(this.layoutCorrected,this.treeScale,this.path,a),u.layout&&!u.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(u.target=u.layout.layoutBox,u.targetWithTransforms=j());const{target:m}=u;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Ro(this.prevProjectionDelta.x,this.projectionDelta.x),Ro(this.prevProjectionDelta.y,this.projectionDelta.y)),Ft(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!Yo(this.projectionDelta.x,this.prevProjectionDelta.x)||!Yo(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m)),window.MotionDebug&&$e.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),o){const u=this.getStack();u&&u.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ut(),this.projectionDelta=ut(),this.projectionDeltaWithTransform=ut()}setAnimationOrigin(o,u=!1){const a=this.snapshot,l=a?a.latestValues:{},c={...this.latestValues},d=ut();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!u;const f=j(),h=a?a.source:void 0,m=this.layout?this.layout.source:void 0,p=h!==m,g=this.getStack(),b=!g||g.members.length<=1,I=!!(p&&!b&&this.options.crossfade===!0&&!this.path.some(_f));this.animationProgress=0;let v;this.mixTargetDelta=x=>{const y=x/1e3;Ko(d.x,o.x,y),Ko(d.y,o.y,y),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Bt(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Uf(this.relativeTarget,this.relativeTargetOrigin,f,y),v&&Pf(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=j()),he(v,this.relativeTarget)),p&&(this.animationValues=c,If(c,l,this.latestValues,y,I,b)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=y},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(we(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=O.update(()=>{dn.hasAnimatedSinceResize=!0,this.currentAnimation=Df(0,Jo,{...o,onUpdate:u=>{this.mixTargetDelta(u),o.onUpdate&&o.onUpdate(u)},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Jo),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:u,target:a,layout:l,latestValues:c}=o;if(!(!u||!a||!l)){if(this!==o&&this.layout&&l&&ia(this.options.animationType,this.layout.layoutBox,l.layoutBox)){a=this.target||j();const d=ue(this.layout.layoutBox.x);a.x.min=o.target.x.min,a.x.max=a.x.min+d;const f=ue(this.layout.layoutBox.y);a.y.min=o.target.y.min,a.y.max=a.y.min+f}he(u,a),lt(u,c),Ft(this.projectionDeltaWithTransform,this.layoutCorrected,u,c)}}registerSharedNode(o,u){this.sharedNodes.has(o)||this.sharedNodes.set(o,new Vf),this.sharedNodes.get(o).add(u);const l=u.options.initialPromotionConfig;u.promote({transition:l?l.transition:void 0,preserveFollowOpacity:l&&l.shouldPreserveFollowOpacity?l.shouldPreserveFollowOpacity(u):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:u}=this.options;return u?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:u}=this.options;return u?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:u,preserveFollowOpacity:a}={}){const l=this.getStack();l&&l.promote(this,a),o&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let u=!1;const{latestValues:a}=o;if((a.z||a.rotate||a.rotateX||a.rotateY||a.rotateZ||a.skewX||a.skewY)&&(u=!0),!u)return;const l={};a.z&&Di("z",o,l,this.animationValues);for(let c=0;c<Mi.length;c++)Di(`rotate${Mi[c]}`,o,l,this.animationValues),Di(`skew${Mi[c]}`,o,l,this.animationValues);o.render();for(const c in l)o.setStaticValue(c,l[c]),this.animationValues&&(this.animationValues[c]=l[c]);o.scheduleRender()}getProjectionStyles(o){var u,a;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Nf;const l={visibility:""},c=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,l.opacity="",l.pointerEvents=Kt(o==null?void 0:o.pointerEvents)||"",l.transform=c?c(this.latestValues,""):"none",l;const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){const p={};return this.options.layoutId&&(p.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,p.pointerEvents=Kt(o==null?void 0:o.pointerEvents)||""),this.hasProjected&&!Qe(this.latestValues)&&(p.transform=c?c({},""):"none",this.hasProjected=!1),p}const f=d.animationValues||d.latestValues;this.applyTransformsToTarget(),l.transform=wf(this.projectionDeltaWithTransform,this.treeScale,f),c&&(l.transform=c(f,l.transform));const{x:h,y:m}=this.projectionDelta;l.transformOrigin=`${h.origin*100}% ${m.origin*100}% 0`,d.animationValues?l.opacity=d===this?(a=(u=f.opacity)!==null&&u!==void 0?u:this.latestValues.opacity)!==null&&a!==void 0?a:1:this.preserveOpacity?this.latestValues.opacity:f.opacityExit:l.opacity=d===this?f.opacity!==void 0?f.opacity:"":f.opacityExit!==void 0?f.opacityExit:0;for(const p in _t){if(f[p]===void 0)continue;const{correct:g,applyTo:b}=_t[p],I=l.transform==="none"?f[p]:g(f[p],d);if(b){const v=b.length;for(let x=0;x<v;x++)l[b[x]]=I}else l[p]=I}return this.options.layoutId&&(l.pointerEvents=d===this?Kt(o==null?void 0:o.pointerEvents)||"":"none"),l}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var u;return(u=o.currentAnimation)===null||u===void 0?void 0:u.stop()}),this.root.nodes.forEach(Qo),this.root.sharedNodes.clear()}}}function Wf(e){e.updateLayout()}function Rf(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:r}=e.layout,{animationType:s}=e.options,o=n.source!==e.layout.source;s==="size"?fe(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],h=ue(f);f.min=i[d].min,f.max=f.min+h}):ia(s,n.layoutBox,i)&&fe(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],h=ue(i[d]);f.max=f.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+h)});const u=ut();Ft(u,i,n.layoutBox);const a=ut();o?Ft(a,e.applyTransform(r,!0),n.measuredBox):Ft(a,i,n.layoutBox);const l=!ko(u);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:h}=d;if(f&&h){const m=j();Bt(m,n.layoutBox,f.layoutBox);const p=j();Bt(p,i,h.layoutBox),zo(m,p)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=p,e.relativeTargetOrigin=m,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:n,delta:a,layoutDelta:u,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:i}=e.options;i&&i()}e.options.transition=void 0}function Of(e){window.MotionDebug&&$e.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Xf(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Zf(e){e.clearSnapshot()}function Qo(e){e.clearMeasurements()}function Hf(e){e.isLayoutDirty=!1}function kf(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function $o(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function zf(e){e.resolveTargetDelta()}function jf(e){e.calcProjection()}function Yf(e){e.resetSkewAndRotation()}function Jf(e){e.removeLeadSnapshot()}function Ko(e,t,n){e.translate=H(t.translate,0,n),e.scale=H(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function qo(e,t,n,i){e.min=H(t.min,n.min,i),e.max=H(t.max,n.max,i)}function Uf(e,t,n,i){qo(e.x,t.x,n.x,i),qo(e.y,t.y,n.y,i)}function _f(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Qf={duration:.45,ease:[.4,0,.1,1]},ea=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ta=ea("applewebkit/")&&!ea("chrome/")?Math.round:Q;function na(e){e.min=ta(e.min),e.max=ta(e.max)}function $f(e){na(e.x),na(e.y)}function ia(e,t,n){return e==="position"||e==="preserve-aspect"&&!Kd(jo(t),jo(n),.2)}const Kf=_o({attachResizeListener:(e,t)=>Fe(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Ni={current:void 0},ra=_o({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Ni.current){const e=new Kf({});e.mount(window),e.setOptions({layoutScroll:!0}),Ni.current=e}return Ni.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),qf={pan:{Feature:mf},drag:{Feature:pf,ProjectionNode:ra,MeasureLayout:Bo}},Li={current:null},sa={current:!1};function eh(){if(sa.current=!0,!!Wn)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Li.current=e.matches;e.addListener(t),t()}else Li.current=!1}function th(e,t,n){for(const i in t){const r=t[i],s=n[i];if(ee(r))e.addValue(i,r),process.env.NODE_ENV==="development"&&Si(r.version==="11.3.8",`Attempting to mix Framer Motion versions ${r.version} with 11.3.8 may not work as expected.`);else if(ee(s))e.addValue(i,wt(r,{owner:e}));else if(s!==r)if(e.hasValue(i)){const o=e.getValue(i);o.liveStyle===!0?o.jump(r):o.hasAnimated||o.set(r)}else{const o=e.getStaticValue(i);e.addValue(i,wt(o!==void 0?o:r,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const oa=new WeakMap,nh=[...hs,te,ze],ih=e=>nh.find(fs(e)),aa=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],rh=Zn.length;class sh{scrapeMotionValuesFromProps(t,n,i){return{}}constructor({parent:t,props:n,presenceContext:i,reducedMotionConfig:r,blockInitialAnimation:s,visualState:o},u={}){this.applyWillChange=!1,this.resolveKeyframes=(f,h,m,p)=>new this.KeyframeResolver(f,h,m,p,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=oi,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.isRenderScheduled=!1,this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.isRenderScheduled=!1,this.scheduleRender=()=>{this.isRenderScheduled||(this.isRenderScheduled=!0,O.render(this.render,!1,!0))};const{latestValues:a,renderState:l}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=n.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=n,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=u,this.blockInitialAnimation=!!s,this.isControllingVariants=Ut(n),this.isVariantNode=Vr(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(n,{},this);for(const f in d){const h=d[f];a[f]!==void 0&&ee(h)&&h.set(a[f],!1)}}mount(t){this.current=t,oa.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,i)=>this.bindToMotionValue(i,n)),sa.current||eh(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Li.current,process.env.NODE_ENV!=="production"&&Si(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){oa.delete(this.current),this.projection&&this.projection.unmount(),we(this.notifyUpdate),we(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){const i=Oe.has(t),r=n.on("change",o=>{this.latestValues[t]=o,this.props.onUpdate&&O.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),s=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{r(),s(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in it){const n=it[t];if(!n)continue;const{isEnabled:i,Feature:r}=n;if(!this.features[t]&&r&&i(this.props)&&(this.features[t]=new r(this)),this.features[t]){const s=this.features[t];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):j()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let i=0;i<aa.length;i++){const r=aa[i];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);const s="on"+r,o=t[s];o&&(this.propEventSubscriptions[r]=this.on(r,o))}this.prevMotionValues=th(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const i=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(i.initial=this.props.initial),i}const n={};for(let i=0;i<rh;i++){const r=Zn[i],s=this.props[r];(vt(s)||s===!1)&&(n[r]=s)}return n}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const i=this.values.get(t);n!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return i===void 0&&n!==void 0&&(i=wt(n===null?void 0:n,{owner:this}),this.addValue(t,i)),i}readValue(t,n){var i;let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(i=this.getBaseTargetFromProps(this.props,t))!==null&&i!==void 0?i:this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(as(r)||os(r))?r=parseFloat(r):!ih(r)&&ze.test(n)&&(r=As(t,n)),this.setBaseTarget(t,ee(r)?r.get():r)),ee(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:i}=this.props;let r;if(typeof i=="string"||typeof i=="object"){const o=$n(this.props,i,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);o&&(r=o[t])}if(i&&r!==void 0)return r;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!ee(s)?s:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Ai),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class ua extends sh{constructor(){super(...arguments),this.KeyframeResolver=Ss}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:i}){delete n[t],delete i[t]}}function oh(e){return window.getComputedStyle(e)}class ah extends ua{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=Zr}readValueFromInstance(t,n){if(Oe.has(n)){const i=di(n);return i&&i.default||0}else{const i=oh(t),r=(Mr(n)?i.getPropertyValue(n):i[n])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Po(t,n)}build(t,n,i){Yn(t,n,i.transformTemplate)}scrapeMotionValuesFromProps(t,n,i){return Qn(t,n,i)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;ee(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class uh extends ua{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=j}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Oe.has(n)){const i=di(n);return i&&i.default||0}return n=Hr.has(n)?n:Yt(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,i){return zr(t,n,i)}build(t,n,i){Un(t,n,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,i,r){kr(t,n,i,r)}mount(t){this.isSVGTag=_n(t.tagName),super.mount(t)}}const lh=(e,t)=>kn(e)?new uh(t):new ah(t,{allowProjection:e!==C.Fragment}),ch={...zd,...nc,...qf,...{layout:{ProjectionNode:ra,MeasureLayout:Bo}}},Mt=cl((e,t)=>kl(e,t,ch,lh));function la(){const e=C.useRef(!1);return Rn(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function dh(){const e=la(),[t,n]=C.useState(0),i=C.useCallback(()=>{e.current&&n(t+1)},[t]);return[C.useCallback(()=>O.postRender(i),[i]),t]}class fh extends G.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const i=this.props.sizeRef.current;i.height=n.offsetHeight||0,i.width=n.offsetWidth||0,i.top=n.offsetTop,i.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function hh({children:e,isPresent:t}){const n=C.useId(),i=C.useRef(null),r=C.useRef({width:0,height:0,top:0,left:0}),{nonce:s}=C.useContext(Ln);return C.useInsertionEffect(()=>{const{width:o,height:u,top:a,left:l}=r.current;if(t||!i.current||!o||!u)return;i.current.dataset.motionPopId=n;const c=document.createElement("style");return s&&(c.nonce=s),document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`
6
+ [data-motion-pop-id="${n}"] {
74
7
  position: absolute !important;
75
- width: ${h}px !important;
76
- height: ${S}px !important;
77
- top: ${b}px !important;
78
- left: ${x}px !important;
8
+ width: ${o}px !important;
9
+ height: ${u}px !important;
10
+ top: ${a}px !important;
11
+ left: ${l}px !important;
79
12
  }
80
- `),()=>{document.head.removeChild(T)}},[r]),Ee.jsx(bN,{isPresent:r,childRef:c,sizeRef:d,children:Y.cloneElement(i,{ref:c})})}const wb=({children:i,initial:r,isPresent:u,onExitComplete:c,custom:d,presenceAffectsLayout:m,mode:h})=>{const S=fE(SN),b=Y.useId(),x=Y.useMemo(()=>({id:b,initial:r,isPresent:u,custom:d,onExitComplete:T=>{S.set(T,!0);for(const w of S.values())if(!w)return;c&&c()},register:T=>(S.set(T,!1),()=>S.delete(T))}),m?[Math.random()]:[u]);return Y.useMemo(()=>{S.forEach((T,w)=>S.set(w,!1))},[u]),Y.useEffect(()=>{!u&&!S.size&&c&&c()},[u]),h==="popLayout"&&(i=Ee.jsx(CN,{isPresent:u,children:i})),Ee.jsx(Uv.Provider,{value:x,children:i})};function SN(){return new Map}function xN(i){return Y.useEffect(()=>()=>i(),[])}const Qs=i=>i.key||"";function EN(i,r){i.forEach(u=>{const c=Qs(u);r.set(c,u)})}function TN(i){const r=[];return Y.Children.forEach(i,u=>{Y.isValidElement(u)&&r.push(u)}),r}const Ab=({children:i,custom:r,initial:u=!0,onExitComplete:c,exitBeforeEnter:d,presenceAffectsLayout:m=!0,mode:h="sync"})=>{Iu(!d,"Replace exitBeforeEnter with mode='wait'");const S=Y.useContext(O0).forceRender||yN()[0],b=AR(),x=TN(i);let T=x;const w=Y.useRef(new Map).current,M=Y.useRef(T),k=Y.useRef(new Map).current,F=Y.useRef(!0);if(A0(()=>{F.current=!1,EN(x,k),M.current=T}),xN(()=>{F.current=!0,k.clear(),w.clear()}),F.current)return Ee.jsx(Ee.Fragment,{children:T.map(Z=>Ee.jsx(wb,{isPresent:!0,initial:u?void 0:!1,presenceAffectsLayout:m,mode:h,children:Z},Qs(Z)))});T=[...T];const V=M.current.map(Qs),_=x.map(Qs),j=V.length;for(let Z=0;Z<j;Z++){const z=V[Z];_.indexOf(z)===-1&&!w.has(z)&&w.set(z,void 0)}return h==="wait"&&w.size&&(T=[]),w.forEach((Z,z)=>{if(_.indexOf(z)!==-1)return;const q=k.get(z);if(!q)return;const H=V.indexOf(z);let se=Z;if(!se){const le=()=>{w.delete(z);const de=Array.from(k.keys()).filter(He=>!_.includes(He));if(de.forEach(He=>k.delete(He)),M.current=x.filter(He=>{const We=Qs(He);return We===z||de.includes(We)}),!w.size){if(b.current===!1)return;S(),c&&c()}};se=Ee.jsx(wb,{isPresent:!1,onExitComplete:le,custom:r,presenceAffectsLayout:m,mode:h,children:q},Qs(q)),w.set(z,se)}T.splice(H,0,se)}),T=T.map(Z=>{const z=Z.key;return w.has(z)?Z:Ee.jsx(wb,{isPresent:!0,presenceAffectsLayout:m,mode:h,children:Z},Qs(Z))}),process.env.NODE_ENV!=="production"&&h==="wait"&&T.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`),Ee.jsx(Ee.Fragment,{children:w.size?T:T.map(Z=>Y.cloneElement(Z))})},RN=i=>{let r=Ee.jsx(Ee.Fragment,{});switch(i){case"success":r=Ee.jsx(KD,{});break;case"info":r=Ee.jsx(eM,{});break;case"warning":r=Ee.jsx(tM,{});break;case"error":r=Ee.jsx(qD,{});break}return{icon:r}},wN=i=>{const{id:r,type:u,title:c}=i,{icon:d}=RN(u),m=4e3,h=Px(),S=Y.useCallback(()=>{h.removeToast(r)},[r,h]);return Y.useEffect(()=>{const b=setTimeout(()=>{setTimeout(()=>{S()},1e3)},m);return()=>{clearTimeout(b)}},[]),Ee.jsx(Mp.div,{layout:!0,initial:{opacity:0,y:50,scale:.3},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:0,scale:.8},children:Ee.jsxs("div",{className:of(Bo.toast,Bo[u]),children:[Ee.jsx("div",{className:Bo["toast-icon"],children:d}),Ee.jsx("div",{className:Bo["toast-content"],children:Ee.jsx("p",{className:Bo["toast-title"],children:c})}),Ee.jsx("div",{className:Bo["toast-close"],children:Ee.jsx("button",{type:"button",className:Bo["toast-close-btn"],onClick:S,children:Ee.jsx("span",{className:Bo["toast-close-btn-icon"],children:Ee.jsx(nM,{})})})})]})},r)};var Ib={exports:{}},$i={},cm={exports:{}},Db={};/**
81
- * @license React
82
- * scheduler.production.min.js
83
- *
84
- * Copyright (c) Facebook, Inc. and its affiliates.
85
- *
86
- * This source code is licensed under the MIT license found in the
87
- * LICENSE file in the root directory of this source tree.
88
- */var IR;function AN(){return IR||(IR=1,function(i){function r(fe,Ne){var xe=fe.length;fe.push(Ne);e:for(;0<xe;){var X=xe-1>>>1,ie=fe[X];if(0<d(ie,Ne))fe[X]=Ne,fe[xe]=ie,xe=X;else break e}}function u(fe){return fe.length===0?null:fe[0]}function c(fe){if(fe.length===0)return null;var Ne=fe[0],xe=fe.pop();if(xe!==Ne){fe[0]=xe;e:for(var X=0,ie=fe.length,Fe=ie>>>1;X<Fe;){var Ze=2*(X+1)-1,ut=fe[Ze],rt=Ze+1,Ct=fe[rt];if(0>d(ut,xe))rt<ie&&0>d(Ct,ut)?(fe[X]=Ct,fe[rt]=xe,X=rt):(fe[X]=ut,fe[Ze]=xe,X=Ze);else if(rt<ie&&0>d(Ct,xe))fe[X]=Ct,fe[rt]=xe,X=rt;else break e}}return Ne}function d(fe,Ne){var xe=fe.sortIndex-Ne.sortIndex;return xe!==0?xe:fe.id-Ne.id}if(typeof performance=="object"&&typeof performance.now=="function"){var m=performance;i.unstable_now=function(){return m.now()}}else{var h=Date,S=h.now();i.unstable_now=function(){return h.now()-S}}var b=[],x=[],T=1,w=null,M=3,k=!1,F=!1,V=!1,_=typeof setTimeout=="function"?setTimeout:null,j=typeof clearTimeout=="function"?clearTimeout:null,Z=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function z(fe){for(var Ne=u(x);Ne!==null;){if(Ne.callback===null)c(x);else if(Ne.startTime<=fe)c(x),Ne.sortIndex=Ne.expirationTime,r(b,Ne);else break;Ne=u(x)}}function q(fe){if(V=!1,z(fe),!F)if(u(b)!==null)F=!0,ze(H);else{var Ne=u(x);Ne!==null&&Te(q,Ne.startTime-fe)}}function H(fe,Ne){F=!1,V&&(V=!1,j(de),de=-1),k=!0;var xe=M;try{for(z(Ne),w=u(b);w!==null&&(!(w.expirationTime>Ne)||fe&&!nt());){var X=w.callback;if(typeof X=="function"){w.callback=null,M=w.priorityLevel;var ie=X(w.expirationTime<=Ne);Ne=i.unstable_now(),typeof ie=="function"?w.callback=ie:w===u(b)&&c(b),z(Ne)}else c(b);w=u(b)}if(w!==null)var Fe=!0;else{var Ze=u(x);Ze!==null&&Te(q,Ze.startTime-Ne),Fe=!1}return Fe}finally{w=null,M=xe,k=!1}}var se=!1,le=null,de=-1,He=5,We=-1;function nt(){return!(i.unstable_now()-We<He)}function Rt(){if(le!==null){var fe=i.unstable_now();We=fe;var Ne=!0;try{Ne=le(!0,fe)}finally{Ne?Be():(se=!1,le=null)}}else se=!1}var Be;if(typeof Z=="function")Be=function(){Z(Rt)};else if(typeof MessageChannel<"u"){var qe=new MessageChannel,Ve=qe.port2;qe.port1.onmessage=Rt,Be=function(){Ve.postMessage(null)}}else Be=function(){_(Rt,0)};function ze(fe){le=fe,se||(se=!0,Be())}function Te(fe,Ne){de=_(function(){fe(i.unstable_now())},Ne)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(fe){fe.callback=null},i.unstable_continueExecution=function(){F||k||(F=!0,ze(H))},i.unstable_forceFrameRate=function(fe){0>fe||125<fe?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):He=0<fe?Math.floor(1e3/fe):5},i.unstable_getCurrentPriorityLevel=function(){return M},i.unstable_getFirstCallbackNode=function(){return u(b)},i.unstable_next=function(fe){switch(M){case 1:case 2:case 3:var Ne=3;break;default:Ne=M}var xe=M;M=Ne;try{return fe()}finally{M=xe}},i.unstable_pauseExecution=function(){},i.unstable_requestPaint=function(){},i.unstable_runWithPriority=function(fe,Ne){switch(fe){case 1:case 2:case 3:case 4:case 5:break;default:fe=3}var xe=M;M=fe;try{return Ne()}finally{M=xe}},i.unstable_scheduleCallback=function(fe,Ne,xe){var X=i.unstable_now();switch(typeof xe=="object"&&xe!==null?(xe=xe.delay,xe=typeof xe=="number"&&0<xe?X+xe:X):xe=X,fe){case 1:var ie=-1;break;case 2:ie=250;break;case 5:ie=1073741823;break;case 4:ie=1e4;break;default:ie=5e3}return ie=xe+ie,fe={id:T++,callback:Ne,priorityLevel:fe,startTime:xe,expirationTime:ie,sortIndex:-1},xe>X?(fe.sortIndex=xe,r(x,fe),u(b)===null&&fe===u(x)&&(V?(j(de),de=-1):V=!0,Te(q,xe-X))):(fe.sortIndex=ie,r(b,fe),F||k||(F=!0,ze(H))),fe},i.unstable_shouldYield=nt,i.unstable_wrapCallback=function(fe){var Ne=M;return function(){var xe=M;M=Ne;try{return fe.apply(this,arguments)}finally{M=xe}}}}(Db)),Db}var Mb={};/**
89
- * @license React
90
- * scheduler.development.js
91
- *
92
- * Copyright (c) Facebook, Inc. and its affiliates.
93
- *
94
- * This source code is licensed under the MIT license found in the
95
- * LICENSE file in the root directory of this source tree.
96
- */var DR;function IN(){return DR||(DR=1,function(i){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=!1,u=!1,c=5;function d(Re,et){var It=Re.length;Re.push(et),S(Re,et,It)}function m(Re){return Re.length===0?null:Re[0]}function h(Re){if(Re.length===0)return null;var et=Re[0],It=Re.pop();return It!==et&&(Re[0]=It,b(Re,It,0)),et}function S(Re,et,It){for(var Yt=It;Yt>0;){var Qt=Yt-1>>>1,Un=Re[Qt];if(x(Un,et)>0)Re[Qt]=et,Re[Yt]=Un,Yt=Qt;else return}}function b(Re,et,It){for(var Yt=It,Qt=Re.length,Un=Qt>>>1;Yt<Un;){var On=(Yt+1)*2-1,Lr=Re[On],un=On+1,Wr=Re[un];if(x(Lr,et)<0)un<Qt&&x(Wr,Lr)<0?(Re[Yt]=Wr,Re[un]=et,Yt=un):(Re[Yt]=Lr,Re[On]=et,Yt=On);else if(un<Qt&&x(Wr,et)<0)Re[Yt]=Wr,Re[un]=et,Yt=un;else return}}function x(Re,et){var It=Re.sortIndex-et.sortIndex;return It!==0?It:Re.id-et.id}var T=1,w=2,M=3,k=4,F=5;function V(Re,et){}var _=typeof performance=="object"&&typeof performance.now=="function";if(_){var j=performance;i.unstable_now=function(){return j.now()}}else{var Z=Date,z=Z.now();i.unstable_now=function(){return Z.now()-z}}var q=1073741823,H=-1,se=250,le=5e3,de=1e4,He=q,We=[],nt=[],Rt=1,Be=null,qe=M,Ve=!1,ze=!1,Te=!1,fe=typeof setTimeout=="function"?setTimeout:null,Ne=typeof clearTimeout=="function"?clearTimeout:null,xe=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function X(Re){for(var et=m(nt);et!==null;){if(et.callback===null)h(nt);else if(et.startTime<=Re)h(nt),et.sortIndex=et.expirationTime,d(We,et);else return;et=m(nt)}}function ie(Re){if(Te=!1,X(Re),!ze)if(m(We)!==null)ze=!0,pi(Fe);else{var et=m(nt);et!==null&&Mn(ie,et.startTime-Re)}}function Fe(Re,et){ze=!1,Te&&(Te=!1,Ur()),Ve=!0;var It=qe;try{var Yt;if(!u)return Ze(Re,et)}finally{Be=null,qe=It,Ve=!1}}function Ze(Re,et){var It=et;for(X(It),Be=m(We);Be!==null&&!r&&!(Be.expirationTime>It&&(!Re||fi()));){var Yt=Be.callback;if(typeof Yt=="function"){Be.callback=null,qe=Be.priorityLevel;var Qt=Be.expirationTime<=It,Un=Yt(Qt);It=i.unstable_now(),typeof Un=="function"?Be.callback=Un:Be===m(We)&&h(We),X(It)}else h(We);Be=m(We)}if(Be!==null)return!0;var On=m(nt);return On!==null&&Mn(ie,On.startTime-It),!1}function ut(Re,et){switch(Re){case T:case w:case M:case k:case F:break;default:Re=M}var It=qe;qe=Re;try{return et()}finally{qe=It}}function rt(Re){var et;switch(qe){case T:case w:case M:et=M;break;default:et=qe;break}var It=qe;qe=et;try{return Re()}finally{qe=It}}function Ct(Re){var et=qe;return function(){var It=qe;qe=et;try{return Re.apply(this,arguments)}finally{qe=It}}}function lt(Re,et,It){var Yt=i.unstable_now(),Qt;if(typeof It=="object"&&It!==null){var Un=It.delay;typeof Un=="number"&&Un>0?Qt=Yt+Un:Qt=Yt}else Qt=Yt;var On;switch(Re){case T:On=H;break;case w:On=se;break;case F:On=He;break;case k:On=de;break;case M:default:On=le;break}var Lr=Qt+On,un={id:Rt++,callback:et,priorityLevel:Re,startTime:Qt,expirationTime:Lr,sortIndex:-1};return Qt>Yt?(un.sortIndex=Qt,d(nt,un),m(We)===null&&un===m(nt)&&(Te?Ur():Te=!0,Mn(ie,Qt-Yt))):(un.sortIndex=Lr,d(We,un),!ze&&!Ve&&(ze=!0,pi(Fe))),un}function St(){}function Jt(){!ze&&!Ve&&(ze=!0,pi(Fe))}function Gn(){return m(We)}function Oe(Re){Re.callback=null}function on(){return qe}var yn=!1,wn=null,Jn=-1,jn=c,ci=-1;function fi(){var Re=i.unstable_now()-ci;return!(Re<jn)}function cr(){}function Or(Re){if(Re<0||Re>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Re>0?jn=Math.floor(1e3/Re):jn=c}var di=function(){if(wn!==null){var Re=i.unstable_now();ci=Re;var et=!0,It=!0;try{It=wn(et,Re)}finally{It?kr():(yn=!1,wn=null)}}else yn=!1},kr;if(typeof xe=="function")kr=function(){xe(di)};else if(typeof MessageChannel<"u"){var Li=new MessageChannel,br=Li.port2;Li.port1.onmessage=di,kr=function(){br.postMessage(null)}}else kr=function(){fe(di,0)};function pi(Re){wn=Re,yn||(yn=!0,kr())}function Mn(Re,et){Jn=fe(function(){Re(i.unstable_now())},et)}function Ur(){Ne(Jn),Jn=-1}var Va=cr,Ni=null;i.unstable_IdlePriority=F,i.unstable_ImmediatePriority=T,i.unstable_LowPriority=k,i.unstable_NormalPriority=M,i.unstable_Profiling=Ni,i.unstable_UserBlockingPriority=w,i.unstable_cancelCallback=Oe,i.unstable_continueExecution=Jt,i.unstable_forceFrameRate=Or,i.unstable_getCurrentPriorityLevel=on,i.unstable_getFirstCallbackNode=Gn,i.unstable_next=rt,i.unstable_pauseExecution=St,i.unstable_requestPaint=Va,i.unstable_runWithPriority=ut,i.unstable_scheduleCallback=lt,i.unstable_shouldYield=fi,i.unstable_wrapCallback=Ct,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(Mb)),Mb}var MR;function OR(){return MR||(MR=1,process.env.NODE_ENV==="production"?cm.exports=AN():cm.exports=IN()),cm.exports}/**
97
- * @license React
98
- * react-dom.production.min.js
99
- *
100
- * Copyright (c) Facebook, Inc. and its affiliates.
101
- *
102
- * This source code is licensed under the MIT license found in the
103
- * LICENSE file in the root directory of this source tree.
104
- */var kR;function DN(){if(kR)return $i;kR=1;var i=Y,r=OR();function u(n){for(var a="https://reactjs.org/docs/error-decoder.html?invariant="+n,s=1;s<arguments.length;s++)a+="&args[]="+encodeURIComponent(arguments[s]);return"Minified React error #"+n+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var c=new Set,d={};function m(n,a){h(n,a),h(n+"Capture",a)}function h(n,a){for(d[n]=a,n=0;n<a.length;n++)c.add(a[n])}var S=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),b=Object.prototype.hasOwnProperty,x=/^[: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]*$/,T={},w={};function M(n){return b.call(w,n)?!0:b.call(T,n)?!1:x.test(n)?w[n]=!0:(T[n]=!0,!1)}function k(n,a,s,p){if(s!==null&&s.type===0)return!1;switch(typeof a){case"function":case"symbol":return!0;case"boolean":return p?!1:s!==null?!s.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function F(n,a,s,p){if(a===null||typeof a>"u"||k(n,a,s,p))return!0;if(p)return!1;if(s!==null)switch(s.type){case 3:return!a;case 4:return a===!1;case 5:return isNaN(a);case 6:return isNaN(a)||1>a}return!1}function V(n,a,s,p,g,C,I){this.acceptsBooleans=a===2||a===3||a===4,this.attributeName=p,this.attributeNamespace=g,this.mustUseProperty=s,this.propertyName=n,this.type=a,this.sanitizeURL=C,this.removeEmptyString=I}var _={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){_[n]=new V(n,0,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var a=n[0];_[a]=new V(a,1,!1,n[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){_[n]=new V(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){_[n]=new V(n,2,!1,n,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(n){_[n]=new V(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){_[n]=new V(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){_[n]=new V(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){_[n]=new V(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){_[n]=new V(n,5,!1,n.toLowerCase(),null,!1,!1)});var j=/[\-:]([a-z])/g;function Z(n){return n[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(n){var a=n.replace(j,Z);_[a]=new V(a,1,!1,n,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var a=n.replace(j,Z);_[a]=new V(a,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var a=n.replace(j,Z);_[a]=new V(a,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){_[n]=new V(n,1,!1,n.toLowerCase(),null,!1,!1)}),_.xlinkHref=new V("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){_[n]=new V(n,1,!1,n.toLowerCase(),null,!0,!0)});function z(n,a,s,p){var g=_.hasOwnProperty(a)?_[a]:null;(g!==null?g.type!==0:p||!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(F(a,s,g,p)&&(s=null),p||g===null?M(a)&&(s===null?n.removeAttribute(a):n.setAttribute(a,""+s)):g.mustUseProperty?n[g.propertyName]=s===null?g.type===3?!1:"":s:(a=g.attributeName,p=g.attributeNamespace,s===null?n.removeAttribute(a):(g=g.type,s=g===3||g===4&&s===!0?"":""+s,p?n.setAttributeNS(p,a,s):n.setAttribute(a,s))))}var q=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,H=Symbol.for("react.element"),se=Symbol.for("react.portal"),le=Symbol.for("react.fragment"),de=Symbol.for("react.strict_mode"),He=Symbol.for("react.profiler"),We=Symbol.for("react.provider"),nt=Symbol.for("react.context"),Rt=Symbol.for("react.forward_ref"),Be=Symbol.for("react.suspense"),qe=Symbol.for("react.suspense_list"),Ve=Symbol.for("react.memo"),ze=Symbol.for("react.lazy"),Te=Symbol.for("react.offscreen"),fe=Symbol.iterator;function Ne(n){return n===null||typeof n!="object"?null:(n=fe&&n[fe]||n["@@iterator"],typeof n=="function"?n:null)}var xe=Object.assign,X;function ie(n){if(X===void 0)try{throw Error()}catch(s){var a=s.stack.trim().match(/\n( *(at )?)/);X=a&&a[1]||""}return`
105
- `+X+n}var Fe=!1;function Ze(n,a){if(!n||Fe)return"";Fe=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(a)if(a=function(){throw Error()},Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(a,[])}catch(ne){var p=ne}Reflect.construct(n,[],a)}else{try{a.call()}catch(ne){p=ne}n.call(a.prototype)}else{try{throw Error()}catch(ne){p=ne}n()}}catch(ne){if(ne&&p&&typeof ne.stack=="string"){for(var g=ne.stack.split(`
106
- `),C=p.stack.split(`
107
- `),I=g.length-1,L=C.length-1;1<=I&&0<=L&&g[I]!==C[L];)L--;for(;1<=I&&0<=L;I--,L--)if(g[I]!==C[L]){if(I!==1||L!==1)do if(I--,L--,0>L||g[I]!==C[L]){var B=`
108
- `+g[I].replace(" at new "," at ");return n.displayName&&B.includes("<anonymous>")&&(B=B.replace("<anonymous>",n.displayName)),B}while(1<=I&&0<=L);break}}}finally{Fe=!1,Error.prepareStackTrace=s}return(n=n?n.displayName||n.name:"")?ie(n):""}function ut(n){switch(n.tag){case 5:return ie(n.type);case 16:return ie("Lazy");case 13:return ie("Suspense");case 19:return ie("SuspenseList");case 0:case 2:case 15:return n=Ze(n.type,!1),n;case 11:return n=Ze(n.type.render,!1),n;case 1:return n=Ze(n.type,!0),n;default:return""}}function rt(n){if(n==null)return null;if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case le:return"Fragment";case se:return"Portal";case He:return"Profiler";case de:return"StrictMode";case Be:return"Suspense";case qe:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case nt:return(n.displayName||"Context")+".Consumer";case We:return(n._context.displayName||"Context")+".Provider";case Rt:var a=n.render;return n=n.displayName,n||(n=a.displayName||a.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case Ve:return a=n.displayName||null,a!==null?a:rt(n.type)||"Memo";case ze:a=n._payload,n=n._init;try{return rt(n(a))}catch{}}return null}function Ct(n){var a=n.type;switch(n.tag){case 24:return"Cache";case 9:return(a.displayName||"Context")+".Consumer";case 10:return(a._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=a.render,n=n.displayName||n.name||"",a.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return a;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return rt(a);case 8:return a===de?"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 a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a}return null}function lt(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function St(n){var a=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function Jt(n){var a=St(n)?"checked":"value",s=Object.getOwnPropertyDescriptor(n.constructor.prototype,a),p=""+n[a];if(!n.hasOwnProperty(a)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var g=s.get,C=s.set;return Object.defineProperty(n,a,{configurable:!0,get:function(){return g.call(this)},set:function(I){p=""+I,C.call(this,I)}}),Object.defineProperty(n,a,{enumerable:s.enumerable}),{getValue:function(){return p},setValue:function(I){p=""+I},stopTracking:function(){n._valueTracker=null,delete n[a]}}}}function Gn(n){n._valueTracker||(n._valueTracker=Jt(n))}function Oe(n){if(!n)return!1;var a=n._valueTracker;if(!a)return!0;var s=a.getValue(),p="";return n&&(p=St(n)?n.checked?"true":"false":n.value),n=p,n!==s?(a.setValue(n),!0):!1}function on(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function yn(n,a){var s=a.checked;return xe({},a,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:s??n._wrapperState.initialChecked})}function wn(n,a){var s=a.defaultValue==null?"":a.defaultValue,p=a.checked!=null?a.checked:a.defaultChecked;s=lt(a.value!=null?a.value:s),n._wrapperState={initialChecked:p,initialValue:s,controlled:a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null}}function Jn(n,a){a=a.checked,a!=null&&z(n,"checked",a,!1)}function jn(n,a){Jn(n,a);var s=lt(a.value),p=a.type;if(s!=null)p==="number"?(s===0&&n.value===""||n.value!=s)&&(n.value=""+s):n.value!==""+s&&(n.value=""+s);else if(p==="submit"||p==="reset"){n.removeAttribute("value");return}a.hasOwnProperty("value")?fi(n,a.type,s):a.hasOwnProperty("defaultValue")&&fi(n,a.type,lt(a.defaultValue)),a.checked==null&&a.defaultChecked!=null&&(n.defaultChecked=!!a.defaultChecked)}function ci(n,a,s){if(a.hasOwnProperty("value")||a.hasOwnProperty("defaultValue")){var p=a.type;if(!(p!=="submit"&&p!=="reset"||a.value!==void 0&&a.value!==null))return;a=""+n._wrapperState.initialValue,s||a===n.value||(n.value=a),n.defaultValue=a}s=n.name,s!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,s!==""&&(n.name=s)}function fi(n,a,s){(a!=="number"||on(n.ownerDocument)!==n)&&(s==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+s&&(n.defaultValue=""+s))}var cr=Array.isArray;function Or(n,a,s,p){if(n=n.options,a){a={};for(var g=0;g<s.length;g++)a["$"+s[g]]=!0;for(s=0;s<n.length;s++)g=a.hasOwnProperty("$"+n[s].value),n[s].selected!==g&&(n[s].selected=g),g&&p&&(n[s].defaultSelected=!0)}else{for(s=""+lt(s),a=null,g=0;g<n.length;g++){if(n[g].value===s){n[g].selected=!0,p&&(n[g].defaultSelected=!0);return}a!==null||n[g].disabled||(a=n[g])}a!==null&&(a.selected=!0)}}function di(n,a){if(a.dangerouslySetInnerHTML!=null)throw Error(u(91));return xe({},a,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function kr(n,a){var s=a.value;if(s==null){if(s=a.children,a=a.defaultValue,s!=null){if(a!=null)throw Error(u(92));if(cr(s)){if(1<s.length)throw Error(u(93));s=s[0]}a=s}a==null&&(a=""),s=a}n._wrapperState={initialValue:lt(s)}}function Li(n,a){var s=lt(a.value),p=lt(a.defaultValue);s!=null&&(s=""+s,s!==n.value&&(n.value=s),a.defaultValue==null&&n.defaultValue!==s&&(n.defaultValue=s)),p!=null&&(n.defaultValue=""+p)}function br(n){var a=n.textContent;a===n._wrapperState.initialValue&&a!==""&&a!==null&&(n.value=a)}function pi(n){switch(n){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 Mn(n,a){return n==null||n==="http://www.w3.org/1999/xhtml"?pi(a):n==="http://www.w3.org/2000/svg"&&a==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var Ur,Va=function(n){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(a,s,p,g){MSApp.execUnsafeLocalFunction(function(){return n(a,s,p,g)})}:n}(function(n,a){if(n.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in n)n.innerHTML=a;else{for(Ur=Ur||document.createElement("div"),Ur.innerHTML="<svg>"+a.valueOf().toString()+"</svg>",a=Ur.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;a.firstChild;)n.appendChild(a.firstChild)}});function Ni(n,a){if(a){var s=n.firstChild;if(s&&s===n.lastChild&&s.nodeType===3){s.nodeValue=a;return}}n.textContent=a}var Re={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},et=["Webkit","ms","Moz","O"];Object.keys(Re).forEach(function(n){et.forEach(function(a){a=a+n.charAt(0).toUpperCase()+n.substring(1),Re[a]=Re[n]})});function It(n,a,s){return a==null||typeof a=="boolean"||a===""?"":s||typeof a!="number"||a===0||Re.hasOwnProperty(n)&&Re[n]?(""+a).trim():a+"px"}function Yt(n,a){n=n.style;for(var s in a)if(a.hasOwnProperty(s)){var p=s.indexOf("--")===0,g=It(s,a[s],p);s==="float"&&(s="cssFloat"),p?n.setProperty(s,g):n[s]=g}}var Qt=xe({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 Un(n,a){if(a){if(Qt[n]&&(a.children!=null||a.dangerouslySetInnerHTML!=null))throw Error(u(137,n));if(a.dangerouslySetInnerHTML!=null){if(a.children!=null)throw Error(u(60));if(typeof a.dangerouslySetInnerHTML!="object"||!("__html"in a.dangerouslySetInnerHTML))throw Error(u(61))}if(a.style!=null&&typeof a.style!="object")throw Error(u(62))}}function On(n,a){if(n.indexOf("-")===-1)return typeof a.is=="string";switch(n){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 Lr=null;function un(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var Wr=null,Kt=null,qt=null;function Ea(n){if(n=mc(n)){if(typeof Wr!="function")throw Error(u(280));var a=n.stateNode;a&&(a=it(a),Wr(n.stateNode,n.type,a))}}function Ki(n){Kt?qt?qt.push(n):qt=[n]:Kt=n}function Uo(){if(Kt){var n=Kt,a=qt;if(qt=Kt=null,Ea(n),a)for(n=0;n<a.length;n++)Ea(a[n])}}function _u(n,a){return n(a)}function Ll(){}var uo=!1;function Wo(n,a,s){if(uo)return n(a,s);uo=!0;try{return _u(n,a,s)}finally{uo=!1,(Kt!==null||qt!==null)&&(Ll(),Uo())}}function Pi(n,a){var s=n.stateNode;if(s===null)return null;var p=it(s);if(p===null)return null;s=p[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(p=!p.disabled)||(n=n.type,p=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!p;break e;default:n=!1}if(n)return null;if(s&&typeof s!="function")throw Error(u(231,a,typeof s));return s}var _a=!1;if(S)try{var Fi={};Object.defineProperty(Fi,"passive",{get:function(){_a=!0}}),window.addEventListener("test",Fi,Fi),window.removeEventListener("test",Fi,Fi)}catch{_a=!1}function Ta(n,a,s,p,g,C,I,L,B){var ne=Array.prototype.slice.call(arguments,3);try{a.apply(s,ne)}catch(me){this.onError(me)}}var Xr=!1,Vi=null,Ba=!1,za=null,P={onError:function(n){Xr=!0,Vi=n}};function ve(n,a,s,p,g,C,I,L,B){Xr=!1,Vi=null,Ta.apply(P,arguments)}function be(n,a,s,p,g,C,I,L,B){if(ve.apply(this,arguments),Xr){if(Xr){var ne=Vi;Xr=!1,Vi=null}else throw Error(u(198));Ba||(Ba=!0,za=ne)}}function Je(n){var a=n,s=n;if(n.alternate)for(;a.return;)a=a.return;else{n=a;do a=n,a.flags&4098&&(s=a.return),n=a.return;while(n)}return a.tag===3?s:null}function Lt(n){if(n.tag===13){var a=n.memoizedState;if(a===null&&(n=n.alternate,n!==null&&(a=n.memoizedState)),a!==null)return a.dehydrated}return null}function Vt(n){if(Je(n)!==n)throw Error(u(188))}function st(n){var a=n.alternate;if(!a){if(a=Je(n),a===null)throw Error(u(188));return a!==n?null:n}for(var s=n,p=a;;){var g=s.return;if(g===null)break;var C=g.alternate;if(C===null){if(p=g.return,p!==null){s=p;continue}break}if(g.child===C.child){for(C=g.child;C;){if(C===s)return Vt(g),n;if(C===p)return Vt(g),a;C=C.sibling}throw Error(u(188))}if(s.return!==p.return)s=g,p=C;else{for(var I=!1,L=g.child;L;){if(L===s){I=!0,s=g,p=C;break}if(L===p){I=!0,p=g,s=C;break}L=L.sibling}if(!I){for(L=C.child;L;){if(L===s){I=!0,s=C,p=g;break}if(L===p){I=!0,p=C,s=g;break}L=L.sibling}if(!I)throw Error(u(189))}}if(s.alternate!==p)throw Error(u(190))}if(s.tag!==3)throw Error(u(188));return s.stateNode.current===s?n:a}function Dt(n){return n=st(n),n!==null?Qn(n):null}function Qn(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var a=Qn(n);if(a!==null)return a;n=n.sibling}return null}var hn=r.unstable_scheduleCallback,Sn=r.unstable_cancelCallback,Nr=r.unstable_shouldYield,Ha=r.unstable_requestPaint,jt=r.unstable_now,fr=r.unstable_getCurrentPriorityLevel,Zr=r.unstable_ImmediatePriority,Mt=r.unstable_UserBlockingPriority,qi=r.unstable_NormalPriority,Xo=r.unstable_LowPriority,Nl=r.unstable_IdlePriority,Zo=null,hi=null;function qs(n){if(hi&&typeof hi.onCommitFiberRoot=="function")try{hi.onCommitFiberRoot(Zo,n,void 0,(n.current.flags&128)===128)}catch{}}var Yr=Math.clz32?Math.clz32:Sf,ec=Math.log,tc=Math.LN2;function Sf(n){return n>>>=0,n===0?32:31-(ec(n)/tc|0)|0}var Pl=64,Yo=4194304;function Ra(n){switch(n&-n){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 n&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return n&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return n}}function $r(n,a){var s=n.pendingLanes;if(s===0)return 0;var p=0,g=n.suspendedLanes,C=n.pingedLanes,I=s&268435455;if(I!==0){var L=I&~g;L!==0?p=Ra(L):(C&=I,C!==0&&(p=Ra(C)))}else I=s&~g,I!==0?p=Ra(I):C!==0&&(p=Ra(C));if(p===0)return 0;if(a!==0&&a!==p&&!(a&g)&&(g=p&-p,C=a&-a,g>=C||g===16&&(C&4194240)!==0))return a;if(p&4&&(p|=s&16),a=n.entangledLanes,a!==0)for(n=n.entanglements,a&=p;0<a;)s=31-Yr(a),g=1<<s,p|=n[s],a&=~g;return p}function $o(n,a){switch(n){case 1:case 2:case 4:return a+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 a+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 Jo(n,a){for(var s=n.suspendedLanes,p=n.pingedLanes,g=n.expirationTimes,C=n.pendingLanes;0<C;){var I=31-Yr(C),L=1<<I,B=g[I];B===-1?(!(L&s)||L&p)&&(g[I]=$o(L,a)):B<=a&&(n.expiredLanes|=L),C&=~L}}function Qo(n){return n=n.pendingLanes&-1073741825,n!==0?n:n&1073741824?1073741824:0}function Fl(){var n=Pl;return Pl<<=1,!(Pl&4194240)&&(Pl=64),n}function Vl(n){for(var a=[],s=0;31>s;s++)a.push(n);return a}function lo(n,a,s){n.pendingLanes|=a,a!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,a=31-Yr(a),n[a]=s}function _p(n,a){var s=n.pendingLanes&~a;n.pendingLanes=a,n.suspendedLanes=0,n.pingedLanes=0,n.expiredLanes&=a,n.mutableReadLanes&=a,n.entangledLanes&=a,a=n.entanglements;var p=n.eventTimes;for(n=n.expirationTimes;0<s;){var g=31-Yr(s),C=1<<g;a[g]=0,p[g]=-1,n[g]=-1,s&=~C}}function Ga(n,a){var s=n.entangledLanes|=a;for(n=n.entanglements;s;){var p=31-Yr(s),g=1<<p;g&a|n[p]&a&&(n[p]|=a),s&=~g}}var Ut=0;function _l(n){return n&=-n,1<n?4<n?n&268435455?16:536870912:4:1}var Bu,Bl,_t,zl,Hl,xt=!1,zu=[],kn=null,vi=null,Jr=null,Ko=new Map,Fn=new Map,en=[],xf="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 mi(n,a){switch(n){case"focusin":case"focusout":kn=null;break;case"dragenter":case"dragleave":vi=null;break;case"mouseover":case"mouseout":Jr=null;break;case"pointerover":case"pointerout":Ko.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":Fn.delete(a.pointerId)}}function dr(n,a,s,p,g,C){return n===null||n.nativeEvent!==C?(n={blockedOn:a,domEventName:s,eventSystemFlags:p,nativeEvent:C,targetContainers:[g]},a!==null&&(a=mc(a),a!==null&&Bl(a)),n):(n.eventSystemFlags|=p,a=n.targetContainers,g!==null&&a.indexOf(g)===-1&&a.push(g),n)}function ja(n,a,s,p,g){switch(a){case"focusin":return kn=dr(kn,n,a,s,p,g),!0;case"dragenter":return vi=dr(vi,n,a,s,p,g),!0;case"mouseover":return Jr=dr(Jr,n,a,s,p,g),!0;case"pointerover":var C=g.pointerId;return Ko.set(C,dr(Ko.get(C)||null,n,a,s,p,g)),!0;case"gotpointercapture":return C=g.pointerId,Fn.set(C,dr(Fn.get(C)||null,n,a,s,p,g)),!0}return!1}function Ef(n){var a=ra(n.target);if(a!==null){var s=Je(a);if(s!==null){if(a=s.tag,a===13){if(a=Lt(s),a!==null){n.blockedOn=a,Hl(n.priority,function(){_t(s)});return}}else if(a===3&&s.stateNode.current.memoizedState.isDehydrated){n.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}n.blockedOn=null}function so(n){if(n.blockedOn!==null)return!1;for(var a=n.targetContainers;0<a.length;){var s=jl(n.domEventName,n.eventSystemFlags,a[0],n.nativeEvent);if(s===null){s=n.nativeEvent;var p=new s.constructor(s.type,s);Lr=p,s.target.dispatchEvent(p),Lr=null}else return a=mc(s),a!==null&&Bl(a),n.blockedOn=s,!1;a.shift()}return!0}function qo(n,a,s){so(n)&&s.delete(a)}function Tf(){xt=!1,kn!==null&&so(kn)&&(kn=null),vi!==null&&so(vi)&&(vi=null),Jr!==null&&so(Jr)&&(Jr=null),Ko.forEach(qo),Fn.forEach(qo)}function ea(n,a){n.blockedOn===a&&(n.blockedOn=null,xt||(xt=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Tf)))}function eu(n){function a(g){return ea(g,n)}if(0<zu.length){ea(zu[0],n);for(var s=1;s<zu.length;s++){var p=zu[s];p.blockedOn===n&&(p.blockedOn=null)}}for(kn!==null&&ea(kn,n),vi!==null&&ea(vi,n),Jr!==null&&ea(Jr,n),Ko.forEach(a),Fn.forEach(a),s=0;s<en.length;s++)p=en[s],p.blockedOn===n&&(p.blockedOn=null);for(;0<en.length&&(s=en[0],s.blockedOn===null);)Ef(s),s.blockedOn===null&&en.shift()}var co=q.ReactCurrentBatchConfig,ta=!0;function Gl(n,a,s,p){var g=Ut,C=co.transition;co.transition=null;try{Ut=1,nu(n,a,s,p)}finally{Ut=g,co.transition=C}}function tu(n,a,s,p){var g=Ut,C=co.transition;co.transition=null;try{Ut=4,nu(n,a,s,p)}finally{Ut=g,co.transition=C}}function nu(n,a,s,p){if(ta){var g=jl(n,a,s,p);if(g===null)Lf(n,a,p,Hu,s),mi(n,p);else if(ja(g,n,a,s,p))p.stopPropagation();else if(mi(n,p),a&4&&-1<xf.indexOf(n)){for(;g!==null;){var C=mc(g);if(C!==null&&Bu(C),C=jl(n,a,s,p),C===null&&Lf(n,a,p,Hu,s),C===g)break;g=C}g!==null&&p.stopPropagation()}else Lf(n,a,p,null,s)}}var Hu=null;function jl(n,a,s,p){if(Hu=null,n=un(p),n=ra(n),n!==null)if(a=Je(n),a===null)n=null;else if(s=a.tag,s===13){if(n=Lt(a),n!==null)return n;n=null}else if(s===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;n=null}else a!==n&&(n=null);return Hu=n,null}function nc(n){switch(n){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(fr()){case Zr:return 1;case Mt:return 4;case qi:case Xo:return 16;case Nl:return 536870912;default:return 16}default:return 16}}var wa=null,A=null,N=null;function te(){if(N)return N;var n,a=A,s=a.length,p,g="value"in wa?wa.value:wa.textContent,C=g.length;for(n=0;n<s&&a[n]===g[n];n++);var I=s-n;for(p=1;p<=I&&a[s-p]===g[C-p];p++);return N=g.slice(n,1<p?1-p:void 0)}function ae(n){var a=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&a===13&&(n=13)):n=a,n===10&&(n=13),32<=n||n===13?n:0}function Ce(){return!0}function ct(){return!1}function Ie(n){function a(s,p,g,C,I){this._reactName=s,this._targetInst=g,this.type=p,this.nativeEvent=C,this.target=I,this.currentTarget=null;for(var L in n)n.hasOwnProperty(L)&&(s=n[L],this[L]=s?s(C):C[L]);return this.isDefaultPrevented=(C.defaultPrevented!=null?C.defaultPrevented:C.returnValue===!1)?Ce:ct,this.isPropagationStopped=ct,this}return xe(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=Ce)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=Ce)},persist:function(){},isPersistent:Ce}),a}var ot={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ot=Ie(ot),Gt=xe({},ot,{view:0,detail:0}),vn=Ie(Gt),ln,mn,bn,Bt=xe({},Gt,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:jp,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==bn&&(bn&&n.type==="mousemove"?(ln=n.screenX-bn.screenX,mn=n.screenY-bn.screenY):mn=ln=0,bn=n),ln)},movementY:function(n){return"movementY"in n?n.movementY:mn}}),fo=Ie(Bt),Ul=xe({},Bt,{dataTransfer:0}),rc=Ie(Ul),Bp=xe({},Gt,{relatedTarget:0}),Aa=Ie(Bp),ic=xe({},ot,{animationName:0,elapsedTime:0,pseudoElement:0}),ac=Ie(ic),zp=xe({},ot,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),a1=Ie(zp),o1=xe({},ot,{data:0}),Hp=Ie(o1),Gp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Lm={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"},Nm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pm(n){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(n):(n=Nm[n])?!!a[n]:!1}function jp(){return Pm}var po=xe({},Gt,{key:function(n){if(n.key){var a=Gp[n.key]||n.key;if(a!=="Unidentified")return a}return n.type==="keypress"?(n=ae(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Lm[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:jp,charCode:function(n){return n.type==="keypress"?ae(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?ae(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),u1=Ie(po),Up=xe({},Bt,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Rf=Ie(Up),Wp=xe({},Gt,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:jp}),l1=Ie(Wp),wf=xe({},ot,{propertyName:0,elapsedTime:0,pseudoElement:0}),Fm=Ie(wf),gi=xe({},Bt,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),ho=Ie(gi),Kn=[9,13,27,32],Ia=S&&"CompositionEvent"in window,Gu=null;S&&"documentMode"in document&&(Gu=document.documentMode);var Af=S&&"TextEvent"in window&&!Gu,Vm=S&&(!Ia||Gu&&8<Gu&&11>=Gu),Wl=" ",_m=!1;function Bm(n,a){switch(n){case"keyup":return Kn.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function If(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Xl=!1;function s1(n,a){switch(n){case"compositionend":return If(a);case"keypress":return a.which!==32?null:(_m=!0,Wl);case"textInput":return n=a.data,n===Wl&&_m?null:n;default:return null}}function c1(n,a){if(Xl)return n==="compositionend"||!Ia&&Bm(n,a)?(n=te(),N=A=wa=null,Xl=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return Vm&&a.locale!=="ko"?null:a.data;default:return null}}var zm={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 Hm(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a==="input"?!!zm[n.type]:a==="textarea"}function Gm(n,a,s,p){Ki(p),a=pc(a,"onChange"),0<a.length&&(s=new Ot("onChange","change",null,s,p),n.push({event:s,listeners:a}))}var oc=null,Zl=null;function Yl(n){kf(n,0)}function $l(n){var a=Ql(n);if(Oe(a))return n}function jm(n,a){if(n==="change")return a}var Xp=!1;if(S){var Zp;if(S){var Yp="oninput"in document;if(!Yp){var Um=document.createElement("div");Um.setAttribute("oninput","return;"),Yp=typeof Um.oninput=="function"}Zp=Yp}else Zp=!1;Xp=Zp&&(!document.documentMode||9<document.documentMode)}function Wm(){oc&&(oc.detachEvent("onpropertychange",Xm),Zl=oc=null)}function Xm(n){if(n.propertyName==="value"&&$l(Zl)){var a=[];Gm(a,Zl,n,un(n)),Wo(Yl,a)}}function f1(n,a,s){n==="focusin"?(Wm(),oc=a,Zl=s,oc.attachEvent("onpropertychange",Xm)):n==="focusout"&&Wm()}function d1(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return $l(Zl)}function p1(n,a){if(n==="click")return $l(a)}function Zm(n,a){if(n==="input"||n==="change")return $l(a)}function h1(n,a){return n===a&&(n!==0||1/n===1/a)||n!==n&&a!==a}var na=typeof Object.is=="function"?Object.is:h1;function uc(n,a){if(na(n,a))return!0;if(typeof n!="object"||n===null||typeof a!="object"||a===null)return!1;var s=Object.keys(n),p=Object.keys(a);if(s.length!==p.length)return!1;for(p=0;p<s.length;p++){var g=s[p];if(!b.call(a,g)||!na(n[g],a[g]))return!1}return!0}function Ym(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function $m(n,a){var s=Ym(n);n=0;for(var p;s;){if(s.nodeType===3){if(p=n+s.textContent.length,n<=a&&p>=a)return{node:s,offset:a-n};n=p}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=Ym(s)}}function Jm(n,a){return n&&a?n===a?!0:n&&n.nodeType===3?!1:a&&a.nodeType===3?Jm(n,a.parentNode):"contains"in n?n.contains(a):n.compareDocumentPosition?!!(n.compareDocumentPosition(a)&16):!1:!1}function Df(){for(var n=window,a=on();a instanceof n.HTMLIFrameElement;){try{var s=typeof a.contentWindow.location.href=="string"}catch{s=!1}if(s)n=a.contentWindow;else break;a=on(n.document)}return a}function vo(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a&&(a==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||a==="textarea"||n.contentEditable==="true")}function Mf(n){var a=Df(),s=n.focusedElem,p=n.selectionRange;if(a!==s&&s&&s.ownerDocument&&Jm(s.ownerDocument.documentElement,s)){if(p!==null&&vo(s)){if(a=p.start,n=p.end,n===void 0&&(n=a),"selectionStart"in s)s.selectionStart=a,s.selectionEnd=Math.min(n,s.value.length);else if(n=(a=s.ownerDocument||document)&&a.defaultView||window,n.getSelection){n=n.getSelection();var g=s.textContent.length,C=Math.min(p.start,g);p=p.end===void 0?C:Math.min(p.end,g),!n.extend&&C>p&&(g=p,p=C,C=g),g=$m(s,C);var I=$m(s,p);g&&I&&(n.rangeCount!==1||n.anchorNode!==g.node||n.anchorOffset!==g.offset||n.focusNode!==I.node||n.focusOffset!==I.offset)&&(a=a.createRange(),a.setStart(g.node,g.offset),n.removeAllRanges(),C>p?(n.addRange(a),n.extend(I.node,I.offset)):(a.setEnd(I.node,I.offset),n.addRange(a)))}}for(a=[],n=s;n=n.parentNode;)n.nodeType===1&&a.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<a.length;s++)n=a[s],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var Qm=S&&"documentMode"in document&&11>=document.documentMode,Da=null,$p=null,lc=null,Jp=!1;function Km(n,a,s){var p=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;Jp||Da==null||Da!==on(p)||(p=Da,"selectionStart"in p&&vo(p)?p={start:p.selectionStart,end:p.selectionEnd}:(p=(p.ownerDocument&&p.ownerDocument.defaultView||window).getSelection(),p={anchorNode:p.anchorNode,anchorOffset:p.anchorOffset,focusNode:p.focusNode,focusOffset:p.focusOffset}),lc&&uc(lc,p)||(lc=p,p=pc($p,"onSelect"),0<p.length&&(a=new Ot("onSelect","select",null,a,s),n.push({event:a,listeners:p}),a.target=Da)))}function Of(n,a){var s={};return s[n.toLowerCase()]=a.toLowerCase(),s["Webkit"+n]="webkit"+a,s["Moz"+n]="moz"+a,s}var ju={animationend:Of("Animation","AnimationEnd"),animationiteration:Of("Animation","AnimationIteration"),animationstart:Of("Animation","AnimationStart"),transitionend:Of("Transition","TransitionEnd")},Qp={},Kp={};S&&(Kp=document.createElement("div").style,"AnimationEvent"in window||(delete ju.animationend.animation,delete ju.animationiteration.animation,delete ju.animationstart.animation),"TransitionEvent"in window||delete ju.transitionend.transition);function pr(n){if(Qp[n])return Qp[n];if(!ju[n])return n;var a=ju[n],s;for(s in a)if(a.hasOwnProperty(s)&&s in Kp)return Qp[n]=a[s];return n}var qp=pr("animationend"),qm=pr("animationiteration"),eg=pr("animationstart"),tg=pr("transitionend"),ng=new Map,rg="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 mo(n,a){ng.set(n,a),m(a,[n])}for(var sc=0;sc<rg.length;sc++){var Uu=rg[sc],v1=Uu.toLowerCase(),cc=Uu[0].toUpperCase()+Uu.slice(1);mo(v1,"on"+cc)}mo(qp,"onAnimationEnd"),mo(qm,"onAnimationIteration"),mo(eg,"onAnimationStart"),mo("dblclick","onDoubleClick"),mo("focusin","onFocus"),mo("focusout","onBlur"),mo(tg,"onTransitionEnd"),h("onMouseEnter",["mouseout","mouseover"]),h("onMouseLeave",["mouseout","mouseover"]),h("onPointerEnter",["pointerout","pointerover"]),h("onPointerLeave",["pointerout","pointerover"]),m("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),m("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),m("onBeforeInput",["compositionend","keypress","textInput","paste"]),m("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),m("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),m("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var fc="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(" "),m1=new Set("cancel close invalid load scroll toggle".split(" ").concat(fc));function ig(n,a,s){var p=n.type||"unknown-event";n.currentTarget=s,be(p,a,void 0,n),n.currentTarget=null}function kf(n,a){a=(a&4)!==0;for(var s=0;s<n.length;s++){var p=n[s],g=p.event;p=p.listeners;e:{var C=void 0;if(a)for(var I=p.length-1;0<=I;I--){var L=p[I],B=L.instance,ne=L.currentTarget;if(L=L.listener,B!==C&&g.isPropagationStopped())break e;ig(g,L,ne),C=B}else for(I=0;I<p.length;I++){if(L=p[I],B=L.instance,ne=L.currentTarget,L=L.listener,B!==C&&g.isPropagationStopped())break e;ig(g,L,ne),C=B}}}if(Ba)throw n=za,Ba=!1,za=null,n}function gn(n,a){var s=a[oh];s===void 0&&(s=a[oh]=new Set);var p=n+"__bubble";s.has(p)||(ag(a,n,2,!1),s.add(p))}function ru(n,a,s){var p=0;a&&(p|=4),ag(s,n,p,a)}var go="_reactListening"+Math.random().toString(36).slice(2);function Jl(n){if(!n[go]){n[go]=!0,c.forEach(function(s){s!=="selectionchange"&&(m1.has(s)||ru(s,!1,n),ru(s,!0,n))});var a=n.nodeType===9?n:n.ownerDocument;a===null||a[go]||(a[go]=!0,ru("selectionchange",!1,a))}}function ag(n,a,s,p){switch(nc(a)){case 1:var g=Gl;break;case 4:g=tu;break;default:g=nu}s=g.bind(null,a,s,n),g=void 0,!_a||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(g=!0),p?g!==void 0?n.addEventListener(a,s,{capture:!0,passive:g}):n.addEventListener(a,s,!0):g!==void 0?n.addEventListener(a,s,{passive:g}):n.addEventListener(a,s,!1)}function Lf(n,a,s,p,g){var C=p;if(!(a&1)&&!(a&2)&&p!==null)e:for(;;){if(p===null)return;var I=p.tag;if(I===3||I===4){var L=p.stateNode.containerInfo;if(L===g||L.nodeType===8&&L.parentNode===g)break;if(I===4)for(I=p.return;I!==null;){var B=I.tag;if((B===3||B===4)&&(B=I.stateNode.containerInfo,B===g||B.nodeType===8&&B.parentNode===g))return;I=I.return}for(;L!==null;){if(I=ra(L),I===null)return;if(B=I.tag,B===5||B===6){p=C=I;continue e}L=L.parentNode}}p=p.return}Wo(function(){var ne=C,me=un(s),ge=[];e:{var he=ng.get(n);if(he!==void 0){var ke=Ot,Ge=n;switch(n){case"keypress":if(ae(s)===0)break e;case"keydown":case"keyup":ke=u1;break;case"focusin":Ge="focus",ke=Aa;break;case"focusout":Ge="blur",ke=Aa;break;case"beforeblur":case"afterblur":ke=Aa;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ke=fo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ke=rc;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ke=l1;break;case qp:case qm:case eg:ke=ac;break;case tg:ke=Fm;break;case"scroll":ke=vn;break;case"wheel":ke=ho;break;case"copy":case"cut":case"paste":ke=a1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ke=Rf}var Xe=(a&4)!==0,Zn=!Xe&&n==="scroll",$=Xe?he!==null?he+"Capture":null:he;Xe=[];for(var U=ne,K;U!==null;){K=U;var Se=K.stateNode;if(K.tag===5&&Se!==null&&(K=Se,$!==null&&(Se=Pi(U,$),Se!=null&&Xe.push(dc(U,Se,K)))),Zn)break;U=U.return}0<Xe.length&&(he=new ke(he,Ge,null,s,me),ge.push({event:he,listeners:Xe}))}}if(!(a&7)){e:{if(he=n==="mouseover"||n==="pointerover",ke=n==="mouseout"||n==="pointerout",he&&s!==Lr&&(Ge=s.relatedTarget||s.fromElement)&&(ra(Ge)||Ge[yo]))break e;if((ke||he)&&(he=me.window===me?me:(he=me.ownerDocument)?he.defaultView||he.parentWindow:window,ke?(Ge=s.relatedTarget||s.toElement,ke=ne,Ge=Ge?ra(Ge):null,Ge!==null&&(Zn=Je(Ge),Ge!==Zn||Ge.tag!==5&&Ge.tag!==6)&&(Ge=null)):(ke=null,Ge=ne),ke!==Ge)){if(Xe=fo,Se="onMouseLeave",$="onMouseEnter",U="mouse",(n==="pointerout"||n==="pointerover")&&(Xe=Rf,Se="onPointerLeave",$="onPointerEnter",U="pointer"),Zn=ke==null?he:Ql(ke),K=Ge==null?he:Ql(Ge),he=new Xe(Se,U+"leave",ke,s,me),he.target=Zn,he.relatedTarget=K,Se=null,ra(me)===ne&&(Xe=new Xe($,U+"enter",Ge,s,me),Xe.target=K,Xe.relatedTarget=Zn,Se=Xe),Zn=Se,ke&&Ge)t:{for(Xe=ke,$=Ge,U=0,K=Xe;K;K=Wu(K))U++;for(K=0,Se=$;Se;Se=Wu(Se))K++;for(;0<U-K;)Xe=Wu(Xe),U--;for(;0<K-U;)$=Wu($),K--;for(;U--;){if(Xe===$||$!==null&&Xe===$.alternate)break t;Xe=Wu(Xe),$=Wu($)}Xe=null}else Xe=null;ke!==null&&eh(ge,he,ke,Xe,!1),Ge!==null&&Zn!==null&&eh(ge,Zn,Ge,Xe,!0)}}e:{if(he=ne?Ql(ne):window,ke=he.nodeName&&he.nodeName.toLowerCase(),ke==="select"||ke==="input"&&he.type==="file")var $e=jm;else if(Hm(he))if(Xp)$e=Zm;else{$e=d1;var ft=f1}else(ke=he.nodeName)&&ke.toLowerCase()==="input"&&(he.type==="checkbox"||he.type==="radio")&&($e=p1);if($e&&($e=$e(n,ne))){Gm(ge,$e,s,me);break e}ft&&ft(n,he,ne),n==="focusout"&&(ft=he._wrapperState)&&ft.controlled&&he.type==="number"&&fi(he,"number",he.value)}switch(ft=ne?Ql(ne):window,n){case"focusin":(Hm(ft)||ft.contentEditable==="true")&&(Da=ft,$p=ne,lc=null);break;case"focusout":lc=$p=Da=null;break;case"mousedown":Jp=!0;break;case"contextmenu":case"mouseup":case"dragend":Jp=!1,Km(ge,s,me);break;case"selectionchange":if(Qm)break;case"keydown":case"keyup":Km(ge,s,me)}var je;if(Ia)e:{switch(n){case"compositionstart":var pt="onCompositionStart";break e;case"compositionend":pt="onCompositionEnd";break e;case"compositionupdate":pt="onCompositionUpdate";break e}pt=void 0}else Xl?Bm(n,s)&&(pt="onCompositionEnd"):n==="keydown"&&s.keyCode===229&&(pt="onCompositionStart");pt&&(Vm&&s.locale!=="ko"&&(Xl||pt!=="onCompositionStart"?pt==="onCompositionEnd"&&Xl&&(je=te()):(wa=me,A="value"in wa?wa.value:wa.textContent,Xl=!0)),ft=pc(ne,pt),0<ft.length&&(pt=new Hp(pt,n,null,s,me),ge.push({event:pt,listeners:ft}),je?pt.data=je:(je=If(s),je!==null&&(pt.data=je)))),(je=Af?s1(n,s):c1(n,s))&&(ne=pc(ne,"onBeforeInput"),0<ne.length&&(me=new Hp("onBeforeInput","beforeinput",null,s,me),ge.push({event:me,listeners:ne}),me.data=je))}kf(ge,a)})}function dc(n,a,s){return{instance:n,listener:a,currentTarget:s}}function pc(n,a){for(var s=a+"Capture",p=[];n!==null;){var g=n,C=g.stateNode;g.tag===5&&C!==null&&(g=C,C=Pi(n,s),C!=null&&p.unshift(dc(n,C,g)),C=Pi(n,a),C!=null&&p.push(dc(n,C,g))),n=n.return}return p}function Wu(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5);return n||null}function eh(n,a,s,p,g){for(var C=a._reactName,I=[];s!==null&&s!==p;){var L=s,B=L.alternate,ne=L.stateNode;if(B!==null&&B===p)break;L.tag===5&&ne!==null&&(L=ne,g?(B=Pi(s,C),B!=null&&I.unshift(dc(s,B,L))):g||(B=Pi(s,C),B!=null&&I.push(dc(s,B,L)))),s=s.return}I.length!==0&&n.push({event:a,listeners:I})}var th=/\r\n?/g,g1=/\u0000|\uFFFD/g;function nh(n){return(typeof n=="string"?n:""+n).replace(th,`
109
- `).replace(g1,"")}function Nf(n,a,s){if(a=nh(a),nh(n)!==a&&s)throw Error(u(425))}function Pf(){}var rh=null,Xu=null;function hc(n,a){return n==="textarea"||n==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var Zu=typeof setTimeout=="function"?setTimeout:void 0,og=typeof clearTimeout=="function"?clearTimeout:void 0,ih=typeof Promise=="function"?Promise:void 0,ah=typeof queueMicrotask=="function"?queueMicrotask:typeof ih<"u"?function(n){return ih.resolve(null).then(n).catch(y1)}:Zu;function y1(n){setTimeout(function(){throw n})}function iu(n,a){var s=a,p=0;do{var g=s.nextSibling;if(n.removeChild(s),g&&g.nodeType===8)if(s=g.data,s==="/$"){if(p===0){n.removeChild(g),eu(a);return}p--}else s!=="$"&&s!=="$?"&&s!=="$!"||p++;s=g}while(s);eu(a)}function Ma(n){for(;n!=null;n=n.nextSibling){var a=n.nodeType;if(a===1||a===3)break;if(a===8){if(a=n.data,a==="$"||a==="$!"||a==="$?")break;if(a==="/$")return null}}return n}function vc(n){n=n.previousSibling;for(var a=0;n;){if(n.nodeType===8){var s=n.data;if(s==="$"||s==="$!"||s==="$?"){if(a===0)return n;a--}else s==="/$"&&a++}n=n.previousSibling}return null}var au=Math.random().toString(36).slice(2),Ua="__reactFiber$"+au,Yu="__reactProps$"+au,yo="__reactContainer$"+au,oh="__reactEvents$"+au,b1="__reactListeners$"+au,uh="__reactHandles$"+au;function ra(n){var a=n[Ua];if(a)return a;for(var s=n.parentNode;s;){if(a=s[yo]||s[Ua]){if(s=a.alternate,a.child!==null||s!==null&&s.child!==null)for(n=vc(n);n!==null;){if(s=n[Ua])return s;n=vc(n)}return a}n=s,s=n.parentNode}return null}function mc(n){return n=n[Ua]||n[yo],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function Ql(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(u(33))}function it(n){return n[Yu]||null}var ou=[],xn=-1;function At(n){return{current:n}}function $t(n){0>xn||(n.current=ou[xn],ou[xn]=null,xn--)}function tn(n,a){xn++,ou[xn]=n.current,n.current=a}var Wa={},yt=At(Wa),Vn=At(!1),yi=Wa;function ia(n,a){var s=n.type.contextTypes;if(!s)return Wa;var p=n.stateNode;if(p&&p.__reactInternalMemoizedUnmaskedChildContext===a)return p.__reactInternalMemoizedMaskedChildContext;var g={},C;for(C in s)g[C]=a[C];return p&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=a,n.__reactInternalMemoizedMaskedChildContext=g),g}function An(n){return n=n.childContextTypes,n!=null}function aa(){$t(Vn),$t(yt)}function uu(n,a,s){if(yt.current!==Wa)throw Error(u(168));tn(yt,a),tn(Vn,s)}function gc(n,a,s){var p=n.stateNode;if(a=a.childContextTypes,typeof p.getChildContext!="function")return s;p=p.getChildContext();for(var g in p)if(!(g in a))throw Error(u(108,Ct(n)||"Unknown",g));return xe({},s,p)}function Ff(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||Wa,yi=yt.current,tn(yt,n),tn(Vn,Vn.current),!0}function ug(n,a,s){var p=n.stateNode;if(!p)throw Error(u(169));s?(n=gc(n,a,yi),p.__reactInternalMemoizedMergedChildContext=n,$t(Vn),$t(yt),tn(yt,n)):$t(Vn),tn(Vn,s)}var _i=null,hr=!1,yc=!1;function lh(n){_i===null?_i=[n]:_i.push(n)}function sh(n){hr=!0,lh(n)}function bi(){if(!yc&&_i!==null){yc=!0;var n=0,a=Ut;try{var s=_i;for(Ut=1;n<s.length;n++){var p=s[n];do p=p(!0);while(p!==null)}_i=null,hr=!1}catch(g){throw _i!==null&&(_i=_i.slice(n+1)),hn(Zr,bi),g}finally{Ut=a,yc=!1}}return null}var lu=[],Ci=0,$u=null,Kl=0,Si=[],Pr=0,oa=null,Cr=1,bo="";function Bi(n,a){lu[Ci++]=Kl,lu[Ci++]=$u,$u=n,Kl=a}function ch(n,a,s){Si[Pr++]=Cr,Si[Pr++]=bo,Si[Pr++]=oa,oa=n;var p=Cr;n=bo;var g=32-Yr(p)-1;p&=~(1<<g),s+=1;var C=32-Yr(a)+g;if(30<C){var I=g-g%5;C=(p&(1<<I)-1).toString(32),p>>=I,g-=I,Cr=1<<32-Yr(a)+g|s<<g|p,bo=C+n}else Cr=1<<C|s<<g|p,bo=n}function Vf(n){n.return!==null&&(Bi(n,1),ch(n,1,0))}function fh(n){for(;n===$u;)$u=lu[--Ci],lu[Ci]=null,Kl=lu[--Ci],lu[Ci]=null;for(;n===oa;)oa=Si[--Pr],Si[Pr]=null,bo=Si[--Pr],Si[Pr]=null,Cr=Si[--Pr],Si[Pr]=null}var zi=null,xi=null,En=!1,ua=null;function dh(n,a){var s=va(5,null,null,0);s.elementType="DELETED",s.stateNode=a,s.return=n,a=n.deletions,a===null?(n.deletions=[s],n.flags|=16):a.push(s)}function lg(n,a){switch(n.tag){case 5:var s=n.type;return a=a.nodeType!==1||s.toLowerCase()!==a.nodeName.toLowerCase()?null:a,a!==null?(n.stateNode=a,zi=n,xi=Ma(a.firstChild),!0):!1;case 6:return a=n.pendingProps===""||a.nodeType!==3?null:a,a!==null?(n.stateNode=a,zi=n,xi=null,!0):!1;case 13:return a=a.nodeType!==8?null:a,a!==null?(s=oa!==null?{id:Cr,overflow:bo}:null,n.memoizedState={dehydrated:a,treeContext:s,retryLane:1073741824},s=va(18,null,null,0),s.stateNode=a,s.return=n,n.child=s,zi=n,xi=null,!0):!1;default:return!1}}function _f(n){return(n.mode&1)!==0&&(n.flags&128)===0}function Bf(n){if(En){var a=xi;if(a){var s=a;if(!lg(n,a)){if(_f(n))throw Error(u(418));a=Ma(s.nextSibling);var p=zi;a&&lg(n,a)?dh(p,s):(n.flags=n.flags&-4097|2,En=!1,zi=n)}}else{if(_f(n))throw Error(u(418));n.flags=n.flags&-4097|2,En=!1,zi=n}}}function sg(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;zi=n}function zf(n){if(n!==zi)return!1;if(!En)return sg(n),En=!0,!1;var a;if((a=n.tag!==3)&&!(a=n.tag!==5)&&(a=n.type,a=a!=="head"&&a!=="body"&&!hc(n.type,n.memoizedProps)),a&&(a=xi)){if(_f(n))throw cg(),Error(u(418));for(;a;)dh(n,a),a=Ma(a.nextSibling)}if(sg(n),n.tag===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(u(317));e:{for(n=n.nextSibling,a=0;n;){if(n.nodeType===8){var s=n.data;if(s==="/$"){if(a===0){xi=Ma(n.nextSibling);break e}a--}else s!=="$"&&s!=="$!"&&s!=="$?"||a++}n=n.nextSibling}xi=null}}else xi=zi?Ma(n.stateNode.nextSibling):null;return!0}function cg(){for(var n=xi;n;)n=Ma(n.nextSibling)}function Ln(){xi=zi=null,En=!1}function ph(n){ua===null?ua=[n]:ua.push(n)}var Hf=q.ReactCurrentBatchConfig;function Ju(n,a,s){if(n=s.ref,n!==null&&typeof n!="function"&&typeof n!="object"){if(s._owner){if(s=s._owner,s){if(s.tag!==1)throw Error(u(309));var p=s.stateNode}if(!p)throw Error(u(147,n));var g=p,C=""+n;return a!==null&&a.ref!==null&&typeof a.ref=="function"&&a.ref._stringRef===C?a.ref:(a=function(I){var L=g.refs;I===null?delete L[C]:L[C]=I},a._stringRef=C,a)}if(typeof n!="string")throw Error(u(284));if(!s._owner)throw Error(u(290,n))}return n}function Xa(n,a){throw n=Object.prototype.toString.call(a),Error(u(31,n==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":n))}function fg(n){var a=n._init;return a(n._payload)}function Gf(n){function a($,U){if(n){var K=$.deletions;K===null?($.deletions=[U],$.flags|=16):K.push(U)}}function s($,U){if(!n)return null;for(;U!==null;)a($,U),U=U.sibling;return null}function p($,U){for($=new Map;U!==null;)U.key!==null?$.set(U.key,U):$.set(U.index,U),U=U.sibling;return $}function g($,U){return $=mu($,U),$.index=0,$.sibling=null,$}function C($,U,K){return $.index=K,n?(K=$.alternate,K!==null?(K=K.index,K<U?($.flags|=2,U):K):($.flags|=2,U)):($.flags|=1048576,U)}function I($){return n&&$.alternate===null&&($.flags|=2),$}function L($,U,K,Se){return U===null||U.tag!==6?(U=Dd(K,$.mode,Se),U.return=$,U):(U=g(U,K),U.return=$,U)}function B($,U,K,Se){var $e=K.type;return $e===le?me($,U,K.props.children,Se,K.key):U!==null&&(U.elementType===$e||typeof $e=="object"&&$e!==null&&$e.$$typeof===ze&&fg($e)===U.type)?(Se=g(U,K.props),Se.ref=Ju($,U,K),Se.return=$,Se):(Se=Ad(K.type,K.key,K.props,null,$.mode,Se),Se.ref=Ju($,U,K),Se.return=$,Se)}function ne($,U,K,Se){return U===null||U.tag!==4||U.stateNode.containerInfo!==K.containerInfo||U.stateNode.implementation!==K.implementation?(U=Fc(K,$.mode,Se),U.return=$,U):(U=g(U,K.children||[]),U.return=$,U)}function me($,U,K,Se,$e){return U===null||U.tag!==7?(U=fl(K,$.mode,Se,$e),U.return=$,U):(U=g(U,K),U.return=$,U)}function ge($,U,K){if(typeof U=="string"&&U!==""||typeof U=="number")return U=Dd(""+U,$.mode,K),U.return=$,U;if(typeof U=="object"&&U!==null){switch(U.$$typeof){case H:return K=Ad(U.type,U.key,U.props,null,$.mode,K),K.ref=Ju($,null,U),K.return=$,K;case se:return U=Fc(U,$.mode,K),U.return=$,U;case ze:var Se=U._init;return ge($,Se(U._payload),K)}if(cr(U)||Ne(U))return U=fl(U,$.mode,K,null),U.return=$,U;Xa($,U)}return null}function he($,U,K,Se){var $e=U!==null?U.key:null;if(typeof K=="string"&&K!==""||typeof K=="number")return $e!==null?null:L($,U,""+K,Se);if(typeof K=="object"&&K!==null){switch(K.$$typeof){case H:return K.key===$e?B($,U,K,Se):null;case se:return K.key===$e?ne($,U,K,Se):null;case ze:return $e=K._init,he($,U,$e(K._payload),Se)}if(cr(K)||Ne(K))return $e!==null?null:me($,U,K,Se,null);Xa($,K)}return null}function ke($,U,K,Se,$e){if(typeof Se=="string"&&Se!==""||typeof Se=="number")return $=$.get(K)||null,L(U,$,""+Se,$e);if(typeof Se=="object"&&Se!==null){switch(Se.$$typeof){case H:return $=$.get(Se.key===null?K:Se.key)||null,B(U,$,Se,$e);case se:return $=$.get(Se.key===null?K:Se.key)||null,ne(U,$,Se,$e);case ze:var ft=Se._init;return ke($,U,K,ft(Se._payload),$e)}if(cr(Se)||Ne(Se))return $=$.get(K)||null,me(U,$,Se,$e,null);Xa(U,Se)}return null}function Ge($,U,K,Se){for(var $e=null,ft=null,je=U,pt=U=0,ur=null;je!==null&&pt<K.length;pt++){je.index>pt?(ur=je,je=null):ur=je.sibling;var Wt=he($,je,K[pt],Se);if(Wt===null){je===null&&(je=ur);break}n&&je&&Wt.alternate===null&&a($,je),U=C(Wt,U,pt),ft===null?$e=Wt:ft.sibling=Wt,ft=Wt,je=ur}if(pt===K.length)return s($,je),En&&Bi($,pt),$e;if(je===null){for(;pt<K.length;pt++)je=ge($,K[pt],Se),je!==null&&(U=C(je,U,pt),ft===null?$e=je:ft.sibling=je,ft=je);return En&&Bi($,pt),$e}for(je=p($,je);pt<K.length;pt++)ur=ke(je,$,pt,K[pt],Se),ur!==null&&(n&&ur.alternate!==null&&je.delete(ur.key===null?pt:ur.key),U=C(ur,U,pt),ft===null?$e=ur:ft.sibling=ur,ft=ur);return n&&je.forEach(function(wo){return a($,wo)}),En&&Bi($,pt),$e}function Xe($,U,K,Se){var $e=Ne(K);if(typeof $e!="function")throw Error(u(150));if(K=$e.call(K),K==null)throw Error(u(151));for(var ft=$e=null,je=U,pt=U=0,ur=null,Wt=K.next();je!==null&&!Wt.done;pt++,Wt=K.next()){je.index>pt?(ur=je,je=null):ur=je.sibling;var wo=he($,je,Wt.value,Se);if(wo===null){je===null&&(je=ur);break}n&&je&&wo.alternate===null&&a($,je),U=C(wo,U,pt),ft===null?$e=wo:ft.sibling=wo,ft=wo,je=ur}if(Wt.done)return s($,je),En&&Bi($,pt),$e;if(je===null){for(;!Wt.done;pt++,Wt=K.next())Wt=ge($,Wt.value,Se),Wt!==null&&(U=C(Wt,U,pt),ft===null?$e=Wt:ft.sibling=Wt,ft=Wt);return En&&Bi($,pt),$e}for(je=p($,je);!Wt.done;pt++,Wt=K.next())Wt=ke(je,$,pt,Wt.value,Se),Wt!==null&&(n&&Wt.alternate!==null&&je.delete(Wt.key===null?pt:Wt.key),U=C(Wt,U,pt),ft===null?$e=Wt:ft.sibling=Wt,ft=Wt);return n&&je.forEach(function(V1){return a($,V1)}),En&&Bi($,pt),$e}function Zn($,U,K,Se){if(typeof K=="object"&&K!==null&&K.type===le&&K.key===null&&(K=K.props.children),typeof K=="object"&&K!==null){switch(K.$$typeof){case H:e:{for(var $e=K.key,ft=U;ft!==null;){if(ft.key===$e){if($e=K.type,$e===le){if(ft.tag===7){s($,ft.sibling),U=g(ft,K.props.children),U.return=$,$=U;break e}}else if(ft.elementType===$e||typeof $e=="object"&&$e!==null&&$e.$$typeof===ze&&fg($e)===ft.type){s($,ft.sibling),U=g(ft,K.props),U.ref=Ju($,ft,K),U.return=$,$=U;break e}s($,ft);break}else a($,ft);ft=ft.sibling}K.type===le?(U=fl(K.props.children,$.mode,Se,K.key),U.return=$,$=U):(Se=Ad(K.type,K.key,K.props,null,$.mode,Se),Se.ref=Ju($,U,K),Se.return=$,$=Se)}return I($);case se:e:{for(ft=K.key;U!==null;){if(U.key===ft)if(U.tag===4&&U.stateNode.containerInfo===K.containerInfo&&U.stateNode.implementation===K.implementation){s($,U.sibling),U=g(U,K.children||[]),U.return=$,$=U;break e}else{s($,U);break}else a($,U);U=U.sibling}U=Fc(K,$.mode,Se),U.return=$,$=U}return I($);case ze:return ft=K._init,Zn($,U,ft(K._payload),Se)}if(cr(K))return Ge($,U,K,Se);if(Ne(K))return Xe($,U,K,Se);Xa($,K)}return typeof K=="string"&&K!==""||typeof K=="number"?(K=""+K,U!==null&&U.tag===6?(s($,U.sibling),U=g(U,K),U.return=$,$=U):(s($,U),U=Dd(K,$.mode,Se),U.return=$,$=U),I($)):s($,U)}return Zn}var ql=Gf(!0),dg=Gf(!1),Co=At(null),rr=null,we=null,la=null;function Hi(){la=we=rr=null}function hh(n){var a=Co.current;$t(Co),n._currentValue=a}function vh(n,a,s){for(;n!==null;){var p=n.alternate;if((n.childLanes&a)!==a?(n.childLanes|=a,p!==null&&(p.childLanes|=a)):p!==null&&(p.childLanes&a)!==a&&(p.childLanes|=a),n===s)break;n=n.return}}function es(n,a){rr=n,la=we=null,n=n.dependencies,n!==null&&n.firstContext!==null&&(n.lanes&a&&(Ri=!0),n.firstContext=null)}function sa(n){var a=n._currentValue;if(la!==n)if(n={context:n,memoizedValue:a,next:null},we===null){if(rr===null)throw Error(u(308));we=n,rr.dependencies={lanes:0,firstContext:n}}else we=we.next=n;return a}var Qu=null;function qn(n){Qu===null?Qu=[n]:Qu.push(n)}function pg(n,a,s,p){var g=a.interleaved;return g===null?(s.next=s,qn(a)):(s.next=g.next,g.next=s),a.interleaved=s,So(n,p)}function So(n,a){n.lanes|=a;var s=n.alternate;for(s!==null&&(s.lanes|=a),s=n,n=n.return;n!==null;)n.childLanes|=a,s=n.alternate,s!==null&&(s.childLanes|=a),s=n,n=n.return;return s.tag===3?s.stateNode:null}var su=!1;function jf(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ts(n,a){n=n.updateQueue,a.updateQueue===n&&(a.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,effects:n.effects})}function Ei(n,a){return{eventTime:n,lane:a,tag:0,payload:null,callback:null,next:null}}function cu(n,a,s){var p=n.updateQueue;if(p===null)return null;if(p=p.shared,Nt&2){var g=p.pending;return g===null?a.next=a:(a.next=g.next,g.next=a),p.pending=a,So(n,s)}return g=p.interleaved,g===null?(a.next=a,qn(p)):(a.next=g.next,g.next=a),p.interleaved=a,So(n,s)}function Uf(n,a,s){if(a=a.updateQueue,a!==null&&(a=a.shared,(s&4194240)!==0)){var p=a.lanes;p&=n.pendingLanes,s|=p,a.lanes=s,Ga(n,s)}}function hg(n,a){var s=n.updateQueue,p=n.alternate;if(p!==null&&(p=p.updateQueue,s===p)){var g=null,C=null;if(s=s.firstBaseUpdate,s!==null){do{var I={eventTime:s.eventTime,lane:s.lane,tag:s.tag,payload:s.payload,callback:s.callback,next:null};C===null?g=C=I:C=C.next=I,s=s.next}while(s!==null);C===null?g=C=a:C=C.next=a}else g=C=a;s={baseState:p.baseState,firstBaseUpdate:g,lastBaseUpdate:C,shared:p.shared,effects:p.effects},n.updateQueue=s;return}n=s.lastBaseUpdate,n===null?s.firstBaseUpdate=a:n.next=a,s.lastBaseUpdate=a}function Wf(n,a,s,p){var g=n.updateQueue;su=!1;var C=g.firstBaseUpdate,I=g.lastBaseUpdate,L=g.shared.pending;if(L!==null){g.shared.pending=null;var B=L,ne=B.next;B.next=null,I===null?C=ne:I.next=ne,I=B;var me=n.alternate;me!==null&&(me=me.updateQueue,L=me.lastBaseUpdate,L!==I&&(L===null?me.firstBaseUpdate=ne:L.next=ne,me.lastBaseUpdate=B))}if(C!==null){var ge=g.baseState;I=0,me=ne=B=null,L=C;do{var he=L.lane,ke=L.eventTime;if((p&he)===he){me!==null&&(me=me.next={eventTime:ke,lane:0,tag:L.tag,payload:L.payload,callback:L.callback,next:null});e:{var Ge=n,Xe=L;switch(he=a,ke=s,Xe.tag){case 1:if(Ge=Xe.payload,typeof Ge=="function"){ge=Ge.call(ke,ge,he);break e}ge=Ge;break e;case 3:Ge.flags=Ge.flags&-65537|128;case 0:if(Ge=Xe.payload,he=typeof Ge=="function"?Ge.call(ke,ge,he):Ge,he==null)break e;ge=xe({},ge,he);break e;case 2:su=!0}}L.callback!==null&&L.lane!==0&&(n.flags|=64,he=g.effects,he===null?g.effects=[L]:he.push(L))}else ke={eventTime:ke,lane:he,tag:L.tag,payload:L.payload,callback:L.callback,next:null},me===null?(ne=me=ke,B=ge):me=me.next=ke,I|=he;if(L=L.next,L===null){if(L=g.shared.pending,L===null)break;he=L,L=he.next,he.next=null,g.lastBaseUpdate=he,g.shared.pending=null}}while(!0);if(me===null&&(B=ge),g.baseState=B,g.firstBaseUpdate=ne,g.lastBaseUpdate=me,a=g.shared.interleaved,a!==null){g=a;do I|=g.lane,g=g.next;while(g!==a)}else C===null&&(g.shared.lanes=0);ul|=I,n.lanes=I,n.memoizedState=ge}}function vg(n,a,s){if(n=a.effects,a.effects=null,n!==null)for(a=0;a<n.length;a++){var p=n[a],g=p.callback;if(g!==null){if(p.callback=null,p=s,typeof g!="function")throw Error(u(191,g));g.call(p)}}}var bc={},Oa=At(bc),ns=At(bc),Cc=At(bc);function Ku(n){if(n===bc)throw Error(u(174));return n}function mh(n,a){switch(tn(Cc,a),tn(ns,n),tn(Oa,bc),n=a.nodeType,n){case 9:case 11:a=(a=a.documentElement)?a.namespaceURI:Mn(null,"");break;default:n=n===8?a.parentNode:a,a=n.namespaceURI||null,n=n.tagName,a=Mn(a,n)}$t(Oa),tn(Oa,a)}function rs(){$t(Oa),$t(ns),$t(Cc)}function mg(n){Ku(Cc.current);var a=Ku(Oa.current),s=Mn(a,n.type);a!==s&&(tn(ns,n),tn(Oa,s))}function gh(n){ns.current===n&&($t(Oa),$t(ns))}var In=At(0);function Xf(n){for(var a=n;a!==null;){if(a.tag===13){var s=a.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data==="$?"||s.data==="$!"))return a}else if(a.tag===19&&a.memoizedProps.revealOrder!==void 0){if(a.flags&128)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var Zf=[];function yh(){for(var n=0;n<Zf.length;n++)Zf[n]._workInProgressVersionPrimary=null;Zf.length=0}var Yf=q.ReactCurrentDispatcher,Sc=q.ReactCurrentBatchConfig,Ye=0,Qe=null,bt=null,kt=null,Gi=!1,is=!1,xc=0,C1=0;function Fr(){throw Error(u(321))}function Ec(n,a){if(a===null)return!1;for(var s=0;s<a.length&&s<n.length;s++)if(!na(n[s],a[s]))return!1;return!0}function pe(n,a,s,p,g,C){if(Ye=C,Qe=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,Yf.current=n===null||n.memoizedState===null?S1:Cn,n=s(p,g),is){C=0;do{if(is=!1,xc=0,25<=C)throw Error(u(301));C+=1,kt=bt=null,a.updateQueue=null,Yf.current=sd,n=s(p,g)}while(is)}if(Yf.current=Vr,a=bt!==null&&bt.next!==null,Ye=0,kt=bt=Qe=null,Gi=!1,a)throw Error(u(300));return n}function er(){var n=xc!==0;return xc=0,n}function tt(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return kt===null?Qe.memoizedState=kt=n:kt=kt.next=n,kt}function Sr(){if(bt===null){var n=Qe.alternate;n=n!==null?n.memoizedState:null}else n=bt.next;var a=kt===null?Qe.memoizedState:kt.next;if(a!==null)kt=a,bt=n;else{if(n===null)throw Error(u(310));bt=n,n={memoizedState:bt.memoizedState,baseState:bt.baseState,baseQueue:bt.baseQueue,queue:bt.queue,next:null},kt===null?Qe.memoizedState=kt=n:kt=kt.next=n}return kt}function ji(n,a){return typeof a=="function"?a(n):a}function xo(n){var a=Sr(),s=a.queue;if(s===null)throw Error(u(311));s.lastRenderedReducer=n;var p=bt,g=p.baseQueue,C=s.pending;if(C!==null){if(g!==null){var I=g.next;g.next=C.next,C.next=I}p.baseQueue=g=C,s.pending=null}if(g!==null){C=g.next,p=p.baseState;var L=I=null,B=null,ne=C;do{var me=ne.lane;if((Ye&me)===me)B!==null&&(B=B.next={lane:0,action:ne.action,hasEagerState:ne.hasEagerState,eagerState:ne.eagerState,next:null}),p=ne.hasEagerState?ne.eagerState:n(p,ne.action);else{var ge={lane:me,action:ne.action,hasEagerState:ne.hasEagerState,eagerState:ne.eagerState,next:null};B===null?(L=B=ge,I=p):B=B.next=ge,Qe.lanes|=me,ul|=me}ne=ne.next}while(ne!==null&&ne!==C);B===null?I=p:B.next=L,na(p,a.memoizedState)||(Ri=!0),a.memoizedState=p,a.baseState=I,a.baseQueue=B,s.lastRenderedState=p}if(n=s.interleaved,n!==null){g=n;do C=g.lane,Qe.lanes|=C,ul|=C,g=g.next;while(g!==n)}else g===null&&(s.lanes=0);return[a.memoizedState,s.dispatch]}function ca(n){var a=Sr(),s=a.queue;if(s===null)throw Error(u(311));s.lastRenderedReducer=n;var p=s.dispatch,g=s.pending,C=a.memoizedState;if(g!==null){s.pending=null;var I=g=g.next;do C=n(C,I.action),I=I.next;while(I!==g);na(C,a.memoizedState)||(Ri=!0),a.memoizedState=C,a.baseQueue===null&&(a.baseState=C),s.lastRenderedState=C}return[C,p]}function as(){}function qu(n,a){var s=Qe,p=Sr(),g=a(),C=!na(p.memoizedState,g);if(C&&(p.memoizedState=g,Ri=!0),p=p.queue,Tc(Jf.bind(null,s,p,n),[n]),p.getSnapshot!==a||C||kt!==null&&kt.memoizedState.tag&1){if(s.flags|=2048,el(9,$f.bind(null,s,p,g,a),void 0,null),Bn===null)throw Error(u(349));Ye&30||os(s,a,g)}return g}function os(n,a,s){n.flags|=16384,n={getSnapshot:a,value:s},a=Qe.updateQueue,a===null?(a={lastEffect:null,stores:null},Qe.updateQueue=a,a.stores=[n]):(s=a.stores,s===null?a.stores=[n]:s.push(n))}function $f(n,a,s,p){a.value=s,a.getSnapshot=p,Qf(a)&&Kf(n)}function Jf(n,a,s){return s(function(){Qf(a)&&Kf(n)})}function Qf(n){var a=n.getSnapshot;n=n.value;try{var s=a();return!na(n,s)}catch{return!0}}function Kf(n){var a=So(n,1);a!==null&&Nn(a,n,1,-1)}function qf(n){var a=tt();return typeof n=="function"&&(n=n()),a.memoizedState=a.baseState=n,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ji,lastRenderedState:n},a.queue=n,n=n.dispatch=Rc.bind(null,Qe,n),[a.memoizedState,n]}function el(n,a,s,p){return n={tag:n,create:a,destroy:s,deps:p,next:null},a=Qe.updateQueue,a===null?(a={lastEffect:null,stores:null},Qe.updateQueue=a,a.lastEffect=n.next=n):(s=a.lastEffect,s===null?a.lastEffect=n.next=n:(p=s.next,s.next=n,n.next=p,a.lastEffect=n)),n}function ed(){return Sr().memoizedState}function us(n,a,s,p){var g=tt();Qe.flags|=n,g.memoizedState=el(1|a,s,void 0,p===void 0?null:p)}function ls(n,a,s,p){var g=Sr();p=p===void 0?null:p;var C=void 0;if(bt!==null){var I=bt.memoizedState;if(C=I.destroy,p!==null&&Ec(p,I.deps)){g.memoizedState=el(a,s,C,p);return}}Qe.flags|=n,g.memoizedState=el(1|a,s,C,p)}function td(n,a){return us(8390656,8,n,a)}function Tc(n,a){return ls(2048,8,n,a)}function nd(n,a){return ls(4,2,n,a)}function rd(n,a){return ls(4,4,n,a)}function id(n,a){if(typeof a=="function")return n=n(),a(n),function(){a(null)};if(a!=null)return n=n(),a.current=n,function(){a.current=null}}function ad(n,a,s){return s=s!=null?s.concat([n]):null,ls(4,4,id.bind(null,a,n),s)}function ss(){}function tl(n,a){var s=Sr();a=a===void 0?null:a;var p=s.memoizedState;return p!==null&&a!==null&&Ec(a,p[1])?p[0]:(s.memoizedState=[n,a],n)}function od(n,a){var s=Sr();a=a===void 0?null:a;var p=s.memoizedState;return p!==null&&a!==null&&Ec(a,p[1])?p[0]:(n=n(),s.memoizedState=[n,a],n)}function ud(n,a,s){return Ye&21?(na(s,a)||(s=Fl(),Qe.lanes|=s,ul|=s,n.baseState=!0),a):(n.baseState&&(n.baseState=!1,Ri=!0),n.memoizedState=s)}function bh(n,a){var s=Ut;Ut=s!==0&&4>s?s:4,n(!0);var p=Sc.transition;Sc.transition={};try{n(!1),a()}finally{Ut=s,Sc.transition=p}}function ld(){return Sr().memoizedState}function gg(n,a,s){var p=Ro(n);if(s={lane:p,action:s,hasEagerState:!1,eagerState:null,next:null},Ch(n))cs(a,s);else if(s=pg(n,a,s,p),s!==null){var g=gr();Nn(s,n,p,g),fu(s,a,p)}}function Rc(n,a,s){var p=Ro(n),g={lane:p,action:s,hasEagerState:!1,eagerState:null,next:null};if(Ch(n))cs(a,g);else{var C=n.alternate;if(n.lanes===0&&(C===null||C.lanes===0)&&(C=a.lastRenderedReducer,C!==null))try{var I=a.lastRenderedState,L=C(I,s);if(g.hasEagerState=!0,g.eagerState=L,na(L,I)){var B=a.interleaved;B===null?(g.next=g,qn(a)):(g.next=B.next,B.next=g),a.interleaved=g;return}}catch{}finally{}s=pg(n,a,g,p),s!==null&&(g=gr(),Nn(s,n,p,g),fu(s,a,p))}}function Ch(n){var a=n.alternate;return n===Qe||a!==null&&a===Qe}function cs(n,a){is=Gi=!0;var s=n.pending;s===null?a.next=a:(a.next=s.next,s.next=a),n.pending=a}function fu(n,a,s){if(s&4194240){var p=a.lanes;p&=n.pendingLanes,s|=p,a.lanes=s,Ga(n,s)}}var Vr={readContext:sa,useCallback:Fr,useContext:Fr,useEffect:Fr,useImperativeHandle:Fr,useInsertionEffect:Fr,useLayoutEffect:Fr,useMemo:Fr,useReducer:Fr,useRef:Fr,useState:Fr,useDebugValue:Fr,useDeferredValue:Fr,useTransition:Fr,useMutableSource:Fr,useSyncExternalStore:Fr,useId:Fr,unstable_isNewReconciler:!1},S1={readContext:sa,useCallback:function(n,a){return tt().memoizedState=[n,a===void 0?null:a],n},useContext:sa,useEffect:td,useImperativeHandle:function(n,a,s){return s=s!=null?s.concat([n]):null,us(4194308,4,id.bind(null,a,n),s)},useLayoutEffect:function(n,a){return us(4194308,4,n,a)},useInsertionEffect:function(n,a){return us(4,2,n,a)},useMemo:function(n,a){var s=tt();return a=a===void 0?null:a,n=n(),s.memoizedState=[n,a],n},useReducer:function(n,a,s){var p=tt();return a=s!==void 0?s(a):a,p.memoizedState=p.baseState=a,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:a},p.queue=n,n=n.dispatch=gg.bind(null,Qe,n),[p.memoizedState,n]},useRef:function(n){var a=tt();return n={current:n},a.memoizedState=n},useState:qf,useDebugValue:ss,useDeferredValue:function(n){return tt().memoizedState=n},useTransition:function(){var n=qf(!1),a=n[0];return n=bh.bind(null,n[1]),tt().memoizedState=n,[a,n]},useMutableSource:function(){},useSyncExternalStore:function(n,a,s){var p=Qe,g=tt();if(En){if(s===void 0)throw Error(u(407));s=s()}else{if(s=a(),Bn===null)throw Error(u(349));Ye&30||os(p,a,s)}g.memoizedState=s;var C={value:s,getSnapshot:a};return g.queue=C,td(Jf.bind(null,p,C,n),[n]),p.flags|=2048,el(9,$f.bind(null,p,C,s,a),void 0,null),s},useId:function(){var n=tt(),a=Bn.identifierPrefix;if(En){var s=bo,p=Cr;s=(p&~(1<<32-Yr(p)-1)).toString(32)+s,a=":"+a+"R"+s,s=xc++,0<s&&(a+="H"+s.toString(32)),a+=":"}else s=C1++,a=":"+a+"r"+s.toString(32)+":";return n.memoizedState=a},unstable_isNewReconciler:!1},Cn={readContext:sa,useCallback:tl,useContext:sa,useEffect:Tc,useImperativeHandle:ad,useInsertionEffect:nd,useLayoutEffect:rd,useMemo:od,useReducer:xo,useRef:ed,useState:function(){return xo(ji)},useDebugValue:ss,useDeferredValue:function(n){var a=Sr();return ud(a,bt.memoizedState,n)},useTransition:function(){var n=xo(ji)[0],a=Sr().memoizedState;return[n,a]},useMutableSource:as,useSyncExternalStore:qu,useId:ld,unstable_isNewReconciler:!1},sd={readContext:sa,useCallback:tl,useContext:sa,useEffect:Tc,useImperativeHandle:ad,useInsertionEffect:nd,useLayoutEffect:rd,useMemo:od,useReducer:ca,useRef:ed,useState:function(){return ca(ji)},useDebugValue:ss,useDeferredValue:function(n){var a=Sr();return bt===null?a.memoizedState=n:ud(a,bt.memoizedState,n)},useTransition:function(){var n=ca(ji)[0],a=Sr().memoizedState;return[n,a]},useMutableSource:as,useSyncExternalStore:qu,useId:ld,unstable_isNewReconciler:!1};function Ti(n,a){if(n&&n.defaultProps){a=xe({},a),n=n.defaultProps;for(var s in n)a[s]===void 0&&(a[s]=n[s]);return a}return a}function nl(n,a,s,p){a=n.memoizedState,s=s(p,a),s=s==null?a:xe({},a,s),n.memoizedState=s,n.lanes===0&&(n.updateQueue.baseState=s)}var rl={isMounted:function(n){return(n=n._reactInternals)?Je(n)===n:!1},enqueueSetState:function(n,a,s){n=n._reactInternals;var p=gr(),g=Ro(n),C=Ei(p,g);C.payload=a,s!=null&&(C.callback=s),a=cu(n,C,g),a!==null&&(Nn(a,n,g,p),Uf(a,n,g))},enqueueReplaceState:function(n,a,s){n=n._reactInternals;var p=gr(),g=Ro(n),C=Ei(p,g);C.tag=1,C.payload=a,s!=null&&(C.callback=s),a=cu(n,C,g),a!==null&&(Nn(a,n,g,p),Uf(a,n,g))},enqueueForceUpdate:function(n,a){n=n._reactInternals;var s=gr(),p=Ro(n),g=Ei(s,p);g.tag=2,a!=null&&(g.callback=a),a=cu(n,g,p),a!==null&&(Nn(a,n,p,s),Uf(a,n,p))}};function yg(n,a,s,p,g,C,I){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(p,C,I):a.prototype&&a.prototype.isPureReactComponent?!uc(s,p)||!uc(g,C):!0}function bg(n,a,s){var p=!1,g=Wa,C=a.contextType;return typeof C=="object"&&C!==null?C=sa(C):(g=An(a)?yi:yt.current,p=a.contextTypes,C=(p=p!=null)?ia(n,g):Wa),a=new a(s,C),n.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=rl,n.stateNode=a,a._reactInternals=n,p&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=g,n.__reactInternalMemoizedMaskedChildContext=C),a}function Cg(n,a,s,p){n=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(s,p),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(s,p),a.state!==n&&rl.enqueueReplaceState(a,a.state,null)}function Sh(n,a,s,p){var g=n.stateNode;g.props=s,g.state=n.memoizedState,g.refs={},jf(n);var C=a.contextType;typeof C=="object"&&C!==null?g.context=sa(C):(C=An(a)?yi:yt.current,g.context=ia(n,C)),g.state=n.memoizedState,C=a.getDerivedStateFromProps,typeof C=="function"&&(nl(n,a,C,s),g.state=n.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(a=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),a!==g.state&&rl.enqueueReplaceState(g,g.state,null),Wf(n,s,g,p),g.state=n.memoizedState),typeof g.componentDidMount=="function"&&(n.flags|=4194308)}function du(n,a){try{var s="",p=a;do s+=ut(p),p=p.return;while(p);var g=s}catch(C){g=`
110
- Error generating stack: `+C.message+`
111
- `+C.stack}return{value:n,source:a,stack:g,digest:null}}function xh(n,a,s){return{value:n,source:null,stack:s??null,digest:a??null}}function wc(n,a){try{console.error(a.value)}catch(s){setTimeout(function(){throw s})}}var Sg=typeof WeakMap=="function"?WeakMap:Map;function xg(n,a,s){s=Ei(-1,s),s.tag=3,s.payload={element:null};var p=a.value;return s.callback=function(){Sd||(Sd=!0,Oh=p),wc(n,a)},s}function Eg(n,a,s){s=Ei(-1,s),s.tag=3;var p=n.type.getDerivedStateFromError;if(typeof p=="function"){var g=a.value;s.payload=function(){return p(g)},s.callback=function(){wc(n,a)}}var C=n.stateNode;return C!==null&&typeof C.componentDidCatch=="function"&&(s.callback=function(){wc(n,a),typeof p!="function"&&(pa===null?pa=new Set([this]):pa.add(this));var I=a.stack;this.componentDidCatch(a.value,{componentStack:I!==null?I:""})}),s}function Ac(n,a,s){var p=n.pingCache;if(p===null){p=n.pingCache=new Sg;var g=new Set;p.set(a,g)}else g=p.get(a),g===void 0&&(g=new Set,p.set(a,g));g.has(s)||(g.add(s),n=O1.bind(null,n,a,s),a.then(n,n))}function Tg(n){do{var a;if((a=n.tag===13)&&(a=n.memoizedState,a=a!==null?a.dehydrated!==null:!0),a)return n;n=n.return}while(n!==null);return null}function Eh(n,a,s,p,g){return n.mode&1?(n.flags|=65536,n.lanes=g,n):(n===a?n.flags|=65536:(n.flags|=128,s.flags|=131072,s.flags&=-52805,s.tag===1&&(s.alternate===null?s.tag=17:(a=Ei(-1,1),a.tag=2,cu(s,a,1))),s.lanes|=1),n)}var Rg=q.ReactCurrentOwner,Ri=!1;function Wn(n,a,s,p){a.child=n===null?dg(a,null,s,p):ql(a,n.child,s,p)}function fs(n,a,s,p,g){s=s.render;var C=a.ref;return es(a,g),p=pe(n,a,s,p,C,g),s=er(),n!==null&&!Ri?(a.updateQueue=n.updateQueue,a.flags&=-2053,n.lanes&=~g,Xn(n,a,g)):(En&&s&&Vf(a),a.flags|=1,Wn(n,a,p,g),a.child)}function pu(n,a,s,p,g){if(n===null){var C=s.type;return typeof C=="function"&&!Fh(C)&&C.defaultProps===void 0&&s.compare===null&&s.defaultProps===void 0?(a.tag=15,a.type=C,cd(n,a,C,p,g)):(n=Ad(s.type,null,p,a,a.mode,g),n.ref=a.ref,n.return=a,a.child=n)}if(C=n.child,!(n.lanes&g)){var I=C.memoizedProps;if(s=s.compare,s=s!==null?s:uc,s(I,p)&&n.ref===a.ref)return Xn(n,a,g)}return a.flags|=1,n=mu(C,p),n.ref=a.ref,n.return=a,a.child=n}function cd(n,a,s,p,g){if(n!==null){var C=n.memoizedProps;if(uc(C,p)&&n.ref===a.ref)if(Ri=!1,a.pendingProps=p=C,(n.lanes&g)!==0)n.flags&131072&&(Ri=!0);else return a.lanes=n.lanes,Xn(n,a,g)}return wt(n,a,s,p,g)}function wi(n,a,s){var p=a.pendingProps,g=p.children,C=n!==null?n.memoizedState:null;if(p.mode==="hidden")if(!(a.mode&1))a.memoizedState={baseLanes:0,cachePool:null,transitions:null},tn(Ss,Ai),Ai|=s;else{if(!(s&1073741824))return n=C!==null?C.baseLanes|s:s,a.lanes=a.childLanes=1073741824,a.memoizedState={baseLanes:n,cachePool:null,transitions:null},a.updateQueue=null,tn(Ss,Ai),Ai|=n,null;a.memoizedState={baseLanes:0,cachePool:null,transitions:null},p=C!==null?C.baseLanes:s,tn(Ss,Ai),Ai|=p}else C!==null?(p=C.baseLanes|s,a.memoizedState=null):p=s,tn(Ss,Ai),Ai|=p;return Wn(n,a,g,s),a.child}function il(n,a){var s=a.ref;(n===null&&s!==null||n!==null&&n.ref!==s)&&(a.flags|=512,a.flags|=2097152)}function wt(n,a,s,p,g){var C=An(s)?yi:yt.current;return C=ia(a,C),es(a,g),s=pe(n,a,s,p,C,g),p=er(),n!==null&&!Ri?(a.updateQueue=n.updateQueue,a.flags&=-2053,n.lanes&=~g,Xn(n,a,g)):(En&&p&&Vf(a),a.flags|=1,Wn(n,a,s,g),a.child)}function Ic(n,a,s,p,g){if(An(s)){var C=!0;Ff(a)}else C=!1;if(es(a,g),a.stateNode===null)Mc(n,a),bg(a,s,p),Sh(a,s,p,g),p=!0;else if(n===null){var I=a.stateNode,L=a.memoizedProps;I.props=L;var B=I.context,ne=s.contextType;typeof ne=="object"&&ne!==null?ne=sa(ne):(ne=An(s)?yi:yt.current,ne=ia(a,ne));var me=s.getDerivedStateFromProps,ge=typeof me=="function"||typeof I.getSnapshotBeforeUpdate=="function";ge||typeof I.UNSAFE_componentWillReceiveProps!="function"&&typeof I.componentWillReceiveProps!="function"||(L!==p||B!==ne)&&Cg(a,I,p,ne),su=!1;var he=a.memoizedState;I.state=he,Wf(a,p,I,g),B=a.memoizedState,L!==p||he!==B||Vn.current||su?(typeof me=="function"&&(nl(a,s,me,p),B=a.memoizedState),(L=su||yg(a,s,L,p,he,B,ne))?(ge||typeof I.UNSAFE_componentWillMount!="function"&&typeof I.componentWillMount!="function"||(typeof I.componentWillMount=="function"&&I.componentWillMount(),typeof I.UNSAFE_componentWillMount=="function"&&I.UNSAFE_componentWillMount()),typeof I.componentDidMount=="function"&&(a.flags|=4194308)):(typeof I.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=p,a.memoizedState=B),I.props=p,I.state=B,I.context=ne,p=L):(typeof I.componentDidMount=="function"&&(a.flags|=4194308),p=!1)}else{I=a.stateNode,ts(n,a),L=a.memoizedProps,ne=a.type===a.elementType?L:Ti(a.type,L),I.props=ne,ge=a.pendingProps,he=I.context,B=s.contextType,typeof B=="object"&&B!==null?B=sa(B):(B=An(s)?yi:yt.current,B=ia(a,B));var ke=s.getDerivedStateFromProps;(me=typeof ke=="function"||typeof I.getSnapshotBeforeUpdate=="function")||typeof I.UNSAFE_componentWillReceiveProps!="function"&&typeof I.componentWillReceiveProps!="function"||(L!==ge||he!==B)&&Cg(a,I,p,B),su=!1,he=a.memoizedState,I.state=he,Wf(a,p,I,g);var Ge=a.memoizedState;L!==ge||he!==Ge||Vn.current||su?(typeof ke=="function"&&(nl(a,s,ke,p),Ge=a.memoizedState),(ne=su||yg(a,s,ne,p,he,Ge,B)||!1)?(me||typeof I.UNSAFE_componentWillUpdate!="function"&&typeof I.componentWillUpdate!="function"||(typeof I.componentWillUpdate=="function"&&I.componentWillUpdate(p,Ge,B),typeof I.UNSAFE_componentWillUpdate=="function"&&I.UNSAFE_componentWillUpdate(p,Ge,B)),typeof I.componentDidUpdate=="function"&&(a.flags|=4),typeof I.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof I.componentDidUpdate!="function"||L===n.memoizedProps&&he===n.memoizedState||(a.flags|=4),typeof I.getSnapshotBeforeUpdate!="function"||L===n.memoizedProps&&he===n.memoizedState||(a.flags|=1024),a.memoizedProps=p,a.memoizedState=Ge),I.props=p,I.state=Ge,I.context=B,p=ne):(typeof I.componentDidUpdate!="function"||L===n.memoizedProps&&he===n.memoizedState||(a.flags|=4),typeof I.getSnapshotBeforeUpdate!="function"||L===n.memoizedProps&&he===n.memoizedState||(a.flags|=1024),p=!1)}return fd(n,a,s,p,C,g)}function fd(n,a,s,p,g,C){il(n,a);var I=(a.flags&128)!==0;if(!p&&!I)return g&&ug(a,s,!1),Xn(n,a,C);p=a.stateNode,Rg.current=a;var L=I&&typeof s.getDerivedStateFromError!="function"?null:p.render();return a.flags|=1,n!==null&&I?(a.child=ql(a,n.child,null,C),a.child=ql(a,null,L,C)):Wn(n,a,L,C),a.memoizedState=p.state,g&&ug(a,s,!0),a.child}function x1(n){var a=n.stateNode;a.pendingContext?uu(n,a.pendingContext,a.pendingContext!==a.context):a.context&&uu(n,a.context,!1),mh(n,a.containerInfo)}function wg(n,a,s,p,g){return Ln(),ph(g),a.flags|=256,Wn(n,a,s,p),a.child}var Dc={dehydrated:null,treeContext:null,retryLane:0};function al(n){return{baseLanes:n,cachePool:null,transitions:null}}function Ag(n,a,s){var p=a.pendingProps,g=In.current,C=!1,I=(a.flags&128)!==0,L;if((L=I)||(L=n!==null&&n.memoizedState===null?!1:(g&2)!==0),L?(C=!0,a.flags&=-129):(n===null||n.memoizedState!==null)&&(g|=1),tn(In,g&1),n===null)return Bf(a),n=a.memoizedState,n!==null&&(n=n.dehydrated,n!==null)?(a.mode&1?n.data==="$!"?a.lanes=8:a.lanes=1073741824:a.lanes=1,null):(I=p.children,n=p.fallback,C?(p=a.mode,C=a.child,I={mode:"hidden",children:I},!(p&1)&&C!==null?(C.childLanes=0,C.pendingProps=I):C=Id(I,p,0,null),n=fl(n,p,s,null),C.return=a,n.return=a,C.sibling=n,a.child=C,a.child.memoizedState=al(s),a.memoizedState=Dc,n):dd(a,I));if(g=n.memoizedState,g!==null&&(L=g.dehydrated,L!==null))return Th(n,a,I,p,L,g,s);if(C){C=p.fallback,I=a.mode,g=n.child,L=g.sibling;var B={mode:"hidden",children:p.children};return!(I&1)&&a.child!==g?(p=a.child,p.childLanes=0,p.pendingProps=B,a.deletions=null):(p=mu(g,B),p.subtreeFlags=g.subtreeFlags&14680064),L!==null?C=mu(L,C):(C=fl(C,I,s,null),C.flags|=2),C.return=a,p.return=a,p.sibling=C,a.child=p,p=C,C=a.child,I=n.child.memoizedState,I=I===null?al(s):{baseLanes:I.baseLanes|s,cachePool:null,transitions:I.transitions},C.memoizedState=I,C.childLanes=n.childLanes&~s,a.memoizedState=Dc,p}return C=n.child,n=C.sibling,p=mu(C,{mode:"visible",children:p.children}),!(a.mode&1)&&(p.lanes=s),p.return=a,p.sibling=null,n!==null&&(s=a.deletions,s===null?(a.deletions=[n],a.flags|=16):s.push(n)),a.child=p,a.memoizedState=null,p}function dd(n,a){return a=Id({mode:"visible",children:a},n.mode,0,null),a.return=n,n.child=a}function pd(n,a,s,p){return p!==null&&ph(p),ql(a,n.child,null,s),n=dd(a,a.pendingProps.children),n.flags|=2,a.memoizedState=null,n}function Th(n,a,s,p,g,C,I){if(s)return a.flags&256?(a.flags&=-257,p=xh(Error(u(422))),pd(n,a,I,p)):a.memoizedState!==null?(a.child=n.child,a.flags|=128,null):(C=p.fallback,g=a.mode,p=Id({mode:"visible",children:p.children},g,0,null),C=fl(C,g,I,null),C.flags|=2,p.return=a,C.return=a,p.sibling=C,a.child=p,a.mode&1&&ql(a,n.child,null,I),a.child.memoizedState=al(I),a.memoizedState=Dc,C);if(!(a.mode&1))return pd(n,a,I,null);if(g.data==="$!"){if(p=g.nextSibling&&g.nextSibling.dataset,p)var L=p.dgst;return p=L,C=Error(u(419)),p=xh(C,p,void 0),pd(n,a,I,p)}if(L=(I&n.childLanes)!==0,Ri||L){if(p=Bn,p!==null){switch(I&-I){case 4:g=2;break;case 16:g=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:g=32;break;case 536870912:g=268435456;break;default:g=0}g=g&(p.suspendedLanes|I)?0:g,g!==0&&g!==C.retryLane&&(C.retryLane=g,So(n,g),Nn(p,n,g,-1))}return Pc(),p=xh(Error(u(421))),pd(n,a,I,p)}return g.data==="$?"?(a.flags|=128,a.child=n.child,a=Ph.bind(null,n),g._reactRetry=a,null):(n=C.treeContext,xi=Ma(g.nextSibling),zi=a,En=!0,ua=null,n!==null&&(Si[Pr++]=Cr,Si[Pr++]=bo,Si[Pr++]=oa,Cr=n.id,bo=n.overflow,oa=a),a=dd(a,p.children),a.flags|=4096,a)}function Ig(n,a,s){n.lanes|=a;var p=n.alternate;p!==null&&(p.lanes|=a),vh(n.return,a,s)}function hd(n,a,s,p,g){var C=n.memoizedState;C===null?n.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:p,tail:s,tailMode:g}:(C.isBackwards=a,C.rendering=null,C.renderingStartTime=0,C.last=p,C.tail=s,C.tailMode=g)}function Rh(n,a,s){var p=a.pendingProps,g=p.revealOrder,C=p.tail;if(Wn(n,a,p.children,s),p=In.current,p&2)p=p&1|2,a.flags|=128;else{if(n!==null&&n.flags&128)e:for(n=a.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Ig(n,s,a);else if(n.tag===19)Ig(n,s,a);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===a)break e;for(;n.sibling===null;){if(n.return===null||n.return===a)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}p&=1}if(tn(In,p),!(a.mode&1))a.memoizedState=null;else switch(g){case"forwards":for(s=a.child,g=null;s!==null;)n=s.alternate,n!==null&&Xf(n)===null&&(g=s),s=s.sibling;s=g,s===null?(g=a.child,a.child=null):(g=s.sibling,s.sibling=null),hd(a,!1,g,s,C);break;case"backwards":for(s=null,g=a.child,a.child=null;g!==null;){if(n=g.alternate,n!==null&&Xf(n)===null){a.child=g;break}n=g.sibling,g.sibling=s,s=g,g=n}hd(a,!0,s,null,C);break;case"together":hd(a,!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function Mc(n,a){!(a.mode&1)&&n!==null&&(n.alternate=null,a.alternate=null,a.flags|=2)}function Xn(n,a,s){if(n!==null&&(a.dependencies=n.dependencies),ul|=a.lanes,!(s&a.childLanes))return null;if(n!==null&&a.child!==n.child)throw Error(u(153));if(a.child!==null){for(n=a.child,s=mu(n,n.pendingProps),a.child=s,s.return=a;n.sibling!==null;)n=n.sibling,s=s.sibling=mu(n,n.pendingProps),s.return=a;s.sibling=null}return a.child}function Eo(n,a,s){switch(a.tag){case 3:x1(a),Ln();break;case 5:mg(a);break;case 1:An(a.type)&&Ff(a);break;case 4:mh(a,a.stateNode.containerInfo);break;case 10:var p=a.type._context,g=a.memoizedProps.value;tn(Co,p._currentValue),p._currentValue=g;break;case 13:if(p=a.memoizedState,p!==null)return p.dehydrated!==null?(tn(In,In.current&1),a.flags|=128,null):s&a.child.childLanes?Ag(n,a,s):(tn(In,In.current&1),n=Xn(n,a,s),n!==null?n.sibling:null);tn(In,In.current&1);break;case 19:if(p=(s&a.childLanes)!==0,n.flags&128){if(p)return Rh(n,a,s);a.flags|=128}if(g=a.memoizedState,g!==null&&(g.rendering=null,g.tail=null,g.lastEffect=null),tn(In,In.current),p)break;return null;case 22:case 23:return a.lanes=0,wi(n,a,s)}return Xn(n,a,s)}var Za,ds,ps,fa;Za=function(n,a){for(var s=a.child;s!==null;){if(s.tag===5||s.tag===6)n.appendChild(s.stateNode);else if(s.tag!==4&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===a)break;for(;s.sibling===null;){if(s.return===null||s.return===a)return;s=s.return}s.sibling.return=s.return,s=s.sibling}},ds=function(){},ps=function(n,a,s,p){var g=n.memoizedProps;if(g!==p){n=a.stateNode,Ku(Oa.current);var C=null;switch(s){case"input":g=yn(n,g),p=yn(n,p),C=[];break;case"select":g=xe({},g,{value:void 0}),p=xe({},p,{value:void 0}),C=[];break;case"textarea":g=di(n,g),p=di(n,p),C=[];break;default:typeof g.onClick!="function"&&typeof p.onClick=="function"&&(n.onclick=Pf)}Un(s,p);var I;s=null;for(ne in g)if(!p.hasOwnProperty(ne)&&g.hasOwnProperty(ne)&&g[ne]!=null)if(ne==="style"){var L=g[ne];for(I in L)L.hasOwnProperty(I)&&(s||(s={}),s[I]="")}else ne!=="dangerouslySetInnerHTML"&&ne!=="children"&&ne!=="suppressContentEditableWarning"&&ne!=="suppressHydrationWarning"&&ne!=="autoFocus"&&(d.hasOwnProperty(ne)?C||(C=[]):(C=C||[]).push(ne,null));for(ne in p){var B=p[ne];if(L=g!=null?g[ne]:void 0,p.hasOwnProperty(ne)&&B!==L&&(B!=null||L!=null))if(ne==="style")if(L){for(I in L)!L.hasOwnProperty(I)||B&&B.hasOwnProperty(I)||(s||(s={}),s[I]="");for(I in B)B.hasOwnProperty(I)&&L[I]!==B[I]&&(s||(s={}),s[I]=B[I])}else s||(C||(C=[]),C.push(ne,s)),s=B;else ne==="dangerouslySetInnerHTML"?(B=B?B.__html:void 0,L=L?L.__html:void 0,B!=null&&L!==B&&(C=C||[]).push(ne,B)):ne==="children"?typeof B!="string"&&typeof B!="number"||(C=C||[]).push(ne,""+B):ne!=="suppressContentEditableWarning"&&ne!=="suppressHydrationWarning"&&(d.hasOwnProperty(ne)?(B!=null&&ne==="onScroll"&&gn("scroll",n),C||L===B||(C=[])):(C=C||[]).push(ne,B))}s&&(C=C||[]).push("style",s);var ne=C;(a.updateQueue=ne)&&(a.flags|=4)}},fa=function(n,a,s,p){s!==p&&(a.flags|=4)};function _n(n,a){if(!En)switch(n.tailMode){case"hidden":a=n.tail;for(var s=null;a!==null;)a.alternate!==null&&(s=a),a=a.sibling;s===null?n.tail=null:s.sibling=null;break;case"collapsed":s=n.tail;for(var p=null;s!==null;)s.alternate!==null&&(p=s),s=s.sibling;p===null?a||n.tail===null?n.tail=null:n.tail.sibling=null:p.sibling=null}}function _r(n){var a=n.alternate!==null&&n.alternate.child===n.child,s=0,p=0;if(a)for(var g=n.child;g!==null;)s|=g.lanes|g.childLanes,p|=g.subtreeFlags&14680064,p|=g.flags&14680064,g.return=n,g=g.sibling;else for(g=n.child;g!==null;)s|=g.lanes|g.childLanes,p|=g.subtreeFlags,p|=g.flags,g.return=n,g=g.sibling;return n.subtreeFlags|=p,n.childLanes=s,a}function E1(n,a,s){var p=a.pendingProps;switch(fh(a),a.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return _r(a),null;case 1:return An(a.type)&&aa(),_r(a),null;case 3:return p=a.stateNode,rs(),$t(Vn),$t(yt),yh(),p.pendingContext&&(p.context=p.pendingContext,p.pendingContext=null),(n===null||n.child===null)&&(zf(a)?a.flags|=4:n===null||n.memoizedState.isDehydrated&&!(a.flags&256)||(a.flags|=1024,ua!==null&&(kh(ua),ua=null))),ds(n,a),_r(a),null;case 5:gh(a);var g=Ku(Cc.current);if(s=a.type,n!==null&&a.stateNode!=null)ps(n,a,s,p,g),n.ref!==a.ref&&(a.flags|=512,a.flags|=2097152);else{if(!p){if(a.stateNode===null)throw Error(u(166));return _r(a),null}if(n=Ku(Oa.current),zf(a)){p=a.stateNode,s=a.type;var C=a.memoizedProps;switch(p[Ua]=a,p[Yu]=C,n=(a.mode&1)!==0,s){case"dialog":gn("cancel",p),gn("close",p);break;case"iframe":case"object":case"embed":gn("load",p);break;case"video":case"audio":for(g=0;g<fc.length;g++)gn(fc[g],p);break;case"source":gn("error",p);break;case"img":case"image":case"link":gn("error",p),gn("load",p);break;case"details":gn("toggle",p);break;case"input":wn(p,C),gn("invalid",p);break;case"select":p._wrapperState={wasMultiple:!!C.multiple},gn("invalid",p);break;case"textarea":kr(p,C),gn("invalid",p)}Un(s,C),g=null;for(var I in C)if(C.hasOwnProperty(I)){var L=C[I];I==="children"?typeof L=="string"?p.textContent!==L&&(C.suppressHydrationWarning!==!0&&Nf(p.textContent,L,n),g=["children",L]):typeof L=="number"&&p.textContent!==""+L&&(C.suppressHydrationWarning!==!0&&Nf(p.textContent,L,n),g=["children",""+L]):d.hasOwnProperty(I)&&L!=null&&I==="onScroll"&&gn("scroll",p)}switch(s){case"input":Gn(p),ci(p,C,!0);break;case"textarea":Gn(p),br(p);break;case"select":case"option":break;default:typeof C.onClick=="function"&&(p.onclick=Pf)}p=g,a.updateQueue=p,p!==null&&(a.flags|=4)}else{I=g.nodeType===9?g:g.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=pi(s)),n==="http://www.w3.org/1999/xhtml"?s==="script"?(n=I.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild)):typeof p.is=="string"?n=I.createElement(s,{is:p.is}):(n=I.createElement(s),s==="select"&&(I=n,p.multiple?I.multiple=!0:p.size&&(I.size=p.size))):n=I.createElementNS(n,s),n[Ua]=a,n[Yu]=p,Za(n,a,!1,!1),a.stateNode=n;e:{switch(I=On(s,p),s){case"dialog":gn("cancel",n),gn("close",n),g=p;break;case"iframe":case"object":case"embed":gn("load",n),g=p;break;case"video":case"audio":for(g=0;g<fc.length;g++)gn(fc[g],n);g=p;break;case"source":gn("error",n),g=p;break;case"img":case"image":case"link":gn("error",n),gn("load",n),g=p;break;case"details":gn("toggle",n),g=p;break;case"input":wn(n,p),g=yn(n,p),gn("invalid",n);break;case"option":g=p;break;case"select":n._wrapperState={wasMultiple:!!p.multiple},g=xe({},p,{value:void 0}),gn("invalid",n);break;case"textarea":kr(n,p),g=di(n,p),gn("invalid",n);break;default:g=p}Un(s,g),L=g;for(C in L)if(L.hasOwnProperty(C)){var B=L[C];C==="style"?Yt(n,B):C==="dangerouslySetInnerHTML"?(B=B?B.__html:void 0,B!=null&&Va(n,B)):C==="children"?typeof B=="string"?(s!=="textarea"||B!=="")&&Ni(n,B):typeof B=="number"&&Ni(n,""+B):C!=="suppressContentEditableWarning"&&C!=="suppressHydrationWarning"&&C!=="autoFocus"&&(d.hasOwnProperty(C)?B!=null&&C==="onScroll"&&gn("scroll",n):B!=null&&z(n,C,B,I))}switch(s){case"input":Gn(n),ci(n,p,!1);break;case"textarea":Gn(n),br(n);break;case"option":p.value!=null&&n.setAttribute("value",""+lt(p.value));break;case"select":n.multiple=!!p.multiple,C=p.value,C!=null?Or(n,!!p.multiple,C,!1):p.defaultValue!=null&&Or(n,!!p.multiple,p.defaultValue,!0);break;default:typeof g.onClick=="function"&&(n.onclick=Pf)}switch(s){case"button":case"input":case"select":case"textarea":p=!!p.autoFocus;break e;case"img":p=!0;break e;default:p=!1}}p&&(a.flags|=4)}a.ref!==null&&(a.flags|=512,a.flags|=2097152)}return _r(a),null;case 6:if(n&&a.stateNode!=null)fa(n,a,n.memoizedProps,p);else{if(typeof p!="string"&&a.stateNode===null)throw Error(u(166));if(s=Ku(Cc.current),Ku(Oa.current),zf(a)){if(p=a.stateNode,s=a.memoizedProps,p[Ua]=a,(C=p.nodeValue!==s)&&(n=zi,n!==null))switch(n.tag){case 3:Nf(p.nodeValue,s,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&Nf(p.nodeValue,s,(n.mode&1)!==0)}C&&(a.flags|=4)}else p=(s.nodeType===9?s:s.ownerDocument).createTextNode(p),p[Ua]=a,a.stateNode=p}return _r(a),null;case 13:if($t(In),p=a.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(En&&xi!==null&&a.mode&1&&!(a.flags&128))cg(),Ln(),a.flags|=98560,C=!1;else if(C=zf(a),p!==null&&p.dehydrated!==null){if(n===null){if(!C)throw Error(u(318));if(C=a.memoizedState,C=C!==null?C.dehydrated:null,!C)throw Error(u(317));C[Ua]=a}else Ln(),!(a.flags&128)&&(a.memoizedState=null),a.flags|=4;_r(a),C=!1}else ua!==null&&(kh(ua),ua=null),C=!0;if(!C)return a.flags&65536?a:null}return a.flags&128?(a.lanes=s,a):(p=p!==null,p!==(n!==null&&n.memoizedState!==null)&&p&&(a.child.flags|=8192,a.mode&1&&(n===null||In.current&1?ar===0&&(ar=3):Pc())),a.updateQueue!==null&&(a.flags|=4),_r(a),null);case 4:return rs(),ds(n,a),n===null&&Jl(a.stateNode.containerInfo),_r(a),null;case 10:return hh(a.type._context),_r(a),null;case 17:return An(a.type)&&aa(),_r(a),null;case 19:if($t(In),C=a.memoizedState,C===null)return _r(a),null;if(p=(a.flags&128)!==0,I=C.rendering,I===null)if(p)_n(C,!1);else{if(ar!==0||n!==null&&n.flags&128)for(n=a.child;n!==null;){if(I=Xf(n),I!==null){for(a.flags|=128,_n(C,!1),p=I.updateQueue,p!==null&&(a.updateQueue=p,a.flags|=4),a.subtreeFlags=0,p=s,s=a.child;s!==null;)C=s,n=p,C.flags&=14680066,I=C.alternate,I===null?(C.childLanes=0,C.lanes=n,C.child=null,C.subtreeFlags=0,C.memoizedProps=null,C.memoizedState=null,C.updateQueue=null,C.dependencies=null,C.stateNode=null):(C.childLanes=I.childLanes,C.lanes=I.lanes,C.child=I.child,C.subtreeFlags=0,C.deletions=null,C.memoizedProps=I.memoizedProps,C.memoizedState=I.memoizedState,C.updateQueue=I.updateQueue,C.type=I.type,n=I.dependencies,C.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),s=s.sibling;return tn(In,In.current&1|2),a.child}n=n.sibling}C.tail!==null&&jt()>Es&&(a.flags|=128,p=!0,_n(C,!1),a.lanes=4194304)}else{if(!p)if(n=Xf(I),n!==null){if(a.flags|=128,p=!0,s=n.updateQueue,s!==null&&(a.updateQueue=s,a.flags|=4),_n(C,!0),C.tail===null&&C.tailMode==="hidden"&&!I.alternate&&!En)return _r(a),null}else 2*jt()-C.renderingStartTime>Es&&s!==1073741824&&(a.flags|=128,p=!0,_n(C,!1),a.lanes=4194304);C.isBackwards?(I.sibling=a.child,a.child=I):(s=C.last,s!==null?s.sibling=I:a.child=I,C.last=I)}return C.tail!==null?(a=C.tail,C.rendering=a,C.tail=a.sibling,C.renderingStartTime=jt(),a.sibling=null,s=In.current,tn(In,p?s&1|2:s&1),a):(_r(a),null);case 22:case 23:return Rd(),p=a.memoizedState!==null,n!==null&&n.memoizedState!==null!==p&&(a.flags|=8192),p&&a.mode&1?Ai&1073741824&&(_r(a),a.subtreeFlags&6&&(a.flags|=8192)):_r(a),null;case 24:return null;case 25:return null}throw Error(u(156,a.tag))}function T1(n,a){switch(fh(a),a.tag){case 1:return An(a.type)&&aa(),n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 3:return rs(),$t(Vn),$t(yt),yh(),n=a.flags,n&65536&&!(n&128)?(a.flags=n&-65537|128,a):null;case 5:return gh(a),null;case 13:if($t(In),n=a.memoizedState,n!==null&&n.dehydrated!==null){if(a.alternate===null)throw Error(u(340));Ln()}return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 19:return $t(In),null;case 4:return rs(),null;case 10:return hh(a.type._context),null;case 22:case 23:return Rd(),null;case 24:return null;default:return null}}var hs=!1,xr=!1,vd=typeof WeakSet=="function"?WeakSet:Set,_e=null;function vs(n,a){var s=n.ref;if(s!==null)if(typeof s=="function")try{s(null)}catch(p){zn(n,a,p)}else s.current=null}function wh(n,a,s){try{s()}catch(p){zn(n,a,p)}}var md=!1;function R1(n,a){if(rh=ta,n=Df(),vo(n)){if("selectionStart"in n)var s={start:n.selectionStart,end:n.selectionEnd};else e:{s=(s=n.ownerDocument)&&s.defaultView||window;var p=s.getSelection&&s.getSelection();if(p&&p.rangeCount!==0){s=p.anchorNode;var g=p.anchorOffset,C=p.focusNode;p=p.focusOffset;try{s.nodeType,C.nodeType}catch{s=null;break e}var I=0,L=-1,B=-1,ne=0,me=0,ge=n,he=null;t:for(;;){for(var ke;ge!==s||g!==0&&ge.nodeType!==3||(L=I+g),ge!==C||p!==0&&ge.nodeType!==3||(B=I+p),ge.nodeType===3&&(I+=ge.nodeValue.length),(ke=ge.firstChild)!==null;)he=ge,ge=ke;for(;;){if(ge===n)break t;if(he===s&&++ne===g&&(L=I),he===C&&++me===p&&(B=I),(ke=ge.nextSibling)!==null)break;ge=he,he=ge.parentNode}ge=ke}s=L===-1||B===-1?null:{start:L,end:B}}else s=null}s=s||{start:0,end:0}}else s=null;for(Xu={focusedElem:n,selectionRange:s},ta=!1,_e=a;_e!==null;)if(a=_e,n=a.child,(a.subtreeFlags&1028)!==0&&n!==null)n.return=a,_e=n;else for(;_e!==null;){a=_e;try{var Ge=a.alternate;if(a.flags&1024)switch(a.tag){case 0:case 11:case 15:break;case 1:if(Ge!==null){var Xe=Ge.memoizedProps,Zn=Ge.memoizedState,$=a.stateNode,U=$.getSnapshotBeforeUpdate(a.elementType===a.type?Xe:Ti(a.type,Xe),Zn);$.__reactInternalSnapshotBeforeUpdate=U}break;case 3:var K=a.stateNode.containerInfo;K.nodeType===1?K.textContent="":K.nodeType===9&&K.documentElement&&K.removeChild(K.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(u(163))}}catch(Se){zn(a,a.return,Se)}if(n=a.sibling,n!==null){n.return=a.return,_e=n;break}_e=a.return}return Ge=md,md=!1,Ge}function ms(n,a,s){var p=a.updateQueue;if(p=p!==null?p.lastEffect:null,p!==null){var g=p=p.next;do{if((g.tag&n)===n){var C=g.destroy;g.destroy=void 0,C!==void 0&&wh(a,s,C)}g=g.next}while(g!==p)}}function gd(n,a){if(a=a.updateQueue,a=a!==null?a.lastEffect:null,a!==null){var s=a=a.next;do{if((s.tag&n)===n){var p=s.create;s.destroy=p()}s=s.next}while(s!==a)}}function yd(n){var a=n.ref;if(a!==null){var s=n.stateNode;switch(n.tag){case 5:n=s;break;default:n=s}typeof a=="function"?a(n):a.current=n}}function Dg(n){var a=n.alternate;a!==null&&(n.alternate=null,Dg(a)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(a=n.stateNode,a!==null&&(delete a[Ua],delete a[Yu],delete a[oh],delete a[b1],delete a[uh])),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function Ah(n){return n.tag===5||n.tag===3||n.tag===4}function Mg(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||Ah(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Oc(n,a,s){var p=n.tag;if(p===5||p===6)n=n.stateNode,a?s.nodeType===8?s.parentNode.insertBefore(n,a):s.insertBefore(n,a):(s.nodeType===8?(a=s.parentNode,a.insertBefore(n,s)):(a=s,a.appendChild(n)),s=s._reactRootContainer,s!=null||a.onclick!==null||(a.onclick=Pf));else if(p!==4&&(n=n.child,n!==null))for(Oc(n,a,s),n=n.sibling;n!==null;)Oc(n,a,s),n=n.sibling}function gs(n,a,s){var p=n.tag;if(p===5||p===6)n=n.stateNode,a?s.insertBefore(n,a):s.appendChild(n);else if(p!==4&&(n=n.child,n!==null))for(gs(n,a,s),n=n.sibling;n!==null;)gs(n,a,s),n=n.sibling}var Dn=null,vr=!1;function Qr(n,a,s){for(s=s.child;s!==null;)ys(n,a,s),s=s.sibling}function ys(n,a,s){if(hi&&typeof hi.onCommitFiberUnmount=="function")try{hi.onCommitFiberUnmount(Zo,s)}catch{}switch(s.tag){case 5:xr||vs(s,a);case 6:var p=Dn,g=vr;Dn=null,Qr(n,a,s),Dn=p,vr=g,Dn!==null&&(vr?(n=Dn,s=s.stateNode,n.nodeType===8?n.parentNode.removeChild(s):n.removeChild(s)):Dn.removeChild(s.stateNode));break;case 18:Dn!==null&&(vr?(n=Dn,s=s.stateNode,n.nodeType===8?iu(n.parentNode,s):n.nodeType===1&&iu(n,s),eu(n)):iu(Dn,s.stateNode));break;case 4:p=Dn,g=vr,Dn=s.stateNode.containerInfo,vr=!0,Qr(n,a,s),Dn=p,vr=g;break;case 0:case 11:case 14:case 15:if(!xr&&(p=s.updateQueue,p!==null&&(p=p.lastEffect,p!==null))){g=p=p.next;do{var C=g,I=C.destroy;C=C.tag,I!==void 0&&(C&2||C&4)&&wh(s,a,I),g=g.next}while(g!==p)}Qr(n,a,s);break;case 1:if(!xr&&(vs(s,a),p=s.stateNode,typeof p.componentWillUnmount=="function"))try{p.props=s.memoizedProps,p.state=s.memoizedState,p.componentWillUnmount()}catch(L){zn(s,a,L)}Qr(n,a,s);break;case 21:Qr(n,a,s);break;case 22:s.mode&1?(xr=(p=xr)||s.memoizedState!==null,Qr(n,a,s),xr=p):Qr(n,a,s);break;default:Qr(n,a,s)}}function bs(n){var a=n.updateQueue;if(a!==null){n.updateQueue=null;var s=n.stateNode;s===null&&(s=n.stateNode=new vd),a.forEach(function(p){var g=k1.bind(null,n,p);s.has(p)||(s.add(p),p.then(g,g))})}}function mr(n,a){var s=a.deletions;if(s!==null)for(var p=0;p<s.length;p++){var g=s[p];try{var C=n,I=a,L=I;e:for(;L!==null;){switch(L.tag){case 5:Dn=L.stateNode,vr=!1;break e;case 3:Dn=L.stateNode.containerInfo,vr=!0;break e;case 4:Dn=L.stateNode.containerInfo,vr=!0;break e}L=L.return}if(Dn===null)throw Error(u(160));ys(C,I,g),Dn=null,vr=!1;var B=g.alternate;B!==null&&(B.return=null),g.return=null}catch(ne){zn(g,a,ne)}}if(a.subtreeFlags&12854)for(a=a.child;a!==null;)Og(a,n),a=a.sibling}function Og(n,a){var s=n.alternate,p=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(mr(a,n),Ya(n),p&4){try{ms(3,n,n.return),gd(3,n)}catch(Xe){zn(n,n.return,Xe)}try{ms(5,n,n.return)}catch(Xe){zn(n,n.return,Xe)}}break;case 1:mr(a,n),Ya(n),p&512&&s!==null&&vs(s,s.return);break;case 5:if(mr(a,n),Ya(n),p&512&&s!==null&&vs(s,s.return),n.flags&32){var g=n.stateNode;try{Ni(g,"")}catch(Xe){zn(n,n.return,Xe)}}if(p&4&&(g=n.stateNode,g!=null)){var C=n.memoizedProps,I=s!==null?s.memoizedProps:C,L=n.type,B=n.updateQueue;if(n.updateQueue=null,B!==null)try{L==="input"&&C.type==="radio"&&C.name!=null&&Jn(g,C),On(L,I);var ne=On(L,C);for(I=0;I<B.length;I+=2){var me=B[I],ge=B[I+1];me==="style"?Yt(g,ge):me==="dangerouslySetInnerHTML"?Va(g,ge):me==="children"?Ni(g,ge):z(g,me,ge,ne)}switch(L){case"input":jn(g,C);break;case"textarea":Li(g,C);break;case"select":var he=g._wrapperState.wasMultiple;g._wrapperState.wasMultiple=!!C.multiple;var ke=C.value;ke!=null?Or(g,!!C.multiple,ke,!1):he!==!!C.multiple&&(C.defaultValue!=null?Or(g,!!C.multiple,C.defaultValue,!0):Or(g,!!C.multiple,C.multiple?[]:"",!1))}g[Yu]=C}catch(Xe){zn(n,n.return,Xe)}}break;case 6:if(mr(a,n),Ya(n),p&4){if(n.stateNode===null)throw Error(u(162));g=n.stateNode,C=n.memoizedProps;try{g.nodeValue=C}catch(Xe){zn(n,n.return,Xe)}}break;case 3:if(mr(a,n),Ya(n),p&4&&s!==null&&s.memoizedState.isDehydrated)try{eu(a.containerInfo)}catch(Xe){zn(n,n.return,Xe)}break;case 4:mr(a,n),Ya(n);break;case 13:mr(a,n),Ya(n),g=n.child,g.flags&8192&&(C=g.memoizedState!==null,g.stateNode.isHidden=C,!C||g.alternate!==null&&g.alternate.memoizedState!==null||(Cd=jt())),p&4&&bs(n);break;case 22:if(me=s!==null&&s.memoizedState!==null,n.mode&1?(xr=(ne=xr)||me,mr(a,n),xr=ne):mr(a,n),Ya(n),p&8192){if(ne=n.memoizedState!==null,(n.stateNode.isHidden=ne)&&!me&&n.mode&1)for(_e=n,me=n.child;me!==null;){for(ge=_e=me;_e!==null;){switch(he=_e,ke=he.child,he.tag){case 0:case 11:case 14:case 15:ms(4,he,he.return);break;case 1:vs(he,he.return);var Ge=he.stateNode;if(typeof Ge.componentWillUnmount=="function"){p=he,s=he.return;try{a=p,Ge.props=a.memoizedProps,Ge.state=a.memoizedState,Ge.componentWillUnmount()}catch(Xe){zn(p,s,Xe)}}break;case 5:vs(he,he.return);break;case 22:if(he.memoizedState!==null){kg(ge);continue}}ke!==null?(ke.return=he,_e=ke):kg(ge)}me=me.sibling}e:for(me=null,ge=n;;){if(ge.tag===5){if(me===null){me=ge;try{g=ge.stateNode,ne?(C=g.style,typeof C.setProperty=="function"?C.setProperty("display","none","important"):C.display="none"):(L=ge.stateNode,B=ge.memoizedProps.style,I=B!=null&&B.hasOwnProperty("display")?B.display:null,L.style.display=It("display",I))}catch(Xe){zn(n,n.return,Xe)}}}else if(ge.tag===6){if(me===null)try{ge.stateNode.nodeValue=ne?"":ge.memoizedProps}catch(Xe){zn(n,n.return,Xe)}}else if((ge.tag!==22&&ge.tag!==23||ge.memoizedState===null||ge===n)&&ge.child!==null){ge.child.return=ge,ge=ge.child;continue}if(ge===n)break e;for(;ge.sibling===null;){if(ge.return===null||ge.return===n)break e;me===ge&&(me=null),ge=ge.return}me===ge&&(me=null),ge.sibling.return=ge.return,ge=ge.sibling}}break;case 19:mr(a,n),Ya(n),p&4&&bs(n);break;case 21:break;default:mr(a,n),Ya(n)}}function Ya(n){var a=n.flags;if(a&2){try{e:{for(var s=n.return;s!==null;){if(Ah(s)){var p=s;break e}s=s.return}throw Error(u(160))}switch(p.tag){case 5:var g=p.stateNode;p.flags&32&&(Ni(g,""),p.flags&=-33);var C=Mg(n);gs(n,C,g);break;case 3:case 4:var I=p.stateNode.containerInfo,L=Mg(n);Oc(n,L,I);break;default:throw Error(u(161))}}catch(B){zn(n,n.return,B)}n.flags&=-3}a&4096&&(n.flags&=-4097)}function w1(n,a,s){_e=n,Ih(n)}function Ih(n,a,s){for(var p=(n.mode&1)!==0;_e!==null;){var g=_e,C=g.child;if(g.tag===22&&p){var I=g.memoizedState!==null||hs;if(!I){var L=g.alternate,B=L!==null&&L.memoizedState!==null||xr;L=hs;var ne=xr;if(hs=I,(xr=B)&&!ne)for(_e=g;_e!==null;)I=_e,B=I.child,I.tag===22&&I.memoizedState!==null?Dh(g):B!==null?(B.return=I,_e=B):Dh(g);for(;C!==null;)_e=C,Ih(C),C=C.sibling;_e=g,hs=L,xr=ne}Cs(n)}else g.subtreeFlags&8772&&C!==null?(C.return=g,_e=C):Cs(n)}}function Cs(n){for(;_e!==null;){var a=_e;if(a.flags&8772){var s=a.alternate;try{if(a.flags&8772)switch(a.tag){case 0:case 11:case 15:xr||gd(5,a);break;case 1:var p=a.stateNode;if(a.flags&4&&!xr)if(s===null)p.componentDidMount();else{var g=a.elementType===a.type?s.memoizedProps:Ti(a.type,s.memoizedProps);p.componentDidUpdate(g,s.memoizedState,p.__reactInternalSnapshotBeforeUpdate)}var C=a.updateQueue;C!==null&&vg(a,C,p);break;case 3:var I=a.updateQueue;if(I!==null){if(s=null,a.child!==null)switch(a.child.tag){case 5:s=a.child.stateNode;break;case 1:s=a.child.stateNode}vg(a,I,s)}break;case 5:var L=a.stateNode;if(s===null&&a.flags&4){s=L;var B=a.memoizedProps;switch(a.type){case"button":case"input":case"select":case"textarea":B.autoFocus&&s.focus();break;case"img":B.src&&(s.src=B.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(a.memoizedState===null){var ne=a.alternate;if(ne!==null){var me=ne.memoizedState;if(me!==null){var ge=me.dehydrated;ge!==null&&eu(ge)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(u(163))}xr||a.flags&512&&yd(a)}catch(he){zn(a,a.return,he)}}if(a===n){_e=null;break}if(s=a.sibling,s!==null){s.return=a.return,_e=s;break}_e=a.return}}function kg(n){for(;_e!==null;){var a=_e;if(a===n){_e=null;break}var s=a.sibling;if(s!==null){s.return=a.return,_e=s;break}_e=a.return}}function Dh(n){for(;_e!==null;){var a=_e;try{switch(a.tag){case 0:case 11:case 15:var s=a.return;try{gd(4,a)}catch(B){zn(a,s,B)}break;case 1:var p=a.stateNode;if(typeof p.componentDidMount=="function"){var g=a.return;try{p.componentDidMount()}catch(B){zn(a,g,B)}}var C=a.return;try{yd(a)}catch(B){zn(a,C,B)}break;case 5:var I=a.return;try{yd(a)}catch(B){zn(a,I,B)}}}catch(B){zn(a,a.return,B)}if(a===n){_e=null;break}var L=a.sibling;if(L!==null){L.return=a.return,_e=L;break}_e=a.return}}var A1=Math.ceil,ol=q.ReactCurrentDispatcher,bd=q.ReactCurrentOwner,da=q.ReactCurrentBatchConfig,Nt=0,Bn=null,Tn=null,ir=0,Ai=0,Ss=At(0),ar=0,kc=null,ul=0,xs=0,Mh=0,hu=null,Br=null,Cd=0,Es=1/0,To=null,Sd=!1,Oh=null,pa=null,Ts=!1,ha=null,xd=0,Lc=0,Ed=null,Nc=-1,ll=0;function gr(){return Nt&6?jt():Nc!==-1?Nc:Nc=jt()}function Ro(n){return n.mode&1?Nt&2&&ir!==0?ir&-ir:Hf.transition!==null?(ll===0&&(ll=Fl()),ll):(n=Ut,n!==0||(n=window.event,n=n===void 0?16:nc(n.type)),n):1}function Nn(n,a,s,p){if(50<Lc)throw Lc=0,Ed=null,Error(u(185));lo(n,s,p),(!(Nt&2)||n!==Bn)&&(n===Bn&&(!(Nt&2)&&(xs|=s),ar===4&&$a(n,ir)),or(n,p),s===1&&Nt===0&&!(a.mode&1)&&(Es=jt()+500,hr&&bi()))}function or(n,a){var s=n.callbackNode;Jo(n,a);var p=$r(n,n===Bn?ir:0);if(p===0)s!==null&&Sn(s),n.callbackNode=null,n.callbackPriority=0;else if(a=p&-p,n.callbackPriority!==a){if(s!=null&&Sn(s),a===1)n.tag===0?sh(Rs.bind(null,n)):lh(Rs.bind(null,n)),ah(function(){!(Nt&6)&&bi()}),s=null;else{switch(_l(p)){case 1:s=Zr;break;case 4:s=Mt;break;case 16:s=qi;break;case 536870912:s=Nl;break;default:s=qi}s=zg(s,Td.bind(null,n))}n.callbackPriority=a,n.callbackNode=s}}function Td(n,a){if(Nc=-1,ll=0,Nt&6)throw Error(u(327));var s=n.callbackNode;if(ws()&&n.callbackNode!==s)return null;var p=$r(n,n===Bn?ir:0);if(p===0)return null;if(p&30||p&n.expiredLanes||a)a=wd(n,p);else{a=p;var g=Nt;Nt|=2;var C=Ng();(Bn!==n||ir!==a)&&(To=null,Es=jt()+500,cl(n,a));do try{D1();break}catch(L){Lg(n,L)}while(!0);Hi(),ol.current=C,Nt=g,Tn!==null?a=0:(Bn=null,ir=0,a=ar)}if(a!==0){if(a===2&&(g=Qo(n),g!==0&&(p=g,a=sl(n,g))),a===1)throw s=kc,cl(n,0),$a(n,p),or(n,jt()),s;if(a===6)$a(n,p);else{if(g=n.current.alternate,!(p&30)&&!Lh(g)&&(a=wd(n,p),a===2&&(C=Qo(n),C!==0&&(p=C,a=sl(n,C))),a===1))throw s=kc,cl(n,0),$a(n,p),or(n,jt()),s;switch(n.finishedWork=g,n.finishedLanes=p,a){case 0:case 1:throw Error(u(345));case 2:vu(n,Br,To);break;case 3:if($a(n,p),(p&130023424)===p&&(a=Cd+500-jt(),10<a)){if($r(n,0)!==0)break;if(g=n.suspendedLanes,(g&p)!==p){gr(),n.pingedLanes|=n.suspendedLanes&g;break}n.timeoutHandle=Zu(vu.bind(null,n,Br,To),a);break}vu(n,Br,To);break;case 4:if($a(n,p),(p&4194240)===p)break;for(a=n.eventTimes,g=-1;0<p;){var I=31-Yr(p);C=1<<I,I=a[I],I>g&&(g=I),p&=~C}if(p=g,p=jt()-p,p=(120>p?120:480>p?480:1080>p?1080:1920>p?1920:3e3>p?3e3:4320>p?4320:1960*A1(p/1960))-p,10<p){n.timeoutHandle=Zu(vu.bind(null,n,Br,To),p);break}vu(n,Br,To);break;case 5:vu(n,Br,To);break;default:throw Error(u(329))}}}return or(n,jt()),n.callbackNode===s?Td.bind(null,n):null}function sl(n,a){var s=hu;return n.current.memoizedState.isDehydrated&&(cl(n,a).flags|=256),n=wd(n,a),n!==2&&(a=Br,Br=s,a!==null&&kh(a)),n}function kh(n){Br===null?Br=n:Br.push.apply(Br,n)}function Lh(n){for(var a=n;;){if(a.flags&16384){var s=a.updateQueue;if(s!==null&&(s=s.stores,s!==null))for(var p=0;p<s.length;p++){var g=s[p],C=g.getSnapshot;g=g.value;try{if(!na(C(),g))return!1}catch{return!1}}}if(s=a.child,a.subtreeFlags&16384&&s!==null)s.return=a,a=s;else{if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function $a(n,a){for(a&=~Mh,a&=~xs,n.suspendedLanes|=a,n.pingedLanes&=~a,n=n.expirationTimes;0<a;){var s=31-Yr(a),p=1<<s;n[s]=-1,a&=~p}}function Rs(n){if(Nt&6)throw Error(u(327));ws();var a=$r(n,0);if(!(a&1))return or(n,jt()),null;var s=wd(n,a);if(n.tag!==0&&s===2){var p=Qo(n);p!==0&&(a=p,s=sl(n,p))}if(s===1)throw s=kc,cl(n,0),$a(n,a),or(n,jt()),s;if(s===6)throw Error(u(345));return n.finishedWork=n.current.alternate,n.finishedLanes=a,vu(n,Br,To),or(n,jt()),null}function Nh(n,a){var s=Nt;Nt|=1;try{return n(a)}finally{Nt=s,Nt===0&&(Es=jt()+500,hr&&bi())}}function Ja(n){ha!==null&&ha.tag===0&&!(Nt&6)&&ws();var a=Nt;Nt|=1;var s=da.transition,p=Ut;try{if(da.transition=null,Ut=1,n)return n()}finally{Ut=p,da.transition=s,Nt=a,!(Nt&6)&&bi()}}function Rd(){Ai=Ss.current,$t(Ss)}function cl(n,a){n.finishedWork=null,n.finishedLanes=0;var s=n.timeoutHandle;if(s!==-1&&(n.timeoutHandle=-1,og(s)),Tn!==null)for(s=Tn.return;s!==null;){var p=s;switch(fh(p),p.tag){case 1:p=p.type.childContextTypes,p!=null&&aa();break;case 3:rs(),$t(Vn),$t(yt),yh();break;case 5:gh(p);break;case 4:rs();break;case 13:$t(In);break;case 19:$t(In);break;case 10:hh(p.type._context);break;case 22:case 23:Rd()}s=s.return}if(Bn=n,Tn=n=mu(n.current,null),ir=Ai=a,ar=0,kc=null,Mh=xs=ul=0,Br=hu=null,Qu!==null){for(a=0;a<Qu.length;a++)if(s=Qu[a],p=s.interleaved,p!==null){s.interleaved=null;var g=p.next,C=s.pending;if(C!==null){var I=C.next;C.next=g,p.next=I}s.pending=p}Qu=null}return n}function Lg(n,a){do{var s=Tn;try{if(Hi(),Yf.current=Vr,Gi){for(var p=Qe.memoizedState;p!==null;){var g=p.queue;g!==null&&(g.pending=null),p=p.next}Gi=!1}if(Ye=0,kt=bt=Qe=null,is=!1,xc=0,bd.current=null,s===null||s.return===null){ar=1,kc=a,Tn=null;break}e:{var C=n,I=s.return,L=s,B=a;if(a=ir,L.flags|=32768,B!==null&&typeof B=="object"&&typeof B.then=="function"){var ne=B,me=L,ge=me.tag;if(!(me.mode&1)&&(ge===0||ge===11||ge===15)){var he=me.alternate;he?(me.updateQueue=he.updateQueue,me.memoizedState=he.memoizedState,me.lanes=he.lanes):(me.updateQueue=null,me.memoizedState=null)}var ke=Tg(I);if(ke!==null){ke.flags&=-257,Eh(ke,I,L,C,a),ke.mode&1&&Ac(C,ne,a),a=ke,B=ne;var Ge=a.updateQueue;if(Ge===null){var Xe=new Set;Xe.add(B),a.updateQueue=Xe}else Ge.add(B);break e}else{if(!(a&1)){Ac(C,ne,a),Pc();break e}B=Error(u(426))}}else if(En&&L.mode&1){var Zn=Tg(I);if(Zn!==null){!(Zn.flags&65536)&&(Zn.flags|=256),Eh(Zn,I,L,C,a),ph(du(B,L));break e}}C=B=du(B,L),ar!==4&&(ar=2),hu===null?hu=[C]:hu.push(C),C=I;do{switch(C.tag){case 3:C.flags|=65536,a&=-a,C.lanes|=a;var $=xg(C,B,a);hg(C,$);break e;case 1:L=B;var U=C.type,K=C.stateNode;if(!(C.flags&128)&&(typeof U.getDerivedStateFromError=="function"||K!==null&&typeof K.componentDidCatch=="function"&&(pa===null||!pa.has(K)))){C.flags|=65536,a&=-a,C.lanes|=a;var Se=Eg(C,L,a);hg(C,Se);break e}}C=C.return}while(C!==null)}Fg(s)}catch($e){a=$e,Tn===s&&s!==null&&(Tn=s=s.return);continue}break}while(!0)}function Ng(){var n=ol.current;return ol.current=Vr,n===null?Vr:n}function Pc(){(ar===0||ar===3||ar===2)&&(ar=4),Bn===null||!(ul&268435455)&&!(xs&268435455)||$a(Bn,ir)}function wd(n,a){var s=Nt;Nt|=2;var p=Ng();(Bn!==n||ir!==a)&&(To=null,cl(n,a));do try{I1();break}catch(g){Lg(n,g)}while(!0);if(Hi(),Nt=s,ol.current=p,Tn!==null)throw Error(u(261));return Bn=null,ir=0,ar}function I1(){for(;Tn!==null;)Pg(Tn)}function D1(){for(;Tn!==null&&!Nr();)Pg(Tn)}function Pg(n){var a=Bg(n.alternate,n,Ai);n.memoizedProps=n.pendingProps,a===null?Fg(n):Tn=a,bd.current=null}function Fg(n){var a=n;do{var s=a.alternate;if(n=a.return,a.flags&32768){if(s=T1(s,a),s!==null){s.flags&=32767,Tn=s;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{ar=6,Tn=null;return}}else if(s=E1(s,a,Ai),s!==null){Tn=s;return}if(a=a.sibling,a!==null){Tn=a;return}Tn=a=n}while(a!==null);ar===0&&(ar=5)}function vu(n,a,s){var p=Ut,g=da.transition;try{da.transition=null,Ut=1,M1(n,a,s,p)}finally{da.transition=g,Ut=p}return null}function M1(n,a,s,p){do ws();while(ha!==null);if(Nt&6)throw Error(u(327));s=n.finishedWork;var g=n.finishedLanes;if(s===null)return null;if(n.finishedWork=null,n.finishedLanes=0,s===n.current)throw Error(u(177));n.callbackNode=null,n.callbackPriority=0;var C=s.lanes|s.childLanes;if(_p(n,C),n===Bn&&(Tn=Bn=null,ir=0),!(s.subtreeFlags&2064)&&!(s.flags&2064)||Ts||(Ts=!0,zg(qi,function(){return ws(),null})),C=(s.flags&15990)!==0,s.subtreeFlags&15990||C){C=da.transition,da.transition=null;var I=Ut;Ut=1;var L=Nt;Nt|=4,bd.current=null,R1(n,s),Og(s,n),Mf(Xu),ta=!!rh,Xu=rh=null,n.current=s,w1(s),Ha(),Nt=L,Ut=I,da.transition=C}else n.current=s;if(Ts&&(Ts=!1,ha=n,xd=g),C=n.pendingLanes,C===0&&(pa=null),qs(s.stateNode),or(n,jt()),a!==null)for(p=n.onRecoverableError,s=0;s<a.length;s++)g=a[s],p(g.value,{componentStack:g.stack,digest:g.digest});if(Sd)throw Sd=!1,n=Oh,Oh=null,n;return xd&1&&n.tag!==0&&ws(),C=n.pendingLanes,C&1?n===Ed?Lc++:(Lc=0,Ed=n):Lc=0,bi(),null}function ws(){if(ha!==null){var n=_l(xd),a=da.transition,s=Ut;try{if(da.transition=null,Ut=16>n?16:n,ha===null)var p=!1;else{if(n=ha,ha=null,xd=0,Nt&6)throw Error(u(331));var g=Nt;for(Nt|=4,_e=n.current;_e!==null;){var C=_e,I=C.child;if(_e.flags&16){var L=C.deletions;if(L!==null){for(var B=0;B<L.length;B++){var ne=L[B];for(_e=ne;_e!==null;){var me=_e;switch(me.tag){case 0:case 11:case 15:ms(8,me,C)}var ge=me.child;if(ge!==null)ge.return=me,_e=ge;else for(;_e!==null;){me=_e;var he=me.sibling,ke=me.return;if(Dg(me),me===ne){_e=null;break}if(he!==null){he.return=ke,_e=he;break}_e=ke}}}var Ge=C.alternate;if(Ge!==null){var Xe=Ge.child;if(Xe!==null){Ge.child=null;do{var Zn=Xe.sibling;Xe.sibling=null,Xe=Zn}while(Xe!==null)}}_e=C}}if(C.subtreeFlags&2064&&I!==null)I.return=C,_e=I;else e:for(;_e!==null;){if(C=_e,C.flags&2048)switch(C.tag){case 0:case 11:case 15:ms(9,C,C.return)}var $=C.sibling;if($!==null){$.return=C.return,_e=$;break e}_e=C.return}}var U=n.current;for(_e=U;_e!==null;){I=_e;var K=I.child;if(I.subtreeFlags&2064&&K!==null)K.return=I,_e=K;else e:for(I=U;_e!==null;){if(L=_e,L.flags&2048)try{switch(L.tag){case 0:case 11:case 15:gd(9,L)}}catch($e){zn(L,L.return,$e)}if(L===I){_e=null;break e}var Se=L.sibling;if(Se!==null){Se.return=L.return,_e=Se;break e}_e=L.return}}if(Nt=g,bi(),hi&&typeof hi.onPostCommitFiberRoot=="function")try{hi.onPostCommitFiberRoot(Zo,n)}catch{}p=!0}return p}finally{Ut=s,da.transition=a}}return!1}function Vg(n,a,s){a=du(s,a),a=xg(n,a,1),n=cu(n,a,1),a=gr(),n!==null&&(lo(n,1,a),or(n,a))}function zn(n,a,s){if(n.tag===3)Vg(n,n,s);else for(;a!==null;){if(a.tag===3){Vg(a,n,s);break}else if(a.tag===1){var p=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof p.componentDidCatch=="function"&&(pa===null||!pa.has(p))){n=du(s,n),n=Eg(a,n,1),a=cu(a,n,1),n=gr(),a!==null&&(lo(a,1,n),or(a,n));break}}a=a.return}}function O1(n,a,s){var p=n.pingCache;p!==null&&p.delete(a),a=gr(),n.pingedLanes|=n.suspendedLanes&s,Bn===n&&(ir&s)===s&&(ar===4||ar===3&&(ir&130023424)===ir&&500>jt()-Cd?cl(n,0):Mh|=s),or(n,a)}function _g(n,a){a===0&&(n.mode&1?(a=Yo,Yo<<=1,!(Yo&130023424)&&(Yo=4194304)):a=1);var s=gr();n=So(n,a),n!==null&&(lo(n,a,s),or(n,s))}function Ph(n){var a=n.memoizedState,s=0;a!==null&&(s=a.retryLane),_g(n,s)}function k1(n,a){var s=0;switch(n.tag){case 13:var p=n.stateNode,g=n.memoizedState;g!==null&&(s=g.retryLane);break;case 19:p=n.stateNode;break;default:throw Error(u(314))}p!==null&&p.delete(a),_g(n,s)}var Bg;Bg=function(n,a,s){if(n!==null)if(n.memoizedProps!==a.pendingProps||Vn.current)Ri=!0;else{if(!(n.lanes&s)&&!(a.flags&128))return Ri=!1,Eo(n,a,s);Ri=!!(n.flags&131072)}else Ri=!1,En&&a.flags&1048576&&ch(a,Kl,a.index);switch(a.lanes=0,a.tag){case 2:var p=a.type;Mc(n,a),n=a.pendingProps;var g=ia(a,yt.current);es(a,s),g=pe(null,a,p,n,g,s);var C=er();return a.flags|=1,typeof g=="object"&&g!==null&&typeof g.render=="function"&&g.$$typeof===void 0?(a.tag=1,a.memoizedState=null,a.updateQueue=null,An(p)?(C=!0,Ff(a)):C=!1,a.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,jf(a),g.updater=rl,a.stateNode=g,g._reactInternals=a,Sh(a,p,n,s),a=fd(null,a,p,!0,C,s)):(a.tag=0,En&&C&&Vf(a),Wn(null,a,g,s),a=a.child),a;case 16:p=a.elementType;e:{switch(Mc(n,a),n=a.pendingProps,g=p._init,p=g(p._payload),a.type=p,g=a.tag=L1(p),n=Ti(p,n),g){case 0:a=wt(null,a,p,n,s);break e;case 1:a=Ic(null,a,p,n,s);break e;case 11:a=fs(null,a,p,n,s);break e;case 14:a=pu(null,a,p,Ti(p.type,n),s);break e}throw Error(u(306,p,""))}return a;case 0:return p=a.type,g=a.pendingProps,g=a.elementType===p?g:Ti(p,g),wt(n,a,p,g,s);case 1:return p=a.type,g=a.pendingProps,g=a.elementType===p?g:Ti(p,g),Ic(n,a,p,g,s);case 3:e:{if(x1(a),n===null)throw Error(u(387));p=a.pendingProps,C=a.memoizedState,g=C.element,ts(n,a),Wf(a,p,null,s);var I=a.memoizedState;if(p=I.element,C.isDehydrated)if(C={element:p,isDehydrated:!1,cache:I.cache,pendingSuspenseBoundaries:I.pendingSuspenseBoundaries,transitions:I.transitions},a.updateQueue.baseState=C,a.memoizedState=C,a.flags&256){g=du(Error(u(423)),a),a=wg(n,a,p,s,g);break e}else if(p!==g){g=du(Error(u(424)),a),a=wg(n,a,p,s,g);break e}else for(xi=Ma(a.stateNode.containerInfo.firstChild),zi=a,En=!0,ua=null,s=dg(a,null,p,s),a.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if(Ln(),p===g){a=Xn(n,a,s);break e}Wn(n,a,p,s)}a=a.child}return a;case 5:return mg(a),n===null&&Bf(a),p=a.type,g=a.pendingProps,C=n!==null?n.memoizedProps:null,I=g.children,hc(p,g)?I=null:C!==null&&hc(p,C)&&(a.flags|=32),il(n,a),Wn(n,a,I,s),a.child;case 6:return n===null&&Bf(a),null;case 13:return Ag(n,a,s);case 4:return mh(a,a.stateNode.containerInfo),p=a.pendingProps,n===null?a.child=ql(a,null,p,s):Wn(n,a,p,s),a.child;case 11:return p=a.type,g=a.pendingProps,g=a.elementType===p?g:Ti(p,g),fs(n,a,p,g,s);case 7:return Wn(n,a,a.pendingProps,s),a.child;case 8:return Wn(n,a,a.pendingProps.children,s),a.child;case 12:return Wn(n,a,a.pendingProps.children,s),a.child;case 10:e:{if(p=a.type._context,g=a.pendingProps,C=a.memoizedProps,I=g.value,tn(Co,p._currentValue),p._currentValue=I,C!==null)if(na(C.value,I)){if(C.children===g.children&&!Vn.current){a=Xn(n,a,s);break e}}else for(C=a.child,C!==null&&(C.return=a);C!==null;){var L=C.dependencies;if(L!==null){I=C.child;for(var B=L.firstContext;B!==null;){if(B.context===p){if(C.tag===1){B=Ei(-1,s&-s),B.tag=2;var ne=C.updateQueue;if(ne!==null){ne=ne.shared;var me=ne.pending;me===null?B.next=B:(B.next=me.next,me.next=B),ne.pending=B}}C.lanes|=s,B=C.alternate,B!==null&&(B.lanes|=s),vh(C.return,s,a),L.lanes|=s;break}B=B.next}}else if(C.tag===10)I=C.type===a.type?null:C.child;else if(C.tag===18){if(I=C.return,I===null)throw Error(u(341));I.lanes|=s,L=I.alternate,L!==null&&(L.lanes|=s),vh(I,s,a),I=C.sibling}else I=C.child;if(I!==null)I.return=C;else for(I=C;I!==null;){if(I===a){I=null;break}if(C=I.sibling,C!==null){C.return=I.return,I=C;break}I=I.return}C=I}Wn(n,a,g.children,s),a=a.child}return a;case 9:return g=a.type,p=a.pendingProps.children,es(a,s),g=sa(g),p=p(g),a.flags|=1,Wn(n,a,p,s),a.child;case 14:return p=a.type,g=Ti(p,a.pendingProps),g=Ti(p.type,g),pu(n,a,p,g,s);case 15:return cd(n,a,a.type,a.pendingProps,s);case 17:return p=a.type,g=a.pendingProps,g=a.elementType===p?g:Ti(p,g),Mc(n,a),a.tag=1,An(p)?(n=!0,Ff(a)):n=!1,es(a,s),bg(a,p,g),Sh(a,p,g,s),fd(null,a,p,!0,n,s);case 19:return Rh(n,a,s);case 22:return wi(n,a,s)}throw Error(u(156,a.tag))};function zg(n,a){return hn(n,a)}function Hg(n,a,s,p){this.tag=n,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=p,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function va(n,a,s,p){return new Hg(n,a,s,p)}function Fh(n){return n=n.prototype,!(!n||!n.isReactComponent)}function L1(n){if(typeof n=="function")return Fh(n)?1:0;if(n!=null){if(n=n.$$typeof,n===Rt)return 11;if(n===Ve)return 14}return 2}function mu(n,a){var s=n.alternate;return s===null?(s=va(n.tag,a,n.key,n.mode),s.elementType=n.elementType,s.type=n.type,s.stateNode=n.stateNode,s.alternate=n,n.alternate=s):(s.pendingProps=a,s.type=n.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=n.flags&14680064,s.childLanes=n.childLanes,s.lanes=n.lanes,s.child=n.child,s.memoizedProps=n.memoizedProps,s.memoizedState=n.memoizedState,s.updateQueue=n.updateQueue,a=n.dependencies,s.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},s.sibling=n.sibling,s.index=n.index,s.ref=n.ref,s}function Ad(n,a,s,p,g,C){var I=2;if(p=n,typeof n=="function")Fh(n)&&(I=1);else if(typeof n=="string")I=5;else e:switch(n){case le:return fl(s.children,g,C,a);case de:I=8,g|=8;break;case He:return n=va(12,s,a,g|2),n.elementType=He,n.lanes=C,n;case Be:return n=va(13,s,a,g),n.elementType=Be,n.lanes=C,n;case qe:return n=va(19,s,a,g),n.elementType=qe,n.lanes=C,n;case Te:return Id(s,g,C,a);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case We:I=10;break e;case nt:I=9;break e;case Rt:I=11;break e;case Ve:I=14;break e;case ze:I=16,p=null;break e}throw Error(u(130,n==null?n:typeof n,""))}return a=va(I,s,a,g),a.elementType=n,a.type=p,a.lanes=C,a}function fl(n,a,s,p){return n=va(7,n,p,a),n.lanes=s,n}function Id(n,a,s,p){return n=va(22,n,p,a),n.elementType=Te,n.lanes=s,n.stateNode={isHidden:!1},n}function Dd(n,a,s){return n=va(6,n,null,a),n.lanes=s,n}function Fc(n,a,s){return a=va(4,n.children!==null?n.children:[],n.key,a),a.lanes=s,a.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},a}function Vc(n,a,s,p,g){this.tag=a,this.containerInfo=n,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Vl(0),this.expirationTimes=Vl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vl(0),this.identifierPrefix=p,this.onRecoverableError=g,this.mutableSourceEagerHydrationData=null}function Vh(n,a,s,p,g,C,I,L,B){return n=new Vc(n,a,s,L,B),a===1?(a=1,C===!0&&(a|=8)):a=0,C=va(3,null,null,a),n.current=C,C.stateNode=n,C.memoizedState={element:p,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null},jf(C),n}function Gg(n,a,s){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:se,key:p==null?null:""+p,children:n,containerInfo:a,implementation:s}}function _h(n){if(!n)return Wa;n=n._reactInternals;e:{if(Je(n)!==n||n.tag!==1)throw Error(u(170));var a=n;do{switch(a.tag){case 3:a=a.stateNode.context;break e;case 1:if(An(a.type)){a=a.stateNode.__reactInternalMemoizedMergedChildContext;break e}}a=a.return}while(a!==null);throw Error(u(171))}if(n.tag===1){var s=n.type;if(An(s))return gc(n,s,a)}return a}function Bh(n,a,s,p,g,C,I,L,B){return n=Vh(s,p,!0,n,g,C,I,L,B),n.context=_h(null),s=n.current,p=gr(),g=Ro(s),C=Ei(p,g),C.callback=a??null,cu(s,C,g),n.current.lanes=g,lo(n,g,p),or(n,p),n}function Md(n,a,s,p){var g=a.current,C=gr(),I=Ro(g);return s=_h(s),a.context===null?a.context=s:a.pendingContext=s,a=Ei(C,I),a.payload={element:n},p=p===void 0?null:p,p!==null&&(a.callback=p),n=cu(g,a,I),n!==null&&(Nn(n,g,I,C),Uf(n,g,I)),I}function _c(n){if(n=n.current,!n.child)return null;switch(n.child.tag){case 5:return n.child.stateNode;default:return n.child.stateNode}}function jg(n,a){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var s=n.retryLane;n.retryLane=s!==0&&s<a?s:a}}function zh(n,a){jg(n,a),(n=n.alternate)&&jg(n,a)}function N1(){return null}var Hh=typeof reportError=="function"?reportError:function(n){console.error(n)};function Od(n){this._internalRoot=n}Bc.prototype.render=Od.prototype.render=function(n){var a=this._internalRoot;if(a===null)throw Error(u(409));Md(n,a,null,null)},Bc.prototype.unmount=Od.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var a=n.containerInfo;Ja(function(){Md(null,n,null,null)}),a[yo]=null}};function Bc(n){this._internalRoot=n}Bc.prototype.unstable_scheduleHydration=function(n){if(n){var a=zl();n={blockedOn:null,target:n,priority:a};for(var s=0;s<en.length&&a!==0&&a<en[s].priority;s++);en.splice(s,0,n),s===0&&Ef(n)}};function gu(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function kd(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function Ug(){}function P1(n,a,s,p,g){if(g){if(typeof p=="function"){var C=p;p=function(){var ne=_c(I);C.call(ne)}}var I=Bh(a,p,n,0,null,!1,!1,"",Ug);return n._reactRootContainer=I,n[yo]=I.current,Jl(n.nodeType===8?n.parentNode:n),Ja(),I}for(;g=n.lastChild;)n.removeChild(g);if(typeof p=="function"){var L=p;p=function(){var ne=_c(B);L.call(ne)}}var B=Vh(n,0,!1,null,null,!1,!1,"",Ug);return n._reactRootContainer=B,n[yo]=B.current,Jl(n.nodeType===8?n.parentNode:n),Ja(function(){Md(a,B,s,p)}),B}function Ld(n,a,s,p,g){var C=s._reactRootContainer;if(C){var I=C;if(typeof g=="function"){var L=g;g=function(){var B=_c(I);L.call(B)}}Md(a,I,n,g)}else I=P1(s,a,n,g,p);return _c(I)}Bu=function(n){switch(n.tag){case 3:var a=n.stateNode;if(a.current.memoizedState.isDehydrated){var s=Ra(a.pendingLanes);s!==0&&(Ga(a,s|1),or(a,jt()),!(Nt&6)&&(Es=jt()+500,bi()))}break;case 13:Ja(function(){var p=So(n,1);if(p!==null){var g=gr();Nn(p,n,1,g)}}),zh(n,1)}},Bl=function(n){if(n.tag===13){var a=So(n,134217728);if(a!==null){var s=gr();Nn(a,n,134217728,s)}zh(n,134217728)}},_t=function(n){if(n.tag===13){var a=Ro(n),s=So(n,a);if(s!==null){var p=gr();Nn(s,n,a,p)}zh(n,a)}},zl=function(){return Ut},Hl=function(n,a){var s=Ut;try{return Ut=n,a()}finally{Ut=s}},Wr=function(n,a,s){switch(a){case"input":if(jn(n,s),a=s.name,s.type==="radio"&&a!=null){for(s=n;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll("input[name="+JSON.stringify(""+a)+'][type="radio"]'),a=0;a<s.length;a++){var p=s[a];if(p!==n&&p.form===n.form){var g=it(p);if(!g)throw Error(u(90));Oe(p),jn(p,g)}}}break;case"textarea":Li(n,s);break;case"select":a=s.value,a!=null&&Or(n,!!s.multiple,a,!1)}},_u=Nh,Ll=Ja;var F1={usingClientEntryPoint:!1,Events:[mc,Ql,it,Ki,Uo,Nh]},zc={findFiberByHostInstance:ra,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Wg={bundleType:zc.bundleType,version:zc.version,rendererPackageName:zc.rendererPackageName,rendererConfig:zc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:q.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=Dt(n),n===null?null:n.stateNode},findFiberByHostInstance:zc.findFiberByHostInstance||N1,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 Nd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Nd.isDisabled&&Nd.supportsFiber)try{Zo=Nd.inject(Wg),hi=Nd}catch{}}return $i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=F1,$i.createPortal=function(n,a){var s=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!gu(a))throw Error(u(200));return Gg(n,a,null,s)},$i.createRoot=function(n,a){if(!gu(n))throw Error(u(299));var s=!1,p="",g=Hh;return a!=null&&(a.unstable_strictMode===!0&&(s=!0),a.identifierPrefix!==void 0&&(p=a.identifierPrefix),a.onRecoverableError!==void 0&&(g=a.onRecoverableError)),a=Vh(n,1,!1,null,null,s,!1,p,g),n[yo]=a.current,Jl(n.nodeType===8?n.parentNode:n),new Od(a)},$i.findDOMNode=function(n){if(n==null)return null;if(n.nodeType===1)return n;var a=n._reactInternals;if(a===void 0)throw typeof n.render=="function"?Error(u(188)):(n=Object.keys(n).join(","),Error(u(268,n)));return n=Dt(a),n=n===null?null:n.stateNode,n},$i.flushSync=function(n){return Ja(n)},$i.hydrate=function(n,a,s){if(!kd(a))throw Error(u(200));return Ld(null,n,a,!0,s)},$i.hydrateRoot=function(n,a,s){if(!gu(n))throw Error(u(405));var p=s!=null&&s.hydratedSources||null,g=!1,C="",I=Hh;if(s!=null&&(s.unstable_strictMode===!0&&(g=!0),s.identifierPrefix!==void 0&&(C=s.identifierPrefix),s.onRecoverableError!==void 0&&(I=s.onRecoverableError)),a=Bh(a,null,n,1,s??null,g,!1,C,I),n[yo]=a.current,Jl(n),p)for(n=0;n<p.length;n++)s=p[n],g=s._getVersion,g=g(s._source),a.mutableSourceEagerHydrationData==null?a.mutableSourceEagerHydrationData=[s,g]:a.mutableSourceEagerHydrationData.push(s,g);return new Bc(a)},$i.render=function(n,a,s){if(!kd(a))throw Error(u(200));return Ld(null,n,a,!1,s)},$i.unmountComponentAtNode=function(n){if(!kd(n))throw Error(u(40));return n._reactRootContainer?(Ja(function(){Ld(null,null,n,!1,function(){n._reactRootContainer=null,n[yo]=null})}),!0):!1},$i.unstable_batchedUpdates=Nh,$i.unstable_renderSubtreeIntoContainer=function(n,a,s,p){if(!kd(s))throw Error(u(200));if(n==null||n._reactInternals===void 0)throw Error(u(38));return Ld(n,a,s,!1,p)},$i.version="18.3.1-next-f1338f8080-20240426",$i}var Ji={};/**
112
- * @license React
113
- * react-dom.development.js
114
- *
115
- * Copyright (c) Facebook, Inc. and its affiliates.
116
- *
117
- * This source code is licensed under the MIT license found in the
118
- * LICENSE file in the root directory of this source tree.
119
- */var LR;function MN(){return LR||(LR=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 i=Y,r=OR(),u=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,c=!1;function d(e){c=e}function m(e){if(!c){for(var t=arguments.length,o=new Array(t>1?t-1:0),l=1;l<t;l++)o[l-1]=arguments[l];S("warn",e,o)}}function h(e){if(!c){for(var t=arguments.length,o=new Array(t>1?t-1:0),l=1;l<t;l++)o[l-1]=arguments[l];S("error",e,o)}}function S(e,t,o){{var l=u.ReactDebugCurrentFrame,f=l.getStackAddendum();f!==""&&(t+="%s",o=o.concat([f]));var v=o.map(function(y){return String(y)});v.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,v)}}var b=0,x=1,T=2,w=3,M=4,k=5,F=6,V=7,_=8,j=9,Z=10,z=11,q=12,H=13,se=14,le=15,de=16,He=17,We=18,nt=19,Rt=21,Be=22,qe=23,Ve=24,ze=25,Te=!0,fe=!1,Ne=!1,xe=!1,X=!1,ie=!0,Fe=!1,Ze=!0,ut=!0,rt=!0,Ct=!0,lt=new Set,St={},Jt={};function Gn(e,t){Oe(e,t),Oe(e+"Capture",t)}function Oe(e,t){St[e]&&h("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),St[e]=t;{var o=e.toLowerCase();Jt[o]=e,e==="onDoubleClick"&&(Jt.ondblclick=e)}for(var l=0;l<t.length;l++)lt.add(t[l])}var on=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",yn=Object.prototype.hasOwnProperty;function wn(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,o=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o}}function Jn(e){try{return jn(e),!1}catch{return!0}}function jn(e){return""+e}function ci(e,t){if(Jn(e))return h("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,wn(e)),jn(e)}function fi(e){if(Jn(e))return h("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",wn(e)),jn(e)}function cr(e,t){if(Jn(e))return h("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,wn(e)),jn(e)}function Or(e,t){if(Jn(e))return h("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,wn(e)),jn(e)}function di(e){if(Jn(e))return h("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",wn(e)),jn(e)}function kr(e){if(Jn(e))return h("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.",wn(e)),jn(e)}var Li=0,br=1,pi=2,Mn=3,Ur=4,Va=5,Ni=6,Re=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",et=Re+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",It=new RegExp("^["+Re+"]["+et+"]*$"),Yt={},Qt={};function Un(e){return yn.call(Qt,e)?!0:yn.call(Yt,e)?!1:It.test(e)?(Qt[e]=!0,!0):(Yt[e]=!0,h("Invalid attribute name: `%s`",e),!1)}function On(e,t,o){return t!==null?t.type===Li:o?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Lr(e,t,o,l){if(o!==null&&o.type===Li)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(l)return!1;if(o!==null)return!o.acceptsBooleans;var f=e.toLowerCase().slice(0,5);return f!=="data-"&&f!=="aria-"}default:return!1}}function un(e,t,o,l){if(t===null||typeof t>"u"||Lr(e,t,o,l))return!0;if(l)return!1;if(o!==null)switch(o.type){case Mn:return!t;case Ur:return t===!1;case Va:return isNaN(t);case Ni:return isNaN(t)||t<1}return!1}function Wr(e){return qt.hasOwnProperty(e)?qt[e]:null}function Kt(e,t,o,l,f,v,y){this.acceptsBooleans=t===pi||t===Mn||t===Ur,this.attributeName=l,this.attributeNamespace=f,this.mustUseProperty=o,this.propertyName=e,this.type=t,this.sanitizeURL=v,this.removeEmptyString=y}var qt={},Ea=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Ea.forEach(function(e){qt[e]=new Kt(e,Li,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],o=e[1];qt[t]=new Kt(t,br,!1,o,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){qt[e]=new Kt(e,pi,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){qt[e]=new Kt(e,pi,!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){qt[e]=new Kt(e,Mn,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){qt[e]=new Kt(e,Mn,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){qt[e]=new Kt(e,Ur,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){qt[e]=new Kt(e,Ni,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){qt[e]=new Kt(e,Va,!1,e.toLowerCase(),null,!1,!1)});var Ki=/[\-\:]([a-z])/g,Uo=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(Ki,Uo);qt[t]=new Kt(t,br,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(Ki,Uo);qt[t]=new Kt(t,br,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ki,Uo);qt[t]=new Kt(t,br,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){qt[e]=new Kt(e,br,!1,e.toLowerCase(),null,!1,!1)});var _u="xlinkHref";qt[_u]=new Kt("xlinkHref",br,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){qt[e]=new Kt(e,br,!1,e.toLowerCase(),null,!0,!0)});var Ll=/^[\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,uo=!1;function Wo(e){!uo&&Ll.test(e)&&(uo=!0,h("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 Pi(e,t,o,l){if(l.mustUseProperty){var f=l.propertyName;return e[f]}else{ci(o,t),l.sanitizeURL&&Wo(""+o);var v=l.attributeName,y=null;if(l.type===Ur){if(e.hasAttribute(v)){var E=e.getAttribute(v);return E===""?!0:un(t,o,l,!1)?E:E===""+o?o:E}}else if(e.hasAttribute(v)){if(un(t,o,l,!1))return e.getAttribute(v);if(l.type===Mn)return o;y=e.getAttribute(v)}return un(t,o,l,!1)?y===null?o:y:y===""+o?o:y}}function _a(e,t,o,l){{if(!Un(t))return;if(!e.hasAttribute(t))return o===void 0?void 0:null;var f=e.getAttribute(t);return ci(o,t),f===""+o?o:f}}function Fi(e,t,o,l){var f=Wr(t);if(!On(t,f,l)){if(un(t,o,f,l)&&(o=null),l||f===null){if(Un(t)){var v=t;o===null?e.removeAttribute(v):(ci(o,t),e.setAttribute(v,""+o))}return}var y=f.mustUseProperty;if(y){var E=f.propertyName;if(o===null){var R=f.type;e[E]=R===Mn?!1:""}else e[E]=o;return}var D=f.attributeName,O=f.attributeNamespace;if(o===null)e.removeAttribute(D);else{var W=f.type,G;W===Mn||W===Ur&&o===!0?G="":(ci(o,D),G=""+o,f.sanitizeURL&&Wo(G.toString())),O?e.setAttributeNS(O,D,G):e.setAttribute(D,G)}}}var Ta=Symbol.for("react.element"),Xr=Symbol.for("react.portal"),Vi=Symbol.for("react.fragment"),Ba=Symbol.for("react.strict_mode"),za=Symbol.for("react.profiler"),P=Symbol.for("react.provider"),ve=Symbol.for("react.context"),be=Symbol.for("react.forward_ref"),Je=Symbol.for("react.suspense"),Lt=Symbol.for("react.suspense_list"),Vt=Symbol.for("react.memo"),st=Symbol.for("react.lazy"),Dt=Symbol.for("react.scope"),Qn=Symbol.for("react.debug_trace_mode"),hn=Symbol.for("react.offscreen"),Sn=Symbol.for("react.legacy_hidden"),Nr=Symbol.for("react.cache"),Ha=Symbol.for("react.tracing_marker"),jt=Symbol.iterator,fr="@@iterator";function Zr(e){if(e===null||typeof e!="object")return null;var t=jt&&e[jt]||e[fr];return typeof t=="function"?t:null}var Mt=Object.assign,qi=0,Xo,Nl,Zo,hi,qs,Yr,ec;function tc(){}tc.__reactDisabledLog=!0;function Sf(){{if(qi===0){Xo=console.log,Nl=console.info,Zo=console.warn,hi=console.error,qs=console.group,Yr=console.groupCollapsed,ec=console.groupEnd;var e={configurable:!0,enumerable:!0,value:tc,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}qi++}}function Pl(){{if(qi--,qi===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Mt({},e,{value:Xo}),info:Mt({},e,{value:Nl}),warn:Mt({},e,{value:Zo}),error:Mt({},e,{value:hi}),group:Mt({},e,{value:qs}),groupCollapsed:Mt({},e,{value:Yr}),groupEnd:Mt({},e,{value:ec})})}qi<0&&h("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Yo=u.ReactCurrentDispatcher,Ra;function $r(e,t,o){{if(Ra===void 0)try{throw Error()}catch(f){var l=f.stack.trim().match(/\n( *(at )?)/);Ra=l&&l[1]||""}return`
120
- `+Ra+e}}var $o=!1,Jo;{var Qo=typeof WeakMap=="function"?WeakMap:Map;Jo=new Qo}function Fl(e,t){if(!e||$o)return"";{var o=Jo.get(e);if(o!==void 0)return o}var l;$o=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var v;v=Yo.current,Yo.current=null,Sf();try{if(t){var y=function(){throw Error()};if(Object.defineProperty(y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(y,[])}catch(re){l=re}Reflect.construct(e,[],y)}else{try{y.call()}catch(re){l=re}e.call(y.prototype)}}else{try{throw Error()}catch(re){l=re}e()}}catch(re){if(re&&l&&typeof re.stack=="string"){for(var E=re.stack.split(`
121
- `),R=l.stack.split(`
122
- `),D=E.length-1,O=R.length-1;D>=1&&O>=0&&E[D]!==R[O];)O--;for(;D>=1&&O>=0;D--,O--)if(E[D]!==R[O]){if(D!==1||O!==1)do if(D--,O--,O<0||E[D]!==R[O]){var W=`
123
- `+E[D].replace(" at new "," at ");return e.displayName&&W.includes("<anonymous>")&&(W=W.replace("<anonymous>",e.displayName)),typeof e=="function"&&Jo.set(e,W),W}while(D>=1&&O>=0);break}}}finally{$o=!1,Yo.current=v,Pl(),Error.prepareStackTrace=f}var G=e?e.displayName||e.name:"",ee=G?$r(G):"";return typeof e=="function"&&Jo.set(e,ee),ee}function Vl(e,t,o){return Fl(e,!0)}function lo(e,t,o){return Fl(e,!1)}function _p(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Ga(e,t,o){if(e==null)return"";if(typeof e=="function")return Fl(e,_p(e));if(typeof e=="string")return $r(e);switch(e){case Je:return $r("Suspense");case Lt:return $r("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case be:return lo(e.render);case Vt:return Ga(e.type,t,o);case st:{var l=e,f=l._payload,v=l._init;try{return Ga(v(f),t,o)}catch{}}}return""}function Ut(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case k:return $r(e.type);case de:return $r("Lazy");case H:return $r("Suspense");case nt:return $r("SuspenseList");case b:case T:case le:return lo(e.type);case z:return lo(e.type.render);case x:return Vl(e.type);default:return""}}function _l(e){try{var t="",o=e;do t+=Ut(o),o=o.return;while(o);return t}catch(l){return`
124
- Error generating stack: `+l.message+`
125
- `+l.stack}}function Bu(e,t,o){var l=e.displayName;if(l)return l;var f=t.displayName||t.name||"";return f!==""?o+"("+f+")":o}function Bl(e){return e.displayName||"Context"}function _t(e){if(e==null)return null;if(typeof e.tag=="number"&&h("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 Vi:return"Fragment";case Xr:return"Portal";case za:return"Profiler";case Ba:return"StrictMode";case Je:return"Suspense";case Lt:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ve:var t=e;return Bl(t)+".Consumer";case P:var o=e;return Bl(o._context)+".Provider";case be:return Bu(e,e.render,"ForwardRef");case Vt:var l=e.displayName||null;return l!==null?l:_t(e.type)||"Memo";case st:{var f=e,v=f._payload,y=f._init;try{return _t(y(v))}catch{return null}}}return null}function zl(e,t,o){var l=t.displayName||t.name||"";return e.displayName||(l!==""?o+"("+l+")":o)}function Hl(e){return e.displayName||"Context"}function xt(e){var t=e.tag,o=e.type;switch(t){case Ve:return"Cache";case j:var l=o;return Hl(l)+".Consumer";case Z:var f=o;return Hl(f._context)+".Provider";case We:return"DehydratedFragment";case z:return zl(o,o.render,"ForwardRef");case V:return"Fragment";case k:return o;case M:return"Portal";case w:return"Root";case F:return"Text";case de:return _t(o);case _:return o===Ba?"StrictMode":"Mode";case Be:return"Offscreen";case q:return"Profiler";case Rt:return"Scope";case H:return"Suspense";case nt:return"SuspenseList";case ze:return"TracingMarker";case x:case b:case He:case T:case se:case le:if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;break}return null}var zu=u.ReactDebugCurrentFrame,kn=null,vi=!1;function Jr(){{if(kn===null)return null;var e=kn._debugOwner;if(e!==null&&typeof e<"u")return xt(e)}return null}function Ko(){return kn===null?"":_l(kn)}function Fn(){zu.getCurrentStack=null,kn=null,vi=!1}function en(e){zu.getCurrentStack=e===null?null:Ko,kn=e,vi=!1}function xf(){return kn}function mi(e){vi=e}function dr(e){return""+e}function ja(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return kr(e),e;default:return""}}var Ef={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function so(e,t){Ef[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||h("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||h("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 qo(e){var t=e.type,o=e.nodeName;return o&&o.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Tf(e){return e._valueTracker}function ea(e){e._valueTracker=null}function eu(e){var t="";return e&&(qo(e)?t=e.checked?"true":"false":t=e.value),t}function co(e){var t=qo(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);kr(e[t]);var l=""+e[t];if(!(e.hasOwnProperty(t)||typeof o>"u"||typeof o.get!="function"||typeof o.set!="function")){var f=o.get,v=o.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return f.call(this)},set:function(E){kr(E),l=""+E,v.call(this,E)}}),Object.defineProperty(e,t,{enumerable:o.enumerable});var y={getValue:function(){return l},setValue:function(E){kr(E),l=""+E},stopTracking:function(){ea(e),delete e[t]}};return y}}function ta(e){Tf(e)||(e._valueTracker=co(e))}function Gl(e){if(!e)return!1;var t=Tf(e);if(!t)return!0;var o=t.getValue(),l=eu(e);return l!==o?(t.setValue(l),!0):!1}function tu(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 nu=!1,Hu=!1,jl=!1,nc=!1;function wa(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function A(e,t){var o=e,l=t.checked,f=Mt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:l??o._wrapperState.initialChecked});return f}function N(e,t){so("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Hu&&(h("%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",Jr()||"A component",t.type),Hu=!0),t.value!==void 0&&t.defaultValue!==void 0&&!nu&&(h("%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",Jr()||"A component",t.type),nu=!0);var o=e,l=t.defaultValue==null?"":t.defaultValue;o._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:ja(t.value!=null?t.value:l),controlled:wa(t)}}function te(e,t){var o=e,l=t.checked;l!=null&&Fi(o,"checked",l,!1)}function ae(e,t){var o=e;{var l=wa(t);!o._wrapperState.controlled&&l&&!nc&&(h("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"),nc=!0),o._wrapperState.controlled&&!l&&!jl&&(h("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"),jl=!0)}te(e,t);var f=ja(t.value),v=t.type;if(f!=null)v==="number"?(f===0&&o.value===""||o.value!=f)&&(o.value=dr(f)):o.value!==dr(f)&&(o.value=dr(f));else if(v==="submit"||v==="reset"){o.removeAttribute("value");return}t.hasOwnProperty("value")?ot(o,t.type,f):t.hasOwnProperty("defaultValue")&&ot(o,t.type,ja(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(o.defaultChecked=!!t.defaultChecked)}function Ce(e,t,o){var l=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var f=t.type,v=f==="submit"||f==="reset";if(v&&(t.value===void 0||t.value===null))return;var y=dr(l._wrapperState.initialValue);o||y!==l.value&&(l.value=y),l.defaultValue=y}var E=l.name;E!==""&&(l.name=""),l.defaultChecked=!l.defaultChecked,l.defaultChecked=!!l._wrapperState.initialChecked,E!==""&&(l.name=E)}function ct(e,t){var o=e;ae(o,t),Ie(o,t)}function Ie(e,t){var o=t.name;if(t.type==="radio"&&o!=null){for(var l=e;l.parentNode;)l=l.parentNode;ci(o,"name");for(var f=l.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),v=0;v<f.length;v++){var y=f[v];if(!(y===e||y.form!==e.form)){var E=ly(y);if(!E)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Gl(y),ae(y,E)}}}}function ot(e,t,o){(t!=="number"||tu(e.ownerDocument)!==e)&&(o==null?e.defaultValue=dr(e._wrapperState.initialValue):e.defaultValue!==dr(o)&&(e.defaultValue=dr(o)))}var Ot=!1,Gt=!1,vn=!1;function ln(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?i.Children.forEach(t.children,function(o){o!=null&&(typeof o=="string"||typeof o=="number"||Gt||(Gt=!0,h("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(vn||(vn=!0,h("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!Ot&&(h("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Ot=!0)}function mn(e,t){t.value!=null&&e.setAttribute("value",dr(ja(t.value)))}var bn=Array.isArray;function Bt(e){return bn(e)}var fo;fo=!1;function Ul(){var e=Jr();return e?`
126
-
127
- Check the render method of \``+e+"`.":""}var rc=["value","defaultValue"];function Bp(e){{so("select",e);for(var t=0;t<rc.length;t++){var o=rc[t];if(e[o]!=null){var l=Bt(e[o]);e.multiple&&!l?h("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",o,Ul()):!e.multiple&&l&&h("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",o,Ul())}}}}function Aa(e,t,o,l){var f=e.options;if(t){for(var v=o,y={},E=0;E<v.length;E++)y["$"+v[E]]=!0;for(var R=0;R<f.length;R++){var D=y.hasOwnProperty("$"+f[R].value);f[R].selected!==D&&(f[R].selected=D),D&&l&&(f[R].defaultSelected=!0)}}else{for(var O=dr(ja(o)),W=null,G=0;G<f.length;G++){if(f[G].value===O){f[G].selected=!0,l&&(f[G].defaultSelected=!0);return}W===null&&!f[G].disabled&&(W=f[G])}W!==null&&(W.selected=!0)}}function ic(e,t){return Mt({},t,{value:void 0})}function ac(e,t){var o=e;Bp(t),o._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!fo&&(h("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"),fo=!0)}function zp(e,t){var o=e;o.multiple=!!t.multiple;var l=t.value;l!=null?Aa(o,!!t.multiple,l,!1):t.defaultValue!=null&&Aa(o,!!t.multiple,t.defaultValue,!0)}function a1(e,t){var o=e,l=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!t.multiple;var f=t.value;f!=null?Aa(o,!!t.multiple,f,!1):l!==!!t.multiple&&(t.defaultValue!=null?Aa(o,!!t.multiple,t.defaultValue,!0):Aa(o,!!t.multiple,t.multiple?[]:"",!1))}function o1(e,t){var o=e,l=t.value;l!=null&&Aa(o,!!t.multiple,l,!1)}var Hp=!1;function Gp(e,t){var o=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var l=Mt({},t,{value:void 0,defaultValue:void 0,children:dr(o._wrapperState.initialValue)});return l}function Lm(e,t){var o=e;so("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Hp&&(h("%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",Jr()||"A component"),Hp=!0);var l=t.value;if(l==null){var f=t.children,v=t.defaultValue;if(f!=null){h("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(v!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Bt(f)){if(f.length>1)throw new Error("<textarea> can only have at most one child.");f=f[0]}v=f}}v==null&&(v=""),l=v}o._wrapperState={initialValue:ja(l)}}function Nm(e,t){var o=e,l=ja(t.value),f=ja(t.defaultValue);if(l!=null){var v=dr(l);v!==o.value&&(o.value=v),t.defaultValue==null&&o.defaultValue!==v&&(o.defaultValue=v)}f!=null&&(o.defaultValue=dr(f))}function Pm(e,t){var o=e,l=o.textContent;l===o._wrapperState.initialValue&&l!==""&&l!==null&&(o.value=l)}function jp(e,t){Nm(e,t)}var po="http://www.w3.org/1999/xhtml",u1="http://www.w3.org/1998/Math/MathML",Up="http://www.w3.org/2000/svg";function Rf(e){switch(e){case"svg":return Up;case"math":return u1;default:return po}}function Wp(e,t){return e==null||e===po?Rf(t):e===Up&&t==="foreignObject"?po:e}var l1=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,o,l,f){MSApp.execUnsafeLocalFunction(function(){return e(t,o,l,f)})}:e},wf,Fm=l1(function(e,t){if(e.namespaceURI===Up&&!("innerHTML"in e)){wf=wf||document.createElement("div"),wf.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var o=wf.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;o.firstChild;)e.appendChild(o.firstChild);return}e.innerHTML=t}),gi=1,ho=3,Kn=8,Ia=9,Gu=11,Af=function(e,t){if(t){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===ho){o.nodeValue=t;return}}e.textContent=t},Vm={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"]},Wl={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 _m(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var Bm=["Webkit","ms","Moz","O"];Object.keys(Wl).forEach(function(e){Bm.forEach(function(t){Wl[_m(t,e)]=Wl[e]})});function If(e,t,o){var l=t==null||typeof t=="boolean"||t==="";return l?"":!o&&typeof t=="number"&&t!==0&&!(Wl.hasOwnProperty(e)&&Wl[e])?t+"px":(Or(t,e),(""+t).trim())}var Xl=/([A-Z])/g,s1=/^ms-/;function c1(e){return e.replace(Xl,"-$1").toLowerCase().replace(s1,"-ms-")}var zm=function(){};{var Hm=/^(?:webkit|moz|o)[A-Z]/,Gm=/^-ms-/,oc=/-(.)/g,Zl=/;\s*$/,Yl={},$l={},jm=!1,Xp=!1,Zp=function(e){return e.replace(oc,function(t,o){return o.toUpperCase()})},Yp=function(e){Yl.hasOwnProperty(e)&&Yl[e]||(Yl[e]=!0,h("Unsupported style property %s. Did you mean %s?",e,Zp(e.replace(Gm,"ms-"))))},Um=function(e){Yl.hasOwnProperty(e)&&Yl[e]||(Yl[e]=!0,h("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},Wm=function(e,t){$l.hasOwnProperty(t)&&$l[t]||($l[t]=!0,h(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Zl,"")))},Xm=function(e,t){jm||(jm=!0,h("`NaN` is an invalid value for the `%s` css style property.",e))},f1=function(e,t){Xp||(Xp=!0,h("`Infinity` is an invalid value for the `%s` css style property.",e))};zm=function(e,t){e.indexOf("-")>-1?Yp(e):Hm.test(e)?Um(e):Zl.test(t)&&Wm(e,t),typeof t=="number"&&(isNaN(t)?Xm(e,t):isFinite(t)||f1(e,t))}}var d1=zm;function p1(e){{var t="",o="";for(var l in e)if(e.hasOwnProperty(l)){var f=e[l];if(f!=null){var v=l.indexOf("--")===0;t+=o+(v?l:c1(l))+":",t+=If(l,f,v),o=";"}}return t||null}}function Zm(e,t){var o=e.style;for(var l in t)if(t.hasOwnProperty(l)){var f=l.indexOf("--")===0;f||d1(l,t[l]);var v=If(l,t[l],f);l==="float"&&(l="cssFloat"),f?o.setProperty(l,v):o[l]=v}}function h1(e){return e==null||typeof e=="boolean"||e===""}function na(e){var t={};for(var o in e)for(var l=Vm[o]||[o],f=0;f<l.length;f++)t[l[f]]=o;return t}function uc(e,t){{if(!t)return;var o=na(e),l=na(t),f={};for(var v in o){var y=o[v],E=l[v];if(E&&y!==E){var R=y+","+E;if(f[R])continue;f[R]=!0,h("%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.",h1(e[y])?"Removing":"Updating",y,E)}}}}var Ym={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},$m=Mt({menuitem:!0},Ym),Jm="__html";function Df(e,t){if(t){if($m[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(Jm 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&&h("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 vo(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 Mf={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"},Qm={"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},Da={},$p=new RegExp("^(aria)-["+et+"]*$"),lc=new RegExp("^(aria)[A-Z]["+et+"]*$");function Jp(e,t){{if(yn.call(Da,t)&&Da[t])return!0;if(lc.test(t)){var o="aria-"+t.slice(4).toLowerCase(),l=Qm.hasOwnProperty(o)?o:null;if(l==null)return h("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Da[t]=!0,!0;if(t!==l)return h("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,l),Da[t]=!0,!0}if($p.test(t)){var f=t.toLowerCase(),v=Qm.hasOwnProperty(f)?f:null;if(v==null)return Da[t]=!0,!1;if(t!==v)return h("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,v),Da[t]=!0,!0}}return!0}function Km(e,t){{var o=[];for(var l in t){var f=Jp(e,l);f||o.push(l)}var v=o.map(function(y){return"`"+y+"`"}).join(", ");o.length===1?h("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",v,e):o.length>1&&h("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",v,e)}}function Of(e,t){vo(e,t)||Km(e,t)}var ju=!1;function Qp(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!ju&&(ju=!0,e==="select"&&t.multiple?h("`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):h("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var Kp=function(){};{var pr={},qp=/^on./,qm=/^on[^A-Z]/,eg=new RegExp("^(aria)-["+et+"]*$"),tg=new RegExp("^(aria)[A-Z]["+et+"]*$");Kp=function(e,t,o,l){if(yn.call(pr,t)&&pr[t])return!0;var f=t.toLowerCase();if(f==="onfocusin"||f==="onfocusout")return h("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."),pr[t]=!0,!0;if(l!=null){var v=l.registrationNameDependencies,y=l.possibleRegistrationNames;if(v.hasOwnProperty(t))return!0;var E=y.hasOwnProperty(f)?y[f]:null;if(E!=null)return h("Invalid event handler property `%s`. Did you mean `%s`?",t,E),pr[t]=!0,!0;if(qp.test(t))return h("Unknown event handler property `%s`. It will be ignored.",t),pr[t]=!0,!0}else if(qp.test(t))return qm.test(t)&&h("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),pr[t]=!0,!0;if(eg.test(t)||tg.test(t))return!0;if(f==="innerhtml")return h("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),pr[t]=!0,!0;if(f==="aria")return h("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),pr[t]=!0,!0;if(f==="is"&&o!==null&&o!==void 0&&typeof o!="string")return h("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof o),pr[t]=!0,!0;if(typeof o=="number"&&isNaN(o))return h("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),pr[t]=!0,!0;var R=Wr(t),D=R!==null&&R.type===Li;if(Mf.hasOwnProperty(f)){var O=Mf[f];if(O!==t)return h("Invalid DOM property `%s`. Did you mean `%s`?",t,O),pr[t]=!0,!0}else if(!D&&t!==f)return h("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,f),pr[t]=!0,!0;return typeof o=="boolean"&&Lr(t,o,R,!1)?(o?h('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()}.',o,t,t,o,t):h('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.',o,t,t,o,t,t,t),pr[t]=!0,!0):D?!0:Lr(t,o,R,!1)?(pr[t]=!0,!1):((o==="false"||o==="true")&&R!==null&&R.type===Mn&&(h("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",o,t,o==="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,o),pr[t]=!0),!0)}}var ng=function(e,t,o){{var l=[];for(var f in t){var v=Kp(e,f,t[f],o);v||l.push(f)}var y=l.map(function(E){return"`"+E+"`"}).join(", ");l.length===1?h("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 ",y,e):l.length>1&&h("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 ",y,e)}};function rg(e,t,o){vo(e,t)||ng(e,t,o)}var mo=1,sc=2,Uu=4,v1=mo|sc|Uu,cc=null;function fc(e){cc!==null&&h("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),cc=e}function m1(){cc===null&&h("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),cc=null}function ig(e){return e===cc}function kf(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===ho?t.parentNode:t}var gn=null,ru=null,go=null;function Jl(e){var t=Ds(e);if(t){if(typeof gn!="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 o=t.stateNode;if(o){var l=ly(o);gn(t.stateNode,t.type,l)}}}function ag(e){gn=e}function Lf(e){ru?go?go.push(e):go=[e]:ru=e}function dc(){return ru!==null||go!==null}function pc(){if(ru){var e=ru,t=go;if(ru=null,go=null,Jl(e),t)for(var o=0;o<t.length;o++)Jl(t[o])}}var Wu=function(e,t){return e(t)},eh=function(){},th=!1;function g1(){var e=dc();e&&(eh(),pc())}function nh(e,t,o){if(th)return e(t,o);th=!0;try{return Wu(e,t,o)}finally{th=!1,g1()}}function Nf(e,t,o){Wu=e,eh=o}function Pf(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function rh(e,t,o){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!!(o.disabled&&Pf(t));default:return!1}}function Xu(e,t){var o=e.stateNode;if(o===null)return null;var l=ly(o);if(l===null)return null;var f=l[t];if(rh(t,e.type,l))return null;if(f&&typeof f!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof f+"` type.");return f}var hc=!1;if(on)try{var Zu={};Object.defineProperty(Zu,"passive",{get:function(){hc=!0}}),window.addEventListener("test",Zu,Zu),window.removeEventListener("test",Zu,Zu)}catch{hc=!1}function og(e,t,o,l,f,v,y,E,R){var D=Array.prototype.slice.call(arguments,3);try{t.apply(o,D)}catch(O){this.onError(O)}}var ih=og;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var ah=document.createElement("react");ih=function(t,o,l,f,v,y,E,R,D){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 O=document.createEvent("Event"),W=!1,G=!0,ee=window.event,re=Object.getOwnPropertyDescriptor(window,"event");function oe(){ah.removeEventListener(ue,at,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=ee)}var De=Array.prototype.slice.call(arguments,3);function at(){W=!0,oe(),o.apply(l,De),G=!1}var Ke,Ht=!1,Pt=!1;function J(Q){if(Ke=Q.error,Ht=!0,Ke===null&&Q.colno===0&&Q.lineno===0&&(Pt=!0),Q.defaultPrevented&&Ke!=null&&typeof Ke=="object")try{Ke._suppressLogging=!0}catch{}}var ue="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",J),ah.addEventListener(ue,at,!1),O.initEvent(ue,!1,!1),ah.dispatchEvent(O),re&&Object.defineProperty(window,"event",re),W&&G&&(Ht?Pt&&(Ke=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.")):Ke=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(Ke)),window.removeEventListener("error",J),!W)return oe(),og.apply(this,arguments)}}var y1=ih,iu=!1,Ma=null,vc=!1,au=null,Ua={onError:function(e){iu=!0,Ma=e}};function Yu(e,t,o,l,f,v,y,E,R){iu=!1,Ma=null,y1.apply(Ua,arguments)}function yo(e,t,o,l,f,v,y,E,R){if(Yu.apply(this,arguments),iu){var D=uh();vc||(vc=!0,au=D)}}function oh(){if(vc){var e=au;throw vc=!1,au=null,e}}function b1(){return iu}function uh(){if(iu){var e=Ma;return iu=!1,Ma=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 ra(e){return e._reactInternals}function mc(e){return e._reactInternals!==void 0}function Ql(e,t){e._reactInternals=t}var it=0,ou=1,xn=2,At=4,$t=16,tn=32,Wa=64,yt=128,Vn=256,yi=512,ia=1024,An=2048,aa=4096,uu=8192,gc=16384,Ff=An|At|Wa|yi|ia|gc,ug=32767,_i=32768,hr=65536,yc=131072,lh=1048576,sh=2097152,bi=4194304,lu=8388608,Ci=16777216,$u=33554432,Kl=At|ia|0,Si=xn|At|$t|tn|yi|aa|uu,Pr=At|Wa|yi|uu,oa=An|$t,Cr=bi|lu|sh,bo=u.ReactCurrentOwner;function Bi(e){var t=e,o=e;if(e.alternate)for(;t.return;)t=t.return;else{var l=t;do t=l,(t.flags&(xn|aa))!==it&&(o=t.return),l=t.return;while(l)}return t.tag===w?o:null}function ch(e){if(e.tag===H){var t=e.memoizedState;if(t===null){var o=e.alternate;o!==null&&(t=o.memoizedState)}if(t!==null)return t.dehydrated}return null}function Vf(e){return e.tag===w?e.stateNode.containerInfo:null}function fh(e){return Bi(e)===e}function zi(e){{var t=bo.current;if(t!==null&&t.tag===x){var o=t,l=o.stateNode;l._warnedAboutRefsInRender||h("%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.",xt(o)||"A component"),l._warnedAboutRefsInRender=!0}}var f=ra(e);return f?Bi(f)===f:!1}function xi(e){if(Bi(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function En(e){var t=e.alternate;if(!t){var o=Bi(e);if(o===null)throw new Error("Unable to find node on an unmounted component.");return o!==e?null:e}for(var l=e,f=t;;){var v=l.return;if(v===null)break;var y=v.alternate;if(y===null){var E=v.return;if(E!==null){l=f=E;continue}break}if(v.child===y.child){for(var R=v.child;R;){if(R===l)return xi(v),e;if(R===f)return xi(v),t;R=R.sibling}throw new Error("Unable to find node on an unmounted component.")}if(l.return!==f.return)l=v,f=y;else{for(var D=!1,O=v.child;O;){if(O===l){D=!0,l=v,f=y;break}if(O===f){D=!0,f=v,l=y;break}O=O.sibling}if(!D){for(O=y.child;O;){if(O===l){D=!0,l=y,f=v;break}if(O===f){D=!0,f=y,l=v;break}O=O.sibling}if(!D)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(l.alternate!==f)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(l.tag!==w)throw new Error("Unable to find node on an unmounted component.");return l.stateNode.current===l?e:t}function ua(e){var t=En(e);return t!==null?dh(t):null}function dh(e){if(e.tag===k||e.tag===F)return e;for(var t=e.child;t!==null;){var o=dh(t);if(o!==null)return o;t=t.sibling}return null}function lg(e){var t=En(e);return t!==null?_f(t):null}function _f(e){if(e.tag===k||e.tag===F)return e;for(var t=e.child;t!==null;){if(t.tag!==M){var o=_f(t);if(o!==null)return o}t=t.sibling}return null}var Bf=r.unstable_scheduleCallback,sg=r.unstable_cancelCallback,zf=r.unstable_shouldYield,cg=r.unstable_requestPaint,Ln=r.unstable_now,ph=r.unstable_getCurrentPriorityLevel,Hf=r.unstable_ImmediatePriority,Ju=r.unstable_UserBlockingPriority,Xa=r.unstable_NormalPriority,fg=r.unstable_LowPriority,Gf=r.unstable_IdlePriority,ql=r.unstable_yieldValue,dg=r.unstable_setDisableYieldValue,Co=null,rr=null,we=null,la=!1,Hi=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function hh(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 h("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{ut&&(e=Mt({},e,{getLaneLabelMap:So,injectProfilingHooks:pg})),Co=t.inject(e),rr=t}catch(o){h("React instrumentation encountered an error: %s.",o)}return!!t.checkDCE}function vh(e,t){if(rr&&typeof rr.onScheduleFiberRoot=="function")try{rr.onScheduleFiberRoot(Co,e,t)}catch(o){la||(la=!0,h("React instrumentation encountered an error: %s",o))}}function es(e,t){if(rr&&typeof rr.onCommitFiberRoot=="function")try{var o=(e.current.flags&yt)===yt;if(rt){var l;switch(t){case Xn:l=Hf;break;case Eo:l=Ju;break;case Za:l=Xa;break;case ds:l=Gf;break;default:l=Xa;break}rr.onCommitFiberRoot(Co,e,l,o)}}catch(f){la||(la=!0,h("React instrumentation encountered an error: %s",f))}}function sa(e){if(rr&&typeof rr.onPostCommitFiberRoot=="function")try{rr.onPostCommitFiberRoot(Co,e)}catch(t){la||(la=!0,h("React instrumentation encountered an error: %s",t))}}function Qu(e){if(rr&&typeof rr.onCommitFiberUnmount=="function")try{rr.onCommitFiberUnmount(Co,e)}catch(t){la||(la=!0,h("React instrumentation encountered an error: %s",t))}}function qn(e){if(typeof ql=="function"&&(dg(e),d(e)),rr&&typeof rr.setStrictMode=="function")try{rr.setStrictMode(Co,e)}catch(t){la||(la=!0,h("React instrumentation encountered an error: %s",t))}}function pg(e){we=e}function So(){{for(var e=new Map,t=1,o=0;o<Ec;o++){var l=S1(t);e.set(t,l),t*=2}return e}}function su(e){we!==null&&typeof we.markCommitStarted=="function"&&we.markCommitStarted(e)}function jf(){we!==null&&typeof we.markCommitStopped=="function"&&we.markCommitStopped()}function ts(e){we!==null&&typeof we.markComponentRenderStarted=="function"&&we.markComponentRenderStarted(e)}function Ei(){we!==null&&typeof we.markComponentRenderStopped=="function"&&we.markComponentRenderStopped()}function cu(e){we!==null&&typeof we.markComponentPassiveEffectMountStarted=="function"&&we.markComponentPassiveEffectMountStarted(e)}function Uf(){we!==null&&typeof we.markComponentPassiveEffectMountStopped=="function"&&we.markComponentPassiveEffectMountStopped()}function hg(e){we!==null&&typeof we.markComponentPassiveEffectUnmountStarted=="function"&&we.markComponentPassiveEffectUnmountStarted(e)}function Wf(){we!==null&&typeof we.markComponentPassiveEffectUnmountStopped=="function"&&we.markComponentPassiveEffectUnmountStopped()}function vg(e){we!==null&&typeof we.markComponentLayoutEffectMountStarted=="function"&&we.markComponentLayoutEffectMountStarted(e)}function bc(){we!==null&&typeof we.markComponentLayoutEffectMountStopped=="function"&&we.markComponentLayoutEffectMountStopped()}function Oa(e){we!==null&&typeof we.markComponentLayoutEffectUnmountStarted=="function"&&we.markComponentLayoutEffectUnmountStarted(e)}function ns(){we!==null&&typeof we.markComponentLayoutEffectUnmountStopped=="function"&&we.markComponentLayoutEffectUnmountStopped()}function Cc(e,t,o){we!==null&&typeof we.markComponentErrored=="function"&&we.markComponentErrored(e,t,o)}function Ku(e,t,o){we!==null&&typeof we.markComponentSuspended=="function"&&we.markComponentSuspended(e,t,o)}function mh(e){we!==null&&typeof we.markLayoutEffectsStarted=="function"&&we.markLayoutEffectsStarted(e)}function rs(){we!==null&&typeof we.markLayoutEffectsStopped=="function"&&we.markLayoutEffectsStopped()}function mg(e){we!==null&&typeof we.markPassiveEffectsStarted=="function"&&we.markPassiveEffectsStarted(e)}function gh(){we!==null&&typeof we.markPassiveEffectsStopped=="function"&&we.markPassiveEffectsStopped()}function In(e){we!==null&&typeof we.markRenderStarted=="function"&&we.markRenderStarted(e)}function Xf(){we!==null&&typeof we.markRenderYielded=="function"&&we.markRenderYielded()}function Zf(){we!==null&&typeof we.markRenderStopped=="function"&&we.markRenderStopped()}function yh(e){we!==null&&typeof we.markRenderScheduled=="function"&&we.markRenderScheduled(e)}function Yf(e,t){we!==null&&typeof we.markForceUpdateScheduled=="function"&&we.markForceUpdateScheduled(e,t)}function Sc(e,t){we!==null&&typeof we.markStateUpdateScheduled=="function"&&we.markStateUpdateScheduled(e,t)}var Ye=0,Qe=1,bt=2,kt=8,Gi=16,is=Math.clz32?Math.clz32:Fr,xc=Math.log,C1=Math.LN2;function Fr(e){var t=e>>>0;return t===0?32:31-(xc(t)/C1|0)|0}var Ec=31,pe=0,er=0,tt=1,Sr=2,ji=4,xo=8,ca=16,as=32,qu=4194240,os=64,$f=128,Jf=256,Qf=512,Kf=1024,qf=2048,el=4096,ed=8192,us=16384,ls=32768,td=65536,Tc=131072,nd=262144,rd=524288,id=1048576,ad=2097152,ss=130023424,tl=4194304,od=8388608,ud=16777216,bh=33554432,ld=67108864,gg=tl,Rc=134217728,Ch=268435455,cs=268435456,fu=536870912,Vr=1073741824;function S1(e){{if(e&tt)return"Sync";if(e&Sr)return"InputContinuousHydration";if(e&ji)return"InputContinuous";if(e&xo)return"DefaultHydration";if(e&ca)return"Default";if(e&as)return"TransitionHydration";if(e&qu)return"Transition";if(e&ss)return"Retry";if(e&Rc)return"SelectiveHydration";if(e&cs)return"IdleHydration";if(e&fu)return"Idle";if(e&Vr)return"Offscreen"}}var Cn=-1,sd=os,Ti=tl;function nl(e){switch(Wn(e)){case tt:return tt;case Sr:return Sr;case ji:return ji;case xo:return xo;case ca:return ca;case as:return as;case os:case $f:case Jf:case Qf:case Kf:case qf:case el:case ed:case us:case ls:case td:case Tc:case nd:case rd:case id:case ad:return e&qu;case tl:case od:case ud:case bh:case ld:return e&ss;case Rc:return Rc;case cs:return cs;case fu:return fu;case Vr:return Vr;default:return h("Should have found matching lanes. This is a bug in React."),e}}function rl(e,t){var o=e.pendingLanes;if(o===pe)return pe;var l=pe,f=e.suspendedLanes,v=e.pingedLanes,y=o&Ch;if(y!==pe){var E=y&~f;if(E!==pe)l=nl(E);else{var R=y&v;R!==pe&&(l=nl(R))}}else{var D=o&~f;D!==pe?l=nl(D):v!==pe&&(l=nl(v))}if(l===pe)return pe;if(t!==pe&&t!==l&&(t&f)===pe){var O=Wn(l),W=Wn(t);if(O>=W||O===ca&&(W&qu)!==pe)return t}(l&ji)!==pe&&(l|=o&ca);var G=e.entangledLanes;if(G!==pe)for(var ee=e.entanglements,re=l&G;re>0;){var oe=pu(re),De=1<<oe;l|=ee[oe],re&=~De}return l}function yg(e,t){for(var o=e.eventTimes,l=Cn;t>0;){var f=pu(t),v=1<<f,y=o[f];y>l&&(l=y),t&=~v}return l}function bg(e,t){switch(e){case tt:case Sr:case ji:return t+250;case xo:case ca:case as:case os:case $f:case Jf:case Qf:case Kf:case qf:case el:case ed:case us:case ls:case td:case Tc:case nd:case rd:case id:case ad:return t+5e3;case tl:case od:case ud:case bh:case ld:return Cn;case Rc:case cs:case fu:case Vr:return Cn;default:return h("Should have found matching lanes. This is a bug in React."),Cn}}function Cg(e,t){for(var o=e.pendingLanes,l=e.suspendedLanes,f=e.pingedLanes,v=e.expirationTimes,y=o;y>0;){var E=pu(y),R=1<<E,D=v[E];D===Cn?((R&l)===pe||(R&f)!==pe)&&(v[E]=bg(R,t)):D<=t&&(e.expiredLanes|=R),y&=~R}}function Sh(e){return nl(e.pendingLanes)}function du(e){var t=e.pendingLanes&~Vr;return t!==pe?t:t&Vr?Vr:pe}function xh(e){return(e&tt)!==pe}function wc(e){return(e&Ch)!==pe}function Sg(e){return(e&ss)===e}function xg(e){var t=tt|ji|ca;return(e&t)===pe}function Eg(e){return(e&qu)===e}function Ac(e,t){var o=Sr|ji|xo|ca;return(t&o)!==pe}function Tg(e,t){return(t&e.expiredLanes)!==pe}function Eh(e){return(e&qu)!==pe}function Rg(){var e=sd;return sd<<=1,(sd&qu)===pe&&(sd=os),e}function Ri(){var e=Ti;return Ti<<=1,(Ti&ss)===pe&&(Ti=tl),e}function Wn(e){return e&-e}function fs(e){return Wn(e)}function pu(e){return 31-is(e)}function cd(e){return pu(e)}function wi(e,t){return(e&t)!==pe}function il(e,t){return(e&t)===t}function wt(e,t){return e|t}function Ic(e,t){return e&~t}function fd(e,t){return e&t}function x1(e){return e}function wg(e,t){return e!==er&&e<t?e:t}function Dc(e){for(var t=[],o=0;o<Ec;o++)t.push(e);return t}function al(e,t,o){e.pendingLanes|=t,t!==fu&&(e.suspendedLanes=pe,e.pingedLanes=pe);var l=e.eventTimes,f=cd(t);l[f]=o}function Ag(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var o=e.expirationTimes,l=t;l>0;){var f=pu(l),v=1<<f;o[f]=Cn,l&=~v}}function dd(e,t,o){e.pingedLanes|=e.suspendedLanes&t}function pd(e,t){var o=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=pe,e.pingedLanes=pe,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var l=e.entanglements,f=e.eventTimes,v=e.expirationTimes,y=o;y>0;){var E=pu(y),R=1<<E;l[E]=pe,f[E]=Cn,v[E]=Cn,y&=~R}}function Th(e,t){for(var o=e.entangledLanes|=t,l=e.entanglements,f=o;f;){var v=pu(f),y=1<<v;y&t|l[v]&t&&(l[v]|=t),f&=~y}}function Ig(e,t){var o=Wn(t),l;switch(o){case ji:l=Sr;break;case ca:l=xo;break;case os:case $f:case Jf:case Qf:case Kf:case qf:case el:case ed:case us:case ls:case td:case Tc:case nd:case rd:case id:case ad:case tl:case od:case ud:case bh:case ld:l=as;break;case fu:l=cs;break;default:l=er;break}return(l&(e.suspendedLanes|t))!==er?er:l}function hd(e,t,o){if(Hi)for(var l=e.pendingUpdatersLaneMap;o>0;){var f=cd(o),v=1<<f,y=l[f];y.add(t),o&=~v}}function Rh(e,t){if(Hi)for(var o=e.pendingUpdatersLaneMap,l=e.memoizedUpdaters;t>0;){var f=cd(t),v=1<<f,y=o[f];y.size>0&&(y.forEach(function(E){var R=E.alternate;(R===null||!l.has(R))&&l.add(E)}),y.clear()),t&=~v}}function Mc(e,t){return null}var Xn=tt,Eo=ji,Za=ca,ds=fu,ps=er;function fa(){return ps}function _n(e){ps=e}function _r(e,t){var o=ps;try{return ps=e,t()}finally{ps=o}}function E1(e,t){return e!==0&&e<t?e:t}function T1(e,t){return e>t?e:t}function hs(e,t){return e!==0&&e<t}function xr(e){var t=Wn(e);return hs(Xn,t)?hs(Eo,t)?wc(t)?Za:ds:Eo:Xn}function vd(e){var t=e.current.memoizedState;return t.isDehydrated}var _e;function vs(e){_e=e}function wh(e){_e(e)}var md;function R1(e){md=e}var ms;function gd(e){ms=e}var yd;function Dg(e){yd=e}var Ah;function Mg(e){Ah=e}var Oc=!1,gs=[],Dn=null,vr=null,Qr=null,ys=new Map,bs=new Map,mr=[],Og=["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 Ya(e){return Og.indexOf(e)>-1}function w1(e,t,o,l,f){return{blockedOn:e,domEventName:t,eventSystemFlags:o,nativeEvent:f,targetContainers:[l]}}function Ih(e,t){switch(e){case"focusin":case"focusout":Dn=null;break;case"dragenter":case"dragleave":vr=null;break;case"mouseover":case"mouseout":Qr=null;break;case"pointerover":case"pointerout":{var o=t.pointerId;ys.delete(o);break}case"gotpointercapture":case"lostpointercapture":{var l=t.pointerId;bs.delete(l);break}}}function Cs(e,t,o,l,f,v){if(e===null||e.nativeEvent!==v){var y=w1(t,o,l,f,v);if(t!==null){var E=Ds(t);E!==null&&md(E)}return y}e.eventSystemFlags|=l;var R=e.targetContainers;return f!==null&&R.indexOf(f)===-1&&R.push(f),e}function kg(e,t,o,l,f){switch(t){case"focusin":{var v=f;return Dn=Cs(Dn,e,t,o,l,v),!0}case"dragenter":{var y=f;return vr=Cs(vr,e,t,o,l,y),!0}case"mouseover":{var E=f;return Qr=Cs(Qr,e,t,o,l,E),!0}case"pointerover":{var R=f,D=R.pointerId;return ys.set(D,Cs(ys.get(D)||null,e,t,o,l,R)),!0}case"gotpointercapture":{var O=f,W=O.pointerId;return bs.set(W,Cs(bs.get(W)||null,e,t,o,l,O)),!0}}return!1}function Dh(e){var t=jc(e.target);if(t!==null){var o=Bi(t);if(o!==null){var l=o.tag;if(l===H){var f=ch(o);if(f!==null){e.blockedOn=f,Ah(e.priority,function(){ms(o)});return}}else if(l===w){var v=o.stateNode;if(vd(v)){e.blockedOn=Vf(o);return}}}}e.blockedOn=null}function A1(e){for(var t=yd(),o={blockedOn:null,target:e,priority:t},l=0;l<mr.length&&hs(t,mr[l].priority);l++);mr.splice(l,0,o),l===0&&Dh(o)}function ol(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var o=t[0],l=Br(e.domEventName,e.eventSystemFlags,o,e.nativeEvent);if(l===null){var f=e.nativeEvent,v=new f.constructor(f.type,f);fc(v),f.target.dispatchEvent(v),m1()}else{var y=Ds(l);return y!==null&&md(y),e.blockedOn=l,!1}t.shift()}return!0}function bd(e,t,o){ol(e)&&o.delete(t)}function da(){Oc=!1,Dn!==null&&ol(Dn)&&(Dn=null),vr!==null&&ol(vr)&&(vr=null),Qr!==null&&ol(Qr)&&(Qr=null),ys.forEach(bd),bs.forEach(bd)}function Nt(e,t){e.blockedOn===t&&(e.blockedOn=null,Oc||(Oc=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,da)))}function Bn(e){if(gs.length>0){Nt(gs[0],e);for(var t=1;t<gs.length;t++){var o=gs[t];o.blockedOn===e&&(o.blockedOn=null)}}Dn!==null&&Nt(Dn,e),vr!==null&&Nt(vr,e),Qr!==null&&Nt(Qr,e);var l=function(E){return Nt(E,e)};ys.forEach(l),bs.forEach(l);for(var f=0;f<mr.length;f++){var v=mr[f];v.blockedOn===e&&(v.blockedOn=null)}for(;mr.length>0;){var y=mr[0];if(y.blockedOn!==null)break;Dh(y),y.blockedOn===null&&mr.shift()}}var Tn=u.ReactCurrentBatchConfig,ir=!0;function Ai(e){ir=!!e}function Ss(){return ir}function ar(e,t,o){var l=Cd(t),f;switch(l){case Xn:f=kc;break;case Eo:f=ul;break;case Za:default:f=xs;break}return f.bind(null,t,o,e)}function kc(e,t,o,l){var f=fa(),v=Tn.transition;Tn.transition=null;try{_n(Xn),xs(e,t,o,l)}finally{_n(f),Tn.transition=v}}function ul(e,t,o,l){var f=fa(),v=Tn.transition;Tn.transition=null;try{_n(Eo),xs(e,t,o,l)}finally{_n(f),Tn.transition=v}}function xs(e,t,o,l){ir&&Mh(e,t,o,l)}function Mh(e,t,o,l){var f=Br(e,t,o,l);if(f===null){U1(e,t,l,hu,o),Ih(e,l);return}if(kg(f,e,t,o,l)){l.stopPropagation();return}if(Ih(e,l),t&Uu&&Ya(e)){for(;f!==null;){var v=Ds(f);v!==null&&wh(v);var y=Br(e,t,o,l);if(y===null&&U1(e,t,l,hu,o),y===f)break;f=y}f!==null&&l.stopPropagation();return}U1(e,t,l,null,o)}var hu=null;function Br(e,t,o,l){hu=null;var f=kf(l),v=jc(f);if(v!==null){var y=Bi(v);if(y===null)v=null;else{var E=y.tag;if(E===H){var R=ch(y);if(R!==null)return R;v=null}else if(E===w){var D=y.stateNode;if(vd(D))return Vf(y);v=null}else y!==v&&(v=null)}}return hu=v,null}function Cd(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 Xn;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 Eo;case"message":{var t=ph();switch(t){case Hf:return Xn;case Ju:return Eo;case Xa:case fg:return Za;case Gf:return ds;default:return Za}}default:return Za}}function Es(e,t,o){return e.addEventListener(t,o,!1),o}function To(e,t,o){return e.addEventListener(t,o,!0),o}function Sd(e,t,o,l){return e.addEventListener(t,o,{capture:!0,passive:l}),o}function Oh(e,t,o,l){return e.addEventListener(t,o,{passive:l}),o}var pa=null,Ts=null,ha=null;function xd(e){return pa=e,Ts=Nc(),!0}function Lc(){pa=null,Ts=null,ha=null}function Ed(){if(ha)return ha;var e,t=Ts,o=t.length,l,f=Nc(),v=f.length;for(e=0;e<o&&t[e]===f[e];e++);var y=o-e;for(l=1;l<=y&&t[o-l]===f[v-l];l++);var E=l>1?1-l:void 0;return ha=f.slice(e,E),ha}function Nc(){return"value"in pa?pa.value:pa.textContent}function ll(e){var t,o=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&o===13&&(t=13)):t=o,t===10&&(t=13),t>=32||t===13?t:0}function gr(){return!0}function Ro(){return!1}function Nn(e){function t(o,l,f,v,y){this._reactName=o,this._targetInst=f,this.type=l,this.nativeEvent=v,this.target=y,this.currentTarget=null;for(var E in e)if(e.hasOwnProperty(E)){var R=e[E];R?this[E]=R(v):this[E]=v[E]}var D=v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1;return D?this.isDefaultPrevented=gr:this.isDefaultPrevented=Ro,this.isPropagationStopped=Ro,this}return Mt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=gr)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=gr)},persist:function(){},isPersistent:gr}),t}var or={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Td=Nn(or),sl=Mt({},or,{view:0,detail:0}),kh=Nn(sl),Lh,$a,Rs;function Nh(e){e!==Rs&&(Rs&&e.type==="mousemove"?(Lh=e.screenX-Rs.screenX,$a=e.screenY-Rs.screenY):(Lh=0,$a=0),Rs=e)}var Ja=Mt({},sl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ph,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:(Nh(e),Lh)},movementY:function(e){return"movementY"in e?e.movementY:$a}}),Rd=Nn(Ja),cl=Mt({},Ja,{dataTransfer:0}),Lg=Nn(cl),Ng=Mt({},sl,{relatedTarget:0}),Pc=Nn(Ng),wd=Mt({},or,{animationName:0,elapsedTime:0,pseudoElement:0}),I1=Nn(wd),D1=Mt({},or,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Pg=Nn(D1),Fg=Mt({},or,{data:0}),vu=Nn(Fg),M1=vu,ws={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Vg={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 zn(e){if(e.key){var t=ws[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var o=ll(e);return o===13?"Enter":String.fromCharCode(o)}return e.type==="keydown"||e.type==="keyup"?Vg[e.keyCode]||"Unidentified":""}var O1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _g(e){var t=this,o=t.nativeEvent;if(o.getModifierState)return o.getModifierState(e);var l=O1[e];return l?!!o[l]:!1}function Ph(e){return _g}var k1=Mt({},sl,{key:zn,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ph,charCode:function(e){return e.type==="keypress"?ll(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ll(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Bg=Nn(k1),zg=Mt({},Ja,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Hg=Nn(zg),va=Mt({},sl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ph}),Fh=Nn(va),L1=Mt({},or,{propertyName:0,elapsedTime:0,pseudoElement:0}),mu=Nn(L1),Ad=Mt({},Ja,{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}),fl=Nn(Ad),Id=[9,13,27,32],Dd=229,Fc=on&&"CompositionEvent"in window,Vc=null;on&&"documentMode"in document&&(Vc=document.documentMode);var Vh=on&&"TextEvent"in window&&!Vc,Gg=on&&(!Fc||Vc&&Vc>8&&Vc<=11),_h=32,Bh=String.fromCharCode(_h);function Md(){Gn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Gn("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Gn("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Gn("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var _c=!1;function jg(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function zh(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function N1(e,t){return e==="keydown"&&t.keyCode===Dd}function Hh(e,t){switch(e){case"keyup":return Id.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Dd;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Od(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function Bc(e){return e.locale==="ko"}var gu=!1;function kd(e,t,o,l,f){var v,y;if(Fc?v=zh(t):gu?Hh(t,l)&&(v="onCompositionEnd"):N1(t,l)&&(v="onCompositionStart"),!v)return null;Gg&&!Bc(l)&&(!gu&&v==="onCompositionStart"?gu=xd(f):v==="onCompositionEnd"&&gu&&(y=Ed()));var E=$g(o,v);if(E.length>0){var R=new vu(v,t,null,l,f);if(e.push({event:R,listeners:E}),y)R.data=y;else{var D=Od(l);D!==null&&(R.data=D)}}}function Ug(e,t){switch(e){case"compositionend":return Od(t);case"keypress":var o=t.which;return o!==_h?null:(_c=!0,Bh);case"textInput":var l=t.data;return l===Bh&&_c?null:l;default:return null}}function P1(e,t){if(gu){if(e==="compositionend"||!Fc&&Hh(e,t)){var o=Ed();return Lc(),gu=!1,o}return null}switch(e){case"paste":return null;case"keypress":if(!jg(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Gg&&!Bc(t)?null:t.data;default:return null}}function Ld(e,t,o,l,f){var v;if(Vh?v=Ug(t,l):v=P1(t,l),!v)return null;var y=$g(o,"onBeforeInput");if(y.length>0){var E=new M1("onBeforeInput","beforeinput",null,l,f);e.push({event:E,listeners:y}),E.data=v}}function F1(e,t,o,l,f,v,y){kd(e,t,o,l,f),Ld(e,t,o,l,f)}var zc={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 Wg(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!zc[e.type]:t==="textarea"}/**
128
- * Checks if an event is supported in the current execution environment.
129
- *
130
- * NOTE: This will not work correctly for non-generic events such as `change`,
131
- * `reset`, `load`, `error`, and `select`.
132
- *
133
- * Borrows from Modernizr.
134
- *
135
- * @param {string} eventNameSuffix Event name, e.g. "click".
136
- * @return {boolean} True if the event is supported.
137
- * @internal
138
- * @license Modernizr 3.0.0pre (Custom Build) | MIT
139
- */function Nd(e){if(!on)return!1;var t="on"+e,o=t in document;if(!o){var l=document.createElement("div");l.setAttribute(t,"return;"),o=typeof l[t]=="function"}return o}function n(){Gn("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function a(e,t,o,l){Lf(l);var f=$g(t,"onChange");if(f.length>0){var v=new Td("onChange","change",null,o,l);e.push({event:v,listeners:f})}}var s=null,p=null;function g(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function C(e){var t=[];a(t,p,e,kf(e)),nh(I,t)}function I(e){gA(e,0)}function L(e){var t=zd(e);if(Gl(t))return e}function B(e,t){if(e==="change")return t}var ne=!1;on&&(ne=Nd("input")&&(!document.documentMode||document.documentMode>9));function me(e,t){s=e,p=t,s.attachEvent("onpropertychange",he)}function ge(){s&&(s.detachEvent("onpropertychange",he),s=null,p=null)}function he(e){e.propertyName==="value"&&L(p)&&C(e)}function ke(e,t,o){e==="focusin"?(ge(),me(t,o)):e==="focusout"&&ge()}function Ge(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return L(p)}function Xe(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function Zn(e,t){if(e==="click")return L(t)}function $(e,t){if(e==="input"||e==="change")return L(t)}function U(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||ot(e,"number",e.value)}function K(e,t,o,l,f,v,y){var E=o?zd(o):window,R,D;if(g(E)?R=B:Wg(E)?ne?R=$:(R=Ge,D=ke):Xe(E)&&(R=Zn),R){var O=R(t,o);if(O){a(e,O,l,f);return}}D&&D(t,E,o),t==="focusout"&&U(E)}function Se(){Oe("onMouseEnter",["mouseout","mouseover"]),Oe("onMouseLeave",["mouseout","mouseover"]),Oe("onPointerEnter",["pointerout","pointerover"]),Oe("onPointerLeave",["pointerout","pointerover"])}function $e(e,t,o,l,f,v,y){var E=t==="mouseover"||t==="pointerover",R=t==="mouseout"||t==="pointerout";if(E&&!ig(l)){var D=l.relatedTarget||l.fromElement;if(D&&(jc(D)||tv(D)))return}if(!(!R&&!E)){var O;if(f.window===f)O=f;else{var W=f.ownerDocument;W?O=W.defaultView||W.parentWindow:O=window}var G,ee;if(R){var re=l.relatedTarget||l.toElement;if(G=o,ee=re?jc(re):null,ee!==null){var oe=Bi(ee);(ee!==oe||ee.tag!==k&&ee.tag!==F)&&(ee=null)}}else G=null,ee=o;if(G!==ee){var De=Rd,at="onMouseLeave",Ke="onMouseEnter",Ht="mouse";(t==="pointerout"||t==="pointerover")&&(De=Hg,at="onPointerLeave",Ke="onPointerEnter",Ht="pointer");var Pt=G==null?O:zd(G),J=ee==null?O:zd(ee),ue=new De(at,Ht+"leave",G,l,f);ue.target=Pt,ue.relatedTarget=J;var Q=null,ye=jc(f);if(ye===o){var Pe=new De(Ke,Ht+"enter",ee,l,f);Pe.target=J,Pe.relatedTarget=Pt,Q=Pe}T3(e,ue,Q,G,ee)}}}function ft(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var je=typeof Object.is=="function"?Object.is:ft;function pt(e,t){if(je(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var o=Object.keys(e),l=Object.keys(t);if(o.length!==l.length)return!1;for(var f=0;f<o.length;f++){var v=o[f];if(!yn.call(t,v)||!je(e[v],t[v]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Wt(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function wo(e,t){for(var o=ur(e),l=0,f=0;o;){if(o.nodeType===ho){if(f=l+o.textContent.length,l<=t&&f>=t)return{node:o,offset:t-l};l=f}o=ur(Wt(o))}}function V1(e){var t=e.ownerDocument,o=t&&t.defaultView||window,l=o.getSelection&&o.getSelection();if(!l||l.rangeCount===0)return null;var f=l.anchorNode,v=l.anchorOffset,y=l.focusNode,E=l.focusOffset;try{f.nodeType,y.nodeType}catch{return null}return i3(e,f,v,y,E)}function i3(e,t,o,l,f){var v=0,y=-1,E=-1,R=0,D=0,O=e,W=null;e:for(;;){for(var G=null;O===t&&(o===0||O.nodeType===ho)&&(y=v+o),O===l&&(f===0||O.nodeType===ho)&&(E=v+f),O.nodeType===ho&&(v+=O.nodeValue.length),(G=O.firstChild)!==null;)W=O,O=G;for(;;){if(O===e)break e;if(W===t&&++R===o&&(y=v),W===l&&++D===f&&(E=v),(G=O.nextSibling)!==null)break;O=W,W=O.parentNode}O=G}return y===-1||E===-1?null:{start:y,end:E}}function a3(e,t){var o=e.ownerDocument||document,l=o&&o.defaultView||window;if(l.getSelection){var f=l.getSelection(),v=e.textContent.length,y=Math.min(t.start,v),E=t.end===void 0?y:Math.min(t.end,v);if(!f.extend&&y>E){var R=E;E=y,y=R}var D=wo(e,y),O=wo(e,E);if(D&&O){if(f.rangeCount===1&&f.anchorNode===D.node&&f.anchorOffset===D.offset&&f.focusNode===O.node&&f.focusOffset===O.offset)return;var W=o.createRange();W.setStart(D.node,D.offset),f.removeAllRanges(),y>E?(f.addRange(W),f.extend(O.node,O.offset)):(W.setEnd(O.node,O.offset),f.addRange(W))}}}function aA(e){return e&&e.nodeType===ho}function oA(e,t){return!e||!t?!1:e===t?!0:aA(e)?!1:aA(t)?oA(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function o3(e){return e&&e.ownerDocument&&oA(e.ownerDocument.documentElement,e)}function u3(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function uA(){for(var e=window,t=tu();t instanceof e.HTMLIFrameElement;){if(u3(t))e=t.contentWindow;else return t;t=tu(e.document)}return t}function _1(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 l3(){var e=uA();return{focusedElem:e,selectionRange:_1(e)?c3(e):null}}function s3(e){var t=uA(),o=e.focusedElem,l=e.selectionRange;if(t!==o&&o3(o)){l!==null&&_1(o)&&f3(o,l);for(var f=[],v=o;v=v.parentNode;)v.nodeType===gi&&f.push({element:v,left:v.scrollLeft,top:v.scrollTop});typeof o.focus=="function"&&o.focus();for(var y=0;y<f.length;y++){var E=f[y];E.element.scrollLeft=E.left,E.element.scrollTop=E.top}}}function c3(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=V1(e),t||{start:0,end:0}}function f3(e,t){var o=t.start,l=t.end;l===void 0&&(l=o),"selectionStart"in e?(e.selectionStart=o,e.selectionEnd=Math.min(l,e.value.length)):a3(e,t)}var d3=on&&"documentMode"in document&&document.documentMode<=11;function p3(){Gn("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Pd=null,B1=null,Gh=null,z1=!1;function h3(e){if("selectionStart"in e&&_1(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,o=t.getSelection();return{anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}}function v3(e){return e.window===e?e.document:e.nodeType===Ia?e:e.ownerDocument}function lA(e,t,o){var l=v3(o);if(!(z1||Pd==null||Pd!==tu(l))){var f=h3(Pd);if(!Gh||!pt(Gh,f)){Gh=f;var v=$g(B1,"onSelect");if(v.length>0){var y=new Td("onSelect","select",null,t,o);e.push({event:y,listeners:v}),y.target=Pd}}}}function m3(e,t,o,l,f,v,y){var E=o?zd(o):window;switch(t){case"focusin":(Wg(E)||E.contentEditable==="true")&&(Pd=E,B1=o,Gh=null);break;case"focusout":Pd=null,B1=null,Gh=null;break;case"mousedown":z1=!0;break;case"contextmenu":case"mouseup":case"dragend":z1=!1,lA(e,l,f);break;case"selectionchange":if(d3)break;case"keydown":case"keyup":lA(e,l,f)}}function Xg(e,t){var o={};return o[e.toLowerCase()]=t.toLowerCase(),o["Webkit"+e]="webkit"+t,o["Moz"+e]="moz"+t,o}var Fd={animationend:Xg("Animation","AnimationEnd"),animationiteration:Xg("Animation","AnimationIteration"),animationstart:Xg("Animation","AnimationStart"),transitionend:Xg("Transition","TransitionEnd")},H1={},sA={};on&&(sA=document.createElement("div").style,"AnimationEvent"in window||(delete Fd.animationend.animation,delete Fd.animationiteration.animation,delete Fd.animationstart.animation),"TransitionEvent"in window||delete Fd.transitionend.transition);function Zg(e){if(H1[e])return H1[e];if(!Fd[e])return e;var t=Fd[e];for(var o in t)if(t.hasOwnProperty(o)&&o in sA)return H1[e]=t[o];return e}var cA=Zg("animationend"),fA=Zg("animationiteration"),dA=Zg("animationstart"),pA=Zg("transitionend"),hA=new Map,vA=["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 As(e,t){hA.set(e,t),Gn(t,[e])}function g3(){for(var e=0;e<vA.length;e++){var t=vA[e],o=t.toLowerCase(),l=t[0].toUpperCase()+t.slice(1);As(o,"on"+l)}As(cA,"onAnimationEnd"),As(fA,"onAnimationIteration"),As(dA,"onAnimationStart"),As("dblclick","onDoubleClick"),As("focusin","onFocus"),As("focusout","onBlur"),As(pA,"onTransitionEnd")}function y3(e,t,o,l,f,v,y){var E=hA.get(t);if(E!==void 0){var R=Td,D=t;switch(t){case"keypress":if(ll(l)===0)return;case"keydown":case"keyup":R=Bg;break;case"focusin":D="focus",R=Pc;break;case"focusout":D="blur",R=Pc;break;case"beforeblur":case"afterblur":R=Pc;break;case"click":if(l.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":R=Rd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":R=Lg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":R=Fh;break;case cA:case fA:case dA:R=I1;break;case pA:R=mu;break;case"scroll":R=kh;break;case"wheel":R=fl;break;case"copy":case"cut":case"paste":R=Pg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":R=Hg;break}var O=(v&Uu)!==0;{var W=!O&&t==="scroll",G=x3(o,E,l.type,O,W);if(G.length>0){var ee=new R(E,D,null,l,f);e.push({event:ee,listeners:G})}}}}g3(),Se(),n(),p3(),Md();function b3(e,t,o,l,f,v,y){y3(e,t,o,l,f,v);var E=(v&v1)===0;E&&($e(e,t,o,l,f),K(e,t,o,l,f),m3(e,t,o,l,f),F1(e,t,o,l,f))}var jh=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],G1=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(jh));function mA(e,t,o){var l=e.type||"unknown-event";e.currentTarget=o,yo(l,t,void 0,e),e.currentTarget=null}function C3(e,t,o){var l;if(o)for(var f=t.length-1;f>=0;f--){var v=t[f],y=v.instance,E=v.currentTarget,R=v.listener;if(y!==l&&e.isPropagationStopped())return;mA(e,R,E),l=y}else for(var D=0;D<t.length;D++){var O=t[D],W=O.instance,G=O.currentTarget,ee=O.listener;if(W!==l&&e.isPropagationStopped())return;mA(e,ee,G),l=W}}function gA(e,t){for(var o=(t&Uu)!==0,l=0;l<e.length;l++){var f=e[l],v=f.event,y=f.listeners;C3(v,y,o)}oh()}function S3(e,t,o,l,f){var v=kf(o),y=[];b3(y,e,l,o,v,t),gA(y,t)}function Pn(e,t){G1.has(e)||h('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var o=!1,l=Q9(t),f=R3(e);l.has(f)||(yA(t,e,sc,o),l.add(f))}function j1(e,t,o){G1.has(e)&&!t&&h('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var l=0;t&&(l|=Uu),yA(o,e,l,t)}var Yg="_reactListening"+Math.random().toString(36).slice(2);function Uh(e){if(!e[Yg]){e[Yg]=!0,lt.forEach(function(o){o!=="selectionchange"&&(G1.has(o)||j1(o,!1,e),j1(o,!0,e))});var t=e.nodeType===Ia?e:e.ownerDocument;t!==null&&(t[Yg]||(t[Yg]=!0,j1("selectionchange",!1,t)))}}function yA(e,t,o,l,f){var v=ar(e,t,o),y=void 0;hc&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(y=!0),e=e,l?y!==void 0?Sd(e,t,v,y):To(e,t,v):y!==void 0?Oh(e,t,v,y):Es(e,t,v)}function bA(e,t){return e===t||e.nodeType===Kn&&e.parentNode===t}function U1(e,t,o,l,f){var v=l;if(!(t&mo)&&!(t&sc)){var y=f;if(l!==null){var E=l;e:for(;;){if(E===null)return;var R=E.tag;if(R===w||R===M){var D=E.stateNode.containerInfo;if(bA(D,y))break;if(R===M)for(var O=E.return;O!==null;){var W=O.tag;if(W===w||W===M){var G=O.stateNode.containerInfo;if(bA(G,y))return}O=O.return}for(;D!==null;){var ee=jc(D);if(ee===null)return;var re=ee.tag;if(re===k||re===F){E=v=ee;continue e}D=D.parentNode}}E=E.return}}}nh(function(){return S3(e,t,o,v)})}function Wh(e,t,o){return{instance:e,listener:t,currentTarget:o}}function x3(e,t,o,l,f,v){for(var y=t!==null?t+"Capture":null,E=l?y:t,R=[],D=e,O=null;D!==null;){var W=D,G=W.stateNode,ee=W.tag;if(ee===k&&G!==null&&(O=G,E!==null)){var re=Xu(D,E);re!=null&&R.push(Wh(D,re,O))}if(f)break;D=D.return}return R}function $g(e,t){for(var o=t+"Capture",l=[],f=e;f!==null;){var v=f,y=v.stateNode,E=v.tag;if(E===k&&y!==null){var R=y,D=Xu(f,o);D!=null&&l.unshift(Wh(f,D,R));var O=Xu(f,t);O!=null&&l.push(Wh(f,O,R))}f=f.return}return l}function Vd(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==k);return e||null}function E3(e,t){for(var o=e,l=t,f=0,v=o;v;v=Vd(v))f++;for(var y=0,E=l;E;E=Vd(E))y++;for(;f-y>0;)o=Vd(o),f--;for(;y-f>0;)l=Vd(l),y--;for(var R=f;R--;){if(o===l||l!==null&&o===l.alternate)return o;o=Vd(o),l=Vd(l)}return null}function CA(e,t,o,l,f){for(var v=t._reactName,y=[],E=o;E!==null&&E!==l;){var R=E,D=R.alternate,O=R.stateNode,W=R.tag;if(D!==null&&D===l)break;if(W===k&&O!==null){var G=O;if(f){var ee=Xu(E,v);ee!=null&&y.unshift(Wh(E,ee,G))}else if(!f){var re=Xu(E,v);re!=null&&y.push(Wh(E,re,G))}}E=E.return}y.length!==0&&e.push({event:t,listeners:y})}function T3(e,t,o,l,f){var v=l&&f?E3(l,f):null;l!==null&&CA(e,t,l,v,!1),f!==null&&o!==null&&CA(e,o,f,v,!0)}function R3(e,t){return e+"__bubble"}var ma=!1,Xh="dangerouslySetInnerHTML",Jg="suppressContentEditableWarning",Is="suppressHydrationWarning",SA="autoFocus",Hc="children",Gc="style",Qg="__html",W1,Kg,Zh,xA,qg,EA,TA;W1={dialog:!0,webview:!0},Kg=function(e,t){Of(e,t),Qp(e,t),rg(e,t,{registrationNameDependencies:St,possibleRegistrationNames:Jt})},EA=on&&!document.documentMode,Zh=function(e,t,o){if(!ma){var l=ey(o),f=ey(t);f!==l&&(ma=!0,h("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(f),JSON.stringify(l)))}},xA=function(e){if(!ma){ma=!0;var t=[];e.forEach(function(o){t.push(o)}),h("Extra attributes from the server: %s",t)}},qg=function(e,t){t===!1?h("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):h("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},TA=function(e,t){var o=e.namespaceURI===po?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return o.innerHTML=t,o.innerHTML};var w3=/\r\n?/g,A3=/\u0000|\uFFFD/g;function ey(e){di(e);var t=typeof e=="string"?e:""+e;return t.replace(w3,`
140
- `).replace(A3,"")}function ty(e,t,o,l){var f=ey(t),v=ey(e);if(v!==f&&(l&&(ma||(ma=!0,h('Text content did not match. Server: "%s" Client: "%s"',v,f))),o&&Te))throw new Error("Text content does not match server-rendered HTML.")}function RA(e){return e.nodeType===Ia?e:e.ownerDocument}function I3(){}function ny(e){e.onclick=I3}function D3(e,t,o,l,f){for(var v in l)if(l.hasOwnProperty(v)){var y=l[v];if(v===Gc)y&&Object.freeze(y),Zm(t,y);else if(v===Xh){var E=y?y[Qg]:void 0;E!=null&&Fm(t,E)}else if(v===Hc)if(typeof y=="string"){var R=e!=="textarea"||y!=="";R&&Af(t,y)}else typeof y=="number"&&Af(t,""+y);else v===Jg||v===Is||v===SA||(St.hasOwnProperty(v)?y!=null&&(typeof y!="function"&&qg(v,y),v==="onScroll"&&Pn("scroll",t)):y!=null&&Fi(t,v,y,f))}}function M3(e,t,o,l){for(var f=0;f<t.length;f+=2){var v=t[f],y=t[f+1];v===Gc?Zm(e,y):v===Xh?Fm(e,y):v===Hc?Af(e,y):Fi(e,v,y,l)}}function O3(e,t,o,l){var f,v=RA(o),y,E=l;if(E===po&&(E=Rf(e)),E===po){if(f=vo(e,t),!f&&e!==e.toLowerCase()&&h("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var R=v.createElement("div");R.innerHTML="<script><\/script>";var D=R.firstChild;y=R.removeChild(D)}else if(typeof t.is=="string")y=v.createElement(e,{is:t.is});else if(y=v.createElement(e),e==="select"){var O=y;t.multiple?O.multiple=!0:t.size&&(O.size=t.size)}}else y=v.createElementNS(E,e);return E===po&&!f&&Object.prototype.toString.call(y)==="[object HTMLUnknownElement]"&&!yn.call(W1,e)&&(W1[e]=!0,h("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),y}function k3(e,t){return RA(t).createTextNode(e)}function L3(e,t,o,l){var f=vo(t,o);Kg(t,o);var v;switch(t){case"dialog":Pn("cancel",e),Pn("close",e),v=o;break;case"iframe":case"object":case"embed":Pn("load",e),v=o;break;case"video":case"audio":for(var y=0;y<jh.length;y++)Pn(jh[y],e);v=o;break;case"source":Pn("error",e),v=o;break;case"img":case"image":case"link":Pn("error",e),Pn("load",e),v=o;break;case"details":Pn("toggle",e),v=o;break;case"input":N(e,o),v=A(e,o),Pn("invalid",e);break;case"option":ln(e,o),v=o;break;case"select":ac(e,o),v=ic(e,o),Pn("invalid",e);break;case"textarea":Lm(e,o),v=Gp(e,o),Pn("invalid",e);break;default:v=o}switch(Df(t,v),D3(t,e,l,v,f),t){case"input":ta(e),Ce(e,o,!1);break;case"textarea":ta(e),Pm(e);break;case"option":mn(e,o);break;case"select":zp(e,o);break;default:typeof v.onClick=="function"&&ny(e);break}}function N3(e,t,o,l,f){Kg(t,l);var v=null,y,E;switch(t){case"input":y=A(e,o),E=A(e,l),v=[];break;case"select":y=ic(e,o),E=ic(e,l),v=[];break;case"textarea":y=Gp(e,o),E=Gp(e,l),v=[];break;default:y=o,E=l,typeof y.onClick!="function"&&typeof E.onClick=="function"&&ny(e);break}Df(t,E);var R,D,O=null;for(R in y)if(!(E.hasOwnProperty(R)||!y.hasOwnProperty(R)||y[R]==null))if(R===Gc){var W=y[R];for(D in W)W.hasOwnProperty(D)&&(O||(O={}),O[D]="")}else R===Xh||R===Hc||R===Jg||R===Is||R===SA||(St.hasOwnProperty(R)?v||(v=[]):(v=v||[]).push(R,null));for(R in E){var G=E[R],ee=y!=null?y[R]:void 0;if(!(!E.hasOwnProperty(R)||G===ee||G==null&&ee==null))if(R===Gc)if(G&&Object.freeze(G),ee){for(D in ee)ee.hasOwnProperty(D)&&(!G||!G.hasOwnProperty(D))&&(O||(O={}),O[D]="");for(D in G)G.hasOwnProperty(D)&&ee[D]!==G[D]&&(O||(O={}),O[D]=G[D])}else O||(v||(v=[]),v.push(R,O)),O=G;else if(R===Xh){var re=G?G[Qg]:void 0,oe=ee?ee[Qg]:void 0;re!=null&&oe!==re&&(v=v||[]).push(R,re)}else R===Hc?(typeof G=="string"||typeof G=="number")&&(v=v||[]).push(R,""+G):R===Jg||R===Is||(St.hasOwnProperty(R)?(G!=null&&(typeof G!="function"&&qg(R,G),R==="onScroll"&&Pn("scroll",e)),!v&&ee!==G&&(v=[])):(v=v||[]).push(R,G))}return O&&(uc(O,E[Gc]),(v=v||[]).push(Gc,O)),v}function P3(e,t,o,l,f){o==="input"&&f.type==="radio"&&f.name!=null&&te(e,f);var v=vo(o,l),y=vo(o,f);switch(M3(e,t,v,y),o){case"input":ae(e,f);break;case"textarea":Nm(e,f);break;case"select":a1(e,f);break}}function F3(e){{var t=e.toLowerCase();return Mf.hasOwnProperty(t)&&Mf[t]||null}}function V3(e,t,o,l,f,v,y){var E,R;switch(E=vo(t,o),Kg(t,o),t){case"dialog":Pn("cancel",e),Pn("close",e);break;case"iframe":case"object":case"embed":Pn("load",e);break;case"video":case"audio":for(var D=0;D<jh.length;D++)Pn(jh[D],e);break;case"source":Pn("error",e);break;case"img":case"image":case"link":Pn("error",e),Pn("load",e);break;case"details":Pn("toggle",e);break;case"input":N(e,o),Pn("invalid",e);break;case"option":ln(e,o);break;case"select":ac(e,o),Pn("invalid",e);break;case"textarea":Lm(e,o),Pn("invalid",e);break}Df(t,o);{R=new Set;for(var O=e.attributes,W=0;W<O.length;W++){var G=O[W].name.toLowerCase();switch(G){case"value":break;case"checked":break;case"selected":break;default:R.add(O[W].name)}}}var ee=null;for(var re in o)if(o.hasOwnProperty(re)){var oe=o[re];if(re===Hc)typeof oe=="string"?e.textContent!==oe&&(o[Is]!==!0&&ty(e.textContent,oe,v,y),ee=[Hc,oe]):typeof oe=="number"&&e.textContent!==""+oe&&(o[Is]!==!0&&ty(e.textContent,oe,v,y),ee=[Hc,""+oe]);else if(St.hasOwnProperty(re))oe!=null&&(typeof oe!="function"&&qg(re,oe),re==="onScroll"&&Pn("scroll",e));else if(y&&typeof E=="boolean"){var De=void 0,at=E&&Fe?null:Wr(re);if(o[Is]!==!0){if(!(re===Jg||re===Is||re==="value"||re==="checked"||re==="selected")){if(re===Xh){var Ke=e.innerHTML,Ht=oe?oe[Qg]:void 0;if(Ht!=null){var Pt=TA(e,Ht);Pt!==Ke&&Zh(re,Ke,Pt)}}else if(re===Gc){if(R.delete(re),EA){var J=p1(oe);De=e.getAttribute("style"),J!==De&&Zh(re,De,J)}}else if(E&&!Fe)R.delete(re.toLowerCase()),De=_a(e,re,oe),oe!==De&&Zh(re,De,oe);else if(!On(re,at,E)&&!un(re,oe,at,E)){var ue=!1;if(at!==null)R.delete(at.attributeName),De=Pi(e,re,oe,at);else{var Q=l;if(Q===po&&(Q=Rf(t)),Q===po)R.delete(re.toLowerCase());else{var ye=F3(re);ye!==null&&ye!==re&&(ue=!0,R.delete(ye)),R.delete(re)}De=_a(e,re,oe)}var Pe=Fe;!Pe&&oe!==De&&!ue&&Zh(re,De,oe)}}}}}switch(y&&R.size>0&&o[Is]!==!0&&xA(R),t){case"input":ta(e),Ce(e,o,!0);break;case"textarea":ta(e),Pm(e);break;case"select":case"option":break;default:typeof o.onClick=="function"&&ny(e);break}return ee}function _3(e,t,o){var l=e.nodeValue!==t;return l}function X1(e,t){{if(ma)return;ma=!0,h("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function Z1(e,t){{if(ma)return;ma=!0,h('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function Y1(e,t,o){{if(ma)return;ma=!0,h("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function $1(e,t){{if(t===""||ma)return;ma=!0,h('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function B3(e,t,o){switch(t){case"input":ct(e,o);return;case"textarea":jp(e,o);return;case"select":o1(e,o);return}}var Yh=function(){},$h=function(){};{var z3=["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"],wA=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],H3=wA.concat(["button"]),G3=["dd","dt","li","option","optgroup","p","rp","rt"],AA={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};$h=function(e,t){var o=Mt({},e||AA),l={tag:t};return wA.indexOf(t)!==-1&&(o.aTagInScope=null,o.buttonTagInScope=null,o.nobrTagInScope=null),H3.indexOf(t)!==-1&&(o.pTagInButtonScope=null),z3.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(o.listItemTagAutoclosing=null,o.dlItemTagAutoclosing=null),o.current=l,t==="form"&&(o.formTag=l),t==="a"&&(o.aTagInScope=l),t==="button"&&(o.buttonTagInScope=l),t==="nobr"&&(o.nobrTagInScope=l),t==="p"&&(o.pTagInButtonScope=l),t==="li"&&(o.listItemTagAutoclosing=l),(t==="dd"||t==="dt")&&(o.dlItemTagAutoclosing=l),o};var j3=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 G3.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},U3=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},IA={};Yh=function(e,t,o){o=o||AA;var l=o.current,f=l&&l.tag;t!=null&&(e!=null&&h("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var v=j3(e,f)?null:l,y=v?null:U3(e,o),E=v||y;if(E){var R=E.tag,D=!!v+"|"+e+"|"+R;if(!IA[D]){IA[D]=!0;var O=e,W="";if(e==="#text"?/\S/.test(t)?O="Text nodes":(O="Whitespace text nodes",W=" Make sure you don't have any extra whitespace between tags on each line of your source code."):O="<"+e+">",v){var G="";R==="table"&&e==="tr"&&(G+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),h("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",O,R,W,G)}else h("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",O,R)}}}}var ry="suppressHydrationWarning",iy="$",ay="/$",Jh="$?",Qh="$!",W3="style",J1=null,Q1=null;function X3(e){var t,o,l=e.nodeType;switch(l){case Ia:case Gu:{t=l===Ia?"#document":"#fragment";var f=e.documentElement;o=f?f.namespaceURI:Wp(null,"");break}default:{var v=l===Kn?e.parentNode:e,y=v.namespaceURI||null;t=v.tagName,o=Wp(y,t);break}}{var E=t.toLowerCase(),R=$h(null,E);return{namespace:o,ancestorInfo:R}}}function Z3(e,t,o){{var l=e,f=Wp(l.namespace,t),v=$h(l.ancestorInfo,t);return{namespace:f,ancestorInfo:v}}}function bH(e){return e}function Y3(e){J1=Ss(),Q1=l3();var t=null;return Ai(!1),t}function $3(e){s3(Q1),Ai(J1),J1=null,Q1=null}function J3(e,t,o,l,f){var v;{var y=l;if(Yh(e,null,y.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var E=""+t.children,R=$h(y.ancestorInfo,e);Yh(null,E,R)}v=y.namespace}var D=O3(e,t,o,v);return ev(f,D),aC(D,t),D}function Q3(e,t){e.appendChild(t)}function K3(e,t,o,l,f){switch(L3(e,t,o,l),t){case"button":case"input":case"select":case"textarea":return!!o.autoFocus;case"img":return!0;default:return!1}}function q3(e,t,o,l,f,v){{var y=v;if(typeof l.children!=typeof o.children&&(typeof l.children=="string"||typeof l.children=="number")){var E=""+l.children,R=$h(y.ancestorInfo,t);Yh(null,E,R)}}return N3(e,t,o,l)}function K1(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 e9(e,t,o,l){{var f=o;Yh(null,e,f.ancestorInfo)}var v=k3(e,t);return ev(l,v),v}function t9(){var e=window.event;return e===void 0?Za:Cd(e.type)}var q1=typeof setTimeout=="function"?setTimeout:void 0,n9=typeof clearTimeout=="function"?clearTimeout:void 0,eC=-1,DA=typeof Promise=="function"?Promise:void 0,r9=typeof queueMicrotask=="function"?queueMicrotask:typeof DA<"u"?function(e){return DA.resolve(null).then(e).catch(i9)}:q1;function i9(e){setTimeout(function(){throw e})}function a9(e,t,o,l){switch(t){case"button":case"input":case"select":case"textarea":o.autoFocus&&e.focus();return;case"img":{o.src&&(e.src=o.src);return}}}function o9(e,t,o,l,f,v){P3(e,t,o,l,f),aC(e,f)}function MA(e){Af(e,"")}function u9(e,t,o){e.nodeValue=o}function l9(e,t){e.appendChild(t)}function s9(e,t){var o;e.nodeType===Kn?(o=e.parentNode,o.insertBefore(t,e)):(o=e,o.appendChild(t));var l=e._reactRootContainer;l==null&&o.onclick===null&&ny(o)}function c9(e,t,o){e.insertBefore(t,o)}function f9(e,t,o){e.nodeType===Kn?e.parentNode.insertBefore(t,o):e.insertBefore(t,o)}function d9(e,t){e.removeChild(t)}function p9(e,t){e.nodeType===Kn?e.parentNode.removeChild(t):e.removeChild(t)}function tC(e,t){var o=t,l=0;do{var f=o.nextSibling;if(e.removeChild(o),f&&f.nodeType===Kn){var v=f.data;if(v===ay)if(l===0){e.removeChild(f),Bn(t);return}else l--;else(v===iy||v===Jh||v===Qh)&&l++}o=f}while(o);Bn(t)}function h9(e,t){e.nodeType===Kn?tC(e.parentNode,t):e.nodeType===gi&&tC(e,t),Bn(e)}function v9(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function m9(e){e.nodeValue=""}function g9(e,t){e=e;var o=t[W3],l=o!=null&&o.hasOwnProperty("display")?o.display:null;e.style.display=If("display",l)}function y9(e,t){e.nodeValue=t}function b9(e){e.nodeType===gi?e.textContent="":e.nodeType===Ia&&e.documentElement&&e.removeChild(e.documentElement)}function C9(e,t,o){return e.nodeType!==gi||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function S9(e,t){return t===""||e.nodeType!==ho?null:e}function x9(e){return e.nodeType!==Kn?null:e}function OA(e){return e.data===Jh}function nC(e){return e.data===Qh}function E9(e){var t=e.nextSibling&&e.nextSibling.dataset,o,l,f;return t&&(o=t.dgst,l=t.msg,f=t.stck),{message:l,digest:o,stack:f}}function T9(e,t){e._reactRetry=t}function oy(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===gi||t===ho)break;if(t===Kn){var o=e.data;if(o===iy||o===Qh||o===Jh)break;if(o===ay)return null}}return e}function Kh(e){return oy(e.nextSibling)}function R9(e){return oy(e.firstChild)}function w9(e){return oy(e.firstChild)}function A9(e){return oy(e.nextSibling)}function I9(e,t,o,l,f,v,y){ev(v,e),aC(e,o);var E;{var R=f;E=R.namespace}var D=(v.mode&Qe)!==Ye;return V3(e,t,o,E,l,D,y)}function D9(e,t,o,l){return ev(o,e),o.mode&Qe,_3(e,t)}function M9(e,t){ev(t,e)}function O9(e){for(var t=e.nextSibling,o=0;t;){if(t.nodeType===Kn){var l=t.data;if(l===ay){if(o===0)return Kh(t);o--}else(l===iy||l===Qh||l===Jh)&&o++}t=t.nextSibling}return null}function kA(e){for(var t=e.previousSibling,o=0;t;){if(t.nodeType===Kn){var l=t.data;if(l===iy||l===Qh||l===Jh){if(o===0)return t;o--}else l===ay&&o++}t=t.previousSibling}return null}function k9(e){Bn(e)}function L9(e){Bn(e)}function N9(e){return e!=="head"&&e!=="body"}function P9(e,t,o,l){var f=!0;ty(t.nodeValue,o,l,f)}function F9(e,t,o,l,f,v){if(t[ry]!==!0){var y=!0;ty(l.nodeValue,f,v,y)}}function V9(e,t){t.nodeType===gi?X1(e,t):t.nodeType===Kn||Z1(e,t)}function _9(e,t){{var o=e.parentNode;o!==null&&(t.nodeType===gi?X1(o,t):t.nodeType===Kn||Z1(o,t))}}function B9(e,t,o,l,f){(f||t[ry]!==!0)&&(l.nodeType===gi?X1(o,l):l.nodeType===Kn||Z1(o,l))}function z9(e,t,o){Y1(e,t)}function H9(e,t){$1(e,t)}function G9(e,t,o){{var l=e.parentNode;l!==null&&Y1(l,t)}}function j9(e,t){{var o=e.parentNode;o!==null&&$1(o,t)}}function U9(e,t,o,l,f,v){(v||t[ry]!==!0)&&Y1(o,l)}function W9(e,t,o,l,f){(f||t[ry]!==!0)&&$1(o,l)}function X9(e){h("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function Z9(e){Uh(e)}var _d=Math.random().toString(36).slice(2),Bd="__reactFiber$"+_d,rC="__reactProps$"+_d,qh="__reactContainer$"+_d,iC="__reactEvents$"+_d,Y9="__reactListeners$"+_d,$9="__reactHandles$"+_d;function J9(e){delete e[Bd],delete e[rC],delete e[iC],delete e[Y9],delete e[$9]}function ev(e,t){t[Bd]=e}function uy(e,t){t[qh]=e}function LA(e){e[qh]=null}function tv(e){return!!e[qh]}function jc(e){var t=e[Bd];if(t)return t;for(var o=e.parentNode;o;){if(t=o[qh]||o[Bd],t){var l=t.alternate;if(t.child!==null||l!==null&&l.child!==null)for(var f=kA(e);f!==null;){var v=f[Bd];if(v)return v;f=kA(f)}return t}e=o,o=e.parentNode}return null}function Ds(e){var t=e[Bd]||e[qh];return t&&(t.tag===k||t.tag===F||t.tag===H||t.tag===w)?t:null}function zd(e){if(e.tag===k||e.tag===F)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function ly(e){return e[rC]||null}function aC(e,t){e[rC]=t}function Q9(e){var t=e[iC];return t===void 0&&(t=e[iC]=new Set),t}var NA={},PA=u.ReactDebugCurrentFrame;function sy(e){if(e){var t=e._owner,o=Ga(e.type,e._source,t?t.type:null);PA.setExtraStackFrame(o)}else PA.setExtraStackFrame(null)}function Ao(e,t,o,l,f){{var v=Function.call.bind(yn);for(var y in e)if(v(e,y)){var E=void 0;try{if(typeof e[y]!="function"){var R=Error((l||"React class")+": "+o+" type `"+y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[y]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw R.name="Invariant Violation",R}E=e[y](t,y,l,o,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(D){E=D}E&&!(E instanceof Error)&&(sy(f),h("%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).",l||"React class",o,y,typeof E),sy(null)),E instanceof Error&&!(E.message in NA)&&(NA[E.message]=!0,sy(f),h("Failed %s type: %s",o,E.message),sy(null))}}}var oC=[],cy;cy=[];var dl=-1;function Ms(e){return{current:e}}function Ii(e,t){if(dl<0){h("Unexpected pop.");return}t!==cy[dl]&&h("Unexpected Fiber popped."),e.current=oC[dl],oC[dl]=null,cy[dl]=null,dl--}function Di(e,t,o){dl++,oC[dl]=e.current,cy[dl]=o,e.current=t}var uC;uC={};var ka={};Object.freeze(ka);var pl=Ms(ka),yu=Ms(!1),lC=ka;function Hd(e,t,o){return o&&bu(t)?lC:pl.current}function FA(e,t,o){{var l=e.stateNode;l.__reactInternalMemoizedUnmaskedChildContext=t,l.__reactInternalMemoizedMaskedChildContext=o}}function Gd(e,t){{var o=e.type,l=o.contextTypes;if(!l)return ka;var f=e.stateNode;if(f&&f.__reactInternalMemoizedUnmaskedChildContext===t)return f.__reactInternalMemoizedMaskedChildContext;var v={};for(var y in l)v[y]=t[y];{var E=xt(e)||"Unknown";Ao(l,v,"context",E)}return f&&FA(e,t,v),v}}function fy(){return yu.current}function bu(e){{var t=e.childContextTypes;return t!=null}}function dy(e){Ii(yu,e),Ii(pl,e)}function sC(e){Ii(yu,e),Ii(pl,e)}function VA(e,t,o){{if(pl.current!==ka)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Di(pl,t,e),Di(yu,o,e)}}function _A(e,t,o){{var l=e.stateNode,f=t.childContextTypes;if(typeof l.getChildContext!="function"){{var v=xt(e)||"Unknown";uC[v]||(uC[v]=!0,h("%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.",v,v))}return o}var y=l.getChildContext();for(var E in y)if(!(E in f))throw new Error((xt(e)||"Unknown")+'.getChildContext(): key "'+E+'" is not defined in childContextTypes.');{var R=xt(e)||"Unknown";Ao(f,y,"child context",R)}return Mt({},o,y)}}function py(e){{var t=e.stateNode,o=t&&t.__reactInternalMemoizedMergedChildContext||ka;return lC=pl.current,Di(pl,o,e),Di(yu,yu.current,e),!0}}function BA(e,t,o){{var l=e.stateNode;if(!l)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(o){var f=_A(e,t,lC);l.__reactInternalMemoizedMergedChildContext=f,Ii(yu,e),Ii(pl,e),Di(pl,f,e),Di(yu,o,e)}else Ii(yu,e),Di(yu,o,e)}}function K9(e){{if(!fh(e)||e.tag!==x)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case w:return t.stateNode.context;case x:{var o=t.type;if(bu(o))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 Os=0,hy=1,hl=null,cC=!1,fC=!1;function zA(e){hl===null?hl=[e]:hl.push(e)}function q9(e){cC=!0,zA(e)}function HA(){cC&&ks()}function ks(){if(!fC&&hl!==null){fC=!0;var e=0,t=fa();try{var o=!0,l=hl;for(_n(Xn);e<l.length;e++){var f=l[e];do f=f(o);while(f!==null)}hl=null,cC=!1}catch(v){throw hl!==null&&(hl=hl.slice(e+1)),Bf(Hf,ks),v}finally{_n(t),fC=!1}}return null}var jd=[],Ud=0,vy=null,my=0,Qa=[],Ka=0,Uc=null,vl=1,ml="";function e_(e){return Xc(),(e.flags&lh)!==it}function t_(e){return Xc(),my}function n_(){var e=ml,t=vl,o=t&~r_(t);return o.toString(32)+e}function Wc(e,t){Xc(),jd[Ud++]=my,jd[Ud++]=vy,vy=e,my=t}function GA(e,t,o){Xc(),Qa[Ka++]=vl,Qa[Ka++]=ml,Qa[Ka++]=Uc,Uc=e;var l=vl,f=ml,v=gy(l)-1,y=l&~(1<<v),E=o+1,R=gy(t)+v;if(R>30){var D=v-v%5,O=(1<<D)-1,W=(y&O).toString(32),G=y>>D,ee=v-D,re=gy(t)+ee,oe=E<<ee,De=oe|G,at=W+f;vl=1<<re|De,ml=at}else{var Ke=E<<v,Ht=Ke|y,Pt=f;vl=1<<R|Ht,ml=Pt}}function dC(e){Xc();var t=e.return;if(t!==null){var o=1,l=0;Wc(e,o),GA(e,o,l)}}function gy(e){return 32-is(e)}function r_(e){return 1<<gy(e)-1}function pC(e){for(;e===vy;)vy=jd[--Ud],jd[Ud]=null,my=jd[--Ud],jd[Ud]=null;for(;e===Uc;)Uc=Qa[--Ka],Qa[Ka]=null,ml=Qa[--Ka],Qa[Ka]=null,vl=Qa[--Ka],Qa[Ka]=null}function i_(){return Xc(),Uc!==null?{id:vl,overflow:ml}:null}function a_(e,t){Xc(),Qa[Ka++]=vl,Qa[Ka++]=ml,Qa[Ka++]=Uc,vl=t.id,ml=t.overflow,Uc=e}function Xc(){qr()||h("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Kr=null,qa=null,Io=!1,Zc=!1,Ls=null;function o_(){Io&&h("We should not be hydrating here. This is a bug in React. Please file a bug.")}function jA(){Zc=!0}function u_(){return Zc}function l_(e){var t=e.stateNode.containerInfo;return qa=w9(t),Kr=e,Io=!0,Ls=null,Zc=!1,!0}function s_(e,t,o){return qa=A9(t),Kr=e,Io=!0,Ls=null,Zc=!1,o!==null&&a_(e,o),!0}function UA(e,t){switch(e.tag){case w:{V9(e.stateNode.containerInfo,t);break}case k:{var o=(e.mode&Qe)!==Ye;B9(e.type,e.memoizedProps,e.stateNode,t,o);break}case H:{var l=e.memoizedState;l.dehydrated!==null&&_9(l.dehydrated,t);break}}}function WA(e,t){UA(e,t);var o=pz();o.stateNode=t,o.return=e;var l=e.deletions;l===null?(e.deletions=[o],e.flags|=$t):l.push(o)}function hC(e,t){{if(Zc)return;switch(e.tag){case w:{var o=e.stateNode.containerInfo;switch(t.tag){case k:var l=t.type;t.pendingProps,z9(o,l);break;case F:var f=t.pendingProps;H9(o,f);break}break}case k:{var v=e.type,y=e.memoizedProps,E=e.stateNode;switch(t.tag){case k:{var R=t.type,D=t.pendingProps,O=(e.mode&Qe)!==Ye;U9(v,y,E,R,D,O);break}case F:{var W=t.pendingProps,G=(e.mode&Qe)!==Ye;W9(v,y,E,W,G);break}}break}case H:{var ee=e.memoizedState,re=ee.dehydrated;if(re!==null)switch(t.tag){case k:var oe=t.type;t.pendingProps,G9(re,oe);break;case F:var De=t.pendingProps;j9(re,De);break}break}default:return}}}function XA(e,t){t.flags=t.flags&~aa|xn,hC(e,t)}function ZA(e,t){switch(e.tag){case k:{var o=e.type;e.pendingProps;var l=C9(t,o);return l!==null?(e.stateNode=l,Kr=e,qa=R9(l),!0):!1}case F:{var f=e.pendingProps,v=S9(t,f);return v!==null?(e.stateNode=v,Kr=e,qa=null,!0):!1}case H:{var y=x9(t);if(y!==null){var E={dehydrated:y,treeContext:i_(),retryLane:Vr};e.memoizedState=E;var R=hz(y);return R.return=e,e.child=R,Kr=e,qa=null,!0}return!1}default:return!1}}function vC(e){return(e.mode&Qe)!==Ye&&(e.flags&yt)===it}function mC(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function gC(e){if(Io){var t=qa;if(!t){vC(e)&&(hC(Kr,e),mC()),XA(Kr,e),Io=!1,Kr=e;return}var o=t;if(!ZA(e,t)){vC(e)&&(hC(Kr,e),mC()),t=Kh(o);var l=Kr;if(!t||!ZA(e,t)){XA(Kr,e),Io=!1,Kr=e;return}WA(l,o)}}}function c_(e,t,o){var l=e.stateNode,f=!Zc,v=I9(l,e.type,e.memoizedProps,t,o,e,f);return e.updateQueue=v,v!==null}function f_(e){var t=e.stateNode,o=e.memoizedProps,l=D9(t,o,e);if(l){var f=Kr;if(f!==null)switch(f.tag){case w:{var v=f.stateNode.containerInfo,y=(f.mode&Qe)!==Ye;P9(v,t,o,y);break}case k:{var E=f.type,R=f.memoizedProps,D=f.stateNode,O=(f.mode&Qe)!==Ye;F9(E,R,D,t,o,O);break}}}return l}function d_(e){var t=e.memoizedState,o=t!==null?t.dehydrated:null;if(!o)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");M9(o,e)}function p_(e){var t=e.memoizedState,o=t!==null?t.dehydrated:null;if(!o)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 O9(o)}function YA(e){for(var t=e.return;t!==null&&t.tag!==k&&t.tag!==w&&t.tag!==H;)t=t.return;Kr=t}function yy(e){if(e!==Kr)return!1;if(!Io)return YA(e),Io=!0,!1;if(e.tag!==w&&(e.tag!==k||N9(e.type)&&!K1(e.type,e.memoizedProps))){var t=qa;if(t)if(vC(e))$A(e),mC();else for(;t;)WA(e,t),t=Kh(t)}return YA(e),e.tag===H?qa=p_(e):qa=Kr?Kh(e.stateNode):null,!0}function h_(){return Io&&qa!==null}function $A(e){for(var t=qa;t;)UA(e,t),t=Kh(t)}function Wd(){Kr=null,qa=null,Io=!1,Zc=!1}function JA(){Ls!==null&&(j2(Ls),Ls=null)}function qr(){return Io}function yC(e){Ls===null?Ls=[e]:Ls.push(e)}var v_=u.ReactCurrentBatchConfig,m_=null;function g_(){return v_.transition}var Do={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var y_=function(e){for(var t=null,o=e;o!==null;)o.mode&kt&&(t=o),o=o.return;return t},Yc=function(e){var t=[];return e.forEach(function(o){t.push(o)}),t.sort().join(", ")},nv=[],rv=[],iv=[],av=[],ov=[],uv=[],$c=new Set;Do.recordUnsafeLifecycleWarnings=function(e,t){$c.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&nv.push(e),e.mode&kt&&typeof t.UNSAFE_componentWillMount=="function"&&rv.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&iv.push(e),e.mode&kt&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&av.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&ov.push(e),e.mode&kt&&typeof t.UNSAFE_componentWillUpdate=="function"&&uv.push(e))},Do.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;nv.length>0&&(nv.forEach(function(G){e.add(xt(G)||"Component"),$c.add(G.type)}),nv=[]);var t=new Set;rv.length>0&&(rv.forEach(function(G){t.add(xt(G)||"Component"),$c.add(G.type)}),rv=[]);var o=new Set;iv.length>0&&(iv.forEach(function(G){o.add(xt(G)||"Component"),$c.add(G.type)}),iv=[]);var l=new Set;av.length>0&&(av.forEach(function(G){l.add(xt(G)||"Component"),$c.add(G.type)}),av=[]);var f=new Set;ov.length>0&&(ov.forEach(function(G){f.add(xt(G)||"Component"),$c.add(G.type)}),ov=[]);var v=new Set;if(uv.length>0&&(uv.forEach(function(G){v.add(xt(G)||"Component"),$c.add(G.type)}),uv=[]),t.size>0){var y=Yc(t);h(`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.
141
-
142
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
143
-
144
- Please update the following components: %s`,y)}if(l.size>0){var E=Yc(l);h(`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.
145
-
146
- * Move data fetching code or side effects to componentDidUpdate.
147
- * 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
148
-
149
- Please update the following components: %s`,E)}if(v.size>0){var R=Yc(v);h(`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.
150
-
151
- * Move data fetching code or side effects to componentDidUpdate.
152
-
153
- Please update the following components: %s`,R)}if(e.size>0){var D=Yc(e);m(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
154
-
155
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
156
- * 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.
157
-
158
- Please update the following components: %s`,D)}if(o.size>0){var O=Yc(o);m(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
159
-
160
- * Move data fetching code or side effects to componentDidUpdate.
161
- * 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
162
- * 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.
163
-
164
- Please update the following components: %s`,O)}if(f.size>0){var W=Yc(f);m(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
165
-
166
- * Move data fetching code or side effects to componentDidUpdate.
167
- * 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.
168
-
169
- Please update the following components: %s`,W)}};var by=new Map,QA=new Set;Do.recordLegacyContextWarning=function(e,t){var o=y_(e);if(o===null){h("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(!QA.has(e.type)){var l=by.get(o);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(l===void 0&&(l=[],by.set(o,l)),l.push(e))}},Do.flushLegacyContextWarning=function(){by.forEach(function(e,t){if(e.length!==0){var o=e[0],l=new Set;e.forEach(function(v){l.add(xt(v)||"Component"),QA.add(v.type)});var f=Yc(l);try{en(o),h(`Legacy context API has been detected within a strict-mode tree.
170
-
171
- The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
172
-
173
- Please update the following components: %s
174
-
175
- Learn more about this warning here: https://reactjs.org/link/legacy-context`,f)}finally{Fn()}}})},Do.discardPendingWarnings=function(){nv=[],rv=[],iv=[],av=[],ov=[],uv=[],by=new Map}}var bC,CC,SC,xC,EC,KA=function(e,t){};bC=!1,CC=!1,SC={},xC={},EC={},KA=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 o=xt(t)||"Component";xC[o]||(xC[o]=!0,h('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function b_(e){return e.prototype&&e.prototype.isReactComponent}function lv(e,t,o){var l=o.ref;if(l!==null&&typeof l!="function"&&typeof l!="object"){if((e.mode&kt||Ze)&&!(o._owner&&o._self&&o._owner.stateNode!==o._self)&&!(o._owner&&o._owner.tag!==x)&&!(typeof o.type=="function"&&!b_(o.type))&&o._owner){var f=xt(e)||"Component";SC[f]||(h('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',f,l),SC[f]=!0)}if(o._owner){var v=o._owner,y;if(v){var E=v;if(E.tag!==x)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");y=E.stateNode}if(!y)throw new Error("Missing owner for string ref "+l+". This error is likely caused by a bug in React. Please file an issue.");var R=y;cr(l,"ref");var D=""+l;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===D)return t.ref;var O=function(W){var G=R.refs;W===null?delete G[D]:G[D]=W};return O._stringRef=D,O}else{if(typeof l!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!o._owner)throw new Error("Element ref was specified as a string ("+l+`) but no owner was set. This could happen for one of the following reasons:
176
- 1. You may be adding a ref to a function component
177
- 2. You may be adding a ref to a component that was not created inside a component's render method
178
- 3. You have multiple copies of React loaded
179
- See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return l}function Cy(e,t){var o=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(o==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":o)+"). If you meant to render a collection of children, use an array instead.")}function Sy(e){{var t=xt(e)||"Component";if(EC[t])return;EC[t]=!0,h("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 qA(e){var t=e._payload,o=e._init;return o(t)}function eI(e){function t(J,ue){if(e){var Q=J.deletions;Q===null?(J.deletions=[ue],J.flags|=$t):Q.push(ue)}}function o(J,ue){if(!e)return null;for(var Q=ue;Q!==null;)t(J,Q),Q=Q.sibling;return null}function l(J,ue){for(var Q=new Map,ye=ue;ye!==null;)ye.key!==null?Q.set(ye.key,ye):Q.set(ye.index,ye),ye=ye.sibling;return Q}function f(J,ue){var Q=af(J,ue);return Q.index=0,Q.sibling=null,Q}function v(J,ue,Q){if(J.index=Q,!e)return J.flags|=lh,ue;var ye=J.alternate;if(ye!==null){var Pe=ye.index;return Pe<ue?(J.flags|=xn,ue):Pe}else return J.flags|=xn,ue}function y(J){return e&&J.alternate===null&&(J.flags|=xn),J}function E(J,ue,Q,ye){if(ue===null||ue.tag!==F){var Pe=yx(Q,J.mode,ye);return Pe.return=J,Pe}else{var Me=f(ue,Q);return Me.return=J,Me}}function R(J,ue,Q,ye){var Pe=Q.type;if(Pe===Vi)return O(J,ue,Q.props.children,ye,Q.key);if(ue!==null&&(ue.elementType===Pe||aD(ue,Q)||typeof Pe=="object"&&Pe!==null&&Pe.$$typeof===st&&qA(Pe)===ue.type)){var Me=f(ue,Q.props);return Me.ref=lv(J,ue,Q),Me.return=J,Me._debugSource=Q._source,Me._debugOwner=Q._owner,Me}var vt=gx(Q,J.mode,ye);return vt.ref=lv(J,ue,Q),vt.return=J,vt}function D(J,ue,Q,ye){if(ue===null||ue.tag!==M||ue.stateNode.containerInfo!==Q.containerInfo||ue.stateNode.implementation!==Q.implementation){var Pe=bx(Q,J.mode,ye);return Pe.return=J,Pe}else{var Me=f(ue,Q.children||[]);return Me.return=J,Me}}function O(J,ue,Q,ye,Pe){if(ue===null||ue.tag!==V){var Me=Us(Q,J.mode,ye,Pe);return Me.return=J,Me}else{var vt=f(ue,Q);return vt.return=J,vt}}function W(J,ue,Q){if(typeof ue=="string"&&ue!==""||typeof ue=="number"){var ye=yx(""+ue,J.mode,Q);return ye.return=J,ye}if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case Ta:{var Pe=gx(ue,J.mode,Q);return Pe.ref=lv(J,null,ue),Pe.return=J,Pe}case Xr:{var Me=bx(ue,J.mode,Q);return Me.return=J,Me}case st:{var vt=ue._payload,Tt=ue._init;return W(J,Tt(vt),Q)}}if(Bt(ue)||Zr(ue)){var pn=Us(ue,J.mode,Q,null);return pn.return=J,pn}Cy(J,ue)}return typeof ue=="function"&&Sy(J),null}function G(J,ue,Q,ye){var Pe=ue!==null?ue.key:null;if(typeof Q=="string"&&Q!==""||typeof Q=="number")return Pe!==null?null:E(J,ue,""+Q,ye);if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case Ta:return Q.key===Pe?R(J,ue,Q,ye):null;case Xr:return Q.key===Pe?D(J,ue,Q,ye):null;case st:{var Me=Q._payload,vt=Q._init;return G(J,ue,vt(Me),ye)}}if(Bt(Q)||Zr(Q))return Pe!==null?null:O(J,ue,Q,ye,null);Cy(J,Q)}return typeof Q=="function"&&Sy(J),null}function ee(J,ue,Q,ye,Pe){if(typeof ye=="string"&&ye!==""||typeof ye=="number"){var Me=J.get(Q)||null;return E(ue,Me,""+ye,Pe)}if(typeof ye=="object"&&ye!==null){switch(ye.$$typeof){case Ta:{var vt=J.get(ye.key===null?Q:ye.key)||null;return R(ue,vt,ye,Pe)}case Xr:{var Tt=J.get(ye.key===null?Q:ye.key)||null;return D(ue,Tt,ye,Pe)}case st:var pn=ye._payload,Xt=ye._init;return ee(J,ue,Q,Xt(pn),Pe)}if(Bt(ye)||Zr(ye)){var lr=J.get(Q)||null;return O(ue,lr,ye,Pe,null)}Cy(ue,ye)}return typeof ye=="function"&&Sy(ue),null}function re(J,ue,Q){{if(typeof J!="object"||J===null)return ue;switch(J.$$typeof){case Ta:case Xr:KA(J,Q);var ye=J.key;if(typeof ye!="string")break;if(ue===null){ue=new Set,ue.add(ye);break}if(!ue.has(ye)){ue.add(ye);break}h("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.",ye);break;case st:var Pe=J._payload,Me=J._init;re(Me(Pe),ue,Q);break}}return ue}function oe(J,ue,Q,ye){for(var Pe=null,Me=0;Me<Q.length;Me++){var vt=Q[Me];Pe=re(vt,Pe,J)}for(var Tt=null,pn=null,Xt=ue,lr=0,Zt=0,tr=null;Xt!==null&&Zt<Q.length;Zt++){Xt.index>Zt?(tr=Xt,Xt=null):tr=Xt.sibling;var Oi=G(J,Xt,Q[Zt],ye);if(Oi===null){Xt===null&&(Xt=tr);break}e&&Xt&&Oi.alternate===null&&t(J,Xt),lr=v(Oi,lr,Zt),pn===null?Tt=Oi:pn.sibling=Oi,pn=Oi,Xt=tr}if(Zt===Q.length){if(o(J,Xt),qr()){var oi=Zt;Wc(J,oi)}return Tt}if(Xt===null){for(;Zt<Q.length;Zt++){var Na=W(J,Q[Zt],ye);Na!==null&&(lr=v(Na,lr,Zt),pn===null?Tt=Na:pn.sibling=Na,pn=Na)}if(qr()){var Zi=Zt;Wc(J,Zi)}return Tt}for(var Yi=l(J,Xt);Zt<Q.length;Zt++){var ki=ee(Yi,J,Zt,Q[Zt],ye);ki!==null&&(e&&ki.alternate!==null&&Yi.delete(ki.key===null?Zt:ki.key),lr=v(ki,lr,Zt),pn===null?Tt=ki:pn.sibling=ki,pn=ki)}if(e&&Yi.forEach(function(cp){return t(J,cp)}),qr()){var El=Zt;Wc(J,El)}return Tt}function De(J,ue,Q,ye){var Pe=Zr(Q);if(typeof Pe!="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"&&Q[Symbol.toStringTag]==="Generator"&&(CC||h("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."),CC=!0),Q.entries===Pe&&(bC||h("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),bC=!0);var Me=Pe.call(Q);if(Me)for(var vt=null,Tt=Me.next();!Tt.done;Tt=Me.next()){var pn=Tt.value;vt=re(pn,vt,J)}}var Xt=Pe.call(Q);if(Xt==null)throw new Error("An iterable object provided no iterator.");for(var lr=null,Zt=null,tr=ue,Oi=0,oi=0,Na=null,Zi=Xt.next();tr!==null&&!Zi.done;oi++,Zi=Xt.next()){tr.index>oi?(Na=tr,tr=null):Na=tr.sibling;var Yi=G(J,tr,Zi.value,ye);if(Yi===null){tr===null&&(tr=Na);break}e&&tr&&Yi.alternate===null&&t(J,tr),Oi=v(Yi,Oi,oi),Zt===null?lr=Yi:Zt.sibling=Yi,Zt=Yi,tr=Na}if(Zi.done){if(o(J,tr),qr()){var ki=oi;Wc(J,ki)}return lr}if(tr===null){for(;!Zi.done;oi++,Zi=Xt.next()){var El=W(J,Zi.value,ye);El!==null&&(Oi=v(El,Oi,oi),Zt===null?lr=El:Zt.sibling=El,Zt=El)}if(qr()){var cp=oi;Wc(J,cp)}return lr}for(var zv=l(J,tr);!Zi.done;oi++,Zi=Xt.next()){var Au=ee(zv,J,oi,Zi.value,ye);Au!==null&&(e&&Au.alternate!==null&&zv.delete(Au.key===null?oi:Au.key),Oi=v(Au,Oi,oi),Zt===null?lr=Au:Zt.sibling=Au,Zt=Au)}if(e&&zv.forEach(function(Wz){return t(J,Wz)}),qr()){var Uz=oi;Wc(J,Uz)}return lr}function at(J,ue,Q,ye){if(ue!==null&&ue.tag===F){o(J,ue.sibling);var Pe=f(ue,Q);return Pe.return=J,Pe}o(J,ue);var Me=yx(Q,J.mode,ye);return Me.return=J,Me}function Ke(J,ue,Q,ye){for(var Pe=Q.key,Me=ue;Me!==null;){if(Me.key===Pe){var vt=Q.type;if(vt===Vi){if(Me.tag===V){o(J,Me.sibling);var Tt=f(Me,Q.props.children);return Tt.return=J,Tt._debugSource=Q._source,Tt._debugOwner=Q._owner,Tt}}else if(Me.elementType===vt||aD(Me,Q)||typeof vt=="object"&&vt!==null&&vt.$$typeof===st&&qA(vt)===Me.type){o(J,Me.sibling);var pn=f(Me,Q.props);return pn.ref=lv(J,Me,Q),pn.return=J,pn._debugSource=Q._source,pn._debugOwner=Q._owner,pn}o(J,Me);break}else t(J,Me);Me=Me.sibling}if(Q.type===Vi){var Xt=Us(Q.props.children,J.mode,ye,Q.key);return Xt.return=J,Xt}else{var lr=gx(Q,J.mode,ye);return lr.ref=lv(J,ue,Q),lr.return=J,lr}}function Ht(J,ue,Q,ye){for(var Pe=Q.key,Me=ue;Me!==null;){if(Me.key===Pe)if(Me.tag===M&&Me.stateNode.containerInfo===Q.containerInfo&&Me.stateNode.implementation===Q.implementation){o(J,Me.sibling);var vt=f(Me,Q.children||[]);return vt.return=J,vt}else{o(J,Me);break}else t(J,Me);Me=Me.sibling}var Tt=bx(Q,J.mode,ye);return Tt.return=J,Tt}function Pt(J,ue,Q,ye){var Pe=typeof Q=="object"&&Q!==null&&Q.type===Vi&&Q.key===null;if(Pe&&(Q=Q.props.children),typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case Ta:return y(Ke(J,ue,Q,ye));case Xr:return y(Ht(J,ue,Q,ye));case st:var Me=Q._payload,vt=Q._init;return Pt(J,ue,vt(Me),ye)}if(Bt(Q))return oe(J,ue,Q,ye);if(Zr(Q))return De(J,ue,Q,ye);Cy(J,Q)}return typeof Q=="string"&&Q!==""||typeof Q=="number"?y(at(J,ue,""+Q,ye)):(typeof Q=="function"&&Sy(J),o(J,ue))}return Pt}var Xd=eI(!0),tI=eI(!1);function C_(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var o=t.child,l=af(o,o.pendingProps);for(t.child=l,l.return=t;o.sibling!==null;)o=o.sibling,l=l.sibling=af(o,o.pendingProps),l.return=t;l.sibling=null}}function S_(e,t){for(var o=e.child;o!==null;)lz(o,t),o=o.sibling}var TC=Ms(null),RC;RC={};var xy=null,Zd=null,wC=null,Ey=!1;function Ty(){xy=null,Zd=null,wC=null,Ey=!1}function nI(){Ey=!0}function rI(){Ey=!1}function iI(e,t,o){Di(TC,t._currentValue,e),t._currentValue=o,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==RC&&h("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=RC}function AC(e,t){var o=TC.current;Ii(TC,t),e._currentValue=o}function IC(e,t,o){for(var l=e;l!==null;){var f=l.alternate;if(il(l.childLanes,t)?f!==null&&!il(f.childLanes,t)&&(f.childLanes=wt(f.childLanes,t)):(l.childLanes=wt(l.childLanes,t),f!==null&&(f.childLanes=wt(f.childLanes,t))),l===o)break;l=l.return}l!==o&&h("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 x_(e,t,o){E_(e,t,o)}function E_(e,t,o){var l=e.child;for(l!==null&&(l.return=e);l!==null;){var f=void 0,v=l.dependencies;if(v!==null){f=l.child;for(var y=v.firstContext;y!==null;){if(y.context===t){if(l.tag===x){var E=fs(o),R=gl(Cn,E);R.tag=wy;var D=l.updateQueue;if(D!==null){var O=D.shared,W=O.pending;W===null?R.next=R:(R.next=W.next,W.next=R),O.pending=R}}l.lanes=wt(l.lanes,o);var G=l.alternate;G!==null&&(G.lanes=wt(G.lanes,o)),IC(l.return,o,e),v.lanes=wt(v.lanes,o);break}y=y.next}}else if(l.tag===Z)f=l.type===e.type?null:l.child;else if(l.tag===We){var ee=l.return;if(ee===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ee.lanes=wt(ee.lanes,o);var re=ee.alternate;re!==null&&(re.lanes=wt(re.lanes,o)),IC(ee,o,e),f=l.sibling}else f=l.child;if(f!==null)f.return=l;else for(f=l;f!==null;){if(f===e){f=null;break}var oe=f.sibling;if(oe!==null){oe.return=f.return,f=oe;break}f=f.return}l=f}}function Yd(e,t){xy=e,Zd=null,wC=null;var o=e.dependencies;if(o!==null){var l=o.firstContext;l!==null&&(wi(o.lanes,t)&&Ev(),o.firstContext=null)}}function yr(e){Ey&&h("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(wC!==e){var o={context:e,memoizedValue:t,next:null};if(Zd===null){if(xy===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().");Zd=o,xy.dependencies={lanes:pe,firstContext:o}}else Zd=Zd.next=o}return t}var Jc=null;function DC(e){Jc===null?Jc=[e]:Jc.push(e)}function T_(){if(Jc!==null){for(var e=0;e<Jc.length;e++){var t=Jc[e],o=t.interleaved;if(o!==null){t.interleaved=null;var l=o.next,f=t.pending;if(f!==null){var v=f.next;f.next=l,o.next=v}t.pending=o}}Jc=null}}function aI(e,t,o,l){var f=t.interleaved;return f===null?(o.next=o,DC(t)):(o.next=f.next,f.next=o),t.interleaved=o,Ry(e,l)}function R_(e,t,o,l){var f=t.interleaved;f===null?(o.next=o,DC(t)):(o.next=f.next,f.next=o),t.interleaved=o}function w_(e,t,o,l){var f=t.interleaved;return f===null?(o.next=o,DC(t)):(o.next=f.next,f.next=o),t.interleaved=o,Ry(e,l)}function ga(e,t){return Ry(e,t)}var A_=Ry;function Ry(e,t){e.lanes=wt(e.lanes,t);var o=e.alternate;o!==null&&(o.lanes=wt(o.lanes,t)),o===null&&(e.flags&(xn|aa))!==it&&tD(e);for(var l=e,f=e.return;f!==null;)f.childLanes=wt(f.childLanes,t),o=f.alternate,o!==null?o.childLanes=wt(o.childLanes,t):(f.flags&(xn|aa))!==it&&tD(e),l=f,f=f.return;if(l.tag===w){var v=l.stateNode;return v}else return null}var oI=0,uI=1,wy=2,MC=3,Ay=!1,OC,Iy;OC=!1,Iy=null;function kC(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:pe},effects:null};e.updateQueue=t}function lI(e,t){var o=t.updateQueue,l=e.updateQueue;if(o===l){var f={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,effects:l.effects};t.updateQueue=f}}function gl(e,t){var o={eventTime:e,lane:t,tag:oI,payload:null,callback:null,next:null};return o}function Ns(e,t,o){var l=e.updateQueue;if(l===null)return null;var f=l.shared;if(Iy===f&&!OC&&(h("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."),OC=!0),R5()){var v=f.pending;return v===null?t.next=t:(t.next=v.next,v.next=t),f.pending=t,A_(e,o)}else return w_(e,f,t,o)}function Dy(e,t,o){var l=t.updateQueue;if(l!==null){var f=l.shared;if(Eh(o)){var v=f.lanes;v=fd(v,e.pendingLanes);var y=wt(v,o);f.lanes=y,Th(e,y)}}}function LC(e,t){var o=e.updateQueue,l=e.alternate;if(l!==null){var f=l.updateQueue;if(o===f){var v=null,y=null,E=o.firstBaseUpdate;if(E!==null){var R=E;do{var D={eventTime:R.eventTime,lane:R.lane,tag:R.tag,payload:R.payload,callback:R.callback,next:null};y===null?v=y=D:(y.next=D,y=D),R=R.next}while(R!==null);y===null?v=y=t:(y.next=t,y=t)}else v=y=t;o={baseState:f.baseState,firstBaseUpdate:v,lastBaseUpdate:y,shared:f.shared,effects:f.effects},e.updateQueue=o;return}}var O=o.lastBaseUpdate;O===null?o.firstBaseUpdate=t:O.next=t,o.lastBaseUpdate=t}function I_(e,t,o,l,f,v){switch(o.tag){case uI:{var y=o.payload;if(typeof y=="function"){nI();var E=y.call(v,l,f);{if(e.mode&kt){qn(!0);try{y.call(v,l,f)}finally{qn(!1)}}rI()}return E}return y}case MC:e.flags=e.flags&~hr|yt;case oI:{var R=o.payload,D;if(typeof R=="function"){nI(),D=R.call(v,l,f);{if(e.mode&kt){qn(!0);try{R.call(v,l,f)}finally{qn(!1)}}rI()}}else D=R;return D==null?l:Mt({},l,D)}case wy:return Ay=!0,l}return l}function My(e,t,o,l){var f=e.updateQueue;Ay=!1,Iy=f.shared;var v=f.firstBaseUpdate,y=f.lastBaseUpdate,E=f.shared.pending;if(E!==null){f.shared.pending=null;var R=E,D=R.next;R.next=null,y===null?v=D:y.next=D,y=R;var O=e.alternate;if(O!==null){var W=O.updateQueue,G=W.lastBaseUpdate;G!==y&&(G===null?W.firstBaseUpdate=D:G.next=D,W.lastBaseUpdate=R)}}if(v!==null){var ee=f.baseState,re=pe,oe=null,De=null,at=null,Ke=v;do{var Ht=Ke.lane,Pt=Ke.eventTime;if(il(l,Ht)){if(at!==null){var ue={eventTime:Pt,lane:er,tag:Ke.tag,payload:Ke.payload,callback:Ke.callback,next:null};at=at.next=ue}ee=I_(e,f,Ke,ee,t,o);var Q=Ke.callback;if(Q!==null&&Ke.lane!==er){e.flags|=Wa;var ye=f.effects;ye===null?f.effects=[Ke]:ye.push(Ke)}}else{var J={eventTime:Pt,lane:Ht,tag:Ke.tag,payload:Ke.payload,callback:Ke.callback,next:null};at===null?(De=at=J,oe=ee):at=at.next=J,re=wt(re,Ht)}if(Ke=Ke.next,Ke===null){if(E=f.shared.pending,E===null)break;var Pe=E,Me=Pe.next;Pe.next=null,Ke=Me,f.lastBaseUpdate=Pe,f.shared.pending=null}}while(!0);at===null&&(oe=ee),f.baseState=oe,f.firstBaseUpdate=De,f.lastBaseUpdate=at;var vt=f.shared.interleaved;if(vt!==null){var Tt=vt;do re=wt(re,Tt.lane),Tt=Tt.next;while(Tt!==vt)}else v===null&&(f.shared.lanes=pe);Pv(re),e.lanes=re,e.memoizedState=ee}Iy=null}function D_(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function sI(){Ay=!1}function Oy(){return Ay}function cI(e,t,o){var l=t.effects;if(t.effects=null,l!==null)for(var f=0;f<l.length;f++){var v=l[f],y=v.callback;y!==null&&(v.callback=null,D_(y,o))}}var sv={},Ps=Ms(sv),cv=Ms(sv),ky=Ms(sv);function Ly(e){if(e===sv)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 fI(){var e=Ly(ky.current);return e}function NC(e,t){Di(ky,t,e),Di(cv,e,e),Di(Ps,sv,e);var o=X3(t);Ii(Ps,e),Di(Ps,o,e)}function $d(e){Ii(Ps,e),Ii(cv,e),Ii(ky,e)}function PC(){var e=Ly(Ps.current);return e}function dI(e){Ly(ky.current);var t=Ly(Ps.current),o=Z3(t,e.type);t!==o&&(Di(cv,e,e),Di(Ps,o,e))}function FC(e){cv.current===e&&(Ii(Ps,e),Ii(cv,e))}var M_=0,pI=1,hI=1,fv=2,Mo=Ms(M_);function VC(e,t){return(e&t)!==0}function Jd(e){return e&pI}function _C(e,t){return e&pI|t}function O_(e,t){return e|t}function Fs(e,t){Di(Mo,t,e)}function Qd(e){Ii(Mo,e)}function k_(e,t){var o=e.memoizedState;return o!==null?o.dehydrated!==null:(e.memoizedProps,!0)}function Ny(e){for(var t=e;t!==null;){if(t.tag===H){var o=t.memoizedState;if(o!==null){var l=o.dehydrated;if(l===null||OA(l)||nC(l))return t}}else if(t.tag===nt&&t.memoizedProps.revealOrder!==void 0){var f=(t.flags&yt)!==it;if(f)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 ya=0,Er=1,Cu=2,Tr=4,ei=8,BC=[];function zC(){for(var e=0;e<BC.length;e++){var t=BC[e];t._workInProgressVersionPrimary=null}BC.length=0}function L_(e,t){var o=t._getVersion,l=o(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,l]:e.mutableSourceEagerHydrationData.push(t,l)}var Le=u.ReactCurrentDispatcher,dv=u.ReactCurrentBatchConfig,HC,Kd;HC=new Set;var Qc=pe,dn=null,Rr=null,wr=null,Py=!1,pv=!1,hv=0,N_=0,P_=25,ce=null,eo=null,Vs=-1,GC=!1;function nn(){{var e=ce;eo===null?eo=[e]:eo.push(e)}}function Ae(){{var e=ce;eo!==null&&(Vs++,eo[Vs]!==e&&F_(e))}}function qd(e){e!=null&&!Bt(e)&&h("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",ce,typeof e)}function F_(e){{var t=xt(dn);if(!HC.has(t)&&(HC.add(t),eo!==null)){for(var o="",l=30,f=0;f<=Vs;f++){for(var v=eo[f],y=f===Vs?e:v,E=f+1+". "+v;E.length<l;)E+=" ";E+=y+`
180
- `,o+=E}h(`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
181
-
182
- Previous render Next render
183
- ------------------------------------------------------
184
- %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
185
- `,t,o)}}}function Mi(){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:
186
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
187
- 2. You might be breaking the Rules of Hooks
188
- 3. You might have more than one copy of React in the same app
189
- See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function jC(e,t){if(GC)return!1;if(t===null)return h("%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.",ce),!1;e.length!==t.length&&h(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
190
-
191
- Previous: %s
192
- Incoming: %s`,ce,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var o=0;o<t.length&&o<e.length;o++)if(!je(e[o],t[o]))return!1;return!0}function ep(e,t,o,l,f,v){Qc=v,dn=t,eo=e!==null?e._debugHookTypes:null,Vs=-1,GC=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=pe,e!==null&&e.memoizedState!==null?Le.current=FI:eo!==null?Le.current=PI:Le.current=NI;var y=o(l,f);if(pv){var E=0;do{if(pv=!1,hv=0,E>=P_)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");E+=1,GC=!1,Rr=null,wr=null,t.updateQueue=null,Vs=-1,Le.current=VI,y=o(l,f)}while(pv)}Le.current=Yy,t._debugHookTypes=eo;var R=Rr!==null&&Rr.next!==null;if(Qc=pe,dn=null,Rr=null,wr=null,ce=null,eo=null,Vs=-1,e!==null&&(e.flags&Cr)!==(t.flags&Cr)&&(e.mode&Qe)!==Ye&&h("Internal React error: Expected static flag was missing. Please notify the React team."),Py=!1,R)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return y}function tp(){var e=hv!==0;return hv=0,e}function vI(e,t,o){t.updateQueue=e.updateQueue,(t.mode&Gi)!==Ye?t.flags&=~($u|Ci|An|At):t.flags&=~(An|At),e.lanes=Ic(e.lanes,o)}function mI(){if(Le.current=Yy,Py){for(var e=dn.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Py=!1}Qc=pe,dn=null,Rr=null,wr=null,eo=null,Vs=-1,ce=null,DI=!1,pv=!1,hv=0}function Su(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return wr===null?dn.memoizedState=wr=e:wr=wr.next=e,wr}function to(){var e;if(Rr===null){var t=dn.alternate;t!==null?e=t.memoizedState:e=null}else e=Rr.next;var o;if(wr===null?o=dn.memoizedState:o=wr.next,o!==null)wr=o,o=wr.next,Rr=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Rr=e;var l={memoizedState:Rr.memoizedState,baseState:Rr.baseState,baseQueue:Rr.baseQueue,queue:Rr.queue,next:null};wr===null?dn.memoizedState=wr=l:wr=wr.next=l}return wr}function gI(){return{lastEffect:null,stores:null}}function UC(e,t){return typeof t=="function"?t(e):t}function WC(e,t,o){var l=Su(),f;o!==void 0?f=o(t):f=t,l.memoizedState=l.baseState=f;var v={pending:null,interleaved:null,lanes:pe,dispatch:null,lastRenderedReducer:e,lastRenderedState:f};l.queue=v;var y=v.dispatch=z_.bind(null,dn,v);return[l.memoizedState,y]}function XC(e,t,o){var l=to(),f=l.queue;if(f===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");f.lastRenderedReducer=e;var v=Rr,y=v.baseQueue,E=f.pending;if(E!==null){if(y!==null){var R=y.next,D=E.next;y.next=D,E.next=R}v.baseQueue!==y&&h("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),v.baseQueue=y=E,f.pending=null}if(y!==null){var O=y.next,W=v.baseState,G=null,ee=null,re=null,oe=O;do{var De=oe.lane;if(il(Qc,De)){if(re!==null){var Ke={lane:er,action:oe.action,hasEagerState:oe.hasEagerState,eagerState:oe.eagerState,next:null};re=re.next=Ke}if(oe.hasEagerState)W=oe.eagerState;else{var Ht=oe.action;W=e(W,Ht)}}else{var at={lane:De,action:oe.action,hasEagerState:oe.hasEagerState,eagerState:oe.eagerState,next:null};re===null?(ee=re=at,G=W):re=re.next=at,dn.lanes=wt(dn.lanes,De),Pv(De)}oe=oe.next}while(oe!==null&&oe!==O);re===null?G=W:re.next=ee,je(W,l.memoizedState)||Ev(),l.memoizedState=W,l.baseState=G,l.baseQueue=re,f.lastRenderedState=W}var Pt=f.interleaved;if(Pt!==null){var J=Pt;do{var ue=J.lane;dn.lanes=wt(dn.lanes,ue),Pv(ue),J=J.next}while(J!==Pt)}else y===null&&(f.lanes=pe);var Q=f.dispatch;return[l.memoizedState,Q]}function ZC(e,t,o){var l=to(),f=l.queue;if(f===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");f.lastRenderedReducer=e;var v=f.dispatch,y=f.pending,E=l.memoizedState;if(y!==null){f.pending=null;var R=y.next,D=R;do{var O=D.action;E=e(E,O),D=D.next}while(D!==R);je(E,l.memoizedState)||Ev(),l.memoizedState=E,l.baseQueue===null&&(l.baseState=E),f.lastRenderedState=E}return[E,v]}function CH(e,t,o){}function SH(e,t,o){}function YC(e,t,o){var l=dn,f=Su(),v,y=qr();if(y){if(o===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");v=o(),Kd||v!==o()&&(h("The result of getServerSnapshot should be cached to avoid an infinite loop"),Kd=!0)}else{if(v=t(),!Kd){var E=t();je(v,E)||(h("The result of getSnapshot should be cached to avoid an infinite loop"),Kd=!0)}var R=p0();if(R===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ac(R,Qc)||yI(l,t,v)}f.memoizedState=v;var D={value:v,getSnapshot:t};return f.queue=D,zy(CI.bind(null,l,D,e),[e]),l.flags|=An,vv(Er|ei,bI.bind(null,l,D,v,t),void 0,null),v}function Fy(e,t,o){var l=dn,f=to(),v=t();if(!Kd){var y=t();je(v,y)||(h("The result of getSnapshot should be cached to avoid an infinite loop"),Kd=!0)}var E=f.memoizedState,R=!je(E,v);R&&(f.memoizedState=v,Ev());var D=f.queue;if(gv(CI.bind(null,l,D,e),[e]),D.getSnapshot!==t||R||wr!==null&&wr.memoizedState.tag&Er){l.flags|=An,vv(Er|ei,bI.bind(null,l,D,v,t),void 0,null);var O=p0();if(O===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ac(O,Qc)||yI(l,t,v)}return v}function yI(e,t,o){e.flags|=gc;var l={getSnapshot:t,value:o},f=dn.updateQueue;if(f===null)f=gI(),dn.updateQueue=f,f.stores=[l];else{var v=f.stores;v===null?f.stores=[l]:v.push(l)}}function bI(e,t,o,l){t.value=o,t.getSnapshot=l,SI(t)&&xI(e)}function CI(e,t,o){var l=function(){SI(t)&&xI(e)};return o(l)}function SI(e){var t=e.getSnapshot,o=e.value;try{var l=t();return!je(o,l)}catch{return!0}}function xI(e){var t=ga(e,tt);t!==null&&Mr(t,e,tt,Cn)}function Vy(e){var t=Su();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var o={pending:null,interleaved:null,lanes:pe,dispatch:null,lastRenderedReducer:UC,lastRenderedState:e};t.queue=o;var l=o.dispatch=H_.bind(null,dn,o);return[t.memoizedState,l]}function $C(e){return XC(UC)}function JC(e){return ZC(UC)}function vv(e,t,o,l){var f={tag:e,create:t,destroy:o,deps:l,next:null},v=dn.updateQueue;if(v===null)v=gI(),dn.updateQueue=v,v.lastEffect=f.next=f;else{var y=v.lastEffect;if(y===null)v.lastEffect=f.next=f;else{var E=y.next;y.next=f,f.next=E,v.lastEffect=f}}return f}function QC(e){var t=Su();{var o={current:e};return t.memoizedState=o,o}}function _y(e){var t=to();return t.memoizedState}function mv(e,t,o,l){var f=Su(),v=l===void 0?null:l;dn.flags|=e,f.memoizedState=vv(Er|t,o,void 0,v)}function By(e,t,o,l){var f=to(),v=l===void 0?null:l,y=void 0;if(Rr!==null){var E=Rr.memoizedState;if(y=E.destroy,v!==null){var R=E.deps;if(jC(v,R)){f.memoizedState=vv(t,o,y,v);return}}}dn.flags|=e,f.memoizedState=vv(Er|t,o,y,v)}function zy(e,t){return(dn.mode&Gi)!==Ye?mv($u|An|lu,ei,e,t):mv(An|lu,ei,e,t)}function gv(e,t){return By(An,ei,e,t)}function KC(e,t){return mv(At,Cu,e,t)}function Hy(e,t){return By(At,Cu,e,t)}function qC(e,t){var o=At;return o|=bi,(dn.mode&Gi)!==Ye&&(o|=Ci),mv(o,Tr,e,t)}function Gy(e,t){return By(At,Tr,e,t)}function EI(e,t){if(typeof t=="function"){var o=t,l=e();return o(l),function(){o(null)}}else if(t!=null){var f=t;f.hasOwnProperty("current")||h("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(f).join(", ")+"}");var v=e();return f.current=v,function(){f.current=null}}}function eS(e,t,o){typeof t!="function"&&h("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var l=o!=null?o.concat([e]):null,f=At;return f|=bi,(dn.mode&Gi)!==Ye&&(f|=Ci),mv(f,Tr,EI.bind(null,t,e),l)}function jy(e,t,o){typeof t!="function"&&h("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var l=o!=null?o.concat([e]):null;return By(At,Tr,EI.bind(null,t,e),l)}function V_(e,t){}var Uy=V_;function tS(e,t){var o=Su(),l=t===void 0?null:t;return o.memoizedState=[e,l],e}function Wy(e,t){var o=to(),l=t===void 0?null:t,f=o.memoizedState;if(f!==null&&l!==null){var v=f[1];if(jC(l,v))return f[0]}return o.memoizedState=[e,l],e}function nS(e,t){var o=Su(),l=t===void 0?null:t,f=e();return o.memoizedState=[f,l],f}function Xy(e,t){var o=to(),l=t===void 0?null:t,f=o.memoizedState;if(f!==null&&l!==null){var v=f[1];if(jC(l,v))return f[0]}var y=e();return o.memoizedState=[y,l],y}function rS(e){var t=Su();return t.memoizedState=e,e}function TI(e){var t=to(),o=Rr,l=o.memoizedState;return wI(t,l,e)}function RI(e){var t=to();if(Rr===null)return t.memoizedState=e,e;var o=Rr.memoizedState;return wI(t,o,e)}function wI(e,t,o){var l=!xg(Qc);if(l){if(!je(o,t)){var f=Rg();dn.lanes=wt(dn.lanes,f),Pv(f),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Ev()),e.memoizedState=o,o}function __(e,t,o){var l=fa();_n(E1(l,Eo)),e(!0);var f=dv.transition;dv.transition={};var v=dv.transition;dv.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(_n(l),dv.transition=f,f===null&&v._updatedFibers){var y=v._updatedFibers.size;y>10&&m("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."),v._updatedFibers.clear()}}}function iS(){var e=Vy(!1),t=e[0],o=e[1],l=__.bind(null,o),f=Su();return f.memoizedState=l,[t,l]}function AI(){var e=$C(),t=e[0],o=to(),l=o.memoizedState;return[t,l]}function II(){var e=JC(),t=e[0],o=to(),l=o.memoizedState;return[t,l]}var DI=!1;function B_(){return DI}function aS(){var e=Su(),t=p0(),o=t.identifierPrefix,l;if(qr()){var f=n_();l=":"+o+"R"+f;var v=hv++;v>0&&(l+="H"+v.toString(32)),l+=":"}else{var y=N_++;l=":"+o+"r"+y.toString(32)+":"}return e.memoizedState=l,l}function Zy(){var e=to(),t=e.memoizedState;return t}function z_(e,t,o){typeof arguments[3]=="function"&&h("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 l=Gs(e),f={lane:l,action:o,hasEagerState:!1,eagerState:null,next:null};if(MI(e))OI(t,f);else{var v=aI(e,t,f,l);if(v!==null){var y=Xi();Mr(v,e,l,y),kI(v,t,l)}}LI(e,l)}function H_(e,t,o){typeof arguments[3]=="function"&&h("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 l=Gs(e),f={lane:l,action:o,hasEagerState:!1,eagerState:null,next:null};if(MI(e))OI(t,f);else{var v=e.alternate;if(e.lanes===pe&&(v===null||v.lanes===pe)){var y=t.lastRenderedReducer;if(y!==null){var E;E=Le.current,Le.current=Oo;try{var R=t.lastRenderedState,D=y(R,o);if(f.hasEagerState=!0,f.eagerState=D,je(D,R)){R_(e,t,f,l);return}}catch{}finally{Le.current=E}}}var O=aI(e,t,f,l);if(O!==null){var W=Xi();Mr(O,e,l,W),kI(O,t,l)}}LI(e,l)}function MI(e){var t=e.alternate;return e===dn||t!==null&&t===dn}function OI(e,t){pv=Py=!0;var o=e.pending;o===null?t.next=t:(t.next=o.next,o.next=t),e.pending=t}function kI(e,t,o){if(Eh(o)){var l=t.lanes;l=fd(l,e.pendingLanes);var f=wt(l,o);t.lanes=f,Th(e,f)}}function LI(e,t,o){Sc(e,t)}var Yy={readContext:yr,useCallback:Mi,useContext:Mi,useEffect:Mi,useImperativeHandle:Mi,useInsertionEffect:Mi,useLayoutEffect:Mi,useMemo:Mi,useReducer:Mi,useRef:Mi,useState:Mi,useDebugValue:Mi,useDeferredValue:Mi,useTransition:Mi,useMutableSource:Mi,useSyncExternalStore:Mi,useId:Mi,unstable_isNewReconciler:fe},NI=null,PI=null,FI=null,VI=null,xu=null,Oo=null,$y=null;{var oS=function(){h("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().")},Et=function(){h("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")};NI={readContext:function(e){return yr(e)},useCallback:function(e,t){return ce="useCallback",nn(),qd(t),tS(e,t)},useContext:function(e){return ce="useContext",nn(),yr(e)},useEffect:function(e,t){return ce="useEffect",nn(),qd(t),zy(e,t)},useImperativeHandle:function(e,t,o){return ce="useImperativeHandle",nn(),qd(o),eS(e,t,o)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",nn(),qd(t),KC(e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",nn(),qd(t),qC(e,t)},useMemo:function(e,t){ce="useMemo",nn(),qd(t);var o=Le.current;Le.current=xu;try{return nS(e,t)}finally{Le.current=o}},useReducer:function(e,t,o){ce="useReducer",nn();var l=Le.current;Le.current=xu;try{return WC(e,t,o)}finally{Le.current=l}},useRef:function(e){return ce="useRef",nn(),QC(e)},useState:function(e){ce="useState",nn();var t=Le.current;Le.current=xu;try{return Vy(e)}finally{Le.current=t}},useDebugValue:function(e,t){return ce="useDebugValue",nn(),void 0},useDeferredValue:function(e){return ce="useDeferredValue",nn(),rS(e)},useTransition:function(){return ce="useTransition",nn(),iS()},useMutableSource:function(e,t,o){return ce="useMutableSource",nn(),void 0},useSyncExternalStore:function(e,t,o){return ce="useSyncExternalStore",nn(),YC(e,t,o)},useId:function(){return ce="useId",nn(),aS()},unstable_isNewReconciler:fe},PI={readContext:function(e){return yr(e)},useCallback:function(e,t){return ce="useCallback",Ae(),tS(e,t)},useContext:function(e){return ce="useContext",Ae(),yr(e)},useEffect:function(e,t){return ce="useEffect",Ae(),zy(e,t)},useImperativeHandle:function(e,t,o){return ce="useImperativeHandle",Ae(),eS(e,t,o)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",Ae(),KC(e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",Ae(),qC(e,t)},useMemo:function(e,t){ce="useMemo",Ae();var o=Le.current;Le.current=xu;try{return nS(e,t)}finally{Le.current=o}},useReducer:function(e,t,o){ce="useReducer",Ae();var l=Le.current;Le.current=xu;try{return WC(e,t,o)}finally{Le.current=l}},useRef:function(e){return ce="useRef",Ae(),QC(e)},useState:function(e){ce="useState",Ae();var t=Le.current;Le.current=xu;try{return Vy(e)}finally{Le.current=t}},useDebugValue:function(e,t){return ce="useDebugValue",Ae(),void 0},useDeferredValue:function(e){return ce="useDeferredValue",Ae(),rS(e)},useTransition:function(){return ce="useTransition",Ae(),iS()},useMutableSource:function(e,t,o){return ce="useMutableSource",Ae(),void 0},useSyncExternalStore:function(e,t,o){return ce="useSyncExternalStore",Ae(),YC(e,t,o)},useId:function(){return ce="useId",Ae(),aS()},unstable_isNewReconciler:fe},FI={readContext:function(e){return yr(e)},useCallback:function(e,t){return ce="useCallback",Ae(),Wy(e,t)},useContext:function(e){return ce="useContext",Ae(),yr(e)},useEffect:function(e,t){return ce="useEffect",Ae(),gv(e,t)},useImperativeHandle:function(e,t,o){return ce="useImperativeHandle",Ae(),jy(e,t,o)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",Ae(),Hy(e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",Ae(),Gy(e,t)},useMemo:function(e,t){ce="useMemo",Ae();var o=Le.current;Le.current=Oo;try{return Xy(e,t)}finally{Le.current=o}},useReducer:function(e,t,o){ce="useReducer",Ae();var l=Le.current;Le.current=Oo;try{return XC(e,t,o)}finally{Le.current=l}},useRef:function(e){return ce="useRef",Ae(),_y()},useState:function(e){ce="useState",Ae();var t=Le.current;Le.current=Oo;try{return $C(e)}finally{Le.current=t}},useDebugValue:function(e,t){return ce="useDebugValue",Ae(),Uy()},useDeferredValue:function(e){return ce="useDeferredValue",Ae(),TI(e)},useTransition:function(){return ce="useTransition",Ae(),AI()},useMutableSource:function(e,t,o){return ce="useMutableSource",Ae(),void 0},useSyncExternalStore:function(e,t,o){return ce="useSyncExternalStore",Ae(),Fy(e,t)},useId:function(){return ce="useId",Ae(),Zy()},unstable_isNewReconciler:fe},VI={readContext:function(e){return yr(e)},useCallback:function(e,t){return ce="useCallback",Ae(),Wy(e,t)},useContext:function(e){return ce="useContext",Ae(),yr(e)},useEffect:function(e,t){return ce="useEffect",Ae(),gv(e,t)},useImperativeHandle:function(e,t,o){return ce="useImperativeHandle",Ae(),jy(e,t,o)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",Ae(),Hy(e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",Ae(),Gy(e,t)},useMemo:function(e,t){ce="useMemo",Ae();var o=Le.current;Le.current=$y;try{return Xy(e,t)}finally{Le.current=o}},useReducer:function(e,t,o){ce="useReducer",Ae();var l=Le.current;Le.current=$y;try{return ZC(e,t,o)}finally{Le.current=l}},useRef:function(e){return ce="useRef",Ae(),_y()},useState:function(e){ce="useState",Ae();var t=Le.current;Le.current=$y;try{return JC(e)}finally{Le.current=t}},useDebugValue:function(e,t){return ce="useDebugValue",Ae(),Uy()},useDeferredValue:function(e){return ce="useDeferredValue",Ae(),RI(e)},useTransition:function(){return ce="useTransition",Ae(),II()},useMutableSource:function(e,t,o){return ce="useMutableSource",Ae(),void 0},useSyncExternalStore:function(e,t,o){return ce="useSyncExternalStore",Ae(),Fy(e,t)},useId:function(){return ce="useId",Ae(),Zy()},unstable_isNewReconciler:fe},xu={readContext:function(e){return oS(),yr(e)},useCallback:function(e,t){return ce="useCallback",Et(),nn(),tS(e,t)},useContext:function(e){return ce="useContext",Et(),nn(),yr(e)},useEffect:function(e,t){return ce="useEffect",Et(),nn(),zy(e,t)},useImperativeHandle:function(e,t,o){return ce="useImperativeHandle",Et(),nn(),eS(e,t,o)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",Et(),nn(),KC(e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",Et(),nn(),qC(e,t)},useMemo:function(e,t){ce="useMemo",Et(),nn();var o=Le.current;Le.current=xu;try{return nS(e,t)}finally{Le.current=o}},useReducer:function(e,t,o){ce="useReducer",Et(),nn();var l=Le.current;Le.current=xu;try{return WC(e,t,o)}finally{Le.current=l}},useRef:function(e){return ce="useRef",Et(),nn(),QC(e)},useState:function(e){ce="useState",Et(),nn();var t=Le.current;Le.current=xu;try{return Vy(e)}finally{Le.current=t}},useDebugValue:function(e,t){return ce="useDebugValue",Et(),nn(),void 0},useDeferredValue:function(e){return ce="useDeferredValue",Et(),nn(),rS(e)},useTransition:function(){return ce="useTransition",Et(),nn(),iS()},useMutableSource:function(e,t,o){return ce="useMutableSource",Et(),nn(),void 0},useSyncExternalStore:function(e,t,o){return ce="useSyncExternalStore",Et(),nn(),YC(e,t,o)},useId:function(){return ce="useId",Et(),nn(),aS()},unstable_isNewReconciler:fe},Oo={readContext:function(e){return oS(),yr(e)},useCallback:function(e,t){return ce="useCallback",Et(),Ae(),Wy(e,t)},useContext:function(e){return ce="useContext",Et(),Ae(),yr(e)},useEffect:function(e,t){return ce="useEffect",Et(),Ae(),gv(e,t)},useImperativeHandle:function(e,t,o){return ce="useImperativeHandle",Et(),Ae(),jy(e,t,o)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",Et(),Ae(),Hy(e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",Et(),Ae(),Gy(e,t)},useMemo:function(e,t){ce="useMemo",Et(),Ae();var o=Le.current;Le.current=Oo;try{return Xy(e,t)}finally{Le.current=o}},useReducer:function(e,t,o){ce="useReducer",Et(),Ae();var l=Le.current;Le.current=Oo;try{return XC(e,t,o)}finally{Le.current=l}},useRef:function(e){return ce="useRef",Et(),Ae(),_y()},useState:function(e){ce="useState",Et(),Ae();var t=Le.current;Le.current=Oo;try{return $C(e)}finally{Le.current=t}},useDebugValue:function(e,t){return ce="useDebugValue",Et(),Ae(),Uy()},useDeferredValue:function(e){return ce="useDeferredValue",Et(),Ae(),TI(e)},useTransition:function(){return ce="useTransition",Et(),Ae(),AI()},useMutableSource:function(e,t,o){return ce="useMutableSource",Et(),Ae(),void 0},useSyncExternalStore:function(e,t,o){return ce="useSyncExternalStore",Et(),Ae(),Fy(e,t)},useId:function(){return ce="useId",Et(),Ae(),Zy()},unstable_isNewReconciler:fe},$y={readContext:function(e){return oS(),yr(e)},useCallback:function(e,t){return ce="useCallback",Et(),Ae(),Wy(e,t)},useContext:function(e){return ce="useContext",Et(),Ae(),yr(e)},useEffect:function(e,t){return ce="useEffect",Et(),Ae(),gv(e,t)},useImperativeHandle:function(e,t,o){return ce="useImperativeHandle",Et(),Ae(),jy(e,t,o)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",Et(),Ae(),Hy(e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",Et(),Ae(),Gy(e,t)},useMemo:function(e,t){ce="useMemo",Et(),Ae();var o=Le.current;Le.current=Oo;try{return Xy(e,t)}finally{Le.current=o}},useReducer:function(e,t,o){ce="useReducer",Et(),Ae();var l=Le.current;Le.current=Oo;try{return ZC(e,t,o)}finally{Le.current=l}},useRef:function(e){return ce="useRef",Et(),Ae(),_y()},useState:function(e){ce="useState",Et(),Ae();var t=Le.current;Le.current=Oo;try{return JC(e)}finally{Le.current=t}},useDebugValue:function(e,t){return ce="useDebugValue",Et(),Ae(),Uy()},useDeferredValue:function(e){return ce="useDeferredValue",Et(),Ae(),RI(e)},useTransition:function(){return ce="useTransition",Et(),Ae(),II()},useMutableSource:function(e,t,o){return ce="useMutableSource",Et(),Ae(),void 0},useSyncExternalStore:function(e,t,o){return ce="useSyncExternalStore",Et(),Ae(),Fy(e,t)},useId:function(){return ce="useId",Et(),Ae(),Zy()},unstable_isNewReconciler:fe}}var _s=r.unstable_now,_I=0,Jy=-1,yv=-1,Qy=-1,uS=!1,Ky=!1;function BI(){return uS}function G_(){Ky=!0}function j_(){uS=!1,Ky=!1}function U_(){uS=Ky,Ky=!1}function zI(){return _I}function HI(){_I=_s()}function lS(e){yv=_s(),e.actualStartTime<0&&(e.actualStartTime=_s())}function GI(e){yv=-1}function qy(e,t){if(yv>=0){var o=_s()-yv;e.actualDuration+=o,t&&(e.selfBaseDuration=o),yv=-1}}function Eu(e){if(Jy>=0){var t=_s()-Jy;Jy=-1;for(var o=e.return;o!==null;){switch(o.tag){case w:var l=o.stateNode;l.effectDuration+=t;return;case q:var f=o.stateNode;f.effectDuration+=t;return}o=o.return}}}function sS(e){if(Qy>=0){var t=_s()-Qy;Qy=-1;for(var o=e.return;o!==null;){switch(o.tag){case w:var l=o.stateNode;l!==null&&(l.passiveEffectDuration+=t);return;case q:var f=o.stateNode;f!==null&&(f.passiveEffectDuration+=t);return}o=o.return}}}function Tu(){Jy=_s()}function cS(){Qy=_s()}function fS(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function ko(e,t){if(e&&e.defaultProps){var o=Mt({},t),l=e.defaultProps;for(var f in l)o[f]===void 0&&(o[f]=l[f]);return o}return t}var dS={},pS,hS,vS,mS,gS,jI,e0,yS,bS,CS,bv;{pS=new Set,hS=new Set,vS=new Set,mS=new Set,yS=new Set,gS=new Set,bS=new Set,CS=new Set,bv=new Set;var UI=new Set;e0=function(e,t){if(!(e===null||typeof e=="function")){var o=t+"_"+e;UI.has(o)||(UI.add(o),h("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},jI=function(e,t){if(t===void 0){var o=_t(e)||"Component";gS.has(o)||(gS.add(o),h("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",o))}},Object.defineProperty(dS,"_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(dS)}function SS(e,t,o,l){var f=e.memoizedState,v=o(l,f);{if(e.mode&kt){qn(!0);try{v=o(l,f)}finally{qn(!1)}}jI(t,v)}var y=v==null?f:Mt({},f,v);if(e.memoizedState=y,e.lanes===pe){var E=e.updateQueue;E.baseState=y}}var xS={isMounted:zi,enqueueSetState:function(e,t,o){var l=ra(e),f=Xi(),v=Gs(l),y=gl(f,v);y.payload=t,o!=null&&(e0(o,"setState"),y.callback=o);var E=Ns(l,y,v);E!==null&&(Mr(E,l,v,f),Dy(E,l,v)),Sc(l,v)},enqueueReplaceState:function(e,t,o){var l=ra(e),f=Xi(),v=Gs(l),y=gl(f,v);y.tag=uI,y.payload=t,o!=null&&(e0(o,"replaceState"),y.callback=o);var E=Ns(l,y,v);E!==null&&(Mr(E,l,v,f),Dy(E,l,v)),Sc(l,v)},enqueueForceUpdate:function(e,t){var o=ra(e),l=Xi(),f=Gs(o),v=gl(l,f);v.tag=wy,t!=null&&(e0(t,"forceUpdate"),v.callback=t);var y=Ns(o,v,f);y!==null&&(Mr(y,o,f,l),Dy(y,o,f)),Yf(o,f)}};function WI(e,t,o,l,f,v,y){var E=e.stateNode;if(typeof E.shouldComponentUpdate=="function"){var R=E.shouldComponentUpdate(l,v,y);{if(e.mode&kt){qn(!0);try{R=E.shouldComponentUpdate(l,v,y)}finally{qn(!1)}}R===void 0&&h("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",_t(t)||"Component")}return R}return t.prototype&&t.prototype.isPureReactComponent?!pt(o,l)||!pt(f,v):!0}function W_(e,t,o){var l=e.stateNode;{var f=_t(t)||"Component",v=l.render;v||(t.prototype&&typeof t.prototype.render=="function"?h("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",f):h("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",f)),l.getInitialState&&!l.getInitialState.isReactClassApproved&&!l.state&&h("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?",f),l.getDefaultProps&&!l.getDefaultProps.isReactClassApproved&&h("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.",f),l.propTypes&&h("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",f),l.contextType&&h("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",f),t.childContextTypes&&!bv.has(t)&&(e.mode&kt)===Ye&&(bv.add(t),h(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
193
-
194
- .Learn more about this warning here: https://reactjs.org/link/legacy-context`,f)),t.contextTypes&&!bv.has(t)&&(e.mode&kt)===Ye&&(bv.add(t),h(`%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.
195
-
196
- Learn more about this warning here: https://reactjs.org/link/legacy-context`,f)),l.contextTypes&&h("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",f),t.contextType&&t.contextTypes&&!bS.has(t)&&(bS.add(t),h("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",f)),typeof l.componentShouldUpdate=="function"&&h("%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.",f),t.prototype&&t.prototype.isPureReactComponent&&typeof l.shouldComponentUpdate<"u"&&h("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",_t(t)||"A pure component"),typeof l.componentDidUnmount=="function"&&h("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",f),typeof l.componentDidReceiveProps=="function"&&h("%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().",f),typeof l.componentWillRecieveProps=="function"&&h("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",f),typeof l.UNSAFE_componentWillRecieveProps=="function"&&h("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",f);var y=l.props!==o;l.props!==void 0&&y&&h("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",f,f),l.defaultProps&&h("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",f,f),typeof l.getSnapshotBeforeUpdate=="function"&&typeof l.componentDidUpdate!="function"&&!vS.has(t)&&(vS.add(t),h("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",_t(t))),typeof l.getDerivedStateFromProps=="function"&&h("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",f),typeof l.getDerivedStateFromError=="function"&&h("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",f),typeof t.getSnapshotBeforeUpdate=="function"&&h("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",f);var E=l.state;E&&(typeof E!="object"||Bt(E))&&h("%s.state: must be set to an object or null",f),typeof l.getChildContext=="function"&&typeof t.childContextTypes!="object"&&h("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",f)}}function XI(e,t){t.updater=xS,e.stateNode=t,Ql(t,e),t._reactInternalInstance=dS}function ZI(e,t,o){var l=!1,f=ka,v=ka,y=t.contextType;if("contextType"in t){var E=y===null||y!==void 0&&y.$$typeof===ve&&y._context===void 0;if(!E&&!CS.has(t)){CS.add(t);var R="";y===void 0?R=" 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 y!="object"?R=" However, it is set to a "+typeof y+".":y.$$typeof===P?R=" Did you accidentally pass the Context.Provider instead?":y._context!==void 0?R=" Did you accidentally pass the Context.Consumer instead?":R=" However, it is set to an object with keys {"+Object.keys(y).join(", ")+"}.",h("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",_t(t)||"Component",R)}}if(typeof y=="object"&&y!==null)v=yr(y);else{f=Hd(e,t,!0);var D=t.contextTypes;l=D!=null,v=l?Gd(e,f):ka}var O=new t(o,v);if(e.mode&kt){qn(!0);try{O=new t(o,v)}finally{qn(!1)}}var W=e.memoizedState=O.state!==null&&O.state!==void 0?O.state:null;XI(e,O);{if(typeof t.getDerivedStateFromProps=="function"&&W===null){var G=_t(t)||"Component";hS.has(G)||(hS.add(G),h("`%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.",G,O.state===null?"null":"undefined",G))}if(typeof t.getDerivedStateFromProps=="function"||typeof O.getSnapshotBeforeUpdate=="function"){var ee=null,re=null,oe=null;if(typeof O.componentWillMount=="function"&&O.componentWillMount.__suppressDeprecationWarning!==!0?ee="componentWillMount":typeof O.UNSAFE_componentWillMount=="function"&&(ee="UNSAFE_componentWillMount"),typeof O.componentWillReceiveProps=="function"&&O.componentWillReceiveProps.__suppressDeprecationWarning!==!0?re="componentWillReceiveProps":typeof O.UNSAFE_componentWillReceiveProps=="function"&&(re="UNSAFE_componentWillReceiveProps"),typeof O.componentWillUpdate=="function"&&O.componentWillUpdate.__suppressDeprecationWarning!==!0?oe="componentWillUpdate":typeof O.UNSAFE_componentWillUpdate=="function"&&(oe="UNSAFE_componentWillUpdate"),ee!==null||re!==null||oe!==null){var De=_t(t)||"Component",at=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";mS.has(De)||(mS.add(De),h(`Unsafe legacy lifecycles will not be called for components using new component APIs.
197
-
198
- %s uses %s but also contains the following legacy lifecycles:%s%s%s
199
-
200
- The above lifecycles should be removed. Learn more about this warning here:
201
- https://reactjs.org/link/unsafe-component-lifecycles`,De,at,ee!==null?`
202
- `+ee:"",re!==null?`
203
- `+re:"",oe!==null?`
204
- `+oe:""))}}}return l&&FA(e,f,v),O}function X_(e,t){var o=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),o!==t.state&&(h("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",xt(e)||"Component"),xS.enqueueReplaceState(t,t.state,null))}function YI(e,t,o,l){var f=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(o,l),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(o,l),t.state!==f){{var v=xt(e)||"Component";pS.has(v)||(pS.add(v),h("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",v))}xS.enqueueReplaceState(t,t.state,null)}}function ES(e,t,o,l){W_(e,t,o);var f=e.stateNode;f.props=o,f.state=e.memoizedState,f.refs={},kC(e);var v=t.contextType;if(typeof v=="object"&&v!==null)f.context=yr(v);else{var y=Hd(e,t,!0);f.context=Gd(e,y)}{if(f.state===o){var E=_t(t)||"Component";yS.has(E)||(yS.add(E),h("%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.",E))}e.mode&kt&&Do.recordLegacyContextWarning(e,f),Do.recordUnsafeLifecycleWarnings(e,f)}f.state=e.memoizedState;var R=t.getDerivedStateFromProps;if(typeof R=="function"&&(SS(e,t,R,o),f.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof f.getSnapshotBeforeUpdate!="function"&&(typeof f.UNSAFE_componentWillMount=="function"||typeof f.componentWillMount=="function")&&(X_(e,f),My(e,o,f,l),f.state=e.memoizedState),typeof f.componentDidMount=="function"){var D=At;D|=bi,(e.mode&Gi)!==Ye&&(D|=Ci),e.flags|=D}}function Z_(e,t,o,l){var f=e.stateNode,v=e.memoizedProps;f.props=v;var y=f.context,E=t.contextType,R=ka;if(typeof E=="object"&&E!==null)R=yr(E);else{var D=Hd(e,t,!0);R=Gd(e,D)}var O=t.getDerivedStateFromProps,W=typeof O=="function"||typeof f.getSnapshotBeforeUpdate=="function";!W&&(typeof f.UNSAFE_componentWillReceiveProps=="function"||typeof f.componentWillReceiveProps=="function")&&(v!==o||y!==R)&&YI(e,f,o,R),sI();var G=e.memoizedState,ee=f.state=G;if(My(e,o,f,l),ee=e.memoizedState,v===o&&G===ee&&!fy()&&!Oy()){if(typeof f.componentDidMount=="function"){var re=At;re|=bi,(e.mode&Gi)!==Ye&&(re|=Ci),e.flags|=re}return!1}typeof O=="function"&&(SS(e,t,O,o),ee=e.memoizedState);var oe=Oy()||WI(e,t,v,o,G,ee,R);if(oe){if(!W&&(typeof f.UNSAFE_componentWillMount=="function"||typeof f.componentWillMount=="function")&&(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"){var De=At;De|=bi,(e.mode&Gi)!==Ye&&(De|=Ci),e.flags|=De}}else{if(typeof f.componentDidMount=="function"){var at=At;at|=bi,(e.mode&Gi)!==Ye&&(at|=Ci),e.flags|=at}e.memoizedProps=o,e.memoizedState=ee}return f.props=o,f.state=ee,f.context=R,oe}function Y_(e,t,o,l,f){var v=t.stateNode;lI(e,t);var y=t.memoizedProps,E=t.type===t.elementType?y:ko(t.type,y);v.props=E;var R=t.pendingProps,D=v.context,O=o.contextType,W=ka;if(typeof O=="object"&&O!==null)W=yr(O);else{var G=Hd(t,o,!0);W=Gd(t,G)}var ee=o.getDerivedStateFromProps,re=typeof ee=="function"||typeof v.getSnapshotBeforeUpdate=="function";!re&&(typeof v.UNSAFE_componentWillReceiveProps=="function"||typeof v.componentWillReceiveProps=="function")&&(y!==R||D!==W)&&YI(t,v,l,W),sI();var oe=t.memoizedState,De=v.state=oe;if(My(t,l,v,f),De=t.memoizedState,y===R&&oe===De&&!fy()&&!Oy()&&!Ne)return typeof v.componentDidUpdate=="function"&&(y!==e.memoizedProps||oe!==e.memoizedState)&&(t.flags|=At),typeof v.getSnapshotBeforeUpdate=="function"&&(y!==e.memoizedProps||oe!==e.memoizedState)&&(t.flags|=ia),!1;typeof ee=="function"&&(SS(t,o,ee,l),De=t.memoizedState);var at=Oy()||WI(t,o,E,l,oe,De,W)||Ne;return at?(!re&&(typeof v.UNSAFE_componentWillUpdate=="function"||typeof v.componentWillUpdate=="function")&&(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(l,De,W),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(l,De,W)),typeof v.componentDidUpdate=="function"&&(t.flags|=At),typeof v.getSnapshotBeforeUpdate=="function"&&(t.flags|=ia)):(typeof v.componentDidUpdate=="function"&&(y!==e.memoizedProps||oe!==e.memoizedState)&&(t.flags|=At),typeof v.getSnapshotBeforeUpdate=="function"&&(y!==e.memoizedProps||oe!==e.memoizedState)&&(t.flags|=ia),t.memoizedProps=l,t.memoizedState=De),v.props=l,v.state=De,v.context=W,at}function Kc(e,t){return{value:e,source:t,stack:_l(t),digest:null}}function TS(e,t,o){return{value:e,source:null,stack:o??null,digest:t??null}}function $_(e,t){return!0}function RS(e,t){try{var o=$_(e,t);if(o===!1)return;var l=t.value,f=t.source,v=t.stack,y=v!==null?v:"";if(l!=null&&l._suppressLogging){if(e.tag===x)return;console.error(l)}var E=f?xt(f):null,R=E?"The above error occurred in the <"+E+"> component:":"The above error occurred in one of your React components:",D;if(e.tag===w)D=`Consider adding an error boundary to your tree to customize error handling behavior.
205
- Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var O=xt(e)||"Anonymous";D="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+O+".")}var W=R+`
206
- `+y+`
207
-
208
- `+(""+D);console.error(W)}catch(G){setTimeout(function(){throw G})}}var J_=typeof WeakMap=="function"?WeakMap:Map;function $I(e,t,o){var l=gl(Cn,o);l.tag=MC,l.payload={element:null};var f=t.value;return l.callback=function(){G5(f),RS(e,t)},l}function wS(e,t,o){var l=gl(Cn,o);l.tag=MC;var f=e.type.getDerivedStateFromError;if(typeof f=="function"){var v=t.value;l.payload=function(){return f(v)},l.callback=function(){oD(e),RS(e,t)}}var y=e.stateNode;return y!==null&&typeof y.componentDidCatch=="function"&&(l.callback=function(){oD(e),RS(e,t),typeof f!="function"&&z5(this);var R=t.value,D=t.stack;this.componentDidCatch(R,{componentStack:D!==null?D:""}),typeof f!="function"&&(wi(e.lanes,tt)||h("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",xt(e)||"Unknown"))}),l}function JI(e,t,o){var l=e.pingCache,f;if(l===null?(l=e.pingCache=new J_,f=new Set,l.set(t,f)):(f=l.get(t),f===void 0&&(f=new Set,l.set(t,f))),!f.has(o)){f.add(o);var v=j5.bind(null,e,t,o);Hi&&Fv(e,o),t.then(v,v)}}function Q_(e,t,o,l){var f=e.updateQueue;if(f===null){var v=new Set;v.add(o),e.updateQueue=v}else f.add(o)}function K_(e,t){var o=e.tag;if((e.mode&Qe)===Ye&&(o===b||o===z||o===le)){var l=e.alternate;l?(e.updateQueue=l.updateQueue,e.memoizedState=l.memoizedState,e.lanes=l.lanes):(e.updateQueue=null,e.memoizedState=null)}}function QI(e){var t=e;do{if(t.tag===H&&k_(t))return t;t=t.return}while(t!==null);return null}function KI(e,t,o,l,f){if((e.mode&Qe)===Ye){if(e===t)e.flags|=hr;else{if(e.flags|=yt,o.flags|=yc,o.flags&=~(Ff|_i),o.tag===x){var v=o.alternate;if(v===null)o.tag=He;else{var y=gl(Cn,tt);y.tag=wy,Ns(o,y,tt)}}o.lanes=wt(o.lanes,tt)}return e}return e.flags|=hr,e.lanes=f,e}function q_(e,t,o,l,f){if(o.flags|=_i,Hi&&Fv(e,f),l!==null&&typeof l=="object"&&typeof l.then=="function"){var v=l;K_(o),qr()&&o.mode&Qe&&jA();var y=QI(t);if(y!==null){y.flags&=~Vn,KI(y,t,o,e,f),y.mode&Qe&&JI(e,v,f),Q_(y,e,v);return}else{if(!xh(f)){JI(e,v,f),ax();return}var E=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.");l=E}}else if(qr()&&o.mode&Qe){jA();var R=QI(t);if(R!==null){(R.flags&hr)===it&&(R.flags|=Vn),KI(R,t,o,e,f),yC(Kc(l,o));return}}l=Kc(l,o),k5(l);var D=t;do{switch(D.tag){case w:{var O=l;D.flags|=hr;var W=fs(f);D.lanes=wt(D.lanes,W);var G=$I(D,O,W);LC(D,G);return}case x:var ee=l,re=D.type,oe=D.stateNode;if((D.flags&yt)===it&&(typeof re.getDerivedStateFromError=="function"||oe!==null&&typeof oe.componentDidCatch=="function"&&!Q2(oe))){D.flags|=hr;var De=fs(f);D.lanes=wt(D.lanes,De);var at=wS(D,ee,De);LC(D,at);return}break}D=D.return}while(D!==null)}function eB(){return null}var Cv=u.ReactCurrentOwner,Lo=!1,AS,Sv,IS,DS,MS,qc,OS,t0,xv;AS={},Sv={},IS={},DS={},MS={},qc=!1,OS={},t0={},xv={};function Ui(e,t,o,l){e===null?t.child=tI(t,null,o,l):t.child=Xd(t,e.child,o,l)}function tB(e,t,o,l){t.child=Xd(t,e.child,null,l),t.child=Xd(t,null,o,l)}function qI(e,t,o,l,f){if(t.type!==t.elementType){var v=o.propTypes;v&&Ao(v,l,"prop",_t(o))}var y=o.render,E=t.ref,R,D;Yd(t,f),ts(t);{if(Cv.current=t,mi(!0),R=ep(e,t,y,l,E,f),D=tp(),t.mode&kt){qn(!0);try{R=ep(e,t,y,l,E,f),D=tp()}finally{qn(!1)}}mi(!1)}return Ei(),e!==null&&!Lo?(vI(e,t,f),yl(e,t,f)):(qr()&&D&&dC(t),t.flags|=ou,Ui(e,t,R,f),t.child)}function e2(e,t,o,l,f){if(e===null){var v=o.type;if(oz(v)&&o.compare===null&&o.defaultProps===void 0){var y=v;return y=sp(v),t.tag=le,t.type=y,NS(t,v),t2(e,t,y,l,f)}{var E=v.propTypes;if(E&&Ao(E,l,"prop",_t(v)),o.defaultProps!==void 0){var R=_t(v)||"Unknown";xv[R]||(h("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",R),xv[R]=!0)}}var D=mx(o.type,null,l,t,t.mode,f);return D.ref=t.ref,D.return=t,t.child=D,D}{var O=o.type,W=O.propTypes;W&&Ao(W,l,"prop",_t(O))}var G=e.child,ee=zS(e,f);if(!ee){var re=G.memoizedProps,oe=o.compare;if(oe=oe!==null?oe:pt,oe(re,l)&&e.ref===t.ref)return yl(e,t,f)}t.flags|=ou;var De=af(G,l);return De.ref=t.ref,De.return=t,t.child=De,De}function t2(e,t,o,l,f){if(t.type!==t.elementType){var v=t.elementType;if(v.$$typeof===st){var y=v,E=y._payload,R=y._init;try{v=R(E)}catch{v=null}var D=v&&v.propTypes;D&&Ao(D,l,"prop",_t(v))}}if(e!==null){var O=e.memoizedProps;if(pt(O,l)&&e.ref===t.ref&&t.type===e.type)if(Lo=!1,t.pendingProps=l=O,zS(e,f))(e.flags&yc)!==it&&(Lo=!0);else return t.lanes=e.lanes,yl(e,t,f)}return kS(e,t,o,l,f)}function n2(e,t,o){var l=t.pendingProps,f=l.children,v=e!==null?e.memoizedState:null;if(l.mode==="hidden"||xe)if((t.mode&Qe)===Ye){var y={baseLanes:pe,cachePool:null,transitions:null};t.memoizedState=y,h0(t,o)}else if(wi(o,Vr)){var W={baseLanes:pe,cachePool:null,transitions:null};t.memoizedState=W;var G=v!==null?v.baseLanes:o;h0(t,G)}else{var E=null,R;if(v!==null){var D=v.baseLanes;R=wt(D,o)}else R=o;t.lanes=t.childLanes=Vr;var O={baseLanes:R,cachePool:E,transitions:null};return t.memoizedState=O,t.updateQueue=null,h0(t,R),null}else{var ee;v!==null?(ee=wt(v.baseLanes,o),t.memoizedState=null):ee=o,h0(t,ee)}return Ui(e,t,f,o),t.child}function nB(e,t,o){var l=t.pendingProps;return Ui(e,t,l,o),t.child}function rB(e,t,o){var l=t.pendingProps.children;return Ui(e,t,l,o),t.child}function iB(e,t,o){{t.flags|=At;{var l=t.stateNode;l.effectDuration=0,l.passiveEffectDuration=0}}var f=t.pendingProps,v=f.children;return Ui(e,t,v,o),t.child}function r2(e,t){var o=t.ref;(e===null&&o!==null||e!==null&&e.ref!==o)&&(t.flags|=yi,t.flags|=sh)}function kS(e,t,o,l,f){if(t.type!==t.elementType){var v=o.propTypes;v&&Ao(v,l,"prop",_t(o))}var y;{var E=Hd(t,o,!0);y=Gd(t,E)}var R,D;Yd(t,f),ts(t);{if(Cv.current=t,mi(!0),R=ep(e,t,o,l,y,f),D=tp(),t.mode&kt){qn(!0);try{R=ep(e,t,o,l,y,f),D=tp()}finally{qn(!1)}}mi(!1)}return Ei(),e!==null&&!Lo?(vI(e,t,f),yl(e,t,f)):(qr()&&D&&dC(t),t.flags|=ou,Ui(e,t,R,f),t.child)}function i2(e,t,o,l,f){{switch(Sz(t)){case!1:{var v=t.stateNode,y=t.type,E=new y(t.memoizedProps,v.context),R=E.state;v.updater.enqueueSetState(v,R,null);break}case!0:{t.flags|=yt,t.flags|=hr;var D=new Error("Simulated error coming from DevTools"),O=fs(f);t.lanes=wt(t.lanes,O);var W=wS(t,Kc(D,t),O);LC(t,W);break}}if(t.type!==t.elementType){var G=o.propTypes;G&&Ao(G,l,"prop",_t(o))}}var ee;bu(o)?(ee=!0,py(t)):ee=!1,Yd(t,f);var re=t.stateNode,oe;re===null?(r0(e,t),ZI(t,o,l),ES(t,o,l,f),oe=!0):e===null?oe=Z_(t,o,l,f):oe=Y_(e,t,o,l,f);var De=LS(e,t,o,oe,ee,f);{var at=t.stateNode;oe&&at.props!==l&&(qc||h("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",xt(t)||"a component"),qc=!0)}return De}function LS(e,t,o,l,f,v){r2(e,t);var y=(t.flags&yt)!==it;if(!l&&!y)return f&&BA(t,o,!1),yl(e,t,v);var E=t.stateNode;Cv.current=t;var R;if(y&&typeof o.getDerivedStateFromError!="function")R=null,GI();else{ts(t);{if(mi(!0),R=E.render(),t.mode&kt){qn(!0);try{E.render()}finally{qn(!1)}}mi(!1)}Ei()}return t.flags|=ou,e!==null&&y?tB(e,t,R,v):Ui(e,t,R,v),t.memoizedState=E.state,f&&BA(t,o,!0),t.child}function a2(e){var t=e.stateNode;t.pendingContext?VA(e,t.pendingContext,t.pendingContext!==t.context):t.context&&VA(e,t.context,!1),NC(e,t.containerInfo)}function aB(e,t,o){if(a2(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var l=t.pendingProps,f=t.memoizedState,v=f.element;lI(e,t),My(t,l,null,o);var y=t.memoizedState;t.stateNode;var E=y.element;if(f.isDehydrated){var R={element:E,isDehydrated:!1,cache:y.cache,pendingSuspenseBoundaries:y.pendingSuspenseBoundaries,transitions:y.transitions},D=t.updateQueue;if(D.baseState=R,t.memoizedState=R,t.flags&Vn){var O=Kc(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 o2(e,t,E,o,O)}else if(E!==v){var W=Kc(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return o2(e,t,E,o,W)}else{l_(t);var G=tI(t,null,E,o);t.child=G;for(var ee=G;ee;)ee.flags=ee.flags&~xn|aa,ee=ee.sibling}}else{if(Wd(),E===v)return yl(e,t,o);Ui(e,t,E,o)}return t.child}function o2(e,t,o,l,f){return Wd(),yC(f),t.flags|=Vn,Ui(e,t,o,l),t.child}function oB(e,t,o){dI(t),e===null&&gC(t);var l=t.type,f=t.pendingProps,v=e!==null?e.memoizedProps:null,y=f.children,E=K1(l,f);return E?y=null:v!==null&&K1(l,v)&&(t.flags|=tn),r2(e,t),Ui(e,t,y,o),t.child}function uB(e,t){return e===null&&gC(t),null}function lB(e,t,o,l){r0(e,t);var f=t.pendingProps,v=o,y=v._payload,E=v._init,R=E(y);t.type=R;var D=t.tag=uz(R),O=ko(R,f),W;switch(D){case b:return NS(t,R),t.type=R=sp(R),W=kS(null,t,R,O,l),W;case x:return t.type=R=cx(R),W=i2(null,t,R,O,l),W;case z:return t.type=R=fx(R),W=qI(null,t,R,O,l),W;case se:{if(t.type!==t.elementType){var G=R.propTypes;G&&Ao(G,O,"prop",_t(R))}return W=e2(null,t,R,ko(R.type,O),l),W}}var ee="";throw R!==null&&typeof R=="object"&&R.$$typeof===st&&(ee=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+R+". "+("Lazy element type must resolve to a class or function."+ee))}function sB(e,t,o,l,f){r0(e,t),t.tag=x;var v;return bu(o)?(v=!0,py(t)):v=!1,Yd(t,f),ZI(t,o,l),ES(t,o,l,f),LS(null,t,o,!0,v,f)}function cB(e,t,o,l){r0(e,t);var f=t.pendingProps,v;{var y=Hd(t,o,!1);v=Gd(t,y)}Yd(t,l);var E,R;ts(t);{if(o.prototype&&typeof o.prototype.render=="function"){var D=_t(o)||"Unknown";AS[D]||(h("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.",D,D),AS[D]=!0)}t.mode&kt&&Do.recordLegacyContextWarning(t,null),mi(!0),Cv.current=t,E=ep(null,t,o,f,v,l),R=tp(),mi(!1)}if(Ei(),t.flags|=ou,typeof E=="object"&&E!==null&&typeof E.render=="function"&&E.$$typeof===void 0){var O=_t(o)||"Unknown";Sv[O]||(h("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.",O,O,O),Sv[O]=!0)}if(typeof E=="object"&&E!==null&&typeof E.render=="function"&&E.$$typeof===void 0){{var W=_t(o)||"Unknown";Sv[W]||(h("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.",W,W,W),Sv[W]=!0)}t.tag=x,t.memoizedState=null,t.updateQueue=null;var G=!1;return bu(o)?(G=!0,py(t)):G=!1,t.memoizedState=E.state!==null&&E.state!==void 0?E.state:null,kC(t),XI(t,E),ES(t,o,f,l),LS(null,t,o,!0,G,l)}else{if(t.tag=b,t.mode&kt){qn(!0);try{E=ep(null,t,o,f,v,l),R=tp()}finally{qn(!1)}}return qr()&&R&&dC(t),Ui(null,t,E,l),NS(t,o),t.child}}function NS(e,t){{if(t&&t.childContextTypes&&h("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var o="",l=Jr();l&&(o+=`
209
-
210
- Check the render method of \``+l+"`.");var f=l||"",v=e._debugSource;v&&(f=v.fileName+":"+v.lineNumber),MS[f]||(MS[f]=!0,h("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",o))}if(t.defaultProps!==void 0){var y=_t(t)||"Unknown";xv[y]||(h("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",y),xv[y]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var E=_t(t)||"Unknown";DS[E]||(h("%s: Function components do not support getDerivedStateFromProps.",E),DS[E]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var R=_t(t)||"Unknown";IS[R]||(h("%s: Function components do not support contextType.",R),IS[R]=!0)}}}var PS={dehydrated:null,treeContext:null,retryLane:er};function FS(e){return{baseLanes:e,cachePool:eB(),transitions:null}}function fB(e,t){var o=null;return{baseLanes:wt(e.baseLanes,t),cachePool:o,transitions:e.transitions}}function dB(e,t,o,l){if(t!==null){var f=t.memoizedState;if(f===null)return!1}return VC(e,fv)}function pB(e,t){return Ic(e.childLanes,t)}function u2(e,t,o){var l=t.pendingProps;xz(t)&&(t.flags|=yt);var f=Mo.current,v=!1,y=(t.flags&yt)!==it;if(y||dB(f,e)?(v=!0,t.flags&=~yt):(e===null||e.memoizedState!==null)&&(f=O_(f,hI)),f=Jd(f),Fs(t,f),e===null){gC(t);var E=t.memoizedState;if(E!==null){var R=E.dehydrated;if(R!==null)return yB(t,R)}var D=l.children,O=l.fallback;if(v){var W=hB(t,D,O,o),G=t.child;return G.memoizedState=FS(o),t.memoizedState=PS,W}else return VS(t,D)}else{var ee=e.memoizedState;if(ee!==null){var re=ee.dehydrated;if(re!==null)return bB(e,t,y,l,re,ee,o)}if(v){var oe=l.fallback,De=l.children,at=mB(e,t,De,oe,o),Ke=t.child,Ht=e.child.memoizedState;return Ke.memoizedState=Ht===null?FS(o):fB(Ht,o),Ke.childLanes=pB(e,o),t.memoizedState=PS,at}else{var Pt=l.children,J=vB(e,t,Pt,o);return t.memoizedState=null,J}}}function VS(e,t,o){var l=e.mode,f={mode:"visible",children:t},v=_S(f,l);return v.return=e,e.child=v,v}function hB(e,t,o,l){var f=e.mode,v=e.child,y={mode:"hidden",children:t},E,R;return(f&Qe)===Ye&&v!==null?(E=v,E.childLanes=pe,E.pendingProps=y,e.mode&bt&&(E.actualDuration=0,E.actualStartTime=-1,E.selfBaseDuration=0,E.treeBaseDuration=0),R=Us(o,f,l,null)):(E=_S(y,f),R=Us(o,f,l,null)),E.return=e,R.return=e,E.sibling=R,e.child=E,R}function _S(e,t,o){return lD(e,t,pe,null)}function l2(e,t){return af(e,t)}function vB(e,t,o,l){var f=e.child,v=f.sibling,y=l2(f,{mode:"visible",children:o});if((t.mode&Qe)===Ye&&(y.lanes=l),y.return=t,y.sibling=null,v!==null){var E=t.deletions;E===null?(t.deletions=[v],t.flags|=$t):E.push(v)}return t.child=y,y}function mB(e,t,o,l,f){var v=t.mode,y=e.child,E=y.sibling,R={mode:"hidden",children:o},D;if((v&Qe)===Ye&&t.child!==y){var O=t.child;D=O,D.childLanes=pe,D.pendingProps=R,t.mode&bt&&(D.actualDuration=0,D.actualStartTime=-1,D.selfBaseDuration=y.selfBaseDuration,D.treeBaseDuration=y.treeBaseDuration),t.deletions=null}else D=l2(y,R),D.subtreeFlags=y.subtreeFlags&Cr;var W;return E!==null?W=af(E,l):(W=Us(l,v,f,null),W.flags|=xn),W.return=t,D.return=t,D.sibling=W,t.child=D,W}function n0(e,t,o,l){l!==null&&yC(l),Xd(t,e.child,null,o);var f=t.pendingProps,v=f.children,y=VS(t,v);return y.flags|=xn,t.memoizedState=null,y}function gB(e,t,o,l,f){var v=t.mode,y={mode:"visible",children:o},E=_S(y,v),R=Us(l,v,f,null);return R.flags|=xn,E.return=t,R.return=t,E.sibling=R,t.child=E,(t.mode&Qe)!==Ye&&Xd(t,e.child,null,f),R}function yB(e,t,o){return(e.mode&Qe)===Ye?(h("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=tt):nC(t)?e.lanes=xo:e.lanes=Vr,null}function bB(e,t,o,l,f,v,y){if(o)if(t.flags&Vn){t.flags&=~Vn;var J=TS(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return n0(e,t,y,J)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=yt,null;var ue=l.children,Q=l.fallback,ye=gB(e,t,ue,Q,y),Pe=t.child;return Pe.memoizedState=FS(y),t.memoizedState=PS,ye}else{if(o_(),(t.mode&Qe)===Ye)return n0(e,t,y,null);if(nC(f)){var E,R,D;{var O=E9(f);E=O.digest,R=O.message,D=O.stack}var W;R?W=new Error(R):W=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var G=TS(W,E,D);return n0(e,t,y,G)}var ee=wi(y,e.childLanes);if(Lo||ee){var re=p0();if(re!==null){var oe=Ig(re,y);if(oe!==er&&oe!==v.retryLane){v.retryLane=oe;var De=Cn;ga(e,oe),Mr(re,e,oe,De)}}ax();var at=TS(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 n0(e,t,y,at)}else if(OA(f)){t.flags|=yt,t.child=e.child;var Ke=U5.bind(null,e);return T9(f,Ke),null}else{s_(t,f,v.treeContext);var Ht=l.children,Pt=VS(t,Ht);return Pt.flags|=aa,Pt}}}function s2(e,t,o){e.lanes=wt(e.lanes,t);var l=e.alternate;l!==null&&(l.lanes=wt(l.lanes,t)),IC(e.return,t,o)}function CB(e,t,o){for(var l=t;l!==null;){if(l.tag===H){var f=l.memoizedState;f!==null&&s2(l,o,e)}else if(l.tag===nt)s2(l,o,e);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===e)return;for(;l.sibling===null;){if(l.return===null||l.return===e)return;l=l.return}l.sibling.return=l.return,l=l.sibling}}function SB(e){for(var t=e,o=null;t!==null;){var l=t.alternate;l!==null&&Ny(l)===null&&(o=t),t=t.sibling}return o}function xB(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!OS[e])if(OS[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{h('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{h('"%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:h('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else h('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function EB(e,t){e!==void 0&&!t0[e]&&(e!=="collapsed"&&e!=="hidden"?(t0[e]=!0,h('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(t0[e]=!0,h('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function c2(e,t){{var o=Bt(e),l=!o&&typeof Zr(e)=="function";if(o||l){var f=o?"array":"iterable";return h("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>",f,t,f),!1}}return!0}function TB(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Bt(e)){for(var o=0;o<e.length;o++)if(!c2(e[o],o))return}else{var l=Zr(e);if(typeof l=="function"){var f=l.call(e);if(f)for(var v=f.next(),y=0;!v.done;v=f.next()){if(!c2(v.value,y))return;y++}}else h('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 BS(e,t,o,l,f){var v=e.memoizedState;v===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:l,tail:o,tailMode:f}:(v.isBackwards=t,v.rendering=null,v.renderingStartTime=0,v.last=l,v.tail=o,v.tailMode=f)}function f2(e,t,o){var l=t.pendingProps,f=l.revealOrder,v=l.tail,y=l.children;xB(f),EB(v,f),TB(y,f),Ui(e,t,y,o);var E=Mo.current,R=VC(E,fv);if(R)E=_C(E,fv),t.flags|=yt;else{var D=e!==null&&(e.flags&yt)!==it;D&&CB(t,t.child,o),E=Jd(E)}if(Fs(t,E),(t.mode&Qe)===Ye)t.memoizedState=null;else switch(f){case"forwards":{var O=SB(t.child),W;O===null?(W=t.child,t.child=null):(W=O.sibling,O.sibling=null),BS(t,!1,W,O,v);break}case"backwards":{var G=null,ee=t.child;for(t.child=null;ee!==null;){var re=ee.alternate;if(re!==null&&Ny(re)===null){t.child=ee;break}var oe=ee.sibling;ee.sibling=G,G=ee,ee=oe}BS(t,!0,G,null,v);break}case"together":{BS(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function RB(e,t,o){NC(t,t.stateNode.containerInfo);var l=t.pendingProps;return e===null?t.child=Xd(t,null,l,o):Ui(e,t,l,o),t.child}var d2=!1;function wB(e,t,o){var l=t.type,f=l._context,v=t.pendingProps,y=t.memoizedProps,E=v.value;{"value"in v||d2||(d2=!0,h("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var R=t.type.propTypes;R&&Ao(R,v,"prop","Context.Provider")}if(iI(t,f,E),y!==null){var D=y.value;if(je(D,E)){if(y.children===v.children&&!fy())return yl(e,t,o)}else x_(t,f,o)}var O=v.children;return Ui(e,t,O,o),t.child}var p2=!1;function AB(e,t,o){var l=t.type;l._context===void 0?l!==l.Consumer&&(p2||(p2=!0,h("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):l=l._context;var f=t.pendingProps,v=f.children;typeof v!="function"&&h("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."),Yd(t,o);var y=yr(l);ts(t);var E;return Cv.current=t,mi(!0),E=v(y),mi(!1),Ei(),t.flags|=ou,Ui(e,t,E,o),t.child}function Ev(){Lo=!0}function r0(e,t){(t.mode&Qe)===Ye&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=xn)}function yl(e,t,o){return e!==null&&(t.dependencies=e.dependencies),GI(),Pv(t.lanes),wi(o,t.childLanes)?(C_(e,t),t.child):null}function IB(e,t,o){{var l=t.return;if(l===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,o.index=t.index,o.sibling=t.sibling,o.return=t.return,o.ref=t.ref,t===l.child)l.child=o;else{var f=l.child;if(f===null)throw new Error("Expected parent to have a child.");for(;f.sibling!==t;)if(f=f.sibling,f===null)throw new Error("Expected to find the previous sibling.");f.sibling=o}var v=l.deletions;return v===null?(l.deletions=[e],l.flags|=$t):v.push(e),o.flags|=xn,o}}function zS(e,t){var o=e.lanes;return!!wi(o,t)}function DB(e,t,o){switch(t.tag){case w:a2(t),t.stateNode,Wd();break;case k:dI(t);break;case x:{var l=t.type;bu(l)&&py(t);break}case M:NC(t,t.stateNode.containerInfo);break;case Z:{var f=t.memoizedProps.value,v=t.type._context;iI(t,v,f);break}case q:{var y=wi(o,t.childLanes);y&&(t.flags|=At);{var E=t.stateNode;E.effectDuration=0,E.passiveEffectDuration=0}}break;case H:{var R=t.memoizedState;if(R!==null){if(R.dehydrated!==null)return Fs(t,Jd(Mo.current)),t.flags|=yt,null;var D=t.child,O=D.childLanes;if(wi(o,O))return u2(e,t,o);Fs(t,Jd(Mo.current));var W=yl(e,t,o);return W!==null?W.sibling:null}else Fs(t,Jd(Mo.current));break}case nt:{var G=(e.flags&yt)!==it,ee=wi(o,t.childLanes);if(G){if(ee)return f2(e,t,o);t.flags|=yt}var re=t.memoizedState;if(re!==null&&(re.rendering=null,re.tail=null,re.lastEffect=null),Fs(t,Mo.current),ee)break;return null}case Be:case qe:return t.lanes=pe,n2(e,t,o)}return yl(e,t,o)}function h2(e,t,o){if(t._debugNeedsRemount&&e!==null)return IB(e,t,mx(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var l=e.memoizedProps,f=t.pendingProps;if(l!==f||fy()||t.type!==e.type)Lo=!0;else{var v=zS(e,o);if(!v&&(t.flags&yt)===it)return Lo=!1,DB(e,t,o);(e.flags&yc)!==it?Lo=!0:Lo=!1}}else if(Lo=!1,qr()&&e_(t)){var y=t.index,E=t_();GA(t,E,y)}switch(t.lanes=pe,t.tag){case T:return cB(e,t,t.type,o);case de:{var R=t.elementType;return lB(e,t,R,o)}case b:{var D=t.type,O=t.pendingProps,W=t.elementType===D?O:ko(D,O);return kS(e,t,D,W,o)}case x:{var G=t.type,ee=t.pendingProps,re=t.elementType===G?ee:ko(G,ee);return i2(e,t,G,re,o)}case w:return aB(e,t,o);case k:return oB(e,t,o);case F:return uB(e,t);case H:return u2(e,t,o);case M:return RB(e,t,o);case z:{var oe=t.type,De=t.pendingProps,at=t.elementType===oe?De:ko(oe,De);return qI(e,t,oe,at,o)}case V:return nB(e,t,o);case _:return rB(e,t,o);case q:return iB(e,t,o);case Z:return wB(e,t,o);case j:return AB(e,t,o);case se:{var Ke=t.type,Ht=t.pendingProps,Pt=ko(Ke,Ht);if(t.type!==t.elementType){var J=Ke.propTypes;J&&Ao(J,Pt,"prop",_t(Ke))}return Pt=ko(Ke.type,Pt),e2(e,t,Ke,Pt,o)}case le:return t2(e,t,t.type,t.pendingProps,o);case He:{var ue=t.type,Q=t.pendingProps,ye=t.elementType===ue?Q:ko(ue,Q);return sB(e,t,ue,ye,o)}case nt:return f2(e,t,o);case Rt:break;case Be:return n2(e,t,o)}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 np(e){e.flags|=At}function v2(e){e.flags|=yi,e.flags|=sh}var m2,HS,g2,y2;m2=function(e,t,o,l){for(var f=t.child;f!==null;){if(f.tag===k||f.tag===F)Q3(e,f.stateNode);else if(f.tag!==M){if(f.child!==null){f.child.return=f,f=f.child;continue}}if(f===t)return;for(;f.sibling===null;){if(f.return===null||f.return===t)return;f=f.return}f.sibling.return=f.return,f=f.sibling}},HS=function(e,t){},g2=function(e,t,o,l,f){var v=e.memoizedProps;if(v!==l){var y=t.stateNode,E=PC(),R=q3(y,o,v,l,f,E);t.updateQueue=R,R&&np(t)}},y2=function(e,t,o,l){o!==l&&np(t)};function Tv(e,t){if(!qr())switch(e.tailMode){case"hidden":{for(var o=e.tail,l=null;o!==null;)o.alternate!==null&&(l=o),o=o.sibling;l===null?e.tail=null:l.sibling=null;break}case"collapsed":{for(var f=e.tail,v=null;f!==null;)f.alternate!==null&&(v=f),f=f.sibling;v===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:v.sibling=null;break}}}function ti(e){var t=e.alternate!==null&&e.alternate.child===e.child,o=pe,l=it;if(t){if((e.mode&bt)!==Ye){for(var R=e.selfBaseDuration,D=e.child;D!==null;)o=wt(o,wt(D.lanes,D.childLanes)),l|=D.subtreeFlags&Cr,l|=D.flags&Cr,R+=D.treeBaseDuration,D=D.sibling;e.treeBaseDuration=R}else for(var O=e.child;O!==null;)o=wt(o,wt(O.lanes,O.childLanes)),l|=O.subtreeFlags&Cr,l|=O.flags&Cr,O.return=e,O=O.sibling;e.subtreeFlags|=l}else{if((e.mode&bt)!==Ye){for(var f=e.actualDuration,v=e.selfBaseDuration,y=e.child;y!==null;)o=wt(o,wt(y.lanes,y.childLanes)),l|=y.subtreeFlags,l|=y.flags,f+=y.actualDuration,v+=y.treeBaseDuration,y=y.sibling;e.actualDuration=f,e.treeBaseDuration=v}else for(var E=e.child;E!==null;)o=wt(o,wt(E.lanes,E.childLanes)),l|=E.subtreeFlags,l|=E.flags,E.return=e,E=E.sibling;e.subtreeFlags|=l}return e.childLanes=o,t}function MB(e,t,o){if(h_()&&(t.mode&Qe)!==Ye&&(t.flags&yt)===it)return $A(t),Wd(),t.flags|=Vn|_i|hr,!1;var l=yy(t);if(o!==null&&o.dehydrated!==null)if(e===null){if(!l)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(d_(t),ti(t),(t.mode&bt)!==Ye){var f=o!==null;if(f){var v=t.child;v!==null&&(t.treeBaseDuration-=v.treeBaseDuration)}}return!1}else{if(Wd(),(t.flags&yt)===it&&(t.memoizedState=null),t.flags|=At,ti(t),(t.mode&bt)!==Ye){var y=o!==null;if(y){var E=t.child;E!==null&&(t.treeBaseDuration-=E.treeBaseDuration)}}return!1}else return JA(),!0}function b2(e,t,o){var l=t.pendingProps;switch(pC(t),t.tag){case T:case de:case le:case b:case z:case V:case _:case q:case j:case se:return ti(t),null;case x:{var f=t.type;return bu(f)&&dy(t),ti(t),null}case w:{var v=t.stateNode;if($d(t),sC(t),zC(),v.pendingContext&&(v.context=v.pendingContext,v.pendingContext=null),e===null||e.child===null){var y=yy(t);if(y)np(t);else if(e!==null){var E=e.memoizedState;(!E.isDehydrated||(t.flags&Vn)!==it)&&(t.flags|=ia,JA())}}return HS(e,t),ti(t),null}case k:{FC(t);var R=fI(),D=t.type;if(e!==null&&t.stateNode!=null)g2(e,t,D,l,R),e.ref!==t.ref&&v2(t);else{if(!l){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 ti(t),null}var O=PC(),W=yy(t);if(W)c_(t,R,O)&&np(t);else{var G=J3(D,l,R,O,t);m2(G,t,!1,!1),t.stateNode=G,K3(G,D,l,R)&&np(t)}t.ref!==null&&v2(t)}return ti(t),null}case F:{var ee=l;if(e&&t.stateNode!=null){var re=e.memoizedProps;y2(e,t,re,ee)}else{if(typeof ee!="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 oe=fI(),De=PC(),at=yy(t);at?f_(t)&&np(t):t.stateNode=e9(ee,oe,De,t)}return ti(t),null}case H:{Qd(t);var Ke=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var Ht=MB(e,t,Ke);if(!Ht)return t.flags&hr?t:null}if((t.flags&yt)!==it)return t.lanes=o,(t.mode&bt)!==Ye&&fS(t),t;var Pt=Ke!==null,J=e!==null&&e.memoizedState!==null;if(Pt!==J&&Pt){var ue=t.child;if(ue.flags|=uu,(t.mode&Qe)!==Ye){var Q=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!X);Q||VC(Mo.current,hI)?O5():ax()}}var ye=t.updateQueue;if(ye!==null&&(t.flags|=At),ti(t),(t.mode&bt)!==Ye&&Pt){var Pe=t.child;Pe!==null&&(t.treeBaseDuration-=Pe.treeBaseDuration)}return null}case M:return $d(t),HS(e,t),e===null&&Z9(t.stateNode.containerInfo),ti(t),null;case Z:var Me=t.type._context;return AC(Me,t),ti(t),null;case He:{var vt=t.type;return bu(vt)&&dy(t),ti(t),null}case nt:{Qd(t);var Tt=t.memoizedState;if(Tt===null)return ti(t),null;var pn=(t.flags&yt)!==it,Xt=Tt.rendering;if(Xt===null)if(pn)Tv(Tt,!1);else{var lr=L5()&&(e===null||(e.flags&yt)===it);if(!lr)for(var Zt=t.child;Zt!==null;){var tr=Ny(Zt);if(tr!==null){pn=!0,t.flags|=yt,Tv(Tt,!1);var Oi=tr.updateQueue;return Oi!==null&&(t.updateQueue=Oi,t.flags|=At),t.subtreeFlags=it,S_(t,o),Fs(t,_C(Mo.current,fv)),t.child}Zt=Zt.sibling}Tt.tail!==null&&Ln()>z2()&&(t.flags|=yt,pn=!0,Tv(Tt,!1),t.lanes=gg)}else{if(!pn){var oi=Ny(Xt);if(oi!==null){t.flags|=yt,pn=!0;var Na=oi.updateQueue;if(Na!==null&&(t.updateQueue=Na,t.flags|=At),Tv(Tt,!0),Tt.tail===null&&Tt.tailMode==="hidden"&&!Xt.alternate&&!qr())return ti(t),null}else Ln()*2-Tt.renderingStartTime>z2()&&o!==Vr&&(t.flags|=yt,pn=!0,Tv(Tt,!1),t.lanes=gg)}if(Tt.isBackwards)Xt.sibling=t.child,t.child=Xt;else{var Zi=Tt.last;Zi!==null?Zi.sibling=Xt:t.child=Xt,Tt.last=Xt}}if(Tt.tail!==null){var Yi=Tt.tail;Tt.rendering=Yi,Tt.tail=Yi.sibling,Tt.renderingStartTime=Ln(),Yi.sibling=null;var ki=Mo.current;return pn?ki=_C(ki,fv):ki=Jd(ki),Fs(t,ki),Yi}return ti(t),null}case Rt:break;case Be:case qe:{ix(t);var El=t.memoizedState,cp=El!==null;if(e!==null){var zv=e.memoizedState,Au=zv!==null;Au!==cp&&!xe&&(t.flags|=uu)}return!cp||(t.mode&Qe)===Ye?ti(t):wi(wu,Vr)&&(ti(t),t.subtreeFlags&(xn|At)&&(t.flags|=uu)),null}case Ve:return null;case ze: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 OB(e,t,o){switch(pC(t),t.tag){case x:{var l=t.type;bu(l)&&dy(t);var f=t.flags;return f&hr?(t.flags=f&~hr|yt,(t.mode&bt)!==Ye&&fS(t),t):null}case w:{t.stateNode,$d(t),sC(t),zC();var v=t.flags;return(v&hr)!==it&&(v&yt)===it?(t.flags=v&~hr|yt,t):null}case k:return FC(t),null;case H:{Qd(t);var y=t.memoizedState;if(y!==null&&y.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.");Wd()}var E=t.flags;return E&hr?(t.flags=E&~hr|yt,(t.mode&bt)!==Ye&&fS(t),t):null}case nt:return Qd(t),null;case M:return $d(t),null;case Z:var R=t.type._context;return AC(R,t),null;case Be:case qe:return ix(t),null;case Ve:return null;default:return null}}function C2(e,t,o){switch(pC(t),t.tag){case x:{var l=t.type.childContextTypes;l!=null&&dy(t);break}case w:{t.stateNode,$d(t),sC(t),zC();break}case k:{FC(t);break}case M:$d(t);break;case H:Qd(t);break;case nt:Qd(t);break;case Z:var f=t.type._context;AC(f,t);break;case Be:case qe:ix(t);break}}var S2=null;S2=new Set;var i0=!1,ni=!1,kB=typeof WeakSet=="function"?WeakSet:Set,Ue=null,rp=null,ip=null;function LB(e){Yu(null,function(){throw e}),uh()}var NB=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&bt)try{Tu(),t.componentWillUnmount()}finally{Eu(e)}else t.componentWillUnmount()};function x2(e,t){try{Bs(Tr,e)}catch(o){Rn(e,t,o)}}function GS(e,t,o){try{NB(e,o)}catch(l){Rn(e,t,l)}}function PB(e,t,o){try{o.componentDidMount()}catch(l){Rn(e,t,l)}}function E2(e,t){try{R2(e)}catch(o){Rn(e,t,o)}}function ap(e,t){var o=e.ref;if(o!==null)if(typeof o=="function"){var l;try{if(rt&&Ct&&e.mode&bt)try{Tu(),l=o(null)}finally{Eu(e)}else l=o(null)}catch(f){Rn(e,t,f)}typeof l=="function"&&h("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",xt(e))}else o.current=null}function a0(e,t,o){try{o()}catch(l){Rn(e,t,l)}}var T2=!1;function FB(e,t){Y3(e.containerInfo),Ue=t,VB();var o=T2;return T2=!1,o}function VB(){for(;Ue!==null;){var e=Ue,t=e.child;(e.subtreeFlags&Kl)!==it&&t!==null?(t.return=e,Ue=t):_B()}}function _B(){for(;Ue!==null;){var e=Ue;en(e);try{BB(e)}catch(o){Rn(e,e.return,o)}Fn();var t=e.sibling;if(t!==null){t.return=e.return,Ue=t;return}Ue=e.return}}function BB(e){var t=e.alternate,o=e.flags;if((o&ia)!==it){switch(en(e),e.tag){case b:case z:case le:break;case x:{if(t!==null){var l=t.memoizedProps,f=t.memoizedState,v=e.stateNode;e.type===e.elementType&&!qc&&(v.props!==e.memoizedProps&&h("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.",xt(e)||"instance"),v.state!==e.memoizedState&&h("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.",xt(e)||"instance"));var y=v.getSnapshotBeforeUpdate(e.elementType===e.type?l:ko(e.type,l),f);{var E=S2;y===void 0&&!E.has(e.type)&&(E.add(e.type),h("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",xt(e)))}v.__reactInternalSnapshotBeforeUpdate=y}break}case w:{{var R=e.stateNode;b9(R.containerInfo)}break}case k:case F:case M:case He: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.")}Fn()}}function No(e,t,o){var l=t.updateQueue,f=l!==null?l.lastEffect:null;if(f!==null){var v=f.next,y=v;do{if((y.tag&e)===e){var E=y.destroy;y.destroy=void 0,E!==void 0&&((e&ei)!==ya?hg(t):(e&Tr)!==ya&&Oa(t),(e&Cu)!==ya&&Vv(!0),a0(t,o,E),(e&Cu)!==ya&&Vv(!1),(e&ei)!==ya?Wf():(e&Tr)!==ya&&ns())}y=y.next}while(y!==v)}}function Bs(e,t){var o=t.updateQueue,l=o!==null?o.lastEffect:null;if(l!==null){var f=l.next,v=f;do{if((v.tag&e)===e){(e&ei)!==ya?cu(t):(e&Tr)!==ya&&vg(t);var y=v.create;(e&Cu)!==ya&&Vv(!0),v.destroy=y(),(e&Cu)!==ya&&Vv(!1),(e&ei)!==ya?Uf():(e&Tr)!==ya&&bc();{var E=v.destroy;if(E!==void 0&&typeof E!="function"){var R=void 0;(v.tag&Tr)!==it?R="useLayoutEffect":(v.tag&Cu)!==it?R="useInsertionEffect":R="useEffect";var D=void 0;E===null?D=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof E.then=="function"?D=`
211
-
212
- It looks like you wrote `+R+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
213
-
214
- `+R+`(() => {
215
- async function fetchData() {
216
- // You can await here
217
- const response = await MyAPI.getData(someId);
218
- // ...
219
- }
220
- fetchData();
221
- }, [someId]); // Or [] if effect doesn't need props or state
222
-
223
- Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:D=" You returned: "+E,h("%s must not return anything besides a function, which is used for clean-up.%s",R,D)}}}v=v.next}while(v!==f)}}function zB(e,t){if((t.flags&At)!==it)switch(t.tag){case q:{var o=t.stateNode.passiveEffectDuration,l=t.memoizedProps,f=l.id,v=l.onPostCommit,y=zI(),E=t.alternate===null?"mount":"update";BI()&&(E="nested-update"),typeof v=="function"&&v(f,E,o,y);var R=t.return;e:for(;R!==null;){switch(R.tag){case w:var D=R.stateNode;D.passiveEffectDuration+=o;break e;case q:var O=R.stateNode;O.passiveEffectDuration+=o;break e}R=R.return}break}}}function HB(e,t,o,l){if((o.flags&Pr)!==it)switch(o.tag){case b:case z:case le:{if(!ni)if(o.mode&bt)try{Tu(),Bs(Tr|Er,o)}finally{Eu(o)}else Bs(Tr|Er,o);break}case x:{var f=o.stateNode;if(o.flags&At&&!ni)if(t===null)if(o.type===o.elementType&&!qc&&(f.props!==o.memoizedProps&&h("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.",xt(o)||"instance"),f.state!==o.memoizedState&&h("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.",xt(o)||"instance")),o.mode&bt)try{Tu(),f.componentDidMount()}finally{Eu(o)}else f.componentDidMount();else{var v=o.elementType===o.type?t.memoizedProps:ko(o.type,t.memoizedProps),y=t.memoizedState;if(o.type===o.elementType&&!qc&&(f.props!==o.memoizedProps&&h("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.",xt(o)||"instance"),f.state!==o.memoizedState&&h("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.",xt(o)||"instance")),o.mode&bt)try{Tu(),f.componentDidUpdate(v,y,f.__reactInternalSnapshotBeforeUpdate)}finally{Eu(o)}else f.componentDidUpdate(v,y,f.__reactInternalSnapshotBeforeUpdate)}var E=o.updateQueue;E!==null&&(o.type===o.elementType&&!qc&&(f.props!==o.memoizedProps&&h("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.",xt(o)||"instance"),f.state!==o.memoizedState&&h("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.",xt(o)||"instance")),cI(o,E,f));break}case w:{var R=o.updateQueue;if(R!==null){var D=null;if(o.child!==null)switch(o.child.tag){case k:D=o.child.stateNode;break;case x:D=o.child.stateNode;break}cI(o,R,D)}break}case k:{var O=o.stateNode;if(t===null&&o.flags&At){var W=o.type,G=o.memoizedProps;a9(O,W,G)}break}case F:break;case M:break;case q:{{var ee=o.memoizedProps,re=ee.onCommit,oe=ee.onRender,De=o.stateNode.effectDuration,at=zI(),Ke=t===null?"mount":"update";BI()&&(Ke="nested-update"),typeof oe=="function"&&oe(o.memoizedProps.id,Ke,o.actualDuration,o.treeBaseDuration,o.actualStartTime,at);{typeof re=="function"&&re(o.memoizedProps.id,Ke,De,at),_5(o);var Ht=o.return;e:for(;Ht!==null;){switch(Ht.tag){case w:var Pt=Ht.stateNode;Pt.effectDuration+=De;break e;case q:var J=Ht.stateNode;J.effectDuration+=De;break e}Ht=Ht.return}}}break}case H:{$B(e,o);break}case nt:case He:case Rt:case Be:case qe:case ze: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.")}ni||o.flags&yi&&R2(o)}function GB(e){switch(e.tag){case b:case z:case le:{if(e.mode&bt)try{Tu(),x2(e,e.return)}finally{Eu(e)}else x2(e,e.return);break}case x:{var t=e.stateNode;typeof t.componentDidMount=="function"&&PB(e,e.return,t),E2(e,e.return);break}case k:{E2(e,e.return);break}}}function jB(e,t){for(var o=null,l=e;;){if(l.tag===k){if(o===null){o=l;try{var f=l.stateNode;t?v9(f):g9(l.stateNode,l.memoizedProps)}catch(y){Rn(e,e.return,y)}}}else if(l.tag===F){if(o===null)try{var v=l.stateNode;t?m9(v):y9(v,l.memoizedProps)}catch(y){Rn(e,e.return,y)}}else if(!((l.tag===Be||l.tag===qe)&&l.memoizedState!==null&&l!==e)){if(l.child!==null){l.child.return=l,l=l.child;continue}}if(l===e)return;for(;l.sibling===null;){if(l.return===null||l.return===e)return;o===l&&(o=null),l=l.return}o===l&&(o=null),l.sibling.return=l.return,l=l.sibling}}function R2(e){var t=e.ref;if(t!==null){var o=e.stateNode,l;switch(e.tag){case k:l=o;break;default:l=o}if(typeof t=="function"){var f;if(e.mode&bt)try{Tu(),f=t(l)}finally{Eu(e)}else f=t(l);typeof f=="function"&&h("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",xt(e))}else t.hasOwnProperty("current")||h("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",xt(e)),t.current=l}}function UB(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function w2(e){var t=e.alternate;t!==null&&(e.alternate=null,w2(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===k){var o=e.stateNode;o!==null&&J9(o)}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 WB(e){for(var t=e.return;t!==null;){if(A2(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 A2(e){return e.tag===k||e.tag===w||e.tag===M}function I2(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||A2(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==k&&t.tag!==F&&t.tag!==We;){if(t.flags&xn||t.child===null||t.tag===M)continue e;t.child.return=t,t=t.child}if(!(t.flags&xn))return t.stateNode}}function XB(e){var t=WB(e);switch(t.tag){case k:{var o=t.stateNode;t.flags&tn&&(MA(o),t.flags&=~tn);var l=I2(e);US(e,l,o);break}case w:case M:{var f=t.stateNode.containerInfo,v=I2(e);jS(e,v,f);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function jS(e,t,o){var l=e.tag,f=l===k||l===F;if(f){var v=e.stateNode;t?f9(o,v,t):s9(o,v)}else if(l!==M){var y=e.child;if(y!==null){jS(y,t,o);for(var E=y.sibling;E!==null;)jS(E,t,o),E=E.sibling}}}function US(e,t,o){var l=e.tag,f=l===k||l===F;if(f){var v=e.stateNode;t?c9(o,v,t):l9(o,v)}else if(l!==M){var y=e.child;if(y!==null){US(y,t,o);for(var E=y.sibling;E!==null;)US(E,t,o),E=E.sibling}}}var ri=null,Po=!1;function ZB(e,t,o){{var l=t;e:for(;l!==null;){switch(l.tag){case k:{ri=l.stateNode,Po=!1;break e}case w:{ri=l.stateNode.containerInfo,Po=!0;break e}case M:{ri=l.stateNode.containerInfo,Po=!0;break e}}l=l.return}if(ri===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");D2(e,t,o),ri=null,Po=!1}UB(o)}function zs(e,t,o){for(var l=o.child;l!==null;)D2(e,t,l),l=l.sibling}function D2(e,t,o){switch(Qu(o),o.tag){case k:ni||ap(o,t);case F:{{var l=ri,f=Po;ri=null,zs(e,t,o),ri=l,Po=f,ri!==null&&(Po?p9(ri,o.stateNode):d9(ri,o.stateNode))}return}case We:{ri!==null&&(Po?h9(ri,o.stateNode):tC(ri,o.stateNode));return}case M:{{var v=ri,y=Po;ri=o.stateNode.containerInfo,Po=!0,zs(e,t,o),ri=v,Po=y}return}case b:case z:case se:case le:{if(!ni){var E=o.updateQueue;if(E!==null){var R=E.lastEffect;if(R!==null){var D=R.next,O=D;do{var W=O,G=W.destroy,ee=W.tag;G!==void 0&&((ee&Cu)!==ya?a0(o,t,G):(ee&Tr)!==ya&&(Oa(o),o.mode&bt?(Tu(),a0(o,t,G),Eu(o)):a0(o,t,G),ns())),O=O.next}while(O!==D)}}}zs(e,t,o);return}case x:{if(!ni){ap(o,t);var re=o.stateNode;typeof re.componentWillUnmount=="function"&&GS(o,t,re)}zs(e,t,o);return}case Rt:{zs(e,t,o);return}case Be:{if(o.mode&Qe){var oe=ni;ni=oe||o.memoizedState!==null,zs(e,t,o),ni=oe}else zs(e,t,o);break}default:{zs(e,t,o);return}}}function YB(e){e.memoizedState}function $B(e,t){var o=t.memoizedState;if(o===null){var l=t.alternate;if(l!==null){var f=l.memoizedState;if(f!==null){var v=f.dehydrated;v!==null&&L9(v)}}}}function M2(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var o=e.stateNode;o===null&&(o=e.stateNode=new kB),t.forEach(function(l){var f=W5.bind(null,e,l);if(!o.has(l)){if(o.add(l),Hi)if(rp!==null&&ip!==null)Fv(ip,rp);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");l.then(f,f)}})}}function JB(e,t,o){rp=o,ip=e,en(t),O2(t,e),en(t),rp=null,ip=null}function Fo(e,t,o){var l=t.deletions;if(l!==null)for(var f=0;f<l.length;f++){var v=l[f];try{ZB(e,t,v)}catch(R){Rn(v,t,R)}}var y=xf();if(t.subtreeFlags&Si)for(var E=t.child;E!==null;)en(E),O2(E,e),E=E.sibling;en(y)}function O2(e,t,o){var l=e.alternate,f=e.flags;switch(e.tag){case b:case z:case se:case le:{if(Fo(t,e),Ru(e),f&At){try{No(Cu|Er,e,e.return),Bs(Cu|Er,e)}catch(vt){Rn(e,e.return,vt)}if(e.mode&bt){try{Tu(),No(Tr|Er,e,e.return)}catch(vt){Rn(e,e.return,vt)}Eu(e)}else try{No(Tr|Er,e,e.return)}catch(vt){Rn(e,e.return,vt)}}return}case x:{Fo(t,e),Ru(e),f&yi&&l!==null&&ap(l,l.return);return}case k:{Fo(t,e),Ru(e),f&yi&&l!==null&&ap(l,l.return);{if(e.flags&tn){var v=e.stateNode;try{MA(v)}catch(vt){Rn(e,e.return,vt)}}if(f&At){var y=e.stateNode;if(y!=null){var E=e.memoizedProps,R=l!==null?l.memoizedProps:E,D=e.type,O=e.updateQueue;if(e.updateQueue=null,O!==null)try{o9(y,O,D,R,E,e)}catch(vt){Rn(e,e.return,vt)}}}}return}case F:{if(Fo(t,e),Ru(e),f&At){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 W=e.stateNode,G=e.memoizedProps,ee=l!==null?l.memoizedProps:G;try{u9(W,ee,G)}catch(vt){Rn(e,e.return,vt)}}return}case w:{if(Fo(t,e),Ru(e),f&At&&l!==null){var re=l.memoizedState;if(re.isDehydrated)try{k9(t.containerInfo)}catch(vt){Rn(e,e.return,vt)}}return}case M:{Fo(t,e),Ru(e);return}case H:{Fo(t,e),Ru(e);var oe=e.child;if(oe.flags&uu){var De=oe.stateNode,at=oe.memoizedState,Ke=at!==null;if(De.isHidden=Ke,Ke){var Ht=oe.alternate!==null&&oe.alternate.memoizedState!==null;Ht||M5()}}if(f&At){try{YB(e)}catch(vt){Rn(e,e.return,vt)}M2(e)}return}case Be:{var Pt=l!==null&&l.memoizedState!==null;if(e.mode&Qe){var J=ni;ni=J||Pt,Fo(t,e),ni=J}else Fo(t,e);if(Ru(e),f&uu){var ue=e.stateNode,Q=e.memoizedState,ye=Q!==null,Pe=e;if(ue.isHidden=ye,ye&&!Pt&&(Pe.mode&Qe)!==Ye){Ue=Pe;for(var Me=Pe.child;Me!==null;)Ue=Me,KB(Me),Me=Me.sibling}jB(Pe,ye)}return}case nt:{Fo(t,e),Ru(e),f&At&&M2(e);return}case Rt:return;default:{Fo(t,e),Ru(e);return}}}function Ru(e){var t=e.flags;if(t&xn){try{XB(e)}catch(o){Rn(e,e.return,o)}e.flags&=~xn}t&aa&&(e.flags&=~aa)}function QB(e,t,o){rp=o,ip=t,Ue=e,k2(e,t,o),rp=null,ip=null}function k2(e,t,o){for(var l=(e.mode&Qe)!==Ye;Ue!==null;){var f=Ue,v=f.child;if(f.tag===Be&&l){var y=f.memoizedState!==null,E=y||i0;if(E){WS(e,t,o);continue}else{var R=f.alternate,D=R!==null&&R.memoizedState!==null,O=D||ni,W=i0,G=ni;i0=E,ni=O,ni&&!G&&(Ue=f,qB(f));for(var ee=v;ee!==null;)Ue=ee,k2(ee,t,o),ee=ee.sibling;Ue=f,i0=W,ni=G,WS(e,t,o);continue}}(f.subtreeFlags&Pr)!==it&&v!==null?(v.return=f,Ue=v):WS(e,t,o)}}function WS(e,t,o){for(;Ue!==null;){var l=Ue;if((l.flags&Pr)!==it){var f=l.alternate;en(l);try{HB(t,f,l,o)}catch(y){Rn(l,l.return,y)}Fn()}if(l===e){Ue=null;return}var v=l.sibling;if(v!==null){v.return=l.return,Ue=v;return}Ue=l.return}}function KB(e){for(;Ue!==null;){var t=Ue,o=t.child;switch(t.tag){case b:case z:case se:case le:{if(t.mode&bt)try{Tu(),No(Tr,t,t.return)}finally{Eu(t)}else No(Tr,t,t.return);break}case x:{ap(t,t.return);var l=t.stateNode;typeof l.componentWillUnmount=="function"&&GS(t,t.return,l);break}case k:{ap(t,t.return);break}case Be:{var f=t.memoizedState!==null;if(f){L2(e);continue}break}}o!==null?(o.return=t,Ue=o):L2(e)}}function L2(e){for(;Ue!==null;){var t=Ue;if(t===e){Ue=null;return}var o=t.sibling;if(o!==null){o.return=t.return,Ue=o;return}Ue=t.return}}function qB(e){for(;Ue!==null;){var t=Ue,o=t.child;if(t.tag===Be){var l=t.memoizedState!==null;if(l){N2(e);continue}}o!==null?(o.return=t,Ue=o):N2(e)}}function N2(e){for(;Ue!==null;){var t=Ue;en(t);try{GB(t)}catch(l){Rn(t,t.return,l)}if(Fn(),t===e){Ue=null;return}var o=t.sibling;if(o!==null){o.return=t.return,Ue=o;return}Ue=t.return}}function e5(e,t,o,l){Ue=t,t5(t,e,o,l)}function t5(e,t,o,l){for(;Ue!==null;){var f=Ue,v=f.child;(f.subtreeFlags&oa)!==it&&v!==null?(v.return=f,Ue=v):n5(e,t,o,l)}}function n5(e,t,o,l){for(;Ue!==null;){var f=Ue;if((f.flags&An)!==it){en(f);try{r5(t,f,o,l)}catch(y){Rn(f,f.return,y)}Fn()}if(f===e){Ue=null;return}var v=f.sibling;if(v!==null){v.return=f.return,Ue=v;return}Ue=f.return}}function r5(e,t,o,l){switch(t.tag){case b:case z:case le:{if(t.mode&bt){cS();try{Bs(ei|Er,t)}finally{sS(t)}}else Bs(ei|Er,t);break}}}function i5(e){Ue=e,a5()}function a5(){for(;Ue!==null;){var e=Ue,t=e.child;if((Ue.flags&$t)!==it){var o=e.deletions;if(o!==null){for(var l=0;l<o.length;l++){var f=o[l];Ue=f,l5(f,e)}{var v=e.alternate;if(v!==null){var y=v.child;if(y!==null){v.child=null;do{var E=y.sibling;y.sibling=null,y=E}while(y!==null)}}}Ue=e}}(e.subtreeFlags&oa)!==it&&t!==null?(t.return=e,Ue=t):o5()}}function o5(){for(;Ue!==null;){var e=Ue;(e.flags&An)!==it&&(en(e),u5(e),Fn());var t=e.sibling;if(t!==null){t.return=e.return,Ue=t;return}Ue=e.return}}function u5(e){switch(e.tag){case b:case z:case le:{e.mode&bt?(cS(),No(ei|Er,e,e.return),sS(e)):No(ei|Er,e,e.return);break}}}function l5(e,t){for(;Ue!==null;){var o=Ue;en(o),c5(o,t),Fn();var l=o.child;l!==null?(l.return=o,Ue=l):s5(e)}}function s5(e){for(;Ue!==null;){var t=Ue,o=t.sibling,l=t.return;if(w2(t),t===e){Ue=null;return}if(o!==null){o.return=l,Ue=o;return}Ue=l}}function c5(e,t){switch(e.tag){case b:case z:case le:{e.mode&bt?(cS(),No(ei,e,t),sS(e)):No(ei,e,t);break}}}function f5(e){switch(e.tag){case b:case z:case le:{try{Bs(Tr|Er,e)}catch(o){Rn(e,e.return,o)}break}case x:{var t=e.stateNode;try{t.componentDidMount()}catch(o){Rn(e,e.return,o)}break}}}function d5(e){switch(e.tag){case b:case z:case le:{try{Bs(ei|Er,e)}catch(t){Rn(e,e.return,t)}break}}}function p5(e){switch(e.tag){case b:case z:case le:{try{No(Tr|Er,e,e.return)}catch(o){Rn(e,e.return,o)}break}case x:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&GS(e,e.return,t);break}}}function h5(e){switch(e.tag){case b:case z:case le:try{No(ei|Er,e,e.return)}catch(t){Rn(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var Rv=Symbol.for;Rv("selector.component"),Rv("selector.has_pseudo_class"),Rv("selector.role"),Rv("selector.test_id"),Rv("selector.text")}var v5=[];function m5(){v5.forEach(function(e){return e()})}var g5=u.ReactCurrentActQueue;function y5(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,o=typeof jest<"u";return o&&t!==!1}}function P2(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&g5.current!==null&&h("The current testing environment is not configured to support act(...)"),e}}var b5=Math.ceil,XS=u.ReactCurrentDispatcher,ZS=u.ReactCurrentOwner,ii=u.ReactCurrentBatchConfig,Vo=u.ReactCurrentActQueue,Ar=0,F2=1,ai=2,no=4,bl=0,wv=1,ef=2,o0=3,Av=4,V2=5,YS=6,zt=Ar,Wi=null,Yn=null,Ir=pe,wu=pe,$S=Ms(pe),Dr=bl,Iv=null,u0=pe,Dv=pe,l0=pe,Mv=null,ba=null,JS=0,_2=500,B2=1/0,C5=500,Cl=null;function Ov(){B2=Ln()+C5}function z2(){return B2}var s0=!1,QS=null,op=null,tf=!1,Hs=null,kv=pe,KS=[],qS=null,S5=50,Lv=0,ex=null,tx=!1,c0=!1,x5=50,up=0,f0=null,Nv=Cn,d0=pe,H2=!1;function p0(){return Wi}function Xi(){return(zt&(ai|no))!==Ar?Ln():(Nv!==Cn||(Nv=Ln()),Nv)}function Gs(e){var t=e.mode;if((t&Qe)===Ye)return tt;if((zt&ai)!==Ar&&Ir!==pe)return fs(Ir);var o=g_()!==m_;if(o){if(ii.transition!==null){var l=ii.transition;l._updatedFibers||(l._updatedFibers=new Set),l._updatedFibers.add(e)}return d0===er&&(d0=Rg()),d0}var f=fa();if(f!==er)return f;var v=t9();return v}function E5(e){var t=e.mode;return(t&Qe)===Ye?tt:Ri()}function Mr(e,t,o,l){Z5(),H2&&h("useInsertionEffect must not schedule updates."),tx&&(c0=!0),al(e,o,l),(zt&ai)!==pe&&e===Wi?J5(t):(Hi&&hd(e,t,o),Q5(t),e===Wi&&((zt&ai)===Ar&&(Dv=wt(Dv,o)),Dr===Av&&js(e,Ir)),Ca(e,l),o===tt&&zt===Ar&&(t.mode&Qe)===Ye&&!Vo.isBatchingLegacy&&(Ov(),HA()))}function T5(e,t,o){var l=e.current;l.lanes=t,al(e,t,o),Ca(e,o)}function R5(e){return(zt&ai)!==Ar}function Ca(e,t){var o=e.callbackNode;Cg(e,t);var l=rl(e,e===Wi?Ir:pe);if(l===pe){o!==null&&rD(o),e.callbackNode=null,e.callbackPriority=er;return}var f=Wn(l),v=e.callbackPriority;if(v===f&&!(Vo.current!==null&&o!==lx)){o==null&&v!==tt&&h("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}o!=null&&rD(o);var y;if(f===tt)e.tag===Os?(Vo.isBatchingLegacy!==null&&(Vo.didScheduleLegacyUpdate=!0),q9(U2.bind(null,e))):zA(U2.bind(null,e)),Vo.current!==null?Vo.current.push(ks):r9(function(){(zt&(ai|no))===Ar&&ks()}),y=null;else{var E;switch(xr(l)){case Xn:E=Hf;break;case Eo:E=Ju;break;case Za:E=Xa;break;case ds:E=Gf;break;default:E=Xa;break}y=sx(E,G2.bind(null,e))}e.callbackPriority=f,e.callbackNode=y}function G2(e,t){if(j_(),Nv=Cn,d0=pe,(zt&(ai|no))!==Ar)throw new Error("Should not already be working.");var o=e.callbackNode,l=xl();if(l&&e.callbackNode!==o)return null;var f=rl(e,e===Wi?Ir:pe);if(f===pe)return null;var v=!Ac(e,f)&&!Tg(e,f)&&!t,y=v?P5(e,f):v0(e,f);if(y!==bl){if(y===ef){var E=du(e);E!==pe&&(f=E,y=nx(e,E))}if(y===wv){var R=Iv;throw nf(e,pe),js(e,f),Ca(e,Ln()),R}if(y===YS)js(e,f);else{var D=!Ac(e,f),O=e.current.alternate;if(D&&!A5(O)){if(y=v0(e,f),y===ef){var W=du(e);W!==pe&&(f=W,y=nx(e,W))}if(y===wv){var G=Iv;throw nf(e,pe),js(e,f),Ca(e,Ln()),G}}e.finishedWork=O,e.finishedLanes=f,w5(e,y,f)}}return Ca(e,Ln()),e.callbackNode===o?G2.bind(null,e):null}function nx(e,t){var o=Mv;if(vd(e)){var l=nf(e,t);l.flags|=Vn,X9(e.containerInfo)}var f=v0(e,t);if(f!==ef){var v=ba;ba=o,v!==null&&j2(v)}return f}function j2(e){ba===null?ba=e:ba.push.apply(ba,e)}function w5(e,t,o){switch(t){case bl:case wv:throw new Error("Root did not complete. This is a bug in React.");case ef:{rf(e,ba,Cl);break}case o0:{if(js(e,o),Sg(o)&&!iD()){var l=JS+_2-Ln();if(l>10){var f=rl(e,pe);if(f!==pe)break;var v=e.suspendedLanes;if(!il(v,o)){Xi(),dd(e,v);break}e.timeoutHandle=q1(rf.bind(null,e,ba,Cl),l);break}}rf(e,ba,Cl);break}case Av:{if(js(e,o),Eg(o))break;if(!iD()){var y=yg(e,o),E=y,R=Ln()-E,D=X5(R)-R;if(D>10){e.timeoutHandle=q1(rf.bind(null,e,ba,Cl),D);break}}rf(e,ba,Cl);break}case V2:{rf(e,ba,Cl);break}default:throw new Error("Unknown root exit status.")}}function A5(e){for(var t=e;;){if(t.flags&gc){var o=t.updateQueue;if(o!==null){var l=o.stores;if(l!==null)for(var f=0;f<l.length;f++){var v=l[f],y=v.getSnapshot,E=v.value;try{if(!je(y(),E))return!1}catch{return!1}}}}var R=t.child;if(t.subtreeFlags&gc&&R!==null){R.return=t,t=R;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 js(e,t){t=Ic(t,l0),t=Ic(t,Dv),Ag(e,t)}function U2(e){if(U_(),(zt&(ai|no))!==Ar)throw new Error("Should not already be working.");xl();var t=rl(e,pe);if(!wi(t,tt))return Ca(e,Ln()),null;var o=v0(e,t);if(e.tag!==Os&&o===ef){var l=du(e);l!==pe&&(t=l,o=nx(e,l))}if(o===wv){var f=Iv;throw nf(e,pe),js(e,t),Ca(e,Ln()),f}if(o===YS)throw new Error("Root did not complete. This is a bug in React.");var v=e.current.alternate;return e.finishedWork=v,e.finishedLanes=t,rf(e,ba,Cl),Ca(e,Ln()),null}function I5(e,t){t!==pe&&(Th(e,wt(t,tt)),Ca(e,Ln()),(zt&(ai|no))===Ar&&(Ov(),ks()))}function rx(e,t){var o=zt;zt|=F2;try{return e(t)}finally{zt=o,zt===Ar&&!Vo.isBatchingLegacy&&(Ov(),HA())}}function D5(e,t,o,l,f){var v=fa(),y=ii.transition;try{return ii.transition=null,_n(Xn),e(t,o,l,f)}finally{_n(v),ii.transition=y,zt===Ar&&Ov()}}function Sl(e){Hs!==null&&Hs.tag===Os&&(zt&(ai|no))===Ar&&xl();var t=zt;zt|=F2;var o=ii.transition,l=fa();try{return ii.transition=null,_n(Xn),e?e():void 0}finally{_n(l),ii.transition=o,zt=t,(zt&(ai|no))===Ar&&ks()}}function W2(){return(zt&(ai|no))!==Ar}function h0(e,t){Di($S,wu,e),wu=wt(wu,t)}function ix(e){wu=$S.current,Ii($S,e)}function nf(e,t){e.finishedWork=null,e.finishedLanes=pe;var o=e.timeoutHandle;if(o!==eC&&(e.timeoutHandle=eC,n9(o)),Yn!==null)for(var l=Yn.return;l!==null;){var f=l.alternate;C2(f,l),l=l.return}Wi=e;var v=af(e.current,null);return Yn=v,Ir=wu=t,Dr=bl,Iv=null,u0=pe,Dv=pe,l0=pe,Mv=null,ba=null,T_(),Do.discardPendingWarnings(),v}function X2(e,t){do{var o=Yn;try{if(Ty(),mI(),Fn(),ZS.current=null,o===null||o.return===null){Dr=wv,Iv=t,Yn=null;return}if(rt&&o.mode&bt&&qy(o,!0),ut)if(Ei(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var l=t;Ku(o,l,Ir)}else Cc(o,t,Ir);q_(e,o.return,o,t,Ir),J2(o)}catch(f){t=f,Yn===o&&o!==null?(o=o.return,Yn=o):o=Yn;continue}return}while(!0)}function Z2(){var e=XS.current;return XS.current=Yy,e===null?Yy:e}function Y2(e){XS.current=e}function M5(){JS=Ln()}function Pv(e){u0=wt(e,u0)}function O5(){Dr===bl&&(Dr=o0)}function ax(){(Dr===bl||Dr===o0||Dr===ef)&&(Dr=Av),Wi!==null&&(wc(u0)||wc(Dv))&&js(Wi,Ir)}function k5(e){Dr!==Av&&(Dr=ef),Mv===null?Mv=[e]:Mv.push(e)}function L5(){return Dr===bl}function v0(e,t){var o=zt;zt|=ai;var l=Z2();if(Wi!==e||Ir!==t){if(Hi){var f=e.memoizedUpdaters;f.size>0&&(Fv(e,Ir),f.clear()),Rh(e,t)}Cl=Mc(),nf(e,t)}In(t);do try{N5();break}catch(v){X2(e,v)}while(!0);if(Ty(),zt=o,Y2(l),Yn!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return Zf(),Wi=null,Ir=pe,Dr}function N5(){for(;Yn!==null;)$2(Yn)}function P5(e,t){var o=zt;zt|=ai;var l=Z2();if(Wi!==e||Ir!==t){if(Hi){var f=e.memoizedUpdaters;f.size>0&&(Fv(e,Ir),f.clear()),Rh(e,t)}Cl=Mc(),Ov(),nf(e,t)}In(t);do try{F5();break}catch(v){X2(e,v)}while(!0);return Ty(),Y2(l),zt=o,Yn!==null?(Xf(),bl):(Zf(),Wi=null,Ir=pe,Dr)}function F5(){for(;Yn!==null&&!zf();)$2(Yn)}function $2(e){var t=e.alternate;en(e);var o;(e.mode&bt)!==Ye?(lS(e),o=ox(t,e,wu),qy(e,!0)):o=ox(t,e,wu),Fn(),e.memoizedProps=e.pendingProps,o===null?J2(e):Yn=o,ZS.current=null}function J2(e){var t=e;do{var o=t.alternate,l=t.return;if((t.flags&_i)===it){en(t);var f=void 0;if((t.mode&bt)===Ye?f=b2(o,t,wu):(lS(t),f=b2(o,t,wu),qy(t,!1)),Fn(),f!==null){Yn=f;return}}else{var v=OB(o,t);if(v!==null){v.flags&=ug,Yn=v;return}if((t.mode&bt)!==Ye){qy(t,!1);for(var y=t.actualDuration,E=t.child;E!==null;)y+=E.actualDuration,E=E.sibling;t.actualDuration=y}if(l!==null)l.flags|=_i,l.subtreeFlags=it,l.deletions=null;else{Dr=YS,Yn=null;return}}var R=t.sibling;if(R!==null){Yn=R;return}t=l,Yn=t}while(t!==null);Dr===bl&&(Dr=V2)}function rf(e,t,o){var l=fa(),f=ii.transition;try{ii.transition=null,_n(Xn),V5(e,t,o,l)}finally{ii.transition=f,_n(l)}return null}function V5(e,t,o,l){do xl();while(Hs!==null);if(Y5(),(zt&(ai|no))!==Ar)throw new Error("Should not already be working.");var f=e.finishedWork,v=e.finishedLanes;if(su(v),f===null)return jf(),null;if(v===pe&&h("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=pe,f===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=er;var y=wt(f.lanes,f.childLanes);pd(e,y),e===Wi&&(Wi=null,Yn=null,Ir=pe),((f.subtreeFlags&oa)!==it||(f.flags&oa)!==it)&&(tf||(tf=!0,qS=o,sx(Xa,function(){return xl(),null})));var E=(f.subtreeFlags&(Kl|Si|Pr|oa))!==it,R=(f.flags&(Kl|Si|Pr|oa))!==it;if(E||R){var D=ii.transition;ii.transition=null;var O=fa();_n(Xn);var W=zt;zt|=no,ZS.current=null,FB(e,f),HI(),JB(e,f,v),$3(e.containerInfo),e.current=f,mh(v),QB(f,e,v),rs(),cg(),zt=W,_n(O),ii.transition=D}else e.current=f,HI();var G=tf;if(tf?(tf=!1,Hs=e,kv=v):(up=0,f0=null),y=e.pendingLanes,y===pe&&(op=null),G||eD(e.current,!1),es(f.stateNode,l),Hi&&e.memoizedUpdaters.clear(),m5(),Ca(e,Ln()),t!==null)for(var ee=e.onRecoverableError,re=0;re<t.length;re++){var oe=t[re],De=oe.stack,at=oe.digest;ee(oe.value,{componentStack:De,digest:at})}if(s0){s0=!1;var Ke=QS;throw QS=null,Ke}return wi(kv,tt)&&e.tag!==Os&&xl(),y=e.pendingLanes,wi(y,tt)?(G_(),e===ex?Lv++:(Lv=0,ex=e)):Lv=0,ks(),jf(),null}function xl(){if(Hs!==null){var e=xr(kv),t=T1(Za,e),o=ii.transition,l=fa();try{return ii.transition=null,_n(t),B5()}finally{_n(l),ii.transition=o}}return!1}function _5(e){KS.push(e),tf||(tf=!0,sx(Xa,function(){return xl(),null}))}function B5(){if(Hs===null)return!1;var e=qS;qS=null;var t=Hs,o=kv;if(Hs=null,kv=pe,(zt&(ai|no))!==Ar)throw new Error("Cannot flush passive effects while already rendering.");tx=!0,c0=!1,mg(o);var l=zt;zt|=no,i5(t.current),e5(t,t.current,o,e);{var f=KS;KS=[];for(var v=0;v<f.length;v++){var y=f[v];zB(t,y)}}gh(),eD(t.current,!0),zt=l,ks(),c0?t===f0?up++:(up=0,f0=t):up=0,tx=!1,c0=!1,sa(t);{var E=t.current.stateNode;E.effectDuration=0,E.passiveEffectDuration=0}return!0}function Q2(e){return op!==null&&op.has(e)}function z5(e){op===null?op=new Set([e]):op.add(e)}function H5(e){s0||(s0=!0,QS=e)}var G5=H5;function K2(e,t,o){var l=Kc(o,t),f=$I(e,l,tt),v=Ns(e,f,tt),y=Xi();v!==null&&(al(v,tt,y),Ca(v,y))}function Rn(e,t,o){if(LB(o),Vv(!1),e.tag===w){K2(e,e,o);return}var l=null;for(l=t;l!==null;){if(l.tag===w){K2(l,e,o);return}else if(l.tag===x){var f=l.type,v=l.stateNode;if(typeof f.getDerivedStateFromError=="function"||typeof v.componentDidCatch=="function"&&!Q2(v)){var y=Kc(o,e),E=wS(l,y,tt),R=Ns(l,E,tt),D=Xi();R!==null&&(al(R,tt,D),Ca(R,D));return}}l=l.return}h(`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.
224
-
225
- Error message:
226
-
227
- %s`,o)}function j5(e,t,o){var l=e.pingCache;l!==null&&l.delete(t);var f=Xi();dd(e,o),K5(e),Wi===e&&il(Ir,o)&&(Dr===Av||Dr===o0&&Sg(Ir)&&Ln()-JS<_2?nf(e,pe):l0=wt(l0,o)),Ca(e,f)}function q2(e,t){t===er&&(t=E5(e));var o=Xi(),l=ga(e,t);l!==null&&(al(l,t,o),Ca(l,o))}function U5(e){var t=e.memoizedState,o=er;t!==null&&(o=t.retryLane),q2(e,o)}function W5(e,t){var o=er,l;switch(e.tag){case H:l=e.stateNode;var f=e.memoizedState;f!==null&&(o=f.retryLane);break;case nt:l=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}l!==null&&l.delete(t),q2(e,o)}function X5(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:b5(e/1960)*1960}function Z5(){if(Lv>S5)throw Lv=0,ex=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.");up>x5&&(up=0,f0=null,h("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 Y5(){Do.flushLegacyContextWarning(),Do.flushPendingUnsafeLifecycleWarnings()}function eD(e,t){en(e),m0(e,Ci,p5),t&&m0(e,$u,h5),m0(e,Ci,f5),t&&m0(e,$u,d5),Fn()}function m0(e,t,o){for(var l=e,f=null;l!==null;){var v=l.subtreeFlags&t;l!==f&&l.child!==null&&v!==it?l=l.child:((l.flags&t)!==it&&o(l),l.sibling!==null?l=l.sibling:l=f=l.return)}}var g0=null;function tD(e){{if((zt&ai)!==Ar||!(e.mode&Qe))return;var t=e.tag;if(t!==T&&t!==w&&t!==x&&t!==b&&t!==z&&t!==se&&t!==le)return;var o=xt(e)||"ReactComponent";if(g0!==null){if(g0.has(o))return;g0.add(o)}else g0=new Set([o]);var l=kn;try{en(e),h("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{l?en(e):Fn()}}}var ox;{var $5=null;ox=function(e,t,o){var l=sD($5,t);try{return h2(e,t,o)}catch(v){if(u_()||v!==null&&typeof v=="object"&&typeof v.then=="function")throw v;if(Ty(),mI(),C2(e,t),sD(t,l),t.mode&bt&&lS(t),Yu(null,h2,null,e,t,o),b1()){var f=uh();typeof f=="object"&&f!==null&&f._suppressLogging&&typeof v=="object"&&v!==null&&!v._suppressLogging&&(v._suppressLogging=!0)}throw v}}}var nD=!1,ux;ux=new Set;function J5(e){if(vi&&!B_())switch(e.tag){case b:case z:case le:{var t=Yn&&xt(Yn)||"Unknown",o=t;if(!ux.has(o)){ux.add(o);var l=xt(e)||"Unknown";h("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",l,t,t)}break}case x:{nD||(h("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),nD=!0);break}}}function Fv(e,t){if(Hi){var o=e.memoizedUpdaters;o.forEach(function(l){hd(e,l,t)})}}var lx={};function sx(e,t){{var o=Vo.current;return o!==null?(o.push(t),lx):Bf(e,t)}}function rD(e){if(e!==lx)return sg(e)}function iD(){return Vo.current!==null}function Q5(e){{if(e.mode&Qe){if(!P2())return}else if(!y5()||zt!==Ar||e.tag!==b&&e.tag!==z&&e.tag!==le)return;if(Vo.current===null){var t=kn;try{en(e),h(`An update to %s inside a test was not wrapped in act(...).
228
-
229
- When testing, code that causes React state updates should be wrapped into act(...):
230
-
231
- act(() => {
232
- /* fire events that update state */
233
- });
234
- /* assert on the output */
235
-
236
- 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`,xt(e))}finally{t?en(e):Fn()}}}}function K5(e){e.tag!==Os&&P2()&&Vo.current===null&&h(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
237
-
238
- When testing, code that resolves suspended data should be wrapped into act(...):
239
-
240
- act(() => {
241
- /* finish loading suspended data */
242
- });
243
- /* assert on the output */
244
-
245
- 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 Vv(e){H2=e}var ro=null,lp=null,q5=function(e){ro=e};function sp(e){{if(ro===null)return e;var t=ro(e);return t===void 0?e:t.current}}function cx(e){return sp(e)}function fx(e){{if(ro===null)return e;var t=ro(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var o=sp(e.render);if(e.render!==o){var l={$$typeof:be,render:o};return e.displayName!==void 0&&(l.displayName=e.displayName),l}}return e}return t.current}}function aD(e,t){{if(ro===null)return!1;var o=e.elementType,l=t.type,f=!1,v=typeof l=="object"&&l!==null?l.$$typeof:null;switch(e.tag){case x:{typeof l=="function"&&(f=!0);break}case b:{(typeof l=="function"||v===st)&&(f=!0);break}case z:{(v===be||v===st)&&(f=!0);break}case se:case le:{(v===Vt||v===st)&&(f=!0);break}default:return!1}if(f){var y=ro(o);if(y!==void 0&&y===ro(l))return!0}return!1}}function oD(e){{if(ro===null||typeof WeakSet!="function")return;lp===null&&(lp=new WeakSet),lp.add(e)}}var ez=function(e,t){{if(ro===null)return;var o=t.staleFamilies,l=t.updatedFamilies;xl(),Sl(function(){dx(e.current,l,o)})}},tz=function(e,t){{if(e.context!==ka)return;xl(),Sl(function(){_v(t,e,null,null)})}};function dx(e,t,o){{var l=e.alternate,f=e.child,v=e.sibling,y=e.tag,E=e.type,R=null;switch(y){case b:case le:case x:R=E;break;case z:R=E.render;break}if(ro===null)throw new Error("Expected resolveFamily to be set during hot reload.");var D=!1,O=!1;if(R!==null){var W=ro(R);W!==void 0&&(o.has(W)?O=!0:t.has(W)&&(y===x?O=!0:D=!0))}if(lp!==null&&(lp.has(e)||l!==null&&lp.has(l))&&(O=!0),O&&(e._debugNeedsRemount=!0),O||D){var G=ga(e,tt);G!==null&&Mr(G,e,tt,Cn)}f!==null&&!O&&dx(f,t,o),v!==null&&dx(v,t,o)}}var nz=function(e,t){{var o=new Set,l=new Set(t.map(function(f){return f.current}));return px(e.current,l,o),o}};function px(e,t,o){{var l=e.child,f=e.sibling,v=e.tag,y=e.type,E=null;switch(v){case b:case le:case x:E=y;break;case z:E=y.render;break}var R=!1;E!==null&&t.has(E)&&(R=!0),R?rz(e,o):l!==null&&px(l,t,o),f!==null&&px(f,t,o)}}function rz(e,t){{var o=iz(e,t);if(o)return;for(var l=e;;){switch(l.tag){case k:t.add(l.stateNode);return;case M:t.add(l.stateNode.containerInfo);return;case w:t.add(l.stateNode.containerInfo);return}if(l.return===null)throw new Error("Expected to reach root first.");l=l.return}}}function iz(e,t){for(var o=e,l=!1;;){if(o.tag===k)l=!0,t.add(o.stateNode);else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===e)return l;for(;o.sibling===null;){if(o.return===null||o.return===e)return l;o=o.return}o.sibling.return=o.return,o=o.sibling}return!1}var hx;{hx=!1;try{var uD=Object.preventExtensions({})}catch{hx=!0}}function az(e,t,o,l){this.tag=e,this.key=o,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=l,this.flags=it,this.subtreeFlags=it,this.deletions=null,this.lanes=pe,this.childLanes=pe,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,!hx&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var La=function(e,t,o,l){return new az(e,t,o,l)};function vx(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function oz(e){return typeof e=="function"&&!vx(e)&&e.defaultProps===void 0}function uz(e){if(typeof e=="function")return vx(e)?x:b;if(e!=null){var t=e.$$typeof;if(t===be)return z;if(t===Vt)return se}return T}function af(e,t){var o=e.alternate;o===null?(o=La(e.tag,t,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o._debugSource=e._debugSource,o._debugOwner=e._debugOwner,o._debugHookTypes=e._debugHookTypes,o.alternate=e,e.alternate=o):(o.pendingProps=t,o.type=e.type,o.flags=it,o.subtreeFlags=it,o.deletions=null,o.actualDuration=0,o.actualStartTime=-1),o.flags=e.flags&Cr,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue;var l=e.dependencies;switch(o.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o.selfBaseDuration=e.selfBaseDuration,o.treeBaseDuration=e.treeBaseDuration,o._debugNeedsRemount=e._debugNeedsRemount,o.tag){case T:case b:case le:o.type=sp(e.type);break;case x:o.type=cx(e.type);break;case z:o.type=fx(e.type);break}return o}function lz(e,t){e.flags&=Cr|xn;var o=e.alternate;if(o===null)e.childLanes=pe,e.lanes=t,e.child=null,e.subtreeFlags=it,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=o.childLanes,e.lanes=o.lanes,e.child=o.child,e.subtreeFlags=it,e.deletions=null,e.memoizedProps=o.memoizedProps,e.memoizedState=o.memoizedState,e.updateQueue=o.updateQueue,e.type=o.type;var l=o.dependencies;e.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},e.selfBaseDuration=o.selfBaseDuration,e.treeBaseDuration=o.treeBaseDuration}return e}function sz(e,t,o){var l;return e===hy?(l=Qe,t===!0&&(l|=kt,l|=Gi)):l=Ye,Hi&&(l|=bt),La(w,null,null,l)}function mx(e,t,o,l,f,v){var y=T,E=e;if(typeof e=="function")vx(e)?(y=x,E=cx(E)):E=sp(E);else if(typeof e=="string")y=k;else e:switch(e){case Vi:return Us(o.children,f,v,t);case Ba:y=_,f|=kt,(f&Qe)!==Ye&&(f|=Gi);break;case za:return cz(o,f,v,t);case Je:return fz(o,f,v,t);case Lt:return dz(o,f,v,t);case hn:return lD(o,f,v,t);case Sn:case Dt:case Nr:case Ha:case Qn:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case P:y=Z;break e;case ve:y=j;break e;case be:y=z,E=fx(E);break e;case Vt:y=se;break e;case st:y=de,E=null;break e}var R="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(R+=" 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 D=l?xt(l):null;D&&(R+=`
246
-
247
- Check the render method of \``+D+"`.")}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)+"."+R))}}var O=La(y,o,t,f);return O.elementType=e,O.type=E,O.lanes=v,O._debugOwner=l,O}function gx(e,t,o){var l=null;l=e._owner;var f=e.type,v=e.key,y=e.props,E=mx(f,v,y,l,t,o);return E._debugSource=e._source,E._debugOwner=e._owner,E}function Us(e,t,o,l){var f=La(V,e,l,t);return f.lanes=o,f}function cz(e,t,o,l){typeof e.id!="string"&&h('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var f=La(q,e,l,t|bt);return f.elementType=za,f.lanes=o,f.stateNode={effectDuration:0,passiveEffectDuration:0},f}function fz(e,t,o,l){var f=La(H,e,l,t);return f.elementType=Je,f.lanes=o,f}function dz(e,t,o,l){var f=La(nt,e,l,t);return f.elementType=Lt,f.lanes=o,f}function lD(e,t,o,l){var f=La(Be,e,l,t);f.elementType=hn,f.lanes=o;var v={isHidden:!1};return f.stateNode=v,f}function yx(e,t,o){var l=La(F,e,null,t);return l.lanes=o,l}function pz(){var e=La(k,null,null,Ye);return e.elementType="DELETED",e}function hz(e){var t=La(We,null,null,Ye);return t.stateNode=e,t}function bx(e,t,o){var l=e.children!==null?e.children:[],f=La(M,l,e.key,t);return f.lanes=o,f.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},f}function sD(e,t){return e===null&&(e=La(T,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 vz(e,t,o,l,f){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=eC,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=er,this.eventTimes=Dc(pe),this.expirationTimes=Dc(Cn),this.pendingLanes=pe,this.suspendedLanes=pe,this.pingedLanes=pe,this.expiredLanes=pe,this.mutableReadLanes=pe,this.finishedLanes=pe,this.entangledLanes=pe,this.entanglements=Dc(pe),this.identifierPrefix=l,this.onRecoverableError=f,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var v=this.pendingUpdatersLaneMap=[],y=0;y<Ec;y++)v.push(new Set)}switch(t){case hy:this._debugRootType=o?"hydrateRoot()":"createRoot()";break;case Os:this._debugRootType=o?"hydrate()":"render()";break}}function cD(e,t,o,l,f,v,y,E,R,D){var O=new vz(e,t,o,E,R),W=sz(t,v);O.current=W,W.stateNode=O;{var G={element:l,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null};W.memoizedState=G}return kC(W),O}var Cx="18.3.1";function mz(e,t,o){var l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return fi(l),{$$typeof:Xr,key:l==null?null:""+l,children:e,containerInfo:t,implementation:o}}var Sx,xx;Sx=!1,xx={};function fD(e){if(!e)return ka;var t=ra(e),o=K9(t);if(t.tag===x){var l=t.type;if(bu(l))return _A(t,l,o)}return o}function gz(e,t){{var o=ra(e);if(o===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var l=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+l)}var f=ua(o);if(f===null)return null;if(f.mode&kt){var v=xt(o)||"Component";if(!xx[v]){xx[v]=!0;var y=kn;try{en(f),o.mode&kt?h("%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,v):h("%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,v)}finally{y?en(y):Fn()}}}return f.stateNode}}function dD(e,t,o,l,f,v,y,E){var R=!1,D=null;return cD(e,t,R,D,o,l,f,v,y)}function pD(e,t,o,l,f,v,y,E,R,D){var O=!0,W=cD(o,l,O,e,f,v,y,E,R);W.context=fD(null);var G=W.current,ee=Xi(),re=Gs(G),oe=gl(ee,re);return oe.callback=t??null,Ns(G,oe,re),T5(W,re,ee),W}function _v(e,t,o,l){vh(t,e);var f=t.current,v=Xi(),y=Gs(f);yh(y);var E=fD(o);t.context===null?t.context=E:t.pendingContext=E,vi&&kn!==null&&!Sx&&(Sx=!0,h(`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.
248
-
249
- Check the render method of %s.`,xt(kn)||"Unknown"));var R=gl(v,y);R.payload={element:e},l=l===void 0?null:l,l!==null&&(typeof l!="function"&&h("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",l),R.callback=l);var D=Ns(f,R,y);return D!==null&&(Mr(D,f,y,v),Dy(D,f,y)),y}function y0(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case k:return t.child.stateNode;default:return t.child.stateNode}}function yz(e){switch(e.tag){case w:{var t=e.stateNode;if(vd(t)){var o=Sh(t);I5(t,o)}break}case H:{Sl(function(){var f=ga(e,tt);if(f!==null){var v=Xi();Mr(f,e,tt,v)}});var l=tt;Ex(e,l);break}}}function hD(e,t){var o=e.memoizedState;o!==null&&o.dehydrated!==null&&(o.retryLane=wg(o.retryLane,t))}function Ex(e,t){hD(e,t);var o=e.alternate;o&&hD(o,t)}function bz(e){if(e.tag===H){var t=Rc,o=ga(e,t);if(o!==null){var l=Xi();Mr(o,e,t,l)}Ex(e,t)}}function Cz(e){if(e.tag===H){var t=Gs(e),o=ga(e,t);if(o!==null){var l=Xi();Mr(o,e,t,l)}Ex(e,t)}}function vD(e){var t=lg(e);return t===null?null:t.stateNode}var mD=function(e){return null};function Sz(e){return mD(e)}var gD=function(e){return!1};function xz(e){return gD(e)}var yD=null,bD=null,CD=null,SD=null,xD=null,ED=null,TD=null,RD=null,wD=null;{var AD=function(e,t,o){var l=t[o],f=Bt(e)?e.slice():Mt({},e);return o+1===t.length?(Bt(f)?f.splice(l,1):delete f[l],f):(f[l]=AD(e[l],t,o+1),f)},ID=function(e,t){return AD(e,t,0)},DD=function(e,t,o,l){var f=t[l],v=Bt(e)?e.slice():Mt({},e);if(l+1===t.length){var y=o[l];v[y]=v[f],Bt(v)?v.splice(f,1):delete v[f]}else v[f]=DD(e[f],t,o,l+1);return v},MD=function(e,t,o){if(t.length!==o.length){m("copyWithRename() expects paths of the same length");return}else for(var l=0;l<o.length-1;l++)if(t[l]!==o[l]){m("copyWithRename() expects paths to be the same except for the deepest key");return}return DD(e,t,o,0)},OD=function(e,t,o,l){if(o>=t.length)return l;var f=t[o],v=Bt(e)?e.slice():Mt({},e);return v[f]=OD(e[f],t,o+1,l),v},kD=function(e,t,o){return OD(e,t,0,o)},Tx=function(e,t){for(var o=e.memoizedState;o!==null&&t>0;)o=o.next,t--;return o};yD=function(e,t,o,l){var f=Tx(e,t);if(f!==null){var v=kD(f.memoizedState,o,l);f.memoizedState=v,f.baseState=v,e.memoizedProps=Mt({},e.memoizedProps);var y=ga(e,tt);y!==null&&Mr(y,e,tt,Cn)}},bD=function(e,t,o){var l=Tx(e,t);if(l!==null){var f=ID(l.memoizedState,o);l.memoizedState=f,l.baseState=f,e.memoizedProps=Mt({},e.memoizedProps);var v=ga(e,tt);v!==null&&Mr(v,e,tt,Cn)}},CD=function(e,t,o,l){var f=Tx(e,t);if(f!==null){var v=MD(f.memoizedState,o,l);f.memoizedState=v,f.baseState=v,e.memoizedProps=Mt({},e.memoizedProps);var y=ga(e,tt);y!==null&&Mr(y,e,tt,Cn)}},SD=function(e,t,o){e.pendingProps=kD(e.memoizedProps,t,o),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var l=ga(e,tt);l!==null&&Mr(l,e,tt,Cn)},xD=function(e,t){e.pendingProps=ID(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var o=ga(e,tt);o!==null&&Mr(o,e,tt,Cn)},ED=function(e,t,o){e.pendingProps=MD(e.memoizedProps,t,o),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var l=ga(e,tt);l!==null&&Mr(l,e,tt,Cn)},TD=function(e){var t=ga(e,tt);t!==null&&Mr(t,e,tt,Cn)},RD=function(e){mD=e},wD=function(e){gD=e}}function Ez(e){var t=ua(e);return t===null?null:t.stateNode}function Tz(e){return null}function Rz(){return kn}function wz(e){var t=e.findFiberByHostInstance,o=u.ReactCurrentDispatcher;return hh({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:yD,overrideHookStateDeletePath:bD,overrideHookStateRenamePath:CD,overrideProps:SD,overridePropsDeletePath:xD,overridePropsRenamePath:ED,setErrorHandler:RD,setSuspenseHandler:wD,scheduleUpdate:TD,currentDispatcherRef:o,findHostInstanceByFiber:Ez,findFiberByHostInstance:t||Tz,findHostInstancesForRefresh:nz,scheduleRefresh:ez,scheduleRoot:tz,setRefreshHandler:q5,getCurrentFiber:Rz,reconcilerVersion:Cx})}var LD=typeof reportError=="function"?reportError:function(e){console.error(e)};function Rx(e){this._internalRoot=e}b0.prototype.render=Rx.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?h("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):C0(arguments[1])?h("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"&&h("You passed a second argument to root.render(...) but it only accepts one argument.");var o=t.containerInfo;if(o.nodeType!==Kn){var l=vD(t.current);l&&l.parentNode!==o&&h("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.")}}_v(e,t,null,null)},b0.prototype.unmount=Rx.prototype.unmount=function(){typeof arguments[0]=="function"&&h("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;W2()&&h("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."),Sl(function(){_v(null,e,null,null)}),LA(t)}};function Az(e,t){if(!C0(e))throw new Error("createRoot(...): Target container is not a DOM element.");ND(e);var o=!1,l=!1,f="",v=LD;t!=null&&(t.hydrate?m("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Ta&&h(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
250
-
251
- let root = createRoot(domContainer);
252
- root.render(<App />);`),t.unstable_strictMode===!0&&(o=!0),t.identifierPrefix!==void 0&&(f=t.identifierPrefix),t.onRecoverableError!==void 0&&(v=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var y=dD(e,hy,null,o,l,f,v);uy(y.current,e);var E=e.nodeType===Kn?e.parentNode:e;return Uh(E),new Rx(y)}function b0(e){this._internalRoot=e}function Iz(e){e&&A1(e)}b0.prototype.unstable_scheduleHydration=Iz;function Dz(e,t,o){if(!C0(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");ND(e),t===void 0&&h("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var l=o??null,f=o!=null&&o.hydratedSources||null,v=!1,y=!1,E="",R=LD;o!=null&&(o.unstable_strictMode===!0&&(v=!0),o.identifierPrefix!==void 0&&(E=o.identifierPrefix),o.onRecoverableError!==void 0&&(R=o.onRecoverableError));var D=pD(t,null,e,hy,l,v,y,E,R);if(uy(D.current,e),Uh(e),f)for(var O=0;O<f.length;O++){var W=f[O];L_(D,W)}return new b0(D)}function C0(e){return!!(e&&(e.nodeType===gi||e.nodeType===Ia||e.nodeType===Gu||!ie))}function Bv(e){return!!(e&&(e.nodeType===gi||e.nodeType===Ia||e.nodeType===Gu||e.nodeType===Kn&&e.nodeValue===" react-mount-point-unstable "))}function ND(e){e.nodeType===gi&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&h("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."),tv(e)&&(e._reactRootContainer?h("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):h("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 Mz=u.ReactCurrentOwner,PD;PD=function(e){if(e._reactRootContainer&&e.nodeType!==Kn){var t=vD(e._reactRootContainer.current);t&&t.parentNode!==e&&h("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 o=!!e._reactRootContainer,l=wx(e),f=!!(l&&Ds(l));f&&!o&&h("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===gi&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&h("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 wx(e){return e?e.nodeType===Ia?e.documentElement:e.firstChild:null}function FD(){}function Oz(e,t,o,l,f){if(f){if(typeof l=="function"){var v=l;l=function(){var G=y0(y);v.call(G)}}var y=pD(t,l,e,Os,null,!1,!1,"",FD);e._reactRootContainer=y,uy(y.current,e);var E=e.nodeType===Kn?e.parentNode:e;return Uh(E),Sl(),y}else{for(var R;R=e.lastChild;)e.removeChild(R);if(typeof l=="function"){var D=l;l=function(){var G=y0(O);D.call(G)}}var O=dD(e,Os,null,!1,!1,"",FD);e._reactRootContainer=O,uy(O.current,e);var W=e.nodeType===Kn?e.parentNode:e;return Uh(W),Sl(function(){_v(t,O,o,l)}),O}}function kz(e,t){e!==null&&typeof e!="function"&&h("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function S0(e,t,o,l,f){PD(o),kz(f===void 0?null:f,"render");var v=o._reactRootContainer,y;if(!v)y=Oz(o,t,e,f,l);else{if(y=v,typeof f=="function"){var E=f;f=function(){var R=y0(y);E.call(R)}}_v(t,y,e,f)}return y0(y)}var VD=!1;function Lz(e){{VD||(VD=!0,h("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=Mz.current;if(t!==null&&t.stateNode!==null){var o=t.stateNode._warnedAboutRefsInRender;o||h("%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.",_t(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===gi?e:gz(e,"findDOMNode")}function Nz(e,t,o){if(h("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"),!Bv(t))throw new Error("Target container is not a DOM element.");{var l=tv(t)&&t._reactRootContainer===void 0;l&&h("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 S0(null,e,t,!0,o)}function Pz(e,t,o){if(h("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"),!Bv(t))throw new Error("Target container is not a DOM element.");{var l=tv(t)&&t._reactRootContainer===void 0;l&&h("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 S0(null,e,t,!1,o)}function Fz(e,t,o,l){if(h("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"),!Bv(o))throw new Error("Target container is not a DOM element.");if(e==null||!mc(e))throw new Error("parentComponent must be a valid React Component");return S0(e,t,o,!1,l)}var _D=!1;function Vz(e){if(_D||(_D=!0,h("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")),!Bv(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=tv(e)&&e._reactRootContainer===void 0;t&&h("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 o=wx(e),l=o&&!Ds(o);l&&h("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return Sl(function(){S0(null,null,e,!1,function(){e._reactRootContainer=null,LA(e)})}),!0}else{{var f=wx(e),v=!!(f&&Ds(f)),y=e.nodeType===gi&&Bv(e.parentNode)&&!!e.parentNode._reactRootContainer;v&&h("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",y?"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}}vs(yz),R1(bz),gd(Cz),Dg(fa),Mg(_r),(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")&&h("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"),ag(B3),Nf(rx,D5,Sl);function _z(e,t){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!C0(t))throw new Error("Target container is not a DOM element.");return mz(e,t,null,o)}function Bz(e,t,o,l){return Fz(e,t,o,l)}var Ax={usingClientEntryPoint:!1,Events:[Ds,zd,ly,Lf,pc,rx]};function zz(e,t){return Ax.usingClientEntryPoint||h('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),Az(e,t)}function Hz(e,t,o){return Ax.usingClientEntryPoint||h('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),Dz(e,t,o)}function Gz(e){return W2()&&h("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."),Sl(e)}var jz=wz({findFiberByHostInstance:jc,bundleType:1,version:Cx,rendererPackageName:"react-dom"});if(!jz&&on&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var BD=window.location.protocol;/^(https?|file):$/.test(BD)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(BD==="file:"?`
253
- You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Ji.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ax,Ji.createPortal=_z,Ji.createRoot=zz,Ji.findDOMNode=Lz,Ji.flushSync=Gz,Ji.hydrate=Nz,Ji.hydrateRoot=Hz,Ji.render=Pz,Ji.unmountComponentAtNode=Vz,Ji.unstable_batchedUpdates=rx,Ji.unstable_renderSubtreeIntoContainer=Bz,Ji.version=Cx,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Ji}function NR(){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(NR)}catch(i){console.error(i)}}}process.env.NODE_ENV==="production"?(NR(),Ib.exports=DN()):Ib.exports=MN();var kl=Ib.exports;const ON=x0(kl);function kN(i){const{children:r}=i,[u,c]=Y.useState(!1);Y.useEffect(()=>{c(!0)},[]);const d=document.getElementById("biznext-ui-toast-portal");return u&&d?kl.createPortal(r,d):kl.createPortal(r,document.body)}const LN=i=>{const{toasts:r,toastPosition:u="top-center"}=i;return Ee.jsx(kN,{children:Ee.jsx("div",{className:of(Bo["toasts-container"],Bo[u]),children:Ee.jsx(Ab,{children:r.map(c=>Ee.jsx(wN,{id:c.id,type:c.type,title:c.title},c.id))})})})};for(var Gr=[],Ob=0;Ob<256;++Ob)Gr.push((Ob+256).toString(16).slice(1));function NN(i,r=0){return(Gr[i[r+0]]+Gr[i[r+1]]+Gr[i[r+2]]+Gr[i[r+3]]+"-"+Gr[i[r+4]]+Gr[i[r+5]]+"-"+Gr[i[r+6]]+Gr[i[r+7]]+"-"+Gr[i[r+8]]+Gr[i[r+9]]+"-"+Gr[i[r+10]]+Gr[i[r+11]]+Gr[i[r+12]]+Gr[i[r+13]]+Gr[i[r+14]]+Gr[i[r+15]]).toLowerCase()}var fm,PN=new Uint8Array(16);function FN(){if(!fm&&(fm=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!fm))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return fm(PN)}var VN=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const PR={randomUUID:VN};function _N(i,r,u){if(PR.randomUUID&&!r&&!i)return PR.randomUUID();i=i||{};var c=i.random||(i.rng||FN)();return c[6]=c[6]&15|64,c[8]=c[8]&63|128,NN(c)}function BN(){return ON.createPortal(Ee.jsxs("div",{id:"biznext-ui-portal",children:[Ee.jsx("div",{id:"biznext-ui-modal-portal"}),Ee.jsx("div",{id:"biznext-ui-toast-portal"}),Ee.jsx("div",{id:"biznext-ui-confirm-dialog-portal"})]}),document.body)}function zN(i){return Ws({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M7 4V2H17V4H22V6H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V6H2V4H7ZM6 6V20H18V6H6ZM9 9H11V17H9V9ZM13 9H15V17H13V9Z"},child:[]}]})(i)}const io={"confirm-dialog":"biznext-ui-4yyscqDACxw-e","confirm-dialog-overlay":"biznext-ui-ylpaWxEFaTU-c","confirm-dialog-content":"biznext-ui-xwshXokj5ZA-c","confirm-dialog-body":"biznext-ui-K3-i0eWEQi8-2","confirm-dialog-icon-container":"biznext-ui-W86o6InrK1E-5","confirm-dialog-icon":"biznext-ui-PSIKxZhvjyo-3","confirm-dialog-footer":"biznext-ui-ffcW632vEe0-7","confirm-dialog-footer-close-btn":"biznext-ui-hDNTUYM-ra0-8","confirm-dialog-footer-confirm-btn":"biznext-ui-bFmcSx3W8Rs-6",info:"biznext-ui-wec4qWkj9NU-c",warning:"biznext-ui-mcehjNn9Nl0-9",danger:"biznext-ui-pYq-UQoFMHM-a",success:"biznext-ui-bgVORylkzc0-6"};function HN(i){const{children:r}=i,[u,c]=Y.useState(!1);Y.useEffect(()=>{c(!0)},[]);const d=document.getElementById("biznext-ui-confirm-dialog-portal");return u&&d?kl.createPortal(r,d):kl.createPortal(r,document.body)}const GN=i=>{const{isOpen:r,onClose:u,config:c}=i,{type:d,title:m,description:h,icon:S,onConfirm:b,buttonContent:x}=c,T=()=>{u()},w=()=>{b(),u()};return Ee.jsx(HN,{children:Ee.jsx("div",{className:io["confirm-dialog-wrapper"],children:Ee.jsx(Ab,{children:r&&Ee.jsx(Mp.div,{className:io["confirm-dialog-overlay"],initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:Ee.jsx(Mp.div,{className:of(io["confirm-dialog"],io[d]),initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},children:Ee.jsxs("div",{className:io["confirm-dialog-content"],children:[Ee.jsxs("div",{className:io["confirm-dialog-body"],children:[Ee.jsx("div",{className:io["confirm-dialog-icon-container"],children:Ee.jsx("div",{className:io["confirm-dialog-icon"],children:S||Ee.jsx(zN,{})})}),Ee.jsxs("div",{children:[Ee.jsx("h2",{children:m}),Ee.jsx("p",{children:h})]})]}),Ee.jsxs("div",{className:io["confirm-dialog-footer"],children:[Ee.jsx("button",{type:"button",className:io["confirm-dialog-footer-close-btn"],onClick:T,children:x&&x.onCloseTitle?x.onCloseTitle:"Cancel"}),Ee.jsx("button",{type:"button",className:io["confirm-dialog-footer-confirm-btn"],onClick:w,children:x&&x.onConfirmTitle?x.onConfirmTitle:"Confirm"})]})]})})})})})})},FR=Y.createContext({}),jN=({children:i,toastPosition:r})=>i?Ee.jsx(UN,{children:i,toastPosition:r}):null,UN=({children:i,toastPosition:r})=>{const u={toasts:[]};console.log(u,"initialState"),console.log(Nx,"ToastReducer"),console.log(Y.useReducer,"useReducer");const[c,d]=Y.useReducer(Nx,u),m=(z,q,H)=>{const se=_N();d({type:"ADD_TOAST",payload:{id:se,title:q,type:z,config:H}})},w={success:(z,q)=>{m("success",z,q)},warning:(z,q)=>{m("warning",z,q)},info:(z,q)=>{m("info",z,q)},error:(z,q)=>{m("error",z,q)},removeToast:z=>{d({type:"DELETE_TOAST",payload:{id:z,title:"",type:""}})}},[M,k]=Y.useState({}),[F,V]=Y.useState(!1),_=z=>{k(z),V(!0)},j=()=>{V(!1)},Z=_;return i?Ee.jsx(Lx.Provider,{value:w,children:Ee.jsxs(FR.Provider,{value:Z,children:[Ee.jsx(BN,{}),Ee.jsx(LN,{toasts:c.toasts,toastPosition:r}),Ee.jsx(GN,{isOpen:F,onClose:j,config:M}),i]})}):null},ao={"modal-wrapper":"biznext-ui-n2Vjx4mdikE-9","modal-overlay":"biznext-ui-6sKjk6L11EQ-e",modal:"biznext-ui-Mao59ye15po-3",left:"biznext-ui-5bDq6-PrHF4-e","left-slider":"biznext-ui-dhv7A0opLyg-7",right:"biznext-ui-X9XXG3R3kc4-5","right-slider":"biznext-ui-EXk9iqQoKIU-1","top-left":"biznext-ui-agEjPkJufuY-6","top-center":"biznext-ui-CzoFpYQH5r0-0","top-right":"biznext-ui-e0SRVasbx2Q-7","bottom-left":"biznext-ui-jMdhucf3jH4-8","bottom-center":"biznext-ui-1ruLnzU-7Mg-d","bottom-right":"biznext-ui-IBxY5gMZXAs-2",center:"biznext-ui-g7IKSnXitqg-8",full:"biznext-ui-T4NhvYHqFMo-4","modal-content":"biznext-ui-1F-uEUK7Izg-d","modal-header":"biznext-ui-nWO9WSw4Ix8-9","module-header-close-btn":"biznext-ui-kCEeyonkTlE-9","modal-title":"biznext-ui-r-WKlIAFS20-a","modal-body":"biznext-ui-7AJhK9Yn-KQ-e","modal-footer":"biznext-ui-lUyv0bpMUw4-9","modal-footer-close-btn":"biznext-ui-acScPNehEic-6"};function WN(i){return Ws({tag:"svg",attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"},child:[]}]})(i)}function XN(i){const{children:r}=i,[u,c]=Y.useState(!1);Y.useEffect(()=>{c(!0)},[]);const d=document.getElementById("biznext-ui-modal-portal");return u&&d?kl.createPortal(r,d):kl.createPortal(r,document.body)}const kb=Y.createContext({onClose:()=>console.warn("Biznext-UI-Modal: Close Function not Implemented!")}),vf=i=>{const{type:r,index:u,height:c,width:d,sx:m,isOpen:h,onClose:S,children:b}=i;return Ee.jsx(kb.Provider,{value:{onClose:S},children:Ee.jsx(XN,{children:Ee.jsx(Ab,{children:h&&Ee.jsxs("div",{className:ao["modal-wrapper"],children:[Ee.jsx(Mp.div,{className:ao["modal-overlay"],style:{zIndex:9999+(u||0)},onClick:S,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}}),Ee.jsx(Mp.div,{initial:{opacity:0,scale:.95},className:of(ao.modal,ao[r]),style:{height:c,width:d,zIndex:99999+(u||0),...m},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},children:b})]})})})})},ZN=vf,YN=({children:i})=>Ee.jsx("div",{className:ao["modal-content"],children:i}),$N=({children:i})=>{const{onClose:r}=Y.useContext(kb);return Ee.jsxs("header",{id:"handle",className:ao["modal-header"],children:[i,Ee.jsx("button",{type:"button",className:ao["module-header-close-btn"],onClick:r,children:Ee.jsx(WN,{})})]})},JN=({children:i})=>Ee.jsx("h2",{className:ao["modal-title"],children:i}),QN=({children:i})=>Ee.jsx("div",{className:ao["modal-body"],children:i}),KN=i=>{const{children:r,closeTitle:u}=i,{onClose:c}=Y.useContext(kb);return Ee.jsxs("footer",{className:ao["modal-footer"],children:[r,Ee.jsx("button",{type:"button",className:ao["modal-footer-close-btn"],onClick:c,children:u||"Cancel"})]})};vf.Content=YN,vf.Header=$N,vf.Title=JN,vf.Body=QN,vf.Footer=KN;const qN=()=>Y.useContext(FR),oo={form:"biznext-ui-WgISRe1bJDU-5","form-group":"biznext-ui-PDYbgOuoFL0-3","form-input-group":"biznext-ui-7dIDGqcfwy4-e","form-input-group-label":"biznext-ui-3qrluRcbSyQ-d",required:"biznext-ui-S1AWtF9fE-s-4","form-input-control-group":"biznext-ui-GQweSyKURD4-1","form-input-control":"biznext-ui-Pxa8kMsnvaQ-3","validation-error":"biznext-ui-B7sgFlayyBI-0","form-select-control":"biznext-ui-TyZSBF2HLh0-4","form-input-group-error-text":"biznext-ui-npOI3UC2M38-9"};function Ks(i){"@babel/helpers - typeof";return Ks=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ks(i)}function eP(i,r){if(Ks(i)!="object"||!i)return i;var u=i[Symbol.toPrimitive];if(u!==void 0){var c=u.call(i,r||"default");if(Ks(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(i)}function VR(i){var r=eP(i,"string");return Ks(r)=="symbol"?r:r+""}function Op(i,r,u){return(r=VR(r))in i?Object.defineProperty(i,r,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[r]=u,i}function _R(i,r){var u=Object.keys(i);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(i);r&&(c=c.filter(function(d){return Object.getOwnPropertyDescriptor(i,d).enumerable})),u.push.apply(u,c)}return u}function ht(i){for(var r=1;r<arguments.length;r++){var u=arguments[r]!=null?arguments[r]:{};r%2?_R(Object(u),!0).forEach(function(c){Op(i,c,u[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(u)):_R(Object(u)).forEach(function(c){Object.defineProperty(i,c,Object.getOwnPropertyDescriptor(u,c))})}return i}function tP(i){if(Array.isArray(i))return i}function nP(i,r){var u=i==null?null:typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(u!=null){var c,d,m,h,S=[],b=!0,x=!1;try{if(m=(u=u.call(i)).next,r===0){if(Object(u)!==u)return;b=!1}else for(;!(b=(c=m.call(u)).done)&&(S.push(c.value),S.length!==r);b=!0);}catch(T){x=!0,d=T}finally{try{if(!b&&u.return!=null&&(h=u.return(),Object(h)!==h))return}finally{if(x)throw d}}return S}}function Lb(i,r){(r==null||r>i.length)&&(r=i.length);for(var u=0,c=Array(r);u<r;u++)c[u]=i[u];return c}function BR(i,r){if(i){if(typeof i=="string")return Lb(i,r);var u={}.toString.call(i).slice(8,-1);return u==="Object"&&i.constructor&&(u=i.constructor.name),u==="Map"||u==="Set"?Array.from(i):u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?Lb(i,r):void 0}}function rP(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
254
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Pu(i,r){return tP(i)||nP(i,r)||BR(i,r)||rP()}function iP(i,r){if(i==null)return{};var u={};for(var c in i)if({}.hasOwnProperty.call(i,c)){if(r.includes(c))continue;u[c]=i[c]}return u}function Fu(i,r){if(i==null)return{};var u,c,d=iP(i,r);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(i);for(c=0;c<m.length;c++)u=m[c],r.includes(u)||{}.propertyIsEnumerable.call(i,u)&&(d[u]=i[u])}return d}var aP=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function oP(i){var r=i.defaultInputValue,u=r===void 0?"":r,c=i.defaultMenuIsOpen,d=c===void 0?!1:c,m=i.defaultValue,h=m===void 0?null:m,S=i.inputValue,b=i.menuIsOpen,x=i.onChange,T=i.onInputChange,w=i.onMenuClose,M=i.onMenuOpen,k=i.value,F=Fu(i,aP),V=Y.useState(S!==void 0?S:u),_=Pu(V,2),j=_[0],Z=_[1],z=Y.useState(b!==void 0?b:d),q=Pu(z,2),H=q[0],se=q[1],le=Y.useState(k!==void 0?k:h),de=Pu(le,2),He=de[0],We=de[1],nt=Y.useCallback(function(fe,Ne){typeof x=="function"&&x(fe,Ne),We(fe)},[x]),Rt=Y.useCallback(function(fe,Ne){var xe;typeof T=="function"&&(xe=T(fe,Ne)),Z(xe!==void 0?xe:fe)},[T]),Be=Y.useCallback(function(){typeof M=="function"&&M(),se(!0)},[M]),qe=Y.useCallback(function(){typeof w=="function"&&w(),se(!1)},[w]),Ve=S!==void 0?S:j,ze=b!==void 0?b:H,Te=k!==void 0?k:He;return ht(ht({},F),{},{inputValue:Ve,menuIsOpen:ze,onChange:nt,onInputChange:Rt,onMenuClose:qe,onMenuOpen:Be,value:Te})}function gt(){return gt=Object.assign?Object.assign.bind():function(i){for(var r=1;r<arguments.length;r++){var u=arguments[r];for(var c in u)({}).hasOwnProperty.call(u,c)&&(i[c]=u[c])}return i},gt.apply(null,arguments)}function uP(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}function zR(i,r){for(var u=0;u<r.length;u++){var c=r[u];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(i,VR(c.key),c)}}function lP(i,r,u){return r&&zR(i.prototype,r),u&&zR(i,u),Object.defineProperty(i,"prototype",{writable:!1}),i}function Nb(i,r){return Nb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(u,c){return u.__proto__=c,u},Nb(i,r)}function sP(i,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(r&&r.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),r&&Nb(i,r)}function dm(i){return dm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},dm(i)}function HR(){try{var i=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(HR=function(){return!!i})()}function cP(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function fP(i,r){if(r&&(Ks(r)=="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return cP(i)}function dP(i){var r=HR();return function(){var u,c=dm(i);if(r){var d=dm(this).constructor;u=Reflect.construct(c,arguments,d)}else u=c.apply(this,arguments);return fP(this,u)}}function pP(i){if(Array.isArray(i))return Lb(i)}function hP(i){if(typeof Symbol<"u"&&i[Symbol.iterator]!=null||i["@@iterator"]!=null)return Array.from(i)}function vP(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
255
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Pb(i){return pP(i)||hP(i)||BR(i)||vP()}var mP=!1;function gP(i){if(i.sheet)return i.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===i)return document.styleSheets[r]}function yP(i){var r=document.createElement("style");return r.setAttribute("data-emotion",i.key),i.nonce!==void 0&&r.setAttribute("nonce",i.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}var bP=function(){function i(u){var c=this;this._insertTag=function(d){var m;c.tags.length===0?c.insertionPoint?m=c.insertionPoint.nextSibling:c.prepend?m=c.container.firstChild:m=c.before:m=c.tags[c.tags.length-1].nextSibling,c.container.insertBefore(d,m),c.tags.push(d)},this.isSpeedy=u.speedy===void 0?!mP:u.speedy,this.tags=[],this.ctr=0,this.nonce=u.nonce,this.key=u.key,this.container=u.container,this.prepend=u.prepend,this.insertionPoint=u.insertionPoint,this.before=null}var r=i.prototype;return r.hydrate=function(c){c.forEach(this._insertTag)},r.insert=function(c){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(yP(this));var d=this.tags[this.tags.length-1];if(this.isSpeedy){var m=gP(d);try{m.insertRule(c,m.cssRules.length)}catch{}}else d.appendChild(document.createTextNode(c));this.ctr++},r.flush=function(){this.tags.forEach(function(c){var d;return(d=c.parentNode)==null?void 0:d.removeChild(c)}),this.tags=[],this.ctr=0},i}(),si="-ms-",pm="-moz-",rn="-webkit-",GR="comm",Fb="rule",Vb="decl",CP="@import",jR="@keyframes",SP="@layer",xP=Math.abs,hm=String.fromCharCode,EP=Object.assign;function TP(i,r){return jr(i,0)^45?(((r<<2^jr(i,0))<<2^jr(i,1))<<2^jr(i,2))<<2^jr(i,3):0}function UR(i){return i.trim()}function RP(i,r){return(i=r.exec(i))?i[0]:i}function an(i,r,u){return i.replace(r,u)}function _b(i,r){return i.indexOf(r)}function jr(i,r){return i.charCodeAt(r)|0}function kp(i,r,u){return i.slice(r,u)}function Ho(i){return i.length}function Bb(i){return i.length}function vm(i,r){return r.push(i),i}function wP(i,r){return i.map(r).join("")}var mm=1,mf=1,WR=0,Qi=0,sr=0,gf="";function gm(i,r,u,c,d,m,h){return{value:i,root:r,parent:u,type:c,props:d,children:m,line:mm,column:mf,length:h,return:""}}function Lp(i,r){return EP(gm("",null,null,"",null,null,0),i,{length:-i.length},r)}function AP(){return sr}function IP(){return sr=Qi>0?jr(gf,--Qi):0,mf--,sr===10&&(mf=1,mm--),sr}function xa(){return sr=Qi<WR?jr(gf,Qi++):0,mf++,sr===10&&(mf=1,mm++),sr}function Go(){return jr(gf,Qi)}function ym(){return Qi}function Np(i,r){return kp(gf,i,r)}function Pp(i){switch(i){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 XR(i){return mm=mf=1,WR=Ho(gf=i),Qi=0,[]}function ZR(i){return gf="",i}function bm(i){return UR(Np(Qi-1,zb(i===91?i+2:i===40?i+1:i)))}function DP(i){for(;(sr=Go())&&sr<33;)xa();return Pp(i)>2||Pp(sr)>3?"":" "}function MP(i,r){for(;--r&&xa()&&!(sr<48||sr>102||sr>57&&sr<65||sr>70&&sr<97););return Np(i,ym()+(r<6&&Go()==32&&xa()==32))}function zb(i){for(;xa();)switch(sr){case i:return Qi;case 34:case 39:i!==34&&i!==39&&zb(sr);break;case 40:i===41&&zb(i);break;case 92:xa();break}return Qi}function OP(i,r){for(;xa()&&i+sr!==57;)if(i+sr===84&&Go()===47)break;return"/*"+Np(r,Qi-1)+"*"+hm(i===47?i:xa())}function kP(i){for(;!Pp(Go());)xa();return Np(i,Qi)}function LP(i){return ZR(Cm("",null,null,null,[""],i=XR(i),0,[0],i))}function Cm(i,r,u,c,d,m,h,S,b){for(var x=0,T=0,w=h,M=0,k=0,F=0,V=1,_=1,j=1,Z=0,z="",q=d,H=m,se=c,le=z;_;)switch(F=Z,Z=xa()){case 40:if(F!=108&&jr(le,w-1)==58){_b(le+=an(bm(Z),"&","&\f"),"&\f")!=-1&&(j=-1);break}case 34:case 39:case 91:le+=bm(Z);break;case 9:case 10:case 13:case 32:le+=DP(F);break;case 92:le+=MP(ym()-1,7);continue;case 47:switch(Go()){case 42:case 47:vm(NP(OP(xa(),ym()),r,u),b);break;default:le+="/"}break;case 123*V:S[x++]=Ho(le)*j;case 125*V:case 59:case 0:switch(Z){case 0:case 125:_=0;case 59+T:j==-1&&(le=an(le,/\f/g,"")),k>0&&Ho(le)-w&&vm(k>32?$R(le+";",c,u,w-1):$R(an(le," ","")+";",c,u,w-2),b);break;case 59:le+=";";default:if(vm(se=YR(le,r,u,x,T,d,S,z,q=[],H=[],w),m),Z===123)if(T===0)Cm(le,r,se,se,q,m,w,S,H);else switch(M===99&&jr(le,3)===110?100:M){case 100:case 108:case 109:case 115:Cm(i,se,se,c&&vm(YR(i,se,se,0,0,d,S,z,d,q=[],w),H),d,H,w,S,c?q:H);break;default:Cm(le,se,se,se,[""],H,0,S,H)}}x=T=k=0,V=j=1,z=le="",w=h;break;case 58:w=1+Ho(le),k=F;default:if(V<1){if(Z==123)--V;else if(Z==125&&V++==0&&IP()==125)continue}switch(le+=hm(Z),Z*V){case 38:j=T>0?1:(le+="\f",-1);break;case 44:S[x++]=(Ho(le)-1)*j,j=1;break;case 64:Go()===45&&(le+=bm(xa())),M=Go(),T=w=Ho(z=le+=kP(ym())),Z++;break;case 45:F===45&&Ho(le)==2&&(V=0)}}return m}function YR(i,r,u,c,d,m,h,S,b,x,T){for(var w=d-1,M=d===0?m:[""],k=Bb(M),F=0,V=0,_=0;F<c;++F)for(var j=0,Z=kp(i,w+1,w=xP(V=h[F])),z=i;j<k;++j)(z=UR(V>0?M[j]+" "+Z:an(Z,/&\f/g,M[j])))&&(b[_++]=z);return gm(i,r,u,d===0?Fb:S,b,x,T)}function NP(i,r,u){return gm(i,r,u,GR,hm(AP()),kp(i,2,-2),0)}function $R(i,r,u,c){return gm(i,r,u,Vb,kp(i,0,c),kp(i,c+1,-1),c)}function yf(i,r){for(var u="",c=Bb(i),d=0;d<c;d++)u+=r(i[d],d,i,r)||"";return u}function PP(i,r,u,c){switch(i.type){case SP:if(i.children.length)break;case CP:case Vb:return i.return=i.return||i.value;case GR:return"";case jR:return i.return=i.value+"{"+yf(i.children,c)+"}";case Fb:i.value=i.props.join(",")}return Ho(u=yf(i.children,c))?i.return=i.value+"{"+u+"}":""}function FP(i){var r=Bb(i);return function(u,c,d,m){for(var h="",S=0;S<r;S++)h+=i[S](u,c,d,m)||"";return h}}function VP(i){return function(r){r.root||(r=r.return)&&i(r)}}function _P(i){var r=Object.create(null);return function(u){return r[u]===void 0&&(r[u]=i(u)),r[u]}}var BP=function(r,u,c){for(var d=0,m=0;d=m,m=Go(),d===38&&m===12&&(u[c]=1),!Pp(m);)xa();return Np(r,Qi)},zP=function(r,u){var c=-1,d=44;do switch(Pp(d)){case 0:d===38&&Go()===12&&(u[c]=1),r[c]+=BP(Qi-1,u,c);break;case 2:r[c]+=bm(d);break;case 4:if(d===44){r[++c]=Go()===58?"&\f":"",u[c]=r[c].length;break}default:r[c]+=hm(d)}while(d=xa());return r},HP=function(r,u){return ZR(zP(XR(r),u))},JR=new WeakMap,GP=function(r){if(!(r.type!=="rule"||!r.parent||r.length<1)){for(var u=r.value,c=r.parent,d=r.column===c.column&&r.line===c.line;c.type!=="rule";)if(c=c.parent,!c)return;if(!(r.props.length===1&&u.charCodeAt(0)!==58&&!JR.get(c))&&!d){JR.set(r,!0);for(var m=[],h=HP(u,m),S=c.props,b=0,x=0;b<h.length;b++)for(var T=0;T<S.length;T++,x++)r.props[x]=m[b]?h[b].replace(/&\f/g,S[T]):S[T]+" "+h[b]}}},jP=function(r){if(r.type==="decl"){var u=r.value;u.charCodeAt(0)===108&&u.charCodeAt(2)===98&&(r.return="",r.value="")}};function QR(i,r){switch(TP(i,r)){case 5103:return rn+"print-"+i+i;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 rn+i+i;case 5349:case 4246:case 4810:case 6968:case 2756:return rn+i+pm+i+si+i+i;case 6828:case 4268:return rn+i+si+i+i;case 6165:return rn+i+si+"flex-"+i+i;case 5187:return rn+i+an(i,/(\w+).+(:[^]+)/,rn+"box-$1$2"+si+"flex-$1$2")+i;case 5443:return rn+i+si+"flex-item-"+an(i,/flex-|-self/,"")+i;case 4675:return rn+i+si+"flex-line-pack"+an(i,/align-content|flex-|-self/,"")+i;case 5548:return rn+i+si+an(i,"shrink","negative")+i;case 5292:return rn+i+si+an(i,"basis","preferred-size")+i;case 6060:return rn+"box-"+an(i,"-grow","")+rn+i+si+an(i,"grow","positive")+i;case 4554:return rn+an(i,/([^-])(transform)/g,"$1"+rn+"$2")+i;case 6187:return an(an(an(i,/(zoom-|grab)/,rn+"$1"),/(image-set)/,rn+"$1"),i,"")+i;case 5495:case 3959:return an(i,/(image-set\([^]*)/,rn+"$1$`$1");case 4968:return an(an(i,/(.+:)(flex-)?(.*)/,rn+"box-pack:$3"+si+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+rn+i+i;case 4095:case 3583:case 4068:case 2532:return an(i,/(.+)-inline(.+)/,rn+"$1$2")+i;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(Ho(i)-1-r>6)switch(jr(i,r+1)){case 109:if(jr(i,r+4)!==45)break;case 102:return an(i,/(.+:)(.+)-([^]+)/,"$1"+rn+"$2-$3$1"+pm+(jr(i,r+3)==108?"$3":"$2-$3"))+i;case 115:return~_b(i,"stretch")?QR(an(i,"stretch","fill-available"),r)+i:i}break;case 4949:if(jr(i,r+1)!==115)break;case 6444:switch(jr(i,Ho(i)-3-(~_b(i,"!important")&&10))){case 107:return an(i,":",":"+rn)+i;case 101:return an(i,/(.+:)([^;!]+)(;|!.+)?/,"$1"+rn+(jr(i,14)===45?"inline-":"")+"box$3$1"+rn+"$2$3$1"+si+"$2box$3")+i}break;case 5936:switch(jr(i,r+11)){case 114:return rn+i+si+an(i,/[svh]\w+-[tblr]{2}/,"tb")+i;case 108:return rn+i+si+an(i,/[svh]\w+-[tblr]{2}/,"tb-rl")+i;case 45:return rn+i+si+an(i,/[svh]\w+-[tblr]{2}/,"lr")+i}return rn+i+si+i+i}return i}var UP=function(r,u,c,d){if(r.length>-1&&!r.return)switch(r.type){case Vb:r.return=QR(r.value,r.length);break;case jR:return yf([Lp(r,{value:an(r.value,"@","@"+rn)})],d);case Fb:if(r.length)return wP(r.props,function(m){switch(RP(m,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return yf([Lp(r,{props:[an(m,/:(read-\w+)/,":"+pm+"$1")]})],d);case"::placeholder":return yf([Lp(r,{props:[an(m,/:(plac\w+)/,":"+rn+"input-$1")]}),Lp(r,{props:[an(m,/:(plac\w+)/,":"+pm+"$1")]}),Lp(r,{props:[an(m,/:(plac\w+)/,si+"input-$1")]})],d)}return""})}},WP=[UP],XP=function(r){var u=r.key;if(u==="css"){var c=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(c,function(V){var _=V.getAttribute("data-emotion");_.indexOf(" ")!==-1&&(document.head.appendChild(V),V.setAttribute("data-s",""))})}var d=r.stylisPlugins||WP,m={},h,S=[];h=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+u+' "]'),function(V){for(var _=V.getAttribute("data-emotion").split(" "),j=1;j<_.length;j++)m[_[j]]=!0;S.push(V)});var b,x=[GP,jP];{var T,w=[PP,VP(function(V){T.insert(V)})],M=FP(x.concat(d,w)),k=function(_){return yf(LP(_),M)};b=function(_,j,Z,z){T=Z,k(_?_+"{"+j.styles+"}":j.styles),z&&(F.inserted[j.name]=!0)}}var F={key:u,sheet:new bP({key:u,container:h,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:m,registered:{},insert:b};return F.sheet.hydrate(S),F},Hb={exports:{}},cn={};/** @license React v16.13.1
13
+ `),()=>{document.head.removeChild(c)}},[t]),A.jsx(fh,{isPresent:t,childRef:i,sizeRef:r,children:G.cloneElement(e,{ref:i})})}const Wi=({children:e,initial:t,isPresent:n,onExitComplete:i,custom:r,presenceAffectsLayout:s,mode:o})=>{const u=Yr(ph),a=C.useId(),l=C.useMemo(()=>({id:a,initial:t,isPresent:n,custom:r,onExitComplete:c=>{u.set(c,!0);for(const d of u.values())if(!d)return;i&&i()},register:c=>(u.set(c,!1),()=>u.delete(c))}),s?[Math.random()]:[n]);return C.useMemo(()=>{u.forEach((c,d)=>u.set(d,!1))},[n]),G.useEffect(()=>{!n&&!u.size&&i&&i()},[n]),o==="popLayout"&&(e=A.jsx(hh,{isPresent:n,children:e})),A.jsx(jt.Provider,{value:l,children:e})};function ph(){return new Map}function mh(e){return C.useEffect(()=>()=>e(),[])}const Ke=e=>e.key||"";function gh(e,t){e.forEach(n=>{const i=Ke(n);t.set(i,n)})}function bh(e){const t=[];return C.Children.forEach(e,n=>{C.isValidElement(n)&&t.push(n)}),t}const Ri=({children:e,custom:t,initial:n=!0,onExitComplete:i,exitBeforeEnter:r,presenceAffectsLayout:s=!0,mode:o="sync"})=>{Ve(!r,"Replace exitBeforeEnter with mode='wait'");const u=C.useContext(Hn).forceRender||dh()[0],a=la(),l=bh(e);let c=l;const d=C.useRef(new Map).current,f=C.useRef(c),h=C.useRef(new Map).current,m=C.useRef(!0);if(Rn(()=>{m.current=!1,gh(l,h),f.current=c}),mh(()=>{m.current=!0,h.clear(),d.clear()}),m.current)return A.jsx(A.Fragment,{children:c.map(I=>A.jsx(Wi,{isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:s,mode:o,children:I},Ke(I)))});c=[...c];const p=f.current.map(Ke),g=l.map(Ke),b=p.length;for(let I=0;I<b;I++){const v=p[I];g.indexOf(v)===-1&&!d.has(v)&&d.set(v,void 0)}return o==="wait"&&d.size&&(c=[]),d.forEach((I,v)=>{if(g.indexOf(v)!==-1)return;const x=h.get(v);if(!x)return;const y=p.indexOf(v);let E=I;if(!E){const T=()=>{d.delete(v);const S=Array.from(h.keys()).filter(M=>!g.includes(M));if(S.forEach(M=>h.delete(M)),f.current=l.filter(M=>{const N=Ke(M);return N===v||S.includes(N)}),!d.size){if(a.current===!1)return;u(),i&&i()}};E=A.jsx(Wi,{isPresent:!1,onExitComplete:T,custom:t,presenceAffectsLayout:s,mode:o,children:x},Ke(x)),d.set(v,E)}c.splice(y,0,E)}),c=c.map(I=>{const v=I.key;return d.has(v)?I:A.jsx(Wi,{isPresent:!0,presenceAffectsLayout:s,mode:o,children:I},Ke(I))}),process.env.NODE_ENV!=="production"&&o==="wait"&&c.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`),A.jsx(A.Fragment,{children:d.size?c:c.map(I=>C.cloneElement(I))})},vh=e=>{let t=A.jsx(A.Fragment,{});switch(e){case"success":t=A.jsx(zu,{});break;case"info":t=A.jsx(Yu,{});break;case"warning":t=A.jsx(Ju,{});break;case"error":t=A.jsx(ju,{});break}return{icon:t}},yh=e=>{const{id:t,type:n,title:i}=e,{icon:r}=vh(n),s=4e3,o=gr(),u=C.useCallback(()=>{o.removeToast(t)},[t,o]);return C.useEffect(()=>{const a=setTimeout(()=>{setTimeout(()=>{u()},1e3)},s);return()=>{clearTimeout(a)}},[]),A.jsx(Mt.div,{layout:!0,initial:{opacity:0,y:50,scale:.3},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:0,scale:.8},children:A.jsxs("div",{className:tt(Ce.toast,Ce[n]),children:[A.jsx("div",{className:Ce["toast-icon"],children:r}),A.jsx("div",{className:Ce["toast-content"],children:A.jsx("p",{className:Ce["toast-title"],children:i})}),A.jsx("div",{className:Ce["toast-close"],children:A.jsx("button",{type:"button",className:Ce["toast-close-btn"],onClick:u,children:A.jsx("span",{className:Ce["toast-close-btn-icon"],children:A.jsx(Uu,{})})})})]})},t)};function Ch(e){const{children:t}=e,[n,i]=C.useState(!1);C.useEffect(()=>{i(!0)},[]);const r=document.getElementById("biznext-ui-toast-portal");return n&&r?Re.createPortal(t,r):Re.createPortal(t,document.body)}const Ih=e=>{const{toasts:t,toastPosition:n="top-center"}=e;return A.jsx(Ch,{children:A.jsx("div",{className:tt(Ce["toasts-container"],Ce[n]),children:A.jsx(Ri,{children:t.map(i=>A.jsx(yh,{id:i.id,type:i.type,title:i.title},i.id))})})})};for(var K=[],Oi=0;Oi<256;++Oi)K.push((Oi+256).toString(16).slice(1));function xh(e,t=0){return(K[e[t+0]]+K[e[t+1]]+K[e[t+2]]+K[e[t+3]]+"-"+K[e[t+4]]+K[e[t+5]]+"-"+K[e[t+6]]+K[e[t+7]]+"-"+K[e[t+8]]+K[e[t+9]]+"-"+K[e[t+10]]+K[e[t+11]]+K[e[t+12]]+K[e[t+13]]+K[e[t+14]]+K[e[t+15]]).toLowerCase()}var fn,Ah=new Uint8Array(16);function Sh(){if(!fn&&(fn=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!fn))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return fn(Ah)}var Eh=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const ca={randomUUID:Eh};function Th(e,t,n){if(ca.randomUUID&&!t&&!e)return ca.randomUUID();e=e||{};var i=e.random||(e.rng||Sh)();return i[6]=i[6]&15|64,i[8]=i[8]&63|128,xh(i)}function Ph(){return Re.createPortal(A.jsxs("div",{id:"biznext-ui-portal",children:[A.jsx("div",{id:"biznext-ui-modal-portal"}),A.jsx("div",{id:"biznext-ui-toast-portal"}),A.jsx("div",{id:"biznext-ui-confirm-dialog-portal"})]}),document.body)}function Vh(e){return Ye({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M7 4V2H17V4H22V6H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V6H2V4H7ZM6 6V20H18V6H6ZM9 9H11V17H9V9ZM13 9H15V17H13V9Z"},child:[]}]})(e)}const pe={"confirm-dialog":"biznext-ui-4yyscqDACxw-e","confirm-dialog-overlay":"biznext-ui-ylpaWxEFaTU-c","confirm-dialog-content":"biznext-ui-xwshXokj5ZA-c","confirm-dialog-body":"biznext-ui-K3-i0eWEQi8-2","confirm-dialog-icon-container":"biznext-ui-W86o6InrK1E-5","confirm-dialog-icon":"biznext-ui-PSIKxZhvjyo-3","confirm-dialog-footer":"biznext-ui-ffcW632vEe0-7","confirm-dialog-footer-close-btn":"biznext-ui-hDNTUYM-ra0-8","confirm-dialog-footer-confirm-btn":"biznext-ui-bFmcSx3W8Rs-6",info:"biznext-ui-wec4qWkj9NU-c",warning:"biznext-ui-mcehjNn9Nl0-9",danger:"biznext-ui-pYq-UQoFMHM-a",success:"biznext-ui-bgVORylkzc0-6"};function wh(e){const{children:t}=e,[n,i]=C.useState(!1);C.useEffect(()=>{i(!0)},[]);const r=document.getElementById("biznext-ui-confirm-dialog-portal");return n&&r?Re.createPortal(t,r):Re.createPortal(t,document.body)}const Fh=e=>{const{isOpen:t,onClose:n,config:i}=e,{type:r,title:s,description:o,icon:u,onConfirm:a,buttonContent:l}=i,c=()=>{n()},d=()=>{a(),n()};return A.jsx(wh,{children:A.jsx("div",{className:pe["confirm-dialog-wrapper"],children:A.jsx(Ri,{children:t&&A.jsx(Mt.div,{className:pe["confirm-dialog-overlay"],initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:A.jsx(Mt.div,{className:tt(pe["confirm-dialog"],pe[r]),initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},children:A.jsxs("div",{className:pe["confirm-dialog-content"],children:[A.jsxs("div",{className:pe["confirm-dialog-body"],children:[A.jsx("div",{className:pe["confirm-dialog-icon-container"],children:A.jsx("div",{className:pe["confirm-dialog-icon"],children:u||A.jsx(Vh,{})})}),A.jsxs("div",{children:[A.jsx("h2",{children:s}),A.jsx("p",{children:o})]})]}),A.jsxs("div",{className:pe["confirm-dialog-footer"],children:[A.jsx("button",{type:"button",className:pe["confirm-dialog-footer-close-btn"],onClick:c,children:l&&l.onCloseTitle?l.onCloseTitle:"Cancel"}),A.jsx("button",{type:"button",className:pe["confirm-dialog-footer-confirm-btn"],onClick:d,children:l&&l.onConfirmTitle?l.onConfirmTitle:"Confirm"})]})]})})})})})})},da=C.createContext({});function Bh({children:e,toastPosition:t}){return e?A.jsx(Gh,{children:e,toastPosition:t}):null}const Gh=({children:e,toastPosition:t})=>{const n={toasts:[]};console.log(n,"initialState"),console.log(mr,"ToastReducer"),console.log(C.useReducer,"useReducer");const[i,r]=C.useReducer(mr,n),s=(v,x,y)=>{const E=Th();r({type:"ADD_TOAST",payload:{id:E,title:x,type:v,config:y}})},d={success:(v,x)=>{s("success",v,x)},warning:(v,x)=>{s("warning",v,x)},info:(v,x)=>{s("info",v,x)},error:(v,x)=>{s("error",v,x)},removeToast:v=>{r({type:"DELETE_TOAST",payload:{id:v,title:"",type:""}})}},[f,h]=C.useState({}),[m,p]=C.useState(!1),g=v=>{h(v),p(!0)},b=()=>{p(!1)},I=g;return e?A.jsx(pr.Provider,{value:d,children:A.jsxs(da.Provider,{value:I,children:[A.jsx(Ph,{}),A.jsx(Ih,{toasts:i.toasts,toastPosition:t}),A.jsx(Fh,{isOpen:m,onClose:b,config:f}),e]})}):null},me={"modal-wrapper":"biznext-ui-n2Vjx4mdikE-9","modal-overlay":"biznext-ui-6sKjk6L11EQ-e",modal:"biznext-ui-Mao59ye15po-3",left:"biznext-ui-5bDq6-PrHF4-e","left-slider":"biznext-ui-dhv7A0opLyg-7",right:"biznext-ui-X9XXG3R3kc4-5","right-slider":"biznext-ui-EXk9iqQoKIU-1","top-left":"biznext-ui-agEjPkJufuY-6","top-center":"biznext-ui-CzoFpYQH5r0-0","top-right":"biznext-ui-e0SRVasbx2Q-7","bottom-left":"biznext-ui-jMdhucf3jH4-8","bottom-center":"biznext-ui-1ruLnzU-7Mg-d","bottom-right":"biznext-ui-IBxY5gMZXAs-2",center:"biznext-ui-g7IKSnXitqg-8",full:"biznext-ui-T4NhvYHqFMo-4","modal-content":"biznext-ui-1F-uEUK7Izg-d","modal-header":"biznext-ui-nWO9WSw4Ix8-9","module-header-close-btn":"biznext-ui-kCEeyonkTlE-9","modal-title":"biznext-ui-r-WKlIAFS20-a","modal-body":"biznext-ui-7AJhK9Yn-KQ-e","modal-footer":"biznext-ui-lUyv0bpMUw4-9","modal-footer-close-btn":"biznext-ui-acScPNehEic-6"};function Mh(e){return Ye({tag:"svg",attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"},child:[]}]})(e)}function Dh(e){const{children:t}=e,[n,i]=C.useState(!1);C.useEffect(()=>{i(!0)},[]);const r=document.getElementById("biznext-ui-modal-portal");return n&&r?Re.createPortal(t,r):Re.createPortal(t,document.body)}const Xi=C.createContext({onClose:()=>console.warn("Biznext-UI-Modal: Close Function not Implemented!")}),ct=e=>{const{type:t,index:n,height:i,width:r,sx:s,isOpen:o,onClose:u,children:a}=e;return A.jsx(Xi.Provider,{value:{onClose:u},children:A.jsx(Dh,{children:A.jsx(Ri,{children:o&&A.jsxs("div",{className:me["modal-wrapper"],children:[A.jsx(Mt.div,{className:me["modal-overlay"],style:{zIndex:9999+(n||0)},onClick:u,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}}),A.jsx(Mt.div,{initial:{opacity:0,scale:.95},className:tt(me.modal,me[t]),style:{height:i,width:r,zIndex:99999+(n||0),...s},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},children:a})]})})})})},Nh=ct,Lh=({children:e})=>A.jsx("div",{className:me["modal-content"],children:e}),Wh=({children:e})=>{const{onClose:t}=C.useContext(Xi);return A.jsxs("header",{id:"handle",className:me["modal-header"],children:[e,A.jsx("button",{type:"button",className:me["module-header-close-btn"],onClick:t,children:A.jsx(Mh,{})})]})},Rh=({children:e})=>A.jsx("h2",{className:me["modal-title"],children:e}),Oh=({children:e})=>A.jsx("div",{className:me["modal-body"],children:e}),Xh=e=>{const{children:t,closeTitle:n}=e,{onClose:i}=C.useContext(Xi);return A.jsxs("footer",{className:me["modal-footer"],children:[t,A.jsx("button",{type:"button",className:me["modal-footer-close-btn"],onClick:i,children:n||"Cancel"})]})};ct.Content=Lh,ct.Header=Wh,ct.Title=Rh,ct.Body=Oh,ct.Footer=Xh;const Zh=()=>C.useContext(da),ge={form:"biznext-ui-WgISRe1bJDU-5","form-group":"biznext-ui-PDYbgOuoFL0-3","form-input-group":"biznext-ui-7dIDGqcfwy4-e","form-input-group-label":"biznext-ui-3qrluRcbSyQ-d",required:"biznext-ui-S1AWtF9fE-s-4","form-input-control-group":"biznext-ui-GQweSyKURD4-1","form-input-control":"biznext-ui-Pxa8kMsnvaQ-3","validation-error":"biznext-ui-B7sgFlayyBI-0","form-select-control":"biznext-ui-TyZSBF2HLh0-4","form-input-group-error-text":"biznext-ui-npOI3UC2M38-9"};function qe(e){"@babel/helpers - typeof";return qe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qe(e)}function Hh(e,t){if(qe(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(qe(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function fa(e){var t=Hh(e,"string");return qe(t)=="symbol"?t:t+""}function Dt(e,t,n){return(t=fa(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ha(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ha(Object(n),!0).forEach(function(i){Dt(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ha(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function kh(e){if(Array.isArray(e))return e}function zh(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var i,r,s,o,u=[],a=!0,l=!1;try{if(s=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;a=!1}else for(;!(a=(i=s.call(n)).done)&&(u.push(i.value),u.length!==t);a=!0);}catch(c){l=!0,r=c}finally{try{if(!a&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw r}}return u}}function Zi(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function pa(e,t){if(e){if(typeof e=="string")return Zi(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Zi(e,t):void 0}}function jh(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
14
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ne(e,t){return kh(e)||zh(e,t)||pa(e,t)||jh()}function Yh(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.includes(i))continue;n[i]=e[i]}return n}function Le(e,t){if(e==null)return{};var n,i,r=Yh(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)n=s[i],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var Jh=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Uh(e){var t=e.defaultInputValue,n=t===void 0?"":t,i=e.defaultMenuIsOpen,r=i===void 0?!1:i,s=e.defaultValue,o=s===void 0?null:s,u=e.inputValue,a=e.menuIsOpen,l=e.onChange,c=e.onInputChange,d=e.onMenuClose,f=e.onMenuOpen,h=e.value,m=Le(e,Jh),p=C.useState(u!==void 0?u:n),g=Ne(p,2),b=g[0],I=g[1],v=C.useState(a!==void 0?a:r),x=Ne(v,2),y=x[0],E=x[1],T=C.useState(h!==void 0?h:o),S=Ne(T,2),M=S[0],N=S[1],k=C.useCallback(function(_,Ee){typeof l=="function"&&l(_,Ee),N(_)},[l]),Y=C.useCallback(function(_,Ee){var be;typeof c=="function"&&(be=c(_,Ee)),I(be!==void 0?be:_)},[c]),ce=C.useCallback(function(){typeof f=="function"&&f(),E(!0)},[f]),oe=C.useCallback(function(){typeof d=="function"&&d(),E(!1)},[d]),D=u!==void 0?u:b,R=a!==void 0?a:y,ie=h!==void 0?h:M;return w(w({},m),{},{inputValue:D,menuIsOpen:R,onChange:k,onInputChange:Y,onMenuClose:oe,onMenuOpen:ce,value:ie})}function B(){return B=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},B.apply(null,arguments)}function _h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ma(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,fa(i.key),i)}}function Qh(e,t,n){return t&&ma(e.prototype,t),n&&ma(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Hi(e,t){return Hi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Hi(e,t)}function $h(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Hi(e,t)}function hn(e){return hn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},hn(e)}function ga(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ga=function(){return!!e})()}function Kh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qh(e,t){if(t&&(qe(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Kh(e)}function ep(e){var t=ga();return function(){var n,i=hn(e);if(t){var r=hn(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return qh(this,n)}}function tp(e){if(Array.isArray(e))return Zi(e)}function np(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ip(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
15
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ki(e){return tp(e)||np(e)||pa(e)||ip()}var rp=!1;function sp(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function op(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var ap=function(){function e(n){var i=this;this._insertTag=function(r){var s;i.tags.length===0?i.insertionPoint?s=i.insertionPoint.nextSibling:i.prepend?s=i.container.firstChild:s=i.before:s=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(r,s),i.tags.push(r)},this.isSpeedy=n.speedy===void 0?!rp:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(i){i.forEach(this._insertTag)},t.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(op(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var s=sp(r);try{s.insertRule(i,s.cssRules.length)}catch{}}else r.appendChild(document.createTextNode(i));this.ctr++},t.flush=function(){this.tags.forEach(function(i){var r;return(r=i.parentNode)==null?void 0:r.removeChild(i)}),this.tags=[],this.ctr=0},e}(),ne="-ms-",pn="-moz-",L="-webkit-",ba="comm",zi="rule",ji="decl",up="@import",va="@keyframes",lp="@layer",cp=Math.abs,mn=String.fromCharCode,dp=Object.assign;function fp(e,t){return q(e,0)^45?(((t<<2^q(e,0))<<2^q(e,1))<<2^q(e,2))<<2^q(e,3):0}function ya(e){return e.trim()}function hp(e,t){return(e=t.exec(e))?e[0]:e}function W(e,t,n){return e.replace(t,n)}function Yi(e,t){return e.indexOf(t)}function q(e,t){return e.charCodeAt(t)|0}function Nt(e,t,n){return e.slice(t,n)}function xe(e){return e.length}function Ji(e){return e.length}function gn(e,t){return t.push(e),e}function pp(e,t){return e.map(t).join("")}var bn=1,dt=1,Ca=0,se=0,U=0,ft="";function vn(e,t,n,i,r,s,o){return{value:e,root:t,parent:n,type:i,props:r,children:s,line:bn,column:dt,length:o,return:""}}function Lt(e,t){return dp(vn("",null,null,"",null,null,0),e,{length:-e.length},t)}function mp(){return U}function gp(){return U=se>0?q(ft,--se):0,dt--,U===10&&(dt=1,bn--),U}function le(){return U=se<Ca?q(ft,se++):0,dt++,U===10&&(dt=1,bn++),U}function Ae(){return q(ft,se)}function yn(){return se}function Wt(e,t){return Nt(ft,e,t)}function Rt(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ia(e){return bn=dt=1,Ca=xe(ft=e),se=0,[]}function xa(e){return ft="",e}function Cn(e){return ya(Wt(se-1,Ui(e===91?e+2:e===40?e+1:e)))}function bp(e){for(;(U=Ae())&&U<33;)le();return Rt(e)>2||Rt(U)>3?"":" "}function vp(e,t){for(;--t&&le()&&!(U<48||U>102||U>57&&U<65||U>70&&U<97););return Wt(e,yn()+(t<6&&Ae()==32&&le()==32))}function Ui(e){for(;le();)switch(U){case e:return se;case 34:case 39:e!==34&&e!==39&&Ui(U);break;case 40:e===41&&Ui(e);break;case 92:le();break}return se}function yp(e,t){for(;le()&&e+U!==57;)if(e+U===84&&Ae()===47)break;return"/*"+Wt(t,se-1)+"*"+mn(e===47?e:le())}function Cp(e){for(;!Rt(Ae());)le();return Wt(e,se)}function Ip(e){return xa(In("",null,null,null,[""],e=Ia(e),0,[0],e))}function In(e,t,n,i,r,s,o,u,a){for(var l=0,c=0,d=o,f=0,h=0,m=0,p=1,g=1,b=1,I=0,v="",x=r,y=s,E=i,T=v;g;)switch(m=I,I=le()){case 40:if(m!=108&&q(T,d-1)==58){Yi(T+=W(Cn(I),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:T+=Cn(I);break;case 9:case 10:case 13:case 32:T+=bp(m);break;case 92:T+=vp(yn()-1,7);continue;case 47:switch(Ae()){case 42:case 47:gn(xp(yp(le(),yn()),t,n),a);break;default:T+="/"}break;case 123*p:u[l++]=xe(T)*b;case 125*p:case 59:case 0:switch(I){case 0:case 125:g=0;case 59+c:b==-1&&(T=W(T,/\f/g,"")),h>0&&xe(T)-d&&gn(h>32?Sa(T+";",i,n,d-1):Sa(W(T," ","")+";",i,n,d-2),a);break;case 59:T+=";";default:if(gn(E=Aa(T,t,n,l,c,r,u,v,x=[],y=[],d),s),I===123)if(c===0)In(T,t,E,E,x,s,d,u,y);else switch(f===99&&q(T,3)===110?100:f){case 100:case 108:case 109:case 115:In(e,E,E,i&&gn(Aa(e,E,E,0,0,r,u,v,r,x=[],d),y),r,y,d,u,i?x:y);break;default:In(T,E,E,E,[""],y,0,u,y)}}l=c=h=0,p=b=1,v=T="",d=o;break;case 58:d=1+xe(T),h=m;default:if(p<1){if(I==123)--p;else if(I==125&&p++==0&&gp()==125)continue}switch(T+=mn(I),I*p){case 38:b=c>0?1:(T+="\f",-1);break;case 44:u[l++]=(xe(T)-1)*b,b=1;break;case 64:Ae()===45&&(T+=Cn(le())),f=Ae(),c=d=xe(v=T+=Cp(yn())),I++;break;case 45:m===45&&xe(T)==2&&(p=0)}}return s}function Aa(e,t,n,i,r,s,o,u,a,l,c){for(var d=r-1,f=r===0?s:[""],h=Ji(f),m=0,p=0,g=0;m<i;++m)for(var b=0,I=Nt(e,d+1,d=cp(p=o[m])),v=e;b<h;++b)(v=ya(p>0?f[b]+" "+I:W(I,/&\f/g,f[b])))&&(a[g++]=v);return vn(e,t,n,r===0?zi:u,a,l,c)}function xp(e,t,n){return vn(e,t,n,ba,mn(mp()),Nt(e,2,-2),0)}function Sa(e,t,n,i){return vn(e,t,n,ji,Nt(e,0,i),Nt(e,i+1,-1),i)}function ht(e,t){for(var n="",i=Ji(e),r=0;r<i;r++)n+=t(e[r],r,e,t)||"";return n}function Ap(e,t,n,i){switch(e.type){case lp:if(e.children.length)break;case up:case ji:return e.return=e.return||e.value;case ba:return"";case va:return e.return=e.value+"{"+ht(e.children,i)+"}";case zi:e.value=e.props.join(",")}return xe(n=ht(e.children,i))?e.return=e.value+"{"+n+"}":""}function Sp(e){var t=Ji(e);return function(n,i,r,s){for(var o="",u=0;u<t;u++)o+=e[u](n,i,r,s)||"";return o}}function Ep(e){return function(t){t.root||(t=t.return)&&e(t)}}function Tp(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Pp=function(t,n,i){for(var r=0,s=0;r=s,s=Ae(),r===38&&s===12&&(n[i]=1),!Rt(s);)le();return Wt(t,se)},Vp=function(t,n){var i=-1,r=44;do switch(Rt(r)){case 0:r===38&&Ae()===12&&(n[i]=1),t[i]+=Pp(se-1,n,i);break;case 2:t[i]+=Cn(r);break;case 4:if(r===44){t[++i]=Ae()===58?"&\f":"",n[i]=t[i].length;break}default:t[i]+=mn(r)}while(r=le());return t},wp=function(t,n){return xa(Vp(Ia(t),n))},Ea=new WeakMap,Fp=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,i=t.parent,r=t.column===i.column&&t.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!Ea.get(i))&&!r){Ea.set(t,!0);for(var s=[],o=wp(n,s),u=i.props,a=0,l=0;a<o.length;a++)for(var c=0;c<u.length;c++,l++)t.props[l]=s[a]?o[a].replace(/&\f/g,u[c]):u[c]+" "+o[a]}}},Bp=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function Ta(e,t){switch(fp(e,t)){case 5103:return L+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return L+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return L+e+pn+e+ne+e+e;case 6828:case 4268:return L+e+ne+e+e;case 6165:return L+e+ne+"flex-"+e+e;case 5187:return L+e+W(e,/(\w+).+(:[^]+)/,L+"box-$1$2"+ne+"flex-$1$2")+e;case 5443:return L+e+ne+"flex-item-"+W(e,/flex-|-self/,"")+e;case 4675:return L+e+ne+"flex-line-pack"+W(e,/align-content|flex-|-self/,"")+e;case 5548:return L+e+ne+W(e,"shrink","negative")+e;case 5292:return L+e+ne+W(e,"basis","preferred-size")+e;case 6060:return L+"box-"+W(e,"-grow","")+L+e+ne+W(e,"grow","positive")+e;case 4554:return L+W(e,/([^-])(transform)/g,"$1"+L+"$2")+e;case 6187:return W(W(W(e,/(zoom-|grab)/,L+"$1"),/(image-set)/,L+"$1"),e,"")+e;case 5495:case 3959:return W(e,/(image-set\([^]*)/,L+"$1$`$1");case 4968:return W(W(e,/(.+:)(flex-)?(.*)/,L+"box-pack:$3"+ne+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+L+e+e;case 4095:case 3583:case 4068:case 2532:return W(e,/(.+)-inline(.+)/,L+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(xe(e)-1-t>6)switch(q(e,t+1)){case 109:if(q(e,t+4)!==45)break;case 102:return W(e,/(.+:)(.+)-([^]+)/,"$1"+L+"$2-$3$1"+pn+(q(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Yi(e,"stretch")?Ta(W(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(q(e,t+1)!==115)break;case 6444:switch(q(e,xe(e)-3-(~Yi(e,"!important")&&10))){case 107:return W(e,":",":"+L)+e;case 101:return W(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+L+(q(e,14)===45?"inline-":"")+"box$3$1"+L+"$2$3$1"+ne+"$2box$3")+e}break;case 5936:switch(q(e,t+11)){case 114:return L+e+ne+W(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return L+e+ne+W(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return L+e+ne+W(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return L+e+ne+e+e}return e}var Gp=function(t,n,i,r){if(t.length>-1&&!t.return)switch(t.type){case ji:t.return=Ta(t.value,t.length);break;case va:return ht([Lt(t,{value:W(t.value,"@","@"+L)})],r);case zi:if(t.length)return pp(t.props,function(s){switch(hp(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ht([Lt(t,{props:[W(s,/:(read-\w+)/,":"+pn+"$1")]})],r);case"::placeholder":return ht([Lt(t,{props:[W(s,/:(plac\w+)/,":"+L+"input-$1")]}),Lt(t,{props:[W(s,/:(plac\w+)/,":"+pn+"$1")]}),Lt(t,{props:[W(s,/:(plac\w+)/,ne+"input-$1")]})],r)}return""})}},Mp=[Gp],Dp=function(t){var n=t.key;if(n==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(p){var g=p.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var r=t.stylisPlugins||Mp,s={},o,u=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(p){for(var g=p.getAttribute("data-emotion").split(" "),b=1;b<g.length;b++)s[g[b]]=!0;u.push(p)});var a,l=[Fp,Bp];{var c,d=[Ap,Ep(function(p){c.insert(p)})],f=Sp(l.concat(r,d)),h=function(g){return ht(Ip(g),f)};a=function(g,b,I,v){c=I,h(g?g+"{"+b.styles+"}":b.styles),v&&(m.inserted[b.name]=!0)}}var m={key:n,sheet:new ap({key:n,container:o,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:a};return m.sheet.hydrate(u),m},_i={exports:{}},X={};/** @license React v16.13.1
256
16
  * react-is.production.min.js
257
17
  *
258
18
  * Copyright (c) Facebook, Inc. and its affiliates.
259
19
  *
260
20
  * This source code is licensed under the MIT license found in the
261
21
  * LICENSE file in the root directory of this source tree.
262
- */var KR;function ZP(){if(KR)return cn;KR=1;var i=typeof Symbol=="function"&&Symbol.for,r=i?Symbol.for("react.element"):60103,u=i?Symbol.for("react.portal"):60106,c=i?Symbol.for("react.fragment"):60107,d=i?Symbol.for("react.strict_mode"):60108,m=i?Symbol.for("react.profiler"):60114,h=i?Symbol.for("react.provider"):60109,S=i?Symbol.for("react.context"):60110,b=i?Symbol.for("react.async_mode"):60111,x=i?Symbol.for("react.concurrent_mode"):60111,T=i?Symbol.for("react.forward_ref"):60112,w=i?Symbol.for("react.suspense"):60113,M=i?Symbol.for("react.suspense_list"):60120,k=i?Symbol.for("react.memo"):60115,F=i?Symbol.for("react.lazy"):60116,V=i?Symbol.for("react.block"):60121,_=i?Symbol.for("react.fundamental"):60117,j=i?Symbol.for("react.responder"):60118,Z=i?Symbol.for("react.scope"):60119;function z(H){if(typeof H=="object"&&H!==null){var se=H.$$typeof;switch(se){case r:switch(H=H.type,H){case b:case x:case c:case m:case d:case w:return H;default:switch(H=H&&H.$$typeof,H){case S:case T:case F:case k:case h:return H;default:return se}}case u:return se}}}function q(H){return z(H)===x}return cn.AsyncMode=b,cn.ConcurrentMode=x,cn.ContextConsumer=S,cn.ContextProvider=h,cn.Element=r,cn.ForwardRef=T,cn.Fragment=c,cn.Lazy=F,cn.Memo=k,cn.Portal=u,cn.Profiler=m,cn.StrictMode=d,cn.Suspense=w,cn.isAsyncMode=function(H){return q(H)||z(H)===b},cn.isConcurrentMode=q,cn.isContextConsumer=function(H){return z(H)===S},cn.isContextProvider=function(H){return z(H)===h},cn.isElement=function(H){return typeof H=="object"&&H!==null&&H.$$typeof===r},cn.isForwardRef=function(H){return z(H)===T},cn.isFragment=function(H){return z(H)===c},cn.isLazy=function(H){return z(H)===F},cn.isMemo=function(H){return z(H)===k},cn.isPortal=function(H){return z(H)===u},cn.isProfiler=function(H){return z(H)===m},cn.isStrictMode=function(H){return z(H)===d},cn.isSuspense=function(H){return z(H)===w},cn.isValidElementType=function(H){return typeof H=="string"||typeof H=="function"||H===c||H===x||H===m||H===d||H===w||H===M||typeof H=="object"&&H!==null&&(H.$$typeof===F||H.$$typeof===k||H.$$typeof===h||H.$$typeof===S||H.$$typeof===T||H.$$typeof===_||H.$$typeof===j||H.$$typeof===Z||H.$$typeof===V)},cn.typeOf=z,cn}var fn={};/** @license React v16.13.1
22
+ */var Pa;function Np(){if(Pa)return X;Pa=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,a=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,I=e?Symbol.for("react.scope"):60119;function v(y){if(typeof y=="object"&&y!==null){var E=y.$$typeof;switch(E){case t:switch(y=y.type,y){case a:case l:case i:case s:case r:case d:return y;default:switch(y=y&&y.$$typeof,y){case u:case c:case m:case h:case o:return y;default:return E}}case n:return E}}}function x(y){return v(y)===l}return X.AsyncMode=a,X.ConcurrentMode=l,X.ContextConsumer=u,X.ContextProvider=o,X.Element=t,X.ForwardRef=c,X.Fragment=i,X.Lazy=m,X.Memo=h,X.Portal=n,X.Profiler=s,X.StrictMode=r,X.Suspense=d,X.isAsyncMode=function(y){return x(y)||v(y)===a},X.isConcurrentMode=x,X.isContextConsumer=function(y){return v(y)===u},X.isContextProvider=function(y){return v(y)===o},X.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===t},X.isForwardRef=function(y){return v(y)===c},X.isFragment=function(y){return v(y)===i},X.isLazy=function(y){return v(y)===m},X.isMemo=function(y){return v(y)===h},X.isPortal=function(y){return v(y)===n},X.isProfiler=function(y){return v(y)===s},X.isStrictMode=function(y){return v(y)===r},X.isSuspense=function(y){return v(y)===d},X.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===i||y===l||y===s||y===r||y===d||y===f||typeof y=="object"&&y!==null&&(y.$$typeof===m||y.$$typeof===h||y.$$typeof===o||y.$$typeof===u||y.$$typeof===c||y.$$typeof===g||y.$$typeof===b||y.$$typeof===I||y.$$typeof===p)},X.typeOf=v,X}var Z={};/** @license React v16.13.1
263
23
  * react-is.development.js
264
24
  *
265
25
  * Copyright (c) Facebook, Inc. and its affiliates.
266
26
  *
267
27
  * This source code is licensed under the MIT license found in the
268
28
  * LICENSE file in the root directory of this source tree.
269
- */var qR;function YP(){return qR||(qR=1,process.env.NODE_ENV!=="production"&&function(){var i=typeof Symbol=="function"&&Symbol.for,r=i?Symbol.for("react.element"):60103,u=i?Symbol.for("react.portal"):60106,c=i?Symbol.for("react.fragment"):60107,d=i?Symbol.for("react.strict_mode"):60108,m=i?Symbol.for("react.profiler"):60114,h=i?Symbol.for("react.provider"):60109,S=i?Symbol.for("react.context"):60110,b=i?Symbol.for("react.async_mode"):60111,x=i?Symbol.for("react.concurrent_mode"):60111,T=i?Symbol.for("react.forward_ref"):60112,w=i?Symbol.for("react.suspense"):60113,M=i?Symbol.for("react.suspense_list"):60120,k=i?Symbol.for("react.memo"):60115,F=i?Symbol.for("react.lazy"):60116,V=i?Symbol.for("react.block"):60121,_=i?Symbol.for("react.fundamental"):60117,j=i?Symbol.for("react.responder"):60118,Z=i?Symbol.for("react.scope"):60119;function z(Oe){return typeof Oe=="string"||typeof Oe=="function"||Oe===c||Oe===x||Oe===m||Oe===d||Oe===w||Oe===M||typeof Oe=="object"&&Oe!==null&&(Oe.$$typeof===F||Oe.$$typeof===k||Oe.$$typeof===h||Oe.$$typeof===S||Oe.$$typeof===T||Oe.$$typeof===_||Oe.$$typeof===j||Oe.$$typeof===Z||Oe.$$typeof===V)}function q(Oe){if(typeof Oe=="object"&&Oe!==null){var on=Oe.$$typeof;switch(on){case r:var yn=Oe.type;switch(yn){case b:case x:case c:case m:case d:case w:return yn;default:var wn=yn&&yn.$$typeof;switch(wn){case S:case T:case F:case k:case h:return wn;default:return on}}case u:return on}}}var H=b,se=x,le=S,de=h,He=r,We=T,nt=c,Rt=F,Be=k,qe=u,Ve=m,ze=d,Te=w,fe=!1;function Ne(Oe){return fe||(fe=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),xe(Oe)||q(Oe)===b}function xe(Oe){return q(Oe)===x}function X(Oe){return q(Oe)===S}function ie(Oe){return q(Oe)===h}function Fe(Oe){return typeof Oe=="object"&&Oe!==null&&Oe.$$typeof===r}function Ze(Oe){return q(Oe)===T}function ut(Oe){return q(Oe)===c}function rt(Oe){return q(Oe)===F}function Ct(Oe){return q(Oe)===k}function lt(Oe){return q(Oe)===u}function St(Oe){return q(Oe)===m}function Jt(Oe){return q(Oe)===d}function Gn(Oe){return q(Oe)===w}fn.AsyncMode=H,fn.ConcurrentMode=se,fn.ContextConsumer=le,fn.ContextProvider=de,fn.Element=He,fn.ForwardRef=We,fn.Fragment=nt,fn.Lazy=Rt,fn.Memo=Be,fn.Portal=qe,fn.Profiler=Ve,fn.StrictMode=ze,fn.Suspense=Te,fn.isAsyncMode=Ne,fn.isConcurrentMode=xe,fn.isContextConsumer=X,fn.isContextProvider=ie,fn.isElement=Fe,fn.isForwardRef=Ze,fn.isFragment=ut,fn.isLazy=rt,fn.isMemo=Ct,fn.isPortal=lt,fn.isProfiler=St,fn.isStrictMode=Jt,fn.isSuspense=Gn,fn.isValidElementType=z,fn.typeOf=q}()),fn}process.env.NODE_ENV==="production"?Hb.exports=ZP():Hb.exports=YP();var $P=Hb.exports,ew=$P,JP={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},QP={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tw={};tw[ew.ForwardRef]=JP,tw[ew.Memo]=QP;var KP=!0;function qP(i,r,u){var c="";return u.split(" ").forEach(function(d){i[d]!==void 0?r.push(i[d]+";"):c+=d+" "}),c}var nw=function(r,u,c){var d=r.key+"-"+u.name;(c===!1||KP===!1)&&r.registered[d]===void 0&&(r.registered[d]=u.styles)},eF=function(r,u,c){nw(r,u,c);var d=r.key+"-"+u.name;if(r.inserted[u.name]===void 0){var m=u;do r.insert(u===m?"."+d:"",m,r.sheet,!0),m=m.next;while(m!==void 0)}};function tF(i){for(var r=0,u,c=0,d=i.length;d>=4;++c,d-=4)u=i.charCodeAt(c)&255|(i.charCodeAt(++c)&255)<<8|(i.charCodeAt(++c)&255)<<16|(i.charCodeAt(++c)&255)<<24,u=(u&65535)*1540483477+((u>>>16)*59797<<16),u^=u>>>24,r=(u&65535)*1540483477+((u>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(d){case 3:r^=(i.charCodeAt(c+2)&255)<<16;case 2:r^=(i.charCodeAt(c+1)&255)<<8;case 1:r^=i.charCodeAt(c)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}var nF={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},rF=!1,iF=/[A-Z]|^ms/g,aF=/_EMO_([^_]+?)_([^]*?)_EMO_/g,rw=function(r){return r.charCodeAt(1)===45},iw=function(r){return r!=null&&typeof r!="boolean"},Gb=_P(function(i){return rw(i)?i:i.replace(iF,"-$&").toLowerCase()}),aw=function(r,u){switch(r){case"animation":case"animationName":if(typeof u=="string")return u.replace(aF,function(c,d,m){return jo={name:d,styles:m,next:jo},d})}return nF[r]!==1&&!rw(r)&&typeof u=="number"&&u!==0?u+"px":u},oF="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Fp(i,r,u){if(u==null)return"";var c=u;if(c.__emotion_styles!==void 0)return c;switch(typeof u){case"boolean":return"";case"object":{var d=u;if(d.anim===1)return jo={name:d.name,styles:d.styles,next:jo},d.name;var m=u;if(m.styles!==void 0){var h=m.next;if(h!==void 0)for(;h!==void 0;)jo={name:h.name,styles:h.styles,next:jo},h=h.next;var S=m.styles+";";return S}return uF(i,r,u)}case"function":{if(i!==void 0){var b=jo,x=u(i);return jo=b,Fp(i,r,x)}break}}var T=u;return T}function uF(i,r,u){var c="";if(Array.isArray(u))for(var d=0;d<u.length;d++)c+=Fp(i,r,u[d])+";";else for(var m in u){var h=u[m];if(typeof h!="object"){var S=h;iw(S)&&(c+=Gb(m)+":"+aw(m,S)+";")}else{if(m==="NO_COMPONENT_SELECTOR"&&rF)throw new Error(oF);if(Array.isArray(h)&&typeof h[0]=="string"&&r==null)for(var b=0;b<h.length;b++)iw(h[b])&&(c+=Gb(m)+":"+aw(m,h[b])+";");else{var x=Fp(i,r,h);switch(m){case"animation":case"animationName":{c+=Gb(m)+":"+x+";";break}default:c+=m+"{"+x+"}"}}}}return c}var ow=/label:\s*([^\s;\n{]+)\s*(;|$)/g,jo;function uw(i,r,u){if(i.length===1&&typeof i[0]=="object"&&i[0]!==null&&i[0].styles!==void 0)return i[0];var c=!0,d="";jo=void 0;var m=i[0];if(m==null||m.raw===void 0)c=!1,d+=Fp(u,r,m);else{var h=m;d+=h[0]}for(var S=1;S<i.length;S++)if(d+=Fp(u,r,i[S]),c){var b=m;d+=b[S]}ow.lastIndex=0;for(var x="",T;(T=ow.exec(d))!==null;)x+="-"+T[1];var w=tF(d)+x;return{name:w,styles:d,next:jo}}var lF=function(r){return r()},sF=Mx.useInsertionEffect?Mx.useInsertionEffect:!1,cF=sF||lF,fF=!1,lw=Y.createContext(typeof HTMLElement<"u"?XP({key:"css"}):null);lw.Provider;var dF=function(r){return Y.forwardRef(function(u,c){var d=Y.useContext(lw);return r(u,d,c)})},pF=Y.createContext({}),jb={}.hasOwnProperty,Ub="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",hF=function(r,u){var c={};for(var d in u)jb.call(u,d)&&(c[d]=u[d]);return c[Ub]=r,c},vF=function(r){var u=r.cache,c=r.serialized,d=r.isStringTag;return nw(u,c,d),cF(function(){return eF(u,c,d)}),null},mF=dF(function(i,r,u){var c=i.css;typeof c=="string"&&r.registered[c]!==void 0&&(c=r.registered[c]);var d=i[Ub],m=[c],h="";typeof i.className=="string"?h=qP(r.registered,m,i.className):i.className!=null&&(h=i.className+" ");var S=uw(m,void 0,Y.useContext(pF));h+=r.key+"-"+S.name;var b={};for(var x in i)jb.call(i,x)&&x!=="css"&&x!==Ub&&!fF&&(b[x]=i[x]);return b.className=h,u&&(b.ref=u),Y.createElement(Y.Fragment,null,Y.createElement(vF,{cache:r,serialized:S,isStringTag:typeof d=="string"}),Y.createElement(d,b))}),gF=mF,dt=function(r,u){var c=arguments;if(u==null||!jb.call(u,"css"))return Y.createElement.apply(void 0,c);var d=c.length,m=new Array(d);m[0]=gF,m[1]=hF(r,u);for(var h=2;h<d;h++)m[h]=c[h];return Y.createElement.apply(null,m)};function Wb(){for(var i=arguments.length,r=new Array(i),u=0;u<i;u++)r[u]=arguments[u];return uw(r)}var yF=function(){var r=Wb.apply(void 0,arguments),u="animation-"+r.name;return{name:u,styles:"@keyframes "+u+"{"+r.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}};function bF(i,r){return r||(r=i.slice(0)),Object.freeze(Object.defineProperties(i,{raw:{value:Object.freeze(r)}}))}const CF=Math.min,SF=Math.max,Sm=Math.round,xm=Math.floor,Em=i=>({x:i,y:i});function xF(i){const{x:r,y:u,width:c,height:d}=i;return{width:c,height:d,top:u,left:r,right:r+c,bottom:u+d,x:r,y:u}}function sw(i){return fw(i)?(i.nodeName||"").toLowerCase():"#document"}function Vu(i){var r;return(i==null||(r=i.ownerDocument)==null?void 0:r.defaultView)||window}function cw(i){var r;return(r=(fw(i)?i.ownerDocument:i.document)||window.document)==null?void 0:r.documentElement}function fw(i){return i instanceof Node||i instanceof Vu(i).Node}function EF(i){return i instanceof Element||i instanceof Vu(i).Element}function Xb(i){return i instanceof HTMLElement||i instanceof Vu(i).HTMLElement}function dw(i){return typeof ShadowRoot>"u"?!1:i instanceof ShadowRoot||i instanceof Vu(i).ShadowRoot}function pw(i){const{overflow:r,overflowX:u,overflowY:c,display:d}=Zb(i);return/auto|scroll|overlay|hidden|clip/.test(r+c+u)&&!["inline","contents"].includes(d)}function TF(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function RF(i){return["html","body","#document"].includes(sw(i))}function Zb(i){return Vu(i).getComputedStyle(i)}function wF(i){if(sw(i)==="html")return i;const r=i.assignedSlot||i.parentNode||dw(i)&&i.host||cw(i);return dw(r)?r.host:r}function hw(i){const r=wF(i);return RF(r)?i.ownerDocument?i.ownerDocument.body:i.body:Xb(r)&&pw(r)?r:hw(r)}function Tm(i,r,u){var c;r===void 0&&(r=[]),u===void 0&&(u=!0);const d=hw(i),m=d===((c=i.ownerDocument)==null?void 0:c.body),h=Vu(d);return m?r.concat(h,h.visualViewport||[],pw(d)?d:[],h.frameElement&&u?Tm(h.frameElement):[]):r.concat(d,Tm(d,[],u))}function AF(i){const r=Zb(i);let u=parseFloat(r.width)||0,c=parseFloat(r.height)||0;const d=Xb(i),m=d?i.offsetWidth:u,h=d?i.offsetHeight:c,S=Sm(u)!==m||Sm(c)!==h;return S&&(u=m,c=h),{width:u,height:c,$:S}}function Yb(i){return EF(i)?i:i.contextElement}function vw(i){const r=Yb(i);if(!Xb(r))return Em(1);const u=r.getBoundingClientRect(),{width:c,height:d,$:m}=AF(r);let h=(m?Sm(u.width):u.width)/c,S=(m?Sm(u.height):u.height)/d;return(!h||!Number.isFinite(h))&&(h=1),(!S||!Number.isFinite(S))&&(S=1),{x:h,y:S}}const IF=Em(0);function DF(i){const r=Vu(i);return!TF()||!r.visualViewport?IF:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function MF(i,r,u){return!1}function mw(i,r,u,c){r===void 0&&(r=!1);const d=i.getBoundingClientRect(),m=Yb(i);let h=Em(1);r&&(h=vw(i));const S=MF()?DF(m):Em(0);let b=(d.left+S.x)/h.x,x=(d.top+S.y)/h.y,T=d.width/h.x,w=d.height/h.y;if(m){const M=Vu(m),k=c;let F=M,V=F.frameElement;for(;V&&c&&k!==F;){const _=vw(V),j=V.getBoundingClientRect(),Z=Zb(V),z=j.left+(V.clientLeft+parseFloat(Z.paddingLeft))*_.x,q=j.top+(V.clientTop+parseFloat(Z.paddingTop))*_.y;b*=_.x,x*=_.y,T*=_.x,w*=_.y,b+=z,x+=q,F=Vu(V),V=F.frameElement}}return xF({width:T,height:w,x:b,y:x})}function OF(i,r){let u=null,c;const d=cw(i);function m(){var S;clearTimeout(c),(S=u)==null||S.disconnect(),u=null}function h(S,b){S===void 0&&(S=!1),b===void 0&&(b=1),m();const{left:x,top:T,width:w,height:M}=i.getBoundingClientRect();if(S||r(),!w||!M)return;const k=xm(T),F=xm(d.clientWidth-(x+w)),V=xm(d.clientHeight-(T+M)),_=xm(x),Z={rootMargin:-k+"px "+-F+"px "+-V+"px "+-_+"px",threshold:SF(0,CF(1,b))||1};let z=!0;function q(H){const se=H[0].intersectionRatio;if(se!==b){if(!z)return h();se?h(!1,se):c=setTimeout(()=>{h(!1,1e-7)},1e3)}z=!1}try{u=new IntersectionObserver(q,{...Z,root:d.ownerDocument})}catch{u=new IntersectionObserver(q,Z)}u.observe(i)}return h(!0),m}function kF(i,r,u,c){c===void 0&&(c={});const{ancestorScroll:d=!0,ancestorResize:m=!0,elementResize:h=typeof ResizeObserver=="function",layoutShift:S=typeof IntersectionObserver=="function",animationFrame:b=!1}=c,x=Yb(i),T=d||m?[...x?Tm(x):[],...Tm(r)]:[];T.forEach(j=>{d&&j.addEventListener("scroll",u,{passive:!0}),m&&j.addEventListener("resize",u)});const w=x&&S?OF(x,u):null;let M=-1,k=null;h&&(k=new ResizeObserver(j=>{let[Z]=j;Z&&Z.target===x&&k&&(k.unobserve(r),cancelAnimationFrame(M),M=requestAnimationFrame(()=>{var z;(z=k)==null||z.observe(r)})),u()}),x&&!b&&k.observe(x),k.observe(r));let F,V=b?mw(i):null;b&&_();function _(){const j=mw(i);V&&(j.x!==V.x||j.y!==V.y||j.width!==V.width||j.height!==V.height)&&u(),V=j,F=requestAnimationFrame(_)}return u(),()=>{var j;T.forEach(Z=>{d&&Z.removeEventListener("scroll",u),m&&Z.removeEventListener("resize",u)}),w==null||w(),(j=k)==null||j.disconnect(),k=null,b&&cancelAnimationFrame(F)}}var $b=Y.useLayoutEffect,LF=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Rm=function(){};function NF(i,r){return r?r[0]==="-"?i+r:i+"__"+r:i}function PF(i,r){for(var u=arguments.length,c=new Array(u>2?u-2:0),d=2;d<u;d++)c[d-2]=arguments[d];var m=[].concat(c);if(r&&i)for(var h in r)r.hasOwnProperty(h)&&r[h]&&m.push("".concat(NF(i,h)));return m.filter(function(S){return S}).map(function(S){return String(S).trim()}).join(" ")}var gw=function(r){return UF(r)?r.filter(Boolean):Ks(r)==="object"&&r!==null?[r]:[]},yw=function(r){r.className,r.clearValue,r.cx,r.getStyles,r.getClassNames,r.getValue,r.hasValue,r.isMulti,r.isRtl,r.options,r.selectOption,r.selectProps,r.setValue,r.theme;var u=Fu(r,LF);return ht({},u)},$n=function(r,u,c){var d=r.cx,m=r.getStyles,h=r.getClassNames,S=r.className;return{css:m(u,r),className:d(c??{},h(u,r),S)}};function wm(i){return[document.documentElement,document.body,window].indexOf(i)>-1}function FF(i){return wm(i)?window.innerHeight:i.clientHeight}function bw(i){return wm(i)?window.pageYOffset:i.scrollTop}function Am(i,r){if(wm(i)){window.scrollTo(0,r);return}i.scrollTop=r}function VF(i){var r=getComputedStyle(i),u=r.position==="absolute",c=/(auto|scroll)/;if(r.position==="fixed")return document.documentElement;for(var d=i;d=d.parentElement;)if(r=getComputedStyle(d),!(u&&r.position==="static")&&c.test(r.overflow+r.overflowY+r.overflowX))return d;return document.documentElement}function _F(i,r,u,c){return u*((i=i/c-1)*i*i+1)+r}function Im(i,r){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Rm,d=bw(i),m=r-d,h=10,S=0;function b(){S+=h;var x=_F(S,d,m,u);Am(i,x),S<u?window.requestAnimationFrame(b):c(i)}b()}function Cw(i,r){var u=i.getBoundingClientRect(),c=r.getBoundingClientRect(),d=r.offsetHeight/3;c.bottom+d>u.bottom?Am(i,Math.min(r.offsetTop+r.clientHeight-i.offsetHeight+d,i.scrollHeight)):c.top-d<u.top&&Am(i,Math.max(r.offsetTop-d,0))}function BF(i){var r=i.getBoundingClientRect();return{bottom:r.bottom,height:r.height,left:r.left,right:r.right,top:r.top,width:r.width}}function Sw(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function zF(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var xw=!1,HF={get passive(){return xw=!0}},Dm=typeof window<"u"?window:{};Dm.addEventListener&&Dm.removeEventListener&&(Dm.addEventListener("p",Rm,HF),Dm.removeEventListener("p",Rm,!1));var GF=xw;function jF(i){return i!=null}function UF(i){return Array.isArray(i)}function Mm(i,r,u){return i?r:u}function gH(i){return i}function yH(i){return i}var WF=function(r){for(var u=arguments.length,c=new Array(u>1?u-1:0),d=1;d<u;d++)c[d-1]=arguments[d];var m=Object.entries(r).filter(function(h){var S=Pu(h,1),b=S[0];return!c.includes(b)});return m.reduce(function(h,S){var b=Pu(S,2),x=b[0],T=b[1];return h[x]=T,h},{})},XF=["children","innerProps"],ZF=["children","innerProps"];function YF(i){var r=i.maxHeight,u=i.menuEl,c=i.minHeight,d=i.placement,m=i.shouldScroll,h=i.isFixedPosition,S=i.controlHeight,b=VF(u),x={placement:"bottom",maxHeight:r};if(!u||!u.offsetParent)return x;var T=b.getBoundingClientRect(),w=T.height,M=u.getBoundingClientRect(),k=M.bottom,F=M.height,V=M.top,_=u.offsetParent.getBoundingClientRect(),j=_.top,Z=h?window.innerHeight:FF(b),z=bw(b),q=parseInt(getComputedStyle(u).marginBottom,10),H=parseInt(getComputedStyle(u).marginTop,10),se=j-H,le=Z-V,de=se+z,He=w-z-V,We=k-Z+z+q,nt=z+V-H,Rt=160;switch(d){case"auto":case"bottom":if(le>=F)return{placement:"bottom",maxHeight:r};if(He>=F&&!h)return m&&Im(b,We,Rt),{placement:"bottom",maxHeight:r};if(!h&&He>=c||h&&le>=c){m&&Im(b,We,Rt);var Be=h?le-q:He-q;return{placement:"bottom",maxHeight:Be}}if(d==="auto"||h){var qe=r,Ve=h?se:de;return Ve>=c&&(qe=Math.min(Ve-q-S,r)),{placement:"top",maxHeight:qe}}if(d==="bottom")return m&&Am(b,We),{placement:"bottom",maxHeight:r};break;case"top":if(se>=F)return{placement:"top",maxHeight:r};if(de>=F&&!h)return m&&Im(b,nt,Rt),{placement:"top",maxHeight:r};if(!h&&de>=c||h&&se>=c){var ze=r;return(!h&&de>=c||h&&se>=c)&&(ze=h?se-H:de-H),m&&Im(b,nt,Rt),{placement:"top",maxHeight:ze}}return{placement:"bottom",maxHeight:r};default:throw new Error('Invalid placement provided "'.concat(d,'".'))}return x}function $F(i){var r={bottom:"top",top:"bottom"};return i?r[i]:"bottom"}var Ew=function(r){return r==="auto"?"bottom":r},JF=function(r,u){var c,d=r.placement,m=r.theme,h=m.borderRadius,S=m.spacing,b=m.colors;return ht((c={label:"menu"},Op(c,$F(d),"100%"),Op(c,"position","absolute"),Op(c,"width","100%"),Op(c,"zIndex",1),c),u?{}:{backgroundColor:b.neutral0,borderRadius:h,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:S.menuGutter,marginTop:S.menuGutter})},Tw=Y.createContext(null),QF=function(r){var u=r.children,c=r.minMenuHeight,d=r.maxMenuHeight,m=r.menuPlacement,h=r.menuPosition,S=r.menuShouldScrollIntoView,b=r.theme,x=Y.useContext(Tw)||{},T=x.setPortalPlacement,w=Y.useRef(null),M=Y.useState(d),k=Pu(M,2),F=k[0],V=k[1],_=Y.useState(null),j=Pu(_,2),Z=j[0],z=j[1],q=b.spacing.controlHeight;return $b(function(){var H=w.current;if(H){var se=h==="fixed",le=S&&!se,de=YF({maxHeight:d,menuEl:H,minHeight:c,placement:m,shouldScroll:le,isFixedPosition:se,controlHeight:q});V(de.maxHeight),z(de.placement),T==null||T(de.placement)}},[d,m,h,S,c,T,q]),u({ref:w,placerProps:ht(ht({},r),{},{placement:Z||Ew(m),maxHeight:F})})},KF=function(r){var u=r.children,c=r.innerRef,d=r.innerProps;return dt("div",gt({},$n(r,"menu",{menu:!0}),{ref:c},d),u)},qF=KF,eV=function(r,u){var c=r.maxHeight,d=r.theme.spacing.baseUnit;return ht({maxHeight:c,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},u?{}:{paddingBottom:d,paddingTop:d})},tV=function(r){var u=r.children,c=r.innerProps,d=r.innerRef,m=r.isMulti;return dt("div",gt({},$n(r,"menuList",{"menu-list":!0,"menu-list--is-multi":m}),{ref:d},c),u)},Rw=function(r,u){var c=r.theme,d=c.spacing.baseUnit,m=c.colors;return ht({textAlign:"center"},u?{}:{color:m.neutral40,padding:"".concat(d*2,"px ").concat(d*3,"px")})},nV=Rw,rV=Rw,iV=function(r){var u=r.children,c=u===void 0?"No options":u,d=r.innerProps,m=Fu(r,XF);return dt("div",gt({},$n(ht(ht({},m),{},{children:c,innerProps:d}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),d),c)},aV=function(r){var u=r.children,c=u===void 0?"Loading...":u,d=r.innerProps,m=Fu(r,ZF);return dt("div",gt({},$n(ht(ht({},m),{},{children:c,innerProps:d}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),d),c)},oV=function(r){var u=r.rect,c=r.offset,d=r.position;return{left:u.left,position:d,top:c,width:u.width,zIndex:1}},uV=function(r){var u=r.appendTo,c=r.children,d=r.controlElement,m=r.innerProps,h=r.menuPlacement,S=r.menuPosition,b=Y.useRef(null),x=Y.useRef(null),T=Y.useState(Ew(h)),w=Pu(T,2),M=w[0],k=w[1],F=Y.useMemo(function(){return{setPortalPlacement:k}},[]),V=Y.useState(null),_=Pu(V,2),j=_[0],Z=_[1],z=Y.useCallback(function(){if(d){var le=BF(d),de=S==="fixed"?0:window.pageYOffset,He=le[M]+de;(He!==(j==null?void 0:j.offset)||le.left!==(j==null?void 0:j.rect.left)||le.width!==(j==null?void 0:j.rect.width))&&Z({offset:He,rect:le})}},[d,S,M,j==null?void 0:j.offset,j==null?void 0:j.rect.left,j==null?void 0:j.rect.width]);$b(function(){z()},[z]);var q=Y.useCallback(function(){typeof x.current=="function"&&(x.current(),x.current=null),d&&b.current&&(x.current=kF(d,b.current,z,{elementResize:"ResizeObserver"in window}))},[d,z]);$b(function(){q()},[q]);var H=Y.useCallback(function(le){b.current=le,q()},[q]);if(!u&&S!=="fixed"||!j)return null;var se=dt("div",gt({ref:H},$n(ht(ht({},r),{},{offset:j.offset,position:S,rect:j.rect}),"menuPortal",{"menu-portal":!0}),m),c);return dt(Tw.Provider,{value:F},u?kl.createPortal(se,u):se)},lV=function(r){var u=r.isDisabled,c=r.isRtl;return{label:"container",direction:c?"rtl":void 0,pointerEvents:u?"none":void 0,position:"relative"}},sV=function(r){var u=r.children,c=r.innerProps,d=r.isDisabled,m=r.isRtl;return dt("div",gt({},$n(r,"container",{"--is-disabled":d,"--is-rtl":m}),c),u)},cV=function(r,u){var c=r.theme.spacing,d=r.isMulti,m=r.hasValue,h=r.selectProps.controlShouldRenderValue;return ht({alignItems:"center",display:d&&m&&h?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},u?{}:{padding:"".concat(c.baseUnit/2,"px ").concat(c.baseUnit*2,"px")})},fV=function(r){var u=r.children,c=r.innerProps,d=r.isMulti,m=r.hasValue;return dt("div",gt({},$n(r,"valueContainer",{"value-container":!0,"value-container--is-multi":d,"value-container--has-value":m}),c),u)},dV=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},pV=function(r){var u=r.children,c=r.innerProps;return dt("div",gt({},$n(r,"indicatorsContainer",{indicators:!0}),c),u)},ww,hV=["size"],vV=["innerProps","isRtl","size"];function mV(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var gV=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3InLFxuICAgICAgbGluZUhlaWdodDogMSxcbiAgICAgIHN0cm9rZTogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBzdHJva2VXaWR0aDogMCxcbiAgICB9fVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG5cbmV4cG9ydCB0eXBlIENyb3NzSWNvblByb3BzID0gSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZT86IG51bWJlciB9O1xuZXhwb3J0IGNvbnN0IENyb3NzSWNvbiA9IChwcm9wczogQ3Jvc3NJY29uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTE0LjM0OCAxNC44NDljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDBsLTIuNjUxLTMuMDMwLTIuNjUxIDMuMDI5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI5IDAtMS42OTdsMi43NTgtMy4xNS0yLjc1OS0zLjE1MmMtMC40NjktMC40NjktMC40NjktMS4yMjggMC0xLjY5N3MxLjIyOC0wLjQ2OSAxLjY5NyAwbDIuNjUyIDMuMDMxIDIuNjUxLTMuMDMxYzAuNDY5LTAuNDY5IDEuMjI4LTAuNDY5IDEuNjk3IDBzMC40NjkgMS4yMjkgMCAxLjY5N2wtMi43NTggMy4xNTIgMi43NTggMy4xNWMwLjQ2OSAwLjQ2OSAwLjQ2OSAxLjIyOSAwIDEuNjk4elwiIC8+XG4gIDwvU3ZnPlxuKTtcbmV4cG9ydCB0eXBlIERvd25DaGV2cm9uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgRG93bkNoZXZyb24gPSAocHJvcHM6IERvd25DaGV2cm9uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTQuNTE2IDcuNTQ4YzAuNDM2LTAuNDQ2IDEuMDQzLTAuNDgxIDEuNTc2IDBsMy45MDggMy43NDcgMy45MDgtMy43NDdjMC41MzMtMC40ODEgMS4xNDEtMC40NDYgMS41NzQgMCAwLjQzNiAwLjQ0NSAwLjQwOCAxLjE5NyAwIDEuNjE1LTAuNDA2IDAuNDE4LTQuNjk1IDQuNTAyLTQuNjk1IDQuNTAyLTAuMjE3IDAuMjIzLTAuNTAyIDAuMzM1LTAuNzg3IDAuMzM1cy0wLjU3LTAuMTEyLTAuNzg5LTAuMzM1YzAgMC00LjI4Ny00LjA4NC00LjY5NS00LjUwMnMtMC40MzYtMS4xNyAwLTEuNjE1elwiIC8+XG4gIDwvU3ZnPlxuKTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEJ1dHRvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xufVxuXG5jb25zdCBiYXNlQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTpcbiAgICB8IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbiAgICB8IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JDb250YWluZXInLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICAgICc6aG92ZXInOiB7XG4gICAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsODAgOiBjb2xvcnMubmV1dHJhbDQwLFxuICAgICAgICB9LFxuICAgICAgfSksXG59KTtcblxuZXhwb3J0IGNvbnN0IGRyb3Bkb3duSW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBEcm9wZG93bkluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2Ryb3Bkb3duSW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGludGVyZmFjZSBDbGVhckluZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFRoZSBjaGlsZHJlbiB0byBiZSByZW5kZXJlZCBpbnNpZGUgdGhlIGluZGljYXRvci4gKi9cbiAgY2hpbGRyZW4/OiBSZWFjdE5vZGU7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2NsZWFySW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdjbGVhci1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPENyb3NzSWNvbiAvPn1cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gU2VwYXJhdG9yXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuZXhwb3J0IGludGVyZmFjZSBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaW5uZXJQcm9wcz86IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3BhbiddO1xufVxuXG5leHBvcnQgY29uc3QgaW5kaWNhdG9yU2VwYXJhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNEaXNhYmxlZCxcbiAgICB0aGVtZToge1xuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgICAgY29sb3JzLFxuICAgIH0sXG4gIH06IEluZGljYXRvclNlcGFyYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+LFxuICB1bnN0eWxlZDogYm9vbGVhblxuKTogQ1NTT2JqZWN0V2l0aExhYmVsID0+ICh7XG4gIGxhYmVsOiAnaW5kaWNhdG9yU2VwYXJhdG9yJyxcbiAgYWxpZ25TZWxmOiAnc3RyZXRjaCcsXG4gIHdpZHRoOiAxLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGJhY2tncm91bmRDb2xvcjogaXNEaXNhYmxlZCA/IGNvbG9ycy5uZXV0cmFsMTAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBtYXJnaW5Cb3R0b206IGJhc2VVbml0ICogMixcbiAgICAgICAgbWFyZ2luVG9wOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgSW5kaWNhdG9yU2VwYXJhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxzcGFuXG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnaW5kaWNhdG9yU2VwYXJhdG9yJywge1xuICAgICAgICAnaW5kaWNhdG9yLXNlcGFyYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAvPlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBMb2FkaW5nXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgbG9hZGluZ0RvdEFuaW1hdGlvbnMgPSBrZXlmcmFtZXNgXG4gIDAlLCA4MCUsIDEwMCUgeyBvcGFjaXR5OiAwOyB9XG4gIDQwJSB7IG9wYWNpdHk6IDE7IH1cbmA7XG5cbmV4cG9ydCBjb25zdCBsb2FkaW5nSW5kaWNhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHNpemUsXG4gICAgdGhlbWU6IHtcbiAgICAgIGNvbG9ycyxcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICB9LFxuICB9OiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICB0cmFuc2l0aW9uOiAnY29sb3IgMTUwbXMnLFxuICBhbGlnblNlbGY6ICdjZW50ZXInLFxuICBmb250U2l6ZTogc2l6ZSxcbiAgbGluZUhlaWdodDogMSxcbiAgbWFyZ2luUmlnaHQ6IHNpemUsXG4gIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gIHZlcnRpY2FsQWxpZ246ICdtaWRkbGUnLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDYwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgICAgICAgcGFkZGluZzogYmFzZVVuaXQgKiAyLFxuICAgICAgfSksXG59KTtcblxuaW50ZXJmYWNlIExvYWRpbmdEb3RQcm9wcyB7XG4gIGRlbGF5OiBudW1iZXI7XG4gIG9mZnNldDogYm9vbGVhbjtcbn1cbmNvbnN0IExvYWRpbmdEb3QgPSAoeyBkZWxheSwgb2Zmc2V0IH06IExvYWRpbmdEb3RQcm9wcykgPT4gKFxuICA8c3BhblxuICAgIGNzcz17e1xuICAgICAgYW5pbWF0aW9uOiBgJHtsb2FkaW5nRG90QW5pbWF0aW9uc30gMXMgZWFzZS1pbi1vdXQgJHtkZWxheX1tcyBpbmZpbml0ZTtgLFxuICAgICAgYmFja2dyb3VuZENvbG9yOiAnY3VycmVudENvbG9yJyxcbiAgICAgIGJvcmRlclJhZGl1czogJzFlbScsXG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIG1hcmdpbkxlZnQ6IG9mZnNldCA/ICcxZW0nIDogdW5kZWZpbmVkLFxuICAgICAgaGVpZ2h0OiAnMWVtJyxcbiAgICAgIHZlcnRpY2FsQWxpZ246ICd0b3AnLFxuICAgICAgd2lkdGg6ICcxZW0nLFxuICAgIH19XG4gIC8+XG4pO1xuXG5leHBvcnQgaW50ZXJmYWNlIExvYWRpbmdJbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgLyoqIFNldCBzaXplIG9mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */",toString:mV},Aw=function(r){var u=r.size,c=Fu(r,hV);return dt("svg",gt({height:u,width:u,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:gV},c))},Jb=function(r){return dt(Aw,gt({size:20},r),dt("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Iw=function(r){return dt(Aw,gt({size:20},r),dt("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Dw=function(r,u){var c=r.isFocused,d=r.theme,m=d.spacing.baseUnit,h=d.colors;return ht({label:"indicatorContainer",display:"flex",transition:"color 150ms"},u?{}:{color:c?h.neutral60:h.neutral20,padding:m*2,":hover":{color:c?h.neutral80:h.neutral40}})},yV=Dw,bV=function(r){var u=r.children,c=r.innerProps;return dt("div",gt({},$n(r,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),c),u||dt(Iw,null))},CV=Dw,SV=function(r){var u=r.children,c=r.innerProps;return dt("div",gt({},$n(r,"clearIndicator",{indicator:!0,"clear-indicator":!0}),c),u||dt(Jb,null))},xV=function(r,u){var c=r.isDisabled,d=r.theme,m=d.spacing.baseUnit,h=d.colors;return ht({label:"indicatorSeparator",alignSelf:"stretch",width:1},u?{}:{backgroundColor:c?h.neutral10:h.neutral20,marginBottom:m*2,marginTop:m*2})},EV=function(r){var u=r.innerProps;return dt("span",gt({},u,$n(r,"indicatorSeparator",{"indicator-separator":!0})))},TV=yF(ww||(ww=bF([`
29
+ */var Va;function Lp(){return Va||(Va=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,a=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,I=e?Symbol.for("react.scope"):60119;function v(P){return typeof P=="string"||typeof P=="function"||P===i||P===l||P===s||P===r||P===d||P===f||typeof P=="object"&&P!==null&&(P.$$typeof===m||P.$$typeof===h||P.$$typeof===o||P.$$typeof===u||P.$$typeof===c||P.$$typeof===g||P.$$typeof===b||P.$$typeof===I||P.$$typeof===p)}function x(P){if(typeof P=="object"&&P!==null){var Zt=P.$$typeof;switch(Zt){case t:var et=P.type;switch(et){case a:case l:case i:case s:case r:case d:return et;default:var Nn=et&&et.$$typeof;switch(Nn){case u:case c:case m:case h:case o:return Nn;default:return Zt}}case n:return Zt}}}var y=a,E=l,T=u,S=o,M=t,N=c,k=i,Y=m,ce=h,oe=n,D=s,R=r,ie=d,_=!1;function Ee(P){return _||(_=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),be(P)||x(P)===a}function be(P){return x(P)===l}function gt(P){return x(P)===u}function J(P){return x(P)===o}function re(P){return typeof P=="object"&&P!==null&&P.$$typeof===t}function ve(P){return x(P)===c}function Te(P){return x(P)===i}function de(P){return x(P)===m}function Pe(P){return x(P)===h}function ye(P){return x(P)===n}function bt(P){return x(P)===s}function hr(P){return x(P)===r}function Dn(P){return x(P)===d}Z.AsyncMode=y,Z.ConcurrentMode=E,Z.ContextConsumer=T,Z.ContextProvider=S,Z.Element=M,Z.ForwardRef=N,Z.Fragment=k,Z.Lazy=Y,Z.Memo=ce,Z.Portal=oe,Z.Profiler=D,Z.StrictMode=R,Z.Suspense=ie,Z.isAsyncMode=Ee,Z.isConcurrentMode=be,Z.isContextConsumer=gt,Z.isContextProvider=J,Z.isElement=re,Z.isForwardRef=ve,Z.isFragment=Te,Z.isLazy=de,Z.isMemo=Pe,Z.isPortal=ye,Z.isProfiler=bt,Z.isStrictMode=hr,Z.isSuspense=Dn,Z.isValidElementType=v,Z.typeOf=x}()),Z}process.env.NODE_ENV==="production"?_i.exports=Np():_i.exports=Lp();var Wp=_i.exports,wa=Wp,Rp={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Op={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Fa={};Fa[wa.ForwardRef]=Rp,Fa[wa.Memo]=Op;var Xp=!0;function Zp(e,t,n){var i="";return n.split(" ").forEach(function(r){e[r]!==void 0?t.push(e[r]+";"):i+=r+" "}),i}var Ba=function(t,n,i){var r=t.key+"-"+n.name;(i===!1||Xp===!1)&&t.registered[r]===void 0&&(t.registered[r]=n.styles)},Hp=function(t,n,i){Ba(t,n,i);var r=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var s=n;do t.insert(n===s?"."+r:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function kp(e){for(var t=0,n,i=0,r=e.length;r>=4;++i,r-=4)n=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(r){case 3:t^=(e.charCodeAt(i+2)&255)<<16;case 2:t^=(e.charCodeAt(i+1)&255)<<8;case 1:t^=e.charCodeAt(i)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var zp={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},jp=!1,Yp=/[A-Z]|^ms/g,Jp=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ga=function(t){return t.charCodeAt(1)===45},Ma=function(t){return t!=null&&typeof t!="boolean"},Qi=Tp(function(e){return Ga(e)?e:e.replace(Yp,"-$&").toLowerCase()}),Da=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Jp,function(i,r,s){return Se={name:r,styles:s,next:Se},r})}return zp[t]!==1&&!Ga(t)&&typeof n=="number"&&n!==0?n+"px":n},Up="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ot(e,t,n){if(n==null)return"";var i=n;if(i.__emotion_styles!==void 0)return i;switch(typeof n){case"boolean":return"";case"object":{var r=n;if(r.anim===1)return Se={name:r.name,styles:r.styles,next:Se},r.name;var s=n;if(s.styles!==void 0){var o=s.next;if(o!==void 0)for(;o!==void 0;)Se={name:o.name,styles:o.styles,next:Se},o=o.next;var u=s.styles+";";return u}return _p(e,t,n)}case"function":{if(e!==void 0){var a=Se,l=n(e);return Se=a,Ot(e,t,l)}break}}var c=n;return c}function _p(e,t,n){var i="";if(Array.isArray(n))for(var r=0;r<n.length;r++)i+=Ot(e,t,n[r])+";";else for(var s in n){var o=n[s];if(typeof o!="object"){var u=o;Ma(u)&&(i+=Qi(s)+":"+Da(s,u)+";")}else{if(s==="NO_COMPONENT_SELECTOR"&&jp)throw new Error(Up);if(Array.isArray(o)&&typeof o[0]=="string"&&t==null)for(var a=0;a<o.length;a++)Ma(o[a])&&(i+=Qi(s)+":"+Da(s,o[a])+";");else{var l=Ot(e,t,o);switch(s){case"animation":case"animationName":{i+=Qi(s)+":"+l+";";break}default:i+=s+"{"+l+"}"}}}}return i}var Na=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Se;function La(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var i=!0,r="";Se=void 0;var s=e[0];if(s==null||s.raw===void 0)i=!1,r+=Ot(n,t,s);else{var o=s;r+=o[0]}for(var u=1;u<e.length;u++)if(r+=Ot(n,t,e[u]),i){var a=s;r+=a[u]}Na.lastIndex=0;for(var l="",c;(c=Na.exec(r))!==null;)l+="-"+c[1];var d=kp(r)+l;return{name:d,styles:r,next:Se}}var Qp=function(t){return t()},$p=G.useInsertionEffect?G.useInsertionEffect:!1,Kp=$p||Qp,qp=!1,Wa=G.createContext(typeof HTMLElement<"u"?Dp({key:"css"}):null);Wa.Provider;var em=function(t){return C.forwardRef(function(n,i){var r=C.useContext(Wa);return t(n,r,i)})},tm=G.createContext({}),$i={}.hasOwnProperty,Ki="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",nm=function(t,n){var i={};for(var r in n)$i.call(n,r)&&(i[r]=n[r]);return i[Ki]=t,i},im=function(t){var n=t.cache,i=t.serialized,r=t.isStringTag;return Ba(n,i,r),Kp(function(){return Hp(n,i,r)}),null},rm=em(function(e,t,n){var i=e.css;typeof i=="string"&&t.registered[i]!==void 0&&(i=t.registered[i]);var r=e[Ki],s=[i],o="";typeof e.className=="string"?o=Zp(t.registered,s,e.className):e.className!=null&&(o=e.className+" ");var u=La(s,void 0,G.useContext(tm));o+=t.key+"-"+u.name;var a={};for(var l in e)$i.call(e,l)&&l!=="css"&&l!==Ki&&!qp&&(a[l]=e[l]);return a.className=o,n&&(a.ref=n),G.createElement(G.Fragment,null,G.createElement(im,{cache:t,serialized:u,isStringTag:typeof r=="string"}),G.createElement(r,a))}),sm=rm,V=function(t,n){var i=arguments;if(n==null||!$i.call(n,"css"))return G.createElement.apply(void 0,i);var r=i.length,s=new Array(r);s[0]=sm,s[1]=nm(t,n);for(var o=2;o<r;o++)s[o]=i[o];return G.createElement.apply(null,s)};function qi(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return La(t)}var om=function(){var t=qi.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}};function am(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const um=Math.min,lm=Math.max,xn=Math.round,An=Math.floor,Sn=e=>({x:e,y:e});function cm(e){const{x:t,y:n,width:i,height:r}=e;return{width:i,height:r,top:n,left:t,right:t+i,bottom:n+r,x:t,y:n}}function Ra(e){return Xa(e)?(e.nodeName||"").toLowerCase():"#document"}function We(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Oa(e){var t;return(t=(Xa(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Xa(e){return e instanceof Node||e instanceof We(e).Node}function dm(e){return e instanceof Element||e instanceof We(e).Element}function er(e){return e instanceof HTMLElement||e instanceof We(e).HTMLElement}function Za(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof We(e).ShadowRoot}function Ha(e){const{overflow:t,overflowX:n,overflowY:i,display:r}=tr(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!["inline","contents"].includes(r)}function fm(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function hm(e){return["html","body","#document"].includes(Ra(e))}function tr(e){return We(e).getComputedStyle(e)}function pm(e){if(Ra(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Za(e)&&e.host||Oa(e);return Za(t)?t.host:t}function ka(e){const t=pm(e);return hm(t)?e.ownerDocument?e.ownerDocument.body:e.body:er(t)&&Ha(t)?t:ka(t)}function En(e,t,n){var i;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=ka(e),s=r===((i=e.ownerDocument)==null?void 0:i.body),o=We(r);return s?t.concat(o,o.visualViewport||[],Ha(r)?r:[],o.frameElement&&n?En(o.frameElement):[]):t.concat(r,En(r,[],n))}function mm(e){const t=tr(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const r=er(e),s=r?e.offsetWidth:n,o=r?e.offsetHeight:i,u=xn(n)!==s||xn(i)!==o;return u&&(n=s,i=o),{width:n,height:i,$:u}}function nr(e){return dm(e)?e:e.contextElement}function za(e){const t=nr(e);if(!er(t))return Sn(1);const n=t.getBoundingClientRect(),{width:i,height:r,$:s}=mm(t);let o=(s?xn(n.width):n.width)/i,u=(s?xn(n.height):n.height)/r;return(!o||!Number.isFinite(o))&&(o=1),(!u||!Number.isFinite(u))&&(u=1),{x:o,y:u}}const gm=Sn(0);function bm(e){const t=We(e);return!fm()||!t.visualViewport?gm:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function vm(e,t,n){return!1}function ja(e,t,n,i){t===void 0&&(t=!1);const r=e.getBoundingClientRect(),s=nr(e);let o=Sn(1);t&&(o=za(e));const u=vm()?bm(s):Sn(0);let a=(r.left+u.x)/o.x,l=(r.top+u.y)/o.y,c=r.width/o.x,d=r.height/o.y;if(s){const f=We(s),h=i;let m=f,p=m.frameElement;for(;p&&i&&h!==m;){const g=za(p),b=p.getBoundingClientRect(),I=tr(p),v=b.left+(p.clientLeft+parseFloat(I.paddingLeft))*g.x,x=b.top+(p.clientTop+parseFloat(I.paddingTop))*g.y;a*=g.x,l*=g.y,c*=g.x,d*=g.y,a+=v,l+=x,m=We(p),p=m.frameElement}}return cm({width:c,height:d,x:a,y:l})}function ym(e,t){let n=null,i;const r=Oa(e);function s(){var u;clearTimeout(i),(u=n)==null||u.disconnect(),n=null}function o(u,a){u===void 0&&(u=!1),a===void 0&&(a=1),s();const{left:l,top:c,width:d,height:f}=e.getBoundingClientRect();if(u||t(),!d||!f)return;const h=An(c),m=An(r.clientWidth-(l+d)),p=An(r.clientHeight-(c+f)),g=An(l),I={rootMargin:-h+"px "+-m+"px "+-p+"px "+-g+"px",threshold:lm(0,um(1,a))||1};let v=!0;function x(y){const E=y[0].intersectionRatio;if(E!==a){if(!v)return o();E?o(!1,E):i=setTimeout(()=>{o(!1,1e-7)},1e3)}v=!1}try{n=new IntersectionObserver(x,{...I,root:r.ownerDocument})}catch{n=new IntersectionObserver(x,I)}n.observe(e)}return o(!0),s}function Cm(e,t,n,i){i===void 0&&(i={});const{ancestorScroll:r=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:a=!1}=i,l=nr(e),c=r||s?[...l?En(l):[],...En(t)]:[];c.forEach(b=>{r&&b.addEventListener("scroll",n,{passive:!0}),s&&b.addEventListener("resize",n)});const d=l&&u?ym(l,n):null;let f=-1,h=null;o&&(h=new ResizeObserver(b=>{let[I]=b;I&&I.target===l&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var v;(v=h)==null||v.observe(t)})),n()}),l&&!a&&h.observe(l),h.observe(t));let m,p=a?ja(e):null;a&&g();function g(){const b=ja(e);p&&(b.x!==p.x||b.y!==p.y||b.width!==p.width||b.height!==p.height)&&n(),p=b,m=requestAnimationFrame(g)}return n(),()=>{var b;c.forEach(I=>{r&&I.removeEventListener("scroll",n),s&&I.removeEventListener("resize",n)}),d==null||d(),(b=h)==null||b.disconnect(),h=null,a&&cancelAnimationFrame(m)}}var ir=C.useLayoutEffect,Im=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Tn=function(){};function xm(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function Am(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];var s=[].concat(i);if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&s.push("".concat(xm(e,o)));return s.filter(function(u){return u}).map(function(u){return String(u).trim()}).join(" ")}var Ya=function(t){return Gm(t)?t.filter(Boolean):qe(t)==="object"&&t!==null?[t]:[]},Ja=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getClassNames,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var n=Le(t,Im);return w({},n)},z=function(t,n,i){var r=t.cx,s=t.getStyles,o=t.getClassNames,u=t.className;return{css:s(n,t),className:r(i??{},o(n,t),u)}};function Pn(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Sm(e){return Pn(e)?window.innerHeight:e.clientHeight}function Ua(e){return Pn(e)?window.pageYOffset:e.scrollTop}function Vn(e,t){if(Pn(e)){window.scrollTo(0,t);return}e.scrollTop=t}function Em(e){var t=getComputedStyle(e),n=t.position==="absolute",i=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var r=e;r=r.parentElement;)if(t=getComputedStyle(r),!(n&&t.position==="static")&&i.test(t.overflow+t.overflowY+t.overflowX))return r;return document.documentElement}function Tm(e,t,n,i){return n*((e=e/i-1)*e*e+1)+t}function wn(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Tn,r=Ua(e),s=t-r,o=10,u=0;function a(){u+=o;var l=Tm(u,r,s,n);Vn(e,l),u<n?window.requestAnimationFrame(a):i(e)}a()}function _a(e,t){var n=e.getBoundingClientRect(),i=t.getBoundingClientRect(),r=t.offsetHeight/3;i.bottom+r>n.bottom?Vn(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):i.top-r<n.top&&Vn(e,Math.max(t.offsetTop-r,0))}function Pm(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function Qa(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Vm(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var $a=!1,wm={get passive(){return $a=!0}},Fn=typeof window<"u"?window:{};Fn.addEventListener&&Fn.removeEventListener&&(Fn.addEventListener("p",Tn,wm),Fn.removeEventListener("p",Tn,!1));var Fm=$a;function Bm(e){return e!=null}function Gm(e){return Array.isArray(e)}function Bn(e,t,n){return e?t:n}function gb(e){return e}function bb(e){return e}var Mm=function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];var s=Object.entries(t).filter(function(o){var u=Ne(o,1),a=u[0];return!i.includes(a)});return s.reduce(function(o,u){var a=Ne(u,2),l=a[0],c=a[1];return o[l]=c,o},{})},Dm=["children","innerProps"],Nm=["children","innerProps"];function Lm(e){var t=e.maxHeight,n=e.menuEl,i=e.minHeight,r=e.placement,s=e.shouldScroll,o=e.isFixedPosition,u=e.controlHeight,a=Em(n),l={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return l;var c=a.getBoundingClientRect(),d=c.height,f=n.getBoundingClientRect(),h=f.bottom,m=f.height,p=f.top,g=n.offsetParent.getBoundingClientRect(),b=g.top,I=o?window.innerHeight:Sm(a),v=Ua(a),x=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),E=b-y,T=I-p,S=E+v,M=d-v-p,N=h-I+v+x,k=v+p-y,Y=160;switch(r){case"auto":case"bottom":if(T>=m)return{placement:"bottom",maxHeight:t};if(M>=m&&!o)return s&&wn(a,N,Y),{placement:"bottom",maxHeight:t};if(!o&&M>=i||o&&T>=i){s&&wn(a,N,Y);var ce=o?T-x:M-x;return{placement:"bottom",maxHeight:ce}}if(r==="auto"||o){var oe=t,D=o?E:S;return D>=i&&(oe=Math.min(D-x-u,t)),{placement:"top",maxHeight:oe}}if(r==="bottom")return s&&Vn(a,N),{placement:"bottom",maxHeight:t};break;case"top":if(E>=m)return{placement:"top",maxHeight:t};if(S>=m&&!o)return s&&wn(a,k,Y),{placement:"top",maxHeight:t};if(!o&&S>=i||o&&E>=i){var R=t;return(!o&&S>=i||o&&E>=i)&&(R=o?E-y:S-y),s&&wn(a,k,Y),{placement:"top",maxHeight:R}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return l}function Wm(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var Ka=function(t){return t==="auto"?"bottom":t},Rm=function(t,n){var i,r=t.placement,s=t.theme,o=s.borderRadius,u=s.spacing,a=s.colors;return w((i={label:"menu"},Dt(i,Wm(r),"100%"),Dt(i,"position","absolute"),Dt(i,"width","100%"),Dt(i,"zIndex",1),i),n?{}:{backgroundColor:a.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:u.menuGutter,marginTop:u.menuGutter})},qa=C.createContext(null),Om=function(t){var n=t.children,i=t.minMenuHeight,r=t.maxMenuHeight,s=t.menuPlacement,o=t.menuPosition,u=t.menuShouldScrollIntoView,a=t.theme,l=C.useContext(qa)||{},c=l.setPortalPlacement,d=C.useRef(null),f=C.useState(r),h=Ne(f,2),m=h[0],p=h[1],g=C.useState(null),b=Ne(g,2),I=b[0],v=b[1],x=a.spacing.controlHeight;return ir(function(){var y=d.current;if(y){var E=o==="fixed",T=u&&!E,S=Lm({maxHeight:r,menuEl:y,minHeight:i,placement:s,shouldScroll:T,isFixedPosition:E,controlHeight:x});p(S.maxHeight),v(S.placement),c==null||c(S.placement)}},[r,s,o,u,i,c,x]),n({ref:d,placerProps:w(w({},t),{},{placement:I||Ka(s),maxHeight:m})})},Xm=function(t){var n=t.children,i=t.innerRef,r=t.innerProps;return V("div",B({},z(t,"menu",{menu:!0}),{ref:i},r),n)},Zm=Xm,Hm=function(t,n){var i=t.maxHeight,r=t.theme.spacing.baseUnit;return w({maxHeight:i,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:r,paddingTop:r})},km=function(t){var n=t.children,i=t.innerProps,r=t.innerRef,s=t.isMulti;return V("div",B({},z(t,"menuList",{"menu-list":!0,"menu-list--is-multi":s}),{ref:r},i),n)},eu=function(t,n){var i=t.theme,r=i.spacing.baseUnit,s=i.colors;return w({textAlign:"center"},n?{}:{color:s.neutral40,padding:"".concat(r*2,"px ").concat(r*3,"px")})},zm=eu,jm=eu,Ym=function(t){var n=t.children,i=n===void 0?"No options":n,r=t.innerProps,s=Le(t,Dm);return V("div",B({},z(w(w({},s),{},{children:i,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),i)},Jm=function(t){var n=t.children,i=n===void 0?"Loading...":n,r=t.innerProps,s=Le(t,Nm);return V("div",B({},z(w(w({},s),{},{children:i,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),i)},Um=function(t){var n=t.rect,i=t.offset,r=t.position;return{left:n.left,position:r,top:i,width:n.width,zIndex:1}},_m=function(t){var n=t.appendTo,i=t.children,r=t.controlElement,s=t.innerProps,o=t.menuPlacement,u=t.menuPosition,a=C.useRef(null),l=C.useRef(null),c=C.useState(Ka(o)),d=Ne(c,2),f=d[0],h=d[1],m=C.useMemo(function(){return{setPortalPlacement:h}},[]),p=C.useState(null),g=Ne(p,2),b=g[0],I=g[1],v=C.useCallback(function(){if(r){var T=Pm(r),S=u==="fixed"?0:window.pageYOffset,M=T[f]+S;(M!==(b==null?void 0:b.offset)||T.left!==(b==null?void 0:b.rect.left)||T.width!==(b==null?void 0:b.rect.width))&&I({offset:M,rect:T})}},[r,u,f,b==null?void 0:b.offset,b==null?void 0:b.rect.left,b==null?void 0:b.rect.width]);ir(function(){v()},[v]);var x=C.useCallback(function(){typeof l.current=="function"&&(l.current(),l.current=null),r&&a.current&&(l.current=Cm(r,a.current,v,{elementResize:"ResizeObserver"in window}))},[r,v]);ir(function(){x()},[x]);var y=C.useCallback(function(T){a.current=T,x()},[x]);if(!n&&u!=="fixed"||!b)return null;var E=V("div",B({ref:y},z(w(w({},t),{},{offset:b.offset,position:u,rect:b.rect}),"menuPortal",{"menu-portal":!0}),s),i);return V(qa.Provider,{value:m},n?Re.createPortal(E,n):E)},Qm=function(t){var n=t.isDisabled,i=t.isRtl;return{label:"container",direction:i?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},$m=function(t){var n=t.children,i=t.innerProps,r=t.isDisabled,s=t.isRtl;return V("div",B({},z(t,"container",{"--is-disabled":r,"--is-rtl":s}),i),n)},Km=function(t,n){var i=t.theme.spacing,r=t.isMulti,s=t.hasValue,o=t.selectProps.controlShouldRenderValue;return w({alignItems:"center",display:r&&s&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(i.baseUnit/2,"px ").concat(i.baseUnit*2,"px")})},qm=function(t){var n=t.children,i=t.innerProps,r=t.isMulti,s=t.hasValue;return V("div",B({},z(t,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":s}),i),n)},eg=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},tg=function(t){var n=t.children,i=t.innerProps;return V("div",B({},z(t,"indicatorsContainer",{indicators:!0}),i),n)},tu,ng=["size"],ig=["innerProps","isRtl","size"];function rg(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var sg=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3InLFxuICAgICAgbGluZUhlaWdodDogMSxcbiAgICAgIHN0cm9rZTogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBzdHJva2VXaWR0aDogMCxcbiAgICB9fVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG5cbmV4cG9ydCB0eXBlIENyb3NzSWNvblByb3BzID0gSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZT86IG51bWJlciB9O1xuZXhwb3J0IGNvbnN0IENyb3NzSWNvbiA9IChwcm9wczogQ3Jvc3NJY29uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTE0LjM0OCAxNC44NDljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDBsLTIuNjUxLTMuMDMwLTIuNjUxIDMuMDI5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI5IDAtMS42OTdsMi43NTgtMy4xNS0yLjc1OS0zLjE1MmMtMC40NjktMC40NjktMC40NjktMS4yMjggMC0xLjY5N3MxLjIyOC0wLjQ2OSAxLjY5NyAwbDIuNjUyIDMuMDMxIDIuNjUxLTMuMDMxYzAuNDY5LTAuNDY5IDEuMjI4LTAuNDY5IDEuNjk3IDBzMC40NjkgMS4yMjkgMCAxLjY5N2wtMi43NTggMy4xNTIgMi43NTggMy4xNWMwLjQ2OSAwLjQ2OSAwLjQ2OSAxLjIyOSAwIDEuNjk4elwiIC8+XG4gIDwvU3ZnPlxuKTtcbmV4cG9ydCB0eXBlIERvd25DaGV2cm9uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgRG93bkNoZXZyb24gPSAocHJvcHM6IERvd25DaGV2cm9uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTQuNTE2IDcuNTQ4YzAuNDM2LTAuNDQ2IDEuMDQzLTAuNDgxIDEuNTc2IDBsMy45MDggMy43NDcgMy45MDgtMy43NDdjMC41MzMtMC40ODEgMS4xNDEtMC40NDYgMS41NzQgMCAwLjQzNiAwLjQ0NSAwLjQwOCAxLjE5NyAwIDEuNjE1LTAuNDA2IDAuNDE4LTQuNjk1IDQuNTAyLTQuNjk1IDQuNTAyLTAuMjE3IDAuMjIzLTAuNTAyIDAuMzM1LTAuNzg3IDAuMzM1cy0wLjU3LTAuMTEyLTAuNzg5LTAuMzM1YzAgMC00LjI4Ny00LjA4NC00LjY5NS00LjUwMnMtMC40MzYtMS4xNyAwLTEuNjE1elwiIC8+XG4gIDwvU3ZnPlxuKTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEJ1dHRvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xufVxuXG5jb25zdCBiYXNlQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTpcbiAgICB8IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbiAgICB8IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JDb250YWluZXInLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICAgICc6aG92ZXInOiB7XG4gICAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsODAgOiBjb2xvcnMubmV1dHJhbDQwLFxuICAgICAgICB9LFxuICAgICAgfSksXG59KTtcblxuZXhwb3J0IGNvbnN0IGRyb3Bkb3duSW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBEcm9wZG93bkluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2Ryb3Bkb3duSW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGludGVyZmFjZSBDbGVhckluZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFRoZSBjaGlsZHJlbiB0byBiZSByZW5kZXJlZCBpbnNpZGUgdGhlIGluZGljYXRvci4gKi9cbiAgY2hpbGRyZW4/OiBSZWFjdE5vZGU7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2NsZWFySW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdjbGVhci1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPENyb3NzSWNvbiAvPn1cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gU2VwYXJhdG9yXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuZXhwb3J0IGludGVyZmFjZSBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaW5uZXJQcm9wcz86IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3BhbiddO1xufVxuXG5leHBvcnQgY29uc3QgaW5kaWNhdG9yU2VwYXJhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNEaXNhYmxlZCxcbiAgICB0aGVtZToge1xuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgICAgY29sb3JzLFxuICAgIH0sXG4gIH06IEluZGljYXRvclNlcGFyYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+LFxuICB1bnN0eWxlZDogYm9vbGVhblxuKTogQ1NTT2JqZWN0V2l0aExhYmVsID0+ICh7XG4gIGxhYmVsOiAnaW5kaWNhdG9yU2VwYXJhdG9yJyxcbiAgYWxpZ25TZWxmOiAnc3RyZXRjaCcsXG4gIHdpZHRoOiAxLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGJhY2tncm91bmRDb2xvcjogaXNEaXNhYmxlZCA/IGNvbG9ycy5uZXV0cmFsMTAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBtYXJnaW5Cb3R0b206IGJhc2VVbml0ICogMixcbiAgICAgICAgbWFyZ2luVG9wOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgSW5kaWNhdG9yU2VwYXJhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxzcGFuXG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnaW5kaWNhdG9yU2VwYXJhdG9yJywge1xuICAgICAgICAnaW5kaWNhdG9yLXNlcGFyYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAvPlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBMb2FkaW5nXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgbG9hZGluZ0RvdEFuaW1hdGlvbnMgPSBrZXlmcmFtZXNgXG4gIDAlLCA4MCUsIDEwMCUgeyBvcGFjaXR5OiAwOyB9XG4gIDQwJSB7IG9wYWNpdHk6IDE7IH1cbmA7XG5cbmV4cG9ydCBjb25zdCBsb2FkaW5nSW5kaWNhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHNpemUsXG4gICAgdGhlbWU6IHtcbiAgICAgIGNvbG9ycyxcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICB9LFxuICB9OiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICB0cmFuc2l0aW9uOiAnY29sb3IgMTUwbXMnLFxuICBhbGlnblNlbGY6ICdjZW50ZXInLFxuICBmb250U2l6ZTogc2l6ZSxcbiAgbGluZUhlaWdodDogMSxcbiAgbWFyZ2luUmlnaHQ6IHNpemUsXG4gIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gIHZlcnRpY2FsQWxpZ246ICdtaWRkbGUnLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDYwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgICAgICAgcGFkZGluZzogYmFzZVVuaXQgKiAyLFxuICAgICAgfSksXG59KTtcblxuaW50ZXJmYWNlIExvYWRpbmdEb3RQcm9wcyB7XG4gIGRlbGF5OiBudW1iZXI7XG4gIG9mZnNldDogYm9vbGVhbjtcbn1cbmNvbnN0IExvYWRpbmdEb3QgPSAoeyBkZWxheSwgb2Zmc2V0IH06IExvYWRpbmdEb3RQcm9wcykgPT4gKFxuICA8c3BhblxuICAgIGNzcz17e1xuICAgICAgYW5pbWF0aW9uOiBgJHtsb2FkaW5nRG90QW5pbWF0aW9uc30gMXMgZWFzZS1pbi1vdXQgJHtkZWxheX1tcyBpbmZpbml0ZTtgLFxuICAgICAgYmFja2dyb3VuZENvbG9yOiAnY3VycmVudENvbG9yJyxcbiAgICAgIGJvcmRlclJhZGl1czogJzFlbScsXG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIG1hcmdpbkxlZnQ6IG9mZnNldCA/ICcxZW0nIDogdW5kZWZpbmVkLFxuICAgICAgaGVpZ2h0OiAnMWVtJyxcbiAgICAgIHZlcnRpY2FsQWxpZ246ICd0b3AnLFxuICAgICAgd2lkdGg6ICcxZW0nLFxuICAgIH19XG4gIC8+XG4pO1xuXG5leHBvcnQgaW50ZXJmYWNlIExvYWRpbmdJbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgLyoqIFNldCBzaXplIG9mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */",toString:rg},nu=function(t){var n=t.size,i=Le(t,ng);return V("svg",B({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:sg},i))},rr=function(t){return V(nu,B({size:20},t),V("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},iu=function(t){return V(nu,B({size:20},t),V("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},ru=function(t,n){var i=t.isFocused,r=t.theme,s=r.spacing.baseUnit,o=r.colors;return w({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:i?o.neutral60:o.neutral20,padding:s*2,":hover":{color:i?o.neutral80:o.neutral40}})},og=ru,ag=function(t){var n=t.children,i=t.innerProps;return V("div",B({},z(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),i),n||V(iu,null))},ug=ru,lg=function(t){var n=t.children,i=t.innerProps;return V("div",B({},z(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),i),n||V(rr,null))},cg=function(t,n){var i=t.isDisabled,r=t.theme,s=r.spacing.baseUnit,o=r.colors;return w({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:i?o.neutral10:o.neutral20,marginBottom:s*2,marginTop:s*2})},dg=function(t){var n=t.innerProps;return V("span",B({},n,z(t,"indicatorSeparator",{"indicator-separator":!0})))},fg=om(tu||(tu=am([`
270
30
  0%, 80%, 100% { opacity: 0; }
271
31
  40% { opacity: 1; }
272
- `]))),RV=function(r,u){var c=r.isFocused,d=r.size,m=r.theme,h=m.colors,S=m.spacing.baseUnit;return ht({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:d,lineHeight:1,marginRight:d,textAlign:"center",verticalAlign:"middle"},u?{}:{color:c?h.neutral60:h.neutral20,padding:S*2})},Qb=function(r){var u=r.delay,c=r.offset;return dt("span",{css:Wb({animation:"".concat(TV," 1s ease-in-out ").concat(u,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:c?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3InLFxuICAgICAgbGluZUhlaWdodDogMSxcbiAgICAgIHN0cm9rZTogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBzdHJva2VXaWR0aDogMCxcbiAgICB9fVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG5cbmV4cG9ydCB0eXBlIENyb3NzSWNvblByb3BzID0gSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZT86IG51bWJlciB9O1xuZXhwb3J0IGNvbnN0IENyb3NzSWNvbiA9IChwcm9wczogQ3Jvc3NJY29uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTE0LjM0OCAxNC44NDljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDBsLTIuNjUxLTMuMDMwLTIuNjUxIDMuMDI5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI5IDAtMS42OTdsMi43NTgtMy4xNS0yLjc1OS0zLjE1MmMtMC40NjktMC40NjktMC40NjktMS4yMjggMC0xLjY5N3MxLjIyOC0wLjQ2OSAxLjY5NyAwbDIuNjUyIDMuMDMxIDIuNjUxLTMuMDMxYzAuNDY5LTAuNDY5IDEuMjI4LTAuNDY5IDEuNjk3IDBzMC40NjkgMS4yMjkgMCAxLjY5N2wtMi43NTggMy4xNTIgMi43NTggMy4xNWMwLjQ2OSAwLjQ2OSAwLjQ2OSAxLjIyOSAwIDEuNjk4elwiIC8+XG4gIDwvU3ZnPlxuKTtcbmV4cG9ydCB0eXBlIERvd25DaGV2cm9uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgRG93bkNoZXZyb24gPSAocHJvcHM6IERvd25DaGV2cm9uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTQuNTE2IDcuNTQ4YzAuNDM2LTAuNDQ2IDEuMDQzLTAuNDgxIDEuNTc2IDBsMy45MDggMy43NDcgMy45MDgtMy43NDdjMC41MzMtMC40ODEgMS4xNDEtMC40NDYgMS41NzQgMCAwLjQzNiAwLjQ0NSAwLjQwOCAxLjE5NyAwIDEuNjE1LTAuNDA2IDAuNDE4LTQuNjk1IDQuNTAyLTQuNjk1IDQuNTAyLTAuMjE3IDAuMjIzLTAuNTAyIDAuMzM1LTAuNzg3IDAuMzM1cy0wLjU3LTAuMTEyLTAuNzg5LTAuMzM1YzAgMC00LjI4Ny00LjA4NC00LjY5NS00LjUwMnMtMC40MzYtMS4xNyAwLTEuNjE1elwiIC8+XG4gIDwvU3ZnPlxuKTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEJ1dHRvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xufVxuXG5jb25zdCBiYXNlQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTpcbiAgICB8IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbiAgICB8IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JDb250YWluZXInLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICAgICc6aG92ZXInOiB7XG4gICAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsODAgOiBjb2xvcnMubmV1dHJhbDQwLFxuICAgICAgICB9LFxuICAgICAgfSksXG59KTtcblxuZXhwb3J0IGNvbnN0IGRyb3Bkb3duSW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBEcm9wZG93bkluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2Ryb3Bkb3duSW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGludGVyZmFjZSBDbGVhckluZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFRoZSBjaGlsZHJlbiB0byBiZSByZW5kZXJlZCBpbnNpZGUgdGhlIGluZGljYXRvci4gKi9cbiAgY2hpbGRyZW4/OiBSZWFjdE5vZGU7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2NsZWFySW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdjbGVhci1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPENyb3NzSWNvbiAvPn1cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gU2VwYXJhdG9yXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuZXhwb3J0IGludGVyZmFjZSBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaW5uZXJQcm9wcz86IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3BhbiddO1xufVxuXG5leHBvcnQgY29uc3QgaW5kaWNhdG9yU2VwYXJhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNEaXNhYmxlZCxcbiAgICB0aGVtZToge1xuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgICAgY29sb3JzLFxuICAgIH0sXG4gIH06IEluZGljYXRvclNlcGFyYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+LFxuICB1bnN0eWxlZDogYm9vbGVhblxuKTogQ1NTT2JqZWN0V2l0aExhYmVsID0+ICh7XG4gIGxhYmVsOiAnaW5kaWNhdG9yU2VwYXJhdG9yJyxcbiAgYWxpZ25TZWxmOiAnc3RyZXRjaCcsXG4gIHdpZHRoOiAxLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGJhY2tncm91bmRDb2xvcjogaXNEaXNhYmxlZCA/IGNvbG9ycy5uZXV0cmFsMTAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBtYXJnaW5Cb3R0b206IGJhc2VVbml0ICogMixcbiAgICAgICAgbWFyZ2luVG9wOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgSW5kaWNhdG9yU2VwYXJhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxzcGFuXG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnaW5kaWNhdG9yU2VwYXJhdG9yJywge1xuICAgICAgICAnaW5kaWNhdG9yLXNlcGFyYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAvPlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBMb2FkaW5nXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgbG9hZGluZ0RvdEFuaW1hdGlvbnMgPSBrZXlmcmFtZXNgXG4gIDAlLCA4MCUsIDEwMCUgeyBvcGFjaXR5OiAwOyB9XG4gIDQwJSB7IG9wYWNpdHk6IDE7IH1cbmA7XG5cbmV4cG9ydCBjb25zdCBsb2FkaW5nSW5kaWNhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHNpemUsXG4gICAgdGhlbWU6IHtcbiAgICAgIGNvbG9ycyxcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICB9LFxuICB9OiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICB0cmFuc2l0aW9uOiAnY29sb3IgMTUwbXMnLFxuICBhbGlnblNlbGY6ICdjZW50ZXInLFxuICBmb250U2l6ZTogc2l6ZSxcbiAgbGluZUhlaWdodDogMSxcbiAgbWFyZ2luUmlnaHQ6IHNpemUsXG4gIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gIHZlcnRpY2FsQWxpZ246ICdtaWRkbGUnLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDYwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgICAgICAgcGFkZGluZzogYmFzZVVuaXQgKiAyLFxuICAgICAgfSksXG59KTtcblxuaW50ZXJmYWNlIExvYWRpbmdEb3RQcm9wcyB7XG4gIGRlbGF5OiBudW1iZXI7XG4gIG9mZnNldDogYm9vbGVhbjtcbn1cbmNvbnN0IExvYWRpbmdEb3QgPSAoeyBkZWxheSwgb2Zmc2V0IH06IExvYWRpbmdEb3RQcm9wcykgPT4gKFxuICA8c3BhblxuICAgIGNzcz17e1xuICAgICAgYW5pbWF0aW9uOiBgJHtsb2FkaW5nRG90QW5pbWF0aW9uc30gMXMgZWFzZS1pbi1vdXQgJHtkZWxheX1tcyBpbmZpbml0ZTtgLFxuICAgICAgYmFja2dyb3VuZENvbG9yOiAnY3VycmVudENvbG9yJyxcbiAgICAgIGJvcmRlclJhZGl1czogJzFlbScsXG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIG1hcmdpbkxlZnQ6IG9mZnNldCA/ICcxZW0nIDogdW5kZWZpbmVkLFxuICAgICAgaGVpZ2h0OiAnMWVtJyxcbiAgICAgIHZlcnRpY2FsQWxpZ246ICd0b3AnLFxuICAgICAgd2lkdGg6ICcxZW0nLFxuICAgIH19XG4gIC8+XG4pO1xuXG5leHBvcnQgaW50ZXJmYWNlIExvYWRpbmdJbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgLyoqIFNldCBzaXplIG9mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */")})},wV=function(r){var u=r.innerProps,c=r.isRtl,d=r.size,m=d===void 0?4:d,h=Fu(r,vV);return dt("div",gt({},$n(ht(ht({},h),{},{innerProps:u,isRtl:c,size:m}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),u),dt(Qb,{delay:0,offset:c}),dt(Qb,{delay:160,offset:!0}),dt(Qb,{delay:320,offset:!c}))},AV=function(r,u){var c=r.isDisabled,d=r.isFocused,m=r.theme,h=m.colors,S=m.borderRadius,b=m.spacing;return ht({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:b.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},u?{}:{backgroundColor:c?h.neutral5:h.neutral0,borderColor:c?h.neutral10:d?h.primary:h.neutral20,borderRadius:S,borderStyle:"solid",borderWidth:1,boxShadow:d?"0 0 0 1px ".concat(h.primary):void 0,"&:hover":{borderColor:d?h.primary:h.neutral30}})},IV=function(r){var u=r.children,c=r.isDisabled,d=r.isFocused,m=r.innerRef,h=r.innerProps,S=r.menuIsOpen;return dt("div",gt({ref:m},$n(r,"control",{control:!0,"control--is-disabled":c,"control--is-focused":d,"control--menu-is-open":S}),h,{"aria-disabled":c||void 0}),u)},DV=IV,MV=["data"],OV=function(r,u){var c=r.theme.spacing;return u?{}:{paddingBottom:c.baseUnit*2,paddingTop:c.baseUnit*2}},kV=function(r){var u=r.children,c=r.cx,d=r.getStyles,m=r.getClassNames,h=r.Heading,S=r.headingProps,b=r.innerProps,x=r.label,T=r.theme,w=r.selectProps;return dt("div",gt({},$n(r,"group",{group:!0}),b),dt(h,gt({},S,{selectProps:w,theme:T,getStyles:d,getClassNames:m,cx:c}),x),dt("div",null,u))},LV=function(r,u){var c=r.theme,d=c.colors,m=c.spacing;return ht({label:"group",cursor:"default",display:"block"},u?{}:{color:d.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:m.baseUnit*3,paddingRight:m.baseUnit*3,textTransform:"uppercase"})},NV=function(r){var u=yw(r);u.data;var c=Fu(u,MV);return dt("div",gt({},$n(r,"groupHeading",{"group-heading":!0}),c))},PV=kV,FV=["innerRef","isDisabled","isHidden","inputClassName"],VV=function(r,u){var c=r.isDisabled,d=r.value,m=r.theme,h=m.spacing,S=m.colors;return ht(ht({visibility:c?"hidden":"visible",transform:d?"translateZ(0)":""},_V),u?{}:{margin:h.baseUnit/2,paddingBottom:h.baseUnit/2,paddingTop:h.baseUnit/2,color:S.neutral80})},Mw={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},_V={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":ht({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Mw)},BV=function(r){return ht({label:"input",color:"inherit",background:0,opacity:r?0:1,width:"100%"},Mw)},zV=function(r){var u=r.cx,c=r.value,d=yw(r),m=d.innerRef,h=d.isDisabled,S=d.isHidden,b=d.inputClassName,x=Fu(d,FV);return dt("div",gt({},$n(r,"input",{"input-container":!0}),{"data-value":c||""}),dt("input",gt({className:u({input:!0},b),ref:m,style:BV(S),disabled:h},x)))},HV=zV,GV=function(r,u){var c=r.theme,d=c.spacing,m=c.borderRadius,h=c.colors;return ht({label:"multiValue",display:"flex",minWidth:0},u?{}:{backgroundColor:h.neutral10,borderRadius:m/2,margin:d.baseUnit/2})},jV=function(r,u){var c=r.theme,d=c.borderRadius,m=c.colors,h=r.cropWithEllipsis;return ht({overflow:"hidden",textOverflow:h||h===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},u?{}:{borderRadius:d/2,color:m.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},UV=function(r,u){var c=r.theme,d=c.spacing,m=c.borderRadius,h=c.colors,S=r.isFocused;return ht({alignItems:"center",display:"flex"},u?{}:{borderRadius:m/2,backgroundColor:S?h.dangerLight:void 0,paddingLeft:d.baseUnit,paddingRight:d.baseUnit,":hover":{backgroundColor:h.dangerLight,color:h.danger}})},Ow=function(r){var u=r.children,c=r.innerProps;return dt("div",c,u)},WV=Ow,XV=Ow;function ZV(i){var r=i.children,u=i.innerProps;return dt("div",gt({role:"button"},u),r||dt(Jb,{size:14}))}var YV=function(r){var u=r.children,c=r.components,d=r.data,m=r.innerProps,h=r.isDisabled,S=r.removeProps,b=r.selectProps,x=c.Container,T=c.Label,w=c.Remove;return dt(x,{data:d,innerProps:ht(ht({},$n(r,"multiValue",{"multi-value":!0,"multi-value--is-disabled":h})),m),selectProps:b},dt(T,{data:d,innerProps:ht({},$n(r,"multiValueLabel",{"multi-value__label":!0})),selectProps:b},u),dt(w,{data:d,innerProps:ht(ht({},$n(r,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(u||"option")},S),selectProps:b}))},$V=YV,JV=function(r,u){var c=r.isDisabled,d=r.isFocused,m=r.isSelected,h=r.theme,S=h.spacing,b=h.colors;return ht({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},u?{}:{backgroundColor:m?b.primary:d?b.primary25:"transparent",color:c?b.neutral20:m?b.neutral0:"inherit",padding:"".concat(S.baseUnit*2,"px ").concat(S.baseUnit*3,"px"),":active":{backgroundColor:c?void 0:m?b.primary:b.primary50}})},QV=function(r){var u=r.children,c=r.isDisabled,d=r.isFocused,m=r.isSelected,h=r.innerRef,S=r.innerProps;return dt("div",gt({},$n(r,"option",{option:!0,"option--is-disabled":c,"option--is-focused":d,"option--is-selected":m}),{ref:h,"aria-disabled":c},S),u)},KV=QV,qV=function(r,u){var c=r.theme,d=c.spacing,m=c.colors;return ht({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},u?{}:{color:m.neutral50,marginLeft:d.baseUnit/2,marginRight:d.baseUnit/2})},e4=function(r){var u=r.children,c=r.innerProps;return dt("div",gt({},$n(r,"placeholder",{placeholder:!0}),c),u)},t4=e4,n4=function(r,u){var c=r.isDisabled,d=r.theme,m=d.spacing,h=d.colors;return ht({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},u?{}:{color:c?h.neutral40:h.neutral80,marginLeft:m.baseUnit/2,marginRight:m.baseUnit/2})},r4=function(r){var u=r.children,c=r.isDisabled,d=r.innerProps;return dt("div",gt({},$n(r,"singleValue",{"single-value":!0,"single-value--is-disabled":c}),d),u)},i4=r4,a4={ClearIndicator:SV,Control:DV,DropdownIndicator:bV,DownChevron:Iw,CrossIcon:Jb,Group:PV,GroupHeading:NV,IndicatorsContainer:pV,IndicatorSeparator:EV,Input:HV,LoadingIndicator:wV,Menu:qF,MenuList:tV,MenuPortal:uV,LoadingMessage:aV,NoOptionsMessage:iV,MultiValue:$V,MultiValueContainer:WV,MultiValueLabel:XV,MultiValueRemove:ZV,Option:KV,Placeholder:t4,SelectContainer:sV,SingleValue:i4,ValueContainer:fV},o4=function(r){return ht(ht({},a4),r.components)},kw=Number.isNaN||function(r){return typeof r=="number"&&r!==r};function u4(i,r){return!!(i===r||kw(i)&&kw(r))}function l4(i,r){if(i.length!==r.length)return!1;for(var u=0;u<i.length;u++)if(!u4(i[u],r[u]))return!1;return!0}function s4(i,r){r===void 0&&(r=l4);var u=null;function c(){for(var d=[],m=0;m<arguments.length;m++)d[m]=arguments[m];if(u&&u.lastThis===this&&r(d,u.lastArgs))return u.lastResult;var h=i.apply(this,d);return u={lastResult:h,lastArgs:d,lastThis:this},h}return c.clear=function(){u=null},c}function c4(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var f4=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:c4},d4=function(r){return dt("span",gt({css:f4},r))},Lw=d4,p4={guidance:function(r){var u=r.isSearchable,c=r.isMulti,d=r.tabSelectsValue,m=r.context,h=r.isInitialFocus;switch(m){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(d?", press Tab to select the option and exit the menu":"",".");case"input":return h?"".concat(r["aria-label"]||"Select"," is focused ").concat(u?",type to refine list":"",", press Down to open the menu, ").concat(c?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(r){var u=r.action,c=r.label,d=c===void 0?"":c,m=r.labels,h=r.isDisabled;switch(u){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(d,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(m.length>1?"s":""," ").concat(m.join(","),", selected.");case"select-option":return h?"option ".concat(d," is disabled. Select another option."):"option ".concat(d,", selected.");default:return""}},onFocus:function(r){var u=r.context,c=r.focused,d=r.options,m=r.label,h=m===void 0?"":m,S=r.selectValue,b=r.isDisabled,x=r.isSelected,T=r.isAppleDevice,w=function(V,_){return V&&V.length?"".concat(V.indexOf(_)+1," of ").concat(V.length):""};if(u==="value"&&S)return"value ".concat(h," focused, ").concat(w(S,c),".");if(u==="menu"&&T){var M=b?" disabled":"",k="".concat(x?" selected":"").concat(M);return"".concat(h).concat(k,", ").concat(w(d,c),".")}return""},onFilter:function(r){var u=r.inputValue,c=r.resultsMessage;return"".concat(c).concat(u?" for search term "+u:"",".")}},h4=function(r){var u=r.ariaSelection,c=r.focusedOption,d=r.focusedValue,m=r.focusableOptions,h=r.isFocused,S=r.selectValue,b=r.selectProps,x=r.id,T=r.isAppleDevice,w=b.ariaLiveMessages,M=b.getOptionLabel,k=b.inputValue,F=b.isMulti,V=b.isOptionDisabled,_=b.isSearchable,j=b.menuIsOpen,Z=b.options,z=b.screenReaderStatus,q=b.tabSelectsValue,H=b.isLoading,se=b["aria-label"],le=b["aria-live"],de=Y.useMemo(function(){return ht(ht({},p4),w||{})},[w]),He=Y.useMemo(function(){var Ve="";if(u&&de.onChange){var ze=u.option,Te=u.options,fe=u.removedValue,Ne=u.removedValues,xe=u.value,X=function(lt){return Array.isArray(lt)?null:lt},ie=fe||ze||X(xe),Fe=ie?M(ie):"",Ze=Te||Ne||void 0,ut=Ze?Ze.map(M):[],rt=ht({isDisabled:ie&&V(ie,S),label:Fe,labels:ut},u);Ve=de.onChange(rt)}return Ve},[u,de,V,S,M]),We=Y.useMemo(function(){var Ve="",ze=c||d,Te=!!(c&&S&&S.includes(c));if(ze&&de.onFocus){var fe={focused:ze,label:M(ze),isDisabled:V(ze,S),isSelected:Te,options:m,context:ze===c?"menu":"value",selectValue:S,isAppleDevice:T};Ve=de.onFocus(fe)}return Ve},[c,d,M,V,de,m,S,T]),nt=Y.useMemo(function(){var Ve="";if(j&&Z.length&&!H&&de.onFilter){var ze=z({count:m.length});Ve=de.onFilter({inputValue:k,resultsMessage:ze})}return Ve},[m,k,j,de,Z,z,H]),Rt=(u==null?void 0:u.action)==="initial-input-focus",Be=Y.useMemo(function(){var Ve="";if(de.guidance){var ze=d?"value":j?"menu":"input";Ve=de.guidance({"aria-label":se,context:ze,isDisabled:c&&V(c,S),isMulti:F,isSearchable:_,tabSelectsValue:q,isInitialFocus:Rt})}return Ve},[se,c,d,F,V,_,j,de,S,q,Rt]),qe=dt(Y.Fragment,null,dt("span",{id:"aria-selection"},He),dt("span",{id:"aria-focused"},We),dt("span",{id:"aria-results"},nt),dt("span",{id:"aria-guidance"},Be));return dt(Y.Fragment,null,dt(Lw,{id:x},Rt&&qe),dt(Lw,{"aria-live":le,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},h&&!Rt&&qe))},v4=h4,Kb=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],m4=new RegExp("["+Kb.map(function(i){return i.letters}).join("")+"]","g"),Nw={},qb=0;qb<Kb.length;qb++)for(var e1=Kb[qb],t1=0;t1<e1.letters.length;t1++)Nw[e1.letters[t1]]=e1.base;var Pw=function(r){return r.replace(m4,function(u){return Nw[u]})},g4=s4(Pw),Fw=function(r){return r.replace(/^\s+|\s+$/g,"")},y4=function(r){return"".concat(r.label," ").concat(r.value)},b4=function(r){return function(u,c){if(u.data.__isNew__)return!0;var d=ht({ignoreCase:!0,ignoreAccents:!0,stringify:y4,trim:!0,matchFrom:"any"},r),m=d.ignoreCase,h=d.ignoreAccents,S=d.stringify,b=d.trim,x=d.matchFrom,T=b?Fw(c):c,w=b?Fw(S(u)):S(u);return m&&(T=T.toLowerCase(),w=w.toLowerCase()),h&&(T=g4(T),w=Pw(w)),x==="start"?w.substr(0,T.length)===T:w.indexOf(T)>-1}},C4=["innerRef"];function S4(i){var r=i.innerRef,u=Fu(i,C4),c=WF(u,"onExited","in","enter","exit","appear");return dt("input",gt({ref:r},c,{css:Wb({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0pIHtcbiAgLy8gUmVtb3ZlIGFuaW1hdGlvbiBwcm9wcyBub3QgbWVhbnQgZm9yIEhUTUwgZWxlbWVudHNcbiAgY29uc3QgZmlsdGVyZWRQcm9wcyA9IHJlbW92ZVByb3BzKFxuICAgIHByb3BzLFxuICAgICdvbkV4aXRlZCcsXG4gICAgJ2luJyxcbiAgICAnZW50ZXInLFxuICAgICdleGl0JyxcbiAgICAnYXBwZWFyJ1xuICApO1xuXG4gIHJldHVybiAoXG4gICAgPGlucHV0XG4gICAgICByZWY9e2lubmVyUmVmfVxuICAgICAgey4uLmZpbHRlcmVkUHJvcHN9XG4gICAgICBjc3M9e3tcbiAgICAgICAgbGFiZWw6ICdkdW1teUlucHV0JyxcbiAgICAgICAgLy8gZ2V0IHJpZCBvZiBhbnkgZGVmYXVsdCBzdHlsZXNcbiAgICAgICAgYmFja2dyb3VuZDogMCxcbiAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHRoaXMgaGlkZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var x4=function(r){r.cancelable&&r.preventDefault(),r.stopPropagation()};function E4(i){var r=i.isEnabled,u=i.onBottomArrive,c=i.onBottomLeave,d=i.onTopArrive,m=i.onTopLeave,h=Y.useRef(!1),S=Y.useRef(!1),b=Y.useRef(0),x=Y.useRef(null),T=Y.useCallback(function(_,j){if(x.current!==null){var Z=x.current,z=Z.scrollTop,q=Z.scrollHeight,H=Z.clientHeight,se=x.current,le=j>0,de=q-H-z,He=!1;de>j&&h.current&&(c&&c(_),h.current=!1),le&&S.current&&(m&&m(_),S.current=!1),le&&j>de?(u&&!h.current&&u(_),se.scrollTop=q,He=!0,h.current=!0):!le&&-j>z&&(d&&!S.current&&d(_),se.scrollTop=0,He=!0,S.current=!0),He&&x4(_)}},[u,c,d,m]),w=Y.useCallback(function(_){T(_,_.deltaY)},[T]),M=Y.useCallback(function(_){b.current=_.changedTouches[0].clientY},[]),k=Y.useCallback(function(_){var j=b.current-_.changedTouches[0].clientY;T(_,j)},[T]),F=Y.useCallback(function(_){if(_){var j=GF?{passive:!1}:!1;_.addEventListener("wheel",w,j),_.addEventListener("touchstart",M,j),_.addEventListener("touchmove",k,j)}},[k,M,w]),V=Y.useCallback(function(_){_&&(_.removeEventListener("wheel",w,!1),_.removeEventListener("touchstart",M,!1),_.removeEventListener("touchmove",k,!1))},[k,M,w]);return Y.useEffect(function(){if(r){var _=x.current;return F(_),function(){V(_)}}},[r,F,V]),function(_){x.current=_}}var Vw=["boxSizing","height","overflow","paddingRight","position"],_w={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Bw(i){i.preventDefault()}function zw(i){i.stopPropagation()}function Hw(){var i=this.scrollTop,r=this.scrollHeight,u=i+this.offsetHeight;i===0?this.scrollTop=1:u===r&&(this.scrollTop=i-1)}function Gw(){return"ontouchstart"in window||navigator.maxTouchPoints}var jw=!!(typeof window<"u"&&window.document&&window.document.createElement),Vp=0,bf={capture:!1,passive:!1};function T4(i){var r=i.isEnabled,u=i.accountForScrollbars,c=u===void 0?!0:u,d=Y.useRef({}),m=Y.useRef(null),h=Y.useCallback(function(b){if(jw){var x=document.body,T=x&&x.style;if(c&&Vw.forEach(function(F){var V=T&&T[F];d.current[F]=V}),c&&Vp<1){var w=parseInt(d.current.paddingRight,10)||0,M=document.body?document.body.clientWidth:0,k=window.innerWidth-M+w||0;Object.keys(_w).forEach(function(F){var V=_w[F];T&&(T[F]=V)}),T&&(T.paddingRight="".concat(k,"px"))}x&&Gw()&&(x.addEventListener("touchmove",Bw,bf),b&&(b.addEventListener("touchstart",Hw,bf),b.addEventListener("touchmove",zw,bf))),Vp+=1}},[c]),S=Y.useCallback(function(b){if(jw){var x=document.body,T=x&&x.style;Vp=Math.max(Vp-1,0),c&&Vp<1&&Vw.forEach(function(w){var M=d.current[w];T&&(T[w]=M)}),x&&Gw()&&(x.removeEventListener("touchmove",Bw,bf),b&&(b.removeEventListener("touchstart",Hw,bf),b.removeEventListener("touchmove",zw,bf)))}},[c]);return Y.useEffect(function(){if(r){var b=m.current;return h(b),function(){S(b)}}},[r,h,S]),function(b){m.current=b}}function R4(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var w4=function(r){var u=r.target;return u.ownerDocument.activeElement&&u.ownerDocument.activeElement.blur()},A4=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:R4};function I4(i){var r=i.children,u=i.lockEnabled,c=i.captureEnabled,d=c===void 0?!0:c,m=i.onBottomArrive,h=i.onBottomLeave,S=i.onTopArrive,b=i.onTopLeave,x=E4({isEnabled:d,onBottomArrive:m,onBottomLeave:h,onTopArrive:S,onTopLeave:b}),T=T4({isEnabled:u}),w=function(k){x(k),T(k)};return dt(Y.Fragment,null,u&&dt("div",{onClick:w4,css:A4}),r(w))}function D4(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var M4=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:D4},O4=function(r){var u=r.name,c=r.onFocus;return dt("input",{required:!0,name:u,tabIndex:-1,"aria-hidden":"true",onFocus:c,css:M4,value:"",onChange:function(){}})},k4=O4;function n1(i){var r;return typeof window<"u"&&window.navigator!=null?i.test(((r=window.navigator.userAgentData)===null||r===void 0?void 0:r.platform)||window.navigator.platform):!1}function L4(){return n1(/^iPhone/i)}function Uw(){return n1(/^Mac/i)}function N4(){return n1(/^iPad/i)||Uw()&&navigator.maxTouchPoints>1}function P4(){return L4()||N4()}function F4(){return Uw()||P4()}var V4=function(r){return r.label},_4=function(r){return r.label},B4=function(r){return r.value},z4=function(r){return!!r.isDisabled},H4={clearIndicator:CV,container:lV,control:AV,dropdownIndicator:yV,group:OV,groupHeading:LV,indicatorsContainer:dV,indicatorSeparator:xV,input:VV,loadingIndicator:RV,loadingMessage:rV,menu:JF,menuList:eV,menuPortal:oV,multiValue:GV,multiValueLabel:jV,multiValueRemove:UV,noOptionsMessage:nV,option:JV,placeholder:qV,singleValue:n4,valueContainer:cV},G4={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},j4=4,Ww=4,U4=38,W4=Ww*2,X4={baseUnit:Ww,controlHeight:U4,menuGutter:W4},r1={borderRadius:j4,colors:G4,spacing:X4},Z4={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Sw(),captureMenuScroll:!Sw(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:b4(),formatGroupLabel:V4,getOptionLabel:_4,getOptionValue:B4,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:z4,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!zF(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(r){var u=r.count;return"".concat(u," result").concat(u!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Xw(i,r,u,c){var d=Qw(i,r,u),m=Kw(i,r,u),h=Jw(i,r),S=km(i,r);return{type:"option",data:r,isDisabled:d,isSelected:m,label:h,value:S,index:c}}function Om(i,r){return i.options.map(function(u,c){if("options"in u){var d=u.options.map(function(h,S){return Xw(i,h,r,S)}).filter(function(h){return $w(i,h)});return d.length>0?{type:"group",data:u,options:d,index:c}:void 0}var m=Xw(i,u,r,c);return $w(i,m)?m:void 0}).filter(jF)}function Zw(i){return i.reduce(function(r,u){return u.type==="group"?r.push.apply(r,Pb(u.options.map(function(c){return c.data}))):r.push(u.data),r},[])}function Yw(i,r){return i.reduce(function(u,c){return c.type==="group"?u.push.apply(u,Pb(c.options.map(function(d){return{data:d.data,id:"".concat(r,"-").concat(c.index,"-").concat(d.index)}}))):u.push({data:c.data,id:"".concat(r,"-").concat(c.index)}),u},[])}function Y4(i,r){return Zw(Om(i,r))}function $w(i,r){var u=i.inputValue,c=u===void 0?"":u,d=r.data,m=r.isSelected,h=r.label,S=r.value;return(!eA(i)||!m)&&qw(i,{label:h,value:S,data:d},c)}function $4(i,r){var u=i.focusedValue,c=i.selectValue,d=c.indexOf(u);if(d>-1){var m=r.indexOf(u);if(m>-1)return u;if(d<r.length)return r[d]}return null}function J4(i,r){var u=i.focusedOption;return u&&r.indexOf(u)>-1?u:r[0]}var i1=function(r,u){var c,d=(c=r.find(function(m){return m.data===u}))===null||c===void 0?void 0:c.id;return d||null},Jw=function(r,u){return r.getOptionLabel(u)},km=function(r,u){return r.getOptionValue(u)};function Qw(i,r,u){return typeof i.isOptionDisabled=="function"?i.isOptionDisabled(r,u):!1}function Kw(i,r,u){if(u.indexOf(r)>-1)return!0;if(typeof i.isOptionSelected=="function")return i.isOptionSelected(r,u);var c=km(i,r);return u.some(function(d){return km(i,d)===c})}function qw(i,r,u){return i.filterOption?i.filterOption(r,u):!0}var eA=function(r){var u=r.hideSelectedOptions,c=r.isMulti;return u===void 0?c:u},Q4=1,tA=function(i){sP(u,i);var r=dP(u);function u(c){var d;if(uP(this,u),d=r.call(this,c),d.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},d.blockOptionHover=!1,d.isComposing=!1,d.commonProps=void 0,d.initialTouchX=0,d.initialTouchY=0,d.openAfterFocus=!1,d.scrollToFocusedOptionOnUpdate=!1,d.userIsDragging=void 0,d.isAppleDevice=F4(),d.controlRef=null,d.getControlRef=function(b){d.controlRef=b},d.focusedOptionRef=null,d.getFocusedOptionRef=function(b){d.focusedOptionRef=b},d.menuListRef=null,d.getMenuListRef=function(b){d.menuListRef=b},d.inputRef=null,d.getInputRef=function(b){d.inputRef=b},d.focus=d.focusInput,d.blur=d.blurInput,d.onChange=function(b,x){var T=d.props,w=T.onChange,M=T.name;x.name=M,d.ariaOnChange(b,x),w(b,x)},d.setValue=function(b,x,T){var w=d.props,M=w.closeMenuOnSelect,k=w.isMulti,F=w.inputValue;d.onInputChange("",{action:"set-value",prevInputValue:F}),M&&(d.setState({inputIsHiddenAfterUpdate:!k}),d.onMenuClose()),d.setState({clearFocusValueOnUpdate:!0}),d.onChange(b,{action:x,option:T})},d.selectOption=function(b){var x=d.props,T=x.blurInputOnSelect,w=x.isMulti,M=x.name,k=d.state.selectValue,F=w&&d.isOptionSelected(b,k),V=d.isOptionDisabled(b,k);if(F){var _=d.getOptionValue(b);d.setValue(k.filter(function(j){return d.getOptionValue(j)!==_}),"deselect-option",b)}else if(!V)w?d.setValue([].concat(Pb(k),[b]),"select-option",b):d.setValue(b,"select-option");else{d.ariaOnChange(b,{action:"select-option",option:b,name:M});return}T&&d.blurInput()},d.removeValue=function(b){var x=d.props.isMulti,T=d.state.selectValue,w=d.getOptionValue(b),M=T.filter(function(F){return d.getOptionValue(F)!==w}),k=Mm(x,M,M[0]||null);d.onChange(k,{action:"remove-value",removedValue:b}),d.focusInput()},d.clearValue=function(){var b=d.state.selectValue;d.onChange(Mm(d.props.isMulti,[],null),{action:"clear",removedValues:b})},d.popValue=function(){var b=d.props.isMulti,x=d.state.selectValue,T=x[x.length-1],w=x.slice(0,x.length-1),M=Mm(b,w,w[0]||null);d.onChange(M,{action:"pop-value",removedValue:T})},d.getFocusedOptionId=function(b){return i1(d.state.focusableOptionsWithIds,b)},d.getFocusableOptionsWithIds=function(){return Yw(Om(d.props,d.state.selectValue),d.getElementId("option"))},d.getValue=function(){return d.state.selectValue},d.cx=function(){for(var b=arguments.length,x=new Array(b),T=0;T<b;T++)x[T]=arguments[T];return PF.apply(void 0,[d.props.classNamePrefix].concat(x))},d.getOptionLabel=function(b){return Jw(d.props,b)},d.getOptionValue=function(b){return km(d.props,b)},d.getStyles=function(b,x){var T=d.props.unstyled,w=H4[b](x,T);w.boxSizing="border-box";var M=d.props.styles[b];return M?M(w,x):w},d.getClassNames=function(b,x){var T,w;return(T=(w=d.props.classNames)[b])===null||T===void 0?void 0:T.call(w,x)},d.getElementId=function(b){return"".concat(d.state.instancePrefix,"-").concat(b)},d.getComponents=function(){return o4(d.props)},d.buildCategorizedOptions=function(){return Om(d.props,d.state.selectValue)},d.getCategorizedOptions=function(){return d.props.menuIsOpen?d.buildCategorizedOptions():[]},d.buildFocusableOptions=function(){return Zw(d.buildCategorizedOptions())},d.getFocusableOptions=function(){return d.props.menuIsOpen?d.buildFocusableOptions():[]},d.ariaOnChange=function(b,x){d.setState({ariaSelection:ht({value:b},x)})},d.onMenuMouseDown=function(b){b.button===0&&(b.stopPropagation(),b.preventDefault(),d.focusInput())},d.onMenuMouseMove=function(b){d.blockOptionHover=!1},d.onControlMouseDown=function(b){if(!b.defaultPrevented){var x=d.props.openMenuOnClick;d.state.isFocused?d.props.menuIsOpen?b.target.tagName!=="INPUT"&&b.target.tagName!=="TEXTAREA"&&d.onMenuClose():x&&d.openMenu("first"):(x&&(d.openAfterFocus=!0),d.focusInput()),b.target.tagName!=="INPUT"&&b.target.tagName!=="TEXTAREA"&&b.preventDefault()}},d.onDropdownIndicatorMouseDown=function(b){if(!(b&&b.type==="mousedown"&&b.button!==0)&&!d.props.isDisabled){var x=d.props,T=x.isMulti,w=x.menuIsOpen;d.focusInput(),w?(d.setState({inputIsHiddenAfterUpdate:!T}),d.onMenuClose()):d.openMenu("first"),b.preventDefault()}},d.onClearIndicatorMouseDown=function(b){b&&b.type==="mousedown"&&b.button!==0||(d.clearValue(),b.preventDefault(),d.openAfterFocus=!1,b.type==="touchend"?d.focusInput():setTimeout(function(){return d.focusInput()}))},d.onScroll=function(b){typeof d.props.closeMenuOnScroll=="boolean"?b.target instanceof HTMLElement&&wm(b.target)&&d.props.onMenuClose():typeof d.props.closeMenuOnScroll=="function"&&d.props.closeMenuOnScroll(b)&&d.props.onMenuClose()},d.onCompositionStart=function(){d.isComposing=!0},d.onCompositionEnd=function(){d.isComposing=!1},d.onTouchStart=function(b){var x=b.touches,T=x&&x.item(0);T&&(d.initialTouchX=T.clientX,d.initialTouchY=T.clientY,d.userIsDragging=!1)},d.onTouchMove=function(b){var x=b.touches,T=x&&x.item(0);if(T){var w=Math.abs(T.clientX-d.initialTouchX),M=Math.abs(T.clientY-d.initialTouchY),k=5;d.userIsDragging=w>k||M>k}},d.onTouchEnd=function(b){d.userIsDragging||(d.controlRef&&!d.controlRef.contains(b.target)&&d.menuListRef&&!d.menuListRef.contains(b.target)&&d.blurInput(),d.initialTouchX=0,d.initialTouchY=0)},d.onControlTouchEnd=function(b){d.userIsDragging||d.onControlMouseDown(b)},d.onClearIndicatorTouchEnd=function(b){d.userIsDragging||d.onClearIndicatorMouseDown(b)},d.onDropdownIndicatorTouchEnd=function(b){d.userIsDragging||d.onDropdownIndicatorMouseDown(b)},d.handleInputChange=function(b){var x=d.props.inputValue,T=b.currentTarget.value;d.setState({inputIsHiddenAfterUpdate:!1}),d.onInputChange(T,{action:"input-change",prevInputValue:x}),d.props.menuIsOpen||d.onMenuOpen()},d.onInputFocus=function(b){d.props.onFocus&&d.props.onFocus(b),d.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(d.openAfterFocus||d.props.openMenuOnFocus)&&d.openMenu("first"),d.openAfterFocus=!1},d.onInputBlur=function(b){var x=d.props.inputValue;if(d.menuListRef&&d.menuListRef.contains(document.activeElement)){d.inputRef.focus();return}d.props.onBlur&&d.props.onBlur(b),d.onInputChange("",{action:"input-blur",prevInputValue:x}),d.onMenuClose(),d.setState({focusedValue:null,isFocused:!1})},d.onOptionHover=function(b){if(!(d.blockOptionHover||d.state.focusedOption===b)){var x=d.getFocusableOptions(),T=x.indexOf(b);d.setState({focusedOption:b,focusedOptionId:T>-1?d.getFocusedOptionId(b):null})}},d.shouldHideSelectedOptions=function(){return eA(d.props)},d.onValueInputFocus=function(b){b.preventDefault(),b.stopPropagation(),d.focus()},d.onKeyDown=function(b){var x=d.props,T=x.isMulti,w=x.backspaceRemovesValue,M=x.escapeClearsValue,k=x.inputValue,F=x.isClearable,V=x.isDisabled,_=x.menuIsOpen,j=x.onKeyDown,Z=x.tabSelectsValue,z=x.openMenuOnFocus,q=d.state,H=q.focusedOption,se=q.focusedValue,le=q.selectValue;if(!V&&!(typeof j=="function"&&(j(b),b.defaultPrevented))){switch(d.blockOptionHover=!0,b.key){case"ArrowLeft":if(!T||k)return;d.focusValue("previous");break;case"ArrowRight":if(!T||k)return;d.focusValue("next");break;case"Delete":case"Backspace":if(k)return;if(se)d.removeValue(se);else{if(!w)return;T?d.popValue():F&&d.clearValue()}break;case"Tab":if(d.isComposing||b.shiftKey||!_||!Z||!H||z&&d.isOptionSelected(H,le))return;d.selectOption(H);break;case"Enter":if(b.keyCode===229)break;if(_){if(!H||d.isComposing)return;d.selectOption(H);break}return;case"Escape":_?(d.setState({inputIsHiddenAfterUpdate:!1}),d.onInputChange("",{action:"menu-close",prevInputValue:k}),d.onMenuClose()):F&&M&&d.clearValue();break;case" ":if(k)return;if(!_){d.openMenu("first");break}if(!H)return;d.selectOption(H);break;case"ArrowUp":_?d.focusOption("up"):d.openMenu("last");break;case"ArrowDown":_?d.focusOption("down"):d.openMenu("first");break;case"PageUp":if(!_)return;d.focusOption("pageup");break;case"PageDown":if(!_)return;d.focusOption("pagedown");break;case"Home":if(!_)return;d.focusOption("first");break;case"End":if(!_)return;d.focusOption("last");break;default:return}b.preventDefault()}},d.state.instancePrefix="react-select-"+(d.props.instanceId||++Q4),d.state.selectValue=gw(c.value),c.menuIsOpen&&d.state.selectValue.length){var m=d.getFocusableOptionsWithIds(),h=d.buildFocusableOptions(),S=h.indexOf(d.state.selectValue[0]);d.state.focusableOptionsWithIds=m,d.state.focusedOption=h[S],d.state.focusedOptionId=i1(m,h[S])}return d}return lP(u,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Cw(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(d){var m=this.props,h=m.isDisabled,S=m.menuIsOpen,b=this.state.isFocused;(b&&!h&&d.isDisabled||b&&S&&!d.menuIsOpen)&&this.focusInput(),b&&h&&!d.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!b&&!h&&d.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Cw(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(d,m){this.props.onInputChange(d,m)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(d){var m=this,h=this.state,S=h.selectValue,b=h.isFocused,x=this.buildFocusableOptions(),T=d==="first"?0:x.length-1;if(!this.props.isMulti){var w=x.indexOf(S[0]);w>-1&&(T=w)}this.scrollToFocusedOptionOnUpdate=!(b&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:x[T],focusedOptionId:this.getFocusedOptionId(x[T])},function(){return m.onMenuOpen()})}},{key:"focusValue",value:function(d){var m=this.state,h=m.selectValue,S=m.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var b=h.indexOf(S);S||(b=-1);var x=h.length-1,T=-1;if(h.length){switch(d){case"previous":b===0?T=0:b===-1?T=x:T=b-1;break;case"next":b>-1&&b<x&&(T=b+1);break}this.setState({inputIsHidden:T!==-1,focusedValue:h[T]})}}}},{key:"focusOption",value:function(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",m=this.props.pageSize,h=this.state.focusedOption,S=this.getFocusableOptions();if(S.length){var b=0,x=S.indexOf(h);h||(x=-1),d==="up"?b=x>0?x-1:S.length-1:d==="down"?b=(x+1)%S.length:d==="pageup"?(b=x-m,b<0&&(b=0)):d==="pagedown"?(b=x+m,b>S.length-1&&(b=S.length-1)):d==="last"&&(b=S.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:S[b],focusedValue:null,focusedOptionId:this.getFocusedOptionId(S[b])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(r1):ht(ht({},r1),this.props.theme):r1}},{key:"getCommonProps",value:function(){var d=this.clearValue,m=this.cx,h=this.getStyles,S=this.getClassNames,b=this.getValue,x=this.selectOption,T=this.setValue,w=this.props,M=w.isMulti,k=w.isRtl,F=w.options,V=this.hasValue();return{clearValue:d,cx:m,getStyles:h,getClassNames:S,getValue:b,hasValue:V,isMulti:M,isRtl:k,options:F,selectOption:x,selectProps:w,setValue:T,theme:this.getTheme()}}},{key:"hasValue",value:function(){var d=this.state.selectValue;return d.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var d=this.props,m=d.isClearable,h=d.isMulti;return m===void 0?h:m}},{key:"isOptionDisabled",value:function(d,m){return Qw(this.props,d,m)}},{key:"isOptionSelected",value:function(d,m){return Kw(this.props,d,m)}},{key:"filterOption",value:function(d,m){return qw(this.props,d,m)}},{key:"formatOptionLabel",value:function(d,m){if(typeof this.props.formatOptionLabel=="function"){var h=this.props.inputValue,S=this.state.selectValue;return this.props.formatOptionLabel(d,{context:m,inputValue:h,selectValue:S})}else return this.getOptionLabel(d)}},{key:"formatGroupLabel",value:function(d){return this.props.formatGroupLabel(d)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var d=this.props,m=d.isDisabled,h=d.isSearchable,S=d.inputId,b=d.inputValue,x=d.tabIndex,T=d.form,w=d.menuIsOpen,M=d.required,k=this.getComponents(),F=k.Input,V=this.state,_=V.inputIsHidden,j=V.ariaSelection,Z=this.commonProps,z=S||this.getElementId("input"),q=ht(ht(ht({"aria-autocomplete":"list","aria-expanded":w,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":M,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},w&&{"aria-controls":this.getElementId("listbox")}),!h&&{"aria-readonly":!0}),this.hasValue()?(j==null?void 0:j.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return h?Y.createElement(F,gt({},Z,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:z,innerRef:this.getInputRef,isDisabled:m,isHidden:_,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:x,form:T,type:"text",value:b},q)):Y.createElement(S4,gt({id:z,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Rm,onFocus:this.onInputFocus,disabled:m,tabIndex:x,inputMode:"none",form:T,value:""},q))}},{key:"renderPlaceholderOrValue",value:function(){var d=this,m=this.getComponents(),h=m.MultiValue,S=m.MultiValueContainer,b=m.MultiValueLabel,x=m.MultiValueRemove,T=m.SingleValue,w=m.Placeholder,M=this.commonProps,k=this.props,F=k.controlShouldRenderValue,V=k.isDisabled,_=k.isMulti,j=k.inputValue,Z=k.placeholder,z=this.state,q=z.selectValue,H=z.focusedValue,se=z.isFocused;if(!this.hasValue()||!F)return j?null:Y.createElement(w,gt({},M,{key:"placeholder",isDisabled:V,isFocused:se,innerProps:{id:this.getElementId("placeholder")}}),Z);if(_)return q.map(function(de,He){var We=de===H,nt="".concat(d.getOptionLabel(de),"-").concat(d.getOptionValue(de));return Y.createElement(h,gt({},M,{components:{Container:S,Label:b,Remove:x},isFocused:We,isDisabled:V,key:nt,index:He,removeProps:{onClick:function(){return d.removeValue(de)},onTouchEnd:function(){return d.removeValue(de)},onMouseDown:function(Be){Be.preventDefault()}},data:de}),d.formatOptionLabel(de,"value"))});if(j)return null;var le=q[0];return Y.createElement(T,gt({},M,{data:le,isDisabled:V}),this.formatOptionLabel(le,"value"))}},{key:"renderClearIndicator",value:function(){var d=this.getComponents(),m=d.ClearIndicator,h=this.commonProps,S=this.props,b=S.isDisabled,x=S.isLoading,T=this.state.isFocused;if(!this.isClearable()||!m||b||!this.hasValue()||x)return null;var w={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return Y.createElement(m,gt({},h,{innerProps:w,isFocused:T}))}},{key:"renderLoadingIndicator",value:function(){var d=this.getComponents(),m=d.LoadingIndicator,h=this.commonProps,S=this.props,b=S.isDisabled,x=S.isLoading,T=this.state.isFocused;if(!m||!x)return null;var w={"aria-hidden":"true"};return Y.createElement(m,gt({},h,{innerProps:w,isDisabled:b,isFocused:T}))}},{key:"renderIndicatorSeparator",value:function(){var d=this.getComponents(),m=d.DropdownIndicator,h=d.IndicatorSeparator;if(!m||!h)return null;var S=this.commonProps,b=this.props.isDisabled,x=this.state.isFocused;return Y.createElement(h,gt({},S,{isDisabled:b,isFocused:x}))}},{key:"renderDropdownIndicator",value:function(){var d=this.getComponents(),m=d.DropdownIndicator;if(!m)return null;var h=this.commonProps,S=this.props.isDisabled,b=this.state.isFocused,x={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return Y.createElement(m,gt({},h,{innerProps:x,isDisabled:S,isFocused:b}))}},{key:"renderMenu",value:function(){var d=this,m=this.getComponents(),h=m.Group,S=m.GroupHeading,b=m.Menu,x=m.MenuList,T=m.MenuPortal,w=m.LoadingMessage,M=m.NoOptionsMessage,k=m.Option,F=this.commonProps,V=this.state.focusedOption,_=this.props,j=_.captureMenuScroll,Z=_.inputValue,z=_.isLoading,q=_.loadingMessage,H=_.minMenuHeight,se=_.maxMenuHeight,le=_.menuIsOpen,de=_.menuPlacement,He=_.menuPosition,We=_.menuPortalTarget,nt=_.menuShouldBlockScroll,Rt=_.menuShouldScrollIntoView,Be=_.noOptionsMessage,qe=_.onMenuScrollToTop,Ve=_.onMenuScrollToBottom;if(!le)return null;var ze=function(Fe,Ze){var ut=Fe.type,rt=Fe.data,Ct=Fe.isDisabled,lt=Fe.isSelected,St=Fe.label,Jt=Fe.value,Gn=V===rt,Oe=Ct?void 0:function(){return d.onOptionHover(rt)},on=Ct?void 0:function(){return d.selectOption(rt)},yn="".concat(d.getElementId("option"),"-").concat(Ze),wn={id:yn,onClick:on,onMouseMove:Oe,onMouseOver:Oe,tabIndex:-1,role:"option","aria-selected":d.isAppleDevice?void 0:lt};return Y.createElement(k,gt({},F,{innerProps:wn,data:rt,isDisabled:Ct,isSelected:lt,key:yn,label:St,type:ut,value:Jt,isFocused:Gn,innerRef:Gn?d.getFocusedOptionRef:void 0}),d.formatOptionLabel(Fe.data,"menu"))},Te;if(this.hasOptions())Te=this.getCategorizedOptions().map(function(ie){if(ie.type==="group"){var Fe=ie.data,Ze=ie.options,ut=ie.index,rt="".concat(d.getElementId("group"),"-").concat(ut),Ct="".concat(rt,"-heading");return Y.createElement(h,gt({},F,{key:rt,data:Fe,options:Ze,Heading:S,headingProps:{id:Ct,data:ie.data},label:d.formatGroupLabel(ie.data)}),ie.options.map(function(lt){return ze(lt,"".concat(ut,"-").concat(lt.index))}))}else if(ie.type==="option")return ze(ie,"".concat(ie.index))});else if(z){var fe=q({inputValue:Z});if(fe===null)return null;Te=Y.createElement(w,F,fe)}else{var Ne=Be({inputValue:Z});if(Ne===null)return null;Te=Y.createElement(M,F,Ne)}var xe={minMenuHeight:H,maxMenuHeight:se,menuPlacement:de,menuPosition:He,menuShouldScrollIntoView:Rt},X=Y.createElement(QF,gt({},F,xe),function(ie){var Fe=ie.ref,Ze=ie.placerProps,ut=Ze.placement,rt=Ze.maxHeight;return Y.createElement(b,gt({},F,xe,{innerRef:Fe,innerProps:{onMouseDown:d.onMenuMouseDown,onMouseMove:d.onMenuMouseMove},isLoading:z,placement:ut}),Y.createElement(I4,{captureEnabled:j,onTopArrive:qe,onBottomArrive:Ve,lockEnabled:nt},function(Ct){return Y.createElement(x,gt({},F,{innerRef:function(St){d.getMenuListRef(St),Ct(St)},innerProps:{role:"listbox","aria-multiselectable":F.isMulti,id:d.getElementId("listbox")},isLoading:z,maxHeight:rt,focusedOption:V}),Te)}))});return We||He==="fixed"?Y.createElement(T,gt({},F,{appendTo:We,controlElement:this.controlRef,menuPlacement:de,menuPosition:He}),X):X}},{key:"renderFormField",value:function(){var d=this,m=this.props,h=m.delimiter,S=m.isDisabled,b=m.isMulti,x=m.name,T=m.required,w=this.state.selectValue;if(T&&!this.hasValue()&&!S)return Y.createElement(k4,{name:x,onFocus:this.onValueInputFocus});if(!(!x||S))if(b)if(h){var M=w.map(function(V){return d.getOptionValue(V)}).join(h);return Y.createElement("input",{name:x,type:"hidden",value:M})}else{var k=w.length>0?w.map(function(V,_){return Y.createElement("input",{key:"i-".concat(_),name:x,type:"hidden",value:d.getOptionValue(V)})}):Y.createElement("input",{name:x,type:"hidden",value:""});return Y.createElement("div",null,k)}else{var F=w[0]?this.getOptionValue(w[0]):"";return Y.createElement("input",{name:x,type:"hidden",value:F})}}},{key:"renderLiveRegion",value:function(){var d=this.commonProps,m=this.state,h=m.ariaSelection,S=m.focusedOption,b=m.focusedValue,x=m.isFocused,T=m.selectValue,w=this.getFocusableOptions();return Y.createElement(v4,gt({},d,{id:this.getElementId("live-region"),ariaSelection:h,focusedOption:S,focusedValue:b,isFocused:x,selectValue:T,focusableOptions:w,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var d=this.getComponents(),m=d.Control,h=d.IndicatorsContainer,S=d.SelectContainer,b=d.ValueContainer,x=this.props,T=x.className,w=x.id,M=x.isDisabled,k=x.menuIsOpen,F=this.state.isFocused,V=this.commonProps=this.getCommonProps();return Y.createElement(S,gt({},V,{className:T,innerProps:{id:w,onKeyDown:this.onKeyDown},isDisabled:M,isFocused:F}),this.renderLiveRegion(),Y.createElement(m,gt({},V,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:M,isFocused:F,menuIsOpen:k}),Y.createElement(b,gt({},V,{isDisabled:M}),this.renderPlaceholderOrValue(),this.renderInput()),Y.createElement(h,gt({},V,{isDisabled:M}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(d,m){var h=m.prevProps,S=m.clearFocusValueOnUpdate,b=m.inputIsHiddenAfterUpdate,x=m.ariaSelection,T=m.isFocused,w=m.prevWasFocused,M=m.instancePrefix,k=d.options,F=d.value,V=d.menuIsOpen,_=d.inputValue,j=d.isMulti,Z=gw(F),z={};if(h&&(F!==h.value||k!==h.options||V!==h.menuIsOpen||_!==h.inputValue)){var q=V?Y4(d,Z):[],H=V?Yw(Om(d,Z),"".concat(M,"-option")):[],se=S?$4(m,Z):null,le=J4(m,q),de=i1(H,le);z={selectValue:Z,focusedOption:le,focusedOptionId:de,focusableOptionsWithIds:H,focusedValue:se,clearFocusValueOnUpdate:!1}}var He=b!=null&&d!==h?{inputIsHidden:b,inputIsHiddenAfterUpdate:void 0}:{},We=x,nt=T&&w;return T&&!nt&&(We={value:Mm(j,Z,Z[0]||null),options:Z,action:"initial-input-focus"},nt=!w),(x==null?void 0:x.action)==="initial-input-focus"&&(We=null),ht(ht(ht({},z),He),{},{prevProps:d,ariaSelection:We,prevWasFocused:nt})}}]),u}(Y.Component);tA.defaultProps=Z4;var K4=Y.forwardRef(function(i,r){var u=oP(i);return Y.createElement(tA,gt({ref:r},u))}),q4=K4;const Cf=i=>{const{children:r,sx:u,...c}=i;return Ee.jsx("div",{className:oo.form,style:u,...c,children:r})},e3=Cf,t3={menuPortal:i=>({...i,zIndex:"9999999999 !important"}),control:(i,r)=>({...i,background:r.isDisabled?"#e9ecef !important":"#fff!important",minHeight:"26px!important",boxShadow:r.isFocused?"0 0 0 2px rgba(0 125 250 / 30%)":null,borderColor:r.isFocused?"#0071e3":"#D6DBDF!important",fontSize:"12px!important",padding:"0px 0px 0px 6px!important",color:"#3f4254!important",borderRadius:"0px !important"}),valueContainer:i=>({...i,height:"26px!important",padding:"0 6px 0 2px!important"}),input:i=>({...i,margin:"0px!important",fontSize:"12px!important",color:"#3f4254"}),placeholder:i=>({...i,margin:"0px!important",fontSize:"12px!important",color:"#aeaeae !important"}),indicatorsContainer:i=>({...i,height:"26px!important"}),option:(i,r)=>({...i,backgroundColor:r.isSelected?"#50c6d0":r.isFocused?"#e6e7ea":null,color:r.isSelected?"#ffffff":(r.isFocused,"#3f4254"),fontSize:"12px!important",padding:"6px 12px 5px 12px!important",fontWeight:"400",fontFamily:"Poppins, Helvetica, 'sans-serif'",borderRadius:"2px !important"}),noOptionsMessage:i=>({...i,fontSize:"12px!important",padding:"5px 8px!important",color:"#3f4254!important"}),menu:i=>({...i,padding:"1px 4px",zIndex:"99999999",position:"absolute",borderRadius:"0px !important"})},n3=i=>{const{children:r,sx:u,...c}=i;return Ee.jsx("div",{className:oo["form-group"],style:u,...c,children:r})},r3=i=>{const{children:r,sx:u,...c}=i,d=Y.Children.toArray(r).filter(b=>b.type.displayName==="biznext-ui-input-label"),m=Y.Children.toArray(r).filter(b=>b.type.displayName==="biznext-ui-input-control"),h=Y.Children.toArray(r).filter(b=>b.type.displayName==="biznext-ui-input-error-message"),S=h[0]&&h[0].props.children&&h[0].props.children.length>0;return Ee.jsxs("div",{className:of(oo["form-input-group"],S&&oo["validation-error"]),style:u,...c,children:[d,Ee.jsxs("div",{className:oo["form-input-control-group"],children:[m,Ee.jsx("span",{className:oo["form-input-group-error-text"],children:h})]})]})},nA=i=>{const{required:r=!1,children:u,sx:c,...d}=i;return Ee.jsx("label",{className:of(oo["form-input-group-label"],r&&oo.required),style:c,...d,children:u})},rA=Y.forwardRef((i,r)=>{const{controlType:u,focus:c,onFocus:d,sx:m,placeholder:h="",isSearchable:S=!0,isClearable:b=!0,...x}=i;let T=Ee.jsx(Ee.Fragment,{});const w=Y.useRef(null);switch(Y.useEffect(()=>{w.current&&w.current.focus()},[c]),Y.useEffect(()=>{w.current&&w.current.focus()},[d]),u){case"input":T=Ee.jsx("input",{className:oo["form-input-control"],placeholder:h,ref:c?w:r,style:m,...x});break;case"select":T=Ee.jsx(q4,{styles:t3,className:oo["form-select-control"],classNamePrefix:"biznext-ui-",menuPortalTarget:document.body,menuPosition:"absolute",menuShouldScrollIntoView:!1,ref:c?w:r,placeholder:h?`Select ${h}`:"Select...",isSearchable:S,isClearable:b,noOptionsMessage:()=>"No Results Found!",...x});break;case"textarea":T=Ee.jsx("textarea",{className:oo["form-input-control"],placeholder:h,style:m,ref:c?w:r,...x});break;default:T=Ee.jsx(Ee.Fragment,{});break}return T}),iA=i=>{const{children:r}=i;return r};nA.displayName="biznext-ui-input-label",rA.displayName="biznext-ui-input-control",iA.displayName="biznext-ui-input-error-message",Cf.Group=n3,Cf.InputGroup=r3,Cf.Label=nA,Cf.Control=rA,Cf.ErrorMessage=iA,_o.BiznextUIProvider=jN,_o.Form=e3,_o.Modal=ZN,_o.useConfirmDialog=qN,_o.useToast=Px,Object.defineProperty(_o,Symbol.toStringTag,{value:"Module"})});
32
+ `]))),hg=function(t,n){var i=t.isFocused,r=t.size,s=t.theme,o=s.colors,u=s.spacing.baseUnit;return w({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},n?{}:{color:i?o.neutral60:o.neutral20,padding:u*2})},sr=function(t){var n=t.delay,i=t.offset;return V("span",{css:qi({animation:"".concat(fg," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:i?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3InLFxuICAgICAgbGluZUhlaWdodDogMSxcbiAgICAgIHN0cm9rZTogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBzdHJva2VXaWR0aDogMCxcbiAgICB9fVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG5cbmV4cG9ydCB0eXBlIENyb3NzSWNvblByb3BzID0gSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZT86IG51bWJlciB9O1xuZXhwb3J0IGNvbnN0IENyb3NzSWNvbiA9IChwcm9wczogQ3Jvc3NJY29uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTE0LjM0OCAxNC44NDljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDBsLTIuNjUxLTMuMDMwLTIuNjUxIDMuMDI5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI5IDAtMS42OTdsMi43NTgtMy4xNS0yLjc1OS0zLjE1MmMtMC40NjktMC40NjktMC40NjktMS4yMjggMC0xLjY5N3MxLjIyOC0wLjQ2OSAxLjY5NyAwbDIuNjUyIDMuMDMxIDIuNjUxLTMuMDMxYzAuNDY5LTAuNDY5IDEuMjI4LTAuNDY5IDEuNjk3IDBzMC40NjkgMS4yMjkgMCAxLjY5N2wtMi43NTggMy4xNTIgMi43NTggMy4xNWMwLjQ2OSAwLjQ2OSAwLjQ2OSAxLjIyOSAwIDEuNjk4elwiIC8+XG4gIDwvU3ZnPlxuKTtcbmV4cG9ydCB0eXBlIERvd25DaGV2cm9uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgRG93bkNoZXZyb24gPSAocHJvcHM6IERvd25DaGV2cm9uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTQuNTE2IDcuNTQ4YzAuNDM2LTAuNDQ2IDEuMDQzLTAuNDgxIDEuNTc2IDBsMy45MDggMy43NDcgMy45MDgtMy43NDdjMC41MzMtMC40ODEgMS4xNDEtMC40NDYgMS41NzQgMCAwLjQzNiAwLjQ0NSAwLjQwOCAxLjE5NyAwIDEuNjE1LTAuNDA2IDAuNDE4LTQuNjk1IDQuNTAyLTQuNjk1IDQuNTAyLTAuMjE3IDAuMjIzLTAuNTAyIDAuMzM1LTAuNzg3IDAuMzM1cy0wLjU3LTAuMTEyLTAuNzg5LTAuMzM1YzAgMC00LjI4Ny00LjA4NC00LjY5NS00LjUwMnMtMC40MzYtMS4xNyAwLTEuNjE1elwiIC8+XG4gIDwvU3ZnPlxuKTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEJ1dHRvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xufVxuXG5jb25zdCBiYXNlQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTpcbiAgICB8IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbiAgICB8IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JDb250YWluZXInLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICAgICc6aG92ZXInOiB7XG4gICAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsODAgOiBjb2xvcnMubmV1dHJhbDQwLFxuICAgICAgICB9LFxuICAgICAgfSksXG59KTtcblxuZXhwb3J0IGNvbnN0IGRyb3Bkb3duSW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBEcm9wZG93bkluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2Ryb3Bkb3duSW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGludGVyZmFjZSBDbGVhckluZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFRoZSBjaGlsZHJlbiB0byBiZSByZW5kZXJlZCBpbnNpZGUgdGhlIGluZGljYXRvci4gKi9cbiAgY2hpbGRyZW4/OiBSZWFjdE5vZGU7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2NsZWFySW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdjbGVhci1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPENyb3NzSWNvbiAvPn1cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gU2VwYXJhdG9yXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuZXhwb3J0IGludGVyZmFjZSBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaW5uZXJQcm9wcz86IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3BhbiddO1xufVxuXG5leHBvcnQgY29uc3QgaW5kaWNhdG9yU2VwYXJhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNEaXNhYmxlZCxcbiAgICB0aGVtZToge1xuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgICAgY29sb3JzLFxuICAgIH0sXG4gIH06IEluZGljYXRvclNlcGFyYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+LFxuICB1bnN0eWxlZDogYm9vbGVhblxuKTogQ1NTT2JqZWN0V2l0aExhYmVsID0+ICh7XG4gIGxhYmVsOiAnaW5kaWNhdG9yU2VwYXJhdG9yJyxcbiAgYWxpZ25TZWxmOiAnc3RyZXRjaCcsXG4gIHdpZHRoOiAxLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGJhY2tncm91bmRDb2xvcjogaXNEaXNhYmxlZCA/IGNvbG9ycy5uZXV0cmFsMTAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBtYXJnaW5Cb3R0b206IGJhc2VVbml0ICogMixcbiAgICAgICAgbWFyZ2luVG9wOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgSW5kaWNhdG9yU2VwYXJhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxzcGFuXG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnaW5kaWNhdG9yU2VwYXJhdG9yJywge1xuICAgICAgICAnaW5kaWNhdG9yLXNlcGFyYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAvPlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBMb2FkaW5nXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgbG9hZGluZ0RvdEFuaW1hdGlvbnMgPSBrZXlmcmFtZXNgXG4gIDAlLCA4MCUsIDEwMCUgeyBvcGFjaXR5OiAwOyB9XG4gIDQwJSB7IG9wYWNpdHk6IDE7IH1cbmA7XG5cbmV4cG9ydCBjb25zdCBsb2FkaW5nSW5kaWNhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHNpemUsXG4gICAgdGhlbWU6IHtcbiAgICAgIGNvbG9ycyxcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICB9LFxuICB9OiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICB0cmFuc2l0aW9uOiAnY29sb3IgMTUwbXMnLFxuICBhbGlnblNlbGY6ICdjZW50ZXInLFxuICBmb250U2l6ZTogc2l6ZSxcbiAgbGluZUhlaWdodDogMSxcbiAgbWFyZ2luUmlnaHQ6IHNpemUsXG4gIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gIHZlcnRpY2FsQWxpZ246ICdtaWRkbGUnLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDYwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgICAgICAgcGFkZGluZzogYmFzZVVuaXQgKiAyLFxuICAgICAgfSksXG59KTtcblxuaW50ZXJmYWNlIExvYWRpbmdEb3RQcm9wcyB7XG4gIGRlbGF5OiBudW1iZXI7XG4gIG9mZnNldDogYm9vbGVhbjtcbn1cbmNvbnN0IExvYWRpbmdEb3QgPSAoeyBkZWxheSwgb2Zmc2V0IH06IExvYWRpbmdEb3RQcm9wcykgPT4gKFxuICA8c3BhblxuICAgIGNzcz17e1xuICAgICAgYW5pbWF0aW9uOiBgJHtsb2FkaW5nRG90QW5pbWF0aW9uc30gMXMgZWFzZS1pbi1vdXQgJHtkZWxheX1tcyBpbmZpbml0ZTtgLFxuICAgICAgYmFja2dyb3VuZENvbG9yOiAnY3VycmVudENvbG9yJyxcbiAgICAgIGJvcmRlclJhZGl1czogJzFlbScsXG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIG1hcmdpbkxlZnQ6IG9mZnNldCA/ICcxZW0nIDogdW5kZWZpbmVkLFxuICAgICAgaGVpZ2h0OiAnMWVtJyxcbiAgICAgIHZlcnRpY2FsQWxpZ246ICd0b3AnLFxuICAgICAgd2lkdGg6ICcxZW0nLFxuICAgIH19XG4gIC8+XG4pO1xuXG5leHBvcnQgaW50ZXJmYWNlIExvYWRpbmdJbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgLyoqIFNldCBzaXplIG9mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */")})},pg=function(t){var n=t.innerProps,i=t.isRtl,r=t.size,s=r===void 0?4:r,o=Le(t,ig);return V("div",B({},z(w(w({},o),{},{innerProps:n,isRtl:i,size:s}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),V(sr,{delay:0,offset:i}),V(sr,{delay:160,offset:!0}),V(sr,{delay:320,offset:!i}))},mg=function(t,n){var i=t.isDisabled,r=t.isFocused,s=t.theme,o=s.colors,u=s.borderRadius,a=s.spacing;return w({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:i?o.neutral5:o.neutral0,borderColor:i?o.neutral10:r?o.primary:o.neutral20,borderRadius:u,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:r?o.primary:o.neutral30}})},gg=function(t){var n=t.children,i=t.isDisabled,r=t.isFocused,s=t.innerRef,o=t.innerProps,u=t.menuIsOpen;return V("div",B({ref:s},z(t,"control",{control:!0,"control--is-disabled":i,"control--is-focused":r,"control--menu-is-open":u}),o,{"aria-disabled":i||void 0}),n)},bg=gg,vg=["data"],yg=function(t,n){var i=t.theme.spacing;return n?{}:{paddingBottom:i.baseUnit*2,paddingTop:i.baseUnit*2}},Cg=function(t){var n=t.children,i=t.cx,r=t.getStyles,s=t.getClassNames,o=t.Heading,u=t.headingProps,a=t.innerProps,l=t.label,c=t.theme,d=t.selectProps;return V("div",B({},z(t,"group",{group:!0}),a),V(o,B({},u,{selectProps:d,theme:c,getStyles:r,getClassNames:s,cx:i}),l),V("div",null,n))},Ig=function(t,n){var i=t.theme,r=i.colors,s=i.spacing;return w({label:"group",cursor:"default",display:"block"},n?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:s.baseUnit*3,paddingRight:s.baseUnit*3,textTransform:"uppercase"})},xg=function(t){var n=Ja(t);n.data;var i=Le(n,vg);return V("div",B({},z(t,"groupHeading",{"group-heading":!0}),i))},Ag=Cg,Sg=["innerRef","isDisabled","isHidden","inputClassName"],Eg=function(t,n){var i=t.isDisabled,r=t.value,s=t.theme,o=s.spacing,u=s.colors;return w(w({visibility:i?"hidden":"visible",transform:r?"translateZ(0)":""},Tg),n?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:u.neutral80})},su={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Tg={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":w({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},su)},Pg=function(t){return w({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},su)},Vg=function(t){var n=t.cx,i=t.value,r=Ja(t),s=r.innerRef,o=r.isDisabled,u=r.isHidden,a=r.inputClassName,l=Le(r,Sg);return V("div",B({},z(t,"input",{"input-container":!0}),{"data-value":i||""}),V("input",B({className:n({input:!0},a),ref:s,style:Pg(u),disabled:o},l)))},wg=Vg,Fg=function(t,n){var i=t.theme,r=i.spacing,s=i.borderRadius,o=i.colors;return w({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:o.neutral10,borderRadius:s/2,margin:r.baseUnit/2})},Bg=function(t,n){var i=t.theme,r=i.borderRadius,s=i.colors,o=t.cropWithEllipsis;return w({overflow:"hidden",textOverflow:o||o===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:r/2,color:s.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},Gg=function(t,n){var i=t.theme,r=i.spacing,s=i.borderRadius,o=i.colors,u=t.isFocused;return w({alignItems:"center",display:"flex"},n?{}:{borderRadius:s/2,backgroundColor:u?o.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},ou=function(t){var n=t.children,i=t.innerProps;return V("div",i,n)},Mg=ou,Dg=ou;function Ng(e){var t=e.children,n=e.innerProps;return V("div",B({role:"button"},n),t||V(rr,{size:14}))}var Lg=function(t){var n=t.children,i=t.components,r=t.data,s=t.innerProps,o=t.isDisabled,u=t.removeProps,a=t.selectProps,l=i.Container,c=i.Label,d=i.Remove;return V(l,{data:r,innerProps:w(w({},z(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),s),selectProps:a},V(c,{data:r,innerProps:w({},z(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},n),V(d,{data:r,innerProps:w(w({},z(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},u),selectProps:a}))},Wg=Lg,Rg=function(t,n){var i=t.isDisabled,r=t.isFocused,s=t.isSelected,o=t.theme,u=o.spacing,a=o.colors;return w({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:s?a.primary:r?a.primary25:"transparent",color:i?a.neutral20:s?a.neutral0:"inherit",padding:"".concat(u.baseUnit*2,"px ").concat(u.baseUnit*3,"px"),":active":{backgroundColor:i?void 0:s?a.primary:a.primary50}})},Og=function(t){var n=t.children,i=t.isDisabled,r=t.isFocused,s=t.isSelected,o=t.innerRef,u=t.innerProps;return V("div",B({},z(t,"option",{option:!0,"option--is-disabled":i,"option--is-focused":r,"option--is-selected":s}),{ref:o,"aria-disabled":i},u),n)},Xg=Og,Zg=function(t,n){var i=t.theme,r=i.spacing,s=i.colors;return w({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:s.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},Hg=function(t){var n=t.children,i=t.innerProps;return V("div",B({},z(t,"placeholder",{placeholder:!0}),i),n)},kg=Hg,zg=function(t,n){var i=t.isDisabled,r=t.theme,s=r.spacing,o=r.colors;return w({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:i?o.neutral40:o.neutral80,marginLeft:s.baseUnit/2,marginRight:s.baseUnit/2})},jg=function(t){var n=t.children,i=t.isDisabled,r=t.innerProps;return V("div",B({},z(t,"singleValue",{"single-value":!0,"single-value--is-disabled":i}),r),n)},Yg=jg,Jg={ClearIndicator:lg,Control:bg,DropdownIndicator:ag,DownChevron:iu,CrossIcon:rr,Group:Ag,GroupHeading:xg,IndicatorsContainer:tg,IndicatorSeparator:dg,Input:wg,LoadingIndicator:pg,Menu:Zm,MenuList:km,MenuPortal:_m,LoadingMessage:Jm,NoOptionsMessage:Ym,MultiValue:Wg,MultiValueContainer:Mg,MultiValueLabel:Dg,MultiValueRemove:Ng,Option:Xg,Placeholder:kg,SelectContainer:$m,SingleValue:Yg,ValueContainer:qm},Ug=function(t){return w(w({},Jg),t.components)},au=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function _g(e,t){return!!(e===t||au(e)&&au(t))}function Qg(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!_g(e[n],t[n]))return!1;return!0}function $g(e,t){t===void 0&&(t=Qg);var n=null;function i(){for(var r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var o=e.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return i.clear=function(){n=null},i}function Kg(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var qg=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:Kg},e0=function(t){return V("span",B({css:qg},t))},uu=e0,t0={guidance:function(t){var n=t.isSearchable,i=t.isMulti,r=t.tabSelectsValue,s=t.context,o=t.isInitialFocus;switch(s){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(i?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var n=t.action,i=t.label,r=i===void 0?"":i,s=t.labels,o=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(s.length>1?"s":""," ").concat(s.join(","),", selected.");case"select-option":return o?"option ".concat(r," is disabled. Select another option."):"option ".concat(r,", selected.");default:return""}},onFocus:function(t){var n=t.context,i=t.focused,r=t.options,s=t.label,o=s===void 0?"":s,u=t.selectValue,a=t.isDisabled,l=t.isSelected,c=t.isAppleDevice,d=function(p,g){return p&&p.length?"".concat(p.indexOf(g)+1," of ").concat(p.length):""};if(n==="value"&&u)return"value ".concat(o," focused, ").concat(d(u,i),".");if(n==="menu"&&c){var f=a?" disabled":"",h="".concat(l?" selected":"").concat(f);return"".concat(o).concat(h,", ").concat(d(r,i),".")}return""},onFilter:function(t){var n=t.inputValue,i=t.resultsMessage;return"".concat(i).concat(n?" for search term "+n:"",".")}},n0=function(t){var n=t.ariaSelection,i=t.focusedOption,r=t.focusedValue,s=t.focusableOptions,o=t.isFocused,u=t.selectValue,a=t.selectProps,l=t.id,c=t.isAppleDevice,d=a.ariaLiveMessages,f=a.getOptionLabel,h=a.inputValue,m=a.isMulti,p=a.isOptionDisabled,g=a.isSearchable,b=a.menuIsOpen,I=a.options,v=a.screenReaderStatus,x=a.tabSelectsValue,y=a.isLoading,E=a["aria-label"],T=a["aria-live"],S=C.useMemo(function(){return w(w({},t0),d||{})},[d]),M=C.useMemo(function(){var D="";if(n&&S.onChange){var R=n.option,ie=n.options,_=n.removedValue,Ee=n.removedValues,be=n.value,gt=function(ye){return Array.isArray(ye)?null:ye},J=_||R||gt(be),re=J?f(J):"",ve=ie||Ee||void 0,Te=ve?ve.map(f):[],de=w({isDisabled:J&&p(J,u),label:re,labels:Te},n);D=S.onChange(de)}return D},[n,S,p,u,f]),N=C.useMemo(function(){var D="",R=i||r,ie=!!(i&&u&&u.includes(i));if(R&&S.onFocus){var _={focused:R,label:f(R),isDisabled:p(R,u),isSelected:ie,options:s,context:R===i?"menu":"value",selectValue:u,isAppleDevice:c};D=S.onFocus(_)}return D},[i,r,f,p,S,s,u,c]),k=C.useMemo(function(){var D="";if(b&&I.length&&!y&&S.onFilter){var R=v({count:s.length});D=S.onFilter({inputValue:h,resultsMessage:R})}return D},[s,h,b,S,I,v,y]),Y=(n==null?void 0:n.action)==="initial-input-focus",ce=C.useMemo(function(){var D="";if(S.guidance){var R=r?"value":b?"menu":"input";D=S.guidance({"aria-label":E,context:R,isDisabled:i&&p(i,u),isMulti:m,isSearchable:g,tabSelectsValue:x,isInitialFocus:Y})}return D},[E,i,r,m,p,g,b,S,u,x,Y]),oe=V(C.Fragment,null,V("span",{id:"aria-selection"},M),V("span",{id:"aria-focused"},N),V("span",{id:"aria-results"},k),V("span",{id:"aria-guidance"},ce));return V(C.Fragment,null,V(uu,{id:l},Y&&oe),V(uu,{"aria-live":T,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!Y&&oe))},i0=n0,or=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],r0=new RegExp("["+or.map(function(e){return e.letters}).join("")+"]","g"),lu={},ar=0;ar<or.length;ar++)for(var ur=or[ar],lr=0;lr<ur.letters.length;lr++)lu[ur.letters[lr]]=ur.base;var cu=function(t){return t.replace(r0,function(n){return lu[n]})},s0=$g(cu),du=function(t){return t.replace(/^\s+|\s+$/g,"")},o0=function(t){return"".concat(t.label," ").concat(t.value)},a0=function(t){return function(n,i){if(n.data.__isNew__)return!0;var r=w({ignoreCase:!0,ignoreAccents:!0,stringify:o0,trim:!0,matchFrom:"any"},t),s=r.ignoreCase,o=r.ignoreAccents,u=r.stringify,a=r.trim,l=r.matchFrom,c=a?du(i):i,d=a?du(u(n)):u(n);return s&&(c=c.toLowerCase(),d=d.toLowerCase()),o&&(c=s0(c),d=cu(d)),l==="start"?d.substr(0,c.length)===c:d.indexOf(c)>-1}},u0=["innerRef"];function l0(e){var t=e.innerRef,n=Le(e,u0),i=Mm(n,"onExited","in","enter","exit","appear");return V("input",B({ref:t},i,{css:qi({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0pIHtcbiAgLy8gUmVtb3ZlIGFuaW1hdGlvbiBwcm9wcyBub3QgbWVhbnQgZm9yIEhUTUwgZWxlbWVudHNcbiAgY29uc3QgZmlsdGVyZWRQcm9wcyA9IHJlbW92ZVByb3BzKFxuICAgIHByb3BzLFxuICAgICdvbkV4aXRlZCcsXG4gICAgJ2luJyxcbiAgICAnZW50ZXInLFxuICAgICdleGl0JyxcbiAgICAnYXBwZWFyJ1xuICApO1xuXG4gIHJldHVybiAoXG4gICAgPGlucHV0XG4gICAgICByZWY9e2lubmVyUmVmfVxuICAgICAgey4uLmZpbHRlcmVkUHJvcHN9XG4gICAgICBjc3M9e3tcbiAgICAgICAgbGFiZWw6ICdkdW1teUlucHV0JyxcbiAgICAgICAgLy8gZ2V0IHJpZCBvZiBhbnkgZGVmYXVsdCBzdHlsZXNcbiAgICAgICAgYmFja2dyb3VuZDogMCxcbiAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHRoaXMgaGlkZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var c0=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function d0(e){var t=e.isEnabled,n=e.onBottomArrive,i=e.onBottomLeave,r=e.onTopArrive,s=e.onTopLeave,o=C.useRef(!1),u=C.useRef(!1),a=C.useRef(0),l=C.useRef(null),c=C.useCallback(function(g,b){if(l.current!==null){var I=l.current,v=I.scrollTop,x=I.scrollHeight,y=I.clientHeight,E=l.current,T=b>0,S=x-y-v,M=!1;S>b&&o.current&&(i&&i(g),o.current=!1),T&&u.current&&(s&&s(g),u.current=!1),T&&b>S?(n&&!o.current&&n(g),E.scrollTop=x,M=!0,o.current=!0):!T&&-b>v&&(r&&!u.current&&r(g),E.scrollTop=0,M=!0,u.current=!0),M&&c0(g)}},[n,i,r,s]),d=C.useCallback(function(g){c(g,g.deltaY)},[c]),f=C.useCallback(function(g){a.current=g.changedTouches[0].clientY},[]),h=C.useCallback(function(g){var b=a.current-g.changedTouches[0].clientY;c(g,b)},[c]),m=C.useCallback(function(g){if(g){var b=Fm?{passive:!1}:!1;g.addEventListener("wheel",d,b),g.addEventListener("touchstart",f,b),g.addEventListener("touchmove",h,b)}},[h,f,d]),p=C.useCallback(function(g){g&&(g.removeEventListener("wheel",d,!1),g.removeEventListener("touchstart",f,!1),g.removeEventListener("touchmove",h,!1))},[h,f,d]);return C.useEffect(function(){if(t){var g=l.current;return m(g),function(){p(g)}}},[t,m,p]),function(g){l.current=g}}var fu=["boxSizing","height","overflow","paddingRight","position"],hu={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function pu(e){e.preventDefault()}function mu(e){e.stopPropagation()}function gu(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function bu(){return"ontouchstart"in window||navigator.maxTouchPoints}var vu=!!(typeof window<"u"&&window.document&&window.document.createElement),Xt=0,pt={capture:!1,passive:!1};function f0(e){var t=e.isEnabled,n=e.accountForScrollbars,i=n===void 0?!0:n,r=C.useRef({}),s=C.useRef(null),o=C.useCallback(function(a){if(vu){var l=document.body,c=l&&l.style;if(i&&fu.forEach(function(m){var p=c&&c[m];r.current[m]=p}),i&&Xt<1){var d=parseInt(r.current.paddingRight,10)||0,f=document.body?document.body.clientWidth:0,h=window.innerWidth-f+d||0;Object.keys(hu).forEach(function(m){var p=hu[m];c&&(c[m]=p)}),c&&(c.paddingRight="".concat(h,"px"))}l&&bu()&&(l.addEventListener("touchmove",pu,pt),a&&(a.addEventListener("touchstart",gu,pt),a.addEventListener("touchmove",mu,pt))),Xt+=1}},[i]),u=C.useCallback(function(a){if(vu){var l=document.body,c=l&&l.style;Xt=Math.max(Xt-1,0),i&&Xt<1&&fu.forEach(function(d){var f=r.current[d];c&&(c[d]=f)}),l&&bu()&&(l.removeEventListener("touchmove",pu,pt),a&&(a.removeEventListener("touchstart",gu,pt),a.removeEventListener("touchmove",mu,pt)))}},[i]);return C.useEffect(function(){if(t){var a=s.current;return o(a),function(){u(a)}}},[t,o,u]),function(a){s.current=a}}function h0(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var p0=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},m0=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:h0};function g0(e){var t=e.children,n=e.lockEnabled,i=e.captureEnabled,r=i===void 0?!0:i,s=e.onBottomArrive,o=e.onBottomLeave,u=e.onTopArrive,a=e.onTopLeave,l=d0({isEnabled:r,onBottomArrive:s,onBottomLeave:o,onTopArrive:u,onTopLeave:a}),c=f0({isEnabled:n}),d=function(h){l(h),c(h)};return V(C.Fragment,null,n&&V("div",{onClick:p0,css:m0}),t(d))}function b0(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var v0=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:b0},y0=function(t){var n=t.name,i=t.onFocus;return V("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:i,css:v0,value:"",onChange:function(){}})},C0=y0;function cr(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function I0(){return cr(/^iPhone/i)}function yu(){return cr(/^Mac/i)}function x0(){return cr(/^iPad/i)||yu()&&navigator.maxTouchPoints>1}function A0(){return I0()||x0()}function S0(){return yu()||A0()}var E0=function(t){return t.label},T0=function(t){return t.label},P0=function(t){return t.value},V0=function(t){return!!t.isDisabled},w0={clearIndicator:ug,container:Qm,control:mg,dropdownIndicator:og,group:yg,groupHeading:Ig,indicatorsContainer:eg,indicatorSeparator:cg,input:Eg,loadingIndicator:hg,loadingMessage:jm,menu:Rm,menuList:Hm,menuPortal:Um,multiValue:Fg,multiValueLabel:Bg,multiValueRemove:Gg,noOptionsMessage:zm,option:Rg,placeholder:Zg,singleValue:zg,valueContainer:Km},F0={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},B0=4,Cu=4,G0=38,M0=Cu*2,D0={baseUnit:Cu,controlHeight:G0,menuGutter:M0},dr={borderRadius:B0,colors:F0,spacing:D0},N0={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Qa(),captureMenuScroll:!Qa(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:a0(),formatGroupLabel:E0,getOptionLabel:T0,getOptionValue:P0,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:V0,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Vm(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Iu(e,t,n,i){var r=Tu(e,t,n),s=Pu(e,t,n),o=Eu(e,t),u=Mn(e,t);return{type:"option",data:t,isDisabled:r,isSelected:s,label:o,value:u,index:i}}function Gn(e,t){return e.options.map(function(n,i){if("options"in n){var r=n.options.map(function(o,u){return Iu(e,o,t,u)}).filter(function(o){return Su(e,o)});return r.length>0?{type:"group",data:n,options:r,index:i}:void 0}var s=Iu(e,n,t,i);return Su(e,s)?s:void 0}).filter(Bm)}function xu(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,ki(n.options.map(function(i){return i.data}))):t.push(n.data),t},[])}function Au(e,t){return e.reduce(function(n,i){return i.type==="group"?n.push.apply(n,ki(i.options.map(function(r){return{data:r.data,id:"".concat(t,"-").concat(i.index,"-").concat(r.index)}}))):n.push({data:i.data,id:"".concat(t,"-").concat(i.index)}),n},[])}function L0(e,t){return xu(Gn(e,t))}function Su(e,t){var n=e.inputValue,i=n===void 0?"":n,r=t.data,s=t.isSelected,o=t.label,u=t.value;return(!wu(e)||!s)&&Vu(e,{label:o,value:u,data:r},i)}function W0(e,t){var n=e.focusedValue,i=e.selectValue,r=i.indexOf(n);if(r>-1){var s=t.indexOf(n);if(s>-1)return n;if(r<t.length)return t[r]}return null}function R0(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var fr=function(t,n){var i,r=(i=t.find(function(s){return s.data===n}))===null||i===void 0?void 0:i.id;return r||null},Eu=function(t,n){return t.getOptionLabel(n)},Mn=function(t,n){return t.getOptionValue(n)};function Tu(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function Pu(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var i=Mn(e,t);return n.some(function(r){return Mn(e,r)===i})}function Vu(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var wu=function(t){var n=t.hideSelectedOptions,i=t.isMulti;return n===void 0?i:n},O0=1,Fu=function(e){$h(n,e);var t=ep(n);function n(i){var r;if(_h(this,n),r=t.call(this,i),r.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.isAppleDevice=S0(),r.controlRef=null,r.getControlRef=function(a){r.controlRef=a},r.focusedOptionRef=null,r.getFocusedOptionRef=function(a){r.focusedOptionRef=a},r.menuListRef=null,r.getMenuListRef=function(a){r.menuListRef=a},r.inputRef=null,r.getInputRef=function(a){r.inputRef=a},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(a,l){var c=r.props,d=c.onChange,f=c.name;l.name=f,r.ariaOnChange(a,l),d(a,l)},r.setValue=function(a,l,c){var d=r.props,f=d.closeMenuOnSelect,h=d.isMulti,m=d.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:m}),f&&(r.setState({inputIsHiddenAfterUpdate:!h}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(a,{action:l,option:c})},r.selectOption=function(a){var l=r.props,c=l.blurInputOnSelect,d=l.isMulti,f=l.name,h=r.state.selectValue,m=d&&r.isOptionSelected(a,h),p=r.isOptionDisabled(a,h);if(m){var g=r.getOptionValue(a);r.setValue(h.filter(function(b){return r.getOptionValue(b)!==g}),"deselect-option",a)}else if(!p)d?r.setValue([].concat(ki(h),[a]),"select-option",a):r.setValue(a,"select-option");else{r.ariaOnChange(a,{action:"select-option",option:a,name:f});return}c&&r.blurInput()},r.removeValue=function(a){var l=r.props.isMulti,c=r.state.selectValue,d=r.getOptionValue(a),f=c.filter(function(m){return r.getOptionValue(m)!==d}),h=Bn(l,f,f[0]||null);r.onChange(h,{action:"remove-value",removedValue:a}),r.focusInput()},r.clearValue=function(){var a=r.state.selectValue;r.onChange(Bn(r.props.isMulti,[],null),{action:"clear",removedValues:a})},r.popValue=function(){var a=r.props.isMulti,l=r.state.selectValue,c=l[l.length-1],d=l.slice(0,l.length-1),f=Bn(a,d,d[0]||null);r.onChange(f,{action:"pop-value",removedValue:c})},r.getFocusedOptionId=function(a){return fr(r.state.focusableOptionsWithIds,a)},r.getFocusableOptionsWithIds=function(){return Au(Gn(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var a=arguments.length,l=new Array(a),c=0;c<a;c++)l[c]=arguments[c];return Am.apply(void 0,[r.props.classNamePrefix].concat(l))},r.getOptionLabel=function(a){return Eu(r.props,a)},r.getOptionValue=function(a){return Mn(r.props,a)},r.getStyles=function(a,l){var c=r.props.unstyled,d=w0[a](l,c);d.boxSizing="border-box";var f=r.props.styles[a];return f?f(d,l):d},r.getClassNames=function(a,l){var c,d;return(c=(d=r.props.classNames)[a])===null||c===void 0?void 0:c.call(d,l)},r.getElementId=function(a){return"".concat(r.state.instancePrefix,"-").concat(a)},r.getComponents=function(){return Ug(r.props)},r.buildCategorizedOptions=function(){return Gn(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return xu(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(a,l){r.setState({ariaSelection:w({value:a},l)})},r.onMenuMouseDown=function(a){a.button===0&&(a.stopPropagation(),a.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(a){r.blockOptionHover=!1},r.onControlMouseDown=function(a){if(!a.defaultPrevented){var l=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&r.onMenuClose():l&&r.openMenu("first"):(l&&(r.openAfterFocus=!0),r.focusInput()),a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&a.preventDefault()}},r.onDropdownIndicatorMouseDown=function(a){if(!(a&&a.type==="mousedown"&&a.button!==0)&&!r.props.isDisabled){var l=r.props,c=l.isMulti,d=l.menuIsOpen;r.focusInput(),d?(r.setState({inputIsHiddenAfterUpdate:!c}),r.onMenuClose()):r.openMenu("first"),a.preventDefault()}},r.onClearIndicatorMouseDown=function(a){a&&a.type==="mousedown"&&a.button!==0||(r.clearValue(),a.preventDefault(),r.openAfterFocus=!1,a.type==="touchend"?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(a){typeof r.props.closeMenuOnScroll=="boolean"?a.target instanceof HTMLElement&&Pn(a.target)&&r.props.onMenuClose():typeof r.props.closeMenuOnScroll=="function"&&r.props.closeMenuOnScroll(a)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(a){var l=a.touches,c=l&&l.item(0);c&&(r.initialTouchX=c.clientX,r.initialTouchY=c.clientY,r.userIsDragging=!1)},r.onTouchMove=function(a){var l=a.touches,c=l&&l.item(0);if(c){var d=Math.abs(c.clientX-r.initialTouchX),f=Math.abs(c.clientY-r.initialTouchY),h=5;r.userIsDragging=d>h||f>h}},r.onTouchEnd=function(a){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(a.target)&&r.menuListRef&&!r.menuListRef.contains(a.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(a){r.userIsDragging||r.onControlMouseDown(a)},r.onClearIndicatorTouchEnd=function(a){r.userIsDragging||r.onClearIndicatorMouseDown(a)},r.onDropdownIndicatorTouchEnd=function(a){r.userIsDragging||r.onDropdownIndicatorMouseDown(a)},r.handleInputChange=function(a){var l=r.props.inputValue,c=a.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(c,{action:"input-change",prevInputValue:l}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(a){r.props.onFocus&&r.props.onFocus(a),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(a){var l=r.props.inputValue;if(r.menuListRef&&r.menuListRef.contains(document.activeElement)){r.inputRef.focus();return}r.props.onBlur&&r.props.onBlur(a),r.onInputChange("",{action:"input-blur",prevInputValue:l}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1})},r.onOptionHover=function(a){if(!(r.blockOptionHover||r.state.focusedOption===a)){var l=r.getFocusableOptions(),c=l.indexOf(a);r.setState({focusedOption:a,focusedOptionId:c>-1?r.getFocusedOptionId(a):null})}},r.shouldHideSelectedOptions=function(){return wu(r.props)},r.onValueInputFocus=function(a){a.preventDefault(),a.stopPropagation(),r.focus()},r.onKeyDown=function(a){var l=r.props,c=l.isMulti,d=l.backspaceRemovesValue,f=l.escapeClearsValue,h=l.inputValue,m=l.isClearable,p=l.isDisabled,g=l.menuIsOpen,b=l.onKeyDown,I=l.tabSelectsValue,v=l.openMenuOnFocus,x=r.state,y=x.focusedOption,E=x.focusedValue,T=x.selectValue;if(!p&&!(typeof b=="function"&&(b(a),a.defaultPrevented))){switch(r.blockOptionHover=!0,a.key){case"ArrowLeft":if(!c||h)return;r.focusValue("previous");break;case"ArrowRight":if(!c||h)return;r.focusValue("next");break;case"Delete":case"Backspace":if(h)return;if(E)r.removeValue(E);else{if(!d)return;c?r.popValue():m&&r.clearValue()}break;case"Tab":if(r.isComposing||a.shiftKey||!g||!I||!y||v&&r.isOptionSelected(y,T))return;r.selectOption(y);break;case"Enter":if(a.keyCode===229)break;if(g){if(!y||r.isComposing)return;r.selectOption(y);break}return;case"Escape":g?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:h}),r.onMenuClose()):m&&f&&r.clearValue();break;case" ":if(h)return;if(!g){r.openMenu("first");break}if(!y)return;r.selectOption(y);break;case"ArrowUp":g?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":g?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!g)return;r.focusOption("pageup");break;case"PageDown":if(!g)return;r.focusOption("pagedown");break;case"Home":if(!g)return;r.focusOption("first");break;case"End":if(!g)return;r.focusOption("last");break;default:return}a.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++O0),r.state.selectValue=Ya(i.value),i.menuIsOpen&&r.state.selectValue.length){var s=r.getFocusableOptionsWithIds(),o=r.buildFocusableOptions(),u=o.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=s,r.state.focusedOption=o[u],r.state.focusedOptionId=fr(s,o[u])}return r}return Qh(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&_a(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(r){var s=this.props,o=s.isDisabled,u=s.menuIsOpen,a=this.state.isFocused;(a&&!o&&r.isDisabled||a&&u&&!r.menuIsOpen)&&this.focusInput(),a&&o&&!r.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!a&&!o&&r.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(_a(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(r,s){this.props.onInputChange(r,s)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(r){var s=this,o=this.state,u=o.selectValue,a=o.isFocused,l=this.buildFocusableOptions(),c=r==="first"?0:l.length-1;if(!this.props.isMulti){var d=l.indexOf(u[0]);d>-1&&(c=d)}this.scrollToFocusedOptionOnUpdate=!(a&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:l[c],focusedOptionId:this.getFocusedOptionId(l[c])},function(){return s.onMenuOpen()})}},{key:"focusValue",value:function(r){var s=this.state,o=s.selectValue,u=s.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var a=o.indexOf(u);u||(a=-1);var l=o.length-1,c=-1;if(o.length){switch(r){case"previous":a===0?c=0:a===-1?c=l:c=a-1;break;case"next":a>-1&&a<l&&(c=a+1);break}this.setState({inputIsHidden:c!==-1,focusedValue:o[c]})}}}},{key:"focusOption",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",s=this.props.pageSize,o=this.state.focusedOption,u=this.getFocusableOptions();if(u.length){var a=0,l=u.indexOf(o);o||(l=-1),r==="up"?a=l>0?l-1:u.length-1:r==="down"?a=(l+1)%u.length:r==="pageup"?(a=l-s,a<0&&(a=0)):r==="pagedown"?(a=l+s,a>u.length-1&&(a=u.length-1)):r==="last"&&(a=u.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:u[a],focusedValue:null,focusedOptionId:this.getFocusedOptionId(u[a])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(dr):w(w({},dr),this.props.theme):dr}},{key:"getCommonProps",value:function(){var r=this.clearValue,s=this.cx,o=this.getStyles,u=this.getClassNames,a=this.getValue,l=this.selectOption,c=this.setValue,d=this.props,f=d.isMulti,h=d.isRtl,m=d.options,p=this.hasValue();return{clearValue:r,cx:s,getStyles:o,getClassNames:u,getValue:a,hasValue:p,isMulti:f,isRtl:h,options:m,selectOption:l,selectProps:d,setValue:c,theme:this.getTheme()}}},{key:"hasValue",value:function(){var r=this.state.selectValue;return r.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var r=this.props,s=r.isClearable,o=r.isMulti;return s===void 0?o:s}},{key:"isOptionDisabled",value:function(r,s){return Tu(this.props,r,s)}},{key:"isOptionSelected",value:function(r,s){return Pu(this.props,r,s)}},{key:"filterOption",value:function(r,s){return Vu(this.props,r,s)}},{key:"formatOptionLabel",value:function(r,s){if(typeof this.props.formatOptionLabel=="function"){var o=this.props.inputValue,u=this.state.selectValue;return this.props.formatOptionLabel(r,{context:s,inputValue:o,selectValue:u})}else return this.getOptionLabel(r)}},{key:"formatGroupLabel",value:function(r){return this.props.formatGroupLabel(r)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var r=this.props,s=r.isDisabled,o=r.isSearchable,u=r.inputId,a=r.inputValue,l=r.tabIndex,c=r.form,d=r.menuIsOpen,f=r.required,h=this.getComponents(),m=h.Input,p=this.state,g=p.inputIsHidden,b=p.ariaSelection,I=this.commonProps,v=u||this.getElementId("input"),x=w(w(w({"aria-autocomplete":"list","aria-expanded":d,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":f,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},d&&{"aria-controls":this.getElementId("listbox")}),!o&&{"aria-readonly":!0}),this.hasValue()?(b==null?void 0:b.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return o?G.createElement(m,B({},I,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:v,innerRef:this.getInputRef,isDisabled:s,isHidden:g,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:l,form:c,type:"text",value:a},x)):G.createElement(l0,B({id:v,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Tn,onFocus:this.onInputFocus,disabled:s,tabIndex:l,inputMode:"none",form:c,value:""},x))}},{key:"renderPlaceholderOrValue",value:function(){var r=this,s=this.getComponents(),o=s.MultiValue,u=s.MultiValueContainer,a=s.MultiValueLabel,l=s.MultiValueRemove,c=s.SingleValue,d=s.Placeholder,f=this.commonProps,h=this.props,m=h.controlShouldRenderValue,p=h.isDisabled,g=h.isMulti,b=h.inputValue,I=h.placeholder,v=this.state,x=v.selectValue,y=v.focusedValue,E=v.isFocused;if(!this.hasValue()||!m)return b?null:G.createElement(d,B({},f,{key:"placeholder",isDisabled:p,isFocused:E,innerProps:{id:this.getElementId("placeholder")}}),I);if(g)return x.map(function(S,M){var N=S===y,k="".concat(r.getOptionLabel(S),"-").concat(r.getOptionValue(S));return G.createElement(o,B({},f,{components:{Container:u,Label:a,Remove:l},isFocused:N,isDisabled:p,key:k,index:M,removeProps:{onClick:function(){return r.removeValue(S)},onTouchEnd:function(){return r.removeValue(S)},onMouseDown:function(ce){ce.preventDefault()}},data:S}),r.formatOptionLabel(S,"value"))});if(b)return null;var T=x[0];return G.createElement(c,B({},f,{data:T,isDisabled:p}),this.formatOptionLabel(T,"value"))}},{key:"renderClearIndicator",value:function(){var r=this.getComponents(),s=r.ClearIndicator,o=this.commonProps,u=this.props,a=u.isDisabled,l=u.isLoading,c=this.state.isFocused;if(!this.isClearable()||!s||a||!this.hasValue()||l)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return G.createElement(s,B({},o,{innerProps:d,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var r=this.getComponents(),s=r.LoadingIndicator,o=this.commonProps,u=this.props,a=u.isDisabled,l=u.isLoading,c=this.state.isFocused;if(!s||!l)return null;var d={"aria-hidden":"true"};return G.createElement(s,B({},o,{innerProps:d,isDisabled:a,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var r=this.getComponents(),s=r.DropdownIndicator,o=r.IndicatorSeparator;if(!s||!o)return null;var u=this.commonProps,a=this.props.isDisabled,l=this.state.isFocused;return G.createElement(o,B({},u,{isDisabled:a,isFocused:l}))}},{key:"renderDropdownIndicator",value:function(){var r=this.getComponents(),s=r.DropdownIndicator;if(!s)return null;var o=this.commonProps,u=this.props.isDisabled,a=this.state.isFocused,l={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return G.createElement(s,B({},o,{innerProps:l,isDisabled:u,isFocused:a}))}},{key:"renderMenu",value:function(){var r=this,s=this.getComponents(),o=s.Group,u=s.GroupHeading,a=s.Menu,l=s.MenuList,c=s.MenuPortal,d=s.LoadingMessage,f=s.NoOptionsMessage,h=s.Option,m=this.commonProps,p=this.state.focusedOption,g=this.props,b=g.captureMenuScroll,I=g.inputValue,v=g.isLoading,x=g.loadingMessage,y=g.minMenuHeight,E=g.maxMenuHeight,T=g.menuIsOpen,S=g.menuPlacement,M=g.menuPosition,N=g.menuPortalTarget,k=g.menuShouldBlockScroll,Y=g.menuShouldScrollIntoView,ce=g.noOptionsMessage,oe=g.onMenuScrollToTop,D=g.onMenuScrollToBottom;if(!T)return null;var R=function(re,ve){var Te=re.type,de=re.data,Pe=re.isDisabled,ye=re.isSelected,bt=re.label,hr=re.value,Dn=p===de,P=Pe?void 0:function(){return r.onOptionHover(de)},Zt=Pe?void 0:function(){return r.selectOption(de)},et="".concat(r.getElementId("option"),"-").concat(ve),Nn={id:et,onClick:Zt,onMouseMove:P,onMouseOver:P,tabIndex:-1,role:"option","aria-selected":r.isAppleDevice?void 0:ye};return G.createElement(h,B({},m,{innerProps:Nn,data:de,isDisabled:Pe,isSelected:ye,key:et,label:bt,type:Te,value:hr,isFocused:Dn,innerRef:Dn?r.getFocusedOptionRef:void 0}),r.formatOptionLabel(re.data,"menu"))},ie;if(this.hasOptions())ie=this.getCategorizedOptions().map(function(J){if(J.type==="group"){var re=J.data,ve=J.options,Te=J.index,de="".concat(r.getElementId("group"),"-").concat(Te),Pe="".concat(de,"-heading");return G.createElement(o,B({},m,{key:de,data:re,options:ve,Heading:u,headingProps:{id:Pe,data:J.data},label:r.formatGroupLabel(J.data)}),J.options.map(function(ye){return R(ye,"".concat(Te,"-").concat(ye.index))}))}else if(J.type==="option")return R(J,"".concat(J.index))});else if(v){var _=x({inputValue:I});if(_===null)return null;ie=G.createElement(d,m,_)}else{var Ee=ce({inputValue:I});if(Ee===null)return null;ie=G.createElement(f,m,Ee)}var be={minMenuHeight:y,maxMenuHeight:E,menuPlacement:S,menuPosition:M,menuShouldScrollIntoView:Y},gt=G.createElement(Om,B({},m,be),function(J){var re=J.ref,ve=J.placerProps,Te=ve.placement,de=ve.maxHeight;return G.createElement(a,B({},m,be,{innerRef:re,innerProps:{onMouseDown:r.onMenuMouseDown,onMouseMove:r.onMenuMouseMove},isLoading:v,placement:Te}),G.createElement(g0,{captureEnabled:b,onTopArrive:oe,onBottomArrive:D,lockEnabled:k},function(Pe){return G.createElement(l,B({},m,{innerRef:function(bt){r.getMenuListRef(bt),Pe(bt)},innerProps:{role:"listbox","aria-multiselectable":m.isMulti,id:r.getElementId("listbox")},isLoading:v,maxHeight:de,focusedOption:p}),ie)}))});return N||M==="fixed"?G.createElement(c,B({},m,{appendTo:N,controlElement:this.controlRef,menuPlacement:S,menuPosition:M}),gt):gt}},{key:"renderFormField",value:function(){var r=this,s=this.props,o=s.delimiter,u=s.isDisabled,a=s.isMulti,l=s.name,c=s.required,d=this.state.selectValue;if(c&&!this.hasValue()&&!u)return G.createElement(C0,{name:l,onFocus:this.onValueInputFocus});if(!(!l||u))if(a)if(o){var f=d.map(function(p){return r.getOptionValue(p)}).join(o);return G.createElement("input",{name:l,type:"hidden",value:f})}else{var h=d.length>0?d.map(function(p,g){return G.createElement("input",{key:"i-".concat(g),name:l,type:"hidden",value:r.getOptionValue(p)})}):G.createElement("input",{name:l,type:"hidden",value:""});return G.createElement("div",null,h)}else{var m=d[0]?this.getOptionValue(d[0]):"";return G.createElement("input",{name:l,type:"hidden",value:m})}}},{key:"renderLiveRegion",value:function(){var r=this.commonProps,s=this.state,o=s.ariaSelection,u=s.focusedOption,a=s.focusedValue,l=s.isFocused,c=s.selectValue,d=this.getFocusableOptions();return G.createElement(i0,B({},r,{id:this.getElementId("live-region"),ariaSelection:o,focusedOption:u,focusedValue:a,isFocused:l,selectValue:c,focusableOptions:d,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var r=this.getComponents(),s=r.Control,o=r.IndicatorsContainer,u=r.SelectContainer,a=r.ValueContainer,l=this.props,c=l.className,d=l.id,f=l.isDisabled,h=l.menuIsOpen,m=this.state.isFocused,p=this.commonProps=this.getCommonProps();return G.createElement(u,B({},p,{className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:f,isFocused:m}),this.renderLiveRegion(),G.createElement(s,B({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:f,isFocused:m,menuIsOpen:h}),G.createElement(a,B({},p,{isDisabled:f}),this.renderPlaceholderOrValue(),this.renderInput()),G.createElement(o,B({},p,{isDisabled:f}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(r,s){var o=s.prevProps,u=s.clearFocusValueOnUpdate,a=s.inputIsHiddenAfterUpdate,l=s.ariaSelection,c=s.isFocused,d=s.prevWasFocused,f=s.instancePrefix,h=r.options,m=r.value,p=r.menuIsOpen,g=r.inputValue,b=r.isMulti,I=Ya(m),v={};if(o&&(m!==o.value||h!==o.options||p!==o.menuIsOpen||g!==o.inputValue)){var x=p?L0(r,I):[],y=p?Au(Gn(r,I),"".concat(f,"-option")):[],E=u?W0(s,I):null,T=R0(s,x),S=fr(y,T);v={selectValue:I,focusedOption:T,focusedOptionId:S,focusableOptionsWithIds:y,focusedValue:E,clearFocusValueOnUpdate:!1}}var M=a!=null&&r!==o?{inputIsHidden:a,inputIsHiddenAfterUpdate:void 0}:{},N=l,k=c&&d;return c&&!k&&(N={value:Bn(b,I,I[0]||null),options:I,action:"initial-input-focus"},k=!d),(l==null?void 0:l.action)==="initial-input-focus"&&(N=null),w(w(w({},v),M),{},{prevProps:r,ariaSelection:N,prevWasFocused:k})}}]),n}(C.Component);Fu.defaultProps=N0;var X0=C.forwardRef(function(e,t){var n=Uh(e);return G.createElement(Fu,B({ref:t},n))}),Z0=X0;const mt=e=>{const{children:t,sx:n,...i}=e;return A.jsx("div",{className:ge.form,style:n,...i,children:t})},H0=mt,k0={menuPortal:e=>({...e,zIndex:"9999999999 !important"}),control:(e,t)=>({...e,background:t.isDisabled?"#e9ecef !important":"#fff!important",minHeight:"26px!important",boxShadow:t.isFocused?"0 0 0 2px rgba(0 125 250 / 30%)":null,borderColor:t.isFocused?"#0071e3":"#D6DBDF!important",fontSize:"12px!important",padding:"0px 0px 0px 6px!important",color:"#3f4254!important",borderRadius:"0px !important"}),valueContainer:e=>({...e,height:"26px!important",padding:"0 6px 0 2px!important"}),input:e=>({...e,margin:"0px!important",fontSize:"12px!important",color:"#3f4254"}),placeholder:e=>({...e,margin:"0px!important",fontSize:"12px!important",color:"#aeaeae !important"}),indicatorsContainer:e=>({...e,height:"26px!important"}),option:(e,t)=>({...e,backgroundColor:t.isSelected?"#50c6d0":t.isFocused?"#e6e7ea":null,color:t.isSelected?"#ffffff":(t.isFocused,"#3f4254"),fontSize:"12px!important",padding:"6px 12px 5px 12px!important",fontWeight:"400",fontFamily:"Poppins, Helvetica, 'sans-serif'",borderRadius:"2px !important"}),noOptionsMessage:e=>({...e,fontSize:"12px!important",padding:"5px 8px!important",color:"#3f4254!important"}),menu:e=>({...e,padding:"1px 4px",zIndex:"99999999",position:"absolute",borderRadius:"0px !important"})},z0=e=>{const{children:t,sx:n,...i}=e;return A.jsx("div",{className:ge["form-group"],style:n,...i,children:t})},j0=e=>{const{children:t,sx:n,...i}=e,r=C.Children.toArray(t).filter(a=>a.type.displayName==="biznext-ui-input-label"),s=C.Children.toArray(t).filter(a=>a.type.displayName==="biznext-ui-input-control"),o=C.Children.toArray(t).filter(a=>a.type.displayName==="biznext-ui-input-error-message"),u=o[0]&&o[0].props.children&&o[0].props.children.length>0;return A.jsxs("div",{className:tt(ge["form-input-group"],u&&ge["validation-error"]),style:n,...i,children:[r,A.jsxs("div",{className:ge["form-input-control-group"],children:[s,A.jsx("span",{className:ge["form-input-group-error-text"],children:o})]})]})},Bu=e=>{const{required:t=!1,children:n,sx:i,...r}=e;return A.jsx("label",{className:tt(ge["form-input-group-label"],t&&ge.required),style:i,...r,children:n})},Gu=C.forwardRef((e,t)=>{const{controlType:n,focus:i,onFocus:r,sx:s,placeholder:o="",isSearchable:u=!0,isClearable:a=!0,...l}=e;let c=A.jsx(A.Fragment,{});const d=C.useRef(null);switch(C.useEffect(()=>{d.current&&d.current.focus()},[i]),C.useEffect(()=>{d.current&&d.current.focus()},[r]),n){case"input":c=A.jsx("input",{className:ge["form-input-control"],placeholder:o,ref:i?d:t,style:s,...l});break;case"select":c=A.jsx(Z0,{styles:k0,className:ge["form-select-control"],classNamePrefix:"biznext-ui-",menuPortalTarget:document.body,menuPosition:"absolute",menuShouldScrollIntoView:!1,ref:i?d:t,placeholder:o?`Select ${o}`:"Select...",isSearchable:u,isClearable:a,noOptionsMessage:()=>"No Results Found!",...l});break;case"textarea":c=A.jsx("textarea",{className:ge["form-input-control"],placeholder:o,style:s,ref:i?d:t,...l});break;default:c=A.jsx(A.Fragment,{});break}return c}),Mu=e=>{const{children:t}=e;return t};Bu.displayName="biznext-ui-input-label",Gu.displayName="biznext-ui-input-control",Mu.displayName="biznext-ui-input-error-message",mt.Group=z0,mt.InputGroup=j0,mt.Label=Bu,mt.Control=Gu,mt.ErrorMessage=Mu,ae.BiznextUIProvider=Bh,ae.Form=H0,ae.Modal=Nh,ae.useConfirmDialog=Zh,ae.useToast=gr,Object.defineProperty(ae,Symbol.toStringTag,{value:"Module"})});