@getcredify/credify-insurance-widget 0.2.0 → 1.0.2
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.
- package/README.md +72 -3
- package/dist/credify-insurance-widget.css +1 -1
- package/dist/iframe/assets/iframe-9ThFCPgT.js +50 -0
- package/dist/iframe/assets/iframe-9ThFCPgT.js.map +1 -0
- package/dist/iframe/assets/iframe-CBKvQTJa.css +1 -0
- package/dist/iframe/iframe.html +2 -2
- package/dist/index.es.js +6849 -22410
- package/dist/index.es.js.map +1 -1
- package/dist/index.html +222 -0
- package/dist/index.umd.js +12 -250
- package/dist/index.umd.js.map +1 -1
- package/package.json +9 -4
- package/dist/iframe/assets/iframe-CdIFAJCC.js +0 -50
- package/dist/iframe/assets/iframe-CdIFAJCC.js.map +0 -1
- package/dist/iframe/assets/iframe-Gf3vTC2Z.css +0 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(){if(typeof bt>"u")var bt={env:{}}})();(function(bt,H){typeof exports=="object"&&typeof module<"u"?H(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],H):(bt=typeof globalThis<"u"?globalThis:bt||self,H(bt.CredifyInsuranceWidget={},bt.React,bt.ReactDOM))})(this,(function(bt,H,Jd){"use strict";var ni={exports:{}},Ra={},ui={exports:{}},ii={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* scheduler.production.js
|
|
4
4
|
*
|
|
@@ -6,15 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
10
|
-
* @license React
|
|
11
|
-
* scheduler.development.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var tb;function zS(){return tb||(tb=1,(function(h){process.env.NODE_ENV!=="production"&&(function(){function E(){if(Me=!1,W){var A=h.unstable_now();te=A;var k=!0;try{e:{ge=!1,oe&&(oe=!1,ye(ue),ue=-1),ce=!0;var I=Oe;try{t:{for(F(A),xe=b(Xe);xe!==null&&!(xe.expirationTime>A&&V());){var ve=xe.callback;if(typeof ve=="function"){xe.callback=null,Oe=xe.priorityLevel;var Y=ve(xe.expirationTime<=A);if(A=h.unstable_now(),typeof Y=="function"){xe.callback=Y,F(A),k=!0;break t}xe===b(Xe)&&D(Xe),F(A)}else D(Xe);xe=b(Xe)}if(xe!==null)k=!0;else{var ae=b(Ne);ae!==null&&be(K,ae.startTime-A),k=!1}}break e}finally{xe=null,Oe=I,ce=!1}k=void 0}}finally{k?Fe():W=!1}}}function O(A,k){var I=A.length;A.push(k);e:for(;0<I;){var ve=I-1>>>1,Y=A[ve];if(0<C(Y,k))A[ve]=k,A[I]=Y,I=ve;else break e}}function b(A){return A.length===0?null:A[0]}function D(A){if(A.length===0)return null;var k=A[0],I=A.pop();if(I!==k){A[0]=I;e:for(var ve=0,Y=A.length,ae=Y>>>1;ve<ae;){var ee=2*(ve+1)-1,me=A[ee],Ue=ee+1,nt=A[Ue];if(0>C(me,I))Ue<Y&&0>C(nt,me)?(A[ve]=nt,A[Ue]=I,ve=Ue):(A[ve]=me,A[ee]=I,ve=ee);else if(Ue<Y&&0>C(nt,I))A[ve]=nt,A[Ue]=I,ve=Ue;else break e}}return k}function C(A,k){var I=A.sortIndex-k.sortIndex;return I!==0?I:A.id-k.id}function F(A){for(var k=b(Ne);k!==null;){if(k.callback===null)D(Ne);else if(k.startTime<=A)D(Ne),k.sortIndex=k.expirationTime,O(Xe,k);else break;k=b(Ne)}}function K(A){if(oe=!1,F(A),!ge)if(b(Xe)!==null)ge=!0,W||(W=!0,Fe());else{var k=b(Ne);k!==null&&be(K,k.startTime-A)}}function V(){return Me?!0:!(h.unstable_now()-te<_e)}function be(A,k){ue=Te(function(){A(h.unstable_now())},k)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),h.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var pe=performance;h.unstable_now=function(){return pe.now()}}else{var ie=Date,se=ie.now();h.unstable_now=function(){return ie.now()-se}}var Xe=[],Ne=[],Ye=1,xe=null,Oe=3,ce=!1,ge=!1,oe=!1,Me=!1,Te=typeof setTimeout=="function"?setTimeout:null,ye=typeof clearTimeout=="function"?clearTimeout:null,Re=typeof setImmediate<"u"?setImmediate:null,W=!1,ue=-1,_e=5,te=-1;if(typeof Re=="function")var Fe=function(){Re(E)};else if(typeof MessageChannel<"u"){var rt=new MessageChannel,mt=rt.port2;rt.port1.onmessage=E,Fe=function(){mt.postMessage(null)}}else Fe=function(){Te(E,0)};h.unstable_IdlePriority=5,h.unstable_ImmediatePriority=1,h.unstable_LowPriority=4,h.unstable_NormalPriority=3,h.unstable_Profiling=null,h.unstable_UserBlockingPriority=2,h.unstable_cancelCallback=function(A){A.callback=null},h.unstable_forceFrameRate=function(A){0>A||125<A?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):_e=0<A?Math.floor(1e3/A):5},h.unstable_getCurrentPriorityLevel=function(){return Oe},h.unstable_next=function(A){switch(Oe){case 1:case 2:case 3:var k=3;break;default:k=Oe}var I=Oe;Oe=k;try{return A()}finally{Oe=I}},h.unstable_requestPaint=function(){Me=!0},h.unstable_runWithPriority=function(A,k){switch(A){case 1:case 2:case 3:case 4:case 5:break;default:A=3}var I=Oe;Oe=A;try{return k()}finally{Oe=I}},h.unstable_scheduleCallback=function(A,k,I){var ve=h.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?ve+I:ve):I=ve,A){case 1:var Y=-1;break;case 2:Y=250;break;case 5:Y=1073741823;break;case 4:Y=1e4;break;default:Y=5e3}return Y=I+Y,A={id:Ye++,callback:k,priorityLevel:A,startTime:I,expirationTime:Y,sortIndex:-1},I>ve?(A.sortIndex=I,O(Ne,A),b(Xe)===null&&A===b(Ne)&&(oe?(ye(ue),ue=-1):oe=!0,be(K,I-ve))):(A.sortIndex=Y,O(Xe,A),ge||ce||(ge=!0,W||(W=!0,Fe()))),A},h.unstable_shouldYield=V,h.unstable_wrapCallback=function(A){var k=Oe;return function(){var I=Oe;Oe=k;try{return A.apply(this,arguments)}finally{Oe=I}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(_g)),_g}var lb;function ab(){return lb||(lb=1,process.env.NODE_ENV==="production"?Tp.exports=RS():Tp.exports=zS()),Tp.exports}/**
|
|
9
|
+
*/var jf;function qd(){return jf||(jf=1,(function(i){function r(E,M){var O=E.length;E.push(M);l:for(;0<O;){var nl=O-1>>>1,_l=E[nl];if(0<s(_l,M))E[nl]=M,E[O]=_l,O=nl;else break l}}function h(E){return E.length===0?null:E[0]}function _(E){if(E.length===0)return null;var M=E[0],O=E.pop();if(O!==M){E[0]=O;l:for(var nl=0,_l=E.length,Nl=_l>>>1;nl<Nl;){var xl=2*(nl+1)-1,cl=E[xl],I=xl+1,Ml=E[I];if(0>s(cl,O))I<_l&&0>s(Ml,cl)?(E[nl]=Ml,E[I]=O,nl=I):(E[nl]=cl,E[xl]=O,nl=xl);else if(I<_l&&0>s(Ml,O))E[nl]=Ml,E[I]=O,nl=I;else break l}}return M}function s(E,M){var O=E.sortIndex-M.sortIndex;return O!==0?O:E.id-M.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var S=performance;i.unstable_now=function(){return S.now()}}else{var z=Date,x=z.now();i.unstable_now=function(){return z.now()-x}}var U=[],Z=[],el=1,D=null,q=3,dl=!1,fl=!1,$=!1,ll=!1,zl=typeof setTimeout=="function"?setTimeout:null,B=typeof clearTimeout=="function"?clearTimeout:null,k=typeof setImmediate<"u"?setImmediate:null;function j(E){for(var M=h(Z);M!==null;){if(M.callback===null)_(Z);else if(M.startTime<=E)_(Z),M.sortIndex=M.expirationTime,r(U,M);else break;M=h(Z)}}function Q(E){if($=!1,j(E),!fl)if(h(U)!==null)fl=!0,V||(V=!0,Y());else{var M=h(Z);M!==null&&F(Q,M.startTime-E)}}var V=!1,P=-1,W=5,X=-1;function L(){return ll?!0:!(i.unstable_now()-X<W)}function C(){if(ll=!1,V){var E=i.unstable_now();X=E;var M=!0;try{l:{fl=!1,$&&($=!1,B(P),P=-1),dl=!0;var O=q;try{t:{for(j(E),D=h(U);D!==null&&!(D.expirationTime>E&&L());){var nl=D.callback;if(typeof nl=="function"){D.callback=null,q=D.priorityLevel;var _l=nl(D.expirationTime<=E);if(E=i.unstable_now(),typeof _l=="function"){D.callback=_l,j(E),M=!0;break t}D===h(U)&&_(U),j(E)}else _(U);D=h(U)}if(D!==null)M=!0;else{var Nl=h(Z);Nl!==null&&F(Q,Nl.startTime-E),M=!1}}break l}finally{D=null,q=O,dl=!1}M=void 0}}finally{M?Y():V=!1}}}var Y;if(typeof k=="function")Y=function(){k(C)};else if(typeof MessageChannel<"u"){var ml=new MessageChannel,hl=ml.port2;ml.port1.onmessage=C,Y=function(){hl.postMessage(null)}}else Y=function(){zl(C,0)};function F(E,M){P=zl(function(){E(i.unstable_now())},M)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(E){E.callback=null},i.unstable_forceFrameRate=function(E){0>E||125<E?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):W=0<E?Math.floor(1e3/E):5},i.unstable_getCurrentPriorityLevel=function(){return q},i.unstable_next=function(E){switch(q){case 1:case 2:case 3:var M=3;break;default:M=q}var O=q;q=M;try{return E()}finally{q=O}},i.unstable_requestPaint=function(){ll=!0},i.unstable_runWithPriority=function(E,M){switch(E){case 1:case 2:case 3:case 4:case 5:break;default:E=3}var O=q;q=E;try{return M()}finally{q=O}},i.unstable_scheduleCallback=function(E,M,O){var nl=i.unstable_now();switch(typeof O=="object"&&O!==null?(O=O.delay,O=typeof O=="number"&&0<O?nl+O:nl):O=nl,E){case 1:var _l=-1;break;case 2:_l=250;break;case 5:_l=1073741823;break;case 4:_l=1e4;break;default:_l=5e3}return _l=O+_l,E={id:el++,callback:M,priorityLevel:E,startTime:O,expirationTime:_l,sortIndex:-1},O>nl?(E.sortIndex=O,r(Z,E),h(U)===null&&E===h(Z)&&($?(B(P),P=-1):$=!0,F(Q,O-nl))):(E.sortIndex=_l,r(U,E),fl||dl||(fl=!0,V||(V=!0,Y()))),E},i.unstable_shouldYield=L,i.unstable_wrapCallback=function(E){var M=q;return function(){var O=q;q=M;try{return E.apply(this,arguments)}finally{q=O}}}})(ii)),ii}var Uf;function kd(){return Uf||(Uf=1,ui.exports=qd()),ui.exports}var Rf;function Wd(){if(Rf)return Ra;Rf=1;var i={env:{}};/**
|
|
18
10
|
* @license React
|
|
19
11
|
* react-dom-client.production.js
|
|
20
12
|
*
|
|
@@ -22,232 +14,15 @@
|
|
|
22
14
|
*
|
|
23
15
|
* This source code is licensed under the MIT license found in the
|
|
24
16
|
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/var nb;function DS(){if(nb)return _h;nb=1;var h=ab(),E=Ze,O=Pv;function b(l){var n="https://react.dev/errors/"+l;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var u=2;u<arguments.length;u++)n+="&args[]="+encodeURIComponent(arguments[u])}return"Minified React error #"+l+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function D(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function C(l){var n=l,u=l;if(l.alternate)for(;n.return;)n=n.return;else{l=n;do n=l,(n.flags&4098)!==0&&(u=n.return),l=n.return;while(l)}return n.tag===3?u:null}function F(l){if(l.tag===13){var n=l.memoizedState;if(n===null&&(l=l.alternate,l!==null&&(n=l.memoizedState)),n!==null)return n.dehydrated}return null}function K(l){if(C(l)!==l)throw Error(b(188))}function V(l){var n=l.alternate;if(!n){if(n=C(l),n===null)throw Error(b(188));return n!==l?null:l}for(var u=l,c=n;;){var s=u.return;if(s===null)break;var r=s.alternate;if(r===null){if(c=s.return,c!==null){u=c;continue}break}if(s.child===r.child){for(r=s.child;r;){if(r===u)return K(s),l;if(r===c)return K(s),n;r=r.sibling}throw Error(b(188))}if(u.return!==c.return)u=s,c=r;else{for(var y=!1,p=s.child;p;){if(p===u){y=!0,u=s,c=r;break}if(p===c){y=!0,c=s,u=r;break}p=p.sibling}if(!y){for(p=r.child;p;){if(p===u){y=!0,u=r,c=s;break}if(p===c){y=!0,c=r,u=s;break}p=p.sibling}if(!y)throw Error(b(189))}}if(u.alternate!==c)throw Error(b(190))}if(u.tag!==3)throw Error(b(188));return u.stateNode.current===u?l:n}function be(l){var n=l.tag;if(n===5||n===26||n===27||n===6)return l;for(l=l.child;l!==null;){if(n=be(l),n!==null)return n;l=l.sibling}return null}var pe=Object.assign,ie=Symbol.for("react.element"),se=Symbol.for("react.transitional.element"),Xe=Symbol.for("react.portal"),Ne=Symbol.for("react.fragment"),Ye=Symbol.for("react.strict_mode"),xe=Symbol.for("react.profiler"),Oe=Symbol.for("react.provider"),ce=Symbol.for("react.consumer"),ge=Symbol.for("react.context"),oe=Symbol.for("react.forward_ref"),Me=Symbol.for("react.suspense"),Te=Symbol.for("react.suspense_list"),ye=Symbol.for("react.memo"),Re=Symbol.for("react.lazy"),W=Symbol.for("react.activity"),ue=Symbol.for("react.memo_cache_sentinel"),_e=Symbol.iterator;function te(l){return l===null||typeof l!="object"?null:(l=_e&&l[_e]||l["@@iterator"],typeof l=="function"?l:null)}var Fe=Symbol.for("react.client.reference");function rt(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===Fe?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case Ne:return"Fragment";case xe:return"Profiler";case Ye:return"StrictMode";case Me:return"Suspense";case Te:return"SuspenseList";case W:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case Xe:return"Portal";case ge:return(l.displayName||"Context")+".Provider";case ce:return(l._context.displayName||"Context")+".Consumer";case oe:var n=l.render;return l=l.displayName,l||(l=n.displayName||n.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case ye:return n=l.displayName||null,n!==null?n:rt(l.type)||"Memo";case Re:n=l._payload,l=l._init;try{return rt(l(n))}catch{}}return null}var mt=Array.isArray,A=E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,k=O.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I={pending:!1,data:null,method:null,action:null},ve=[],Y=-1;function ae(l){return{current:l}}function ee(l){0>Y||(l.current=ve[Y],ve[Y]=null,Y--)}function me(l,n){Y++,ve[Y]=l.current,l.current=n}var Ue=ae(null),nt=ae(null),$e=ae(null),sn=ae(null);function Tt(l,n){switch(me($e,n),me(nt,l),me(Ue,null),n.nodeType){case 9:case 11:l=(l=n.documentElement)&&(l=l.namespaceURI)?zu(l):0;break;default:if(l=n.tagName,n=n.namespaceURI)n=zu(n),l=Go(n,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}ee(Ue),me(Ue,l)}function ll(){ee(Ue),ee(nt),ee($e)}function Zt(l){l.memoizedState!==null&&me(sn,l);var n=Ue.current,u=Go(n,l.type);n!==u&&(me(nt,l),me(Ue,u))}function La(l){nt.current===l&&(ee(Ue),ee(nt)),sn.current===l&&(ee(sn),na._currentValue=I)}var wu=Object.prototype.hasOwnProperty,_a=h.unstable_scheduleCallback,Gu=h.unstable_cancelCallback,Ps=h.unstable_shouldYield,lu=h.unstable_requestPaint,Cl=h.unstable_now,Ea=h.unstable_getCurrentPriorityLevel,rn=h.unstable_ImmediatePriority,rf=h.unstable_UserBlockingPriority,df=h.unstable_NormalPriority,Mh=h.unstable_LowPriority,qc=h.unstable_IdlePriority,Hg=h.log,Dp=h.unstable_setDisableYieldValue,Kc=null,Hl=null;function au(l){if(typeof Hg=="function"&&Dp(l),Hl&&typeof Hl.setStrictMode=="function")try{Hl.setStrictMode(Kc,l)}catch{}}var Zl=Math.clz32?Math.clz32:Ng,Uh=Math.log,xp=Math.LN2;function Ng(l){return l>>>=0,l===0?32:31-(Uh(l)/xp|0)|0}var Jc=256,nu=4194304;function ia(l){var n=l&42;if(n!==0)return n;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:case 262144:case 524288:case 1048576:case 2097152:return l&4194048;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}}function Qu(l,n,u){var c=l.pendingLanes;if(c===0)return 0;var s=0,r=l.suspendedLanes,y=l.pingedLanes;l=l.warmLanes;var p=c&134217727;return p!==0?(c=p&~r,c!==0?s=ia(c):(y&=p,y!==0?s=ia(y):u||(u=p&~l,u!==0&&(s=ia(u))))):(p=c&~r,p!==0?s=ia(p):y!==0?s=ia(y):u||(u=c&~l,u!==0&&(s=ia(u)))),s===0?0:n!==0&&n!==s&&(n&r)===0&&(r=s&-s,u=n&-n,r>=u||r===32&&(u&4194048)!==0)?n:s}function dn(l,n){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&n)===0}function al(l,n){switch(l){case 1:case 2:case 4:case 8:case 64:return n+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 n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Vu(){var l=Jc;return Jc<<=1,(Jc&4194048)===0&&(Jc=256),l}function ji(){var l=nu;return nu<<=1,(nu&62914560)===0&&(nu=4194304),l}function Xu(l){for(var n=[],u=0;31>u;u++)n.push(l);return n}function Yi(l,n){l.pendingLanes|=n,n!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function Op(l,n,u,c,s,r){var y=l.pendingLanes;l.pendingLanes=u,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=u,l.entangledLanes&=u,l.errorRecoveryDisabledLanes&=u,l.shellSuspendCounter=0;var p=l.entanglements,S=l.expirationTimes,U=l.hiddenUpdates;for(u=y&~u;0<u;){var Z=31-Zl(u),$=1<<Z;p[Z]=0,S[Z]=-1;var N=U[Z];if(N!==null)for(U[Z]=null,Z=0;Z<N.length;Z++){var j=N[Z];j!==null&&(j.lane&=-536870913)}u&=~$}c!==0&&hf(l,c,0),r!==0&&s===0&&l.tag!==0&&(l.suspendedLanes|=r&~(y&~n))}function hf(l,n,u){l.pendingLanes|=n,l.suspendedLanes&=~n;var c=31-Zl(n);l.entangledLanes|=n,l.entanglements[c]=l.entanglements[c]|1073741824|u&4194090}function mf(l,n){var u=l.entangledLanes|=n;for(l=l.entanglements;u;){var c=31-Zl(u),s=1<<c;s&n|l[c]&n&&(l[c]|=n),u&=~s}}function Za(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}function er(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}function Mp(){var l=k.p;return l!==0?l:(l=window.event,l===void 0?32:By(l.type))}function Bg(l,n){var u=k.p;try{return k.p=l,n()}finally{k.p=u}}var kt=Math.random().toString(36).slice(2),nl="__reactFiber$"+kt,Nl="__reactProps$"+kt,kc="__reactContainer$"+kt,tr="__reactEvents$"+kt,Up="__reactListeners$"+kt,lr="__reactHandles$"+kt,Cp="__reactResources$"+kt,re="__reactMarker$"+kt;function yf(l){delete l[nl],delete l[Nl],delete l[tr],delete l[Up],delete l[lr]}function dl(l){var n=l[nl];if(n)return n;for(var u=l.parentNode;u;){if(n=u[kc]||u[nl]){if(u=n.alternate,n.child!==null||u!==null&&u.child!==null)for(l=bl(l);l!==null;){if(u=l[nl])return u;l=bl(l)}return n}l=u,u=l.parentNode}return null}function wi(l){if(l=l[nl]||l[kc]){var n=l.tag;if(n===5||n===6||n===13||n===26||n===27||n===3)return l}return null}function pf(l){var n=l.tag;if(n===5||n===26||n===27||n===6)return l.stateNode;throw Error(b(33))}function uu(l){var n=l[Cp];return n||(n=l[Cp]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function $t(l){l[re]=!0}var gf=new Set,ca={};function Lu(l,n){Zu(l,n),Zu(l+"Capture",n)}function Zu(l,n){for(ca[l]=n,l=0;l<n.length;l++)gf.add(n[l])}var Hp=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]*$"),ar={},Ch={};function Np(l){return wu.call(Ch,l)?!0:wu.call(ar,l)?!1:Hp.test(l)?Ch[l]=!0:(ar[l]=!0,!1)}function iu(l,n,u){if(Np(n))if(u===null)l.removeAttribute(n);else{switch(typeof u){case"undefined":case"function":case"symbol":l.removeAttribute(n);return;case"boolean":var c=n.toLowerCase().slice(0,5);if(c!=="data-"&&c!=="aria-"){l.removeAttribute(n);return}}l.setAttribute(n,""+u)}}function vf(l,n,u){if(u===null)l.removeAttribute(n);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(n);return}l.setAttribute(n,""+u)}}function hn(l,n,u,c){if(c===null)l.removeAttribute(u);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(u);return}l.setAttributeNS(n,u,""+c)}}var nr,Hh;function Gi(l){if(nr===void 0)try{throw Error()}catch(u){var n=u.stack.trim().match(/\n( *(at )?)/);nr=n&&n[1]||"",Hh=-1<u.stack.indexOf(`
|
|
26
|
-
at`)?" (<anonymous>)":-1<
|
|
27
|
-
`+
|
|
28
|
-
`),
|
|
29
|
-
`);for(
|
|
30
|
-
`+
|
|
31
|
-
Error generating stack: `+
|
|
32
|
-
`+u.stack}}function Al(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function bf(l){var n=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Bh(l){var n=bf(l)?"checked":"value",u=Object.getOwnPropertyDescriptor(l.constructor.prototype,n),c=""+l[n];if(!l.hasOwnProperty(n)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var s=u.get,r=u.set;return Object.defineProperty(l,n,{configurable:!0,get:function(){return s.call(this)},set:function(y){c=""+y,r.call(this,y)}}),Object.defineProperty(l,n,{enumerable:u.enumerable}),{getValue:function(){return c},setValue:function(y){c=""+y},stopTracking:function(){l._valueTracker=null,delete l[n]}}}}function Ku(l){l._valueTracker||(l._valueTracker=Bh(l))}function Vi(l){if(!l)return!1;var n=l._valueTracker;if(!n)return!0;var u=n.getValue(),c="";return l&&(c=bf(l)?l.checked?"true":"false":l.value),l=c,l!==u?(n.setValue(l),!0):!1}function $c(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}}var jg=/[\n"\\]/g;function Aa(l){return l.replace(jg,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function ur(l,n,u,c,s,r,y,p){l.name="",y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?l.type=y:l.removeAttribute("type"),n!=null?y==="number"?(n===0&&l.value===""||l.value!=n)&&(l.value=""+Al(n)):l.value!==""+Al(n)&&(l.value=""+Al(n)):y!=="submit"&&y!=="reset"||l.removeAttribute("value"),n!=null?Sf(l,y,Al(n)):u!=null?Sf(l,y,Al(u)):c!=null&&l.removeAttribute("value"),s==null&&r!=null&&(l.defaultChecked=!!r),s!=null&&(l.checked=s&&typeof s!="function"&&typeof s!="symbol"),p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"?l.name=""+Al(p):l.removeAttribute("name")}function ir(l,n,u,c,s,r,y,p){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(l.type=r),n!=null||u!=null){if(!(r!=="submit"&&r!=="reset"||n!=null))return;u=u!=null?""+Al(u):"",n=n!=null?""+Al(n):u,p||n===l.value||(l.value=n),l.defaultValue=n}c=c??s,c=typeof c!="function"&&typeof c!="symbol"&&!!c,l.checked=p?l.checked:!!c,l.defaultChecked=!!c,y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"&&(l.name=y)}function Sf(l,n,u){n==="number"&&$c(l.ownerDocument)===l||l.defaultValue===""+u||(l.defaultValue=""+u)}function Xi(l,n,u,c){if(l=l.options,n){n={};for(var s=0;s<u.length;s++)n["$"+u[s]]=!0;for(u=0;u<l.length;u++)s=n.hasOwnProperty("$"+l[u].value),l[u].selected!==s&&(l[u].selected=s),s&&c&&(l[u].defaultSelected=!0)}else{for(u=""+Al(u),n=null,s=0;s<l.length;s++){if(l[s].value===u){l[s].selected=!0,c&&(l[s].defaultSelected=!0);return}n!==null||l[s].disabled||(n=l[s])}n!==null&&(n.selected=!0)}}function jh(l,n,u){if(n!=null&&(n=""+Al(n),n!==l.value&&(l.value=n),u==null)){l.defaultValue!==n&&(l.defaultValue=n);return}l.defaultValue=u!=null?""+Al(u):""}function Yh(l,n,u,c){if(n==null){if(c!=null){if(u!=null)throw Error(b(92));if(mt(c)){if(1<c.length)throw Error(b(93));c=c[0]}u=c}u==null&&(u=""),n=u}u=Al(n),l.defaultValue=u,c=l.textContent,c===u&&c!==""&&c!==null&&(l.value=c)}function Wc(l,n){if(n){var u=l.firstChild;if(u&&u===l.lastChild&&u.nodeType===3){u.nodeValue=n;return}}l.textContent=n}var Bp=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 cr(l,n,u){var c=n.indexOf("--")===0;u==null||typeof u=="boolean"||u===""?c?l.setProperty(n,""):n==="float"?l.cssFloat="":l[n]="":c?l.setProperty(n,u):typeof u!="number"||u===0||Bp.has(n)?n==="float"?l.cssFloat=u:l[n]=(""+u).trim():l[n]=u+"px"}function Tf(l,n,u){if(n!=null&&typeof n!="object")throw Error(b(62));if(l=l.style,u!=null){for(var c in u)!u.hasOwnProperty(c)||n!=null&&n.hasOwnProperty(c)||(c.indexOf("--")===0?l.setProperty(c,""):c==="float"?l.cssFloat="":l[c]="");for(var s in n)c=n[s],n.hasOwnProperty(s)&&u[s]!==c&&cr(l,s,c)}else for(var r in n)n.hasOwnProperty(r)&&cr(l,r,n[r])}function Li(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}}var Yg=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"]]),jp=/^[\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 _f(l){return jp.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}var Zi=null;function or(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var Fc=null,Ic=null;function Yp(l){var n=wi(l);if(n&&(l=n.stateNode)){var u=l[Nl]||null;e:switch(l=n.stateNode,n.type){case"input":if(ur(l,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name),n=u.name,u.type==="radio"&&n!=null){for(u=l;u.parentNode;)u=u.parentNode;for(u=u.querySelectorAll('input[name="'+Aa(""+n)+'"][type="radio"]'),n=0;n<u.length;n++){var c=u[n];if(c!==l&&c.form===l.form){var s=c[Nl]||null;if(!s)throw Error(b(90));ur(c,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(n=0;n<u.length;n++)c=u[n],c.form===l.form&&Vi(c)}break e;case"textarea":jh(l,u.value,u.defaultValue);break e;case"select":n=u.value,n!=null&&Xi(l,!!u.multiple,n,!1)}}}var wh=!1;function Pc(l,n,u){if(wh)return l(n,u);wh=!0;try{var c=l(n);return c}finally{if(wh=!1,(Fc!==null||Ic!==null)&&(_c(),Fc&&(n=Fc,l=Ic,Ic=Fc=null,Yp(n),l)))for(n=0;n<l.length;n++)Yp(l[n])}}function qi(l,n){var u=l.stateNode;if(u===null)return null;var c=u[Nl]||null;if(c===null)return null;u=c[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(l=l.type,c=!(l==="button"||l==="input"||l==="select"||l==="textarea")),l=!c;break e;default:l=!1}if(l)return null;if(u&&typeof u!="function")throw Error(b(231,n,typeof u));return u}var mn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),fr=!1;if(mn)try{var cu={};Object.defineProperty(cu,"passive",{get:function(){fr=!0}}),window.addEventListener("test",cu,cu),window.removeEventListener("test",cu,cu)}catch{fr=!1}var ou=null,eo=null,Ki=null;function Gh(){if(Ki)return Ki;var l,n=eo,u=n.length,c,s="value"in ou?ou.value:ou.textContent,r=s.length;for(l=0;l<u&&n[l]===s[l];l++);var y=u-l;for(c=1;c<=y&&n[u-c]===s[r-c];c++);return Ki=s.slice(l,1<c?1-c:void 0)}function hl(l){var n=l.keyCode;return"charCode"in l?(l=l.charCode,l===0&&n===13&&(l=13)):l=n,l===10&&(l=13),32<=l||l===13?l:0}function sr(){return!0}function rr(){return!1}function jl(l){function n(u,c,s,r,y){this._reactName=u,this._targetInst=s,this.type=c,this.nativeEvent=r,this.target=y,this.currentTarget=null;for(var p in l)l.hasOwnProperty(p)&&(u=l[p],this[p]=u?u(r):r[p]);return this.isDefaultPrevented=(r.defaultPrevented!=null?r.defaultPrevented:r.returnValue===!1)?sr:rr,this.isPropagationStopped=rr,this}return pe(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!="unknown"&&(u.returnValue=!1),this.isDefaultPrevented=sr)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=sr)},persist:function(){},isPersistent:sr}),n}var Ju={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},dr=jl(Ju),Ef=pe({},Ju,{view:0,detail:0}),wp=jl(Ef),Qh,hr,Af,Ji=pe({},Ef,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:fu,button:0,buttons:0,relatedTarget:function(l){return l.relatedTarget===void 0?l.fromElement===l.srcElement?l.toElement:l.fromElement:l.relatedTarget},movementX:function(l){return"movementX"in l?l.movementX:(l!==Af&&(Af&&l.type==="mousemove"?(Qh=l.screenX-Af.screenX,hr=l.screenY-Af.screenY):hr=Qh=0,Af=l),Qh)},movementY:function(l){return"movementY"in l?l.movementY:hr}}),Vh=jl(Ji),Gp=pe({},Ji,{dataTransfer:0}),Qp=jl(Gp),wg=pe({},Ef,{relatedTarget:0}),Xh=jl(wg),Gg=pe({},Ju,{animationName:0,elapsedTime:0,pseudoElement:0}),Qg=jl(Gg),Vg=pe({},Ju,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),Rf=jl(Vg),Vp=pe({},Ju,{data:0}),Lh=jl(Vp),Xp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Lp={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"},Zh={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Zp(l){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(l):(l=Zh[l])?!!n[l]:!1}function fu(){return Zp}var ki=pe({},Ef,{key:function(l){if(l.key){var n=Xp[l.key]||l.key;if(n!=="Unidentified")return n}return l.type==="keypress"?(l=hl(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?Lp[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:fu,charCode:function(l){return l.type==="keypress"?hl(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?hl(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),qa=jl(ki),oa=pe({},Ji,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),zf=jl(oa),mr=pe({},Ef,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:fu}),qh=jl(mr),ql=pe({},Ju,{propertyName:0,elapsedTime:0,pseudoElement:0}),qp=jl(ql),yr=pe({},Ji,{deltaX:function(l){return"deltaX"in l?l.deltaX:"wheelDeltaX"in l?-l.wheelDeltaX:0},deltaY:function(l){return"deltaY"in l?l.deltaY:"wheelDeltaY"in l?-l.wheelDeltaY:"wheelDelta"in l?-l.wheelDelta:0},deltaZ:0,deltaMode:0}),$i=jl(yr),Kh=pe({},Ju,{newState:0,oldState:0}),Kp=jl(Kh),Jp=[9,13,27,32],Df=mn&&"CompositionEvent"in window,xf=null;mn&&"documentMode"in document&&(xf=document.documentMode);var Jh=mn&&"TextEvent"in window&&!xf,yn=mn&&(!Df||xf&&8<xf&&11>=xf),kh=" ",pr=!1;function Of(l,n){switch(l){case"keyup":return Jp.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ku(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var $u=!1;function $h(l,n){switch(l){case"compositionend":return ku(n);case"keypress":return n.which!==32?null:(pr=!0,kh);case"textInput":return l=n.data,l===kh&&pr?null:l;default:return null}}function Wi(l,n){if($u)return l==="compositionend"||!Df&&Of(l,n)?(l=Gh(),Ki=eo=ou=null,$u=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return yn&&n.locale!=="ko"?null:n.data;default:return null}}var kp={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 gr(l){var n=l&&l.nodeName&&l.nodeName.toLowerCase();return n==="input"?!!kp[l.type]:n==="textarea"}function vr(l,n,u,c){Fc?Ic?Ic.push(c):Ic=[c]:Fc=c,n=wo(n,"onChange"),0<n.length&&(u=new dr("onChange","change",null,u,c),l.push({event:u,listeners:n}))}var Ka=null,Ja=null;function Wh(l){zc(l,0)}function pn(l){var n=pf(l);if(Vi(n))return l}function Fh(l,n){if(l==="change")return n}var Ih=!1;if(mn){var Fi;if(mn){var Ii="oninput"in document;if(!Ii){var Ph=document.createElement("div");Ph.setAttribute("oninput","return;"),Ii=typeof Ph.oninput=="function"}Fi=Ii}else Fi=!1;Ih=Fi&&(!document.documentMode||9<document.documentMode)}function to(){Ka&&(Ka.detachEvent("onpropertychange",em),Ja=Ka=null)}function em(l){if(l.propertyName==="value"&&pn(Ja)){var n=[];vr(n,Ja,l,or(l)),Pc(Wh,n)}}function br(l,n,u){l==="focusin"?(to(),Ka=n,Ja=u,Ka.attachEvent("onpropertychange",em)):l==="focusout"&&to()}function Wu(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return pn(Ja)}function su(l,n){if(l==="click")return pn(n)}function tm(l,n){if(l==="input"||l==="change")return pn(n)}function lm(l,n){return l===n&&(l!==0||1/l===1/n)||l!==l&&n!==n}var ml=typeof Object.is=="function"?Object.is:lm;function Fu(l,n){if(ml(l,n))return!0;if(typeof l!="object"||l===null||typeof n!="object"||n===null)return!1;var u=Object.keys(l),c=Object.keys(n);if(u.length!==c.length)return!1;for(c=0;c<u.length;c++){var s=u[c];if(!wu.call(n,s)||!ml(l[s],n[s]))return!1}return!0}function Iu(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function At(l,n){var u=Iu(l);l=0;for(var c;u;){if(u.nodeType===3){if(c=l+u.textContent.length,l<=n&&c>=n)return{node:u,offset:n-l};l=c}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=Iu(u)}}function Mf(l,n){return l&&n?l===n?!0:l&&l.nodeType===3?!1:n&&n.nodeType===3?Mf(l,n.parentNode):"contains"in l?l.contains(n):l.compareDocumentPosition?!!(l.compareDocumentPosition(n)&16):!1:!1}function am(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var n=$c(l.document);n instanceof l.HTMLIFrameElement;){try{var u=typeof n.contentWindow.location.href=="string"}catch{u=!1}if(u)l=n.contentWindow;else break;n=$c(l.document)}return n}function Uf(l){var n=l&&l.nodeName&&l.nodeName.toLowerCase();return n&&(n==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||n==="textarea"||l.contentEditable==="true")}var Pi=mn&&"documentMode"in document&&11>=document.documentMode,gn=null,ka=null,Pu=null,ec=!1;function Sr(l,n,u){var c=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;ec||gn==null||gn!==$c(c)||(c=gn,"selectionStart"in c&&Uf(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),Pu&&Fu(Pu,c)||(Pu=c,c=wo(ka,"onSelect"),0<c.length&&(n=new dr("onSelect","select",null,n,u),l.push({event:n,listeners:c}),n.target=gn)))}function ru(l,n){var u={};return u[l.toLowerCase()]=n.toLowerCase(),u["Webkit"+l]="webkit"+n,u["Moz"+l]="moz"+n,u}var tc={animationend:ru("Animation","AnimationEnd"),animationiteration:ru("Animation","AnimationIteration"),animationstart:ru("Animation","AnimationStart"),transitionrun:ru("Transition","TransitionRun"),transitionstart:ru("Transition","TransitionStart"),transitioncancel:ru("Transition","TransitionCancel"),transitionend:ru("Transition","TransitionEnd")},Ra={},$a={};mn&&($a=document.createElement("div").style,"AnimationEvent"in window||(delete tc.animationend.animation,delete tc.animationiteration.animation,delete tc.animationstart.animation),"TransitionEvent"in window||delete tc.transitionend.transition);function vn(l){if(Ra[l])return Ra[l];if(!tc[l])return l;var n=tc[l],u;for(u in n)if(n.hasOwnProperty(u)&&u in $a)return Ra[l]=n[u];return l}var $p=vn("animationend"),nm=vn("animationiteration"),Wp=vn("animationstart"),um=vn("transitionrun"),Tr=vn("transitionstart"),Fp=vn("transitioncancel"),im=vn("transitionend"),cm=new Map,lo="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(" ");lo.push("scrollEnd");function za(l,n){cm.set(l,n),Lu(n,[l])}var om=new WeakMap;function fa(l,n){if(typeof l=="object"&&l!==null){var u=om.get(l);return u!==void 0?u:(n={value:l,source:n,stack:Nh(n)},om.set(l,n),n)}return{value:l,source:n,stack:Nh(n)}}var Kl=[],ei=0,bn=0;function Wa(){for(var l=ei,n=bn=ei=0;n<l;){var u=Kl[n];Kl[n++]=null;var c=Kl[n];Kl[n++]=null;var s=Kl[n];Kl[n++]=null;var r=Kl[n];if(Kl[n++]=null,c!==null&&s!==null){var y=c.pending;y===null?s.next=s:(s.next=y.next,y.next=s),c.pending=s}r!==0&&no(u,s,r)}}function ti(l,n,u,c){Kl[ei++]=l,Kl[ei++]=n,Kl[ei++]=u,Kl[ei++]=c,bn|=c,l.lanes|=c,l=l.alternate,l!==null&&(l.lanes|=c)}function ao(l,n,u,c){return ti(l,n,u,c),Cf(l)}function Sn(l,n){return ti(l,null,null,n),Cf(l)}function no(l,n,u){l.lanes|=u;var c=l.alternate;c!==null&&(c.lanes|=u);for(var s=!1,r=l.return;r!==null;)r.childLanes|=u,c=r.alternate,c!==null&&(c.childLanes|=u),r.tag===22&&(l=r.stateNode,l===null||l._visibility&1||(s=!0)),l=r,r=r.return;return l.tag===3?(r=l.stateNode,s&&n!==null&&(s=31-Zl(u),l=r.hiddenUpdates,c=l[s],c===null?l[s]=[n]:c.push(n),n.lane=u|536870912),r):null}function Cf(l){if(50<Co)throw Co=0,oy=null,Error(b(185));for(var n=l.return;n!==null;)l=n,n=l.return;return l.tag===3?l.stateNode:null}var uo={};function Ip(l,n,u,c){this.tag=l,this.key=u,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Jl(l,n,u,c){return new Ip(l,n,u,c)}function Hf(l){return l=l.prototype,!(!l||!l.isReactComponent)}function Fa(l,n){var u=l.alternate;return u===null?(u=Jl(l.tag,n,l.key,l.mode),u.elementType=l.elementType,u.type=l.type,u.stateNode=l.stateNode,u.alternate=l,l.alternate=u):(u.pendingProps=n,u.type=l.type,u.flags=0,u.subtreeFlags=0,u.deletions=null),u.flags=l.flags&65011712,u.childLanes=l.childLanes,u.lanes=l.lanes,u.child=l.child,u.memoizedProps=l.memoizedProps,u.memoizedState=l.memoizedState,u.updateQueue=l.updateQueue,n=l.dependencies,u.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},u.sibling=l.sibling,u.index=l.index,u.ref=l.ref,u.refCleanup=l.refCleanup,u}function Ke(l,n){l.flags&=65011714;var u=l.alternate;return u===null?(l.childLanes=0,l.lanes=n,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=u.childLanes,l.lanes=u.lanes,l.child=u.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=u.memoizedProps,l.memoizedState=u.memoizedState,l.updateQueue=u.updateQueue,l.type=u.type,n=u.dependencies,l.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),l}function P(l,n,u,c,s,r){var y=0;if(c=l,typeof l=="function")Hf(l)&&(y=1);else if(typeof l=="string")y=C0(l,u,Ue.current)?26:l==="html"||l==="head"||l==="body"?27:5;else e:switch(l){case W:return l=Jl(31,u,n,s),l.elementType=W,l.lanes=r,l;case Ne:return Da(u.children,s,r,n);case Ye:y=8,s|=24;break;case xe:return l=Jl(12,u,n,s|2),l.elementType=xe,l.lanes=r,l;case Me:return l=Jl(13,u,n,s),l.elementType=Me,l.lanes=r,l;case Te:return l=Jl(19,u,n,s),l.elementType=Te,l.lanes=r,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case Oe:case ge:y=10;break e;case ce:y=9;break e;case oe:y=11;break e;case ye:y=14;break e;case Re:y=16,c=null;break e}y=29,u=Error(b(130,l===null?"null":typeof l,"")),c=null}return n=Jl(y,u,n,s),n.elementType=l,n.type=c,n.lanes=r,n}function Da(l,n,u,c){return l=Jl(7,l,c,n),l.lanes=u,l}function io(l,n,u){return l=Jl(6,l,null,n),l.lanes=u,l}function Ut(l,n,u){return n=Jl(4,l.children!==null?l.children:[],l.key,n),n.lanes=u,n.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},n}var li=[],ai=0,Nf=null,co=0,xa=[],kl=0,du=null,Ia=1,Nt="";function lt(l,n){li[ai++]=co,li[ai++]=Nf,Nf=l,co=n}function _r(l,n,u){xa[kl++]=Ia,xa[kl++]=Nt,xa[kl++]=du,du=l;var c=Ia;l=Nt;var s=32-Zl(c)-1;c&=~(1<<s),u+=1;var r=32-Zl(n)+s;if(30<r){var y=s-s%5;r=(c&(1<<y)-1).toString(32),c>>=y,s-=y,Ia=1<<32-Zl(n)+s|u<<s|c,Nt=r+l}else Ia=1<<r|u<<s|c,Nt=l}function lc(l){l.return!==null&&(lt(l,1),_r(l,1,0))}function Tn(l){for(;l===Nf;)Nf=li[--ai],li[ai]=null,co=li[--ai],li[ai]=null;for(;l===du;)du=xa[--kl],xa[kl]=null,Nt=xa[--kl],xa[kl]=null,Ia=xa[--kl],xa[kl]=null}var Lt=null,ct=null,it=!1,Oa=null,Ma=!1,ac=Error(b(519));function hu(l){var n=Error(b(418,""));throw so(fa(n,l)),ac}function Bf(l){var n=l.stateNode,u=l.type,c=l.memoizedProps;switch(n[nl]=l,n[Nl]=c,u){case"dialog":Ge("cancel",n),Ge("close",n);break;case"iframe":case"object":case"embed":Ge("load",n);break;case"video":case"audio":for(u=0;u<Ss.length;u++)Ge(Ss[u],n);break;case"source":Ge("error",n);break;case"img":case"image":case"link":Ge("error",n),Ge("load",n);break;case"details":Ge("toggle",n);break;case"input":Ge("invalid",n),ir(n,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0),Ku(n);break;case"select":Ge("invalid",n);break;case"textarea":Ge("invalid",n),Yh(n,c.value,c.defaultValue,c.children),Ku(n)}u=c.children,typeof u!="string"&&typeof u!="number"&&typeof u!="bigint"||n.textContent===""+u||c.suppressHydrationWarning===!0||_y(n.textContent,u)?(c.popover!=null&&(Ge("beforetoggle",n),Ge("toggle",n)),c.onScroll!=null&&Ge("scroll",n),c.onScrollEnd!=null&&Ge("scrollend",n),c.onClick!=null&&(n.onclick=Cd),n=!0):n=!1,n||hu(l)}function fm(l){for(Lt=l.return;Lt;)switch(Lt.tag){case 5:case 13:Ma=!1;return;case 27:case 3:Ma=!0;return;default:Lt=Lt.return}}function oo(l){if(l!==Lt)return!1;if(!it)return fm(l),it=!0,!1;var n=l.tag,u;if((u=n!==3&&n!==27)&&((u=n===5)&&(u=l.type,u=!(u!=="form"&&u!=="button")||Vn(l.type,l.memoizedProps)),u=!u),u&&ct&&hu(l),fm(l),n===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(b(317));e:{for(l=l.nextSibling,n=0;l;){if(l.nodeType===8)if(u=l.data,u==="/$"){if(n===0){ct=nn(l.nextSibling);break e}n--}else u!=="$"&&u!=="$!"&&u!=="$?"||n++;l=l.nextSibling}ct=null}}else n===27?(n=ct,Ti(l.type)?(l=_i,_i=null,ct=l):ct=n):ct=Lt?nn(l.stateNode.nextSibling):null;return!0}function fo(){ct=Lt=null,it=!1}function sm(){var l=Oa;return l!==null&&(ea===null?ea=l:ea.push.apply(ea,l),Oa=null),l}function so(l){Oa===null?Oa=[l]:Oa.push(l)}var jf=ae(null),mu=null,Pa=null;function yu(l,n,u){me(jf,n._currentValue),n._currentValue=u}function _n(l){l._currentValue=jf.current,ee(jf)}function Er(l,n,u){for(;l!==null;){var c=l.alternate;if((l.childLanes&n)!==n?(l.childLanes|=n,c!==null&&(c.childLanes|=n)):c!==null&&(c.childLanes&n)!==n&&(c.childLanes|=n),l===u)break;l=l.return}}function rm(l,n,u,c){var s=l.child;for(s!==null&&(s.return=l);s!==null;){var r=s.dependencies;if(r!==null){var y=s.child;r=r.firstContext;e:for(;r!==null;){var p=r;r=s;for(var S=0;S<n.length;S++)if(p.context===n[S]){r.lanes|=u,p=r.alternate,p!==null&&(p.lanes|=u),Er(r.return,u,l),c||(y=null);break e}r=p.next}}else if(s.tag===18){if(y=s.return,y===null)throw Error(b(341));y.lanes|=u,r=y.alternate,r!==null&&(r.lanes|=u),Er(y,u,l),y=null}else y=s.child;if(y!==null)y.return=s;else for(y=s;y!==null;){if(y===l){y=null;break}if(s=y.sibling,s!==null){s.return=y.return,y=s;break}y=y.return}s=y}}function ro(l,n,u,c){l=null;for(var s=n,r=!1;s!==null;){if(!r){if((s.flags&524288)!==0)r=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var y=s.alternate;if(y===null)throw Error(b(387));if(y=y.memoizedProps,y!==null){var p=s.type;ml(s.pendingProps.value,y.value)||(l!==null?l.push(p):l=[p])}}else if(s===sn.current){if(y=s.alternate,y===null)throw Error(b(387));y.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(l!==null?l.push(na):l=[na])}s=s.return}l!==null&&rm(n,l,u,c),n.flags|=262144}function Yf(l){for(l=l.firstContext;l!==null;){if(!ml(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}function ni(l){mu=l,Pa=null,l=l.dependencies,l!==null&&(l.firstContext=null)}function ul(l){return dm(mu,l)}function wf(l,n){return mu===null&&ni(l),dm(l,n)}function dm(l,n){var u=n._currentValue;if(n={context:n,memoizedValue:u,next:null},Pa===null){if(l===null)throw Error(b(308));Pa=n,l.dependencies={lanes:0,firstContext:n},l.flags|=524288}else Pa=Pa.next=n;return u}var ho=typeof AbortController<"u"?AbortController:function(){var l=[],n=this.signal={aborted:!1,addEventListener:function(u,c){l.push(c)}};this.abort=function(){n.aborted=!0,l.forEach(function(u){return u()})}},Ar=h.unstable_scheduleCallback,Pp=h.unstable_NormalPriority,Wt={$$typeof:ge,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function mo(){return{controller:new ho,data:new Map,refCount:0}}function En(l){l.refCount--,l.refCount===0&&Ar(Pp,function(){l.controller.abort()})}var ui=null,Gf=0,Ua=0,Ft=null;function Rr(l,n){if(ui===null){var u=ui=[];Gf=0,Ua=Rc(),Ft={status:"pending",value:void 0,then:function(c){u.push(c)}}}return Gf++,n.then(zr,zr),n}function zr(){if(--Gf===0&&ui!==null){Ft!==null&&(Ft.status="fulfilled");var l=ui;ui=null,Ua=0,Ft=null;for(var n=0;n<l.length;n++)(0,l[n])()}}function e0(l,n){var u=[],c={status:"pending",value:null,reason:null,then:function(s){u.push(s)}};return l.then(function(){c.status="fulfilled",c.value=n;for(var s=0;s<u.length;s++)(0,u[s])(n)},function(s){for(c.status="rejected",c.reason=s,s=0;s<u.length;s++)(0,u[s])(void 0)}),c}var Dr=A.S;A.S=function(l,n){typeof n=="object"&&n!==null&&typeof n.then=="function"&&Rr(l,n),Dr!==null&&Dr(l,n)};var An=ae(null);function Qf(){var l=An.current;return l!==null?l:_t.pooledCache}function nc(l,n){n===null?me(An,An.current):me(An,n.pool)}function xr(){var l=Qf();return l===null?null:{parent:Wt._currentValue,pool:l}}var ii=Error(b(460)),Or=Error(b(474)),Vf=Error(b(542)),Mr={then:function(){}};function Ur(l){return l=l.status,l==="fulfilled"||l==="rejected"}function Xf(){}function hm(l,n,u){switch(u=l[u],u===void 0?l.push(n):u!==n&&(n.then(Xf,Xf),n=u),n.status){case"fulfilled":return n.value;case"rejected":throw l=n.reason,ym(l),l;default:if(typeof n.status=="string")n.then(Xf,Xf);else{if(l=_t,l!==null&&100<l.shellSuspendCounter)throw Error(b(482));l=n,l.status="pending",l.then(function(c){if(n.status==="pending"){var s=n;s.status="fulfilled",s.value=c}},function(c){if(n.status==="pending"){var s=n;s.status="rejected",s.reason=c}})}switch(n.status){case"fulfilled":return n.value;case"rejected":throw l=n.reason,ym(l),l}throw uc=n,ii}}var uc=null;function mm(){if(uc===null)throw Error(b(459));var l=uc;return uc=null,l}function ym(l){if(l===ii||l===Vf)throw Error(b(483))}var Rn=!1;function Cr(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Hr(l,n){l=l.updateQueue,n.updateQueue===l&&(n.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,callbacks:null})}function $l(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}function zn(l,n,u){var c=l.updateQueue;if(c===null)return null;if(c=c.shared,(ht&2)!==0){var s=c.pending;return s===null?n.next=n:(n.next=s.next,s.next=n),c.pending=n,n=Cf(l),no(l,null,u),n}return ti(l,c,n,u),Cf(l)}function ic(l,n,u){if(n=n.updateQueue,n!==null&&(n=n.shared,(u&4194048)!==0)){var c=n.lanes;c&=l.pendingLanes,u|=c,n.lanes=u,mf(l,u)}}function pm(l,n){var u=l.updateQueue,c=l.alternate;if(c!==null&&(c=c.updateQueue,u===c)){var s=null,r=null;if(u=u.firstBaseUpdate,u!==null){do{var y={lane:u.lane,tag:u.tag,payload:u.payload,callback:null,next:null};r===null?s=r=y:r=r.next=y,u=u.next}while(u!==null);r===null?s=r=n:r=r.next=n}else s=r=n;u={baseState:c.baseState,firstBaseUpdate:s,lastBaseUpdate:r,shared:c.shared,callbacks:c.callbacks},l.updateQueue=u;return}l=u.lastBaseUpdate,l===null?u.firstBaseUpdate=n:l.next=n,u.lastBaseUpdate=n}var gm=!1;function yo(){if(gm){var l=Ft;if(l!==null)throw l}}function pu(l,n,u,c){gm=!1;var s=l.updateQueue;Rn=!1;var r=s.firstBaseUpdate,y=s.lastBaseUpdate,p=s.shared.pending;if(p!==null){s.shared.pending=null;var S=p,U=S.next;S.next=null,y===null?r=U:y.next=U,y=S;var Z=l.alternate;Z!==null&&(Z=Z.updateQueue,p=Z.lastBaseUpdate,p!==y&&(p===null?Z.firstBaseUpdate=U:p.next=U,Z.lastBaseUpdate=S))}if(r!==null){var $=s.baseState;y=0,Z=U=S=null,p=r;do{var N=p.lane&-536870913,j=N!==p.lane;if(j?(Pe&N)===N:(c&N)===N){N!==0&&N===Ua&&(gm=!0),Z!==null&&(Z=Z.next={lane:0,tag:p.tag,payload:p.payload,callback:null,next:null});e:{var Ee=l,Ae=p;N=n;var ft=u;switch(Ae.tag){case 1:if(Ee=Ae.payload,typeof Ee=="function"){$=Ee.call(ft,$,N);break e}$=Ee;break e;case 3:Ee.flags=Ee.flags&-65537|128;case 0:if(Ee=Ae.payload,N=typeof Ee=="function"?Ee.call(ft,$,N):Ee,N==null)break e;$=pe({},$,N);break e;case 2:Rn=!0}}N=p.callback,N!==null&&(l.flags|=64,j&&(l.flags|=8192),j=s.callbacks,j===null?s.callbacks=[N]:j.push(N))}else j={lane:N,tag:p.tag,payload:p.payload,callback:p.callback,next:null},Z===null?(U=Z=j,S=$):Z=Z.next=j,y|=N;if(p=p.next,p===null){if(p=s.shared.pending,p===null)break;j=p,p=j.next,j.next=null,s.lastBaseUpdate=j,s.shared.pending=null}}while(!0);Z===null&&(S=$),s.baseState=S,s.firstBaseUpdate=U,s.lastBaseUpdate=Z,r===null&&(s.shared.lanes=0),Eu|=y,l.lanes=y,l.memoizedState=$}}function Nr(l,n){if(typeof l!="function")throw Error(b(191,l));l.call(n)}function Lf(l,n){var u=l.callbacks;if(u!==null)for(l.callbacks=null,l=0;l<u.length;l++)Nr(u[l],n)}var cc=ae(null),Zf=ae(0);function il(l,n){l=_u,me(Zf,l),me(cc,n),_u=l|n.baseLanes}function po(){me(Zf,_u),me(cc,cc.current)}function go(){_u=Zf.current,ee(cc),ee(Zf)}var Ca=0,we=null,dt=null,Ct=null,qf=!1,sa=!1,ci=!1,en=0,ra=0,gu=null,vm=0;function Ht(){throw Error(b(321))}function Br(l,n){if(n===null)return!1;for(var u=0;u<n.length&&u<l.length;u++)if(!ml(l[u],n[u]))return!1;return!0}function jr(l,n,u,c,s,r){return Ca=r,we=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,A.H=l===null||l.memoizedState===null?Hm:Nm,ci=!1,r=u(c,s),ci=!1,sa&&(r=bm(n,u,c,s)),oi(l),r}function oi(l){A.H=Pr;var n=dt!==null&&dt.next!==null;if(Ca=0,Ct=dt=we=null,qf=!1,ra=0,gu=null,n)throw Error(b(300));l===null||It||(l=l.dependencies,l!==null&&Yf(l)&&(It=!0))}function bm(l,n,u,c){we=l;var s=0;do{if(sa&&(gu=null),ra=0,sa=!1,25<=s)throw Error(b(301));if(s+=1,Ct=dt=null,l.updateQueue!=null){var r=l.updateQueue;r.lastEffect=null,r.events=null,r.stores=null,r.memoCache!=null&&(r.memoCache.index=0)}A.H=vu,r=n(u,c)}while(sa);return r}function t0(){var l=A.H,n=l.useState()[0];return n=typeof n.then=="function"?Jf(n):n,l=l.useState()[0],(dt!==null?dt.memoizedState:null)!==l&&(we.flags|=1024),n}function Yr(){var l=en!==0;return en=0,l}function vo(l,n,u){n.updateQueue=l.updateQueue,n.flags&=-2053,l.lanes&=~u}function wr(l){if(qf){for(l=l.memoizedState;l!==null;){var n=l.queue;n!==null&&(n.pending=null),l=l.next}qf=!1}Ca=0,Ct=dt=we=null,sa=!1,ra=en=0,gu=null}function Rl(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ct===null?we.memoizedState=Ct=l:Ct=Ct.next=l,Ct}function Bt(){if(dt===null){var l=we.alternate;l=l!==null?l.memoizedState:null}else l=dt.next;var n=Ct===null?we.memoizedState:Ct.next;if(n!==null)Ct=n,dt=l;else{if(l===null)throw we.alternate===null?Error(b(467)):Error(b(310));dt=l,l={memoizedState:dt.memoizedState,baseState:dt.baseState,baseQueue:dt.baseQueue,queue:dt.queue,next:null},Ct===null?we.memoizedState=Ct=l:Ct=Ct.next=l}return Ct}function Kf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Jf(l){var n=ra;return ra+=1,gu===null&&(gu=[]),l=hm(gu,l,n),n=we,(Ct===null?n.memoizedState:Ct.next)===null&&(n=n.alternate,A.H=n===null||n.memoizedState===null?Hm:Nm),l}function qt(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return Jf(l);if(l.$$typeof===ge)return ul(l)}throw Error(b(438,String(l)))}function Gr(l){var n=null,u=we.updateQueue;if(u!==null&&(n=u.memoCache),n==null){var c=we.alternate;c!==null&&(c=c.updateQueue,c!==null&&(c=c.memoCache,c!=null&&(n={data:c.data.map(function(s){return s.slice()}),index:0})))}if(n==null&&(n={data:[],index:0}),u===null&&(u=Kf(),we.updateQueue=u),u.memoCache=n,u=n.data[n.index],u===void 0)for(u=n.data[n.index]=Array(l),c=0;c<l;c++)u[c]=ue;return n.index++,u}function Dn(l,n){return typeof n=="function"?n(l):n}function kf(l){var n=Bt();return Qr(n,dt,l)}function Qr(l,n,u){var c=l.queue;if(c===null)throw Error(b(311));c.lastRenderedReducer=u;var s=l.baseQueue,r=c.pending;if(r!==null){if(s!==null){var y=s.next;s.next=r.next,r.next=y}n.baseQueue=s=r,c.pending=null}if(r=l.baseState,s===null)l.memoizedState=r;else{n=s.next;var p=y=null,S=null,U=n,Z=!1;do{var $=U.lane&-536870913;if($!==U.lane?(Pe&$)===$:(Ca&$)===$){var N=U.revertLane;if(N===0)S!==null&&(S=S.next={lane:0,revertLane:0,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null}),$===Ua&&(Z=!0);else if((Ca&N)===N){U=U.next,N===Ua&&(Z=!0);continue}else $={lane:0,revertLane:U.revertLane,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null},S===null?(p=S=$,y=r):S=S.next=$,we.lanes|=N,Eu|=N;$=U.action,ci&&u(r,$),r=U.hasEagerState?U.eagerState:u(r,$)}else N={lane:$,revertLane:U.revertLane,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null},S===null?(p=S=N,y=r):S=S.next=N,we.lanes|=$,Eu|=$;U=U.next}while(U!==null&&U!==n);if(S===null?y=r:S.next=p,!ml(r,l.memoizedState)&&(It=!0,Z&&(u=Ft,u!==null)))throw u;l.memoizedState=r,l.baseState=y,l.baseQueue=S,c.lastRenderedState=r}return s===null&&(c.lanes=0),[l.memoizedState,c.dispatch]}function Vr(l){var n=Bt(),u=n.queue;if(u===null)throw Error(b(311));u.lastRenderedReducer=l;var c=u.dispatch,s=u.pending,r=n.memoizedState;if(s!==null){u.pending=null;var y=s=s.next;do r=l(r,y.action),y=y.next;while(y!==s);ml(r,n.memoizedState)||(It=!0),n.memoizedState=r,n.baseQueue===null&&(n.baseState=r),u.lastRenderedState=r}return[r,c]}function $f(l,n,u){var c=we,s=Bt(),r=it;if(r){if(u===void 0)throw Error(b(407));u=u()}else u=n();var y=!ml((dt||s).memoizedState,u);y&&(s.memoizedState=u,It=!0),s=s.queue;var p=Tm.bind(null,c,s,l);if(vt(2048,8,p,[l]),s.getSnapshot!==n||y||Ct!==null&&Ct.memoizedState.tag&1){if(c.flags|=2048,Wl(9,If(),Sm.bind(null,c,s,u,n),null),_t===null)throw Error(b(349));r||(Ca&124)!==0||Xr(c,n,u)}return u}function Xr(l,n,u){l.flags|=16384,l={getSnapshot:n,value:u},n=we.updateQueue,n===null?(n=Kf(),we.updateQueue=n,n.stores=[l]):(u=n.stores,u===null?n.stores=[l]:u.push(l))}function Sm(l,n,u,c){n.value=u,n.getSnapshot=c,_m(n)&&Lr(l)}function Tm(l,n,u){return u(function(){_m(n)&&Lr(l)})}function _m(l){var n=l.getSnapshot;l=l.value;try{var u=n();return!ml(l,u)}catch{return!0}}function Lr(l){var n=Sn(l,2);n!==null&&ma(n,l,2)}function Wf(l){var n=Rl();if(typeof l=="function"){var u=l;if(l=u(),ci){au(!0);try{u()}finally{au(!1)}}}return n.memoizedState=n.baseState=l,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Dn,lastRenderedState:l},n}function Zr(l,n,u,c){return l.baseState=u,Qr(l,dt,typeof c=="function"?c:Dn)}function l0(l,n,u,c,s){if(rc(l))throw Error(b(485));if(l=n.action,l!==null){var r={payload:s,action:l,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(y){r.listeners.push(y)}};A.T!==null?u(!0):r.isTransition=!1,c(r),u=n.pending,u===null?(r.next=n.pending=r,qr(n,r)):(r.next=u.next,n.pending=u.next=r)}}function qr(l,n){var u=n.action,c=n.payload,s=l.state;if(n.isTransition){var r=A.T,y={};A.T=y;try{var p=u(s,c),S=A.S;S!==null&&S(y,p),Ff(l,n,p)}catch(U){Jr(l,n,U)}finally{A.T=r}}else try{r=u(s,c),Ff(l,n,r)}catch(U){Jr(l,n,U)}}function Ff(l,n,u){u!==null&&typeof u=="object"&&typeof u.then=="function"?u.then(function(c){Kr(l,n,c)},function(c){return Jr(l,n,c)}):Kr(l,n,u)}function Kr(l,n,u){n.status="fulfilled",n.value=u,Em(n),l.state=u,n=l.pending,n!==null&&(u=n.next,u===n?l.pending=null:(u=u.next,n.next=u,qr(l,u)))}function Jr(l,n,u){var c=l.pending;if(l.pending=null,c!==null){c=c.next;do n.status="rejected",n.reason=u,Em(n),n=n.next;while(n!==c)}l.action=null}function Em(l){l=l.listeners;for(var n=0;n<l.length;n++)(0,l[n])()}function kr(l,n){return n}function Am(l,n){if(it){var u=_t.formState;if(u!==null){e:{var c=we;if(it){if(ct){t:{for(var s=ct,r=Ma;s.nodeType!==8;){if(!r){s=null;break t}if(s=nn(s.nextSibling),s===null){s=null;break t}}r=s.data,s=r==="F!"||r==="F"?s:null}if(s){ct=nn(s.nextSibling),c=s.data==="F!";break e}}hu(c)}c=!1}c&&(n=u[0])}}return u=Rl(),u.memoizedState=u.baseState=n,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:kr,lastRenderedState:n},u.queue=c,u=Um.bind(null,we,c),c.dispatch=u,c=Wf(!1),r=ts.bind(null,we,!1,c.queue),c=Rl(),s={state:n,dispatch:null,action:l,pending:null},c.queue=s,u=l0.bind(null,we,s,r,u),s.dispatch=u,c.memoizedState=l,[n,u,!1]}function xn(l){var n=Bt();return $r(n,dt,l)}function $r(l,n,u){if(n=Qr(l,n,kr)[0],l=kf(Dn)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var c=Jf(n)}catch(y){throw y===ii?Vf:y}else c=n;n=Bt();var s=n.queue,r=s.dispatch;return u!==n.memoizedState&&(we.flags|=2048,Wl(9,If(),Xg.bind(null,s,u),null)),[c,r,l]}function Xg(l,n){l.action=n}function Wr(l){var n=Bt(),u=dt;if(u!==null)return $r(n,u,l);Bt(),n=n.memoizedState,u=Bt();var c=u.queue.dispatch;return u.memoizedState=l,[n,c,!1]}function Wl(l,n,u,c){return l={tag:l,create:u,deps:c,inst:n,next:null},n=we.updateQueue,n===null&&(n=Kf(),we.updateQueue=n),u=n.lastEffect,u===null?n.lastEffect=l.next=l:(c=u.next,u.next=l,l.next=c,n.lastEffect=l),l}function If(){return{destroy:void 0,resource:void 0}}function Pf(){return Bt().memoizedState}function fi(l,n,u,c){var s=Rl();c=c===void 0?null:c,we.flags|=l,s.memoizedState=Wl(1|n,If(),u,c)}function vt(l,n,u,c){var s=Bt();c=c===void 0?null:c;var r=s.memoizedState.inst;dt!==null&&c!==null&&Br(c,dt.memoizedState.deps)?s.memoizedState=Wl(n,r,u,c):(we.flags|=l,s.memoizedState=Wl(1|n,r,u,c))}function a0(l,n){fi(8390656,8,l,n)}function n0(l,n){vt(2048,8,l,n)}function Rm(l,n){return vt(4,2,l,n)}function tn(l,n){return vt(4,4,l,n)}function zm(l,n){if(typeof n=="function"){l=l();var u=n(l);return function(){typeof u=="function"?u():n(null)}}if(n!=null)return l=l(),n.current=l,function(){n.current=null}}function Fr(l,n,u){u=u!=null?u.concat([l]):null,vt(4,4,zm.bind(null,n,l),u)}function oc(){}function fc(l,n){var u=Bt();n=n===void 0?null:n;var c=u.memoizedState;return n!==null&&Br(n,c[1])?c[0]:(u.memoizedState=[l,n],l)}function Dm(l,n){var u=Bt();n=n===void 0?null:n;var c=u.memoizedState;if(n!==null&&Br(n,c[1]))return c[0];if(c=l(),ci){au(!0);try{l()}finally{au(!1)}}return u.memoizedState=[c,n],c}function es(l,n,u){return u===void 0||(Ca&1073741824)!==0?l.memoizedState=n:(l.memoizedState=u,l=fy(),we.lanes|=l,Eu|=l,u)}function xm(l,n,u,c){return ml(u,n)?u:cc.current!==null?(l=es(l,u,c),ml(l,n)||(It=!0),l):(Ca&42)===0?(It=!0,l.memoizedState=u):(l=fy(),we.lanes|=l,Eu|=l,n)}function u0(l,n,u,c,s){var r=k.p;k.p=r!==0&&8>r?r:8;var y=A.T,p={};A.T=p,ts(l,!1,n,u);try{var S=s(),U=A.S;if(U!==null&&U(p,S),S!==null&&typeof S=="object"&&typeof S.then=="function"){var Z=e0(S,c);sc(l,n,Z,ha(l))}else sc(l,n,c,ha(l))}catch($){sc(l,n,{then:function(){},status:"rejected",reason:$},ha())}finally{k.p=r,A.T=y}}function Lg(){}function Ir(l,n,u,c){if(l.tag!==5)throw Error(b(476));var s=i0(l).queue;u0(l,s,n,I,u===null?Lg:function(){return bo(l),u(c)})}function i0(l){var n=l.memoizedState;if(n!==null)return n;n={memoizedState:I,baseState:I,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Dn,lastRenderedState:I},next:null};var u={};return n.next={memoizedState:u,baseState:u,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Dn,lastRenderedState:u},next:null},l.memoizedState=n,l=l.alternate,l!==null&&(l.memoizedState=n),n}function bo(l){var n=i0(l).next.queue;sc(l,n,{},ha())}function Ha(){return ul(na)}function Om(){return Bt().memoizedState}function c0(){return Bt().memoizedState}function o0(l){for(var n=l.return;n!==null;){switch(n.tag){case 24:case 3:var u=ha();l=$l(u);var c=zn(n,l,u);c!==null&&(ma(c,n,u),ic(c,n,u)),n={cache:mo()},l.payload=n;return}n=n.return}}function Mm(l,n,u){var c=ha();u={lane:c,revertLane:0,action:u,hasEagerState:!1,eagerState:null,next:null},rc(l)?f0(n,u):(u=ao(l,n,u,c),u!==null&&(ma(u,l,c),Cm(u,n,c)))}function Um(l,n,u){var c=ha();sc(l,n,u,c)}function sc(l,n,u,c){var s={lane:c,revertLane:0,action:u,hasEagerState:!1,eagerState:null,next:null};if(rc(l))f0(n,s);else{var r=l.alternate;if(l.lanes===0&&(r===null||r.lanes===0)&&(r=n.lastRenderedReducer,r!==null))try{var y=n.lastRenderedState,p=r(y,u);if(s.hasEagerState=!0,s.eagerState=p,ml(p,y))return ti(l,n,s,0),_t===null&&Wa(),!1}catch{}finally{}if(u=ao(l,n,s,c),u!==null)return ma(u,l,c),Cm(u,n,c),!0}return!1}function ts(l,n,u,c){if(c={lane:2,revertLane:Rc(),action:c,hasEagerState:!1,eagerState:null,next:null},rc(l)){if(n)throw Error(b(479))}else n=ao(l,u,c,2),n!==null&&ma(n,l,2)}function rc(l){var n=l.alternate;return l===we||n!==null&&n===we}function f0(l,n){sa=qf=!0;var u=l.pending;u===null?n.next=n:(n.next=u.next,u.next=n),l.pending=n}function Cm(l,n,u){if((u&4194048)!==0){var c=n.lanes;c&=l.pendingLanes,u|=c,n.lanes=u,mf(l,u)}}var Pr={readContext:ul,use:qt,useCallback:Ht,useContext:Ht,useEffect:Ht,useImperativeHandle:Ht,useLayoutEffect:Ht,useInsertionEffect:Ht,useMemo:Ht,useReducer:Ht,useRef:Ht,useState:Ht,useDebugValue:Ht,useDeferredValue:Ht,useTransition:Ht,useSyncExternalStore:Ht,useId:Ht,useHostTransitionStatus:Ht,useFormState:Ht,useActionState:Ht,useOptimistic:Ht,useMemoCache:Ht,useCacheRefresh:Ht},Hm={readContext:ul,use:qt,useCallback:function(l,n){return Rl().memoizedState=[l,n===void 0?null:n],l},useContext:ul,useEffect:a0,useImperativeHandle:function(l,n,u){u=u!=null?u.concat([l]):null,fi(4194308,4,zm.bind(null,n,l),u)},useLayoutEffect:function(l,n){return fi(4194308,4,l,n)},useInsertionEffect:function(l,n){fi(4,2,l,n)},useMemo:function(l,n){var u=Rl();n=n===void 0?null:n;var c=l();if(ci){au(!0);try{l()}finally{au(!1)}}return u.memoizedState=[c,n],c},useReducer:function(l,n,u){var c=Rl();if(u!==void 0){var s=u(n);if(ci){au(!0);try{u(n)}finally{au(!1)}}}else s=n;return c.memoizedState=c.baseState=s,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:s},c.queue=l,l=l.dispatch=Mm.bind(null,we,l),[c.memoizedState,l]},useRef:function(l){var n=Rl();return l={current:l},n.memoizedState=l},useState:function(l){l=Wf(l);var n=l.queue,u=Um.bind(null,we,n);return n.dispatch=u,[l.memoizedState,u]},useDebugValue:oc,useDeferredValue:function(l,n){var u=Rl();return es(u,l,n)},useTransition:function(){var l=Wf(!1);return l=u0.bind(null,we,l.queue,!0,!1),Rl().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,n,u){var c=we,s=Rl();if(it){if(u===void 0)throw Error(b(407));u=u()}else{if(u=n(),_t===null)throw Error(b(349));(Pe&124)!==0||Xr(c,n,u)}s.memoizedState=u;var r={value:u,getSnapshot:n};return s.queue=r,a0(Tm.bind(null,c,r,l),[l]),c.flags|=2048,Wl(9,If(),Sm.bind(null,c,r,u,n),null),u},useId:function(){var l=Rl(),n=_t.identifierPrefix;if(it){var u=Nt,c=Ia;u=(c&~(1<<32-Zl(c)-1)).toString(32)+u,n="«"+n+"R"+u,u=en++,0<u&&(n+="H"+u.toString(32)),n+="»"}else u=vm++,n="«"+n+"r"+u.toString(32)+"»";return l.memoizedState=n},useHostTransitionStatus:Ha,useFormState:Am,useActionState:Am,useOptimistic:function(l){var n=Rl();n.memoizedState=n.baseState=l;var u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=u,n=ts.bind(null,we,!0,u),u.dispatch=n,[l,n]},useMemoCache:Gr,useCacheRefresh:function(){return Rl().memoizedState=o0.bind(null,we)}},Nm={readContext:ul,use:qt,useCallback:fc,useContext:ul,useEffect:n0,useImperativeHandle:Fr,useInsertionEffect:Rm,useLayoutEffect:tn,useMemo:Dm,useReducer:kf,useRef:Pf,useState:function(){return kf(Dn)},useDebugValue:oc,useDeferredValue:function(l,n){var u=Bt();return xm(u,dt.memoizedState,l,n)},useTransition:function(){var l=kf(Dn)[0],n=Bt().memoizedState;return[typeof l=="boolean"?l:Jf(l),n]},useSyncExternalStore:$f,useId:Om,useHostTransitionStatus:Ha,useFormState:xn,useActionState:xn,useOptimistic:function(l,n){var u=Bt();return Zr(u,dt,l,n)},useMemoCache:Gr,useCacheRefresh:c0},vu={readContext:ul,use:qt,useCallback:fc,useContext:ul,useEffect:n0,useImperativeHandle:Fr,useInsertionEffect:Rm,useLayoutEffect:tn,useMemo:Dm,useReducer:Vr,useRef:Pf,useState:function(){return Vr(Dn)},useDebugValue:oc,useDeferredValue:function(l,n){var u=Bt();return dt===null?es(u,l,n):xm(u,dt.memoizedState,l,n)},useTransition:function(){var l=Vr(Dn)[0],n=Bt().memoizedState;return[typeof l=="boolean"?l:Jf(l),n]},useSyncExternalStore:$f,useId:Om,useHostTransitionStatus:Ha,useFormState:Wr,useActionState:Wr,useOptimistic:function(l,n){var u=Bt();return dt!==null?Zr(u,dt,l,n):(u.baseState=l,[l,u.queue.dispatch])},useMemoCache:Gr,useCacheRefresh:c0},dc=null,So=0;function ed(l){var n=So;return So+=1,dc===null&&(dc=[]),hm(dc,l,n)}function hc(l,n){n=n.props.ref,l.ref=n!==void 0?n:null}function zl(l,n){throw n.$$typeof===ie?Error(b(525)):(l=Object.prototype.toString.call(n),Error(b(31,l==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":l)))}function Bm(l){var n=l._init;return n(l._payload)}function Fl(l){function n(x,z){if(l){var M=x.deletions;M===null?(x.deletions=[z],x.flags|=16):M.push(z)}}function u(x,z){if(!l)return null;for(;z!==null;)n(x,z),z=z.sibling;return null}function c(x){for(var z=new Map;x!==null;)x.key!==null?z.set(x.key,x):z.set(x.index,x),x=x.sibling;return z}function s(x,z){return x=Fa(x,z),x.index=0,x.sibling=null,x}function r(x,z,M){return x.index=M,l?(M=x.alternate,M!==null?(M=M.index,M<z?(x.flags|=67108866,z):M):(x.flags|=67108866,z)):(x.flags|=1048576,z)}function y(x){return l&&x.alternate===null&&(x.flags|=67108866),x}function p(x,z,M,J){return z===null||z.tag!==6?(z=io(M,x.mode,J),z.return=x,z):(z=s(z,M),z.return=x,z)}function S(x,z,M,J){var fe=M.type;return fe===Ne?Z(x,z,M.props.children,J,M.key):z!==null&&(z.elementType===fe||typeof fe=="object"&&fe!==null&&fe.$$typeof===Re&&Bm(fe)===z.type)?(z=s(z,M.props),hc(z,M),z.return=x,z):(z=P(M.type,M.key,M.props,null,x.mode,J),hc(z,M),z.return=x,z)}function U(x,z,M,J){return z===null||z.tag!==4||z.stateNode.containerInfo!==M.containerInfo||z.stateNode.implementation!==M.implementation?(z=Ut(M,x.mode,J),z.return=x,z):(z=s(z,M.children||[]),z.return=x,z)}function Z(x,z,M,J,fe){return z===null||z.tag!==7?(z=Da(M,x.mode,J,fe),z.return=x,z):(z=s(z,M),z.return=x,z)}function $(x,z,M){if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return z=io(""+z,x.mode,M),z.return=x,z;if(typeof z=="object"&&z!==null){switch(z.$$typeof){case se:return M=P(z.type,z.key,z.props,null,x.mode,M),hc(M,z),M.return=x,M;case Xe:return z=Ut(z,x.mode,M),z.return=x,z;case Re:var J=z._init;return z=J(z._payload),$(x,z,M)}if(mt(z)||te(z))return z=Da(z,x.mode,M,null),z.return=x,z;if(typeof z.then=="function")return $(x,ed(z),M);if(z.$$typeof===ge)return $(x,wf(x,z),M);zl(x,z)}return null}function N(x,z,M,J){var fe=z!==null?z.key:null;if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return fe!==null?null:p(x,z,""+M,J);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case se:return M.key===fe?S(x,z,M,J):null;case Xe:return M.key===fe?U(x,z,M,J):null;case Re:return fe=M._init,M=fe(M._payload),N(x,z,M,J)}if(mt(M)||te(M))return fe!==null?null:Z(x,z,M,J,null);if(typeof M.then=="function")return N(x,z,ed(M),J);if(M.$$typeof===ge)return N(x,z,wf(x,M),J);zl(x,M)}return null}function j(x,z,M,J,fe){if(typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint")return x=x.get(M)||null,p(z,x,""+J,fe);if(typeof J=="object"&&J!==null){switch(J.$$typeof){case se:return x=x.get(J.key===null?M:J.key)||null,S(z,x,J,fe);case Xe:return x=x.get(J.key===null?M:J.key)||null,U(z,x,J,fe);case Re:var Je=J._init;return J=Je(J._payload),j(x,z,M,J,fe)}if(mt(J)||te(J))return x=x.get(M)||null,Z(z,x,J,fe,null);if(typeof J.then=="function")return j(x,z,M,ed(J),fe);if(J.$$typeof===ge)return j(x,z,M,wf(z,J),fe);zl(z,J)}return null}function Ee(x,z,M,J){for(var fe=null,Je=null,Se=z,De=z=0,fl=null;Se!==null&&De<M.length;De++){Se.index>De?(fl=Se,Se=null):fl=Se.sibling;var ut=N(x,Se,M[De],J);if(ut===null){Se===null&&(Se=fl);break}l&&Se&&ut.alternate===null&&n(x,Se),z=r(ut,z,De),Je===null?fe=ut:Je.sibling=ut,Je=ut,Se=fl}if(De===M.length)return u(x,Se),it&<(x,De),fe;if(Se===null){for(;De<M.length;De++)Se=$(x,M[De],J),Se!==null&&(z=r(Se,z,De),Je===null?fe=Se:Je.sibling=Se,Je=Se);return it&<(x,De),fe}for(Se=c(Se);De<M.length;De++)fl=j(Se,x,De,M[De],J),fl!==null&&(l&&fl.alternate!==null&&Se.delete(fl.key===null?De:fl.key),z=r(fl,z,De),Je===null?fe=fl:Je.sibling=fl,Je=fl);return l&&Se.forEach(function(Di){return n(x,Di)}),it&<(x,De),fe}function Ae(x,z,M,J){if(M==null)throw Error(b(151));for(var fe=null,Je=null,Se=z,De=z=0,fl=null,ut=M.next();Se!==null&&!ut.done;De++,ut=M.next()){Se.index>De?(fl=Se,Se=null):fl=Se.sibling;var Di=N(x,Se,ut.value,J);if(Di===null){Se===null&&(Se=fl);break}l&&Se&&Di.alternate===null&&n(x,Se),z=r(Di,z,De),Je===null?fe=Di:Je.sibling=Di,Je=Di,Se=fl}if(ut.done)return u(x,Se),it&<(x,De),fe;if(Se===null){for(;!ut.done;De++,ut=M.next())ut=$(x,ut.value,J),ut!==null&&(z=r(ut,z,De),Je===null?fe=ut:Je.sibling=ut,Je=ut);return it&<(x,De),fe}for(Se=c(Se);!ut.done;De++,ut=M.next())ut=j(Se,x,De,ut.value,J),ut!==null&&(l&&ut.alternate!==null&&Se.delete(ut.key===null?De:ut.key),z=r(ut,z,De),Je===null?fe=ut:Je.sibling=ut,Je=ut);return l&&Se.forEach(function(tv){return n(x,tv)}),it&<(x,De),fe}function ft(x,z,M,J){if(typeof M=="object"&&M!==null&&M.type===Ne&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case se:e:{for(var fe=M.key;z!==null;){if(z.key===fe){if(fe=M.type,fe===Ne){if(z.tag===7){u(x,z.sibling),J=s(z,M.props.children),J.return=x,x=J;break e}}else if(z.elementType===fe||typeof fe=="object"&&fe!==null&&fe.$$typeof===Re&&Bm(fe)===z.type){u(x,z.sibling),J=s(z,M.props),hc(J,M),J.return=x,x=J;break e}u(x,z);break}else n(x,z);z=z.sibling}M.type===Ne?(J=Da(M.props.children,x.mode,J,M.key),J.return=x,x=J):(J=P(M.type,M.key,M.props,null,x.mode,J),hc(J,M),J.return=x,x=J)}return y(x);case Xe:e:{for(fe=M.key;z!==null;){if(z.key===fe)if(z.tag===4&&z.stateNode.containerInfo===M.containerInfo&&z.stateNode.implementation===M.implementation){u(x,z.sibling),J=s(z,M.children||[]),J.return=x,x=J;break e}else{u(x,z);break}else n(x,z);z=z.sibling}J=Ut(M,x.mode,J),J.return=x,x=J}return y(x);case Re:return fe=M._init,M=fe(M._payload),ft(x,z,M,J)}if(mt(M))return Ee(x,z,M,J);if(te(M)){if(fe=te(M),typeof fe!="function")throw Error(b(150));return M=fe.call(M),Ae(x,z,M,J)}if(typeof M.then=="function")return ft(x,z,ed(M),J);if(M.$$typeof===ge)return ft(x,z,wf(x,M),J);zl(x,M)}return typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint"?(M=""+M,z!==null&&z.tag===6?(u(x,z.sibling),J=s(z,M),J.return=x,x=J):(u(x,z),J=io(M,x.mode,J),J.return=x,x=J),y(x)):u(x,z)}return function(x,z,M,J){try{So=0;var fe=ft(x,z,M,J);return dc=null,fe}catch(Se){if(Se===ii||Se===Vf)throw Se;var Je=Jl(29,Se,null,x.mode);return Je.lanes=J,Je.return=x,Je}finally{}}}var mc=Fl(!0),On=Fl(!1),da=ae(null),Dl=null;function bu(l){var n=l.alternate;me(bt,bt.current&1),me(da,l),Dl===null&&(n===null||cc.current!==null||n.memoizedState!==null)&&(Dl=l)}function Mn(l){if(l.tag===22){if(me(bt,bt.current),me(da,l),Dl===null){var n=l.alternate;n!==null&&n.memoizedState!==null&&(Dl=l)}}else Un()}function Un(){me(bt,bt.current),me(da,da.current)}function ln(l){ee(da),Dl===l&&(Dl=null),ee(bt)}var bt=ae(0);function ls(l){for(var n=l;n!==null;){if(n.tag===13){var u=n.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||u.data==="$?"||Rs(u)))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===l)break;for(;n.sibling===null;){if(n.return===null||n.return===l)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}function si(l,n,u,c){n=l.memoizedState,u=u(c,n),u=u==null?n:pe({},n,u),l.memoizedState=u,l.lanes===0&&(l.updateQueue.baseState=u)}var td={enqueueSetState:function(l,n,u){l=l._reactInternals;var c=ha(),s=$l(c);s.payload=n,u!=null&&(s.callback=u),n=zn(l,s,c),n!==null&&(ma(n,l,c),ic(n,l,c))},enqueueReplaceState:function(l,n,u){l=l._reactInternals;var c=ha(),s=$l(c);s.tag=1,s.payload=n,u!=null&&(s.callback=u),n=zn(l,s,c),n!==null&&(ma(n,l,c),ic(n,l,c))},enqueueForceUpdate:function(l,n){l=l._reactInternals;var u=ha(),c=$l(u);c.tag=2,n!=null&&(c.callback=n),n=zn(l,c,u),n!==null&&(ma(n,l,u),ic(n,l,u))}};function To(l,n,u,c,s,r,y){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(c,r,y):n.prototype&&n.prototype.isPureReactComponent?!Fu(u,c)||!Fu(s,r):!0}function yc(l,n,u,c){l=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(u,c),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(u,c),n.state!==l&&td.enqueueReplaceState(n,n.state,null)}function ri(l,n){var u=n;if("ref"in n){u={};for(var c in n)c!=="ref"&&(u[c]=n[c])}if(l=l.defaultProps){u===n&&(u=pe({},u));for(var s in l)u[s]===void 0&&(u[s]=l[s])}return u}var as=typeof reportError=="function"?reportError:function(l){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=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(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",l);return}console.error(l)};function _o(l){as(l)}function jm(l){console.error(l)}function ns(l){as(l)}function us(l,n){try{var u=l.onUncaughtError;u(n.value,{componentStack:n.stack})}catch(c){setTimeout(function(){throw c})}}function Ym(l,n,u){try{var c=l.onCaughtError;c(u.value,{componentStack:u.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function wm(l,n,u){return u=$l(u),u.tag=3,u.payload={element:null},u.callback=function(){us(l,n)},u}function Gm(l){return l=$l(l),l.tag=3,l}function Il(l,n,u,c){var s=u.type.getDerivedStateFromError;if(typeof s=="function"){var r=c.value;l.payload=function(){return s(r)},l.callback=function(){Ym(n,u,c)}}var y=u.stateNode;y!==null&&typeof y.componentDidCatch=="function"&&(l.callback=function(){Ym(n,u,c),typeof s!="function"&&(yi===null?yi=new Set([this]):yi.add(this));var p=c.stack;this.componentDidCatch(c.value,{componentStack:p!==null?p:""})})}function s0(l,n,u,c,s){if(u.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){if(n=u.alternate,n!==null&&ro(n,u,s,!0),u=da.current,u!==null){switch(u.tag){case 13:return Dl===null?Ac():u.alternate===null&&Gt===0&&(Gt=3),u.flags&=-257,u.flags|=65536,u.lanes=s,c===Mr?u.flags|=16384:(n=u.updateQueue,n===null?u.updateQueue=new Set([c]):n.add(c),Dd(l,c,s)),!1;case 22:return u.flags|=65536,c===Mr?u.flags|=16384:(n=u.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([c])},u.updateQueue=n):(u=n.retryQueue,u===null?n.retryQueue=new Set([c]):u.add(c)),Dd(l,c,s)),!1}throw Error(b(435,u.tag))}return Dd(l,c,s),Ac(),!1}if(it)return n=da.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=s,c!==ac&&(l=Error(b(422),{cause:c}),so(fa(l,u)))):(c!==ac&&(n=Error(b(423),{cause:c}),so(fa(n,u))),l=l.current.alternate,l.flags|=65536,s&=-s,l.lanes|=s,c=fa(c,u),s=wm(l.stateNode,c,s),pm(l,s),Gt!==4&&(Gt=2)),!1;var r=Error(b(520),{cause:c});if(r=fa(r,u),Oo===null?Oo=[r]:Oo.push(r),Gt!==4&&(Gt=2),n===null)return!0;c=fa(c,u),u=n;do{switch(u.tag){case 3:return u.flags|=65536,l=s&-s,u.lanes|=l,l=wm(u.stateNode,c,l),pm(u,l),!1;case 1:if(n=u.type,r=u.stateNode,(u.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||r!==null&&typeof r.componentDidCatch=="function"&&(yi===null||!yi.has(r))))return u.flags|=65536,s&=-s,u.lanes|=s,s=Gm(s),Il(s,l,u,c),pm(u,s),!1}u=u.return}while(u!==null);return!1}var jt=Error(b(461)),It=!1;function cl(l,n,u,c){n.child=l===null?On(n,null,u,c):mc(n,l.child,u,c)}function r0(l,n,u,c,s){u=u.render;var r=n.ref;if("ref"in c){var y={};for(var p in c)p!=="ref"&&(y[p]=c[p])}else y=c;return ni(n),c=jr(l,n,u,y,r,s),p=Yr(),l!==null&&!It?(vo(l,n,s),Cn(l,n,s)):(it&&p&&lc(n),n.flags|=1,cl(l,n,c,s),n.child)}function Su(l,n,u,c,s){if(l===null){var r=u.type;return typeof r=="function"&&!Hf(r)&&r.defaultProps===void 0&&u.compare===null?(n.tag=15,n.type=r,pc(l,n,r,c,s)):(l=P(u.type,null,c,n,n.mode,s),l.ref=n.ref,l.return=n,n.child=l)}if(r=l.child,!rd(l,s)){var y=r.memoizedProps;if(u=u.compare,u=u!==null?u:Fu,u(y,c)&&l.ref===n.ref)return Cn(l,n,s)}return n.flags|=1,l=Fa(r,c),l.ref=n.ref,l.return=n,n.child=l}function pc(l,n,u,c,s){if(l!==null){var r=l.memoizedProps;if(Fu(r,c)&&l.ref===n.ref)if(It=!1,n.pendingProps=c=r,rd(l,s))(l.flags&131072)!==0&&(It=!0);else return n.lanes=l.lanes,Cn(l,n,s)}return ad(l,n,u,c,s)}function ld(l,n,u){var c=n.pendingProps,s=c.children,r=l!==null?l.memoizedState:null;if(c.mode==="hidden"){if((n.flags&128)!==0){if(c=r!==null?r.baseLanes|u:u,l!==null){for(s=n.child=l.child,r=0;s!==null;)r=r|s.lanes|s.childLanes,s=s.sibling;n.childLanes=r&~c}else n.childLanes=0,n.child=null;return gc(l,n,c,u)}if((u&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},l!==null&&nc(n,r!==null?r.cachePool:null),r!==null?il(n,r):po(),Mn(n);else return n.lanes=n.childLanes=536870912,gc(l,n,r!==null?r.baseLanes|u:u,u)}else r!==null?(nc(n,r.cachePool),il(n,r),Un(),n.memoizedState=null):(l!==null&&nc(n,null),po(),Un());return cl(l,n,s,u),n.child}function gc(l,n,u,c){var s=Qf();return s=s===null?null:{parent:Wt._currentValue,pool:s},n.memoizedState={baseLanes:u,cachePool:s},l!==null&&nc(n,null),po(),Mn(n),l!==null&&ro(l,n,c,!0),null}function is(l,n){var u=n.ref;if(u===null)l!==null&&l.ref!==null&&(n.flags|=4194816);else{if(typeof u!="function"&&typeof u!="object")throw Error(b(284));(l===null||l.ref!==u)&&(n.flags|=4194816)}}function ad(l,n,u,c,s){return ni(n),u=jr(l,n,u,c,void 0,s),c=Yr(),l!==null&&!It?(vo(l,n,s),Cn(l,n,s)):(it&&c&&lc(n),n.flags|=1,cl(l,n,u,s),n.child)}function Qm(l,n,u,c,s,r){return ni(n),n.updateQueue=null,u=bm(n,c,u,s),oi(l),c=Yr(),l!==null&&!It?(vo(l,n,r),Cn(l,n,r)):(it&&c&&lc(n),n.flags|=1,cl(l,n,u,r),n.child)}function nd(l,n,u,c,s){if(ni(n),n.stateNode===null){var r=uo,y=u.contextType;typeof y=="object"&&y!==null&&(r=ul(y)),r=new u(c,r),n.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=td,n.stateNode=r,r._reactInternals=n,r=n.stateNode,r.props=c,r.state=n.memoizedState,r.refs={},Cr(n),y=u.contextType,r.context=typeof y=="object"&&y!==null?ul(y):uo,r.state=n.memoizedState,y=u.getDerivedStateFromProps,typeof y=="function"&&(si(n,u,y,c),r.state=n.memoizedState),typeof u.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(y=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),y!==r.state&&td.enqueueReplaceState(r,r.state,null),pu(n,c,r,s),yo(),r.state=n.memoizedState),typeof r.componentDidMount=="function"&&(n.flags|=4194308),c=!0}else if(l===null){r=n.stateNode;var p=n.memoizedProps,S=ri(u,p);r.props=S;var U=r.context,Z=u.contextType;y=uo,typeof Z=="object"&&Z!==null&&(y=ul(Z));var $=u.getDerivedStateFromProps;Z=typeof $=="function"||typeof r.getSnapshotBeforeUpdate=="function",p=n.pendingProps!==p,Z||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(p||U!==y)&&yc(n,r,c,y),Rn=!1;var N=n.memoizedState;r.state=N,pu(n,c,r,s),yo(),U=n.memoizedState,p||N!==U||Rn?(typeof $=="function"&&(si(n,u,$,c),U=n.memoizedState),(S=Rn||To(n,u,S,c,N,U,y))?(Z||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount()),typeof r.componentDidMount=="function"&&(n.flags|=4194308)):(typeof r.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=c,n.memoizedState=U),r.props=c,r.state=U,r.context=y,c=S):(typeof r.componentDidMount=="function"&&(n.flags|=4194308),c=!1)}else{r=n.stateNode,Hr(l,n),y=n.memoizedProps,Z=ri(u,y),r.props=Z,$=n.pendingProps,N=r.context,U=u.contextType,S=uo,typeof U=="object"&&U!==null&&(S=ul(U)),p=u.getDerivedStateFromProps,(U=typeof p=="function"||typeof r.getSnapshotBeforeUpdate=="function")||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(y!==$||N!==S)&&yc(n,r,c,S),Rn=!1,N=n.memoizedState,r.state=N,pu(n,c,r,s),yo();var j=n.memoizedState;y!==$||N!==j||Rn||l!==null&&l.dependencies!==null&&Yf(l.dependencies)?(typeof p=="function"&&(si(n,u,p,c),j=n.memoizedState),(Z=Rn||To(n,u,Z,c,N,j,S)||l!==null&&l.dependencies!==null&&Yf(l.dependencies))?(U||typeof r.UNSAFE_componentWillUpdate!="function"&&typeof r.componentWillUpdate!="function"||(typeof r.componentWillUpdate=="function"&&r.componentWillUpdate(c,j,S),typeof r.UNSAFE_componentWillUpdate=="function"&&r.UNSAFE_componentWillUpdate(c,j,S)),typeof r.componentDidUpdate=="function"&&(n.flags|=4),typeof r.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof r.componentDidUpdate!="function"||y===l.memoizedProps&&N===l.memoizedState||(n.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||y===l.memoizedProps&&N===l.memoizedState||(n.flags|=1024),n.memoizedProps=c,n.memoizedState=j),r.props=c,r.state=j,r.context=S,c=Z):(typeof r.componentDidUpdate!="function"||y===l.memoizedProps&&N===l.memoizedState||(n.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||y===l.memoizedProps&&N===l.memoizedState||(n.flags|=1024),c=!1)}return r=c,is(l,n),c=(n.flags&128)!==0,r||c?(r=n.stateNode,u=c&&typeof u.getDerivedStateFromError!="function"?null:r.render(),n.flags|=1,l!==null&&c?(n.child=mc(n,l.child,null,s),n.child=mc(n,null,u,s)):cl(l,n,u,s),n.memoizedState=r.state,l=n.child):l=Cn(l,n,s),l}function ud(l,n,u,c){return fo(),n.flags|=256,cl(l,n,u,c),n.child}var id={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Vm(l){return{baseLanes:l,cachePool:xr()}}function Xm(l,n,u){return l=l!==null?l.childLanes&~u:0,n&&(l|=ja),l}function Lm(l,n,u){var c=n.pendingProps,s=!1,r=(n.flags&128)!==0,y;if((y=r)||(y=l!==null&&l.memoizedState===null?!1:(bt.current&2)!==0),y&&(s=!0,n.flags&=-129),y=(n.flags&32)!==0,n.flags&=-33,l===null){if(it){if(s?bu(n):Un(),it){var p=ct,S;if(S=p){e:{for(S=p,p=Ma;S.nodeType!==8;){if(!p){p=null;break e}if(S=nn(S.nextSibling),S===null){p=null;break e}}p=S}p!==null?(n.memoizedState={dehydrated:p,treeContext:du!==null?{id:Ia,overflow:Nt}:null,retryLane:536870912,hydrationErrors:null},S=Jl(18,null,null,0),S.stateNode=p,S.return=n,n.child=S,Lt=n,ct=null,S=!0):S=!1}S||hu(n)}if(p=n.memoizedState,p!==null&&(p=p.dehydrated,p!==null))return Rs(p)?n.lanes=32:n.lanes=536870912,null;ln(n)}return p=c.children,c=c.fallback,s?(Un(),s=n.mode,p=od({mode:"hidden",children:p},s),c=Da(c,s,u,null),p.return=n,c.return=n,p.sibling=c,n.child=p,s=n.child,s.memoizedState=Vm(u),s.childLanes=Xm(l,y,u),n.memoizedState=id,c):(bu(n),cd(n,p))}if(S=l.memoizedState,S!==null&&(p=S.dehydrated,p!==null)){if(r)n.flags&256?(bu(n),n.flags&=-257,n=di(l,n,u)):n.memoizedState!==null?(Un(),n.child=l.child,n.flags|=128,n=null):(Un(),s=c.fallback,p=n.mode,c=od({mode:"visible",children:c.children},p),s=Da(s,p,u,null),s.flags|=2,c.return=n,s.return=n,c.sibling=s,n.child=c,mc(n,l.child,null,u),c=n.child,c.memoizedState=Vm(u),c.childLanes=Xm(l,y,u),n.memoizedState=id,n=s);else if(bu(n),Rs(p)){if(y=p.nextSibling&&p.nextSibling.dataset,y)var U=y.dgst;y=U,c=Error(b(419)),c.stack="",c.digest=y,so({value:c,source:null,stack:null}),n=di(l,n,u)}else if(It||ro(l,n,u,!1),y=(u&l.childLanes)!==0,It||y){if(y=_t,y!==null&&(c=u&-u,c=(c&42)!==0?1:Za(c),c=(c&(y.suspendedLanes|u))!==0?0:c,c!==0&&c!==S.retryLane))throw S.retryLane=c,Sn(l,c),ma(y,l,c),jt;p.data==="$?"||Ac(),n=di(l,n,u)}else p.data==="$?"?(n.flags|=192,n.child=l.child,n=null):(l=S.treeContext,ct=nn(p.nextSibling),Lt=n,it=!0,Oa=null,Ma=!1,l!==null&&(xa[kl++]=Ia,xa[kl++]=Nt,xa[kl++]=du,Ia=l.id,Nt=l.overflow,du=n),n=cd(n,c.children),n.flags|=4096);return n}return s?(Un(),s=c.fallback,p=n.mode,S=l.child,U=S.sibling,c=Fa(S,{mode:"hidden",children:c.children}),c.subtreeFlags=S.subtreeFlags&65011712,U!==null?s=Fa(U,s):(s=Da(s,p,u,null),s.flags|=2),s.return=n,c.return=n,c.sibling=s,n.child=c,c=s,s=n.child,p=l.child.memoizedState,p===null?p=Vm(u):(S=p.cachePool,S!==null?(U=Wt._currentValue,S=S.parent!==U?{parent:U,pool:U}:S):S=xr(),p={baseLanes:p.baseLanes|u,cachePool:S}),s.memoizedState=p,s.childLanes=Xm(l,y,u),n.memoizedState=id,c):(bu(n),u=l.child,l=u.sibling,u=Fa(u,{mode:"visible",children:c.children}),u.return=n,u.sibling=null,l!==null&&(y=n.deletions,y===null?(n.deletions=[l],n.flags|=16):y.push(l)),n.child=u,n.memoizedState=null,u)}function cd(l,n){return n=od({mode:"visible",children:n},l.mode),n.return=l,l.child=n}function od(l,n){return l=Jl(22,l,null,n),l.lanes=0,l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},l}function di(l,n,u){return mc(n,l.child,null,u),l=cd(n,n.pendingProps.children),l.flags|=2,n.memoizedState=null,l}function cs(l,n,u){l.lanes|=n;var c=l.alternate;c!==null&&(c.lanes|=n),Er(l.return,n,u)}function fd(l,n,u,c,s){var r=l.memoizedState;r===null?l.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:c,tail:u,tailMode:s}:(r.isBackwards=n,r.rendering=null,r.renderingStartTime=0,r.last=c,r.tail=u,r.tailMode=s)}function sd(l,n,u){var c=n.pendingProps,s=c.revealOrder,r=c.tail;if(cl(l,n,c.children,u),c=bt.current,(c&2)!==0)c=c&1|2,n.flags|=128;else{if(l!==null&&(l.flags&128)!==0)e:for(l=n.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&cs(l,u,n);else if(l.tag===19)cs(l,u,n);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===n)break e;for(;l.sibling===null;){if(l.return===null||l.return===n)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}c&=1}switch(me(bt,c),s){case"forwards":for(u=n.child,s=null;u!==null;)l=u.alternate,l!==null&&ls(l)===null&&(s=u),u=u.sibling;u=s,u===null?(s=n.child,n.child=null):(s=u.sibling,u.sibling=null),fd(n,!1,s,u,r);break;case"backwards":for(u=null,s=n.child,n.child=null;s!==null;){if(l=s.alternate,l!==null&&ls(l)===null){n.child=s;break}l=s.sibling,s.sibling=u,u=s,s=l}fd(n,!0,u,null,r);break;case"together":fd(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function Cn(l,n,u){if(l!==null&&(n.dependencies=l.dependencies),Eu|=n.lanes,(u&n.childLanes)===0)if(l!==null){if(ro(l,n,u,!1),(u&n.childLanes)===0)return null}else return null;if(l!==null&&n.child!==l.child)throw Error(b(153));if(n.child!==null){for(l=n.child,u=Fa(l,l.pendingProps),n.child=u,u.return=n;l.sibling!==null;)l=l.sibling,u=u.sibling=Fa(l,l.pendingProps),u.return=n;u.sibling=null}return n.child}function rd(l,n){return(l.lanes&n)!==0?!0:(l=l.dependencies,!!(l!==null&&Yf(l)))}function d0(l,n,u){switch(n.tag){case 3:Tt(n,n.stateNode.containerInfo),yu(n,Wt,l.memoizedState.cache),fo();break;case 27:case 5:Zt(n);break;case 4:Tt(n,n.stateNode.containerInfo);break;case 10:yu(n,n.type,n.memoizedProps.value);break;case 13:var c=n.memoizedState;if(c!==null)return c.dehydrated!==null?(bu(n),n.flags|=128,null):(u&n.child.childLanes)!==0?Lm(l,n,u):(bu(n),l=Cn(l,n,u),l!==null?l.sibling:null);bu(n);break;case 19:var s=(l.flags&128)!==0;if(c=(u&n.childLanes)!==0,c||(ro(l,n,u,!1),c=(u&n.childLanes)!==0),s){if(c)return sd(l,n,u);n.flags|=128}if(s=n.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),me(bt,bt.current),c)break;return null;case 22:case 23:return n.lanes=0,ld(l,n,u);case 24:yu(n,Wt,l.memoizedState.cache)}return Cn(l,n,u)}function h0(l,n,u){if(l!==null)if(l.memoizedProps!==n.pendingProps)It=!0;else{if(!rd(l,u)&&(n.flags&128)===0)return It=!1,d0(l,n,u);It=(l.flags&131072)!==0}else It=!1,it&&(n.flags&1048576)!==0&&_r(n,co,n.index);switch(n.lanes=0,n.tag){case 16:e:{l=n.pendingProps;var c=n.elementType,s=c._init;if(c=s(c._payload),n.type=c,typeof c=="function")Hf(c)?(l=ri(c,l),n.tag=1,n=nd(null,n,c,l,u)):(n.tag=0,n=ad(null,n,c,l,u));else{if(c!=null){if(s=c.$$typeof,s===oe){n.tag=11,n=r0(null,n,c,l,u);break e}else if(s===ye){n.tag=14,n=Su(null,n,c,l,u);break e}}throw n=rt(c)||c,Error(b(306,n,""))}}return n;case 0:return ad(l,n,n.type,n.pendingProps,u);case 1:return c=n.type,s=ri(c,n.pendingProps),nd(l,n,c,s,u);case 3:e:{if(Tt(n,n.stateNode.containerInfo),l===null)throw Error(b(387));c=n.pendingProps;var r=n.memoizedState;s=r.element,Hr(l,n),pu(n,c,null,u);var y=n.memoizedState;if(c=y.cache,yu(n,Wt,c),c!==r.cache&&rm(n,[Wt],u,!0),yo(),c=y.element,r.isDehydrated)if(r={element:c,isDehydrated:!1,cache:y.cache},n.updateQueue.baseState=r,n.memoizedState=r,n.flags&256){n=ud(l,n,c,u);break e}else if(c!==s){s=fa(Error(b(424)),n),so(s),n=ud(l,n,c,u);break e}else{switch(l=n.stateNode.containerInfo,l.nodeType){case 9:l=l.body;break;default:l=l.nodeName==="HTML"?l.ownerDocument.body:l}for(ct=nn(l.firstChild),Lt=n,it=!0,Oa=null,Ma=!0,u=On(n,null,c,u),n.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling}else{if(fo(),c===s){n=Cn(l,n,u);break e}cl(l,n,c,u)}n=n.child}return n;case 26:return is(l,n),l===null?(u=O0(n.type,null,n.pendingProps,null))?n.memoizedState=u:it||(u=n.type,l=n.pendingProps,c=wa($e.current).createElement(u),c[nl]=n,c[Nl]=l,Ce(c,u,l),$t(c),n.stateNode=c):n.memoizedState=O0(n.type,l.memoizedProps,n.pendingProps,l.memoizedState),null;case 27:return Zt(n),l===null&&it&&(c=n.stateNode=ne(n.type,n.pendingProps,$e.current),Lt=n,Ma=!0,s=ct,Ti(n.type)?(_i=s,ct=nn(c.firstChild)):ct=s),cl(l,n,n.pendingProps.children,u),is(l,n),l===null&&(n.flags|=4194304),n.child;case 5:return l===null&&it&&((s=c=ct)&&(c=Vo(c,n.type,n.pendingProps,Ma),c!==null?(n.stateNode=c,Lt=n,ct=nn(c.firstChild),Ma=!1,s=!0):s=!1),s||hu(n)),Zt(n),s=n.type,r=n.pendingProps,y=l!==null?l.memoizedProps:null,c=r.children,Vn(s,r)?c=null:y!==null&&Vn(s,y)&&(n.flags|=32),n.memoizedState!==null&&(s=jr(l,n,t0,null,null,u),na._currentValue=s),is(l,n),cl(l,n,c,u),n.child;case 6:return l===null&&it&&((l=u=ct)&&(u=Ig(u,n.pendingProps,Ma),u!==null?(n.stateNode=u,Lt=n,ct=null,l=!0):l=!1),l||hu(n)),null;case 13:return Lm(l,n,u);case 4:return Tt(n,n.stateNode.containerInfo),c=n.pendingProps,l===null?n.child=mc(n,null,c,u):cl(l,n,c,u),n.child;case 11:return r0(l,n,n.type,n.pendingProps,u);case 7:return cl(l,n,n.pendingProps,u),n.child;case 8:return cl(l,n,n.pendingProps.children,u),n.child;case 12:return cl(l,n,n.pendingProps.children,u),n.child;case 10:return c=n.pendingProps,yu(n,n.type,c.value),cl(l,n,c.children,u),n.child;case 9:return s=n.type._context,c=n.pendingProps.children,ni(n),s=ul(s),c=c(s),n.flags|=1,cl(l,n,c,u),n.child;case 14:return Su(l,n,n.type,n.pendingProps,u);case 15:return pc(l,n,n.type,n.pendingProps,u);case 19:return sd(l,n,u);case 31:return c=n.pendingProps,u=n.mode,c={mode:c.mode,children:c.children},l===null?(u=od(c,u),u.ref=n.ref,n.child=u,u.return=n,n=u):(u=Fa(l.child,c),u.ref=n.ref,n.child=u,u.return=n,n=u),n;case 22:return ld(l,n,u);case 24:return ni(n),c=ul(Wt),l===null?(s=Qf(),s===null&&(s=_t,r=mo(),s.pooledCache=r,r.refCount++,r!==null&&(s.pooledCacheLanes|=u),s=r),n.memoizedState={parent:c,cache:s},Cr(n),yu(n,Wt,s)):((l.lanes&u)!==0&&(Hr(l,n),pu(n,null,null,u),yo()),s=l.memoizedState,r=n.memoizedState,s.parent!==c?(s={parent:c,cache:c},n.memoizedState=s,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=s),yu(n,Wt,c)):(c=r.cache,yu(n,Wt,c),c!==s.cache&&rm(n,[Wt],u,!0))),cl(l,n,n.pendingProps.children,u),n.child;case 29:throw n.pendingProps}throw Error(b(156,n.tag))}function Hn(l){l.flags|=4}function Eo(l,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!zy(n)){if(n=da.current,n!==null&&((Pe&4194048)===Pe?Dl!==null:(Pe&62914560)!==Pe&&(Pe&536870912)===0||n!==Dl))throw uc=Mr,Or;l.flags|=8192}}function os(l,n){n!==null&&(l.flags|=4),l.flags&16384&&(n=l.tag!==22?ji():536870912,l.lanes|=n,xo|=n)}function Ao(l,n){if(!it)switch(l.tailMode){case"hidden":n=l.tail;for(var u=null;n!==null;)n.alternate!==null&&(u=n),n=n.sibling;u===null?l.tail=null:u.sibling=null;break;case"collapsed":u=l.tail;for(var c=null;u!==null;)u.alternate!==null&&(c=u),u=u.sibling;c===null?n||l.tail===null?l.tail=null:l.tail.sibling=null:c.sibling=null}}function ze(l){var n=l.alternate!==null&&l.alternate.child===l.child,u=0,c=0;if(n)for(var s=l.child;s!==null;)u|=s.lanes|s.childLanes,c|=s.subtreeFlags&65011712,c|=s.flags&65011712,s.return=l,s=s.sibling;else for(s=l.child;s!==null;)u|=s.lanes|s.childLanes,c|=s.subtreeFlags,c|=s.flags,s.return=l,s=s.sibling;return l.subtreeFlags|=c,l.childLanes=u,n}function Zm(l,n,u){var c=n.pendingProps;switch(Tn(n),n.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ze(n),null;case 1:return ze(n),null;case 3:return u=n.stateNode,c=null,l!==null&&(c=l.memoizedState.cache),n.memoizedState.cache!==c&&(n.flags|=2048),_n(Wt),ll(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(l===null||l.child===null)&&(oo(n)?Hn(n):l===null||l.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,sm())),ze(n),null;case 26:return u=n.memoizedState,l===null?(Hn(n),u!==null?(ze(n),Eo(n,u)):(ze(n),n.flags&=-16777217)):u?u!==l.memoizedState?(Hn(n),ze(n),Eo(n,u)):(ze(n),n.flags&=-16777217):(l.memoizedProps!==c&&Hn(n),ze(n),n.flags&=-16777217),null;case 27:La(n),u=$e.current;var s=n.type;if(l!==null&&n.stateNode!=null)l.memoizedProps!==c&&Hn(n);else{if(!c){if(n.stateNode===null)throw Error(b(166));return ze(n),null}l=Ue.current,oo(n)?Bf(n):(l=ne(s,c,u),n.stateNode=l,Hn(n))}return ze(n),null;case 5:if(La(n),u=n.type,l!==null&&n.stateNode!=null)l.memoizedProps!==c&&Hn(n);else{if(!c){if(n.stateNode===null)throw Error(b(166));return ze(n),null}if(l=Ue.current,oo(n))Bf(n);else{switch(s=wa($e.current),l){case 1:l=s.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:l=s.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":l=s.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":l=s.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":l=s.createElement("div"),l.innerHTML="<script><\/script>",l=l.removeChild(l.firstChild);break;case"select":l=typeof c.is=="string"?s.createElement("select",{is:c.is}):s.createElement("select"),c.multiple?l.multiple=!0:c.size&&(l.size=c.size);break;default:l=typeof c.is=="string"?s.createElement(u,{is:c.is}):s.createElement(u)}}l[nl]=n,l[Nl]=c;e:for(s=n.child;s!==null;){if(s.tag===5||s.tag===6)l.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===n)break e;for(;s.sibling===null;){if(s.return===null||s.return===n)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}n.stateNode=l;e:switch(Ce(l,u,c),u){case"button":case"input":case"select":case"textarea":l=!!c.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&Hn(n)}}return ze(n),n.flags&=-16777217,null;case 6:if(l&&n.stateNode!=null)l.memoizedProps!==c&&Hn(n);else{if(typeof c!="string"&&n.stateNode===null)throw Error(b(166));if(l=$e.current,oo(n)){if(l=n.stateNode,u=n.memoizedProps,c=null,s=Lt,s!==null)switch(s.tag){case 27:case 5:c=s.memoizedProps}l[nl]=n,l=!!(l.nodeValue===u||c!==null&&c.suppressHydrationWarning===!0||_y(l.nodeValue,u)),l||hu(n)}else l=wa(l).createTextNode(c),l[nl]=n,n.stateNode=l}return ze(n),null;case 13:if(c=n.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(s=oo(n),c!==null&&c.dehydrated!==null){if(l===null){if(!s)throw Error(b(318));if(s=n.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(b(317));s[nl]=n}else fo(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;ze(n),s=!1}else s=sm(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=s),s=!0;if(!s)return n.flags&256?(ln(n),n):(ln(n),null)}if(ln(n),(n.flags&128)!==0)return n.lanes=u,n;if(u=c!==null,l=l!==null&&l.memoizedState!==null,u){c=n.child,s=null,c.alternate!==null&&c.alternate.memoizedState!==null&&c.alternate.memoizedState.cachePool!==null&&(s=c.alternate.memoizedState.cachePool.pool);var r=null;c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(r=c.memoizedState.cachePool.pool),r!==s&&(c.flags|=2048)}return u!==l&&u&&(n.child.flags|=8192),os(n,n.updateQueue),ze(n),null;case 4:return ll(),l===null&&Sy(n.stateNode.containerInfo),ze(n),null;case 10:return _n(n.type),ze(n),null;case 19:if(ee(bt),s=n.memoizedState,s===null)return ze(n),null;if(c=(n.flags&128)!==0,r=s.rendering,r===null)if(c)Ao(s,!1);else{if(Gt!==0||l!==null&&(l.flags&128)!==0)for(l=n.child;l!==null;){if(r=ls(l),r!==null){for(n.flags|=128,Ao(s,!1),l=r.updateQueue,n.updateQueue=l,os(n,l),n.subtreeFlags=0,l=u,u=n.child;u!==null;)Ke(u,l),u=u.sibling;return me(bt,bt.current&1|2),n.child}l=l.sibling}s.tail!==null&&Cl()>Sd&&(n.flags|=128,c=!0,Ao(s,!1),n.lanes=4194304)}else{if(!c)if(l=ls(r),l!==null){if(n.flags|=128,c=!0,l=l.updateQueue,n.updateQueue=l,os(n,l),Ao(s,!0),s.tail===null&&s.tailMode==="hidden"&&!r.alternate&&!it)return ze(n),null}else 2*Cl()-s.renderingStartTime>Sd&&u!==536870912&&(n.flags|=128,c=!0,Ao(s,!1),n.lanes=4194304);s.isBackwards?(r.sibling=n.child,n.child=r):(l=s.last,l!==null?l.sibling=r:n.child=r,s.last=r)}return s.tail!==null?(n=s.tail,s.rendering=n,s.tail=n.sibling,s.renderingStartTime=Cl(),n.sibling=null,l=bt.current,me(bt,c?l&1|2:l&1),n):(ze(n),null);case 22:case 23:return ln(n),go(),c=n.memoizedState!==null,l!==null?l.memoizedState!==null!==c&&(n.flags|=8192):c&&(n.flags|=8192),c?(u&536870912)!==0&&(n.flags&128)===0&&(ze(n),n.subtreeFlags&6&&(n.flags|=8192)):ze(n),u=n.updateQueue,u!==null&&os(n,u.retryQueue),u=null,l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(u=l.memoizedState.cachePool.pool),c=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(c=n.memoizedState.cachePool.pool),c!==u&&(n.flags|=2048),l!==null&&ee(An),null;case 24:return u=null,l!==null&&(u=l.memoizedState.cache),n.memoizedState.cache!==u&&(n.flags|=2048),_n(Wt),ze(n),null;case 25:return null;case 30:return null}throw Error(b(156,n.tag))}function Zg(l,n){switch(Tn(n),n.tag){case 1:return l=n.flags,l&65536?(n.flags=l&-65537|128,n):null;case 3:return _n(Wt),ll(),l=n.flags,(l&65536)!==0&&(l&128)===0?(n.flags=l&-65537|128,n):null;case 26:case 27:case 5:return La(n),null;case 13:if(ln(n),l=n.memoizedState,l!==null&&l.dehydrated!==null){if(n.alternate===null)throw Error(b(340));fo()}return l=n.flags,l&65536?(n.flags=l&-65537|128,n):null;case 19:return ee(bt),null;case 4:return ll(),null;case 10:return _n(n.type),null;case 22:case 23:return ln(n),go(),l!==null&&ee(An),l=n.flags,l&65536?(n.flags=l&-65537|128,n):null;case 24:return _n(Wt),null;case 25:return null;default:return null}}function qm(l,n){switch(Tn(n),n.tag){case 3:_n(Wt),ll();break;case 26:case 27:case 5:La(n);break;case 4:ll();break;case 13:ln(n);break;case 19:ee(bt);break;case 10:_n(n.type);break;case 22:case 23:ln(n),go(),l!==null&&ee(An);break;case 24:_n(Wt)}}function fs(l,n){try{var u=n.updateQueue,c=u!==null?u.lastEffect:null;if(c!==null){var s=c.next;u=s;do{if((u.tag&l)===l){c=void 0;var r=u.create,y=u.inst;c=r(),y.destroy=c}u=u.next}while(u!==s)}}catch(p){pt(n,n.return,p)}}function hi(l,n,u){try{var c=n.updateQueue,s=c!==null?c.lastEffect:null;if(s!==null){var r=s.next;c=r;do{if((c.tag&l)===l){var y=c.inst,p=y.destroy;if(p!==void 0){y.destroy=void 0,s=n;var S=u,U=p;try{U()}catch(Z){pt(s,S,Z)}}}c=c.next}while(c!==r)}}catch(Z){pt(n,n.return,Z)}}function dd(l){var n=l.updateQueue;if(n!==null){var u=l.stateNode;try{Lf(n,u)}catch(c){pt(l,l.return,c)}}}function Km(l,n,u){u.props=ri(l.type,l.memoizedProps),u.state=l.memoizedState;try{u.componentWillUnmount()}catch(c){pt(l,n,c)}}function Ro(l,n){try{var u=l.ref;if(u!==null){switch(l.tag){case 26:case 27:case 5:var c=l.stateNode;break;case 30:c=l.stateNode;break;default:c=l.stateNode}typeof u=="function"?l.refCleanup=u(c):u.current=c}}catch(s){pt(l,n,s)}}function an(l,n){var u=l.ref,c=l.refCleanup;if(u!==null)if(typeof c=="function")try{c()}catch(s){pt(l,n,s)}finally{l.refCleanup=null,l=l.alternate,l!=null&&(l.refCleanup=null)}else if(typeof u=="function")try{u(null)}catch(s){pt(l,n,s)}else u.current=null}function zo(l){var n=l.type,u=l.memoizedProps,c=l.stateNode;try{e:switch(n){case"button":case"input":case"select":case"textarea":u.autoFocus&&c.focus();break e;case"img":u.src?c.src=u.src:u.srcSet&&(c.srcset=u.srcSet)}}catch(s){pt(l,l.return,s)}}function Jm(l,n,u){try{var c=l.stateNode;$g(c,l.type,u,n),c[Nl]=n}catch(s){pt(l,l.return,s)}}function m0(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&Ti(l.type)||l.tag===4}function Na(l){e:for(;;){for(;l.sibling===null;){if(l.return===null||m0(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&&Ti(l.type)||l.flags&2||l.child===null||l.tag===4)continue e;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function vc(l,n,u){var c=l.tag;if(c===5||c===6)l=l.stateNode,n?(u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u).insertBefore(l,n):(n=u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u,n.appendChild(l),u=u._reactRootContainer,u!=null||n.onclick!==null||(n.onclick=Cd));else if(c!==4&&(c===27&&Ti(l.type)&&(u=l.stateNode,n=null),l=l.child,l!==null))for(vc(l,n,u),l=l.sibling;l!==null;)vc(l,n,u),l=l.sibling}function hd(l,n,u){var c=l.tag;if(c===5||c===6)l=l.stateNode,n?u.insertBefore(l,n):u.appendChild(l);else if(c!==4&&(c===27&&Ti(l.type)&&(u=l.stateNode),l=l.child,l!==null))for(hd(l,n,u),l=l.sibling;l!==null;)hd(l,n,u),l=l.sibling}function md(l){var n=l.stateNode,u=l.memoizedProps;try{for(var c=l.type,s=n.attributes;s.length;)n.removeAttributeNode(s[0]);Ce(n,c,u),n[nl]=l,n[Nl]=u}catch(r){pt(l,l.return,r)}}var Nn=!1,Yt=!1,yd=!1,pd=typeof WeakSet=="function"?WeakSet:Set,Pt=null;function km(l,n){if(l=l.containerInfo,_s=xs,l=am(l),Uf(l)){if("selectionStart"in l)var u={start:l.selectionStart,end:l.selectionEnd};else e:{u=(u=l.ownerDocument)&&u.defaultView||window;var c=u.getSelection&&u.getSelection();if(c&&c.rangeCount!==0){u=c.anchorNode;var s=c.anchorOffset,r=c.focusNode;c=c.focusOffset;try{u.nodeType,r.nodeType}catch{u=null;break e}var y=0,p=-1,S=-1,U=0,Z=0,$=l,N=null;t:for(;;){for(var j;$!==u||s!==0&&$.nodeType!==3||(p=y+s),$!==r||c!==0&&$.nodeType!==3||(S=y+c),$.nodeType===3&&(y+=$.nodeValue.length),(j=$.firstChild)!==null;)N=$,$=j;for(;;){if($===l)break t;if(N===u&&++U===s&&(p=y),N===r&&++Z===c&&(S=y),(j=$.nextSibling)!==null)break;$=N,N=$.parentNode}$=j}u=p===-1||S===-1?null:{start:p,end:S}}else u=null}u=u||{start:0,end:0}}else u=null;for(Es={focusedElem:l,selectionRange:u},xs=!1,Pt=n;Pt!==null;)if(n=Pt,l=n.child,(n.subtreeFlags&1024)!==0&&l!==null)l.return=n,Pt=l;else for(;Pt!==null;){switch(n=Pt,r=n.alternate,l=n.flags,n.tag){case 0:break;case 11:case 15:break;case 1:if((l&1024)!==0&&r!==null){l=void 0,u=n,s=r.memoizedProps,r=r.memoizedState,c=u.stateNode;try{var Ee=ri(u.type,s,u.elementType===u.type);l=c.getSnapshotBeforeUpdate(Ee,r),c.__reactInternalSnapshotBeforeUpdate=l}catch(Ae){pt(u,u.return,Ae)}}break;case 3:if((l&1024)!==0){if(l=n.stateNode.containerInfo,u=l.nodeType,u===9)As(l);else if(u===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":As(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=n.sibling,l!==null){l.return=n.return,Pt=l;break}Pt=n.return}}function $m(l,n,u){var c=u.flags;switch(u.tag){case 0:case 11:case 15:jn(l,u),c&4&&fs(5,u);break;case 1:if(jn(l,u),c&4)if(l=u.stateNode,n===null)try{l.componentDidMount()}catch(y){pt(u,u.return,y)}else{var s=ri(u.type,n.memoizedProps);n=n.memoizedState;try{l.componentDidUpdate(s,n,l.__reactInternalSnapshotBeforeUpdate)}catch(y){pt(u,u.return,y)}}c&64&&dd(u),c&512&&Ro(u,u.return);break;case 3:if(jn(l,u),c&64&&(l=u.updateQueue,l!==null)){if(n=null,u.child!==null)switch(u.child.tag){case 27:case 5:n=u.child.stateNode;break;case 1:n=u.child.stateNode}try{Lf(l,n)}catch(y){pt(u,u.return,y)}}break;case 27:n===null&&c&4&&md(u);case 26:case 5:jn(l,u),n===null&&c&4&&zo(u),c&512&&Ro(u,u.return);break;case 12:jn(l,u);break;case 13:jn(l,u),c&4&&gd(l,u),c&64&&(l=u.memoizedState,l!==null&&(l=l.dehydrated,l!==null&&(u=qg.bind(null,u),Pg(l,u))));break;case 22:if(c=u.memoizedState!==null||Nn,!c){n=n!==null&&n.memoizedState!==null||Yt,s=Nn;var r=Yt;Nn=c,(Yt=n)&&!r?mi(l,u,(u.subtreeFlags&8772)!==0):jn(l,u),Nn=s,Yt=r}break;case 30:break;default:jn(l,u)}}function Wm(l){var n=l.alternate;n!==null&&(l.alternate=null,Wm(n)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(n=l.stateNode,n!==null&&yf(n)),l.stateNode=null,l.return=null,l.dependencies=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.stateNode=null,l.updateQueue=null}var Dt=null,yl=!1;function Bn(l,n,u){for(u=u.child;u!==null;)We(l,n,u),u=u.sibling}function We(l,n,u){if(Hl&&typeof Hl.onCommitFiberUnmount=="function")try{Hl.onCommitFiberUnmount(Kc,u)}catch{}switch(u.tag){case 26:Yt||an(u,n),Bn(l,n,u),u.memoizedState?u.memoizedState.count--:u.stateNode&&(u=u.stateNode,u.parentNode.removeChild(u));break;case 27:Yt||an(u,n);var c=Dt,s=yl;Ti(u.type)&&(Dt=u.stateNode,yl=!1),Bn(l,n,u),la(u.stateNode),Dt=c,yl=s;break;case 5:Yt||an(u,n);case 6:if(c=Dt,s=yl,Dt=null,Bn(l,n,u),Dt=c,yl=s,Dt!==null)if(yl)try{(Dt.nodeType===9?Dt.body:Dt.nodeName==="HTML"?Dt.ownerDocument.body:Dt).removeChild(u.stateNode)}catch(r){pt(u,n,r)}else try{Dt.removeChild(u.stateNode)}catch(r){pt(u,n,r)}break;case 18:Dt!==null&&(yl?(l=Dt,Nd(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,u.stateNode),Zn(l)):Nd(Dt,u.stateNode));break;case 4:c=Dt,s=yl,Dt=u.stateNode.containerInfo,yl=!0,Bn(l,n,u),Dt=c,yl=s;break;case 0:case 11:case 14:case 15:Yt||hi(2,u,n),Yt||hi(4,u,n),Bn(l,n,u);break;case 1:Yt||(an(u,n),c=u.stateNode,typeof c.componentWillUnmount=="function"&&Km(u,n,c)),Bn(l,n,u);break;case 21:Bn(l,n,u);break;case 22:Yt=(c=Yt)||u.memoizedState!==null,Bn(l,n,u),Yt=c;break;default:Bn(l,n,u)}}function gd(l,n){if(n.memoizedState===null&&(l=n.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{Zn(l)}catch(u){pt(n,n.return,u)}}function Fm(l){switch(l.tag){case 13:case 19:var n=l.stateNode;return n===null&&(n=l.stateNode=new pd),n;case 22:return l=l.stateNode,n=l._retryCache,n===null&&(n=l._retryCache=new pd),n;default:throw Error(b(435,l.tag))}}function vd(l,n){var u=Fm(l);n.forEach(function(c){var s=Kg.bind(null,l,c);u.has(c)||(u.add(c),c.then(s,s))})}function Yl(l,n){var u=n.deletions;if(u!==null)for(var c=0;c<u.length;c++){var s=u[c],r=l,y=n,p=y;e:for(;p!==null;){switch(p.tag){case 27:if(Ti(p.type)){Dt=p.stateNode,yl=!1;break e}break;case 5:Dt=p.stateNode,yl=!1;break e;case 3:case 4:Dt=p.stateNode.containerInfo,yl=!0;break e}p=p.return}if(Dt===null)throw Error(b(160));We(r,y,s),Dt=null,yl=!1,r=s.alternate,r!==null&&(r.return=null),s.return=null}if(n.subtreeFlags&13878)for(n=n.child;n!==null;)ss(n,l),n=n.sibling}var wl=null;function ss(l,n){var u=l.alternate,c=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:Yl(n,l),ol(l),c&4&&(hi(3,l,l.return),fs(3,l),hi(5,l,l.return));break;case 1:Yl(n,l),ol(l),c&512&&(Yt||u===null||an(u,u.return)),c&64&&Nn&&(l=l.updateQueue,l!==null&&(c=l.callbacks,c!==null&&(u=l.shared.hiddenCallbacks,l.shared.hiddenCallbacks=u===null?c:u.concat(c))));break;case 26:var s=wl;if(Yl(n,l),ol(l),c&512&&(Yt||u===null||an(u,u.return)),c&4){var r=u!==null?u.memoizedState:null;if(c=l.memoizedState,u===null)if(c===null)if(l.stateNode===null){e:{c=l.type,u=l.memoizedProps,s=s.ownerDocument||s;t:switch(c){case"title":r=s.getElementsByTagName("title")[0],(!r||r[re]||r[nl]||r.namespaceURI==="http://www.w3.org/2000/svg"||r.hasAttribute("itemprop"))&&(r=s.createElement(c),s.head.insertBefore(r,s.querySelector("head > title"))),Ce(r,c,u),r[nl]=l,$t(r),c=r;break e;case"link":var y=Ay("link","href",s).get(c+(u.href||""));if(y){for(var p=0;p<y.length;p++)if(r=y[p],r.getAttribute("href")===(u.href==null||u.href===""?null:u.href)&&r.getAttribute("rel")===(u.rel==null?null:u.rel)&&r.getAttribute("title")===(u.title==null?null:u.title)&&r.getAttribute("crossorigin")===(u.crossOrigin==null?null:u.crossOrigin)){y.splice(p,1);break t}}r=s.createElement(c),Ce(r,c,u),s.head.appendChild(r);break;case"meta":if(y=Ay("meta","content",s).get(c+(u.content||""))){for(p=0;p<y.length;p++)if(r=y[p],r.getAttribute("content")===(u.content==null?null:""+u.content)&&r.getAttribute("name")===(u.name==null?null:u.name)&&r.getAttribute("property")===(u.property==null?null:u.property)&&r.getAttribute("http-equiv")===(u.httpEquiv==null?null:u.httpEquiv)&&r.getAttribute("charset")===(u.charSet==null?null:u.charSet)){y.splice(p,1);break t}}r=s.createElement(c),Ce(r,c,u),s.head.appendChild(r);break;default:throw Error(b(468,c))}r[nl]=l,$t(r),c=r}l.stateNode=c}else Ry(s,l.type,l.stateNode);else l.stateNode=U0(s,c,l.memoizedProps);else r!==c?(r===null?u.stateNode!==null&&(u=u.stateNode,u.parentNode.removeChild(u)):r.count--,c===null?Ry(s,l.type,l.stateNode):U0(s,c,l.memoizedProps)):c===null&&l.stateNode!==null&&Jm(l,l.memoizedProps,u.memoizedProps)}break;case 27:Yl(n,l),ol(l),c&512&&(Yt||u===null||an(u,u.return)),u!==null&&c&4&&Jm(l,l.memoizedProps,u.memoizedProps);break;case 5:if(Yl(n,l),ol(l),c&512&&(Yt||u===null||an(u,u.return)),l.flags&32){s=l.stateNode;try{Wc(s,"")}catch(j){pt(l,l.return,j)}}c&4&&l.stateNode!=null&&(s=l.memoizedProps,Jm(l,s,u!==null?u.memoizedProps:s)),c&1024&&(yd=!0);break;case 6:if(Yl(n,l),ol(l),c&4){if(l.stateNode===null)throw Error(b(162));c=l.memoizedProps,u=l.stateNode;try{u.nodeValue=c}catch(j){pt(l,l.return,j)}}break;case 3:if(Ri=null,s=wl,wl=Bd(n.containerInfo),Yl(n,l),wl=s,ol(l),c&4&&u!==null&&u.memoizedState.isDehydrated)try{Zn(n.containerInfo)}catch(j){pt(l,l.return,j)}yd&&(yd=!1,Im(l));break;case 4:c=wl,wl=Bd(l.stateNode.containerInfo),Yl(n,l),ol(l),wl=c;break;case 12:Yl(n,l),ol(l);break;case 13:Yl(n,l),ol(l),l.child.flags&8192&&l.memoizedState!==null!=(u!==null&&u.memoizedState!==null)&&(iy=Cl()),c&4&&(c=l.updateQueue,c!==null&&(l.updateQueue=null,vd(l,c)));break;case 22:s=l.memoizedState!==null;var S=u!==null&&u.memoizedState!==null,U=Nn,Z=Yt;if(Nn=U||s,Yt=Z||S,Yl(n,l),Yt=Z,Nn=U,ol(l),c&8192)e:for(n=l.stateNode,n._visibility=s?n._visibility&-2:n._visibility|1,s&&(u===null||S||Nn||Yt||xt(l)),u=null,n=l;;){if(n.tag===5||n.tag===26){if(u===null){S=u=n;try{if(r=S.stateNode,s)y=r.style,typeof y.setProperty=="function"?y.setProperty("display","none","important"):y.display="none";else{p=S.stateNode;var $=S.memoizedProps.style,N=$!=null&&$.hasOwnProperty("display")?$.display:null;p.style.display=N==null||typeof N=="boolean"?"":(""+N).trim()}}catch(j){pt(S,S.return,j)}}}else if(n.tag===6){if(u===null){S=n;try{S.stateNode.nodeValue=s?"":S.memoizedProps}catch(j){pt(S,S.return,j)}}}else if((n.tag!==22&&n.tag!==23||n.memoizedState===null||n===l)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===l)break e;for(;n.sibling===null;){if(n.return===null||n.return===l)break e;u===n&&(u=null),n=n.return}u===n&&(u=null),n.sibling.return=n.return,n=n.sibling}c&4&&(c=l.updateQueue,c!==null&&(u=c.retryQueue,u!==null&&(c.retryQueue=null,vd(l,u))));break;case 19:Yl(n,l),ol(l),c&4&&(c=l.updateQueue,c!==null&&(l.updateQueue=null,vd(l,c)));break;case 30:break;case 21:break;default:Yl(n,l),ol(l)}}function ol(l){var n=l.flags;if(n&2){try{for(var u,c=l.return;c!==null;){if(m0(c)){u=c;break}c=c.return}if(u==null)throw Error(b(160));switch(u.tag){case 27:var s=u.stateNode,r=Na(l);hd(l,r,s);break;case 5:var y=u.stateNode;u.flags&32&&(Wc(y,""),u.flags&=-33);var p=Na(l);hd(l,p,y);break;case 3:case 4:var S=u.stateNode.containerInfo,U=Na(l);vc(l,U,S);break;default:throw Error(b(161))}}catch(Z){pt(l,l.return,Z)}l.flags&=-3}n&4096&&(l.flags&=-4097)}function Im(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var n=l;Im(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),l=l.sibling}}function jn(l,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)$m(l,n.alternate,n),n=n.sibling}function xt(l){for(l=l.child;l!==null;){var n=l;switch(n.tag){case 0:case 11:case 14:case 15:hi(4,n,n.return),xt(n);break;case 1:an(n,n.return);var u=n.stateNode;typeof u.componentWillUnmount=="function"&&Km(n,n.return,u),xt(n);break;case 27:la(n.stateNode);case 26:case 5:an(n,n.return),xt(n);break;case 22:n.memoizedState===null&&xt(n);break;case 30:xt(n);break;default:xt(n)}l=l.sibling}}function mi(l,n,u){for(u=u&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var c=n.alternate,s=l,r=n,y=r.flags;switch(r.tag){case 0:case 11:case 15:mi(s,r,u),fs(4,r);break;case 1:if(mi(s,r,u),c=r,s=c.stateNode,typeof s.componentDidMount=="function")try{s.componentDidMount()}catch(U){pt(c,c.return,U)}if(c=r,s=c.updateQueue,s!==null){var p=c.stateNode;try{var S=s.shared.hiddenCallbacks;if(S!==null)for(s.shared.hiddenCallbacks=null,s=0;s<S.length;s++)Nr(S[s],p)}catch(U){pt(c,c.return,U)}}u&&y&64&&dd(r),Ro(r,r.return);break;case 27:md(r);case 26:case 5:mi(s,r,u),u&&c===null&&y&4&&zo(r),Ro(r,r.return);break;case 12:mi(s,r,u);break;case 13:mi(s,r,u),u&&y&4&&gd(s,r);break;case 22:r.memoizedState===null&&mi(s,r,u),Ro(r,r.return);break;case 30:break;default:mi(s,r,u)}n=n.sibling}}function Ba(l,n){var u=null;l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(u=l.memoizedState.cachePool.pool),l=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(l=n.memoizedState.cachePool.pool),l!==u&&(l!=null&&l.refCount++,u!=null&&En(u))}function bd(l,n){l=null,n.alternate!==null&&(l=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==l&&(n.refCount++,l!=null&&En(l))}function pl(l,n,u,c){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)Pm(l,n,u,c),n=n.sibling}function Pm(l,n,u,c){var s=n.flags;switch(n.tag){case 0:case 11:case 15:pl(l,n,u,c),s&2048&&fs(9,n);break;case 1:pl(l,n,u,c);break;case 3:pl(l,n,u,c),s&2048&&(l=null,n.alternate!==null&&(l=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==l&&(n.refCount++,l!=null&&En(l)));break;case 12:if(s&2048){pl(l,n,u,c),l=n.stateNode;try{var r=n.memoizedProps,y=r.id,p=r.onPostCommit;typeof p=="function"&&p(y,n.alternate===null?"mount":"update",l.passiveEffectDuration,-0)}catch(S){pt(n,n.return,S)}}else pl(l,n,u,c);break;case 13:pl(l,n,u,c);break;case 23:break;case 22:r=n.stateNode,y=n.alternate,n.memoizedState!==null?r._visibility&2?pl(l,n,u,c):ot(l,n):r._visibility&2?pl(l,n,u,c):(r._visibility|=2,Tu(l,n,u,c,(n.subtreeFlags&10256)!==0)),s&2048&&Ba(y,n);break;case 24:pl(l,n,u,c),s&2048&&bd(n.alternate,n);break;default:pl(l,n,u,c)}}function Tu(l,n,u,c,s){for(s=s&&(n.subtreeFlags&10256)!==0,n=n.child;n!==null;){var r=l,y=n,p=u,S=c,U=y.flags;switch(y.tag){case 0:case 11:case 15:Tu(r,y,p,S,s),fs(8,y);break;case 23:break;case 22:var Z=y.stateNode;y.memoizedState!==null?Z._visibility&2?Tu(r,y,p,S,s):ot(r,y):(Z._visibility|=2,Tu(r,y,p,S,s)),s&&U&2048&&Ba(y.alternate,y);break;case 24:Tu(r,y,p,S,s),s&&U&2048&&bd(y.alternate,y);break;default:Tu(r,y,p,S,s)}n=n.sibling}}function ot(l,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var u=l,c=n,s=c.flags;switch(c.tag){case 22:ot(u,c),s&2048&&Ba(c.alternate,c);break;case 24:ot(u,c),s&2048&&bd(c.alternate,c);break;default:ot(u,c)}n=n.sibling}}var bc=8192;function wt(l){if(l.subtreeFlags&bc)for(l=l.child;l!==null;)y0(l),l=l.sibling}function y0(l){switch(l.tag){case 26:wt(l),l.flags&bc&&l.memoizedState!==null&&N0(wl,l.memoizedState,l.memoizedProps);break;case 5:wt(l);break;case 3:case 4:var n=wl;wl=Bd(l.stateNode.containerInfo),wt(l),wl=n;break;case 22:l.memoizedState===null&&(n=l.alternate,n!==null&&n.memoizedState!==null?(n=bc,bc=16777216,wt(l),bc=n):wt(l));break;default:wt(l)}}function ey(l){var n=l.alternate;if(n!==null&&(l=n.child,l!==null)){n.child=null;do n=l.sibling,l.sibling=null,l=n;while(l!==null)}}function Sc(l){var n=l.deletions;if((l.flags&16)!==0){if(n!==null)for(var u=0;u<n.length;u++){var c=n[u];Pt=c,ly(c,l)}ey(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)ty(l),l=l.sibling}function ty(l){switch(l.tag){case 0:case 11:case 15:Sc(l),l.flags&2048&&hi(9,l,l.return);break;case 3:Sc(l);break;case 12:Sc(l);break;case 22:var n=l.stateNode;l.memoizedState!==null&&n._visibility&2&&(l.return===null||l.return.tag!==13)?(n._visibility&=-3,Gl(l)):Sc(l);break;default:Sc(l)}}function Gl(l){var n=l.deletions;if((l.flags&16)!==0){if(n!==null)for(var u=0;u<n.length;u++){var c=n[u];Pt=c,ly(c,l)}ey(l)}for(l=l.child;l!==null;){switch(n=l,n.tag){case 0:case 11:case 15:hi(8,n,n.return),Gl(n);break;case 22:u=n.stateNode,u._visibility&2&&(u._visibility&=-3,Gl(n));break;default:Gl(n)}l=l.sibling}}function ly(l,n){for(;Pt!==null;){var u=Pt;switch(u.tag){case 0:case 11:case 15:hi(8,u,n);break;case 23:case 22:if(u.memoizedState!==null&&u.memoizedState.cachePool!==null){var c=u.memoizedState.cachePool.pool;c!=null&&c.refCount++}break;case 24:En(u.memoizedState.cache)}if(c=u.child,c!==null)c.return=u,Pt=c;else e:for(u=l;Pt!==null;){c=Pt;var s=c.sibling,r=c.return;if(Wm(c),c===u){Pt=null;break e}if(s!==null){s.return=r,Pt=s;break e}Pt=r}}}var ay={getCacheForType:function(l){var n=ul(Wt),u=n.data.get(l);return u===void 0&&(u=l(),n.data.set(l,u)),u}},p0=typeof WeakMap=="function"?WeakMap:Map,ht=0,_t=null,Ie=null,Pe=0,yt=0,Pl=null,Yn=!1,Do=!1,ny=!1,_u=0,Gt=0,Eu=0,Tc=0,wn=0,ja=0,xo=0,Oo=null,ea=null,uy=!1,iy=0,Sd=1/0,Mo=null,yi=null,gl=0,Gn=null,Uo=null,vl=0,Td=0,_d=null,cy=null,Co=0,oy=null;function ha(){if((ht&2)!==0&&Pe!==0)return Pe&-Pe;if(A.T!==null){var l=Ua;return l!==0?l:Rc()}return Mp()}function fy(){ja===0&&(ja=(Pe&536870912)===0||it?Vu():536870912);var l=da.current;return l!==null&&(l.flags|=32),ja}function ma(l,n,u){(l===_t&&(yt===2||yt===9)||l.cancelPendingCommit!==null)&&(Qn(l,0),Au(l,Pe,ja,!1)),Yi(l,u),((ht&2)===0||l!==_t)&&(l===_t&&((ht&2)===0&&(Tc|=u),Gt===4&&Au(l,Pe,ja,!1)),ta(l))}function Ho(l,n,u){if((ht&6)!==0)throw Error(b(327));var c=!u&&(n&124)===0&&(n&l.expiredLanes)===0||dn(l,n),s=c?ry(l,n):Ed(l,n,!0),r=c;do{if(s===0){Do&&!c&&Au(l,n,0,!1);break}else{if(u=l.current.alternate,r&&!g0(u)){s=Ed(l,n,!1),r=!1;continue}if(s===2){if(r=n,l.errorRecoveryDisabledLanes&r)var y=0;else y=l.pendingLanes&-536870913,y=y!==0?y:y&536870912?536870912:0;if(y!==0){n=y;e:{var p=l;s=Oo;var S=p.current.memoizedState.isDehydrated;if(S&&(Qn(p,y).flags|=256),y=Ed(p,y,!1),y!==2){if(ny&&!S){p.errorRecoveryDisabledLanes|=r,Tc|=r,s=4;break e}r=ea,ea=s,r!==null&&(ea===null?ea=r:ea.push.apply(ea,r))}s=y}if(r=!1,s!==2)continue}}if(s===1){Qn(l,0),Au(l,n,0,!0);break}e:{switch(c=l,r=s,r){case 0:case 1:throw Error(b(345));case 4:if((n&4194048)!==n)break;case 6:Au(c,n,ja,!Yn);break e;case 2:ea=null;break;case 3:case 5:break;default:throw Error(b(329))}if((n&62914560)===n&&(s=iy+300-Cl(),10<s)){if(Au(c,n,ja,!Yn),Qu(c,0,!0)!==0)break e;c.timeoutHandle=Hd(rs.bind(null,c,u,ea,Mo,uy,n,ja,Tc,xo,Yn,r,2,-0,0),s);break e}rs(c,u,ea,Mo,uy,n,ja,Tc,xo,Yn,r,0,-0,0)}}break}while(!0);ta(l)}function rs(l,n,u,c,s,r,y,p,S,U,Z,$,N,j){if(l.timeoutHandle=-1,$=n.subtreeFlags,($&8192||($&16785408)===16785408)&&(qo={stylesheets:null,count:0,unsuspend:H0},y0(n),$=Dy(),$!==null)){l.cancelPendingCommit=$(S0.bind(null,l,n,r,u,c,s,y,p,S,Z,1,N,j)),Au(l,r,y,!U);return}S0(l,n,r,u,c,s,y,p,S)}function g0(l){for(var n=l;;){var u=n.tag;if((u===0||u===11||u===15)&&n.flags&16384&&(u=n.updateQueue,u!==null&&(u=u.stores,u!==null)))for(var c=0;c<u.length;c++){var s=u[c],r=s.getSnapshot;s=s.value;try{if(!ml(r(),s))return!1}catch{return!1}}if(u=n.child,n.subtreeFlags&16384&&u!==null)u.return=n,n=u;else{if(n===l)break;for(;n.sibling===null;){if(n.return===null||n.return===l)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function Au(l,n,u,c){n&=~wn,n&=~Tc,l.suspendedLanes|=n,l.pingedLanes&=~n,c&&(l.warmLanes|=n),c=l.expirationTimes;for(var s=n;0<s;){var r=31-Zl(s),y=1<<r;c[r]=-1,s&=~y}u!==0&&hf(l,u,n)}function _c(){return(ht&6)===0?(ys(0),!1):!0}function pi(){if(Ie!==null){if(yt===0)var l=Ie.return;else l=Ie,Pa=mu=null,wr(l),dc=null,So=0,l=Ie;for(;l!==null;)qm(l.alternate,l),l=l.return;Ie=null}}function Qn(l,n){var u=l.timeoutHandle;u!==-1&&(l.timeoutHandle=-1,Wg(u)),u=l.cancelPendingCommit,u!==null&&(l.cancelPendingCommit=null,u()),pi(),_t=l,Ie=u=Fa(l.current,null),Pe=n,yt=0,Pl=null,Yn=!1,Do=dn(l,n),ny=!1,xo=ja=wn=Tc=Eu=Gt=0,ea=Oo=null,uy=!1,(n&8)!==0&&(n|=n&32);var c=l.entangledLanes;if(c!==0)for(l=l.entanglements,c&=n;0<c;){var s=31-Zl(c),r=1<<s;n|=l[s],c&=~r}return _u=n,Wa(),u}function sy(l,n){we=null,A.H=Pr,n===ii||n===Vf?(n=mm(),yt=3):n===Or?(n=mm(),yt=4):yt=n===jt?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,Pl=n,Ie===null&&(Gt=1,us(l,fa(n,l.current)))}function v0(){var l=A.H;return A.H=Pr,l===null?Pr:l}function Ec(){var l=A.A;return A.A=ay,l}function Ac(){Gt=4,Yn||(Pe&4194048)!==Pe&&da.current!==null||(Do=!0),(Eu&134217727)===0&&(Tc&134217727)===0||_t===null||Au(_t,Pe,ja,!1)}function Ed(l,n,u){var c=ht;ht|=2;var s=v0(),r=Ec();(_t!==l||Pe!==n)&&(Mo=null,Qn(l,n)),n=!1;var y=Gt;e:do try{if(yt!==0&&Ie!==null){var p=Ie,S=Pl;switch(yt){case 8:pi(),y=6;break e;case 3:case 2:case 9:case 6:da.current===null&&(n=!0);var U=yt;if(yt=0,Pl=null,No(l,p,S,U),u&&Do){y=0;break e}break;default:U=yt,yt=0,Pl=null,No(l,p,S,U)}}Ad(),y=Gt;break}catch(Z){sy(l,Z)}while(!0);return n&&l.shellSuspendCounter++,Pa=mu=null,ht=c,A.H=s,A.A=r,Ie===null&&(_t=null,Pe=0,Wa()),y}function Ad(){for(;Ie!==null;)hy(Ie)}function ry(l,n){var u=ht;ht|=2;var c=v0(),s=Ec();_t!==l||Pe!==n?(Mo=null,Sd=Cl()+500,Qn(l,n)):Do=dn(l,n);e:do try{if(yt!==0&&Ie!==null){n=Ie;var r=Pl;t:switch(yt){case 1:yt=0,Pl=null,No(l,n,r,1);break;case 2:case 9:if(Ur(r)){yt=0,Pl=null,my(n);break}n=function(){yt!==2&&yt!==9||_t!==l||(yt=7),ta(l)},r.then(n,n);break e;case 3:yt=7;break e;case 4:yt=5;break e;case 7:Ur(r)?(yt=0,Pl=null,my(n)):(yt=0,Pl=null,No(l,n,r,7));break;case 5:var y=null;switch(Ie.tag){case 26:y=Ie.memoizedState;case 5:case 27:var p=Ie;if(!y||zy(y)){yt=0,Pl=null;var S=p.sibling;if(S!==null)Ie=S;else{var U=p.return;U!==null?(Ie=U,ds(U)):Ie=null}break t}}yt=0,Pl=null,No(l,n,r,5);break;case 6:yt=0,Pl=null,No(l,n,r,6);break;case 8:pi(),Gt=6;break e;default:throw Error(b(462))}}dy();break}catch(Z){sy(l,Z)}while(!0);return Pa=mu=null,A.H=c,A.A=s,ht=u,Ie!==null?0:(_t=null,Pe=0,Wa(),Gt)}function dy(){for(;Ie!==null&&!Ps();)hy(Ie)}function hy(l){var n=h0(l.alternate,l,_u);l.memoizedProps=l.pendingProps,n===null?ds(l):Ie=n}function my(l){var n=l,u=n.alternate;switch(n.tag){case 15:case 0:n=Qm(u,n,n.pendingProps,n.type,void 0,Pe);break;case 11:n=Qm(u,n,n.pendingProps,n.type.render,n.ref,Pe);break;case 5:wr(n);default:qm(u,n),n=Ie=Ke(n,_u),n=h0(u,n,_u)}l.memoizedProps=l.pendingProps,n===null?ds(l):Ie=n}function No(l,n,u,c){Pa=mu=null,wr(n),dc=null,So=0;var s=n.return;try{if(s0(l,s,n,u,Pe)){Gt=1,us(l,fa(u,l.current)),Ie=null;return}}catch(r){if(s!==null)throw Ie=s,r;Gt=1,us(l,fa(u,l.current)),Ie=null;return}n.flags&32768?(it||c===1?l=!0:Do||(Pe&536870912)!==0?l=!1:(Yn=l=!0,(c===2||c===9||c===3||c===6)&&(c=da.current,c!==null&&c.tag===13&&(c.flags|=16384))),b0(n,l)):ds(n)}function ds(l){var n=l;do{if((n.flags&32768)!==0){b0(n,Yn);return}l=n.return;var u=Zm(n.alternate,n,_u);if(u!==null){Ie=u;return}if(n=n.sibling,n!==null){Ie=n;return}Ie=n=l}while(n!==null);Gt===0&&(Gt=5)}function b0(l,n){do{var u=Zg(l.alternate,l);if(u!==null){u.flags&=32767,Ie=u;return}if(u=l.return,u!==null&&(u.flags|=32768,u.subtreeFlags=0,u.deletions=null),!n&&(l=l.sibling,l!==null)){Ie=l;return}Ie=l=u}while(l!==null);Gt=6,Ie=null}function S0(l,n,u,c,s,r,y,p,S){l.cancelPendingCommit=null;do zd();while(gl!==0);if((ht&6)!==0)throw Error(b(327));if(n!==null){if(n===l.current)throw Error(b(177));if(r=n.lanes|n.childLanes,r|=bn,Op(l,u,r,y,p,S),l===_t&&(Ie=_t=null,Pe=0),Uo=n,Gn=l,vl=u,Td=r,_d=s,cy=c,(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?(l.callbackNode=null,l.callbackPriority=0,Jg(df,function(){return yy(),null})):(l.callbackNode=null,l.callbackPriority=0),c=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||c){c=A.T,A.T=null,s=k.p,k.p=2,y=ht,ht|=4;try{km(l,n,u)}finally{ht=y,k.p=s,A.T=c}}gl=1,T0(),hs(),Rd()}}function T0(){if(gl===1){gl=0;var l=Gn,n=Uo,u=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||u){u=A.T,A.T=null;var c=k.p;k.p=2;var s=ht;ht|=4;try{ss(n,l);var r=Es,y=am(l.containerInfo),p=r.focusedElem,S=r.selectionRange;if(y!==p&&p&&p.ownerDocument&&Mf(p.ownerDocument.documentElement,p)){if(S!==null&&Uf(p)){var U=S.start,Z=S.end;if(Z===void 0&&(Z=U),"selectionStart"in p)p.selectionStart=U,p.selectionEnd=Math.min(Z,p.value.length);else{var $=p.ownerDocument||document,N=$&&$.defaultView||window;if(N.getSelection){var j=N.getSelection(),Ee=p.textContent.length,Ae=Math.min(S.start,Ee),ft=S.end===void 0?Ae:Math.min(S.end,Ee);!j.extend&&Ae>ft&&(y=ft,ft=Ae,Ae=y);var x=At(p,Ae),z=At(p,ft);if(x&&z&&(j.rangeCount!==1||j.anchorNode!==x.node||j.anchorOffset!==x.offset||j.focusNode!==z.node||j.focusOffset!==z.offset)){var M=$.createRange();M.setStart(x.node,x.offset),j.removeAllRanges(),Ae>ft?(j.addRange(M),j.extend(z.node,z.offset)):(M.setEnd(z.node,z.offset),j.addRange(M))}}}}for($=[],j=p;j=j.parentNode;)j.nodeType===1&&$.push({element:j,left:j.scrollLeft,top:j.scrollTop});for(typeof p.focus=="function"&&p.focus(),p=0;p<$.length;p++){var J=$[p];J.element.scrollLeft=J.left,J.element.scrollTop=J.top}}xs=!!_s,Es=_s=null}finally{ht=s,k.p=c,A.T=u}}l.current=n,gl=2}}function hs(){if(gl===2){gl=0;var l=Gn,n=Uo,u=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||u){u=A.T,A.T=null;var c=k.p;k.p=2;var s=ht;ht|=4;try{$m(l,n.alternate,n)}finally{ht=s,k.p=c,A.T=u}}gl=3}}function Rd(){if(gl===4||gl===3){gl=0,lu();var l=Gn,n=Uo,u=vl,c=cy;(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?gl=5:(gl=0,Uo=Gn=null,_0(l,l.pendingLanes));var s=l.pendingLanes;if(s===0&&(yi=null),er(u),n=n.stateNode,Hl&&typeof Hl.onCommitFiberRoot=="function")try{Hl.onCommitFiberRoot(Kc,n,void 0,(n.current.flags&128)===128)}catch{}if(c!==null){n=A.T,s=k.p,k.p=2,A.T=null;try{for(var r=l.onRecoverableError,y=0;y<c.length;y++){var p=c[y];r(p.value,{componentStack:p.stack})}}finally{A.T=n,k.p=s}}(vl&3)!==0&&zd(),ta(l),s=l.pendingLanes,(u&4194090)!==0&&(s&42)!==0?l===oy?Co++:(Co=0,oy=l):Co=0,ys(0)}}function _0(l,n){(l.pooledCacheLanes&=n)===0&&(n=l.pooledCache,n!=null&&(l.pooledCache=null,En(n)))}function zd(l){return T0(),hs(),Rd(),yy()}function yy(){if(gl!==5)return!1;var l=Gn,n=Td;Td=0;var u=er(vl),c=A.T,s=k.p;try{k.p=32>u?32:u,A.T=null,u=_d,_d=null;var r=Gn,y=vl;if(gl=0,Uo=Gn=null,vl=0,(ht&6)!==0)throw Error(b(331));var p=ht;if(ht|=4,ty(r.current),Pm(r,r.current,y,u),ht=p,ys(0,!1),Hl&&typeof Hl.onPostCommitFiberRoot=="function")try{Hl.onPostCommitFiberRoot(Kc,r)}catch{}return!0}finally{k.p=s,A.T=c,_0(l,n)}}function py(l,n,u){n=fa(u,n),n=wm(l.stateNode,n,2),l=zn(l,n,2),l!==null&&(Yi(l,2),ta(l))}function pt(l,n,u){if(l.tag===3)py(l,l,u);else for(;n!==null;){if(n.tag===3){py(n,l,u);break}else if(n.tag===1){var c=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(yi===null||!yi.has(c))){l=fa(u,l),u=Gm(2),c=zn(n,u,2),c!==null&&(Il(u,c,n,l),Yi(c,2),ta(c));break}}n=n.return}}function Dd(l,n,u){var c=l.pingCache;if(c===null){c=l.pingCache=new p0;var s=new Set;c.set(n,s)}else s=c.get(n),s===void 0&&(s=new Set,c.set(n,s));s.has(u)||(ny=!0,s.add(u),l=gy.bind(null,l,n,u),n.then(l,l))}function gy(l,n,u){var c=l.pingCache;c!==null&&c.delete(n),l.pingedLanes|=l.suspendedLanes&u,l.warmLanes&=~u,_t===l&&(Pe&u)===u&&(Gt===4||Gt===3&&(Pe&62914560)===Pe&&300>Cl()-iy?(ht&2)===0&&Qn(l,0):wn|=u,xo===Pe&&(xo=0)),ta(l)}function vy(l,n){n===0&&(n=ji()),l=Sn(l,n),l!==null&&(Yi(l,n),ta(l))}function qg(l){var n=l.memoizedState,u=0;n!==null&&(u=n.retryLane),vy(l,u)}function Kg(l,n){var u=0;switch(l.tag){case 13:var c=l.stateNode,s=l.memoizedState;s!==null&&(u=s.retryLane);break;case 19:c=l.stateNode;break;case 22:c=l.stateNode._retryCache;break;default:throw Error(b(314))}c!==null&&c.delete(n),vy(l,u)}function Jg(l,n){return _a(l,n)}var xd=null,gi=null,ms=!1,Bo=!1,Od=!1,vi=0;function ta(l){l!==gi&&l.next===null&&(gi===null?xd=gi=l:gi=gi.next=l),Bo=!0,ms||(ms=!0,R0())}function ys(l,n){if(!Od&&Bo){Od=!0;do for(var u=!1,c=xd;c!==null;){if(l!==0){var s=c.pendingLanes;if(s===0)var r=0;else{var y=c.suspendedLanes,p=c.pingedLanes;r=(1<<31-Zl(42|l)+1)-1,r&=s&~(y&~p),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(u=!0,gs(c,r))}else r=Pe,r=Qu(c,c===_t?r:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(r&3)===0||dn(c,r)||(u=!0,gs(c,r));c=c.next}while(u);Od=!1}}function E0(){ps()}function ps(){Bo=ms=!1;var l=0;vi!==0&&(Du()&&(l=vi),vi=0);for(var n=Cl(),u=null,c=xd;c!==null;){var s=c.next,r=by(c,n);r===0?(c.next=null,u===null?xd=s:u.next=s,s===null&&(gi=u)):(u=c,(l!==0||(r&3)!==0)&&(Bo=!0)),c=s}ys(l)}function by(l,n){for(var u=l.suspendedLanes,c=l.pingedLanes,s=l.expirationTimes,r=l.pendingLanes&-62914561;0<r;){var y=31-Zl(r),p=1<<y,S=s[y];S===-1?((p&u)===0||(p&c)!==0)&&(s[y]=al(p,n)):S<=n&&(l.expiredLanes|=p),r&=~p}if(n=_t,u=Pe,u=Qu(l,l===n?u:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),c=l.callbackNode,u===0||l===n&&(yt===2||yt===9)||l.cancelPendingCommit!==null)return c!==null&&c!==null&&Gu(c),l.callbackNode=null,l.callbackPriority=0;if((u&3)===0||dn(l,u)){if(n=u&-u,n===l.callbackPriority)return n;switch(c!==null&&Gu(c),er(u)){case 2:case 8:u=rf;break;case 32:u=df;break;case 268435456:u=qc;break;default:u=df}return c=A0.bind(null,l),u=_a(u,c),l.callbackPriority=n,l.callbackNode=u,n}return c!==null&&c!==null&&Gu(c),l.callbackPriority=2,l.callbackNode=null,2}function A0(l,n){if(gl!==0&&gl!==5)return l.callbackNode=null,l.callbackPriority=0,null;var u=l.callbackNode;if(zd()&&l.callbackNode!==u)return null;var c=Pe;return c=Qu(l,l===_t?c:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),c===0?null:(Ho(l,c,n),by(l,Cl()),l.callbackNode!=null&&l.callbackNode===u?A0.bind(null,l):null)}function gs(l,n){if(zd())return null;Ho(l,n,!0)}function R0(){Fg(function(){(ht&6)!==0?_a(rn,E0):ps()})}function Rc(){return vi===0&&(vi=Vu()),vi}function Md(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:_f(""+l)}function vs(l,n){var u=n.ownerDocument.createElement("input");return u.name=n.name,u.value=n.value,l.id&&u.setAttribute("form",l.id),n.parentNode.insertBefore(u,n),l=new FormData(l),u.parentNode.removeChild(u),l}function z0(l,n,u,c,s){if(n==="submit"&&u&&u.stateNode===s){var r=Md((s[Nl]||null).action),y=c.submitter;y&&(n=(n=y[Nl]||null)?Md(n.formAction):y.getAttribute("formAction"),n!==null&&(r=n,y=null));var p=new dr("action","action",null,c,s);l.push({event:p,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(vi!==0){var S=y?vs(s,y):new FormData(s);Ir(u,{pending:!0,data:S,method:s.method,action:r},null,S)}}else typeof r=="function"&&(p.preventDefault(),S=y?vs(s,y):new FormData(s),Ir(u,{pending:!0,data:S,method:s.method,action:r},r,S))},currentTarget:s}]})}}for(var Qt=0;Qt<lo.length;Qt++){var bs=lo[Qt],kg=bs.toLowerCase(),qe=bs[0].toUpperCase()+bs.slice(1);za(kg,"on"+qe)}za($p,"onAnimationEnd"),za(nm,"onAnimationIteration"),za(Wp,"onAnimationStart"),za("dblclick","onDoubleClick"),za("focusin","onFocus"),za("focusout","onBlur"),za(um,"onTransitionRun"),za(Tr,"onTransitionStart"),za(Fp,"onTransitionCancel"),za(im,"onTransitionEnd"),Zu("onMouseEnter",["mouseout","mouseover"]),Zu("onMouseLeave",["mouseout","mouseover"]),Zu("onPointerEnter",["pointerout","pointerover"]),Zu("onPointerLeave",["pointerout","pointerover"]),Lu("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Lu("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Lu("onBeforeInput",["compositionend","keypress","textInput","paste"]),Lu("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Lu("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Lu("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ss="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(" "),bi=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ss));function zc(l,n){n=(n&4)!==0;for(var u=0;u<l.length;u++){var c=l[u],s=c.event;c=c.listeners;e:{var r=void 0;if(n)for(var y=c.length-1;0<=y;y--){var p=c[y],S=p.instance,U=p.currentTarget;if(p=p.listener,S!==r&&s.isPropagationStopped())break e;r=p,s.currentTarget=U;try{r(s)}catch(Z){as(Z)}s.currentTarget=null,r=S}else for(y=0;y<c.length;y++){if(p=c[y],S=p.instance,U=p.currentTarget,p=p.listener,S!==r&&s.isPropagationStopped())break e;r=p,s.currentTarget=U;try{r(s)}catch(Z){as(Z)}s.currentTarget=null,r=S}}}}function Ge(l,n){var u=n[tr];u===void 0&&(u=n[tr]=new Set);var c=l+"__bubble";u.has(c)||(Ud(n,l,2,!1),u.add(c))}function jo(l,n,u){var c=0;n&&(c|=4),Ud(u,l,c,n)}var Yo="_reactListening"+Math.random().toString(36).slice(2);function Sy(l){if(!l[Yo]){l[Yo]=!0,gf.forEach(function(u){u!=="selectionchange"&&(bi.has(u)||jo(u,!1,l),jo(u,!0,l))});var n=l.nodeType===9?l:l.ownerDocument;n===null||n[Yo]||(n[Yo]=!0,jo("selectionchange",!1,n))}}function Ud(l,n,u,c){switch(By(n)){case 2:var s=B0;break;case 8:s=j0;break;default:s=Hy}u=s.bind(null,n,u,l),s=void 0,!fr||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(s=!0),c?s!==void 0?l.addEventListener(n,u,{capture:!0,passive:s}):l.addEventListener(n,u,!0):s!==void 0?l.addEventListener(n,u,{passive:s}):l.addEventListener(n,u,!1)}function Ya(l,n,u,c,s){var r=c;if((n&1)===0&&(n&2)===0&&c!==null)e:for(;;){if(c===null)return;var y=c.tag;if(y===3||y===4){var p=c.stateNode.containerInfo;if(p===s)break;if(y===4)for(y=c.return;y!==null;){var S=y.tag;if((S===3||S===4)&&y.stateNode.containerInfo===s)return;y=y.return}for(;p!==null;){if(y=dl(p),y===null)return;if(S=y.tag,S===5||S===6||S===26||S===27){c=r=y;continue e}p=p.parentNode}}c=c.return}Pc(function(){var U=r,Z=or(u),$=[];e:{var N=cm.get(l);if(N!==void 0){var j=dr,Ee=l;switch(l){case"keypress":if(hl(u)===0)break e;case"keydown":case"keyup":j=qa;break;case"focusin":Ee="focus",j=Xh;break;case"focusout":Ee="blur",j=Xh;break;case"beforeblur":case"afterblur":j=Xh;break;case"click":if(u.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":j=Vh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":j=Qp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":j=qh;break;case $p:case nm:case Wp:j=Qg;break;case im:j=qp;break;case"scroll":case"scrollend":j=wp;break;case"wheel":j=$i;break;case"copy":case"cut":case"paste":j=Rf;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":j=zf;break;case"toggle":case"beforetoggle":j=Kp}var Ae=(n&4)!==0,ft=!Ae&&(l==="scroll"||l==="scrollend"),x=Ae?N!==null?N+"Capture":null:N;Ae=[];for(var z=U,M;z!==null;){var J=z;if(M=J.stateNode,J=J.tag,J!==5&&J!==26&&J!==27||M===null||x===null||(J=qi(z,x),J!=null&&Ae.push(Ru(z,J,M))),ft)break;z=z.return}0<Ae.length&&(N=new j(N,Ee,null,u,Z),$.push({event:N,listeners:Ae}))}}if((n&7)===0){e:{if(N=l==="mouseover"||l==="pointerover",j=l==="mouseout"||l==="pointerout",N&&u!==Zi&&(Ee=u.relatedTarget||u.fromElement)&&(dl(Ee)||Ee[kc]))break e;if((j||N)&&(N=Z.window===Z?Z:(N=Z.ownerDocument)?N.defaultView||N.parentWindow:window,j?(Ee=u.relatedTarget||u.toElement,j=U,Ee=Ee?dl(Ee):null,Ee!==null&&(ft=C(Ee),Ae=Ee.tag,Ee!==ft||Ae!==5&&Ae!==27&&Ae!==6)&&(Ee=null)):(j=null,Ee=U),j!==Ee)){if(Ae=Vh,J="onMouseLeave",x="onMouseEnter",z="mouse",(l==="pointerout"||l==="pointerover")&&(Ae=zf,J="onPointerLeave",x="onPointerEnter",z="pointer"),ft=j==null?N:pf(j),M=Ee==null?N:pf(Ee),N=new Ae(J,z+"leave",j,u,Z),N.target=ft,N.relatedTarget=M,J=null,dl(Z)===U&&(Ae=new Ae(x,z+"enter",Ee,u,Z),Ae.target=M,Ae.relatedTarget=ft,J=Ae),ft=J,j&&Ee)t:{for(Ae=j,x=Ee,z=0,M=Ae;M;M=Si(M))z++;for(M=0,J=x;J;J=Si(J))M++;for(;0<z-M;)Ae=Si(Ae),z--;for(;0<M-z;)x=Si(x),M--;for(;z--;){if(Ae===x||x!==null&&Ae===x.alternate)break t;Ae=Si(Ae),x=Si(x)}Ae=null}else Ae=null;j!==null&&Ts($,N,j,Ae,!1),Ee!==null&&ft!==null&&Ts($,ft,Ee,Ae,!0)}}e:{if(N=U?pf(U):window,j=N.nodeName&&N.nodeName.toLowerCase(),j==="select"||j==="input"&&N.type==="file")var fe=Fh;else if(gr(N))if(Ih)fe=tm;else{fe=Wu;var Je=br}else j=N.nodeName,!j||j.toLowerCase()!=="input"||N.type!=="checkbox"&&N.type!=="radio"?U&&Li(U.elementType)&&(fe=Fh):fe=su;if(fe&&(fe=fe(l,U))){vr($,fe,u,Z);break e}Je&&Je(l,N,U),l==="focusout"&&U&&N.type==="number"&&U.memoizedProps.value!=null&&Sf(N,"number",N.value)}switch(Je=U?pf(U):window,l){case"focusin":(gr(Je)||Je.contentEditable==="true")&&(gn=Je,ka=U,Pu=null);break;case"focusout":Pu=ka=gn=null;break;case"mousedown":ec=!0;break;case"contextmenu":case"mouseup":case"dragend":ec=!1,Sr($,u,Z);break;case"selectionchange":if(Pi)break;case"keydown":case"keyup":Sr($,u,Z)}var Se;if(Df)e:{switch(l){case"compositionstart":var De="onCompositionStart";break e;case"compositionend":De="onCompositionEnd";break e;case"compositionupdate":De="onCompositionUpdate";break e}De=void 0}else $u?Of(l,u)&&(De="onCompositionEnd"):l==="keydown"&&u.keyCode===229&&(De="onCompositionStart");De&&(yn&&u.locale!=="ko"&&($u||De!=="onCompositionStart"?De==="onCompositionEnd"&&$u&&(Se=Gh()):(ou=Z,eo="value"in ou?ou.value:ou.textContent,$u=!0)),Je=wo(U,De),0<Je.length&&(De=new Lh(De,l,null,u,Z),$.push({event:De,listeners:Je}),Se?De.data=Se:(Se=ku(u),Se!==null&&(De.data=Se)))),(Se=Jh?$h(l,u):Wi(l,u))&&(De=wo(U,"onBeforeInput"),0<De.length&&(Je=new Lh("onBeforeInput","beforeinput",null,u,Z),$.push({event:Je,listeners:De}),Je.data=Se)),z0($,l,U,u,Z)}zc($,n)})}function Ru(l,n,u){return{instance:l,listener:n,currentTarget:u}}function wo(l,n){for(var u=n+"Capture",c=[];l!==null;){var s=l,r=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||r===null||(s=qi(l,u),s!=null&&c.unshift(Ru(l,s,r)),s=qi(l,n),s!=null&&c.push(Ru(l,s,r))),l.tag===3)return c;l=l.return}return[]}function Si(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}function Ts(l,n,u,c,s){for(var r=n._reactName,y=[];u!==null&&u!==c;){var p=u,S=p.alternate,U=p.stateNode;if(p=p.tag,S!==null&&S===c)break;p!==5&&p!==26&&p!==27||U===null||(S=U,s?(U=qi(u,r),U!=null&&y.unshift(Ru(u,U,S))):s||(U=qi(u,r),U!=null&&y.push(Ru(u,U,S)))),u=u.return}y.length!==0&&l.push({event:n,listeners:y})}var ya=/\r\n?/g,Ty=/\u0000|\uFFFD/g;function D0(l){return(typeof l=="string"?l:""+l).replace(ya,`
|
|
33
|
-
`).replace(Ty,"")}function _y(l,n){return n=D0(n),D0(l)===n}function Cd(){}function Be(l,n,u,c,s,r){switch(u){case"children":typeof c=="string"?n==="body"||n==="textarea"&&c===""||Wc(l,c):(typeof c=="number"||typeof c=="bigint")&&n!=="body"&&Wc(l,""+c);break;case"className":vf(l,"class",c);break;case"tabIndex":vf(l,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":vf(l,u,c);break;case"style":Tf(l,c,r);break;case"data":if(n!=="object"){vf(l,"data",c);break}case"src":case"href":if(c===""&&(n!=="a"||u!=="href")){l.removeAttribute(u);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){l.removeAttribute(u);break}c=_f(""+c),l.setAttribute(u,c);break;case"action":case"formAction":if(typeof c=="function"){l.setAttribute(u,"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 r=="function"&&(u==="formAction"?(n!=="input"&&Be(l,n,"name",s.name,s,null),Be(l,n,"formEncType",s.formEncType,s,null),Be(l,n,"formMethod",s.formMethod,s,null),Be(l,n,"formTarget",s.formTarget,s,null)):(Be(l,n,"encType",s.encType,s,null),Be(l,n,"method",s.method,s,null),Be(l,n,"target",s.target,s,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){l.removeAttribute(u);break}c=_f(""+c),l.setAttribute(u,c);break;case"onClick":c!=null&&(l.onclick=Cd);break;case"onScroll":c!=null&&Ge("scroll",l);break;case"onScrollEnd":c!=null&&Ge("scrollend",l);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(b(61));if(u=c.__html,u!=null){if(s.children!=null)throw Error(b(60));l.innerHTML=u}}break;case"multiple":l.multiple=c&&typeof c!="function"&&typeof c!="symbol";break;case"muted":l.muted=c&&typeof c!="function"&&typeof c!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(c==null||typeof c=="function"||typeof c=="boolean"||typeof c=="symbol"){l.removeAttribute("xlink:href");break}u=_f(""+c),l.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",u);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":c!=null&&typeof c!="function"&&typeof c!="symbol"?l.setAttribute(u,""+c):l.removeAttribute(u);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":c&&typeof c!="function"&&typeof c!="symbol"?l.setAttribute(u,""):l.removeAttribute(u);break;case"capture":case"download":c===!0?l.setAttribute(u,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?l.setAttribute(u,c):l.removeAttribute(u);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?l.setAttribute(u,c):l.removeAttribute(u);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?l.removeAttribute(u):l.setAttribute(u,c);break;case"popover":Ge("beforetoggle",l),Ge("toggle",l),iu(l,"popover",c);break;case"xlinkActuate":hn(l,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":hn(l,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":hn(l,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":hn(l,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":hn(l,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":hn(l,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":hn(l,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":hn(l,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":hn(l,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":iu(l,"is",c);break;case"innerText":case"textContent":break;default:(!(2<u.length)||u[0]!=="o"&&u[0]!=="O"||u[1]!=="n"&&u[1]!=="N")&&(u=Yg.get(u)||u,iu(l,u,c))}}function w(l,n,u,c,s,r){switch(u){case"style":Tf(l,c,r);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(b(61));if(u=c.__html,u!=null){if(s.children!=null)throw Error(b(60));l.innerHTML=u}}break;case"children":typeof c=="string"?Wc(l,c):(typeof c=="number"||typeof c=="bigint")&&Wc(l,""+c);break;case"onScroll":c!=null&&Ge("scroll",l);break;case"onScrollEnd":c!=null&&Ge("scrollend",l);break;case"onClick":c!=null&&(l.onclick=Cd);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!ca.hasOwnProperty(u))e:{if(u[0]==="o"&&u[1]==="n"&&(s=u.endsWith("Capture"),n=u.slice(2,s?u.length-7:void 0),r=l[Nl]||null,r=r!=null?r[u]:null,typeof r=="function"&&l.removeEventListener(n,r,s),typeof c=="function")){typeof r!="function"&&r!==null&&(u in l?l[u]=null:l.hasAttribute(u)&&l.removeAttribute(u)),l.addEventListener(n,c,s);break e}u in l?l[u]=c:c===!0?l.setAttribute(u,""):iu(l,u,c)}}}function Ce(l,n,u){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ge("error",l),Ge("load",l);var c=!1,s=!1,r;for(r in u)if(u.hasOwnProperty(r)){var y=u[r];if(y!=null)switch(r){case"src":c=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(b(137,n));default:Be(l,n,r,y,u,null)}}s&&Be(l,n,"srcSet",u.srcSet,u,null),c&&Be(l,n,"src",u.src,u,null);return;case"input":Ge("invalid",l);var p=r=y=s=null,S=null,U=null;for(c in u)if(u.hasOwnProperty(c)){var Z=u[c];if(Z!=null)switch(c){case"name":s=Z;break;case"type":y=Z;break;case"checked":S=Z;break;case"defaultChecked":U=Z;break;case"value":r=Z;break;case"defaultValue":p=Z;break;case"children":case"dangerouslySetInnerHTML":if(Z!=null)throw Error(b(137,n));break;default:Be(l,n,c,Z,u,null)}}ir(l,r,p,S,U,y,s,!1),Ku(l);return;case"select":Ge("invalid",l),c=y=r=null;for(s in u)if(u.hasOwnProperty(s)&&(p=u[s],p!=null))switch(s){case"value":r=p;break;case"defaultValue":y=p;break;case"multiple":c=p;default:Be(l,n,s,p,u,null)}n=r,u=y,l.multiple=!!c,n!=null?Xi(l,!!c,n,!1):u!=null&&Xi(l,!!c,u,!0);return;case"textarea":Ge("invalid",l),r=s=c=null;for(y in u)if(u.hasOwnProperty(y)&&(p=u[y],p!=null))switch(y){case"value":c=p;break;case"defaultValue":s=p;break;case"children":r=p;break;case"dangerouslySetInnerHTML":if(p!=null)throw Error(b(91));break;default:Be(l,n,y,p,u,null)}Yh(l,c,s,r),Ku(l);return;case"option":for(S in u)if(u.hasOwnProperty(S)&&(c=u[S],c!=null))switch(S){case"selected":l.selected=c&&typeof c!="function"&&typeof c!="symbol";break;default:Be(l,n,S,c,u,null)}return;case"dialog":Ge("beforetoggle",l),Ge("toggle",l),Ge("cancel",l),Ge("close",l);break;case"iframe":case"object":Ge("load",l);break;case"video":case"audio":for(c=0;c<Ss.length;c++)Ge(Ss[c],l);break;case"image":Ge("error",l),Ge("load",l);break;case"details":Ge("toggle",l);break;case"embed":case"source":case"link":Ge("error",l),Ge("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(U in u)if(u.hasOwnProperty(U)&&(c=u[U],c!=null))switch(U){case"children":case"dangerouslySetInnerHTML":throw Error(b(137,n));default:Be(l,n,U,c,u,null)}return;default:if(Li(n)){for(Z in u)u.hasOwnProperty(Z)&&(c=u[Z],c!==void 0&&w(l,n,Z,c,u,void 0));return}}for(p in u)u.hasOwnProperty(p)&&(c=u[p],c!=null&&Be(l,n,p,c,u,null))}function $g(l,n,u,c){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,r=null,y=null,p=null,S=null,U=null,Z=null;for(j in u){var $=u[j];if(u.hasOwnProperty(j)&&$!=null)switch(j){case"checked":break;case"value":break;case"defaultValue":S=$;default:c.hasOwnProperty(j)||Be(l,n,j,null,c,$)}}for(var N in c){var j=c[N];if($=u[N],c.hasOwnProperty(N)&&(j!=null||$!=null))switch(N){case"type":r=j;break;case"name":s=j;break;case"checked":U=j;break;case"defaultChecked":Z=j;break;case"value":y=j;break;case"defaultValue":p=j;break;case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(b(137,n));break;default:j!==$&&Be(l,n,N,j,c,$)}}ur(l,y,p,S,U,Z,r,s);return;case"select":j=y=p=N=null;for(r in u)if(S=u[r],u.hasOwnProperty(r)&&S!=null)switch(r){case"value":break;case"multiple":j=S;default:c.hasOwnProperty(r)||Be(l,n,r,null,c,S)}for(s in c)if(r=c[s],S=u[s],c.hasOwnProperty(s)&&(r!=null||S!=null))switch(s){case"value":N=r;break;case"defaultValue":p=r;break;case"multiple":y=r;default:r!==S&&Be(l,n,s,r,c,S)}n=p,u=y,c=j,N!=null?Xi(l,!!u,N,!1):!!c!=!!u&&(n!=null?Xi(l,!!u,n,!0):Xi(l,!!u,u?[]:"",!1));return;case"textarea":j=N=null;for(p in u)if(s=u[p],u.hasOwnProperty(p)&&s!=null&&!c.hasOwnProperty(p))switch(p){case"value":break;case"children":break;default:Be(l,n,p,null,c,s)}for(y in c)if(s=c[y],r=u[y],c.hasOwnProperty(y)&&(s!=null||r!=null))switch(y){case"value":N=s;break;case"defaultValue":j=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(b(91));break;default:s!==r&&Be(l,n,y,s,c,r)}jh(l,N,j);return;case"option":for(var Ee in u)if(N=u[Ee],u.hasOwnProperty(Ee)&&N!=null&&!c.hasOwnProperty(Ee))switch(Ee){case"selected":l.selected=!1;break;default:Be(l,n,Ee,null,c,N)}for(S in c)if(N=c[S],j=u[S],c.hasOwnProperty(S)&&N!==j&&(N!=null||j!=null))switch(S){case"selected":l.selected=N&&typeof N!="function"&&typeof N!="symbol";break;default:Be(l,n,S,N,c,j)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Ae in u)N=u[Ae],u.hasOwnProperty(Ae)&&N!=null&&!c.hasOwnProperty(Ae)&&Be(l,n,Ae,null,c,N);for(U in c)if(N=c[U],j=u[U],c.hasOwnProperty(U)&&N!==j&&(N!=null||j!=null))switch(U){case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(b(137,n));break;default:Be(l,n,U,N,c,j)}return;default:if(Li(n)){for(var ft in u)N=u[ft],u.hasOwnProperty(ft)&&N!==void 0&&!c.hasOwnProperty(ft)&&w(l,n,ft,void 0,c,N);for(Z in c)N=c[Z],j=u[Z],!c.hasOwnProperty(Z)||N===j||N===void 0&&j===void 0||w(l,n,Z,N,c,j);return}}for(var x in u)N=u[x],u.hasOwnProperty(x)&&N!=null&&!c.hasOwnProperty(x)&&Be(l,n,x,null,c,N);for($ in c)N=c[$],j=u[$],!c.hasOwnProperty($)||N===j||N==null&&j==null||Be(l,n,$,N,c,j)}var _s=null,Es=null;function wa(l){return l.nodeType===9?l:l.ownerDocument}function zu(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}}function Go(l,n){if(l===0)switch(n){case"svg":return 1;case"math":return 2;default:return 0}return l===1&&n==="foreignObject"?0:l}function Vn(l,n){return l==="textarea"||l==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.children=="bigint"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var Qo=null;function Du(){var l=window.event;return l&&l.type==="popstate"?l===Qo?!1:(Qo=l,!0):(Qo=null,!1)}var Hd=typeof setTimeout=="function"?setTimeout:void 0,Wg=typeof clearTimeout=="function"?clearTimeout:void 0,x0=typeof Promise=="function"?Promise:void 0,Fg=typeof queueMicrotask=="function"?queueMicrotask:typeof x0<"u"?function(l){return x0.resolve(null).then(l).catch(Xn)}:Hd;function Xn(l){setTimeout(function(){throw l})}function Ti(l){return l==="head"}function Nd(l,n){var u=n,c=0,s=0;do{var r=u.nextSibling;if(l.removeChild(u),r&&r.nodeType===8)if(u=r.data,u==="/$"){if(0<c&&8>c){u=c;var y=l.ownerDocument;if(u&1&&la(y.documentElement),u&2&&la(y.body),u&4)for(u=y.head,la(u),y=u.firstChild;y;){var p=y.nextSibling,S=y.nodeName;y[re]||S==="SCRIPT"||S==="STYLE"||S==="LINK"&&y.rel.toLowerCase()==="stylesheet"||u.removeChild(y),y=p}}if(s===0){l.removeChild(r),Zn(n);return}s--}else u==="$"||u==="$?"||u==="$!"?s++:c=u.charCodeAt(0)-48;else c=0;u=r}while(u);Zn(n)}function As(l){var n=l.firstChild;for(n&&n.nodeType===10&&(n=n.nextSibling);n;){var u=n;switch(n=n.nextSibling,u.nodeName){case"HTML":case"HEAD":case"BODY":As(u),yf(u);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(u.rel.toLowerCase()==="stylesheet")continue}l.removeChild(u)}}function Vo(l,n,u,c){for(;l.nodeType===1;){var s=u;if(l.nodeName.toLowerCase()!==n.toLowerCase()){if(!c&&(l.nodeName!=="INPUT"||l.type!=="hidden"))break}else if(c){if(!l[re])switch(n){case"meta":if(!l.hasAttribute("itemprop"))break;return l;case"link":if(r=l.getAttribute("rel"),r==="stylesheet"&&l.hasAttribute("data-precedence"))break;if(r!==s.rel||l.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||l.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||l.getAttribute("title")!==(s.title==null?null:s.title))break;return l;case"style":if(l.hasAttribute("data-precedence"))break;return l;case"script":if(r=l.getAttribute("src"),(r!==(s.src==null?null:s.src)||l.getAttribute("type")!==(s.type==null?null:s.type)||l.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&r&&l.hasAttribute("async")&&!l.hasAttribute("itemprop"))break;return l;default:return l}}else if(n==="input"&&l.type==="hidden"){var r=s.name==null?null:""+s.name;if(s.type==="hidden"&&l.getAttribute("name")===r)return l}else return l;if(l=nn(l.nextSibling),l===null)break}return null}function Ig(l,n,u){if(n==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!u||(l=nn(l.nextSibling),l===null))return null;return l}function Rs(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState==="complete"}function Pg(l,n){var u=l.ownerDocument;if(l.data!=="$?"||u.readyState==="complete")n();else{var c=function(){n(),u.removeEventListener("DOMContentLoaded",c)};u.addEventListener("DOMContentLoaded",c),l._reactRetry=c}}function nn(l){for(;l!=null;l=l.nextSibling){var n=l.nodeType;if(n===1||n===3)break;if(n===8){if(n=l.data,n==="$"||n==="$!"||n==="$?"||n==="F!"||n==="F")break;if(n==="/$")return null}}return l}var _i=null;function bl(l){l=l.previousSibling;for(var n=0;l;){if(l.nodeType===8){var u=l.data;if(u==="$"||u==="$!"||u==="$?"){if(n===0)return l;n--}else u==="/$"&&n++}l=l.previousSibling}return null}function ne(l,n,u){switch(n=wa(u),l){case"html":if(l=n.documentElement,!l)throw Error(b(452));return l;case"head":if(l=n.head,!l)throw Error(b(453));return l;case"body":if(l=n.body,!l)throw Error(b(454));return l;default:throw Error(b(451))}}function la(l){for(var n=l.attributes;n.length;)l.removeAttributeNode(n[0]);yf(l)}var Vt=new Map,xl=new Set;function Bd(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}var xu=k.d;k.d={f:jd,r:Yd,D:Ou,C:wd,L:Ei,m:Ol,X:Ai,S:aa,M:Ey};function jd(){var l=xu.f(),n=_c();return l||n}function Yd(l){var n=wi(l);n!==null&&n.tag===5&&n.type==="form"?bo(n):xu.r(l)}var Sl=typeof document>"u"?null:document;function un(l,n,u){var c=Sl;if(c&&typeof n=="string"&&n){var s=Aa(n);s='link[rel="'+l+'"][href="'+s+'"]',typeof u=="string"&&(s+='[crossorigin="'+u+'"]'),xl.has(s)||(xl.add(s),l={rel:l,crossOrigin:u,href:n},c.querySelector(s)===null&&(n=c.createElement("link"),Ce(n,"link",l),$t(n),c.head.appendChild(n)))}}function Ou(l){xu.D(l),un("dns-prefetch",l,null)}function wd(l,n){xu.C(l,n),un("preconnect",l,n)}function Ei(l,n,u){xu.L(l,n,u);var c=Sl;if(c&&l&&n){var s='link[rel="preload"][as="'+Aa(n)+'"]';n==="image"&&u&&u.imageSrcSet?(s+='[imagesrcset="'+Aa(u.imageSrcSet)+'"]',typeof u.imageSizes=="string"&&(s+='[imagesizes="'+Aa(u.imageSizes)+'"]')):s+='[href="'+Aa(l)+'"]';var r=s;switch(n){case"style":r=Xo(l);break;case"script":r=Ga(l)}Vt.has(r)||(l=pe({rel:"preload",href:n==="image"&&u&&u.imageSrcSet?void 0:l,as:n},u),Vt.set(r,l),c.querySelector(s)!==null||n==="style"&&c.querySelector(Lo(r))||n==="script"&&c.querySelector(Dc(r))||(n=c.createElement("link"),Ce(n,"link",l),$t(n),c.head.appendChild(n)))}}function Ol(l,n){xu.m(l,n);var u=Sl;if(u&&l){var c=n&&typeof n.as=="string"?n.as:"script",s='link[rel="modulepreload"][as="'+Aa(c)+'"][href="'+Aa(l)+'"]',r=s;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=Ga(l)}if(!Vt.has(r)&&(l=pe({rel:"modulepreload",href:l},n),Vt.set(r,l),u.querySelector(s)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(u.querySelector(Dc(r)))return}c=u.createElement("link"),Ce(c,"link",l),$t(c),u.head.appendChild(c)}}}function aa(l,n,u){xu.S(l,n,u);var c=Sl;if(c&&l){var s=uu(c).hoistableStyles,r=Xo(l);n=n||"default";var y=s.get(r);if(!y){var p={loading:0,preload:null};if(y=c.querySelector(Lo(r)))p.loading=5;else{l=pe({rel:"stylesheet",href:l,"data-precedence":n},u),(u=Vt.get(r))&&Qd(l,u);var S=y=c.createElement("link");$t(S),Ce(S,"link",l),S._p=new Promise(function(U,Z){S.onload=U,S.onerror=Z}),S.addEventListener("load",function(){p.loading|=1}),S.addEventListener("error",function(){p.loading|=2}),p.loading|=4,Gd(y,n,c)}y={type:"stylesheet",instance:y,count:1,state:p},s.set(r,y)}}}function Ai(l,n){xu.X(l,n);var u=Sl;if(u&&l){var c=uu(u).hoistableScripts,s=Ga(l),r=c.get(s);r||(r=u.querySelector(Dc(s)),r||(l=pe({src:l,async:!0},n),(n=Vt.get(s))&&Vd(l,n),r=u.createElement("script"),$t(r),Ce(r,"link",l),u.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},c.set(s,r))}}function Ey(l,n){xu.M(l,n);var u=Sl;if(u&&l){var c=uu(u).hoistableScripts,s=Ga(l),r=c.get(s);r||(r=u.querySelector(Dc(s)),r||(l=pe({src:l,async:!0,type:"module"},n),(n=Vt.get(s))&&Vd(l,n),r=u.createElement("script"),$t(r),Ce(r,"link",l),u.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},c.set(s,r))}}function O0(l,n,u,c){var s=(s=$e.current)?Bd(s):null;if(!s)throw Error(b(446));switch(l){case"meta":case"title":return null;case"style":return typeof u.precedence=="string"&&typeof u.href=="string"?(n=Xo(u.href),u=uu(s).hoistableStyles,c=u.get(n),c||(c={type:"style",instance:null,count:0,state:null},u.set(n,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(u.rel==="stylesheet"&&typeof u.href=="string"&&typeof u.precedence=="string"){l=Xo(u.href);var r=uu(s).hoistableStyles,y=r.get(l);if(y||(s=s.ownerDocument||s,y={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},r.set(l,y),(r=s.querySelector(Lo(l)))&&!r._p&&(y.instance=r,y.state.loading=5),Vt.has(l)||(u={rel:"preload",as:"style",href:u.href,crossOrigin:u.crossOrigin,integrity:u.integrity,media:u.media,hrefLang:u.hrefLang,referrerPolicy:u.referrerPolicy},Vt.set(l,u),r||M0(s,l,u,y.state))),n&&c===null)throw Error(b(528,""));return y}if(n&&c!==null)throw Error(b(529,""));return null;case"script":return n=u.async,u=u.src,typeof u=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=Ga(u),u=uu(s).hoistableScripts,c=u.get(n),c||(c={type:"script",instance:null,count:0,state:null},u.set(n,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error(b(444,l))}}function Xo(l){return'href="'+Aa(l)+'"'}function Lo(l){return'link[rel="stylesheet"]['+l+"]"}function Zo(l){return pe({},l,{"data-precedence":l.precedence,precedence:null})}function M0(l,n,u,c){l.querySelector('link[rel="preload"][as="style"]['+n+"]")?c.loading=1:(n=l.createElement("link"),c.preload=n,n.addEventListener("load",function(){return c.loading|=1}),n.addEventListener("error",function(){return c.loading|=2}),Ce(n,"link",u),$t(n),l.head.appendChild(n))}function Ga(l){return'[src="'+Aa(l)+'"]'}function Dc(l){return"script[async]"+l}function U0(l,n,u){if(n.count++,n.instance===null)switch(n.type){case"style":var c=l.querySelector('style[data-href~="'+Aa(u.href)+'"]');if(c)return n.instance=c,$t(c),c;var s=pe({},u,{"data-href":u.href,"data-precedence":u.precedence,href:null,precedence:null});return c=(l.ownerDocument||l).createElement("style"),$t(c),Ce(c,"style",s),Gd(c,u.precedence,l),n.instance=c;case"stylesheet":s=Xo(u.href);var r=l.querySelector(Lo(s));if(r)return n.state.loading|=4,n.instance=r,$t(r),r;c=Zo(u),(s=Vt.get(s))&&Qd(c,s),r=(l.ownerDocument||l).createElement("link"),$t(r);var y=r;return y._p=new Promise(function(p,S){y.onload=p,y.onerror=S}),Ce(r,"link",c),n.state.loading|=4,Gd(r,u.precedence,l),n.instance=r;case"script":return r=Ga(u.src),(s=l.querySelector(Dc(r)))?(n.instance=s,$t(s),s):(c=u,(s=Vt.get(r))&&(c=pe({},u),Vd(c,s)),l=l.ownerDocument||l,s=l.createElement("script"),$t(s),Ce(s,"link",c),l.head.appendChild(s),n.instance=s);case"void":return null;default:throw Error(b(443,n.type))}else n.type==="stylesheet"&&(n.state.loading&4)===0&&(c=n.instance,n.state.loading|=4,Gd(c,u.precedence,l));return n.instance}function Gd(l,n,u){for(var c=u.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=c.length?c[c.length-1]:null,r=s,y=0;y<c.length;y++){var p=c[y];if(p.dataset.precedence===n)r=p;else if(r!==s)break}r?r.parentNode.insertBefore(l,r.nextSibling):(n=u.nodeType===9?u.head:u,n.insertBefore(l,n.firstChild))}function Qd(l,n){l.crossOrigin==null&&(l.crossOrigin=n.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=n.referrerPolicy),l.title==null&&(l.title=n.title)}function Vd(l,n){l.crossOrigin==null&&(l.crossOrigin=n.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=n.referrerPolicy),l.integrity==null&&(l.integrity=n.integrity)}var Ri=null;function Ay(l,n,u){if(Ri===null){var c=new Map,s=Ri=new Map;s.set(u,c)}else s=Ri,c=s.get(u),c||(c=new Map,s.set(u,c));if(c.has(l))return c;for(c.set(l,null),u=u.getElementsByTagName(l),s=0;s<u.length;s++){var r=u[s];if(!(r[re]||r[nl]||l==="link"&&r.getAttribute("rel")==="stylesheet")&&r.namespaceURI!=="http://www.w3.org/2000/svg"){var y=r.getAttribute(n)||"";y=l+y;var p=c.get(y);p?p.push(r):c.set(y,[r])}}return c}function Ry(l,n,u){l=l.ownerDocument||l,l.head.insertBefore(u,n==="title"?l.querySelector("head > title"):null)}function C0(l,n,u){if(u===1||n.itemProp!=null)return!1;switch(l){case"meta":case"title":return!0;case"style":if(typeof n.precedence!="string"||typeof n.href!="string"||n.href==="")break;return!0;case"link":if(typeof n.rel!="string"||typeof n.href!="string"||n.href===""||n.onLoad||n.onError)break;switch(n.rel){case"stylesheet":return l=n.disabled,typeof n.precedence=="string"&&l==null;default:return!0}case"script":if(n.async&&typeof n.async!="function"&&typeof n.async!="symbol"&&!n.onLoad&&!n.onError&&n.src&&typeof n.src=="string")return!0}return!1}function zy(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}var qo=null;function H0(){}function N0(l,n,u){if(qo===null)throw Error(b(475));var c=qo;if(n.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var s=Xo(u.href),r=l.querySelector(Lo(s));if(r){l=r._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(c.count++,c=zs.bind(c),l.then(c,c)),n.state.loading|=4,n.instance=r,$t(r);return}r=l.ownerDocument||l,u=Zo(u),(s=Vt.get(s))&&Qd(u,s),r=r.createElement("link"),$t(r);var y=r;y._p=new Promise(function(p,S){y.onload=p,y.onerror=S}),Ce(r,"link",u),n.instance=r}c.stylesheets===null&&(c.stylesheets=new Map),c.stylesheets.set(n,l),(l=n.state.preload)&&(n.state.loading&3)===0&&(c.count++,n=zs.bind(c),l.addEventListener("load",n),l.addEventListener("error",n))}}function Dy(){if(qo===null)throw Error(b(475));var l=qo;return l.stylesheets&&l.count===0&&Ds(l,l.stylesheets),0<l.count?function(n){var u=setTimeout(function(){if(l.stylesheets&&Ds(l,l.stylesheets),l.unsuspend){var c=l.unsuspend;l.unsuspend=null,c()}},6e4);return l.unsuspend=n,function(){l.unsuspend=null,clearTimeout(u)}}:null}function zs(){if(this.count--,this.count===0){if(this.stylesheets)Ds(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}var Ko=null;function Ds(l,n){l.stylesheets=null,l.unsuspend!==null&&(l.count++,Ko=new Map,n.forEach(pa,l),Ko=null,zs.call(l))}function pa(l,n){if(!(n.state.loading&4)){var u=Ko.get(l);if(u)var c=u.get(null);else{u=new Map,Ko.set(l,u);for(var s=l.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r<s.length;r++){var y=s[r];(y.nodeName==="LINK"||y.getAttribute("media")!=="not all")&&(u.set(y.dataset.precedence,y),c=y)}c&&u.set(null,c)}s=n.instance,y=s.getAttribute("data-precedence"),r=u.get(y)||c,r===c&&u.set(null,s),u.set(y,s),this.count++,c=zs.bind(this),s.addEventListener("load",c),s.addEventListener("error",c),r?r.parentNode.insertBefore(s,r.nextSibling):(l=l.nodeType===9?l.head:l,l.insertBefore(s,l.firstChild)),n.state.loading|=4}}var na={$$typeof:ge,Provider:null,Consumer:null,_currentValue:I,_currentValue2:I,_threadCount:0};function ev(l,n,u,c,s,r,y,p){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=Xu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Xu(0),this.hiddenUpdates=Xu(null),this.identifierPrefix=c,this.onUncaughtError=s,this.onCaughtError=r,this.onRecoverableError=y,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=p,this.incompleteTransitions=new Map}function xy(l,n,u,c,s,r,y,p,S,U,Z,$){return l=new ev(l,n,u,y,p,S,U,$),n=1,r===!0&&(n|=24),r=Jl(3,null,null,n),l.current=r,r.stateNode=l,n=mo(),n.refCount++,l.pooledCache=n,n.refCount++,r.memoizedState={element:c,isDehydrated:u,cache:n},Cr(r),l}function Oy(l){return l?(l=uo,l):uo}function My(l,n,u,c,s,r){s=Oy(s),c.context===null?c.context=s:c.pendingContext=s,c=$l(n),c.payload={element:u},r=r===void 0?null:r,r!==null&&(c.callback=r),u=zn(l,c,n),u!==null&&(ma(u,l,n),ic(u,l,n))}function Uy(l,n){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var u=l.retryLane;l.retryLane=u!==0&&u<n?u:n}}function Xd(l,n){Uy(l,n),(l=l.alternate)&&Uy(l,n)}function Cy(l){if(l.tag===13){var n=Sn(l,67108864);n!==null&&ma(n,l,67108864),Xd(l,67108864)}}var xs=!0;function B0(l,n,u,c){var s=A.T;A.T=null;var r=k.p;try{k.p=2,Hy(l,n,u,c)}finally{k.p=r,A.T=s}}function j0(l,n,u,c){var s=A.T;A.T=null;var r=k.p;try{k.p=8,Hy(l,n,u,c)}finally{k.p=r,A.T=s}}function Hy(l,n,u,c){if(xs){var s=Ld(c);if(s===null)Ya(l,n,c,Zd,u),xc(l,c);else if(w0(s,l,n,u,c))c.stopPropagation();else if(xc(l,c),n&4&&-1<Y0.indexOf(l)){for(;s!==null;){var r=wi(s);if(r!==null)switch(r.tag){case 3:if(r=r.stateNode,r.current.memoizedState.isDehydrated){var y=ia(r.pendingLanes);if(y!==0){var p=r;for(p.pendingLanes|=2,p.entangledLanes|=2;y;){var S=1<<31-Zl(y);p.entanglements[1]|=S,y&=~S}ta(r),(ht&6)===0&&(Sd=Cl()+500,ys(0))}}break;case 13:p=Sn(r,2),p!==null&&ma(p,r,2),_c(),Xd(r,2)}if(r=Ld(c),r===null&&Ya(l,n,c,Zd,u),r===s)break;s=r}s!==null&&c.stopPropagation()}else Ya(l,n,c,null,u)}}function Ld(l){return l=or(l),Ny(l)}var Zd=null;function Ny(l){if(Zd=null,l=dl(l),l!==null){var n=C(l);if(n===null)l=null;else{var u=n.tag;if(u===13){if(l=F(n),l!==null)return l;l=null}else if(u===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;l=null}else n!==l&&(l=null)}}return Zd=l,null}function By(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(Ea()){case rn:return 2;case rf:return 8;case df:case Mh:return 32;case qc:return 268435456;default:return 32}default:return 32}}var Jo=!1,Ln=null,Mu=null,Uu=null,Os=new Map,Ms=new Map,zi=[],Y0="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 xc(l,n){switch(l){case"focusin":case"focusout":Ln=null;break;case"dragenter":case"dragleave":Mu=null;break;case"mouseover":case"mouseout":Uu=null;break;case"pointerover":case"pointerout":Os.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ms.delete(n.pointerId)}}function Oc(l,n,u,c,s,r){return l===null||l.nativeEvent!==r?(l={blockedOn:n,domEventName:u,eventSystemFlags:c,nativeEvent:r,targetContainers:[s]},n!==null&&(n=wi(n),n!==null&&Cy(n)),l):(l.eventSystemFlags|=c,n=l.targetContainers,s!==null&&n.indexOf(s)===-1&&n.push(s),l)}function w0(l,n,u,c,s){switch(n){case"focusin":return Ln=Oc(Ln,l,n,u,c,s),!0;case"dragenter":return Mu=Oc(Mu,l,n,u,c,s),!0;case"mouseover":return Uu=Oc(Uu,l,n,u,c,s),!0;case"pointerover":var r=s.pointerId;return Os.set(r,Oc(Os.get(r)||null,l,n,u,c,s)),!0;case"gotpointercapture":return r=s.pointerId,Ms.set(r,Oc(Ms.get(r)||null,l,n,u,c,s)),!0}return!1}function jy(l){var n=dl(l.target);if(n!==null){var u=C(n);if(u!==null){if(n=u.tag,n===13){if(n=F(u),n!==null){l.blockedOn=n,Bg(l.priority,function(){if(u.tag===13){var c=ha();c=Za(c);var s=Sn(u,c);s!==null&&ma(s,u,c),Xd(u,c)}});return}}else if(n===3&&u.stateNode.current.memoizedState.isDehydrated){l.blockedOn=u.tag===3?u.stateNode.containerInfo:null;return}}}l.blockedOn=null}function Us(l){if(l.blockedOn!==null)return!1;for(var n=l.targetContainers;0<n.length;){var u=Ld(l.nativeEvent);if(u===null){u=l.nativeEvent;var c=new u.constructor(u.type,u);Zi=c,u.target.dispatchEvent(c),Zi=null}else return n=wi(u),n!==null&&Cy(n),l.blockedOn=u,!1;n.shift()}return!0}function Cs(l,n,u){Us(l)&&u.delete(n)}function ko(){Jo=!1,Ln!==null&&Us(Ln)&&(Ln=null),Mu!==null&&Us(Mu)&&(Mu=null),Uu!==null&&Us(Uu)&&(Uu=null),Os.forEach(Cs),Ms.forEach(Cs)}function qd(l,n){l.blockedOn===n&&(l.blockedOn=null,Jo||(Jo=!0,h.unstable_scheduleCallback(h.unstable_NormalPriority,ko)))}var Mc=null;function Yy(l){Mc!==l&&(Mc=l,h.unstable_scheduleCallback(h.unstable_NormalPriority,function(){Mc===l&&(Mc=null);for(var n=0;n<l.length;n+=3){var u=l[n],c=l[n+1],s=l[n+2];if(typeof c!="function"){if(Ny(c||u)===null)continue;break}var r=wi(u);r!==null&&(l.splice(n,3),n-=3,Ir(r,{pending:!0,data:s,method:u.method,action:c},c,s))}}))}function Zn(l){function n(S){return qd(S,l)}Ln!==null&&qd(Ln,l),Mu!==null&&qd(Mu,l),Uu!==null&&qd(Uu,l),Os.forEach(n),Ms.forEach(n);for(var u=0;u<zi.length;u++){var c=zi[u];c.blockedOn===l&&(c.blockedOn=null)}for(;0<zi.length&&(u=zi[0],u.blockedOn===null);)jy(u),u.blockedOn===null&&zi.shift();if(u=(l.ownerDocument||l).$$reactFormReplay,u!=null)for(c=0;c<u.length;c+=3){var s=u[c],r=u[c+1],y=s[Nl]||null;if(typeof r=="function")y||Yy(u);else if(y){var p=null;if(r&&r.hasAttribute("formAction")){if(s=r,y=r[Nl]||null)p=y.formAction;else if(Ny(s)!==null)continue}else p=y.action;typeof p=="function"?u[c+1]=p:(u.splice(c,3),c-=3),Yy(u)}}}function wy(l){this._internalRoot=l}Kd.prototype.render=wy.prototype.render=function(l){var n=this._internalRoot;if(n===null)throw Error(b(409));var u=n.current,c=ha();My(u,c,l,n,null,null)},Kd.prototype.unmount=wy.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var n=l.containerInfo;My(l.current,2,null,l,null,null),_c(),n[kc]=null}};function Kd(l){this._internalRoot=l}Kd.prototype.unstable_scheduleHydration=function(l){if(l){var n=Mp();l={blockedOn:null,target:l,priority:n};for(var u=0;u<zi.length&&n!==0&&n<zi[u].priority;u++);zi.splice(u,0,l),u===0&&jy(l)}};var Gy=E.version;if(Gy!=="19.1.1")throw Error(b(527,Gy,"19.1.1"));k.findDOMNode=function(l){var n=l._reactInternals;if(n===void 0)throw typeof l.render=="function"?Error(b(188)):(l=Object.keys(l).join(","),Error(b(268,l)));return l=V(n),l=l!==null?be(l):null,l=l===null?null:l.stateNode,l};var Ql={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:A,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Hs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Hs.isDisabled&&Hs.supportsFiber)try{Kc=Hs.inject(Ql),Hl=Hs}catch{}}return _h.createRoot=function(l,n){if(!D(l))throw Error(b(299));var u=!1,c="",s=_o,r=jm,y=ns,p=null;return n!=null&&(n.unstable_strictMode===!0&&(u=!0),n.identifierPrefix!==void 0&&(c=n.identifierPrefix),n.onUncaughtError!==void 0&&(s=n.onUncaughtError),n.onCaughtError!==void 0&&(r=n.onCaughtError),n.onRecoverableError!==void 0&&(y=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(p=n.unstable_transitionCallbacks)),n=xy(l,1,!1,null,null,u,c,s,r,y,p,null),l[kc]=n.current,Sy(l),new wy(n)},_h.hydrateRoot=function(l,n,u){if(!D(l))throw Error(b(299));var c=!1,s="",r=_o,y=jm,p=ns,S=null,U=null;return u!=null&&(u.unstable_strictMode===!0&&(c=!0),u.identifierPrefix!==void 0&&(s=u.identifierPrefix),u.onUncaughtError!==void 0&&(r=u.onUncaughtError),u.onCaughtError!==void 0&&(y=u.onCaughtError),u.onRecoverableError!==void 0&&(p=u.onRecoverableError),u.unstable_transitionCallbacks!==void 0&&(S=u.unstable_transitionCallbacks),u.formState!==void 0&&(U=u.formState)),n=xy(l,1,!0,n,u??null,c,s,r,y,p,S,U),n.context=Oy(null),u=n.current,c=ha(),c=Za(c),s=$l(c),s.callback=null,zn(u,s,c),u=c,n.current.lanes=u,Yi(n,u),ta(n),l[kc]=n.current,Sy(l),new Kd(n)},_h.version="19.1.1",_h}var Eh={};/**
|
|
34
|
-
* @license React
|
|
35
|
-
* react-dom-client.development.js
|
|
36
|
-
*
|
|
37
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
38
|
-
*
|
|
39
|
-
* This source code is licensed under the MIT license found in the
|
|
40
|
-
* LICENSE file in the root directory of this source tree.
|
|
41
|
-
*/var ub;function xS(){return ub||(ub=1,process.env.NODE_ENV!=="production"&&(function(){function h(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function E(e,t,a,i){if(a>=t.length)return i;var o=t[a],f=Be(e)?e.slice():qe({},e);return f[o]=E(e[o],t,a+1,i),f}function O(e,t,a){if(t.length!==a.length)console.warn("copyWithRename() expects paths of the same length");else{for(var i=0;i<a.length-1;i++)if(t[i]!==a[i]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return b(e,t,a,0)}}function b(e,t,a,i){var o=t[i],f=Be(e)?e.slice():qe({},e);return i+1===t.length?(f[a[i]]=f[o],Be(f)?f.splice(o,1):delete f[o]):f[o]=b(e[o],t,a,i+1),f}function D(e,t,a){var i=t[a],o=Be(e)?e.slice():qe({},e);return a+1===t.length?(Be(o)?o.splice(i,1):delete o[i],o):(o[i]=D(e[i],t,a+1),o)}function C(){return!1}function F(){return null}function K(){}function V(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function be(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function pe(){}function ie(e){var t=[];return e.forEach(function(a){t.push(a)}),t.sort().join(", ")}function se(e,t,a,i){return new xf(e,t,a,i)}function Xe(e,t){e.context===$o&&(pt(e.current,2,t,e,null,null),pc())}function Ne(e,t){if(Kn!==null){var a=t.staleFamilies;t=t.updatedFamilies,Eo(),Df(e.current,t,a),pc()}}function Ye(e){Kn=e}function xe(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Oe(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function ce(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function ge(e){if(Oe(e)!==e)throw Error("Unable to find node on an unmounted component.")}function oe(e){var t=e.alternate;if(!t){if(t=Oe(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var a=e,i=t;;){var o=a.return;if(o===null)break;var f=o.alternate;if(f===null){if(i=o.return,i!==null){a=i;continue}break}if(o.child===f.child){for(f=o.child;f;){if(f===a)return ge(o),e;if(f===i)return ge(o),t;f=f.sibling}throw Error("Unable to find node on an unmounted component.")}if(a.return!==i.return)a=o,i=f;else{for(var d=!1,m=o.child;m;){if(m===a){d=!0,a=o,i=f;break}if(m===i){d=!0,i=o,a=f;break}m=m.sibling}if(!d){for(m=f.child;m;){if(m===a){d=!0,a=f,i=o;break}if(m===i){d=!0,i=f,a=o;break}m=m.sibling}if(!d)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(a.alternate!==i)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(a.tag!==3)throw Error("Unable to find node on an unmounted component.");return a.stateNode.current===a?e:t}function Me(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=Me(e),t!==null)return t;e=e.sibling}return null}function Te(e){return e===null||typeof e!="object"?null:(e=_y&&e[_y]||e["@@iterator"],typeof e=="function"?e:null)}function ye(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Cd?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ge:return"Fragment";case Yo:return"Profiler";case jo:return"StrictMode";case wo:return"Suspense";case Si:return"SuspenseList";case Ty:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case zc:return"Portal";case Ya:return(e.displayName||"Context")+".Provider";case Ud:return(e._context.displayName||"Context")+".Consumer";case Ru:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ts:return t=e.displayName||null,t!==null?t:ye(e.type)||"Memo";case ya:t=e._payload,e=e._init;try{return ye(e(t))}catch{}}return null}function Re(e){return typeof e.tag=="number"?W(e):typeof e.name=="string"?e.name:null}function W(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return(t.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ye(t);case 8:return t===jo?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var a=t.length-1;0<=a;a--)if(typeof t[a].name=="string")return t[a].name}if(e.return!==null)return W(e.return)}return null}function ue(e){return{current:e}}function _e(e,t){0>wa?console.error("Unexpected pop."):(t!==Es[wa]&&console.error("Unexpected Fiber popped."),e.current=_s[wa],_s[wa]=null,Es[wa]=null,wa--)}function te(e,t,a){wa++,_s[wa]=e.current,Es[wa]=a,e.current=t}function Fe(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function rt(e,t){te(Vn,t,e),te(Go,e,e),te(zu,null,e);var a=t.nodeType;switch(a){case 9:case 11:a=a===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?yt(t):Qc;break;default:if(a=t.tagName,t=t.namespaceURI)t=yt(t),t=Pl(t,a);else switch(a){case"svg":t=Sh;break;case"math":t=mg;break;default:t=Qc}}a=a.toLowerCase(),a=jh(null,a),a={context:t,ancestorInfo:a},_e(zu,e),te(zu,a,e)}function mt(e){_e(zu,e),_e(Go,e),_e(Vn,e)}function A(){return Fe(zu.current)}function k(e){e.memoizedState!==null&&te(Qo,e,e);var t=Fe(zu.current),a=e.type,i=Pl(t.context,a);a=jh(t.ancestorInfo,a),i={context:i,ancestorInfo:a},t!==i&&(te(Go,e,e),te(zu,i,e))}function I(e){Go.current===e&&(_e(zu,e),_e(Go,e)),Qo.current===e&&(_e(Qo,e),gp._currentValue=Fs)}function ve(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function Y(e){try{return ae(e),!1}catch{return!0}}function ae(e){return""+e}function ee(e,t){if(Y(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,ve(e)),ae(e)}function me(e,t){if(Y(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,ve(e)),ae(e)}function Ue(e){if(Y(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",ve(e)),ae(e)}function nt(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{_i=t.inject(e),bl=t}catch(a){console.error("React instrumentation encountered an error: %s.",a)}return!!t.checkDCE}function $e(e){if(typeof Pg=="function"&&nn(e),bl&&typeof bl.setStrictMode=="function")try{bl.setStrictMode(_i,e)}catch(t){la||(la=!0,console.error("React instrumentation encountered an error: %s",t))}}function sn(e){ne=e}function Tt(){ne!==null&&typeof ne.markCommitStopped=="function"&&ne.markCommitStopped()}function ll(e){ne!==null&&typeof ne.markComponentRenderStarted=="function"&&ne.markComponentRenderStarted(e)}function Zt(){ne!==null&&typeof ne.markComponentRenderStopped=="function"&&ne.markComponentRenderStopped()}function La(e){ne!==null&&typeof ne.markRenderStarted=="function"&&ne.markRenderStarted(e)}function wu(){ne!==null&&typeof ne.markRenderStopped=="function"&&ne.markRenderStopped()}function _a(e,t){ne!==null&&typeof ne.markStateUpdateScheduled=="function"&&ne.markStateUpdateScheduled(e,t)}function Gu(e){return e>>>=0,e===0?32:31-(Bd(e)/xu|0)|0}function Ps(e){if(e&1)return"SyncHydrationLane";if(e&2)return"Sync";if(e&4)return"InputContinuousHydration";if(e&8)return"InputContinuous";if(e&16)return"DefaultHydration";if(e&32)return"Default";if(e&128)return"TransitionHydration";if(e&4194048)return"Transition";if(e&62914560)return"Retry";if(e&67108864)return"SelectiveHydration";if(e&134217728)return"IdleHydration";if(e&268435456)return"Idle";if(e&536870912)return"Offscreen";if(e&1073741824)return"Deferred"}function lu(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function Cl(e,t,a){var i=e.pendingLanes;if(i===0)return 0;var o=0,f=e.suspendedLanes,d=e.pingedLanes;e=e.warmLanes;var m=i&134217727;return m!==0?(i=m&~f,i!==0?o=lu(i):(d&=m,d!==0?o=lu(d):a||(a=m&~e,a!==0&&(o=lu(a))))):(m=i&~f,m!==0?o=lu(m):d!==0?o=lu(d):a||(a=i&~e,a!==0&&(o=lu(a)))),o===0?0:t!==0&&t!==o&&(t&f)===0&&(f=o&-o,a=t&-t,f>=a||f===32&&(a&4194048)!==0)?t:o}function Ea(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function rn(e,t){switch(e){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 console.error("Should have found matching lanes. This is a bug in React."),-1}}function rf(){var e=jd;return jd<<=1,(jd&4194048)===0&&(jd=256),e}function df(){var e=Yd;return Yd<<=1,(Yd&62914560)===0&&(Yd=4194304),e}function Mh(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function qc(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Hg(e,t,a,i,o,f){var d=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var m=e.entanglements,g=e.expirationTimes,v=e.hiddenUpdates;for(a=d&~a;0<a;){var B=31-xl(a),Q=1<<B;m[B]=0,g[B]=-1;var H=v[B];if(H!==null)for(v[B]=null,B=0;B<H.length;B++){var X=H[B];X!==null&&(X.lane&=-536870913)}a&=~Q}i!==0&&Dp(e,i,0),f!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=f&~(d&~t))}function Dp(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-xl(t);e.entangledLanes|=t,e.entanglements[i]=e.entanglements[i]|1073741824|a&4194090}function Kc(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var i=31-xl(a),o=1<<i;o&t|e[i]&t&&(e[i]|=t),a&=~o}}function Hl(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function au(e,t,a){if(Vt)for(e=e.pendingUpdatersLaneMap;0<a;){var i=31-xl(a),o=1<<i;e[i].add(t),a&=~o}}function Zl(e,t){if(Vt)for(var a=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;0<t;){var o=31-xl(t);e=1<<o,o=a[o],0<o.size&&(o.forEach(function(f){var d=f.alternate;d!==null&&i.has(d)||i.add(f)}),o.clear()),t&=~e}}function Uh(e){return e&=-e,Sl<e?un<e?(e&134217727)!==0?Ou:wd:un:Sl}function xp(){var e=Ce.p;return e!==0?e:(e=window.event,e===void 0?Ou:Od(e.type))}function Ng(e,t){var a=Ce.p;try{return Ce.p=e,t()}finally{Ce.p=a}}function Jc(e){delete e[Ol],delete e[aa],delete e[Ey],delete e[O0],delete e[Xo]}function nu(e){var t=e[Ol];if(t)return t;for(var a=e.parentNode;a;){if(t=a[Ai]||a[Ol]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=Co(e);e!==null;){if(a=e[Ol])return a;e=Co(e)}return t}e=a,a=e.parentNode}return null}function ia(e){if(e=e[Ol]||e[Ai]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function Qu(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function dn(e){var t=e[Lo];return t||(t=e[Lo]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function al(e){e[Zo]=!0}function Vu(e,t){ji(e,t),ji(e+"Capture",t)}function ji(e,t){Ga[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Ga[e]=t;var a=e.toLowerCase();for(Dc[a]=e,e==="onDoubleClick"&&(Dc.ondblclick=e),e=0;e<t.length;e++)M0.add(t[e])}function Xu(e,t){U0[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Yi(e){return Du.call(Vd,e)?!0:Du.call(Qd,e)?!1:Gd.test(e)?Vd[e]=!0:(Qd[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function Op(e,t,a){if(Yi(t)){if(!e.hasAttribute(t)){switch(typeof a){case"symbol":case"object":return a;case"function":return a;case"boolean":if(a===!1)return a}return a===void 0?void 0:null}return e=e.getAttribute(t),e===""&&a===!0?!0:(ee(a,t),e===""+a?a:e)}}function hf(e,t,a){if(Yi(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var i=t.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){e.removeAttribute(t);return}}ee(a,t),e.setAttribute(t,""+a)}}function mf(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}ee(a,t),e.setAttribute(t,""+a)}}function Za(e,t,a,i){if(i===null)e.removeAttribute(a);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}ee(i,a),e.setAttributeNS(t,a,""+i)}}function er(){}function Mp(){if(Ri===0){Ay=console.log,Ry=console.info,C0=console.warn,zy=console.error,qo=console.group,H0=console.groupCollapsed,N0=console.groupEnd;var e={configurable:!0,enumerable:!0,value:er,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Ri++}function Bg(){if(Ri--,Ri===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:qe({},e,{value:Ay}),info:qe({},e,{value:Ry}),warn:qe({},e,{value:C0}),error:qe({},e,{value:zy}),group:qe({},e,{value:qo}),groupCollapsed:qe({},e,{value:H0}),groupEnd:qe({},e,{value:N0})})}0>Ri&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function kt(e){if(Dy===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);Dy=t&&t[1]||"",zs=-1<a.stack.indexOf(`
|
|
42
|
-
at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
43
|
-
`+Dy+e+zs}function nl(e,t){if(!e||Ko)return"";var a=Ds.get(e);if(a!==void 0)return a;Ko=!0,a=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var i=null;i=w.H,w.H=null,Mp();try{var o={DetermineComponentFrameRoot:function(){try{if(t){var H=function(){throw Error()};if(Object.defineProperty(H.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(H,[])}catch(de){var X=de}Reflect.construct(e,[],H)}else{try{H.call()}catch(de){X=de}e.call(H.prototype)}}else{try{throw Error()}catch(de){X=de}(H=e())&&typeof H.catch=="function"&&H.catch(function(){})}}catch(de){if(de&&X&&typeof de.stack=="string")return[de.stack,X.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=o.DetermineComponentFrameRoot(),m=d[0],g=d[1];if(m&&g){var v=m.split(`
|
|
44
|
-
`),B=g.split(`
|
|
45
|
-
`);for(d=f=0;f<v.length&&!v[f].includes("DetermineComponentFrameRoot");)f++;for(;d<B.length&&!B[d].includes("DetermineComponentFrameRoot");)d++;if(f===v.length||d===B.length)for(f=v.length-1,d=B.length-1;1<=f&&0<=d&&v[f]!==B[d];)d--;for(;1<=f&&0<=d;f--,d--)if(v[f]!==B[d]){if(f!==1||d!==1)do if(f--,d--,0>d||v[f]!==B[d]){var Q=`
|
|
46
|
-
`+v[f].replace(" at new "," at ");return e.displayName&&Q.includes("<anonymous>")&&(Q=Q.replace("<anonymous>",e.displayName)),typeof e=="function"&&Ds.set(e,Q),Q}while(1<=f&&0<=d);break}}}finally{Ko=!1,w.H=i,Bg(),Error.prepareStackTrace=a}return v=(v=e?e.displayName||e.name:"")?kt(v):"",typeof e=="function"&&Ds.set(e,v),v}function Nl(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
|
|
47
|
-
`)&&(e=e.slice(29)),t=e.indexOf(`
|
|
48
|
-
`),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react_stack_bottom_frame"),t!==-1&&(t=e.lastIndexOf(`
|
|
49
|
-
`,t)),t!==-1)e=e.slice(0,t);else return"";return e}function kc(e){switch(e.tag){case 26:case 27:case 5:return kt(e.type);case 16:return kt("Lazy");case 13:return kt("Suspense");case 19:return kt("SuspenseList");case 0:case 15:return nl(e.type,!1);case 11:return nl(e.type.render,!1);case 1:return nl(e.type,!0);case 31:return kt("Activity");default:return""}}function tr(e){try{var t="";do{t+=kc(e);var a=e._debugInfo;if(a)for(var i=a.length-1;0<=i;i--){var o=a[i];if(typeof o.name=="string"){var f=t,d=o.env,m=kt(o.name+(d?" ["+d+"]":""));t=f+m}}e=e.return}while(e);return t}catch(g){return`
|
|
50
|
-
Error generating stack: `+g.message+`
|
|
51
|
-
`+g.stack}}function Up(e){return(e=e?e.displayName||e.name:"")?kt(e):""}function lr(){if(pa===null)return null;var e=pa._debugOwner;return e!=null?Re(e):null}function Cp(){if(pa===null)return"";var e=pa;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=kt(e.type);break;case 13:t+=kt("Suspense");break;case 19:t+=kt("SuspenseList");break;case 31:t+=kt("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=Up(e.type));break;case 11:e._debugOwner||t!==""||(t+=Up(e.type.render))}for(;e;)if(typeof e.tag=="number"){var a=e;e=a._debugOwner;var i=a._debugStack;e&&i&&(typeof i!="string"&&(a._debugStack=i=Nl(i)),i!==""&&(t+=`
|
|
52
|
-
`+i))}else if(e.debugStack!=null){var o=e.debugStack;(e=e.owner)&&o&&(t+=`
|
|
53
|
-
`+Nl(o))}else break;var f=t}catch(d){f=`
|
|
54
|
-
Error generating stack: `+d.message+`
|
|
55
|
-
`+d.stack}return f}function re(e,t,a,i,o,f,d){var m=pa;yf(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,a,i,o,f,d)):t(a,i,o,f,d)}finally{yf(m)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function yf(e){w.getCurrentStack=e===null?null:Cp,na=!1,pa=e}function dl(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return Ue(e),e;default:return""}}function wi(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function pf(e){var t=wi(e)?"checked":"value",a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);Ue(e[t]);var i=""+e[t];if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var o=a.get,f=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(d){Ue(d),i=""+d,f.call(this,d)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return i},setValue:function(d){Ue(d),i=""+d},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function uu(e){e._valueTracker||(e._valueTracker=pf(e))}function $t(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),i="";return e&&(i=wi(e)?e.checked?"true":"false":e.value),e=i,e!==a?(t.setValue(e),!0):!1}function gf(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ca(e){return e.replace(ev,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Lu(e,t){t.checked===void 0||t.defaultChecked===void 0||Oy||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",lr()||"A component",t.type),Oy=!0),t.value===void 0||t.defaultValue===void 0||xy||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",lr()||"A component",t.type),xy=!0)}function Zu(e,t,a,i,o,f,d,m){e.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?(ee(d,"type"),e.type=d):e.removeAttribute("type"),t!=null?d==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+dl(t)):e.value!==""+dl(t)&&(e.value=""+dl(t)):d!=="submit"&&d!=="reset"||e.removeAttribute("value"),t!=null?ar(e,d,dl(t)):a!=null?ar(e,d,dl(a)):i!=null&&e.removeAttribute("value"),o==null&&f!=null&&(e.defaultChecked=!!f),o!=null&&(e.checked=o&&typeof o!="function"&&typeof o!="symbol"),m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?(ee(m,"name"),e.name=""+dl(m)):e.removeAttribute("name")}function Hp(e,t,a,i,o,f,d,m){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(ee(f,"type"),e.type=f),t!=null||a!=null){if(!(f!=="submit"&&f!=="reset"||t!=null))return;a=a!=null?""+dl(a):"",t=t!=null?""+dl(t):a,m||t===e.value||(e.value=t),e.defaultValue=t}i=i??o,i=typeof i!="function"&&typeof i!="symbol"&&!!i,e.checked=m?e.checked:!!i,e.defaultChecked=!!i,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(ee(d,"name"),e.name=d)}function ar(e,t,a){t==="number"&&gf(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function Ch(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?bs.Children.forEach(t.children,function(a){a==null||typeof a=="string"||typeof a=="number"||typeof a=="bigint"||Uy||(Uy=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||Xd||(Xd=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||My||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),My=!0)}function Np(){var e=lr();return e?`
|
|
56
|
-
|
|
57
|
-
Check the render method of \``+e+"`.":""}function iu(e,t,a,i){if(e=e.options,t){t={};for(var o=0;o<a.length;o++)t["$"+a[o]]=!0;for(a=0;a<e.length;a++)o=t.hasOwnProperty("$"+e[a].value),e[a].selected!==o&&(e[a].selected=o),o&&i&&(e[a].defaultSelected=!0)}else{for(a=""+dl(a),t=null,o=0;o<e.length;o++){if(e[o].value===a){e[o].selected=!0,i&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function vf(e,t){for(e=0;e<xs.length;e++){var a=xs[e];if(t[a]!=null){var i=Be(t[a]);t.multiple&&!i?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",a,Np()):!t.multiple&&i&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",a,Np())}}t.value===void 0||t.defaultValue===void 0||Cy||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),Cy=!0)}function hn(e,t){t.value===void 0||t.defaultValue===void 0||B0||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",lr()||"A component"),B0=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function nr(e,t,a){if(t!=null&&(t=""+dl(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+dl(a):""}function Hh(e,t,a,i){if(t==null){if(i!=null){if(a!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Be(i)){if(1<i.length)throw Error("<textarea> can only have at most one child.");i=i[0]}a=i}a==null&&(a=""),t=a}a=dl(t),e.defaultValue=a,i=e.textContent,i===a&&i!==""&&i!==null&&(e.value=i)}function Gi(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?Gi(e.children[0],t):e}function Bl(e){return" "+" ".repeat(e)}function qu(e){return"+ "+" ".repeat(e)}function Qi(e){return"- "+" ".repeat(e)}function Nh(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function Al(e,t){return j0.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}"):e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function bf(e,t,a){var i=120-2*a;if(t===null)return qu(a)+Al(e,i)+`
|
|
58
|
-
`;if(typeof t=="string"){for(var o=0;o<t.length&&o<e.length&&t.charCodeAt(o)===e.charCodeAt(o);o++);return o>i-8&&10<o&&(e="..."+e.slice(o-8),t="..."+t.slice(o-8)),qu(a)+Al(e,i)+`
|
|
59
|
-
`+Qi(a)+Al(t,i)+`
|
|
60
|
-
`}return Bl(a)+Al(e,i)+`
|
|
61
|
-
`}function Bh(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,a){return a})}function Ku(e,t){switch(typeof e){case"string":return e=JSON.stringify(e),e.length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(e===null)return"null";if(Be(e))return"[...]";if(e.$$typeof===bi)return(t=ye(e.type))?"<"+t+">":"<...>";var a=Bh(e);if(a==="Object"){a="",t-=2;for(var i in e)if(e.hasOwnProperty(i)){var o=JSON.stringify(i);if(o!=='"'+i+'"'&&(i=o),t-=i.length-2,o=Ku(e[i],15>t?t:15),t-=o.length,0>t){a+=a===""?"...":", ...";break}a+=(a===""?"":",")+i+":"+o}return"{"+a+"}"}return a;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function Vi(e,t){return typeof e!="string"||j0.test(e)?"{"+Ku(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function $c(e,t,a){var i=120-a.length-e.length,o=[],f;for(f in t)if(t.hasOwnProperty(f)&&f!=="children"){var d=Vi(t[f],120-a.length-f.length-1);i-=f.length+d.length+2,o.push(f+"="+d)}return o.length===0?a+"<"+e+`>
|
|
62
|
-
`:0<i?a+"<"+e+" "+o.join(" ")+`>
|
|
63
|
-
`:a+"<"+e+`
|
|
64
|
-
`+a+" "+o.join(`
|
|
65
|
-
`+a+" ")+`
|
|
66
|
-
`+a+`>
|
|
67
|
-
`}function jg(e,t,a){var i="",o=qe({},t),f;for(f in e)if(e.hasOwnProperty(f)){delete o[f];var d=120-2*a-f.length-2,m=Ku(e[f],d);t.hasOwnProperty(f)?(d=Ku(t[f],d),i+=qu(a)+f+": "+m+`
|
|
68
|
-
`,i+=Qi(a)+f+": "+d+`
|
|
69
|
-
`):i+=qu(a)+f+": "+m+`
|
|
70
|
-
`}for(var g in o)o.hasOwnProperty(g)&&(e=Ku(o[g],120-2*a-g.length-2),i+=Qi(a)+g+": "+e+`
|
|
71
|
-
`);return i}function Aa(e,t,a,i){var o="",f=new Map;for(v in a)a.hasOwnProperty(v)&&f.set(v.toLowerCase(),v);if(f.size===1&&f.has("children"))o+=$c(e,t,Bl(i));else{for(var d in t)if(t.hasOwnProperty(d)&&d!=="children"){var m=120-2*(i+1)-d.length-1,g=f.get(d.toLowerCase());if(g!==void 0){f.delete(d.toLowerCase());var v=t[d];g=a[g];var B=Vi(v,m);m=Vi(g,m),typeof v=="object"&&v!==null&&typeof g=="object"&&g!==null&&Bh(v)==="Object"&&Bh(g)==="Object"&&(2<Object.keys(v).length||2<Object.keys(g).length||-1<B.indexOf("...")||-1<m.indexOf("..."))?o+=Bl(i+1)+d+`={{
|
|
72
|
-
`+jg(v,g,i+2)+Bl(i+1)+`}}
|
|
73
|
-
`:(o+=qu(i+1)+d+"="+B+`
|
|
74
|
-
`,o+=Qi(i+1)+d+"="+m+`
|
|
75
|
-
`)}else o+=Bl(i+1)+d+"="+Vi(t[d],m)+`
|
|
76
|
-
`}f.forEach(function(Q){if(Q!=="children"){var H=120-2*(i+1)-Q.length-1;o+=Qi(i+1)+Q+"="+Vi(a[Q],H)+`
|
|
77
|
-
`}}),o=o===""?Bl(i)+"<"+e+`>
|
|
78
|
-
`:Bl(i)+"<"+e+`
|
|
79
|
-
`+o+Bl(i)+`>
|
|
80
|
-
`}return e=a.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(f="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(f=""+t),o+=bf(f,""+e,i+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(o=e==null?o+bf(""+t,null,i+1):o+bf(""+t,void 0,i+1)),o}function ur(e,t){var a=Nh(e);if(a===null){for(a="",e=e.child;e;)a+=ur(e,t),e=e.sibling;return a}return Bl(t)+"<"+a+`>
|
|
81
|
-
`}function ir(e,t){var a=Gi(e,t);if(a!==e&&(e.children.length!==1||e.children[0]!==a))return Bl(t)+`...
|
|
82
|
-
`+ir(a,t+1);a="";var i=e.fiber._debugInfo;if(i)for(var o=0;o<i.length;o++){var f=i[o].name;typeof f=="string"&&(a+=Bl(t)+"<"+f+`>
|
|
83
|
-
`,t++)}if(i="",o=e.fiber.pendingProps,e.fiber.tag===6)i=bf(o,e.serverProps,t),t++;else if(f=Nh(e.fiber),f!==null)if(e.serverProps===void 0){i=t;var d=120-2*i-f.length-2,m="";for(v in o)if(o.hasOwnProperty(v)&&v!=="children"){var g=Vi(o[v],15);if(d-=v.length+g.length+2,0>d){m+=" ...";break}m+=" "+v+"="+g}i=Bl(i)+"<"+f+m+`>
|
|
84
|
-
`,t++}else e.serverProps===null?(i=$c(f,o,qu(t)),t++):typeof e.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(i=Aa(f,o,e.serverProps,t),t++);var v="";for(o=e.fiber.child,f=0;o&&f<e.children.length;)d=e.children[f],d.fiber===o?(v+=ir(d,t),f++):v+=ur(o,t),o=o.sibling;for(o&&0<e.children.length&&(v+=Bl(t)+`...
|
|
85
|
-
`),o=e.serverTail,e.serverProps===null&&t--,e=0;e<o.length;e++)f=o[e],v=typeof f=="string"?v+(Qi(t)+Al(f,120-2*t)+`
|
|
86
|
-
`):v+$c(f.type,f.props,Qi(t));return a+i+v}function Sf(e){try{return`
|
|
87
|
-
|
|
88
|
-
`+ir(e,0)}catch{return""}}function Xi(e,t,a){for(var i=t,o=null,f=0;i;)i===e&&(f=0),o={fiber:i,children:o!==null?[o]:[],serverProps:i===t?a:i===e?null:void 0,serverTail:[],distanceFromLeaf:f},f++,i=i.return;return o!==null?Sf(o).replaceAll(/^[+-]/gm,">"):""}function jh(e,t){var a=qe({},e||By),i={tag:t};return Ld.indexOf(t)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),Zd.indexOf(t)!==-1&&(a.pTagInButtonScope=null),Hy.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=i,t==="form"&&(a.formTag=i),t==="a"&&(a.aTagInScope=i),t==="button"&&(a.buttonTagInScope=i),t==="nobr"&&(a.nobrTagInScope=i),t==="p"&&(a.pTagInButtonScope=i),t==="li"&&(a.listItemTagAutoclosing=i),(t==="dd"||t==="dt")&&(a.dlItemTagAutoclosing=i),t==="#document"||t==="html"?a.containerTagInScope=null:a.containerTagInScope||(a.containerTagInScope=i),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?a.implicitRootScope===!0&&(a.implicitRootScope=!1):a.implicitRootScope=!0,a}function Yh(e,t,a){switch(t){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="script"||e==="template"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":if(a)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!a)return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return Ny.indexOf(t)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null;case"head":return a||t===null;case"html":return a&&t==="#document"||t===null;case"body":return a&&(t==="#document"||t==="html")||t===null}return!0}function Wc(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}function Bp(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function cr(e,t){t=t||By;var a=t.current;if(t=(a=Yh(e,a&&a.tag,t.implicitRootScope)?null:a)?null:Wc(e,t),t=a||t,!t)return!0;var i=t.tag;if(t=String(!!a)+"|"+e+"|"+i,Jo[t])return!1;Jo[t]=!0;var o=(t=pa)?Bp(t.return,i):null,f=t!==null&&o!==null?Xi(o,t,null):"",d="<"+e+">";return a?(a="",i==="table"&&e==="tr"&&(a+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
|
|
89
|
-
This will cause a hydration error.%s`,d,i,a,f)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
90
|
-
This will cause a hydration error.%s`,d,i,f),t&&(e=t.return,o===null||e===null||o===e&&e._debugOwner===t._debugOwner||re(o,function(){console.error(`<%s> cannot contain a nested %s.
|
|
91
|
-
See this log for the ancestor stack trace.`,i,d)})),!1}function Tf(e,t,a){if(a||Yh("#text",t,!1))return!0;if(a="#text|"+t,Jo[a])return!1;Jo[a]=!0;var i=(a=pa)?Bp(a,t):null;return a=a!==null&&i!==null?Xi(i,a,a.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
92
|
-
This will cause a hydration error.%s`,t,a):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
93
|
-
This will cause a hydration error.%s`,t,a),!1}function Li(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}function Yg(e){return e.replace(zi,function(t,a){return a.toUpperCase()})}function jp(e,t,a){var i=t.indexOf("--")===0;i||(-1<t.indexOf("-")?xc.hasOwnProperty(t)&&xc[t]||(xc[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,Yg(t.replace(Ms,"ms-")))):Os.test(t)?xc.hasOwnProperty(t)&&xc[t]||(xc[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!Y0.test(a)||Oc.hasOwnProperty(a)&&Oc[a]||(Oc[a]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,a.replace(Y0,""))),typeof a=="number"&&(isNaN(a)?w0||(w0=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(a)||jy||(jy=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),a==null||typeof a=="boolean"||a===""?i?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":i?e.setProperty(t,a):typeof a!="number"||a===0||Us.has(t)?t==="float"?e.cssFloat=a:(me(a,t),e[t]=(""+a).trim()):e[t]=a+"px"}function _f(e,t,a){if(t!=null&&typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,a!=null){if(t){var i={};if(a){for(var o in a)if(a.hasOwnProperty(o)&&!t.hasOwnProperty(o))for(var f=Ln[o]||[o],d=0;d<f.length;d++)i[f[d]]=o}for(var m in t)if(t.hasOwnProperty(m)&&(!a||a[m]!==t[m]))for(o=Ln[m]||[m],f=0;f<o.length;f++)i[o[f]]=m;m={};for(var g in t)for(o=Ln[g]||[g],f=0;f<o.length;f++)m[o[f]]=g;g={};for(var v in i)if(o=i[v],(f=m[v])&&o!==f&&(d=o+","+f,!g[d])){g[d]=!0,d=console;var B=t[o];d.error.call(d,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",B==null||typeof B=="boolean"||B===""?"Removing":"Updating",o,f)}}for(var Q in a)!a.hasOwnProperty(Q)||t!=null&&t.hasOwnProperty(Q)||(Q.indexOf("--")===0?e.setProperty(Q,""):Q==="float"?e.cssFloat="":e[Q]="");for(var H in t)v=t[H],t.hasOwnProperty(H)&&a[H]!==v&&jp(e,H,v)}else for(i in t)t.hasOwnProperty(i)&&jp(e,i,t[i])}function Zi(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function or(e){return qd.get(e)||e}function Fc(e,t){if(Du.call(Zn,t)&&Zn[t])return!0;if(Kd.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=Yy.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Zn[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),Zn[t]=!0}if(wy.test(t)){if(e=t.toLowerCase(),e=Yy.hasOwnProperty(e)?e:null,e==null)return Zn[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),Zn[t]=!0)}return!0}function Ic(e,t){var a=[],i;for(i in t)Fc(e,i)||a.push(i);t=a.map(function(o){return"`"+o+"`"}).join(", "),a.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<a.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function Yp(e,t,a,i){if(Du.call(Ql,t)&&Ql[t])return!0;var o=t.toLowerCase();if(o==="onfocusin"||o==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Ql[t]=!0;if(typeof a=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(i!=null){if(e=i.possibleRegistrationNames,i.registrationNameDependencies.hasOwnProperty(t))return!0;if(i=e.hasOwnProperty(o)?e[o]:null,i!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,i),Ql[t]=!0;if(Hs.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),Ql[t]=!0}else if(Hs.test(t))return l.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Ql[t]=!0;if(n.test(t)||u.test(t))return!0;if(o==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Ql[t]=!0;if(o==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Ql[t]=!0;if(o==="is"&&a!==null&&a!==void 0&&typeof a!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof a),Ql[t]=!0;if(typeof a=="number"&&isNaN(a))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Ql[t]=!0;if(Mc.hasOwnProperty(o)){if(o=Mc[o],o!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,o),Ql[t]=!0}else if(t!==o)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,o),Ql[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof a){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":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":case"capture":case"download":case"inert":return!0;default:return o=t.toLowerCase().slice(0,5),o==="data-"||o==="aria-"?!0:(a?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',a,t,t,a,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',a,t,t,a,t,t,t),Ql[t]=!0)}case"function":case"symbol":return Ql[t]=!0,!1;case"string":if(a==="false"||a==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":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":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",a,t,a==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,a),Ql[t]=!0}}return!0}function wh(e,t,a){var i=[],o;for(o in t)Yp(e,o,t[o],a)||i.push(o);t=i.map(function(f){return"`"+f+"`"}).join(", "),i.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<i.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function Pc(e){return c.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function qi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function mn(e){var t=ia(e);if(t&&(e=t.stateNode)){var a=e[aa]||null;e:switch(e=t.stateNode,t.type){case"input":if(Zu(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(ee(t,"name"),a=a.querySelectorAll('input[name="'+ca(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var i=a[t];if(i!==e&&i.form===e.form){var o=i[aa]||null;if(!o)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Zu(i,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<a.length;t++)i=a[t],i.form===e.form&&$t(i)}break e;case"textarea":nr(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&iu(e,!!a.multiple,t,!1)}}}function fr(e,t,a){if(p)return e(t,a);p=!0;try{var i=e(t);return i}finally{if(p=!1,(r!==null||y!==null)&&(pc(),r&&(t=r,e=y,y=r=null,mn(t),e)))for(t=0;t<e.length;t++)mn(e[t])}}function cu(e,t){var a=e.stateNode;if(a===null)return null;var i=a[aa]||null;if(i===null)return null;a=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof a+"` type.");return a}function ou(){if(j)return j;var e,t=N,a=t.length,i,o="value"in $?$.value:$.textContent,f=o.length;for(e=0;e<a&&t[e]===o[e];e++);var d=a-e;for(i=1;i<=d&&t[a-i]===o[f-i];i++);return j=o.slice(e,1<i?1-i:void 0)}function eo(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Ki(){return!0}function Gh(){return!1}function hl(e){function t(a,i,o,f,d){this._reactName=a,this._targetInst=o,this.type=i,this.nativeEvent=f,this.target=d,this.currentTarget=null;for(var m in e)e.hasOwnProperty(m)&&(a=e[m],this[m]=a?a(f):f[m]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?Ki:Gh,this.isPropagationStopped=Gh,this}return qe(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Ki)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Ki)},persist:function(){},isPersistent:Ki}),t}function sr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=DT[e])?!!t[e]:!1}function rr(){return sr}function jl(e,t){switch(e){case"keyup":return GT.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Ob;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ju(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function dr(e,t){switch(e){case"compositionend":return Ju(t);case"keypress":return t.which!==Ub?null:(Hb=!0,Cb);case"textInput":return e=t.data,e===Cb&&Hb?null:e;default:return null}}function Ef(e,t){if(Jd)return e==="compositionend"||!lv&&jl(e,t)?(e=ou(),j=N=$=null,Jd=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Mb&&t.locale!=="ko"?null:t.data;default:return null}}function wp(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!VT[e.type]:t==="textarea"}function Qh(e){if(!S)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function hr(e,t,a,i){r?y?y.push(i):y=[i]:r=i,t=ss(t,"onChange"),0<t.length&&(a=new Ae("onChange","change",null,a,i),e.push({event:a,listeners:t}))}function Af(e){Bn(e,0)}function Ji(e){var t=Qu(e);if($t(t))return e}function Vh(e,t){if(e==="change")return t}function Gp(){Vy&&(Vy.detachEvent("onpropertychange",Qp),Xy=Vy=null)}function Qp(e){if(e.propertyName==="value"&&Ji(Xy)){var t=[];hr(t,Xy,e,qi(e)),fr(Af,t)}}function wg(e,t,a){e==="focusin"?(Gp(),Vy=t,Xy=a,Vy.attachEvent("onpropertychange",Qp)):e==="focusout"&&Gp()}function Xh(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ji(Xy)}function Gg(e,t){if(e==="click")return Ji(t)}function Qg(e,t){if(e==="input"||e==="change")return Ji(t)}function Vg(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function Rf(e,t){if(ga(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(i=0;i<a.length;i++){var o=a[i];if(!Du.call(t,o)||!ga(e[o],t[o]))return!1}return!0}function Vp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Lh(e,t){var a=Vp(e);e=0;for(var i;a;){if(a.nodeType===3){if(i=e+a.textContent.length,e<=t&&i>=t)return{node:a,offset:t-e};e=i}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Vp(a)}}function Xp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Xp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Lp(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=gf(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=gf(e.document)}return t}function Zh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Zp(e,t,a){var i=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;nv||kd==null||kd!==gf(i)||(i=kd,"selectionStart"in i&&Zh(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),Ly&&Rf(Ly,i)||(Ly=i,i=ss(av,"onSelect"),0<i.length&&(t=new Ae("onSelect","select",null,t,a),e.push({event:t,listeners:i}),t.target=kd)))}function fu(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}function ki(e){if(uv[e])return uv[e];if(!$d[e])return e;var t=$d[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in Bb)return uv[e]=t[a];return e}function qa(e,t){Qb.set(e,t),Vu(t,[e])}function oa(e,t){if(typeof e=="object"&&e!==null){var a=cv.get(e);return a!==void 0?a:(t={value:e,source:t,stack:tr(t)},cv.set(e,t),t)}return{value:e,source:t,stack:tr(t)}}function zf(){for(var e=Wd,t=ov=Wd=0;t<e;){var a=qn[t];qn[t++]=null;var i=qn[t];qn[t++]=null;var o=qn[t];qn[t++]=null;var f=qn[t];if(qn[t++]=null,i!==null&&o!==null){var d=i.pending;d===null?o.next=o:(o.next=d.next,d.next=o),i.pending=o}f!==0&&qp(a,o,f)}}function mr(e,t,a,i){qn[Wd++]=e,qn[Wd++]=t,qn[Wd++]=a,qn[Wd++]=i,ov|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function qh(e,t,a,i){return mr(e,t,a,i),yr(e)}function ql(e,t){return mr(e,null,null,t),yr(e)}function qp(e,t,a){e.lanes|=a;var i=e.alternate;i!==null&&(i.lanes|=a);for(var o=!1,f=e.return;f!==null;)f.childLanes|=a,i=f.alternate,i!==null&&(i.childLanes|=a),f.tag===22&&(e=f.stateNode,e===null||e._visibility&G0||(o=!0)),e=f,f=f.return;return e.tag===3?(f=e.stateNode,o&&t!==null&&(o=31-xl(a),e=f.hiddenUpdates,i=e[o],i===null?e[o]=[t]:i.push(t),t.lane=a|536870912),f):null}function yr(e){if(rp>s2)throw Ks=rp=0,dp=wv=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Ks>r2&&(Ks=0,dp=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&an(e);for(var t=e,a=t.return;a!==null;)t.alternate===null&&(t.flags&4098)!==0&&an(e),t=a,a=t.return;return t.tag===3?t.stateNode:null}function $i(e){if(Kn===null)return e;var t=Kn(e);return t===void 0?e:t.current}function Kh(e){if(Kn===null)return e;var t=Kn(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=$i(e.render),e.render!==t)?(t={$$typeof:Ru,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function Kp(e,t){if(Kn===null)return!1;var a=e.elementType;t=t.type;var i=!1,o=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(i=!0);break;case 0:(typeof t=="function"||o===ya)&&(i=!0);break;case 11:(o===Ru||o===ya)&&(i=!0);break;case 14:case 15:(o===Ts||o===ya)&&(i=!0);break;default:return!1}return!!(i&&(e=Kn(a),e!==void 0&&e===Kn(t)))}function Jp(e){Kn!==null&&typeof WeakSet=="function"&&(Fd===null&&(Fd=new WeakSet),Fd.add(e))}function Df(e,t,a){var i=e.alternate,o=e.child,f=e.sibling,d=e.tag,m=e.type,g=null;switch(d){case 0:case 15:case 1:g=m;break;case 11:g=m.render}if(Kn===null)throw Error("Expected resolveFamily to be set during hot reload.");var v=!1;m=!1,g!==null&&(g=Kn(g),g!==void 0&&(a.has(g)?m=!0:t.has(g)&&(d===1?m=!0:v=!0))),Fd!==null&&(Fd.has(e)||i!==null&&Fd.has(i))&&(m=!0),m&&(e._debugNeedsRemount=!0),(m||v)&&(i=ql(e,2),i!==null&&jt(i,e,2)),o===null||m||Df(o,t,a),f!==null&&Df(f,t,a)}function xf(e,t,a,i){this.tag=e,this.key=a,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=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,Xb||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function Jh(e){return e=e.prototype,!(!e||!e.isReactComponent)}function yn(e,t){var a=e.alternate;switch(a===null?(a=se(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a._debugOwner=e._debugOwner,a._debugStack=e._debugStack,a._debugTask=e._debugTask,a._debugHookTypes=e._debugHookTypes,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null,a.actualDuration=-0,a.actualStartTime=-1.1),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a.selfBaseDuration=e.selfBaseDuration,a.treeBaseDuration=e.treeBaseDuration,a._debugInfo=e._debugInfo,a._debugNeedsRemount=e._debugNeedsRemount,a.tag){case 0:case 15:a.type=$i(e.type);break;case 1:a.type=$i(e.type);break;case 11:a.type=Kh(e.type)}return a}function kh(e,t){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=a.selfBaseDuration,e.treeBaseDuration=a.treeBaseDuration),e}function pr(e,t,a,i,o,f){var d=0,m=e;if(typeof e=="function")Jh(e)&&(d=1),m=$i(m);else if(typeof e=="string")d=A(),d=No(e,a,d)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Ty:return t=se(31,a,t,o),t.elementType=Ty,t.lanes=f,t;case Ge:return ku(a.children,o,f,t);case jo:d=8,o|=ua,o|=Cu;break;case Yo:return e=a,i=o,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=se(12,e,t,i|Vl),t.elementType=Yo,t.lanes=f,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case wo:return t=se(13,a,t,o),t.elementType=wo,t.lanes=f,t;case Si:return t=se(19,a,t,o),t.elementType=Si,t.lanes=f,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Sy:case Ya:d=10;break e;case Ud:d=9;break e;case Ru:d=11,m=Kh(m);break e;case Ts:d=14;break e;case ya:d=16,m=null;break e}m="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(m+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?a="null":Be(e)?a="array":e!==void 0&&e.$$typeof===bi?(a="<"+(ye(e.type)||"Unknown")+" />",m=" Did you accidentally export a JSX literal instead of a component?"):a=typeof e,(d=i?Re(i):null)&&(m+=`
|
|
94
|
-
|
|
95
|
-
Check the render method of \``+d+"`."),d=29,a=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(a+"."+m)),m=null}return t=se(d,a,t,o),t.elementType=e,t.type=m,t.lanes=f,t._debugOwner=i,t}function Of(e,t,a){return t=pr(e.type,e.key,e.props,e._owner,t,a),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function ku(e,t,a,i){return e=se(7,e,i,t),e.lanes=a,e}function $u(e,t,a){return e=se(6,e,null,t),e.lanes=a,e}function $h(e,t,a){return t=se(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Wi(e,t){Ka(),Id[Pd++]=V0,Id[Pd++]=Q0,Q0=e,V0=t}function kp(e,t,a){Ka(),Jn[kn++]=Cc,Jn[kn++]=Hc,Jn[kn++]=Ns,Ns=e;var i=Cc;e=Hc;var o=32-xl(i)-1;i&=~(1<<o),a+=1;var f=32-xl(t)+o;if(30<f){var d=o-o%5;f=(i&(1<<d)-1).toString(32),i>>=d,o-=d,Cc=1<<32-xl(t)+o|a<<o|i,Hc=f+e}else Cc=1<<f|a<<o|i,Hc=e}function gr(e){Ka(),e.return!==null&&(Wi(e,1),kp(e,1,0))}function vr(e){for(;e===Q0;)Q0=Id[--Pd],Id[Pd]=null,V0=Id[--Pd],Id[Pd]=null;for(;e===Ns;)Ns=Jn[--kn],Jn[kn]=null,Hc=Jn[--kn],Jn[kn]=null,Cc=Jn[--kn],Jn[kn]=null}function Ka(){st||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Ja(e,t){if(e.return===null){if($n===null)$n={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if($n.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");$n.distanceFromLeaf>t&&($n.distanceFromLeaf=t)}return $n}var a=Ja(e.return,t+1).children;return 0<a.length&&a[a.length-1].fiber===e?(a=a[a.length-1],a.distanceFromLeaf>t&&(a.distanceFromLeaf=t),a):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},a.push(t),t)}function Wh(e,t){Nc||(e=Ja(e,0),e.serverProps=null,t!==null&&(t=Td(t),e.serverTail.push(t)))}function pn(e){var t="",a=$n;throw a!==null&&($n=null,t=Sf(a)),to(oa(Error(`Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
96
|
-
|
|
97
|
-
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
98
|
-
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
99
|
-
- Date formatting in a user's locale which doesn't match the server.
|
|
100
|
-
- External changing data without sending a snapshot of it along with the HTML.
|
|
101
|
-
- Invalid HTML tag nesting.
|
|
102
|
-
|
|
103
|
-
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
104
|
-
|
|
105
|
-
https://react.dev/link/hydration-mismatch`+t),e)),fv}function Fh(e){var t=e.stateNode,a=e.type,i=e.memoizedProps;switch(t[Ol]=e,t[aa]=i,jn(a,i),a){case"dialog":We("cancel",t),We("close",t);break;case"iframe":case"object":case"embed":We("load",t);break;case"video":case"audio":for(a=0;a<hp.length;a++)We(hp[a],t);break;case"source":We("error",t);break;case"img":case"image":case"link":We("error",t),We("load",t);break;case"details":We("toggle",t);break;case"input":Xu("input",i),We("invalid",t),Lu(t,i),Hp(t,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0),uu(t);break;case"option":Ch(t,i);break;case"select":Xu("select",i),We("invalid",t),vf(t,i);break;case"textarea":Xu("textarea",i),We("invalid",t),hn(t,i),Hh(t,i.value,i.defaultValue,i.children),uu(t)}a=i.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||i.suppressHydrationWarning===!0||Pm(t.textContent,a)?(i.popover!=null&&(We("beforetoggle",t),We("toggle",t)),i.onScroll!=null&&We("scroll",t),i.onScrollEnd!=null&&We("scrollend",t),i.onClick!=null&&(t.onclick=Tu),t=!0):t=!1,t||pn(e)}function Ih(e){for(va=e.return;va;)switch(va.tag){case 5:case 13:xi=!1;return;case 27:case 3:xi=!0;return;default:va=va.return}}function Fi(e){if(e!==va)return!1;if(!st)return Ih(e),st=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||Yn(e.type,e.memoizedProps)),a=!a),a&&Kt){for(a=Kt;a;){var i=Ja(e,0),o=Td(a);i.serverTail.push(o),a=o.type==="Suspense"?cy(a):vl(a.nextSibling)}pn(e)}if(Ih(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Kt=cy(e)}else t===27?(t=Kt,wn(e.type)?(e=Wv,Wv=null,Kt=e):Kt=t):Kt=va?vl(e.stateNode.nextSibling):null;return!0}function Ii(){Kt=va=null,Nc=st=!1}function Ph(){var e=Bs;return e!==null&&(Ta===null?Ta=e:Ta.push.apply(Ta,e),Bs=null),e}function to(e){Bs===null?Bs=[e]:Bs.push(e)}function em(){var e=$n;if(e!==null){$n=null;for(var t=Sf(e);0<e.children.length;)e=e.children[0];re(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
|
|
106
|
-
|
|
107
|
-
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
108
|
-
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
109
|
-
- Date formatting in a user's locale which doesn't match the server.
|
|
110
|
-
- External changing data without sending a snapshot of it along with the HTML.
|
|
111
|
-
- Invalid HTML tag nesting.
|
|
112
|
-
|
|
113
|
-
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
114
|
-
|
|
115
|
-
%s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function br(){eh=X0=null,th=!1}function Wu(e,t,a){te(sv,t._currentValue,e),t._currentValue=a,te(rv,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==Kb&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Kb}function su(e,t){e._currentValue=sv.current;var a=rv.current;_e(rv,t),e._currentRenderer=a,_e(sv,t)}function tm(e,t,a){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===a)break;e=e.return}e!==a&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function lm(e,t,a,i){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var f=o.dependencies;if(f!==null){var d=o.child;f=f.firstContext;e:for(;f!==null;){var m=f;f=o;for(var g=0;g<t.length;g++)if(m.context===t[g]){f.lanes|=a,m=f.alternate,m!==null&&(m.lanes|=a),tm(f.return,a,e),i||(d=null);break e}f=m.next}}else if(o.tag===18){if(d=o.return,d===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");d.lanes|=a,f=d.alternate,f!==null&&(f.lanes|=a),tm(d,a,e),d=null}else d=o.child;if(d!==null)d.return=o;else for(d=o;d!==null;){if(d===e){d=null;break}if(o=d.sibling,o!==null){o.return=d.return,d=o;break}d=d.return}o=d}}function ml(e,t,a,i){e=null;for(var o=t,f=!1;o!==null;){if(!f){if((o.flags&524288)!==0)f=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var d=o.alternate;if(d===null)throw Error("Should have a current fiber. This is a bug in React.");if(d=d.memoizedProps,d!==null){var m=o.type;ga(o.pendingProps.value,d.value)||(e!==null?e.push(m):e=[m])}}else if(o===Qo.current){if(d=o.alternate,d===null)throw Error("Should have a current fiber. This is a bug in React.");d.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push(gp):e=[gp])}o=o.return}e!==null&&lm(t,e,a,i),t.flags|=262144}function Fu(e){for(e=e.firstContext;e!==null;){if(!ga(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Iu(e){X0=e,eh=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function At(e){return th&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),am(X0,e)}function Mf(e,t){return X0===null&&Iu(e),am(e,t)}function am(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},eh===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");eh=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else eh=eh.next=t;return a}function Uf(){return{controller:new $T,data:new Map,refCount:0}}function Pi(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function gn(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&WT(FT,function(){e.controller.abort()})}function ka(){var e=js;return js=0,e}function Pu(e){var t=js;return js=e,t}function ec(e){var t=js;return js+=e,t}function Sr(e){Qa=lh(),0>e.actualStartTime&&(e.actualStartTime=Qa)}function ru(e){if(0<=Qa){var t=lh()-Qa;e.actualDuration+=t,e.selfBaseDuration=t,Qa=-1}}function tc(e){if(0<=Qa){var t=lh()-Qa;e.actualDuration+=t,Qa=-1}}function Ra(){if(0<=Qa){var e=lh()-Qa;Qa=-1,js+=e}}function $a(){Qa=lh()}function vn(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function $p(e,t){if(Zy===null){var a=Zy=[];dv=0,Ys=km(),ah={status:"pending",value:void 0,then:function(i){a.push(i)}}}return dv++,t.then(nm,nm),t}function nm(){if(--dv===0&&Zy!==null){ah!==null&&(ah.status="fulfilled");var e=Zy;Zy=null,Ys=0,ah=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Wp(e,t){var a=[],i={status:"pending",value:null,reason:null,then:function(o){a.push(o)}};return e.then(function(){i.status="fulfilled",i.value=t;for(var o=0;o<a.length;o++)(0,a[o])(t)},function(o){for(i.status="rejected",i.reason=o,o=0;o<a.length;o++)(0,a[o])(void 0)}),i}function um(){var e=ws.current;return e!==null?e:Rt.pooledCache}function Tr(e,t){t===null?te(ws,ws.current,e):te(ws,t.pool,e)}function Fp(){var e=um();return e===null?null:{parent:Tl._currentValue,pool:e}}function im(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function cm(e){return e=e.status,e==="fulfilled"||e==="rejected"}function lo(){}function za(e,t,a){w.actQueue!==null&&(w.didUsePromise=!0);var i=e.thenables;switch(a=i[a],a===void 0?i.push(t):a!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(lo,lo),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,fa(e),e;default:if(typeof t.status=="string")t.then(lo,lo);else{if(e=Rt,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status="pending",e.then(function(o){if(t.status==="pending"){var f=t;f.status="fulfilled",f.value=o}},function(o){if(t.status==="pending"){var f=t;f.status="rejected",f.reason=o}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,fa(e),e}throw Iy=t,k0=!0,Fy}}function om(){if(Iy===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=Iy;return Iy=null,k0=!1,e}function fa(e){if(e===Fy||e===J0)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function Kl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ei(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function bn(e){return{lane:e,tag:Fb,payload:null,callback:null,next:null}}function Wa(e,t,a){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,yv===i&&!e1){var o=W(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
116
|
-
|
|
117
|
-
Please update the following component: %s`,o),e1=!0}return(gt&Sa)!==cn?(o=i.pending,o===null?t.next=t:(t.next=o.next,o.next=t),i.pending=t,t=yr(e),qp(e,null,a),t):(mr(e,i,t,a),yr(e))}function ti(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var i=t.lanes;i&=e.pendingLanes,a|=i,t.lanes=a,Kc(e,a)}}function ao(e,t){var a=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,a===i)){var o=null,f=null;if(a=a.firstBaseUpdate,a!==null){do{var d={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};f===null?o=f=d:f=f.next=d,a=a.next}while(a!==null);f===null?o=f=t:f=f.next=t}else o=f=t;a={baseState:i.baseState,firstBaseUpdate:o,lastBaseUpdate:f,shared:i.shared,callbacks:i.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}function Sn(){if(pv){var e=ah;if(e!==null)throw e}}function no(e,t,a,i){pv=!1;var o=e.updateQueue;Wo=!1,yv=o.shared;var f=o.firstBaseUpdate,d=o.lastBaseUpdate,m=o.shared.pending;if(m!==null){o.shared.pending=null;var g=m,v=g.next;g.next=null,d===null?f=v:d.next=v,d=g;var B=e.alternate;B!==null&&(B=B.updateQueue,m=B.lastBaseUpdate,m!==d&&(m===null?B.firstBaseUpdate=v:m.next=v,B.lastBaseUpdate=g))}if(f!==null){var Q=o.baseState;d=0,B=v=g=null,m=f;do{var H=m.lane&-536870913,X=H!==m.lane;if(X?(tt&H)===H:(i&H)===H){H!==0&&H===Ys&&(pv=!0),B!==null&&(B=B.next={lane:0,tag:m.tag,payload:m.payload,callback:null,next:null});e:{H=e;var de=m,He=t,zt=a;switch(de.tag){case Ib:if(de=de.payload,typeof de=="function"){th=!0;var at=de.call(zt,Q,He);if(H.mode&ua){$e(!0);try{de.call(zt,Q,He)}finally{$e(!1)}}th=!1,Q=at;break e}Q=de;break e;case mv:H.flags=H.flags&-65537|128;case Fb:if(at=de.payload,typeof at=="function"){if(th=!0,de=at.call(zt,Q,He),H.mode&ua){$e(!0);try{at.call(zt,Q,He)}finally{$e(!1)}}th=!1}else de=at;if(de==null)break e;Q=qe({},Q,de);break e;case Pb:Wo=!0}}H=m.callback,H!==null&&(e.flags|=64,X&&(e.flags|=8192),X=o.callbacks,X===null?o.callbacks=[H]:X.push(H))}else X={lane:H,tag:m.tag,payload:m.payload,callback:m.callback,next:null},B===null?(v=B=X,g=Q):B=B.next=X,d|=H;if(m=m.next,m===null){if(m=o.shared.pending,m===null)break;X=m,m=X.next,X.next=null,o.lastBaseUpdate=X,o.shared.pending=null}}while(!0);B===null&&(g=Q),o.baseState=g,o.firstBaseUpdate=v,o.lastBaseUpdate=B,f===null&&(o.shared.lanes=0),ef|=d,e.lanes=d,e.memoizedState=Q}yv=null}function Cf(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function uo(e,t){var a=e.shared.hiddenCallbacks;if(a!==null)for(e.shared.hiddenCallbacks=null,e=0;e<a.length;e++)Cf(a[e],t)}function Ip(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)Cf(a[e],t)}function Jl(e,t){var a=Ui;te($0,a,e),te(nh,t,e),Ui=a|t.baseLanes}function Hf(e){te($0,Ui,e),te(nh,nh.current,e)}function Fa(e){Ui=$0.current,_e(nh,e),_e($0,e)}function Ke(){var e=G;In===null?In=[e]:In.push(e)}function P(){var e=G;if(In!==null&&(jc++,In[jc]!==e)){var t=W(je);if(!t1.has(t)&&(t1.add(t),In!==null)){for(var a="",i=0;i<=jc;i++){var o=In[i],f=i===jc?e:o;for(o=i+1+". "+o;30>o.length;)o+=" ";o+=f+`
|
|
118
|
-
`,a+=o}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
|
|
119
|
-
|
|
120
|
-
Previous render Next render
|
|
121
|
-
------------------------------------------------------
|
|
122
|
-
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
123
|
-
`,t,a)}}}function Da(e){e==null||Be(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",G,typeof e)}function io(){var e=W(je);a1.has(e)||(a1.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function Ut(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
124
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
125
|
-
2. You might be breaking the Rules of Hooks
|
|
126
|
-
3. You might have more than one copy of React in the same app
|
|
127
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function li(e,t){if(ep)return!1;if(t===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",G),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
128
|
-
|
|
129
|
-
Previous: %s
|
|
130
|
-
Incoming: %s`,G,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var a=0;a<t.length&&a<e.length;a++)if(!ga(e[a],t[a]))return!1;return!0}function ai(e,t,a,i,o,f){Fo=f,je=t,In=e!==null?e._debugHookTypes:null,jc=-1,ep=e!==null&&e.type!==t.type,(Object.prototype.toString.call(a)==="[object AsyncFunction]"||Object.prototype.toString.call(a)==="[object AsyncGeneratorFunction]")&&(f=W(je),gv.has(f)||(gv.add(f),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",f===null?"An unknown Component":"<"+f+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,w.H=e!==null&&e.memoizedState!==null?bv:In!==null?n1:vv,Qs=f=(t.mode&ua)!==Ot;var d=Sv(a,i,o);if(Qs=!1,ih&&(d=co(t,a,i,o)),f){$e(!0);try{d=co(t,a,i,o)}finally{$e(!1)}}return Nf(e,t),d}function Nf(e,t){t._debugHookTypes=In,t.dependencies===null?Bc!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:Bc}):t.dependencies._debugThenableState=Bc,w.H=I0;var a=Et!==null&&Et.next!==null;if(Fo=0,In=G=sl=Et=je=null,jc=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),W0=!1,Py=0,Bc=null,a)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||Ml||(e=e.dependencies,e!==null&&Fu(e)&&(Ml=!0)),k0?(k0=!1,e=!0):e=!1,e&&(t=W(t)||"Unknown",l1.has(t)||gv.has(t)||(l1.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function co(e,t,a,i){je=e;var o=0;do{if(ih&&(Bc=null),Py=0,ih=!1,o>=PT)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(o+=1,ep=!1,sl=Et=null,e.updateQueue!=null){var f=e.updateQueue;f.lastEffect=null,f.events=null,f.stores=null,f.memoCache!=null&&(f.memoCache.index=0)}jc=-1,w.H=u1,f=Sv(t,a,i)}while(ih);return f}function xa(){var e=w.H,t=e.useState()[0];return t=typeof t.then=="function"?lc(t):t,e=e.useState()[0],(Et!==null?Et.memoizedState:null)!==e&&(je.flags|=1024),t}function kl(){var e=F0!==0;return F0=0,e}function du(e,t,a){t.updateQueue=e.updateQueue,t.flags=(t.mode&Cu)!==Ot?t.flags&-402655237:t.flags&-2053,e.lanes&=~a}function Ia(e){if(W0){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}W0=!1}Fo=0,In=sl=Et=je=null,jc=-1,G=null,ih=!1,Py=F0=0,Bc=null}function Nt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return sl===null?je.memoizedState=sl=e:sl=sl.next=e,sl}function lt(){if(Et===null){var e=je.alternate;e=e!==null?e.memoizedState:null}else e=Et.next;var t=sl===null?je.memoizedState:sl.next;if(t!==null)sl=t,Et=e;else{if(e===null)throw je.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");Et=e,e={memoizedState:Et.memoizedState,baseState:Et.baseState,baseQueue:Et.baseQueue,queue:Et.queue,next:null},sl===null?je.memoizedState=sl=e:sl=sl.next=e}return sl}function _r(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function lc(e){var t=Py;return Py+=1,Bc===null&&(Bc=im()),e=za(Bc,e,t),t=je,(sl===null?t.memoizedState:sl.next)===null&&(t=t.alternate,w.H=t!==null&&t.memoizedState!==null?bv:vv),e}function Tn(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return lc(e);if(e.$$typeof===Ya)return At(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Lt(e){var t=null,a=je.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var i=je.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(t={data:i.data.map(function(o){return o.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=_r(),je.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0||ep)for(a=t.data[t.index]=Array(e),i=0;i<e;i++)a[i]=D0;else a.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",a.length,e);return t.index++,a}function ct(e,t){return typeof t=="function"?t(e):t}function it(e,t,a){var i=Nt();if(a!==void 0){var o=a(t);if(Qs){$e(!0);try{a(t)}finally{$e(!1)}}}else o=t;return i.memoizedState=i.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},i.queue=e,e=e.dispatch=gm.bind(null,je,e),[i.memoizedState,e]}function Oa(e){var t=lt();return Ma(t,Et,e)}function Ma(e,t,a){var i=e.queue;if(i===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");i.lastRenderedReducer=a;var o=e.baseQueue,f=i.pending;if(f!==null){if(o!==null){var d=o.next;o.next=f.next,f.next=d}t.baseQueue!==o&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=o=f,i.pending=null}if(f=e.baseState,o===null)e.memoizedState=f;else{t=o.next;var m=d=null,g=null,v=t,B=!1;do{var Q=v.lane&-536870913;if(Q!==v.lane?(tt&Q)===Q:(Fo&Q)===Q){var H=v.revertLane;if(H===0)g!==null&&(g=g.next={lane:0,revertLane:0,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null}),Q===Ys&&(B=!0);else if((Fo&H)===H){v=v.next,H===Ys&&(B=!0);continue}else Q={lane:0,revertLane:v.revertLane,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null},g===null?(m=g=Q,d=f):g=g.next=Q,je.lanes|=H,ef|=H;Q=v.action,Qs&&a(f,Q),f=v.hasEagerState?v.eagerState:a(f,Q)}else H={lane:Q,revertLane:v.revertLane,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null},g===null?(m=g=H,d=f):g=g.next=H,je.lanes|=Q,ef|=Q;v=v.next}while(v!==null&&v!==t);if(g===null?d=f:g.next=m,!ga(f,e.memoizedState)&&(Ml=!0,B&&(a=ah,a!==null)))throw a;e.memoizedState=f,e.baseState=d,e.baseQueue=g,i.lastRenderedState=f}return o===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function ac(e){var t=lt(),a=t.queue;if(a===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");a.lastRenderedReducer=e;var i=a.dispatch,o=a.pending,f=t.memoizedState;if(o!==null){a.pending=null;var d=o=o.next;do f=e(f,d.action),d=d.next;while(d!==o);ga(f,t.memoizedState)||(Ml=!0),t.memoizedState=f,t.baseQueue===null&&(t.baseState=f),a.lastRenderedState=f}return[f,i]}function hu(e,t,a){var i=je,o=Nt();if(st){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var f=a();uh||f===a()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),uh=!0)}else{if(f=t(),uh||(a=t(),ga(f,a)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),uh=!0)),Rt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(tt&124)!==0||fm(i,t,f)}return o.memoizedState=f,a={value:f,getSnapshot:t},o.queue=a,Rr(fo.bind(null,i,a,e),[e]),i.flags|=2048,En(Fn|_l,ui(),oo.bind(null,i,a,f,t),null),f}function Bf(e,t,a){var i=je,o=lt(),f=st;if(f){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");a=a()}else if(a=t(),!uh){var d=t();ga(a,d)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),uh=!0)}(d=!ga((Et||o).memoizedState,a))&&(o.memoizedState=a,Ml=!0),o=o.queue;var m=fo.bind(null,i,o,e);if(Ft(2048,_l,m,[e]),o.getSnapshot!==t||d||sl!==null&&sl.memoizedState.tag&Fn){if(i.flags|=2048,En(Fn|_l,ui(),oo.bind(null,i,o,a,t),null),Rt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");f||(Fo&124)!==0||fm(i,t,a)}return a}function fm(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=je.updateQueue,t===null?(t=_r(),je.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function oo(e,t,a,i){t.value=a,t.getSnapshot=i,sm(t)&&so(e)}function fo(e,t,a){return a(function(){sm(t)&&so(e)})}function sm(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!ga(e,a)}catch{return!0}}function so(e){var t=ql(e,2);t!==null&&jt(t,e,2)}function jf(e){var t=Nt();if(typeof e=="function"){var a=e;if(e=a(),Qs){$e(!0);try{a()}finally{$e(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ct,lastRenderedState:e},t}function mu(e){e=jf(e);var t=e.queue,a=yo.bind(null,je,t);return t.dispatch=a,[e.memoizedState,a]}function Pa(e){var t=Nt();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=Nr.bind(null,je,!0,a),a.dispatch=t,[e,t]}function yu(e,t){var a=lt();return _n(a,Et,e,t)}function _n(e,t,a,i){return e.baseState=a,Ma(e,Et,typeof i=="function"?i:ct)}function Er(e,t){var a=lt();return Et!==null?_n(a,Et,e,t):(a.baseState=e,[e,a.queue.dispatch])}function rm(e,t,a,i,o){if(Lf(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var f={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(d){f.listeners.push(d)}};w.T!==null?a(!0):f.isTransition=!1,i(f),a=t.pending,a===null?(f.next=t.pending=f,ro(t,f)):(f.next=a.next,t.pending=a.next=f)}}function ro(e,t){var a=t.action,i=t.payload,o=e.state;if(t.isTransition){var f=w.T,d={};w.T=d,w.T._updatedFibers=new Set;try{var m=a(o,i),g=w.S;g!==null&&g(d,m),Yf(e,t,m)}catch(v){ul(e,t,v)}finally{w.T=f,f===null&&d._updatedFibers&&(e=d._updatedFibers.size,d._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{d=a(o,i),Yf(e,t,d)}catch(v){ul(e,t,v)}}function Yf(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?(a.then(function(i){ni(e,t,i)},function(i){return ul(e,t,i)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):ni(e,t,a)}function ni(e,t,a){t.status="fulfilled",t.value=a,wf(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,ro(e,a)))}function ul(e,t,a){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do t.status="rejected",t.reason=a,wf(t),t=t.next;while(t!==i)}e.action=null}function wf(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function dm(e,t){return t}function ho(e,t){if(st){var a=Rt.formState;if(a!==null){e:{var i=je;if(st){if(Kt){t:{for(var o=Kt,f=xi;o.nodeType!==8;){if(!f){o=null;break t}if(o=vl(o.nextSibling),o===null){o=null;break t}}f=o.data,o=f===Kv||f===aS?o:null}if(o){Kt=vl(o.nextSibling),i=o.data===Kv;break e}}pn(i)}i=!1}i&&(t=a[0])}}return a=Nt(),a.memoizedState=a.baseState=t,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:dm,lastRenderedState:t},a.queue=i,a=yo.bind(null,je,i),i.dispatch=a,i=jf(!1),f=Nr.bind(null,je,!1,i.queue),i=Nt(),o={state:t,dispatch:null,action:e,pending:null},i.queue=o,a=rm.bind(null,je,o,f,a),o.dispatch=a,i.memoizedState=e,[t,a,!1]}function Ar(e){var t=lt();return Pp(t,Et,e)}function Pp(e,t,a){if(t=Ma(e,t,dm)[0],e=Oa(ct)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var i=lc(t)}catch(d){throw d===Fy?J0:d}else i=t;t=lt();var o=t.queue,f=o.dispatch;return a!==t.memoizedState&&(je.flags|=2048,En(Fn|_l,ui(),Wt.bind(null,o,a),null)),[i,f,e]}function Wt(e,t){e.action=t}function mo(e){var t=lt(),a=Et;if(a!==null)return Pp(t,a,e);lt(),t=t.memoizedState,a=lt();var i=a.queue.dispatch;return a.memoizedState=e,[t,i,!1]}function En(e,t,a,i){return e={tag:e,create:a,deps:i,inst:t,next:null},t=je.updateQueue,t===null&&(t=_r(),je.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(i=a.next,a.next=e,e.next=i,t.lastEffect=e),e}function ui(){return{destroy:void 0,resource:void 0}}function Gf(e){var t=Nt();return e={current:e},t.memoizedState=e}function Ua(e,t,a,i){var o=Nt();i=i===void 0?null:i,je.flags|=e,o.memoizedState=En(Fn|t,ui(),a,i)}function Ft(e,t,a,i){var o=lt();i=i===void 0?null:i;var f=o.memoizedState.inst;Et!==null&&i!==null&&li(i,Et.memoizedState.deps)?o.memoizedState=En(t,f,a,i):(je.flags|=e,o.memoizedState=En(Fn|t,f,a,i))}function Rr(e,t){(je.mode&Cu)!==Ot&&(je.mode&Vb)===Ot?Ua(276826112,_l,e,t):Ua(8390656,_l,e,t)}function zr(e,t){var a=4194308;return(je.mode&Cu)!==Ot&&(a|=134217728),Ua(a,Xl,e,t)}function e0(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function Dr(e,t,a){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),a=a!=null?a.concat([e]):null;var i=4194308;(je.mode&Cu)!==Ot&&(i|=134217728),Ua(i,Xl,e0.bind(null,t,e),a)}function An(e,t,a){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),a=a!=null?a.concat([e]):null,Ft(4,Xl,e0.bind(null,t,e),a)}function Qf(e,t){return Nt().memoizedState=[e,t===void 0?null:t],e}function nc(e,t){var a=lt();t=t===void 0?null:t;var i=a.memoizedState;return t!==null&&li(t,i[1])?i[0]:(a.memoizedState=[e,t],e)}function xr(e,t){var a=Nt();t=t===void 0?null:t;var i=e();if(Qs){$e(!0);try{e()}finally{$e(!1)}}return a.memoizedState=[i,t],i}function ii(e,t){var a=lt();t=t===void 0?null:t;var i=a.memoizedState;if(t!==null&&li(t,i[1]))return i[0];if(i=e(),Qs){$e(!0);try{e()}finally{$e(!1)}}return a.memoizedState=[i,t],i}function Or(e,t){var a=Nt();return Ur(a,e,t)}function Vf(e,t){var a=lt();return Xf(a,Et.memoizedState,e,t)}function Mr(e,t){var a=lt();return Et===null?Ur(a,e,t):Xf(a,Et.memoizedState,e,t)}function Ur(e,t,a){return a===void 0||(Fo&1073741824)!==0?e.memoizedState=t:(e.memoizedState=a,e=s0(),je.lanes|=e,ef|=e,a)}function Xf(e,t,a,i){return ga(a,t)?a:nh.current!==null?(e=Ur(e,a,i),ga(e,t)||(Ml=!0),e):(Fo&42)===0?(Ml=!0,e.memoizedState=a):(e=s0(),je.lanes|=e,ef|=e,t)}function hm(e,t,a,i,o){var f=Ce.p;Ce.p=f!==0&&f<un?f:un;var d=w.T,m={};w.T=m,Nr(e,!1,t,a),m._updatedFibers=new Set;try{var g=o(),v=w.S;if(v!==null&&v(m,g),g!==null&&typeof g=="object"&&typeof g.then=="function"){var B=Wp(g,i);pu(e,t,B,Il(e))}else pu(e,t,i,Il(e))}catch(Q){pu(e,t,{then:function(){},status:"rejected",reason:Q},Il(e))}finally{Ce.p=f,w.T=d,d===null&&m._updatedFibers&&(e=m._updatedFibers.size,m._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function uc(e,t,a,i){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var o=mm(e).queue;hm(e,o,t,Fs,a===null?pe:function(){return ym(e),a(i)})}function mm(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Fs,baseState:Fs,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ct,lastRenderedState:Fs},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ct,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function ym(e){w.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=mm(e).next.queue;pu(e,t,{},Il(e))}function Rn(){var e=jf(!1);return e=hm.bind(null,je,e.queue,!0,!1),Nt().memoizedState=e,[!1,e]}function Cr(){var e=Oa(ct)[0],t=lt().memoizedState;return[typeof e=="boolean"?e:lc(e),t]}function Hr(){var e=ac(ct)[0],t=lt().memoizedState;return[typeof e=="boolean"?e:lc(e),t]}function $l(){return At(gp)}function zn(){var e=Nt(),t=Rt.identifierPrefix;if(st){var a=Hc,i=Cc;a=(i&~(1<<32-xl(i)-1)).toString(32)+a,t="«"+t+"R"+a,a=F0++,0<a&&(t+="H"+a.toString(32)),t+="»"}else a=IT++,t="«"+t+"r"+a.toString(32)+"»";return e.memoizedState=t}function ic(){return Nt().memoizedState=pm.bind(null,je)}function pm(e,t){for(var a=e.return;a!==null;){switch(a.tag){case 24:case 3:var i=Il(a);e=bn(i);var o=Wa(a,e,i);o!==null&&(jt(o,a,i),ti(o,a,i)),a=Uf(),t!=null&&o!==null&&console.error("The seed argument is not enabled outside experimental channels."),e.payload={cache:a};return}a=a.return}}function gm(e,t,a){var i=arguments;typeof i[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),i=Il(e);var o={lane:i,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};Lf(e)?cc(t,o):(o=qh(e,t,o,i),o!==null&&(jt(o,e,i),Zf(o,t,i))),_a(e,i)}function yo(e,t,a){var i=arguments;typeof i[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),i=Il(e),pu(e,t,a,i),_a(e,i)}function pu(e,t,a,i){var o={lane:i,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};if(Lf(e))cc(t,o);else{var f=e.alternate;if(e.lanes===0&&(f===null||f.lanes===0)&&(f=t.lastRenderedReducer,f!==null)){var d=w.H;w.H=Nu;try{var m=t.lastRenderedState,g=f(m,a);if(o.hasEagerState=!0,o.eagerState=g,ga(g,m))return mr(e,t,o,0),Rt===null&&zf(),!1}catch{}finally{w.H=d}}if(a=qh(e,t,o,i),a!==null)return jt(a,e,i),Zf(a,t,i),!0}return!1}function Nr(e,t,a,i){if(w.T===null&&Ys===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),i={lane:2,revertLane:km(),action:i,hasEagerState:!1,eagerState:null,next:null},Lf(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=qh(e,a,i,2),t!==null&&jt(t,e,2);_a(e,2)}function Lf(e){var t=e.alternate;return e===je||t!==null&&t===je}function cc(e,t){ih=W0=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function Zf(e,t,a){if((a&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,a|=i,t.lanes=a,Kc(e,a)}}function il(e){var t=ke;return e!=null&&(ke=t===null?e:t.concat(e)),t}function po(e,t,a){for(var i=Object.keys(e.props),o=0;o<i.length;o++){var f=i[o];if(f!=="children"&&f!=="key"){t===null&&(t=Of(e,a.mode,0),t._debugInfo=ke,t.return=a),re(t,function(d){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",d)},f);break}}}function go(e){var t=tp;return tp+=1,ch===null&&(ch=im()),za(ch,e,t)}function Ca(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function we(e,t){throw t.$$typeof===Ss?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
131
|
-
- Multiple copies of the "react" package is used.
|
|
132
|
-
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
133
|
-
- A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function dt(e,t){var a=W(e)||"Component";S1[a]||(S1[a]=!0,t=t.displayName||t.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
134
|
-
root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
135
|
-
<%s>{%s}</%s>`,t,t,a,t,a))}function Ct(e,t){var a=W(e)||"Component";T1[a]||(T1[a]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
|
|
136
|
-
root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
|
|
137
|
-
<%s>%s</%s>`,a,t,a))}function qf(e){function t(T,_){if(e){var R=T.deletions;R===null?(T.deletions=[_],T.flags|=16):R.push(_)}}function a(T,_){if(!e)return null;for(;_!==null;)t(T,_),_=_.sibling;return null}function i(T){for(var _=new Map;T!==null;)T.key!==null?_.set(T.key,T):_.set(T.index,T),T=T.sibling;return _}function o(T,_){return T=yn(T,_),T.index=0,T.sibling=null,T}function f(T,_,R){return T.index=R,e?(R=T.alternate,R!==null?(R=R.index,R<_?(T.flags|=67108866,_):R):(T.flags|=67108866,_)):(T.flags|=1048576,_)}function d(T){return e&&T.alternate===null&&(T.flags|=67108866),T}function m(T,_,R,L){return _===null||_.tag!==6?(_=$u(R,T.mode,L),_.return=T,_._debugOwner=T,_._debugTask=T._debugTask,_._debugInfo=ke,_):(_=o(_,R),_.return=T,_._debugInfo=ke,_)}function g(T,_,R,L){var le=R.type;return le===Ge?(_=B(T,_,R.props.children,L,R.key),po(R,_,T),_):_!==null&&(_.elementType===le||Kp(_,R)||typeof le=="object"&&le!==null&&le.$$typeof===ya&&Io(le)===_.type)?(_=o(_,R.props),Ca(_,R),_.return=T,_._debugOwner=R._owner,_._debugInfo=ke,_):(_=Of(R,T.mode,L),Ca(_,R),_.return=T,_._debugInfo=ke,_)}function v(T,_,R,L){return _===null||_.tag!==4||_.stateNode.containerInfo!==R.containerInfo||_.stateNode.implementation!==R.implementation?(_=$h(R,T.mode,L),_.return=T,_._debugInfo=ke,_):(_=o(_,R.children||[]),_.return=T,_._debugInfo=ke,_)}function B(T,_,R,L,le){return _===null||_.tag!==7?(_=ku(R,T.mode,L,le),_.return=T,_._debugOwner=T,_._debugTask=T._debugTask,_._debugInfo=ke,_):(_=o(_,R),_.return=T,_._debugInfo=ke,_)}function Q(T,_,R){if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return _=$u(""+_,T.mode,R),_.return=T,_._debugOwner=T,_._debugTask=T._debugTask,_._debugInfo=ke,_;if(typeof _=="object"&&_!==null){switch(_.$$typeof){case bi:return R=Of(_,T.mode,R),Ca(R,_),R.return=T,T=il(_._debugInfo),R._debugInfo=ke,ke=T,R;case zc:return _=$h(_,T.mode,R),_.return=T,_._debugInfo=ke,_;case ya:var L=il(_._debugInfo);return _=Io(_),T=Q(T,_,R),ke=L,T}if(Be(_)||Te(_))return R=ku(_,T.mode,R,null),R.return=T,R._debugOwner=T,R._debugTask=T._debugTask,T=il(_._debugInfo),R._debugInfo=ke,ke=T,R;if(typeof _.then=="function")return L=il(_._debugInfo),T=Q(T,go(_),R),ke=L,T;if(_.$$typeof===Ya)return Q(T,Mf(T,_),R);we(T,_)}return typeof _=="function"&&dt(T,_),typeof _=="symbol"&&Ct(T,_),null}function H(T,_,R,L){var le=_!==null?_.key:null;if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return le!==null?null:m(T,_,""+R,L);if(typeof R=="object"&&R!==null){switch(R.$$typeof){case bi:return R.key===le?(le=il(R._debugInfo),T=g(T,_,R,L),ke=le,T):null;case zc:return R.key===le?v(T,_,R,L):null;case ya:return le=il(R._debugInfo),R=Io(R),T=H(T,_,R,L),ke=le,T}if(Be(R)||Te(R))return le!==null?null:(le=il(R._debugInfo),T=B(T,_,R,L,null),ke=le,T);if(typeof R.then=="function")return le=il(R._debugInfo),T=H(T,_,go(R),L),ke=le,T;if(R.$$typeof===Ya)return H(T,_,Mf(T,R),L);we(T,R)}return typeof R=="function"&&dt(T,R),typeof R=="symbol"&&Ct(T,R),null}function X(T,_,R,L,le){if(typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint")return T=T.get(R)||null,m(_,T,""+L,le);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case bi:return R=T.get(L.key===null?R:L.key)||null,T=il(L._debugInfo),_=g(_,R,L,le),ke=T,_;case zc:return T=T.get(L.key===null?R:L.key)||null,v(_,T,L,le);case ya:var Qe=il(L._debugInfo);return L=Io(L),_=X(T,_,R,L,le),ke=Qe,_}if(Be(L)||Te(L))return R=T.get(R)||null,T=il(L._debugInfo),_=B(_,R,L,le,null),ke=T,_;if(typeof L.then=="function")return Qe=il(L._debugInfo),_=X(T,_,R,go(L),le),ke=Qe,_;if(L.$$typeof===Ya)return X(T,_,R,Mf(_,L),le);we(_,L)}return typeof L=="function"&&dt(_,L),typeof L=="symbol"&&Ct(_,L),null}function de(T,_,R,L){if(typeof R!="object"||R===null)return L;switch(R.$$typeof){case bi:case zc:K(T,_,R);var le=R.key;if(typeof le!="string")break;if(L===null){L=new Set,L.add(le);break}if(!L.has(le)){L.add(le);break}re(_,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",le)});break;case ya:R=Io(R),de(T,_,R,L)}return L}function He(T,_,R,L){for(var le=null,Qe=null,he=null,Ve=_,Le=_=0,Mt=null;Ve!==null&&Le<R.length;Le++){Ve.index>Le?(Mt=Ve,Ve=null):Mt=Ve.sibling;var tl=H(T,Ve,R[Le],L);if(tl===null){Ve===null&&(Ve=Mt);break}le=de(T,tl,R[Le],le),e&&Ve&&tl.alternate===null&&t(T,Ve),_=f(tl,_,Le),he===null?Qe=tl:he.sibling=tl,he=tl,Ve=Mt}if(Le===R.length)return a(T,Ve),st&&Wi(T,Le),Qe;if(Ve===null){for(;Le<R.length;Le++)Ve=Q(T,R[Le],L),Ve!==null&&(le=de(T,Ve,R[Le],le),_=f(Ve,_,Le),he===null?Qe=Ve:he.sibling=Ve,he=Ve);return st&&Wi(T,Le),Qe}for(Ve=i(Ve);Le<R.length;Le++)Mt=X(Ve,T,Le,R[Le],L),Mt!==null&&(le=de(T,Mt,R[Le],le),e&&Mt.alternate!==null&&Ve.delete(Mt.key===null?Le:Mt.key),_=f(Mt,_,Le),he===null?Qe=Mt:he.sibling=Mt,he=Mt);return e&&Ve.forEach(function(Xc){return t(T,Xc)}),st&&Wi(T,Le),Qe}function zt(T,_,R,L){if(R==null)throw Error("An iterable object provided no iterator.");for(var le=null,Qe=null,he=_,Ve=_=0,Le=null,Mt=null,tl=R.next();he!==null&&!tl.done;Ve++,tl=R.next()){he.index>Ve?(Le=he,he=null):Le=he.sibling;var Xc=H(T,he,tl.value,L);if(Xc===null){he===null&&(he=Le);break}Mt=de(T,Xc,tl.value,Mt),e&&he&&Xc.alternate===null&&t(T,he),_=f(Xc,_,Ve),Qe===null?le=Xc:Qe.sibling=Xc,Qe=Xc,he=Le}if(tl.done)return a(T,he),st&&Wi(T,Ve),le;if(he===null){for(;!tl.done;Ve++,tl=R.next())he=Q(T,tl.value,L),he!==null&&(Mt=de(T,he,tl.value,Mt),_=f(he,_,Ve),Qe===null?le=he:Qe.sibling=he,Qe=he);return st&&Wi(T,Ve),le}for(he=i(he);!tl.done;Ve++,tl=R.next())Le=X(he,T,Ve,tl.value,L),Le!==null&&(Mt=de(T,Le,tl.value,Mt),e&&Le.alternate!==null&&he.delete(Le.key===null?Ve:Le.key),_=f(Le,_,Ve),Qe===null?le=Le:Qe.sibling=Le,Qe=Le);return e&&he.forEach(function(R2){return t(T,R2)}),st&&Wi(T,Ve),le}function at(T,_,R,L){if(typeof R=="object"&&R!==null&&R.type===Ge&&R.key===null&&(po(R,null,T),R=R.props.children),typeof R=="object"&&R!==null){switch(R.$$typeof){case bi:var le=il(R._debugInfo);e:{for(var Qe=R.key;_!==null;){if(_.key===Qe){if(Qe=R.type,Qe===Ge){if(_.tag===7){a(T,_.sibling),L=o(_,R.props.children),L.return=T,L._debugOwner=R._owner,L._debugInfo=ke,po(R,L,T),T=L;break e}}else if(_.elementType===Qe||Kp(_,R)||typeof Qe=="object"&&Qe!==null&&Qe.$$typeof===ya&&Io(Qe)===_.type){a(T,_.sibling),L=o(_,R.props),Ca(L,R),L.return=T,L._debugOwner=R._owner,L._debugInfo=ke,T=L;break e}a(T,_);break}else t(T,_);_=_.sibling}R.type===Ge?(L=ku(R.props.children,T.mode,L,R.key),L.return=T,L._debugOwner=T,L._debugTask=T._debugTask,L._debugInfo=ke,po(R,L,T),T=L):(L=Of(R,T.mode,L),Ca(L,R),L.return=T,L._debugInfo=ke,T=L)}return T=d(T),ke=le,T;case zc:e:{for(le=R,R=le.key;_!==null;){if(_.key===R)if(_.tag===4&&_.stateNode.containerInfo===le.containerInfo&&_.stateNode.implementation===le.implementation){a(T,_.sibling),L=o(_,le.children||[]),L.return=T,T=L;break e}else{a(T,_);break}else t(T,_);_=_.sibling}L=$h(le,T.mode,L),L.return=T,T=L}return d(T);case ya:return le=il(R._debugInfo),R=Io(R),T=at(T,_,R,L),ke=le,T}if(Be(R))return le=il(R._debugInfo),T=He(T,_,R,L),ke=le,T;if(Te(R)){if(le=il(R._debugInfo),Qe=Te(R),typeof Qe!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var he=Qe.call(R);return he===R?(T.tag!==0||Object.prototype.toString.call(T.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(he)!=="[object Generator]")&&(v1||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),v1=!0):R.entries!==Qe||_v||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),_v=!0),T=zt(T,_,he,L),ke=le,T}if(typeof R.then=="function")return le=il(R._debugInfo),T=at(T,_,go(R),L),ke=le,T;if(R.$$typeof===Ya)return at(T,_,Mf(T,R),L);we(T,R)}return typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint"?(le=""+R,_!==null&&_.tag===6?(a(T,_.sibling),L=o(_,le),L.return=T,T=L):(a(T,_),L=$u(le,T.mode,L),L.return=T,L._debugOwner=T,L._debugTask=T._debugTask,L._debugInfo=ke,T=L),d(T)):(typeof R=="function"&&dt(T,R),typeof R=="symbol"&&Ct(T,R),a(T,_))}return function(T,_,R,L){var le=ke;ke=null;try{tp=0;var Qe=at(T,_,R,L);return ch=null,Qe}catch(Mt){if(Mt===Fy||Mt===J0)throw Mt;var he=se(29,Mt,null,T.mode);he.lanes=L,he.return=T;var Ve=he._debugInfo=ke;if(he._debugOwner=T._debugOwner,he._debugTask=T._debugTask,Ve!=null){for(var Le=Ve.length-1;0<=Le;Le--)if(typeof Ve[Le].stack=="string"){he._debugOwner=Ve[Le],he._debugTask=Ve[Le].debugTask;break}}return he}finally{ke=le}}}function sa(e){var t=e.alternate;te(El,El.current&fh,e),te(Pn,e,e),Mi===null&&(t===null||nh.current!==null||t.memoizedState!==null)&&(Mi=e)}function ci(e){if(e.tag===22){if(te(El,El.current,e),te(Pn,e,e),Mi===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(Mi=e)}}else en(e)}function en(e){te(El,El.current,e),te(Pn,Pn.current,e)}function ra(e){_e(Pn,e),Mi===e&&(Mi=null),_e(El,e)}function gu(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data===Gc||Gn(a)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function vm(e){if(e!==null&&typeof e!="function"){var t=String(e);H1.has(t)||(H1.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function Ht(e,t,a,i){var o=e.memoizedState,f=a(i,o);if(e.mode&ua){$e(!0);try{f=a(i,o)}finally{$e(!1)}}f===void 0&&(t=ye(t)||"Component",O1.has(t)||(O1.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),o=f==null?o:qe({},o,f),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}function Br(e,t,a,i,o,f,d){var m=e.stateNode;if(typeof m.shouldComponentUpdate=="function"){if(a=m.shouldComponentUpdate(i,f,d),e.mode&ua){$e(!0);try{a=m.shouldComponentUpdate(i,f,d)}finally{$e(!1)}}return a===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",ye(t)||"Component"),a}return t.prototype&&t.prototype.isPureReactComponent?!Rf(a,i)||!Rf(o,f):!0}function jr(e,t,a,i){var o=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,i),t.state!==o&&(e=W(e)||"Component",A1.has(e)||(A1.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),Ev.enqueueReplaceState(t,t.state,null))}function oi(e,t){var a=t;if("ref"in t){a={};for(var i in t)i!=="ref"&&(a[i]=t[i])}if(e=e.defaultProps){a===t&&(a=qe({},a));for(var o in e)a[o]===void 0&&(a[o]=e[o])}return a}function bm(e){Av(e),console.warn(`%s
|
|
138
|
-
|
|
139
|
-
%s
|
|
140
|
-
`,sh?"An error occurred in the <"+sh+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
141
|
-
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function t0(e){var t=sh?"The above error occurred in the <"+sh+"> component.":"The above error occurred in one of your React components.",a="React will try to recreate this component tree from scratch using the error boundary you provided, "+((Rv||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var i=e.environmentName;e=[`%o
|
|
142
|
-
|
|
143
|
-
%s
|
|
144
|
-
|
|
145
|
-
%s
|
|
146
|
-
`,e,t,a].slice(0),typeof e[0]=="string"?e.splice(0,1,rS+e[0],dS,gg+i+gg,hS):e.splice(0,0,rS,dS,gg+i+gg,hS),e.unshift(console),i=E2.apply(console.error,e),i()}else console.error(`%o
|
|
147
|
-
|
|
148
|
-
%s
|
|
149
|
-
|
|
150
|
-
%s
|
|
151
|
-
`,e,t,a)}function Yr(e){Av(e)}function vo(e,t){try{sh=t.source?W(t.source):null,Rv=null;var a=t.value;if(w.actQueue!==null)w.thrownErrors.push(a);else{var i=e.onUncaughtError;i(a,{componentStack:t.stack})}}catch(o){setTimeout(function(){throw o})}}function wr(e,t,a){try{sh=a.source?W(a.source):null,Rv=W(t);var i=e.onCaughtError;i(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function Rl(e,t,a){return a=bn(a),a.tag=mv,a.payload={element:null},a.callback=function(){re(t.source,vo,e,t)},a}function Bt(e){return e=bn(e),e.tag=mv,e}function Kf(e,t,a,i){var o=a.type.getDerivedStateFromError;if(typeof o=="function"){var f=i.value;e.payload=function(){return o(f)},e.callback=function(){Jp(a),re(i.source,wr,t,a,i)}}var d=a.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(e.callback=function(){Jp(a),re(i.source,wr,t,a,i),typeof o!="function"&&(lf===null?lf=new Set([this]):lf.add(this)),e2(this,i),typeof o=="function"||(a.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",W(a)||"Unknown")})}function Jf(e,t,a,i,o){if(a.flags|=32768,Vt&&zo(e,o),i!==null&&typeof i=="object"&&typeof i.then=="function"){if(t=a.alternate,t!==null&&ml(t,a,o,!0),st&&(Nc=!0),a=Pn.current,a!==null){switch(a.tag){case 13:return Mi===null?nd():a.alternate===null&&Jt===wc&&(Jt=Ov),a.flags&=-257,a.flags|=65536,a.lanes=o,i===hv?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([i]):t.add(i),Zm(e,i,o)),!1;case 22:return a.flags|=65536,i===hv?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([i])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([i]):a.add(i)),Zm(e,i,o)),!1}throw Error("Unexpected Suspense handler tag ("+a.tag+"). This is a bug in React.")}return Zm(e,i,o),nd(),!1}if(st)return Nc=!0,t=Pn.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,i!==fv&&to(oa(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:i}),a))):(i!==fv&&to(oa(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:i}),a)),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,i=oa(i,a),o=Rl(e.stateNode,i,o),ao(e,o),Jt!==Vs&&(Jt=mh)),!1;var f=oa(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:i}),a);if(fp===null?fp=[f]:fp.push(f),Jt!==Vs&&(Jt=mh),t===null)return!0;i=oa(i,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=o&-o,a.lanes|=e,e=Rl(a.stateNode,i,e),ao(a,e),!1;case 1:if(t=a.type,f=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(lf===null||!lf.has(f))))return a.flags|=65536,o&=-o,a.lanes|=o,o=Bt(o),Kf(o,e,a,i),ao(a,o),!1}a=a.return}while(a!==null);return!1}function qt(e,t,a,i){t.child=e===null?_1(t,null,a,i):oh(t,e.child,a,i)}function Gr(e,t,a,i,o){a=a.render;var f=t.ref;if("ref"in i){var d={};for(var m in i)m!=="ref"&&(d[m]=i[m])}else d=i;return Iu(t),ll(t),i=ai(e,t,a,d,f,o),m=kl(),Zt(),e!==null&&!Ml?(du(e,t,o),xn(e,t,o)):(st&&m&&gr(t),t.flags|=1,qt(e,t,i,o),t.child)}function Dn(e,t,a,i,o){if(e===null){var f=a.type;return typeof f=="function"&&!Jh(f)&&f.defaultProps===void 0&&a.compare===null?(a=$i(f),t.tag=15,t.type=a,Lr(t,f),kf(e,t,a,i,o)):(e=pr(a.type,null,i,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(f=e.child,!$r(e,o)){var d=f.memoizedProps;if(a=a.compare,a=a!==null?a:Rf,a(d,i)&&e.ref===t.ref)return xn(e,t,o)}return t.flags|=1,e=yn(f,i),e.ref=t.ref,e.return=t,t.child=e}function kf(e,t,a,i,o){if(e!==null){var f=e.memoizedProps;if(Rf(f,i)&&e.ref===t.ref&&t.type===e.type)if(Ml=!1,t.pendingProps=i=f,$r(e,o))(e.flags&131072)!==0&&(Ml=!0);else return t.lanes=e.lanes,xn(e,t,o)}return Xr(e,t,a,i,o)}function Qr(e,t,a){var i=t.pendingProps,o=i.children,f=e!==null?e.memoizedState:null;if(i.mode==="hidden"){if((t.flags&128)!==0){if(i=f!==null?f.baseLanes|a:a,e!==null){for(o=t.child=e.child,f=0;o!==null;)f=f|o.lanes|o.childLanes,o=o.sibling;t.childLanes=f&~i}else t.childLanes=0,t.child=null;return Vr(e,t,i,a)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Tr(t,f!==null?f.cachePool:null),f!==null?Jl(t,f):Hf(t),ci(t);else return t.lanes=t.childLanes=536870912,Vr(e,t,f!==null?f.baseLanes|a:a,a)}else f!==null?(Tr(t,f.cachePool),Jl(t,f),en(t),t.memoizedState=null):(e!==null&&Tr(t,null),Hf(t),en(t));return qt(e,t,o,a),t.child}function Vr(e,t,a,i){var o=um();return o=o===null?null:{parent:Tl._currentValue,pool:o},t.memoizedState={baseLanes:a,cachePool:o},e!==null&&Tr(t,null),Hf(t),ci(t),e!==null&&ml(e,t,i,!0),null}function $f(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==a)&&(t.flags|=4194816)}}function Xr(e,t,a,i,o){if(a.prototype&&typeof a.prototype.render=="function"){var f=ye(a)||"Unknown";B1[f]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",f,f),B1[f]=!0)}return t.mode&ua&&Hu.recordLegacyContextWarning(t,null),e===null&&(Lr(t,t.type),a.contextTypes&&(f=ye(a)||"Unknown",Y1[f]||(Y1[f]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",f)))),Iu(t),ll(t),a=ai(e,t,a,i,void 0,o),i=kl(),Zt(),e!==null&&!Ml?(du(e,t,o),xn(e,t,o)):(st&&i&&gr(t),t.flags|=1,qt(e,t,a,o),t.child)}function Sm(e,t,a,i,o,f){return Iu(t),ll(t),jc=-1,ep=e!==null&&e.type!==t.type,t.updateQueue=null,a=co(t,i,a,o),Nf(e,t),i=kl(),Zt(),e!==null&&!Ml?(du(e,t,f),xn(e,t,f)):(st&&i&&gr(t),t.flags|=1,qt(e,t,a,f),t.child)}function Tm(e,t,a,i,o){switch(F(t)){case!1:var f=t.stateNode,d=new t.type(t.memoizedProps,f.context).state;f.updater.enqueueSetState(f,d,null);break;case!0:t.flags|=128,t.flags|=65536,f=Error("Simulated error coming from DevTools");var m=o&-o;if(t.lanes|=m,d=Rt,d===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");m=Bt(m),Kf(m,d,t,oa(f,t)),ao(t,m)}if(Iu(t),t.stateNode===null){if(d=$o,f=a.contextType,"contextType"in a&&f!==null&&(f===void 0||f.$$typeof!==Ya)&&!C1.has(a)&&(C1.add(a),m=f===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof f!="object"?" However, it is set to a "+typeof f+".":f.$$typeof===Ud?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(f).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",ye(a)||"Component",m)),typeof f=="object"&&f!==null&&(d=At(f)),f=new a(i,d),t.mode&ua){$e(!0);try{f=new a(i,d)}finally{$e(!1)}}if(d=t.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=Ev,t.stateNode=f,f._reactInternals=t,f._reactInternalInstance=E1,typeof a.getDerivedStateFromProps=="function"&&d===null&&(d=ye(a)||"Component",R1.has(d)||(R1.add(d),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",d,f.state===null?"null":"undefined",d))),typeof a.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"){var g=m=d=null;if(typeof f.componentWillMount=="function"&&f.componentWillMount.__suppressDeprecationWarning!==!0?d="componentWillMount":typeof f.UNSAFE_componentWillMount=="function"&&(d="UNSAFE_componentWillMount"),typeof f.componentWillReceiveProps=="function"&&f.componentWillReceiveProps.__suppressDeprecationWarning!==!0?m="componentWillReceiveProps":typeof f.UNSAFE_componentWillReceiveProps=="function"&&(m="UNSAFE_componentWillReceiveProps"),typeof f.componentWillUpdate=="function"&&f.componentWillUpdate.__suppressDeprecationWarning!==!0?g="componentWillUpdate":typeof f.UNSAFE_componentWillUpdate=="function"&&(g="UNSAFE_componentWillUpdate"),d!==null||m!==null||g!==null){f=ye(a)||"Component";var v=typeof a.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";D1.has(f)||(D1.add(f),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
152
|
-
|
|
153
|
-
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
154
|
-
|
|
155
|
-
The above lifecycles should be removed. Learn more about this warning here:
|
|
156
|
-
https://react.dev/link/unsafe-component-lifecycles`,f,v,d!==null?`
|
|
157
|
-
`+d:"",m!==null?`
|
|
158
|
-
`+m:"",g!==null?`
|
|
159
|
-
`+g:""))}}f=t.stateNode,d=ye(a)||"Component",f.render||(a.prototype&&typeof a.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",d):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",d)),!f.getInitialState||f.getInitialState.isReactClassApproved||f.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",d),f.getDefaultProps&&!f.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",d),f.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",d),a.childContextTypes&&!U1.has(a)&&(U1.add(a),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",d)),a.contextTypes&&!M1.has(a)&&(M1.add(a),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",d)),typeof f.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",d),a.prototype&&a.prototype.isPureReactComponent&&typeof f.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",ye(a)||"A pure component"),typeof f.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",d),typeof f.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",d),typeof f.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",d),typeof f.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",d),m=f.props!==i,f.props!==void 0&&m&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",d),f.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",d,d),typeof f.getSnapshotBeforeUpdate!="function"||typeof f.componentDidUpdate=="function"||z1.has(a)||(z1.add(a),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",ye(a))),typeof f.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",d),typeof f.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",d),typeof a.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",d),(m=f.state)&&(typeof m!="object"||Be(m))&&console.error("%s.state: must be set to an object or null",d),typeof f.getChildContext=="function"&&typeof a.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",d),f=t.stateNode,f.props=i,f.state=t.memoizedState,f.refs={},Kl(t),d=a.contextType,f.context=typeof d=="object"&&d!==null?At(d):$o,f.state===i&&(d=ye(a)||"Component",x1.has(d)||(x1.add(d),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",d))),t.mode&ua&&Hu.recordLegacyContextWarning(t,f),Hu.recordUnsafeLifecycleWarnings(t,f),f.state=t.memoizedState,d=a.getDerivedStateFromProps,typeof d=="function"&&(Ht(t,a,d,i),f.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(d=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),d!==f.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",W(t)||"Component"),Ev.enqueueReplaceState(f,f.state,null)),no(t,i,f,o),Sn(),f.state=t.memoizedState),typeof f.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Cu)!==Ot&&(t.flags|=134217728),f=!0}else if(e===null){f=t.stateNode;var B=t.memoizedProps;m=oi(a,B),f.props=m;var Q=f.context;g=a.contextType,d=$o,typeof g=="object"&&g!==null&&(d=At(g)),v=a.getDerivedStateFromProps,g=typeof v=="function"||typeof f.getSnapshotBeforeUpdate=="function",B=t.pendingProps!==B,g||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(B||Q!==d)&&jr(t,f,i,d),Wo=!1;var H=t.memoizedState;f.state=H,no(t,i,f,o),Sn(),Q=t.memoizedState,B||H!==Q||Wo?(typeof v=="function"&&(Ht(t,a,v,i),Q=t.memoizedState),(m=Wo||Br(t,a,m,i,H,Q,d))?(g||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Cu)!==Ot&&(t.flags|=134217728)):(typeof f.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Cu)!==Ot&&(t.flags|=134217728),t.memoizedProps=i,t.memoizedState=Q),f.props=i,f.state=Q,f.context=d,f=m):(typeof f.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Cu)!==Ot&&(t.flags|=134217728),f=!1)}else{f=t.stateNode,ei(e,t),d=t.memoizedProps,g=oi(a,d),f.props=g,v=t.pendingProps,H=f.context,Q=a.contextType,m=$o,typeof Q=="object"&&Q!==null&&(m=At(Q)),B=a.getDerivedStateFromProps,(Q=typeof B=="function"||typeof f.getSnapshotBeforeUpdate=="function")||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(d!==v||H!==m)&&jr(t,f,i,m),Wo=!1,H=t.memoizedState,f.state=H,no(t,i,f,o),Sn();var X=t.memoizedState;d!==v||H!==X||Wo||e!==null&&e.dependencies!==null&&Fu(e.dependencies)?(typeof B=="function"&&(Ht(t,a,B,i),X=t.memoizedState),(g=Wo||Br(t,a,g,i,H,X,m)||e!==null&&e.dependencies!==null&&Fu(e.dependencies))?(Q||typeof f.UNSAFE_componentWillUpdate!="function"&&typeof f.componentWillUpdate!="function"||(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(i,X,m),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(i,X,m)),typeof f.componentDidUpdate=="function"&&(t.flags|=4),typeof f.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof f.componentDidUpdate!="function"||d===e.memoizedProps&&H===e.memoizedState||(t.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&H===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=X),f.props=i,f.state=X,f.context=m,f=g):(typeof f.componentDidUpdate!="function"||d===e.memoizedProps&&H===e.memoizedState||(t.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&H===e.memoizedState||(t.flags|=1024),f=!1)}if(m=f,$f(e,t),d=(t.flags&128)!==0,m||d){if(m=t.stateNode,yf(t),d&&typeof a.getDerivedStateFromError!="function")a=null,Qa=-1;else{if(ll(t),a=o1(m),t.mode&ua){$e(!0);try{o1(m)}finally{$e(!1)}}Zt()}t.flags|=1,e!==null&&d?(t.child=oh(t,e.child,null,o),t.child=oh(t,null,a,o)):qt(e,t,a,o),t.memoizedState=m.state,e=t.child}else e=xn(e,t,o);return o=t.stateNode,f&&o.props!==i&&(rh||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",W(t)||"a component"),rh=!0),e}function _m(e,t,a,i){return Ii(),t.flags|=256,qt(e,t,a,i),t.child}function Lr(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
160
|
-
%s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=ye(t)||"Unknown",w1[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),w1[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=ye(t)||"Unknown",j1[t]||(console.error("%s: Function components do not support contextType.",t),j1[t]=!0))}function Wf(e){return{baseLanes:e,cachePool:Fp()}}function Zr(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=fn),e}function l0(e,t,a){var i,o=t.pendingProps;C(t)&&(t.flags|=128);var f=!1,d=(t.flags&128)!==0;if((i=d)||(i=e!==null&&e.memoizedState===null?!1:(El.current&lp)!==0),i&&(f=!0,t.flags&=-129),i=(t.flags&32)!==0,t.flags&=-33,e===null){if(st){if(f?sa(t):en(t),st){var m=Kt,g;if(!(g=!m)){e:{var v=m;for(g=xi;v.nodeType!==8;){if(!g){g=null;break e}if(v=vl(v.nextSibling),v===null){g=null;break e}}g=v}g!==null?(Ka(),t.memoizedState={dehydrated:g,treeContext:Ns!==null?{id:Cc,overflow:Hc}:null,retryLane:536870912,hydrationErrors:null},v=se(18,null,null,Ot),v.stateNode=g,v.return=t,t.child=v,va=t,Kt=null,g=!0):g=!1,g=!g}g&&(Wh(t,m),pn(t))}if(m=t.memoizedState,m!==null&&(m=m.dehydrated,m!==null))return Gn(m)?t.lanes=32:t.lanes=536870912,null;ra(t)}return m=o.children,o=o.fallback,f?(en(t),f=t.mode,m=Ff({mode:"hidden",children:m},f),o=ku(o,f,a,null),m.return=t,o.return=t,m.sibling=o,t.child=m,f=t.child,f.memoizedState=Wf(a),f.childLanes=Zr(e,i,a),t.memoizedState=Dv,o):(sa(t),qr(t,m))}var B=e.memoizedState;if(B!==null&&(m=B.dehydrated,m!==null)){if(d)t.flags&256?(sa(t),t.flags&=-257,t=Kr(e,t,a)):t.memoizedState!==null?(en(t),t.child=e.child,t.flags|=128,t=null):(en(t),f=o.fallback,m=t.mode,o=Ff({mode:"visible",children:o.children},m),f=ku(f,m,a,null),f.flags|=2,o.return=t,f.return=t,o.sibling=f,t.child=o,oh(t,e.child,null,a),o=t.child,o.memoizedState=Wf(a),o.childLanes=Zr(e,i,a),t.memoizedState=Dv,t=f);else if(sa(t),st&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),Gn(m)){if(i=m.nextSibling&&m.nextSibling.dataset,i){g=i.dgst;var Q=i.msg;v=i.stck;var H=i.cstck}m=Q,i=g,o=v,g=f=H,f=Error(m||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),f.stack=o||"",f.digest=i,i=g===void 0?null:g,o={value:f,source:null,stack:i},typeof i=="string"&&cv.set(f,o),to(o),t=Kr(e,t,a)}else if(Ml||ml(e,t,a,!1),i=(a&e.childLanes)!==0,Ml||i){if(i=Rt,i!==null&&(o=a&-a,o=(o&42)!==0?1:Hl(o),o=(o&(i.suspendedLanes|a))!==0?0:o,o!==0&&o!==B.retryLane))throw B.retryLane=o,ql(e,o),jt(i,e,o),N1;m.data===Gc||nd(),t=Kr(e,t,a)}else m.data===Gc?(t.flags|=192,t.child=e.child,t=null):(e=B.treeContext,Kt=vl(m.nextSibling),va=t,st=!0,Bs=null,Nc=!1,$n=null,xi=!1,e!==null&&(Ka(),Jn[kn++]=Cc,Jn[kn++]=Hc,Jn[kn++]=Ns,Cc=e.id,Hc=e.overflow,Ns=t),t=qr(t,o.children),t.flags|=4096);return t}return f?(en(t),f=o.fallback,m=t.mode,g=e.child,v=g.sibling,o=yn(g,{mode:"hidden",children:o.children}),o.subtreeFlags=g.subtreeFlags&65011712,v!==null?f=yn(v,f):(f=ku(f,m,a,null),f.flags|=2),f.return=t,o.return=t,o.sibling=f,t.child=o,o=f,f=t.child,m=e.child.memoizedState,m===null?m=Wf(a):(g=m.cachePool,g!==null?(v=Tl._currentValue,g=g.parent!==v?{parent:v,pool:v}:g):g=Fp(),m={baseLanes:m.baseLanes|a,cachePool:g}),f.memoizedState=m,f.childLanes=Zr(e,i,a),t.memoizedState=Dv,o):(sa(t),a=e.child,e=a.sibling,a=yn(a,{mode:"visible",children:o.children}),a.return=t,a.sibling=null,e!==null&&(i=t.deletions,i===null?(t.deletions=[e],t.flags|=16):i.push(e)),t.child=a,t.memoizedState=null,a)}function qr(e,t){return t=Ff({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Ff(e,t){return e=se(22,e,null,t),e.lanes=0,e.stateNode={_visibility:G0,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Kr(e,t,a){return oh(t,e.child,null,a),e=qr(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Jr(e,t,a){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),tm(e.return,t,a)}function Em(e,t){var a=Be(e);return e=!a&&typeof Te(e)=="function",a||e?(a=a?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",a,t,a),!1):!0}function kr(e,t,a,i,o){var f=e.memoizedState;f===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:a,tailMode:o}:(f.isBackwards=t,f.rendering=null,f.renderingStartTime=0,f.last=i,f.tail=a,f.tailMode=o)}function Am(e,t,a){var i=t.pendingProps,o=i.revealOrder,f=i.tail;if(i=i.children,o!==void 0&&o!=="forwards"&&o!=="backwards"&&o!=="together"&&!G1[o])if(G1[o]=!0,typeof o=="string")switch(o.toLowerCase()){case"together":case"forwards":case"backwards":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',o,o.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',o,o.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',o)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',o);f===void 0||zv[f]||(f!=="collapsed"&&f!=="hidden"?(zv[f]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',f)):o!=="forwards"&&o!=="backwards"&&(zv[f]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',f)));e:if((o==="forwards"||o==="backwards")&&i!==void 0&&i!==null&&i!==!1)if(Be(i)){for(var d=0;d<i.length;d++)if(!Em(i[d],d))break e}else if(d=Te(i),typeof d=="function"){if(d=d.call(i))for(var m=d.next(),g=0;!m.done;m=d.next()){if(!Em(m.value,g))break e;g++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',o);if(qt(e,t,i,a),i=El.current,(i&lp)!==0)i=i&fh|lp,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Jr(e,a,t);else if(e.tag===19)Jr(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}i&=fh}switch(te(El,i,t),o){case"forwards":for(a=t.child,o=null;a!==null;)e=a.alternate,e!==null&&gu(e)===null&&(o=a),a=a.sibling;a=o,a===null?(o=t.child,t.child=null):(o=a.sibling,a.sibling=null),kr(t,!1,o,a,f);break;case"backwards":for(a=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&gu(e)===null){t.child=o;break}e=o.sibling,o.sibling=a,a=o,o=e}kr(t,!0,a,null,f);break;case"together":kr(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function xn(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),Qa=-1,ef|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(ml(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,a=yn(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=yn(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function $r(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Fu(e)))}function Xg(e,t,a){switch(t.tag){case 3:rt(t,t.stateNode.containerInfo),Wu(t,Tl,e.memoizedState.cache),Ii();break;case 27:case 5:k(t);break;case 4:rt(t,t.stateNode.containerInfo);break;case 10:Wu(t,t.type,t.memoizedProps.value);break;case 12:(a&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var i=t.stateNode;i.effectDuration=-0,i.passiveEffectDuration=-0;break;case 13:if(i=t.memoizedState,i!==null)return i.dehydrated!==null?(sa(t),t.flags|=128,null):(a&t.child.childLanes)!==0?l0(e,t,a):(sa(t),e=xn(e,t,a),e!==null?e.sibling:null);sa(t);break;case 19:var o=(e.flags&128)!==0;if(i=(a&t.childLanes)!==0,i||(ml(e,t,a,!1),i=(a&t.childLanes)!==0),o){if(i)return Am(e,t,a);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),te(El,El.current,t),i)break;return null;case 22:case 23:return t.lanes=0,Qr(e,t,a);case 24:Wu(t,Tl,e.memoizedState.cache)}return xn(e,t,a)}function Wr(e,t,a){if(t._debugNeedsRemount&&e!==null){a=pr(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),a._debugStack=t._debugStack,a._debugTask=t._debugTask;var i=t.return;if(i===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,a.index=t.index,a.sibling=t.sibling,a.return=t.return,a.ref=t.ref,a._debugInfo=t._debugInfo,t===i.child)i.child=a;else{var o=i.child;if(o===null)throw Error("Expected parent to have a child.");for(;o.sibling!==t;)if(o=o.sibling,o===null)throw Error("Expected to find the previous sibling.");o.sibling=a}return t=i.deletions,t===null?(i.deletions=[e],i.flags|=16):t.push(e),a.flags|=2,a}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)Ml=!0;else{if(!$r(e,a)&&(t.flags&128)===0)return Ml=!1,Xg(e,t,a);Ml=(e.flags&131072)!==0}else Ml=!1,(i=st)&&(Ka(),i=(t.flags&1048576)!==0),i&&(i=t.index,Ka(),kp(t,V0,i));switch(t.lanes=0,t.tag){case 16:e:if(i=t.pendingProps,e=Io(t.elementType),t.type=e,typeof e=="function")Jh(e)?(i=oi(e,i),t.tag=1,t.type=e=$i(e),t=Tm(null,t,e,i,a)):(t.tag=0,Lr(t,e),t.type=e=$i(e),t=Xr(null,t,e,i,a));else{if(e!=null){if(o=e.$$typeof,o===Ru){t.tag=11,t.type=e=Kh(e),t=Gr(null,t,e,i,a);break e}else if(o===Ts){t.tag=14,t=Dn(null,t,e,i,a);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===ya&&(t=" Did you wrap a component in React.lazy() more than once?"),e=ye(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+e+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return Xr(e,t,t.type,t.pendingProps,a);case 1:return i=t.type,o=oi(i,t.pendingProps),Tm(e,t,i,o,a);case 3:e:{if(rt(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");i=t.pendingProps;var f=t.memoizedState;o=f.element,ei(e,t),no(t,i,null,a);var d=t.memoizedState;if(i=d.cache,Wu(t,Tl,i),i!==f.cache&&lm(t,[Tl],a,!0),Sn(),i=d.element,f.isDehydrated)if(f={element:i,isDehydrated:!1,cache:d.cache},t.updateQueue.baseState=f,t.memoizedState=f,t.flags&256){t=_m(e,t,i,a);break e}else if(i!==o){o=oa(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),to(o),t=_m(e,t,i,a);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Kt=vl(e.firstChild),va=t,st=!0,Bs=null,Nc=!1,$n=null,xi=!0,e=_1(t,null,i,a),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(Ii(),i===o){t=xn(e,t,a);break e}qt(e,t,i,a)}t=t.child}return t;case 26:return $f(e,t),e===null?(e=Au(t.type,null,t.pendingProps,null))?t.memoizedState=e:st||(e=t.type,a=t.pendingProps,i=Fe(Vn.current),i=Pe(i).createElement(e),i[Ol]=t,i[aa]=a,wt(i,e,a),al(i),t.stateNode=i):t.memoizedState=Au(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return k(t),e===null&&st&&(i=Fe(Vn.current),o=A(),i=t.stateNode=fy(t.type,t.pendingProps,i,o,!1),Nc||(o=_t(i,t.type,t.pendingProps,o),o!==null&&(Ja(t,0).serverProps=o)),va=t,xi=!0,o=Kt,wn(t.type)?(Wv=o,Kt=vl(i.firstChild)):Kt=o),qt(e,t,t.pendingProps.children,a),$f(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&st&&(f=A(),i=cr(t.type,f.ancestorInfo),o=Kt,(d=!o)||(d=yi(o,t.type,t.pendingProps,xi),d!==null?(t.stateNode=d,Nc||(f=_t(d,t.type,t.pendingProps,f),f!==null&&(Ja(t,0).serverProps=f)),va=t,Kt=vl(d.firstChild),xi=!1,f=!0):f=!1,d=!f),d&&(i&&Wh(t,o),pn(t))),k(t),o=t.type,f=t.pendingProps,d=e!==null?e.memoizedProps:null,i=f.children,Yn(o,f)?i=null:d!==null&&Yn(o,d)&&(t.flags|=32),t.memoizedState!==null&&(o=ai(e,t,xa,null,null,a),gp._currentValue=o),$f(e,t),qt(e,t,i,a),t.child;case 6:return e===null&&st&&(e=t.pendingProps,a=A(),i=a.ancestorInfo.current,e=i!=null?Tf(e,i.tag,a.ancestorInfo.implicitRootScope):!0,a=Kt,(i=!a)||(i=gl(a,t.pendingProps,xi),i!==null?(t.stateNode=i,va=t,Kt=null,i=!0):i=!1,i=!i),i&&(e&&Wh(t,a),pn(t))),null;case 13:return l0(e,t,a);case 4:return rt(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=oh(t,null,i,a):qt(e,t,i,a),t.child;case 11:return Gr(e,t,t.type,t.pendingProps,a);case 7:return qt(e,t,t.pendingProps,a),t.child;case 8:return qt(e,t,t.pendingProps.children,a),t.child;case 12:return t.flags|=4,t.flags|=2048,i=t.stateNode,i.effectDuration=-0,i.passiveEffectDuration=-0,qt(e,t,t.pendingProps.children,a),t.child;case 10:return i=t.type,o=t.pendingProps,f=o.value,"value"in o||Q1||(Q1=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Wu(t,i,f),qt(e,t,o.children,a),t.child;case 9:return o=t.type._context,i=t.pendingProps.children,typeof i!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Iu(t),o=At(o),ll(t),i=Sv(i,o,void 0),Zt(),t.flags|=1,qt(e,t,i,a),t.child;case 14:return Dn(e,t,t.type,t.pendingProps,a);case 15:return kf(e,t,t.type,t.pendingProps,a);case 19:return Am(e,t,a);case 31:return i=t.pendingProps,a=t.mode,i={mode:i.mode,children:i.children},e===null?(e=Ff(i,a),e.ref=t.ref,t.child=e,e.return=t,t=e):(e=yn(e.child,i),e.ref=t.ref,t.child=e,e.return=t,t=e),t;case 22:return Qr(e,t,a);case 24:return Iu(t),i=At(Tl),e===null?(o=um(),o===null&&(o=Rt,f=Uf(),o.pooledCache=f,Pi(f),f!==null&&(o.pooledCacheLanes|=a),o=f),t.memoizedState={parent:i,cache:o},Kl(t),Wu(t,Tl,o)):((e.lanes&a)!==0&&(ei(e,t),no(t,null,null,a),Sn()),o=e.memoizedState,f=t.memoizedState,o.parent!==i?(o={parent:i,cache:i},t.memoizedState=o,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=o),Wu(t,Tl,i)):(i=f.cache,Wu(t,Tl,i),i!==o.cache&&lm(t,[Tl],a,!0))),qt(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Wl(e){e.flags|=4}function If(e,t){if(t.type!=="stylesheet"||(t.state.loading&eu)!==Ws)e.flags&=-16777217;else if(e.flags|=16777216,!ds(t)){if(t=Pn.current,t!==null&&((tt&4194048)===tt?Mi!==null:(tt&62914560)!==tt&&(tt&536870912)===0||t!==Mi))throw Iy=hv,Wb;e.flags|=8192}}function Pf(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?df():536870912,e.lanes|=t,Zs|=t)}function fi(e,t){if(!st)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var i=null;a!==null;)a.alternate!==null&&(i=a),a=a.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function vt(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,i=0;if(t)if((e.mode&Vl)!==Ot){for(var o=e.selfBaseDuration,f=e.child;f!==null;)a|=f.lanes|f.childLanes,i|=f.subtreeFlags&65011712,i|=f.flags&65011712,o+=f.treeBaseDuration,f=f.sibling;e.treeBaseDuration=o}else for(o=e.child;o!==null;)a|=o.lanes|o.childLanes,i|=o.subtreeFlags&65011712,i|=o.flags&65011712,o.return=e,o=o.sibling;else if((e.mode&Vl)!==Ot){o=e.actualDuration,f=e.selfBaseDuration;for(var d=e.child;d!==null;)a|=d.lanes|d.childLanes,i|=d.subtreeFlags,i|=d.flags,o+=d.actualDuration,f+=d.treeBaseDuration,d=d.sibling;e.actualDuration=o,e.treeBaseDuration=f}else for(o=e.child;o!==null;)a|=o.lanes|o.childLanes,i|=o.subtreeFlags,i|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=i,e.childLanes=a,t}function a0(e,t,a){var i=t.pendingProps;switch(vr(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return vt(t),null;case 1:return vt(t),null;case 3:return a=t.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),su(Tl,t),mt(t),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Fi(t)?(em(),Wl(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Ph())),vt(t),null;case 26:return a=t.memoizedState,e===null?(Wl(t),a!==null?(vt(t),If(t,a)):(vt(t),t.flags&=-16777217)):a?a!==e.memoizedState?(Wl(t),vt(t),If(t,a)):(vt(t),t.flags&=-16777217):(e.memoizedProps!==i&&Wl(t),vt(t),t.flags&=-16777217),null;case 27:I(t),a=Fe(Vn.current);var o=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Wl(t);else{if(!i){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return vt(t),null}e=A(),Fi(t)?Fh(t):(e=fy(o,i,a,e,!0),t.stateNode=e,Wl(t))}return vt(t),null;case 5:if(I(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Wl(t);else{if(!i){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return vt(t),null}if(o=A(),Fi(t))Fh(t);else{switch(e=Fe(Vn.current),cr(a,o.ancestorInfo),o=o.context,e=Pe(e),o){case Sh:e=e.createElementNS(ko,a);break;case mg:e=e.createElementNS(Cs,a);break;default:switch(a){case"svg":e=e.createElementNS(ko,a);break;case"math":e=e.createElementNS(Cs,a);break;case"script":e=e.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof i.is=="string"?e.createElement("select",{is:i.is}):e.createElement("select"),i.multiple?e.multiple=!0:i.size&&(e.size=i.size);break;default:e=typeof i.is=="string"?e.createElement(a,{is:i.is}):e.createElement(a),a.indexOf("-")===-1&&(a!==a.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",a),Object.prototype.toString.call(e)!=="[object HTMLUnknownElement]"||Du.call(uS,a)||(uS[a]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",a)))}}e[Ol]=t,e[aa]=i;e:for(o=t.child;o!==null;){if(o.tag===5||o.tag===6)e.appendChild(o.stateNode);else if(o.tag!==4&&o.tag!==27&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break e;for(;o.sibling===null;){if(o.return===null||o.return===t)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}t.stateNode=e;e:switch(wt(e,a,i),a){case"button":case"input":case"select":case"textarea":e=!!i.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Wl(t)}}return vt(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&Wl(t);else{if(typeof i!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=Fe(Vn.current),a=A(),Fi(t)){e=t.stateNode,a=t.memoizedProps,o=!Nc,i=null;var f=va;if(f!==null)switch(f.tag){case 3:o&&(o=_d(e,a,i),o!==null&&(Ja(t,0).serverProps=o));break;case 27:case 5:i=f.memoizedProps,o&&(o=_d(e,a,i),o!==null&&(Ja(t,0).serverProps=o))}e[Ol]=t,e=!!(e.nodeValue===a||i!==null&&i.suppressHydrationWarning===!0||Pm(e.nodeValue,a)),e||pn(t)}else o=a.ancestorInfo.current,o!=null&&Tf(i,o.tag,a.ancestorInfo.implicitRootScope),e=Pe(e).createTextNode(i),e[Ol]=t,t.stateNode=e}return vt(t),null;case 13:if(i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=Fi(t),i!==null&&i.dehydrated!==null){if(e===null){if(!o)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");o[Ol]=t,vt(t),(t.mode&Vl)!==Ot&&i!==null&&(o=t.child,o!==null&&(t.treeBaseDuration-=o.treeBaseDuration))}else em(),Ii(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4,vt(t),(t.mode&Vl)!==Ot&&i!==null&&(o=t.child,o!==null&&(t.treeBaseDuration-=o.treeBaseDuration));o=!1}else o=Ph(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return t.flags&256?(ra(t),t):(ra(t),null)}return ra(t),(t.flags&128)!==0?(t.lanes=a,(t.mode&Vl)!==Ot&&vn(t),t):(a=i!==null,e=e!==null&&e.memoizedState!==null,a&&(i=t.child,o=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(o=i.alternate.memoizedState.cachePool.pool),f=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(f=i.memoizedState.cachePool.pool),f!==o&&(i.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),Pf(t,t.updateQueue),vt(t),(t.mode&Vl)!==Ot&&a&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return mt(t),e===null&&Fm(t.stateNode.containerInfo),vt(t),null;case 10:return su(t.type,t),vt(t),null;case 19:if(_e(El,t),o=t.memoizedState,o===null)return vt(t),null;if(i=(t.flags&128)!==0,f=o.rendering,f===null)if(i)fi(o,!1);else{if(Jt!==wc||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(f=gu(e),f!==null){for(t.flags|=128,fi(o,!1),e=f.updateQueue,t.updateQueue=e,Pf(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)kh(a,e),a=a.sibling;return te(El,El.current&fh|lp,t),t.child}e=e.sibling}o.tail!==null&&Xn()>lg&&(t.flags|=128,i=!0,fi(o,!1),t.lanes=4194304)}else{if(!i)if(e=gu(f),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,Pf(t,e),fi(o,!0),o.tail===null&&o.tailMode==="hidden"&&!f.alternate&&!st)return vt(t),null}else 2*Xn()-o.renderingStartTime>lg&&a!==536870912&&(t.flags|=128,i=!0,fi(o,!1),t.lanes=4194304);o.isBackwards?(f.sibling=t.child,t.child=f):(e=o.last,e!==null?e.sibling=f:t.child=f,o.last=f)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=Xn(),e.sibling=null,a=El.current,a=i?a&fh|lp:a&fh,te(El,a,t),e):(vt(t),null);case 22:case 23:return ra(t),Fa(t),i=t.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?(a&536870912)!==0&&(t.flags&128)===0&&(vt(t),t.subtreeFlags&6&&(t.flags|=8192)):vt(t),a=t.updateQueue,a!==null&&Pf(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),i=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),i!==a&&(t.flags|=2048),e!==null&&_e(ws,t),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),su(Tl,t),vt(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function n0(e,t){switch(vr(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Vl)!==Ot&&vn(t),t):null;case 3:return su(Tl,t),mt(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return I(t),null;case 13:if(ra(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Ii()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Vl)!==Ot&&vn(t),t):null;case 19:return _e(El,t),null;case 4:return mt(t),null;case 10:return su(t.type,t),null;case 22:case 23:return ra(t),Fa(t),e!==null&&_e(ws,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Vl)!==Ot&&vn(t),t):null;case 24:return su(Tl,t),null;case 25:return null;default:return null}}function Rm(e,t){switch(vr(t),t.tag){case 3:su(Tl,t),mt(t);break;case 26:case 27:case 5:I(t);break;case 4:mt(t);break;case 13:ra(t);break;case 19:_e(El,t);break;case 10:su(t.type,t);break;case 22:case 23:ra(t),Fa(t),e!==null&&_e(ws,t);break;case 24:su(Tl,t)}}function tn(e){return(e.mode&Vl)!==Ot}function zm(e,t){tn(e)?($a(),oc(t,e),Ra()):oc(t,e)}function Fr(e,t,a){tn(e)?($a(),fc(a,e,t),Ra()):fc(a,e,t)}function oc(e,t){try{var a=t.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var o=i.next;a=o;do{if((a.tag&e)===e&&((e&_l)!==Wn?ne!==null&&typeof ne.markComponentPassiveEffectMountStarted=="function"&&ne.markComponentPassiveEffectMountStarted(t):(e&Xl)!==Wn&&ne!==null&&typeof ne.markComponentLayoutEffectMountStarted=="function"&&ne.markComponentLayoutEffectMountStarted(t),i=void 0,(e&ba)!==Wn&&(vh=!0),i=re(t,t2,a),(e&ba)!==Wn&&(vh=!1),(e&_l)!==Wn?ne!==null&&typeof ne.markComponentPassiveEffectMountStopped=="function"&&ne.markComponentPassiveEffectMountStopped():(e&Xl)!==Wn&&ne!==null&&typeof ne.markComponentLayoutEffectMountStopped=="function"&&ne.markComponentLayoutEffectMountStopped(),i!==void 0&&typeof i!="function")){var f=void 0;f=(a.tag&Xl)!==0?"useLayoutEffect":(a.tag&ba)!==0?"useInsertionEffect":"useEffect";var d=void 0;d=i===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof i.then=="function"?`
|
|
161
|
-
|
|
162
|
-
It looks like you wrote `+f+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
163
|
-
|
|
164
|
-
`+f+`(() => {
|
|
165
|
-
async function fetchData() {
|
|
166
|
-
// You can await here
|
|
167
|
-
const response = await MyAPI.getData(someId);
|
|
168
|
-
// ...
|
|
169
|
-
}
|
|
170
|
-
fetchData();
|
|
171
|
-
}, [someId]); // Or [] if effect doesn't need props or state
|
|
172
|
-
|
|
173
|
-
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+i,re(t,function(m,g){console.error("%s must not return anything besides a function, which is used for clean-up.%s",m,g)},f,d)}a=a.next}while(a!==o)}}catch(m){ze(t,t.return,m)}}function fc(e,t,a){try{var i=t.updateQueue,o=i!==null?i.lastEffect:null;if(o!==null){var f=o.next;i=f;do{if((i.tag&e)===e){var d=i.inst,m=d.destroy;m!==void 0&&(d.destroy=void 0,(e&_l)!==Wn?ne!==null&&typeof ne.markComponentPassiveEffectUnmountStarted=="function"&&ne.markComponentPassiveEffectUnmountStarted(t):(e&Xl)!==Wn&&ne!==null&&typeof ne.markComponentLayoutEffectUnmountStarted=="function"&&ne.markComponentLayoutEffectUnmountStarted(t),(e&ba)!==Wn&&(vh=!0),o=t,re(o,l2,o,a,m),(e&ba)!==Wn&&(vh=!1),(e&_l)!==Wn?ne!==null&&typeof ne.markComponentPassiveEffectUnmountStopped=="function"&&ne.markComponentPassiveEffectUnmountStopped():(e&Xl)!==Wn&&ne!==null&&typeof ne.markComponentLayoutEffectUnmountStopped=="function"&&ne.markComponentLayoutEffectUnmountStopped())}i=i.next}while(i!==f)}}catch(g){ze(t,t.return,g)}}function Dm(e,t){tn(e)?($a(),oc(t,e),Ra()):oc(t,e)}function es(e,t,a){tn(e)?($a(),fc(a,e,t),Ra()):fc(a,e,t)}function xm(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||rh||(a.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",W(e)||"instance"),a.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",W(e)||"instance"));try{re(e,Ip,t,a)}catch(i){ze(e,e.return,i)}}}function u0(e,t,a){return e.getSnapshotBeforeUpdate(t,a)}function Lg(e,t){var a=t.memoizedProps,i=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||rh||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",W(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",W(e)||"instance"));try{var o=oi(e.type,a,e.elementType===e.type),f=re(e,u0,t,o,i);a=V1,f!==void 0||a.has(e.type)||(a.add(e.type),re(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",W(e))})),t.__reactInternalSnapshotBeforeUpdate=f}catch(d){ze(e,e.return,d)}}function Ir(e,t,a){a.props=oi(e.type,e.memoizedProps),a.state=e.memoizedState,tn(e)?($a(),re(e,m1,e,t,a),Ra()):re(e,m1,e,t,a)}function i0(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}if(typeof t=="function")if(tn(e))try{$a(),e.refCleanup=t(a)}finally{Ra()}else e.refCleanup=t(a);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",W(e)),t.current=a}}function bo(e,t){try{re(e,i0,e)}catch(a){ze(e,t,a)}}function Ha(e,t){var a=e.ref,i=e.refCleanup;if(a!==null)if(typeof i=="function")try{if(tn(e))try{$a(),re(e,i)}finally{Ra(e)}else re(e,i)}catch(o){ze(e,t,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{if(tn(e))try{$a(),re(e,a,null)}finally{Ra(e)}else re(e,a,null)}catch(o){ze(e,t,o)}else a.current=null}function Om(e,t,a,i){var o=e.memoizedProps,f=o.id,d=o.onCommit;o=o.onRender,t=t===null?"mount":"update",Z0&&(t="nested-update"),typeof o=="function"&&o(f,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,a),typeof d=="function"&&d(e.memoizedProps.id,t,i,a)}function c0(e,t,a,i){var o=e.memoizedProps;e=o.id,o=o.onPostCommit,t=t===null?"mount":"update",Z0&&(t="nested-update"),typeof o=="function"&&o(e,t,i,a)}function o0(e){var t=e.type,a=e.memoizedProps,i=e.stateNode;try{re(e,_u,i,t,a,e)}catch(o){ze(e,e.return,o)}}function Mm(e,t,a){try{re(e,Gt,e.stateNode,e.type,a,t,e)}catch(i){ze(e,e.return,i)}}function Um(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&wn(e.type)||e.tag===4}function sc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Um(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&wn(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ts(e,t,a){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=Tu));else if(i!==4&&(i===27&&wn(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(ts(e,t,a),e=e.sibling;e!==null;)ts(e,t,a),e=e.sibling}function rc(e,t,a){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(i!==4&&(i===27&&wn(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(rc(e,t,a),e=e.sibling;e!==null;)rc(e,t,a),e=e.sibling}function f0(e){for(var t,a=e.return;a!==null;){if(Um(a)){t=a;break}a=a.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,a=sc(e),rc(e,a,t);break;case 5:a=t.stateNode,t.flags&32&&(Eu(a),t.flags&=-33),t=sc(e),rc(e,t,a);break;case 3:case 4:t=t.stateNode.containerInfo,a=sc(e),ts(e,a,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Cm(e){var t=e.stateNode,a=e.memoizedProps;try{re(e,ma,e.type,a,t,e)}catch(i){ze(e,e.return,i)}}function Pr(e,t){if(e=e.containerInfo,Jv=vg,e=Lp(e),Zh(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var i=a.getSelection&&a.getSelection();if(i&&i.rangeCount!==0){a=i.anchorNode;var o=i.anchorOffset,f=i.focusNode;i=i.focusOffset;try{a.nodeType,f.nodeType}catch{a=null;break e}var d=0,m=-1,g=-1,v=0,B=0,Q=e,H=null;t:for(;;){for(var X;Q!==a||o!==0&&Q.nodeType!==3||(m=d+o),Q!==f||i!==0&&Q.nodeType!==3||(g=d+i),Q.nodeType===3&&(d+=Q.nodeValue.length),(X=Q.firstChild)!==null;)H=Q,Q=X;for(;;){if(Q===e)break t;if(H===a&&++v===o&&(m=d),H===f&&++B===i&&(g=d),(X=Q.nextSibling)!==null)break;Q=H,H=Q.parentNode}Q=X}a=m===-1||g===-1?null:{start:m,end:g}}else a=null}a=a||{start:0,end:0}}else a=null;for(kv={focusedElem:e,selectionRange:a},vg=!1,Ul=t;Ul!==null;)if(t=Ul,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,Ul=e;else for(;Ul!==null;){switch(e=t=Ul,a=e.alternate,o=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:(o&1024)!==0&&a!==null&&Lg(e,a);break;case 3:if((o&1024)!==0){if(e=e.stateNode.containerInfo,a=e.nodeType,a===9)Mo(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Mo(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((o&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=t.sibling,e!==null){e.return=t.return,Ul=e;break}Ul=t.return}}function Hm(e,t,a){var i=a.flags;switch(a.tag){case 0:case 11:case 15:On(e,a),i&4&&zm(a,Xl|Fn);break;case 1:if(On(e,a),i&4)if(e=a.stateNode,t===null)a.type.defaultProps||"ref"in a.memoizedProps||rh||(e.props!==a.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",W(a)||"instance"),e.state!==a.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",W(a)||"instance")),tn(a)?($a(),re(a,Tv,a,e),Ra()):re(a,Tv,a,e);else{var o=oi(a.type,t.memoizedProps);t=t.memoizedState,a.type.defaultProps||"ref"in a.memoizedProps||rh||(e.props!==a.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",W(a)||"instance"),e.state!==a.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",W(a)||"instance")),tn(a)?($a(),re(a,r1,a,e,o,t,e.__reactInternalSnapshotBeforeUpdate),Ra()):re(a,r1,a,e,o,t,e.__reactInternalSnapshotBeforeUpdate)}i&64&&xm(a),i&512&&bo(a,a.return);break;case 3:if(t=ka(),On(e,a),i&64&&(i=a.updateQueue,i!==null)){if(o=null,a.child!==null)switch(a.child.tag){case 27:case 5:o=a.child.stateNode;break;case 1:o=a.child.stateNode}try{re(a,Ip,i,o)}catch(d){ze(a,a.return,d)}}e.effectDuration+=Pu(t);break;case 27:t===null&&i&4&&Cm(a);case 26:case 5:On(e,a),t===null&&i&4&&o0(a),i&512&&bo(a,a.return);break;case 12:if(i&4){i=ka(),On(e,a),e=a.stateNode,e.effectDuration+=ec(i);try{re(a,Om,a,t,L0,e.effectDuration)}catch(d){ze(a,a.return,d)}}else On(e,a);break;case 13:On(e,a),i&4&&So(e,a),i&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=fs.bind(null,a),Uo(e,a))));break;case 22:if(i=a.memoizedState!==null||Yc,!i){t=t!==null&&t.memoizedState!==null||el,o=Yc;var f=el;Yc=i,(el=t)&&!f?Mn(e,a,(a.subtreeFlags&8772)!==0):On(e,a),Yc=o,el=f}break;case 30:break;default:On(e,a)}}function Nm(e){var t=e.alternate;t!==null&&(e.alternate=null,Nm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Jc(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function vu(e,t,a){for(a=a.child;a!==null;)dc(e,t,a),a=a.sibling}function dc(e,t,a){if(bl&&typeof bl.onCommitFiberUnmount=="function")try{bl.onCommitFiberUnmount(_i,a)}catch(f){la||(la=!0,console.error("React instrumentation encountered an error: %s",f))}switch(a.tag){case 26:el||Ha(a,t),vu(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:el||Ha(a,t);var i=rl,o=Va;wn(a.type)&&(rl=a.stateNode,Va=!1),vu(e,t,a),re(a,Ho,a.stateNode),rl=i,Va=o;break;case 5:el||Ha(a,t);case 6:if(i=rl,o=Va,rl=null,vu(e,t,a),rl=i,Va=o,rl!==null)if(Va)try{re(a,xo,rl,a.stateNode)}catch(f){ze(a,t,f)}else try{re(a,ja,rl,a.stateNode)}catch(f){ze(a,t,f)}break;case 18:rl!==null&&(Va?(e=rl,Oo(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),Rc(e)):Oo(rl,a.stateNode));break;case 4:i=rl,o=Va,rl=a.stateNode.containerInfo,Va=!0,vu(e,t,a),rl=i,Va=o;break;case 0:case 11:case 14:case 15:el||fc(ba,a,t),el||Fr(a,t,Xl),vu(e,t,a);break;case 1:el||(Ha(a,t),i=a.stateNode,typeof i.componentWillUnmount=="function"&&Ir(a,t,i)),vu(e,t,a);break;case 21:vu(e,t,a);break;case 22:el=(i=el)||a.memoizedState!==null,vu(e,t,a),el=i;break;default:vu(e,t,a)}}function So(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{re(t,ha,e)}catch(a){ze(t,t.return,a)}}function ed(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new X1),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new X1),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function hc(e,t){var a=ed(e);t.forEach(function(i){var o=hi.bind(null,e,i);if(!a.has(i)){if(a.add(i),Vt)if(dh!==null&&hh!==null)zo(hh,dh);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");i.then(o,o)}})}function zl(e,t){var a=t.deletions;if(a!==null)for(var i=0;i<a.length;i++){var o=e,f=t,d=a[i],m=f;e:for(;m!==null;){switch(m.tag){case 27:if(wn(m.type)){rl=m.stateNode,Va=!1;break e}break;case 5:rl=m.stateNode,Va=!1;break e;case 3:case 4:rl=m.stateNode.containerInfo,Va=!0;break e}m=m.return}if(rl===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");dc(o,f,d),rl=null,Va=!1,o=d,f=o.alternate,f!==null&&(f.return=null),o.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)Bm(t,e),t=t.sibling}function Bm(e,t){var a=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:zl(t,e),Fl(e),i&4&&(fc(ba|Fn,e,e.return),oc(ba|Fn,e),Fr(e,e.return,Xl|Fn));break;case 1:zl(t,e),Fl(e),i&512&&(el||a===null||Ha(a,a.return)),i&64&&Yc&&(e=e.updateQueue,e!==null&&(i=e.callbacks,i!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?i:a.concat(i))));break;case 26:var o=Bu;if(zl(t,e),Fl(e),i&512&&(el||a===null||Ha(a,a.return)),i&4)if(t=a!==null?a.memoizedState:null,i=e.memoizedState,a===null)if(i===null)if(e.stateNode===null){e:{i=e.type,a=e.memoizedProps,t=o.ownerDocument||o;t:switch(i){case"title":o=t.getElementsByTagName("title")[0],(!o||o[Zo]||o[Ol]||o.namespaceURI===ko||o.hasAttribute("itemprop"))&&(o=t.createElement(i),t.head.insertBefore(o,t.querySelector("head > title"))),wt(o,i,a),o[Ol]=e,al(o),i=o;break e;case"link":var f=hy("link","href",t).get(i+(a.href||""));if(f){for(var d=0;d<f.length;d++)if(o=f[d],o.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&o.getAttribute("rel")===(a.rel==null?null:a.rel)&&o.getAttribute("title")===(a.title==null?null:a.title)&&o.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){f.splice(d,1);break t}}o=t.createElement(i),wt(o,i,a),t.head.appendChild(o);break;case"meta":if(f=hy("meta","content",t).get(i+(a.content||""))){for(d=0;d<f.length;d++)if(o=f[d],ee(a.content,"content"),o.getAttribute("content")===(a.content==null?null:""+a.content)&&o.getAttribute("name")===(a.name==null?null:a.name)&&o.getAttribute("property")===(a.property==null?null:a.property)&&o.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&o.getAttribute("charset")===(a.charSet==null?null:a.charSet)){f.splice(d,1);break t}}o=t.createElement(i),wt(o,i,a),t.head.appendChild(o);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+i+'". This is a bug in React.')}o[Ol]=e,al(o),i=o}e.stateNode=i}else my(o,e.type,e.stateNode);else e.stateNode=Ed(o,i,e.memoizedProps);else t!==i?(t===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):t.count--,i===null?my(o,e.type,e.stateNode):Ed(o,i,e.memoizedProps)):i===null&&e.stateNode!==null&&Mm(e,e.memoizedProps,a.memoizedProps);break;case 27:zl(t,e),Fl(e),i&512&&(el||a===null||Ha(a,a.return)),a!==null&&i&4&&Mm(e,e.memoizedProps,a.memoizedProps);break;case 5:if(zl(t,e),Fl(e),i&512&&(el||a===null||Ha(a,a.return)),e.flags&32){t=e.stateNode;try{re(e,Eu,t)}catch(B){ze(e,e.return,B)}}i&4&&e.stateNode!=null&&(t=e.memoizedProps,Mm(e,t,a!==null?a.memoizedProps:t)),i&1024&&(xv=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(zl(t,e),Fl(e),i&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");i=e.memoizedProps,a=a!==null?a.memoizedProps:i,t=e.stateNode;try{re(e,Tc,t,a,i)}catch(B){ze(e,e.return,B)}}break;case 3:if(o=ka(),yg=null,f=Bu,Bu=rs(t.containerInfo),zl(t,e),Bu=f,Fl(e),i&4&&a!==null&&a.memoizedState.isDehydrated)try{re(e,oy,t.containerInfo)}catch(B){ze(e,e.return,B)}xv&&(xv=!1,mc(e)),t.effectDuration+=Pu(o);break;case 4:i=Bu,Bu=rs(e.stateNode.containerInfo),zl(t,e),Fl(e),Bu=i;break;case 12:i=ka(),zl(t,e),Fl(e),e.stateNode.effectDuration+=ec(i);break;case 13:zl(t,e),Fl(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(Nv=Xn()),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,hc(e,i)));break;case 22:o=e.memoizedState!==null;var m=a!==null&&a.memoizedState!==null,g=Yc,v=el;if(Yc=g||o,el=v||m,zl(t,e),el=v,Yc=g,Fl(e),i&8192)e:for(t=e.stateNode,t._visibility=o?t._visibility&~G0:t._visibility|G0,o&&(a===null||m||Yc||el||Dl(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){m=a=t;try{f=m.stateNode,o?re(m,ea,f):re(m,iy,m.stateNode,m.memoizedProps)}catch(B){ze(m,m.return,B)}}}else if(t.tag===6){if(a===null){m=t;try{d=m.stateNode,o?re(m,uy,d):re(m,Sd,d,m.memoizedProps)}catch(B){ze(m,m.return,B)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}i&4&&(i=e.updateQueue,i!==null&&(a=i.retryQueue,a!==null&&(i.retryQueue=null,hc(e,a))));break;case 19:zl(t,e),Fl(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,hc(e,i)));break;case 30:break;case 21:break;default:zl(t,e),Fl(e)}}function Fl(e){var t=e.flags;if(t&2){try{re(e,f0,e)}catch(a){ze(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function mc(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;mc(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function On(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Hm(e,t.alternate,t),t=t.sibling}function da(e){switch(e.tag){case 0:case 11:case 14:case 15:Fr(e,e.return,Xl),Dl(e);break;case 1:Ha(e,e.return);var t=e.stateNode;typeof t.componentWillUnmount=="function"&&Ir(e,e.return,t),Dl(e);break;case 27:re(e,Ho,e.stateNode);case 26:case 5:Ha(e,e.return),Dl(e);break;case 22:e.memoizedState===null&&Dl(e);break;case 30:Dl(e);break;default:Dl(e)}}function Dl(e){for(e=e.child;e!==null;)da(e),e=e.sibling}function bu(e,t,a,i){var o=a.flags;switch(a.tag){case 0:case 11:case 15:Mn(e,a,i),zm(a,Xl);break;case 1:if(Mn(e,a,i),t=a.stateNode,typeof t.componentDidMount=="function"&&re(a,Tv,a,t),t=a.updateQueue,t!==null){e=a.stateNode;try{re(a,uo,t,e)}catch(f){ze(a,a.return,f)}}i&&o&64&&xm(a),bo(a,a.return);break;case 27:Cm(a);case 26:case 5:Mn(e,a,i),i&&t===null&&o&4&&o0(a),bo(a,a.return);break;case 12:if(i&&o&4){o=ka(),Mn(e,a,i),i=a.stateNode,i.effectDuration+=ec(o);try{re(a,Om,a,t,L0,i.effectDuration)}catch(f){ze(a,a.return,f)}}else Mn(e,a,i);break;case 13:Mn(e,a,i),i&&o&4&&So(e,a);break;case 22:a.memoizedState===null&&Mn(e,a,i),bo(a,a.return);break;case 30:break;default:Mn(e,a,i)}}function Mn(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)bu(e,t.alternate,t,a),t=t.sibling}function Un(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&Pi(e),a!=null&&gn(a))}function ln(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(Pi(t),e!=null&&gn(e))}function bt(e,t,a,i){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)ls(e,t,a,i),t=t.sibling}function ls(e,t,a,i){var o=t.flags;switch(t.tag){case 0:case 11:case 15:bt(e,t,a,i),o&2048&&Dm(t,_l|Fn);break;case 1:bt(e,t,a,i);break;case 3:var f=ka();bt(e,t,a,i),o&2048&&(a=null,t.alternate!==null&&(a=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==a&&(Pi(t),a!=null&&gn(a))),e.passiveEffectDuration+=Pu(f);break;case 12:if(o&2048){o=ka(),bt(e,t,a,i),e=t.stateNode,e.passiveEffectDuration+=ec(o);try{re(t,c0,t,t.alternate,L0,e.passiveEffectDuration)}catch(m){ze(t,t.return,m)}}else bt(e,t,a,i);break;case 13:bt(e,t,a,i);break;case 23:break;case 22:f=t.stateNode;var d=t.alternate;t.memoizedState!==null?f._visibility&Uc?bt(e,t,a,i):To(e,t):f._visibility&Uc?bt(e,t,a,i):(f._visibility|=Uc,si(e,t,a,i,(t.subtreeFlags&10256)!==0)),o&2048&&Un(d,t);break;case 24:bt(e,t,a,i),o&2048&&ln(t.alternate,t);break;default:bt(e,t,a,i)}}function si(e,t,a,i,o){for(o=o&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;)td(e,t,a,i,o),t=t.sibling}function td(e,t,a,i,o){var f=t.flags;switch(t.tag){case 0:case 11:case 15:si(e,t,a,i,o),Dm(t,_l);break;case 23:break;case 22:var d=t.stateNode;t.memoizedState!==null?d._visibility&Uc?si(e,t,a,i,o):To(e,t):(d._visibility|=Uc,si(e,t,a,i,o)),o&&f&2048&&Un(t.alternate,t);break;case 24:si(e,t,a,i,o),o&&f&2048&&ln(t.alternate,t);break;default:si(e,t,a,i,o)}}function To(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,i=t,o=i.flags;switch(i.tag){case 22:To(a,i),o&2048&&Un(i.alternate,i);break;case 24:To(a,i),o&2048&&ln(i.alternate,i);break;default:To(a,i)}t=t.sibling}}function yc(e){if(e.subtreeFlags&ap)for(e=e.child;e!==null;)ri(e),e=e.sibling}function ri(e){switch(e.tag){case 26:yc(e),e.flags&ap&&e.memoizedState!==null&&S0(Bu,e.memoizedState,e.memoizedProps);break;case 5:yc(e);break;case 3:case 4:var t=Bu;Bu=rs(e.stateNode.containerInfo),yc(e),Bu=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=ap,ap=16777216,yc(e),ap=t):yc(e));break;default:yc(e)}}function as(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function _o(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var i=t[a];Ul=i,Ym(i,e)}as(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)jm(e),e=e.sibling}function jm(e){switch(e.tag){case 0:case 11:case 15:_o(e),e.flags&2048&&es(e,e.return,_l|Fn);break;case 3:var t=ka();_o(e),e.stateNode.passiveEffectDuration+=Pu(t);break;case 12:t=ka(),_o(e),e.stateNode.passiveEffectDuration+=ec(t);break;case 22:t=e.stateNode,e.memoizedState!==null&&t._visibility&Uc&&(e.return===null||e.return.tag!==13)?(t._visibility&=~Uc,ns(e)):_o(e);break;default:_o(e)}}function ns(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var i=t[a];Ul=i,Ym(i,e)}as(e)}for(e=e.child;e!==null;)us(e),e=e.sibling}function us(e){switch(e.tag){case 0:case 11:case 15:es(e,e.return,_l),ns(e);break;case 22:var t=e.stateNode;t._visibility&Uc&&(t._visibility&=~Uc,ns(e));break;default:ns(e)}}function Ym(e,t){for(;Ul!==null;){var a=Ul,i=a;switch(i.tag){case 0:case 11:case 15:es(i,t,_l);break;case 23:case 22:i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(i=i.memoizedState.cachePool.pool,i!=null&&Pi(i));break;case 24:gn(i.memoizedState.cache)}if(i=a.child,i!==null)i.return=a,Ul=i;else e:for(a=e;Ul!==null;){i=Ul;var o=i.sibling,f=i.return;if(Nm(i),i===a){Ul=null;break e}if(o!==null){o.return=f,Ul=o;break e}Ul=f}}}function wm(){n2.forEach(function(e){return e()})}function Gm(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||w.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function Il(e){if((gt&Sa)!==cn&&tt!==0)return tt&-tt;var t=w.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),e=Ys,e!==0?e:km()):xp()}function s0(){fn===0&&(fn=(tt&536870912)===0||st?rf():536870912);var e=Pn.current;return e!==null&&(e.flags|=32),fn}function jt(e,t,a){if(vh&&console.error("useInsertionEffect must not schedule updates."),Gv&&(ag=!0),(e===Rt&&(St===Xs||St===Ls)||e.cancelPendingCommit!==null)&&(gc(e,0),Su(e,tt,fn,!1)),qc(e,a),(gt&Sa)!==0&&e===Rt){if(na)switch(t.tag){case 0:case 11:case 15:e=et&&W(et)||"Unknown",I1.has(e)||(I1.add(e),t=W(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:F1||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),F1=!0)}}else Vt&&au(e,t,a),m0(t),e===Rt&&((gt&Sa)===cn&&(tf|=a),Jt===Vs&&Su(e,tt,fn,!1)),Na(e)}function It(e,t,a){if((gt&(Sa|ju))!==cn)throw Error("Should not already be working.");var i=!a&&(t&124)===0&&(t&e.expiredLanes)===0||Ea(e,t),o=i?Vm(e,t):ud(e,t,!0),f=i;do{if(o===wc){ph&&!i&&Su(e,t,0,!1);break}else{if(a=e.current.alternate,f&&!r0(a)){o=ud(e,t,!1),f=!1;continue}if(o===mh){if(f=t,e.errorRecoveryDisabledLanes&f)var d=0;else d=e.pendingLanes&-536870913,d=d!==0?d:d&536870912?536870912:0;if(d!==0){t=d;e:{o=e;var m=d;d=fp;var g=o.current.memoizedState.isDehydrated;if(g&&(gc(o,m).flags|=256),m=ud(o,m,!1),m!==mh){if(Cv&&!g){o.errorRecoveryDisabledLanes|=f,tf|=f,o=Vs;break e}o=Ta,Ta=d,o!==null&&(Ta===null?Ta=o:Ta.push.apply(Ta,o))}o=m}if(f=!1,o!==mh)continue}}if(o===up){gc(e,0),Su(e,t,0,!0);break}e:{switch(i=e,o){case wc:case up:throw Error("Root did not complete. This is a bug in React.");case Vs:if((t&4194048)!==t)break;case eg:Su(i,t,fn,!Po);break e;case mh:Ta=null;break;case Ov:case L1:break;default:throw Error("Unknown root exit status.")}if(w.actQueue!==null)sd(i,a,t,Ta,sp,tg,fn,tf,Zs);else{if((t&62914560)===t&&(f=Nv+q1-Xn(),10<f)){if(Su(i,t,fn,!Po),Cl(i,0,!0)!==0)break e;i.timeoutHandle=iS(cl.bind(null,i,a,Ta,sp,tg,t,fn,tf,Zs,Po,o,o2,Jb,0),f);break e}cl(i,a,Ta,sp,tg,t,fn,tf,Zs,Po,o,i2,Jb,0)}}}break}while(!0);Na(e)}function cl(e,t,a,i,o,f,d,m,g,v,B,Q,H,X){if(e.timeoutHandle=$s,Q=t.subtreeFlags,(Q&8192||(Q&16785408)===16785408)&&(pp={stylesheets:null,count:0,unsuspend:b0},ri(t),Q=T0(),Q!==null)){e.cancelPendingCommit=Q(sd.bind(null,e,t,f,a,i,o,d,m,g,B,c2,H,X)),Su(e,f,d,!v);return}sd(e,t,f,a,i,o,d,m,g)}function r0(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var i=0;i<a.length;i++){var o=a[i],f=o.getSnapshot;o=o.value;try{if(!ga(f(),o))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Su(e,t,a,i){t&=~Hv,t&=~tf,e.suspendedLanes|=t,e.pingedLanes&=~t,i&&(e.warmLanes|=t),i=e.expirationTimes;for(var o=t;0<o;){var f=31-xl(o),d=1<<f;i[f]=-1,o&=~d}a!==0&&Dp(e,a,t)}function pc(){return(gt&(Sa|ju))===cn?(vc(0),!1):!0}function ld(){if(et!==null){if(St===Xa)var e=et.return;else e=et,br(),Ia(e),ch=null,tp=0,e=et;for(;e!==null;)Rm(e.alternate,e),e=e.return;et=null}}function gc(e,t){var a=e.timeoutHandle;a!==$s&&(e.timeoutHandle=$s,T2(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),ld(),Rt=e,et=a=yn(e.current,null),tt=t,St=Xa,on=null,Po=!1,ph=Ea(e,t),Cv=!1,Jt=wc,Zs=fn=Hv=tf=ef=0,Ta=fp=null,tg=!1,(t&8)!==0&&(t|=t&32);var i=e.entangledLanes;if(i!==0)for(e=e.entanglements,i&=t;0<i;){var o=31-xl(i),f=1<<o;t|=e[o],i&=~f}return Ui=t,zf(),t=qb(),1e3<t-Zb&&(w.recentlyCreatedOwnerStacks=0,Zb=t),Hu.discardPendingWarnings(),a}function is(e,t){je=null,w.H=I0,w.getCurrentStack=null,na=!1,pa=null,t===Fy||t===J0?(t=om(),St=cp):t===Wb?(t=om(),St=Z1):St=t===N1?Uv:t!==null&&typeof t=="object"&&typeof t.then=="function"?yh:ip,on=t;var a=et;if(a===null)Jt=up,vo(e,oa(t,e.current));else switch(a.mode&Vl&&ru(a),Zt(),St){case ip:ne!==null&&typeof ne.markComponentErrored=="function"&&ne.markComponentErrored(a,t,tt);break;case Xs:case Ls:case cp:case yh:case op:ne!==null&&typeof ne.markComponentSuspended=="function"&&ne.markComponentSuspended(a,t,tt)}}function ad(){var e=w.H;return w.H=I0,e===null?I0:e}function Qm(){var e=w.A;return w.A=a2,e}function nd(){Jt=Vs,Po||(tt&4194048)!==tt&&Pn.current!==null||(ph=!0),(ef&134217727)===0&&(tf&134217727)===0||Rt===null||Su(Rt,tt,fn,!1)}function ud(e,t,a){var i=gt;gt|=Sa;var o=ad(),f=Qm();if(Rt!==e||tt!==t){if(Vt){var d=e.memoizedUpdaters;0<d.size&&(zo(e,tt),d.clear()),Zl(e,t)}sp=null,gc(e,t)}La(t),t=!1,d=Jt;e:do try{if(St!==Xa&&et!==null){var m=et,g=on;switch(St){case Uv:ld(),d=eg;break e;case cp:case Xs:case Ls:case yh:Pn.current===null&&(t=!0);var v=St;if(St=Xa,on=null,di(e,m,g,v),a&&ph){d=wc;break e}break;default:v=St,St=Xa,on=null,di(e,m,g,v)}}id(),d=Jt;break}catch(B){is(e,B)}while(!0);return t&&e.shellSuspendCounter++,br(),gt=i,w.H=o,w.A=f,wu(),et===null&&(Rt=null,tt=0,zf()),d}function id(){for(;et!==null;)Lm(et)}function Vm(e,t){var a=gt;gt|=Sa;var i=ad(),o=Qm();if(Rt!==e||tt!==t){if(Vt){var f=e.memoizedUpdaters;0<f.size&&(zo(e,tt),f.clear()),Zl(e,t)}sp=null,lg=Xn()+K1,gc(e,t)}else ph=Ea(e,t);La(t);e:do try{if(St!==Xa&&et!==null)t:switch(t=et,f=on,St){case ip:St=Xa,on=null,di(e,t,f,ip);break;case Xs:case Ls:if(cm(f)){St=Xa,on=null,cd(t);break}t=function(){St!==Xs&&St!==Ls||Rt!==e||(St=op),Na(e)},f.then(t,t);break e;case cp:St=op;break e;case Z1:St=Mv;break e;case op:cm(f)?(St=Xa,on=null,cd(t)):(St=Xa,on=null,di(e,t,f,op));break;case Mv:var d=null;switch(et.tag){case 26:d=et.memoizedState;case 5:case 27:var m=et;if(!d||ds(d)){St=Xa,on=null;var g=m.sibling;if(g!==null)et=g;else{var v=m.return;v!==null?(et=v,cs(v)):et=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}St=Xa,on=null,di(e,t,f,Mv);break;case yh:St=Xa,on=null,di(e,t,f,yh);break;case Uv:ld(),Jt=eg;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}w.actQueue!==null?id():Xm();break}catch(B){is(e,B)}while(!0);return br(),w.H=i,w.A=o,gt=a,et!==null?(ne!==null&&typeof ne.markRenderYielded=="function"&&ne.markRenderYielded(),wc):(wu(),Rt=null,tt=0,zf(),Jt)}function Xm(){for(;et!==null&&!x0();)Lm(et)}function Lm(e){var t=e.alternate;(e.mode&Vl)!==Ot?(Sr(e),t=re(e,Wr,t,e,Ui),ru(e)):t=re(e,Wr,t,e,Ui),e.memoizedProps=e.pendingProps,t===null?cs(e):et=t}function cd(e){var t=re(e,od,e);e.memoizedProps=e.pendingProps,t===null?cs(e):et=t}function od(e){var t=e.alternate,a=(e.mode&Vl)!==Ot;switch(a&&Sr(e),e.tag){case 15:case 0:t=Sm(t,e,e.pendingProps,e.type,void 0,tt);break;case 11:t=Sm(t,e,e.pendingProps,e.type.render,e.ref,tt);break;case 5:Ia(e);default:Rm(t,e),e=et=kh(e,Ui),t=Wr(t,e,Ui)}return a&&ru(e),t}function di(e,t,a,i){br(),Ia(t),ch=null,tp=0;var o=t.return;try{if(Jf(e,o,t,a,tt)){Jt=up,vo(e,oa(a,e.current)),et=null;return}}catch(f){if(o!==null)throw et=o,f;Jt=up,vo(e,oa(a,e.current)),et=null;return}t.flags&32768?(st||i===ip?e=!0:ph||(tt&536870912)!==0?e=!1:(Po=e=!0,(i===Xs||i===Ls||i===cp||i===yh)&&(i=Pn.current,i!==null&&i.tag===13&&(i.flags|=16384))),fd(t,e)):cs(t)}function cs(e){var t=e;do{if((t.flags&32768)!==0){fd(t,Po);return}var a=t.alternate;if(e=t.return,Sr(t),a=re(t,a0,a,t,Ui),(t.mode&Vl)!==Ot&&tc(t),a!==null){et=a;return}if(t=t.sibling,t!==null){et=t;return}et=t=e}while(t!==null);Jt===wc&&(Jt=L1)}function fd(e,t){do{var a=n0(e.alternate,e);if(a!==null){a.flags&=32767,et=a;return}if((e.mode&Vl)!==Ot){tc(e),a=e.actualDuration;for(var i=e.child;i!==null;)a+=i.actualDuration,i=i.sibling;e.actualDuration=a}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){et=e;return}et=e=a}while(e!==null);Jt=eg,et=null}function sd(e,t,a,i,o,f,d,m,g){e.cancelPendingCommit=null;do Eo();while(Ll!==qs);if(Hu.flushLegacyContextWarning(),Hu.flushPendingUnsafeLifecycleWarnings(),(gt&(Sa|ju))!==cn)throw Error("Should not already be working.");if(ne!==null&&typeof ne.markCommitStarted=="function"&&ne.markCommitStarted(a),t===null)Tt();else{if(a===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(f=t.lanes|t.childLanes,f|=ov,Hg(e,a,f,d,m,g),e===Rt&&(et=Rt=null,tt=0),gh=t,af=e,nf=a,jv=f,Yv=o,W1=i,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Jm(Vo,function(){return os(),null})):(e.callbackNode=null,e.callbackPriority=0),L0=lh(),i=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||i){i=w.T,w.T=null,o=Ce.p,Ce.p=Sl,d=gt,gt|=ju;try{Pr(e,t,a)}finally{gt=d,Ce.p=o,w.T=i}}Ll=J1,Cn(),rd(),d0()}}function Cn(){if(Ll===J1){Ll=qs;var e=af,t=gh,a=nf,i=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||i){i=w.T,w.T=null;var o=Ce.p;Ce.p=Sl;var f=gt;gt|=ju;try{dh=a,hh=e,Bm(t,e),hh=dh=null,a=kv;var d=Lp(e.containerInfo),m=a.focusedElem,g=a.selectionRange;if(d!==m&&m&&m.ownerDocument&&Xp(m.ownerDocument.documentElement,m)){if(g!==null&&Zh(m)){var v=g.start,B=g.end;if(B===void 0&&(B=v),"selectionStart"in m)m.selectionStart=v,m.selectionEnd=Math.min(B,m.value.length);else{var Q=m.ownerDocument||document,H=Q&&Q.defaultView||window;if(H.getSelection){var X=H.getSelection(),de=m.textContent.length,He=Math.min(g.start,de),zt=g.end===void 0?He:Math.min(g.end,de);!X.extend&&He>zt&&(d=zt,zt=He,He=d);var at=Lh(m,He),T=Lh(m,zt);if(at&&T&&(X.rangeCount!==1||X.anchorNode!==at.node||X.anchorOffset!==at.offset||X.focusNode!==T.node||X.focusOffset!==T.offset)){var _=Q.createRange();_.setStart(at.node,at.offset),X.removeAllRanges(),He>zt?(X.addRange(_),X.extend(T.node,T.offset)):(_.setEnd(T.node,T.offset),X.addRange(_))}}}}for(Q=[],X=m;X=X.parentNode;)X.nodeType===1&&Q.push({element:X,left:X.scrollLeft,top:X.scrollTop});for(typeof m.focus=="function"&&m.focus(),m=0;m<Q.length;m++){var R=Q[m];R.element.scrollLeft=R.left,R.element.scrollTop=R.top}}vg=!!Jv,kv=Jv=null}finally{gt=f,Ce.p=o,w.T=i}}e.current=t,Ll=k1}}function rd(){if(Ll===k1){Ll=qs;var e=af,t=gh,a=nf,i=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||i){i=w.T,w.T=null;var o=Ce.p;Ce.p=Sl;var f=gt;gt|=ju;try{ne!==null&&typeof ne.markLayoutEffectsStarted=="function"&&ne.markLayoutEffectsStarted(a),dh=a,hh=e,Hm(e,t.alternate,t),hh=dh=null,ne!==null&&typeof ne.markLayoutEffectsStopped=="function"&&ne.markLayoutEffectsStopped()}finally{gt=f,Ce.p=o,w.T=i}}Ll=$1}}function d0(){if(Ll===f2||Ll===$1){Ll=qs,Fg();var e=af,t=gh,a=nf,i=W1,o=(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0;o?Ll=Bv:(Ll=qs,gh=af=null,Hn(e,e.pendingLanes),Ks=0,dp=null);var f=e.pendingLanes;if(f===0&&(lf=null),o||Ro(e),o=Uh(a),t=t.stateNode,bl&&typeof bl.onCommitFiberRoot=="function")try{var d=(t.current.flags&128)===128;switch(o){case Sl:var m=Nd;break;case un:m=As;break;case Ou:m=Vo;break;case wd:m=Rs;break;default:m=Vo}bl.onCommitFiberRoot(_i,t,m,d)}catch(Q){la||(la=!0,console.error("React instrumentation encountered an error: %s",Q))}if(Vt&&e.memoizedUpdaters.clear(),wm(),i!==null){d=w.T,m=Ce.p,Ce.p=Sl,w.T=null;try{var g=e.onRecoverableError;for(t=0;t<i.length;t++){var v=i[t],B=h0(v.stack);re(v.source,g,v.value,B)}}finally{w.T=d,Ce.p=m}}(nf&3)!==0&&Eo(),Na(e),f=e.pendingLanes,(a&4194090)!==0&&(f&42)!==0?(q0=!0,e===wv?rp++:(rp=0,wv=e)):rp=0,vc(0),Tt()}}function h0(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function Hn(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,gn(t)))}function Eo(e){return Cn(),rd(),d0(),os()}function os(){if(Ll!==Bv)return!1;var e=af,t=jv;jv=0;var a=Uh(nf),i=Ou>a?Ou:a;a=w.T;var o=Ce.p;try{Ce.p=i,w.T=null,i=Yv,Yv=null;var f=af,d=nf;if(Ll=qs,gh=af=null,nf=0,(gt&(Sa|ju))!==cn)throw Error("Cannot flush passive effects while already rendering.");Gv=!0,ag=!1,ne!==null&&typeof ne.markPassiveEffectsStarted=="function"&&ne.markPassiveEffectsStarted(d);var m=gt;if(gt|=ju,jm(f.current),ls(f,f.current,d,i),ne!==null&&typeof ne.markPassiveEffectsStopped=="function"&&ne.markPassiveEffectsStopped(),Ro(f),gt=m,vc(0,!1),ag?f===dp?Ks++:(Ks=0,dp=f):Ks=0,ag=Gv=!1,bl&&typeof bl.onPostCommitFiberRoot=="function")try{bl.onPostCommitFiberRoot(_i,f)}catch(v){la||(la=!0,console.error("React instrumentation encountered an error: %s",v))}var g=f.current.stateNode;return g.effectDuration=0,g.passiveEffectDuration=0,!0}finally{Ce.p=o,w.T=a,Hn(e,t)}}function Ao(e,t,a){t=oa(a,t),t=Rl(e.stateNode,t,2),e=Wa(e,t,2),e!==null&&(qc(e,2),Na(e))}function ze(e,t,a){if(vh=!1,e.tag===3)Ao(e,e,a);else{for(;t!==null;){if(t.tag===3){Ao(t,e,a);return}if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(lf===null||!lf.has(i))){e=oa(a,e),a=Bt(2),i=Wa(t,a,2),i!==null&&(Kf(a,i,t,e),qc(i,2),Na(i));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
174
|
-
|
|
175
|
-
Error message:
|
|
176
|
-
|
|
177
|
-
%s`,a)}}function Zm(e,t,a){var i=e.pingCache;if(i===null){i=e.pingCache=new u2;var o=new Set;i.set(t,o)}else o=i.get(t),o===void 0&&(o=new Set,i.set(t,o));o.has(a)||(Cv=!0,o.add(a),i=Zg.bind(null,e,t,a),Vt&&zo(e,a),t.then(i,i))}function Zg(e,t,a){var i=e.pingCache;i!==null&&i.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,Gm()&&w.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
178
|
-
|
|
179
|
-
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
180
|
-
|
|
181
|
-
act(() => {
|
|
182
|
-
/* finish loading suspended data */
|
|
183
|
-
});
|
|
184
|
-
/* assert on the output */
|
|
185
|
-
|
|
186
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),Rt===e&&(tt&a)===a&&(Jt===Vs||Jt===Ov&&(tt&62914560)===tt&&Xn()-Nv<q1?(gt&Sa)===cn&&gc(e,0):Hv|=a,Zs===tt&&(Zs=0)),Na(e)}function qm(e,t){t===0&&(t=df()),e=ql(e,t),e!==null&&(qc(e,t),Na(e))}function fs(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),qm(e,a)}function hi(e,t){var a=0;switch(e.tag){case 13:var i=e.stateNode,o=e.memoizedState;o!==null&&(a=o.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}i!==null&&i.delete(t),qm(e,a)}function dd(e,t,a){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var i=e,o=t,f=o.type===jo;f=a||f,o.tag!==22?o.flags&67108864?f&&re(o,Km,i,o,(o.mode&Vb)===Ot):dd(i,o,f):o.memoizedState===null&&(f&&o.flags&8192?re(o,Km,i,o):o.subtreeFlags&67108864&&re(o,dd,i,o,f)),t=t.sibling}}function Km(e,t){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!0;$e(!0);try{da(t),a&&us(t),bu(e,t.alternate,t,!1),a&&td(e,t,0,null,!1,0)}finally{$e(!1)}}function Ro(e){var t=!0;e.current.mode&(ua|Cu)||(t=!1),dd(e,e.current,t)}function an(e){if((gt&Sa)===cn){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=W(e)||"ReactComponent",ng!==null){if(ng.has(t))return;ng.add(t)}else ng=new Set([t]);re(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")})}}}function zo(e,t){Vt&&e.memoizedUpdaters.forEach(function(a){au(e,a,t)})}function Jm(e,t){var a=w.actQueue;return a!==null?(a.push(t),d2):Hd(e,t)}function m0(e){Gm()&&w.actQueue===null&&re(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
187
|
-
|
|
188
|
-
When testing, code that causes React state updates should be wrapped into act(...):
|
|
189
|
-
|
|
190
|
-
act(() => {
|
|
191
|
-
/* fire events that update state */
|
|
192
|
-
});
|
|
193
|
-
/* assert on the output */
|
|
194
|
-
|
|
195
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,W(e))})}function Na(e){e!==bh&&e.next===null&&(bh===null?ug=bh=e:bh=bh.next=e),ig=!0,w.actQueue!==null?Vv||(Vv=!0,Pt()):Qv||(Qv=!0,Pt())}function vc(e,t){if(!Xv&&ig){Xv=!0;do for(var a=!1,i=ug;i!==null;){if(e!==0){var o=i.pendingLanes;if(o===0)var f=0;else{var d=i.suspendedLanes,m=i.pingedLanes;f=(1<<31-xl(42|e)+1)-1,f&=o&~(d&~m),f=f&201326741?f&201326741|1:f?f|2:0}f!==0&&(a=!0,yd(i,f))}else f=tt,f=Cl(i,i===Rt?f:0,i.cancelPendingCommit!==null||i.timeoutHandle!==$s),(f&3)===0||Ea(i,f)||(a=!0,yd(i,f));i=i.next}while(a);Xv=!1}}function hd(){md()}function md(){ig=Vv=Qv=!1;var e=0;Js!==0&&(Do()&&(e=Js),Js=0);for(var t=Xn(),a=null,i=ug;i!==null;){var o=i.next,f=Nn(i,t);f===0?(i.next=null,a===null?ug=o:a.next=o,o===null&&(bh=a)):(a=i,(e!==0||(f&3)!==0)&&(ig=!0)),i=o}vc(e)}function Nn(e,t){for(var a=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,f=e.pendingLanes&-62914561;0<f;){var d=31-xl(f),m=1<<d,g=o[d];g===-1?((m&a)===0||(m&i)!==0)&&(o[d]=rn(m,t)):g<=t&&(e.expiredLanes|=m),f&=~m}if(t=Rt,a=tt,a=Cl(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==$s),i=e.callbackNode,a===0||e===t&&(St===Xs||St===Ls)||e.cancelPendingCommit!==null)return i!==null&&pd(i),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||Ea(e,a)){if(t=a&-a,t!==e.callbackPriority||w.actQueue!==null&&i!==Lv)pd(i);else return t;switch(Uh(a)){case Sl:case un:a=As;break;case Ou:a=Vo;break;case wd:a=Rs;break;default:a=Vo}return i=Yt.bind(null,e),w.actQueue!==null?(w.actQueue.push(i),a=Lv):a=Hd(a,i),e.callbackPriority=t,e.callbackNode=a,t}return i!==null&&pd(i),e.callbackPriority=2,e.callbackNode=null,2}function Yt(e,t){if(q0=Z0=!1,Ll!==qs&&Ll!==Bv)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(Eo()&&e.callbackNode!==a)return null;var i=tt;return i=Cl(e,e===Rt?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==$s),i===0?null:(It(e,i,t),Nn(e,Xn()),e.callbackNode!=null&&e.callbackNode===a?Yt.bind(null,e):null)}function yd(e,t){if(Eo())return null;Z0=q0,q0=!1,It(e,t,!0)}function pd(e){e!==Lv&&e!==null&&Wg(e)}function Pt(){w.actQueue!==null&&w.actQueue.push(function(){return md(),null}),_2(function(){(gt&(Sa|ju))!==cn?Hd(Nd,hd):md()})}function km(){return Js===0&&(Js=rf()),Js}function $m(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(ee(e,"action"),Pc(""+e))}function Wm(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function Dt(e,t,a,i,o){if(t==="submit"&&a&&a.stateNode===o){var f=$m((o[aa]||null).action),d=i.submitter;d&&(t=(t=d[aa]||null)?$m(t.formAction):d.getAttribute("formAction"),t!==null&&(f=t,d=null));var m=new Ae("action","action",null,i,o);e.push({event:m,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(Js!==0){var g=d?Wm(o,d):new FormData(o),v={pending:!0,data:g,method:o.method,action:f};Object.freeze(v),uc(a,v,null,g)}}else typeof f=="function"&&(m.preventDefault(),g=d?Wm(o,d):new FormData(o),v={pending:!0,data:g,method:o.method,action:f},Object.freeze(v),uc(a,v,f,g))},currentTarget:o}]})}}function yl(e,t,a){e.currentTarget=a;try{t(e)}catch(i){Av(i)}e.currentTarget=null}function Bn(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var i=e[a];e:{var o=void 0,f=i.event;if(i=i.listeners,t)for(var d=i.length-1;0<=d;d--){var m=i[d],g=m.instance,v=m.currentTarget;if(m=m.listener,g!==o&&f.isPropagationStopped())break e;g!==null?re(g,yl,f,m,v):yl(f,m,v),o=g}else for(d=0;d<i.length;d++){if(m=i[d],g=m.instance,v=m.currentTarget,m=m.listener,g!==o&&f.isPropagationStopped())break e;g!==null?re(g,yl,f,m,v):yl(f,m,v),o=g}}}}function We(e,t){Zv.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var a=t[Ey];a===void 0&&(a=t[Ey]=new Set);var i=e+"__bubble";a.has(i)||(vd(t,e,2,!1),a.add(i))}function gd(e,t,a){Zv.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var i=0;t&&(i|=4),vd(a,e,i,t)}function Fm(e){if(!e[cg]){e[cg]=!0,M0.forEach(function(a){a!=="selectionchange"&&(Zv.has(a)||gd(a,!1,e),gd(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[cg]||(t[cg]=!0,gd("selectionchange",!1,t))}}function vd(e,t,a,i){switch(Od(t)){case Sl:var o=Jg;break;case un:o=xd;break;default:o=gi}a=o.bind(null,t,a,e),o=void 0,!U||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),i?o!==void 0?e.addEventListener(t,a,{capture:!0,passive:o}):e.addEventListener(t,a,!0):o!==void 0?e.addEventListener(t,a,{passive:o}):e.addEventListener(t,a,!1)}function Yl(e,t,a,i,o){var f=i;if((t&1)===0&&(t&2)===0&&i!==null)e:for(;;){if(i===null)return;var d=i.tag;if(d===3||d===4){var m=i.stateNode.containerInfo;if(m===o)break;if(d===4)for(d=i.return;d!==null;){var g=d.tag;if((g===3||g===4)&&d.stateNode.containerInfo===o)return;d=d.return}for(;m!==null;){if(d=nu(m),d===null)return;if(g=d.tag,g===5||g===6||g===26||g===27){i=f=d;continue e}m=m.parentNode}}i=i.return}fr(function(){var v=f,B=qi(a),Q=[];e:{var H=Qb.get(e);if(H!==void 0){var X=Ae,de=e;switch(e){case"keypress":if(eo(a)===0)break e;case"keydown":case"keyup":X=OT;break;case"focusin":de="focus",X=ut;break;case"focusout":de="blur",X=ut;break;case"beforeblur":case"afterblur":X=ut;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":X=Je;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":X=De;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":X=CT;break;case jb:case Yb:case wb:X=tv;break;case Gb:X=NT;break;case"scroll":case"scrollend":X=x;break;case"wheel":X=jT;break;case"copy":case"cut":case"paste":X=_T;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":X=xb;break;case"toggle":case"beforetoggle":X=wT}var He=(t&4)!==0,zt=!He&&(e==="scroll"||e==="scrollend"),at=He?H!==null?H+"Capture":null:H;He=[];for(var T=v,_;T!==null;){var R=T;if(_=R.stateNode,R=R.tag,R!==5&&R!==26&&R!==27||_===null||at===null||(R=cu(T,at),R!=null&&He.push(wl(T,R,_))),zt)break;T=T.return}0<He.length&&(H=new X(H,de,null,a,B),Q.push({event:H,listeners:He}))}}if((t&7)===0){e:{if(H=e==="mouseover"||e==="pointerover",X=e==="mouseout"||e==="pointerout",H&&a!==s&&(de=a.relatedTarget||a.fromElement)&&(nu(de)||de[Ai]))break e;if((X||H)&&(H=B.window===B?B:(H=B.ownerDocument)?H.defaultView||H.parentWindow:window,X?(de=a.relatedTarget||a.toElement,X=v,de=de?nu(de):null,de!==null&&(zt=Oe(de),He=de.tag,de!==zt||He!==5&&He!==27&&He!==6)&&(de=null)):(X=null,de=v),X!==de)){if(He=Je,R="onMouseLeave",at="onMouseEnter",T="mouse",(e==="pointerout"||e==="pointerover")&&(He=xb,R="onPointerLeave",at="onPointerEnter",T="pointer"),zt=X==null?H:Qu(X),_=de==null?H:Qu(de),H=new He(R,T+"leave",X,a,B),H.target=zt,H.relatedTarget=_,R=null,nu(B)===v&&(He=new He(at,T+"enter",de,a,B),He.target=_,He.relatedTarget=zt,R=He),zt=R,X&&de)t:{for(He=X,at=de,T=0,_=He;_;_=ol(_))T++;for(_=0,R=at;R;R=ol(R))_++;for(;0<T-_;)He=ol(He),T--;for(;0<_-T;)at=ol(at),_--;for(;T--;){if(He===at||at!==null&&He===at.alternate)break t;He=ol(He),at=ol(at)}He=null}else He=null;X!==null&&Im(Q,H,X,He,!1),de!==null&&zt!==null&&Im(Q,zt,de,He,!0)}}e:{if(H=v?Qu(v):window,X=H.nodeName&&H.nodeName.toLowerCase(),X==="select"||X==="input"&&H.type==="file")var L=Vh;else if(wp(H))if(Nb)L=Qg;else{L=Xh;var le=wg}else X=H.nodeName,!X||X.toLowerCase()!=="input"||H.type!=="checkbox"&&H.type!=="radio"?v&&Zi(v.elementType)&&(L=Vh):L=Gg;if(L&&(L=L(e,v))){hr(Q,L,a,B);break e}le&&le(e,H,v),e==="focusout"&&v&&H.type==="number"&&v.memoizedProps.value!=null&&ar(H,"number",H.value)}switch(le=v?Qu(v):window,e){case"focusin":(wp(le)||le.contentEditable==="true")&&(kd=le,av=v,Ly=null);break;case"focusout":Ly=av=kd=null;break;case"mousedown":nv=!0;break;case"contextmenu":case"mouseup":case"dragend":nv=!1,Zp(Q,a,B);break;case"selectionchange":if(XT)break;case"keydown":case"keyup":Zp(Q,a,B)}var Qe;if(lv)e:{switch(e){case"compositionstart":var he="onCompositionStart";break e;case"compositionend":he="onCompositionEnd";break e;case"compositionupdate":he="onCompositionUpdate";break e}he=void 0}else Jd?jl(e,a)&&(he="onCompositionEnd"):e==="keydown"&&a.keyCode===Ob&&(he="onCompositionStart");he&&(Mb&&a.locale!=="ko"&&(Jd||he!=="onCompositionStart"?he==="onCompositionEnd"&&Jd&&(Qe=ou()):($=B,N="value"in $?$.value:$.textContent,Jd=!0)),le=ss(v,he),0<le.length&&(he=new Db(he,e,null,a,B),Q.push({event:he,listeners:le}),Qe?he.data=Qe:(Qe=Ju(a),Qe!==null&&(he.data=Qe)))),(Qe=QT?dr(e,a):Ef(e,a))&&(he=ss(v,"onBeforeInput"),0<he.length&&(le=new AT("onBeforeInput","beforeinput",null,a,B),Q.push({event:le,listeners:he}),le.data=Qe)),Dt(Q,e,v,a,B)}Bn(Q,t)})}function wl(e,t,a){return{instance:e,listener:t,currentTarget:a}}function ss(e,t){for(var a=t+"Capture",i=[];e!==null;){var o=e,f=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||f===null||(o=cu(e,a),o!=null&&i.unshift(wl(e,o,f)),o=cu(e,t),o!=null&&i.push(wl(e,o,f))),e.tag===3)return i;e=e.return}return[]}function ol(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Im(e,t,a,i,o){for(var f=t._reactName,d=[];a!==null&&a!==i;){var m=a,g=m.alternate,v=m.stateNode;if(m=m.tag,g!==null&&g===i)break;m!==5&&m!==26&&m!==27||v===null||(g=v,o?(v=cu(a,f),v!=null&&d.unshift(wl(a,v,g))):o||(v=cu(a,f),v!=null&&d.push(wl(a,v,g)))),a=a.return}d.length!==0&&e.push({event:t,listeners:d})}function jn(e,t){Ic(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||Gy||(Gy=!0,e==="select"&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var a={registrationNameDependencies:Ga,possibleRegistrationNames:Dc};Zi(e)||typeof t.is=="string"||wh(e,t,a),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function xt(e,t,a,i){t!==a&&(a=pl(a),pl(t)!==a&&(i[e]=t))}function mi(e,t,a){t.forEach(function(i){a[ey(i)]=i==="style"?Sc(e):e.getAttribute(i)})}function Ba(e,t){t===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function bd(e,t){return e=e.namespaceURI===Cs||e.namespaceURI===ko?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function pl(e){return Y(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",ve(e)),ae(e)),(typeof e=="string"?e:""+e).replace(h2,`
|
|
196
|
-
`).replace(m2,"")}function Pm(e,t){return t=pl(t),pl(e)===t}function Tu(){}function ot(e,t,a,i,o,f){switch(a){case"children":typeof i=="string"?(Tf(i,t,!1),t==="body"||t==="textarea"&&i===""||Li(e,i)):(typeof i=="number"||typeof i=="bigint")&&(Tf(""+i,t,!1),t!=="body"&&Li(e,""+i));break;case"className":mf(e,"class",i);break;case"tabIndex":mf(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":mf(e,a,i);break;case"style":_f(e,i,f);break;case"data":if(t!=="object"){mf(e,"data",i);break}case"src":case"href":if(i===""&&(t!=="a"||a!=="href")){console.error(a==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',a,a),e.removeAttribute(a);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(a);break}ee(i,a),i=Pc(""+i),e.setAttribute(a,i);break;case"action":case"formAction":if(i!=null&&(t==="form"?a==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof i=="function"&&(o.encType==null&&o.method==null||sg||(sg=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),o.target==null||fg||(fg=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?a==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||o.type==="submit"||o.type==="image"||og?t!=="button"||o.type==null||o.type==="submit"||og?typeof i=="function"&&(o.name==null||tS||(tS=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),o.formEncType==null&&o.formMethod==null||sg||(sg=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),o.formTarget==null||fg||(fg=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(og=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(og=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(a==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof i=="function"){e.setAttribute(a,"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 f=="function"&&(a==="formAction"?(t!=="input"&&ot(e,t,"name",o.name,o,null),ot(e,t,"formEncType",o.formEncType,o,null),ot(e,t,"formMethod",o.formMethod,o,null),ot(e,t,"formTarget",o.formTarget,o,null)):(ot(e,t,"encType",o.encType,o,null),ot(e,t,"method",o.method,o,null),ot(e,t,"target",o.target,o,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(a);break}ee(i,a),i=Pc(""+i),e.setAttribute(a,i);break;case"onClick":i!=null&&(typeof i!="function"&&Ba(a,i),e.onclick=Tu);break;case"onScroll":i!=null&&(typeof i!="function"&&Ba(a,i),We("scroll",e));break;case"onScrollEnd":i!=null&&(typeof i!="function"&&Ba(a,i),We("scrollend",e));break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(a=i.__html,a!=null){if(o.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=a}}break;case"multiple":e.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":e.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){e.removeAttribute("xlink:href");break}ee(i,a),a=Pc(""+i),e.setAttributeNS(ks,"xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!="function"&&typeof i!="symbol"?(ee(i,a),e.setAttribute(a,""+i)):e.removeAttribute(a);break;case"inert":i!==""||rg[a]||(rg[a]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",a));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":i&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":i===!0?e.setAttribute(a,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?(ee(i,a),e.setAttribute(a,i)):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?(ee(i,a),e.setAttribute(a,i)):e.removeAttribute(a);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?e.removeAttribute(a):(ee(i,a),e.setAttribute(a,i));break;case"popover":We("beforetoggle",e),We("toggle",e),hf(e,"popover",i);break;case"xlinkActuate":Za(e,ks,"xlink:actuate",i);break;case"xlinkArcrole":Za(e,ks,"xlink:arcrole",i);break;case"xlinkRole":Za(e,ks,"xlink:role",i);break;case"xlinkShow":Za(e,ks,"xlink:show",i);break;case"xlinkTitle":Za(e,ks,"xlink:title",i);break;case"xlinkType":Za(e,ks,"xlink:type",i);break;case"xmlBase":Za(e,qv,"xml:base",i);break;case"xmlLang":Za(e,qv,"xml:lang",i);break;case"xmlSpace":Za(e,qv,"xml:space",i);break;case"is":f!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),hf(e,"is",i);break;case"innerText":case"textContent":break;case"popoverTarget":lS||i==null||typeof i!="object"||(lS=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",i));default:!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N"?(a=or(a),hf(e,a,i)):Ga.hasOwnProperty(a)&&i!=null&&typeof i!="function"&&Ba(a,i)}}function bc(e,t,a,i,o,f){switch(a){case"style":_f(e,i,f);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(a=i.__html,a!=null){if(o.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=a}}break;case"children":typeof i=="string"?Li(e,i):(typeof i=="number"||typeof i=="bigint")&&Li(e,""+i);break;case"onScroll":i!=null&&(typeof i!="function"&&Ba(a,i),We("scroll",e));break;case"onScrollEnd":i!=null&&(typeof i!="function"&&Ba(a,i),We("scrollend",e));break;case"onClick":i!=null&&(typeof i!="function"&&Ba(a,i),e.onclick=Tu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(Ga.hasOwnProperty(a))i!=null&&typeof i!="function"&&Ba(a,i);else e:{if(a[0]==="o"&&a[1]==="n"&&(o=a.endsWith("Capture"),t=a.slice(2,o?a.length-7:void 0),f=e[aa]||null,f=f!=null?f[a]:null,typeof f=="function"&&e.removeEventListener(t,f,o),typeof i=="function")){typeof f!="function"&&f!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,i,o);break e}a in e?e[a]=i:i===!0?e.setAttribute(a,""):hf(e,a,i)}}}function wt(e,t,a){switch(jn(t,a),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":We("error",e),We("load",e);var i=!1,o=!1,f;for(f in a)if(a.hasOwnProperty(f)){var d=a[f];if(d!=null)switch(f){case"src":i=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:ot(e,t,f,d,a,null)}}o&&ot(e,t,"srcSet",a.srcSet,a,null),i&&ot(e,t,"src",a.src,a,null);return;case"input":Xu("input",a),We("invalid",e);var m=f=d=o=null,g=null,v=null;for(i in a)if(a.hasOwnProperty(i)){var B=a[i];if(B!=null)switch(i){case"name":o=B;break;case"type":d=B;break;case"checked":g=B;break;case"defaultChecked":v=B;break;case"value":f=B;break;case"defaultValue":m=B;break;case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:ot(e,t,i,B,a,null)}}Lu(e,a),Hp(e,f,m,g,v,d,o,!1),uu(e);return;case"select":Xu("select",a),We("invalid",e),i=d=f=null;for(o in a)if(a.hasOwnProperty(o)&&(m=a[o],m!=null))switch(o){case"value":f=m;break;case"defaultValue":d=m;break;case"multiple":i=m;default:ot(e,t,o,m,a,null)}vf(e,a),t=f,a=d,e.multiple=!!i,t!=null?iu(e,!!i,t,!1):a!=null&&iu(e,!!i,a,!0);return;case"textarea":Xu("textarea",a),We("invalid",e),f=o=i=null;for(d in a)if(a.hasOwnProperty(d)&&(m=a[d],m!=null))switch(d){case"value":i=m;break;case"defaultValue":o=m;break;case"children":f=m;break;case"dangerouslySetInnerHTML":if(m!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:ot(e,t,d,m,a,null)}hn(e,a),Hh(e,i,o,f),uu(e);return;case"option":Ch(e,a);for(g in a)if(a.hasOwnProperty(g)&&(i=a[g],i!=null))switch(g){case"selected":e.selected=i&&typeof i!="function"&&typeof i!="symbol";break;default:ot(e,t,g,i,a,null)}return;case"dialog":We("beforetoggle",e),We("toggle",e),We("cancel",e),We("close",e);break;case"iframe":case"object":We("load",e);break;case"video":case"audio":for(i=0;i<hp.length;i++)We(hp[i],e);break;case"image":We("error",e),We("load",e);break;case"details":We("toggle",e);break;case"embed":case"source":case"link":We("error",e),We("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(v in a)if(a.hasOwnProperty(v)&&(i=a[v],i!=null))switch(v){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:ot(e,t,v,i,a,null)}return;default:if(Zi(t)){for(B in a)a.hasOwnProperty(B)&&(i=a[B],i!==void 0&&bc(e,t,B,i,a,void 0));return}}for(m in a)a.hasOwnProperty(m)&&(i=a[m],i!=null&&ot(e,t,m,i,a,null))}function y0(e,t,a,i){switch(jn(t,i),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,f=null,d=null,m=null,g=null,v=null,B=null;for(X in a){var Q=a[X];if(a.hasOwnProperty(X)&&Q!=null)switch(X){case"checked":break;case"value":break;case"defaultValue":g=Q;default:i.hasOwnProperty(X)||ot(e,t,X,null,i,Q)}}for(var H in i){var X=i[H];if(Q=a[H],i.hasOwnProperty(H)&&(X!=null||Q!=null))switch(H){case"type":f=X;break;case"name":o=X;break;case"checked":v=X;break;case"defaultChecked":B=X;break;case"value":d=X;break;case"defaultValue":m=X;break;case"children":case"dangerouslySetInnerHTML":if(X!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:X!==Q&&ot(e,t,H,X,i,Q)}}t=a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null,i=i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null,t||!i||eS||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),eS=!0),!t||i||P1||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),P1=!0),Zu(e,d,m,g,v,B,f,o);return;case"select":X=d=m=H=null;for(f in a)if(g=a[f],a.hasOwnProperty(f)&&g!=null)switch(f){case"value":break;case"multiple":X=g;default:i.hasOwnProperty(f)||ot(e,t,f,null,i,g)}for(o in i)if(f=i[o],g=a[o],i.hasOwnProperty(o)&&(f!=null||g!=null))switch(o){case"value":H=f;break;case"defaultValue":m=f;break;case"multiple":d=f;default:f!==g&&ot(e,t,o,f,i,g)}i=m,t=d,a=X,H!=null?iu(e,!!t,H,!1):!!a!=!!t&&(i!=null?iu(e,!!t,i,!0):iu(e,!!t,t?[]:"",!1));return;case"textarea":X=H=null;for(m in a)if(o=a[m],a.hasOwnProperty(m)&&o!=null&&!i.hasOwnProperty(m))switch(m){case"value":break;case"children":break;default:ot(e,t,m,null,i,o)}for(d in i)if(o=i[d],f=a[d],i.hasOwnProperty(d)&&(o!=null||f!=null))switch(d){case"value":H=o;break;case"defaultValue":X=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:o!==f&&ot(e,t,d,o,i,f)}nr(e,H,X);return;case"option":for(var de in a)if(H=a[de],a.hasOwnProperty(de)&&H!=null&&!i.hasOwnProperty(de))switch(de){case"selected":e.selected=!1;break;default:ot(e,t,de,null,i,H)}for(g in i)if(H=i[g],X=a[g],i.hasOwnProperty(g)&&H!==X&&(H!=null||X!=null))switch(g){case"selected":e.selected=H&&typeof H!="function"&&typeof H!="symbol";break;default:ot(e,t,g,H,i,X)}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 He in a)H=a[He],a.hasOwnProperty(He)&&H!=null&&!i.hasOwnProperty(He)&&ot(e,t,He,null,i,H);for(v in i)if(H=i[v],X=a[v],i.hasOwnProperty(v)&&H!==X&&(H!=null||X!=null))switch(v){case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:ot(e,t,v,H,i,X)}return;default:if(Zi(t)){for(var zt in a)H=a[zt],a.hasOwnProperty(zt)&&H!==void 0&&!i.hasOwnProperty(zt)&&bc(e,t,zt,void 0,i,H);for(B in i)H=i[B],X=a[B],!i.hasOwnProperty(B)||H===X||H===void 0&&X===void 0||bc(e,t,B,H,i,X);return}}for(var at in a)H=a[at],a.hasOwnProperty(at)&&H!=null&&!i.hasOwnProperty(at)&&ot(e,t,at,null,i,H);for(Q in i)H=i[Q],X=a[Q],!i.hasOwnProperty(Q)||H===X||H==null&&X==null||ot(e,t,Q,H,i,X)}function ey(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function Sc(e){var t={};e=e.style;for(var a=0;a<e.length;a++){var i=e[a];t[i]=e.getPropertyValue(i)}return t}function ty(e,t,a){if(t!=null&&typeof t!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var i,o=i="",f;for(f in t)if(t.hasOwnProperty(f)){var d=t[f];d!=null&&typeof d!="boolean"&&d!==""&&(f.indexOf("--")===0?(me(d,f),i+=o+f+":"+(""+d).trim()):typeof d!="number"||d===0||Us.has(f)?(me(d,f),i+=o+f.replace(Mu,"-$1").toLowerCase().replace(Uu,"-ms-")+":"+(""+d).trim()):i+=o+f.replace(Mu,"-$1").toLowerCase().replace(Uu,"-ms-")+":"+d+"px",o=";")}i=i||null,t=e.getAttribute("style"),t!==i&&(i=pl(i),pl(t)!==i&&(a.style=Sc(e)))}}function Gl(e,t,a,i,o,f){if(o.delete(a),e=e.getAttribute(a),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(ee(i,t),e===""+i)return}xt(t,e,i,f)}function ly(e,t,a,i,o,f){if(o.delete(a),e=e.getAttribute(a),e===null){switch(typeof i){case"function":case"symbol":return}if(!i)return}else switch(typeof i){case"function":case"symbol":break;default:if(i)return}xt(t,e,i,f)}function ay(e,t,a,i,o,f){if(o.delete(a),e=e.getAttribute(a),e===null)switch(typeof i){case"undefined":case"function":case"symbol":return}else if(i!=null)switch(typeof i){case"function":case"symbol":break;default:if(ee(i,a),e===""+i)return}xt(t,e,i,f)}function p0(e,t,a,i,o,f){if(o.delete(a),e=e.getAttribute(a),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(i))return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(!isNaN(i)&&(ee(i,t),e===""+i))return}xt(t,e,i,f)}function ht(e,t,a,i,o,f){if(o.delete(a),e=e.getAttribute(a),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(ee(i,t),a=Pc(""+i),e===a)return}xt(t,e,i,f)}function _t(e,t,a,i){for(var o={},f=new Set,d=e.attributes,m=0;m<d.length;m++)switch(d[m].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:f.add(d[m].name)}if(Zi(t)){for(var g in a)if(a.hasOwnProperty(g)){var v=a[g];if(v!=null){if(Ga.hasOwnProperty(g))typeof v!="function"&&Ba(g,v);else if(a.suppressHydrationWarning!==!0)switch(g){case"children":typeof v!="string"&&typeof v!="number"||xt("children",e.textContent,v,o);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":d=e.innerHTML,v=v?v.__html:void 0,v!=null&&(v=bd(e,v),xt(g,d,v,o));continue;case"style":f.delete(g),ty(e,v,o);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":f.delete(g.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",g);continue;case"className":f.delete("class"),d=Op(e,"class",v),xt("className",d,v,o);continue;default:i.context===Qc&&t!=="svg"&&t!=="math"?f.delete(g.toLowerCase()):f.delete(g),d=Op(e,g,v),xt(g,d,v,o)}}}}else for(v in a)if(a.hasOwnProperty(v)&&(g=a[v],g!=null)){if(Ga.hasOwnProperty(v))typeof g!="function"&&Ba(v,g);else if(a.suppressHydrationWarning!==!0)switch(v){case"children":typeof g!="string"&&typeof g!="number"||xt("children",e.textContent,g,o);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":d=e.innerHTML,g=g?g.__html:void 0,g!=null&&(g=bd(e,g),d!==g&&(o[v]={__html:d}));continue;case"className":Gl(e,v,"class",g,f,o);continue;case"tabIndex":Gl(e,v,"tabindex",g,f,o);continue;case"style":f.delete(v),ty(e,g,o);continue;case"multiple":f.delete(v),xt(v,e.multiple,g,o);continue;case"muted":f.delete(v),xt(v,e.muted,g,o);continue;case"autoFocus":f.delete("autofocus"),xt(v,e.autofocus,g,o);continue;case"data":if(t!=="object"){f.delete(v),d=e.getAttribute("data"),xt(v,d,g,o);continue}case"src":case"href":if(!(g!==""||t==="a"&&v==="href"||t==="object"&&v==="data")){console.error(v==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',v,v);continue}ht(e,v,v,g,f,o);continue;case"action":case"formAction":if(d=e.getAttribute(v),typeof g=="function"){f.delete(v.toLowerCase()),v==="formAction"?(f.delete("name"),f.delete("formenctype"),f.delete("formmethod"),f.delete("formtarget")):(f.delete("enctype"),f.delete("method"),f.delete("target"));continue}else if(d===y2){f.delete(v.toLowerCase()),xt(v,"function",g,o);continue}ht(e,v,v.toLowerCase(),g,f,o);continue;case"xlinkHref":ht(e,v,"xlink:href",g,f,o);continue;case"contentEditable":ay(e,v,"contenteditable",g,f,o);continue;case"spellCheck":ay(e,v,"spellcheck",g,f,o);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":ay(e,v,v,g,f,o);continue;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":ly(e,v,v.toLowerCase(),g,f,o);continue;case"capture":case"download":e:{m=e;var B=d=v,Q=o;if(f.delete(B),m=m.getAttribute(B),m===null)switch(typeof g){case"undefined":case"function":case"symbol":break e;default:if(g===!1)break e}else if(g!=null)switch(typeof g){case"function":case"symbol":break;case"boolean":if(g===!0&&m==="")break e;break;default:if(ee(g,d),m===""+g)break e}xt(d,m,g,Q)}continue;case"cols":case"rows":case"size":case"span":e:{if(m=e,B=d=v,Q=o,f.delete(B),m=m.getAttribute(B),m===null)switch(typeof g){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(g)||1>g)break e}else if(g!=null)switch(typeof g){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(g)||1>g)&&(ee(g,d),m===""+g))break e}xt(d,m,g,Q)}continue;case"rowSpan":p0(e,v,"rowspan",g,f,o);continue;case"start":p0(e,v,v,g,f,o);continue;case"xHeight":Gl(e,v,"x-height",g,f,o);continue;case"xlinkActuate":Gl(e,v,"xlink:actuate",g,f,o);continue;case"xlinkArcrole":Gl(e,v,"xlink:arcrole",g,f,o);continue;case"xlinkRole":Gl(e,v,"xlink:role",g,f,o);continue;case"xlinkShow":Gl(e,v,"xlink:show",g,f,o);continue;case"xlinkTitle":Gl(e,v,"xlink:title",g,f,o);continue;case"xlinkType":Gl(e,v,"xlink:type",g,f,o);continue;case"xmlBase":Gl(e,v,"xml:base",g,f,o);continue;case"xmlLang":Gl(e,v,"xml:lang",g,f,o);continue;case"xmlSpace":Gl(e,v,"xml:space",g,f,o);continue;case"inert":g!==""||rg[v]||(rg[v]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",v)),ly(e,v,v,g,f,o);continue;default:if(!(2<v.length)||v[0]!=="o"&&v[0]!=="O"||v[1]!=="n"&&v[1]!=="N"){m=or(v),d=!1,i.context===Qc&&t!=="svg"&&t!=="math"?f.delete(m.toLowerCase()):(B=v.toLowerCase(),B=Mc.hasOwnProperty(B)&&Mc[B]||null,B!==null&&B!==v&&(d=!0,f.delete(B)),f.delete(m));e:if(B=e,Q=m,m=g,Yi(Q))if(B.hasAttribute(Q))B=B.getAttribute(Q),ee(m,Q),m=B===""+m?m:B;else{switch(typeof m){case"function":case"symbol":break e;case"boolean":if(B=Q.toLowerCase().slice(0,5),B!=="data-"&&B!=="aria-")break e}m=m===void 0?void 0:null}else m=void 0;d||xt(v,m,g,o)}}}return 0<f.size&&a.suppressHydrationWarning!==!0&&mi(e,f,o),Object.keys(o).length===0?null:o}function Ie(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function Pe(e){return e.nodeType===9?e:e.ownerDocument}function yt(e){switch(e){case ko:return Sh;case Cs:return mg;default:return Qc}}function Pl(e,t){if(e===Qc)switch(t){case"svg":return Sh;case"math":return mg;default:return Qc}return e===Sh&&t==="foreignObject"?Qc:e}function Yn(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function Do(){var e=window.event;return e&&e.type==="popstate"?e===$v?!1:($v=e,!0):($v=null,!1)}function ny(e){setTimeout(function(){throw e})}function _u(e,t,a){switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&e.focus();break;case"img":a.src?e.src=a.src:a.srcSet&&(e.srcset=a.srcSet)}}function Gt(e,t,a,i){y0(e,t,a,i),e[aa]=i}function Eu(e){Li(e,"")}function Tc(e,t,a){e.nodeValue=a}function wn(e){return e==="head"}function ja(e,t){e.removeChild(t)}function xo(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function Oo(e,t){var a=t,i=0,o=0;do{var f=a.nextSibling;if(e.removeChild(a),f&&f.nodeType===8)if(a=f.data,a===hg){if(0<i&&8>i){a=i;var d=e.ownerDocument;if(a&g2&&Ho(d.documentElement),a&v2&&Ho(d.body),a&b2)for(a=d.head,Ho(a),d=a.firstChild;d;){var m=d.nextSibling,g=d.nodeName;d[Zo]||g==="SCRIPT"||g==="STYLE"||g==="LINK"&&d.rel.toLowerCase()==="stylesheet"||a.removeChild(d),d=m}}if(o===0){e.removeChild(f),Rc(t);return}o--}else a===dg||a===Gc||a===mp?o++:i=a.charCodeAt(0)-48;else i=0;a=f}while(a);Rc(t)}function ea(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function uy(e){e.nodeValue=""}function iy(e,t){t=t[S2],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function Sd(e,t){e.nodeValue=t}function Mo(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Mo(a),Jc(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function yi(e,t,a,i){for(;e.nodeType===1;){var o=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!i&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(i){if(!e[Zo])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(f=e.getAttribute("rel"),f==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(f!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(f=e.getAttribute("src"),(f!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&f&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){ee(o.name,"name");var f=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===f)return e}else return e;if(e=vl(e.nextSibling),e===null)break}return null}function gl(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=vl(e.nextSibling),e===null))return null;return e}function Gn(e){return e.data===mp||e.data===Gc&&e.ownerDocument.readyState===nS}function Uo(e,t){var a=e.ownerDocument;if(e.data!==Gc||a.readyState===nS)t();else{var i=function(){t(),a.removeEventListener("DOMContentLoaded",i)};a.addEventListener("DOMContentLoaded",i),e._reactRetry=i}}function vl(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===dg||t===mp||t===Gc||t===Kv||t===aS)break;if(t===hg)return null}}return e}function Td(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),a={},i=e.attributes,o=0;o<i.length;o++){var f=i[o];a[ey(f.name)]=f.name.toLowerCase()==="style"?Sc(e):f.value}return{type:t,props:a}}return e.nodeType===8?{type:"Suspense",props:{}}:e.nodeValue}function _d(e,t,a){return a===null||a[p2]!==!0?(e.nodeValue===t?e=null:(t=pl(t),e=pl(e.nodeValue)===t?null:e.nodeValue),e):null}function cy(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a===hg){if(t===0)return vl(e.nextSibling);t--}else a!==dg&&a!==mp&&a!==Gc||t++}e=e.nextSibling}return null}function Co(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a===dg||a===mp||a===Gc){if(t===0)return e;t--}else a===hg&&t++}e=e.previousSibling}return null}function oy(e){Rc(e)}function ha(e){Rc(e)}function fy(e,t,a,i,o){switch(o&&cr(e,i.ancestorInfo),t=Pe(a),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function ma(e,t,a,i){if(!a[Ai]&&ia(a)){var o=a.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",o,o,o)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(o=a.attributes;o.length;)a.removeAttributeNode(o[0]);wt(a,e,t),a[Ol]=i,a[aa]=t}function Ho(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Jc(e)}function rs(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function g0(e,t,a){var i=Th;if(i&&typeof t=="string"&&t){var o=ca(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof a=="string"&&(o+='[crossorigin="'+a+'"]'),sS.has(o)||(sS.add(o),e={rel:e,crossOrigin:a,href:t},i.querySelector(o)===null&&(t=i.createElement("link"),wt(t,"link",e),al(t),i.head.appendChild(t)))}}function Au(e,t,a,i){var o=(o=Vn.current)?rs(o):null;if(!o)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(a=pi(a.href),t=dn(o).hoistableStyles,i=t.get(a),i||(i={type:"style",instance:null,count:0,state:null},t.set(a,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=pi(a.href);var f=dn(o).hoistableStyles,d=f.get(e);if(!d&&(o=o.ownerDocument||o,d={type:"stylesheet",instance:null,count:0,state:{loading:Ws,preload:null}},f.set(e,d),(f=o.querySelector(Qn(e)))&&!f._p&&(d.instance=f,d.state.loading=yp|eu),!tu.has(e))){var m={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy};tu.set(e,m),f||v0(o,e,m,d.state)}if(t&&i===null)throw a=`
|
|
197
|
-
|
|
198
|
-
- `+_c(t)+`
|
|
199
|
-
+ `+_c(a),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+a);return d}if(t&&i!==null)throw a=`
|
|
200
|
-
|
|
201
|
-
- `+_c(t)+`
|
|
202
|
-
+ `+_c(a),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+a);return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(a=Ec(a),t=dn(o).hoistableScripts,i=t.get(a),i||(i={type:"script",instance:null,count:0,state:null},t.set(a,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function _c(e){var t=0,a="<link";return typeof e.rel=="string"?(t++,a+=' rel="'+e.rel+'"'):Du.call(e,"rel")&&(t++,a+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,a+=' href="'+e.href+'"'):Du.call(e,"href")&&(t++,a+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,a+=' precedence="'+e.precedence+'"'):Du.call(e,"precedence")&&(t++,a+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(a+=" ..."),a+" />"}function pi(e){return'href="'+ca(e)+'"'}function Qn(e){return'link[rel="stylesheet"]['+e+"]"}function sy(e){return qe({},e,{"data-precedence":e.precedence,precedence:null})}function v0(e,t,a,i){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?i.loading=yp:(t=e.createElement("link"),i.preload=t,t.addEventListener("load",function(){return i.loading|=yp}),t.addEventListener("error",function(){return i.loading|=oS}),wt(t,"link",a),al(t),e.head.appendChild(t))}function Ec(e){return'[src="'+ca(e)+'"]'}function Ac(e){return"script[async]"+e}function Ed(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+ca(a.href)+'"]');if(i)return t.instance=i,al(i),i;var o=qe({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),al(i),wt(i,"style",o),Ad(i,a.precedence,e),t.instance=i;case"stylesheet":o=pi(a.href);var f=e.querySelector(Qn(o));if(f)return t.state.loading|=eu,t.instance=f,al(f),f;i=sy(a),(o=tu.get(o))&&ry(i,o),f=(e.ownerDocument||e).createElement("link"),al(f);var d=f;return d._p=new Promise(function(m,g){d.onload=m,d.onerror=g}),wt(f,"link",i),t.state.loading|=eu,Ad(f,a.precedence,e),t.instance=f;case"script":return f=Ec(a.src),(o=e.querySelector(Ac(f)))?(t.instance=o,al(o),o):(i=a,(o=tu.get(f))&&(i=qe({},a),dy(i,o)),e=e.ownerDocument||e,o=e.createElement("script"),al(o),wt(o,"link",i),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&eu)===Ws&&(i=t.instance,t.state.loading|=eu,Ad(i,a.precedence,e));return t.instance}function Ad(e,t,a){for(var i=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=i.length?i[i.length-1]:null,f=o,d=0;d<i.length;d++){var m=i[d];if(m.dataset.precedence===t)f=m;else if(f!==o)break}f?f.parentNode.insertBefore(e,f.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function ry(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function dy(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function hy(e,t,a){if(yg===null){var i=new Map,o=yg=new Map;o.set(a,i)}else o=yg,i=o.get(a),i||(i=new Map,o.set(a,i));if(i.has(e))return i;for(i.set(e,null),a=a.getElementsByTagName(e),o=0;o<a.length;o++){var f=a[o];if(!(f[Zo]||f[Ol]||e==="link"&&f.getAttribute("rel")==="stylesheet")&&f.namespaceURI!==ko){var d=f.getAttribute(t)||"";d=e+d;var m=i.get(d);m?m.push(f):i.set(d,[f])}}return i}function my(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function No(e,t,a){var i=!a.ancestorInfo.containerTagInScope;if(a.context===Sh||t.itemProp!=null)return!i||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){i&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var o=t.onError,f=t.disabled;a=[],t.onLoad&&a.push("`onLoad`"),o&&a.push("`onError`"),f!=null&&a.push("`disabled`"),o=Ie(a,"and"),o+=a.length===1?" prop":" props",f=a.length===1?"an "+o:"the "+o,a.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,f,o)}i&&(typeof t.rel!="string"||typeof t.href!="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(t.rel){case"stylesheet":return e=t.precedence,t=t.disabled,typeof e!="string"&&i&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&t==null;default:return!0}case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){i&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":i&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function ds(e){return!(e.type==="stylesheet"&&(e.state.loading&fS)===Ws)}function b0(){}function S0(e,t,a){if(pp===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var i=pp;if(t.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(t.state.loading&eu)===Ws){if(t.instance===null){var o=pi(a.href),f=e.querySelector(Qn(o));if(f){e=f._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(i.count++,i=hs.bind(i),e.then(i,i)),t.state.loading|=eu,t.instance=f,al(f);return}f=e.ownerDocument||e,a=sy(a),(o=tu.get(o))&&ry(a,o),f=f.createElement("link"),al(f);var d=f;d._p=new Promise(function(m,g){d.onload=m,d.onerror=g}),wt(f,"link",a),t.instance=f}i.stylesheets===null&&(i.stylesheets=new Map),i.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&fS)===Ws&&(i.count++,t=hs.bind(i),e.addEventListener("load",t),e.addEventListener("error",t))}}function T0(){if(pp===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var e=pp;return e.stylesheets&&e.count===0&&Rd(e,e.stylesheets),0<e.count?function(t){var a=setTimeout(function(){if(e.stylesheets&&Rd(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(a)}}:null}function hs(){if(this.count--,this.count===0){if(this.stylesheets)Rd(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Rd(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,pg=new Map,t.forEach(_0,e),pg=null,hs.call(e))}function _0(e,t){if(!(t.state.loading&eu)){var a=pg.get(e);if(a)var i=a.get(Fv);else{a=new Map,pg.set(e,a);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<o.length;f++){var d=o[f];(d.nodeName==="LINK"||d.getAttribute("media")!=="not all")&&(a.set(d.dataset.precedence,d),i=d)}i&&a.set(Fv,i)}o=t.instance,d=o.getAttribute("data-precedence"),f=a.get(d)||i,f===i&&a.set(Fv,o),a.set(d,o),this.count++,i=hs.bind(this),o.addEventListener("load",i),o.addEventListener("error",i),f?f.parentNode.insertBefore(o,f.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(o,e.firstChild)),t.state.loading|=eu}}function zd(e,t,a,i,o,f,d,m){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=$s,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Mh(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Mh(0),this.hiddenUpdates=Mh(null),this.identifierPrefix=i,this.onUncaughtError=o,this.onCaughtError=f,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=m,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=a?"hydrateRoot()":"createRoot()"}function yy(e,t,a,i,o,f,d,m,g,v,B,Q){return e=new zd(e,t,a,d,m,g,v,Q),t=KT,f===!0&&(t|=ua|Cu),Vt&&(t|=Vl),f=se(3,null,null,t),e.current=f,f.stateNode=e,t=Uf(),Pi(t),e.pooledCache=t,Pi(t),f.memoizedState={element:i,isDehydrated:a,cache:t},Kl(f),e}function py(e){return e?(e=$o,e):$o}function pt(e,t,a,i,o,f){if(bl&&typeof bl.onScheduleFiberRoot=="function")try{bl.onScheduleFiberRoot(_i,i,a)}catch(d){la||(la=!0,console.error("React instrumentation encountered an error: %s",d))}ne!==null&&typeof ne.markRenderScheduled=="function"&&ne.markRenderScheduled(t),o=py(o),i.context===null?i.context=o:i.pendingContext=o,na&&pa!==null&&!mS&&(mS=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
203
|
-
|
|
204
|
-
Check the render method of %s.`,W(pa)||"Unknown")),i=bn(t),i.payload={element:a},f=f===void 0?null:f,f!==null&&(typeof f!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",f),i.callback=f),a=Wa(e,i,t),a!==null&&(jt(a,e,t),ti(a,e,t))}function Dd(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function gy(e,t){Dd(e,t),(e=e.alternate)&&Dd(e,t)}function vy(e){if(e.tag===13){var t=ql(e,67108864);t!==null&&jt(t,e,67108864),gy(e,67108864)}}function qg(){return pa}function Kg(){for(var e=new Map,t=1,a=0;31>a;a++){var i=Ps(t);e.set(t,i),t*=2}return e}function Jg(e,t,a,i){var o=w.T;w.T=null;var f=Ce.p;try{Ce.p=Sl,gi(e,t,a,i)}finally{Ce.p=f,w.T=o}}function xd(e,t,a,i){var o=w.T;w.T=null;var f=Ce.p;try{Ce.p=un,gi(e,t,a,i)}finally{Ce.p=f,w.T=o}}function gi(e,t,a,i){if(vg){var o=ms(i);if(o===null)Yl(e,t,i,bg,a),vi(e,i);else if(ys(o,e,t,a,i))i.stopPropagation();else if(vi(e,i),t&4&&-1<A2.indexOf(e)){for(;o!==null;){var f=ia(o);if(f!==null)switch(f.tag){case 3:if(f=f.stateNode,f.current.memoizedState.isDehydrated){var d=lu(f.pendingLanes);if(d!==0){var m=f;for(m.pendingLanes|=2,m.entangledLanes|=2;d;){var g=1<<31-xl(d);m.entanglements[1]|=g,d&=~g}Na(f),(gt&(Sa|ju))===cn&&(lg=Xn()+K1,vc(0))}}break;case 13:m=ql(f,2),m!==null&&jt(m,f,2),pc(),gy(f,2)}if(f=ms(i),f===null&&Yl(e,t,i,bg,a),f===o)break;o=f}o!==null&&i.stopPropagation()}else Yl(e,t,i,null,a)}}function ms(e){return e=qi(e),Bo(e)}function Bo(e){if(bg=null,e=nu(e),e!==null){var t=Oe(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=ce(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return bg=e,null}function Od(e){switch(e){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 Sl;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 un;case"message":switch(Ti()){case Nd:return Sl;case As:return un;case Vo:case Ig:return Ou;case Rs:return wd;default:return Ou}default:return Ou}}function vi(e,t){switch(e){case"focusin":case"focusout":uf=null;break;case"dragenter":case"dragleave":cf=null;break;case"mouseover":case"mouseout":of=null;break;case"pointerover":case"pointerout":vp.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":bp.delete(t.pointerId)}}function ta(e,t,a,i,o,f){return e===null||e.nativeEvent!==f?(e={blockedOn:t,domEventName:a,eventSystemFlags:i,nativeEvent:f,targetContainers:[o]},t!==null&&(t=ia(t),t!==null&&vy(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function ys(e,t,a,i,o){switch(t){case"focusin":return uf=ta(uf,e,t,a,i,o),!0;case"dragenter":return cf=ta(cf,e,t,a,i,o),!0;case"mouseover":return of=ta(of,e,t,a,i,o),!0;case"pointerover":var f=o.pointerId;return vp.set(f,ta(vp.get(f)||null,e,t,a,i,o)),!0;case"gotpointercapture":return f=o.pointerId,bp.set(f,ta(bp.get(f)||null,e,t,a,i,o)),!0}return!1}function E0(e){var t=nu(e.target);if(t!==null){var a=Oe(t);if(a!==null){if(t=a.tag,t===13){if(t=ce(a),t!==null){e.blockedOn=t,Ng(e.priority,function(){if(a.tag===13){var i=Il(a);i=Hl(i);var o=ql(a,i);o!==null&&jt(o,a,i),gy(a,i)}});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ps(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=ms(e.nativeEvent);if(a===null){a=e.nativeEvent;var i=new a.constructor(a.type,a),o=i;s!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),s=o,a.target.dispatchEvent(i),s===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),s=null}else return t=ia(a),t!==null&&vy(t),e.blockedOn=a,!1;t.shift()}return!0}function by(e,t,a){ps(e)&&a.delete(t)}function A0(){Iv=!1,uf!==null&&ps(uf)&&(uf=null),cf!==null&&ps(cf)&&(cf=null),of!==null&&ps(of)&&(of=null),vp.forEach(by),bp.forEach(by)}function gs(e,t){e.blockedOn===t&&(e.blockedOn=null,Iv||(Iv=!0,Qt.unstable_scheduleCallback(Qt.unstable_NormalPriority,A0)))}function R0(e){Sg!==e&&(Sg=e,Qt.unstable_scheduleCallback(Qt.unstable_NormalPriority,function(){Sg===e&&(Sg=null);for(var t=0;t<e.length;t+=3){var a=e[t],i=e[t+1],o=e[t+2];if(typeof i!="function"){if(Bo(i||a)===null)continue;break}var f=ia(a);f!==null&&(e.splice(t,3),t-=3,a={pending:!0,data:o,method:a.method,action:i},Object.freeze(a),uc(f,a,i,o))}}))}function Rc(e){function t(g){return gs(g,e)}uf!==null&&gs(uf,e),cf!==null&&gs(cf,e),of!==null&&gs(of,e),vp.forEach(t),bp.forEach(t);for(var a=0;a<ff.length;a++){var i=ff[a];i.blockedOn===e&&(i.blockedOn=null)}for(;0<ff.length&&(a=ff[0],a.blockedOn===null);)E0(a),a.blockedOn===null&&ff.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(i=0;i<a.length;i+=3){var o=a[i],f=a[i+1],d=o[aa]||null;if(typeof f=="function")d||R0(a);else if(d){var m=null;if(f&&f.hasAttribute("formAction")){if(o=f,d=f[aa]||null)m=d.formAction;else if(Bo(o)!==null)continue}else m=d.action;typeof m=="function"?a[i+1]=m:(a.splice(i,3),i-=3),R0(a)}}}function Md(e){this._internalRoot=e}function vs(e){this._internalRoot=e}function z0(e){e[Ai]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Qt=ab(),bs=Ze,kg=Pv,qe=Object.assign,Ss=Symbol.for("react.element"),bi=Symbol.for("react.transitional.element"),zc=Symbol.for("react.portal"),Ge=Symbol.for("react.fragment"),jo=Symbol.for("react.strict_mode"),Yo=Symbol.for("react.profiler"),Sy=Symbol.for("react.provider"),Ud=Symbol.for("react.consumer"),Ya=Symbol.for("react.context"),Ru=Symbol.for("react.forward_ref"),wo=Symbol.for("react.suspense"),Si=Symbol.for("react.suspense_list"),Ts=Symbol.for("react.memo"),ya=Symbol.for("react.lazy"),Ty=Symbol.for("react.activity"),D0=Symbol.for("react.memo_cache_sentinel"),_y=Symbol.iterator,Cd=Symbol.for("react.client.reference"),Be=Array.isArray,w=bs.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ce=kg.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$g=Object.freeze({pending:!1,data:null,method:null,action:null}),_s=[],Es=[],wa=-1,zu=ue(null),Go=ue(null),Vn=ue(null),Qo=ue(null),Du=Object.prototype.hasOwnProperty,Hd=Qt.unstable_scheduleCallback,Wg=Qt.unstable_cancelCallback,x0=Qt.unstable_shouldYield,Fg=Qt.unstable_requestPaint,Xn=Qt.unstable_now,Ti=Qt.unstable_getCurrentPriorityLevel,Nd=Qt.unstable_ImmediatePriority,As=Qt.unstable_UserBlockingPriority,Vo=Qt.unstable_NormalPriority,Ig=Qt.unstable_LowPriority,Rs=Qt.unstable_IdlePriority,Pg=Qt.log,nn=Qt.unstable_setDisableYieldValue,_i=null,bl=null,ne=null,la=!1,Vt=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",xl=Math.clz32?Math.clz32:Gu,Bd=Math.log,xu=Math.LN2,jd=256,Yd=4194304,Sl=2,un=8,Ou=32,wd=268435456,Ei=Math.random().toString(36).slice(2),Ol="__reactFiber$"+Ei,aa="__reactProps$"+Ei,Ai="__reactContainer$"+Ei,Ey="__reactEvents$"+Ei,O0="__reactListeners$"+Ei,Xo="__reactHandles$"+Ei,Lo="__reactResources$"+Ei,Zo="__reactMarker$"+Ei,M0=new Set,Ga={},Dc={},U0={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},Gd=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]*$"),Qd={},Vd={},Ri=0,Ay,Ry,C0,zy,qo,H0,N0;er.__reactDisabledLog=!0;var Dy,zs,Ko=!1,Ds=new(typeof WeakMap=="function"?WeakMap:Map),pa=null,na=!1,ev=/[\n"\\]/g,xy=!1,Oy=!1,My=!1,Uy=!1,Xd=!1,Cy=!1,xs=["value","defaultValue"],B0=!1,j0=/["'&<>\n\t]|^\s|\s$/,Hy="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),Ld="applet caption html table td th marquee object template foreignObject desc title".split(" "),Zd=Ld.concat(["button"]),Ny="dd dt li option optgroup p rp rt".split(" "),By={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},Jo={},Ln={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},Mu=/([A-Z])/g,Uu=/^ms-/,Os=/^(?:webkit|moz|o)[A-Z]/,Ms=/^-ms-/,zi=/-(.)/g,Y0=/;\s*$/,xc={},Oc={},w0=!1,jy=!1,Us=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(" ")),Cs="http://www.w3.org/1998/Math/MathML",ko="http://www.w3.org/2000/svg",qd=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"]]),Mc={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Yy={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Zn={},wy=RegExp("^(aria)-[: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]*$"),Kd=RegExp("^(aria)[A-Z][: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]*$"),Gy=!1,Ql={},Hs=/^on./,l=/^on[^A-Z]/,n=RegExp("^(aria)-[: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]*$"),u=RegExp("^(aria)[A-Z][: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]*$"),c=/^[\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,s=null,r=null,y=null,p=!1,S=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),U=!1;if(S)try{var Z={};Object.defineProperty(Z,"passive",{get:function(){U=!0}}),window.addEventListener("test",Z,Z),window.removeEventListener("test",Z,Z)}catch{U=!1}var $=null,N=null,j=null,Ee={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ae=hl(Ee),ft=qe({},Ee,{view:0,detail:0}),x=hl(ft),z,M,J,fe=qe({},ft,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:rr,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==J&&(J&&e.type==="mousemove"?(z=e.screenX-J.screenX,M=e.screenY-J.screenY):M=z=0,J=e),z)},movementY:function(e){return"movementY"in e?e.movementY:M}}),Je=hl(fe),Se=qe({},fe,{dataTransfer:0}),De=hl(Se),fl=qe({},ft,{relatedTarget:0}),ut=hl(fl),Di=qe({},Ee,{animationName:0,elapsedTime:0,pseudoElement:0}),tv=hl(Di),TT=qe({},Ee,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),_T=hl(TT),ET=qe({},Ee,{data:0}),Db=hl(ET),AT=Db,RT={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},zT={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"},DT={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},xT=qe({},ft,{key:function(e){if(e.key){var t=RT[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=eo(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?zT[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:rr,charCode:function(e){return e.type==="keypress"?eo(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?eo(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),OT=hl(xT),MT=qe({},fe,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),xb=hl(MT),UT=qe({},ft,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:rr}),CT=hl(UT),HT=qe({},Ee,{propertyName:0,elapsedTime:0,pseudoElement:0}),NT=hl(HT),BT=qe({},fe,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),jT=hl(BT),YT=qe({},Ee,{newState:0,oldState:0}),wT=hl(YT),GT=[9,13,27,32],Ob=229,lv=S&&"CompositionEvent"in window,Qy=null;S&&"documentMode"in document&&(Qy=document.documentMode);var QT=S&&"TextEvent"in window&&!Qy,Mb=S&&(!lv||Qy&&8<Qy&&11>=Qy),Ub=32,Cb=String.fromCharCode(Ub),Hb=!1,Jd=!1,VT={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},Vy=null,Xy=null,Nb=!1;S&&(Nb=Qh("input")&&(!document.documentMode||9<document.documentMode));var ga=typeof Object.is=="function"?Object.is:Vg,XT=S&&"documentMode"in document&&11>=document.documentMode,kd=null,av=null,Ly=null,nv=!1,$d={animationend:fu("Animation","AnimationEnd"),animationiteration:fu("Animation","AnimationIteration"),animationstart:fu("Animation","AnimationStart"),transitionrun:fu("Transition","TransitionRun"),transitionstart:fu("Transition","TransitionStart"),transitioncancel:fu("Transition","TransitionCancel"),transitionend:fu("Transition","TransitionEnd")},uv={},Bb={};S&&(Bb=document.createElement("div").style,"AnimationEvent"in window||(delete $d.animationend.animation,delete $d.animationiteration.animation,delete $d.animationstart.animation),"TransitionEvent"in window||delete $d.transitionend.transition);var jb=ki("animationend"),Yb=ki("animationiteration"),wb=ki("animationstart"),LT=ki("transitionrun"),ZT=ki("transitionstart"),qT=ki("transitioncancel"),Gb=ki("transitionend"),Qb=new Map,iv="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(" ");iv.push("scrollEnd");var cv=new WeakMap,G0=1,Uc=2,qn=[],Wd=0,ov=0,$o={};Object.freeze($o);var Kn=null,Fd=null,Ot=0,KT=1,Vl=2,ua=8,Cu=16,Vb=64,Xb=!1;try{var Lb=Object.preventExtensions({})}catch{Xb=!0}var Id=[],Pd=0,Q0=null,V0=0,Jn=[],kn=0,Ns=null,Cc=1,Hc="",va=null,Kt=null,st=!1,Nc=!1,$n=null,Bs=null,xi=!1,fv=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),Zb=0;if(typeof performance=="object"&&typeof performance.now=="function")var JT=performance,qb=function(){return JT.now()};else{var kT=Date;qb=function(){return kT.now()}}var sv=ue(null),rv=ue(null),Kb={},X0=null,eh=null,th=!1,$T=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,i){e.push(i)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},WT=Qt.unstable_scheduleCallback,FT=Qt.unstable_NormalPriority,Tl={$$typeof:Ya,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},lh=Qt.unstable_now,Jb=-0,L0=-0,Qa=-1.1,js=-0,Z0=!1,q0=!1,Zy=null,dv=0,Ys=0,ah=null,kb=w.S;w.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&$p(e,t),kb!==null&&kb(e,t)};var ws=ue(null),Hu={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},qy=[],Ky=[],Jy=[],ky=[],$y=[],Wy=[],Gs=new Set;Hu.recordUnsafeLifecycleWarnings=function(e,t){Gs.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&qy.push(e),e.mode&ua&&typeof t.UNSAFE_componentWillMount=="function"&&Ky.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Jy.push(e),e.mode&ua&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&ky.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&$y.push(e),e.mode&ua&&typeof t.UNSAFE_componentWillUpdate=="function"&&Wy.push(e))},Hu.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<qy.length&&(qy.forEach(function(m){e.add(W(m)||"Component"),Gs.add(m.type)}),qy=[]);var t=new Set;0<Ky.length&&(Ky.forEach(function(m){t.add(W(m)||"Component"),Gs.add(m.type)}),Ky=[]);var a=new Set;0<Jy.length&&(Jy.forEach(function(m){a.add(W(m)||"Component"),Gs.add(m.type)}),Jy=[]);var i=new Set;0<ky.length&&(ky.forEach(function(m){i.add(W(m)||"Component"),Gs.add(m.type)}),ky=[]);var o=new Set;0<$y.length&&($y.forEach(function(m){o.add(W(m)||"Component"),Gs.add(m.type)}),$y=[]);var f=new Set;if(0<Wy.length&&(Wy.forEach(function(m){f.add(W(m)||"Component"),Gs.add(m.type)}),Wy=[]),0<t.size){var d=ie(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
205
|
-
|
|
206
|
-
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
207
|
-
|
|
208
|
-
Please update the following components: %s`,d)}0<i.size&&(d=ie(i),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
209
|
-
|
|
210
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
211
|
-
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
212
|
-
|
|
213
|
-
Please update the following components: %s`,d)),0<f.size&&(d=ie(f),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
214
|
-
|
|
215
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
216
|
-
|
|
217
|
-
Please update the following components: %s`,d)),0<e.size&&(d=ie(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
218
|
-
|
|
219
|
-
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
220
|
-
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
221
|
-
|
|
222
|
-
Please update the following components: %s`,d)),0<a.size&&(d=ie(a),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
223
|
-
|
|
224
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
225
|
-
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
226
|
-
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
227
|
-
|
|
228
|
-
Please update the following components: %s`,d)),0<o.size&&(d=ie(o),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
229
|
-
|
|
230
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
231
|
-
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
232
|
-
|
|
233
|
-
Please update the following components: %s`,d))};var K0=new Map,$b=new Set;Hu.recordLegacyContextWarning=function(e,t){for(var a=null,i=e;i!==null;)i.mode&ua&&(a=i),i=i.return;a===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!$b.has(e.type)&&(i=K0.get(a),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(i===void 0&&(i=[],K0.set(a,i)),i.push(e))},Hu.flushLegacyContextWarning=function(){K0.forEach(function(e){if(e.length!==0){var t=e[0],a=new Set;e.forEach(function(o){a.add(W(o)||"Component"),$b.add(o.type)});var i=ie(a);re(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
234
|
-
|
|
235
|
-
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
236
|
-
|
|
237
|
-
Please update the following components: %s
|
|
238
|
-
|
|
239
|
-
Learn more about this warning here: https://react.dev/link/legacy-context`,i)})}})},Hu.discardPendingWarnings=function(){qy=[],Ky=[],Jy=[],ky=[],$y=[],Wy=[],K0=new Map};var Fy=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),Wb=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),J0=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),hv={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},Iy=null,k0=!1,Wn=0,Fn=1,ba=2,Xl=4,_l=8,Fb=0,Ib=1,Pb=2,mv=3,Wo=!1,e1=!1,yv=null,pv=!1,nh=ue(null),$0=ue(0),uh,t1=new Set,l1=new Set,gv=new Set,a1=new Set,Fo=0,je=null,Et=null,sl=null,W0=!1,ih=!1,Qs=!1,F0=0,Py=0,Bc=null,IT=0,PT=25,G=null,In=null,jc=-1,ep=!1,I0={readContext:At,use:Tn,useCallback:Ut,useContext:Ut,useEffect:Ut,useImperativeHandle:Ut,useLayoutEffect:Ut,useInsertionEffect:Ut,useMemo:Ut,useReducer:Ut,useRef:Ut,useState:Ut,useDebugValue:Ut,useDeferredValue:Ut,useTransition:Ut,useSyncExternalStore:Ut,useId:Ut,useHostTransitionStatus:Ut,useFormState:Ut,useActionState:Ut,useOptimistic:Ut,useMemoCache:Ut,useCacheRefresh:Ut},vv=null,n1=null,bv=null,u1=null,Oi=null,Nu=null,P0=null;vv={readContext:function(e){return At(e)},use:Tn,useCallback:function(e,t){return G="useCallback",Ke(),Da(t),Qf(e,t)},useContext:function(e){return G="useContext",Ke(),At(e)},useEffect:function(e,t){return G="useEffect",Ke(),Da(t),Rr(e,t)},useImperativeHandle:function(e,t,a){return G="useImperativeHandle",Ke(),Da(a),Dr(e,t,a)},useInsertionEffect:function(e,t){G="useInsertionEffect",Ke(),Da(t),Ua(4,ba,e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",Ke(),Da(t),zr(e,t)},useMemo:function(e,t){G="useMemo",Ke(),Da(t);var a=w.H;w.H=Oi;try{return xr(e,t)}finally{w.H=a}},useReducer:function(e,t,a){G="useReducer",Ke();var i=w.H;w.H=Oi;try{return it(e,t,a)}finally{w.H=i}},useRef:function(e){return G="useRef",Ke(),Gf(e)},useState:function(e){G="useState",Ke();var t=w.H;w.H=Oi;try{return mu(e)}finally{w.H=t}},useDebugValue:function(){G="useDebugValue",Ke()},useDeferredValue:function(e,t){return G="useDeferredValue",Ke(),Or(e,t)},useTransition:function(){return G="useTransition",Ke(),Rn()},useSyncExternalStore:function(e,t,a){return G="useSyncExternalStore",Ke(),hu(e,t,a)},useId:function(){return G="useId",Ke(),zn()},useFormState:function(e,t){return G="useFormState",Ke(),io(),ho(e,t)},useActionState:function(e,t){return G="useActionState",Ke(),ho(e,t)},useOptimistic:function(e){return G="useOptimistic",Ke(),Pa(e)},useHostTransitionStatus:$l,useMemoCache:Lt,useCacheRefresh:function(){return G="useCacheRefresh",Ke(),ic()}},n1={readContext:function(e){return At(e)},use:Tn,useCallback:function(e,t){return G="useCallback",P(),Qf(e,t)},useContext:function(e){return G="useContext",P(),At(e)},useEffect:function(e,t){return G="useEffect",P(),Rr(e,t)},useImperativeHandle:function(e,t,a){return G="useImperativeHandle",P(),Dr(e,t,a)},useInsertionEffect:function(e,t){G="useInsertionEffect",P(),Ua(4,ba,e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",P(),zr(e,t)},useMemo:function(e,t){G="useMemo",P();var a=w.H;w.H=Oi;try{return xr(e,t)}finally{w.H=a}},useReducer:function(e,t,a){G="useReducer",P();var i=w.H;w.H=Oi;try{return it(e,t,a)}finally{w.H=i}},useRef:function(e){return G="useRef",P(),Gf(e)},useState:function(e){G="useState",P();var t=w.H;w.H=Oi;try{return mu(e)}finally{w.H=t}},useDebugValue:function(){G="useDebugValue",P()},useDeferredValue:function(e,t){return G="useDeferredValue",P(),Or(e,t)},useTransition:function(){return G="useTransition",P(),Rn()},useSyncExternalStore:function(e,t,a){return G="useSyncExternalStore",P(),hu(e,t,a)},useId:function(){return G="useId",P(),zn()},useActionState:function(e,t){return G="useActionState",P(),ho(e,t)},useFormState:function(e,t){return G="useFormState",P(),io(),ho(e,t)},useOptimistic:function(e){return G="useOptimistic",P(),Pa(e)},useHostTransitionStatus:$l,useMemoCache:Lt,useCacheRefresh:function(){return G="useCacheRefresh",P(),ic()}},bv={readContext:function(e){return At(e)},use:Tn,useCallback:function(e,t){return G="useCallback",P(),nc(e,t)},useContext:function(e){return G="useContext",P(),At(e)},useEffect:function(e,t){G="useEffect",P(),Ft(2048,_l,e,t)},useImperativeHandle:function(e,t,a){return G="useImperativeHandle",P(),An(e,t,a)},useInsertionEffect:function(e,t){return G="useInsertionEffect",P(),Ft(4,ba,e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",P(),Ft(4,Xl,e,t)},useMemo:function(e,t){G="useMemo",P();var a=w.H;w.H=Nu;try{return ii(e,t)}finally{w.H=a}},useReducer:function(e,t,a){G="useReducer",P();var i=w.H;w.H=Nu;try{return Oa(e,t,a)}finally{w.H=i}},useRef:function(){return G="useRef",P(),lt().memoizedState},useState:function(){G="useState",P();var e=w.H;w.H=Nu;try{return Oa(ct)}finally{w.H=e}},useDebugValue:function(){G="useDebugValue",P()},useDeferredValue:function(e,t){return G="useDeferredValue",P(),Vf(e,t)},useTransition:function(){return G="useTransition",P(),Cr()},useSyncExternalStore:function(e,t,a){return G="useSyncExternalStore",P(),Bf(e,t,a)},useId:function(){return G="useId",P(),lt().memoizedState},useFormState:function(e){return G="useFormState",P(),io(),Ar(e)},useActionState:function(e){return G="useActionState",P(),Ar(e)},useOptimistic:function(e,t){return G="useOptimistic",P(),yu(e,t)},useHostTransitionStatus:$l,useMemoCache:Lt,useCacheRefresh:function(){return G="useCacheRefresh",P(),lt().memoizedState}},u1={readContext:function(e){return At(e)},use:Tn,useCallback:function(e,t){return G="useCallback",P(),nc(e,t)},useContext:function(e){return G="useContext",P(),At(e)},useEffect:function(e,t){G="useEffect",P(),Ft(2048,_l,e,t)},useImperativeHandle:function(e,t,a){return G="useImperativeHandle",P(),An(e,t,a)},useInsertionEffect:function(e,t){return G="useInsertionEffect",P(),Ft(4,ba,e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",P(),Ft(4,Xl,e,t)},useMemo:function(e,t){G="useMemo",P();var a=w.H;w.H=P0;try{return ii(e,t)}finally{w.H=a}},useReducer:function(e,t,a){G="useReducer",P();var i=w.H;w.H=P0;try{return ac(e,t,a)}finally{w.H=i}},useRef:function(){return G="useRef",P(),lt().memoizedState},useState:function(){G="useState",P();var e=w.H;w.H=P0;try{return ac(ct)}finally{w.H=e}},useDebugValue:function(){G="useDebugValue",P()},useDeferredValue:function(e,t){return G="useDeferredValue",P(),Mr(e,t)},useTransition:function(){return G="useTransition",P(),Hr()},useSyncExternalStore:function(e,t,a){return G="useSyncExternalStore",P(),Bf(e,t,a)},useId:function(){return G="useId",P(),lt().memoizedState},useFormState:function(e){return G="useFormState",P(),io(),mo(e)},useActionState:function(e){return G="useActionState",P(),mo(e)},useOptimistic:function(e,t){return G="useOptimistic",P(),Er(e,t)},useHostTransitionStatus:$l,useMemoCache:Lt,useCacheRefresh:function(){return G="useCacheRefresh",P(),lt().memoizedState}},Oi={readContext:function(e){return be(),At(e)},use:function(e){return V(),Tn(e)},useCallback:function(e,t){return G="useCallback",V(),Ke(),Qf(e,t)},useContext:function(e){return G="useContext",V(),Ke(),At(e)},useEffect:function(e,t){return G="useEffect",V(),Ke(),Rr(e,t)},useImperativeHandle:function(e,t,a){return G="useImperativeHandle",V(),Ke(),Dr(e,t,a)},useInsertionEffect:function(e,t){G="useInsertionEffect",V(),Ke(),Ua(4,ba,e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",V(),Ke(),zr(e,t)},useMemo:function(e,t){G="useMemo",V(),Ke();var a=w.H;w.H=Oi;try{return xr(e,t)}finally{w.H=a}},useReducer:function(e,t,a){G="useReducer",V(),Ke();var i=w.H;w.H=Oi;try{return it(e,t,a)}finally{w.H=i}},useRef:function(e){return G="useRef",V(),Ke(),Gf(e)},useState:function(e){G="useState",V(),Ke();var t=w.H;w.H=Oi;try{return mu(e)}finally{w.H=t}},useDebugValue:function(){G="useDebugValue",V(),Ke()},useDeferredValue:function(e,t){return G="useDeferredValue",V(),Ke(),Or(e,t)},useTransition:function(){return G="useTransition",V(),Ke(),Rn()},useSyncExternalStore:function(e,t,a){return G="useSyncExternalStore",V(),Ke(),hu(e,t,a)},useId:function(){return G="useId",V(),Ke(),zn()},useFormState:function(e,t){return G="useFormState",V(),Ke(),ho(e,t)},useActionState:function(e,t){return G="useActionState",V(),Ke(),ho(e,t)},useOptimistic:function(e){return G="useOptimistic",V(),Ke(),Pa(e)},useMemoCache:function(e){return V(),Lt(e)},useHostTransitionStatus:$l,useCacheRefresh:function(){return G="useCacheRefresh",Ke(),ic()}},Nu={readContext:function(e){return be(),At(e)},use:function(e){return V(),Tn(e)},useCallback:function(e,t){return G="useCallback",V(),P(),nc(e,t)},useContext:function(e){return G="useContext",V(),P(),At(e)},useEffect:function(e,t){G="useEffect",V(),P(),Ft(2048,_l,e,t)},useImperativeHandle:function(e,t,a){return G="useImperativeHandle",V(),P(),An(e,t,a)},useInsertionEffect:function(e,t){return G="useInsertionEffect",V(),P(),Ft(4,ba,e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",V(),P(),Ft(4,Xl,e,t)},useMemo:function(e,t){G="useMemo",V(),P();var a=w.H;w.H=Nu;try{return ii(e,t)}finally{w.H=a}},useReducer:function(e,t,a){G="useReducer",V(),P();var i=w.H;w.H=Nu;try{return Oa(e,t,a)}finally{w.H=i}},useRef:function(){return G="useRef",V(),P(),lt().memoizedState},useState:function(){G="useState",V(),P();var e=w.H;w.H=Nu;try{return Oa(ct)}finally{w.H=e}},useDebugValue:function(){G="useDebugValue",V(),P()},useDeferredValue:function(e,t){return G="useDeferredValue",V(),P(),Vf(e,t)},useTransition:function(){return G="useTransition",V(),P(),Cr()},useSyncExternalStore:function(e,t,a){return G="useSyncExternalStore",V(),P(),Bf(e,t,a)},useId:function(){return G="useId",V(),P(),lt().memoizedState},useFormState:function(e){return G="useFormState",V(),P(),Ar(e)},useActionState:function(e){return G="useActionState",V(),P(),Ar(e)},useOptimistic:function(e,t){return G="useOptimistic",V(),P(),yu(e,t)},useMemoCache:function(e){return V(),Lt(e)},useHostTransitionStatus:$l,useCacheRefresh:function(){return G="useCacheRefresh",P(),lt().memoizedState}},P0={readContext:function(e){return be(),At(e)},use:function(e){return V(),Tn(e)},useCallback:function(e,t){return G="useCallback",V(),P(),nc(e,t)},useContext:function(e){return G="useContext",V(),P(),At(e)},useEffect:function(e,t){G="useEffect",V(),P(),Ft(2048,_l,e,t)},useImperativeHandle:function(e,t,a){return G="useImperativeHandle",V(),P(),An(e,t,a)},useInsertionEffect:function(e,t){return G="useInsertionEffect",V(),P(),Ft(4,ba,e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",V(),P(),Ft(4,Xl,e,t)},useMemo:function(e,t){G="useMemo",V(),P();var a=w.H;w.H=Nu;try{return ii(e,t)}finally{w.H=a}},useReducer:function(e,t,a){G="useReducer",V(),P();var i=w.H;w.H=Nu;try{return ac(e,t,a)}finally{w.H=i}},useRef:function(){return G="useRef",V(),P(),lt().memoizedState},useState:function(){G="useState",V(),P();var e=w.H;w.H=Nu;try{return ac(ct)}finally{w.H=e}},useDebugValue:function(){G="useDebugValue",V(),P()},useDeferredValue:function(e,t){return G="useDeferredValue",V(),P(),Mr(e,t)},useTransition:function(){return G="useTransition",V(),P(),Hr()},useSyncExternalStore:function(e,t,a){return G="useSyncExternalStore",V(),P(),Bf(e,t,a)},useId:function(){return G="useId",V(),P(),lt().memoizedState},useFormState:function(e){return G="useFormState",V(),P(),mo(e)},useActionState:function(e){return G="useActionState",V(),P(),mo(e)},useOptimistic:function(e,t){return G="useOptimistic",V(),P(),Er(e,t)},useMemoCache:function(e){return V(),Lt(e)},useHostTransitionStatus:$l,useCacheRefresh:function(){return G="useCacheRefresh",P(),lt().memoizedState}};var i1={react_stack_bottom_frame:function(e,t,a){var i=na;na=!0;try{return e(t,a)}finally{na=i}}},Sv=i1.react_stack_bottom_frame.bind(i1),c1={react_stack_bottom_frame:function(e){var t=na;na=!0;try{return e.render()}finally{na=t}}},o1=c1.react_stack_bottom_frame.bind(c1),f1={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(a){ze(e,e.return,a)}}},Tv=f1.react_stack_bottom_frame.bind(f1),s1={react_stack_bottom_frame:function(e,t,a,i,o){try{t.componentDidUpdate(a,i,o)}catch(f){ze(e,e.return,f)}}},r1=s1.react_stack_bottom_frame.bind(s1),d1={react_stack_bottom_frame:function(e,t){var a=t.stack;e.componentDidCatch(t.value,{componentStack:a!==null?a:""})}},e2=d1.react_stack_bottom_frame.bind(d1),h1={react_stack_bottom_frame:function(e,t,a){try{a.componentWillUnmount()}catch(i){ze(e,t,i)}}},m1=h1.react_stack_bottom_frame.bind(h1),y1={react_stack_bottom_frame:function(e){e.resourceKind!=null&&console.error("Expected only SimpleEffects when enableUseEffectCRUDOverload is disabled, got %s",e.resourceKind);var t=e.create;return e=e.inst,t=t(),e.destroy=t}},t2=y1.react_stack_bottom_frame.bind(y1),p1={react_stack_bottom_frame:function(e,t,a){try{a()}catch(i){ze(e,t,i)}}},l2=p1.react_stack_bottom_frame.bind(p1),g1={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},Io=g1.react_stack_bottom_frame.bind(g1),ch=null,tp=0,ke=null,_v,v1=_v=!1,b1={},S1={},T1={};K=function(e,t,a){if(a!==null&&typeof a=="object"&&a._store&&(!a._store.validated&&a.key==null||a._store.validated===2)){if(typeof a._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");a._store.validated=1;var i=W(e),o=i||"null";if(!b1[o]){b1[o]=!0,a=a._owner,e=e._debugOwner;var f="";e&&typeof e.tag=="number"&&(o=W(e))&&(f=`
|
|
240
|
-
|
|
241
|
-
Check the render method of \``+o+"`."),f||i&&(f=`
|
|
242
|
-
|
|
243
|
-
Check the top-level render call using <`+i+">.");var d="";a!=null&&e!==a&&(i=null,typeof a.tag=="number"?i=W(a):typeof a.name=="string"&&(i=a.name),i&&(d=" It was passed a child from "+i+".")),re(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',f,d)})}}};var oh=qf(!0),_1=qf(!1),Pn=ue(null),Mi=null,fh=1,lp=2,El=ue(0),E1={},A1=new Set,R1=new Set,z1=new Set,D1=new Set,x1=new Set,O1=new Set,M1=new Set,U1=new Set,C1=new Set,H1=new Set;Object.freeze(E1);var Ev={enqueueSetState:function(e,t,a){e=e._reactInternals;var i=Il(e),o=bn(i);o.payload=t,a!=null&&(vm(a),o.callback=a),t=Wa(e,o,i),t!==null&&(jt(t,e,i),ti(t,e,i)),_a(e,i)},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var i=Il(e),o=bn(i);o.tag=Ib,o.payload=t,a!=null&&(vm(a),o.callback=a),t=Wa(e,o,i),t!==null&&(jt(t,e,i),ti(t,e,i)),_a(e,i)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=Il(e),i=bn(a);i.tag=Pb,t!=null&&(vm(t),i.callback=t),t=Wa(e,i,a),t!==null&&(jt(t,e,a),ti(t,e,a)),ne!==null&&typeof ne.markForceUpdateScheduled=="function"&&ne.markForceUpdateScheduled(e,a)}},Av=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},sh=null,Rv=null,N1=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),Ml=!1,B1={},j1={},Y1={},w1={},rh=!1,G1={},zv={},Dv={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},Q1=!1,V1=null;V1=new Set;var Yc=!1,el=!1,xv=!1,X1=typeof WeakSet=="function"?WeakSet:Set,Ul=null,dh=null,hh=null,rl=null,Va=!1,Bu=null,ap=8192,a2={getCacheForType:function(e){var t=At(Tl),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},getOwner:function(){return pa}};if(typeof Symbol=="function"&&Symbol.for){var np=Symbol.for;np("selector.component"),np("selector.has_pseudo_class"),np("selector.role"),np("selector.test_id"),np("selector.text")}var n2=[],u2=typeof WeakMap=="function"?WeakMap:Map,cn=0,Sa=2,ju=4,wc=0,up=1,mh=2,Ov=3,Vs=4,eg=6,L1=5,gt=cn,Rt=null,et=null,tt=0,Xa=0,ip=1,Xs=2,cp=3,Z1=4,Mv=5,yh=6,op=7,Uv=8,Ls=9,St=Xa,on=null,Po=!1,ph=!1,Cv=!1,Ui=0,Jt=wc,ef=0,tf=0,Hv=0,fn=0,Zs=0,fp=null,Ta=null,tg=!1,Nv=0,q1=300,lg=1/0,K1=500,sp=null,lf=null,i2=0,c2=1,o2=2,qs=0,J1=1,k1=2,$1=3,f2=4,Bv=5,Ll=0,af=null,gh=null,nf=0,jv=0,Yv=null,W1=null,s2=50,rp=0,wv=null,Gv=!1,ag=!1,r2=50,Ks=0,dp=null,vh=!1,ng=null,F1=!1,I1=new Set,d2={},ug=null,bh=null,Qv=!1,Vv=!1,ig=!1,Xv=!1,Js=0,Lv={};(function(){for(var e=0;e<iv.length;e++){var t=iv[e],a=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),qa(a,"on"+t)}qa(jb,"onAnimationEnd"),qa(Yb,"onAnimationIteration"),qa(wb,"onAnimationStart"),qa("dblclick","onDoubleClick"),qa("focusin","onFocus"),qa("focusout","onBlur"),qa(LT,"onTransitionRun"),qa(ZT,"onTransitionStart"),qa(qT,"onTransitionCancel"),qa(Gb,"onTransitionEnd")})(),ji("onMouseEnter",["mouseout","mouseover"]),ji("onMouseLeave",["mouseout","mouseover"]),ji("onPointerEnter",["pointerout","pointerover"]),ji("onPointerLeave",["pointerout","pointerover"]),Vu("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Vu("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Vu("onBeforeInput",["compositionend","keypress","textInput","paste"]),Vu("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Vu("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Vu("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var hp="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(" "),Zv=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(hp)),cg="_reactListening"+Math.random().toString(36).slice(2),P1=!1,eS=!1,og=!1,tS=!1,fg=!1,sg=!1,lS=!1,rg={},h2=/\r\n?/g,m2=/\u0000|\uFFFD/g,ks="http://www.w3.org/1999/xlink",qv="http://www.w3.org/XML/1998/namespace",y2="javascript:throw new Error('React form unexpectedly submitted.')",p2="suppressHydrationWarning",dg="$",hg="/$",Gc="$?",mp="$!",g2=1,v2=2,b2=4,Kv="F!",aS="F",nS="complete",S2="style",Qc=0,Sh=1,mg=2,Jv=null,kv=null,uS={dialog:!0,webview:!0},$v=null,iS=typeof setTimeout=="function"?setTimeout:void 0,T2=typeof clearTimeout=="function"?clearTimeout:void 0,$s=-1,cS=typeof Promise=="function"?Promise:void 0,_2=typeof queueMicrotask=="function"?queueMicrotask:typeof cS<"u"?function(e){return cS.resolve(null).then(e).catch(ny)}:iS,Wv=null,Ws=0,yp=1,oS=2,fS=3,eu=4,tu=new Map,sS=new Set,Vc=Ce.d;Ce.d={f:function(){var e=Vc.f(),t=pc();return e||t},r:function(e){var t=ia(e);t!==null&&t.tag===5&&t.type==="form"?ym(t):Vc.r(e)},D:function(e){Vc.D(e),g0("dns-prefetch",e,null)},C:function(e,t){Vc.C(e,t),g0("preconnect",e,t)},L:function(e,t,a){Vc.L(e,t,a);var i=Th;if(i&&e&&t){var o='link[rel="preload"][as="'+ca(t)+'"]';t==="image"&&a&&a.imageSrcSet?(o+='[imagesrcset="'+ca(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(o+='[imagesizes="'+ca(a.imageSizes)+'"]')):o+='[href="'+ca(e)+'"]';var f=o;switch(t){case"style":f=pi(e);break;case"script":f=Ec(e)}tu.has(f)||(e=qe({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),tu.set(f,e),i.querySelector(o)!==null||t==="style"&&i.querySelector(Qn(f))||t==="script"&&i.querySelector(Ac(f))||(t=i.createElement("link"),wt(t,"link",e),al(t),i.head.appendChild(t)))}},m:function(e,t){Vc.m(e,t);var a=Th;if(a&&e){var i=t&&typeof t.as=="string"?t.as:"script",o='link[rel="modulepreload"][as="'+ca(i)+'"][href="'+ca(e)+'"]',f=o;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=Ec(e)}if(!tu.has(f)&&(e=qe({rel:"modulepreload",href:e},t),tu.set(f,e),a.querySelector(o)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Ac(f)))return}i=a.createElement("link"),wt(i,"link",e),al(i),a.head.appendChild(i)}}},X:function(e,t){Vc.X(e,t);var a=Th;if(a&&e){var i=dn(a).hoistableScripts,o=Ec(e),f=i.get(o);f||(f=a.querySelector(Ac(o)),f||(e=qe({src:e,async:!0},t),(t=tu.get(o))&&dy(e,t),f=a.createElement("script"),al(f),wt(f,"link",e),a.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},i.set(o,f))}},S:function(e,t,a){Vc.S(e,t,a);var i=Th;if(i&&e){var o=dn(i).hoistableStyles,f=pi(e);t=t||"default";var d=o.get(f);if(!d){var m={loading:Ws,preload:null};if(d=i.querySelector(Qn(f)))m.loading=yp|eu;else{e=qe({rel:"stylesheet",href:e,"data-precedence":t},a),(a=tu.get(f))&&ry(e,a);var g=d=i.createElement("link");al(g),wt(g,"link",e),g._p=new Promise(function(v,B){g.onload=v,g.onerror=B}),g.addEventListener("load",function(){m.loading|=yp}),g.addEventListener("error",function(){m.loading|=oS}),m.loading|=eu,Ad(d,t,i)}d={type:"stylesheet",instance:d,count:1,state:m},o.set(f,d)}}},M:function(e,t){Vc.M(e,t);var a=Th;if(a&&e){var i=dn(a).hoistableScripts,o=Ec(e),f=i.get(o);f||(f=a.querySelector(Ac(o)),f||(e=qe({src:e,async:!0,type:"module"},t),(t=tu.get(o))&&dy(e,t),f=a.createElement("script"),al(f),wt(f,"link",e),a.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},i.set(o,f))}}};var Th=typeof document>"u"?null:document,yg=null,pp=null,Fv=null,pg=null,Fs=$g,gp={$$typeof:Ya,Provider:null,Consumer:null,_currentValue:Fs,_currentValue2:Fs,_threadCount:0},rS="%c%s%c ",dS="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",hS="",gg=" ",E2=Function.prototype.bind,mS=!1,yS=null,pS=null,gS=null,vS=null,bS=null,SS=null,TS=null,_S=null,ES=null;yS=function(e,t,a,i){t=h(e,t),t!==null&&(a=E(t.memoizedState,a,0,i),t.memoizedState=a,t.baseState=a,e.memoizedProps=qe({},e.memoizedProps),a=ql(e,2),a!==null&&jt(a,e,2))},pS=function(e,t,a){t=h(e,t),t!==null&&(a=D(t.memoizedState,a,0),t.memoizedState=a,t.baseState=a,e.memoizedProps=qe({},e.memoizedProps),a=ql(e,2),a!==null&&jt(a,e,2))},gS=function(e,t,a,i){t=h(e,t),t!==null&&(a=O(t.memoizedState,a,i),t.memoizedState=a,t.baseState=a,e.memoizedProps=qe({},e.memoizedProps),a=ql(e,2),a!==null&&jt(a,e,2))},vS=function(e,t,a){e.pendingProps=E(e.memoizedProps,t,0,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=ql(e,2),t!==null&&jt(t,e,2)},bS=function(e,t){e.pendingProps=D(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=ql(e,2),t!==null&&jt(t,e,2)},SS=function(e,t,a){e.pendingProps=O(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=ql(e,2),t!==null&&jt(t,e,2)},TS=function(e){var t=ql(e,2);t!==null&&jt(t,e,2)},_S=function(e){F=e},ES=function(e){C=e};var vg=!0,bg=null,Iv=!1,uf=null,cf=null,of=null,vp=new Map,bp=new Map,ff=[],A2="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(" "),Sg=null;if(vs.prototype.render=Md.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var a=arguments;typeof a[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):xe(a[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof a[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),a=e;var i=t.current,o=Il(i);pt(i,o,a,t,null,null)},vs.prototype.unmount=Md.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(gt&(Sa|ju))!==cn&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),pt(e.current,2,null,e,null,null),pc(),t[Ai]=null}},vs.prototype.unstable_scheduleHydration=function(e){if(e){var t=xp();e={blockedOn:null,target:e,priority:t};for(var a=0;a<ff.length&&t!==0&&t<ff[a].priority;a++);ff.splice(a,0,e),a===0&&E0(e)}},(function(){var e=bs.version;if(e!=="19.1.1")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
244
|
-
- react: `+(e+`
|
|
245
|
-
- react-dom: 19.1.1
|
|
246
|
-
Learn more: https://react.dev/warnings/version-mismatch`))})(),typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),Ce.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=oe(t),e=e!==null?Me(e):null,e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:w,reconcilerVersion:"19.1.1"};return e.overrideHookState=yS,e.overrideHookStateDeletePath=pS,e.overrideHookStateRenamePath=gS,e.overrideProps=vS,e.overridePropsDeletePath=bS,e.overridePropsRenamePath=SS,e.scheduleUpdate=TS,e.setErrorHandler=_S,e.setSuspenseHandler=ES,e.scheduleRefresh=Ne,e.scheduleRoot=Xe,e.setRefreshHandler=Ye,e.getCurrentFiber=qg,e.getLaneLabelMap=Kg,e.injectProfilingHooks=sn,nt(e)})()&&S&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var AS=window.location.protocol;/^(https?|file):$/.test(AS)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(AS==="file:"?`
|
|
247
|
-
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}Eh.createRoot=function(e,t){if(!xe(e))throw Error("Target container is not a DOM element.");z0(e);var a=!1,i="",o=bm,f=t0,d=Yr,m=null;return t!=null&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===bi&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
248
|
-
|
|
249
|
-
let root = createRoot(domContainer);
|
|
250
|
-
root.render(<App />);`),t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(f=t.onCaughtError),t.onRecoverableError!==void 0&&(d=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(m=t.unstable_transitionCallbacks)),t=yy(e,1,!1,null,null,a,i,o,f,d,m,null),e[Ai]=t.current,Fm(e),new Md(t)},Eh.hydrateRoot=function(e,t,a){if(!xe(e))throw Error("Target container is not a DOM element.");z0(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var i=!1,o="",f=bm,d=t0,m=Yr,g=null,v=null;return a!=null&&(a.unstable_strictMode===!0&&(i=!0),a.identifierPrefix!==void 0&&(o=a.identifierPrefix),a.onUncaughtError!==void 0&&(f=a.onUncaughtError),a.onCaughtError!==void 0&&(d=a.onCaughtError),a.onRecoverableError!==void 0&&(m=a.onRecoverableError),a.unstable_transitionCallbacks!==void 0&&(g=a.unstable_transitionCallbacks),a.formState!==void 0&&(v=a.formState)),t=yy(e,1,!0,t,a??null,i,o,f,d,m,g,v),t.context=py(null),a=t.current,i=Il(a),i=Hl(i),o=bn(i),o.callback=null,Wa(a,o,i),a=i,t.current.lanes=a,qc(t,a),Na(t),e[Ai]=t.current,Fm(e),new vs(t)},Eh.version="19.1.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Eh}var ib;function OS(){if(ib)return Sp.exports;ib=1;function h(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(h)}catch(E){console.error(E)}}}return process.env.NODE_ENV==="production"?(h(),Sp.exports=DS()):Sp.exports=xS(),Sp.exports}var MS=OS(),_p={exports:{}},Ah={};/**
|
|
17
|
+
*/var r=kd(),h=H,_=Jd;function s(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."}function S(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function z(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}function x(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}function U(l){if(z(l)!==l)throw Error(s(188))}function Z(l){var t=l.alternate;if(!t){if(t=z(l),t===null)throw Error(s(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 U(n),l;if(u===a)return U(n),t;u=u.sibling}throw Error(s(188))}if(e.return!==a.return)e=n,a=u;else{for(var c=!1,f=n.child;f;){if(f===e){c=!0,e=n,a=u;break}if(f===a){c=!0,a=n,e=u;break}f=f.sibling}if(!c){for(f=u.child;f;){if(f===e){c=!0,e=u,a=n;break}if(f===a){c=!0,a=u,e=n;break}f=f.sibling}if(!c)throw Error(s(189))}}if(e.alternate!==a)throw Error(s(190))}if(e.tag!==3)throw Error(s(188));return e.stateNode.current===e?l:t}function el(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l;for(l=l.child;l!==null;){if(t=el(l),t!==null)return t;l=l.sibling}return null}var D=Object.assign,q=Symbol.for("react.element"),dl=Symbol.for("react.transitional.element"),fl=Symbol.for("react.portal"),$=Symbol.for("react.fragment"),ll=Symbol.for("react.strict_mode"),zl=Symbol.for("react.profiler"),B=Symbol.for("react.provider"),k=Symbol.for("react.consumer"),j=Symbol.for("react.context"),Q=Symbol.for("react.forward_ref"),V=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),X=Symbol.for("react.lazy"),L=Symbol.for("react.activity"),C=Symbol.for("react.memo_cache_sentinel"),Y=Symbol.iterator;function ml(l){return l===null||typeof l!="object"?null:(l=Y&&l[Y]||l["@@iterator"],typeof l=="function"?l:null)}var hl=Symbol.for("react.client.reference");function F(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===hl?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case $:return"Fragment";case zl:return"Profiler";case ll:return"StrictMode";case V:return"Suspense";case P:return"SuspenseList";case L:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case fl:return"Portal";case j:return(l.displayName||"Context")+".Provider";case k:return(l._context.displayName||"Context")+".Consumer";case Q:var t=l.render;return l=l.displayName,l||(l=t.displayName||t.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case W:return t=l.displayName||null,t!==null?t:F(l.type)||"Memo";case X:t=l._payload,l=l._init;try{return F(l(t))}catch{}}return null}var E=Array.isArray,M=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,O=_.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,nl={pending:!1,data:null,method:null,action:null},_l=[],Nl=-1;function xl(l){return{current:l}}function cl(l){0>Nl||(l.current=_l[Nl],_l[Nl]=null,Nl--)}function I(l,t){Nl++,_l[Nl]=l.current,l.current=t}var Ml=xl(null),Pt=xl(null),Et=xl(null),Rt=xl(null);function Xa(l,t){switch(I(Et,t),I(Pt,l),I(Ml,null),t.nodeType){case 9:case 11:l=(l=t.documentElement)&&(l=l.namespaceURI)?Sd(l):0;break;default:if(l=t.tagName,t=t.namespaceURI)t=Sd(t),l=pd(t,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}cl(Ml),I(Ml,l)}function Wl(){cl(Ml),cl(Pt),cl(Et)}function Ne(l){l.memoizedState!==null&&I(Rt,l);var t=Ml.current,e=pd(t,l.type);t!==e&&(I(Pt,l),I(Ml,e))}function le(l){Pt.current===l&&(cl(Ml),cl(Pt)),Rt.current===l&&(cl(Rt),Rn._currentValue=nl)}var te=Object.prototype.hasOwnProperty,ee=r.unstable_scheduleCallback,qe=r.unstable_cancelCallback,vi=r.unstable_shouldYield,gi=r.unstable_requestPaint,Vl=r.unstable_now,Bt=r.unstable_getCurrentPriorityLevel,Kn=r.unstable_ImmediatePriority,ls=r.unstable_UserBlockingPriority,wn=r.unstable_NormalPriority,Lm=r.unstable_LowPriority,ts=r.unstable_IdlePriority,Jm=r.log,qm=r.unstable_setDisableYieldValue,Za=null,tt=null;function ae(l){if(typeof Jm=="function"&&qm(l),tt&&typeof tt.setStrictMode=="function")try{tt.setStrictMode(Za,l)}catch{}}var et=Math.clz32?Math.clz32:$m,km=Math.log,Wm=Math.LN2;function $m(l){return l>>>=0,l===0?32:31-(km(l)/Wm|0)|0}var Ln=256,Jn=4194304;function Me(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:case 262144:case 524288:case 1048576:case 2097152:return l&4194048;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}}function qn(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=Me(a):(c&=f,c!==0?n=Me(c):e||(e=f&~l,e!==0&&(n=Me(e))))):(f=a&~u,f!==0?n=Me(f):c!==0?n=Me(c):e||(e=a&~l,e!==0&&(n=Me(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}function Ca(l,t){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&t)===0}function Fm(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}}function es(){var l=Ln;return Ln<<=1,(Ln&4194048)===0&&(Ln=256),l}function as(){var l=Jn;return Jn<<=1,(Jn&62914560)===0&&(Jn=4194304),l}function bi(l){for(var t=[],e=0;31>e;e++)t.push(l);return t}function Va(l,t){l.pendingLanes|=t,t!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function Im(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,v=l.hiddenUpdates;for(e=c&~e;0<e;){var A=31-et(e),N=1<<A;f[A]=0,o[A]=-1;var g=v[A];if(g!==null)for(v[A]=null,A=0;A<g.length;A++){var p=g[A];p!==null&&(p.lane&=-536870913)}e&=~N}a!==0&&ns(l,a,0),u!==0&&n===0&&l.tag!==0&&(l.suspendedLanes|=u&~(c&~t))}function ns(l,t,e){l.pendingLanes|=t,l.suspendedLanes&=~t;var a=31-et(t);l.entangledLanes|=t,l.entanglements[a]=l.entanglements[a]|1073741824|e&4194090}function us(l,t){var e=l.entangledLanes|=t;for(l=l.entanglements;e;){var a=31-et(e),n=1<<a;n&t|l[a]&t&&(l[a]|=t),e&=~n}}function Si(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}function pi(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}function is(){var l=O.p;return l!==0?l:(l=window.event,l===void 0?32:Zd(l.type))}function Pm(l,t){var e=O.p;try{return O.p=l,t()}finally{O.p=e}}var ne=Math.random().toString(36).slice(2),Jl="__reactFiber$"+ne,$l="__reactProps$"+ne,ke="__reactContainer$"+ne,Ai="__reactEvents$"+ne,l0="__reactListeners$"+ne,t0="__reactHandles$"+ne,cs="__reactResources$"+ne,Ka="__reactMarker$"+ne;function xi(l){delete l[Jl],delete l[$l],delete l[Ai],delete l[l0],delete l[t0]}function We(l){var t=l[Jl];if(t)return t;for(var e=l.parentNode;e;){if(t=e[ke]||e[Jl]){if(e=t.alternate,t.child!==null||e!==null&&e.child!==null)for(l=Ed(l);l!==null;){if(e=l[Jl])return e;l=Ed(l)}return t}l=e,e=l.parentNode}return null}function $e(l){if(l=l[Jl]||l[ke]){var t=l.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return l}return null}function wa(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l.stateNode;throw Error(s(33))}function Fe(l){var t=l[cs];return t||(t=l[cs]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Gl(l){l[Ka]=!0}var fs=new Set,ss={};function De(l,t){Ie(l,t),Ie(l+"Capture",t)}function Ie(l,t){for(ss[l]=t,l=0;l<t.length;l++)fs.add(t[l])}var e0=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]*$"),rs={},os={};function a0(l){return te.call(os,l)?!0:te.call(rs,l)?!1:e0.test(l)?os[l]=!0:(rs[l]=!0,!1)}function kn(l,t,e){if(a0(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)}}function Wn(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)}}function Ht(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)}}var Ti,ds;function Pe(l){if(Ti===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Ti=t&&t[1]||"",ds=-1<e.stack.indexOf(`
|
|
18
|
+
at`)?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
19
|
+
`+Ti+l+ds}var Ei=!1;function zi(l,t){if(!l||Ei)return"";Ei=!0;var e=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var N=function(){throw Error()};if(Object.defineProperty(N.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(N,[])}catch(p){var g=p}Reflect.construct(l,[],N)}else{try{N.call()}catch(p){g=p}l.call(N.prototype)}}else{try{throw Error()}catch(p){g=p}(N=l())&&typeof N.catch=="function"&&N.catch(function(){})}}catch(p){if(p&&g&&typeof p.stack=="string")return[p.stack,g.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),c=u[0],f=u[1];if(c&&f){var o=c.split(`
|
|
20
|
+
`),v=f.split(`
|
|
21
|
+
`);for(n=a=0;a<o.length&&!o[a].includes("DetermineComponentFrameRoot");)a++;for(;n<v.length&&!v[n].includes("DetermineComponentFrameRoot");)n++;if(a===o.length||n===v.length)for(a=o.length-1,n=v.length-1;1<=a&&0<=n&&o[a]!==v[n];)n--;for(;1<=a&&0<=n;a--,n--)if(o[a]!==v[n]){if(a!==1||n!==1)do if(a--,n--,0>n||o[a]!==v[n]){var A=`
|
|
22
|
+
`+o[a].replace(" at new "," at ");return l.displayName&&A.includes("<anonymous>")&&(A=A.replace("<anonymous>",l.displayName)),A}while(1<=a&&0<=n);break}}}finally{Ei=!1,Error.prepareStackTrace=e}return(e=l?l.displayName||l.name:"")?Pe(e):""}function n0(l){switch(l.tag){case 26:case 27:case 5:return Pe(l.type);case 16:return Pe("Lazy");case 13:return Pe("Suspense");case 19:return Pe("SuspenseList");case 0:case 15:return zi(l.type,!1);case 11:return zi(l.type.render,!1);case 1:return zi(l.type,!0);case 31:return Pe("Activity");default:return""}}function ms(l){try{var t="";do t+=n0(l),l=l.return;while(l);return t}catch(e){return`
|
|
23
|
+
Error generating stack: `+e.message+`
|
|
24
|
+
`+e.stack}}function rt(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function hs(l){var t=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function u0(l){var t=hs(l)?"checked":"value",e=Object.getOwnPropertyDescriptor(l.constructor.prototype,t),a=""+l[t];if(!l.hasOwnProperty(t)&&typeof e<"u"&&typeof e.get=="function"&&typeof e.set=="function"){var n=e.get,u=e.set;return Object.defineProperty(l,t,{configurable:!0,get:function(){return n.call(this)},set:function(c){a=""+c,u.call(this,c)}}),Object.defineProperty(l,t,{enumerable:e.enumerable}),{getValue:function(){return a},setValue:function(c){a=""+c},stopTracking:function(){l._valueTracker=null,delete l[t]}}}}function $n(l){l._valueTracker||(l._valueTracker=u0(l))}function _s(l){if(!l)return!1;var t=l._valueTracker;if(!t)return!0;var e=t.getValue(),a="";return l&&(a=hs(l)?l.checked?"true":"false":l.value),l=a,l!==e?(t.setValue(l),!0):!1}function Fn(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}}var i0=/[\n"\\]/g;function ot(l){return l.replace(i0,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Ni(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=""+rt(t)):l.value!==""+rt(t)&&(l.value=""+rt(t)):c!=="submit"&&c!=="reset"||l.removeAttribute("value"),t!=null?Mi(l,c,rt(t)):e!=null?Mi(l,c,rt(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=""+rt(f):l.removeAttribute("name")}function ys(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))return;e=e!=null?""+rt(e):"",t=t!=null?""+rt(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)}function Mi(l,t,e){t==="number"&&Fn(l.ownerDocument)===l||l.defaultValue===""+e||(l.defaultValue=""+e)}function la(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=""+rt(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)}}function vs(l,t,e){if(t!=null&&(t=""+rt(t),t!==l.value&&(l.value=t),e==null)){l.defaultValue!==t&&(l.defaultValue=t);return}l.defaultValue=e!=null?""+rt(e):""}function gs(l,t,e,a){if(t==null){if(a!=null){if(e!=null)throw Error(s(92));if(E(a)){if(1<a.length)throw Error(s(93));a=a[0]}e=a}e==null&&(e=""),t=e}e=rt(t),l.defaultValue=e,a=l.textContent,a===e&&a!==""&&a!==null&&(l.value=a)}function ta(l,t){if(t){var e=l.firstChild;if(e&&e===l.lastChild&&e.nodeType===3){e.nodeValue=t;return}}l.textContent=t}var c0=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 bs(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||c0.has(t)?t==="float"?l.cssFloat=e:l[t]=(""+e).trim():l[t]=e+"px"}function Ss(l,t,e){if(t!=null&&typeof t!="object")throw Error(s(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&&bs(l,n,a)}else for(var u in t)t.hasOwnProperty(u)&&bs(l,u,t[u])}function Di(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}}var f0=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"]]),s0=/^[\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 In(l){return s0.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}var Oi=null;function ji(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var ea=null,aa=null;function ps(l){var t=$e(l);if(t&&(l=t.stateNode)){var e=l[$l]||null;l:switch(l=t.stateNode,t.type){case"input":if(Ni(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="'+ot(""+t)+'"][type="radio"]'),t=0;t<e.length;t++){var a=e[t];if(a!==l&&a.form===l.form){var n=a[$l]||null;if(!n)throw Error(s(90));Ni(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&&_s(a)}break l;case"textarea":vs(l,e.value,e.defaultValue);break l;case"select":t=e.value,t!=null&&la(l,!!e.multiple,t,!1)}}}var Ui=!1;function As(l,t,e){if(Ui)return l(t,e);Ui=!0;try{var a=l(t);return a}finally{if(Ui=!1,(ea!==null||aa!==null)&&(Yu(),ea&&(t=ea,l=aa,aa=ea=null,ps(t),l)))for(t=0;t<l.length;t++)ps(l[t])}}function La(l,t){var e=l.stateNode;if(e===null)return null;var a=e[$l]||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(s(231,t,typeof e));return e}var Qt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ri=!1;if(Qt)try{var Ja={};Object.defineProperty(Ja,"passive",{get:function(){Ri=!0}}),window.addEventListener("test",Ja,Ja),window.removeEventListener("test",Ja,Ja)}catch{Ri=!1}var ue=null,Bi=null,Pn=null;function xs(){if(Pn)return Pn;var l,t=Bi,e=t.length,a,n="value"in ue?ue.value:ue.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 Pn=n.slice(l,1<a?1-a:void 0)}function lu(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}function tu(){return!0}function Ts(){return!1}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)?tu:Ts,this.isPropagationStopped=Ts,this}return D(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!="unknown"&&(e.returnValue=!1),this.isDefaultPrevented=tu)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!="unknown"&&(e.cancelBubble=!0),this.isPropagationStopped=tu)},persist:function(){},isPersistent:tu}),t}var Oe={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},eu=Fl(Oe),qa=D({},Oe,{view:0,detail:0}),r0=Fl(qa),Hi,Qi,ka,au=D({},qa,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Gi,button:0,buttons:0,relatedTarget:function(l){return l.relatedTarget===void 0?l.fromElement===l.srcElement?l.toElement:l.fromElement:l.relatedTarget},movementX:function(l){return"movementX"in l?l.movementX:(l!==ka&&(ka&&l.type==="mousemove"?(Hi=l.screenX-ka.screenX,Qi=l.screenY-ka.screenY):Qi=Hi=0,ka=l),Hi)},movementY:function(l){return"movementY"in l?l.movementY:Qi}}),Es=Fl(au),o0=D({},au,{dataTransfer:0}),d0=Fl(o0),m0=D({},qa,{relatedTarget:0}),Yi=Fl(m0),h0=D({},Oe,{animationName:0,elapsedTime:0,pseudoElement:0}),_0=Fl(h0),y0=D({},Oe,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),v0=Fl(y0),g0=D({},Oe,{data:0}),zs=Fl(g0),b0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},S0={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"},p0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function A0(l){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(l):(l=p0[l])?!!t[l]:!1}function Gi(){return A0}var x0=D({},qa,{key:function(l){if(l.key){var t=b0[l.key]||l.key;if(t!=="Unidentified")return t}return l.type==="keypress"?(l=lu(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?S0[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Gi,charCode:function(l){return l.type==="keypress"?lu(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?lu(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),T0=Fl(x0),E0=D({},au,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ns=Fl(E0),z0=D({},qa,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Gi}),N0=Fl(z0),M0=D({},Oe,{propertyName:0,elapsedTime:0,pseudoElement:0}),D0=Fl(M0),O0=D({},au,{deltaX:function(l){return"deltaX"in l?l.deltaX:"wheelDeltaX"in l?-l.wheelDeltaX:0},deltaY:function(l){return"deltaY"in l?l.deltaY:"wheelDeltaY"in l?-l.wheelDeltaY:"wheelDelta"in l?-l.wheelDelta:0},deltaZ:0,deltaMode:0}),j0=Fl(O0),U0=D({},Oe,{newState:0,oldState:0}),R0=Fl(U0),B0=[9,13,27,32],Xi=Qt&&"CompositionEvent"in window,Wa=null;Qt&&"documentMode"in document&&(Wa=document.documentMode);var H0=Qt&&"TextEvent"in window&&!Wa,Ms=Qt&&(!Xi||Wa&&8<Wa&&11>=Wa),Ds=" ",Os=!1;function js(l,t){switch(l){case"keyup":return B0.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Us(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var na=!1;function Q0(l,t){switch(l){case"compositionend":return Us(t);case"keypress":return t.which!==32?null:(Os=!0,Ds);case"textInput":return l=t.data,l===Ds&&Os?null:l;default:return null}}function Y0(l,t){if(na)return l==="compositionend"||!Xi&&js(l,t)?(l=xs(),Pn=Bi=ue=null,na=!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 Ms&&t.locale!=="ko"?null:t.data;default:return null}}var G0={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 Rs(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t==="input"?!!G0[l.type]:t==="textarea"}function Bs(l,t,e,a){ea?aa?aa.push(a):aa=[a]:ea=a,t=Ku(t,"onChange"),0<t.length&&(e=new eu("onChange","change",null,e,a),l.push({event:e,listeners:t}))}var $a=null,Fa=null;function X0(l){_d(l,0)}function nu(l){var t=wa(l);if(_s(t))return l}function Hs(l,t){if(l==="change")return t}var Qs=!1;if(Qt){var Zi;if(Qt){var Ci="oninput"in document;if(!Ci){var Ys=document.createElement("div");Ys.setAttribute("oninput","return;"),Ci=typeof Ys.oninput=="function"}Zi=Ci}else Zi=!1;Qs=Zi&&(!document.documentMode||9<document.documentMode)}function Gs(){$a&&($a.detachEvent("onpropertychange",Xs),Fa=$a=null)}function Xs(l){if(l.propertyName==="value"&&nu(Fa)){var t=[];Bs(t,Fa,l,ji(l)),As(X0,t)}}function Z0(l,t,e){l==="focusin"?(Gs(),$a=t,Fa=e,$a.attachEvent("onpropertychange",Xs)):l==="focusout"&&Gs()}function C0(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return nu(Fa)}function V0(l,t){if(l==="click")return nu(t)}function K0(l,t){if(l==="input"||l==="change")return nu(t)}function w0(l,t){return l===t&&(l!==0||1/l===1/t)||l!==l&&t!==t}var at=typeof Object.is=="function"?Object.is:w0;function Ia(l,t){if(at(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(!te.call(t,n)||!at(l[n],t[n]))return!1}return!0}function Zs(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function Cs(l,t){var e=Zs(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=Zs(e)}}function Vs(l,t){return l&&t?l===t?!0:l&&l.nodeType===3?!1:t&&t.nodeType===3?Vs(l,t.parentNode):"contains"in l?l.contains(t):l.compareDocumentPosition?!!(l.compareDocumentPosition(t)&16):!1:!1}function Ks(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var t=Fn(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=Fn(l.document)}return t}function Vi(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")}var L0=Qt&&"documentMode"in document&&11>=document.documentMode,ua=null,Ki=null,Pa=null,wi=!1;function ws(l,t,e){var a=e.window===e?e.document:e.nodeType===9?e:e.ownerDocument;wi||ua==null||ua!==Fn(a)||(a=ua,"selectionStart"in a&&Vi(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}),Pa&&Ia(Pa,a)||(Pa=a,a=Ku(Ki,"onSelect"),0<a.length&&(t=new eu("onSelect","select",null,t,e),l.push({event:t,listeners:a}),t.target=ua)))}function je(l,t){var e={};return e[l.toLowerCase()]=t.toLowerCase(),e["Webkit"+l]="webkit"+t,e["Moz"+l]="moz"+t,e}var ia={animationend:je("Animation","AnimationEnd"),animationiteration:je("Animation","AnimationIteration"),animationstart:je("Animation","AnimationStart"),transitionrun:je("Transition","TransitionRun"),transitionstart:je("Transition","TransitionStart"),transitioncancel:je("Transition","TransitionCancel"),transitionend:je("Transition","TransitionEnd")},Li={},Ls={};Qt&&(Ls=document.createElement("div").style,"AnimationEvent"in window||(delete ia.animationend.animation,delete ia.animationiteration.animation,delete ia.animationstart.animation),"TransitionEvent"in window||delete ia.transitionend.transition);function Ue(l){if(Li[l])return Li[l];if(!ia[l])return l;var t=ia[l],e;for(e in t)if(t.hasOwnProperty(e)&&e in Ls)return Li[l]=t[e];return l}var Js=Ue("animationend"),qs=Ue("animationiteration"),ks=Ue("animationstart"),J0=Ue("transitionrun"),q0=Ue("transitionstart"),k0=Ue("transitioncancel"),Ws=Ue("transitionend"),$s=new Map,Ji="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(" ");Ji.push("scrollEnd");function St(l,t){$s.set(l,t),De(t,[l])}var Fs=new WeakMap;function dt(l,t){if(typeof l=="object"&&l!==null){var e=Fs.get(l);return e!==void 0?e:(t={value:l,source:t,stack:ms(t)},Fs.set(l,t),t)}return{value:l,source:t,stack:ms(t)}}var mt=[],ca=0,qi=0;function uu(){for(var l=ca,t=qi=ca=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&&Is(e,n,u)}}function iu(l,t,e,a){mt[ca++]=l,mt[ca++]=t,mt[ca++]=e,mt[ca++]=a,qi|=a,l.lanes|=a,l=l.alternate,l!==null&&(l.lanes|=a)}function ki(l,t,e,a){return iu(l,t,e,a),cu(l)}function fa(l,t){return iu(l,null,null,t),cu(l)}function Is(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-et(e),l=u.hiddenUpdates,a=l[n],a===null?l[n]=[t]:a.push(t),t.lane=e|536870912),u):null}function cu(l){if(50<En)throw En=0,lf=null,Error(s(185));for(var t=l.return;t!==null;)l=t,t=l.return;return l.tag===3?l.stateNode:null}var sa={};function W0(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}function nt(l,t,e,a){return new W0(l,t,e,a)}function Wi(l){return l=l.prototype,!(!l||!l.isReactComponent)}function Yt(l,t){var e=l.alternate;return e===null?(e=nt(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}function Ps(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}function fu(l,t,e,a,n,u){var c=0;if(a=l,typeof l=="function")Wi(l)&&(c=1);else if(typeof l=="string")c=Fh(l,e,Ml.current)?26:l==="html"||l==="head"||l==="body"?27:5;else l:switch(l){case L:return l=nt(31,e,t,n),l.elementType=L,l.lanes=u,l;case $:return Re(e.children,n,u,t);case ll:c=8,n|=24;break;case zl:return l=nt(12,e,t,n|2),l.elementType=zl,l.lanes=u,l;case V:return l=nt(13,e,t,n),l.elementType=V,l.lanes=u,l;case P:return l=nt(19,e,t,n),l.elementType=P,l.lanes=u,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case B:case j:c=10;break l;case k:c=9;break l;case Q:c=11;break l;case W:c=14;break l;case X:c=16,a=null;break l}c=29,e=Error(s(130,l===null?"null":typeof l,"")),a=null}return t=nt(c,e,t,n),t.elementType=l,t.type=a,t.lanes=u,t}function Re(l,t,e,a){return l=nt(7,l,a,t),l.lanes=e,l}function $i(l,t,e){return l=nt(6,l,null,t),l.lanes=e,l}function Fi(l,t,e){return t=nt(4,l.children!==null?l.children:[],l.key,t),t.lanes=e,t.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},t}var ra=[],oa=0,su=null,ru=0,ht=[],_t=0,Be=null,Gt=1,Xt="";function He(l,t){ra[oa++]=ru,ra[oa++]=su,su=l,ru=t}function lr(l,t,e){ht[_t++]=Gt,ht[_t++]=Xt,ht[_t++]=Be,Be=l;var a=Gt;l=Xt;var n=32-et(a)-1;a&=~(1<<n),e+=1;var u=32-et(t)+n;if(30<u){var c=n-n%5;u=(a&(1<<c)-1).toString(32),a>>=c,n-=c,Gt=1<<32-et(t)+n|e<<n|a,Xt=u+l}else Gt=1<<u|e<<n|a,Xt=l}function Ii(l){l.return!==null&&(He(l,1),lr(l,1,0))}function Pi(l){for(;l===su;)su=ra[--oa],ra[oa]=null,ru=ra[--oa],ra[oa]=null;for(;l===Be;)Be=ht[--_t],ht[_t]=null,Xt=ht[--_t],ht[_t]=null,Gt=ht[--_t],ht[_t]=null}var kl=null,Ol=null,ol=!1,Qe=null,zt=!1,lc=Error(s(519));function Ye(l){var t=Error(s(418,""));throw en(dt(t,l)),lc}function tr(l){var t=l.stateNode,e=l.type,a=l.memoizedProps;switch(t[Jl]=l,t[$l]=a,e){case"dialog":il("cancel",t),il("close",t);break;case"iframe":case"object":case"embed":il("load",t);break;case"video":case"audio":for(e=0;e<Nn.length;e++)il(Nn[e],t);break;case"source":il("error",t);break;case"img":case"image":case"link":il("error",t),il("load",t);break;case"details":il("toggle",t);break;case"input":il("invalid",t),ys(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0),$n(t);break;case"select":il("invalid",t);break;case"textarea":il("invalid",t),gs(t,a.value,a.defaultValue,a.children),$n(t)}e=a.children,typeof e!="string"&&typeof e!="number"&&typeof e!="bigint"||t.textContent===""+e||a.suppressHydrationWarning===!0||bd(t.textContent,e)?(a.popover!=null&&(il("beforetoggle",t),il("toggle",t)),a.onScroll!=null&&il("scroll",t),a.onScrollEnd!=null&&il("scrollend",t),a.onClick!=null&&(t.onclick=wu),t=!0):t=!1,t||Ye(l)}function er(l){for(kl=l.return;kl;)switch(kl.tag){case 5:case 13:zt=!1;return;case 27:case 3:zt=!0;return;default:kl=kl.return}}function ln(l){if(l!==kl)return!1;if(!ol)return er(l),ol=!0,!1;var t=l.tag,e;if((e=t!==3&&t!==27)&&((e=t===5)&&(e=l.type,e=!(e!=="form"&&e!=="button")||vf(l.type,l.memoizedProps)),e=!e),e&&Ol&&Ye(l),er(l),t===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(s(317));l:{for(l=l.nextSibling,t=0;l;){if(l.nodeType===8)if(e=l.data,e==="/$"){if(t===0){Ol=At(l.nextSibling);break l}t--}else e!=="$"&&e!=="$!"&&e!=="$?"||t++;l=l.nextSibling}Ol=null}}else t===27?(t=Ol,pe(l.type)?(l=pf,pf=null,Ol=l):Ol=t):Ol=kl?At(l.stateNode.nextSibling):null;return!0}function tn(){Ol=kl=null,ol=!1}function ar(){var l=Qe;return l!==null&&(lt===null?lt=l:lt.push.apply(lt,l),Qe=null),l}function en(l){Qe===null?Qe=[l]:Qe.push(l)}var tc=xl(null),Ge=null,Zt=null;function ie(l,t,e){I(tc,t._currentValue),t._currentValue=e}function Ct(l){l._currentValue=tc.current,cl(tc)}function ec(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}}function ac(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),ec(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(s(341));c.lanes|=e,u=c.alternate,u!==null&&(u.lanes|=e),ec(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}}function an(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(s(387));if(c=c.memoizedProps,c!==null){var f=n.type;at(n.pendingProps.value,c.value)||(l!==null?l.push(f):l=[f])}}else if(n===Rt.current){if(c=n.alternate,c===null)throw Error(s(387));c.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(l!==null?l.push(Rn):l=[Rn])}n=n.return}l!==null&&ac(t,l,e,a),t.flags|=262144}function ou(l){for(l=l.firstContext;l!==null;){if(!at(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}function Xe(l){Ge=l,Zt=null,l=l.dependencies,l!==null&&(l.firstContext=null)}function ql(l){return nr(Ge,l)}function du(l,t){return Ge===null&&Xe(l),nr(l,t)}function nr(l,t){var e=t._currentValue;if(t={context:t,memoizedValue:e,next:null},Zt===null){if(l===null)throw Error(s(308));Zt=t,l.dependencies={lanes:0,firstContext:t},l.flags|=524288}else Zt=Zt.next=t;return e}var $0=typeof AbortController<"u"?AbortController:function(){var l=[],t=this.signal={aborted:!1,addEventListener:function(e,a){l.push(a)}};this.abort=function(){t.aborted=!0,l.forEach(function(e){return e()})}},F0=r.unstable_scheduleCallback,I0=r.unstable_NormalPriority,Ql={$$typeof:j,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function nc(){return{controller:new $0,data:new Map,refCount:0}}function nn(l){l.refCount--,l.refCount===0&&F0(I0,function(){l.controller.abort()})}var un=null,uc=0,da=0,ma=null;function P0(l,t){if(un===null){var e=un=[];uc=0,da=ff(),ma={status:"pending",value:void 0,then:function(a){e.push(a)}}}return uc++,t.then(ur,ur),t}function ur(){if(--uc===0&&un!==null){ma!==null&&(ma.status="fulfilled");var l=un;un=null,da=0,ma=null;for(var t=0;t<l.length;t++)(0,l[t])()}}function lh(l,t){var e=[],a={status:"pending",value:null,reason:null,then:function(n){e.push(n)}};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}var ir=M.S;M.S=function(l,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&P0(l,t),ir!==null&&ir(l,t)};var Ze=xl(null);function ic(){var l=Ze.current;return l!==null?l:Al.pooledCache}function mu(l,t){t===null?I(Ze,Ze.current):I(Ze,t.pool)}function cr(){var l=ic();return l===null?null:{parent:Ql._currentValue,pool:l}}var cn=Error(s(460)),fr=Error(s(474)),hu=Error(s(542)),cc={then:function(){}};function sr(l){return l=l.status,l==="fulfilled"||l==="rejected"}function _u(){}function rr(l,t,e){switch(e=l[e],e===void 0?l.push(t):e!==t&&(t.then(_u,_u),t=e),t.status){case"fulfilled":return t.value;case"rejected":throw l=t.reason,dr(l),l;default:if(typeof t.status=="string")t.then(_u,_u);else{if(l=Al,l!==null&&100<l.shellSuspendCounter)throw Error(s(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,dr(l),l}throw fn=t,cn}}var fn=null;function or(){if(fn===null)throw Error(s(459));var l=fn;return fn=null,l}function dr(l){if(l===cn||l===hu)throw Error(s(483))}var ce=!1;function fc(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function sc(l,t){l=l.updateQueue,t.updateQueue===l&&(t.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,callbacks:null})}function fe(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}function se(l,t,e){var a=l.updateQueue;if(a===null)return null;if(a=a.shared,(yl&2)!==0){var n=a.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),a.pending=t,t=cu(l),Is(l,null,e),t}return iu(l,a,t,e),cu(l)}function sn(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,us(l,e)}}function rc(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}var oc=!1;function rn(){if(oc){var l=ma;if(l!==null)throw l}}function on(l,t,e,a){oc=!1;var n=l.updateQueue;ce=!1;var u=n.firstBaseUpdate,c=n.lastBaseUpdate,f=n.shared.pending;if(f!==null){n.shared.pending=null;var o=f,v=o.next;o.next=null,c===null?u=v:c.next=v,c=o;var A=l.alternate;A!==null&&(A=A.updateQueue,f=A.lastBaseUpdate,f!==c&&(f===null?A.firstBaseUpdate=v:f.next=v,A.lastBaseUpdate=o))}if(u!==null){var N=n.baseState;c=0,A=v=o=null,f=u;do{var g=f.lane&-536870913,p=g!==f.lane;if(p?(sl&g)===g:(a&g)===g){g!==0&&g===da&&(oc=!0),A!==null&&(A=A.next={lane:0,tag:f.tag,payload:f.payload,callback:null,next:null});l:{var J=l,K=f;g=t;var Sl=e;switch(K.tag){case 1:if(J=K.payload,typeof J=="function"){N=J.call(Sl,N,g);break l}N=J;break l;case 3:J.flags=J.flags&-65537|128;case 0:if(J=K.payload,g=typeof J=="function"?J.call(Sl,N,g):J,g==null)break l;N=D({},N,g);break l;case 2:ce=!0}}g=f.callback,g!==null&&(l.flags|=64,p&&(l.flags|=8192),p=n.callbacks,p===null?n.callbacks=[g]:p.push(g))}else p={lane:g,tag:f.tag,payload:f.payload,callback:f.callback,next:null},A===null?(v=A=p,o=N):A=A.next=p,c|=g;if(f=f.next,f===null){if(f=n.shared.pending,f===null)break;p=f,f=p.next,p.next=null,n.lastBaseUpdate=p,n.shared.pending=null}}while(!0);A===null&&(o=N),n.baseState=o,n.firstBaseUpdate=v,n.lastBaseUpdate=A,u===null&&(n.shared.lanes=0),ve|=c,l.lanes=c,l.memoizedState=N}}function mr(l,t){if(typeof l!="function")throw Error(s(191,l));l.call(t)}function hr(l,t){var e=l.callbacks;if(e!==null)for(l.callbacks=null,l=0;l<e.length;l++)mr(e[l],t)}var ha=xl(null),yu=xl(0);function _r(l,t){l=kt,I(yu,l),I(ha,t),kt=l|t.baseLanes}function dc(){I(yu,kt),I(ha,ha.current)}function mc(){kt=yu.current,cl(ha),cl(yu)}var re=0,tl=null,gl=null,Bl=null,vu=!1,_a=!1,Ce=!1,gu=0,dn=0,ya=null,th=0;function Ul(){throw Error(s(321))}function hc(l,t){if(t===null)return!1;for(var e=0;e<t.length&&e<l.length;e++)if(!at(l[e],t[e]))return!1;return!0}function _c(l,t,e,a,n,u){return re=u,tl=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,M.H=l===null||l.memoizedState===null?Ir:Pr,Ce=!1,u=e(a,n),Ce=!1,_a&&(u=vr(t,e,a,n)),yr(l),u}function yr(l){M.H=Tu;var t=gl!==null&&gl.next!==null;if(re=0,Bl=gl=tl=null,vu=!1,dn=0,ya=null,t)throw Error(s(300));l===null||Xl||(l=l.dependencies,l!==null&&ou(l)&&(Xl=!0))}function vr(l,t,e,a){tl=l;var n=0;do{if(_a&&(ya=null),dn=0,_a=!1,25<=n)throw Error(s(301));if(n+=1,Bl=gl=null,l.updateQueue!=null){var u=l.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}M.H=fh,u=t(e,a)}while(_a);return u}function eh(){var l=M.H,t=l.useState()[0];return t=typeof t.then=="function"?mn(t):t,l=l.useState()[0],(gl!==null?gl.memoizedState:null)!==l&&(tl.flags|=1024),t}function yc(){var l=gu!==0;return gu=0,l}function vc(l,t,e){t.updateQueue=l.updateQueue,t.flags&=-2053,l.lanes&=~e}function gc(l){if(vu){for(l=l.memoizedState;l!==null;){var t=l.queue;t!==null&&(t.pending=null),l=l.next}vu=!1}re=0,Bl=gl=tl=null,_a=!1,dn=gu=0,ya=null}function Il(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Bl===null?tl.memoizedState=Bl=l:Bl=Bl.next=l,Bl}function Hl(){if(gl===null){var l=tl.alternate;l=l!==null?l.memoizedState:null}else l=gl.next;var t=Bl===null?tl.memoizedState:Bl.next;if(t!==null)Bl=t,gl=l;else{if(l===null)throw tl.alternate===null?Error(s(467)):Error(s(310));gl=l,l={memoizedState:gl.memoizedState,baseState:gl.baseState,baseQueue:gl.baseQueue,queue:gl.queue,next:null},Bl===null?tl.memoizedState=Bl=l:Bl=Bl.next=l}return Bl}function bc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function mn(l){var t=dn;return dn+=1,ya===null&&(ya=[]),l=rr(ya,l,t),t=tl,(Bl===null?t.memoizedState:Bl.next)===null&&(t=t.alternate,M.H=t===null||t.memoizedState===null?Ir:Pr),l}function bu(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return mn(l);if(l.$$typeof===j)return ql(l)}throw Error(s(438,String(l)))}function Sc(l){var t=null,e=tl.updateQueue;if(e!==null&&(t=e.memoCache),t==null){var a=tl.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=bc(),tl.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]=C;return t.index++,e}function Vt(l,t){return typeof t=="function"?t(l):t}function Su(l){var t=Hl();return pc(t,gl,l)}function pc(l,t,e){var a=l.queue;if(a===null)throw Error(s(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,v=t,A=!1;do{var N=v.lane&-536870913;if(N!==v.lane?(sl&N)===N:(re&N)===N){var g=v.revertLane;if(g===0)o!==null&&(o=o.next={lane:0,revertLane:0,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null}),N===da&&(A=!0);else if((re&g)===g){v=v.next,g===da&&(A=!0);continue}else N={lane:0,revertLane:v.revertLane,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null},o===null?(f=o=N,c=u):o=o.next=N,tl.lanes|=g,ve|=g;N=v.action,Ce&&e(u,N),u=v.hasEagerState?v.eagerState:e(u,N)}else g={lane:N,revertLane:v.revertLane,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null},o===null?(f=o=g,c=u):o=o.next=g,tl.lanes|=N,ve|=N;v=v.next}while(v!==null&&v!==t);if(o===null?c=u:o.next=f,!at(u,l.memoizedState)&&(Xl=!0,A&&(e=ma,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]}function Ac(l){var t=Hl(),e=t.queue;if(e===null)throw Error(s(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);at(u,t.memoizedState)||(Xl=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),e.lastRenderedState=u}return[u,a]}function gr(l,t,e){var a=tl,n=Hl(),u=ol;if(u){if(e===void 0)throw Error(s(407));e=e()}else e=t();var c=!at((gl||n).memoizedState,e);c&&(n.memoizedState=e,Xl=!0),n=n.queue;var f=pr.bind(null,a,n,l);if(hn(2048,8,f,[l]),n.getSnapshot!==t||c||Bl!==null&&Bl.memoizedState.tag&1){if(a.flags|=2048,va(9,pu(),Sr.bind(null,a,n,e,t),null),Al===null)throw Error(s(349));u||(re&124)!==0||br(a,t,e)}return e}function br(l,t,e){l.flags|=16384,l={getSnapshot:t,value:e},t=tl.updateQueue,t===null?(t=bc(),tl.updateQueue=t,t.stores=[l]):(e=t.stores,e===null?t.stores=[l]:e.push(l))}function Sr(l,t,e,a){t.value=e,t.getSnapshot=a,Ar(t)&&xr(l)}function pr(l,t,e){return e(function(){Ar(t)&&xr(l)})}function Ar(l){var t=l.getSnapshot;l=l.value;try{var e=t();return!at(l,e)}catch{return!0}}function xr(l){var t=fa(l,2);t!==null&&st(t,l,2)}function xc(l){var t=Il();if(typeof l=="function"){var e=l;if(l=e(),Ce){ae(!0);try{e()}finally{ae(!1)}}}return t.memoizedState=t.baseState=l,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vt,lastRenderedState:l},t}function Tr(l,t,e,a){return l.baseState=e,pc(l,gl,typeof a=="function"?a:Vt)}function ah(l,t,e,a,n){if(xu(l))throw Error(s(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:function(c){u.listeners.push(c)}};M.T!==null?e(!0):u.isTransition=!1,a(u),e=t.pending,e===null?(u.next=t.pending=u,Er(t,u)):(u.next=e.next,t.pending=e.next=u)}}function Er(l,t){var e=t.action,a=t.payload,n=l.state;if(t.isTransition){var u=M.T,c={};M.T=c;try{var f=e(n,a),o=M.S;o!==null&&o(c,f),zr(l,t,f)}catch(v){Tc(l,t,v)}finally{M.T=u}}else try{u=e(n,a),zr(l,t,u)}catch(v){Tc(l,t,v)}}function zr(l,t,e){e!==null&&typeof e=="object"&&typeof e.then=="function"?e.then(function(a){Nr(l,t,a)},function(a){return Tc(l,t,a)}):Nr(l,t,e)}function Nr(l,t,e){t.status="fulfilled",t.value=e,Mr(t),l.state=e,t=l.pending,t!==null&&(e=t.next,e===t?l.pending=null:(e=e.next,t.next=e,Er(l,e)))}function Tc(l,t,e){var a=l.pending;if(l.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=e,Mr(t),t=t.next;while(t!==a)}l.action=null}function Mr(l){l=l.listeners;for(var t=0;t<l.length;t++)(0,l[t])()}function Dr(l,t){return t}function Or(l,t){if(ol){var e=Al.formState;if(e!==null){l:{var a=tl;if(ol){if(Ol){t:{for(var n=Ol,u=zt;n.nodeType!==8;){if(!u){n=null;break t}if(n=At(n.nextSibling),n===null){n=null;break t}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){Ol=At(n.nextSibling),a=n.data==="F!";break l}}Ye(a)}a=!1}a&&(t=e[0])}}return e=Il(),e.memoizedState=e.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Dr,lastRenderedState:t},e.queue=a,e=Wr.bind(null,tl,a),a.dispatch=e,a=xc(!1),u=Dc.bind(null,tl,!1,a.queue),a=Il(),n={state:t,dispatch:null,action:l,pending:null},a.queue=n,e=ah.bind(null,tl,n,u,e),n.dispatch=e,a.memoizedState=l,[t,e,!1]}function jr(l){var t=Hl();return Ur(t,gl,l)}function Ur(l,t,e){if(t=pc(l,t,Dr)[0],l=Su(Vt)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=mn(t)}catch(c){throw c===cn?hu:c}else a=t;t=Hl();var n=t.queue,u=n.dispatch;return e!==t.memoizedState&&(tl.flags|=2048,va(9,pu(),nh.bind(null,n,e),null)),[a,u,l]}function nh(l,t){l.action=t}function Rr(l){var t=Hl(),e=gl;if(e!==null)return Ur(t,e,l);Hl(),t=t.memoizedState,e=Hl();var a=e.queue.dispatch;return e.memoizedState=l,[t,a,!1]}function va(l,t,e,a){return l={tag:l,create:e,deps:a,inst:t,next:null},t=tl.updateQueue,t===null&&(t=bc(),tl.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}function pu(){return{destroy:void 0,resource:void 0}}function Br(){return Hl().memoizedState}function Au(l,t,e,a){var n=Il();a=a===void 0?null:a,tl.flags|=l,n.memoizedState=va(1|t,pu(),e,a)}function hn(l,t,e,a){var n=Hl();a=a===void 0?null:a;var u=n.memoizedState.inst;gl!==null&&a!==null&&hc(a,gl.memoizedState.deps)?n.memoizedState=va(t,u,e,a):(tl.flags|=l,n.memoizedState=va(1|t,u,e,a))}function Hr(l,t){Au(8390656,8,l,t)}function Qr(l,t){hn(2048,8,l,t)}function Yr(l,t){return hn(4,2,l,t)}function Gr(l,t){return hn(4,4,l,t)}function Xr(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}}function Zr(l,t,e){e=e!=null?e.concat([l]):null,hn(4,4,Xr.bind(null,t,l),e)}function Ec(){}function Cr(l,t){var e=Hl();t=t===void 0?null:t;var a=e.memoizedState;return t!==null&&hc(t,a[1])?a[0]:(e.memoizedState=[l,t],l)}function Vr(l,t){var e=Hl();t=t===void 0?null:t;var a=e.memoizedState;if(t!==null&&hc(t,a[1]))return a[0];if(a=l(),Ce){ae(!0);try{l()}finally{ae(!1)}}return e.memoizedState=[a,t],a}function zc(l,t,e){return e===void 0||(re&1073741824)!==0?l.memoizedState=t:(l.memoizedState=e,l=Jo(),tl.lanes|=l,ve|=l,e)}function Kr(l,t,e,a){return at(e,t)?e:ha.current!==null?(l=zc(l,e,a),at(l,t)||(Xl=!0),l):(re&42)===0?(Xl=!0,l.memoizedState=e):(l=Jo(),tl.lanes|=l,ve|=l,t)}function wr(l,t,e,a,n){var u=O.p;O.p=u!==0&&8>u?u:8;var c=M.T,f={};M.T=f,Dc(l,!1,t,e);try{var o=n(),v=M.S;if(v!==null&&v(f,o),o!==null&&typeof o=="object"&&typeof o.then=="function"){var A=lh(o,a);_n(l,t,A,ft(l))}else _n(l,t,a,ft(l))}catch(N){_n(l,t,{then:function(){},status:"rejected",reason:N},ft())}finally{O.p=u,M.T=c}}function uh(){}function Nc(l,t,e,a){if(l.tag!==5)throw Error(s(476));var n=Lr(l).queue;wr(l,n,t,nl,e===null?uh:function(){return Jr(l),e(a)})}function Lr(l){var t=l.memoizedState;if(t!==null)return t;t={memoizedState:nl,baseState:nl,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vt,lastRenderedState:nl},next:null};var e={};return t.next={memoizedState:e,baseState:e,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vt,lastRenderedState:e},next:null},l.memoizedState=t,l=l.alternate,l!==null&&(l.memoizedState=t),t}function Jr(l){var t=Lr(l).next.queue;_n(l,t,{},ft())}function Mc(){return ql(Rn)}function qr(){return Hl().memoizedState}function kr(){return Hl().memoizedState}function ih(l){for(var t=l.return;t!==null;){switch(t.tag){case 24:case 3:var e=ft();l=fe(e);var a=se(t,l,e);a!==null&&(st(a,t,e),sn(a,t,e)),t={cache:nc()},l.payload=t;return}t=t.return}}function ch(l,t,e){var a=ft();e={lane:a,revertLane:0,action:e,hasEagerState:!1,eagerState:null,next:null},xu(l)?$r(t,e):(e=ki(l,t,e,a),e!==null&&(st(e,l,a),Fr(e,t,a)))}function Wr(l,t,e){var a=ft();_n(l,t,e,a)}function _n(l,t,e,a){var n={lane:a,revertLane:0,action:e,hasEagerState:!1,eagerState:null,next:null};if(xu(l))$r(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,at(f,c))return iu(l,t,n,0),Al===null&&uu(),!1}catch{}finally{}if(e=ki(l,t,n,a),e!==null)return st(e,l,a),Fr(e,t,a),!0}return!1}function Dc(l,t,e,a){if(a={lane:2,revertLane:ff(),action:a,hasEagerState:!1,eagerState:null,next:null},xu(l)){if(t)throw Error(s(479))}else t=ki(l,e,a,2),t!==null&&st(t,l,2)}function xu(l){var t=l.alternate;return l===tl||t!==null&&t===tl}function $r(l,t){_a=vu=!0;var e=l.pending;e===null?t.next=t:(t.next=e.next,e.next=t),l.pending=t}function Fr(l,t,e){if((e&4194048)!==0){var a=t.lanes;a&=l.pendingLanes,e|=a,t.lanes=e,us(l,e)}}var Tu={readContext:ql,use:bu,useCallback:Ul,useContext:Ul,useEffect:Ul,useImperativeHandle:Ul,useLayoutEffect:Ul,useInsertionEffect:Ul,useMemo:Ul,useReducer:Ul,useRef:Ul,useState:Ul,useDebugValue:Ul,useDeferredValue:Ul,useTransition:Ul,useSyncExternalStore:Ul,useId:Ul,useHostTransitionStatus:Ul,useFormState:Ul,useActionState:Ul,useOptimistic:Ul,useMemoCache:Ul,useCacheRefresh:Ul},Ir={readContext:ql,use:bu,useCallback:function(l,t){return Il().memoizedState=[l,t===void 0?null:t],l},useContext:ql,useEffect:Hr,useImperativeHandle:function(l,t,e){e=e!=null?e.concat([l]):null,Au(4194308,4,Xr.bind(null,t,l),e)},useLayoutEffect:function(l,t){return Au(4194308,4,l,t)},useInsertionEffect:function(l,t){Au(4,2,l,t)},useMemo:function(l,t){var e=Il();t=t===void 0?null:t;var a=l();if(Ce){ae(!0);try{l()}finally{ae(!1)}}return e.memoizedState=[a,t],a},useReducer:function(l,t,e){var a=Il();if(e!==void 0){var n=e(t);if(Ce){ae(!0);try{e(t)}finally{ae(!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=ch.bind(null,tl,l),[a.memoizedState,l]},useRef:function(l){var t=Il();return l={current:l},t.memoizedState=l},useState:function(l){l=xc(l);var t=l.queue,e=Wr.bind(null,tl,t);return t.dispatch=e,[l.memoizedState,e]},useDebugValue:Ec,useDeferredValue:function(l,t){var e=Il();return zc(e,l,t)},useTransition:function(){var l=xc(!1);return l=wr.bind(null,tl,l.queue,!0,!1),Il().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,t,e){var a=tl,n=Il();if(ol){if(e===void 0)throw Error(s(407));e=e()}else{if(e=t(),Al===null)throw Error(s(349));(sl&124)!==0||br(a,t,e)}n.memoizedState=e;var u={value:e,getSnapshot:t};return n.queue=u,Hr(pr.bind(null,a,u,l),[l]),a.flags|=2048,va(9,pu(),Sr.bind(null,a,u,e,t),null),e},useId:function(){var l=Il(),t=Al.identifierPrefix;if(ol){var e=Xt,a=Gt;e=(a&~(1<<32-et(a)-1)).toString(32)+e,t="«"+t+"R"+e,e=gu++,0<e&&(t+="H"+e.toString(32)),t+="»"}else e=th++,t="«"+t+"r"+e.toString(32)+"»";return l.memoizedState=t},useHostTransitionStatus:Mc,useFormState:Or,useActionState:Or,useOptimistic:function(l){var t=Il();t.memoizedState=t.baseState=l;var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=e,t=Dc.bind(null,tl,!0,e),e.dispatch=t,[l,t]},useMemoCache:Sc,useCacheRefresh:function(){return Il().memoizedState=ih.bind(null,tl)}},Pr={readContext:ql,use:bu,useCallback:Cr,useContext:ql,useEffect:Qr,useImperativeHandle:Zr,useInsertionEffect:Yr,useLayoutEffect:Gr,useMemo:Vr,useReducer:Su,useRef:Br,useState:function(){return Su(Vt)},useDebugValue:Ec,useDeferredValue:function(l,t){var e=Hl();return Kr(e,gl.memoizedState,l,t)},useTransition:function(){var l=Su(Vt)[0],t=Hl().memoizedState;return[typeof l=="boolean"?l:mn(l),t]},useSyncExternalStore:gr,useId:qr,useHostTransitionStatus:Mc,useFormState:jr,useActionState:jr,useOptimistic:function(l,t){var e=Hl();return Tr(e,gl,l,t)},useMemoCache:Sc,useCacheRefresh:kr},fh={readContext:ql,use:bu,useCallback:Cr,useContext:ql,useEffect:Qr,useImperativeHandle:Zr,useInsertionEffect:Yr,useLayoutEffect:Gr,useMemo:Vr,useReducer:Ac,useRef:Br,useState:function(){return Ac(Vt)},useDebugValue:Ec,useDeferredValue:function(l,t){var e=Hl();return gl===null?zc(e,l,t):Kr(e,gl.memoizedState,l,t)},useTransition:function(){var l=Ac(Vt)[0],t=Hl().memoizedState;return[typeof l=="boolean"?l:mn(l),t]},useSyncExternalStore:gr,useId:qr,useHostTransitionStatus:Mc,useFormState:Rr,useActionState:Rr,useOptimistic:function(l,t){var e=Hl();return gl!==null?Tr(e,gl,l,t):(e.baseState=l,[l,e.queue.dispatch])},useMemoCache:Sc,useCacheRefresh:kr},ga=null,yn=0;function Eu(l){var t=yn;return yn+=1,ga===null&&(ga=[]),rr(ga,l,t)}function vn(l,t){t=t.props.ref,l.ref=t!==void 0?t:null}function zu(l,t){throw t.$$typeof===q?Error(s(525)):(l=Object.prototype.toString.call(t),Error(s(31,l==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":l)))}function lo(l){var t=l._init;return t(l._payload)}function to(l){function t(m,d){if(l){var y=m.deletions;y===null?(m.deletions=[d],m.flags|=16):y.push(d)}}function e(m,d){if(!l)return null;for(;d!==null;)t(m,d),d=d.sibling;return null}function a(m){for(var d=new Map;m!==null;)m.key!==null?d.set(m.key,m):d.set(m.index,m),m=m.sibling;return d}function n(m,d){return m=Yt(m,d),m.index=0,m.sibling=null,m}function u(m,d,y){return m.index=y,l?(y=m.alternate,y!==null?(y=y.index,y<d?(m.flags|=67108866,d):y):(m.flags|=67108866,d)):(m.flags|=1048576,d)}function c(m){return l&&m.alternate===null&&(m.flags|=67108866),m}function f(m,d,y,T){return d===null||d.tag!==6?(d=$i(y,m.mode,T),d.return=m,d):(d=n(d,y),d.return=m,d)}function o(m,d,y,T){var R=y.type;return R===$?A(m,d,y.props.children,T,y.key):d!==null&&(d.elementType===R||typeof R=="object"&&R!==null&&R.$$typeof===X&&lo(R)===d.type)?(d=n(d,y.props),vn(d,y),d.return=m,d):(d=fu(y.type,y.key,y.props,null,m.mode,T),vn(d,y),d.return=m,d)}function v(m,d,y,T){return d===null||d.tag!==4||d.stateNode.containerInfo!==y.containerInfo||d.stateNode.implementation!==y.implementation?(d=Fi(y,m.mode,T),d.return=m,d):(d=n(d,y.children||[]),d.return=m,d)}function A(m,d,y,T,R){return d===null||d.tag!==7?(d=Re(y,m.mode,T,R),d.return=m,d):(d=n(d,y),d.return=m,d)}function N(m,d,y){if(typeof d=="string"&&d!==""||typeof d=="number"||typeof d=="bigint")return d=$i(""+d,m.mode,y),d.return=m,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case dl:return y=fu(d.type,d.key,d.props,null,m.mode,y),vn(y,d),y.return=m,y;case fl:return d=Fi(d,m.mode,y),d.return=m,d;case X:var T=d._init;return d=T(d._payload),N(m,d,y)}if(E(d)||ml(d))return d=Re(d,m.mode,y,null),d.return=m,d;if(typeof d.then=="function")return N(m,Eu(d),y);if(d.$$typeof===j)return N(m,du(m,d),y);zu(m,d)}return null}function g(m,d,y,T){var R=d!==null?d.key:null;if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return R!==null?null:f(m,d,""+y,T);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case dl:return y.key===R?o(m,d,y,T):null;case fl:return y.key===R?v(m,d,y,T):null;case X:return R=y._init,y=R(y._payload),g(m,d,y,T)}if(E(y)||ml(y))return R!==null?null:A(m,d,y,T,null);if(typeof y.then=="function")return g(m,d,Eu(y),T);if(y.$$typeof===j)return g(m,d,du(m,y),T);zu(m,y)}return null}function p(m,d,y,T,R){if(typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint")return m=m.get(y)||null,f(d,m,""+T,R);if(typeof T=="object"&&T!==null){switch(T.$$typeof){case dl:return m=m.get(T.key===null?y:T.key)||null,o(d,m,T,R);case fl:return m=m.get(T.key===null?y:T.key)||null,v(d,m,T,R);case X:var al=T._init;return T=al(T._payload),p(m,d,y,T,R)}if(E(T)||ml(T))return m=m.get(y)||null,A(d,m,T,R,null);if(typeof T.then=="function")return p(m,d,y,Eu(T),R);if(T.$$typeof===j)return p(m,d,y,du(d,T),R);zu(d,T)}return null}function J(m,d,y,T){for(var R=null,al=null,G=d,w=d=0,Cl=null;G!==null&&w<y.length;w++){G.index>w?(Cl=G,G=null):Cl=G.sibling;var rl=g(m,G,y[w],T);if(rl===null){G===null&&(G=Cl);break}l&&G&&rl.alternate===null&&t(m,G),d=u(rl,d,w),al===null?R=rl:al.sibling=rl,al=rl,G=Cl}if(w===y.length)return e(m,G),ol&&He(m,w),R;if(G===null){for(;w<y.length;w++)G=N(m,y[w],T),G!==null&&(d=u(G,d,w),al===null?R=G:al.sibling=G,al=G);return ol&&He(m,w),R}for(G=a(G);w<y.length;w++)Cl=p(G,m,w,y[w],T),Cl!==null&&(l&&Cl.alternate!==null&&G.delete(Cl.key===null?w:Cl.key),d=u(Cl,d,w),al===null?R=Cl:al.sibling=Cl,al=Cl);return l&&G.forEach(function(ze){return t(m,ze)}),ol&&He(m,w),R}function K(m,d,y,T){if(y==null)throw Error(s(151));for(var R=null,al=null,G=d,w=d=0,Cl=null,rl=y.next();G!==null&&!rl.done;w++,rl=y.next()){G.index>w?(Cl=G,G=null):Cl=G.sibling;var ze=g(m,G,rl.value,T);if(ze===null){G===null&&(G=Cl);break}l&&G&&ze.alternate===null&&t(m,G),d=u(ze,d,w),al===null?R=ze:al.sibling=ze,al=ze,G=Cl}if(rl.done)return e(m,G),ol&&He(m,w),R;if(G===null){for(;!rl.done;w++,rl=y.next())rl=N(m,rl.value,T),rl!==null&&(d=u(rl,d,w),al===null?R=rl:al.sibling=rl,al=rl);return ol&&He(m,w),R}for(G=a(G);!rl.done;w++,rl=y.next())rl=p(G,m,w,rl.value,T),rl!==null&&(l&&rl.alternate!==null&&G.delete(rl.key===null?w:rl.key),d=u(rl,d,w),al===null?R=rl:al.sibling=rl,al=rl);return l&&G.forEach(function(s_){return t(m,s_)}),ol&&He(m,w),R}function Sl(m,d,y,T){if(typeof y=="object"&&y!==null&&y.type===$&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case dl:l:{for(var R=y.key;d!==null;){if(d.key===R){if(R=y.type,R===$){if(d.tag===7){e(m,d.sibling),T=n(d,y.props.children),T.return=m,m=T;break l}}else if(d.elementType===R||typeof R=="object"&&R!==null&&R.$$typeof===X&&lo(R)===d.type){e(m,d.sibling),T=n(d,y.props),vn(T,y),T.return=m,m=T;break l}e(m,d);break}else t(m,d);d=d.sibling}y.type===$?(T=Re(y.props.children,m.mode,T,y.key),T.return=m,m=T):(T=fu(y.type,y.key,y.props,null,m.mode,T),vn(T,y),T.return=m,m=T)}return c(m);case fl:l:{for(R=y.key;d!==null;){if(d.key===R)if(d.tag===4&&d.stateNode.containerInfo===y.containerInfo&&d.stateNode.implementation===y.implementation){e(m,d.sibling),T=n(d,y.children||[]),T.return=m,m=T;break l}else{e(m,d);break}else t(m,d);d=d.sibling}T=Fi(y,m.mode,T),T.return=m,m=T}return c(m);case X:return R=y._init,y=R(y._payload),Sl(m,d,y,T)}if(E(y))return J(m,d,y,T);if(ml(y)){if(R=ml(y),typeof R!="function")throw Error(s(150));return y=R.call(y),K(m,d,y,T)}if(typeof y.then=="function")return Sl(m,d,Eu(y),T);if(y.$$typeof===j)return Sl(m,d,du(m,y),T);zu(m,y)}return typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint"?(y=""+y,d!==null&&d.tag===6?(e(m,d.sibling),T=n(d,y),T.return=m,m=T):(e(m,d),T=$i(y,m.mode,T),T.return=m,m=T),c(m)):e(m,d)}return function(m,d,y,T){try{yn=0;var R=Sl(m,d,y,T);return ga=null,R}catch(G){if(G===cn||G===hu)throw G;var al=nt(29,G,null,m.mode);return al.lanes=T,al.return=m,al}finally{}}}var ba=to(!0),eo=to(!1),yt=xl(null),Nt=null;function oe(l){var t=l.alternate;I(Yl,Yl.current&1),I(yt,l),Nt===null&&(t===null||ha.current!==null||t.memoizedState!==null)&&(Nt=l)}function ao(l){if(l.tag===22){if(I(Yl,Yl.current),I(yt,l),Nt===null){var t=l.alternate;t!==null&&t.memoizedState!==null&&(Nt=l)}}else de()}function de(){I(Yl,Yl.current),I(yt,yt.current)}function Kt(l){cl(yt),Nt===l&&(Nt=null),cl(Yl)}var Yl=xl(0);function Nu(l){for(var t=l;t!==null;){if(t.tag===13){var e=t.memoizedState;if(e!==null&&(e=e.dehydrated,e===null||e.data==="$?"||Sf(e)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){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}function Oc(l,t,e,a){t=l.memoizedState,e=e(a,t),e=e==null?t:D({},t,e),l.memoizedState=e,l.lanes===0&&(l.updateQueue.baseState=e)}var jc={enqueueSetState:function(l,t,e){l=l._reactInternals;var a=ft(),n=fe(a);n.payload=t,e!=null&&(n.callback=e),t=se(l,n,a),t!==null&&(st(t,l,a),sn(t,l,a))},enqueueReplaceState:function(l,t,e){l=l._reactInternals;var a=ft(),n=fe(a);n.tag=1,n.payload=t,e!=null&&(n.callback=e),t=se(l,n,a),t!==null&&(st(t,l,a),sn(t,l,a))},enqueueForceUpdate:function(l,t){l=l._reactInternals;var e=ft(),a=fe(e);a.tag=2,t!=null&&(a.callback=t),t=se(l,a,e),t!==null&&(st(t,l,e),sn(t,l,e))}};function no(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?!Ia(e,a)||!Ia(n,u):!0}function uo(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&&jc.enqueueReplaceState(t,t.state,null)}function Ve(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=D({},e));for(var n in l)e[n]===void 0&&(e[n]=l[n])}return e}var Mu=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 i=="object"&&typeof i.emit=="function"){i.emit("uncaughtException",l);return}console.error(l)};function io(l){Mu(l)}function co(l){console.error(l)}function fo(l){Mu(l)}function Du(l,t){try{var e=l.onUncaughtError;e(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function so(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})}}function Uc(l,t,e){return e=fe(e),e.tag=3,e.payload={element:null},e.callback=function(){Du(l,t)},e}function ro(l){return l=fe(l),l.tag=3,l}function oo(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(){so(t,e,a)}}var c=e.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(l.callback=function(){so(t,e,a),typeof n!="function"&&(ge===null?ge=new Set([this]):ge.add(this));var f=a.stack;this.componentDidCatch(a.value,{componentStack:f!==null?f:""})})}function sh(l,t,e,a,n){if(e.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=e.alternate,t!==null&&an(t,e,n,!0),e=yt.current,e!==null){switch(e.tag){case 13:return Nt===null?ef():e.alternate===null&&jl===0&&(jl=3),e.flags&=-257,e.flags|=65536,e.lanes=n,a===cc?e.flags|=16384:(t=e.updateQueue,t===null?e.updateQueue=new Set([a]):t.add(a),nf(l,a,n)),!1;case 22:return e.flags|=65536,a===cc?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)),nf(l,a,n)),!1}throw Error(s(435,e.tag))}return nf(l,a,n),ef(),!1}if(ol)return t=yt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,a!==lc&&(l=Error(s(422),{cause:a}),en(dt(l,e)))):(a!==lc&&(t=Error(s(423),{cause:a}),en(dt(t,e))),l=l.current.alternate,l.flags|=65536,n&=-n,l.lanes|=n,a=dt(a,e),n=Uc(l.stateNode,a,n),rc(l,n),jl!==4&&(jl=2)),!1;var u=Error(s(520),{cause:a});if(u=dt(u,e),Tn===null?Tn=[u]:Tn.push(u),jl!==4&&(jl=2),t===null)return!0;a=dt(a,e),e=t;do{switch(e.tag){case 3:return e.flags|=65536,l=n&-n,e.lanes|=l,l=Uc(e.stateNode,a,l),rc(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"&&(ge===null||!ge.has(u))))return e.flags|=65536,n&=-n,e.lanes|=n,n=ro(n),oo(n,l,e,a),rc(e,n),!1}e=e.return}while(e!==null);return!1}var mo=Error(s(461)),Xl=!1;function Kl(l,t,e,a){t.child=l===null?eo(t,null,e,a):ba(t,l.child,e,a)}function ho(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 Xe(t),a=_c(l,t,e,c,u,n),f=yc(),l!==null&&!Xl?(vc(l,t,n),wt(l,t,n)):(ol&&f&&Ii(t),t.flags|=1,Kl(l,t,a,n),t.child)}function _o(l,t,e,a,n){if(l===null){var u=e.type;return typeof u=="function"&&!Wi(u)&&u.defaultProps===void 0&&e.compare===null?(t.tag=15,t.type=u,yo(l,t,u,a,n)):(l=fu(e.type,null,a,t,t.mode,n),l.ref=t.ref,l.return=t,t.child=l)}if(u=l.child,!Zc(l,n)){var c=u.memoizedProps;if(e=e.compare,e=e!==null?e:Ia,e(c,a)&&l.ref===t.ref)return wt(l,t,n)}return t.flags|=1,l=Yt(u,a),l.ref=t.ref,l.return=t,t.child=l}function yo(l,t,e,a,n){if(l!==null){var u=l.memoizedProps;if(Ia(u,a)&&l.ref===t.ref)if(Xl=!1,t.pendingProps=a=u,Zc(l,n))(l.flags&131072)!==0&&(Xl=!0);else return t.lanes=l.lanes,wt(l,t,n)}return Rc(l,t,e,a,n)}function vo(l,t,e){var a=t.pendingProps,n=a.children,u=l!==null?l.memoizedState:null;if(a.mode==="hidden"){if((t.flags&128)!==0){if(a=u!==null?u.baseLanes|e:e,l!==null){for(n=t.child=l.child,u=0;n!==null;)u=u|n.lanes|n.childLanes,n=n.sibling;t.childLanes=u&~a}else t.childLanes=0,t.child=null;return go(l,t,a,e)}if((e&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},l!==null&&mu(t,u!==null?u.cachePool:null),u!==null?_r(t,u):dc(),ao(t);else return t.lanes=t.childLanes=536870912,go(l,t,u!==null?u.baseLanes|e:e,e)}else u!==null?(mu(t,u.cachePool),_r(t,u),de(),t.memoizedState=null):(l!==null&&mu(t,null),dc(),de());return Kl(l,t,n,e),t.child}function go(l,t,e,a){var n=ic();return n=n===null?null:{parent:Ql._currentValue,pool:n},t.memoizedState={baseLanes:e,cachePool:n},l!==null&&mu(t,null),dc(),ao(t),l!==null&&an(l,t,a,!0),null}function Ou(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(s(284));(l===null||l.ref!==e)&&(t.flags|=4194816)}}function Rc(l,t,e,a,n){return Xe(t),e=_c(l,t,e,a,void 0,n),a=yc(),l!==null&&!Xl?(vc(l,t,n),wt(l,t,n)):(ol&&a&&Ii(t),t.flags|=1,Kl(l,t,e,n),t.child)}function bo(l,t,e,a,n,u){return Xe(t),t.updateQueue=null,e=vr(t,a,e,n),yr(l),a=yc(),l!==null&&!Xl?(vc(l,t,u),wt(l,t,u)):(ol&&a&&Ii(t),t.flags|=1,Kl(l,t,e,u),t.child)}function So(l,t,e,a,n){if(Xe(t),t.stateNode===null){var u=sa,c=e.contextType;typeof c=="object"&&c!==null&&(u=ql(c)),u=new e(a,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=jc,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=a,u.state=t.memoizedState,u.refs={},fc(t),c=e.contextType,u.context=typeof c=="object"&&c!==null?ql(c):sa,u.state=t.memoizedState,c=e.getDerivedStateFromProps,typeof c=="function"&&(Oc(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&&jc.enqueueReplaceState(u,u.state,null),on(t,a,u,n),rn(),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=Ve(e,f);u.props=o;var v=u.context,A=e.contextType;c=sa,typeof A=="object"&&A!==null&&(c=ql(A));var N=e.getDerivedStateFromProps;A=typeof N=="function"||typeof u.getSnapshotBeforeUpdate=="function",f=t.pendingProps!==f,A||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(f||v!==c)&&uo(t,u,a,c),ce=!1;var g=t.memoizedState;u.state=g,on(t,a,u,n),rn(),v=t.memoizedState,f||g!==v||ce?(typeof N=="function"&&(Oc(t,e,N,a),v=t.memoizedState),(o=ce||no(t,e,o,a,g,v,c))?(A||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=v),u.props=a,u.state=v,u.context=c,a=o):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{u=t.stateNode,sc(l,t),c=t.memoizedProps,A=Ve(e,c),u.props=A,N=t.pendingProps,g=u.context,v=e.contextType,o=sa,typeof v=="object"&&v!==null&&(o=ql(v)),f=e.getDerivedStateFromProps,(v=typeof f=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(c!==N||g!==o)&&uo(t,u,a,o),ce=!1,g=t.memoizedState,u.state=g,on(t,a,u,n),rn();var p=t.memoizedState;c!==N||g!==p||ce||l!==null&&l.dependencies!==null&&ou(l.dependencies)?(typeof f=="function"&&(Oc(t,e,f,a),p=t.memoizedState),(A=ce||no(t,e,A,a,g,p,o)||l!==null&&l.dependencies!==null&&ou(l.dependencies))?(v||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,p,o),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,p,o)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||c===l.memoizedProps&&g===l.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===l.memoizedProps&&g===l.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=p),u.props=a,u.state=p,u.context=o,a=A):(typeof u.componentDidUpdate!="function"||c===l.memoizedProps&&g===l.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===l.memoizedProps&&g===l.memoizedState||(t.flags|=1024),a=!1)}return u=a,Ou(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)):Kl(l,t,e,n),t.memoizedState=u.state,l=t.child):l=wt(l,t,n),l}function po(l,t,e,a){return tn(),t.flags|=256,Kl(l,t,e,a),t.child}var Bc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Hc(l){return{baseLanes:l,cachePool:cr()}}function Qc(l,t,e){return l=l!==null?l.childLanes&~e:0,t&&(l|=vt),l}function Ao(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:(Yl.current&2)!==0),c&&(n=!0,t.flags&=-129),c=(t.flags&32)!==0,t.flags&=-33,l===null){if(ol){if(n?oe(t):de(),ol){var f=Ol,o;if(o=f){l:{for(o=f,f=zt;o.nodeType!==8;){if(!f){f=null;break l}if(o=At(o.nextSibling),o===null){f=null;break l}}f=o}f!==null?(t.memoizedState={dehydrated:f,treeContext:Be!==null?{id:Gt,overflow:Xt}:null,retryLane:536870912,hydrationErrors:null},o=nt(18,null,null,0),o.stateNode=f,o.return=t,t.child=o,kl=t,Ol=null,o=!0):o=!1}o||Ye(t)}if(f=t.memoizedState,f!==null&&(f=f.dehydrated,f!==null))return Sf(f)?t.lanes=32:t.lanes=536870912,null;Kt(t)}return f=a.children,a=a.fallback,n?(de(),n=t.mode,f=ju({mode:"hidden",children:f},n),a=Re(a,n,e,null),f.return=t,a.return=t,f.sibling=a,t.child=f,n=t.child,n.memoizedState=Hc(e),n.childLanes=Qc(l,c,e),t.memoizedState=Bc,a):(oe(t),Yc(t,f))}if(o=l.memoizedState,o!==null&&(f=o.dehydrated,f!==null)){if(u)t.flags&256?(oe(t),t.flags&=-257,t=Gc(l,t,e)):t.memoizedState!==null?(de(),t.child=l.child,t.flags|=128,t=null):(de(),n=a.fallback,f=t.mode,a=ju({mode:"visible",children:a.children},f),n=Re(n,f,e,null),n.flags|=2,a.return=t,n.return=t,a.sibling=n,t.child=a,ba(t,l.child,null,e),a=t.child,a.memoizedState=Hc(e),a.childLanes=Qc(l,c,e),t.memoizedState=Bc,t=n);else if(oe(t),Sf(f)){if(c=f.nextSibling&&f.nextSibling.dataset,c)var v=c.dgst;c=v,a=Error(s(419)),a.stack="",a.digest=c,en({value:a,source:null,stack:null}),t=Gc(l,t,e)}else if(Xl||an(l,t,e,!1),c=(e&l.childLanes)!==0,Xl||c){if(c=Al,c!==null&&(a=e&-e,a=(a&42)!==0?1:Si(a),a=(a&(c.suspendedLanes|e))!==0?0:a,a!==0&&a!==o.retryLane))throw o.retryLane=a,fa(l,a),st(c,l,a),mo;f.data==="$?"||ef(),t=Gc(l,t,e)}else f.data==="$?"?(t.flags|=192,t.child=l.child,t=null):(l=o.treeContext,Ol=At(f.nextSibling),kl=t,ol=!0,Qe=null,zt=!1,l!==null&&(ht[_t++]=Gt,ht[_t++]=Xt,ht[_t++]=Be,Gt=l.id,Xt=l.overflow,Be=t),t=Yc(t,a.children),t.flags|=4096);return t}return n?(de(),n=a.fallback,f=t.mode,o=l.child,v=o.sibling,a=Yt(o,{mode:"hidden",children:a.children}),a.subtreeFlags=o.subtreeFlags&65011712,v!==null?n=Yt(v,n):(n=Re(n,f,e,null),n.flags|=2),n.return=t,a.return=t,a.sibling=n,t.child=a,a=n,n=t.child,f=l.child.memoizedState,f===null?f=Hc(e):(o=f.cachePool,o!==null?(v=Ql._currentValue,o=o.parent!==v?{parent:v,pool:v}:o):o=cr(),f={baseLanes:f.baseLanes|e,cachePool:o}),n.memoizedState=f,n.childLanes=Qc(l,c,e),t.memoizedState=Bc,a):(oe(t),e=l.child,l=e.sibling,e=Yt(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)}function Yc(l,t){return t=ju({mode:"visible",children:t},l.mode),t.return=l,l.child=t}function ju(l,t){return l=nt(22,l,null,t),l.lanes=0,l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},l}function Gc(l,t,e){return ba(t,l.child,null,e),l=Yc(t,t.pendingProps.children),l.flags|=2,t.memoizedState=null,l}function xo(l,t,e){l.lanes|=t;var a=l.alternate;a!==null&&(a.lanes|=t),ec(l.return,t,e)}function Xc(l,t,e,a,n){var u=l.memoizedState;u===null?l.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:e,tailMode:n}:(u.isBackwards=t,u.rendering=null,u.renderingStartTime=0,u.last=a,u.tail=e,u.tailMode=n)}function To(l,t,e){var a=t.pendingProps,n=a.revealOrder,u=a.tail;if(Kl(l,t,a.children,e),a=Yl.current,(a&2)!==0)a=a&1|2,t.flags|=128;else{if(l!==null&&(l.flags&128)!==0)l:for(l=t.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&xo(l,e,t);else if(l.tag===19)xo(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}a&=1}switch(I(Yl,a),n){case"forwards":for(e=t.child,n=null;e!==null;)l=e.alternate,l!==null&&Nu(l)===null&&(n=e),e=e.sibling;e=n,e===null?(n=t.child,t.child=null):(n=e.sibling,e.sibling=null),Xc(t,!1,n,e,u);break;case"backwards":for(e=null,n=t.child,t.child=null;n!==null;){if(l=n.alternate,l!==null&&Nu(l)===null){t.child=n;break}l=n.sibling,n.sibling=e,e=n,n=l}Xc(t,!0,e,null,u);break;case"together":Xc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function wt(l,t,e){if(l!==null&&(t.dependencies=l.dependencies),ve|=t.lanes,(e&t.childLanes)===0)if(l!==null){if(an(l,t,e,!1),(e&t.childLanes)===0)return null}else return null;if(l!==null&&t.child!==l.child)throw Error(s(153));if(t.child!==null){for(l=t.child,e=Yt(l,l.pendingProps),t.child=e,e.return=t;l.sibling!==null;)l=l.sibling,e=e.sibling=Yt(l,l.pendingProps),e.return=t;e.sibling=null}return t.child}function Zc(l,t){return(l.lanes&t)!==0?!0:(l=l.dependencies,!!(l!==null&&ou(l)))}function rh(l,t,e){switch(t.tag){case 3:Xa(t,t.stateNode.containerInfo),ie(t,Ql,l.memoizedState.cache),tn();break;case 27:case 5:Ne(t);break;case 4:Xa(t,t.stateNode.containerInfo);break;case 10:ie(t,t.type,t.memoizedProps.value);break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(oe(t),t.flags|=128,null):(e&t.child.childLanes)!==0?Ao(l,t,e):(oe(t),l=wt(l,t,e),l!==null?l.sibling:null);oe(t);break;case 19:var n=(l.flags&128)!==0;if(a=(e&t.childLanes)!==0,a||(an(l,t,e,!1),a=(e&t.childLanes)!==0),n){if(a)return To(l,t,e);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),I(Yl,Yl.current),a)break;return null;case 22:case 23:return t.lanes=0,vo(l,t,e);case 24:ie(t,Ql,l.memoizedState.cache)}return wt(l,t,e)}function Eo(l,t,e){if(l!==null)if(l.memoizedProps!==t.pendingProps)Xl=!0;else{if(!Zc(l,e)&&(t.flags&128)===0)return Xl=!1,rh(l,t,e);Xl=(l.flags&131072)!==0}else Xl=!1,ol&&(t.flags&1048576)!==0&&lr(t,ru,t.index);switch(t.lanes=0,t.tag){case 16:l:{l=t.pendingProps;var a=t.elementType,n=a._init;if(a=n(a._payload),t.type=a,typeof a=="function")Wi(a)?(l=Ve(a,l),t.tag=1,t=So(null,t,a,l,e)):(t.tag=0,t=Rc(null,t,a,l,e));else{if(a!=null){if(n=a.$$typeof,n===Q){t.tag=11,t=ho(null,t,a,l,e);break l}else if(n===W){t.tag=14,t=_o(null,t,a,l,e);break l}}throw t=F(a)||a,Error(s(306,t,""))}}return t;case 0:return Rc(l,t,t.type,t.pendingProps,e);case 1:return a=t.type,n=Ve(a,t.pendingProps),So(l,t,a,n,e);case 3:l:{if(Xa(t,t.stateNode.containerInfo),l===null)throw Error(s(387));a=t.pendingProps;var u=t.memoizedState;n=u.element,sc(l,t),on(t,a,null,e);var c=t.memoizedState;if(a=c.cache,ie(t,Ql,a),a!==u.cache&&ac(t,[Ql],e,!0),rn(),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=po(l,t,a,e);break l}else if(a!==n){n=dt(Error(s(424)),t),en(n),t=po(l,t,a,e);break l}else{switch(l=t.stateNode.containerInfo,l.nodeType){case 9:l=l.body;break;default:l=l.nodeName==="HTML"?l.ownerDocument.body:l}for(Ol=At(l.firstChild),kl=t,ol=!0,Qe=null,zt=!0,e=eo(t,null,a,e),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(tn(),a===n){t=wt(l,t,e);break l}Kl(l,t,a,e)}t=t.child}return t;case 26:return Ou(l,t),l===null?(e=Dd(t.type,null,t.pendingProps,null))?t.memoizedState=e:ol||(e=t.type,l=t.pendingProps,a=Lu(Et.current).createElement(e),a[Jl]=t,a[$l]=l,Ll(a,e,l),Gl(a),t.stateNode=a):t.memoizedState=Dd(t.type,l.memoizedProps,t.pendingProps,l.memoizedState),null;case 27:return Ne(t),l===null&&ol&&(a=t.stateNode=zd(t.type,t.pendingProps,Et.current),kl=t,zt=!0,n=Ol,pe(t.type)?(pf=n,Ol=At(a.firstChild)):Ol=n),Kl(l,t,t.pendingProps.children,e),Ou(l,t),l===null&&(t.flags|=4194304),t.child;case 5:return l===null&&ol&&((n=a=Ol)&&(a=Gh(a,t.type,t.pendingProps,zt),a!==null?(t.stateNode=a,kl=t,Ol=At(a.firstChild),zt=!1,n=!0):n=!1),n||Ye(t)),Ne(t),n=t.type,u=t.pendingProps,c=l!==null?l.memoizedProps:null,a=u.children,vf(n,u)?a=null:c!==null&&vf(n,c)&&(t.flags|=32),t.memoizedState!==null&&(n=_c(l,t,eh,null,null,e),Rn._currentValue=n),Ou(l,t),Kl(l,t,a,e),t.child;case 6:return l===null&&ol&&((l=e=Ol)&&(e=Xh(e,t.pendingProps,zt),e!==null?(t.stateNode=e,kl=t,Ol=null,l=!0):l=!1),l||Ye(t)),null;case 13:return Ao(l,t,e);case 4:return Xa(t,t.stateNode.containerInfo),a=t.pendingProps,l===null?t.child=ba(t,null,a,e):Kl(l,t,a,e),t.child;case 11:return ho(l,t,t.type,t.pendingProps,e);case 7:return Kl(l,t,t.pendingProps,e),t.child;case 8:return Kl(l,t,t.pendingProps.children,e),t.child;case 12:return Kl(l,t,t.pendingProps.children,e),t.child;case 10:return a=t.pendingProps,ie(t,t.type,a.value),Kl(l,t,a.children,e),t.child;case 9:return n=t.type._context,a=t.pendingProps.children,Xe(t),n=ql(n),a=a(n),t.flags|=1,Kl(l,t,a,e),t.child;case 14:return _o(l,t,t.type,t.pendingProps,e);case 15:return yo(l,t,t.type,t.pendingProps,e);case 19:return To(l,t,e);case 31:return a=t.pendingProps,e=t.mode,a={mode:a.mode,children:a.children},l===null?(e=ju(a,e),e.ref=t.ref,t.child=e,e.return=t,t=e):(e=Yt(l.child,a),e.ref=t.ref,t.child=e,e.return=t,t=e),t;case 22:return vo(l,t,e);case 24:return Xe(t),a=ql(Ql),l===null?(n=ic(),n===null&&(n=Al,u=nc(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=e),n=u),t.memoizedState={parent:a,cache:n},fc(t),ie(t,Ql,n)):((l.lanes&e)!==0&&(sc(l,t),on(t,null,null,e),rn()),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),ie(t,Ql,a)):(a=u.cache,ie(t,Ql,a),a!==n.cache&&ac(t,[Ql],e,!0))),Kl(l,t,t.pendingProps.children,e),t.child;case 29:throw t.pendingProps}throw Error(s(156,t.tag))}function Lt(l){l.flags|=4}function zo(l,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!Bd(t)){if(t=yt.current,t!==null&&((sl&4194048)===sl?Nt!==null:(sl&62914560)!==sl&&(sl&536870912)===0||t!==Nt))throw fn=cc,fr;l.flags|=8192}}function Uu(l,t){t!==null&&(l.flags|=4),l.flags&16384&&(t=l.tag!==22?as():536870912,l.lanes|=t,xa|=t)}function gn(l,t){if(!ol)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}}function Dl(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}function oh(l,t,e){var a=t.pendingProps;switch(Pi(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Dl(t),null;case 1:return Dl(t),null;case 3:return e=t.stateNode,a=null,l!==null&&(a=l.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Ct(Ql),Wl(),e.pendingContext&&(e.context=e.pendingContext,e.pendingContext=null),(l===null||l.child===null)&&(ln(t)?Lt(t):l===null||l.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,ar())),Dl(t),null;case 26:return e=t.memoizedState,l===null?(Lt(t),e!==null?(Dl(t),zo(t,e)):(Dl(t),t.flags&=-16777217)):e?e!==l.memoizedState?(Lt(t),Dl(t),zo(t,e)):(Dl(t),t.flags&=-16777217):(l.memoizedProps!==a&&Lt(t),Dl(t),t.flags&=-16777217),null;case 27:le(t),e=Et.current;var n=t.type;if(l!==null&&t.stateNode!=null)l.memoizedProps!==a&&Lt(t);else{if(!a){if(t.stateNode===null)throw Error(s(166));return Dl(t),null}l=Ml.current,ln(t)?tr(t):(l=zd(n,a,e),t.stateNode=l,Lt(t))}return Dl(t),null;case 5:if(le(t),e=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==a&&Lt(t);else{if(!a){if(t.stateNode===null)throw Error(s(166));return Dl(t),null}if(l=Ml.current,ln(t))tr(t);else{switch(n=Lu(Et.current),l){case 1:l=n.createElementNS("http://www.w3.org/2000/svg",e);break;case 2:l=n.createElementNS("http://www.w3.org/1998/Math/MathML",e);break;default:switch(e){case"svg":l=n.createElementNS("http://www.w3.org/2000/svg",e);break;case"math":l=n.createElementNS("http://www.w3.org/1998/Math/MathML",e);break;case"script":l=n.createElement("div"),l.innerHTML="<script><\/script>",l=l.removeChild(l.firstChild);break;case"select":l=typeof a.is=="string"?n.createElement("select",{is:a.is}):n.createElement("select"),a.multiple?l.multiple=!0:a.size&&(l.size=a.size);break;default:l=typeof a.is=="string"?n.createElement(e,{is:a.is}):n.createElement(e)}}l[Jl]=t,l[$l]=a;l:for(n=t.child;n!==null;){if(n.tag===5||n.tag===6)l.appendChild(n.stateNode);else if(n.tag!==4&&n.tag!==27&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break l;for(;n.sibling===null;){if(n.return===null||n.return===t)break l;n=n.return}n.sibling.return=n.return,n=n.sibling}t.stateNode=l;l:switch(Ll(l,e,a),e){case"button":case"input":case"select":case"textarea":l=!!a.autoFocus;break l;case"img":l=!0;break l;default:l=!1}l&&Lt(t)}}return Dl(t),t.flags&=-16777217,null;case 6:if(l&&t.stateNode!=null)l.memoizedProps!==a&&Lt(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(s(166));if(l=Et.current,ln(t)){if(l=t.stateNode,e=t.memoizedProps,a=null,n=kl,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}l[Jl]=t,l=!!(l.nodeValue===e||a!==null&&a.suppressHydrationWarning===!0||bd(l.nodeValue,e)),l||Ye(t)}else l=Lu(l).createTextNode(a),l[Jl]=t,t.stateNode=l}return Dl(t),null;case 13:if(a=t.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(n=ln(t),a!==null&&a.dehydrated!==null){if(l===null){if(!n)throw Error(s(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(s(317));n[Jl]=t}else tn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Dl(t),n=!1}else n=ar(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(Kt(t),t):(Kt(t),null)}if(Kt(t),(t.flags&128)!==0)return t.lanes=e,t;if(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);var u=null;a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==n&&(a.flags|=2048)}return e!==l&&e&&(t.child.flags|=8192),Uu(t,t.updateQueue),Dl(t),null;case 4:return Wl(),l===null&&df(t.stateNode.containerInfo),Dl(t),null;case 10:return Ct(t.type),Dl(t),null;case 19:if(cl(Yl),n=t.memoizedState,n===null)return Dl(t),null;if(a=(t.flags&128)!==0,u=n.rendering,u===null)if(a)gn(n,!1);else{if(jl!==0||l!==null&&(l.flags&128)!==0)for(l=t.child;l!==null;){if(u=Nu(l),u!==null){for(t.flags|=128,gn(n,!1),l=u.updateQueue,t.updateQueue=l,Uu(t,l),t.subtreeFlags=0,l=e,e=t.child;e!==null;)Ps(e,l),e=e.sibling;return I(Yl,Yl.current&1|2),t.child}l=l.sibling}n.tail!==null&&Vl()>Hu&&(t.flags|=128,a=!0,gn(n,!1),t.lanes=4194304)}else{if(!a)if(l=Nu(u),l!==null){if(t.flags|=128,a=!0,l=l.updateQueue,t.updateQueue=l,Uu(t,l),gn(n,!0),n.tail===null&&n.tailMode==="hidden"&&!u.alternate&&!ol)return Dl(t),null}else 2*Vl()-n.renderingStartTime>Hu&&e!==536870912&&(t.flags|=128,a=!0,gn(n,!1),t.lanes=4194304);n.isBackwards?(u.sibling=t.child,t.child=u):(l=n.last,l!==null?l.sibling=u:t.child=u,n.last=u)}return n.tail!==null?(t=n.tail,n.rendering=t,n.tail=t.sibling,n.renderingStartTime=Vl(),t.sibling=null,l=Yl.current,I(Yl,a?l&1|2:l&1),t):(Dl(t),null);case 22:case 23:return Kt(t),mc(),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&&(Dl(t),t.subtreeFlags&6&&(t.flags|=8192)):Dl(t),e=t.updateQueue,e!==null&&Uu(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&&cl(Ze),null;case 24:return e=null,l!==null&&(e=l.memoizedState.cache),t.memoizedState.cache!==e&&(t.flags|=2048),Ct(Ql),Dl(t),null;case 25:return null;case 30:return null}throw Error(s(156,t.tag))}function dh(l,t){switch(Pi(t),t.tag){case 1:return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 3:return Ct(Ql),Wl(),l=t.flags,(l&65536)!==0&&(l&128)===0?(t.flags=l&-65537|128,t):null;case 26:case 27:case 5:return le(t),null;case 13:if(Kt(t),l=t.memoizedState,l!==null&&l.dehydrated!==null){if(t.alternate===null)throw Error(s(340));tn()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 19:return cl(Yl),null;case 4:return Wl(),null;case 10:return Ct(t.type),null;case 22:case 23:return Kt(t),mc(),l!==null&&cl(Ze),l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 24:return Ct(Ql),null;case 25:return null;default:return null}}function No(l,t){switch(Pi(t),t.tag){case 3:Ct(Ql),Wl();break;case 26:case 27:case 5:le(t);break;case 4:Wl();break;case 13:Kt(t);break;case 19:cl(Yl);break;case 10:Ct(t.type);break;case 22:case 23:Kt(t),mc(),l!==null&&cl(Ze);break;case 24:Ct(Ql)}}function bn(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){pl(t,t.return,f)}}function me(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,v=f;try{v()}catch(A){pl(n,o,A)}}}a=a.next}while(a!==u)}}catch(A){pl(t,t.return,A)}}function Mo(l){var t=l.updateQueue;if(t!==null){var e=l.stateNode;try{hr(t,e)}catch(a){pl(l,l.return,a)}}}function Do(l,t,e){e.props=Ve(l.type,l.memoizedProps),e.state=l.memoizedState;try{e.componentWillUnmount()}catch(a){pl(l,t,a)}}function Sn(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){pl(l,t,n)}}function Mt(l,t){var e=l.ref,a=l.refCleanup;if(e!==null)if(typeof a=="function")try{a()}catch(n){pl(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){pl(l,t,n)}else e.current=null}function Oo(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){pl(l,l.return,n)}}function Cc(l,t,e){try{var a=l.stateNode;Rh(a,l.type,e,t),a[$l]=t}catch(n){pl(l,l.return,n)}}function jo(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&pe(l.type)||l.tag===4}function Vc(l){l:for(;;){for(;l.sibling===null;){if(l.return===null||jo(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&&pe(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}}function Kc(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=wu));else if(a!==4&&(a===27&&pe(l.type)&&(e=l.stateNode,t=null),l=l.child,l!==null))for(Kc(l,t,e),l=l.sibling;l!==null;)Kc(l,t,e),l=l.sibling}function Ru(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&&pe(l.type)&&(e=l.stateNode),l=l.child,l!==null))for(Ru(l,t,e),l=l.sibling;l!==null;)Ru(l,t,e),l=l.sibling}function Uo(l){var t=l.stateNode,e=l.memoizedProps;try{for(var a=l.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);Ll(t,a,e),t[Jl]=l,t[$l]=e}catch(u){pl(l,l.return,u)}}var Jt=!1,Rl=!1,wc=!1,Ro=typeof WeakSet=="function"?WeakSet:Set,Zl=null;function mh(l,t){if(l=l.containerInfo,_f=Fu,l=Ks(l),Vi(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,v=0,A=0,N=l,g=null;t:for(;;){for(var p;N!==e||n!==0&&N.nodeType!==3||(f=c+n),N!==u||a!==0&&N.nodeType!==3||(o=c+a),N.nodeType===3&&(c+=N.nodeValue.length),(p=N.firstChild)!==null;)g=N,N=p;for(;;){if(N===l)break t;if(g===e&&++v===n&&(f=c),g===u&&++A===a&&(o=c),(p=N.nextSibling)!==null)break;N=g,g=N.parentNode}N=p}e=f===-1||o===-1?null:{start:f,end:o}}else e=null}e=e||{start:0,end:0}}else e=null;for(yf={focusedElem:l,selectionRange:e},Fu=!1,Zl=t;Zl!==null;)if(t=Zl,l=t.child,(t.subtreeFlags&1024)!==0&&l!==null)l.return=t,Zl=l;else for(;Zl!==null;){switch(t=Zl,u=t.alternate,l=t.flags,t.tag){case 0: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 J=Ve(e.type,n,e.elementType===e.type);l=a.getSnapshotBeforeUpdate(J,u),a.__reactInternalSnapshotBeforeUpdate=l}catch(K){pl(e,e.return,K)}}break;case 3:if((l&1024)!==0){if(l=t.stateNode.containerInfo,e=l.nodeType,e===9)bf(l);else if(e===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":bf(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(s(163))}if(l=t.sibling,l!==null){l.return=t.return,Zl=l;break}Zl=t.return}}function Bo(l,t,e){var a=e.flags;switch(e.tag){case 0:case 11:case 15:he(l,e),a&4&&bn(5,e);break;case 1:if(he(l,e),a&4)if(l=e.stateNode,t===null)try{l.componentDidMount()}catch(c){pl(e,e.return,c)}else{var n=Ve(e.type,t.memoizedProps);t=t.memoizedState;try{l.componentDidUpdate(n,t,l.__reactInternalSnapshotBeforeUpdate)}catch(c){pl(e,e.return,c)}}a&64&&Mo(e),a&512&&Sn(e,e.return);break;case 3:if(he(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{hr(l,t)}catch(c){pl(e,e.return,c)}}break;case 27:t===null&&a&4&&Uo(e);case 26:case 5:he(l,e),t===null&&a&4&&Oo(e),a&512&&Sn(e,e.return);break;case 12:he(l,e);break;case 13:he(l,e),a&4&&Yo(l,e),a&64&&(l=e.memoizedState,l!==null&&(l=l.dehydrated,l!==null&&(e=Ah.bind(null,e),Zh(l,e))));break;case 22:if(a=e.memoizedState!==null||Jt,!a){t=t!==null&&t.memoizedState!==null||Rl,n=Jt;var u=Rl;Jt=a,(Rl=t)&&!u?_e(l,e,(e.subtreeFlags&8772)!==0):he(l,e),Jt=n,Rl=u}break;case 30:break;default:he(l,e)}}function Ho(l){var t=l.alternate;t!==null&&(l.alternate=null,Ho(t)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(t=l.stateNode,t!==null&&xi(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}var Tl=null,Pl=!1;function qt(l,t,e){for(e=e.child;e!==null;)Qo(l,t,e),e=e.sibling}function Qo(l,t,e){if(tt&&typeof tt.onCommitFiberUnmount=="function")try{tt.onCommitFiberUnmount(Za,e)}catch{}switch(e.tag){case 26:Rl||Mt(e,t),qt(l,t,e),e.memoizedState?e.memoizedState.count--:e.stateNode&&(e=e.stateNode,e.parentNode.removeChild(e));break;case 27:Rl||Mt(e,t);var a=Tl,n=Pl;pe(e.type)&&(Tl=e.stateNode,Pl=!1),qt(l,t,e),Dn(e.stateNode),Tl=a,Pl=n;break;case 5:Rl||Mt(e,t);case 6:if(a=Tl,n=Pl,Tl=null,qt(l,t,e),Tl=a,Pl=n,Tl!==null)if(Pl)try{(Tl.nodeType===9?Tl.body:Tl.nodeName==="HTML"?Tl.ownerDocument.body:Tl).removeChild(e.stateNode)}catch(u){pl(e,t,u)}else try{Tl.removeChild(e.stateNode)}catch(u){pl(e,t,u)}break;case 18:Tl!==null&&(Pl?(l=Tl,Td(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.stateNode),Yn(l)):Td(Tl,e.stateNode));break;case 4:a=Tl,n=Pl,Tl=e.stateNode.containerInfo,Pl=!0,qt(l,t,e),Tl=a,Pl=n;break;case 0:case 11:case 14:case 15:Rl||me(2,e,t),Rl||me(4,e,t),qt(l,t,e);break;case 1:Rl||(Mt(e,t),a=e.stateNode,typeof a.componentWillUnmount=="function"&&Do(e,t,a)),qt(l,t,e);break;case 21:qt(l,t,e);break;case 22:Rl=(a=Rl)||e.memoizedState!==null,qt(l,t,e),Rl=a;break;default:qt(l,t,e)}}function Yo(l,t){if(t.memoizedState===null&&(l=t.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{Yn(l)}catch(e){pl(t,t.return,e)}}function hh(l){switch(l.tag){case 13:case 19:var t=l.stateNode;return t===null&&(t=l.stateNode=new Ro),t;case 22:return l=l.stateNode,t=l._retryCache,t===null&&(t=l._retryCache=new Ro),t;default:throw Error(s(435,l.tag))}}function Lc(l,t){var e=hh(l);t.forEach(function(a){var n=xh.bind(null,l,a);e.has(a)||(e.add(a),a.then(n,n))})}function ut(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(pe(f.type)){Tl=f.stateNode,Pl=!1;break l}break;case 5:Tl=f.stateNode,Pl=!1;break l;case 3:case 4:Tl=f.stateNode.containerInfo,Pl=!0;break l}f=f.return}if(Tl===null)throw Error(s(160));Qo(u,c,n),Tl=null,Pl=!1,u=n.alternate,u!==null&&(u.return=null),n.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)Go(t,l),t=t.sibling}var pt=null;function Go(l,t){var e=l.alternate,a=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:ut(t,l),it(l),a&4&&(me(3,l,l.return),bn(3,l),me(5,l,l.return));break;case 1:ut(t,l),it(l),a&512&&(Rl||e===null||Mt(e,e.return)),a&64&&Jt&&(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=pt;if(ut(t,l),it(l),a&512&&(Rl||e===null||Mt(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[Ka]||u[Jl]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=n.createElement(a),n.head.insertBefore(u,n.querySelector("head > title"))),Ll(u,a,e),u[Jl]=l,Gl(u),a=u;break l;case"link":var c=Ud("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),Ll(u,a,e),n.head.appendChild(u);break;case"meta":if(c=Ud("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),Ll(u,a,e),n.head.appendChild(u);break;default:throw Error(s(468,a))}u[Jl]=l,Gl(u),a=u}l.stateNode=a}else Rd(n,l.type,l.stateNode);else l.stateNode=jd(n,a,l.memoizedProps);else u!==a?(u===null?e.stateNode!==null&&(e=e.stateNode,e.parentNode.removeChild(e)):u.count--,a===null?Rd(n,l.type,l.stateNode):jd(n,a,l.memoizedProps)):a===null&&l.stateNode!==null&&Cc(l,l.memoizedProps,e.memoizedProps)}break;case 27:ut(t,l),it(l),a&512&&(Rl||e===null||Mt(e,e.return)),e!==null&&a&4&&Cc(l,l.memoizedProps,e.memoizedProps);break;case 5:if(ut(t,l),it(l),a&512&&(Rl||e===null||Mt(e,e.return)),l.flags&32){n=l.stateNode;try{ta(n,"")}catch(p){pl(l,l.return,p)}}a&4&&l.stateNode!=null&&(n=l.memoizedProps,Cc(l,n,e!==null?e.memoizedProps:n)),a&1024&&(wc=!0);break;case 6:if(ut(t,l),it(l),a&4){if(l.stateNode===null)throw Error(s(162));a=l.memoizedProps,e=l.stateNode;try{e.nodeValue=a}catch(p){pl(l,l.return,p)}}break;case 3:if(ku=null,n=pt,pt=Ju(t.containerInfo),ut(t,l),pt=n,it(l),a&4&&e!==null&&e.memoizedState.isDehydrated)try{Yn(t.containerInfo)}catch(p){pl(l,l.return,p)}wc&&(wc=!1,Xo(l));break;case 4:a=pt,pt=Ju(l.stateNode.containerInfo),ut(t,l),it(l),pt=a;break;case 12:ut(t,l),it(l);break;case 13:ut(t,l),it(l),l.child.flags&8192&&l.memoizedState!==null!=(e!==null&&e.memoizedState!==null)&&(Fc=Vl()),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,Lc(l,a)));break;case 22:n=l.memoizedState!==null;var o=e!==null&&e.memoizedState!==null,v=Jt,A=Rl;if(Jt=v||n,Rl=A||o,ut(t,l),Rl=A,Jt=v,it(l),a&8192)l:for(t=l.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(e===null||o||Jt||Rl||Ke(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 N=o.memoizedProps.style,g=N!=null&&N.hasOwnProperty("display")?N.display:null;f.style.display=g==null||typeof g=="boolean"?"":(""+g).trim()}}catch(p){pl(o,o.return,p)}}}else if(t.tag===6){if(e===null){o=t;try{o.stateNode.nodeValue=n?"":o.memoizedProps}catch(p){pl(o,o.return,p)}}}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,Lc(l,e))));break;case 19:ut(t,l),it(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,Lc(l,a)));break;case 30:break;case 21:break;default:ut(t,l),it(l)}}function it(l){var t=l.flags;if(t&2){try{for(var e,a=l.return;a!==null;){if(jo(a)){e=a;break}a=a.return}if(e==null)throw Error(s(160));switch(e.tag){case 27:var n=e.stateNode,u=Vc(l);Ru(l,u,n);break;case 5:var c=e.stateNode;e.flags&32&&(ta(c,""),e.flags&=-33);var f=Vc(l);Ru(l,f,c);break;case 3:case 4:var o=e.stateNode.containerInfo,v=Vc(l);Kc(l,v,o);break;default:throw Error(s(161))}}catch(A){pl(l,l.return,A)}l.flags&=-3}t&4096&&(l.flags&=-4097)}function Xo(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var t=l;Xo(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),l=l.sibling}}function he(l,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Bo(l,t.alternate,t),t=t.sibling}function Ke(l){for(l=l.child;l!==null;){var t=l;switch(t.tag){case 0:case 11:case 14:case 15:me(4,t,t.return),Ke(t);break;case 1:Mt(t,t.return);var e=t.stateNode;typeof e.componentWillUnmount=="function"&&Do(t,t.return,e),Ke(t);break;case 27:Dn(t.stateNode);case 26:case 5:Mt(t,t.return),Ke(t);break;case 22:t.memoizedState===null&&Ke(t);break;case 30:Ke(t);break;default:Ke(t)}l=l.sibling}}function _e(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:_e(n,u,e),bn(4,u);break;case 1:if(_e(n,u,e),a=u,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(v){pl(a,a.return,v)}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++)mr(o[n],f)}catch(v){pl(a,a.return,v)}}e&&c&64&&Mo(u),Sn(u,u.return);break;case 27:Uo(u);case 26:case 5:_e(n,u,e),e&&a===null&&c&4&&Oo(u),Sn(u,u.return);break;case 12:_e(n,u,e);break;case 13:_e(n,u,e),e&&c&4&&Yo(n,u);break;case 22:u.memoizedState===null&&_e(n,u,e),Sn(u,u.return);break;case 30:break;default:_e(n,u,e)}t=t.sibling}}function Jc(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&&nn(e))}function qc(l,t){l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(t.refCount++,l!=null&&nn(l))}function Dt(l,t,e,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Zo(l,t,e,a),t=t.sibling}function Zo(l,t,e,a){var n=t.flags;switch(t.tag){case 0:case 11:case 15:Dt(l,t,e,a),n&2048&&bn(9,t);break;case 1:Dt(l,t,e,a);break;case 3:Dt(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&&nn(l)));break;case 12:if(n&2048){Dt(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){pl(t,t.return,o)}}else Dt(l,t,e,a);break;case 13:Dt(l,t,e,a);break;case 23:break;case 22:u=t.stateNode,c=t.alternate,t.memoizedState!==null?u._visibility&2?Dt(l,t,e,a):pn(l,t):u._visibility&2?Dt(l,t,e,a):(u._visibility|=2,Sa(l,t,e,a,(t.subtreeFlags&10256)!==0)),n&2048&&Jc(c,t);break;case 24:Dt(l,t,e,a),n&2048&&qc(t.alternate,t);break;default:Dt(l,t,e,a)}}function Sa(l,t,e,a,n){for(n=n&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;){var u=l,c=t,f=e,o=a,v=c.flags;switch(c.tag){case 0:case 11:case 15:Sa(u,c,f,o,n),bn(8,c);break;case 23:break;case 22:var A=c.stateNode;c.memoizedState!==null?A._visibility&2?Sa(u,c,f,o,n):pn(u,c):(A._visibility|=2,Sa(u,c,f,o,n)),n&&v&2048&&Jc(c.alternate,c);break;case 24:Sa(u,c,f,o,n),n&&v&2048&&qc(c.alternate,c);break;default:Sa(u,c,f,o,n)}t=t.sibling}}function pn(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:pn(e,a),n&2048&&Jc(a.alternate,a);break;case 24:pn(e,a),n&2048&&qc(a.alternate,a);break;default:pn(e,a)}t=t.sibling}}var An=8192;function pa(l){if(l.subtreeFlags&An)for(l=l.child;l!==null;)Co(l),l=l.sibling}function Co(l){switch(l.tag){case 26:pa(l),l.flags&An&&l.memoizedState!==null&&Ph(pt,l.memoizedState,l.memoizedProps);break;case 5:pa(l);break;case 3:case 4:var t=pt;pt=Ju(l.stateNode.containerInfo),pa(l),pt=t;break;case 22:l.memoizedState===null&&(t=l.alternate,t!==null&&t.memoizedState!==null?(t=An,An=16777216,pa(l),An=t):pa(l));break;default:pa(l)}}function Vo(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)}}function xn(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];Zl=a,wo(a,l)}Vo(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)Ko(l),l=l.sibling}function Ko(l){switch(l.tag){case 0:case 11:case 15:xn(l),l.flags&2048&&me(9,l,l.return);break;case 3:xn(l);break;case 12:xn(l);break;case 22:var t=l.stateNode;l.memoizedState!==null&&t._visibility&2&&(l.return===null||l.return.tag!==13)?(t._visibility&=-3,Bu(l)):xn(l);break;default:xn(l)}}function Bu(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];Zl=a,wo(a,l)}Vo(l)}for(l=l.child;l!==null;){switch(t=l,t.tag){case 0:case 11:case 15:me(8,t,t.return),Bu(t);break;case 22:e=t.stateNode,e._visibility&2&&(e._visibility&=-3,Bu(t));break;default:Bu(t)}l=l.sibling}}function wo(l,t){for(;Zl!==null;){var e=Zl;switch(e.tag){case 0:case 11:case 15:me(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:nn(e.memoizedState.cache)}if(a=e.child,a!==null)a.return=e,Zl=a;else l:for(e=l;Zl!==null;){a=Zl;var n=a.sibling,u=a.return;if(Ho(a),a===e){Zl=null;break l}if(n!==null){n.return=u,Zl=n;break l}Zl=u}}}var _h={getCacheForType:function(l){var t=ql(Ql),e=t.data.get(l);return e===void 0&&(e=l(),t.data.set(l,e)),e}},yh=typeof WeakMap=="function"?WeakMap:Map,yl=0,Al=null,ul=null,sl=0,vl=0,ct=null,ye=!1,Aa=!1,kc=!1,kt=0,jl=0,ve=0,we=0,Wc=0,vt=0,xa=0,Tn=null,lt=null,$c=!1,Fc=0,Hu=1/0,Qu=null,ge=null,wl=0,be=null,Ta=null,Ea=0,Ic=0,Pc=null,Lo=null,En=0,lf=null;function ft(){if((yl&2)!==0&&sl!==0)return sl&-sl;if(M.T!==null){var l=da;return l!==0?l:ff()}return is()}function Jo(){vt===0&&(vt=(sl&536870912)===0||ol?es():536870912);var l=yt.current;return l!==null&&(l.flags|=32),vt}function st(l,t,e){(l===Al&&(vl===2||vl===9)||l.cancelPendingCommit!==null)&&(za(l,0),Se(l,sl,vt,!1)),Va(l,e),((yl&2)===0||l!==Al)&&(l===Al&&((yl&2)===0&&(we|=e),jl===4&&Se(l,sl,vt,!1)),Ot(l))}function qo(l,t,e){if((yl&6)!==0)throw Error(s(327));var a=!e&&(t&124)===0&&(t&l.expiredLanes)===0||Ca(l,t),n=a?bh(l,t):af(l,t,!0),u=a;do{if(n===0){Aa&&!a&&Se(l,t,0,!1);break}else{if(e=l.current.alternate,u&&!vh(e)){n=af(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=Tn;var o=f.current.memoizedState.isDehydrated;if(o&&(za(f,c).flags|=256),c=af(f,c,!1),c!==2){if(kc&&!o){f.errorRecoveryDisabledLanes|=u,we|=u,n=4;break l}u=lt,lt=n,u!==null&&(lt===null?lt=u:lt.push.apply(lt,u))}n=c}if(u=!1,n!==2)continue}}if(n===1){za(l,0),Se(l,t,0,!0);break}l:{switch(a=l,u=n,u){case 0:case 1:throw Error(s(345));case 4:if((t&4194048)!==t)break;case 6:Se(a,t,vt,!ye);break l;case 2:lt=null;break;case 3:case 5:break;default:throw Error(s(329))}if((t&62914560)===t&&(n=Fc+300-Vl(),10<n)){if(Se(a,t,vt,!ye),qn(a,0,!0)!==0)break l;a.timeoutHandle=Ad(ko.bind(null,a,e,lt,Qu,$c,t,vt,we,xa,ye,u,2,-0,0),n);break l}ko(a,e,lt,Qu,$c,t,vt,we,xa,ye,u,0,-0,0)}}break}while(!0);Ot(l)}function ko(l,t,e,a,n,u,c,f,o,v,A,N,g,p){if(l.timeoutHandle=-1,N=t.subtreeFlags,(N&8192||(N&16785408)===16785408)&&(Un={stylesheets:null,count:0,unsuspend:Ih},Co(t),N=l_(),N!==null)){l.cancelPendingCommit=N(td.bind(null,l,t,u,e,a,n,c,f,o,A,1,g,p)),Se(l,u,c,!v);return}td(l,t,u,e,a,n,c,f,o)}function vh(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(!at(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}function Se(l,t,e,a){t&=~Wc,t&=~we,l.suspendedLanes|=t,l.pingedLanes&=~t,a&&(l.warmLanes|=t),a=l.expirationTimes;for(var n=t;0<n;){var u=31-et(n),c=1<<u;a[u]=-1,n&=~c}e!==0&&ns(l,e,t)}function Yu(){return(yl&6)===0?(zn(0),!1):!0}function tf(){if(ul!==null){if(vl===0)var l=ul.return;else l=ul,Zt=Ge=null,gc(l),ga=null,yn=0,l=ul;for(;l!==null;)No(l.alternate,l),l=l.return;ul=null}}function za(l,t){var e=l.timeoutHandle;e!==-1&&(l.timeoutHandle=-1,Hh(e)),e=l.cancelPendingCommit,e!==null&&(l.cancelPendingCommit=null,e()),tf(),Al=l,ul=e=Yt(l.current,null),sl=t,vl=0,ct=null,ye=!1,Aa=Ca(l,t),kc=!1,xa=vt=Wc=we=ve=jl=0,lt=Tn=null,$c=!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-et(a),u=1<<n;t|=l[n],a&=~u}return kt=t,uu(),e}function Wo(l,t){tl=null,M.H=Tu,t===cn||t===hu?(t=or(),vl=3):t===fr?(t=or(),vl=4):vl=t===mo?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,ct=t,ul===null&&(jl=1,Du(l,dt(t,l.current)))}function $o(){var l=M.H;return M.H=Tu,l===null?Tu:l}function Fo(){var l=M.A;return M.A=_h,l}function ef(){jl=4,ye||(sl&4194048)!==sl&&yt.current!==null||(Aa=!0),(ve&134217727)===0&&(we&134217727)===0||Al===null||Se(Al,sl,vt,!1)}function af(l,t,e){var a=yl;yl|=2;var n=$o(),u=Fo();(Al!==l||sl!==t)&&(Qu=null,za(l,t)),t=!1;var c=jl;l:do try{if(vl!==0&&ul!==null){var f=ul,o=ct;switch(vl){case 8:tf(),c=6;break l;case 3:case 2:case 9:case 6:yt.current===null&&(t=!0);var v=vl;if(vl=0,ct=null,Na(l,f,o,v),e&&Aa){c=0;break l}break;default:v=vl,vl=0,ct=null,Na(l,f,o,v)}}gh(),c=jl;break}catch(A){Wo(l,A)}while(!0);return t&&l.shellSuspendCounter++,Zt=Ge=null,yl=a,M.H=n,M.A=u,ul===null&&(Al=null,sl=0,uu()),c}function gh(){for(;ul!==null;)Io(ul)}function bh(l,t){var e=yl;yl|=2;var a=$o(),n=Fo();Al!==l||sl!==t?(Qu=null,Hu=Vl()+500,za(l,t)):Aa=Ca(l,t);l:do try{if(vl!==0&&ul!==null){t=ul;var u=ct;t:switch(vl){case 1:vl=0,ct=null,Na(l,t,u,1);break;case 2:case 9:if(sr(u)){vl=0,ct=null,Po(t);break}t=function(){vl!==2&&vl!==9||Al!==l||(vl=7),Ot(l)},u.then(t,t);break l;case 3:vl=7;break l;case 4:vl=5;break l;case 7:sr(u)?(vl=0,ct=null,Po(t)):(vl=0,ct=null,Na(l,t,u,7));break;case 5:var c=null;switch(ul.tag){case 26:c=ul.memoizedState;case 5:case 27:var f=ul;if(!c||Bd(c)){vl=0,ct=null;var o=f.sibling;if(o!==null)ul=o;else{var v=f.return;v!==null?(ul=v,Gu(v)):ul=null}break t}}vl=0,ct=null,Na(l,t,u,5);break;case 6:vl=0,ct=null,Na(l,t,u,6);break;case 8:tf(),jl=6;break l;default:throw Error(s(462))}}Sh();break}catch(A){Wo(l,A)}while(!0);return Zt=Ge=null,M.H=a,M.A=n,yl=e,ul!==null?0:(Al=null,sl=0,uu(),jl)}function Sh(){for(;ul!==null&&!vi();)Io(ul)}function Io(l){var t=Eo(l.alternate,l,kt);l.memoizedProps=l.pendingProps,t===null?Gu(l):ul=t}function Po(l){var t=l,e=t.alternate;switch(t.tag){case 15:case 0:t=bo(e,t,t.pendingProps,t.type,void 0,sl);break;case 11:t=bo(e,t,t.pendingProps,t.type.render,t.ref,sl);break;case 5:gc(t);default:No(e,t),t=ul=Ps(t,kt),t=Eo(e,t,kt)}l.memoizedProps=l.pendingProps,t===null?Gu(l):ul=t}function Na(l,t,e,a){Zt=Ge=null,gc(t),ga=null,yn=0;var n=t.return;try{if(sh(l,n,t,e,sl)){jl=1,Du(l,dt(e,l.current)),ul=null;return}}catch(u){if(n!==null)throw ul=n,u;jl=1,Du(l,dt(e,l.current)),ul=null;return}t.flags&32768?(ol||a===1?l=!0:Aa||(sl&536870912)!==0?l=!1:(ye=l=!0,(a===2||a===9||a===3||a===6)&&(a=yt.current,a!==null&&a.tag===13&&(a.flags|=16384))),ld(t,l)):Gu(t)}function Gu(l){var t=l;do{if((t.flags&32768)!==0){ld(t,ye);return}l=t.return;var e=oh(t.alternate,t,kt);if(e!==null){ul=e;return}if(t=t.sibling,t!==null){ul=t;return}ul=t=l}while(t!==null);jl===0&&(jl=5)}function ld(l,t){do{var e=dh(l.alternate,l);if(e!==null){e.flags&=32767,ul=e;return}if(e=l.return,e!==null&&(e.flags|=32768,e.subtreeFlags=0,e.deletions=null),!t&&(l=l.sibling,l!==null)){ul=l;return}ul=l=e}while(l!==null);jl=6,ul=null}function td(l,t,e,a,n,u,c,f,o){l.cancelPendingCommit=null;do Xu();while(wl!==0);if((yl&6)!==0)throw Error(s(327));if(t!==null){if(t===l.current)throw Error(s(177));if(u=t.lanes|t.childLanes,u|=qi,Im(l,e,u,c,f,o),l===Al&&(ul=Al=null,sl=0),Ta=t,be=l,Ea=e,Ic=u,Pc=n,Lo=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(l.callbackNode=null,l.callbackPriority=0,Th(wn,function(){return id(),null})):(l.callbackNode=null,l.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=M.T,M.T=null,n=O.p,O.p=2,c=yl,yl|=4;try{mh(l,t,e)}finally{yl=c,O.p=n,M.T=a}}wl=1,ed(),ad(),nd()}}function ed(){if(wl===1){wl=0;var l=be,t=Ta,e=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||e){e=M.T,M.T=null;var a=O.p;O.p=2;var n=yl;yl|=4;try{Go(t,l);var u=yf,c=Ks(l.containerInfo),f=u.focusedElem,o=u.selectionRange;if(c!==f&&f&&f.ownerDocument&&Vs(f.ownerDocument.documentElement,f)){if(o!==null&&Vi(f)){var v=o.start,A=o.end;if(A===void 0&&(A=v),"selectionStart"in f)f.selectionStart=v,f.selectionEnd=Math.min(A,f.value.length);else{var N=f.ownerDocument||document,g=N&&N.defaultView||window;if(g.getSelection){var p=g.getSelection(),J=f.textContent.length,K=Math.min(o.start,J),Sl=o.end===void 0?K:Math.min(o.end,J);!p.extend&&K>Sl&&(c=Sl,Sl=K,K=c);var m=Cs(f,K),d=Cs(f,Sl);if(m&&d&&(p.rangeCount!==1||p.anchorNode!==m.node||p.anchorOffset!==m.offset||p.focusNode!==d.node||p.focusOffset!==d.offset)){var y=N.createRange();y.setStart(m.node,m.offset),p.removeAllRanges(),K>Sl?(p.addRange(y),p.extend(d.node,d.offset)):(y.setEnd(d.node,d.offset),p.addRange(y))}}}}for(N=[],p=f;p=p.parentNode;)p.nodeType===1&&N.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<N.length;f++){var T=N[f];T.element.scrollLeft=T.left,T.element.scrollTop=T.top}}Fu=!!_f,yf=_f=null}finally{yl=n,O.p=a,M.T=e}}l.current=t,wl=2}}function ad(){if(wl===2){wl=0;var l=be,t=Ta,e=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||e){e=M.T,M.T=null;var a=O.p;O.p=2;var n=yl;yl|=4;try{Bo(l,t.alternate,t)}finally{yl=n,O.p=a,M.T=e}}wl=3}}function nd(){if(wl===4||wl===3){wl=0,gi();var l=be,t=Ta,e=Ea,a=Lo;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?wl=5:(wl=0,Ta=be=null,ud(l,l.pendingLanes));var n=l.pendingLanes;if(n===0&&(ge=null),pi(e),t=t.stateNode,tt&&typeof tt.onCommitFiberRoot=="function")try{tt.onCommitFiberRoot(Za,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=M.T,n=O.p,O.p=2,M.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{M.T=t,O.p=n}}(Ea&3)!==0&&Xu(),Ot(l),n=l.pendingLanes,(e&4194090)!==0&&(n&42)!==0?l===lf?En++:(En=0,lf=l):En=0,zn(0)}}function ud(l,t){(l.pooledCacheLanes&=t)===0&&(t=l.pooledCache,t!=null&&(l.pooledCache=null,nn(t)))}function Xu(l){return ed(),ad(),nd(),id()}function id(){if(wl!==5)return!1;var l=be,t=Ic;Ic=0;var e=pi(Ea),a=M.T,n=O.p;try{O.p=32>e?32:e,M.T=null,e=Pc,Pc=null;var u=be,c=Ea;if(wl=0,Ta=be=null,Ea=0,(yl&6)!==0)throw Error(s(331));var f=yl;if(yl|=4,Ko(u.current),Zo(u,u.current,c,e),yl=f,zn(0,!1),tt&&typeof tt.onPostCommitFiberRoot=="function")try{tt.onPostCommitFiberRoot(Za,u)}catch{}return!0}finally{O.p=n,M.T=a,ud(l,t)}}function cd(l,t,e){t=dt(e,t),t=Uc(l.stateNode,t,2),l=se(l,t,2),l!==null&&(Va(l,2),Ot(l))}function pl(l,t,e){if(l.tag===3)cd(l,l,e);else for(;t!==null;){if(t.tag===3){cd(t,l,e);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(ge===null||!ge.has(a))){l=dt(e,l),e=ro(2),a=se(t,e,2),a!==null&&(oo(e,a,t,l),Va(a,2),Ot(a));break}}t=t.return}}function nf(l,t,e){var a=l.pingCache;if(a===null){a=l.pingCache=new yh;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)||(kc=!0,n.add(e),l=ph.bind(null,l,t,e),t.then(l,l))}function ph(l,t,e){var a=l.pingCache;a!==null&&a.delete(t),l.pingedLanes|=l.suspendedLanes&e,l.warmLanes&=~e,Al===l&&(sl&e)===e&&(jl===4||jl===3&&(sl&62914560)===sl&&300>Vl()-Fc?(yl&2)===0&&za(l,0):Wc|=e,xa===sl&&(xa=0)),Ot(l)}function fd(l,t){t===0&&(t=as()),l=fa(l,t),l!==null&&(Va(l,t),Ot(l))}function Ah(l){var t=l.memoizedState,e=0;t!==null&&(e=t.retryLane),fd(l,e)}function xh(l,t){var e=0;switch(l.tag){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(s(314))}a!==null&&a.delete(t),fd(l,e)}function Th(l,t){return ee(l,t)}var Zu=null,Ma=null,uf=!1,Cu=!1,cf=!1,Le=0;function Ot(l){l!==Ma&&l.next===null&&(Ma===null?Zu=Ma=l:Ma=Ma.next=l),Cu=!0,uf||(uf=!0,zh())}function zn(l,t){if(!cf&&Cu){cf=!0;do for(var e=!1,a=Zu;a!==null;){if(l!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var c=a.suspendedLanes,f=a.pingedLanes;u=(1<<31-et(42|l)+1)-1,u&=n&~(c&~f),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(e=!0,dd(a,u))}else u=sl,u=qn(a,a===Al?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||Ca(a,u)||(e=!0,dd(a,u));a=a.next}while(e);cf=!1}}function Eh(){sd()}function sd(){Cu=uf=!1;var l=0;Le!==0&&(Bh()&&(l=Le),Le=0);for(var t=Vl(),e=null,a=Zu;a!==null;){var n=a.next,u=rd(a,t);u===0?(a.next=null,e===null?Zu=n:e.next=n,n===null&&(Ma=e)):(e=a,(l!==0||(u&3)!==0)&&(Cu=!0)),a=n}zn(l)}function rd(l,t){for(var e=l.suspendedLanes,a=l.pingedLanes,n=l.expirationTimes,u=l.pendingLanes&-62914561;0<u;){var c=31-et(u),f=1<<c,o=n[c];o===-1?((f&e)===0||(f&a)!==0)&&(n[c]=Fm(f,t)):o<=t&&(l.expiredLanes|=f),u&=~f}if(t=Al,e=sl,e=qn(l,l===t?e:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a=l.callbackNode,e===0||l===t&&(vl===2||vl===9)||l.cancelPendingCommit!==null)return a!==null&&a!==null&&qe(a),l.callbackNode=null,l.callbackPriority=0;if((e&3)===0||Ca(l,e)){if(t=e&-e,t===l.callbackPriority)return t;switch(a!==null&&qe(a),pi(e)){case 2:case 8:e=ls;break;case 32:e=wn;break;case 268435456:e=ts;break;default:e=wn}return a=od.bind(null,l),e=ee(e,a),l.callbackPriority=t,l.callbackNode=e,t}return a!==null&&a!==null&&qe(a),l.callbackPriority=2,l.callbackNode=null,2}function od(l,t){if(wl!==0&&wl!==5)return l.callbackNode=null,l.callbackPriority=0,null;var e=l.callbackNode;if(Xu()&&l.callbackNode!==e)return null;var a=sl;return a=qn(l,l===Al?a:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a===0?null:(qo(l,a,t),rd(l,Vl()),l.callbackNode!=null&&l.callbackNode===e?od.bind(null,l):null)}function dd(l,t){if(Xu())return null;qo(l,t,!0)}function zh(){Qh(function(){(yl&6)!==0?ee(Kn,Eh):sd()})}function ff(){return Le===0&&(Le=es()),Le}function md(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:In(""+l)}function hd(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}function Nh(l,t,e,a,n){if(t==="submit"&&e&&e.stateNode===n){var u=md((n[$l]||null).action),c=a.submitter;c&&(t=(t=c[$l]||null)?md(t.formAction):c.getAttribute("formAction"),t!==null&&(u=t,c=null));var f=new eu("action","action",null,a,n);l.push({event:f,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Le!==0){var o=c?hd(n,c):new FormData(n);Nc(e,{pending:!0,data:o,method:n.method,action:u},null,o)}}else typeof u=="function"&&(f.preventDefault(),o=c?hd(n,c):new FormData(n),Nc(e,{pending:!0,data:o,method:n.method,action:u},u,o))},currentTarget:n}]})}}for(var sf=0;sf<Ji.length;sf++){var rf=Ji[sf],Mh=rf.toLowerCase(),Dh=rf[0].toUpperCase()+rf.slice(1);St(Mh,"on"+Dh)}St(Js,"onAnimationEnd"),St(qs,"onAnimationIteration"),St(ks,"onAnimationStart"),St("dblclick","onDoubleClick"),St("focusin","onFocus"),St("focusout","onBlur"),St(J0,"onTransitionRun"),St(q0,"onTransitionStart"),St(k0,"onTransitionCancel"),St(Ws,"onTransitionEnd"),Ie("onMouseEnter",["mouseout","mouseover"]),Ie("onMouseLeave",["mouseout","mouseover"]),Ie("onPointerEnter",["pointerout","pointerover"]),Ie("onPointerLeave",["pointerout","pointerover"]),De("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),De("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),De("onBeforeInput",["compositionend","keypress","textInput","paste"]),De("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),De("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),De("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Nn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Oh=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Nn));function _d(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,v=f.currentTarget;if(f=f.listener,o!==u&&n.isPropagationStopped())break l;u=f,n.currentTarget=v;try{u(n)}catch(A){Mu(A)}n.currentTarget=null,u=o}else for(c=0;c<a.length;c++){if(f=a[c],o=f.instance,v=f.currentTarget,f=f.listener,o!==u&&n.isPropagationStopped())break l;u=f,n.currentTarget=v;try{u(n)}catch(A){Mu(A)}n.currentTarget=null,u=o}}}}function il(l,t){var e=t[Ai];e===void 0&&(e=t[Ai]=new Set);var a=l+"__bubble";e.has(a)||(yd(t,l,2,!1),e.add(a))}function of(l,t,e){var a=0;t&&(a|=4),yd(e,l,a,t)}var Vu="_reactListening"+Math.random().toString(36).slice(2);function df(l){if(!l[Vu]){l[Vu]=!0,fs.forEach(function(e){e!=="selectionchange"&&(Oh.has(e)||of(e,!1,l),of(e,!0,l))});var t=l.nodeType===9?l:l.ownerDocument;t===null||t[Vu]||(t[Vu]=!0,of("selectionchange",!1,t))}}function yd(l,t,e,a){switch(Zd(t)){case 2:var n=a_;break;case 8:n=n_;break;default:n=zf}e=n.bind(null,t,e,l),n=void 0,!Ri||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)}function mf(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=We(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}As(function(){var v=u,A=ji(e),N=[];l:{var g=$s.get(l);if(g!==void 0){var p=eu,J=l;switch(l){case"keypress":if(lu(e)===0)break l;case"keydown":case"keyup":p=T0;break;case"focusin":J="focus",p=Yi;break;case"focusout":J="blur",p=Yi;break;case"beforeblur":case"afterblur":p=Yi;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":p=Es;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=d0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=N0;break;case Js:case qs:case ks:p=_0;break;case Ws:p=D0;break;case"scroll":case"scrollend":p=r0;break;case"wheel":p=j0;break;case"copy":case"cut":case"paste":p=v0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=Ns;break;case"toggle":case"beforetoggle":p=R0}var K=(t&4)!==0,Sl=!K&&(l==="scroll"||l==="scrollend"),m=K?g!==null?g+"Capture":null:g;K=[];for(var d=v,y;d!==null;){var T=d;if(y=T.stateNode,T=T.tag,T!==5&&T!==26&&T!==27||y===null||m===null||(T=La(d,m),T!=null&&K.push(Mn(d,T,y))),Sl)break;d=d.return}0<K.length&&(g=new p(g,J,null,e,A),N.push({event:g,listeners:K}))}}if((t&7)===0){l:{if(g=l==="mouseover"||l==="pointerover",p=l==="mouseout"||l==="pointerout",g&&e!==Oi&&(J=e.relatedTarget||e.fromElement)&&(We(J)||J[ke]))break l;if((p||g)&&(g=A.window===A?A:(g=A.ownerDocument)?g.defaultView||g.parentWindow:window,p?(J=e.relatedTarget||e.toElement,p=v,J=J?We(J):null,J!==null&&(Sl=z(J),K=J.tag,J!==Sl||K!==5&&K!==27&&K!==6)&&(J=null)):(p=null,J=v),p!==J)){if(K=Es,T="onMouseLeave",m="onMouseEnter",d="mouse",(l==="pointerout"||l==="pointerover")&&(K=Ns,T="onPointerLeave",m="onPointerEnter",d="pointer"),Sl=p==null?g:wa(p),y=J==null?g:wa(J),g=new K(T,d+"leave",p,e,A),g.target=Sl,g.relatedTarget=y,T=null,We(A)===v&&(K=new K(m,d+"enter",J,e,A),K.target=y,K.relatedTarget=Sl,T=K),Sl=T,p&&J)t:{for(K=p,m=J,d=0,y=K;y;y=Da(y))d++;for(y=0,T=m;T;T=Da(T))y++;for(;0<d-y;)K=Da(K),d--;for(;0<y-d;)m=Da(m),y--;for(;d--;){if(K===m||m!==null&&K===m.alternate)break t;K=Da(K),m=Da(m)}K=null}else K=null;p!==null&&vd(N,g,p,K,!1),J!==null&&Sl!==null&&vd(N,Sl,J,K,!0)}}l:{if(g=v?wa(v):window,p=g.nodeName&&g.nodeName.toLowerCase(),p==="select"||p==="input"&&g.type==="file")var R=Hs;else if(Rs(g))if(Qs)R=K0;else{R=C0;var al=Z0}else p=g.nodeName,!p||p.toLowerCase()!=="input"||g.type!=="checkbox"&&g.type!=="radio"?v&&Di(v.elementType)&&(R=Hs):R=V0;if(R&&(R=R(l,v))){Bs(N,R,e,A);break l}al&&al(l,g,v),l==="focusout"&&v&&g.type==="number"&&v.memoizedProps.value!=null&&Mi(g,"number",g.value)}switch(al=v?wa(v):window,l){case"focusin":(Rs(al)||al.contentEditable==="true")&&(ua=al,Ki=v,Pa=null);break;case"focusout":Pa=Ki=ua=null;break;case"mousedown":wi=!0;break;case"contextmenu":case"mouseup":case"dragend":wi=!1,ws(N,e,A);break;case"selectionchange":if(L0)break;case"keydown":case"keyup":ws(N,e,A)}var G;if(Xi)l:{switch(l){case"compositionstart":var w="onCompositionStart";break l;case"compositionend":w="onCompositionEnd";break l;case"compositionupdate":w="onCompositionUpdate";break l}w=void 0}else na?js(l,e)&&(w="onCompositionEnd"):l==="keydown"&&e.keyCode===229&&(w="onCompositionStart");w&&(Ms&&e.locale!=="ko"&&(na||w!=="onCompositionStart"?w==="onCompositionEnd"&&na&&(G=xs()):(ue=A,Bi="value"in ue?ue.value:ue.textContent,na=!0)),al=Ku(v,w),0<al.length&&(w=new zs(w,l,null,e,A),N.push({event:w,listeners:al}),G?w.data=G:(G=Us(e),G!==null&&(w.data=G)))),(G=H0?Q0(l,e):Y0(l,e))&&(w=Ku(v,"onBeforeInput"),0<w.length&&(al=new zs("onBeforeInput","beforeinput",null,e,A),N.push({event:al,listeners:w}),al.data=G)),Nh(N,l,v,e,A)}_d(N,t)})}function Mn(l,t,e){return{instance:l,listener:t,currentTarget:e}}function Ku(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=La(l,e),n!=null&&a.unshift(Mn(l,n,u)),n=La(l,t),n!=null&&a.push(Mn(l,n,u))),l.tag===3)return a;l=l.return}return[]}function Da(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}function vd(l,t,e,a,n){for(var u=t._reactName,c=[];e!==null&&e!==a;){var f=e,o=f.alternate,v=f.stateNode;if(f=f.tag,o!==null&&o===a)break;f!==5&&f!==26&&f!==27||v===null||(o=v,n?(v=La(e,u),v!=null&&c.unshift(Mn(e,v,o))):n||(v=La(e,u),v!=null&&c.push(Mn(e,v,o)))),e=e.return}c.length!==0&&l.push({event:t,listeners:c})}var jh=/\r\n?/g,Uh=/\u0000|\uFFFD/g;function gd(l){return(typeof l=="string"?l:""+l).replace(jh,`
|
|
25
|
+
`).replace(Uh,"")}function bd(l,t){return t=gd(t),gd(l)===t}function wu(){}function bl(l,t,e,a,n,u){switch(e){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||ta(l,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&ta(l,""+a);break;case"className":Wn(l,"class",a);break;case"tabIndex":Wn(l,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Wn(l,e,a);break;case"style":Ss(l,a,u);break;case"data":if(t!=="object"){Wn(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=In(""+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"&&bl(l,t,"name",n.name,n,null),bl(l,t,"formEncType",n.formEncType,n,null),bl(l,t,"formMethod",n.formMethod,n,null),bl(l,t,"formTarget",n.formTarget,n,null)):(bl(l,t,"encType",n.encType,n,null),bl(l,t,"method",n.method,n,null),bl(l,t,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(e);break}a=In(""+a),l.setAttribute(e,a);break;case"onClick":a!=null&&(l.onclick=wu);break;case"onScroll":a!=null&&il("scroll",l);break;case"onScrollEnd":a!=null&&il("scrollend",l);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(s(61));if(e=a.__html,e!=null){if(n.children!=null)throw Error(s(60));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=In(""+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":il("beforetoggle",l),il("toggle",l),kn(l,"popover",a);break;case"xlinkActuate":Ht(l,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Ht(l,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Ht(l,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Ht(l,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Ht(l,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Ht(l,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Ht(l,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Ht(l,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Ht(l,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":kn(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=f0.get(e)||e,kn(l,e,a))}}function hf(l,t,e,a,n,u){switch(e){case"style":Ss(l,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(s(61));if(e=a.__html,e!=null){if(n.children!=null)throw Error(s(60));l.innerHTML=e}}break;case"children":typeof a=="string"?ta(l,a):(typeof a=="number"||typeof a=="bigint")&&ta(l,""+a);break;case"onScroll":a!=null&&il("scroll",l);break;case"onScrollEnd":a!=null&&il("scrollend",l);break;case"onClick":a!=null&&(l.onclick=wu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!ss.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[$l]||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,""):kn(l,e,a)}}}function Ll(l,t,e){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":il("error",l),il("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(s(137,t));default:bl(l,t,u,c,e,null)}}n&&bl(l,t,"srcSet",e.srcSet,e,null),a&&bl(l,t,"src",e.src,e,null);return;case"input":il("invalid",l);var f=u=c=n=null,o=null,v=null;for(a in e)if(e.hasOwnProperty(a)){var A=e[a];if(A!=null)switch(a){case"name":n=A;break;case"type":c=A;break;case"checked":o=A;break;case"defaultChecked":v=A;break;case"value":u=A;break;case"defaultValue":f=A;break;case"children":case"dangerouslySetInnerHTML":if(A!=null)throw Error(s(137,t));break;default:bl(l,t,a,A,e,null)}}ys(l,u,f,o,v,c,n,!1),$n(l);return;case"select":il("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:bl(l,t,n,f,e,null)}t=u,e=c,l.multiple=!!a,t!=null?la(l,!!a,t,!1):e!=null&&la(l,!!a,e,!0);return;case"textarea":il("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(s(91));break;default:bl(l,t,c,f,e,null)}gs(l,a,n,u),$n(l);return;case"option":for(o in e)if(e.hasOwnProperty(o)&&(a=e[o],a!=null))switch(o){case"selected":l.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:bl(l,t,o,a,e,null)}return;case"dialog":il("beforetoggle",l),il("toggle",l),il("cancel",l),il("close",l);break;case"iframe":case"object":il("load",l);break;case"video":case"audio":for(a=0;a<Nn.length;a++)il(Nn[a],l);break;case"image":il("error",l),il("load",l);break;case"details":il("toggle",l);break;case"embed":case"source":case"link":il("error",l),il("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(v in e)if(e.hasOwnProperty(v)&&(a=e[v],a!=null))switch(v){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:bl(l,t,v,a,e,null)}return;default:if(Di(t)){for(A in e)e.hasOwnProperty(A)&&(a=e[A],a!==void 0&&hf(l,t,A,a,e,void 0));return}}for(f in e)e.hasOwnProperty(f)&&(a=e[f],a!=null&&bl(l,t,f,a,e,null))}function Rh(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,v=null,A=null;for(p in e){var N=e[p];if(e.hasOwnProperty(p)&&N!=null)switch(p){case"checked":break;case"value":break;case"defaultValue":o=N;default:a.hasOwnProperty(p)||bl(l,t,p,null,a,N)}}for(var g in a){var p=a[g];if(N=e[g],a.hasOwnProperty(g)&&(p!=null||N!=null))switch(g){case"type":u=p;break;case"name":n=p;break;case"checked":v=p;break;case"defaultChecked":A=p;break;case"value":c=p;break;case"defaultValue":f=p;break;case"children":case"dangerouslySetInnerHTML":if(p!=null)throw Error(s(137,t));break;default:p!==N&&bl(l,t,g,p,a,N)}}Ni(l,c,f,o,v,A,u,n);return;case"select":p=c=f=g=null;for(u in e)if(o=e[u],e.hasOwnProperty(u)&&o!=null)switch(u){case"value":break;case"multiple":p=o;default:a.hasOwnProperty(u)||bl(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":g=u;break;case"defaultValue":f=u;break;case"multiple":c=u;default:u!==o&&bl(l,t,n,u,a,o)}t=f,e=c,a=p,g!=null?la(l,!!e,g,!1):!!a!=!!e&&(t!=null?la(l,!!e,t,!0):la(l,!!e,e?[]:"",!1));return;case"textarea":p=g=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:bl(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":g=n;break;case"defaultValue":p=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(s(91));break;default:n!==u&&bl(l,t,c,n,a,u)}vs(l,g,p);return;case"option":for(var J in e)if(g=e[J],e.hasOwnProperty(J)&&g!=null&&!a.hasOwnProperty(J))switch(J){case"selected":l.selected=!1;break;default:bl(l,t,J,null,a,g)}for(o in a)if(g=a[o],p=e[o],a.hasOwnProperty(o)&&g!==p&&(g!=null||p!=null))switch(o){case"selected":l.selected=g&&typeof g!="function"&&typeof g!="symbol";break;default:bl(l,t,o,g,a,p)}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 K in e)g=e[K],e.hasOwnProperty(K)&&g!=null&&!a.hasOwnProperty(K)&&bl(l,t,K,null,a,g);for(v in a)if(g=a[v],p=e[v],a.hasOwnProperty(v)&&g!==p&&(g!=null||p!=null))switch(v){case"children":case"dangerouslySetInnerHTML":if(g!=null)throw Error(s(137,t));break;default:bl(l,t,v,g,a,p)}return;default:if(Di(t)){for(var Sl in e)g=e[Sl],e.hasOwnProperty(Sl)&&g!==void 0&&!a.hasOwnProperty(Sl)&&hf(l,t,Sl,void 0,a,g);for(A in a)g=a[A],p=e[A],!a.hasOwnProperty(A)||g===p||g===void 0&&p===void 0||hf(l,t,A,g,a,p);return}}for(var m in e)g=e[m],e.hasOwnProperty(m)&&g!=null&&!a.hasOwnProperty(m)&&bl(l,t,m,null,a,g);for(N in a)g=a[N],p=e[N],!a.hasOwnProperty(N)||g===p||g==null&&p==null||bl(l,t,N,g,a,p)}var _f=null,yf=null;function Lu(l){return l.nodeType===9?l:l.ownerDocument}function Sd(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}}function pd(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}function vf(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}var gf=null;function Bh(){var l=window.event;return l&&l.type==="popstate"?l===gf?!1:(gf=l,!0):(gf=null,!1)}var Ad=typeof setTimeout=="function"?setTimeout:void 0,Hh=typeof clearTimeout=="function"?clearTimeout:void 0,xd=typeof Promise=="function"?Promise:void 0,Qh=typeof queueMicrotask=="function"?queueMicrotask:typeof xd<"u"?function(l){return xd.resolve(null).then(l).catch(Yh)}:Ad;function Yh(l){setTimeout(function(){throw l})}function pe(l){return l==="head"}function Td(l,t){var e=t,a=0,n=0;do{var u=e.nextSibling;if(l.removeChild(e),u&&u.nodeType===8)if(e=u.data,e==="/$"){if(0<a&&8>a){e=a;var c=l.ownerDocument;if(e&1&&Dn(c.documentElement),e&2&&Dn(c.body),e&4)for(e=c.head,Dn(e),c=e.firstChild;c;){var f=c.nextSibling,o=c.nodeName;c[Ka]||o==="SCRIPT"||o==="STYLE"||o==="LINK"&&c.rel.toLowerCase()==="stylesheet"||e.removeChild(c),c=f}}if(n===0){l.removeChild(u),Yn(t);return}n--}else e==="$"||e==="$?"||e==="$!"?n++:a=e.charCodeAt(0)-48;else a=0;e=u}while(e);Yn(t)}function bf(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":bf(e),xi(e);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(e.rel.toLowerCase()==="stylesheet")continue}l.removeChild(e)}}function Gh(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[Ka])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=At(l.nextSibling),l===null)break}return null}function Xh(l,t,e){if(t==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!e||(l=At(l.nextSibling),l===null))return null;return l}function Sf(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState==="complete"}function Zh(l,t){var e=l.ownerDocument;if(l.data!=="$?"||e.readyState==="complete")t();else{var a=function(){t(),e.removeEventListener("DOMContentLoaded",a)};e.addEventListener("DOMContentLoaded",a),l._reactRetry=a}}function At(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==="F!"||t==="F")break;if(t==="/$")return null}}return l}var pf=null;function Ed(l){l=l.previousSibling;for(var t=0;l;){if(l.nodeType===8){var e=l.data;if(e==="$"||e==="$!"||e==="$?"){if(t===0)return l;t--}else e==="/$"&&t++}l=l.previousSibling}return null}function zd(l,t,e){switch(t=Lu(e),l){case"html":if(l=t.documentElement,!l)throw Error(s(452));return l;case"head":if(l=t.head,!l)throw Error(s(453));return l;case"body":if(l=t.body,!l)throw Error(s(454));return l;default:throw Error(s(451))}}function Dn(l){for(var t=l.attributes;t.length;)l.removeAttributeNode(t[0]);xi(l)}var gt=new Map,Nd=new Set;function Ju(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}var Wt=O.d;O.d={f:Ch,r:Vh,D:Kh,C:wh,L:Lh,m:Jh,X:kh,S:qh,M:Wh};function Ch(){var l=Wt.f(),t=Yu();return l||t}function Vh(l){var t=$e(l);t!==null&&t.tag===5&&t.type==="form"?Jr(t):Wt.r(l)}var Oa=typeof document>"u"?null:document;function Md(l,t,e){var a=Oa;if(a&&typeof t=="string"&&t){var n=ot(t);n='link[rel="'+l+'"][href="'+n+'"]',typeof e=="string"&&(n+='[crossorigin="'+e+'"]'),Nd.has(n)||(Nd.add(n),l={rel:l,crossOrigin:e,href:t},a.querySelector(n)===null&&(t=a.createElement("link"),Ll(t,"link",l),Gl(t),a.head.appendChild(t)))}}function Kh(l){Wt.D(l),Md("dns-prefetch",l,null)}function wh(l,t){Wt.C(l,t),Md("preconnect",l,t)}function Lh(l,t,e){Wt.L(l,t,e);var a=Oa;if(a&&l&&t){var n='link[rel="preload"][as="'+ot(t)+'"]';t==="image"&&e&&e.imageSrcSet?(n+='[imagesrcset="'+ot(e.imageSrcSet)+'"]',typeof e.imageSizes=="string"&&(n+='[imagesizes="'+ot(e.imageSizes)+'"]')):n+='[href="'+ot(l)+'"]';var u=n;switch(t){case"style":u=ja(l);break;case"script":u=Ua(l)}gt.has(u)||(l=D({rel:"preload",href:t==="image"&&e&&e.imageSrcSet?void 0:l,as:t},e),gt.set(u,l),a.querySelector(n)!==null||t==="style"&&a.querySelector(On(u))||t==="script"&&a.querySelector(jn(u))||(t=a.createElement("link"),Ll(t,"link",l),Gl(t),a.head.appendChild(t)))}}function Jh(l,t){Wt.m(l,t);var e=Oa;if(e&&l){var a=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+ot(a)+'"][href="'+ot(l)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Ua(l)}if(!gt.has(u)&&(l=D({rel:"modulepreload",href:l},t),gt.set(u,l),e.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(e.querySelector(jn(u)))return}a=e.createElement("link"),Ll(a,"link",l),Gl(a),e.head.appendChild(a)}}}function qh(l,t,e){Wt.S(l,t,e);var a=Oa;if(a&&l){var n=Fe(a).hoistableStyles,u=ja(l);t=t||"default";var c=n.get(u);if(!c){var f={loading:0,preload:null};if(c=a.querySelector(On(u)))f.loading=5;else{l=D({rel:"stylesheet",href:l,"data-precedence":t},e),(e=gt.get(u))&&Af(l,e);var o=c=a.createElement("link");Gl(o),Ll(o,"link",l),o._p=new Promise(function(v,A){o.onload=v,o.onerror=A}),o.addEventListener("load",function(){f.loading|=1}),o.addEventListener("error",function(){f.loading|=2}),f.loading|=4,qu(c,t,a)}c={type:"stylesheet",instance:c,count:1,state:f},n.set(u,c)}}}function kh(l,t){Wt.X(l,t);var e=Oa;if(e&&l){var a=Fe(e).hoistableScripts,n=Ua(l),u=a.get(n);u||(u=e.querySelector(jn(n)),u||(l=D({src:l,async:!0},t),(t=gt.get(n))&&xf(l,t),u=e.createElement("script"),Gl(u),Ll(u,"link",l),e.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function Wh(l,t){Wt.M(l,t);var e=Oa;if(e&&l){var a=Fe(e).hoistableScripts,n=Ua(l),u=a.get(n);u||(u=e.querySelector(jn(n)),u||(l=D({src:l,async:!0,type:"module"},t),(t=gt.get(n))&&xf(l,t),u=e.createElement("script"),Gl(u),Ll(u,"link",l),e.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function Dd(l,t,e,a){var n=(n=Et.current)?Ju(n):null;if(!n)throw Error(s(446));switch(l){case"meta":case"title":return null;case"style":return typeof e.precedence=="string"&&typeof e.href=="string"?(t=ja(e.href),e=Fe(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=ja(e.href);var u=Fe(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(On(l)))&&!u._p&&(c.instance=u,c.state.loading=5),gt.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},gt.set(l,e),u||$h(n,l,e,c.state))),t&&a===null)throw Error(s(528,""));return c}if(t&&a!==null)throw Error(s(529,""));return null;case"script":return t=e.async,e=e.src,typeof e=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Ua(e),e=Fe(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(s(444,l))}}function ja(l){return'href="'+ot(l)+'"'}function On(l){return'link[rel="stylesheet"]['+l+"]"}function Od(l){return D({},l,{"data-precedence":l.precedence,precedence:null})}function $h(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}),Ll(t,"link",e),Gl(t),l.head.appendChild(t))}function Ua(l){return'[src="'+ot(l)+'"]'}function jn(l){return"script[async]"+l}function jd(l,t,e){if(t.count++,t.instance===null)switch(t.type){case"style":var a=l.querySelector('style[data-href~="'+ot(e.href)+'"]');if(a)return t.instance=a,Gl(a),a;var n=D({},e,{"data-href":e.href,"data-precedence":e.precedence,href:null,precedence:null});return a=(l.ownerDocument||l).createElement("style"),Gl(a),Ll(a,"style",n),qu(a,e.precedence,l),t.instance=a;case"stylesheet":n=ja(e.href);var u=l.querySelector(On(n));if(u)return t.state.loading|=4,t.instance=u,Gl(u),u;a=Od(e),(n=gt.get(n))&&Af(a,n),u=(l.ownerDocument||l).createElement("link"),Gl(u);var c=u;return c._p=new Promise(function(f,o){c.onload=f,c.onerror=o}),Ll(u,"link",a),t.state.loading|=4,qu(u,e.precedence,l),t.instance=u;case"script":return u=Ua(e.src),(n=l.querySelector(jn(u)))?(t.instance=n,Gl(n),n):(a=e,(n=gt.get(u))&&(a=D({},e),xf(a,n)),l=l.ownerDocument||l,n=l.createElement("script"),Gl(n),Ll(n,"link",a),l.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(s(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,qu(a,e.precedence,l));return t.instance}function qu(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))}function Af(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.title==null&&(l.title=t.title)}function xf(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.integrity==null&&(l.integrity=t.integrity)}var ku=null;function Ud(l,t,e){if(ku===null){var a=new Map,n=ku=new Map;n.set(e,a)}else n=ku,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[Ka]||u[Jl]||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}function Rd(l,t,e){l=l.ownerDocument||l,l.head.insertBefore(e,t==="title"?l.querySelector("head > title"):null)}function Fh(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;switch(t.rel){case"stylesheet":return l=t.disabled,typeof t.precedence=="string"&&l==null;default:return!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}function Bd(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}var Un=null;function Ih(){}function Ph(l,t,e){if(Un===null)throw Error(s(475));var a=Un;if(t.type==="stylesheet"&&(typeof e.media!="string"||matchMedia(e.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var n=ja(e.href),u=l.querySelector(On(n));if(u){l=u._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(a.count++,a=Wu.bind(a),l.then(a,a)),t.state.loading|=4,t.instance=u,Gl(u);return}u=l.ownerDocument||l,e=Od(e),(n=gt.get(n))&&Af(e,n),u=u.createElement("link"),Gl(u);var c=u;c._p=new Promise(function(f,o){c.onload=f,c.onerror=o}),Ll(u,"link",e),t.instance=u}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(t,l),(l=t.state.preload)&&(t.state.loading&3)===0&&(a.count++,t=Wu.bind(a),l.addEventListener("load",t),l.addEventListener("error",t))}}function l_(){if(Un===null)throw Error(s(475));var l=Un;return l.stylesheets&&l.count===0&&Tf(l,l.stylesheets),0<l.count?function(t){var e=setTimeout(function(){if(l.stylesheets&&Tf(l,l.stylesheets),l.unsuspend){var a=l.unsuspend;l.unsuspend=null,a()}},6e4);return l.unsuspend=t,function(){l.unsuspend=null,clearTimeout(e)}}:null}function Wu(){if(this.count--,this.count===0){if(this.stylesheets)Tf(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}var $u=null;function Tf(l,t){l.stylesheets=null,l.unsuspend!==null&&(l.count++,$u=new Map,t.forEach(t_,l),$u=null,Wu.call(l))}function t_(l,t){if(!(t.state.loading&4)){var e=$u.get(l);if(e)var a=e.get(null);else{e=new Map,$u.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=Wu.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}}var Rn={$$typeof:j,Provider:null,Consumer:null,_currentValue:nl,_currentValue2:nl,_threadCount:0};function e_(l,t,e,a,n,u,c,f){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=bi(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=bi(0),this.hiddenUpdates=bi(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=u,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=f,this.incompleteTransitions=new Map}function Hd(l,t,e,a,n,u,c,f,o,v,A,N){return l=new e_(l,t,e,c,f,o,v,N),t=1,u===!0&&(t|=24),u=nt(3,null,null,t),l.current=u,u.stateNode=l,t=nc(),t.refCount++,l.pooledCache=t,t.refCount++,u.memoizedState={element:a,isDehydrated:e,cache:t},fc(u),l}function Qd(l){return l?(l=sa,l):sa}function Yd(l,t,e,a,n,u){n=Qd(n),a.context===null?a.context=n:a.pendingContext=n,a=fe(t),a.payload={element:e},u=u===void 0?null:u,u!==null&&(a.callback=u),e=se(l,a,t),e!==null&&(st(e,l,t),sn(e,l,t))}function Gd(l,t){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var e=l.retryLane;l.retryLane=e!==0&&e<t?e:t}}function Ef(l,t){Gd(l,t),(l=l.alternate)&&Gd(l,t)}function Xd(l){if(l.tag===13){var t=fa(l,67108864);t!==null&&st(t,l,67108864),Ef(l,67108864)}}var Fu=!0;function a_(l,t,e,a){var n=M.T;M.T=null;var u=O.p;try{O.p=2,zf(l,t,e,a)}finally{O.p=u,M.T=n}}function n_(l,t,e,a){var n=M.T;M.T=null;var u=O.p;try{O.p=8,zf(l,t,e,a)}finally{O.p=u,M.T=n}}function zf(l,t,e,a){if(Fu){var n=Nf(a);if(n===null)mf(l,t,a,Iu,e),Cd(l,a);else if(i_(n,l,t,e,a))a.stopPropagation();else if(Cd(l,a),t&4&&-1<u_.indexOf(l)){for(;n!==null;){var u=$e(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var c=Me(u.pendingLanes);if(c!==0){var f=u;for(f.pendingLanes|=2,f.entangledLanes|=2;c;){var o=1<<31-et(c);f.entanglements[1]|=o,c&=~o}Ot(u),(yl&6)===0&&(Hu=Vl()+500,zn(0))}}break;case 13:f=fa(u,2),f!==null&&st(f,u,2),Yu(),Ef(u,2)}if(u=Nf(a),u===null&&mf(l,t,a,Iu,e),u===n)break;n=u}n!==null&&a.stopPropagation()}else mf(l,t,a,null,e)}}function Nf(l){return l=ji(l),Mf(l)}var Iu=null;function Mf(l){if(Iu=null,l=We(l),l!==null){var t=z(l);if(t===null)l=null;else{var e=t.tag;if(e===13){if(l=x(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 Iu=l,null}function Zd(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(Bt()){case Kn:return 2;case ls:return 8;case wn:case Lm:return 32;case ts:return 268435456;default:return 32}default:return 32}}var Df=!1,Ae=null,xe=null,Te=null,Bn=new Map,Hn=new Map,Ee=[],u_="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 Cd(l,t){switch(l){case"focusin":case"focusout":Ae=null;break;case"dragenter":case"dragleave":xe=null;break;case"mouseover":case"mouseout":Te=null;break;case"pointerover":case"pointerout":Bn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Hn.delete(t.pointerId)}}function Qn(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=$e(t),t!==null&&Xd(t)),l):(l.eventSystemFlags|=a,t=l.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),l)}function i_(l,t,e,a,n){switch(t){case"focusin":return Ae=Qn(Ae,l,t,e,a,n),!0;case"dragenter":return xe=Qn(xe,l,t,e,a,n),!0;case"mouseover":return Te=Qn(Te,l,t,e,a,n),!0;case"pointerover":var u=n.pointerId;return Bn.set(u,Qn(Bn.get(u)||null,l,t,e,a,n)),!0;case"gotpointercapture":return u=n.pointerId,Hn.set(u,Qn(Hn.get(u)||null,l,t,e,a,n)),!0}return!1}function Vd(l){var t=We(l.target);if(t!==null){var e=z(t);if(e!==null){if(t=e.tag,t===13){if(t=x(e),t!==null){l.blockedOn=t,Pm(l.priority,function(){if(e.tag===13){var a=ft();a=Si(a);var n=fa(e,a);n!==null&&st(n,e,a),Ef(e,a)}});return}}else if(t===3&&e.stateNode.current.memoizedState.isDehydrated){l.blockedOn=e.tag===3?e.stateNode.containerInfo:null;return}}}l.blockedOn=null}function Pu(l){if(l.blockedOn!==null)return!1;for(var t=l.targetContainers;0<t.length;){var e=Nf(l.nativeEvent);if(e===null){e=l.nativeEvent;var a=new e.constructor(e.type,e);Oi=a,e.target.dispatchEvent(a),Oi=null}else return t=$e(e),t!==null&&Xd(t),l.blockedOn=e,!1;t.shift()}return!0}function Kd(l,t,e){Pu(l)&&e.delete(t)}function c_(){Df=!1,Ae!==null&&Pu(Ae)&&(Ae=null),xe!==null&&Pu(xe)&&(xe=null),Te!==null&&Pu(Te)&&(Te=null),Bn.forEach(Kd),Hn.forEach(Kd)}function li(l,t){l.blockedOn===t&&(l.blockedOn=null,Df||(Df=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,c_)))}var ti=null;function wd(l){ti!==l&&(ti=l,r.unstable_scheduleCallback(r.unstable_NormalPriority,function(){ti===l&&(ti=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(Mf(a||e)===null)continue;break}var u=$e(e);u!==null&&(l.splice(t,3),t-=3,Nc(u,{pending:!0,data:n,method:e.method,action:a},a,n))}}))}function Yn(l){function t(o){return li(o,l)}Ae!==null&&li(Ae,l),xe!==null&&li(xe,l),Te!==null&&li(Te,l),Bn.forEach(t),Hn.forEach(t);for(var e=0;e<Ee.length;e++){var a=Ee[e];a.blockedOn===l&&(a.blockedOn=null)}for(;0<Ee.length&&(e=Ee[0],e.blockedOn===null);)Vd(e),e.blockedOn===null&&Ee.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[$l]||null;if(typeof u=="function")c||wd(e);else if(c){var f=null;if(u&&u.hasAttribute("formAction")){if(n=u,c=u[$l]||null)f=c.formAction;else if(Mf(n)!==null)continue}else f=c.action;typeof f=="function"?e[a+1]=f:(e.splice(a,3),a-=3),wd(e)}}}function Of(l){this._internalRoot=l}ei.prototype.render=Of.prototype.render=function(l){var t=this._internalRoot;if(t===null)throw Error(s(409));var e=t.current,a=ft();Yd(e,a,l,t,null,null)},ei.prototype.unmount=Of.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var t=l.containerInfo;Yd(l.current,2,null,l,null,null),Yu(),t[ke]=null}};function ei(l){this._internalRoot=l}ei.prototype.unstable_scheduleHydration=function(l){if(l){var t=is();l={blockedOn:null,target:l,priority:t};for(var e=0;e<Ee.length&&t!==0&&t<Ee[e].priority;e++);Ee.splice(e,0,l),e===0&&Vd(l)}};var Ld=h.version;if(Ld!=="19.1.1")throw Error(s(527,Ld,"19.1.1"));O.findDOMNode=function(l){var t=l._reactInternals;if(t===void 0)throw typeof l.render=="function"?Error(s(188)):(l=Object.keys(l).join(","),Error(s(268,l)));return l=Z(t),l=l!==null?el(l):null,l=l===null?null:l.stateNode,l};var f_={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:M,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ai=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ai.isDisabled&&ai.supportsFiber)try{Za=ai.inject(f_),tt=ai}catch{}}return Ra.createRoot=function(l,t){if(!S(l))throw Error(s(299));var e=!1,a="",n=io,u=co,c=fo,f=null;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.unstable_transitionCallbacks!==void 0&&(f=t.unstable_transitionCallbacks)),t=Hd(l,1,!1,null,null,e,a,n,u,c,f,null),l[ke]=t.current,df(l),new Of(t)},Ra.hydrateRoot=function(l,t,e){if(!S(l))throw Error(s(299));var a=!1,n="",u=io,c=co,f=fo,o=null,v=null;return e!=null&&(e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(n=e.identifierPrefix),e.onUncaughtError!==void 0&&(u=e.onUncaughtError),e.onCaughtError!==void 0&&(c=e.onCaughtError),e.onRecoverableError!==void 0&&(f=e.onRecoverableError),e.unstable_transitionCallbacks!==void 0&&(o=e.unstable_transitionCallbacks),e.formState!==void 0&&(v=e.formState)),t=Hd(l,1,!0,t,e??null,a,n,u,c,f,o,v),t.context=Qd(null),e=t.current,a=ft(),a=Si(a),n=fe(a),n.callback=null,se(e,n,a),e=a,t.current.lanes=e,Va(t,e),Ot(t),l[ke]=t.current,df(l),new ei(t)},Ra.version="19.1.1",Ra}var Bf;function $d(){if(Bf)return ni.exports;Bf=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(r){console.error(r)}}return i(),ni.exports=Wd(),ni.exports}var Fd=$d(),ci={exports:{}},Ba={};/**
|
|
251
26
|
* @license React
|
|
252
27
|
* react-jsx-runtime.production.js
|
|
253
28
|
*
|
|
@@ -255,18 +30,5 @@ You might need to use a local HTTP server (instead of file://): https://react.de
|
|
|
255
30
|
*
|
|
256
31
|
* This source code is licensed under the MIT license found in the
|
|
257
32
|
* LICENSE file in the root directory of this source tree.
|
|
258
|
-
*/var cb;function US(){if(cb)return Ah;cb=1;var h=Symbol.for("react.transitional.element"),E=Symbol.for("react.fragment");function O(b,D,C){var F=null;if(C!==void 0&&(F=""+C),D.key!==void 0&&(F=""+D.key),"key"in D){C={};for(var K in D)K!=="key"&&(C[K]=D[K])}else C=D;return D=C.ref,{$$typeof:h,type:b,key:F,ref:D!==void 0?D:null,props:C}}return Ah.Fragment=E,Ah.jsx=O,Ah.jsxs=O,Ah}var Rh={};/**
|
|
259
|
-
* @license React
|
|
260
|
-
* react-jsx-runtime.development.js
|
|
261
|
-
*
|
|
262
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
263
|
-
*
|
|
264
|
-
* This source code is licensed under the MIT license found in the
|
|
265
|
-
* LICENSE file in the root directory of this source tree.
|
|
266
|
-
*/var ob;function CS(){return ob||(ob=1,process.env.NODE_ENV!=="production"&&(function(){function h(Y){if(Y==null)return null;if(typeof Y=="function")return Y.$$typeof===ue?null:Y.displayName||Y.name||null;if(typeof Y=="string")return Y;switch(Y){case Ye:return"Fragment";case Oe:return"Profiler";case xe:return"StrictMode";case Me:return"Suspense";case Te:return"SuspenseList";case W:return"Activity"}if(typeof Y=="object")switch(typeof Y.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),Y.$$typeof){case Ne:return"Portal";case ge:return(Y.displayName||"Context")+".Provider";case ce:return(Y._context.displayName||"Context")+".Consumer";case oe:var ae=Y.render;return Y=Y.displayName,Y||(Y=ae.displayName||ae.name||"",Y=Y!==""?"ForwardRef("+Y+")":"ForwardRef"),Y;case ye:return ae=Y.displayName||null,ae!==null?ae:h(Y.type)||"Memo";case Re:ae=Y._payload,Y=Y._init;try{return h(Y(ae))}catch{}}return null}function E(Y){return""+Y}function O(Y){try{E(Y);var ae=!1}catch{ae=!0}if(ae){ae=console;var ee=ae.error,me=typeof Symbol=="function"&&Symbol.toStringTag&&Y[Symbol.toStringTag]||Y.constructor.name||"Object";return ee.call(ae,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",me),E(Y)}}function b(Y){if(Y===Ye)return"<>";if(typeof Y=="object"&&Y!==null&&Y.$$typeof===Re)return"<...>";try{var ae=h(Y);return ae?"<"+ae+">":"<...>"}catch{return"<...>"}}function D(){var Y=_e.A;return Y===null?null:Y.getOwner()}function C(){return Error("react-stack-top-frame")}function F(Y){if(te.call(Y,"key")){var ae=Object.getOwnPropertyDescriptor(Y,"key").get;if(ae&&ae.isReactWarning)return!1}return Y.key!==void 0}function K(Y,ae){function ee(){mt||(mt=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",ae))}ee.isReactWarning=!0,Object.defineProperty(Y,"key",{get:ee,configurable:!0})}function V(){var Y=h(this.type);return A[Y]||(A[Y]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),Y=this.props.ref,Y!==void 0?Y:null}function be(Y,ae,ee,me,Ue,nt,$e,sn){return ee=nt.ref,Y={$$typeof:Xe,type:Y,key:ae,props:nt,_owner:Ue},(ee!==void 0?ee:null)!==null?Object.defineProperty(Y,"ref",{enumerable:!1,get:V}):Object.defineProperty(Y,"ref",{enumerable:!1,value:null}),Y._store={},Object.defineProperty(Y._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(Y,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(Y,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:$e}),Object.defineProperty(Y,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:sn}),Object.freeze&&(Object.freeze(Y.props),Object.freeze(Y)),Y}function pe(Y,ae,ee,me,Ue,nt,$e,sn){var Tt=ae.children;if(Tt!==void 0)if(me)if(Fe(Tt)){for(me=0;me<Tt.length;me++)ie(Tt[me]);Object.freeze&&Object.freeze(Tt)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ie(Tt);if(te.call(ae,"key")){Tt=h(Y);var ll=Object.keys(ae).filter(function(La){return La!=="key"});me=0<ll.length?"{key: someKey, "+ll.join(": ..., ")+": ...}":"{key: someKey}",ve[Tt+me]||(ll=0<ll.length?"{"+ll.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
267
|
-
let props = %s;
|
|
268
|
-
<%s {...props} />
|
|
269
|
-
React keys must be passed directly to JSX without using spread:
|
|
270
|
-
let props = %s;
|
|
271
|
-
<%s key={someKey} {...props} />`,me,Tt,ll,Tt),ve[Tt+me]=!0)}if(Tt=null,ee!==void 0&&(O(ee),Tt=""+ee),F(ae)&&(O(ae.key),Tt=""+ae.key),"key"in ae){ee={};for(var Zt in ae)Zt!=="key"&&(ee[Zt]=ae[Zt])}else ee=ae;return Tt&&K(ee,typeof Y=="function"?Y.displayName||Y.name||"Unknown":Y),be(Y,Tt,nt,Ue,D(),ee,$e,sn)}function ie(Y){typeof Y=="object"&&Y!==null&&Y.$$typeof===Xe&&Y._store&&(Y._store.validated=1)}var se=Ze,Xe=Symbol.for("react.transitional.element"),Ne=Symbol.for("react.portal"),Ye=Symbol.for("react.fragment"),xe=Symbol.for("react.strict_mode"),Oe=Symbol.for("react.profiler"),ce=Symbol.for("react.consumer"),ge=Symbol.for("react.context"),oe=Symbol.for("react.forward_ref"),Me=Symbol.for("react.suspense"),Te=Symbol.for("react.suspense_list"),ye=Symbol.for("react.memo"),Re=Symbol.for("react.lazy"),W=Symbol.for("react.activity"),ue=Symbol.for("react.client.reference"),_e=se.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te=Object.prototype.hasOwnProperty,Fe=Array.isArray,rt=console.createTask?console.createTask:function(){return null};se={react_stack_bottom_frame:function(Y){return Y()}};var mt,A={},k=se.react_stack_bottom_frame.bind(se,C)(),I=rt(b(C)),ve={};Rh.Fragment=Ye,Rh.jsx=function(Y,ae,ee,me,Ue){var nt=1e4>_e.recentlyCreatedOwnerStacks++;return pe(Y,ae,ee,!1,me,Ue,nt?Error("react-stack-top-frame"):k,nt?rt(b(Y)):I)},Rh.jsxs=function(Y,ae,ee,me,Ue){var nt=1e4>_e.recentlyCreatedOwnerStacks++;return pe(Y,ae,ee,!0,me,Ue,nt?Error("react-stack-top-frame"):k,nt?rt(b(Y)):I)}})()),Rh}var fb;function HS(){return fb||(fb=1,process.env.NODE_ENV==="production"?_p.exports=US():_p.exports=CS()),_p.exports}var q=HS();function Hi({id:h,label:E,hint:O,error:b,required:D,className:C,children:F}){return q.jsxs("div",{className:C,children:[q.jsxs("label",{htmlFor:h,className:"form-label",children:[E," ",D&&q.jsx("span",{className:"text-red-600",children:"*"})]}),F,O&&!b&&q.jsx("p",{id:`${h}-hint`,className:"mt-1 text-sm text-slate-500",children:O}),b&&q.jsx("p",{id:`${h}-error`,className:"mt-1 text-sm text-red-600",children:b})]})}function NS({id:h,label:E,hint:O,error:b,required:D,className:C,...F}){return q.jsx(Hi,{id:h,label:E,hint:O,error:b,required:D,className:C,children:q.jsx("input",{id:h,className:`form-input ${b?"input-error":""}`,"aria-invalid":!!b,"aria-describedby":[O?`${h}-hint`:null,b?`${h}-error`:null].filter(Boolean).join(" ")||void 0,required:D,...F,type:"text"})})}function BS({id:h,label:E,hint:O,error:b,required:D,className:C,...F}){return q.jsx(Hi,{id:h,label:E,hint:O,error:b,required:D,className:C,children:q.jsx("input",{id:h,type:"number",className:`form-input ${b?"input-error":""}`,"aria-invalid":!!b,"aria-describedby":[O?`${h}-hint`:null,b?`${h}-error`:null].filter(Boolean).join(" ")||void 0,required:D,...F})})}function jS({id:h,label:E,hint:O,error:b,required:D,className:C,...F}){return q.jsx(Hi,{id:h,label:E,hint:O,error:b,required:D,className:C,children:q.jsx("input",{id:h,type:"email",className:`form-input ${b?"input-error":""}`,inputMode:"email",autoComplete:"email",required:D,"aria-invalid":!!b,"aria-describedby":[O?`${h}-hint`:null,b?`${h}-error`:null].filter(Boolean).join(" ")||void 0,...F})})}function YS({id:h,label:E,hint:O,error:b,required:D,className:C,...F}){return q.jsx(Hi,{id:h,label:E,hint:O,error:b,required:D,className:C,children:q.jsx("input",{id:h,type:"tel",className:`form-input ${b?"input-error":""}`,inputMode:"tel",autoComplete:"tel",required:D,"aria-invalid":!!b,"aria-describedby":[O?`${h}-hint`:null,b?`${h}-error`:null].filter(Boolean).join(" ")||void 0,...F})})}function wS({id:h,label:E,hint:O,error:b,required:D,className:C,...F}){return q.jsx(Hi,{id:h,label:E,hint:O,error:b,required:D,className:C,children:q.jsx("input",{id:h,type:"url",className:`form-input ${b?"input-error":""}`,inputMode:"url",autoComplete:"url",required:D,"aria-invalid":!!b,"aria-describedby":[O?`${h}-hint`:null,b?`${h}-error`:null].filter(Boolean).join(" ")||void 0,...F})})}function GS({id:h,label:E,hint:O,error:b,required:D,className:C,...F}){return q.jsx(Hi,{id:h,label:E,hint:O,error:b,required:D,className:C,children:q.jsx("input",{id:h,type:"password",className:`form-input ${b?"input-error":""}`,autoComplete:"current-password",required:D,"aria-invalid":!!b,"aria-describedby":[O?`${h}-hint`:null,b?`${h}-error`:null].filter(Boolean).join(" ")||void 0,...F})})}function QS({id:h,label:E,hint:O,error:b,required:D,className:C,rows:F=4,...K}){return q.jsx(Hi,{id:h,label:E,hint:O,error:b,required:D,className:C,children:q.jsx("textarea",{id:h,rows:F,className:`form-input ${b?"input-error":""}`,"aria-invalid":!!b,"aria-describedby":[O?`${h}-hint`:null,b?`${h}-error`:null].filter(Boolean).join(" ")||void 0,required:D,...K})})}function VS({id:h,label:E,hint:O,error:b,required:D,className:C,...F}){return q.jsx(Hi,{id:h,label:E,hint:O,error:b,required:D,className:C,children:q.jsx("input",{id:h,type:"date",className:`form-input ${b?"input-error":""}`,"aria-invalid":!!b,"aria-describedby":[O?`${h}-hint`:null,b?`${h}-error`:null].filter(Boolean).join(" ")||void 0,required:D,...F})})}function sb({id:h,label:E,className:O,...b}){return q.jsxs("label",{className:`checkbox-card ${O||""}`,htmlFor:h,children:[q.jsx("input",{id:h,type:"checkbox",className:"checkbox-input",...b}),q.jsx("span",{className:"checkbox-label",children:E})]})}function XS({name:h,value:E,checked:O,onChange:b,children:D}){return q.jsxs("label",{className:"radio-card",children:[q.jsx("input",{className:"radio-input",type:"radio",name:h,value:E,checked:O,onChange:b}),q.jsx("span",{className:"radio-label",children:D})]})}function LS({legend:h,children:E,className:O,legendClassName:b}){return q.jsxs("fieldset",{className:O,children:[q.jsx("legend",{className:`mb-4 text-base font-medium ${b||""}`,style:{color:"var(--text-primary)"},children:h}),q.jsx("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2",children:E})]})}function ZS({id:h,label:E,hint:O,error:b,required:D,className:C,placeholder:F,options:K,children:V,...be}){const pe=[O?`${h}-hint`:null,b?`${h}-error`:null].filter(Boolean).join(" ")||void 0,ie=!!V;return q.jsx(Hi,{id:h,label:E,hint:O,error:b,required:D,className:C,children:q.jsxs("select",{id:h,className:`form-input select-caret ${b?"input-error":""}`,"aria-invalid":!!b,"aria-describedby":pe,required:D,...be,children:[F&&q.jsx("option",{value:"",disabled:!0,selected:!("value"in be),children:F}),ie?V:K?.map(se=>q.jsx("option",{value:se.value,disabled:se.disabled,children:se.label},se.value))]})})}function Eg(h){return h.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,"")}function rb(h,E){return h.key??`${Eg(h.question)}-${E}`}function Ep(h,E){const O={},b=D=>D==null||typeof D=="string"&&D.trim()==="";return h.forEach((D,C)=>{const F=rb(D,C),K=E[F];if(D.required)switch(D.inputType){case"checkbox":K!==!0&&(O[F]="Required");break;case"radio":case"select":b(K)&&(O[F]="Required");break;case"number":(K==null||typeof K=="string"&&K.trim()==="")&&(O[F]="Required");break;case"date":case"email":case"tel":case"url":case"password":case"text":case"textarea":default:b(K)&&(O[F]="Required");break}}),O}function qS(h){if(h===""||h===null||h===void 0)return;const E=Number(h);return Number.isNaN(E)?void 0:E}function db(h){return typeof h=="number"&&Number.isFinite(h)?h:typeof h=="string"&&h.trim()!==""&&!Number.isNaN(Number(h))?Number(h):null}function hb(h){if(h instanceof Date&&!Number.isNaN(h.getTime()))return h.getTime();if(typeof h=="string"){const E=Date.parse(h);return Number.isNaN(E)?null:E}return null}function mb(h,E){const O=db(h),b=db(E);if(O!=null&&b!=null)return O-b;const D=hb(h),C=hb(E);return D!=null&&C!=null?D-C:h==null||E==null?null:String(h).localeCompare(String(E))}function KS(h,E){return Array.isArray(h)?h.some(O=>O===E):typeof h=="string"?E!=null&&h.includes(String(E)):!1}function zh(h,E,O){switch(E){case"equals":return h===O;case"lessThan":{const b=mb(h,O);return b!=null&&b<0}case"greaterThan":{const b=mb(h,O);return b!=null&&b>0}case"contains":return KS(h,O);case"startsWith":return h!=null&&O!=null&&String(h).startsWith(String(O));case"endsWith":return h!=null&&O!=null&&String(h).endsWith(String(O));default:return!1}}function Ag(h,E){return E.reduce((O,b)=>O?.[b],h)}function Lc(h,E,O){if(E.length===0)return h;const[b,...D]=E;if(D.length===0){if(typeof b=="number"){const be=(Array.isArray(h)?h:[]).slice();return be[b]=O,be}return{...h,[b]:O}}const C=h?.[b],F=typeof D[0]=="number"?Array.isArray(C)?C:[]:C&&typeof C=="object"?C:{},K=Lc(F,D,O);if(typeof b=="number"){const be=(Array.isArray(h)?h:[]).slice();return be[b]=K,be}return{...h,[b]:K}}function Dh(h,E,O){return Ag(h,[...E??[],O])}function JS(h,E,O,b){return Lc(h,[...E??[],O],b)}const kS="__items",Ap=h=>`${h}${kS}`;function $S(h){const E=(O,b)=>O.map((D,C)=>{const F=b.length?b.join("__"):"root",K=D.key??`${F}__q${C}_${String(D.question).slice(0,24).replace(/\W+/g,"-")||"field"}`,be=(D.conditionals??[]).map((pe,ie)=>{const se=pe.conditionalQuestions?E(pe.conditionalQuestions,[...b,`${K}__c${ie}`]):void 0;return{...pe,conditionalQuestions:se}});return{...D,key:K,conditionals:be}});return E(h,[])}function sf(h){return h==null?"":typeof h=="string"?h:String(h)}function WS(h){return h==null?"":typeof h=="number"&&Number.isFinite(h)||typeof h=="string"?h:""}function FS(h){return h==null?"":typeof h=="string"||typeof h=="number"?h:String(h)}function IS({questions:h,initialValues:E,controlledValues:O,onChangeValues:b,onSubmit:D}){const C=Ze.useMemo(()=>$S(h),[h]),F=Ze.useMemo(()=>{const ce={};return E&&Object.assign(ce,E),ce},[E]),[K,V]=Ze.useState(F);Ze.useEffect(()=>{V(F)},[F]);const[be,pe]=Ze.useState({}),ie=Ze.useMemo(()=>({...be,...O??K}),[be,O,K]);Ze.useEffect(()=>{O&&pe(ce=>({...ce,...O}))},[O]);const[se,Xe]=Ze.useState({});function Ne(ce,ge){const oe=ce.key,Me=ce.question,Te=Dh(ie,ge,oe),ye=se[oe],Re=W=>{let ue=JS(ie,ge,oe,W);if(ce.inputType==="radio"&&ce.conditionals){const _e=ce.conditionals??[];for(const te of _e){const Fe=Dh(ie,ge,oe),rt=zh(Fe,te.conditionalType,te.conditionalValue),mt=zh(W,te.conditionalType,te.conditionalValue);if(rt&&!mt&&te.conditionalQuestionsAllowMultiple){const A=te.conditionalQuestions??[];if(A.length>0){const k=Ap(oe);ue=Lc(ue,[...ge??[],k],[]);const I=(ve,Y)=>{ve.forEach(ae=>{(ae.conditionals??[]).forEach(me=>{if(me.conditionalQuestionsAllowMultiple){const nt=Ap(ae.key);ue=Lc(ue,[...Y,nt],[])}const Ue=me.conditionalQuestions??[];Ue.length>0&&I(Ue,Y)})})};I(A,[...ge??[],k])}}}}O&&b?b(ue):V(ue),pe(ue)};switch(ce.inputType){case"text":return q.jsx(NS,{id:oe,label:Me,value:sf(Te),onChange:W=>Re(W.currentTarget.value),"aria-required":ce.required||void 0,error:ye},oe);case"email":return q.jsx(jS,{id:oe,label:Me,value:sf(Te),onChange:W=>Re(W.currentTarget.value),"aria-required":ce.required||void 0,error:ye},oe);case"password":return q.jsx(GS,{id:oe,label:Me,value:sf(Te),onChange:W=>Re(W.currentTarget.value),"aria-required":ce.required||void 0,error:ye},oe);case"tel":return q.jsx(YS,{id:oe,label:Me,value:sf(Te),onChange:W=>Re(W.currentTarget.value),"aria-required":ce.required||void 0,error:ye},oe);case"url":return q.jsx(wS,{id:oe,label:Me,value:sf(Te),onChange:W=>Re(W.currentTarget.value),"aria-required":ce.required||void 0,error:ye},oe);case"number":return q.jsx(BS,{id:oe,label:Me,value:WS(Te),onChange:W=>Re(qS(W.currentTarget.value)),"aria-required":ce.required||void 0,error:ye},oe);case"textarea":return q.jsx(QS,{id:oe,label:Me,value:sf(Te),onChange:W=>Re(W.currentTarget.value),"aria-required":ce.required||void 0,error:ye,rows:4},oe);case"date":return q.jsx(VS,{id:oe,label:Me,value:sf(Te),onChange:W=>Re(W.currentTarget.value),"aria-required":ce.required||void 0,error:ye},oe);case"checkbox":{if(ce.options){const W=Array.isArray(Te)?Te:[];return q.jsxs("div",{className:"space-y-2",children:[q.jsxs("div",{className:"form-label",children:[Me,ce.required&&q.jsx("span",{className:"text-red-600 ml-1",children:"*"})]}),q.jsx("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2",children:ce.options.map(ue=>{const _e=`${oe}-${Eg(ue)}`,te=W.includes(ue);return q.jsx(sb,{id:_e,label:ue,checked:te,onChange:Fe=>{const rt=new Set(W);Fe.currentTarget.checked?rt.add(ue):rt.delete(ue),Re(Array.from(rt))},"aria-required":ce.required||void 0},_e)})}),ye&&q.jsx("p",{className:"mt-1 text-sm text-red-600",children:ye})]},oe)}return q.jsx(sb,{id:oe,label:ce.required?`${Me} *`:Me,checked:!!Te,onChange:W=>Re(W.currentTarget.checked),"aria-required":ce.required||void 0},oe)}case"radio":{const W=ce.options??[],ue=ge&&ge.length>0?`${oe}__${ge.join("__")}`:oe;return q.jsx(LS,{legend:Me,legendClassName:ce.required?"legend-required":void 0,children:W.map(_e=>q.jsx(XS,{name:ue,value:_e,checked:Te===_e,onChange:()=>Re(_e),children:_e},`${oe}-${Eg(_e)}`))},oe)}case"select":{let W=ce.options??[];return oe==="quote_vehicle_id"&&(W=O?.vehicles__items?.map(ue=>ue.vin)??[]),q.jsx(ZS,{id:oe,label:Me,"aria-required":ce.required||void 0,error:ye,value:FS(Te),onChange:ue=>Re(ue.currentTarget.value),placeholder:"Select an option",options:W.map(ue=>({value:ue,label:ue}))},oe)}default:return null}}function Ye(ce,ge){return ce.map((oe,Me)=>{const Te=String(oe.key),ye=Ne(oe,ge),Re=oe.conditionals??[];if(!Re.length)return q.jsx("div",{children:ye},`wrap-${Te}-${Me}`);const W=Dh(ie,ge,Te),ue=Re.filter(te=>zh(W,te.conditionalType,te.conditionalValue)),_e=ue.length>1&&!ue.some(te=>te.conditionalQuestionsAllowMultiple)?ue.slice(0,1):ue;return q.jsxs("div",{children:[ye,_e.map((te,Fe)=>{const rt=te.conditionalQuestions??[];if(!rt.length)return null;if(!te.conditionalQuestionsAllowMultiple)return q.jsx("div",{className:"mt-3",children:Ye(rt,ge)},`branch-${Te}-${Fe}`);const mt=Ap(Te),A=Ag(ie,[...ge??[],mt])??[],k=Math.max(1,A.length||1),I=()=>{const ae=Lc(ie,[...ge??[],mt,A.length],{});O&&b?b(ae):V(ae),pe(ae)},ve=()=>{const ae=A.slice(0,Math.max(0,A.length-1)),ee=Lc(ie,[...ge??[],mt],ae);O&&b?b(ee):V(ee),pe(ee)},Y=`${Te}__c${Fe}`;return q.jsxs("div",{className:"mt-3",children:[q.jsxs("div",{className:"flex items-center justify-between mb-2",children:[q.jsx("div",{className:"text-sm font-medium opacity-75",children:"Add one or more entries"}),q.jsxs("div",{className:"space-x-2",children:[q.jsx("button",{type:"button",className:"btn-outline px-3 py-1",onClick:I,children:"Add another"}),k>1&&q.jsx("button",{type:"button",className:"btn-outline px-3 py-1",onClick:ve,children:"Remove last"})]})]}),Array.from({length:k}).map((ae,ee)=>{const me=[...ge??[],mt,ee],Ue=`${Y}__i${ee}`;return q.jsxs("div",{className:"rounded-lg border p-3 mb-3",children:[q.jsxs("div",{className:"text-sm font-semibold mb-2",children:["Entry #",ee+1]}),rt.map(nt=>q.jsxs("div",{className:"mt-3",children:[Ne(nt,me),(()=>{const $e=nt.conditionals??[];if(!$e.length)return null;const sn=Dh(ie,me,nt.key),Tt=$e.filter(Zt=>zh(sn,Zt.conditionalType,Zt.conditionalValue));return(Tt.length>1&&!Tt.some(Zt=>Zt.conditionalQuestionsAllowMultiple)?Tt.slice(0,1):Tt).map((Zt,La)=>{const wu=Zt.conditionalQuestions??[];if(!wu.length)return null;if(!Zt.conditionalQuestionsAllowMultiple)return q.jsx("div",{className:"mt-3",children:Ye(wu,me)},`nested-${Ue}-${La}`);const _a=Ap(nt.key),Gu=Ag(ie,[...me,_a])??[],Ps=Math.max(1,Gu.length||1),lu=()=>{const Ea=Lc(ie,[...me,_a,Gu.length],{});O&&b?b(Ea):V(Ea),pe(Ea)},Cl=()=>{const Ea=Gu.slice(0,Math.max(0,Gu.length-1)),rn=Lc(ie,[...me,_a],Ea);O&&b?b(rn):V(rn),pe(rn)};return q.jsxs("div",{className:"mt-3",children:[q.jsxs("div",{className:"flex items-center justify-between mb-2",children:[q.jsx("div",{className:"text-sm font-medium opacity-75",children:"Add one or more entries"}),q.jsxs("div",{className:"space-x-2",children:[q.jsx("button",{type:"button",className:"btn-outline px-3 py-1",onClick:lu,children:"Add another"}),Ps>1&&q.jsx("button",{type:"button",className:"btn-outline px-3 py-1",onClick:Cl,children:"Remove last"})]})]}),Array.from({length:Ps}).map((Ea,rn)=>{const rf=[...me,_a,rn];return q.jsxs("div",{className:"rounded-lg border p-3 mb-3",children:[q.jsxs("div",{className:"text-sm font-semibold mb-2",children:["Entry #",rn+1]}),Ye(wu,rf)]},`nested-item-${Ue}-${La}-${rn}`)})]},`nested-repeat-${Ue}-${La}`)})})()]},`${Ue}-${String(nt.key)}`))]},`group-${Ue}`)})]},`branch-${Te}-${Fe}`)})]},`wrap-${Te}-${Me}`)})}const xe=Ze.useMemo(()=>{const ce=[],ge=(oe,Me)=>{oe.forEach(Te=>{ce.push(Te);const ye=String(Te.key),Re=Te.conditionals??[];if(!Re.length)return;const W=Dh(ie,Me,ye),ue=Re.filter(te=>zh(W,te.conditionalType,te.conditionalValue));(ue.length>1&&!ue.some(te=>te.conditionalQuestionsAllowMultiple)?ue.slice(0,1):ue).forEach(te=>{const Fe=te.conditionalQuestions??[];Fe.length&&(te.conditionalQuestionsAllowMultiple||ge(Fe,Me))})})};return ge(C),ce},[C,ie]);function Oe(ce){ce.preventDefault();const ge=Ep(xe,ie);if(Xe(ge),Object.keys(ge).length>0){const oe=xe.findIndex(Me=>ge[Me.key]);oe>=0&&document.getElementById(xe[oe].key)?.focus();return}D(ie)}return q.jsx("form",{className:"space-y-6",onSubmit:Oe,noValidate:!0,children:Ye(C)})}function yb(h){return typeof h=="number"&&Number.isFinite(h)?h:typeof h=="string"&&h.trim()!==""&&!Number.isNaN(Number(h))?Number(h):null}function pb(h){if(h instanceof Date&&!Number.isNaN(h.getTime()))return h.getTime();if(typeof h=="string"){const E=Date.parse(h);return Number.isNaN(E)?null:E}return null}function gb(h,E){const O=yb(h),b=yb(E);if(O!=null&&b!=null)return O-b;const D=pb(h),C=pb(E);return D!=null&&C!=null?D-C:h==null||E==null?null:String(h).localeCompare(String(E))}function PS(h,E){return Array.isArray(h)?h.some(O=>O===E):typeof h=="string"?E!=null&&h.includes(String(E)):!1}function vb(h,E,O){switch(E){case"equals":return h===O;case"lessThan":{const b=gb(h,O);return b!=null&&b<0}case"greaterThan":{const b=gb(h,O);return b!=null&&b>0}case"contains":return PS(h,O);case"startsWith":return h!=null&&O!=null&&String(h).startsWith(String(O));case"endsWith":return h!=null&&O!=null&&String(h).endsWith(String(O));default:return!1}}function bb(h,E){const O=[];return(D=>{D.forEach(C=>{O.push(C);const F=String(C.key),K=E[F],V=C.conditionals??[];if(!V.length)return;const be=V.filter(ie=>vb(K,ie.conditionalType,ie.conditionalValue));(be.length>1&&!be.some(ie=>ie.conditionalQuestionsAllowMultiple)?be.slice(0,1):be).forEach(ie=>{const se=ie.conditionalQuestions??[];se.length&&(ie.conditionalQuestionsAllowMultiple||se.forEach(Xe=>O.push(Xe)))})})})(h),O}const Sb="__items",Tb=h=>`${h}${Sb}`;function Rg(h,E){for(const O of h){const b=String(O.key),D=E[b],C=O.conditionals??[];if(!C.length)continue;const F=C.filter(V=>vb(D,V.conditionalType,V.conditionalValue)),K=F.length>1&&!F.some(V=>V.conditionalQuestionsAllowMultiple)?F.slice(0,1):F;for(const V of K){const be=V.conditionalQuestions??[];if(!be.length)continue;if(!V.conditionalQuestionsAllowMultiple){if(Rg(be,E))return!0;continue}const pe=E[Tb(b)]??[];if(pe.length===0)return!0;for(const ie of pe){const se=Ep(be,ie);if(Object.values(se).some(Boolean)||Rg(be,ie))return!0}}}return!1}function _b(h,E){return Rg(h,E)}function eT({stages:h,onStageComplete:E,onComplete:O,initialValues:b,initialActive:D}){const[C,F]=Ze.useState(D??0),[K,V]=Ze.useState(b??{}),[be,pe]=Ze.useState({}),[ie,se]=Ze.useState(!1),[Xe,Ne]=Ze.useState(null),Ye=Ze.useRef([]),xe=Array.isArray(h)&&h.length>0,Oe=xe?h[Math.min(C,h.length-1)]:null,ce=Oe?.key??null;Ze.useEffect(()=>{D!==void 0&&F(D)},[D]),Ze.useEffect(()=>{const W=Ye.current[C];W&&W.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})},[C]),Ze.useEffect(()=>{b!==void 0&&V(b)},[b]),Ze.useEffect(()=>{if(!Oe||!ce){se(!1),Ne(null);return}if(be[ce]){se(!1),Ne(null);return}let W=!1;return se(!0),Ne(null),Promise.resolve(Oe.loadQuestions()).then(ue=>{if(!W){if(!Array.isArray(ue))throw new Error(`loadQuestions("${ce}") did not return an array`);pe(_e=>({..._e,[ce]:ue}))}}).catch(ue=>{W||Ne(`Failed to load stage "${Oe?.title??""}": ${ue?.message??"Unknown error"}`)}).finally(()=>{W||se(!1)}),()=>{W=!0}},[Oe,ce,be]);const ge=ce?be[ce]:void 0,oe=Ze.useMemo(()=>{if(!ge)return{};const W={};(te=>{const Fe=[],rt=mt=>{mt.forEach((A,k)=>{const I=rb(A,k);Fe.push(I);const ve=Tb(I);Fe.push(ve),(A.conditionals??[]).forEach(ae=>{const ee=ae.conditionalQuestions??[];ee.length>0&&rt(ee)})})};return rt(te),Fe})(ge).forEach(te=>{te in K&&(W[te]=K[te])});for(const[te,Fe]of Object.entries(K))te.endsWith(Sb)&&!(te in W)&&(W[te]=Fe);return W},[ge,K]),Me=W=>{V(ue=>({...ue,...W}))},Te=()=>{F(W=>W>0?W-1:0),document.querySelector(".panel-body")?.scrollTo({top:0,behavior:"instant"})},ye=async()=>{if(!ge||!Oe||ie||Xe)return;const W=bb(ge,K),ue=Ep(W,K),_e=Object.values(ue).some(Boolean),te=_b(ge,K);if(_e||te)return;const Fe=Math.min(C+1,h.length-1),rt=C>=h.length-1,{success:mt,error:A}=rt?await O(K,ce??""):await E(oe,ce??"");if(!mt){Ne(A??"An error occurred");return}rt||F(Fe)},Re=Ze.useMemo(()=>{if(!ge||ie||Xe)return!0;const W=bb(ge,K),ue=Ep(W,K),_e=Object.values(ue).some(Boolean),te=_b(ge,K);return _e||te},[ge,K,ie,Xe]);return xe?q.jsxs("div",{className:"space-y-6",children:[q.jsxs("div",{className:"flex items-center justify-between gap-4",children:[q.jsx("ol",{className:"flex gap-2 text-xs overflow-x-auto flex-1 pb-1 scrollbar-hide",style:{scrollbarWidth:"none",msOverflowStyle:"none"},children:h.map((W,ue)=>q.jsx("li",{ref:_e=>{Ye.current[ue]=_e},className:`px-2.5 py-1 rounded-full border whitespace-nowrap flex-shrink-0 ${ue===C?"bg-blue-600 text-white border-blue-600":"border-slate-200 text-slate-600"}`,children:W.title},W.key))}),q.jsxs("div",{className:"text-sm text-slate-500 flex-shrink-0",children:[Math.min(C+1,h.length)," / ",h.length]})]}),q.jsxs("div",{children:[ie&&q.jsx("div",{className:"text-slate-500",children:"Loading…"}),!ie&&Xe&&q.jsxs("div",{className:"text-red-600",children:[Xe," ",Oe&&q.jsx("button",{type:"button",className:"underline",onClick:()=>{pe(W=>{if(!ce)return W;const ue={...W};return delete ue[ce],ue})},children:"Retry"})]}),Oe&&q.jsx(IS,{questions:ge??[],controlledValues:oe,onChangeValues:Me,onSubmit:()=>ye()},Oe.key)]}),q.jsxs("div",{className:C>0?"grid grid-cols-2 gap-3":"",children:[C>0&&q.jsx("button",{type:"button",onClick:Te,disabled:ie,className:"h-12 rounded-full border border-gray-300 text-text-primary hover:bg-gray-50 transition",children:"Back"}),q.jsx("button",{type:"button",onClick:ye,disabled:Re,className:[C>0?"":"w-full","h-12 rounded-full text-white transition","disabled:opacity-50 disabled:cursor-not-allowed",Re?"bg-gray-300":"bg-blue-600 hover:bg-blue-600/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-600/40 bg-primary hover:bg-primary/90 focus-visible:ring-primary/40"].join(" "),children:C===h.length-1?"Finish":"Next"})]})]}):q.jsx("div",{className:"text-slate-600",children:"Loading..."})}const zg="credify_quote_id",Dg="credify_auth_token";function tT(h){try{localStorage.setItem(zg,h)}catch(E){console.error("Failed to save quoteId to localStorage:",E)}}function lT(){try{return localStorage.getItem(zg)}catch(h){return console.error("Failed to load quoteId from localStorage:",h),null}}function Eb(){try{localStorage.removeItem(zg)}catch(h){console.error("Failed to clear quoteId from localStorage:",h)}}function aT(h){try{localStorage.setItem(Dg,h)}catch(E){console.error("Failed to save authToken to localStorage:",E)}}function nT(){try{return localStorage.getItem(Dg)}catch(h){return console.error("Failed to load authToken from localStorage:",h),null}}function Ab(){try{localStorage.removeItem(Dg)}catch(h){console.error("Failed to clear authToken from localStorage:",h)}}function uT(){Eb(),Ab()}const Ni="http://localhost:3000";let Is=null;function iT(h){Is=h,aT(h)}function Rp(){return Is}function xg(){const h=nT();h&&(Is=h)}function Rb(){Is=null,Ab()}async function Bi(h,E){const O={"Content-Type":"application/json"};Is&&(O.Authorization=`Bearer ${Is}`);const b=await fetch(h,{method:"POST",headers:O,body:JSON.stringify(E)});if(!b.ok){let D=`Request failed with status ${b.status}`;try{D=(await b.json()).error||D}catch{D=b.statusText||D}const C=new Error(D);throw C.statusCode=b.status,C}return b}async function cT(h){return await(await Bi(`${Ni}/get-questions-by-stage`,{stage:h})).json()}async function Og(){return await(await Bi(`${Ni}/get-stages-for-quote`,{})).json()}async function oT(h){const O=await(await Bi(`${Ni}/create-quote`,{phone:h})).json();if(!O||typeof O!="object"||!O.quoteId)throw new Error(`Invalid createQuote response: ${JSON.stringify(O)}`);return O}async function xh(h,E,O){const b={payload:h,getRates:E};return O&&typeof O=="string"&&O.trim()!==""&&(b.quoteId=O),await(await Bi(`${Ni}/update-quote`,b)).json()}async function fT(h,E){return await(await Bi(`${Ni}/verify-quote`,{quoteId:h,smsCode:E})).json()}async function sT(h){return await(await Bi(`${Ni}/is-supported-state`,{state:h})).json()}async function rT(){return await(await Bi(`${Ni}/get-rates`,{})).json()}async function dT(h){const E=h?{quoteId:h}:{};return await(await Bi(`${Ni}/get-quote`,E)).json()}async function hT(h){const O=await(await Bi(`${Ni}/request-bind`,{quoteRateId:h})).json();return O&&typeof O=="object"&&"success"in O?O:{success:!0}}const mT=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"});function zb({onBack:h}){return q.jsx("button",{type:"button",onClick:h,className:"mt-4 h-12 rounded-full border border-gray-300 text-text-primary hover:bg-gray-50 transition w-full",children:"Back"})}function yT({rates:h,onBack:E}){const O=Array.isArray(h)&&h.length>0,[b,D]=Ze.useState({});return Ze.useEffect(()=>{xg()},[]),O?q.jsxs("section",{className:"mt-8",children:[q.jsx("h3",{className:"text-lg font-semibold text-slate-900",children:"Rates"}),q.jsx("div",{className:"mt-4 grid gap-4 sm:grid-cols-2 lg:grid-cols-3",children:h.map(C=>{const F=C.premium_cents/100,K=mT.format(F),V=C.quote_rate_id,be=b[V]??"idle",pe=be==="loading",ie=be==="success",se=async()=>{D(Xe=>({...Xe,[V]:"loading"}));try{if(xg(),!Rp())throw new Error("Authentication required. Please verify your phone number first.");if(!((await hT(C.quote_rate_id))?.success!==!1))throw new Error("Request failed");uT(),Rb(),D(xe=>({...xe,[V]:"success"}))}catch{D(Xe=>({...Xe,[V]:"error"}))}};return q.jsxs("div",{className:"flex flex-col rounded-xl border border-slate-200 bg-white p-6 shadow-sm transition hover:shadow-md",children:[q.jsxs("div",{className:"mb-4 flex items-center gap-3",children:[C.carrier_logo_base64?q.jsx("img",{src:`data:image/png;base64,${C.carrier_logo_base64}`,alt:C.carrier_name,className:"h-12 w-auto object-contain"}):q.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-md bg-slate-100 text-sm font-semibold text-slate-500",children:C.carrier_name.charAt(0).toUpperCase()}),q.jsx("div",{className:"flex-1",children:q.jsx("h4",{className:"font-semibold text-slate-900",children:C.carrier_name})})]}),q.jsxs("div",{className:"mb-2",children:[q.jsx("p",{className:"text-sm text-slate-500",children:"Premium"}),q.jsx("p",{className:"text-2xl font-bold text-slate-900",children:K})]}),q.jsxs("div",{className:"mb-4",children:[q.jsx("p",{className:"text-sm text-slate-500",children:"Term"}),q.jsxs("p",{className:"font-medium text-slate-700",children:[C.term_months," months"]})]}),C.carrier_quote_id&&q.jsx("div",{className:"mb-4",children:q.jsxs("p",{className:"text-xs text-slate-400",children:["Quote ID: ",C.carrier_quote_id]})}),q.jsxs("div",{className:"mt-auto pt-4",children:[q.jsx("button",{type:"button",onClick:se,disabled:pe||ie,className:`w-full rounded-full px-4 py-2.5 text-sm font-semibold transition focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-600/40 ${ie?"bg-emerald-500 text-white":"bg-blue-600 text-white hover:bg-blue-600/90 disabled:bg-slate-300 disabled:text-slate-500 disabled:cursor-not-allowed"}`,children:pe?"Requesting…":ie?"Requested":"Request Bind"}),be==="error"&&q.jsx("p",{className:"mt-2 text-xs text-red-600",children:"Something went wrong. Please try again."}),be==="success"&&q.jsx("p",{className:"mt-2 text-xs text-emerald-600",children:"We received your bind request."})]})]},V)})}),E&&q.jsx(zb,{onBack:E})]}):q.jsxs("section",{className:"mt-8",children:[q.jsx("h3",{className:"text-lg font-semibold text-slate-900",children:"Rates"}),q.jsx("p",{className:"mt-2 text-sm text-slate-500",children:"No rates are available at this time."}),E&&q.jsx(zb,{onBack:E})]})}function Xt(h){if(h===!0)return"Yes";if(h===!1)return"No"}function Yu(h){if(h)try{const E=typeof h=="string"?new Date(h):h;return isNaN(E.getTime())?void 0:E.toISOString().split("T")[0]}catch{return}}function pT(h){const E={};h.phone&&(E.phone=h.phone),h.first_name&&(E.first_name=h.first_name),h.last_name&&(E.last_name=h.last_name),h.email&&(E.email=h.email),h.date_of_birth&&(E.date_of_birth=Yu(h.date_of_birth)),h.product&&(E.product=h.product),h.state&&(E.state=h.state);const O=[];h.line_1&&O.push(h.line_1),h.line_2&&O.push(h.line_2),h.city&&O.push(h.city),h.state&&O.push(h.state),h.postal_code&&O.push(h.postal_code),O.length>0&&(E.address=O.join(", ")),h.years_at_address!==null&&h.years_at_address!==void 0&&(E.years_at_address=h.years_at_address),h.months_at_address!==null&&h.months_at_address!==void 0&&(E.months_at_address=h.months_at_address),h.move_in_date&&(E.move_in_date=Yu(h.move_in_date));const b=[];return h.prior_line_1&&b.push(h.prior_line_1),h.prior_line_2&&b.push(h.prior_line_2),h.prior_city&&b.push(h.prior_city),h.prior_state&&b.push(h.prior_state),h.prior_postal_code&&b.push(h.prior_postal_code),b.length>0&&(E.prior_address=b.join(", ")),h.years_at_prior_address!==null&&h.years_at_prior_address!==void 0&&(E.years_at_prior_address=h.years_at_prior_address),h.auto_has_prior_insurance!==null&&h.auto_has_prior_insurance!==void 0&&(E.auto_has_prior_insurance=Xt(h.auto_has_prior_insurance)),h.auto_prior_expiration_date&&(E.auto_prior_expiration_date=Yu(h.auto_prior_expiration_date)),h.auto_prior_carrier_name&&(E.auto_prior_carrier_name=h.auto_prior_carrier_name),h.auto_prior_liability_limit&&(E.auto_prior_liability_limit=h.auto_prior_liability_limit),h.auto_reason_for_no_insurance&&(E.auto_reason_for_no_insurance=h.auto_reason_for_no_insurance),h.auto_prior_years!==null&&h.auto_prior_years!==void 0&&(E.auto_prior_years=h.auto_prior_years),h.auto_prior_months!==null&&h.auto_prior_months!==void 0&&(E.auto_prior_months=h.auto_prior_months),h.auto_continuous_coverage_years!==null&&h.auto_continuous_coverage_years!==void 0&&(E.auto_continuous_coverage_years=h.auto_continuous_coverage_years),h.auto_cancelled_declined_refused_to_renew!==null&&h.auto_cancelled_declined_refused_to_renew!==void 0&&(E.auto_cancelled_declined_refused_to_renew=Xt(h.auto_cancelled_declined_refused_to_renew)),h.home_has_prior_insurance!==null&&h.home_has_prior_insurance!==void 0&&(E.home_has_prior_insurance=Xt(h.home_has_prior_insurance)),h.home_prior_expiration_date&&(E.home_prior_expiration_date=Yu(h.home_prior_expiration_date)),h.home_prior_carrier_name&&(E.home_prior_carrier_name=h.home_prior_carrier_name),h.year_built!==null&&h.year_built!==void 0&&(E.year_built=h.year_built),h.number_of_units!==null&&h.number_of_units!==void 0&&(E.number_of_units=h.number_of_units),h.number_of_stories!==null&&h.number_of_stories!==void 0&&(E.number_of_stories=h.number_of_stories),h.number_of_beds!==null&&h.number_of_beds!==void 0&&(E.number_of_beds=h.number_of_beds),h.number_of_full_baths!==null&&h.number_of_full_baths!==void 0&&(E.number_of_full_baths=h.number_of_full_baths),h.number_of_partial_baths!==null&&h.number_of_partial_baths!==void 0&&(E.number_of_partial_baths=h.number_of_partial_baths),h.under_construction!==null&&h.under_construction!==void 0&&(E.under_construction=Xt(h.under_construction)),h.distance_from_fire_hydrant_ft&&(E.distance_from_fire_hydrant_ft=h.distance_from_fire_hydrant_ft),h.distance_from_fire_station_miles&&(E.distance_from_fire_station_miles=h.distance_from_fire_station_miles),h.architectural_style&&(E.architectural_style=h.architectural_style),h.dwelling_type&&(E.dwelling_type=h.dwelling_type),h.construction_quality&&(E.construction_quality=h.construction_quality),h.located_over_water!==null&&h.located_over_water!==void 0&&(E.located_over_water=h.located_over_water),h.construction_type&&(E.construction_type=h.construction_type),h.exterior_wall_type&&(E.exterior_wall_type=h.exterior_wall_type),h.foundation_type&&(E.foundation_type=h.foundation_type),h.roof_material_type&&(E.roof_material_type=h.roof_material_type),h.year_roof_updated!==null&&h.year_roof_updated!==void 0&&(E.year_roof_updated=h.year_roof_updated),h.heating_type&&(E.heating_type=h.heating_type),h.heating_fuel_type&&(E.heating_fuel_type=h.heating_fuel_type),h.number_of_fireplaces!==null&&h.number_of_fireplaces!==void 0&&(E.number_of_fireplaces=h.number_of_fireplaces),h.basement_type&&(E.basement_type=h.basement_type),h.parking_type&&(E.parking_type=h.parking_type),h.number_of_parking_spaces!==null&&h.number_of_parking_spaces!==void 0&&(E.number_of_parking_spaces=h.number_of_parking_spaces),h.plumbing_type&&(E.plumbing_type=h.plumbing_type),h.pool_type&&(E.pool_type=h.pool_type),h.total_area_sq_ft!==null&&h.total_area_sq_ft!==void 0&&(E.total_area_sq_ft=h.total_area_sq_ft),h.parcel_area_sq_ft!==null&&h.parcel_area_sq_ft!==void 0&&(E.parcel_area_sq_ft=h.parcel_area_sq_ft),h.residence_type&&(E.residence_type=h.residence_type),h.usage_type&&(E.usage_type=h.usage_type),h.household_size!==null&&h.household_size!==void 0&&(E.household_size=h.household_size),h.number_of_mortgagees!==null&&h.number_of_mortgagees!==void 0&&(E.number_of_mortgagees=h.number_of_mortgagees),h.has_dog!==null&&h.has_dog!==void 0&&(E.has_dog=Xt(h.has_dog)),h.dog_breed_type&&(E.dog_breed_type=h.dog_breed_type),h.number_of_dogs!==null&&h.number_of_dogs!==void 0&&(E.number_of_dogs=h.number_of_dogs),h.has_business_on_premises!==null&&h.has_business_on_premises!==void 0&&(E.has_business_on_premises=Xt(h.has_business_on_premises)),h.business_class&&(E.business_class=h.business_class),h.retiree_discount!==null&&h.retiree_discount!==void 0&&(E.retiree_discount=Xt(h.retiree_discount)),h.gated_community_discount!==null&&h.gated_community_discount!==void 0&&(E.gated_community_discount=Xt(h.gated_community_discount)),h.multi_policy_discount!==null&&h.multi_policy_discount!==void 0&&(E.multi_policy_discount=Xt(h.multi_policy_discount)),h.non_smoker_discount!==null&&h.non_smoker_discount!==void 0&&(E.non_smoker_discount=Xt(h.non_smoker_discount)),h.first_time_buyer_discount!==null&&h.first_time_buyer_discount!==void 0&&(E.first_time_buyer_discount=Xt(h.first_time_buyer_discount)),h.fire_detection_system!==null&&h.fire_detection_system!==void 0&&(E.fire_detection_system=Xt(h.fire_detection_system)),h.burglar_alarm_system!==null&&h.burglar_alarm_system!==void 0&&(E.burglar_alarm_system=Xt(h.burglar_alarm_system)),h.burglar_alarm_system_type&&(E.burglar_alarm_system_type=h.burglar_alarm_system_type),h.smoke_detectors!==null&&h.smoke_detectors!==void 0&&(E.smoke_detectors=Xt(h.smoke_detectors)),h.sprinkler_system!==null&&h.sprinkler_system!==void 0&&(E.sprinkler_system=Xt(h.sprinkler_system)),h.sprinkler_system_type&&(E.sprinkler_system_type=h.sprinkler_system_type),h.gas_leakage_detector!==null&&h.gas_leakage_detector!==void 0&&(E.gas_leakage_detector=Xt(h.gas_leakage_detector)),h.deadbolt_locks!==null&&h.deadbolt_locks!==void 0&&(E.deadbolt_locks=Xt(h.deadbolt_locks)),h.fire_extinguisher!==null&&h.fire_extinguisher!==void 0&&(E.fire_extinguisher=Xt(h.fire_extinguisher)),h.order_credit_authorized!==null&&h.order_credit_authorized!==void 0&&(E.order_credit_authorized=Xt(h.order_credit_authorized)),h.has_health_insurance_auto_accident!==null&&h.has_health_insurance_auto_accident!==void 0&&(E.has_health_insurance_auto_accident=Xt(h.has_health_insurance_auto_accident)),h.named_insured_foreclosure_repo_bankruptcy!==null&&h.named_insured_foreclosure_repo_bankruptcy!==void 0&&(E.named_insured_foreclosure_repo_bankruptcy=Xt(h.named_insured_foreclosure_repo_bankruptcy)),h.named_insured_convicted_insurance_fraud!==null&&h.named_insured_convicted_insurance_fraud!==void 0&&(E.named_insured_convicted_insurance_fraud=Xt(h.named_insured_convicted_insurance_fraud)),h.drivers&&h.drivers.length>0?(E.drivers="Yes",E.drivers__items=h.drivers.map(D=>{const C={};return D.first_name&&(C.first_name=D.first_name),D.last_name&&(C.last_name=D.last_name),D.date_of_birth&&(C.date_of_birth=Yu(D.date_of_birth)),D.gender&&(C.gender=D.gender),D.marital_status&&(C.marital_status=D.marital_status),D.relationship_to_insured&&(C.relationship_to_insured=D.relationship_to_insured),D.license_state&&(C.license_state=D.license_state),D.license_status&&(C.license_status=D.license_status),D.license_number&&(C.license_number=D.license_number),D.date_first_licensed&&(C.date_first_licensed=Yu(D.date_first_licensed)),D.education_level&&(C.education_level=D.education_level),D.occupation&&(C.occupation=D.occupation),D.industry&&(C.industry=D.industry),D.driver_violations&&D.driver_violations.length>0&&(C.driver_violations__items=D.driver_violations.map(F=>{const K={};return F.code&&(K.code=F.code),F.occurred_at&&(K.occurred_at=Yu(F.occurred_at)),K})),D.driver_accidents&&D.driver_accidents.length>0&&(C.driver_accidents__items=D.driver_accidents.map(F=>{const K={};return F.occurred_at&&(K.occurred_at=Yu(F.occurred_at)),F.description&&(K.description=F.description),F.quote_vehicle_id&&(K.quote_vehicle_id=F.quote_vehicle_id),F.property_damage_amount_paid_cents!==null&&F.property_damage_amount_paid_cents!==void 0&&(K.property_damage_amount_paid_cents=F.property_damage_amount_paid_cents),F.personal_injury_amount_paid_cents!==null&&F.personal_injury_amount_paid_cents!==void 0&&(K.personal_injury_amount_paid_cents=F.personal_injury_amount_paid_cents),K})),D.losses&&D.losses.length>0&&(C.losses=D.losses.map(F=>{const K={};return F.description&&(K.description=F.description),F.date_of_incident&&(K.date_of_incident=Yu(F.date_of_incident)),F.amount_paid_cents!==null&&F.amount_paid_cents!==void 0&&(K.amount_paid_cents=F.amount_paid_cents),F.quote_vehicle_id&&(K.quote_vehicle_id=F.quote_vehicle_id),K})),C})):E.drivers="No",h.vehicles&&h.vehicles.length>0?(E.vehicles="Yes",E.vehicles__items=h.vehicles.map(D=>{const C={};D.vin&&(C.vin=D.vin),D.year!==null&&D.year!==void 0&&(C.year=D.year),D.make&&(C.make=D.make),D.model&&(C.model=D.model),D.ownership_type&&(C.ownership_type=D.ownership_type),D.usage&&(C.usage=D.usage),D.annual_mileage!==null&&D.annual_mileage!==void 0&&(C.annual_mileage=D.annual_mileage),D.miles_to_work!==null&&D.miles_to_work!==void 0&&(C.miles_to_work=D.miles_to_work),D.percent_to_work!==null&&D.percent_to_work!==void 0&&(C.percent_to_work=D.percent_to_work);const F=[];return D.garaging_address_line_1&&F.push(D.garaging_address_line_1),D.garaging_address_line_2&&F.push(D.garaging_address_line_2),D.garaging_address_city&&F.push(D.garaging_address_city),D.garaging_address_state&&F.push(D.garaging_address_state),D.garaging_address_postal_code&&F.push(D.garaging_address_postal_code),F.length>0&&(C.garaging_address=F.join(", ")),D.anti_theft_type&&(C.anti_theft_type=D.anti_theft_type),D.passive_restraint_type&&(C.passive_restraint_type=D.passive_restraint_type),D.coverages&&D.coverages.length>0&&(C.coverages__items=D.coverages.map(K=>{const V={};return K.type&&(V.type=K.type),K.per_person_limit_cents!==null&&K.per_person_limit_cents!==void 0&&(V.per_person_limit_cents=K.per_person_limit_cents),K.per_incident_limit_cents!==null&&K.per_incident_limit_cents!==void 0&&(V.per_incident_limit_cents=K.per_incident_limit_cents),K.per_incident_limit_percent!==null&&K.per_incident_limit_percent!==void 0&&(V.per_incident_limit_percent=K.per_incident_limit_percent),K.per_day_limit_cents!==null&&K.per_day_limit_cents!==void 0&&(V.per_day_limit_cents=K.per_day_limit_cents),K.deductible_cents!==null&&K.deductible_cents!==void 0&&(V.deductible_cents=K.deductible_cents),K.is_declined!==null&&K.is_declined!==void 0&&(V.is_declined=Xt(K.is_declined)),V})),D.vehicle_lienholders&&D.vehicle_lienholders.length>0&&(C.vehicle_lienholders__items=D.vehicle_lienholders.map(K=>{const V={};return K.name&&(V.name=K.name),K.type&&(V.type=K.type),K.line_1&&(V.line_1=K.line_1),K.line_2&&(V.line_2=K.line_2),K.city&&(V.city=K.city),K.state&&(V.state=K.state),K.postal_code&&(V.postal_code=K.postal_code),K.phone&&(V.phone=K.phone),K.fax&&(V.fax=K.fax),V})),C})):E.vehicles="No",h.losses&&h.losses.length>0&&(E.home_losses__items=h.losses.map(D=>{const C={};return D.description&&(C.description=D.description),D.date_of_incident&&(C.date_of_incident=Yu(D.date_of_incident)),D.amount_paid_cents!==null&&D.amount_paid_cents!==void 0&&(C.amount_paid_cents=D.amount_paid_cents),C})),E}function Mg(h){const E={},O=C=>{if(typeof C=="string"){if(C==="Yes")return!0;if(C==="No")return!1}return C},b=Object.keys(h).filter(C=>!C.includes("__items")),D=new Set;for(const[C,F]of Object.entries(h))C.endsWith("__items")&&Array.isArray(F)&&F.forEach(K=>{typeof K=="object"&&K!==null&&Object.keys(K).forEach(V=>{D.add(V)})});for(const[C,F]of Object.entries(h))if(C.endsWith("__items")){const K=C.replace("__items","");if(b.includes(K)){const be=Array.isArray(F)?F.map(pe=>Mg(pe)):F;E[K]=be}}else C.includes("__items")||D.has(C)||(E[C]=O(F));return E}function gT({isOpen:h,onClose:E}){const[O,b]=Ze.useState([]),[D,C]=Ze.useState(null),[F,K]=Ze.useState(null),[V,be]=Ze.useState(null),[pe,ie]=Ze.useState(void 0);function se(Ne){return Ne.map(Ye=>({key:Ye,title:Ye,loadQuestions:async()=>(await cT(Ye)).questions}))}Ze.useEffect(()=>{(async()=>{const{stages:Ye}=await Og();b(se(Ye))})()},[]),Ze.useEffect(()=>{h&&(async()=>{try{const Ye=lT();if(xg(),Ye){C(Ye);try{const xe=Rp(),Oe=await dT(xe?void 0:Ye);if(!Oe||!Oe.quote)throw new Error("Invalid response from getQuote: missing quote data");const{quote:ce}=Oe;try{const Me=pT(ce);be(Me)}catch(Me){throw new Error(`Failed to transform quote data: ${Me instanceof Error?Me.message:"Unknown error"}`)}const{stages:ge}=await Og(),oe=se(ge);if(b(oe),ce.current_stage){const Me=oe.findIndex(Te=>Te.key===ce.current_stage);Me>=0&&ie(Me)}}catch(xe){xe.statusCode===404?(Eb(),C(null)):Rb()}}}catch{}})()},[h]),Ze.useEffect(()=>{if(!h)return;const{overflow:Ne}=document.body.style;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=Ne}},[h]);const Xe=Ze.useCallback(Ne=>{Ne.key==="Escape"&&E()},[E]);return Ze.useEffect(()=>{if(h)return window.addEventListener("keydown",Xe),()=>window.removeEventListener("keydown",Xe)},[h,Xe]),Ze.useEffect(()=>{h||be(null)},[h]),h?q.jsxs("div",{className:"fixed inset-0 z-[9999] flex items-center justify-center",role:"dialog","aria-modal":"true","aria-labelledby":"insurance-modal-title",children:[q.jsx("div",{className:"backdrop",onClick:E}),q.jsxs("div",{className:"modal-panel relative w-full max-w-2xl flex flex-col max-h-[90vh] overflow-hidden",role:"document",children:[q.jsx("button",{onClick:E,className:"absolute top-4 right-4 text-slate-400 hover:text-slate-600 text-xl","aria-label":"Close",type:"button",children:"×"}),q.jsxs("div",{className:"text-center mb-6",children:[q.jsx("h2",{id:"insurance-modal-title",className:"h1-title",children:"Let's get you the best insurance rates."}),q.jsx("p",{className:"p-subtitle",children:"This should only take a few minutes."})]}),q.jsxs("div",{className:"panel-body flex-1 min-h-0 overflow-y-auto",children:[!F&&q.jsx(eT,{stages:O,initialValues:V??void 0,initialActive:pe!==void 0?pe:V&&O.length>0?O.length-1:void 0,onStageComplete:async(Ne,Ye)=>{try{const xe=Mg(Ne),{stages:Oe}=await Og(),ce=se(Oe);b(ce);const oe=ce.findIndex(ye=>ye.key===Ye)+1,Te=(oe<ce.length?ce[oe]:null)?.key||Ye;if(D)if(Ye==="SMSVerification"){const{isVerified:ye,token:Re}=await fT(D,xe.sms_code);if(!ye)throw new Error("Invalid SMS code");Re&&iT(Re),await xh({current_stage:Te},!1)}else if(Ye==="State"){const{isSupported:ye}=await sT(xe.state);if(!ye)throw new Error("State is not supported");const Re=Rp();await xh({...xe,current_stage:Te},!1,Re?void 0:D)}else{const ye=Rp();await xh({...xe,current_stage:Te},!1,ye?void 0:D||void 0)}else{const Re=(await oT(xe.phone))?.quoteId;if(!Re||typeof Re!="string"||Re.trim()==="")throw new Error(`Failed to create quote - invalid quoteId returned: ${Re}`);C(Re),tT(Re),await xh({current_stage:Te},!1,Re)}return{success:!0}}catch(xe){return{success:!1,error:xe instanceof Error?xe.message:"An error occurred"}}},onComplete:async Ne=>{try{const Ye=Mg(Ne);if(!D)throw new Error("Quote ID is required");await xh(Ye,!0),be(Ne);const{rates:xe}=await rT();return K(xe),{success:!0}}catch(Ye){return{success:!1,error:Ye instanceof Error?Ye.message:"An error occurred"}}}})," ",F&&D&&q.jsx(yT,{rates:F,onBack:()=>K(null)})]})]})]}):null}function vT({isOpen:h}){return q.jsx(gT,{isOpen:h,onClose:()=>{}})}let Zc=null,Oh=null,zp=!1;function bT(){Zc||(Zc=document.createElement("div"),Zc.id="insurance-widget-root",document.body.appendChild(Zc),Oh=MS.createRoot(Zc))}function Ug(){bT(),Oh.render(Ze.createElement(vT,{isOpen:zp}))}function ST(){Oh&&Zc&&(Oh.unmount(),Zc.remove()),Oh=null,Zc=null}const Cg={init:h=>{zp=!!h?.autoOpen,Ug()},open:()=>{zp=!0,Ug()},close:()=>{zp=!1,Ug()},destroy:ST};typeof window<"u"&&(window.CredifyInsuranceWidget=Cg),Ci.CredifyInsuranceWidget=Cg,Ci.default=Cg,Object.defineProperties(Ci,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
|
|
33
|
+
*/var Hf;function Id(){if(Hf)return Ba;Hf=1;var i=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function h(_,s,S){var z=null;if(S!==void 0&&(z=""+S),s.key!==void 0&&(z=""+s.key),"key"in s){S={};for(var x in s)x!=="key"&&(S[x]=s[x])}else S=s;return s=S.ref,{$$typeof:i,type:_,key:z,ref:s!==void 0?s:null,props:S}}return Ba.Fragment=r,Ba.jsx=h,Ba.jsxs=h,Ba}var Qf;function Pd(){return Qf||(Qf=1,ci.exports=Id()),ci.exports}var b=Pd();function xt({id:i,label:r,hint:h,error:_,required:s,className:S,children:z}){return b.jsxs("div",{className:S,children:[b.jsxs("label",{htmlFor:i,className:"form-label",children:[r," ",s&&b.jsx("span",{className:"text-red-600",children:"*"})]}),z,h&&!_&&b.jsx("p",{id:`${i}-hint`,className:"mt-1 text-sm text-slate-500",children:h}),_&&b.jsx("p",{id:`${i}-error`,className:"mt-1 text-sm text-red-600",children:_})]})}function lm({id:i,label:r,hint:h,error:_,required:s,className:S,...z}){return b.jsx(xt,{id:i,label:r,hint:h,error:_,required:s,className:S,children:b.jsx("input",{id:i,className:`form-input ${_?"input-error":""}`,"aria-invalid":!!_,"aria-describedby":[h?`${i}-hint`:null,_?`${i}-error`:null].filter(Boolean).join(" ")||void 0,required:s,...z,type:"text"})})}function tm({id:i,label:r,hint:h,error:_,required:s,className:S,...z}){return b.jsx(xt,{id:i,label:r,hint:h,error:_,required:s,className:S,children:b.jsx("input",{id:i,type:"number",className:`form-input ${_?"input-error":""}`,"aria-invalid":!!_,"aria-describedby":[h?`${i}-hint`:null,_?`${i}-error`:null].filter(Boolean).join(" ")||void 0,required:s,...z})})}function em({id:i,label:r,hint:h,error:_,required:s,className:S,...z}){return b.jsx(xt,{id:i,label:r,hint:h,error:_,required:s,className:S,children:b.jsx("input",{id:i,type:"email",className:`form-input ${_?"input-error":""}`,inputMode:"email",autoComplete:"email",required:s,"aria-invalid":!!_,"aria-describedby":[h?`${i}-hint`:null,_?`${i}-error`:null].filter(Boolean).join(" ")||void 0,...z})})}function am({id:i,label:r,hint:h,error:_,required:s,className:S,...z}){return b.jsx(xt,{id:i,label:r,hint:h,error:_,required:s,className:S,children:b.jsx("input",{id:i,type:"tel",className:`form-input ${_?"input-error":""}`,inputMode:"tel",autoComplete:"tel",required:s,"aria-invalid":!!_,"aria-describedby":[h?`${i}-hint`:null,_?`${i}-error`:null].filter(Boolean).join(" ")||void 0,...z})})}function nm({id:i,label:r,hint:h,error:_,required:s,className:S,...z}){return b.jsx(xt,{id:i,label:r,hint:h,error:_,required:s,className:S,children:b.jsx("input",{id:i,type:"url",className:`form-input ${_?"input-error":""}`,inputMode:"url",autoComplete:"url",required:s,"aria-invalid":!!_,"aria-describedby":[h?`${i}-hint`:null,_?`${i}-error`:null].filter(Boolean).join(" ")||void 0,...z})})}function um({id:i,label:r,hint:h,error:_,required:s,className:S,...z}){return b.jsx(xt,{id:i,label:r,hint:h,error:_,required:s,className:S,children:b.jsx("input",{id:i,type:"password",className:`form-input ${_?"input-error":""}`,autoComplete:"current-password",required:s,"aria-invalid":!!_,"aria-describedby":[h?`${i}-hint`:null,_?`${i}-error`:null].filter(Boolean).join(" ")||void 0,...z})})}function im({id:i,label:r,hint:h,error:_,required:s,className:S,rows:z=4,...x}){return b.jsx(xt,{id:i,label:r,hint:h,error:_,required:s,className:S,children:b.jsx("textarea",{id:i,rows:z,className:`form-input ${_?"input-error":""}`,"aria-invalid":!!_,"aria-describedby":[h?`${i}-hint`:null,_?`${i}-error`:null].filter(Boolean).join(" ")||void 0,required:s,...x})})}function cm({id:i,label:r,hint:h,error:_,required:s,className:S,...z}){return b.jsx(xt,{id:i,label:r,hint:h,error:_,required:s,className:S,children:b.jsx("input",{id:i,type:"date",className:`form-input ${_?"input-error":""}`,"aria-invalid":!!_,"aria-describedby":[h?`${i}-hint`:null,_?`${i}-error`:null].filter(Boolean).join(" ")||void 0,required:s,...z})})}function Yf({id:i,label:r,className:h,..._}){return b.jsxs("label",{className:`checkbox-card ${h||""}`,htmlFor:i,children:[b.jsx("input",{id:i,type:"checkbox",className:"checkbox-input",..._}),b.jsx("span",{className:"checkbox-label",children:r})]})}function fm({name:i,value:r,checked:h,onChange:_,children:s}){return b.jsxs("label",{className:"radio-card",children:[b.jsx("input",{className:"radio-input",type:"radio",name:i,value:r,checked:h,onChange:_}),b.jsx("span",{className:"radio-label",children:s})]})}function sm({legend:i,children:r,className:h,legendClassName:_}){return b.jsxs("fieldset",{className:h,children:[b.jsx("legend",{className:`mb-4 text-base font-medium ${_||""}`,style:{color:"var(--text-primary)"},children:i}),b.jsx("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2",children:r})]})}function rm({id:i,label:r,hint:h,error:_,required:s,className:S,placeholder:z,options:x,children:U,...Z}){const el=[h?`${i}-hint`:null,_?`${i}-error`:null].filter(Boolean).join(" ")||void 0,D=!!U;return b.jsx(xt,{id:i,label:r,hint:h,error:_,required:s,className:S,children:b.jsxs("select",{id:i,className:`form-input select-caret ${_?"input-error":""}`,"aria-invalid":!!_,"aria-describedby":el,required:s,...Z,children:[z&&b.jsx("option",{value:"",disabled:!0,selected:!("value"in Z),children:z}),D?U:x?.map(q=>b.jsx("option",{value:q.value,disabled:q.disabled,children:q.label},q.value))]})})}const om="AIzaSyDjLdKLxoa-maLNGAyq_I_2r_Fe_TzFikw";function dm(){return new Promise((i,r)=>{if(window.google?.maps?.places){i();return}const h=document.querySelector('script[src*="maps.googleapis.com"]');if(h){h.addEventListener("load",()=>i()),h.addEventListener("error",()=>r(new Error("Failed to load Google Maps script")));return}const _=document.createElement("script");_.src=`https://maps.googleapis.com/maps/api/js?key=${om}&libraries=places`,_.async=!0,_.defer=!0,_.onload=()=>i(),_.onerror=()=>r(new Error("Failed to load Google Maps script")),document.head.appendChild(_)})}function mm(i){const r={fullAddress:i.formatted_address};return i.address_components&&i.address_components.forEach(h=>{const _=h.types;_.includes("street_number")&&(r.streetNumber=h.long_name),_.includes("route")&&(r.streetName=h.long_name),_.includes("locality")&&(r.city=h.long_name),_.includes("administrative_area_level_1")&&(r.state=h.short_name),_.includes("postal_code")&&(r.zipCode=h.long_name),_.includes("country")&&(r.country=h.short_name)}),r}function hm({id:i,label:r,hint:h,error:_,required:s,className:S,onChange:z,onPlaceSelect:x,value:U,...Z}){const el=H.useRef(null),D=H.useRef(null),q=H.useRef(null),dl=H.useRef(null),[fl,$]=H.useState(!0),[ll,zl]=H.useState(U||""),[B,k]=H.useState([]),[j,Q]=H.useState(!1),[V,P]=H.useState(-1),W=H.useRef([]),X=H.useRef(!1),L=H.useRef(-1);H.useEffect(()=>{W.current=B},[B]),H.useEffect(()=>{X.current=j},[j]),H.useEffect(()=>{L.current=V},[V]),H.useEffect(()=>{U!==void 0&&zl(String(U))},[U]);const C=H.useRef(null);H.useEffect(()=>{if(!el.current)return;let F=!0;return dm().then(()=>{!F||!el.current||(D.current=new google.maps.places.AutocompleteService,q.current=new google.maps.places.PlacesService(document.createElement("div")),$(!1))}).catch(E=>{console.error("Error loading Google Maps:",E),$(!1)}),()=>{F=!1,C.current&&clearTimeout(C.current)}},[]);const Y=F=>{const E=F.target.value;if(zl(E),z?.(E),C.current&&clearTimeout(C.current),E.length<3){k([]),Q(!1);return}C.current=setTimeout(()=>{D.current&&D.current.getPlacePredictions({input:E,types:["address"]},(M,O)=>{O===google.maps.places.PlacesServiceStatus.OK&&M?(k(M),Q(!0),P(-1)):(k([]),Q(!1))})},300)},ml=F=>{if(!X.current||W.current.length===0){F.key==="Escape"&&(Q(!1),X.current=!1);return}switch(F.key){case"ArrowDown":F.preventDefault(),P(E=>{const M=E<W.current.length-1?E+1:E;return L.current=M,M});break;case"ArrowUp":F.preventDefault(),P(E=>{const M=E>0?E-1:-1;return L.current=M,M});break;case"Enter":F.preventDefault(),L.current>=0&&L.current<W.current.length&&hl(W.current[L.current]);break;case"Escape":F.preventDefault(),Q(!1),X.current=!1;break}};H.useEffect(()=>{const F=E=>{dl.current&&!dl.current.contains(E.target)&&el.current&&!el.current.contains(E.target)&&(Q(!1),X.current=!1)};if(j)return document.addEventListener("mousedown",F),()=>{document.removeEventListener("mousedown",F)}},[j]);const hl=F=>{q.current&&q.current.getDetails({placeId:F.place_id,fields:["address_components","formatted_address","geometry"]},(E,M)=>{if(M===google.maps.places.PlacesServiceStatus.OK&&E){const O=E.formatted_address||"";zl(O),Q(!1),k([]),X.current=!1;const nl=mm(E);z?.(O,nl),x?.(E)}})};return b.jsx(xt,{id:i,label:r,hint:h,error:_,required:s,className:S,children:b.jsxs("div",{className:"relative",children:[b.jsx("input",{ref:el,id:i,type:"text",className:`form-input ${_?"input-error":""}`,value:ll,onChange:Y,onKeyDown:ml,"aria-invalid":!!_,"aria-describedby":[h?`${i}-hint`:null,_?`${i}-error`:null].filter(Boolean).join(" ")||void 0,required:s,autoComplete:"street-address",placeholder:Z.placeholder||"Enter an address",disabled:fl||Z.disabled,...Z}),fl&&b.jsx("p",{className:"mt-1 text-sm text-slate-500",children:"Loading address suggestions..."}),j&&B.length>0&&b.jsx("div",{ref:dl,className:"absolute z-50 w-full mt-1 bg-white border border-slate-200 rounded-lg shadow-lg max-h-60 overflow-y-auto",role:"listbox",children:B.map((F,E)=>b.jsxs("div",{className:`px-4 py-3 cursor-pointer transition-colors ${E===V?"bg-blue-50 text-slate-900":"bg-white text-slate-900 hover:bg-slate-50"} ${E<B.length-1?"border-b border-slate-100":""}`,role:"option","aria-selected":E===V,onClick:()=>hl(F),onMouseEnter:()=>P(E),children:[b.jsx("div",{className:"font-medium text-slate-900",children:F.structured_formatting.main_text}),F.structured_formatting.secondary_text&&b.jsx("div",{className:"text-sm text-slate-500 mt-0.5",children:F.structured_formatting.secondary_text})]},F.place_id))})]})})}function fi(i){return i.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,"")}function Gf(i,r){return i.key??`${fi(i.question)}-${r}`}function Gn(i,r){const h={},_=s=>s==null||typeof s=="string"&&s.trim()==="";return i.forEach((s,S)=>{const z=Gf(s,S),x=r[z];if(s.required)switch(s.inputType){case"checkbox":x!==!0&&(h[z]="Required");break;case"radio":case"select":_(x)&&(h[z]="Required");break;case"number":(x==null||typeof x=="string"&&x.trim()==="")&&(h[z]="Required");break;case"date":case"email":case"tel":case"url":case"password":case"text":case"textarea":case"address":default:_(x)&&(h[z]="Required");break}}),h}function _m(i){if(i===""||i===null||i===void 0)return;const r=Number(i);return Number.isNaN(r)?void 0:r}function Xf(i){return typeof i=="number"&&Number.isFinite(i)?i:typeof i=="string"&&i.trim()!==""&&!Number.isNaN(Number(i))?Number(i):null}function Zf(i){if(i instanceof Date&&!Number.isNaN(i.getTime()))return i.getTime();if(typeof i=="string"){const r=Date.parse(i);return Number.isNaN(r)?null:r}return null}function Cf(i,r){const h=Xf(i),_=Xf(r);if(h!=null&&_!=null)return h-_;const s=Zf(i),S=Zf(r);return s!=null&&S!=null?s-S:i==null||r==null?null:String(i).localeCompare(String(r))}function ym(i,r){return Array.isArray(i)?i.some(h=>h===r):typeof i=="string"?r!=null&&i.includes(String(r)):!1}function Ha(i,r,h){switch(r){case"equals":return i===h;case"lessThan":{const _=Cf(i,h);return _!=null&&_<0}case"greaterThan":{const _=Cf(i,h);return _!=null&&_>0}case"contains":return ym(i,h);case"startsWith":return i!=null&&h!=null&&String(i).startsWith(String(h));case"endsWith":return i!=null&&h!=null&&String(i).endsWith(String(h));default:return!1}}function si(i,r){return r.reduce((h,_)=>h?.[_],i)}function $t(i,r,h){if(r.length===0)return i;const[_,...s]=r;if(s.length===0){if(typeof _=="number"){const Z=(Array.isArray(i)?i:[]).slice();return Z[_]=h,Z}return{...i,[_]:h}}const S=i?.[_],z=typeof s[0]=="number"?Array.isArray(S)?S:[]:S&&typeof S=="object"?S:{},x=$t(z,s,h);if(typeof _=="number"){const Z=(Array.isArray(i)?i:[]).slice();return Z[_]=x,Z}return{...i,[_]:x}}function Qa(i,r,h){return si(i,[...r??[],h])}function vm(i,r,h,_){return $t(i,[...r??[],h],_)}const gm="__items",Xn=i=>`${i}${gm}`;function bm(i){const r=(h,_)=>h.map((s,S)=>{const z=_.length?_.join("__"):"root",x=s.key??`${z}__q${S}_${String(s.question).slice(0,24).replace(/\W+/g,"-")||"field"}`,Z=(s.conditionals??[]).map((el,D)=>{const q=el.conditionalQuestions?r(el.conditionalQuestions,[..._,`${x}__c${D}`]):void 0;return{...el,conditionalQuestions:q}});return{...s,key:x,conditionals:Z}});return r(i,[])}function Ft(i){return i==null?"":typeof i=="string"?i:String(i)}function Sm(i){return i==null?"":typeof i=="number"&&Number.isFinite(i)||typeof i=="string"?i:""}function pm(i){return i==null?"":typeof i=="string"||typeof i=="number"?i:String(i)}function Am({questions:i,initialValues:r,controlledValues:h,onChangeValues:_,onSubmit:s}){const S=H.useMemo(()=>bm(i),[i]),z=H.useMemo(()=>{const B={};return r&&Object.assign(B,r),B},[r]),[x,U]=H.useState(z);H.useEffect(()=>{U(z)},[z]);const[Z,el]=H.useState({}),D=H.useMemo(()=>({...Z,...h??x}),[Z,h,x]);H.useEffect(()=>{h&&el(B=>({...B,...h}))},[h]);const[q,dl]=H.useState({});function fl(B,k){const j=B.key,Q=B.question,V=Qa(D,k,j),P=q[j],W=X=>{let L=vm(D,k,j,X);if(B.inputType==="radio"&&B.conditionals){const C=B.conditionals??[];for(const Y of C){const ml=Qa(D,k,j),hl=Ha(ml,Y.conditionalType,Y.conditionalValue),F=Ha(X,Y.conditionalType,Y.conditionalValue);if(hl&&!F&&Y.conditionalQuestionsAllowMultiple){const E=Y.conditionalQuestions??[];if(E.length>0){const M=Xn(j);L=$t(L,[...k??[],M],[]);const O=(nl,_l)=>{nl.forEach(Nl=>{(Nl.conditionals??[]).forEach(cl=>{if(cl.conditionalQuestionsAllowMultiple){const Ml=Xn(Nl.key);L=$t(L,[..._l,Ml],[])}const I=cl.conditionalQuestions??[];I.length>0&&O(I,_l)})})};O(E,[...k??[],M])}}}}h&&_?_(L):U(L),el(L)};switch(B.inputType){case"text":return b.jsx(lm,{id:j,label:Q,value:Ft(V),onChange:X=>W(X.currentTarget.value),"aria-required":B.required||void 0,error:P},j);case"email":return b.jsx(em,{id:j,label:Q,value:Ft(V),onChange:X=>W(X.currentTarget.value),"aria-required":B.required||void 0,error:P},j);case"password":return b.jsx(um,{id:j,label:Q,value:Ft(V),onChange:X=>W(X.currentTarget.value),"aria-required":B.required||void 0,error:P},j);case"tel":return b.jsxs(b.Fragment,{children:[b.jsx(am,{id:j,label:Q,value:Ft(V),onChange:X=>W(X.currentTarget.value),"aria-required":B.required||void 0,error:P},j),j==="phone"&&b.jsxs("div",{className:"mt-3 text-xs text-slate-600 space-y-1",children:[b.jsx("p",{children:"By entering your phone number, you agree to receive a one-time SMS from Credify Insurance with a verification code."}),b.jsx("p",{children:"Message & data rates may apply. One message per request."}),b.jsxs("p",{children:["See our"," ",b.jsx("a",{href:"https://getcredify.com",target:"_blank",rel:"noopener noreferrer",className:"underline hover:text-slate-800",children:"Privacy Policy"})," ","and"," ",b.jsx("a",{href:"https://getcredify.com",target:"_blank",rel:"noopener noreferrer",className:"underline hover:text-slate-800",children:"Terms of Service"}),"."]})]})]});case"url":return b.jsx(nm,{id:j,label:Q,value:Ft(V),onChange:X=>W(X.currentTarget.value),"aria-required":B.required||void 0,error:P},j);case"number":return b.jsx(tm,{id:j,label:Q,value:Sm(V),onChange:X=>W(_m(X.currentTarget.value)),"aria-required":B.required||void 0,error:P},j);case"textarea":return b.jsx(im,{id:j,label:Q,value:Ft(V),onChange:X=>W(X.currentTarget.value),"aria-required":B.required||void 0,error:P,rows:4},j);case"date":return b.jsx(cm,{id:j,label:Q,value:Ft(V),onChange:X=>W(X.currentTarget.value),"aria-required":B.required||void 0,error:P},j);case"checkbox":{if(B.options){const X=Array.isArray(V)?V:[];return b.jsxs("div",{className:"space-y-2",children:[b.jsxs("div",{className:"form-label",children:[Q,B.required&&b.jsx("span",{className:"text-red-600 ml-1",children:"*"})]}),b.jsx("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2",children:B.options.map(L=>{const C=`${j}-${fi(L)}`,Y=X.includes(L);return b.jsx(Yf,{id:C,label:L,checked:Y,onChange:ml=>{const hl=new Set(X);ml.currentTarget.checked?hl.add(L):hl.delete(L),W(Array.from(hl))},"aria-required":B.required||void 0},C)})}),P&&b.jsx("p",{className:"mt-1 text-sm text-red-600",children:P})]},j)}return b.jsx(Yf,{id:j,label:B.required?`${Q} *`:Q,checked:!!V,onChange:X=>W(X.currentTarget.checked),"aria-required":B.required||void 0},j)}case"radio":{const X=B.options??[],L=k&&k.length>0?`${j}__${k.join("__")}`:j;return b.jsx(sm,{legend:Q,legendClassName:B.required?"legend-required":void 0,children:X.map(C=>b.jsx(fm,{name:L,value:C,checked:V===C,onChange:()=>W(C),children:C},`${j}-${fi(C)}`))},j)}case"select":{let X=B.options??[];return j==="quote_vehicle_id"&&(X=h?.vehicles__items?.map(L=>L.vin)??[]),b.jsx(rm,{id:j,label:Q,"aria-required":B.required||void 0,error:P,value:pm(V),onChange:L=>W(L.currentTarget.value),placeholder:"Select an option",options:X.map(L=>({value:L,label:L}))},j)}case"address":return b.jsx(hm,{id:j,label:Q,value:Ft(V),onChange:X=>W(X),"aria-required":B.required||void 0,error:P},j);default:return null}}function $(B,k){return B.map((j,Q)=>{const V=String(j.key),P=fl(j,k),W=j.conditionals??[];if(!W.length)return b.jsx("div",{children:P},`wrap-${V}-${Q}`);const X=Qa(D,k,V),L=W.filter(Y=>Ha(X,Y.conditionalType,Y.conditionalValue)),C=L.length>1&&!L.some(Y=>Y.conditionalQuestionsAllowMultiple)?L.slice(0,1):L;return b.jsxs("div",{children:[P,C.map((Y,ml)=>{const hl=Y.conditionalQuestions??[];if(!hl.length)return null;if(!Y.conditionalQuestionsAllowMultiple)return b.jsx("div",{className:"mt-3",children:$(hl,k)},`branch-${V}-${ml}`);const F=Xn(V),E=si(D,[...k??[],F])??[],M=Math.max(1,E.length||1),O=()=>{const Nl=$t(D,[...k??[],F,E.length],{});h&&_?_(Nl):U(Nl),el(Nl)},nl=()=>{const Nl=E.slice(0,Math.max(0,E.length-1)),xl=$t(D,[...k??[],F],Nl);h&&_?_(xl):U(xl),el(xl)},_l=`${V}__c${ml}`;return b.jsxs("div",{className:"mt-3",children:[b.jsxs("div",{className:"flex items-center justify-between mb-2",children:[b.jsx("div",{className:"text-sm font-medium opacity-75",children:"Add one or more entries"}),b.jsxs("div",{className:"space-x-2",children:[b.jsx("button",{type:"button",className:"btn-outline px-3 py-1",onClick:O,children:"Add another"}),M>1&&b.jsx("button",{type:"button",className:"btn-outline px-3 py-1",onClick:nl,children:"Remove last"})]})]}),Array.from({length:M}).map((Nl,xl)=>{const cl=[...k??[],F,xl],I=`${_l}__i${xl}`;return b.jsxs("div",{className:"rounded-lg border p-3 mb-3",children:[b.jsxs("div",{className:"text-sm font-semibold mb-2",children:["Entry #",xl+1]}),hl.map(Ml=>b.jsxs("div",{className:"mt-3",children:[fl(Ml,cl),(()=>{const Pt=Ml.conditionals??[];if(!Pt.length)return null;const Et=Qa(D,cl,Ml.key),Rt=Pt.filter(Wl=>Ha(Et,Wl.conditionalType,Wl.conditionalValue));return(Rt.length>1&&!Rt.some(Wl=>Wl.conditionalQuestionsAllowMultiple)?Rt.slice(0,1):Rt).map((Wl,Ne)=>{const le=Wl.conditionalQuestions??[];if(!le.length)return null;if(!Wl.conditionalQuestionsAllowMultiple)return b.jsx("div",{className:"mt-3",children:$(le,cl)},`nested-${I}-${Ne}`);const te=Xn(Ml.key),ee=si(D,[...cl,te])??[],qe=Math.max(1,ee.length||1),vi=()=>{const Vl=$t(D,[...cl,te,ee.length],{});h&&_?_(Vl):U(Vl),el(Vl)},gi=()=>{const Vl=ee.slice(0,Math.max(0,ee.length-1)),Bt=$t(D,[...cl,te],Vl);h&&_?_(Bt):U(Bt),el(Bt)};return b.jsxs("div",{className:"mt-3",children:[b.jsxs("div",{className:"flex items-center justify-between mb-2",children:[b.jsx("div",{className:"text-sm font-medium opacity-75",children:"Add one or more entries"}),b.jsxs("div",{className:"space-x-2",children:[b.jsx("button",{type:"button",className:"btn-outline px-3 py-1",onClick:vi,children:"Add another"}),qe>1&&b.jsx("button",{type:"button",className:"btn-outline px-3 py-1",onClick:gi,children:"Remove last"})]})]}),Array.from({length:qe}).map((Vl,Bt)=>{const Kn=[...cl,te,Bt];return b.jsxs("div",{className:"rounded-lg border p-3 mb-3",children:[b.jsxs("div",{className:"text-sm font-semibold mb-2",children:["Entry #",Bt+1]}),$(le,Kn)]},`nested-item-${I}-${Ne}-${Bt}`)})]},`nested-repeat-${I}-${Ne}`)})})()]},`${I}-${String(Ml.key)}`))]},`group-${I}`)})]},`branch-${V}-${ml}`)})]},`wrap-${V}-${Q}`)})}const ll=H.useMemo(()=>{const B=[],k=(j,Q)=>{j.forEach(V=>{B.push(V);const P=String(V.key),W=V.conditionals??[];if(!W.length)return;const X=Qa(D,Q,P),L=W.filter(Y=>Ha(X,Y.conditionalType,Y.conditionalValue));(L.length>1&&!L.some(Y=>Y.conditionalQuestionsAllowMultiple)?L.slice(0,1):L).forEach(Y=>{const ml=Y.conditionalQuestions??[];ml.length&&(Y.conditionalQuestionsAllowMultiple||k(ml,Q))})})};return k(S),B},[S,D]);function zl(B){B.preventDefault();const k=Gn(ll,D);if(dl(k),Object.keys(k).length>0){const j=ll.findIndex(Q=>k[Q.key]);j>=0&&document.getElementById(ll[j].key)?.focus();return}s(D)}return b.jsx("form",{className:"space-y-6",onSubmit:zl,noValidate:!0,children:$(S)})}function Vf(i){return typeof i=="number"&&Number.isFinite(i)?i:typeof i=="string"&&i.trim()!==""&&!Number.isNaN(Number(i))?Number(i):null}function Kf(i){if(i instanceof Date&&!Number.isNaN(i.getTime()))return i.getTime();if(typeof i=="string"){const r=Date.parse(i);return Number.isNaN(r)?null:r}return null}function wf(i,r){const h=Vf(i),_=Vf(r);if(h!=null&&_!=null)return h-_;const s=Kf(i),S=Kf(r);return s!=null&&S!=null?s-S:i==null||r==null?null:String(i).localeCompare(String(r))}function xm(i,r){return Array.isArray(i)?i.some(h=>h===r):typeof i=="string"?r!=null&&i.includes(String(r)):!1}function Lf(i,r,h){switch(r){case"equals":return i===h;case"lessThan":{const _=wf(i,h);return _!=null&&_<0}case"greaterThan":{const _=wf(i,h);return _!=null&&_>0}case"contains":return xm(i,h);case"startsWith":return i!=null&&h!=null&&String(i).startsWith(String(h));case"endsWith":return i!=null&&h!=null&&String(i).endsWith(String(h));default:return!1}}function Jf(i,r){const h=[];return(s=>{s.forEach(S=>{h.push(S);const z=String(S.key),x=r[z],U=S.conditionals??[];if(!U.length)return;const Z=U.filter(D=>Lf(x,D.conditionalType,D.conditionalValue));(Z.length>1&&!Z.some(D=>D.conditionalQuestionsAllowMultiple)?Z.slice(0,1):Z).forEach(D=>{const q=D.conditionalQuestions??[];q.length&&(D.conditionalQuestionsAllowMultiple||q.forEach(dl=>h.push(dl)))})})})(i),h}const qf="__items",kf=i=>`${i}${qf}`;function ri(i,r){for(const h of i){const _=String(h.key),s=r[_],S=h.conditionals??[];if(!S.length)continue;const z=S.filter(U=>Lf(s,U.conditionalType,U.conditionalValue)),x=z.length>1&&!z.some(U=>U.conditionalQuestionsAllowMultiple)?z.slice(0,1):z;for(const U of x){const Z=U.conditionalQuestions??[];if(!Z.length)continue;if(!U.conditionalQuestionsAllowMultiple){if(ri(Z,r))return!0;continue}const el=r[kf(_)]??[];if(el.length===0)return!0;for(const D of el){const q=Gn(Z,D);if(Object.values(q).some(Boolean)||ri(Z,D))return!0}}}return!1}function Wf(i,r){return ri(i,r)}function Tm({stages:i,onStageComplete:r,onComplete:h,initialValues:_,initialActive:s}){const[S,z]=H.useState(s??0),[x,U]=H.useState(_??{}),[Z,el]=H.useState({}),[D,q]=H.useState(!1),[dl,fl]=H.useState(!1),[$,ll]=H.useState(null),zl=H.useRef([]),B=Array.isArray(i)&&i.length>0,k=B?i[Math.min(S,i.length-1)]:null,j=k?.key??null;H.useEffect(()=>{s!==void 0&&z(s)},[s]),H.useEffect(()=>{const C=zl.current[S];C&&C.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})},[S]),H.useEffect(()=>{_!==void 0&&U(_)},[_]),H.useEffect(()=>{if(!k||!j){q(!1),ll(null);return}if(Z[j]){q(!1),ll(null);return}let C=!1;return q(!0),ll(null),Promise.resolve(k.loadQuestions()).then(Y=>{if(!C){if(!Array.isArray(Y))throw new Error(`loadQuestions("${j}") did not return an array`);el(ml=>({...ml,[j]:Y}))}}).catch(Y=>{C||ll(`Failed to load stage "${k?.title??""}": ${Y?.message??"Unknown error"}`)}).finally(()=>{C||q(!1)}),()=>{C=!0}},[k,j,Z]);const Q=j?Z[j]:void 0,V=H.useMemo(()=>{if(!Q)return{};const C={};(hl=>{const F=[],E=M=>{M.forEach((O,nl)=>{const _l=Gf(O,nl);F.push(_l);const Nl=kf(_l);F.push(Nl),(O.conditionals??[]).forEach(cl=>{const I=cl.conditionalQuestions??[];I.length>0&&E(I)})})};return E(hl),F})(Q).forEach(hl=>{hl in x&&(C[hl]=x[hl])});for(const[hl,F]of Object.entries(x))hl.endsWith(qf)&&!(hl in C)&&(C[hl]=F);return C},[Q,x]),P=C=>{U(Y=>({...Y,...C}))},W=()=>{z(C=>C>0?C-1:0),document.querySelector(".panel-body")?.scrollTo({top:0,behavior:"instant"})},X=async()=>{if(!Q||!k||D||$||dl)return;const C=Jf(Q,x),Y=Gn(C,x),ml=Object.values(Y).some(Boolean),hl=Wf(Q,x);if(!(ml||hl)){fl(!0);try{const F=Math.min(S+1,i.length-1),E=S>=i.length-1,{success:M,error:O}=E?await h(x,j??""):await r(V,j??"");if(!M){ll(O??"An error occurred");return}E||z(F)}finally{fl(!1)}}},L=H.useMemo(()=>{if(!Q||D||$||dl)return!0;const C=Jf(Q,x),Y=Gn(C,x),ml=Object.values(Y).some(Boolean),hl=Wf(Q,x);return ml||hl},[Q,x,D,$,dl]);return B?b.jsxs("div",{className:"space-y-6",children:[b.jsxs("div",{className:"flex items-center justify-between gap-4",children:[b.jsx("ol",{className:"flex gap-2 text-xs overflow-x-auto flex-1 pb-1 scrollbar-hide items-center",style:{scrollbarWidth:"none",msOverflowStyle:"none"},children:i.flatMap((C,Y)=>[b.jsx("li",{ref:ml=>{zl.current[Y]=ml},className:`px-2.5 py-1 rounded-full border whitespace-nowrap flex-shrink-0 ${Y<S?"bg-blue-600 text-white border-blue-600":Y===S?"border-blue-600 text-blue-600 bg-white":"border-slate-200 text-slate-600"}`,children:C.title},C.key),...Y<i.length-1?[b.jsx("li",{className:"text-slate-400 flex-shrink-0",children:"→"},`arrow-${Y}`)]:[]])}),b.jsxs("div",{className:"text-sm text-slate-500 flex-shrink-0",children:[Math.min(S+1,i.length)," / ",i.length]})]}),b.jsxs("div",{children:[D&&b.jsx("div",{className:"text-slate-500",children:"Loading…"}),k&&b.jsx(Am,{questions:Q??[],controlledValues:V,onChangeValues:P,onSubmit:()=>X()},k.key)]}),!D&&$&&b.jsxs("div",{className:"text-red-600 text-sm -mt-4",children:[b.jsx("div",{children:$}),k&&b.jsx("button",{type:"button",className:"underline mt-1 font-bold",onClick:()=>{el(C=>{if(!j)return C;const Y={...C};return delete Y[j],Y})},children:"Retry"})]}),b.jsxs("div",{className:S>0?"grid grid-cols-2 gap-3":"",children:[S>0&&b.jsx("button",{type:"button",onClick:W,disabled:D,className:"h-12 rounded-full border border-gray-300 text-text-primary hover:bg-gray-50 transition",children:"Back"}),b.jsxs("button",{type:"button",onClick:X,disabled:L,className:[S>0?"":"w-full","h-12 rounded-full text-white transition","disabled:opacity-50 disabled:cursor-not-allowed","flex items-center justify-center gap-2",L?"bg-gray-300":"bg-blue-600 hover:bg-blue-600/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-600/40 bg-primary hover:bg-primary/90 focus-visible:ring-primary/40"].join(" "),children:[dl&&b.jsxs("svg",{className:"animate-spin h-5 w-5 text-white",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[b.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),b.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),S===i.length-1?"Finish":"Next"]})]})]}):b.jsx("div",{className:"text-slate-600",children:"Loading..."})}const oi="credify_quote_id",di="credify_auth_token";function Em(i){try{localStorage.setItem(oi,i)}catch(r){console.error("Failed to save quoteId to localStorage:",r)}}function zm(){try{return localStorage.getItem(oi)}catch(i){return console.error("Failed to load quoteId from localStorage:",i),null}}function $f(){try{localStorage.removeItem(oi)}catch(i){console.error("Failed to clear quoteId from localStorage:",i)}}function Nm(i){try{localStorage.setItem(di,i)}catch(r){console.error("Failed to save authToken to localStorage:",r)}}function Mm(){try{return localStorage.getItem(di)}catch(i){return console.error("Failed to load authToken from localStorage:",i),null}}function Ff(){try{localStorage.removeItem(di)}catch(i){console.error("Failed to clear authToken from localStorage:",i)}}function Dm(){$f(),Ff()}const jt="https://api.getcredify.com";let Je=null;function Om(i){Je=i,Nm(i)}function Zn(){return Je}function mi(){const i=Mm();i&&(Je=i)}function If(){Je=null,Ff()}async function Ut(i,r){const h={"Content-Type":"application/json"};Je&&(h.Authorization=`Bearer ${Je}`);const _=await fetch(i,{method:"POST",headers:h,body:JSON.stringify(r)});if(!_.ok){let s=`Request failed with status ${_.status}`;try{s=(await _.json()).error||s}catch{s=_.statusText||s}const S=new Error(s);throw S.statusCode=_.status,S}return _}async function jm(i){return await(await Ut(`${jt}/get-questions-by-stage`,{stage:i})).json()}async function hi(){return await(await Ut(`${jt}/get-stages-for-quote`,{})).json()}async function Um(i){const h=await(await Ut(`${jt}/create-quote`,{phone:i})).json();if(!h||typeof h!="object"||!h.quoteId)throw new Error(`Invalid createQuote response: ${JSON.stringify(h)}`);return h}async function Ya(i,r,h){const _={payload:i,getRates:r};return h&&typeof h=="string"&&h.trim()!==""&&(_.quoteId=h),await(await Ut(`${jt}/update-quote`,_)).json()}async function Rm(i,r){return await(await Ut(`${jt}/verify-quote`,{quoteId:i,smsCode:r})).json()}async function Bm(i){return await(await Ut(`${jt}/is-supported-state`,{state:i})).json()}async function Hm(){return await(await Ut(`${jt}/get-rates`,{})).json()}async function Qm(i){const r=i?{quoteId:i}:{};return await(await Ut(`${jt}/get-quote`,r)).json()}async function Ym(i){const h=await(await Ut(`${jt}/request-bind`,{quoteRateId:i})).json();return h&&typeof h=="object"&&"success"in h?h:{success:!0}}const Gm=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"});function Pf({onBack:i}){return b.jsx("button",{type:"button",onClick:i,className:"mt-4 h-12 rounded-full border border-gray-300 text-text-primary hover:bg-gray-50 transition w-full",children:"Back"})}function Xm({rates:i,onBack:r}){const h=Array.isArray(i)&&i.length>0,[_,s]=H.useState({});return H.useEffect(()=>{mi()},[]),h?b.jsxs("section",{className:"mt-8",children:[b.jsx("h3",{className:"text-lg font-semibold text-slate-900",children:"Rates"}),b.jsx("div",{className:"mt-4 grid gap-4 sm:grid-cols-2 lg:grid-cols-3",children:i.map(S=>{const z=S.premium_cents/100,x=Gm.format(z),U=S.quote_rate_id,Z=_[U]??"idle",el=Z==="loading",D=Z==="success",q=async()=>{s(dl=>({...dl,[U]:"loading"}));try{if(mi(),!Zn())throw new Error("Authentication required. Please verify your phone number first.");if(!((await Ym(S.quote_rate_id))?.success!==!1))throw new Error("Request failed");Dm(),If(),s(ll=>({...ll,[U]:"success"}))}catch{s(dl=>({...dl,[U]:"error"}))}};return b.jsxs("div",{className:"flex flex-col rounded-xl border border-slate-200 bg-white p-6 shadow-sm transition hover:shadow-md",children:[b.jsxs("div",{className:"mb-4 flex items-center gap-3",children:[S.carrier_logo_base64?b.jsx("img",{src:`data:image/png;base64,${S.carrier_logo_base64}`,alt:S.carrier_name,className:"h-12 w-auto object-contain"}):b.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-md bg-slate-100 text-sm font-semibold text-slate-500",children:S.carrier_name.charAt(0).toUpperCase()}),b.jsx("div",{className:"flex-1",children:b.jsx("h4",{className:"font-semibold text-slate-900",children:S.carrier_name})})]}),b.jsxs("div",{className:"mb-2",children:[b.jsx("p",{className:"text-sm text-slate-500",children:"Premium"}),b.jsx("p",{className:"text-2xl font-bold text-slate-900",children:x})]}),b.jsxs("div",{className:"mb-4",children:[b.jsx("p",{className:"text-sm text-slate-500",children:"Term"}),b.jsxs("p",{className:"font-medium text-slate-700",children:[S.term_months," months"]})]}),S.carrier_quote_id&&b.jsx("div",{className:"mb-4",children:b.jsxs("p",{className:"text-xs text-slate-400",children:["Quote ID: ",S.carrier_quote_id]})}),b.jsxs("div",{className:"mt-auto pt-4",children:[b.jsx("button",{type:"button",onClick:q,disabled:el||D,className:`w-full rounded-full px-4 py-2.5 text-sm font-semibold transition focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-600/40 ${D?"bg-emerald-500 text-white":"bg-blue-600 text-white hover:bg-blue-600/90 disabled:bg-slate-300 disabled:text-slate-500 disabled:cursor-not-allowed"}`,children:el?"Requesting…":D?"Requested":"Request Bind"}),Z==="error"&&b.jsx("p",{className:"mt-2 text-xs text-red-600",children:"Something went wrong. Please try again."}),Z==="success"&&b.jsx("p",{className:"mt-2 text-xs text-emerald-600",children:"We received your bind request."})]})]},U)})}),r&&b.jsx(Pf,{onBack:r})]}):b.jsxs("section",{className:"mt-8",children:[b.jsx("h3",{className:"text-lg font-semibold text-slate-900",children:"Rates"}),b.jsx("p",{className:"mt-2 text-sm text-slate-500",children:"No rates are available at this time."}),r&&b.jsx(Pf,{onBack:r})]})}function El(i){if(i===!0)return"Yes";if(i===!1)return"No"}function Tt(i){if(i)try{const r=typeof i=="string"?new Date(i):i;return isNaN(r.getTime())?void 0:r.toISOString().split("T")[0]}catch{return}}function Zm(i){const r={};i.phone&&(r.phone=i.phone),i.first_name&&(r.first_name=i.first_name),i.last_name&&(r.last_name=i.last_name),i.email&&(r.email=i.email),i.date_of_birth&&(r.date_of_birth=Tt(i.date_of_birth)),i.product&&(r.product=i.product),i.state&&(r.state=i.state);const h=[];i.line_1&&h.push(i.line_1),i.line_2&&h.push(i.line_2),i.city&&h.push(i.city),i.state&&h.push(i.state),i.postal_code&&h.push(i.postal_code),h.length>0&&(r.address=h.join(", ")),i.years_at_address!==null&&i.years_at_address!==void 0&&(r.years_at_address=i.years_at_address),i.months_at_address!==null&&i.months_at_address!==void 0&&(r.months_at_address=i.months_at_address),i.move_in_date&&(r.move_in_date=Tt(i.move_in_date));const _=[];return i.prior_line_1&&_.push(i.prior_line_1),i.prior_line_2&&_.push(i.prior_line_2),i.prior_city&&_.push(i.prior_city),i.prior_state&&_.push(i.prior_state),i.prior_postal_code&&_.push(i.prior_postal_code),_.length>0&&(r.prior_address=_.join(", ")),i.years_at_prior_address!==null&&i.years_at_prior_address!==void 0&&(r.years_at_prior_address=i.years_at_prior_address),i.auto_has_prior_insurance!==null&&i.auto_has_prior_insurance!==void 0&&(r.auto_has_prior_insurance=El(i.auto_has_prior_insurance)),i.auto_prior_expiration_date&&(r.auto_prior_expiration_date=Tt(i.auto_prior_expiration_date)),i.auto_prior_carrier_name&&(r.auto_prior_carrier_name=i.auto_prior_carrier_name),i.auto_prior_liability_limit&&(r.auto_prior_liability_limit=i.auto_prior_liability_limit),i.auto_reason_for_no_insurance&&(r.auto_reason_for_no_insurance=i.auto_reason_for_no_insurance),i.auto_prior_years!==null&&i.auto_prior_years!==void 0&&(r.auto_prior_years=i.auto_prior_years),i.auto_prior_months!==null&&i.auto_prior_months!==void 0&&(r.auto_prior_months=i.auto_prior_months),i.auto_continuous_coverage_years!==null&&i.auto_continuous_coverage_years!==void 0&&(r.auto_continuous_coverage_years=i.auto_continuous_coverage_years),i.auto_cancelled_declined_refused_to_renew!==null&&i.auto_cancelled_declined_refused_to_renew!==void 0&&(r.auto_cancelled_declined_refused_to_renew=El(i.auto_cancelled_declined_refused_to_renew)),i.home_has_prior_insurance!==null&&i.home_has_prior_insurance!==void 0&&(r.home_has_prior_insurance=El(i.home_has_prior_insurance)),i.home_prior_expiration_date&&(r.home_prior_expiration_date=Tt(i.home_prior_expiration_date)),i.home_prior_carrier_name&&(r.home_prior_carrier_name=i.home_prior_carrier_name),i.year_built!==null&&i.year_built!==void 0&&(r.year_built=i.year_built),i.number_of_units!==null&&i.number_of_units!==void 0&&(r.number_of_units=i.number_of_units),i.number_of_stories!==null&&i.number_of_stories!==void 0&&(r.number_of_stories=i.number_of_stories),i.number_of_beds!==null&&i.number_of_beds!==void 0&&(r.number_of_beds=i.number_of_beds),i.number_of_full_baths!==null&&i.number_of_full_baths!==void 0&&(r.number_of_full_baths=i.number_of_full_baths),i.number_of_partial_baths!==null&&i.number_of_partial_baths!==void 0&&(r.number_of_partial_baths=i.number_of_partial_baths),i.under_construction!==null&&i.under_construction!==void 0&&(r.under_construction=El(i.under_construction)),i.distance_from_fire_hydrant_ft&&(r.distance_from_fire_hydrant_ft=i.distance_from_fire_hydrant_ft),i.distance_from_fire_station_miles&&(r.distance_from_fire_station_miles=i.distance_from_fire_station_miles),i.architectural_style&&(r.architectural_style=i.architectural_style),i.dwelling_type&&(r.dwelling_type=i.dwelling_type),i.construction_quality&&(r.construction_quality=i.construction_quality),i.located_over_water!==null&&i.located_over_water!==void 0&&(r.located_over_water=i.located_over_water),i.construction_type&&(r.construction_type=i.construction_type),i.exterior_wall_type&&(r.exterior_wall_type=i.exterior_wall_type),i.foundation_type&&(r.foundation_type=i.foundation_type),i.roof_material_type&&(r.roof_material_type=i.roof_material_type),i.year_roof_updated!==null&&i.year_roof_updated!==void 0&&(r.year_roof_updated=i.year_roof_updated),i.heating_type&&(r.heating_type=i.heating_type),i.heating_fuel_type&&(r.heating_fuel_type=i.heating_fuel_type),i.number_of_fireplaces!==null&&i.number_of_fireplaces!==void 0&&(r.number_of_fireplaces=i.number_of_fireplaces),i.basement_type&&(r.basement_type=i.basement_type),i.parking_type&&(r.parking_type=i.parking_type),i.number_of_parking_spaces!==null&&i.number_of_parking_spaces!==void 0&&(r.number_of_parking_spaces=i.number_of_parking_spaces),i.plumbing_type&&(r.plumbing_type=i.plumbing_type),i.pool_type&&(r.pool_type=i.pool_type),i.total_area_sq_ft!==null&&i.total_area_sq_ft!==void 0&&(r.total_area_sq_ft=i.total_area_sq_ft),i.parcel_area_sq_ft!==null&&i.parcel_area_sq_ft!==void 0&&(r.parcel_area_sq_ft=i.parcel_area_sq_ft),i.residence_type&&(r.residence_type=i.residence_type),i.usage_type&&(r.usage_type=i.usage_type),i.household_size!==null&&i.household_size!==void 0&&(r.household_size=i.household_size),i.number_of_mortgagees!==null&&i.number_of_mortgagees!==void 0&&(r.number_of_mortgagees=i.number_of_mortgagees),i.has_dog!==null&&i.has_dog!==void 0&&(r.has_dog=El(i.has_dog)),i.dog_breed_type&&(r.dog_breed_type=i.dog_breed_type),i.number_of_dogs!==null&&i.number_of_dogs!==void 0&&(r.number_of_dogs=i.number_of_dogs),i.has_business_on_premises!==null&&i.has_business_on_premises!==void 0&&(r.has_business_on_premises=El(i.has_business_on_premises)),i.business_class&&(r.business_class=i.business_class),i.retiree_discount!==null&&i.retiree_discount!==void 0&&(r.retiree_discount=El(i.retiree_discount)),i.gated_community_discount!==null&&i.gated_community_discount!==void 0&&(r.gated_community_discount=El(i.gated_community_discount)),i.multi_policy_discount!==null&&i.multi_policy_discount!==void 0&&(r.multi_policy_discount=El(i.multi_policy_discount)),i.non_smoker_discount!==null&&i.non_smoker_discount!==void 0&&(r.non_smoker_discount=El(i.non_smoker_discount)),i.first_time_buyer_discount!==null&&i.first_time_buyer_discount!==void 0&&(r.first_time_buyer_discount=El(i.first_time_buyer_discount)),i.fire_detection_system!==null&&i.fire_detection_system!==void 0&&(r.fire_detection_system=El(i.fire_detection_system)),i.burglar_alarm_system!==null&&i.burglar_alarm_system!==void 0&&(r.burglar_alarm_system=El(i.burglar_alarm_system)),i.burglar_alarm_system_type&&(r.burglar_alarm_system_type=i.burglar_alarm_system_type),i.smoke_detectors!==null&&i.smoke_detectors!==void 0&&(r.smoke_detectors=El(i.smoke_detectors)),i.sprinkler_system!==null&&i.sprinkler_system!==void 0&&(r.sprinkler_system=El(i.sprinkler_system)),i.sprinkler_system_type&&(r.sprinkler_system_type=i.sprinkler_system_type),i.gas_leakage_detector!==null&&i.gas_leakage_detector!==void 0&&(r.gas_leakage_detector=El(i.gas_leakage_detector)),i.deadbolt_locks!==null&&i.deadbolt_locks!==void 0&&(r.deadbolt_locks=El(i.deadbolt_locks)),i.fire_extinguisher!==null&&i.fire_extinguisher!==void 0&&(r.fire_extinguisher=El(i.fire_extinguisher)),i.order_credit_authorized!==null&&i.order_credit_authorized!==void 0&&(r.order_credit_authorized=El(i.order_credit_authorized)),i.has_health_insurance_auto_accident!==null&&i.has_health_insurance_auto_accident!==void 0&&(r.has_health_insurance_auto_accident=El(i.has_health_insurance_auto_accident)),i.named_insured_foreclosure_repo_bankruptcy!==null&&i.named_insured_foreclosure_repo_bankruptcy!==void 0&&(r.named_insured_foreclosure_repo_bankruptcy=El(i.named_insured_foreclosure_repo_bankruptcy)),i.named_insured_convicted_insurance_fraud!==null&&i.named_insured_convicted_insurance_fraud!==void 0&&(r.named_insured_convicted_insurance_fraud=El(i.named_insured_convicted_insurance_fraud)),i.drivers&&i.drivers.length>0?(r.drivers="Yes",r.drivers__items=i.drivers.map(s=>{const S={};return s.first_name&&(S.first_name=s.first_name),s.last_name&&(S.last_name=s.last_name),s.date_of_birth&&(S.date_of_birth=Tt(s.date_of_birth)),s.gender&&(S.gender=s.gender),s.marital_status&&(S.marital_status=s.marital_status),s.relationship_to_insured&&(S.relationship_to_insured=s.relationship_to_insured),s.license_state&&(S.license_state=s.license_state),s.license_status&&(S.license_status=s.license_status),s.license_number&&(S.license_number=s.license_number),s.date_first_licensed&&(S.date_first_licensed=Tt(s.date_first_licensed)),s.education_level&&(S.education_level=s.education_level),s.occupation&&(S.occupation=s.occupation),s.industry&&(S.industry=s.industry),s.driver_violations&&s.driver_violations.length>0&&(S.driver_violations__items=s.driver_violations.map(z=>{const x={};return z.code&&(x.code=z.code),z.occurred_at&&(x.occurred_at=Tt(z.occurred_at)),x})),s.driver_accidents&&s.driver_accidents.length>0&&(S.driver_accidents__items=s.driver_accidents.map(z=>{const x={};return z.occurred_at&&(x.occurred_at=Tt(z.occurred_at)),z.description&&(x.description=z.description),z.quote_vehicle_id&&(x.quote_vehicle_id=z.quote_vehicle_id),z.property_damage_amount_paid_cents!==null&&z.property_damage_amount_paid_cents!==void 0&&(x.property_damage_amount_paid_cents=z.property_damage_amount_paid_cents),z.personal_injury_amount_paid_cents!==null&&z.personal_injury_amount_paid_cents!==void 0&&(x.personal_injury_amount_paid_cents=z.personal_injury_amount_paid_cents),x})),s.losses&&s.losses.length>0&&(S.losses=s.losses.map(z=>{const x={};return z.description&&(x.description=z.description),z.date_of_incident&&(x.date_of_incident=Tt(z.date_of_incident)),z.amount_paid_cents!==null&&z.amount_paid_cents!==void 0&&(x.amount_paid_cents=z.amount_paid_cents),z.quote_vehicle_id&&(x.quote_vehicle_id=z.quote_vehicle_id),x})),S})):r.drivers="No",i.vehicles&&i.vehicles.length>0?(r.vehicles="Yes",r.vehicles__items=i.vehicles.map(s=>{const S={};s.vin&&(S.vin=s.vin),s.year!==null&&s.year!==void 0&&(S.year=s.year),s.make&&(S.make=s.make),s.model&&(S.model=s.model),s.ownership_type&&(S.ownership_type=s.ownership_type),s.usage&&(S.usage=s.usage),s.annual_mileage!==null&&s.annual_mileage!==void 0&&(S.annual_mileage=s.annual_mileage),s.miles_to_work!==null&&s.miles_to_work!==void 0&&(S.miles_to_work=s.miles_to_work),s.percent_to_work!==null&&s.percent_to_work!==void 0&&(S.percent_to_work=s.percent_to_work);const z=[];return s.garaging_address_line_1&&z.push(s.garaging_address_line_1),s.garaging_address_line_2&&z.push(s.garaging_address_line_2),s.garaging_address_city&&z.push(s.garaging_address_city),s.garaging_address_state&&z.push(s.garaging_address_state),s.garaging_address_postal_code&&z.push(s.garaging_address_postal_code),z.length>0&&(S.garaging_address=z.join(", ")),s.anti_theft_type&&(S.anti_theft_type=s.anti_theft_type),s.passive_restraint_type&&(S.passive_restraint_type=s.passive_restraint_type),s.coverages&&s.coverages.length>0&&(S.coverages__items=s.coverages.map(x=>{const U={};return x.type&&(U.type=x.type),x.per_person_limit_cents!==null&&x.per_person_limit_cents!==void 0&&(U.per_person_limit_cents=x.per_person_limit_cents),x.per_incident_limit_cents!==null&&x.per_incident_limit_cents!==void 0&&(U.per_incident_limit_cents=x.per_incident_limit_cents),x.per_incident_limit_percent!==null&&x.per_incident_limit_percent!==void 0&&(U.per_incident_limit_percent=x.per_incident_limit_percent),x.per_day_limit_cents!==null&&x.per_day_limit_cents!==void 0&&(U.per_day_limit_cents=x.per_day_limit_cents),x.deductible_cents!==null&&x.deductible_cents!==void 0&&(U.deductible_cents=x.deductible_cents),x.is_declined!==null&&x.is_declined!==void 0&&(U.is_declined=El(x.is_declined)),U})),s.vehicle_lienholders&&s.vehicle_lienholders.length>0&&(S.vehicle_lienholders__items=s.vehicle_lienholders.map(x=>{const U={};return x.name&&(U.name=x.name),x.type&&(U.type=x.type),x.line_1&&(U.line_1=x.line_1),x.line_2&&(U.line_2=x.line_2),x.city&&(U.city=x.city),x.state&&(U.state=x.state),x.postal_code&&(U.postal_code=x.postal_code),x.phone&&(U.phone=x.phone),x.fax&&(U.fax=x.fax),U})),S})):r.vehicles="No",i.losses&&i.losses.length>0&&(r.home_losses__items=i.losses.map(s=>{const S={};return s.description&&(S.description=s.description),s.date_of_incident&&(S.date_of_incident=Tt(s.date_of_incident)),s.amount_paid_cents!==null&&s.amount_paid_cents!==void 0&&(S.amount_paid_cents=s.amount_paid_cents),S})),r}function _i(i){const r={},h=S=>{if(typeof S=="string"){if(S==="Yes")return!0;if(S==="No")return!1}return S},_=Object.keys(i).filter(S=>!S.includes("__items")),s=new Set;for(const[S,z]of Object.entries(i))S.endsWith("__items")&&Array.isArray(z)&&z.forEach(x=>{typeof x=="object"&&x!==null&&Object.keys(x).forEach(U=>{s.add(U)})});for(const[S,z]of Object.entries(i))if(S.endsWith("__items")){const x=S.replace("__items","");if(_.includes(x)){const Z=Array.isArray(z)?z.map(el=>_i(el)):z;r[x]=Z}}else S.includes("__items")||s.has(S)||(r[S]=h(z));return r}function Cm({isOpen:i,onClose:r}){const[h,_]=H.useState([]),[s,S]=H.useState(null),[z,x]=H.useState(null),[U,Z]=H.useState(null),[el,D]=H.useState(void 0);function q(fl){const $={SMSVerification:"Verify",AutoCurrentCarrier:"Current Auto Policy",HomeCurrentCarrier:"Current Home Policy"};return fl.map(ll=>({key:ll,title:$[ll]||ll,loadQuestions:async()=>(await jm(ll)).questions}))}H.useEffect(()=>{(async()=>{const{stages:$}=await hi();_(q($))})()},[]),H.useEffect(()=>{i&&(async()=>{try{const $=zm();if(mi(),$){S($);try{const ll=Zn(),zl=await Qm(ll?void 0:$);if(!zl||!zl.quote)throw new Error("Invalid response from getQuote: missing quote data");const{quote:B}=zl;try{const Q=Zm(B);Z(Q)}catch(Q){throw new Error(`Failed to transform quote data: ${Q instanceof Error?Q.message:"Unknown error"}`)}const{stages:k}=await hi(),j=q(k);if(_(j),B.current_stage){const Q=j.findIndex(V=>V.key===B.current_stage);Q>=0&&D(Q)}}catch(ll){ll.statusCode===404?($f(),S(null)):If()}}}catch{}})()},[i]),H.useEffect(()=>{if(!i)return;const{overflow:fl}=document.body.style;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=fl}},[i]);const dl=H.useCallback(fl=>{fl.key==="Escape"&&r()},[r]);return H.useEffect(()=>{if(i)return window.addEventListener("keydown",dl),()=>window.removeEventListener("keydown",dl)},[i,dl]),H.useEffect(()=>{i||Z(null)},[i]),i?b.jsxs("div",{className:"fixed inset-0 z-[9999] flex items-center justify-center",role:"dialog","aria-modal":"true","aria-labelledby":"insurance-modal-title",children:[b.jsx("div",{className:"backdrop",onClick:r}),b.jsxs("div",{className:"modal-panel relative w-full max-w-2xl flex flex-col max-h-[90vh] overflow-hidden",role:"document",children:[b.jsx("button",{onClick:r,className:"absolute top-4 right-4 text-slate-400 hover:text-slate-600 text-xl","aria-label":"Close",type:"button",children:"×"}),b.jsxs("div",{className:"text-center mb-6",children:[b.jsx("h2",{id:"insurance-modal-title",className:"h1-title",children:"Let's get you the best insurance rates."}),b.jsx("p",{className:"p-subtitle",children:"This should only take a few minutes."})]}),b.jsxs("div",{className:"panel-body flex-1 min-h-0 overflow-y-auto",children:[!z&&b.jsx(Tm,{stages:h,initialValues:U??void 0,initialActive:el!==void 0?el:U&&h.length>0?h.length-1:void 0,onStageComplete:async(fl,$)=>{try{const ll=_i(fl),{stages:zl}=await hi(),B=q(zl);_(B);const j=B.findIndex(P=>P.key===$)+1,V=(j<B.length?B[j]:null)?.key||$;if(s)if($==="SMSVerification"){const{isVerified:P,token:W}=await Rm(s,ll.sms_code);if(!P)throw new Error("Invalid SMS code");W&&Om(W),await Ya({current_stage:V},!1)}else if($==="State"){const{isSupported:P}=await Bm(ll.state);if(!P)throw new Error("State is not supported");const W=Zn();await Ya({...ll,current_stage:V},!1,W?void 0:s)}else{const P=Zn();await Ya({...ll,current_stage:V},!1,P?void 0:s||void 0)}else{const W=(await Um(ll.phone))?.quoteId;if(!W||typeof W!="string"||W.trim()==="")throw new Error(`Failed to create quote - invalid quoteId returned: ${W}`);S(W),Em(W),await Ya({current_stage:V},!1,W)}return{success:!0}}catch(ll){return{success:!1,error:ll instanceof Error?ll.message:"An error occurred"}}},onComplete:async fl=>{try{const $=_i(fl);if(!s)throw new Error("Quote ID is required");await Ya($,!0),Z(fl);const{rates:ll}=await Hm();return x(ll),{success:!0}}catch($){return{success:!1,error:$ instanceof Error?$.message:"An error occurred"}}}})," ",z&&s&&b.jsx(Xm,{rates:z,onBack:()=>x(null)})]})]})]}):null}function Vm({isOpen:i}){return b.jsx(Cm,{isOpen:i,onClose:()=>{Vn.close()}})}let It=null,Ga=null,Cn=!1;function Km(){It||(It=document.createElement("div"),It.id="insurance-widget-root",document.body.appendChild(It),Ga=Fd.createRoot(It))}function yi(){Km(),Ga.render(H.createElement(Vm,{isOpen:Cn}))}function wm(){Ga&&It&&(Ga.unmount(),It.remove()),Ga=null,It=null}const Vn={init:i=>{Cn=!!i?.autoOpen,yi()},open:()=>{Cn=!0,yi()},close:()=>{Cn=!1,yi()},destroy:wm};typeof window<"u"&&(window.CredifyInsuranceWidget=Vn),bt.CredifyInsuranceWidget=Vn,bt.default=Vn,Object.defineProperties(bt,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
|
|
272
34
|
//# sourceMappingURL=index.umd.js.map
|