function Tv(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var af={exports:{}},zu={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Pd;function Zh(){if(Pd)return zu;Pd=1;var i=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function v(s,h,S){var _=null;if(S!==void 0&&(_=""+S),h.key!==void 0&&(_=""+h.key),"key"in h){S={};for(var T in h)T!=="key"&&(S[T]=h[T])}else S=h;return h=S.ref,{$$typeof:i,type:s,key:_,ref:h!==void 0?h:null,props:S}}return zu.Fragment=r,zu.jsx=v,zu.jsxs=v,zu}var Id;function Vh(){return Id||(Id=1,af.exports=Zh()),af.exports}var o=Vh(),nf={exports:{}},rt={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var tv;function Kh(){if(tv)return rt;tv=1;var i=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),S=Symbol.for("react.consumer"),_=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),M=Symbol.for("react.lazy"),U=Symbol.iterator;function q(y){return y===null||typeof y!="object"?null:(y=U&&y[U]||y["@@iterator"],typeof y=="function"?y:null)}var z={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},B=Object.assign,V={};function K(y,D,F){this.props=y,this.context=D,this.refs=V,this.updater=F||z}K.prototype.isReactComponent={},K.prototype.setState=function(y,D){if(typeof y!="object"&&typeof y!="function"&&y!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,y,D,"setState")},K.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"forceUpdate")};function Y(){}Y.prototype=K.prototype;function W(y,D,F){this.props=y,this.context=D,this.refs=V,this.updater=F||z}var tt=W.prototype=new Y;tt.constructor=W,B(tt,K.prototype),tt.isPureReactComponent=!0;var bt=Array.isArray,J={H:null,A:null,T:null,S:null},Nt=Object.prototype.hasOwnProperty;function _t(y,D,F,P,X,ot){return F=ot.ref,{$$typeof:i,type:y,key:D,ref:F!==void 0?F:null,props:ot}}function kt(y,D){return _t(y.type,D,void 0,void 0,void 0,y.props)}function Z(y){return typeof y=="object"&&y!==null&&y.$$typeof===i}function ct(y){var D={"=":"=0",":":"=2"};return"$"+y.replace(/[=:]/g,function(F){return D[F]})}var Bt=/\/+/g;function Gt(y,D){return typeof y=="object"&&y!==null&&y.key!=null?ct(""+y.key):D.toString(36)}function Wt(){}function gt(y){switch(y.status){case"fulfilled":return y.value;case"rejected":throw y.reason;default:switch(typeof y.status=="string"?y.then(Wt,Wt):(y.status="pending",y.then(function(D){y.status==="pending"&&(y.status="fulfilled",y.value=D)},function(D){y.status==="pending"&&(y.status="rejected",y.reason=D)})),y.status){case"fulfilled":return y.value;case"rejected":throw y.reason}}throw y}function zt(y,D,F,P,X){var ot=typeof y;(ot==="undefined"||ot==="boolean")&&(y=null);var st=!1;if(y===null)st=!0;else switch(ot){case"bigint":case"string":case"number":st=!0;break;case"object":switch(y.$$typeof){case i:case r:st=!0;break;case M:return st=y._init,zt(st(y._payload),D,F,P,X)}}if(st)return X=X(y),st=P===""?"."+Gt(y,0):P,bt(X)?(F="",st!=null&&(F=st.replace(Bt,"$&/")+"/"),zt(X,D,F,"",function(Mt){return Mt})):X!=null&&(Z(X)&&(X=kt(X,F+(X.key==null||y&&y.key===X.key?"":(""+X.key).replace(Bt,"$&/")+"/")+st)),D.push(X)),1;st=0;var Ft=P===""?".":P+":";if(bt(y))for(var nt=0;nt<y.length;nt++)P=y[nt],ot=Ft+Gt(P,nt),st+=zt(P,D,F,ot,X);else if(nt=q(y),typeof nt=="function")for(y=nt.call(y),nt=0;!(P=y.next()).done;)P=P.value,ot=Ft+Gt(P,nt++),st+=zt(P,D,F,ot,X);else if(ot==="object"){if(typeof y.then=="function")return zt(gt(y),D,F,P,X);throw D=String(y),Error("Objects are not valid as a React child (found: "+(D==="[object Object]"?"object with keys {"+Object.keys(y).join(", ")+"}":D)+"). If you meant to render a collection of children, use an array instead.")}return st}function w(y,D,F){if(y==null)return y;var P=[],X=0;return zt(y,P,"","",function(ot){return D.call(F,ot,X++)}),P}function $(y){if(y._status===-1){var D=y._result;D=D(),D.then(function(F){(y._status===0||y._status===-1)&&(y._status=1,y._result=F)},function(F){(y._status===0||y._status===-1)&&(y._status=2,y._result=F)}),y._status===-1&&(y._status=0,y._result=D)}if(y._status===1)return y._result.default;throw y._result}var G=typeof reportError=="function"?reportError:function(y){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var D=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof y=="object"&&y!==null&&typeof y.message=="string"?String(y.message):String(y),error:y});if(!window.dispatchEvent(D))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",y);return}console.error(y)};function ft(){}return rt.Children={map:w,forEach:function(y,D,F){w(y,function(){D.apply(this,arguments)},F)},count:function(y){var D=0;return w(y,function(){D++}),D},toArray:function(y){return w(y,function(D){return D})||[]},only:function(y){if(!Z(y))throw Error("React.Children.only expected to receive a single React element child.");return y}},rt.Component=K,rt.Fragment=v,rt.Profiler=h,rt.PureComponent=W,rt.StrictMode=s,rt.Suspense=x,rt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=J,rt.act=function(){throw Error("act(...) is not supported in production builds of React.")},rt.cache=function(y){return function(){return y.apply(null,arguments)}},rt.cloneElement=function(y,D,F){if(y==null)throw Error("The argument must be a React element, but you passed "+y+".");var P=B({},y.props),X=y.key,ot=void 0;if(D!=null)for(st in D.ref!==void 0&&(ot=void 0),D.key!==void 0&&(X=""+D.key),D)!Nt.call(D,st)||st==="key"||st==="__self"||st==="__source"||st==="ref"&&D.ref===void 0||(P[st]=D[st]);var st=arguments.length-2;if(st===1)P.children=F;else if(1<st){for(var Ft=Array(st),nt=0;nt<st;nt++)Ft[nt]=arguments[nt+2];P.children=Ft}return _t(y.type,X,void 0,void 0,ot,P)},rt.createContext=function(y){return y={$$typeof:_,_currentValue:y,_currentValue2:y,_threadCount:0,Provider:null,Consumer:null},y.Provider=y,y.Consumer={$$typeof:S,_context:y},y},rt.createElement=function(y,D,F){var P,X={},ot=null;if(D!=null)for(P in D.key!==void 0&&(ot=""+D.key),D)Nt.call(D,P)&&P!=="key"&&P!=="__self"&&P!=="__source"&&(X[P]=D[P]);var st=arguments.length-2;if(st===1)X.children=F;else if(1<st){for(var Ft=Array(st),nt=0;nt<st;nt++)Ft[nt]=arguments[nt+2];X.children=Ft}if(y&&y.defaultProps)for(P in st=y.defaultProps,st)X[P]===void 0&&(X[P]=st[P]);return _t(y,ot,void 0,void 0,null,X)},rt.createRef=function(){return{current:null}},rt.forwardRef=function(y){return{$$typeof:T,render:y}},rt.isValidElement=Z,rt.lazy=function(y){return{$$typeof:M,_payload:{_status:-1,_result:y},_init:$}},rt.memo=function(y,D){return{$$typeof:g,type:y,compare:D===void 0?null:D}},rt.startTransition=function(y){var D=J.T,F={};J.T=F;try{var P=y(),X=J.S;X!==null&&X(F,P),typeof P=="object"&&P!==null&&typeof P.then=="function"&&P.then(ft,G)}catch(ot){G(ot)}finally{J.T=D}},rt.unstable_useCacheRefresh=function(){return J.H.useCacheRefresh()},rt.use=function(y){return J.H.use(y)},rt.useActionState=function(y,D,F){return J.H.useActionState(y,D,F)},rt.useCallback=function(y,D){return J.H.useCallback(y,D)},rt.useContext=function(y){return J.H.useContext(y)},rt.useDebugValue=function(){},rt.useDeferredValue=function(y,D){return J.H.useDeferredValue(y,D)},rt.useEffect=function(y,D){return J.H.useEffect(y,D)},rt.useId=function(){return J.H.useId()},rt.useImperativeHandle=function(y,D,F){return J.H.useImperativeHandle(y,D,F)},rt.useInsertionEffect=function(y,D){return J.H.useInsertionEffect(y,D)},rt.useLayoutEffect=function(y,D){return J.H.useLayoutEffect(y,D)},rt.useMemo=function(y,D){return J.H.useMemo(y,D)},rt.useOptimistic=function(y,D){return J.H.useOptimistic(y,D)},rt.useReducer=function(y,D,F){return J.H.useReducer(y,D,F)},rt.useRef=function(y){return J.H.useRef(y)},rt.useState=function(y){return J.H.useState(y)},rt.useSyncExternalStore=function(y,D,F){return J.H.useSyncExternalStore(y,D,F)},rt.useTransition=function(){return J.H.useTransition()},rt.version="19.0.0",rt}var lv;function pf(){return lv||(lv=1,nf.exports=Kh()),nf.exports}var H=pf();const Va=Tv(H);var uf={exports:{}},Du={},cf={exports:{}},sf={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var ev;function $h(){return ev||(ev=1,function(i){function r(w,$){var G=w.length;w.push($);t:for(;0<G;){var ft=G-1>>>1,y=w[ft];if(0<h(y,$))w[ft]=$,w[G]=y,G=ft;else break t}}function v(w){return w.length===0?null:w[0]}function s(w){if(w.length===0)return null;var $=w[0],G=w.pop();if(G!==$){w[0]=G;t:for(var ft=0,y=w.length,D=y>>>1;ft<D;){var F=2*(ft+1)-1,P=w[F],X=F+1,ot=w[X];if(0>h(P,G))X<y&&0>h(ot,P)?(w[ft]=ot,w[X]=G,ft=X):(w[ft]=P,w[F]=G,ft=F);else if(X<y&&0>h(ot,G))w[ft]=ot,w[X]=G,ft=X;else break t}}return $}function h(w,$){var G=w.sortIndex-$.sortIndex;return G!==0?G:w.id-$.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var S=performance;i.unstable_now=function(){return S.now()}}else{var _=Date,T=_.now();i.unstable_now=function(){return _.now()-T}}var x=[],g=[],M=1,U=null,q=3,z=!1,B=!1,V=!1,K=typeof setTimeout=="function"?setTimeout:null,Y=typeof clearTimeout=="function"?clearTimeout:null,W=typeof setImmediate<"u"?setImmediate:null;function tt(w){for(var $=v(g);$!==null;){if($.callback===null)s(g);else if($.startTime<=w)s(g),$.sortIndex=$.expirationTime,r(x,$);else break;$=v(g)}}function bt(w){if(V=!1,tt(w),!B)if(v(x)!==null)B=!0,gt();else{var $=v(g);$!==null&&zt(bt,$.startTime-w)}}var J=!1,Nt=-1,_t=5,kt=-1;function Z(){return!(i.unstable_now()-kt<_t)}function ct(){if(J){var w=i.unstable_now();kt=w;var $=!0;try{t:{B=!1,V&&(V=!1,Y(Nt),Nt=-1),z=!0;var G=q;try{l:{for(tt(w),U=v(x);U!==null&&!(U.expirationTime>w&&Z());){var ft=U.callback;if(typeof ft=="function"){U.callback=null,q=U.priorityLevel;var y=ft(U.expirationTime<=w);if(w=i.unstable_now(),typeof y=="function"){U.callback=y,tt(w),$=!0;break l}U===v(x)&&s(x),tt(w)}else s(x);U=v(x)}if(U!==null)$=!0;else{var D=v(g);D!==null&&zt(bt,D.startTime-w),$=!1}}break t}finally{U=null,q=G,z=!1}$=void 0}}finally{$?Bt():J=!1}}}var Bt;if(typeof W=="function")Bt=function(){W(ct)};else if(typeof MessageChannel<"u"){var Gt=new MessageChannel,Wt=Gt.port2;Gt.port1.onmessage=ct,Bt=function(){Wt.postMessage(null)}}else Bt=function(){K(ct,0)};function gt(){J||(J=!0,Bt())}function zt(w,$){Nt=K(function(){w(i.unstable_now())},$)}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(w){w.callback=null},i.unstable_continueExecution=function(){B||z||(B=!0,gt())},i.unstable_forceFrameRate=function(w){0>w||125<w?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):_t=0<w?Math.floor(1e3/w):5},i.unstable_getCurrentPriorityLevel=function(){return q},i.unstable_getFirstCallbackNode=function(){return v(x)},i.unstable_next=function(w){switch(q){case 1:case 2:case 3:var $=3;break;default:$=q}var G=q;q=$;try{return w()}finally{q=G}},i.unstable_pauseExecution=function(){},i.unstable_requestPaint=function(){},i.unstable_runWithPriority=function(w,$){switch(w){case 1:case 2:case 3:case 4:case 5:break;default:w=3}var G=q;q=w;try{return $()}finally{q=G}},i.unstable_scheduleCallback=function(w,$,G){var ft=i.unstable_now();switch(typeof G=="object"&&G!==null?(G=G.delay,G=typeof G=="number"&&0<G?ft+G:ft):G=ft,w){case 1:var y=-1;break;case 2:y=250;break;case 5:y=1073741823;break;case 4:y=1e4;break;default:y=5e3}return y=G+y,w={id:M++,callback:$,priorityLevel:w,startTime:G,expirationTime:y,sortIndex:-1},G>ft?(w.sortIndex=G,r(g,w),v(x)===null&&w===v(g)&&(V?(Y(Nt),Nt=-1):V=!0,zt(bt,G-ft))):(w.sortIndex=y,r(x,w),B||z||(B=!0,gt())),w},i.unstable_shouldYield=Z,i.unstable_wrapCallback=function(w){var $=q;return function(){var G=q;q=$;try{return w.apply(this,arguments)}finally{q=G}}}}(sf)),sf}var av;function Jh(){return av||(av=1,cf.exports=$h()),cf.exports}var ff={exports:{}},Sl={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var nv;function kh(){if(nv)return Sl;nv=1;var i=pf();function r(x){var g="https://react.dev/errors/"+x;if(1<arguments.length){g+="?args[]="+encodeURIComponent(arguments[1]);for(var M=2;M<arguments.length;M++)g+="&args[]="+encodeURIComponent(arguments[M])}return"Minified React error #"+x+"; visit "+g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function v(){}var s={d:{f:v,r:function(){throw Error(r(522))},D:v,C:v,L:v,m:v,X:v,S:v,M:v},p:0,findDOMNode:null},h=Symbol.for("react.portal");function S(x,g,M){var U=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:h,key:U==null?null:""+U,children:x,containerInfo:g,implementation:M}}var _=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function T(x,g){if(x==="font")return"";if(typeof g=="string")return g==="use-credentials"?g:""}return Sl.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,Sl.createPortal=function(x,g){var M=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11)throw Error(r(299));return S(x,g,null,M)},Sl.flushSync=function(x){var g=_.T,M=s.p;try{if(_.T=null,s.p=2,x)return x()}finally{_.T=g,s.p=M,s.d.f()}},Sl.preconnect=function(x,g){typeof x=="string"&&(g?(g=g.crossOrigin,g=typeof g=="string"?g==="use-credentials"?g:"":void 0):g=null,s.d.C(x,g))},Sl.prefetchDNS=function(x){typeof x=="string"&&s.d.D(x)},Sl.preinit=function(x,g){if(typeof x=="string"&&g&&typeof g.as=="string"){var M=g.as,U=T(M,g.crossOrigin),q=typeof g.integrity=="string"?g.integrity:void 0,z=typeof g.fetchPriority=="string"?g.fetchPriority:void 0;M==="style"?s.d.S(x,typeof g.precedence=="string"?g.precedence:void 0,{crossOrigin:U,integrity:q,fetchPriority:z}):M==="script"&&s.d.X(x,{crossOrigin:U,integrity:q,fetchPriority:z,nonce:typeof g.nonce=="string"?g.nonce:void 0})}},Sl.preinitModule=function(x,g){if(typeof x=="string")if(typeof g=="object"&&g!==null){if(g.as==null||g.as==="script"){var M=T(g.as,g.crossOrigin);s.d.M(x,{crossOrigin:M,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0})}}else g==null&&s.d.M(x)},Sl.preload=function(x,g){if(typeof x=="string"&&typeof g=="object"&&g!==null&&typeof g.as=="string"){var M=g.as,U=T(M,g.crossOrigin);s.d.L(x,M,{crossOrigin:U,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0,type:typeof g.type=="string"?g.type:void 0,fetchPriority:typeof g.fetchPriority=="string"?g.fetchPriority:void 0,referrerPolicy:typeof g.referrerPolicy=="string"?g.referrerPolicy:void 0,imageSrcSet:typeof g.imageSrcSet=="string"?g.imageSrcSet:void 0,imageSizes:typeof g.imageSizes=="string"?g.imageSizes:void 0,media:typeof g.media=="string"?g.media:void 0})}},Sl.preloadModule=function(x,g){if(typeof x=="string")if(g){var M=T(g.as,g.crossOrigin);s.d.m(x,{as:typeof g.as=="string"&&g.as!=="script"?g.as:void 0,crossOrigin:M,integrity:typeof g.integrity=="string"?g.integrity:void 0})}else s.d.m(x)},Sl.requestFormReset=function(x){s.d.r(x)},Sl.unstable_batchedUpdates=function(x,g){return x(g)},Sl.useFormState=function(x,g,M){return _.H.useFormState(x,g,M)},Sl.useFormStatus=function(){return _.H.useHostTransitionStatus()},Sl.version="19.0.0",Sl}var uv;function Wh(){if(uv)return ff.exports;uv=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(r){console.error(r)}}return i(),ff.exports=kh(),ff.exports}/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var cv;function Fh(){if(cv)return Du;cv=1;var i=Jh(),r=pf(),v=Wh();function s(t){var l="https://react.dev/errors/"+t;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var e=2;e<arguments.length;e++)l+="&args[]="+encodeURIComponent(arguments[e])}return"Minified React error #"+t+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function h(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}var S=Symbol.for("react.element"),_=Symbol.for("react.transitional.element"),T=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),U=Symbol.for("react.provider"),q=Symbol.for("react.consumer"),z=Symbol.for("react.context"),B=Symbol.for("react.forward_ref"),V=Symbol.for("react.suspense"),K=Symbol.for("react.suspense_list"),Y=Symbol.for("react.memo"),W=Symbol.for("react.lazy"),tt=Symbol.for("react.offscreen"),bt=Symbol.for("react.memo_cache_sentinel"),J=Symbol.iterator;function Nt(t){return t===null||typeof t!="object"?null:(t=J&&t[J]||t["@@iterator"],typeof t=="function"?t:null)}var _t=Symbol.for("react.client.reference");function kt(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===_t?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case x:return"Fragment";case T:return"Portal";case M:return"Profiler";case g:return"StrictMode";case V:return"Suspense";case K:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case z:return(t.displayName||"Context")+".Provider";case q:return(t._context.displayName||"Context")+".Consumer";case B:var l=t.render;return t=t.displayName,t||(t=l.displayName||l.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Y:return l=t.displayName||null,l!==null?l:kt(t.type)||"Memo";case W:l=t._payload,t=t._init;try{return kt(t(l))}catch{}}return null}var Z=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ct=Object.assign,Bt,Gt;function Wt(t){if(Bt===void 0)try{throw Error()}catch(e){var l=e.stack.trim().match(/\n( *(at )?)/);Bt=l&&l[1]||"",Gt=-1<e.stack.indexOf(`
    at`)?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Bt+t+Gt}var gt=!1;function zt(t,l){if(!t||gt)return"";gt=!0;var e=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(l){var C=function(){throw Error()};if(Object.defineProperty(C.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(C,[])}catch(j){var O=j}Reflect.construct(t,[],C)}else{try{C.call()}catch(j){O=j}t.call(C.prototype)}}else{try{throw Error()}catch(j){O=j}(C=t())&&typeof C.catch=="function"&&C.catch(function(){})}}catch(j){if(j&&O&&typeof j.stack=="string")return[j.stack,O.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),c=u[0],f=u[1];if(c&&f){var m=c.split(`
`),b=f.split(`
`);for(n=a=0;a<m.length&&!m[a].includes("DetermineComponentFrameRoot");)a++;for(;n<b.length&&!b[n].includes("DetermineComponentFrameRoot");)n++;if(a===m.length||n===b.length)for(a=m.length-1,n=b.length-1;1<=a&&0<=n&&m[a]!==b[n];)n--;for(;1<=a&&0<=n;a--,n--)if(m[a]!==b[n]){if(a!==1||n!==1)do if(a--,n--,0>n||m[a]!==b[n]){var N=`
`+m[a].replace(" at new "," at ");return t.displayName&&N.includes("<anonymous>")&&(N=N.replace("<anonymous>",t.displayName)),N}while(1<=a&&0<=n);break}}}finally{gt=!1,Error.prepareStackTrace=e}return(e=t?t.displayName||t.name:"")?Wt(e):""}function w(t){switch(t.tag){case 26:case 27:case 5:return Wt(t.type);case 16:return Wt("Lazy");case 13:return Wt("Suspense");case 19:return Wt("SuspenseList");case 0:case 15:return t=zt(t.type,!1),t;case 11:return t=zt(t.type.render,!1),t;case 1:return t=zt(t.type,!0),t;default:return""}}function $(t){try{var l="";do l+=w(t),t=t.return;while(t);return l}catch(e){return`
Error generating stack: `+e.message+`
`+e.stack}}function G(t){var l=t,e=t;if(t.alternate)for(;l.return;)l=l.return;else{t=l;do l=t,(l.flags&4098)!==0&&(e=l.return),t=l.return;while(t)}return l.tag===3?e:null}function ft(t){if(t.tag===13){var l=t.memoizedState;if(l===null&&(t=t.alternate,t!==null&&(l=t.memoizedState)),l!==null)return l.dehydrated}return null}function y(t){if(G(t)!==t)throw Error(s(188))}function D(t){var l=t.alternate;if(!l){if(l=G(t),l===null)throw Error(s(188));return l!==t?null:t}for(var e=t,a=l;;){var n=e.return;if(n===null)break;var u=n.alternate;if(u===null){if(a=n.return,a!==null){e=a;continue}break}if(n.child===u.child){for(u=n.child;u;){if(u===e)return y(n),t;if(u===a)return y(n),l;u=u.sibling}throw Error(s(188))}if(e.return!==a.return)e=n,a=u;else{for(var c=!1,f=n.child;f;){if(f===e){c=!0,e=n,a=u;break}if(f===a){c=!0,a=n,e=u;break}f=f.sibling}if(!c){for(f=u.child;f;){if(f===e){c=!0,e=u,a=n;break}if(f===a){c=!0,a=u,e=n;break}f=f.sibling}if(!c)throw Error(s(189))}}if(e.alternate!==a)throw Error(s(190))}if(e.tag!==3)throw Error(s(188));return e.stateNode.current===e?t:l}function F(t){var l=t.tag;if(l===5||l===26||l===27||l===6)return t;for(t=t.child;t!==null;){if(l=F(t),l!==null)return l;t=t.sibling}return null}var P=Array.isArray,X=v.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ot={pending:!1,data:null,method:null,action:null},st=[],Ft=-1;function nt(t){return{current:t}}function Mt(t){0>Ft||(t.current=st[Ft],st[Ft]=null,Ft--)}function pt(t,l){Ft++,st[Ft]=t.current,t.current=l}var al=nt(null),Il=nt(null),dl=nt(null),Ge=nt(null);function il(t,l){switch(pt(dl,l),pt(Il,t),pt(al,null),t=l.nodeType,t){case 9:case 11:l=(l=l.documentElement)&&(l=l.namespaceURI)?jd(l):0;break;default:if(t=t===8?l.parentNode:l,l=t.tagName,t=t.namespaceURI)t=jd(t),l=Nd(t,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}Mt(al),pt(al,l)}function te(){Mt(al),Mt(Il),Mt(dl)}function le(t){t.memoizedState!==null&&pt(Ge,t);var l=al.current,e=Nd(l,t.type);l!==e&&(pt(Il,t),pt(al,e))}function Hl(t){Il.current===t&&(Mt(al),Mt(Il)),Ge.current===t&&(Mt(Ge),Tu._currentValue=ot)}var Ut=Object.prototype.hasOwnProperty,Ee=i.unstable_scheduleCallback,xe=i.unstable_cancelCallback,_a=i.unstable_shouldYield,Ea=i.unstable_requestPaint,_l=i.unstable_now,Qe=i.unstable_getCurrentPriorityLevel,ee=i.unstable_ImmediatePriority,Ze=i.unstable_UserBlockingPriority,wl=i.unstable_NormalPriority,Ve=i.unstable_LowPriority,Ke=i.unstable_IdlePriority,$e=i.log,xa=i.unstable_setDisableYieldValue,vl=null,Et=null;function ka(t){if(Et&&typeof Et.onCommitFiberRoot=="function")try{Et.onCommitFiberRoot(vl,t,void 0,(t.current.flags&128)===128)}catch{}}function Tl(t){if(typeof $e=="function"&&xa(t),Et&&typeof Et.setStrictMode=="function")try{Et.setStrictMode(vl,t)}catch{}}var It=Math.clz32?Math.clz32:ke,Ta=Math.log,Je=Math.LN2;function ke(t){return t>>>=0,t===0?32:31-(Ta(t)/Je|0)|0}var ae=128,de=4194304;function ql(t){var l=t&42;if(l!==0)return l;switch(t&-t){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:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Yt(t,l){var e=t.pendingLanes;if(e===0)return 0;var a=0,n=t.suspendedLanes,u=t.pingedLanes,c=t.warmLanes;t=t.finishedLanes!==0;var f=e&134217727;return f!==0?(e=f&~n,e!==0?a=ql(e):(u&=f,u!==0?a=ql(u):t||(c=f&~c,c!==0&&(a=ql(c))))):(f=e&~n,f!==0?a=ql(f):u!==0?a=ql(u):t||(c=e&~c,c!==0&&(a=ql(c)))),a===0?0:l!==0&&l!==a&&(l&n)===0&&(n=a&-a,c=l&-l,n>=c||n===32&&(c&4194176)!==0)?l:a}function sl(t,l){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&l)===0}function lt(t,l){switch(t){case 1:case 2:case 4:case 8:return l+250;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 l+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ht(){var t=ae;return ae<<=1,(ae&4194176)===0&&(ae=128),t}function pl(){var t=de;return de<<=1,(de&62914560)===0&&(de=4194304),t}function ne(t){for(var l=[],e=0;31>e;e++)l.push(t);return l}function L(t,l){t.pendingLanes|=l,l!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function at(t,l,e,a,n,u){var c=t.pendingLanes;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=e,t.entangledLanes&=e,t.errorRecoveryDisabledLanes&=e,t.shellSuspendCounter=0;var f=t.entanglements,m=t.expirationTimes,b=t.hiddenUpdates;for(e=c&~e;0<e;){var N=31-It(e),C=1<<N;f[N]=0,m[N]=-1;var O=b[N];if(O!==null)for(b[N]=null,N=0;N<O.length;N++){var j=O[N];j!==null&&(j.lane&=-536870913)}e&=~C}a!==0&&ut(t,a,0),u!==0&&n===0&&t.tag!==0&&(t.suspendedLanes|=u&~(c&~l))}function ut(t,l,e){t.pendingLanes|=l,t.suspendedLanes&=~l;var a=31-It(l);t.entangledLanes|=l,t.entanglements[a]=t.entanglements[a]|1073741824|e&4194218}function Qt(t,l){var e=t.entangledLanes|=l;for(t=t.entanglements;e;){var a=31-It(e),n=1<<a;n&l|t[a]&l&&(t[a]|=l),e&=~n}}function nl(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Nl(){var t=X.p;return t!==0?t:(t=window.event,t===void 0?32:Kd(t.type))}function Bl(t,l){var e=X.p;try{return X.p=t,l()}finally{X.p=e}}var qt=Math.random().toString(36).slice(2),jt="__reactFiber$"+qt,dt="__reactProps$"+qt,Yl="__reactContainer$"+qt,wn="__reactEvents$"+qt,Bu="__reactListeners$"+qt,Yu="__reactHandles$"+qt,qn="__reactResources$"+qt,We="__reactMarker$"+qt;function Ot(t){delete t[jt],delete t[dt],delete t[wn],delete t[Bu],delete t[Yu]}function ml(t){var l=t[jt];if(l)return l;for(var e=t.parentNode;e;){if(l=e[Yl]||e[jt]){if(e=l.alternate,l.child!==null||e!==null&&e.child!==null)for(t=Rd(t);t!==null;){if(e=t[jt])return e;t=Rd(t)}return l}t=e,e=t.parentNode}return null}function ve(t){if(t=t[jt]||t[Yl]){var l=t.tag;if(l===5||l===6||l===13||l===26||l===27||l===3)return t}return null}function ue(t){var l=t.tag;if(l===5||l===26||l===27||l===6)return t.stateNode;throw Error(s(33))}function Fe(t){var l=t[qn];return l||(l=t[qn]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function Zt(t){t[We]=!0}var Af=new Set,Of={};function Aa(t,l){Wa(t,l),Wa(t+"Capture",l)}function Wa(t,l){for(Of[t]=l,t=0;t<l.length;t++)Af.add(l[t])}var Te=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),qv=RegExp("^[: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]*$"),jf={},Nf={};function Bv(t){return Ut.call(Nf,t)?!0:Ut.call(jf,t)?!1:qv.test(t)?Nf[t]=!0:(jf[t]=!0,!1)}function Lu(t,l,e){if(Bv(l))if(e===null)t.removeAttribute(l);else{switch(typeof e){case"undefined":case"function":case"symbol":t.removeAttribute(l);return;case"boolean":var a=l.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){t.removeAttribute(l);return}}t.setAttribute(l,""+e)}}function Xu(t,l,e){if(e===null)t.removeAttribute(l);else{switch(typeof e){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttribute(l,""+e)}}function Ae(t,l,e,a){if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttributeNS(l,e,""+a)}}function Ll(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function zf(t){var l=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function Yv(t){var l=zf(t)?"checked":"value",e=Object.getOwnPropertyDescriptor(t.constructor.prototype,l),a=""+t[l];if(!t.hasOwnProperty(l)&&typeof e<"u"&&typeof e.get=="function"&&typeof e.set=="function"){var n=e.get,u=e.set;return Object.defineProperty(t,l,{configurable:!0,get:function(){return n.call(this)},set:function(c){a=""+c,u.call(this,c)}}),Object.defineProperty(t,l,{enumerable:e.enumerable}),{getValue:function(){return a},setValue:function(c){a=""+c},stopTracking:function(){t._valueTracker=null,delete t[l]}}}}function Gu(t){t._valueTracker||(t._valueTracker=Yv(t))}function Df(t){if(!t)return!1;var l=t._valueTracker;if(!l)return!0;var e=l.getValue(),a="";return t&&(a=zf(t)?t.checked?"true":"false":t.value),t=a,t!==e?(l.setValue(t),!0):!1}function Qu(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Lv=/[\n"\\]/g;function Xl(t){return t.replace(Lv,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function li(t,l,e,a,n,u,c,f){t.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?t.type=c:t.removeAttribute("type"),l!=null?c==="number"?(l===0&&t.value===""||t.value!=l)&&(t.value=""+Ll(l)):t.value!==""+Ll(l)&&(t.value=""+Ll(l)):c!=="submit"&&c!=="reset"||t.removeAttribute("value"),l!=null?ei(t,c,Ll(l)):e!=null?ei(t,c,Ll(e)):a!=null&&t.removeAttribute("value"),n==null&&u!=null&&(t.defaultChecked=!!u),n!=null&&(t.checked=n&&typeof n!="function"&&typeof n!="symbol"),f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?t.name=""+Ll(f):t.removeAttribute("name")}function Rf(t,l,e,a,n,u,c,f){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.type=u),l!=null||e!=null){if(!(u!=="submit"&&u!=="reset"||l!=null))return;e=e!=null?""+Ll(e):"",l=l!=null?""+Ll(l):e,f||l===t.value||(t.value=l),t.defaultValue=l}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=f?t.checked:!!a,t.defaultChecked=!!a,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(t.name=c)}function ei(t,l,e){l==="number"&&Qu(t.ownerDocument)===t||t.defaultValue===""+e||(t.defaultValue=""+e)}function Fa(t,l,e,a){if(t=t.options,l){l={};for(var n=0;n<e.length;n++)l["$"+e[n]]=!0;for(e=0;e<t.length;e++)n=l.hasOwnProperty("$"+t[e].value),t[e].selected!==n&&(t[e].selected=n),n&&a&&(t[e].defaultSelected=!0)}else{for(e=""+Ll(e),l=null,n=0;n<t.length;n++){if(t[n].value===e){t[n].selected=!0,a&&(t[n].defaultSelected=!0);return}l!==null||t[n].disabled||(l=t[n])}l!==null&&(l.selected=!0)}}function Mf(t,l,e){if(l!=null&&(l=""+Ll(l),l!==t.value&&(t.value=l),e==null)){t.defaultValue!==l&&(t.defaultValue=l);return}t.defaultValue=e!=null?""+Ll(e):""}function Uf(t,l,e,a){if(l==null){if(a!=null){if(e!=null)throw Error(s(92));if(P(a)){if(1<a.length)throw Error(s(93));a=a[0]}e=a}e==null&&(e=""),l=e}e=Ll(l),t.defaultValue=e,a=t.textContent,a===e&&a!==""&&a!==null&&(t.value=a)}function Pa(t,l){if(l){var e=t.firstChild;if(e&&e===t.lastChild&&e.nodeType===3){e.nodeValue=l;return}}t.textContent=l}var Xv=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Cf(t,l,e){var a=l.indexOf("--")===0;e==null||typeof e=="boolean"||e===""?a?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="":a?t.setProperty(l,e):typeof e!="number"||e===0||Xv.has(l)?l==="float"?t.cssFloat=e:t[l]=(""+e).trim():t[l]=e+"px"}function Hf(t,l,e){if(l!=null&&typeof l!="object")throw Error(s(62));if(t=t.style,e!=null){for(var a in e)!e.hasOwnProperty(a)||l!=null&&l.hasOwnProperty(a)||(a.indexOf("--")===0?t.setProperty(a,""):a==="float"?t.cssFloat="":t[a]="");for(var n in l)a=l[n],l.hasOwnProperty(n)&&e[n]!==a&&Cf(t,n,a)}else for(var u in l)l.hasOwnProperty(u)&&Cf(t,u,l[u])}function ai(t){if(t.indexOf("-")===-1)return!1;switch(t){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 Gv=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Qv=/^[\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;function Zu(t){return Qv.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var ni=null;function ui(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Ia=null,tn=null;function wf(t){var l=ve(t);if(l&&(t=l.stateNode)){var e=t[dt]||null;t:switch(t=l.stateNode,l.type){case"input":if(li(t,e.value,e.defaultValue,e.defaultValue,e.checked,e.defaultChecked,e.type,e.name),l=e.name,e.type==="radio"&&l!=null){for(e=t;e.parentNode;)e=e.parentNode;for(e=e.querySelectorAll('input[name="'+Xl(""+l)+'"][type="radio"]'),l=0;l<e.length;l++){var a=e[l];if(a!==t&&a.form===t.form){var n=a[dt]||null;if(!n)throw Error(s(90));li(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(l=0;l<e.length;l++)a=e[l],a.form===t.form&&Df(a)}break t;case"textarea":Mf(t,e.value,e.defaultValue);break t;case"select":l=e.value,l!=null&&Fa(t,!!e.multiple,l,!1)}}}var ci=!1;function qf(t,l,e){if(ci)return t(l,e);ci=!0;try{var a=t(l);return a}finally{if(ci=!1,(Ia!==null||tn!==null)&&(jc(),Ia&&(l=Ia,t=tn,tn=Ia=null,wf(l),t)))for(l=0;l<t.length;l++)wf(t[l])}}function Bn(t,l){var e=t.stateNode;if(e===null)return null;var a=e[dt]||null;if(a===null)return null;e=a[l];t:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(t=t.type,a=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!a;break t;default:t=!1}if(t)return null;if(e&&typeof e!="function")throw Error(s(231,l,typeof e));return e}var ii=!1;if(Te)try{var Yn={};Object.defineProperty(Yn,"passive",{get:function(){ii=!0}}),window.addEventListener("test",Yn,Yn),window.removeEventListener("test",Yn,Yn)}catch{ii=!1}var Pe=null,si=null,Vu=null;function Bf(){if(Vu)return Vu;var t,l=si,e=l.length,a,n="value"in Pe?Pe.value:Pe.textContent,u=n.length;for(t=0;t<e&&l[t]===n[t];t++);var c=e-t;for(a=1;a<=c&&l[e-a]===n[u-a];a++);return Vu=n.slice(t,1<a?1-a:void 0)}function Ku(t){var l=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&l===13&&(t=13)):t=l,t===10&&(t=13),32<=t||t===13?t:0}function $u(){return!0}function Yf(){return!1}function Al(t){function l(e,a,n,u,c){this._reactName=e,this._targetInst=n,this.type=a,this.nativeEvent=u,this.target=c,this.currentTarget=null;for(var f in t)t.hasOwnProperty(f)&&(e=t[f],this[f]=e?e(u):u[f]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?$u:Yf,this.isPropagationStopped=Yf,this}return ct(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!="unknown"&&(e.returnValue=!1),this.isDefaultPrevented=$u)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!="unknown"&&(e.cancelBubble=!0),this.isPropagationStopped=$u)},persist:function(){},isPersistent:$u}),l}var Oa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ju=Al(Oa),Ln=ct({},Oa,{view:0,detail:0}),Zv=Al(Ln),fi,ri,Xn,ku=ct({},Ln,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:di,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Xn&&(Xn&&t.type==="mousemove"?(fi=t.screenX-Xn.screenX,ri=t.screenY-Xn.screenY):ri=fi=0,Xn=t),fi)},movementY:function(t){return"movementY"in t?t.movementY:ri}}),Lf=Al(ku),Vv=ct({},ku,{dataTransfer:0}),Kv=Al(Vv),$v=ct({},Ln,{relatedTarget:0}),oi=Al($v),Jv=ct({},Oa,{animationName:0,elapsedTime:0,pseudoElement:0}),kv=Al(Jv),Wv=ct({},Oa,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Fv=Al(Wv),Pv=ct({},Oa,{data:0}),Xf=Al(Pv),Iv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},tm={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"},lm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function em(t){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(t):(t=lm[t])?!!l[t]:!1}function di(){return em}var am=ct({},Ln,{key:function(t){if(t.key){var l=Iv[t.key]||t.key;if(l!=="Unidentified")return l}return t.type==="keypress"?(t=Ku(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?tm[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:di,charCode:function(t){return t.type==="keypress"?Ku(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Ku(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),nm=Al(am),um=ct({},ku,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Gf=Al(um),cm=ct({},Ln,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:di}),im=Al(cm),sm=ct({},Oa,{propertyName:0,elapsedTime:0,pseudoElement:0}),fm=Al(sm),rm=ct({},ku,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),om=Al(rm),dm=ct({},Oa,{newState:0,oldState:0}),vm=Al(dm),mm=[9,13,27,32],vi=Te&&"CompositionEvent"in window,Gn=null;Te&&"documentMode"in document&&(Gn=document.documentMode);var hm=Te&&"TextEvent"in window&&!Gn,Qf=Te&&(!vi||Gn&&8<Gn&&11>=Gn),Zf=" ",Vf=!1;function Kf(t,l){switch(t){case"keyup":return mm.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $f(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ln=!1;function ym(t,l){switch(t){case"compositionend":return $f(l);case"keypress":return l.which!==32?null:(Vf=!0,Zf);case"textInput":return t=l.data,t===Zf&&Vf?null:t;default:return null}}function gm(t,l){if(ln)return t==="compositionend"||!vi&&Kf(t,l)?(t=Bf(),Vu=si=Pe=null,ln=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return Qf&&l.locale!=="ko"?null:l.data;default:return null}}var pm={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 Jf(t){var l=t&&t.nodeName&&t.nodeName.toLowerCase();return l==="input"?!!pm[t.type]:l==="textarea"}function kf(t,l,e,a){Ia?tn?tn.push(a):tn=[a]:Ia=a,l=Mc(l,"onChange"),0<l.length&&(e=new Ju("onChange","change",null,e,a),t.push({event:e,listeners:l}))}var Qn=null,Zn=null;function bm(t){Ed(t,0)}function Wu(t){var l=ue(t);if(Df(l))return t}function Wf(t,l){if(t==="change")return l}var Ff=!1;if(Te){var mi;if(Te){var hi="oninput"in document;if(!hi){var Pf=document.createElement("div");Pf.setAttribute("oninput","return;"),hi=typeof Pf.oninput=="function"}mi=hi}else mi=!1;Ff=mi&&(!document.documentMode||9<document.documentMode)}function If(){Qn&&(Qn.detachEvent("onpropertychange",tr),Zn=Qn=null)}function tr(t){if(t.propertyName==="value"&&Wu(Zn)){var l=[];kf(l,Zn,t,ui(t)),qf(bm,l)}}function Sm(t,l,e){t==="focusin"?(If(),Qn=l,Zn=e,Qn.attachEvent("onpropertychange",tr)):t==="focusout"&&If()}function _m(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Wu(Zn)}function Em(t,l){if(t==="click")return Wu(l)}function xm(t,l){if(t==="input"||t==="change")return Wu(l)}function Tm(t,l){return t===l&&(t!==0||1/t===1/l)||t!==t&&l!==l}var zl=typeof Object.is=="function"?Object.is:Tm;function Vn(t,l){if(zl(t,l))return!0;if(typeof t!="object"||t===null||typeof l!="object"||l===null)return!1;var e=Object.keys(t),a=Object.keys(l);if(e.length!==a.length)return!1;for(a=0;a<e.length;a++){var n=e[a];if(!Ut.call(l,n)||!zl(t[n],l[n]))return!1}return!0}function lr(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function er(t,l){var e=lr(t);t=0;for(var a;e;){if(e.nodeType===3){if(a=t+e.textContent.length,t<=l&&a>=l)return{node:e,offset:l-t};t=a}t:{for(;e;){if(e.nextSibling){e=e.nextSibling;break t}e=e.parentNode}e=void 0}e=lr(e)}}function ar(t,l){return t&&l?t===l?!0:t&&t.nodeType===3?!1:l&&l.nodeType===3?ar(t,l.parentNode):"contains"in t?t.contains(l):t.compareDocumentPosition?!!(t.compareDocumentPosition(l)&16):!1:!1}function nr(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var l=Qu(t.document);l instanceof t.HTMLIFrameElement;){try{var e=typeof l.contentWindow.location.href=="string"}catch{e=!1}if(e)t=l.contentWindow;else break;l=Qu(t.document)}return l}function yi(t){var l=t&&t.nodeName&&t.nodeName.toLowerCase();return l&&(l==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||l==="textarea"||t.contentEditable==="true")}function Am(t,l){var e=nr(l);l=t.focusedElem;var a=t.selectionRange;if(e!==l&&l&&l.ownerDocument&&ar(l.ownerDocument.documentElement,l)){if(a!==null&&yi(l)){if(t=a.start,e=a.end,e===void 0&&(e=t),"selectionStart"in l)l.selectionStart=t,l.selectionEnd=Math.min(e,l.value.length);else if(e=(t=l.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var n=l.textContent.length,u=Math.min(a.start,n);a=a.end===void 0?u:Math.min(a.end,n),!e.extend&&u>a&&(n=a,a=u,u=n),n=er(l,u);var c=er(l,a);n&&c&&(e.rangeCount!==1||e.anchorNode!==n.node||e.anchorOffset!==n.offset||e.focusNode!==c.node||e.focusOffset!==c.offset)&&(t=t.createRange(),t.setStart(n.node,n.offset),e.removeAllRanges(),u>a?(e.addRange(t),e.extend(c.node,c.offset)):(t.setEnd(c.node,c.offset),e.addRange(t)))}}for(t=[],e=l;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l<t.length;l++)e=t[l],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Om=Te&&"documentMode"in document&&11>=document.documentMode,en=null,gi=null,Kn=null,pi=!1;function ur(t,l,e){var a=e.window===e?e.document:e.nodeType===9?e:e.ownerDocument;pi||en==null||en!==Qu(a)||(a=en,"selectionStart"in a&&yi(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Kn&&Vn(Kn,a)||(Kn=a,a=Mc(gi,"onSelect"),0<a.length&&(l=new Ju("onSelect","select",null,l,e),t.push({event:l,listeners:a}),l.target=en)))}function ja(t,l){var e={};return e[t.toLowerCase()]=l.toLowerCase(),e["Webkit"+t]="webkit"+l,e["Moz"+t]="moz"+l,e}var an={animationend:ja("Animation","AnimationEnd"),animationiteration:ja("Animation","AnimationIteration"),animationstart:ja("Animation","AnimationStart"),transitionrun:ja("Transition","TransitionRun"),transitionstart:ja("Transition","TransitionStart"),transitioncancel:ja("Transition","TransitionCancel"),transitionend:ja("Transition","TransitionEnd")},bi={},cr={};Te&&(cr=document.createElement("div").style,"AnimationEvent"in window||(delete an.animationend.animation,delete an.animationiteration.animation,delete an.animationstart.animation),"TransitionEvent"in window||delete an.transitionend.transition);function Na(t){if(bi[t])return bi[t];if(!an[t])return t;var l=an[t],e;for(e in l)if(l.hasOwnProperty(e)&&e in cr)return bi[t]=l[e];return t}var ir=Na("animationend"),sr=Na("animationiteration"),fr=Na("animationstart"),jm=Na("transitionrun"),Nm=Na("transitionstart"),zm=Na("transitioncancel"),rr=Na("transitionend"),or=new Map,dr="abort auxClick beforeToggle 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 scrollEnd toggle touchMove waiting wheel".split(" ");function ce(t,l){or.set(t,l),Aa(l,[t])}var Gl=[],nn=0,Si=0;function Fu(){for(var t=nn,l=Si=nn=0;l<t;){var e=Gl[l];Gl[l++]=null;var a=Gl[l];Gl[l++]=null;var n=Gl[l];Gl[l++]=null;var u=Gl[l];if(Gl[l++]=null,a!==null&&n!==null){var c=a.pending;c===null?n.next=n:(n.next=c.next,c.next=n),a.pending=n}u!==0&&vr(e,n,u)}}function Pu(t,l,e,a){Gl[nn++]=t,Gl[nn++]=l,Gl[nn++]=e,Gl[nn++]=a,Si|=a,t.lanes|=a,t=t.alternate,t!==null&&(t.lanes|=a)}function _i(t,l,e,a){return Pu(t,l,e,a),Iu(t)}function Ie(t,l){return Pu(t,null,null,l),Iu(t)}function vr(t,l,e){t.lanes|=e;var a=t.alternate;a!==null&&(a.lanes|=e);for(var n=!1,u=t.return;u!==null;)u.childLanes|=e,a=u.alternate,a!==null&&(a.childLanes|=e),u.tag===22&&(t=u.stateNode,t===null||t._visibility&1||(n=!0)),t=u,u=u.return;n&&l!==null&&t.tag===3&&(u=t.stateNode,n=31-It(e),u=u.hiddenUpdates,t=u[n],t===null?u[n]=[l]:t.push(l),l.lane=e|536870912)}function Iu(t){if(50<gu)throw gu=0,js=null,Error(s(185));for(var l=t.return;l!==null;)t=l,l=t.return;return t.tag===3?t.stateNode:null}var un={},mr=new WeakMap;function Ql(t,l){if(typeof t=="object"&&t!==null){var e=mr.get(t);return e!==void 0?e:(l={value:t,source:l,stack:$(l)},mr.set(t,l),l)}return{value:t,source:l,stack:$(l)}}var cn=[],sn=0,tc=null,lc=0,Zl=[],Vl=0,za=null,Oe=1,je="";function Da(t,l){cn[sn++]=lc,cn[sn++]=tc,tc=t,lc=l}function hr(t,l,e){Zl[Vl++]=Oe,Zl[Vl++]=je,Zl[Vl++]=za,za=t;var a=Oe;t=je;var n=32-It(a)-1;a&=~(1<<n),e+=1;var u=32-It(l)+n;if(30<u){var c=n-n%5;u=(a&(1<<c)-1).toString(32),a>>=c,n-=c,Oe=1<<32-It(l)+n|e<<n|a,je=u+t}else Oe=1<<u|e<<n|a,je=t}function Ei(t){t.return!==null&&(Da(t,1),hr(t,1,0))}function xi(t){for(;t===tc;)tc=cn[--sn],cn[sn]=null,lc=cn[--sn],cn[sn]=null;for(;t===za;)za=Zl[--Vl],Zl[Vl]=null,je=Zl[--Vl],Zl[Vl]=null,Oe=Zl[--Vl],Zl[Vl]=null}var El=null,hl=null,Tt=!1,ie=null,me=!1,Ti=Error(s(519));function Ra(t){var l=Error(s(418,""));throw kn(Ql(l,t)),Ti}function yr(t){var l=t.stateNode,e=t.type,a=t.memoizedProps;switch(l[jt]=t,l[dt]=a,e){case"dialog":St("cancel",l),St("close",l);break;case"iframe":case"object":case"embed":St("load",l);break;case"video":case"audio":for(e=0;e<bu.length;e++)St(bu[e],l);break;case"source":St("error",l);break;case"img":case"image":case"link":St("error",l),St("load",l);break;case"details":St("toggle",l);break;case"input":St("invalid",l),Rf(l,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0),Gu(l);break;case"select":St("invalid",l);break;case"textarea":St("invalid",l),Uf(l,a.value,a.defaultValue,a.children),Gu(l)}e=a.children,typeof e!="string"&&typeof e!="number"&&typeof e!="bigint"||l.textContent===""+e||a.suppressHydrationWarning===!0||Od(l.textContent,e)?(a.popover!=null&&(St("beforetoggle",l),St("toggle",l)),a.onScroll!=null&&St("scroll",l),a.onScrollEnd!=null&&St("scrollend",l),a.onClick!=null&&(l.onclick=Uc),l=!0):l=!1,l||Ra(t)}function gr(t){for(El=t.return;El;)switch(El.tag){case 3:case 27:me=!0;return;case 5:case 13:me=!1;return;default:El=El.return}}function $n(t){if(t!==El)return!1;if(!Tt)return gr(t),Tt=!0,!1;var l=!1,e;if((e=t.tag!==3&&t.tag!==27)&&((e=t.tag===5)&&(e=t.type,e=!(e!=="form"&&e!=="button")||Zs(t.type,t.memoizedProps)),e=!e),e&&(l=!0),l&&hl&&Ra(t),gr(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(s(317));t:{for(t=t.nextSibling,l=0;t;){if(t.nodeType===8)if(e=t.data,e==="/$"){if(l===0){hl=fe(t.nextSibling);break t}l--}else e!=="$"&&e!=="$!"&&e!=="$?"||l++;t=t.nextSibling}hl=null}}else hl=El?fe(t.stateNode.nextSibling):null;return!0}function Jn(){hl=El=null,Tt=!1}function kn(t){ie===null?ie=[t]:ie.push(t)}var Wn=Error(s(460)),pr=Error(s(474)),Ai={then:function(){}};function br(t){return t=t.status,t==="fulfilled"||t==="rejected"}function ec(){}function Sr(t,l,e){switch(e=t[e],e===void 0?t.push(l):e!==l&&(l.then(ec,ec),l=e),l.status){case"fulfilled":return l.value;case"rejected":throw t=l.reason,t===Wn?Error(s(483)):t;default:if(typeof l.status=="string")l.then(ec,ec);else{if(t=Ht,t!==null&&100<t.shellSuspendCounter)throw Error(s(482));t=l,t.status="pending",t.then(function(a){if(l.status==="pending"){var n=l;n.status="fulfilled",n.value=a}},function(a){if(l.status==="pending"){var n=l;n.status="rejected",n.reason=a}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw t=l.reason,t===Wn?Error(s(483)):t}throw Fn=l,Wn}}var Fn=null;function _r(){if(Fn===null)throw Error(s(459));var t=Fn;return Fn=null,t}var fn=null,Pn=0;function ac(t){var l=Pn;return Pn+=1,fn===null&&(fn=[]),Sr(fn,t,l)}function In(t,l){l=l.props.ref,t.ref=l!==void 0?l:null}function nc(t,l){throw l.$$typeof===S?Error(s(525)):(t=Object.prototype.toString.call(l),Error(s(31,t==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":t)))}function Er(t){var l=t._init;return l(t._payload)}function xr(t){function l(E,p){if(t){var A=E.deletions;A===null?(E.deletions=[p],E.flags|=16):A.push(p)}}function e(E,p){if(!t)return null;for(;p!==null;)l(E,p),p=p.sibling;return null}function a(E){for(var p=new Map;E!==null;)E.key!==null?p.set(E.key,E):p.set(E.index,E),E=E.sibling;return p}function n(E,p){return E=oa(E,p),E.index=0,E.sibling=null,E}function u(E,p,A){return E.index=A,t?(A=E.alternate,A!==null?(A=A.index,A<p?(E.flags|=33554434,p):A):(E.flags|=33554434,p)):(E.flags|=1048576,p)}function c(E){return t&&E.alternate===null&&(E.flags|=33554434),E}function f(E,p,A,R){return p===null||p.tag!==6?(p=bs(A,E.mode,R),p.return=E,p):(p=n(p,A),p.return=E,p)}function m(E,p,A,R){var Q=A.type;return Q===x?N(E,p,A.props.children,R,A.key):p!==null&&(p.elementType===Q||typeof Q=="object"&&Q!==null&&Q.$$typeof===W&&Er(Q)===p.type)?(p=n(p,A.props),In(p,A),p.return=E,p):(p=Ec(A.type,A.key,A.props,null,E.mode,R),In(p,A),p.return=E,p)}function b(E,p,A,R){return p===null||p.tag!==4||p.stateNode.containerInfo!==A.containerInfo||p.stateNode.implementation!==A.implementation?(p=Ss(A,E.mode,R),p.return=E,p):(p=n(p,A.children||[]),p.return=E,p)}function N(E,p,A,R,Q){return p===null||p.tag!==7?(p=Xa(A,E.mode,R,Q),p.return=E,p):(p=n(p,A),p.return=E,p)}function C(E,p,A){if(typeof p=="string"&&p!==""||typeof p=="number"||typeof p=="bigint")return p=bs(""+p,E.mode,A),p.return=E,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case _:return A=Ec(p.type,p.key,p.props,null,E.mode,A),In(A,p),A.return=E,A;case T:return p=Ss(p,E.mode,A),p.return=E,p;case W:var R=p._init;return p=R(p._payload),C(E,p,A)}if(P(p)||Nt(p))return p=Xa(p,E.mode,A,null),p.return=E,p;if(typeof p.then=="function")return C(E,ac(p),A);if(p.$$typeof===z)return C(E,bc(E,p),A);nc(E,p)}return null}function O(E,p,A,R){var Q=p!==null?p.key:null;if(typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint")return Q!==null?null:f(E,p,""+A,R);if(typeof A=="object"&&A!==null){switch(A.$$typeof){case _:return A.key===Q?m(E,p,A,R):null;case T:return A.key===Q?b(E,p,A,R):null;case W:return Q=A._init,A=Q(A._payload),O(E,p,A,R)}if(P(A)||Nt(A))return Q!==null?null:N(E,p,A,R,null);if(typeof A.then=="function")return O(E,p,ac(A),R);if(A.$$typeof===z)return O(E,p,bc(E,A),R);nc(E,A)}return null}function j(E,p,A,R,Q){if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return E=E.get(A)||null,f(p,E,""+R,Q);if(typeof R=="object"&&R!==null){switch(R.$$typeof){case _:return E=E.get(R.key===null?A:R.key)||null,m(p,E,R,Q);case T:return E=E.get(R.key===null?A:R.key)||null,b(p,E,R,Q);case W:var mt=R._init;return R=mt(R._payload),j(E,p,A,R,Q)}if(P(R)||Nt(R))return E=E.get(A)||null,N(p,E,R,Q,null);if(typeof R.then=="function")return j(E,p,A,ac(R),Q);if(R.$$typeof===z)return j(E,p,A,bc(p,R),Q);nc(p,R)}return null}function k(E,p,A,R){for(var Q=null,mt=null,I=p,et=p=0,ol=null;I!==null&&et<A.length;et++){I.index>et?(ol=I,I=null):ol=I.sibling;var At=O(E,I,A[et],R);if(At===null){I===null&&(I=ol);break}t&&I&&At.alternate===null&&l(E,I),p=u(At,p,et),mt===null?Q=At:mt.sibling=At,mt=At,I=ol}if(et===A.length)return e(E,I),Tt&&Da(E,et),Q;if(I===null){for(;et<A.length;et++)I=C(E,A[et],R),I!==null&&(p=u(I,p,et),mt===null?Q=I:mt.sibling=I,mt=I);return Tt&&Da(E,et),Q}for(I=a(I);et<A.length;et++)ol=j(I,E,et,A[et],R),ol!==null&&(t&&ol.alternate!==null&&I.delete(ol.key===null?et:ol.key),p=u(ol,p,et),mt===null?Q=ol:mt.sibling=ol,mt=ol);return t&&I.forEach(function(pa){return l(E,pa)}),Tt&&Da(E,et),Q}function it(E,p,A,R){if(A==null)throw Error(s(151));for(var Q=null,mt=null,I=p,et=p=0,ol=null,At=A.next();I!==null&&!At.done;et++,At=A.next()){I.index>et?(ol=I,I=null):ol=I.sibling;var pa=O(E,I,At.value,R);if(pa===null){I===null&&(I=ol);break}t&&I&&pa.alternate===null&&l(E,I),p=u(pa,p,et),mt===null?Q=pa:mt.sibling=pa,mt=pa,I=ol}if(At.done)return e(E,I),Tt&&Da(E,et),Q;if(I===null){for(;!At.done;et++,At=A.next())At=C(E,At.value,R),At!==null&&(p=u(At,p,et),mt===null?Q=At:mt.sibling=At,mt=At);return Tt&&Da(E,et),Q}for(I=a(I);!At.done;et++,At=A.next())At=j(I,E,et,At.value,R),At!==null&&(t&&At.alternate!==null&&I.delete(At.key===null?et:At.key),p=u(At,p,et),mt===null?Q=At:mt.sibling=At,mt=At);return t&&I.forEach(function(Qh){return l(E,Qh)}),Tt&&Da(E,et),Q}function $t(E,p,A,R){if(typeof A=="object"&&A!==null&&A.type===x&&A.key===null&&(A=A.props.children),typeof A=="object"&&A!==null){switch(A.$$typeof){case _:t:{for(var Q=A.key;p!==null;){if(p.key===Q){if(Q=A.type,Q===x){if(p.tag===7){e(E,p.sibling),R=n(p,A.props.children),R.return=E,E=R;break t}}else if(p.elementType===Q||typeof Q=="object"&&Q!==null&&Q.$$typeof===W&&Er(Q)===p.type){e(E,p.sibling),R=n(p,A.props),In(R,A),R.return=E,E=R;break t}e(E,p);break}else l(E,p);p=p.sibling}A.type===x?(R=Xa(A.props.children,E.mode,R,A.key),R.return=E,E=R):(R=Ec(A.type,A.key,A.props,null,E.mode,R),In(R,A),R.return=E,E=R)}return c(E);case T:t:{for(Q=A.key;p!==null;){if(p.key===Q)if(p.tag===4&&p.stateNode.containerInfo===A.containerInfo&&p.stateNode.implementation===A.implementation){e(E,p.sibling),R=n(p,A.children||[]),R.return=E,E=R;break t}else{e(E,p);break}else l(E,p);p=p.sibling}R=Ss(A,E.mode,R),R.return=E,E=R}return c(E);case W:return Q=A._init,A=Q(A._payload),$t(E,p,A,R)}if(P(A))return k(E,p,A,R);if(Nt(A)){if(Q=Nt(A),typeof Q!="function")throw Error(s(150));return A=Q.call(A),it(E,p,A,R)}if(typeof A.then=="function")return $t(E,p,ac(A),R);if(A.$$typeof===z)return $t(E,p,bc(E,A),R);nc(E,A)}return typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint"?(A=""+A,p!==null&&p.tag===6?(e(E,p.sibling),R=n(p,A),R.return=E,E=R):(e(E,p),R=bs(A,E.mode,R),R.return=E,E=R),c(E)):e(E,p)}return function(E,p,A,R){try{Pn=0;var Q=$t(E,p,A,R);return fn=null,Q}catch(I){if(I===Wn)throw I;var mt=kl(29,I,null,E.mode);return mt.lanes=R,mt.return=E,mt}finally{}}}var Ma=xr(!0),Tr=xr(!1),rn=nt(null),uc=nt(0);function Ar(t,l){t=Be,pt(uc,t),pt(rn,l),Be=t|l.baseLanes}function Oi(){pt(uc,Be),pt(rn,rn.current)}function ji(){Be=uc.current,Mt(rn),Mt(uc)}var Kl=nt(null),he=null;function ta(t){var l=t.alternate;pt(ul,ul.current&1),pt(Kl,t),he===null&&(l===null||rn.current!==null||l.memoizedState!==null)&&(he=t)}function Or(t){if(t.tag===22){if(pt(ul,ul.current),pt(Kl,t),he===null){var l=t.alternate;l!==null&&l.memoizedState!==null&&(he=t)}}else la()}function la(){pt(ul,ul.current),pt(Kl,Kl.current)}function Ne(t){Mt(Kl),he===t&&(he=null),Mt(ul)}var ul=nt(0);function cc(t){for(var l=t;l!==null;){if(l.tag===13){var e=l.memoizedState;if(e!==null&&(e=e.dehydrated,e===null||e.data==="$?"||e.data==="$!"))return l}else if(l.tag===19&&l.memoizedProps.revealOrder!==void 0){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break;for(;l.sibling===null;){if(l.return===null||l.return===t)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var Dm=typeof AbortController<"u"?AbortController:function(){var t=[],l=this.signal={aborted:!1,addEventListener:function(e,a){t.push(a)}};this.abort=function(){l.aborted=!0,t.forEach(function(e){return e()})}},Rm=i.unstable_scheduleCallback,Mm=i.unstable_NormalPriority,cl={$$typeof:z,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ni(){return{controller:new Dm,data:new Map,refCount:0}}function tu(t){t.refCount--,t.refCount===0&&Rm(Mm,function(){t.controller.abort()})}var lu=null,zi=0,on=0,dn=null;function Um(t,l){if(lu===null){var e=lu=[];zi=0,on=Hs(),dn={status:"pending",value:void 0,then:function(a){e.push(a)}}}return zi++,l.then(jr,jr),l}function jr(){if(--zi===0&&lu!==null){dn!==null&&(dn.status="fulfilled");var t=lu;lu=null,on=0,dn=null;for(var l=0;l<t.length;l++)(0,t[l])()}}function Cm(t,l){var e=[],a={status:"pending",value:null,reason:null,then:function(n){e.push(n)}};return t.then(function(){a.status="fulfilled",a.value=l;for(var n=0;n<e.length;n++)(0,e[n])(l)},function(n){for(a.status="rejected",a.reason=n,n=0;n<e.length;n++)(0,e[n])(void 0)}),a}var Nr=Z.S;Z.S=function(t,l){typeof l=="object"&&l!==null&&typeof l.then=="function"&&Um(t,l),Nr!==null&&Nr(t,l)};var Ua=nt(null);function Di(){var t=Ua.current;return t!==null?t:Ht.pooledCache}function ic(t,l){l===null?pt(Ua,Ua.current):pt(Ua,l.pool)}function zr(){var t=Di();return t===null?null:{parent:cl._currentValue,pool:t}}var ea=0,vt=null,Dt=null,tl=null,sc=!1,vn=!1,Ca=!1,fc=0,eu=0,mn=null,Hm=0;function Pt(){throw Error(s(321))}function Ri(t,l){if(l===null)return!1;for(var e=0;e<l.length&&e<t.length;e++)if(!zl(t[e],l[e]))return!1;return!0}function Mi(t,l,e,a,n,u){return ea=u,vt=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,Z.H=t===null||t.memoizedState===null?Ha:aa,Ca=!1,u=e(a,n),Ca=!1,vn&&(u=Rr(l,e,a,n)),Dr(t),u}function Dr(t){Z.H=ye;var l=Dt!==null&&Dt.next!==null;if(ea=0,tl=Dt=vt=null,sc=!1,eu=0,mn=null,l)throw Error(s(300));t===null||fl||(t=t.dependencies,t!==null&&pc(t)&&(fl=!0))}function Rr(t,l,e,a){vt=t;var n=0;do{if(vn&&(mn=null),eu=0,vn=!1,25<=n)throw Error(s(301));if(n+=1,tl=Dt=null,t.updateQueue!=null){var u=t.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}Z.H=wa,u=l(e,a)}while(vn);return u}function wm(){var t=Z.H,l=t.useState()[0];return l=typeof l.then=="function"?au(l):l,t=t.useState()[0],(Dt!==null?Dt.memoizedState:null)!==t&&(vt.flags|=1024),l}function Ui(){var t=fc!==0;return fc=0,t}function Ci(t,l,e){l.updateQueue=t.updateQueue,l.flags&=-2053,t.lanes&=~e}function Hi(t){if(sc){for(t=t.memoizedState;t!==null;){var l=t.queue;l!==null&&(l.pending=null),t=t.next}sc=!1}ea=0,tl=Dt=vt=null,vn=!1,eu=fc=0,mn=null}function Ol(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return tl===null?vt.memoizedState=tl=t:tl=tl.next=t,tl}function ll(){if(Dt===null){var t=vt.alternate;t=t!==null?t.memoizedState:null}else t=Dt.next;var l=tl===null?vt.memoizedState:tl.next;if(l!==null)tl=l,Dt=t;else{if(t===null)throw vt.alternate===null?Error(s(467)):Error(s(310));Dt=t,t={memoizedState:Dt.memoizedState,baseState:Dt.baseState,baseQueue:Dt.baseQueue,queue:Dt.queue,next:null},tl===null?vt.memoizedState=tl=t:tl=tl.next=t}return tl}var rc;rc=function(){return{lastEffect:null,events:null,stores:null,memoCache:null}};function au(t){var l=eu;return eu+=1,mn===null&&(mn=[]),t=Sr(mn,t,l),l=vt,(tl===null?l.memoizedState:tl.next)===null&&(l=l.alternate,Z.H=l===null||l.memoizedState===null?Ha:aa),t}function oc(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return au(t);if(t.$$typeof===z)return bl(t)}throw Error(s(438,String(t)))}function wi(t){var l=null,e=vt.updateQueue;if(e!==null&&(l=e.memoCache),l==null){var a=vt.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(l={data:a.data.map(function(n){return n.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),e===null&&(e=rc(),vt.updateQueue=e),e.memoCache=l,e=l.data[l.index],e===void 0)for(e=l.data[l.index]=Array(t),a=0;a<t;a++)e[a]=bt;return l.index++,e}function ze(t,l){return typeof l=="function"?l(t):l}function dc(t){var l=ll();return qi(l,Dt,t)}function qi(t,l,e){var a=t.queue;if(a===null)throw Error(s(311));a.lastRenderedReducer=e;var n=t.baseQueue,u=a.pending;if(u!==null){if(n!==null){var c=n.next;n.next=u.next,u.next=c}l.baseQueue=n=u,a.pending=null}if(u=t.baseState,n===null)t.memoizedState=u;else{l=n.next;var f=c=null,m=null,b=l,N=!1;do{var C=b.lane&-536870913;if(C!==b.lane?(xt&C)===C:(ea&C)===C){var O=b.revertLane;if(O===0)m!==null&&(m=m.next={lane:0,revertLane:0,action:b.action,hasEagerState:b.hasEagerState,eagerState:b.eagerState,next:null}),C===on&&(N=!0);else if((ea&O)===O){b=b.next,O===on&&(N=!0);continue}else C={lane:0,revertLane:b.revertLane,action:b.action,hasEagerState:b.hasEagerState,eagerState:b.eagerState,next:null},m===null?(f=m=C,c=u):m=m.next=C,vt.lanes|=O,da|=O;C=b.action,Ca&&e(u,C),u=b.hasEagerState?b.eagerState:e(u,C)}else O={lane:C,revertLane:b.revertLane,action:b.action,hasEagerState:b.hasEagerState,eagerState:b.eagerState,next:null},m===null?(f=m=O,c=u):m=m.next=O,vt.lanes|=C,da|=C;b=b.next}while(b!==null&&b!==l);if(m===null?c=u:m.next=f,!zl(u,t.memoizedState)&&(fl=!0,N&&(e=dn,e!==null)))throw e;t.memoizedState=u,t.baseState=c,t.baseQueue=m,a.lastRenderedState=u}return n===null&&(a.lanes=0),[t.memoizedState,a.dispatch]}function Bi(t){var l=ll(),e=l.queue;if(e===null)throw Error(s(311));e.lastRenderedReducer=t;var a=e.dispatch,n=e.pending,u=l.memoizedState;if(n!==null){e.pending=null;var c=n=n.next;do u=t(u,c.action),c=c.next;while(c!==n);zl(u,l.memoizedState)||(fl=!0),l.memoizedState=u,l.baseQueue===null&&(l.baseState=u),e.lastRenderedState=u}return[u,a]}function Mr(t,l,e){var a=vt,n=ll(),u=Tt;if(u){if(e===void 0)throw Error(s(407));e=e()}else e=l();var c=!zl((Dt||n).memoizedState,e);if(c&&(n.memoizedState=e,fl=!0),n=n.queue,Xi(Hr.bind(null,a,n,t),[t]),n.getSnapshot!==l||c||tl!==null&&tl.memoizedState.tag&1){if(a.flags|=2048,hn(9,Cr.bind(null,a,n,e,l),{destroy:void 0},null),Ht===null)throw Error(s(349));u||(ea&60)!==0||Ur(a,l,e)}return e}function Ur(t,l,e){t.flags|=16384,t={getSnapshot:l,value:e},l=vt.updateQueue,l===null?(l=rc(),vt.updateQueue=l,l.stores=[t]):(e=l.stores,e===null?l.stores=[t]:e.push(t))}function Cr(t,l,e,a){l.value=e,l.getSnapshot=a,wr(l)&&qr(t)}function Hr(t,l,e){return e(function(){wr(l)&&qr(t)})}function wr(t){var l=t.getSnapshot;t=t.value;try{var e=l();return!zl(t,e)}catch{return!0}}function qr(t){var l=Ie(t,2);l!==null&&xl(l,t,2)}function Yi(t){var l=Ol();if(typeof t=="function"){var e=t;if(t=e(),Ca){Tl(!0);try{e()}finally{Tl(!1)}}}return l.memoizedState=l.baseState=t,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ze,lastRenderedState:t},l}function Br(t,l,e,a){return t.baseState=e,qi(t,Dt,typeof a=="function"?a:ze)}function qm(t,l,e,a,n){if(hc(t))throw Error(s(485));if(t=l.action,t!==null){var u={payload:n,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(c){u.listeners.push(c)}};Z.T!==null?e(!0):u.isTransition=!1,a(u),e=l.pending,e===null?(u.next=l.pending=u,Yr(l,u)):(u.next=e.next,l.pending=e.next=u)}}function Yr(t,l){var e=l.action,a=l.payload,n=t.state;if(l.isTransition){var u=Z.T,c={};Z.T=c;try{var f=e(n,a),m=Z.S;m!==null&&m(c,f),Lr(t,l,f)}catch(b){Li(t,l,b)}finally{Z.T=u}}else try{u=e(n,a),Lr(t,l,u)}catch(b){Li(t,l,b)}}function Lr(t,l,e){e!==null&&typeof e=="object"&&typeof e.then=="function"?e.then(function(a){Xr(t,l,a)},function(a){return Li(t,l,a)}):Xr(t,l,e)}function Xr(t,l,e){l.status="fulfilled",l.value=e,Gr(l),t.state=e,l=t.pending,l!==null&&(e=l.next,e===l?t.pending=null:(e=e.next,l.next=e,Yr(t,e)))}function Li(t,l,e){var a=t.pending;if(t.pending=null,a!==null){a=a.next;do l.status="rejected",l.reason=e,Gr(l),l=l.next;while(l!==a)}t.action=null}function Gr(t){t=t.listeners;for(var l=0;l<t.length;l++)(0,t[l])()}function Qr(t,l){return l}function Zr(t,l){if(Tt){var e=Ht.formState;if(e!==null){t:{var a=vt;if(Tt){if(hl){l:{for(var n=hl,u=me;n.nodeType!==8;){if(!u){n=null;break l}if(n=fe(n.nextSibling),n===null){n=null;break l}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){hl=fe(n.nextSibling),a=n.data==="F!";break t}}Ra(a)}a=!1}a&&(l=e[0])}}return e=Ol(),e.memoizedState=e.baseState=l,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Qr,lastRenderedState:l},e.queue=a,e=so.bind(null,vt,a),a.dispatch=e,a=Yi(!1),u=Ki.bind(null,vt,!1,a.queue),a=Ol(),n={state:l,dispatch:null,action:t,pending:null},a.queue=n,e=qm.bind(null,vt,n,u,e),n.dispatch=e,a.memoizedState=t,[l,e,!1]}function Vr(t){var l=ll();return Kr(l,Dt,t)}function Kr(t,l,e){l=qi(t,l,Qr)[0],t=dc(ze)[0],l=typeof l=="object"&&l!==null&&typeof l.then=="function"?au(l):l;var a=ll(),n=a.queue,u=n.dispatch;return e!==a.memoizedState&&(vt.flags|=2048,hn(9,Bm.bind(null,n,e),{destroy:void 0},null)),[l,u,t]}function Bm(t,l){t.action=l}function $r(t){var l=ll(),e=Dt;if(e!==null)return Kr(l,e,t);ll(),l=l.memoizedState,e=ll();var a=e.queue.dispatch;return e.memoizedState=t,[l,a,!1]}function hn(t,l,e,a){return t={tag:t,create:l,inst:e,deps:a,next:null},l=vt.updateQueue,l===null&&(l=rc(),vt.updateQueue=l),e=l.lastEffect,e===null?l.lastEffect=t.next=t:(a=e.next,e.next=t,t.next=a,l.lastEffect=t),t}function Jr(){return ll().memoizedState}function vc(t,l,e,a){var n=Ol();vt.flags|=t,n.memoizedState=hn(1|l,e,{destroy:void 0},a===void 0?null:a)}function mc(t,l,e,a){var n=ll();a=a===void 0?null:a;var u=n.memoizedState.inst;Dt!==null&&a!==null&&Ri(a,Dt.memoizedState.deps)?n.memoizedState=hn(l,e,u,a):(vt.flags|=t,n.memoizedState=hn(1|l,e,u,a))}function kr(t,l){vc(8390656,8,t,l)}function Xi(t,l){mc(2048,8,t,l)}function Wr(t,l){return mc(4,2,t,l)}function Fr(t,l){return mc(4,4,t,l)}function Pr(t,l){if(typeof l=="function"){t=t();var e=l(t);return function(){typeof e=="function"?e():l(null)}}if(l!=null)return t=t(),l.current=t,function(){l.current=null}}function Ir(t,l,e){e=e!=null?e.concat([t]):null,mc(4,4,Pr.bind(null,l,t),e)}function Gi(){}function to(t,l){var e=ll();l=l===void 0?null:l;var a=e.memoizedState;return l!==null&&Ri(l,a[1])?a[0]:(e.memoizedState=[t,l],t)}function lo(t,l){var e=ll();l=l===void 0?null:l;var a=e.memoizedState;if(l!==null&&Ri(l,a[1]))return a[0];if(a=t(),Ca){Tl(!0);try{t()}finally{Tl(!1)}}return e.memoizedState=[a,l],a}function Qi(t,l,e){return e===void 0||(ea&1073741824)!==0?t.memoizedState=l:(t.memoizedState=e,t=nd(),vt.lanes|=t,da|=t,e)}function eo(t,l,e,a){return zl(e,l)?e:rn.current!==null?(t=Qi(t,e,a),zl(t,l)||(fl=!0),t):(ea&42)===0?(fl=!0,t.memoizedState=e):(t=nd(),vt.lanes|=t,da|=t,l)}function ao(t,l,e,a,n){var u=X.p;X.p=u!==0&&8>u?u:8;var c=Z.T,f={};Z.T=f,Ki(t,!1,l,e);try{var m=n(),b=Z.S;if(b!==null&&b(f,m),m!==null&&typeof m=="object"&&typeof m.then=="function"){var N=Cm(m,a);nu(t,l,N,Ul(t))}else nu(t,l,a,Ul(t))}catch(C){nu(t,l,{then:function(){},status:"rejected",reason:C},Ul())}finally{X.p=u,Z.T=c}}function Ym(){}function Zi(t,l,e,a){if(t.tag!==5)throw Error(s(476));var n=no(t).queue;ao(t,n,l,ot,e===null?Ym:function(){return uo(t),e(a)})}function no(t){var l=t.memoizedState;if(l!==null)return l;l={memoizedState:ot,baseState:ot,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ze,lastRenderedState:ot},next:null};var e={};return l.next={memoizedState:e,baseState:e,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ze,lastRenderedState:e},next:null},t.memoizedState=l,t=t.alternate,t!==null&&(t.memoizedState=l),l}function uo(t){var l=no(t).next.queue;nu(t,l,{},Ul())}function Vi(){return bl(Tu)}function co(){return ll().memoizedState}function io(){return ll().memoizedState}function Lm(t){for(var l=t.return;l!==null;){switch(l.tag){case 24:case 3:var e=Ul();t=ca(e);var a=ia(l,t,e);a!==null&&(xl(a,l,e),iu(a,l,e)),l={cache:Ni()},t.payload=l;return}l=l.return}}function Xm(t,l,e){var a=Ul();e={lane:a,revertLane:0,action:e,hasEagerState:!1,eagerState:null,next:null},hc(t)?fo(l,e):(e=_i(t,l,e,a),e!==null&&(xl(e,t,a),ro(e,l,a)))}function so(t,l,e){var a=Ul();nu(t,l,e,a)}function nu(t,l,e,a){var n={lane:a,revertLane:0,action:e,hasEagerState:!1,eagerState:null,next:null};if(hc(t))fo(l,n);else{var u=t.alternate;if(t.lanes===0&&(u===null||u.lanes===0)&&(u=l.lastRenderedReducer,u!==null))try{var c=l.lastRenderedState,f=u(c,e);if(n.hasEagerState=!0,n.eagerState=f,zl(f,c))return Pu(t,l,n,0),Ht===null&&Fu(),!1}catch{}finally{}if(e=_i(t,l,n,a),e!==null)return xl(e,t,a),ro(e,l,a),!0}return!1}function Ki(t,l,e,a){if(a={lane:2,revertLane:Hs(),action:a,hasEagerState:!1,eagerState:null,next:null},hc(t)){if(l)throw Error(s(479))}else l=_i(t,e,a,2),l!==null&&xl(l,t,2)}function hc(t){var l=t.alternate;return t===vt||l!==null&&l===vt}function fo(t,l){vn=sc=!0;var e=t.pending;e===null?l.next=l:(l.next=e.next,e.next=l),t.pending=l}function ro(t,l,e){if((e&4194176)!==0){var a=l.lanes;a&=t.pendingLanes,e|=a,l.lanes=e,Qt(t,e)}}var ye={readContext:bl,use:oc,useCallback:Pt,useContext:Pt,useEffect:Pt,useImperativeHandle:Pt,useLayoutEffect:Pt,useInsertionEffect:Pt,useMemo:Pt,useReducer:Pt,useRef:Pt,useState:Pt,useDebugValue:Pt,useDeferredValue:Pt,useTransition:Pt,useSyncExternalStore:Pt,useId:Pt};ye.useCacheRefresh=Pt,ye.useMemoCache=Pt,ye.useHostTransitionStatus=Pt,ye.useFormState=Pt,ye.useActionState=Pt,ye.useOptimistic=Pt;var Ha={readContext:bl,use:oc,useCallback:function(t,l){return Ol().memoizedState=[t,l===void 0?null:l],t},useContext:bl,useEffect:kr,useImperativeHandle:function(t,l,e){e=e!=null?e.concat([t]):null,vc(4194308,4,Pr.bind(null,l,t),e)},useLayoutEffect:function(t,l){return vc(4194308,4,t,l)},useInsertionEffect:function(t,l){vc(4,2,t,l)},useMemo:function(t,l){var e=Ol();l=l===void 0?null:l;var a=t();if(Ca){Tl(!0);try{t()}finally{Tl(!1)}}return e.memoizedState=[a,l],a},useReducer:function(t,l,e){var a=Ol();if(e!==void 0){var n=e(l);if(Ca){Tl(!0);try{e(l)}finally{Tl(!1)}}}else n=l;return a.memoizedState=a.baseState=n,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:n},a.queue=t,t=t.dispatch=Xm.bind(null,vt,t),[a.memoizedState,t]},useRef:function(t){var l=Ol();return t={current:t},l.memoizedState=t},useState:function(t){t=Yi(t);var l=t.queue,e=so.bind(null,vt,l);return l.dispatch=e,[t.memoizedState,e]},useDebugValue:Gi,useDeferredValue:function(t,l){var e=Ol();return Qi(e,t,l)},useTransition:function(){var t=Yi(!1);return t=ao.bind(null,vt,t.queue,!0,!1),Ol().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,l,e){var a=vt,n=Ol();if(Tt){if(e===void 0)throw Error(s(407));e=e()}else{if(e=l(),Ht===null)throw Error(s(349));(xt&60)!==0||Ur(a,l,e)}n.memoizedState=e;var u={value:e,getSnapshot:l};return n.queue=u,kr(Hr.bind(null,a,u,t),[t]),a.flags|=2048,hn(9,Cr.bind(null,a,u,e,l),{destroy:void 0},null),e},useId:function(){var t=Ol(),l=Ht.identifierPrefix;if(Tt){var e=je,a=Oe;e=(a&~(1<<32-It(a)-1)).toString(32)+e,l=":"+l+"R"+e,e=fc++,0<e&&(l+="H"+e.toString(32)),l+=":"}else e=Hm++,l=":"+l+"r"+e.toString(32)+":";return t.memoizedState=l},useCacheRefresh:function(){return Ol().memoizedState=Lm.bind(null,vt)}};Ha.useMemoCache=wi,Ha.useHostTransitionStatus=Vi,Ha.useFormState=Zr,Ha.useActionState=Zr,Ha.useOptimistic=function(t){var l=Ol();l.memoizedState=l.baseState=t;var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=e,l=Ki.bind(null,vt,!0,e),e.dispatch=l,[t,l]};var aa={readContext:bl,use:oc,useCallback:to,useContext:bl,useEffect:Xi,useImperativeHandle:Ir,useInsertionEffect:Wr,useLayoutEffect:Fr,useMemo:lo,useReducer:dc,useRef:Jr,useState:function(){return dc(ze)},useDebugValue:Gi,useDeferredValue:function(t,l){var e=ll();return eo(e,Dt.memoizedState,t,l)},useTransition:function(){var t=dc(ze)[0],l=ll().memoizedState;return[typeof t=="boolean"?t:au(t),l]},useSyncExternalStore:Mr,useId:co};aa.useCacheRefresh=io,aa.useMemoCache=wi,aa.useHostTransitionStatus=Vi,aa.useFormState=Vr,aa.useActionState=Vr,aa.useOptimistic=function(t,l){var e=ll();return Br(e,Dt,t,l)};var wa={readContext:bl,use:oc,useCallback:to,useContext:bl,useEffect:Xi,useImperativeHandle:Ir,useInsertionEffect:Wr,useLayoutEffect:Fr,useMemo:lo,useReducer:Bi,useRef:Jr,useState:function(){return Bi(ze)},useDebugValue:Gi,useDeferredValue:function(t,l){var e=ll();return Dt===null?Qi(e,t,l):eo(e,Dt.memoizedState,t,l)},useTransition:function(){var t=Bi(ze)[0],l=ll().memoizedState;return[typeof t=="boolean"?t:au(t),l]},useSyncExternalStore:Mr,useId:co};wa.useCacheRefresh=io,wa.useMemoCache=wi,wa.useHostTransitionStatus=Vi,wa.useFormState=$r,wa.useActionState=$r,wa.useOptimistic=function(t,l){var e=ll();return Dt!==null?Br(e,Dt,t,l):(e.baseState=t,[t,e.queue.dispatch])};function $i(t,l,e,a){l=t.memoizedState,e=e(a,l),e=e==null?l:ct({},l,e),t.memoizedState=e,t.lanes===0&&(t.updateQueue.baseState=e)}var Ji={isMounted:function(t){return(t=t._reactInternals)?G(t)===t:!1},enqueueSetState:function(t,l,e){t=t._reactInternals;var a=Ul(),n=ca(a);n.payload=l,e!=null&&(n.callback=e),l=ia(t,n,a),l!==null&&(xl(l,t,a),iu(l,t,a))},enqueueReplaceState:function(t,l,e){t=t._reactInternals;var a=Ul(),n=ca(a);n.tag=1,n.payload=l,e!=null&&(n.callback=e),l=ia(t,n,a),l!==null&&(xl(l,t,a),iu(l,t,a))},enqueueForceUpdate:function(t,l){t=t._reactInternals;var e=Ul(),a=ca(e);a.tag=2,l!=null&&(a.callback=l),l=ia(t,a,e),l!==null&&(xl(l,t,e),iu(l,t,e))}};function oo(t,l,e,a,n,u,c){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,u,c):l.prototype&&l.prototype.isPureReactComponent?!Vn(e,a)||!Vn(n,u):!0}function vo(t,l,e,a){t=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(e,a),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(e,a),l.state!==t&&Ji.enqueueReplaceState(l,l.state,null)}function qa(t,l){var e=l;if("ref"in l){e={};for(var a in l)a!=="ref"&&(e[a]=l[a])}if(t=t.defaultProps){e===l&&(e=ct({},e));for(var n in t)e[n]===void 0&&(e[n]=t[n])}return e}var yc=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function mo(t){yc(t)}function ho(t){console.error(t)}function yo(t){yc(t)}function gc(t,l){try{var e=t.onUncaughtError;e(l.value,{componentStack:l.stack})}catch(a){setTimeout(function(){throw a})}}function go(t,l,e){try{var a=t.onCaughtError;a(e.value,{componentStack:e.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function ki(t,l,e){return e=ca(e),e.tag=3,e.payload={element:null},e.callback=function(){gc(t,l)},e}function po(t){return t=ca(t),t.tag=3,t}function bo(t,l,e,a){var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var u=a.value;t.payload=function(){return n(u)},t.callback=function(){go(l,e,a)}}var c=e.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(t.callback=function(){go(l,e,a),typeof n!="function"&&(va===null?va=new Set([this]):va.add(this));var f=a.stack;this.componentDidCatch(a.value,{componentStack:f!==null?f:""})})}function Gm(t,l,e,a,n){if(e.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(l=e.alternate,l!==null&&cu(l,e,n,!0),e=Kl.current,e!==null){switch(e.tag){case 13:return he===null?Ds():e.alternate===null&&Kt===0&&(Kt=3),e.flags&=-257,e.flags|=65536,e.lanes=n,a===Ai?e.flags|=16384:(l=e.updateQueue,l===null?e.updateQueue=new Set([a]):l.add(a),Ms(t,a,n)),!1;case 22:return e.flags|=65536,a===Ai?e.flags|=16384:(l=e.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([a])},e.updateQueue=l):(e=l.retryQueue,e===null?l.retryQueue=new Set([a]):e.add(a)),Ms(t,a,n)),!1}throw Error(s(435,e.tag))}return Ms(t,a,n),Ds(),!1}if(Tt)return l=Kl.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=n,a!==Ti&&(t=Error(s(422),{cause:a}),kn(Ql(t,e)))):(a!==Ti&&(l=Error(s(423),{cause:a}),kn(Ql(l,e))),t=t.current.alternate,t.flags|=65536,n&=-n,t.lanes|=n,a=Ql(a,e),n=ki(t.stateNode,a,n),rs(t,n),Kt!==4&&(Kt=2)),!1;var u=Error(s(520),{cause:a});if(u=Ql(u,e),hu===null?hu=[u]:hu.push(u),Kt!==4&&(Kt=2),l===null)return!0;a=Ql(a,e),e=l;do{switch(e.tag){case 3:return e.flags|=65536,t=n&-n,e.lanes|=t,t=ki(e.stateNode,a,t),rs(e,t),!1;case 1:if(l=e.type,u=e.stateNode,(e.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(va===null||!va.has(u))))return e.flags|=65536,n&=-n,e.lanes|=n,n=po(n),bo(n,t,e,a),rs(e,n),!1}e=e.return}while(e!==null);return!1}var So=Error(s(461)),fl=!1;function yl(t,l,e,a){l.child=t===null?Tr(l,null,e,a):Ma(l,t.child,e,a)}function _o(t,l,e,a,n){e=e.render;var u=l.ref;if("ref"in a){var c={};for(var f in a)f!=="ref"&&(c[f]=a[f])}else c=a;return Ya(l),a=Mi(t,l,e,c,u,n),f=Ui(),t!==null&&!fl?(Ci(t,l,n),De(t,l,n)):(Tt&&f&&Ei(l),l.flags|=1,yl(t,l,a,n),l.child)}function Eo(t,l,e,a,n){if(t===null){var u=e.type;return typeof u=="function"&&!ps(u)&&u.defaultProps===void 0&&e.compare===null?(l.tag=15,l.type=u,xo(t,l,u,a,n)):(t=Ec(e.type,null,a,l,l.mode,n),t.ref=l.ref,t.return=l,l.child=t)}if(u=t.child,!ns(t,n)){var c=u.memoizedProps;if(e=e.compare,e=e!==null?e:Vn,e(c,a)&&t.ref===l.ref)return De(t,l,n)}return l.flags|=1,t=oa(u,a),t.ref=l.ref,t.return=l,l.child=t}function xo(t,l,e,a,n){if(t!==null){var u=t.memoizedProps;if(Vn(u,a)&&t.ref===l.ref)if(fl=!1,l.pendingProps=a=u,ns(t,n))(t.flags&131072)!==0&&(fl=!0);else return l.lanes=t.lanes,De(t,l,n)}return Wi(t,l,e,a,n)}function To(t,l,e){var a=l.pendingProps,n=a.children,u=(l.stateNode._pendingVisibility&2)!==0,c=t!==null?t.memoizedState:null;if(uu(t,l),a.mode==="hidden"||u){if((l.flags&128)!==0){if(a=c!==null?c.baseLanes|e:e,t!==null){for(n=l.child=t.child,u=0;n!==null;)u=u|n.lanes|n.childLanes,n=n.sibling;l.childLanes=u&~a}else l.childLanes=0,l.child=null;return Ao(t,l,a,e)}if((e&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},t!==null&&ic(l,c!==null?c.cachePool:null),c!==null?Ar(l,c):Oi(),Or(l);else return l.lanes=l.childLanes=536870912,Ao(t,l,c!==null?c.baseLanes|e:e,e)}else c!==null?(ic(l,c.cachePool),Ar(l,c),la(),l.memoizedState=null):(t!==null&&ic(l,null),Oi(),la());return yl(t,l,n,e),l.child}function Ao(t,l,e,a){var n=Di();return n=n===null?null:{parent:cl._currentValue,pool:n},l.memoizedState={baseLanes:e,cachePool:n},t!==null&&ic(l,null),Oi(),Or(l),t!==null&&cu(t,l,a,!0),null}function uu(t,l){var e=l.ref;if(e===null)t!==null&&t.ref!==null&&(l.flags|=2097664);else{if(typeof e!="function"&&typeof e!="object")throw Error(s(284));(t===null||t.ref!==e)&&(l.flags|=2097664)}}function Wi(t,l,e,a,n){return Ya(l),e=Mi(t,l,e,a,void 0,n),a=Ui(),t!==null&&!fl?(Ci(t,l,n),De(t,l,n)):(Tt&&a&&Ei(l),l.flags|=1,yl(t,l,e,n),l.child)}function Oo(t,l,e,a,n,u){return Ya(l),l.updateQueue=null,e=Rr(l,a,e,n),Dr(t),a=Ui(),t!==null&&!fl?(Ci(t,l,u),De(t,l,u)):(Tt&&a&&Ei(l),l.flags|=1,yl(t,l,e,u),l.child)}function jo(t,l,e,a,n){if(Ya(l),l.stateNode===null){var u=un,c=e.contextType;typeof c=="object"&&c!==null&&(u=bl(c)),u=new e(a,u),l.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Ji,l.stateNode=u,u._reactInternals=l,u=l.stateNode,u.props=a,u.state=l.memoizedState,u.refs={},ss(l),c=e.contextType,u.context=typeof c=="object"&&c!==null?bl(c):un,u.state=l.memoizedState,c=e.getDerivedStateFromProps,typeof c=="function"&&($i(l,e,c,a),u.state=l.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(c=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),c!==u.state&&Ji.enqueueReplaceState(u,u.state,null),fu(l,a,u,n),su(),u.state=l.memoizedState),typeof u.componentDidMount=="function"&&(l.flags|=4194308),a=!0}else if(t===null){u=l.stateNode;var f=l.memoizedProps,m=qa(e,f);u.props=m;var b=u.context,N=e.contextType;c=un,typeof N=="object"&&N!==null&&(c=bl(N));var C=e.getDerivedStateFromProps;N=typeof C=="function"||typeof u.getSnapshotBeforeUpdate=="function",f=l.pendingProps!==f,N||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(f||b!==c)&&vo(l,u,a,c),ua=!1;var O=l.memoizedState;u.state=O,fu(l,a,u,n),su(),b=l.memoizedState,f||O!==b||ua?(typeof C=="function"&&($i(l,e,C,a),b=l.memoizedState),(m=ua||oo(l,e,m,a,O,b,c))?(N||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(l.flags|=4194308)):(typeof u.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=a,l.memoizedState=b),u.props=a,u.state=b,u.context=c,a=m):(typeof u.componentDidMount=="function"&&(l.flags|=4194308),a=!1)}else{u=l.stateNode,fs(t,l),c=l.memoizedProps,N=qa(e,c),u.props=N,C=l.pendingProps,O=u.context,b=e.contextType,m=un,typeof b=="object"&&b!==null&&(m=bl(b)),f=e.getDerivedStateFromProps,(b=typeof f=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(c!==C||O!==m)&&vo(l,u,a,m),ua=!1,O=l.memoizedState,u.state=O,fu(l,a,u,n),su();var j=l.memoizedState;c!==C||O!==j||ua||t!==null&&t.dependencies!==null&&pc(t.dependencies)?(typeof f=="function"&&($i(l,e,f,a),j=l.memoizedState),(N=ua||oo(l,e,N,a,O,j,m)||t!==null&&t.dependencies!==null&&pc(t.dependencies))?(b||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,j,m),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,j,m)),typeof u.componentDidUpdate=="function"&&(l.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof u.componentDidUpdate!="function"||c===t.memoizedProps&&O===t.memoizedState||(l.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===t.memoizedProps&&O===t.memoizedState||(l.flags|=1024),l.memoizedProps=a,l.memoizedState=j),u.props=a,u.state=j,u.context=m,a=N):(typeof u.componentDidUpdate!="function"||c===t.memoizedProps&&O===t.memoizedState||(l.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===t.memoizedProps&&O===t.memoizedState||(l.flags|=1024),a=!1)}return u=a,uu(t,l),a=(l.flags&128)!==0,u||a?(u=l.stateNode,e=a&&typeof e.getDerivedStateFromError!="function"?null:u.render(),l.flags|=1,t!==null&&a?(l.child=Ma(l,t.child,null,n),l.child=Ma(l,null,e,n)):yl(t,l,e,n),l.memoizedState=u.state,t=l.child):t=De(t,l,n),t}function No(t,l,e,a){return Jn(),l.flags|=256,yl(t,l,e,a),l.child}var Fi={dehydrated:null,treeContext:null,retryLane:0};function Pi(t){return{baseLanes:t,cachePool:zr()}}function Ii(t,l,e){return t=t!==null?t.childLanes&~e:0,l&&(t|=Wl),t}function zo(t,l,e){var a=l.pendingProps,n=!1,u=(l.flags&128)!==0,c;if((c=u)||(c=t!==null&&t.memoizedState===null?!1:(ul.current&2)!==0),c&&(n=!0,l.flags&=-129),c=(l.flags&32)!==0,l.flags&=-33,t===null){if(Tt){if(n?ta(l):la(),Tt){var f=hl,m;if(m=f){t:{for(m=f,f=me;m.nodeType!==8;){if(!f){f=null;break t}if(m=fe(m.nextSibling),m===null){f=null;break t}}f=m}f!==null?(l.memoizedState={dehydrated:f,treeContext:za!==null?{id:Oe,overflow:je}:null,retryLane:536870912},m=kl(18,null,null,0),m.stateNode=f,m.return=l,l.child=m,El=l,hl=null,m=!0):m=!1}m||Ra(l)}if(f=l.memoizedState,f!==null&&(f=f.dehydrated,f!==null))return f.data==="$!"?l.lanes=16:l.lanes=536870912,null;Ne(l)}return f=a.children,a=a.fallback,n?(la(),n=l.mode,f=ls({mode:"hidden",children:f},n),a=Xa(a,n,e,null),f.return=l,a.return=l,f.sibling=a,l.child=f,n=l.child,n.memoizedState=Pi(e),n.childLanes=Ii(t,c,e),l.memoizedState=Fi,a):(ta(l),ts(l,f))}if(m=t.memoizedState,m!==null&&(f=m.dehydrated,f!==null)){if(u)l.flags&256?(ta(l),l.flags&=-257,l=es(t,l,e)):l.memoizedState!==null?(la(),l.child=t.child,l.flags|=128,l=null):(la(),n=a.fallback,f=l.mode,a=ls({mode:"visible",children:a.children},f),n=Xa(n,f,e,null),n.flags|=2,a.return=l,n.return=l,a.sibling=n,l.child=a,Ma(l,t.child,null,e),a=l.child,a.memoizedState=Pi(e),a.childLanes=Ii(t,c,e),l.memoizedState=Fi,l=n);else if(ta(l),f.data==="$!"){if(c=f.nextSibling&&f.nextSibling.dataset,c)var b=c.dgst;c=b,a=Error(s(419)),a.stack="",a.digest=c,kn({value:a,source:null,stack:null}),l=es(t,l,e)}else if(fl||cu(t,l,e,!1),c=(e&t.childLanes)!==0,fl||c){if(c=Ht,c!==null){if(a=e&-e,(a&42)!==0)a=1;else switch(a){case 2:a=1;break;case 8:a=4;break;case 32:a=16;break;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:a=64;break;case 268435456:a=134217728;break;default:a=0}if(a=(a&(c.suspendedLanes|e))!==0?0:a,a!==0&&a!==m.retryLane)throw m.retryLane=a,Ie(t,a),xl(c,t,a),So}f.data==="$?"||Ds(),l=es(t,l,e)}else f.data==="$?"?(l.flags|=128,l.child=t.child,l=ah.bind(null,t),f._reactRetry=l,l=null):(t=m.treeContext,hl=fe(f.nextSibling),El=l,Tt=!0,ie=null,me=!1,t!==null&&(Zl[Vl++]=Oe,Zl[Vl++]=je,Zl[Vl++]=za,Oe=t.id,je=t.overflow,za=l),l=ts(l,a.children),l.flags|=4096);return l}return n?(la(),n=a.fallback,f=l.mode,m=t.child,b=m.sibling,a=oa(m,{mode:"hidden",children:a.children}),a.subtreeFlags=m.subtreeFlags&31457280,b!==null?n=oa(b,n):(n=Xa(n,f,e,null),n.flags|=2),n.return=l,a.return=l,a.sibling=n,l.child=a,a=n,n=l.child,f=t.child.memoizedState,f===null?f=Pi(e):(m=f.cachePool,m!==null?(b=cl._currentValue,m=m.parent!==b?{parent:b,pool:b}:m):m=zr(),f={baseLanes:f.baseLanes|e,cachePool:m}),n.memoizedState=f,n.childLanes=Ii(t,c,e),l.memoizedState=Fi,a):(ta(l),e=t.child,t=e.sibling,e=oa(e,{mode:"visible",children:a.children}),e.return=l,e.sibling=null,t!==null&&(c=l.deletions,c===null?(l.deletions=[t],l.flags|=16):c.push(t)),l.child=e,l.memoizedState=null,e)}function ts(t,l){return l=ls({mode:"visible",children:l},t.mode),l.return=t,t.child=l}function ls(t,l){return ld(t,l,0,null)}function es(t,l,e){return Ma(l,t.child,null,e),t=ts(l,l.pendingProps.children),t.flags|=2,l.memoizedState=null,t}function Do(t,l,e){t.lanes|=l;var a=t.alternate;a!==null&&(a.lanes|=l),cs(t.return,l,e)}function as(t,l,e,a,n){var u=t.memoizedState;u===null?t.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:a,tail:e,tailMode:n}:(u.isBackwards=l,u.rendering=null,u.renderingStartTime=0,u.last=a,u.tail=e,u.tailMode=n)}function Ro(t,l,e){var a=l.pendingProps,n=a.revealOrder,u=a.tail;if(yl(t,l,a.children,e),a=ul.current,(a&2)!==0)a=a&1|2,l.flags|=128;else{if(t!==null&&(t.flags&128)!==0)t:for(t=l.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Do(t,e,l);else if(t.tag===19)Do(t,e,l);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===l)break t;for(;t.sibling===null;){if(t.return===null||t.return===l)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}a&=1}switch(pt(ul,a),n){case"forwards":for(e=l.child,n=null;e!==null;)t=e.alternate,t!==null&&cc(t)===null&&(n=e),e=e.sibling;e=n,e===null?(n=l.child,l.child=null):(n=e.sibling,e.sibling=null),as(l,!1,n,e,u);break;case"backwards":for(e=null,n=l.child,l.child=null;n!==null;){if(t=n.alternate,t!==null&&cc(t)===null){l.child=n;break}t=n.sibling,n.sibling=e,e=n,n=t}as(l,!0,e,null,u);break;case"together":as(l,!1,null,null,void 0);break;default:l.memoizedState=null}return l.child}function De(t,l,e){if(t!==null&&(l.dependencies=t.dependencies),da|=l.lanes,(e&l.childLanes)===0)if(t!==null){if(cu(t,l,e,!1),(e&l.childLanes)===0)return null}else return null;if(t!==null&&l.child!==t.child)throw Error(s(153));if(l.child!==null){for(t=l.child,e=oa(t,t.pendingProps),l.child=e,e.return=l;t.sibling!==null;)t=t.sibling,e=e.sibling=oa(t,t.pendingProps),e.return=l;e.sibling=null}return l.child}function ns(t,l){return(t.lanes&l)!==0?!0:(t=t.dependencies,!!(t!==null&&pc(t)))}function Qm(t,l,e){switch(l.tag){case 3:il(l,l.stateNode.containerInfo),na(l,cl,t.memoizedState.cache),Jn();break;case 27:case 5:le(l);break;case 4:il(l,l.stateNode.containerInfo);break;case 10:na(l,l.type,l.memoizedProps.value);break;case 13:var a=l.memoizedState;if(a!==null)return a.dehydrated!==null?(ta(l),l.flags|=128,null):(e&l.child.childLanes)!==0?zo(t,l,e):(ta(l),t=De(t,l,e),t!==null?t.sibling:null);ta(l);break;case 19:var n=(t.flags&128)!==0;if(a=(e&l.childLanes)!==0,a||(cu(t,l,e,!1),a=(e&l.childLanes)!==0),n){if(a)return Ro(t,l,e);l.flags|=128}if(n=l.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),pt(ul,ul.current),a)break;return null;case 22:case 23:return l.lanes=0,To(t,l,e);case 24:na(l,cl,t.memoizedState.cache)}return De(t,l,e)}function Mo(t,l,e){if(t!==null)if(t.memoizedProps!==l.pendingProps)fl=!0;else{if(!ns(t,e)&&(l.flags&128)===0)return fl=!1,Qm(t,l,e);fl=(t.flags&131072)!==0}else fl=!1,Tt&&(l.flags&1048576)!==0&&hr(l,lc,l.index);switch(l.lanes=0,l.tag){case 16:t:{t=l.pendingProps;var a=l.elementType,n=a._init;if(a=n(a._payload),l.type=a,typeof a=="function")ps(a)?(t=qa(a,t),l.tag=1,l=jo(null,l,a,t,e)):(l.tag=0,l=Wi(null,l,a,t,e));else{if(a!=null){if(n=a.$$typeof,n===B){l.tag=11,l=_o(null,l,a,t,e);break t}else if(n===Y){l.tag=14,l=Eo(null,l,a,t,e);break t}}throw l=kt(a)||a,Error(s(306,l,""))}}return l;case 0:return Wi(t,l,l.type,l.pendingProps,e);case 1:return a=l.type,n=qa(a,l.pendingProps),jo(t,l,a,n,e);case 3:t:{if(il(l,l.stateNode.containerInfo),t===null)throw Error(s(387));var u=l.pendingProps;n=l.memoizedState,a=n.element,fs(t,l),fu(l,u,null,e);var c=l.memoizedState;if(u=c.cache,na(l,cl,u),u!==n.cache&&is(l,[cl],e,!0),su(),u=c.element,n.isDehydrated)if(n={element:u,isDehydrated:!1,cache:c.cache},l.updateQueue.baseState=n,l.memoizedState=n,l.flags&256){l=No(t,l,u,e);break t}else if(u!==a){a=Ql(Error(s(424)),l),kn(a),l=No(t,l,u,e);break t}else for(hl=fe(l.stateNode.containerInfo.firstChild),El=l,Tt=!0,ie=null,me=!0,e=Tr(l,null,u,e),l.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling;else{if(Jn(),u===a){l=De(t,l,e);break t}yl(t,l,u,e)}l=l.child}return l;case 26:return uu(t,l),t===null?(e=Hd(l.type,null,l.pendingProps,null))?l.memoizedState=e:Tt||(e=l.type,t=l.pendingProps,a=Cc(dl.current).createElement(e),a[jt]=l,a[dt]=t,gl(a,e,t),Zt(a),l.stateNode=a):l.memoizedState=Hd(l.type,t.memoizedProps,l.pendingProps,t.memoizedState),null;case 27:return le(l),t===null&&Tt&&(a=l.stateNode=Md(l.type,l.pendingProps,dl.current),El=l,me=!0,hl=fe(a.firstChild)),a=l.pendingProps.children,t!==null||Tt?yl(t,l,a,e):l.child=Ma(l,null,a,e),uu(t,l),l.child;case 5:return t===null&&Tt&&((n=a=hl)&&(a=bh(a,l.type,l.pendingProps,me),a!==null?(l.stateNode=a,El=l,hl=fe(a.firstChild),me=!1,n=!0):n=!1),n||Ra(l)),le(l),n=l.type,u=l.pendingProps,c=t!==null?t.memoizedProps:null,a=u.children,Zs(n,u)?a=null:c!==null&&Zs(n,c)&&(l.flags|=32),l.memoizedState!==null&&(n=Mi(t,l,wm,null,null,e),Tu._currentValue=n),uu(t,l),yl(t,l,a,e),l.child;case 6:return t===null&&Tt&&((t=e=hl)&&(e=Sh(e,l.pendingProps,me),e!==null?(l.stateNode=e,El=l,hl=null,t=!0):t=!1),t||Ra(l)),null;case 13:return zo(t,l,e);case 4:return il(l,l.stateNode.containerInfo),a=l.pendingProps,t===null?l.child=Ma(l,null,a,e):yl(t,l,a,e),l.child;case 11:return _o(t,l,l.type,l.pendingProps,e);case 7:return yl(t,l,l.pendingProps,e),l.child;case 8:return yl(t,l,l.pendingProps.children,e),l.child;case 12:return yl(t,l,l.pendingProps.children,e),l.child;case 10:return a=l.pendingProps,na(l,l.type,a.value),yl(t,l,a.children,e),l.child;case 9:return n=l.type._context,a=l.pendingProps.children,Ya(l),n=bl(n),a=a(n),l.flags|=1,yl(t,l,a,e),l.child;case 14:return Eo(t,l,l.type,l.pendingProps,e);case 15:return xo(t,l,l.type,l.pendingProps,e);case 19:return Ro(t,l,e);case 22:return To(t,l,e);case 24:return Ya(l),a=bl(cl),t===null?(n=Di(),n===null&&(n=Ht,u=Ni(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=e),n=u),l.memoizedState={parent:a,cache:n},ss(l),na(l,cl,n)):((t.lanes&e)!==0&&(fs(t,l),fu(l,null,null,e),su()),n=t.memoizedState,u=l.memoizedState,n.parent!==a?(n={parent:a,cache:a},l.memoizedState=n,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=n),na(l,cl,a)):(a=u.cache,na(l,cl,a),a!==n.cache&&is(l,[cl],e,!0))),yl(t,l,l.pendingProps.children,e),l.child;case 29:throw l.pendingProps}throw Error(s(156,l.tag))}var us=nt(null),Ba=null,Re=null;function na(t,l,e){pt(us,l._currentValue),l._currentValue=e}function Me(t){t._currentValue=us.current,Mt(us)}function cs(t,l,e){for(;t!==null;){var a=t.alternate;if((t.childLanes&l)!==l?(t.childLanes|=l,a!==null&&(a.childLanes|=l)):a!==null&&(a.childLanes&l)!==l&&(a.childLanes|=l),t===e)break;t=t.return}}function is(t,l,e,a){var n=t.child;for(n!==null&&(n.return=t);n!==null;){var u=n.dependencies;if(u!==null){var c=n.child;u=u.firstContext;t:for(;u!==null;){var f=u;u=n;for(var m=0;m<l.length;m++)if(f.context===l[m]){u.lanes|=e,f=u.alternate,f!==null&&(f.lanes|=e),cs(u.return,e,t),a||(c=null);break t}u=f.next}}else if(n.tag===18){if(c=n.return,c===null)throw Error(s(341));c.lanes|=e,u=c.alternate,u!==null&&(u.lanes|=e),cs(c,e,t),c=null}else c=n.child;if(c!==null)c.return=n;else for(c=n;c!==null;){if(c===t){c=null;break}if(n=c.sibling,n!==null){n.return=c.return,c=n;break}c=c.return}n=c}}function cu(t,l,e,a){t=null;for(var n=l,u=!1;n!==null;){if(!u){if((n.flags&524288)!==0)u=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var c=n.alternate;if(c===null)throw Error(s(387));if(c=c.memoizedProps,c!==null){var f=n.type;zl(n.pendingProps.value,c.value)||(t!==null?t.push(f):t=[f])}}else if(n===Ge.current){if(c=n.alternate,c===null)throw Error(s(387));c.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(t!==null?t.push(Tu):t=[Tu])}n=n.return}t!==null&&is(l,t,e,a),l.flags|=262144}function pc(t){for(t=t.firstContext;t!==null;){if(!zl(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Ya(t){Ba=t,Re=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function bl(t){return Uo(Ba,t)}function bc(t,l){return Ba===null&&Ya(t),Uo(t,l)}function Uo(t,l){var e=l._currentValue;if(l={context:l,memoizedValue:e,next:null},Re===null){if(t===null)throw Error(s(308));Re=l,t.dependencies={lanes:0,firstContext:l},t.flags|=524288}else Re=Re.next=l;return e}var ua=!1;function ss(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function fs(t,l){t=t.updateQueue,l.updateQueue===t&&(l.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function ca(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function ia(t,l,e){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(Xt&2)!==0){var n=a.pending;return n===null?l.next=l:(l.next=n.next,n.next=l),a.pending=l,l=Iu(t),vr(t,null,e),l}return Pu(t,a,l,e),Iu(t)}function iu(t,l,e){if(l=l.updateQueue,l!==null&&(l=l.shared,(e&4194176)!==0)){var a=l.lanes;a&=t.pendingLanes,e|=a,l.lanes=e,Qt(t,e)}}function rs(t,l){var e=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,e===a)){var n=null,u=null;if(e=e.firstBaseUpdate,e!==null){do{var c={lane:e.lane,tag:e.tag,payload:e.payload,callback:null,next:null};u===null?n=u=c:u=u.next=c,e=e.next}while(e!==null);u===null?n=u=l:u=u.next=l}else n=u=l;e={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},t.updateQueue=e;return}t=e.lastBaseUpdate,t===null?e.firstBaseUpdate=l:t.next=l,e.lastBaseUpdate=l}var os=!1;function su(){if(os){var t=dn;if(t!==null)throw t}}function fu(t,l,e,a){os=!1;var n=t.updateQueue;ua=!1;var u=n.firstBaseUpdate,c=n.lastBaseUpdate,f=n.shared.pending;if(f!==null){n.shared.pending=null;var m=f,b=m.next;m.next=null,c===null?u=b:c.next=b,c=m;var N=t.alternate;N!==null&&(N=N.updateQueue,f=N.lastBaseUpdate,f!==c&&(f===null?N.firstBaseUpdate=b:f.next=b,N.lastBaseUpdate=m))}if(u!==null){var C=n.baseState;c=0,N=b=m=null,f=u;do{var O=f.lane&-536870913,j=O!==f.lane;if(j?(xt&O)===O:(a&O)===O){O!==0&&O===on&&(os=!0),N!==null&&(N=N.next={lane:0,tag:f.tag,payload:f.payload,callback:null,next:null});t:{var k=t,it=f;O=l;var $t=e;switch(it.tag){case 1:if(k=it.payload,typeof k=="function"){C=k.call($t,C,O);break t}C=k;break t;case 3:k.flags=k.flags&-65537|128;case 0:if(k=it.payload,O=typeof k=="function"?k.call($t,C,O):k,O==null)break t;C=ct({},C,O);break t;case 2:ua=!0}}O=f.callback,O!==null&&(t.flags|=64,j&&(t.flags|=8192),j=n.callbacks,j===null?n.callbacks=[O]:j.push(O))}else j={lane:O,tag:f.tag,payload:f.payload,callback:f.callback,next:null},N===null?(b=N=j,m=C):N=N.next=j,c|=O;if(f=f.next,f===null){if(f=n.shared.pending,f===null)break;j=f,f=j.next,j.next=null,n.lastBaseUpdate=j,n.shared.pending=null}}while(!0);N===null&&(m=C),n.baseState=m,n.firstBaseUpdate=b,n.lastBaseUpdate=N,u===null&&(n.shared.lanes=0),da|=c,t.lanes=c,t.memoizedState=C}}function Co(t,l){if(typeof t!="function")throw Error(s(191,t));t.call(l)}function Ho(t,l){var e=t.callbacks;if(e!==null)for(t.callbacks=null,t=0;t<e.length;t++)Co(e[t],l)}function ru(t,l){try{var e=l.updateQueue,a=e!==null?e.lastEffect:null;if(a!==null){var n=a.next;e=n;do{if((e.tag&t)===t){a=void 0;var u=e.create,c=e.inst;a=u(),c.destroy=a}e=e.next}while(e!==n)}}catch(f){Ct(l,l.return,f)}}function sa(t,l,e){try{var a=l.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var u=n.next;a=u;do{if((a.tag&t)===t){var c=a.inst,f=c.destroy;if(f!==void 0){c.destroy=void 0,n=l;var m=e;try{f()}catch(b){Ct(n,m,b)}}}a=a.next}while(a!==u)}}catch(b){Ct(l,l.return,b)}}function wo(t){var l=t.updateQueue;if(l!==null){var e=t.stateNode;try{Ho(l,e)}catch(a){Ct(t,t.return,a)}}}function qo(t,l,e){e.props=qa(t.type,t.memoizedProps),e.state=t.memoizedState;try{e.componentWillUnmount()}catch(a){Ct(t,l,a)}}function La(t,l){try{var e=t.ref;if(e!==null){var a=t.stateNode;switch(t.tag){case 26:case 27:case 5:var n=a;break;default:n=a}typeof e=="function"?t.refCleanup=e(n):e.current=n}}catch(u){Ct(t,l,u)}}function Dl(t,l){var e=t.ref,a=t.refCleanup;if(e!==null)if(typeof a=="function")try{a()}catch(n){Ct(t,l,n)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof e=="function")try{e(null)}catch(n){Ct(t,l,n)}else e.current=null}function Bo(t){var l=t.type,e=t.memoizedProps,a=t.stateNode;try{t:switch(l){case"button":case"input":case"select":case"textarea":e.autoFocus&&a.focus();break t;case"img":e.src?a.src=e.src:e.srcSet&&(a.srcset=e.srcSet)}}catch(n){Ct(t,t.return,n)}}function Yo(t,l,e){try{var a=t.stateNode;mh(a,t.type,e,l),a[dt]=l}catch(n){Ct(t,t.return,n)}}function Lo(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27||t.tag===4}function ds(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Lo(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==27&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function vs(t,l,e){var a=t.tag;if(a===5||a===6)t=t.stateNode,l?e.nodeType===8?e.parentNode.insertBefore(t,l):e.insertBefore(t,l):(e.nodeType===8?(l=e.parentNode,l.insertBefore(t,e)):(l=e,l.appendChild(t)),e=e._reactRootContainer,e!=null||l.onclick!==null||(l.onclick=Uc));else if(a!==4&&a!==27&&(t=t.child,t!==null))for(vs(t,l,e),t=t.sibling;t!==null;)vs(t,l,e),t=t.sibling}function Sc(t,l,e){var a=t.tag;if(a===5||a===6)t=t.stateNode,l?e.insertBefore(t,l):e.appendChild(t);else if(a!==4&&a!==27&&(t=t.child,t!==null))for(Sc(t,l,e),t=t.sibling;t!==null;)Sc(t,l,e),t=t.sibling}var Ue=!1,Vt=!1,ms=!1,Xo=typeof WeakSet=="function"?WeakSet:Set,rl=null,Go=!1;function Zm(t,l){if(t=t.containerInfo,Gs=Lc,t=nr(t),yi(t)){if("selectionStart"in t)var e={start:t.selectionStart,end:t.selectionEnd};else t:{e=(e=t.ownerDocument)&&e.defaultView||window;var a=e.getSelection&&e.getSelection();if(a&&a.rangeCount!==0){e=a.anchorNode;var n=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{e.nodeType,u.nodeType}catch{e=null;break t}var c=0,f=-1,m=-1,b=0,N=0,C=t,O=null;l:for(;;){for(var j;C!==e||n!==0&&C.nodeType!==3||(f=c+n),C!==u||a!==0&&C.nodeType!==3||(m=c+a),C.nodeType===3&&(c+=C.nodeValue.length),(j=C.firstChild)!==null;)O=C,C=j;for(;;){if(C===t)break l;if(O===e&&++b===n&&(f=c),O===u&&++N===a&&(m=c),(j=C.nextSibling)!==null)break;C=O,O=C.parentNode}C=j}e=f===-1||m===-1?null:{start:f,end:m}}else e=null}e=e||{start:0,end:0}}else e=null;for(Qs={focusedElem:t,selectionRange:e},Lc=!1,rl=l;rl!==null;)if(l=rl,t=l.child,(l.subtreeFlags&1028)!==0&&t!==null)t.return=l,rl=t;else for(;rl!==null;){switch(l=rl,u=l.alternate,t=l.flags,l.tag){case 0:break;case 11:case 15:break;case 1:if((t&1024)!==0&&u!==null){t=void 0,e=l,n=u.memoizedProps,u=u.memoizedState,a=e.stateNode;try{var k=qa(e.type,n,e.elementType===e.type);t=a.getSnapshotBeforeUpdate(k,u),a.__reactInternalSnapshotBeforeUpdate=t}catch(it){Ct(e,e.return,it)}}break;case 3:if((t&1024)!==0){if(t=l.stateNode.containerInfo,e=t.nodeType,e===9)$s(t);else if(e===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":$s(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(s(163))}if(t=l.sibling,t!==null){t.return=l.return,rl=t;break}rl=l.return}return k=Go,Go=!1,k}function Qo(t,l,e){var a=e.flags;switch(e.tag){case 0:case 11:case 15:He(t,e),a&4&&ru(5,e);break;case 1:if(He(t,e),a&4)if(t=e.stateNode,l===null)try{t.componentDidMount()}catch(f){Ct(e,e.return,f)}else{var n=qa(e.type,l.memoizedProps);l=l.memoizedState;try{t.componentDidUpdate(n,l,t.__reactInternalSnapshotBeforeUpdate)}catch(f){Ct(e,e.return,f)}}a&64&&wo(e),a&512&&La(e,e.return);break;case 3:if(He(t,e),a&64&&(a=e.updateQueue,a!==null)){if(t=null,e.child!==null)switch(e.child.tag){case 27:case 5:t=e.child.stateNode;break;case 1:t=e.child.stateNode}try{Ho(a,t)}catch(f){Ct(e,e.return,f)}}break;case 26:He(t,e),a&512&&La(e,e.return);break;case 27:case 5:He(t,e),l===null&&a&4&&Bo(e),a&512&&La(e,e.return);break;case 12:He(t,e);break;case 13:He(t,e),a&4&&Ko(t,e);break;case 22:if(n=e.memoizedState!==null||Ue,!n){l=l!==null&&l.memoizedState!==null||Vt;var u=Ue,c=Vt;Ue=n,(Vt=l)&&!c?fa(t,e,(e.subtreeFlags&8772)!==0):He(t,e),Ue=u,Vt=c}a&512&&(e.memoizedProps.mode==="manual"?La(e,e.return):Dl(e,e.return));break;default:He(t,e)}}function Zo(t){var l=t.alternate;l!==null&&(t.alternate=null,Zo(l)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(l=t.stateNode,l!==null&&Ot(l)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var el=null,Rl=!1;function Ce(t,l,e){for(e=e.child;e!==null;)Vo(t,l,e),e=e.sibling}function Vo(t,l,e){if(Et&&typeof Et.onCommitFiberUnmount=="function")try{Et.onCommitFiberUnmount(vl,e)}catch{}switch(e.tag){case 26:Vt||Dl(e,l),Ce(t,l,e),e.memoizedState?e.memoizedState.count--:e.stateNode&&(e=e.stateNode,e.parentNode.removeChild(e));break;case 27:Vt||Dl(e,l);var a=el,n=Rl;for(el=e.stateNode,Ce(t,l,e),e=e.stateNode,l=e.attributes;l.length;)e.removeAttributeNode(l[0]);Ot(e),el=a,Rl=n;break;case 5:Vt||Dl(e,l);case 6:n=el;var u=Rl;if(el=null,Ce(t,l,e),el=n,Rl=u,el!==null)if(Rl)try{t=el,a=e.stateNode,t.nodeType===8?t.parentNode.removeChild(a):t.removeChild(a)}catch(c){Ct(e,l,c)}else try{el.removeChild(e.stateNode)}catch(c){Ct(e,l,c)}break;case 18:el!==null&&(Rl?(l=el,e=e.stateNode,l.nodeType===8?Ks(l.parentNode,e):l.nodeType===1&&Ks(l,e),Nu(l)):Ks(el,e.stateNode));break;case 4:a=el,n=Rl,el=e.stateNode.containerInfo,Rl=!0,Ce(t,l,e),el=a,Rl=n;break;case 0:case 11:case 14:case 15:Vt||sa(2,e,l),Vt||sa(4,e,l),Ce(t,l,e);break;case 1:Vt||(Dl(e,l),a=e.stateNode,typeof a.componentWillUnmount=="function"&&qo(e,l,a)),Ce(t,l,e);break;case 21:Ce(t,l,e);break;case 22:Vt||Dl(e,l),Vt=(a=Vt)||e.memoizedState!==null,Ce(t,l,e),Vt=a;break;default:Ce(t,l,e)}}function Ko(t,l){if(l.memoizedState===null&&(t=l.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Nu(t)}catch(e){Ct(l,l.return,e)}}function Vm(t){switch(t.tag){case 13:case 19:var l=t.stateNode;return l===null&&(l=t.stateNode=new Xo),l;case 22:return t=t.stateNode,l=t._retryCache,l===null&&(l=t._retryCache=new Xo),l;default:throw Error(s(435,t.tag))}}function hs(t,l){var e=Vm(t);l.forEach(function(a){var n=nh.bind(null,t,a);e.has(a)||(e.add(a),a.then(n,n))})}function $l(t,l){var e=l.deletions;if(e!==null)for(var a=0;a<e.length;a++){var n=e[a],u=t,c=l,f=c;t:for(;f!==null;){switch(f.tag){case 27:case 5:el=f.stateNode,Rl=!1;break t;case 3:el=f.stateNode.containerInfo,Rl=!0;break t;case 4:el=f.stateNode.containerInfo,Rl=!0;break t}f=f.return}if(el===null)throw Error(s(160));Vo(u,c,n),el=null,Rl=!1,u=n.alternate,u!==null&&(u.return=null),n.return=null}if(l.subtreeFlags&13878)for(l=l.child;l!==null;)$o(l,t),l=l.sibling}var se=null;function $o(t,l){var e=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:$l(l,t),Jl(t),a&4&&(sa(3,t,t.return),ru(3,t),sa(5,t,t.return));break;case 1:$l(l,t),Jl(t),a&512&&(Vt||e===null||Dl(e,e.return)),a&64&&Ue&&(t=t.updateQueue,t!==null&&(a=t.callbacks,a!==null&&(e=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=e===null?a:e.concat(a))));break;case 26:var n=se;if($l(l,t),Jl(t),a&512&&(Vt||e===null||Dl(e,e.return)),a&4){var u=e!==null?e.memoizedState:null;if(a=t.memoizedState,e===null)if(a===null)if(t.stateNode===null){t:{a=t.type,e=t.memoizedProps,n=n.ownerDocument||n;l:switch(a){case"title":u=n.getElementsByTagName("title")[0],(!u||u[We]||u[jt]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=n.createElement(a),n.head.insertBefore(u,n.querySelector("head > title"))),gl(u,a,e),u[jt]=t,Zt(u),a=u;break t;case"link":var c=Bd("link","href",n).get(a+(e.href||""));if(c){for(var f=0;f<c.length;f++)if(u=c[f],u.getAttribute("href")===(e.href==null?null:e.href)&&u.getAttribute("rel")===(e.rel==null?null:e.rel)&&u.getAttribute("title")===(e.title==null?null:e.title)&&u.getAttribute("crossorigin")===(e.crossOrigin==null?null:e.crossOrigin)){c.splice(f,1);break l}}u=n.createElement(a),gl(u,a,e),n.head.appendChild(u);break;case"meta":if(c=Bd("meta","content",n).get(a+(e.content||""))){for(f=0;f<c.length;f++)if(u=c[f],u.getAttribute("content")===(e.content==null?null:""+e.content)&&u.getAttribute("name")===(e.name==null?null:e.name)&&u.getAttribute("property")===(e.property==null?null:e.property)&&u.getAttribute("http-equiv")===(e.httpEquiv==null?null:e.httpEquiv)&&u.getAttribute("charset")===(e.charSet==null?null:e.charSet)){c.splice(f,1);break l}}u=n.createElement(a),gl(u,a,e),n.head.appendChild(u);break;default:throw Error(s(468,a))}u[jt]=t,Zt(u),a=u}t.stateNode=a}else Yd(n,t.type,t.stateNode);else t.stateNode=qd(n,a,t.memoizedProps);else u!==a?(u===null?e.stateNode!==null&&(e=e.stateNode,e.parentNode.removeChild(e)):u.count--,a===null?Yd(n,t.type,t.stateNode):qd(n,a,t.memoizedProps)):a===null&&t.stateNode!==null&&Yo(t,t.memoizedProps,e.memoizedProps)}break;case 27:if(a&4&&t.alternate===null){n=t.stateNode,u=t.memoizedProps;try{for(var m=n.firstChild;m;){var b=m.nextSibling,N=m.nodeName;m[We]||N==="HEAD"||N==="BODY"||N==="SCRIPT"||N==="STYLE"||N==="LINK"&&m.rel.toLowerCase()==="stylesheet"||n.removeChild(m),m=b}for(var C=t.type,O=n.attributes;O.length;)n.removeAttributeNode(O[0]);gl(n,C,u),n[jt]=t,n[dt]=u}catch(k){Ct(t,t.return,k)}}case 5:if($l(l,t),Jl(t),a&512&&(Vt||e===null||Dl(e,e.return)),t.flags&32){n=t.stateNode;try{Pa(n,"")}catch(k){Ct(t,t.return,k)}}a&4&&t.stateNode!=null&&(n=t.memoizedProps,Yo(t,n,e!==null?e.memoizedProps:n)),a&1024&&(ms=!0);break;case 6:if($l(l,t),Jl(t),a&4){if(t.stateNode===null)throw Error(s(162));a=t.memoizedProps,e=t.stateNode;try{e.nodeValue=a}catch(k){Ct(t,t.return,k)}}break;case 3:if(qc=null,n=se,se=Hc(l.containerInfo),$l(l,t),se=n,Jl(t),a&4&&e!==null&&e.memoizedState.isDehydrated)try{Nu(l.containerInfo)}catch(k){Ct(t,t.return,k)}ms&&(ms=!1,Jo(t));break;case 4:a=se,se=Hc(t.stateNode.containerInfo),$l(l,t),Jl(t),se=a;break;case 12:$l(l,t),Jl(t);break;case 13:$l(l,t),Jl(t),t.child.flags&8192&&t.memoizedState!==null!=(e!==null&&e.memoizedState!==null)&&(Ts=_l()),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,hs(t,a)));break;case 22:if(a&512&&(Vt||e===null||Dl(e,e.return)),m=t.memoizedState!==null,b=e!==null&&e.memoizedState!==null,N=Ue,C=Vt,Ue=N||m,Vt=C||b,$l(l,t),Vt=C,Ue=N,Jl(t),l=t.stateNode,l._current=t,l._visibility&=-3,l._visibility|=l._pendingVisibility&2,a&8192&&(l._visibility=m?l._visibility&-2:l._visibility|1,m&&(l=Ue||Vt,e===null||b||l||yn(t)),t.memoizedProps===null||t.memoizedProps.mode!=="manual"))t:for(e=null,l=t;;){if(l.tag===5||l.tag===26||l.tag===27){if(e===null){b=e=l;try{if(n=b.stateNode,m)u=n.style,typeof u.setProperty=="function"?u.setProperty("display","none","important"):u.display="none";else{c=b.stateNode,f=b.memoizedProps.style;var j=f!=null&&f.hasOwnProperty("display")?f.display:null;c.style.display=j==null||typeof j=="boolean"?"":(""+j).trim()}}catch(k){Ct(b,b.return,k)}}}else if(l.tag===6){if(e===null){b=l;try{b.stateNode.nodeValue=m?"":b.memoizedProps}catch(k){Ct(b,b.return,k)}}}else if((l.tag!==22&&l.tag!==23||l.memoizedState===null||l===t)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break t;for(;l.sibling===null;){if(l.return===null||l.return===t)break t;e===l&&(e=null),l=l.return}e===l&&(e=null),l.sibling.return=l.return,l=l.sibling}a&4&&(a=t.updateQueue,a!==null&&(e=a.retryQueue,e!==null&&(a.retryQueue=null,hs(t,e))));break;case 19:$l(l,t),Jl(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,hs(t,a)));break;case 21:break;default:$l(l,t),Jl(t)}}function Jl(t){var l=t.flags;if(l&2){try{if(t.tag!==27){t:{for(var e=t.return;e!==null;){if(Lo(e)){var a=e;break t}e=e.return}throw Error(s(160))}switch(a.tag){case 27:var n=a.stateNode,u=ds(t);Sc(t,u,n);break;case 5:var c=a.stateNode;a.flags&32&&(Pa(c,""),a.flags&=-33);var f=ds(t);Sc(t,f,c);break;case 3:case 4:var m=a.stateNode.containerInfo,b=ds(t);vs(t,b,m);break;default:throw Error(s(161))}}}catch(N){Ct(t,t.return,N)}t.flags&=-3}l&4096&&(t.flags&=-4097)}function Jo(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var l=t;Jo(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),t=t.sibling}}function He(t,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)Qo(t,l.alternate,l),l=l.sibling}function yn(t){for(t=t.child;t!==null;){var l=t;switch(l.tag){case 0:case 11:case 14:case 15:sa(4,l,l.return),yn(l);break;case 1:Dl(l,l.return);var e=l.stateNode;typeof e.componentWillUnmount=="function"&&qo(l,l.return,e),yn(l);break;case 26:case 27:case 5:Dl(l,l.return),yn(l);break;case 22:Dl(l,l.return),l.memoizedState===null&&yn(l);break;default:yn(l)}t=t.sibling}}function fa(t,l,e){for(e=e&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var a=l.alternate,n=t,u=l,c=u.flags;switch(u.tag){case 0:case 11:case 15:fa(n,u,e),ru(4,u);break;case 1:if(fa(n,u,e),a=u,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(b){Ct(a,a.return,b)}if(a=u,n=a.updateQueue,n!==null){var f=a.stateNode;try{var m=n.shared.hiddenCallbacks;if(m!==null)for(n.shared.hiddenCallbacks=null,n=0;n<m.length;n++)Co(m[n],f)}catch(b){Ct(a,a.return,b)}}e&&c&64&&wo(u),La(u,u.return);break;case 26:case 27:case 5:fa(n,u,e),e&&a===null&&c&4&&Bo(u),La(u,u.return);break;case 12:fa(n,u,e);break;case 13:fa(n,u,e),e&&c&4&&Ko(n,u);break;case 22:u.memoizedState===null&&fa(n,u,e),La(u,u.return);break;default:fa(n,u,e)}l=l.sibling}}function ys(t,l){var e=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),t=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(t=l.memoizedState.cachePool.pool),t!==e&&(t!=null&&t.refCount++,e!=null&&tu(e))}function gs(t,l){t=null,l.alternate!==null&&(t=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==t&&(l.refCount++,t!=null&&tu(t))}function ra(t,l,e,a){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)ko(t,l,e,a),l=l.sibling}function ko(t,l,e,a){var n=l.flags;switch(l.tag){case 0:case 11:case 15:ra(t,l,e,a),n&2048&&ru(9,l);break;case 3:ra(t,l,e,a),n&2048&&(t=null,l.alternate!==null&&(t=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==t&&(l.refCount++,t!=null&&tu(t)));break;case 12:if(n&2048){ra(t,l,e,a),t=l.stateNode;try{var u=l.memoizedProps,c=u.id,f=u.onPostCommit;typeof f=="function"&&f(c,l.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(m){Ct(l,l.return,m)}}else ra(t,l,e,a);break;case 23:break;case 22:u=l.stateNode,l.memoizedState!==null?u._visibility&4?ra(t,l,e,a):ou(t,l):u._visibility&4?ra(t,l,e,a):(u._visibility|=4,gn(t,l,e,a,(l.subtreeFlags&10256)!==0)),n&2048&&ys(l.alternate,l);break;case 24:ra(t,l,e,a),n&2048&&gs(l.alternate,l);break;default:ra(t,l,e,a)}}function gn(t,l,e,a,n){for(n=n&&(l.subtreeFlags&10256)!==0,l=l.child;l!==null;){var u=t,c=l,f=e,m=a,b=c.flags;switch(c.tag){case 0:case 11:case 15:gn(u,c,f,m,n),ru(8,c);break;case 23:break;case 22:var N=c.stateNode;c.memoizedState!==null?N._visibility&4?gn(u,c,f,m,n):ou(u,c):(N._visibility|=4,gn(u,c,f,m,n)),n&&b&2048&&ys(c.alternate,c);break;case 24:gn(u,c,f,m,n),n&&b&2048&&gs(c.alternate,c);break;default:gn(u,c,f,m,n)}l=l.sibling}}function ou(t,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var e=t,a=l,n=a.flags;switch(a.tag){case 22:ou(e,a),n&2048&&ys(a.alternate,a);break;case 24:ou(e,a),n&2048&&gs(a.alternate,a);break;default:ou(e,a)}l=l.sibling}}var du=8192;function pn(t){if(t.subtreeFlags&du)for(t=t.child;t!==null;)Wo(t),t=t.sibling}function Wo(t){switch(t.tag){case 26:pn(t),t.flags&du&&t.memoizedState!==null&&Uh(se,t.memoizedState,t.memoizedProps);break;case 5:pn(t);break;case 3:case 4:var l=se;se=Hc(t.stateNode.containerInfo),pn(t),se=l;break;case 22:t.memoizedState===null&&(l=t.alternate,l!==null&&l.memoizedState!==null?(l=du,du=16777216,pn(t),du=l):pn(t));break;default:pn(t)}}function Fo(t){var l=t.alternate;if(l!==null&&(t=l.child,t!==null)){l.child=null;do l=t.sibling,t.sibling=null,t=l;while(t!==null)}}function vu(t){var l=t.deletions;if((t.flags&16)!==0){if(l!==null)for(var e=0;e<l.length;e++){var a=l[e];rl=a,Io(a,t)}Fo(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Po(t),t=t.sibling}function Po(t){switch(t.tag){case 0:case 11:case 15:vu(t),t.flags&2048&&sa(9,t,t.return);break;case 3:vu(t);break;case 12:vu(t);break;case 22:var l=t.stateNode;t.memoizedState!==null&&l._visibility&4&&(t.return===null||t.return.tag!==13)?(l._visibility&=-5,_c(t)):vu(t);break;default:vu(t)}}function _c(t){var l=t.deletions;if((t.flags&16)!==0){if(l!==null)for(var e=0;e<l.length;e++){var a=l[e];rl=a,Io(a,t)}Fo(t)}for(t=t.child;t!==null;){switch(l=t,l.tag){case 0:case 11:case 15:sa(8,l,l.return),_c(l);break;case 22:e=l.stateNode,e._visibility&4&&(e._visibility&=-5,_c(l));break;default:_c(l)}t=t.sibling}}function Io(t,l){for(;rl!==null;){var e=rl;switch(e.tag){case 0:case 11:case 15:sa(8,e,l);break;case 23:case 22:if(e.memoizedState!==null&&e.memoizedState.cachePool!==null){var a=e.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:tu(e.memoizedState.cache)}if(a=e.child,a!==null)a.return=e,rl=a;else t:for(e=t;rl!==null;){a=rl;var n=a.sibling,u=a.return;if(Zo(a),a===e){rl=null;break t}if(n!==null){n.return=u,rl=n;break t}rl=u}}}function Km(t,l,e,a){this.tag=t,this.key=e,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=l,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function kl(t,l,e,a){return new Km(t,l,e,a)}function ps(t){return t=t.prototype,!(!t||!t.isReactComponent)}function oa(t,l){var e=t.alternate;return e===null?(e=kl(t.tag,l,t.key,t.mode),e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.alternate=t,t.alternate=e):(e.pendingProps=l,e.type=t.type,e.flags=0,e.subtreeFlags=0,e.deletions=null),e.flags=t.flags&31457280,e.childLanes=t.childLanes,e.lanes=t.lanes,e.child=t.child,e.memoizedProps=t.memoizedProps,e.memoizedState=t.memoizedState,e.updateQueue=t.updateQueue,l=t.dependencies,e.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.refCleanup=t.refCleanup,e}function td(t,l){t.flags&=31457282;var e=t.alternate;return e===null?(t.childLanes=0,t.lanes=l,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,t.type=e.type,l=e.dependencies,t.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),t}function Ec(t,l,e,a,n,u){var c=0;if(a=t,typeof t=="function")ps(t)&&(c=1);else if(typeof t=="string")c=Rh(t,e,al.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case x:return Xa(e.children,n,u,l);case g:c=8,n|=24;break;case M:return t=kl(12,e,l,n|2),t.elementType=M,t.lanes=u,t;case V:return t=kl(13,e,l,n),t.elementType=V,t.lanes=u,t;case K:return t=kl(19,e,l,n),t.elementType=K,t.lanes=u,t;case tt:return ld(e,n,u,l);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case U:case z:c=10;break t;case q:c=9;break t;case B:c=11;break t;case Y:c=14;break t;case W:c=16,a=null;break t}c=29,e=Error(s(130,t===null?"null":typeof t,"")),a=null}return l=kl(c,e,l,n),l.elementType=t,l.type=a,l.lanes=u,l}function Xa(t,l,e,a){return t=kl(7,t,a,l),t.lanes=e,t}function ld(t,l,e,a){t=kl(22,t,a,l),t.elementType=tt,t.lanes=e;var n={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var u=n._current;if(u===null)throw Error(s(456));if((n._pendingVisibility&2)===0){var c=Ie(u,2);c!==null&&(n._pendingVisibility|=2,xl(c,u,2))}},attach:function(){var u=n._current;if(u===null)throw Error(s(456));if((n._pendingVisibility&2)!==0){var c=Ie(u,2);c!==null&&(n._pendingVisibility&=-3,xl(c,u,2))}}};return t.stateNode=n,t}function bs(t,l,e){return t=kl(6,t,null,l),t.lanes=e,t}function Ss(t,l,e){return l=kl(4,t.children!==null?t.children:[],t.key,l),l.lanes=e,l.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},l}function we(t){t.flags|=4}function ed(t,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Ld(l)){if(l=Kl.current,l!==null&&((xt&4194176)===xt?he!==null:(xt&62914560)!==xt&&(xt&536870912)===0||l!==he))throw Fn=Ai,pr;t.flags|=8192}}function xc(t,l){l!==null&&(t.flags|=4),t.flags&16384&&(l=t.tag!==22?pl():536870912,t.lanes|=l,Sn|=l)}function mu(t,l){if(!Tt)switch(t.tailMode){case"hidden":l=t.tail;for(var e=null;l!==null;)l.alternate!==null&&(e=l),l=l.sibling;e===null?t.tail=null:e.sibling=null;break;case"collapsed":e=t.tail;for(var a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?l||t.tail===null?t.tail=null:t.tail.sibling=null:a.sibling=null}}function Lt(t){var l=t.alternate!==null&&t.alternate.child===t.child,e=0,a=0;if(l)for(var n=t.child;n!==null;)e|=n.lanes|n.childLanes,a|=n.subtreeFlags&31457280,a|=n.flags&31457280,n.return=t,n=n.sibling;else for(n=t.child;n!==null;)e|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=t,n=n.sibling;return t.subtreeFlags|=a,t.childLanes=e,l}function $m(t,l,e){var a=l.pendingProps;switch(xi(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Lt(l),null;case 1:return Lt(l),null;case 3:return e=l.stateNode,a=null,t!==null&&(a=t.memoizedState.cache),l.memoizedState.cache!==a&&(l.flags|=2048),Me(cl),te(),e.pendingContext&&(e.context=e.pendingContext,e.pendingContext=null),(t===null||t.child===null)&&($n(l)?we(l):t===null||t.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,ie!==null&&(Ns(ie),ie=null))),Lt(l),null;case 26:return e=l.memoizedState,t===null?(we(l),e!==null?(Lt(l),ed(l,e)):(Lt(l),l.flags&=-16777217)):e?e!==t.memoizedState?(we(l),Lt(l),ed(l,e)):(Lt(l),l.flags&=-16777217):(t.memoizedProps!==a&&we(l),Lt(l),l.flags&=-16777217),null;case 27:Hl(l),e=dl.current;var n=l.type;if(t!==null&&l.stateNode!=null)t.memoizedProps!==a&&we(l);else{if(!a){if(l.stateNode===null)throw Error(s(166));return Lt(l),null}t=al.current,$n(l)?yr(l):(t=Md(n,a,e),l.stateNode=t,we(l))}return Lt(l),null;case 5:if(Hl(l),e=l.type,t!==null&&l.stateNode!=null)t.memoizedProps!==a&&we(l);else{if(!a){if(l.stateNode===null)throw Error(s(166));return Lt(l),null}if(t=al.current,$n(l))yr(l);else{switch(n=Cc(dl.current),t){case 1:t=n.createElementNS("http://www.w3.org/2000/svg",e);break;case 2:t=n.createElementNS("http://www.w3.org/1998/Math/MathML",e);break;default:switch(e){case"svg":t=n.createElementNS("http://www.w3.org/2000/svg",e);break;case"math":t=n.createElementNS("http://www.w3.org/1998/Math/MathML",e);break;case"script":t=n.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof a.is=="string"?n.createElement("select",{is:a.is}):n.createElement("select"),a.multiple?t.multiple=!0:a.size&&(t.size=a.size);break;default:t=typeof a.is=="string"?n.createElement(e,{is:a.is}):n.createElement(e)}}t[jt]=l,t[dt]=a;t:for(n=l.child;n!==null;){if(n.tag===5||n.tag===6)t.appendChild(n.stateNode);else if(n.tag!==4&&n.tag!==27&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===l)break t;for(;n.sibling===null;){if(n.return===null||n.return===l)break t;n=n.return}n.sibling.return=n.return,n=n.sibling}l.stateNode=t;t:switch(gl(t,e,a),e){case"button":case"input":case"select":case"textarea":t=!!a.autoFocus;break t;case"img":t=!0;break t;default:t=!1}t&&we(l)}}return Lt(l),l.flags&=-16777217,null;case 6:if(t&&l.stateNode!=null)t.memoizedProps!==a&&we(l);else{if(typeof a!="string"&&l.stateNode===null)throw Error(s(166));if(t=dl.current,$n(l)){if(t=l.stateNode,e=l.memoizedProps,a=null,n=El,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}t[jt]=l,t=!!(t.nodeValue===e||a!==null&&a.suppressHydrationWarning===!0||Od(t.nodeValue,e)),t||Ra(l)}else t=Cc(t).createTextNode(a),t[jt]=l,l.stateNode=t}return Lt(l),null;case 13:if(a=l.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(n=$n(l),a!==null&&a.dehydrated!==null){if(t===null){if(!n)throw Error(s(318));if(n=l.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(s(317));n[jt]=l}else Jn(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Lt(l),n=!1}else ie!==null&&(Ns(ie),ie=null),n=!0;if(!n)return l.flags&256?(Ne(l),l):(Ne(l),null)}if(Ne(l),(l.flags&128)!==0)return l.lanes=e,l;if(e=a!==null,t=t!==null&&t.memoizedState!==null,e){a=l.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool);var u=null;a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==n&&(a.flags|=2048)}return e!==t&&e&&(l.child.flags|=8192),xc(l,l.updateQueue),Lt(l),null;case 4:return te(),t===null&&Ys(l.stateNode.containerInfo),Lt(l),null;case 10:return Me(l.type),Lt(l),null;case 19:if(Mt(ul),n=l.memoizedState,n===null)return Lt(l),null;if(a=(l.flags&128)!==0,u=n.rendering,u===null)if(a)mu(n,!1);else{if(Kt!==0||t!==null&&(t.flags&128)!==0)for(t=l.child;t!==null;){if(u=cc(t),u!==null){for(l.flags|=128,mu(n,!1),t=u.updateQueue,l.updateQueue=t,xc(l,t),l.subtreeFlags=0,t=e,e=l.child;e!==null;)td(e,t),e=e.sibling;return pt(ul,ul.current&1|2),l.child}t=t.sibling}n.tail!==null&&_l()>Tc&&(l.flags|=128,a=!0,mu(n,!1),l.lanes=4194304)}else{if(!a)if(t=cc(u),t!==null){if(l.flags|=128,a=!0,t=t.updateQueue,l.updateQueue=t,xc(l,t),mu(n,!0),n.tail===null&&n.tailMode==="hidden"&&!u.alternate&&!Tt)return Lt(l),null}else 2*_l()-n.renderingStartTime>Tc&&e!==536870912&&(l.flags|=128,a=!0,mu(n,!1),l.lanes=4194304);n.isBackwards?(u.sibling=l.child,l.child=u):(t=n.last,t!==null?t.sibling=u:l.child=u,n.last=u)}return n.tail!==null?(l=n.tail,n.rendering=l,n.tail=l.sibling,n.renderingStartTime=_l(),l.sibling=null,t=ul.current,pt(ul,a?t&1|2:t&1),l):(Lt(l),null);case 22:case 23:return Ne(l),ji(),a=l.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(l.flags|=8192):a&&(l.flags|=8192),a?(e&536870912)!==0&&(l.flags&128)===0&&(Lt(l),l.subtreeFlags&6&&(l.flags|=8192)):Lt(l),e=l.updateQueue,e!==null&&xc(l,e.retryQueue),e=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),a=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(a=l.memoizedState.cachePool.pool),a!==e&&(l.flags|=2048),t!==null&&Mt(Ua),null;case 24:return e=null,t!==null&&(e=t.memoizedState.cache),l.memoizedState.cache!==e&&(l.flags|=2048),Me(cl),Lt(l),null;case 25:return null}throw Error(s(156,l.tag))}function Jm(t,l){switch(xi(l),l.tag){case 1:return t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 3:return Me(cl),te(),t=l.flags,(t&65536)!==0&&(t&128)===0?(l.flags=t&-65537|128,l):null;case 26:case 27:case 5:return Hl(l),null;case 13:if(Ne(l),t=l.memoizedState,t!==null&&t.dehydrated!==null){if(l.alternate===null)throw Error(s(340));Jn()}return t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 19:return Mt(ul),null;case 4:return te(),null;case 10:return Me(l.type),null;case 22:case 23:return Ne(l),ji(),t!==null&&Mt(Ua),t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 24:return Me(cl),null;case 25:return null;default:return null}}function ad(t,l){switch(xi(l),l.tag){case 3:Me(cl),te();break;case 26:case 27:case 5:Hl(l);break;case 4:te();break;case 13:Ne(l);break;case 19:Mt(ul);break;case 10:Me(l.type);break;case 22:case 23:Ne(l),ji(),t!==null&&Mt(Ua);break;case 24:Me(cl)}}var km={getCacheForType:function(t){var l=bl(cl),e=l.data.get(t);return e===void 0&&(e=t(),l.data.set(t,e)),e}},Wm=typeof WeakMap=="function"?WeakMap:Map,Xt=0,Ht=null,yt=null,xt=0,wt=0,Ml=null,qe=!1,bn=!1,_s=!1,Be=0,Kt=0,da=0,Ga=0,Es=0,Wl=0,Sn=0,hu=null,ge=null,xs=!1,Ts=0,Tc=1/0,Ac=null,va=null,Oc=!1,Qa=null,yu=0,As=0,Os=null,gu=0,js=null;function Ul(){if((Xt&2)!==0&&xt!==0)return xt&-xt;if(Z.T!==null){var t=on;return t!==0?t:Hs()}return Nl()}function nd(){Wl===0&&(Wl=(xt&536870912)===0||Tt?ht():536870912);var t=Kl.current;return t!==null&&(t.flags|=32),Wl}function xl(t,l,e){(t===Ht&&wt===2||t.cancelPendingCommit!==null)&&(_n(t,0),Ye(t,xt,Wl,!1)),L(t,e),((Xt&2)===0||t!==Ht)&&(t===Ht&&((Xt&2)===0&&(Ga|=e),Kt===4&&Ye(t,xt,Wl,!1)),pe(t))}function ud(t,l,e){if((Xt&6)!==0)throw Error(s(327));var a=!e&&(l&60)===0&&(l&t.expiredLanes)===0||sl(t,l),n=a?Im(t,l):Rs(t,l,!0),u=a;do{if(n===0){bn&&!a&&Ye(t,l,0,!1);break}else if(n===6)Ye(t,l,0,!qe);else{if(e=t.current.alternate,u&&!Fm(e)){n=Rs(t,l,!1),u=!1;continue}if(n===2){if(u=l,t.errorRecoveryDisabledLanes&u)var c=0;else c=t.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){l=c;t:{var f=t;n=hu;var m=f.current.memoizedState.isDehydrated;if(m&&(_n(f,c).flags|=256),c=Rs(f,c,!1),c!==2){if(_s&&!m){f.errorRecoveryDisabledLanes|=u,Ga|=u,n=4;break t}u=ge,ge=n,u!==null&&Ns(u)}n=c}if(u=!1,n!==2)continue}}if(n===1){_n(t,0),Ye(t,l,0,!0);break}t:{switch(a=t,n){case 0:case 1:throw Error(s(345));case 4:if((l&4194176)===l){Ye(a,l,Wl,!qe);break t}break;case 2:ge=null;break;case 3:case 5:break;default:throw Error(s(329))}if(a.finishedWork=e,a.finishedLanes=l,(l&62914560)===l&&(u=Ts+300-_l(),10<u)){if(Ye(a,l,Wl,!qe),Yt(a,0)!==0)break t;a.timeoutHandle=zd(cd.bind(null,a,e,ge,Ac,xs,l,Wl,Ga,Sn,qe,2,-0,0),u);break t}cd(a,e,ge,Ac,xs,l,Wl,Ga,Sn,qe,0,-0,0)}}break}while(!0);pe(t)}function Ns(t){ge===null?ge=t:ge.push.apply(ge,t)}function cd(t,l,e,a,n,u,c,f,m,b,N,C,O){var j=l.subtreeFlags;if((j&8192||(j&16785408)===16785408)&&(xu={stylesheets:null,count:0,unsuspend:Mh},Wo(l),l=Ch(),l!==null)){t.cancelPendingCommit=l(vd.bind(null,t,e,a,n,c,f,m,1,C,O)),Ye(t,u,c,!b);return}vd(t,e,a,n,c,f,m,N,C,O)}function Fm(t){for(var l=t;;){var e=l.tag;if((e===0||e===11||e===15)&&l.flags&16384&&(e=l.updateQueue,e!==null&&(e=e.stores,e!==null)))for(var a=0;a<e.length;a++){var n=e[a],u=n.getSnapshot;n=n.value;try{if(!zl(u(),n))return!1}catch{return!1}}if(e=l.child,l.subtreeFlags&16384&&e!==null)e.return=l,l=e;else{if(l===t)break;for(;l.sibling===null;){if(l.return===null||l.return===t)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function Ye(t,l,e,a){l&=~Es,l&=~Ga,t.suspendedLanes|=l,t.pingedLanes&=~l,a&&(t.warmLanes|=l),a=t.expirationTimes;for(var n=l;0<n;){var u=31-It(n),c=1<<u;a[u]=-1,n&=~c}e!==0&&ut(t,e,l)}function jc(){return(Xt&6)===0?(pu(0),!1):!0}function zs(){if(yt!==null){if(wt===0)var t=yt.return;else t=yt,Re=Ba=null,Hi(t),fn=null,Pn=0,t=yt;for(;t!==null;)ad(t.alternate,t),t=t.return;yt=null}}function _n(t,l){t.finishedWork=null,t.finishedLanes=0;var e=t.timeoutHandle;e!==-1&&(t.timeoutHandle=-1,yh(e)),e=t.cancelPendingCommit,e!==null&&(t.cancelPendingCommit=null,e()),zs(),Ht=t,yt=e=oa(t.current,null),xt=l,wt=0,Ml=null,qe=!1,bn=sl(t,l),_s=!1,Sn=Wl=Es=Ga=da=Kt=0,ge=hu=null,xs=!1,(l&8)!==0&&(l|=l&32);var a=t.entangledLanes;if(a!==0)for(t=t.entanglements,a&=l;0<a;){var n=31-It(a),u=1<<n;l|=t[n],a&=~u}return Be=l,Fu(),e}function id(t,l){vt=null,Z.H=ye,l===Wn?(l=_r(),wt=3):l===pr?(l=_r(),wt=4):wt=l===So?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,Ml=l,yt===null&&(Kt=1,gc(t,Ql(l,t.current)))}function sd(){var t=Z.H;return Z.H=ye,t===null?ye:t}function fd(){var t=Z.A;return Z.A=km,t}function Ds(){Kt=4,qe||(xt&4194176)!==xt&&Kl.current!==null||(bn=!0),(da&134217727)===0&&(Ga&134217727)===0||Ht===null||Ye(Ht,xt,Wl,!1)}function Rs(t,l,e){var a=Xt;Xt|=2;var n=sd(),u=fd();(Ht!==t||xt!==l)&&(Ac=null,_n(t,l)),l=!1;var c=Kt;t:do try{if(wt!==0&&yt!==null){var f=yt,m=Ml;switch(wt){case 8:zs(),c=6;break t;case 3:case 2:case 6:Kl.current===null&&(l=!0);var b=wt;if(wt=0,Ml=null,En(t,f,m,b),e&&bn){c=0;break t}break;default:b=wt,wt=0,Ml=null,En(t,f,m,b)}}Pm(),c=Kt;break}catch(N){id(t,N)}while(!0);return l&&t.shellSuspendCounter++,Re=Ba=null,Xt=a,Z.H=n,Z.A=u,yt===null&&(Ht=null,xt=0,Fu()),c}function Pm(){for(;yt!==null;)rd(yt)}function Im(t,l){var e=Xt;Xt|=2;var a=sd(),n=fd();Ht!==t||xt!==l?(Ac=null,Tc=_l()+500,_n(t,l)):bn=sl(t,l);t:do try{if(wt!==0&&yt!==null){l=yt;var u=Ml;l:switch(wt){case 1:wt=0,Ml=null,En(t,l,u,1);break;case 2:if(br(u)){wt=0,Ml=null,od(l);break}l=function(){wt===2&&Ht===t&&(wt=7),pe(t)},u.then(l,l);break t;case 3:wt=7;break t;case 4:wt=5;break t;case 7:br(u)?(wt=0,Ml=null,od(l)):(wt=0,Ml=null,En(t,l,u,7));break;case 5:var c=null;switch(yt.tag){case 26:c=yt.memoizedState;case 5:case 27:var f=yt;if(!c||Ld(c)){wt=0,Ml=null;var m=f.sibling;if(m!==null)yt=m;else{var b=f.return;b!==null?(yt=b,Nc(b)):yt=null}break l}}wt=0,Ml=null,En(t,l,u,5);break;case 6:wt=0,Ml=null,En(t,l,u,6);break;case 8:zs(),Kt=6;break t;default:throw Error(s(462))}}th();break}catch(N){id(t,N)}while(!0);return Re=Ba=null,Z.H=a,Z.A=n,Xt=e,yt!==null?0:(Ht=null,xt=0,Fu(),Kt)}function th(){for(;yt!==null&&!_a();)rd(yt)}function rd(t){var l=Mo(t.alternate,t,Be);t.memoizedProps=t.pendingProps,l===null?Nc(t):yt=l}function od(t){var l=t,e=l.alternate;switch(l.tag){case 15:case 0:l=Oo(e,l,l.pendingProps,l.type,void 0,xt);break;case 11:l=Oo(e,l,l.pendingProps,l.type.render,l.ref,xt);break;case 5:Hi(l);default:ad(e,l),l=yt=td(l,Be),l=Mo(e,l,Be)}t.memoizedProps=t.pendingProps,l===null?Nc(t):yt=l}function En(t,l,e,a){Re=Ba=null,Hi(l),fn=null,Pn=0;var n=l.return;try{if(Gm(t,n,l,e,xt)){Kt=1,gc(t,Ql(e,t.current)),yt=null;return}}catch(u){if(n!==null)throw yt=n,u;Kt=1,gc(t,Ql(e,t.current)),yt=null;return}l.flags&32768?(Tt||a===1?t=!0:bn||(xt&536870912)!==0?t=!1:(qe=t=!0,(a===2||a===3||a===6)&&(a=Kl.current,a!==null&&a.tag===13&&(a.flags|=16384))),dd(l,t)):Nc(l)}function Nc(t){var l=t;do{if((l.flags&32768)!==0){dd(l,qe);return}t=l.return;var e=$m(l.alternate,l,Be);if(e!==null){yt=e;return}if(l=l.sibling,l!==null){yt=l;return}yt=l=t}while(l!==null);Kt===0&&(Kt=5)}function dd(t,l){do{var e=Jm(t.alternate,t);if(e!==null){e.flags&=32767,yt=e;return}if(e=t.return,e!==null&&(e.flags|=32768,e.subtreeFlags=0,e.deletions=null),!l&&(t=t.sibling,t!==null)){yt=t;return}yt=t=e}while(t!==null);Kt=6,yt=null}function vd(t,l,e,a,n,u,c,f,m,b){var N=Z.T,C=X.p;try{X.p=2,Z.T=null,lh(t,l,e,a,C,n,u,c,f,m,b)}finally{Z.T=N,X.p=C}}function lh(t,l,e,a,n,u,c,f){do xn();while(Qa!==null);if((Xt&6)!==0)throw Error(s(327));var m=t.finishedWork;if(a=t.finishedLanes,m===null)return null;if(t.finishedWork=null,t.finishedLanes=0,m===t.current)throw Error(s(177));t.callbackNode=null,t.callbackPriority=0,t.cancelPendingCommit=null;var b=m.lanes|m.childLanes;if(b|=Si,at(t,a,b,u,c,f),t===Ht&&(yt=Ht=null,xt=0),(m.subtreeFlags&10256)===0&&(m.flags&10256)===0||Oc||(Oc=!0,As=b,Os=e,uh(wl,function(){return xn(),null})),e=(m.flags&15990)!==0,(m.subtreeFlags&15990)!==0||e?(e=Z.T,Z.T=null,u=X.p,X.p=2,c=Xt,Xt|=4,Zm(t,m),$o(m,t),Am(Qs,t.containerInfo),Lc=!!Gs,Qs=Gs=null,t.current=m,Qo(t,m.alternate,m),Ea(),Xt=c,X.p=u,Z.T=e):t.current=m,Oc?(Oc=!1,Qa=t,yu=a):md(t,b),b=t.pendingLanes,b===0&&(va=null),ka(m.stateNode),pe(t),l!==null)for(n=t.onRecoverableError,m=0;m<l.length;m++)b=l[m],n(b.value,{componentStack:b.stack});return(yu&3)!==0&&xn(),b=t.pendingLanes,(a&4194218)!==0&&(b&42)!==0?t===js?gu++:(gu=0,js=t):gu=0,pu(0),null}function md(t,l){(t.pooledCacheLanes&=l)===0&&(l=t.pooledCache,l!=null&&(t.pooledCache=null,tu(l)))}function xn(){if(Qa!==null){var t=Qa,l=As;As=0;var e=nl(yu),a=Z.T,n=X.p;try{if(X.p=32>e?32:e,Z.T=null,Qa===null)var u=!1;else{e=Os,Os=null;var c=Qa,f=yu;if(Qa=null,yu=0,(Xt&6)!==0)throw Error(s(331));var m=Xt;if(Xt|=4,Po(c.current),ko(c,c.current,f,e),Xt=m,pu(0,!1),Et&&typeof Et.onPostCommitFiberRoot=="function")try{Et.onPostCommitFiberRoot(vl,c)}catch{}u=!0}return u}finally{X.p=n,Z.T=a,md(t,l)}}return!1}function hd(t,l,e){l=Ql(e,l),l=ki(t.stateNode,l,2),t=ia(t,l,2),t!==null&&(L(t,2),pe(t))}function Ct(t,l,e){if(t.tag===3)hd(t,t,e);else for(;l!==null;){if(l.tag===3){hd(l,t,e);break}else if(l.tag===1){var a=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(va===null||!va.has(a))){t=Ql(e,t),e=po(2),a=ia(l,e,2),a!==null&&(bo(e,a,l,t),L(a,2),pe(a));break}}l=l.return}}function Ms(t,l,e){var a=t.pingCache;if(a===null){a=t.pingCache=new Wm;var n=new Set;a.set(l,n)}else n=a.get(l),n===void 0&&(n=new Set,a.set(l,n));n.has(e)||(_s=!0,n.add(e),t=eh.bind(null,t,l,e),l.then(t,t))}function eh(t,l,e){var a=t.pingCache;a!==null&&a.delete(l),t.pingedLanes|=t.suspendedLanes&e,t.warmLanes&=~e,Ht===t&&(xt&e)===e&&(Kt===4||Kt===3&&(xt&62914560)===xt&&300>_l()-Ts?(Xt&2)===0&&_n(t,0):Es|=e,Sn===xt&&(Sn=0)),pe(t)}function yd(t,l){l===0&&(l=pl()),t=Ie(t,l),t!==null&&(L(t,l),pe(t))}function ah(t){var l=t.memoizedState,e=0;l!==null&&(e=l.retryLane),yd(t,e)}function nh(t,l){var e=0;switch(t.tag){case 13:var a=t.stateNode,n=t.memoizedState;n!==null&&(e=n.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(s(314))}a!==null&&a.delete(l),yd(t,e)}function uh(t,l){return Ee(t,l)}var zc=null,Tn=null,Us=!1,Dc=!1,Cs=!1,Za=0;function pe(t){t!==Tn&&t.next===null&&(Tn===null?zc=Tn=t:Tn=Tn.next=t),Dc=!0,Us||(Us=!0,ih(ch))}function pu(t,l){if(!Cs&&Dc){Cs=!0;do for(var e=!1,a=zc;a!==null;){if(t!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var c=a.suspendedLanes,f=a.pingedLanes;u=(1<<31-It(42|t)+1)-1,u&=n&~(c&~f),u=u&201326677?u&201326677|1:u?u|2:0}u!==0&&(e=!0,bd(a,u))}else u=xt,u=Yt(a,a===Ht?u:0),(u&3)===0||sl(a,u)||(e=!0,bd(a,u));a=a.next}while(e);Cs=!1}}function ch(){Dc=Us=!1;var t=0;Za!==0&&(hh()&&(t=Za),Za=0);for(var l=_l(),e=null,a=zc;a!==null;){var n=a.next,u=gd(a,l);u===0?(a.next=null,e===null?zc=n:e.next=n,n===null&&(Tn=e)):(e=a,(t!==0||(u&3)!==0)&&(Dc=!0)),a=n}pu(t)}function gd(t,l){for(var e=t.suspendedLanes,a=t.pingedLanes,n=t.expirationTimes,u=t.pendingLanes&-62914561;0<u;){var c=31-It(u),f=1<<c,m=n[c];m===-1?((f&e)===0||(f&a)!==0)&&(n[c]=lt(f,l)):m<=l&&(t.expiredLanes|=f),u&=~f}if(l=Ht,e=xt,e=Yt(t,t===l?e:0),a=t.callbackNode,e===0||t===l&&wt===2||t.cancelPendingCommit!==null)return a!==null&&a!==null&&xe(a),t.callbackNode=null,t.callbackPriority=0;if((e&3)===0||sl(t,e)){if(l=e&-e,l===t.callbackPriority)return l;switch(a!==null&&xe(a),nl(e)){case 2:case 8:e=Ze;break;case 32:e=wl;break;case 268435456:e=Ke;break;default:e=wl}return a=pd.bind(null,t),e=Ee(e,a),t.callbackPriority=l,t.callbackNode=e,l}return a!==null&&a!==null&&xe(a),t.callbackPriority=2,t.callbackNode=null,2}function pd(t,l){var e=t.callbackNode;if(xn()&&t.callbackNode!==e)return null;var a=xt;return a=Yt(t,t===Ht?a:0),a===0?null:(ud(t,a,l),gd(t,_l()),t.callbackNode!=null&&t.callbackNode===e?pd.bind(null,t):null)}function bd(t,l){if(xn())return null;ud(t,l,!0)}function ih(t){gh(function(){(Xt&6)!==0?Ee(ee,t):t()})}function Hs(){return Za===0&&(Za=ht()),Za}function Sd(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Zu(""+t)}function _d(t,l){var e=l.ownerDocument.createElement("input");return e.name=l.name,e.value=l.value,t.id&&e.setAttribute("form",t.id),l.parentNode.insertBefore(e,l),t=new FormData(t),e.parentNode.removeChild(e),t}function sh(t,l,e,a,n){if(l==="submit"&&e&&e.stateNode===n){var u=Sd((n[dt]||null).action),c=a.submitter;c&&(l=(l=c[dt]||null)?Sd(l.formAction):c.getAttribute("formAction"),l!==null&&(u=l,c=null));var f=new Ju("action","action",null,a,n);t.push({event:f,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Za!==0){var m=c?_d(n,c):new FormData(n);Zi(e,{pending:!0,data:m,method:n.method,action:u},null,m)}}else typeof u=="function"&&(f.preventDefault(),m=c?_d(n,c):new FormData(n),Zi(e,{pending:!0,data:m,method:n.method,action:u},u,m))},currentTarget:n}]})}}for(var ws=0;ws<dr.length;ws++){var qs=dr[ws],fh=qs.toLowerCase(),rh=qs[0].toUpperCase()+qs.slice(1);ce(fh,"on"+rh)}ce(ir,"onAnimationEnd"),ce(sr,"onAnimationIteration"),ce(fr,"onAnimationStart"),ce("dblclick","onDoubleClick"),ce("focusin","onFocus"),ce("focusout","onBlur"),ce(jm,"onTransitionRun"),ce(Nm,"onTransitionStart"),ce(zm,"onTransitionCancel"),ce(rr,"onTransitionEnd"),Wa("onMouseEnter",["mouseout","mouseover"]),Wa("onMouseLeave",["mouseout","mouseover"]),Wa("onPointerEnter",["pointerout","pointerover"]),Wa("onPointerLeave",["pointerout","pointerover"]),Aa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Aa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Aa("onBeforeInput",["compositionend","keypress","textInput","paste"]),Aa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Aa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Aa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var bu="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(" "),oh=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(bu));function Ed(t,l){l=(l&4)!==0;for(var e=0;e<t.length;e++){var a=t[e],n=a.event;a=a.listeners;t:{var u=void 0;if(l)for(var c=a.length-1;0<=c;c--){var f=a[c],m=f.instance,b=f.currentTarget;if(f=f.listener,m!==u&&n.isPropagationStopped())break t;u=f,n.currentTarget=b;try{u(n)}catch(N){yc(N)}n.currentTarget=null,u=m}else for(c=0;c<a.length;c++){if(f=a[c],m=f.instance,b=f.currentTarget,f=f.listener,m!==u&&n.isPropagationStopped())break t;u=f,n.currentTarget=b;try{u(n)}catch(N){yc(N)}n.currentTarget=null,u=m}}}}function St(t,l){var e=l[wn];e===void 0&&(e=l[wn]=new Set);var a=t+"__bubble";e.has(a)||(xd(l,t,2,!1),e.add(a))}function Bs(t,l,e){var a=0;l&&(a|=4),xd(e,t,a,l)}var Rc="_reactListening"+Math.random().toString(36).slice(2);function Ys(t){if(!t[Rc]){t[Rc]=!0,Af.forEach(function(e){e!=="selectionchange"&&(oh.has(e)||Bs(e,!1,t),Bs(e,!0,t))});var l=t.nodeType===9?t:t.ownerDocument;l===null||l[Rc]||(l[Rc]=!0,Bs("selectionchange",!1,l))}}function xd(t,l,e,a){switch(Kd(l)){case 2:var n=qh;break;case 8:n=Bh;break;default:n=Ps}e=n.bind(null,l,e,t),n=void 0,!ii||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(n=!0),a?n!==void 0?t.addEventListener(l,e,{capture:!0,passive:n}):t.addEventListener(l,e,!0):n!==void 0?t.addEventListener(l,e,{passive:n}):t.addEventListener(l,e,!1)}function Ls(t,l,e,a,n){var u=a;if((l&1)===0&&(l&2)===0&&a!==null)t:for(;;){if(a===null)return;var c=a.tag;if(c===3||c===4){var f=a.stateNode.containerInfo;if(f===n||f.nodeType===8&&f.parentNode===n)break;if(c===4)for(c=a.return;c!==null;){var m=c.tag;if((m===3||m===4)&&(m=c.stateNode.containerInfo,m===n||m.nodeType===8&&m.parentNode===n))return;c=c.return}for(;f!==null;){if(c=ml(f),c===null)return;if(m=c.tag,m===5||m===6||m===26||m===27){a=u=c;continue t}f=f.parentNode}}a=a.return}qf(function(){var b=u,N=ui(e),C=[];t:{var O=or.get(t);if(O!==void 0){var j=Ju,k=t;switch(t){case"keypress":if(Ku(e)===0)break t;case"keydown":case"keyup":j=nm;break;case"focusin":k="focus",j=oi;break;case"focusout":k="blur",j=oi;break;case"beforeblur":case"afterblur":j=oi;break;case"click":if(e.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":j=Lf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":j=Kv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":j=im;break;case ir:case sr:case fr:j=kv;break;case rr:j=fm;break;case"scroll":case"scrollend":j=Zv;break;case"wheel":j=om;break;case"copy":case"cut":case"paste":j=Fv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":j=Gf;break;case"toggle":case"beforetoggle":j=vm}var it=(l&4)!==0,$t=!it&&(t==="scroll"||t==="scrollend"),E=it?O!==null?O+"Capture":null:O;it=[];for(var p=b,A;p!==null;){var R=p;if(A=R.stateNode,R=R.tag,R!==5&&R!==26&&R!==27||A===null||E===null||(R=Bn(p,E),R!=null&&it.push(Su(p,R,A))),$t)break;p=p.return}0<it.length&&(O=new j(O,k,null,e,N),C.push({event:O,listeners:it}))}}if((l&7)===0){t:{if(O=t==="mouseover"||t==="pointerover",j=t==="mouseout"||t==="pointerout",O&&e!==ni&&(k=e.relatedTarget||e.fromElement)&&(ml(k)||k[Yl]))break t;if((j||O)&&(O=N.window===N?N:(O=N.ownerDocument)?O.defaultView||O.parentWindow:window,j?(k=e.relatedTarget||e.toElement,j=b,k=k?ml(k):null,k!==null&&($t=G(k),it=k.tag,k!==$t||it!==5&&it!==27&&it!==6)&&(k=null)):(j=null,k=b),j!==k)){if(it=Lf,R="onMouseLeave",E="onMouseEnter",p="mouse",(t==="pointerout"||t==="pointerover")&&(it=Gf,R="onPointerLeave",E="onPointerEnter",p="pointer"),$t=j==null?O:ue(j),A=k==null?O:ue(k),O=new it(R,p+"leave",j,e,N),O.target=$t,O.relatedTarget=A,R=null,ml(N)===b&&(it=new it(E,p+"enter",k,e,N),it.target=A,it.relatedTarget=$t,R=it),$t=R,j&&k)l:{for(it=j,E=k,p=0,A=it;A;A=An(A))p++;for(A=0,R=E;R;R=An(R))A++;for(;0<p-A;)it=An(it),p--;for(;0<A-p;)E=An(E),A--;for(;p--;){if(it===E||E!==null&&it===E.alternate)break l;it=An(it),E=An(E)}it=null}else it=null;j!==null&&Td(C,O,j,it,!1),k!==null&&$t!==null&&Td(C,$t,k,it,!0)}}t:{if(O=b?ue(b):window,j=O.nodeName&&O.nodeName.toLowerCase(),j==="select"||j==="input"&&O.type==="file")var Q=Wf;else if(Jf(O))if(Ff)Q=xm;else{Q=_m;var mt=Sm}else j=O.nodeName,!j||j.toLowerCase()!=="input"||O.type!=="checkbox"&&O.type!=="radio"?b&&ai(b.elementType)&&(Q=Wf):Q=Em;if(Q&&(Q=Q(t,b))){kf(C,Q,e,N);break t}mt&&mt(t,O,b),t==="focusout"&&b&&O.type==="number"&&b.memoizedProps.value!=null&&ei(O,"number",O.value)}switch(mt=b?ue(b):window,t){case"focusin":(Jf(mt)||mt.contentEditable==="true")&&(en=mt,gi=b,Kn=null);break;case"focusout":Kn=gi=en=null;break;case"mousedown":pi=!0;break;case"contextmenu":case"mouseup":case"dragend":pi=!1,ur(C,e,N);break;case"selectionchange":if(Om)break;case"keydown":case"keyup":ur(C,e,N)}var I;if(vi)t:{switch(t){case"compositionstart":var et="onCompositionStart";break t;case"compositionend":et="onCompositionEnd";break t;case"compositionupdate":et="onCompositionUpdate";break t}et=void 0}else ln?Kf(t,e)&&(et="onCompositionEnd"):t==="keydown"&&e.keyCode===229&&(et="onCompositionStart");et&&(Qf&&e.locale!=="ko"&&(ln||et!=="onCompositionStart"?et==="onCompositionEnd"&&ln&&(I=Bf()):(Pe=N,si="value"in Pe?Pe.value:Pe.textContent,ln=!0)),mt=Mc(b,et),0<mt.length&&(et=new Xf(et,t,null,e,N),C.push({event:et,listeners:mt}),I?et.data=I:(I=$f(e),I!==null&&(et.data=I)))),(I=hm?ym(t,e):gm(t,e))&&(et=Mc(b,"onBeforeInput"),0<et.length&&(mt=new Xf("onBeforeInput","beforeinput",null,e,N),C.push({event:mt,listeners:et}),mt.data=I)),sh(C,t,b,e,N)}Ed(C,l)})}function Su(t,l,e){return{instance:t,listener:l,currentTarget:e}}function Mc(t,l){for(var e=l+"Capture",a=[];t!==null;){var n=t,u=n.stateNode;n=n.tag,n!==5&&n!==26&&n!==27||u===null||(n=Bn(t,e),n!=null&&a.unshift(Su(t,n,u)),n=Bn(t,l),n!=null&&a.push(Su(t,n,u))),t=t.return}return a}function An(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Td(t,l,e,a,n){for(var u=l._reactName,c=[];e!==null&&e!==a;){var f=e,m=f.alternate,b=f.stateNode;if(f=f.tag,m!==null&&m===a)break;f!==5&&f!==26&&f!==27||b===null||(m=b,n?(b=Bn(e,u),b!=null&&c.unshift(Su(e,b,m))):n||(b=Bn(e,u),b!=null&&c.push(Su(e,b,m)))),e=e.return}c.length!==0&&t.push({event:l,listeners:c})}var dh=/\r\n?/g,vh=/\u0000|\uFFFD/g;function Ad(t){return(typeof t=="string"?t:""+t).replace(dh,`
`).replace(vh,"")}function Od(t,l){return l=Ad(l),Ad(t)===l}function Uc(){}function Rt(t,l,e,a,n,u){switch(e){case"children":typeof a=="string"?l==="body"||l==="textarea"&&a===""||Pa(t,a):(typeof a=="number"||typeof a=="bigint")&&l!=="body"&&Pa(t,""+a);break;case"className":Xu(t,"class",a);break;case"tabIndex":Xu(t,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Xu(t,e,a);break;case"style":Hf(t,a,u);break;case"data":if(l!=="object"){Xu(t,"data",a);break}case"src":case"href":if(a===""&&(l!=="a"||e!=="href")){t.removeAttribute(e);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(e);break}a=Zu(""+a),t.setAttribute(e,a);break;case"action":case"formAction":if(typeof a=="function"){t.setAttribute(e,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(e==="formAction"?(l!=="input"&&Rt(t,l,"name",n.name,n,null),Rt(t,l,"formEncType",n.formEncType,n,null),Rt(t,l,"formMethod",n.formMethod,n,null),Rt(t,l,"formTarget",n.formTarget,n,null)):(Rt(t,l,"encType",n.encType,n,null),Rt(t,l,"method",n.method,n,null),Rt(t,l,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(e);break}a=Zu(""+a),t.setAttribute(e,a);break;case"onClick":a!=null&&(t.onclick=Uc);break;case"onScroll":a!=null&&St("scroll",t);break;case"onScrollEnd":a!=null&&St("scrollend",t);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(s(61));if(e=a.__html,e!=null){if(n.children!=null)throw Error(s(60));t.innerHTML=e}}break;case"multiple":t.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":t.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){t.removeAttribute("xlink:href");break}e=Zu(""+a),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",e);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(e,""+a):t.removeAttribute(e);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(e,""):t.removeAttribute(e);break;case"capture":case"download":a===!0?t.setAttribute(e,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(e,a):t.removeAttribute(e);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?t.setAttribute(e,a):t.removeAttribute(e);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?t.removeAttribute(e):t.setAttribute(e,a);break;case"popover":St("beforetoggle",t),St("toggle",t),Lu(t,"popover",a);break;case"xlinkActuate":Ae(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Ae(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Ae(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Ae(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Ae(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Ae(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Ae(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Ae(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Ae(t,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Lu(t,"is",a);break;case"innerText":case"textContent":break;default:(!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")&&(e=Gv.get(e)||e,Lu(t,e,a))}}function Xs(t,l,e,a,n,u){switch(e){case"style":Hf(t,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(s(61));if(e=a.__html,e!=null){if(n.children!=null)throw Error(s(60));t.innerHTML=e}}break;case"children":typeof a=="string"?Pa(t,a):(typeof a=="number"||typeof a=="bigint")&&Pa(t,""+a);break;case"onScroll":a!=null&&St("scroll",t);break;case"onScrollEnd":a!=null&&St("scrollend",t);break;case"onClick":a!=null&&(t.onclick=Uc);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Of.hasOwnProperty(e))t:{if(e[0]==="o"&&e[1]==="n"&&(n=e.endsWith("Capture"),l=e.slice(2,n?e.length-7:void 0),u=t[dt]||null,u=u!=null?u[e]:null,typeof u=="function"&&t.removeEventListener(l,u,n),typeof a=="function")){typeof u!="function"&&u!==null&&(e in t?t[e]=null:t.hasAttribute(e)&&t.removeAttribute(e)),t.addEventListener(l,a,n);break t}e in t?t[e]=a:a===!0?t.setAttribute(e,""):Lu(t,e,a)}}}function gl(t,l,e){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":St("error",t),St("load",t);var a=!1,n=!1,u;for(u in e)if(e.hasOwnProperty(u)){var c=e[u];if(c!=null)switch(u){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,l));default:Rt(t,l,u,c,e,null)}}n&&Rt(t,l,"srcSet",e.srcSet,e,null),a&&Rt(t,l,"src",e.src,e,null);return;case"input":St("invalid",t);var f=u=c=n=null,m=null,b=null;for(a in e)if(e.hasOwnProperty(a)){var N=e[a];if(N!=null)switch(a){case"name":n=N;break;case"type":c=N;break;case"checked":m=N;break;case"defaultChecked":b=N;break;case"value":u=N;break;case"defaultValue":f=N;break;case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(s(137,l));break;default:Rt(t,l,a,N,e,null)}}Rf(t,u,f,m,b,c,n,!1),Gu(t);return;case"select":St("invalid",t),a=c=u=null;for(n in e)if(e.hasOwnProperty(n)&&(f=e[n],f!=null))switch(n){case"value":u=f;break;case"defaultValue":c=f;break;case"multiple":a=f;default:Rt(t,l,n,f,e,null)}l=u,e=c,t.multiple=!!a,l!=null?Fa(t,!!a,l,!1):e!=null&&Fa(t,!!a,e,!0);return;case"textarea":St("invalid",t),u=n=a=null;for(c in e)if(e.hasOwnProperty(c)&&(f=e[c],f!=null))switch(c){case"value":a=f;break;case"defaultValue":n=f;break;case"children":u=f;break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(s(91));break;default:Rt(t,l,c,f,e,null)}Uf(t,a,n,u),Gu(t);return;case"option":for(m in e)if(e.hasOwnProperty(m)&&(a=e[m],a!=null))switch(m){case"selected":t.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Rt(t,l,m,a,e,null)}return;case"dialog":St("cancel",t),St("close",t);break;case"iframe":case"object":St("load",t);break;case"video":case"audio":for(a=0;a<bu.length;a++)St(bu[a],t);break;case"image":St("error",t),St("load",t);break;case"details":St("toggle",t);break;case"embed":case"source":case"link":St("error",t),St("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(b in e)if(e.hasOwnProperty(b)&&(a=e[b],a!=null))switch(b){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,l));default:Rt(t,l,b,a,e,null)}return;default:if(ai(l)){for(N in e)e.hasOwnProperty(N)&&(a=e[N],a!==void 0&&Xs(t,l,N,a,e,void 0));return}}for(f in e)e.hasOwnProperty(f)&&(a=e[f],a!=null&&Rt(t,l,f,a,e,null))}function mh(t,l,e,a){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,u=null,c=null,f=null,m=null,b=null,N=null;for(j in e){var C=e[j];if(e.hasOwnProperty(j)&&C!=null)switch(j){case"checked":break;case"value":break;case"defaultValue":m=C;default:a.hasOwnProperty(j)||Rt(t,l,j,null,a,C)}}for(var O in a){var j=a[O];if(C=e[O],a.hasOwnProperty(O)&&(j!=null||C!=null))switch(O){case"type":u=j;break;case"name":n=j;break;case"checked":b=j;break;case"defaultChecked":N=j;break;case"value":c=j;break;case"defaultValue":f=j;break;case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(s(137,l));break;default:j!==C&&Rt(t,l,O,j,a,C)}}li(t,c,f,m,b,N,u,n);return;case"select":j=c=f=O=null;for(u in e)if(m=e[u],e.hasOwnProperty(u)&&m!=null)switch(u){case"value":break;case"multiple":j=m;default:a.hasOwnProperty(u)||Rt(t,l,u,null,a,m)}for(n in a)if(u=a[n],m=e[n],a.hasOwnProperty(n)&&(u!=null||m!=null))switch(n){case"value":O=u;break;case"defaultValue":f=u;break;case"multiple":c=u;default:u!==m&&Rt(t,l,n,u,a,m)}l=f,e=c,a=j,O!=null?Fa(t,!!e,O,!1):!!a!=!!e&&(l!=null?Fa(t,!!e,l,!0):Fa(t,!!e,e?[]:"",!1));return;case"textarea":j=O=null;for(f in e)if(n=e[f],e.hasOwnProperty(f)&&n!=null&&!a.hasOwnProperty(f))switch(f){case"value":break;case"children":break;default:Rt(t,l,f,null,a,n)}for(c in a)if(n=a[c],u=e[c],a.hasOwnProperty(c)&&(n!=null||u!=null))switch(c){case"value":O=n;break;case"defaultValue":j=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(s(91));break;default:n!==u&&Rt(t,l,c,n,a,u)}Mf(t,O,j);return;case"option":for(var k in e)if(O=e[k],e.hasOwnProperty(k)&&O!=null&&!a.hasOwnProperty(k))switch(k){case"selected":t.selected=!1;break;default:Rt(t,l,k,null,a,O)}for(m in a)if(O=a[m],j=e[m],a.hasOwnProperty(m)&&O!==j&&(O!=null||j!=null))switch(m){case"selected":t.selected=O&&typeof O!="function"&&typeof O!="symbol";break;default:Rt(t,l,m,O,a,j)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var it in e)O=e[it],e.hasOwnProperty(it)&&O!=null&&!a.hasOwnProperty(it)&&Rt(t,l,it,null,a,O);for(b in a)if(O=a[b],j=e[b],a.hasOwnProperty(b)&&O!==j&&(O!=null||j!=null))switch(b){case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(s(137,l));break;default:Rt(t,l,b,O,a,j)}return;default:if(ai(l)){for(var $t in e)O=e[$t],e.hasOwnProperty($t)&&O!==void 0&&!a.hasOwnProperty($t)&&Xs(t,l,$t,void 0,a,O);for(N in a)O=a[N],j=e[N],!a.hasOwnProperty(N)||O===j||O===void 0&&j===void 0||Xs(t,l,N,O,a,j);return}}for(var E in e)O=e[E],e.hasOwnProperty(E)&&O!=null&&!a.hasOwnProperty(E)&&Rt(t,l,E,null,a,O);for(C in a)O=a[C],j=e[C],!a.hasOwnProperty(C)||O===j||O==null&&j==null||Rt(t,l,C,O,a,j)}var Gs=null,Qs=null;function Cc(t){return t.nodeType===9?t:t.ownerDocument}function jd(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Nd(t,l){if(t===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&l==="foreignObject"?0:t}function Zs(t,l){return t==="textarea"||t==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.children=="bigint"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var Vs=null;function hh(){var t=window.event;return t&&t.type==="popstate"?t===Vs?!1:(Vs=t,!0):(Vs=null,!1)}var zd=typeof setTimeout=="function"?setTimeout:void 0,yh=typeof clearTimeout=="function"?clearTimeout:void 0,Dd=typeof Promise=="function"?Promise:void 0,gh=typeof queueMicrotask=="function"?queueMicrotask:typeof Dd<"u"?function(t){return Dd.resolve(null).then(t).catch(ph)}:zd;function ph(t){setTimeout(function(){throw t})}function Ks(t,l){var e=l,a=0;do{var n=e.nextSibling;if(t.removeChild(e),n&&n.nodeType===8)if(e=n.data,e==="/$"){if(a===0){t.removeChild(n),Nu(l);return}a--}else e!=="$"&&e!=="$?"&&e!=="$!"||a++;e=n}while(e);Nu(l)}function $s(t){var l=t.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var e=l;switch(l=l.nextSibling,e.nodeName){case"HTML":case"HEAD":case"BODY":$s(e),Ot(e);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(e.rel.toLowerCase()==="stylesheet")continue}t.removeChild(e)}}function bh(t,l,e,a){for(;t.nodeType===1;){var n=e;if(t.nodeName.toLowerCase()!==l.toLowerCase()){if(!a&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(a){if(!t[We])switch(l){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(u=t.getAttribute("rel"),u==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(u!==n.rel||t.getAttribute("href")!==(n.href==null?null:n.href)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||t.getAttribute("title")!==(n.title==null?null:n.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(u=t.getAttribute("src"),(u!==(n.src==null?null:n.src)||t.getAttribute("type")!==(n.type==null?null:n.type)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&u&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(l==="input"&&t.type==="hidden"){var u=n.name==null?null:""+n.name;if(n.type==="hidden"&&t.getAttribute("name")===u)return t}else return t;if(t=fe(t.nextSibling),t===null)break}return null}function Sh(t,l,e){if(l==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=fe(t.nextSibling),t===null))return null;return t}function fe(t){for(;t!=null;t=t.nextSibling){var l=t.nodeType;if(l===1||l===3)break;if(l===8){if(l=t.data,l==="$"||l==="$!"||l==="$?"||l==="F!"||l==="F")break;if(l==="/$")return null}}return t}function Rd(t){t=t.previousSibling;for(var l=0;t;){if(t.nodeType===8){var e=t.data;if(e==="$"||e==="$!"||e==="$?"){if(l===0)return t;l--}else e==="/$"&&l++}t=t.previousSibling}return null}function Md(t,l,e){switch(l=Cc(e),t){case"html":if(t=l.documentElement,!t)throw Error(s(452));return t;case"head":if(t=l.head,!t)throw Error(s(453));return t;case"body":if(t=l.body,!t)throw Error(s(454));return t;default:throw Error(s(451))}}var Fl=new Map,Ud=new Set;function Hc(t){return typeof t.getRootNode=="function"?t.getRootNode():t.ownerDocument}var Le=X.d;X.d={f:_h,r:Eh,D:xh,C:Th,L:Ah,m:Oh,X:Nh,S:jh,M:zh};function _h(){var t=Le.f(),l=jc();return t||l}function Eh(t){var l=ve(t);l!==null&&l.tag===5&&l.type==="form"?uo(l):Le.r(t)}var On=typeof document>"u"?null:document;function Cd(t,l,e){var a=On;if(a&&typeof l=="string"&&l){var n=Xl(l);n='link[rel="'+t+'"][href="'+n+'"]',typeof e=="string"&&(n+='[crossorigin="'+e+'"]'),Ud.has(n)||(Ud.add(n),t={rel:t,crossOrigin:e,href:l},a.querySelector(n)===null&&(l=a.createElement("link"),gl(l,"link",t),Zt(l),a.head.appendChild(l)))}}function xh(t){Le.D(t),Cd("dns-prefetch",t,null)}function Th(t,l){Le.C(t,l),Cd("preconnect",t,l)}function Ah(t,l,e){Le.L(t,l,e);var a=On;if(a&&t&&l){var n='link[rel="preload"][as="'+Xl(l)+'"]';l==="image"&&e&&e.imageSrcSet?(n+='[imagesrcset="'+Xl(e.imageSrcSet)+'"]',typeof e.imageSizes=="string"&&(n+='[imagesizes="'+Xl(e.imageSizes)+'"]')):n+='[href="'+Xl(t)+'"]';var u=n;switch(l){case"style":u=jn(t);break;case"script":u=Nn(t)}Fl.has(u)||(t=ct({rel:"preload",href:l==="image"&&e&&e.imageSrcSet?void 0:t,as:l},e),Fl.set(u,t),a.querySelector(n)!==null||l==="style"&&a.querySelector(_u(u))||l==="script"&&a.querySelector(Eu(u))||(l=a.createElement("link"),gl(l,"link",t),Zt(l),a.head.appendChild(l)))}}function Oh(t,l){Le.m(t,l);var e=On;if(e&&t){var a=l&&typeof l.as=="string"?l.as:"script",n='link[rel="modulepreload"][as="'+Xl(a)+'"][href="'+Xl(t)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Nn(t)}if(!Fl.has(u)&&(t=ct({rel:"modulepreload",href:t},l),Fl.set(u,t),e.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(e.querySelector(Eu(u)))return}a=e.createElement("link"),gl(a,"link",t),Zt(a),e.head.appendChild(a)}}}function jh(t,l,e){Le.S(t,l,e);var a=On;if(a&&t){var n=Fe(a).hoistableStyles,u=jn(t);l=l||"default";var c=n.get(u);if(!c){var f={loading:0,preload:null};if(c=a.querySelector(_u(u)))f.loading=5;else{t=ct({rel:"stylesheet",href:t,"data-precedence":l},e),(e=Fl.get(u))&&Js(t,e);var m=c=a.createElement("link");Zt(m),gl(m,"link",t),m._p=new Promise(function(b,N){m.onload=b,m.onerror=N}),m.addEventListener("load",function(){f.loading|=1}),m.addEventListener("error",function(){f.loading|=2}),f.loading|=4,wc(c,l,a)}c={type:"stylesheet",instance:c,count:1,state:f},n.set(u,c)}}}function Nh(t,l){Le.X(t,l);var e=On;if(e&&t){var a=Fe(e).hoistableScripts,n=Nn(t),u=a.get(n);u||(u=e.querySelector(Eu(n)),u||(t=ct({src:t,async:!0},l),(l=Fl.get(n))&&ks(t,l),u=e.createElement("script"),Zt(u),gl(u,"link",t),e.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function zh(t,l){Le.M(t,l);var e=On;if(e&&t){var a=Fe(e).hoistableScripts,n=Nn(t),u=a.get(n);u||(u=e.querySelector(Eu(n)),u||(t=ct({src:t,async:!0,type:"module"},l),(l=Fl.get(n))&&ks(t,l),u=e.createElement("script"),Zt(u),gl(u,"link",t),e.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function Hd(t,l,e,a){var n=(n=dl.current)?Hc(n):null;if(!n)throw Error(s(446));switch(t){case"meta":case"title":return null;case"style":return typeof e.precedence=="string"&&typeof e.href=="string"?(l=jn(e.href),e=Fe(n).hoistableStyles,a=e.get(l),a||(a={type:"style",instance:null,count:0,state:null},e.set(l,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(e.rel==="stylesheet"&&typeof e.href=="string"&&typeof e.precedence=="string"){t=jn(e.href);var u=Fe(n).hoistableStyles,c=u.get(t);if(c||(n=n.ownerDocument||n,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(t,c),(u=n.querySelector(_u(t)))&&!u._p&&(c.instance=u,c.state.loading=5),Fl.has(t)||(e={rel:"preload",as:"style",href:e.href,crossOrigin:e.crossOrigin,integrity:e.integrity,media:e.media,hrefLang:e.hrefLang,referrerPolicy:e.referrerPolicy},Fl.set(t,e),u||Dh(n,t,e,c.state))),l&&a===null)throw Error(s(528,""));return c}if(l&&a!==null)throw Error(s(529,""));return null;case"script":return l=e.async,e=e.src,typeof e=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=Nn(e),e=Fe(n).hoistableScripts,a=e.get(l),a||(a={type:"script",instance:null,count:0,state:null},e.set(l,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,t))}}function jn(t){return'href="'+Xl(t)+'"'}function _u(t){return'link[rel="stylesheet"]['+t+"]"}function wd(t){return ct({},t,{"data-precedence":t.precedence,precedence:null})}function Dh(t,l,e,a){t.querySelector('link[rel="preload"][as="style"]['+l+"]")?a.loading=1:(l=t.createElement("link"),a.preload=l,l.addEventListener("load",function(){return a.loading|=1}),l.addEventListener("error",function(){return a.loading|=2}),gl(l,"link",e),Zt(l),t.head.appendChild(l))}function Nn(t){return'[src="'+Xl(t)+'"]'}function Eu(t){return"script[async]"+t}function qd(t,l,e){if(l.count++,l.instance===null)switch(l.type){case"style":var a=t.querySelector('style[data-href~="'+Xl(e.href)+'"]');if(a)return l.instance=a,Zt(a),a;var n=ct({},e,{"data-href":e.href,"data-precedence":e.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),Zt(a),gl(a,"style",n),wc(a,e.precedence,t),l.instance=a;case"stylesheet":n=jn(e.href);var u=t.querySelector(_u(n));if(u)return l.state.loading|=4,l.instance=u,Zt(u),u;a=wd(e),(n=Fl.get(n))&&Js(a,n),u=(t.ownerDocument||t).createElement("link"),Zt(u);var c=u;return c._p=new Promise(function(f,m){c.onload=f,c.onerror=m}),gl(u,"link",a),l.state.loading|=4,wc(u,e.precedence,t),l.instance=u;case"script":return u=Nn(e.src),(n=t.querySelector(Eu(u)))?(l.instance=n,Zt(n),n):(a=e,(n=Fl.get(u))&&(a=ct({},e),ks(a,n)),t=t.ownerDocument||t,n=t.createElement("script"),Zt(n),gl(n,"link",a),t.head.appendChild(n),l.instance=n);case"void":return null;default:throw Error(s(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(a=l.instance,l.state.loading|=4,wc(a,e.precedence,t));return l.instance}function wc(t,l,e){for(var a=e.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,u=n,c=0;c<a.length;c++){var f=a[c];if(f.dataset.precedence===l)u=f;else if(u!==n)break}u?u.parentNode.insertBefore(t,u.nextSibling):(l=e.nodeType===9?e.head:e,l.insertBefore(t,l.firstChild))}function Js(t,l){t.crossOrigin==null&&(t.crossOrigin=l.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=l.referrerPolicy),t.title==null&&(t.title=l.title)}function ks(t,l){t.crossOrigin==null&&(t.crossOrigin=l.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=l.referrerPolicy),t.integrity==null&&(t.integrity=l.integrity)}var qc=null;function Bd(t,l,e){if(qc===null){var a=new Map,n=qc=new Map;n.set(e,a)}else n=qc,a=n.get(e),a||(a=new Map,n.set(e,a));if(a.has(t))return a;for(a.set(t,null),e=e.getElementsByTagName(t),n=0;n<e.length;n++){var u=e[n];if(!(u[We]||u[jt]||t==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var c=u.getAttribute(l)||"";c=t+c;var f=a.get(c);f?f.push(u):a.set(c,[u])}}return a}function Yd(t,l,e){t=t.ownerDocument||t,t.head.insertBefore(e,l==="title"?t.querySelector("head > title"):null)}function Rh(t,l,e){if(e===1||l.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return t=l.disabled,typeof l.precedence=="string"&&t==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function Ld(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var xu=null;function Mh(){}function Uh(t,l,e){if(xu===null)throw Error(s(475));var a=xu;if(l.type==="stylesheet"&&(typeof e.media!="string"||matchMedia(e.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var n=jn(e.href),u=t.querySelector(_u(n));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(a.count++,a=Bc.bind(a),t.then(a,a)),l.state.loading|=4,l.instance=u,Zt(u);return}u=t.ownerDocument||t,e=wd(e),(n=Fl.get(n))&&Js(e,n),u=u.createElement("link"),Zt(u);var c=u;c._p=new Promise(function(f,m){c.onload=f,c.onerror=m}),gl(u,"link",e),l.instance=u}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&3)===0&&(a.count++,l=Bc.bind(a),t.addEventListener("load",l),t.addEventListener("error",l))}}function Ch(){if(xu===null)throw Error(s(475));var t=xu;return t.stylesheets&&t.count===0&&Ws(t,t.stylesheets),0<t.count?function(l){var e=setTimeout(function(){if(t.stylesheets&&Ws(t,t.stylesheets),t.unsuspend){var a=t.unsuspend;t.unsuspend=null,a()}},6e4);return t.unsuspend=l,function(){t.unsuspend=null,clearTimeout(e)}}:null}function Bc(){if(this.count--,this.count===0){if(this.stylesheets)Ws(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Yc=null;function Ws(t,l){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Yc=new Map,l.forEach(Hh,t),Yc=null,Bc.call(t))}function Hh(t,l){if(!(l.state.loading&4)){var e=Yc.get(t);if(e)var a=e.get(null);else{e=new Map,Yc.set(t,e);for(var n=t.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<n.length;u++){var c=n[u];(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")&&(e.set(c.dataset.precedence,c),a=c)}a&&e.set(null,a)}n=l.instance,c=n.getAttribute("data-precedence"),u=e.get(c)||a,u===a&&e.set(null,n),e.set(c,n),this.count++,a=Bc.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),u?u.parentNode.insertBefore(n,u.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(n,t.firstChild)),l.state.loading|=4}}var Tu={$$typeof:z,Provider:null,Consumer:null,_currentValue:ot,_currentValue2:ot,_threadCount:0};function wh(t,l,e,a,n,u,c,f){this.tag=1,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ne(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ne(0),this.hiddenUpdates=ne(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=u,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=f,this.incompleteTransitions=new Map}function Xd(t,l,e,a,n,u,c,f,m,b,N,C){return t=new wh(t,l,e,c,f,m,b,C),l=1,u===!0&&(l|=24),u=kl(3,null,null,l),t.current=u,u.stateNode=t,l=Ni(),l.refCount++,t.pooledCache=l,l.refCount++,u.memoizedState={element:a,isDehydrated:e,cache:l},ss(u),t}function Gd(t){return t?(t=un,t):un}function Qd(t,l,e,a,n,u){n=Gd(n),a.context===null?a.context=n:a.pendingContext=n,a=ca(l),a.payload={element:e},u=u===void 0?null:u,u!==null&&(a.callback=u),e=ia(t,a,l),e!==null&&(xl(e,t,l),iu(e,t,l))}function Zd(t,l){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var e=t.retryLane;t.retryLane=e!==0&&e<l?e:l}}function Fs(t,l){Zd(t,l),(t=t.alternate)&&Zd(t,l)}function Vd(t){if(t.tag===13){var l=Ie(t,67108864);l!==null&&xl(l,t,67108864),Fs(t,67108864)}}var Lc=!0;function qh(t,l,e,a){var n=Z.T;Z.T=null;var u=X.p;try{X.p=2,Ps(t,l,e,a)}finally{X.p=u,Z.T=n}}function Bh(t,l,e,a){var n=Z.T;Z.T=null;var u=X.p;try{X.p=8,Ps(t,l,e,a)}finally{X.p=u,Z.T=n}}function Ps(t,l,e,a){if(Lc){var n=Is(a);if(n===null)Ls(t,l,a,Xc,e),$d(t,a);else if(Lh(n,t,l,e,a))a.stopPropagation();else if($d(t,a),l&4&&-1<Yh.indexOf(t)){for(;n!==null;){var u=ve(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var c=ql(u.pendingLanes);if(c!==0){var f=u;for(f.pendingLanes|=2,f.entangledLanes|=2;c;){var m=1<<31-It(c);f.entanglements[1]|=m,c&=~m}pe(u),(Xt&6)===0&&(Tc=_l()+500,pu(0))}}break;case 13:f=Ie(u,2),f!==null&&xl(f,u,2),jc(),Fs(u,2)}if(u=Is(a),u===null&&Ls(t,l,a,Xc,e),u===n)break;n=u}n!==null&&a.stopPropagation()}else Ls(t,l,a,null,e)}}function Is(t){return t=ui(t),tf(t)}var Xc=null;function tf(t){if(Xc=null,t=ml(t),t!==null){var l=G(t);if(l===null)t=null;else{var e=l.tag;if(e===13){if(t=ft(l),t!==null)return t;t=null}else if(e===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;t=null}else l!==t&&(t=null)}}return Xc=t,null}function Kd(t){switch(t){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Qe()){case ee:return 2;case Ze:return 8;case wl:case Ve:return 32;case Ke:return 268435456;default:return 32}default:return 32}}var lf=!1,ma=null,ha=null,ya=null,Au=new Map,Ou=new Map,ga=[],Yh="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".split(" ");function $d(t,l){switch(t){case"focusin":case"focusout":ma=null;break;case"dragenter":case"dragleave":ha=null;break;case"mouseover":case"mouseout":ya=null;break;case"pointerover":case"pointerout":Au.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ou.delete(l.pointerId)}}function ju(t,l,e,a,n,u){return t===null||t.nativeEvent!==u?(t={blockedOn:l,domEventName:e,eventSystemFlags:a,nativeEvent:u,targetContainers:[n]},l!==null&&(l=ve(l),l!==null&&Vd(l)),t):(t.eventSystemFlags|=a,l=t.targetContainers,n!==null&&l.indexOf(n)===-1&&l.push(n),t)}function Lh(t,l,e,a,n){switch(l){case"focusin":return ma=ju(ma,t,l,e,a,n),!0;case"dragenter":return ha=ju(ha,t,l,e,a,n),!0;case"mouseover":return ya=ju(ya,t,l,e,a,n),!0;case"pointerover":var u=n.pointerId;return Au.set(u,ju(Au.get(u)||null,t,l,e,a,n)),!0;case"gotpointercapture":return u=n.pointerId,Ou.set(u,ju(Ou.get(u)||null,t,l,e,a,n)),!0}return!1}function Jd(t){var l=ml(t.target);if(l!==null){var e=G(l);if(e!==null){if(l=e.tag,l===13){if(l=ft(e),l!==null){t.blockedOn=l,Bl(t.priority,function(){if(e.tag===13){var a=Ul(),n=Ie(e,a);n!==null&&xl(n,e,a),Fs(e,a)}});return}}else if(l===3&&e.stateNode.current.memoizedState.isDehydrated){t.blockedOn=e.tag===3?e.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Gc(t){if(t.blockedOn!==null)return!1;for(var l=t.targetContainers;0<l.length;){var e=Is(t.nativeEvent);if(e===null){e=t.nativeEvent;var a=new e.constructor(e.type,e);ni=a,e.target.dispatchEvent(a),ni=null}else return l=ve(e),l!==null&&Vd(l),t.blockedOn=e,!1;l.shift()}return!0}function kd(t,l,e){Gc(t)&&e.delete(l)}function Xh(){lf=!1,ma!==null&&Gc(ma)&&(ma=null),ha!==null&&Gc(ha)&&(ha=null),ya!==null&&Gc(ya)&&(ya=null),Au.forEach(kd),Ou.forEach(kd)}function Qc(t,l){t.blockedOn===l&&(t.blockedOn=null,lf||(lf=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Xh)))}var Zc=null;function Wd(t){Zc!==t&&(Zc=t,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){Zc===t&&(Zc=null);for(var l=0;l<t.length;l+=3){var e=t[l],a=t[l+1],n=t[l+2];if(typeof a!="function"){if(tf(a||e)===null)continue;break}var u=ve(e);u!==null&&(t.splice(l,3),l-=3,Zi(u,{pending:!0,data:n,method:e.method,action:a},a,n))}}))}function Nu(t){function l(m){return Qc(m,t)}ma!==null&&Qc(ma,t),ha!==null&&Qc(ha,t),ya!==null&&Qc(ya,t),Au.forEach(l),Ou.forEach(l);for(var e=0;e<ga.length;e++){var a=ga[e];a.blockedOn===t&&(a.blockedOn=null)}for(;0<ga.length&&(e=ga[0],e.blockedOn===null);)Jd(e),e.blockedOn===null&&ga.shift();if(e=(t.ownerDocument||t).$$reactFormReplay,e!=null)for(a=0;a<e.length;a+=3){var n=e[a],u=e[a+1],c=n[dt]||null;if(typeof u=="function")c||Wd(e);else if(c){var f=null;if(u&&u.hasAttribute("formAction")){if(n=u,c=u[dt]||null)f=c.formAction;else if(tf(n)!==null)continue}else f=c.action;typeof f=="function"?e[a+1]=f:(e.splice(a,3),a-=3),Wd(e)}}}function ef(t){this._internalRoot=t}Vc.prototype.render=ef.prototype.render=function(t){var l=this._internalRoot;if(l===null)throw Error(s(409));var e=l.current,a=Ul();Qd(e,a,t,l,null,null)},Vc.prototype.unmount=ef.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var l=t.containerInfo;t.tag===0&&xn(),Qd(t.current,2,null,t,null,null),jc(),l[Yl]=null}};function Vc(t){this._internalRoot=t}Vc.prototype.unstable_scheduleHydration=function(t){if(t){var l=Nl();t={blockedOn:null,target:t,priority:l};for(var e=0;e<ga.length&&l!==0&&l<ga[e].priority;e++);ga.splice(e,0,t),e===0&&Jd(t)}};var Fd=r.version;if(Fd!=="19.0.0")throw Error(s(527,Fd,"19.0.0"));X.findDOMNode=function(t){var l=t._reactInternals;if(l===void 0)throw typeof t.render=="function"?Error(s(188)):(t=Object.keys(t).join(","),Error(s(268,t)));return t=D(l),t=t!==null?F(t):null,t=t===null?null:t.stateNode,t};var Gh={bundleType:0,version:"19.0.0",rendererPackageName:"react-dom",currentDispatcherRef:Z,findFiberByHostInstance:ml,reconcilerVersion:"19.0.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Kc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Kc.isDisabled&&Kc.supportsFiber)try{vl=Kc.inject(Gh),Et=Kc}catch{}}return Du.createRoot=function(t,l){if(!h(t))throw Error(s(299));var e=!1,a="",n=mo,u=ho,c=yo,f=null;return l!=null&&(l.unstable_strictMode===!0&&(e=!0),l.identifierPrefix!==void 0&&(a=l.identifierPrefix),l.onUncaughtError!==void 0&&(n=l.onUncaughtError),l.onCaughtError!==void 0&&(u=l.onCaughtError),l.onRecoverableError!==void 0&&(c=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(f=l.unstable_transitionCallbacks)),l=Xd(t,1,!1,null,null,e,a,n,u,c,f,null),t[Yl]=l.current,Ys(t.nodeType===8?t.parentNode:t),new ef(l)},Du.hydrateRoot=function(t,l,e){if(!h(t))throw Error(s(299));var a=!1,n="",u=mo,c=ho,f=yo,m=null,b=null;return e!=null&&(e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(n=e.identifierPrefix),e.onUncaughtError!==void 0&&(u=e.onUncaughtError),e.onCaughtError!==void 0&&(c=e.onCaughtError),e.onRecoverableError!==void 0&&(f=e.onRecoverableError),e.unstable_transitionCallbacks!==void 0&&(m=e.unstable_transitionCallbacks),e.formState!==void 0&&(b=e.formState)),l=Xd(t,1,!0,l,e??null,a,n,u,c,f,m,b),l.context=Gd(null),e=l.current,a=Ul(),n=ca(a),n.callback=null,ia(e,n,a),l.current.lanes=a,L(l,a),pe(l),t[Yl]=l.current,Ys(t),new Vc(l)},Du.version="19.0.0",Du}var iv;function Ph(){if(iv)return uf.exports;iv=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(r){console.error(r)}}return i(),uf.exports=Fh(),uf.exports}var Ih=Ph();const jl=H.createContext(),t0="_btn_u4t34_18",l0="_active_u4t34_38",e0="_wrapper_u4t34_49",a0="_flag_u4t34_57",$c={btn:t0,active:l0,wrapper:e0,flag:a0};function n0(i){const[r,v]=H.useState(0),{setCurrency:s}=H.useContext(jl),h=(_,T)=>{s(_),v(T)},S=_=>{switch(_){case 0:return"/wp-content/plugins/ftmo-trading-objectives/public/assets/usd-round-flag.png";case 1:return"/wp-content/plugins/ftmo-trading-objectives/public/assets/gbp-round-flag.png";case 2:return"/wp-content/plugins/ftmo-trading-objectives/public/assets/eur-round-flag.png";case 3:return"/wp-content/plugins/ftmo-trading-objectives/public/assets/czk-round-flag.png";case 4:return"/wp-content/plugins/ftmo-trading-objectives/public/assets/cad-round-flag.png";case 5:return"/wp-content/plugins/ftmo-trading-objectives/public/assets/aud-round-flag.png";case 6:return"/wp-content/plugins/ftmo-trading-objectives/public/assets/chf-round-flag.png"}};return o.jsx("div",{className:$c.wrapper,children:i.currencies.map((_,T)=>o.jsxs("div",{className:`${$c.btn} ${r==T&&$c.active}`,onClick:()=>h(_,T),children:[o.jsx("img",{className:$c.flag,src:S(T)}),_]},T))})}const u0="_btn_18idk_18",c0="_active_18idk_38",i0="_disabled_18idk_43",s0="_wrapper_18idk_49",f0="_btnWrapper_18idk_58",r0="_btnPromo_18idk_67",o0="_sale_18idk_88",d0="_regular_18idk_104",Xe={btn:u0,active:c0,disabled:i0,wrapper:s0,btnWrapper:f0,btnPromo:r0,sale:o0,regular:d0},Jt=(i,r)=>{switch(i){case"usd":return Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0}).format(r);case"gbp":return Intl.NumberFormat("en-GB",{style:"currency",currency:"GBP",maximumFractionDigits:0}).format(r);case"eur":return Intl.NumberFormat("en-US",{style:"currency",currency:"EUR",maximumFractionDigits:0}).format(r).replace(/,/g," ");case"czk":return Intl.NumberFormat("cs-CZ",{style:"currency",currency:"CZK",maximumFractionDigits:0}).format(r).slice(0,-3).replace(/,/g," ")+" CZK";case"cad":return Intl.NumberFormat("en-CA",{style:"currency",currency:"CAD",maximumFractionDigits:0}).format(r);case"aud":return Intl.NumberFormat("en-AU",{style:"currency",currency:"AUD",maximumFractionDigits:0}).format(r);case"chf":return Intl.NumberFormat("fr-CH",{style:"currency",currency:"CHF",maximumFractionDigits:0}).format(r);default:return"en-US"}};function Uu(i){switch(i){case"usd":return 0;case"gbp":return 1;case"eur":return 2;case"czk":return 3;case"cad":return 4;case"aud":return 5;case"chf":return 6}return 0}const Rn=Math.min,Ka=Math.max,kc=Math.round,Jc=Math.floor,be=i=>({x:i,y:i}),v0={left:"right",right:"left",bottom:"top",top:"bottom"},m0={start:"end",end:"start"};function vf(i,r,v){return Ka(i,Rn(r,v))}function Cu(i,r){return typeof i=="function"?i(r):i}function $a(i){return i.split("-")[0]}function Hu(i){return i.split("-")[1]}function Av(i){return i==="x"?"y":"x"}function bf(i){return i==="y"?"height":"width"}function Mn(i){return["top","bottom"].includes($a(i))?"y":"x"}function Sf(i){return Av(Mn(i))}function h0(i,r,v){v===void 0&&(v=!1);const s=Hu(i),h=Sf(i),S=bf(h);let _=h==="x"?s===(v?"end":"start")?"right":"left":s==="start"?"bottom":"top";return r.reference[S]>r.floating[S]&&(_=Wc(_)),[_,Wc(_)]}function y0(i){const r=Wc(i);return[mf(i),r,mf(r)]}function mf(i){return i.replace(/start|end/g,r=>m0[r])}function g0(i,r,v){const s=["left","right"],h=["right","left"],S=["top","bottom"],_=["bottom","top"];switch(i){case"top":case"bottom":return v?r?h:s:r?s:h;case"left":case"right":return r?S:_;default:return[]}}function p0(i,r,v,s){const h=Hu(i);let S=g0($a(i),v==="start",s);return h&&(S=S.map(_=>_+"-"+h),r&&(S=S.concat(S.map(mf)))),S}function Wc(i){return i.replace(/left|right|bottom|top/g,r=>v0[r])}function b0(i){return{top:0,right:0,bottom:0,left:0,...i}}function Ov(i){return typeof i!="number"?b0(i):{top:i,right:i,bottom:i,left:i}}function Fc(i){const{x:r,y:v,width:s,height:h}=i;return{width:s,height:h,top:v,left:r,right:r+s,bottom:v+h,x:r,y:v}}function sv(i,r,v){let{reference:s,floating:h}=i;const S=Mn(r),_=Sf(r),T=bf(_),x=$a(r),g=S==="y",M=s.x+s.width/2-h.width/2,U=s.y+s.height/2-h.height/2,q=s[T]/2-h[T]/2;let z;switch(x){case"top":z={x:M,y:s.y-h.height};break;case"bottom":z={x:M,y:s.y+s.height};break;case"right":z={x:s.x+s.width,y:U};break;case"left":z={x:s.x-h.width,y:U};break;default:z={x:s.x,y:s.y}}switch(Hu(r)){case"start":z[_]-=q*(v&&g?-1:1);break;case"end":z[_]+=q*(v&&g?-1:1);break}return z}const S0=async(i,r,v)=>{const{placement:s="bottom",strategy:h="absolute",middleware:S=[],platform:_}=v,T=S.filter(Boolean),x=await(_.isRTL==null?void 0:_.isRTL(r));let g=await _.getElementRects({reference:i,floating:r,strategy:h}),{x:M,y:U}=sv(g,s,x),q=s,z={},B=0;for(let V=0;V<T.length;V++){const{name:K,fn:Y}=T[V],{x:W,y:tt,data:bt,reset:J}=await Y({x:M,y:U,initialPlacement:s,placement:q,strategy:h,middlewareData:z,rects:g,platform:_,elements:{reference:i,floating:r}});M=W??M,U=tt??U,z={...z,[K]:{...z[K],...bt}},J&&B<=50&&(B++,typeof J=="object"&&(J.placement&&(q=J.placement),J.rects&&(g=J.rects===!0?await _.getElementRects({reference:i,floating:r,strategy:h}):J.rects),{x:M,y:U}=sv(g,q,x)),V=-1)}return{x:M,y:U,placement:q,strategy:h,middlewareData:z}};async function jv(i,r){var v;r===void 0&&(r={});const{x:s,y:h,platform:S,rects:_,elements:T,strategy:x}=i,{boundary:g="clippingAncestors",rootBoundary:M="viewport",elementContext:U="floating",altBoundary:q=!1,padding:z=0}=Cu(r,i),B=Ov(z),K=T[q?U==="floating"?"reference":"floating":U],Y=Fc(await S.getClippingRect({element:(v=await(S.isElement==null?void 0:S.isElement(K)))==null||v?K:K.contextElement||await(S.getDocumentElement==null?void 0:S.getDocumentElement(T.floating)),boundary:g,rootBoundary:M,strategy:x})),W=U==="floating"?{x:s,y:h,width:_.floating.width,height:_.floating.height}:_.reference,tt=await(S.getOffsetParent==null?void 0:S.getOffsetParent(T.floating)),bt=await(S.isElement==null?void 0:S.isElement(tt))?await(S.getScale==null?void 0:S.getScale(tt))||{x:1,y:1}:{x:1,y:1},J=Fc(S.convertOffsetParentRelativeRectToViewportRelativeRect?await S.convertOffsetParentRelativeRectToViewportRelativeRect({elements:T,rect:W,offsetParent:tt,strategy:x}):W);return{top:(Y.top-J.top+B.top)/bt.y,bottom:(J.bottom-Y.bottom+B.bottom)/bt.y,left:(Y.left-J.left+B.left)/bt.x,right:(J.right-Y.right+B.right)/bt.x}}const _0=i=>({name:"arrow",options:i,async fn(r){const{x:v,y:s,placement:h,rects:S,platform:_,elements:T,middlewareData:x}=r,{element:g,padding:M=0}=Cu(i,r)||{};if(g==null)return{};const U=Ov(M),q={x:v,y:s},z=Sf(h),B=bf(z),V=await _.getDimensions(g),K=z==="y",Y=K?"top":"left",W=K?"bottom":"right",tt=K?"clientHeight":"clientWidth",bt=S.reference[B]+S.reference[z]-q[z]-S.floating[B],J=q[z]-S.reference[z],Nt=await(_.getOffsetParent==null?void 0:_.getOffsetParent(g));let _t=Nt?Nt[tt]:0;(!_t||!await(_.isElement==null?void 0:_.isElement(Nt)))&&(_t=T.floating[tt]||S.floating[B]);const kt=bt/2-J/2,Z=_t/2-V[B]/2-1,ct=Rn(U[Y],Z),Bt=Rn(U[W],Z),Gt=ct,Wt=_t-V[B]-Bt,gt=_t/2-V[B]/2+kt,zt=vf(Gt,gt,Wt),w=!x.arrow&&Hu(h)!=null&&gt!==zt&&S.reference[B]/2-(gt<Gt?ct:Bt)-V[B]/2<0,$=w?gt<Gt?gt-Gt:gt-Wt:0;return{[z]:q[z]+$,data:{[z]:zt,centerOffset:gt-zt-$,...w&&{alignmentOffset:$}},reset:w}}}),E0=function(i){return i===void 0&&(i={}),{name:"flip",options:i,async fn(r){var v,s;const{placement:h,middlewareData:S,rects:_,initialPlacement:T,platform:x,elements:g}=r,{mainAxis:M=!0,crossAxis:U=!0,fallbackPlacements:q,fallbackStrategy:z="bestFit",fallbackAxisSideDirection:B="none",flipAlignment:V=!0,...K}=Cu(i,r);if((v=S.arrow)!=null&&v.alignmentOffset)return{};const Y=$a(h),W=Mn(T),tt=$a(T)===T,bt=await(x.isRTL==null?void 0:x.isRTL(g.floating)),J=q||(tt||!V?[Wc(T)]:y0(T)),Nt=B!=="none";!q&&Nt&&J.push(...p0(T,V,B,bt));const _t=[T,...J],kt=await jv(r,K),Z=[];let ct=((s=S.flip)==null?void 0:s.overflows)||[];if(M&&Z.push(kt[Y]),U){const gt=h0(h,_,bt);Z.push(kt[gt[0]],kt[gt[1]])}if(ct=[...ct,{placement:h,overflows:Z}],!Z.every(gt=>gt<=0)){var Bt,Gt;const gt=(((Bt=S.flip)==null?void 0:Bt.index)||0)+1,zt=_t[gt];if(zt)return{data:{index:gt,overflows:ct},reset:{placement:zt}};let w=(Gt=ct.filter($=>$.overflows[0]<=0).sort(($,G)=>$.overflows[1]-G.overflows[1])[0])==null?void 0:Gt.placement;if(!w)switch(z){case"bestFit":{var Wt;const $=(Wt=ct.filter(G=>{if(Nt){const ft=Mn(G.placement);return ft===W||ft==="y"}return!0}).map(G=>[G.placement,G.overflows.filter(ft=>ft>0).reduce((ft,y)=>ft+y,0)]).sort((G,ft)=>G[1]-ft[1])[0])==null?void 0:Wt[0];$&&(w=$);break}case"initialPlacement":w=T;break}if(h!==w)return{reset:{placement:w}}}return{}}}};async function x0(i,r){const{placement:v,platform:s,elements:h}=i,S=await(s.isRTL==null?void 0:s.isRTL(h.floating)),_=$a(v),T=Hu(v),x=Mn(v)==="y",g=["left","top"].includes(_)?-1:1,M=S&&x?-1:1,U=Cu(r,i);let{mainAxis:q,crossAxis:z,alignmentAxis:B}=typeof U=="number"?{mainAxis:U,crossAxis:0,alignmentAxis:null}:{mainAxis:U.mainAxis||0,crossAxis:U.crossAxis||0,alignmentAxis:U.alignmentAxis};return T&&typeof B=="number"&&(z=T==="end"?B*-1:B),x?{x:z*M,y:q*g}:{x:q*g,y:z*M}}const T0=function(i){return i===void 0&&(i=0),{name:"offset",options:i,async fn(r){var v,s;const{x:h,y:S,placement:_,middlewareData:T}=r,x=await x0(r,i);return _===((v=T.offset)==null?void 0:v.placement)&&(s=T.arrow)!=null&&s.alignmentOffset?{}:{x:h+x.x,y:S+x.y,data:{...x,placement:_}}}}},A0=function(i){return i===void 0&&(i={}),{name:"shift",options:i,async fn(r){const{x:v,y:s,placement:h}=r,{mainAxis:S=!0,crossAxis:_=!1,limiter:T={fn:K=>{let{x:Y,y:W}=K;return{x:Y,y:W}}},...x}=Cu(i,r),g={x:v,y:s},M=await jv(r,x),U=Mn($a(h)),q=Av(U);let z=g[q],B=g[U];if(S){const K=q==="y"?"top":"left",Y=q==="y"?"bottom":"right",W=z+M[K],tt=z-M[Y];z=vf(W,z,tt)}if(_){const K=U==="y"?"top":"left",Y=U==="y"?"bottom":"right",W=B+M[K],tt=B-M[Y];B=vf(W,B,tt)}const V=T.fn({...r,[q]:z,[U]:B});return{...V,data:{x:V.x-v,y:V.y-s,enabled:{[q]:S,[U]:_}}}}}};function Pc(){return typeof window<"u"}function Cn(i){return Nv(i)?(i.nodeName||"").toLowerCase():"#document"}function Cl(i){var r;return(i==null||(r=i.ownerDocument)==null?void 0:r.defaultView)||window}function _e(i){var r;return(r=(Nv(i)?i.ownerDocument:i.document)||window.document)==null?void 0:r.documentElement}function Nv(i){return Pc()?i instanceof Node||i instanceof Cl(i).Node:!1}function re(i){return Pc()?i instanceof Element||i instanceof Cl(i).Element:!1}function Se(i){return Pc()?i instanceof HTMLElement||i instanceof Cl(i).HTMLElement:!1}function fv(i){return!Pc()||typeof ShadowRoot>"u"?!1:i instanceof ShadowRoot||i instanceof Cl(i).ShadowRoot}function wu(i){const{overflow:r,overflowX:v,overflowY:s,display:h}=oe(i);return/auto|scroll|overlay|hidden|clip/.test(r+s+v)&&!["inline","contents"].includes(h)}function O0(i){return["table","td","th"].includes(Cn(i))}function Ic(i){return[":popover-open",":modal"].some(r=>{try{return i.matches(r)}catch{return!1}})}function _f(i){const r=Ef(),v=re(i)?oe(i):i;return["transform","translate","scale","rotate","perspective"].some(s=>v[s]?v[s]!=="none":!1)||(v.containerType?v.containerType!=="normal":!1)||!r&&(v.backdropFilter?v.backdropFilter!=="none":!1)||!r&&(v.filter?v.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(s=>(v.willChange||"").includes(s))||["paint","layout","strict","content"].some(s=>(v.contain||"").includes(s))}function j0(i){let r=ba(i);for(;Se(r)&&!Un(r);){if(_f(r))return r;if(Ic(r))return null;r=ba(r)}return null}function Ef(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Un(i){return["html","body","#document"].includes(Cn(i))}function oe(i){return Cl(i).getComputedStyle(i)}function ti(i){return re(i)?{scrollLeft:i.scrollLeft,scrollTop:i.scrollTop}:{scrollLeft:i.scrollX,scrollTop:i.scrollY}}function ba(i){if(Cn(i)==="html")return i;const r=i.assignedSlot||i.parentNode||fv(i)&&i.host||_e(i);return fv(r)?r.host:r}function zv(i){const r=ba(i);return Un(r)?i.ownerDocument?i.ownerDocument.body:i.body:Se(r)&&wu(r)?r:zv(r)}function Mu(i,r,v){var s;r===void 0&&(r=[]),v===void 0&&(v=!0);const h=zv(i),S=h===((s=i.ownerDocument)==null?void 0:s.body),_=Cl(h);if(S){const T=hf(_);return r.concat(_,_.visualViewport||[],wu(h)?h:[],T&&v?Mu(T):[])}return r.concat(h,Mu(h,[],v))}function hf(i){return i.parent&&Object.getPrototypeOf(i.parent)?i.frameElement:null}function Dv(i){const r=oe(i);let v=parseFloat(r.width)||0,s=parseFloat(r.height)||0;const h=Se(i),S=h?i.offsetWidth:v,_=h?i.offsetHeight:s,T=kc(v)!==S||kc(s)!==_;return T&&(v=S,s=_),{width:v,height:s,$:T}}function xf(i){return re(i)?i:i.contextElement}function Dn(i){const r=xf(i);if(!Se(r))return be(1);const v=r.getBoundingClientRect(),{width:s,height:h,$:S}=Dv(r);let _=(S?kc(v.width):v.width)/s,T=(S?kc(v.height):v.height)/h;return(!_||!Number.isFinite(_))&&(_=1),(!T||!Number.isFinite(T))&&(T=1),{x:_,y:T}}const N0=be(0);function Rv(i){const r=Cl(i);return!Ef()||!r.visualViewport?N0:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function z0(i,r,v){return r===void 0&&(r=!1),!v||r&&v!==Cl(i)?!1:r}function Ja(i,r,v,s){r===void 0&&(r=!1),v===void 0&&(v=!1);const h=i.getBoundingClientRect(),S=xf(i);let _=be(1);r&&(s?re(s)&&(_=Dn(s)):_=Dn(i));const T=z0(S,v,s)?Rv(S):be(0);let x=(h.left+T.x)/_.x,g=(h.top+T.y)/_.y,M=h.width/_.x,U=h.height/_.y;if(S){const q=Cl(S),z=s&&re(s)?Cl(s):s;let B=q,V=hf(B);for(;V&&s&&z!==B;){const K=Dn(V),Y=V.getBoundingClientRect(),W=oe(V),tt=Y.left+(V.clientLeft+parseFloat(W.paddingLeft))*K.x,bt=Y.top+(V.clientTop+parseFloat(W.paddingTop))*K.y;x*=K.x,g*=K.y,M*=K.x,U*=K.y,x+=tt,g+=bt,B=Cl(V),V=hf(B)}}return Fc({width:M,height:U,x,y:g})}function Tf(i,r){const v=ti(i).scrollLeft;return r?r.left+v:Ja(_e(i)).left+v}function Mv(i,r,v){v===void 0&&(v=!1);const s=i.getBoundingClientRect(),h=s.left+r.scrollLeft-(v?0:Tf(i,s)),S=s.top+r.scrollTop;return{x:h,y:S}}function D0(i){let{elements:r,rect:v,offsetParent:s,strategy:h}=i;const S=h==="fixed",_=_e(s),T=r?Ic(r.floating):!1;if(s===_||T&&S)return v;let x={scrollLeft:0,scrollTop:0},g=be(1);const M=be(0),U=Se(s);if((U||!U&&!S)&&((Cn(s)!=="body"||wu(_))&&(x=ti(s)),Se(s))){const z=Ja(s);g=Dn(s),M.x=z.x+s.clientLeft,M.y=z.y+s.clientTop}const q=_&&!U&&!S?Mv(_,x,!0):be(0);return{width:v.width*g.x,height:v.height*g.y,x:v.x*g.x-x.scrollLeft*g.x+M.x+q.x,y:v.y*g.y-x.scrollTop*g.y+M.y+q.y}}function R0(i){return Array.from(i.getClientRects())}function M0(i){const r=_e(i),v=ti(i),s=i.ownerDocument.body,h=Ka(r.scrollWidth,r.clientWidth,s.scrollWidth,s.clientWidth),S=Ka(r.scrollHeight,r.clientHeight,s.scrollHeight,s.clientHeight);let _=-v.scrollLeft+Tf(i);const T=-v.scrollTop;return oe(s).direction==="rtl"&&(_+=Ka(r.clientWidth,s.clientWidth)-h),{width:h,height:S,x:_,y:T}}function U0(i,r){const v=Cl(i),s=_e(i),h=v.visualViewport;let S=s.clientWidth,_=s.clientHeight,T=0,x=0;if(h){S=h.width,_=h.height;const g=Ef();(!g||g&&r==="fixed")&&(T=h.offsetLeft,x=h.offsetTop)}return{width:S,height:_,x:T,y:x}}function C0(i,r){const v=Ja(i,!0,r==="fixed"),s=v.top+i.clientTop,h=v.left+i.clientLeft,S=Se(i)?Dn(i):be(1),_=i.clientWidth*S.x,T=i.clientHeight*S.y,x=h*S.x,g=s*S.y;return{width:_,height:T,x,y:g}}function rv(i,r,v){let s;if(r==="viewport")s=U0(i,v);else if(r==="document")s=M0(_e(i));else if(re(r))s=C0(r,v);else{const h=Rv(i);s={x:r.x-h.x,y:r.y-h.y,width:r.width,height:r.height}}return Fc(s)}function Uv(i,r){const v=ba(i);return v===r||!re(v)||Un(v)?!1:oe(v).position==="fixed"||Uv(v,r)}function H0(i,r){const v=r.get(i);if(v)return v;let s=Mu(i,[],!1).filter(T=>re(T)&&Cn(T)!=="body"),h=null;const S=oe(i).position==="fixed";let _=S?ba(i):i;for(;re(_)&&!Un(_);){const T=oe(_),x=_f(_);!x&&T.position==="fixed"&&(h=null),(S?!x&&!h:!x&&T.position==="static"&&!!h&&["absolute","fixed"].includes(h.position)||wu(_)&&!x&&Uv(i,_))?s=s.filter(M=>M!==_):h=T,_=ba(_)}return r.set(i,s),s}function w0(i){let{element:r,boundary:v,rootBoundary:s,strategy:h}=i;const _=[...v==="clippingAncestors"?Ic(r)?[]:H0(r,this._c):[].concat(v),s],T=_[0],x=_.reduce((g,M)=>{const U=rv(r,M,h);return g.top=Ka(U.top,g.top),g.right=Rn(U.right,g.right),g.bottom=Rn(U.bottom,g.bottom),g.left=Ka(U.left,g.left),g},rv(r,T,h));return{width:x.right-x.left,height:x.bottom-x.top,x:x.left,y:x.top}}function q0(i){const{width:r,height:v}=Dv(i);return{width:r,height:v}}function B0(i,r,v){const s=Se(r),h=_e(r),S=v==="fixed",_=Ja(i,!0,S,r);let T={scrollLeft:0,scrollTop:0};const x=be(0);if(s||!s&&!S)if((Cn(r)!=="body"||wu(h))&&(T=ti(r)),s){const q=Ja(r,!0,S,r);x.x=q.x+r.clientLeft,x.y=q.y+r.clientTop}else h&&(x.x=Tf(h));const g=h&&!s&&!S?Mv(h,T):be(0),M=_.left+T.scrollLeft-x.x-g.x,U=_.top+T.scrollTop-x.y-g.y;return{x:M,y:U,width:_.width,height:_.height}}function rf(i){return oe(i).position==="static"}function ov(i,r){if(!Se(i)||oe(i).position==="fixed")return null;if(r)return r(i);let v=i.offsetParent;return _e(i)===v&&(v=v.ownerDocument.body),v}function Cv(i,r){const v=Cl(i);if(Ic(i))return v;if(!Se(i)){let h=ba(i);for(;h&&!Un(h);){if(re(h)&&!rf(h))return h;h=ba(h)}return v}let s=ov(i,r);for(;s&&O0(s)&&rf(s);)s=ov(s,r);return s&&Un(s)&&rf(s)&&!_f(s)?v:s||j0(i)||v}const Y0=async function(i){const r=this.getOffsetParent||Cv,v=this.getDimensions,s=await v(i.floating);return{reference:B0(i.reference,await r(i.floating),i.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function L0(i){return oe(i).direction==="rtl"}const X0={convertOffsetParentRelativeRectToViewportRelativeRect:D0,getDocumentElement:_e,getClippingRect:w0,getOffsetParent:Cv,getElementRects:Y0,getClientRects:R0,getDimensions:q0,getScale:Dn,isElement:re,isRTL:L0};function Hv(i,r){return i.x===r.x&&i.y===r.y&&i.width===r.width&&i.height===r.height}function G0(i,r){let v=null,s;const h=_e(i);function S(){var T;clearTimeout(s),(T=v)==null||T.disconnect(),v=null}function _(T,x){T===void 0&&(T=!1),x===void 0&&(x=1),S();const g=i.getBoundingClientRect(),{left:M,top:U,width:q,height:z}=g;if(T||r(),!q||!z)return;const B=Jc(U),V=Jc(h.clientWidth-(M+q)),K=Jc(h.clientHeight-(U+z)),Y=Jc(M),tt={rootMargin:-B+"px "+-V+"px "+-K+"px "+-Y+"px",threshold:Ka(0,Rn(1,x))||1};let bt=!0;function J(Nt){const _t=Nt[0].intersectionRatio;if(_t!==x){if(!bt)return _();_t?_(!1,_t):s=setTimeout(()=>{_(!1,1e-7)},1e3)}_t===1&&!Hv(g,i.getBoundingClientRect())&&_(),bt=!1}try{v=new IntersectionObserver(J,{...tt,root:h.ownerDocument})}catch{v=new IntersectionObserver(J,tt)}v.observe(i)}return _(!0),S}function Q0(i,r,v,s){s===void 0&&(s={});const{ancestorScroll:h=!0,ancestorResize:S=!0,elementResize:_=typeof ResizeObserver=="function",layoutShift:T=typeof IntersectionObserver=="function",animationFrame:x=!1}=s,g=xf(i),M=h||S?[...g?Mu(g):[],...Mu(r)]:[];M.forEach(Y=>{h&&Y.addEventListener("scroll",v,{passive:!0}),S&&Y.addEventListener("resize",v)});const U=g&&T?G0(g,v):null;let q=-1,z=null;_&&(z=new ResizeObserver(Y=>{let[W]=Y;W&&W.target===g&&z&&(z.unobserve(r),cancelAnimationFrame(q),q=requestAnimationFrame(()=>{var tt;(tt=z)==null||tt.observe(r)})),v()}),g&&!x&&z.observe(g),z.observe(r));let B,V=x?Ja(i):null;x&&K();function K(){const Y=Ja(i);V&&!Hv(V,Y)&&v(),V=Y,B=requestAnimationFrame(K)}return v(),()=>{var Y;M.forEach(W=>{h&&W.removeEventListener("scroll",v),S&&W.removeEventListener("resize",v)}),U==null||U(),(Y=z)==null||Y.disconnect(),z=null,x&&cancelAnimationFrame(B)}}const Z0=T0,V0=A0,K0=E0,$0=_0,dv=(i,r,v)=>{const s=new Map,h={platform:X0,...v},S={...h.platform,_c:s};return S0(i,r,{...h,platform:S})};var of={exports:{}};/*!
	Copyright (c) 2018 Jed Watson.
	Licensed under the MIT License (MIT), see
	http://jedwatson.github.io/classnames
*/var vv;function J0(){return vv||(vv=1,function(i){(function(){var r={}.hasOwnProperty;function v(){for(var S="",_=0;_<arguments.length;_++){var T=arguments[_];T&&(S=h(S,s(T)))}return S}function s(S){if(typeof S=="string"||typeof S=="number")return S;if(typeof S!="object")return"";if(Array.isArray(S))return v.apply(null,S);if(S.toString!==Object.prototype.toString&&!S.toString.toString().includes("[native code]"))return S.toString();var _="";for(var T in S)r.call(S,T)&&S[T]&&(_=h(_,T));return _}function h(S,_){return _?S?S+" "+_:S+_:S}i.exports?(v.default=v,i.exports=v):window.classNames=v})()}(of)),of.exports}var k0=J0();const yf=Tv(k0);var mv={};const W0="react-tooltip-core-styles",F0="react-tooltip-base-styles",hv={core:!1,base:!1};function yv({css:i,id:r=F0,type:v="base",ref:s}){var h,S;if(!i||typeof document>"u"||hv[v]||v==="core"&&typeof process<"u"&&(!((h=process==null?void 0:mv)===null||h===void 0)&&h.REACT_TOOLTIP_DISABLE_CORE_STYLES)||v!=="base"&&typeof process<"u"&&(!((S=process==null?void 0:mv)===null||S===void 0)&&S.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;v==="core"&&(r=W0),s||(s={});const{insertAt:_}=s;if(document.getElementById(r))return;const T=document.head||document.getElementsByTagName("head")[0],x=document.createElement("style");x.id=r,x.type="text/css",_==="top"&&T.firstChild?T.insertBefore(x,T.firstChild):T.appendChild(x),x.styleSheet?x.styleSheet.cssText=i:x.appendChild(document.createTextNode(i)),hv[v]=!0}const gv=async({elementReference:i=null,tooltipReference:r=null,tooltipArrowReference:v=null,place:s="top",offset:h=10,strategy:S="absolute",middlewares:_=[Z0(Number(h)),K0({fallbackAxisSideDirection:"start"}),V0({padding:5})],border:T})=>{if(!i)return{tooltipStyles:{},tooltipArrowStyles:{},place:s};if(r===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:s};const x=_;return v?(x.push($0({element:v,padding:5})),dv(i,r,{placement:s,strategy:S,middleware:x}).then(({x:g,y:M,placement:U,middlewareData:q})=>{var z,B;const V={left:`${g}px`,top:`${M}px`,border:T},{x:K,y:Y}=(z=q.arrow)!==null&&z!==void 0?z:{x:0,y:0},W=(B={top:"bottom",right:"left",bottom:"top",left:"right"}[U.split("-")[0]])!==null&&B!==void 0?B:"bottom",tt=T&&{borderBottom:T,borderRight:T};let bt=0;if(T){const J=`${T}`.match(/(\d+)px/);bt=J!=null&&J[1]?Number(J[1]):1}return{tooltipStyles:V,tooltipArrowStyles:{left:K!=null?`${K}px`:"",top:Y!=null?`${Y}px`:"",right:"",bottom:"",...tt,[W]:`-${4+bt}px`},place:U}})):dv(i,r,{placement:"bottom",strategy:S,middleware:x}).then(({x:g,y:M,placement:U})=>({tooltipStyles:{left:`${g}px`,top:`${M}px`},tooltipArrowStyles:{},place:U}))},pv=(i,r)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(i,r),bv=(i,r,v)=>{let s=null;const h=function(...S){const _=()=>{s=null};!s&&(i.apply(this,S),s=setTimeout(_,r))};return h.cancel=()=>{s&&(clearTimeout(s),s=null)},h},Sv=i=>i!==null&&!Array.isArray(i)&&typeof i=="object",gf=(i,r)=>{if(i===r)return!0;if(Array.isArray(i)&&Array.isArray(r))return i.length===r.length&&i.every((h,S)=>gf(h,r[S]));if(Array.isArray(i)!==Array.isArray(r))return!1;if(!Sv(i)||!Sv(r))return i===r;const v=Object.keys(i),s=Object.keys(r);return v.length===s.length&&v.every(h=>gf(i[h],r[h]))},P0=i=>{if(!(i instanceof HTMLElement||i instanceof SVGElement))return!1;const r=getComputedStyle(i);return["overflow","overflow-x","overflow-y"].some(v=>{const s=r.getPropertyValue(v);return s==="auto"||s==="scroll"})},_v=i=>{if(!i)return null;let r=i.parentElement;for(;r;){if(P0(r))return r;r=r.parentElement}return document.scrollingElement||document.documentElement},I0=typeof window<"u"?H.useLayoutEffect:H.useEffect,Pl=i=>{i.current&&(clearTimeout(i.current),i.current=null)},ty="DEFAULT_TOOLTIP_ID",ly={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},ey=H.createContext({getTooltipData:()=>ly});function wv(i=ty){return H.useContext(ey).getTooltipData(i)}var zn={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},df={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const ay=({forwardRef:i,id:r,className:v,classNameArrow:s,variant:h="dark",anchorId:S,anchorSelect:_,place:T="top",offset:x=10,events:g=["hover"],openOnClick:M=!1,positionStrategy:U="absolute",middlewares:q,wrapper:z,delayShow:B=0,delayHide:V=0,float:K=!1,hidden:Y=!1,noArrow:W=!1,clickable:tt=!1,closeOnEsc:bt=!1,closeOnScroll:J=!1,closeOnResize:Nt=!1,openEvents:_t,closeEvents:kt,globalCloseEvents:Z,imperativeModeOnly:ct,style:Bt,position:Gt,afterShow:Wt,afterHide:gt,disableTooltip:zt,content:w,contentWrapperRef:$,isOpen:G,defaultIsOpen:ft=!1,setIsOpen:y,activeAnchor:D,setActiveAnchor:F,border:P,opacity:X,arrowColor:ot,role:st="tooltip"})=>{var Ft;const nt=H.useRef(null),Mt=H.useRef(null),pt=H.useRef(null),al=H.useRef(null),Il=H.useRef(null),[dl,Ge]=H.useState({tooltipStyles:{},tooltipArrowStyles:{},place:T}),[il,te]=H.useState(!1),[le,Hl]=H.useState(!1),[Ut,Ee]=H.useState(null),xe=H.useRef(!1),_a=H.useRef(null),{anchorRefs:Ea,setActiveAnchor:_l}=wv(r),Qe=H.useRef(!1),[ee,Ze]=H.useState([]),wl=H.useRef(!1),Ve=M||g.includes("click"),Ke=Ve||(_t==null?void 0:_t.click)||(_t==null?void 0:_t.dblclick)||(_t==null?void 0:_t.mousedown),$e=_t?{..._t}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!_t&&Ve&&Object.assign($e,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const xa=kt?{...kt}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!kt&&Ve&&Object.assign(xa,{mouseleave:!1,blur:!1,mouseout:!1});const vl=Z?{...Z}:{escape:bt||!1,scroll:J||!1,resize:Nt||!1,clickOutsideAnchor:Ke||!1};ct&&(Object.assign($e,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(xa,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(vl,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),I0(()=>(wl.current=!0,()=>{wl.current=!1}),[]);const Et=L=>{wl.current&&(L&&Hl(!0),setTimeout(()=>{wl.current&&(y==null||y(L),G===void 0&&te(L))},10))};H.useEffect(()=>{if(G===void 0)return()=>null;G&&Hl(!0);const L=setTimeout(()=>{te(G)},10);return()=>{clearTimeout(L)}},[G]),H.useEffect(()=>{if(il!==xe.current)if(Pl(Il),xe.current=il,il)Wt==null||Wt();else{const L=(at=>{const ut=at.match(/^([\d.]+)(ms|s)$/);if(!ut)return 0;const[,Qt,nl]=ut;return Number(Qt)*(nl==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));Il.current=setTimeout(()=>{Hl(!1),Ee(null),gt==null||gt()},L+25)}},[il]);const ka=L=>{Ge(at=>gf(at,L)?at:L)},Tl=(L=B)=>{Pl(pt),le?Et(!0):pt.current=setTimeout(()=>{Et(!0)},L)},It=(L=V)=>{Pl(al),al.current=setTimeout(()=>{Qe.current||Et(!1)},L)},Ta=L=>{var at;if(!L)return;const ut=(at=L.currentTarget)!==null&&at!==void 0?at:L.target;if(!(ut!=null&&ut.isConnected))return F(null),void _l({current:null});B?Tl():Et(!0),F(ut),_l({current:ut}),Pl(al)},Je=()=>{tt?It(V||100):V?It():Et(!1),Pl(pt)},ke=({x:L,y:at})=>{var ut;const Qt={getBoundingClientRect:()=>({x:L,y:at,width:0,height:0,top:at,left:L,right:L,bottom:at})};gv({place:(ut=Ut==null?void 0:Ut.place)!==null&&ut!==void 0?ut:T,offset:x,elementReference:Qt,tooltipReference:nt.current,tooltipArrowReference:Mt.current,strategy:U,middlewares:q,border:P}).then(nl=>{ka(nl)})},ae=L=>{if(!L)return;const at=L,ut={x:at.clientX,y:at.clientY};ke(ut),_a.current=ut},de=L=>{var at;if(!il)return;const ut=L.target;ut.isConnected&&(!((at=nt.current)===null||at===void 0)&&at.contains(ut)||[document.querySelector(`[id='${S}']`),...ee].some(Qt=>Qt==null?void 0:Qt.contains(ut))||(Et(!1),Pl(pt)))},ql=bv(Ta,50),Yt=bv(Je,50),sl=L=>{Yt.cancel(),ql(L)},lt=()=>{ql.cancel(),Yt()},ht=H.useCallback(()=>{var L,at;const ut=(L=Ut==null?void 0:Ut.position)!==null&&L!==void 0?L:Gt;ut?ke(ut):K?_a.current&&ke(_a.current):D!=null&&D.isConnected&&gv({place:(at=Ut==null?void 0:Ut.place)!==null&&at!==void 0?at:T,offset:x,elementReference:D,tooltipReference:nt.current,tooltipArrowReference:Mt.current,strategy:U,middlewares:q,border:P}).then(Qt=>{wl.current&&ka(Qt)})},[il,D,w,Bt,T,Ut==null?void 0:Ut.place,x,U,Gt,Ut==null?void 0:Ut.position,K]);H.useEffect(()=>{var L,at;const ut=new Set(Ea);ee.forEach(Ot=>{zt!=null&&zt(Ot)||ut.add({current:Ot})});const Qt=document.querySelector(`[id='${S}']`);Qt&&!(zt!=null&&zt(Qt))&&ut.add({current:Qt});const nl=()=>{Et(!1)},Nl=_v(D),Bl=_v(nt.current);vl.scroll&&(window.addEventListener("scroll",nl),Nl==null||Nl.addEventListener("scroll",nl),Bl==null||Bl.addEventListener("scroll",nl));let qt=null;vl.resize?window.addEventListener("resize",nl):D&&nt.current&&(qt=Q0(D,nt.current,ht,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const jt=Ot=>{Ot.key==="Escape"&&Et(!1)};vl.escape&&window.addEventListener("keydown",jt),vl.clickOutsideAnchor&&window.addEventListener("click",de);const dt=[],Yl=Ot=>{il&&(Ot==null?void 0:Ot.target)===D||Ta(Ot)},wn=Ot=>{il&&(Ot==null?void 0:Ot.target)===D&&Je()},Bu=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],Yu=["click","dblclick","mousedown","mouseup"];Object.entries($e).forEach(([Ot,ml])=>{ml&&(Bu.includes(Ot)?dt.push({event:Ot,listener:sl}):Yu.includes(Ot)&&dt.push({event:Ot,listener:Yl}))}),Object.entries(xa).forEach(([Ot,ml])=>{ml&&(Bu.includes(Ot)?dt.push({event:Ot,listener:lt}):Yu.includes(Ot)&&dt.push({event:Ot,listener:wn}))}),K&&dt.push({event:"pointermove",listener:ae});const qn=()=>{Qe.current=!0},We=()=>{Qe.current=!1,Je()};return tt&&!Ke&&((L=nt.current)===null||L===void 0||L.addEventListener("mouseenter",qn),(at=nt.current)===null||at===void 0||at.addEventListener("mouseleave",We)),dt.forEach(({event:Ot,listener:ml})=>{ut.forEach(ve=>{var ue;(ue=ve.current)===null||ue===void 0||ue.addEventListener(Ot,ml)})}),()=>{var Ot,ml;vl.scroll&&(window.removeEventListener("scroll",nl),Nl==null||Nl.removeEventListener("scroll",nl),Bl==null||Bl.removeEventListener("scroll",nl)),vl.resize?window.removeEventListener("resize",nl):qt==null||qt(),vl.clickOutsideAnchor&&window.removeEventListener("click",de),vl.escape&&window.removeEventListener("keydown",jt),tt&&!Ke&&((Ot=nt.current)===null||Ot===void 0||Ot.removeEventListener("mouseenter",qn),(ml=nt.current)===null||ml===void 0||ml.removeEventListener("mouseleave",We)),dt.forEach(({event:ve,listener:ue})=>{ut.forEach(Fe=>{var Zt;(Zt=Fe.current)===null||Zt===void 0||Zt.removeEventListener(ve,ue)})})}},[D,ht,le,Ea,ee,_t,kt,Z,Ve,B,V]),H.useEffect(()=>{var L,at;let ut=(at=(L=Ut==null?void 0:Ut.anchorSelect)!==null&&L!==void 0?L:_)!==null&&at!==void 0?at:"";!ut&&r&&(ut=`[data-tooltip-id='${r.replace(/'/g,"\\'")}']`);const Qt=new MutationObserver(nl=>{const Nl=[],Bl=[];nl.forEach(qt=>{if(qt.type==="attributes"&&qt.attributeName==="data-tooltip-id"&&(qt.target.getAttribute("data-tooltip-id")===r?Nl.push(qt.target):qt.oldValue===r&&Bl.push(qt.target)),qt.type==="childList"){if(D){const jt=[...qt.removedNodes].filter(dt=>dt.nodeType===1);if(ut)try{Bl.push(...jt.filter(dt=>dt.matches(ut))),Bl.push(...jt.flatMap(dt=>[...dt.querySelectorAll(ut)]))}catch{}jt.some(dt=>{var Yl;return!!(!((Yl=dt==null?void 0:dt.contains)===null||Yl===void 0)&&Yl.call(dt,D))&&(Hl(!1),Et(!1),F(null),Pl(pt),Pl(al),!0)})}if(ut)try{const jt=[...qt.addedNodes].filter(dt=>dt.nodeType===1);Nl.push(...jt.filter(dt=>dt.matches(ut))),Nl.push(...jt.flatMap(dt=>[...dt.querySelectorAll(ut)]))}catch{}}}),(Nl.length||Bl.length)&&Ze(qt=>[...qt.filter(jt=>!Bl.includes(jt)),...Nl])});return Qt.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{Qt.disconnect()}},[r,_,Ut==null?void 0:Ut.anchorSelect,D]),H.useEffect(()=>{ht()},[ht]),H.useEffect(()=>{if(!($!=null&&$.current))return()=>null;const L=new ResizeObserver(()=>{setTimeout(()=>ht())});return L.observe($.current),()=>{L.disconnect()}},[w,$==null?void 0:$.current]),H.useEffect(()=>{var L;const at=document.querySelector(`[id='${S}']`),ut=[...ee,at];D&&ut.includes(D)||F((L=ee[0])!==null&&L!==void 0?L:at)},[S,ee,D]),H.useEffect(()=>(ft&&Et(!0),()=>{Pl(pt),Pl(al)}),[]),H.useEffect(()=>{var L;let at=(L=Ut==null?void 0:Ut.anchorSelect)!==null&&L!==void 0?L:_;if(!at&&r&&(at=`[data-tooltip-id='${r.replace(/'/g,"\\'")}']`),at)try{const ut=Array.from(document.querySelectorAll(at));Ze(ut)}catch{Ze([])}},[r,_,Ut==null?void 0:Ut.anchorSelect]),H.useEffect(()=>{pt.current&&(Pl(pt),Tl(B))},[B]);const pl=(Ft=Ut==null?void 0:Ut.content)!==null&&Ft!==void 0?Ft:w,ne=il&&Object.keys(dl.tooltipStyles).length>0;return H.useImperativeHandle(i,()=>({open:L=>{if(L!=null&&L.anchorSelect)try{document.querySelector(L.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${L.anchorSelect}" is not a valid CSS selector`)}Ee(L??null),L!=null&&L.delay?Tl(L.delay):Et(!0)},close:L=>{L!=null&&L.delay?It(L.delay):Et(!1)},activeAnchor:D,place:dl.place,isOpen:!!(le&&!Y&&pl&&ne)})),le&&!Y&&pl?Va.createElement(z,{id:r,role:st,className:yf("react-tooltip",zn.tooltip,df.tooltip,df[h],v,`react-tooltip__place-${dl.place}`,zn[ne?"show":"closing"],ne?"react-tooltip__show":"react-tooltip__closing",U==="fixed"&&zn.fixed,tt&&zn.clickable),onTransitionEnd:L=>{Pl(Il),il||L.propertyName!=="opacity"||(Hl(!1),Ee(null),gt==null||gt())},style:{...Bt,...dl.tooltipStyles,opacity:X!==void 0&&ne?X:void 0},ref:nt},pl,Va.createElement(z,{className:yf("react-tooltip-arrow",zn.arrow,df.arrow,s,W&&zn.noArrow),style:{...dl.tooltipArrowStyles,background:ot?`linear-gradient(to right bottom, transparent 50%, ${ot} 50%)`:void 0},ref:Mt})):null},ny=({content:i})=>Va.createElement("span",{dangerouslySetInnerHTML:{__html:i}}),uy=Va.forwardRef(({id:i,anchorId:r,anchorSelect:v,content:s,html:h,render:S,className:_,classNameArrow:T,variant:x="dark",place:g="top",offset:M=10,wrapper:U="div",children:q=null,events:z=["hover"],openOnClick:B=!1,positionStrategy:V="absolute",middlewares:K,delayShow:Y=0,delayHide:W=0,float:tt=!1,hidden:bt=!1,noArrow:J=!1,clickable:Nt=!1,closeOnEsc:_t=!1,closeOnScroll:kt=!1,closeOnResize:Z=!1,openEvents:ct,closeEvents:Bt,globalCloseEvents:Gt,imperativeModeOnly:Wt=!1,style:gt,position:zt,isOpen:w,defaultIsOpen:$=!1,disableStyleInjection:G=!1,border:ft,opacity:y,arrowColor:D,setIsOpen:F,afterShow:P,afterHide:X,disableTooltip:ot,role:st="tooltip"},Ft)=>{const[nt,Mt]=H.useState(s),[pt,al]=H.useState(h),[Il,dl]=H.useState(g),[Ge,il]=H.useState(x),[te,le]=H.useState(M),[Hl,Ut]=H.useState(Y),[Ee,xe]=H.useState(W),[_a,Ea]=H.useState(tt),[_l,Qe]=H.useState(bt),[ee,Ze]=H.useState(U),[wl,Ve]=H.useState(z),[Ke,$e]=H.useState(V),[xa,vl]=H.useState(null),[Et,ka]=H.useState(null),Tl=H.useRef(G),{anchorRefs:It,activeAnchor:Ta}=wv(i),Je=Yt=>Yt==null?void 0:Yt.getAttributeNames().reduce((sl,lt)=>{var ht;return lt.startsWith("data-tooltip-")&&(sl[lt.replace(/^data-tooltip-/,"")]=(ht=Yt==null?void 0:Yt.getAttribute(lt))!==null&&ht!==void 0?ht:null),sl},{}),ke=Yt=>{const sl={place:lt=>{var ht;dl((ht=lt)!==null&&ht!==void 0?ht:g)},content:lt=>{Mt(lt??s)},html:lt=>{al(lt??h)},variant:lt=>{var ht;il((ht=lt)!==null&&ht!==void 0?ht:x)},offset:lt=>{le(lt===null?M:Number(lt))},wrapper:lt=>{var ht;Ze((ht=lt)!==null&&ht!==void 0?ht:U)},events:lt=>{const ht=lt==null?void 0:lt.split(" ");Ve(ht??z)},"position-strategy":lt=>{var ht;$e((ht=lt)!==null&&ht!==void 0?ht:V)},"delay-show":lt=>{Ut(lt===null?Y:Number(lt))},"delay-hide":lt=>{xe(lt===null?W:Number(lt))},float:lt=>{Ea(lt===null?tt:lt==="true")},hidden:lt=>{Qe(lt===null?bt:lt==="true")},"class-name":lt=>{vl(lt)}};Object.values(sl).forEach(lt=>lt(null)),Object.entries(Yt).forEach(([lt,ht])=>{var pl;(pl=sl[lt])===null||pl===void 0||pl.call(sl,ht)})};H.useEffect(()=>{Mt(s)},[s]),H.useEffect(()=>{al(h)},[h]),H.useEffect(()=>{dl(g)},[g]),H.useEffect(()=>{il(x)},[x]),H.useEffect(()=>{le(M)},[M]),H.useEffect(()=>{Ut(Y)},[Y]),H.useEffect(()=>{xe(W)},[W]),H.useEffect(()=>{Ea(tt)},[tt]),H.useEffect(()=>{Qe(bt)},[bt]),H.useEffect(()=>{$e(V)},[V]),H.useEffect(()=>{Tl.current!==G&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[G]),H.useEffect(()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:G==="core",disableBase:G}}))},[]),H.useEffect(()=>{var Yt;const sl=new Set(It);let lt=v;if(!lt&&i&&(lt=`[data-tooltip-id='${i.replace(/'/g,"\\'")}']`),lt)try{document.querySelectorAll(lt).forEach(at=>{sl.add({current:at})})}catch{console.warn(`[react-tooltip] "${lt}" is not a valid CSS selector`)}const ht=document.querySelector(`[id='${r}']`);if(ht&&sl.add({current:ht}),!sl.size)return()=>null;const pl=(Yt=Et??ht)!==null&&Yt!==void 0?Yt:Ta.current,ne=new MutationObserver(at=>{at.forEach(ut=>{var Qt;if(!pl||ut.type!=="attributes"||!(!((Qt=ut.attributeName)===null||Qt===void 0)&&Qt.startsWith("data-tooltip-")))return;const nl=Je(pl);ke(nl)})}),L={attributes:!0,childList:!1,subtree:!1};if(pl){const at=Je(pl);ke(at),ne.observe(pl,L)}return()=>{ne.disconnect()}},[It,Ta,Et,r,v]),H.useEffect(()=>{gt!=null&&gt.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),ft&&!pv("border",`${ft}`)&&console.warn(`[react-tooltip] "${ft}" is not a valid \`border\`.`),gt!=null&&gt.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),y&&!pv("opacity",`${y}`)&&console.warn(`[react-tooltip] "${y}" is not a valid \`opacity\`.`)},[]);let ae=q;const de=H.useRef(null);if(S){const Yt=S({content:(Et==null?void 0:Et.getAttribute("data-tooltip-content"))||nt||null,activeAnchor:Et});ae=Yt?Va.createElement("div",{ref:de,className:"react-tooltip-content-wrapper"},Yt):null}else nt&&(ae=nt);pt&&(ae=Va.createElement(ny,{content:pt}));const ql={forwardRef:Ft,id:i,anchorId:r,anchorSelect:v,className:yf(_,xa),classNameArrow:T,content:ae,contentWrapperRef:de,place:Il,variant:Ge,offset:te,wrapper:ee,events:wl,openOnClick:B,positionStrategy:Ke,middlewares:K,delayShow:Hl,delayHide:Ee,float:_a,hidden:_l,noArrow:J,clickable:Nt,closeOnEsc:_t,closeOnScroll:kt,closeOnResize:Z,openEvents:ct,closeEvents:Bt,globalCloseEvents:Gt,imperativeModeOnly:Wt,style:gt,position:zt,isOpen:w,defaultIsOpen:$,border:ft,opacity:y,arrowColor:D,setIsOpen:F,afterShow:P,afterHide:X,disableTooltip:ot,activeAnchor:Et,setActiveAnchor:Yt=>ka(Yt),role:st};return Va.createElement(ay,{...ql})});typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",i=>{i.detail.disableCore||yv({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),i.detail.disableBase||yv({css:`
.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})});function cy(i){const[r,v]=H.useState(0),{currency:s,setBalance:h,risk:S,tier:_,setTier:T,translations:x}=H.useContext(jl);H.useEffect(()=>{h(i.balances[M][r])},[s]);const g=(q,z)=>{h(q),v(z),T(z)},M=Uu(s),U=[155,250,345,540,1080];return o.jsx("div",{className:Xe.wrapper,children:i.balances[M].map((q,z)=>{let B=z===0?Xe.btnPromo:"";return o.jsxs("div",{className:Xe.btnWrapper,children:[z!==0&&x.sale&&o.jsxs("div",{className:Xe.sale,"data-tooltip-id":`bf-sale-${z}`,children:[o.jsxs("span",{children:[" ",x["sale-amount"],"% Sale "]}),o.jsxs(uy,{id:`bf-sale-${z}`,children:[o.jsxs("div",{children:[x["sale-name"]," ",x["sale-amount"],"% SALE"]}),o.jsxs("div",{children:[o.jsx("span",{className:Xe.regular,children:Jt("eur",U[z])}),o.jsx("span",{className:Xe.discount,children:Jt("eur",U[z]*(1-x["sale-amount"]/100))})]})]})]}),o.jsx("button",{className:`${Xe.btn} ${r==z&&Xe.active} ${z==4&&S=="aggressive"&&Xe.disabled} `+B,onClick:z==4&&S=="aggressive"?void 0:()=>g(q,z),children:Jt(s,q)},z)]})})})}const iy="_filter_1n3h4_18",sy="_heading_1n3h4_22",fy="_quick_1n3h4_30",ry="_active_1n3h4_57",Ru={filter:iy,heading:sy,quick:fy,active:ry};function oy(i){const{translations:r,quickComparison:v,setQuickComparison:s}=H.useContext(jl),h=Object.keys(i.values),S=Object.values(i.values);return o.jsxs("div",{className:Ru.filter,children:[o.jsxs("div",{className:Ru.heading,children:[r.Currency,":"]}),o.jsx(n0,{currencies:h}),o.jsxs("div",{className:Ru.heading,children:[r.Balance,":"]}),o.jsx(cy,{balances:S}),o.jsx("div",{className:`${Ru.quick} ${v&&Ru.active}`,onClick:()=>s(!v),children:r["Quick comparison"]})]})}const dy=i=>{const[r,v]=H.useState("usd"),[s,h]=H.useState("normal"),[S,_]=H.useState(1e4),[T,x]=H.useState(0),[g,M]=H.useState({}),[U,q]=H.useState(!1),[z,B]=H.useState(1);H.useEffect(()=>{setTimeout(function(){let K="en";current_language.value!==void 0&&(K=current_language.value),fetch(`/wp-content/plugins/ftmo-trading-objectives/translations/strings_${K}.json`).then(Y=>Y.json()).then(Y=>{M(Y)}).catch(Y=>{console.log(Y)})},1)},[]);const V={currency:r,risk:s,balance:S,tier:T,quickComparison:U,translations:g,step:z,setCurrency:v,setRisk:h,setBalance:_,setTier:x,setQuickComparison:q,setStep:B};return o.jsx(jl.Provider,{value:V,children:i.children})},vy="_table_9hsjp_18",my="_quickComparison_9hsjp_31",hy="_heading_9hsjp_34",yy="_column_9hsjp_41",gy="_cell_9hsjp_44",py="_row_9hsjp_57",by="_description_9hsjp_143",Sy="_active_9hsjp_220",_y="_black_9hsjp_252",Ey="_cellStep_9hsjp_316",xy="_summerAction_9hsjp_329",Ty="_summerStrike_9hsjp_336",d={table:vy,quickComparison:my,heading:hy,column:yy,cell:gy,row:py,description:by,active:Sy,black:_y,cellStep:Ey,summerAction:xy,summerStrike:Ty};function Hn(i,r){const[v,s]=H.useState(i);return H.useEffect(()=>{if(window.location.hash===`#${r}`){s(!0);const _=document.getElementById(r);_&&_.scrollIntoView({behavior:"smooth",block:"start",offset:{top:-300,left:0}})}},[r]),{isOpen:v,toggleDescription:()=>{history.pushState(null,null,`#${r}`),s(!v)}}}function Ev(){const{innerWidth:i,innerHeight:r}=window;return{width:i,height:r}}function Sa(){const[i,r]=H.useState(Ev());return H.useEffect(()=>{function v(){r(Ev())}return window.addEventListener("resize",v),()=>window.removeEventListener("resize",v)},[]),i}const qu=()=>{const{step:i}=H.useContext(jl),{width:r}=Sa();return(s,h,S)=>{if(r>768)return s;switch(i){case 1:return s;case 2:return h;case 3:return S}}};function Ay(){const{translations:i,quickComparison:r,tier:v,risk:s}=H.useContext(jl),{width:h}=Sa(),{isOpen:S,toggleDescription:_}=Hn(!1,i["trading-period"]);qu();const T=()=>i.unlimited,x=()=>i.unlimited,g=()=>i.unlimited;return r?o.jsx(o.Fragment,{children:o.jsxs("div",{className:`${d.row} ${d.tradingPeriod}`,children:[o.jsx("div",{className:d.column,children:o.jsx("div",{className:d.cell,children:i["Trading Period"]})}),o.jsx("div",{className:`${d.column} ${v==0&&d.active}`,children:o.jsx("div",{className:d.cell,children:i.unlimited})}),o.jsx("div",{className:`${d.column} ${v==1&&d.active}`,children:o.jsx("div",{className:d.cell,children:i.unlimited})}),o.jsx("div",{className:`${d.column} ${v==2&&d.active}`,children:o.jsx("div",{className:d.cell,children:i.unlimited})}),o.jsx("div",{className:`${d.column} ${v==3&&d.active}`,children:o.jsx("div",{className:d.cell,children:i.unlimited})}),s=="normal"&&o.jsx("div",{className:`${d.column} ${v==4&&d.active}`,children:o.jsx("div",{className:d.cell,children:i.unlimited})})]})}):o.jsxs(o.Fragment,{children:[o.jsxs("div",{id:i["trading-period"],className:`${d.row} ${d.tradingPeriod}`,onClick:_,children:[o.jsx("div",{className:d.column,children:o.jsx("div",{className:d.cell,children:i["Trading Period"]})}),h<768&&S&&o.jsx("div",{className:d.description,dangerouslySetInnerHTML:{__html:posts.value[0]}}),o.jsxs("div",{className:d.column,children:[o.jsxs("div",{className:`${d.cell} ${d.cellStep}`,children:[o.jsx("div",{children:i["Step 1"]}),o.jsx("div",{children:i["FTMO Challenge"]})]}),o.jsx("div",{className:d.cell,children:T()})]}),o.jsxs("div",{className:d.column,children:[o.jsxs("div",{className:`${d.cell} ${d.cellStep}`,children:[o.jsx("div",{children:i["Step 2"]}),o.jsx("div",{children:i.Verification})]}),o.jsx("div",{className:d.cell,children:x()})]}),o.jsxs("div",{className:d.column,children:[o.jsxs("div",{className:`${d.cell} ${d.cellStep}`,children:[o.jsx("div",{children:i["Step 3"]}),o.jsx("div",{children:i["FTMO Trader"]})]}),o.jsx("div",{className:d.cell,children:g()})]})]}),h>768&&S&&o.jsx("div",{className:d.description,dangerouslySetInnerHTML:{__html:posts.value[0]}})]})}function Oy(){const{translations:i,quickComparison:r,tier:v,risk:s}=H.useContext(jl),{width:h}=Sa(),{isOpen:S,toggleDescription:_}=Hn(!1,i["minimum-trading-days"]);qu();const T=()=>window.language==="cs"?o.jsx(o.Fragment,{children:"4 dny"}):o.jsxs(o.Fragment,{children:["4 ",i.days]}),x=()=>window.language==="cs"?o.jsx(o.Fragment,{children:"4 dny"}):o.jsxs(o.Fragment,{children:["4 ",i.days]}),g=()=>"X";return r?o.jsxs("div",{className:`${d.row} ${d.minTradingDays}`,children:[o.jsx("div",{className:d.column,children:o.jsx("div",{className:d.cell,children:i["Minimum trading days"]})}),o.jsx("div",{className:`${d.column} ${v==0&&d.active}`,children:o.jsx("div",{className:d.cell,children:T()})}),o.jsx("div",{className:`${d.column} ${v==1&&d.active}`,children:o.jsx("div",{className:d.cell,children:T()})}),o.jsx("div",{className:`${d.column} ${v==2&&d.active}`,children:o.jsx("div",{className:d.cell,children:T()})}),o.jsx("div",{className:`${d.column} ${v==3&&d.active}`,children:o.jsx("div",{className:d.cell,children:T()})}),o.jsx("div",{className:`${d.column} ${v==4&&d.active}`,children:o.jsx("div",{className:d.cell,children:T()})})]}):o.jsxs(o.Fragment,{children:[o.jsxs("div",{id:i["minimum-trading-days"],className:`${d.row} ${d.minTradingDays}`,onClick:_,children:[o.jsx("div",{className:d.column,children:o.jsx("div",{className:d.cell,children:i["Minimum trading days"]})}),h<768&&S&&o.jsx("div",{className:d.description,dangerouslySetInnerHTML:{__html:posts.value[1]}}),o.jsxs("div",{className:d.column,children:[o.jsxs("div",{className:`${d.cell} ${d.cellStep}`,children:[o.jsx("div",{children:i["Step 1"]}),o.jsx("div",{children:i["FTMO Challenge"]})]}),o.jsx("div",{className:d.cell,children:T()})]}),o.jsxs("div",{className:d.column,children:[o.jsxs("div",{className:`${d.cell} ${d.cellStep}`,children:[o.jsx("div",{children:i["Step 2"]}),o.jsx("div",{children:i.Verification})]}),o.jsx("div",{className:d.cell,children:x()})]}),o.jsxs("div",{className:d.column,children:[o.jsxs("div",{className:`${d.cell} ${d.cellStep}`,children:[o.jsx("div",{children:i["Step 3"]}),o.jsx("div",{children:i["FTMO Trader"]})]}),o.jsx("div",{className:d.cell,children:g()})]})]}),h>768&&S&&o.jsx("div",{className:d.description,dangerouslySetInnerHTML:{__html:posts.value[1]}})]})}function jy(i){const{currency:r,balance:v,risk:s,translations:h,quickComparison:S,tier:_}=H.useContext(jl),{width:T}=Sa(),{isOpen:x,toggleDescription:g}=Hn(!1,h["maximum-daily-loss"]);let M=s=="normal"?1:2;const U=()=>Jt(r,v*.05*M),q=()=>Jt(r,v*.05*M),z=()=>Jt(r,v*.05*M);return S?(()=>{let K=Uu(r);const Y=W=>{const tt=Object.values(i.values)[K][W];return Jt(r,tt*.05*M)};return o.jsxs("div",{className:`${d.row} ${d.maxDailyLoss}`,children:[o.jsx("div",{className:d.column,children:o.jsx("div",{className:d.cell,children:h["Maximum Daily Loss"]})}),o.jsx("div",{className:`${d.column} ${_==0&&d.active}`,children:o.jsx("div",{className:d.cell,children:Y(0)})}),o.jsx("div",{className:`${d.column} ${_==1&&d.active}`,children:o.jsx("div",{className:d.cell,children:Y(1)})}),o.jsx("div",{className:`${d.column} ${_==2&&d.active}`,children:o.jsx("div",{className:d.cell,children:Y(2)})}),o.jsx("div",{className:`${d.column} ${_==3&&d.active}`,children:o.jsx("div",{className:d.cell,children:Y(3)})}),o.jsx("div",{className:`${d.column} ${_==4&&d.active}`,children:o.jsx("div",{className:d.cell,children:Y(4)})})]})})():o.jsxs(o.Fragment,{children:[o.jsxs("div",{id:h["maximum-daily-loss"],className:`${d.row} ${d.maxDailyLoss}`,onClick:g,children:[o.jsx("div",{className:d.column,children:o.jsx("div",{className:d.cell,children:h["Maximum Daily Loss"]})}),T<768&&x&&o.jsx("div",{className:d.description,dangerouslySetInnerHTML:{__html:posts.value[2]}}),o.jsxs("div",{className:d.column,children:[o.jsxs("div",{className:`${d.cell} ${d.cellStep}`,children:[o.jsx("div",{children:h["Step 1"]}),o.jsx("div",{children:h["FTMO Challenge"]})]}),o.jsx("div",{className:d.cell,children:U()})]}),o.jsxs("div",{className:d.column,children:[o.jsxs("div",{className:`${d.cell} ${d.cellStep}`,children:[o.jsx("div",{children:h["Step 2"]}),o.jsx("div",{children:h.Verification})]}),o.jsx("div",{className:d.cell,children:q()})]}),o.jsxs("div",{className:d.column,children:[o.jsxs("div",{className:`${d.cell} ${d.cellStep}`,children:[o.jsx("div",{children:h["Step 3"]}),o.jsx("div",{children:h["FTMO Trader"]})]}),o.jsx("div",{className:d.cell,children:z()})]})]}),T>768&&x&&o.jsx("div",{className:d.description,dangerouslySetInnerHTML:{__html:posts.value[2]}})]})}function Ny(i){const{currency:r,balance:v,risk:s,translations:h,quickComparison:S,tier:_}=H.useContext(jl),{isOpen:T,toggleDescription:x}=Hn(!1,h["maximum-loss"]),{width:g}=Sa();let M=s=="normal"?1:2;const U=()=>Jt(r,v*.1*M),q=()=>Jt(r,v*.1*M),z=()=>Jt(r,v*.1*M);return S?(()=>{let K=Uu(r);const Y=W=>{const tt=Object.values(i.values)[K][W];return Jt(r,tt*.1*M)};return o.jsxs("div",{className:`${d.row} ${d.maxLoss}`,children:[o.jsx("div",{className:d.column,children:o.jsx("div",{className:d.cell,children:h["Maximum Loss"]})}),o.jsx("div",{className:`${d.column} ${_==0&&d.active}`,children:o.jsx("div",{className:d.cell,children:Y(0)})}),o.jsx("div",{className:`${d.column} ${_==1&&d.active}`,children:o.jsx("div",{className:d.cell,children:Y(1)})}),o.jsx("div",{className:`${d.column} ${_==2&&d.active}`,children:o.jsx("div",{className:d.cell,children:Y(2)})}),o.jsx("div",{className:`${d.column} ${_==3&&d.active}`,children:o.jsx("div",{className:d.cell,children:Y(3)})}),o.jsx("div",{className:`${d.column} ${_==4&&d.active}`,children:o.jsx("div",{className:d.cell,children:Y(4)})})]})})():o.jsxs(o.Fragment,{children:[o.jsxs("div",{id:h["maximum-loss"],className:`${d.row} ${d.maxLoss}`,onClick:x,children:[o.jsx("div",{className:d.column,children:o.jsx("div",{className:d.cell,children:h["Maximum Loss"]})}),g<768&&T&&o.jsx("div",{className:d.description,dangerouslySetInnerHTML:{__html:posts.value[3]}}),o.jsxs("div",{className:d.column,children:[o.jsxs("div",{className:`${d.cell} ${d.cellStep}`,children:[o.jsx("div",{children:h["Step 1"]}),o.jsx("div",{children:h["FTMO Challenge"]})]}),o.jsx("div",{className:d.cell,children:U()})]}),o.jsxs("div",{className:d.column,children:[o.jsxs("div",{className:`${d.cell} ${d.cellStep}`,children:[o.jsx("div",{children:h["Step 2"]}),o.jsx("div",{children:h.Verification})]}),o.jsx("div",{className:d.cell,children:q()})]}),o.jsxs("div",{className:d.column,children:[o.jsxs("div",{className:`${d.cell} ${d.cellStep}`,children:[o.jsx("div",{children:h["Step 3"]}),o.jsx("div",{children:h["FTMO Trader"]})]}),o.jsx("div",{className:d.cell,children:z()})]})]}),g>768&&T&&o.jsx("div",{className:d.description,dangerouslySetInnerHTML:{__html:posts.value[3]}})]})}function zy(i){const{currency:r,balance:v,risk:s,translations:h,quickComparison:S,tier:_}=H.useContext(jl),{isOpen:T,toggleDescription:x}=Hn(!1,h["profit-target"]),{width:g}=Sa();qu();let M=s=="normal"?1:2;const U=()=>Jt(r,v*.1*M),q=()=>Jt(r,v*.05*M),z=()=>o.jsx("div",{className:d.black,children:"X"});return S?(()=>{let K=Uu(r);const Y=W=>{const tt=Object.values(i.values)[K][W];return Jt(r,tt*.1*M)};return o.jsxs("div",{className:`${d.row} ${d.profitTarget}`,children:[o.jsx("div",{className:d.column,children:o.jsx("div",{className:d.cell,children:h["Profit Target"]})}),o.jsx("div",{className:`${d.column} ${_==0&&d.active}`,children:o.jsx("div",{className:d.cell,children:Y(0)})}),o.jsx("div",{className:`${d.column} ${_==1&&d.active}`,children:o.jsx("div",{className:d.cell,children:Y(1)})}),o.jsx("div",{className:`${d.column} ${_==2&&d.active}`,children:o.jsx("div",{className:d.cell,children:Y(2)})}),o.jsx("div",{className:`${d.column} ${_==3&&d.active}`,children:o.jsx("div",{className:d.cell,children:Y(3)})}),o.jsx("div",{className:`${d.column} ${_==4&&d.active}`,children:o.jsx("div",{className:d.cell,children:Y(4)})})]})})():o.jsxs(o.Fragment,{children:[o.jsxs("div",{id:h["profit-target"],className:`${d.row} ${d.profitTarget}`,onClick:x,children:[o.jsx("div",{className:d.column,children:o.jsx("div",{className:d.cell,children:h["Profit Target"]})}),g<768&&T&&o.jsx("div",{className:d.description,dangerouslySetInnerHTML:{__html:posts.value[4]}}),o.jsxs("div",{className:d.column,children:[o.jsxs("div",{className:`${d.cell} ${d.cellStep}`,children:[o.jsx("div",{children:h["Step 1"]}),o.jsx("div",{children:h["FTMO Challenge"]})]}),o.jsx("div",{className:d.cell,children:U()})]}),o.jsxs("div",{className:d.column,children:[o.jsxs("div",{className:`${d.cell} ${d.cellStep}`,children:[o.jsx("div",{children:h["Step 2"]}),o.jsx("div",{children:h.Verification})]}),o.jsx("div",{className:d.cell,children:q()})]}),o.jsxs("div",{className:d.column,children:[o.jsxs("div",{className:`${d.cell} ${d.cellStep}`,children:[o.jsx("div",{children:h["Step 3"]}),o.jsx("div",{children:h["FTMO Trader"]})]}),o.jsx("div",{className:d.cell,children:z()})]})]}),g>768&&T&&o.jsx("div",{className:d.description,dangerouslySetInnerHTML:{__html:posts.value[4]}})]})}function Dy(){const{risk:i,tier:r,translations:v,quickComparison:s}=H.useContext(jl),{isOpen:h,toggleDescription:S}=Hn(!1,v["refundable-fee"]),{width:_}=Sa();qu();const T=[155,250,345,540,1080],x=()=>{const z=Jt("eur",T[r]);let B;return z==="€155"?B="€89":v.sale&&(B=Jt("eur",T[r]*(1-v["sale-amount"]/100))),v.sale||z==="€155"?o.jsxs("span",{children:[o.jsx("span",{className:d.summerAction,children:B}),o.jsx("span",{className:d.summerStrike,children:z})]}):o.jsx("span",{children:z})},g=()=>o.jsx("div",{className:d.black,children:v.free}),M=()=>o.jsx("div",{className:d.black,children:v.refund});return s?o.jsxs("div",{className:`${d.row} ${d.refundableFee}`,children:[o.jsx("div",{className:d.column,children:o.jsx("div",{className:d.cell,children:v["Refundable Fee"]})}),o.jsx("div",{className:`${d.column} ${r==0&&d.active}`,children:o.jsx("div",{className:d.cell,children:Jt("eur",T[0])})}),o.jsx("div",{className:`${d.column} ${r==1&&d.active}`,children:o.jsx("div",{className:d.cell,children:Jt("eur",T[1])})}),o.jsx("div",{className:`${d.column} ${r==2&&d.active}`,children:o.jsx("div",{className:d.cell,children:Jt("eur",T[2])})}),o.jsx("div",{className:`${d.column} ${r==3&&d.active}`,children:o.jsx("div",{className:d.cell,children:Jt("eur",T[3])})}),o.jsx("div",{className:`${d.column} ${r==4&&d.active}`,children:o.jsx("div",{className:d.cell,children:Jt("eur",T[4])})})]}):o.jsxs(o.Fragment,{children:[o.jsxs("div",{id:v["refundable-fee"],className:`${d.row} ${d.refundableFee}`,onClick:S,children:[o.jsx("div",{className:d.column,children:o.jsx("div",{className:d.cell,children:v["Refundable Fee"]})}),_<768&&h&&o.jsx("div",{className:d.description,dangerouslySetInnerHTML:{__html:posts.value[6]}}),o.jsxs("div",{className:d.column,children:[o.jsxs("div",{className:`${d.cell} ${d.cellStep}`,children:[o.jsx("div",{children:v["Step 1"]}),o.jsx("div",{children:v["FTMO Challenge"]})]}),o.jsx("div",{className:d.cell,children:x()})]}),o.jsxs("div",{className:d.column,children:[o.jsxs("div",{className:`${d.cell} ${d.cellStep}`,children:[o.jsx("div",{children:v["Step 2"]}),o.jsx("div",{children:v.Verification})]}),o.jsx("div",{className:d.cell,children:g()})]}),o.jsxs("div",{className:d.column,children:[o.jsxs("div",{className:`${d.cell} ${d.cellStep}`,children:[o.jsx("div",{children:v["Step 3"]}),o.jsx("div",{children:v["FTMO Trader"]})]}),o.jsx("div",{className:d.cell,children:M()})]})]}),_>768&&h&&o.jsx("div",{className:d.description,dangerouslySetInnerHTML:{__html:posts.value[6]}})]})}function Ry(i){const{currency:r,translations:v,quickComparison:s,tier:h,risk:S}=H.useContext(jl);return s&&(()=>{let T=Uu(r);const x=g=>{const M=Object.values(i.values)[T][g];return Jt(r,M)};return o.jsx(o.Fragment,{children:o.jsxs("div",{className:`${d.row} ${d.AccountBalance}`,children:[o.jsx("div",{className:d.column,children:o.jsx("div",{className:d.cell,children:v["Account Balance"]})}),o.jsx("div",{className:`${d.column} ${h==0&&d.active}`,children:o.jsx("div",{className:d.cell,children:x(0)})}),o.jsx("div",{className:`${d.column} ${h==1&&d.active}`,children:o.jsx("div",{className:d.cell,children:x(1)})}),o.jsx("div",{className:`${d.column} ${h==2&&d.active}`,children:o.jsx("div",{className:d.cell,children:x(2)})}),o.jsx("div",{className:`${d.column} ${h==3&&d.active}`,children:o.jsx("div",{className:d.cell,children:x(3)})}),S=="normal"&&o.jsx("div",{className:`${d.column} ${h==4&&d.active}`,children:o.jsx("div",{className:d.cell,children:x(4)})})]})})})()}function My(){const{translations:i,quickComparison:r}=H.useContext(jl),{width:v}=Sa();qu();const s=()=>o.jsxs("div",{className:d.cell,children:[o.jsx("div",{children:i["Step 1"]}),o.jsx("div",{children:i["FTMO Challenge"]})]}),h=()=>o.jsxs("div",{className:d.cell,children:[o.jsx("div",{children:i["Step 2"]}),o.jsx("div",{children:i.Verification})]}),S=()=>o.jsxs("div",{className:d.cell,children:[o.jsx("div",{children:i["Step 3"]}),o.jsx("div",{children:i["FTMO Trader"]})]});return r?o.jsx("div",{className:`${d.heading} ${d.quickComparison}`,children:o.jsx("div",{className:d.column,children:s()})}):v>768&&o.jsxs("div",{className:d.heading,children:[o.jsx("div",{className:d.column}),o.jsx("div",{className:d.column,children:s()}),o.jsx("div",{className:d.column,children:h()}),o.jsx("div",{className:d.column,children:S()})]})}function Uy(i){const{quickComparison:r}=H.useContext(jl);return o.jsxs("div",{className:`${d.table} ${r&&d.quickComparison}`,children:[o.jsx(My,{}),o.jsx(Ry,{values:i.values}),o.jsx(Ay,{}),o.jsx(Oy,{}),o.jsx(jy,{values:i.values}),o.jsx(Ny,{values:i.values}),o.jsx(zy,{values:i.values}),o.jsx(Dy,{})]})}const xv={usd:[1e4,25e3,5e4,1e5,2e5],gbp:[1e4,2e4,35e3,7e4,14e4],eur:[1e4,2e4,4e4,8e4,16e4],czk:[25e4,5e5,1e6,2e6,4e6],cad:[15e3,3e4,6e4,12e4,24e4],aud:[15e3,3e4,65e3,13e4,26e4],chf:[1e4,2e4,4e4,8e4,16e4]},Cy=()=>o.jsxs(dy,{children:[o.jsx(oy,{values:xv}),o.jsx(Uy,{values:xv})]});document.addEventListener("DOMContentLoaded",()=>{const i=document.getElementById("trading-objectives");i&&Ih.createRoot(i).render(o.jsx(Cy,{}))});
