-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsignup-form.js
50 lines (49 loc) · 225 KB
/
signup-form.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
(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={};/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/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);/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/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={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};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"},`
.nc-loop-dots-4-24-icon-o{--animation-duration:0.8s}
.nc-loop-dots-4-24-icon-o *{opacity:.4;transform:scale(.75);animation:nc-loop-dots-4-anim var(--animation-duration) infinite}
.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)}
.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)}
.nc-loop-dots-4-24-icon-o :nth-child(3){transform-origin:20px 12px}
@keyframes nc-loop-dots-4-anim{0%,100%{opacity:.4;transform:scale(.75)}50%{opacity:1;transform:scale(1)}}
`))),_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={};/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(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;/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/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`
`+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(`
`),o=r.stack.split(`
`),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=`
`+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,`
`).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=`
Error generating stack: `+o.message+`
`+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}}
`,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()});
//# sourceMappingURL=signup-form.min.js.map