@sekyro/elements 0.1.0-rc.14 → 0.1.0-rc.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cdn/chunks/{capture-session-doc-OT5L7P2W-27S5FD3I.js → capture-session-doc-KAKQJPCO-AIHWPBYL.js} +1 -1
  3. package/dist/cdn/chunks/chunk-2QSUUXLJ.js +1 -0
  4. package/dist/cdn/chunks/{chunk-ARUBIBVG.js → chunk-2YPWGFSK.js} +1 -1
  5. package/dist/cdn/chunks/{chunk-SHOVUF5C.js → chunk-3SVGT2PS.js} +1 -1
  6. package/dist/cdn/chunks/{chunk-FKKDPSQW.js → chunk-BLN4F6B2.js} +1 -1
  7. package/dist/cdn/chunks/{chunk-GZOBS7KG.js → chunk-BSMEALQQ.js} +1 -1
  8. package/dist/cdn/chunks/{chunk-7NYZYJ65.js → chunk-CAEMCBEY.js} +1 -1
  9. package/dist/cdn/chunks/{chunk-JJ3Q52P3.js → chunk-E75YC36S.js} +1 -1
  10. package/dist/cdn/chunks/{chunk-CK3CQAFP.js → chunk-HOUFBXEP.js} +1 -1
  11. package/dist/cdn/chunks/{chunk-IZOPN3L7.js → chunk-I7TF57NI.js} +2 -2
  12. package/dist/cdn/chunks/{chunk-RUUVQMYA.js → chunk-IEZ4K3YX.js} +1 -1
  13. package/dist/cdn/chunks/chunk-JDVZXXYF.js +1 -0
  14. package/dist/cdn/chunks/{chunk-PYUD6W3P.js → chunk-LVBGPPKD.js} +1 -1
  15. package/dist/cdn/chunks/{chunk-DKZUKWGP.js → chunk-NLTAFWIN.js} +1 -1
  16. package/dist/cdn/chunks/{chunk-CSKOH7QX.js → chunk-OCMUHHDC.js} +1 -1
  17. package/dist/cdn/chunks/{chunk-VI6GYKFP.js → chunk-OGJRFKPJ.js} +1 -1
  18. package/dist/cdn/chunks/{chunk-YLKAOH5O.js → chunk-PJT5EI2V.js} +1 -1
  19. package/dist/cdn/chunks/{chunk-6OVZIUQG.js → chunk-QWPURAKS.js} +1 -1
  20. package/dist/cdn/chunks/{chunk-5JWGGQBH.js → chunk-QXCB7CMC.js} +1 -1
  21. package/dist/cdn/chunks/{chunk-AARN2MG7.js → chunk-SI3OCSQL.js} +1 -1
  22. package/dist/cdn/chunks/{chunk-SSNEIJXI.js → chunk-TT57CQGK.js} +2 -2
  23. package/dist/cdn/chunks/{chunk-3HWXZNEO.js → chunk-TWWD2WAW.js} +1 -1
  24. package/dist/cdn/chunks/{chunk-4UHFOHD4.js → chunk-Z25MPNSU.js} +1 -1
  25. package/dist/cdn/chunks/{chunk-F7DKVXQW.js → chunk-ZEUFK4EC.js} +1 -1
  26. package/dist/cdn/chunks/{create-document-capture-UWIOYOJN-HGOY7QHE.js → create-document-capture-AITCB4ZU-QA2Z7I3D.js} +1 -1
  27. package/dist/cdn/chunks/{detector-scanic-F2PZUPJ5-LJIJE4EQ.js → detector-scanic-GGIKCF6B-OP62MOM6.js} +1 -1
  28. package/dist/cdn/chunks/document-capture-view-FSMO25KF-2Q3A6GDQ.js +1 -0
  29. package/dist/cdn/chunks/{eid-view-IQRZGEMP-S4CA2XHE.js → eid-view-PWROMDEV-NH4432Y2.js} +1 -1
  30. package/dist/cdn/chunks/{email-otp-view-CL76K5TY-TBSVRBPS.js → email-otp-view-Q334LLOM-RYZD4GMU.js} +1 -1
  31. package/dist/cdn/chunks/{flow-views-IAR45I3I-532HULEY.js → flow-views-I3YI3NWV-ENMBLDRD.js} +1 -1
  32. package/dist/cdn/chunks/{form-view-MEYCK437-HEBYLC2O.js → form-view-XPOGTYL6-R34DVU6J.js} +1 -1
  33. package/dist/cdn/chunks/overlay-de-VMGXTY3V-VVLXUOLW.js +1 -0
  34. package/dist/cdn/chunks/overlay-es-45YNJBVM-RHH5Z6UY.js +1 -0
  35. package/dist/cdn/chunks/overlay-pt-EU4FBZ2U-OHSSK5RZ.js +1 -0
  36. package/dist/cdn/chunks/{plan-runner-T32MAX5F-UMGOSLJM.js → plan-runner-HPXZHAQB-N2UJCZUV.js} +1 -1
  37. package/dist/cdn/chunks/{portrait-capture-view-ZF4YAMA6-ZBYYEIH5.js → portrait-capture-view-G4BE6IVC-73TWN235.js} +1 -1
  38. package/dist/cdn/chunks/{portrait-review-view-LOS5AYBI-XHDB2V3K.js → portrait-review-view-WGI5PXWF-ZJH3G4DR.js} +1 -1
  39. package/dist/cdn/chunks/{proof-of-address-view-X2EVWZBX-KTHPWCWT.js → proof-of-address-view-CFVHB2XR-3RJQNRNW.js} +1 -1
  40. package/dist/cdn/define.js +1 -1
  41. package/dist/cdn/index.js +1 -1
  42. package/dist/{chunk-BZGVYIDN.js → chunk-4LFDPSOL.js} +1 -1
  43. package/dist/chunk-73RGTE4Z.js +1 -0
  44. package/dist/{chunk-NYLIZY4Y.js → chunk-AXDGT3L2.js} +2 -2
  45. package/dist/{chunk-6OZGEXX6.js → chunk-BLT5ZVGV.js} +1 -1
  46. package/dist/{chunk-XEWL7C6M.js → chunk-DGVIPMH7.js} +1 -1
  47. package/dist/{chunk-KNWOL5RR.js → chunk-DZ64G3BB.js} +1 -1
  48. package/dist/{chunk-PHI7KVJY.js → chunk-H2EODYM3.js} +1 -1
  49. package/dist/{chunk-W6ODZ5JK.js → chunk-JLKISVND.js} +1 -1
  50. package/dist/{chunk-GA2DVM5C.js → chunk-L2D3XWI2.js} +1 -1
  51. package/dist/{chunk-C7AP2EMK.js → chunk-M6FHHGY7.js} +1 -1
  52. package/dist/{chunk-43Y4MKKF.js → chunk-PDYEWDSG.js} +1 -1
  53. package/dist/{chunk-FCIH6PVW.js → chunk-QESP3Y4J.js} +1 -1
  54. package/dist/{chunk-HLMRVFVD.js → chunk-YEY23NFE.js} +1 -1
  55. package/dist/{chunk-FBXU2OZN.js → chunk-YYQZMOGI.js} +1 -1
  56. package/dist/define.cjs +5 -5
  57. package/dist/define.js +1 -1
  58. package/dist/document-capture-view-FSMO25KF-FFRQD2FZ.js +1 -0
  59. package/dist/{eid-view-IQRZGEMP-LAMWORUL.js → eid-view-PWROMDEV-5AMVHINZ.js} +1 -1
  60. package/dist/{email-otp-view-CL76K5TY-C7O472UB.js → email-otp-view-Q334LLOM-WWVHZUZ3.js} +1 -1
  61. package/dist/{flow-views-IAR45I3I-IFHB5BCY.js → flow-views-I3YI3NWV-5FHNXBHD.js} +1 -1
  62. package/dist/{form-view-MEYCK437-356QICGF.js → form-view-XPOGTYL6-NGLOEF3Y.js} +1 -1
  63. package/dist/index.cjs +5 -5
  64. package/dist/index.d.cts +6 -0
  65. package/dist/index.d.ts +6 -0
  66. package/dist/index.js +1 -1
  67. package/dist/overlay-de-VMGXTY3V-3AGJDOK3.js +1 -0
  68. package/dist/overlay-es-45YNJBVM-WHWUGDQ6.js +1 -0
  69. package/dist/overlay-pt-EU4FBZ2U-F34MGCNE.js +1 -0
  70. package/dist/{portrait-capture-view-ZF4YAMA6-XC2X56PD.js → portrait-capture-view-G4BE6IVC-5UKZX7HH.js} +1 -1
  71. package/dist/{portrait-review-view-LOS5AYBI-RP6TNHLA.js → portrait-review-view-WGI5PXWF-PITOWYGV.js} +1 -1
  72. package/dist/{proof-of-address-view-X2EVWZBX-SIJUQ4SR.js → proof-of-address-view-CFVHB2XR-Y6DJUU4V.js} +1 -1
  73. package/dist/styles.css +11 -1
  74. package/package.json +2 -2
  75. package/sbom.cdx.json +4 -4
  76. package/dist/cdn/chunks/chunk-3DDOCOIB.js +0 -1
  77. package/dist/cdn/chunks/chunk-A5SXWFOO.js +0 -1
  78. package/dist/cdn/chunks/document-capture-view-57N5YWTH-PK233SM3.js +0 -1
  79. package/dist/cdn/chunks/overlay-de-LOQWEHOH-HSNQGD4A.js +0 -1
  80. package/dist/cdn/chunks/overlay-es-F54CKFZO-BTQKTR4A.js +0 -1
  81. package/dist/cdn/chunks/overlay-pt-NHIQY3JB-DQ7MH2QJ.js +0 -1
  82. package/dist/chunk-K7PFKAQD.js +0 -1
  83. package/dist/document-capture-view-57N5YWTH-BFPOD3RA.js +0 -1
  84. package/dist/overlay-de-LOQWEHOH-YIQXHAUD.js +0 -1
  85. package/dist/overlay-es-F54CKFZO-JNTVTVWI.js +0 -1
  86. package/dist/overlay-pt-NHIQY3JB-V5CJ5SGF.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a as fr}from"./chunk-KNWOL5RR.js";import{a as Da,b as kl,c as Sr}from"./chunk-PHI7KVJY.js";import{a as zr,b as Tr,d as Ar,e as Er}from"./chunk-6OZGEXX6.js";import{a as sr,b as rr,c as Wc,d as dr,e as mr,f as hr,g as yr,h as vr,i as pr,j as gr,k as br}from"./chunk-43Y4MKKF.js";import{a as rv,c as er}from"./chunk-FBXU2OZN.js";import{a as or}from"./chunk-W6ODZ5JK.js";import{a as $u}from"./chunk-FCIH6PVW.js";import{a as Nr,b as _r,c as Mr}from"./chunk-XEWL7C6M.js";import{a as xn}from"./chunk-YZ6YGLNN.js";import{b as Fc,c as Cl}from"./chunk-K7PFKAQD.js";import{A as Zc,B as Fu,C as Kc,D as nr,F as Jc,G as ur,H as ir,J as cr,K as El,L as wc,a as zl,b as Vl,c as cl,k as Lc,p as Is,q as Ps,r as lr,t as wu,u as Wu,v as ze,w as Pt,x as tr,y as la,z as ar}from"./chunk-BZGVYIDN.js";import{a as i,b as Ju,c as Q,d as $s,e as H,f as hl,g as yl,h as X,i as T}from"./chunk-SSU37LFQ.js";var Vd=Ju(fl=>{"use strict";function Sf(l,e){var t=l.length;l.push(e);l:for(;0<t;){var a=t-1>>>1,n=l[a];if(0<ci(n,e))l[a]=e,l[t]=n,t=a;else break l}}i(Sf,"push");function He(l){return l.length===0?null:l[0]}i(He,"peek");function oi(l){if(l.length===0)return null;var e=l[0],t=l.pop();if(t!==e){l[0]=t;l:for(var a=0,n=l.length,u=n>>>1;a<u;){var c=2*(a+1)-1,f=l[c],o=c+1,s=l[o];if(0>ci(f,t))o<n&&0>ci(s,f)?(l[a]=s,l[o]=t,a=o):(l[a]=f,l[c]=t,a=c);else if(o<n&&0>ci(s,t))l[a]=s,l[o]=t,a=o;else break l}}return e}i(oi,"pop");function ci(l,e){var t=l.sortIndex-e.sortIndex;return t!==0?t:l.id-e.id}i(ci,"compare");fl.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(Cd=performance,fl.unstable_now=function(){return Cd.now()}):(pf=Date,kd=pf.now(),fl.unstable_now=function(){return pf.now()-kd});var Cd,pf,kd,Ze=[],bt=[],Lv=1,se=null,Ql=3,zf=!1,Gn=!1,Vn=!1,Tf=!1,xd=typeof setTimeout=="function"?setTimeout:null,qd=typeof clearTimeout=="function"?clearTimeout:null,Hd=typeof setImmediate<"u"?setImmediate:null;function fi(l){for(var e=He(bt);e!==null;){if(e.callback===null)oi(bt);else if(e.startTime<=l)oi(bt),e.sortIndex=e.expirationTime,Sf(Ze,e);else break;e=He(bt)}}i(fi,"advanceTimers");function Af(l){if(Vn=!1,fi(l),!Gn)if(He(Ze)!==null)Gn=!0,qa||(qa=!0,xa());else{var e=He(bt);e!==null&&Ef(Af,e.startTime-l)}}i(Af,"handleTimeout");var qa=!1,Qn=-1,Rd=5,Yd=-1;function Gd(){return Tf?!0:!(fl.unstable_now()-Yd<Rd)}i(Gd,"shouldYieldToHost");function gf(){if(Tf=!1,qa){var l=fl.unstable_now();Yd=l;var e=!0;try{l:{Gn=!1,Vn&&(Vn=!1,qd(Qn),Qn=-1),zf=!0;var t=Ql;try{e:{for(fi(l),se=He(Ze);se!==null&&!(se.expirationTime>l&&Gd());){var a=se.callback;if(typeof a=="function"){se.callback=null,Ql=se.priorityLevel;var n=a(se.expirationTime<=l);if(l=fl.unstable_now(),typeof n=="function"){se.callback=n,fi(l),e=!0;break e}se===He(Ze)&&oi(Ze),fi(l)}else oi(Ze);se=He(Ze)}if(se!==null)e=!0;else{var u=He(bt);u!==null&&Ef(Af,u.startTime-l),e=!1}}break l}finally{se=null,Ql=t,zf=!1}e=void 0}}finally{e?xa():qa=!1}}}i(gf,"performWorkUntilDeadline");var xa;typeof Hd=="function"?xa=i(function(){Hd(gf)},"schedulePerformWorkUntilDeadline"):typeof MessageChannel<"u"?(bf=new MessageChannel,Bd=bf.port2,bf.port1.onmessage=gf,xa=i(function(){Bd.postMessage(null)},"schedulePerformWorkUntilDeadline")):xa=i(function(){xd(gf,0)},"schedulePerformWorkUntilDeadline");var bf,Bd;function Ef(l,e){Qn=xd(function(){l(fl.unstable_now())},e)}i(Ef,"requestHostTimeout");fl.unstable_IdlePriority=5;fl.unstable_ImmediatePriority=1;fl.unstable_LowPriority=4;fl.unstable_NormalPriority=3;fl.unstable_Profiling=null;fl.unstable_UserBlockingPriority=2;fl.unstable_cancelCallback=function(l){l.callback=null};fl.unstable_forceFrameRate=function(l){0>l||125<l?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Rd=0<l?Math.floor(1e3/l):5};fl.unstable_getCurrentPriorityLevel=function(){return Ql};fl.unstable_next=function(l){switch(Ql){case 1:case 2:case 3:var e=3;break;default:e=Ql}var t=Ql;Ql=e;try{return l()}finally{Ql=t}};fl.unstable_requestPaint=function(){Tf=!0};fl.unstable_runWithPriority=function(l,e){switch(l){case 1:case 2:case 3:case 4:case 5:break;default:l=3}var t=Ql;Ql=l;try{return e()}finally{Ql=t}};fl.unstable_scheduleCallback=function(l,e,t){var a=fl.unstable_now();switch(typeof t=="object"&&t!==null?(t=t.delay,t=typeof t=="number"&&0<t?a+t:a):t=a,l){case 1:var n=-1;break;case 2:n=250;break;case 5:n=1073741823;break;case 4:n=1e4;break;default:n=5e3}return n=t+n,l={id:Lv++,callback:e,priorityLevel:l,startTime:t,expirationTime:n,sortIndex:-1},t>a?(l.sortIndex=t,Sf(bt,l),He(Ze)===null&&l===He(bt)&&(Vn?(qd(Qn),Qn=-1):Vn=!0,Ef(Af,t-a))):(l.sortIndex=n,Sf(Ze,l),Gn||zf||(Gn=!0,qa||(qa=!0,xa()))),l};fl.unstable_shouldYield=Gd;fl.unstable_wrapCallback=function(l){var e=Ql;return function(){var t=Ql;Ql=e;try{return l.apply(this,arguments)}finally{Ql=t}}}});var Xd=Ju((ib,Qd)=>{"use strict";Qd.exports=Vd()});var lv=Ju(Bc=>{"use strict";var Al=Xd(),hh=zl(),Zv=rv();function b(l){var e="https://react.dev/errors/"+l;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)e+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+l+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}i(b,"formatProdErrorMessage");function yh(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}i(yh,"isValidContainer");function Mu(l){var e=l,t=l;if(l.alternate)for(;e.return;)e=e.return;else{l=e;do e=l,(e.flags&4098)!==0&&(t=e.return),l=e.return;while(l)}return e.tag===3?t:null}i(Mu,"getNearestMountedFiber");function vh(l){if(l.tag===13){var e=l.memoizedState;if(e===null&&(l=l.alternate,l!==null&&(e=l.memoizedState)),e!==null)return e.dehydrated}return null}i(vh,"getSuspenseInstanceFromFiber");function ph(l){if(l.tag===31){var e=l.memoizedState;if(e===null&&(l=l.alternate,l!==null&&(e=l.memoizedState)),e!==null)return e.dehydrated}return null}i(ph,"getActivityInstanceFromFiber");function jd(l){if(Mu(l)!==l)throw Error(b(188))}i(jd,"assertIsMounted");function Kv(l){var e=l.alternate;if(!e){if(e=Mu(l),e===null)throw Error(b(188));return e!==l?null:l}for(var t=l,a=e;;){var n=t.return;if(n===null)break;var u=n.alternate;if(u===null){if(a=n.return,a!==null){t=a;continue}break}if(n.child===u.child){for(u=n.child;u;){if(u===t)return jd(n),l;if(u===a)return jd(n),e;u=u.sibling}throw Error(b(188))}if(t.return!==a.return)t=n,a=u;else{for(var c=!1,f=n.child;f;){if(f===t){c=!0,t=n,a=u;break}if(f===a){c=!0,a=n,t=u;break}f=f.sibling}if(!c){for(f=u.child;f;){if(f===t){c=!0,t=u,a=n;break}if(f===a){c=!0,a=u,t=n;break}f=f.sibling}if(!c)throw Error(b(189))}}if(t.alternate!==a)throw Error(b(190))}if(t.tag!==3)throw Error(b(188));return t.stateNode.current===t?l:e}i(Kv,"findCurrentFiberUsingSlowPath");function gh(l){var e=l.tag;if(e===5||e===26||e===27||e===6)return l;for(l=l.child;l!==null;){if(e=gh(l),e!==null)return e;l=l.sibling}return null}i(gh,"findCurrentHostFiberImpl");var ul=Object.assign,Jv=Symbol.for("react.element"),si=Symbol.for("react.transitional.element"),Wn=Symbol.for("react.portal"),Xa=Symbol.for("react.fragment"),bh=Symbol.for("react.strict_mode"),no=Symbol.for("react.profiler"),Sh=Symbol.for("react.consumer"),Pe=Symbol.for("react.context"),ls=Symbol.for("react.forward_ref"),uo=Symbol.for("react.suspense"),io=Symbol.for("react.suspense_list"),es=Symbol.for("react.memo"),St=Symbol.for("react.lazy"),co=Symbol.for("react.activity"),wv=Symbol.for("react.memo_cache_sentinel"),Ld=Symbol.iterator;function Xn(l){return l===null||typeof l!="object"?null:(l=Ld&&l[Ld]||l["@@iterator"],typeof l=="function"?l:null)}i(Xn,"getIteratorFn");var Wv=Symbol.for("react.client.reference");function fo(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===Wv?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case Xa:return"Fragment";case no:return"Profiler";case bh:return"StrictMode";case uo:return"Suspense";case io:return"SuspenseList";case co:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case Wn:return"Portal";case Pe:return l.displayName||"Context";case Sh:return(l._context.displayName||"Context")+".Consumer";case ls:var e=l.render;return l=l.displayName,l||(l=e.displayName||e.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case es:return e=l.displayName||null,e!==null?e:fo(l.type)||"Memo";case St:e=l._payload,l=l._init;try{return fo(l(e))}catch{}}return null}i(fo,"getComponentNameFromType");var Fn=Array.isArray,k=hh.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z=Zv.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ca={pending:!1,data:null,method:null,action:null},oo=[],ja=-1;function Ye(l){return{current:l}}i(Ye,"createCursor");function Ul(l){0>ja||(l.current=oo[ja],oo[ja]=null,ja--)}i(Ul,"pop");function el(l,e){ja++,oo[ja]=l.current,l.current=e}i(el,"push");var Re=Ye(null),mu=Ye(null),Ct=Ye(null),ji=Ye(null);function Li(l,e){switch(el(Ct,e),el(mu,l),el(Re,null),e.nodeType){case 9:case 11:l=(l=e.documentElement)&&(l=l.namespaceURI)?$m(l):0;break;default:if(l=e.tagName,e=e.namespaceURI)e=$m(e),l=Vy(e,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}Ul(Re),el(Re,l)}i(Li,"pushHostContainer");function fn(){Ul(Re),Ul(mu),Ul(Ct)}i(fn,"popHostContainer");function so(l){l.memoizedState!==null&&el(ji,l);var e=Re.current,t=Vy(e,l.type);e!==t&&(el(mu,l),el(Re,t))}i(so,"pushHostContext");function Zi(l){mu.current===l&&(Ul(Re),Ul(mu)),ji.current===l&&(Ul(ji),Eu._currentValue=ca)}i(Zi,"popHostContext");var Nf,Zd;function aa(l){if(Nf===void 0)try{throw Error()}catch(t){var e=t.stack.trim().match(/\n( *(at )?)/);Nf=e&&e[1]||"",Zd=-1<t.stack.indexOf(`
1
+ import{a as fr}from"./chunk-DZ64G3BB.js";import{a as Da,b as kl,c as Sr}from"./chunk-H2EODYM3.js";import{a as zr,b as Tr,d as Ar,e as Er}from"./chunk-BLT5ZVGV.js";import{a as sr,b as rr,c as Wc,d as dr,e as mr,f as hr,g as yr,h as vr,i as pr,j as gr,k as br}from"./chunk-PDYEWDSG.js";import{a as rv,c as er}from"./chunk-YYQZMOGI.js";import{a as or}from"./chunk-JLKISVND.js";import{a as $u}from"./chunk-QESP3Y4J.js";import{a as Nr,b as _r,c as Mr}from"./chunk-DGVIPMH7.js";import{a as xn}from"./chunk-YZ6YGLNN.js";import{b as Fc,c as Cl}from"./chunk-73RGTE4Z.js";import{A as Zc,B as Fu,C as Kc,D as nr,F as Jc,G as ur,H as ir,J as cr,K as El,L as wc,a as zl,b as Vl,c as cl,k as Lc,p as Is,q as Ps,r as lr,t as wu,u as Wu,v as ze,w as Pt,x as tr,y as la,z as ar}from"./chunk-4LFDPSOL.js";import{a as i,b as Ju,c as Q,d as $s,e as H,f as hl,g as yl,h as X,i as T}from"./chunk-SSU37LFQ.js";var Vd=Ju(fl=>{"use strict";function Sf(l,e){var t=l.length;l.push(e);l:for(;0<t;){var a=t-1>>>1,n=l[a];if(0<ci(n,e))l[a]=e,l[t]=n,t=a;else break l}}i(Sf,"push");function He(l){return l.length===0?null:l[0]}i(He,"peek");function oi(l){if(l.length===0)return null;var e=l[0],t=l.pop();if(t!==e){l[0]=t;l:for(var a=0,n=l.length,u=n>>>1;a<u;){var c=2*(a+1)-1,f=l[c],o=c+1,s=l[o];if(0>ci(f,t))o<n&&0>ci(s,f)?(l[a]=s,l[o]=t,a=o):(l[a]=f,l[c]=t,a=c);else if(o<n&&0>ci(s,t))l[a]=s,l[o]=t,a=o;else break l}}return e}i(oi,"pop");function ci(l,e){var t=l.sortIndex-e.sortIndex;return t!==0?t:l.id-e.id}i(ci,"compare");fl.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(Cd=performance,fl.unstable_now=function(){return Cd.now()}):(pf=Date,kd=pf.now(),fl.unstable_now=function(){return pf.now()-kd});var Cd,pf,kd,Ze=[],bt=[],Lv=1,se=null,Ql=3,zf=!1,Gn=!1,Vn=!1,Tf=!1,xd=typeof setTimeout=="function"?setTimeout:null,qd=typeof clearTimeout=="function"?clearTimeout:null,Hd=typeof setImmediate<"u"?setImmediate:null;function fi(l){for(var e=He(bt);e!==null;){if(e.callback===null)oi(bt);else if(e.startTime<=l)oi(bt),e.sortIndex=e.expirationTime,Sf(Ze,e);else break;e=He(bt)}}i(fi,"advanceTimers");function Af(l){if(Vn=!1,fi(l),!Gn)if(He(Ze)!==null)Gn=!0,qa||(qa=!0,xa());else{var e=He(bt);e!==null&&Ef(Af,e.startTime-l)}}i(Af,"handleTimeout");var qa=!1,Qn=-1,Rd=5,Yd=-1;function Gd(){return Tf?!0:!(fl.unstable_now()-Yd<Rd)}i(Gd,"shouldYieldToHost");function gf(){if(Tf=!1,qa){var l=fl.unstable_now();Yd=l;var e=!0;try{l:{Gn=!1,Vn&&(Vn=!1,qd(Qn),Qn=-1),zf=!0;var t=Ql;try{e:{for(fi(l),se=He(Ze);se!==null&&!(se.expirationTime>l&&Gd());){var a=se.callback;if(typeof a=="function"){se.callback=null,Ql=se.priorityLevel;var n=a(se.expirationTime<=l);if(l=fl.unstable_now(),typeof n=="function"){se.callback=n,fi(l),e=!0;break e}se===He(Ze)&&oi(Ze),fi(l)}else oi(Ze);se=He(Ze)}if(se!==null)e=!0;else{var u=He(bt);u!==null&&Ef(Af,u.startTime-l),e=!1}}break l}finally{se=null,Ql=t,zf=!1}e=void 0}}finally{e?xa():qa=!1}}}i(gf,"performWorkUntilDeadline");var xa;typeof Hd=="function"?xa=i(function(){Hd(gf)},"schedulePerformWorkUntilDeadline"):typeof MessageChannel<"u"?(bf=new MessageChannel,Bd=bf.port2,bf.port1.onmessage=gf,xa=i(function(){Bd.postMessage(null)},"schedulePerformWorkUntilDeadline")):xa=i(function(){xd(gf,0)},"schedulePerformWorkUntilDeadline");var bf,Bd;function Ef(l,e){Qn=xd(function(){l(fl.unstable_now())},e)}i(Ef,"requestHostTimeout");fl.unstable_IdlePriority=5;fl.unstable_ImmediatePriority=1;fl.unstable_LowPriority=4;fl.unstable_NormalPriority=3;fl.unstable_Profiling=null;fl.unstable_UserBlockingPriority=2;fl.unstable_cancelCallback=function(l){l.callback=null};fl.unstable_forceFrameRate=function(l){0>l||125<l?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Rd=0<l?Math.floor(1e3/l):5};fl.unstable_getCurrentPriorityLevel=function(){return Ql};fl.unstable_next=function(l){switch(Ql){case 1:case 2:case 3:var e=3;break;default:e=Ql}var t=Ql;Ql=e;try{return l()}finally{Ql=t}};fl.unstable_requestPaint=function(){Tf=!0};fl.unstable_runWithPriority=function(l,e){switch(l){case 1:case 2:case 3:case 4:case 5:break;default:l=3}var t=Ql;Ql=l;try{return e()}finally{Ql=t}};fl.unstable_scheduleCallback=function(l,e,t){var a=fl.unstable_now();switch(typeof t=="object"&&t!==null?(t=t.delay,t=typeof t=="number"&&0<t?a+t:a):t=a,l){case 1:var n=-1;break;case 2:n=250;break;case 5:n=1073741823;break;case 4:n=1e4;break;default:n=5e3}return n=t+n,l={id:Lv++,callback:e,priorityLevel:l,startTime:t,expirationTime:n,sortIndex:-1},t>a?(l.sortIndex=t,Sf(bt,l),He(Ze)===null&&l===He(bt)&&(Vn?(qd(Qn),Qn=-1):Vn=!0,Ef(Af,t-a))):(l.sortIndex=n,Sf(Ze,l),Gn||zf||(Gn=!0,qa||(qa=!0,xa()))),l};fl.unstable_shouldYield=Gd;fl.unstable_wrapCallback=function(l){var e=Ql;return function(){var t=Ql;Ql=e;try{return l.apply(this,arguments)}finally{Ql=t}}}});var Xd=Ju((ib,Qd)=>{"use strict";Qd.exports=Vd()});var lv=Ju(Bc=>{"use strict";var Al=Xd(),hh=zl(),Zv=rv();function b(l){var e="https://react.dev/errors/"+l;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)e+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+l+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}i(b,"formatProdErrorMessage");function yh(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}i(yh,"isValidContainer");function Mu(l){var e=l,t=l;if(l.alternate)for(;e.return;)e=e.return;else{l=e;do e=l,(e.flags&4098)!==0&&(t=e.return),l=e.return;while(l)}return e.tag===3?t:null}i(Mu,"getNearestMountedFiber");function vh(l){if(l.tag===13){var e=l.memoizedState;if(e===null&&(l=l.alternate,l!==null&&(e=l.memoizedState)),e!==null)return e.dehydrated}return null}i(vh,"getSuspenseInstanceFromFiber");function ph(l){if(l.tag===31){var e=l.memoizedState;if(e===null&&(l=l.alternate,l!==null&&(e=l.memoizedState)),e!==null)return e.dehydrated}return null}i(ph,"getActivityInstanceFromFiber");function jd(l){if(Mu(l)!==l)throw Error(b(188))}i(jd,"assertIsMounted");function Kv(l){var e=l.alternate;if(!e){if(e=Mu(l),e===null)throw Error(b(188));return e!==l?null:l}for(var t=l,a=e;;){var n=t.return;if(n===null)break;var u=n.alternate;if(u===null){if(a=n.return,a!==null){t=a;continue}break}if(n.child===u.child){for(u=n.child;u;){if(u===t)return jd(n),l;if(u===a)return jd(n),e;u=u.sibling}throw Error(b(188))}if(t.return!==a.return)t=n,a=u;else{for(var c=!1,f=n.child;f;){if(f===t){c=!0,t=n,a=u;break}if(f===a){c=!0,a=n,t=u;break}f=f.sibling}if(!c){for(f=u.child;f;){if(f===t){c=!0,t=u,a=n;break}if(f===a){c=!0,a=u,t=n;break}f=f.sibling}if(!c)throw Error(b(189))}}if(t.alternate!==a)throw Error(b(190))}if(t.tag!==3)throw Error(b(188));return t.stateNode.current===t?l:e}i(Kv,"findCurrentFiberUsingSlowPath");function gh(l){var e=l.tag;if(e===5||e===26||e===27||e===6)return l;for(l=l.child;l!==null;){if(e=gh(l),e!==null)return e;l=l.sibling}return null}i(gh,"findCurrentHostFiberImpl");var ul=Object.assign,Jv=Symbol.for("react.element"),si=Symbol.for("react.transitional.element"),Wn=Symbol.for("react.portal"),Xa=Symbol.for("react.fragment"),bh=Symbol.for("react.strict_mode"),no=Symbol.for("react.profiler"),Sh=Symbol.for("react.consumer"),Pe=Symbol.for("react.context"),ls=Symbol.for("react.forward_ref"),uo=Symbol.for("react.suspense"),io=Symbol.for("react.suspense_list"),es=Symbol.for("react.memo"),St=Symbol.for("react.lazy"),co=Symbol.for("react.activity"),wv=Symbol.for("react.memo_cache_sentinel"),Ld=Symbol.iterator;function Xn(l){return l===null||typeof l!="object"?null:(l=Ld&&l[Ld]||l["@@iterator"],typeof l=="function"?l:null)}i(Xn,"getIteratorFn");var Wv=Symbol.for("react.client.reference");function fo(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===Wv?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case Xa:return"Fragment";case no:return"Profiler";case bh:return"StrictMode";case uo:return"Suspense";case io:return"SuspenseList";case co:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case Wn:return"Portal";case Pe:return l.displayName||"Context";case Sh:return(l._context.displayName||"Context")+".Consumer";case ls:var e=l.render;return l=l.displayName,l||(l=e.displayName||e.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case es:return e=l.displayName||null,e!==null?e:fo(l.type)||"Memo";case St:e=l._payload,l=l._init;try{return fo(l(e))}catch{}}return null}i(fo,"getComponentNameFromType");var Fn=Array.isArray,k=hh.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z=Zv.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ca={pending:!1,data:null,method:null,action:null},oo=[],ja=-1;function Ye(l){return{current:l}}i(Ye,"createCursor");function Ul(l){0>ja||(l.current=oo[ja],oo[ja]=null,ja--)}i(Ul,"pop");function el(l,e){ja++,oo[ja]=l.current,l.current=e}i(el,"push");var Re=Ye(null),mu=Ye(null),Ct=Ye(null),ji=Ye(null);function Li(l,e){switch(el(Ct,e),el(mu,l),el(Re,null),e.nodeType){case 9:case 11:l=(l=e.documentElement)&&(l=l.namespaceURI)?$m(l):0;break;default:if(l=e.tagName,e=e.namespaceURI)e=$m(e),l=Vy(e,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}Ul(Re),el(Re,l)}i(Li,"pushHostContainer");function fn(){Ul(Re),Ul(mu),Ul(Ct)}i(fn,"popHostContainer");function so(l){l.memoizedState!==null&&el(ji,l);var e=Re.current,t=Vy(e,l.type);e!==t&&(el(mu,l),el(Re,t))}i(so,"pushHostContext");function Zi(l){mu.current===l&&(Ul(Re),Ul(mu)),ji.current===l&&(Ul(ji),Eu._currentValue=ca)}i(Zi,"popHostContext");var Nf,Zd;function aa(l){if(Nf===void 0)try{throw Error()}catch(t){var e=t.stack.trim().match(/\n( *(at )?)/);Nf=e&&e[1]||"",Zd=-1<t.stack.indexOf(`
2
2
  at`)?" (<anonymous>)":-1<t.stack.indexOf("@")?"@unknown:0:0":""}return`
3
3
  `+Nf+l+Zd}i(aa,"describeBuiltInComponentFrame");var _f=!1;function Mf(l,e){if(!l||_f)return"";_f=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:i(function(){try{if(e){var p=i(function(){throw Error()},"Fake");if(Object.defineProperty(p.prototype,"props",{set:i(function(){throw Error()},"set")}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(p,[])}catch(m){var h=m}Reflect.construct(l,[],p)}else{try{p.call()}catch(m){h=m}l.call(p.prototype)}}else{try{throw Error()}catch(m){h=m}(p=l())&&typeof p.catch=="function"&&p.catch(function(){})}}catch(m){if(m&&h&&typeof m.stack=="string")return[m.stack,h.stack]}return[null,null]},"DetermineComponentFrameRoot")};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),c=u[0],f=u[1];if(c&&f){var o=c.split(`
4
4
  `),s=f.split(`
@@ -6,7 +6,7 @@ import{a as fr}from"./chunk-KNWOL5RR.js";import{a as Da,b as kl,c as Sr}from"./c
6
6
  `+o[a].replace(" at new "," at ");return l.displayName&&v.includes("<anonymous>")&&(v=v.replace("<anonymous>",l.displayName)),v}while(1<=a&&0<=n);break}}}finally{_f=!1,Error.prepareStackTrace=t}return(t=l?l.displayName||l.name:"")?aa(t):""}i(Mf,"describeNativeComponentFrame");function Fv(l,e){switch(l.tag){case 26:case 27:case 5:return aa(l.type);case 16:return aa("Lazy");case 13:return l.child!==e&&e!==null?aa("Suspense Fallback"):aa("Suspense");case 19:return aa("SuspenseList");case 0:case 15:return Mf(l.type,!1);case 11:return Mf(l.type.render,!1);case 1:return Mf(l.type,!0);case 31:return aa("Activity");default:return""}}i(Fv,"describeFiber");function Kd(l){try{var e="",t=null;do e+=Fv(l,t),t=l,l=l.return;while(l);return e}catch(a){return`
7
7
  Error generating stack: `+a.message+`
8
8
  `+a.stack}}i(Kd,"getStackByFiberInDevAndProd");var ro=Object.prototype.hasOwnProperty,ts=Al.unstable_scheduleCallback,Of=Al.unstable_cancelCallback,$v=Al.unstable_shouldYield,Iv=Al.unstable_requestPaint,te=Al.unstable_now,Pv=Al.unstable_getCurrentPriorityLevel,zh=Al.unstable_ImmediatePriority,Th=Al.unstable_UserBlockingPriority,Ki=Al.unstable_NormalPriority,l1=Al.unstable_LowPriority,Ah=Al.unstable_IdlePriority,e1=Al.log,t1=Al.unstable_setDisableYieldValue,Ou=null,ae=null;function _t(l){if(typeof e1=="function"&&t1(l),ae&&typeof ae.setStrictMode=="function")try{ae.setStrictMode(Ou,l)}catch{}}i(_t,"setIsStrictModeForDevtools");var ne=Math.clz32?Math.clz32:u1,a1=Math.log,n1=Math.LN2;function u1(l){return l>>>=0,l===0?32:31-(a1(l)/n1|0)|0}i(u1,"clz32Fallback");var ri=256,di=262144,mi=4194304;function na(l){var e=l&42;if(e!==0)return e;switch(l&-l){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return l&261888;case 262144:case 524288:case 1048576:case 2097152:return l&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return l&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return l}}i(na,"getHighestPriorityLanes");function gc(l,e,t){var a=l.pendingLanes;if(a===0)return 0;var n=0,u=l.suspendedLanes,c=l.pingedLanes;l=l.warmLanes;var f=a&134217727;return f!==0?(a=f&~u,a!==0?n=na(a):(c&=f,c!==0?n=na(c):t||(t=f&~l,t!==0&&(n=na(t))))):(f=a&~u,f!==0?n=na(f):c!==0?n=na(c):t||(t=a&~l,t!==0&&(n=na(t)))),n===0?0:e!==0&&e!==n&&(e&u)===0&&(u=n&-n,t=e&-e,u>=t||u===32&&(t&4194048)!==0)?e:n}i(gc,"getNextLanes");function Uu(l,e){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&e)===0}i(Uu,"checkIfRootIsPrerendering");function i1(l,e){switch(l){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32: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+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}i(i1,"computeExpirationTime");function Eh(){var l=mi;return mi<<=1,(mi&62914560)===0&&(mi=4194304),l}i(Eh,"claimNextRetryLane");function Uf(l){for(var e=[],t=0;31>t;t++)e.push(l);return e}i(Uf,"createLaneMap");function Du(l,e){l.pendingLanes|=e,e!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}i(Du,"markRootUpdated$1");function c1(l,e,t,a,n,u){var c=l.pendingLanes;l.pendingLanes=t,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=t,l.entangledLanes&=t,l.errorRecoveryDisabledLanes&=t,l.shellSuspendCounter=0;var f=l.entanglements,o=l.expirationTimes,s=l.hiddenUpdates;for(t=c&~t;0<t;){var v=31-ne(t),p=1<<v;f[v]=0,o[v]=-1;var h=s[v];if(h!==null)for(s[v]=null,v=0;v<h.length;v++){var m=h[v];m!==null&&(m.lane&=-536870913)}t&=~p}a!==0&&Nh(l,a,0),u!==0&&n===0&&l.tag!==0&&(l.suspendedLanes|=u&~(c&~e))}i(c1,"markRootFinished");function Nh(l,e,t){l.pendingLanes|=e,l.suspendedLanes&=~e;var a=31-ne(e);l.entangledLanes|=e,l.entanglements[a]=l.entanglements[a]|1073741824|t&261930}i(Nh,"markSpawnedDeferredLane");function _h(l,e){var t=l.entangledLanes|=e;for(l=l.entanglements;t;){var a=31-ne(t),n=1<<a;n&e|l[a]&e&&(l[a]|=e),t&=~n}}i(_h,"markRootEntangled");function Mh(l,e){var t=e&-e;return t=(t&42)!==0?1:as(t),(t&(l.suspendedLanes|e))!==0?0:t}i(Mh,"getBumpedLaneForHydration");function as(l){switch(l){case 2:l=1;break;case 8:l=4;break;case 32:l=16;break;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:l=128;break;case 268435456:l=134217728;break;default:l=0}return l}i(as,"getBumpedLaneForHydrationByLane");function ns(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}i(ns,"lanesToEventPriority");function Oh(){var l=Z.p;return l!==0?l:(l=window.event,l===void 0?32:$y(l.type))}i(Oh,"resolveUpdatePriority");function Jd(l,e){var t=Z.p;try{return Z.p=l,e()}finally{Z.p=t}}i(Jd,"runWithPriority");var Lt=Math.random().toString(36).slice(2),ql="__reactFiber$"+Lt,Fl="__reactProps$"+Lt,bn="__reactContainer$"+Lt,mo="__reactEvents$"+Lt,f1="__reactListeners$"+Lt,o1="__reactHandles$"+Lt,wd="__reactResources$"+Lt,Cu="__reactMarker$"+Lt;function us(l){delete l[ql],delete l[Fl],delete l[mo],delete l[f1],delete l[o1]}i(us,"detachDeletedInstance");function La(l){var e=l[ql];if(e)return e;for(var t=l.parentNode;t;){if(e=t[bn]||t[ql]){if(t=e.alternate,e.child!==null||t!==null&&t.child!==null)for(l=th(l);l!==null;){if(t=l[ql])return t;l=th(l)}return e}l=t,t=l.parentNode}return null}i(La,"getClosestInstanceFromNode");function Sn(l){if(l=l[ql]||l[bn]){var e=l.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return l}return null}i(Sn,"getInstanceFromNode");function $n(l){var e=l.tag;if(e===5||e===26||e===27||e===6)return l.stateNode;throw Error(b(33))}i($n,"getNodeFromInstance");function ln(l){var e=l[wd];return e||(e=l[wd]={hoistableStyles:new Map,hoistableScripts:new Map}),e}i(ln,"getResourcesFromRoot");function Ol(l){l[Cu]=!0}i(Ol,"markNodeAsHoistable");var Uh=new Set,Dh={};function pa(l,e){on(l,e),on(l+"Capture",e)}i(pa,"registerTwoPhaseEvent");function on(l,e){for(Dh[l]=e,l=0;l<e.length;l++)Uh.add(e[l])}i(on,"registerDirectEvent");var s1=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Wd={},Fd={};function r1(l){return ro.call(Fd,l)?!0:ro.call(Wd,l)?!1:s1.test(l)?Fd[l]=!0:(Wd[l]=!0,!1)}i(r1,"isAttributeNameSafe");function Oi(l,e,t){if(r1(e))if(t===null)l.removeAttribute(e);else{switch(typeof t){case"undefined":case"function":case"symbol":l.removeAttribute(e);return;case"boolean":var a=e.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){l.removeAttribute(e);return}}l.setAttribute(e,""+t)}}i(Oi,"setValueForAttribute");function hi(l,e,t){if(t===null)l.removeAttribute(e);else{switch(typeof t){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(e);return}l.setAttribute(e,""+t)}}i(hi,"setValueForKnownAttribute");function Ke(l,e,t,a){if(a===null)l.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(t);return}l.setAttributeNS(e,t,""+a)}}i(Ke,"setValueForNamespacedAttribute");function de(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}i(de,"getToStringValue");function Ch(l){var e=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}i(Ch,"isCheckable");function d1(l,e,t){var a=Object.getOwnPropertyDescriptor(l.constructor.prototype,e);if(!l.hasOwnProperty(e)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var n=a.get,u=a.set;return Object.defineProperty(l,e,{configurable:!0,get:i(function(){return n.call(this)},"get"),set:i(function(c){t=""+c,u.call(this,c)},"set")}),Object.defineProperty(l,e,{enumerable:a.enumerable}),{getValue:i(function(){return t},"getValue"),setValue:i(function(c){t=""+c},"setValue"),stopTracking:i(function(){l._valueTracker=null,delete l[e]},"stopTracking")}}}i(d1,"trackValueOnNode");function ho(l){if(!l._valueTracker){var e=Ch(l)?"checked":"value";l._valueTracker=d1(l,e,""+l[e])}}i(ho,"track");function kh(l){if(!l)return!1;var e=l._valueTracker;if(!e)return!0;var t=e.getValue(),a="";return l&&(a=Ch(l)?l.checked?"true":"false":l.value),l=a,l!==t?(e.setValue(l),!0):!1}i(kh,"updateValueIfChanged");function Ji(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}i(Ji,"getActiveElement");var m1=/[\n"\\]/g;function ye(l){return l.replace(m1,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}i(ye,"escapeSelectorAttributeValueInsideDoubleQuotes");function yo(l,e,t,a,n,u,c,f){l.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?l.type=c:l.removeAttribute("type"),e!=null?c==="number"?(e===0&&l.value===""||l.value!=e)&&(l.value=""+de(e)):l.value!==""+de(e)&&(l.value=""+de(e)):c!=="submit"&&c!=="reset"||l.removeAttribute("value"),e!=null?vo(l,c,de(e)):t!=null?vo(l,c,de(t)):a!=null&&l.removeAttribute("value"),n==null&&u!=null&&(l.defaultChecked=!!u),n!=null&&(l.checked=n&&typeof n!="function"&&typeof n!="symbol"),f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?l.name=""+de(f):l.removeAttribute("name")}i(yo,"updateInput");function Hh(l,e,t,a,n,u,c,f){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(l.type=u),e!=null||t!=null){if(!(u!=="submit"&&u!=="reset"||e!=null)){ho(l);return}t=t!=null?""+de(t):"",e=e!=null?""+de(e):t,f||e===l.value||(l.value=e),l.defaultValue=e}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,l.checked=f?l.checked:!!a,l.defaultChecked=!!a,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(l.name=c),ho(l)}i(Hh,"initInput");function vo(l,e,t){e==="number"&&Ji(l.ownerDocument)===l||l.defaultValue===""+t||(l.defaultValue=""+t)}i(vo,"setDefaultValue");function en(l,e,t,a){if(l=l.options,e){e={};for(var n=0;n<t.length;n++)e["$"+t[n]]=!0;for(t=0;t<l.length;t++)n=e.hasOwnProperty("$"+l[t].value),l[t].selected!==n&&(l[t].selected=n),n&&a&&(l[t].defaultSelected=!0)}else{for(t=""+de(t),e=null,n=0;n<l.length;n++){if(l[n].value===t){l[n].selected=!0,a&&(l[n].defaultSelected=!0);return}e!==null||l[n].disabled||(e=l[n])}e!==null&&(e.selected=!0)}}i(en,"updateOptions");function Bh(l,e,t){if(e!=null&&(e=""+de(e),e!==l.value&&(l.value=e),t==null)){l.defaultValue!==e&&(l.defaultValue=e);return}l.defaultValue=t!=null?""+de(t):""}i(Bh,"updateTextarea");function xh(l,e,t,a){if(e==null){if(a!=null){if(t!=null)throw Error(b(92));if(Fn(a)){if(1<a.length)throw Error(b(93));a=a[0]}t=a}t==null&&(t=""),e=t}t=de(e),l.defaultValue=t,a=l.textContent,a===t&&a!==""&&a!==null&&(l.value=a),ho(l)}i(xh,"initTextarea");function sn(l,e){if(e){var t=l.firstChild;if(t&&t===l.lastChild&&t.nodeType===3){t.nodeValue=e;return}}l.textContent=e}i(sn,"setTextContent");var h1=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function $d(l,e,t){var a=e.indexOf("--")===0;t==null||typeof t=="boolean"||t===""?a?l.setProperty(e,""):e==="float"?l.cssFloat="":l[e]="":a?l.setProperty(e,t):typeof t!="number"||t===0||h1.has(e)?e==="float"?l.cssFloat=t:l[e]=(""+t).trim():l[e]=t+"px"}i($d,"setValueForStyle");function qh(l,e,t){if(e!=null&&typeof e!="object")throw Error(b(62));if(l=l.style,t!=null){for(var a in t)!t.hasOwnProperty(a)||e!=null&&e.hasOwnProperty(a)||(a.indexOf("--")===0?l.setProperty(a,""):a==="float"?l.cssFloat="":l[a]="");for(var n in e)a=e[n],e.hasOwnProperty(n)&&t[n]!==a&&$d(l,n,a)}else for(var u in e)e.hasOwnProperty(u)&&$d(l,u,e[u])}i(qh,"setValueForStyles");function is(l){if(l.indexOf("-")===-1)return!1;switch(l){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}}i(is,"isCustomElement");var y1=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),v1=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Ui(l){return v1.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}i(Ui,"sanitizeURL");function lt(){}i(lt,"noop$1");var po=null;function cs(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}i(cs,"getEventTarget");var Za=null,tn=null;function Id(l){var e=Sn(l);if(e&&(l=e.stateNode)){var t=l[Fl]||null;l:switch(l=e.stateNode,e.type){case"input":if(yo(l,t.value,t.defaultValue,t.defaultValue,t.checked,t.defaultChecked,t.type,t.name),e=t.name,t.type==="radio"&&e!=null){for(t=l;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll('input[name="'+ye(""+e)+'"][type="radio"]'),e=0;e<t.length;e++){var a=t[e];if(a!==l&&a.form===l.form){var n=a[Fl]||null;if(!n)throw Error(b(90));yo(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(e=0;e<t.length;e++)a=t[e],a.form===l.form&&kh(a)}break l;case"textarea":Bh(l,t.value,t.defaultValue);break l;case"select":e=t.value,e!=null&&en(l,!!t.multiple,e,!1)}}}i(Id,"restoreStateOfTarget");var Df=!1;function Rh(l,e,t){if(Df)return l(e,t);Df=!0;try{var a=l(e);return a}finally{if(Df=!1,(Za!==null||tn!==null)&&(Dc(),Za&&(e=Za,l=tn,tn=Za=null,Id(e),l)))for(e=0;e<l.length;e++)Id(l[e])}}i(Rh,"batchedUpdates$1");function hu(l,e){var t=l.stateNode;if(t===null)return null;var a=t[Fl]||null;if(a===null)return null;t=a[e];l:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(l=l.type,a=!(l==="button"||l==="input"||l==="select"||l==="textarea")),l=!a;break l;default:l=!1}if(l)return null;if(t&&typeof t!="function")throw Error(b(231,e,typeof t));return t}i(hu,"getListener");var ut=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),go=!1;if(ut)try{Ra={},Object.defineProperty(Ra,"passive",{get:i(function(){go=!0},"get")}),window.addEventListener("test",Ra,Ra),window.removeEventListener("test",Ra,Ra)}catch{go=!1}var Ra,Mt=null,fs=null,Di=null;function Yh(){if(Di)return Di;var l,e=fs,t=e.length,a,n="value"in Mt?Mt.value:Mt.textContent,u=n.length;for(l=0;l<t&&e[l]===n[l];l++);var c=t-l;for(a=1;a<=c&&e[t-a]===n[u-a];a++);return Di=n.slice(l,1<a?1-a:void 0)}i(Yh,"getData");function Ci(l){var e=l.keyCode;return"charCode"in l?(l=l.charCode,l===0&&e===13&&(l=13)):l=e,l===10&&(l=13),32<=l||l===13?l:0}i(Ci,"getEventCharCode");function yi(){return!0}i(yi,"functionThatReturnsTrue");function Pd(){return!1}i(Pd,"functionThatReturnsFalse");function $l(l){function e(t,a,n,u,c){this._reactName=t,this._targetInst=n,this.type=a,this.nativeEvent=u,this.target=c,this.currentTarget=null;for(var f in l)l.hasOwnProperty(f)&&(t=l[f],this[f]=t?t(u):u[f]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?yi:Pd,this.isPropagationStopped=Pd,this}return i(e,"SyntheticBaseEvent"),ul(e.prototype,{preventDefault:i(function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():typeof t.returnValue!="unknown"&&(t.returnValue=!1),this.isDefaultPrevented=yi)},"preventDefault"),stopPropagation:i(function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():typeof t.cancelBubble!="unknown"&&(t.cancelBubble=!0),this.isPropagationStopped=yi)},"stopPropagation"),persist:i(function(){},"persist"),isPersistent:yi}),e}i($l,"createSyntheticEvent");var ga={eventPhase:0,bubbles:0,cancelable:0,timeStamp:i(function(l){return l.timeStamp||Date.now()},"timeStamp"),defaultPrevented:0,isTrusted:0},bc=$l(ga),ku=ul({},ga,{view:0,detail:0}),p1=$l(ku),Cf,kf,jn,Sc=ul({},ku,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:os,button:0,buttons:0,relatedTarget:i(function(l){return l.relatedTarget===void 0?l.fromElement===l.srcElement?l.toElement:l.fromElement:l.relatedTarget},"relatedTarget"),movementX:i(function(l){return"movementX"in l?l.movementX:(l!==jn&&(jn&&l.type==="mousemove"?(Cf=l.screenX-jn.screenX,kf=l.screenY-jn.screenY):kf=Cf=0,jn=l),Cf)},"movementX"),movementY:i(function(l){return"movementY"in l?l.movementY:kf},"movementY")}),lm=$l(Sc),g1=ul({},Sc,{dataTransfer:0}),b1=$l(g1),S1=ul({},ku,{relatedTarget:0}),Hf=$l(S1),z1=ul({},ga,{animationName:0,elapsedTime:0,pseudoElement:0}),T1=$l(z1),A1=ul({},ga,{clipboardData:i(function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData},"clipboardData")}),E1=$l(A1),N1=ul({},ga,{data:0}),em=$l(N1),_1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},M1={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"},O1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function U1(l){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(l):(l=O1[l])?!!e[l]:!1}i(U1,"modifierStateGetter");function os(){return U1}i(os,"getEventModifierState");var D1=ul({},ku,{key:i(function(l){if(l.key){var e=_1[l.key]||l.key;if(e!=="Unidentified")return e}return l.type==="keypress"?(l=Ci(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?M1[l.keyCode]||"Unidentified":""},"key"),code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:os,charCode:i(function(l){return l.type==="keypress"?Ci(l):0},"charCode"),keyCode:i(function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},"keyCode"),which:i(function(l){return l.type==="keypress"?Ci(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0},"which")}),C1=$l(D1),k1=ul({},Sc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),tm=$l(k1),H1=ul({},ku,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:os}),B1=$l(H1),x1=ul({},ga,{propertyName:0,elapsedTime:0,pseudoElement:0}),q1=$l(x1),R1=ul({},Sc,{deltaX:i(function(l){return"deltaX"in l?l.deltaX:"wheelDeltaX"in l?-l.wheelDeltaX:0},"deltaX"),deltaY:i(function(l){return"deltaY"in l?l.deltaY:"wheelDeltaY"in l?-l.wheelDeltaY:"wheelDelta"in l?-l.wheelDelta:0},"deltaY"),deltaZ:0,deltaMode:0}),Y1=$l(R1),G1=ul({},ga,{newState:0,oldState:0}),V1=$l(G1),Q1=[9,13,27,32],ss=ut&&"CompositionEvent"in window,lu=null;ut&&"documentMode"in document&&(lu=document.documentMode);var X1=ut&&"TextEvent"in window&&!lu,Gh=ut&&(!ss||lu&&8<lu&&11>=lu),am=" ",nm=!1;function Vh(l,e){switch(l){case"keyup":return Q1.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}i(Vh,"isFallbackCompositionEnd");function Qh(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}i(Qh,"getDataFromCustomEvent");var Ka=!1;function j1(l,e){switch(l){case"compositionend":return Qh(e);case"keypress":return e.which!==32?null:(nm=!0,am);case"textInput":return l=e.data,l===am&&nm?null:l;default:return null}}i(j1,"getNativeBeforeInputChars");function L1(l,e){if(Ka)return l==="compositionend"||!ss&&Vh(l,e)?(l=Yh(),Di=fs=Mt=null,Ka=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return Gh&&e.locale!=="ko"?null:e.data;default:return null}}i(L1,"getFallbackBeforeInputChars");var Z1={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 um(l){var e=l&&l.nodeName&&l.nodeName.toLowerCase();return e==="input"?!!Z1[l.type]:e==="textarea"}i(um,"isTextInputElement");function Xh(l,e,t,a){Za?tn?tn.push(a):tn=[a]:Za=a,e=rc(e,"onChange"),0<e.length&&(t=new bc("onChange","change",null,t,a),l.push({event:t,listeners:e}))}i(Xh,"createAndAccumulateChangeEvent");var eu=null,yu=null;function K1(l){Ry(l,0)}i(K1,"runEventInBatch");function zc(l){var e=$n(l);if(kh(e))return l}i(zc,"getInstIfValueChanged");function im(l,e){if(l==="change")return e}i(im,"getTargetInstForChangeEvent");var jh=!1;ut&&(ut?(pi="oninput"in document,pi||(Bf=document.createElement("div"),Bf.setAttribute("oninput","return;"),pi=typeof Bf.oninput=="function"),vi=pi):vi=!1,jh=vi&&(!document.documentMode||9<document.documentMode));var vi,pi,Bf;function cm(){eu&&(eu.detachEvent("onpropertychange",Lh),yu=eu=null)}i(cm,"stopWatchingForValueChange");function Lh(l){if(l.propertyName==="value"&&zc(yu)){var e=[];Xh(e,yu,l,cs(l)),Rh(K1,e)}}i(Lh,"handlePropertyChange");function J1(l,e,t){l==="focusin"?(cm(),eu=e,yu=t,eu.attachEvent("onpropertychange",Lh)):l==="focusout"&&cm()}i(J1,"handleEventsForInputEventPolyfill");function w1(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return zc(yu)}i(w1,"getTargetInstForInputEventPolyfill");function W1(l,e){if(l==="click")return zc(e)}i(W1,"getTargetInstForClickEvent");function F1(l,e){if(l==="input"||l==="change")return zc(e)}i(F1,"getTargetInstForInputOrChangeEvent");function $1(l,e){return l===e&&(l!==0||1/l===1/e)||l!==l&&e!==e}i($1,"is");var ie=typeof Object.is=="function"?Object.is:$1;function vu(l,e){if(ie(l,e))return!0;if(typeof l!="object"||l===null||typeof e!="object"||e===null)return!1;var t=Object.keys(l),a=Object.keys(e);if(t.length!==a.length)return!1;for(a=0;a<t.length;a++){var n=t[a];if(!ro.call(e,n)||!ie(l[n],e[n]))return!1}return!0}i(vu,"shallowEqual");function fm(l){for(;l&&l.firstChild;)l=l.firstChild;return l}i(fm,"getLeafNode");function om(l,e){var t=fm(l);l=0;for(var a;t;){if(t.nodeType===3){if(a=l+t.textContent.length,l<=e&&a>=e)return{node:t,offset:e-l};l=a}l:{for(;t;){if(t.nextSibling){t=t.nextSibling;break l}t=t.parentNode}t=void 0}t=fm(t)}}i(om,"getNodeForCharacterOffset");function Zh(l,e){return l&&e?l===e?!0:l&&l.nodeType===3?!1:e&&e.nodeType===3?Zh(l,e.parentNode):"contains"in l?l.contains(e):l.compareDocumentPosition?!!(l.compareDocumentPosition(e)&16):!1:!1}i(Zh,"containsNode");function Kh(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var e=Ji(l.document);e instanceof l.HTMLIFrameElement;){try{var t=typeof e.contentWindow.location.href=="string"}catch{t=!1}if(t)l=e.contentWindow;else break;e=Ji(l.document)}return e}i(Kh,"getActiveElementDeep");function rs(l){var e=l&&l.nodeName&&l.nodeName.toLowerCase();return e&&(e==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||e==="textarea"||l.contentEditable==="true")}i(rs,"hasSelectionCapabilities");var I1=ut&&"documentMode"in document&&11>=document.documentMode,Ja=null,bo=null,tu=null,So=!1;function sm(l,e,t){var a=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;So||Ja==null||Ja!==Ji(a)||(a=Ja,"selectionStart"in a&&rs(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),tu&&vu(tu,a)||(tu=a,a=rc(bo,"onSelect"),0<a.length&&(e=new bc("onSelect","select",null,e,t),l.push({event:e,listeners:a}),e.target=Ja)))}i(sm,"constructSelectEvent");function ta(l,e){var t={};return t[l.toLowerCase()]=e.toLowerCase(),t["Webkit"+l]="webkit"+e,t["Moz"+l]="moz"+e,t}i(ta,"makePrefixMap");var wa={animationend:ta("Animation","AnimationEnd"),animationiteration:ta("Animation","AnimationIteration"),animationstart:ta("Animation","AnimationStart"),transitionrun:ta("Transition","TransitionRun"),transitionstart:ta("Transition","TransitionStart"),transitioncancel:ta("Transition","TransitionCancel"),transitionend:ta("Transition","TransitionEnd")},xf={},Jh={};ut&&(Jh=document.createElement("div").style,"AnimationEvent"in window||(delete wa.animationend.animation,delete wa.animationiteration.animation,delete wa.animationstart.animation),"TransitionEvent"in window||delete wa.transitionend.transition);function ba(l){if(xf[l])return xf[l];if(!wa[l])return l;var e=wa[l],t;for(t in e)if(e.hasOwnProperty(t)&&t in Jh)return xf[l]=e[t];return l}i(ba,"getVendorPrefixedEventName");var wh=ba("animationend"),Wh=ba("animationiteration"),Fh=ba("animationstart"),P1=ba("transitionrun"),lp=ba("transitionstart"),ep=ba("transitioncancel"),$h=ba("transitionend"),Ih=new Map,zo="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");zo.push("scrollEnd");function Ne(l,e){Ih.set(l,e),pa(e,[l])}i(Ne,"registerSimpleEvent");var wi=typeof reportError=="function"?reportError:function(l){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof l=="object"&&l!==null&&typeof l.message=="string"?String(l.message):String(l),error:l});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",l);return}console.error(l)},re=[],Wa=0,ds=0;function Tc(){for(var l=Wa,e=ds=Wa=0;e<l;){var t=re[e];re[e++]=null;var a=re[e];re[e++]=null;var n=re[e];re[e++]=null;var u=re[e];if(re[e++]=null,a!==null&&n!==null){var c=a.pending;c===null?n.next=n:(n.next=c.next,c.next=n),a.pending=n}u!==0&&Ph(t,n,u)}}i(Tc,"finishQueueingConcurrentUpdates");function Ac(l,e,t,a){re[Wa++]=l,re[Wa++]=e,re[Wa++]=t,re[Wa++]=a,ds|=a,l.lanes|=a,l=l.alternate,l!==null&&(l.lanes|=a)}i(Ac,"enqueueUpdate$1");function ms(l,e,t,a){return Ac(l,e,t,a),Wi(l)}i(ms,"enqueueConcurrentHookUpdate");function Sa(l,e){return Ac(l,null,null,e),Wi(l)}i(Sa,"enqueueConcurrentRenderForLane");function Ph(l,e,t){l.lanes|=t;var a=l.alternate;a!==null&&(a.lanes|=t);for(var n=!1,u=l.return;u!==null;)u.childLanes|=t,a=u.alternate,a!==null&&(a.childLanes|=t),u.tag===22&&(l=u.stateNode,l===null||l._visibility&1||(n=!0)),l=u,u=u.return;return l.tag===3?(u=l.stateNode,n&&e!==null&&(n=31-ne(t),l=u.hiddenUpdates,a=l[n],a===null?l[n]=[e]:a.push(e),e.lane=t|536870912),u):null}i(Ph,"markUpdateLaneFromFiberToRoot");function Wi(l){if(50<ru)throw ru=0,Xo=null,Error(b(185));for(var e=l.return;e!==null;)l=e,e=l.return;return l.tag===3?l.stateNode:null}i(Wi,"getRootForUpdatedFiber");var Fa={};function tp(l,e,t,a){this.tag=l,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}i(tp,"FiberNode");function le(l,e,t,a){return new tp(l,e,t,a)}i(le,"createFiberImplClass");function hs(l){return l=l.prototype,!(!l||!l.isReactComponent)}i(hs,"shouldConstruct");function tt(l,e){var t=l.alternate;return t===null?(t=le(l.tag,e,l.key,l.mode),t.elementType=l.elementType,t.type=l.type,t.stateNode=l.stateNode,t.alternate=l,l.alternate=t):(t.pendingProps=e,t.type=l.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=l.flags&65011712,t.childLanes=l.childLanes,t.lanes=l.lanes,t.child=l.child,t.memoizedProps=l.memoizedProps,t.memoizedState=l.memoizedState,t.updateQueue=l.updateQueue,e=l.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},t.sibling=l.sibling,t.index=l.index,t.ref=l.ref,t.refCleanup=l.refCleanup,t}i(tt,"createWorkInProgress");function l0(l,e){l.flags&=65011714;var t=l.alternate;return t===null?(l.childLanes=0,l.lanes=e,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue,l.type=t.type,e=t.dependencies,l.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),l}i(l0,"resetWorkInProgress");function ki(l,e,t,a,n,u){var c=0;if(a=l,typeof l=="function")hs(l)&&(c=1);else if(typeof l=="string")c=ug(l,t,Re.current)?26:l==="html"||l==="head"||l==="body"?27:5;else l:switch(l){case co:return l=le(31,t,e,n),l.elementType=co,l.lanes=u,l;case Xa:return fa(t.children,n,u,e);case bh:c=8,n|=24;break;case no:return l=le(12,t,e,n|2),l.elementType=no,l.lanes=u,l;case uo:return l=le(13,t,e,n),l.elementType=uo,l.lanes=u,l;case io:return l=le(19,t,e,n),l.elementType=io,l.lanes=u,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case Pe:c=10;break l;case Sh:c=9;break l;case ls:c=11;break l;case es:c=14;break l;case St:c=16,a=null;break l}c=29,t=Error(b(130,l===null?"null":typeof l,"")),a=null}return e=le(c,t,e,n),e.elementType=l,e.type=a,e.lanes=u,e}i(ki,"createFiberFromTypeAndProps");function fa(l,e,t,a){return l=le(7,l,a,e),l.lanes=t,l}i(fa,"createFiberFromFragment");function qf(l,e,t){return l=le(6,l,null,e),l.lanes=t,l}i(qf,"createFiberFromText");function e0(l){var e=le(18,null,null,0);return e.stateNode=l,e}i(e0,"createFiberFromDehydratedFragment");function Rf(l,e,t){return e=le(4,l.children!==null?l.children:[],l.key,e),e.lanes=t,e.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},e}i(Rf,"createFiberFromPortal");var rm=new WeakMap;function ve(l,e){if(typeof l=="object"&&l!==null){var t=rm.get(l);return t!==void 0?t:(e={value:l,source:e,stack:Kd(e)},rm.set(l,e),e)}return{value:l,source:e,stack:Kd(e)}}i(ve,"createCapturedValueAtFiber");var $a=[],Ia=0,Fi=null,pu=0,me=[],he=0,Vt=null,Be=1,xe="";function $e(l,e){$a[Ia++]=pu,$a[Ia++]=Fi,Fi=l,pu=e}i($e,"pushTreeFork");function t0(l,e,t){me[he++]=Be,me[he++]=xe,me[he++]=Vt,Vt=l;var a=Be;l=xe;var n=32-ne(a)-1;a&=~(1<<n),t+=1;var u=32-ne(e)+n;if(30<u){var c=n-n%5;u=(a&(1<<c)-1).toString(32),a>>=c,n-=c,Be=1<<32-ne(e)+n|t<<n|a,xe=u+l}else Be=1<<u|t<<n|a,xe=l}i(t0,"pushTreeId");function ys(l){l.return!==null&&($e(l,1),t0(l,1,0))}i(ys,"pushMaterializedTreeId");function vs(l){for(;l===Fi;)Fi=$a[--Ia],$a[Ia]=null,pu=$a[--Ia],$a[Ia]=null;for(;l===Vt;)Vt=me[--he],me[he]=null,xe=me[--he],me[he]=null,Be=me[--he],me[he]=null}i(vs,"popTreeContext");function a0(l,e){me[he++]=Be,me[he++]=xe,me[he++]=Vt,Be=e.id,xe=e.overflow,Vt=l}i(a0,"restoreSuspendedTreeContext");var Rl=null,nl=null,j=!1,kt=null,pe=!1,To=Error(b(519));function Qt(l){var e=Error(b(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw gu(ve(e,l)),To}i(Qt,"throwOnHydrationMismatch");function dm(l){var e=l.stateNode,t=l.type,a=l.memoizedProps;switch(e[ql]=l,e[Fl]=a,t){case"dialog":Y("cancel",e),Y("close",e);break;case"iframe":case"object":case"embed":Y("load",e);break;case"video":case"audio":for(t=0;t<Tu.length;t++)Y(Tu[t],e);break;case"source":Y("error",e);break;case"img":case"image":case"link":Y("error",e),Y("load",e);break;case"details":Y("toggle",e);break;case"input":Y("invalid",e),Hh(e,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":Y("invalid",e);break;case"textarea":Y("invalid",e),xh(e,a.value,a.defaultValue,a.children)}t=a.children,typeof t!="string"&&typeof t!="number"&&typeof t!="bigint"||e.textContent===""+t||a.suppressHydrationWarning===!0||Gy(e.textContent,t)?(a.popover!=null&&(Y("beforetoggle",e),Y("toggle",e)),a.onScroll!=null&&Y("scroll",e),a.onScrollEnd!=null&&Y("scrollend",e),a.onClick!=null&&(e.onclick=lt),e=!0):e=!1,e||Qt(l,!0)}i(dm,"prepareToHydrateHostInstance");function mm(l){for(Rl=l.return;Rl;)switch(Rl.tag){case 5:case 31:case 13:pe=!1;return;case 27:case 3:pe=!0;return;default:Rl=Rl.return}}i(mm,"popToNextHostParent");function Ya(l){if(l!==Rl)return!1;if(!j)return mm(l),j=!0,!1;var e=l.tag,t;if((t=e!==3&&e!==27)&&((t=e===5)&&(t=l.type,t=!(t!=="form"&&t!=="button")||Jo(l.type,l.memoizedProps)),t=!t),t&&nl&&Qt(l),mm(l),e===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(b(317));nl=eh(l)}else if(e===31){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(b(317));nl=eh(l)}else e===27?(e=nl,Zt(l.type)?(l=$o,$o=null,nl=l):nl=e):nl=Rl?be(l.stateNode.nextSibling):null;return!0}i(Ya,"popHydrationState");function da(){nl=Rl=null,j=!1}i(da,"resetHydrationState");function Yf(){var l=kt;return l!==null&&(wl===null?wl=l:wl.push.apply(wl,l),kt=null),l}i(Yf,"upgradeHydrationErrorsToRecoverable");function gu(l){kt===null?kt=[l]:kt.push(l)}i(gu,"queueHydrationError");var Ao=Ye(null),za=null,et=null;function Tt(l,e,t){el(Ao,e._currentValue),e._currentValue=t}i(Tt,"pushProvider");function at(l){l._currentValue=Ao.current,Ul(Ao)}i(at,"popProvider");function Eo(l,e,t){for(;l!==null;){var a=l.alternate;if((l.childLanes&e)!==e?(l.childLanes|=e,a!==null&&(a.childLanes|=e)):a!==null&&(a.childLanes&e)!==e&&(a.childLanes|=e),l===t)break;l=l.return}}i(Eo,"scheduleContextWorkOnParentPath");function No(l,e,t,a){var n=l.child;for(n!==null&&(n.return=l);n!==null;){var u=n.dependencies;if(u!==null){var c=n.child;u=u.firstContext;l:for(;u!==null;){var f=u;u=n;for(var o=0;o<e.length;o++)if(f.context===e[o]){u.lanes|=t,f=u.alternate,f!==null&&(f.lanes|=t),Eo(u.return,t,l),a||(c=null);break l}u=f.next}}else if(n.tag===18){if(c=n.return,c===null)throw Error(b(341));c.lanes|=t,u=c.alternate,u!==null&&(u.lanes|=t),Eo(c,t,l),c=null}else c=n.child;if(c!==null)c.return=n;else for(c=n;c!==null;){if(c===l){c=null;break}if(n=c.sibling,n!==null){n.return=c.return,c=n;break}c=c.return}n=c}}i(No,"propagateContextChanges");function zn(l,e,t,a){l=null;for(var n=e,u=!1;n!==null;){if(!u){if((n.flags&524288)!==0)u=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var c=n.alternate;if(c===null)throw Error(b(387));if(c=c.memoizedProps,c!==null){var f=n.type;ie(n.pendingProps.value,c.value)||(l!==null?l.push(f):l=[f])}}else if(n===ji.current){if(c=n.alternate,c===null)throw Error(b(387));c.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(l!==null?l.push(Eu):l=[Eu])}n=n.return}l!==null&&No(e,l,t,a),e.flags|=262144}i(zn,"propagateParentContextChanges");function $i(l){for(l=l.firstContext;l!==null;){if(!ie(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}i($i,"checkIfContextChanged");function ma(l){za=l,et=null,l=l.dependencies,l!==null&&(l.firstContext=null)}i(ma,"prepareToReadContext");function Yl(l){return n0(za,l)}i(Yl,"readContext");function gi(l,e){return za===null&&ma(l),n0(l,e)}i(gi,"readContextDuringReconciliation");function n0(l,e){var t=e._currentValue;if(e={context:e,memoizedValue:t,next:null},et===null){if(l===null)throw Error(b(308));et=e,l.dependencies={lanes:0,firstContext:e},l.flags|=524288}else et=et.next=e;return t}i(n0,"readContextForConsumer");var ap=typeof AbortController<"u"?AbortController:function(){var l=[],e=this.signal={aborted:!1,addEventListener:i(function(t,a){l.push(a)},"addEventListener")};this.abort=function(){e.aborted=!0,l.forEach(function(t){return t()})}},np=Al.unstable_scheduleCallback,up=Al.unstable_NormalPriority,gl={$$typeof:Pe,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ps(){return{controller:new ap,data:new Map,refCount:0}}i(ps,"createCache");function Hu(l){l.refCount--,l.refCount===0&&np(up,function(){l.controller.abort()})}i(Hu,"releaseCache");var au=null,_o=0,rn=0,an=null;function ip(l,e){if(au===null){var t=au=[];_o=0,rn=Xs(),an={status:"pending",value:void 0,then:i(function(a){t.push(a)},"then")}}return _o++,e.then(hm,hm),e}i(ip,"entangleAsyncAction");function hm(){if(--_o===0&&au!==null){an!==null&&(an.status="fulfilled");var l=au;au=null,rn=0,an=null;for(var e=0;e<l.length;e++)(0,l[e])()}}i(hm,"pingEngtangledActionScope");function cp(l,e){var t=[],a={status:"pending",value:null,reason:null,then:i(function(n){t.push(n)},"then")};return l.then(function(){a.status="fulfilled",a.value=e;for(var n=0;n<t.length;n++)(0,t[n])(e)},function(n){for(a.status="rejected",a.reason=n,n=0;n<t.length;n++)(0,t[n])(void 0)}),a}i(cp,"chainThenableValue");var ym=k.S;k.S=function(l,e){gy=te(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&ip(l,e),ym!==null&&ym(l,e)};var oa=Ye(null);function gs(){var l=oa.current;return l!==null?l:ll.pooledCache}i(gs,"peekCacheFromPool");function Hi(l,e){e===null?el(oa,oa.current):el(oa,e.pool)}i(Hi,"pushTransition");function u0(){var l=gs();return l===null?null:{parent:gl._currentValue,pool:l}}i(u0,"getSuspendedCache");var Tn=Error(b(460)),bs=Error(b(474)),Ec=Error(b(542)),Ii={then:i(function(){},"then")};function vm(l){return l=l.status,l==="fulfilled"||l==="rejected"}i(vm,"isThenableResolved");function i0(l,e,t){switch(t=l[t],t===void 0?l.push(e):t!==e&&(e.then(lt,lt),e=t),e.status){case"fulfilled":return e.value;case"rejected":throw l=e.reason,gm(l),l;default:if(typeof e.status=="string")e.then(lt,lt);else{if(l=ll,l!==null&&100<l.shellSuspendCounter)throw Error(b(482));l=e,l.status="pending",l.then(function(a){if(e.status==="pending"){var n=e;n.status="fulfilled",n.value=a}},function(a){if(e.status==="pending"){var n=e;n.status="rejected",n.reason=a}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw l=e.reason,gm(l),l}throw sa=e,Tn}}i(i0,"trackUsedThenable");function ua(l){try{var e=l._init;return e(l._payload)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(sa=t,Tn):t}}i(ua,"resolveLazy");var sa=null;function pm(){if(sa===null)throw Error(b(459));var l=sa;return sa=null,l}i(pm,"getSuspendedThenable");function gm(l){if(l===Tn||l===Ec)throw Error(b(483))}i(gm,"checkIfUseWrappedInAsyncCatch");var nn=null,bu=0;function bi(l){var e=bu;return bu+=1,nn===null&&(nn=[]),i0(nn,l,e)}i(bi,"unwrapThenable");function Ln(l,e){e=e.props.ref,l.ref=e!==void 0?e:null}i(Ln,"coerceRef");function Si(l,e){throw e.$$typeof===Jv?Error(b(525)):(l=Object.prototype.toString.call(e),Error(b(31,l==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":l)))}i(Si,"throwOnInvalidObjectTypeImpl");function c0(l){function e(d,r){if(l){var y=d.deletions;y===null?(d.deletions=[r],d.flags|=16):y.push(r)}}i(e,"deleteChild");function t(d,r){if(!l)return null;for(;r!==null;)e(d,r),r=r.sibling;return null}i(t,"deleteRemainingChildren");function a(d){for(var r=new Map;d!==null;)d.key!==null?r.set(d.key,d):r.set(d.index,d),d=d.sibling;return r}i(a,"mapRemainingChildren");function n(d,r){return d=tt(d,r),d.index=0,d.sibling=null,d}i(n,"useFiber");function u(d,r,y){return d.index=y,l?(y=d.alternate,y!==null?(y=y.index,y<r?(d.flags|=67108866,r):y):(d.flags|=67108866,r)):(d.flags|=1048576,r)}i(u,"placeChild");function c(d){return l&&d.alternate===null&&(d.flags|=67108866),d}i(c,"placeSingleChild");function f(d,r,y,g){return r===null||r.tag!==6?(r=qf(y,d.mode,g),r.return=d,r):(r=n(r,y),r.return=d,r)}i(f,"updateTextNode");function o(d,r,y,g){var A=y.type;return A===Xa?v(d,r,y.props.children,g,y.key):r!==null&&(r.elementType===A||typeof A=="object"&&A!==null&&A.$$typeof===St&&ua(A)===r.type)?(r=n(r,y.props),Ln(r,y),r.return=d,r):(r=ki(y.type,y.key,y.props,null,d.mode,g),Ln(r,y),r.return=d,r)}i(o,"updateElement");function s(d,r,y,g){return r===null||r.tag!==4||r.stateNode.containerInfo!==y.containerInfo||r.stateNode.implementation!==y.implementation?(r=Rf(y,d.mode,g),r.return=d,r):(r=n(r,y.children||[]),r.return=d,r)}i(s,"updatePortal");function v(d,r,y,g,A){return r===null||r.tag!==7?(r=fa(y,d.mode,g,A),r.return=d,r):(r=n(r,y),r.return=d,r)}i(v,"updateFragment");function p(d,r,y){if(typeof r=="string"&&r!==""||typeof r=="number"||typeof r=="bigint")return r=qf(""+r,d.mode,y),r.return=d,r;if(typeof r=="object"&&r!==null){switch(r.$$typeof){case si:return y=ki(r.type,r.key,r.props,null,d.mode,y),Ln(y,r),y.return=d,y;case Wn:return r=Rf(r,d.mode,y),r.return=d,r;case St:return r=ua(r),p(d,r,y)}if(Fn(r)||Xn(r))return r=fa(r,d.mode,y,null),r.return=d,r;if(typeof r.then=="function")return p(d,bi(r),y);if(r.$$typeof===Pe)return p(d,gi(d,r),y);Si(d,r)}return null}i(p,"createChild");function h(d,r,y,g){var A=r!==null?r.key:null;if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return A!==null?null:f(d,r,""+y,g);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case si:return y.key===A?o(d,r,y,g):null;case Wn:return y.key===A?s(d,r,y,g):null;case St:return y=ua(y),h(d,r,y,g)}if(Fn(y)||Xn(y))return A!==null?null:v(d,r,y,g,null);if(typeof y.then=="function")return h(d,r,bi(y),g);if(y.$$typeof===Pe)return h(d,r,gi(d,y),g);Si(d,y)}return null}i(h,"updateSlot");function m(d,r,y,g,A){if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return d=d.get(y)||null,f(r,d,""+g,A);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case si:return d=d.get(g.key===null?y:g.key)||null,o(r,d,g,A);case Wn:return d=d.get(g.key===null?y:g.key)||null,s(r,d,g,A);case St:return g=ua(g),m(d,r,y,g,A)}if(Fn(g)||Xn(g))return d=d.get(y)||null,v(r,d,g,A,null);if(typeof g.then=="function")return m(d,r,y,bi(g),A);if(g.$$typeof===Pe)return m(d,r,y,gi(r,g),A);Si(r,g)}return null}i(m,"updateFromMap");function S(d,r,y,g){for(var A=null,x=null,N=r,M=r=0,U=null;N!==null&&M<y.length;M++){N.index>M?(U=N,N=null):U=N.sibling;var R=h(d,N,y[M],g);if(R===null){N===null&&(N=U);break}l&&N&&R.alternate===null&&e(d,N),r=u(R,r,M),x===null?A=R:x.sibling=R,x=R,N=U}if(M===y.length)return t(d,N),j&&$e(d,M),A;if(N===null){for(;M<y.length;M++)N=p(d,y[M],g),N!==null&&(r=u(N,r,M),x===null?A=N:x.sibling=N,x=N);return j&&$e(d,M),A}for(N=a(N);M<y.length;M++)U=m(N,d,M,y[M],g),U!==null&&(l&&U.alternate!==null&&N.delete(U.key===null?M:U.key),r=u(U,r,M),x===null?A=U:x.sibling=U,x=U);return l&&N.forEach(function(jl){return e(d,jl)}),j&&$e(d,M),A}i(S,"reconcileChildrenArray");function E(d,r,y,g){if(y==null)throw Error(b(151));for(var A=null,x=null,N=r,M=r=0,U=null,R=y.next();N!==null&&!R.done;M++,R=y.next()){N.index>M?(U=N,N=null):U=N.sibling;var jl=h(d,N,R.value,g);if(jl===null){N===null&&(N=U);break}l&&N&&jl.alternate===null&&e(d,N),r=u(jl,r,M),x===null?A=jl:x.sibling=jl,x=jl,N=U}if(R.done)return t(d,N),j&&$e(d,M),A;if(N===null){for(;!R.done;M++,R=y.next())R=p(d,R.value,g),R!==null&&(r=u(R,r,M),x===null?A=R:x.sibling=R,x=R);return j&&$e(d,M),A}for(N=a(N);!R.done;M++,R=y.next())R=m(N,d,M,R.value,g),R!==null&&(l&&R.alternate!==null&&N.delete(R.key===null?M:R.key),r=u(R,r,M),x===null?A=R:x.sibling=R,x=R);return l&&N.forEach(function(Jt){return e(d,Jt)}),j&&$e(d,M),A}i(E,"reconcileChildrenIterator");function O(d,r,y,g){if(typeof y=="object"&&y!==null&&y.type===Xa&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case si:l:{for(var A=y.key;r!==null;){if(r.key===A){if(A=y.type,A===Xa){if(r.tag===7){t(d,r.sibling),g=n(r,y.props.children),g.return=d,d=g;break l}}else if(r.elementType===A||typeof A=="object"&&A!==null&&A.$$typeof===St&&ua(A)===r.type){t(d,r.sibling),g=n(r,y.props),Ln(g,y),g.return=d,d=g;break l}t(d,r);break}else e(d,r);r=r.sibling}y.type===Xa?(g=fa(y.props.children,d.mode,g,y.key),g.return=d,d=g):(g=ki(y.type,y.key,y.props,null,d.mode,g),Ln(g,y),g.return=d,d=g)}return c(d);case Wn:l:{for(A=y.key;r!==null;){if(r.key===A)if(r.tag===4&&r.stateNode.containerInfo===y.containerInfo&&r.stateNode.implementation===y.implementation){t(d,r.sibling),g=n(r,y.children||[]),g.return=d,d=g;break l}else{t(d,r);break}else e(d,r);r=r.sibling}g=Rf(y,d.mode,g),g.return=d,d=g}return c(d);case St:return y=ua(y),O(d,r,y,g)}if(Fn(y))return S(d,r,y,g);if(Xn(y)){if(A=Xn(y),typeof A!="function")throw Error(b(150));return y=A.call(y),E(d,r,y,g)}if(typeof y.then=="function")return O(d,r,bi(y),g);if(y.$$typeof===Pe)return O(d,r,gi(d,y),g);Si(d,y)}return typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint"?(y=""+y,r!==null&&r.tag===6?(t(d,r.sibling),g=n(r,y),g.return=d,d=g):(t(d,r),g=qf(y,d.mode,g),g.return=d,d=g),c(d)):t(d,r)}return i(O,"reconcileChildFibersImpl"),function(d,r,y,g){try{bu=0;var A=O(d,r,y,g);return nn=null,A}catch(N){if(N===Tn||N===Ec)throw N;var x=le(29,N,null,d.mode);return x.lanes=g,x.return=d,x}}}i(c0,"createChildReconciler");var ha=c0(!0),f0=c0(!1),zt=!1;function Ss(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}i(Ss,"initializeUpdateQueue");function Mo(l,e){l=l.updateQueue,e.updateQueue===l&&(e.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,callbacks:null})}i(Mo,"cloneUpdateQueue");function Ht(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}i(Ht,"createUpdate");function Bt(l,e,t){var a=l.updateQueue;if(a===null)return null;if(a=a.shared,(L&2)!==0){var n=a.pending;return n===null?e.next=e:(e.next=n.next,n.next=e),a.pending=e,e=Wi(l),Ph(l,null,t),e}return Ac(l,a,e,t),Wi(l)}i(Bt,"enqueueUpdate");function nu(l,e,t){if(e=e.updateQueue,e!==null&&(e=e.shared,(t&4194048)!==0)){var a=e.lanes;a&=l.pendingLanes,t|=a,e.lanes=t,_h(l,t)}}i(nu,"entangleTransitions");function Gf(l,e){var t=l.updateQueue,a=l.alternate;if(a!==null&&(a=a.updateQueue,t===a)){var n=null,u=null;if(t=t.firstBaseUpdate,t!==null){do{var c={lane:t.lane,tag:t.tag,payload:t.payload,callback:null,next:null};u===null?n=u=c:u=u.next=c,t=t.next}while(t!==null);u===null?n=u=e:u=u.next=e}else n=u=e;t={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},l.updateQueue=t;return}l=t.lastBaseUpdate,l===null?t.firstBaseUpdate=e:l.next=e,t.lastBaseUpdate=e}i(Gf,"enqueueCapturedUpdate");var Oo=!1;function uu(){if(Oo){var l=an;if(l!==null)throw l}}i(uu,"suspendIfUpdateReadFromEntangledAsyncAction");function iu(l,e,t,a){Oo=!1;var n=l.updateQueue;zt=!1;var u=n.firstBaseUpdate,c=n.lastBaseUpdate,f=n.shared.pending;if(f!==null){n.shared.pending=null;var o=f,s=o.next;o.next=null,c===null?u=s:c.next=s,c=o;var v=l.alternate;v!==null&&(v=v.updateQueue,f=v.lastBaseUpdate,f!==c&&(f===null?v.firstBaseUpdate=s:f.next=s,v.lastBaseUpdate=o))}if(u!==null){var p=n.baseState;c=0,v=s=o=null,f=u;do{var h=f.lane&-536870913,m=h!==f.lane;if(m?(V&h)===h:(a&h)===h){h!==0&&h===rn&&(Oo=!0),v!==null&&(v=v.next={lane:0,tag:f.tag,payload:f.payload,callback:null,next:null});l:{var S=l,E=f;h=e;var O=t;switch(E.tag){case 1:if(S=E.payload,typeof S=="function"){p=S.call(O,p,h);break l}p=S;break l;case 3:S.flags=S.flags&-65537|128;case 0:if(S=E.payload,h=typeof S=="function"?S.call(O,p,h):S,h==null)break l;p=ul({},p,h);break l;case 2:zt=!0}}h=f.callback,h!==null&&(l.flags|=64,m&&(l.flags|=8192),m=n.callbacks,m===null?n.callbacks=[h]:m.push(h))}else m={lane:h,tag:f.tag,payload:f.payload,callback:f.callback,next:null},v===null?(s=v=m,o=p):v=v.next=m,c|=h;if(f=f.next,f===null){if(f=n.shared.pending,f===null)break;m=f,f=m.next,m.next=null,n.lastBaseUpdate=m,n.shared.pending=null}}while(!0);v===null&&(o=p),n.baseState=o,n.firstBaseUpdate=s,n.lastBaseUpdate=v,u===null&&(n.shared.lanes=0),jt|=c,l.lanes=c,l.memoizedState=p}}i(iu,"processUpdateQueue");function o0(l,e){if(typeof l!="function")throw Error(b(191,l));l.call(e)}i(o0,"callCallback");function s0(l,e){var t=l.callbacks;if(t!==null)for(l.callbacks=null,l=0;l<t.length;l++)o0(t[l],e)}i(s0,"commitCallbacks");var dn=Ye(null),Pi=Ye(0);function bm(l,e){l=ot,el(Pi,l),el(dn,e),ot=l|e.baseLanes}i(bm,"pushHiddenContext");function Uo(){el(Pi,ot),el(dn,dn.current)}i(Uo,"reuseHiddenContextOnStack");function zs(){ot=Pi.current,Ul(dn),Ul(Pi)}i(zs,"popHiddenContext");var ce=Ye(null),ge=null;function At(l){var e=l.alternate;el(dl,dl.current&1),el(ce,l),ge===null&&(e===null||dn.current!==null||e.memoizedState!==null)&&(ge=l)}i(At,"pushPrimaryTreeSuspenseHandler");function Do(l){el(dl,dl.current),el(ce,l),ge===null&&(ge=l)}i(Do,"pushDehydratedActivitySuspenseHandler");function r0(l){l.tag===22?(el(dl,dl.current),el(ce,l),ge===null&&(ge=l)):Et(l)}i(r0,"pushOffscreenSuspenseHandler");function Et(){el(dl,dl.current),el(ce,ce.current)}i(Et,"reuseSuspenseHandlerOnStack");function Pl(l){Ul(ce),ge===l&&(ge=null),Ul(dl)}i(Pl,"popSuspenseHandler");var dl=Ye(0);function lc(l){for(var e=l;e!==null;){if(e.tag===13){var t=e.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||Wo(t)||Fo(t)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===l)break;for(;e.sibling===null;){if(e.return===null||e.return===l)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}i(lc,"findFirstSuspended");var it=0,q=null,I=null,vl=null,ec=!1,un=!1,ya=!1,tc=0,Su=0,cn=null,fp=0;function sl(){throw Error(b(321))}i(sl,"throwInvalidHookError");function Ts(l,e){if(e===null)return!1;for(var t=0;t<e.length&&t<l.length;t++)if(!ie(l[t],e[t]))return!1;return!0}i(Ts,"areHookInputsEqual");function As(l,e,t,a,n,u){return it=u,q=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,k.H=l===null||l.memoizedState===null?X0:Bs,ya=!1,u=t(a,n),ya=!1,un&&(u=m0(e,t,a,n)),d0(l),u}i(As,"renderWithHooks");function d0(l){k.H=zu;var e=I!==null&&I.next!==null;if(it=0,vl=I=q=null,ec=!1,Su=0,cn=null,e)throw Error(b(300));l===null||bl||(l=l.dependencies,l!==null&&$i(l)&&(bl=!0))}i(d0,"finishRenderingHooks");function m0(l,e,t,a){q=l;var n=0;do{if(un&&(cn=null),Su=0,un=!1,25<=n)throw Error(b(301));if(n+=1,vl=I=null,l.updateQueue!=null){var u=l.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}k.H=j0,u=e(t,a)}while(un);return u}i(m0,"renderWithHooksAgain");function op(){var l=k.H,e=l.useState()[0];return e=typeof e.then=="function"?Bu(e):e,l=l.useState()[0],(I!==null?I.memoizedState:null)!==l&&(q.flags|=1024),e}i(op,"TransitionAwareHostComponent");function Es(){var l=tc!==0;return tc=0,l}i(Es,"checkDidRenderIdHook");function Ns(l,e,t){e.updateQueue=l.updateQueue,e.flags&=-2053,l.lanes&=~t}i(Ns,"bailoutHooks");function _s(l){if(ec){for(l=l.memoizedState;l!==null;){var e=l.queue;e!==null&&(e.pending=null),l=l.next}ec=!1}it=0,vl=I=q=null,un=!1,Su=tc=0,cn=null}i(_s,"resetHooksOnUnwind");function Xl(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return vl===null?q.memoizedState=vl=l:vl=vl.next=l,vl}i(Xl,"mountWorkInProgressHook");function ml(){if(I===null){var l=q.alternate;l=l!==null?l.memoizedState:null}else l=I.next;var e=vl===null?q.memoizedState:vl.next;if(e!==null)vl=e,I=l;else{if(l===null)throw q.alternate===null?Error(b(467)):Error(b(310));I=l,l={memoizedState:I.memoizedState,baseState:I.baseState,baseQueue:I.baseQueue,queue:I.queue,next:null},vl===null?q.memoizedState=vl=l:vl=vl.next=l}return vl}i(ml,"updateWorkInProgressHook");function Nc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}i(Nc,"createFunctionComponentUpdateQueue");function Bu(l){var e=Su;return Su+=1,cn===null&&(cn=[]),l=i0(cn,l,e),e=q,(vl===null?e.memoizedState:vl.next)===null&&(e=e.alternate,k.H=e===null||e.memoizedState===null?X0:Bs),l}i(Bu,"useThenable");function _c(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return Bu(l);if(l.$$typeof===Pe)return Yl(l)}throw Error(b(438,String(l)))}i(_c,"use");function Ms(l){var e=null,t=q.updateQueue;if(t!==null&&(e=t.memoCache),e==null){var a=q.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(e={data:a.data.map(function(n){return n.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),t===null&&(t=Nc(),q.updateQueue=t),t.memoCache=e,t=e.data[e.index],t===void 0)for(t=e.data[e.index]=Array(l),a=0;a<l;a++)t[a]=wv;return e.index++,t}i(Ms,"useMemoCache");function ct(l,e){return typeof e=="function"?e(l):e}i(ct,"basicStateReducer");function Bi(l){var e=ml();return Os(e,I,l)}i(Bi,"updateReducer");function Os(l,e,t){var a=l.queue;if(a===null)throw Error(b(311));a.lastRenderedReducer=t;var n=l.baseQueue,u=a.pending;if(u!==null){if(n!==null){var c=n.next;n.next=u.next,u.next=c}e.baseQueue=n=u,a.pending=null}if(u=l.baseState,n===null)l.memoizedState=u;else{e=n.next;var f=c=null,o=null,s=e,v=!1;do{var p=s.lane&-536870913;if(p!==s.lane?(V&p)===p:(it&p)===p){var h=s.revertLane;if(h===0)o!==null&&(o=o.next={lane:0,revertLane:0,gesture:null,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),p===rn&&(v=!0);else if((it&h)===h){s=s.next,h===rn&&(v=!0);continue}else p={lane:0,revertLane:s.revertLane,gesture:null,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null},o===null?(f=o=p,c=u):o=o.next=p,q.lanes|=h,jt|=h;p=s.action,ya&&t(u,p),u=s.hasEagerState?s.eagerState:t(u,p)}else h={lane:p,revertLane:s.revertLane,gesture:s.gesture,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null},o===null?(f=o=h,c=u):o=o.next=h,q.lanes|=p,jt|=p;s=s.next}while(s!==null&&s!==e);if(o===null?c=u:o.next=f,!ie(u,l.memoizedState)&&(bl=!0,v&&(t=an,t!==null)))throw t;l.memoizedState=u,l.baseState=c,l.baseQueue=o,a.lastRenderedState=u}return n===null&&(a.lanes=0),[l.memoizedState,a.dispatch]}i(Os,"updateReducerImpl");function Vf(l){var e=ml(),t=e.queue;if(t===null)throw Error(b(311));t.lastRenderedReducer=l;var a=t.dispatch,n=t.pending,u=e.memoizedState;if(n!==null){t.pending=null;var c=n=n.next;do u=l(u,c.action),c=c.next;while(c!==n);ie(u,e.memoizedState)||(bl=!0),e.memoizedState=u,e.baseQueue===null&&(e.baseState=u),t.lastRenderedState=u}return[u,a]}i(Vf,"rerenderReducer");function h0(l,e,t){var a=q,n=ml(),u=j;if(u){if(t===void 0)throw Error(b(407));t=t()}else t=e();var c=!ie((I||n).memoizedState,t);if(c&&(n.memoizedState=t,bl=!0),n=n.queue,Us(p0.bind(null,a,n,l),[l]),n.getSnapshot!==e||c||vl!==null&&vl.memoizedState.tag&1){if(a.flags|=2048,mn(9,{destroy:void 0},v0.bind(null,a,n,t,e),null),ll===null)throw Error(b(349));u||(it&127)!==0||y0(a,e,t)}return t}i(h0,"updateSyncExternalStore");function y0(l,e,t){l.flags|=16384,l={getSnapshot:e,value:t},e=q.updateQueue,e===null?(e=Nc(),q.updateQueue=e,e.stores=[l]):(t=e.stores,t===null?e.stores=[l]:t.push(l))}i(y0,"pushStoreConsistencyCheck");function v0(l,e,t,a){e.value=t,e.getSnapshot=a,g0(e)&&b0(l)}i(v0,"updateStoreInstance");function p0(l,e,t){return t(function(){g0(e)&&b0(l)})}i(p0,"subscribeToStore");function g0(l){var e=l.getSnapshot;l=l.value;try{var t=e();return!ie(l,t)}catch{return!0}}i(g0,"checkIfSnapshotChanged");function b0(l){var e=Sa(l,2);e!==null&&Wl(e,l,2)}i(b0,"forceStoreRerender");function Co(l){var e=Xl();if(typeof l=="function"){var t=l;if(l=t(),ya){_t(!0);try{t()}finally{_t(!1)}}}return e.memoizedState=e.baseState=l,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ct,lastRenderedState:l},e}i(Co,"mountStateImpl");function S0(l,e,t,a){return l.baseState=t,Os(l,I,typeof a=="function"?a:ct)}i(S0,"updateOptimisticImpl");function sp(l,e,t,a,n){if(Oc(l))throw Error(b(485));if(l=e.action,l!==null){var u={payload:n,action:l,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:i(function(c){u.listeners.push(c)},"then")};k.T!==null?t(!0):u.isTransition=!1,a(u),t=e.pending,t===null?(u.next=e.pending=u,z0(e,u)):(u.next=t.next,e.pending=t.next=u)}}i(sp,"dispatchActionState");function z0(l,e){var t=e.action,a=e.payload,n=l.state;if(e.isTransition){var u=k.T,c={};k.T=c;try{var f=t(n,a),o=k.S;o!==null&&o(c,f),Sm(l,e,f)}catch(s){ko(l,e,s)}finally{u!==null&&c.types!==null&&(u.types=c.types),k.T=u}}else try{u=t(n,a),Sm(l,e,u)}catch(s){ko(l,e,s)}}i(z0,"runActionStateAction");function Sm(l,e,t){t!==null&&typeof t=="object"&&typeof t.then=="function"?t.then(function(a){zm(l,e,a)},function(a){return ko(l,e,a)}):zm(l,e,t)}i(Sm,"handleActionReturnValue");function zm(l,e,t){e.status="fulfilled",e.value=t,T0(e),l.state=t,e=l.pending,e!==null&&(t=e.next,t===e?l.pending=null:(t=t.next,e.next=t,z0(l,t)))}i(zm,"onActionSuccess");function ko(l,e,t){var a=l.pending;if(l.pending=null,a!==null){a=a.next;do e.status="rejected",e.reason=t,T0(e),e=e.next;while(e!==a)}l.action=null}i(ko,"onActionError");function T0(l){l=l.listeners;for(var e=0;e<l.length;e++)(0,l[e])()}i(T0,"notifyActionListeners");function A0(l,e){return e}i(A0,"actionStateReducer");function Tm(l,e){if(j){var t=ll.formState;if(t!==null){l:{var a=q;if(j){if(nl){e:{for(var n=nl,u=pe;n.nodeType!==8;){if(!u){n=null;break e}if(n=be(n.nextSibling),n===null){n=null;break e}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){nl=be(n.nextSibling),a=n.data==="F!";break l}}Qt(a)}a=!1}a&&(e=t[0])}}return t=Xl(),t.memoizedState=t.baseState=e,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:A0,lastRenderedState:e},t.queue=a,t=G0.bind(null,q,a),a.dispatch=t,a=Co(!1),u=Hs.bind(null,q,!1,a.queue),a=Xl(),n={state:e,dispatch:null,action:l,pending:null},a.queue=n,t=sp.bind(null,q,n,u,t),n.dispatch=t,a.memoizedState=l,[e,t,!1]}i(Tm,"mountActionState");function Am(l){var e=ml();return E0(e,I,l)}i(Am,"updateActionState");function E0(l,e,t){if(e=Os(l,e,A0)[0],l=Bi(ct)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var a=Bu(e)}catch(c){throw c===Tn?Ec:c}else a=e;e=ml();var n=e.queue,u=n.dispatch;return t!==e.memoizedState&&(q.flags|=2048,mn(9,{destroy:void 0},rp.bind(null,n,t),null)),[a,u,l]}i(E0,"updateActionStateImpl");function rp(l,e){l.action=e}i(rp,"actionStateActionEffect");function Em(l){var e=ml(),t=I;if(t!==null)return E0(e,t,l);ml(),e=e.memoizedState,t=ml();var a=t.queue.dispatch;return t.memoizedState=l,[e,a,!1]}i(Em,"rerenderActionState");function mn(l,e,t,a){return l={tag:l,create:t,deps:a,inst:e,next:null},e=q.updateQueue,e===null&&(e=Nc(),q.updateQueue=e),t=e.lastEffect,t===null?e.lastEffect=l.next=l:(a=t.next,t.next=l,l.next=a,e.lastEffect=l),l}i(mn,"pushSimpleEffect");function N0(){return ml().memoizedState}i(N0,"updateRef");function xi(l,e,t,a){var n=Xl();q.flags|=l,n.memoizedState=mn(1|e,{destroy:void 0},t,a===void 0?null:a)}i(xi,"mountEffectImpl");function Mc(l,e,t,a){var n=ml();a=a===void 0?null:a;var u=n.memoizedState.inst;I!==null&&a!==null&&Ts(a,I.memoizedState.deps)?n.memoizedState=mn(e,u,t,a):(q.flags|=l,n.memoizedState=mn(1|e,u,t,a))}i(Mc,"updateEffectImpl");function Nm(l,e){xi(8390656,8,l,e)}i(Nm,"mountEffect");function Us(l,e){Mc(2048,8,l,e)}i(Us,"updateEffect");function dp(l){q.flags|=4;var e=q.updateQueue;if(e===null)e=Nc(),q.updateQueue=e,e.events=[l];else{var t=e.events;t===null?e.events=[l]:t.push(l)}}i(dp,"useEffectEventImpl");function _0(l){var e=ml().memoizedState;return dp({ref:e,nextImpl:l}),function(){if((L&2)!==0)throw Error(b(440));return e.impl.apply(void 0,arguments)}}i(_0,"updateEvent");function M0(l,e){return Mc(4,2,l,e)}i(M0,"updateInsertionEffect");function O0(l,e){return Mc(4,4,l,e)}i(O0,"updateLayoutEffect");function U0(l,e){if(typeof e=="function"){l=l();var t=e(l);return function(){typeof t=="function"?t():e(null)}}if(e!=null)return l=l(),e.current=l,function(){e.current=null}}i(U0,"imperativeHandleEffect");function D0(l,e,t){t=t!=null?t.concat([l]):null,Mc(4,4,U0.bind(null,e,l),t)}i(D0,"updateImperativeHandle");function Ds(){}i(Ds,"mountDebugValue");function C0(l,e){var t=ml();e=e===void 0?null:e;var a=t.memoizedState;return e!==null&&Ts(e,a[1])?a[0]:(t.memoizedState=[l,e],l)}i(C0,"updateCallback");function k0(l,e){var t=ml();e=e===void 0?null:e;var a=t.memoizedState;if(e!==null&&Ts(e,a[1]))return a[0];if(a=l(),ya){_t(!0);try{l()}finally{_t(!1)}}return t.memoizedState=[a,e],a}i(k0,"updateMemo");function Cs(l,e,t){return t===void 0||(it&1073741824)!==0&&(V&261930)===0?l.memoizedState=e:(l.memoizedState=t,l=Sy(),q.lanes|=l,jt|=l,t)}i(Cs,"mountDeferredValueImpl");function H0(l,e,t,a){return ie(t,e)?t:dn.current!==null?(l=Cs(l,t,a),ie(l,e)||(bl=!0),l):(it&42)===0||(it&1073741824)!==0&&(V&261930)===0?(bl=!0,l.memoizedState=t):(l=Sy(),q.lanes|=l,jt|=l,e)}i(H0,"updateDeferredValueImpl");function B0(l,e,t,a,n){var u=Z.p;Z.p=u!==0&&8>u?u:8;var c=k.T,f={};k.T=f,Hs(l,!1,e,t);try{var o=n(),s=k.S;if(s!==null&&s(f,o),o!==null&&typeof o=="object"&&typeof o.then=="function"){var v=cp(o,a);cu(l,e,v,ue(l))}else cu(l,e,a,ue(l))}catch(p){cu(l,e,{then:i(function(){},"then"),status:"rejected",reason:p},ue())}finally{Z.p=u,c!==null&&f.types!==null&&(c.types=f.types),k.T=c}}i(B0,"startTransition");function mp(){}i(mp,"noop");function Ho(l,e,t,a){if(l.tag!==5)throw Error(b(476));var n=x0(l).queue;B0(l,n,e,ca,t===null?mp:function(){return q0(l),t(a)})}i(Ho,"startHostTransition");function x0(l){var e=l.memoizedState;if(e!==null)return e;e={memoizedState:ca,baseState:ca,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ct,lastRenderedState:ca},next:null};var t={};return e.next={memoizedState:t,baseState:t,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ct,lastRenderedState:t},next:null},l.memoizedState=e,l=l.alternate,l!==null&&(l.memoizedState=e),e}i(x0,"ensureFormComponentIsStateful");function q0(l){var e=x0(l);e.next===null&&(e=l.alternate.memoizedState),cu(l,e.next.queue,{},ue())}i(q0,"requestFormReset$1");function ks(){return Yl(Eu)}i(ks,"useHostTransitionStatus");function R0(){return ml().memoizedState}i(R0,"updateId");function Y0(){return ml().memoizedState}i(Y0,"updateRefresh");function hp(l){for(var e=l.return;e!==null;){switch(e.tag){case 24:case 3:var t=ue();l=Ht(t);var a=Bt(e,l,t);a!==null&&(Wl(a,e,t),nu(a,e,t)),e={cache:ps()},l.payload=e;return}e=e.return}}i(hp,"refreshCache");function yp(l,e,t){var a=ue();t={lane:a,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null},Oc(l)?V0(e,t):(t=ms(l,e,t,a),t!==null&&(Wl(t,l,a),Q0(t,e,a)))}i(yp,"dispatchReducerAction");function G0(l,e,t){var a=ue();cu(l,e,t,a)}i(G0,"dispatchSetState");function cu(l,e,t,a){var n={lane:a,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null};if(Oc(l))V0(e,n);else{var u=l.alternate;if(l.lanes===0&&(u===null||u.lanes===0)&&(u=e.lastRenderedReducer,u!==null))try{var c=e.lastRenderedState,f=u(c,t);if(n.hasEagerState=!0,n.eagerState=f,ie(f,c))return Ac(l,e,n,0),ll===null&&Tc(),!1}catch{}if(t=ms(l,e,n,a),t!==null)return Wl(t,l,a),Q0(t,e,a),!0}return!1}i(cu,"dispatchSetStateInternal");function Hs(l,e,t,a){if(a={lane:2,revertLane:Xs(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Oc(l)){if(e)throw Error(b(479))}else e=ms(l,t,a,2),e!==null&&Wl(e,l,2)}i(Hs,"dispatchOptimisticSetState");function Oc(l){var e=l.alternate;return l===q||e!==null&&e===q}i(Oc,"isRenderPhaseUpdate");function V0(l,e){un=ec=!0;var t=l.pending;t===null?e.next=e:(e.next=t.next,t.next=e),l.pending=e}i(V0,"enqueueRenderPhaseUpdate");function Q0(l,e,t){if((t&4194048)!==0){var a=e.lanes;a&=l.pendingLanes,t|=a,e.lanes=t,_h(l,t)}}i(Q0,"entangleTransitionUpdate");var zu={readContext:Yl,use:_c,useCallback:sl,useContext:sl,useEffect:sl,useImperativeHandle:sl,useLayoutEffect:sl,useInsertionEffect:sl,useMemo:sl,useReducer:sl,useRef:sl,useState:sl,useDebugValue:sl,useDeferredValue:sl,useTransition:sl,useSyncExternalStore:sl,useId:sl,useHostTransitionStatus:sl,useFormState:sl,useActionState:sl,useOptimistic:sl,useMemoCache:sl,useCacheRefresh:sl};zu.useEffectEvent=sl;var X0={readContext:Yl,use:_c,useCallback:i(function(l,e){return Xl().memoizedState=[l,e===void 0?null:e],l},"useCallback"),useContext:Yl,useEffect:Nm,useImperativeHandle:i(function(l,e,t){t=t!=null?t.concat([l]):null,xi(4194308,4,U0.bind(null,e,l),t)},"useImperativeHandle"),useLayoutEffect:i(function(l,e){return xi(4194308,4,l,e)},"useLayoutEffect"),useInsertionEffect:i(function(l,e){xi(4,2,l,e)},"useInsertionEffect"),useMemo:i(function(l,e){var t=Xl();e=e===void 0?null:e;var a=l();if(ya){_t(!0);try{l()}finally{_t(!1)}}return t.memoizedState=[a,e],a},"useMemo"),useReducer:i(function(l,e,t){var a=Xl();if(t!==void 0){var n=t(e);if(ya){_t(!0);try{t(e)}finally{_t(!1)}}}else n=e;return a.memoizedState=a.baseState=n,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:n},a.queue=l,l=l.dispatch=yp.bind(null,q,l),[a.memoizedState,l]},"useReducer"),useRef:i(function(l){var e=Xl();return l={current:l},e.memoizedState=l},"useRef"),useState:i(function(l){l=Co(l);var e=l.queue,t=G0.bind(null,q,e);return e.dispatch=t,[l.memoizedState,t]},"useState"),useDebugValue:Ds,useDeferredValue:i(function(l,e){var t=Xl();return Cs(t,l,e)},"useDeferredValue"),useTransition:i(function(){var l=Co(!1);return l=B0.bind(null,q,l.queue,!0,!1),Xl().memoizedState=l,[!1,l]},"useTransition"),useSyncExternalStore:i(function(l,e,t){var a=q,n=Xl();if(j){if(t===void 0)throw Error(b(407));t=t()}else{if(t=e(),ll===null)throw Error(b(349));(V&127)!==0||y0(a,e,t)}n.memoizedState=t;var u={value:t,getSnapshot:e};return n.queue=u,Nm(p0.bind(null,a,u,l),[l]),a.flags|=2048,mn(9,{destroy:void 0},v0.bind(null,a,u,t,e),null),t},"useSyncExternalStore"),useId:i(function(){var l=Xl(),e=ll.identifierPrefix;if(j){var t=xe,a=Be;t=(a&~(1<<32-ne(a)-1)).toString(32)+t,e="_"+e+"R_"+t,t=tc++,0<t&&(e+="H"+t.toString(32)),e+="_"}else t=fp++,e="_"+e+"r_"+t.toString(32)+"_";return l.memoizedState=e},"useId"),useHostTransitionStatus:ks,useFormState:Tm,useActionState:Tm,useOptimistic:i(function(l){var e=Xl();e.memoizedState=e.baseState=l;var t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=t,e=Hs.bind(null,q,!0,t),t.dispatch=e,[l,e]},"useOptimistic"),useMemoCache:Ms,useCacheRefresh:i(function(){return Xl().memoizedState=hp.bind(null,q)},"useCacheRefresh"),useEffectEvent:i(function(l){var e=Xl(),t={impl:l};return e.memoizedState=t,function(){if((L&2)!==0)throw Error(b(440));return t.impl.apply(void 0,arguments)}},"useEffectEvent")},Bs={readContext:Yl,use:_c,useCallback:C0,useContext:Yl,useEffect:Us,useImperativeHandle:D0,useInsertionEffect:M0,useLayoutEffect:O0,useMemo:k0,useReducer:Bi,useRef:N0,useState:i(function(){return Bi(ct)},"useState"),useDebugValue:Ds,useDeferredValue:i(function(l,e){var t=ml();return H0(t,I.memoizedState,l,e)},"useDeferredValue"),useTransition:i(function(){var l=Bi(ct)[0],e=ml().memoizedState;return[typeof l=="boolean"?l:Bu(l),e]},"useTransition"),useSyncExternalStore:h0,useId:R0,useHostTransitionStatus:ks,useFormState:Am,useActionState:Am,useOptimistic:i(function(l,e){var t=ml();return S0(t,I,l,e)},"useOptimistic"),useMemoCache:Ms,useCacheRefresh:Y0};Bs.useEffectEvent=_0;var j0={readContext:Yl,use:_c,useCallback:C0,useContext:Yl,useEffect:Us,useImperativeHandle:D0,useInsertionEffect:M0,useLayoutEffect:O0,useMemo:k0,useReducer:Vf,useRef:N0,useState:i(function(){return Vf(ct)},"useState"),useDebugValue:Ds,useDeferredValue:i(function(l,e){var t=ml();return I===null?Cs(t,l,e):H0(t,I.memoizedState,l,e)},"useDeferredValue"),useTransition:i(function(){var l=Vf(ct)[0],e=ml().memoizedState;return[typeof l=="boolean"?l:Bu(l),e]},"useTransition"),useSyncExternalStore:h0,useId:R0,useHostTransitionStatus:ks,useFormState:Em,useActionState:Em,useOptimistic:i(function(l,e){var t=ml();return I!==null?S0(t,I,l,e):(t.baseState=l,[l,t.queue.dispatch])},"useOptimistic"),useMemoCache:Ms,useCacheRefresh:Y0};j0.useEffectEvent=_0;function Qf(l,e,t,a){e=l.memoizedState,t=t(a,e),t=t==null?e:ul({},e,t),l.memoizedState=t,l.lanes===0&&(l.updateQueue.baseState=t)}i(Qf,"applyDerivedStateFromProps");var Bo={enqueueSetState:i(function(l,e,t){l=l._reactInternals;var a=ue(),n=Ht(a);n.payload=e,t!=null&&(n.callback=t),e=Bt(l,n,a),e!==null&&(Wl(e,l,a),nu(e,l,a))},"enqueueSetState"),enqueueReplaceState:i(function(l,e,t){l=l._reactInternals;var a=ue(),n=Ht(a);n.tag=1,n.payload=e,t!=null&&(n.callback=t),e=Bt(l,n,a),e!==null&&(Wl(e,l,a),nu(e,l,a))},"enqueueReplaceState"),enqueueForceUpdate:i(function(l,e){l=l._reactInternals;var t=ue(),a=Ht(t);a.tag=2,e!=null&&(a.callback=e),e=Bt(l,a,t),e!==null&&(Wl(e,l,t),nu(e,l,t))},"enqueueForceUpdate")};function _m(l,e,t,a,n,u,c){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(a,u,c):e.prototype&&e.prototype.isPureReactComponent?!vu(t,a)||!vu(n,u):!0}i(_m,"checkShouldComponentUpdate");function Mm(l,e,t,a){l=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(t,a),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(t,a),e.state!==l&&Bo.enqueueReplaceState(e,e.state,null)}i(Mm,"callComponentWillReceiveProps");function va(l,e){var t=e;if("ref"in e){t={};for(var a in e)a!=="ref"&&(t[a]=e[a])}if(l=l.defaultProps){t===e&&(t=ul({},t));for(var n in l)t[n]===void 0&&(t[n]=l[n])}return t}i(va,"resolveClassComponentProps");function L0(l){wi(l)}i(L0,"defaultOnUncaughtError");function Z0(l){console.error(l)}i(Z0,"defaultOnCaughtError");function K0(l){wi(l)}i(K0,"defaultOnRecoverableError");function ac(l,e){try{var t=l.onUncaughtError;t(e.value,{componentStack:e.stack})}catch(a){setTimeout(function(){throw a})}}i(ac,"logUncaughtError");function Om(l,e,t){try{var a=l.onCaughtError;a(t.value,{componentStack:t.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(n){setTimeout(function(){throw n})}}i(Om,"logCaughtError");function xo(l,e,t){return t=Ht(t),t.tag=3,t.payload={element:null},t.callback=function(){ac(l,e)},t}i(xo,"createRootErrorUpdate");function J0(l){return l=Ht(l),l.tag=3,l}i(J0,"createClassErrorUpdate");function w0(l,e,t,a){var n=t.type.getDerivedStateFromError;if(typeof n=="function"){var u=a.value;l.payload=function(){return n(u)},l.callback=function(){Om(e,t,a)}}var c=t.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(l.callback=function(){Om(e,t,a),typeof n!="function"&&(xt===null?xt=new Set([this]):xt.add(this));var f=a.stack;this.componentDidCatch(a.value,{componentStack:f!==null?f:""})})}i(w0,"initializeClassErrorUpdate");function vp(l,e,t,a,n){if(t.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(e=t.alternate,e!==null&&zn(e,t,n,!0),t=ce.current,t!==null){switch(t.tag){case 31:case 13:return ge===null?fc():t.alternate===null&&rl===0&&(rl=3),t.flags&=-257,t.flags|=65536,t.lanes=n,a===Ii?t.flags|=16384:(e=t.updateQueue,e===null?t.updateQueue=new Set([a]):e.add(a),If(l,a,n)),!1;case 22:return t.flags|=65536,a===Ii?t.flags|=16384:(e=t.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([a])},t.updateQueue=e):(t=e.retryQueue,t===null?e.retryQueue=new Set([a]):t.add(a)),If(l,a,n)),!1}throw Error(b(435,t.tag))}return If(l,a,n),fc(),!1}if(j)return e=ce.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=n,a!==To&&(l=Error(b(422),{cause:a}),gu(ve(l,t)))):(a!==To&&(e=Error(b(423),{cause:a}),gu(ve(e,t))),l=l.current.alternate,l.flags|=65536,n&=-n,l.lanes|=n,a=ve(a,t),n=xo(l.stateNode,a,n),Gf(l,n),rl!==4&&(rl=2)),!1;var u=Error(b(520),{cause:a});if(u=ve(u,t),su===null?su=[u]:su.push(u),rl!==4&&(rl=2),e===null)return!0;a=ve(a,t),t=e;do{switch(t.tag){case 3:return t.flags|=65536,l=n&-n,t.lanes|=l,l=xo(t.stateNode,a,l),Gf(t,l),!1;case 1:if(e=t.type,u=t.stateNode,(t.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(xt===null||!xt.has(u))))return t.flags|=65536,n&=-n,t.lanes|=n,n=J0(n),w0(n,l,t,a),Gf(t,n),!1}t=t.return}while(t!==null);return!1}i(vp,"throwException");var xs=Error(b(461)),bl=!1;function xl(l,e,t,a){e.child=l===null?f0(e,null,t,a):ha(e,l.child,t,a)}i(xl,"reconcileChildren");function Um(l,e,t,a,n){t=t.render;var u=e.ref;if("ref"in a){var c={};for(var f in a)f!=="ref"&&(c[f]=a[f])}else c=a;return ma(e),a=As(l,e,t,c,u,n),f=Es(),l!==null&&!bl?(Ns(l,e,n),ft(l,e,n)):(j&&f&&ys(e),e.flags|=1,xl(l,e,a,n),e.child)}i(Um,"updateForwardRef");function Dm(l,e,t,a,n){if(l===null){var u=t.type;return typeof u=="function"&&!hs(u)&&u.defaultProps===void 0&&t.compare===null?(e.tag=15,e.type=u,W0(l,e,u,a,n)):(l=ki(t.type,null,a,e,e.mode,n),l.ref=e.ref,l.return=e,e.child=l)}if(u=l.child,!qs(l,n)){var c=u.memoizedProps;if(t=t.compare,t=t!==null?t:vu,t(c,a)&&l.ref===e.ref)return ft(l,e,n)}return e.flags|=1,l=tt(u,a),l.ref=e.ref,l.return=e,e.child=l}i(Dm,"updateMemoComponent");function W0(l,e,t,a,n){if(l!==null){var u=l.memoizedProps;if(vu(u,a)&&l.ref===e.ref)if(bl=!1,e.pendingProps=a=u,qs(l,n))(l.flags&131072)!==0&&(bl=!0);else return e.lanes=l.lanes,ft(l,e,n)}return qo(l,e,t,a,n)}i(W0,"updateSimpleMemoComponent");function F0(l,e,t,a){var n=a.children,u=l!==null?l.memoizedState:null;if(l===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((e.flags&128)!==0){if(u=u!==null?u.baseLanes|t:t,l!==null){for(a=e.child=l.child,n=0;a!==null;)n=n|a.lanes|a.childLanes,a=a.sibling;a=n&~u}else a=0,e.child=null;return Cm(l,e,u,t,a)}if((t&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},l!==null&&Hi(e,u!==null?u.cachePool:null),u!==null?bm(e,u):Uo(),r0(e);else return a=e.lanes=536870912,Cm(l,e,u!==null?u.baseLanes|t:t,t,a)}else u!==null?(Hi(e,u.cachePool),bm(e,u),Et(e),e.memoizedState=null):(l!==null&&Hi(e,null),Uo(),Et(e));return xl(l,e,n,t),e.child}i(F0,"updateOffscreenComponent");function In(l,e){return l!==null&&l.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}i(In,"bailoutOffscreenComponent");function Cm(l,e,t,a,n){var u=gs();return u=u===null?null:{parent:gl._currentValue,pool:u},e.memoizedState={baseLanes:t,cachePool:u},l!==null&&Hi(e,null),Uo(),r0(e),l!==null&&zn(l,e,a,!0),e.childLanes=n,null}i(Cm,"deferHiddenOffscreenComponent");function qi(l,e){return e=nc({mode:e.mode,children:e.children},l.mode),e.ref=l.ref,l.child=e,e.return=l,e}i(qi,"mountActivityChildren");function km(l,e,t){return ha(e,l.child,null,t),l=qi(e,e.pendingProps),l.flags|=2,Pl(e),e.memoizedState=null,l}i(km,"retryActivityComponentWithoutHydrating");function pp(l,e,t){var a=e.pendingProps,n=(e.flags&128)!==0;if(e.flags&=-129,l===null){if(j){if(a.mode==="hidden")return l=qi(e,a),e.lanes=536870912,In(null,l);if(Do(e),(l=nl)?(l=Xy(l,pe),l=l!==null&&l.data==="&"?l:null,l!==null&&(e.memoizedState={dehydrated:l,treeContext:Vt!==null?{id:Be,overflow:xe}:null,retryLane:536870912,hydrationErrors:null},t=e0(l),t.return=e,e.child=t,Rl=e,nl=null)):l=null,l===null)throw Qt(e);return e.lanes=536870912,null}return qi(e,a)}var u=l.memoizedState;if(u!==null){var c=u.dehydrated;if(Do(e),n)if(e.flags&256)e.flags&=-257,e=km(l,e,t);else if(e.memoizedState!==null)e.child=l.child,e.flags|=128,e=null;else throw Error(b(558));else if(bl||zn(l,e,t,!1),n=(t&l.childLanes)!==0,bl||n){if(a=ll,a!==null&&(c=Mh(a,t),c!==0&&c!==u.retryLane))throw u.retryLane=c,Sa(l,c),Wl(a,l,c),xs;fc(),e=km(l,e,t)}else l=u.treeContext,nl=be(c.nextSibling),Rl=e,j=!0,kt=null,pe=!1,l!==null&&a0(e,l),e=qi(e,a),e.flags|=4096;return e}return l=tt(l.child,{mode:a.mode,children:a.children}),l.ref=e.ref,e.child=l,l.return=e,l}i(pp,"updateActivityComponent");function Ri(l,e){var t=e.ref;if(t===null)l!==null&&l.ref!==null&&(e.flags|=4194816);else{if(typeof t!="function"&&typeof t!="object")throw Error(b(284));(l===null||l.ref!==t)&&(e.flags|=4194816)}}i(Ri,"markRef");function qo(l,e,t,a,n){return ma(e),t=As(l,e,t,a,void 0,n),a=Es(),l!==null&&!bl?(Ns(l,e,n),ft(l,e,n)):(j&&a&&ys(e),e.flags|=1,xl(l,e,t,n),e.child)}i(qo,"updateFunctionComponent");function Hm(l,e,t,a,n,u){return ma(e),e.updateQueue=null,t=m0(e,a,t,n),d0(l),a=Es(),l!==null&&!bl?(Ns(l,e,u),ft(l,e,u)):(j&&a&&ys(e),e.flags|=1,xl(l,e,t,u),e.child)}i(Hm,"replayFunctionComponent");function Bm(l,e,t,a,n){if(ma(e),e.stateNode===null){var u=Fa,c=t.contextType;typeof c=="object"&&c!==null&&(u=Yl(c)),u=new t(a,u),e.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Bo,e.stateNode=u,u._reactInternals=e,u=e.stateNode,u.props=a,u.state=e.memoizedState,u.refs={},Ss(e),c=t.contextType,u.context=typeof c=="object"&&c!==null?Yl(c):Fa,u.state=e.memoizedState,c=t.getDerivedStateFromProps,typeof c=="function"&&(Qf(e,t,c,a),u.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(c=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),c!==u.state&&Bo.enqueueReplaceState(u,u.state,null),iu(e,a,u,n),uu(),u.state=e.memoizedState),typeof u.componentDidMount=="function"&&(e.flags|=4194308),a=!0}else if(l===null){u=e.stateNode;var f=e.memoizedProps,o=va(t,f);u.props=o;var s=u.context,v=t.contextType;c=Fa,typeof v=="object"&&v!==null&&(c=Yl(v));var p=t.getDerivedStateFromProps;v=typeof p=="function"||typeof u.getSnapshotBeforeUpdate=="function",f=e.pendingProps!==f,v||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(f||s!==c)&&Mm(e,u,a,c),zt=!1;var h=e.memoizedState;u.state=h,iu(e,a,u,n),uu(),s=e.memoizedState,f||h!==s||zt?(typeof p=="function"&&(Qf(e,t,p,a),s=e.memoizedState),(o=zt||_m(e,t,o,a,h,s,c))?(v||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(e.flags|=4194308)):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=a,e.memoizedState=s),u.props=a,u.state=s,u.context=c,a=o):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),a=!1)}else{u=e.stateNode,Mo(l,e),c=e.memoizedProps,v=va(t,c),u.props=v,p=e.pendingProps,h=u.context,s=t.contextType,o=Fa,typeof s=="object"&&s!==null&&(o=Yl(s)),f=t.getDerivedStateFromProps,(s=typeof f=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(c!==p||h!==o)&&Mm(e,u,a,o),zt=!1,h=e.memoizedState,u.state=h,iu(e,a,u,n),uu();var m=e.memoizedState;c!==p||h!==m||zt||l!==null&&l.dependencies!==null&&$i(l.dependencies)?(typeof f=="function"&&(Qf(e,t,f,a),m=e.memoizedState),(v=zt||_m(e,t,v,a,h,m,o)||l!==null&&l.dependencies!==null&&$i(l.dependencies))?(s||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,m,o),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,m,o)),typeof u.componentDidUpdate=="function"&&(e.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof u.componentDidUpdate!="function"||c===l.memoizedProps&&h===l.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===l.memoizedProps&&h===l.memoizedState||(e.flags|=1024),e.memoizedProps=a,e.memoizedState=m),u.props=a,u.state=m,u.context=o,a=v):(typeof u.componentDidUpdate!="function"||c===l.memoizedProps&&h===l.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===l.memoizedProps&&h===l.memoizedState||(e.flags|=1024),a=!1)}return u=a,Ri(l,e),a=(e.flags&128)!==0,u||a?(u=e.stateNode,t=a&&typeof t.getDerivedStateFromError!="function"?null:u.render(),e.flags|=1,l!==null&&a?(e.child=ha(e,l.child,null,n),e.child=ha(e,null,t,n)):xl(l,e,t,n),e.memoizedState=u.state,l=e.child):l=ft(l,e,n),l}i(Bm,"updateClassComponent");function xm(l,e,t,a){return da(),e.flags|=256,xl(l,e,t,a),e.child}i(xm,"mountHostRootWithoutHydrating");var Xf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function jf(l){return{baseLanes:l,cachePool:u0()}}i(jf,"mountSuspenseOffscreenState");function Lf(l,e,t){return l=l!==null?l.childLanes&~t:0,e&&(l|=ee),l}i(Lf,"getRemainingWorkInPrimaryTree");function $0(l,e,t){var a=e.pendingProps,n=!1,u=(e.flags&128)!==0,c;if((c=u)||(c=l!==null&&l.memoizedState===null?!1:(dl.current&2)!==0),c&&(n=!0,e.flags&=-129),c=(e.flags&32)!==0,e.flags&=-33,l===null){if(j){if(n?At(e):Et(e),(l=nl)?(l=Xy(l,pe),l=l!==null&&l.data!=="&"?l:null,l!==null&&(e.memoizedState={dehydrated:l,treeContext:Vt!==null?{id:Be,overflow:xe}:null,retryLane:536870912,hydrationErrors:null},t=e0(l),t.return=e,e.child=t,Rl=e,nl=null)):l=null,l===null)throw Qt(e);return Fo(l)?e.lanes=32:e.lanes=536870912,null}var f=a.children;return a=a.fallback,n?(Et(e),n=e.mode,f=nc({mode:"hidden",children:f},n),a=fa(a,n,t,null),f.return=e,a.return=e,f.sibling=a,e.child=f,a=e.child,a.memoizedState=jf(t),a.childLanes=Lf(l,c,t),e.memoizedState=Xf,In(null,a)):(At(e),Ro(e,f))}var o=l.memoizedState;if(o!==null&&(f=o.dehydrated,f!==null)){if(u)e.flags&256?(At(e),e.flags&=-257,e=Zf(l,e,t)):e.memoizedState!==null?(Et(e),e.child=l.child,e.flags|=128,e=null):(Et(e),f=a.fallback,n=e.mode,a=nc({mode:"visible",children:a.children},n),f=fa(f,n,t,null),f.flags|=2,a.return=e,f.return=e,a.sibling=f,e.child=a,ha(e,l.child,null,t),a=e.child,a.memoizedState=jf(t),a.childLanes=Lf(l,c,t),e.memoizedState=Xf,e=In(null,a));else if(At(e),Fo(f)){if(c=f.nextSibling&&f.nextSibling.dataset,c)var s=c.dgst;c=s,a=Error(b(419)),a.stack="",a.digest=c,gu({value:a,source:null,stack:null}),e=Zf(l,e,t)}else if(bl||zn(l,e,t,!1),c=(t&l.childLanes)!==0,bl||c){if(c=ll,c!==null&&(a=Mh(c,t),a!==0&&a!==o.retryLane))throw o.retryLane=a,Sa(l,a),Wl(c,l,a),xs;Wo(f)||fc(),e=Zf(l,e,t)}else Wo(f)?(e.flags|=192,e.child=l.child,e=null):(l=o.treeContext,nl=be(f.nextSibling),Rl=e,j=!0,kt=null,pe=!1,l!==null&&a0(e,l),e=Ro(e,a.children),e.flags|=4096);return e}return n?(Et(e),f=a.fallback,n=e.mode,o=l.child,s=o.sibling,a=tt(o,{mode:"hidden",children:a.children}),a.subtreeFlags=o.subtreeFlags&65011712,s!==null?f=tt(s,f):(f=fa(f,n,t,null),f.flags|=2),f.return=e,a.return=e,a.sibling=f,e.child=a,In(null,a),a=e.child,f=l.child.memoizedState,f===null?f=jf(t):(n=f.cachePool,n!==null?(o=gl._currentValue,n=n.parent!==o?{parent:o,pool:o}:n):n=u0(),f={baseLanes:f.baseLanes|t,cachePool:n}),a.memoizedState=f,a.childLanes=Lf(l,c,t),e.memoizedState=Xf,In(l.child,a)):(At(e),t=l.child,l=t.sibling,t=tt(t,{mode:"visible",children:a.children}),t.return=e,t.sibling=null,l!==null&&(c=e.deletions,c===null?(e.deletions=[l],e.flags|=16):c.push(l)),e.child=t,e.memoizedState=null,t)}i($0,"updateSuspenseComponent");function Ro(l,e){return e=nc({mode:"visible",children:e},l.mode),e.return=l,l.child=e}i(Ro,"mountSuspensePrimaryChildren");function nc(l,e){return l=le(22,l,null,e),l.lanes=0,l}i(nc,"mountWorkInProgressOffscreenFiber");function Zf(l,e,t){return ha(e,l.child,null,t),l=Ro(e,e.pendingProps.children),l.flags|=2,e.memoizedState=null,l}i(Zf,"retrySuspenseComponentWithoutHydrating");function qm(l,e,t){l.lanes|=e;var a=l.alternate;a!==null&&(a.lanes|=e),Eo(l.return,e,t)}i(qm,"scheduleSuspenseWorkOnFiber");function Kf(l,e,t,a,n,u){var c=l.memoizedState;c===null?l.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:a,tail:t,tailMode:n,treeForkCount:u}:(c.isBackwards=e,c.rendering=null,c.renderingStartTime=0,c.last=a,c.tail=t,c.tailMode=n,c.treeForkCount=u)}i(Kf,"initSuspenseListRenderState");function I0(l,e,t){var a=e.pendingProps,n=a.revealOrder,u=a.tail;a=a.children;var c=dl.current,f=(c&2)!==0;if(f?(c=c&1|2,e.flags|=128):c&=1,el(dl,c),xl(l,e,a,t),a=j?pu:0,!f&&l!==null&&(l.flags&128)!==0)l:for(l=e.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&qm(l,t,e);else if(l.tag===19)qm(l,t,e);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===e)break l;for(;l.sibling===null;){if(l.return===null||l.return===e)break l;l=l.return}l.sibling.return=l.return,l=l.sibling}switch(n){case"forwards":for(t=e.child,n=null;t!==null;)l=t.alternate,l!==null&&lc(l)===null&&(n=t),t=t.sibling;t=n,t===null?(n=e.child,e.child=null):(n=t.sibling,t.sibling=null),Kf(e,!1,n,t,u,a);break;case"backwards":case"unstable_legacy-backwards":for(t=null,n=e.child,e.child=null;n!==null;){if(l=n.alternate,l!==null&&lc(l)===null){e.child=n;break}l=n.sibling,n.sibling=t,t=n,n=l}Kf(e,!0,t,null,u,a);break;case"together":Kf(e,!1,null,null,void 0,a);break;default:e.memoizedState=null}return e.child}i(I0,"updateSuspenseListComponent");function ft(l,e,t){if(l!==null&&(e.dependencies=l.dependencies),jt|=e.lanes,(t&e.childLanes)===0)if(l!==null){if(zn(l,e,t,!1),(t&e.childLanes)===0)return null}else return null;if(l!==null&&e.child!==l.child)throw Error(b(153));if(e.child!==null){for(l=e.child,t=tt(l,l.pendingProps),e.child=t,t.return=e;l.sibling!==null;)l=l.sibling,t=t.sibling=tt(l,l.pendingProps),t.return=e;t.sibling=null}return e.child}i(ft,"bailoutOnAlreadyFinishedWork");function qs(l,e){return(l.lanes&e)!==0?!0:(l=l.dependencies,!!(l!==null&&$i(l)))}i(qs,"checkScheduledUpdateOrContext");function gp(l,e,t){switch(e.tag){case 3:Li(e,e.stateNode.containerInfo),Tt(e,gl,l.memoizedState.cache),da();break;case 27:case 5:so(e);break;case 4:Li(e,e.stateNode.containerInfo);break;case 10:Tt(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,Do(e),null;break;case 13:var a=e.memoizedState;if(a!==null)return a.dehydrated!==null?(At(e),e.flags|=128,null):(t&e.child.childLanes)!==0?$0(l,e,t):(At(e),l=ft(l,e,t),l!==null?l.sibling:null);At(e);break;case 19:var n=(l.flags&128)!==0;if(a=(t&e.childLanes)!==0,a||(zn(l,e,t,!1),a=(t&e.childLanes)!==0),n){if(a)return I0(l,e,t);e.flags|=128}if(n=e.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),el(dl,dl.current),a)break;return null;case 22:return e.lanes=0,F0(l,e,t,e.pendingProps);case 24:Tt(e,gl,l.memoizedState.cache)}return ft(l,e,t)}i(gp,"attemptEarlyBailoutIfNoScheduledUpdate");function P0(l,e,t){if(l!==null)if(l.memoizedProps!==e.pendingProps)bl=!0;else{if(!qs(l,t)&&(e.flags&128)===0)return bl=!1,gp(l,e,t);bl=(l.flags&131072)!==0}else bl=!1,j&&(e.flags&1048576)!==0&&t0(e,pu,e.index);switch(e.lanes=0,e.tag){case 16:l:{var a=e.pendingProps;if(l=ua(e.elementType),e.type=l,typeof l=="function")hs(l)?(a=va(l,a),e.tag=1,e=Bm(null,e,l,a,t)):(e.tag=0,e=qo(null,e,l,a,t));else{if(l!=null){var n=l.$$typeof;if(n===ls){e.tag=11,e=Um(null,e,l,a,t);break l}else if(n===es){e.tag=14,e=Dm(null,e,l,a,t);break l}}throw e=fo(l)||l,Error(b(306,e,""))}}return e;case 0:return qo(l,e,e.type,e.pendingProps,t);case 1:return a=e.type,n=va(a,e.pendingProps),Bm(l,e,a,n,t);case 3:l:{if(Li(e,e.stateNode.containerInfo),l===null)throw Error(b(387));a=e.pendingProps;var u=e.memoizedState;n=u.element,Mo(l,e),iu(e,a,null,t);var c=e.memoizedState;if(a=c.cache,Tt(e,gl,a),a!==u.cache&&No(e,[gl],t,!0),uu(),a=c.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:c.cache},e.updateQueue.baseState=u,e.memoizedState=u,e.flags&256){e=xm(l,e,a,t);break l}else if(a!==n){n=ve(Error(b(424)),e),gu(n),e=xm(l,e,a,t);break l}else for(l=e.stateNode.containerInfo,l.nodeType===9?l=l.body:l=l.nodeName==="HTML"?l.ownerDocument.body:l,nl=be(l.firstChild),Rl=e,j=!0,kt=null,pe=!0,t=f0(e,null,a,t),e.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(da(),a===n){e=ft(l,e,t);break l}xl(l,e,a,t)}e=e.child}return e;case 26:return Ri(l,e),l===null?(t=nh(e.type,null,e.pendingProps,null))?e.memoizedState=t:j||(t=e.type,l=e.pendingProps,a=dc(Ct.current).createElement(t),a[ql]=e,a[Fl]=l,Gl(a,t,l),Ol(a),e.stateNode=a):e.memoizedState=nh(e.type,l.memoizedProps,e.pendingProps,l.memoizedState),null;case 27:return so(e),l===null&&j&&(a=e.stateNode=jy(e.type,e.pendingProps,Ct.current),Rl=e,pe=!0,n=nl,Zt(e.type)?($o=n,nl=be(a.firstChild)):nl=n),xl(l,e,e.pendingProps.children,t),Ri(l,e),l===null&&(e.flags|=4194304),e.child;case 5:return l===null&&j&&((n=a=nl)&&(a=Kp(a,e.type,e.pendingProps,pe),a!==null?(e.stateNode=a,Rl=e,nl=be(a.firstChild),pe=!1,n=!0):n=!1),n||Qt(e)),so(e),n=e.type,u=e.pendingProps,c=l!==null?l.memoizedProps:null,a=u.children,Jo(n,u)?a=null:c!==null&&Jo(n,c)&&(e.flags|=32),e.memoizedState!==null&&(n=As(l,e,op,null,null,t),Eu._currentValue=n),Ri(l,e),xl(l,e,a,t),e.child;case 6:return l===null&&j&&((l=t=nl)&&(t=Jp(t,e.pendingProps,pe),t!==null?(e.stateNode=t,Rl=e,nl=null,l=!0):l=!1),l||Qt(e)),null;case 13:return $0(l,e,t);case 4:return Li(e,e.stateNode.containerInfo),a=e.pendingProps,l===null?e.child=ha(e,null,a,t):xl(l,e,a,t),e.child;case 11:return Um(l,e,e.type,e.pendingProps,t);case 7:return xl(l,e,e.pendingProps,t),e.child;case 8:return xl(l,e,e.pendingProps.children,t),e.child;case 12:return xl(l,e,e.pendingProps.children,t),e.child;case 10:return a=e.pendingProps,Tt(e,e.type,a.value),xl(l,e,a.children,t),e.child;case 9:return n=e.type._context,a=e.pendingProps.children,ma(e),n=Yl(n),a=a(n),e.flags|=1,xl(l,e,a,t),e.child;case 14:return Dm(l,e,e.type,e.pendingProps,t);case 15:return W0(l,e,e.type,e.pendingProps,t);case 19:return I0(l,e,t);case 31:return pp(l,e,t);case 22:return F0(l,e,t,e.pendingProps);case 24:return ma(e),a=Yl(gl),l===null?(n=gs(),n===null&&(n=ll,u=ps(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=t),n=u),e.memoizedState={parent:a,cache:n},Ss(e),Tt(e,gl,n)):((l.lanes&t)!==0&&(Mo(l,e),iu(e,null,null,t),uu()),n=l.memoizedState,u=e.memoizedState,n.parent!==a?(n={parent:a,cache:a},e.memoizedState=n,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=n),Tt(e,gl,a)):(a=u.cache,Tt(e,gl,a),a!==n.cache&&No(e,[gl],t,!0))),xl(l,e,e.pendingProps.children,t),e.child;case 29:throw e.pendingProps}throw Error(b(156,e.tag))}i(P0,"beginWork");function Je(l){l.flags|=4}i(Je,"markUpdate");function Jf(l,e,t,a,n){if((e=(l.mode&32)!==0)&&(e=!1),e){if(l.flags|=16777216,(n&335544128)===n)if(l.stateNode.complete)l.flags|=8192;else if(Ay())l.flags|=8192;else throw sa=Ii,bs}else l.flags&=-16777217}i(Jf,"preloadInstanceAndSuspendIfNeeded");function Rm(l,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!Ky(e))if(Ay())l.flags|=8192;else throw sa=Ii,bs}i(Rm,"preloadResourceAndSuspendIfNeeded");function zi(l,e){e!==null&&(l.flags|=4),l.flags&16384&&(e=l.tag!==22?Eh():536870912,l.lanes|=e,hn|=e)}i(zi,"scheduleRetryEffect");function Zn(l,e){if(!j)switch(l.tailMode){case"hidden":e=l.tail;for(var t=null;e!==null;)e.alternate!==null&&(t=e),e=e.sibling;t===null?l.tail=null:t.sibling=null;break;case"collapsed":t=l.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e||l.tail===null?l.tail=null:l.tail.sibling=null:a.sibling=null}}i(Zn,"cutOffTailIfNeeded");function al(l){var e=l.alternate!==null&&l.alternate.child===l.child,t=0,a=0;if(e)for(var n=l.child;n!==null;)t|=n.lanes|n.childLanes,a|=n.subtreeFlags&65011712,a|=n.flags&65011712,n.return=l,n=n.sibling;else for(n=l.child;n!==null;)t|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=l,n=n.sibling;return l.subtreeFlags|=a,l.childLanes=t,e}i(al,"bubbleProperties");function bp(l,e,t){var a=e.pendingProps;switch(vs(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return al(e),null;case 1:return al(e),null;case 3:return t=e.stateNode,a=null,l!==null&&(a=l.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),at(gl),fn(),t.pendingContext&&(t.context=t.pendingContext,t.pendingContext=null),(l===null||l.child===null)&&(Ya(e)?Je(e):l===null||l.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Yf())),al(e),null;case 26:var n=e.type,u=e.memoizedState;return l===null?(Je(e),u!==null?(al(e),Rm(e,u)):(al(e),Jf(e,n,null,a,t))):u?u!==l.memoizedState?(Je(e),al(e),Rm(e,u)):(al(e),e.flags&=-16777217):(l=l.memoizedProps,l!==a&&Je(e),al(e),Jf(e,n,l,a,t)),null;case 27:if(Zi(e),t=Ct.current,n=e.type,l!==null&&e.stateNode!=null)l.memoizedProps!==a&&Je(e);else{if(!a){if(e.stateNode===null)throw Error(b(166));return al(e),null}l=Re.current,Ya(e)?dm(e,l):(l=jy(n,a,t),e.stateNode=l,Je(e))}return al(e),null;case 5:if(Zi(e),n=e.type,l!==null&&e.stateNode!=null)l.memoizedProps!==a&&Je(e);else{if(!a){if(e.stateNode===null)throw Error(b(166));return al(e),null}if(u=Re.current,Ya(e))dm(e,u);else{var c=dc(Ct.current);switch(u){case 1:u=c.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:u=c.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":u=c.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":u=c.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":u=c.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof a.is=="string"?c.createElement("select",{is:a.is}):c.createElement("select"),a.multiple?u.multiple=!0:a.size&&(u.size=a.size);break;default:u=typeof a.is=="string"?c.createElement(n,{is:a.is}):c.createElement(n)}}u[ql]=e,u[Fl]=a;l:for(c=e.child;c!==null;){if(c.tag===5||c.tag===6)u.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===e)break l;for(;c.sibling===null;){if(c.return===null||c.return===e)break l;c=c.return}c.sibling.return=c.return,c=c.sibling}e.stateNode=u;l:switch(Gl(u,n,a),n){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break l;case"img":a=!0;break l;default:a=!1}a&&Je(e)}}return al(e),Jf(e,e.type,l===null?null:l.memoizedProps,e.pendingProps,t),null;case 6:if(l&&e.stateNode!=null)l.memoizedProps!==a&&Je(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(b(166));if(l=Ct.current,Ya(e)){if(l=e.stateNode,t=e.memoizedProps,a=null,n=Rl,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}l[ql]=e,l=!!(l.nodeValue===t||a!==null&&a.suppressHydrationWarning===!0||Gy(l.nodeValue,t)),l||Qt(e,!0)}else l=dc(l).createTextNode(a),l[ql]=e,e.stateNode=l}return al(e),null;case 31:if(t=e.memoizedState,l===null||l.memoizedState!==null){if(a=Ya(e),t!==null){if(l===null){if(!a)throw Error(b(318));if(l=e.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(b(557));l[ql]=e}else da(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;al(e),l=!1}else t=Yf(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=t),l=!0;if(!l)return e.flags&256?(Pl(e),e):(Pl(e),null);if((e.flags&128)!==0)throw Error(b(558))}return al(e),null;case 13:if(a=e.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(n=Ya(e),a!==null&&a.dehydrated!==null){if(l===null){if(!n)throw Error(b(318));if(n=e.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(b(317));n[ql]=e}else da(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;al(e),n=!1}else n=Yf(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=n),n=!0;if(!n)return e.flags&256?(Pl(e),e):(Pl(e),null)}return Pl(e),(e.flags&128)!==0?(e.lanes=t,e):(t=a!==null,l=l!==null&&l.memoizedState!==null,t&&(a=e.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==n&&(a.flags|=2048)),t!==l&&t&&(e.child.flags|=8192),zi(e,e.updateQueue),al(e),null);case 4:return fn(),l===null&&js(e.stateNode.containerInfo),al(e),null;case 10:return at(e.type),al(e),null;case 19:if(Ul(dl),a=e.memoizedState,a===null)return al(e),null;if(n=(e.flags&128)!==0,u=a.rendering,u===null)if(n)Zn(a,!1);else{if(rl!==0||l!==null&&(l.flags&128)!==0)for(l=e.child;l!==null;){if(u=lc(l),u!==null){for(e.flags|=128,Zn(a,!1),l=u.updateQueue,e.updateQueue=l,zi(e,l),e.subtreeFlags=0,l=t,t=e.child;t!==null;)l0(t,l),t=t.sibling;return el(dl,dl.current&1|2),j&&$e(e,a.treeForkCount),e.child}l=l.sibling}a.tail!==null&&te()>ic&&(e.flags|=128,n=!0,Zn(a,!1),e.lanes=4194304)}else{if(!n)if(l=lc(u),l!==null){if(e.flags|=128,n=!0,l=l.updateQueue,e.updateQueue=l,zi(e,l),Zn(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!j)return al(e),null}else 2*te()-a.renderingStartTime>ic&&t!==536870912&&(e.flags|=128,n=!0,Zn(a,!1),e.lanes=4194304);a.isBackwards?(u.sibling=e.child,e.child=u):(l=a.last,l!==null?l.sibling=u:e.child=u,a.last=u)}return a.tail!==null?(l=a.tail,a.rendering=l,a.tail=l.sibling,a.renderingStartTime=te(),l.sibling=null,t=dl.current,el(dl,n?t&1|2:t&1),j&&$e(e,a.treeForkCount),l):(al(e),null);case 22:case 23:return Pl(e),zs(),a=e.memoizedState!==null,l!==null?l.memoizedState!==null!==a&&(e.flags|=8192):a&&(e.flags|=8192),a?(t&536870912)!==0&&(e.flags&128)===0&&(al(e),e.subtreeFlags&6&&(e.flags|=8192)):al(e),t=e.updateQueue,t!==null&&zi(e,t.retryQueue),t=null,l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(t=l.memoizedState.cachePool.pool),a=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),a!==t&&(e.flags|=2048),l!==null&&Ul(oa),null;case 24:return t=null,l!==null&&(t=l.memoizedState.cache),e.memoizedState.cache!==t&&(e.flags|=2048),at(gl),al(e),null;case 25:return null;case 30:return null}throw Error(b(156,e.tag))}i(bp,"completeWork");function Sp(l,e){switch(vs(e),e.tag){case 1:return l=e.flags,l&65536?(e.flags=l&-65537|128,e):null;case 3:return at(gl),fn(),l=e.flags,(l&65536)!==0&&(l&128)===0?(e.flags=l&-65537|128,e):null;case 26:case 27:case 5:return Zi(e),null;case 31:if(e.memoizedState!==null){if(Pl(e),e.alternate===null)throw Error(b(340));da()}return l=e.flags,l&65536?(e.flags=l&-65537|128,e):null;case 13:if(Pl(e),l=e.memoizedState,l!==null&&l.dehydrated!==null){if(e.alternate===null)throw Error(b(340));da()}return l=e.flags,l&65536?(e.flags=l&-65537|128,e):null;case 19:return Ul(dl),null;case 4:return fn(),null;case 10:return at(e.type),null;case 22:case 23:return Pl(e),zs(),l!==null&&Ul(oa),l=e.flags,l&65536?(e.flags=l&-65537|128,e):null;case 24:return at(gl),null;case 25:return null;default:return null}}i(Sp,"unwindWork");function ly(l,e){switch(vs(e),e.tag){case 3:at(gl),fn();break;case 26:case 27:case 5:Zi(e);break;case 4:fn();break;case 31:e.memoizedState!==null&&Pl(e);break;case 13:Pl(e);break;case 19:Ul(dl);break;case 10:at(e.type);break;case 22:case 23:Pl(e),zs(),l!==null&&Ul(oa);break;case 24:at(gl)}}i(ly,"unwindInterruptedWork");function xu(l,e){try{var t=e.updateQueue,a=t!==null?t.lastEffect:null;if(a!==null){var n=a.next;t=n;do{if((t.tag&l)===l){a=void 0;var u=t.create,c=t.inst;a=u(),c.destroy=a}t=t.next}while(t!==n)}}catch(f){w(e,e.return,f)}}i(xu,"commitHookEffectListMount");function Xt(l,e,t){try{var a=e.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var u=n.next;a=u;do{if((a.tag&l)===l){var c=a.inst,f=c.destroy;if(f!==void 0){c.destroy=void 0,n=e;var o=t,s=f;try{s()}catch(v){w(n,o,v)}}}a=a.next}while(a!==u)}}catch(v){w(e,e.return,v)}}i(Xt,"commitHookEffectListUnmount");function ey(l){var e=l.updateQueue;if(e!==null){var t=l.stateNode;try{s0(e,t)}catch(a){w(l,l.return,a)}}}i(ey,"commitClassCallbacks");function ty(l,e,t){t.props=va(l.type,l.memoizedProps),t.state=l.memoizedState;try{t.componentWillUnmount()}catch(a){w(l,e,a)}}i(ty,"safelyCallComponentWillUnmount");function fu(l,e){try{var t=l.ref;if(t!==null){switch(l.tag){case 26:case 27:case 5:var a=l.stateNode;break;case 30:a=l.stateNode;break;default:a=l.stateNode}typeof t=="function"?l.refCleanup=t(a):t.current=a}}catch(n){w(l,e,n)}}i(fu,"safelyAttachRef");function qe(l,e){var t=l.ref,a=l.refCleanup;if(t!==null)if(typeof a=="function")try{a()}catch(n){w(l,e,n)}finally{l.refCleanup=null,l=l.alternate,l!=null&&(l.refCleanup=null)}else if(typeof t=="function")try{t(null)}catch(n){w(l,e,n)}else t.current=null}i(qe,"safelyDetachRef");function ay(l){var e=l.type,t=l.memoizedProps,a=l.stateNode;try{l:switch(e){case"button":case"input":case"select":case"textarea":t.autoFocus&&a.focus();break l;case"img":t.src?a.src=t.src:t.srcSet&&(a.srcset=t.srcSet)}}catch(n){w(l,l.return,n)}}i(ay,"commitHostMount");function wf(l,e,t){try{var a=l.stateNode;Vp(a,l.type,t,e),a[Fl]=e}catch(n){w(l,l.return,n)}}i(wf,"commitHostUpdate");function ny(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&Zt(l.type)||l.tag===4}i(ny,"isHostParent");function Wf(l){l:for(;;){for(;l.sibling===null;){if(l.return===null||ny(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==18;){if(l.tag===27&&Zt(l.type)||l.flags&2||l.child===null||l.tag===4)continue l;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}i(Wf,"getHostSibling");function Yo(l,e,t){var a=l.tag;if(a===5||a===6)l=l.stateNode,e?(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t).insertBefore(l,e):(e=t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,e.appendChild(l),t=t._reactRootContainer,t!=null||e.onclick!==null||(e.onclick=lt));else if(a!==4&&(a===27&&Zt(l.type)&&(t=l.stateNode,e=null),l=l.child,l!==null))for(Yo(l,e,t),l=l.sibling;l!==null;)Yo(l,e,t),l=l.sibling}i(Yo,"insertOrAppendPlacementNodeIntoContainer");function uc(l,e,t){var a=l.tag;if(a===5||a===6)l=l.stateNode,e?t.insertBefore(l,e):t.appendChild(l);else if(a!==4&&(a===27&&Zt(l.type)&&(t=l.stateNode),l=l.child,l!==null))for(uc(l,e,t),l=l.sibling;l!==null;)uc(l,e,t),l=l.sibling}i(uc,"insertOrAppendPlacementNode");function uy(l){var e=l.stateNode,t=l.memoizedProps;try{for(var a=l.type,n=e.attributes;n.length;)e.removeAttributeNode(n[0]);Gl(e,a,t),e[ql]=l,e[Fl]=t}catch(u){w(l,l.return,u)}}i(uy,"commitHostSingletonAcquisition");var Ie=!1,pl=!1,Ff=!1,Ym=typeof WeakSet=="function"?WeakSet:Set,Ml=null;function zp(l,e){if(l=l.containerInfo,Zo=vc,l=Kh(l),rs(l)){if("selectionStart"in l)var t={start:l.selectionStart,end:l.selectionEnd};else l:{t=(t=l.ownerDocument)&&t.defaultView||window;var a=t.getSelection&&t.getSelection();if(a&&a.rangeCount!==0){t=a.anchorNode;var n=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{t.nodeType,u.nodeType}catch{t=null;break l}var c=0,f=-1,o=-1,s=0,v=0,p=l,h=null;e:for(;;){for(var m;p!==t||n!==0&&p.nodeType!==3||(f=c+n),p!==u||a!==0&&p.nodeType!==3||(o=c+a),p.nodeType===3&&(c+=p.nodeValue.length),(m=p.firstChild)!==null;)h=p,p=m;for(;;){if(p===l)break e;if(h===t&&++s===n&&(f=c),h===u&&++v===a&&(o=c),(m=p.nextSibling)!==null)break;p=h,h=p.parentNode}p=m}t=f===-1||o===-1?null:{start:f,end:o}}else t=null}t=t||{start:0,end:0}}else t=null;for(Ko={focusedElem:l,selectionRange:t},vc=!1,Ml=e;Ml!==null;)if(e=Ml,l=e.child,(e.subtreeFlags&1028)!==0&&l!==null)l.return=e,Ml=l;else for(;Ml!==null;){switch(e=Ml,u=e.alternate,l=e.flags,e.tag){case 0:if((l&4)!==0&&(l=e.updateQueue,l=l!==null?l.events:null,l!==null))for(t=0;t<l.length;t++)n=l[t],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((l&1024)!==0&&u!==null){l=void 0,t=e,n=u.memoizedProps,u=u.memoizedState,a=t.stateNode;try{var S=va(t.type,n);l=a.getSnapshotBeforeUpdate(S,u),a.__reactInternalSnapshotBeforeUpdate=l}catch(E){w(t,t.return,E)}}break;case 3:if((l&1024)!==0){if(l=e.stateNode.containerInfo,t=l.nodeType,t===9)wo(l);else if(t===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":wo(l);break;default:l.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((l&1024)!==0)throw Error(b(163))}if(l=e.sibling,l!==null){l.return=e.return,Ml=l;break}Ml=e.return}}i(zp,"commitBeforeMutationEffects");function iy(l,e,t){var a=t.flags;switch(t.tag){case 0:case 11:case 15:We(l,t),a&4&&xu(5,t);break;case 1:if(We(l,t),a&4)if(l=t.stateNode,e===null)try{l.componentDidMount()}catch(c){w(t,t.return,c)}else{var n=va(t.type,e.memoizedProps);e=e.memoizedState;try{l.componentDidUpdate(n,e,l.__reactInternalSnapshotBeforeUpdate)}catch(c){w(t,t.return,c)}}a&64&&ey(t),a&512&&fu(t,t.return);break;case 3:if(We(l,t),a&64&&(l=t.updateQueue,l!==null)){if(e=null,t.child!==null)switch(t.child.tag){case 27:case 5:e=t.child.stateNode;break;case 1:e=t.child.stateNode}try{s0(l,e)}catch(c){w(t,t.return,c)}}break;case 27:e===null&&a&4&&uy(t);case 26:case 5:We(l,t),e===null&&a&4&&ay(t),a&512&&fu(t,t.return);break;case 12:We(l,t);break;case 31:We(l,t),a&4&&oy(l,t);break;case 13:We(l,t),a&4&&sy(l,t),a&64&&(l=t.memoizedState,l!==null&&(l=l.dehydrated,l!==null&&(t=Dp.bind(null,t),wp(l,t))));break;case 22:if(a=t.memoizedState!==null||Ie,!a){e=e!==null&&e.memoizedState!==null||pl,n=Ie;var u=pl;Ie=a,(pl=e)&&!u?Fe(l,t,(t.subtreeFlags&8772)!==0):We(l,t),Ie=n,pl=u}break;case 30:break;default:We(l,t)}}i(iy,"commitLayoutEffectOnFiber");function cy(l){var e=l.alternate;e!==null&&(l.alternate=null,cy(e)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(e=l.stateNode,e!==null&&us(e)),l.stateNode=null,l.return=null,l.dependencies=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.stateNode=null,l.updateQueue=null}i(cy,"detachFiberAfterEffects");var ol=null,Jl=!1;function we(l,e,t){for(t=t.child;t!==null;)fy(l,e,t),t=t.sibling}i(we,"recursivelyTraverseDeletionEffects");function fy(l,e,t){if(ae&&typeof ae.onCommitFiberUnmount=="function")try{ae.onCommitFiberUnmount(Ou,t)}catch{}switch(t.tag){case 26:pl||qe(t,e),we(l,e,t),t.memoizedState?t.memoizedState.count--:t.stateNode&&(t=t.stateNode,t.parentNode.removeChild(t));break;case 27:pl||qe(t,e);var a=ol,n=Jl;Zt(t.type)&&(ol=t.stateNode,Jl=!1),we(l,e,t),du(t.stateNode),ol=a,Jl=n;break;case 5:pl||qe(t,e);case 6:if(a=ol,n=Jl,ol=null,we(l,e,t),ol=a,Jl=n,ol!==null)if(Jl)try{(ol.nodeType===9?ol.body:ol.nodeName==="HTML"?ol.ownerDocument.body:ol).removeChild(t.stateNode)}catch(u){w(t,e,u)}else try{ol.removeChild(t.stateNode)}catch(u){w(t,e,u)}break;case 18:ol!==null&&(Jl?(l=ol,Pm(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.stateNode),gn(l)):Pm(ol,t.stateNode));break;case 4:a=ol,n=Jl,ol=t.stateNode.containerInfo,Jl=!0,we(l,e,t),ol=a,Jl=n;break;case 0:case 11:case 14:case 15:Xt(2,t,e),pl||Xt(4,t,e),we(l,e,t);break;case 1:pl||(qe(t,e),a=t.stateNode,typeof a.componentWillUnmount=="function"&&ty(t,e,a)),we(l,e,t);break;case 21:we(l,e,t);break;case 22:pl=(a=pl)||t.memoizedState!==null,we(l,e,t),pl=a;break;default:we(l,e,t)}}i(fy,"commitDeletionEffectsOnFiber");function oy(l,e){if(e.memoizedState===null&&(l=e.alternate,l!==null&&(l=l.memoizedState,l!==null))){l=l.dehydrated;try{gn(l)}catch(t){w(e,e.return,t)}}}i(oy,"commitActivityHydrationCallbacks");function sy(l,e){if(e.memoizedState===null&&(l=e.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{gn(l)}catch(t){w(e,e.return,t)}}i(sy,"commitSuspenseHydrationCallbacks");function Tp(l){switch(l.tag){case 31:case 13:case 19:var e=l.stateNode;return e===null&&(e=l.stateNode=new Ym),e;case 22:return l=l.stateNode,e=l._retryCache,e===null&&(e=l._retryCache=new Ym),e;default:throw Error(b(435,l.tag))}}i(Tp,"getRetryCache");function Ti(l,e){var t=Tp(l);e.forEach(function(a){if(!t.has(a)){t.add(a);var n=Cp.bind(null,l,a);a.then(n,n)}})}i(Ti,"attachSuspenseRetryListeners");function Zl(l,e){var t=e.deletions;if(t!==null)for(var a=0;a<t.length;a++){var n=t[a],u=l,c=e,f=c;l:for(;f!==null;){switch(f.tag){case 27:if(Zt(f.type)){ol=f.stateNode,Jl=!1;break l}break;case 5:ol=f.stateNode,Jl=!1;break l;case 3:case 4:ol=f.stateNode.containerInfo,Jl=!0;break l}f=f.return}if(ol===null)throw Error(b(160));fy(u,c,n),ol=null,Jl=!1,u=n.alternate,u!==null&&(u.return=null),n.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)ry(e,l),e=e.sibling}i(Zl,"recursivelyTraverseMutationEffects");var Ee=null;function ry(l,e){var t=l.alternate,a=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:Zl(e,l),Kl(l),a&4&&(Xt(3,l,l.return),xu(3,l),Xt(5,l,l.return));break;case 1:Zl(e,l),Kl(l),a&512&&(pl||t===null||qe(t,t.return)),a&64&&Ie&&(l=l.updateQueue,l!==null&&(a=l.callbacks,a!==null&&(t=l.shared.hiddenCallbacks,l.shared.hiddenCallbacks=t===null?a:t.concat(a))));break;case 26:var n=Ee;if(Zl(e,l),Kl(l),a&512&&(pl||t===null||qe(t,t.return)),a&4){var u=t!==null?t.memoizedState:null;if(a=l.memoizedState,t===null)if(a===null)if(l.stateNode===null){l:{a=l.type,t=l.memoizedProps,n=n.ownerDocument||n;e:switch(a){case"title":u=n.getElementsByTagName("title")[0],(!u||u[Cu]||u[ql]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=n.createElement(a),n.head.insertBefore(u,n.querySelector("head > title"))),Gl(u,a,t),u[ql]=l,Ol(u),a=u;break l;case"link":var c=ih("link","href",n).get(a+(t.href||""));if(c){for(var f=0;f<c.length;f++)if(u=c[f],u.getAttribute("href")===(t.href==null||t.href===""?null:t.href)&&u.getAttribute("rel")===(t.rel==null?null:t.rel)&&u.getAttribute("title")===(t.title==null?null:t.title)&&u.getAttribute("crossorigin")===(t.crossOrigin==null?null:t.crossOrigin)){c.splice(f,1);break e}}u=n.createElement(a),Gl(u,a,t),n.head.appendChild(u);break;case"meta":if(c=ih("meta","content",n).get(a+(t.content||""))){for(f=0;f<c.length;f++)if(u=c[f],u.getAttribute("content")===(t.content==null?null:""+t.content)&&u.getAttribute("name")===(t.name==null?null:t.name)&&u.getAttribute("property")===(t.property==null?null:t.property)&&u.getAttribute("http-equiv")===(t.httpEquiv==null?null:t.httpEquiv)&&u.getAttribute("charset")===(t.charSet==null?null:t.charSet)){c.splice(f,1);break e}}u=n.createElement(a),Gl(u,a,t),n.head.appendChild(u);break;default:throw Error(b(468,a))}u[ql]=l,Ol(u),a=u}l.stateNode=a}else ch(n,l.type,l.stateNode);else l.stateNode=uh(n,a,l.memoizedProps);else u!==a?(u===null?t.stateNode!==null&&(t=t.stateNode,t.parentNode.removeChild(t)):u.count--,a===null?ch(n,l.type,l.stateNode):uh(n,a,l.memoizedProps)):a===null&&l.stateNode!==null&&wf(l,l.memoizedProps,t.memoizedProps)}break;case 27:Zl(e,l),Kl(l),a&512&&(pl||t===null||qe(t,t.return)),t!==null&&a&4&&wf(l,l.memoizedProps,t.memoizedProps);break;case 5:if(Zl(e,l),Kl(l),a&512&&(pl||t===null||qe(t,t.return)),l.flags&32){n=l.stateNode;try{sn(n,"")}catch(S){w(l,l.return,S)}}a&4&&l.stateNode!=null&&(n=l.memoizedProps,wf(l,n,t!==null?t.memoizedProps:n)),a&1024&&(Ff=!0);break;case 6:if(Zl(e,l),Kl(l),a&4){if(l.stateNode===null)throw Error(b(162));a=l.memoizedProps,t=l.stateNode;try{t.nodeValue=a}catch(S){w(l,l.return,S)}}break;case 3:if(Vi=null,n=Ee,Ee=mc(e.containerInfo),Zl(e,l),Ee=n,Kl(l),a&4&&t!==null&&t.memoizedState.isDehydrated)try{gn(e.containerInfo)}catch(S){w(l,l.return,S)}Ff&&(Ff=!1,dy(l));break;case 4:a=Ee,Ee=mc(l.stateNode.containerInfo),Zl(e,l),Kl(l),Ee=a;break;case 12:Zl(e,l),Kl(l);break;case 31:Zl(e,l),Kl(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,Ti(l,a)));break;case 13:Zl(e,l),Kl(l),l.child.flags&8192&&l.memoizedState!==null!=(t!==null&&t.memoizedState!==null)&&(Uc=te()),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,Ti(l,a)));break;case 22:n=l.memoizedState!==null;var o=t!==null&&t.memoizedState!==null,s=Ie,v=pl;if(Ie=s||n,pl=v||o,Zl(e,l),pl=v,Ie=s,Kl(l),a&8192)l:for(e=l.stateNode,e._visibility=n?e._visibility&-2:e._visibility|1,n&&(t===null||o||Ie||pl||ia(l)),t=null,e=l;;){if(e.tag===5||e.tag===26){if(t===null){o=t=e;try{if(u=o.stateNode,n)c=u.style,typeof c.setProperty=="function"?c.setProperty("display","none","important"):c.display="none";else{f=o.stateNode;var p=o.memoizedProps.style,h=p!=null&&p.hasOwnProperty("display")?p.display:null;f.style.display=h==null||typeof h=="boolean"?"":(""+h).trim()}}catch(S){w(o,o.return,S)}}}else if(e.tag===6){if(t===null){o=e;try{o.stateNode.nodeValue=n?"":o.memoizedProps}catch(S){w(o,o.return,S)}}}else if(e.tag===18){if(t===null){o=e;try{var m=o.stateNode;n?lh(m,!0):lh(o.stateNode,!1)}catch(S){w(o,o.return,S)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===l)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===l)break l;for(;e.sibling===null;){if(e.return===null||e.return===l)break l;t===e&&(t=null),e=e.return}t===e&&(t=null),e.sibling.return=e.return,e=e.sibling}a&4&&(a=l.updateQueue,a!==null&&(t=a.retryQueue,t!==null&&(a.retryQueue=null,Ti(l,t))));break;case 19:Zl(e,l),Kl(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,Ti(l,a)));break;case 30:break;case 21:break;default:Zl(e,l),Kl(l)}}i(ry,"commitMutationEffectsOnFiber");function Kl(l){var e=l.flags;if(e&2){try{for(var t,a=l.return;a!==null;){if(ny(a)){t=a;break}a=a.return}if(t==null)throw Error(b(160));switch(t.tag){case 27:var n=t.stateNode,u=Wf(l);uc(l,u,n);break;case 5:var c=t.stateNode;t.flags&32&&(sn(c,""),t.flags&=-33);var f=Wf(l);uc(l,f,c);break;case 3:case 4:var o=t.stateNode.containerInfo,s=Wf(l);Yo(l,s,o);break;default:throw Error(b(161))}}catch(v){w(l,l.return,v)}l.flags&=-3}e&4096&&(l.flags&=-4097)}i(Kl,"commitReconciliationEffects");function dy(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var e=l;dy(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),l=l.sibling}}i(dy,"recursivelyResetForms");function We(l,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)iy(l,e.alternate,e),e=e.sibling}i(We,"recursivelyTraverseLayoutEffects");function ia(l){for(l=l.child;l!==null;){var e=l;switch(e.tag){case 0:case 11:case 14:case 15:Xt(4,e,e.return),ia(e);break;case 1:qe(e,e.return);var t=e.stateNode;typeof t.componentWillUnmount=="function"&&ty(e,e.return,t),ia(e);break;case 27:du(e.stateNode);case 26:case 5:qe(e,e.return),ia(e);break;case 22:e.memoizedState===null&&ia(e);break;case 30:ia(e);break;default:ia(e)}l=l.sibling}}i(ia,"recursivelyTraverseDisappearLayoutEffects");function Fe(l,e,t){for(t=t&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var a=e.alternate,n=l,u=e,c=u.flags;switch(u.tag){case 0:case 11:case 15:Fe(n,u,t),xu(4,u);break;case 1:if(Fe(n,u,t),a=u,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(s){w(a,a.return,s)}if(a=u,n=a.updateQueue,n!==null){var f=a.stateNode;try{var o=n.shared.hiddenCallbacks;if(o!==null)for(n.shared.hiddenCallbacks=null,n=0;n<o.length;n++)o0(o[n],f)}catch(s){w(a,a.return,s)}}t&&c&64&&ey(u),fu(u,u.return);break;case 27:uy(u);case 26:case 5:Fe(n,u,t),t&&a===null&&c&4&&ay(u),fu(u,u.return);break;case 12:Fe(n,u,t);break;case 31:Fe(n,u,t),t&&c&4&&oy(n,u);break;case 13:Fe(n,u,t),t&&c&4&&sy(n,u);break;case 22:u.memoizedState===null&&Fe(n,u,t),fu(u,u.return);break;case 30:break;default:Fe(n,u,t)}e=e.sibling}}i(Fe,"recursivelyTraverseReappearLayoutEffects");function Rs(l,e){var t=null;l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(t=l.memoizedState.cachePool.pool),l=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),l!==t&&(l!=null&&l.refCount++,t!=null&&Hu(t))}i(Rs,"commitOffscreenPassiveMountEffects");function Ys(l,e){l=null,e.alternate!==null&&(l=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==l&&(e.refCount++,l!=null&&Hu(l))}i(Ys,"commitCachePassiveMountEffect");function Ae(l,e,t,a){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)my(l,e,t,a),e=e.sibling}i(Ae,"recursivelyTraversePassiveMountEffects");function my(l,e,t,a){var n=e.flags;switch(e.tag){case 0:case 11:case 15:Ae(l,e,t,a),n&2048&&xu(9,e);break;case 1:Ae(l,e,t,a);break;case 3:Ae(l,e,t,a),n&2048&&(l=null,e.alternate!==null&&(l=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==l&&(e.refCount++,l!=null&&Hu(l)));break;case 12:if(n&2048){Ae(l,e,t,a),l=e.stateNode;try{var u=e.memoizedProps,c=u.id,f=u.onPostCommit;typeof f=="function"&&f(c,e.alternate===null?"mount":"update",l.passiveEffectDuration,-0)}catch(o){w(e,e.return,o)}}else Ae(l,e,t,a);break;case 31:Ae(l,e,t,a);break;case 13:Ae(l,e,t,a);break;case 23:break;case 22:u=e.stateNode,c=e.alternate,e.memoizedState!==null?u._visibility&2?Ae(l,e,t,a):ou(l,e):u._visibility&2?Ae(l,e,t,a):(u._visibility|=2,Va(l,e,t,a,(e.subtreeFlags&10256)!==0||!1)),n&2048&&Rs(c,e);break;case 24:Ae(l,e,t,a),n&2048&&Ys(e.alternate,e);break;default:Ae(l,e,t,a)}}i(my,"commitPassiveMountOnFiber");function Va(l,e,t,a,n){for(n=n&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var u=l,c=e,f=t,o=a,s=c.flags;switch(c.tag){case 0:case 11:case 15:Va(u,c,f,o,n),xu(8,c);break;case 23:break;case 22:var v=c.stateNode;c.memoizedState!==null?v._visibility&2?Va(u,c,f,o,n):ou(u,c):(v._visibility|=2,Va(u,c,f,o,n)),n&&s&2048&&Rs(c.alternate,c);break;case 24:Va(u,c,f,o,n),n&&s&2048&&Ys(c.alternate,c);break;default:Va(u,c,f,o,n)}e=e.sibling}}i(Va,"recursivelyTraverseReconnectPassiveEffects");function ou(l,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var t=l,a=e,n=a.flags;switch(a.tag){case 22:ou(t,a),n&2048&&Rs(a.alternate,a);break;case 24:ou(t,a),n&2048&&Ys(a.alternate,a);break;default:ou(t,a)}e=e.sibling}}i(ou,"recursivelyTraverseAtomicPassiveEffects");var Pn=8192;function Ga(l,e,t){if(l.subtreeFlags&Pn)for(l=l.child;l!==null;)hy(l,e,t),l=l.sibling}i(Ga,"recursivelyAccumulateSuspenseyCommit");function hy(l,e,t){switch(l.tag){case 26:Ga(l,e,t),l.flags&Pn&&l.memoizedState!==null&&ig(t,Ee,l.memoizedState,l.memoizedProps);break;case 5:Ga(l,e,t);break;case 3:case 4:var a=Ee;Ee=mc(l.stateNode.containerInfo),Ga(l,e,t),Ee=a;break;case 22:l.memoizedState===null&&(a=l.alternate,a!==null&&a.memoizedState!==null?(a=Pn,Pn=16777216,Ga(l,e,t),Pn=a):Ga(l,e,t));break;default:Ga(l,e,t)}}i(hy,"accumulateSuspenseyCommitOnFiber");function yy(l){var e=l.alternate;if(e!==null&&(l=e.child,l!==null)){e.child=null;do e=l.sibling,l.sibling=null,l=e;while(l!==null)}}i(yy,"detachAlternateSiblings");function Kn(l){var e=l.deletions;if((l.flags&16)!==0){if(e!==null)for(var t=0;t<e.length;t++){var a=e[t];Ml=a,py(a,l)}yy(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)vy(l),l=l.sibling}i(Kn,"recursivelyTraversePassiveUnmountEffects");function vy(l){switch(l.tag){case 0:case 11:case 15:Kn(l),l.flags&2048&&Xt(9,l,l.return);break;case 3:Kn(l);break;case 12:Kn(l);break;case 22:var e=l.stateNode;l.memoizedState!==null&&e._visibility&2&&(l.return===null||l.return.tag!==13)?(e._visibility&=-3,Yi(l)):Kn(l);break;default:Kn(l)}}i(vy,"commitPassiveUnmountOnFiber");function Yi(l){var e=l.deletions;if((l.flags&16)!==0){if(e!==null)for(var t=0;t<e.length;t++){var a=e[t];Ml=a,py(a,l)}yy(l)}for(l=l.child;l!==null;){switch(e=l,e.tag){case 0:case 11:case 15:Xt(8,e,e.return),Yi(e);break;case 22:t=e.stateNode,t._visibility&2&&(t._visibility&=-3,Yi(e));break;default:Yi(e)}l=l.sibling}}i(Yi,"recursivelyTraverseDisconnectPassiveEffects");function py(l,e){for(;Ml!==null;){var t=Ml;switch(t.tag){case 0:case 11:case 15:Xt(8,t,e);break;case 23:case 22:if(t.memoizedState!==null&&t.memoizedState.cachePool!==null){var a=t.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:Hu(t.memoizedState.cache)}if(a=t.child,a!==null)a.return=t,Ml=a;else l:for(t=l;Ml!==null;){a=Ml;var n=a.sibling,u=a.return;if(cy(a),a===t){Ml=null;break l}if(n!==null){n.return=u,Ml=n;break l}Ml=u}}}i(py,"commitPassiveUnmountEffectsInsideOfDeletedTree_begin");var Ap={getCacheForType:i(function(l){var e=Yl(gl),t=e.data.get(l);return t===void 0&&(t=l(),e.data.set(l,t)),t},"getCacheForType"),cacheSignal:i(function(){return Yl(gl).controller.signal},"cacheSignal")},Ep=typeof WeakMap=="function"?WeakMap:Map,L=0,ll=null,G=null,V=0,J=0,Il=null,Ot=!1,An=!1,Gs=!1,ot=0,rl=0,jt=0,ra=0,Vs=0,ee=0,hn=0,su=null,wl=null,Go=!1,Uc=0,gy=0,ic=1/0,cc=null,xt=null,Tl=0,qt=null,yn=null,nt=0,Vo=0,Qo=null,by=null,ru=0,Xo=null;function ue(){return(L&2)!==0&&V!==0?V&-V:k.T!==null?Xs():Oh()}i(ue,"requestUpdateLane");function Sy(){if(ee===0)if((V&536870912)===0||j){var l=di;di<<=1,(di&3932160)===0&&(di=262144),ee=l}else ee=536870912;return l=ce.current,l!==null&&(l.flags|=32),ee}i(Sy,"requestDeferredLane");function Wl(l,e,t){(l===ll&&(J===2||J===9)||l.cancelPendingCommit!==null)&&(vn(l,0),Ut(l,V,ee,!1)),Du(l,t),((L&2)===0||l!==ll)&&(l===ll&&((L&2)===0&&(ra|=t),rl===4&&Ut(l,V,ee,!1)),Ge(l))}i(Wl,"scheduleUpdateOnFiber");function zy(l,e,t){if((L&6)!==0)throw Error(b(327));var a=!t&&(e&127)===0&&(e&l.expiredLanes)===0||Uu(l,e),n=a?Mp(l,e):$f(l,e,!0),u=a;do{if(n===0){An&&!a&&Ut(l,e,0,!1);break}else{if(t=l.current.alternate,u&&!Np(t)){n=$f(l,e,!1),u=!1;continue}if(n===2){if(u=e,l.errorRecoveryDisabledLanes&u)var c=0;else c=l.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){e=c;l:{var f=l;n=su;var o=f.current.memoizedState.isDehydrated;if(o&&(vn(f,c).flags|=256),c=$f(f,c,!1),c!==2){if(Gs&&!o){f.errorRecoveryDisabledLanes|=u,ra|=u,n=4;break l}u=wl,wl=n,u!==null&&(wl===null?wl=u:wl.push.apply(wl,u))}n=c}if(u=!1,n!==2)continue}}if(n===1){vn(l,0),Ut(l,e,0,!0);break}l:{switch(a=l,u=n,u){case 0:case 1:throw Error(b(345));case 4:if((e&4194048)!==e)break;case 6:Ut(a,e,ee,!Ot);break l;case 2:wl=null;break;case 3:case 5:break;default:throw Error(b(329))}if((e&62914560)===e&&(n=Uc+300-te(),10<n)){if(Ut(a,e,ee,!Ot),gc(a,0,!0)!==0)break l;nt=e,a.timeoutHandle=Qy(Gm.bind(null,a,t,wl,cc,Go,e,ee,ra,hn,Ot,u,"Throttled",-0,0),n);break l}Gm(a,t,wl,cc,Go,e,ee,ra,hn,Ot,u,null,-0,0)}}break}while(!0);Ge(l)}i(zy,"performWorkOnRoot");function Gm(l,e,t,a,n,u,c,f,o,s,v,p,h,m){if(l.timeoutHandle=-1,p=e.subtreeFlags,p&8192||(p&16785408)===16785408){p={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:lt},hy(e,u,p);var S=(u&62914560)===u?Uc-te():(u&4194048)===u?gy-te():0;if(S=cg(p,S),S!==null){nt=u,l.cancelPendingCommit=S(Qm.bind(null,l,e,u,t,a,n,c,f,o,v,p,null,h,m)),Ut(l,u,c,!s);return}}Qm(l,e,u,t,a,n,c,f,o)}i(Gm,"commitRootWhenReady");function Np(l){for(var e=l;;){var t=e.tag;if((t===0||t===11||t===15)&&e.flags&16384&&(t=e.updateQueue,t!==null&&(t=t.stores,t!==null)))for(var a=0;a<t.length;a++){var n=t[a],u=n.getSnapshot;n=n.value;try{if(!ie(u(),n))return!1}catch{return!1}}if(t=e.child,e.subtreeFlags&16384&&t!==null)t.return=e,e=t;else{if(e===l)break;for(;e.sibling===null;){if(e.return===null||e.return===l)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}i(Np,"isRenderConsistentWithExternalStores");function Ut(l,e,t,a){e&=~Vs,e&=~ra,l.suspendedLanes|=e,l.pingedLanes&=~e,a&&(l.warmLanes|=e),a=l.expirationTimes;for(var n=e;0<n;){var u=31-ne(n),c=1<<u;a[u]=-1,n&=~c}t!==0&&Nh(l,t,e)}i(Ut,"markRootSuspended");function Dc(){return(L&6)===0?(qu(0,!1),!1):!0}i(Dc,"flushSyncWork$1");function Qs(){if(G!==null){if(J===0)var l=G.return;else l=G,et=za=null,_s(l),nn=null,bu=0,l=G;for(;l!==null;)ly(l.alternate,l),l=l.return;G=null}}i(Qs,"resetWorkInProgressStack");function vn(l,e){var t=l.timeoutHandle;t!==-1&&(l.timeoutHandle=-1,jp(t)),t=l.cancelPendingCommit,t!==null&&(l.cancelPendingCommit=null,t()),nt=0,Qs(),ll=l,G=t=tt(l.current,null),V=e,J=0,Il=null,Ot=!1,An=Uu(l,e),Gs=!1,hn=ee=Vs=ra=jt=rl=0,wl=su=null,Go=!1,(e&8)!==0&&(e|=e&32);var a=l.entangledLanes;if(a!==0)for(l=l.entanglements,a&=e;0<a;){var n=31-ne(a),u=1<<n;e|=l[n],a&=~u}return ot=e,Tc(),t}i(vn,"prepareFreshStack");function Ty(l,e){q=null,k.H=zu,e===Tn||e===Ec?(e=pm(),J=3):e===bs?(e=pm(),J=4):J=e===xs?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Il=e,G===null&&(rl=1,ac(l,ve(e,l.current)))}i(Ty,"handleThrow");function Ay(){var l=ce.current;return l===null?!0:(V&4194048)===V?ge===null:(V&62914560)===V||(V&536870912)!==0?l===ge:!1}i(Ay,"shouldRemainOnPreviousScreen");function Ey(){var l=k.H;return k.H=zu,l===null?zu:l}i(Ey,"pushDispatcher");function Ny(){var l=k.A;return k.A=Ap,l}i(Ny,"pushAsyncDispatcher");function fc(){rl=4,Ot||(V&4194048)!==V&&ce.current!==null||(An=!0),(jt&134217727)===0&&(ra&134217727)===0||ll===null||Ut(ll,V,ee,!1)}i(fc,"renderDidSuspendDelayIfPossible");function $f(l,e,t){var a=L;L|=2;var n=Ey(),u=Ny();(ll!==l||V!==e)&&(cc=null,vn(l,e)),e=!1;var c=rl;l:do try{if(J!==0&&G!==null){var f=G,o=Il;switch(J){case 8:Qs(),c=6;break l;case 3:case 2:case 9:case 6:ce.current===null&&(e=!0);var s=J;if(J=0,Il=null,Pa(l,f,o,s),t&&An){c=0;break l}break;default:s=J,J=0,Il=null,Pa(l,f,o,s)}}_p(),c=rl;break}catch(v){Ty(l,v)}while(!0);return e&&l.shellSuspendCounter++,et=za=null,L=a,k.H=n,k.A=u,G===null&&(ll=null,V=0,Tc()),c}i($f,"renderRootSync");function _p(){for(;G!==null;)_y(G)}i(_p,"workLoopSync");function Mp(l,e){var t=L;L|=2;var a=Ey(),n=Ny();ll!==l||V!==e?(cc=null,ic=te()+500,vn(l,e)):An=Uu(l,e);l:do try{if(J!==0&&G!==null){e=G;var u=Il;e:switch(J){case 1:J=0,Il=null,Pa(l,e,u,1);break;case 2:case 9:if(vm(u)){J=0,Il=null,Vm(e);break}e=i(function(){J!==2&&J!==9||ll!==l||(J=7),Ge(l)},"lanes"),u.then(e,e);break l;case 3:J=7;break l;case 4:J=5;break l;case 7:vm(u)?(J=0,Il=null,Vm(e)):(J=0,Il=null,Pa(l,e,u,7));break;case 5:var c=null;switch(G.tag){case 26:c=G.memoizedState;case 5:case 27:var f=G;if(c?Ky(c):f.stateNode.complete){J=0,Il=null;var o=f.sibling;if(o!==null)G=o;else{var s=f.return;s!==null?(G=s,Cc(s)):G=null}break e}}J=0,Il=null,Pa(l,e,u,5);break;case 6:J=0,Il=null,Pa(l,e,u,6);break;case 8:Qs(),rl=6;break l;default:throw Error(b(462))}}Op();break}catch(v){Ty(l,v)}while(!0);return et=za=null,k.H=a,k.A=n,L=t,G!==null?0:(ll=null,V=0,Tc(),rl)}i(Mp,"renderRootConcurrent");function Op(){for(;G!==null&&!$v();)_y(G)}i(Op,"workLoopConcurrentByScheduler");function _y(l){var e=P0(l.alternate,l,ot);l.memoizedProps=l.pendingProps,e===null?Cc(l):G=e}i(_y,"performUnitOfWork");function Vm(l){var e=l,t=e.alternate;switch(e.tag){case 15:case 0:e=Hm(t,e,e.pendingProps,e.type,void 0,V);break;case 11:e=Hm(t,e,e.pendingProps,e.type.render,e.ref,V);break;case 5:_s(e);default:ly(t,e),e=G=l0(e,ot),e=P0(t,e,ot)}l.memoizedProps=l.pendingProps,e===null?Cc(l):G=e}i(Vm,"replaySuspendedUnitOfWork");function Pa(l,e,t,a){et=za=null,_s(e),nn=null,bu=0;var n=e.return;try{if(vp(l,n,e,t,V)){rl=1,ac(l,ve(t,l.current)),G=null;return}}catch(u){if(n!==null)throw G=n,u;rl=1,ac(l,ve(t,l.current)),G=null;return}e.flags&32768?(j||a===1?l=!0:An||(V&536870912)!==0?l=!1:(Ot=l=!0,(a===2||a===9||a===3||a===6)&&(a=ce.current,a!==null&&a.tag===13&&(a.flags|=16384))),My(e,l)):Cc(e)}i(Pa,"throwAndUnwindWorkLoop");function Cc(l){var e=l;do{if((e.flags&32768)!==0){My(e,Ot);return}l=e.return;var t=bp(e.alternate,e,ot);if(t!==null){G=t;return}if(e=e.sibling,e!==null){G=e;return}G=e=l}while(e!==null);rl===0&&(rl=5)}i(Cc,"completeUnitOfWork");function My(l,e){do{var t=Sp(l.alternate,l);if(t!==null){t.flags&=32767,G=t;return}if(t=l.return,t!==null&&(t.flags|=32768,t.subtreeFlags=0,t.deletions=null),!e&&(l=l.sibling,l!==null)){G=l;return}G=l=t}while(l!==null);rl=6,G=null}i(My,"unwindUnitOfWork");function Qm(l,e,t,a,n,u,c,f,o){l.cancelPendingCommit=null;do kc();while(Tl!==0);if((L&6)!==0)throw Error(b(327));if(e!==null){if(e===l.current)throw Error(b(177));if(u=e.lanes|e.childLanes,u|=ds,c1(l,t,u,c,f,o),l===ll&&(G=ll=null,V=0),yn=e,qt=l,nt=t,Vo=u,Qo=n,by=a,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(l.callbackNode=null,l.callbackPriority=0,kp(Ki,function(){return ky(),null})):(l.callbackNode=null,l.callbackPriority=0),a=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||a){a=k.T,k.T=null,n=Z.p,Z.p=2,c=L,L|=4;try{zp(l,e,t)}finally{L=c,Z.p=n,k.T=a}}Tl=1,Oy(),Uy(),Dy()}}i(Qm,"commitRoot");function Oy(){if(Tl===1){Tl=0;var l=qt,e=yn,t=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||t){t=k.T,k.T=null;var a=Z.p;Z.p=2;var n=L;L|=4;try{ry(e,l);var u=Ko,c=Kh(l.containerInfo),f=u.focusedElem,o=u.selectionRange;if(c!==f&&f&&f.ownerDocument&&Zh(f.ownerDocument.documentElement,f)){if(o!==null&&rs(f)){var s=o.start,v=o.end;if(v===void 0&&(v=s),"selectionStart"in f)f.selectionStart=s,f.selectionEnd=Math.min(v,f.value.length);else{var p=f.ownerDocument||document,h=p&&p.defaultView||window;if(h.getSelection){var m=h.getSelection(),S=f.textContent.length,E=Math.min(o.start,S),O=o.end===void 0?E:Math.min(o.end,S);!m.extend&&E>O&&(c=O,O=E,E=c);var d=om(f,E),r=om(f,O);if(d&&r&&(m.rangeCount!==1||m.anchorNode!==d.node||m.anchorOffset!==d.offset||m.focusNode!==r.node||m.focusOffset!==r.offset)){var y=p.createRange();y.setStart(d.node,d.offset),m.removeAllRanges(),E>O?(m.addRange(y),m.extend(r.node,r.offset)):(y.setEnd(r.node,r.offset),m.addRange(y))}}}}for(p=[],m=f;m=m.parentNode;)m.nodeType===1&&p.push({element:m,left:m.scrollLeft,top:m.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<p.length;f++){var g=p[f];g.element.scrollLeft=g.left,g.element.scrollTop=g.top}}vc=!!Zo,Ko=Zo=null}finally{L=n,Z.p=a,k.T=t}}l.current=e,Tl=2}}i(Oy,"flushMutationEffects");function Uy(){if(Tl===2){Tl=0;var l=qt,e=yn,t=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||t){t=k.T,k.T=null;var a=Z.p;Z.p=2;var n=L;L|=4;try{iy(l,e.alternate,e)}finally{L=n,Z.p=a,k.T=t}}Tl=3}}i(Uy,"flushLayoutEffects");function Dy(){if(Tl===4||Tl===3){Tl=0,Iv();var l=qt,e=yn,t=nt,a=by;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?Tl=5:(Tl=0,yn=qt=null,Cy(l,l.pendingLanes));var n=l.pendingLanes;if(n===0&&(xt=null),ns(t),e=e.stateNode,ae&&typeof ae.onCommitFiberRoot=="function")try{ae.onCommitFiberRoot(Ou,e,void 0,(e.current.flags&128)===128)}catch{}if(a!==null){e=k.T,n=Z.p,Z.p=2,k.T=null;try{for(var u=l.onRecoverableError,c=0;c<a.length;c++){var f=a[c];u(f.value,{componentStack:f.stack})}}finally{k.T=e,Z.p=n}}(nt&3)!==0&&kc(),Ge(l),n=l.pendingLanes,(t&261930)!==0&&(n&42)!==0?l===Xo?ru++:(ru=0,Xo=l):ru=0,qu(0,!1)}}i(Dy,"flushSpawnedWork");function Cy(l,e){(l.pooledCacheLanes&=e)===0&&(e=l.pooledCache,e!=null&&(l.pooledCache=null,Hu(e)))}i(Cy,"releaseRootPooledCache");function kc(){return Oy(),Uy(),Dy(),ky()}i(kc,"flushPendingEffects");function ky(){if(Tl!==5)return!1;var l=qt,e=Vo;Vo=0;var t=ns(nt),a=k.T,n=Z.p;try{Z.p=32>t?32:t,k.T=null,t=Qo,Qo=null;var u=qt,c=nt;if(Tl=0,yn=qt=null,nt=0,(L&6)!==0)throw Error(b(331));var f=L;if(L|=4,vy(u.current),my(u,u.current,c,t),L=f,qu(0,!1),ae&&typeof ae.onPostCommitFiberRoot=="function")try{ae.onPostCommitFiberRoot(Ou,u)}catch{}return!0}finally{Z.p=n,k.T=a,Cy(l,e)}}i(ky,"flushPassiveEffects");function Xm(l,e,t){e=ve(t,e),e=xo(l.stateNode,e,2),l=Bt(l,e,2),l!==null&&(Du(l,2),Ge(l))}i(Xm,"captureCommitPhaseErrorOnRoot");function w(l,e,t){if(l.tag===3)Xm(l,l,t);else for(;e!==null;){if(e.tag===3){Xm(e,l,t);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(xt===null||!xt.has(a))){l=ve(t,l),t=J0(2),a=Bt(e,t,2),a!==null&&(w0(t,a,e,l),Du(a,2),Ge(a));break}}e=e.return}}i(w,"captureCommitPhaseError");function If(l,e,t){var a=l.pingCache;if(a===null){a=l.pingCache=new Ep;var n=new Set;a.set(e,n)}else n=a.get(e),n===void 0&&(n=new Set,a.set(e,n));n.has(t)||(Gs=!0,n.add(t),l=Up.bind(null,l,e,t),e.then(l,l))}i(If,"attachPingListener");function Up(l,e,t){var a=l.pingCache;a!==null&&a.delete(e),l.pingedLanes|=l.suspendedLanes&t,l.warmLanes&=~t,ll===l&&(V&t)===t&&(rl===4||rl===3&&(V&62914560)===V&&300>te()-Uc?(L&2)===0&&vn(l,0):Vs|=t,hn===V&&(hn=0)),Ge(l)}i(Up,"pingSuspendedRoot");function Hy(l,e){e===0&&(e=Eh()),l=Sa(l,e),l!==null&&(Du(l,e),Ge(l))}i(Hy,"retryTimedOutBoundary");function Dp(l){var e=l.memoizedState,t=0;e!==null&&(t=e.retryLane),Hy(l,t)}i(Dp,"retryDehydratedSuspenseBoundary");function Cp(l,e){var t=0;switch(l.tag){case 31:case 13:var a=l.stateNode,n=l.memoizedState;n!==null&&(t=n.retryLane);break;case 19:a=l.stateNode;break;case 22:a=l.stateNode._retryCache;break;default:throw Error(b(314))}a!==null&&a.delete(e),Hy(l,t)}i(Cp,"resolveRetryWakeable");function kp(l,e){return ts(l,e)}i(kp,"scheduleCallback$1");var oc=null,Qa=null,jo=!1,sc=!1,Pf=!1,Dt=0;function Ge(l){l!==Qa&&l.next===null&&(Qa===null?oc=Qa=l:Qa=Qa.next=l),sc=!0,jo||(jo=!0,Bp())}i(Ge,"ensureRootIsScheduled");function qu(l,e){if(!Pf&&sc){Pf=!0;do for(var t=!1,a=oc;a!==null;){if(!e)if(l!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var c=a.suspendedLanes,f=a.pingedLanes;u=(1<<31-ne(42|l)+1)-1,u&=n&~(c&~f),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(t=!0,jm(a,u))}else u=V,u=gc(a,a===ll?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||Uu(a,u)||(t=!0,jm(a,u));a=a.next}while(t);Pf=!1}}i(qu,"flushSyncWorkAcrossRoots_impl");function Hp(){By()}i(Hp,"processRootScheduleInImmediateTask");function By(){sc=jo=!1;var l=0;Dt!==0&&Xp()&&(l=Dt);for(var e=te(),t=null,a=oc;a!==null;){var n=a.next,u=xy(a,e);u===0?(a.next=null,t===null?oc=n:t.next=n,n===null&&(Qa=t)):(t=a,(l!==0||(u&3)!==0)&&(sc=!0)),a=n}Tl!==0&&Tl!==5||qu(l,!1),Dt!==0&&(Dt=0)}i(By,"processRootScheduleInMicrotask");function xy(l,e){for(var t=l.suspendedLanes,a=l.pingedLanes,n=l.expirationTimes,u=l.pendingLanes&-62914561;0<u;){var c=31-ne(u),f=1<<c,o=n[c];o===-1?((f&t)===0||(f&a)!==0)&&(n[c]=i1(f,e)):o<=e&&(l.expiredLanes|=f),u&=~f}if(e=ll,t=V,t=gc(l,l===e?t:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a=l.callbackNode,t===0||l===e&&(J===2||J===9)||l.cancelPendingCommit!==null)return a!==null&&a!==null&&Of(a),l.callbackNode=null,l.callbackPriority=0;if((t&3)===0||Uu(l,t)){if(e=t&-t,e===l.callbackPriority)return e;switch(a!==null&&Of(a),ns(t)){case 2:case 8:t=Th;break;case 32:t=Ki;break;case 268435456:t=Ah;break;default:t=Ki}return a=qy.bind(null,l),t=ts(t,a),l.callbackPriority=e,l.callbackNode=t,e}return a!==null&&a!==null&&Of(a),l.callbackPriority=2,l.callbackNode=null,2}i(xy,"scheduleTaskForRootDuringMicrotask");function qy(l,e){if(Tl!==0&&Tl!==5)return l.callbackNode=null,l.callbackPriority=0,null;var t=l.callbackNode;if(kc()&&l.callbackNode!==t)return null;var a=V;return a=gc(l,l===ll?a:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a===0?null:(zy(l,a,e),xy(l,te()),l.callbackNode!=null&&l.callbackNode===t?qy.bind(null,l):null)}i(qy,"performWorkOnRootViaSchedulerTask");function jm(l,e){if(kc())return null;zy(l,e,!0)}i(jm,"performSyncWorkOnRoot");function Bp(){Lp(function(){(L&6)!==0?ts(zh,Hp):By()})}i(Bp,"scheduleImmediateRootScheduleTask");function Xs(){if(Dt===0){var l=rn;l===0&&(l=ri,ri<<=1,(ri&261888)===0&&(ri=256)),Dt=l}return Dt}i(Xs,"requestTransitionLane");function Lm(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:Ui(""+l)}i(Lm,"coerceFormActionProp");function Zm(l,e){var t=e.ownerDocument.createElement("input");return t.name=e.name,t.value=e.value,l.id&&t.setAttribute("form",l.id),e.parentNode.insertBefore(t,e),l=new FormData(l),t.parentNode.removeChild(t),l}i(Zm,"createFormDataWithSubmitter");function xp(l,e,t,a,n){if(e==="submit"&&t&&t.stateNode===n){var u=Lm((n[Fl]||null).action),c=a.submitter;c&&(e=(e=c[Fl]||null)?Lm(e.formAction):c.getAttribute("formAction"),e!==null&&(u=e,c=null));var f=new bc("action","action",null,a,n);l.push({event:f,listeners:[{instance:null,listener:i(function(){if(a.defaultPrevented){if(Dt!==0){var o=c?Zm(n,c):new FormData(n);Ho(t,{pending:!0,data:o,method:n.method,action:u},null,o)}}else typeof u=="function"&&(f.preventDefault(),o=c?Zm(n,c):new FormData(n),Ho(t,{pending:!0,data:o,method:n.method,action:u},u,o))},"listener"),currentTarget:n}]})}}i(xp,"extractEvents$1");for(Ai=0;Ai<zo.length;Ai++)Ei=zo[Ai],Km=Ei.toLowerCase(),Jm=Ei[0].toUpperCase()+Ei.slice(1),Ne(Km,"on"+Jm);var Ei,Km,Jm,Ai;Ne(wh,"onAnimationEnd");Ne(Wh,"onAnimationIteration");Ne(Fh,"onAnimationStart");Ne("dblclick","onDoubleClick");Ne("focusin","onFocus");Ne("focusout","onBlur");Ne(P1,"onTransitionRun");Ne(lp,"onTransitionStart");Ne(ep,"onTransitionCancel");Ne($h,"onTransitionEnd");on("onMouseEnter",["mouseout","mouseover"]);on("onMouseLeave",["mouseout","mouseover"]);on("onPointerEnter",["pointerout","pointerover"]);on("onPointerLeave",["pointerout","pointerover"]);pa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));pa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));pa("onBeforeInput",["compositionend","keypress","textInput","paste"]);pa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));pa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));pa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Tu="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(" "),qp=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Tu));function Ry(l,e){e=(e&4)!==0;for(var t=0;t<l.length;t++){var a=l[t],n=a.event;a=a.listeners;l:{var u=void 0;if(e)for(var c=a.length-1;0<=c;c--){var f=a[c],o=f.instance,s=f.currentTarget;if(f=f.listener,o!==u&&n.isPropagationStopped())break l;u=f,n.currentTarget=s;try{u(n)}catch(v){wi(v)}n.currentTarget=null,u=o}else for(c=0;c<a.length;c++){if(f=a[c],o=f.instance,s=f.currentTarget,f=f.listener,o!==u&&n.isPropagationStopped())break l;u=f,n.currentTarget=s;try{u(n)}catch(v){wi(v)}n.currentTarget=null,u=o}}}}i(Ry,"processDispatchQueue");function Y(l,e){var t=e[mo];t===void 0&&(t=e[mo]=new Set);var a=l+"__bubble";t.has(a)||(Yy(e,l,2,!1),t.add(a))}i(Y,"listenToNonDelegatedEvent");function lo(l,e,t){var a=0;e&&(a|=4),Yy(t,l,a,e)}i(lo,"listenToNativeEvent");var Ni="_reactListening"+Math.random().toString(36).slice(2);function js(l){if(!l[Ni]){l[Ni]=!0,Uh.forEach(function(t){t!=="selectionchange"&&(qp.has(t)||lo(t,!1,l),lo(t,!0,l))});var e=l.nodeType===9?l:l.ownerDocument;e===null||e[Ni]||(e[Ni]=!0,lo("selectionchange",!1,e))}}i(js,"listenToAllSupportedEvents");function Yy(l,e,t,a){switch($y(e)){case 2:var n=sg;break;case 8:n=rg;break;default:n=Js}t=n.bind(null,e,t,l),n=void 0,!go||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(n=!0),a?n!==void 0?l.addEventListener(e,t,{capture:!0,passive:n}):l.addEventListener(e,t,!0):n!==void 0?l.addEventListener(e,t,{passive:n}):l.addEventListener(e,t,!1)}i(Yy,"addTrappedEventListener");function eo(l,e,t,a,n){var u=a;if((e&1)===0&&(e&2)===0&&a!==null)l:for(;;){if(a===null)return;var c=a.tag;if(c===3||c===4){var f=a.stateNode.containerInfo;if(f===n)break;if(c===4)for(c=a.return;c!==null;){var o=c.tag;if((o===3||o===4)&&c.stateNode.containerInfo===n)return;c=c.return}for(;f!==null;){if(c=La(f),c===null)return;if(o=c.tag,o===5||o===6||o===26||o===27){a=u=c;continue l}f=f.parentNode}}a=a.return}Rh(function(){var s=u,v=cs(t),p=[];l:{var h=Ih.get(l);if(h!==void 0){var m=bc,S=l;switch(l){case"keypress":if(Ci(t)===0)break l;case"keydown":case"keyup":m=C1;break;case"focusin":S="focus",m=Hf;break;case"focusout":S="blur",m=Hf;break;case"beforeblur":case"afterblur":m=Hf;break;case"click":if(t.button===2)break l;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":m=lm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=b1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=B1;break;case wh:case Wh:case Fh:m=T1;break;case $h:m=q1;break;case"scroll":case"scrollend":m=p1;break;case"wheel":m=Y1;break;case"copy":case"cut":case"paste":m=E1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=tm;break;case"toggle":case"beforetoggle":m=V1}var E=(e&4)!==0,O=!E&&(l==="scroll"||l==="scrollend"),d=E?h!==null?h+"Capture":null:h;E=[];for(var r=s,y;r!==null;){var g=r;if(y=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||y===null||d===null||(g=hu(r,d),g!=null&&E.push(Au(r,g,y))),O)break;r=r.return}0<E.length&&(h=new m(h,S,null,t,v),p.push({event:h,listeners:E}))}}if((e&7)===0){l:{if(h=l==="mouseover"||l==="pointerover",m=l==="mouseout"||l==="pointerout",h&&t!==po&&(S=t.relatedTarget||t.fromElement)&&(La(S)||S[bn]))break l;if((m||h)&&(h=v.window===v?v:(h=v.ownerDocument)?h.defaultView||h.parentWindow:window,m?(S=t.relatedTarget||t.toElement,m=s,S=S?La(S):null,S!==null&&(O=Mu(S),E=S.tag,S!==O||E!==5&&E!==27&&E!==6)&&(S=null)):(m=null,S=s),m!==S)){if(E=lm,g="onMouseLeave",d="onMouseEnter",r="mouse",(l==="pointerout"||l==="pointerover")&&(E=tm,g="onPointerLeave",d="onPointerEnter",r="pointer"),O=m==null?h:$n(m),y=S==null?h:$n(S),h=new E(g,r+"leave",m,t,v),h.target=O,h.relatedTarget=y,g=null,La(v)===s&&(E=new E(d,r+"enter",S,t,v),E.target=y,E.relatedTarget=O,g=E),O=g,m&&S)e:{for(E=Rp,d=m,r=S,y=0,g=d;g;g=E(g))y++;g=0;for(var A=r;A;A=E(A))g++;for(;0<y-g;)d=E(d),y--;for(;0<g-y;)r=E(r),g--;for(;y--;){if(d===r||r!==null&&d===r.alternate){E=d;break e}d=E(d),r=E(r)}E=null}else E=null;m!==null&&wm(p,h,m,E,!1),S!==null&&O!==null&&wm(p,O,S,E,!0)}}l:{if(h=s?$n(s):window,m=h.nodeName&&h.nodeName.toLowerCase(),m==="select"||m==="input"&&h.type==="file")var x=im;else if(um(h))if(jh)x=F1;else{x=w1;var N=J1}else m=h.nodeName,!m||m.toLowerCase()!=="input"||h.type!=="checkbox"&&h.type!=="radio"?s&&is(s.elementType)&&(x=im):x=W1;if(x&&(x=x(l,s))){Xh(p,x,t,v);break l}N&&N(l,h,s),l==="focusout"&&s&&h.type==="number"&&s.memoizedProps.value!=null&&vo(h,"number",h.value)}switch(N=s?$n(s):window,l){case"focusin":(um(N)||N.contentEditable==="true")&&(Ja=N,bo=s,tu=null);break;case"focusout":tu=bo=Ja=null;break;case"mousedown":So=!0;break;case"contextmenu":case"mouseup":case"dragend":So=!1,sm(p,t,v);break;case"selectionchange":if(I1)break;case"keydown":case"keyup":sm(p,t,v)}var M;if(ss)l:{switch(l){case"compositionstart":var U="onCompositionStart";break l;case"compositionend":U="onCompositionEnd";break l;case"compositionupdate":U="onCompositionUpdate";break l}U=void 0}else Ka?Vh(l,t)&&(U="onCompositionEnd"):l==="keydown"&&t.keyCode===229&&(U="onCompositionStart");U&&(Gh&&t.locale!=="ko"&&(Ka||U!=="onCompositionStart"?U==="onCompositionEnd"&&Ka&&(M=Yh()):(Mt=v,fs="value"in Mt?Mt.value:Mt.textContent,Ka=!0)),N=rc(s,U),0<N.length&&(U=new em(U,l,null,t,v),p.push({event:U,listeners:N}),M?U.data=M:(M=Qh(t),M!==null&&(U.data=M)))),(M=X1?j1(l,t):L1(l,t))&&(U=rc(s,"onBeforeInput"),0<U.length&&(N=new em("onBeforeInput","beforeinput",null,t,v),p.push({event:N,listeners:U}),N.data=M)),xp(p,l,s,t,v)}Ry(p,e)})}i(eo,"dispatchEventForPluginEventSystem");function Au(l,e,t){return{instance:l,listener:e,currentTarget:t}}i(Au,"createDispatchListener");function rc(l,e){for(var t=e+"Capture",a=[];l!==null;){var n=l,u=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||u===null||(n=hu(l,t),n!=null&&a.unshift(Au(l,n,u)),n=hu(l,e),n!=null&&a.push(Au(l,n,u))),l.tag===3)return a;l=l.return}return[]}i(rc,"accumulateTwoPhaseListeners");function Rp(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}i(Rp,"getParent");function wm(l,e,t,a,n){for(var u=e._reactName,c=[];t!==null&&t!==a;){var f=t,o=f.alternate,s=f.stateNode;if(f=f.tag,o!==null&&o===a)break;f!==5&&f!==26&&f!==27||s===null||(o=s,n?(s=hu(t,u),s!=null&&c.unshift(Au(t,s,o))):n||(s=hu(t,u),s!=null&&c.push(Au(t,s,o)))),t=t.return}c.length!==0&&l.push({event:e,listeners:c})}i(wm,"accumulateEnterLeaveListenersForEvent");var Yp=/\r\n?/g,Gp=/\u0000|\uFFFD/g;function Wm(l){return(typeof l=="string"?l:""+l).replace(Yp,`
9
- `).replace(Gp,"")}i(Wm,"normalizeMarkupForTextOrAttribute");function Gy(l,e){return e=Wm(e),Wm(l)===e}i(Gy,"checkForUnmatchedText");function $(l,e,t,a,n,u){switch(t){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||sn(l,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&sn(l,""+a);break;case"className":hi(l,"class",a);break;case"tabIndex":hi(l,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":hi(l,t,a);break;case"style":qh(l,a,u);break;case"data":if(e!=="object"){hi(l,"data",a);break}case"src":case"href":if(a===""&&(e!=="a"||t!=="href")){l.removeAttribute(t);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(t);break}a=Ui(""+a),l.setAttribute(t,a);break;case"action":case"formAction":if(typeof a=="function"){l.setAttribute(t,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(t==="formAction"?(e!=="input"&&$(l,e,"name",n.name,n,null),$(l,e,"formEncType",n.formEncType,n,null),$(l,e,"formMethod",n.formMethod,n,null),$(l,e,"formTarget",n.formTarget,n,null)):($(l,e,"encType",n.encType,n,null),$(l,e,"method",n.method,n,null),$(l,e,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(t);break}a=Ui(""+a),l.setAttribute(t,a);break;case"onClick":a!=null&&(l.onclick=lt);break;case"onScroll":a!=null&&Y("scroll",l);break;case"onScrollEnd":a!=null&&Y("scrollend",l);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(b(61));if(t=a.__html,t!=null){if(n.children!=null)throw Error(b(60));l.innerHTML=t}}break;case"multiple":l.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":l.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){l.removeAttribute("xlink:href");break}t=Ui(""+a),l.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(t,""+a):l.removeAttribute(t);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(t,""):l.removeAttribute(t);break;case"capture":case"download":a===!0?l.setAttribute(t,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(t,a):l.removeAttribute(t);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?l.setAttribute(t,a):l.removeAttribute(t);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?l.removeAttribute(t):l.setAttribute(t,a);break;case"popover":Y("beforetoggle",l),Y("toggle",l),Oi(l,"popover",a);break;case"xlinkActuate":Ke(l,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Ke(l,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Ke(l,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Ke(l,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Ke(l,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Ke(l,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Ke(l,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Ke(l,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Ke(l,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Oi(l,"is",a);break;case"innerText":case"textContent":break;default:(!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(t=y1.get(t)||t,Oi(l,t,a))}}i($,"setProp");function Lo(l,e,t,a,n,u){switch(t){case"style":qh(l,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(b(61));if(t=a.__html,t!=null){if(n.children!=null)throw Error(b(60));l.innerHTML=t}}break;case"children":typeof a=="string"?sn(l,a):(typeof a=="number"||typeof a=="bigint")&&sn(l,""+a);break;case"onScroll":a!=null&&Y("scroll",l);break;case"onScrollEnd":a!=null&&Y("scrollend",l);break;case"onClick":a!=null&&(l.onclick=lt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Dh.hasOwnProperty(t))l:{if(t[0]==="o"&&t[1]==="n"&&(n=t.endsWith("Capture"),e=t.slice(2,n?t.length-7:void 0),u=l[Fl]||null,u=u!=null?u[t]:null,typeof u=="function"&&l.removeEventListener(e,u,n),typeof a=="function")){typeof u!="function"&&u!==null&&(t in l?l[t]=null:l.hasAttribute(t)&&l.removeAttribute(t)),l.addEventListener(e,a,n);break l}t in l?l[t]=a:a===!0?l.setAttribute(t,""):Oi(l,t,a)}}}i(Lo,"setPropOnCustomElement");function Gl(l,e,t){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Y("error",l),Y("load",l);var a=!1,n=!1,u;for(u in t)if(t.hasOwnProperty(u)){var c=t[u];if(c!=null)switch(u){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(b(137,e));default:$(l,e,u,c,t,null)}}n&&$(l,e,"srcSet",t.srcSet,t,null),a&&$(l,e,"src",t.src,t,null);return;case"input":Y("invalid",l);var f=u=c=n=null,o=null,s=null;for(a in t)if(t.hasOwnProperty(a)){var v=t[a];if(v!=null)switch(a){case"name":n=v;break;case"type":c=v;break;case"checked":o=v;break;case"defaultChecked":s=v;break;case"value":u=v;break;case"defaultValue":f=v;break;case"children":case"dangerouslySetInnerHTML":if(v!=null)throw Error(b(137,e));break;default:$(l,e,a,v,t,null)}}Hh(l,u,f,o,s,c,n,!1);return;case"select":Y("invalid",l),a=c=u=null;for(n in t)if(t.hasOwnProperty(n)&&(f=t[n],f!=null))switch(n){case"value":u=f;break;case"defaultValue":c=f;break;case"multiple":a=f;default:$(l,e,n,f,t,null)}e=u,t=c,l.multiple=!!a,e!=null?en(l,!!a,e,!1):t!=null&&en(l,!!a,t,!0);return;case"textarea":Y("invalid",l),u=n=a=null;for(c in t)if(t.hasOwnProperty(c)&&(f=t[c],f!=null))switch(c){case"value":a=f;break;case"defaultValue":n=f;break;case"children":u=f;break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(b(91));break;default:$(l,e,c,f,t,null)}xh(l,a,n,u);return;case"option":for(o in t)t.hasOwnProperty(o)&&(a=t[o],a!=null)&&(o==="selected"?l.selected=a&&typeof a!="function"&&typeof a!="symbol":$(l,e,o,a,t,null));return;case"dialog":Y("beforetoggle",l),Y("toggle",l),Y("cancel",l),Y("close",l);break;case"iframe":case"object":Y("load",l);break;case"video":case"audio":for(a=0;a<Tu.length;a++)Y(Tu[a],l);break;case"image":Y("error",l),Y("load",l);break;case"details":Y("toggle",l);break;case"embed":case"source":case"link":Y("error",l),Y("load",l);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(s in t)if(t.hasOwnProperty(s)&&(a=t[s],a!=null))switch(s){case"children":case"dangerouslySetInnerHTML":throw Error(b(137,e));default:$(l,e,s,a,t,null)}return;default:if(is(e)){for(v in t)t.hasOwnProperty(v)&&(a=t[v],a!==void 0&&Lo(l,e,v,a,t,void 0));return}}for(f in t)t.hasOwnProperty(f)&&(a=t[f],a!=null&&$(l,e,f,a,t,null))}i(Gl,"setInitialProperties");function Vp(l,e,t,a){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,u=null,c=null,f=null,o=null,s=null,v=null;for(m in t){var p=t[m];if(t.hasOwnProperty(m)&&p!=null)switch(m){case"checked":break;case"value":break;case"defaultValue":o=p;default:a.hasOwnProperty(m)||$(l,e,m,null,a,p)}}for(var h in a){var m=a[h];if(p=t[h],a.hasOwnProperty(h)&&(m!=null||p!=null))switch(h){case"type":u=m;break;case"name":n=m;break;case"checked":s=m;break;case"defaultChecked":v=m;break;case"value":c=m;break;case"defaultValue":f=m;break;case"children":case"dangerouslySetInnerHTML":if(m!=null)throw Error(b(137,e));break;default:m!==p&&$(l,e,h,m,a,p)}}yo(l,c,f,o,s,v,u,n);return;case"select":m=c=f=h=null;for(u in t)if(o=t[u],t.hasOwnProperty(u)&&o!=null)switch(u){case"value":break;case"multiple":m=o;default:a.hasOwnProperty(u)||$(l,e,u,null,a,o)}for(n in a)if(u=a[n],o=t[n],a.hasOwnProperty(n)&&(u!=null||o!=null))switch(n){case"value":h=u;break;case"defaultValue":f=u;break;case"multiple":c=u;default:u!==o&&$(l,e,n,u,a,o)}e=f,t=c,a=m,h!=null?en(l,!!t,h,!1):!!a!=!!t&&(e!=null?en(l,!!t,e,!0):en(l,!!t,t?[]:"",!1));return;case"textarea":m=h=null;for(f in t)if(n=t[f],t.hasOwnProperty(f)&&n!=null&&!a.hasOwnProperty(f))switch(f){case"value":break;case"children":break;default:$(l,e,f,null,a,n)}for(c in a)if(n=a[c],u=t[c],a.hasOwnProperty(c)&&(n!=null||u!=null))switch(c){case"value":h=n;break;case"defaultValue":m=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(b(91));break;default:n!==u&&$(l,e,c,n,a,u)}Bh(l,h,m);return;case"option":for(var S in t)h=t[S],t.hasOwnProperty(S)&&h!=null&&!a.hasOwnProperty(S)&&(S==="selected"?l.selected=!1:$(l,e,S,null,a,h));for(o in a)h=a[o],m=t[o],a.hasOwnProperty(o)&&h!==m&&(h!=null||m!=null)&&(o==="selected"?l.selected=h&&typeof h!="function"&&typeof h!="symbol":$(l,e,o,h,a,m));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var E in t)h=t[E],t.hasOwnProperty(E)&&h!=null&&!a.hasOwnProperty(E)&&$(l,e,E,null,a,h);for(s in a)if(h=a[s],m=t[s],a.hasOwnProperty(s)&&h!==m&&(h!=null||m!=null))switch(s){case"children":case"dangerouslySetInnerHTML":if(h!=null)throw Error(b(137,e));break;default:$(l,e,s,h,a,m)}return;default:if(is(e)){for(var O in t)h=t[O],t.hasOwnProperty(O)&&h!==void 0&&!a.hasOwnProperty(O)&&Lo(l,e,O,void 0,a,h);for(v in a)h=a[v],m=t[v],!a.hasOwnProperty(v)||h===m||h===void 0&&m===void 0||Lo(l,e,v,h,a,m);return}}for(var d in t)h=t[d],t.hasOwnProperty(d)&&h!=null&&!a.hasOwnProperty(d)&&$(l,e,d,null,a,h);for(p in a)h=a[p],m=t[p],!a.hasOwnProperty(p)||h===m||h==null&&m==null||$(l,e,p,h,a,m)}i(Vp,"updateProperties");function Fm(l){switch(l){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}i(Fm,"isLikelyStaticResource");function Qp(){if(typeof performance.getEntriesByType=="function"){for(var l=0,e=0,t=performance.getEntriesByType("resource"),a=0;a<t.length;a++){var n=t[a],u=n.transferSize,c=n.initiatorType,f=n.duration;if(u&&f&&Fm(c)){for(c=0,f=n.responseEnd,a+=1;a<t.length;a++){var o=t[a],s=o.startTime;if(s>f)break;var v=o.transferSize,p=o.initiatorType;v&&Fm(p)&&(o=o.responseEnd,c+=v*(o<f?1:(f-s)/(o-s)))}if(--a,e+=8*(u+c)/(n.duration/1e3),l++,10<l)break}}if(0<l)return e/l/1e6}return navigator.connection&&(l=navigator.connection.downlink,typeof l=="number")?l:5}i(Qp,"estimateBandwidth");var Zo=null,Ko=null;function dc(l){return l.nodeType===9?l:l.ownerDocument}i(dc,"getOwnerDocumentFromRootContainer");function $m(l){switch(l){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}i($m,"getOwnHostContext");function Vy(l,e){if(l===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return l===1&&e==="foreignObject"?0:l}i(Vy,"getChildHostContextProd");function Jo(l,e){return l==="textarea"||l==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}i(Jo,"shouldSetTextContent");var to=null;function Xp(){var l=window.event;return l&&l.type==="popstate"?l===to?!1:(to=l,!0):(to=null,!1)}i(Xp,"shouldAttemptEagerTransition");var Qy=typeof setTimeout=="function"?setTimeout:void 0,jp=typeof clearTimeout=="function"?clearTimeout:void 0,Im=typeof Promise=="function"?Promise:void 0,Lp=typeof queueMicrotask=="function"?queueMicrotask:typeof Im<"u"?function(l){return Im.resolve(null).then(l).catch(Zp)}:Qy;function Zp(l){setTimeout(function(){throw l})}i(Zp,"handleErrorInNextTick");function Zt(l){return l==="head"}i(Zt,"isSingletonScope");function Pm(l,e){var t=e,a=0;do{var n=t.nextSibling;if(l.removeChild(t),n&&n.nodeType===8)if(t=n.data,t==="/$"||t==="/&"){if(a===0){l.removeChild(n),gn(e);return}a--}else if(t==="$"||t==="$?"||t==="$~"||t==="$!"||t==="&")a++;else if(t==="html")du(l.ownerDocument.documentElement);else if(t==="head"){t=l.ownerDocument.head,du(t);for(var u=t.firstChild;u;){var c=u.nextSibling,f=u.nodeName;u[Cu]||f==="SCRIPT"||f==="STYLE"||f==="LINK"&&u.rel.toLowerCase()==="stylesheet"||t.removeChild(u),u=c}}else t==="body"&&du(l.ownerDocument.body);t=n}while(t);gn(e)}i(Pm,"clearHydrationBoundary");function lh(l,e){var t=l;l=0;do{var a=t.nextSibling;if(t.nodeType===1?e?(t._stashedDisplay=t.style.display,t.style.display="none"):(t.style.display=t._stashedDisplay||"",t.getAttribute("style")===""&&t.removeAttribute("style")):t.nodeType===3&&(e?(t._stashedText=t.nodeValue,t.nodeValue=""):t.nodeValue=t._stashedText||""),a&&a.nodeType===8)if(t=a.data,t==="/$"){if(l===0)break;l--}else t!=="$"&&t!=="$?"&&t!=="$~"&&t!=="$!"||l++;t=a}while(t)}i(lh,"hideOrUnhideDehydratedBoundary");function wo(l){var e=l.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var t=e;switch(e=e.nextSibling,t.nodeName){case"HTML":case"HEAD":case"BODY":wo(t),us(t);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(t.rel.toLowerCase()==="stylesheet")continue}l.removeChild(t)}}i(wo,"clearContainerSparingly");function Kp(l,e,t,a){for(;l.nodeType===1;){var n=t;if(l.nodeName.toLowerCase()!==e.toLowerCase()){if(!a&&(l.nodeName!=="INPUT"||l.type!=="hidden"))break}else if(a){if(!l[Cu])switch(e){case"meta":if(!l.hasAttribute("itemprop"))break;return l;case"link":if(u=l.getAttribute("rel"),u==="stylesheet"&&l.hasAttribute("data-precedence"))break;if(u!==n.rel||l.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||l.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||l.getAttribute("title")!==(n.title==null?null:n.title))break;return l;case"style":if(l.hasAttribute("data-precedence"))break;return l;case"script":if(u=l.getAttribute("src"),(u!==(n.src==null?null:n.src)||l.getAttribute("type")!==(n.type==null?null:n.type)||l.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&u&&l.hasAttribute("async")&&!l.hasAttribute("itemprop"))break;return l;default:return l}}else if(e==="input"&&l.type==="hidden"){var u=n.name==null?null:""+n.name;if(n.type==="hidden"&&l.getAttribute("name")===u)return l}else return l;if(l=be(l.nextSibling),l===null)break}return null}i(Kp,"canHydrateInstance");function Jp(l,e,t){if(e==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!t||(l=be(l.nextSibling),l===null))return null;return l}i(Jp,"canHydrateTextInstance");function Xy(l,e){for(;l.nodeType!==8;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!e||(l=be(l.nextSibling),l===null))return null;return l}i(Xy,"canHydrateHydrationBoundary");function Wo(l){return l.data==="$?"||l.data==="$~"}i(Wo,"isSuspenseInstancePending");function Fo(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState!=="loading"}i(Fo,"isSuspenseInstanceFallback");function wp(l,e){var t=l.ownerDocument;if(l.data==="$~")l._reactRetry=e;else if(l.data!=="$?"||t.readyState!=="loading")e();else{var a=i(function(){e(),t.removeEventListener("DOMContentLoaded",a)},"listener");t.addEventListener("DOMContentLoaded",a),l._reactRetry=a}}i(wp,"registerSuspenseInstanceRetry");function be(l){for(;l!=null;l=l.nextSibling){var e=l.nodeType;if(e===1||e===3)break;if(e===8){if(e=l.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return l}i(be,"getNextHydratable");var $o=null;function eh(l){l=l.nextSibling;for(var e=0;l;){if(l.nodeType===8){var t=l.data;if(t==="/$"||t==="/&"){if(e===0)return be(l.nextSibling);e--}else t!=="$"&&t!=="$!"&&t!=="$?"&&t!=="$~"&&t!=="&"||e++}l=l.nextSibling}return null}i(eh,"getNextHydratableInstanceAfterHydrationBoundary");function th(l){l=l.previousSibling;for(var e=0;l;){if(l.nodeType===8){var t=l.data;if(t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"){if(e===0)return l;e--}else t!=="/$"&&t!=="/&"||e++}l=l.previousSibling}return null}i(th,"getParentHydrationBoundary");function jy(l,e,t){switch(e=dc(t),l){case"html":if(l=e.documentElement,!l)throw Error(b(452));return l;case"head":if(l=e.head,!l)throw Error(b(453));return l;case"body":if(l=e.body,!l)throw Error(b(454));return l;default:throw Error(b(451))}}i(jy,"resolveSingletonInstance");function du(l){for(var e=l.attributes;e.length;)l.removeAttributeNode(e[0]);us(l)}i(du,"releaseSingletonInstance");var Se=new Map,ah=new Set;function mc(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}i(mc,"getHoistableRoot");var st=Z.d;Z.d={f:Wp,r:Fp,D:$p,C:Ip,L:Pp,m:lg,X:tg,S:eg,M:ag};function Wp(){var l=st.f(),e=Dc();return l||e}i(Wp,"flushSyncWork");function Fp(l){var e=Sn(l);e!==null&&e.tag===5&&e.type==="form"?q0(e):st.r(l)}i(Fp,"requestFormReset");var En=typeof document>"u"?null:document;function Ly(l,e,t){var a=En;if(a&&typeof e=="string"&&e){var n=ye(e);n='link[rel="'+l+'"][href="'+n+'"]',typeof t=="string"&&(n+='[crossorigin="'+t+'"]'),ah.has(n)||(ah.add(n),l={rel:l,crossOrigin:t,href:e},a.querySelector(n)===null&&(e=a.createElement("link"),Gl(e,"link",l),Ol(e),a.head.appendChild(e)))}}i(Ly,"preconnectAs");function $p(l){st.D(l),Ly("dns-prefetch",l,null)}i($p,"prefetchDNS");function Ip(l,e){st.C(l,e),Ly("preconnect",l,e)}i(Ip,"preconnect");function Pp(l,e,t){st.L(l,e,t);var a=En;if(a&&l&&e){var n='link[rel="preload"][as="'+ye(e)+'"]';e==="image"&&t&&t.imageSrcSet?(n+='[imagesrcset="'+ye(t.imageSrcSet)+'"]',typeof t.imageSizes=="string"&&(n+='[imagesizes="'+ye(t.imageSizes)+'"]')):n+='[href="'+ye(l)+'"]';var u=n;switch(e){case"style":u=pn(l);break;case"script":u=Nn(l)}Se.has(u)||(l=ul({rel:"preload",href:e==="image"&&t&&t.imageSrcSet?void 0:l,as:e},t),Se.set(u,l),a.querySelector(n)!==null||e==="style"&&a.querySelector(Ru(u))||e==="script"&&a.querySelector(Yu(u))||(e=a.createElement("link"),Gl(e,"link",l),Ol(e),a.head.appendChild(e)))}}i(Pp,"preload");function lg(l,e){st.m(l,e);var t=En;if(t&&l){var a=e&&typeof e.as=="string"?e.as:"script",n='link[rel="modulepreload"][as="'+ye(a)+'"][href="'+ye(l)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Nn(l)}if(!Se.has(u)&&(l=ul({rel:"modulepreload",href:l},e),Se.set(u,l),t.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(t.querySelector(Yu(u)))return}a=t.createElement("link"),Gl(a,"link",l),Ol(a),t.head.appendChild(a)}}}i(lg,"preloadModule");function eg(l,e,t){st.S(l,e,t);var a=En;if(a&&l){var n=ln(a).hoistableStyles,u=pn(l);e=e||"default";var c=n.get(u);if(!c){var f={loading:0,preload:null};if(c=a.querySelector(Ru(u)))f.loading=5;else{l=ul({rel:"stylesheet",href:l,"data-precedence":e},t),(t=Se.get(u))&&Ls(l,t);var o=c=a.createElement("link");Ol(o),Gl(o,"link",l),o._p=new Promise(function(s,v){o.onload=s,o.onerror=v}),o.addEventListener("load",function(){f.loading|=1}),o.addEventListener("error",function(){f.loading|=2}),f.loading|=4,Gi(c,e,a)}c={type:"stylesheet",instance:c,count:1,state:f},n.set(u,c)}}}i(eg,"preinitStyle");function tg(l,e){st.X(l,e);var t=En;if(t&&l){var a=ln(t).hoistableScripts,n=Nn(l),u=a.get(n);u||(u=t.querySelector(Yu(n)),u||(l=ul({src:l,async:!0},e),(e=Se.get(n))&&Zs(l,e),u=t.createElement("script"),Ol(u),Gl(u,"link",l),t.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}i(tg,"preinitScript");function ag(l,e){st.M(l,e);var t=En;if(t&&l){var a=ln(t).hoistableScripts,n=Nn(l),u=a.get(n);u||(u=t.querySelector(Yu(n)),u||(l=ul({src:l,async:!0,type:"module"},e),(e=Se.get(n))&&Zs(l,e),u=t.createElement("script"),Ol(u),Gl(u,"link",l),t.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}i(ag,"preinitModuleScript");function nh(l,e,t,a){var n=(n=Ct.current)?mc(n):null;if(!n)throw Error(b(446));switch(l){case"meta":case"title":return null;case"style":return typeof t.precedence=="string"&&typeof t.href=="string"?(e=pn(t.href),t=ln(n).hoistableStyles,a=t.get(e),a||(a={type:"style",instance:null,count:0,state:null},t.set(e,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(t.rel==="stylesheet"&&typeof t.href=="string"&&typeof t.precedence=="string"){l=pn(t.href);var u=ln(n).hoistableStyles,c=u.get(l);if(c||(n=n.ownerDocument||n,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(l,c),(u=n.querySelector(Ru(l)))&&!u._p&&(c.instance=u,c.state.loading=5),Se.has(l)||(t={rel:"preload",as:"style",href:t.href,crossOrigin:t.crossOrigin,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy},Se.set(l,t),u||ng(n,l,t,c.state))),e&&a===null)throw Error(b(528,""));return c}if(e&&a!==null)throw Error(b(529,""));return null;case"script":return e=t.async,t=t.src,typeof t=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Nn(t),t=ln(n).hoistableScripts,a=t.get(e),a||(a={type:"script",instance:null,count:0,state:null},t.set(e,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(b(444,l))}}i(nh,"getResource");function pn(l){return'href="'+ye(l)+'"'}i(pn,"getStyleKey");function Ru(l){return'link[rel="stylesheet"]['+l+"]"}i(Ru,"getStylesheetSelectorFromKey");function Zy(l){return ul({},l,{"data-precedence":l.precedence,precedence:null})}i(Zy,"stylesheetPropsFromRawProps");function ng(l,e,t,a){l.querySelector('link[rel="preload"][as="style"]['+e+"]")?a.loading=1:(e=l.createElement("link"),a.preload=e,e.addEventListener("load",function(){return a.loading|=1}),e.addEventListener("error",function(){return a.loading|=2}),Gl(e,"link",t),Ol(e),l.head.appendChild(e))}i(ng,"preloadStylesheet");function Nn(l){return'[src="'+ye(l)+'"]'}i(Nn,"getScriptKey");function Yu(l){return"script[async]"+l}i(Yu,"getScriptSelectorFromKey");function uh(l,e,t){if(e.count++,e.instance===null)switch(e.type){case"style":var a=l.querySelector('style[data-href~="'+ye(t.href)+'"]');if(a)return e.instance=a,Ol(a),a;var n=ul({},t,{"data-href":t.href,"data-precedence":t.precedence,href:null,precedence:null});return a=(l.ownerDocument||l).createElement("style"),Ol(a),Gl(a,"style",n),Gi(a,t.precedence,l),e.instance=a;case"stylesheet":n=pn(t.href);var u=l.querySelector(Ru(n));if(u)return e.state.loading|=4,e.instance=u,Ol(u),u;a=Zy(t),(n=Se.get(n))&&Ls(a,n),u=(l.ownerDocument||l).createElement("link"),Ol(u);var c=u;return c._p=new Promise(function(f,o){c.onload=f,c.onerror=o}),Gl(u,"link",a),e.state.loading|=4,Gi(u,t.precedence,l),e.instance=u;case"script":return u=Nn(t.src),(n=l.querySelector(Yu(u)))?(e.instance=n,Ol(n),n):(a=t,(n=Se.get(u))&&(a=ul({},t),Zs(a,n)),l=l.ownerDocument||l,n=l.createElement("script"),Ol(n),Gl(n,"link",a),l.head.appendChild(n),e.instance=n);case"void":return null;default:throw Error(b(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(a=e.instance,e.state.loading|=4,Gi(a,t.precedence,l));return e.instance}i(uh,"acquireResource");function Gi(l,e,t){for(var a=t.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,u=n,c=0;c<a.length;c++){var f=a[c];if(f.dataset.precedence===e)u=f;else if(u!==n)break}u?u.parentNode.insertBefore(l,u.nextSibling):(e=t.nodeType===9?t.head:t,e.insertBefore(l,e.firstChild))}i(Gi,"insertStylesheet");function Ls(l,e){l.crossOrigin==null&&(l.crossOrigin=e.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=e.referrerPolicy),l.title==null&&(l.title=e.title)}i(Ls,"adoptPreloadPropsForStylesheet");function Zs(l,e){l.crossOrigin==null&&(l.crossOrigin=e.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=e.referrerPolicy),l.integrity==null&&(l.integrity=e.integrity)}i(Zs,"adoptPreloadPropsForScript");var Vi=null;function ih(l,e,t){if(Vi===null){var a=new Map,n=Vi=new Map;n.set(t,a)}else n=Vi,a=n.get(t),a||(a=new Map,n.set(t,a));if(a.has(l))return a;for(a.set(l,null),t=t.getElementsByTagName(l),n=0;n<t.length;n++){var u=t[n];if(!(u[Cu]||u[ql]||l==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var c=u.getAttribute(e)||"";c=l+c;var f=a.get(c);f?f.push(u):a.set(c,[u])}}return a}i(ih,"getHydratableHoistableCache");function ch(l,e,t){l=l.ownerDocument||l,l.head.insertBefore(t,e==="title"?l.querySelector("head > title"):null)}i(ch,"mountHoistable");function ug(l,e,t){if(t===1||e.itemProp!=null)return!1;switch(l){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;return e.rel==="stylesheet"?(l=e.disabled,typeof e.precedence=="string"&&l==null):!0;case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}i(ug,"isHostHoistableType");function Ky(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}i(Ky,"preloadResource");function ig(l,e,t,a){if(t.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var n=pn(a.href),u=e.querySelector(Ru(n));if(u){e=u._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(l.count++,l=hc.bind(l),e.then(l,l)),t.state.loading|=4,t.instance=u,Ol(u);return}u=e.ownerDocument||e,a=Zy(a),(n=Se.get(n))&&Ls(a,n),u=u.createElement("link"),Ol(u);var c=u;c._p=new Promise(function(f,o){c.onload=f,c.onerror=o}),Gl(u,"link",a),t.instance=u}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&3)===0&&(l.count++,t=hc.bind(l),e.addEventListener("load",t),e.addEventListener("error",t))}}i(ig,"suspendResource");var ao=0;function cg(l,e){return l.stylesheets&&l.count===0&&Qi(l,l.stylesheets),0<l.count||0<l.imgCount?function(t){var a=setTimeout(function(){if(l.stylesheets&&Qi(l,l.stylesheets),l.unsuspend){var u=l.unsuspend;l.unsuspend=null,u()}},6e4+e);0<l.imgBytes&&ao===0&&(ao=62500*Qp());var n=setTimeout(function(){if(l.waitingForImages=!1,l.count===0&&(l.stylesheets&&Qi(l,l.stylesheets),l.unsuspend)){var u=l.unsuspend;l.unsuspend=null,u()}},(l.imgBytes>ao?50:800)+e);return l.unsuspend=t,function(){l.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}i(cg,"waitForCommitToBeReady");function hc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Qi(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}i(hc,"onUnsuspend");var yc=null;function Qi(l,e){l.stylesheets=null,l.unsuspend!==null&&(l.count++,yc=new Map,e.forEach(fg,l),yc=null,hc.call(l))}i(Qi,"insertSuspendedStylesheets");function fg(l,e){if(!(e.state.loading&4)){var t=yc.get(l);if(t)var a=t.get(null);else{t=new Map,yc.set(l,t);for(var n=l.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<n.length;u++){var c=n[u];(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")&&(t.set(c.dataset.precedence,c),a=c)}a&&t.set(null,a)}n=e.instance,c=n.getAttribute("data-precedence"),u=t.get(c)||a,u===a&&t.set(null,n),t.set(c,n),this.count++,a=hc.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),u?u.parentNode.insertBefore(n,u.nextSibling):(l=l.nodeType===9?l.head:l,l.insertBefore(n,l.firstChild)),e.state.loading|=4}}i(fg,"insertStylesheetIntoRoot");var Eu={$$typeof:Pe,Provider:null,Consumer:null,_currentValue:ca,_currentValue2:ca,_threadCount:0};function og(l,e,t,a,n,u,c,f,o){this.tag=1,this.containerInfo=l,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Uf(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Uf(0),this.hiddenUpdates=Uf(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=u,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=o,this.incompleteTransitions=new Map}i(og,"FiberRootNode");function Jy(l,e,t,a,n,u,c,f,o,s,v,p){return l=new og(l,e,t,c,o,s,v,p,f),e=1,u===!0&&(e|=24),u=le(3,null,null,e),l.current=u,u.stateNode=l,e=ps(),e.refCount++,l.pooledCache=e,e.refCount++,u.memoizedState={element:a,isDehydrated:t,cache:e},Ss(u),l}i(Jy,"createFiberRoot");function wy(l){return l?(l=Fa,l):Fa}i(wy,"getContextForSubtree");function Wy(l,e,t,a,n,u){n=wy(n),a.context===null?a.context=n:a.pendingContext=n,a=Ht(e),a.payload={element:t},u=u===void 0?null:u,u!==null&&(a.callback=u),t=Bt(l,a,e),t!==null&&(Wl(t,l,e),nu(t,l,e))}i(Wy,"updateContainerImpl");function fh(l,e){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var t=l.retryLane;l.retryLane=t!==0&&t<e?t:e}}i(fh,"markRetryLaneImpl");function Ks(l,e){fh(l,e),(l=l.alternate)&&fh(l,e)}i(Ks,"markRetryLaneIfNotHydrated");function Fy(l){if(l.tag===13||l.tag===31){var e=Sa(l,67108864);e!==null&&Wl(e,l,67108864),Ks(l,67108864)}}i(Fy,"attemptContinuousHydration");function oh(l){if(l.tag===13||l.tag===31){var e=ue();e=as(e);var t=Sa(l,e);t!==null&&Wl(t,l,e),Ks(l,e)}}i(oh,"attemptHydrationAtCurrentPriority");var vc=!0;function sg(l,e,t,a){var n=k.T;k.T=null;var u=Z.p;try{Z.p=2,Js(l,e,t,a)}finally{Z.p=u,k.T=n}}i(sg,"dispatchDiscreteEvent");function rg(l,e,t,a){var n=k.T;k.T=null;var u=Z.p;try{Z.p=8,Js(l,e,t,a)}finally{Z.p=u,k.T=n}}i(rg,"dispatchContinuousEvent");function Js(l,e,t,a){if(vc){var n=Io(a);if(n===null)eo(l,e,a,pc,t),sh(l,a);else if(mg(n,l,e,t,a))a.stopPropagation();else if(sh(l,a),e&4&&-1<dg.indexOf(l)){for(;n!==null;){var u=Sn(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var c=na(u.pendingLanes);if(c!==0){var f=u;for(f.pendingLanes|=2,f.entangledLanes|=2;c;){var o=1<<31-ne(c);f.entanglements[1]|=o,c&=~o}Ge(u),(L&6)===0&&(ic=te()+500,qu(0,!1))}}break;case 31:case 13:f=Sa(u,2),f!==null&&Wl(f,u,2),Dc(),Ks(u,2)}if(u=Io(a),u===null&&eo(l,e,a,pc,t),u===n)break;n=u}n!==null&&a.stopPropagation()}else eo(l,e,a,null,t)}}i(Js,"dispatchEvent");function Io(l){return l=cs(l),ws(l)}i(Io,"findInstanceBlockingEvent");var pc=null;function ws(l){if(pc=null,l=La(l),l!==null){var e=Mu(l);if(e===null)l=null;else{var t=e.tag;if(t===13){if(l=vh(e),l!==null)return l;l=null}else if(t===31){if(l=ph(e),l!==null)return l;l=null}else if(t===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;l=null}else e!==l&&(l=null)}}return pc=l,null}i(ws,"findInstanceBlockingTarget");function $y(l){switch(l){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Pv()){case zh:return 2;case Th:return 8;case Ki:case l1:return 32;case Ah:return 268435456;default:return 32}default:return 32}}i($y,"getEventPriority");var Po=!1,Rt=null,Yt=null,Gt=null,Nu=new Map,_u=new Map,Nt=[],dg="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function sh(l,e){switch(l){case"focusin":case"focusout":Rt=null;break;case"dragenter":case"dragleave":Yt=null;break;case"mouseover":case"mouseout":Gt=null;break;case"pointerover":case"pointerout":Nu.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":_u.delete(e.pointerId)}}i(sh,"clearIfContinuousEvent");function Jn(l,e,t,a,n,u){return l===null||l.nativeEvent!==u?(l={blockedOn:e,domEventName:t,eventSystemFlags:a,nativeEvent:u,targetContainers:[n]},e!==null&&(e=Sn(e),e!==null&&Fy(e)),l):(l.eventSystemFlags|=a,e=l.targetContainers,n!==null&&e.indexOf(n)===-1&&e.push(n),l)}i(Jn,"accumulateOrCreateContinuousQueuedReplayableEvent");function mg(l,e,t,a,n){switch(e){case"focusin":return Rt=Jn(Rt,l,e,t,a,n),!0;case"dragenter":return Yt=Jn(Yt,l,e,t,a,n),!0;case"mouseover":return Gt=Jn(Gt,l,e,t,a,n),!0;case"pointerover":var u=n.pointerId;return Nu.set(u,Jn(Nu.get(u)||null,l,e,t,a,n)),!0;case"gotpointercapture":return u=n.pointerId,_u.set(u,Jn(_u.get(u)||null,l,e,t,a,n)),!0}return!1}i(mg,"queueIfContinuousEvent");function Iy(l){var e=La(l.target);if(e!==null){var t=Mu(e);if(t!==null){if(e=t.tag,e===13){if(e=vh(t),e!==null){l.blockedOn=e,Jd(l.priority,function(){oh(t)});return}}else if(e===31){if(e=ph(t),e!==null){l.blockedOn=e,Jd(l.priority,function(){oh(t)});return}}else if(e===3&&t.stateNode.current.memoizedState.isDehydrated){l.blockedOn=t.tag===3?t.stateNode.containerInfo:null;return}}}l.blockedOn=null}i(Iy,"attemptExplicitHydrationTarget");function Xi(l){if(l.blockedOn!==null)return!1;for(var e=l.targetContainers;0<e.length;){var t=Io(l.nativeEvent);if(t===null){t=l.nativeEvent;var a=new t.constructor(t.type,t);po=a,t.target.dispatchEvent(a),po=null}else return e=Sn(t),e!==null&&Fy(e),l.blockedOn=t,!1;e.shift()}return!0}i(Xi,"attemptReplayContinuousQueuedEvent");function rh(l,e,t){Xi(l)&&t.delete(e)}i(rh,"attemptReplayContinuousQueuedEventInMap");function hg(){Po=!1,Rt!==null&&Xi(Rt)&&(Rt=null),Yt!==null&&Xi(Yt)&&(Yt=null),Gt!==null&&Xi(Gt)&&(Gt=null),Nu.forEach(rh),_u.forEach(rh)}i(hg,"replayUnblockedEvents");function _i(l,e){l.blockedOn===e&&(l.blockedOn=null,Po||(Po=!0,Al.unstable_scheduleCallback(Al.unstable_NormalPriority,hg)))}i(_i,"scheduleCallbackIfUnblocked");var Mi=null;function dh(l){Mi!==l&&(Mi=l,Al.unstable_scheduleCallback(Al.unstable_NormalPriority,function(){Mi===l&&(Mi=null);for(var e=0;e<l.length;e+=3){var t=l[e],a=l[e+1],n=l[e+2];if(typeof a!="function"){if(ws(a||t)===null)continue;break}var u=Sn(t);u!==null&&(l.splice(e,3),e-=3,Ho(u,{pending:!0,data:n,method:t.method,action:a},a,n))}}))}i(dh,"scheduleReplayQueueIfNeeded");function gn(l){function e(o){return _i(o,l)}i(e,"unblock"),Rt!==null&&_i(Rt,l),Yt!==null&&_i(Yt,l),Gt!==null&&_i(Gt,l),Nu.forEach(e),_u.forEach(e);for(var t=0;t<Nt.length;t++){var a=Nt[t];a.blockedOn===l&&(a.blockedOn=null)}for(;0<Nt.length&&(t=Nt[0],t.blockedOn===null);)Iy(t),t.blockedOn===null&&Nt.shift();if(t=(l.ownerDocument||l).$$reactFormReplay,t!=null)for(a=0;a<t.length;a+=3){var n=t[a],u=t[a+1],c=n[Fl]||null;if(typeof u=="function")c||dh(t);else if(c){var f=null;if(u&&u.hasAttribute("formAction")){if(n=u,c=u[Fl]||null)f=c.formAction;else if(ws(n)!==null)continue}else f=c.action;typeof f=="function"?t[a+1]=f:(t.splice(a,3),a-=3),dh(t)}}}i(gn,"retryIfBlockedOn");function Py(){function l(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:i(function(){return new Promise(function(c){return n=c})},"handler"),focusReset:"manual",scroll:"manual"})}i(l,"handleNavigate");function e(){n!==null&&(n(),n=null),a||setTimeout(t,20)}i(e,"handleNavigateComplete");function t(){if(!a&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(i(t,"startFakeNavigation"),typeof navigation=="object"){var a=!1,n=null;return navigation.addEventListener("navigate",l),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(t,100),function(){a=!0,navigation.removeEventListener("navigate",l),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),n!==null&&(n(),n=null)}}}i(Py,"defaultOnDefaultTransitionIndicator");function Ws(l){this._internalRoot=l}i(Ws,"ReactDOMRoot");Hc.prototype.render=Ws.prototype.render=function(l){var e=this._internalRoot;if(e===null)throw Error(b(409));var t=e.current,a=ue();Wy(t,a,l,e,null,null)};Hc.prototype.unmount=Ws.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var e=l.containerInfo;Wy(l.current,2,null,l,null,null),Dc(),e[bn]=null}};function Hc(l){this._internalRoot=l}i(Hc,"ReactDOMHydrationRoot");Hc.prototype.unstable_scheduleHydration=function(l){if(l){var e=Oh();l={blockedOn:null,target:l,priority:e};for(var t=0;t<Nt.length&&e!==0&&e<Nt[t].priority;t++);Nt.splice(t,0,l),t===0&&Iy(l)}};var mh=hh.version;if(mh!=="19.2.0")throw Error(b(527,mh,"19.2.0"));Z.findDOMNode=function(l){var e=l._reactInternals;if(e===void 0)throw typeof l.render=="function"?Error(b(188)):(l=Object.keys(l).join(","),Error(b(268,l)));return l=Kv(e),l=l!==null?gh(l):null,l=l===null?null:l.stateNode,l};var yg={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:k,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(wn=__REACT_DEVTOOLS_GLOBAL_HOOK__,!wn.isDisabled&&wn.supportsFiber))try{Ou=wn.inject(yg),ae=wn}catch{}var wn;Bc.createRoot=function(l,e){if(!yh(l))throw Error(b(299));var t=!1,a="",n=L0,u=Z0,c=K0;return e!=null&&(e.unstable_strictMode===!0&&(t=!0),e.identifierPrefix!==void 0&&(a=e.identifierPrefix),e.onUncaughtError!==void 0&&(n=e.onUncaughtError),e.onCaughtError!==void 0&&(u=e.onCaughtError),e.onRecoverableError!==void 0&&(c=e.onRecoverableError)),e=Jy(l,1,!1,null,null,t,a,null,n,u,c,Py),l[bn]=e.current,js(l),new Ws(e)};Bc.hydrateRoot=function(l,e,t){if(!yh(l))throw Error(b(299));var a=!1,n="",u=L0,c=Z0,f=K0,o=null;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onUncaughtError!==void 0&&(u=t.onUncaughtError),t.onCaughtError!==void 0&&(c=t.onCaughtError),t.onRecoverableError!==void 0&&(f=t.onRecoverableError),t.formState!==void 0&&(o=t.formState)),e=Jy(l,1,!0,e,t??null,a,n,o,u,c,f,Py),e.context=wy(null),t=e.current,a=ue(),a=as(a),n=Ht(a),n.callback=null,Bt(t,n,a),t=a,e.current.lanes=t,Du(e,t),Ge(e),l[bn]=e.current,js(l),new Hc(e)};Bc.version="19.2.0"});var av=Ju((ob,tv)=>{"use strict";function ev(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ev)}catch(l){console.error(l)}}i(ev,"checkDCE");ev(),tv.exports=lv()});var $c="sekyro-verification",Ic=[{name:"client-token",property:"clientToken",type:"string | null",description:"The session's client token, from `clientToken` of the session your server created. Ignored while `verification` is set."},{name:"api-origin",property:"apiOrigin",type:"string | null",description:"The Sekyro AI API origin. Leave it out: the SDK's default is the production API."},{name:"locale",property:"locale",type:"SekyroLocale | null",description:"The language of the flow: `ar`, `fr`, `en`, `es`, `pt` or `de`. Without it: the page's `<html lang>` when it is one of them, else `en`. Arabic runs right to left."},{name:"color-scheme",property:"colorScheme",type:"SekyroColorScheme | null",description:"`light` (the default), `dark`, or `system` to follow the device."},{name:"asset-base-url",property:"assetBaseUrl",type:"string | null",description:"Where your page serves the face detector assets (the `models-v3` files)."},{name:"back-navigation",property:"backNavigation",type:"'history' | 'none' | null",description:"`history` lets the browser's back button go one screen back inside the flow. `none` (the default) never touches the page's history."},{name:"handoff-url",property:"handoffUrl",type:"string | null",description:"The link a desktop shows as a QR code when a camera step needs a phone (the session's `hostedUrl`). Without it, a notice asks the person to continue on their phone."},{name:"closable",property:"closable",type:"boolean",boolean:!0,description:"Shows the header's close button and the result's Continue button. Both fire `sekyro-close`; take the person on from your page there."},{name:"voice",property:"voice",type:"'off' | null",unreflected:!0,description:"`off` turns the spoken guidance off. The `voice` property, when set, wins and carries the voice options."}],zg=[{name:"verification",type:"Verification | null",description:"A `Verification` you created with `createVerification` from `@sekyro/web`. Set, it wins over `client-token`, and your page destroys it. Read, it is the verification the element runs, set or created."},{name:"strings",type:"Partial<SekyroStrings> | undefined",description:"Copy overrides, keyed like the SDK's strings."},{name:"theme",type:"SekyroTheme | undefined",description:"A runtime theme. It wins over the session's branding."},{name:"livenessProps",type:"SekyroElementLivenessOptions | undefined",description:"Options of the face capture step: `autoStart`, `tips`, `tipsSummary`, `coach`, `notice`, `startDisabled`, `startLabel`."},{name:"documentLiveMrz",type:"DocumentLiveMrzOptions | undefined",description:"Live MRZ reading on the document step: `workerUrl`, `assetBaseUrl`, or `mode: 'off'`."},{name:"voice",type:"false | VoiceOptions | undefined",description:"Spoken guidance options, or `false` to turn it off."}],Or=[{name:"header",description:"Replaces the partner header."},{name:"header-end",description:"Sits at the inline end of the partner header, before the close button (a language menu)."},{name:"footer",description:'Replaces the "Verified by Sekyro AI" link. An empty element hides it.'}],Tg=[{name:"sekyro-ready",type:"SekyroReadyDetail",description:"The element created its `Verification` from `client-token` (detail: `{ verification }`)."},{name:"sekyro-step",type:"VerificationStep",mirrors:"onStep",description:"The flow moved to a step."},{name:"sekyro-result",type:"VerificationResult",mirrors:"onResult",description:"A verdict for display. Read the decision that counts from your server."},{name:"sekyro-close",type:"SekyroCloseEvent",mirrors:"onClose",description:"The person closed the flow (`closable` only): `{ reason: 'finished', result }` or `{ reason: 'cancelled' }`."},{name:"sekyro-liveness-captured",type:"CapturedArtifacts",mirrors:"onLivenessCaptured",description:"The face capture finished, before its upload."},{name:"sekyro-liveness-state",type:"CaptureState",mirrors:"livenessProps.onStateChange",description:"The face capture's state changed."},{name:"sekyro-liveness-guidance",type:"StringKey",mirrors:"livenessProps.onGuidance",description:"The face capture shows a guidance line (its string key)."},{name:"sekyro-liveness-error",type:"CaptureError",mirrors:"livenessProps.onError",description:"The face capture failed (camera denied or absent, for example). The flow shows its own screen."},{name:"sekyro-error",type:"SekyroElementErrorDetail",description:"The element could not create its `Verification` from its attributes (detail: `{ error }`)."}];import{createVerification as vg}from"@sekyro/web";var Pc=Q(Vl(),1);var Hl={light:{brand:"#0d3b66",brandFg:"#ffffff",fg:"#13141f",fgMuted:"#4e5270",bg:"#f6f7fb",surface:"#ffffff",ring:"#0d3b66",danger:"#ca0f07",success:"#007a5e",warning:"#735003"},dark:{brand:"#6ea2d3",brandFg:"#051a2e",fg:"#f6f7fb",fgMuted:"#cbcedc",bg:"#13141f",surface:"#1d1e2c",ring:"#6ea2d3",danger:"#ff7c7c",success:"#00c897",warning:"#ffd98a"},roles:{light:{brandSoft:"#eaf2fa",line:"#cbcedc",lineSubtle:"#e2e4ee",lineStrong:"#8c91a9",sunken:"#eeeff5",fgSubtle:"#686d8a"},dark:{brandSoft:"#092b4b",line:"#4e5270",lineSubtle:"#2b2d40",lineStrong:"#686d8a",sunken:"#0b0c14",fgSubtle:"#8c91a9"}},stage:"#051a2e",stageAccent:"#69dfef",radius:"10px",radiusLg:"16px",font:'"Sekyro Inter", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", "Noto Sans", sans-serif',fontDisplay:'"Sekyro Geist", Geist, "Sekyro Geist Fallback", "Sekyro Geist Fallback Roboto", "Sekyro Inter", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", "Noto Sans", sans-serif',fontArabic:'"Sekyro Cairo", Cairo, "Sekyro Inter", "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif'},qn={colors:{...Hl.light},radius:Hl.radiusLg,fontFamily:Hl.font},Ur={brand:"--sekyro-color-brand",brandFg:"--sekyro-color-brand-fg",fg:"--sekyro-color-fg",fgMuted:"--sekyro-color-fg-muted",bg:"--sekyro-color-bg",surface:"--sekyro-color-surface",ring:"--sekyro-color-ring",danger:"--sekyro-color-danger",success:"--sekyro-color-success",warning:"--sekyro-color-warning"};function Cr(l={}){let e={};for(let t of Object.keys(Ur))e[Ur[t]]=l.colors?.[t]??qn.colors[t];return e["--sekyro-radius"]=l.radius??qn.radius,e["--sekyro-font"]=l.fontFamily??qn.fontFamily,e}i(Cr,"S");T(Cr,"themeToCssVars");var dv=/^#[0-9a-f]{6}$/i,mv=["brand","brandFg","bg","surface","fg","fgMuted"],hv=["danger","success","warning"],Dr=!1;function Iu(l){let e=l?.colors;if(l===void 0||e===void 0||!hv.some(c=>c in e))return l;!Dr&&rr()&&(Dr=!0,console.warn("[sekyro] theme.colors.danger/success/warning are ignored: status colours are standard (removed in 1.0)"));let{danger:t,success:a,warning:n,...u}=e;return{...l,colors:u}}i(Iu,"p");T(Iu,"stripDeprecatedStatusColors");var yv={none:"0px",sm:"6px",md:"10px",lg:"16px",full:"9999px"},vv={system:"",inter:"Inter","ibm-plex-sans-arabic":'"IBM Plex Sans Arabic"',"noto-sans-arabic":'"Noto Sans Arabic"',roboto:"Roboto"};function Pu(l){let e={};if(!l)return e;let t={},a=l.colors??{};for(let c of mv){let f=a[c];f!==void 0&&dv.test(f)&&(t[c]=f)}t.brand&&(t.ring=t.brand),Object.keys(t).length&&(e.colors=t);let n=yv[l.radius];n&&(e.radius=n);let u=vv[l.fontFamily];return u!==void 0&&(e.fontFamily=u?`${u}, ${qn.fontFamily}`:qn.fontFamily),e}i(Pu,"x");T(Pu,"brandingToTheme");function li(...l){let e={};for(let t of l)t?.colors&&(e.colors={...e.colors,...t.colors}),t?.radius&&(e.radius=t.radius),t?.fontFamily&&(e.fontFamily=t.fontFamily);return e}i(li,"I");T(li,"mergeThemes");function lf({theme:l,children:e,className:t}){return(0,Pc.jsx)(ei,{theme:Iu(l),...t!==void 0?{className:t}:{},children:e})}i(lf,"C");T(lf,"SekyroThemeProvider");function ei({theme:l,children:e,className:t}){let a=Cr(l);return(0,Pc.jsx)("div",{className:t===void 0?"sekyro-root":`sekyro-root ${t}`,style:a,children:e})}i(ei,"R");T(ei,"SekyroThemeRoot");var Rn=Q(zl(),1),Bl=Q(zl(),1),D=Q(Vl(),1),yt=Q(zl(),1),Qe=Q(Vl(),1),vt=Q(zl(),1),Xe=Q(Vl(),1),Zr=Q(zl(),1),Ca=Q(Vl(),1),ka=Q(zl(),1),P=Q(Vl(),1),oe=Q(zl(),1),Le=Q(zl(),1),Nl=Q(Vl(),1),Te=Q(Vl(),1),_l=Q(zl(),1),K=Q(Vl(),1),pt=Q(zl(),1),De=Q(Vl(),1),gt=Q(zl(),1),Ce=Q(Vl(),1),C=Q(zl(),1),ni=Q(zl(),1),ht=Q(zl(),1),ke=Q(Vl(),1),je=Q(Vl(),1),ud=Q(zl(),1),Ba=Q(zl(),1),F=Q(Vl(),1),z=Q(Vl(),1),Yn=Q(zl(),1),ea=Q(Vl(),1);import{isValidNni as Av,normalizeNni as Br}from"@sekyro/web";import{acceptedIssuers as Mv,acceptedTypesFor as xr,warmDocumentCapture as Ov}from"@sekyro/web";import{acceptedIssuers as Uv,acceptedTypesFor as ef}from"@sekyro/web";import{warmPortraitCapture as kv}from"@sekyro/web";import{cameraUnavailableCauseOf as Rv}from"@sekyro/web";function Vr(l){let[e,t]=(0,Rn.useState)(()=>l?.currentStep?.()??null),[a,n]=(0,Rn.useState)(null);return(0,Rn.useEffect)(()=>{if(l===void 0)return;if(typeof l.run!="function"){n(new Error("The step components need @sekyro/web 0.2 or later (Verification.run)."));return}let u=!0,c=l.on("step",f=>{u&&t(f)});return l.run().then(f=>{u&&t(o=>o??f)},f=>{u&&n(f)}),()=>{u=!1,c()}},[l]),{step:e,error:a}}i(Vr,"ct");T(Vr,"useVerificationStep");var kr=T((l,e,t)=>{if(l===void 0)return 0;let a=Date.parse(l)-e;return Number.isFinite(a)?Math.min(t,Math.max(0,Math.ceil(a/1e3))):0},"secondsUntil"),pv=600,gv=30,bv=T(l=>`${Math.floor(l/60)}:${String(l%60).padStart(2,"0")}`,"mmss"),Sv=["whatsapp","sms"],Hr=new Set(["otp_daily_cap_reached","payment_method_required","spend_cap_reached","insufficient_balance","otp_expired","otp_send_failed","otp_channel_unavailable","otp_destination_not_allowed","otp_destination_unknown","otp_rate_limited","otp_resend_limit","otp_number_invalid","otp_number_not_mobile"]);function Qr(l){let e=[];for(let t of l.phoneCountries??["MR"]){let a=l.phoneRules?.find(u=>u.code===t),n=a?.dial??zr(t);n!==void 0&&!e.some(u=>u.code===t)&&e.push({code:t,dial:`+${n}`,...a!==void 0?{rule:a}:{}})}return e}i(Qr,"un");T(Qr,"phoneCountriesOf");function Xr({step:l,locale:e,strings:t,className:a,defaultPhone:n,onError:u}){let c=Cl(e,t),{t:f}=c,o=(0,Bl.useMemo)(()=>Qr(l),[l.phoneCountries,l.phoneRules]),s=n??o[0]?.dial??"",v=l.phoneInternational===!0,p=Ar({countries:o,international:v,closed:!!l.phoneRules?.length,defaultPhone:s}),[h,m]=(0,Bl.useState)(""),[S,E]=(0,Bl.useState)(!1),[O,d]=(0,Bl.useState)(null),[r,y]=(0,Bl.useState)(null),[g,A]=(0,Bl.useState)(!1),[x,N]=(0,Bl.useState)(null),M=(0,Bl.useRef)(null),U=l.phase==="verify"&&!g,R=l.phase==="verify",jl=Mr(R),[Jt,Vu]=Nr(l.reason==="otp_mismatch",l.attemptsRemaining,()=>m("")),Ll=(0,Bl.useId)(),Qu=(0,Bl.useRef)(null);(0,Bl.useEffect)(()=>{let W=setTimeout(()=>Qu.current?.focus({preventScroll:!0}),350);return()=>clearTimeout(W)},[U]);let wt=l.phase==="verify"?l.codeExpiresAt??"sent":null;(0,Bl.useEffect)(()=>{wt!==null&&(A(!1),M.current!==null&&!Hr.has(l.reason??"")&&N(M.current),M.current=null)},[wt]);let Oa=T(async W=>{E(!0),y(null);try{await W()}catch(Dl){y(xn(Dl,c.strings)),u?.(Dl)}finally{E(!1),d(null)}},"run"),fe=Sv.filter(W=>(l.channels??[]).includes(W)),Xu=p.typed,mt=!l.needsPhone||Xu!==null,Wt=T((W,Dl=!1)=>{let _=l.needsPhone?Dl?x:{number:Xu??p.phone,shown:p.shown}:null;M.current=_,d(W??null),Oa(async()=>{try{await l.send({..._!==null?{phone:_.number}:{},...W!==void 0?{channel:W}:{}})}catch(tl){throw M.current=null,tl}})},"send"),Dn=T(W=>{Oa(()=>l.verify(W))},"submitCode"),ju=T(W=>{W.preventDefault(),U?Dn(h):fe.length<=1&&mt&&Wt(fe[0])},"onSubmit"),Lu=`${Ll}-phone`,Ua=kr(l.codeExpiresAt,jl,pv),Oe=kr(l.resendAvailableAt,jl,gv),Ft=U&&l.codeExpiresAt!==void 0&&Ua===0,Cn=l.needsPhone&&!l.attemptsExhausted,$t=R&&(l.codeExpiresAt===void 0||Ua>0),kn=U&&Cn?()=>A(!0):g&&$t?()=>A(!1):null;Zc(kn===null?null:S?()=>{}:kn);let Sl=T(W=>f(W==="whatsapp"?"otp.channelWhatsapp":"otp.channelSms"),"label"),Hn=T(W=>S&&O!==null&&O===W,"busyFor"),[jc,il]=f("otp.sentTo",{channel:Sl(l.channel)}).split("{number}"),It=l.context.simulation?.otpCode,Zu=l.reason==="otp_mismatch"?(0,D.jsxs)(El,{tone:"danger",children:[(0,D.jsx)("span",{children:f("otp.reason_otp_mismatch")}),(0,D.jsx)("span",{children:wc(c,l.attemptsRemaining,l.attemptsExhausted)})]}):l.reason!==void 0&&Hr.has(l.reason)?(0,D.jsx)(El,{tone:"warning",children:(0,D.jsx)("span",{children:f(`otp.reason_${l.reason}`)})}):l.reason==="tester_phone_mismatch"?(0,D.jsx)(El,{tone:"warning",children:(0,D.jsx)("span",{children:f("reasons.tester_phone_mismatch")})}):null,Bn=(0,D.jsxs)(D.Fragment,{children:[Zu,r!==null?(0,D.jsx)(El,{tone:"danger",children:(0,D.jsx)("span",{children:f(r)})}):null]});if(U){let W=fe.length===0;return(0,D.jsxs)("form",{className:`sekyro-step sekyro-otp${a?` ${a}`:""}`,"aria-labelledby":Ll,onSubmit:ju,noValidate:!0,children:[(0,D.jsx)(Pt,{id:Ll,title:f("otp.verifyTitle"),lead:It!==void 0?(0,D.jsx)(ir,{template:f("sandbox.otpHint"),code:It}):(0,D.jsxs)(D.Fragment,{children:[jc,(0,D.jsx)("bdi",{dir:"ltr",className:"sekyro-mono",children:x?.shown??l.sentToMasked}),il]})}),Bn,(0,D.jsxs)("div",{className:"sekyro-field",children:[(0,D.jsx)("label",{className:"sekyro-label",htmlFor:`${Ll}-code`,children:f("otp.codeLabel")}),(0,D.jsx)(_r,{id:`${Ll}-code`,value:h,invalid:Jt,onChange:i(Dl=>{Dl!==""&&Vu(),m(Dl),Dl.length===6&&h.length!==6&&!S&&!l.attemptsExhausted&&Dn(Dl)},"onChange")}),(0,D.jsx)("span",{className:`sekyro-help sekyro-otp-expiry${Ft?" is-danger":""}`,"aria-hidden":!Ft||void 0,children:Ft?f("otp.expired"):f("otp.expiresIn",{time:bv(Ua)})})]}),(0,D.jsx)("span",{className:"sekyro-visually-hidden",role:"status","aria-live":"polite",children:Ft?f("otp.expired"):""}),(0,D.jsxs)(la,{children:[(0,D.jsx)(cl,{type:"submit",full:!0,disabled:S||h.length!==6||l.attemptsExhausted,"aria-busy":S||void 0,children:f("otp.verify")}),(0,D.jsxs)("div",{className:"sekyro-resend-row",children:[W?(0,D.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:S||Oe>0,onClick:i(()=>Wt(void 0,!0),"onClick"),children:Oe>0?f("otp.resendIn",{seconds:Oe}):f("otp.resend")}):Oe>0?(0,D.jsx)("p",{className:"sekyro-resend is-waiting",children:f("otp.resendIn",{seconds:Oe})}):fe.map(Dl=>(0,D.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:S,onClick:i(()=>Wt(Dl,!0),"onClick"),children:f("otp.resendBy",{channel:Sl(Dl)})},Dl)),Cn?(0,D.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:S,onClick:i(()=>A(!0),"onClick"),"data-testid":"sekyro-otp-change",children:f("otp.changeNumber")}):null]})]})]})}return(0,D.jsxs)("form",{className:`sekyro-step sekyro-otp${a?` ${a}`:""}`,"aria-labelledby":Ll,onSubmit:ju,noValidate:!0,children:[(0,D.jsx)(Pt,{id:Ll,title:f("otp.sendTitle"),lead:f("otp.sendDescription")}),Bn,l.needsPhone?(0,D.jsxs)("div",{className:"sekyro-field",children:[(0,D.jsx)("label",{className:"sekyro-label",htmlFor:Lu,children:f("otp.phoneLabel")}),(0,D.jsx)(Er,{field:p,id:Lu,locale:c.locale,t:f,inputRef:Qu,ready:mt})]}):(0,D.jsx)("p",{className:"sekyro-text-muted",children:f("otp.prefilledNotice")}),(0,D.jsxs)(la,{children:[fe.length===1?(0,D.jsx)(cl,{type:"submit",full:!0,disabled:S||!mt,"aria-busy":Hn(fe[0])||void 0,children:f("otp.sendBy",{channel:Sl(fe[0])})}):fe.length>1?(0,D.jsxs)("div",{className:"sekyro-actions__group",role:"group","aria-label":f("otp.chooseChannel"),children:[(0,D.jsx)("p",{className:"sekyro-label","aria-hidden":"true",children:f("otp.chooseChannel")}),(0,D.jsx)("div",{className:"sekyro-channel-row",children:fe.map(W=>(0,D.jsxs)(cl,{kind:"primary",disabled:S||!mt,"aria-busy":Hn(W)||void 0,onClick:i(()=>Wt(W),"onClick"),children:[(0,D.jsx)(ze,{name:W}),Sl(W)]},W))})]}):(0,D.jsx)(cl,{type:"submit",full:!0,disabled:S||!mt,"aria-busy":S||void 0,children:f("otp.send")}),(0,D.jsx)("span",{className:"sekyro-visually-hidden",role:"status","aria-live":"polite",children:S&&O!==null?f("otp.sending",{channel:Sl(O)}):""}),g&&$t?(0,D.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:S,onClick:i(()=>A(!1),"onClick"),"data-testid":"sekyro-otp-back-to-code",children:f("otp.backToCode")}):null]})]})}i(Xr,"ut");T(Xr,"PhoneOtpStep");var zv={load:T(()=>import("./email-otp-view-CL76K5TY-C7O472UB.js"),"load")};function jr({locale:l,strings:e,...t}){let a=Cl(l,e),[n,u]=(0,yt.useState)(0),c=(0,yt.useMemo)(()=>(0,yt.lazy)(()=>zv.load().then(o=>({default:o.EmailOtpView}))),[n]),f=(0,Qe.jsxs)(El,{tone:"danger",children:[(0,Qe.jsx)("span",{children:a.t("errors.network_error")}),(0,Qe.jsx)(cl,{kind:"secondary",onClick:i(()=>u(o=>o+1),"onClick"),children:a.t("common.retry")})]});return(0,Qe.jsx)(Da,{fallback:f,children:(0,Qe.jsx)(yt.Suspense,{fallback:(0,Qe.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:a.t("common.loading")}),children:(0,Qe.jsx)(c,{...t,i18n:a})})},n)}i(jr,"dt");T(jr,"EmailOtpStep");var Tv={load:T(()=>import("./eid-view-IQRZGEMP-LAMWORUL.js"),"load")};function Lr({locale:l,strings:e,...t}){let a=Cl(l,e),[n,u]=(0,vt.useState)(0),c=(0,vt.useMemo)(()=>(0,vt.lazy)(()=>Tv.load().then(o=>({default:o.EidView}))),[n]),f=(0,Xe.jsxs)(El,{tone:"danger",children:[(0,Xe.jsx)("span",{children:a.t("errors.network_error")}),(0,Xe.jsx)(cl,{kind:"secondary",onClick:i(()=>u(o=>o+1),"onClick"),children:a.t("common.retry")})]});return(0,Xe.jsx)(Da,{fallback:f,children:(0,Xe.jsx)(vt.Suspense,{fallback:(0,Xe.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:a.t("common.loading")}),children:(0,Xe.jsx)(c,{...t,i18n:a})})},n)}i(Lr,"pt");T(Lr,"EidStep");function Kr({step:l,locale:e,strings:t,className:a,onError:n}){let u=Cl(e,t),{busy:c,error:f,run:o}=vr(u,n),s=(0,Zr.useMemo)(()=>l.choice.options.flatMap(p=>{let h=yr(p,u),m=hr[p.service];return h===null?[]:[{id:p.id,label:h,glyph:m&&(0,Ca.jsx)(ze,{name:m})}]}),[l.choice.options,u]),v=l.choice.options.find(p=>p.service==="national_eid");return(0,Ca.jsxs)("div",{className:a,children:[(0,Ca.jsx)(sr,{title:u.t("method.heading"),description:u.t("method.description"),options:s,busy:c,error:f,focus:!0,testId:"sekyro-method",onChoose:i(p=>o(()=>l.choose(p)),"onChoose")}),v?.nationalEid?.afterPass==="continue"?(0,Ca.jsx)(kl,{view:"EidContinueHint",i18n:u,provider:v.nationalEid.providerName,quiet:!0}):null]})}i(Kr,"ft");T(Kr,"MethodChoice");var Ev=new Set(["nni_not_found","registry_record_not_found"]),Nv=new Set(["nni_invalid","id_number_invalid"]);function ff({step:l,locale:e,strings:t,className:a,onError:n}){let u=Cl(e,t),{t:c}=u,[f,o]=(0,ka.useState)(""),[s,v]=(0,ka.useState)(!1),[p,h]=(0,ka.useState)(null),m=(0,ka.useId)(),S=l.attemptsExhausted,E=T(async M=>{v(!0),h(null);try{await M()}catch(U){h(xn(U,u.strings)),n?.(U)}finally{v(!1)}},"run"),O=T(M=>{if(M.preventDefault(),l.source!=="typed"){E(()=>l.confirm());return}let U=Br(f);if(!/^\d{10}$/.test(U))return h("population.invalid");if(!Av(U))return h("population.reason_id_number_invalid");E(()=>typeof l.submitIdNumber=="function"?l.submitIdNumber(U):l.submitNni(U))},"onSubmit"),d=wc(u,l.attemptsRemaining,S),r=l.reason!==void 0&&Ev.has(l.reason),y=l.reason!==void 0&&Nv.has(l.reason),g=(0,P.jsxs)(P.Fragment,{children:[l.reason==="registry_unavailable"?(0,P.jsxs)(El,{tone:"warning",children:[(0,P.jsx)("span",{children:c("population.reason_registry_unavailable")}),(0,P.jsx)("span",{children:d})]}):null,r&&l.canUseDocument?(0,P.jsxs)(El,{tone:"warning",children:[(0,P.jsx)("span",{children:c("population.reason_registry_record_not_found_or_document")}),(0,P.jsx)("span",{children:d}),(0,P.jsx)(cl,{kind:"secondary",disabled:s,onClick:i(()=>{E(()=>l.useDocument())},"onClick"),children:c("population.useDocument")})]}):null,r&&!l.canUseDocument||y?(0,P.jsxs)(El,{tone:"danger",children:[(0,P.jsx)("span",{children:c(r?"population.reason_registry_record_not_found":"population.reason_id_number_invalid")}),(0,P.jsx)("span",{children:d})]}):null,S&&l.reason===void 0?(0,P.jsx)(El,{tone:"danger",children:(0,P.jsx)("span",{children:d})}):null,p!==null?(0,P.jsx)(El,{tone:"danger",children:(0,P.jsx)("span",{children:c(p)})}):null]}),[A,x,N]=l.source==="document"?["population.fromDocument.title","population.fromDocument.description","population.fromDocument.continue"]:l.source==="bound"?["session.steps.population.title","population.bound.description","population.bound.confirm"]:l.recheck?["population.recheck.title","population.recheck.description","population.submit"]:["session.steps.population.title","session.steps.population.description","population.submit"];return(0,P.jsxs)("form",{className:`sekyro-step${a?` ${a}`:""}`,"aria-labelledby":m,onSubmit:O,noValidate:!0,children:[(0,P.jsx)(Pt,{id:m,title:c(A),lead:c(x)}),g,l.source==="typed"?(0,P.jsxs)("div",{className:"sekyro-field",children:[(0,P.jsx)("label",{className:"sekyro-label",htmlFor:`${m}-id-number`,children:c("population.label")}),(0,P.jsx)("input",{id:`${m}-id-number`,className:"sekyro-input sekyro-input--number",dir:"ltr",inputMode:"numeric",autoComplete:"off",placeholder:c("population.placeholder"),value:f,"aria-describedby":`${m}-id-number-help`,"aria-invalid":p==="population.invalid"||p==="population.reason_id_number_invalid"||void 0,onChange:i(M=>{h(null),o(Br(M.target.value).replace(/\D/g,"").slice(0,10))},"onChange")}),(0,P.jsx)("span",{id:`${m}-id-number-help`,className:"sekyro-help",children:c("population.helper")})]}):null,(0,P.jsx)(la,{children:S?null:(0,P.jsx)(cl,{type:"submit",full:!0,disabled:s,"aria-busy":s||void 0,children:c(N)})})]})}i(ff,"Qe");T(ff,"IdNumberEntry");function _v(l){return ff(l)}i(_v,"Tn");T(_v,"NniEntry");var Dv=220;function Jr(l,e,t=[],a){let n=null;try{n=new Intl.DisplayNames([l],{type:"region"})}catch{}let u=e.map(o=>({code:o,name:n?.of(o)??o})),c=new Intl.Collator(l),f=T(o=>{if(o===a)return-1;let s=t.indexOf(o);return s<0?t.length:s},"rank");return u.sort((o,s)=>f(o.code)-f(s.code)||c.compare(o.name,s.name))}i(Jr,"Bn");T(Jr,"countryNames");function wr({step:l,i18n:e,issuer:t,onPicked:a,ageStepUp:n=!1}){let{t:u,locale:c}=e,f=(0,Le.useMemo)(()=>Uv(l.documents),[l.documents]),o=(0,Le.useMemo)(()=>Jr(c,f,Object.keys(l.documents.byIssuer??{}),l.detectedCountry),[c,f,l.documents,l.detectedCountry]),s=f.length===1?f[0]:null,[v,p]=(0,Le.useState)(t??s),[h,m]=(0,Le.useState)(null),S=s===null?[]:ef(l.documents,s),E=s!==null&&S.length===1?S[0]:null;(0,Le.useEffect)(()=>{s!==null&&E!==null&&l.selectDocument(s,E)},[s,E]);let O=T((y,g)=>{l.selectDocument(y,g),a?.()},"pick"),d=T(y=>{let g=ef(l.documents,y);g.length===1?O(y,g[0]):p(y)},"chooseIssuer");if((0,Le.useEffect)(()=>{if(h===null||v===null)return;let y=setTimeout(()=>O(v,h),Dv);return()=>clearTimeout(y)},[h]),Zc(v!==null&&f.length>1&&t===void 0?()=>{p(null),m(null)}:null),E!==null)return null;if(v===null)return(0,Nl.jsxs)("section",{className:"sekyro-step",children:[(0,Nl.jsx)(Pt,{title:u("doc.countryTitle"),lead:u(n?"doc.ageStepUp":"doc.pickDescription")}),(0,Nl.jsx)(Tr,{countries:o,label:u("doc.countryLabel"),searchPlaceholder:u("doc.countrySearch"),noMatch:u("doc.noCountryMatch"),onPick:d}),(0,Nl.jsx)(la,{children:null})]});let r=ef(l.documents,v);return(0,Nl.jsxs)("section",{className:"sekyro-step",children:[(0,Nl.jsx)(Pt,{title:u("doc.pickTitle"),lead:u(n&&s!==null?"doc.ageStepUp":"native.doc.holdIt")}),(0,Nl.jsx)("div",{className:"sekyro-choices",children:r.map(y=>(0,Nl.jsxs)("button",{type:"button",className:"sekyro-card","aria-pressed":h===y,disabled:h!==null&&h!==y,onClick:i(()=>m(y),"onClick"),children:[(0,Nl.jsx)("span",{className:"sekyro-card__tile",children:(0,Nl.jsx)(ze,{name:y==="passport"?"passport":"card"})}),(0,Nl.jsxs)("span",{className:"sekyro-card__body",children:[(0,Nl.jsx)("span",{className:"sekyro-card__title",children:u(`doc.type.${y}`)}),(0,Nl.jsx)("span",{className:"sekyro-card__sub",children:u(`doc.sub.${y}`)})]}),(0,Nl.jsx)("span",{className:"sekyro-radio","aria-hidden":"true"})]},y))}),f.length>1?(0,Nl.jsx)("button",{type:"button",className:"sekyro-link",onClick:i(()=>{p(null),m(null)},"onClick"),children:u("native.doc.changeCountry")}):null,(0,Nl.jsx)(la,{children:null})]})}i(wr,"vo");T(wr,"DocumentPicker");var Cv={load:T(()=>import("./document-capture-view-57N5YWTH-BFPOD3RA.js"),"load")};function Wr({step:l,locale:e,strings:t,className:a,liveMrz:n,barcodeAssetBaseUrl:u}){let c=Cl(e,t),[f,o]=(0,oe.useState)(0),[s,v]=(0,oe.useState)(null),p=Mv(l.documents),h=p.length>1,m=l.issuer!==null&&xr(l.documents,l.issuer).length>1,S=l.documentType===null||l.issuer===null||s!==null,E=p.length===1&&xr(l.documents,p[0]).length===1,[O]=(0,oe.useState)(()=>S&&!E),d=l.ageStepUp===!0,r=(0,oe.useMemo)(()=>(0,oe.lazy)(()=>Cv.load().then(g=>({default:g.DocumentCaptureView}))),[f]);(0,oe.useEffect)(()=>{Ov()},[]);let y=(0,Te.jsxs)(El,{tone:"danger",children:[(0,Te.jsx)("span",{children:c.t("errors.network_error")}),(0,Te.jsx)(cl,{kind:"secondary",onClick:i(()=>o(g=>g+1),"onClick"),children:c.t("doc.retryCamera")})]});return(0,Te.jsx)("div",{className:a,children:S?(0,Te.jsx)(wr,{step:l,i18n:c,ageStepUp:d&&s===null&&O,...s==="document"&&l.issuer!==null?{issuer:l.issuer}:{},onPicked:i(()=>v(null),"onPicked")}):(0,Te.jsx)(Da,{fallback:y,children:(0,Te.jsx)(oe.Suspense,{fallback:(0,Te.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:c.t("common.loading")}),children:(0,Te.jsx)(r,{step:l,i18n:c,ageLead:d&&!O,liveMrz:l.documentType==="drivers_license"?void 0:n,barcodeAssetBaseUrl:u,...h?{onChangeCountry:T(()=>v("country"),"onChangeCountry")}:{},...m?{onChangeDocument:T(()=>v("document"),"onChangeDocument")}:{}})})},f)})}i(Wr,"St");T(Wr,"DocumentCapture");var Hv={load:T(()=>import("./portrait-capture-view-ZF4YAMA6-XC2X56PD.js"),"load")},Bv={load:T(()=>import("./portrait-review-view-LOS5AYBI-RP6TNHLA.js"),"load")},Ha,Fr=(Ha=class extends _l.Component{constructor(){super(...arguments),this.state={failed:!1}}static getDerivedStateFromError(){return{failed:!0}}render(){return this.state.failed?this.props.fallback:this.props.children}},i(Ha,"bt"),Ha);T(Fr,"LoadBoundary");var qr=Fr;function $r({step:l,i18n:e}){let{t}=e,a=wu();return(0,K.jsxs)("section",{className:"sekyro-stack sekyro-stack--2","data-testid":"sekyro-portrait-match",children:[(0,K.jsx)("h2",{ref:a,tabIndex:-1,className:"sekyro-text-body",children:t(l.review?"portrait.reviewTitle":"session.steps.portrait.title")}),l.review?(0,K.jsx)("p",{className:"sekyro-text-muted",children:t("portrait.reviewDescription")}):null,l.uploadFailed?(0,K.jsxs)(El,{tone:"danger",children:[(0,K.jsx)("span",{children:t("portrait.uploadFailed")}),(0,K.jsx)(cl,{kind:"secondary",onClick:i(()=>{l.resubmit()},"onClick"),children:t("portrait.sendAgain")})]}):(0,K.jsx)("p",{role:"status","aria-live":"polite","aria-busy":"true",className:"sekyro-text-muted",children:t("portrait.matching")})]})}i($r,"Wn");T($r,"MatchPhase");function Ir({step:l,locale:e,strings:t,className:a,assetBaseUrl:n,verification:u}){let c=Cl(e,t),f=dr(u),o=(0,_l.useContext)(Jc),[s,v]=(0,_l.useState)(0),[p,h]=(0,_l.useState)(null),m=(0,_l.useMemo)(()=>(0,_l.lazy)(()=>Hv.load().then(N=>({default:N.PortraitCaptureView}))),[s]),S=(0,_l.useMemo)(()=>(0,_l.lazy)(()=>Bv.load().then(N=>({default:N.PortraitScreens}))),[s]),E=typeof l.uploadPortrait=="function",O=E?l.photo?.source??"camera":"camera",d=E&&O!=="camera"&&l.photo?.uploadOffered===!0,r=O!=="upload",y=O==="upload"?"upload":O==="choice"?p??l.photo?.pick??"source":"camera",g=l.phase==="capture"&&l.photo?.cameraOnPhone===!0;if((0,_l.useEffect)(()=>{l.phase==="capture"&&y==="camera"&&!g&&kv()},[l.phase,y,g]),l.phase==="match")return(0,K.jsx)("div",{className:a,children:(0,K.jsx)($r,{step:l,i18n:c})});let A=(0,K.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:c.t("common.loading")});if(o!==null&&(o.busy||o.failed!==null)&&l.phase==="capture"&&y==="camera")return(0,K.jsxs)("section",{className:`sekyro-step${a?` ${a}`:""}`,children:[(0,K.jsx)(Pt,{title:c.t("session.steps.portrait.title")}),(0,K.jsx)(la,{children:(0,K.jsx)(cl,{kind:"secondary",full:!0,disabled:o.busy,onClick:o.reset,children:c.t("portrait.retryCamera")})})]});if(l.phase==="review"||y!=="camera"||g)return(0,K.jsx)("div",{className:a,children:(0,K.jsx)(qr,{fallback:(0,K.jsx)(cl,{kind:"ghost",onClick:i(()=>v(N=>N+1),"onClick"),children:c.t("common.retry")}),children:(0,K.jsx)(_l.Suspense,{fallback:A,children:(0,K.jsx)(S,{screen:l.phase==="review"?"review":g&&y==="camera"?"phone":y==="camera"?"review":y,step:l,i18n:c,...r?{onCamera:T(()=>h("camera"),"onCamera")}:{},onUpload:i(()=>h("upload"),"onUpload"),onDeclined:i(()=>h(null),"onDeclined")})})},s)});if(!f.settled)return(0,K.jsx)("div",{className:a,children:A});let x=(0,K.jsxs)(El,{tone:"danger",children:[(0,K.jsx)("span",{children:c.t("errors.network_error")}),(0,K.jsx)(cl,{kind:"secondary",onClick:i(()=>v(N=>N+1),"onClick"),children:c.t("portrait.retryCamera")})]});return(0,K.jsx)("div",{className:a,children:(0,K.jsx)(qr,{fallback:x,children:(0,K.jsx)(_l.Suspense,{fallback:A,children:(0,K.jsx)(m,{step:l,i18n:c,...n!==void 0?{assetBaseUrl:n}:{},...d?{onUpload:T(()=>h("upload"),"onUpload")}:{}})})},s)})}i(Ir,"ht");T(Ir,"PortraitCapture");var xv={load:T(()=>import("./proof-of-address-view-X2EVWZBX-SIJUQ4SR.js"),"load")};function Pr({step:l,locale:e,strings:t,className:a}){let n=Cl(e,t),[u,c]=(0,pt.useState)(0),f=(0,pt.useMemo)(()=>(0,pt.lazy)(()=>xv.load().then(s=>({default:s.ProofOfAddressView}))),[u]),o=(0,De.jsxs)(El,{tone:"danger",children:[(0,De.jsx)("span",{children:n.t("errors.network_error")}),(0,De.jsx)(cl,{kind:"secondary",onClick:i(()=>c(s=>s+1),"onClick"),children:n.t("common.retry")})]});return(0,De.jsx)("div",{className:a,children:(0,De.jsx)(Da,{fallback:o,children:(0,De.jsx)(pt.Suspense,{fallback:(0,De.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:n.t("common.loading")}),children:(0,De.jsx)(f,{step:l,i18n:n})})},u)})}i(Pr,"vt");T(Pr,"ProofOfAddress");var qv={load:T(()=>import("./form-view-MEYCK437-356QICGF.js"),"load")};function ld({step:l,locale:e,strings:t,className:a,onError:n}){let u=Cl(e,t),[c,f]=(0,gt.useState)(0),o=(0,gt.useMemo)(()=>(0,gt.lazy)(()=>qv.load().then(v=>({default:v.FormView}))),[c]),s=(0,Ce.jsxs)(El,{tone:"danger",children:[(0,Ce.jsx)("span",{children:u.t("errors.network_error")}),(0,Ce.jsx)(cl,{kind:"secondary",onClick:i(()=>f(v=>v+1),"onClick"),children:u.t("common.retry")})]});return(0,Ce.jsx)("div",{className:a,children:(0,Ce.jsx)(Da,{fallback:s,children:(0,Ce.jsx)(gt.Suspense,{fallback:(0,Ce.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:u.t("common.loading")}),children:(0,Ce.jsx)(o,{step:l,i18n:u,...n!==void 0?{onError:n}:{}})})},c)})}i(ld,"Ct");T(ld,"FormStep");var Rr={light:{lineBrand:"#0d3b66",successSoft:"#d5f0e8",successFg:"#005341",onSuccess:"#ffffff",warningSoft:"#fff7e6",warningFg:"#735003",onWarning:"#191a1b",dangerSoft:"#ffdada",dangerFg:"#ca0f07",onDanger:"#ffffff",info:"#0563d4",infoSoft:"#d3e5ff",infoFg:"#064da5",onInfo:"#ffffff"},dark:{lineBrand:"#3f80bf",successSoft:"#002c23",successFg:"#53ffd4",onSuccess:"#030303",warningSoft:"#463102",warningFg:"#ffd98a",onWarning:"#030303",dangerSoft:"#9c1008",dangerFg:"#ffbbbb",onDanger:"#030303",info:"#5da9ff",infoSoft:"#063778",infoFg:"#acd0ff",onInfo:"#030303"},sizes:{buttonHeight:"52px",controlRadius:"10px",cardRadius:"16px",fieldRadius:"10px",iconTile:"56px",iconTileRadius:"16px",headerTile:"40px",choiceTile:"40px",tileRadius:"10px",resultDisc:"64px",resultRing:"8px",progressHeight:"4px",focusRing:"2px",focusRingOffset:"2px",otpBox:"60px",choiceMinHeight:"76px",stepGap:"32px",headingGap:"12px"},motion:{page:"320ms",easeOut:"cubic-bezier(0.16, 1, 0.3, 1)"}},of={light:{danger:{base:"#ca0f07",soft:"#ffdada",fg:"#ca0f07",on:"#ffffff"},success:{base:"#007a5e",soft:"#d5f0e8",fg:"#005341",on:"#ffffff"},warning:{base:"#ffab00",soft:"#fff7e6",fg:"#735003",on:"#191a1b"},info:{base:"#0563d4",soft:"#d3e5ff",fg:"#064da5",on:"#ffffff"}},dark:{danger:{base:"#ff7c7c",soft:"#9c1008",fg:"#ffbbbb",on:"#030303"},success:{base:"#00c897",soft:"#002c23",fg:"#53ffd4",on:"#030303"},warning:{base:"#ffbb2e",soft:"#463102",fg:"#ffd98a",on:"#030303"},info:{base:"#5da9ff",soft:"#063778",fg:"#acd0ff",on:"#030303"}}},Yv=["danger","success","warning","info"];function ti(l){let e=l/255;return e<=.03928?e/12.92:((e+.055)/1.055)**2.4}i(ti,"Nt");T(ti,"channel");function tf(l){let e=ti(parseInt(l.slice(1,3),16)),t=ti(parseInt(l.slice(3,5),16)),a=ti(parseInt(l.slice(5,7),16));return .2126*e+.7152*t+.0722*a}i(tf,"xo");T(tf,"luminance");function ed(l,e){let t=tf(l),a=tf(e),n=Math.max(t,a),u=Math.min(t,a);return(n+.05)/(u+.05)}i(ed,"lr");T(ed,"contrastRatio");function af(l,e){return Math.min(...Yv.map(t=>ed(of[l][t].fg,e)))}i(af,"Io");T(af,"worstAgainst");function nf(l,e,t){return Math.min(af(l,e),af(l,t))}i(nf,"To");T(nf,"worstStatusContrast");function td(l,e){return nf("light",l,e)>=nf("dark",l,e)?"light":"dark"}i(td,"Eo");T(td,"statusSchemeFor");function sf({open:l,title:e,closeLabel:t,onClose:a,children:n,actions:u,role:c,testId:f,returnFocus:o}){let s=(0,ht.useRef)(null),v=(0,ht.useRef)(null),p=(0,ht.useRef)(!1),h=(0,ht.useId)();return(0,ht.useEffect)(()=>{let m=s.current;if(m!==null){if(l&&!m.open?(v.current=typeof document>"u"?null:document.activeElement,typeof m.showModal=="function"?m.showModal():m.setAttribute("open","")):!l&&m.open&&(typeof m.close=="function"?m.close():m.removeAttribute("open")),!l&&p.current){let S=o?.current??(v.current instanceof HTMLElement?v.current:null);v.current=null,S?.focus()}p.current=l}},[l,o]),(0,ke.jsx)("dialog",{ref:s,className:"sekyro-dialog","aria-labelledby":h,...c==="alertdialog"?{role:c}:{},"data-testid":f,onCancel:i(m=>{m.preventDefault(),a()},"onCancel"),onClick:i(m=>{m.target===m.currentTarget&&a()},"onClick"),children:(0,ke.jsxs)("div",{className:"sekyro-dialog__panel",children:[(0,ke.jsxs)("div",{className:"sekyro-dialog__head",children:[(0,ke.jsx)("h2",{id:h,className:"sekyro-dialog__title",children:e}),t!==void 0?(0,ke.jsx)("button",{type:"button",className:"sekyro-disc sekyro-dialog__close","aria-label":t,onClick:a,children:(0,ke.jsx)(ze,{name:"close"})}):null]}),n!==void 0?(0,ke.jsx)("div",{className:"sekyro-dialog__body",children:n}):null,u!==void 0?(0,ke.jsx)("div",{className:"sekyro-dialog__actions",children:u}):null]})})}i(sf,"et");T(sf,"FlowDialog");var Gv=["intro","data","processing","sharing","retention"];function ad({i18n:l,purpose:e="identity"}){let{t}=l,[a,n]=(0,ni.useState)(!1),u=(0,ni.useRef)(null),[c,f=""]=t("consent.short").split("{terms}");return(0,je.jsxs)("div",{className:"sekyro-consent","data-testid":"sekyro-consent",children:[(0,je.jsxs)("p",{className:"sekyro-consent__line",children:[c,(0,je.jsx)("button",{ref:u,type:"button",className:"sekyro-link sekyro-link--inline","aria-haspopup":"dialog",onClick:i(()=>n(!0),"onClick"),children:t("consent.termsLink")}),f]}),(0,je.jsx)(sf,{open:a,title:t("consent.termsTitle"),closeLabel:t("native.close"),onClose:i(()=>n(!1),"onClose"),returnFocus:u,testId:"sekyro-consent-terms",children:(0,je.jsx)("div",{className:"sekyro-stack sekyro-stack--3",children:e==="human"?(0,je.jsx)(kl,{view:"HumanConsentTerms",i18n:l,quiet:!0}):Gv.map(o=>(0,je.jsx)("p",{children:t(`consent.terms.${o}`)},o))})})]})}i(ad,"Bo");T(ad,"ConsentNotice");function nd(l){let e=l.trim().split(/\s+/).filter(t=>t!=="");return(e.length>=2?[e[0],e[1]].map(t=>Array.from(t??"")[0]??""):Array.from(e[0]??"").slice(0,2)).join("").toUpperCase()}i(nd,"Lo");T(nd,"initials");var id=T(l=>({colors:{...l?Hl.dark:Hl.light},radius:Hl.radius,fontFamily:Hl.font}),"brandTheme"),eb=id(!1),Yr=/^#[0-9a-f]{6}$/i;function rf(l,e,t){if(e)return null;let a=Pu(l).colors,n=t?.colors?.bg??a?.bg,u=t?.colors?.surface??a?.surface;return n===void 0&&u===void 0||n!==void 0&&!Yr.test(n)||u!==void 0&&!Yr.test(u)?null:td(n??Hl.light.bg,u??Hl.light.surface)}i(rf,"Pt");T(rf,"partnerStatusScheme");function df(l,e,t){let a=Pu(l);if(t&&a.colors!==void 0){let{brand:n,brandFg:u}=a.colors;n!==void 0&&od(n,Hl.dark.bg)>=3?a.colors={brand:n,ring:n,...u!==void 0?{brandFg:u}:{}}:delete a.colors}if(rf(l,t,e)==="dark"){let n=of.dark;a.colors={...a.colors,danger:n.danger.base,success:n.success.base,warning:n.warning.fg}}return li(id(t),a,Iu(e))}i(df,"tt");T(df,"verificationTheme");function mf(l){let e=(0,ud.useSyncExternalStore)(fd,Qv,()=>!1);return l==="dark"||l==="system"&&e}i(mf,"ot");T(mf,"useDarkScheme");var Vv="(prefers-color-scheme: dark)",cd=T(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia(Vv):null,"media"),Qv=T(()=>cd()?.matches??!1,"prefersDark");function fd(l){let e=cd();return e?.addEventListener("change",l),()=>e?.removeEventListener("change",l)}i(fd,"kr");T(fd,"subscribe");function od(l,e){let[t,a]=[uf(l),uf(e)];return(Math.max(t,a)+.05)/(Math.min(t,a)+.05)}i(od,"Sr");T(od,"contrast");function uf(l){let e=[1,3,5].map(t=>{let a=Number.parseInt(l.slice(t,t+2),16)/255;return a<=.03928?a/12.92:((a+.055)/1.055)**2.4});return .2126*(e[0]??0)+.7152*(e[1]??0)+.0722*(e[2]??0)}i(uf,"Vo");T(uf,"luminance");var hf="sekyro.testerGate";function ui(){try{return typeof localStorage>"u"?null:localStorage}catch{return null}}i(ui,"It");T(ui,"store");function sd(l=Date.now()){try{ui()?.setItem(hf,String(l))}catch{}}i(sd,"Mo");T(sd,"rememberTester");function rd(l=Date.now()){try{let e=Number(ui()?.getItem(hf)??"");return Number.isFinite(e)&&e>0&&l-e<2592e6}catch{return!1}}i(rd,"Ho");T(rd,"rememberedTester");function dd(){try{ui()?.removeItem(hf)}catch{}}i(dd,"Uo");T(dd,"forgetTester");var Gr=new Set(["document_id_number_mismatch","name_mismatch","birth_date_mismatch"]),Xv={review:{icon:"pending",tone:"info"},cooldown:{icon:"timer",tone:"info"},rejected:{icon:"close",tone:"neutral"},policy:{icon:"close",tone:"neutral"},inconclusive:{icon:"warning",tone:"neutral"},unavailable:{icon:"timer",tone:"neutral"},expired:{icon:"timer",tone:"neutral"}};function md({screen:l}){if(l==="verified")return(0,F.jsxs)("svg",{className:"sekyro-outcome sekyro-outcome--approved",viewBox:"0 0 136 136","aria-hidden":"true",focusable:"false",children:[(0,F.jsx)("circle",{className:"sekyro-outcome__ring",cx:"68",cy:"68",r:"54",pathLength:"1"}),(0,F.jsx)("circle",{className:"sekyro-outcome__disc",cx:"68",cy:"68",r:"48"}),(0,F.jsx)("path",{className:"sekyro-outcome__glyph",d:"M6.5 12.5l3.6 3.6 7.4-8.2",pathLength:"1",transform:"translate(39 39) scale(2.4167)"})]});let{icon:e,tone:t}=Xv[l];return(0,F.jsx)("span",{className:`sekyro-tile sekyro-tile--${t} sekyro-outcome-tile`,"aria-hidden":"true","data-screen":l,children:(0,F.jsx)(ze,{name:e})})}i(md,"wr");T(md,"OutcomeMark");function hd({label:l,id:e,copied:t}){let[a,n]=(0,Ba.useState)(!1);return(0,Ba.useEffect)(()=>{if(!a)return;let u=setTimeout(()=>n(!1),1600);return()=>clearTimeout(u)},[a]),(0,F.jsxs)("button",{type:"button",className:`sekyro-reference${a?" is-copied":""}`,onClick:i(()=>{navigator.clipboard?.writeText(e).then(()=>n(!0),()=>{})},"onClick"),children:[(0,F.jsx)("span",{"aria-live":"polite",children:a?t:l}),(0,F.jsx)("bdi",{dir:"ltr",children:e}),(0,F.jsx)(ze,{name:"copy"})]})}i(hd,"Nr");T(hd,"ReferenceLine");function yd({step:l,t:e}){let t=l.context.sandbox?l.context.simulation?.reason:void 0;return t===void 0?null:(0,F.jsxs)(Wu,{tone:"warning",role:"status",testId:"sekyro-simulated-notice",children:[(0,F.jsx)("span",{className:"sekyro-notice__icon","aria-hidden":"true",children:(0,F.jsx)(ze,{name:"info"})}),(0,F.jsxs)("div",{className:"sekyro-notice__body","data-reason":t,children:[(0,F.jsx)("strong",{children:e("sandbox.simulatedTitle")}),(0,F.jsx)("span",{children:e(t==="no_testers"?"sandbox.simulatedNoTesters":"sandbox.simulatedGate")})]})]})}i(yd,"_r");T(yd,"SimulationNotice");function vd(l,e){return l==="expired"?"native.result.expiredTitle":l!=="verified"?`session.result.${l}.title`:e.level===3?"session.result.verified.title":e.level===1&&e.assurance==="contact_phone"?"session.result.verified.titlePhone":e.level===1&&e.assurance==="contact_email"?"session.result.verified.titleEmail":e.level===1?"session.result.verified.titleContact":"session.result.verified.titleHuman"}i(vd,"Pr");T(vd,"resultTitleKey");function pd({step:l,locale:e,strings:t,className:a,onClose:n}){let u=Cl(e,t),{t:c}=u,f=(0,Ba.useId)(),o=wu(),s=l.context.orgName,v=l.reasonCode??"",p=l.display==="platform_unsupported"?"policy":l.display,h=T(S=>(s!==""||S==="verified")&&S!=="cooldown"?c(`native.result.${S}`,{org:s}):c(`session.result.${S}.description`),"partnerLine"),m;switch(l.display){case"rejected":v==="identity_not_verified"?m=s!==""?c("reasons.identity_not_verified",{org:s}):c("session.result.identityNotVerified"):m=Gr.has(Lc(v))?c("session.result.detailsMismatch",{org:s}):h("rejected");break;case"policy":{if(Gr.has(Lc(v)))m=c("session.result.detailsMismatch",{org:s});else if(v==="device_velocity_exceeded")m=c("session.result.deviceVelocity",{org:s});else if(v==="capture_tampered")m=c("session.result.deviceStop");else if(v==="camera_unavailable")m=c("reasons.camera_unavailable",{org:s});else if(v==="underage_estimated")m=c("reasons.underage_estimated");else if(v==="starter_credit_claimed")m=c("reasons.starter_credit_claimed");else if(v==="blocked_by_org")m=c("reasons.blocked_by_org");else{let S=v===""?null:Ps(v);m=S!==null?c(S,{org:s}):h("policy")}break}case"cooldown":{let S=lr(u.locale,l.retryAfter);m=S!==null?c(S.key,{time:S.time}):c("session.result.cooldown.description");break}case"platform_unsupported":m=c("result.platform_unsupported");break;default:m=h(p)}return(0,F.jsxs)("section",{className:`sekyro-result${a?` ${a}`:""}`,"aria-labelledby":f,"data-testid":"sekyro-result",children:[(0,F.jsxs)("div",{className:"sekyro-result__body",children:[(0,F.jsx)(md,{screen:p}),(0,F.jsxs)("div",{className:"sekyro-heading",children:[(0,F.jsx)("h2",{id:f,ref:o,tabIndex:-1,className:"sekyro-text-body",children:c(vd(p,l.result))}),(0,F.jsx)("p",{className:"sekyro-text-muted",children:m})]}),(0,F.jsx)(yd,{step:l,t:c}),(0,F.jsx)(hd,{label:c("result.referenceLabel"),id:l.context.sessionId,copied:c("native.result.copied")})]}),n!==void 0?(0,F.jsx)("div",{className:"sekyro-actions",children:(0,F.jsx)(cl,{full:!0,onClick:n,children:c("native.result.continue",{org:s})})}):null]})}i(pd,"Tt");T(pd,"VerificationResultScreen");function gd(l,e,t){let a=e?Hl.dark:Hl.light,n=e?Hl.roles.dark:Hl.roles.light,u=l.colors??{},c={},f=u.fg===a.fg&&u.surface===a.surface;u.brand===a.brand&&u.surface===a.surface&&(c["--sekyro-color-brand-soft"]=n.brandSoft),f&&(c["--sekyro-color-line"]=n.line,c["--sekyro-color-line-subtle"]=n.lineSubtle,c["--sekyro-color-line-strong"]=n.lineStrong,c["--sekyro-color-sunken"]=n.sunken),u.fgMuted===a.fgMuted&&u.surface===a.surface&&(c["--sekyro-color-fg-subtle"]=n.fgSubtle),l.fontFamily===Hl.font&&(c["--sekyro-font-display"]=Hl.fontDisplay);let o=e?Rr.dark:Rr.light;if(c["--sekyro-color-success-soft"]=o.successSoft,c["--sekyro-color-success-fg"]=o.successFg,c["--sekyro-color-on-success"]=o.onSuccess,c["--sekyro-color-warning-soft"]=o.warningSoft,c["--sekyro-color-warning-fg"]=o.warningFg,c["--sekyro-color-danger-soft"]=o.dangerSoft,c["--sekyro-color-danger-fg"]=o.dangerFg,c["--sekyro-color-on-danger"]=o.onDanger,c["--sekyro-color-info-soft"]=o.infoSoft,c["--sekyro-color-info-fg"]=o.infoFg,u.brand===a.brand&&(c["--sekyro-color-line-brand"]=o.lineBrand),t!==null){let s=of[t];for(let v of["danger","success","warning","info"])c[`--sekyro-color-${v}-soft`]=s[v].soft,c[`--sekyro-color-${v}-fg`]=s[v].fg;c["--sekyro-color-on-success"]=s.success.on,c["--sekyro-color-on-danger"]=s.danger.on}return c}i(gd,"Er");T(gd,"flowRoles");function ii(l){let{verification:e,locale:t,strings:a,onStep:n,onResult:u}=l,{step:c,error:f}=Vr(e);(0,C.useEffect)(()=>{c!==null&&n?.(c)},[c,n]),(0,C.useEffect)(()=>u===void 0?void 0:e.on("result",u),[e,u]);let o=mf(l.colorScheme??"light"),s=c?.context.branding,v=df(s,l.theme,o),[p,h]=(0,C.useState)(!1),m=`sekyro-verification${o?" sekyro-verification--dark":""}${p?" is-immersive":""}${l.className!==void 0?` ${l.className}`:""}`,S=(0,C.useRef)(l.onClose);S.current=l.onClose;let E=(0,C.useRef)(c);E.current=c;let O=(0,C.useCallback)(()=>{let A=E.current;S.current?.(A?.kind==="result"?{reason:"finished",result:A.result}:{reason:"cancelled"})},[]),[d,r]=(0,C.useState)(null),y=(0,C.useCallback)(()=>{let A=E.current;A!==null&&A.kind!=="result"&&A.context.consentRecorded?r("close"):O()},[O]),g=(0,C.useMemo)(()=>e.reportCaptureIssue===void 0?null:A=>e.reportCaptureIssue?.(A),[e]);return(0,z.jsx)(ei,{theme:v,className:m,children:(0,z.jsx)(Fc,{locale:t,...a!==void 0?{strings:a}:{},children:(0,z.jsx)("div",{dir:l.dir??(t==="ar"?"rtl":"ltr"),lang:t,className:"sekyro-flow",style:gd(v,o,rf(s,o,l.theme)),children:(0,z.jsx)(nr.Provider,{value:h,children:(0,z.jsx)(Kc.Provider,{value:l.onClose!==void 0?O:void 0,children:(0,z.jsx)(Fu.Provider,{value:l.onClose!==void 0?y:void 0,children:(0,z.jsxs)(or.Provider,{value:g,children:[(0,z.jsx)(Nd,{...l,step:c,error:f,immersive:p,onLeaveAsk:i(()=>r("history"),"onLeaveAsk"),onClosed:O}),(0,z.jsx)(Td,{open:d!==null,onStay:i(()=>{d==="history"&&ai(),r(null)},"onStay"),onLeave:i(()=>{let A=d;r(null),A==="close"||l.onClose!==void 0?O():typeof window<"u"&&vf()},"onLeave")})]})})})})})})})}i(ii,"Ot");T(ii,"SekyroVerification");function bd(l,e){if(e===void 0||e==="aml_screening")return null;let t=l,a=t[`session.processing.${e}.title`],n=t[`session.processing.${e}.description`];return typeof a=="string"&&a!==""&&typeof n=="string"&&n!==""?{title:a,description:n}:null}i(bd,"Rr");T(bd,"processingCopyOf");function Sd({error:l,retry:e}){let{t}=Cl(),a=wu();return(0,z.jsxs)(Wu,{tone:"danger",testId:"sekyro-error-notice",children:[(0,z.jsx)("span",{children:t(Is(l))}),l.retryable?(0,z.jsx)(cl,{ref:a,kind:"secondary",className:"sekyro-btn--start",onClick:e,children:t("common.retry")}):null]})}i(Sd,"Or");T(Sd,"CameraErrorNotice");var zd="sekyroFlow";function yf(){let l=window.history.state;return typeof l=="object"&&l!==null&&l[zd]===!0}i(yf,"Go");T(yf,"onGuard");function ai(){if(typeof window>"u"||yf())return;let l=window.history.state;window.history.pushState({...typeof l=="object"&&l!==null?l:{},[zd]:!0},"")}i(ai,"Et");T(ai,"pushGuard");function vf(){window.history.back()}i(vf,"qo");T(vf,"leaveHistory");function Td({open:l,onStay:e,onLeave:t}){let{t:a}=Cl();return(0,z.jsx)(sf,{open:l,role:"alertdialog",title:a("leave.title"),onClose:e,testId:"sekyro-leave",actions:(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(cl,{full:!0,onClick:e,children:a("leave.stay")}),(0,z.jsx)(cl,{full:!0,kind:"danger",onClick:t,children:a("leave.confirm")})]}),children:(0,z.jsx)("p",{className:"sekyro-text-muted",children:a("leave.body")})})}i(Td,"Br");T(Td,"LeaveDialog");function Ad(l,e){let[t,a]=(0,C.useState)(!1),[n,u]=(0,C.useState)(null),c=l===null?void 0:l.skipCapture,f=(0,C.useRef)(c);f.current=c;let o=(0,C.useRef)(!1),s=l?.key;(0,C.useEffect)(()=>u(null),[s]);let v=(0,C.useCallback)(()=>{if(o.current)return;let S=f.current;S!==void 0&&(o.current=!0,a(!0),u(null),S().catch(E=>u(e.t(xn(E,e.strings)))).finally(()=>{o.current=!1,a(!1)}))},[e]),p=(0,C.useCallback)(()=>u(null),[]),h=c!==void 0,m=e.t("sandbox.skipCapture");return(0,C.useMemo)(()=>h?{label:m,busy:t,failed:n,run:v,reset:p}:null,[h,m,t,n,v,p])}i(Ad,"Lr");T(Ad,"useSkipCapture");function Ed({skip:l}){return(0,z.jsxs)(z.Fragment,{children:[l.failed!==null?(0,z.jsx)(El,{tone:"danger",children:(0,z.jsx)("span",{children:l.failed})}):null,(0,z.jsx)(cl,{kind:"ghost",full:!0,disabled:l.busy,"aria-busy":l.busy||void 0,onClick:l.run,"data-testid":"sekyro-skip-capture",children:l.label})]})}i(Ed,"Ar");T(Ed,"SkipAction");function Nd(l){let{step:e,error:t,slots:a,immersive:n}=l,u=Cl(),{t:c}=u,[f,o]=(0,C.useState)(!1),[s,v]=(0,C.useState)([]),p=(0,C.useCallback)(_=>(v(tl=>[...tl,_]),()=>v(tl=>tl.filter(Ue=>Ue!==_))),[]),[h,m]=(0,C.useState)(null),S=(0,C.useCallback)(_=>m(()=>_),[]),[E,O]=(0,C.useState)(0),[d,r]=(0,C.useState)(null),y=Ad(e,u),g=e?.context.testerGate!==void 0,[A,x]=(0,C.useState)(!1),N=(0,C.useRef)(null);(0,C.useEffect)(()=>{!g||N.current!==null||(N.current=rd(),N.current&&x(!0))},[g]);let M=e?.context.purpose??"identity",U=e?.context.returning===!0,R=l.verification,jl=M==="human"||e?.context.cameraUnavailableHandled===!0,Jt=R.reportCameraUnavailable!==void 0&&jl?_=>R.reportCameraUnavailable?.(_)??Promise.resolve():void 0,Vu=e?.kind==="liveness"&&e.mode==="liveness"&&e.reason===void 0&&!e.attemptsExhausted,Ll=l.handoffUrl,Qu=(0,C.useRef)({last:null,count:0}),wt=(0,C.useCallback)((_,tl,Ue=!1)=>Jt===void 0&&tl!=="denied"?void 0:(0,z.jsx)(kl,{view:"NoCameraView",i18n:u,quiet:!0,cause:tl,onRetry:_,repeated:Ue,...Vu&&Jt!==void 0?{onContinue:Jt}:{},...Ll!==void 0?{handoffUrl:Ll}:{}}),[u,R,jl,Vu,Ll]),Oa=(0,C.useMemo)(()=>pr(e),[e]),fe=(0,C.useCallback)((_,tl)=>(0,z.jsx)(gr,{start:_,context:tl,human:M==="human",returning:U,notice:tl.permissionSettled&&tl.permission==="denied"?wt(_,"denied"):void 0,...Oa!==void 0?{retry:Oa}:{}}),[M,U,wt,Oa]),Xu=(0,C.useCallback)((_,tl)=>{let Ue=Rv(_.kind),Ku=Qu.current;_.kind==="permission"&&_!==Ku.last&&(Ku.last=_,Ku.count+=1);let sv=_.kind==="permission"&&Ku.count>1;return(Ue!==void 0?wt(tl,Ue,sv):void 0)??(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(Sd,{error:_,retry:tl}),Ue!==void 0&&Ll!==void 0?(0,z.jsx)(kl,{view:"DesktopHandoffView",i18n:u,quiet:!0,url:Ll}):null]})},[wt,Ll,u]),mt=(0,C.useRef)(""),Wt=l.livenessProps?.slots?.stageOverlay,Dn=(0,C.useCallback)(_=>(_.guidance!==""&&!_.coached&&(mt.current=_.guidance),(0,z.jsx)(fr,{testId:"sekyro-capture-stage",video:(0,z.jsx)("video",{ref:_.videoRef,playsInline:!0,muted:!0,className:"sekyro-lm-video sekyro-fc-video","aria-hidden":"true","data-testid":"sekyro-capture-video"}),instruction:_.settled?c("capture.checkingTitle"):_.guidance!==""?_.guidance:mt.current,note:_.note,status:_.status,busy:_.settled,progress:_.phase==="seeking"||_.phase==="aligning"?_.progress:1,still:_.still,live:_.live,closeLabel:c("native.close"),overlay:Wt?.(_.videoRef),ramp:_.ramp?.colour??null,..._.settled?{}:{onClose:T(()=>O(tl=>tl+1),"onClose")},end:_.modeSwitch!=null?(0,z.jsx)(er,{view:_.modeSwitch,className:"sekyro-glass sekyro-glass--label"}):null,children:_.settled||!_.live?null:(0,z.jsx)(ur,{onStop:i(()=>O(tl=>tl+1),"onStop")})})),[c,Wt]),ju=(0,C.useId)(),Lu=e,Ua=e!==null&&d===e.key&&e.context.switchable!==void 0,Oe=h??(e===null||e.kind==="result"?null:Ua?()=>r(null):e.context.switchable!==void 0&&typeof Lu?.chooseOption=="function"?()=>r(e.key):null),Ft=(0,C.useRef)(Oe);Ft.current=Oe;let Cn=(0,C.useRef)(e);Cn.current=e;let $t=(0,C.useRef)({ask:l.onLeaveAsk,closed:l.onClosed,hostClose:l.onClose!==void 0});$t.current={ask:l.onLeaveAsk,closed:l.onClosed,hostClose:l.onClose!==void 0};let kn=l.backNavigation==="history";if((0,C.useEffect)(()=>{if(!kn||typeof window>"u")return;ai();let _=T(()=>{if(yf())return;let tl=Cn.current,Ue=Ft.current;Ue!==null?(Ue(),ai()):tl?.kind!=="result"&&tl?.context.consentRecorded===!0?$t.current.ask():$t.current.hostClose?$t.current.closed():vf()},"onPop");return window.addEventListener("popstate",_),()=>window.removeEventListener("popstate",_)},[kn]),t!==null)return(0,z.jsx)(Wu,{tone:"danger",children:(0,z.jsx)("span",{children:c(xn(t,u.strings))})});if(e===null)return(0,z.jsxs)("div",{className:"sekyro-skeleton",role:"status","aria-busy":"true",children:[(0,z.jsx)("span",{className:"sekyro-visually-hidden",children:c("common.loading")}),(0,z.jsx)("span",{className:"sekyro-skeleton__bar is-title"}),(0,z.jsx)("span",{className:"sekyro-skeleton__bar"}),(0,z.jsx)("span",{className:"sekyro-skeleton__bar is-short"}),(0,z.jsx)("span",{className:"sekyro-skeleton__bar is-block"})]});let{context:Sl}=e,Hn=T(_=>{o(!0),_().finally(()=>o(!1))},"refresh"),jc=a?.header??(0,z.jsx)(Md,{context:Sl,headerId:ju,end:a?.headerEnd,...Oe!==null?{onBack:Oe}:{}}),il,It=Ua;if(A&&l.verification.testerGate!==void 0)il=(0,z.jsx)(Wc.Provider,{value:Dn,children:(0,z.jsx)(kl,{view:"TesterGateView",i18n:u,verification:l.verification,attemptsLeft:Sl.testerGate?.attemptsLeft??0,livenessProps:{...l.livenessProps??{},slots:{...l.livenessProps?.slots,intro:l.livenessProps?.slots?.intro??fe},locale:l.locale,dir:l.dir,strings:u.strings,assetBaseUrl:l.assetBaseUrl,voice:l.voice},onBound:i(()=>sd(),"onBound"),onDone:i(_=>{_&&dd(),x(!1)},"onDone")})});else if(It)il=(0,z.jsx)(kl,{view:"LaneChoiceView",i18n:u,step:e,onClose:i(()=>r(null),"onClose")});else switch(e.kind){case"phone_otp":il=(0,z.jsx)(Xr,{step:e});break;case"email_otp":il=(0,z.jsx)(jr,{step:e});break;case"method":il=(0,z.jsx)(Kr,{step:e});break;case"registry":il=(0,z.jsx)(ff,{step:e});break;case"document":il=(0,z.jsx)(Wr,{step:e,...l.documentLiveMrz!==void 0?{liveMrz:l.documentLiveMrz}:{},...l.documentBarcodeAssetBaseUrl!==void 0?{barcodeAssetBaseUrl:l.documentBarcodeAssetBaseUrl}:{}});break;case"liveness":{let _=l.livenessProps?.slots?.intro,tl={...l.livenessProps??{},slots:{...l.livenessProps?.slots,intro:_??fe,..._===void 0&&l.livenessProps?.slots?.errorPanel===void 0?{errorPanel:Xu}:{}},...E>0?{autoStart:!1}:{},verification:l.verification,locale:l.locale,dir:l.dir,strings:u.strings,assetBaseUrl:l.assetBaseUrl,voice:l.voice,onCaptured:l.onLivenessCaptured};il=(0,z.jsx)(Wc.Provider,{value:Dn,children:e.instructions==="icao"||e.livePhoto?.icao===!0?(0,z.jsx)(kl,{view:"LivePhotoLiveness",i18n:u,step:e,livenessProps:tl,sekyroIntro:_===void 0},E):(0,z.jsx)(mr,{...tl},E)});break}case"portrait":il=(0,z.jsxs)(z.Fragment,{children:[e.retakeOnly?(0,z.jsx)(kl,{view:"PortraitRetakeNotice",i18n:u,quiet:!0}):null,(0,z.jsx)(Ir,{step:e,verification:l.verification,...l.assetBaseUrl!==void 0?{assetBaseUrl:l.assetBaseUrl}:{}})]});break;case"proof_of_address":il=(0,z.jsx)(Pr,{step:e});break;case"form":il=(0,z.jsx)(ld,{step:e});break;case"contact_choice":il=(0,z.jsx)(kl,{view:"ContactChoiceView",i18n:u,step:e});break;case"choice":il=(0,z.jsx)(kl,{view:"GenericChoiceView",i18n:u,step:e});break;case"identity_summary":il=(0,z.jsx)(kl,{view:"IdentitySummaryView",i18n:u,step:e});break;case"mobile_required":{let _=e.checkType==="doc_ocr"?c("handoff.lead.document"):e.checkType==="portrait_icao"?c("handoff.lead.portrait"):e.checkType==="poa"?c("handoff.lead.poa"):void 0;il=l.handoffUrl!==void 0?(0,z.jsx)(kl,{view:"HandoffView",i18n:u,url:l.handoffUrl,refresh:e.refresh,..._!==void 0?{lead:_}:{}}):(0,z.jsx)($u,{tone:"brand",icon:"smartphone",title:c("handoff.title"),actions:(0,z.jsx)(cl,{kind:"secondary",full:!0,disabled:f,onClick:i(()=>Hn(e.refresh),"onClick"),children:c("common.refresh")}),children:(0,z.jsx)("p",{children:_??c("reasons.mobile_required")})});break}case"native_app_required":il=(0,z.jsx)(kl,{view:"NativeAppView",i18n:u,org:Sl.orgName,nativeApp:e.nativeApp,...l.handoffUrl!==void 0?{fallbackUrl:l.handoffUrl}:{},refresh:e.refresh,footer:(0,z.jsx)(cf,{org:Sl.orgName})});break;case"processing":{let _=bd(u.strings,e.service);il=(0,z.jsx)($u,{tone:"brand",icon:"pending",busy:!e.stalled,live:!0,title:_?.title??c("session.processing.title"),actions:e.stalled?(0,z.jsx)(cl,{kind:"secondary",full:!0,disabled:f,onClick:i(()=>Hn(e.refresh),"onClick"),children:c("common.refresh")}):null,children:(0,z.jsx)("p",{children:_?.description??c("session.processing.description")})});break}case"eid":il=(0,z.jsx)(Lr,{step:e});break;case"unsupported":{let _=e.reason==="platform_unsupported";il=(0,z.jsx)($u,{tone:"neutral",icon:"smartphone",title:c(_?"needsApp.title":"unsupported.title"),actions:(0,z.jsx)(cf,{org:Sl.orgName}),children:(0,z.jsx)("p",{children:_?Sl.orgName!==""?c("needsApp.description",{org:Sl.orgName}):c("needsApp.descriptionNoOrg"):c("unsupported.description",{org:Sl.orgName})})});break}case"result":il=a?.result?.(e)??(0,z.jsx)(_d,{step:e});break;default:{let _=e;il=null}}let Zu=!n&&!Sl.consentRecorded&&e.kind!=="result"?(0,z.jsx)(ad,{i18n:u,purpose:Sl.purpose}):null,Bn=y!==null&&!n&&!It&&!A?(0,z.jsx)(Ed,{skip:y}):null,W=g&&!A&&!n&&!It&&l.verification.testerGate!==void 0?(0,z.jsx)(kl,{view:"TesterGateAction",i18n:u,quiet:!0,onOpen:i(()=>x(!0),"onOpen")}):null,Dl=Bn===null&&W===null?Zu:(0,z.jsxs)(z.Fragment,{children:[W,Bn,Zu]});return(0,z.jsx)(ar.Provider,{value:S,children:(0,z.jsx)(Jc.Provider,{value:y,children:(0,z.jsx)(Sr.Provider,{value:l.handoffUrl,children:(0,z.jsxs)(tr.Provider,{value:Dl===null?null:{node:Dl,owner:s[0]??null,claim:p},children:[n?null:jc,!n&&e.kind!=="result"&&Sl.sections.length>1?(0,z.jsx)(Od,{context:Sl,current:e.section,i18n:u}):null,(0,z.jsx)(cr,{pageKey:e.key,children:il}),!n&&!It&&e.kind!=="result"&&e.context.switchable!==void 0?(0,z.jsx)(kl,{view:"LaneSwitch",i18n:u,step:e,onOpen:i(()=>r(e.key),"onOpen"),quiet:!0},e.key):null,s.length===0?Dl:null,n?null:a?.footer!==void 0?a.footer:Sl.branding?.hideAttribution===!0?null:(0,z.jsxs)("a",{className:"sekyro-footer",href:"https://sekyro.ai",target:"_blank",rel:"noopener noreferrer",children:[(0,z.jsx)(ze,{name:"lock"}),c("shell.verifiedBy")]})]})})})})}i(Nd,"Vr");T(Nd,"Body");function cf({org:l}){let{t:e}=Cl(),t=(0,C.useContext)(Kc);return t===void 0?null:(0,z.jsx)(cl,{full:!0,onClick:t,children:e("native.result.continue",{org:l})})}i(cf,"Ko");T(cf,"BackToOrg");function _d({step:l}){return(0,z.jsx)(Fu.Consumer,{children:i(e=>(0,z.jsx)(pd,{step:l,...e!==void 0?{onClose:e}:{}}),"children")})}i(_d,"Fr");T(_d,"ResultPage");function Md({context:l,headerId:e,end:t,onBack:a}){let{t:n}=Cl(),[u,c]=(0,C.useState)(!1),f=u?void 0:l.branding?.logoUrl,o=l.orgName!==""?l.orgName:n(l.returning?"returning.heading":"session.title");return(0,z.jsx)("header",{className:"sekyro-stack sekyro-stack--3","aria-labelledby":e,children:(0,z.jsxs)("div",{className:"sekyro-org",children:[a!==void 0?(0,z.jsx)("button",{type:"button",className:"sekyro-disc sekyro-org__back","aria-label":n("common.back"),onClick:a,"data-testid":"sekyro-back",children:(0,z.jsx)(ze,{name:"back"})}):null,(0,z.jsx)("span",{className:"sekyro-org__tile","aria-hidden":"true",children:f!==void 0?(0,z.jsx)("img",{className:"sekyro-org__logo",src:f,alt:"",onError:i(()=>c(!0),"onError")}):nd(l.orgName)}),(0,z.jsxs)("div",{className:"sekyro-org__text",children:[(0,z.jsx)("h1",{id:e,className:"sekyro-org__name",children:o}),(0,z.jsx)("p",{className:"sekyro-org__sub",children:n(l.purpose==="human"?"shell.subtitleHuman":"shell.subtitle")})]}),l.sandbox?(0,z.jsx)("span",{className:"sekyro-sandbox-badge","data-testid":"sekyro-sandbox-badge",children:n("app.sandboxBadge")}):null,t!=null?(0,z.jsx)("div",{className:"sekyro-org__end",children:t}):null,(0,z.jsx)(Fu.Consumer,{children:i(s=>s!==void 0?(0,z.jsx)("button",{type:"button",className:"sekyro-disc sekyro-org__close","aria-label":n("native.close"),onClick:s,children:(0,z.jsx)(ze,{name:"close"})}):null,"children")})]})})}i(Md,"Dr");T(Md,"OrgHeader");function Od({context:l,current:e,i18n:t}){let a=e===null?-1:l.sections.indexOf(e),n=l.progress,u=n!==void 0&&n.length===l.sections.length?n:l.sections.map((c,f)=>({id:c,state:f<a?"done":f===a?"current":"upcoming"}));return(0,z.jsx)("ol",{className:"sekyro-progress__bars","aria-label":t.t("session.progressLabel"),children:u.map(({id:c,state:f})=>(0,z.jsx)("li",{className:`sekyro-progress__bar${f==="done"?" is-done":f==="current"?" is-current":""}`,...f==="current"?{"aria-current":"step"}:{},children:(0,z.jsx)("span",{className:"sekyro-visually-hidden",children:t.strings[`section.${c}`]??c})},c))})}i(Od,"Mr");T(Od,"SectionProgress");function Ud(){return typeof window>"u"?"":window.location.href.split("#")[0]??""}i(Ud,"Ur");T(Ud,"pageUrl");function jv({hostedUrl:l,inAppBrowser:e,...t}){let[a,n]=(0,Yn.useState)(e===!0);(0,Yn.useEffect)(()=>{e===void 0&&br()&&n(!0)},[e]);let[u,c]=(0,Yn.useState)(!1),f=mf(t.colorScheme??"light"),o=t.handoffUrl??l??Ud();return a&&!u?(0,ea.jsx)(lf,{theme:li(df(void 0,void 0,f),t.theme),className:`sekyro-verification${f?" sekyro-verification--dark":""}${t.className!==void 0?` ${t.className}`:""}`,children:(0,ea.jsx)(Fc,{locale:t.locale,...t.strings!==void 0?{strings:t.strings}:{},children:(0,ea.jsx)("div",{dir:t.dir??(t.locale==="ar"?"rtl":"ltr"),lang:t.locale,className:"sekyro-flow",children:(0,ea.jsx)(Dd,{url:o,onContinue:i(()=>c(!0),"onContinue")})})})}):(0,ea.jsx)(ii,{...t,...o!==""?{handoffUrl:o}:{}})}i(jv,"$r");T(jv,"SekyroFlow");function Dd({url:l,onContinue:e}){let t=Cl();return(0,ea.jsx)(kl,{view:"InAppBrowserPrompt",i18n:t,url:l,onContinue:e})}i(Dd,"Kr");T(Dd,"Prompt");var xc=Q(zl(),1),nv=Q(av(),1);var uv=["ar","fr","en","es","pt","de"],pg=["light","dark","system"];function gg(){if(typeof document>"u")return null;let l=document.documentElement.lang.toLowerCase().split("-")[0];return uv.includes(l)?l:null}i(gg,"documentLocale");var bg=typeof HTMLElement>"u"?class{}:HTMLElement;function Sg({node:l}){return(0,xc.createElement)("div",{className:"sekyro-elements-slot",style:{display:"contents"},ref:i(e=>{e!==null&&l.parentNode!==e&&e.appendChild(l)},"ref")})}i(Sg,"SlotNode");var dt,_e,_n,Ta,Aa,Me,Mn,Ea,Na,_a,On,Ma,Un,B,Kt,Ve,Rc,Yc,Gc,Vc,Qc,iv,rt,Fs,cv,Gu,fv,ov,Xc=class Xc extends bg{constructor(){super();hl(this,B);hl(this,dt,null);hl(this,_e,null);hl(this,_n,!1);hl(this,Ta,!1);hl(this,Aa,null);hl(this,Me,null);hl(this,Mn,null);hl(this,Ea,new Map);hl(this,Na);hl(this,_a);hl(this,On);hl(this,Ma);hl(this,Un);hl(this,Rc,i(t=>X(this,B,Ve).call(this,"sekyro-step",t),"#onStep"));hl(this,Yc,i(t=>X(this,B,Ve).call(this,"sekyro-result",t),"#onResult"));hl(this,Gc,i(t=>X(this,B,Ve).call(this,"sekyro-close",t),"#onClose"));hl(this,Vc,i(t=>X(this,B,Ve).call(this,"sekyro-liveness-captured",t),"#onCaptured"));hl(this,Qc,{onStateChange:i(t=>X(this,B,Ve).call(this,"sekyro-liveness-state",t),"onStateChange"),onGuidance:i(t=>X(this,B,Ve).call(this,"sekyro-liveness-guidance",t),"onGuidance"),onError:i(t=>X(this,B,Ve).call(this,"sekyro-liveness-error",t),"onError")});for(let t of[...Ic.filter(a=>!("unreflected"in a)).map(a=>a.property),"verification","strings","theme","livenessProps","documentLiveMrz","voice"])if(Object.prototype.hasOwnProperty.call(this,t)){let a=this[t];delete this[t],this[t]=a}}get clientToken(){return this.getAttribute("client-token")}set clientToken(t){X(this,B,Kt).call(this,"client-token",t)}get apiOrigin(){return this.getAttribute("api-origin")}set apiOrigin(t){X(this,B,Kt).call(this,"api-origin",t)}get locale(){let t=this.getAttribute("locale");return t!==null&&uv.includes(t)?t:null}set locale(t){X(this,B,Kt).call(this,"locale",t)}get colorScheme(){let t=this.getAttribute("color-scheme");return t!==null&&pg.includes(t)?t:null}set colorScheme(t){X(this,B,Kt).call(this,"color-scheme",t)}get assetBaseUrl(){return this.getAttribute("asset-base-url")}set assetBaseUrl(t){X(this,B,Kt).call(this,"asset-base-url",t)}get backNavigation(){let t=this.getAttribute("back-navigation");return t==="history"||t==="none"?t:null}set backNavigation(t){X(this,B,Kt).call(this,"back-navigation",t)}get handoffUrl(){return this.getAttribute("handoff-url")}set handoffUrl(t){X(this,B,Kt).call(this,"handoff-url",t)}get closable(){return this.hasAttribute("closable")}set closable(t){this.toggleAttribute("closable",!!t)}get verification(){return H(this,Aa)??H(this,Me)}set verification(t){yl(this,Aa,t??null),X(this,B,rt).call(this)}get strings(){return H(this,Na)}set strings(t){yl(this,Na,t??void 0),X(this,B,rt).call(this)}get theme(){return H(this,_a)}set theme(t){yl(this,_a,t??void 0),X(this,B,rt).call(this)}get livenessProps(){return H(this,On)}set livenessProps(t){yl(this,On,t??void 0),X(this,B,rt).call(this)}get documentLiveMrz(){return H(this,Ma)}set documentLiveMrz(t){yl(this,Ma,t??void 0),X(this,B,rt).call(this)}get voice(){return H(this,Un)}set voice(t){yl(this,Un,t===null?void 0:t),X(this,B,rt).call(this)}connectedCallback(){yl(this,Ta,!1),X(this,B,iv).call(this),(H(this,_e)===null||H(this,_e).parentNode!==this)&&(yl(this,_e,document.createElement("div")),H(this,_e).className="sekyro-elements-root",this.appendChild(H(this,_e))),H(this,dt)??yl(this,dt,(0,nv.createRoot)(H(this,_e))),X(this,B,rt).call(this)}disconnectedCallback(){yl(this,Ta,!0),queueMicrotask(()=>{!H(this,Ta)||this.isConnected||(yl(this,Ta,!1),X(this,B,ov).call(this))})}attributeChangedCallback(t,a,n){a!==n&&X(this,B,rt).call(this)}};dt=new WeakMap,_e=new WeakMap,_n=new WeakMap,Ta=new WeakMap,Aa=new WeakMap,Me=new WeakMap,Mn=new WeakMap,Ea=new WeakMap,Na=new WeakMap,_a=new WeakMap,On=new WeakMap,Ma=new WeakMap,Un=new WeakMap,B=new WeakSet,Kt=i(function(t,a){a==null?this.removeAttribute(t):this.setAttribute(t,String(a))},"#reflect"),Ve=i(function(t,a){this.dispatchEvent(new CustomEvent(t,{detail:a,bubbles:!0,composed:!0}))},"#emit"),Rc=new WeakMap,Yc=new WeakMap,Gc=new WeakMap,Vc=new WeakMap,Qc=new WeakMap,iv=i(function(){for(let t of Array.from(this.children)){let a=t.getAttribute("slot");a===null||!Or.some(n=>n.name===a)||(H(this,Ea).set(a,t),t.remove())}},"#takeSlots"),rt=i(function(){H(this,_n)||(yl(this,_n,!0),queueMicrotask(()=>{yl(this,_n,!1),this.isConnected&&H(this,dt)!==null&&X(this,B,fv).call(this)}))},"#schedule"),Fs=i(function(){return this.locale??gg()??"en"},"#effectiveLocale"),cv=i(function(){if(H(this,Aa)!==null)return X(this,B,Gu).call(this),H(this,Aa);let t=this.clientToken;if(t===null||t==="")return X(this,B,Gu).call(this),null;let a=this.apiOrigin,n=`${t}\0${a??""}`;if(H(this,Me)!==null&&H(this,Mn)===n)return H(this,Me);X(this,B,Gu).call(this);try{yl(this,Me,vg({clientToken:t,locale:X(this,B,Fs).call(this),...a!==null&&a!==""?{apiOrigin:a}:{}})),yl(this,Mn,n)}catch(u){return X(this,B,Ve).call(this,"sekyro-error",{error:u}),null}return X(this,B,Ve).call(this,"sekyro-ready",{verification:H(this,Me)}),H(this,Me)},"#currentVerification"),Gu=i(function(){H(this,Me)?.destroy(),yl(this,Me,null),yl(this,Mn,null)},"#dropOwned"),fv=i(function(){let t=X(this,B,cv).call(this);if(t===null){H(this,dt)?.render(null);return}let a=X(this,B,Fs).call(this),n=this.getAttribute("dir"),u=H(this,Un)??(this.getAttribute("voice")==="off"?!1:void 0),c=i(p=>{let h=H(this,Ea).get(p);return h===void 0?void 0:(0,xc.createElement)(Sg,{node:h})},"slot"),f=c("header"),o=c("header-end"),s=c("footer"),v={verification:t,locale:a,onStep:H(this,Rc),onResult:H(this,Yc),onLivenessCaptured:H(this,Vc),livenessProps:{...H(this,On),...H(this,Qc)},...n==="ltr"||n==="rtl"?{dir:n}:{},...this.colorScheme!==null?{colorScheme:this.colorScheme}:{},...this.assetBaseUrl!==null?{assetBaseUrl:this.assetBaseUrl}:{},...this.backNavigation!==null?{backNavigation:this.backNavigation}:{},...this.handoffUrl!==null?{handoffUrl:this.handoffUrl}:{},...this.closable?{onClose:H(this,Gc)}:{},...H(this,Na)!==void 0?{strings:H(this,Na)}:{},...H(this,_a)!==void 0?{theme:H(this,_a)}:{},...H(this,Ma)!==void 0?{documentLiveMrz:H(this,Ma)}:{},...u!==void 0?{voice:u}:{},...f!==void 0||o!==void 0||s!==void 0?{slots:{...f!==void 0?{header:f}:{},...o!==void 0?{headerEnd:o}:{},...s!==void 0?{footer:s}:{}}}:{}};H(this,dt)?.render((0,xc.createElement)(ii,v))},"#render"),ov=i(function(){H(this,dt)?.unmount(),yl(this,dt,null),H(this,_e)?.remove(),yl(this,_e,null),X(this,B,Gu).call(this);for(let t of H(this,Ea).values())this.appendChild(t);H(this,Ea).clear()},"#teardown"),i(Xc,"SekyroVerificationElement"),$s(Xc,"observedAttributes",Ic.map(t=>t.name));var qc=Xc;function bb(){return typeof customElements>"u"?!1:(customElements.get($c)===void 0&&customElements.define($c,qc),!0)}i(bb,"defineSekyroElements");export{$c as a,Ic as b,zg as c,Or as d,Tg as e,qc as f,bb as g};
9
+ `).replace(Gp,"")}i(Wm,"normalizeMarkupForTextOrAttribute");function Gy(l,e){return e=Wm(e),Wm(l)===e}i(Gy,"checkForUnmatchedText");function $(l,e,t,a,n,u){switch(t){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||sn(l,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&sn(l,""+a);break;case"className":hi(l,"class",a);break;case"tabIndex":hi(l,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":hi(l,t,a);break;case"style":qh(l,a,u);break;case"data":if(e!=="object"){hi(l,"data",a);break}case"src":case"href":if(a===""&&(e!=="a"||t!=="href")){l.removeAttribute(t);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(t);break}a=Ui(""+a),l.setAttribute(t,a);break;case"action":case"formAction":if(typeof a=="function"){l.setAttribute(t,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(t==="formAction"?(e!=="input"&&$(l,e,"name",n.name,n,null),$(l,e,"formEncType",n.formEncType,n,null),$(l,e,"formMethod",n.formMethod,n,null),$(l,e,"formTarget",n.formTarget,n,null)):($(l,e,"encType",n.encType,n,null),$(l,e,"method",n.method,n,null),$(l,e,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(t);break}a=Ui(""+a),l.setAttribute(t,a);break;case"onClick":a!=null&&(l.onclick=lt);break;case"onScroll":a!=null&&Y("scroll",l);break;case"onScrollEnd":a!=null&&Y("scrollend",l);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(b(61));if(t=a.__html,t!=null){if(n.children!=null)throw Error(b(60));l.innerHTML=t}}break;case"multiple":l.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":l.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){l.removeAttribute("xlink:href");break}t=Ui(""+a),l.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(t,""+a):l.removeAttribute(t);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(t,""):l.removeAttribute(t);break;case"capture":case"download":a===!0?l.setAttribute(t,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(t,a):l.removeAttribute(t);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?l.setAttribute(t,a):l.removeAttribute(t);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?l.removeAttribute(t):l.setAttribute(t,a);break;case"popover":Y("beforetoggle",l),Y("toggle",l),Oi(l,"popover",a);break;case"xlinkActuate":Ke(l,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Ke(l,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Ke(l,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Ke(l,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Ke(l,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Ke(l,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Ke(l,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Ke(l,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Ke(l,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Oi(l,"is",a);break;case"innerText":case"textContent":break;default:(!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(t=y1.get(t)||t,Oi(l,t,a))}}i($,"setProp");function Lo(l,e,t,a,n,u){switch(t){case"style":qh(l,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(b(61));if(t=a.__html,t!=null){if(n.children!=null)throw Error(b(60));l.innerHTML=t}}break;case"children":typeof a=="string"?sn(l,a):(typeof a=="number"||typeof a=="bigint")&&sn(l,""+a);break;case"onScroll":a!=null&&Y("scroll",l);break;case"onScrollEnd":a!=null&&Y("scrollend",l);break;case"onClick":a!=null&&(l.onclick=lt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Dh.hasOwnProperty(t))l:{if(t[0]==="o"&&t[1]==="n"&&(n=t.endsWith("Capture"),e=t.slice(2,n?t.length-7:void 0),u=l[Fl]||null,u=u!=null?u[t]:null,typeof u=="function"&&l.removeEventListener(e,u,n),typeof a=="function")){typeof u!="function"&&u!==null&&(t in l?l[t]=null:l.hasAttribute(t)&&l.removeAttribute(t)),l.addEventListener(e,a,n);break l}t in l?l[t]=a:a===!0?l.setAttribute(t,""):Oi(l,t,a)}}}i(Lo,"setPropOnCustomElement");function Gl(l,e,t){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Y("error",l),Y("load",l);var a=!1,n=!1,u;for(u in t)if(t.hasOwnProperty(u)){var c=t[u];if(c!=null)switch(u){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(b(137,e));default:$(l,e,u,c,t,null)}}n&&$(l,e,"srcSet",t.srcSet,t,null),a&&$(l,e,"src",t.src,t,null);return;case"input":Y("invalid",l);var f=u=c=n=null,o=null,s=null;for(a in t)if(t.hasOwnProperty(a)){var v=t[a];if(v!=null)switch(a){case"name":n=v;break;case"type":c=v;break;case"checked":o=v;break;case"defaultChecked":s=v;break;case"value":u=v;break;case"defaultValue":f=v;break;case"children":case"dangerouslySetInnerHTML":if(v!=null)throw Error(b(137,e));break;default:$(l,e,a,v,t,null)}}Hh(l,u,f,o,s,c,n,!1);return;case"select":Y("invalid",l),a=c=u=null;for(n in t)if(t.hasOwnProperty(n)&&(f=t[n],f!=null))switch(n){case"value":u=f;break;case"defaultValue":c=f;break;case"multiple":a=f;default:$(l,e,n,f,t,null)}e=u,t=c,l.multiple=!!a,e!=null?en(l,!!a,e,!1):t!=null&&en(l,!!a,t,!0);return;case"textarea":Y("invalid",l),u=n=a=null;for(c in t)if(t.hasOwnProperty(c)&&(f=t[c],f!=null))switch(c){case"value":a=f;break;case"defaultValue":n=f;break;case"children":u=f;break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(b(91));break;default:$(l,e,c,f,t,null)}xh(l,a,n,u);return;case"option":for(o in t)t.hasOwnProperty(o)&&(a=t[o],a!=null)&&(o==="selected"?l.selected=a&&typeof a!="function"&&typeof a!="symbol":$(l,e,o,a,t,null));return;case"dialog":Y("beforetoggle",l),Y("toggle",l),Y("cancel",l),Y("close",l);break;case"iframe":case"object":Y("load",l);break;case"video":case"audio":for(a=0;a<Tu.length;a++)Y(Tu[a],l);break;case"image":Y("error",l),Y("load",l);break;case"details":Y("toggle",l);break;case"embed":case"source":case"link":Y("error",l),Y("load",l);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(s in t)if(t.hasOwnProperty(s)&&(a=t[s],a!=null))switch(s){case"children":case"dangerouslySetInnerHTML":throw Error(b(137,e));default:$(l,e,s,a,t,null)}return;default:if(is(e)){for(v in t)t.hasOwnProperty(v)&&(a=t[v],a!==void 0&&Lo(l,e,v,a,t,void 0));return}}for(f in t)t.hasOwnProperty(f)&&(a=t[f],a!=null&&$(l,e,f,a,t,null))}i(Gl,"setInitialProperties");function Vp(l,e,t,a){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,u=null,c=null,f=null,o=null,s=null,v=null;for(m in t){var p=t[m];if(t.hasOwnProperty(m)&&p!=null)switch(m){case"checked":break;case"value":break;case"defaultValue":o=p;default:a.hasOwnProperty(m)||$(l,e,m,null,a,p)}}for(var h in a){var m=a[h];if(p=t[h],a.hasOwnProperty(h)&&(m!=null||p!=null))switch(h){case"type":u=m;break;case"name":n=m;break;case"checked":s=m;break;case"defaultChecked":v=m;break;case"value":c=m;break;case"defaultValue":f=m;break;case"children":case"dangerouslySetInnerHTML":if(m!=null)throw Error(b(137,e));break;default:m!==p&&$(l,e,h,m,a,p)}}yo(l,c,f,o,s,v,u,n);return;case"select":m=c=f=h=null;for(u in t)if(o=t[u],t.hasOwnProperty(u)&&o!=null)switch(u){case"value":break;case"multiple":m=o;default:a.hasOwnProperty(u)||$(l,e,u,null,a,o)}for(n in a)if(u=a[n],o=t[n],a.hasOwnProperty(n)&&(u!=null||o!=null))switch(n){case"value":h=u;break;case"defaultValue":f=u;break;case"multiple":c=u;default:u!==o&&$(l,e,n,u,a,o)}e=f,t=c,a=m,h!=null?en(l,!!t,h,!1):!!a!=!!t&&(e!=null?en(l,!!t,e,!0):en(l,!!t,t?[]:"",!1));return;case"textarea":m=h=null;for(f in t)if(n=t[f],t.hasOwnProperty(f)&&n!=null&&!a.hasOwnProperty(f))switch(f){case"value":break;case"children":break;default:$(l,e,f,null,a,n)}for(c in a)if(n=a[c],u=t[c],a.hasOwnProperty(c)&&(n!=null||u!=null))switch(c){case"value":h=n;break;case"defaultValue":m=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(b(91));break;default:n!==u&&$(l,e,c,n,a,u)}Bh(l,h,m);return;case"option":for(var S in t)h=t[S],t.hasOwnProperty(S)&&h!=null&&!a.hasOwnProperty(S)&&(S==="selected"?l.selected=!1:$(l,e,S,null,a,h));for(o in a)h=a[o],m=t[o],a.hasOwnProperty(o)&&h!==m&&(h!=null||m!=null)&&(o==="selected"?l.selected=h&&typeof h!="function"&&typeof h!="symbol":$(l,e,o,h,a,m));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var E in t)h=t[E],t.hasOwnProperty(E)&&h!=null&&!a.hasOwnProperty(E)&&$(l,e,E,null,a,h);for(s in a)if(h=a[s],m=t[s],a.hasOwnProperty(s)&&h!==m&&(h!=null||m!=null))switch(s){case"children":case"dangerouslySetInnerHTML":if(h!=null)throw Error(b(137,e));break;default:$(l,e,s,h,a,m)}return;default:if(is(e)){for(var O in t)h=t[O],t.hasOwnProperty(O)&&h!==void 0&&!a.hasOwnProperty(O)&&Lo(l,e,O,void 0,a,h);for(v in a)h=a[v],m=t[v],!a.hasOwnProperty(v)||h===m||h===void 0&&m===void 0||Lo(l,e,v,h,a,m);return}}for(var d in t)h=t[d],t.hasOwnProperty(d)&&h!=null&&!a.hasOwnProperty(d)&&$(l,e,d,null,a,h);for(p in a)h=a[p],m=t[p],!a.hasOwnProperty(p)||h===m||h==null&&m==null||$(l,e,p,h,a,m)}i(Vp,"updateProperties");function Fm(l){switch(l){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}i(Fm,"isLikelyStaticResource");function Qp(){if(typeof performance.getEntriesByType=="function"){for(var l=0,e=0,t=performance.getEntriesByType("resource"),a=0;a<t.length;a++){var n=t[a],u=n.transferSize,c=n.initiatorType,f=n.duration;if(u&&f&&Fm(c)){for(c=0,f=n.responseEnd,a+=1;a<t.length;a++){var o=t[a],s=o.startTime;if(s>f)break;var v=o.transferSize,p=o.initiatorType;v&&Fm(p)&&(o=o.responseEnd,c+=v*(o<f?1:(f-s)/(o-s)))}if(--a,e+=8*(u+c)/(n.duration/1e3),l++,10<l)break}}if(0<l)return e/l/1e6}return navigator.connection&&(l=navigator.connection.downlink,typeof l=="number")?l:5}i(Qp,"estimateBandwidth");var Zo=null,Ko=null;function dc(l){return l.nodeType===9?l:l.ownerDocument}i(dc,"getOwnerDocumentFromRootContainer");function $m(l){switch(l){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}i($m,"getOwnHostContext");function Vy(l,e){if(l===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return l===1&&e==="foreignObject"?0:l}i(Vy,"getChildHostContextProd");function Jo(l,e){return l==="textarea"||l==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}i(Jo,"shouldSetTextContent");var to=null;function Xp(){var l=window.event;return l&&l.type==="popstate"?l===to?!1:(to=l,!0):(to=null,!1)}i(Xp,"shouldAttemptEagerTransition");var Qy=typeof setTimeout=="function"?setTimeout:void 0,jp=typeof clearTimeout=="function"?clearTimeout:void 0,Im=typeof Promise=="function"?Promise:void 0,Lp=typeof queueMicrotask=="function"?queueMicrotask:typeof Im<"u"?function(l){return Im.resolve(null).then(l).catch(Zp)}:Qy;function Zp(l){setTimeout(function(){throw l})}i(Zp,"handleErrorInNextTick");function Zt(l){return l==="head"}i(Zt,"isSingletonScope");function Pm(l,e){var t=e,a=0;do{var n=t.nextSibling;if(l.removeChild(t),n&&n.nodeType===8)if(t=n.data,t==="/$"||t==="/&"){if(a===0){l.removeChild(n),gn(e);return}a--}else if(t==="$"||t==="$?"||t==="$~"||t==="$!"||t==="&")a++;else if(t==="html")du(l.ownerDocument.documentElement);else if(t==="head"){t=l.ownerDocument.head,du(t);for(var u=t.firstChild;u;){var c=u.nextSibling,f=u.nodeName;u[Cu]||f==="SCRIPT"||f==="STYLE"||f==="LINK"&&u.rel.toLowerCase()==="stylesheet"||t.removeChild(u),u=c}}else t==="body"&&du(l.ownerDocument.body);t=n}while(t);gn(e)}i(Pm,"clearHydrationBoundary");function lh(l,e){var t=l;l=0;do{var a=t.nextSibling;if(t.nodeType===1?e?(t._stashedDisplay=t.style.display,t.style.display="none"):(t.style.display=t._stashedDisplay||"",t.getAttribute("style")===""&&t.removeAttribute("style")):t.nodeType===3&&(e?(t._stashedText=t.nodeValue,t.nodeValue=""):t.nodeValue=t._stashedText||""),a&&a.nodeType===8)if(t=a.data,t==="/$"){if(l===0)break;l--}else t!=="$"&&t!=="$?"&&t!=="$~"&&t!=="$!"||l++;t=a}while(t)}i(lh,"hideOrUnhideDehydratedBoundary");function wo(l){var e=l.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var t=e;switch(e=e.nextSibling,t.nodeName){case"HTML":case"HEAD":case"BODY":wo(t),us(t);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(t.rel.toLowerCase()==="stylesheet")continue}l.removeChild(t)}}i(wo,"clearContainerSparingly");function Kp(l,e,t,a){for(;l.nodeType===1;){var n=t;if(l.nodeName.toLowerCase()!==e.toLowerCase()){if(!a&&(l.nodeName!=="INPUT"||l.type!=="hidden"))break}else if(a){if(!l[Cu])switch(e){case"meta":if(!l.hasAttribute("itemprop"))break;return l;case"link":if(u=l.getAttribute("rel"),u==="stylesheet"&&l.hasAttribute("data-precedence"))break;if(u!==n.rel||l.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||l.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||l.getAttribute("title")!==(n.title==null?null:n.title))break;return l;case"style":if(l.hasAttribute("data-precedence"))break;return l;case"script":if(u=l.getAttribute("src"),(u!==(n.src==null?null:n.src)||l.getAttribute("type")!==(n.type==null?null:n.type)||l.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&u&&l.hasAttribute("async")&&!l.hasAttribute("itemprop"))break;return l;default:return l}}else if(e==="input"&&l.type==="hidden"){var u=n.name==null?null:""+n.name;if(n.type==="hidden"&&l.getAttribute("name")===u)return l}else return l;if(l=be(l.nextSibling),l===null)break}return null}i(Kp,"canHydrateInstance");function Jp(l,e,t){if(e==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!t||(l=be(l.nextSibling),l===null))return null;return l}i(Jp,"canHydrateTextInstance");function Xy(l,e){for(;l.nodeType!==8;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!e||(l=be(l.nextSibling),l===null))return null;return l}i(Xy,"canHydrateHydrationBoundary");function Wo(l){return l.data==="$?"||l.data==="$~"}i(Wo,"isSuspenseInstancePending");function Fo(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState!=="loading"}i(Fo,"isSuspenseInstanceFallback");function wp(l,e){var t=l.ownerDocument;if(l.data==="$~")l._reactRetry=e;else if(l.data!=="$?"||t.readyState!=="loading")e();else{var a=i(function(){e(),t.removeEventListener("DOMContentLoaded",a)},"listener");t.addEventListener("DOMContentLoaded",a),l._reactRetry=a}}i(wp,"registerSuspenseInstanceRetry");function be(l){for(;l!=null;l=l.nextSibling){var e=l.nodeType;if(e===1||e===3)break;if(e===8){if(e=l.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return l}i(be,"getNextHydratable");var $o=null;function eh(l){l=l.nextSibling;for(var e=0;l;){if(l.nodeType===8){var t=l.data;if(t==="/$"||t==="/&"){if(e===0)return be(l.nextSibling);e--}else t!=="$"&&t!=="$!"&&t!=="$?"&&t!=="$~"&&t!=="&"||e++}l=l.nextSibling}return null}i(eh,"getNextHydratableInstanceAfterHydrationBoundary");function th(l){l=l.previousSibling;for(var e=0;l;){if(l.nodeType===8){var t=l.data;if(t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"){if(e===0)return l;e--}else t!=="/$"&&t!=="/&"||e++}l=l.previousSibling}return null}i(th,"getParentHydrationBoundary");function jy(l,e,t){switch(e=dc(t),l){case"html":if(l=e.documentElement,!l)throw Error(b(452));return l;case"head":if(l=e.head,!l)throw Error(b(453));return l;case"body":if(l=e.body,!l)throw Error(b(454));return l;default:throw Error(b(451))}}i(jy,"resolveSingletonInstance");function du(l){for(var e=l.attributes;e.length;)l.removeAttributeNode(e[0]);us(l)}i(du,"releaseSingletonInstance");var Se=new Map,ah=new Set;function mc(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}i(mc,"getHoistableRoot");var st=Z.d;Z.d={f:Wp,r:Fp,D:$p,C:Ip,L:Pp,m:lg,X:tg,S:eg,M:ag};function Wp(){var l=st.f(),e=Dc();return l||e}i(Wp,"flushSyncWork");function Fp(l){var e=Sn(l);e!==null&&e.tag===5&&e.type==="form"?q0(e):st.r(l)}i(Fp,"requestFormReset");var En=typeof document>"u"?null:document;function Ly(l,e,t){var a=En;if(a&&typeof e=="string"&&e){var n=ye(e);n='link[rel="'+l+'"][href="'+n+'"]',typeof t=="string"&&(n+='[crossorigin="'+t+'"]'),ah.has(n)||(ah.add(n),l={rel:l,crossOrigin:t,href:e},a.querySelector(n)===null&&(e=a.createElement("link"),Gl(e,"link",l),Ol(e),a.head.appendChild(e)))}}i(Ly,"preconnectAs");function $p(l){st.D(l),Ly("dns-prefetch",l,null)}i($p,"prefetchDNS");function Ip(l,e){st.C(l,e),Ly("preconnect",l,e)}i(Ip,"preconnect");function Pp(l,e,t){st.L(l,e,t);var a=En;if(a&&l&&e){var n='link[rel="preload"][as="'+ye(e)+'"]';e==="image"&&t&&t.imageSrcSet?(n+='[imagesrcset="'+ye(t.imageSrcSet)+'"]',typeof t.imageSizes=="string"&&(n+='[imagesizes="'+ye(t.imageSizes)+'"]')):n+='[href="'+ye(l)+'"]';var u=n;switch(e){case"style":u=pn(l);break;case"script":u=Nn(l)}Se.has(u)||(l=ul({rel:"preload",href:e==="image"&&t&&t.imageSrcSet?void 0:l,as:e},t),Se.set(u,l),a.querySelector(n)!==null||e==="style"&&a.querySelector(Ru(u))||e==="script"&&a.querySelector(Yu(u))||(e=a.createElement("link"),Gl(e,"link",l),Ol(e),a.head.appendChild(e)))}}i(Pp,"preload");function lg(l,e){st.m(l,e);var t=En;if(t&&l){var a=e&&typeof e.as=="string"?e.as:"script",n='link[rel="modulepreload"][as="'+ye(a)+'"][href="'+ye(l)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Nn(l)}if(!Se.has(u)&&(l=ul({rel:"modulepreload",href:l},e),Se.set(u,l),t.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(t.querySelector(Yu(u)))return}a=t.createElement("link"),Gl(a,"link",l),Ol(a),t.head.appendChild(a)}}}i(lg,"preloadModule");function eg(l,e,t){st.S(l,e,t);var a=En;if(a&&l){var n=ln(a).hoistableStyles,u=pn(l);e=e||"default";var c=n.get(u);if(!c){var f={loading:0,preload:null};if(c=a.querySelector(Ru(u)))f.loading=5;else{l=ul({rel:"stylesheet",href:l,"data-precedence":e},t),(t=Se.get(u))&&Ls(l,t);var o=c=a.createElement("link");Ol(o),Gl(o,"link",l),o._p=new Promise(function(s,v){o.onload=s,o.onerror=v}),o.addEventListener("load",function(){f.loading|=1}),o.addEventListener("error",function(){f.loading|=2}),f.loading|=4,Gi(c,e,a)}c={type:"stylesheet",instance:c,count:1,state:f},n.set(u,c)}}}i(eg,"preinitStyle");function tg(l,e){st.X(l,e);var t=En;if(t&&l){var a=ln(t).hoistableScripts,n=Nn(l),u=a.get(n);u||(u=t.querySelector(Yu(n)),u||(l=ul({src:l,async:!0},e),(e=Se.get(n))&&Zs(l,e),u=t.createElement("script"),Ol(u),Gl(u,"link",l),t.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}i(tg,"preinitScript");function ag(l,e){st.M(l,e);var t=En;if(t&&l){var a=ln(t).hoistableScripts,n=Nn(l),u=a.get(n);u||(u=t.querySelector(Yu(n)),u||(l=ul({src:l,async:!0,type:"module"},e),(e=Se.get(n))&&Zs(l,e),u=t.createElement("script"),Ol(u),Gl(u,"link",l),t.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}i(ag,"preinitModuleScript");function nh(l,e,t,a){var n=(n=Ct.current)?mc(n):null;if(!n)throw Error(b(446));switch(l){case"meta":case"title":return null;case"style":return typeof t.precedence=="string"&&typeof t.href=="string"?(e=pn(t.href),t=ln(n).hoistableStyles,a=t.get(e),a||(a={type:"style",instance:null,count:0,state:null},t.set(e,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(t.rel==="stylesheet"&&typeof t.href=="string"&&typeof t.precedence=="string"){l=pn(t.href);var u=ln(n).hoistableStyles,c=u.get(l);if(c||(n=n.ownerDocument||n,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(l,c),(u=n.querySelector(Ru(l)))&&!u._p&&(c.instance=u,c.state.loading=5),Se.has(l)||(t={rel:"preload",as:"style",href:t.href,crossOrigin:t.crossOrigin,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy},Se.set(l,t),u||ng(n,l,t,c.state))),e&&a===null)throw Error(b(528,""));return c}if(e&&a!==null)throw Error(b(529,""));return null;case"script":return e=t.async,t=t.src,typeof t=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Nn(t),t=ln(n).hoistableScripts,a=t.get(e),a||(a={type:"script",instance:null,count:0,state:null},t.set(e,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(b(444,l))}}i(nh,"getResource");function pn(l){return'href="'+ye(l)+'"'}i(pn,"getStyleKey");function Ru(l){return'link[rel="stylesheet"]['+l+"]"}i(Ru,"getStylesheetSelectorFromKey");function Zy(l){return ul({},l,{"data-precedence":l.precedence,precedence:null})}i(Zy,"stylesheetPropsFromRawProps");function ng(l,e,t,a){l.querySelector('link[rel="preload"][as="style"]['+e+"]")?a.loading=1:(e=l.createElement("link"),a.preload=e,e.addEventListener("load",function(){return a.loading|=1}),e.addEventListener("error",function(){return a.loading|=2}),Gl(e,"link",t),Ol(e),l.head.appendChild(e))}i(ng,"preloadStylesheet");function Nn(l){return'[src="'+ye(l)+'"]'}i(Nn,"getScriptKey");function Yu(l){return"script[async]"+l}i(Yu,"getScriptSelectorFromKey");function uh(l,e,t){if(e.count++,e.instance===null)switch(e.type){case"style":var a=l.querySelector('style[data-href~="'+ye(t.href)+'"]');if(a)return e.instance=a,Ol(a),a;var n=ul({},t,{"data-href":t.href,"data-precedence":t.precedence,href:null,precedence:null});return a=(l.ownerDocument||l).createElement("style"),Ol(a),Gl(a,"style",n),Gi(a,t.precedence,l),e.instance=a;case"stylesheet":n=pn(t.href);var u=l.querySelector(Ru(n));if(u)return e.state.loading|=4,e.instance=u,Ol(u),u;a=Zy(t),(n=Se.get(n))&&Ls(a,n),u=(l.ownerDocument||l).createElement("link"),Ol(u);var c=u;return c._p=new Promise(function(f,o){c.onload=f,c.onerror=o}),Gl(u,"link",a),e.state.loading|=4,Gi(u,t.precedence,l),e.instance=u;case"script":return u=Nn(t.src),(n=l.querySelector(Yu(u)))?(e.instance=n,Ol(n),n):(a=t,(n=Se.get(u))&&(a=ul({},t),Zs(a,n)),l=l.ownerDocument||l,n=l.createElement("script"),Ol(n),Gl(n,"link",a),l.head.appendChild(n),e.instance=n);case"void":return null;default:throw Error(b(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(a=e.instance,e.state.loading|=4,Gi(a,t.precedence,l));return e.instance}i(uh,"acquireResource");function Gi(l,e,t){for(var a=t.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,u=n,c=0;c<a.length;c++){var f=a[c];if(f.dataset.precedence===e)u=f;else if(u!==n)break}u?u.parentNode.insertBefore(l,u.nextSibling):(e=t.nodeType===9?t.head:t,e.insertBefore(l,e.firstChild))}i(Gi,"insertStylesheet");function Ls(l,e){l.crossOrigin==null&&(l.crossOrigin=e.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=e.referrerPolicy),l.title==null&&(l.title=e.title)}i(Ls,"adoptPreloadPropsForStylesheet");function Zs(l,e){l.crossOrigin==null&&(l.crossOrigin=e.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=e.referrerPolicy),l.integrity==null&&(l.integrity=e.integrity)}i(Zs,"adoptPreloadPropsForScript");var Vi=null;function ih(l,e,t){if(Vi===null){var a=new Map,n=Vi=new Map;n.set(t,a)}else n=Vi,a=n.get(t),a||(a=new Map,n.set(t,a));if(a.has(l))return a;for(a.set(l,null),t=t.getElementsByTagName(l),n=0;n<t.length;n++){var u=t[n];if(!(u[Cu]||u[ql]||l==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var c=u.getAttribute(e)||"";c=l+c;var f=a.get(c);f?f.push(u):a.set(c,[u])}}return a}i(ih,"getHydratableHoistableCache");function ch(l,e,t){l=l.ownerDocument||l,l.head.insertBefore(t,e==="title"?l.querySelector("head > title"):null)}i(ch,"mountHoistable");function ug(l,e,t){if(t===1||e.itemProp!=null)return!1;switch(l){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;return e.rel==="stylesheet"?(l=e.disabled,typeof e.precedence=="string"&&l==null):!0;case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}i(ug,"isHostHoistableType");function Ky(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}i(Ky,"preloadResource");function ig(l,e,t,a){if(t.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var n=pn(a.href),u=e.querySelector(Ru(n));if(u){e=u._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(l.count++,l=hc.bind(l),e.then(l,l)),t.state.loading|=4,t.instance=u,Ol(u);return}u=e.ownerDocument||e,a=Zy(a),(n=Se.get(n))&&Ls(a,n),u=u.createElement("link"),Ol(u);var c=u;c._p=new Promise(function(f,o){c.onload=f,c.onerror=o}),Gl(u,"link",a),t.instance=u}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&3)===0&&(l.count++,t=hc.bind(l),e.addEventListener("load",t),e.addEventListener("error",t))}}i(ig,"suspendResource");var ao=0;function cg(l,e){return l.stylesheets&&l.count===0&&Qi(l,l.stylesheets),0<l.count||0<l.imgCount?function(t){var a=setTimeout(function(){if(l.stylesheets&&Qi(l,l.stylesheets),l.unsuspend){var u=l.unsuspend;l.unsuspend=null,u()}},6e4+e);0<l.imgBytes&&ao===0&&(ao=62500*Qp());var n=setTimeout(function(){if(l.waitingForImages=!1,l.count===0&&(l.stylesheets&&Qi(l,l.stylesheets),l.unsuspend)){var u=l.unsuspend;l.unsuspend=null,u()}},(l.imgBytes>ao?50:800)+e);return l.unsuspend=t,function(){l.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}i(cg,"waitForCommitToBeReady");function hc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Qi(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}i(hc,"onUnsuspend");var yc=null;function Qi(l,e){l.stylesheets=null,l.unsuspend!==null&&(l.count++,yc=new Map,e.forEach(fg,l),yc=null,hc.call(l))}i(Qi,"insertSuspendedStylesheets");function fg(l,e){if(!(e.state.loading&4)){var t=yc.get(l);if(t)var a=t.get(null);else{t=new Map,yc.set(l,t);for(var n=l.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<n.length;u++){var c=n[u];(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")&&(t.set(c.dataset.precedence,c),a=c)}a&&t.set(null,a)}n=e.instance,c=n.getAttribute("data-precedence"),u=t.get(c)||a,u===a&&t.set(null,n),t.set(c,n),this.count++,a=hc.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),u?u.parentNode.insertBefore(n,u.nextSibling):(l=l.nodeType===9?l.head:l,l.insertBefore(n,l.firstChild)),e.state.loading|=4}}i(fg,"insertStylesheetIntoRoot");var Eu={$$typeof:Pe,Provider:null,Consumer:null,_currentValue:ca,_currentValue2:ca,_threadCount:0};function og(l,e,t,a,n,u,c,f,o){this.tag=1,this.containerInfo=l,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Uf(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Uf(0),this.hiddenUpdates=Uf(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=u,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=o,this.incompleteTransitions=new Map}i(og,"FiberRootNode");function Jy(l,e,t,a,n,u,c,f,o,s,v,p){return l=new og(l,e,t,c,o,s,v,p,f),e=1,u===!0&&(e|=24),u=le(3,null,null,e),l.current=u,u.stateNode=l,e=ps(),e.refCount++,l.pooledCache=e,e.refCount++,u.memoizedState={element:a,isDehydrated:t,cache:e},Ss(u),l}i(Jy,"createFiberRoot");function wy(l){return l?(l=Fa,l):Fa}i(wy,"getContextForSubtree");function Wy(l,e,t,a,n,u){n=wy(n),a.context===null?a.context=n:a.pendingContext=n,a=Ht(e),a.payload={element:t},u=u===void 0?null:u,u!==null&&(a.callback=u),t=Bt(l,a,e),t!==null&&(Wl(t,l,e),nu(t,l,e))}i(Wy,"updateContainerImpl");function fh(l,e){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var t=l.retryLane;l.retryLane=t!==0&&t<e?t:e}}i(fh,"markRetryLaneImpl");function Ks(l,e){fh(l,e),(l=l.alternate)&&fh(l,e)}i(Ks,"markRetryLaneIfNotHydrated");function Fy(l){if(l.tag===13||l.tag===31){var e=Sa(l,67108864);e!==null&&Wl(e,l,67108864),Ks(l,67108864)}}i(Fy,"attemptContinuousHydration");function oh(l){if(l.tag===13||l.tag===31){var e=ue();e=as(e);var t=Sa(l,e);t!==null&&Wl(t,l,e),Ks(l,e)}}i(oh,"attemptHydrationAtCurrentPriority");var vc=!0;function sg(l,e,t,a){var n=k.T;k.T=null;var u=Z.p;try{Z.p=2,Js(l,e,t,a)}finally{Z.p=u,k.T=n}}i(sg,"dispatchDiscreteEvent");function rg(l,e,t,a){var n=k.T;k.T=null;var u=Z.p;try{Z.p=8,Js(l,e,t,a)}finally{Z.p=u,k.T=n}}i(rg,"dispatchContinuousEvent");function Js(l,e,t,a){if(vc){var n=Io(a);if(n===null)eo(l,e,a,pc,t),sh(l,a);else if(mg(n,l,e,t,a))a.stopPropagation();else if(sh(l,a),e&4&&-1<dg.indexOf(l)){for(;n!==null;){var u=Sn(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var c=na(u.pendingLanes);if(c!==0){var f=u;for(f.pendingLanes|=2,f.entangledLanes|=2;c;){var o=1<<31-ne(c);f.entanglements[1]|=o,c&=~o}Ge(u),(L&6)===0&&(ic=te()+500,qu(0,!1))}}break;case 31:case 13:f=Sa(u,2),f!==null&&Wl(f,u,2),Dc(),Ks(u,2)}if(u=Io(a),u===null&&eo(l,e,a,pc,t),u===n)break;n=u}n!==null&&a.stopPropagation()}else eo(l,e,a,null,t)}}i(Js,"dispatchEvent");function Io(l){return l=cs(l),ws(l)}i(Io,"findInstanceBlockingEvent");var pc=null;function ws(l){if(pc=null,l=La(l),l!==null){var e=Mu(l);if(e===null)l=null;else{var t=e.tag;if(t===13){if(l=vh(e),l!==null)return l;l=null}else if(t===31){if(l=ph(e),l!==null)return l;l=null}else if(t===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;l=null}else e!==l&&(l=null)}}return pc=l,null}i(ws,"findInstanceBlockingTarget");function $y(l){switch(l){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Pv()){case zh:return 2;case Th:return 8;case Ki:case l1:return 32;case Ah:return 268435456;default:return 32}default:return 32}}i($y,"getEventPriority");var Po=!1,Rt=null,Yt=null,Gt=null,Nu=new Map,_u=new Map,Nt=[],dg="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function sh(l,e){switch(l){case"focusin":case"focusout":Rt=null;break;case"dragenter":case"dragleave":Yt=null;break;case"mouseover":case"mouseout":Gt=null;break;case"pointerover":case"pointerout":Nu.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":_u.delete(e.pointerId)}}i(sh,"clearIfContinuousEvent");function Jn(l,e,t,a,n,u){return l===null||l.nativeEvent!==u?(l={blockedOn:e,domEventName:t,eventSystemFlags:a,nativeEvent:u,targetContainers:[n]},e!==null&&(e=Sn(e),e!==null&&Fy(e)),l):(l.eventSystemFlags|=a,e=l.targetContainers,n!==null&&e.indexOf(n)===-1&&e.push(n),l)}i(Jn,"accumulateOrCreateContinuousQueuedReplayableEvent");function mg(l,e,t,a,n){switch(e){case"focusin":return Rt=Jn(Rt,l,e,t,a,n),!0;case"dragenter":return Yt=Jn(Yt,l,e,t,a,n),!0;case"mouseover":return Gt=Jn(Gt,l,e,t,a,n),!0;case"pointerover":var u=n.pointerId;return Nu.set(u,Jn(Nu.get(u)||null,l,e,t,a,n)),!0;case"gotpointercapture":return u=n.pointerId,_u.set(u,Jn(_u.get(u)||null,l,e,t,a,n)),!0}return!1}i(mg,"queueIfContinuousEvent");function Iy(l){var e=La(l.target);if(e!==null){var t=Mu(e);if(t!==null){if(e=t.tag,e===13){if(e=vh(t),e!==null){l.blockedOn=e,Jd(l.priority,function(){oh(t)});return}}else if(e===31){if(e=ph(t),e!==null){l.blockedOn=e,Jd(l.priority,function(){oh(t)});return}}else if(e===3&&t.stateNode.current.memoizedState.isDehydrated){l.blockedOn=t.tag===3?t.stateNode.containerInfo:null;return}}}l.blockedOn=null}i(Iy,"attemptExplicitHydrationTarget");function Xi(l){if(l.blockedOn!==null)return!1;for(var e=l.targetContainers;0<e.length;){var t=Io(l.nativeEvent);if(t===null){t=l.nativeEvent;var a=new t.constructor(t.type,t);po=a,t.target.dispatchEvent(a),po=null}else return e=Sn(t),e!==null&&Fy(e),l.blockedOn=t,!1;e.shift()}return!0}i(Xi,"attemptReplayContinuousQueuedEvent");function rh(l,e,t){Xi(l)&&t.delete(e)}i(rh,"attemptReplayContinuousQueuedEventInMap");function hg(){Po=!1,Rt!==null&&Xi(Rt)&&(Rt=null),Yt!==null&&Xi(Yt)&&(Yt=null),Gt!==null&&Xi(Gt)&&(Gt=null),Nu.forEach(rh),_u.forEach(rh)}i(hg,"replayUnblockedEvents");function _i(l,e){l.blockedOn===e&&(l.blockedOn=null,Po||(Po=!0,Al.unstable_scheduleCallback(Al.unstable_NormalPriority,hg)))}i(_i,"scheduleCallbackIfUnblocked");var Mi=null;function dh(l){Mi!==l&&(Mi=l,Al.unstable_scheduleCallback(Al.unstable_NormalPriority,function(){Mi===l&&(Mi=null);for(var e=0;e<l.length;e+=3){var t=l[e],a=l[e+1],n=l[e+2];if(typeof a!="function"){if(ws(a||t)===null)continue;break}var u=Sn(t);u!==null&&(l.splice(e,3),e-=3,Ho(u,{pending:!0,data:n,method:t.method,action:a},a,n))}}))}i(dh,"scheduleReplayQueueIfNeeded");function gn(l){function e(o){return _i(o,l)}i(e,"unblock"),Rt!==null&&_i(Rt,l),Yt!==null&&_i(Yt,l),Gt!==null&&_i(Gt,l),Nu.forEach(e),_u.forEach(e);for(var t=0;t<Nt.length;t++){var a=Nt[t];a.blockedOn===l&&(a.blockedOn=null)}for(;0<Nt.length&&(t=Nt[0],t.blockedOn===null);)Iy(t),t.blockedOn===null&&Nt.shift();if(t=(l.ownerDocument||l).$$reactFormReplay,t!=null)for(a=0;a<t.length;a+=3){var n=t[a],u=t[a+1],c=n[Fl]||null;if(typeof u=="function")c||dh(t);else if(c){var f=null;if(u&&u.hasAttribute("formAction")){if(n=u,c=u[Fl]||null)f=c.formAction;else if(ws(n)!==null)continue}else f=c.action;typeof f=="function"?t[a+1]=f:(t.splice(a,3),a-=3),dh(t)}}}i(gn,"retryIfBlockedOn");function Py(){function l(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:i(function(){return new Promise(function(c){return n=c})},"handler"),focusReset:"manual",scroll:"manual"})}i(l,"handleNavigate");function e(){n!==null&&(n(),n=null),a||setTimeout(t,20)}i(e,"handleNavigateComplete");function t(){if(!a&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(i(t,"startFakeNavigation"),typeof navigation=="object"){var a=!1,n=null;return navigation.addEventListener("navigate",l),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(t,100),function(){a=!0,navigation.removeEventListener("navigate",l),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),n!==null&&(n(),n=null)}}}i(Py,"defaultOnDefaultTransitionIndicator");function Ws(l){this._internalRoot=l}i(Ws,"ReactDOMRoot");Hc.prototype.render=Ws.prototype.render=function(l){var e=this._internalRoot;if(e===null)throw Error(b(409));var t=e.current,a=ue();Wy(t,a,l,e,null,null)};Hc.prototype.unmount=Ws.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var e=l.containerInfo;Wy(l.current,2,null,l,null,null),Dc(),e[bn]=null}};function Hc(l){this._internalRoot=l}i(Hc,"ReactDOMHydrationRoot");Hc.prototype.unstable_scheduleHydration=function(l){if(l){var e=Oh();l={blockedOn:null,target:l,priority:e};for(var t=0;t<Nt.length&&e!==0&&e<Nt[t].priority;t++);Nt.splice(t,0,l),t===0&&Iy(l)}};var mh=hh.version;if(mh!=="19.2.0")throw Error(b(527,mh,"19.2.0"));Z.findDOMNode=function(l){var e=l._reactInternals;if(e===void 0)throw typeof l.render=="function"?Error(b(188)):(l=Object.keys(l).join(","),Error(b(268,l)));return l=Kv(e),l=l!==null?gh(l):null,l=l===null?null:l.stateNode,l};var yg={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:k,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(wn=__REACT_DEVTOOLS_GLOBAL_HOOK__,!wn.isDisabled&&wn.supportsFiber))try{Ou=wn.inject(yg),ae=wn}catch{}var wn;Bc.createRoot=function(l,e){if(!yh(l))throw Error(b(299));var t=!1,a="",n=L0,u=Z0,c=K0;return e!=null&&(e.unstable_strictMode===!0&&(t=!0),e.identifierPrefix!==void 0&&(a=e.identifierPrefix),e.onUncaughtError!==void 0&&(n=e.onUncaughtError),e.onCaughtError!==void 0&&(u=e.onCaughtError),e.onRecoverableError!==void 0&&(c=e.onRecoverableError)),e=Jy(l,1,!1,null,null,t,a,null,n,u,c,Py),l[bn]=e.current,js(l),new Ws(e)};Bc.hydrateRoot=function(l,e,t){if(!yh(l))throw Error(b(299));var a=!1,n="",u=L0,c=Z0,f=K0,o=null;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onUncaughtError!==void 0&&(u=t.onUncaughtError),t.onCaughtError!==void 0&&(c=t.onCaughtError),t.onRecoverableError!==void 0&&(f=t.onRecoverableError),t.formState!==void 0&&(o=t.formState)),e=Jy(l,1,!0,e,t??null,a,n,o,u,c,f,Py),e.context=wy(null),t=e.current,a=ue(),a=as(a),n=Ht(a),n.callback=null,Bt(t,n,a),t=a,e.current.lanes=t,Du(e,t),Ge(e),l[bn]=e.current,js(l),new Hc(e)};Bc.version="19.2.0"});var av=Ju((ob,tv)=>{"use strict";function ev(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ev)}catch(l){console.error(l)}}i(ev,"checkDCE");ev(),tv.exports=lv()});var $c="sekyro-verification",Ic=[{name:"client-token",property:"clientToken",type:"string | null",description:"The session's client token, from `clientToken` of the session your server created. Ignored while `verification` is set."},{name:"api-origin",property:"apiOrigin",type:"string | null",description:"The Sekyro AI API origin. Leave it out: the SDK's default is the production API."},{name:"locale",property:"locale",type:"SekyroLocale | null",description:"The language of the flow: `ar`, `fr`, `en`, `es`, `pt` or `de`. Without it: the page's `<html lang>` when it is one of them, else `en`. Arabic runs right to left."},{name:"color-scheme",property:"colorScheme",type:"SekyroColorScheme | null",description:"`light` (the default), `dark`, or `system` to follow the device."},{name:"asset-base-url",property:"assetBaseUrl",type:"string | null",description:"Where your page serves the face detector assets (the `models-v3` files)."},{name:"back-navigation",property:"backNavigation",type:"'history' | 'none' | null",description:"`history` lets the browser's back button go one screen back inside the flow. `none` (the default) never touches the page's history."},{name:"handoff-url",property:"handoffUrl",type:"string | null",description:"The link a desktop shows as a QR code when a camera step needs a phone (the session's `hostedUrl`). Without it, a notice asks the person to continue on their phone."},{name:"closable",property:"closable",type:"boolean",boolean:!0,description:"Shows the header's close button and the result's Continue button. Both fire `sekyro-close`; take the person on from your page there."},{name:"voice",property:"voice",type:"'off' | null",unreflected:!0,description:"`off` turns the spoken guidance off. The `voice` property, when set, wins and carries the voice options."}],zg=[{name:"verification",type:"Verification | null",description:"A `Verification` you created with `createVerification` from `@sekyro/web`. Set, it wins over `client-token`, and your page destroys it. Read, it is the verification the element runs, set or created."},{name:"strings",type:"Partial<SekyroStrings> | undefined",description:"Copy overrides, keyed like the SDK's strings."},{name:"theme",type:"SekyroTheme | undefined",description:"A runtime theme. It wins over the session's branding."},{name:"livenessProps",type:"SekyroElementLivenessOptions | undefined",description:"Options of the face capture step: `autoStart`, `tips`, `tipsSummary`, `coach`, `notice`, `startDisabled`, `startLabel`."},{name:"documentLiveMrz",type:"DocumentLiveMrzOptions | undefined",description:"Live MRZ reading on the document step: `workerUrl`, `assetBaseUrl`, or `mode: 'off'`."},{name:"voice",type:"false | VoiceOptions | undefined",description:"Spoken guidance options, or `false` to turn it off."}],Or=[{name:"header",description:"Replaces the partner header."},{name:"header-end",description:"Sits at the inline end of the partner header, before the close button (a language menu)."},{name:"footer",description:'Replaces the "Verified by Sekyro AI" link. An empty element hides it.'}],Tg=[{name:"sekyro-ready",type:"SekyroReadyDetail",description:"The element created its `Verification` from `client-token` (detail: `{ verification }`)."},{name:"sekyro-step",type:"VerificationStep",mirrors:"onStep",description:"The flow moved to a step."},{name:"sekyro-result",type:"VerificationResult",mirrors:"onResult",description:"A verdict for display. Read the decision that counts from your server."},{name:"sekyro-close",type:"SekyroCloseEvent",mirrors:"onClose",description:"The person closed the flow (`closable` only): `{ reason: 'finished', result }` or `{ reason: 'cancelled' }`."},{name:"sekyro-liveness-captured",type:"CapturedArtifacts",mirrors:"onLivenessCaptured",description:"The face capture finished, before its upload."},{name:"sekyro-liveness-state",type:"CaptureState",mirrors:"livenessProps.onStateChange",description:"The face capture's state changed."},{name:"sekyro-liveness-guidance",type:"StringKey",mirrors:"livenessProps.onGuidance",description:"The face capture shows a guidance line (its string key)."},{name:"sekyro-liveness-error",type:"CaptureError",mirrors:"livenessProps.onError",description:"The face capture failed (camera denied or absent, for example). The flow shows its own screen."},{name:"sekyro-error",type:"SekyroElementErrorDetail",description:"The element could not create its `Verification` from its attributes (detail: `{ error }`)."}];import{createVerification as vg}from"@sekyro/web";var Pc=Q(Vl(),1);var Hl={light:{brand:"#0d3b66",brandFg:"#ffffff",fg:"#13141f",fgMuted:"#4e5270",bg:"#f6f7fb",surface:"#ffffff",ring:"#0d3b66",danger:"#ca0f07",success:"#007a5e",warning:"#735003"},dark:{brand:"#6ea2d3",brandFg:"#051a2e",fg:"#f6f7fb",fgMuted:"#cbcedc",bg:"#13141f",surface:"#1d1e2c",ring:"#6ea2d3",danger:"#ff7c7c",success:"#00c897",warning:"#ffd98a"},roles:{light:{brandSoft:"#eaf2fa",line:"#cbcedc",lineSubtle:"#e2e4ee",lineStrong:"#8c91a9",sunken:"#eeeff5",fgSubtle:"#686d8a"},dark:{brandSoft:"#092b4b",line:"#4e5270",lineSubtle:"#2b2d40",lineStrong:"#686d8a",sunken:"#0b0c14",fgSubtle:"#8c91a9"}},stage:"#051a2e",stageAccent:"#69dfef",radius:"10px",radiusLg:"16px",font:'"Sekyro Inter", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", "Noto Sans", sans-serif',fontDisplay:'"Sekyro Geist", Geist, "Sekyro Geist Fallback", "Sekyro Geist Fallback Roboto", "Sekyro Inter", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", "Noto Sans", sans-serif',fontArabic:'"Sekyro Cairo", Cairo, "Sekyro Inter", "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif'},qn={colors:{...Hl.light},radius:Hl.radiusLg,fontFamily:Hl.font},Ur={brand:"--sekyro-color-brand",brandFg:"--sekyro-color-brand-fg",fg:"--sekyro-color-fg",fgMuted:"--sekyro-color-fg-muted",bg:"--sekyro-color-bg",surface:"--sekyro-color-surface",ring:"--sekyro-color-ring",danger:"--sekyro-color-danger",success:"--sekyro-color-success",warning:"--sekyro-color-warning"};function Cr(l={}){let e={};for(let t of Object.keys(Ur))e[Ur[t]]=l.colors?.[t]??qn.colors[t];return e["--sekyro-radius"]=l.radius??qn.radius,e["--sekyro-font"]=l.fontFamily??qn.fontFamily,e}i(Cr,"S");T(Cr,"themeToCssVars");var dv=/^#[0-9a-f]{6}$/i,mv=["brand","brandFg","bg","surface","fg","fgMuted"],hv=["danger","success","warning"],Dr=!1;function Iu(l){let e=l?.colors;if(l===void 0||e===void 0||!hv.some(c=>c in e))return l;!Dr&&rr()&&(Dr=!0,console.warn("[sekyro] theme.colors.danger/success/warning are ignored: status colours are standard (removed in 1.0)"));let{danger:t,success:a,warning:n,...u}=e;return{...l,colors:u}}i(Iu,"p");T(Iu,"stripDeprecatedStatusColors");var yv={none:"0px",sm:"6px",md:"10px",lg:"16px",full:"9999px"},vv={system:"",inter:"Inter","ibm-plex-sans-arabic":'"IBM Plex Sans Arabic"',"noto-sans-arabic":'"Noto Sans Arabic"',roboto:"Roboto"};function Pu(l){let e={};if(!l)return e;let t={},a=l.colors??{};for(let c of mv){let f=a[c];f!==void 0&&dv.test(f)&&(t[c]=f)}t.brand&&(t.ring=t.brand),Object.keys(t).length&&(e.colors=t);let n=yv[l.radius];n&&(e.radius=n);let u=vv[l.fontFamily];return u!==void 0&&(e.fontFamily=u?`${u}, ${qn.fontFamily}`:qn.fontFamily),e}i(Pu,"x");T(Pu,"brandingToTheme");function li(...l){let e={};for(let t of l)t?.colors&&(e.colors={...e.colors,...t.colors}),t?.radius&&(e.radius=t.radius),t?.fontFamily&&(e.fontFamily=t.fontFamily);return e}i(li,"I");T(li,"mergeThemes");function lf({theme:l,children:e,className:t}){return(0,Pc.jsx)(ei,{theme:Iu(l),...t!==void 0?{className:t}:{},children:e})}i(lf,"C");T(lf,"SekyroThemeProvider");function ei({theme:l,children:e,className:t}){let a=Cr(l);return(0,Pc.jsx)("div",{className:t===void 0?"sekyro-root":`sekyro-root ${t}`,style:a,children:e})}i(ei,"R");T(ei,"SekyroThemeRoot");var Rn=Q(zl(),1),Bl=Q(zl(),1),D=Q(Vl(),1),yt=Q(zl(),1),Qe=Q(Vl(),1),vt=Q(zl(),1),Xe=Q(Vl(),1),Zr=Q(zl(),1),Ca=Q(Vl(),1),ka=Q(zl(),1),P=Q(Vl(),1),oe=Q(zl(),1),Le=Q(zl(),1),Nl=Q(Vl(),1),Te=Q(Vl(),1),_l=Q(zl(),1),K=Q(Vl(),1),pt=Q(zl(),1),De=Q(Vl(),1),gt=Q(zl(),1),Ce=Q(Vl(),1),C=Q(zl(),1),ni=Q(zl(),1),ht=Q(zl(),1),ke=Q(Vl(),1),je=Q(Vl(),1),ud=Q(zl(),1),Ba=Q(zl(),1),F=Q(Vl(),1),z=Q(Vl(),1),Yn=Q(zl(),1),ea=Q(Vl(),1);import{isValidNni as Av,normalizeNni as Br}from"@sekyro/web";import{acceptedIssuers as Mv,acceptedTypesFor as xr,warmDocumentCapture as Ov}from"@sekyro/web";import{acceptedIssuers as Uv,acceptedTypesFor as ef}from"@sekyro/web";import{warmPortraitCapture as kv}from"@sekyro/web";import{cameraUnavailableCauseOf as Rv}from"@sekyro/web";function Vr(l){let[e,t]=(0,Rn.useState)(()=>l?.currentStep?.()??null),[a,n]=(0,Rn.useState)(null);return(0,Rn.useEffect)(()=>{if(l===void 0)return;if(typeof l.run!="function"){n(new Error("The step components need @sekyro/web 0.2 or later (Verification.run)."));return}let u=!0,c=l.on("step",f=>{u&&t(f)});return l.run().then(f=>{u&&t(o=>o??f)},f=>{u&&n(f)}),()=>{u=!1,c()}},[l]),{step:e,error:a}}i(Vr,"ct");T(Vr,"useVerificationStep");var kr=T((l,e,t)=>{if(l===void 0)return 0;let a=Date.parse(l)-e;return Number.isFinite(a)?Math.min(t,Math.max(0,Math.ceil(a/1e3))):0},"secondsUntil"),pv=600,gv=30,bv=T(l=>`${Math.floor(l/60)}:${String(l%60).padStart(2,"0")}`,"mmss"),Sv=["whatsapp","sms"],Hr=new Set(["otp_daily_cap_reached","payment_method_required","spend_cap_reached","insufficient_balance","otp_expired","otp_send_failed","otp_channel_unavailable","otp_destination_not_allowed","otp_destination_unknown","otp_rate_limited","otp_resend_limit","otp_number_invalid","otp_number_not_mobile"]);function Qr(l){let e=[];for(let t of l.phoneCountries??["MR"]){let a=l.phoneRules?.find(u=>u.code===t),n=a?.dial??zr(t);n!==void 0&&!e.some(u=>u.code===t)&&e.push({code:t,dial:`+${n}`,...a!==void 0?{rule:a}:{}})}return e}i(Qr,"un");T(Qr,"phoneCountriesOf");function Xr({step:l,locale:e,strings:t,className:a,defaultPhone:n,onError:u}){let c=Cl(e,t),{t:f}=c,o=(0,Bl.useMemo)(()=>Qr(l),[l.phoneCountries,l.phoneRules]),s=n??o[0]?.dial??"",v=l.phoneInternational===!0,p=Ar({countries:o,international:v,closed:!!l.phoneRules?.length,defaultPhone:s}),[h,m]=(0,Bl.useState)(""),[S,E]=(0,Bl.useState)(!1),[O,d]=(0,Bl.useState)(null),[r,y]=(0,Bl.useState)(null),[g,A]=(0,Bl.useState)(!1),[x,N]=(0,Bl.useState)(null),M=(0,Bl.useRef)(null),U=l.phase==="verify"&&!g,R=l.phase==="verify",jl=Mr(R),[Jt,Vu]=Nr(l.reason==="otp_mismatch",l.attemptsRemaining,()=>m("")),Ll=(0,Bl.useId)(),Qu=(0,Bl.useRef)(null);(0,Bl.useEffect)(()=>{let W=setTimeout(()=>Qu.current?.focus({preventScroll:!0}),350);return()=>clearTimeout(W)},[U]);let wt=l.phase==="verify"?l.codeExpiresAt??"sent":null;(0,Bl.useEffect)(()=>{wt!==null&&(A(!1),M.current!==null&&!Hr.has(l.reason??"")&&N(M.current),M.current=null)},[wt]);let Oa=T(async W=>{E(!0),y(null);try{await W()}catch(Dl){y(xn(Dl,c.strings)),u?.(Dl)}finally{E(!1),d(null)}},"run"),fe=Sv.filter(W=>(l.channels??[]).includes(W)),Xu=p.typed,mt=!l.needsPhone||Xu!==null,Wt=T((W,Dl=!1)=>{let _=l.needsPhone?Dl?x:{number:Xu??p.phone,shown:p.shown}:null;M.current=_,d(W??null),Oa(async()=>{try{await l.send({..._!==null?{phone:_.number}:{},...W!==void 0?{channel:W}:{}})}catch(tl){throw M.current=null,tl}})},"send"),Dn=T(W=>{Oa(()=>l.verify(W))},"submitCode"),ju=T(W=>{W.preventDefault(),U?Dn(h):fe.length<=1&&mt&&Wt(fe[0])},"onSubmit"),Lu=`${Ll}-phone`,Ua=kr(l.codeExpiresAt,jl,pv),Oe=kr(l.resendAvailableAt,jl,gv),Ft=U&&l.codeExpiresAt!==void 0&&Ua===0,Cn=l.needsPhone&&!l.attemptsExhausted,$t=R&&(l.codeExpiresAt===void 0||Ua>0),kn=U&&Cn?()=>A(!0):g&&$t?()=>A(!1):null;Zc(kn===null?null:S?()=>{}:kn);let Sl=T(W=>f(W==="whatsapp"?"otp.channelWhatsapp":"otp.channelSms"),"label"),Hn=T(W=>S&&O!==null&&O===W,"busyFor"),[jc,il]=f("otp.sentTo",{channel:Sl(l.channel)}).split("{number}"),It=l.context.simulation?.otpCode,Zu=l.reason==="otp_mismatch"?(0,D.jsxs)(El,{tone:"danger",children:[(0,D.jsx)("span",{children:f("otp.reason_otp_mismatch")}),(0,D.jsx)("span",{children:wc(c,l.attemptsRemaining,l.attemptsExhausted)})]}):l.reason!==void 0&&Hr.has(l.reason)?(0,D.jsx)(El,{tone:"warning",children:(0,D.jsx)("span",{children:f(`otp.reason_${l.reason}`)})}):l.reason==="tester_phone_mismatch"?(0,D.jsx)(El,{tone:"warning",children:(0,D.jsx)("span",{children:f("reasons.tester_phone_mismatch")})}):null,Bn=(0,D.jsxs)(D.Fragment,{children:[Zu,r!==null?(0,D.jsx)(El,{tone:"danger",children:(0,D.jsx)("span",{children:f(r)})}):null]});if(U){let W=fe.length===0;return(0,D.jsxs)("form",{className:`sekyro-step sekyro-otp${a?` ${a}`:""}`,"aria-labelledby":Ll,onSubmit:ju,noValidate:!0,children:[(0,D.jsx)(Pt,{id:Ll,title:f("otp.verifyTitle"),lead:It!==void 0?(0,D.jsx)(ir,{template:f("sandbox.otpHint"),code:It}):(0,D.jsxs)(D.Fragment,{children:[jc,(0,D.jsx)("bdi",{dir:"ltr",className:"sekyro-mono",children:x?.shown??l.sentToMasked}),il]})}),Bn,(0,D.jsxs)("div",{className:"sekyro-field",children:[(0,D.jsx)("label",{className:"sekyro-label",htmlFor:`${Ll}-code`,children:f("otp.codeLabel")}),(0,D.jsx)(_r,{id:`${Ll}-code`,value:h,invalid:Jt,onChange:i(Dl=>{Dl!==""&&Vu(),m(Dl),Dl.length===6&&h.length!==6&&!S&&!l.attemptsExhausted&&Dn(Dl)},"onChange")}),(0,D.jsx)("span",{className:`sekyro-help sekyro-otp-expiry${Ft?" is-danger":""}`,"aria-hidden":!Ft||void 0,children:Ft?f("otp.expired"):f("otp.expiresIn",{time:bv(Ua)})})]}),(0,D.jsx)("span",{className:"sekyro-visually-hidden",role:"status","aria-live":"polite",children:Ft?f("otp.expired"):""}),(0,D.jsxs)(la,{children:[(0,D.jsx)(cl,{type:"submit",full:!0,disabled:S||h.length!==6||l.attemptsExhausted,"aria-busy":S||void 0,children:f("otp.verify")}),(0,D.jsxs)("div",{className:"sekyro-resend-row",children:[W?(0,D.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:S||Oe>0,onClick:i(()=>Wt(void 0,!0),"onClick"),children:Oe>0?f("otp.resendIn",{seconds:Oe}):f("otp.resend")}):Oe>0?(0,D.jsx)("p",{className:"sekyro-resend is-waiting",children:f("otp.resendIn",{seconds:Oe})}):fe.map(Dl=>(0,D.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:S,onClick:i(()=>Wt(Dl,!0),"onClick"),children:f("otp.resendBy",{channel:Sl(Dl)})},Dl)),Cn?(0,D.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:S,onClick:i(()=>A(!0),"onClick"),"data-testid":"sekyro-otp-change",children:f("otp.changeNumber")}):null]})]})]})}return(0,D.jsxs)("form",{className:`sekyro-step sekyro-otp${a?` ${a}`:""}`,"aria-labelledby":Ll,onSubmit:ju,noValidate:!0,children:[(0,D.jsx)(Pt,{id:Ll,title:f("otp.sendTitle"),lead:f("otp.sendDescription")}),Bn,l.needsPhone?(0,D.jsxs)("div",{className:"sekyro-field",children:[(0,D.jsx)("label",{className:"sekyro-label",htmlFor:Lu,children:f("otp.phoneLabel")}),(0,D.jsx)(Er,{field:p,id:Lu,locale:c.locale,t:f,inputRef:Qu,ready:mt})]}):(0,D.jsx)("p",{className:"sekyro-text-muted",children:f("otp.prefilledNotice")}),(0,D.jsxs)(la,{children:[fe.length===1?(0,D.jsx)(cl,{type:"submit",full:!0,disabled:S||!mt,"aria-busy":Hn(fe[0])||void 0,children:f("otp.sendBy",{channel:Sl(fe[0])})}):fe.length>1?(0,D.jsxs)("div",{className:"sekyro-actions__group",role:"group","aria-label":f("otp.chooseChannel"),children:[(0,D.jsx)("p",{className:"sekyro-label","aria-hidden":"true",children:f("otp.chooseChannel")}),(0,D.jsx)("div",{className:"sekyro-channel-row",children:fe.map(W=>(0,D.jsxs)(cl,{kind:"primary",disabled:S||!mt,"aria-busy":Hn(W)||void 0,onClick:i(()=>Wt(W),"onClick"),children:[(0,D.jsx)(ze,{name:W}),Sl(W)]},W))})]}):(0,D.jsx)(cl,{type:"submit",full:!0,disabled:S||!mt,"aria-busy":S||void 0,children:f("otp.send")}),(0,D.jsx)("span",{className:"sekyro-visually-hidden",role:"status","aria-live":"polite",children:S&&O!==null?f("otp.sending",{channel:Sl(O)}):""}),g&&$t?(0,D.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:S,onClick:i(()=>A(!1),"onClick"),"data-testid":"sekyro-otp-back-to-code",children:f("otp.backToCode")}):null]})]})}i(Xr,"ut");T(Xr,"PhoneOtpStep");var zv={load:T(()=>import("./email-otp-view-Q334LLOM-WWVHZUZ3.js"),"load")};function jr({locale:l,strings:e,...t}){let a=Cl(l,e),[n,u]=(0,yt.useState)(0),c=(0,yt.useMemo)(()=>(0,yt.lazy)(()=>zv.load().then(o=>({default:o.EmailOtpView}))),[n]),f=(0,Qe.jsxs)(El,{tone:"danger",children:[(0,Qe.jsx)("span",{children:a.t("errors.network_error")}),(0,Qe.jsx)(cl,{kind:"secondary",onClick:i(()=>u(o=>o+1),"onClick"),children:a.t("common.retry")})]});return(0,Qe.jsx)(Da,{fallback:f,children:(0,Qe.jsx)(yt.Suspense,{fallback:(0,Qe.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:a.t("common.loading")}),children:(0,Qe.jsx)(c,{...t,i18n:a})})},n)}i(jr,"dt");T(jr,"EmailOtpStep");var Tv={load:T(()=>import("./eid-view-PWROMDEV-5AMVHINZ.js"),"load")};function Lr({locale:l,strings:e,...t}){let a=Cl(l,e),[n,u]=(0,vt.useState)(0),c=(0,vt.useMemo)(()=>(0,vt.lazy)(()=>Tv.load().then(o=>({default:o.EidView}))),[n]),f=(0,Xe.jsxs)(El,{tone:"danger",children:[(0,Xe.jsx)("span",{children:a.t("errors.network_error")}),(0,Xe.jsx)(cl,{kind:"secondary",onClick:i(()=>u(o=>o+1),"onClick"),children:a.t("common.retry")})]});return(0,Xe.jsx)(Da,{fallback:f,children:(0,Xe.jsx)(vt.Suspense,{fallback:(0,Xe.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:a.t("common.loading")}),children:(0,Xe.jsx)(c,{...t,i18n:a})})},n)}i(Lr,"pt");T(Lr,"EidStep");function Kr({step:l,locale:e,strings:t,className:a,onError:n}){let u=Cl(e,t),{busy:c,error:f,run:o}=vr(u,n),s=(0,Zr.useMemo)(()=>l.choice.options.flatMap(p=>{let h=yr(p,u),m=hr[p.service];return h===null?[]:[{id:p.id,label:h,glyph:m&&(0,Ca.jsx)(ze,{name:m})}]}),[l.choice.options,u]),v=l.choice.options.find(p=>p.service==="national_eid");return(0,Ca.jsxs)("div",{className:a,children:[(0,Ca.jsx)(sr,{title:u.t("method.heading"),description:u.t("method.description"),options:s,busy:c,error:f,focus:!0,testId:"sekyro-method",onChoose:i(p=>o(()=>l.choose(p)),"onChoose")}),v?.nationalEid?.afterPass==="continue"?(0,Ca.jsx)(kl,{view:"EidContinueHint",i18n:u,provider:v.nationalEid.providerName,quiet:!0}):null]})}i(Kr,"ft");T(Kr,"MethodChoice");var Ev=new Set(["nni_not_found","registry_record_not_found"]),Nv=new Set(["nni_invalid","id_number_invalid"]);function ff({step:l,locale:e,strings:t,className:a,onError:n}){let u=Cl(e,t),{t:c}=u,[f,o]=(0,ka.useState)(""),[s,v]=(0,ka.useState)(!1),[p,h]=(0,ka.useState)(null),m=(0,ka.useId)(),S=l.attemptsExhausted,E=T(async M=>{v(!0),h(null);try{await M()}catch(U){h(xn(U,u.strings)),n?.(U)}finally{v(!1)}},"run"),O=T(M=>{if(M.preventDefault(),l.source!=="typed"){E(()=>l.confirm());return}let U=Br(f);if(!/^\d{10}$/.test(U))return h("population.invalid");if(!Av(U))return h("population.reason_id_number_invalid");E(()=>typeof l.submitIdNumber=="function"?l.submitIdNumber(U):l.submitNni(U))},"onSubmit"),d=wc(u,l.attemptsRemaining,S),r=l.reason!==void 0&&Ev.has(l.reason),y=l.reason!==void 0&&Nv.has(l.reason),g=(0,P.jsxs)(P.Fragment,{children:[l.reason==="registry_unavailable"?(0,P.jsxs)(El,{tone:"warning",children:[(0,P.jsx)("span",{children:c("population.reason_registry_unavailable")}),(0,P.jsx)("span",{children:d})]}):null,r&&l.canUseDocument?(0,P.jsxs)(El,{tone:"warning",children:[(0,P.jsx)("span",{children:c("population.reason_registry_record_not_found_or_document")}),(0,P.jsx)("span",{children:d}),(0,P.jsx)(cl,{kind:"secondary",disabled:s,onClick:i(()=>{E(()=>l.useDocument())},"onClick"),children:c("population.useDocument")})]}):null,r&&!l.canUseDocument||y?(0,P.jsxs)(El,{tone:"danger",children:[(0,P.jsx)("span",{children:c(r?"population.reason_registry_record_not_found":"population.reason_id_number_invalid")}),(0,P.jsx)("span",{children:d})]}):null,S&&l.reason===void 0?(0,P.jsx)(El,{tone:"danger",children:(0,P.jsx)("span",{children:d})}):null,p!==null?(0,P.jsx)(El,{tone:"danger",children:(0,P.jsx)("span",{children:c(p)})}):null]}),[A,x,N]=l.source==="document"?["population.fromDocument.title","population.fromDocument.description","population.fromDocument.continue"]:l.source==="bound"?["session.steps.population.title","population.bound.description","population.bound.confirm"]:l.recheck?["population.recheck.title","population.recheck.description","population.submit"]:["session.steps.population.title","session.steps.population.description","population.submit"];return(0,P.jsxs)("form",{className:`sekyro-step${a?` ${a}`:""}`,"aria-labelledby":m,onSubmit:O,noValidate:!0,children:[(0,P.jsx)(Pt,{id:m,title:c(A),lead:c(x)}),g,l.source==="typed"?(0,P.jsxs)("div",{className:"sekyro-field",children:[(0,P.jsx)("label",{className:"sekyro-label",htmlFor:`${m}-id-number`,children:c("population.label")}),(0,P.jsx)("input",{id:`${m}-id-number`,className:"sekyro-input sekyro-input--number",dir:"ltr",inputMode:"numeric",autoComplete:"off",placeholder:c("population.placeholder"),value:f,"aria-describedby":`${m}-id-number-help`,"aria-invalid":p==="population.invalid"||p==="population.reason_id_number_invalid"||void 0,onChange:i(M=>{h(null),o(Br(M.target.value).replace(/\D/g,"").slice(0,10))},"onChange")}),(0,P.jsx)("span",{id:`${m}-id-number-help`,className:"sekyro-help",children:c("population.helper")})]}):null,(0,P.jsx)(la,{children:S?null:(0,P.jsx)(cl,{type:"submit",full:!0,disabled:s,"aria-busy":s||void 0,children:c(N)})})]})}i(ff,"Qe");T(ff,"IdNumberEntry");function _v(l){return ff(l)}i(_v,"Tn");T(_v,"NniEntry");var Dv=220;function Jr(l,e,t=[],a){let n=null;try{n=new Intl.DisplayNames([l],{type:"region"})}catch{}let u=e.map(o=>({code:o,name:n?.of(o)??o})),c=new Intl.Collator(l),f=T(o=>{if(o===a)return-1;let s=t.indexOf(o);return s<0?t.length:s},"rank");return u.sort((o,s)=>f(o.code)-f(s.code)||c.compare(o.name,s.name))}i(Jr,"Bn");T(Jr,"countryNames");function wr({step:l,i18n:e,issuer:t,onPicked:a,ageStepUp:n=!1}){let{t:u,locale:c}=e,f=(0,Le.useMemo)(()=>Uv(l.documents),[l.documents]),o=(0,Le.useMemo)(()=>Jr(c,f,Object.keys(l.documents.byIssuer??{}),l.detectedCountry),[c,f,l.documents,l.detectedCountry]),s=f.length===1?f[0]:null,[v,p]=(0,Le.useState)(t??s),[h,m]=(0,Le.useState)(null),S=s===null?[]:ef(l.documents,s),E=s!==null&&S.length===1?S[0]:null;(0,Le.useEffect)(()=>{s!==null&&E!==null&&l.selectDocument(s,E)},[s,E]);let O=T((y,g)=>{l.selectDocument(y,g),a?.()},"pick"),d=T(y=>{let g=ef(l.documents,y);g.length===1?O(y,g[0]):p(y)},"chooseIssuer");if((0,Le.useEffect)(()=>{if(h===null||v===null)return;let y=setTimeout(()=>O(v,h),Dv);return()=>clearTimeout(y)},[h]),Zc(v!==null&&f.length>1&&t===void 0?()=>{p(null),m(null)}:null),E!==null)return null;if(v===null)return(0,Nl.jsxs)("section",{className:"sekyro-step",children:[(0,Nl.jsx)(Pt,{title:u("doc.countryTitle"),lead:u(n?"doc.ageStepUp":"doc.pickDescription")}),(0,Nl.jsx)(Tr,{countries:o,label:u("doc.countryLabel"),searchPlaceholder:u("doc.countrySearch"),noMatch:u("doc.noCountryMatch"),onPick:d}),(0,Nl.jsx)(la,{children:null})]});let r=ef(l.documents,v);return(0,Nl.jsxs)("section",{className:"sekyro-step",children:[(0,Nl.jsx)(Pt,{title:u("doc.pickTitle"),lead:u(n&&s!==null?"doc.ageStepUp":"native.doc.holdIt")}),(0,Nl.jsx)("div",{className:"sekyro-choices",children:r.map(y=>(0,Nl.jsxs)("button",{type:"button",className:"sekyro-card","aria-pressed":h===y,disabled:h!==null&&h!==y,onClick:i(()=>m(y),"onClick"),children:[(0,Nl.jsx)("span",{className:"sekyro-card__tile",children:(0,Nl.jsx)(ze,{name:y==="passport"?"passport":"card"})}),(0,Nl.jsxs)("span",{className:"sekyro-card__body",children:[(0,Nl.jsx)("span",{className:"sekyro-card__title",children:u(`doc.type.${y}`)}),(0,Nl.jsx)("span",{className:"sekyro-card__sub",children:u(`doc.sub.${y}`)})]}),(0,Nl.jsx)("span",{className:"sekyro-radio","aria-hidden":"true"})]},y))}),f.length>1?(0,Nl.jsx)("button",{type:"button",className:"sekyro-link",onClick:i(()=>{p(null),m(null)},"onClick"),children:u("native.doc.changeCountry")}):null,(0,Nl.jsx)(la,{children:null})]})}i(wr,"vo");T(wr,"DocumentPicker");var Cv={load:T(()=>import("./document-capture-view-FSMO25KF-FFRQD2FZ.js"),"load")};function Wr({step:l,locale:e,strings:t,className:a,liveMrz:n,barcodeAssetBaseUrl:u}){let c=Cl(e,t),[f,o]=(0,oe.useState)(0),[s,v]=(0,oe.useState)(null),p=Mv(l.documents),h=p.length>1,m=l.issuer!==null&&xr(l.documents,l.issuer).length>1,S=l.documentType===null||l.issuer===null||s!==null,E=p.length===1&&xr(l.documents,p[0]).length===1,[O]=(0,oe.useState)(()=>S&&!E),d=l.ageStepUp===!0,r=(0,oe.useMemo)(()=>(0,oe.lazy)(()=>Cv.load().then(g=>({default:g.DocumentCaptureView}))),[f]);(0,oe.useEffect)(()=>{Ov()},[]);let y=(0,Te.jsxs)(El,{tone:"danger",children:[(0,Te.jsx)("span",{children:c.t("errors.network_error")}),(0,Te.jsx)(cl,{kind:"secondary",onClick:i(()=>o(g=>g+1),"onClick"),children:c.t("doc.retryCamera")})]});return(0,Te.jsx)("div",{className:a,children:S?(0,Te.jsx)(wr,{step:l,i18n:c,ageStepUp:d&&s===null&&O,...s==="document"&&l.issuer!==null?{issuer:l.issuer}:{},onPicked:i(()=>v(null),"onPicked")}):(0,Te.jsx)(Da,{fallback:y,children:(0,Te.jsx)(oe.Suspense,{fallback:(0,Te.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:c.t("common.loading")}),children:(0,Te.jsx)(r,{step:l,i18n:c,ageLead:d&&!O,liveMrz:l.documentType==="drivers_license"?void 0:n,barcodeAssetBaseUrl:u,...h?{onChangeCountry:T(()=>v("country"),"onChangeCountry")}:{},...m?{onChangeDocument:T(()=>v("document"),"onChangeDocument")}:{}})})},f)})}i(Wr,"St");T(Wr,"DocumentCapture");var Hv={load:T(()=>import("./portrait-capture-view-G4BE6IVC-5UKZX7HH.js"),"load")},Bv={load:T(()=>import("./portrait-review-view-WGI5PXWF-PITOWYGV.js"),"load")},Ha,Fr=(Ha=class extends _l.Component{constructor(){super(...arguments),this.state={failed:!1}}static getDerivedStateFromError(){return{failed:!0}}render(){return this.state.failed?this.props.fallback:this.props.children}},i(Ha,"bt"),Ha);T(Fr,"LoadBoundary");var qr=Fr;function $r({step:l,i18n:e}){let{t}=e,a=wu();return(0,K.jsxs)("section",{className:"sekyro-stack sekyro-stack--2","data-testid":"sekyro-portrait-match",children:[(0,K.jsx)("h2",{ref:a,tabIndex:-1,className:"sekyro-text-body",children:t(l.review?"portrait.reviewTitle":"session.steps.portrait.title")}),l.review?(0,K.jsx)("p",{className:"sekyro-text-muted",children:t("portrait.reviewDescription")}):null,l.uploadFailed?(0,K.jsxs)(El,{tone:"danger",children:[(0,K.jsx)("span",{children:t("portrait.uploadFailed")}),(0,K.jsx)(cl,{kind:"secondary",onClick:i(()=>{l.resubmit()},"onClick"),children:t("portrait.sendAgain")})]}):(0,K.jsx)("p",{role:"status","aria-live":"polite","aria-busy":"true",className:"sekyro-text-muted",children:t("portrait.matching")})]})}i($r,"Wn");T($r,"MatchPhase");function Ir({step:l,locale:e,strings:t,className:a,assetBaseUrl:n,verification:u}){let c=Cl(e,t),f=dr(u),o=(0,_l.useContext)(Jc),[s,v]=(0,_l.useState)(0),[p,h]=(0,_l.useState)(null),m=(0,_l.useMemo)(()=>(0,_l.lazy)(()=>Hv.load().then(N=>({default:N.PortraitCaptureView}))),[s]),S=(0,_l.useMemo)(()=>(0,_l.lazy)(()=>Bv.load().then(N=>({default:N.PortraitScreens}))),[s]),E=typeof l.uploadPortrait=="function",O=E?l.photo?.source??"camera":"camera",d=E&&O!=="camera"&&l.photo?.uploadOffered===!0,r=O!=="upload",y=O==="upload"?"upload":O==="choice"?p??l.photo?.pick??"source":"camera",g=l.phase==="capture"&&l.photo?.cameraOnPhone===!0;if((0,_l.useEffect)(()=>{l.phase==="capture"&&y==="camera"&&!g&&kv()},[l.phase,y,g]),l.phase==="match")return(0,K.jsx)("div",{className:a,children:(0,K.jsx)($r,{step:l,i18n:c})});let A=(0,K.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:c.t("common.loading")});if(o!==null&&(o.busy||o.failed!==null)&&l.phase==="capture"&&y==="camera")return(0,K.jsxs)("section",{className:`sekyro-step${a?` ${a}`:""}`,children:[(0,K.jsx)(Pt,{title:c.t("session.steps.portrait.title")}),(0,K.jsx)(la,{children:(0,K.jsx)(cl,{kind:"secondary",full:!0,disabled:o.busy,onClick:o.reset,children:c.t("portrait.retryCamera")})})]});if(l.phase==="review"||y!=="camera"||g)return(0,K.jsx)("div",{className:a,children:(0,K.jsx)(qr,{fallback:(0,K.jsx)(cl,{kind:"ghost",onClick:i(()=>v(N=>N+1),"onClick"),children:c.t("common.retry")}),children:(0,K.jsx)(_l.Suspense,{fallback:A,children:(0,K.jsx)(S,{screen:l.phase==="review"?"review":g&&y==="camera"?"phone":y==="camera"?"review":y,step:l,i18n:c,...r?{onCamera:T(()=>h("camera"),"onCamera")}:{},onUpload:i(()=>h("upload"),"onUpload"),onDeclined:i(()=>h(null),"onDeclined")})})},s)});if(!f.settled)return(0,K.jsx)("div",{className:a,children:A});let x=(0,K.jsxs)(El,{tone:"danger",children:[(0,K.jsx)("span",{children:c.t("errors.network_error")}),(0,K.jsx)(cl,{kind:"secondary",onClick:i(()=>v(N=>N+1),"onClick"),children:c.t("portrait.retryCamera")})]});return(0,K.jsx)("div",{className:a,children:(0,K.jsx)(qr,{fallback:x,children:(0,K.jsx)(_l.Suspense,{fallback:A,children:(0,K.jsx)(m,{step:l,i18n:c,...n!==void 0?{assetBaseUrl:n}:{},...d?{onUpload:T(()=>h("upload"),"onUpload")}:{}})})},s)})}i(Ir,"ht");T(Ir,"PortraitCapture");var xv={load:T(()=>import("./proof-of-address-view-CFVHB2XR-Y6DJUU4V.js"),"load")};function Pr({step:l,locale:e,strings:t,className:a}){let n=Cl(e,t),[u,c]=(0,pt.useState)(0),f=(0,pt.useMemo)(()=>(0,pt.lazy)(()=>xv.load().then(s=>({default:s.ProofOfAddressView}))),[u]),o=(0,De.jsxs)(El,{tone:"danger",children:[(0,De.jsx)("span",{children:n.t("errors.network_error")}),(0,De.jsx)(cl,{kind:"secondary",onClick:i(()=>c(s=>s+1),"onClick"),children:n.t("common.retry")})]});return(0,De.jsx)("div",{className:a,children:(0,De.jsx)(Da,{fallback:o,children:(0,De.jsx)(pt.Suspense,{fallback:(0,De.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:n.t("common.loading")}),children:(0,De.jsx)(f,{step:l,i18n:n})})},u)})}i(Pr,"vt");T(Pr,"ProofOfAddress");var qv={load:T(()=>import("./form-view-XPOGTYL6-NGLOEF3Y.js"),"load")};function ld({step:l,locale:e,strings:t,className:a,onError:n}){let u=Cl(e,t),[c,f]=(0,gt.useState)(0),o=(0,gt.useMemo)(()=>(0,gt.lazy)(()=>qv.load().then(v=>({default:v.FormView}))),[c]),s=(0,Ce.jsxs)(El,{tone:"danger",children:[(0,Ce.jsx)("span",{children:u.t("errors.network_error")}),(0,Ce.jsx)(cl,{kind:"secondary",onClick:i(()=>f(v=>v+1),"onClick"),children:u.t("common.retry")})]});return(0,Ce.jsx)("div",{className:a,children:(0,Ce.jsx)(Da,{fallback:s,children:(0,Ce.jsx)(gt.Suspense,{fallback:(0,Ce.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:u.t("common.loading")}),children:(0,Ce.jsx)(o,{step:l,i18n:u,...n!==void 0?{onError:n}:{}})})},c)})}i(ld,"Ct");T(ld,"FormStep");var Rr={light:{lineBrand:"#0d3b66",successSoft:"#d5f0e8",successFg:"#005341",onSuccess:"#ffffff",warningSoft:"#fff7e6",warningFg:"#735003",onWarning:"#191a1b",dangerSoft:"#ffdada",dangerFg:"#ca0f07",onDanger:"#ffffff",info:"#0563d4",infoSoft:"#d3e5ff",infoFg:"#064da5",onInfo:"#ffffff"},dark:{lineBrand:"#3f80bf",successSoft:"#002c23",successFg:"#53ffd4",onSuccess:"#030303",warningSoft:"#463102",warningFg:"#ffd98a",onWarning:"#030303",dangerSoft:"#9c1008",dangerFg:"#ffbbbb",onDanger:"#030303",info:"#5da9ff",infoSoft:"#063778",infoFg:"#acd0ff",onInfo:"#030303"},sizes:{buttonHeight:"52px",controlRadius:"10px",cardRadius:"16px",fieldRadius:"10px",iconTile:"56px",iconTileRadius:"16px",headerTile:"40px",choiceTile:"40px",tileRadius:"10px",resultDisc:"64px",resultRing:"8px",progressHeight:"4px",focusRing:"2px",focusRingOffset:"2px",otpBox:"60px",choiceMinHeight:"76px",stepGap:"32px",headingGap:"12px"},motion:{page:"320ms",easeOut:"cubic-bezier(0.16, 1, 0.3, 1)"}},of={light:{danger:{base:"#ca0f07",soft:"#ffdada",fg:"#ca0f07",on:"#ffffff"},success:{base:"#007a5e",soft:"#d5f0e8",fg:"#005341",on:"#ffffff"},warning:{base:"#ffab00",soft:"#fff7e6",fg:"#735003",on:"#191a1b"},info:{base:"#0563d4",soft:"#d3e5ff",fg:"#064da5",on:"#ffffff"}},dark:{danger:{base:"#ff7c7c",soft:"#9c1008",fg:"#ffbbbb",on:"#030303"},success:{base:"#00c897",soft:"#002c23",fg:"#53ffd4",on:"#030303"},warning:{base:"#ffbb2e",soft:"#463102",fg:"#ffd98a",on:"#030303"},info:{base:"#5da9ff",soft:"#063778",fg:"#acd0ff",on:"#030303"}}},Yv=["danger","success","warning","info"];function ti(l){let e=l/255;return e<=.03928?e/12.92:((e+.055)/1.055)**2.4}i(ti,"Nt");T(ti,"channel");function tf(l){let e=ti(parseInt(l.slice(1,3),16)),t=ti(parseInt(l.slice(3,5),16)),a=ti(parseInt(l.slice(5,7),16));return .2126*e+.7152*t+.0722*a}i(tf,"xo");T(tf,"luminance");function ed(l,e){let t=tf(l),a=tf(e),n=Math.max(t,a),u=Math.min(t,a);return(n+.05)/(u+.05)}i(ed,"lr");T(ed,"contrastRatio");function af(l,e){return Math.min(...Yv.map(t=>ed(of[l][t].fg,e)))}i(af,"Io");T(af,"worstAgainst");function nf(l,e,t){return Math.min(af(l,e),af(l,t))}i(nf,"To");T(nf,"worstStatusContrast");function td(l,e){return nf("light",l,e)>=nf("dark",l,e)?"light":"dark"}i(td,"Eo");T(td,"statusSchemeFor");function sf({open:l,title:e,closeLabel:t,onClose:a,children:n,actions:u,role:c,testId:f,returnFocus:o}){let s=(0,ht.useRef)(null),v=(0,ht.useRef)(null),p=(0,ht.useRef)(!1),h=(0,ht.useId)();return(0,ht.useEffect)(()=>{let m=s.current;if(m!==null){if(l&&!m.open?(v.current=typeof document>"u"?null:document.activeElement,typeof m.showModal=="function"?m.showModal():m.setAttribute("open","")):!l&&m.open&&(typeof m.close=="function"?m.close():m.removeAttribute("open")),!l&&p.current){let S=o?.current??(v.current instanceof HTMLElement?v.current:null);v.current=null,S?.focus()}p.current=l}},[l,o]),(0,ke.jsx)("dialog",{ref:s,className:"sekyro-dialog","aria-labelledby":h,...c==="alertdialog"?{role:c}:{},"data-testid":f,onCancel:i(m=>{m.preventDefault(),a()},"onCancel"),onClick:i(m=>{m.target===m.currentTarget&&a()},"onClick"),children:(0,ke.jsxs)("div",{className:"sekyro-dialog__panel",children:[(0,ke.jsxs)("div",{className:"sekyro-dialog__head",children:[(0,ke.jsx)("h2",{id:h,className:"sekyro-dialog__title",children:e}),t!==void 0?(0,ke.jsx)("button",{type:"button",className:"sekyro-disc sekyro-dialog__close","aria-label":t,onClick:a,children:(0,ke.jsx)(ze,{name:"close"})}):null]}),n!==void 0?(0,ke.jsx)("div",{className:"sekyro-dialog__body",children:n}):null,u!==void 0?(0,ke.jsx)("div",{className:"sekyro-dialog__actions",children:u}):null]})})}i(sf,"et");T(sf,"FlowDialog");var Gv=["intro","data","processing","sharing","retention"];function ad({i18n:l,purpose:e="identity"}){let{t}=l,[a,n]=(0,ni.useState)(!1),u=(0,ni.useRef)(null),[c,f=""]=t("consent.short").split("{terms}");return(0,je.jsxs)("div",{className:"sekyro-consent","data-testid":"sekyro-consent",children:[(0,je.jsxs)("p",{className:"sekyro-consent__line",children:[c,(0,je.jsx)("button",{ref:u,type:"button",className:"sekyro-link sekyro-link--inline","aria-haspopup":"dialog",onClick:i(()=>n(!0),"onClick"),children:t("consent.termsLink")}),f]}),(0,je.jsx)(sf,{open:a,title:t("consent.termsTitle"),closeLabel:t("native.close"),onClose:i(()=>n(!1),"onClose"),returnFocus:u,testId:"sekyro-consent-terms",children:(0,je.jsx)("div",{className:"sekyro-stack sekyro-stack--3",children:e==="human"?(0,je.jsx)(kl,{view:"HumanConsentTerms",i18n:l,quiet:!0}):Gv.map(o=>(0,je.jsx)("p",{children:t(`consent.terms.${o}`)},o))})})]})}i(ad,"Bo");T(ad,"ConsentNotice");function nd(l){let e=l.trim().split(/\s+/).filter(t=>t!=="");return(e.length>=2?[e[0],e[1]].map(t=>Array.from(t??"")[0]??""):Array.from(e[0]??"").slice(0,2)).join("").toUpperCase()}i(nd,"Lo");T(nd,"initials");var id=T(l=>({colors:{...l?Hl.dark:Hl.light},radius:Hl.radius,fontFamily:Hl.font}),"brandTheme"),eb=id(!1),Yr=/^#[0-9a-f]{6}$/i;function rf(l,e,t){if(e)return null;let a=Pu(l).colors,n=t?.colors?.bg??a?.bg,u=t?.colors?.surface??a?.surface;return n===void 0&&u===void 0||n!==void 0&&!Yr.test(n)||u!==void 0&&!Yr.test(u)?null:td(n??Hl.light.bg,u??Hl.light.surface)}i(rf,"Pt");T(rf,"partnerStatusScheme");function df(l,e,t){let a=Pu(l);if(t&&a.colors!==void 0){let{brand:n,brandFg:u}=a.colors;n!==void 0&&od(n,Hl.dark.bg)>=3?a.colors={brand:n,ring:n,...u!==void 0?{brandFg:u}:{}}:delete a.colors}if(rf(l,t,e)==="dark"){let n=of.dark;a.colors={...a.colors,danger:n.danger.base,success:n.success.base,warning:n.warning.fg}}return li(id(t),a,Iu(e))}i(df,"tt");T(df,"verificationTheme");function mf(l){let e=(0,ud.useSyncExternalStore)(fd,Qv,()=>!1);return l==="dark"||l==="system"&&e}i(mf,"ot");T(mf,"useDarkScheme");var Vv="(prefers-color-scheme: dark)",cd=T(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia(Vv):null,"media"),Qv=T(()=>cd()?.matches??!1,"prefersDark");function fd(l){let e=cd();return e?.addEventListener("change",l),()=>e?.removeEventListener("change",l)}i(fd,"kr");T(fd,"subscribe");function od(l,e){let[t,a]=[uf(l),uf(e)];return(Math.max(t,a)+.05)/(Math.min(t,a)+.05)}i(od,"Sr");T(od,"contrast");function uf(l){let e=[1,3,5].map(t=>{let a=Number.parseInt(l.slice(t,t+2),16)/255;return a<=.03928?a/12.92:((a+.055)/1.055)**2.4});return .2126*(e[0]??0)+.7152*(e[1]??0)+.0722*(e[2]??0)}i(uf,"Vo");T(uf,"luminance");var hf="sekyro.testerGate";function ui(){try{return typeof localStorage>"u"?null:localStorage}catch{return null}}i(ui,"It");T(ui,"store");function sd(l=Date.now()){try{ui()?.setItem(hf,String(l))}catch{}}i(sd,"Mo");T(sd,"rememberTester");function rd(l=Date.now()){try{let e=Number(ui()?.getItem(hf)??"");return Number.isFinite(e)&&e>0&&l-e<2592e6}catch{return!1}}i(rd,"Ho");T(rd,"rememberedTester");function dd(){try{ui()?.removeItem(hf)}catch{}}i(dd,"Uo");T(dd,"forgetTester");var Gr=new Set(["document_id_number_mismatch","name_mismatch","birth_date_mismatch"]),Xv={review:{icon:"pending",tone:"info"},cooldown:{icon:"timer",tone:"info"},rejected:{icon:"close",tone:"neutral"},policy:{icon:"close",tone:"neutral"},inconclusive:{icon:"warning",tone:"neutral"},unavailable:{icon:"timer",tone:"neutral"},expired:{icon:"timer",tone:"neutral"}};function md({screen:l}){if(l==="verified")return(0,F.jsxs)("svg",{className:"sekyro-outcome sekyro-outcome--approved",viewBox:"0 0 136 136","aria-hidden":"true",focusable:"false",children:[(0,F.jsx)("circle",{className:"sekyro-outcome__ring",cx:"68",cy:"68",r:"54",pathLength:"1"}),(0,F.jsx)("circle",{className:"sekyro-outcome__disc",cx:"68",cy:"68",r:"48"}),(0,F.jsx)("path",{className:"sekyro-outcome__glyph",d:"M6.5 12.5l3.6 3.6 7.4-8.2",pathLength:"1",transform:"translate(39 39) scale(2.4167)"})]});let{icon:e,tone:t}=Xv[l];return(0,F.jsx)("span",{className:`sekyro-tile sekyro-tile--${t} sekyro-outcome-tile`,"aria-hidden":"true","data-screen":l,children:(0,F.jsx)(ze,{name:e})})}i(md,"wr");T(md,"OutcomeMark");function hd({label:l,id:e,copied:t}){let[a,n]=(0,Ba.useState)(!1);return(0,Ba.useEffect)(()=>{if(!a)return;let u=setTimeout(()=>n(!1),1600);return()=>clearTimeout(u)},[a]),(0,F.jsxs)("button",{type:"button",className:`sekyro-reference${a?" is-copied":""}`,onClick:i(()=>{navigator.clipboard?.writeText(e).then(()=>n(!0),()=>{})},"onClick"),children:[(0,F.jsx)("span",{"aria-live":"polite",children:a?t:l}),(0,F.jsx)("bdi",{dir:"ltr",children:e}),(0,F.jsx)(ze,{name:"copy"})]})}i(hd,"Nr");T(hd,"ReferenceLine");function yd({step:l,t:e}){let t=l.context.sandbox?l.context.simulation?.reason:void 0;return t===void 0?null:(0,F.jsxs)(Wu,{tone:"warning",role:"status",testId:"sekyro-simulated-notice",children:[(0,F.jsx)("span",{className:"sekyro-notice__icon","aria-hidden":"true",children:(0,F.jsx)(ze,{name:"info"})}),(0,F.jsxs)("div",{className:"sekyro-notice__body","data-reason":t,children:[(0,F.jsx)("strong",{children:e("sandbox.simulatedTitle")}),(0,F.jsx)("span",{children:e(t==="no_testers"?"sandbox.simulatedNoTesters":"sandbox.simulatedGate")})]})]})}i(yd,"_r");T(yd,"SimulationNotice");function vd(l,e){return l==="expired"?"native.result.expiredTitle":l!=="verified"?`session.result.${l}.title`:e.level===3?"session.result.verified.title":e.level===1&&e.assurance==="contact_phone"?"session.result.verified.titlePhone":e.level===1&&e.assurance==="contact_email"?"session.result.verified.titleEmail":e.level===1?"session.result.verified.titleContact":"session.result.verified.titleHuman"}i(vd,"Pr");T(vd,"resultTitleKey");function pd({step:l,locale:e,strings:t,className:a,onClose:n}){let u=Cl(e,t),{t:c}=u,f=(0,Ba.useId)(),o=wu(),s=l.context.orgName,v=l.reasonCode??"",p=l.display==="platform_unsupported"?"policy":l.display,h=T(S=>(s!==""||S==="verified")&&S!=="cooldown"?c(`native.result.${S}`,{org:s}):c(`session.result.${S}.description`),"partnerLine"),m;switch(l.display){case"rejected":v==="identity_not_verified"?m=s!==""?c("reasons.identity_not_verified",{org:s}):c("session.result.identityNotVerified"):m=Gr.has(Lc(v))?c("session.result.detailsMismatch",{org:s}):h("rejected");break;case"policy":{if(Gr.has(Lc(v)))m=c("session.result.detailsMismatch",{org:s});else if(v==="device_velocity_exceeded")m=c("session.result.deviceVelocity",{org:s});else if(v==="capture_tampered")m=c("session.result.deviceStop");else if(v==="camera_unavailable")m=c("reasons.camera_unavailable",{org:s});else if(v==="underage_estimated")m=c("reasons.underage_estimated");else if(v==="starter_credit_claimed")m=c("reasons.starter_credit_claimed");else if(v==="blocked_by_org")m=c("reasons.blocked_by_org");else{let S=v===""?null:Ps(v);m=S!==null?c(S,{org:s}):h("policy")}break}case"cooldown":{let S=lr(u.locale,l.retryAfter);m=S!==null?c(S.key,{time:S.time}):c("session.result.cooldown.description");break}case"platform_unsupported":m=c("result.platform_unsupported");break;default:m=h(p)}return(0,F.jsxs)("section",{className:`sekyro-result${a?` ${a}`:""}`,"aria-labelledby":f,"data-testid":"sekyro-result",children:[(0,F.jsxs)("div",{className:"sekyro-result__body",children:[(0,F.jsx)(md,{screen:p}),(0,F.jsxs)("div",{className:"sekyro-heading",children:[(0,F.jsx)("h2",{id:f,ref:o,tabIndex:-1,className:"sekyro-text-body",children:c(vd(p,l.result))}),(0,F.jsx)("p",{className:"sekyro-text-muted",children:m})]}),(0,F.jsx)(yd,{step:l,t:c}),(0,F.jsx)(hd,{label:c("result.referenceLabel"),id:l.context.sessionId,copied:c("native.result.copied")})]}),n!==void 0?(0,F.jsx)("div",{className:"sekyro-actions",children:(0,F.jsx)(cl,{full:!0,onClick:n,children:c("native.result.continue",{org:s})})}):null]})}i(pd,"Tt");T(pd,"VerificationResultScreen");function gd(l,e,t){let a=e?Hl.dark:Hl.light,n=e?Hl.roles.dark:Hl.roles.light,u=l.colors??{},c={},f=u.fg===a.fg&&u.surface===a.surface;u.brand===a.brand&&u.surface===a.surface&&(c["--sekyro-color-brand-soft"]=n.brandSoft),f&&(c["--sekyro-color-line"]=n.line,c["--sekyro-color-line-subtle"]=n.lineSubtle,c["--sekyro-color-line-strong"]=n.lineStrong,c["--sekyro-color-sunken"]=n.sunken),u.fgMuted===a.fgMuted&&u.surface===a.surface&&(c["--sekyro-color-fg-subtle"]=n.fgSubtle),l.fontFamily===Hl.font&&(c["--sekyro-font-display"]=Hl.fontDisplay);let o=e?Rr.dark:Rr.light;if(c["--sekyro-color-success-soft"]=o.successSoft,c["--sekyro-color-success-fg"]=o.successFg,c["--sekyro-color-on-success"]=o.onSuccess,c["--sekyro-color-warning-soft"]=o.warningSoft,c["--sekyro-color-warning-fg"]=o.warningFg,c["--sekyro-color-danger-soft"]=o.dangerSoft,c["--sekyro-color-danger-fg"]=o.dangerFg,c["--sekyro-color-on-danger"]=o.onDanger,c["--sekyro-color-info-soft"]=o.infoSoft,c["--sekyro-color-info-fg"]=o.infoFg,u.brand===a.brand&&(c["--sekyro-color-line-brand"]=o.lineBrand),t!==null){let s=of[t];for(let v of["danger","success","warning","info"])c[`--sekyro-color-${v}-soft`]=s[v].soft,c[`--sekyro-color-${v}-fg`]=s[v].fg;c["--sekyro-color-on-success"]=s.success.on,c["--sekyro-color-on-danger"]=s.danger.on}return c}i(gd,"Er");T(gd,"flowRoles");function ii(l){let{verification:e,locale:t,strings:a,onStep:n,onResult:u}=l,{step:c,error:f}=Vr(e);(0,C.useEffect)(()=>{c!==null&&n?.(c)},[c,n]),(0,C.useEffect)(()=>u===void 0?void 0:e.on("result",u),[e,u]);let o=mf(l.colorScheme??"light"),s=c?.context.branding,v=df(s,l.theme,o),[p,h]=(0,C.useState)(!1),m=`sekyro-verification${o?" sekyro-verification--dark":""}${p?" is-immersive":""}${l.className!==void 0?` ${l.className}`:""}`,S=(0,C.useRef)(l.onClose);S.current=l.onClose;let E=(0,C.useRef)(c);E.current=c;let O=(0,C.useCallback)(()=>{let A=E.current;S.current?.(A?.kind==="result"?{reason:"finished",result:A.result}:{reason:"cancelled"})},[]),[d,r]=(0,C.useState)(null),y=(0,C.useCallback)(()=>{let A=E.current;A!==null&&A.kind!=="result"&&A.context.consentRecorded?r("close"):O()},[O]),g=(0,C.useMemo)(()=>e.reportCaptureIssue===void 0?null:A=>e.reportCaptureIssue?.(A),[e]);return(0,z.jsx)(ei,{theme:v,className:m,children:(0,z.jsx)(Fc,{locale:t,...a!==void 0?{strings:a}:{},children:(0,z.jsx)("div",{dir:l.dir??(t==="ar"?"rtl":"ltr"),lang:t,className:"sekyro-flow",style:gd(v,o,rf(s,o,l.theme)),children:(0,z.jsx)(nr.Provider,{value:h,children:(0,z.jsx)(Kc.Provider,{value:l.onClose!==void 0?O:void 0,children:(0,z.jsx)(Fu.Provider,{value:l.onClose!==void 0?y:void 0,children:(0,z.jsxs)(or.Provider,{value:g,children:[(0,z.jsx)(Nd,{...l,step:c,error:f,immersive:p,onLeaveAsk:i(()=>r("history"),"onLeaveAsk"),onClosed:O}),(0,z.jsx)(Td,{open:d!==null,onStay:i(()=>{d==="history"&&ai(),r(null)},"onStay"),onLeave:i(()=>{let A=d;r(null),A==="close"||l.onClose!==void 0?O():typeof window<"u"&&vf()},"onLeave")})]})})})})})})})}i(ii,"Ot");T(ii,"SekyroVerification");function bd(l,e){if(e===void 0||e==="aml_screening")return null;let t=l,a=t[`session.processing.${e}.title`],n=t[`session.processing.${e}.description`];return typeof a=="string"&&a!==""&&typeof n=="string"&&n!==""?{title:a,description:n}:null}i(bd,"Rr");T(bd,"processingCopyOf");function Sd({error:l,retry:e}){let{t}=Cl(),a=wu();return(0,z.jsxs)(Wu,{tone:"danger",testId:"sekyro-error-notice",children:[(0,z.jsx)("span",{children:t(Is(l))}),l.retryable?(0,z.jsx)(cl,{ref:a,kind:"secondary",className:"sekyro-btn--start",onClick:e,children:t("common.retry")}):null]})}i(Sd,"Or");T(Sd,"CameraErrorNotice");var zd="sekyroFlow";function yf(){let l=window.history.state;return typeof l=="object"&&l!==null&&l[zd]===!0}i(yf,"Go");T(yf,"onGuard");function ai(){if(typeof window>"u"||yf())return;let l=window.history.state;window.history.pushState({...typeof l=="object"&&l!==null?l:{},[zd]:!0},"")}i(ai,"Et");T(ai,"pushGuard");function vf(){window.history.back()}i(vf,"qo");T(vf,"leaveHistory");function Td({open:l,onStay:e,onLeave:t}){let{t:a}=Cl();return(0,z.jsx)(sf,{open:l,role:"alertdialog",title:a("leave.title"),onClose:e,testId:"sekyro-leave",actions:(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(cl,{full:!0,onClick:e,children:a("leave.stay")}),(0,z.jsx)(cl,{full:!0,kind:"danger",onClick:t,children:a("leave.confirm")})]}),children:(0,z.jsx)("p",{className:"sekyro-text-muted",children:a("leave.body")})})}i(Td,"Br");T(Td,"LeaveDialog");function Ad(l,e){let[t,a]=(0,C.useState)(!1),[n,u]=(0,C.useState)(null),c=l===null?void 0:l.skipCapture,f=(0,C.useRef)(c);f.current=c;let o=(0,C.useRef)(!1),s=l?.key;(0,C.useEffect)(()=>u(null),[s]);let v=(0,C.useCallback)(()=>{if(o.current)return;let S=f.current;S!==void 0&&(o.current=!0,a(!0),u(null),S().catch(E=>u(e.t(xn(E,e.strings)))).finally(()=>{o.current=!1,a(!1)}))},[e]),p=(0,C.useCallback)(()=>u(null),[]),h=c!==void 0,m=e.t("sandbox.skipCapture");return(0,C.useMemo)(()=>h?{label:m,busy:t,failed:n,run:v,reset:p}:null,[h,m,t,n,v,p])}i(Ad,"Lr");T(Ad,"useSkipCapture");function Ed({skip:l}){return(0,z.jsxs)(z.Fragment,{children:[l.failed!==null?(0,z.jsx)(El,{tone:"danger",children:(0,z.jsx)("span",{children:l.failed})}):null,(0,z.jsx)(cl,{kind:"ghost",full:!0,disabled:l.busy,"aria-busy":l.busy||void 0,onClick:l.run,"data-testid":"sekyro-skip-capture",children:l.label})]})}i(Ed,"Ar");T(Ed,"SkipAction");function Nd(l){let{step:e,error:t,slots:a,immersive:n}=l,u=Cl(),{t:c}=u,[f,o]=(0,C.useState)(!1),[s,v]=(0,C.useState)([]),p=(0,C.useCallback)(_=>(v(tl=>[...tl,_]),()=>v(tl=>tl.filter(Ue=>Ue!==_))),[]),[h,m]=(0,C.useState)(null),S=(0,C.useCallback)(_=>m(()=>_),[]),[E,O]=(0,C.useState)(0),[d,r]=(0,C.useState)(null),y=Ad(e,u),g=e?.context.testerGate!==void 0,[A,x]=(0,C.useState)(!1),N=(0,C.useRef)(null);(0,C.useEffect)(()=>{!g||N.current!==null||(N.current=rd(),N.current&&x(!0))},[g]);let M=e?.context.purpose??"identity",U=e?.context.returning===!0,R=l.verification,jl=M==="human"||e?.context.cameraUnavailableHandled===!0,Jt=R.reportCameraUnavailable!==void 0&&jl?_=>R.reportCameraUnavailable?.(_)??Promise.resolve():void 0,Vu=e?.kind==="liveness"&&e.mode==="liveness"&&e.reason===void 0&&!e.attemptsExhausted,Ll=l.handoffUrl,Qu=(0,C.useRef)({last:null,count:0}),wt=(0,C.useCallback)((_,tl,Ue=!1)=>Jt===void 0&&tl!=="denied"?void 0:(0,z.jsx)(kl,{view:"NoCameraView",i18n:u,quiet:!0,cause:tl,onRetry:_,repeated:Ue,...Vu&&Jt!==void 0?{onContinue:Jt}:{},...Ll!==void 0?{handoffUrl:Ll}:{}}),[u,R,jl,Vu,Ll]),Oa=(0,C.useMemo)(()=>pr(e),[e]),fe=(0,C.useCallback)((_,tl)=>(0,z.jsx)(gr,{start:_,context:tl,human:M==="human",returning:U,notice:tl.permissionSettled&&tl.permission==="denied"?wt(_,"denied"):void 0,...Oa!==void 0?{retry:Oa}:{}}),[M,U,wt,Oa]),Xu=(0,C.useCallback)((_,tl)=>{let Ue=Rv(_.kind),Ku=Qu.current;_.kind==="permission"&&_!==Ku.last&&(Ku.last=_,Ku.count+=1);let sv=_.kind==="permission"&&Ku.count>1;return(Ue!==void 0?wt(tl,Ue,sv):void 0)??(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(Sd,{error:_,retry:tl}),Ue!==void 0&&Ll!==void 0?(0,z.jsx)(kl,{view:"DesktopHandoffView",i18n:u,quiet:!0,url:Ll}):null]})},[wt,Ll,u]),mt=(0,C.useRef)(""),Wt=l.livenessProps?.slots?.stageOverlay,Dn=(0,C.useCallback)(_=>(_.guidance!==""&&!_.coached&&(mt.current=_.guidance),(0,z.jsx)(fr,{testId:"sekyro-capture-stage",video:(0,z.jsx)("video",{ref:_.videoRef,playsInline:!0,muted:!0,className:"sekyro-lm-video sekyro-fc-video","aria-hidden":"true","data-testid":"sekyro-capture-video"}),instruction:_.settled?c("capture.checkingTitle"):_.guidance!==""?_.guidance:mt.current,note:_.note,status:_.status,busy:_.settled,progress:_.phase==="seeking"||_.phase==="aligning"?_.progress:1,still:_.still,live:_.live,closeLabel:c("native.close"),overlay:Wt?.(_.videoRef),ramp:_.ramp?.colour??null,..._.settled?{}:{onClose:T(()=>O(tl=>tl+1),"onClose")},end:_.modeSwitch!=null?(0,z.jsx)(er,{view:_.modeSwitch,className:"sekyro-glass sekyro-glass--label"}):null,children:_.settled||!_.live?null:(0,z.jsx)(ur,{onStop:i(()=>O(tl=>tl+1),"onStop")})})),[c,Wt]),ju=(0,C.useId)(),Lu=e,Ua=e!==null&&d===e.key&&e.context.switchable!==void 0,Oe=h??(e===null||e.kind==="result"?null:Ua?()=>r(null):e.context.switchable!==void 0&&typeof Lu?.chooseOption=="function"?()=>r(e.key):null),Ft=(0,C.useRef)(Oe);Ft.current=Oe;let Cn=(0,C.useRef)(e);Cn.current=e;let $t=(0,C.useRef)({ask:l.onLeaveAsk,closed:l.onClosed,hostClose:l.onClose!==void 0});$t.current={ask:l.onLeaveAsk,closed:l.onClosed,hostClose:l.onClose!==void 0};let kn=l.backNavigation==="history";if((0,C.useEffect)(()=>{if(!kn||typeof window>"u")return;ai();let _=T(()=>{if(yf())return;let tl=Cn.current,Ue=Ft.current;Ue!==null?(Ue(),ai()):tl?.kind!=="result"&&tl?.context.consentRecorded===!0?$t.current.ask():$t.current.hostClose?$t.current.closed():vf()},"onPop");return window.addEventListener("popstate",_),()=>window.removeEventListener("popstate",_)},[kn]),t!==null)return(0,z.jsx)(Wu,{tone:"danger",children:(0,z.jsx)("span",{children:c(xn(t,u.strings))})});if(e===null)return(0,z.jsxs)("div",{className:"sekyro-skeleton",role:"status","aria-busy":"true",children:[(0,z.jsx)("span",{className:"sekyro-visually-hidden",children:c("common.loading")}),(0,z.jsx)("span",{className:"sekyro-skeleton__bar is-title"}),(0,z.jsx)("span",{className:"sekyro-skeleton__bar"}),(0,z.jsx)("span",{className:"sekyro-skeleton__bar is-short"}),(0,z.jsx)("span",{className:"sekyro-skeleton__bar is-block"})]});let{context:Sl}=e,Hn=T(_=>{o(!0),_().finally(()=>o(!1))},"refresh"),jc=a?.header??(0,z.jsx)(Md,{context:Sl,headerId:ju,end:a?.headerEnd,...Oe!==null?{onBack:Oe}:{}}),il,It=Ua;if(A&&l.verification.testerGate!==void 0)il=(0,z.jsx)(Wc.Provider,{value:Dn,children:(0,z.jsx)(kl,{view:"TesterGateView",i18n:u,verification:l.verification,attemptsLeft:Sl.testerGate?.attemptsLeft??0,livenessProps:{...l.livenessProps??{},slots:{...l.livenessProps?.slots,intro:l.livenessProps?.slots?.intro??fe},locale:l.locale,dir:l.dir,strings:u.strings,assetBaseUrl:l.assetBaseUrl,voice:l.voice},onBound:i(()=>sd(),"onBound"),onDone:i(_=>{_&&dd(),x(!1)},"onDone")})});else if(It)il=(0,z.jsx)(kl,{view:"LaneChoiceView",i18n:u,step:e,onClose:i(()=>r(null),"onClose")});else switch(e.kind){case"phone_otp":il=(0,z.jsx)(Xr,{step:e});break;case"email_otp":il=(0,z.jsx)(jr,{step:e});break;case"method":il=(0,z.jsx)(Kr,{step:e});break;case"registry":il=(0,z.jsx)(ff,{step:e});break;case"document":il=(0,z.jsx)(Wr,{step:e,...l.documentLiveMrz!==void 0?{liveMrz:l.documentLiveMrz}:{},...l.documentBarcodeAssetBaseUrl!==void 0?{barcodeAssetBaseUrl:l.documentBarcodeAssetBaseUrl}:{}});break;case"liveness":{let _=l.livenessProps?.slots?.intro,tl={...l.livenessProps??{},slots:{...l.livenessProps?.slots,intro:_??fe,..._===void 0&&l.livenessProps?.slots?.errorPanel===void 0?{errorPanel:Xu}:{}},...E>0?{autoStart:!1}:{},verification:l.verification,locale:l.locale,dir:l.dir,strings:u.strings,assetBaseUrl:l.assetBaseUrl,voice:l.voice,onCaptured:l.onLivenessCaptured};il=(0,z.jsx)(Wc.Provider,{value:Dn,children:e.instructions==="icao"||e.livePhoto?.icao===!0?(0,z.jsx)(kl,{view:"LivePhotoLiveness",i18n:u,step:e,livenessProps:tl,sekyroIntro:_===void 0},E):(0,z.jsx)(mr,{...tl},E)});break}case"portrait":il=(0,z.jsxs)(z.Fragment,{children:[e.retakeOnly?(0,z.jsx)(kl,{view:"PortraitRetakeNotice",i18n:u,quiet:!0}):null,(0,z.jsx)(Ir,{step:e,verification:l.verification,...l.assetBaseUrl!==void 0?{assetBaseUrl:l.assetBaseUrl}:{}})]});break;case"proof_of_address":il=(0,z.jsx)(Pr,{step:e});break;case"form":il=(0,z.jsx)(ld,{step:e});break;case"contact_choice":il=(0,z.jsx)(kl,{view:"ContactChoiceView",i18n:u,step:e});break;case"choice":il=(0,z.jsx)(kl,{view:"GenericChoiceView",i18n:u,step:e});break;case"identity_summary":il=(0,z.jsx)(kl,{view:"IdentitySummaryView",i18n:u,step:e});break;case"mobile_required":{let _=e.checkType==="doc_ocr"?c("handoff.lead.document"):e.checkType==="portrait_icao"?c("handoff.lead.portrait"):e.checkType==="poa"?c("handoff.lead.poa"):void 0;il=l.handoffUrl!==void 0?(0,z.jsx)(kl,{view:"HandoffView",i18n:u,url:l.handoffUrl,refresh:e.refresh,..._!==void 0?{lead:_}:{}}):(0,z.jsx)($u,{tone:"brand",icon:"smartphone",title:c("handoff.title"),actions:(0,z.jsx)(cl,{kind:"secondary",full:!0,disabled:f,onClick:i(()=>Hn(e.refresh),"onClick"),children:c("common.refresh")}),children:(0,z.jsx)("p",{children:_??c("reasons.mobile_required")})});break}case"native_app_required":il=(0,z.jsx)(kl,{view:"NativeAppView",i18n:u,org:Sl.orgName,nativeApp:e.nativeApp,...l.handoffUrl!==void 0?{fallbackUrl:l.handoffUrl}:{},refresh:e.refresh,footer:(0,z.jsx)(cf,{org:Sl.orgName})});break;case"processing":{let _=bd(u.strings,e.service);il=(0,z.jsx)($u,{tone:"brand",icon:"pending",busy:!e.stalled,live:!0,title:_?.title??c("session.processing.title"),actions:e.stalled?(0,z.jsx)(cl,{kind:"secondary",full:!0,disabled:f,onClick:i(()=>Hn(e.refresh),"onClick"),children:c("common.refresh")}):null,children:(0,z.jsx)("p",{children:_?.description??c("session.processing.description")})});break}case"eid":il=(0,z.jsx)(Lr,{step:e});break;case"unsupported":{let _=e.reason==="platform_unsupported";il=(0,z.jsx)($u,{tone:"neutral",icon:"smartphone",title:c(_?"needsApp.title":"unsupported.title"),actions:(0,z.jsx)(cf,{org:Sl.orgName}),children:(0,z.jsx)("p",{children:_?Sl.orgName!==""?c("needsApp.description",{org:Sl.orgName}):c("needsApp.descriptionNoOrg"):c("unsupported.description",{org:Sl.orgName})})});break}case"result":il=a?.result?.(e)??(0,z.jsx)(_d,{step:e});break;default:{let _=e;il=null}}let Zu=!n&&!Sl.consentRecorded&&e.kind!=="result"?(0,z.jsx)(ad,{i18n:u,purpose:Sl.purpose}):null,Bn=y!==null&&!n&&!It&&!A?(0,z.jsx)(Ed,{skip:y}):null,W=g&&!A&&!n&&!It&&l.verification.testerGate!==void 0?(0,z.jsx)(kl,{view:"TesterGateAction",i18n:u,quiet:!0,onOpen:i(()=>x(!0),"onOpen")}):null,Dl=Bn===null&&W===null?Zu:(0,z.jsxs)(z.Fragment,{children:[W,Bn,Zu]});return(0,z.jsx)(ar.Provider,{value:S,children:(0,z.jsx)(Jc.Provider,{value:y,children:(0,z.jsx)(Sr.Provider,{value:l.handoffUrl,children:(0,z.jsxs)(tr.Provider,{value:Dl===null?null:{node:Dl,owner:s[0]??null,claim:p},children:[n?null:jc,!n&&e.kind!=="result"&&Sl.sections.length>1?(0,z.jsx)(Od,{context:Sl,current:e.section,i18n:u}):null,(0,z.jsx)(cr,{pageKey:e.key,children:il}),!n&&!It&&e.kind!=="result"&&e.context.switchable!==void 0?(0,z.jsx)(kl,{view:"LaneSwitch",i18n:u,step:e,onOpen:i(()=>r(e.key),"onOpen"),quiet:!0},e.key):null,s.length===0?Dl:null,n?null:a?.footer!==void 0?a.footer:Sl.branding?.hideAttribution===!0?null:(0,z.jsxs)("a",{className:"sekyro-footer",href:"https://sekyro.ai",target:"_blank",rel:"noopener noreferrer",children:[(0,z.jsx)(ze,{name:"lock"}),c("shell.verifiedBy")]})]})})})})}i(Nd,"Vr");T(Nd,"Body");function cf({org:l}){let{t:e}=Cl(),t=(0,C.useContext)(Kc);return t===void 0?null:(0,z.jsx)(cl,{full:!0,onClick:t,children:e("native.result.continue",{org:l})})}i(cf,"Ko");T(cf,"BackToOrg");function _d({step:l}){return(0,z.jsx)(Fu.Consumer,{children:i(e=>(0,z.jsx)(pd,{step:l,...e!==void 0?{onClose:e}:{}}),"children")})}i(_d,"Fr");T(_d,"ResultPage");function Md({context:l,headerId:e,end:t,onBack:a}){let{t:n}=Cl(),[u,c]=(0,C.useState)(!1),f=u?void 0:l.branding?.logoUrl,o=l.orgName!==""?l.orgName:n(l.returning?"returning.heading":"session.title");return(0,z.jsx)("header",{className:"sekyro-stack sekyro-stack--3","aria-labelledby":e,children:(0,z.jsxs)("div",{className:"sekyro-org",children:[a!==void 0?(0,z.jsx)("button",{type:"button",className:"sekyro-disc sekyro-org__back","aria-label":n("common.back"),onClick:a,"data-testid":"sekyro-back",children:(0,z.jsx)(ze,{name:"back"})}):null,(0,z.jsx)("span",{className:"sekyro-org__tile","aria-hidden":"true",children:f!==void 0?(0,z.jsx)("img",{className:"sekyro-org__logo",src:f,alt:"",onError:i(()=>c(!0),"onError")}):nd(l.orgName)}),(0,z.jsxs)("div",{className:"sekyro-org__text",children:[(0,z.jsx)("h1",{id:e,className:"sekyro-org__name",children:o}),(0,z.jsx)("p",{className:"sekyro-org__sub",children:n(l.purpose==="human"?"shell.subtitleHuman":"shell.subtitle")})]}),l.sandbox?(0,z.jsx)("span",{className:"sekyro-sandbox-badge","data-testid":"sekyro-sandbox-badge",children:n("app.sandboxBadge")}):null,t!=null?(0,z.jsx)("div",{className:"sekyro-org__end",children:t}):null,(0,z.jsx)(Fu.Consumer,{children:i(s=>s!==void 0?(0,z.jsx)("button",{type:"button",className:"sekyro-disc sekyro-org__close","aria-label":n("native.close"),onClick:s,children:(0,z.jsx)(ze,{name:"close"})}):null,"children")})]})})}i(Md,"Dr");T(Md,"OrgHeader");function Od({context:l,current:e,i18n:t}){let a=e===null?-1:l.sections.indexOf(e),n=l.progress,u=n!==void 0&&n.length===l.sections.length?n:l.sections.map((c,f)=>({id:c,state:f<a?"done":f===a?"current":"upcoming"}));return(0,z.jsx)("ol",{className:"sekyro-progress__bars","aria-label":t.t("session.progressLabel"),children:u.map(({id:c,state:f})=>(0,z.jsx)("li",{className:`sekyro-progress__bar${f==="done"?" is-done":f==="current"?" is-current":""}`,...f==="current"?{"aria-current":"step"}:{},children:(0,z.jsx)("span",{className:"sekyro-visually-hidden",children:t.strings[`section.${c}`]??c})},c))})}i(Od,"Mr");T(Od,"SectionProgress");function Ud(){return typeof window>"u"?"":window.location.href.split("#")[0]??""}i(Ud,"Ur");T(Ud,"pageUrl");function jv({hostedUrl:l,inAppBrowser:e,...t}){let[a,n]=(0,Yn.useState)(e===!0);(0,Yn.useEffect)(()=>{e===void 0&&br()&&n(!0)},[e]);let[u,c]=(0,Yn.useState)(!1),f=mf(t.colorScheme??"light"),o=t.handoffUrl??l??Ud();return a&&!u?(0,ea.jsx)(lf,{theme:li(df(void 0,void 0,f),t.theme),className:`sekyro-verification${f?" sekyro-verification--dark":""}${t.className!==void 0?` ${t.className}`:""}`,children:(0,ea.jsx)(Fc,{locale:t.locale,...t.strings!==void 0?{strings:t.strings}:{},children:(0,ea.jsx)("div",{dir:t.dir??(t.locale==="ar"?"rtl":"ltr"),lang:t.locale,className:"sekyro-flow",children:(0,ea.jsx)(Dd,{url:o,onContinue:i(()=>c(!0),"onContinue")})})})}):(0,ea.jsx)(ii,{...t,...o!==""?{handoffUrl:o}:{}})}i(jv,"$r");T(jv,"SekyroFlow");function Dd({url:l,onContinue:e}){let t=Cl();return(0,ea.jsx)(kl,{view:"InAppBrowserPrompt",i18n:t,url:l,onContinue:e})}i(Dd,"Kr");T(Dd,"Prompt");var xc=Q(zl(),1),nv=Q(av(),1);var uv=["ar","fr","en","es","pt","de"],pg=["light","dark","system"];function gg(){if(typeof document>"u")return null;let l=document.documentElement.lang.toLowerCase().split("-")[0];return uv.includes(l)?l:null}i(gg,"documentLocale");var bg=typeof HTMLElement>"u"?class{}:HTMLElement;function Sg({node:l}){return(0,xc.createElement)("div",{className:"sekyro-elements-slot",style:{display:"contents"},ref:i(e=>{e!==null&&l.parentNode!==e&&e.appendChild(l)},"ref")})}i(Sg,"SlotNode");var dt,_e,_n,Ta,Aa,Me,Mn,Ea,Na,_a,On,Ma,Un,B,Kt,Ve,Rc,Yc,Gc,Vc,Qc,iv,rt,Fs,cv,Gu,fv,ov,Xc=class Xc extends bg{constructor(){super();hl(this,B);hl(this,dt,null);hl(this,_e,null);hl(this,_n,!1);hl(this,Ta,!1);hl(this,Aa,null);hl(this,Me,null);hl(this,Mn,null);hl(this,Ea,new Map);hl(this,Na);hl(this,_a);hl(this,On);hl(this,Ma);hl(this,Un);hl(this,Rc,i(t=>X(this,B,Ve).call(this,"sekyro-step",t),"#onStep"));hl(this,Yc,i(t=>X(this,B,Ve).call(this,"sekyro-result",t),"#onResult"));hl(this,Gc,i(t=>X(this,B,Ve).call(this,"sekyro-close",t),"#onClose"));hl(this,Vc,i(t=>X(this,B,Ve).call(this,"sekyro-liveness-captured",t),"#onCaptured"));hl(this,Qc,{onStateChange:i(t=>X(this,B,Ve).call(this,"sekyro-liveness-state",t),"onStateChange"),onGuidance:i(t=>X(this,B,Ve).call(this,"sekyro-liveness-guidance",t),"onGuidance"),onError:i(t=>X(this,B,Ve).call(this,"sekyro-liveness-error",t),"onError")});for(let t of[...Ic.filter(a=>!("unreflected"in a)).map(a=>a.property),"verification","strings","theme","livenessProps","documentLiveMrz","voice"])if(Object.prototype.hasOwnProperty.call(this,t)){let a=this[t];delete this[t],this[t]=a}}get clientToken(){return this.getAttribute("client-token")}set clientToken(t){X(this,B,Kt).call(this,"client-token",t)}get apiOrigin(){return this.getAttribute("api-origin")}set apiOrigin(t){X(this,B,Kt).call(this,"api-origin",t)}get locale(){let t=this.getAttribute("locale");return t!==null&&uv.includes(t)?t:null}set locale(t){X(this,B,Kt).call(this,"locale",t)}get colorScheme(){let t=this.getAttribute("color-scheme");return t!==null&&pg.includes(t)?t:null}set colorScheme(t){X(this,B,Kt).call(this,"color-scheme",t)}get assetBaseUrl(){return this.getAttribute("asset-base-url")}set assetBaseUrl(t){X(this,B,Kt).call(this,"asset-base-url",t)}get backNavigation(){let t=this.getAttribute("back-navigation");return t==="history"||t==="none"?t:null}set backNavigation(t){X(this,B,Kt).call(this,"back-navigation",t)}get handoffUrl(){return this.getAttribute("handoff-url")}set handoffUrl(t){X(this,B,Kt).call(this,"handoff-url",t)}get closable(){return this.hasAttribute("closable")}set closable(t){this.toggleAttribute("closable",!!t)}get verification(){return H(this,Aa)??H(this,Me)}set verification(t){yl(this,Aa,t??null),X(this,B,rt).call(this)}get strings(){return H(this,Na)}set strings(t){yl(this,Na,t??void 0),X(this,B,rt).call(this)}get theme(){return H(this,_a)}set theme(t){yl(this,_a,t??void 0),X(this,B,rt).call(this)}get livenessProps(){return H(this,On)}set livenessProps(t){yl(this,On,t??void 0),X(this,B,rt).call(this)}get documentLiveMrz(){return H(this,Ma)}set documentLiveMrz(t){yl(this,Ma,t??void 0),X(this,B,rt).call(this)}get voice(){return H(this,Un)}set voice(t){yl(this,Un,t===null?void 0:t),X(this,B,rt).call(this)}connectedCallback(){yl(this,Ta,!1),X(this,B,iv).call(this),(H(this,_e)===null||H(this,_e).parentNode!==this)&&(yl(this,_e,document.createElement("div")),H(this,_e).className="sekyro-elements-root",this.appendChild(H(this,_e))),H(this,dt)??yl(this,dt,(0,nv.createRoot)(H(this,_e))),X(this,B,rt).call(this)}disconnectedCallback(){yl(this,Ta,!0),queueMicrotask(()=>{!H(this,Ta)||this.isConnected||(yl(this,Ta,!1),X(this,B,ov).call(this))})}attributeChangedCallback(t,a,n){a!==n&&X(this,B,rt).call(this)}};dt=new WeakMap,_e=new WeakMap,_n=new WeakMap,Ta=new WeakMap,Aa=new WeakMap,Me=new WeakMap,Mn=new WeakMap,Ea=new WeakMap,Na=new WeakMap,_a=new WeakMap,On=new WeakMap,Ma=new WeakMap,Un=new WeakMap,B=new WeakSet,Kt=i(function(t,a){a==null?this.removeAttribute(t):this.setAttribute(t,String(a))},"#reflect"),Ve=i(function(t,a){this.dispatchEvent(new CustomEvent(t,{detail:a,bubbles:!0,composed:!0}))},"#emit"),Rc=new WeakMap,Yc=new WeakMap,Gc=new WeakMap,Vc=new WeakMap,Qc=new WeakMap,iv=i(function(){for(let t of Array.from(this.children)){let a=t.getAttribute("slot");a===null||!Or.some(n=>n.name===a)||(H(this,Ea).set(a,t),t.remove())}},"#takeSlots"),rt=i(function(){H(this,_n)||(yl(this,_n,!0),queueMicrotask(()=>{yl(this,_n,!1),this.isConnected&&H(this,dt)!==null&&X(this,B,fv).call(this)}))},"#schedule"),Fs=i(function(){return this.locale??gg()??"en"},"#effectiveLocale"),cv=i(function(){if(H(this,Aa)!==null)return X(this,B,Gu).call(this),H(this,Aa);let t=this.clientToken;if(t===null||t==="")return X(this,B,Gu).call(this),null;let a=this.apiOrigin,n=`${t}\0${a??""}`;if(H(this,Me)!==null&&H(this,Mn)===n)return H(this,Me);X(this,B,Gu).call(this);try{yl(this,Me,vg({clientToken:t,locale:X(this,B,Fs).call(this),...a!==null&&a!==""?{apiOrigin:a}:{}})),yl(this,Mn,n)}catch(u){return X(this,B,Ve).call(this,"sekyro-error",{error:u}),null}return X(this,B,Ve).call(this,"sekyro-ready",{verification:H(this,Me)}),H(this,Me)},"#currentVerification"),Gu=i(function(){H(this,Me)?.destroy(),yl(this,Me,null),yl(this,Mn,null)},"#dropOwned"),fv=i(function(){let t=X(this,B,cv).call(this);if(t===null){H(this,dt)?.render(null);return}let a=X(this,B,Fs).call(this),n=this.getAttribute("dir"),u=H(this,Un)??(this.getAttribute("voice")==="off"?!1:void 0),c=i(p=>{let h=H(this,Ea).get(p);return h===void 0?void 0:(0,xc.createElement)(Sg,{node:h})},"slot"),f=c("header"),o=c("header-end"),s=c("footer"),v={verification:t,locale:a,onStep:H(this,Rc),onResult:H(this,Yc),onLivenessCaptured:H(this,Vc),livenessProps:{...H(this,On),...H(this,Qc)},...n==="ltr"||n==="rtl"?{dir:n}:{},...this.colorScheme!==null?{colorScheme:this.colorScheme}:{},...this.assetBaseUrl!==null?{assetBaseUrl:this.assetBaseUrl}:{},...this.backNavigation!==null?{backNavigation:this.backNavigation}:{},...this.handoffUrl!==null?{handoffUrl:this.handoffUrl}:{},...this.closable?{onClose:H(this,Gc)}:{},...H(this,Na)!==void 0?{strings:H(this,Na)}:{},...H(this,_a)!==void 0?{theme:H(this,_a)}:{},...H(this,Ma)!==void 0?{documentLiveMrz:H(this,Ma)}:{},...u!==void 0?{voice:u}:{},...f!==void 0||o!==void 0||s!==void 0?{slots:{...f!==void 0?{header:f}:{},...o!==void 0?{headerEnd:o}:{},...s!==void 0?{footer:s}:{}}}:{}};H(this,dt)?.render((0,xc.createElement)(ii,v))},"#render"),ov=i(function(){H(this,dt)?.unmount(),yl(this,dt,null),H(this,_e)?.remove(),yl(this,_e,null),X(this,B,Gu).call(this);for(let t of H(this,Ea).values())this.appendChild(t);H(this,Ea).clear()},"#teardown"),i(Xc,"SekyroVerificationElement"),$s(Xc,"observedAttributes",Ic.map(t=>t.name));var qc=Xc;function bb(){return typeof customElements>"u"?!1:(customElements.get($c)===void 0&&customElements.define($c,qc),!0)}i(bb,"defineSekyroElements");export{$c as a,Ic as b,zg as c,Or as d,Tg as e,qc as f,bb as g};
10
10
  /*! Bundled license information:
11
11
 
12
12
  scheduler/cjs/scheduler.production.js: