@tryghost/signup-form 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- (function(Re){typeof define=="function"&&define.amd?define(Re):Re()})(function(){"use strict";var kg=Object.defineProperty;var Sg=(Re,Ue,Ve)=>Ue in Re?kg(Re,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):Re[Ue]=Ve;var Dn=(Re,Ue,Ve)=>(Sg(Re,typeof Ue!="symbol"?Ue+"":Ue,Ve),Ve);function Re(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ue={exports:{}},Ve={},ka={exports:{}},R={};/**
1
+ (function(ze){typeof define=="function"&&define.amd?define(ze):ze()})(function(){"use strict";var Yh=Object.defineProperty;var Jh=(ze,Me,Ae)=>Me in ze?Yh(ze,Me,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):ze[Me]=Ae;var Ut=(ze,Me,Ae)=>(Jh(ze,typeof Me!="symbol"?Me+"":Me,Ae),Ae);function ze(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Me={exports:{}},Ae={},is={exports:{}},R={};/**
2
2
  * @license React
3
3
  * react.production.min.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var $n=Symbol.for("react.element"),Af=Symbol.for("react.portal"),Uf=Symbol.for("react.fragment"),Vf=Symbol.for("react.strict_mode"),Hf=Symbol.for("react.profiler"),Bf=Symbol.for("react.provider"),Kf=Symbol.for("react.context"),Wf=Symbol.for("react.forward_ref"),Qf=Symbol.for("react.suspense"),Yf=Symbol.for("react.memo"),Jf=Symbol.for("react.lazy"),Sa=Symbol.iterator;function Gf(e){return e===null||typeof e!="object"?null:(e=Sa&&e[Sa]||e["@@iterator"],typeof e=="function"?e:null)}var xa={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ea=Object.assign,Pa={};function en(e,t,n){this.props=e,this.context=t,this.refs=Pa,this.updater=n||xa}en.prototype.isReactComponent={},en.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},en.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ca(){}Ca.prototype=en.prototype;function qi(e,t,n){this.props=e,this.context=t,this.refs=Pa,this.updater=n||xa}var eo=qi.prototype=new Ca;eo.constructor=qi,Ea(eo,en.prototype),eo.isPureReactComponent=!0;var _a=Array.isArray,Oa=Object.prototype.hasOwnProperty,to={current:null},Na={key:!0,ref:!0,__self:!0,__source:!0};function ja(e,t,n){var r,i={},o=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(o=""+t.key),t)Oa.call(t,r)&&!Na.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var s=Array(a),u=0;u<a;u++)s[u]=arguments[u+2];i.children=s}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:$n,type:e,key:o,ref:l,props:i,_owner:to.current}}function Xf(e,t){return{$$typeof:$n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function no(e){return typeof e=="object"&&e!==null&&e.$$typeof===$n}function Zf(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var La=/\/+/g;function ro(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Zf(""+e.key):t.toString(36)}function jr(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(o){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case $n:case Af:l=!0}}if(l)return l=e,i=i(l),e=r===""?"."+ro(l,0):r,_a(i)?(n="",e!=null&&(n=e.replace(La,"$&/")+"/"),jr(i,t,n,"",function(u){return u})):i!=null&&(no(i)&&(i=Xf(i,n+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(La,"$&/")+"/")+e)),t.push(i)),1;if(l=0,r=r===""?".":r+":",_a(e))for(var a=0;a<e.length;a++){o=e[a];var s=r+ro(o,a);l+=jr(o,t,n,s,i)}else if(s=Gf(e),typeof s=="function")for(e=s.call(e),a=0;!(o=e.next()).done;)o=o.value,s=r+ro(o,a++),l+=jr(o,t,n,s,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function Lr(e,t,n){if(e==null)return e;var r=[],i=0;return jr(e,r,"","",function(o){return t.call(n,o,i++)}),r}function qf(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var ae={current:null},br={transition:null},ed={ReactCurrentDispatcher:ae,ReactCurrentBatchConfig:br,ReactCurrentOwner:to};R.Children={map:Lr,forEach:function(e,t,n){Lr(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Lr(e,function(){t++}),t},toArray:function(e){return Lr(e,function(t){return t})||[]},only:function(e){if(!no(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},R.Component=en,R.Fragment=Uf,R.Profiler=Hf,R.PureComponent=qi,R.StrictMode=Vf,R.Suspense=Qf,R.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ed,R.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Ea({},e.props),i=e.key,o=e.ref,l=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,l=to.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(s in t)Oa.call(t,s)&&!Na.hasOwnProperty(s)&&(r[s]=t[s]===void 0&&a!==void 0?a[s]:t[s])}var s=arguments.length-2;if(s===1)r.children=n;else if(1<s){a=Array(s);for(var u=0;u<s;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:$n,type:e.type,key:i,ref:o,props:r,_owner:l}},R.createContext=function(e){return e={$$typeof:Kf,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Bf,_context:e},e.Consumer=e},R.createElement=ja,R.createFactory=function(e){var t=ja.bind(null,e);return t.type=e,t},R.createRef=function(){return{current:null}},R.forwardRef=function(e){return{$$typeof:Wf,render:e}},R.isValidElement=no,R.lazy=function(e){return{$$typeof:Jf,_payload:{_status:-1,_result:e},_init:qf}},R.memo=function(e,t){return{$$typeof:Yf,type:e,compare:t===void 0?null:t}},R.startTransition=function(e){var t=br.transition;br.transition={};try{e()}finally{br.transition=t}},R.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},R.useCallback=function(e,t){return ae.current.useCallback(e,t)},R.useContext=function(e){return ae.current.useContext(e)},R.useDebugValue=function(){},R.useDeferredValue=function(e){return ae.current.useDeferredValue(e)},R.useEffect=function(e,t){return ae.current.useEffect(e,t)},R.useId=function(){return ae.current.useId()},R.useImperativeHandle=function(e,t,n){return ae.current.useImperativeHandle(e,t,n)},R.useInsertionEffect=function(e,t){return ae.current.useInsertionEffect(e,t)},R.useLayoutEffect=function(e,t){return ae.current.useLayoutEffect(e,t)},R.useMemo=function(e,t){return ae.current.useMemo(e,t)},R.useReducer=function(e,t,n){return ae.current.useReducer(e,t,n)},R.useRef=function(e){return ae.current.useRef(e)},R.useState=function(e){return ae.current.useState(e)},R.useSyncExternalStore=function(e,t,n){return ae.current.useSyncExternalStore(e,t,n)},R.useTransition=function(){return ae.current.useTransition()},R.version="18.2.0",ka.exports=R;var U=ka.exports;const Ce=Re(U);/**
9
+ */var En=Symbol.for("react.element"),Kc=Symbol.for("react.portal"),Wc=Symbol.for("react.fragment"),Qc=Symbol.for("react.strict_mode"),Yc=Symbol.for("react.profiler"),Jc=Symbol.for("react.provider"),Gc=Symbol.for("react.context"),Xc=Symbol.for("react.forward_ref"),Zc=Symbol.for("react.suspense"),qc=Symbol.for("react.memo"),ef=Symbol.for("react.lazy"),os=Symbol.iterator;function tf(e){return e===null||typeof e!="object"?null:(e=os&&e[os]||e["@@iterator"],typeof e=="function"?e:null)}var ls={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ss=Object.assign,as={};function Vt(e,t,n){this.props=e,this.context=t,this.refs=as,this.updater=n||ls}Vt.prototype.isReactComponent={},Vt.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},Vt.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function us(){}us.prototype=Vt.prototype;function Di(e,t,n){this.props=e,this.context=t,this.refs=as,this.updater=n||ls}var Mi=Di.prototype=new us;Mi.constructor=Di,ss(Mi,Vt.prototype),Mi.isPureReactComponent=!0;var cs=Array.isArray,fs=Object.prototype.hasOwnProperty,Ai={current:null},ds={key:!0,ref:!0,__self:!0,__source:!0};function ps(e,t,n){var r,i={},o=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(o=""+t.key),t)fs.call(t,r)&&!ds.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1<s){for(var a=Array(s),u=0;u<s;u++)a[u]=arguments[u+2];i.children=a}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)i[r]===void 0&&(i[r]=s[r]);return{$$typeof:En,type:e,key:o,ref:l,props:i,_owner:Ai.current}}function nf(e,t){return{$$typeof:En,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Ui(e){return typeof e=="object"&&e!==null&&e.$$typeof===En}function rf(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var hs=/\/+/g;function Vi(e,t){return typeof e=="object"&&e!==null&&e.key!=null?rf(""+e.key):t.toString(36)}function hr(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(o){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case En:case Kc:l=!0}}if(l)return l=e,i=i(l),e=r===""?"."+Vi(l,0):r,cs(i)?(n="",e!=null&&(n=e.replace(hs,"$&/")+"/"),hr(i,t,n,"",function(u){return u})):i!=null&&(Ui(i)&&(i=nf(i,n+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(hs,"$&/")+"/")+e)),t.push(i)),1;if(l=0,r=r===""?".":r+":",cs(e))for(var s=0;s<e.length;s++){o=e[s];var a=r+Vi(o,s);l+=hr(o,t,n,a,i)}else if(a=tf(e),typeof a=="function")for(e=a.call(e),s=0;!(o=e.next()).done;)o=o.value,a=r+Vi(o,s++),l+=hr(o,t,n,a,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function mr(e,t,n){if(e==null)return e;var r=[],i=0;return hr(e,r,"","",function(o){return t.call(n,o,i++)}),r}function of(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var se={current:null},gr={transition:null},lf={ReactCurrentDispatcher:se,ReactCurrentBatchConfig:gr,ReactCurrentOwner:Ai};R.Children={map:mr,forEach:function(e,t,n){mr(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return mr(e,function(){t++}),t},toArray:function(e){return mr(e,function(t){return t})||[]},only:function(e){if(!Ui(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},R.Component=Vt,R.Fragment=Wc,R.Profiler=Yc,R.PureComponent=Di,R.StrictMode=Qc,R.Suspense=Zc,R.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=lf,R.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=ss({},e.props),i=e.key,o=e.ref,l=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,l=Ai.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(a in t)fs.call(t,a)&&!ds.hasOwnProperty(a)&&(r[a]=t[a]===void 0&&s!==void 0?s[a]:t[a])}var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){s=Array(a);for(var u=0;u<a;u++)s[u]=arguments[u+2];r.children=s}return{$$typeof:En,type:e.type,key:i,ref:o,props:r,_owner:l}},R.createContext=function(e){return e={$$typeof:Gc,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Jc,_context:e},e.Consumer=e},R.createElement=ps,R.createFactory=function(e){var t=ps.bind(null,e);return t.type=e,t},R.createRef=function(){return{current:null}},R.forwardRef=function(e){return{$$typeof:Xc,render:e}},R.isValidElement=Ui,R.lazy=function(e){return{$$typeof:ef,_payload:{_status:-1,_result:e},_init:of}},R.memo=function(e,t){return{$$typeof:qc,type:e,compare:t===void 0?null:t}},R.startTransition=function(e){var t=gr.transition;gr.transition={};try{e()}finally{gr.transition=t}},R.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},R.useCallback=function(e,t){return se.current.useCallback(e,t)},R.useContext=function(e){return se.current.useContext(e)},R.useDebugValue=function(){},R.useDeferredValue=function(e){return se.current.useDeferredValue(e)},R.useEffect=function(e,t){return se.current.useEffect(e,t)},R.useId=function(){return se.current.useId()},R.useImperativeHandle=function(e,t,n){return se.current.useImperativeHandle(e,t,n)},R.useInsertionEffect=function(e,t){return se.current.useInsertionEffect(e,t)},R.useLayoutEffect=function(e,t){return se.current.useLayoutEffect(e,t)},R.useMemo=function(e,t){return se.current.useMemo(e,t)},R.useReducer=function(e,t,n){return se.current.useReducer(e,t,n)},R.useRef=function(e){return se.current.useRef(e)},R.useState=function(e){return se.current.useState(e)},R.useSyncExternalStore=function(e,t,n){return se.current.useSyncExternalStore(e,t,n)},R.useTransition=function(){return se.current.useTransition()},R.version="18.2.0",is.exports=R;var M=is.exports;const xe=ze(M);/**
10
10
  * @license React
11
11
  * react-jsx-runtime.production.min.js
12
12
  *
@@ -14,15 +14,14 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var td=U,nd=Symbol.for("react.element"),rd=Symbol.for("react.fragment"),id=Object.prototype.hasOwnProperty,od=td.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,ld={key:!0,ref:!0,__self:!0,__source:!0};function ba(e,t,n){var r,i={},o=null,l=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(l=t.ref);for(r in t)id.call(t,r)&&!ld.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:nd,type:e,key:o,ref:l,props:i,_owner:od.current}}Ve.Fragment=rd,Ve.jsx=ba,Ve.jsxs=ba,Ue.exports=Ve;var N=Ue.exports;const ad={"Email sent":"","Now check your email!":"Kyk nou in jou e-pos!","Please enter a valid email address":"Vul 'n geldige e-posadres in","Something went wrong, please try again.":"Iets is fout, probeer asseblief weer.",Subscribe:"Teken in","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Om die registrasie te voltooi, kliek op die bevestigingskak in jou posbus. As dit nie binne 3 minute aankom nie, kyk in jou spam vouer!","Your email address":""},sd={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},ud={"Email sent":"Correu electrònic enviat","Now check your email!":"Ara comproveu el vostre correu electrònic!","Please enter a valid email address":"Siusplau, introdueixi una adreça de correu electrònic vàlida","Something went wrong, please try again.":"S'ha produït un error, torna-ho a provar.",Subscribe:"Subscriu-te","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Per completar el registre, feu clic a l'enllaç de confirmació de la vostra safata d'entrada. Si no arriba en 3 minuts, comproveu la vostra carpeta de correu brossa!","Your email address":"La teva adreça de correu electrònic"},cd={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},fd={"Email sent":"E-mail sendt","Now check your email!":"Tjek din indbakke!","Please enter a valid email address":"Indtast venligst en gyldig e-mailadresse","Something went wrong, please try again.":"Der gik noget galt. Prøv venligst igen.",Subscribe:"Tilmeld","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"For at gennemføre tilmelding, tryk på bekræftelseslinket i din indbakke. Hvis det ikke kommer frem indenfor 3 minutter, så tjek din spam mappe!","Your email address":"Din e-mailadresse"},dd={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},pd={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},md={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},hd={"Email sent":"","Now check your email!":"Ahora, ¡revisa tu email!","Please enter a valid email address":"Por favor, ingresa una dirección de email válida","Something went wrong, please try again.":"Algo salió mal, por favor intenta nuevamente.",Subscribe:"Suscribirse","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Para completar el registro, haz clic en el link en tu bandeja de entrada. Si no llega en los siguientes 3 minutos, ¡revisa tu carpeta de spam!","Your email address":""},gd={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},vd={"Email sent":"E-mail envoyé","Now check your email!":"Maintenant, vérifiez votre boîte de réception !","Please enter a valid email address":"Veuillez renseigner une adresse e-mail valide","Something went wrong, please try again.":"Un problème est survenu, veuillez réessayer.",Subscribe:"S'abonner","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Pour terminer l'inscription, cliquez sur le lien de confirmation dans votre boîte de réception. S'il n'arrive pas dans les 3 minutes, vérifiez votre dossier de spam !","Your email address":"Votre adresse e-mail"},yd={"Email sent":"","Now check your email!":"Provjeri svoj email","Please enter a valid email address":"Unesi valjanu email adresu","Something went wrong, please try again.":"Nešto je pošlo ukrivo, pokušaj ponovo",Subscribe:"Pretplati se","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Kako bi dovršio registraciju klikni na potvrdni link u svoj inbox. Ako email ne stigne za 3 minute, provjeri spam folder","Your email address":""},wd={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},kd={"Email sent":"Email terkirim","Now check your email!":"Sekarang periksa email Anda!","Please enter a valid email address":"Harap masukkan alamat email yang valid","Something went wrong, please try again.":"Ada kesalahan, harap coba lagi.",Subscribe:"Berlangganan","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Untuk menyelesaikan pendaftaran, klik tautan konfirmasi di kotak masuk Anda. Jika tidak diterima dalam waktu 3 menit, pastikan untuk memeriksa folder spam Anda!","Your email address":"Alamat email Anda"},Sd={"Email sent":"","Now check your email!":"Ora controlla la tua email!","Please enter a valid email address":"Inserisci un indirizzo email valido","Something went wrong, please try again.":"Qualcosa è andato storto, si prega di riprovare.",Subscribe:"Abbonati","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Per completare l'iscrizione, clicca il link di conferma inviato alla tua email. Se non lo ricevi entro 3 minuti, controlla nello spam!","Your email address":""},xd={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},Ed={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},Pd={"Email sent":"","Now check your email!":"Semak e-mel anda sekarang!","Please enter a valid email address":"Sila masukkan alamat e-mel yang sah","Something went wrong, please try again.":"Kesilapan telah berlaku, sila cuba lagi.",Subscribe:"Langgan","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Untuk melengkapkan pendaftaran, klik pautan pengesahan dalam peti masuk anda. Jika ia tidak sampai dalam masa 3 minit, semak folder spam anda!","Your email address":""},Cd={"Email sent":"E-mail verzonden","Now check your email!":"Check nu je e-mail!","Please enter a valid email address":"Vul een geldig e-mailadres in","Something went wrong, please try again.":"Er ging iets mis, probeer het opnieuw.",Subscribe:"Inschrijven","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Om je inschrijving te voltooien, klik op de bevestigingslink in je inbox. Als het niet binnen 3 minuten aankomt, controleer dan je spamfolder!","Your email address":"Jouw e-mailadres"},_d={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},Od={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},Nd={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},jd={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},Ld={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},bd={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},Rd={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},Td={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},zd={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},Id={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},Fd={"Email sent":"","Now check your email!":"Titta i din e-post nu!","Please enter a valid email address":"Skriv in en giltig e-postadress","Something went wrong, please try again.":"Något gick fel. Försök igen.",Subscribe:"Registrera","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"För att slutföra registreringen, klicka på bekräftelselänken vi skickat till din e-post. Om den inte kommer fram inom 3 minuter, kolla din skräppostmapp!","Your email address":""},Dd={"Email sent":"E-posta gönderildi","Now check your email!":"Şimdi e-postanı kontrol et!","Please enter a valid email address":"Lütfen geçerli bir e-posta adresi girin","Something went wrong, please try again.":"Bir şeyler ters gitti lütfen tekrar deneyin.",Subscribe:"Abone ol","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Kayıt olmayı tamamlamak için gelen kutunuzdaki onay bağlantısını tıklayın. 3 dakika içinde gelmezse spam klasörünüzü kontrol edin!","Your email address":"E-posta adresiniz"},$d={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},Md={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},Ad={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},Ud={"Email sent":"邮件已发送","Now check your email!":"现在请检查您的电子邮箱!","Please enter a valid email address":"请输入有效的电子邮件地址","Something went wrong, please try again.":"遇到未知错误,请重试。",Subscribe:"订阅","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"请点击您收件箱中的确认链接以完成注册。如果3分钟后仍没有收到确认邮件,请检查垃圾邮件!","Your email address":"您的电子邮件地址"},Vd={"Email sent":"Email 已寄出","Now check your email!":"請檢查你的 email 收件夾","Please enter a valid email address":"請輸入正確的 email 地址","Something went wrong, please try again.":"錯誤發生,請再試一次",Subscribe:"訂閱","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"請在 email 收件夾中找到註冊確認信件,點擊內文中的連結完成註冊。如果在三分鐘後還沒收到信件,請檢查你的垃圾收件夾!","Your email address":"你的 email"};var Ra;function Ta(){return Ra||(Ra={"/i18n/locales/af/signup-form.json":function(){return ad},"/i18n/locales/bg/signup-form.json":function(){return sd},"/i18n/locales/ca/signup-form.json":function(){return ud},"/i18n/locales/cs/signup-form.json":function(){return cd},"/i18n/locales/da/signup-form.json":function(){return fd},"/i18n/locales/de/signup-form.json":function(){return dd},"/i18n/locales/en/signup-form.json":function(){return pd},"/i18n/locales/eo/signup-form.json":function(){return md},"/i18n/locales/es/signup-form.json":function(){return hd},"/i18n/locales/fi/signup-form.json":function(){return gd},"/i18n/locales/fr/signup-form.json":function(){return vd},"/i18n/locales/hr/signup-form.json":function(){return yd},"/i18n/locales/hu/signup-form.json":function(){return wd},"/i18n/locales/id/signup-form.json":function(){return kd},"/i18n/locales/it/signup-form.json":function(){return Sd},"/i18n/locales/ko/signup-form.json":function(){return xd},"/i18n/locales/mn/signup-form.json":function(){return Ed},"/i18n/locales/ms/signup-form.json":function(){return Pd},"/i18n/locales/nl/signup-form.json":function(){return Cd},"/i18n/locales/no/signup-form.json":function(){return _d},"/i18n/locales/pl/signup-form.json":function(){return Od},"/i18n/locales/pt/signup-form.json":function(){return Nd},"/i18n/locales/pt-BR/signup-form.json":function(){return jd},"/i18n/locales/ro/signup-form.json":function(){return Ld},"/i18n/locales/ru/signup-form.json":function(){return bd},"/i18n/locales/si/signup-form.json":function(){return Rd},"/i18n/locales/sl/signup-form.json":function(){return Td},"/i18n/locales/sq/signup-form.json":function(){return zd},"/i18n/locales/sr/signup-form.json":function(){return Id},"/i18n/locales/sv/signup-form.json":function(){return Fd},"/i18n/locales/tr/signup-form.json":function(){return Dd},"/i18n/locales/uk/signup-form.json":function(){return $d},"/i18n/locales/uz/signup-form.json":function(){return Md},"/i18n/locales/vi/signup-form.json":function(){return Ad},"/i18n/locales/zh/signup-form.json":function(){return Ud},"/i18n/locales/zh-Hant/signup-form.json":function(){return Vd}})}function Hd(e){function t(n){var r=za(n,e);if(r!==null)return Ta()[r]();throw new Error('Could not dynamically require "'+n+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}return t.resolve=function(n){var r=za(n,e);return r!==null?r:require.resolve(n)},t}function za(e,t){var n=Bd(e);e=Rr(e);var r;e[0]==="/"&&(t="");for(var i=Ta(),o=["",".js",".json"];n?r=Rr(t+"/node_modules/"+e):r=Rr(t+"/"+e),!r.endsWith("/..");){for(var l=0;l<o.length;l++){var a=r+o[l];if(i[a])return a}if(!n)break;var s=Rr(t+"/..");if(s===t)break;t=s}return null}function Bd(e){var t=e[0];if(t==="/"||t==="\\")return!1;var n=e[1],r=e[2];return!(t==="."&&(!n||n==="/"||n==="\\")||t==="."&&n==="."&&(!r||r==="/"||r==="\\")||n===":"&&(r==="/"||r==="\\"))}function Rr(e){e=e.replace(/\\/g,"/");for(var t=e.split("/"),n=t[0]==="",r=1;r<t.length;r++)(t[r]==="."||t[r]==="")&&t.splice(r--,1);for(var r=1;r<t.length;r++)t[r]===".."&&r>0&&t[r-1]!==".."&&t[r-1]!=="."&&(t.splice(--r,2),r--);return e=t.join("/"),n&&e[0]!=="/"?e="/"+e:e.length===0&&(e="."),e}var io={exports:{}},Ia={exports:{}};(function(e){function t(n){return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Ia);var Tr=Ia.exports,Fa={exports:{}};(function(e){function t(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Fa);var Kd=Fa.exports,Da={exports:{}},$a={exports:{}},Ma={exports:{}};(function(e){var t=Tr.default;function n(r,i){if(t(r)!=="object"||r===null)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var l=o.call(r,i||"default");if(t(l)!=="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(r)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(Ma);var Wd=Ma.exports;(function(e){var t=Tr.default,n=Wd;function r(i){var o=n(i,"string");return t(o)==="symbol"?o:String(o)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})($a);var Aa=$a.exports;(function(e){var t=Aa;function n(i,o){for(var l=0;l<o.length;l++){var a=o[l];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(i,t(a.key),a)}}function r(i,o,l){return o&&n(i.prototype,o),l&&n(i,l),Object.defineProperty(i,"prototype",{writable:!1}),i}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(Da);var Qd=Da.exports,Ua={exports:{}};(function(e){function t(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Ua);var Va=Ua.exports,Ha={exports:{}},Ba={exports:{}};(function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,l){return o.__proto__=l,o},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Ba);var Yd=Ba.exports;(function(e){var t=Yd;function n(r,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(i&&i.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),i&&t(r,i)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(Ha);var Jd=Ha.exports,Ka={exports:{}};(function(e){var t=Tr.default,n=Va;function r(i,o){if(o&&(t(o)==="object"||typeof o=="function"))return o;if(o!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return n(i)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(Ka);var Gd=Ka.exports,Wa={exports:{}};(function(e){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Wa);var Xd=Wa.exports,Qa={exports:{}};(function(e){var t=Aa;function n(r,i,o){return i=t(i),i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o,r}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(Qa);var Zd=Qa.exports,Ya={exports:{}},Ja={exports:{}};(function(e){function t(n){if(Array.isArray(n))return n}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Ja);var qd=Ja.exports,Ga={exports:{}};(function(e){function t(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Ga);var ep=Ga.exports,Xa={exports:{}},Za={exports:{}};(function(e){function t(n,r){(r==null||r>n.length)&&(r=n.length);for(var i=0,o=new Array(r);i<r;i++)o[i]=n[i];return o}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Za);var tp=Za.exports;(function(e){var t=tp;function n(r,i){if(r){if(typeof r=="string")return t(r,i);var o=Object.prototype.toString.call(r).slice(8,-1);if(o==="Object"&&r.constructor&&(o=r.constructor.name),o==="Map"||o==="Set")return Array.from(r);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return t(r,i)}}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(Xa);var np=Xa.exports,qa={exports:{}};(function(e){function t(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
18
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(qa);var rp=qa.exports;(function(e){var t=qd,n=ep,r=np,i=rp;function o(l){return t(l)||n(l)||r(l)||i()}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports})(Ya);var ip=Ya.exports,op=Tr,lp=Kd,ap=Qd,sp=Va,up=Jd,cp=Gd,fp=Xd,dp=Zd,pp=ip;function qe(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var tn=qe(op),He=qe(lp),Be=qe(ap),$t=qe(sp),zr=qe(up),Mn=qe(cp),mt=qe(fp),ht=qe(dp),mp=qe(pp);function es(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ts(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?es(Object(n),!0).forEach(function(r){ht.default(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):es(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var hp={type:"logger",log:function(t){this.output("log",t)},warn:function(t){this.output("warn",t)},error:function(t){this.output("error",t)},output:function(t,n){console&&console[t]&&console[t].apply(console,n)}},gp=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};He.default(this,e),this.init(t,n)}return Be.default(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=n||hp,this.options=r,this.debug=r.debug}},{key:"setDebug",value:function(n){this.debug=n}},{key:"log",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"log","",!0)}},{key:"warn",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"warn","",!0)}},{key:"error",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"error","")}},{key:"deprecate",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(n,r,i,o){return o&&!this.debug?null:(typeof n[0]=="string"&&(n[0]="".concat(i).concat(this.prefix," ").concat(n[0])),this.logger[r](n))}},{key:"create",value:function(n){return new e(this.logger,ts(ts({},{prefix:"".concat(this.prefix,":").concat(n,":")}),this.options))}},{key:"clone",value:function(n){return n=n||this.options,n.prefix=n.prefix||this.prefix,new e(this.logger,n)}}]),e}(),Ke=new gp,gt=function(){function e(){He.default(this,e),this.observers={}}return Be.default(e,[{key:"on",value:function(n,r){var i=this;return n.split(" ").forEach(function(o){i.observers[o]=i.observers[o]||[],i.observers[o].push(r)}),this}},{key:"off",value:function(n,r){if(this.observers[n]){if(!r){delete this.observers[n];return}this.observers[n]=this.observers[n].filter(function(i){return i!==r})}}},{key:"emit",value:function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];if(this.observers[n]){var l=[].concat(this.observers[n]);l.forEach(function(s){s.apply(void 0,i)})}if(this.observers["*"]){var a=[].concat(this.observers["*"]);a.forEach(function(s){s.apply(s,[n].concat(i))})}}}]),e}();function An(){var e,t,n=new Promise(function(r,i){e=r,t=i});return n.resolve=e,n.reject=t,n}function ns(e){return e==null?"":""+e}function vp(e,t,n){e.forEach(function(r){t[r]&&(n[r]=t[r])})}function oo(e,t,n){function r(a){return a&&a.indexOf("###")>-1?a.replace(/###/g,"."):a}function i(){return!e||typeof e=="string"}for(var o=typeof t!="string"?[].concat(t):t.split(".");o.length>1;){if(i())return{};var l=r(o.shift());!e[l]&&n&&(e[l]=new n),Object.prototype.hasOwnProperty.call(e,l)?e=e[l]:e={}}return i()?{}:{obj:e,k:r(o.shift())}}function rs(e,t,n){var r=oo(e,t,Object),i=r.obj,o=r.k;i[o]=n}function yp(e,t,n,r){var i=oo(e,t,Object),o=i.obj,l=i.k;o[l]=o[l]||[],r&&(o[l]=o[l].concat(n)),r||o[l].push(n)}function Ir(e,t){var n=oo(e,t),r=n.obj,i=n.k;if(r)return r[i]}function wp(e,t,n){var r=Ir(e,n);return r!==void 0?r:Ir(t,n)}function is(e,t,n){for(var r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):is(e[r],t[r],n):e[r]=t[r]);return e}function nn(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var kp={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function Sp(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,function(t){return kp[t]}):e}var Fr=typeof window<"u"&&window.navigator&&typeof window.navigator.userAgentData>"u"&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,xp=[" ",",","?","!",";"];function Ep(e,t,n){t=t||"",n=n||"";var r=xp.filter(function(a){return t.indexOf(a)<0&&n.indexOf(a)<0});if(r.length===0)return!0;var i=new RegExp("(".concat(r.map(function(a){return a==="?"?"\\?":a}).join("|"),")")),o=!i.test(e);if(!o){var l=e.indexOf(n);l>0&&!i.test(e.substring(0,l))&&(o=!0)}return o}function Dr(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),i=e,o=0;o<r.length;++o){if(!i||typeof i[r[o]]=="string"&&o+1<r.length)return;if(i[r[o]]===void 0){for(var l=2,a=r.slice(o,o+l).join(n),s=i[a];s===void 0&&r.length>o+l;)l++,a=r.slice(o,o+l).join(n),s=i[a];if(s===void 0)return;if(s===null)return null;if(t.endsWith(a)){if(typeof s=="string")return s;if(a&&typeof s[a]=="string")return s[a]}var u=r.slice(o+l).join(n);return u?Dr(s,u,n):void 0}i=i[r[o]]}return i}}function os(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function $r(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?os(Object(n),!0).forEach(function(r){ht.default(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):os(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Pp(e){var t=Cp();return function(){var r=mt.default(e),i;if(t){var o=mt.default(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Mn.default(this,i)}}function Cp(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var _p=function(e){zr.default(n,e);var t=Pp(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return He.default(this,n),i=t.call(this),Fr&&gt.call($t.default(i)),i.data=r||{},i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.options.ignoreJSONStructure===void 0&&(i.options.ignoreJSONStructure=!0),i}return Be.default(n,[{key:"addNamespaces",value:function(i){this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}},{key:"removeNamespaces",value:function(i){var o=this.options.ns.indexOf(i);o>-1&&this.options.ns.splice(o,1)}},{key:"getResource",value:function(i,o,l){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,u=a.ignoreJSONStructure!==void 0?a.ignoreJSONStructure:this.options.ignoreJSONStructure,m=[i,o];l&&typeof l!="string"&&(m=m.concat(l)),l&&typeof l=="string"&&(m=m.concat(s?l.split(s):l)),i.indexOf(".")>-1&&(m=i.split("."));var f=Ir(this.data,m);return f||!u||typeof l!="string"?f:Dr(this.data&&this.data[i]&&this.data[i][o],l,s)}},{key:"addResource",value:function(i,o,l,a){var s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},u=this.options.keySeparator;u===void 0&&(u=".");var m=[i,o];l&&(m=m.concat(u?l.split(u):l)),i.indexOf(".")>-1&&(m=i.split("."),a=o,o=m[1]),this.addNamespaces(o),rs(this.data,m,a),s.silent||this.emit("added",i,o,l,a)}},{key:"addResources",value:function(i,o,l){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var s in l)(typeof l[s]=="string"||Object.prototype.toString.apply(l[s])==="[object Array]")&&this.addResource(i,o,s,l[s],{silent:!0});a.silent||this.emit("added",i,o,l)}},{key:"addResourceBundle",value:function(i,o,l,a,s){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},m=[i,o];i.indexOf(".")>-1&&(m=i.split("."),a=l,l=o,o=m[1]),this.addNamespaces(o);var f=Ir(this.data,m)||{};a?is(f,l,s):f=$r($r({},f),l),rs(this.data,m,f),u.silent||this.emit("added",i,o,l)}},{key:"removeResourceBundle",value:function(i,o){this.hasResourceBundle(i,o)&&delete this.data[i][o],this.removeNamespaces(o),this.emit("removed",i,o)}},{key:"hasResourceBundle",value:function(i,o){return this.getResource(i,o)!==void 0}},{key:"getResourceBundle",value:function(i,o){return o||(o=this.options.defaultNS),this.options.compatibilityAPI==="v1"?$r($r({},{}),this.getResource(i,o)):this.getResource(i,o)}},{key:"getDataByLanguage",value:function(i){return this.data[i]}},{key:"hasLanguageSomeTranslations",value:function(i){var o=this.getDataByLanguage(i),l=o&&Object.keys(o)||[];return!!l.find(function(a){return o[a]&&Object.keys(o[a]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),n}(gt),ls={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,n,r,i,o){var l=this;return t.forEach(function(a){l.processors[a]&&(n=l.processors[a].process(n,r,i,o))}),n}};function as(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ne(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?as(Object(n),!0).forEach(function(r){ht.default(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):as(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Op(e){var t=Np();return function(){var r=mt.default(e),i;if(t){var o=mt.default(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Mn.default(this,i)}}function Np(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var ss={},us=function(e){zr.default(n,e);var t=Op(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return He.default(this,n),i=t.call(this),Fr&&gt.call($t.default(i)),vp(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],r,$t.default(i)),i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.logger=Ke.create("translator"),i}return Be.default(n,[{key:"changeLanguage",value:function(i){i&&(this.language=i)}},{key:"exists",value:function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(i==null)return!1;var l=this.resolve(i,o);return l&&l.res!==void 0}},{key:"extractFromKey",value:function(i,o){var l=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;l===void 0&&(l=":");var a=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,s=o.ns||this.options.defaultNS||[],u=l&&i.indexOf(l)>-1,m=!this.options.userDefinedKeySeparator&&!o.keySeparator&&!this.options.userDefinedNsSeparator&&!o.nsSeparator&&!Ep(i,l,a);if(u&&!m){var f=i.match(this.interpolator.nestingRegexp);if(f&&f.length>0)return{key:i,namespaces:s};var p=i.split(l);(l!==a||l===a&&this.options.ns.indexOf(p[0])>-1)&&(s=p.shift()),i=p.join(a)}return typeof s=="string"&&(s=[s]),{key:i,namespaces:s}}},{key:"translate",value:function(i,o,l){var a=this;if(tn.default(o)!=="object"&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),tn.default(o)==="object"&&(o=ne({},o)),o||(o={}),i==null)return"";Array.isArray(i)||(i=[String(i)]);var s=o.returnDetails!==void 0?o.returnDetails:this.options.returnDetails,u=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,m=this.extractFromKey(i[i.length-1],o),f=m.key,p=m.namespaces,g=p[p.length-1],v=o.lng||this.language,w=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(v&&v.toLowerCase()==="cimode"){if(w){var x=o.nsSeparator||this.options.nsSeparator;return s?{res:"".concat(g).concat(x).concat(f),usedKey:f,exactUsedKey:f,usedLng:v,usedNS:g}:"".concat(g).concat(x).concat(f)}return s?{res:f,usedKey:f,exactUsedKey:f,usedLng:v,usedNS:g}:f}var d=this.resolve(i,o),c=d&&d.res,h=d&&d.usedKey||f,y=d&&d.exactUsedKey||f,S=Object.prototype.toString.apply(c),E=["[object Number]","[object Function]","[object RegExp]"],_=o.joinArrays!==void 0?o.joinArrays:this.options.joinArrays,O=!this.i18nFormat||this.i18nFormat.handleAsObject,I=typeof c!="string"&&typeof c!="boolean"&&typeof c!="number";if(O&&c&&I&&E.indexOf(S)<0&&!(typeof _=="string"&&S==="[object Array]")){if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var L=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,c,ne(ne({},o),{},{ns:p})):"key '".concat(f," (").concat(this.language,")' returned an object instead of string.");return s?(d.res=L,d):L}if(u){var ge=S==="[object Array]",Ze=ge?[]:{},qt=ge?y:h;for(var ft in c)if(Object.prototype.hasOwnProperty.call(c,ft)){var Zi="".concat(qt).concat(u).concat(ft);Ze[ft]=this.translate(Zi,ne(ne({},o),{joinArrays:!1,ns:p})),Ze[ft]===Zi&&(Ze[ft]=c[ft])}c=Ze}}else if(O&&typeof _=="string"&&S==="[object Array]")c=c.join(_),c&&(c=this.extendTranslation(c,i,o,l));else{var Dt=!1,dt=!1,P=o.count!==void 0&&typeof o.count!="string",j=n.hasDefaultValue(o),b=P?this.pluralResolver.getSuffix(v,o.count,o):"",F=o["defaultValue".concat(b)]||o.defaultValue;!this.isValidLookup(c)&&j&&(Dt=!0,c=F),this.isValidLookup(c)||(dt=!0,c=f);var Y=o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,zn=Y&&dt?void 0:c,Ee=j&&F!==c&&this.options.updateMissing;if(dt||Dt||Ee){if(this.logger.log(Ee?"updateKey":"missingKey",v,g,f,Ee?F:c),u){var In=this.resolve(f,ne(ne({},o),{},{keySeparator:!1}));In&&In.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var Pe=[],pt=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if(this.options.saveMissingTo==="fallback"&&pt&&pt[0])for(var va=0;va<pt.length;va++)Pe.push(pt[va]);else this.options.saveMissingTo==="all"?Pe=this.languageUtils.toResolveHierarchy(o.lng||this.language):Pe.push(o.lng||this.language);var Df=function(Fn,wa,$f){var Mf=j&&$f!==c?$f:zn;a.options.missingKeyHandler?a.options.missingKeyHandler(Fn,g,wa,Mf,Ee,o):a.backendConnector&&a.backendConnector.saveMissing&&a.backendConnector.saveMissing(Fn,g,wa,Mf,Ee,o),a.emit("missingKey",Fn,g,wa,c)};this.options.saveMissing&&(this.options.saveMissingPlurals&&P?Pe.forEach(function(ya){a.pluralResolver.getSuffixes(ya,o).forEach(function(Fn){Df([ya],f+Fn,o["defaultValue".concat(Fn)]||F)})}):Df(Pe,f,F))}c=this.extendTranslation(c,i,o,d,l),dt&&c===f&&this.options.appendNamespaceToMissingKey&&(c="".concat(g,":").concat(f)),(dt||Dt)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?c=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(g,":").concat(f):f,Dt?c:void 0):c=this.options.parseMissingKeyHandler(c))}return s?(d.res=c,d):c}},{key:"extendTranslation",value:function(i,o,l,a,s){var u=this;if(this.i18nFormat&&this.i18nFormat.parse)i=this.i18nFormat.parse(i,ne(ne({},this.options.interpolation.defaultVariables),l),a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!l.skipInterpolation){l.interpolation&&this.interpolator.init(ne(ne({},l),{interpolation:ne(ne({},this.options.interpolation),l.interpolation)}));var m=typeof i=="string"&&(l&&l.interpolation&&l.interpolation.skipOnVariables!==void 0?l.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables),f;if(m){var p=i.match(this.interpolator.nestingRegexp);f=p&&p.length}var g=l.replace&&typeof l.replace!="string"?l.replace:l;if(this.options.interpolation.defaultVariables&&(g=ne(ne({},this.options.interpolation.defaultVariables),g)),i=this.interpolator.interpolate(i,g,l.lng||this.language,l),m){var v=i.match(this.interpolator.nestingRegexp),w=v&&v.length;f<w&&(l.nest=!1)}!l.lng&&this.options.compatibilityAPI!=="v1"&&a&&a.res&&(l.lng=a.usedLng),l.nest!==!1&&(i=this.interpolator.nest(i,function(){for(var c=arguments.length,h=new Array(c),y=0;y<c;y++)h[y]=arguments[y];return s&&s[0]===h[0]&&!l.context?(u.logger.warn("It seems you are nesting recursively key: ".concat(h[0]," in key: ").concat(o[0])),null):u.translate.apply(u,h.concat([o]))},l)),l.interpolation&&this.interpolator.reset()}var x=l.postProcess||this.options.postProcess,d=typeof x=="string"?[x]:x;return i!=null&&d&&d.length&&l.applyPostProcessor!==!1&&(i=ls.handle(d,i,o,this.options&&this.options.postProcessPassResolved?ne({i18nResolved:a},l):l,this)),i}},{key:"resolve",value:function(i){var o=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a,s,u,m,f;return typeof i=="string"&&(i=[i]),i.forEach(function(p){if(!o.isValidLookup(a)){var g=o.extractFromKey(p,l),v=g.key;s=v;var w=g.namespaces;o.options.fallbackNS&&(w=w.concat(o.options.fallbackNS));var x=l.count!==void 0&&typeof l.count!="string",d=x&&!l.ordinal&&l.count===0&&o.pluralResolver.shouldUseIntlApi(),c=l.context!==void 0&&(typeof l.context=="string"||typeof l.context=="number")&&l.context!=="",h=l.lngs?l.lngs:o.languageUtils.toResolveHierarchy(l.lng||o.language,l.fallbackLng);w.forEach(function(y){o.isValidLookup(a)||(f=y,!ss["".concat(h[0],"-").concat(y)]&&o.utils&&o.utils.hasLoadedNamespace&&!o.utils.hasLoadedNamespace(f)&&(ss["".concat(h[0],"-").concat(y)]=!0,o.logger.warn('key "'.concat(s,'" for languages "').concat(h.join(", "),`" won't get resolved as namespace "`).concat(f,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach(function(S){if(!o.isValidLookup(a)){m=S;var E=[v];if(o.i18nFormat&&o.i18nFormat.addLookupKeys)o.i18nFormat.addLookupKeys(E,v,S,y,l);else{var _;x&&(_=o.pluralResolver.getSuffix(S,l.count,l));var O="".concat(o.options.pluralSeparator,"zero");if(x&&(E.push(v+_),d&&E.push(v+O)),c){var I="".concat(v).concat(o.options.contextSeparator).concat(l.context);E.push(I),x&&(E.push(I+_),d&&E.push(I+O))}}for(var L;L=E.pop();)o.isValidLookup(a)||(u=L,a=o.getResource(S,y,L,l))}}))})}}),{res:a,usedKey:s,exactUsedKey:u,usedLng:m,usedNS:f}}},{key:"isValidLookup",value:function(i){return i!==void 0&&!(!this.options.returnNull&&i===null)&&!(!this.options.returnEmptyString&&i==="")}},{key:"getResource",value:function(i,o,l){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(i,o,l,a):this.resourceStore.getResource(i,o,l,a)}}],[{key:"hasDefaultValue",value:function(i){var o="defaultValue";for(var l in i)if(Object.prototype.hasOwnProperty.call(i,l)&&o===l.substring(0,o.length)&&i[l]!==void 0)return!0;return!1}}]),n}(gt);function lo(e){return e.charAt(0).toUpperCase()+e.slice(1)}var cs=function(){function e(t){He.default(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Ke.create("languageUtils")}return Be.default(e,[{key:"getScriptPartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return null;var r=n.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}},{key:"getLanguagePartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return n;var r=n.split("-");return this.formatLanguageCode(r[0])}},{key:"formatLanguageCode",value:function(n){if(typeof n=="string"&&n.indexOf("-")>-1){var r=["hans","hant","latn","cyrl","cans","mong","arab"],i=n.split("-");return this.options.lowerCaseLng?i=i.map(function(o){return o.toLowerCase()}):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=lo(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=lo(i[1].toLowerCase())),r.indexOf(i[2].toLowerCase())>-1&&(i[2]=lo(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?n.toLowerCase():n}},{key:"isSupportedCode",value:function(n){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(n=this.getLanguagePartFromCode(n)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(n)>-1}},{key:"getBestMatchFromCodes",value:function(n){var r=this;if(!n)return null;var i;return n.forEach(function(o){if(!i){var l=r.formatLanguageCode(o);(!r.options.supportedLngs||r.isSupportedCode(l))&&(i=l)}}),!i&&this.options.supportedLngs&&n.forEach(function(o){if(!i){var l=r.getLanguagePartFromCode(o);if(r.isSupportedCode(l))return i=l;i=r.options.supportedLngs.find(function(a){if(a===l)return a;if(!(a.indexOf("-")<0&&l.indexOf("-")<0)&&a.indexOf(l)===0)return a})}}),i||(i=this.getFallbackCodes(this.options.fallbackLng)[0]),i}},{key:"getFallbackCodes",value:function(n,r){if(!n)return[];if(typeof n=="function"&&(n=n(r)),typeof n=="string"&&(n=[n]),Object.prototype.toString.apply(n)==="[object Array]")return n;if(!r)return n.default||[];var i=n[r];return i||(i=n[this.getScriptPartFromCode(r)]),i||(i=n[this.formatLanguageCode(r)]),i||(i=n[this.getLanguagePartFromCode(r)]),i||(i=n.default),i||[]}},{key:"toResolveHierarchy",value:function(n,r){var i=this,o=this.getFallbackCodes(r||this.options.fallbackLng||[],n),l=[],a=function(u){u&&(i.isSupportedCode(u)?l.push(u):i.logger.warn("rejecting language code not found in supportedLngs: ".concat(u)))};return typeof n=="string"&&n.indexOf("-")>-1?(this.options.load!=="languageOnly"&&a(this.formatLanguageCode(n)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&a(this.getScriptPartFromCode(n)),this.options.load!=="currentOnly"&&a(this.getLanguagePartFromCode(n))):typeof n=="string"&&a(this.formatLanguageCode(n)),o.forEach(function(s){l.indexOf(s)<0&&a(i.formatLanguageCode(s))}),l}}]),e}(),jp=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Lp={1:function(t){return+(t>1)},2:function(t){return+(t!=1)},3:function(t){return 0},4:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2},5:function(t){return t==0?0:t==1?1:t==2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},6:function(t){return t==1?0:t>=2&&t<=4?1:2},7:function(t){return t==1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2},8:function(t){return t==1?0:t==2?1:t!=8&&t!=11?2:3},9:function(t){return+(t>=2)},10:function(t){return t==1?0:t==2?1:t<7?2:t<11?3:4},11:function(t){return t==1||t==11?0:t==2||t==12?1:t>2&&t<20?2:3},12:function(t){return+(t%10!=1||t%100==11)},13:function(t){return+(t!==0)},14:function(t){return t==1?0:t==2?1:t==3?2:3},15:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2},16:function(t){return t%10==1&&t%100!=11?0:t!==0?1:2},17:function(t){return t==1||t%10==1&&t%100!=11?0:1},18:function(t){return t==0?0:t==1?1:2},19:function(t){return t==1?0:t==0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3},20:function(t){return t==1?0:t==0||t%100>0&&t%100<20?1:2},21:function(t){return t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0},22:function(t){return t==1?0:t==2?1:(t<0||t>10)&&t%10==0?2:3}},bp=["v1","v2","v3"],fs={zero:0,one:1,two:2,few:3,many:4,other:5};function Rp(){var e={};return jp.forEach(function(t){t.lngs.forEach(function(n){e[n]={numbers:t.nr,plurals:Lp[t.fc]}})}),e}var Tp=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};He.default(this,e),this.languageUtils=t,this.options=n,this.logger=Ke.create("pluralResolver"),(!this.options.compatibilityJSON||this.options.compatibilityJSON==="v4")&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Rp()}return Be.default(e,[{key:"addRule",value:function(n,r){this.rules[n]=r}},{key:"getRule",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(n,{type:r.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[n]||this.rules[this.languageUtils.getLanguagePartFromCode(n)]}},{key:"needsPlural",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.getRule(n,r);return this.shouldUseIntlApi()?i&&i.resolvedOptions().pluralCategories.length>1:i&&i.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(n,i).map(function(o){return"".concat(r).concat(o)})}},{key:"getSuffixes",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?o.resolvedOptions().pluralCategories.sort(function(l,a){return fs[l]-fs[a]}).map(function(l){return"".concat(r.options.prepend).concat(l)}):o.numbers.map(function(l){return r.getSuffix(n,l,i)}):[]}},{key:"getSuffix",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(o.select(r)):this.getSuffixRetroCompatible(o,r):(this.logger.warn("no plural rule found for: ".concat(n)),"")}},{key:"getSuffixRetroCompatible",value:function(n,r){var i=this,o=n.noAbs?n.plurals(r):n.plurals(Math.abs(r)),l=n.numbers[o];this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1&&(l===2?l="plural":l===1&&(l=""));var a=function(){return i.options.prepend&&l.toString()?i.options.prepend+l.toString():l.toString()};return this.options.compatibilityJSON==="v1"?l===1?"":typeof l=="number"?"_plural_".concat(l.toString()):a():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1?a():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}},{key:"shouldUseIntlApi",value:function(){return!bp.includes(this.options.compatibilityJSON)}}]),e}();function ds(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Te(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ds(Object(n),!0).forEach(function(r){ht.default(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ds(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ps(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=wp(e,t,n);return!o&&i&&typeof n=="string"&&(o=Dr(e,n,r),o===void 0&&(o=Dr(t,n,r))),o}var zp=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};He.default(this,e),this.logger=Ke.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(n){return n},this.init(t)}return Be.default(e,[{key:"init",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n.interpolation||(n.interpolation={escapeValue:!0});var r=n.interpolation;this.escape=r.escape!==void 0?r.escape:Sp,this.escapeValue=r.escapeValue!==void 0?r.escapeValue:!0,this.useRawValueToEscape=r.useRawValueToEscape!==void 0?r.useRawValueToEscape:!1,this.prefix=r.prefix?nn(r.prefix):r.prefixEscaped||"{{",this.suffix=r.suffix?nn(r.suffix):r.suffixEscaped||"}}",this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||",",this.unescapePrefix=r.unescapeSuffix?"":r.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":r.unescapeSuffix||"",this.nestingPrefix=r.nestingPrefix?nn(r.nestingPrefix):r.nestingPrefixEscaped||nn("$t("),this.nestingSuffix=r.nestingSuffix?nn(r.nestingSuffix):r.nestingSuffixEscaped||nn(")"),this.nestingOptionsSeparator=r.nestingOptionsSeparator?r.nestingOptionsSeparator:r.nestingOptionsSeparator||",",this.maxReplaces=r.maxReplaces?r.maxReplaces:1e3,this.alwaysFormat=r.alwaysFormat!==void 0?r.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var n="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(n,"g");var r="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(r,"g");var i="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(i,"g")}},{key:"interpolate",value:function(n,r,i,o){var l=this,a,s,u,m=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function f(x){return x.replace(/\$/g,"$$$$")}var p=function(d){if(d.indexOf(l.formatSeparator)<0){var c=ps(r,m,d,l.options.keySeparator,l.options.ignoreJSONStructure);return l.alwaysFormat?l.format(c,void 0,i,Te(Te(Te({},o),r),{},{interpolationkey:d})):c}var h=d.split(l.formatSeparator),y=h.shift().trim(),S=h.join(l.formatSeparator).trim();return l.format(ps(r,m,y,l.options.keySeparator,l.options.ignoreJSONStructure),S,i,Te(Te(Te({},o),r),{},{interpolationkey:y}))};this.resetRegExp();var g=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,v=o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,w=[{regex:this.regexpUnescape,safeValue:function(d){return f(d)}},{regex:this.regexp,safeValue:function(d){return l.escapeValue?f(l.escape(d)):f(d)}}];return w.forEach(function(x){for(u=0;a=x.regex.exec(n);){var d=a[1].trim();if(s=p(d),s===void 0)if(typeof g=="function"){var c=g(n,a,o);s=typeof c=="string"?c:""}else if(o&&Object.prototype.hasOwnProperty.call(o,d))s="";else if(v){s=a[0];continue}else l.logger.warn("missed to pass in variable ".concat(d," for interpolating ").concat(n)),s="";else typeof s!="string"&&!l.useRawValueToEscape&&(s=ns(s));var h=x.safeValue(s);if(n=n.replace(a[0],h),v?(x.regex.lastIndex+=s.length,x.regex.lastIndex-=a[0].length):x.regex.lastIndex=0,u++,u>=l.maxReplaces)break}}),n}},{key:"nest",value:function(n,r){var i=this,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l,a,s;function u(g,v){var w=this.nestingOptionsSeparator;if(g.indexOf(w)<0)return g;var x=g.split(new RegExp("".concat(w,"[ ]*{"))),d="{".concat(x[1]);g=x[0],d=this.interpolate(d,s);var c=d.match(/'/g),h=d.match(/"/g);(c&&c.length%2===0&&!h||h.length%2!==0)&&(d=d.replace(/'/g,'"'));try{s=JSON.parse(d),v&&(s=Te(Te({},v),s))}catch(y){return this.logger.warn("failed parsing options string in nesting for key ".concat(g),y),"".concat(g).concat(w).concat(d)}return delete s.defaultValue,g}for(;l=this.nestingRegexp.exec(n);){var m=[];s=Te({},o),s=s.replace&&typeof s.replace!="string"?s.replace:s,s.applyPostProcessor=!1,delete s.defaultValue;var f=!1;if(l[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(l[1])){var p=l[1].split(this.formatSeparator).map(function(g){return g.trim()});l[1]=p.shift(),m=p,f=!0}if(a=r(u.call(this,l[1].trim(),s),s),a&&l[0]===n&&typeof a!="string")return a;typeof a!="string"&&(a=ns(a)),a||(this.logger.warn("missed to resolve ".concat(l[1]," for nesting ").concat(n)),a=""),f&&(a=m.reduce(function(g,v){return i.format(g,v,o.lng,Te(Te({},o),{},{interpolationkey:l[1].trim()}))},a.trim())),n=n.replace(l[0],a),this.regexp.lastIndex=0}return n}}]),e}();function ms(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function et(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ms(Object(n),!0).forEach(function(r){ht.default(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ms(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ip(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var i=r[1].substring(0,r[1].length-1);if(t==="currency"&&i.indexOf(":")<0)n.currency||(n.currency=i.trim());else if(t==="relativetime"&&i.indexOf(":")<0)n.range||(n.range=i.trim());else{var o=i.split(";");o.forEach(function(l){if(l){var a=l.split(":"),s=mp.default(a),u=s[0],m=s.slice(1),f=m.join(":").trim().replace(/^'+|'+$/g,"");n[u.trim()]||(n[u.trim()]=f),f==="false"&&(n[u.trim()]=!1),f==="true"&&(n[u.trim()]=!0),isNaN(f)||(n[u.trim()]=parseInt(f,10))}})}}return{formatName:t,formatOptions:n}}function rn(e){var t={};return function(r,i,o){var l=i+JSON.stringify(o),a=t[l];return a||(a=e(i,o),t[l]=a),a(r)}}var Fp=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};He.default(this,e),this.logger=Ke.create("formatter"),this.options=t,this.formats={number:rn(function(n,r){var i=new Intl.NumberFormat(n,et({},r));return function(o){return i.format(o)}}),currency:rn(function(n,r){var i=new Intl.NumberFormat(n,et(et({},r),{},{style:"currency"}));return function(o){return i.format(o)}}),datetime:rn(function(n,r){var i=new Intl.DateTimeFormat(n,et({},r));return function(o){return i.format(o)}}),relativetime:rn(function(n,r){var i=new Intl.RelativeTimeFormat(n,et({},r));return function(o){return i.format(o,r.range||"day")}}),list:rn(function(n,r){var i=new Intl.ListFormat(n,et({},r));return function(o){return i.format(o)}})},this.init(t)}return Be.default(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},i=r.interpolation;this.formatSeparator=i.formatSeparator?i.formatSeparator:i.formatSeparator||","}},{key:"add",value:function(n,r){this.formats[n.toLowerCase().trim()]=r}},{key:"addCached",value:function(n,r){this.formats[n.toLowerCase().trim()]=rn(r)}},{key:"format",value:function(n,r,i){var o=this,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=r.split(this.formatSeparator),s=a.reduce(function(u,m){var f=Ip(m),p=f.formatName,g=f.formatOptions;if(o.formats[p]){var v=u;try{var w=l&&l.formatParams&&l.formatParams[l.interpolationkey]||{},x=w.locale||w.lng||l.locale||l.lng||i;v=o.formats[p](u,x,et(et(et({},g),l),w))}catch(d){o.logger.warn(d)}return v}else o.logger.warn("there was no format function for ".concat(p));return u},n);return s}}]),e}();function hs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function gs(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?hs(Object(n),!0).forEach(function(r){ht.default(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hs(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Dp(e){var t=$p();return function(){var r=mt.default(e),i;if(t){var o=mt.default(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Mn.default(this,i)}}function $p(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Mp(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}var Ap=function(e){zr.default(n,e);var t=Dp(n);function n(r,i,o){var l,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return He.default(this,n),l=t.call(this),Fr&&gt.call($t.default(l)),l.backend=r,l.store=i,l.services=o,l.languageUtils=o.languageUtils,l.options=a,l.logger=Ke.create("backendConnector"),l.waitingReads=[],l.maxParallelReads=a.maxParallelReads||10,l.readingCalls=0,l.maxRetries=a.maxRetries>=0?a.maxRetries:5,l.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,l.state={},l.queue=[],l.backend&&l.backend.init&&l.backend.init(o,a.backend,a),l}return Be.default(n,[{key:"queueLoad",value:function(i,o,l,a){var s=this,u={},m={},f={},p={};return i.forEach(function(g){var v=!0;o.forEach(function(w){var x="".concat(g,"|").concat(w);!l.reload&&s.store.hasResourceBundle(g,w)?s.state[x]=2:s.state[x]<0||(s.state[x]===1?m[x]===void 0&&(m[x]=!0):(s.state[x]=1,v=!1,m[x]===void 0&&(m[x]=!0),u[x]===void 0&&(u[x]=!0),p[w]===void 0&&(p[w]=!0)))}),v||(f[g]=!0)}),(Object.keys(u).length||Object.keys(m).length)&&this.queue.push({pending:m,pendingCount:Object.keys(m).length,loaded:{},errors:[],callback:a}),{toLoad:Object.keys(u),pending:Object.keys(m),toLoadLanguages:Object.keys(f),toLoadNamespaces:Object.keys(p)}}},{key:"loaded",value:function(i,o,l){var a=i.split("|"),s=a[0],u=a[1];o&&this.emit("failedLoading",s,u,o),l&&this.store.addResourceBundle(s,u,l),this.state[i]=o?-1:2;var m={};this.queue.forEach(function(f){yp(f.loaded,[s],u),Mp(f,i),o&&f.errors.push(o),f.pendingCount===0&&!f.done&&(Object.keys(f.loaded).forEach(function(p){m[p]||(m[p]={});var g=f.loaded[p];g.length&&g.forEach(function(v){m[p][v]===void 0&&(m[p][v]=!0)})}),f.done=!0,f.errors.length?f.callback(f.errors):f.callback())}),this.emit("loaded",m),this.queue=this.queue.filter(function(f){return!f.done})}},{key:"read",value:function(i,o,l){var a=this,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,m=arguments.length>5?arguments[5]:void 0;if(!i.length)return m(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:i,ns:o,fcName:l,tried:s,wait:u,callback:m});return}this.readingCalls++;var f=function(w,x){if(a.readingCalls--,a.waitingReads.length>0){var d=a.waitingReads.shift();a.read(d.lng,d.ns,d.fcName,d.tried,d.wait,d.callback)}if(w&&x&&s<a.maxRetries){setTimeout(function(){a.read.call(a,i,o,l,s+1,u*2,m)},u);return}m(w,x)},p=this.backend[l].bind(this.backend);if(p.length===2){try{var g=p(i,o);g&&typeof g.then=="function"?g.then(function(v){return f(null,v)}).catch(f):f(null,g)}catch(v){f(v)}return}return p(i,o,f)}},{key:"prepareLoading",value:function(i,o){var l=this,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),s&&s();typeof i=="string"&&(i=this.languageUtils.toResolveHierarchy(i)),typeof o=="string"&&(o=[o]);var u=this.queueLoad(i,o,a,s);if(!u.toLoad.length)return u.pending.length||s(),null;u.toLoad.forEach(function(m){l.loadOne(m)})}},{key:"load",value:function(i,o,l){this.prepareLoading(i,o,{},l)}},{key:"reload",value:function(i,o,l){this.prepareLoading(i,o,{reload:!0},l)}},{key:"loadOne",value:function(i){var o=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",a=i.split("|"),s=a[0],u=a[1];this.read(s,u,"read",void 0,void 0,function(m,f){m&&o.logger.warn("".concat(l,"loading namespace ").concat(u," for language ").concat(s," failed"),m),!m&&f&&o.logger.log("".concat(l,"loaded namespace ").concat(u," for language ").concat(s),f),o.loaded(i,m,f)})}},{key:"saveMissing",value:function(i,o,l,a,s){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},m=arguments.length>6&&arguments[6]!==void 0?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(o)){this.logger.warn('did not save key "'.concat(l,'" as the namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(l==null||l==="")){if(this.backend&&this.backend.create){var f=gs(gs({},u),{},{isUpdate:s}),p=this.backend.create.bind(this.backend);if(p.length<6)try{var g;p.length===5?g=p(i,o,l,a,f):g=p(i,o,l,a),g&&typeof g.then=="function"?g.then(function(v){return m(null,v)}).catch(m):m(null,g)}catch(v){m(v)}else p(i,o,l,a,m,f)}!i||!i[0]||this.store.addResource(i[0],o,l,a)}}}]),n}(gt);function vs(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var n={};if(tn.default(t[1])==="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),tn.default(t[2])==="object"||tn.default(t[3])==="object"){var r=t[3]||t[2];Object.keys(r).forEach(function(i){n[i]=r[i]})}return n},interpolation:{escapeValue:!0,format:function(t,n,r,i){return t},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function ys(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function ws(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function We(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ws(Object(n),!0).forEach(function(r){ht.default(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ws(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Up(e){var t=Vp();return function(){var r=mt.default(e),i;if(t){var o=mt.default(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Mn.default(this,i)}}function Vp(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Mr(){}function Hp(e){var t=Object.getOwnPropertyNames(Object.getPrototypeOf(e));t.forEach(function(n){typeof e[n]=="function"&&(e[n]=e[n].bind(e))})}var Ar=function(e){zr.default(n,e);var t=Up(n);function n(){var r,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(He.default(this,n),r=t.call(this),Fr&&gt.call($t.default(r)),r.options=ys(i),r.services={},r.logger=Ke,r.modules={external:[]},Hp($t.default(r)),o&&!r.isInitialized&&!i.isClone){if(!r.options.initImmediate)return r.init(i,o),Mn.default(r,$t.default(r));setTimeout(function(){r.init(i,o)},0)}return r}return Be.default(n,[{key:"init",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1?arguments[1]:void 0;typeof o=="function"&&(l=o,o={}),!o.defaultNS&&o.defaultNS!==!1&&o.ns&&(typeof o.ns=="string"?o.defaultNS=o.ns:o.ns.indexOf("translation")<0&&(o.defaultNS=o.ns[0]));var a=vs();this.options=We(We(We({},a),this.options),ys(o)),this.options.compatibilityAPI!=="v1"&&(this.options.interpolation=We(We({},a.interpolation),this.options.interpolation)),o.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=o.keySeparator),o.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=o.nsSeparator);function s(d){return d?typeof d=="function"?new d:d:null}if(!this.options.isClone){this.modules.logger?Ke.init(s(this.modules.logger),this.options):Ke.init(null,this.options);var u;this.modules.formatter?u=this.modules.formatter:typeof Intl<"u"&&(u=Fp);var m=new cs(this.options);this.store=new _p(this.options.resources,this.options);var f=this.services;f.logger=Ke,f.resourceStore=this.store,f.languageUtils=m,f.pluralResolver=new Tp(m,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(f.formatter=s(u),f.formatter.init(f,this.options),this.options.interpolation.format=f.formatter.format.bind(f.formatter)),f.interpolator=new zp(this.options),f.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},f.backendConnector=new Ap(s(this.modules.backend),f.resourceStore,f,this.options),f.backendConnector.on("*",function(d){for(var c=arguments.length,h=new Array(c>1?c-1:0),y=1;y<c;y++)h[y-1]=arguments[y];i.emit.apply(i,[d].concat(h))}),this.modules.languageDetector&&(f.languageDetector=s(this.modules.languageDetector),f.languageDetector.init&&f.languageDetector.init(f,this.options.detection,this.options)),this.modules.i18nFormat&&(f.i18nFormat=s(this.modules.i18nFormat),f.i18nFormat.init&&f.i18nFormat.init(this)),this.translator=new us(this.services,this.options),this.translator.on("*",function(d){for(var c=arguments.length,h=new Array(c>1?c-1:0),y=1;y<c;y++)h[y-1]=arguments[y];i.emit.apply(i,[d].concat(h))}),this.modules.external.forEach(function(d){d.init&&d.init(i)})}if(this.format=this.options.interpolation.format,l||(l=Mr),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var p=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);p.length>0&&p[0]!=="dev"&&(this.options.lng=p[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var g=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];g.forEach(function(d){i[d]=function(){var c;return(c=i.store)[d].apply(c,arguments)}});var v=["addResource","addResources","addResourceBundle","removeResourceBundle"];v.forEach(function(d){i[d]=function(){var c;return(c=i.store)[d].apply(c,arguments),i}});var w=An(),x=function(){var c=function(y,S){i.isInitialized&&!i.initializedStoreOnce&&i.logger.warn("init: i18next is already initialized. You should call init just once!"),i.isInitialized=!0,i.options.isClone||i.logger.log("initialized",i.options),i.emit("initialized",i.options),w.resolve(S),l(y,S)};if(i.languages&&i.options.compatibilityAPI!=="v1"&&!i.isInitialized)return c(null,i.t.bind(i));i.changeLanguage(i.options.lng,c)};return this.options.resources||!this.options.initImmediate?x():setTimeout(x,0),w}},{key:"loadResources",value:function(i){var o=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Mr,a=l,s=typeof i=="string"?i:this.language;if(typeof i=="function"&&(a=i),!this.options.resources||this.options.partialBundledLanguages){if(s&&s.toLowerCase()==="cimode")return a();var u=[],m=function(g){if(g){var v=o.services.languageUtils.toResolveHierarchy(g);v.forEach(function(w){u.indexOf(w)<0&&u.push(w)})}};if(s)m(s);else{var f=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);f.forEach(function(p){return m(p)})}this.options.preload&&this.options.preload.forEach(function(p){return m(p)}),this.services.backendConnector.load(u,this.options.ns,function(p){!p&&!o.resolvedLanguage&&o.language&&o.setResolvedLanguage(o.language),a(p)})}else a(null)}},{key:"reloadResources",value:function(i,o,l){var a=An();return i||(i=this.languages),o||(o=this.options.ns),l||(l=Mr),this.services.backendConnector.reload(i,o,function(s){a.resolve(),l(s)}),a}},{key:"use",value:function(i){if(!i)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!i.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return i.type==="backend"&&(this.modules.backend=i),(i.type==="logger"||i.log&&i.warn&&i.error)&&(this.modules.logger=i),i.type==="languageDetector"&&(this.modules.languageDetector=i),i.type==="i18nFormat"&&(this.modules.i18nFormat=i),i.type==="postProcessor"&&ls.addPostProcessor(i),i.type==="formatter"&&(this.modules.formatter=i),i.type==="3rdParty"&&this.modules.external.push(i),this}},{key:"setResolvedLanguage",value:function(i){if(!(!i||!this.languages)&&!(["cimode","dev"].indexOf(i)>-1))for(var o=0;o<this.languages.length;o++){var l=this.languages[o];if(!(["cimode","dev"].indexOf(l)>-1)&&this.store.hasLanguageSomeTranslations(l)){this.resolvedLanguage=l;break}}}},{key:"changeLanguage",value:function(i,o){var l=this;this.isLanguageChangingTo=i;var a=An();this.emit("languageChanging",i);var s=function(p){l.language=p,l.languages=l.services.languageUtils.toResolveHierarchy(p),l.resolvedLanguage=void 0,l.setResolvedLanguage(p)},u=function(p,g){g?(s(g),l.translator.changeLanguage(g),l.isLanguageChangingTo=void 0,l.emit("languageChanged",g),l.logger.log("languageChanged",g)):l.isLanguageChangingTo=void 0,a.resolve(function(){return l.t.apply(l,arguments)}),o&&o(p,function(){return l.t.apply(l,arguments)})},m=function(p){!i&&!p&&l.services.languageDetector&&(p=[]);var g=typeof p=="string"?p:l.services.languageUtils.getBestMatchFromCodes(p);g&&(l.language||s(g),l.translator.language||l.translator.changeLanguage(g),l.services.languageDetector&&l.services.languageDetector.cacheUserLanguage&&l.services.languageDetector.cacheUserLanguage(g)),l.loadResources(g,function(v){u(v,g)})};return!i&&this.services.languageDetector&&!this.services.languageDetector.async?m(this.services.languageDetector.detect()):!i&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(m):this.services.languageDetector.detect(m):m(i),a}},{key:"getFixedT",value:function(i,o,l){var a=this,s=function u(m,f){var p;if(tn.default(f)!=="object"){for(var g=arguments.length,v=new Array(g>2?g-2:0),w=2;w<g;w++)v[w-2]=arguments[w];p=a.options.overloadTranslationOptionHandler([m,f].concat(v))}else p=We({},f);p.lng=p.lng||u.lng,p.lngs=p.lngs||u.lngs,p.ns=p.ns||u.ns,p.keyPrefix=p.keyPrefix||l||u.keyPrefix;var x=a.options.keySeparator||".",d;return p.keyPrefix&&Array.isArray(m)?d=m.map(function(c){return"".concat(p.keyPrefix).concat(x).concat(c)}):d=p.keyPrefix?"".concat(p.keyPrefix).concat(x).concat(m):m,a.t(d,p)};return typeof i=="string"?s.lng=i:s.lngs=i,s.ns=o,s.keyPrefix=l,s}},{key:"t",value:function(){var i;return this.translator&&(i=this.translator).translate.apply(i,arguments)}},{key:"exists",value:function(){var i;return this.translator&&(i=this.translator).exists.apply(i,arguments)}},{key:"setDefaultNamespace",value:function(i){this.options.defaultNS=i}},{key:"hasLoadedNamespace",value:function(i){var o=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var a=l.lng||this.resolvedLanguage||this.languages[0],s=this.options?this.options.fallbackLng:!1,u=this.languages[this.languages.length-1];if(a.toLowerCase()==="cimode")return!0;var m=function(g,v){var w=o.services.backendConnector.state["".concat(g,"|").concat(v)];return w===-1||w===2};if(l.precheck){var f=l.precheck(this,m);if(f!==void 0)return f}return!!(this.hasResourceBundle(a,i)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||m(a,i)&&(!s||m(u,i)))}},{key:"loadNamespaces",value:function(i,o){var l=this,a=An();return this.options.ns?(typeof i=="string"&&(i=[i]),i.forEach(function(s){l.options.ns.indexOf(s)<0&&l.options.ns.push(s)}),this.loadResources(function(s){a.resolve(),o&&o(s)}),a):(o&&o(),Promise.resolve())}},{key:"loadLanguages",value:function(i,o){var l=An();typeof i=="string"&&(i=[i]);var a=this.options.preload||[],s=i.filter(function(u){return a.indexOf(u)<0});return s.length?(this.options.preload=a.concat(s),this.loadResources(function(u){l.resolve(),o&&o(u)}),l):(o&&o(),Promise.resolve())}},{key:"dir",value:function(i){if(i||(i=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!i)return"rtl";var o=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],l=this.services&&this.services.languageUtils||new cs(vs());return o.indexOf(l.getLanguagePartFromCode(i))>-1||i.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Mr,a=We(We(We({},this.options),o),{isClone:!0}),s=new n(a);(o.debug!==void 0||o.prefix!==void 0)&&(s.logger=s.logger.clone(o));var u=["store","services","language"];return u.forEach(function(m){s[m]=i[m]}),s.services=We({},this.services),s.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},s.translator=new us(s.services,s.options),s.translator.on("*",function(m){for(var f=arguments.length,p=new Array(f>1?f-1:0),g=1;g<f;g++)p[g-1]=arguments[g];s.emit.apply(s,[m].concat(p))}),s.init(a,l),s.translator.options=s.options,s.translator.backendConnector.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},s}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),n}(gt);ht.default(Ar,"createInstance",function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new Ar(e,t)});var ks=Ar.createInstance();ks.createInstance=Ar.createInstance;var Bp=ks;const Kp=Bp,Ss=["af","bg","ca","cs","da","de","en","eo","es","fi","fr","hr","hu","id","it","ko","mn","ms","nl","no","pl","pt","pt-BR","ro","ru","si","sl","sq","sr","sv","tr","uk","uz","vi","zh","zh-Hant"];io.exports=(e="en",t="portal")=>{const n=Kp.createInstance();return n.init({lng:e,nsSeparator:!1,keySeparator:!1,returnEmptyString:!1,fallbackLng:!1,ns:t,defaultNS:t,resources:Ss.reduce((r,i)=>(r[i]={[t]:Hd("/i18n/lib")(`../locales/${i}/${t}.json`)},r),{})}),n},io.exports.SUPPORTED_LOCALES=Ss;var Wp=io.exports,Qp=Wp;const Yp=Re(Qp),Jp=e=>U.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:24,width:24,viewBox:"0 0 24 24",...e},U.createElement("g",{strokeLinecap:"round",strokeWidth:2,fill:"currentColor",stroke:"none",strokeLinejoin:"round",className:"nc-icon-wrapper"},U.createElement("g",{className:"nc-loop-dots-4-24-icon-o"},U.createElement("circle",{cx:4,cy:12,r:3}),U.createElement("circle",{cx:12,cy:12,r:3}),U.createElement("circle",{cx:20,cy:12,r:3})),U.createElement("style",{"data-cap":"butt"},`
17
+ */var sf=M,af=Symbol.for("react.element"),uf=Symbol.for("react.fragment"),cf=Object.prototype.hasOwnProperty,ff=sf.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,df={key:!0,ref:!0,__self:!0,__source:!0};function ms(e,t,n){var r,i={},o=null,l=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(l=t.ref);for(r in t)cf.call(t,r)&&!df.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:af,type:e,key:o,ref:l,props:i,_owner:ff.current}}Ae.Fragment=uf,Ae.jsx=ms,Ae.jsxs=ms,Me.exports=Ae;var j=Me.exports;const pf={"Email sent":"","Now check your email!":"Kyk nou in jou e-pos!","Please enter a valid email address":"Vul 'n geldige e-posadres in","Something went wrong, please try again.":"Iets is fout, probeer asseblief weer.",Subscribe:"Teken in","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Om die registrasie te voltooi, kliek op die bevestigingskak in jou posbus. As dit nie binne 3 minute aankom nie, kyk in jou spam vouer!","Your email address":""},hf={"Email sent":"Имейлът е изпратен","Now check your email!":"Сега проверете имейла си","Please enter a valid email address":"Моля, въведете валиден имейл адрес","Something went wrong, please try again.":"Нещо се обърка. Моля, опитайте отново.",Subscribe:"Абонамент","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"За да завършите регистрацията, щракнете върху линка, който ще получите по имейл. Ако не получите такъв до 3 минути, проверете в спам папката!","Your email address":"Вашият имейл адрес"},mf={"Email sent":"Correu electrònic enviat","Now check your email!":"Ara comproveu el vostre correu electrònic!","Please enter a valid email address":"Siusplau, introdueixi una adreça de correu electrònic vàlida","Something went wrong, please try again.":"S'ha produït un error, torna-ho a provar.",Subscribe:"Subscriu-te","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Per completar el registre, feu clic a l'enllaç de confirmació de la vostra safata d'entrada. Si no arriba en 3 minuts, comproveu la vostra carpeta de correu brossa!","Your email address":"La teva adreça de correu electrònic"},gf={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},yf={"Email sent":"E-mail sendt","Now check your email!":"Tjek din indbakke!","Please enter a valid email address":"Indtast venligst en gyldig e-mailadresse","Something went wrong, please try again.":"Der gik noget galt. Prøv venligst igen.",Subscribe:"Tilmeld","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"For at gennemføre tilmelding, tryk på bekræftelseslinket i din indbakke. Hvis det ikke kommer frem indenfor 3 minutter, så tjek din spam mappe!","Your email address":"Din e-mailadresse"},vf={"Email sent":"E-Mail versendet","Now check your email!":"Überprüfe dein E-Mail Postfach!","Please enter a valid email address":"Bitte gebe eine gültige E-Mail-Adresse ein","Something went wrong, please try again.":"Etwas ist schief gelaufen. Bitte versuche es erneut.",Subscribe:"Abonnieren","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Um die Anmeldung abzuschließen, klicke auf den Bestätigungslink den wir an dein E-Mail Postfach gesendet haben. Wenn die E-Mail nicht innerhalb von 3 Minuten eintrifft, überprüfe deinen Spam-Ordner!","Your email address":"Deine E-Mail Adresse"},wf={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},kf={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},Sf={"Email sent":"","Now check your email!":"Ahora, ¡revisa tu email!","Please enter a valid email address":"Por favor, ingresa una dirección de email válida","Something went wrong, please try again.":"Algo salió mal, por favor intenta nuevamente.",Subscribe:"Suscribirse","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Para completar el registro, haz clic en el link en tu bandeja de entrada. Si no llega en los siguientes 3 minutos, ¡revisa tu carpeta de spam!","Your email address":""},xf={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},Ef={"Email sent":"E-mail envoyé","Now check your email!":"Maintenant, vérifiez votre boîte de réception !","Please enter a valid email address":"Veuillez renseigner une adresse e-mail valide","Something went wrong, please try again.":"Un problème est survenu, veuillez réessayer.",Subscribe:"S'abonner","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Pour terminer l'inscription, cliquez sur le lien de confirmation dans votre boîte de réception. S'il n'arrive pas dans les 3 minutes, vérifiez votre dossier de spam !","Your email address":"Votre adresse e-mail"},Cf={"Email sent":"","Now check your email!":"Provjeri svoj email","Please enter a valid email address":"Unesi valjanu email adresu","Something went wrong, please try again.":"Nešto je pošlo ukrivo, pokušaj ponovo",Subscribe:"Pretplati se","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Kako bi dovršio registraciju klikni na potvrdni link u svoj inbox. Ako email ne stigne za 3 minute, provjeri spam folder","Your email address":""},Nf={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},Pf={"Email sent":"Email terkirim","Now check your email!":"Sekarang periksa email Anda!","Please enter a valid email address":"Harap masukkan alamat email yang valid","Something went wrong, please try again.":"Ada kesalahan, harap coba lagi.",Subscribe:"Berlangganan","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Untuk menyelesaikan pendaftaran, klik tautan konfirmasi di kotak masuk Anda. Jika tidak diterima dalam waktu 3 menit, pastikan untuk memeriksa folder spam Anda!","Your email address":"Alamat email Anda"},Lf={"Email sent":"","Now check your email!":"Ora controlla la tua email!","Please enter a valid email address":"Inserisci un indirizzo email valido","Something went wrong, please try again.":"Qualcosa è andato storto, si prega di riprovare.",Subscribe:"Abbonati","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Per completare l'iscrizione, clicca il link di conferma inviato alla tua email. Se non lo ricevi entro 3 minuti, controlla nello spam!","Your email address":""},jf={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},Of={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},zf={"Email sent":"","Now check your email!":"Semak e-mel anda sekarang!","Please enter a valid email address":"Sila masukkan alamat e-mel yang sah","Something went wrong, please try again.":"Kesilapan telah berlaku, sila cuba lagi.",Subscribe:"Langgan","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Untuk melengkapkan pendaftaran, klik pautan pengesahan dalam peti masuk anda. Jika ia tidak sampai dalam masa 3 minit, semak folder spam anda!","Your email address":""},_f={"Email sent":"E-mail verzonden","Now check your email!":"Check nu je e-mail!","Please enter a valid email address":"Vul een geldig e-mailadres in","Something went wrong, please try again.":"Er ging iets mis, probeer het opnieuw.",Subscribe:"Inschrijven","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Om je inschrijving te voltooien, klik op de bevestigingslink in je inbox. Als het niet binnen 3 minuten aankomt, controleer dan je spamfolder!","Your email address":"Jouw e-mailadres"},Rf={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},Tf={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},$f={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},bf={"Email sent":"E-mail enviado","Now check your email!":"Agora verifique seu e-mail!","Please enter a valid email address":"Por favor, insira um endereço de e-mail válido","Something went wrong, please try again.":"Algo deu errado, por favor tente novamente.",Subscribe:"Inscrever-se","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Para completar o registro, clique no link de confirmação em sua caixa de entrada. Se não chegar dentro de 3 minutos, verifique sua pasta de spam!","Your email address":"Seu endereço de e-mail"},If={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},Ff={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},Df={"Email sent":"Email එකක් යවන ලදී","Now check your email!":"දැන් ඔබගේ email පරීක්ෂා කරන්න","Please enter a valid email address":"කරුණාකර නිවැරදි email ලිපිනයක් ඇතුලත් කරන්න","Something went wrong, please try again.":"සාර්ථක වූයේ නැත, කරුණාකර පසුව නැවතත් උත්සාහ කරන්න.",Subscribe:"Subscribe කරන්න","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Signup වීම සම්පූර්ණ කිරීම සඳහා, ඔබ‍ගේ inbox එකට ලැබුණු email එකෙහි ඇති confirmation link එක click කරන්න. එය මිනිත්තු 3ක් ඇතුලත නොපැමිණියේ නම්, spam folder එක පරීක්ෂා කරන්න!","Your email address":"ඔබගේ email ලිපිනය"},Mf={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},Af={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},Uf={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},Vf={"Email sent":"","Now check your email!":"Titta i din e-post nu!","Please enter a valid email address":"Skriv in en giltig e-postadress","Something went wrong, please try again.":"Något gick fel. Försök igen.",Subscribe:"Registrera","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"För att slutföra registreringen, klicka på bekräftelselänken vi skickat till din e-post. Om den inte kommer fram inom 3 minuter, kolla din skräppostmapp!","Your email address":""},Hf={"Email sent":"E-posta gönderildi","Now check your email!":"Şimdi e-postanı kontrol et!","Please enter a valid email address":"Lütfen geçerli bir e-posta adresi girin","Something went wrong, please try again.":"Bir şeyler ters gitti lütfen tekrar deneyin.",Subscribe:"Abone ol","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Kayıt olmayı tamamlamak için gelen kutunuzdaki onay bağlantısını tıklayın. 3 dakika içinde gelmezse spam klasörünüzü kontrol edin!","Your email address":"E-posta adresiniz"},Bf={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},Kf={"Email sent":"","Now check your email!":"","Please enter a valid email address":"","Something went wrong, please try again.":"",Subscribe:"","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"","Your email address":""},Wf={"Email sent":"Đã gửi email","Now check your email!":"Giờ hãy kiểm tra hộp thư của bạn!","Please enter a valid email address":"Vui lòng nhập địa chỉ email hợp lệ","Something went wrong, please try again.":"Xảy ra lỗi, vui lòng thử lại.",Subscribe:"Theo dõi","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"Để hoàn tất đăng ký, nhấn vào liên kết xác minh trong email. Sau 3 phút mà chưa thấy, hãy kiểm tra thư spam!","Your email address":"Địa chỉ email của bạn"},Qf={"Email sent":"邮件已发送","Now check your email!":"现在请检查您的电子邮箱!","Please enter a valid email address":"请输入有效的电子邮件地址","Something went wrong, please try again.":"遇到未知错误,请重试。",Subscribe:"订阅","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"请点击您收件箱中的确认链接以完成注册。如果3分钟后仍没有收到确认邮件,请检查垃圾邮件!","Your email address":"您的电子邮件地址"},Yf={"Email sent":"郵件已送出","Now check your email!":"請檢查你的 email 收件匣。","Please enter a valid email address":"請輸入正確的 email 地址","Something went wrong, please try again.":"發生錯誤,請再試一次",Subscribe:"訂閱","To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!":"請在 email 收件匣中找到註冊確認信件,點擊內文中的連結u 完成註冊。如果在三分鐘後仍未收到信件,請檢查你的垃圾郵件。","Your email address":"您的 email 地址"};var gs;function ys(){return gs||(gs={"/ghost/i18n/locales/af/signup-form.json":function(){return pf},"/ghost/i18n/locales/bg/signup-form.json":function(){return hf},"/ghost/i18n/locales/ca/signup-form.json":function(){return mf},"/ghost/i18n/locales/cs/signup-form.json":function(){return gf},"/ghost/i18n/locales/da/signup-form.json":function(){return yf},"/ghost/i18n/locales/de/signup-form.json":function(){return vf},"/ghost/i18n/locales/en/signup-form.json":function(){return wf},"/ghost/i18n/locales/eo/signup-form.json":function(){return kf},"/ghost/i18n/locales/es/signup-form.json":function(){return Sf},"/ghost/i18n/locales/fi/signup-form.json":function(){return xf},"/ghost/i18n/locales/fr/signup-form.json":function(){return Ef},"/ghost/i18n/locales/hr/signup-form.json":function(){return Cf},"/ghost/i18n/locales/hu/signup-form.json":function(){return Nf},"/ghost/i18n/locales/id/signup-form.json":function(){return Pf},"/ghost/i18n/locales/it/signup-form.json":function(){return Lf},"/ghost/i18n/locales/ko/signup-form.json":function(){return jf},"/ghost/i18n/locales/mn/signup-form.json":function(){return Of},"/ghost/i18n/locales/ms/signup-form.json":function(){return zf},"/ghost/i18n/locales/nl/signup-form.json":function(){return _f},"/ghost/i18n/locales/no/signup-form.json":function(){return Rf},"/ghost/i18n/locales/pl/signup-form.json":function(){return Tf},"/ghost/i18n/locales/pt/signup-form.json":function(){return $f},"/ghost/i18n/locales/pt-BR/signup-form.json":function(){return bf},"/ghost/i18n/locales/ro/signup-form.json":function(){return If},"/ghost/i18n/locales/ru/signup-form.json":function(){return Ff},"/ghost/i18n/locales/si/signup-form.json":function(){return Df},"/ghost/i18n/locales/sl/signup-form.json":function(){return Mf},"/ghost/i18n/locales/sq/signup-form.json":function(){return Af},"/ghost/i18n/locales/sr/signup-form.json":function(){return Uf},"/ghost/i18n/locales/sv/signup-form.json":function(){return Vf},"/ghost/i18n/locales/tr/signup-form.json":function(){return Hf},"/ghost/i18n/locales/uk/signup-form.json":function(){return Bf},"/ghost/i18n/locales/uz/signup-form.json":function(){return Kf},"/ghost/i18n/locales/vi/signup-form.json":function(){return Wf},"/ghost/i18n/locales/zh/signup-form.json":function(){return Qf},"/ghost/i18n/locales/zh-Hant/signup-form.json":function(){return Yf}})}function Jf(e){function t(n){var r=vs(n,e);if(r!==null)return ys()[r]();throw new Error('Could not dynamically require "'+n+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}return t.resolve=function(n){var r=vs(n,e);return r!==null?r:require.resolve(n)},t}function vs(e,t){var n=Gf(e);e=yr(e);var r;e[0]==="/"&&(t="");for(var i=ys(),o=["",".js",".json"];n?r=yr(t+"/node_modules/"+e):r=yr(t+"/"+e),!r.endsWith("/..");){for(var l=0;l<o.length;l++){var s=r+o[l];if(i[s])return s}if(!n)break;var a=yr(t+"/..");if(a===t)break;t=a}return null}function Gf(e){var t=e[0];if(t==="/"||t==="\\")return!1;var n=e[1],r=e[2];return!(t==="."&&(!n||n==="/"||n==="\\")||t==="."&&n==="."&&(!r||r==="/"||r==="\\")||n===":"&&(r==="/"||r==="\\"))}function yr(e){e=e.replace(/\\/g,"/");for(var t=e.split("/"),n=t[0]==="",r=1;r<t.length;r++)(t[r]==="."||t[r]==="")&&t.splice(r--,1);for(var r=1;r<t.length;r++)t[r]===".."&&r>0&&t[r-1]!==".."&&t[r-1]!=="."&&(t.splice(--r,2),r--);return e=t.join("/"),n&&e[0]!=="/"?e="/"+e:e.length===0&&(e="."),e}var Hi={exports:{}};const Xf={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class vr{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||Xf,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"log","",!0)}warn(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","",!0)}error(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"error","")}deprecate(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}forward(t,n,r,i){return i&&!this.debug?null:(typeof t[0]=="string"&&(t[0]=`${r}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new vr(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new vr(this.logger,t)}}var Ue=new vr;class wr{constructor(){this.observers={}}on(t,n){return t.split(" ").forEach(r=>{this.observers[r]=this.observers[r]||[],this.observers[r].push(n)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t]=this.observers[t].filter(r=>r!==n)}}emit(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];this.observers[t]&&[].concat(this.observers[t]).forEach(l=>{l(...r)}),this.observers["*"]&&[].concat(this.observers["*"]).forEach(l=>{l.apply(l,[t,...r])})}}function Cn(){let e,t;const n=new Promise((r,i)=>{e=r,t=i});return n.resolve=e,n.reject=t,n}function ws(e){return e==null?"":""+e}function Zf(e,t,n){e.forEach(r=>{t[r]&&(n[r]=t[r])})}function Bi(e,t,n){function r(l){return l&&l.indexOf("###")>-1?l.replace(/###/g,"."):l}function i(){return!e||typeof e=="string"}const o=typeof t!="string"?[].concat(t):t.split(".");for(;o.length>1;){if(i())return{};const l=r(o.shift());!e[l]&&n&&(e[l]=new n),Object.prototype.hasOwnProperty.call(e,l)?e=e[l]:e={}}return i()?{}:{obj:e,k:r(o.shift())}}function ks(e,t,n){const{obj:r,k:i}=Bi(e,t,Object);r[i]=n}function qf(e,t,n,r){const{obj:i,k:o}=Bi(e,t,Object);i[o]=i[o]||[],r&&(i[o]=i[o].concat(n)),r||i[o].push(n)}function kr(e,t){const{obj:n,k:r}=Bi(e,t);if(n)return n[r]}function ed(e,t,n){const r=kr(e,n);return r!==void 0?r:kr(t,n)}function Ss(e,t,n){for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):Ss(e[r],t[r],n):e[r]=t[r]);return e}function Ht(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var td={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function nd(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>td[t]):e}const rd=[" ",",","?","!",";"];function id(e,t,n){t=t||"",n=n||"";const r=rd.filter(l=>t.indexOf(l)<0&&n.indexOf(l)<0);if(r.length===0)return!0;const i=new RegExp(`(${r.map(l=>l==="?"?"\\?":l).join("|")})`);let o=!i.test(e);if(!o){const l=e.indexOf(n);l>0&&!i.test(e.substring(0,l))&&(o=!0)}return o}function Sr(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let i=e;for(let o=0;o<r.length;++o){if(!i||typeof i[r[o]]=="string"&&o+1<r.length)return;if(i[r[o]]===void 0){let l=2,s=r.slice(o,o+l).join(n),a=i[s];for(;a===void 0&&r.length>o+l;)l++,s=r.slice(o,o+l).join(n),a=i[s];if(a===void 0)return;if(a===null)return null;if(t.endsWith(s)){if(typeof a=="string")return a;if(s&&typeof a[s]=="string")return a[s]}const u=r.slice(o+l).join(n);return u?Sr(a,u,n):void 0}i=i[r[o]]}return i}function Ki(e){return e&&e.indexOf("_")>0?e.replace("_","-"):e}class od extends wr{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,l=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure;let s=[t,n];r&&typeof r!="string"&&(s=s.concat(r)),r&&typeof r=="string"&&(s=s.concat(o?r.split(o):r)),t.indexOf(".")>-1&&(s=t.split("."));const a=kr(this.data,s);return a||!l||typeof r!="string"?a:Sr(this.data&&this.data[t]&&this.data[t][n],r,o)}addResource(t,n,r,i){let o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const l=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator;let s=[t,n];r&&(s=s.concat(l?r.split(l):r)),t.indexOf(".")>-1&&(s=t.split("."),i=n,n=s[1]),this.addNamespaces(n),ks(this.data,s,i),o.silent||this.emit("added",t,n,r,i)}addResources(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const o in r)(typeof r[o]=="string"||Object.prototype.toString.apply(r[o])==="[object Array]")&&this.addResource(t,n,o,r[o],{silent:!0});i.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,i,o){let l=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},s=[t,n];t.indexOf(".")>-1&&(s=t.split("."),i=r,r=n,n=s[1]),this.addNamespaces(n);let a=kr(this.data,s)||{};i?Ss(a,r,o):a={...a,...r},ks(this.data,s,a),l.silent||this.emit("added",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}:this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(i=>n[i]&&Object.keys(n[i]).length>0)}toJSON(){return this.data}}var xs={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(o=>{this.processors[o]&&(t=this.processors[o].process(t,n,r,i))}),t}};const Es={};class xr extends wr{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),Zf(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Ue.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const r=this.resolve(t,n);return r&&r.res!==void 0}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const i=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let o=n.ns||this.options.defaultNS||[];const l=r&&t.indexOf(r)>-1,s=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!id(t,r,i);if(l&&!s){const a=t.match(this.interpolator.nestingRegexp);if(a&&a.length>0)return{key:t,namespaces:o};const u=t.split(r);(r!==i||r===i&&this.options.ns.indexOf(u[0])>-1)&&(o=u.shift()),t=u.join(i)}return typeof o=="string"&&(o=[o]),{key:t,namespaces:o}}translate(t,n,r){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const i=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,o=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:l,namespaces:s}=this.extractFromKey(t[t.length-1],n),a=s[s.length-1],u=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&u.toLowerCase()==="cimode"){if(d){const g=n.nsSeparator||this.options.nsSeparator;return i?{res:`${a}${g}${l}`,usedKey:l,exactUsedKey:l,usedLng:u,usedNS:a}:`${a}${g}${l}`}return i?{res:l,usedKey:l,exactUsedKey:l,usedLng:u,usedNS:a}:l}const h=this.resolve(t,n);let c=h&&h.res;const v=h&&h.usedKey||l,y=h&&h.exactUsedKey||l,k=Object.prototype.toString.apply(c),L=["[object Number]","[object Function]","[object RegExp]"],p=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,f=!this.i18nFormat||this.i18nFormat.handleAsObject;if(f&&c&&(typeof c!="string"&&typeof c!="boolean"&&typeof c!="number")&&L.indexOf(k)<0&&!(typeof p=="string"&&k==="[object Array]")){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const g=this.options.returnedObjectHandler?this.options.returnedObjectHandler(v,c,{...n,ns:s}):`key '${l} (${this.language})' returned an object instead of string.`;return i?(h.res=g,h):g}if(o){const g=k==="[object Array]",S=g?[]:{},C=g?y:v;for(const x in c)if(Object.prototype.hasOwnProperty.call(c,x)){const P=`${C}${o}${x}`;S[x]=this.translate(P,{...n,joinArrays:!1,ns:s}),S[x]===P&&(S[x]=c[x])}c=S}}else if(f&&typeof p=="string"&&k==="[object Array]")c=c.join(p),c&&(c=this.extendTranslation(c,t,n,r));else{let g=!1,S=!1;const C=n.count!==void 0&&typeof n.count!="string",x=xr.hasDefaultValue(n),P=C?this.pluralResolver.getSuffix(u,n.count,n):"",H=n.ordinal&&C?this.pluralResolver.getSuffix(u,n.count,{ordinal:!1}):"",z=n[`defaultValue${P}`]||n[`defaultValue${H}`]||n.defaultValue;!this.isValidLookup(c)&&x&&(g=!0,c=z),this.isValidLookup(c)||(S=!0,c=l);const Dt=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&S?void 0:c,De=x&&z!==c&&this.options.updateMissing;if(S||g||De){if(this.logger.log(De?"updateKey":"missingKey",u,a,l,De?z:c),o){const ne=this.resolve(l,{...n,keySeparator:!1});ne&&ne.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let Et=[];const Sn=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Sn&&Sn[0])for(let ne=0;ne<Sn.length;ne++)Et.push(Sn[ne]);else this.options.saveMissingTo==="all"?Et=this.languageUtils.toResolveHierarchy(n.lng||this.language):Et.push(n.lng||this.language);const xn=(ne,E,O)=>{const _=x&&O!==c?O:Dt;this.options.missingKeyHandler?this.options.missingKeyHandler(ne,a,E,_,De,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(ne,a,E,_,De,n),this.emit("missingKey",ne,a,E,c)};this.options.saveMissing&&(this.options.saveMissingPlurals&&C?Et.forEach(ne=>{this.pluralResolver.getSuffixes(ne,n).forEach(E=>{xn([ne],l+E,n[`defaultValue${E}`]||z)})}):xn(Et,l,z))}c=this.extendTranslation(c,t,n,h,r),S&&c===l&&this.options.appendNamespaceToMissingKey&&(c=`${a}:${l}`),(S||g)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?c=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${a}:${l}`:l,g?c:void 0):c=this.options.parseMissingKeyHandler(c))}return i?(h.res=c,h):c}extendTranslation(t,n,r,i,o){var l=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const u=typeof t=="string"&&(r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let d;if(u){const c=t.match(this.interpolator.nestingRegexp);d=c&&c.length}let h=r.replace&&typeof r.replace!="string"?r.replace:r;if(this.options.interpolation.defaultVariables&&(h={...this.options.interpolation.defaultVariables,...h}),t=this.interpolator.interpolate(t,h,r.lng||this.language,r),u){const c=t.match(this.interpolator.nestingRegexp),v=c&&c.length;d<v&&(r.nest=!1)}!r.lng&&this.options.compatibilityAPI!=="v1"&&i&&i.res&&(r.lng=i.usedLng),r.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var c=arguments.length,v=new Array(c),y=0;y<c;y++)v[y]=arguments[y];return o&&o[0]===v[0]&&!r.context?(l.logger.warn(`It seems you are nesting recursively key: ${v[0]} in key: ${n[0]}`),null):l.translate(...v,n)},r)),r.interpolation&&this.interpolator.reset()}const s=r.postProcess||this.options.postProcess,a=typeof s=="string"?[s]:s;return t!=null&&a&&a.length&&r.applyPostProcessor!==!1&&(t=xs.handle(a,t,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:i,...r}:r,this)),t}resolve(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,i,o,l,s;return typeof t=="string"&&(t=[t]),t.forEach(a=>{if(this.isValidLookup(r))return;const u=this.extractFromKey(a,n),d=u.key;i=d;let h=u.namespaces;this.options.fallbackNS&&(h=h.concat(this.options.fallbackNS));const c=n.count!==void 0&&typeof n.count!="string",v=c&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),y=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",k=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);h.forEach(L=>{this.isValidLookup(r)||(s=L,!Es[`${k[0]}-${L}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(s)&&(Es[`${k[0]}-${L}`]=!0,this.logger.warn(`key "${i}" for languages "${k.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),k.forEach(p=>{if(this.isValidLookup(r))return;l=p;const f=[d];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(f,d,p,L,n);else{let g;c&&(g=this.pluralResolver.getSuffix(p,n.count,n));const S=`${this.options.pluralSeparator}zero`,C=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(c&&(f.push(d+g),n.ordinal&&g.indexOf(C)===0&&f.push(d+g.replace(C,this.options.pluralSeparator)),v&&f.push(d+S)),y){const x=`${d}${this.options.contextSeparator}${n.context}`;f.push(x),c&&(f.push(x+g),n.ordinal&&g.indexOf(C)===0&&f.push(x+g.replace(C,this.options.pluralSeparator)),v&&f.push(x+S))}}let m;for(;m=f.pop();)this.isValidLookup(r)||(o=m,r=this.getResource(p,L,m,n))}))})}),{res:r,usedKey:i,exactUsedKey:o,usedLng:l,usedNS:s}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,n,r,i):this.resourceStore.getResource(t,n,r,i)}static hasDefaultValue(t){const n="defaultValue";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&n===r.substring(0,n.length)&&t[r]!==void 0)return!0;return!1}}function Wi(e){return e.charAt(0).toUpperCase()+e.slice(1)}class Cs{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Ue.create("languageUtils")}getScriptPartFromCode(t){if(t=Ki(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=Ki(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){const n=["hans","hant","latn","cyrl","cans","mong","arab"];let r=t.split("-");return this.options.lowerCaseLng?r=r.map(i=>i.toLowerCase()):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=Wi(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=Wi(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=Wi(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const i=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(i))&&(n=i)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const i=this.getLanguagePartFromCode(r);if(this.isSupportedCode(i))return n=i;n=this.options.supportedLngs.find(o=>{if(o===i)return o;if(!(o.indexOf("-")<0&&i.indexOf("-")<0)&&o.indexOf(i)===0)return o})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),typeof t=="string"&&(t=[t]),Object.prototype.toString.apply(t)==="[object Array]")return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],t),i=[],o=l=>{l&&(this.isSupportedCode(l)?i.push(l):this.logger.warn(`rejecting language code not found in supportedLngs: ${l}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&o(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&o(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&o(this.getLanguagePartFromCode(t))):typeof t=="string"&&o(this.formatLanguageCode(t)),r.forEach(l=>{i.indexOf(l)<0&&o(this.formatLanguageCode(l))}),i}}let ld=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],sd={1:function(e){return+(e>1)},2:function(e){return+(e!=1)},3:function(e){return 0},4:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},5:function(e){return e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},6:function(e){return e==1?0:e>=2&&e<=4?1:2},7:function(e){return e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},8:function(e){return e==1?0:e==2?1:e!=8&&e!=11?2:3},9:function(e){return+(e>=2)},10:function(e){return e==1?0:e==2?1:e<7?2:e<11?3:4},11:function(e){return e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3},12:function(e){return+(e%10!=1||e%100==11)},13:function(e){return+(e!==0)},14:function(e){return e==1?0:e==2?1:e==3?2:3},15:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2},16:function(e){return e%10==1&&e%100!=11?0:e!==0?1:2},17:function(e){return e==1||e%10==1&&e%100!=11?0:1},18:function(e){return e==0?0:e==1?1:2},19:function(e){return e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3},20:function(e){return e==1?0:e==0||e%100>0&&e%100<20?1:2},21:function(e){return e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0},22:function(e){return e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3}};const ad=["v1","v2","v3"],ud=["v4"],Ns={zero:0,one:1,two:2,few:3,many:4,other:5};function cd(){const e={};return ld.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:sd[t.fc]}})}),e}class fd{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=Ue.create("pluralResolver"),(!this.options.compatibilityJSON||ud.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=cd()}addRule(t,n){this.rules[t]=n}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(Ki(t),{type:n.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,r).map(i=>`${n}${i}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((i,o)=>Ns[i]-Ns[o]).map(i=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${i}`):r.numbers.map(i=>this.getSuffix(t,i,n)):[]}getSuffix(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const i=this.getRule(t,r);return i?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${i.select(n)}`:this.getSuffixRetroCompatible(i,n):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,n){const r=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let i=t.numbers[r];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(i===2?i="plural":i===1&&(i=""));const o=()=>this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString();return this.options.compatibilityJSON==="v1"?i===1?"":typeof i=="number"?`_plural_${i.toString()}`:o():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!ad.includes(this.options.compatibilityJSON)}}function Ps(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=ed(e,t,n);return!o&&i&&typeof n=="string"&&(o=Sr(e,n,r),o===void 0&&(o=Sr(t,n,r))),o}class dd{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Ue.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const n=t.interpolation;this.escape=n.escape!==void 0?n.escape:nd,this.escapeValue=n.escapeValue!==void 0?n.escapeValue:!0,this.useRawValueToEscape=n.useRawValueToEscape!==void 0?n.useRawValueToEscape:!1,this.prefix=n.prefix?Ht(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?Ht(n.suffix):n.suffixEscaped||"}}",this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||",",this.unescapePrefix=n.unescapeSuffix?"":n.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":n.unescapeSuffix||"",this.nestingPrefix=n.nestingPrefix?Ht(n.nestingPrefix):n.nestingPrefixEscaped||Ht("$t("),this.nestingSuffix=n.nestingSuffix?Ht(n.nestingSuffix):n.nestingSuffixEscaped||Ht(")"),this.nestingOptionsSeparator=n.nestingOptionsSeparator?n.nestingOptionsSeparator:n.nestingOptionsSeparator||",",this.maxReplaces=n.maxReplaces?n.maxReplaces:1e3,this.alwaysFormat=n.alwaysFormat!==void 0?n.alwaysFormat:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=`${this.prefix}(.+?)${this.suffix}`;this.regexp=new RegExp(t,"g");const n=`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`;this.regexpUnescape=new RegExp(n,"g");const r=`${this.nestingPrefix}(.+?)${this.nestingSuffix}`;this.nestingRegexp=new RegExp(r,"g")}interpolate(t,n,r,i){let o,l,s;const a=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(y){return y.replace(/\$/g,"$$$$")}const d=y=>{if(y.indexOf(this.formatSeparator)<0){const f=Ps(n,a,y,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(f,void 0,r,{...i,...n,interpolationkey:y}):f}const k=y.split(this.formatSeparator),L=k.shift().trim(),p=k.join(this.formatSeparator).trim();return this.format(Ps(n,a,L,this.options.keySeparator,this.options.ignoreJSONStructure),p,r,{...i,...n,interpolationkey:L})};this.resetRegExp();const h=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,c=i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:y=>u(y)},{regex:this.regexp,safeValue:y=>this.escapeValue?u(this.escape(y)):u(y)}].forEach(y=>{for(s=0;o=y.regex.exec(t);){const k=o[1].trim();if(l=d(k),l===void 0)if(typeof h=="function"){const p=h(t,o,i);l=typeof p=="string"?p:""}else if(i&&Object.prototype.hasOwnProperty.call(i,k))l="";else if(c){l=o[0];continue}else this.logger.warn(`missed to pass in variable ${k} for interpolating ${t}`),l="";else typeof l!="string"&&!this.useRawValueToEscape&&(l=ws(l));const L=y.safeValue(l);if(t=t.replace(o[0],L),c?(y.regex.lastIndex+=l.length,y.regex.lastIndex-=o[0].length):y.regex.lastIndex=0,s++,s>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,o,l;function s(a,u){const d=this.nestingOptionsSeparator;if(a.indexOf(d)<0)return a;const h=a.split(new RegExp(`${d}[ ]*{`));let c=`{${h[1]}`;a=h[0],c=this.interpolate(c,l);const v=c.match(/'/g),y=c.match(/"/g);(v&&v.length%2===0&&!y||y.length%2!==0)&&(c=c.replace(/'/g,'"'));try{l=JSON.parse(c),u&&(l={...u,...l})}catch(k){return this.logger.warn(`failed parsing options string in nesting for key ${a}`,k),`${a}${d}${c}`}return delete l.defaultValue,a}for(;i=this.nestingRegexp.exec(t);){let a=[];l={...r},l=l.replace&&typeof l.replace!="string"?l.replace:l,l.applyPostProcessor=!1,delete l.defaultValue;let u=!1;if(i[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(i[1])){const d=i[1].split(this.formatSeparator).map(h=>h.trim());i[1]=d.shift(),a=d,u=!0}if(o=n(s.call(this,i[1].trim(),l),l),o&&i[0]===t&&typeof o!="string")return o;typeof o!="string"&&(o=ws(o)),o||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${t}`),o=""),u&&(o=a.reduce((d,h)=>this.format(d,h,r.lng,{...r,interpolationkey:i[1].trim()}),o.trim())),t=t.replace(i[0],o),this.regexp.lastIndex=0}return t}}function pd(e){let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const i=r[1].substring(0,r[1].length-1);t==="currency"&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):t==="relativetime"&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach(l=>{if(!l)return;const[s,...a]=l.split(":"),u=a.join(":").trim().replace(/^'+|'+$/g,"");n[s.trim()]||(n[s.trim()]=u),u==="false"&&(n[s.trim()]=!1),u==="true"&&(n[s.trim()]=!0),isNaN(u)||(n[s.trim()]=parseInt(u,10))})}return{formatName:t,formatOptions:n}}function Bt(e){const t={};return function(r,i,o){const l=i+JSON.stringify(o);let s=t[l];return s||(s=e(i,o),t[l]=s),s(r)}}class hd{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Ue.create("formatter"),this.options=t,this.formats={number:Bt((n,r)=>{const i=new Intl.NumberFormat(n,{...r});return o=>i.format(o)}),currency:Bt((n,r)=>{const i=new Intl.NumberFormat(n,{...r,style:"currency"});return o=>i.format(o)}),datetime:Bt((n,r)=>{const i=new Intl.DateTimeFormat(n,{...r});return o=>i.format(o)}),relativetime:Bt((n,r)=>{const i=new Intl.RelativeTimeFormat(n,{...r});return o=>i.format(o,r.range||"day")}),list:Bt((n,r)=>{const i=new Intl.ListFormat(n,{...r});return o=>i.format(o)})},this.init(t)}init(t){const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=Bt(n)}format(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return n.split(this.formatSeparator).reduce((s,a)=>{const{formatName:u,formatOptions:d}=pd(a);if(this.formats[u]){let h=s;try{const c=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},v=c.locale||c.lng||i.locale||i.lng||r;h=this.formats[u](s,v,{...d,...i,...c})}catch(c){this.logger.warn(c)}return h}else this.logger.warn(`there was no format function for ${u}`);return s},t)}}function md(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}class gd extends wr{constructor(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=i,this.logger=Ue.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,i.backend,i)}queueLoad(t,n,r,i){const o={},l={},s={},a={};return t.forEach(u=>{let d=!0;n.forEach(h=>{const c=`${u}|${h}`;!r.reload&&this.store.hasResourceBundle(u,h)?this.state[c]=2:this.state[c]<0||(this.state[c]===1?l[c]===void 0&&(l[c]=!0):(this.state[c]=1,d=!1,l[c]===void 0&&(l[c]=!0),o[c]===void 0&&(o[c]=!0),a[h]===void 0&&(a[h]=!0)))}),d||(s[u]=!0)}),(Object.keys(o).length||Object.keys(l).length)&&this.queue.push({pending:l,pendingCount:Object.keys(l).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(o),pending:Object.keys(l),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(a)}}loaded(t,n,r){const i=t.split("|"),o=i[0],l=i[1];n&&this.emit("failedLoading",o,l,n),r&&this.store.addResourceBundle(o,l,r),this.state[t]=n?-1:2;const s={};this.queue.forEach(a=>{qf(a.loaded,[o],l),md(a,t),n&&a.errors.push(n),a.pendingCount===0&&!a.done&&(Object.keys(a.loaded).forEach(u=>{s[u]||(s[u]={});const d=a.loaded[u];d.length&&d.forEach(h=>{s[u][h]===void 0&&(s[u][h]=!0)})}),a.done=!0,a.errors.length?a.callback(a.errors):a.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(a=>!a.done)}read(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,l=arguments.length>5?arguments[5]:void 0;if(!t.length)return l(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:i,wait:o,callback:l});return}this.readingCalls++;const s=(u,d)=>{if(this.readingCalls--,this.waitingReads.length>0){const h=this.waitingReads.shift();this.read(h.lng,h.ns,h.fcName,h.tried,h.wait,h.callback)}if(u&&d&&i<this.maxRetries){setTimeout(()=>{this.read.call(this,t,n,r,i+1,o*2,l)},o);return}l(u,d)},a=this.backend[r].bind(this.backend);if(a.length===2){try{const u=a(t,n);u&&typeof u.then=="function"?u.then(d=>s(null,d)).catch(s):s(null,u)}catch(u){s(u)}return}return a(t,n,s)}prepareLoading(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof n=="string"&&(n=[n]);const o=this.queueLoad(t,n,r,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach(l=>{this.loadOne(l)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=t.split("|"),i=r[0],o=r[1];this.read(i,o,"read",void 0,void 0,(l,s)=>{l&&this.logger.warn(`${n}loading namespace ${o} for language ${i} failed`,l),!l&&s&&this.logger.log(`${n}loaded namespace ${o} for language ${i}`,s),this.loaded(t,l,s)})}saveMissing(t,n,r,i,o){let l=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if(this.backend&&this.backend.create){const a={...l,isUpdate:o},u=this.backend.create.bind(this.backend);if(u.length<6)try{let d;u.length===5?d=u(t,n,r,i,a):d=u(t,n,r,i),d&&typeof d.then=="function"?d.then(h=>s(null,h)).catch(s):s(null,d)}catch(d){s(d)}else u(t,n,r,i,s,a)}!t||!t[0]||this.store.addResource(t[0],n,r,i)}}}function Ls(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){let n={};if(typeof t[1]=="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),typeof t[2]=="object"||typeof t[3]=="object"){const r=t[3]||t[2];Object.keys(r).forEach(i=>{n[i]=r[i]})}return n},interpolation:{escapeValue:!0,format:(e,t,n,r)=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function js(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Er(){}function yd(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})}const bi=class extends wr{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=js(t),this.services={},this.logger=Ue,this.modules={external:[]},yd(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;typeof n=="function"&&(r=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(typeof n.ns=="string"?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const i=Ls();this.options={...i,...this.options,...js(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...i.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);function o(d){return d?typeof d=="function"?new d:d:null}if(!this.options.isClone){this.modules.logger?Ue.init(o(this.modules.logger),this.options):Ue.init(null,this.options);let d;this.modules.formatter?d=this.modules.formatter:typeof Intl<"u"&&(d=hd);const h=new Cs(this.options);this.store=new od(this.options.resources,this.options);const c=this.services;c.logger=Ue,c.resourceStore=this.store,c.languageUtils=h,c.pluralResolver=new fd(h,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),d&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(c.formatter=o(d),c.formatter.init(c,this.options),this.options.interpolation.format=c.formatter.format.bind(c.formatter)),c.interpolator=new dd(this.options),c.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},c.backendConnector=new gd(o(this.modules.backend),c.resourceStore,c,this.options),c.backendConnector.on("*",function(v){for(var y=arguments.length,k=new Array(y>1?y-1:0),L=1;L<y;L++)k[L-1]=arguments[L];t.emit(v,...k)}),this.modules.languageDetector&&(c.languageDetector=o(this.modules.languageDetector),c.languageDetector.init&&c.languageDetector.init(c,this.options.detection,this.options)),this.modules.i18nFormat&&(c.i18nFormat=o(this.modules.i18nFormat),c.i18nFormat.init&&c.i18nFormat.init(this)),this.translator=new xr(this.services,this.options),this.translator.on("*",function(v){for(var y=arguments.length,k=new Array(y>1?y-1:0),L=1;L<y;L++)k[L-1]=arguments[L];t.emit(v,...k)}),this.modules.external.forEach(v=>{v.init&&v.init(this)})}if(this.format=this.options.interpolation.format,r||(r=Er),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.length>0&&d[0]!=="dev"&&(this.options.lng=d[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(d=>{this[d]=function(){return t.store[d](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(d=>{this[d]=function(){return t.store[d](...arguments),t}});const a=Cn(),u=()=>{const d=(h,c)=>{this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),a.resolve(c),r(h,c)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return d(null,this.t.bind(this));this.changeLanguage(this.options.lng,d)};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),a}loadResources(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Er;const i=typeof t=="string"?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(i&&i.toLowerCase()==="cimode")return r();const o=[],l=s=>{if(!s)return;this.services.languageUtils.toResolveHierarchy(s).forEach(u=>{o.indexOf(u)<0&&o.push(u)})};i?l(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(a=>l(a)),this.options.preload&&this.options.preload.forEach(s=>l(s)),this.services.backendConnector.load(o,this.options.ns,s=>{!s&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(s)})}else r(null)}reloadResources(t,n,r){const i=Cn();return t||(t=this.languages),n||(n=this.options.ns),r||(r=Er),this.services.backendConnector.reload(t,n,o=>{i.resolve(),r(o)}),i}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&xs.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n<this.languages.length;n++){const r=this.languages[n];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,n){var r=this;this.isLanguageChangingTo=t;const i=Cn();this.emit("languageChanging",t);const o=a=>{this.language=a,this.languages=this.services.languageUtils.toResolveHierarchy(a),this.resolvedLanguage=void 0,this.setResolvedLanguage(a)},l=(a,u)=>{u?(o(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,i.resolve(function(){return r.t(...arguments)}),n&&n(a,function(){return r.t(...arguments)})},s=a=>{!t&&!a&&this.services.languageDetector&&(a=[]);const u=typeof a=="string"?a:this.services.languageUtils.getBestMatchFromCodes(a);u&&(this.language||o(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(u)),this.loadResources(u,d=>{l(d,u)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?s(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(t),i}getFixedT(t,n,r){var i=this;const o=function(l,s){let a;if(typeof s!="object"){for(var u=arguments.length,d=new Array(u>2?u-2:0),h=2;h<u;h++)d[h-2]=arguments[h];a=i.options.overloadTranslationOptionHandler([l,s].concat(d))}else a={...s};a.lng=a.lng||o.lng,a.lngs=a.lngs||o.lngs,a.ns=a.ns||o.ns,a.keyPrefix=a.keyPrefix||r||o.keyPrefix;const c=i.options.keySeparator||".";let v;return a.keyPrefix&&Array.isArray(l)?v=l.map(y=>`${a.keyPrefix}${c}${y}`):v=a.keyPrefix?`${a.keyPrefix}${c}${l}`:l,i.t(v,a)};return typeof t=="string"?o.lng=t:o.lngs=t,o.ns=n,o.keyPrefix=r,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],i=this.options?this.options.fallbackLng:!1,o=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const l=(s,a)=>{const u=this.services.backendConnector.state[`${s}|${a}`];return u===-1||u===2};if(n.precheck){const s=n.precheck(this,l);if(s!==void 0)return s}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||l(r,t)&&(!i||l(o,t)))}loadNamespaces(t,n){const r=Cn();return this.options.ns?(typeof t=="string"&&(t=[t]),t.forEach(i=>{this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}),this.loadResources(i=>{r.resolve(),n&&n(i)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=Cn();typeof t=="string"&&(t=[t]);const i=this.options.preload||[],o=t.filter(l=>i.indexOf(l)<0);return o.length?(this.options.preload=i.concat(o),this.loadResources(l=>{r.resolve(),n&&n(l)}),r):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=this.services&&this.services.languageUtils||new Cs(Ls());return n.indexOf(r.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Er;const r={...this.options,...t,isClone:!0},i=new bi(r);return(t.debug!==void 0||t.prefix!==void 0)&&(i.logger=i.logger.clone(t)),["store","services","language"].forEach(l=>{i[l]=this[l]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i.translator=new xr(i.services,i.options),i.translator.on("*",function(l){for(var s=arguments.length,a=new Array(s>1?s-1:0),u=1;u<s;u++)a[u-1]=arguments[u];i.emit(l,...a)}),i.init(r,n),i.translator.options=i.options,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}};let Nn=bi;Ut(Nn,"createInstance",function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new bi(t,n)});const Os=Nn.createInstance();Os.createInstance=Nn.createInstance;var vd=Os;const wd=vd,zs=["af","bg","ca","cs","da","de","en","eo","es","fi","fr","hr","hu","id","it","ko","mn","ms","nl","no","pl","pt","pt-BR","ro","ru","si","sl","sq","sr","sv","tr","uk","uz","vi","zh","zh-Hant"];Hi.exports=(e="en",t="portal")=>{const n=wd.createInstance();return n.init({lng:e,nsSeparator:!1,keySeparator:!1,returnEmptyString:!1,fallbackLng:!1,ns:t,defaultNS:t,resources:zs.reduce((r,i)=>(r[i]={[t]:Jf("/ghost/i18n/lib")(`../locales/${i}/${t}.json`)},r),{})}),n},Hi.exports.SUPPORTED_LOCALES=zs;var kd=Hi.exports,Sd=kd;const xd=ze(Sd),Ed=e=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:24,width:24,viewBox:"0 0 24 24","aria-busy":"true","aria-live":"polite",...e},M.createElement("g",{strokeLinecap:"round",strokeWidth:2,fill:"currentColor",stroke:"none",strokeLinejoin:"round",className:"nc-icon-wrapper"},M.createElement("g",{className:"nc-loop-dots-4-24-icon-o"},M.createElement("circle",{cx:4,cy:12,r:3}),M.createElement("circle",{cx:12,cy:12,r:3}),M.createElement("circle",{cx:20,cy:12,r:3})),M.createElement("style",{"data-cap":"butt"},`
19
18
  .nc-loop-dots-4-24-icon-o{--animation-duration:0.8s}
20
19
  .nc-loop-dots-4-24-icon-o *{opacity:.4;transform:scale(.75);animation:nc-loop-dots-4-anim var(--animation-duration) infinite}
21
20
  .nc-loop-dots-4-24-icon-o :nth-child(1){transform-origin:4px 12px;animation-delay:-.3s;animation-delay:calc(var(--animation-duration)/-2.666)}
22
21
  .nc-loop-dots-4-24-icon-o :nth-child(2){transform-origin:12px 12px;animation-delay:-.15s;animation-delay:calc(var(--animation-duration)/-5.333)}
23
22
  .nc-loop-dots-4-24-icon-o :nth-child(3){transform-origin:20px 12px}
24
23
  @keyframes nc-loop-dots-4-anim{0%,100%{opacity:.4;transform:scale(.75)}50%{opacity:1;transform:scale(1)}}
25
- `))),xs=Ce.createContext({}),Gp=xs.Provider,on=()=>U.useContext(xs),Xp=({isMinimal:e,title:t,description:n,icon:r,backgroundColor:i,textColor:o,error:l,...a})=>e?N.jsxs(N.Fragment,{children:[N.jsx(Es,{error:l,isMinimal:e,...a}),l&&N.jsx("p",{className:"text-red-500","data-testid":"error-message",children:l})]}):N.jsxs("div",{className:"flex h-[100vh] flex-col items-center justify-center px-4 sm:px-6 md:px-10","data-testid":"wrapper",style:{backgroundColor:i,color:o},children:[r&&N.jsx("img",{alt:t,className:"mb-2 h-[64px] w-auto",src:r}),t&&N.jsx("h1",{className:"text-center text-lg font-bold sm:text-xl md:text-2xl lg:text-3xl",children:t}),n&&N.jsx("p",{className:"mb-4 text-center font-medium md:mb-5",children:n}),N.jsxs("div",{className:"relative w-full max-w-[440px]",children:[N.jsx(Es,{error:l,...a}),N.jsx("p",{className:`h-5 w-full text-left text-red-500 ${l?"visible":"invisible"}`,"data-testid":"error-message",children:l})]})]}),Es=({isMinimal:e,loading:t,success:n,error:r,buttonColor:i,buttonTextColor:o,onSubmit:l})=>{const[a,s]=Ce.useState(""),{t:u}=on(),m=f=>{f.preventDefault(),l({email:a})};return N.jsx(N.Fragment,{children:N.jsxs("form",{className:`relative flex w-full rounded-[.5rem] border bg-white p-[3px] text-grey-900 transition hover:border-grey-400 focus-visible:border-grey-500 ${r?"!border-red-500":"border-grey-300"}`,onSubmit:m,children:[N.jsx("input",{className:"w-full px-2 py-1 focus-visible:outline-none disabled:bg-white xs:p-2","data-testid":"input",disabled:t||n,placeholder:u("Your email address"),type:"text",value:a,onChange:f=>s(f.target.value)}),N.jsxs("button",{className:"my-auto grid h-7 touch-manipulation grid-cols-[1fr] items-center rounded-[.3rem] px-2 font-medium text-white xs:h-[3rem] xs:px-3","data-testid":"button",disabled:t||n,style:{backgroundColor:i,color:o},type:"submit",children:[N.jsx("span",{className:`whitespace-no-wrap col-start-1 row-start-1 transition-opacity duration-200 ${t||n?"opacity-0":"opacity-1"}`,children:u("Subscribe")}),e&&N.jsx("span",{className:`whitespace-no-wrap col-start-1 row-start-1 [transition:margin_300ms,opacity_200ms] ${t||!n?"mx-[-40px] opacity-0":"opacity-1 mx-0"}`,children:u("Email sent")}),N.jsx("span",{className:`inset-0 col-start-1 row-start-1 flex items-center justify-center transition-opacity duration-200 ${t?"opacity-1":"opacity-0"}`,children:N.jsx(Jp,{})})]})]})})};function Ps(e){return!e.title}function Zp(){const e="ghost-history";try{const t=localStorage.getItem(e);if(t){const n=JSON.parse(t);if(Array.isArray(n))return n}}catch(t){console.warn("[Signup-Form] Failed to load member URL history:",t)}}function qp({siteUrl:e}){try{if(window.location.host===new URL(e).host){const i=Zp();if(i)return i}}catch(i){console.warn("[Signup-Form] Failed to load member URL history:",i)}const t=[],n=window.location.protocol+"//"+window.location.host+window.location.pathname,r=new Date().getTime();return t.push({time:r,referrerSource:window.location.host,referrerMedium:"Embed",referrerUrl:n}),t}const em=e=>!!e&&/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(String(e).toLowerCase()),tm=()=>{const[e,t]=Ce.useState(""),[n,r]=Ce.useState(!1),[i,o]=Ce.useState(!1),{api:l,setPage:a,options:s,t:u}=on(),m=Ps(s),f=async({email:p})=>{if(!em(p)){t(u("Please enter a valid email address"));return}t(""),r(!0);try{await l.sendMagicLink({email:p,labels:s.labels}),m?(o(!0),r(!1)):a("SuccessPage",{email:p})}catch{r(!1),t(u("Something went wrong, please try again."))}};return N.jsx(Xp,{backgroundColor:s.backgroundColor,buttonColor:s.buttonColor,buttonTextColor:s.buttonTextColor,description:s.description,error:e,icon:s.icon,isMinimal:m,loading:n,success:i,textColor:s.textColor,title:s.title,onSubmit:f})},nm=e=>U.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e},U.createElement("defs",null,U.createElement("style",null,".a{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1px;}")),U.createElement("rect",{className:"a",x:.75,y:4.5,width:22.5,height:15,rx:1.5,ry:1.5}),U.createElement("line",{className:"a",x1:15.687,y1:9.975,x2:19.5,y2:13.5}),U.createElement("line",{className:"a",x1:8.313,y1:9.975,x2:4.5,y2:13.5}),U.createElement("path",{className:"a",d:"M22.88,5.014l-9.513,6.56a2.406,2.406,0,0,1-2.734,0L1.12,5.014"})),rm=({backgroundColor:e,textColor:t})=>{const{t:n}=on();return N.jsxs("div",{className:"flex h-[100vh] flex-col items-center justify-center bg-grey-200 px-4 sm:px-6 md:px-10","data-testid":"success-page",style:{backgroundColor:e,color:t},children:[N.jsx(nm,{className:"my-3 w-8"}),N.jsx("h1",{className:"text-center text-lg font-bold sm:text-xl md:text-2xl lg:text-3xl",children:n("Now check your email!")}),N.jsx("p",{className:"mb-4 max-w-[600px] text-center sm:mb-[4.1rem]",children:n("To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!")})]})},im={FormPage:tm,SuccessPage:({email:e})=>{const{options:t}=on();return N.jsx(rm,{backgroundColor:t.backgroundColor,email:e,textColor:t.textColor})}},om=({children:e})=>N.jsx("section",{children:e});var Cs={exports:{}},ve={},_s={exports:{}},Os={};/**
24
+ `))),_s=xe.createContext({}),Cd=_s.Provider,Kt=()=>M.useContext(_s),Nd=({isMinimal:e,title:t,description:n,icon:r,backgroundColor:i,textColor:o,error:l,...s})=>e?j.jsxs(j.Fragment,{children:[j.jsx(Rs,{error:l,isMinimal:e,...s}),l&&j.jsx("p",{className:"text-red-500","data-testid":"error-message",children:l})]}):j.jsxs("div",{className:"flex h-[100vh] flex-col items-center justify-center px-4 sm:px-6 md:px-10","data-testid":"wrapper",style:{backgroundColor:i,color:o},children:[r&&j.jsx("img",{alt:t,className:"mb-2 h-[64px] w-auto",src:r}),t&&j.jsx("h1",{className:"text-center text-lg font-bold sm:text-xl md:text-2xl lg:text-3xl",children:t}),n&&j.jsx("p",{className:"mb-4 text-center font-medium md:mb-5",children:n}),j.jsxs("div",{className:"relative w-full max-w-[440px]",children:[j.jsx(Rs,{error:l,...s}),j.jsx("p",{className:`h-5 w-full text-left text-red-500 ${l?"visible":"invisible"}`,"data-testid":"error-message",children:l})]})]}),Rs=({isMinimal:e,loading:t,success:n,error:r,buttonColor:i,buttonTextColor:o,onSubmit:l})=>{const[s,a]=xe.useState(""),{t:u}=Kt(),d=h=>{h.preventDefault(),l({email:s})};return j.jsx(j.Fragment,{children:j.jsxs("form",{className:`relative flex w-full rounded-[.5rem] border bg-white p-[3px] text-grey-900 transition hover:border-grey-400 focus-visible:border-grey-500 ${r?"!border-red-500":"border-grey-300"}`,onSubmit:d,children:[j.jsx("input",{className:"w-full px-2 py-1 focus-visible:outline-none disabled:bg-white xs:p-2","data-testid":"input",disabled:t||n,placeholder:u("Your email address"),type:"text",value:s,onChange:h=>a(h.target.value)}),j.jsxs("button",{className:"my-auto grid h-7 touch-manipulation grid-cols-[1fr] items-center rounded-[.3rem] px-2 font-medium text-white xs:h-[3rem] xs:px-3","data-testid":"button",disabled:t||n,style:{backgroundColor:i,color:o},type:"submit",children:[j.jsx("span",{className:`col-start-1 row-start-1 whitespace-nowrap ${t||n?"[opacity_200ms,visibility_200ms_step-end] invisible opacity-0":"opacity-1 [opacity_200ms,visibility_200ms_step-start] visible"}`,children:u("Subscribe")}),e&&j.jsx("span",{className:`col-start-1 row-start-1 whitespace-nowrap ${t||!n?"invisible mx-[-40px] opacity-0 [transition:margin_300ms,opacity_200ms,visibility_200ms_step-end]":"opacity-1 visible mx-0 [transition:margin_300ms,opacity_200ms,visibility_200ms_step-start]"}`,children:u("Email sent")}),j.jsx("span",{className:`inset-0 col-start-1 row-start-1 flex items-center justify-center transition-opacity duration-200 ${t?"opacity-1 [opacity_200ms,visibility_200ms_step-start] visible":"[opacity_200ms,visibility_200ms_step-end] invisible opacity-0"}`,children:j.jsx(Ed,{})})]})]})})};function Ts(e){return!e.title}function Pd(){const e="ghost-history";try{const t=localStorage.getItem(e);if(t){const n=JSON.parse(t);if(Array.isArray(n))return n}}catch(t){console.warn("[Signup-Form] Failed to load member URL history:",t)}}function Ld({siteUrl:e}){try{if(window.location.host===new URL(e).host){const i=Pd();if(i)return i}}catch(i){console.warn("[Signup-Form] Failed to load member URL history:",i)}const t=[],n=window.location.protocol+"//"+window.location.host+window.location.pathname,r=new Date().getTime();return t.push({time:r,referrerSource:window.location.host,referrerMedium:"Embed",referrerUrl:n}),t}const jd=e=>!!e&&/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(String(e).toLowerCase()),Od=()=>{const[e,t]=xe.useState(""),[n,r]=xe.useState(!1),[i,o]=xe.useState(!1),{api:l,setPage:s,options:a,t:u}=Kt(),d=Ts(a),h=async({email:c})=>{if(!jd(c)){t(u("Please enter a valid email address"));return}t(""),r(!0);try{await l.sendMagicLink({email:c,labels:a.labels}),d?(o(!0),r(!1)):s("SuccessPage",{email:c})}catch{r(!1),t(u("Something went wrong, please try again."))}};return j.jsx(Nd,{backgroundColor:a.backgroundColor,buttonColor:a.buttonColor,buttonTextColor:a.buttonTextColor,description:a.description,error:e,icon:a.icon,isMinimal:d,loading:n,success:i,textColor:a.textColor,title:a.title,onSubmit:h})},zd=e=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e},M.createElement("defs",null,M.createElement("style",null,".a{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1px;}")),M.createElement("rect",{className:"a",x:.75,y:4.5,width:22.5,height:15,rx:1.5,ry:1.5}),M.createElement("line",{className:"a",x1:15.687,y1:9.975,x2:19.5,y2:13.5}),M.createElement("line",{className:"a",x1:8.313,y1:9.975,x2:4.5,y2:13.5}),M.createElement("path",{className:"a",d:"M22.88,5.014l-9.513,6.56a2.406,2.406,0,0,1-2.734,0L1.12,5.014"})),_d=({backgroundColor:e,textColor:t})=>{const{t:n}=Kt();return j.jsxs("div",{className:"flex h-[100vh] flex-col items-center justify-center bg-grey-200 px-4 sm:px-6 md:px-10","data-testid":"success-page",style:{backgroundColor:e,color:t},children:[j.jsx(zd,{className:"my-3 w-8"}),j.jsx("h1",{className:"text-center text-lg font-bold sm:text-xl md:text-2xl lg:text-3xl",children:n("Now check your email!")}),j.jsx("p",{className:"mb-4 max-w-[600px] text-center sm:mb-[4.1rem]",children:n("To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!")})]})},Rd={FormPage:Od,SuccessPage:({email:e})=>{const{options:t}=Kt();return j.jsx(_d,{backgroundColor:t.backgroundColor,email:e,textColor:t.textColor})}},Td=({children:e})=>j.jsx("section",{children:e});var $s={exports:{}},ge={},bs={exports:{}},Is={};/**
26
25
  * @license React
27
26
  * scheduler.production.min.js
28
27
  *
@@ -30,7 +29,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
30
29
  *
31
30
  * This source code is licensed under the MIT license found in the
32
31
  * LICENSE file in the root directory of this source tree.
33
- */(function(e){function t(P,j){var b=P.length;P.push(j);e:for(;0<b;){var F=b-1>>>1,Y=P[F];if(0<i(Y,j))P[F]=j,P[b]=Y,b=F;else break e}}function n(P){return P.length===0?null:P[0]}function r(P){if(P.length===0)return null;var j=P[0],b=P.pop();if(b!==j){P[0]=b;e:for(var F=0,Y=P.length,zn=Y>>>1;F<zn;){var Ee=2*(F+1)-1,In=P[Ee],Pe=Ee+1,pt=P[Pe];if(0>i(In,b))Pe<Y&&0>i(pt,In)?(P[F]=pt,P[Pe]=b,F=Pe):(P[F]=In,P[Ee]=b,F=Ee);else if(Pe<Y&&0>i(pt,b))P[F]=pt,P[Pe]=b,F=Pe;else break e}}return j}function i(P,j){var b=P.sortIndex-j.sortIndex;return b!==0?b:P.id-j.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,a=l.now();e.unstable_now=function(){return l.now()-a}}var s=[],u=[],m=1,f=null,p=3,g=!1,v=!1,w=!1,x=typeof setTimeout=="function"?setTimeout:null,d=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function h(P){for(var j=n(u);j!==null;){if(j.callback===null)r(u);else if(j.startTime<=P)r(u),j.sortIndex=j.expirationTime,t(s,j);else break;j=n(u)}}function y(P){if(w=!1,h(P),!v)if(n(s)!==null)v=!0,Dt(S);else{var j=n(u);j!==null&&dt(y,j.startTime-P)}}function S(P,j){v=!1,w&&(w=!1,d(O),O=-1),g=!0;var b=p;try{for(h(j),f=n(s);f!==null&&(!(f.expirationTime>j)||P&&!ge());){var F=f.callback;if(typeof F=="function"){f.callback=null,p=f.priorityLevel;var Y=F(f.expirationTime<=j);j=e.unstable_now(),typeof Y=="function"?f.callback=Y:f===n(s)&&r(s),h(j)}else r(s);f=n(s)}if(f!==null)var zn=!0;else{var Ee=n(u);Ee!==null&&dt(y,Ee.startTime-j),zn=!1}return zn}finally{f=null,p=b,g=!1}}var E=!1,_=null,O=-1,I=5,L=-1;function ge(){return!(e.unstable_now()-L<I)}function Ze(){if(_!==null){var P=e.unstable_now();L=P;var j=!0;try{j=_(!0,P)}finally{j?qt():(E=!1,_=null)}}else E=!1}var qt;if(typeof c=="function")qt=function(){c(Ze)};else if(typeof MessageChannel<"u"){var ft=new MessageChannel,Zi=ft.port2;ft.port1.onmessage=Ze,qt=function(){Zi.postMessage(null)}}else qt=function(){x(Ze,0)};function Dt(P){_=P,E||(E=!0,qt())}function dt(P,j){O=x(function(){P(e.unstable_now())},j)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(P){P.callback=null},e.unstable_continueExecution=function(){v||g||(v=!0,Dt(S))},e.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<P?Math.floor(1e3/P):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(P){switch(p){case 1:case 2:case 3:var j=3;break;default:j=p}var b=p;p=j;try{return P()}finally{p=b}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(P,j){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var b=p;p=P;try{return j()}finally{p=b}},e.unstable_scheduleCallback=function(P,j,b){var F=e.unstable_now();switch(typeof b=="object"&&b!==null?(b=b.delay,b=typeof b=="number"&&0<b?F+b:F):b=F,P){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=b+Y,P={id:m++,callback:j,priorityLevel:P,startTime:b,expirationTime:Y,sortIndex:-1},b>F?(P.sortIndex=b,t(u,P),n(s)===null&&P===n(u)&&(w?(d(O),O=-1):w=!0,dt(y,b-F))):(P.sortIndex=Y,t(s,P),v||g||(v=!0,Dt(S))),P},e.unstable_shouldYield=ge,e.unstable_wrapCallback=function(P){var j=p;return function(){var b=p;p=j;try{return P.apply(this,arguments)}finally{p=b}}}})(Os),_s.exports=Os;var lm=_s.exports;/**
32
+ */(function(e){function t(E,O){var _=E.length;E.push(O);e:for(;0<_;){var W=_-1>>>1,Z=E[W];if(0<i(Z,O))E[W]=O,E[_]=Z,_=W;else break e}}function n(E){return E.length===0?null:E[0]}function r(E){if(E.length===0)return null;var O=E[0],_=E.pop();if(_!==O){E[0]=_;e:for(var W=0,Z=E.length,Ii=Z>>>1;W<Ii;){var Mt=2*(W+1)-1,rs=E[Mt],At=Mt+1,Fi=E[At];if(0>i(rs,_))At<Z&&0>i(Fi,rs)?(E[W]=Fi,E[At]=_,W=At):(E[W]=rs,E[Mt]=_,W=Mt);else if(At<Z&&0>i(Fi,_))E[W]=Fi,E[At]=_,W=At;else break e}}return O}function i(E,O){var _=E.sortIndex-O.sortIndex;return _!==0?_:E.id-O.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,s=l.now();e.unstable_now=function(){return l.now()-s}}var a=[],u=[],d=1,h=null,c=3,v=!1,y=!1,k=!1,L=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,f=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(E){for(var O=n(u);O!==null;){if(O.callback===null)r(u);else if(O.startTime<=E)r(u),O.sortIndex=O.expirationTime,t(a,O);else break;O=n(u)}}function g(E){if(k=!1,m(E),!y)if(n(a)!==null)y=!0,xn(S);else{var O=n(u);O!==null&&ne(g,O.startTime-E)}}function S(E,O){y=!1,k&&(k=!1,p(P),P=-1),v=!0;var _=c;try{for(m(O),h=n(a);h!==null&&(!(h.expirationTime>O)||E&&!Oe());){var W=h.callback;if(typeof W=="function"){h.callback=null,c=h.priorityLevel;var Z=W(h.expirationTime<=O);O=e.unstable_now(),typeof Z=="function"?h.callback=Z:h===n(a)&&r(a),m(O)}else r(a);h=n(a)}if(h!==null)var Ii=!0;else{var Mt=n(u);Mt!==null&&ne(g,Mt.startTime-O),Ii=!1}return Ii}finally{h=null,c=_,v=!1}}var C=!1,x=null,P=-1,H=5,z=-1;function Oe(){return!(e.unstable_now()-z<H)}function Dt(){if(x!==null){var E=e.unstable_now();z=E;var O=!0;try{O=x(!0,E)}finally{O?De():(C=!1,x=null)}}else C=!1}var De;if(typeof f=="function")De=function(){f(Dt)};else if(typeof MessageChannel<"u"){var Et=new MessageChannel,Sn=Et.port2;Et.port1.onmessage=Dt,De=function(){Sn.postMessage(null)}}else De=function(){L(Dt,0)};function xn(E){x=E,C||(C=!0,De())}function ne(E,O){P=L(function(){E(e.unstable_now())},O)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(E){E.callback=null},e.unstable_continueExecution=function(){y||v||(y=!0,xn(S))},e.unstable_forceFrameRate=function(E){0>E||125<E?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):H=0<E?Math.floor(1e3/E):5},e.unstable_getCurrentPriorityLevel=function(){return c},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(E){switch(c){case 1:case 2:case 3:var O=3;break;default:O=c}var _=c;c=O;try{return E()}finally{c=_}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(E,O){switch(E){case 1:case 2:case 3:case 4:case 5:break;default:E=3}var _=c;c=E;try{return O()}finally{c=_}},e.unstable_scheduleCallback=function(E,O,_){var W=e.unstable_now();switch(typeof _=="object"&&_!==null?(_=_.delay,_=typeof _=="number"&&0<_?W+_:W):_=W,E){case 1:var Z=-1;break;case 2:Z=250;break;case 5:Z=1073741823;break;case 4:Z=1e4;break;default:Z=5e3}return Z=_+Z,E={id:d++,callback:O,priorityLevel:E,startTime:_,expirationTime:Z,sortIndex:-1},_>W?(E.sortIndex=_,t(u,E),n(a)===null&&E===n(u)&&(k?(p(P),P=-1):k=!0,ne(g,_-W))):(E.sortIndex=Z,t(a,E),y||v||(y=!0,xn(S))),E},e.unstable_shouldYield=Oe,e.unstable_wrapCallback=function(E){var O=c;return function(){var _=c;c=O;try{return E.apply(this,arguments)}finally{c=_}}}})(Is),bs.exports=Is;var $d=bs.exports;/**
34
33
  * @license React
35
34
  * react-dom.production.min.js
36
35
  *
@@ -38,13 +37,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
38
37
  *
39
38
  * This source code is licensed under the MIT license found in the
40
39
  * LICENSE file in the root directory of this source tree.
41
- */var Ns=U,ye=lm;function k(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var js=new Set,Un={};function Mt(e,t){ln(e,t),ln(e+"Capture",t)}function ln(e,t){for(Un[e]=t,e=0;e<t.length;e++)js.add(t[e])}var tt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ao=Object.prototype.hasOwnProperty,am=/^[: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]*$/,Ls={},bs={};function sm(e){return ao.call(bs,e)?!0:ao.call(Ls,e)?!1:am.test(e)?bs[e]=!0:(Ls[e]=!0,!1)}function um(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function cm(e,t,n,r){if(t===null||typeof t>"u"||um(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function se(e,t,n,r,i,o,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var q={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){q[e]=new se(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];q[t]=new se(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){q[e]=new se(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){q[e]=new se(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){q[e]=new se(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){q[e]=new se(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){q[e]=new se(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){q[e]=new se(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){q[e]=new se(e,5,!1,e.toLowerCase(),null,!1,!1)});var so=/[\-:]([a-z])/g;function uo(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(so,uo);q[t]=new se(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(so,uo);q[t]=new se(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(so,uo);q[t]=new se(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){q[e]=new se(e,1,!1,e.toLowerCase(),null,!1,!1)}),q.xlinkHref=new se("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){q[e]=new se(e,1,!1,e.toLowerCase(),null,!0,!0)});function co(e,t,n,r){var i=q.hasOwnProperty(t)?q[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(cm(t,n,i,r)&&(n=null),r||i===null?sm(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var nt=Ns.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ur=Symbol.for("react.element"),an=Symbol.for("react.portal"),sn=Symbol.for("react.fragment"),fo=Symbol.for("react.strict_mode"),po=Symbol.for("react.profiler"),Rs=Symbol.for("react.provider"),Ts=Symbol.for("react.context"),mo=Symbol.for("react.forward_ref"),ho=Symbol.for("react.suspense"),go=Symbol.for("react.suspense_list"),vo=Symbol.for("react.memo"),vt=Symbol.for("react.lazy"),zs=Symbol.for("react.offscreen"),Is=Symbol.iterator;function Vn(e){return e===null||typeof e!="object"?null:(e=Is&&e[Is]||e["@@iterator"],typeof e=="function"?e:null)}var V=Object.assign,yo;function Hn(e){if(yo===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);yo=t&&t[1]||""}return`
42
- `+yo+e}var wo=!1;function ko(e,t){if(!e||wo)return"";wo=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
40
+ */var Fs=M,ye=$d;function w(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Ds=new Set,Pn={};function Ct(e,t){Wt(e,t),Wt(e+"Capture",t)}function Wt(e,t){for(Pn[e]=t,e=0;e<t.length;e++)Ds.add(t[e])}var Qe=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Qi=Object.prototype.hasOwnProperty,bd=/^[: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]*$/,Ms={},As={};function Id(e){return Qi.call(As,e)?!0:Qi.call(Ms,e)?!1:bd.test(e)?As[e]=!0:(Ms[e]=!0,!1)}function Fd(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Dd(e,t,n,r){if(t===null||typeof t>"u"||Fd(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ae(e,t,n,r,i,o,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var q={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){q[e]=new ae(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];q[t]=new ae(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){q[e]=new ae(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){q[e]=new ae(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){q[e]=new ae(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){q[e]=new ae(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){q[e]=new ae(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){q[e]=new ae(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){q[e]=new ae(e,5,!1,e.toLowerCase(),null,!1,!1)});var Yi=/[\-:]([a-z])/g;function Ji(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Yi,Ji);q[t]=new ae(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Yi,Ji);q[t]=new ae(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Yi,Ji);q[t]=new ae(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){q[e]=new ae(e,1,!1,e.toLowerCase(),null,!1,!1)}),q.xlinkHref=new ae("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){q[e]=new ae(e,1,!1,e.toLowerCase(),null,!0,!0)});function Gi(e,t,n,r){var i=q.hasOwnProperty(t)?q[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Dd(t,n,i,r)&&(n=null),r||i===null?Id(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Ye=Fs.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Cr=Symbol.for("react.element"),Qt=Symbol.for("react.portal"),Yt=Symbol.for("react.fragment"),Xi=Symbol.for("react.strict_mode"),Zi=Symbol.for("react.profiler"),Us=Symbol.for("react.provider"),Vs=Symbol.for("react.context"),qi=Symbol.for("react.forward_ref"),eo=Symbol.for("react.suspense"),to=Symbol.for("react.suspense_list"),no=Symbol.for("react.memo"),rt=Symbol.for("react.lazy"),Hs=Symbol.for("react.offscreen"),Bs=Symbol.iterator;function Ln(e){return e===null||typeof e!="object"?null:(e=Bs&&e[Bs]||e["@@iterator"],typeof e=="function"?e:null)}var A=Object.assign,ro;function jn(e){if(ro===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);ro=t&&t[1]||""}return`
41
+ `+ro+e}var io=!1;function oo(e,t){if(!e||io)return"";io=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
43
42
  `),o=r.stack.split(`
44
- `),l=i.length-1,a=o.length-1;1<=l&&0<=a&&i[l]!==o[a];)a--;for(;1<=l&&0<=a;l--,a--)if(i[l]!==o[a]){if(l!==1||a!==1)do if(l--,a--,0>a||i[l]!==o[a]){var s=`
45
- `+i[l].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=l&&0<=a);break}}}finally{wo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Hn(e):""}function fm(e){switch(e.tag){case 5:return Hn(e.type);case 16:return Hn("Lazy");case 13:return Hn("Suspense");case 19:return Hn("SuspenseList");case 0:case 2:case 15:return e=ko(e.type,!1),e;case 11:return e=ko(e.type.render,!1),e;case 1:return e=ko(e.type,!0),e;default:return""}}function So(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case sn:return"Fragment";case an:return"Portal";case po:return"Profiler";case fo:return"StrictMode";case ho:return"Suspense";case go:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ts:return(e.displayName||"Context")+".Consumer";case Rs:return(e._context.displayName||"Context")+".Provider";case mo:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case vo:return t=e.displayName||null,t!==null?t:So(e.type)||"Memo";case vt:t=e._payload,e=e._init;try{return So(e(t))}catch{}}return null}function dm(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return So(t);case 8:return t===fo?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function yt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Fs(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function pm(e){var t=Fs(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(l){r=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Vr(e){e._valueTracker||(e._valueTracker=pm(e))}function Ds(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Fs(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Hr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function xo(e,t){var n=t.checked;return V({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function $s(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=yt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Ms(e,t){t=t.checked,t!=null&&co(e,"checked",t,!1)}function Eo(e,t){Ms(e,t);var n=yt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Po(e,t.type,n):t.hasOwnProperty("defaultValue")&&Po(e,t.type,yt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function As(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Po(e,t,n){(t!=="number"||Hr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Bn=Array.isArray;function un(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+yt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Co(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(k(91));return V({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Us(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(k(92));if(Bn(n)){if(1<n.length)throw Error(k(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:yt(n)}}function Vs(e,t){var n=yt(t.value),r=yt(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Hs(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Bs(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function _o(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Bs(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Br,Ks=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Br=Br||document.createElement("div"),Br.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Br.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Kn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Wn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},mm=["Webkit","ms","Moz","O"];Object.keys(Wn).forEach(function(e){mm.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Wn[t]=Wn[e]})});function Ws(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Wn.hasOwnProperty(e)&&Wn[e]?(""+t).trim():t+"px"}function Qs(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Ws(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var hm=V({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Oo(e,t){if(t){if(hm[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(k(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(k(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(k(61))}if(t.style!=null&&typeof t.style!="object")throw Error(k(62))}}function No(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var jo=null;function Lo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var bo=null,cn=null,fn=null;function Ys(e){if(e=mr(e)){if(typeof bo!="function")throw Error(k(280));var t=e.stateNode;t&&(t=pi(t),bo(e.stateNode,e.type,t))}}function Js(e){cn?fn?fn.push(e):fn=[e]:cn=e}function Gs(){if(cn){var e=cn,t=fn;if(fn=cn=null,Ys(e),t)for(e=0;e<t.length;e++)Ys(t[e])}}function Xs(e,t){return e(t)}function Zs(){}var Ro=!1;function qs(e,t,n){if(Ro)return e(t,n);Ro=!0;try{return Xs(e,t,n)}finally{Ro=!1,(cn!==null||fn!==null)&&(Zs(),Gs())}}function Qn(e,t){var n=e.stateNode;if(n===null)return null;var r=pi(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(k(231,t,typeof n));return n}var To=!1;if(tt)try{var Yn={};Object.defineProperty(Yn,"passive",{get:function(){To=!0}}),window.addEventListener("test",Yn,Yn),window.removeEventListener("test",Yn,Yn)}catch{To=!1}function gm(e,t,n,r,i,o,l,a,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(m){this.onError(m)}}var Jn=!1,Kr=null,Wr=!1,zo=null,vm={onError:function(e){Jn=!0,Kr=e}};function ym(e,t,n,r,i,o,l,a,s){Jn=!1,Kr=null,gm.apply(vm,arguments)}function wm(e,t,n,r,i,o,l,a,s){if(ym.apply(this,arguments),Jn){if(Jn){var u=Kr;Jn=!1,Kr=null}else throw Error(k(198));Wr||(Wr=!0,zo=u)}}function At(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function eu(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function tu(e){if(At(e)!==e)throw Error(k(188))}function km(e){var t=e.alternate;if(!t){if(t=At(e),t===null)throw Error(k(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return tu(i),e;if(o===r)return tu(i),t;o=o.sibling}throw Error(k(188))}if(n.return!==r.return)n=i,r=o;else{for(var l=!1,a=i.child;a;){if(a===n){l=!0,n=i,r=o;break}if(a===r){l=!0,r=i,n=o;break}a=a.sibling}if(!l){for(a=o.child;a;){if(a===n){l=!0,n=o,r=i;break}if(a===r){l=!0,r=o,n=i;break}a=a.sibling}if(!l)throw Error(k(189))}}if(n.alternate!==r)throw Error(k(190))}if(n.tag!==3)throw Error(k(188));return n.stateNode.current===n?e:t}function nu(e){return e=km(e),e!==null?ru(e):null}function ru(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=ru(e);if(t!==null)return t;e=e.sibling}return null}var iu=ye.unstable_scheduleCallback,ou=ye.unstable_cancelCallback,Sm=ye.unstable_shouldYield,xm=ye.unstable_requestPaint,W=ye.unstable_now,Em=ye.unstable_getCurrentPriorityLevel,Io=ye.unstable_ImmediatePriority,lu=ye.unstable_UserBlockingPriority,Qr=ye.unstable_NormalPriority,Pm=ye.unstable_LowPriority,au=ye.unstable_IdlePriority,Yr=null,Qe=null;function Cm(e){if(Qe&&typeof Qe.onCommitFiberRoot=="function")try{Qe.onCommitFiberRoot(Yr,e,void 0,(e.current.flags&128)===128)}catch{}}var ze=Math.clz32?Math.clz32:Nm,_m=Math.log,Om=Math.LN2;function Nm(e){return e>>>=0,e===0?32:31-(_m(e)/Om|0)|0}var Jr=64,Gr=4194304;function Gn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Xr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,l=n&268435455;if(l!==0){var a=l&~i;a!==0?r=Gn(a):(o&=l,o!==0&&(r=Gn(o)))}else l=n&~i,l!==0?r=Gn(l):o!==0&&(r=Gn(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-ze(t),i=1<<n,r|=e[n],t&=~i;return r}function jm(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Lm(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var l=31-ze(o),a=1<<l,s=i[l];s===-1?(!(a&n)||a&r)&&(i[l]=jm(a,t)):s<=t&&(e.expiredLanes|=a),o&=~a}}function Fo(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function su(){var e=Jr;return Jr<<=1,!(Jr&4194240)&&(Jr=64),e}function Do(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Xn(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ze(t),e[t]=n}function bm(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-ze(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function $o(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ze(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var z=0;function uu(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var cu,Mo,fu,du,pu,Ao=!1,Zr=[],wt=null,kt=null,St=null,Zn=new Map,qn=new Map,xt=[],Rm="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function mu(e,t){switch(e){case"focusin":case"focusout":wt=null;break;case"dragenter":case"dragleave":kt=null;break;case"mouseover":case"mouseout":St=null;break;case"pointerover":case"pointerout":Zn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":qn.delete(t.pointerId)}}function er(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=mr(t),t!==null&&Mo(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Tm(e,t,n,r,i){switch(t){case"focusin":return wt=er(wt,e,t,n,r,i),!0;case"dragenter":return kt=er(kt,e,t,n,r,i),!0;case"mouseover":return St=er(St,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Zn.set(o,er(Zn.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,qn.set(o,er(qn.get(o)||null,e,t,n,r,i)),!0}return!1}function hu(e){var t=Ut(e.target);if(t!==null){var n=At(t);if(n!==null){if(t=n.tag,t===13){if(t=eu(n),t!==null){e.blockedOn=t,pu(e.priority,function(){fu(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function qr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Vo(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);jo=r,n.target.dispatchEvent(r),jo=null}else return t=mr(n),t!==null&&Mo(t),e.blockedOn=n,!1;t.shift()}return!0}function gu(e,t,n){qr(e)&&n.delete(t)}function zm(){Ao=!1,wt!==null&&qr(wt)&&(wt=null),kt!==null&&qr(kt)&&(kt=null),St!==null&&qr(St)&&(St=null),Zn.forEach(gu),qn.forEach(gu)}function tr(e,t){e.blockedOn===t&&(e.blockedOn=null,Ao||(Ao=!0,ye.unstable_scheduleCallback(ye.unstable_NormalPriority,zm)))}function nr(e){function t(i){return tr(i,e)}if(0<Zr.length){tr(Zr[0],e);for(var n=1;n<Zr.length;n++){var r=Zr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(wt!==null&&tr(wt,e),kt!==null&&tr(kt,e),St!==null&&tr(St,e),Zn.forEach(t),qn.forEach(t),n=0;n<xt.length;n++)r=xt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<xt.length&&(n=xt[0],n.blockedOn===null);)hu(n),n.blockedOn===null&&xt.shift()}var dn=nt.ReactCurrentBatchConfig,ei=!0;function Im(e,t,n,r){var i=z,o=dn.transition;dn.transition=null;try{z=1,Uo(e,t,n,r)}finally{z=i,dn.transition=o}}function Fm(e,t,n,r){var i=z,o=dn.transition;dn.transition=null;try{z=4,Uo(e,t,n,r)}finally{z=i,dn.transition=o}}function Uo(e,t,n,r){if(ei){var i=Vo(e,t,n,r);if(i===null)ol(e,t,r,ti,n),mu(e,r);else if(Tm(i,e,t,n,r))r.stopPropagation();else if(mu(e,r),t&4&&-1<Rm.indexOf(e)){for(;i!==null;){var o=mr(i);if(o!==null&&cu(o),o=Vo(e,t,n,r),o===null&&ol(e,t,r,ti,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else ol(e,t,r,null,n)}}var ti=null;function Vo(e,t,n,r){if(ti=null,e=Lo(r),e=Ut(e),e!==null)if(t=At(e),t===null)e=null;else if(n=t.tag,n===13){if(e=eu(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return ti=e,null}function vu(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Em()){case Io:return 1;case lu:return 4;case Qr:case Pm:return 16;case au:return 536870912;default:return 16}default:return 16}}var Et=null,Ho=null,ni=null;function yu(){if(ni)return ni;var e,t=Ho,n=t.length,r,i="value"in Et?Et.value:Et.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var l=n-e;for(r=1;r<=l&&t[n-r]===i[o-r];r++);return ni=i.slice(e,1<r?1-r:void 0)}function ri(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ii(){return!0}function wu(){return!1}function we(e){function t(n,r,i,o,l){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=l,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(o):o[a]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?ii:wu,this.isPropagationStopped=wu,this}return V(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=ii)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ii)},persist:function(){},isPersistent:ii}),t}var pn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Bo=we(pn),rr=V({},pn,{view:0,detail:0}),Dm=we(rr),Ko,Wo,ir,oi=V({},rr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Yo,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ir&&(ir&&e.type==="mousemove"?(Ko=e.screenX-ir.screenX,Wo=e.screenY-ir.screenY):Wo=Ko=0,ir=e),Ko)},movementY:function(e){return"movementY"in e?e.movementY:Wo}}),ku=we(oi),$m=V({},oi,{dataTransfer:0}),Mm=we($m),Am=V({},rr,{relatedTarget:0}),Qo=we(Am),Um=V({},pn,{animationName:0,elapsedTime:0,pseudoElement:0}),Vm=we(Um),Hm=V({},pn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Bm=we(Hm),Km=V({},pn,{data:0}),Su=we(Km),Wm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Qm={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"},Ym={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Jm(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Ym[e])?!!t[e]:!1}function Yo(){return Jm}var Gm=V({},rr,{key:function(e){if(e.key){var t=Wm[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ri(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Qm[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Yo,charCode:function(e){return e.type==="keypress"?ri(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ri(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Xm=we(Gm),Zm=V({},oi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),xu=we(Zm),qm=V({},rr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Yo}),eh=we(qm),th=V({},pn,{propertyName:0,elapsedTime:0,pseudoElement:0}),nh=we(th),rh=V({},oi,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),ih=we(rh),oh=[9,13,27,32],Jo=tt&&"CompositionEvent"in window,or=null;tt&&"documentMode"in document&&(or=document.documentMode);var lh=tt&&"TextEvent"in window&&!or,Eu=tt&&(!Jo||or&&8<or&&11>=or),Pu=String.fromCharCode(32),Cu=!1;function _u(e,t){switch(e){case"keyup":return oh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ou(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var mn=!1;function ah(e,t){switch(e){case"compositionend":return Ou(t);case"keypress":return t.which!==32?null:(Cu=!0,Pu);case"textInput":return e=t.data,e===Pu&&Cu?null:e;default:return null}}function sh(e,t){if(mn)return e==="compositionend"||!Jo&&_u(e,t)?(e=yu(),ni=Ho=Et=null,mn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Eu&&t.locale!=="ko"?null:t.data;default:return null}}var uh={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 Nu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!uh[e.type]:t==="textarea"}function ju(e,t,n,r){Js(r),t=ci(t,"onChange"),0<t.length&&(n=new Bo("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var lr=null,ar=null;function ch(e){Qu(e,0)}function li(e){var t=wn(e);if(Ds(t))return e}function fh(e,t){if(e==="change")return t}var Lu=!1;if(tt){var Go;if(tt){var Xo="oninput"in document;if(!Xo){var bu=document.createElement("div");bu.setAttribute("oninput","return;"),Xo=typeof bu.oninput=="function"}Go=Xo}else Go=!1;Lu=Go&&(!document.documentMode||9<document.documentMode)}function Ru(){lr&&(lr.detachEvent("onpropertychange",Tu),ar=lr=null)}function Tu(e){if(e.propertyName==="value"&&li(ar)){var t=[];ju(t,ar,e,Lo(e)),qs(ch,t)}}function dh(e,t,n){e==="focusin"?(Ru(),lr=t,ar=n,lr.attachEvent("onpropertychange",Tu)):e==="focusout"&&Ru()}function ph(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return li(ar)}function mh(e,t){if(e==="click")return li(t)}function hh(e,t){if(e==="input"||e==="change")return li(t)}function gh(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ie=typeof Object.is=="function"?Object.is:gh;function sr(e,t){if(Ie(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!ao.call(t,i)||!Ie(e[i],t[i]))return!1}return!0}function zu(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Iu(e,t){var n=zu(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=zu(n)}}function Fu(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Fu(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Du(){for(var e=window,t=Hr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Hr(e.document)}return t}function Zo(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function vh(e){var t=Du(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Fu(n.ownerDocument.documentElement,n)){if(r!==null&&Zo(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Iu(n,o);var l=Iu(n,r);i&&l&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var yh=tt&&"documentMode"in document&&11>=document.documentMode,hn=null,qo=null,ur=null,el=!1;function $u(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;el||hn==null||hn!==Hr(r)||(r=hn,"selectionStart"in r&&Zo(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ur&&sr(ur,r)||(ur=r,r=ci(qo,"onSelect"),0<r.length&&(t=new Bo("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=hn)))}function ai(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var gn={animationend:ai("Animation","AnimationEnd"),animationiteration:ai("Animation","AnimationIteration"),animationstart:ai("Animation","AnimationStart"),transitionend:ai("Transition","TransitionEnd")},tl={},Mu={};tt&&(Mu=document.createElement("div").style,"AnimationEvent"in window||(delete gn.animationend.animation,delete gn.animationiteration.animation,delete gn.animationstart.animation),"TransitionEvent"in window||delete gn.transitionend.transition);function si(e){if(tl[e])return tl[e];if(!gn[e])return e;var t=gn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Mu)return tl[e]=t[n];return e}var Au=si("animationend"),Uu=si("animationiteration"),Vu=si("animationstart"),Hu=si("transitionend"),Bu=new Map,Ku="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Pt(e,t){Bu.set(e,t),Mt(t,[e])}for(var nl=0;nl<Ku.length;nl++){var rl=Ku[nl],wh=rl.toLowerCase(),kh=rl[0].toUpperCase()+rl.slice(1);Pt(wh,"on"+kh)}Pt(Au,"onAnimationEnd"),Pt(Uu,"onAnimationIteration"),Pt(Vu,"onAnimationStart"),Pt("dblclick","onDoubleClick"),Pt("focusin","onFocus"),Pt("focusout","onBlur"),Pt(Hu,"onTransitionEnd"),ln("onMouseEnter",["mouseout","mouseover"]),ln("onMouseLeave",["mouseout","mouseover"]),ln("onPointerEnter",["pointerout","pointerover"]),ln("onPointerLeave",["pointerout","pointerover"]),Mt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Mt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Mt("onBeforeInput",["compositionend","keypress","textInput","paste"]),Mt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Mt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Mt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var cr="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(" "),Sh=new Set("cancel close invalid load scroll toggle".split(" ").concat(cr));function Wu(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,wm(r,t,void 0,e),e.currentTarget=null}function Qu(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var l=r.length-1;0<=l;l--){var a=r[l],s=a.instance,u=a.currentTarget;if(a=a.listener,s!==o&&i.isPropagationStopped())break e;Wu(i,a,u),o=s}else for(l=0;l<r.length;l++){if(a=r[l],s=a.instance,u=a.currentTarget,a=a.listener,s!==o&&i.isPropagationStopped())break e;Wu(i,a,u),o=s}}}if(Wr)throw e=zo,Wr=!1,zo=null,e}function $(e,t){var n=t[fl];n===void 0&&(n=t[fl]=new Set);var r=e+"__bubble";n.has(r)||(Yu(t,e,2,!1),n.add(r))}function il(e,t,n){var r=0;t&&(r|=4),Yu(n,e,r,t)}var ui="_reactListening"+Math.random().toString(36).slice(2);function fr(e){if(!e[ui]){e[ui]=!0,js.forEach(function(n){n!=="selectionchange"&&(Sh.has(n)||il(n,!1,e),il(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ui]||(t[ui]=!0,il("selectionchange",!1,t))}}function Yu(e,t,n,r){switch(vu(t)){case 1:var i=Im;break;case 4:i=Fm;break;default:i=Uo}n=i.bind(null,t,n,e),i=void 0,!To||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function ol(e,t,n,r,i){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var l=r.tag;if(l===3||l===4){var a=r.stateNode.containerInfo;if(a===i||a.nodeType===8&&a.parentNode===i)break;if(l===4)for(l=r.return;l!==null;){var s=l.tag;if((s===3||s===4)&&(s=l.stateNode.containerInfo,s===i||s.nodeType===8&&s.parentNode===i))return;l=l.return}for(;a!==null;){if(l=Ut(a),l===null)return;if(s=l.tag,s===5||s===6){r=o=l;continue e}a=a.parentNode}}r=r.return}qs(function(){var u=o,m=Lo(n),f=[];e:{var p=Bu.get(e);if(p!==void 0){var g=Bo,v=e;switch(e){case"keypress":if(ri(n)===0)break e;case"keydown":case"keyup":g=Xm;break;case"focusin":v="focus",g=Qo;break;case"focusout":v="blur",g=Qo;break;case"beforeblur":case"afterblur":g=Qo;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=ku;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=Mm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=eh;break;case Au:case Uu:case Vu:g=Vm;break;case Hu:g=nh;break;case"scroll":g=Dm;break;case"wheel":g=ih;break;case"copy":case"cut":case"paste":g=Bm;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=xu}var w=(t&4)!==0,x=!w&&e==="scroll",d=w?p!==null?p+"Capture":null:p;w=[];for(var c=u,h;c!==null;){h=c;var y=h.stateNode;if(h.tag===5&&y!==null&&(h=y,d!==null&&(y=Qn(c,d),y!=null&&w.push(dr(c,y,h)))),x)break;c=c.return}0<w.length&&(p=new g(p,v,null,n,m),f.push({event:p,listeners:w}))}}if(!(t&7)){e:{if(p=e==="mouseover"||e==="pointerover",g=e==="mouseout"||e==="pointerout",p&&n!==jo&&(v=n.relatedTarget||n.fromElement)&&(Ut(v)||v[rt]))break e;if((g||p)&&(p=m.window===m?m:(p=m.ownerDocument)?p.defaultView||p.parentWindow:window,g?(v=n.relatedTarget||n.toElement,g=u,v=v?Ut(v):null,v!==null&&(x=At(v),v!==x||v.tag!==5&&v.tag!==6)&&(v=null)):(g=null,v=u),g!==v)){if(w=ku,y="onMouseLeave",d="onMouseEnter",c="mouse",(e==="pointerout"||e==="pointerover")&&(w=xu,y="onPointerLeave",d="onPointerEnter",c="pointer"),x=g==null?p:wn(g),h=v==null?p:wn(v),p=new w(y,c+"leave",g,n,m),p.target=x,p.relatedTarget=h,y=null,Ut(m)===u&&(w=new w(d,c+"enter",v,n,m),w.target=h,w.relatedTarget=x,y=w),x=y,g&&v)t:{for(w=g,d=v,c=0,h=w;h;h=vn(h))c++;for(h=0,y=d;y;y=vn(y))h++;for(;0<c-h;)w=vn(w),c--;for(;0<h-c;)d=vn(d),h--;for(;c--;){if(w===d||d!==null&&w===d.alternate)break t;w=vn(w),d=vn(d)}w=null}else w=null;g!==null&&Ju(f,p,g,w,!1),v!==null&&x!==null&&Ju(f,x,v,w,!0)}}e:{if(p=u?wn(u):window,g=p.nodeName&&p.nodeName.toLowerCase(),g==="select"||g==="input"&&p.type==="file")var S=fh;else if(Nu(p))if(Lu)S=hh;else{S=ph;var E=dh}else(g=p.nodeName)&&g.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(S=mh);if(S&&(S=S(e,u))){ju(f,S,n,m);break e}E&&E(e,p,u),e==="focusout"&&(E=p._wrapperState)&&E.controlled&&p.type==="number"&&Po(p,"number",p.value)}switch(E=u?wn(u):window,e){case"focusin":(Nu(E)||E.contentEditable==="true")&&(hn=E,qo=u,ur=null);break;case"focusout":ur=qo=hn=null;break;case"mousedown":el=!0;break;case"contextmenu":case"mouseup":case"dragend":el=!1,$u(f,n,m);break;case"selectionchange":if(yh)break;case"keydown":case"keyup":$u(f,n,m)}var _;if(Jo)e:{switch(e){case"compositionstart":var O="onCompositionStart";break e;case"compositionend":O="onCompositionEnd";break e;case"compositionupdate":O="onCompositionUpdate";break e}O=void 0}else mn?_u(e,n)&&(O="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(O="onCompositionStart");O&&(Eu&&n.locale!=="ko"&&(mn||O!=="onCompositionStart"?O==="onCompositionEnd"&&mn&&(_=yu()):(Et=m,Ho="value"in Et?Et.value:Et.textContent,mn=!0)),E=ci(u,O),0<E.length&&(O=new Su(O,e,null,n,m),f.push({event:O,listeners:E}),_?O.data=_:(_=Ou(n),_!==null&&(O.data=_)))),(_=lh?ah(e,n):sh(e,n))&&(u=ci(u,"onBeforeInput"),0<u.length&&(m=new Su("onBeforeInput","beforeinput",null,n,m),f.push({event:m,listeners:u}),m.data=_))}Qu(f,t)})}function dr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ci(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Qn(e,n),o!=null&&r.unshift(dr(e,o,i)),o=Qn(e,t),o!=null&&r.push(dr(e,o,i))),e=e.return}return r}function vn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Ju(e,t,n,r,i){for(var o=t._reactName,l=[];n!==null&&n!==r;){var a=n,s=a.alternate,u=a.stateNode;if(s!==null&&s===r)break;a.tag===5&&u!==null&&(a=u,i?(s=Qn(n,o),s!=null&&l.unshift(dr(n,s,a))):i||(s=Qn(n,o),s!=null&&l.push(dr(n,s,a)))),n=n.return}l.length!==0&&e.push({event:t,listeners:l})}var xh=/\r\n?/g,Eh=/\u0000|\uFFFD/g;function Gu(e){return(typeof e=="string"?e:""+e).replace(xh,`
46
- `).replace(Eh,"")}function fi(e,t,n){if(t=Gu(t),Gu(e)!==t&&n)throw Error(k(425))}function di(){}var ll=null,al=null;function sl(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var ul=typeof setTimeout=="function"?setTimeout:void 0,Ph=typeof clearTimeout=="function"?clearTimeout:void 0,Xu=typeof Promise=="function"?Promise:void 0,Ch=typeof queueMicrotask=="function"?queueMicrotask:typeof Xu<"u"?function(e){return Xu.resolve(null).then(e).catch(_h)}:ul;function _h(e){setTimeout(function(){throw e})}function cl(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),nr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);nr(t)}function Ct(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Zu(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var yn=Math.random().toString(36).slice(2),Ye="__reactFiber$"+yn,pr="__reactProps$"+yn,rt="__reactContainer$"+yn,fl="__reactEvents$"+yn,Oh="__reactListeners$"+yn,Nh="__reactHandles$"+yn;function Ut(e){var t=e[Ye];if(t)return t;for(var n=e.parentNode;n;){if(t=n[rt]||n[Ye]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Zu(e);e!==null;){if(n=e[Ye])return n;e=Zu(e)}return t}e=n,n=e.parentNode}return null}function mr(e){return e=e[Ye]||e[rt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function wn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(k(33))}function pi(e){return e[pr]||null}var dl=[],kn=-1;function _t(e){return{current:e}}function M(e){0>kn||(e.current=dl[kn],dl[kn]=null,kn--)}function D(e,t){kn++,dl[kn]=e.current,e.current=t}var Ot={},re=_t(Ot),fe=_t(!1),Vt=Ot;function Sn(e,t){var n=e.type.contextTypes;if(!n)return Ot;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function de(e){return e=e.childContextTypes,e!=null}function mi(){M(fe),M(re)}function qu(e,t,n){if(re.current!==Ot)throw Error(k(168));D(re,t),D(fe,n)}function ec(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(k(108,dm(e)||"Unknown",i));return V({},n,r)}function hi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ot,Vt=re.current,D(re,e),D(fe,fe.current),!0}function tc(e,t,n){var r=e.stateNode;if(!r)throw Error(k(169));n?(e=ec(e,t,Vt),r.__reactInternalMemoizedMergedChildContext=e,M(fe),M(re),D(re,e)):M(fe),D(fe,n)}var it=null,gi=!1,pl=!1;function nc(e){it===null?it=[e]:it.push(e)}function jh(e){gi=!0,nc(e)}function Nt(){if(!pl&&it!==null){pl=!0;var e=0,t=z;try{var n=it;for(z=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}it=null,gi=!1}catch(i){throw it!==null&&(it=it.slice(e+1)),iu(Io,Nt),i}finally{z=t,pl=!1}}return null}var xn=[],En=0,vi=null,yi=0,_e=[],Oe=0,Ht=null,ot=1,lt="";function Bt(e,t){xn[En++]=yi,xn[En++]=vi,vi=e,yi=t}function rc(e,t,n){_e[Oe++]=ot,_e[Oe++]=lt,_e[Oe++]=Ht,Ht=e;var r=ot;e=lt;var i=32-ze(r)-1;r&=~(1<<i),n+=1;var o=32-ze(t)+i;if(30<o){var l=i-i%5;o=(r&(1<<l)-1).toString(32),r>>=l,i-=l,ot=1<<32-ze(t)+i|n<<i|r,lt=o+e}else ot=1<<o|n<<i|r,lt=e}function ml(e){e.return!==null&&(Bt(e,1),rc(e,1,0))}function hl(e){for(;e===vi;)vi=xn[--En],xn[En]=null,yi=xn[--En],xn[En]=null;for(;e===Ht;)Ht=_e[--Oe],_e[Oe]=null,lt=_e[--Oe],_e[Oe]=null,ot=_e[--Oe],_e[Oe]=null}var ke=null,Se=null,A=!1,Fe=null;function ic(e,t){var n=be(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function oc(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ke=e,Se=Ct(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ke=e,Se=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Ht!==null?{id:ot,overflow:lt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=be(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ke=e,Se=null,!0):!1;default:return!1}}function gl(e){return(e.mode&1)!==0&&(e.flags&128)===0}function vl(e){if(A){var t=Se;if(t){var n=t;if(!oc(e,t)){if(gl(e))throw Error(k(418));t=Ct(n.nextSibling);var r=ke;t&&oc(e,t)?ic(r,n):(e.flags=e.flags&-4097|2,A=!1,ke=e)}}else{if(gl(e))throw Error(k(418));e.flags=e.flags&-4097|2,A=!1,ke=e}}}function lc(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ke=e}function wi(e){if(e!==ke)return!1;if(!A)return lc(e),A=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!sl(e.type,e.memoizedProps)),t&&(t=Se)){if(gl(e))throw ac(),Error(k(418));for(;t;)ic(e,t),t=Ct(t.nextSibling)}if(lc(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(k(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Se=Ct(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Se=null}}else Se=ke?Ct(e.stateNode.nextSibling):null;return!0}function ac(){for(var e=Se;e;)e=Ct(e.nextSibling)}function Pn(){Se=ke=null,A=!1}function yl(e){Fe===null?Fe=[e]:Fe.push(e)}var Lh=nt.ReactCurrentBatchConfig;function De(e,t){if(e&&e.defaultProps){t=V({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var ki=_t(null),Si=null,Cn=null,wl=null;function kl(){wl=Cn=Si=null}function Sl(e){var t=ki.current;M(ki),e._currentValue=t}function xl(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function _n(e,t){Si=e,wl=Cn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(pe=!0),e.firstContext=null)}function Ne(e){var t=e._currentValue;if(wl!==e)if(e={context:e,memoizedValue:t,next:null},Cn===null){if(Si===null)throw Error(k(308));Cn=e,Si.dependencies={lanes:0,firstContext:e}}else Cn=Cn.next=e;return t}var Kt=null;function El(e){Kt===null?Kt=[e]:Kt.push(e)}function sc(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,El(t)):(n.next=i.next,i.next=n),t.interleaved=n,at(e,r)}function at(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var jt=!1;function Pl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function uc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function st(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Lt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,T&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,at(e,n)}return i=r.interleaved,i===null?(t.next=t,El(r)):(t.next=i.next,i.next=t),r.interleaved=t,at(e,n)}function xi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,$o(e,n)}}function cc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=l:o=o.next=l,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ei(e,t,n,r){var i=e.updateQueue;jt=!1;var o=i.firstBaseUpdate,l=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var s=a,u=s.next;s.next=null,l===null?o=u:l.next=u,l=s;var m=e.alternate;m!==null&&(m=m.updateQueue,a=m.lastBaseUpdate,a!==l&&(a===null?m.firstBaseUpdate=u:a.next=u,m.lastBaseUpdate=s))}if(o!==null){var f=i.baseState;l=0,m=u=s=null,a=o;do{var p=a.lane,g=a.eventTime;if((r&p)===p){m!==null&&(m=m.next={eventTime:g,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var v=e,w=a;switch(p=t,g=n,w.tag){case 1:if(v=w.payload,typeof v=="function"){f=v.call(g,f,p);break e}f=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=w.payload,p=typeof v=="function"?v.call(g,f,p):v,p==null)break e;f=V({},f,p);break e;case 2:jt=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,p=i.effects,p===null?i.effects=[a]:p.push(a))}else g={eventTime:g,lane:p,tag:a.tag,payload:a.payload,callback:a.callback,next:null},m===null?(u=m=g,s=f):m=m.next=g,l|=p;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;p=a,a=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);if(m===null&&(s=f),i.baseState=s,i.firstBaseUpdate=u,i.lastBaseUpdate=m,t=i.shared.interleaved,t!==null){i=t;do l|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Yt|=l,e.lanes=l,e.memoizedState=f}}function fc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(k(191,i));i.call(r)}}}var dc=new Ns.Component().refs;function Cl(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:V({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Pi={isMounted:function(e){return(e=e._reactInternals)?At(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ce(),i=zt(e),o=st(r,i);o.payload=t,n!=null&&(o.callback=n),t=Lt(e,o,i),t!==null&&(Ae(t,e,i,r),xi(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ce(),i=zt(e),o=st(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=Lt(e,o,i),t!==null&&(Ae(t,e,i,r),xi(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ce(),r=zt(e),i=st(n,r);i.tag=2,t!=null&&(i.callback=t),t=Lt(e,i,r),t!==null&&(Ae(t,e,r,n),xi(t,e,r))}};function pc(e,t,n,r,i,o,l){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,l):t.prototype&&t.prototype.isPureReactComponent?!sr(n,r)||!sr(i,o):!0}function mc(e,t,n){var r=!1,i=Ot,o=t.contextType;return typeof o=="object"&&o!==null?o=Ne(o):(i=de(t)?Vt:re.current,r=t.contextTypes,o=(r=r!=null)?Sn(e,i):Ot),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Pi,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function hc(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Pi.enqueueReplaceState(t,t.state,null)}function _l(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=dc,Pl(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=Ne(o):(o=de(t)?Vt:re.current,i.context=Sn(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Cl(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Pi.enqueueReplaceState(i,i.state,null),Ei(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function hr(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(k(309));var r=n.stateNode}if(!r)throw Error(k(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(l){var a=i.refs;a===dc&&(a=i.refs={}),l===null?delete a[o]:a[o]=l},t._stringRef=o,t)}if(typeof e!="string")throw Error(k(284));if(!n._owner)throw Error(k(290,e))}return e}function Ci(e,t){throw e=Object.prototype.toString.call(t),Error(k(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function gc(e){var t=e._init;return t(e._payload)}function vc(e){function t(d,c){if(e){var h=d.deletions;h===null?(d.deletions=[c],d.flags|=16):h.push(c)}}function n(d,c){if(!e)return null;for(;c!==null;)t(d,c),c=c.sibling;return null}function r(d,c){for(d=new Map;c!==null;)c.key!==null?d.set(c.key,c):d.set(c.index,c),c=c.sibling;return d}function i(d,c){return d=Ft(d,c),d.index=0,d.sibling=null,d}function o(d,c,h){return d.index=h,e?(h=d.alternate,h!==null?(h=h.index,h<c?(d.flags|=2,c):h):(d.flags|=2,c)):(d.flags|=1048576,c)}function l(d){return e&&d.alternate===null&&(d.flags|=2),d}function a(d,c,h,y){return c===null||c.tag!==6?(c=ua(h,d.mode,y),c.return=d,c):(c=i(c,h),c.return=d,c)}function s(d,c,h,y){var S=h.type;return S===sn?m(d,c,h.props.children,y,h.key):c!==null&&(c.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===vt&&gc(S)===c.type)?(y=i(c,h.props),y.ref=hr(d,c,h),y.return=d,y):(y=Bi(h.type,h.key,h.props,null,d.mode,y),y.ref=hr(d,c,h),y.return=d,y)}function u(d,c,h,y){return c===null||c.tag!==4||c.stateNode.containerInfo!==h.containerInfo||c.stateNode.implementation!==h.implementation?(c=ca(h,d.mode,y),c.return=d,c):(c=i(c,h.children||[]),c.return=d,c)}function m(d,c,h,y,S){return c===null||c.tag!==7?(c=Zt(h,d.mode,y,S),c.return=d,c):(c=i(c,h),c.return=d,c)}function f(d,c,h){if(typeof c=="string"&&c!==""||typeof c=="number")return c=ua(""+c,d.mode,h),c.return=d,c;if(typeof c=="object"&&c!==null){switch(c.$$typeof){case Ur:return h=Bi(c.type,c.key,c.props,null,d.mode,h),h.ref=hr(d,null,c),h.return=d,h;case an:return c=ca(c,d.mode,h),c.return=d,c;case vt:var y=c._init;return f(d,y(c._payload),h)}if(Bn(c)||Vn(c))return c=Zt(c,d.mode,h,null),c.return=d,c;Ci(d,c)}return null}function p(d,c,h,y){var S=c!==null?c.key:null;if(typeof h=="string"&&h!==""||typeof h=="number")return S!==null?null:a(d,c,""+h,y);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Ur:return h.key===S?s(d,c,h,y):null;case an:return h.key===S?u(d,c,h,y):null;case vt:return S=h._init,p(d,c,S(h._payload),y)}if(Bn(h)||Vn(h))return S!==null?null:m(d,c,h,y,null);Ci(d,h)}return null}function g(d,c,h,y,S){if(typeof y=="string"&&y!==""||typeof y=="number")return d=d.get(h)||null,a(c,d,""+y,S);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Ur:return d=d.get(y.key===null?h:y.key)||null,s(c,d,y,S);case an:return d=d.get(y.key===null?h:y.key)||null,u(c,d,y,S);case vt:var E=y._init;return g(d,c,h,E(y._payload),S)}if(Bn(y)||Vn(y))return d=d.get(h)||null,m(c,d,y,S,null);Ci(c,y)}return null}function v(d,c,h,y){for(var S=null,E=null,_=c,O=c=0,I=null;_!==null&&O<h.length;O++){_.index>O?(I=_,_=null):I=_.sibling;var L=p(d,_,h[O],y);if(L===null){_===null&&(_=I);break}e&&_&&L.alternate===null&&t(d,_),c=o(L,c,O),E===null?S=L:E.sibling=L,E=L,_=I}if(O===h.length)return n(d,_),A&&Bt(d,O),S;if(_===null){for(;O<h.length;O++)_=f(d,h[O],y),_!==null&&(c=o(_,c,O),E===null?S=_:E.sibling=_,E=_);return A&&Bt(d,O),S}for(_=r(d,_);O<h.length;O++)I=g(_,d,O,h[O],y),I!==null&&(e&&I.alternate!==null&&_.delete(I.key===null?O:I.key),c=o(I,c,O),E===null?S=I:E.sibling=I,E=I);return e&&_.forEach(function(ge){return t(d,ge)}),A&&Bt(d,O),S}function w(d,c,h,y){var S=Vn(h);if(typeof S!="function")throw Error(k(150));if(h=S.call(h),h==null)throw Error(k(151));for(var E=S=null,_=c,O=c=0,I=null,L=h.next();_!==null&&!L.done;O++,L=h.next()){_.index>O?(I=_,_=null):I=_.sibling;var ge=p(d,_,L.value,y);if(ge===null){_===null&&(_=I);break}e&&_&&ge.alternate===null&&t(d,_),c=o(ge,c,O),E===null?S=ge:E.sibling=ge,E=ge,_=I}if(L.done)return n(d,_),A&&Bt(d,O),S;if(_===null){for(;!L.done;O++,L=h.next())L=f(d,L.value,y),L!==null&&(c=o(L,c,O),E===null?S=L:E.sibling=L,E=L);return A&&Bt(d,O),S}for(_=r(d,_);!L.done;O++,L=h.next())L=g(_,d,O,L.value,y),L!==null&&(e&&L.alternate!==null&&_.delete(L.key===null?O:L.key),c=o(L,c,O),E===null?S=L:E.sibling=L,E=L);return e&&_.forEach(function(Ze){return t(d,Ze)}),A&&Bt(d,O),S}function x(d,c,h,y){if(typeof h=="object"&&h!==null&&h.type===sn&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case Ur:e:{for(var S=h.key,E=c;E!==null;){if(E.key===S){if(S=h.type,S===sn){if(E.tag===7){n(d,E.sibling),c=i(E,h.props.children),c.return=d,d=c;break e}}else if(E.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===vt&&gc(S)===E.type){n(d,E.sibling),c=i(E,h.props),c.ref=hr(d,E,h),c.return=d,d=c;break e}n(d,E);break}else t(d,E);E=E.sibling}h.type===sn?(c=Zt(h.props.children,d.mode,y,h.key),c.return=d,d=c):(y=Bi(h.type,h.key,h.props,null,d.mode,y),y.ref=hr(d,c,h),y.return=d,d=y)}return l(d);case an:e:{for(E=h.key;c!==null;){if(c.key===E)if(c.tag===4&&c.stateNode.containerInfo===h.containerInfo&&c.stateNode.implementation===h.implementation){n(d,c.sibling),c=i(c,h.children||[]),c.return=d,d=c;break e}else{n(d,c);break}else t(d,c);c=c.sibling}c=ca(h,d.mode,y),c.return=d,d=c}return l(d);case vt:return E=h._init,x(d,c,E(h._payload),y)}if(Bn(h))return v(d,c,h,y);if(Vn(h))return w(d,c,h,y);Ci(d,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,c!==null&&c.tag===6?(n(d,c.sibling),c=i(c,h),c.return=d,d=c):(n(d,c),c=ua(h,d.mode,y),c.return=d,d=c),l(d)):n(d,c)}return x}var On=vc(!0),yc=vc(!1),gr={},Je=_t(gr),vr=_t(gr),yr=_t(gr);function Wt(e){if(e===gr)throw Error(k(174));return e}function Ol(e,t){switch(D(yr,t),D(vr,e),D(Je,gr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:_o(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=_o(t,e)}M(Je),D(Je,t)}function Nn(){M(Je),M(vr),M(yr)}function wc(e){Wt(yr.current);var t=Wt(Je.current),n=_o(t,e.type);t!==n&&(D(vr,e),D(Je,n))}function Nl(e){vr.current===e&&(M(Je),M(vr))}var H=_t(0);function _i(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var jl=[];function Ll(){for(var e=0;e<jl.length;e++)jl[e]._workInProgressVersionPrimary=null;jl.length=0}var Oi=nt.ReactCurrentDispatcher,bl=nt.ReactCurrentBatchConfig,Qt=0,B=null,J=null,X=null,Ni=!1,wr=!1,kr=0,bh=0;function ie(){throw Error(k(321))}function Rl(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ie(e[n],t[n]))return!1;return!0}function Tl(e,t,n,r,i,o){if(Qt=o,B=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Oi.current=e===null||e.memoizedState===null?Ih:Fh,e=n(r,i),wr){o=0;do{if(wr=!1,kr=0,25<=o)throw Error(k(301));o+=1,X=J=null,t.updateQueue=null,Oi.current=Dh,e=n(r,i)}while(wr)}if(Oi.current=bi,t=J!==null&&J.next!==null,Qt=0,X=J=B=null,Ni=!1,t)throw Error(k(300));return e}function zl(){var e=kr!==0;return kr=0,e}function Ge(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return X===null?B.memoizedState=X=e:X=X.next=e,X}function je(){if(J===null){var e=B.alternate;e=e!==null?e.memoizedState:null}else e=J.next;var t=X===null?B.memoizedState:X.next;if(t!==null)X=t,J=e;else{if(e===null)throw Error(k(310));J=e,e={memoizedState:J.memoizedState,baseState:J.baseState,baseQueue:J.baseQueue,queue:J.queue,next:null},X===null?B.memoizedState=X=e:X=X.next=e}return X}function Sr(e,t){return typeof t=="function"?t(e):t}function Il(e){var t=je(),n=t.queue;if(n===null)throw Error(k(311));n.lastRenderedReducer=e;var r=J,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var l=i.next;i.next=o.next,o.next=l}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var a=l=null,s=null,u=o;do{var m=u.lane;if((Qt&m)===m)s!==null&&(s=s.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:m,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};s===null?(a=s=f,l=r):s=s.next=f,B.lanes|=m,Yt|=m}u=u.next}while(u!==null&&u!==o);s===null?l=r:s.next=a,Ie(r,t.memoizedState)||(pe=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=s,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,B.lanes|=o,Yt|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Fl(e){var t=je(),n=t.queue;if(n===null)throw Error(k(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var l=i=i.next;do o=e(o,l.action),l=l.next;while(l!==i);Ie(o,t.memoizedState)||(pe=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function kc(){}function Sc(e,t){var n=B,r=je(),i=t(),o=!Ie(r.memoizedState,i);if(o&&(r.memoizedState=i,pe=!0),r=r.queue,Dl(Pc.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||X!==null&&X.memoizedState.tag&1){if(n.flags|=2048,xr(9,Ec.bind(null,n,r,i,t),void 0,null),Z===null)throw Error(k(349));Qt&30||xc(n,t,i)}return i}function xc(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=B.updateQueue,t===null?(t={lastEffect:null,stores:null},B.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Ec(e,t,n,r){t.value=n,t.getSnapshot=r,Cc(t)&&_c(e)}function Pc(e,t,n){return n(function(){Cc(t)&&_c(e)})}function Cc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ie(e,n)}catch{return!0}}function _c(e){var t=at(e,1);t!==null&&Ae(t,e,1,-1)}function Oc(e){var t=Ge();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Sr,lastRenderedState:e},t.queue=e,e=e.dispatch=zh.bind(null,B,e),[t.memoizedState,e]}function xr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=B.updateQueue,t===null?(t={lastEffect:null,stores:null},B.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Nc(){return je().memoizedState}function ji(e,t,n,r){var i=Ge();B.flags|=e,i.memoizedState=xr(1|t,n,void 0,r===void 0?null:r)}function Li(e,t,n,r){var i=je();r=r===void 0?null:r;var o=void 0;if(J!==null){var l=J.memoizedState;if(o=l.destroy,r!==null&&Rl(r,l.deps)){i.memoizedState=xr(t,n,o,r);return}}B.flags|=e,i.memoizedState=xr(1|t,n,o,r)}function jc(e,t){return ji(8390656,8,e,t)}function Dl(e,t){return Li(2048,8,e,t)}function Lc(e,t){return Li(4,2,e,t)}function bc(e,t){return Li(4,4,e,t)}function Rc(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Tc(e,t,n){return n=n!=null?n.concat([e]):null,Li(4,4,Rc.bind(null,t,e),n)}function $l(){}function zc(e,t){var n=je();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Rl(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ic(e,t){var n=je();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Rl(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Fc(e,t,n){return Qt&21?(Ie(n,t)||(n=su(),B.lanes|=n,Yt|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,pe=!0),e.memoizedState=n)}function Rh(e,t){var n=z;z=n!==0&&4>n?n:4,e(!0);var r=bl.transition;bl.transition={};try{e(!1),t()}finally{z=n,bl.transition=r}}function Dc(){return je().memoizedState}function Th(e,t,n){var r=zt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},$c(e))Mc(t,n);else if(n=sc(e,t,n,r),n!==null){var i=ce();Ae(n,e,r,i),Ac(n,t,r)}}function zh(e,t,n){var r=zt(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if($c(e))Mc(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,a=o(l,n);if(i.hasEagerState=!0,i.eagerState=a,Ie(a,l)){var s=t.interleaved;s===null?(i.next=i,El(t)):(i.next=s.next,s.next=i),t.interleaved=i;return}}catch{}finally{}n=sc(e,t,i,r),n!==null&&(i=ce(),Ae(n,e,r,i),Ac(n,t,r))}}function $c(e){var t=e.alternate;return e===B||t!==null&&t===B}function Mc(e,t){wr=Ni=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ac(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,$o(e,n)}}var bi={readContext:Ne,useCallback:ie,useContext:ie,useEffect:ie,useImperativeHandle:ie,useInsertionEffect:ie,useLayoutEffect:ie,useMemo:ie,useReducer:ie,useRef:ie,useState:ie,useDebugValue:ie,useDeferredValue:ie,useTransition:ie,useMutableSource:ie,useSyncExternalStore:ie,useId:ie,unstable_isNewReconciler:!1},Ih={readContext:Ne,useCallback:function(e,t){return Ge().memoizedState=[e,t===void 0?null:t],e},useContext:Ne,useEffect:jc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ji(4194308,4,Rc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ji(4194308,4,e,t)},useInsertionEffect:function(e,t){return ji(4,2,e,t)},useMemo:function(e,t){var n=Ge();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ge();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Th.bind(null,B,e),[r.memoizedState,e]},useRef:function(e){var t=Ge();return e={current:e},t.memoizedState=e},useState:Oc,useDebugValue:$l,useDeferredValue:function(e){return Ge().memoizedState=e},useTransition:function(){var e=Oc(!1),t=e[0];return e=Rh.bind(null,e[1]),Ge().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=B,i=Ge();if(A){if(n===void 0)throw Error(k(407));n=n()}else{if(n=t(),Z===null)throw Error(k(349));Qt&30||xc(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,jc(Pc.bind(null,r,o,e),[e]),r.flags|=2048,xr(9,Ec.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Ge(),t=Z.identifierPrefix;if(A){var n=lt,r=ot;n=(r&~(1<<32-ze(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=kr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=bh++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Fh={readContext:Ne,useCallback:zc,useContext:Ne,useEffect:Dl,useImperativeHandle:Tc,useInsertionEffect:Lc,useLayoutEffect:bc,useMemo:Ic,useReducer:Il,useRef:Nc,useState:function(){return Il(Sr)},useDebugValue:$l,useDeferredValue:function(e){var t=je();return Fc(t,J.memoizedState,e)},useTransition:function(){var e=Il(Sr)[0],t=je().memoizedState;return[e,t]},useMutableSource:kc,useSyncExternalStore:Sc,useId:Dc,unstable_isNewReconciler:!1},Dh={readContext:Ne,useCallback:zc,useContext:Ne,useEffect:Dl,useImperativeHandle:Tc,useInsertionEffect:Lc,useLayoutEffect:bc,useMemo:Ic,useReducer:Fl,useRef:Nc,useState:function(){return Fl(Sr)},useDebugValue:$l,useDeferredValue:function(e){var t=je();return J===null?t.memoizedState=e:Fc(t,J.memoizedState,e)},useTransition:function(){var e=Fl(Sr)[0],t=je().memoizedState;return[e,t]},useMutableSource:kc,useSyncExternalStore:Sc,useId:Dc,unstable_isNewReconciler:!1};function jn(e,t){try{var n="",r=t;do n+=fm(r),r=r.return;while(r);var i=n}catch(o){i=`
43
+ `),l=i.length-1,s=o.length-1;1<=l&&0<=s&&i[l]!==o[s];)s--;for(;1<=l&&0<=s;l--,s--)if(i[l]!==o[s]){if(l!==1||s!==1)do if(l--,s--,0>s||i[l]!==o[s]){var a=`
44
+ `+i[l].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=l&&0<=s);break}}}finally{io=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?jn(e):""}function Md(e){switch(e.tag){case 5:return jn(e.type);case 16:return jn("Lazy");case 13:return jn("Suspense");case 19:return jn("SuspenseList");case 0:case 2:case 15:return e=oo(e.type,!1),e;case 11:return e=oo(e.type.render,!1),e;case 1:return e=oo(e.type,!0),e;default:return""}}function lo(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Yt:return"Fragment";case Qt:return"Portal";case Zi:return"Profiler";case Xi:return"StrictMode";case eo:return"Suspense";case to:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Vs:return(e.displayName||"Context")+".Consumer";case Us:return(e._context.displayName||"Context")+".Provider";case qi:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case no:return t=e.displayName||null,t!==null?t:lo(e.type)||"Memo";case rt:t=e._payload,e=e._init;try{return lo(e(t))}catch{}}return null}function Ad(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return lo(t);case 8:return t===Xi?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function it(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ks(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ud(e){var t=Ks(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(l){r=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Nr(e){e._valueTracker||(e._valueTracker=Ud(e))}function Ws(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ks(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Pr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function so(e,t){var n=t.checked;return A({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Qs(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=it(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Ys(e,t){t=t.checked,t!=null&&Gi(e,"checked",t,!1)}function ao(e,t){Ys(e,t);var n=it(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?uo(e,t.type,n):t.hasOwnProperty("defaultValue")&&uo(e,t.type,it(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Js(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function uo(e,t,n){(t!=="number"||Pr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var On=Array.isArray;function Jt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+it(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function co(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(w(91));return A({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Gs(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(w(92));if(On(n)){if(1<n.length)throw Error(w(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:it(n)}}function Xs(e,t){var n=it(t.value),r=it(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Zs(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function qs(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function fo(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?qs(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Lr,ea=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Lr=Lr||document.createElement("div"),Lr.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Lr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function zn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var _n={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Vd=["Webkit","ms","Moz","O"];Object.keys(_n).forEach(function(e){Vd.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),_n[t]=_n[e]})});function ta(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||_n.hasOwnProperty(e)&&_n[e]?(""+t).trim():t+"px"}function na(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=ta(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Hd=A({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function po(e,t){if(t){if(Hd[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(w(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(w(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(w(61))}if(t.style!=null&&typeof t.style!="object")throw Error(w(62))}}function ho(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var mo=null;function go(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var yo=null,Gt=null,Xt=null;function ra(e){if(e=qn(e)){if(typeof yo!="function")throw Error(w(280));var t=e.stateNode;t&&(t=Gr(t),yo(e.stateNode,e.type,t))}}function ia(e){Gt?Xt?Xt.push(e):Xt=[e]:Gt=e}function oa(){if(Gt){var e=Gt,t=Xt;if(Xt=Gt=null,ra(e),t)for(e=0;e<t.length;e++)ra(t[e])}}function la(e,t){return e(t)}function sa(){}var vo=!1;function aa(e,t,n){if(vo)return e(t,n);vo=!0;try{return la(e,t,n)}finally{vo=!1,(Gt!==null||Xt!==null)&&(sa(),oa())}}function Rn(e,t){var n=e.stateNode;if(n===null)return null;var r=Gr(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(w(231,t,typeof n));return n}var wo=!1;if(Qe)try{var Tn={};Object.defineProperty(Tn,"passive",{get:function(){wo=!0}}),window.addEventListener("test",Tn,Tn),window.removeEventListener("test",Tn,Tn)}catch{wo=!1}function Bd(e,t,n,r,i,o,l,s,a){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(d){this.onError(d)}}var $n=!1,jr=null,Or=!1,ko=null,Kd={onError:function(e){$n=!0,jr=e}};function Wd(e,t,n,r,i,o,l,s,a){$n=!1,jr=null,Bd.apply(Kd,arguments)}function Qd(e,t,n,r,i,o,l,s,a){if(Wd.apply(this,arguments),$n){if($n){var u=jr;$n=!1,jr=null}else throw Error(w(198));Or||(Or=!0,ko=u)}}function Nt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function ua(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function ca(e){if(Nt(e)!==e)throw Error(w(188))}function Yd(e){var t=e.alternate;if(!t){if(t=Nt(e),t===null)throw Error(w(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return ca(i),e;if(o===r)return ca(i),t;o=o.sibling}throw Error(w(188))}if(n.return!==r.return)n=i,r=o;else{for(var l=!1,s=i.child;s;){if(s===n){l=!0,n=i,r=o;break}if(s===r){l=!0,r=i,n=o;break}s=s.sibling}if(!l){for(s=o.child;s;){if(s===n){l=!0,n=o,r=i;break}if(s===r){l=!0,r=o,n=i;break}s=s.sibling}if(!l)throw Error(w(189))}}if(n.alternate!==r)throw Error(w(190))}if(n.tag!==3)throw Error(w(188));return n.stateNode.current===n?e:t}function fa(e){return e=Yd(e),e!==null?da(e):null}function da(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=da(e);if(t!==null)return t;e=e.sibling}return null}var pa=ye.unstable_scheduleCallback,ha=ye.unstable_cancelCallback,Jd=ye.unstable_shouldYield,Gd=ye.unstable_requestPaint,K=ye.unstable_now,Xd=ye.unstable_getCurrentPriorityLevel,So=ye.unstable_ImmediatePriority,ma=ye.unstable_UserBlockingPriority,zr=ye.unstable_NormalPriority,Zd=ye.unstable_LowPriority,ga=ye.unstable_IdlePriority,_r=null,Ve=null;function qd(e){if(Ve&&typeof Ve.onCommitFiberRoot=="function")try{Ve.onCommitFiberRoot(_r,e,void 0,(e.current.flags&128)===128)}catch{}}var _e=Math.clz32?Math.clz32:np,ep=Math.log,tp=Math.LN2;function np(e){return e>>>=0,e===0?32:31-(ep(e)/tp|0)|0}var Rr=64,Tr=4194304;function bn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function $r(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,l=n&268435455;if(l!==0){var s=l&~i;s!==0?r=bn(s):(o&=l,o!==0&&(r=bn(o)))}else l=n&~i,l!==0?r=bn(l):o!==0&&(r=bn(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-_e(t),i=1<<n,r|=e[n],t&=~i;return r}function rp(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ip(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var l=31-_e(o),s=1<<l,a=i[l];a===-1?(!(s&n)||s&r)&&(i[l]=rp(s,t)):a<=t&&(e.expiredLanes|=s),o&=~s}}function xo(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function ya(){var e=Rr;return Rr<<=1,!(Rr&4194240)&&(Rr=64),e}function Eo(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function In(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-_e(t),e[t]=n}function op(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-_e(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function Co(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-_e(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var $=0;function va(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var wa,No,ka,Sa,xa,Po=!1,br=[],ot=null,lt=null,st=null,Fn=new Map,Dn=new Map,at=[],lp="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Ea(e,t){switch(e){case"focusin":case"focusout":ot=null;break;case"dragenter":case"dragleave":lt=null;break;case"mouseover":case"mouseout":st=null;break;case"pointerover":case"pointerout":Fn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Dn.delete(t.pointerId)}}function Mn(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=qn(t),t!==null&&No(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function sp(e,t,n,r,i){switch(t){case"focusin":return ot=Mn(ot,e,t,n,r,i),!0;case"dragenter":return lt=Mn(lt,e,t,n,r,i),!0;case"mouseover":return st=Mn(st,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Fn.set(o,Mn(Fn.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Dn.set(o,Mn(Dn.get(o)||null,e,t,n,r,i)),!0}return!1}function Ca(e){var t=Pt(e.target);if(t!==null){var n=Nt(t);if(n!==null){if(t=n.tag,t===13){if(t=ua(n),t!==null){e.blockedOn=t,xa(e.priority,function(){ka(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ir(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=jo(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);mo=r,n.target.dispatchEvent(r),mo=null}else return t=qn(n),t!==null&&No(t),e.blockedOn=n,!1;t.shift()}return!0}function Na(e,t,n){Ir(e)&&n.delete(t)}function ap(){Po=!1,ot!==null&&Ir(ot)&&(ot=null),lt!==null&&Ir(lt)&&(lt=null),st!==null&&Ir(st)&&(st=null),Fn.forEach(Na),Dn.forEach(Na)}function An(e,t){e.blockedOn===t&&(e.blockedOn=null,Po||(Po=!0,ye.unstable_scheduleCallback(ye.unstable_NormalPriority,ap)))}function Un(e){function t(i){return An(i,e)}if(0<br.length){An(br[0],e);for(var n=1;n<br.length;n++){var r=br[n];r.blockedOn===e&&(r.blockedOn=null)}}for(ot!==null&&An(ot,e),lt!==null&&An(lt,e),st!==null&&An(st,e),Fn.forEach(t),Dn.forEach(t),n=0;n<at.length;n++)r=at[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<at.length&&(n=at[0],n.blockedOn===null);)Ca(n),n.blockedOn===null&&at.shift()}var Zt=Ye.ReactCurrentBatchConfig,Fr=!0;function up(e,t,n,r){var i=$,o=Zt.transition;Zt.transition=null;try{$=1,Lo(e,t,n,r)}finally{$=i,Zt.transition=o}}function cp(e,t,n,r){var i=$,o=Zt.transition;Zt.transition=null;try{$=4,Lo(e,t,n,r)}finally{$=i,Zt.transition=o}}function Lo(e,t,n,r){if(Fr){var i=jo(e,t,n,r);if(i===null)Ko(e,t,r,Dr,n),Ea(e,r);else if(sp(i,e,t,n,r))r.stopPropagation();else if(Ea(e,r),t&4&&-1<lp.indexOf(e)){for(;i!==null;){var o=qn(i);if(o!==null&&wa(o),o=jo(e,t,n,r),o===null&&Ko(e,t,r,Dr,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else Ko(e,t,r,null,n)}}var Dr=null;function jo(e,t,n,r){if(Dr=null,e=go(r),e=Pt(e),e!==null)if(t=Nt(e),t===null)e=null;else if(n=t.tag,n===13){if(e=ua(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Dr=e,null}function Pa(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xd()){case So:return 1;case ma:return 4;case zr:case Zd:return 16;case ga:return 536870912;default:return 16}default:return 16}}var ut=null,Oo=null,Mr=null;function La(){if(Mr)return Mr;var e,t=Oo,n=t.length,r,i="value"in ut?ut.value:ut.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var l=n-e;for(r=1;r<=l&&t[n-r]===i[o-r];r++);return Mr=i.slice(e,1<r?1-r:void 0)}function Ar(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Ur(){return!0}function ja(){return!1}function ve(e){function t(n,r,i,o,l){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=l,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(o):o[s]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Ur:ja,this.isPropagationStopped=ja,this}return A(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Ur)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ur)},persist:function(){},isPersistent:Ur}),t}var qt={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},zo=ve(qt),Vn=A({},qt,{view:0,detail:0}),fp=ve(Vn),_o,Ro,Hn,Vr=A({},Vn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$o,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Hn&&(Hn&&e.type==="mousemove"?(_o=e.screenX-Hn.screenX,Ro=e.screenY-Hn.screenY):Ro=_o=0,Hn=e),_o)},movementY:function(e){return"movementY"in e?e.movementY:Ro}}),Oa=ve(Vr),dp=A({},Vr,{dataTransfer:0}),pp=ve(dp),hp=A({},Vn,{relatedTarget:0}),To=ve(hp),mp=A({},qt,{animationName:0,elapsedTime:0,pseudoElement:0}),gp=ve(mp),yp=A({},qt,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vp=ve(yp),wp=A({},qt,{data:0}),za=ve(wp),kp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sp={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"},xp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ep(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=xp[e])?!!t[e]:!1}function $o(){return Ep}var Cp=A({},Vn,{key:function(e){if(e.key){var t=kp[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ar(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Sp[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$o,charCode:function(e){return e.type==="keypress"?Ar(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ar(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Np=ve(Cp),Pp=A({},Vr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),_a=ve(Pp),Lp=A({},Vn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$o}),jp=ve(Lp),Op=A({},qt,{propertyName:0,elapsedTime:0,pseudoElement:0}),zp=ve(Op),_p=A({},Vr,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Rp=ve(_p),Tp=[9,13,27,32],bo=Qe&&"CompositionEvent"in window,Bn=null;Qe&&"documentMode"in document&&(Bn=document.documentMode);var $p=Qe&&"TextEvent"in window&&!Bn,Ra=Qe&&(!bo||Bn&&8<Bn&&11>=Bn),Ta=String.fromCharCode(32),$a=!1;function ba(e,t){switch(e){case"keyup":return Tp.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ia(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var en=!1;function bp(e,t){switch(e){case"compositionend":return Ia(t);case"keypress":return t.which!==32?null:($a=!0,Ta);case"textInput":return e=t.data,e===Ta&&$a?null:e;default:return null}}function Ip(e,t){if(en)return e==="compositionend"||!bo&&ba(e,t)?(e=La(),Mr=Oo=ut=null,en=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Ra&&t.locale!=="ko"?null:t.data;default:return null}}var Fp={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 Fa(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Fp[e.type]:t==="textarea"}function Da(e,t,n,r){ia(r),t=Qr(t,"onChange"),0<t.length&&(n=new zo("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Kn=null,Wn=null;function Dp(e){nu(e,0)}function Hr(e){var t=ln(e);if(Ws(t))return e}function Mp(e,t){if(e==="change")return t}var Ma=!1;if(Qe){var Io;if(Qe){var Fo="oninput"in document;if(!Fo){var Aa=document.createElement("div");Aa.setAttribute("oninput","return;"),Fo=typeof Aa.oninput=="function"}Io=Fo}else Io=!1;Ma=Io&&(!document.documentMode||9<document.documentMode)}function Ua(){Kn&&(Kn.detachEvent("onpropertychange",Va),Wn=Kn=null)}function Va(e){if(e.propertyName==="value"&&Hr(Wn)){var t=[];Da(t,Wn,e,go(e)),aa(Dp,t)}}function Ap(e,t,n){e==="focusin"?(Ua(),Kn=t,Wn=n,Kn.attachEvent("onpropertychange",Va)):e==="focusout"&&Ua()}function Up(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Hr(Wn)}function Vp(e,t){if(e==="click")return Hr(t)}function Hp(e,t){if(e==="input"||e==="change")return Hr(t)}function Bp(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Re=typeof Object.is=="function"?Object.is:Bp;function Qn(e,t){if(Re(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Qi.call(t,i)||!Re(e[i],t[i]))return!1}return!0}function Ha(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ba(e,t){var n=Ha(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ha(n)}}function Ka(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ka(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Wa(){for(var e=window,t=Pr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Pr(e.document)}return t}function Do(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Kp(e){var t=Wa(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ka(n.ownerDocument.documentElement,n)){if(r!==null&&Do(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Ba(n,o);var l=Ba(n,r);i&&l&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Wp=Qe&&"documentMode"in document&&11>=document.documentMode,tn=null,Mo=null,Yn=null,Ao=!1;function Qa(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ao||tn==null||tn!==Pr(r)||(r=tn,"selectionStart"in r&&Do(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Yn&&Qn(Yn,r)||(Yn=r,r=Qr(Mo,"onSelect"),0<r.length&&(t=new zo("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=tn)))}function Br(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var nn={animationend:Br("Animation","AnimationEnd"),animationiteration:Br("Animation","AnimationIteration"),animationstart:Br("Animation","AnimationStart"),transitionend:Br("Transition","TransitionEnd")},Uo={},Ya={};Qe&&(Ya=document.createElement("div").style,"AnimationEvent"in window||(delete nn.animationend.animation,delete nn.animationiteration.animation,delete nn.animationstart.animation),"TransitionEvent"in window||delete nn.transitionend.transition);function Kr(e){if(Uo[e])return Uo[e];if(!nn[e])return e;var t=nn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Ya)return Uo[e]=t[n];return e}var Ja=Kr("animationend"),Ga=Kr("animationiteration"),Xa=Kr("animationstart"),Za=Kr("transitionend"),qa=new Map,eu="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function ct(e,t){qa.set(e,t),Ct(t,[e])}for(var Vo=0;Vo<eu.length;Vo++){var Ho=eu[Vo],Qp=Ho.toLowerCase(),Yp=Ho[0].toUpperCase()+Ho.slice(1);ct(Qp,"on"+Yp)}ct(Ja,"onAnimationEnd"),ct(Ga,"onAnimationIteration"),ct(Xa,"onAnimationStart"),ct("dblclick","onDoubleClick"),ct("focusin","onFocus"),ct("focusout","onBlur"),ct(Za,"onTransitionEnd"),Wt("onMouseEnter",["mouseout","mouseover"]),Wt("onMouseLeave",["mouseout","mouseover"]),Wt("onPointerEnter",["pointerout","pointerover"]),Wt("onPointerLeave",["pointerout","pointerover"]),Ct("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ct("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ct("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ct("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ct("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ct("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Jn="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(" "),Jp=new Set("cancel close invalid load scroll toggle".split(" ").concat(Jn));function tu(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Qd(r,t,void 0,e),e.currentTarget=null}function nu(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var l=r.length-1;0<=l;l--){var s=r[l],a=s.instance,u=s.currentTarget;if(s=s.listener,a!==o&&i.isPropagationStopped())break e;tu(i,s,u),o=a}else for(l=0;l<r.length;l++){if(s=r[l],a=s.instance,u=s.currentTarget,s=s.listener,a!==o&&i.isPropagationStopped())break e;tu(i,s,u),o=a}}}if(Or)throw e=ko,Or=!1,ko=null,e}function I(e,t){var n=t[Xo];n===void 0&&(n=t[Xo]=new Set);var r=e+"__bubble";n.has(r)||(ru(t,e,2,!1),n.add(r))}function Bo(e,t,n){var r=0;t&&(r|=4),ru(n,e,r,t)}var Wr="_reactListening"+Math.random().toString(36).slice(2);function Gn(e){if(!e[Wr]){e[Wr]=!0,Ds.forEach(function(n){n!=="selectionchange"&&(Jp.has(n)||Bo(n,!1,e),Bo(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Wr]||(t[Wr]=!0,Bo("selectionchange",!1,t))}}function ru(e,t,n,r){switch(Pa(t)){case 1:var i=up;break;case 4:i=cp;break;default:i=Lo}n=i.bind(null,t,n,e),i=void 0,!wo||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Ko(e,t,n,r,i){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var l=r.tag;if(l===3||l===4){var s=r.stateNode.containerInfo;if(s===i||s.nodeType===8&&s.parentNode===i)break;if(l===4)for(l=r.return;l!==null;){var a=l.tag;if((a===3||a===4)&&(a=l.stateNode.containerInfo,a===i||a.nodeType===8&&a.parentNode===i))return;l=l.return}for(;s!==null;){if(l=Pt(s),l===null)return;if(a=l.tag,a===5||a===6){r=o=l;continue e}s=s.parentNode}}r=r.return}aa(function(){var u=o,d=go(n),h=[];e:{var c=qa.get(e);if(c!==void 0){var v=zo,y=e;switch(e){case"keypress":if(Ar(n)===0)break e;case"keydown":case"keyup":v=Np;break;case"focusin":y="focus",v=To;break;case"focusout":y="blur",v=To;break;case"beforeblur":case"afterblur":v=To;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":v=Oa;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":v=pp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":v=jp;break;case Ja:case Ga:case Xa:v=gp;break;case Za:v=zp;break;case"scroll":v=fp;break;case"wheel":v=Rp;break;case"copy":case"cut":case"paste":v=vp;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":v=_a}var k=(t&4)!==0,L=!k&&e==="scroll",p=k?c!==null?c+"Capture":null:c;k=[];for(var f=u,m;f!==null;){m=f;var g=m.stateNode;if(m.tag===5&&g!==null&&(m=g,p!==null&&(g=Rn(f,p),g!=null&&k.push(Xn(f,g,m)))),L)break;f=f.return}0<k.length&&(c=new v(c,y,null,n,d),h.push({event:c,listeners:k}))}}if(!(t&7)){e:{if(c=e==="mouseover"||e==="pointerover",v=e==="mouseout"||e==="pointerout",c&&n!==mo&&(y=n.relatedTarget||n.fromElement)&&(Pt(y)||y[Je]))break e;if((v||c)&&(c=d.window===d?d:(c=d.ownerDocument)?c.defaultView||c.parentWindow:window,v?(y=n.relatedTarget||n.toElement,v=u,y=y?Pt(y):null,y!==null&&(L=Nt(y),y!==L||y.tag!==5&&y.tag!==6)&&(y=null)):(v=null,y=u),v!==y)){if(k=Oa,g="onMouseLeave",p="onMouseEnter",f="mouse",(e==="pointerout"||e==="pointerover")&&(k=_a,g="onPointerLeave",p="onPointerEnter",f="pointer"),L=v==null?c:ln(v),m=y==null?c:ln(y),c=new k(g,f+"leave",v,n,d),c.target=L,c.relatedTarget=m,g=null,Pt(d)===u&&(k=new k(p,f+"enter",y,n,d),k.target=m,k.relatedTarget=L,g=k),L=g,v&&y)t:{for(k=v,p=y,f=0,m=k;m;m=rn(m))f++;for(m=0,g=p;g;g=rn(g))m++;for(;0<f-m;)k=rn(k),f--;for(;0<m-f;)p=rn(p),m--;for(;f--;){if(k===p||p!==null&&k===p.alternate)break t;k=rn(k),p=rn(p)}k=null}else k=null;v!==null&&iu(h,c,v,k,!1),y!==null&&L!==null&&iu(h,L,y,k,!0)}}e:{if(c=u?ln(u):window,v=c.nodeName&&c.nodeName.toLowerCase(),v==="select"||v==="input"&&c.type==="file")var S=Mp;else if(Fa(c))if(Ma)S=Hp;else{S=Up;var C=Ap}else(v=c.nodeName)&&v.toLowerCase()==="input"&&(c.type==="checkbox"||c.type==="radio")&&(S=Vp);if(S&&(S=S(e,u))){Da(h,S,n,d);break e}C&&C(e,c,u),e==="focusout"&&(C=c._wrapperState)&&C.controlled&&c.type==="number"&&uo(c,"number",c.value)}switch(C=u?ln(u):window,e){case"focusin":(Fa(C)||C.contentEditable==="true")&&(tn=C,Mo=u,Yn=null);break;case"focusout":Yn=Mo=tn=null;break;case"mousedown":Ao=!0;break;case"contextmenu":case"mouseup":case"dragend":Ao=!1,Qa(h,n,d);break;case"selectionchange":if(Wp)break;case"keydown":case"keyup":Qa(h,n,d)}var x;if(bo)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else en?ba(e,n)&&(P="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(P="onCompositionStart");P&&(Ra&&n.locale!=="ko"&&(en||P!=="onCompositionStart"?P==="onCompositionEnd"&&en&&(x=La()):(ut=d,Oo="value"in ut?ut.value:ut.textContent,en=!0)),C=Qr(u,P),0<C.length&&(P=new za(P,e,null,n,d),h.push({event:P,listeners:C}),x?P.data=x:(x=Ia(n),x!==null&&(P.data=x)))),(x=$p?bp(e,n):Ip(e,n))&&(u=Qr(u,"onBeforeInput"),0<u.length&&(d=new za("onBeforeInput","beforeinput",null,n,d),h.push({event:d,listeners:u}),d.data=x))}nu(h,t)})}function Xn(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Qr(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Rn(e,n),o!=null&&r.unshift(Xn(e,o,i)),o=Rn(e,t),o!=null&&r.push(Xn(e,o,i))),e=e.return}return r}function rn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function iu(e,t,n,r,i){for(var o=t._reactName,l=[];n!==null&&n!==r;){var s=n,a=s.alternate,u=s.stateNode;if(a!==null&&a===r)break;s.tag===5&&u!==null&&(s=u,i?(a=Rn(n,o),a!=null&&l.unshift(Xn(n,a,s))):i||(a=Rn(n,o),a!=null&&l.push(Xn(n,a,s)))),n=n.return}l.length!==0&&e.push({event:t,listeners:l})}var Gp=/\r\n?/g,Xp=/\u0000|\uFFFD/g;function ou(e){return(typeof e=="string"?e:""+e).replace(Gp,`
45
+ `).replace(Xp,"")}function Yr(e,t,n){if(t=ou(t),ou(e)!==t&&n)throw Error(w(425))}function Jr(){}var Wo=null,Qo=null;function Yo(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Jo=typeof setTimeout=="function"?setTimeout:void 0,Zp=typeof clearTimeout=="function"?clearTimeout:void 0,lu=typeof Promise=="function"?Promise:void 0,qp=typeof queueMicrotask=="function"?queueMicrotask:typeof lu<"u"?function(e){return lu.resolve(null).then(e).catch(eh)}:Jo;function eh(e){setTimeout(function(){throw e})}function Go(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Un(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Un(t)}function ft(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function su(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var on=Math.random().toString(36).slice(2),He="__reactFiber$"+on,Zn="__reactProps$"+on,Je="__reactContainer$"+on,Xo="__reactEvents$"+on,th="__reactListeners$"+on,nh="__reactHandles$"+on;function Pt(e){var t=e[He];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Je]||n[He]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=su(e);e!==null;){if(n=e[He])return n;e=su(e)}return t}e=n,n=e.parentNode}return null}function qn(e){return e=e[He]||e[Je],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ln(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(w(33))}function Gr(e){return e[Zn]||null}var Zo=[],sn=-1;function dt(e){return{current:e}}function F(e){0>sn||(e.current=Zo[sn],Zo[sn]=null,sn--)}function b(e,t){sn++,Zo[sn]=e.current,e.current=t}var pt={},re=dt(pt),fe=dt(!1),Lt=pt;function an(e,t){var n=e.type.contextTypes;if(!n)return pt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function de(e){return e=e.childContextTypes,e!=null}function Xr(){F(fe),F(re)}function au(e,t,n){if(re.current!==pt)throw Error(w(168));b(re,t),b(fe,n)}function uu(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(w(108,Ad(e)||"Unknown",i));return A({},n,r)}function Zr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||pt,Lt=re.current,b(re,e),b(fe,fe.current),!0}function cu(e,t,n){var r=e.stateNode;if(!r)throw Error(w(169));n?(e=uu(e,t,Lt),r.__reactInternalMemoizedMergedChildContext=e,F(fe),F(re),b(re,e)):F(fe),b(fe,n)}var Ge=null,qr=!1,qo=!1;function fu(e){Ge===null?Ge=[e]:Ge.push(e)}function rh(e){qr=!0,fu(e)}function ht(){if(!qo&&Ge!==null){qo=!0;var e=0,t=$;try{var n=Ge;for($=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Ge=null,qr=!1}catch(i){throw Ge!==null&&(Ge=Ge.slice(e+1)),pa(So,ht),i}finally{$=t,qo=!1}}return null}var un=[],cn=0,ei=null,ti=0,Ee=[],Ce=0,jt=null,Xe=1,Ze="";function Ot(e,t){un[cn++]=ti,un[cn++]=ei,ei=e,ti=t}function du(e,t,n){Ee[Ce++]=Xe,Ee[Ce++]=Ze,Ee[Ce++]=jt,jt=e;var r=Xe;e=Ze;var i=32-_e(r)-1;r&=~(1<<i),n+=1;var o=32-_e(t)+i;if(30<o){var l=i-i%5;o=(r&(1<<l)-1).toString(32),r>>=l,i-=l,Xe=1<<32-_e(t)+i|n<<i|r,Ze=o+e}else Xe=1<<o|n<<i|r,Ze=e}function el(e){e.return!==null&&(Ot(e,1),du(e,1,0))}function tl(e){for(;e===ei;)ei=un[--cn],un[cn]=null,ti=un[--cn],un[cn]=null;for(;e===jt;)jt=Ee[--Ce],Ee[Ce]=null,Ze=Ee[--Ce],Ee[Ce]=null,Xe=Ee[--Ce],Ee[Ce]=null}var we=null,ke=null,D=!1,Te=null;function pu(e,t){var n=je(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function hu(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,we=e,ke=ft(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,we=e,ke=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=jt!==null?{id:Xe,overflow:Ze}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=je(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,we=e,ke=null,!0):!1;default:return!1}}function nl(e){return(e.mode&1)!==0&&(e.flags&128)===0}function rl(e){if(D){var t=ke;if(t){var n=t;if(!hu(e,t)){if(nl(e))throw Error(w(418));t=ft(n.nextSibling);var r=we;t&&hu(e,t)?pu(r,n):(e.flags=e.flags&-4097|2,D=!1,we=e)}}else{if(nl(e))throw Error(w(418));e.flags=e.flags&-4097|2,D=!1,we=e}}}function mu(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;we=e}function ni(e){if(e!==we)return!1;if(!D)return mu(e),D=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Yo(e.type,e.memoizedProps)),t&&(t=ke)){if(nl(e))throw gu(),Error(w(418));for(;t;)pu(e,t),t=ft(t.nextSibling)}if(mu(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(w(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){ke=ft(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}ke=null}}else ke=we?ft(e.stateNode.nextSibling):null;return!0}function gu(){for(var e=ke;e;)e=ft(e.nextSibling)}function fn(){ke=we=null,D=!1}function il(e){Te===null?Te=[e]:Te.push(e)}var ih=Ye.ReactCurrentBatchConfig;function $e(e,t){if(e&&e.defaultProps){t=A({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var ri=dt(null),ii=null,dn=null,ol=null;function ll(){ol=dn=ii=null}function sl(e){var t=ri.current;F(ri),e._currentValue=t}function al(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function pn(e,t){ii=e,ol=dn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(pe=!0),e.firstContext=null)}function Ne(e){var t=e._currentValue;if(ol!==e)if(e={context:e,memoizedValue:t,next:null},dn===null){if(ii===null)throw Error(w(308));dn=e,ii.dependencies={lanes:0,firstContext:e}}else dn=dn.next=e;return t}var zt=null;function ul(e){zt===null?zt=[e]:zt.push(e)}function yu(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,ul(t)):(n.next=i.next,i.next=n),t.interleaved=n,qe(e,r)}function qe(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var mt=!1;function cl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function vu(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function et(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function gt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,T&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,qe(e,n)}return i=r.interleaved,i===null?(t.next=t,ul(r)):(t.next=i.next,i.next=t),r.interleaved=t,qe(e,n)}function oi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Co(e,n)}}function wu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=l:o=o.next=l,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function li(e,t,n,r){var i=e.updateQueue;mt=!1;var o=i.firstBaseUpdate,l=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var a=s,u=a.next;a.next=null,l===null?o=u:l.next=u,l=a;var d=e.alternate;d!==null&&(d=d.updateQueue,s=d.lastBaseUpdate,s!==l&&(s===null?d.firstBaseUpdate=u:s.next=u,d.lastBaseUpdate=a))}if(o!==null){var h=i.baseState;l=0,d=u=a=null,s=o;do{var c=s.lane,v=s.eventTime;if((r&c)===c){d!==null&&(d=d.next={eventTime:v,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var y=e,k=s;switch(c=t,v=n,k.tag){case 1:if(y=k.payload,typeof y=="function"){h=y.call(v,h,c);break e}h=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=k.payload,c=typeof y=="function"?y.call(v,h,c):y,c==null)break e;h=A({},h,c);break e;case 2:mt=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,c=i.effects,c===null?i.effects=[s]:c.push(s))}else v={eventTime:v,lane:c,tag:s.tag,payload:s.payload,callback:s.callback,next:null},d===null?(u=d=v,a=h):d=d.next=v,l|=c;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;c=s,s=c.next,c.next=null,i.lastBaseUpdate=c,i.shared.pending=null}}while(1);if(d===null&&(a=h),i.baseState=a,i.firstBaseUpdate=u,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do l|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Tt|=l,e.lanes=l,e.memoizedState=h}}function ku(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(w(191,i));i.call(r)}}}var Su=new Fs.Component().refs;function fl(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:A({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var si={isMounted:function(e){return(e=e._reactInternals)?Nt(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ce(),i=kt(e),o=et(r,i);o.payload=t,n!=null&&(o.callback=n),t=gt(e,o,i),t!==null&&(Fe(t,e,i,r),oi(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ce(),i=kt(e),o=et(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=gt(e,o,i),t!==null&&(Fe(t,e,i,r),oi(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ce(),r=kt(e),i=et(n,r);i.tag=2,t!=null&&(i.callback=t),t=gt(e,i,r),t!==null&&(Fe(t,e,r,n),oi(t,e,r))}};function xu(e,t,n,r,i,o,l){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,l):t.prototype&&t.prototype.isPureReactComponent?!Qn(n,r)||!Qn(i,o):!0}function Eu(e,t,n){var r=!1,i=pt,o=t.contextType;return typeof o=="object"&&o!==null?o=Ne(o):(i=de(t)?Lt:re.current,r=t.contextTypes,o=(r=r!=null)?an(e,i):pt),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=si,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Cu(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&si.enqueueReplaceState(t,t.state,null)}function dl(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=Su,cl(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=Ne(o):(o=de(t)?Lt:re.current,i.context=an(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(fl(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&si.enqueueReplaceState(i,i.state,null),li(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function er(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(w(309));var r=n.stateNode}if(!r)throw Error(w(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(l){var s=i.refs;s===Su&&(s=i.refs={}),l===null?delete s[o]:s[o]=l},t._stringRef=o,t)}if(typeof e!="string")throw Error(w(284));if(!n._owner)throw Error(w(290,e))}return e}function ai(e,t){throw e=Object.prototype.toString.call(t),Error(w(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Nu(e){var t=e._init;return t(e._payload)}function Pu(e){function t(p,f){if(e){var m=p.deletions;m===null?(p.deletions=[f],p.flags|=16):m.push(f)}}function n(p,f){if(!e)return null;for(;f!==null;)t(p,f),f=f.sibling;return null}function r(p,f){for(p=new Map;f!==null;)f.key!==null?p.set(f.key,f):p.set(f.index,f),f=f.sibling;return p}function i(p,f){return p=xt(p,f),p.index=0,p.sibling=null,p}function o(p,f,m){return p.index=m,e?(m=p.alternate,m!==null?(m=m.index,m<f?(p.flags|=2,f):m):(p.flags|=2,f)):(p.flags|=1048576,f)}function l(p){return e&&p.alternate===null&&(p.flags|=2),p}function s(p,f,m,g){return f===null||f.tag!==6?(f=Jl(m,p.mode,g),f.return=p,f):(f=i(f,m),f.return=p,f)}function a(p,f,m,g){var S=m.type;return S===Yt?d(p,f,m.props.children,g,m.key):f!==null&&(f.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===rt&&Nu(S)===f.type)?(g=i(f,m.props),g.ref=er(p,f,m),g.return=p,g):(g=Li(m.type,m.key,m.props,null,p.mode,g),g.ref=er(p,f,m),g.return=p,g)}function u(p,f,m,g){return f===null||f.tag!==4||f.stateNode.containerInfo!==m.containerInfo||f.stateNode.implementation!==m.implementation?(f=Gl(m,p.mode,g),f.return=p,f):(f=i(f,m.children||[]),f.return=p,f)}function d(p,f,m,g,S){return f===null||f.tag!==7?(f=Ft(m,p.mode,g,S),f.return=p,f):(f=i(f,m),f.return=p,f)}function h(p,f,m){if(typeof f=="string"&&f!==""||typeof f=="number")return f=Jl(""+f,p.mode,m),f.return=p,f;if(typeof f=="object"&&f!==null){switch(f.$$typeof){case Cr:return m=Li(f.type,f.key,f.props,null,p.mode,m),m.ref=er(p,null,f),m.return=p,m;case Qt:return f=Gl(f,p.mode,m),f.return=p,f;case rt:var g=f._init;return h(p,g(f._payload),m)}if(On(f)||Ln(f))return f=Ft(f,p.mode,m,null),f.return=p,f;ai(p,f)}return null}function c(p,f,m,g){var S=f!==null?f.key:null;if(typeof m=="string"&&m!==""||typeof m=="number")return S!==null?null:s(p,f,""+m,g);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case Cr:return m.key===S?a(p,f,m,g):null;case Qt:return m.key===S?u(p,f,m,g):null;case rt:return S=m._init,c(p,f,S(m._payload),g)}if(On(m)||Ln(m))return S!==null?null:d(p,f,m,g,null);ai(p,m)}return null}function v(p,f,m,g,S){if(typeof g=="string"&&g!==""||typeof g=="number")return p=p.get(m)||null,s(f,p,""+g,S);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Cr:return p=p.get(g.key===null?m:g.key)||null,a(f,p,g,S);case Qt:return p=p.get(g.key===null?m:g.key)||null,u(f,p,g,S);case rt:var C=g._init;return v(p,f,m,C(g._payload),S)}if(On(g)||Ln(g))return p=p.get(m)||null,d(f,p,g,S,null);ai(f,g)}return null}function y(p,f,m,g){for(var S=null,C=null,x=f,P=f=0,H=null;x!==null&&P<m.length;P++){x.index>P?(H=x,x=null):H=x.sibling;var z=c(p,x,m[P],g);if(z===null){x===null&&(x=H);break}e&&x&&z.alternate===null&&t(p,x),f=o(z,f,P),C===null?S=z:C.sibling=z,C=z,x=H}if(P===m.length)return n(p,x),D&&Ot(p,P),S;if(x===null){for(;P<m.length;P++)x=h(p,m[P],g),x!==null&&(f=o(x,f,P),C===null?S=x:C.sibling=x,C=x);return D&&Ot(p,P),S}for(x=r(p,x);P<m.length;P++)H=v(x,p,P,m[P],g),H!==null&&(e&&H.alternate!==null&&x.delete(H.key===null?P:H.key),f=o(H,f,P),C===null?S=H:C.sibling=H,C=H);return e&&x.forEach(function(Oe){return t(p,Oe)}),D&&Ot(p,P),S}function k(p,f,m,g){var S=Ln(m);if(typeof S!="function")throw Error(w(150));if(m=S.call(m),m==null)throw Error(w(151));for(var C=S=null,x=f,P=f=0,H=null,z=m.next();x!==null&&!z.done;P++,z=m.next()){x.index>P?(H=x,x=null):H=x.sibling;var Oe=c(p,x,z.value,g);if(Oe===null){x===null&&(x=H);break}e&&x&&Oe.alternate===null&&t(p,x),f=o(Oe,f,P),C===null?S=Oe:C.sibling=Oe,C=Oe,x=H}if(z.done)return n(p,x),D&&Ot(p,P),S;if(x===null){for(;!z.done;P++,z=m.next())z=h(p,z.value,g),z!==null&&(f=o(z,f,P),C===null?S=z:C.sibling=z,C=z);return D&&Ot(p,P),S}for(x=r(p,x);!z.done;P++,z=m.next())z=v(x,p,P,z.value,g),z!==null&&(e&&z.alternate!==null&&x.delete(z.key===null?P:z.key),f=o(z,f,P),C===null?S=z:C.sibling=z,C=z);return e&&x.forEach(function(Dt){return t(p,Dt)}),D&&Ot(p,P),S}function L(p,f,m,g){if(typeof m=="object"&&m!==null&&m.type===Yt&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case Cr:e:{for(var S=m.key,C=f;C!==null;){if(C.key===S){if(S=m.type,S===Yt){if(C.tag===7){n(p,C.sibling),f=i(C,m.props.children),f.return=p,p=f;break e}}else if(C.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===rt&&Nu(S)===C.type){n(p,C.sibling),f=i(C,m.props),f.ref=er(p,C,m),f.return=p,p=f;break e}n(p,C);break}else t(p,C);C=C.sibling}m.type===Yt?(f=Ft(m.props.children,p.mode,g,m.key),f.return=p,p=f):(g=Li(m.type,m.key,m.props,null,p.mode,g),g.ref=er(p,f,m),g.return=p,p=g)}return l(p);case Qt:e:{for(C=m.key;f!==null;){if(f.key===C)if(f.tag===4&&f.stateNode.containerInfo===m.containerInfo&&f.stateNode.implementation===m.implementation){n(p,f.sibling),f=i(f,m.children||[]),f.return=p,p=f;break e}else{n(p,f);break}else t(p,f);f=f.sibling}f=Gl(m,p.mode,g),f.return=p,p=f}return l(p);case rt:return C=m._init,L(p,f,C(m._payload),g)}if(On(m))return y(p,f,m,g);if(Ln(m))return k(p,f,m,g);ai(p,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,f!==null&&f.tag===6?(n(p,f.sibling),f=i(f,m),f.return=p,p=f):(n(p,f),f=Jl(m,p.mode,g),f.return=p,p=f),l(p)):n(p,f)}return L}var hn=Pu(!0),Lu=Pu(!1),tr={},Be=dt(tr),nr=dt(tr),rr=dt(tr);function _t(e){if(e===tr)throw Error(w(174));return e}function pl(e,t){switch(b(rr,t),b(nr,e),b(Be,tr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:fo(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=fo(t,e)}F(Be),b(Be,t)}function mn(){F(Be),F(nr),F(rr)}function ju(e){_t(rr.current);var t=_t(Be.current),n=fo(t,e.type);t!==n&&(b(nr,e),b(Be,n))}function hl(e){nr.current===e&&(F(Be),F(nr))}var U=dt(0);function ui(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ml=[];function gl(){for(var e=0;e<ml.length;e++)ml[e]._workInProgressVersionPrimary=null;ml.length=0}var ci=Ye.ReactCurrentDispatcher,yl=Ye.ReactCurrentBatchConfig,Rt=0,V=null,Y=null,G=null,fi=!1,ir=!1,or=0,oh=0;function ie(){throw Error(w(321))}function vl(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Re(e[n],t[n]))return!1;return!0}function wl(e,t,n,r,i,o){if(Rt=o,V=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ci.current=e===null||e.memoizedState===null?uh:ch,e=n(r,i),ir){o=0;do{if(ir=!1,or=0,25<=o)throw Error(w(301));o+=1,G=Y=null,t.updateQueue=null,ci.current=fh,e=n(r,i)}while(ir)}if(ci.current=hi,t=Y!==null&&Y.next!==null,Rt=0,G=Y=V=null,fi=!1,t)throw Error(w(300));return e}function kl(){var e=or!==0;return or=0,e}function Ke(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return G===null?V.memoizedState=G=e:G=G.next=e,G}function Pe(){if(Y===null){var e=V.alternate;e=e!==null?e.memoizedState:null}else e=Y.next;var t=G===null?V.memoizedState:G.next;if(t!==null)G=t,Y=e;else{if(e===null)throw Error(w(310));Y=e,e={memoizedState:Y.memoizedState,baseState:Y.baseState,baseQueue:Y.baseQueue,queue:Y.queue,next:null},G===null?V.memoizedState=G=e:G=G.next=e}return G}function lr(e,t){return typeof t=="function"?t(e):t}function Sl(e){var t=Pe(),n=t.queue;if(n===null)throw Error(w(311));n.lastRenderedReducer=e;var r=Y,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var l=i.next;i.next=o.next,o.next=l}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var s=l=null,a=null,u=o;do{var d=u.lane;if((Rt&d)===d)a!==null&&(a=a.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var h={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};a===null?(s=a=h,l=r):a=a.next=h,V.lanes|=d,Tt|=d}u=u.next}while(u!==null&&u!==o);a===null?l=r:a.next=s,Re(r,t.memoizedState)||(pe=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,V.lanes|=o,Tt|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function xl(e){var t=Pe(),n=t.queue;if(n===null)throw Error(w(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var l=i=i.next;do o=e(o,l.action),l=l.next;while(l!==i);Re(o,t.memoizedState)||(pe=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Ou(){}function zu(e,t){var n=V,r=Pe(),i=t(),o=!Re(r.memoizedState,i);if(o&&(r.memoizedState=i,pe=!0),r=r.queue,El(Tu.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||G!==null&&G.memoizedState.tag&1){if(n.flags|=2048,sr(9,Ru.bind(null,n,r,i,t),void 0,null),X===null)throw Error(w(349));Rt&30||_u(n,t,i)}return i}function _u(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=V.updateQueue,t===null?(t={lastEffect:null,stores:null},V.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Ru(e,t,n,r){t.value=n,t.getSnapshot=r,$u(t)&&bu(e)}function Tu(e,t,n){return n(function(){$u(t)&&bu(e)})}function $u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Re(e,n)}catch{return!0}}function bu(e){var t=qe(e,1);t!==null&&Fe(t,e,1,-1)}function Iu(e){var t=Ke();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:lr,lastRenderedState:e},t.queue=e,e=e.dispatch=ah.bind(null,V,e),[t.memoizedState,e]}function sr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=V.updateQueue,t===null?(t={lastEffect:null,stores:null},V.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Fu(){return Pe().memoizedState}function di(e,t,n,r){var i=Ke();V.flags|=e,i.memoizedState=sr(1|t,n,void 0,r===void 0?null:r)}function pi(e,t,n,r){var i=Pe();r=r===void 0?null:r;var o=void 0;if(Y!==null){var l=Y.memoizedState;if(o=l.destroy,r!==null&&vl(r,l.deps)){i.memoizedState=sr(t,n,o,r);return}}V.flags|=e,i.memoizedState=sr(1|t,n,o,r)}function Du(e,t){return di(8390656,8,e,t)}function El(e,t){return pi(2048,8,e,t)}function Mu(e,t){return pi(4,2,e,t)}function Au(e,t){return pi(4,4,e,t)}function Uu(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Vu(e,t,n){return n=n!=null?n.concat([e]):null,pi(4,4,Uu.bind(null,t,e),n)}function Cl(){}function Hu(e,t){var n=Pe();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&vl(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Bu(e,t){var n=Pe();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&vl(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ku(e,t,n){return Rt&21?(Re(n,t)||(n=ya(),V.lanes|=n,Tt|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,pe=!0),e.memoizedState=n)}function lh(e,t){var n=$;$=n!==0&&4>n?n:4,e(!0);var r=yl.transition;yl.transition={};try{e(!1),t()}finally{$=n,yl.transition=r}}function Wu(){return Pe().memoizedState}function sh(e,t,n){var r=kt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Qu(e))Yu(t,n);else if(n=yu(e,t,n,r),n!==null){var i=ce();Fe(n,e,r,i),Ju(n,t,r)}}function ah(e,t,n){var r=kt(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Qu(e))Yu(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,s=o(l,n);if(i.hasEagerState=!0,i.eagerState=s,Re(s,l)){var a=t.interleaved;a===null?(i.next=i,ul(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=yu(e,t,i,r),n!==null&&(i=ce(),Fe(n,e,r,i),Ju(n,t,r))}}function Qu(e){var t=e.alternate;return e===V||t!==null&&t===V}function Yu(e,t){ir=fi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ju(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Co(e,n)}}var hi={readContext:Ne,useCallback:ie,useContext:ie,useEffect:ie,useImperativeHandle:ie,useInsertionEffect:ie,useLayoutEffect:ie,useMemo:ie,useReducer:ie,useRef:ie,useState:ie,useDebugValue:ie,useDeferredValue:ie,useTransition:ie,useMutableSource:ie,useSyncExternalStore:ie,useId:ie,unstable_isNewReconciler:!1},uh={readContext:Ne,useCallback:function(e,t){return Ke().memoizedState=[e,t===void 0?null:t],e},useContext:Ne,useEffect:Du,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,di(4194308,4,Uu.bind(null,t,e),n)},useLayoutEffect:function(e,t){return di(4194308,4,e,t)},useInsertionEffect:function(e,t){return di(4,2,e,t)},useMemo:function(e,t){var n=Ke();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ke();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=sh.bind(null,V,e),[r.memoizedState,e]},useRef:function(e){var t=Ke();return e={current:e},t.memoizedState=e},useState:Iu,useDebugValue:Cl,useDeferredValue:function(e){return Ke().memoizedState=e},useTransition:function(){var e=Iu(!1),t=e[0];return e=lh.bind(null,e[1]),Ke().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=V,i=Ke();if(D){if(n===void 0)throw Error(w(407));n=n()}else{if(n=t(),X===null)throw Error(w(349));Rt&30||_u(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Du(Tu.bind(null,r,o,e),[e]),r.flags|=2048,sr(9,Ru.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Ke(),t=X.identifierPrefix;if(D){var n=Ze,r=Xe;n=(r&~(1<<32-_e(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=or++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=oh++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ch={readContext:Ne,useCallback:Hu,useContext:Ne,useEffect:El,useImperativeHandle:Vu,useInsertionEffect:Mu,useLayoutEffect:Au,useMemo:Bu,useReducer:Sl,useRef:Fu,useState:function(){return Sl(lr)},useDebugValue:Cl,useDeferredValue:function(e){var t=Pe();return Ku(t,Y.memoizedState,e)},useTransition:function(){var e=Sl(lr)[0],t=Pe().memoizedState;return[e,t]},useMutableSource:Ou,useSyncExternalStore:zu,useId:Wu,unstable_isNewReconciler:!1},fh={readContext:Ne,useCallback:Hu,useContext:Ne,useEffect:El,useImperativeHandle:Vu,useInsertionEffect:Mu,useLayoutEffect:Au,useMemo:Bu,useReducer:xl,useRef:Fu,useState:function(){return xl(lr)},useDebugValue:Cl,useDeferredValue:function(e){var t=Pe();return Y===null?t.memoizedState=e:Ku(t,Y.memoizedState,e)},useTransition:function(){var e=xl(lr)[0],t=Pe().memoizedState;return[e,t]},useMutableSource:Ou,useSyncExternalStore:zu,useId:Wu,unstable_isNewReconciler:!1};function gn(e,t){try{var n="",r=t;do n+=Md(r),r=r.return;while(r);var i=n}catch(o){i=`
47
46
  Error generating stack: `+o.message+`
48
- `+o.stack}return{value:e,source:t,stack:i,digest:null}}function Ml(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Al(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var $h=typeof WeakMap=="function"?WeakMap:Map;function Uc(e,t,n){n=st(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){$i||($i=!0,ta=r),Al(e,t)},n}function Vc(e,t,n){n=st(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Al(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Al(e,t),typeof r!="function"&&(Rt===null?Rt=new Set([this]):Rt.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}function Hc(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new $h;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Zh.bind(null,e,t,n),t.then(e,e))}function Bc(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Kc(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=st(-1,1),t.tag=2,Lt(n,t,1))),n.lanes|=1),e)}var Mh=nt.ReactCurrentOwner,pe=!1;function ue(e,t,n,r){t.child=e===null?yc(t,null,n,r):On(t,e.child,n,r)}function Wc(e,t,n,r,i){n=n.render;var o=t.ref;return _n(t,i),r=Tl(e,t,n,r,o,i),n=zl(),e!==null&&!pe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ut(e,t,i)):(A&&n&&ml(t),t.flags|=1,ue(e,t,r,i),t.child)}function Qc(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!sa(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,Yc(e,t,o,r,i)):(e=Bi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var l=o.memoizedProps;if(n=n.compare,n=n!==null?n:sr,n(l,r)&&e.ref===t.ref)return ut(e,t,i)}return t.flags|=1,e=Ft(o,r),e.ref=t.ref,e.return=t,t.child=e}function Yc(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(sr(o,r)&&e.ref===t.ref)if(pe=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(pe=!0);else return t.lanes=e.lanes,ut(e,t,i)}return Ul(e,t,n,r,i)}function Jc(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},D(bn,xe),xe|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,D(bn,xe),xe|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,D(bn,xe),xe|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,D(bn,xe),xe|=r;return ue(e,t,i,n),t.child}function Gc(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ul(e,t,n,r,i){var o=de(n)?Vt:re.current;return o=Sn(t,o),_n(t,i),n=Tl(e,t,n,r,o,i),r=zl(),e!==null&&!pe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ut(e,t,i)):(A&&r&&ml(t),t.flags|=1,ue(e,t,n,i),t.child)}function Xc(e,t,n,r,i){if(de(n)){var o=!0;hi(t)}else o=!1;if(_n(t,i),t.stateNode===null)Ti(e,t),mc(t,n,r),_l(t,n,r,i),r=!0;else if(e===null){var l=t.stateNode,a=t.memoizedProps;l.props=a;var s=l.context,u=n.contextType;typeof u=="object"&&u!==null?u=Ne(u):(u=de(n)?Vt:re.current,u=Sn(t,u));var m=n.getDerivedStateFromProps,f=typeof m=="function"||typeof l.getSnapshotBeforeUpdate=="function";f||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(a!==r||s!==u)&&hc(t,l,r,u),jt=!1;var p=t.memoizedState;l.state=p,Ei(t,r,l,i),s=t.memoizedState,a!==r||p!==s||fe.current||jt?(typeof m=="function"&&(Cl(t,n,m,r),s=t.memoizedState),(a=jt||pc(t,n,a,r,p,s,u))?(f||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),l.props=r,l.state=s,l.context=u,r=a):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,uc(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:De(t.type,a),l.props=u,f=t.pendingProps,p=l.context,s=n.contextType,typeof s=="object"&&s!==null?s=Ne(s):(s=de(n)?Vt:re.current,s=Sn(t,s));var g=n.getDerivedStateFromProps;(m=typeof g=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(a!==f||p!==s)&&hc(t,l,r,s),jt=!1,p=t.memoizedState,l.state=p,Ei(t,r,l,i);var v=t.memoizedState;a!==f||p!==v||fe.current||jt?(typeof g=="function"&&(Cl(t,n,g,r),v=t.memoizedState),(u=jt||pc(t,n,u,r,p,v,s)||!1)?(m||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,v,s),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,v,s)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),l.props=r,l.state=v,l.context=s,r=u):(typeof l.componentDidUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Vl(e,t,n,r,o,i)}function Vl(e,t,n,r,i,o){Gc(e,t);var l=(t.flags&128)!==0;if(!r&&!l)return i&&tc(t,n,!1),ut(e,t,o);r=t.stateNode,Mh.current=t;var a=l&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=On(t,e.child,null,o),t.child=On(t,null,a,o)):ue(e,t,a,o),t.memoizedState=r.state,i&&tc(t,n,!0),t.child}function Zc(e){var t=e.stateNode;t.pendingContext?qu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&qu(e,t.context,!1),Ol(e,t.containerInfo)}function qc(e,t,n,r,i){return Pn(),yl(i),t.flags|=256,ue(e,t,n,r),t.child}var Hl={dehydrated:null,treeContext:null,retryLane:0};function Bl(e){return{baseLanes:e,cachePool:null,transitions:null}}function ef(e,t,n){var r=t.pendingProps,i=H.current,o=!1,l=(t.flags&128)!==0,a;if((a=l)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),D(H,i&1),e===null)return vl(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=r.children,e=r.fallback,o?(r=t.mode,o=t.child,l={mode:"hidden",children:l},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=l):o=Ki(l,r,0,null),e=Zt(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Bl(n),t.memoizedState=Hl,e):Kl(t,l));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return Ah(e,t,l,r,a,i,n);if(o){o=r.fallback,l=t.mode,i=e.child,a=i.sibling;var s={mode:"hidden",children:r.children};return!(l&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=s,t.deletions=null):(r=Ft(i,s),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?o=Ft(a,o):(o=Zt(o,l,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,l=e.child.memoizedState,l=l===null?Bl(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},o.memoizedState=l,o.childLanes=e.childLanes&~n,t.memoizedState=Hl,r}return o=e.child,e=o.sibling,r=Ft(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Kl(e,t){return t=Ki({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ri(e,t,n,r){return r!==null&&yl(r),On(t,e.child,null,n),e=Kl(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ah(e,t,n,r,i,o,l){if(n)return t.flags&256?(t.flags&=-257,r=Ml(Error(k(422))),Ri(e,t,l,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Ki({mode:"visible",children:r.children},i,0,null),o=Zt(o,i,l,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&On(t,e.child,null,l),t.child.memoizedState=Bl(l),t.memoizedState=Hl,o);if(!(t.mode&1))return Ri(e,t,l,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,o=Error(k(419)),r=Ml(o,r,void 0),Ri(e,t,l,r)}if(a=(l&e.childLanes)!==0,pe||a){if(r=Z,r!==null){switch(l&-l){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|l)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,at(e,i),Ae(r,e,i,-1))}return aa(),r=Ml(Error(k(421))),Ri(e,t,l,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=qh.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,Se=Ct(i.nextSibling),ke=t,A=!0,Fe=null,e!==null&&(_e[Oe++]=ot,_e[Oe++]=lt,_e[Oe++]=Ht,ot=e.id,lt=e.overflow,Ht=t),t=Kl(t,r.children),t.flags|=4096,t)}function tf(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),xl(e.return,t,n)}function Wl(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function nf(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(ue(e,t,r.children,n),r=H.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&tf(e,n,t);else if(e.tag===19)tf(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(D(H,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&_i(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Wl(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&_i(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Wl(t,!0,n,null,o);break;case"together":Wl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ti(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ut(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Yt|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(k(153));if(t.child!==null){for(e=t.child,n=Ft(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Ft(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Uh(e,t,n){switch(t.tag){case 3:Zc(t),Pn();break;case 5:wc(t);break;case 1:de(t.type)&&hi(t);break;case 4:Ol(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;D(ki,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(D(H,H.current&1),t.flags|=128,null):n&t.child.childLanes?ef(e,t,n):(D(H,H.current&1),e=ut(e,t,n),e!==null?e.sibling:null);D(H,H.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return nf(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),D(H,H.current),r)break;return null;case 22:case 23:return t.lanes=0,Jc(e,t,n)}return ut(e,t,n)}var rf,Ql,of,lf;rf=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ql=function(){},of=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Wt(Je.current);var o=null;switch(n){case"input":i=xo(e,i),r=xo(e,r),o=[];break;case"select":i=V({},i,{value:void 0}),r=V({},r,{value:void 0}),o=[];break;case"textarea":i=Co(e,i),r=Co(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=di)}Oo(n,r);var l;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(l in a)a.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Un.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var s=r[u];if(a=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&s!==a&&(s!=null||a!=null))if(u==="style")if(a){for(l in a)!a.hasOwnProperty(l)||s&&s.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in s)s.hasOwnProperty(l)&&a[l]!==s[l]&&(n||(n={}),n[l]=s[l])}else n||(o||(o=[]),o.push(u,n)),n=s;else u==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,a=a?a.__html:void 0,s!=null&&a!==s&&(o=o||[]).push(u,s)):u==="children"?typeof s!="string"&&typeof s!="number"||(o=o||[]).push(u,""+s):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Un.hasOwnProperty(u)?(s!=null&&u==="onScroll"&&$("scroll",e),o||a===s||(o=[])):(o=o||[]).push(u,s))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}},lf=function(e,t,n,r){n!==r&&(t.flags|=4)};function Er(e,t){if(!A)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function oe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Vh(e,t,n){var r=t.pendingProps;switch(hl(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return oe(t),null;case 1:return de(t.type)&&mi(),oe(t),null;case 3:return r=t.stateNode,Nn(),M(fe),M(re),Ll(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(wi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Fe!==null&&(ia(Fe),Fe=null))),Ql(e,t),oe(t),null;case 5:Nl(t);var i=Wt(yr.current);if(n=t.type,e!==null&&t.stateNode!=null)of(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(k(166));return oe(t),null}if(e=Wt(Je.current),wi(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Ye]=t,r[pr]=o,e=(t.mode&1)!==0,n){case"dialog":$("cancel",r),$("close",r);break;case"iframe":case"object":case"embed":$("load",r);break;case"video":case"audio":for(i=0;i<cr.length;i++)$(cr[i],r);break;case"source":$("error",r);break;case"img":case"image":case"link":$("error",r),$("load",r);break;case"details":$("toggle",r);break;case"input":$s(r,o),$("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},$("invalid",r);break;case"textarea":Us(r,o),$("invalid",r)}Oo(n,o),i=null;for(var l in o)if(o.hasOwnProperty(l)){var a=o[l];l==="children"?typeof a=="string"?r.textContent!==a&&(o.suppressHydrationWarning!==!0&&fi(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(o.suppressHydrationWarning!==!0&&fi(r.textContent,a,e),i=["children",""+a]):Un.hasOwnProperty(l)&&a!=null&&l==="onScroll"&&$("scroll",r)}switch(n){case"input":Vr(r),As(r,o,!0);break;case"textarea":Vr(r),Hs(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=di)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{l=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Bs(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=l.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[Ye]=t,e[pr]=r,rf(e,t,!1,!1),t.stateNode=e;e:{switch(l=No(n,r),n){case"dialog":$("cancel",e),$("close",e),i=r;break;case"iframe":case"object":case"embed":$("load",e),i=r;break;case"video":case"audio":for(i=0;i<cr.length;i++)$(cr[i],e);i=r;break;case"source":$("error",e),i=r;break;case"img":case"image":case"link":$("error",e),$("load",e),i=r;break;case"details":$("toggle",e),i=r;break;case"input":$s(e,r),i=xo(e,r),$("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=V({},r,{value:void 0}),$("invalid",e);break;case"textarea":Us(e,r),i=Co(e,r),$("invalid",e);break;default:i=r}Oo(n,i),a=i;for(o in a)if(a.hasOwnProperty(o)){var s=a[o];o==="style"?Qs(e,s):o==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&Ks(e,s)):o==="children"?typeof s=="string"?(n!=="textarea"||s!=="")&&Kn(e,s):typeof s=="number"&&Kn(e,""+s):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Un.hasOwnProperty(o)?s!=null&&o==="onScroll"&&$("scroll",e):s!=null&&co(e,o,s,l))}switch(n){case"input":Vr(e),As(e,r,!1);break;case"textarea":Vr(e),Hs(e);break;case"option":r.value!=null&&e.setAttribute("value",""+yt(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?un(e,!!r.multiple,o,!1):r.defaultValue!=null&&un(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=di)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return oe(t),null;case 6:if(e&&t.stateNode!=null)lf(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(k(166));if(n=Wt(yr.current),Wt(Je.current),wi(t)){if(r=t.stateNode,n=t.memoizedProps,r[Ye]=t,(o=r.nodeValue!==n)&&(e=ke,e!==null))switch(e.tag){case 3:fi(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&fi(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Ye]=t,t.stateNode=r}return oe(t),null;case 13:if(M(H),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(A&&Se!==null&&t.mode&1&&!(t.flags&128))ac(),Pn(),t.flags|=98560,o=!1;else if(o=wi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(k(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(k(317));o[Ye]=t}else Pn(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;oe(t),o=!1}else Fe!==null&&(ia(Fe),Fe=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||H.current&1?G===0&&(G=3):aa())),t.updateQueue!==null&&(t.flags|=4),oe(t),null);case 4:return Nn(),Ql(e,t),e===null&&fr(t.stateNode.containerInfo),oe(t),null;case 10:return Sl(t.type._context),oe(t),null;case 17:return de(t.type)&&mi(),oe(t),null;case 19:if(M(H),o=t.memoizedState,o===null)return oe(t),null;if(r=(t.flags&128)!==0,l=o.rendering,l===null)if(r)Er(o,!1);else{if(G!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(l=_i(e),l!==null){for(t.flags|=128,Er(o,!1),r=l.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,l=o.alternate,l===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=l.childLanes,o.lanes=l.lanes,o.child=l.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=l.memoizedProps,o.memoizedState=l.memoizedState,o.updateQueue=l.updateQueue,o.type=l.type,e=l.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return D(H,H.current&1|2),t.child}e=e.sibling}o.tail!==null&&W()>Rn&&(t.flags|=128,r=!0,Er(o,!1),t.lanes=4194304)}else{if(!r)if(e=_i(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Er(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!A)return oe(t),null}else 2*W()-o.renderingStartTime>Rn&&n!==1073741824&&(t.flags|=128,r=!0,Er(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(n=o.last,n!==null?n.sibling=l:t.child=l,o.last=l)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=W(),t.sibling=null,n=H.current,D(H,r?n&1|2:n&1),t):(oe(t),null);case 22:case 23:return la(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?xe&1073741824&&(oe(t),t.subtreeFlags&6&&(t.flags|=8192)):oe(t),null;case 24:return null;case 25:return null}throw Error(k(156,t.tag))}function Hh(e,t){switch(hl(t),t.tag){case 1:return de(t.type)&&mi(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Nn(),M(fe),M(re),Ll(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Nl(t),null;case 13:if(M(H),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(k(340));Pn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return M(H),null;case 4:return Nn(),null;case 10:return Sl(t.type._context),null;case 22:case 23:return la(),null;case 24:return null;default:return null}}var zi=!1,le=!1,Bh=typeof WeakSet=="function"?WeakSet:Set,C=null;function Ln(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){K(e,t,r)}else n.current=null}function Yl(e,t,n){try{n()}catch(r){K(e,t,r)}}var af=!1;function Kh(e,t){if(ll=ei,e=Du(),Zo(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var l=0,a=-1,s=-1,u=0,m=0,f=e,p=null;t:for(;;){for(var g;f!==n||i!==0&&f.nodeType!==3||(a=l+i),f!==o||r!==0&&f.nodeType!==3||(s=l+r),f.nodeType===3&&(l+=f.nodeValue.length),(g=f.firstChild)!==null;)p=f,f=g;for(;;){if(f===e)break t;if(p===n&&++u===i&&(a=l),p===o&&++m===r&&(s=l),(g=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=g}n=a===-1||s===-1?null:{start:a,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(al={focusedElem:e,selectionRange:n},ei=!1,C=t;C!==null;)if(t=C,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,C=e;else for(;C!==null;){t=C;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var w=v.memoizedProps,x=v.memoizedState,d=t.stateNode,c=d.getSnapshotBeforeUpdate(t.elementType===t.type?w:De(t.type,w),x);d.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(k(163))}}catch(y){K(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,C=e;break}C=t.return}return v=af,af=!1,v}function Pr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Yl(t,n,o)}i=i.next}while(i!==r)}}function Ii(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Jl(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function sf(e){var t=e.alternate;t!==null&&(e.alternate=null,sf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ye],delete t[pr],delete t[fl],delete t[Oh],delete t[Nh])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function uf(e){return e.tag===5||e.tag===3||e.tag===4}function cf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||uf(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Gl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=di));else if(r!==4&&(e=e.child,e!==null))for(Gl(e,t,n),e=e.sibling;e!==null;)Gl(e,t,n),e=e.sibling}function Xl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Xl(e,t,n),e=e.sibling;e!==null;)Xl(e,t,n),e=e.sibling}var ee=null,$e=!1;function bt(e,t,n){for(n=n.child;n!==null;)ff(e,t,n),n=n.sibling}function ff(e,t,n){if(Qe&&typeof Qe.onCommitFiberUnmount=="function")try{Qe.onCommitFiberUnmount(Yr,n)}catch{}switch(n.tag){case 5:le||Ln(n,t);case 6:var r=ee,i=$e;ee=null,bt(e,t,n),ee=r,$e=i,ee!==null&&($e?(e=ee,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ee.removeChild(n.stateNode));break;case 18:ee!==null&&($e?(e=ee,n=n.stateNode,e.nodeType===8?cl(e.parentNode,n):e.nodeType===1&&cl(e,n),nr(e)):cl(ee,n.stateNode));break;case 4:r=ee,i=$e,ee=n.stateNode.containerInfo,$e=!0,bt(e,t,n),ee=r,$e=i;break;case 0:case 11:case 14:case 15:if(!le&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,l=o.destroy;o=o.tag,l!==void 0&&(o&2||o&4)&&Yl(n,t,l),i=i.next}while(i!==r)}bt(e,t,n);break;case 1:if(!le&&(Ln(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){K(n,t,a)}bt(e,t,n);break;case 21:bt(e,t,n);break;case 22:n.mode&1?(le=(r=le)||n.memoizedState!==null,bt(e,t,n),le=r):bt(e,t,n);break;default:bt(e,t,n)}}function df(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Bh),t.forEach(function(r){var i=eg.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Me(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,l=t,a=l;e:for(;a!==null;){switch(a.tag){case 5:ee=a.stateNode,$e=!1;break e;case 3:ee=a.stateNode.containerInfo,$e=!0;break e;case 4:ee=a.stateNode.containerInfo,$e=!0;break e}a=a.return}if(ee===null)throw Error(k(160));ff(o,l,i),ee=null,$e=!1;var s=i.alternate;s!==null&&(s.return=null),i.return=null}catch(u){K(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)pf(t,e),t=t.sibling}function pf(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Me(t,e),Xe(e),r&4){try{Pr(3,e,e.return),Ii(3,e)}catch(w){K(e,e.return,w)}try{Pr(5,e,e.return)}catch(w){K(e,e.return,w)}}break;case 1:Me(t,e),Xe(e),r&512&&n!==null&&Ln(n,n.return);break;case 5:if(Me(t,e),Xe(e),r&512&&n!==null&&Ln(n,n.return),e.flags&32){var i=e.stateNode;try{Kn(i,"")}catch(w){K(e,e.return,w)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,l=n!==null?n.memoizedProps:o,a=e.type,s=e.updateQueue;if(e.updateQueue=null,s!==null)try{a==="input"&&o.type==="radio"&&o.name!=null&&Ms(i,o),No(a,l);var u=No(a,o);for(l=0;l<s.length;l+=2){var m=s[l],f=s[l+1];m==="style"?Qs(i,f):m==="dangerouslySetInnerHTML"?Ks(i,f):m==="children"?Kn(i,f):co(i,m,f,u)}switch(a){case"input":Eo(i,o);break;case"textarea":Vs(i,o);break;case"select":var p=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var g=o.value;g!=null?un(i,!!o.multiple,g,!1):p!==!!o.multiple&&(o.defaultValue!=null?un(i,!!o.multiple,o.defaultValue,!0):un(i,!!o.multiple,o.multiple?[]:"",!1))}i[pr]=o}catch(w){K(e,e.return,w)}}break;case 6:if(Me(t,e),Xe(e),r&4){if(e.stateNode===null)throw Error(k(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(w){K(e,e.return,w)}}break;case 3:if(Me(t,e),Xe(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{nr(t.containerInfo)}catch(w){K(e,e.return,w)}break;case 4:Me(t,e),Xe(e);break;case 13:Me(t,e),Xe(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(ea=W())),r&4&&df(e);break;case 22:if(m=n!==null&&n.memoizedState!==null,e.mode&1?(le=(u=le)||m,Me(t,e),le=u):Me(t,e),Xe(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!m&&e.mode&1)for(C=e,m=e.child;m!==null;){for(f=C=m;C!==null;){switch(p=C,g=p.child,p.tag){case 0:case 11:case 14:case 15:Pr(4,p,p.return);break;case 1:Ln(p,p.return);var v=p.stateNode;if(typeof v.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(w){K(r,n,w)}}break;case 5:Ln(p,p.return);break;case 22:if(p.memoizedState!==null){gf(f);continue}}g!==null?(g.return=p,C=g):gf(f)}m=m.sibling}e:for(m=null,f=e;;){if(f.tag===5){if(m===null){m=f;try{i=f.stateNode,u?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(a=f.stateNode,s=f.memoizedProps.style,l=s!=null&&s.hasOwnProperty("display")?s.display:null,a.style.display=Ws("display",l))}catch(w){K(e,e.return,w)}}}else if(f.tag===6){if(m===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(w){K(e,e.return,w)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;m===f&&(m=null),f=f.return}m===f&&(m=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:Me(t,e),Xe(e),r&4&&df(e);break;case 21:break;default:Me(t,e),Xe(e)}}function Xe(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(uf(n)){var r=n;break e}n=n.return}throw Error(k(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Kn(i,""),r.flags&=-33);var o=cf(e);Xl(e,o,i);break;case 3:case 4:var l=r.stateNode.containerInfo,a=cf(e);Gl(e,a,l);break;default:throw Error(k(161))}}catch(s){K(e,e.return,s)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Wh(e,t,n){C=e,mf(e)}function mf(e,t,n){for(var r=(e.mode&1)!==0;C!==null;){var i=C,o=i.child;if(i.tag===22&&r){var l=i.memoizedState!==null||zi;if(!l){var a=i.alternate,s=a!==null&&a.memoizedState!==null||le;a=zi;var u=le;if(zi=l,(le=s)&&!u)for(C=i;C!==null;)l=C,s=l.child,l.tag===22&&l.memoizedState!==null?vf(i):s!==null?(s.return=l,C=s):vf(i);for(;o!==null;)C=o,mf(o),o=o.sibling;C=i,zi=a,le=u}hf(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,C=o):hf(e)}}function hf(e){for(;C!==null;){var t=C;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:le||Ii(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!le)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:De(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&fc(t,o,r);break;case 3:var l=t.updateQueue;if(l!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}fc(t,l,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var m=u.memoizedState;if(m!==null){var f=m.dehydrated;f!==null&&nr(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(k(163))}le||t.flags&512&&Jl(t)}catch(p){K(t,t.return,p)}}if(t===e){C=null;break}if(n=t.sibling,n!==null){n.return=t.return,C=n;break}C=t.return}}function gf(e){for(;C!==null;){var t=C;if(t===e){C=null;break}var n=t.sibling;if(n!==null){n.return=t.return,C=n;break}C=t.return}}function vf(e){for(;C!==null;){var t=C;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Ii(4,t)}catch(s){K(t,n,s)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(s){K(t,i,s)}}var o=t.return;try{Jl(t)}catch(s){K(t,o,s)}break;case 5:var l=t.return;try{Jl(t)}catch(s){K(t,l,s)}}}catch(s){K(t,t.return,s)}if(t===e){C=null;break}var a=t.sibling;if(a!==null){a.return=t.return,C=a;break}C=t.return}}var Qh=Math.ceil,Fi=nt.ReactCurrentDispatcher,Zl=nt.ReactCurrentOwner,Le=nt.ReactCurrentBatchConfig,T=0,Z=null,Q=null,te=0,xe=0,bn=_t(0),G=0,Cr=null,Yt=0,Di=0,ql=0,_r=null,me=null,ea=0,Rn=1/0,ct=null,$i=!1,ta=null,Rt=null,Mi=!1,Tt=null,Ai=0,Or=0,na=null,Ui=-1,Vi=0;function ce(){return T&6?W():Ui!==-1?Ui:Ui=W()}function zt(e){return e.mode&1?T&2&&te!==0?te&-te:Lh.transition!==null?(Vi===0&&(Vi=su()),Vi):(e=z,e!==0||(e=window.event,e=e===void 0?16:vu(e.type)),e):1}function Ae(e,t,n,r){if(50<Or)throw Or=0,na=null,Error(k(185));Xn(e,n,r),(!(T&2)||e!==Z)&&(e===Z&&(!(T&2)&&(Di|=n),G===4&&It(e,te)),he(e,r),n===1&&T===0&&!(t.mode&1)&&(Rn=W()+500,gi&&Nt()))}function he(e,t){var n=e.callbackNode;Lm(e,t);var r=Xr(e,e===Z?te:0);if(r===0)n!==null&&ou(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&ou(n),t===1)e.tag===0?jh(wf.bind(null,e)):nc(wf.bind(null,e)),Ch(function(){!(T&6)&&Nt()}),n=null;else{switch(uu(r)){case 1:n=Io;break;case 4:n=lu;break;case 16:n=Qr;break;case 536870912:n=au;break;default:n=Qr}n=Of(n,yf.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function yf(e,t){if(Ui=-1,Vi=0,T&6)throw Error(k(327));var n=e.callbackNode;if(Tn()&&e.callbackNode!==n)return null;var r=Xr(e,e===Z?te:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Hi(e,r);else{t=r;var i=T;T|=2;var o=Sf();(Z!==e||te!==t)&&(ct=null,Rn=W()+500,Gt(e,t));do try{Gh();break}catch(a){kf(e,a)}while(1);kl(),Fi.current=o,T=i,Q!==null?t=0:(Z=null,te=0,t=G)}if(t!==0){if(t===2&&(i=Fo(e),i!==0&&(r=i,t=ra(e,i))),t===1)throw n=Cr,Gt(e,0),It(e,r),he(e,W()),n;if(t===6)It(e,r);else{if(i=e.current.alternate,!(r&30)&&!Yh(i)&&(t=Hi(e,r),t===2&&(o=Fo(e),o!==0&&(r=o,t=ra(e,o))),t===1))throw n=Cr,Gt(e,0),It(e,r),he(e,W()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(k(345));case 2:Xt(e,me,ct);break;case 3:if(It(e,r),(r&130023424)===r&&(t=ea+500-W(),10<t)){if(Xr(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){ce(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=ul(Xt.bind(null,e,me,ct),t);break}Xt(e,me,ct);break;case 4:if(It(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var l=31-ze(r);o=1<<l,l=t[l],l>i&&(i=l),r&=~o}if(r=i,r=W()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Qh(r/1960))-r,10<r){e.timeoutHandle=ul(Xt.bind(null,e,me,ct),r);break}Xt(e,me,ct);break;case 5:Xt(e,me,ct);break;default:throw Error(k(329))}}}return he(e,W()),e.callbackNode===n?yf.bind(null,e):null}function ra(e,t){var n=_r;return e.current.memoizedState.isDehydrated&&(Gt(e,t).flags|=256),e=Hi(e,t),e!==2&&(t=me,me=n,t!==null&&ia(t)),e}function ia(e){me===null?me=e:me.push.apply(me,e)}function Yh(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!Ie(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function It(e,t){for(t&=~ql,t&=~Di,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ze(t),r=1<<n;e[n]=-1,t&=~r}}function wf(e){if(T&6)throw Error(k(327));Tn();var t=Xr(e,0);if(!(t&1))return he(e,W()),null;var n=Hi(e,t);if(e.tag!==0&&n===2){var r=Fo(e);r!==0&&(t=r,n=ra(e,r))}if(n===1)throw n=Cr,Gt(e,0),It(e,t),he(e,W()),n;if(n===6)throw Error(k(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Xt(e,me,ct),he(e,W()),null}function oa(e,t){var n=T;T|=1;try{return e(t)}finally{T=n,T===0&&(Rn=W()+500,gi&&Nt())}}function Jt(e){Tt!==null&&Tt.tag===0&&!(T&6)&&Tn();var t=T;T|=1;var n=Le.transition,r=z;try{if(Le.transition=null,z=1,e)return e()}finally{z=r,Le.transition=n,T=t,!(T&6)&&Nt()}}function la(){xe=bn.current,M(bn)}function Gt(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Ph(n)),Q!==null)for(n=Q.return;n!==null;){var r=n;switch(hl(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&mi();break;case 3:Nn(),M(fe),M(re),Ll();break;case 5:Nl(r);break;case 4:Nn();break;case 13:M(H);break;case 19:M(H);break;case 10:Sl(r.type._context);break;case 22:case 23:la()}n=n.return}if(Z=e,Q=e=Ft(e.current,null),te=xe=t,G=0,Cr=null,ql=Di=Yt=0,me=_r=null,Kt!==null){for(t=0;t<Kt.length;t++)if(n=Kt[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var l=o.next;o.next=i,r.next=l}n.pending=r}Kt=null}return e}function kf(e,t){do{var n=Q;try{if(kl(),Oi.current=bi,Ni){for(var r=B.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}Ni=!1}if(Qt=0,X=J=B=null,wr=!1,kr=0,Zl.current=null,n===null||n.return===null){G=1,Cr=t,Q=null;break}e:{var o=e,l=n.return,a=n,s=t;if(t=te,a.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){var u=s,m=a,f=m.tag;if(!(m.mode&1)&&(f===0||f===11||f===15)){var p=m.alternate;p?(m.updateQueue=p.updateQueue,m.memoizedState=p.memoizedState,m.lanes=p.lanes):(m.updateQueue=null,m.memoizedState=null)}var g=Bc(l);if(g!==null){g.flags&=-257,Kc(g,l,a,o,t),g.mode&1&&Hc(o,u,t),t=g,s=u;var v=t.updateQueue;if(v===null){var w=new Set;w.add(s),t.updateQueue=w}else v.add(s);break e}else{if(!(t&1)){Hc(o,u,t),aa();break e}s=Error(k(426))}}else if(A&&a.mode&1){var x=Bc(l);if(x!==null){!(x.flags&65536)&&(x.flags|=256),Kc(x,l,a,o,t),yl(jn(s,a));break e}}o=s=jn(s,a),G!==4&&(G=2),_r===null?_r=[o]:_r.push(o),o=l;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var d=Uc(o,s,t);cc(o,d);break e;case 1:a=s;var c=o.type,h=o.stateNode;if(!(o.flags&128)&&(typeof c.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(Rt===null||!Rt.has(h)))){o.flags|=65536,t&=-t,o.lanes|=t;var y=Vc(o,a,t);cc(o,y);break e}}o=o.return}while(o!==null)}Ef(n)}catch(S){t=S,Q===n&&n!==null&&(Q=n=n.return);continue}break}while(1)}function Sf(){var e=Fi.current;return Fi.current=bi,e===null?bi:e}function aa(){(G===0||G===3||G===2)&&(G=4),Z===null||!(Yt&268435455)&&!(Di&268435455)||It(Z,te)}function Hi(e,t){var n=T;T|=2;var r=Sf();(Z!==e||te!==t)&&(ct=null,Gt(e,t));do try{Jh();break}catch(i){kf(e,i)}while(1);if(kl(),T=n,Fi.current=r,Q!==null)throw Error(k(261));return Z=null,te=0,G}function Jh(){for(;Q!==null;)xf(Q)}function Gh(){for(;Q!==null&&!Sm();)xf(Q)}function xf(e){var t=_f(e.alternate,e,xe);e.memoizedProps=e.pendingProps,t===null?Ef(e):Q=t,Zl.current=null}function Ef(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Hh(n,t),n!==null){n.flags&=32767,Q=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{G=6,Q=null;return}}else if(n=Vh(n,t,xe),n!==null){Q=n;return}if(t=t.sibling,t!==null){Q=t;return}Q=t=e}while(t!==null);G===0&&(G=5)}function Xt(e,t,n){var r=z,i=Le.transition;try{Le.transition=null,z=1,Xh(e,t,n,r)}finally{Le.transition=i,z=r}return null}function Xh(e,t,n,r){do Tn();while(Tt!==null);if(T&6)throw Error(k(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(k(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(bm(e,o),e===Z&&(Q=Z=null,te=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Mi||(Mi=!0,Of(Qr,function(){return Tn(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=Le.transition,Le.transition=null;var l=z;z=1;var a=T;T|=4,Zl.current=null,Kh(e,n),pf(n,e),vh(al),ei=!!ll,al=ll=null,e.current=n,Wh(n),xm(),T=a,z=l,Le.transition=o}else e.current=n;if(Mi&&(Mi=!1,Tt=e,Ai=i),o=e.pendingLanes,o===0&&(Rt=null),Cm(n.stateNode),he(e,W()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if($i)throw $i=!1,e=ta,ta=null,e;return Ai&1&&e.tag!==0&&Tn(),o=e.pendingLanes,o&1?e===na?Or++:(Or=0,na=e):Or=0,Nt(),null}function Tn(){if(Tt!==null){var e=uu(Ai),t=Le.transition,n=z;try{if(Le.transition=null,z=16>e?16:e,Tt===null)var r=!1;else{if(e=Tt,Tt=null,Ai=0,T&6)throw Error(k(331));var i=T;for(T|=4,C=e.current;C!==null;){var o=C,l=o.child;if(C.flags&16){var a=o.deletions;if(a!==null){for(var s=0;s<a.length;s++){var u=a[s];for(C=u;C!==null;){var m=C;switch(m.tag){case 0:case 11:case 15:Pr(8,m,o)}var f=m.child;if(f!==null)f.return=m,C=f;else for(;C!==null;){m=C;var p=m.sibling,g=m.return;if(sf(m),m===u){C=null;break}if(p!==null){p.return=g,C=p;break}C=g}}}var v=o.alternate;if(v!==null){var w=v.child;if(w!==null){v.child=null;do{var x=w.sibling;w.sibling=null,w=x}while(w!==null)}}C=o}}if(o.subtreeFlags&2064&&l!==null)l.return=o,C=l;else e:for(;C!==null;){if(o=C,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Pr(9,o,o.return)}var d=o.sibling;if(d!==null){d.return=o.return,C=d;break e}C=o.return}}var c=e.current;for(C=c;C!==null;){l=C;var h=l.child;if(l.subtreeFlags&2064&&h!==null)h.return=l,C=h;else e:for(l=c;C!==null;){if(a=C,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Ii(9,a)}}catch(S){K(a,a.return,S)}if(a===l){C=null;break e}var y=a.sibling;if(y!==null){y.return=a.return,C=y;break e}C=a.return}}if(T=i,Nt(),Qe&&typeof Qe.onPostCommitFiberRoot=="function")try{Qe.onPostCommitFiberRoot(Yr,e)}catch{}r=!0}return r}finally{z=n,Le.transition=t}}return!1}function Pf(e,t,n){t=jn(n,t),t=Uc(e,t,1),e=Lt(e,t,1),t=ce(),e!==null&&(Xn(e,1,t),he(e,t))}function K(e,t,n){if(e.tag===3)Pf(e,e,n);else for(;t!==null;){if(t.tag===3){Pf(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Rt===null||!Rt.has(r))){e=jn(n,e),e=Vc(t,e,1),t=Lt(t,e,1),e=ce(),t!==null&&(Xn(t,1,e),he(t,e));break}}t=t.return}}function Zh(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=ce(),e.pingedLanes|=e.suspendedLanes&n,Z===e&&(te&n)===n&&(G===4||G===3&&(te&130023424)===te&&500>W()-ea?Gt(e,0):ql|=n),he(e,t)}function Cf(e,t){t===0&&(e.mode&1?(t=Gr,Gr<<=1,!(Gr&130023424)&&(Gr=4194304)):t=1);var n=ce();e=at(e,t),e!==null&&(Xn(e,t,n),he(e,n))}function qh(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Cf(e,n)}function eg(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(k(314))}r!==null&&r.delete(t),Cf(e,n)}var _f;_f=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||fe.current)pe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return pe=!1,Uh(e,t,n);pe=!!(e.flags&131072)}else pe=!1,A&&t.flags&1048576&&rc(t,yi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ti(e,t),e=t.pendingProps;var i=Sn(t,re.current);_n(t,n),i=Tl(null,t,r,e,i,n);var o=zl();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,de(r)?(o=!0,hi(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Pl(t),i.updater=Pi,t.stateNode=i,i._reactInternals=t,_l(t,r,e,n),t=Vl(null,t,r,!0,o,n)):(t.tag=0,A&&o&&ml(t),ue(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ti(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=ng(r),e=De(r,e),i){case 0:t=Ul(null,t,r,e,n);break e;case 1:t=Xc(null,t,r,e,n);break e;case 11:t=Wc(null,t,r,e,n);break e;case 14:t=Qc(null,t,r,De(r.type,e),n);break e}throw Error(k(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:De(r,i),Ul(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:De(r,i),Xc(e,t,r,i,n);case 3:e:{if(Zc(t),e===null)throw Error(k(387));r=t.pendingProps,o=t.memoizedState,i=o.element,uc(e,t),Ei(t,r,null,n);var l=t.memoizedState;if(r=l.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=jn(Error(k(423)),t),t=qc(e,t,r,n,i);break e}else if(r!==i){i=jn(Error(k(424)),t),t=qc(e,t,r,n,i);break e}else for(Se=Ct(t.stateNode.containerInfo.firstChild),ke=t,A=!0,Fe=null,n=yc(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Pn(),r===i){t=ut(e,t,n);break e}ue(e,t,r,n)}t=t.child}return t;case 5:return wc(t),e===null&&vl(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,sl(r,i)?l=null:o!==null&&sl(r,o)&&(t.flags|=32),Gc(e,t),ue(e,t,l,n),t.child;case 6:return e===null&&vl(t),null;case 13:return ef(e,t,n);case 4:return Ol(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=On(t,null,r,n):ue(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:De(r,i),Wc(e,t,r,i,n);case 7:return ue(e,t,t.pendingProps,n),t.child;case 8:return ue(e,t,t.pendingProps.children,n),t.child;case 12:return ue(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,l=i.value,D(ki,r._currentValue),r._currentValue=l,o!==null)if(Ie(o.value,l)){if(o.children===i.children&&!fe.current){t=ut(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){l=o.child;for(var s=a.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=st(-1,n&-n),s.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var m=u.pending;m===null?s.next=s:(s.next=m.next,m.next=s),u.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),xl(o.return,n,t),a.lanes|=n;break}s=s.next}}else if(o.tag===10)l=o.type===t.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(k(341));l.lanes|=n,a=l.alternate,a!==null&&(a.lanes|=n),xl(l,n,t),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===t){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}ue(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,_n(t,n),i=Ne(i),r=r(i),t.flags|=1,ue(e,t,r,n),t.child;case 14:return r=t.type,i=De(r,t.pendingProps),i=De(r.type,i),Qc(e,t,r,i,n);case 15:return Yc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:De(r,i),Ti(e,t),t.tag=1,de(r)?(e=!0,hi(t)):e=!1,_n(t,n),mc(t,r,i),_l(t,r,i,n),Vl(null,t,r,!0,e,n);case 19:return nf(e,t,n);case 22:return Jc(e,t,n)}throw Error(k(156,t.tag))};function Of(e,t){return iu(e,t)}function tg(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function be(e,t,n,r){return new tg(e,t,n,r)}function sa(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ng(e){if(typeof e=="function")return sa(e)?1:0;if(e!=null){if(e=e.$$typeof,e===mo)return 11;if(e===vo)return 14}return 2}function Ft(e,t){var n=e.alternate;return n===null?(n=be(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Bi(e,t,n,r,i,o){var l=2;if(r=e,typeof e=="function")sa(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case sn:return Zt(n.children,i,o,t);case fo:l=8,i|=8;break;case po:return e=be(12,n,t,i|2),e.elementType=po,e.lanes=o,e;case ho:return e=be(13,n,t,i),e.elementType=ho,e.lanes=o,e;case go:return e=be(19,n,t,i),e.elementType=go,e.lanes=o,e;case zs:return Ki(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Rs:l=10;break e;case Ts:l=9;break e;case mo:l=11;break e;case vo:l=14;break e;case vt:l=16,r=null;break e}throw Error(k(130,e==null?e:typeof e,""))}return t=be(l,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Zt(e,t,n,r){return e=be(7,e,r,t),e.lanes=n,e}function Ki(e,t,n,r){return e=be(22,e,r,t),e.elementType=zs,e.lanes=n,e.stateNode={isHidden:!1},e}function ua(e,t,n){return e=be(6,e,null,t),e.lanes=n,e}function ca(e,t,n){return t=be(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function rg(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Do(0),this.expirationTimes=Do(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Do(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function fa(e,t,n,r,i,o,l,a,s){return e=new rg(e,t,n,a,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=be(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Pl(o),e}function ig(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:an,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Nf(e){if(!e)return Ot;e=e._reactInternals;e:{if(At(e)!==e||e.tag!==1)throw Error(k(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(de(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(k(171))}if(e.tag===1){var n=e.type;if(de(n))return ec(e,n,t)}return t}function jf(e,t,n,r,i,o,l,a,s){return e=fa(n,r,!0,e,i,o,l,a,s),e.context=Nf(null),n=e.current,r=ce(),i=zt(n),o=st(r,i),o.callback=t??null,Lt(n,o,i),e.current.lanes=i,Xn(e,i,r),he(e,r),e}function Wi(e,t,n,r){var i=t.current,o=ce(),l=zt(i);return n=Nf(n),t.context===null?t.context=n:t.pendingContext=n,t=st(o,l),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Lt(i,t,l),e!==null&&(Ae(e,i,l,o),xi(e,i,l)),l}function Qi(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Lf(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function da(e,t){Lf(e,t),(e=e.alternate)&&Lf(e,t)}function og(){return null}var bf=typeof reportError=="function"?reportError:function(e){console.error(e)};function pa(e){this._internalRoot=e}Yi.prototype.render=pa.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(k(409));Wi(e,t,null,null)},Yi.prototype.unmount=pa.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Jt(function(){Wi(null,e,null,null)}),t[rt]=null}};function Yi(e){this._internalRoot=e}Yi.prototype.unstable_scheduleHydration=function(e){if(e){var t=du();e={blockedOn:null,target:e,priority:t};for(var n=0;n<xt.length&&t!==0&&t<xt[n].priority;n++);xt.splice(n,0,e),n===0&&hu(e)}};function ma(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Ji(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Rf(){}function lg(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var u=Qi(l);o.call(u)}}var l=jf(t,r,e,0,null,!1,!1,"",Rf);return e._reactRootContainer=l,e[rt]=l.current,fr(e.nodeType===8?e.parentNode:e),Jt(),l}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var u=Qi(s);a.call(u)}}var s=fa(e,0,!1,null,null,!1,!1,"",Rf);return e._reactRootContainer=s,e[rt]=s.current,fr(e.nodeType===8?e.parentNode:e),Jt(function(){Wi(t,s,n,r)}),s}function Gi(e,t,n,r,i){var o=n._reactRootContainer;if(o){var l=o;if(typeof i=="function"){var a=i;i=function(){var s=Qi(l);a.call(s)}}Wi(t,l,e,i)}else l=lg(n,t,e,i,r);return Qi(l)}cu=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Gn(t.pendingLanes);n!==0&&($o(t,n|1),he(t,W()),!(T&6)&&(Rn=W()+500,Nt()))}break;case 13:Jt(function(){var r=at(e,1);if(r!==null){var i=ce();Ae(r,e,1,i)}}),da(e,1)}},Mo=function(e){if(e.tag===13){var t=at(e,134217728);if(t!==null){var n=ce();Ae(t,e,134217728,n)}da(e,134217728)}},fu=function(e){if(e.tag===13){var t=zt(e),n=at(e,t);if(n!==null){var r=ce();Ae(n,e,t,r)}da(e,t)}},du=function(){return z},pu=function(e,t){var n=z;try{return z=e,t()}finally{z=n}},bo=function(e,t,n){switch(t){case"input":if(Eo(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=pi(r);if(!i)throw Error(k(90));Ds(r),Eo(r,i)}}}break;case"textarea":Vs(e,n);break;case"select":t=n.value,t!=null&&un(e,!!n.multiple,t,!1)}},Xs=oa,Zs=Jt;var ag={usingClientEntryPoint:!1,Events:[mr,wn,pi,Js,Gs,oa]},Nr={findFiberByHostInstance:Ut,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},sg={bundleType:Nr.bundleType,version:Nr.version,rendererPackageName:Nr.rendererPackageName,rendererConfig:Nr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:nt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=nu(e),e===null?null:e.stateNode},findFiberByHostInstance:Nr.findFiberByHostInstance||og,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Xi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Xi.isDisabled&&Xi.supportsFiber)try{Yr=Xi.inject(sg),Qe=Xi}catch{}}ve.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ag,ve.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ma(t))throw Error(k(200));return ig(e,t,null,n)},ve.createRoot=function(e,t){if(!ma(e))throw Error(k(299));var n=!1,r="",i=bf;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=fa(e,1,!1,null,null,n,!1,r,i),e[rt]=t.current,fr(e.nodeType===8?e.parentNode:e),new pa(t)},ve.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(k(188)):(e=Object.keys(e).join(","),Error(k(268,e)));return e=nu(t),e=e===null?null:e.stateNode,e},ve.flushSync=function(e){return Jt(e)},ve.hydrate=function(e,t,n){if(!Ji(t))throw Error(k(200));return Gi(null,e,t,!0,n)},ve.hydrateRoot=function(e,t,n){if(!ma(e))throw Error(k(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",l=bf;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(l=n.onRecoverableError)),t=jf(t,null,e,1,n??null,i,!1,o,l),e[rt]=t.current,fr(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Yi(t)},ve.render=function(e,t,n){if(!Ji(t))throw Error(k(200));return Gi(null,e,t,!1,n)},ve.unmountComponentAtNode=function(e){if(!Ji(e))throw Error(k(40));return e._reactRootContainer?(Jt(function(){Gi(null,null,e,!1,function(){e._reactRootContainer=null,e[rt]=null})}),!0):!1},ve.unstable_batchedUpdates=oa,ve.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ji(n))throw Error(k(200));if(e==null||e._reactInternals===void 0)throw Error(k(38));return Gi(e,t,n,!1,r)},ve.version="18.2.0-next-9e3b772b8-20220608";function Tf(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Tf)}catch(e){console.error(e)}}Tf(),Cs.exports=ve;var ha=Cs.exports;class ug extends U.Component{constructor(n){super(n);Dn(this,"node");Dn(this,"iframeHtml");Dn(this,"iframeHead");Dn(this,"iframeRoot");Dn(this,"handleLoad",()=>{this.setupFrameBaseStyle()});this.setNode=this.setNode.bind(this),this.node=null}componentDidMount(){this.node.addEventListener("load",this.handleLoad)}componentWillUnmount(){this.node.removeEventListener("load",this.handleLoad)}setupFrameBaseStyle(){var n,r;this.node.contentDocument&&(this.iframeHtml=this.node.contentDocument.documentElement,this.iframeHead=this.node.contentDocument.head,this.iframeRoot=this.node.contentDocument.body,this.forceUpdate(),this.props.onResize&&((r=(n=new ResizeObserver(i=>this.props.onResize(this.iframeRoot)))==null?void 0:n.observe)==null||r.call(n,this.iframeRoot)),this.node.contentWindow.addEventListener("keydown",i=>{window.dispatchEvent(new KeyboardEvent("keydown",i))}))}setNode(n){this.node=n}render(){const{children:n,head:r,title:i="",style:o={},onResize:l,...a}=this.props;return N.jsxs("iframe",{srcDoc:"<!DOCTYPE html>",...a,ref:this.setNode,frameBorder:"0",style:o,title:i,children:[this.iframeHead&&ha.createPortal(r,this.iframeHead),this.iframeRoot&&ha.createPortal(n,this.iframeRoot)]})}}const cg=`*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Inter,-apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(20 184 255 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(20 184 255 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 439px){.container{max-width:439px}}@media (min-width: 480px){.container{max-width:480px}}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}.visible{visibility:visible}.invisible{visibility:hidden}.static{position:static}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0px}.col-start-1{grid-column-start:1}.row-start-1{grid-row-start:1}.mx-0{margin-left:0;margin-right:0}.mx-\\[-40px\\]{margin-left:-40px;margin-right:-40px}.my-3{margin-top:1.2rem;margin-bottom:1.2rem}.my-auto{margin-top:auto;margin-bottom:auto}.mb-2{margin-bottom:.8rem}.mb-4{margin-bottom:1.6rem}.block{display:block}.inline{display:inline}.flex{display:flex}.grid{display:grid}.contents{display:contents}.h-5{height:2rem}.h-7{height:2.8rem}.h-\\[100vh\\]{height:100vh}.h-\\[64px\\]{height:64px}.w-8{width:3.2rem}.w-auto{width:auto}.w-full{width:100%}.max-w-\\[440px\\]{max-width:440px}.max-w-\\[600px\\]{max-width:600px}.touch-manipulation{touch-action:manipulation}.grid-cols-\\[1fr\\]{grid-template-columns:1fr}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.rounded-\\[\\.3rem\\]{border-radius:.3rem}.rounded-\\[\\.5rem\\]{border-radius:.5rem}.border{border-width:1px}.\\!border-red-500{--tw-border-opacity: 1 !important;border-color:rgb(245 11 35 / var(--tw-border-opacity))!important}.border-grey-300{--tw-border-opacity: 1;border-color:rgb(221 225 229 / var(--tw-border-opacity))}.bg-grey-200{--tw-bg-opacity: 1;background-color:rgb(235 238 240 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-\\[3px\\]{padding:3px}.px-2{padding-left:.8rem;padding-right:.8rem}.px-4{padding-left:1.6rem;padding-right:1.6rem}.py-1{padding-top:.4rem;padding-bottom:.4rem}.text-left{text-align:left}.text-center{text-align:center}.text-lg{font-size:1.8rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.text-grey-900{--tw-text-opacity: 1;color:rgb(57 64 71 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(245 11 35 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.opacity-0{opacity:0}.shadow{--tw-shadow: 0 0 1px rgba(0,0,0,.05), 0 5px 18px rgba(0,0,0,.08);--tw-shadow-colored: 0 0 1px var(--tw-shadow-color), 0 5px 18px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.\\[transition\\:margin_300ms\\,opacity_200ms\\]{transition:margin .3s,opacity .2s}body,html{overflow:hidden}.hover\\:border-grey-400:hover{--tw-border-opacity: 1;border-color:rgb(206 212 217 / var(--tw-border-opacity))}.focus-visible\\:border-grey-500:focus-visible{--tw-border-opacity: 1;border-color:rgb(174 183 193 / var(--tw-border-opacity))}.focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.disabled\\:bg-white:disabled{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}@media (min-width: 439px){.xs\\:h-\\[3rem\\]{height:3rem}.xs\\:p-2{padding:.8rem}.xs\\:px-3{padding-left:1.2rem;padding-right:1.2rem}}@media (min-width: 480px){.sm\\:mb-\\[4\\.1rem\\]{margin-bottom:4.1rem}.sm\\:px-6{padding-left:2.4rem;padding-right:2.4rem}.sm\\:text-xl{font-size:2rem}}@media (min-width: 640px){.md\\:mb-5{margin-bottom:2rem}.md\\:px-10{padding-left:4rem;padding-right:4rem}.md\\:text-2xl{font-size:2.4rem}}@media (min-width: 1024px){.lg\\:text-3xl{font-size:3rem}}
49
- `,fg=({children:e})=>{const t={display:"block",width:"100%",height:"0px"},{options:n}=on();return Ps(n)?N.jsx(dg,{style:t,title:"signup frame",children:e}):N.jsx(pg,{style:t,title:"signup frame",children:e})},dg=({children:e,style:t,title:n})=>{const[r,i]=U.useState(t),o=U.useCallback(l=>{i(a=>({...a,height:`${l.scrollHeight}px`}))},[]);return N.jsx(zf,{style:r,title:n,onResize:o,children:e})},pg=({children:e,style:t,title:n})=>{const{scriptTag:r}=on(),[i,o]=U.useState(t),l=U.useCallback(a=>{o(s=>({...s,height:`${a.scrollHeight}px`,width:`${a.scrollWidth}px`}))},[]);return Ce.useEffect(()=>{const a=r.parentElement;if(!a)return;const s=new ResizeObserver(u=>l(a));return s.observe(a),()=>{s.unobserve(a)}},[r,l]),N.jsx("div",{style:{position:"absolute"},children:N.jsx(zf,{style:i,title:n,children:e})})},zf=({children:e,onResize:t,style:n,title:r})=>{const i=N.jsxs(N.Fragment,{children:[N.jsx("style",{dangerouslySetInnerHTML:{__html:cg}}),N.jsx("meta",{content:"width=device-width, initial-scale=1.0, maximum-scale=1.0",name:"viewport"})]});return N.jsx(ug,{head:i,style:n,title:r,onResize:t,children:e})},mg=({siteUrl:e})=>{const t="members/api";function n({type:r,resource:i}){if(r==="members")return`${e.replace(/\/$/,"")}/${t}/${i}/`;throw new Error(`Unknown type ${r}`)}return{sendMagicLink:async({email:r,labels:i})=>{const o=n({type:"members",resource:"send-magic-link"}),l=JSON.stringify({email:r,emailType:"signup",labels:i,urlHistory:qp({siteUrl:e})}),a=await fetch(o,{headers:{"app-pragma":"no-cache","x-ghost-version":"5.47","Content-Type":"application/json"},body:l,method:"POST"});if(a.status<200||a.status>=300)throw new Error(a.statusText)}}};function hg(e){const t=Ce.useCallback(()=>{const i=[];for(;e.dataset[`label-${i.length+1}`];)i.push(e.dataset[`label-${i.length+1}`]);return{title:e.dataset.title||void 0,description:e.dataset.description||void 0,icon:e.dataset.icon||void 0,backgroundColor:e.dataset.backgroundColor||void 0,textColor:e.dataset.textColor||void 0,buttonColor:e.dataset.buttonColor||void 0,buttonTextColor:e.dataset.buttonTextColor||void 0,site:e.dataset.site||window.location.origin,labels:i,locale:e.dataset.locale||"en"}},[e]),[n,r]=Ce.useState(t());return Ce.useEffect(()=>{const i=new MutationObserver(o=>{o.some(l=>l.type==="attributes")&&r(t())});return i.observe(e,{attributes:!0}),()=>{i.disconnect()}},[e,t]),n}const gg=({scriptTag:e})=>{const t=hg(e),[n,r]=Ce.useState({name:"FormPage",data:{}}),i=Ce.useMemo(()=>mg({siteUrl:t.site}),[t.site]),o=(m,f)=>{r({name:m,data:f})},l=Yp(t.locale,"signup-form"),a={page:n,api:i,options:t,setPage:o,t:l.t,scriptTag:e},s=im[n.name],u=n.data;return N.jsx(N.Fragment,{children:N.jsx(Gp,{value:a,children:N.jsx(fg,{children:N.jsx(om,{children:N.jsx(s,{...u})})})})})};var ga={},If=ha;ga.createRoot=If.createRoot,ga.hydrateRoot=If.hydrateRoot;const Ff="gh-signup-root";function vg(){let e=document.currentScript;if(!e)throw new Error("[Signup Form] Cannot find current script tag");return e}function yg(e){if(e.previousElementSibling&&e.previousElementSibling.className===Ff)return e.previousElementSibling;if(!e.parentElement)throw new Error("[Signup Form] Script tag does not have a parent element");const t=document.createElement("div");return t.className=Ff,e.parentElement.insertBefore(t,e),t}function wg(){const e=vg(),t=yg(e);ga.createRoot(t).render(N.jsx(Ce.StrictMode,{children:N.jsx(gg,{scriptTag:e})}))}wg()});
47
+ `+o.stack}return{value:e,source:t,stack:i,digest:null}}function Nl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Pl(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var dh=typeof WeakMap=="function"?WeakMap:Map;function Gu(e,t,n){n=et(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Si||(Si=!0,Ul=r),Pl(e,t)},n}function Xu(e,t,n){n=et(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Pl(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Pl(e,t),typeof r!="function"&&(vt===null?vt=new Set([this]):vt.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}function Zu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new dh;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Ph.bind(null,e,t,n),t.then(e,e))}function qu(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function ec(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=et(-1,1),t.tag=2,gt(n,t,1))),n.lanes|=1),e)}var ph=Ye.ReactCurrentOwner,pe=!1;function ue(e,t,n,r){t.child=e===null?Lu(t,null,n,r):hn(t,e.child,n,r)}function tc(e,t,n,r,i){n=n.render;var o=t.ref;return pn(t,i),r=wl(e,t,n,r,o,i),n=kl(),e!==null&&!pe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,tt(e,t,i)):(D&&n&&el(t),t.flags|=1,ue(e,t,r,i),t.child)}function nc(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!Yl(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,rc(e,t,o,r,i)):(e=Li(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var l=o.memoizedProps;if(n=n.compare,n=n!==null?n:Qn,n(l,r)&&e.ref===t.ref)return tt(e,t,i)}return t.flags|=1,e=xt(o,r),e.ref=t.ref,e.return=t,t.child=e}function rc(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Qn(o,r)&&e.ref===t.ref)if(pe=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(pe=!0);else return t.lanes=e.lanes,tt(e,t,i)}return Ll(e,t,n,r,i)}function ic(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},b(vn,Se),Se|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,b(vn,Se),Se|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,b(vn,Se),Se|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,b(vn,Se),Se|=r;return ue(e,t,i,n),t.child}function oc(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ll(e,t,n,r,i){var o=de(n)?Lt:re.current;return o=an(t,o),pn(t,i),n=wl(e,t,n,r,o,i),r=kl(),e!==null&&!pe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,tt(e,t,i)):(D&&r&&el(t),t.flags|=1,ue(e,t,n,i),t.child)}function lc(e,t,n,r,i){if(de(n)){var o=!0;Zr(t)}else o=!1;if(pn(t,i),t.stateNode===null)gi(e,t),Eu(t,n,r),dl(t,n,r,i),r=!0;else if(e===null){var l=t.stateNode,s=t.memoizedProps;l.props=s;var a=l.context,u=n.contextType;typeof u=="object"&&u!==null?u=Ne(u):(u=de(n)?Lt:re.current,u=an(t,u));var d=n.getDerivedStateFromProps,h=typeof d=="function"||typeof l.getSnapshotBeforeUpdate=="function";h||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(s!==r||a!==u)&&Cu(t,l,r,u),mt=!1;var c=t.memoizedState;l.state=c,li(t,r,l,i),a=t.memoizedState,s!==r||c!==a||fe.current||mt?(typeof d=="function"&&(fl(t,n,d,r),a=t.memoizedState),(s=mt||xu(t,n,s,r,c,a,u))?(h||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),l.props=r,l.state=a,l.context=u,r=s):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,vu(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:$e(t.type,s),l.props=u,h=t.pendingProps,c=l.context,a=n.contextType,typeof a=="object"&&a!==null?a=Ne(a):(a=de(n)?Lt:re.current,a=an(t,a));var v=n.getDerivedStateFromProps;(d=typeof v=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(s!==h||c!==a)&&Cu(t,l,r,a),mt=!1,c=t.memoizedState,l.state=c,li(t,r,l,i);var y=t.memoizedState;s!==h||c!==y||fe.current||mt?(typeof v=="function"&&(fl(t,n,v,r),y=t.memoizedState),(u=mt||xu(t,n,u,r,c,y,a)||!1)?(d||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,y,a),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,y,a)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||s===e.memoizedProps&&c===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&c===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),l.props=r,l.state=y,l.context=a,r=u):(typeof l.componentDidUpdate!="function"||s===e.memoizedProps&&c===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&c===e.memoizedState||(t.flags|=1024),r=!1)}return jl(e,t,n,r,o,i)}function jl(e,t,n,r,i,o){oc(e,t);var l=(t.flags&128)!==0;if(!r&&!l)return i&&cu(t,n,!1),tt(e,t,o);r=t.stateNode,ph.current=t;var s=l&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=hn(t,e.child,null,o),t.child=hn(t,null,s,o)):ue(e,t,s,o),t.memoizedState=r.state,i&&cu(t,n,!0),t.child}function sc(e){var t=e.stateNode;t.pendingContext?au(e,t.pendingContext,t.pendingContext!==t.context):t.context&&au(e,t.context,!1),pl(e,t.containerInfo)}function ac(e,t,n,r,i){return fn(),il(i),t.flags|=256,ue(e,t,n,r),t.child}var Ol={dehydrated:null,treeContext:null,retryLane:0};function zl(e){return{baseLanes:e,cachePool:null,transitions:null}}function uc(e,t,n){var r=t.pendingProps,i=U.current,o=!1,l=(t.flags&128)!==0,s;if((s=l)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!==0),s?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),b(U,i&1),e===null)return rl(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=r.children,e=r.fallback,o?(r=t.mode,o=t.child,l={mode:"hidden",children:l},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=l):o=ji(l,r,0,null),e=Ft(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=zl(n),t.memoizedState=Ol,e):_l(t,l));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return hh(e,t,l,r,s,i,n);if(o){o=r.fallback,l=t.mode,i=e.child,s=i.sibling;var a={mode:"hidden",children:r.children};return!(l&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=xt(i,a),r.subtreeFlags=i.subtreeFlags&14680064),s!==null?o=xt(s,o):(o=Ft(o,l,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,l=e.child.memoizedState,l=l===null?zl(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},o.memoizedState=l,o.childLanes=e.childLanes&~n,t.memoizedState=Ol,r}return o=e.child,e=o.sibling,r=xt(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function _l(e,t){return t=ji({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function mi(e,t,n,r){return r!==null&&il(r),hn(t,e.child,null,n),e=_l(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function hh(e,t,n,r,i,o,l){if(n)return t.flags&256?(t.flags&=-257,r=Nl(Error(w(422))),mi(e,t,l,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=ji({mode:"visible",children:r.children},i,0,null),o=Ft(o,i,l,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&hn(t,e.child,null,l),t.child.memoizedState=zl(l),t.memoizedState=Ol,o);if(!(t.mode&1))return mi(e,t,l,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var s=r.dgst;return r=s,o=Error(w(419)),r=Nl(o,r,void 0),mi(e,t,l,r)}if(s=(l&e.childLanes)!==0,pe||s){if(r=X,r!==null){switch(l&-l){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|l)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,qe(e,i),Fe(r,e,i,-1))}return Ql(),r=Nl(Error(w(421))),mi(e,t,l,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=Lh.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,ke=ft(i.nextSibling),we=t,D=!0,Te=null,e!==null&&(Ee[Ce++]=Xe,Ee[Ce++]=Ze,Ee[Ce++]=jt,Xe=e.id,Ze=e.overflow,jt=t),t=_l(t,r.children),t.flags|=4096,t)}function cc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),al(e.return,t,n)}function Rl(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function fc(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(ue(e,t,r.children,n),r=U.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&cc(e,n,t);else if(e.tag===19)cc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(b(U,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&ui(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Rl(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&ui(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Rl(t,!0,n,null,o);break;case"together":Rl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function gi(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function tt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Tt|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(w(153));if(t.child!==null){for(e=t.child,n=xt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=xt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function mh(e,t,n){switch(t.tag){case 3:sc(t),fn();break;case 5:ju(t);break;case 1:de(t.type)&&Zr(t);break;case 4:pl(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;b(ri,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(b(U,U.current&1),t.flags|=128,null):n&t.child.childLanes?uc(e,t,n):(b(U,U.current&1),e=tt(e,t,n),e!==null?e.sibling:null);b(U,U.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return fc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),b(U,U.current),r)break;return null;case 22:case 23:return t.lanes=0,ic(e,t,n)}return tt(e,t,n)}var dc,Tl,pc,hc;dc=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Tl=function(){},pc=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,_t(Be.current);var o=null;switch(n){case"input":i=so(e,i),r=so(e,r),o=[];break;case"select":i=A({},i,{value:void 0}),r=A({},r,{value:void 0}),o=[];break;case"textarea":i=co(e,i),r=co(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Jr)}po(n,r);var l;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var s=i[u];for(l in s)s.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Pn.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var a=r[u];if(s=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&a!==s&&(a!=null||s!=null))if(u==="style")if(s){for(l in s)!s.hasOwnProperty(l)||a&&a.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in a)a.hasOwnProperty(l)&&s[l]!==a[l]&&(n||(n={}),n[l]=a[l])}else n||(o||(o=[]),o.push(u,n)),n=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,s=s?s.__html:void 0,a!=null&&s!==a&&(o=o||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(o=o||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Pn.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&I("scroll",e),o||s===a||(o=[])):(o=o||[]).push(u,a))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}},hc=function(e,t,n,r){n!==r&&(t.flags|=4)};function ar(e,t){if(!D)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function oe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function gh(e,t,n){var r=t.pendingProps;switch(tl(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return oe(t),null;case 1:return de(t.type)&&Xr(),oe(t),null;case 3:return r=t.stateNode,mn(),F(fe),F(re),gl(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ni(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Te!==null&&(Bl(Te),Te=null))),Tl(e,t),oe(t),null;case 5:hl(t);var i=_t(rr.current);if(n=t.type,e!==null&&t.stateNode!=null)pc(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(w(166));return oe(t),null}if(e=_t(Be.current),ni(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[He]=t,r[Zn]=o,e=(t.mode&1)!==0,n){case"dialog":I("cancel",r),I("close",r);break;case"iframe":case"object":case"embed":I("load",r);break;case"video":case"audio":for(i=0;i<Jn.length;i++)I(Jn[i],r);break;case"source":I("error",r);break;case"img":case"image":case"link":I("error",r),I("load",r);break;case"details":I("toggle",r);break;case"input":Qs(r,o),I("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},I("invalid",r);break;case"textarea":Gs(r,o),I("invalid",r)}po(n,o),i=null;for(var l in o)if(o.hasOwnProperty(l)){var s=o[l];l==="children"?typeof s=="string"?r.textContent!==s&&(o.suppressHydrationWarning!==!0&&Yr(r.textContent,s,e),i=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(o.suppressHydrationWarning!==!0&&Yr(r.textContent,s,e),i=["children",""+s]):Pn.hasOwnProperty(l)&&s!=null&&l==="onScroll"&&I("scroll",r)}switch(n){case"input":Nr(r),Js(r,o,!0);break;case"textarea":Nr(r),Zs(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Jr)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{l=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=qs(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=l.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[He]=t,e[Zn]=r,dc(e,t,!1,!1),t.stateNode=e;e:{switch(l=ho(n,r),n){case"dialog":I("cancel",e),I("close",e),i=r;break;case"iframe":case"object":case"embed":I("load",e),i=r;break;case"video":case"audio":for(i=0;i<Jn.length;i++)I(Jn[i],e);i=r;break;case"source":I("error",e),i=r;break;case"img":case"image":case"link":I("error",e),I("load",e),i=r;break;case"details":I("toggle",e),i=r;break;case"input":Qs(e,r),i=so(e,r),I("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=A({},r,{value:void 0}),I("invalid",e);break;case"textarea":Gs(e,r),i=co(e,r),I("invalid",e);break;default:i=r}po(n,i),s=i;for(o in s)if(s.hasOwnProperty(o)){var a=s[o];o==="style"?na(e,a):o==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&ea(e,a)):o==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&zn(e,a):typeof a=="number"&&zn(e,""+a):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Pn.hasOwnProperty(o)?a!=null&&o==="onScroll"&&I("scroll",e):a!=null&&Gi(e,o,a,l))}switch(n){case"input":Nr(e),Js(e,r,!1);break;case"textarea":Nr(e),Zs(e);break;case"option":r.value!=null&&e.setAttribute("value",""+it(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?Jt(e,!!r.multiple,o,!1):r.defaultValue!=null&&Jt(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return oe(t),null;case 6:if(e&&t.stateNode!=null)hc(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(w(166));if(n=_t(rr.current),_t(Be.current),ni(t)){if(r=t.stateNode,n=t.memoizedProps,r[He]=t,(o=r.nodeValue!==n)&&(e=we,e!==null))switch(e.tag){case 3:Yr(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Yr(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[He]=t,t.stateNode=r}return oe(t),null;case 13:if(F(U),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(D&&ke!==null&&t.mode&1&&!(t.flags&128))gu(),fn(),t.flags|=98560,o=!1;else if(o=ni(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(w(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(w(317));o[He]=t}else fn(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;oe(t),o=!1}else Te!==null&&(Bl(Te),Te=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||U.current&1?J===0&&(J=3):Ql())),t.updateQueue!==null&&(t.flags|=4),oe(t),null);case 4:return mn(),Tl(e,t),e===null&&Gn(t.stateNode.containerInfo),oe(t),null;case 10:return sl(t.type._context),oe(t),null;case 17:return de(t.type)&&Xr(),oe(t),null;case 19:if(F(U),o=t.memoizedState,o===null)return oe(t),null;if(r=(t.flags&128)!==0,l=o.rendering,l===null)if(r)ar(o,!1);else{if(J!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(l=ui(e),l!==null){for(t.flags|=128,ar(o,!1),r=l.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,l=o.alternate,l===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=l.childLanes,o.lanes=l.lanes,o.child=l.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=l.memoizedProps,o.memoizedState=l.memoizedState,o.updateQueue=l.updateQueue,o.type=l.type,e=l.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return b(U,U.current&1|2),t.child}e=e.sibling}o.tail!==null&&K()>wn&&(t.flags|=128,r=!0,ar(o,!1),t.lanes=4194304)}else{if(!r)if(e=ui(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ar(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!D)return oe(t),null}else 2*K()-o.renderingStartTime>wn&&n!==1073741824&&(t.flags|=128,r=!0,ar(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(n=o.last,n!==null?n.sibling=l:t.child=l,o.last=l)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=K(),t.sibling=null,n=U.current,b(U,r?n&1|2:n&1),t):(oe(t),null);case 22:case 23:return Wl(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Se&1073741824&&(oe(t),t.subtreeFlags&6&&(t.flags|=8192)):oe(t),null;case 24:return null;case 25:return null}throw Error(w(156,t.tag))}function yh(e,t){switch(tl(t),t.tag){case 1:return de(t.type)&&Xr(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return mn(),F(fe),F(re),gl(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return hl(t),null;case 13:if(F(U),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(w(340));fn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return F(U),null;case 4:return mn(),null;case 10:return sl(t.type._context),null;case 22:case 23:return Wl(),null;case 24:return null;default:return null}}var yi=!1,le=!1,vh=typeof WeakSet=="function"?WeakSet:Set,N=null;function yn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){B(e,t,r)}else n.current=null}function $l(e,t,n){try{n()}catch(r){B(e,t,r)}}var mc=!1;function wh(e,t){if(Wo=Fr,e=Wa(),Do(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var l=0,s=-1,a=-1,u=0,d=0,h=e,c=null;t:for(;;){for(var v;h!==n||i!==0&&h.nodeType!==3||(s=l+i),h!==o||r!==0&&h.nodeType!==3||(a=l+r),h.nodeType===3&&(l+=h.nodeValue.length),(v=h.firstChild)!==null;)c=h,h=v;for(;;){if(h===e)break t;if(c===n&&++u===i&&(s=l),c===o&&++d===r&&(a=l),(v=h.nextSibling)!==null)break;h=c,c=h.parentNode}h=v}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Qo={focusedElem:e,selectionRange:n},Fr=!1,N=t;N!==null;)if(t=N,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,N=e;else for(;N!==null;){t=N;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var k=y.memoizedProps,L=y.memoizedState,p=t.stateNode,f=p.getSnapshotBeforeUpdate(t.elementType===t.type?k:$e(t.type,k),L);p.__reactInternalSnapshotBeforeUpdate=f}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(w(163))}}catch(g){B(t,t.return,g)}if(e=t.sibling,e!==null){e.return=t.return,N=e;break}N=t.return}return y=mc,mc=!1,y}function ur(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&$l(t,n,o)}i=i.next}while(i!==r)}}function vi(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function bl(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function gc(e){var t=e.alternate;t!==null&&(e.alternate=null,gc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[He],delete t[Zn],delete t[Xo],delete t[th],delete t[nh])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function yc(e){return e.tag===5||e.tag===3||e.tag===4}function vc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||yc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Il(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Jr));else if(r!==4&&(e=e.child,e!==null))for(Il(e,t,n),e=e.sibling;e!==null;)Il(e,t,n),e=e.sibling}function Fl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Fl(e,t,n),e=e.sibling;e!==null;)Fl(e,t,n),e=e.sibling}var ee=null,be=!1;function yt(e,t,n){for(n=n.child;n!==null;)wc(e,t,n),n=n.sibling}function wc(e,t,n){if(Ve&&typeof Ve.onCommitFiberUnmount=="function")try{Ve.onCommitFiberUnmount(_r,n)}catch{}switch(n.tag){case 5:le||yn(n,t);case 6:var r=ee,i=be;ee=null,yt(e,t,n),ee=r,be=i,ee!==null&&(be?(e=ee,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ee.removeChild(n.stateNode));break;case 18:ee!==null&&(be?(e=ee,n=n.stateNode,e.nodeType===8?Go(e.parentNode,n):e.nodeType===1&&Go(e,n),Un(e)):Go(ee,n.stateNode));break;case 4:r=ee,i=be,ee=n.stateNode.containerInfo,be=!0,yt(e,t,n),ee=r,be=i;break;case 0:case 11:case 14:case 15:if(!le&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,l=o.destroy;o=o.tag,l!==void 0&&(o&2||o&4)&&$l(n,t,l),i=i.next}while(i!==r)}yt(e,t,n);break;case 1:if(!le&&(yn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){B(n,t,s)}yt(e,t,n);break;case 21:yt(e,t,n);break;case 22:n.mode&1?(le=(r=le)||n.memoizedState!==null,yt(e,t,n),le=r):yt(e,t,n);break;default:yt(e,t,n)}}function kc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new vh),t.forEach(function(r){var i=jh.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Ie(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,l=t,s=l;e:for(;s!==null;){switch(s.tag){case 5:ee=s.stateNode,be=!1;break e;case 3:ee=s.stateNode.containerInfo,be=!0;break e;case 4:ee=s.stateNode.containerInfo,be=!0;break e}s=s.return}if(ee===null)throw Error(w(160));wc(o,l,i),ee=null,be=!1;var a=i.alternate;a!==null&&(a.return=null),i.return=null}catch(u){B(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Sc(t,e),t=t.sibling}function Sc(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Ie(t,e),We(e),r&4){try{ur(3,e,e.return),vi(3,e)}catch(k){B(e,e.return,k)}try{ur(5,e,e.return)}catch(k){B(e,e.return,k)}}break;case 1:Ie(t,e),We(e),r&512&&n!==null&&yn(n,n.return);break;case 5:if(Ie(t,e),We(e),r&512&&n!==null&&yn(n,n.return),e.flags&32){var i=e.stateNode;try{zn(i,"")}catch(k){B(e,e.return,k)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,l=n!==null?n.memoizedProps:o,s=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{s==="input"&&o.type==="radio"&&o.name!=null&&Ys(i,o),ho(s,l);var u=ho(s,o);for(l=0;l<a.length;l+=2){var d=a[l],h=a[l+1];d==="style"?na(i,h):d==="dangerouslySetInnerHTML"?ea(i,h):d==="children"?zn(i,h):Gi(i,d,h,u)}switch(s){case"input":ao(i,o);break;case"textarea":Xs(i,o);break;case"select":var c=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var v=o.value;v!=null?Jt(i,!!o.multiple,v,!1):c!==!!o.multiple&&(o.defaultValue!=null?Jt(i,!!o.multiple,o.defaultValue,!0):Jt(i,!!o.multiple,o.multiple?[]:"",!1))}i[Zn]=o}catch(k){B(e,e.return,k)}}break;case 6:if(Ie(t,e),We(e),r&4){if(e.stateNode===null)throw Error(w(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(k){B(e,e.return,k)}}break;case 3:if(Ie(t,e),We(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Un(t.containerInfo)}catch(k){B(e,e.return,k)}break;case 4:Ie(t,e),We(e);break;case 13:Ie(t,e),We(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(Al=K())),r&4&&kc(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(le=(u=le)||d,Ie(t,e),le=u):Ie(t,e),We(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(N=e,d=e.child;d!==null;){for(h=N=d;N!==null;){switch(c=N,v=c.child,c.tag){case 0:case 11:case 14:case 15:ur(4,c,c.return);break;case 1:yn(c,c.return);var y=c.stateNode;if(typeof y.componentWillUnmount=="function"){r=c,n=c.return;try{t=r,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(k){B(r,n,k)}}break;case 5:yn(c,c.return);break;case 22:if(c.memoizedState!==null){Cc(h);continue}}v!==null?(v.return=c,N=v):Cc(h)}d=d.sibling}e:for(d=null,h=e;;){if(h.tag===5){if(d===null){d=h;try{i=h.stateNode,u?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(s=h.stateNode,a=h.memoizedProps.style,l=a!=null&&a.hasOwnProperty("display")?a.display:null,s.style.display=ta("display",l))}catch(k){B(e,e.return,k)}}}else if(h.tag===6){if(d===null)try{h.stateNode.nodeValue=u?"":h.memoizedProps}catch(k){B(e,e.return,k)}}else if((h.tag!==22&&h.tag!==23||h.memoizedState===null||h===e)&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;h.sibling===null;){if(h.return===null||h.return===e)break e;d===h&&(d=null),h=h.return}d===h&&(d=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:Ie(t,e),We(e),r&4&&kc(e);break;case 21:break;default:Ie(t,e),We(e)}}function We(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(yc(n)){var r=n;break e}n=n.return}throw Error(w(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(zn(i,""),r.flags&=-33);var o=vc(e);Fl(e,o,i);break;case 3:case 4:var l=r.stateNode.containerInfo,s=vc(e);Il(e,s,l);break;default:throw Error(w(161))}}catch(a){B(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function kh(e,t,n){N=e,xc(e)}function xc(e,t,n){for(var r=(e.mode&1)!==0;N!==null;){var i=N,o=i.child;if(i.tag===22&&r){var l=i.memoizedState!==null||yi;if(!l){var s=i.alternate,a=s!==null&&s.memoizedState!==null||le;s=yi;var u=le;if(yi=l,(le=a)&&!u)for(N=i;N!==null;)l=N,a=l.child,l.tag===22&&l.memoizedState!==null?Nc(i):a!==null?(a.return=l,N=a):Nc(i);for(;o!==null;)N=o,xc(o),o=o.sibling;N=i,yi=s,le=u}Ec(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,N=o):Ec(e)}}function Ec(e){for(;N!==null;){var t=N;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:le||vi(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!le)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:$e(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&ku(t,o,r);break;case 3:var l=t.updateQueue;if(l!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}ku(t,l,n)}break;case 5:var s=t.stateNode;if(n===null&&t.flags&4){n=s;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var h=d.dehydrated;h!==null&&Un(h)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(w(163))}le||t.flags&512&&bl(t)}catch(c){B(t,t.return,c)}}if(t===e){N=null;break}if(n=t.sibling,n!==null){n.return=t.return,N=n;break}N=t.return}}function Cc(e){for(;N!==null;){var t=N;if(t===e){N=null;break}var n=t.sibling;if(n!==null){n.return=t.return,N=n;break}N=t.return}}function Nc(e){for(;N!==null;){var t=N;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{vi(4,t)}catch(a){B(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(a){B(t,i,a)}}var o=t.return;try{bl(t)}catch(a){B(t,o,a)}break;case 5:var l=t.return;try{bl(t)}catch(a){B(t,l,a)}}}catch(a){B(t,t.return,a)}if(t===e){N=null;break}var s=t.sibling;if(s!==null){s.return=t.return,N=s;break}N=t.return}}var Sh=Math.ceil,wi=Ye.ReactCurrentDispatcher,Dl=Ye.ReactCurrentOwner,Le=Ye.ReactCurrentBatchConfig,T=0,X=null,Q=null,te=0,Se=0,vn=dt(0),J=0,cr=null,Tt=0,ki=0,Ml=0,fr=null,he=null,Al=0,wn=1/0,nt=null,Si=!1,Ul=null,vt=null,xi=!1,wt=null,Ei=0,dr=0,Vl=null,Ci=-1,Ni=0;function ce(){return T&6?K():Ci!==-1?Ci:Ci=K()}function kt(e){return e.mode&1?T&2&&te!==0?te&-te:ih.transition!==null?(Ni===0&&(Ni=ya()),Ni):(e=$,e!==0||(e=window.event,e=e===void 0?16:Pa(e.type)),e):1}function Fe(e,t,n,r){if(50<dr)throw dr=0,Vl=null,Error(w(185));In(e,n,r),(!(T&2)||e!==X)&&(e===X&&(!(T&2)&&(ki|=n),J===4&&St(e,te)),me(e,r),n===1&&T===0&&!(t.mode&1)&&(wn=K()+500,qr&&ht()))}function me(e,t){var n=e.callbackNode;ip(e,t);var r=$r(e,e===X?te:0);if(r===0)n!==null&&ha(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&ha(n),t===1)e.tag===0?rh(Lc.bind(null,e)):fu(Lc.bind(null,e)),qp(function(){!(T&6)&&ht()}),n=null;else{switch(va(r)){case 1:n=So;break;case 4:n=ma;break;case 16:n=zr;break;case 536870912:n=ga;break;default:n=zr}n=bc(n,Pc.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Pc(e,t){if(Ci=-1,Ni=0,T&6)throw Error(w(327));var n=e.callbackNode;if(kn()&&e.callbackNode!==n)return null;var r=$r(e,e===X?te:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Pi(e,r);else{t=r;var i=T;T|=2;var o=Oc();(X!==e||te!==t)&&(nt=null,wn=K()+500,bt(e,t));do try{Ch();break}catch(s){jc(e,s)}while(1);ll(),wi.current=o,T=i,Q!==null?t=0:(X=null,te=0,t=J)}if(t!==0){if(t===2&&(i=xo(e),i!==0&&(r=i,t=Hl(e,i))),t===1)throw n=cr,bt(e,0),St(e,r),me(e,K()),n;if(t===6)St(e,r);else{if(i=e.current.alternate,!(r&30)&&!xh(i)&&(t=Pi(e,r),t===2&&(o=xo(e),o!==0&&(r=o,t=Hl(e,o))),t===1))throw n=cr,bt(e,0),St(e,r),me(e,K()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(w(345));case 2:It(e,he,nt);break;case 3:if(St(e,r),(r&130023424)===r&&(t=Al+500-K(),10<t)){if($r(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){ce(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Jo(It.bind(null,e,he,nt),t);break}It(e,he,nt);break;case 4:if(St(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var l=31-_e(r);o=1<<l,l=t[l],l>i&&(i=l),r&=~o}if(r=i,r=K()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Sh(r/1960))-r,10<r){e.timeoutHandle=Jo(It.bind(null,e,he,nt),r);break}It(e,he,nt);break;case 5:It(e,he,nt);break;default:throw Error(w(329))}}}return me(e,K()),e.callbackNode===n?Pc.bind(null,e):null}function Hl(e,t){var n=fr;return e.current.memoizedState.isDehydrated&&(bt(e,t).flags|=256),e=Pi(e,t),e!==2&&(t=he,he=n,t!==null&&Bl(t)),e}function Bl(e){he===null?he=e:he.push.apply(he,e)}function xh(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!Re(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function St(e,t){for(t&=~Ml,t&=~ki,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-_e(t),r=1<<n;e[n]=-1,t&=~r}}function Lc(e){if(T&6)throw Error(w(327));kn();var t=$r(e,0);if(!(t&1))return me(e,K()),null;var n=Pi(e,t);if(e.tag!==0&&n===2){var r=xo(e);r!==0&&(t=r,n=Hl(e,r))}if(n===1)throw n=cr,bt(e,0),St(e,t),me(e,K()),n;if(n===6)throw Error(w(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,It(e,he,nt),me(e,K()),null}function Kl(e,t){var n=T;T|=1;try{return e(t)}finally{T=n,T===0&&(wn=K()+500,qr&&ht())}}function $t(e){wt!==null&&wt.tag===0&&!(T&6)&&kn();var t=T;T|=1;var n=Le.transition,r=$;try{if(Le.transition=null,$=1,e)return e()}finally{$=r,Le.transition=n,T=t,!(T&6)&&ht()}}function Wl(){Se=vn.current,F(vn)}function bt(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Zp(n)),Q!==null)for(n=Q.return;n!==null;){var r=n;switch(tl(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Xr();break;case 3:mn(),F(fe),F(re),gl();break;case 5:hl(r);break;case 4:mn();break;case 13:F(U);break;case 19:F(U);break;case 10:sl(r.type._context);break;case 22:case 23:Wl()}n=n.return}if(X=e,Q=e=xt(e.current,null),te=Se=t,J=0,cr=null,Ml=ki=Tt=0,he=fr=null,zt!==null){for(t=0;t<zt.length;t++)if(n=zt[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var l=o.next;o.next=i,r.next=l}n.pending=r}zt=null}return e}function jc(e,t){do{var n=Q;try{if(ll(),ci.current=hi,fi){for(var r=V.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}fi=!1}if(Rt=0,G=Y=V=null,ir=!1,or=0,Dl.current=null,n===null||n.return===null){J=1,cr=t,Q=null;break}e:{var o=e,l=n.return,s=n,a=t;if(t=te,s.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var u=a,d=s,h=d.tag;if(!(d.mode&1)&&(h===0||h===11||h===15)){var c=d.alternate;c?(d.updateQueue=c.updateQueue,d.memoizedState=c.memoizedState,d.lanes=c.lanes):(d.updateQueue=null,d.memoizedState=null)}var v=qu(l);if(v!==null){v.flags&=-257,ec(v,l,s,o,t),v.mode&1&&Zu(o,u,t),t=v,a=u;var y=t.updateQueue;if(y===null){var k=new Set;k.add(a),t.updateQueue=k}else y.add(a);break e}else{if(!(t&1)){Zu(o,u,t),Ql();break e}a=Error(w(426))}}else if(D&&s.mode&1){var L=qu(l);if(L!==null){!(L.flags&65536)&&(L.flags|=256),ec(L,l,s,o,t),il(gn(a,s));break e}}o=a=gn(a,s),J!==4&&(J=2),fr===null?fr=[o]:fr.push(o),o=l;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var p=Gu(o,a,t);wu(o,p);break e;case 1:s=a;var f=o.type,m=o.stateNode;if(!(o.flags&128)&&(typeof f.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(vt===null||!vt.has(m)))){o.flags|=65536,t&=-t,o.lanes|=t;var g=Xu(o,s,t);wu(o,g);break e}}o=o.return}while(o!==null)}_c(n)}catch(S){t=S,Q===n&&n!==null&&(Q=n=n.return);continue}break}while(1)}function Oc(){var e=wi.current;return wi.current=hi,e===null?hi:e}function Ql(){(J===0||J===3||J===2)&&(J=4),X===null||!(Tt&268435455)&&!(ki&268435455)||St(X,te)}function Pi(e,t){var n=T;T|=2;var r=Oc();(X!==e||te!==t)&&(nt=null,bt(e,t));do try{Eh();break}catch(i){jc(e,i)}while(1);if(ll(),T=n,wi.current=r,Q!==null)throw Error(w(261));return X=null,te=0,J}function Eh(){for(;Q!==null;)zc(Q)}function Ch(){for(;Q!==null&&!Jd();)zc(Q)}function zc(e){var t=$c(e.alternate,e,Se);e.memoizedProps=e.pendingProps,t===null?_c(e):Q=t,Dl.current=null}function _c(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=yh(n,t),n!==null){n.flags&=32767,Q=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{J=6,Q=null;return}}else if(n=gh(n,t,Se),n!==null){Q=n;return}if(t=t.sibling,t!==null){Q=t;return}Q=t=e}while(t!==null);J===0&&(J=5)}function It(e,t,n){var r=$,i=Le.transition;try{Le.transition=null,$=1,Nh(e,t,n,r)}finally{Le.transition=i,$=r}return null}function Nh(e,t,n,r){do kn();while(wt!==null);if(T&6)throw Error(w(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(w(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(op(e,o),e===X&&(Q=X=null,te=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||xi||(xi=!0,bc(zr,function(){return kn(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=Le.transition,Le.transition=null;var l=$;$=1;var s=T;T|=4,Dl.current=null,wh(e,n),Sc(n,e),Kp(Qo),Fr=!!Wo,Qo=Wo=null,e.current=n,kh(n),Gd(),T=s,$=l,Le.transition=o}else e.current=n;if(xi&&(xi=!1,wt=e,Ei=i),o=e.pendingLanes,o===0&&(vt=null),qd(n.stateNode),me(e,K()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Si)throw Si=!1,e=Ul,Ul=null,e;return Ei&1&&e.tag!==0&&kn(),o=e.pendingLanes,o&1?e===Vl?dr++:(dr=0,Vl=e):dr=0,ht(),null}function kn(){if(wt!==null){var e=va(Ei),t=Le.transition,n=$;try{if(Le.transition=null,$=16>e?16:e,wt===null)var r=!1;else{if(e=wt,wt=null,Ei=0,T&6)throw Error(w(331));var i=T;for(T|=4,N=e.current;N!==null;){var o=N,l=o.child;if(N.flags&16){var s=o.deletions;if(s!==null){for(var a=0;a<s.length;a++){var u=s[a];for(N=u;N!==null;){var d=N;switch(d.tag){case 0:case 11:case 15:ur(8,d,o)}var h=d.child;if(h!==null)h.return=d,N=h;else for(;N!==null;){d=N;var c=d.sibling,v=d.return;if(gc(d),d===u){N=null;break}if(c!==null){c.return=v,N=c;break}N=v}}}var y=o.alternate;if(y!==null){var k=y.child;if(k!==null){y.child=null;do{var L=k.sibling;k.sibling=null,k=L}while(k!==null)}}N=o}}if(o.subtreeFlags&2064&&l!==null)l.return=o,N=l;else e:for(;N!==null;){if(o=N,o.flags&2048)switch(o.tag){case 0:case 11:case 15:ur(9,o,o.return)}var p=o.sibling;if(p!==null){p.return=o.return,N=p;break e}N=o.return}}var f=e.current;for(N=f;N!==null;){l=N;var m=l.child;if(l.subtreeFlags&2064&&m!==null)m.return=l,N=m;else e:for(l=f;N!==null;){if(s=N,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:vi(9,s)}}catch(S){B(s,s.return,S)}if(s===l){N=null;break e}var g=s.sibling;if(g!==null){g.return=s.return,N=g;break e}N=s.return}}if(T=i,ht(),Ve&&typeof Ve.onPostCommitFiberRoot=="function")try{Ve.onPostCommitFiberRoot(_r,e)}catch{}r=!0}return r}finally{$=n,Le.transition=t}}return!1}function Rc(e,t,n){t=gn(n,t),t=Gu(e,t,1),e=gt(e,t,1),t=ce(),e!==null&&(In(e,1,t),me(e,t))}function B(e,t,n){if(e.tag===3)Rc(e,e,n);else for(;t!==null;){if(t.tag===3){Rc(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(vt===null||!vt.has(r))){e=gn(n,e),e=Xu(t,e,1),t=gt(t,e,1),e=ce(),t!==null&&(In(t,1,e),me(t,e));break}}t=t.return}}function Ph(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=ce(),e.pingedLanes|=e.suspendedLanes&n,X===e&&(te&n)===n&&(J===4||J===3&&(te&130023424)===te&&500>K()-Al?bt(e,0):Ml|=n),me(e,t)}function Tc(e,t){t===0&&(e.mode&1?(t=Tr,Tr<<=1,!(Tr&130023424)&&(Tr=4194304)):t=1);var n=ce();e=qe(e,t),e!==null&&(In(e,t,n),me(e,n))}function Lh(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Tc(e,n)}function jh(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(w(314))}r!==null&&r.delete(t),Tc(e,n)}var $c;$c=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||fe.current)pe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return pe=!1,mh(e,t,n);pe=!!(e.flags&131072)}else pe=!1,D&&t.flags&1048576&&du(t,ti,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;gi(e,t),e=t.pendingProps;var i=an(t,re.current);pn(t,n),i=wl(null,t,r,e,i,n);var o=kl();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,de(r)?(o=!0,Zr(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,cl(t),i.updater=si,t.stateNode=i,i._reactInternals=t,dl(t,r,e,n),t=jl(null,t,r,!0,o,n)):(t.tag=0,D&&o&&el(t),ue(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(gi(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=zh(r),e=$e(r,e),i){case 0:t=Ll(null,t,r,e,n);break e;case 1:t=lc(null,t,r,e,n);break e;case 11:t=tc(null,t,r,e,n);break e;case 14:t=nc(null,t,r,$e(r.type,e),n);break e}throw Error(w(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:$e(r,i),Ll(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:$e(r,i),lc(e,t,r,i,n);case 3:e:{if(sc(t),e===null)throw Error(w(387));r=t.pendingProps,o=t.memoizedState,i=o.element,vu(e,t),li(t,r,null,n);var l=t.memoizedState;if(r=l.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=gn(Error(w(423)),t),t=ac(e,t,r,n,i);break e}else if(r!==i){i=gn(Error(w(424)),t),t=ac(e,t,r,n,i);break e}else for(ke=ft(t.stateNode.containerInfo.firstChild),we=t,D=!0,Te=null,n=Lu(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(fn(),r===i){t=tt(e,t,n);break e}ue(e,t,r,n)}t=t.child}return t;case 5:return ju(t),e===null&&rl(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,Yo(r,i)?l=null:o!==null&&Yo(r,o)&&(t.flags|=32),oc(e,t),ue(e,t,l,n),t.child;case 6:return e===null&&rl(t),null;case 13:return uc(e,t,n);case 4:return pl(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=hn(t,null,r,n):ue(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:$e(r,i),tc(e,t,r,i,n);case 7:return ue(e,t,t.pendingProps,n),t.child;case 8:return ue(e,t,t.pendingProps.children,n),t.child;case 12:return ue(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,l=i.value,b(ri,r._currentValue),r._currentValue=l,o!==null)if(Re(o.value,l)){if(o.children===i.children&&!fe.current){t=tt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){l=o.child;for(var a=s.firstContext;a!==null;){if(a.context===r){if(o.tag===1){a=et(-1,n&-n),a.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?a.next=a:(a.next=d.next,d.next=a),u.pending=a}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),al(o.return,n,t),s.lanes|=n;break}a=a.next}}else if(o.tag===10)l=o.type===t.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(w(341));l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),al(l,n,t),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===t){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}ue(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,pn(t,n),i=Ne(i),r=r(i),t.flags|=1,ue(e,t,r,n),t.child;case 14:return r=t.type,i=$e(r,t.pendingProps),i=$e(r.type,i),nc(e,t,r,i,n);case 15:return rc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:$e(r,i),gi(e,t),t.tag=1,de(r)?(e=!0,Zr(t)):e=!1,pn(t,n),Eu(t,r,i),dl(t,r,i,n),jl(null,t,r,!0,e,n);case 19:return fc(e,t,n);case 22:return ic(e,t,n)}throw Error(w(156,t.tag))};function bc(e,t){return pa(e,t)}function Oh(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function je(e,t,n,r){return new Oh(e,t,n,r)}function Yl(e){return e=e.prototype,!(!e||!e.isReactComponent)}function zh(e){if(typeof e=="function")return Yl(e)?1:0;if(e!=null){if(e=e.$$typeof,e===qi)return 11;if(e===no)return 14}return 2}function xt(e,t){var n=e.alternate;return n===null?(n=je(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Li(e,t,n,r,i,o){var l=2;if(r=e,typeof e=="function")Yl(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case Yt:return Ft(n.children,i,o,t);case Xi:l=8,i|=8;break;case Zi:return e=je(12,n,t,i|2),e.elementType=Zi,e.lanes=o,e;case eo:return e=je(13,n,t,i),e.elementType=eo,e.lanes=o,e;case to:return e=je(19,n,t,i),e.elementType=to,e.lanes=o,e;case Hs:return ji(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Us:l=10;break e;case Vs:l=9;break e;case qi:l=11;break e;case no:l=14;break e;case rt:l=16,r=null;break e}throw Error(w(130,e==null?e:typeof e,""))}return t=je(l,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Ft(e,t,n,r){return e=je(7,e,r,t),e.lanes=n,e}function ji(e,t,n,r){return e=je(22,e,r,t),e.elementType=Hs,e.lanes=n,e.stateNode={isHidden:!1},e}function Jl(e,t,n){return e=je(6,e,null,t),e.lanes=n,e}function Gl(e,t,n){return t=je(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function _h(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Eo(0),this.expirationTimes=Eo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Eo(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Xl(e,t,n,r,i,o,l,s,a){return e=new _h(e,t,n,s,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=je(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},cl(o),e}function Rh(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Qt,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Ic(e){if(!e)return pt;e=e._reactInternals;e:{if(Nt(e)!==e||e.tag!==1)throw Error(w(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(de(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(w(171))}if(e.tag===1){var n=e.type;if(de(n))return uu(e,n,t)}return t}function Fc(e,t,n,r,i,o,l,s,a){return e=Xl(n,r,!0,e,i,o,l,s,a),e.context=Ic(null),n=e.current,r=ce(),i=kt(n),o=et(r,i),o.callback=t??null,gt(n,o,i),e.current.lanes=i,In(e,i,r),me(e,r),e}function Oi(e,t,n,r){var i=t.current,o=ce(),l=kt(i);return n=Ic(n),t.context===null?t.context=n:t.pendingContext=n,t=et(o,l),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=gt(i,t,l),e!==null&&(Fe(e,i,l,o),oi(e,i,l)),l}function zi(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Dc(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Zl(e,t){Dc(e,t),(e=e.alternate)&&Dc(e,t)}function Th(){return null}var Mc=typeof reportError=="function"?reportError:function(e){console.error(e)};function ql(e){this._internalRoot=e}_i.prototype.render=ql.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(w(409));Oi(e,t,null,null)},_i.prototype.unmount=ql.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;$t(function(){Oi(null,e,null,null)}),t[Je]=null}};function _i(e){this._internalRoot=e}_i.prototype.unstable_scheduleHydration=function(e){if(e){var t=Sa();e={blockedOn:null,target:e,priority:t};for(var n=0;n<at.length&&t!==0&&t<at[n].priority;n++);at.splice(n,0,e),n===0&&Ca(e)}};function es(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Ri(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Ac(){}function $h(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var u=zi(l);o.call(u)}}var l=Fc(t,r,e,0,null,!1,!1,"",Ac);return e._reactRootContainer=l,e[Je]=l.current,Gn(e.nodeType===8?e.parentNode:e),$t(),l}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var s=r;r=function(){var u=zi(a);s.call(u)}}var a=Xl(e,0,!1,null,null,!1,!1,"",Ac);return e._reactRootContainer=a,e[Je]=a.current,Gn(e.nodeType===8?e.parentNode:e),$t(function(){Oi(t,a,n,r)}),a}function Ti(e,t,n,r,i){var o=n._reactRootContainer;if(o){var l=o;if(typeof i=="function"){var s=i;i=function(){var a=zi(l);s.call(a)}}Oi(t,l,e,i)}else l=$h(n,t,e,i,r);return zi(l)}wa=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=bn(t.pendingLanes);n!==0&&(Co(t,n|1),me(t,K()),!(T&6)&&(wn=K()+500,ht()))}break;case 13:$t(function(){var r=qe(e,1);if(r!==null){var i=ce();Fe(r,e,1,i)}}),Zl(e,1)}},No=function(e){if(e.tag===13){var t=qe(e,134217728);if(t!==null){var n=ce();Fe(t,e,134217728,n)}Zl(e,134217728)}},ka=function(e){if(e.tag===13){var t=kt(e),n=qe(e,t);if(n!==null){var r=ce();Fe(n,e,t,r)}Zl(e,t)}},Sa=function(){return $},xa=function(e,t){var n=$;try{return $=e,t()}finally{$=n}},yo=function(e,t,n){switch(t){case"input":if(ao(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Gr(r);if(!i)throw Error(w(90));Ws(r),ao(r,i)}}}break;case"textarea":Xs(e,n);break;case"select":t=n.value,t!=null&&Jt(e,!!n.multiple,t,!1)}},la=Kl,sa=$t;var bh={usingClientEntryPoint:!1,Events:[qn,ln,Gr,ia,oa,Kl]},pr={findFiberByHostInstance:Pt,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},Ih={bundleType:pr.bundleType,version:pr.version,rendererPackageName:pr.rendererPackageName,rendererConfig:pr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ye.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=fa(e),e===null?null:e.stateNode},findFiberByHostInstance:pr.findFiberByHostInstance||Th,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var $i=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!$i.isDisabled&&$i.supportsFiber)try{_r=$i.inject(Ih),Ve=$i}catch{}}ge.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=bh,ge.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!es(t))throw Error(w(200));return Rh(e,t,null,n)},ge.createRoot=function(e,t){if(!es(e))throw Error(w(299));var n=!1,r="",i=Mc;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Xl(e,1,!1,null,null,n,!1,r,i),e[Je]=t.current,Gn(e.nodeType===8?e.parentNode:e),new ql(t)},ge.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(w(188)):(e=Object.keys(e).join(","),Error(w(268,e)));return e=fa(t),e=e===null?null:e.stateNode,e},ge.flushSync=function(e){return $t(e)},ge.hydrate=function(e,t,n){if(!Ri(t))throw Error(w(200));return Ti(null,e,t,!0,n)},ge.hydrateRoot=function(e,t,n){if(!es(e))throw Error(w(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",l=Mc;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(l=n.onRecoverableError)),t=Fc(t,null,e,1,n??null,i,!1,o,l),e[Je]=t.current,Gn(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new _i(t)},ge.render=function(e,t,n){if(!Ri(t))throw Error(w(200));return Ti(null,e,t,!1,n)},ge.unmountComponentAtNode=function(e){if(!Ri(e))throw Error(w(40));return e._reactRootContainer?($t(function(){Ti(null,null,e,!1,function(){e._reactRootContainer=null,e[Je]=null})}),!0):!1},ge.unstable_batchedUpdates=Kl,ge.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ri(n))throw Error(w(200));if(e==null||e._reactInternals===void 0)throw Error(w(38));return Ti(e,t,n,!1,r)},ge.version="18.2.0-next-9e3b772b8-20220608";function Uc(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Uc)}catch(e){console.error(e)}}Uc(),$s.exports=ge;var ts=$s.exports;class Fh extends M.Component{constructor(n){super(n);Ut(this,"node");Ut(this,"iframeHtml");Ut(this,"iframeHead");Ut(this,"iframeRoot");Ut(this,"handleLoad",()=>{this.setupFrameBaseStyle()});this.setNode=this.setNode.bind(this),this.node=null}componentDidMount(){this.node.addEventListener("load",this.handleLoad)}componentWillUnmount(){this.node.removeEventListener("load",this.handleLoad)}setupFrameBaseStyle(){var n,r;this.node.contentDocument&&(this.iframeHtml=this.node.contentDocument.documentElement,this.iframeHead=this.node.contentDocument.head,this.iframeRoot=this.node.contentDocument.body,this.forceUpdate(),this.props.onResize&&((r=(n=new ResizeObserver(i=>this.props.onResize(this.iframeRoot)))==null?void 0:n.observe)==null||r.call(n,this.iframeRoot)),this.node.contentWindow.addEventListener("keydown",i=>{window.dispatchEvent(new KeyboardEvent("keydown",i))}))}setNode(n){this.node=n}render(){const{children:n,head:r,title:i="",style:o={},onResize:l,...s}=this.props;return j.jsxs("iframe",{srcDoc:"<!DOCTYPE html>",...s,ref:this.setNode,frameBorder:"0",style:o,title:i,children:[this.iframeHead&&ts.createPortal(r,this.iframeHead),this.iframeRoot&&ts.createPortal(n,this.iframeRoot)]})}}const Dh=`*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Inter,-apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(20 184 255 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(20 184 255 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 439px){.container{max-width:439px}}@media (min-width: 480px){.container{max-width:480px}}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}.visible{visibility:visible}.invisible{visibility:hidden}.static{position:static}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0px}.col-start-1{grid-column-start:1}.row-start-1{grid-row-start:1}.mx-0{margin-left:0;margin-right:0}.mx-\\[-40px\\]{margin-left:-40px;margin-right:-40px}.my-3{margin-top:1.2rem;margin-bottom:1.2rem}.my-auto{margin-top:auto;margin-bottom:auto}.mb-2{margin-bottom:.8rem}.mb-4{margin-bottom:1.6rem}.block{display:block}.inline{display:inline}.flex{display:flex}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-5{height:2rem}.h-7{height:2.8rem}.h-\\[100vh\\]{height:100vh}.h-\\[64px\\]{height:64px}.w-8{width:3.2rem}.w-auto{width:auto}.w-full{width:100%}.max-w-\\[440px\\]{max-width:440px}.max-w-\\[600px\\]{max-width:600px}.touch-manipulation{touch-action:manipulation}.grid-cols-\\[1fr\\]{grid-template-columns:1fr}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.whitespace-nowrap{white-space:nowrap}.rounded-\\[\\.3rem\\]{border-radius:.3rem}.rounded-\\[\\.5rem\\]{border-radius:.5rem}.border{border-width:1px}.\\!border-red-500{--tw-border-opacity: 1 !important;border-color:rgb(245 11 35 / var(--tw-border-opacity))!important}.border-grey-300{--tw-border-opacity: 1;border-color:rgb(221 225 229 / var(--tw-border-opacity))}.bg-grey-200{--tw-bg-opacity: 1;background-color:rgb(235 238 240 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-\\[3px\\]{padding:3px}.px-2{padding-left:.8rem;padding-right:.8rem}.px-4{padding-left:1.6rem;padding-right:1.6rem}.py-1{padding-top:.4rem;padding-bottom:.4rem}.text-left{text-align:left}.text-center{text-align:center}.text-lg{font-size:1.8rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.text-grey-900{--tw-text-opacity: 1;color:rgb(57 64 71 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(245 11 35 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.opacity-0{opacity:0}.shadow{--tw-shadow: 0 0 1px rgba(0,0,0,.05), 0 5px 18px rgba(0,0,0,.08);--tw-shadow-colored: 0 0 1px var(--tw-shadow-color), 0 5px 18px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.\\[transition\\:margin_300ms\\,opacity_200ms\\,visibility_200ms_step-end\\]{transition:margin .3s,opacity .2s,visibility .2s step-end}.\\[transition\\:margin_300ms\\,opacity_200ms\\,visibility_200ms_step-start\\]{transition:margin .3s,opacity .2s,visibility .2s step-start}body,html{overflow:hidden}.hover\\:border-grey-400:hover{--tw-border-opacity: 1;border-color:rgb(206 212 217 / var(--tw-border-opacity))}.focus-visible\\:border-grey-500:focus-visible{--tw-border-opacity: 1;border-color:rgb(174 183 193 / var(--tw-border-opacity))}.focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.disabled\\:bg-white:disabled{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}@media (min-width: 439px){.xs\\:h-\\[3rem\\]{height:3rem}.xs\\:p-2{padding:.8rem}.xs\\:px-3{padding-left:1.2rem;padding-right:1.2rem}}@media (min-width: 480px){.sm\\:mb-\\[4\\.1rem\\]{margin-bottom:4.1rem}.sm\\:px-6{padding-left:2.4rem;padding-right:2.4rem}.sm\\:text-xl{font-size:2rem}}@media (min-width: 640px){.md\\:mb-5{margin-bottom:2rem}.md\\:px-10{padding-left:4rem;padding-right:4rem}.md\\:text-2xl{font-size:2.4rem}}@media (min-width: 1024px){.lg\\:text-3xl{font-size:3rem}}
48
+ `,Mh=({children:e})=>{const t={display:"block",width:"100%",height:"0px"},{options:n}=Kt();return Ts(n)?j.jsx(Ah,{style:t,title:"signup frame",children:e}):j.jsx(Uh,{style:t,title:"signup frame",children:e})},Ah=({children:e,style:t,title:n})=>{const[r,i]=M.useState(t),o=M.useCallback(l=>{i(s=>({...s,height:`${l.scrollHeight}px`}))},[]);return j.jsx(Vc,{style:r,title:n,onResize:o,children:e})},Uh=({children:e,style:t,title:n})=>{const{scriptTag:r}=Kt(),[i,o]=M.useState(t),l=M.useCallback(s=>{o(a=>({...a,height:`${s.scrollHeight}px`,width:`${s.scrollWidth}px`}))},[]);return xe.useEffect(()=>{const s=r.parentElement;if(!s)return;const a=new ResizeObserver(u=>l(s));return a.observe(s),()=>{a.unobserve(s)}},[r,l]),j.jsx("div",{style:{position:"absolute"},children:j.jsx(Vc,{style:i,title:n,children:e})})},Vc=({children:e,onResize:t,style:n,title:r})=>{const i=j.jsxs(j.Fragment,{children:[j.jsx("style",{dangerouslySetInnerHTML:{__html:Dh}}),j.jsx("meta",{content:"width=device-width, initial-scale=1.0, maximum-scale=1.0",name:"viewport"})]});return j.jsx(Fh,{head:i,style:n,title:r,onResize:t,children:e})},Vh=({siteUrl:e})=>{const t="members/api";function n({type:r,resource:i}){if(r==="members")return`${e.replace(/\/$/,"")}/${t}/${i}/`;throw new Error(`Unknown type ${r}`)}return{sendMagicLink:async({email:r,labels:i})=>{const o=n({type:"members",resource:"send-magic-link"}),l=JSON.stringify({email:r,emailType:"signup",labels:i,urlHistory:Ld({siteUrl:e})}),s=await fetch(o,{headers:{"app-pragma":"no-cache","x-ghost-version":"5.47","Content-Type":"application/json"},body:l,method:"POST"});if(s.status<200||s.status>=300)throw new Error(s.statusText)}}};function Hh(e){const t=xe.useCallback(()=>{const i=[];for(;e.dataset[`label-${i.length+1}`];)i.push(e.dataset[`label-${i.length+1}`]);return{title:e.dataset.title||void 0,description:e.dataset.description||void 0,icon:e.dataset.icon||void 0,backgroundColor:e.dataset.backgroundColor||void 0,textColor:e.dataset.textColor||void 0,buttonColor:e.dataset.buttonColor||void 0,buttonTextColor:e.dataset.buttonTextColor||void 0,site:e.dataset.site||window.location.origin,labels:i,locale:e.dataset.locale||"en"}},[e]),[n,r]=xe.useState(t());return xe.useEffect(()=>{const i=new MutationObserver(o=>{o.some(l=>l.type==="attributes")&&r(t())});return i.observe(e,{attributes:!0}),()=>{i.disconnect()}},[e,t]),n}const Bh=({scriptTag:e})=>{const t=Hh(e),[n,r]=xe.useState({name:"FormPage",data:{}}),i=xe.useMemo(()=>Vh({siteUrl:t.site}),[t.site]),o=(d,h)=>{r({name:d,data:h})},l=xd(t.locale,"signup-form"),s={page:n,api:i,options:t,setPage:o,t:l.t,scriptTag:e},a=Rd[n.name],u=n.data;return j.jsx(j.Fragment,{children:j.jsx(Cd,{value:s,children:j.jsx(Mh,{children:j.jsx(Td,{children:j.jsx(a,{...u})})})})})};var ns={},Hc=ts;ns.createRoot=Hc.createRoot,ns.hydrateRoot=Hc.hydrateRoot;const Bc="gh-signup-root";function Kh(){let e=document.currentScript;if(!e)throw new Error("[Signup Form] Cannot find current script tag");return e}function Wh(e){if(e.previousElementSibling&&e.previousElementSibling.className===Bc)return e.previousElementSibling;if(!e.parentElement)throw new Error("[Signup Form] Script tag does not have a parent element");const t=document.createElement("div");return t.className=Bc,e.parentElement.insertBefore(t,e),t}function Qh(){const e=Kh(),t=Wh(e);ns.createRoot(t).render(j.jsx(xe.StrictMode,{children:j.jsx(Bh,{scriptTag:e})}))}Qh()});
50
49
  //# sourceMappingURL=signup-form.min.js.map