@sekyro/elements 0.1.0-rc.0 → 0.1.0-rc.1

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 (81) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/cdn/chunks/{capture-session-doc-K6LVXAGQ-SY3B27LY.js → capture-session-doc-ELX6VK6Z-SDM3ILRA.js} +1 -1
  3. package/dist/cdn/chunks/{chunk-2ZVKLBJD.js → chunk-36WGD7QV.js} +1 -1
  4. package/dist/cdn/chunks/chunk-5FLR7RPJ.js +1 -0
  5. package/dist/cdn/chunks/{chunk-TCW6XNLI.js → chunk-6H22RNSK.js} +1 -1
  6. package/dist/cdn/chunks/{chunk-C66GZ7NN.js → chunk-7Y73DZJB.js} +1 -1
  7. package/dist/cdn/chunks/{chunk-3VYQXVW4.js → chunk-BF6SE2AC.js} +1 -1
  8. package/dist/cdn/chunks/{chunk-YMGCOMYZ.js → chunk-BZ37D4FR.js} +1 -1
  9. package/dist/cdn/chunks/{chunk-KPGTFHQU.js → chunk-CFJJD6T2.js} +1 -1
  10. package/dist/cdn/chunks/{chunk-OIJVTJML.js → chunk-CYGAKCKG.js} +1 -1
  11. package/dist/cdn/chunks/{chunk-2SENV5CV.js → chunk-FCTRNWRU.js} +1 -1
  12. package/dist/cdn/chunks/{chunk-6MEPT5ZS.js → chunk-FDWO4KXK.js} +1 -1
  13. package/dist/cdn/chunks/{chunk-Z3EEB4CI.js → chunk-FEWP7HBJ.js} +1 -1
  14. package/dist/cdn/chunks/{chunk-7XAIG23G.js → chunk-HQF66Y6S.js} +1 -1
  15. package/dist/cdn/chunks/{chunk-XYQGAQBQ.js → chunk-KLE75SX4.js} +1 -1
  16. package/dist/cdn/chunks/{chunk-OBPBHX2J.js → chunk-LYYAVERP.js} +1 -1
  17. package/dist/cdn/chunks/chunk-PUO2VWDE.js +33 -0
  18. package/dist/cdn/chunks/chunk-U3UDWPBG.js +1 -0
  19. package/dist/cdn/chunks/chunk-X3BGM3B2.js +1 -0
  20. package/dist/cdn/chunks/{chunk-UYAVCSQ4.js → chunk-YWPZG2MZ.js} +1 -1
  21. package/dist/cdn/chunks/{chunk-IFGPCCJH.js → chunk-ZIC5GEH2.js} +1 -1
  22. package/dist/cdn/chunks/{chunk-HODE7UDG.js → chunk-ZKLSZJFN.js} +1 -1
  23. package/dist/cdn/chunks/{create-document-capture-LNX6NFSK-A4LP25Y5.js → create-document-capture-UHZJUZHC-YYZNCSW6.js} +1 -1
  24. package/dist/cdn/chunks/{document-capture-view-JIKJWCFG-MMCEL43X.js → document-capture-view-JE6IX4IE-2454PW6Z.js} +1 -1
  25. package/dist/cdn/chunks/{eid-view-IW2ZP2NG-EB5SCHBD.js → eid-view-RZS6MLT6-35VSHTV3.js} +1 -1
  26. package/dist/cdn/chunks/{email-otp-view-VDTMZ4R5-Y5QHQDIB.js → email-otp-view-WUQ5OGDD-YDSUKAN2.js} +1 -1
  27. package/dist/cdn/chunks/flow-views-5L7JF3MM-M6C3RXSX.js +1 -0
  28. package/dist/cdn/chunks/overlay-de-JQ2FDZBA-HLFTXIF6.js +1 -0
  29. package/dist/cdn/chunks/overlay-es-WDYRSRHH-UXHTYCHD.js +1 -0
  30. package/dist/cdn/chunks/overlay-pt-AQMDWDWX-BD7TO6Y4.js +1 -0
  31. package/dist/cdn/chunks/plan-runner-ZHOYMRAO-RDS523K5.js +1 -0
  32. package/dist/cdn/chunks/{portrait-capture-view-LWESDZPM-SEOHMLJQ.js → portrait-capture-view-GQIBQY4U-TJUYRCTI.js} +1 -1
  33. package/dist/cdn/chunks/{portrait-review-view-FU3QSO4K-DZHDIMQX.js → portrait-review-view-XOQYQNU7-LPONGGFW.js} +1 -1
  34. package/dist/cdn/define.js +1 -1
  35. package/dist/cdn/index.js +1 -1
  36. package/dist/{chunk-HSQWGTF7.js → chunk-6NQ7EWA4.js} +1 -1
  37. package/dist/{chunk-JJNFGW3A.js → chunk-72JW2LCH.js} +1 -1
  38. package/dist/{chunk-X5WMOOH2.js → chunk-7URX73UH.js} +1 -1
  39. package/dist/{chunk-W2UTL5PI.js → chunk-AGPBG22V.js} +1 -1
  40. package/dist/{chunk-UT2KIR2K.js → chunk-B6A5RXN4.js} +1 -1
  41. package/dist/chunk-EIRNIJXL.js +1 -0
  42. package/dist/{chunk-WWGJDMZQ.js → chunk-ESSKMX7I.js} +1 -1
  43. package/dist/{chunk-KU4DZ3OQ.js → chunk-IBPUWYHJ.js} +1 -1
  44. package/dist/{chunk-OSBGOI4W.js → chunk-IGC6OQZ2.js} +1 -1
  45. package/dist/{chunk-JQ3ANVKN.js → chunk-QE2B3MSJ.js} +1 -1
  46. package/dist/{chunk-X5K27NXI.js → chunk-RMV3BNWO.js} +1 -1
  47. package/dist/{chunk-4QI2LTJD.js → chunk-XEY5ANJ6.js} +1 -1
  48. package/dist/chunk-ZDF5JILV.js +33 -0
  49. package/dist/define.cjs +5 -5
  50. package/dist/define.js +1 -1
  51. package/dist/{document-capture-view-JIKJWCFG-OWMTF5A3.js → document-capture-view-JE6IX4IE-5HJYAEDX.js} +1 -1
  52. package/dist/{eid-view-IW2ZP2NG-SKEYTRTX.js → eid-view-RZS6MLT6-2W2T3AWK.js} +1 -1
  53. package/dist/{email-otp-view-VDTMZ4R5-EO7T6SL4.js → email-otp-view-WUQ5OGDD-NGI6PBX3.js} +1 -1
  54. package/dist/flow-views-5L7JF3MM-P55CCCOH.js +1 -0
  55. package/dist/index.cjs +5 -5
  56. package/dist/index.d.cts +16 -0
  57. package/dist/index.d.ts +16 -0
  58. package/dist/index.js +1 -1
  59. package/dist/overlay-de-JQ2FDZBA-FR25JPE4.js +1 -0
  60. package/dist/overlay-es-WDYRSRHH-PFDMX5D2.js +1 -0
  61. package/dist/overlay-pt-AQMDWDWX-LTD4N2DW.js +1 -0
  62. package/dist/{portrait-capture-view-LWESDZPM-XZOM6LXG.js → portrait-capture-view-GQIBQY4U-AFPEUDLY.js} +1 -1
  63. package/dist/{portrait-review-view-FU3QSO4K-AGWEX2EQ.js → portrait-review-view-XOQYQNU7-IPKAZBP6.js} +1 -1
  64. package/dist/styles.css +5 -1
  65. package/package.json +2 -2
  66. package/dist/cdn/chunks/chunk-3KIFGAEK.js +0 -1
  67. package/dist/cdn/chunks/chunk-562ANROG.js +0 -1
  68. package/dist/cdn/chunks/chunk-YEPHU5PX.js +0 -1
  69. package/dist/cdn/chunks/chunk-ZKEOHGBY.js +0 -33
  70. package/dist/cdn/chunks/flow-views-N4FMOYIR-FDN6ATHN.js +0 -1
  71. package/dist/cdn/chunks/overlay-de-F7GCMCGJ-FBTP3BSM.js +0 -1
  72. package/dist/cdn/chunks/overlay-es-HIO7CIKS-GDHVHUQW.js +0 -1
  73. package/dist/cdn/chunks/overlay-pt-YC4HRHKL-J3TGRZRW.js +0 -1
  74. package/dist/cdn/chunks/plan-runner-DIRERYBF-FANNXQNO.js +0 -1
  75. package/dist/chunk-43YHL2WG.js +0 -1
  76. package/dist/chunk-73JRPFCO.js +0 -33
  77. package/dist/flow-views-N4FMOYIR-J54ADNRO.js +0 -1
  78. package/dist/overlay-de-F7GCMCGJ-7OI7SGX4.js +0 -1
  79. package/dist/overlay-es-HIO7CIKS-LXC2SFGY.js +0 -1
  80. package/dist/overlay-pt-YC4HRHKL-2QCRICEV.js +0 -1
  81. package/sbom.cdx.json +0 -153
@@ -0,0 +1,33 @@
1
+ import{a as kr}from"./chunk-XEY5ANJ6.js";import{a as ai,b as Gl,c as jr}from"./chunk-RMV3BNWO.js";import{a as xr,b as Rr,c as ff,d as qr,e as Gr,f as Yr,g as Vr,h as Lr,i as Qr,j as Xr,k as Zr}from"./chunk-7URX73UH.js";import{a as Lv,c as Mr}from"./chunk-IGC6OQZ2.js";import{a as Hr}from"./chunk-IBPUWYHJ.js";import{a as ei}from"./chunk-B6A5RXN4.js";import{a as Kr,b as Jr,c as wr}from"./chunk-ESSKMX7I.js";import{a as jn}from"./chunk-SEE6MST7.js";import{b as of,c as Vl}from"./chunk-EIRNIJXL.js";import{A as af,B as ti,C as nf,D as Or,F as uf,G as Ur,H as Cr,J as Br,K as ql,L as cf,a as Ul,b as Xl,c as rl,k as tf,p as Ar,q as Er,r as Nr,t as li,u as ef,v as Bt,w as na,x as _r,y as ua,z as Dr}from"./chunk-72JW2LCH.js";import{a as i,b as Pu,c as Z,d as Tr,e as x,f as gl,g as bl,h as Q,i as z}from"./chunk-RPLVIGTS.js";var m0=Pu(fl=>{"use strict";function Hf(l,t){var e=l.length;l.push(t);l:for(;0<e;){var a=e-1>>>1,n=l[a];if(0<yi(n,t))l[a]=t,l[e]=n,e=a;else break l}}i(Hf,"push");function Ht(l){return l.length===0?null:l[0]}i(Ht,"peek");function pi(l){if(l.length===0)return null;var t=l[0],e=l.pop();if(e!==t){l[0]=e;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>yi(f,e))o<n&&0>yi(s,f)?(l[a]=s,l[o]=e,a=o):(l[a]=f,l[c]=e,a=c);else if(o<n&&0>yi(s,e))l[a]=s,l[o]=e,a=o;else break l}}return t}i(pi,"pop");function yi(l,t){var e=l.sortIndex-t.sortIndex;return e!==0?e:l.id-t.id}i(yi,"compare");fl.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(u0=performance,fl.unstable_now=function(){return u0.now()}):(Cf=Date,i0=Cf.now(),fl.unstable_now=function(){return Cf.now()-i0});var u0,Cf,i0,wt=[],Ae=[],A1=1,ht=null,Yl=3,xf=!1,Wn=!1,Fn=!1,Rf=!1,o0=typeof setTimeout=="function"?setTimeout:null,s0=typeof clearTimeout=="function"?clearTimeout:null,c0=typeof setImmediate<"u"?setImmediate:null;function vi(l){for(var t=Ht(Ae);t!==null;){if(t.callback===null)pi(Ae);else if(t.startTime<=l)pi(Ae),t.sortIndex=t.expirationTime,Hf(wt,t);else break;t=Ht(Ae)}}i(vi,"advanceTimers");function qf(l){if(Fn=!1,vi(l),!Wn)if(Ht(wt)!==null)Wn=!0,La||(La=!0,Va());else{var t=Ht(Ae);t!==null&&Gf(qf,t.startTime-l)}}i(qf,"handleTimeout");var La=!1,$n=-1,r0=5,d0=-1;function h0(){return Rf?!0:!(fl.unstable_now()-d0<r0)}i(h0,"shouldYieldToHost");function Bf(){if(Rf=!1,La){var l=fl.unstable_now();d0=l;var t=!0;try{l:{Wn=!1,Fn&&(Fn=!1,s0($n),$n=-1),xf=!0;var e=Yl;try{t:{for(vi(l),ht=Ht(wt);ht!==null&&!(ht.expirationTime>l&&h0());){var a=ht.callback;if(typeof a=="function"){ht.callback=null,Yl=ht.priorityLevel;var n=a(ht.expirationTime<=l);if(l=fl.unstable_now(),typeof n=="function"){ht.callback=n,vi(l),t=!0;break t}ht===Ht(wt)&&pi(wt),vi(l)}else pi(wt);ht=Ht(wt)}if(ht!==null)t=!0;else{var u=Ht(Ae);u!==null&&Gf(qf,u.startTime-l),t=!1}}break l}finally{ht=null,Yl=e,xf=!1}t=void 0}}finally{t?Va():La=!1}}}i(Bf,"performWorkUntilDeadline");var Va;typeof c0=="function"?Va=i(function(){c0(Bf)},"schedulePerformWorkUntilDeadline"):typeof MessageChannel<"u"?(kf=new MessageChannel,f0=kf.port2,kf.port1.onmessage=Bf,Va=i(function(){f0.postMessage(null)},"schedulePerformWorkUntilDeadline")):Va=i(function(){o0(Bf,0)},"schedulePerformWorkUntilDeadline");var kf,f0;function Gf(l,t){$n=o0(function(){l(fl.unstable_now())},t)}i(Gf,"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"):r0=0<l?Math.floor(1e3/l):5};fl.unstable_getCurrentPriorityLevel=function(){return Yl};fl.unstable_next=function(l){switch(Yl){case 1:case 2:case 3:var t=3;break;default:t=Yl}var e=Yl;Yl=t;try{return l()}finally{Yl=e}};fl.unstable_requestPaint=function(){Rf=!0};fl.unstable_runWithPriority=function(l,t){switch(l){case 1:case 2:case 3:case 4:case 5:break;default:l=3}var e=Yl;Yl=l;try{return t()}finally{Yl=e}};fl.unstable_scheduleCallback=function(l,t,e){var a=fl.unstable_now();switch(typeof e=="object"&&e!==null?(e=e.delay,e=typeof e=="number"&&0<e?a+e:a):e=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=e+n,l={id:A1++,callback:t,priorityLevel:l,startTime:e,expirationTime:n,sortIndex:-1},e>a?(l.sortIndex=e,Hf(Ae,l),Ht(wt)===null&&l===Ht(Ae)&&(Fn?(s0($n),$n=-1):Fn=!0,Gf(qf,e-a))):(l.sortIndex=n,Hf(wt,l),Wn||xf||(Wn=!0,La||(La=!0,Va()))),l};fl.unstable_shouldYield=h0;fl.unstable_wrapCallback=function(l){var t=Yl;return function(){var e=Yl;Yl=t;try{return l.apply(this,arguments)}finally{Yl=e}}}});var v0=Pu((Yb,y0)=>{"use strict";y0.exports=m0()});var Dv=Pu(Qc=>{"use strict";var Nl=v0(),Qh=Ul(),E1=Lv();function b(l){var t="https://react.dev/errors/"+l;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var e=2;e<arguments.length;e++)t+="&args[]="+encodeURIComponent(arguments[e])}return"Minified React error #"+l+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}i(b,"formatProdErrorMessage");function Xh(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}i(Xh,"isValidContainer");function qu(l){var t=l,e=l;if(l.alternate)for(;t.return;)t=t.return;else{l=t;do t=l,(t.flags&4098)!==0&&(e=t.return),l=t.return;while(l)}return t.tag===3?e:null}i(qu,"getNearestMountedFiber");function Zh(l){if(l.tag===13){var t=l.memoizedState;if(t===null&&(l=l.alternate,l!==null&&(t=l.memoizedState)),t!==null)return t.dehydrated}return null}i(Zh,"getSuspenseInstanceFromFiber");function jh(l){if(l.tag===31){var t=l.memoizedState;if(t===null&&(l=l.alternate,l!==null&&(t=l.memoizedState)),t!==null)return t.dehydrated}return null}i(jh,"getActivityInstanceFromFiber");function p0(l){if(qu(l)!==l)throw Error(b(188))}i(p0,"assertIsMounted");function N1(l){var t=l.alternate;if(!t){if(t=qu(l),t===null)throw Error(b(188));return t!==l?null:l}for(var e=l,a=t;;){var n=e.return;if(n===null)break;var u=n.alternate;if(u===null){if(a=n.return,a!==null){e=a;continue}break}if(n.child===u.child){for(u=n.child;u;){if(u===e)return p0(n),l;if(u===a)return p0(n),t;u=u.sibling}throw Error(b(188))}if(e.return!==a.return)e=n,a=u;else{for(var c=!1,f=n.child;f;){if(f===e){c=!0,e=n,a=u;break}if(f===a){c=!0,a=n,e=u;break}f=f.sibling}if(!c){for(f=u.child;f;){if(f===e){c=!0,e=u,a=n;break}if(f===a){c=!0,a=u,e=n;break}f=f.sibling}if(!c)throw Error(b(189))}}if(e.alternate!==a)throw Error(b(190))}if(e.tag!==3)throw Error(b(188));return e.stateNode.current===e?l:t}i(N1,"findCurrentFiberUsingSlowPath");function Kh(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l;for(l=l.child;l!==null;){if(t=Kh(l),t!==null)return t;l=l.sibling}return null}i(Kh,"findCurrentHostFiberImpl");var il=Object.assign,M1=Symbol.for("react.element"),gi=Symbol.for("react.transitional.element"),uu=Symbol.for("react.portal"),Ja=Symbol.for("react.fragment"),Jh=Symbol.for("react.strict_mode"),bo=Symbol.for("react.profiler"),wh=Symbol.for("react.consumer"),ee=Symbol.for("react.context"),ms=Symbol.for("react.forward_ref"),So=Symbol.for("react.suspense"),zo=Symbol.for("react.suspense_list"),ys=Symbol.for("react.memo"),Ee=Symbol.for("react.lazy"),To=Symbol.for("react.activity"),_1=Symbol.for("react.memo_cache_sentinel"),g0=Symbol.iterator;function In(l){return l===null||typeof l!="object"?null:(l=g0&&l[g0]||l["@@iterator"],typeof l=="function"?l:null)}i(In,"getIteratorFn");var D1=Symbol.for("react.client.reference");function Ao(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===D1?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case Ja:return"Fragment";case bo:return"Profiler";case Jh:return"StrictMode";case So:return"Suspense";case zo:return"SuspenseList";case To:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case uu:return"Portal";case ee:return l.displayName||"Context";case wh:return(l._context.displayName||"Context")+".Consumer";case ms:var t=l.render;return l=l.displayName,l||(l=t.displayName||t.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case ys:return t=l.displayName||null,t!==null?t:Ao(l.type)||"Memo";case Ee:t=l._payload,l=l._init;try{return Ao(l(t))}catch{}}return null}i(Ao,"getComponentNameFromType");var iu=Array.isArray,k=Qh.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,K=E1.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,da={pending:!1,data:null,method:null,action:null},Eo=[],wa=-1;function Yt(l){return{current:l}}i(Yt,"createCursor");function Ol(l){0>wa||(l.current=Eo[wa],Eo[wa]=null,wa--)}i(Ol,"pop");function el(l,t){wa++,Eo[wa]=l.current,l.current=t}i(el,"push");var Gt=Yt(null),Au=Yt(null),xe=Yt(null),$i=Yt(null);function Ii(l,t){switch(el(xe,t),el(Au,l),el(Gt,null),t.nodeType){case 9:case 11:l=(l=t.documentElement)&&(l=l.namespaceURI)?Nh(l):0;break;default:if(l=t.tagName,t=t.namespaceURI)t=Nh(t),l=mv(t,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}Ol(Gt),el(Gt,l)}i(Ii,"pushHostContainer");function hn(){Ol(Gt),Ol(Au),Ol(xe)}i(hn,"popHostContainer");function No(l){l.memoizedState!==null&&el($i,l);var t=Gt.current,e=mv(t,l.type);t!==e&&(el(Au,l),el(Gt,e))}i(No,"pushHostContext");function Pi(l){Au.current===l&&(Ol(Gt),Ol(Au)),$i.current===l&&(Ol($i),Hu._currentValue=da)}i(Pi,"popHostContext");var Yf,b0;function fa(l){if(Yf===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Yf=t&&t[1]||"",b0=-1<e.stack.indexOf(`
2
+ at`)?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return`
3
+ `+Yf+l+b0}i(fa,"describeBuiltInComponentFrame");var Vf=!1;function Lf(l,t){if(!l||Vf)return"";Vf=!0;var e=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:i(function(){try{if(t){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(d){var m=d}Reflect.construct(l,[],p)}else{try{p.call()}catch(d){m=d}l.call(p.prototype)}}else{try{throw Error()}catch(d){m=d}(p=l())&&typeof p.catch=="function"&&p.catch(function(){})}}catch(d){if(d&&m&&typeof d.stack=="string")return[d.stack,m.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
+ `),s=f.split(`
5
+ `);for(n=a=0;a<o.length&&!o[a].includes("DetermineComponentFrameRoot");)a++;for(;n<s.length&&!s[n].includes("DetermineComponentFrameRoot");)n++;if(a===o.length||n===s.length)for(a=o.length-1,n=s.length-1;1<=a&&0<=n&&o[a]!==s[n];)n--;for(;1<=a&&0<=n;a--,n--)if(o[a]!==s[n]){if(a!==1||n!==1)do if(a--,n--,0>n||o[a]!==s[n]){var v=`
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{Vf=!1,Error.prepareStackTrace=e}return(e=l?l.displayName||l.name:"")?fa(e):""}i(Lf,"describeNativeComponentFrame");function O1(l,t){switch(l.tag){case 26:case 27:case 5:return fa(l.type);case 16:return fa("Lazy");case 13:return l.child!==t&&t!==null?fa("Suspense Fallback"):fa("Suspense");case 19:return fa("SuspenseList");case 0:case 15:return Lf(l.type,!1);case 11:return Lf(l.type.render,!1);case 1:return Lf(l.type,!0);case 31:return fa("Activity");default:return""}}i(O1,"describeFiber");function S0(l){try{var t="",e=null;do t+=O1(l,e),e=l,l=l.return;while(l);return t}catch(a){return`
7
+ Error generating stack: `+a.message+`
8
+ `+a.stack}}i(S0,"getStackByFiberInDevAndProd");var Mo=Object.prototype.hasOwnProperty,vs=Nl.unstable_scheduleCallback,Qf=Nl.unstable_cancelCallback,U1=Nl.unstable_shouldYield,C1=Nl.unstable_requestPaint,et=Nl.unstable_now,B1=Nl.unstable_getCurrentPriorityLevel,Wh=Nl.unstable_ImmediatePriority,Fh=Nl.unstable_UserBlockingPriority,lc=Nl.unstable_NormalPriority,k1=Nl.unstable_LowPriority,$h=Nl.unstable_IdlePriority,H1=Nl.log,x1=Nl.unstable_setDisableYieldValue,Gu=null,at=null;function Ue(l){if(typeof H1=="function"&&x1(l),at&&typeof at.setStrictMode=="function")try{at.setStrictMode(Gu,l)}catch{}}i(Ue,"setIsStrictModeForDevtools");var nt=Math.clz32?Math.clz32:G1,R1=Math.log,q1=Math.LN2;function G1(l){return l>>>=0,l===0?32:31-(R1(l)/q1|0)|0}i(G1,"clz32Fallback");var bi=256,Si=262144,zi=4194304;function oa(l){var t=l&42;if(t!==0)return t;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(oa,"getHighestPriorityLanes");function Mc(l,t,e){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=oa(a):(c&=f,c!==0?n=oa(c):e||(e=f&~l,e!==0&&(n=oa(e))))):(f=a&~u,f!==0?n=oa(f):c!==0?n=oa(c):e||(e=a&~l,e!==0&&(n=oa(e)))),n===0?0:t!==0&&t!==n&&(t&u)===0&&(u=n&-n,e=t&-t,u>=e||u===32&&(e&4194048)!==0)?t:n}i(Mc,"getNextLanes");function Yu(l,t){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&t)===0}i(Yu,"checkIfRootIsPrerendering");function Y1(l,t){switch(l){case 1:case 2:case 4:case 8:case 64:return t+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 t+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(Y1,"computeExpirationTime");function Ih(){var l=zi;return zi<<=1,(zi&62914560)===0&&(zi=4194304),l}i(Ih,"claimNextRetryLane");function Xf(l){for(var t=[],e=0;31>e;e++)t.push(l);return t}i(Xf,"createLaneMap");function Vu(l,t){l.pendingLanes|=t,t!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}i(Vu,"markRootUpdated$1");function V1(l,t,e,a,n,u){var c=l.pendingLanes;l.pendingLanes=e,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=e,l.entangledLanes&=e,l.errorRecoveryDisabledLanes&=e,l.shellSuspendCounter=0;var f=l.entanglements,o=l.expirationTimes,s=l.hiddenUpdates;for(e=c&~e;0<e;){var v=31-nt(e),p=1<<v;f[v]=0,o[v]=-1;var m=s[v];if(m!==null)for(s[v]=null,v=0;v<m.length;v++){var d=m[v];d!==null&&(d.lane&=-536870913)}e&=~p}a!==0&&Ph(l,a,0),u!==0&&n===0&&l.tag!==0&&(l.suspendedLanes|=u&~(c&~t))}i(V1,"markRootFinished");function Ph(l,t,e){l.pendingLanes|=t,l.suspendedLanes&=~t;var a=31-nt(t);l.entangledLanes|=t,l.entanglements[a]=l.entanglements[a]|1073741824|e&261930}i(Ph,"markSpawnedDeferredLane");function lm(l,t){var e=l.entangledLanes|=t;for(l=l.entanglements;e;){var a=31-nt(e),n=1<<a;n&t|l[a]&t&&(l[a]|=t),e&=~n}}i(lm,"markRootEntangled");function tm(l,t){var e=t&-t;return e=(e&42)!==0?1:ps(e),(e&(l.suspendedLanes|t))!==0?0:e}i(tm,"getBumpedLaneForHydration");function ps(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(ps,"getBumpedLaneForHydrationByLane");function gs(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}i(gs,"lanesToEventPriority");function em(){var l=K.p;return l!==0?l:(l=window.event,l===void 0?32:Nv(l.type))}i(em,"resolveUpdatePriority");function z0(l,t){var e=K.p;try{return K.p=l,t()}finally{K.p=e}}i(z0,"runWithPriority");var we=Math.random().toString(36).slice(2),kl="__reactFiber$"+we,Wl="__reactProps$"+we,En="__reactContainer$"+we,_o="__reactEvents$"+we,L1="__reactListeners$"+we,Q1="__reactHandles$"+we,T0="__reactResources$"+we,Lu="__reactMarker$"+we;function bs(l){delete l[kl],delete l[Wl],delete l[_o],delete l[L1],delete l[Q1]}i(bs,"detachDeletedInstance");function Wa(l){var t=l[kl];if(t)return t;for(var e=l.parentNode;e;){if(t=e[En]||e[kl]){if(e=t.alternate,t.child!==null||e!==null&&e.child!==null)for(l=Uh(l);l!==null;){if(e=l[kl])return e;l=Uh(l)}return t}l=e,e=l.parentNode}return null}i(Wa,"getClosestInstanceFromNode");function Nn(l){if(l=l[kl]||l[En]){var t=l.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return l}return null}i(Nn,"getInstanceFromNode");function cu(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l.stateNode;throw Error(b(33))}i(cu,"getNodeFromInstance");function un(l){var t=l[T0];return t||(t=l[T0]={hoistableStyles:new Map,hoistableScripts:new Map}),t}i(un,"getResourcesFromRoot");function Dl(l){l[Lu]=!0}i(Dl,"markNodeAsHoistable");var am=new Set,nm={};function Ta(l,t){mn(l,t),mn(l+"Capture",t)}i(Ta,"registerTwoPhaseEvent");function mn(l,t){for(nm[l]=t,l=0;l<t.length;l++)am.add(t[l])}i(mn,"registerDirectEvent");var X1=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]*$"),A0={},E0={};function Z1(l){return Mo.call(E0,l)?!0:Mo.call(A0,l)?!1:X1.test(l)?E0[l]=!0:(A0[l]=!0,!1)}i(Z1,"isAttributeNameSafe");function Ri(l,t,e){if(Z1(t))if(e===null)l.removeAttribute(t);else{switch(typeof e){case"undefined":case"function":case"symbol":l.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){l.removeAttribute(t);return}}l.setAttribute(t,""+e)}}i(Ri,"setValueForAttribute");function Ti(l,t,e){if(e===null)l.removeAttribute(t);else{switch(typeof e){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(t);return}l.setAttribute(t,""+e)}}i(Ti,"setValueForKnownAttribute");function Wt(l,t,e,a){if(a===null)l.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(e);return}l.setAttributeNS(t,e,""+a)}}i(Wt,"setValueForNamespacedAttribute");function yt(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}i(yt,"getToStringValue");function um(l){var t=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}i(um,"isCheckable");function j1(l,t,e){var a=Object.getOwnPropertyDescriptor(l.constructor.prototype,t);if(!l.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var n=a.get,u=a.set;return Object.defineProperty(l,t,{configurable:!0,get:i(function(){return n.call(this)},"get"),set:i(function(c){e=""+c,u.call(this,c)},"set")}),Object.defineProperty(l,t,{enumerable:a.enumerable}),{getValue:i(function(){return e},"getValue"),setValue:i(function(c){e=""+c},"setValue"),stopTracking:i(function(){l._valueTracker=null,delete l[t]},"stopTracking")}}}i(j1,"trackValueOnNode");function Do(l){if(!l._valueTracker){var t=um(l)?"checked":"value";l._valueTracker=j1(l,t,""+l[t])}}i(Do,"track");function im(l){if(!l)return!1;var t=l._valueTracker;if(!t)return!0;var e=t.getValue(),a="";return l&&(a=um(l)?l.checked?"true":"false":l.value),l=a,l!==e?(t.setValue(l),!0):!1}i(im,"updateValueIfChanged");function tc(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(tc,"getActiveElement");var K1=/[\n"\\]/g;function gt(l){return l.replace(K1,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}i(gt,"escapeSelectorAttributeValueInsideDoubleQuotes");function Oo(l,t,e,a,n,u,c,f){l.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?l.type=c:l.removeAttribute("type"),t!=null?c==="number"?(t===0&&l.value===""||l.value!=t)&&(l.value=""+yt(t)):l.value!==""+yt(t)&&(l.value=""+yt(t)):c!=="submit"&&c!=="reset"||l.removeAttribute("value"),t!=null?Uo(l,c,yt(t)):e!=null?Uo(l,c,yt(e)):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=""+yt(f):l.removeAttribute("name")}i(Oo,"updateInput");function cm(l,t,e,a,n,u,c,f){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(l.type=u),t!=null||e!=null){if(!(u!=="submit"&&u!=="reset"||t!=null)){Do(l);return}e=e!=null?""+yt(e):"",t=t!=null?""+yt(t):e,f||t===l.value||(l.value=t),l.defaultValue=t}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),Do(l)}i(cm,"initInput");function Uo(l,t,e){t==="number"&&tc(l.ownerDocument)===l||l.defaultValue===""+e||(l.defaultValue=""+e)}i(Uo,"setDefaultValue");function cn(l,t,e,a){if(l=l.options,t){t={};for(var n=0;n<e.length;n++)t["$"+e[n]]=!0;for(e=0;e<l.length;e++)n=t.hasOwnProperty("$"+l[e].value),l[e].selected!==n&&(l[e].selected=n),n&&a&&(l[e].defaultSelected=!0)}else{for(e=""+yt(e),t=null,n=0;n<l.length;n++){if(l[n].value===e){l[n].selected=!0,a&&(l[n].defaultSelected=!0);return}t!==null||l[n].disabled||(t=l[n])}t!==null&&(t.selected=!0)}}i(cn,"updateOptions");function fm(l,t,e){if(t!=null&&(t=""+yt(t),t!==l.value&&(l.value=t),e==null)){l.defaultValue!==t&&(l.defaultValue=t);return}l.defaultValue=e!=null?""+yt(e):""}i(fm,"updateTextarea");function om(l,t,e,a){if(t==null){if(a!=null){if(e!=null)throw Error(b(92));if(iu(a)){if(1<a.length)throw Error(b(93));a=a[0]}e=a}e==null&&(e=""),t=e}e=yt(t),l.defaultValue=e,a=l.textContent,a===e&&a!==""&&a!==null&&(l.value=a),Do(l)}i(om,"initTextarea");function yn(l,t){if(t){var e=l.firstChild;if(e&&e===l.lastChild&&e.nodeType===3){e.nodeValue=t;return}}l.textContent=t}i(yn,"setTextContent");var J1=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 N0(l,t,e){var a=t.indexOf("--")===0;e==null||typeof e=="boolean"||e===""?a?l.setProperty(t,""):t==="float"?l.cssFloat="":l[t]="":a?l.setProperty(t,e):typeof e!="number"||e===0||J1.has(t)?t==="float"?l.cssFloat=e:l[t]=(""+e).trim():l[t]=e+"px"}i(N0,"setValueForStyle");function sm(l,t,e){if(t!=null&&typeof t!="object")throw Error(b(62));if(l=l.style,e!=null){for(var a in e)!e.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?l.setProperty(a,""):a==="float"?l.cssFloat="":l[a]="");for(var n in t)a=t[n],t.hasOwnProperty(n)&&e[n]!==a&&N0(l,n,a)}else for(var u in t)t.hasOwnProperty(u)&&N0(l,u,t[u])}i(sm,"setValueForStyles");function Ss(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(Ss,"isCustomElement");var w1=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"]]),W1=/^[\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 qi(l){return W1.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}i(qi,"sanitizeURL");function ae(){}i(ae,"noop$1");var Co=null;function zs(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}i(zs,"getEventTarget");var Fa=null,fn=null;function M0(l){var t=Nn(l);if(t&&(l=t.stateNode)){var e=l[Wl]||null;l:switch(l=t.stateNode,t.type){case"input":if(Oo(l,e.value,e.defaultValue,e.defaultValue,e.checked,e.defaultChecked,e.type,e.name),t=e.name,e.type==="radio"&&t!=null){for(e=l;e.parentNode;)e=e.parentNode;for(e=e.querySelectorAll('input[name="'+gt(""+t)+'"][type="radio"]'),t=0;t<e.length;t++){var a=e[t];if(a!==l&&a.form===l.form){var n=a[Wl]||null;if(!n)throw Error(b(90));Oo(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t<e.length;t++)a=e[t],a.form===l.form&&im(a)}break l;case"textarea":fm(l,e.value,e.defaultValue);break l;case"select":t=e.value,t!=null&&cn(l,!!e.multiple,t,!1)}}}i(M0,"restoreStateOfTarget");var Zf=!1;function rm(l,t,e){if(Zf)return l(t,e);Zf=!0;try{var a=l(t);return a}finally{if(Zf=!1,(Fa!==null||fn!==null)&&(Gc(),Fa&&(t=Fa,l=fn,fn=Fa=null,M0(t),l)))for(t=0;t<l.length;t++)M0(l[t])}}i(rm,"batchedUpdates$1");function Eu(l,t){var e=l.stateNode;if(e===null)return null;var a=e[Wl]||null;if(a===null)return null;e=a[t];l:switch(t){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(e&&typeof e!="function")throw Error(b(231,t,typeof e));return e}i(Eu,"getListener");var fe=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Bo=!1;if(fe)try{Qa={},Object.defineProperty(Qa,"passive",{get:i(function(){Bo=!0},"get")}),window.addEventListener("test",Qa,Qa),window.removeEventListener("test",Qa,Qa)}catch{Bo=!1}var Qa,Ce=null,Ts=null,Gi=null;function dm(){if(Gi)return Gi;var l,t=Ts,e=t.length,a,n="value"in Ce?Ce.value:Ce.textContent,u=n.length;for(l=0;l<e&&t[l]===n[l];l++);var c=e-l;for(a=1;a<=c&&t[e-a]===n[u-a];a++);return Gi=n.slice(l,1<a?1-a:void 0)}i(dm,"getData");function Yi(l){var t=l.keyCode;return"charCode"in l?(l=l.charCode,l===0&&t===13&&(l=13)):l=t,l===10&&(l=13),32<=l||l===13?l:0}i(Yi,"getEventCharCode");function Ai(){return!0}i(Ai,"functionThatReturnsTrue");function _0(){return!1}i(_0,"functionThatReturnsFalse");function Fl(l){function t(e,a,n,u,c){this._reactName=e,this._targetInst=n,this.type=a,this.nativeEvent=u,this.target=c,this.currentTarget=null;for(var f in l)l.hasOwnProperty(f)&&(e=l[f],this[f]=e?e(u):u[f]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?Ai:_0,this.isPropagationStopped=_0,this}return i(t,"SyntheticBaseEvent"),il(t.prototype,{preventDefault:i(function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!="unknown"&&(e.returnValue=!1),this.isDefaultPrevented=Ai)},"preventDefault"),stopPropagation:i(function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!="unknown"&&(e.cancelBubble=!0),this.isPropagationStopped=Ai)},"stopPropagation"),persist:i(function(){},"persist"),isPersistent:Ai}),t}i(Fl,"createSyntheticEvent");var Aa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:i(function(l){return l.timeStamp||Date.now()},"timeStamp"),defaultPrevented:0,isTrusted:0},_c=Fl(Aa),Qu=il({},Aa,{view:0,detail:0}),F1=Fl(Qu),jf,Kf,Pn,Dc=il({},Qu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:As,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!==Pn&&(Pn&&l.type==="mousemove"?(jf=l.screenX-Pn.screenX,Kf=l.screenY-Pn.screenY):Kf=jf=0,Pn=l),jf)},"movementX"),movementY:i(function(l){return"movementY"in l?l.movementY:Kf},"movementY")}),D0=Fl(Dc),$1=il({},Dc,{dataTransfer:0}),I1=Fl($1),P1=il({},Qu,{relatedTarget:0}),Jf=Fl(P1),lp=il({},Aa,{animationName:0,elapsedTime:0,pseudoElement:0}),tp=Fl(lp),ep=il({},Aa,{clipboardData:i(function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData},"clipboardData")}),ap=Fl(ep),np=il({},Aa,{data:0}),O0=Fl(np),up={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ip={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"},cp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function fp(l){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(l):(l=cp[l])?!!t[l]:!1}i(fp,"modifierStateGetter");function As(){return fp}i(As,"getEventModifierState");var op=il({},Qu,{key:i(function(l){if(l.key){var t=up[l.key]||l.key;if(t!=="Unidentified")return t}return l.type==="keypress"?(l=Yi(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?ip[l.keyCode]||"Unidentified":""},"key"),code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:As,charCode:i(function(l){return l.type==="keypress"?Yi(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"?Yi(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0},"which")}),sp=Fl(op),rp=il({},Dc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),U0=Fl(rp),dp=il({},Qu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:As}),hp=Fl(dp),mp=il({},Aa,{propertyName:0,elapsedTime:0,pseudoElement:0}),yp=Fl(mp),vp=il({},Dc,{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}),pp=Fl(vp),gp=il({},Aa,{newState:0,oldState:0}),bp=Fl(gp),Sp=[9,13,27,32],Es=fe&&"CompositionEvent"in window,su=null;fe&&"documentMode"in document&&(su=document.documentMode);var zp=fe&&"TextEvent"in window&&!su,hm=fe&&(!Es||su&&8<su&&11>=su),C0=" ",B0=!1;function mm(l,t){switch(l){case"keyup":return Sp.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}i(mm,"isFallbackCompositionEnd");function ym(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}i(ym,"getDataFromCustomEvent");var $a=!1;function Tp(l,t){switch(l){case"compositionend":return ym(t);case"keypress":return t.which!==32?null:(B0=!0,C0);case"textInput":return l=t.data,l===C0&&B0?null:l;default:return null}}i(Tp,"getNativeBeforeInputChars");function Ap(l,t){if($a)return l==="compositionend"||!Es&&mm(l,t)?(l=dm(),Gi=Ts=Ce=null,$a=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return hm&&t.locale!=="ko"?null:t.data;default:return null}}i(Ap,"getFallbackBeforeInputChars");var Ep={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 k0(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t==="input"?!!Ep[l.type]:t==="textarea"}i(k0,"isTextInputElement");function vm(l,t,e,a){Fa?fn?fn.push(a):fn=[a]:Fa=a,t=bc(t,"onChange"),0<t.length&&(e=new _c("onChange","change",null,e,a),l.push({event:e,listeners:t}))}i(vm,"createAndAccumulateChangeEvent");var ru=null,Nu=null;function Np(l){rv(l,0)}i(Np,"runEventInBatch");function Oc(l){var t=cu(l);if(im(t))return l}i(Oc,"getInstIfValueChanged");function H0(l,t){if(l==="change")return t}i(H0,"getTargetInstForChangeEvent");var pm=!1;fe&&(fe?(Ni="oninput"in document,Ni||(wf=document.createElement("div"),wf.setAttribute("oninput","return;"),Ni=typeof wf.oninput=="function"),Ei=Ni):Ei=!1,pm=Ei&&(!document.documentMode||9<document.documentMode));var Ei,Ni,wf;function x0(){ru&&(ru.detachEvent("onpropertychange",gm),Nu=ru=null)}i(x0,"stopWatchingForValueChange");function gm(l){if(l.propertyName==="value"&&Oc(Nu)){var t=[];vm(t,Nu,l,zs(l)),rm(Np,t)}}i(gm,"handlePropertyChange");function Mp(l,t,e){l==="focusin"?(x0(),ru=t,Nu=e,ru.attachEvent("onpropertychange",gm)):l==="focusout"&&x0()}i(Mp,"handleEventsForInputEventPolyfill");function _p(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return Oc(Nu)}i(_p,"getTargetInstForInputEventPolyfill");function Dp(l,t){if(l==="click")return Oc(t)}i(Dp,"getTargetInstForClickEvent");function Op(l,t){if(l==="input"||l==="change")return Oc(t)}i(Op,"getTargetInstForInputOrChangeEvent");function Up(l,t){return l===t&&(l!==0||1/l===1/t)||l!==l&&t!==t}i(Up,"is");var it=typeof Object.is=="function"?Object.is:Up;function Mu(l,t){if(it(l,t))return!0;if(typeof l!="object"||l===null||typeof t!="object"||t===null)return!1;var e=Object.keys(l),a=Object.keys(t);if(e.length!==a.length)return!1;for(a=0;a<e.length;a++){var n=e[a];if(!Mo.call(t,n)||!it(l[n],t[n]))return!1}return!0}i(Mu,"shallowEqual");function R0(l){for(;l&&l.firstChild;)l=l.firstChild;return l}i(R0,"getLeafNode");function q0(l,t){var e=R0(l);l=0;for(var a;e;){if(e.nodeType===3){if(a=l+e.textContent.length,l<=t&&a>=t)return{node:e,offset:t-l};l=a}l:{for(;e;){if(e.nextSibling){e=e.nextSibling;break l}e=e.parentNode}e=void 0}e=R0(e)}}i(q0,"getNodeForCharacterOffset");function bm(l,t){return l&&t?l===t?!0:l&&l.nodeType===3?!1:t&&t.nodeType===3?bm(l,t.parentNode):"contains"in l?l.contains(t):l.compareDocumentPosition?!!(l.compareDocumentPosition(t)&16):!1:!1}i(bm,"containsNode");function Sm(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var t=tc(l.document);t instanceof l.HTMLIFrameElement;){try{var e=typeof t.contentWindow.location.href=="string"}catch{e=!1}if(e)l=t.contentWindow;else break;t=tc(l.document)}return t}i(Sm,"getActiveElementDeep");function Ns(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t&&(t==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||t==="textarea"||l.contentEditable==="true")}i(Ns,"hasSelectionCapabilities");var Cp=fe&&"documentMode"in document&&11>=document.documentMode,Ia=null,ko=null,du=null,Ho=!1;function G0(l,t,e){var a=e.window===e?e.document:e.nodeType===9?e:e.ownerDocument;Ho||Ia==null||Ia!==tc(a)||(a=Ia,"selectionStart"in a&&Ns(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}),du&&Mu(du,a)||(du=a,a=bc(ko,"onSelect"),0<a.length&&(t=new _c("onSelect","select",null,t,e),l.push({event:t,listeners:a}),t.target=Ia)))}i(G0,"constructSelectEvent");function ca(l,t){var e={};return e[l.toLowerCase()]=t.toLowerCase(),e["Webkit"+l]="webkit"+t,e["Moz"+l]="moz"+t,e}i(ca,"makePrefixMap");var Pa={animationend:ca("Animation","AnimationEnd"),animationiteration:ca("Animation","AnimationIteration"),animationstart:ca("Animation","AnimationStart"),transitionrun:ca("Transition","TransitionRun"),transitionstart:ca("Transition","TransitionStart"),transitioncancel:ca("Transition","TransitionCancel"),transitionend:ca("Transition","TransitionEnd")},Wf={},zm={};fe&&(zm=document.createElement("div").style,"AnimationEvent"in window||(delete Pa.animationend.animation,delete Pa.animationiteration.animation,delete Pa.animationstart.animation),"TransitionEvent"in window||delete Pa.transitionend.transition);function Ea(l){if(Wf[l])return Wf[l];if(!Pa[l])return l;var t=Pa[l],e;for(e in t)if(t.hasOwnProperty(e)&&e in zm)return Wf[l]=t[e];return l}i(Ea,"getVendorPrefixedEventName");var Tm=Ea("animationend"),Am=Ea("animationiteration"),Em=Ea("animationstart"),Bp=Ea("transitionrun"),kp=Ea("transitionstart"),Hp=Ea("transitioncancel"),Nm=Ea("transitionend"),Mm=new Map,xo="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(" ");xo.push("scrollEnd");function Ot(l,t){Mm.set(l,t),Ta(t,[l])}i(Ot,"registerSimpleEvent");var ec=typeof reportError=="function"?reportError:function(l){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=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(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",l);return}console.error(l)},mt=[],ln=0,Ms=0;function Uc(){for(var l=ln,t=Ms=ln=0;t<l;){var e=mt[t];mt[t++]=null;var a=mt[t];mt[t++]=null;var n=mt[t];mt[t++]=null;var u=mt[t];if(mt[t++]=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&&_m(e,n,u)}}i(Uc,"finishQueueingConcurrentUpdates");function Cc(l,t,e,a){mt[ln++]=l,mt[ln++]=t,mt[ln++]=e,mt[ln++]=a,Ms|=a,l.lanes|=a,l=l.alternate,l!==null&&(l.lanes|=a)}i(Cc,"enqueueUpdate$1");function _s(l,t,e,a){return Cc(l,t,e,a),ac(l)}i(_s,"enqueueConcurrentHookUpdate");function Na(l,t){return Cc(l,null,null,t),ac(l)}i(Na,"enqueueConcurrentRenderForLane");function _m(l,t,e){l.lanes|=e;var a=l.alternate;a!==null&&(a.lanes|=e);for(var n=!1,u=l.return;u!==null;)u.childLanes|=e,a=u.alternate,a!==null&&(a.childLanes|=e),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&&t!==null&&(n=31-nt(e),l=u.hiddenUpdates,a=l[n],a===null?l[n]=[t]:a.push(t),t.lane=e|536870912),u):null}i(_m,"markUpdateLaneFromFiberToRoot");function ac(l){if(50<zu)throw zu=0,es=null,Error(b(185));for(var t=l.return;t!==null;)l=t,t=l.return;return l.tag===3?l.stateNode:null}i(ac,"getRootForUpdatedFiber");var tn={};function xp(l,t,e,a){this.tag=l,this.key=e,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,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(xp,"FiberNode");function lt(l,t,e,a){return new xp(l,t,e,a)}i(lt,"createFiberImplClass");function Ds(l){return l=l.prototype,!(!l||!l.isReactComponent)}i(Ds,"shouldConstruct");function ue(l,t){var e=l.alternate;return e===null?(e=lt(l.tag,t,l.key,l.mode),e.elementType=l.elementType,e.type=l.type,e.stateNode=l.stateNode,e.alternate=l,l.alternate=e):(e.pendingProps=t,e.type=l.type,e.flags=0,e.subtreeFlags=0,e.deletions=null),e.flags=l.flags&65011712,e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},e.sibling=l.sibling,e.index=l.index,e.ref=l.ref,e.refCleanup=l.refCleanup,e}i(ue,"createWorkInProgress");function Dm(l,t){l.flags&=65011714;var e=l.alternate;return e===null?(l.childLanes=0,l.lanes=t,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,l.type=e.type,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),l}i(Dm,"resetWorkInProgress");function Vi(l,t,e,a,n,u){var c=0;if(a=l,typeof l=="function")Ds(l)&&(c=1);else if(typeof l=="string")c=Gg(l,e,Gt.current)?26:l==="html"||l==="head"||l==="body"?27:5;else l:switch(l){case To:return l=lt(31,e,t,n),l.elementType=To,l.lanes=u,l;case Ja:return ha(e.children,n,u,t);case Jh:c=8,n|=24;break;case bo:return l=lt(12,e,t,n|2),l.elementType=bo,l.lanes=u,l;case So:return l=lt(13,e,t,n),l.elementType=So,l.lanes=u,l;case zo:return l=lt(19,e,t,n),l.elementType=zo,l.lanes=u,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case ee:c=10;break l;case wh:c=9;break l;case ms:c=11;break l;case ys:c=14;break l;case Ee:c=16,a=null;break l}c=29,e=Error(b(130,l===null?"null":typeof l,"")),a=null}return t=lt(c,e,t,n),t.elementType=l,t.type=a,t.lanes=u,t}i(Vi,"createFiberFromTypeAndProps");function ha(l,t,e,a){return l=lt(7,l,a,t),l.lanes=e,l}i(ha,"createFiberFromFragment");function Ff(l,t,e){return l=lt(6,l,null,t),l.lanes=e,l}i(Ff,"createFiberFromText");function Om(l){var t=lt(18,null,null,0);return t.stateNode=l,t}i(Om,"createFiberFromDehydratedFragment");function $f(l,t,e){return t=lt(4,l.children!==null?l.children:[],l.key,t),t.lanes=e,t.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},t}i($f,"createFiberFromPortal");var Y0=new WeakMap;function bt(l,t){if(typeof l=="object"&&l!==null){var e=Y0.get(l);return e!==void 0?e:(t={value:l,source:t,stack:S0(t)},Y0.set(l,t),t)}return{value:l,source:t,stack:S0(t)}}i(bt,"createCapturedValueAtFiber");var en=[],an=0,nc=null,_u=0,vt=[],pt=0,Ze=null,xt=1,Rt="";function le(l,t){en[an++]=_u,en[an++]=nc,nc=l,_u=t}i(le,"pushTreeFork");function Um(l,t,e){vt[pt++]=xt,vt[pt++]=Rt,vt[pt++]=Ze,Ze=l;var a=xt;l=Rt;var n=32-nt(a)-1;a&=~(1<<n),e+=1;var u=32-nt(t)+n;if(30<u){var c=n-n%5;u=(a&(1<<c)-1).toString(32),a>>=c,n-=c,xt=1<<32-nt(t)+n|e<<n|a,Rt=u+l}else xt=1<<u|e<<n|a,Rt=l}i(Um,"pushTreeId");function Os(l){l.return!==null&&(le(l,1),Um(l,1,0))}i(Os,"pushMaterializedTreeId");function Us(l){for(;l===nc;)nc=en[--an],en[an]=null,_u=en[--an],en[an]=null;for(;l===Ze;)Ze=vt[--pt],vt[pt]=null,Rt=vt[--pt],vt[pt]=null,xt=vt[--pt],vt[pt]=null}i(Us,"popTreeContext");function Cm(l,t){vt[pt++]=xt,vt[pt++]=Rt,vt[pt++]=Ze,xt=t.id,Rt=t.overflow,Ze=l}i(Cm,"restoreSuspendedTreeContext");var Hl=null,ul=null,X=!1,Re=null,St=!1,Ro=Error(b(519));function je(l){var t=Error(b(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Du(bt(t,l)),Ro}i(je,"throwOnHydrationMismatch");function V0(l){var t=l.stateNode,e=l.type,a=l.memoizedProps;switch(t[kl]=l,t[Wl]=a,e){case"dialog":Y("cancel",t),Y("close",t);break;case"iframe":case"object":case"embed":Y("load",t);break;case"video":case"audio":for(e=0;e<Bu.length;e++)Y(Bu[e],t);break;case"source":Y("error",t);break;case"img":case"image":case"link":Y("error",t),Y("load",t);break;case"details":Y("toggle",t);break;case"input":Y("invalid",t),cm(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":Y("invalid",t);break;case"textarea":Y("invalid",t),om(t,a.value,a.defaultValue,a.children)}e=a.children,typeof e!="string"&&typeof e!="number"&&typeof e!="bigint"||t.textContent===""+e||a.suppressHydrationWarning===!0||hv(t.textContent,e)?(a.popover!=null&&(Y("beforetoggle",t),Y("toggle",t)),a.onScroll!=null&&Y("scroll",t),a.onScrollEnd!=null&&Y("scrollend",t),a.onClick!=null&&(t.onclick=ae),t=!0):t=!1,t||je(l,!0)}i(V0,"prepareToHydrateHostInstance");function L0(l){for(Hl=l.return;Hl;)switch(Hl.tag){case 5:case 31:case 13:St=!1;return;case 27:case 3:St=!0;return;default:Hl=Hl.return}}i(L0,"popToNextHostParent");function Xa(l){if(l!==Hl)return!1;if(!X)return L0(l),X=!0,!1;var t=l.tag,e;if((e=t!==3&&t!==27)&&((e=t===5)&&(e=l.type,e=!(e!=="form"&&e!=="button")||cs(l.type,l.memoizedProps)),e=!e),e&&ul&&je(l),L0(l),t===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(b(317));ul=Oh(l)}else if(t===31){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(b(317));ul=Oh(l)}else t===27?(t=ul,We(l.type)?(l=rs,rs=null,ul=l):ul=t):ul=Hl?Tt(l.stateNode.nextSibling):null;return!0}i(Xa,"popHydrationState");function pa(){ul=Hl=null,X=!1}i(pa,"resetHydrationState");function If(){var l=Re;return l!==null&&(Jl===null?Jl=l:Jl.push.apply(Jl,l),Re=null),l}i(If,"upgradeHydrationErrorsToRecoverable");function Du(l){Re===null?Re=[l]:Re.push(l)}i(Du,"queueHydrationError");var qo=Yt(null),Ma=null,ne=null;function Me(l,t,e){el(qo,t._currentValue),t._currentValue=e}i(Me,"pushProvider");function ie(l){l._currentValue=qo.current,Ol(qo)}i(ie,"popProvider");function Go(l,t,e){for(;l!==null;){var a=l.alternate;if((l.childLanes&t)!==t?(l.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),l===e)break;l=l.return}}i(Go,"scheduleContextWorkOnParentPath");function Yo(l,t,e,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<t.length;o++)if(f.context===t[o]){u.lanes|=e,f=u.alternate,f!==null&&(f.lanes|=e),Go(u.return,e,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|=e,u=c.alternate,u!==null&&(u.lanes|=e),Go(c,e,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(Yo,"propagateContextChanges");function Mn(l,t,e,a){l=null;for(var n=t,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;it(n.pendingProps.value,c.value)||(l!==null?l.push(f):l=[f])}}else if(n===$i.current){if(c=n.alternate,c===null)throw Error(b(387));c.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(l!==null?l.push(Hu):l=[Hu])}n=n.return}l!==null&&Yo(t,l,e,a),t.flags|=262144}i(Mn,"propagateParentContextChanges");function uc(l){for(l=l.firstContext;l!==null;){if(!it(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}i(uc,"checkIfContextChanged");function ga(l){Ma=l,ne=null,l=l.dependencies,l!==null&&(l.firstContext=null)}i(ga,"prepareToReadContext");function xl(l){return Bm(Ma,l)}i(xl,"readContext");function Mi(l,t){return Ma===null&&ga(l),Bm(l,t)}i(Mi,"readContextDuringReconciliation");function Bm(l,t){var e=t._currentValue;if(t={context:t,memoizedValue:e,next:null},ne===null){if(l===null)throw Error(b(308));ne=t,l.dependencies={lanes:0,firstContext:t},l.flags|=524288}else ne=ne.next=t;return e}i(Bm,"readContextForConsumer");var Rp=typeof AbortController<"u"?AbortController:function(){var l=[],t=this.signal={aborted:!1,addEventListener:i(function(e,a){l.push(a)},"addEventListener")};this.abort=function(){t.aborted=!0,l.forEach(function(e){return e()})}},qp=Nl.unstable_scheduleCallback,Gp=Nl.unstable_NormalPriority,Tl={$$typeof:ee,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Cs(){return{controller:new Rp,data:new Map,refCount:0}}i(Cs,"createCache");function Xu(l){l.refCount--,l.refCount===0&&qp(Gp,function(){l.controller.abort()})}i(Xu,"releaseCache");var hu=null,Vo=0,vn=0,on=null;function Yp(l,t){if(hu===null){var e=hu=[];Vo=0,vn=er(),on={status:"pending",value:void 0,then:i(function(a){e.push(a)},"then")}}return Vo++,t.then(Q0,Q0),t}i(Yp,"entangleAsyncAction");function Q0(){if(--Vo===0&&hu!==null){on!==null&&(on.status="fulfilled");var l=hu;hu=null,vn=0,on=null;for(var t=0;t<l.length;t++)(0,l[t])()}}i(Q0,"pingEngtangledActionScope");function Vp(l,t){var e=[],a={status:"pending",value:null,reason:null,then:i(function(n){e.push(n)},"then")};return l.then(function(){a.status="fulfilled",a.value=t;for(var n=0;n<e.length;n++)(0,e[n])(t)},function(n){for(a.status="rejected",a.reason=n,n=0;n<e.length;n++)(0,e[n])(void 0)}),a}i(Vp,"chainThenableValue");var X0=k.S;k.S=function(l,t){Ky=et(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&Yp(l,t),X0!==null&&X0(l,t)};var ma=Yt(null);function Bs(){var l=ma.current;return l!==null?l:tl.pooledCache}i(Bs,"peekCacheFromPool");function Li(l,t){t===null?el(ma,ma.current):el(ma,t.pool)}i(Li,"pushTransition");function km(){var l=Bs();return l===null?null:{parent:Tl._currentValue,pool:l}}i(km,"getSuspendedCache");var _n=Error(b(460)),ks=Error(b(474)),Bc=Error(b(542)),ic={then:i(function(){},"then")};function Z0(l){return l=l.status,l==="fulfilled"||l==="rejected"}i(Z0,"isThenableResolved");function Hm(l,t,e){switch(e=l[e],e===void 0?l.push(t):e!==t&&(t.then(ae,ae),t=e),t.status){case"fulfilled":return t.value;case"rejected":throw l=t.reason,K0(l),l;default:if(typeof t.status=="string")t.then(ae,ae);else{if(l=tl,l!==null&&100<l.shellSuspendCounter)throw Error(b(482));l=t,l.status="pending",l.then(function(a){if(t.status==="pending"){var n=t;n.status="fulfilled",n.value=a}},function(a){if(t.status==="pending"){var n=t;n.status="rejected",n.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw l=t.reason,K0(l),l}throw ya=t,_n}}i(Hm,"trackUsedThenable");function sa(l){try{var t=l._init;return t(l._payload)}catch(e){throw e!==null&&typeof e=="object"&&typeof e.then=="function"?(ya=e,_n):e}}i(sa,"resolveLazy");var ya=null;function j0(){if(ya===null)throw Error(b(459));var l=ya;return ya=null,l}i(j0,"getSuspendedThenable");function K0(l){if(l===_n||l===Bc)throw Error(b(483))}i(K0,"checkIfUseWrappedInAsyncCatch");var sn=null,Ou=0;function _i(l){var t=Ou;return Ou+=1,sn===null&&(sn=[]),Hm(sn,l,t)}i(_i,"unwrapThenable");function lu(l,t){t=t.props.ref,l.ref=t!==void 0?t:null}i(lu,"coerceRef");function Di(l,t){throw t.$$typeof===M1?Error(b(525)):(l=Object.prototype.toString.call(t),Error(b(31,l==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":l)))}i(Di,"throwOnInvalidObjectTypeImpl");function xm(l){function t(h,r){if(l){var y=h.deletions;y===null?(h.deletions=[r],h.flags|=16):y.push(r)}}i(t,"deleteChild");function e(h,r){if(!l)return null;for(;r!==null;)t(h,r),r=r.sibling;return null}i(e,"deleteRemainingChildren");function a(h){for(var r=new Map;h!==null;)h.key!==null?r.set(h.key,h):r.set(h.index,h),h=h.sibling;return r}i(a,"mapRemainingChildren");function n(h,r){return h=ue(h,r),h.index=0,h.sibling=null,h}i(n,"useFiber");function u(h,r,y){return h.index=y,l?(y=h.alternate,y!==null?(y=y.index,y<r?(h.flags|=67108866,r):y):(h.flags|=67108866,r)):(h.flags|=1048576,r)}i(u,"placeChild");function c(h){return l&&h.alternate===null&&(h.flags|=67108866),h}i(c,"placeSingleChild");function f(h,r,y,g){return r===null||r.tag!==6?(r=Ff(y,h.mode,g),r.return=h,r):(r=n(r,y),r.return=h,r)}i(f,"updateTextNode");function o(h,r,y,g){var N=y.type;return N===Ja?v(h,r,y.props.children,g,y.key):r!==null&&(r.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===Ee&&sa(N)===r.type)?(r=n(r,y.props),lu(r,y),r.return=h,r):(r=Vi(y.type,y.key,y.props,null,h.mode,g),lu(r,y),r.return=h,r)}i(o,"updateElement");function s(h,r,y,g){return r===null||r.tag!==4||r.stateNode.containerInfo!==y.containerInfo||r.stateNode.implementation!==y.implementation?(r=$f(y,h.mode,g),r.return=h,r):(r=n(r,y.children||[]),r.return=h,r)}i(s,"updatePortal");function v(h,r,y,g,N){return r===null||r.tag!==7?(r=ha(y,h.mode,g,N),r.return=h,r):(r=n(r,y),r.return=h,r)}i(v,"updateFragment");function p(h,r,y){if(typeof r=="string"&&r!==""||typeof r=="number"||typeof r=="bigint")return r=Ff(""+r,h.mode,y),r.return=h,r;if(typeof r=="object"&&r!==null){switch(r.$$typeof){case gi:return y=Vi(r.type,r.key,r.props,null,h.mode,y),lu(y,r),y.return=h,y;case uu:return r=$f(r,h.mode,y),r.return=h,r;case Ee:return r=sa(r),p(h,r,y)}if(iu(r)||In(r))return r=ha(r,h.mode,y,null),r.return=h,r;if(typeof r.then=="function")return p(h,_i(r),y);if(r.$$typeof===ee)return p(h,Mi(h,r),y);Di(h,r)}return null}i(p,"createChild");function m(h,r,y,g){var N=r!==null?r.key:null;if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return N!==null?null:f(h,r,""+y,g);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case gi:return y.key===N?o(h,r,y,g):null;case uu:return y.key===N?s(h,r,y,g):null;case Ee:return y=sa(y),m(h,r,y,g)}if(iu(y)||In(y))return N!==null?null:v(h,r,y,g,null);if(typeof y.then=="function")return m(h,r,_i(y),g);if(y.$$typeof===ee)return m(h,r,Mi(h,y),g);Di(h,y)}return null}i(m,"updateSlot");function d(h,r,y,g,N){if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return h=h.get(y)||null,f(r,h,""+g,N);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case gi:return h=h.get(g.key===null?y:g.key)||null,o(r,h,g,N);case uu:return h=h.get(g.key===null?y:g.key)||null,s(r,h,g,N);case Ee:return g=sa(g),d(h,r,y,g,N)}if(iu(g)||In(g))return h=h.get(y)||null,v(r,h,g,N,null);if(typeof g.then=="function")return d(h,r,y,_i(g),N);if(g.$$typeof===ee)return d(h,r,y,Mi(r,g),N);Di(r,g)}return null}i(d,"updateFromMap");function T(h,r,y,g){for(var N=null,_=null,A=r,M=r=0,C=null;A!==null&&M<y.length;M++){A.index>M?(C=A,A=null):C=A.sibling;var G=m(h,A,y[M],g);if(G===null){A===null&&(A=C);break}l&&A&&G.alternate===null&&t(h,A),r=u(G,r,M),_===null?N=G:_.sibling=G,_=G,A=C}if(M===y.length)return e(h,A),X&&le(h,M),N;if(A===null){for(;M<y.length;M++)A=p(h,y[M],g),A!==null&&(r=u(A,r,M),_===null?N=A:_.sibling=A,_=A);return X&&le(h,M),N}for(A=a(A);M<y.length;M++)C=d(A,h,M,y[M],g),C!==null&&(l&&C.alternate!==null&&A.delete(C.key===null?M:C.key),r=u(C,r,M),_===null?N=C:_.sibling=C,_=C);return l&&A.forEach(function(Ql){return t(h,Ql)}),X&&le(h,M),N}i(T,"reconcileChildrenArray");function E(h,r,y,g){if(y==null)throw Error(b(151));for(var N=null,_=null,A=r,M=r=0,C=null,G=y.next();A!==null&&!G.done;M++,G=y.next()){A.index>M?(C=A,A=null):C=A.sibling;var Ql=m(h,A,G.value,g);if(Ql===null){A===null&&(A=C);break}l&&A&&Ql.alternate===null&&t(h,A),r=u(Ql,r,M),_===null?N=Ql:_.sibling=Ql,_=Ql,A=C}if(G.done)return e(h,A),X&&le(h,M),N;if(A===null){for(;!G.done;M++,G=y.next())G=p(h,G.value,g),G!==null&&(r=u(G,r,M),_===null?N=G:_.sibling=G,_=G);return X&&le(h,M),N}for(A=a(A);!G.done;M++,G=y.next())G=d(A,h,M,G.value,g),G!==null&&(l&&G.alternate!==null&&A.delete(G.key===null?M:G.key),r=u(G,r,M),_===null?N=G:_.sibling=G,_=G);return l&&A.forEach(function($e){return t(h,$e)}),X&&le(h,M),N}i(E,"reconcileChildrenIterator");function U(h,r,y,g){if(typeof y=="object"&&y!==null&&y.type===Ja&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case gi:l:{for(var N=y.key;r!==null;){if(r.key===N){if(N=y.type,N===Ja){if(r.tag===7){e(h,r.sibling),g=n(r,y.props.children),g.return=h,h=g;break l}}else if(r.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===Ee&&sa(N)===r.type){e(h,r.sibling),g=n(r,y.props),lu(g,y),g.return=h,h=g;break l}e(h,r);break}else t(h,r);r=r.sibling}y.type===Ja?(g=ha(y.props.children,h.mode,g,y.key),g.return=h,h=g):(g=Vi(y.type,y.key,y.props,null,h.mode,g),lu(g,y),g.return=h,h=g)}return c(h);case uu:l:{for(N=y.key;r!==null;){if(r.key===N)if(r.tag===4&&r.stateNode.containerInfo===y.containerInfo&&r.stateNode.implementation===y.implementation){e(h,r.sibling),g=n(r,y.children||[]),g.return=h,h=g;break l}else{e(h,r);break}else t(h,r);r=r.sibling}g=$f(y,h.mode,g),g.return=h,h=g}return c(h);case Ee:return y=sa(y),U(h,r,y,g)}if(iu(y))return T(h,r,y,g);if(In(y)){if(N=In(y),typeof N!="function")throw Error(b(150));return y=N.call(y),E(h,r,y,g)}if(typeof y.then=="function")return U(h,r,_i(y),g);if(y.$$typeof===ee)return U(h,r,Mi(h,y),g);Di(h,y)}return typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint"?(y=""+y,r!==null&&r.tag===6?(e(h,r.sibling),g=n(r,y),g.return=h,h=g):(e(h,r),g=Ff(y,h.mode,g),g.return=h,h=g),c(h)):e(h,r)}return i(U,"reconcileChildFibersImpl"),function(h,r,y,g){try{Ou=0;var N=U(h,r,y,g);return sn=null,N}catch(A){if(A===_n||A===Bc)throw A;var _=lt(29,A,null,h.mode);return _.lanes=g,_.return=h,_}}}i(xm,"createChildReconciler");var ba=xm(!0),Rm=xm(!1),Ne=!1;function Hs(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}i(Hs,"initializeUpdateQueue");function Lo(l,t){l=l.updateQueue,t.updateQueue===l&&(t.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,callbacks:null})}i(Lo,"cloneUpdateQueue");function qe(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}i(qe,"createUpdate");function Ge(l,t,e){var a=l.updateQueue;if(a===null)return null;if(a=a.shared,(j&2)!==0){var n=a.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),a.pending=t,t=ac(l),_m(l,null,e),t}return Cc(l,a,t,e),ac(l)}i(Ge,"enqueueUpdate");function mu(l,t,e){if(t=t.updateQueue,t!==null&&(t=t.shared,(e&4194048)!==0)){var a=t.lanes;a&=l.pendingLanes,e|=a,t.lanes=e,lm(l,e)}}i(mu,"entangleTransitions");function Pf(l,t){var e=l.updateQueue,a=l.alternate;if(a!==null&&(a=a.updateQueue,e===a)){var n=null,u=null;if(e=e.firstBaseUpdate,e!==null){do{var c={lane:e.lane,tag:e.tag,payload:e.payload,callback:null,next:null};u===null?n=u=c:u=u.next=c,e=e.next}while(e!==null);u===null?n=u=t:u=u.next=t}else n=u=t;e={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},l.updateQueue=e;return}l=e.lastBaseUpdate,l===null?e.firstBaseUpdate=t:l.next=t,e.lastBaseUpdate=t}i(Pf,"enqueueCapturedUpdate");var Qo=!1;function yu(){if(Qo){var l=on;if(l!==null)throw l}}i(yu,"suspendIfUpdateReadFromEntangledAsyncAction");function vu(l,t,e,a){Qo=!1;var n=l.updateQueue;Ne=!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 m=f.lane&-536870913,d=m!==f.lane;if(d?(L&m)===m:(a&m)===m){m!==0&&m===vn&&(Qo=!0),v!==null&&(v=v.next={lane:0,tag:f.tag,payload:f.payload,callback:null,next:null});l:{var T=l,E=f;m=t;var U=e;switch(E.tag){case 1:if(T=E.payload,typeof T=="function"){p=T.call(U,p,m);break l}p=T;break l;case 3:T.flags=T.flags&-65537|128;case 0:if(T=E.payload,m=typeof T=="function"?T.call(U,p,m):T,m==null)break l;p=il({},p,m);break l;case 2:Ne=!0}}m=f.callback,m!==null&&(l.flags|=64,d&&(l.flags|=8192),d=n.callbacks,d===null?n.callbacks=[m]:d.push(m))}else d={lane:m,tag:f.tag,payload:f.payload,callback:f.callback,next:null},v===null?(s=v=d,o=p):v=v.next=d,c|=m;if(f=f.next,f===null){if(f=n.shared.pending,f===null)break;d=f,f=d.next,d.next=null,n.lastBaseUpdate=d,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),Je|=c,l.lanes=c,l.memoizedState=p}}i(vu,"processUpdateQueue");function qm(l,t){if(typeof l!="function")throw Error(b(191,l));l.call(t)}i(qm,"callCallback");function Gm(l,t){var e=l.callbacks;if(e!==null)for(l.callbacks=null,l=0;l<e.length;l++)qm(e[l],t)}i(Gm,"commitCallbacks");var pn=Yt(null),cc=Yt(0);function J0(l,t){l=de,el(cc,l),el(pn,t),de=l|t.baseLanes}i(J0,"pushHiddenContext");function Xo(){el(cc,de),el(pn,pn.current)}i(Xo,"reuseHiddenContextOnStack");function xs(){de=cc.current,Ol(pn),Ol(cc)}i(xs,"popHiddenContext");var ct=Yt(null),zt=null;function _e(l){var t=l.alternate;el(vl,vl.current&1),el(ct,l),zt===null&&(t===null||pn.current!==null||t.memoizedState!==null)&&(zt=l)}i(_e,"pushPrimaryTreeSuspenseHandler");function Zo(l){el(vl,vl.current),el(ct,l),zt===null&&(zt=l)}i(Zo,"pushDehydratedActivitySuspenseHandler");function Ym(l){l.tag===22?(el(vl,vl.current),el(ct,l),zt===null&&(zt=l)):De(l)}i(Ym,"pushOffscreenSuspenseHandler");function De(){el(vl,vl.current),el(ct,ct.current)}i(De,"reuseSuspenseHandlerOnStack");function Pl(l){Ol(ct),zt===l&&(zt=null),Ol(vl)}i(Pl,"popSuspenseHandler");var vl=Yt(0);function fc(l){for(var t=l;t!==null;){if(t.tag===13){var e=t.memoizedState;if(e!==null&&(e=e.dehydrated,e===null||os(e)||ss(e)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===l)break;for(;t.sibling===null;){if(t.return===null||t.return===l)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}i(fc,"findFirstSuspended");var oe=0,q=null,P=null,Sl=null,oc=!1,rn=!1,Sa=!1,sc=0,Uu=0,dn=null,Lp=0;function dl(){throw Error(b(321))}i(dl,"throwInvalidHookError");function Rs(l,t){if(t===null)return!1;for(var e=0;e<t.length&&e<l.length;e++)if(!it(l[e],t[e]))return!1;return!0}i(Rs,"areHookInputsEqual");function qs(l,t,e,a,n,u){return oe=u,q=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,k.H=l===null||l.memoizedState===null?vy:ws,Sa=!1,u=e(a,n),Sa=!1,rn&&(u=Lm(t,e,a,n)),Vm(l),u}i(qs,"renderWithHooks");function Vm(l){k.H=Cu;var t=P!==null&&P.next!==null;if(oe=0,Sl=P=q=null,oc=!1,Uu=0,dn=null,t)throw Error(b(300));l===null||Al||(l=l.dependencies,l!==null&&uc(l)&&(Al=!0))}i(Vm,"finishRenderingHooks");function Lm(l,t,e,a){q=l;var n=0;do{if(rn&&(dn=null),Uu=0,rn=!1,25<=n)throw Error(b(301));if(n+=1,Sl=P=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=py,u=t(e,a)}while(rn);return u}i(Lm,"renderWithHooksAgain");function Qp(){var l=k.H,t=l.useState()[0];return t=typeof t.then=="function"?Zu(t):t,l=l.useState()[0],(P!==null?P.memoizedState:null)!==l&&(q.flags|=1024),t}i(Qp,"TransitionAwareHostComponent");function Gs(){var l=sc!==0;return sc=0,l}i(Gs,"checkDidRenderIdHook");function Ys(l,t,e){t.updateQueue=l.updateQueue,t.flags&=-2053,l.lanes&=~e}i(Ys,"bailoutHooks");function Vs(l){if(oc){for(l=l.memoizedState;l!==null;){var t=l.queue;t!==null&&(t.pending=null),l=l.next}oc=!1}oe=0,Sl=P=q=null,rn=!1,Uu=sc=0,dn=null}i(Vs,"resetHooksOnUnwind");function Ll(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Sl===null?q.memoizedState=Sl=l:Sl=Sl.next=l,Sl}i(Ll,"mountWorkInProgressHook");function pl(){if(P===null){var l=q.alternate;l=l!==null?l.memoizedState:null}else l=P.next;var t=Sl===null?q.memoizedState:Sl.next;if(t!==null)Sl=t,P=l;else{if(l===null)throw q.alternate===null?Error(b(467)):Error(b(310));P=l,l={memoizedState:P.memoizedState,baseState:P.baseState,baseQueue:P.baseQueue,queue:P.queue,next:null},Sl===null?q.memoizedState=Sl=l:Sl=Sl.next=l}return Sl}i(pl,"updateWorkInProgressHook");function kc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}i(kc,"createFunctionComponentUpdateQueue");function Zu(l){var t=Uu;return Uu+=1,dn===null&&(dn=[]),l=Hm(dn,l,t),t=q,(Sl===null?t.memoizedState:Sl.next)===null&&(t=t.alternate,k.H=t===null||t.memoizedState===null?vy:ws),l}i(Zu,"useThenable");function Hc(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return Zu(l);if(l.$$typeof===ee)return xl(l)}throw Error(b(438,String(l)))}i(Hc,"use");function Ls(l){var t=null,e=q.updateQueue;if(e!==null&&(t=e.memoCache),t==null){var a=q.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(n){return n.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),e===null&&(e=kc(),q.updateQueue=e),e.memoCache=t,e=t.data[t.index],e===void 0)for(e=t.data[t.index]=Array(l),a=0;a<l;a++)e[a]=_1;return t.index++,e}i(Ls,"useMemoCache");function se(l,t){return typeof t=="function"?t(l):t}i(se,"basicStateReducer");function Qi(l){var t=pl();return Qs(t,P,l)}i(Qi,"updateReducer");function Qs(l,t,e){var a=l.queue;if(a===null)throw Error(b(311));a.lastRenderedReducer=e;var n=l.baseQueue,u=a.pending;if(u!==null){if(n!==null){var c=n.next;n.next=u.next,u.next=c}t.baseQueue=n=u,a.pending=null}if(u=l.baseState,n===null)l.memoizedState=u;else{t=n.next;var f=c=null,o=null,s=t,v=!1;do{var p=s.lane&-536870913;if(p!==s.lane?(L&p)===p:(oe&p)===p){var m=s.revertLane;if(m===0)o!==null&&(o=o.next={lane:0,revertLane:0,gesture:null,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),p===vn&&(v=!0);else if((oe&m)===m){s=s.next,m===vn&&(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|=m,Je|=m;p=s.action,Sa&&e(u,p),u=s.hasEagerState?s.eagerState:e(u,p)}else m={lane:p,revertLane:s.revertLane,gesture:s.gesture,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null},o===null?(f=o=m,c=u):o=o.next=m,q.lanes|=p,Je|=p;s=s.next}while(s!==null&&s!==t);if(o===null?c=u:o.next=f,!it(u,l.memoizedState)&&(Al=!0,v&&(e=on,e!==null)))throw e;l.memoizedState=u,l.baseState=c,l.baseQueue=o,a.lastRenderedState=u}return n===null&&(a.lanes=0),[l.memoizedState,a.dispatch]}i(Qs,"updateReducerImpl");function lo(l){var t=pl(),e=t.queue;if(e===null)throw Error(b(311));e.lastRenderedReducer=l;var a=e.dispatch,n=e.pending,u=t.memoizedState;if(n!==null){e.pending=null;var c=n=n.next;do u=l(u,c.action),c=c.next;while(c!==n);it(u,t.memoizedState)||(Al=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),e.lastRenderedState=u}return[u,a]}i(lo,"rerenderReducer");function Qm(l,t,e){var a=q,n=pl(),u=X;if(u){if(e===void 0)throw Error(b(407));e=e()}else e=t();var c=!it((P||n).memoizedState,e);if(c&&(n.memoizedState=e,Al=!0),n=n.queue,Xs(jm.bind(null,a,n,l),[l]),n.getSnapshot!==t||c||Sl!==null&&Sl.memoizedState.tag&1){if(a.flags|=2048,gn(9,{destroy:void 0},Zm.bind(null,a,n,e,t),null),tl===null)throw Error(b(349));u||(oe&127)!==0||Xm(a,t,e)}return e}i(Qm,"updateSyncExternalStore");function Xm(l,t,e){l.flags|=16384,l={getSnapshot:t,value:e},t=q.updateQueue,t===null?(t=kc(),q.updateQueue=t,t.stores=[l]):(e=t.stores,e===null?t.stores=[l]:e.push(l))}i(Xm,"pushStoreConsistencyCheck");function Zm(l,t,e,a){t.value=e,t.getSnapshot=a,Km(t)&&Jm(l)}i(Zm,"updateStoreInstance");function jm(l,t,e){return e(function(){Km(t)&&Jm(l)})}i(jm,"subscribeToStore");function Km(l){var t=l.getSnapshot;l=l.value;try{var e=t();return!it(l,e)}catch{return!0}}i(Km,"checkIfSnapshotChanged");function Jm(l){var t=Na(l,2);t!==null&&wl(t,l,2)}i(Jm,"forceStoreRerender");function jo(l){var t=Ll();if(typeof l=="function"){var e=l;if(l=e(),Sa){Ue(!0);try{e()}finally{Ue(!1)}}}return t.memoizedState=t.baseState=l,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:se,lastRenderedState:l},t}i(jo,"mountStateImpl");function wm(l,t,e,a){return l.baseState=e,Qs(l,P,typeof a=="function"?a:se)}i(wm,"updateOptimisticImpl");function Xp(l,t,e,a,n){if(Rc(l))throw Error(b(485));if(l=t.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?e(!0):u.isTransition=!1,a(u),e=t.pending,e===null?(u.next=t.pending=u,Wm(t,u)):(u.next=e.next,t.pending=e.next=u)}}i(Xp,"dispatchActionState");function Wm(l,t){var e=t.action,a=t.payload,n=l.state;if(t.isTransition){var u=k.T,c={};k.T=c;try{var f=e(n,a),o=k.S;o!==null&&o(c,f),w0(l,t,f)}catch(s){Ko(l,t,s)}finally{u!==null&&c.types!==null&&(u.types=c.types),k.T=u}}else try{u=e(n,a),w0(l,t,u)}catch(s){Ko(l,t,s)}}i(Wm,"runActionStateAction");function w0(l,t,e){e!==null&&typeof e=="object"&&typeof e.then=="function"?e.then(function(a){W0(l,t,a)},function(a){return Ko(l,t,a)}):W0(l,t,e)}i(w0,"handleActionReturnValue");function W0(l,t,e){t.status="fulfilled",t.value=e,Fm(t),l.state=e,t=l.pending,t!==null&&(e=t.next,e===t?l.pending=null:(e=e.next,t.next=e,Wm(l,e)))}i(W0,"onActionSuccess");function Ko(l,t,e){var a=l.pending;if(l.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=e,Fm(t),t=t.next;while(t!==a)}l.action=null}i(Ko,"onActionError");function Fm(l){l=l.listeners;for(var t=0;t<l.length;t++)(0,l[t])()}i(Fm,"notifyActionListeners");function $m(l,t){return t}i($m,"actionStateReducer");function F0(l,t){if(X){var e=tl.formState;if(e!==null){l:{var a=q;if(X){if(ul){t:{for(var n=ul,u=St;n.nodeType!==8;){if(!u){n=null;break t}if(n=Tt(n.nextSibling),n===null){n=null;break t}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){ul=Tt(n.nextSibling),a=n.data==="F!";break l}}je(a)}a=!1}a&&(t=e[0])}}return e=Ll(),e.memoizedState=e.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$m,lastRenderedState:t},e.queue=a,e=hy.bind(null,q,a),a.dispatch=e,a=jo(!1),u=Js.bind(null,q,!1,a.queue),a=Ll(),n={state:t,dispatch:null,action:l,pending:null},a.queue=n,e=Xp.bind(null,q,n,u,e),n.dispatch=e,a.memoizedState=l,[t,e,!1]}i(F0,"mountActionState");function $0(l){var t=pl();return Im(t,P,l)}i($0,"updateActionState");function Im(l,t,e){if(t=Qs(l,t,$m)[0],l=Qi(se)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=Zu(t)}catch(c){throw c===_n?Bc:c}else a=t;t=pl();var n=t.queue,u=n.dispatch;return e!==t.memoizedState&&(q.flags|=2048,gn(9,{destroy:void 0},Zp.bind(null,n,e),null)),[a,u,l]}i(Im,"updateActionStateImpl");function Zp(l,t){l.action=t}i(Zp,"actionStateActionEffect");function I0(l){var t=pl(),e=P;if(e!==null)return Im(t,e,l);pl(),t=t.memoizedState,e=pl();var a=e.queue.dispatch;return e.memoizedState=l,[t,a,!1]}i(I0,"rerenderActionState");function gn(l,t,e,a){return l={tag:l,create:e,deps:a,inst:t,next:null},t=q.updateQueue,t===null&&(t=kc(),q.updateQueue=t),e=t.lastEffect,e===null?t.lastEffect=l.next=l:(a=e.next,e.next=l,l.next=a,t.lastEffect=l),l}i(gn,"pushSimpleEffect");function Pm(){return pl().memoizedState}i(Pm,"updateRef");function Xi(l,t,e,a){var n=Ll();q.flags|=l,n.memoizedState=gn(1|t,{destroy:void 0},e,a===void 0?null:a)}i(Xi,"mountEffectImpl");function xc(l,t,e,a){var n=pl();a=a===void 0?null:a;var u=n.memoizedState.inst;P!==null&&a!==null&&Rs(a,P.memoizedState.deps)?n.memoizedState=gn(t,u,e,a):(q.flags|=l,n.memoizedState=gn(1|t,u,e,a))}i(xc,"updateEffectImpl");function P0(l,t){Xi(8390656,8,l,t)}i(P0,"mountEffect");function Xs(l,t){xc(2048,8,l,t)}i(Xs,"updateEffect");function jp(l){q.flags|=4;var t=q.updateQueue;if(t===null)t=kc(),q.updateQueue=t,t.events=[l];else{var e=t.events;e===null?t.events=[l]:e.push(l)}}i(jp,"useEffectEventImpl");function ly(l){var t=pl().memoizedState;return jp({ref:t,nextImpl:l}),function(){if((j&2)!==0)throw Error(b(440));return t.impl.apply(void 0,arguments)}}i(ly,"updateEvent");function ty(l,t){return xc(4,2,l,t)}i(ty,"updateInsertionEffect");function ey(l,t){return xc(4,4,l,t)}i(ey,"updateLayoutEffect");function ay(l,t){if(typeof t=="function"){l=l();var e=t(l);return function(){typeof e=="function"?e():t(null)}}if(t!=null)return l=l(),t.current=l,function(){t.current=null}}i(ay,"imperativeHandleEffect");function ny(l,t,e){e=e!=null?e.concat([l]):null,xc(4,4,ay.bind(null,t,l),e)}i(ny,"updateImperativeHandle");function Zs(){}i(Zs,"mountDebugValue");function uy(l,t){var e=pl();t=t===void 0?null:t;var a=e.memoizedState;return t!==null&&Rs(t,a[1])?a[0]:(e.memoizedState=[l,t],l)}i(uy,"updateCallback");function iy(l,t){var e=pl();t=t===void 0?null:t;var a=e.memoizedState;if(t!==null&&Rs(t,a[1]))return a[0];if(a=l(),Sa){Ue(!0);try{l()}finally{Ue(!1)}}return e.memoizedState=[a,t],a}i(iy,"updateMemo");function js(l,t,e){return e===void 0||(oe&1073741824)!==0&&(L&261930)===0?l.memoizedState=t:(l.memoizedState=e,l=wy(),q.lanes|=l,Je|=l,e)}i(js,"mountDeferredValueImpl");function cy(l,t,e,a){return it(e,t)?e:pn.current!==null?(l=js(l,e,a),it(l,t)||(Al=!0),l):(oe&42)===0||(oe&1073741824)!==0&&(L&261930)===0?(Al=!0,l.memoizedState=e):(l=wy(),q.lanes|=l,Je|=l,t)}i(cy,"updateDeferredValueImpl");function fy(l,t,e,a,n){var u=K.p;K.p=u!==0&&8>u?u:8;var c=k.T,f={};k.T=f,Js(l,!1,t,e);try{var o=n(),s=k.S;if(s!==null&&s(f,o),o!==null&&typeof o=="object"&&typeof o.then=="function"){var v=Vp(o,a);pu(l,t,v,ut(l))}else pu(l,t,a,ut(l))}catch(p){pu(l,t,{then:i(function(){},"then"),status:"rejected",reason:p},ut())}finally{K.p=u,c!==null&&f.types!==null&&(c.types=f.types),k.T=c}}i(fy,"startTransition");function Kp(){}i(Kp,"noop");function Jo(l,t,e,a){if(l.tag!==5)throw Error(b(476));var n=oy(l).queue;fy(l,n,t,da,e===null?Kp:function(){return sy(l),e(a)})}i(Jo,"startHostTransition");function oy(l){var t=l.memoizedState;if(t!==null)return t;t={memoizedState:da,baseState:da,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:se,lastRenderedState:da},next:null};var e={};return t.next={memoizedState:e,baseState:e,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:se,lastRenderedState:e},next:null},l.memoizedState=t,l=l.alternate,l!==null&&(l.memoizedState=t),t}i(oy,"ensureFormComponentIsStateful");function sy(l){var t=oy(l);t.next===null&&(t=l.alternate.memoizedState),pu(l,t.next.queue,{},ut())}i(sy,"requestFormReset$1");function Ks(){return xl(Hu)}i(Ks,"useHostTransitionStatus");function ry(){return pl().memoizedState}i(ry,"updateId");function dy(){return pl().memoizedState}i(dy,"updateRefresh");function Jp(l){for(var t=l.return;t!==null;){switch(t.tag){case 24:case 3:var e=ut();l=qe(e);var a=Ge(t,l,e);a!==null&&(wl(a,t,e),mu(a,t,e)),t={cache:Cs()},l.payload=t;return}t=t.return}}i(Jp,"refreshCache");function wp(l,t,e){var a=ut();e={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null},Rc(l)?my(t,e):(e=_s(l,t,e,a),e!==null&&(wl(e,l,a),yy(e,t,a)))}i(wp,"dispatchReducerAction");function hy(l,t,e){var a=ut();pu(l,t,e,a)}i(hy,"dispatchSetState");function pu(l,t,e,a){var n={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null};if(Rc(l))my(t,n);else{var u=l.alternate;if(l.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var c=t.lastRenderedState,f=u(c,e);if(n.hasEagerState=!0,n.eagerState=f,it(f,c))return Cc(l,t,n,0),tl===null&&Uc(),!1}catch{}if(e=_s(l,t,n,a),e!==null)return wl(e,l,a),yy(e,t,a),!0}return!1}i(pu,"dispatchSetStateInternal");function Js(l,t,e,a){if(a={lane:2,revertLane:er(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Rc(l)){if(t)throw Error(b(479))}else t=_s(l,e,a,2),t!==null&&wl(t,l,2)}i(Js,"dispatchOptimisticSetState");function Rc(l){var t=l.alternate;return l===q||t!==null&&t===q}i(Rc,"isRenderPhaseUpdate");function my(l,t){rn=oc=!0;var e=l.pending;e===null?t.next=t:(t.next=e.next,e.next=t),l.pending=t}i(my,"enqueueRenderPhaseUpdate");function yy(l,t,e){if((e&4194048)!==0){var a=t.lanes;a&=l.pendingLanes,e|=a,t.lanes=e,lm(l,e)}}i(yy,"entangleTransitionUpdate");var Cu={readContext:xl,use:Hc,useCallback:dl,useContext:dl,useEffect:dl,useImperativeHandle:dl,useLayoutEffect:dl,useInsertionEffect:dl,useMemo:dl,useReducer:dl,useRef:dl,useState:dl,useDebugValue:dl,useDeferredValue:dl,useTransition:dl,useSyncExternalStore:dl,useId:dl,useHostTransitionStatus:dl,useFormState:dl,useActionState:dl,useOptimistic:dl,useMemoCache:dl,useCacheRefresh:dl};Cu.useEffectEvent=dl;var vy={readContext:xl,use:Hc,useCallback:i(function(l,t){return Ll().memoizedState=[l,t===void 0?null:t],l},"useCallback"),useContext:xl,useEffect:P0,useImperativeHandle:i(function(l,t,e){e=e!=null?e.concat([l]):null,Xi(4194308,4,ay.bind(null,t,l),e)},"useImperativeHandle"),useLayoutEffect:i(function(l,t){return Xi(4194308,4,l,t)},"useLayoutEffect"),useInsertionEffect:i(function(l,t){Xi(4,2,l,t)},"useInsertionEffect"),useMemo:i(function(l,t){var e=Ll();t=t===void 0?null:t;var a=l();if(Sa){Ue(!0);try{l()}finally{Ue(!1)}}return e.memoizedState=[a,t],a},"useMemo"),useReducer:i(function(l,t,e){var a=Ll();if(e!==void 0){var n=e(t);if(Sa){Ue(!0);try{e(t)}finally{Ue(!1)}}}else n=t;return a.memoizedState=a.baseState=n,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:n},a.queue=l,l=l.dispatch=wp.bind(null,q,l),[a.memoizedState,l]},"useReducer"),useRef:i(function(l){var t=Ll();return l={current:l},t.memoizedState=l},"useRef"),useState:i(function(l){l=jo(l);var t=l.queue,e=hy.bind(null,q,t);return t.dispatch=e,[l.memoizedState,e]},"useState"),useDebugValue:Zs,useDeferredValue:i(function(l,t){var e=Ll();return js(e,l,t)},"useDeferredValue"),useTransition:i(function(){var l=jo(!1);return l=fy.bind(null,q,l.queue,!0,!1),Ll().memoizedState=l,[!1,l]},"useTransition"),useSyncExternalStore:i(function(l,t,e){var a=q,n=Ll();if(X){if(e===void 0)throw Error(b(407));e=e()}else{if(e=t(),tl===null)throw Error(b(349));(L&127)!==0||Xm(a,t,e)}n.memoizedState=e;var u={value:e,getSnapshot:t};return n.queue=u,P0(jm.bind(null,a,u,l),[l]),a.flags|=2048,gn(9,{destroy:void 0},Zm.bind(null,a,u,e,t),null),e},"useSyncExternalStore"),useId:i(function(){var l=Ll(),t=tl.identifierPrefix;if(X){var e=Rt,a=xt;e=(a&~(1<<32-nt(a)-1)).toString(32)+e,t="_"+t+"R_"+e,e=sc++,0<e&&(t+="H"+e.toString(32)),t+="_"}else e=Lp++,t="_"+t+"r_"+e.toString(32)+"_";return l.memoizedState=t},"useId"),useHostTransitionStatus:Ks,useFormState:F0,useActionState:F0,useOptimistic:i(function(l){var t=Ll();t.memoizedState=t.baseState=l;var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=e,t=Js.bind(null,q,!0,e),e.dispatch=t,[l,t]},"useOptimistic"),useMemoCache:Ls,useCacheRefresh:i(function(){return Ll().memoizedState=Jp.bind(null,q)},"useCacheRefresh"),useEffectEvent:i(function(l){var t=Ll(),e={impl:l};return t.memoizedState=e,function(){if((j&2)!==0)throw Error(b(440));return e.impl.apply(void 0,arguments)}},"useEffectEvent")},ws={readContext:xl,use:Hc,useCallback:uy,useContext:xl,useEffect:Xs,useImperativeHandle:ny,useInsertionEffect:ty,useLayoutEffect:ey,useMemo:iy,useReducer:Qi,useRef:Pm,useState:i(function(){return Qi(se)},"useState"),useDebugValue:Zs,useDeferredValue:i(function(l,t){var e=pl();return cy(e,P.memoizedState,l,t)},"useDeferredValue"),useTransition:i(function(){var l=Qi(se)[0],t=pl().memoizedState;return[typeof l=="boolean"?l:Zu(l),t]},"useTransition"),useSyncExternalStore:Qm,useId:ry,useHostTransitionStatus:Ks,useFormState:$0,useActionState:$0,useOptimistic:i(function(l,t){var e=pl();return wm(e,P,l,t)},"useOptimistic"),useMemoCache:Ls,useCacheRefresh:dy};ws.useEffectEvent=ly;var py={readContext:xl,use:Hc,useCallback:uy,useContext:xl,useEffect:Xs,useImperativeHandle:ny,useInsertionEffect:ty,useLayoutEffect:ey,useMemo:iy,useReducer:lo,useRef:Pm,useState:i(function(){return lo(se)},"useState"),useDebugValue:Zs,useDeferredValue:i(function(l,t){var e=pl();return P===null?js(e,l,t):cy(e,P.memoizedState,l,t)},"useDeferredValue"),useTransition:i(function(){var l=lo(se)[0],t=pl().memoizedState;return[typeof l=="boolean"?l:Zu(l),t]},"useTransition"),useSyncExternalStore:Qm,useId:ry,useHostTransitionStatus:Ks,useFormState:I0,useActionState:I0,useOptimistic:i(function(l,t){var e=pl();return P!==null?wm(e,P,l,t):(e.baseState=l,[l,e.queue.dispatch])},"useOptimistic"),useMemoCache:Ls,useCacheRefresh:dy};py.useEffectEvent=ly;function to(l,t,e,a){t=l.memoizedState,e=e(a,t),e=e==null?t:il({},t,e),l.memoizedState=e,l.lanes===0&&(l.updateQueue.baseState=e)}i(to,"applyDerivedStateFromProps");var wo={enqueueSetState:i(function(l,t,e){l=l._reactInternals;var a=ut(),n=qe(a);n.payload=t,e!=null&&(n.callback=e),t=Ge(l,n,a),t!==null&&(wl(t,l,a),mu(t,l,a))},"enqueueSetState"),enqueueReplaceState:i(function(l,t,e){l=l._reactInternals;var a=ut(),n=qe(a);n.tag=1,n.payload=t,e!=null&&(n.callback=e),t=Ge(l,n,a),t!==null&&(wl(t,l,a),mu(t,l,a))},"enqueueReplaceState"),enqueueForceUpdate:i(function(l,t){l=l._reactInternals;var e=ut(),a=qe(e);a.tag=2,t!=null&&(a.callback=t),t=Ge(l,a,e),t!==null&&(wl(t,l,e),mu(t,l,e))},"enqueueForceUpdate")};function lh(l,t,e,a,n,u,c){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(a,u,c):t.prototype&&t.prototype.isPureReactComponent?!Mu(e,a)||!Mu(n,u):!0}i(lh,"checkShouldComponentUpdate");function th(l,t,e,a){l=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(e,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(e,a),t.state!==l&&wo.enqueueReplaceState(t,t.state,null)}i(th,"callComponentWillReceiveProps");function za(l,t){var e=t;if("ref"in t){e={};for(var a in t)a!=="ref"&&(e[a]=t[a])}if(l=l.defaultProps){e===t&&(e=il({},e));for(var n in l)e[n]===void 0&&(e[n]=l[n])}return e}i(za,"resolveClassComponentProps");function gy(l){ec(l)}i(gy,"defaultOnUncaughtError");function by(l){console.error(l)}i(by,"defaultOnCaughtError");function Sy(l){ec(l)}i(Sy,"defaultOnRecoverableError");function rc(l,t){try{var e=l.onUncaughtError;e(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}i(rc,"logUncaughtError");function eh(l,t,e){try{var a=l.onCaughtError;a(e.value,{componentStack:e.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(n){setTimeout(function(){throw n})}}i(eh,"logCaughtError");function Wo(l,t,e){return e=qe(e),e.tag=3,e.payload={element:null},e.callback=function(){rc(l,t)},e}i(Wo,"createRootErrorUpdate");function zy(l){return l=qe(l),l.tag=3,l}i(zy,"createClassErrorUpdate");function Ty(l,t,e,a){var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var u=a.value;l.payload=function(){return n(u)},l.callback=function(){eh(t,e,a)}}var c=e.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(l.callback=function(){eh(t,e,a),typeof n!="function"&&(Ye===null?Ye=new Set([this]):Ye.add(this));var f=a.stack;this.componentDidCatch(a.value,{componentStack:f!==null?f:""})})}i(Ty,"initializeClassErrorUpdate");function Wp(l,t,e,a,n){if(e.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=e.alternate,t!==null&&Mn(t,e,n,!0),e=ct.current,e!==null){switch(e.tag){case 31:case 13:return zt===null?vc():e.alternate===null&&hl===0&&(hl=3),e.flags&=-257,e.flags|=65536,e.lanes=n,a===ic?e.flags|=16384:(t=e.updateQueue,t===null?e.updateQueue=new Set([a]):t.add(a),ho(l,a,n)),!1;case 22:return e.flags|=65536,a===ic?e.flags|=16384:(t=e.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},e.updateQueue=t):(e=t.retryQueue,e===null?t.retryQueue=new Set([a]):e.add(a)),ho(l,a,n)),!1}throw Error(b(435,e.tag))}return ho(l,a,n),vc(),!1}if(X)return t=ct.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,a!==Ro&&(l=Error(b(422),{cause:a}),Du(bt(l,e)))):(a!==Ro&&(t=Error(b(423),{cause:a}),Du(bt(t,e))),l=l.current.alternate,l.flags|=65536,n&=-n,l.lanes|=n,a=bt(a,e),n=Wo(l.stateNode,a,n),Pf(l,n),hl!==4&&(hl=2)),!1;var u=Error(b(520),{cause:a});if(u=bt(u,e),Su===null?Su=[u]:Su.push(u),hl!==4&&(hl=2),t===null)return!0;a=bt(a,e),e=t;do{switch(e.tag){case 3:return e.flags|=65536,l=n&-n,e.lanes|=l,l=Wo(e.stateNode,a,l),Pf(e,l),!1;case 1:if(t=e.type,u=e.stateNode,(e.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(Ye===null||!Ye.has(u))))return e.flags|=65536,n&=-n,e.lanes|=n,n=zy(n),Ty(n,l,e,a),Pf(e,n),!1}e=e.return}while(e!==null);return!1}i(Wp,"throwException");var Ws=Error(b(461)),Al=!1;function Bl(l,t,e,a){t.child=l===null?Rm(t,null,e,a):ba(t,l.child,e,a)}i(Bl,"reconcileChildren");function ah(l,t,e,a,n){e=e.render;var u=t.ref;if("ref"in a){var c={};for(var f in a)f!=="ref"&&(c[f]=a[f])}else c=a;return ga(t),a=qs(l,t,e,c,u,n),f=Gs(),l!==null&&!Al?(Ys(l,t,n),re(l,t,n)):(X&&f&&Os(t),t.flags|=1,Bl(l,t,a,n),t.child)}i(ah,"updateForwardRef");function nh(l,t,e,a,n){if(l===null){var u=e.type;return typeof u=="function"&&!Ds(u)&&u.defaultProps===void 0&&e.compare===null?(t.tag=15,t.type=u,Ay(l,t,u,a,n)):(l=Vi(e.type,null,a,t,t.mode,n),l.ref=t.ref,l.return=t,t.child=l)}if(u=l.child,!Fs(l,n)){var c=u.memoizedProps;if(e=e.compare,e=e!==null?e:Mu,e(c,a)&&l.ref===t.ref)return re(l,t,n)}return t.flags|=1,l=ue(u,a),l.ref=t.ref,l.return=t,t.child=l}i(nh,"updateMemoComponent");function Ay(l,t,e,a,n){if(l!==null){var u=l.memoizedProps;if(Mu(u,a)&&l.ref===t.ref)if(Al=!1,t.pendingProps=a=u,Fs(l,n))(l.flags&131072)!==0&&(Al=!0);else return t.lanes=l.lanes,re(l,t,n)}return Fo(l,t,e,a,n)}i(Ay,"updateSimpleMemoComponent");function Ey(l,t,e,a){var n=a.children,u=l!==null?l.memoizedState:null;if(l===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(u=u!==null?u.baseLanes|e:e,l!==null){for(a=t.child=l.child,n=0;a!==null;)n=n|a.lanes|a.childLanes,a=a.sibling;a=n&~u}else a=0,t.child=null;return uh(l,t,u,e,a)}if((e&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},l!==null&&Li(t,u!==null?u.cachePool:null),u!==null?J0(t,u):Xo(),Ym(t);else return a=t.lanes=536870912,uh(l,t,u!==null?u.baseLanes|e:e,e,a)}else u!==null?(Li(t,u.cachePool),J0(t,u),De(t),t.memoizedState=null):(l!==null&&Li(t,null),Xo(),De(t));return Bl(l,t,n,e),t.child}i(Ey,"updateOffscreenComponent");function fu(l,t){return l!==null&&l.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}i(fu,"bailoutOffscreenComponent");function uh(l,t,e,a,n){var u=Bs();return u=u===null?null:{parent:Tl._currentValue,pool:u},t.memoizedState={baseLanes:e,cachePool:u},l!==null&&Li(t,null),Xo(),Ym(t),l!==null&&Mn(l,t,a,!0),t.childLanes=n,null}i(uh,"deferHiddenOffscreenComponent");function Zi(l,t){return t=dc({mode:t.mode,children:t.children},l.mode),t.ref=l.ref,l.child=t,t.return=l,t}i(Zi,"mountActivityChildren");function ih(l,t,e){return ba(t,l.child,null,e),l=Zi(t,t.pendingProps),l.flags|=2,Pl(t),t.memoizedState=null,l}i(ih,"retryActivityComponentWithoutHydrating");function Fp(l,t,e){var a=t.pendingProps,n=(t.flags&128)!==0;if(t.flags&=-129,l===null){if(X){if(a.mode==="hidden")return l=Zi(t,a),t.lanes=536870912,fu(null,l);if(Zo(t),(l=ul)?(l=vv(l,St),l=l!==null&&l.data==="&"?l:null,l!==null&&(t.memoizedState={dehydrated:l,treeContext:Ze!==null?{id:xt,overflow:Rt}:null,retryLane:536870912,hydrationErrors:null},e=Om(l),e.return=t,t.child=e,Hl=t,ul=null)):l=null,l===null)throw je(t);return t.lanes=536870912,null}return Zi(t,a)}var u=l.memoizedState;if(u!==null){var c=u.dehydrated;if(Zo(t),n)if(t.flags&256)t.flags&=-257,t=ih(l,t,e);else if(t.memoizedState!==null)t.child=l.child,t.flags|=128,t=null;else throw Error(b(558));else if(Al||Mn(l,t,e,!1),n=(e&l.childLanes)!==0,Al||n){if(a=tl,a!==null&&(c=tm(a,e),c!==0&&c!==u.retryLane))throw u.retryLane=c,Na(l,c),wl(a,l,c),Ws;vc(),t=ih(l,t,e)}else l=u.treeContext,ul=Tt(c.nextSibling),Hl=t,X=!0,Re=null,St=!1,l!==null&&Cm(t,l),t=Zi(t,a),t.flags|=4096;return t}return l=ue(l.child,{mode:a.mode,children:a.children}),l.ref=t.ref,t.child=l,l.return=t,l}i(Fp,"updateActivityComponent");function ji(l,t){var e=t.ref;if(e===null)l!==null&&l.ref!==null&&(t.flags|=4194816);else{if(typeof e!="function"&&typeof e!="object")throw Error(b(284));(l===null||l.ref!==e)&&(t.flags|=4194816)}}i(ji,"markRef");function Fo(l,t,e,a,n){return ga(t),e=qs(l,t,e,a,void 0,n),a=Gs(),l!==null&&!Al?(Ys(l,t,n),re(l,t,n)):(X&&a&&Os(t),t.flags|=1,Bl(l,t,e,n),t.child)}i(Fo,"updateFunctionComponent");function ch(l,t,e,a,n,u){return ga(t),t.updateQueue=null,e=Lm(t,a,e,n),Vm(l),a=Gs(),l!==null&&!Al?(Ys(l,t,u),re(l,t,u)):(X&&a&&Os(t),t.flags|=1,Bl(l,t,e,u),t.child)}i(ch,"replayFunctionComponent");function fh(l,t,e,a,n){if(ga(t),t.stateNode===null){var u=tn,c=e.contextType;typeof c=="object"&&c!==null&&(u=xl(c)),u=new e(a,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=wo,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=a,u.state=t.memoizedState,u.refs={},Hs(t),c=e.contextType,u.context=typeof c=="object"&&c!==null?xl(c):tn,u.state=t.memoizedState,c=e.getDerivedStateFromProps,typeof c=="function"&&(to(t,e,c,a),u.state=t.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(c=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),c!==u.state&&wo.enqueueReplaceState(u,u.state,null),vu(t,a,u,n),yu(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(l===null){u=t.stateNode;var f=t.memoizedProps,o=za(e,f);u.props=o;var s=u.context,v=e.contextType;c=tn,typeof v=="object"&&v!==null&&(c=xl(v));var p=e.getDerivedStateFromProps;v=typeof p=="function"||typeof u.getSnapshotBeforeUpdate=="function",f=t.pendingProps!==f,v||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(f||s!==c)&&th(t,u,a,c),Ne=!1;var m=t.memoizedState;u.state=m,vu(t,a,u,n),yu(),s=t.memoizedState,f||m!==s||Ne?(typeof p=="function"&&(to(t,e,p,a),s=t.memoizedState),(o=Ne||lh(t,e,o,a,m,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"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=s),u.props=a,u.state=s,u.context=c,a=o):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{u=t.stateNode,Lo(l,t),c=t.memoizedProps,v=za(e,c),u.props=v,p=t.pendingProps,m=u.context,s=e.contextType,o=tn,typeof s=="object"&&s!==null&&(o=xl(s)),f=e.getDerivedStateFromProps,(s=typeof f=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(c!==p||m!==o)&&th(t,u,a,o),Ne=!1,m=t.memoizedState,u.state=m,vu(t,a,u,n),yu();var d=t.memoizedState;c!==p||m!==d||Ne||l!==null&&l.dependencies!==null&&uc(l.dependencies)?(typeof f=="function"&&(to(t,e,f,a),d=t.memoizedState),(v=Ne||lh(t,e,v,a,m,d,o)||l!==null&&l.dependencies!==null&&uc(l.dependencies))?(s||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,d,o),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,d,o)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||c===l.memoizedProps&&m===l.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===l.memoizedProps&&m===l.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=d),u.props=a,u.state=d,u.context=o,a=v):(typeof u.componentDidUpdate!="function"||c===l.memoizedProps&&m===l.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===l.memoizedProps&&m===l.memoizedState||(t.flags|=1024),a=!1)}return u=a,ji(l,t),a=(t.flags&128)!==0,u||a?(u=t.stateNode,e=a&&typeof e.getDerivedStateFromError!="function"?null:u.render(),t.flags|=1,l!==null&&a?(t.child=ba(t,l.child,null,n),t.child=ba(t,null,e,n)):Bl(l,t,e,n),t.memoizedState=u.state,l=t.child):l=re(l,t,n),l}i(fh,"updateClassComponent");function oh(l,t,e,a){return pa(),t.flags|=256,Bl(l,t,e,a),t.child}i(oh,"mountHostRootWithoutHydrating");var eo={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ao(l){return{baseLanes:l,cachePool:km()}}i(ao,"mountSuspenseOffscreenState");function no(l,t,e){return l=l!==null?l.childLanes&~e:0,t&&(l|=tt),l}i(no,"getRemainingWorkInPrimaryTree");function Ny(l,t,e){var a=t.pendingProps,n=!1,u=(t.flags&128)!==0,c;if((c=u)||(c=l!==null&&l.memoizedState===null?!1:(vl.current&2)!==0),c&&(n=!0,t.flags&=-129),c=(t.flags&32)!==0,t.flags&=-33,l===null){if(X){if(n?_e(t):De(t),(l=ul)?(l=vv(l,St),l=l!==null&&l.data!=="&"?l:null,l!==null&&(t.memoizedState={dehydrated:l,treeContext:Ze!==null?{id:xt,overflow:Rt}:null,retryLane:536870912,hydrationErrors:null},e=Om(l),e.return=t,t.child=e,Hl=t,ul=null)):l=null,l===null)throw je(t);return ss(l)?t.lanes=32:t.lanes=536870912,null}var f=a.children;return a=a.fallback,n?(De(t),n=t.mode,f=dc({mode:"hidden",children:f},n),a=ha(a,n,e,null),f.return=t,a.return=t,f.sibling=a,t.child=f,a=t.child,a.memoizedState=ao(e),a.childLanes=no(l,c,e),t.memoizedState=eo,fu(null,a)):(_e(t),$o(t,f))}var o=l.memoizedState;if(o!==null&&(f=o.dehydrated,f!==null)){if(u)t.flags&256?(_e(t),t.flags&=-257,t=uo(l,t,e)):t.memoizedState!==null?(De(t),t.child=l.child,t.flags|=128,t=null):(De(t),f=a.fallback,n=t.mode,a=dc({mode:"visible",children:a.children},n),f=ha(f,n,e,null),f.flags|=2,a.return=t,f.return=t,a.sibling=f,t.child=a,ba(t,l.child,null,e),a=t.child,a.memoizedState=ao(e),a.childLanes=no(l,c,e),t.memoizedState=eo,t=fu(null,a));else if(_e(t),ss(f)){if(c=f.nextSibling&&f.nextSibling.dataset,c)var s=c.dgst;c=s,a=Error(b(419)),a.stack="",a.digest=c,Du({value:a,source:null,stack:null}),t=uo(l,t,e)}else if(Al||Mn(l,t,e,!1),c=(e&l.childLanes)!==0,Al||c){if(c=tl,c!==null&&(a=tm(c,e),a!==0&&a!==o.retryLane))throw o.retryLane=a,Na(l,a),wl(c,l,a),Ws;os(f)||vc(),t=uo(l,t,e)}else os(f)?(t.flags|=192,t.child=l.child,t=null):(l=o.treeContext,ul=Tt(f.nextSibling),Hl=t,X=!0,Re=null,St=!1,l!==null&&Cm(t,l),t=$o(t,a.children),t.flags|=4096);return t}return n?(De(t),f=a.fallback,n=t.mode,o=l.child,s=o.sibling,a=ue(o,{mode:"hidden",children:a.children}),a.subtreeFlags=o.subtreeFlags&65011712,s!==null?f=ue(s,f):(f=ha(f,n,e,null),f.flags|=2),f.return=t,a.return=t,a.sibling=f,t.child=a,fu(null,a),a=t.child,f=l.child.memoizedState,f===null?f=ao(e):(n=f.cachePool,n!==null?(o=Tl._currentValue,n=n.parent!==o?{parent:o,pool:o}:n):n=km(),f={baseLanes:f.baseLanes|e,cachePool:n}),a.memoizedState=f,a.childLanes=no(l,c,e),t.memoizedState=eo,fu(l.child,a)):(_e(t),e=l.child,l=e.sibling,e=ue(e,{mode:"visible",children:a.children}),e.return=t,e.sibling=null,l!==null&&(c=t.deletions,c===null?(t.deletions=[l],t.flags|=16):c.push(l)),t.child=e,t.memoizedState=null,e)}i(Ny,"updateSuspenseComponent");function $o(l,t){return t=dc({mode:"visible",children:t},l.mode),t.return=l,l.child=t}i($o,"mountSuspensePrimaryChildren");function dc(l,t){return l=lt(22,l,null,t),l.lanes=0,l}i(dc,"mountWorkInProgressOffscreenFiber");function uo(l,t,e){return ba(t,l.child,null,e),l=$o(t,t.pendingProps.children),l.flags|=2,t.memoizedState=null,l}i(uo,"retrySuspenseComponentWithoutHydrating");function sh(l,t,e){l.lanes|=t;var a=l.alternate;a!==null&&(a.lanes|=t),Go(l.return,t,e)}i(sh,"scheduleSuspenseWorkOnFiber");function io(l,t,e,a,n,u){var c=l.memoizedState;c===null?l.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:e,tailMode:n,treeForkCount:u}:(c.isBackwards=t,c.rendering=null,c.renderingStartTime=0,c.last=a,c.tail=e,c.tailMode=n,c.treeForkCount=u)}i(io,"initSuspenseListRenderState");function My(l,t,e){var a=t.pendingProps,n=a.revealOrder,u=a.tail;a=a.children;var c=vl.current,f=(c&2)!==0;if(f?(c=c&1|2,t.flags|=128):c&=1,el(vl,c),Bl(l,t,a,e),a=X?_u:0,!f&&l!==null&&(l.flags&128)!==0)l:for(l=t.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&sh(l,e,t);else if(l.tag===19)sh(l,e,t);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break l;for(;l.sibling===null;){if(l.return===null||l.return===t)break l;l=l.return}l.sibling.return=l.return,l=l.sibling}switch(n){case"forwards":for(e=t.child,n=null;e!==null;)l=e.alternate,l!==null&&fc(l)===null&&(n=e),e=e.sibling;e=n,e===null?(n=t.child,t.child=null):(n=e.sibling,e.sibling=null),io(t,!1,n,e,u,a);break;case"backwards":case"unstable_legacy-backwards":for(e=null,n=t.child,t.child=null;n!==null;){if(l=n.alternate,l!==null&&fc(l)===null){t.child=n;break}l=n.sibling,n.sibling=e,e=n,n=l}io(t,!0,e,null,u,a);break;case"together":io(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}i(My,"updateSuspenseListComponent");function re(l,t,e){if(l!==null&&(t.dependencies=l.dependencies),Je|=t.lanes,(e&t.childLanes)===0)if(l!==null){if(Mn(l,t,e,!1),(e&t.childLanes)===0)return null}else return null;if(l!==null&&t.child!==l.child)throw Error(b(153));if(t.child!==null){for(l=t.child,e=ue(l,l.pendingProps),t.child=e,e.return=t;l.sibling!==null;)l=l.sibling,e=e.sibling=ue(l,l.pendingProps),e.return=t;e.sibling=null}return t.child}i(re,"bailoutOnAlreadyFinishedWork");function Fs(l,t){return(l.lanes&t)!==0?!0:(l=l.dependencies,!!(l!==null&&uc(l)))}i(Fs,"checkScheduledUpdateOrContext");function $p(l,t,e){switch(t.tag){case 3:Ii(t,t.stateNode.containerInfo),Me(t,Tl,l.memoizedState.cache),pa();break;case 27:case 5:No(t);break;case 4:Ii(t,t.stateNode.containerInfo);break;case 10:Me(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Zo(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(_e(t),t.flags|=128,null):(e&t.child.childLanes)!==0?Ny(l,t,e):(_e(t),l=re(l,t,e),l!==null?l.sibling:null);_e(t);break;case 19:var n=(l.flags&128)!==0;if(a=(e&t.childLanes)!==0,a||(Mn(l,t,e,!1),a=(e&t.childLanes)!==0),n){if(a)return My(l,t,e);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),el(vl,vl.current),a)break;return null;case 22:return t.lanes=0,Ey(l,t,e,t.pendingProps);case 24:Me(t,Tl,l.memoizedState.cache)}return re(l,t,e)}i($p,"attemptEarlyBailoutIfNoScheduledUpdate");function _y(l,t,e){if(l!==null)if(l.memoizedProps!==t.pendingProps)Al=!0;else{if(!Fs(l,e)&&(t.flags&128)===0)return Al=!1,$p(l,t,e);Al=(l.flags&131072)!==0}else Al=!1,X&&(t.flags&1048576)!==0&&Um(t,_u,t.index);switch(t.lanes=0,t.tag){case 16:l:{var a=t.pendingProps;if(l=sa(t.elementType),t.type=l,typeof l=="function")Ds(l)?(a=za(l,a),t.tag=1,t=fh(null,t,l,a,e)):(t.tag=0,t=Fo(null,t,l,a,e));else{if(l!=null){var n=l.$$typeof;if(n===ms){t.tag=11,t=ah(null,t,l,a,e);break l}else if(n===ys){t.tag=14,t=nh(null,t,l,a,e);break l}}throw t=Ao(l)||l,Error(b(306,t,""))}}return t;case 0:return Fo(l,t,t.type,t.pendingProps,e);case 1:return a=t.type,n=za(a,t.pendingProps),fh(l,t,a,n,e);case 3:l:{if(Ii(t,t.stateNode.containerInfo),l===null)throw Error(b(387));a=t.pendingProps;var u=t.memoizedState;n=u.element,Lo(l,t),vu(t,a,null,e);var c=t.memoizedState;if(a=c.cache,Me(t,Tl,a),a!==u.cache&&Yo(t,[Tl],e,!0),yu(),a=c.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:c.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=oh(l,t,a,e);break l}else if(a!==n){n=bt(Error(b(424)),t),Du(n),t=oh(l,t,a,e);break l}else for(l=t.stateNode.containerInfo,l.nodeType===9?l=l.body:l=l.nodeName==="HTML"?l.ownerDocument.body:l,ul=Tt(l.firstChild),Hl=t,X=!0,Re=null,St=!0,e=Rm(t,null,a,e),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling;else{if(pa(),a===n){t=re(l,t,e);break l}Bl(l,t,a,e)}t=t.child}return t;case 26:return ji(l,t),l===null?(e=Bh(t.type,null,t.pendingProps,null))?t.memoizedState=e:X||(e=t.type,l=t.pendingProps,a=Sc(xe.current).createElement(e),a[kl]=t,a[Wl]=l,Rl(a,e,l),Dl(a),t.stateNode=a):t.memoizedState=Bh(t.type,l.memoizedProps,t.pendingProps,l.memoizedState),null;case 27:return No(t),l===null&&X&&(a=t.stateNode=pv(t.type,t.pendingProps,xe.current),Hl=t,St=!0,n=ul,We(t.type)?(rs=n,ul=Tt(a.firstChild)):ul=n),Bl(l,t,t.pendingProps.children,e),ji(l,t),l===null&&(t.flags|=4194304),t.child;case 5:return l===null&&X&&((n=a=ul)&&(a=Ng(a,t.type,t.pendingProps,St),a!==null?(t.stateNode=a,Hl=t,ul=Tt(a.firstChild),St=!1,n=!0):n=!1),n||je(t)),No(t),n=t.type,u=t.pendingProps,c=l!==null?l.memoizedProps:null,a=u.children,cs(n,u)?a=null:c!==null&&cs(n,c)&&(t.flags|=32),t.memoizedState!==null&&(n=qs(l,t,Qp,null,null,e),Hu._currentValue=n),ji(l,t),Bl(l,t,a,e),t.child;case 6:return l===null&&X&&((l=e=ul)&&(e=Mg(e,t.pendingProps,St),e!==null?(t.stateNode=e,Hl=t,ul=null,l=!0):l=!1),l||je(t)),null;case 13:return Ny(l,t,e);case 4:return Ii(t,t.stateNode.containerInfo),a=t.pendingProps,l===null?t.child=ba(t,null,a,e):Bl(l,t,a,e),t.child;case 11:return ah(l,t,t.type,t.pendingProps,e);case 7:return Bl(l,t,t.pendingProps,e),t.child;case 8:return Bl(l,t,t.pendingProps.children,e),t.child;case 12:return Bl(l,t,t.pendingProps.children,e),t.child;case 10:return a=t.pendingProps,Me(t,t.type,a.value),Bl(l,t,a.children,e),t.child;case 9:return n=t.type._context,a=t.pendingProps.children,ga(t),n=xl(n),a=a(n),t.flags|=1,Bl(l,t,a,e),t.child;case 14:return nh(l,t,t.type,t.pendingProps,e);case 15:return Ay(l,t,t.type,t.pendingProps,e);case 19:return My(l,t,e);case 31:return Fp(l,t,e);case 22:return Ey(l,t,e,t.pendingProps);case 24:return ga(t),a=xl(Tl),l===null?(n=Bs(),n===null&&(n=tl,u=Cs(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=e),n=u),t.memoizedState={parent:a,cache:n},Hs(t),Me(t,Tl,n)):((l.lanes&e)!==0&&(Lo(l,t),vu(t,null,null,e),yu()),n=l.memoizedState,u=t.memoizedState,n.parent!==a?(n={parent:a,cache:a},t.memoizedState=n,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=n),Me(t,Tl,a)):(a=u.cache,Me(t,Tl,a),a!==n.cache&&Yo(t,[Tl],e,!0))),Bl(l,t,t.pendingProps.children,e),t.child;case 29:throw t.pendingProps}throw Error(b(156,t.tag))}i(_y,"beginWork");function Ft(l){l.flags|=4}i(Ft,"markUpdate");function co(l,t,e,a,n){if((t=(l.mode&32)!==0)&&(t=!1),t){if(l.flags|=16777216,(n&335544128)===n)if(l.stateNode.complete)l.flags|=8192;else if($y())l.flags|=8192;else throw ya=ic,ks}else l.flags&=-16777217}i(co,"preloadInstanceAndSuspendIfNeeded");function rh(l,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!Sv(t))if($y())l.flags|=8192;else throw ya=ic,ks}i(rh,"preloadResourceAndSuspendIfNeeded");function Oi(l,t){t!==null&&(l.flags|=4),l.flags&16384&&(t=l.tag!==22?Ih():536870912,l.lanes|=t,bn|=t)}i(Oi,"scheduleRetryEffect");function tu(l,t){if(!X)switch(l.tailMode){case"hidden":t=l.tail;for(var e=null;t!==null;)t.alternate!==null&&(e=t),t=t.sibling;e===null?l.tail=null:e.sibling=null;break;case"collapsed":e=l.tail;for(var a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?t||l.tail===null?l.tail=null:l.tail.sibling=null:a.sibling=null}}i(tu,"cutOffTailIfNeeded");function nl(l){var t=l.alternate!==null&&l.alternate.child===l.child,e=0,a=0;if(t)for(var n=l.child;n!==null;)e|=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;)e|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=l,n=n.sibling;return l.subtreeFlags|=a,l.childLanes=e,t}i(nl,"bubbleProperties");function Ip(l,t,e){var a=t.pendingProps;switch(Us(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return nl(t),null;case 1:return nl(t),null;case 3:return e=t.stateNode,a=null,l!==null&&(a=l.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),ie(Tl),hn(),e.pendingContext&&(e.context=e.pendingContext,e.pendingContext=null),(l===null||l.child===null)&&(Xa(t)?Ft(t):l===null||l.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,If())),nl(t),null;case 26:var n=t.type,u=t.memoizedState;return l===null?(Ft(t),u!==null?(nl(t),rh(t,u)):(nl(t),co(t,n,null,a,e))):u?u!==l.memoizedState?(Ft(t),nl(t),rh(t,u)):(nl(t),t.flags&=-16777217):(l=l.memoizedProps,l!==a&&Ft(t),nl(t),co(t,n,l,a,e)),null;case 27:if(Pi(t),e=xe.current,n=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==a&&Ft(t);else{if(!a){if(t.stateNode===null)throw Error(b(166));return nl(t),null}l=Gt.current,Xa(t)?V0(t,l):(l=pv(n,a,e),t.stateNode=l,Ft(t))}return nl(t),null;case 5:if(Pi(t),n=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==a&&Ft(t);else{if(!a){if(t.stateNode===null)throw Error(b(166));return nl(t),null}if(u=Gt.current,Xa(t))V0(t,u);else{var c=Sc(xe.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[kl]=t,u[Wl]=a;l:for(c=t.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===t)break l;for(;c.sibling===null;){if(c.return===null||c.return===t)break l;c=c.return}c.sibling.return=c.return,c=c.sibling}t.stateNode=u;l:switch(Rl(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&&Ft(t)}}return nl(t),co(t,t.type,l===null?null:l.memoizedProps,t.pendingProps,e),null;case 6:if(l&&t.stateNode!=null)l.memoizedProps!==a&&Ft(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(b(166));if(l=xe.current,Xa(t)){if(l=t.stateNode,e=t.memoizedProps,a=null,n=Hl,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}l[kl]=t,l=!!(l.nodeValue===e||a!==null&&a.suppressHydrationWarning===!0||hv(l.nodeValue,e)),l||je(t,!0)}else l=Sc(l).createTextNode(a),l[kl]=t,t.stateNode=l}return nl(t),null;case 31:if(e=t.memoizedState,l===null||l.memoizedState!==null){if(a=Xa(t),e!==null){if(l===null){if(!a)throw Error(b(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(b(557));l[kl]=t}else pa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;nl(t),l=!1}else e=If(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=e),l=!0;if(!l)return t.flags&256?(Pl(t),t):(Pl(t),null);if((t.flags&128)!==0)throw Error(b(558))}return nl(t),null;case 13:if(a=t.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(n=Xa(t),a!==null&&a.dehydrated!==null){if(l===null){if(!n)throw Error(b(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(b(317));n[kl]=t}else pa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;nl(t),n=!1}else n=If(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(Pl(t),t):(Pl(t),null)}return Pl(t),(t.flags&128)!==0?(t.lanes=e,t):(e=a!==null,l=l!==null&&l.memoizedState!==null,e&&(a=t.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)),e!==l&&e&&(t.child.flags|=8192),Oi(t,t.updateQueue),nl(t),null);case 4:return hn(),l===null&&ar(t.stateNode.containerInfo),nl(t),null;case 10:return ie(t.type),nl(t),null;case 19:if(Ol(vl),a=t.memoizedState,a===null)return nl(t),null;if(n=(t.flags&128)!==0,u=a.rendering,u===null)if(n)tu(a,!1);else{if(hl!==0||l!==null&&(l.flags&128)!==0)for(l=t.child;l!==null;){if(u=fc(l),u!==null){for(t.flags|=128,tu(a,!1),l=u.updateQueue,t.updateQueue=l,Oi(t,l),t.subtreeFlags=0,l=e,e=t.child;e!==null;)Dm(e,l),e=e.sibling;return el(vl,vl.current&1|2),X&&le(t,a.treeForkCount),t.child}l=l.sibling}a.tail!==null&&et()>mc&&(t.flags|=128,n=!0,tu(a,!1),t.lanes=4194304)}else{if(!n)if(l=fc(u),l!==null){if(t.flags|=128,n=!0,l=l.updateQueue,t.updateQueue=l,Oi(t,l),tu(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!X)return nl(t),null}else 2*et()-a.renderingStartTime>mc&&e!==536870912&&(t.flags|=128,n=!0,tu(a,!1),t.lanes=4194304);a.isBackwards?(u.sibling=t.child,t.child=u):(l=a.last,l!==null?l.sibling=u:t.child=u,a.last=u)}return a.tail!==null?(l=a.tail,a.rendering=l,a.tail=l.sibling,a.renderingStartTime=et(),l.sibling=null,e=vl.current,el(vl,n?e&1|2:e&1),X&&le(t,a.treeForkCount),l):(nl(t),null);case 22:case 23:return Pl(t),xs(),a=t.memoizedState!==null,l!==null?l.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(e&536870912)!==0&&(t.flags&128)===0&&(nl(t),t.subtreeFlags&6&&(t.flags|=8192)):nl(t),e=t.updateQueue,e!==null&&Oi(t,e.retryQueue),e=null,l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(e=l.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==e&&(t.flags|=2048),l!==null&&Ol(ma),null;case 24:return e=null,l!==null&&(e=l.memoizedState.cache),t.memoizedState.cache!==e&&(t.flags|=2048),ie(Tl),nl(t),null;case 25:return null;case 30:return null}throw Error(b(156,t.tag))}i(Ip,"completeWork");function Pp(l,t){switch(Us(t),t.tag){case 1:return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 3:return ie(Tl),hn(),l=t.flags,(l&65536)!==0&&(l&128)===0?(t.flags=l&-65537|128,t):null;case 26:case 27:case 5:return Pi(t),null;case 31:if(t.memoizedState!==null){if(Pl(t),t.alternate===null)throw Error(b(340));pa()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 13:if(Pl(t),l=t.memoizedState,l!==null&&l.dehydrated!==null){if(t.alternate===null)throw Error(b(340));pa()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 19:return Ol(vl),null;case 4:return hn(),null;case 10:return ie(t.type),null;case 22:case 23:return Pl(t),xs(),l!==null&&Ol(ma),l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 24:return ie(Tl),null;case 25:return null;default:return null}}i(Pp,"unwindWork");function Dy(l,t){switch(Us(t),t.tag){case 3:ie(Tl),hn();break;case 26:case 27:case 5:Pi(t);break;case 4:hn();break;case 31:t.memoizedState!==null&&Pl(t);break;case 13:Pl(t);break;case 19:Ol(vl);break;case 10:ie(t.type);break;case 22:case 23:Pl(t),xs(),l!==null&&Ol(ma);break;case 24:ie(Tl)}}i(Dy,"unwindInterruptedWork");function ju(l,t){try{var e=t.updateQueue,a=e!==null?e.lastEffect:null;if(a!==null){var n=a.next;e=n;do{if((e.tag&l)===l){a=void 0;var u=e.create,c=e.inst;a=u(),c.destroy=a}e=e.next}while(e!==n)}}catch(f){$(t,t.return,f)}}i(ju,"commitHookEffectListMount");function Ke(l,t,e){try{var a=t.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=t;var o=e,s=f;try{s()}catch(v){$(n,o,v)}}}a=a.next}while(a!==u)}}catch(v){$(t,t.return,v)}}i(Ke,"commitHookEffectListUnmount");function Oy(l){var t=l.updateQueue;if(t!==null){var e=l.stateNode;try{Gm(t,e)}catch(a){$(l,l.return,a)}}}i(Oy,"commitClassCallbacks");function Uy(l,t,e){e.props=za(l.type,l.memoizedProps),e.state=l.memoizedState;try{e.componentWillUnmount()}catch(a){$(l,t,a)}}i(Uy,"safelyCallComponentWillUnmount");function gu(l,t){try{var e=l.ref;if(e!==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 e=="function"?l.refCleanup=e(a):e.current=a}}catch(n){$(l,t,n)}}i(gu,"safelyAttachRef");function qt(l,t){var e=l.ref,a=l.refCleanup;if(e!==null)if(typeof a=="function")try{a()}catch(n){$(l,t,n)}finally{l.refCleanup=null,l=l.alternate,l!=null&&(l.refCleanup=null)}else if(typeof e=="function")try{e(null)}catch(n){$(l,t,n)}else e.current=null}i(qt,"safelyDetachRef");function Cy(l){var t=l.type,e=l.memoizedProps,a=l.stateNode;try{l:switch(t){case"button":case"input":case"select":case"textarea":e.autoFocus&&a.focus();break l;case"img":e.src?a.src=e.src:e.srcSet&&(a.srcset=e.srcSet)}}catch(n){$(l,l.return,n)}}i(Cy,"commitHostMount");function fo(l,t,e){try{var a=l.stateNode;bg(a,l.type,e,t),a[Wl]=t}catch(n){$(l,l.return,n)}}i(fo,"commitHostUpdate");function By(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&We(l.type)||l.tag===4}i(By,"isHostParent");function oo(l){l:for(;;){for(;l.sibling===null;){if(l.return===null||By(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&&We(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(oo,"getHostSibling");function Io(l,t,e){var a=l.tag;if(a===5||a===6)l=l.stateNode,t?(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).insertBefore(l,t):(t=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,t.appendChild(l),e=e._reactRootContainer,e!=null||t.onclick!==null||(t.onclick=ae));else if(a!==4&&(a===27&&We(l.type)&&(e=l.stateNode,t=null),l=l.child,l!==null))for(Io(l,t,e),l=l.sibling;l!==null;)Io(l,t,e),l=l.sibling}i(Io,"insertOrAppendPlacementNodeIntoContainer");function hc(l,t,e){var a=l.tag;if(a===5||a===6)l=l.stateNode,t?e.insertBefore(l,t):e.appendChild(l);else if(a!==4&&(a===27&&We(l.type)&&(e=l.stateNode),l=l.child,l!==null))for(hc(l,t,e),l=l.sibling;l!==null;)hc(l,t,e),l=l.sibling}i(hc,"insertOrAppendPlacementNode");function ky(l){var t=l.stateNode,e=l.memoizedProps;try{for(var a=l.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);Rl(t,a,e),t[kl]=l,t[Wl]=e}catch(u){$(l,l.return,u)}}i(ky,"commitHostSingletonAcquisition");var te=!1,zl=!1,so=!1,dh=typeof WeakSet=="function"?WeakSet:Set,_l=null;function lg(l,t){if(l=l.containerInfo,us=Ec,l=Sm(l),Ns(l)){if("selectionStart"in l)var e={start:l.selectionStart,end:l.selectionEnd};else l:{e=(e=l.ownerDocument)&&e.defaultView||window;var a=e.getSelection&&e.getSelection();if(a&&a.rangeCount!==0){e=a.anchorNode;var n=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{e.nodeType,u.nodeType}catch{e=null;break l}var c=0,f=-1,o=-1,s=0,v=0,p=l,m=null;t:for(;;){for(var d;p!==e||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),(d=p.firstChild)!==null;)m=p,p=d;for(;;){if(p===l)break t;if(m===e&&++s===n&&(f=c),m===u&&++v===a&&(o=c),(d=p.nextSibling)!==null)break;p=m,m=p.parentNode}p=d}e=f===-1||o===-1?null:{start:f,end:o}}else e=null}e=e||{start:0,end:0}}else e=null;for(is={focusedElem:l,selectionRange:e},Ec=!1,_l=t;_l!==null;)if(t=_l,l=t.child,(t.subtreeFlags&1028)!==0&&l!==null)l.return=t,_l=l;else for(;_l!==null;){switch(t=_l,u=t.alternate,l=t.flags,t.tag){case 0:if((l&4)!==0&&(l=t.updateQueue,l=l!==null?l.events:null,l!==null))for(e=0;e<l.length;e++)n=l[e],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((l&1024)!==0&&u!==null){l=void 0,e=t,n=u.memoizedProps,u=u.memoizedState,a=e.stateNode;try{var T=za(e.type,n);l=a.getSnapshotBeforeUpdate(T,u),a.__reactInternalSnapshotBeforeUpdate=l}catch(E){$(e,e.return,E)}}break;case 3:if((l&1024)!==0){if(l=t.stateNode.containerInfo,e=l.nodeType,e===9)fs(l);else if(e===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":fs(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=t.sibling,l!==null){l.return=t.return,_l=l;break}_l=t.return}}i(lg,"commitBeforeMutationEffects");function Hy(l,t,e){var a=e.flags;switch(e.tag){case 0:case 11:case 15:It(l,e),a&4&&ju(5,e);break;case 1:if(It(l,e),a&4)if(l=e.stateNode,t===null)try{l.componentDidMount()}catch(c){$(e,e.return,c)}else{var n=za(e.type,t.memoizedProps);t=t.memoizedState;try{l.componentDidUpdate(n,t,l.__reactInternalSnapshotBeforeUpdate)}catch(c){$(e,e.return,c)}}a&64&&Oy(e),a&512&&gu(e,e.return);break;case 3:if(It(l,e),a&64&&(l=e.updateQueue,l!==null)){if(t=null,e.child!==null)switch(e.child.tag){case 27:case 5:t=e.child.stateNode;break;case 1:t=e.child.stateNode}try{Gm(l,t)}catch(c){$(e,e.return,c)}}break;case 27:t===null&&a&4&&ky(e);case 26:case 5:It(l,e),t===null&&a&4&&Cy(e),a&512&&gu(e,e.return);break;case 12:It(l,e);break;case 31:It(l,e),a&4&&qy(l,e);break;case 13:It(l,e),a&4&&Gy(l,e),a&64&&(l=e.memoizedState,l!==null&&(l=l.dehydrated,l!==null&&(e=og.bind(null,e),_g(l,e))));break;case 22:if(a=e.memoizedState!==null||te,!a){t=t!==null&&t.memoizedState!==null||zl,n=te;var u=zl;te=a,(zl=t)&&!u?Pt(l,e,(e.subtreeFlags&8772)!==0):It(l,e),te=n,zl=u}break;case 30:break;default:It(l,e)}}i(Hy,"commitLayoutEffectOnFiber");function xy(l){var t=l.alternate;t!==null&&(l.alternate=null,xy(t)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(t=l.stateNode,t!==null&&bs(t)),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(xy,"detachFiberAfterEffects");var ol=null,Kl=!1;function $t(l,t,e){for(e=e.child;e!==null;)Ry(l,t,e),e=e.sibling}i($t,"recursivelyTraverseDeletionEffects");function Ry(l,t,e){if(at&&typeof at.onCommitFiberUnmount=="function")try{at.onCommitFiberUnmount(Gu,e)}catch{}switch(e.tag){case 26:zl||qt(e,t),$t(l,t,e),e.memoizedState?e.memoizedState.count--:e.stateNode&&(e=e.stateNode,e.parentNode.removeChild(e));break;case 27:zl||qt(e,t);var a=ol,n=Kl;We(e.type)&&(ol=e.stateNode,Kl=!1),$t(l,t,e),Tu(e.stateNode),ol=a,Kl=n;break;case 5:zl||qt(e,t);case 6:if(a=ol,n=Kl,ol=null,$t(l,t,e),ol=a,Kl=n,ol!==null)if(Kl)try{(ol.nodeType===9?ol.body:ol.nodeName==="HTML"?ol.ownerDocument.body:ol).removeChild(e.stateNode)}catch(u){$(e,t,u)}else try{ol.removeChild(e.stateNode)}catch(u){$(e,t,u)}break;case 18:ol!==null&&(Kl?(l=ol,_h(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.stateNode),An(l)):_h(ol,e.stateNode));break;case 4:a=ol,n=Kl,ol=e.stateNode.containerInfo,Kl=!0,$t(l,t,e),ol=a,Kl=n;break;case 0:case 11:case 14:case 15:Ke(2,e,t),zl||Ke(4,e,t),$t(l,t,e);break;case 1:zl||(qt(e,t),a=e.stateNode,typeof a.componentWillUnmount=="function"&&Uy(e,t,a)),$t(l,t,e);break;case 21:$t(l,t,e);break;case 22:zl=(a=zl)||e.memoizedState!==null,$t(l,t,e),zl=a;break;default:$t(l,t,e)}}i(Ry,"commitDeletionEffectsOnFiber");function qy(l,t){if(t.memoizedState===null&&(l=t.alternate,l!==null&&(l=l.memoizedState,l!==null))){l=l.dehydrated;try{An(l)}catch(e){$(t,t.return,e)}}}i(qy,"commitActivityHydrationCallbacks");function Gy(l,t){if(t.memoizedState===null&&(l=t.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{An(l)}catch(e){$(t,t.return,e)}}i(Gy,"commitSuspenseHydrationCallbacks");function tg(l){switch(l.tag){case 31:case 13:case 19:var t=l.stateNode;return t===null&&(t=l.stateNode=new dh),t;case 22:return l=l.stateNode,t=l._retryCache,t===null&&(t=l._retryCache=new dh),t;default:throw Error(b(435,l.tag))}}i(tg,"getRetryCache");function Ui(l,t){var e=tg(l);t.forEach(function(a){if(!e.has(a)){e.add(a);var n=sg.bind(null,l,a);a.then(n,n)}})}i(Ui,"attachSuspenseRetryListeners");function Zl(l,t){var e=t.deletions;if(e!==null)for(var a=0;a<e.length;a++){var n=e[a],u=l,c=t,f=c;l:for(;f!==null;){switch(f.tag){case 27:if(We(f.type)){ol=f.stateNode,Kl=!1;break l}break;case 5:ol=f.stateNode,Kl=!1;break l;case 3:case 4:ol=f.stateNode.containerInfo,Kl=!0;break l}f=f.return}if(ol===null)throw Error(b(160));Ry(u,c,n),ol=null,Kl=!1,u=n.alternate,u!==null&&(u.return=null),n.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Yy(t,l),t=t.sibling}i(Zl,"recursivelyTraverseMutationEffects");var Dt=null;function Yy(l,t){var e=l.alternate,a=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:Zl(t,l),jl(l),a&4&&(Ke(3,l,l.return),ju(3,l),Ke(5,l,l.return));break;case 1:Zl(t,l),jl(l),a&512&&(zl||e===null||qt(e,e.return)),a&64&&te&&(l=l.updateQueue,l!==null&&(a=l.callbacks,a!==null&&(e=l.shared.hiddenCallbacks,l.shared.hiddenCallbacks=e===null?a:e.concat(a))));break;case 26:var n=Dt;if(Zl(t,l),jl(l),a&512&&(zl||e===null||qt(e,e.return)),a&4){var u=e!==null?e.memoizedState:null;if(a=l.memoizedState,e===null)if(a===null)if(l.stateNode===null){l:{a=l.type,e=l.memoizedProps,n=n.ownerDocument||n;t:switch(a){case"title":u=n.getElementsByTagName("title")[0],(!u||u[Lu]||u[kl]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=n.createElement(a),n.head.insertBefore(u,n.querySelector("head > title"))),Rl(u,a,e),u[kl]=l,Dl(u),a=u;break l;case"link":var c=Hh("link","href",n).get(a+(e.href||""));if(c){for(var f=0;f<c.length;f++)if(u=c[f],u.getAttribute("href")===(e.href==null||e.href===""?null:e.href)&&u.getAttribute("rel")===(e.rel==null?null:e.rel)&&u.getAttribute("title")===(e.title==null?null:e.title)&&u.getAttribute("crossorigin")===(e.crossOrigin==null?null:e.crossOrigin)){c.splice(f,1);break t}}u=n.createElement(a),Rl(u,a,e),n.head.appendChild(u);break;case"meta":if(c=Hh("meta","content",n).get(a+(e.content||""))){for(f=0;f<c.length;f++)if(u=c[f],u.getAttribute("content")===(e.content==null?null:""+e.content)&&u.getAttribute("name")===(e.name==null?null:e.name)&&u.getAttribute("property")===(e.property==null?null:e.property)&&u.getAttribute("http-equiv")===(e.httpEquiv==null?null:e.httpEquiv)&&u.getAttribute("charset")===(e.charSet==null?null:e.charSet)){c.splice(f,1);break t}}u=n.createElement(a),Rl(u,a,e),n.head.appendChild(u);break;default:throw Error(b(468,a))}u[kl]=l,Dl(u),a=u}l.stateNode=a}else xh(n,l.type,l.stateNode);else l.stateNode=kh(n,a,l.memoizedProps);else u!==a?(u===null?e.stateNode!==null&&(e=e.stateNode,e.parentNode.removeChild(e)):u.count--,a===null?xh(n,l.type,l.stateNode):kh(n,a,l.memoizedProps)):a===null&&l.stateNode!==null&&fo(l,l.memoizedProps,e.memoizedProps)}break;case 27:Zl(t,l),jl(l),a&512&&(zl||e===null||qt(e,e.return)),e!==null&&a&4&&fo(l,l.memoizedProps,e.memoizedProps);break;case 5:if(Zl(t,l),jl(l),a&512&&(zl||e===null||qt(e,e.return)),l.flags&32){n=l.stateNode;try{yn(n,"")}catch(T){$(l,l.return,T)}}a&4&&l.stateNode!=null&&(n=l.memoizedProps,fo(l,n,e!==null?e.memoizedProps:n)),a&1024&&(so=!0);break;case 6:if(Zl(t,l),jl(l),a&4){if(l.stateNode===null)throw Error(b(162));a=l.memoizedProps,e=l.stateNode;try{e.nodeValue=a}catch(T){$(l,l.return,T)}}break;case 3:if(wi=null,n=Dt,Dt=zc(t.containerInfo),Zl(t,l),Dt=n,jl(l),a&4&&e!==null&&e.memoizedState.isDehydrated)try{An(t.containerInfo)}catch(T){$(l,l.return,T)}so&&(so=!1,Vy(l));break;case 4:a=Dt,Dt=zc(l.stateNode.containerInfo),Zl(t,l),jl(l),Dt=a;break;case 12:Zl(t,l),jl(l);break;case 31:Zl(t,l),jl(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,Ui(l,a)));break;case 13:Zl(t,l),jl(l),l.child.flags&8192&&l.memoizedState!==null!=(e!==null&&e.memoizedState!==null)&&(qc=et()),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,Ui(l,a)));break;case 22:n=l.memoizedState!==null;var o=e!==null&&e.memoizedState!==null,s=te,v=zl;if(te=s||n,zl=v||o,Zl(t,l),zl=v,te=s,jl(l),a&8192)l:for(t=l.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(e===null||o||te||zl||ra(l)),e=null,t=l;;){if(t.tag===5||t.tag===26){if(e===null){o=e=t;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,m=p!=null&&p.hasOwnProperty("display")?p.display:null;f.style.display=m==null||typeof m=="boolean"?"":(""+m).trim()}}catch(T){$(o,o.return,T)}}}else if(t.tag===6){if(e===null){o=t;try{o.stateNode.nodeValue=n?"":o.memoizedProps}catch(T){$(o,o.return,T)}}}else if(t.tag===18){if(e===null){o=t;try{var d=o.stateNode;n?Dh(d,!0):Dh(o.stateNode,!1)}catch(T){$(o,o.return,T)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===l)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===l)break l;for(;t.sibling===null;){if(t.return===null||t.return===l)break l;e===t&&(e=null),t=t.return}e===t&&(e=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=l.updateQueue,a!==null&&(e=a.retryQueue,e!==null&&(a.retryQueue=null,Ui(l,e))));break;case 19:Zl(t,l),jl(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,Ui(l,a)));break;case 30:break;case 21:break;default:Zl(t,l),jl(l)}}i(Yy,"commitMutationEffectsOnFiber");function jl(l){var t=l.flags;if(t&2){try{for(var e,a=l.return;a!==null;){if(By(a)){e=a;break}a=a.return}if(e==null)throw Error(b(160));switch(e.tag){case 27:var n=e.stateNode,u=oo(l);hc(l,u,n);break;case 5:var c=e.stateNode;e.flags&32&&(yn(c,""),e.flags&=-33);var f=oo(l);hc(l,f,c);break;case 3:case 4:var o=e.stateNode.containerInfo,s=oo(l);Io(l,s,o);break;default:throw Error(b(161))}}catch(v){$(l,l.return,v)}l.flags&=-3}t&4096&&(l.flags&=-4097)}i(jl,"commitReconciliationEffects");function Vy(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var t=l;Vy(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),l=l.sibling}}i(Vy,"recursivelyResetForms");function It(l,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Hy(l,t.alternate,t),t=t.sibling}i(It,"recursivelyTraverseLayoutEffects");function ra(l){for(l=l.child;l!==null;){var t=l;switch(t.tag){case 0:case 11:case 14:case 15:Ke(4,t,t.return),ra(t);break;case 1:qt(t,t.return);var e=t.stateNode;typeof e.componentWillUnmount=="function"&&Uy(t,t.return,e),ra(t);break;case 27:Tu(t.stateNode);case 26:case 5:qt(t,t.return),ra(t);break;case 22:t.memoizedState===null&&ra(t);break;case 30:ra(t);break;default:ra(t)}l=l.sibling}}i(ra,"recursivelyTraverseDisappearLayoutEffects");function Pt(l,t,e){for(e=e&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,n=l,u=t,c=u.flags;switch(u.tag){case 0:case 11:case 15:Pt(n,u,e),ju(4,u);break;case 1:if(Pt(n,u,e),a=u,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(s){$(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++)qm(o[n],f)}catch(s){$(a,a.return,s)}}e&&c&64&&Oy(u),gu(u,u.return);break;case 27:ky(u);case 26:case 5:Pt(n,u,e),e&&a===null&&c&4&&Cy(u),gu(u,u.return);break;case 12:Pt(n,u,e);break;case 31:Pt(n,u,e),e&&c&4&&qy(n,u);break;case 13:Pt(n,u,e),e&&c&4&&Gy(n,u);break;case 22:u.memoizedState===null&&Pt(n,u,e),gu(u,u.return);break;case 30:break;default:Pt(n,u,e)}t=t.sibling}}i(Pt,"recursivelyTraverseReappearLayoutEffects");function $s(l,t){var e=null;l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(e=l.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==e&&(l!=null&&l.refCount++,e!=null&&Xu(e))}i($s,"commitOffscreenPassiveMountEffects");function Is(l,t){l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(t.refCount++,l!=null&&Xu(l))}i(Is,"commitCachePassiveMountEffect");function _t(l,t,e,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Ly(l,t,e,a),t=t.sibling}i(_t,"recursivelyTraversePassiveMountEffects");function Ly(l,t,e,a){var n=t.flags;switch(t.tag){case 0:case 11:case 15:_t(l,t,e,a),n&2048&&ju(9,t);break;case 1:_t(l,t,e,a);break;case 3:_t(l,t,e,a),n&2048&&(l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(t.refCount++,l!=null&&Xu(l)));break;case 12:if(n&2048){_t(l,t,e,a),l=t.stateNode;try{var u=t.memoizedProps,c=u.id,f=u.onPostCommit;typeof f=="function"&&f(c,t.alternate===null?"mount":"update",l.passiveEffectDuration,-0)}catch(o){$(t,t.return,o)}}else _t(l,t,e,a);break;case 31:_t(l,t,e,a);break;case 13:_t(l,t,e,a);break;case 23:break;case 22:u=t.stateNode,c=t.alternate,t.memoizedState!==null?u._visibility&2?_t(l,t,e,a):bu(l,t):u._visibility&2?_t(l,t,e,a):(u._visibility|=2,ja(l,t,e,a,(t.subtreeFlags&10256)!==0||!1)),n&2048&&$s(c,t);break;case 24:_t(l,t,e,a),n&2048&&Is(t.alternate,t);break;default:_t(l,t,e,a)}}i(Ly,"commitPassiveMountOnFiber");function ja(l,t,e,a,n){for(n=n&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var u=l,c=t,f=e,o=a,s=c.flags;switch(c.tag){case 0:case 11:case 15:ja(u,c,f,o,n),ju(8,c);break;case 23:break;case 22:var v=c.stateNode;c.memoizedState!==null?v._visibility&2?ja(u,c,f,o,n):bu(u,c):(v._visibility|=2,ja(u,c,f,o,n)),n&&s&2048&&$s(c.alternate,c);break;case 24:ja(u,c,f,o,n),n&&s&2048&&Is(c.alternate,c);break;default:ja(u,c,f,o,n)}t=t.sibling}}i(ja,"recursivelyTraverseReconnectPassiveEffects");function bu(l,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var e=l,a=t,n=a.flags;switch(a.tag){case 22:bu(e,a),n&2048&&$s(a.alternate,a);break;case 24:bu(e,a),n&2048&&Is(a.alternate,a);break;default:bu(e,a)}t=t.sibling}}i(bu,"recursivelyTraverseAtomicPassiveEffects");var ou=8192;function Za(l,t,e){if(l.subtreeFlags&ou)for(l=l.child;l!==null;)Qy(l,t,e),l=l.sibling}i(Za,"recursivelyAccumulateSuspenseyCommit");function Qy(l,t,e){switch(l.tag){case 26:Za(l,t,e),l.flags&ou&&l.memoizedState!==null&&Yg(e,Dt,l.memoizedState,l.memoizedProps);break;case 5:Za(l,t,e);break;case 3:case 4:var a=Dt;Dt=zc(l.stateNode.containerInfo),Za(l,t,e),Dt=a;break;case 22:l.memoizedState===null&&(a=l.alternate,a!==null&&a.memoizedState!==null?(a=ou,ou=16777216,Za(l,t,e),ou=a):Za(l,t,e));break;default:Za(l,t,e)}}i(Qy,"accumulateSuspenseyCommitOnFiber");function Xy(l){var t=l.alternate;if(t!==null&&(l=t.child,l!==null)){t.child=null;do t=l.sibling,l.sibling=null,l=t;while(l!==null)}}i(Xy,"detachAlternateSiblings");function eu(l){var t=l.deletions;if((l.flags&16)!==0){if(t!==null)for(var e=0;e<t.length;e++){var a=t[e];_l=a,jy(a,l)}Xy(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)Zy(l),l=l.sibling}i(eu,"recursivelyTraversePassiveUnmountEffects");function Zy(l){switch(l.tag){case 0:case 11:case 15:eu(l),l.flags&2048&&Ke(9,l,l.return);break;case 3:eu(l);break;case 12:eu(l);break;case 22:var t=l.stateNode;l.memoizedState!==null&&t._visibility&2&&(l.return===null||l.return.tag!==13)?(t._visibility&=-3,Ki(l)):eu(l);break;default:eu(l)}}i(Zy,"commitPassiveUnmountOnFiber");function Ki(l){var t=l.deletions;if((l.flags&16)!==0){if(t!==null)for(var e=0;e<t.length;e++){var a=t[e];_l=a,jy(a,l)}Xy(l)}for(l=l.child;l!==null;){switch(t=l,t.tag){case 0:case 11:case 15:Ke(8,t,t.return),Ki(t);break;case 22:e=t.stateNode,e._visibility&2&&(e._visibility&=-3,Ki(t));break;default:Ki(t)}l=l.sibling}}i(Ki,"recursivelyTraverseDisconnectPassiveEffects");function jy(l,t){for(;_l!==null;){var e=_l;switch(e.tag){case 0:case 11:case 15:Ke(8,e,t);break;case 23:case 22:if(e.memoizedState!==null&&e.memoizedState.cachePool!==null){var a=e.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:Xu(e.memoizedState.cache)}if(a=e.child,a!==null)a.return=e,_l=a;else l:for(e=l;_l!==null;){a=_l;var n=a.sibling,u=a.return;if(xy(a),a===e){_l=null;break l}if(n!==null){n.return=u,_l=n;break l}_l=u}}}i(jy,"commitPassiveUnmountEffectsInsideOfDeletedTree_begin");var eg={getCacheForType:i(function(l){var t=xl(Tl),e=t.data.get(l);return e===void 0&&(e=l(),t.data.set(l,e)),e},"getCacheForType"),cacheSignal:i(function(){return xl(Tl).controller.signal},"cacheSignal")},ag=typeof WeakMap=="function"?WeakMap:Map,j=0,tl=null,V=null,L=0,F=0,Il=null,Be=!1,Dn=!1,Ps=!1,de=0,hl=0,Je=0,va=0,lr=0,tt=0,bn=0,Su=null,Jl=null,Po=!1,qc=0,Ky=0,mc=1/0,yc=null,Ye=null,El=0,Ve=null,Sn=null,ce=0,ls=0,ts=null,Jy=null,zu=0,es=null;function ut(){return(j&2)!==0&&L!==0?L&-L:k.T!==null?er():em()}i(ut,"requestUpdateLane");function wy(){if(tt===0)if((L&536870912)===0||X){var l=Si;Si<<=1,(Si&3932160)===0&&(Si=262144),tt=l}else tt=536870912;return l=ct.current,l!==null&&(l.flags|=32),tt}i(wy,"requestDeferredLane");function wl(l,t,e){(l===tl&&(F===2||F===9)||l.cancelPendingCommit!==null)&&(zn(l,0),ke(l,L,tt,!1)),Vu(l,e),((j&2)===0||l!==tl)&&(l===tl&&((j&2)===0&&(va|=e),hl===4&&ke(l,L,tt,!1)),Vt(l))}i(wl,"scheduleUpdateOnFiber");function Wy(l,t,e){if((j&6)!==0)throw Error(b(327));var a=!e&&(t&127)===0&&(t&l.expiredLanes)===0||Yu(l,t),n=a?ig(l,t):ro(l,t,!0),u=a;do{if(n===0){Dn&&!a&&ke(l,t,0,!1);break}else{if(e=l.current.alternate,u&&!ng(e)){n=ro(l,t,!1),u=!1;continue}if(n===2){if(u=t,l.errorRecoveryDisabledLanes&u)var c=0;else c=l.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){t=c;l:{var f=l;n=Su;var o=f.current.memoizedState.isDehydrated;if(o&&(zn(f,c).flags|=256),c=ro(f,c,!1),c!==2){if(Ps&&!o){f.errorRecoveryDisabledLanes|=u,va|=u,n=4;break l}u=Jl,Jl=n,u!==null&&(Jl===null?Jl=u:Jl.push.apply(Jl,u))}n=c}if(u=!1,n!==2)continue}}if(n===1){zn(l,0),ke(l,t,0,!0);break}l:{switch(a=l,u=n,u){case 0:case 1:throw Error(b(345));case 4:if((t&4194048)!==t)break;case 6:ke(a,t,tt,!Be);break l;case 2:Jl=null;break;case 3:case 5:break;default:throw Error(b(329))}if((t&62914560)===t&&(n=qc+300-et(),10<n)){if(ke(a,t,tt,!Be),Mc(a,0,!0)!==0)break l;ce=t,a.timeoutHandle=yv(hh.bind(null,a,e,Jl,yc,Po,t,tt,va,bn,Be,u,"Throttled",-0,0),n);break l}hh(a,e,Jl,yc,Po,t,tt,va,bn,Be,u,null,-0,0)}}break}while(!0);Vt(l)}i(Wy,"performWorkOnRoot");function hh(l,t,e,a,n,u,c,f,o,s,v,p,m,d){if(l.timeoutHandle=-1,p=t.subtreeFlags,p&8192||(p&16785408)===16785408){p={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ae},Qy(t,u,p);var T=(u&62914560)===u?qc-et():(u&4194048)===u?Ky-et():0;if(T=Vg(p,T),T!==null){ce=u,l.cancelPendingCommit=T(yh.bind(null,l,t,u,e,a,n,c,f,o,v,p,null,m,d)),ke(l,u,c,!s);return}}yh(l,t,u,e,a,n,c,f,o)}i(hh,"commitRootWhenReady");function ng(l){for(var t=l;;){var e=t.tag;if((e===0||e===11||e===15)&&t.flags&16384&&(e=t.updateQueue,e!==null&&(e=e.stores,e!==null)))for(var a=0;a<e.length;a++){var n=e[a],u=n.getSnapshot;n=n.value;try{if(!it(u(),n))return!1}catch{return!1}}if(e=t.child,t.subtreeFlags&16384&&e!==null)e.return=t,t=e;else{if(t===l)break;for(;t.sibling===null;){if(t.return===null||t.return===l)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}i(ng,"isRenderConsistentWithExternalStores");function ke(l,t,e,a){t&=~lr,t&=~va,l.suspendedLanes|=t,l.pingedLanes&=~t,a&&(l.warmLanes|=t),a=l.expirationTimes;for(var n=t;0<n;){var u=31-nt(n),c=1<<u;a[u]=-1,n&=~c}e!==0&&Ph(l,e,t)}i(ke,"markRootSuspended");function Gc(){return(j&6)===0?(Ku(0,!1),!1):!0}i(Gc,"flushSyncWork$1");function tr(){if(V!==null){if(F===0)var l=V.return;else l=V,ne=Ma=null,Vs(l),sn=null,Ou=0,l=V;for(;l!==null;)Dy(l.alternate,l),l=l.return;V=null}}i(tr,"resetWorkInProgressStack");function zn(l,t){var e=l.timeoutHandle;e!==-1&&(l.timeoutHandle=-1,Tg(e)),e=l.cancelPendingCommit,e!==null&&(l.cancelPendingCommit=null,e()),ce=0,tr(),tl=l,V=e=ue(l.current,null),L=t,F=0,Il=null,Be=!1,Dn=Yu(l,t),Ps=!1,bn=tt=lr=va=Je=hl=0,Jl=Su=null,Po=!1,(t&8)!==0&&(t|=t&32);var a=l.entangledLanes;if(a!==0)for(l=l.entanglements,a&=t;0<a;){var n=31-nt(a),u=1<<n;t|=l[n],a&=~u}return de=t,Uc(),e}i(zn,"prepareFreshStack");function Fy(l,t){q=null,k.H=Cu,t===_n||t===Bc?(t=j0(),F=3):t===ks?(t=j0(),F=4):F=t===Ws?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Il=t,V===null&&(hl=1,rc(l,bt(t,l.current)))}i(Fy,"handleThrow");function $y(){var l=ct.current;return l===null?!0:(L&4194048)===L?zt===null:(L&62914560)===L||(L&536870912)!==0?l===zt:!1}i($y,"shouldRemainOnPreviousScreen");function Iy(){var l=k.H;return k.H=Cu,l===null?Cu:l}i(Iy,"pushDispatcher");function Py(){var l=k.A;return k.A=eg,l}i(Py,"pushAsyncDispatcher");function vc(){hl=4,Be||(L&4194048)!==L&&ct.current!==null||(Dn=!0),(Je&134217727)===0&&(va&134217727)===0||tl===null||ke(tl,L,tt,!1)}i(vc,"renderDidSuspendDelayIfPossible");function ro(l,t,e){var a=j;j|=2;var n=Iy(),u=Py();(tl!==l||L!==t)&&(yc=null,zn(l,t)),t=!1;var c=hl;l:do try{if(F!==0&&V!==null){var f=V,o=Il;switch(F){case 8:tr(),c=6;break l;case 3:case 2:case 9:case 6:ct.current===null&&(t=!0);var s=F;if(F=0,Il=null,nn(l,f,o,s),e&&Dn){c=0;break l}break;default:s=F,F=0,Il=null,nn(l,f,o,s)}}ug(),c=hl;break}catch(v){Fy(l,v)}while(!0);return t&&l.shellSuspendCounter++,ne=Ma=null,j=a,k.H=n,k.A=u,V===null&&(tl=null,L=0,Uc()),c}i(ro,"renderRootSync");function ug(){for(;V!==null;)lv(V)}i(ug,"workLoopSync");function ig(l,t){var e=j;j|=2;var a=Iy(),n=Py();tl!==l||L!==t?(yc=null,mc=et()+500,zn(l,t)):Dn=Yu(l,t);l:do try{if(F!==0&&V!==null){t=V;var u=Il;t:switch(F){case 1:F=0,Il=null,nn(l,t,u,1);break;case 2:case 9:if(Z0(u)){F=0,Il=null,mh(t);break}t=i(function(){F!==2&&F!==9||tl!==l||(F=7),Vt(l)},"lanes"),u.then(t,t);break l;case 3:F=7;break l;case 4:F=5;break l;case 7:Z0(u)?(F=0,Il=null,mh(t)):(F=0,Il=null,nn(l,t,u,7));break;case 5:var c=null;switch(V.tag){case 26:c=V.memoizedState;case 5:case 27:var f=V;if(c?Sv(c):f.stateNode.complete){F=0,Il=null;var o=f.sibling;if(o!==null)V=o;else{var s=f.return;s!==null?(V=s,Yc(s)):V=null}break t}}F=0,Il=null,nn(l,t,u,5);break;case 6:F=0,Il=null,nn(l,t,u,6);break;case 8:tr(),hl=6;break l;default:throw Error(b(462))}}cg();break}catch(v){Fy(l,v)}while(!0);return ne=Ma=null,k.H=a,k.A=n,j=e,V!==null?0:(tl=null,L=0,Uc(),hl)}i(ig,"renderRootConcurrent");function cg(){for(;V!==null&&!U1();)lv(V)}i(cg,"workLoopConcurrentByScheduler");function lv(l){var t=_y(l.alternate,l,de);l.memoizedProps=l.pendingProps,t===null?Yc(l):V=t}i(lv,"performUnitOfWork");function mh(l){var t=l,e=t.alternate;switch(t.tag){case 15:case 0:t=ch(e,t,t.pendingProps,t.type,void 0,L);break;case 11:t=ch(e,t,t.pendingProps,t.type.render,t.ref,L);break;case 5:Vs(t);default:Dy(e,t),t=V=Dm(t,de),t=_y(e,t,de)}l.memoizedProps=l.pendingProps,t===null?Yc(l):V=t}i(mh,"replaySuspendedUnitOfWork");function nn(l,t,e,a){ne=Ma=null,Vs(t),sn=null,Ou=0;var n=t.return;try{if(Wp(l,n,t,e,L)){hl=1,rc(l,bt(e,l.current)),V=null;return}}catch(u){if(n!==null)throw V=n,u;hl=1,rc(l,bt(e,l.current)),V=null;return}t.flags&32768?(X||a===1?l=!0:Dn||(L&536870912)!==0?l=!1:(Be=l=!0,(a===2||a===9||a===3||a===6)&&(a=ct.current,a!==null&&a.tag===13&&(a.flags|=16384))),tv(t,l)):Yc(t)}i(nn,"throwAndUnwindWorkLoop");function Yc(l){var t=l;do{if((t.flags&32768)!==0){tv(t,Be);return}l=t.return;var e=Ip(t.alternate,t,de);if(e!==null){V=e;return}if(t=t.sibling,t!==null){V=t;return}V=t=l}while(t!==null);hl===0&&(hl=5)}i(Yc,"completeUnitOfWork");function tv(l,t){do{var e=Pp(l.alternate,l);if(e!==null){e.flags&=32767,V=e;return}if(e=l.return,e!==null&&(e.flags|=32768,e.subtreeFlags=0,e.deletions=null),!t&&(l=l.sibling,l!==null)){V=l;return}V=l=e}while(l!==null);hl=6,V=null}i(tv,"unwindUnitOfWork");function yh(l,t,e,a,n,u,c,f,o){l.cancelPendingCommit=null;do Vc();while(El!==0);if((j&6)!==0)throw Error(b(327));if(t!==null){if(t===l.current)throw Error(b(177));if(u=t.lanes|t.childLanes,u|=Ms,V1(l,e,u,c,f,o),l===tl&&(V=tl=null,L=0),Sn=t,Ve=l,ce=e,ls=u,ts=n,Jy=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(l.callbackNode=null,l.callbackPriority=0,rg(lc,function(){return iv(),null})):(l.callbackNode=null,l.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=k.T,k.T=null,n=K.p,K.p=2,c=j,j|=4;try{lg(l,t,e)}finally{j=c,K.p=n,k.T=a}}El=1,ev(),av(),nv()}}i(yh,"commitRoot");function ev(){if(El===1){El=0;var l=Ve,t=Sn,e=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||e){e=k.T,k.T=null;var a=K.p;K.p=2;var n=j;j|=4;try{Yy(t,l);var u=is,c=Sm(l.containerInfo),f=u.focusedElem,o=u.selectionRange;if(c!==f&&f&&f.ownerDocument&&bm(f.ownerDocument.documentElement,f)){if(o!==null&&Ns(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,m=p&&p.defaultView||window;if(m.getSelection){var d=m.getSelection(),T=f.textContent.length,E=Math.min(o.start,T),U=o.end===void 0?E:Math.min(o.end,T);!d.extend&&E>U&&(c=U,U=E,E=c);var h=q0(f,E),r=q0(f,U);if(h&&r&&(d.rangeCount!==1||d.anchorNode!==h.node||d.anchorOffset!==h.offset||d.focusNode!==r.node||d.focusOffset!==r.offset)){var y=p.createRange();y.setStart(h.node,h.offset),d.removeAllRanges(),E>U?(d.addRange(y),d.extend(r.node,r.offset)):(y.setEnd(r.node,r.offset),d.addRange(y))}}}}for(p=[],d=f;d=d.parentNode;)d.nodeType===1&&p.push({element:d,left:d.scrollLeft,top:d.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}}Ec=!!us,is=us=null}finally{j=n,K.p=a,k.T=e}}l.current=t,El=2}}i(ev,"flushMutationEffects");function av(){if(El===2){El=0;var l=Ve,t=Sn,e=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||e){e=k.T,k.T=null;var a=K.p;K.p=2;var n=j;j|=4;try{Hy(l,t.alternate,t)}finally{j=n,K.p=a,k.T=e}}El=3}}i(av,"flushLayoutEffects");function nv(){if(El===4||El===3){El=0,C1();var l=Ve,t=Sn,e=ce,a=Jy;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?El=5:(El=0,Sn=Ve=null,uv(l,l.pendingLanes));var n=l.pendingLanes;if(n===0&&(Ye=null),gs(e),t=t.stateNode,at&&typeof at.onCommitFiberRoot=="function")try{at.onCommitFiberRoot(Gu,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=k.T,n=K.p,K.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=t,K.p=n}}(ce&3)!==0&&Vc(),Vt(l),n=l.pendingLanes,(e&261930)!==0&&(n&42)!==0?l===es?zu++:(zu=0,es=l):zu=0,Ku(0,!1)}}i(nv,"flushSpawnedWork");function uv(l,t){(l.pooledCacheLanes&=t)===0&&(t=l.pooledCache,t!=null&&(l.pooledCache=null,Xu(t)))}i(uv,"releaseRootPooledCache");function Vc(){return ev(),av(),nv(),iv()}i(Vc,"flushPendingEffects");function iv(){if(El!==5)return!1;var l=Ve,t=ls;ls=0;var e=gs(ce),a=k.T,n=K.p;try{K.p=32>e?32:e,k.T=null,e=ts,ts=null;var u=Ve,c=ce;if(El=0,Sn=Ve=null,ce=0,(j&6)!==0)throw Error(b(331));var f=j;if(j|=4,Zy(u.current),Ly(u,u.current,c,e),j=f,Ku(0,!1),at&&typeof at.onPostCommitFiberRoot=="function")try{at.onPostCommitFiberRoot(Gu,u)}catch{}return!0}finally{K.p=n,k.T=a,uv(l,t)}}i(iv,"flushPassiveEffects");function vh(l,t,e){t=bt(e,t),t=Wo(l.stateNode,t,2),l=Ge(l,t,2),l!==null&&(Vu(l,2),Vt(l))}i(vh,"captureCommitPhaseErrorOnRoot");function $(l,t,e){if(l.tag===3)vh(l,l,e);else for(;t!==null;){if(t.tag===3){vh(t,l,e);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Ye===null||!Ye.has(a))){l=bt(e,l),e=zy(2),a=Ge(t,e,2),a!==null&&(Ty(e,a,t,l),Vu(a,2),Vt(a));break}}t=t.return}}i($,"captureCommitPhaseError");function ho(l,t,e){var a=l.pingCache;if(a===null){a=l.pingCache=new ag;var n=new Set;a.set(t,n)}else n=a.get(t),n===void 0&&(n=new Set,a.set(t,n));n.has(e)||(Ps=!0,n.add(e),l=fg.bind(null,l,t,e),t.then(l,l))}i(ho,"attachPingListener");function fg(l,t,e){var a=l.pingCache;a!==null&&a.delete(t),l.pingedLanes|=l.suspendedLanes&e,l.warmLanes&=~e,tl===l&&(L&e)===e&&(hl===4||hl===3&&(L&62914560)===L&&300>et()-qc?(j&2)===0&&zn(l,0):lr|=e,bn===L&&(bn=0)),Vt(l)}i(fg,"pingSuspendedRoot");function cv(l,t){t===0&&(t=Ih()),l=Na(l,t),l!==null&&(Vu(l,t),Vt(l))}i(cv,"retryTimedOutBoundary");function og(l){var t=l.memoizedState,e=0;t!==null&&(e=t.retryLane),cv(l,e)}i(og,"retryDehydratedSuspenseBoundary");function sg(l,t){var e=0;switch(l.tag){case 31:case 13:var a=l.stateNode,n=l.memoizedState;n!==null&&(e=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(t),cv(l,e)}i(sg,"resolveRetryWakeable");function rg(l,t){return vs(l,t)}i(rg,"scheduleCallback$1");var pc=null,Ka=null,as=!1,gc=!1,mo=!1,He=0;function Vt(l){l!==Ka&&l.next===null&&(Ka===null?pc=Ka=l:Ka=Ka.next=l),gc=!0,as||(as=!0,hg())}i(Vt,"ensureRootIsScheduled");function Ku(l,t){if(!mo&&gc){mo=!0;do for(var e=!1,a=pc;a!==null;){if(!t)if(l!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var c=a.suspendedLanes,f=a.pingedLanes;u=(1<<31-nt(42|l)+1)-1,u&=n&~(c&~f),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(e=!0,ph(a,u))}else u=L,u=Mc(a,a===tl?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||Yu(a,u)||(e=!0,ph(a,u));a=a.next}while(e);mo=!1}}i(Ku,"flushSyncWorkAcrossRoots_impl");function dg(){fv()}i(dg,"processRootScheduleInImmediateTask");function fv(){gc=as=!1;var l=0;He!==0&&zg()&&(l=He);for(var t=et(),e=null,a=pc;a!==null;){var n=a.next,u=ov(a,t);u===0?(a.next=null,e===null?pc=n:e.next=n,n===null&&(Ka=e)):(e=a,(l!==0||(u&3)!==0)&&(gc=!0)),a=n}El!==0&&El!==5||Ku(l,!1),He!==0&&(He=0)}i(fv,"processRootScheduleInMicrotask");function ov(l,t){for(var e=l.suspendedLanes,a=l.pingedLanes,n=l.expirationTimes,u=l.pendingLanes&-62914561;0<u;){var c=31-nt(u),f=1<<c,o=n[c];o===-1?((f&e)===0||(f&a)!==0)&&(n[c]=Y1(f,t)):o<=t&&(l.expiredLanes|=f),u&=~f}if(t=tl,e=L,e=Mc(l,l===t?e:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a=l.callbackNode,e===0||l===t&&(F===2||F===9)||l.cancelPendingCommit!==null)return a!==null&&a!==null&&Qf(a),l.callbackNode=null,l.callbackPriority=0;if((e&3)===0||Yu(l,e)){if(t=e&-e,t===l.callbackPriority)return t;switch(a!==null&&Qf(a),gs(e)){case 2:case 8:e=Fh;break;case 32:e=lc;break;case 268435456:e=$h;break;default:e=lc}return a=sv.bind(null,l),e=vs(e,a),l.callbackPriority=t,l.callbackNode=e,t}return a!==null&&a!==null&&Qf(a),l.callbackPriority=2,l.callbackNode=null,2}i(ov,"scheduleTaskForRootDuringMicrotask");function sv(l,t){if(El!==0&&El!==5)return l.callbackNode=null,l.callbackPriority=0,null;var e=l.callbackNode;if(Vc()&&l.callbackNode!==e)return null;var a=L;return a=Mc(l,l===tl?a:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a===0?null:(Wy(l,a,t),ov(l,et()),l.callbackNode!=null&&l.callbackNode===e?sv.bind(null,l):null)}i(sv,"performWorkOnRootViaSchedulerTask");function ph(l,t){if(Vc())return null;Wy(l,t,!0)}i(ph,"performSyncWorkOnRoot");function hg(){Ag(function(){(j&6)!==0?vs(Wh,dg):fv()})}i(hg,"scheduleImmediateRootScheduleTask");function er(){if(He===0){var l=vn;l===0&&(l=bi,bi<<=1,(bi&261888)===0&&(bi=256)),He=l}return He}i(er,"requestTransitionLane");function gh(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:qi(""+l)}i(gh,"coerceFormActionProp");function bh(l,t){var e=t.ownerDocument.createElement("input");return e.name=t.name,e.value=t.value,l.id&&e.setAttribute("form",l.id),t.parentNode.insertBefore(e,t),l=new FormData(l),e.parentNode.removeChild(e),l}i(bh,"createFormDataWithSubmitter");function mg(l,t,e,a,n){if(t==="submit"&&e&&e.stateNode===n){var u=gh((n[Wl]||null).action),c=a.submitter;c&&(t=(t=c[Wl]||null)?gh(t.formAction):c.getAttribute("formAction"),t!==null&&(u=t,c=null));var f=new _c("action","action",null,a,n);l.push({event:f,listeners:[{instance:null,listener:i(function(){if(a.defaultPrevented){if(He!==0){var o=c?bh(n,c):new FormData(n);Jo(e,{pending:!0,data:o,method:n.method,action:u},null,o)}}else typeof u=="function"&&(f.preventDefault(),o=c?bh(n,c):new FormData(n),Jo(e,{pending:!0,data:o,method:n.method,action:u},u,o))},"listener"),currentTarget:n}]})}}i(mg,"extractEvents$1");for(Ci=0;Ci<xo.length;Ci++)Bi=xo[Ci],Sh=Bi.toLowerCase(),zh=Bi[0].toUpperCase()+Bi.slice(1),Ot(Sh,"on"+zh);var Bi,Sh,zh,Ci;Ot(Tm,"onAnimationEnd");Ot(Am,"onAnimationIteration");Ot(Em,"onAnimationStart");Ot("dblclick","onDoubleClick");Ot("focusin","onFocus");Ot("focusout","onBlur");Ot(Bp,"onTransitionRun");Ot(kp,"onTransitionStart");Ot(Hp,"onTransitionCancel");Ot(Nm,"onTransitionEnd");mn("onMouseEnter",["mouseout","mouseover"]);mn("onMouseLeave",["mouseout","mouseover"]);mn("onPointerEnter",["pointerout","pointerover"]);mn("onPointerLeave",["pointerout","pointerover"]);Ta("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Ta("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Ta("onBeforeInput",["compositionend","keypress","textInput","paste"]);Ta("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Ta("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Ta("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Bu="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),yg=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Bu));function rv(l,t){t=(t&4)!==0;for(var e=0;e<l.length;e++){var a=l[e],n=a.event;a=a.listeners;l:{var u=void 0;if(t)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){ec(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){ec(v)}n.currentTarget=null,u=o}}}}i(rv,"processDispatchQueue");function Y(l,t){var e=t[_o];e===void 0&&(e=t[_o]=new Set);var a=l+"__bubble";e.has(a)||(dv(t,l,2,!1),e.add(a))}i(Y,"listenToNonDelegatedEvent");function yo(l,t,e){var a=0;t&&(a|=4),dv(e,l,a,t)}i(yo,"listenToNativeEvent");var ki="_reactListening"+Math.random().toString(36).slice(2);function ar(l){if(!l[ki]){l[ki]=!0,am.forEach(function(e){e!=="selectionchange"&&(yg.has(e)||yo(e,!1,l),yo(e,!0,l))});var t=l.nodeType===9?l:l.ownerDocument;t===null||t[ki]||(t[ki]=!0,yo("selectionchange",!1,t))}}i(ar,"listenToAllSupportedEvents");function dv(l,t,e,a){switch(Nv(t)){case 2:var n=Xg;break;case 8:n=Zg;break;default:n=cr}e=n.bind(null,t,e,l),n=void 0,!Bo||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),a?n!==void 0?l.addEventListener(t,e,{capture:!0,passive:n}):l.addEventListener(t,e,!0):n!==void 0?l.addEventListener(t,e,{passive:n}):l.addEventListener(t,e,!1)}i(dv,"addTrappedEventListener");function vo(l,t,e,a,n){var u=a;if((t&1)===0&&(t&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=Wa(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}rm(function(){var s=u,v=zs(e),p=[];l:{var m=Mm.get(l);if(m!==void 0){var d=_c,T=l;switch(l){case"keypress":if(Yi(e)===0)break l;case"keydown":case"keyup":d=sp;break;case"focusin":T="focus",d=Jf;break;case"focusout":T="blur",d=Jf;break;case"beforeblur":case"afterblur":d=Jf;break;case"click":if(e.button===2)break l;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":d=D0;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":d=I1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":d=hp;break;case Tm:case Am:case Em:d=tp;break;case Nm:d=yp;break;case"scroll":case"scrollend":d=F1;break;case"wheel":d=pp;break;case"copy":case"cut":case"paste":d=ap;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":d=U0;break;case"toggle":case"beforetoggle":d=bp}var E=(t&4)!==0,U=!E&&(l==="scroll"||l==="scrollend"),h=E?m!==null?m+"Capture":null:m;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||h===null||(g=Eu(r,h),g!=null&&E.push(ku(r,g,y))),U)break;r=r.return}0<E.length&&(m=new d(m,T,null,e,v),p.push({event:m,listeners:E}))}}if((t&7)===0){l:{if(m=l==="mouseover"||l==="pointerover",d=l==="mouseout"||l==="pointerout",m&&e!==Co&&(T=e.relatedTarget||e.fromElement)&&(Wa(T)||T[En]))break l;if((d||m)&&(m=v.window===v?v:(m=v.ownerDocument)?m.defaultView||m.parentWindow:window,d?(T=e.relatedTarget||e.toElement,d=s,T=T?Wa(T):null,T!==null&&(U=qu(T),E=T.tag,T!==U||E!==5&&E!==27&&E!==6)&&(T=null)):(d=null,T=s),d!==T)){if(E=D0,g="onMouseLeave",h="onMouseEnter",r="mouse",(l==="pointerout"||l==="pointerover")&&(E=U0,g="onPointerLeave",h="onPointerEnter",r="pointer"),U=d==null?m:cu(d),y=T==null?m:cu(T),m=new E(g,r+"leave",d,e,v),m.target=U,m.relatedTarget=y,g=null,Wa(v)===s&&(E=new E(h,r+"enter",T,e,v),E.target=y,E.relatedTarget=U,g=E),U=g,d&&T)t:{for(E=vg,h=d,r=T,y=0,g=h;g;g=E(g))y++;g=0;for(var N=r;N;N=E(N))g++;for(;0<y-g;)h=E(h),y--;for(;0<g-y;)r=E(r),g--;for(;y--;){if(h===r||r!==null&&h===r.alternate){E=h;break t}h=E(h),r=E(r)}E=null}else E=null;d!==null&&Th(p,m,d,E,!1),T!==null&&U!==null&&Th(p,U,T,E,!0)}}l:{if(m=s?cu(s):window,d=m.nodeName&&m.nodeName.toLowerCase(),d==="select"||d==="input"&&m.type==="file")var _=H0;else if(k0(m))if(pm)_=Op;else{_=_p;var A=Mp}else d=m.nodeName,!d||d.toLowerCase()!=="input"||m.type!=="checkbox"&&m.type!=="radio"?s&&Ss(s.elementType)&&(_=H0):_=Dp;if(_&&(_=_(l,s))){vm(p,_,e,v);break l}A&&A(l,m,s),l==="focusout"&&s&&m.type==="number"&&s.memoizedProps.value!=null&&Uo(m,"number",m.value)}switch(A=s?cu(s):window,l){case"focusin":(k0(A)||A.contentEditable==="true")&&(Ia=A,ko=s,du=null);break;case"focusout":du=ko=Ia=null;break;case"mousedown":Ho=!0;break;case"contextmenu":case"mouseup":case"dragend":Ho=!1,G0(p,e,v);break;case"selectionchange":if(Cp)break;case"keydown":case"keyup":G0(p,e,v)}var M;if(Es)l:{switch(l){case"compositionstart":var C="onCompositionStart";break l;case"compositionend":C="onCompositionEnd";break l;case"compositionupdate":C="onCompositionUpdate";break l}C=void 0}else $a?mm(l,e)&&(C="onCompositionEnd"):l==="keydown"&&e.keyCode===229&&(C="onCompositionStart");C&&(hm&&e.locale!=="ko"&&($a||C!=="onCompositionStart"?C==="onCompositionEnd"&&$a&&(M=dm()):(Ce=v,Ts="value"in Ce?Ce.value:Ce.textContent,$a=!0)),A=bc(s,C),0<A.length&&(C=new O0(C,l,null,e,v),p.push({event:C,listeners:A}),M?C.data=M:(M=ym(e),M!==null&&(C.data=M)))),(M=zp?Tp(l,e):Ap(l,e))&&(C=bc(s,"onBeforeInput"),0<C.length&&(A=new O0("onBeforeInput","beforeinput",null,e,v),p.push({event:A,listeners:C}),A.data=M)),mg(p,l,s,e,v)}rv(p,t)})}i(vo,"dispatchEventForPluginEventSystem");function ku(l,t,e){return{instance:l,listener:t,currentTarget:e}}i(ku,"createDispatchListener");function bc(l,t){for(var e=t+"Capture",a=[];l!==null;){var n=l,u=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||u===null||(n=Eu(l,e),n!=null&&a.unshift(ku(l,n,u)),n=Eu(l,t),n!=null&&a.push(ku(l,n,u))),l.tag===3)return a;l=l.return}return[]}i(bc,"accumulateTwoPhaseListeners");function vg(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}i(vg,"getParent");function Th(l,t,e,a,n){for(var u=t._reactName,c=[];e!==null&&e!==a;){var f=e,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=Eu(e,u),s!=null&&c.unshift(ku(e,s,o))):n||(s=Eu(e,u),s!=null&&c.push(ku(e,s,o)))),e=e.return}c.length!==0&&l.push({event:t,listeners:c})}i(Th,"accumulateEnterLeaveListenersForEvent");var pg=/\r\n?/g,gg=/\u0000|\uFFFD/g;function Ah(l){return(typeof l=="string"?l:""+l).replace(pg,`
9
+ `).replace(gg,"")}i(Ah,"normalizeMarkupForTextOrAttribute");function hv(l,t){return t=Ah(t),Ah(l)===t}i(hv,"checkForUnmatchedText");function I(l,t,e,a,n,u){switch(e){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||yn(l,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&yn(l,""+a);break;case"className":Ti(l,"class",a);break;case"tabIndex":Ti(l,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Ti(l,e,a);break;case"style":sm(l,a,u);break;case"data":if(t!=="object"){Ti(l,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||e!=="href")){l.removeAttribute(e);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(e);break}a=qi(""+a),l.setAttribute(e,a);break;case"action":case"formAction":if(typeof a=="function"){l.setAttribute(e,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(e==="formAction"?(t!=="input"&&I(l,t,"name",n.name,n,null),I(l,t,"formEncType",n.formEncType,n,null),I(l,t,"formMethod",n.formMethod,n,null),I(l,t,"formTarget",n.formTarget,n,null)):(I(l,t,"encType",n.encType,n,null),I(l,t,"method",n.method,n,null),I(l,t,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(e);break}a=qi(""+a),l.setAttribute(e,a);break;case"onClick":a!=null&&(l.onclick=ae);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(e=a.__html,e!=null){if(n.children!=null)throw Error(b(60));l.innerHTML=e}}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}e=qi(""+a),l.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",e);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(e,""+a):l.removeAttribute(e);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(e,""):l.removeAttribute(e);break;case"capture":case"download":a===!0?l.setAttribute(e,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(e,a):l.removeAttribute(e);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?l.setAttribute(e,a):l.removeAttribute(e);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?l.removeAttribute(e):l.setAttribute(e,a);break;case"popover":Y("beforetoggle",l),Y("toggle",l),Ri(l,"popover",a);break;case"xlinkActuate":Wt(l,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Wt(l,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Wt(l,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Wt(l,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Wt(l,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Wt(l,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Wt(l,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Wt(l,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Wt(l,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Ri(l,"is",a);break;case"innerText":case"textContent":break;default:(!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")&&(e=w1.get(e)||e,Ri(l,e,a))}}i(I,"setProp");function ns(l,t,e,a,n,u){switch(e){case"style":sm(l,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(b(61));if(e=a.__html,e!=null){if(n.children!=null)throw Error(b(60));l.innerHTML=e}}break;case"children":typeof a=="string"?yn(l,a):(typeof a=="number"||typeof a=="bigint")&&yn(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=ae);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!nm.hasOwnProperty(e))l:{if(e[0]==="o"&&e[1]==="n"&&(n=e.endsWith("Capture"),t=e.slice(2,n?e.length-7:void 0),u=l[Wl]||null,u=u!=null?u[e]:null,typeof u=="function"&&l.removeEventListener(t,u,n),typeof a=="function")){typeof u!="function"&&u!==null&&(e in l?l[e]=null:l.hasAttribute(e)&&l.removeAttribute(e)),l.addEventListener(t,a,n);break l}e in l?l[e]=a:a===!0?l.setAttribute(e,""):Ri(l,e,a)}}}i(ns,"setPropOnCustomElement");function Rl(l,t,e){switch(t){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 e)if(e.hasOwnProperty(u)){var c=e[u];if(c!=null)switch(u){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(b(137,t));default:I(l,t,u,c,e,null)}}n&&I(l,t,"srcSet",e.srcSet,e,null),a&&I(l,t,"src",e.src,e,null);return;case"input":Y("invalid",l);var f=u=c=n=null,o=null,s=null;for(a in e)if(e.hasOwnProperty(a)){var v=e[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,t));break;default:I(l,t,a,v,e,null)}}cm(l,u,f,o,s,c,n,!1);return;case"select":Y("invalid",l),a=c=u=null;for(n in e)if(e.hasOwnProperty(n)&&(f=e[n],f!=null))switch(n){case"value":u=f;break;case"defaultValue":c=f;break;case"multiple":a=f;default:I(l,t,n,f,e,null)}t=u,e=c,l.multiple=!!a,t!=null?cn(l,!!a,t,!1):e!=null&&cn(l,!!a,e,!0);return;case"textarea":Y("invalid",l),u=n=a=null;for(c in e)if(e.hasOwnProperty(c)&&(f=e[c],f!=null))switch(c){case"value":a=f;break;case"defaultValue":n=f;break;case"children":u=f;break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(b(91));break;default:I(l,t,c,f,e,null)}om(l,a,n,u);return;case"option":for(o in e)e.hasOwnProperty(o)&&(a=e[o],a!=null)&&(o==="selected"?l.selected=a&&typeof a!="function"&&typeof a!="symbol":I(l,t,o,a,e,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<Bu.length;a++)Y(Bu[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 e)if(e.hasOwnProperty(s)&&(a=e[s],a!=null))switch(s){case"children":case"dangerouslySetInnerHTML":throw Error(b(137,t));default:I(l,t,s,a,e,null)}return;default:if(Ss(t)){for(v in e)e.hasOwnProperty(v)&&(a=e[v],a!==void 0&&ns(l,t,v,a,e,void 0));return}}for(f in e)e.hasOwnProperty(f)&&(a=e[f],a!=null&&I(l,t,f,a,e,null))}i(Rl,"setInitialProperties");function bg(l,t,e,a){switch(t){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(d in e){var p=e[d];if(e.hasOwnProperty(d)&&p!=null)switch(d){case"checked":break;case"value":break;case"defaultValue":o=p;default:a.hasOwnProperty(d)||I(l,t,d,null,a,p)}}for(var m in a){var d=a[m];if(p=e[m],a.hasOwnProperty(m)&&(d!=null||p!=null))switch(m){case"type":u=d;break;case"name":n=d;break;case"checked":s=d;break;case"defaultChecked":v=d;break;case"value":c=d;break;case"defaultValue":f=d;break;case"children":case"dangerouslySetInnerHTML":if(d!=null)throw Error(b(137,t));break;default:d!==p&&I(l,t,m,d,a,p)}}Oo(l,c,f,o,s,v,u,n);return;case"select":d=c=f=m=null;for(u in e)if(o=e[u],e.hasOwnProperty(u)&&o!=null)switch(u){case"value":break;case"multiple":d=o;default:a.hasOwnProperty(u)||I(l,t,u,null,a,o)}for(n in a)if(u=a[n],o=e[n],a.hasOwnProperty(n)&&(u!=null||o!=null))switch(n){case"value":m=u;break;case"defaultValue":f=u;break;case"multiple":c=u;default:u!==o&&I(l,t,n,u,a,o)}t=f,e=c,a=d,m!=null?cn(l,!!e,m,!1):!!a!=!!e&&(t!=null?cn(l,!!e,t,!0):cn(l,!!e,e?[]:"",!1));return;case"textarea":d=m=null;for(f in e)if(n=e[f],e.hasOwnProperty(f)&&n!=null&&!a.hasOwnProperty(f))switch(f){case"value":break;case"children":break;default:I(l,t,f,null,a,n)}for(c in a)if(n=a[c],u=e[c],a.hasOwnProperty(c)&&(n!=null||u!=null))switch(c){case"value":m=n;break;case"defaultValue":d=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(b(91));break;default:n!==u&&I(l,t,c,n,a,u)}fm(l,m,d);return;case"option":for(var T in e)m=e[T],e.hasOwnProperty(T)&&m!=null&&!a.hasOwnProperty(T)&&(T==="selected"?l.selected=!1:I(l,t,T,null,a,m));for(o in a)m=a[o],d=e[o],a.hasOwnProperty(o)&&m!==d&&(m!=null||d!=null)&&(o==="selected"?l.selected=m&&typeof m!="function"&&typeof m!="symbol":I(l,t,o,m,a,d));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 e)m=e[E],e.hasOwnProperty(E)&&m!=null&&!a.hasOwnProperty(E)&&I(l,t,E,null,a,m);for(s in a)if(m=a[s],d=e[s],a.hasOwnProperty(s)&&m!==d&&(m!=null||d!=null))switch(s){case"children":case"dangerouslySetInnerHTML":if(m!=null)throw Error(b(137,t));break;default:I(l,t,s,m,a,d)}return;default:if(Ss(t)){for(var U in e)m=e[U],e.hasOwnProperty(U)&&m!==void 0&&!a.hasOwnProperty(U)&&ns(l,t,U,void 0,a,m);for(v in a)m=a[v],d=e[v],!a.hasOwnProperty(v)||m===d||m===void 0&&d===void 0||ns(l,t,v,m,a,d);return}}for(var h in e)m=e[h],e.hasOwnProperty(h)&&m!=null&&!a.hasOwnProperty(h)&&I(l,t,h,null,a,m);for(p in a)m=a[p],d=e[p],!a.hasOwnProperty(p)||m===d||m==null&&d==null||I(l,t,p,m,a,d)}i(bg,"updateProperties");function Eh(l){switch(l){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}i(Eh,"isLikelyStaticResource");function Sg(){if(typeof performance.getEntriesByType=="function"){for(var l=0,t=0,e=performance.getEntriesByType("resource"),a=0;a<e.length;a++){var n=e[a],u=n.transferSize,c=n.initiatorType,f=n.duration;if(u&&f&&Eh(c)){for(c=0,f=n.responseEnd,a+=1;a<e.length;a++){var o=e[a],s=o.startTime;if(s>f)break;var v=o.transferSize,p=o.initiatorType;v&&Eh(p)&&(o=o.responseEnd,c+=v*(o<f?1:(f-s)/(o-s)))}if(--a,t+=8*(u+c)/(n.duration/1e3),l++,10<l)break}}if(0<l)return t/l/1e6}return navigator.connection&&(l=navigator.connection.downlink,typeof l=="number")?l:5}i(Sg,"estimateBandwidth");var us=null,is=null;function Sc(l){return l.nodeType===9?l:l.ownerDocument}i(Sc,"getOwnerDocumentFromRootContainer");function Nh(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(Nh,"getOwnHostContext");function mv(l,t){if(l===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return l===1&&t==="foreignObject"?0:l}i(mv,"getChildHostContextProd");function cs(l,t){return l==="textarea"||l==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}i(cs,"shouldSetTextContent");var po=null;function zg(){var l=window.event;return l&&l.type==="popstate"?l===po?!1:(po=l,!0):(po=null,!1)}i(zg,"shouldAttemptEagerTransition");var yv=typeof setTimeout=="function"?setTimeout:void 0,Tg=typeof clearTimeout=="function"?clearTimeout:void 0,Mh=typeof Promise=="function"?Promise:void 0,Ag=typeof queueMicrotask=="function"?queueMicrotask:typeof Mh<"u"?function(l){return Mh.resolve(null).then(l).catch(Eg)}:yv;function Eg(l){setTimeout(function(){throw l})}i(Eg,"handleErrorInNextTick");function We(l){return l==="head"}i(We,"isSingletonScope");function _h(l,t){var e=t,a=0;do{var n=e.nextSibling;if(l.removeChild(e),n&&n.nodeType===8)if(e=n.data,e==="/$"||e==="/&"){if(a===0){l.removeChild(n),An(t);return}a--}else if(e==="$"||e==="$?"||e==="$~"||e==="$!"||e==="&")a++;else if(e==="html")Tu(l.ownerDocument.documentElement);else if(e==="head"){e=l.ownerDocument.head,Tu(e);for(var u=e.firstChild;u;){var c=u.nextSibling,f=u.nodeName;u[Lu]||f==="SCRIPT"||f==="STYLE"||f==="LINK"&&u.rel.toLowerCase()==="stylesheet"||e.removeChild(u),u=c}}else e==="body"&&Tu(l.ownerDocument.body);e=n}while(e);An(t)}i(_h,"clearHydrationBoundary");function Dh(l,t){var e=l;l=0;do{var a=e.nextSibling;if(e.nodeType===1?t?(e._stashedDisplay=e.style.display,e.style.display="none"):(e.style.display=e._stashedDisplay||"",e.getAttribute("style")===""&&e.removeAttribute("style")):e.nodeType===3&&(t?(e._stashedText=e.nodeValue,e.nodeValue=""):e.nodeValue=e._stashedText||""),a&&a.nodeType===8)if(e=a.data,e==="/$"){if(l===0)break;l--}else e!=="$"&&e!=="$?"&&e!=="$~"&&e!=="$!"||l++;e=a}while(e)}i(Dh,"hideOrUnhideDehydratedBoundary");function fs(l){var t=l.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var e=t;switch(t=t.nextSibling,e.nodeName){case"HTML":case"HEAD":case"BODY":fs(e),bs(e);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(e.rel.toLowerCase()==="stylesheet")continue}l.removeChild(e)}}i(fs,"clearContainerSparingly");function Ng(l,t,e,a){for(;l.nodeType===1;){var n=e;if(l.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(l.nodeName!=="INPUT"||l.type!=="hidden"))break}else if(a){if(!l[Lu])switch(t){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(t==="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=Tt(l.nextSibling),l===null)break}return null}i(Ng,"canHydrateInstance");function Mg(l,t,e){if(t==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!e||(l=Tt(l.nextSibling),l===null))return null;return l}i(Mg,"canHydrateTextInstance");function vv(l,t){for(;l.nodeType!==8;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!t||(l=Tt(l.nextSibling),l===null))return null;return l}i(vv,"canHydrateHydrationBoundary");function os(l){return l.data==="$?"||l.data==="$~"}i(os,"isSuspenseInstancePending");function ss(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState!=="loading"}i(ss,"isSuspenseInstanceFallback");function _g(l,t){var e=l.ownerDocument;if(l.data==="$~")l._reactRetry=t;else if(l.data!=="$?"||e.readyState!=="loading")t();else{var a=i(function(){t(),e.removeEventListener("DOMContentLoaded",a)},"listener");e.addEventListener("DOMContentLoaded",a),l._reactRetry=a}}i(_g,"registerSuspenseInstanceRetry");function Tt(l){for(;l!=null;l=l.nextSibling){var t=l.nodeType;if(t===1||t===3)break;if(t===8){if(t=l.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return l}i(Tt,"getNextHydratable");var rs=null;function Oh(l){l=l.nextSibling;for(var t=0;l;){if(l.nodeType===8){var e=l.data;if(e==="/$"||e==="/&"){if(t===0)return Tt(l.nextSibling);t--}else e!=="$"&&e!=="$!"&&e!=="$?"&&e!=="$~"&&e!=="&"||t++}l=l.nextSibling}return null}i(Oh,"getNextHydratableInstanceAfterHydrationBoundary");function Uh(l){l=l.previousSibling;for(var t=0;l;){if(l.nodeType===8){var e=l.data;if(e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"){if(t===0)return l;t--}else e!=="/$"&&e!=="/&"||t++}l=l.previousSibling}return null}i(Uh,"getParentHydrationBoundary");function pv(l,t,e){switch(t=Sc(e),l){case"html":if(l=t.documentElement,!l)throw Error(b(452));return l;case"head":if(l=t.head,!l)throw Error(b(453));return l;case"body":if(l=t.body,!l)throw Error(b(454));return l;default:throw Error(b(451))}}i(pv,"resolveSingletonInstance");function Tu(l){for(var t=l.attributes;t.length;)l.removeAttributeNode(t[0]);bs(l)}i(Tu,"releaseSingletonInstance");var At=new Map,Ch=new Set;function zc(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}i(zc,"getHoistableRoot");var he=K.d;K.d={f:Dg,r:Og,D:Ug,C:Cg,L:Bg,m:kg,X:xg,S:Hg,M:Rg};function Dg(){var l=he.f(),t=Gc();return l||t}i(Dg,"flushSyncWork");function Og(l){var t=Nn(l);t!==null&&t.tag===5&&t.type==="form"?sy(t):he.r(l)}i(Og,"requestFormReset");var On=typeof document>"u"?null:document;function gv(l,t,e){var a=On;if(a&&typeof t=="string"&&t){var n=gt(t);n='link[rel="'+l+'"][href="'+n+'"]',typeof e=="string"&&(n+='[crossorigin="'+e+'"]'),Ch.has(n)||(Ch.add(n),l={rel:l,crossOrigin:e,href:t},a.querySelector(n)===null&&(t=a.createElement("link"),Rl(t,"link",l),Dl(t),a.head.appendChild(t)))}}i(gv,"preconnectAs");function Ug(l){he.D(l),gv("dns-prefetch",l,null)}i(Ug,"prefetchDNS");function Cg(l,t){he.C(l,t),gv("preconnect",l,t)}i(Cg,"preconnect");function Bg(l,t,e){he.L(l,t,e);var a=On;if(a&&l&&t){var n='link[rel="preload"][as="'+gt(t)+'"]';t==="image"&&e&&e.imageSrcSet?(n+='[imagesrcset="'+gt(e.imageSrcSet)+'"]',typeof e.imageSizes=="string"&&(n+='[imagesizes="'+gt(e.imageSizes)+'"]')):n+='[href="'+gt(l)+'"]';var u=n;switch(t){case"style":u=Tn(l);break;case"script":u=Un(l)}At.has(u)||(l=il({rel:"preload",href:t==="image"&&e&&e.imageSrcSet?void 0:l,as:t},e),At.set(u,l),a.querySelector(n)!==null||t==="style"&&a.querySelector(Ju(u))||t==="script"&&a.querySelector(wu(u))||(t=a.createElement("link"),Rl(t,"link",l),Dl(t),a.head.appendChild(t)))}}i(Bg,"preload");function kg(l,t){he.m(l,t);var e=On;if(e&&l){var a=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+gt(a)+'"][href="'+gt(l)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Un(l)}if(!At.has(u)&&(l=il({rel:"modulepreload",href:l},t),At.set(u,l),e.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(e.querySelector(wu(u)))return}a=e.createElement("link"),Rl(a,"link",l),Dl(a),e.head.appendChild(a)}}}i(kg,"preloadModule");function Hg(l,t,e){he.S(l,t,e);var a=On;if(a&&l){var n=un(a).hoistableStyles,u=Tn(l);t=t||"default";var c=n.get(u);if(!c){var f={loading:0,preload:null};if(c=a.querySelector(Ju(u)))f.loading=5;else{l=il({rel:"stylesheet",href:l,"data-precedence":t},e),(e=At.get(u))&&nr(l,e);var o=c=a.createElement("link");Dl(o),Rl(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,Ji(c,t,a)}c={type:"stylesheet",instance:c,count:1,state:f},n.set(u,c)}}}i(Hg,"preinitStyle");function xg(l,t){he.X(l,t);var e=On;if(e&&l){var a=un(e).hoistableScripts,n=Un(l),u=a.get(n);u||(u=e.querySelector(wu(n)),u||(l=il({src:l,async:!0},t),(t=At.get(n))&&ur(l,t),u=e.createElement("script"),Dl(u),Rl(u,"link",l),e.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}i(xg,"preinitScript");function Rg(l,t){he.M(l,t);var e=On;if(e&&l){var a=un(e).hoistableScripts,n=Un(l),u=a.get(n);u||(u=e.querySelector(wu(n)),u||(l=il({src:l,async:!0,type:"module"},t),(t=At.get(n))&&ur(l,t),u=e.createElement("script"),Dl(u),Rl(u,"link",l),e.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}i(Rg,"preinitModuleScript");function Bh(l,t,e,a){var n=(n=xe.current)?zc(n):null;if(!n)throw Error(b(446));switch(l){case"meta":case"title":return null;case"style":return typeof e.precedence=="string"&&typeof e.href=="string"?(t=Tn(e.href),e=un(n).hoistableStyles,a=e.get(t),a||(a={type:"style",instance:null,count:0,state:null},e.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(e.rel==="stylesheet"&&typeof e.href=="string"&&typeof e.precedence=="string"){l=Tn(e.href);var u=un(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(Ju(l)))&&!u._p&&(c.instance=u,c.state.loading=5),At.has(l)||(e={rel:"preload",as:"style",href:e.href,crossOrigin:e.crossOrigin,integrity:e.integrity,media:e.media,hrefLang:e.hrefLang,referrerPolicy:e.referrerPolicy},At.set(l,e),u||qg(n,l,e,c.state))),t&&a===null)throw Error(b(528,""));return c}if(t&&a!==null)throw Error(b(529,""));return null;case"script":return t=e.async,e=e.src,typeof e=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Un(e),e=un(n).hoistableScripts,a=e.get(t),a||(a={type:"script",instance:null,count:0,state:null},e.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(b(444,l))}}i(Bh,"getResource");function Tn(l){return'href="'+gt(l)+'"'}i(Tn,"getStyleKey");function Ju(l){return'link[rel="stylesheet"]['+l+"]"}i(Ju,"getStylesheetSelectorFromKey");function bv(l){return il({},l,{"data-precedence":l.precedence,precedence:null})}i(bv,"stylesheetPropsFromRawProps");function qg(l,t,e,a){l.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=l.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),Rl(t,"link",e),Dl(t),l.head.appendChild(t))}i(qg,"preloadStylesheet");function Un(l){return'[src="'+gt(l)+'"]'}i(Un,"getScriptKey");function wu(l){return"script[async]"+l}i(wu,"getScriptSelectorFromKey");function kh(l,t,e){if(t.count++,t.instance===null)switch(t.type){case"style":var a=l.querySelector('style[data-href~="'+gt(e.href)+'"]');if(a)return t.instance=a,Dl(a),a;var n=il({},e,{"data-href":e.href,"data-precedence":e.precedence,href:null,precedence:null});return a=(l.ownerDocument||l).createElement("style"),Dl(a),Rl(a,"style",n),Ji(a,e.precedence,l),t.instance=a;case"stylesheet":n=Tn(e.href);var u=l.querySelector(Ju(n));if(u)return t.state.loading|=4,t.instance=u,Dl(u),u;a=bv(e),(n=At.get(n))&&nr(a,n),u=(l.ownerDocument||l).createElement("link"),Dl(u);var c=u;return c._p=new Promise(function(f,o){c.onload=f,c.onerror=o}),Rl(u,"link",a),t.state.loading|=4,Ji(u,e.precedence,l),t.instance=u;case"script":return u=Un(e.src),(n=l.querySelector(wu(u)))?(t.instance=n,Dl(n),n):(a=e,(n=At.get(u))&&(a=il({},e),ur(a,n)),l=l.ownerDocument||l,n=l.createElement("script"),Dl(n),Rl(n,"link",a),l.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(b(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Ji(a,e.precedence,l));return t.instance}i(kh,"acquireResource");function Ji(l,t,e){for(var a=e.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,u=n,c=0;c<a.length;c++){var f=a[c];if(f.dataset.precedence===t)u=f;else if(u!==n)break}u?u.parentNode.insertBefore(l,u.nextSibling):(t=e.nodeType===9?e.head:e,t.insertBefore(l,t.firstChild))}i(Ji,"insertStylesheet");function nr(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.title==null&&(l.title=t.title)}i(nr,"adoptPreloadPropsForStylesheet");function ur(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.integrity==null&&(l.integrity=t.integrity)}i(ur,"adoptPreloadPropsForScript");var wi=null;function Hh(l,t,e){if(wi===null){var a=new Map,n=wi=new Map;n.set(e,a)}else n=wi,a=n.get(e),a||(a=new Map,n.set(e,a));if(a.has(l))return a;for(a.set(l,null),e=e.getElementsByTagName(l),n=0;n<e.length;n++){var u=e[n];if(!(u[Lu]||u[kl]||l==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var c=u.getAttribute(t)||"";c=l+c;var f=a.get(c);f?f.push(u):a.set(c,[u])}}return a}i(Hh,"getHydratableHoistableCache");function xh(l,t,e){l=l.ownerDocument||l,l.head.insertBefore(e,t==="title"?l.querySelector("head > title"):null)}i(xh,"mountHoistable");function Gg(l,t,e){if(e===1||t.itemProp!=null)return!1;switch(l){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;return t.rel==="stylesheet"?(l=t.disabled,typeof t.precedence=="string"&&l==null):!0;case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}i(Gg,"isHostHoistableType");function Sv(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}i(Sv,"preloadResource");function Yg(l,t,e,a){if(e.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var n=Tn(a.href),u=t.querySelector(Ju(n));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(l.count++,l=Tc.bind(l),t.then(l,l)),e.state.loading|=4,e.instance=u,Dl(u);return}u=t.ownerDocument||t,a=bv(a),(n=At.get(n))&&nr(a,n),u=u.createElement("link"),Dl(u);var c=u;c._p=new Promise(function(f,o){c.onload=f,c.onerror=o}),Rl(u,"link",a),e.instance=u}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(e,t),(t=e.state.preload)&&(e.state.loading&3)===0&&(l.count++,e=Tc.bind(l),t.addEventListener("load",e),t.addEventListener("error",e))}}i(Yg,"suspendResource");var go=0;function Vg(l,t){return l.stylesheets&&l.count===0&&Wi(l,l.stylesheets),0<l.count||0<l.imgCount?function(e){var a=setTimeout(function(){if(l.stylesheets&&Wi(l,l.stylesheets),l.unsuspend){var u=l.unsuspend;l.unsuspend=null,u()}},6e4+t);0<l.imgBytes&&go===0&&(go=62500*Sg());var n=setTimeout(function(){if(l.waitingForImages=!1,l.count===0&&(l.stylesheets&&Wi(l,l.stylesheets),l.unsuspend)){var u=l.unsuspend;l.unsuspend=null,u()}},(l.imgBytes>go?50:800)+t);return l.unsuspend=e,function(){l.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}i(Vg,"waitForCommitToBeReady");function Tc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Wi(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}i(Tc,"onUnsuspend");var Ac=null;function Wi(l,t){l.stylesheets=null,l.unsuspend!==null&&(l.count++,Ac=new Map,t.forEach(Lg,l),Ac=null,Tc.call(l))}i(Wi,"insertSuspendedStylesheets");function Lg(l,t){if(!(t.state.loading&4)){var e=Ac.get(l);if(e)var a=e.get(null);else{e=new Map,Ac.set(l,e);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")&&(e.set(c.dataset.precedence,c),a=c)}a&&e.set(null,a)}n=t.instance,c=n.getAttribute("data-precedence"),u=e.get(c)||a,u===a&&e.set(null,n),e.set(c,n),this.count++,a=Tc.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)),t.state.loading|=4}}i(Lg,"insertStylesheetIntoRoot");var Hu={$$typeof:ee,Provider:null,Consumer:null,_currentValue:da,_currentValue2:da,_threadCount:0};function Qg(l,t,e,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=Xf(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Xf(0),this.hiddenUpdates=Xf(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(Qg,"FiberRootNode");function zv(l,t,e,a,n,u,c,f,o,s,v,p){return l=new Qg(l,t,e,c,o,s,v,p,f),t=1,u===!0&&(t|=24),u=lt(3,null,null,t),l.current=u,u.stateNode=l,t=Cs(),t.refCount++,l.pooledCache=t,t.refCount++,u.memoizedState={element:a,isDehydrated:e,cache:t},Hs(u),l}i(zv,"createFiberRoot");function Tv(l){return l?(l=tn,l):tn}i(Tv,"getContextForSubtree");function Av(l,t,e,a,n,u){n=Tv(n),a.context===null?a.context=n:a.pendingContext=n,a=qe(t),a.payload={element:e},u=u===void 0?null:u,u!==null&&(a.callback=u),e=Ge(l,a,t),e!==null&&(wl(e,l,t),mu(e,l,t))}i(Av,"updateContainerImpl");function Rh(l,t){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var e=l.retryLane;l.retryLane=e!==0&&e<t?e:t}}i(Rh,"markRetryLaneImpl");function ir(l,t){Rh(l,t),(l=l.alternate)&&Rh(l,t)}i(ir,"markRetryLaneIfNotHydrated");function Ev(l){if(l.tag===13||l.tag===31){var t=Na(l,67108864);t!==null&&wl(t,l,67108864),ir(l,67108864)}}i(Ev,"attemptContinuousHydration");function qh(l){if(l.tag===13||l.tag===31){var t=ut();t=ps(t);var e=Na(l,t);e!==null&&wl(e,l,t),ir(l,t)}}i(qh,"attemptHydrationAtCurrentPriority");var Ec=!0;function Xg(l,t,e,a){var n=k.T;k.T=null;var u=K.p;try{K.p=2,cr(l,t,e,a)}finally{K.p=u,k.T=n}}i(Xg,"dispatchDiscreteEvent");function Zg(l,t,e,a){var n=k.T;k.T=null;var u=K.p;try{K.p=8,cr(l,t,e,a)}finally{K.p=u,k.T=n}}i(Zg,"dispatchContinuousEvent");function cr(l,t,e,a){if(Ec){var n=ds(a);if(n===null)vo(l,t,a,Nc,e),Gh(l,a);else if(Kg(n,l,t,e,a))a.stopPropagation();else if(Gh(l,a),t&4&&-1<jg.indexOf(l)){for(;n!==null;){var u=Nn(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var c=oa(u.pendingLanes);if(c!==0){var f=u;for(f.pendingLanes|=2,f.entangledLanes|=2;c;){var o=1<<31-nt(c);f.entanglements[1]|=o,c&=~o}Vt(u),(j&6)===0&&(mc=et()+500,Ku(0,!1))}}break;case 31:case 13:f=Na(u,2),f!==null&&wl(f,u,2),Gc(),ir(u,2)}if(u=ds(a),u===null&&vo(l,t,a,Nc,e),u===n)break;n=u}n!==null&&a.stopPropagation()}else vo(l,t,a,null,e)}}i(cr,"dispatchEvent");function ds(l){return l=zs(l),fr(l)}i(ds,"findInstanceBlockingEvent");var Nc=null;function fr(l){if(Nc=null,l=Wa(l),l!==null){var t=qu(l);if(t===null)l=null;else{var e=t.tag;if(e===13){if(l=Zh(t),l!==null)return l;l=null}else if(e===31){if(l=jh(t),l!==null)return l;l=null}else if(e===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;l=null}else t!==l&&(l=null)}}return Nc=l,null}i(fr,"findInstanceBlockingTarget");function Nv(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(B1()){case Wh:return 2;case Fh:return 8;case lc:case k1:return 32;case $h:return 268435456;default:return 32}default:return 32}}i(Nv,"getEventPriority");var hs=!1,Le=null,Qe=null,Xe=null,xu=new Map,Ru=new Map,Oe=[],jg="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 Gh(l,t){switch(l){case"focusin":case"focusout":Le=null;break;case"dragenter":case"dragleave":Qe=null;break;case"mouseover":case"mouseout":Xe=null;break;case"pointerover":case"pointerout":xu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ru.delete(t.pointerId)}}i(Gh,"clearIfContinuousEvent");function au(l,t,e,a,n,u){return l===null||l.nativeEvent!==u?(l={blockedOn:t,domEventName:e,eventSystemFlags:a,nativeEvent:u,targetContainers:[n]},t!==null&&(t=Nn(t),t!==null&&Ev(t)),l):(l.eventSystemFlags|=a,t=l.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),l)}i(au,"accumulateOrCreateContinuousQueuedReplayableEvent");function Kg(l,t,e,a,n){switch(t){case"focusin":return Le=au(Le,l,t,e,a,n),!0;case"dragenter":return Qe=au(Qe,l,t,e,a,n),!0;case"mouseover":return Xe=au(Xe,l,t,e,a,n),!0;case"pointerover":var u=n.pointerId;return xu.set(u,au(xu.get(u)||null,l,t,e,a,n)),!0;case"gotpointercapture":return u=n.pointerId,Ru.set(u,au(Ru.get(u)||null,l,t,e,a,n)),!0}return!1}i(Kg,"queueIfContinuousEvent");function Mv(l){var t=Wa(l.target);if(t!==null){var e=qu(t);if(e!==null){if(t=e.tag,t===13){if(t=Zh(e),t!==null){l.blockedOn=t,z0(l.priority,function(){qh(e)});return}}else if(t===31){if(t=jh(e),t!==null){l.blockedOn=t,z0(l.priority,function(){qh(e)});return}}else if(t===3&&e.stateNode.current.memoizedState.isDehydrated){l.blockedOn=e.tag===3?e.stateNode.containerInfo:null;return}}}l.blockedOn=null}i(Mv,"attemptExplicitHydrationTarget");function Fi(l){if(l.blockedOn!==null)return!1;for(var t=l.targetContainers;0<t.length;){var e=ds(l.nativeEvent);if(e===null){e=l.nativeEvent;var a=new e.constructor(e.type,e);Co=a,e.target.dispatchEvent(a),Co=null}else return t=Nn(e),t!==null&&Ev(t),l.blockedOn=e,!1;t.shift()}return!0}i(Fi,"attemptReplayContinuousQueuedEvent");function Yh(l,t,e){Fi(l)&&e.delete(t)}i(Yh,"attemptReplayContinuousQueuedEventInMap");function Jg(){hs=!1,Le!==null&&Fi(Le)&&(Le=null),Qe!==null&&Fi(Qe)&&(Qe=null),Xe!==null&&Fi(Xe)&&(Xe=null),xu.forEach(Yh),Ru.forEach(Yh)}i(Jg,"replayUnblockedEvents");function Hi(l,t){l.blockedOn===t&&(l.blockedOn=null,hs||(hs=!0,Nl.unstable_scheduleCallback(Nl.unstable_NormalPriority,Jg)))}i(Hi,"scheduleCallbackIfUnblocked");var xi=null;function Vh(l){xi!==l&&(xi=l,Nl.unstable_scheduleCallback(Nl.unstable_NormalPriority,function(){xi===l&&(xi=null);for(var t=0;t<l.length;t+=3){var e=l[t],a=l[t+1],n=l[t+2];if(typeof a!="function"){if(fr(a||e)===null)continue;break}var u=Nn(e);u!==null&&(l.splice(t,3),t-=3,Jo(u,{pending:!0,data:n,method:e.method,action:a},a,n))}}))}i(Vh,"scheduleReplayQueueIfNeeded");function An(l){function t(o){return Hi(o,l)}i(t,"unblock"),Le!==null&&Hi(Le,l),Qe!==null&&Hi(Qe,l),Xe!==null&&Hi(Xe,l),xu.forEach(t),Ru.forEach(t);for(var e=0;e<Oe.length;e++){var a=Oe[e];a.blockedOn===l&&(a.blockedOn=null)}for(;0<Oe.length&&(e=Oe[0],e.blockedOn===null);)Mv(e),e.blockedOn===null&&Oe.shift();if(e=(l.ownerDocument||l).$$reactFormReplay,e!=null)for(a=0;a<e.length;a+=3){var n=e[a],u=e[a+1],c=n[Wl]||null;if(typeof u=="function")c||Vh(e);else if(c){var f=null;if(u&&u.hasAttribute("formAction")){if(n=u,c=u[Wl]||null)f=c.formAction;else if(fr(n)!==null)continue}else f=c.action;typeof f=="function"?e[a+1]=f:(e.splice(a,3),a-=3),Vh(e)}}}i(An,"retryIfBlockedOn");function _v(){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 t(){n!==null&&(n(),n=null),a||setTimeout(e,20)}i(t,"handleNavigateComplete");function e(){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(e,"startFakeNavigation"),typeof navigation=="object"){var a=!1,n=null;return navigation.addEventListener("navigate",l),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(e,100),function(){a=!0,navigation.removeEventListener("navigate",l),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),n!==null&&(n(),n=null)}}}i(_v,"defaultOnDefaultTransitionIndicator");function or(l){this._internalRoot=l}i(or,"ReactDOMRoot");Lc.prototype.render=or.prototype.render=function(l){var t=this._internalRoot;if(t===null)throw Error(b(409));var e=t.current,a=ut();Av(e,a,l,t,null,null)};Lc.prototype.unmount=or.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var t=l.containerInfo;Av(l.current,2,null,l,null,null),Gc(),t[En]=null}};function Lc(l){this._internalRoot=l}i(Lc,"ReactDOMHydrationRoot");Lc.prototype.unstable_scheduleHydration=function(l){if(l){var t=em();l={blockedOn:null,target:l,priority:t};for(var e=0;e<Oe.length&&t!==0&&t<Oe[e].priority;e++);Oe.splice(e,0,l),e===0&&Mv(l)}};var Lh=Qh.version;if(Lh!=="19.2.0")throw Error(b(527,Lh,"19.2.0"));K.findDOMNode=function(l){var t=l._reactInternals;if(t===void 0)throw typeof l.render=="function"?Error(b(188)):(l=Object.keys(l).join(","),Error(b(268,l)));return l=N1(t),l=l!==null?Kh(l):null,l=l===null?null:l.stateNode,l};var wg={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:k,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(nu=__REACT_DEVTOOLS_GLOBAL_HOOK__,!nu.isDisabled&&nu.supportsFiber))try{Gu=nu.inject(wg),at=nu}catch{}var nu;Qc.createRoot=function(l,t){if(!Xh(l))throw Error(b(299));var e=!1,a="",n=gy,u=by,c=Sy;return t!=null&&(t.unstable_strictMode===!0&&(e=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(n=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=zv(l,1,!1,null,null,e,a,null,n,u,c,_v),l[En]=t.current,ar(l),new or(t)};Qc.hydrateRoot=function(l,t,e){if(!Xh(l))throw Error(b(299));var a=!1,n="",u=gy,c=by,f=Sy,o=null;return e!=null&&(e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(n=e.identifierPrefix),e.onUncaughtError!==void 0&&(u=e.onUncaughtError),e.onCaughtError!==void 0&&(c=e.onCaughtError),e.onRecoverableError!==void 0&&(f=e.onRecoverableError),e.formState!==void 0&&(o=e.formState)),t=zv(l,1,!0,t,e??null,a,n,o,u,c,f,_v),t.context=Tv(null),e=t.current,a=ut(),a=ps(a),n=qe(a),n.callback=null,Ge(e,n,a),e=a,t.current.lanes=e,Vu(t,e),Vt(t),l[En]=t.current,ar(l),new Lc(t)};Qc.version="19.2.0"});var Cv=Pu((Qb,Uv)=>{"use strict";function Ov(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ov)}catch(l){console.error(l)}}i(Ov,"checkDCE");Ov(),Uv.exports=Dv()});var sf="sekyro-verification",rf=[{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 back button. Both fire `sekyro-close`; take the person back to 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."}],lb=[{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."}],Wr=[{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.'}],tb=[{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 Wg}from"@sekyro/web";var df=Z(Xl(),1);var Cl={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 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'},Kn={colors:{...Cl.light},radius:Cl.radiusLg,fontFamily:Cl.font},Fr={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 Ir(l={}){let t={};for(let e of Object.keys(Fr))t[Fr[e]]=l.colors?.[e]??Kn.colors[e];return t["--sekyro-radius"]=l.radius??Kn.radius,t["--sekyro-font"]=l.fontFamily??Kn.fontFamily,t}i(Ir,"S");z(Ir,"themeToCssVars");var Qv=/^#[0-9a-f]{6}$/i,Xv=["brand","brandFg","bg","surface","fg","fgMuted"],Zv=["danger","success","warning"],$r=!1;function ni(l){let t=l?.colors;if(l===void 0||t===void 0||!Zv.some(c=>c in t))return l;!$r&&Rr()&&($r=!0,console.warn("[sekyro] theme.colors.danger/success/warning are ignored: status colours are standard (removed in 1.0)"));let{danger:e,success:a,warning:n,...u}=t;return{...l,colors:u}}i(ni,"p");z(ni,"stripDeprecatedStatusColors");var jv={none:"0px",sm:"6px",md:"10px",lg:"16px",full:"9999px"},Kv={system:"",inter:"Inter","ibm-plex-sans-arabic":'"IBM Plex Sans Arabic"',"noto-sans-arabic":'"Noto Sans Arabic"',roboto:"Roboto"};function ui(l){let t={};if(!l)return t;let e={},a=l.colors??{};for(let c of Xv){let f=a[c];f!==void 0&&Qv.test(f)&&(e[c]=f)}e.brand&&(e.ring=e.brand),Object.keys(e).length&&(t.colors=e);let n=jv[l.radius];n&&(t.radius=n);let u=Kv[l.fontFamily];return u!==void 0&&(t.fontFamily=u?`${u}, ${Kn.fontFamily}`:Kn.fontFamily),t}i(ui,"F");z(ui,"brandingToTheme");function ii(...l){let t={};for(let e of l)e?.colors&&(t.colors={...t.colors,...e.colors}),e?.radius&&(t.radius=e.radius),e?.fontFamily&&(t.fontFamily=e.fontFamily);return t}i(ii,"I");z(ii,"mergeThemes");function hf({theme:l,children:t,className:e}){return(0,df.jsx)(ci,{theme:ni(l),...e!==void 0?{className:e}:{},children:t})}i(hf,"C");z(hf,"SekyroThemeProvider");function ci({theme:l,children:t,className:e}){let a=Ir(l);return(0,df.jsx)("div",{className:e===void 0?"sekyro-root":`sekyro-root ${e}`,style:a,children:t})}i(ci,"R");z(ci,"SekyroThemeRoot");var Jn=Z(Ul(),1),sl=Z(Ul(),1),O=Z(Xl(),1),ze=Z(Ul(),1),jt=Z(Xl(),1),Te=Z(Ul(),1),Kt=Z(Xl(),1),Td=Z(Ul(),1),Ra=Z(Xl(),1),qa=Z(Ul(),1),ll=Z(Xl(),1),rt=Z(Ul(),1),dt=Z(Ul(),1),al=Z(Xl(),1),Mt=Z(Xl(),1),Ml=Z(Ul(),1),W=Z(Xl(),1),H=Z(Ul(),1),di=Z(Ul(),1),Se=Z(Ul(),1),kt=Z(Xl(),1),Jt=Z(Xl(),1),Hd=Z(Ul(),1),Ya=Z(Ul(),1),yl=Z(Xl(),1),S=Z(Xl(),1),wn=Z(Ul(),1),ia=Z(Xl(),1);import{normalizeNni as wv}from"@sekyro/web";import{isValidNni as a1,normalizeNni as nd}from"@sekyro/web";import{acceptedIssuers as c1,acceptedTypesFor as ud,warmDocumentCapture as f1}from"@sekyro/web";import{acceptedIssuers as o1,acceptedTypesFor as yf}from"@sekyro/web";import{warmPortraitCapture as h1}from"@sekyro/web";import{cameraUnavailableCauseOf as v1}from"@sekyro/web";function rd(l){let[t,e]=(0,Jn.useState)(()=>l?.currentStep?.()??null),[a,n]=(0,Jn.useState)(null);return(0,Jn.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&&e(f)});return l.run().then(f=>{u&&e(o=>o??f)},f=>{u&&n(f)}),()=>{u=!1,c()}},[l]),{step:t,error:a}}i(rd,"Nt");z(rd,"useVerificationStep");var Jv="AC247 AD376 AE971/0 AF93/0 AG1/1 AI1/1 AL355/0 AM374/0 AO244 AR54/0 AS1/1 AT43/0 AU61/0 AW297 AX358/0 AZ994/0 BA387/0 BB1/1 BD880/0 BE32/0 BF226 BG359/0 BH973 BI257 BJ229 BL590/0 BM1/1 BN673 BO591/0 BQ599 BR55/0 BS1/1 BT975 BW267 BY375/8 BZ501 CA1/1 CC61/0 CD243/0 CF236 CG242 CH41/0 CI225 CK682 CL56 CM237 CN86/0 CO57/0 CR506 CU53/0 CV238 CW599 CX61/0 CY357 CZ420 DE49/0 DJ253 DK45 DM1/1 DO1/1 DZ213/0 EC593/0 EE372 EG20/0 EH212/0 ER291/0 ES34 ET251/0 FI358/0 FJ679 FK500 FM691 FO298 FR33/0 GA241 GB44/0 GD1/1 GE995/0 GF594/0 GG44/0 GH233/0 GI350 GL299 GM220 GN224 GP590/0 GQ240 GR30 GT502 GU1/1 GW245 GY592 HK852 HN504 HR385/0 HT509 HU36/06 ID62/0 IE353/0 IL972/0 IM44/0 IN91/0 IO246 IQ964/0 IR98/0 IS354 IT39 JE44/0 JM1/1 JO962/0 JP81/0 KE254/0 KG996/0 KH855/0 KI686/0 KM269 KN1/1 KP850/0 KR82/0 KW965 KY1/1 KZ7/8 LA856/0 LB961/0 LC1/1 LI423/0 LK94/0 LR231/0 LS266 LT370/0 LU352 LV371 LY218/0 MA212/0 MC377/0 MD373/0 ME382/0 MF590/0 MG261/0 MH692/1 MK389/0 ML223 MM95/0 MN976/0 MO853 MP1/1 MQ596/0 MR222 MS1/1 MT356 MU230 MV960 MW265/0 MX52 MY60/0 MZ258 NA264/0 NC687 NE227 NF672 NG234/0 NI505 NL31/0 NO47 NP977/0 NR674 NU683 NZ64/0 OM968 PA507 PE51/0 PF689 PG675 PH63/0 PK92/0 PL48 PM508/0 PR1/1 PS970/0 PT351 PW680 PY595/0 QA974 RE262/0 RO40/0 RS381/0 RU7/8 RW250/0 SA966/0 SB677 SC248 SD249/0 SE46/0 SG65 SH290 SI386/0 SJ47 SK421/0 SL232/0 SM378 SN221 SO252/0 SR597 SS211/0 ST239 SV503 SX1/1 SY963/0 SZ268 TA290 TC1/1 TD235 TG228 TH66/0 TJ992 TK690 TL670 TM993/8 TN216 TO676 TR90/0 TT1/1 TV688 TW886/0 TZ255/0 UA380/0 UG256/0 US1/1 UY598/0 UZ998 VA39 VC1/1 VE58/0 VG1/1 VI1/1 VN84/0 VU678 WF681 WS685 XK383/0 YE967/0 YT262/0 ZA27/0 ZM260/0 ZW263/0",mf;function zf(l){return mf??(mf=new Map(Jv.split(" ").map(t=>{let[e,a]=t.slice(2).split("/");return[t.slice(0,2),[e,a]]}))),mf.get(l.toUpperCase())}i(zf,"Bn");z(zf,"entryOf");function dd(l){return zf(l)?.[0]}i(dd,"Fn");z(dd,"dialCodeOf");function hd(l){return zf(l)?.[1]}i(hd,"Vn");z(hd,"nationalPrefixOf");function si(l){let t=wv(l).replace(/\D/g,"");return/^\D*\+/.test(l)?`+${t}`:t.startsWith("00")?`+${t.slice(2)}`:t}i(si,"st");z(si,"digitsOf");var Pr=z((l,t)=>(t.trunk!==void 0&&l.startsWith(t.trunk)?l.slice(t.trunk.length):l).slice(0,Math.max(...t.lengths)),"fitDigits");function fi(l,t){let e="",a=0;for(let n of t?.formats?.find(u=>new RegExp(`^(?:${u.leading})`).test(l))?.groups??[])a<l.length&&(e+=(a>0?" ":"")+l.slice(a,a+n)),a+=n;return e+l.slice(a)}i(fi,"it");z(fi,"groupDigits");function md(l,t){let e=0;for(let a=t;a>0&&e<l.length;e+=1)l[e]!==" "&&(a-=1);return e}i(md,"Hn");z(md,"caretAfter");var yd=z((l,t)=>t.find(e=>l.startsWith(e.dial)),"countryOfNumber"),Wv=z((l,t)=>l.lengths.join(", ").replace(/, (\d+)$/,` ${t} $1`),"lengthsLabel"),ld=z((l,t,e)=>{if(l===void 0)return 0;let a=Date.parse(l)-t;return Number.isFinite(a)?Math.min(e,Math.max(0,Math.ceil(a/1e3))):0},"secondsUntil"),Fv=600,$v=30,Iv=z(l=>`${Math.floor(l/60)}:${String(l%60).padStart(2,"0")}`,"mmss"),Pv=["whatsapp","sms"],td=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 vf(l){let t=si(l).replace("+","");return/^\d{8,15}$/.test(t)?`+${t}`:null}i(vf,"Gn");z(vf,"normalizedPhone");var l1=z(l=>String.fromCodePoint(...Array.from(l,t=>127397+t.charCodeAt(0))),"flagOf");function vd(l){let t=[];for(let e of l.phoneCountries??["MR"]){let a=l.phoneRules?.find(u=>u.code===e),n=a?.dial??dd(e);n!==void 0&&!t.some(u=>u.code===e)&&t.push({code:e,dial:`+${n}`,...a!==void 0?{rule:a}:{}})}return t}i(vd,"Wo");z(vd,"phoneCountriesOf");function pd(l,t){if(t===null||!l.startsWith(t.dial))return vf(l);let e=l.slice(t.dial.length).replace(/\D/g,""),a=hd(t.code);return a!==void 0&&e.startsWith(a)&&(e=e.slice(a.length)),vf(t.dial+e)}i(pd,"zo");z(pd,"e164Of");var ed=z((l,t)=>(yd(l,t)??t[0])?.code??null,"countryFor");function gd(l){let t=null;try{t=new Intl.DisplayNames([l],{type:"region"})}catch{}return e=>`${t?.of(e.code)??e.code} (${e.dial})`}i(gd,"Yo");z(gd,"countryLabels");var ad="other";function bd({step:l,locale:t,strings:e,className:a,defaultPhone:n,onError:u}){let c=Vl(t,e),{t:f}=c,o=(0,sl.useMemo)(()=>vd(l),[l.phoneCountries,l.phoneRules]),s=n??o[0]?.dial??"",[v,p]=(0,sl.useState)(()=>ed(s,o)),m=o.map(B=>B.code).join(",");(0,sl.useEffect)(()=>{if(v===null||!o.some(B=>B.code===v)){let B=ed(s,o);p(B);let J=T.current,st=o.find(Nt=>Nt.code===B)?.dial;st!==void 0&&U(Nt=>J!==null&&Nt.startsWith(J.dial)?st+Nt.slice(J.dial.length):Nt.startsWith("+")?Nt:st)}},[m,s]);let d=o.find(B=>B.code===v)??null,T=(0,sl.useRef)(d);d!==null&&(T.current=d);let[E,U]=(0,sl.useState)(s),[h,r]=(0,sl.useState)(!1),[y,g]=(0,sl.useState)(!1),[N,_]=(0,sl.useState)(""),[A,M]=(0,sl.useState)(!1),[C,G]=(0,sl.useState)(null),[Ql,$e]=(0,sl.useState)(null),[ka,ft]=(0,sl.useState)(!1),[Ie,xn]=(0,sl.useState)(null),ve=(0,sl.useRef)(null),Pe=l.phase==="verify"&&!ka,Rn=l.phase==="verify",qn=wr(Rn),[Fu,$c]=Kr(l.reason==="otp_mismatch",l.attemptsRemaining,()=>_("")),Qt=(0,sl.useId)(),Gn=(0,sl.useRef)(null);(0,sl.useEffect)(()=>{let B=setTimeout(()=>Gn.current?.focus({preventScroll:!0}),350);return()=>clearTimeout(B)},[Pe]);let la=l.phase==="verify"?l.codeExpiresAt??"sent":null;(0,sl.useEffect)(()=>{la!==null&&(ft(!1),ve.current!==null&&!td.has(l.reason??"")&&xn(ve.current),ve.current=null)},[la]);let Yn=z(async B=>{M(!0),$e(null);try{await B()}catch(J){$e(jn(J,c.strings)),u?.(J)}finally{M(!1),G(null)}},"run"),ot=Pv.filter(B=>(l.channels??[]).includes(B)),Xt=l.phoneInternational===!0,pe=h||d===null,ml=pe||E.startsWith("+")&&!E.startsWith(d.dial),Et=ml?void 0:d.rule,$u=ml?E:E.replace(d.dial,"").replace(/\D/g,""),w=Et?Pr($u,Et):$u,ta=ml&&!pe&&!Xt&&l.phoneRules?.length&&!o.some(B=>B.dial.startsWith(E)),ea=ta?null:Et?Et.lengths.includes(w.length)?d.dial+w:null:pe&&!E.startsWith("+")?null:pd(E,h?null:d),ge=!l.needsPhone||ea!==null,aa=z((B,J=!1)=>{let st=l.needsPhone?J?Ie:{number:ea??E,shown:ml||d===null?ea??E:`${d.dial} ${fi(w,Et)}`}:null;ve.current=st,G(B??null),Yn(async()=>{try{await l.send({...st!==null?{phone:st.number}:{},...B!==void 0?{channel:B}:{}})}catch(Nt){throw ve.current=null,Nt}})},"send"),Ha=z(B=>{Yn(()=>l.verify(B))},"submitCode"),D=z(B=>{B.preventDefault(),Pe?Ha(N):ot.length<=1&&ge&&aa(ot[0])},"onSubmit"),cl=z(B=>{let J=B.target,st=B.nativeEvent.inputType,Nt=Math.max(0,J.value.lastIndexOf("+")),xa=si(J.value.slice(Nt)),Qn=yd(xa,o),Xn=si(J.value.slice(Nt,J.selectionStart)).length,Pc=xa,br=xa;if(g(!1),!Qn&&(pe||xa.startsWith("+")))Xt&&r(!0);else{let Zn=Qn??d,Zt=Qn?xa.slice(Qn.dial.length):xa;if(p(Zn.code),r(!1),Zt===w&&st?.startsWith("delete")&&(st.endsWith("Forward")||(Xn-=1),Zt=Zt.slice(0,Xn)+Zt.slice(Xn+1)),Zn.rule){let lf=Pr(Zt,Zn.rule),zr=Zt.length-lf.length;Xn-=zr,Zt=zr>0&&!Qn&&w.length===lf.length?w:lf}br=Zn.dial+Zt,Pc=fi(Zt,Zn.rule)}U(br),J.value=Pc;let Sr=md(Pc,Xn);J.setSelectionRange(Sr,Sr)},"onNumber"),$l=ta?f("otp.reason_otp_destination_not_allowed"):y&&Et?f("otp.phoneLengthError",{digits:Wv(Et,f("otp.or"))}):"",rr=o.length>1||Xt,be=`${Qt}-phone`,Ic=ld(l.codeExpiresAt,qn,Fv),Vn=ld(l.resendAvailableAt,qn,$v),Iu=Pe&&l.codeExpiresAt!==void 0&&Ic===0,dr=l.needsPhone&&!l.attemptsExhausted,hr=Rn&&(l.codeExpiresAt===void 0||Ic>0),mr=Pe&&dr?()=>ft(!0):ka&&hr?()=>ft(!1):null;af(mr===null?null:A?()=>{}:mr);let Ln=z(B=>f(B==="whatsapp"?"otp.channelWhatsapp":"otp.channelSms"),"label"),yr=z(B=>A&&C!==null&&C===B,"busyFor"),[Gv,Yv]=f("otp.sentTo",{channel:Ln(l.channel)}).split("{number}"),vr=l.context.simulation?.otpCode,Vv=l.reason==="otp_mismatch"?(0,O.jsxs)(ql,{tone:"danger",children:[(0,O.jsx)("span",{children:f("otp.reason_otp_mismatch")}),(0,O.jsx)("span",{children:cf(c,l.attemptsRemaining,l.attemptsExhausted)})]}):l.reason!==void 0&&td.has(l.reason)?(0,O.jsx)(ql,{tone:"warning",children:(0,O.jsx)("span",{children:f(`otp.reason_${l.reason}`)})}):l.reason==="tester_phone_mismatch"?(0,O.jsx)(ql,{tone:"warning",children:(0,O.jsx)("span",{children:f("reasons.tester_phone_mismatch")})}):null,pr=(0,O.jsxs)(O.Fragment,{children:[Vv,Ql!==null?(0,O.jsx)(ql,{tone:"danger",children:(0,O.jsx)("span",{children:f(Ql)})}):null]});if(Pe){let B=ot.length===0;return(0,O.jsxs)("form",{className:`sekyro-step sekyro-otp${a?` ${a}`:""}`,"aria-labelledby":Qt,onSubmit:D,noValidate:!0,children:[(0,O.jsx)(na,{id:Qt,title:f("otp.verifyTitle"),lead:vr!==void 0?(0,O.jsx)(Cr,{template:f("sandbox.otpHint"),code:vr}):(0,O.jsxs)(O.Fragment,{children:[Gv,(0,O.jsx)("bdi",{dir:"ltr",className:"sekyro-mono",children:Ie?.shown??l.sentToMasked}),Yv]})}),pr,(0,O.jsxs)("div",{className:"sekyro-field",children:[(0,O.jsx)("label",{className:"sekyro-label",htmlFor:`${Qt}-code`,children:f("otp.codeLabel")}),(0,O.jsx)(Jr,{id:`${Qt}-code`,value:N,invalid:Fu,onChange:i(J=>{J!==""&&$c(),_(J),J.length===6&&N.length!==6&&!A&&!l.attemptsExhausted&&Ha(J)},"onChange")}),(0,O.jsx)("span",{className:`sekyro-help sekyro-otp-expiry${Iu?" is-danger":""}`,"aria-hidden":!Iu||void 0,children:Iu?f("otp.expired"):f("otp.expiresIn",{time:Iv(Ic)})})]}),(0,O.jsx)("span",{className:"sekyro-visually-hidden",role:"status","aria-live":"polite",children:Iu?f("otp.expired"):""}),(0,O.jsxs)(ua,{children:[(0,O.jsx)(rl,{type:"submit",full:!0,disabled:A||N.length!==6||l.attemptsExhausted,"aria-busy":A||void 0,children:f("otp.verify")}),(0,O.jsxs)("div",{className:"sekyro-resend-row",children:[B?(0,O.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:A||Vn>0,onClick:i(()=>aa(void 0,!0),"onClick"),children:Vn>0?f("otp.resendIn",{seconds:Vn}):f("otp.resend")}):Vn>0?(0,O.jsx)("p",{className:"sekyro-resend is-waiting",children:f("otp.resendIn",{seconds:Vn})}):ot.map(J=>(0,O.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:A,onClick:i(()=>aa(J,!0),"onClick"),children:f("otp.resendBy",{channel:Ln(J)})},J)),dr?(0,O.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:A,onClick:i(()=>ft(!0),"onClick"),"data-testid":"sekyro-otp-change",children:f("otp.changeNumber")}):null]})]})]})}let gr=gd(c.locale);return(0,O.jsxs)("form",{className:`sekyro-step sekyro-otp${a?` ${a}`:""}`,"aria-labelledby":Qt,onSubmit:D,noValidate:!0,children:[(0,O.jsx)(na,{id:Qt,title:f("otp.sendTitle"),lead:f("otp.sendDescription")}),pr,l.needsPhone?(0,O.jsxs)("div",{className:"sekyro-field",children:[(0,O.jsx)("label",{className:"sekyro-label",htmlFor:be,children:f("otp.phoneLabel")}),(0,O.jsxs)("div",{className:"sekyro-phone",dir:"ltr",children:[d===null||ml&&!h?null:(0,O.jsxs)("div",{className:"sekyro-phone__lead",children:[rr?(0,O.jsxs)("select",{className:"sekyro-phone__country",dir:c.locale==="ar"?"rtl":"ltr","aria-label":`${f("otp.countryLabel")}: ${h?f("otp.otherCountry"):gr(d)}`,value:h?ad:d.code,onChange:i(B=>{g(!1);let J=o.find(st=>st.code===B.target.value);r(J===void 0),J!==void 0&&p(J.code),U(J===void 0?"":J.dial+(ml?"":w))},"onChange"),children:[o.map(B=>(0,O.jsx)("option",{value:B.code,children:gr(B)},B.code)),Xt?(0,O.jsx)("option",{value:ad,children:f("otp.otherCountry")}):null]}):null,(0,O.jsxs)("span",{className:"sekyro-phone__dial",id:`${be}-dial`,"aria-hidden":rr||void 0,children:[(0,O.jsx)("span",{className:"sekyro-phone__flag","aria-hidden":"true",children:h?"🌐":l1(d.code)}),h?null:d.dial]})]}),(0,O.jsx)("input",{ref:Gn,id:be,className:"sekyro-phone__input",type:"tel",dir:"ltr",inputMode:"tel",autoComplete:"tel","aria-describedby":`${ml?"":`${be}-dial ${be}-hint `}${$l?`${be}-error`:""}`.trim()||void 0,"aria-invalid":!!$l||void 0,placeholder:pe?"+":void 0,value:ml?E:fi(w,Et),onChange:cl,onKeyDown:i(B=>{B.key==="Enter"&&!ge&&g(!0)},"onKeyDown"),onBlur:i(B=>{B.relatedTarget?.tagName!=="SELECT"&&g(w!==""&&ea===null)},"onBlur")})]}),ml?null:(0,O.jsx)("span",{className:"sekyro-help",id:`${be}-hint`,children:f("otp.phonePlaceholderGeneric")}),$l?(0,O.jsx)("span",{className:"sekyro-help is-danger",id:`${be}-error`,role:"alert",children:$l}):null]}):(0,O.jsx)("p",{className:"sekyro-text-muted",children:f("otp.prefilledNotice")}),(0,O.jsxs)(ua,{children:[ot.length===1?(0,O.jsx)(rl,{type:"submit",full:!0,disabled:A||!ge,"aria-busy":yr(ot[0])||void 0,children:f("otp.sendBy",{channel:Ln(ot[0])})}):ot.length>1?(0,O.jsxs)("div",{className:"sekyro-actions__group",role:"group","aria-label":f("otp.chooseChannel"),children:[(0,O.jsx)("p",{className:"sekyro-label","aria-hidden":"true",children:f("otp.chooseChannel")}),(0,O.jsx)("div",{className:"sekyro-channel-row",children:ot.map(B=>(0,O.jsxs)(rl,{kind:"primary",disabled:A||!ge,"aria-busy":yr(B)||void 0,onClick:i(()=>aa(B),"onClick"),children:[(0,O.jsx)(Bt,{name:B}),Ln(B)]},B))})]}):(0,O.jsx)(rl,{type:"submit",full:!0,disabled:A||!ge,"aria-busy":A||void 0,children:f("otp.send")}),(0,O.jsx)("span",{className:"sekyro-visually-hidden",role:"status","aria-live":"polite",children:A&&C!==null?f("otp.sending",{channel:Ln(C)}):""}),ka&&hr?(0,O.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:A,onClick:i(()=>ft(!1),"onClick"),"data-testid":"sekyro-otp-back-to-code",children:f("otp.backToCode")}):null]})]})}i(bd,"Et");z(bd,"PhoneOtpStep");var t1={load:z(()=>import("./email-otp-view-WUQ5OGDD-NGI6PBX3.js"),"load")};function Sd({locale:l,strings:t,...e}){let a=Vl(l,t),[n,u]=(0,ze.useState)(0),c=(0,ze.useMemo)(()=>(0,ze.lazy)(()=>t1.load().then(o=>({default:o.EmailOtpView}))),[n]),f=(0,jt.jsxs)(ql,{tone:"danger",children:[(0,jt.jsx)("span",{children:a.t("errors.network_error")}),(0,jt.jsx)(rl,{kind:"secondary",onClick:i(()=>u(o=>o+1),"onClick"),children:a.t("common.retry")})]});return(0,jt.jsx)(ai,{fallback:f,children:(0,jt.jsx)(ze.Suspense,{fallback:(0,jt.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:a.t("common.loading")}),children:(0,jt.jsx)(c,{...e,i18n:a})})},n)}i(Sd,"Tt");z(Sd,"EmailOtpStep");var e1={load:z(()=>import("./eid-view-RZS6MLT6-2W2T3AWK.js"),"load")};function zd({locale:l,strings:t,...e}){let a=Vl(l,t),[n,u]=(0,Te.useState)(0),c=(0,Te.useMemo)(()=>(0,Te.lazy)(()=>e1.load().then(o=>({default:o.EidView}))),[n]),f=(0,Kt.jsxs)(ql,{tone:"danger",children:[(0,Kt.jsx)("span",{children:a.t("errors.network_error")}),(0,Kt.jsx)(rl,{kind:"secondary",onClick:i(()=>u(o=>o+1),"onClick"),children:a.t("common.retry")})]});return(0,Kt.jsx)(ai,{fallback:f,children:(0,Kt.jsx)(Te.Suspense,{fallback:(0,Kt.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:a.t("common.loading")}),children:(0,Kt.jsx)(c,{...e,i18n:a})})},n)}i(zd,"It");z(zd,"EidStep");function Ad({step:l,locale:t,strings:e,className:a,onError:n}){let u=Vl(t,e),{busy:c,error:f,run:o}=Lr(u,n),s=(0,Td.useMemo)(()=>l.choice.options.flatMap(p=>{let m=Vr(p,u),d=Yr[p.service];return m===null?[]:[{id:p.id,label:m,glyph:d&&(0,Ra.jsx)(Bt,{name:d})}]}),[l.choice.options,u]),v=l.choice.options.find(p=>p.service==="national_eid");return(0,Ra.jsxs)("div",{className:a,children:[(0,Ra.jsx)(xr,{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,Ra.jsx)(Gl,{view:"EidContinueHint",i18n:u,provider:v.nationalEid.providerName,quiet:!0}):null]})}i(Ad,"Lt");z(Ad,"MethodChoice");var n1=new Set(["nni_not_found","registry_record_not_found"]),u1=new Set(["nni_invalid","id_number_invalid"]);function Tf({step:l,locale:t,strings:e,className:a,onError:n}){let u=Vl(t,e),{t:c}=u,[f,o]=(0,qa.useState)(""),[s,v]=(0,qa.useState)(!1),[p,m]=(0,qa.useState)(null),d=(0,qa.useId)(),T=l.attemptsExhausted,E=z(async M=>{v(!0),m(null);try{await M()}catch(C){m(jn(C,u.strings)),n?.(C)}finally{v(!1)}},"run"),U=z(M=>{if(M.preventDefault(),l.source!=="typed"){E(()=>l.confirm());return}let C=nd(f);if(!/^\d{10}$/.test(C))return m("population.invalid");if(!a1(C))return m("population.reason_id_number_invalid");E(()=>typeof l.submitIdNumber=="function"?l.submitIdNumber(C):l.submitNni(C))},"onSubmit"),h=cf(u,l.attemptsRemaining,T),r=l.reason!==void 0&&n1.has(l.reason),y=l.reason!==void 0&&u1.has(l.reason),g=(0,ll.jsxs)(ll.Fragment,{children:[l.reason==="registry_unavailable"?(0,ll.jsxs)(ql,{tone:"warning",children:[(0,ll.jsx)("span",{children:c("population.reason_registry_unavailable")}),(0,ll.jsx)("span",{children:h})]}):null,r&&l.canUseDocument?(0,ll.jsxs)(ql,{tone:"warning",children:[(0,ll.jsx)("span",{children:c("population.reason_registry_record_not_found_or_document")}),(0,ll.jsx)("span",{children:h}),(0,ll.jsx)(rl,{kind:"secondary",disabled:s,onClick:i(()=>{E(()=>l.useDocument())},"onClick"),children:c("population.useDocument")})]}):null,r&&!l.canUseDocument||y?(0,ll.jsxs)(ql,{tone:"danger",children:[(0,ll.jsx)("span",{children:c(r?"population.reason_registry_record_not_found":"population.reason_id_number_invalid")}),(0,ll.jsx)("span",{children:h})]}):null,T&&l.reason===void 0?(0,ll.jsx)(ql,{tone:"danger",children:(0,ll.jsx)("span",{children:h})}):null,p!==null?(0,ll.jsx)(ql,{tone:"danger",children:(0,ll.jsx)("span",{children:c(p)})}):null]}),[N,_,A]=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,ll.jsxs)("form",{className:`sekyro-step${a?` ${a}`:""}`,"aria-labelledby":d,onSubmit:U,noValidate:!0,children:[(0,ll.jsx)(na,{id:d,title:c(N),lead:c(_)}),g,l.source==="typed"?(0,ll.jsxs)("div",{className:"sekyro-field",children:[(0,ll.jsx)("label",{className:"sekyro-label",htmlFor:`${d}-id-number`,children:c("population.label")}),(0,ll.jsx)("input",{id:`${d}-id-number`,className:"sekyro-input sekyro-input--number",dir:"ltr",inputMode:"numeric",autoComplete:"off",placeholder:c("population.placeholder"),value:f,"aria-describedby":`${d}-id-number-help`,"aria-invalid":p==="population.invalid"||p==="population.reason_id_number_invalid"||void 0,onChange:i(M=>{m(null),o(nd(M.target.value).replace(/\D/g,"").slice(0,10))},"onChange")}),(0,ll.jsx)("span",{id:`${d}-id-number-help`,className:"sekyro-help",children:c("population.helper")})]}):null,(0,ll.jsx)(ua,{children:T?null:(0,ll.jsx)(rl,{type:"submit",full:!0,disabled:s,"aria-busy":s||void 0,children:c(A)})})]})}i(Tf,"at");z(Tf,"IdNumberEntry");function i1(l){return Tf(l)}i(i1,"pr");z(i1,"NniEntry");var id=z(l=>l.normalize("NFD").replace(/\p{Diacritic}/gu,"").toLocaleLowerCase(),"fold"),s1=z(l=>String.fromCodePoint(...Array.from(l.toUpperCase(),t=>127397+t.charCodeAt(0))),"flag"),r1=220;function Ed(l,t,e=[],a){let n=null;try{n=new Intl.DisplayNames([l],{type:"region"})}catch{}let u=t.map(o=>({code:o,name:n?.of(o)??o})),c=new Intl.Collator(l),f=z(o=>{if(o===a)return-1;let s=e.indexOf(o);return s<0?e.length:s},"rank");return u.sort((o,s)=>f(o.code)-f(s.code)||c.compare(o.name,s.name))}i(Ed,"kr");z(Ed,"countryNames");function Nd({step:l,i18n:t,issuer:e,onPicked:a,ageStepUp:n=!1}){let{t:u,locale:c}=t,f=(0,dt.useMemo)(()=>o1(l.documents),[l.documents]),o=(0,dt.useMemo)(()=>Ed(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,dt.useState)(e??s),[m,d]=(0,dt.useState)(""),[T,E]=(0,dt.useState)(null),U=(0,dt.useId)(),h=s===null?[]:yf(l.documents,s),r=s!==null&&h.length===1?h[0]:null;(0,dt.useEffect)(()=>{s!==null&&r!==null&&l.selectDocument(s,r)},[s,r]);let y=z((_,A)=>{l.selectDocument(_,A),a?.()},"pick"),g=z(_=>{let A=yf(l.documents,_);A.length===1?y(_,A[0]):p(_)},"chooseIssuer");if((0,dt.useEffect)(()=>{if(T===null||v===null)return;let _=setTimeout(()=>y(v,T),r1);return()=>clearTimeout(_)},[T]),af(v!==null&&f.length>1&&e===void 0?()=>{p(null),E(null)}:null),r!==null)return null;if(v===null){let _=id(m.trim()),A=_===""?o:o.filter(M=>id(M.name).includes(_)||M.code.toLowerCase()===_);return(0,al.jsxs)("section",{className:"sekyro-step",children:[(0,al.jsx)(na,{title:u("doc.countryTitle"),lead:u(n?"doc.ageStepUp":"doc.pickDescription")}),(0,al.jsxs)("div",{className:"sekyro-field",children:[(0,al.jsx)("label",{className:"sekyro-label",htmlFor:U,children:u("doc.countryLabel")}),(0,al.jsx)("input",{id:U,type:"search",className:"sekyro-input",placeholder:u("doc.countrySearch"),value:m,onChange:i(M=>d(M.target.value),"onChange")})]}),A.length===0?(0,al.jsx)("p",{className:"sekyro-text-muted",children:u("doc.noCountryMatch")}):(0,al.jsx)("ul",{className:"sekyro-rows",children:A.map(M=>(0,al.jsx)("li",{children:(0,al.jsxs)("button",{type:"button",className:"sekyro-row-btn",onClick:i(()=>g(M.code),"onClick"),children:[(0,al.jsx)("span",{className:"sekyro-row-btn__flag","aria-hidden":"true",children:s1(M.code)}),M.name]})},M.code))}),(0,al.jsx)(ua,{children:null})]})}let N=yf(l.documents,v);return(0,al.jsxs)("section",{className:"sekyro-step",children:[(0,al.jsx)(na,{title:u("doc.pickTitle"),lead:u(n&&s!==null?"doc.ageStepUp":"native.doc.holdIt")}),(0,al.jsx)("div",{className:"sekyro-choices",children:N.map(_=>(0,al.jsxs)("button",{type:"button",className:"sekyro-card","aria-pressed":T===_,disabled:T!==null&&T!==_,onClick:i(()=>E(_),"onClick"),children:[(0,al.jsx)("span",{className:"sekyro-card__tile",children:(0,al.jsx)(Bt,{name:_==="passport"?"passport":"card"})}),(0,al.jsxs)("span",{className:"sekyro-card__body",children:[(0,al.jsx)("span",{className:"sekyro-card__title",children:u(`doc.type.${_}`)}),(0,al.jsx)("span",{className:"sekyro-card__sub",children:u(`doc.sub.${_}`)})]}),(0,al.jsx)("span",{className:"sekyro-radio","aria-hidden":"true"})]},_))}),f.length>1?(0,al.jsx)("button",{type:"button",className:"sekyro-link",onClick:i(()=>{p(null),E(null)},"onClick"),children:u("native.doc.changeCountry")}):null,(0,al.jsx)(ua,{children:null})]})}i(Nd,"Xn");z(Nd,"DocumentPicker");var d1={load:z(()=>import("./document-capture-view-JE6IX4IE-5HJYAEDX.js"),"load")};function Md({step:l,locale:t,strings:e,className:a,liveMrz:n}){let u=Vl(t,e),[c,f]=(0,rt.useState)(0),[o,s]=(0,rt.useState)(null),v=c1(l.documents),p=v.length>1,m=l.issuer!==null&&ud(l.documents,l.issuer).length>1,d=l.documentType===null||l.issuer===null||o!==null,T=v.length===1&&ud(l.documents,v[0]).length===1,[E]=(0,rt.useState)(()=>d&&!T),U=l.ageStepUp===!0,h=(0,rt.useMemo)(()=>(0,rt.lazy)(()=>d1.load().then(y=>({default:y.DocumentCaptureView}))),[c]);(0,rt.useEffect)(()=>{f1()},[]);let r=(0,Mt.jsxs)(ql,{tone:"danger",children:[(0,Mt.jsx)("span",{children:u.t("errors.network_error")}),(0,Mt.jsx)(rl,{kind:"secondary",onClick:i(()=>f(y=>y+1),"onClick"),children:u.t("doc.retryCamera")})]});return(0,Mt.jsx)("div",{className:a,children:d?(0,Mt.jsx)(Nd,{step:l,i18n:u,ageStepUp:U&&o===null&&E,...o==="document"&&l.issuer!==null?{issuer:l.issuer}:{},onPicked:i(()=>s(null),"onPicked")}):(0,Mt.jsx)(ai,{fallback:r,children:(0,Mt.jsx)(rt.Suspense,{fallback:(0,Mt.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:u.t("common.loading")}),children:(0,Mt.jsx)(h,{step:l,i18n:u,ageLead:U&&!E,liveMrz:n,...p?{onChangeCountry:z(()=>s("country"),"onChangeCountry")}:{},...m?{onChangeDocument:z(()=>s("document"),"onChangeDocument")}:{}})})},c)})}i(Md,"Bt");z(Md,"DocumentCapture");var m1={load:z(()=>import("./portrait-capture-view-GQIBQY4U-AFPEUDLY.js"),"load")},y1={load:z(()=>import("./portrait-review-view-XOQYQNU7-IPKAZBP6.js"),"load")},Ga,_d=(Ga=class extends Ml.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(Ga,"Vt"),Ga);z(_d,"LoadBoundary");var cd=_d;function Dd({step:l,i18n:t}){let{t:e}=t,a=li();return(0,W.jsxs)("section",{className:"sekyro-stack sekyro-stack--2","data-testid":"sekyro-portrait-match",children:[(0,W.jsx)("h2",{ref:a,tabIndex:-1,className:"sekyro-text-body",children:e(l.review?"portrait.reviewTitle":"session.steps.portrait.title")}),l.review?(0,W.jsx)("p",{className:"sekyro-text-muted",children:e("portrait.reviewDescription")}):null,l.uploadFailed?(0,W.jsxs)(ql,{tone:"danger",children:[(0,W.jsx)("span",{children:e("portrait.uploadFailed")}),(0,W.jsx)(rl,{kind:"secondary",onClick:i(()=>{l.resubmit()},"onClick"),children:e("portrait.sendAgain")})]}):(0,W.jsx)("p",{role:"status","aria-live":"polite","aria-busy":"true",className:"sekyro-text-muted",children:e("portrait.matching")})]})}i(Dd,"Or");z(Dd,"MatchPhase");function Od({step:l,locale:t,strings:e,className:a,assetBaseUrl:n,verification:u}){let c=Vl(t,e),f=qr(u),o=(0,Ml.useContext)(uf),[s,v]=(0,Ml.useState)(0),[p,m]=(0,Ml.useState)(null),d=(0,Ml.useMemo)(()=>(0,Ml.lazy)(()=>m1.load().then(A=>({default:A.PortraitCaptureView}))),[s]),T=(0,Ml.useMemo)(()=>(0,Ml.lazy)(()=>y1.load().then(A=>({default:A.PortraitScreens}))),[s]),E=typeof l.uploadPortrait=="function",U=E?l.photo?.source??"camera":"camera",h=E&&U!=="camera"&&l.photo?.uploadOffered===!0,r=U!=="upload",y=U==="upload"?"upload":U==="choice"?p??l.photo?.pick??"source":"camera",g=l.phase==="capture"&&l.photo?.cameraOnPhone===!0;if((0,Ml.useEffect)(()=>{l.phase==="capture"&&y==="camera"&&!g&&h1()},[l.phase,y,g]),l.phase==="match")return(0,W.jsx)("div",{className:a,children:(0,W.jsx)(Dd,{step:l,i18n:c})});let N=(0,W.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,W.jsxs)("section",{className:`sekyro-step${a?` ${a}`:""}`,children:[(0,W.jsx)(na,{title:c.t("session.steps.portrait.title")}),(0,W.jsx)(ua,{children:(0,W.jsx)(rl,{kind:"secondary",full:!0,disabled:o.busy,onClick:o.reset,children:c.t("portrait.retryCamera")})})]});if(l.phase==="review"||y!=="camera"||g)return(0,W.jsx)("div",{className:a,children:(0,W.jsx)(cd,{fallback:(0,W.jsx)(rl,{kind:"ghost",onClick:i(()=>v(A=>A+1),"onClick"),children:c.t("common.retry")}),children:(0,W.jsx)(Ml.Suspense,{fallback:N,children:(0,W.jsx)(T,{screen:l.phase==="review"?"review":g&&y==="camera"?"phone":y==="camera"?"review":y,step:l,i18n:c,...r?{onCamera:z(()=>m("camera"),"onCamera")}:{},onUpload:i(()=>m("upload"),"onUpload"),onDeclined:i(()=>m(null),"onDeclined")})})},s)});if(!f.settled)return(0,W.jsx)("div",{className:a,children:N});let _=(0,W.jsxs)(ql,{tone:"danger",children:[(0,W.jsx)("span",{children:c.t("errors.network_error")}),(0,W.jsx)(rl,{kind:"secondary",onClick:i(()=>v(A=>A+1),"onClick"),children:c.t("portrait.retryCamera")})]});return(0,W.jsx)("div",{className:a,children:(0,W.jsx)(cd,{fallback:_,children:(0,W.jsx)(Ml.Suspense,{fallback:N,children:(0,W.jsx)(d,{step:l,i18n:c,...n!==void 0?{assetBaseUrl:n}:{},...h?{onUpload:z(()=>m("upload"),"onUpload")}:{}})})},s)})}i(Od,"Ft");z(Od,"PortraitCapture");var fd={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)"}},Af={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"}}},p1=["danger","success","warning","info"];function oi(l){let t=l/255;return t<=.03928?t/12.92:((t+.055)/1.055)**2.4}i(oi,"Ut");z(oi,"channel");function pf(l){let t=oi(parseInt(l.slice(1,3),16)),e=oi(parseInt(l.slice(3,5),16)),a=oi(parseInt(l.slice(5,7),16));return .2126*t+.7152*e+.0722*a}i(pf,"ro");z(pf,"luminance");function Ud(l,t){let e=pf(l),a=pf(t),n=Math.max(e,a),u=Math.min(e,a);return(n+.05)/(u+.05)}i(Ud,"Ar");z(Ud,"contrastRatio");function gf(l,t){return Math.min(...p1.map(e=>Ud(Af[l][e].fg,t)))}i(gf,"so");z(gf,"worstAgainst");function bf(l,t,e){return Math.min(gf(l,t),gf(l,e))}i(bf,"io");z(bf,"worstStatusContrast");function Cd(l,t){return bf("light",l,t)>=bf("dark",l,t)?"light":"dark"}i(Cd,"ao");z(Cd,"statusSchemeFor");function Ef({open:l,title:t,closeLabel:e,onClose:a,children:n,actions:u,role:c,testId:f,returnFocus:o}){let s=(0,Se.useRef)(null),v=(0,Se.useRef)(null),p=(0,Se.useRef)(!1),m=(0,Se.useId)();return(0,Se.useEffect)(()=>{let d=s.current;if(d!==null){if(l&&!d.open?(v.current=typeof document>"u"?null:document.activeElement,typeof d.showModal=="function"?d.showModal():d.setAttribute("open","")):!l&&d.open&&(typeof d.close=="function"?d.close():d.removeAttribute("open")),!l&&p.current){let T=o?.current??(v.current instanceof HTMLElement?v.current:null);v.current=null,T?.focus()}p.current=l}},[l,o]),(0,kt.jsx)("dialog",{ref:s,className:"sekyro-dialog","aria-labelledby":m,...c==="alertdialog"?{role:c}:{},"data-testid":f,onCancel:i(d=>{d.preventDefault(),a()},"onCancel"),onClick:i(d=>{d.target===d.currentTarget&&a()},"onClick"),children:(0,kt.jsxs)("div",{className:"sekyro-dialog__panel",children:[(0,kt.jsxs)("div",{className:"sekyro-dialog__head",children:[(0,kt.jsx)("h2",{id:m,className:"sekyro-dialog__title",children:t}),e!==void 0?(0,kt.jsx)("button",{type:"button",className:"sekyro-disc sekyro-dialog__close","aria-label":e,onClick:a,children:(0,kt.jsx)(Bt,{name:"close"})}):null]}),n!==void 0?(0,kt.jsx)("div",{className:"sekyro-dialog__body",children:n}):null,u!==void 0?(0,kt.jsx)("div",{className:"sekyro-dialog__actions",children:u}):null]})})}i(Ef,"ut");z(Ef,"FlowDialog");var g1=["intro","data","processing","sharing","retention"];function Bd({i18n:l,purpose:t="identity"}){let{t:e}=l,[a,n]=(0,di.useState)(!1),u=(0,di.useRef)(null),[c,f=""]=e("consent.short").split("{terms}");return(0,Jt.jsxs)("div",{className:"sekyro-consent","data-testid":"sekyro-consent",children:[(0,Jt.jsxs)("p",{className:"sekyro-consent__line",children:[c,(0,Jt.jsx)("button",{ref:u,type:"button",className:"sekyro-link sekyro-link--inline","aria-haspopup":"dialog",onClick:i(()=>n(!0),"onClick"),children:e("consent.termsLink")}),f]}),(0,Jt.jsx)(Ef,{open:a,title:e("consent.termsTitle"),closeLabel:e("native.close"),onClose:i(()=>n(!1),"onClose"),returnFocus:u,testId:"sekyro-consent-terms",children:(0,Jt.jsx)("div",{className:"sekyro-stack sekyro-stack--3",children:t==="human"?(0,Jt.jsx)(Gl,{view:"HumanConsentTerms",i18n:l,quiet:!0}):g1.map(o=>(0,Jt.jsx)("p",{children:e(`consent.terms.${o}`)},o))})})]})}i(Bd,"uo");z(Bd,"ConsentNotice");function kd(l){let t=l.trim().split(/\s+/).filter(e=>e!=="");return(t.length>=2?[t[0],t[1]].map(e=>Array.from(e??"")[0]??""):Array.from(t[0]??"").slice(0,2)).join("").toUpperCase()}i(kd,"po");z(kd,"initials");var xd=z(l=>({colors:{...l?Cl.dark:Cl.light},radius:Cl.radius,fontFamily:Cl.font}),"brandTheme"),Hb=xd(!1),od=/^#[0-9a-f]{6}$/i;function Nf(l,t,e){if(t)return null;let a=ui(l).colors,n=e?.colors?.bg??a?.bg,u=e?.colors?.surface??a?.surface;return n===void 0&&u===void 0||n!==void 0&&!od.test(n)||u!==void 0&&!od.test(u)?null:Cd(n??Cl.light.bg,u??Cl.light.surface)}i(Nf,"Kt");z(Nf,"partnerStatusScheme");function Mf(l,t,e){let a=ui(l);if(e&&a.colors!==void 0){let{brand:n,brandFg:u}=a.colors;n!==void 0&&Gd(n,Cl.dark.bg)>=3?a.colors={brand:n,ring:n,...u!==void 0?{brandFg:u}:{}}:delete a.colors}if(Nf(l,e,t)==="dark"){let n=Af.dark;a.colors={...a.colors,danger:n.danger.base,success:n.success.base,warning:n.warning.fg}}return ii(xd(e),a,ni(t))}i(Mf,"dt");z(Mf,"verificationTheme");function _f(l){let t=(0,Hd.useSyncExternalStore)(qd,S1,()=>!1);return l==="dark"||l==="system"&&t}i(_f,"pt");z(_f,"useDarkScheme");var b1="(prefers-color-scheme: dark)",Rd=z(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia(b1):null,"media"),S1=z(()=>Rd()?.matches??!1,"prefersDark");function qd(l){let t=Rd();return t?.addEventListener("change",l),()=>t?.removeEventListener("change",l)}i(qd,"Gr");z(qd,"subscribe");function Gd(l,t){let[e,a]=[Sf(l),Sf(t)];return(Math.max(e,a)+.05)/(Math.min(e,a)+.05)}i(Gd,"Wr");z(Gd,"contrast");function Sf(l){let t=[1,3,5].map(e=>{let a=Number.parseInt(l.slice(e,e+2),16)/255;return a<=.03928?a/12.92:((a+.055)/1.055)**2.4});return .2126*(t[0]??0)+.7152*(t[1]??0)+.0722*(t[2]??0)}i(Sf,"mo");z(Sf,"luminance");var Df="sekyro.testerGate";function hi(){try{return typeof localStorage>"u"?null:localStorage}catch{return null}}i(hi,"Wt");z(hi,"store");function Yd(l=Date.now()){try{hi()?.setItem(Df,String(l))}catch{}}i(Yd,"ho");z(Yd,"rememberTester");function Vd(l=Date.now()){try{let t=Number(hi()?.getItem(Df)??"");return Number.isFinite(t)&&t>0&&l-t<2592e6}catch{return!1}}i(Vd,"ko");z(Vd,"rememberedTester");function Ld(){try{hi()?.removeItem(Df)}catch{}}i(Ld,"So");z(Ld,"forgetTester");var sd=new Set(["document_id_number_mismatch","name_mismatch","birth_date_mismatch"]),z1={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 Qd({screen:l}){if(l==="verified")return(0,yl.jsxs)("svg",{className:"sekyro-outcome sekyro-outcome--approved",viewBox:"0 0 80 80","aria-hidden":"true",focusable:"false",children:[(0,yl.jsx)("circle",{className:"sekyro-outcome__ring",cx:"40",cy:"40",r:"40"}),(0,yl.jsx)("circle",{className:"sekyro-outcome__disc",cx:"40",cy:"40",r:"32"}),(0,yl.jsx)("path",{className:"sekyro-outcome__glyph",d:"M6.5 12.5l3.6 3.6 7.4-8.2",pathLength:"1",transform:"translate(22 22) scale(1.5)"})]});let{icon:t,tone:e}=z1[l];return(0,yl.jsx)("span",{className:`sekyro-tile sekyro-tile--${e} sekyro-outcome-tile`,"aria-hidden":"true","data-screen":l,children:(0,yl.jsx)(Bt,{name:t})})}i(Qd,"Jr");z(Qd,"OutcomeMark");function Xd({label:l,id:t,copied:e}){let[a,n]=(0,Ya.useState)(!1);return(0,Ya.useEffect)(()=>{if(!a)return;let u=setTimeout(()=>n(!1),1600);return()=>clearTimeout(u)},[a]),(0,yl.jsxs)("button",{type:"button",className:`sekyro-reference${a?" is-copied":""}`,onClick:i(()=>{navigator.clipboard?.writeText(t).then(()=>n(!0),()=>{})},"onClick"),children:[(0,yl.jsx)("span",{"aria-live":"polite",children:a?e:l}),(0,yl.jsx)("bdi",{dir:"ltr",children:t}),(0,yl.jsx)(Bt,{name:"copy"})]})}i(Xd,"Qr");z(Xd,"ReferenceLine");function Zd({step:l,locale:t,strings:e,className:a,onClose:n}){let u=Vl(t,e),{t:c}=u,f=(0,Ya.useId)(),o=li(),s=l.context.orgName,v=l.reasonCode??"",p=l.display==="platform_unsupported"?"policy":l.display,m=z(T=>s!==""&&T!=="cooldown"?c(`native.result.${T}`,{org:s}):c(`session.result.${T}.description`),"partnerLine"),d;switch(l.display){case"rejected":d=sd.has(tf(v))?c("session.result.detailsMismatch",{org:s}):m("rejected");break;case"policy":{if(sd.has(tf(v)))d=c("session.result.detailsMismatch",{org:s});else if(v==="device_velocity_exceeded")d=c("session.result.deviceVelocity",{org:s});else if(v==="capture_tampered")d=c("session.result.deviceStop");else if(v==="camera_unavailable")d=c("reasons.camera_unavailable",{org:s});else if(v==="underage_estimated")d=c("reasons.underage_estimated");else if(v==="starter_credit_claimed")d=c("reasons.starter_credit_claimed");else if(v==="blocked_by_org")d=c("reasons.blocked_by_org");else{let T=v===""?null:Er(v);d=T!==null?c(T,{org:s}):m("policy")}break}case"cooldown":{let T=Nr(u.locale,l.retryAfter);d=T!==null?c(T.key,{time:T.time}):c("session.result.cooldown.description");break}case"platform_unsupported":d=c("result.platform_unsupported");break;default:d=m(p)}return(0,yl.jsxs)("section",{className:`sekyro-result${a?` ${a}`:""}`,"aria-labelledby":f,"data-testid":"sekyro-result",children:[(0,yl.jsxs)("div",{className:"sekyro-result__body",children:[(0,yl.jsx)(Qd,{screen:p}),(0,yl.jsxs)("div",{className:"sekyro-heading",children:[(0,yl.jsx)("h2",{id:f,ref:o,tabIndex:-1,className:"sekyro-text-body",children:c(`session.result.${p}.title`)}),(0,yl.jsx)("p",{className:"sekyro-text-muted",children:d})]}),(0,yl.jsx)(Xd,{label:c("result.referenceLabel"),id:l.context.sessionId,copied:c("native.result.copied")})]}),n!==void 0?(0,yl.jsx)("div",{className:"sekyro-actions",children:(0,yl.jsx)(rl,{full:!0,onClick:n,children:s!==""?c("native.result.back",{org:s}):c("native.close")})}):null]})}i(Zd,"zt");z(Zd,"VerificationResultScreen");function jd(l,t,e){let a=t?Cl.dark:Cl.light,n=t?Cl.roles.dark:Cl.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===Cl.font&&(c["--sekyro-font-display"]=Cl.fontDisplay);let o=t?fd.dark:fd.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),e!==null){let s=Af[e];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(jd,"ts");z(jd,"flowRoles");function mi(l){let{verification:t,locale:e,strings:a,onStep:n,onResult:u}=l,{step:c,error:f}=rd(t);(0,H.useEffect)(()=>{c!==null&&n?.(c)},[c,n]),(0,H.useEffect)(()=>u===void 0?void 0:t.on("result",u),[t,u]);let o=_f(l.colorScheme??"light"),s=c?.context.branding,v=Mf(s,l.theme,o),[p,m]=(0,H.useState)(!1),d=`sekyro-verification${o?" sekyro-verification--dark":""}${p?" is-immersive":""}${l.className!==void 0?` ${l.className}`:""}`,T=(0,H.useRef)(l.onClose);T.current=l.onClose;let E=(0,H.useRef)(c);E.current=c;let U=(0,H.useCallback)(()=>{let N=E.current;T.current?.(N?.kind==="result"?{reason:"finished",result:N.result}:{reason:"cancelled"})},[]),[h,r]=(0,H.useState)(null),y=(0,H.useCallback)(()=>{let N=E.current;N!==null&&N.kind!=="result"&&N.context.consentRecorded?r("close"):U()},[U]),g=(0,H.useMemo)(()=>t.reportCaptureIssue===void 0?null:N=>t.reportCaptureIssue?.(N),[t]);return(0,S.jsx)(ci,{theme:v,className:d,children:(0,S.jsx)(of,{locale:e,...a!==void 0?{strings:a}:{},children:(0,S.jsx)("div",{dir:l.dir??(e==="ar"?"rtl":"ltr"),lang:e,className:"sekyro-flow",style:jd(v,o,Nf(s,o,l.theme)),children:(0,S.jsx)(Or.Provider,{value:m,children:(0,S.jsx)(nf.Provider,{value:l.onClose!==void 0?U:void 0,children:(0,S.jsx)(ti.Provider,{value:l.onClose!==void 0?y:void 0,children:(0,S.jsxs)(Hr.Provider,{value:g,children:[(0,S.jsx)(Id,{...l,step:c,error:f,immersive:p,onLeaveAsk:i(()=>r("history"),"onLeaveAsk"),onClosed:U}),(0,S.jsx)(Wd,{open:h!==null,onStay:i(()=>{h==="history"&&ri(),r(null)},"onStay"),onLeave:i(()=>{let N=h;r(null),N==="close"||l.onClose!==void 0?U():typeof window<"u"&&Uf()},"onLeave")})]})})})})})})})}i(mi,"Zt");z(mi,"SekyroVerification");function Kd(l,t){if(t===void 0||t==="aml_screening")return null;let e=l,a=e[`session.processing.${t}.title`],n=e[`session.processing.${t}.description`];return typeof a=="string"&&a!==""&&typeof n=="string"&&n!==""?{title:a,description:n}:null}i(Kd,"ns");z(Kd,"processingCopyOf");function Jd({error:l,retry:t}){let{t:e}=Vl(),a=li();return(0,S.jsxs)(ef,{tone:"danger",testId:"sekyro-error-notice",children:[(0,S.jsx)("span",{children:e(Ar(l))}),l.retryable?(0,S.jsx)(rl,{ref:a,kind:"secondary",className:"sekyro-btn--start",onClick:t,children:e("common.retry")}):null]})}i(Jd,"os");z(Jd,"CameraErrorNotice");var wd="sekyroFlow";function Of(){let l=window.history.state;return typeof l=="object"&&l!==null&&l[wd]===!0}i(Of,"Co");z(Of,"onGuard");function ri(){if(typeof window>"u"||Of())return;let l=window.history.state;window.history.pushState({...typeof l=="object"&&l!==null?l:{},[wd]:!0},"")}i(ri,"Yt");z(ri,"pushGuard");function Uf(){window.history.back()}i(Uf,"No");z(Uf,"leaveHistory");function Wd({open:l,onStay:t,onLeave:e}){let{t:a}=Vl();return(0,S.jsx)(Ef,{open:l,role:"alertdialog",title:a("leave.title"),onClose:t,testId:"sekyro-leave",actions:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(rl,{full:!0,onClick:t,children:a("leave.stay")}),(0,S.jsx)(rl,{full:!0,kind:"danger",onClick:e,children:a("leave.confirm")})]}),children:(0,S.jsx)("p",{className:"sekyro-text-muted",children:a("leave.body")})})}i(Wd,"rs");z(Wd,"LeaveDialog");function Fd(l,t){let[e,a]=(0,H.useState)(!1),[n,u]=(0,H.useState)(null),c=l===null?void 0:l.skipCapture,f=(0,H.useRef)(c);f.current=c;let o=(0,H.useRef)(!1),s=l?.key;(0,H.useEffect)(()=>u(null),[s]);let v=(0,H.useCallback)(()=>{if(o.current)return;let T=f.current;T!==void 0&&(o.current=!0,a(!0),u(null),T().catch(E=>u(t.t(jn(E,t.strings)))).finally(()=>{o.current=!1,a(!1)}))},[t]),p=(0,H.useCallback)(()=>u(null),[]),m=c!==void 0,d=t.t("sandbox.skipCapture");return(0,H.useMemo)(()=>m?{label:d,busy:e,failed:n,run:v,reset:p}:null,[m,d,e,n,v,p])}i(Fd,"ss");z(Fd,"useSkipCapture");function $d({skip:l}){return(0,S.jsxs)(S.Fragment,{children:[l.failed!==null?(0,S.jsx)(ql,{tone:"danger",children:(0,S.jsx)("span",{children:l.failed})}):null,(0,S.jsx)(rl,{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($d,"is");z($d,"SkipAction");function Id(l){let{step:t,error:e,slots:a,immersive:n}=l,u=Vl(),{t:c}=u,[f,o]=(0,H.useState)(!1),[s,v]=(0,H.useState)([]),p=(0,H.useCallback)(D=>(v(cl=>[...cl,D]),()=>v(cl=>cl.filter($l=>$l!==D))),[]),[m,d]=(0,H.useState)(null),T=(0,H.useCallback)(D=>d(()=>D),[]),[E,U]=(0,H.useState)(0),[h,r]=(0,H.useState)(null),y=Fd(t,u),g=t?.context.testerGate!==void 0,[N,_]=(0,H.useState)(!1),A=(0,H.useRef)(null);(0,H.useEffect)(()=>{!g||A.current!==null||(A.current=Vd(),A.current&&_(!0))},[g]);let M=t?.context.purpose??"identity",C=t?.context.returning===!0,G=l.verification,Ql=M==="human"||t?.context.cameraUnavailableHandled===!0,$e=G.reportCameraUnavailable!==void 0&&Ql?D=>G.reportCameraUnavailable?.(D)??Promise.resolve():void 0,ka=t?.kind==="liveness"&&t.mode==="liveness"&&t.reason===void 0&&!t.attemptsExhausted,ft=l.handoffUrl,Ie=(0,H.useCallback)((D,cl)=>$e===void 0?void 0:(0,S.jsx)(Gl,{view:"NoCameraView",i18n:u,quiet:!0,cause:cl,onRetry:D,...ka?{onContinue:$e}:{},...ft!==void 0?{handoffUrl:ft}:{}}),[u,G,Ql,ka,ft]),xn=(0,H.useMemo)(()=>Qr(t),[t]),ve=(0,H.useCallback)((D,cl)=>(0,S.jsx)(Xr,{start:D,context:cl,human:M==="human",returning:C,notice:cl.permissionSettled&&cl.permission==="denied"?Ie(D,"denied"):void 0,...xn!==void 0?{retry:xn}:{}}),[M,C,Ie,xn]),Pe=(0,H.useCallback)((D,cl)=>{let $l=v1(D.kind);return($l!==void 0?Ie(cl,$l):void 0)??(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(Jd,{error:D,retry:cl}),$l!==void 0&&ft!==void 0?(0,S.jsx)(Gl,{view:"DesktopHandoffView",i18n:u,quiet:!0,url:ft}):null]})},[Ie,ft,u]),Rn=(0,H.useRef)(""),qn=l.livenessProps?.slots?.stageOverlay,Fu=(0,H.useCallback)(D=>(D.guidance!==""&&!D.coached&&(Rn.current=D.guidance),(0,S.jsx)(kr,{testId:"sekyro-capture-stage",video:(0,S.jsx)("video",{ref:D.videoRef,playsInline:!0,muted:!0,className:"sekyro-lm-video sekyro-fc-video","aria-hidden":"true","data-testid":"sekyro-capture-video"}),instruction:D.settled?c("capture.checkingTitle"):D.guidance!==""?D.guidance:Rn.current,note:D.note,status:D.status,busy:D.settled,progress:D.phase==="seeking"||D.phase==="aligning"?D.progress:1,still:D.still,live:D.live,closeLabel:c("native.close"),overlay:qn?.(D.videoRef),ramp:D.ramp?.colour??null,...D.settled?{}:{onClose:z(()=>U(cl=>cl+1),"onClose")},end:D.modeSwitch!=null?(0,S.jsx)(Mr,{view:D.modeSwitch,className:"sekyro-glass sekyro-glass--label"}):null,children:D.settled||!D.live?null:(0,S.jsx)(Ur,{onStop:i(()=>U(cl=>cl+1),"onStop")})})),[c,qn]),$c=(0,H.useId)(),Qt=t,Gn=t!==null&&h===t.key&&t.context.switchable!==void 0,la=m??(t===null||t.kind==="result"?null:Gn?()=>r(null):t.context.switchable!==void 0&&typeof Qt?.chooseOption=="function"?()=>r(t.key):null),Yn=(0,H.useRef)(la);Yn.current=la;let ot=(0,H.useRef)(t);ot.current=t;let Xt=(0,H.useRef)({ask:l.onLeaveAsk,closed:l.onClosed,hostClose:l.onClose!==void 0});Xt.current={ask:l.onLeaveAsk,closed:l.onClosed,hostClose:l.onClose!==void 0};let pe=l.backNavigation==="history";if((0,H.useEffect)(()=>{if(!pe||typeof window>"u")return;ri();let D=z(()=>{if(Of())return;let cl=ot.current,$l=Yn.current;$l!==null?($l(),ri()):cl?.kind!=="result"&&cl?.context.consentRecorded===!0?Xt.current.ask():Xt.current.hostClose?Xt.current.closed():Uf()},"onPop");return window.addEventListener("popstate",D),()=>window.removeEventListener("popstate",D)},[pe]),e!==null)return(0,S.jsx)(ef,{tone:"danger",children:(0,S.jsx)("span",{children:c(jn(e,u.strings))})});if(t===null)return(0,S.jsxs)("div",{className:"sekyro-skeleton",role:"status","aria-busy":"true",children:[(0,S.jsx)("span",{className:"sekyro-visually-hidden",children:c("common.loading")}),(0,S.jsx)("span",{className:"sekyro-skeleton__bar is-title"}),(0,S.jsx)("span",{className:"sekyro-skeleton__bar"}),(0,S.jsx)("span",{className:"sekyro-skeleton__bar is-short"}),(0,S.jsx)("span",{className:"sekyro-skeleton__bar is-block"})]});let{context:ml}=t,Et=z(D=>{o(!0),D().finally(()=>o(!1))},"refresh"),$u=a?.header??(0,S.jsx)(t0,{context:ml,headerId:$c,end:a?.headerEnd,...la!==null?{onBack:la}:{}}),w,ta=Gn;if(N&&l.verification.testerGate!==void 0)w=(0,S.jsx)(ff.Provider,{value:Fu,children:(0,S.jsx)(Gl,{view:"TesterGateView",i18n:u,verification:l.verification,attemptsLeft:ml.testerGate?.attemptsLeft??0,livenessProps:{...l.livenessProps??{},slots:{...l.livenessProps?.slots,intro:l.livenessProps?.slots?.intro??ve},locale:l.locale,dir:l.dir,strings:u.strings,assetBaseUrl:l.assetBaseUrl,voice:l.voice},onBound:i(()=>Yd(),"onBound"),onDone:i(D=>{D&&Ld(),_(!1)},"onDone")})});else if(ta)w=(0,S.jsx)(Gl,{view:"LaneChoiceView",i18n:u,step:t,onClose:i(()=>r(null),"onClose")});else switch(t.kind){case"phone_otp":w=(0,S.jsx)(bd,{step:t});break;case"email_otp":w=(0,S.jsx)(Sd,{step:t});break;case"method":w=(0,S.jsx)(Ad,{step:t});break;case"registry":w=(0,S.jsx)(Tf,{step:t});break;case"document":w=(0,S.jsx)(Md,{step:t,...l.documentLiveMrz!==void 0?{liveMrz:l.documentLiveMrz}:{}});break;case"liveness":{let D=l.livenessProps?.slots?.intro,cl={...l.livenessProps??{},slots:{...l.livenessProps?.slots,intro:D??ve,...D===void 0&&l.livenessProps?.slots?.errorPanel===void 0?{errorPanel:Pe}:{}},...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};w=(0,S.jsx)(ff.Provider,{value:Fu,children:t.instructions==="icao"||t.livePhoto?.icao===!0?(0,S.jsx)(Gl,{view:"LivePhotoLiveness",i18n:u,step:t,livenessProps:cl,sekyroIntro:D===void 0},E):(0,S.jsx)(Gr,{...cl},E)});break}case"portrait":w=(0,S.jsxs)(S.Fragment,{children:[t.retakeOnly?(0,S.jsx)(Gl,{view:"PortraitRetakeNotice",i18n:u,quiet:!0}):null,(0,S.jsx)(Od,{step:t,verification:l.verification,...l.assetBaseUrl!==void 0?{assetBaseUrl:l.assetBaseUrl}:{}})]});break;case"contact_choice":w=(0,S.jsx)(Gl,{view:"ContactChoiceView",i18n:u,step:t});break;case"choice":w=(0,S.jsx)(Gl,{view:"GenericChoiceView",i18n:u,step:t});break;case"identity_summary":w=(0,S.jsx)(Gl,{view:"IdentitySummaryView",i18n:u,step:t});break;case"mobile_required":{let D=t.checkType==="doc_ocr"?c("handoff.lead.document"):t.checkType==="portrait_icao"?c("handoff.lead.portrait"):void 0;w=l.handoffUrl!==void 0?(0,S.jsx)(Gl,{view:"HandoffView",i18n:u,url:l.handoffUrl,refresh:t.refresh,...D!==void 0?{lead:D}:{}}):(0,S.jsx)(ei,{tone:"brand",icon:"smartphone",title:c("handoff.title"),actions:(0,S.jsx)(rl,{kind:"secondary",full:!0,disabled:f,onClick:i(()=>Et(t.refresh),"onClick"),children:c("common.refresh")}),children:(0,S.jsx)("p",{children:D??c("reasons.mobile_required")})});break}case"processing":{let D=Kd(u.strings,t.service);w=(0,S.jsx)(ei,{tone:"brand",icon:"pending",busy:!t.stalled,live:!0,title:D?.title??c("session.processing.title"),actions:t.stalled?(0,S.jsx)(rl,{kind:"secondary",full:!0,disabled:f,onClick:i(()=>Et(t.refresh),"onClick"),children:c("common.refresh")}):null,children:(0,S.jsx)("p",{children:D?.description??c("session.processing.description")})});break}case"eid":w=(0,S.jsx)(zd,{step:t});break;case"unsupported":{let D=t.reason==="platform_unsupported";w=(0,S.jsx)(ei,{tone:"neutral",icon:"smartphone",title:c(D?"needsApp.title":"unsupported.title"),actions:(0,S.jsx)(Pd,{org:ml.orgName}),children:(0,S.jsx)("p",{children:D?ml.orgName!==""?c("needsApp.description",{org:ml.orgName}):c("needsApp.descriptionNoOrg"):c("unsupported.description",{org:ml.orgName})})});break}case"result":w=a?.result?.(t)??(0,S.jsx)(l0,{step:t});break;default:{let D=t;w=null}}let ea=!n&&!ml.consentRecorded&&t.kind!=="result"?(0,S.jsx)(Bd,{i18n:u,purpose:ml.purpose}):null,ge=y!==null&&!n&&!ta&&!N?(0,S.jsx)($d,{skip:y}):null,aa=g&&!N&&!n&&!ta&&l.verification.testerGate!==void 0?(0,S.jsx)(Gl,{view:"TesterGateAction",i18n:u,quiet:!0,onOpen:i(()=>_(!0),"onOpen")}):null,Ha=ge===null&&aa===null?ea:(0,S.jsxs)(S.Fragment,{children:[aa,ge,ea]});return(0,S.jsx)(Dr.Provider,{value:T,children:(0,S.jsx)(uf.Provider,{value:y,children:(0,S.jsx)(jr.Provider,{value:l.handoffUrl,children:(0,S.jsxs)(_r.Provider,{value:Ha===null?null:{node:Ha,owner:s[0]??null,claim:p},children:[n?null:$u,!n&&t.kind!=="result"&&ml.sections.length>1?(0,S.jsx)(e0,{context:ml,current:t.section,i18n:u}):null,(0,S.jsx)(Br,{pageKey:t.key,children:w}),!n&&!ta&&t.kind!=="result"&&t.context.switchable!==void 0?(0,S.jsx)(Gl,{view:"LaneSwitch",i18n:u,step:t,onOpen:i(()=>r(t.key),"onOpen"),quiet:!0},t.key):null,s.length===0?Ha:null,n?null:a?.footer!==void 0?a.footer:ml.branding?.hideAttribution===!0?null:(0,S.jsxs)("a",{className:"sekyro-footer",href:"https://sekyro.ai",target:"_blank",rel:"noopener noreferrer",children:[(0,S.jsx)(Bt,{name:"lock"}),c("shell.verifiedBy")]})]})})})})}i(Id,"as");z(Id,"Body");function Pd({org:l}){let{t}=Vl(),e=(0,H.useContext)(nf);return e===void 0?null:(0,S.jsx)(rl,{full:!0,onClick:e,children:l!==""?t("native.result.back",{org:l}):t("native.close")})}i(Pd,"ls");z(Pd,"BackToOrg");function l0({step:l}){return(0,S.jsx)(ti.Consumer,{children:i(t=>(0,S.jsx)(Zd,{step:l,...t!==void 0?{onClose:t}:{}}),"children")})}i(l0,"cs");z(l0,"ResultPage");function t0({context:l,headerId:t,end:e,onBack:a}){let{t:n}=Vl(),[u,c]=(0,H.useState)(!1),f=u?void 0:l.branding?.logoUrl,o=l.orgName!==""?l.orgName:n(l.returning?"returning.heading":"session.title");return(0,S.jsx)("header",{className:"sekyro-stack sekyro-stack--3","aria-labelledby":t,children:(0,S.jsxs)("div",{className:"sekyro-org",children:[a!==void 0?(0,S.jsx)("button",{type:"button",className:"sekyro-disc sekyro-org__back","aria-label":n("common.back"),onClick:a,"data-testid":"sekyro-back",children:(0,S.jsx)(Bt,{name:"back"})}):null,(0,S.jsx)("span",{className:"sekyro-org__tile","aria-hidden":"true",children:f!==void 0?(0,S.jsx)("img",{className:"sekyro-org__logo",src:f,alt:"",onError:i(()=>c(!0),"onError")}):kd(l.orgName)}),(0,S.jsxs)("div",{className:"sekyro-org__text",children:[(0,S.jsx)("h1",{id:t,className:"sekyro-org__name",children:o}),(0,S.jsx)("p",{className:"sekyro-org__sub",children:n(l.purpose==="human"?"shell.subtitleHuman":"shell.subtitle")})]}),l.sandbox?(0,S.jsx)("span",{className:"sekyro-sandbox-badge","data-testid":"sekyro-sandbox-badge",children:n("app.sandboxBadge")}):null,e!=null?(0,S.jsx)("div",{className:"sekyro-org__end",children:e}):null,(0,S.jsx)(ti.Consumer,{children:i(s=>s!==void 0?(0,S.jsx)("button",{type:"button",className:"sekyro-disc sekyro-org__close","aria-label":n("native.close"),onClick:s,children:(0,S.jsx)(Bt,{name:"close"})}):null,"children")})]})})}i(t0,"us");z(t0,"OrgHeader");function e0({context:l,current:t,i18n:e}){let a=t===null?-1:l.sections.indexOf(t),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,S.jsx)("ol",{className:"sekyro-progress__bars","aria-label":e.t("session.progressLabel"),children:u.map(({id:c,state:f})=>(0,S.jsx)("li",{className:`sekyro-progress__bar${f==="done"?" is-done":f==="current"?" is-current":""}`,...f==="current"?{"aria-current":"step"}:{},children:(0,S.jsx)("span",{className:"sekyro-visually-hidden",children:e.strings[`section.${c}`]??c})},c))})}i(e0,"ds");z(e0,"SectionProgress");function a0(){return typeof window>"u"?"":window.location.href.split("#")[0]??""}i(a0,"fs");z(a0,"pageUrl");function T1({hostedUrl:l,inAppBrowser:t,...e}){let[a,n]=(0,wn.useState)(t===!0);(0,wn.useEffect)(()=>{t===void 0&&Zr()&&n(!0)},[t]);let[u,c]=(0,wn.useState)(!1),f=_f(e.colorScheme??"light"),o=e.handoffUrl??l??a0();return a&&!u?(0,ia.jsx)(hf,{theme:ii(Mf(void 0,void 0,f),e.theme),className:`sekyro-verification${f?" sekyro-verification--dark":""}${e.className!==void 0?` ${e.className}`:""}`,children:(0,ia.jsx)(of,{locale:e.locale,...e.strings!==void 0?{strings:e.strings}:{},children:(0,ia.jsx)("div",{dir:e.dir??(e.locale==="ar"?"rtl":"ltr"),lang:e.locale,className:"sekyro-flow",children:(0,ia.jsx)(n0,{url:o,onContinue:i(()=>c(!0),"onContinue")})})})}):(0,ia.jsx)(mi,{...e,...o!==""?{handoffUrl:o}:{}})}i(T1,"ms");z(T1,"SekyroFlow");function n0({url:l,onContinue:t}){let e=Vl();return(0,ia.jsx)(Gl,{view:"InAppBrowserPrompt",i18n:e,url:l,onContinue:t})}i(n0,"ys");z(n0,"Prompt");var Xc=Z(Ul(),1),Bv=Z(Cv(),1);var kv=["ar","fr","en","es","pt","de"],Fg=["light","dark","system"];function $g(){if(typeof document>"u")return null;let l=document.documentElement.lang.toLowerCase().split("-")[0];return kv.includes(l)?l:null}i($g,"documentLocale");var Ig=typeof HTMLElement>"u"?class{}:HTMLElement;function Pg({node:l}){return(0,Xc.createElement)("div",{className:"sekyro-elements-slot",style:{display:"contents"},ref:i(t=>{t!==null&&l.parentNode!==t&&t.appendChild(l)},"ref")})}i(Pg,"SlotNode");var ye,Ut,Cn,_a,Da,Ct,Bn,Oa,Ua,Ca,kn,Ba,Hn,R,Fe,Lt,jc,Kc,Jc,wc,Wc,Hv,me,sr,xv,Wu,Rv,qv,Fc=class Fc extends Ig{constructor(){super();gl(this,R);gl(this,ye,null);gl(this,Ut,null);gl(this,Cn,!1);gl(this,_a,!1);gl(this,Da,null);gl(this,Ct,null);gl(this,Bn,null);gl(this,Oa,new Map);gl(this,Ua);gl(this,Ca);gl(this,kn);gl(this,Ba);gl(this,Hn);gl(this,jc,i(e=>Q(this,R,Lt).call(this,"sekyro-step",e),"#onStep"));gl(this,Kc,i(e=>Q(this,R,Lt).call(this,"sekyro-result",e),"#onResult"));gl(this,Jc,i(e=>Q(this,R,Lt).call(this,"sekyro-close",e),"#onClose"));gl(this,wc,i(e=>Q(this,R,Lt).call(this,"sekyro-liveness-captured",e),"#onCaptured"));gl(this,Wc,{onStateChange:i(e=>Q(this,R,Lt).call(this,"sekyro-liveness-state",e),"onStateChange"),onGuidance:i(e=>Q(this,R,Lt).call(this,"sekyro-liveness-guidance",e),"onGuidance"),onError:i(e=>Q(this,R,Lt).call(this,"sekyro-liveness-error",e),"onError")});for(let e of[...rf.filter(a=>!("unreflected"in a)).map(a=>a.property),"verification","strings","theme","livenessProps","documentLiveMrz","voice"])if(Object.prototype.hasOwnProperty.call(this,e)){let a=this[e];delete this[e],this[e]=a}}get clientToken(){return this.getAttribute("client-token")}set clientToken(e){Q(this,R,Fe).call(this,"client-token",e)}get apiOrigin(){return this.getAttribute("api-origin")}set apiOrigin(e){Q(this,R,Fe).call(this,"api-origin",e)}get locale(){let e=this.getAttribute("locale");return e!==null&&kv.includes(e)?e:null}set locale(e){Q(this,R,Fe).call(this,"locale",e)}get colorScheme(){let e=this.getAttribute("color-scheme");return e!==null&&Fg.includes(e)?e:null}set colorScheme(e){Q(this,R,Fe).call(this,"color-scheme",e)}get assetBaseUrl(){return this.getAttribute("asset-base-url")}set assetBaseUrl(e){Q(this,R,Fe).call(this,"asset-base-url",e)}get backNavigation(){let e=this.getAttribute("back-navigation");return e==="history"||e==="none"?e:null}set backNavigation(e){Q(this,R,Fe).call(this,"back-navigation",e)}get handoffUrl(){return this.getAttribute("handoff-url")}set handoffUrl(e){Q(this,R,Fe).call(this,"handoff-url",e)}get closable(){return this.hasAttribute("closable")}set closable(e){this.toggleAttribute("closable",!!e)}get verification(){return x(this,Da)??x(this,Ct)}set verification(e){bl(this,Da,e??null),Q(this,R,me).call(this)}get strings(){return x(this,Ua)}set strings(e){bl(this,Ua,e??void 0),Q(this,R,me).call(this)}get theme(){return x(this,Ca)}set theme(e){bl(this,Ca,e??void 0),Q(this,R,me).call(this)}get livenessProps(){return x(this,kn)}set livenessProps(e){bl(this,kn,e??void 0),Q(this,R,me).call(this)}get documentLiveMrz(){return x(this,Ba)}set documentLiveMrz(e){bl(this,Ba,e??void 0),Q(this,R,me).call(this)}get voice(){return x(this,Hn)}set voice(e){bl(this,Hn,e===null?void 0:e),Q(this,R,me).call(this)}connectedCallback(){bl(this,_a,!1),Q(this,R,Hv).call(this),(x(this,Ut)===null||x(this,Ut).parentNode!==this)&&(bl(this,Ut,document.createElement("div")),x(this,Ut).className="sekyro-elements-root",this.appendChild(x(this,Ut))),x(this,ye)??bl(this,ye,(0,Bv.createRoot)(x(this,Ut))),Q(this,R,me).call(this)}disconnectedCallback(){bl(this,_a,!0),queueMicrotask(()=>{!x(this,_a)||this.isConnected||(bl(this,_a,!1),Q(this,R,qv).call(this))})}attributeChangedCallback(e,a,n){a!==n&&Q(this,R,me).call(this)}};ye=new WeakMap,Ut=new WeakMap,Cn=new WeakMap,_a=new WeakMap,Da=new WeakMap,Ct=new WeakMap,Bn=new WeakMap,Oa=new WeakMap,Ua=new WeakMap,Ca=new WeakMap,kn=new WeakMap,Ba=new WeakMap,Hn=new WeakMap,R=new WeakSet,Fe=i(function(e,a){a==null?this.removeAttribute(e):this.setAttribute(e,String(a))},"#reflect"),Lt=i(function(e,a){this.dispatchEvent(new CustomEvent(e,{detail:a,bubbles:!0,composed:!0}))},"#emit"),jc=new WeakMap,Kc=new WeakMap,Jc=new WeakMap,wc=new WeakMap,Wc=new WeakMap,Hv=i(function(){for(let e of Array.from(this.children)){let a=e.getAttribute("slot");a===null||!Wr.some(n=>n.name===a)||(x(this,Oa).set(a,e),e.remove())}},"#takeSlots"),me=i(function(){x(this,Cn)||(bl(this,Cn,!0),queueMicrotask(()=>{bl(this,Cn,!1),this.isConnected&&x(this,ye)!==null&&Q(this,R,Rv).call(this)}))},"#schedule"),sr=i(function(){return this.locale??$g()??"en"},"#effectiveLocale"),xv=i(function(){if(x(this,Da)!==null)return Q(this,R,Wu).call(this),x(this,Da);let e=this.clientToken;if(e===null||e==="")return Q(this,R,Wu).call(this),null;let a=this.apiOrigin,n=`${e}\0${a??""}`;if(x(this,Ct)!==null&&x(this,Bn)===n)return x(this,Ct);Q(this,R,Wu).call(this);try{bl(this,Ct,Wg({clientToken:e,locale:Q(this,R,sr).call(this),...a!==null&&a!==""?{apiOrigin:a}:{}})),bl(this,Bn,n)}catch(u){return Q(this,R,Lt).call(this,"sekyro-error",{error:u}),null}return Q(this,R,Lt).call(this,"sekyro-ready",{verification:x(this,Ct)}),x(this,Ct)},"#currentVerification"),Wu=i(function(){x(this,Ct)?.destroy(),bl(this,Ct,null),bl(this,Bn,null)},"#dropOwned"),Rv=i(function(){let e=Q(this,R,xv).call(this);if(e===null){x(this,ye)?.render(null);return}let a=Q(this,R,sr).call(this),n=this.getAttribute("dir"),u=x(this,Hn)??(this.getAttribute("voice")==="off"?!1:void 0),c=i(p=>{let m=x(this,Oa).get(p);return m===void 0?void 0:(0,Xc.createElement)(Pg,{node:m})},"slot"),f=c("header"),o=c("header-end"),s=c("footer"),v={verification:e,locale:a,onStep:x(this,jc),onResult:x(this,Kc),onLivenessCaptured:x(this,wc),livenessProps:{...x(this,kn),...x(this,Wc)},...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:x(this,Jc)}:{},...x(this,Ua)!==void 0?{strings:x(this,Ua)}:{},...x(this,Ca)!==void 0?{theme:x(this,Ca)}:{},...x(this,Ba)!==void 0?{documentLiveMrz:x(this,Ba)}:{},...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}:{}}}:{}};x(this,ye)?.render((0,Xc.createElement)(mi,v))},"#render"),qv=i(function(){x(this,ye)?.unmount(),bl(this,ye,null),x(this,Ut)?.remove(),bl(this,Ut,null),Q(this,R,Wu).call(this);for(let e of x(this,Oa).values())this.appendChild(e);x(this,Oa).clear()},"#teardown"),i(Fc,"SekyroVerificationElement"),Tr(Fc,"observedAttributes",rf.map(e=>e.name));var Zc=Fc;function Ib(){return typeof customElements>"u"?!1:(customElements.get(sf)===void 0&&customElements.define(sf,Zc),!0)}i(Ib,"defineSekyroElements");export{sf as a,rf as b,lb as c,Wr as d,tb as e,Zc as f,Ib as g};
10
+ /*! Bundled license information:
11
+
12
+ scheduler/cjs/scheduler.production.js:
13
+ (**
14
+ * @license React
15
+ * scheduler.production.js
16
+ *
17
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
18
+ *
19
+ * This source code is licensed under the MIT license found in the
20
+ * LICENSE file in the root directory of this source tree.
21
+ *)
22
+
23
+ react-dom/cjs/react-dom-client.production.js:
24
+ (**
25
+ * @license React
26
+ * react-dom-client.production.js
27
+ *
28
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
29
+ *
30
+ * This source code is licensed under the MIT license found in the
31
+ * LICENSE file in the root directory of this source tree.
32
+ *)
33
+ */