sidenetai-sdk 1.0.1 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,25 +1,4 @@
1
- (function(Qa,ut){typeof exports=="object"&&typeof module<"u"?ut(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],ut):(Qa=typeof globalThis<"u"?globalThis:Qa||self,ut(Qa.SideNetAI={},Qa.React,Qa.ReactDOM))})(this,(function(Qa,ut,X2){"use strict";function OM(u){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(u){for(const d in u)if(d!=="default"){const m=Object.getOwnPropertyDescriptor(u,d);Object.defineProperty(r,d,m.get?m:{enumerable:!0,get:()=>u[d]})}}return r.default=u,Object.freeze(r)}const qe=OM(ut);function RM(u){return u&&u.__esModule&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u}var G0={exports:{}},Sp={};/**
2
- * @license React
3
- * react-jsx-runtime.production.js
4
- *
5
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var Q2;function wM(){if(Q2)return Sp;Q2=1;var u=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function d(m,v,T){var b=null;if(T!==void 0&&(b=""+T),v.key!==void 0&&(b=""+v.key),"key"in v){T={};for(var A in v)A!=="key"&&(T[A]=v[A])}else T=v;return v=T.ref,{$$typeof:u,type:m,key:b,ref:v!==void 0?v:null,props:T}}return Sp.Fragment=r,Sp.jsx=d,Sp.jsxs=d,Sp}var Tp={};/**
10
- * @license React
11
- * react-jsx-runtime.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 Z2;function UM(){return Z2||(Z2=1,process.env.NODE_ENV!=="production"&&(function(){function u(Y){if(Y==null)return null;if(typeof Y=="function")return Y.$$typeof===Qt?null:Y.displayName||Y.name||null;if(typeof Y=="string")return Y;switch(Y){case ot:return"Fragment";case dt:return"Profiler";case nt:return"StrictMode";case bt:return"Suspense";case Dt:return"SuspenseList";case yt: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 lt:return"Portal";case Tt:return Y.displayName||"Context";case ht:return(Y._context.displayName||"Context")+".Consumer";case St:var pt=Y.render;return Y=Y.displayName,Y||(Y=pt.displayName||pt.name||"",Y=Y!==""?"ForwardRef("+Y+")":"ForwardRef"),Y;case I:return pt=Y.displayName||null,pt!==null?pt:u(Y.type)||"Memo";case wt:pt=Y._payload,Y=Y._init;try{return u(Y(pt))}catch{}}return null}function r(Y){return""+Y}function d(Y){try{r(Y);var pt=!1}catch{pt=!0}if(pt){pt=console;var st=pt.error,ft=typeof Symbol=="function"&&Symbol.toStringTag&&Y[Symbol.toStringTag]||Y.constructor.name||"Object";return st.call(pt,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ft),r(Y)}}function m(Y){if(Y===ot)return"<>";if(typeof Y=="object"&&Y!==null&&Y.$$typeof===wt)return"<...>";try{var pt=u(Y);return pt?"<"+pt+">":"<...>"}catch{return"<...>"}}function v(){var Y=Bt.A;return Y===null?null:Y.getOwner()}function T(){return Error("react-stack-top-frame")}function b(Y){if(Vt.call(Y,"key")){var pt=Object.getOwnPropertyDescriptor(Y,"key").get;if(pt&&pt.isReactWarning)return!1}return Y.key!==void 0}function A(Y,pt){function st(){j||(j=!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)",pt))}st.isReactWarning=!0,Object.defineProperty(Y,"key",{get:st,configurable:!0})}function x(){var Y=u(this.type);return F[Y]||(F[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 z(Y,pt,st,ft,Ht,xe){var xt=st.ref;return Y={$$typeof:X,type:Y,key:pt,props:st,_owner:ft},(xt!==void 0?xt:null)!==null?Object.defineProperty(Y,"ref",{enumerable:!1,get:x}):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:Ht}),Object.defineProperty(Y,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:xe}),Object.freeze&&(Object.freeze(Y.props),Object.freeze(Y)),Y}function M(Y,pt,st,ft,Ht,xe){var xt=pt.children;if(xt!==void 0)if(ft)if(Lt(xt)){for(ft=0;ft<xt.length;ft++)O(xt[ft]);Object.freeze&&Object.freeze(xt)}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 O(xt);if(Vt.call(pt,"key")){xt=u(Y);var be=Object.keys(pt).filter(function(Kt){return Kt!=="key"});ft=0<be.length?"{key: someKey, "+be.join(": ..., ")+": ...}":"{key: someKey}",Mt[xt+ft]||(be=0<be.length?"{"+be.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
18
- let props = %s;
19
- <%s {...props} />
20
- React keys must be passed directly to JSX without using spread:
21
- let props = %s;
22
- <%s key={someKey} {...props} />`,ft,xt,be,xt),Mt[xt+ft]=!0)}if(xt=null,st!==void 0&&(d(st),xt=""+st),b(pt)&&(d(pt.key),xt=""+pt.key),"key"in pt){st={};for(var It in pt)It!=="key"&&(st[It]=pt[It])}else st=pt;return xt&&A(st,typeof Y=="function"?Y.displayName||Y.name||"Unknown":Y),z(Y,xt,st,v(),Ht,xe)}function O(Y){w(Y)?Y._store&&(Y._store.validated=1):typeof Y=="object"&&Y!==null&&Y.$$typeof===wt&&(Y._payload.status==="fulfilled"?w(Y._payload.value)&&Y._payload.value._store&&(Y._payload.value._store.validated=1):Y._store&&(Y._store.validated=1))}function w(Y){return typeof Y=="object"&&Y!==null&&Y.$$typeof===X}var Q=ut,X=Symbol.for("react.transitional.element"),lt=Symbol.for("react.portal"),ot=Symbol.for("react.fragment"),nt=Symbol.for("react.strict_mode"),dt=Symbol.for("react.profiler"),ht=Symbol.for("react.consumer"),Tt=Symbol.for("react.context"),St=Symbol.for("react.forward_ref"),bt=Symbol.for("react.suspense"),Dt=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),wt=Symbol.for("react.lazy"),yt=Symbol.for("react.activity"),Qt=Symbol.for("react.client.reference"),Bt=Q.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Vt=Object.prototype.hasOwnProperty,Lt=Array.isArray,Gt=console.createTask?console.createTask:function(){return null};Q={react_stack_bottom_frame:function(Y){return Y()}};var j,F={},k=Q.react_stack_bottom_frame.bind(Q,T)(),gt=Gt(m(T)),Mt={};Tp.Fragment=ot,Tp.jsx=function(Y,pt,st){var ft=1e4>Bt.recentlyCreatedOwnerStacks++;return M(Y,pt,st,!1,ft?Error("react-stack-top-frame"):k,ft?Gt(m(Y)):gt)},Tp.jsxs=function(Y,pt,st){var ft=1e4>Bt.recentlyCreatedOwnerStacks++;return M(Y,pt,st,!0,ft?Error("react-stack-top-frame"):k,ft?Gt(m(Y)):gt)}})()),Tp}var k2;function _M(){return k2||(k2=1,process.env.NODE_ENV==="production"?G0.exports=wM():G0.exports=UM()),G0.exports}var $=_M(),X0={exports:{}},Ap={},Q0={exports:{}},V1={};/**
1
+ (function(Xl,q){typeof exports=="object"&&typeof module<"u"?q(exports,require("react/jsx-runtime"),require("react"),require("react-dom"),require("clsx"),require("tailwind-merge"),require("framer-motion")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom","clsx","tailwind-merge","framer-motion"],q):(Xl=typeof globalThis<"u"?globalThis:Xl||self,q(Xl.SideNetAI={},Xl.jsxRuntime,Xl.React,Xl.ReactDOM,Xl.clsx,Xl.tailwindMerge,Xl.framerMotion))})(this,(function(Xl,q,ht,wb,rT,dT,Ti){"use strict";function hT(v){const U=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(v){for(const w in v)if(w!=="default"){const E=Object.getOwnPropertyDescriptor(v,w);Object.defineProperty(U,w,E.get?E:{enumerable:!0,get:()=>v[w]})}}return U.default=v,Object.freeze(U)}const ke=hT(ht);function mT(v){return v&&v.__esModule&&Object.prototype.hasOwnProperty.call(v,"default")?v.default:v}var zp={exports:{}},Tm={},Dp={exports:{}},Pv={};/**
23
2
  * @license React
24
3
  * scheduler.production.js
25
4
  *
@@ -27,7 +6,7 @@ React keys must be passed directly to JSX without using spread:
27
6
  *
28
7
  * This source code is licensed under the MIT license found in the
29
8
  * LICENSE file in the root directory of this source tree.
30
- */var J2;function NM(){return J2||(J2=1,(function(u){function r(j,F){var k=j.length;j.push(F);t:for(;0<k;){var gt=k-1>>>1,Mt=j[gt];if(0<v(Mt,F))j[gt]=F,j[k]=Mt,k=gt;else break t}}function d(j){return j.length===0?null:j[0]}function m(j){if(j.length===0)return null;var F=j[0],k=j.pop();if(k!==F){j[0]=k;t:for(var gt=0,Mt=j.length,Y=Mt>>>1;gt<Y;){var pt=2*(gt+1)-1,st=j[pt],ft=pt+1,Ht=j[ft];if(0>v(st,k))ft<Mt&&0>v(Ht,st)?(j[gt]=Ht,j[ft]=k,gt=ft):(j[gt]=st,j[pt]=k,gt=pt);else if(ft<Mt&&0>v(Ht,k))j[gt]=Ht,j[ft]=k,gt=ft;else break t}}return F}function v(j,F){var k=j.sortIndex-F.sortIndex;return k!==0?k:j.id-F.id}if(u.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var T=performance;u.unstable_now=function(){return T.now()}}else{var b=Date,A=b.now();u.unstable_now=function(){return b.now()-A}}var x=[],z=[],M=1,O=null,w=3,Q=!1,X=!1,lt=!1,ot=!1,nt=typeof setTimeout=="function"?setTimeout:null,dt=typeof clearTimeout=="function"?clearTimeout:null,ht=typeof setImmediate<"u"?setImmediate:null;function Tt(j){for(var F=d(z);F!==null;){if(F.callback===null)m(z);else if(F.startTime<=j)m(z),F.sortIndex=F.expirationTime,r(x,F);else break;F=d(z)}}function St(j){if(lt=!1,Tt(j),!X)if(d(x)!==null)X=!0,bt||(bt=!0,Bt());else{var F=d(z);F!==null&&Gt(St,F.startTime-j)}}var bt=!1,Dt=-1,I=5,wt=-1;function yt(){return ot?!0:!(u.unstable_now()-wt<I)}function Qt(){if(ot=!1,bt){var j=u.unstable_now();wt=j;var F=!0;try{t:{X=!1,lt&&(lt=!1,dt(Dt),Dt=-1),Q=!0;var k=w;try{e:{for(Tt(j),O=d(x);O!==null&&!(O.expirationTime>j&&yt());){var gt=O.callback;if(typeof gt=="function"){O.callback=null,w=O.priorityLevel;var Mt=gt(O.expirationTime<=j);if(j=u.unstable_now(),typeof Mt=="function"){O.callback=Mt,Tt(j),F=!0;break e}O===d(x)&&m(x),Tt(j)}else m(x);O=d(x)}if(O!==null)F=!0;else{var Y=d(z);Y!==null&&Gt(St,Y.startTime-j),F=!1}}break t}finally{O=null,w=k,Q=!1}F=void 0}}finally{F?Bt():bt=!1}}}var Bt;if(typeof ht=="function")Bt=function(){ht(Qt)};else if(typeof MessageChannel<"u"){var Vt=new MessageChannel,Lt=Vt.port2;Vt.port1.onmessage=Qt,Bt=function(){Lt.postMessage(null)}}else Bt=function(){nt(Qt,0)};function Gt(j,F){Dt=nt(function(){j(u.unstable_now())},F)}u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(j){j.callback=null},u.unstable_forceFrameRate=function(j){0>j||125<j?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<j?Math.floor(1e3/j):5},u.unstable_getCurrentPriorityLevel=function(){return w},u.unstable_next=function(j){switch(w){case 1:case 2:case 3:var F=3;break;default:F=w}var k=w;w=F;try{return j()}finally{w=k}},u.unstable_requestPaint=function(){ot=!0},u.unstable_runWithPriority=function(j,F){switch(j){case 1:case 2:case 3:case 4:case 5:break;default:j=3}var k=w;w=j;try{return F()}finally{w=k}},u.unstable_scheduleCallback=function(j,F,k){var gt=u.unstable_now();switch(typeof k=="object"&&k!==null?(k=k.delay,k=typeof k=="number"&&0<k?gt+k:gt):k=gt,j){case 1:var Mt=-1;break;case 2:Mt=250;break;case 5:Mt=1073741823;break;case 4:Mt=1e4;break;default:Mt=5e3}return Mt=k+Mt,j={id:M++,callback:F,priorityLevel:j,startTime:k,expirationTime:Mt,sortIndex:-1},k>gt?(j.sortIndex=k,r(z,j),d(x)===null&&j===d(z)&&(lt?(dt(Dt),Dt=-1):lt=!0,Gt(St,k-gt))):(j.sortIndex=Mt,r(x,j),X||Q||(X=!0,bt||(bt=!0,Bt()))),j},u.unstable_shouldYield=yt,u.unstable_wrapCallback=function(j){var F=w;return function(){var k=w;w=F;try{return j.apply(this,arguments)}finally{w=k}}}})(V1)),V1}var H1={};/**
9
+ */var qb;function yT(){return qb||(qb=1,(function(v){function U(C,L){var W=C.length;C.push(L);t:for(;0<W;){var it=W-1>>>1,Et=C[it];if(0<k(Et,L))C[it]=L,C[W]=Et,W=it;else break t}}function w(C){return C.length===0?null:C[0]}function E(C){if(C.length===0)return null;var L=C[0],W=C.pop();if(W!==L){C[0]=W;t:for(var it=0,Et=C.length,st=Et>>>1;it<st;){var mt=2*(it+1)-1,I=C[mt],et=mt+1,Yt=C[et];if(0>k(I,W))et<Et&&0>k(Yt,I)?(C[it]=Yt,C[et]=W,it=et):(C[it]=I,C[mt]=W,it=mt);else if(et<Et&&0>k(Yt,W))C[it]=Yt,C[et]=W,it=et;else break t}}return L}function k(C,L){var W=C.sortIndex-L.sortIndex;return W!==0?W:C.id-L.id}if(v.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var lt=performance;v.unstable_now=function(){return lt.now()}}else{var ut=Date,V=ut.now();v.unstable_now=function(){return ut.now()-V}}var tt=[],Ct=[],St=1,K=null,ct=3,_t=!1,ot=!1,wt=!1,Tt=!1,zt=typeof setTimeout=="function"?setTimeout:null,Wt=typeof clearTimeout=="function"?clearTimeout:null,he=typeof setImmediate<"u"?setImmediate:null;function me(C){for(var L=w(Ct);L!==null;){if(L.callback===null)E(Ct);else if(L.startTime<=C)E(Ct),L.sortIndex=L.expirationTime,U(tt,L);else break;L=w(Ct)}}function cl(C){if(wt=!1,me(C),!ot)if(w(tt)!==null)ot=!0,oe||(oe=!0,jt());else{var L=w(Ct);L!==null&&le(cl,L.startTime-C)}}var oe=!1,Ge=-1,vt=5,xe=-1;function at(){return Tt?!0:!(v.unstable_now()-xe<vt)}function ue(){if(Tt=!1,oe){var C=v.unstable_now();xe=C;var L=!0;try{t:{ot=!1,wt&&(wt=!1,Wt(Ge),Ge=-1),_t=!0;var W=ct;try{e:{for(me(C),K=w(tt);K!==null&&!(K.expirationTime>C&&at());){var it=K.callback;if(typeof it=="function"){K.callback=null,ct=K.priorityLevel;var Et=it(K.expirationTime<=C);if(C=v.unstable_now(),typeof Et=="function"){K.callback=Et,me(C),L=!0;break e}K===w(tt)&&E(tt),me(C)}else E(tt);K=w(tt)}if(K!==null)L=!0;else{var st=w(Ct);st!==null&&le(cl,st.startTime-C),L=!1}}break t}finally{K=null,ct=W,_t=!1}L=void 0}}finally{L?jt():oe=!1}}}var jt;if(typeof he=="function")jt=function(){he(ue)};else if(typeof MessageChannel<"u"){var Ht=new MessageChannel,qt=Ht.port2;Ht.port1.onmessage=ue,jt=function(){qt.postMessage(null)}}else jt=function(){zt(ue,0)};function le(C,L){Ge=zt(function(){C(v.unstable_now())},L)}v.unstable_IdlePriority=5,v.unstable_ImmediatePriority=1,v.unstable_LowPriority=4,v.unstable_NormalPriority=3,v.unstable_Profiling=null,v.unstable_UserBlockingPriority=2,v.unstable_cancelCallback=function(C){C.callback=null},v.unstable_forceFrameRate=function(C){0>C||125<C?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):vt=0<C?Math.floor(1e3/C):5},v.unstable_getCurrentPriorityLevel=function(){return ct},v.unstable_next=function(C){switch(ct){case 1:case 2:case 3:var L=3;break;default:L=ct}var W=ct;ct=L;try{return C()}finally{ct=W}},v.unstable_requestPaint=function(){Tt=!0},v.unstable_runWithPriority=function(C,L){switch(C){case 1:case 2:case 3:case 4:case 5:break;default:C=3}var W=ct;ct=C;try{return L()}finally{ct=W}},v.unstable_scheduleCallback=function(C,L,W){var it=v.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0<W?it+W:it):W=it,C){case 1:var Et=-1;break;case 2:Et=250;break;case 5:Et=1073741823;break;case 4:Et=1e4;break;default:Et=5e3}return Et=W+Et,C={id:St++,callback:L,priorityLevel:C,startTime:W,expirationTime:Et,sortIndex:-1},W>it?(C.sortIndex=W,U(Ct,C),w(tt)===null&&C===w(Ct)&&(wt?(Wt(Ge),Ge=-1):wt=!0,le(cl,W-it))):(C.sortIndex=Et,U(tt,C),ot||_t||(ot=!0,oe||(oe=!0,jt()))),C},v.unstable_shouldYield=at,v.unstable_wrapCallback=function(C){var L=ct;return function(){var W=ct;ct=L;try{return C.apply(this,arguments)}finally{ct=W}}}})(Pv)),Pv}var t1={};/**
31
10
  * @license React
32
11
  * scheduler.development.js
33
12
  *
@@ -35,7 +14,7 @@ React keys must be passed directly to JSX without using spread:
35
14
  *
36
15
  * This source code is licensed under the MIT license found in the
37
16
  * LICENSE file in the root directory of this source tree.
38
- */var K2;function jM(){return K2||(K2=1,(function(u){process.env.NODE_ENV!=="production"&&(function(){function r(){if(St=!1,wt){var j=u.unstable_now();Bt=j;var F=!0;try{t:{ht=!1,Tt&&(Tt=!1,Dt(yt),yt=-1),dt=!0;var k=nt;try{e:{for(b(j),ot=m(Q);ot!==null&&!(ot.expirationTime>j&&x());){var gt=ot.callback;if(typeof gt=="function"){ot.callback=null,nt=ot.priorityLevel;var Mt=gt(ot.expirationTime<=j);if(j=u.unstable_now(),typeof Mt=="function"){ot.callback=Mt,b(j),F=!0;break e}ot===m(Q)&&v(Q),b(j)}else v(Q);ot=m(Q)}if(ot!==null)F=!0;else{var Y=m(X);Y!==null&&z(A,Y.startTime-j),F=!1}}break t}finally{ot=null,nt=k,dt=!1}F=void 0}}finally{F?Vt():wt=!1}}}function d(j,F){var k=j.length;j.push(F);t:for(;0<k;){var gt=k-1>>>1,Mt=j[gt];if(0<T(Mt,F))j[gt]=F,j[k]=Mt,k=gt;else break t}}function m(j){return j.length===0?null:j[0]}function v(j){if(j.length===0)return null;var F=j[0],k=j.pop();if(k!==F){j[0]=k;t:for(var gt=0,Mt=j.length,Y=Mt>>>1;gt<Y;){var pt=2*(gt+1)-1,st=j[pt],ft=pt+1,Ht=j[ft];if(0>T(st,k))ft<Mt&&0>T(Ht,st)?(j[gt]=Ht,j[ft]=k,gt=ft):(j[gt]=st,j[pt]=k,gt=pt);else if(ft<Mt&&0>T(Ht,k))j[gt]=Ht,j[ft]=k,gt=ft;else break t}}return F}function T(j,F){var k=j.sortIndex-F.sortIndex;return k!==0?k:j.id-F.id}function b(j){for(var F=m(X);F!==null;){if(F.callback===null)v(X);else if(F.startTime<=j)v(X),F.sortIndex=F.expirationTime,d(Q,F);else break;F=m(X)}}function A(j){if(Tt=!1,b(j),!ht)if(m(Q)!==null)ht=!0,wt||(wt=!0,Vt());else{var F=m(X);F!==null&&z(A,F.startTime-j)}}function x(){return St?!0:!(u.unstable_now()-Bt<Qt)}function z(j,F){yt=bt(function(){j(u.unstable_now())},F)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),u.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var M=performance;u.unstable_now=function(){return M.now()}}else{var O=Date,w=O.now();u.unstable_now=function(){return O.now()-w}}var Q=[],X=[],lt=1,ot=null,nt=3,dt=!1,ht=!1,Tt=!1,St=!1,bt=typeof setTimeout=="function"?setTimeout:null,Dt=typeof clearTimeout=="function"?clearTimeout:null,I=typeof setImmediate<"u"?setImmediate:null,wt=!1,yt=-1,Qt=5,Bt=-1;if(typeof I=="function")var Vt=function(){I(r)};else if(typeof MessageChannel<"u"){var Lt=new MessageChannel,Gt=Lt.port2;Lt.port1.onmessage=r,Vt=function(){Gt.postMessage(null)}}else Vt=function(){bt(r,0)};u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(j){j.callback=null},u.unstable_forceFrameRate=function(j){0>j||125<j?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Qt=0<j?Math.floor(1e3/j):5},u.unstable_getCurrentPriorityLevel=function(){return nt},u.unstable_next=function(j){switch(nt){case 1:case 2:case 3:var F=3;break;default:F=nt}var k=nt;nt=F;try{return j()}finally{nt=k}},u.unstable_requestPaint=function(){St=!0},u.unstable_runWithPriority=function(j,F){switch(j){case 1:case 2:case 3:case 4:case 5:break;default:j=3}var k=nt;nt=j;try{return F()}finally{nt=k}},u.unstable_scheduleCallback=function(j,F,k){var gt=u.unstable_now();switch(typeof k=="object"&&k!==null?(k=k.delay,k=typeof k=="number"&&0<k?gt+k:gt):k=gt,j){case 1:var Mt=-1;break;case 2:Mt=250;break;case 5:Mt=1073741823;break;case 4:Mt=1e4;break;default:Mt=5e3}return Mt=k+Mt,j={id:lt++,callback:F,priorityLevel:j,startTime:k,expirationTime:Mt,sortIndex:-1},k>gt?(j.sortIndex=k,d(X,j),m(Q)===null&&j===m(X)&&(Tt?(Dt(yt),yt=-1):Tt=!0,z(A,k-gt))):(j.sortIndex=Mt,d(Q,j),ht||dt||(ht=!0,wt||(wt=!0,Vt()))),j},u.unstable_shouldYield=x,u.unstable_wrapCallback=function(j){var F=nt;return function(){var k=nt;nt=F;try{return j.apply(this,arguments)}finally{nt=k}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(H1)),H1}var $2;function F2(){return $2||($2=1,process.env.NODE_ENV==="production"?Q0.exports=NM():Q0.exports=jM()),Q0.exports}/**
17
+ */var Yb;function pT(){return Yb||(Yb=1,(function(v){process.env.NODE_ENV!=="production"&&(function(){function U(){if(cl=!1,xe){var C=v.unstable_now();jt=C;var L=!0;try{t:{he=!1,me&&(me=!1,Ge(at),at=-1),Wt=!0;var W=zt;try{e:{for(ut(C),Tt=E(_t);Tt!==null&&!(Tt.expirationTime>C&&tt());){var it=Tt.callback;if(typeof it=="function"){Tt.callback=null,zt=Tt.priorityLevel;var Et=it(Tt.expirationTime<=C);if(C=v.unstable_now(),typeof Et=="function"){Tt.callback=Et,ut(C),L=!0;break e}Tt===E(_t)&&k(_t),ut(C)}else k(_t);Tt=E(_t)}if(Tt!==null)L=!0;else{var st=E(ot);st!==null&&Ct(V,st.startTime-C),L=!1}}break t}finally{Tt=null,zt=W,Wt=!1}L=void 0}}finally{L?Ht():xe=!1}}}function w(C,L){var W=C.length;C.push(L);t:for(;0<W;){var it=W-1>>>1,Et=C[it];if(0<lt(Et,L))C[it]=L,C[W]=Et,W=it;else break t}}function E(C){return C.length===0?null:C[0]}function k(C){if(C.length===0)return null;var L=C[0],W=C.pop();if(W!==L){C[0]=W;t:for(var it=0,Et=C.length,st=Et>>>1;it<st;){var mt=2*(it+1)-1,I=C[mt],et=mt+1,Yt=C[et];if(0>lt(I,W))et<Et&&0>lt(Yt,I)?(C[it]=Yt,C[et]=W,it=et):(C[it]=I,C[mt]=W,it=mt);else if(et<Et&&0>lt(Yt,W))C[it]=Yt,C[et]=W,it=et;else break t}}return L}function lt(C,L){var W=C.sortIndex-L.sortIndex;return W!==0?W:C.id-L.id}function ut(C){for(var L=E(ot);L!==null;){if(L.callback===null)k(ot);else if(L.startTime<=C)k(ot),L.sortIndex=L.expirationTime,w(_t,L);else break;L=E(ot)}}function V(C){if(me=!1,ut(C),!he)if(E(_t)!==null)he=!0,xe||(xe=!0,Ht());else{var L=E(ot);L!==null&&Ct(V,L.startTime-C)}}function tt(){return cl?!0:!(v.unstable_now()-jt<ue)}function Ct(C,L){at=oe(function(){C(v.unstable_now())},L)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),v.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var St=performance;v.unstable_now=function(){return St.now()}}else{var K=Date,ct=K.now();v.unstable_now=function(){return K.now()-ct}}var _t=[],ot=[],wt=1,Tt=null,zt=3,Wt=!1,he=!1,me=!1,cl=!1,oe=typeof setTimeout=="function"?setTimeout:null,Ge=typeof clearTimeout=="function"?clearTimeout:null,vt=typeof setImmediate<"u"?setImmediate:null,xe=!1,at=-1,ue=5,jt=-1;if(typeof vt=="function")var Ht=function(){vt(U)};else if(typeof MessageChannel<"u"){var qt=new MessageChannel,le=qt.port2;qt.port1.onmessage=U,Ht=function(){le.postMessage(null)}}else Ht=function(){oe(U,0)};v.unstable_IdlePriority=5,v.unstable_ImmediatePriority=1,v.unstable_LowPriority=4,v.unstable_NormalPriority=3,v.unstable_Profiling=null,v.unstable_UserBlockingPriority=2,v.unstable_cancelCallback=function(C){C.callback=null},v.unstable_forceFrameRate=function(C){0>C||125<C?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ue=0<C?Math.floor(1e3/C):5},v.unstable_getCurrentPriorityLevel=function(){return zt},v.unstable_next=function(C){switch(zt){case 1:case 2:case 3:var L=3;break;default:L=zt}var W=zt;zt=L;try{return C()}finally{zt=W}},v.unstable_requestPaint=function(){cl=!0},v.unstable_runWithPriority=function(C,L){switch(C){case 1:case 2:case 3:case 4:case 5:break;default:C=3}var W=zt;zt=C;try{return L()}finally{zt=W}},v.unstable_scheduleCallback=function(C,L,W){var it=v.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0<W?it+W:it):W=it,C){case 1:var Et=-1;break;case 2:Et=250;break;case 5:Et=1073741823;break;case 4:Et=1e4;break;default:Et=5e3}return Et=W+Et,C={id:wt++,callback:L,priorityLevel:C,startTime:W,expirationTime:Et,sortIndex:-1},W>it?(C.sortIndex=W,w(ot,C),E(_t)===null&&C===E(ot)&&(me?(Ge(at),at=-1):me=!0,Ct(V,W-it))):(C.sortIndex=Et,w(_t,C),he||Wt||(he=!0,xe||(xe=!0,Ht()))),C},v.unstable_shouldYield=tt,v.unstable_wrapCallback=function(C){var L=zt;return function(){var W=zt;zt=L;try{return C.apply(this,arguments)}finally{zt=W}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(t1)),t1}var jb;function Gb(){return jb||(jb=1,process.env.NODE_ENV==="production"?Dp.exports=yT():Dp.exports=pT()),Dp.exports}/**
39
18
  * @license React
40
19
  * react-dom-client.production.js
41
20
  *
@@ -43,15 +22,15 @@ React keys must be passed directly to JSX without using spread:
43
22
  *
44
23
  * This source code is licensed under the MIT license found in the
45
24
  * LICENSE file in the root directory of this source tree.
46
- */var W2;function BM(){if(W2)return Ap;W2=1;var u=F2(),r=ut,d=X2;function m(n){var l="https://react.dev/errors/"+n;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)l+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+n+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function v(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function T(n){var l=n,i=n;if(n.alternate)for(;l.return;)l=l.return;else{n=l;do l=n,(l.flags&4098)!==0&&(i=l.return),n=l.return;while(n)}return l.tag===3?i:null}function b(n){if(n.tag===13){var l=n.memoizedState;if(l===null&&(n=n.alternate,n!==null&&(l=n.memoizedState)),l!==null)return l.dehydrated}return null}function A(n){if(n.tag===31){var l=n.memoizedState;if(l===null&&(n=n.alternate,n!==null&&(l=n.memoizedState)),l!==null)return l.dehydrated}return null}function x(n){if(T(n)!==n)throw Error(m(188))}function z(n){var l=n.alternate;if(!l){if(l=T(n),l===null)throw Error(m(188));return l!==n?null:n}for(var i=n,s=l;;){var h=i.return;if(h===null)break;var p=h.alternate;if(p===null){if(s=h.return,s!==null){i=s;continue}break}if(h.child===p.child){for(p=h.child;p;){if(p===i)return x(h),n;if(p===s)return x(h),l;p=p.sibling}throw Error(m(188))}if(i.return!==s.return)i=h,s=p;else{for(var S=!1,C=h.child;C;){if(C===i){S=!0,i=h,s=p;break}if(C===s){S=!0,s=h,i=p;break}C=C.sibling}if(!S){for(C=p.child;C;){if(C===i){S=!0,i=p,s=h;break}if(C===s){S=!0,s=p,i=h;break}C=C.sibling}if(!S)throw Error(m(189))}}if(i.alternate!==s)throw Error(m(190))}if(i.tag!==3)throw Error(m(188));return i.stateNode.current===i?n:l}function M(n){var l=n.tag;if(l===5||l===26||l===27||l===6)return n;for(n=n.child;n!==null;){if(l=M(n),l!==null)return l;n=n.sibling}return null}var O=Object.assign,w=Symbol.for("react.element"),Q=Symbol.for("react.transitional.element"),X=Symbol.for("react.portal"),lt=Symbol.for("react.fragment"),ot=Symbol.for("react.strict_mode"),nt=Symbol.for("react.profiler"),dt=Symbol.for("react.consumer"),ht=Symbol.for("react.context"),Tt=Symbol.for("react.forward_ref"),St=Symbol.for("react.suspense"),bt=Symbol.for("react.suspense_list"),Dt=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),wt=Symbol.for("react.activity"),yt=Symbol.for("react.memo_cache_sentinel"),Qt=Symbol.iterator;function Bt(n){return n===null||typeof n!="object"?null:(n=Qt&&n[Qt]||n["@@iterator"],typeof n=="function"?n:null)}var Vt=Symbol.for("react.client.reference");function Lt(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===Vt?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case lt:return"Fragment";case nt:return"Profiler";case ot:return"StrictMode";case St:return"Suspense";case bt:return"SuspenseList";case wt:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case X:return"Portal";case ht:return n.displayName||"Context";case dt:return(n._context.displayName||"Context")+".Consumer";case Tt:var l=n.render;return n=n.displayName,n||(n=l.displayName||l.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case Dt:return l=n.displayName||null,l!==null?l:Lt(n.type)||"Memo";case I:l=n._payload,n=n._init;try{return Lt(n(l))}catch{}}return null}var Gt=Array.isArray,j=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=d.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,k={pending:!1,data:null,method:null,action:null},gt=[],Mt=-1;function Y(n){return{current:n}}function pt(n){0>Mt||(n.current=gt[Mt],gt[Mt]=null,Mt--)}function st(n,l){Mt++,gt[Mt]=n.current,n.current=l}var ft=Y(null),Ht=Y(null),xe=Y(null),xt=Y(null);function be(n,l){switch(st(xe,l),st(Ht,n),st(ft,null),l.nodeType){case 9:case 11:n=(n=l.documentElement)&&(n=n.namespaceURI)?zb(n):0;break;default:if(n=l.tagName,l=l.namespaceURI)l=zb(l),n=Vg(l,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}pt(ft),st(ft,n)}function It(){pt(ft),pt(Ht),pt(xe)}function Kt(n){n.memoizedState!==null&&st(xt,n);var l=ft.current,i=Vg(l,n.type);l!==i&&(st(Ht,n),st(ft,i))}function mt(n){Ht.current===n&&(pt(ft),pt(Ht)),xt.current===n&&(pt(xt),od._currentValue=k)}var se,nn;function gi(n){if(se===void 0)try{throw Error()}catch(i){var l=i.stack.trim().match(/\n( *(at )?)/);se=l&&l[1]||"",nn=-1<i.stack.indexOf(`
47
- at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return`
48
- `+se+n+nn}var Lu=!1;function _e(n,l){if(!n||Lu)return"";Lu=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var s={DetermineComponentFrameRoot:function(){try{if(l){var rt=function(){throw Error()};if(Object.defineProperty(rt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(rt,[])}catch(tt){var J=tt}Reflect.construct(n,[],rt)}else{try{rt.call()}catch(tt){J=tt}n.call(rt.prototype)}}else{try{throw Error()}catch(tt){J=tt}(rt=n())&&typeof rt.catch=="function"&&rt.catch(function(){})}}catch(tt){if(tt&&J&&typeof tt.stack=="string")return[tt.stack,J.stack]}return[null,null]}};s.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var h=Object.getOwnPropertyDescriptor(s.DetermineComponentFrameRoot,"name");h&&h.configurable&&Object.defineProperty(s.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var p=s.DetermineComponentFrameRoot(),S=p[0],C=p[1];if(S&&C){var N=S.split(`
49
- `),Z=C.split(`
50
- `);for(h=s=0;s<N.length&&!N[s].includes("DetermineComponentFrameRoot");)s++;for(;h<Z.length&&!Z[h].includes("DetermineComponentFrameRoot");)h++;if(s===N.length||h===Z.length)for(s=N.length-1,h=Z.length-1;1<=s&&0<=h&&N[s]!==Z[h];)h--;for(;1<=s&&0<=h;s--,h--)if(N[s]!==Z[h]){if(s!==1||h!==1)do if(s--,h--,0>h||N[s]!==Z[h]){var et=`
51
- `+N[s].replace(" at new "," at ");return n.displayName&&et.includes("<anonymous>")&&(et=et.replace("<anonymous>",n.displayName)),et}while(1<=s&&0<=h);break}}}finally{Lu=!1,Error.prepareStackTrace=i}return(i=n?n.displayName||n.name:"")?gi(i):""}function Gp(n,l){switch(n.tag){case 26:case 27:case 5:return gi(n.type);case 16:return gi("Lazy");case 13:return n.child!==l&&l!==null?gi("Suspense Fallback"):gi("Suspense");case 19:return gi("SuspenseList");case 0:case 15:return _e(n.type,!1);case 11:return _e(n.type.render,!1);case 1:return _e(n.type,!0);case 31:return gi("Activity");default:return""}}function Fd(n){try{var l="",i=null;do l+=Gp(n,i),i=n,n=n.return;while(n);return l}catch(s){return`
52
- Error generating stack: `+s.message+`
53
- `+s.stack}}var Xp=Object.prototype.hasOwnProperty,Ye=u.unstable_scheduleCallback,Qp=u.unstable_cancelCallback,qu=u.unstable_shouldYield,Wd=u.unstable_requestPaint,In=u.unstable_now,yT=u.unstable_getCurrentPriorityLevel,Id=u.unstable_ImmediatePriority,Pd=u.unstable_UserBlockingPriority,Zo=u.unstable_NormalPriority,gT=u.unstable_LowPriority,Zp=u.unstable_IdlePriority,dv=u.log,hv=u.unstable_setDisableYieldValue,Yu=null,Na=null;function co(n){if(typeof dv=="function"&&hv(n),Na&&typeof Na.setStrictMode=="function")try{Na.setStrictMode(Yu,n)}catch{}}var ma=Math.clz32?Math.clz32:kp,mv=Math.log,pv=Math.LN2;function kp(n){return n>>>=0,n===0?32:31-(mv(n)/pv|0)|0}var fo=256,Bl=262144,ko=4194304;function vl(n){var l=n&42;if(l!==0)return l;switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function yn(n,l,i){var s=n.pendingLanes;if(s===0)return 0;var h=0,p=n.suspendedLanes,S=n.pingedLanes;n=n.warmLanes;var C=s&134217727;return C!==0?(s=C&~p,s!==0?h=vl(s):(S&=C,S!==0?h=vl(S):i||(i=C&~n,i!==0&&(h=vl(i))))):(C=s&~p,C!==0?h=vl(C):S!==0?h=vl(S):i||(i=s&~n,i!==0&&(h=vl(i)))),h===0?0:l!==0&&l!==h&&(l&p)===0&&(p=h&-h,i=l&-l,p>=i||p===32&&(i&4194048)!==0)?l:h}function Vl(n,l){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&l)===0}function ir(n,l){switch(n){case 1:case 2:case 4:case 8:case 64:return l+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 l+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 Gu(){var n=ko;return ko<<=1,(ko&62914560)===0&&(ko=4194304),n}function kc(n){for(var l=[],i=0;31>i;i++)l.push(n);return l}function or(n,l){n.pendingLanes|=l,l!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function th(n,l,i,s,h,p){var S=n.pendingLanes;n.pendingLanes=i,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=i,n.entangledLanes&=i,n.errorRecoveryDisabledLanes&=i,n.shellSuspendCounter=0;var C=n.entanglements,N=n.expirationTimes,Z=n.hiddenUpdates;for(i=S&~i;0<i;){var et=31-ma(i),rt=1<<et;C[et]=0,N[et]=-1;var J=Z[et];if(J!==null)for(Z[et]=null,et=0;et<J.length;et++){var tt=J[et];tt!==null&&(tt.lane&=-536870913)}i&=~rt}s!==0&&Jc(n,s,0),p!==0&&h===0&&n.tag!==0&&(n.suspendedLanes|=p&~(S&~l))}function Jc(n,l,i){n.pendingLanes|=l,n.suspendedLanes&=~l;var s=31-ma(l);n.entangledLanes|=l,n.entanglements[s]=n.entanglements[s]|1073741824|i&261930}function vi(n,l){var i=n.entangledLanes|=l;for(n=n.entanglements;i;){var s=31-ma(i),h=1<<s;h&l|n[s]&l&&(n[s]|=l),i&=~h}}function ka(n,l){var i=l&-l;return i=(i&42)!==0?1:eh(i),(i&(n.suspendedLanes|l))!==0?0:i}function eh(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=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:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function Jp(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function nh(){var n=F.p;return n!==0?n:(n=window.event,n===void 0?32:ud(n.type))}function Kp(n,l){var i=F.p;try{return F.p=n,l()}finally{F.p=i}}var Hl=Math.random().toString(36).slice(2),Ne="__reactFiber$"+Hl,pa="__reactProps$"+Hl,Jo="__reactContainer$"+Hl,ah="__reactEvents$"+Hl,$p="__reactListeners$"+Hl,yv="__reactHandles$"+Hl,Fp="__reactResources$"+Hl,bi="__reactMarker$"+Hl;function lh(n){delete n[Ne],delete n[pa],delete n[ah],delete n[$p],delete n[yv]}function Xu(n){var l=n[Ne];if(l)return l;for(var i=n.parentNode;i;){if(l=i[Jo]||i[Ne]){if(i=l.alternate,l.child!==null||i!==null&&i.child!==null)for(n=ii(n);n!==null;){if(i=n[Ne])return i;n=ii(n)}return l}n=i,i=n.parentNode}return null}function Qu(n){if(n=n[Ne]||n[Jo]){var l=n.tag;if(l===5||l===6||l===13||l===31||l===26||l===27||l===3)return n}return null}function ur(n){var l=n.tag;if(l===5||l===26||l===27||l===6)return n.stateNode;throw Error(m(33))}function Zu(n){var l=n[Fp];return l||(l=n[Fp]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function ze(n){n[bi]=!0}var ku=new Set,Ko={};function $o(n,l){Si(n,l),Si(n+"Capture",l)}function Si(n,l){for(Ko[n]=l,n=0;n<l.length;n++)ku.add(l[n])}var ih=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]*$"),oh={},sr={};function rr(n){return Xp.call(sr,n)?!0:Xp.call(oh,n)?!1:ih.test(n)?sr[n]=!0:(oh[n]=!0,!1)}function cr(n,l,i){if(rr(l))if(i===null)n.removeAttribute(l);else{switch(typeof i){case"undefined":case"function":case"symbol":n.removeAttribute(l);return;case"boolean":var s=l.toLowerCase().slice(0,5);if(s!=="data-"&&s!=="aria-"){n.removeAttribute(l);return}}n.setAttribute(l,""+i)}}function uh(n,l,i){if(i===null)n.removeAttribute(l);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(l);return}n.setAttribute(l,""+i)}}function ho(n,l,i,s){if(s===null)n.removeAttribute(i);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(i);return}n.setAttributeNS(l,i,""+s)}}function Ja(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function sh(n){var l=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function Wp(n,l,i){var s=Object.getOwnPropertyDescriptor(n.constructor.prototype,l);if(!n.hasOwnProperty(l)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var h=s.get,p=s.set;return Object.defineProperty(n,l,{configurable:!0,get:function(){return h.call(this)},set:function(S){i=""+S,p.call(this,S)}}),Object.defineProperty(n,l,{enumerable:s.enumerable}),{getValue:function(){return i},setValue:function(S){i=""+S},stopTracking:function(){n._valueTracker=null,delete n[l]}}}}function rh(n){if(!n._valueTracker){var l=sh(n)?"checked":"value";n._valueTracker=Wp(n,l,""+n[l])}}function Ip(n){if(!n)return!1;var l=n._valueTracker;if(!l)return!0;var i=l.getValue(),s="";return n&&(s=sh(n)?n.checked?"true":"false":n.value),n=s,n!==i?(l.setValue(n),!0):!1}function Kc(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var vT=/[\n"\\]/g;function Ka(n){return n.replace(vT,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function $c(n,l,i,s,h,p,S,C){n.name="",S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?n.type=S:n.removeAttribute("type"),l!=null?S==="number"?(l===0&&n.value===""||n.value!=l)&&(n.value=""+Ja(l)):n.value!==""+Ja(l)&&(n.value=""+Ja(l)):S!=="submit"&&S!=="reset"||n.removeAttribute("value"),l!=null?Ju(n,S,Ja(l)):i!=null?Ju(n,S,Ja(i)):s!=null&&n.removeAttribute("value"),h==null&&p!=null&&(n.defaultChecked=!!p),h!=null&&(n.checked=h&&typeof h!="function"&&typeof h!="symbol"),C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"?n.name=""+Ja(C):n.removeAttribute("name")}function Fc(n,l,i,s,h,p,S,C){if(p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(n.type=p),l!=null||i!=null){if(!(p!=="submit"&&p!=="reset"||l!=null)){rh(n);return}i=i!=null?""+Ja(i):"",l=l!=null?""+Ja(l):i,C||l===n.value||(n.value=l),n.defaultValue=l}s=s??h,s=typeof s!="function"&&typeof s!="symbol"&&!!s,n.checked=C?n.checked:!!s,n.defaultChecked=!!s,S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"&&(n.name=S),rh(n)}function Ju(n,l,i){l==="number"&&Kc(n.ownerDocument)===n||n.defaultValue===""+i||(n.defaultValue=""+i)}function fr(n,l,i,s){if(n=n.options,l){l={};for(var h=0;h<i.length;h++)l["$"+i[h]]=!0;for(i=0;i<n.length;i++)h=l.hasOwnProperty("$"+n[i].value),n[i].selected!==h&&(n[i].selected=h),h&&s&&(n[i].defaultSelected=!0)}else{for(i=""+Ja(i),l=null,h=0;h<n.length;h++){if(n[h].value===i){n[h].selected=!0,s&&(n[h].defaultSelected=!0);return}l!==null||n[h].disabled||(l=n[h])}l!==null&&(l.selected=!0)}}function Pp(n,l,i){if(l!=null&&(l=""+Ja(l),l!==n.value&&(n.value=l),i==null)){n.defaultValue!==l&&(n.defaultValue=l);return}n.defaultValue=i!=null?""+Ja(i):""}function ty(n,l,i,s){if(l==null){if(s!=null){if(i!=null)throw Error(m(92));if(Gt(s)){if(1<s.length)throw Error(m(93));s=s[0]}i=s}i==null&&(i=""),l=i}i=Ja(l),n.defaultValue=i,s=n.textContent,s===i&&s!==""&&s!==null&&(n.value=s),rh(n)}function Ti(n,l){if(l){var i=n.firstChild;if(i&&i===n.lastChild&&i.nodeType===3){i.nodeValue=l;return}}n.textContent=l}var gv=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 vv(n,l,i){var s=l.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?s?n.setProperty(l,""):l==="float"?n.cssFloat="":n[l]="":s?n.setProperty(l,i):typeof i!="number"||i===0||gv.has(l)?l==="float"?n.cssFloat=i:n[l]=(""+i).trim():n[l]=i+"px"}function bv(n,l,i){if(l!=null&&typeof l!="object")throw Error(m(62));if(n=n.style,i!=null){for(var s in i)!i.hasOwnProperty(s)||l!=null&&l.hasOwnProperty(s)||(s.indexOf("--")===0?n.setProperty(s,""):s==="float"?n.cssFloat="":n[s]="");for(var h in l)s=l[h],l.hasOwnProperty(h)&&i[h]!==s&&vv(n,h,s)}else for(var p in l)l.hasOwnProperty(p)&&vv(n,p,l[p])}function ey(n){if(n.indexOf("-")===-1)return!1;switch(n){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 bT=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"]]),Wc=/^[\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 bl(n){return Wc.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function Ll(){}var ch=null;function fh(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var Ai=null,Ku=null;function Ic(n){var l=Qu(n);if(l&&(n=l.stateNode)){var i=n[pa]||null;t:switch(n=l.stateNode,l.type){case"input":if($c(n,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),l=i.name,i.type==="radio"&&l!=null){for(i=n;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+Ka(""+l)+'"][type="radio"]'),l=0;l<i.length;l++){var s=i[l];if(s!==n&&s.form===n.form){var h=s[pa]||null;if(!h)throw Error(m(90));$c(s,h.value,h.defaultValue,h.defaultValue,h.checked,h.defaultChecked,h.type,h.name)}}for(l=0;l<i.length;l++)s=i[l],s.form===n.form&&Ip(s)}break t;case"textarea":Pp(n,i.value,i.defaultValue);break t;case"select":l=i.value,l!=null&&fr(n,!!i.multiple,l,!1)}}}var dr=!1;function ny(n,l,i){if(dr)return n(l,i);dr=!0;try{var s=n(l);return s}finally{if(dr=!1,(Ai!==null||Ku!==null)&&(Kr(),Ai&&(l=Ai,n=Ku,Ku=Ai=null,Ic(l),n)))for(l=0;l<n.length;l++)Ic(n[l])}}function Bn(n,l){var i=n.stateNode;if(i===null)return null;var s=i[pa]||null;if(s===null)return null;i=s[l];t:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(s=!s.disabled)||(n=n.type,s=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!s;break t;default:n=!1}if(n)return null;if(i&&typeof i!="function")throw Error(m(231,l,typeof i));return i}var mo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Pc=!1;if(mo)try{var hr={};Object.defineProperty(hr,"passive",{get:function(){Pc=!0}}),window.addEventListener("test",hr,hr),window.removeEventListener("test",hr,hr)}catch{Pc=!1}var po=null,ay=null,dh=null;function ly(){if(dh)return dh;var n,l=ay,i=l.length,s,h="value"in po?po.value:po.textContent,p=h.length;for(n=0;n<i&&l[n]===h[n];n++);var S=i-n;for(s=1;s<=S&&l[i-s]===h[p-s];s++);return dh=h.slice(n,1<s?1-s:void 0)}function hh(n){var l=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&l===13&&(n=13)):n=l,n===10&&(n=13),32<=n||n===13?n:0}function tf(){return!0}function Sv(){return!1}function Pn(n){function l(i,s,h,p,S){this._reactName=i,this._targetInst=h,this.type=s,this.nativeEvent=p,this.target=S,this.currentTarget=null;for(var C in n)n.hasOwnProperty(C)&&(i=n[C],this[C]=i?i(p):p[C]);return this.isDefaultPrevented=(p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1)?tf:Sv,this.isPropagationStopped=Sv,this}return O(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=tf)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=tf)},persist:function(){},isPersistent:tf}),l}var Fo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ef=Pn(Fo),mr=O({},Fo,{view:0,detail:0}),ST=Pn(mr),iy,oy,nf,mh=O({},mr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Sl,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==nf&&(nf&&n.type==="mousemove"?(iy=n.screenX-nf.screenX,oy=n.screenY-nf.screenY):oy=iy=0,nf=n),iy)},movementY:function(n){return"movementY"in n?n.movementY:oy}}),pr=Pn(mh),Tv=O({},mh,{dataTransfer:0}),Av=Pn(Tv),Ev=O({},mr,{relatedTarget:0}),ph=Pn(Ev),uy=O({},Fo,{animationName:0,elapsedTime:0,pseudoElement:0}),xv=Pn(uy),$u=O({},Fo,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),Fu=Pn($u),ql=O({},Fo,{data:0}),Dv=Pn(ql),sy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ei={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"},Cv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Yl(n){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(n):(n=Cv[n])?!!l[n]:!1}function Sl(){return Yl}var yh=O({},mr,{key:function(n){if(n.key){var l=sy[n.key]||n.key;if(l!=="Unidentified")return l}return n.type==="keypress"?(n=hh(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Ei[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Sl,charCode:function(n){return n.type==="keypress"?hh(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?hh(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),gh=Pn(yh),ry=O({},mh,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Gl=Pn(ry),TT=O({},mr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Sl}),Mv=Pn(TT),zv=O({},Fo,{propertyName:0,elapsedTime:0,pseudoElement:0}),AT=Pn(zv),cy=O({},mh,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),ET=Pn(cy),Ov=O({},Fo,{newState:0,oldState:0}),fy=Pn(Ov),vh=[9,13,27,32],yr=mo&&"CompositionEvent"in window,Wu=null;mo&&"documentMode"in document&&(Wu=document.documentMode);var ia=mo&&"TextEvent"in window&&!Wu,dy=mo&&(!yr||Wu&&8<Wu&&11>=Wu),af=" ",Wo=!1;function bh(n,l){switch(n){case"keyup":return vh.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function hy(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Iu=!1;function Rv(n,l){switch(n){case"compositionend":return hy(l);case"keypress":return l.which!==32?null:(Wo=!0,af);case"textInput":return n=l.data,n===af&&Wo?null:n;default:return null}}function xT(n,l){if(Iu)return n==="compositionend"||!yr&&bh(n,l)?(n=ly(),dh=ay=po=null,Iu=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return dy&&l.locale!=="ko"?null:l.data;default:return null}}var my={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 xi(n){var l=n&&n.nodeName&&n.nodeName.toLowerCase();return l==="input"?!!my[n.type]:l==="textarea"}function py(n,l,i,s){Ai?Ku?Ku.push(s):Ku=[s]:Ai=s,l=td(l,"onChange"),0<l.length&&(i=new ef("onChange","change",null,i,s),n.push({event:i,listeners:l}))}var Pu=null,Io=null;function ts(n){Db(n,0)}function gr(n){var l=ur(n);if(Ip(l))return n}function yy(n,l){if(n==="change")return l}var Sh=!1;if(mo){var ya;if(mo){var Xl="oninput"in document;if(!Xl){var gy=document.createElement("div");gy.setAttribute("oninput","return;"),Xl=typeof gy.oninput=="function"}ya=Xl}else ya=!1;Sh=ya&&(!document.documentMode||9<document.documentMode)}function Th(){Pu&&(Pu.detachEvent("onpropertychange",Ah),Io=Pu=null)}function Ah(n){if(n.propertyName==="value"&&gr(Io)){var l=[];py(l,Io,n,fh(n)),ny(ts,l)}}function wv(n,l,i){n==="focusin"?(Th(),Pu=l,Io=i,Pu.attachEvent("onpropertychange",Ah)):n==="focusout"&&Th()}function Uv(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return gr(Io)}function Po(n,l){if(n==="click")return gr(l)}function es(n,l){if(n==="input"||n==="change")return gr(l)}function _v(n,l){return n===l&&(n!==0||1/n===1/l)||n!==n&&l!==l}var oa=typeof Object.is=="function"?Object.is:_v;function Tl(n,l){if(oa(n,l))return!0;if(typeof n!="object"||n===null||typeof l!="object"||l===null)return!1;var i=Object.keys(n),s=Object.keys(l);if(i.length!==s.length)return!1;for(s=0;s<i.length;s++){var h=i[s];if(!Xp.call(l,h)||!oa(n[h],l[h]))return!1}return!0}function vy(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function by(n,l){var i=vy(n);n=0;for(var s;i;){if(i.nodeType===3){if(s=n+i.textContent.length,n<=l&&s>=l)return{node:i,offset:l-n};n=s}t:{for(;i;){if(i.nextSibling){i=i.nextSibling;break t}i=i.parentNode}i=void 0}i=vy(i)}}function ns(n,l){return n&&l?n===l?!0:n&&n.nodeType===3?!1:l&&l.nodeType===3?ns(n,l.parentNode):"contains"in n?n.contains(l):n.compareDocumentPosition?!!(n.compareDocumentPosition(l)&16):!1:!1}function tu(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var l=Kc(n.document);l instanceof n.HTMLIFrameElement;){try{var i=typeof l.contentWindow.location.href=="string"}catch{i=!1}if(i)n=l.contentWindow;else break;l=Kc(n.document)}return l}function lf(n){var l=n&&n.nodeName&&n.nodeName.toLowerCase();return l&&(l==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||l==="textarea"||n.contentEditable==="true")}var of=mo&&"documentMode"in document&&11>=document.documentMode,eu=null,vr=null,Al=null,Ql=!1;function Eh(n,l,i){var s=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Ql||eu==null||eu!==Kc(s)||(s=eu,"selectionStart"in s&&lf(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),Al&&Tl(Al,s)||(Al=s,s=td(vr,"onSelect"),0<s.length&&(l=new ef("onSelect","select",null,l,i),n.push({event:l,listeners:s}),l.target=eu)))}function yo(n,l){var i={};return i[n.toLowerCase()]=l.toLowerCase(),i["Webkit"+n]="webkit"+l,i["Moz"+n]="moz"+l,i}var Zl={animationend:yo("Animation","AnimationEnd"),animationiteration:yo("Animation","AnimationIteration"),animationstart:yo("Animation","AnimationStart"),transitionrun:yo("Transition","TransitionRun"),transitionstart:yo("Transition","TransitionStart"),transitioncancel:yo("Transition","TransitionCancel"),transitionend:yo("Transition","TransitionEnd")},br={},nu={};mo&&(nu=document.createElement("div").style,"AnimationEvent"in window||(delete Zl.animationend.animation,delete Zl.animationiteration.animation,delete Zl.animationstart.animation),"TransitionEvent"in window||delete Zl.transitionend.transition);function De(n){if(br[n])return br[n];if(!Zl[n])return n;var l=Zl[n],i;for(i in l)if(l.hasOwnProperty(i)&&i in nu)return br[n]=l[i];return n}var uf=De("animationend"),Sy=De("animationiteration"),xh=De("animationstart"),as=De("transitionrun"),sf=De("transitionstart"),Di=De("transitioncancel"),Nv=De("transitionend"),Ci=new Map,Sr="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(" ");Sr.push("scrollEnd");function ga(n,l){Ci.set(n,l),$o(l,[n])}var ls=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},$e=[],Vn=0,El=0;function $a(){for(var n=Vn,l=El=Vn=0;l<n;){var i=$e[l];$e[l++]=null;var s=$e[l];$e[l++]=null;var h=$e[l];$e[l++]=null;var p=$e[l];if($e[l++]=null,s!==null&&h!==null){var S=s.pending;S===null?h.next=h:(h.next=S.next,S.next=h),s.pending=h}p!==0&&Dh(i,h,p)}}function Fa(n,l,i,s){$e[Vn++]=n,$e[Vn++]=l,$e[Vn++]=i,$e[Vn++]=s,El|=s,n.lanes|=s,n=n.alternate,n!==null&&(n.lanes|=s)}function xl(n,l,i,s){return Fa(n,l,i,s),rf(n)}function go(n,l){return Fa(n,null,null,l),rf(n)}function Dh(n,l,i){n.lanes|=i;var s=n.alternate;s!==null&&(s.lanes|=i);for(var h=!1,p=n.return;p!==null;)p.childLanes|=i,s=p.alternate,s!==null&&(s.childLanes|=i),p.tag===22&&(n=p.stateNode,n===null||n._visibility&1||(h=!0)),n=p,p=p.return;return n.tag===3?(p=n.stateNode,h&&l!==null&&(h=31-ma(i),n=p.hiddenUpdates,s=n[h],s===null?n[h]=[l]:s.push(l),l.lane=i|536870912),p):null}function rf(n){if(50<Jr)throw Jr=0,Zf=null,Error(m(185));for(var l=n.return;l!==null;)n=l,l=n.return;return n.tag===3?n.stateNode:null}var va={};function jv(n,l,i,s){this.tag=n,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=l,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function rn(n,l,i,s){return new jv(n,l,i,s)}function is(n){return n=n.prototype,!(!n||!n.isReactComponent)}function vo(n,l){var i=n.alternate;return i===null?(i=rn(n.tag,l,n.key,n.mode),i.elementType=n.elementType,i.type=n.type,i.stateNode=n.stateNode,i.alternate=n,n.alternate=i):(i.pendingProps=l,i.type=n.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=n.flags&65011712,i.childLanes=n.childLanes,i.lanes=n.lanes,i.child=n.child,i.memoizedProps=n.memoizedProps,i.memoizedState=n.memoizedState,i.updateQueue=n.updateQueue,l=n.dependencies,i.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},i.sibling=n.sibling,i.index=n.index,i.ref=n.ref,i.refCleanup=n.refCleanup,i}function Ty(n,l){n.flags&=65011714;var i=n.alternate;return i===null?(n.childLanes=0,n.lanes=l,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=i.childLanes,n.lanes=i.lanes,n.child=i.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=i.memoizedProps,n.memoizedState=i.memoizedState,n.updateQueue=i.updateQueue,n.type=i.type,l=i.dependencies,n.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),n}function Ch(n,l,i,s,h,p){var S=0;if(s=n,typeof n=="function")is(n)&&(S=1);else if(typeof n=="string")S=Qg(n,i,ft.current)?26:n==="html"||n==="head"||n==="body"?27:5;else t:switch(n){case wt:return n=rn(31,i,l,h),n.elementType=wt,n.lanes=p,n;case lt:return bo(i.children,h,p,l);case ot:S=8,h|=24;break;case nt:return n=rn(12,i,l,h|2),n.elementType=nt,n.lanes=p,n;case St:return n=rn(13,i,l,h),n.elementType=St,n.lanes=p,n;case bt:return n=rn(19,i,l,h),n.elementType=bt,n.lanes=p,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case ht:S=10;break t;case dt:S=9;break t;case Tt:S=11;break t;case Dt:S=14;break t;case I:S=16,s=null;break t}S=29,i=Error(m(130,n===null?"null":typeof n,"")),s=null}return l=rn(S,i,l,h),l.elementType=n,l.type=s,l.lanes=p,l}function bo(n,l,i,s){return n=rn(7,n,s,l),n.lanes=i,n}function Tr(n,l,i){return n=rn(6,n,null,l),n.lanes=i,n}function Ay(n){var l=rn(18,null,null,0);return l.stateNode=n,l}function Mh(n,l,i){return l=rn(4,n.children!==null?n.children:[],n.key,l),l.lanes=i,l.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},l}var Ey=new WeakMap;function Wa(n,l){if(typeof n=="object"&&n!==null){var i=Ey.get(n);return i!==void 0?i:(l={value:n,source:l,stack:Fd(l)},Ey.set(n,l),l)}return{value:n,source:l,stack:Fd(l)}}var Ia=[],os=0,cf=null,gn=0,ja=[],ba=0,kl=null,Ba=1,Jl="";function Dl(n,l){Ia[os++]=gn,Ia[os++]=cf,cf=n,gn=l}function xy(n,l,i){ja[ba++]=Ba,ja[ba++]=Jl,ja[ba++]=kl,kl=n;var s=Ba;n=Jl;var h=32-ma(s)-1;s&=~(1<<h),i+=1;var p=32-ma(l)+h;if(30<p){var S=h-h%5;p=(s&(1<<S)-1).toString(32),s>>=S,h-=S,Ba=1<<32-ma(l)+h|i<<h|s,Jl=p+n}else Ba=1<<p|i<<h|s,Jl=n}function Ar(n){n.return!==null&&(Dl(n,1),xy(n,1,0))}function zh(n){for(;n===cf;)cf=Ia[--os],Ia[os]=null,gn=Ia[--os],Ia[os]=null;for(;n===kl;)kl=ja[--ba],ja[ba]=null,Jl=ja[--ba],ja[ba]=null,Ba=ja[--ba],ja[ba]=null}function ff(n,l){ja[ba++]=Ba,ja[ba++]=Jl,ja[ba++]=kl,Ba=l.id,Jl=l.overflow,kl=n}var Hn=null,Ge=null,he=!1,Mi=null,zn=!1,zi=Error(m(519));function Cl(n){var l=Error(m(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw xr(Wa(l,n)),zi}function df(n){var l=n.stateNode,i=n.type,s=n.memoizedProps;switch(l[Ne]=n,l[pa]=s,i){case"dialog":fe("cancel",l),fe("close",l);break;case"iframe":case"object":case"embed":fe("load",l);break;case"video":case"audio":for(i=0;i<Pr.length;i++)fe(Pr[i],l);break;case"source":fe("error",l);break;case"img":case"image":case"link":fe("error",l),fe("load",l);break;case"details":fe("toggle",l);break;case"input":fe("invalid",l),Fc(l,s.value,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name,!0);break;case"select":fe("invalid",l);break;case"textarea":fe("invalid",l),ty(l,s.value,s.defaultValue,s.children)}i=s.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||l.textContent===""+i||s.suppressHydrationWarning===!0||_g(l.textContent,i)?(s.popover!=null&&(fe("beforetoggle",l),fe("toggle",l)),s.onScroll!=null&&fe("scroll",l),s.onScrollEnd!=null&&fe("scrollend",l),s.onClick!=null&&(l.onclick=Ll),l=!0):l=!1,l||Cl(n,!0)}function Er(n){for(Hn=n.return;Hn;)switch(Hn.tag){case 5:case 31:case 13:zn=!1;return;case 27:case 3:zn=!0;return;default:Hn=Hn.return}}function Oi(n){if(n!==Hn)return!1;if(!he)return Er(n),he=!0,!1;var l=n.tag,i;if((i=l!==3&&l!==27)&&((i=l===5)&&(i=n.type,i=!(i!=="form"&&i!=="button")||ec(n.type,n.memoizedProps)),i=!i),i&&Ge&&Cl(n),Er(n),l===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(m(317));Ge=wm(n)}else if(l===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(m(317));Ge=wm(n)}else l===27?(l=Ge,li(n.type)?(n=ad,ad=null,Ge=n):Ge=l):Ge=Hn?Oa(n.stateNode.nextSibling):null;return!0}function au(){Ge=Hn=null,he=!1}function Dy(){var n=Mi;return n!==null&&(on===null?on=n:on.push.apply(on,n),Mi=null),n}function xr(n){Mi===null?Mi=[n]:Mi.push(n)}var Oh=Y(null),So=null,Kl=null;function Sa(n,l,i){st(Oh,l._currentValue),l._currentValue=i}function $l(n){n._currentValue=Oh.current,pt(Oh)}function Rh(n,l,i){for(;n!==null;){var s=n.alternate;if((n.childLanes&l)!==l?(n.childLanes|=l,s!==null&&(s.childLanes|=l)):s!==null&&(s.childLanes&l)!==l&&(s.childLanes|=l),n===i)break;n=n.return}}function Ri(n,l,i,s){var h=n.child;for(h!==null&&(h.return=n);h!==null;){var p=h.dependencies;if(p!==null){var S=h.child;p=p.firstContext;t:for(;p!==null;){var C=p;p=h;for(var N=0;N<l.length;N++)if(C.context===l[N]){p.lanes|=i,C=p.alternate,C!==null&&(C.lanes|=i),Rh(p.return,i,n),s||(S=null);break t}p=C.next}}else if(h.tag===18){if(S=h.return,S===null)throw Error(m(341));S.lanes|=i,p=S.alternate,p!==null&&(p.lanes|=i),Rh(S,i,n),S=null}else S=h.child;if(S!==null)S.return=h;else for(S=h;S!==null;){if(S===n){S=null;break}if(h=S.sibling,h!==null){h.return=S.return,S=h;break}S=S.return}h=S}}function Ln(n,l,i,s){n=null;for(var h=l,p=!1;h!==null;){if(!p){if((h.flags&524288)!==0)p=!0;else if((h.flags&262144)!==0)break}if(h.tag===10){var S=h.alternate;if(S===null)throw Error(m(387));if(S=S.memoizedProps,S!==null){var C=h.type;oa(h.pendingProps.value,S.value)||(n!==null?n.push(C):n=[C])}}else if(h===xt.current){if(S=h.alternate,S===null)throw Error(m(387));S.memoizedState.memoizedState!==h.memoizedState.memoizedState&&(n!==null?n.push(od):n=[od])}h=h.return}n!==null&&Ri(l,n,i,s),l.flags|=262144}function us(n){for(n=n.firstContext;n!==null;){if(!oa(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function $t(n){So=n,Kl=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function ct(n){return hf(So,n)}function To(n,l){return So===null&&$t(n),hf(n,l)}function hf(n,l){var i=l._currentValue;if(l={context:l,memoizedValue:i,next:null},Kl===null){if(n===null)throw Error(m(308));Kl=l,n.dependencies={lanes:0,firstContext:l},n.flags|=524288}else Kl=Kl.next=l;return i}var cn=typeof AbortController<"u"?AbortController:function(){var n=[],l=this.signal={aborted:!1,addEventListener:function(i,s){n.push(s)}};this.abort=function(){l.aborted=!0,n.forEach(function(i){return i()})}},Cy=u.unstable_scheduleCallback,My=u.unstable_NormalPriority,vn={$$typeof:ht,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function mf(){return{controller:new cn,data:new Map,refCount:0}}function pf(n){n.refCount--,n.refCount===0&&Cy(My,function(){n.controller.abort()})}var ss=null,yf=0,lu=0,En=null;function Oe(n,l){if(ss===null){var i=ss=[];yf=0,lu=Em(),En={status:"pending",value:void 0,then:function(s){i.push(s)}}}return yf++,l.then(gf,gf),l}function gf(){if(--yf===0&&ss!==null){En!==null&&(En.status="fulfilled");var n=ss;ss=null,lu=0,En=null;for(var l=0;l<n.length;l++)(0,n[l])()}}function vf(n,l){var i=[],s={status:"pending",value:null,reason:null,then:function(h){i.push(h)}};return n.then(function(){s.status="fulfilled",s.value=l;for(var h=0;h<i.length;h++)(0,i[h])(l)},function(h){for(s.status="rejected",s.reason=h,h=0;h<i.length;h++)(0,i[h])(void 0)}),s}var Ao=j.S;j.S=function(n,l){Sg=In(),typeof l=="object"&&l!==null&&typeof l.then=="function"&&Oe(n,l),Ao!==null&&Ao(n,l)};var Pa=Y(null);function tl(){var n=Pa.current;return n!==null?n:Be.pooledCache}function Dr(n,l){l===null?st(Pa,Pa.current):st(Pa,l.pool)}function rs(){var n=tl();return n===null?null:{parent:vn._currentValue,pool:n}}var iu=Error(m(460)),cs=Error(m(474)),Cr=Error(m(542)),fs={then:function(){}};function zy(n){return n=n.status,n==="fulfilled"||n==="rejected"}function Oy(n,l,i){switch(i=n[i],i===void 0?n.push(l):i!==l&&(l.then(Ll,Ll),l=i),l.status){case"fulfilled":return l.value;case"rejected":throw n=l.reason,wh(n),n;default:if(typeof l.status=="string")l.then(Ll,Ll);else{if(n=Be,n!==null&&100<n.shellSuspendCounter)throw Error(m(482));n=l,n.status="pending",n.then(function(s){if(l.status==="pending"){var h=l;h.status="fulfilled",h.value=s}},function(s){if(l.status==="pending"){var h=l;h.status="rejected",h.reason=s}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw n=l.reason,wh(n),n}throw uu=l,iu}}function ou(n){try{var l=n._init;return l(n._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(uu=i,iu):i}}var uu=null;function Ry(){if(uu===null)throw Error(m(459));var n=uu;return uu=null,n}function wh(n){if(n===iu||n===Cr)throw Error(m(483))}var su=null,ds=0;function bf(n){var l=ds;return ds+=1,su===null&&(su=[]),Oy(su,n,l)}function Mr(n,l){l=l.props.ref,n.ref=l!==void 0?l:null}function Sf(n,l){throw l.$$typeof===w?Error(m(525)):(n=Object.prototype.toString.call(l),Error(m(31,n==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":n)))}function Bv(n){function l(q,H){if(n){var G=q.deletions;G===null?(q.deletions=[H],q.flags|=16):G.push(H)}}function i(q,H){if(!n)return null;for(;H!==null;)l(q,H),H=H.sibling;return null}function s(q){for(var H=new Map;q!==null;)q.key!==null?H.set(q.key,q):H.set(q.index,q),q=q.sibling;return H}function h(q,H){return q=vo(q,H),q.index=0,q.sibling=null,q}function p(q,H,G){return q.index=G,n?(G=q.alternate,G!==null?(G=G.index,G<H?(q.flags|=67108866,H):G):(q.flags|=67108866,H)):(q.flags|=1048576,H)}function S(q){return n&&q.alternate===null&&(q.flags|=67108866),q}function C(q,H,G,it){return H===null||H.tag!==6?(H=Tr(G,q.mode,it),H.return=q,H):(H=h(H,G),H.return=q,H)}function N(q,H,G,it){var _t=G.type;return _t===lt?et(q,H,G.props.children,it,G.key):H!==null&&(H.elementType===_t||typeof _t=="object"&&_t!==null&&_t.$$typeof===I&&ou(_t)===H.type)?(H=h(H,G.props),Mr(H,G),H.return=q,H):(H=Ch(G.type,G.key,G.props,null,q.mode,it),Mr(H,G),H.return=q,H)}function Z(q,H,G,it){return H===null||H.tag!==4||H.stateNode.containerInfo!==G.containerInfo||H.stateNode.implementation!==G.implementation?(H=Mh(G,q.mode,it),H.return=q,H):(H=h(H,G.children||[]),H.return=q,H)}function et(q,H,G,it,_t){return H===null||H.tag!==7?(H=bo(G,q.mode,it,_t),H.return=q,H):(H=h(H,G),H.return=q,H)}function rt(q,H,G){if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return H=Tr(""+H,q.mode,G),H.return=q,H;if(typeof H=="object"&&H!==null){switch(H.$$typeof){case Q:return G=Ch(H.type,H.key,H.props,null,q.mode,G),Mr(G,H),G.return=q,G;case X:return H=Mh(H,q.mode,G),H.return=q,H;case I:return H=ou(H),rt(q,H,G)}if(Gt(H)||Bt(H))return H=bo(H,q.mode,G,null),H.return=q,H;if(typeof H.then=="function")return rt(q,bf(H),G);if(H.$$typeof===ht)return rt(q,To(q,H),G);Sf(q,H)}return null}function J(q,H,G,it){var _t=H!==null?H.key:null;if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return _t!==null?null:C(q,H,""+G,it);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case Q:return G.key===_t?N(q,H,G,it):null;case X:return G.key===_t?Z(q,H,G,it):null;case I:return G=ou(G),J(q,H,G,it)}if(Gt(G)||Bt(G))return _t!==null?null:et(q,H,G,it,null);if(typeof G.then=="function")return J(q,H,bf(G),it);if(G.$$typeof===ht)return J(q,H,To(q,G),it);Sf(q,G)}return null}function tt(q,H,G,it,_t){if(typeof it=="string"&&it!==""||typeof it=="number"||typeof it=="bigint")return q=q.get(G)||null,C(H,q,""+it,_t);if(typeof it=="object"&&it!==null){switch(it.$$typeof){case Q:return q=q.get(it.key===null?G:it.key)||null,N(H,q,it,_t);case X:return q=q.get(it.key===null?G:it.key)||null,Z(H,q,it,_t);case I:return it=ou(it),tt(q,H,G,it,_t)}if(Gt(it)||Bt(it))return q=q.get(G)||null,et(H,q,it,_t,null);if(typeof it.then=="function")return tt(q,H,G,bf(it),_t);if(it.$$typeof===ht)return tt(q,H,G,To(H,it),_t);Sf(H,it)}return null}function Ct(q,H,G,it){for(var _t=null,Se=null,Rt=H,Pt=H=0,ne=null;Rt!==null&&Pt<G.length;Pt++){Rt.index>Pt?(ne=Rt,Rt=null):ne=Rt.sibling;var Ee=J(q,Rt,G[Pt],it);if(Ee===null){Rt===null&&(Rt=ne);break}n&&Rt&&Ee.alternate===null&&l(q,Rt),H=p(Ee,H,Pt),Se===null?_t=Ee:Se.sibling=Ee,Se=Ee,Rt=ne}if(Pt===G.length)return i(q,Rt),he&&Dl(q,Pt),_t;if(Rt===null){for(;Pt<G.length;Pt++)Rt=rt(q,G[Pt],it),Rt!==null&&(H=p(Rt,H,Pt),Se===null?_t=Rt:Se.sibling=Rt,Se=Rt);return he&&Dl(q,Pt),_t}for(Rt=s(Rt);Pt<G.length;Pt++)ne=tt(Rt,q,Pt,G[Pt],it),ne!==null&&(n&&ne.alternate!==null&&Rt.delete(ne.key===null?Pt:ne.key),H=p(ne,H,Pt),Se===null?_t=ne:Se.sibling=ne,Se=ne);return n&&Rt.forEach(function(ui){return l(q,ui)}),he&&Dl(q,Pt),_t}function qt(q,H,G,it){if(G==null)throw Error(m(151));for(var _t=null,Se=null,Rt=H,Pt=H=0,ne=null,Ee=G.next();Rt!==null&&!Ee.done;Pt++,Ee=G.next()){Rt.index>Pt?(ne=Rt,Rt=null):ne=Rt.sibling;var ui=J(q,Rt,Ee.value,it);if(ui===null){Rt===null&&(Rt=ne);break}n&&Rt&&ui.alternate===null&&l(q,Rt),H=p(ui,H,Pt),Se===null?_t=ui:Se.sibling=ui,Se=ui,Rt=ne}if(Ee.done)return i(q,Rt),he&&Dl(q,Pt),_t;if(Rt===null){for(;!Ee.done;Pt++,Ee=G.next())Ee=rt(q,Ee.value,it),Ee!==null&&(H=p(Ee,H,Pt),Se===null?_t=Ee:Se.sibling=Ee,Se=Ee);return he&&Dl(q,Pt),_t}for(Rt=s(Rt);!Ee.done;Pt++,Ee=G.next())Ee=tt(Rt,q,Pt,Ee.value,it),Ee!==null&&(n&&Ee.alternate!==null&&Rt.delete(Ee.key===null?Pt:Ee.key),H=p(Ee,H,Pt),Se===null?_t=Ee:Se.sibling=Ee,Se=Ee);return n&&Rt.forEach(function(qb){return l(q,qb)}),he&&Dl(q,Pt),_t}function He(q,H,G,it){if(typeof G=="object"&&G!==null&&G.type===lt&&G.key===null&&(G=G.props.children),typeof G=="object"&&G!==null){switch(G.$$typeof){case Q:t:{for(var _t=G.key;H!==null;){if(H.key===_t){if(_t=G.type,_t===lt){if(H.tag===7){i(q,H.sibling),it=h(H,G.props.children),it.return=q,q=it;break t}}else if(H.elementType===_t||typeof _t=="object"&&_t!==null&&_t.$$typeof===I&&ou(_t)===H.type){i(q,H.sibling),it=h(H,G.props),Mr(it,G),it.return=q,q=it;break t}i(q,H);break}else l(q,H);H=H.sibling}G.type===lt?(it=bo(G.props.children,q.mode,it,G.key),it.return=q,q=it):(it=Ch(G.type,G.key,G.props,null,q.mode,it),Mr(it,G),it.return=q,q=it)}return S(q);case X:t:{for(_t=G.key;H!==null;){if(H.key===_t)if(H.tag===4&&H.stateNode.containerInfo===G.containerInfo&&H.stateNode.implementation===G.implementation){i(q,H.sibling),it=h(H,G.children||[]),it.return=q,q=it;break t}else{i(q,H);break}else l(q,H);H=H.sibling}it=Mh(G,q.mode,it),it.return=q,q=it}return S(q);case I:return G=ou(G),He(q,H,G,it)}if(Gt(G))return Ct(q,H,G,it);if(Bt(G)){if(_t=Bt(G),typeof _t!="function")throw Error(m(150));return G=_t.call(G),qt(q,H,G,it)}if(typeof G.then=="function")return He(q,H,bf(G),it);if(G.$$typeof===ht)return He(q,H,To(q,G),it);Sf(q,G)}return typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint"?(G=""+G,H!==null&&H.tag===6?(i(q,H.sibling),it=h(H,G),it.return=q,q=it):(i(q,H),it=Tr(G,q.mode,it),it.return=q,q=it),S(q)):i(q,H)}return function(q,H,G,it){try{ds=0;var _t=He(q,H,G,it);return su=null,_t}catch(Rt){if(Rt===iu||Rt===Cr)throw Rt;var Se=rn(29,Rt,null,q.mode);return Se.lanes=it,Se.return=q,Se}finally{}}}var ru=Bv(!0),wy=Bv(!1),Eo=!1;function Tf(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Uh(n,l){n=n.updateQueue,l.updateQueue===n&&(l.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function xo(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function el(n,l,i){var s=n.updateQueue;if(s===null)return null;if(s=s.shared,(Ae&2)!==0){var h=s.pending;return h===null?l.next=l:(l.next=h.next,h.next=l),s.pending=l,l=rf(n),Dh(n,null,i),l}return Fa(n,s,l,i),rf(n)}function cu(n,l,i){if(l=l.updateQueue,l!==null&&(l=l.shared,(i&4194048)!==0)){var s=l.lanes;s&=n.pendingLanes,i|=s,l.lanes=i,vi(n,i)}}function _h(n,l){var i=n.updateQueue,s=n.alternate;if(s!==null&&(s=s.updateQueue,i===s)){var h=null,p=null;if(i=i.firstBaseUpdate,i!==null){do{var S={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};p===null?h=p=S:p=p.next=S,i=i.next}while(i!==null);p===null?h=p=l:p=p.next=l}else h=p=l;i={baseState:s.baseState,firstBaseUpdate:h,lastBaseUpdate:p,shared:s.shared,callbacks:s.callbacks},n.updateQueue=i;return}n=i.lastBaseUpdate,n===null?i.firstBaseUpdate=l:n.next=l,i.lastBaseUpdate=l}var Uy=!1;function fu(){if(Uy){var n=En;if(n!==null)throw n}}function wi(n,l,i,s){Uy=!1;var h=n.updateQueue;Eo=!1;var p=h.firstBaseUpdate,S=h.lastBaseUpdate,C=h.shared.pending;if(C!==null){h.shared.pending=null;var N=C,Z=N.next;N.next=null,S===null?p=Z:S.next=Z,S=N;var et=n.alternate;et!==null&&(et=et.updateQueue,C=et.lastBaseUpdate,C!==S&&(C===null?et.firstBaseUpdate=Z:C.next=Z,et.lastBaseUpdate=N))}if(p!==null){var rt=h.baseState;S=0,et=Z=N=null,C=p;do{var J=C.lane&-536870913,tt=J!==C.lane;if(tt?(re&J)===J:(s&J)===J){J!==0&&J===lu&&(Uy=!0),et!==null&&(et=et.next={lane:0,tag:C.tag,payload:C.payload,callback:null,next:null});t:{var Ct=n,qt=C;J=l;var He=i;switch(qt.tag){case 1:if(Ct=qt.payload,typeof Ct=="function"){rt=Ct.call(He,rt,J);break t}rt=Ct;break t;case 3:Ct.flags=Ct.flags&-65537|128;case 0:if(Ct=qt.payload,J=typeof Ct=="function"?Ct.call(He,rt,J):Ct,J==null)break t;rt=O({},rt,J);break t;case 2:Eo=!0}}J=C.callback,J!==null&&(n.flags|=64,tt&&(n.flags|=8192),tt=h.callbacks,tt===null?h.callbacks=[J]:tt.push(J))}else tt={lane:J,tag:C.tag,payload:C.payload,callback:C.callback,next:null},et===null?(Z=et=tt,N=rt):et=et.next=tt,S|=J;if(C=C.next,C===null){if(C=h.shared.pending,C===null)break;tt=C,C=tt.next,tt.next=null,h.lastBaseUpdate=tt,h.shared.pending=null}}while(!0);et===null&&(N=rt),h.baseState=N,h.firstBaseUpdate=Z,h.lastBaseUpdate=et,p===null&&(h.shared.lanes=0),ni|=S,n.lanes=S,n.memoizedState=rt}}function Nh(n,l){if(typeof n!="function")throw Error(m(191,n));n.call(l)}function du(n,l){var i=n.callbacks;if(i!==null)for(n.callbacks=null,n=0;n<i.length;n++)Nh(i[n],l)}var On=Y(null),hs=Y(0);function Vv(n,l){n=ei,st(hs,n),st(On,l),ei=n|l.baseLanes}function Af(){st(hs,ei),st(On,On.current)}function zr(){ei=hs.current,pt(On),pt(hs)}var Ta=Y(null),nl=null;function Ui(n){var l=n.alternate;st(Fe,Fe.current&1),st(Ta,n),nl===null&&(l===null||On.current!==null||l.memoizedState!==null)&&(nl=n)}function Or(n){st(Fe,Fe.current),st(Ta,n),nl===null&&(nl=n)}function jh(n){n.tag===22?(st(Fe,Fe.current),st(Ta,n),nl===null&&(nl=n)):Fl()}function Fl(){st(Fe,Fe.current),st(Ta,Ta.current)}function Aa(n){pt(Ta),nl===n&&(nl=null),pt(Fe)}var Fe=Y(0);function Rr(n){for(var l=n;l!==null;){if(l.tag===13){var i=l.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||Rl(i)||xu(i)))return l}else if(l.tag===19&&(l.memoizedProps.revealOrder==="forwards"||l.memoizedProps.revealOrder==="backwards"||l.memoizedProps.revealOrder==="unstable_legacy-backwards"||l.memoizedProps.revealOrder==="together")){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===n)break;for(;l.sibling===null;){if(l.return===null||l.return===n)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var _i=0,te=null,Re=null,bn=null,ms=!1,ps=!1,Do=!1,Ef=0,wr=0,hu=null,Hv=0;function an(){throw Error(m(321))}function Co(n,l){if(l===null)return!1;for(var i=0;i<l.length&&i<n.length;i++)if(!oa(n[i],l[i]))return!1;return!0}function xf(n,l,i,s,h,p){return _i=p,te=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,j.H=n===null||n.memoizedState===null?kv:Ih,Do=!1,p=i(s,h),Do=!1,ps&&(p=Lv(l,i,s,h)),Bh(n),p}function Bh(n){j.H=_f;var l=Re!==null&&Re.next!==null;if(_i=0,bn=Re=te=null,ms=!1,wr=0,hu=null,l)throw Error(m(300));n===null||Sn||(n=n.dependencies,n!==null&&us(n)&&(Sn=!0))}function Lv(n,l,i,s){te=n;var h=0;do{if(ps&&(hu=null),wr=0,ps=!1,25<=h)throw Error(m(301));if(h+=1,bn=Re=null,n.updateQueue!=null){var p=n.updateQueue;p.lastEffect=null,p.events=null,p.stores=null,p.memoCache!=null&&(p.memoCache.index=0)}j.H=Jv,p=l(i,s)}while(ps);return p}function DT(){var n=j.H,l=n.useState()[0];return l=typeof l.then=="function"?gs(l):l,n=n.useState()[0],(Re!==null?Re.memoizedState:null)!==n&&(te.flags|=1024),l}function Vh(){var n=Ef!==0;return Ef=0,n}function ys(n,l,i){l.updateQueue=n.updateQueue,l.flags&=-2053,n.lanes&=~i}function Df(n){if(ms){for(n=n.memoizedState;n!==null;){var l=n.queue;l!==null&&(l.pending=null),n=n.next}ms=!1}_i=0,bn=Re=te=null,ps=!1,wr=Ef=0,hu=null}function qn(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return bn===null?te.memoizedState=bn=n:bn=bn.next=n,bn}function fn(){if(Re===null){var n=te.alternate;n=n!==null?n.memoizedState:null}else n=Re.next;var l=bn===null?te.memoizedState:bn.next;if(l!==null)bn=l,Re=n;else{if(n===null)throw te.alternate===null?Error(m(467)):Error(m(310));Re=n,n={memoizedState:Re.memoizedState,baseState:Re.baseState,baseQueue:Re.baseQueue,queue:Re.queue,next:null},bn===null?te.memoizedState=bn=n:bn=bn.next=n}return bn}function Cf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function gs(n){var l=wr;return wr+=1,hu===null&&(hu=[]),n=Oy(hu,n,l),l=te,(bn===null?l.memoizedState:bn.next)===null&&(l=l.alternate,j.H=l===null||l.memoizedState===null?kv:Ih),n}function Ur(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return gs(n);if(n.$$typeof===ht)return ct(n)}throw Error(m(438,String(n)))}function Hh(n){var l=null,i=te.updateQueue;if(i!==null&&(l=i.memoCache),l==null){var s=te.alternate;s!==null&&(s=s.updateQueue,s!==null&&(s=s.memoCache,s!=null&&(l={data:s.data.map(function(h){return h.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),i===null&&(i=Cf(),te.updateQueue=i),i.memoCache=l,i=l.data[l.index],i===void 0)for(i=l.data[l.index]=Array(n),s=0;s<n;s++)i[s]=yt;return l.index++,i}function Ni(n,l){return typeof l=="function"?l(n):l}function ji(n){var l=fn();return Lh(l,Re,n)}function Lh(n,l,i){var s=n.queue;if(s===null)throw Error(m(311));s.lastRenderedReducer=i;var h=n.baseQueue,p=s.pending;if(p!==null){if(h!==null){var S=h.next;h.next=p.next,p.next=S}l.baseQueue=h=p,s.pending=null}if(p=n.baseState,h===null)n.memoizedState=p;else{l=h.next;var C=S=null,N=null,Z=l,et=!1;do{var rt=Z.lane&-536870913;if(rt!==Z.lane?(re&rt)===rt:(_i&rt)===rt){var J=Z.revertLane;if(J===0)N!==null&&(N=N.next={lane:0,revertLane:0,gesture:null,action:Z.action,hasEagerState:Z.hasEagerState,eagerState:Z.eagerState,next:null}),rt===lu&&(et=!0);else if((_i&J)===J){Z=Z.next,J===lu&&(et=!0);continue}else rt={lane:0,revertLane:Z.revertLane,gesture:null,action:Z.action,hasEagerState:Z.hasEagerState,eagerState:Z.eagerState,next:null},N===null?(C=N=rt,S=p):N=N.next=rt,te.lanes|=J,ni|=J;rt=Z.action,Do&&i(p,rt),p=Z.hasEagerState?Z.eagerState:i(p,rt)}else J={lane:rt,revertLane:Z.revertLane,gesture:Z.gesture,action:Z.action,hasEagerState:Z.hasEagerState,eagerState:Z.eagerState,next:null},N===null?(C=N=J,S=p):N=N.next=J,te.lanes|=rt,ni|=rt;Z=Z.next}while(Z!==null&&Z!==l);if(N===null?S=p:N.next=C,!oa(p,n.memoizedState)&&(Sn=!0,et&&(i=En,i!==null)))throw i;n.memoizedState=p,n.baseState=S,n.baseQueue=N,s.lastRenderedState=p}return h===null&&(s.lanes=0),[n.memoizedState,s.dispatch]}function qh(n){var l=fn(),i=l.queue;if(i===null)throw Error(m(311));i.lastRenderedReducer=n;var s=i.dispatch,h=i.pending,p=l.memoizedState;if(h!==null){i.pending=null;var S=h=h.next;do p=n(p,S.action),S=S.next;while(S!==h);oa(p,l.memoizedState)||(Sn=!0),l.memoizedState=p,l.baseQueue===null&&(l.baseState=p),i.lastRenderedState=p}return[p,s]}function _y(n,l,i){var s=te,h=fn(),p=he;if(p){if(i===void 0)throw Error(m(407));i=i()}else i=l();var S=!oa((Re||h).memoizedState,i);if(S&&(h.memoizedState=i,Sn=!0),h=h.queue,Zh(Yh.bind(null,s,h,n),[n]),h.getSnapshot!==l||S||bn!==null&&bn.memoizedState.tag&1){if(s.flags|=2048,bs(9,{destroy:void 0},Ny.bind(null,s,h,i,l),null),Be===null)throw Error(m(349));p||(_i&127)!==0||Mf(s,l,i)}return i}function Mf(n,l,i){n.flags|=16384,n={getSnapshot:l,value:i},l=te.updateQueue,l===null?(l=Cf(),te.updateQueue=l,l.stores=[n]):(i=l.stores,i===null?l.stores=[n]:i.push(n))}function Ny(n,l,i,s){l.value=i,l.getSnapshot=s,Gh(l)&&Xh(n)}function Yh(n,l,i){return i(function(){Gh(l)&&Xh(n)})}function Gh(n){var l=n.getSnapshot;n=n.value;try{var i=l();return!oa(n,i)}catch{return!0}}function Xh(n){var l=go(n,2);l!==null&&za(l,n,2)}function jy(n){var l=qn();if(typeof n=="function"){var i=n;if(n=i(),Do){co(!0);try{i()}finally{co(!1)}}}return l.memoizedState=l.baseState=n,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ni,lastRenderedState:n},l}function Yn(n,l,i,s){return n.baseState=i,Lh(n,Re,typeof s=="function"?s:Ni)}function qv(n,l,i,s,h){if(Uf(n))throw Error(m(485));if(n=l.action,n!==null){var p={payload:h,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(S){p.listeners.push(S)}};j.T!==null?i(!0):p.isTransition=!1,s(p),i=l.pending,i===null?(p.next=l.pending=p,By(l,p)):(p.next=i.next,l.pending=i.next=p)}}function By(n,l){var i=l.action,s=l.payload,h=n.state;if(l.isTransition){var p=j.T,S={};j.T=S;try{var C=i(h,s),N=j.S;N!==null&&N(S,C),Vy(n,l,C)}catch(Z){vs(n,l,Z)}finally{p!==null&&S.types!==null&&(p.types=S.types),j.T=p}}else try{p=i(h,s),Vy(n,l,p)}catch(Z){vs(n,l,Z)}}function Vy(n,l,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(s){Hy(n,l,s)},function(s){return vs(n,l,s)}):Hy(n,l,i)}function Hy(n,l,i){l.status="fulfilled",l.value=i,Ly(l),n.state=i,l=n.pending,l!==null&&(i=l.next,i===l?n.pending=null:(i=i.next,l.next=i,By(n,i)))}function vs(n,l,i){var s=n.pending;if(n.pending=null,s!==null){s=s.next;do l.status="rejected",l.reason=i,Ly(l),l=l.next;while(l!==s)}n.action=null}function Ly(n){n=n.listeners;for(var l=0;l<n.length;l++)(0,n[l])()}function zf(n,l){return l}function qy(n,l){if(he){var i=Be.formState;if(i!==null){t:{var s=te;if(he){if(Ge){e:{for(var h=Ge,p=zn;h.nodeType!==8;){if(!p){h=null;break e}if(h=Oa(h.nextSibling),h===null){h=null;break e}}p=h.data,h=p==="F!"||p==="F"?h:null}if(h){Ge=Oa(h.nextSibling),s=h.data==="F!";break t}}Cl(s)}s=!1}s&&(l=i[0])}}return i=qn(),i.memoizedState=i.baseState=l,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:zf,lastRenderedState:l},i.queue=s,i=Fh.bind(null,te,s),s.dispatch=i,s=jy(!1),p=mu.bind(null,te,!1,s.queue),s=qn(),h={state:l,dispatch:null,action:n,pending:null},s.queue=h,i=qv.bind(null,te,h,p,i),h.dispatch=i,s.memoizedState=n,[l,i,!1]}function Yv(n){var l=fn();return Of(l,Re,n)}function Of(n,l,i){if(l=Lh(n,l,zf)[0],n=ji(Ni)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var s=gs(l)}catch(S){throw S===iu?Cr:S}else s=l;l=fn();var h=l.queue,p=h.dispatch;return i!==l.memoizedState&&(te.flags|=2048,bs(9,{destroy:void 0},Yy.bind(null,h,i),null)),[s,p,n]}function Yy(n,l){n.action=l}function Gy(n){var l=fn(),i=Re;if(i!==null)return Of(l,i,n);fn(),l=l.memoizedState,i=fn();var s=i.queue.dispatch;return i.memoizedState=n,[l,s,!1]}function bs(n,l,i,s){return n={tag:n,create:i,deps:s,inst:l,next:null},l=te.updateQueue,l===null&&(l=Cf(),te.updateQueue=l),i=l.lastEffect,i===null?l.lastEffect=n.next=n:(s=i.next,i.next=n,n.next=s,l.lastEffect=n),n}function Xy(){return fn().memoizedState}function _r(n,l,i,s){var h=qn();te.flags|=n,h.memoizedState=bs(1|l,{destroy:void 0},i,s===void 0?null:s)}function Nr(n,l,i,s){var h=fn();s=s===void 0?null:s;var p=h.memoizedState.inst;Re!==null&&s!==null&&Co(s,Re.memoizedState.deps)?h.memoizedState=bs(l,p,i,s):(te.flags|=n,h.memoizedState=bs(1|l,p,i,s))}function Qh(n,l){_r(8390656,8,n,l)}function Zh(n,l){Nr(2048,8,n,l)}function Qy(n){te.flags|=4;var l=te.updateQueue;if(l===null)l=Cf(),te.updateQueue=l,l.events=[n];else{var i=l.events;i===null?l.events=[n]:i.push(n)}}function Rf(n){var l=fn().memoizedState;return Qy({ref:l,nextImpl:n}),function(){if((Ae&2)!==0)throw Error(m(440));return l.impl.apply(void 0,arguments)}}function kh(n,l){return Nr(4,2,n,l)}function Zy(n,l){return Nr(4,4,n,l)}function Jh(n,l){if(typeof l=="function"){n=n();var i=l(n);return function(){typeof i=="function"?i():l(null)}}if(l!=null)return n=n(),l.current=n,function(){l.current=null}}function ky(n,l,i){i=i!=null?i.concat([n]):null,Nr(4,4,Jh.bind(null,l,n),i)}function Wl(){}function Kh(n,l){var i=fn();l=l===void 0?null:l;var s=i.memoizedState;return l!==null&&Co(l,s[1])?s[0]:(i.memoizedState=[n,l],n)}function Gv(n,l){var i=fn();l=l===void 0?null:l;var s=i.memoizedState;if(l!==null&&Co(l,s[1]))return s[0];if(s=n(),Do){co(!0);try{n()}finally{co(!1)}}return i.memoizedState=[s,l],s}function wf(n,l,i){return i===void 0||(_i&1073741824)!==0&&(re&261930)===0?n.memoizedState=l:(n.memoizedState=i,n=ab(),te.lanes|=n,ni|=n,i)}function Bi(n,l,i,s){return oa(i,l)?i:On.current!==null?(n=wf(n,i,s),oa(n,l)||(Sn=!0),n):(_i&42)===0||(_i&1073741824)!==0&&(re&261930)===0?(Sn=!0,n.memoizedState=i):(n=ab(),te.lanes|=n,ni|=n,l)}function $h(n,l,i,s,h){var p=F.p;F.p=p!==0&&8>p?p:8;var S=j.T,C={};j.T=C,mu(n,!1,l,i);try{var N=h(),Z=j.S;if(Z!==null&&Z(C,N),N!==null&&typeof N=="object"&&typeof N.then=="function"){var et=vf(N,s);Mo(n,l,et,qa(n))}else Mo(n,l,s,qa(n))}catch(rt){Mo(n,l,{then:function(){},status:"rejected",reason:rt},qa())}finally{F.p=p,S!==null&&C.types!==null&&(S.types=C.types),j.T=S}}function Xv(){}function jr(n,l,i,s){if(n.tag!==5)throw Error(m(476));var h=Br(n).queue;$h(n,h,l,k,i===null?Xv:function(){return je(n),i(s)})}function Br(n){var l=n.memoizedState;if(l!==null)return l;l={memoizedState:k,baseState:k,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ni,lastRenderedState:k},next:null};var i={};return l.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ni,lastRenderedState:i},next:null},n.memoizedState=l,n=n.alternate,n!==null&&(n.memoizedState=l),l}function je(n){var l=Br(n);l.next===null&&(l=n.alternate.memoizedState),Mo(n,l.next.queue,{},qa())}function Jy(){return ct(od)}function Qv(){return fn().memoizedState}function Ky(){return fn().memoizedState}function Vi(n){for(var l=n.return;l!==null;){switch(l.tag){case 24:case 3:var i=qa();n=xo(i);var s=el(l,n,i);s!==null&&(za(s,l,i),cu(s,l,i)),l={cache:mf()},n.payload=l;return}l=l.return}}function Zv(n,l,i){var s=qa();i={lane:s,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Uf(n)?Wh(l,i):(i=xl(n,l,i,s),i!==null&&(za(i,n,s),$y(i,l,s)))}function Fh(n,l,i){var s=qa();Mo(n,l,i,s)}function Mo(n,l,i,s){var h={lane:s,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(Uf(n))Wh(l,h);else{var p=n.alternate;if(n.lanes===0&&(p===null||p.lanes===0)&&(p=l.lastRenderedReducer,p!==null))try{var S=l.lastRenderedState,C=p(S,i);if(h.hasEagerState=!0,h.eagerState=C,oa(C,S))return Fa(n,l,h,0),Be===null&&$a(),!1}catch{}finally{}if(i=xl(n,l,h,s),i!==null)return za(i,n,s),$y(i,l,s),!0}return!1}function mu(n,l,i,s){if(s={lane:2,revertLane:Em(),gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},Uf(n)){if(l)throw Error(m(479))}else l=xl(n,i,s,2),l!==null&&za(l,n,2)}function Uf(n){var l=n.alternate;return n===te||l!==null&&l===te}function Wh(n,l){ps=ms=!0;var i=n.pending;i===null?l.next=l:(l.next=i.next,i.next=l),n.pending=l}function $y(n,l,i){if((i&4194048)!==0){var s=l.lanes;s&=n.pendingLanes,i|=s,l.lanes=i,vi(n,i)}}var _f={readContext:ct,use:Ur,useCallback:an,useContext:an,useEffect:an,useImperativeHandle:an,useLayoutEffect:an,useInsertionEffect:an,useMemo:an,useReducer:an,useRef:an,useState:an,useDebugValue:an,useDeferredValue:an,useTransition:an,useSyncExternalStore:an,useId:an,useHostTransitionStatus:an,useFormState:an,useActionState:an,useOptimistic:an,useMemoCache:an,useCacheRefresh:an};_f.useEffectEvent=an;var kv={readContext:ct,use:Ur,useCallback:function(n,l){return qn().memoizedState=[n,l===void 0?null:l],n},useContext:ct,useEffect:Qh,useImperativeHandle:function(n,l,i){i=i!=null?i.concat([n]):null,_r(4194308,4,Jh.bind(null,l,n),i)},useLayoutEffect:function(n,l){return _r(4194308,4,n,l)},useInsertionEffect:function(n,l){_r(4,2,n,l)},useMemo:function(n,l){var i=qn();l=l===void 0?null:l;var s=n();if(Do){co(!0);try{n()}finally{co(!1)}}return i.memoizedState=[s,l],s},useReducer:function(n,l,i){var s=qn();if(i!==void 0){var h=i(l);if(Do){co(!0);try{i(l)}finally{co(!1)}}}else h=l;return s.memoizedState=s.baseState=h,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:h},s.queue=n,n=n.dispatch=Zv.bind(null,te,n),[s.memoizedState,n]},useRef:function(n){var l=qn();return n={current:n},l.memoizedState=n},useState:function(n){n=jy(n);var l=n.queue,i=Fh.bind(null,te,l);return l.dispatch=i,[n.memoizedState,i]},useDebugValue:Wl,useDeferredValue:function(n,l){var i=qn();return wf(i,n,l)},useTransition:function(){var n=jy(!1);return n=$h.bind(null,te,n.queue,!0,!1),qn().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,l,i){var s=te,h=qn();if(he){if(i===void 0)throw Error(m(407));i=i()}else{if(i=l(),Be===null)throw Error(m(349));(re&127)!==0||Mf(s,l,i)}h.memoizedState=i;var p={value:i,getSnapshot:l};return h.queue=p,Qh(Yh.bind(null,s,p,n),[n]),s.flags|=2048,bs(9,{destroy:void 0},Ny.bind(null,s,p,i,l),null),i},useId:function(){var n=qn(),l=Be.identifierPrefix;if(he){var i=Jl,s=Ba;i=(s&~(1<<32-ma(s)-1)).toString(32)+i,l="_"+l+"R_"+i,i=Ef++,0<i&&(l+="H"+i.toString(32)),l+="_"}else i=Hv++,l="_"+l+"r_"+i.toString(32)+"_";return n.memoizedState=l},useHostTransitionStatus:Jy,useFormState:qy,useActionState:qy,useOptimistic:function(n){var l=qn();l.memoizedState=l.baseState=n;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=i,l=mu.bind(null,te,!0,i),i.dispatch=l,[n,l]},useMemoCache:Hh,useCacheRefresh:function(){return qn().memoizedState=Vi.bind(null,te)},useEffectEvent:function(n){var l=qn(),i={impl:n};return l.memoizedState=i,function(){if((Ae&2)!==0)throw Error(m(440));return i.impl.apply(void 0,arguments)}}},Ih={readContext:ct,use:Ur,useCallback:Kh,useContext:ct,useEffect:Zh,useImperativeHandle:ky,useInsertionEffect:kh,useLayoutEffect:Zy,useMemo:Gv,useReducer:ji,useRef:Xy,useState:function(){return ji(Ni)},useDebugValue:Wl,useDeferredValue:function(n,l){var i=fn();return Bi(i,Re.memoizedState,n,l)},useTransition:function(){var n=ji(Ni)[0],l=fn().memoizedState;return[typeof n=="boolean"?n:gs(n),l]},useSyncExternalStore:_y,useId:Qv,useHostTransitionStatus:Jy,useFormState:Yv,useActionState:Yv,useOptimistic:function(n,l){var i=fn();return Yn(i,Re,n,l)},useMemoCache:Hh,useCacheRefresh:Ky};Ih.useEffectEvent=Rf;var Jv={readContext:ct,use:Ur,useCallback:Kh,useContext:ct,useEffect:Zh,useImperativeHandle:ky,useInsertionEffect:kh,useLayoutEffect:Zy,useMemo:Gv,useReducer:qh,useRef:Xy,useState:function(){return qh(Ni)},useDebugValue:Wl,useDeferredValue:function(n,l){var i=fn();return Re===null?wf(i,n,l):Bi(i,Re.memoizedState,n,l)},useTransition:function(){var n=qh(Ni)[0],l=fn().memoizedState;return[typeof n=="boolean"?n:gs(n),l]},useSyncExternalStore:_y,useId:Qv,useHostTransitionStatus:Jy,useFormState:Gy,useActionState:Gy,useOptimistic:function(n,l){var i=fn();return Re!==null?Yn(i,Re,n,l):(i.baseState=n,[n,i.queue.dispatch])},useMemoCache:Hh,useCacheRefresh:Ky};Jv.useEffectEvent=Rf;function Ss(n,l,i,s){l=n.memoizedState,i=i(s,l),i=i==null?l:O({},l,i),n.memoizedState=i,n.lanes===0&&(n.updateQueue.baseState=i)}var Ml={enqueueSetState:function(n,l,i){n=n._reactInternals;var s=qa(),h=xo(s);h.payload=l,i!=null&&(h.callback=i),l=el(n,h,s),l!==null&&(za(l,n,s),cu(l,n,s))},enqueueReplaceState:function(n,l,i){n=n._reactInternals;var s=qa(),h=xo(s);h.tag=1,h.payload=l,i!=null&&(h.callback=i),l=el(n,h,s),l!==null&&(za(l,n,s),cu(l,n,s))},enqueueForceUpdate:function(n,l){n=n._reactInternals;var i=qa(),s=xo(i);s.tag=2,l!=null&&(s.callback=l),l=el(n,s,i),l!==null&&(za(l,n,i),cu(l,n,i))}};function Fy(n,l,i,s,h,p,S){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(s,p,S):l.prototype&&l.prototype.isPureReactComponent?!Tl(i,s)||!Tl(h,p):!0}function Kv(n,l,i,s){n=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(i,s),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(i,s),l.state!==n&&Ml.enqueueReplaceState(l,l.state,null)}function pu(n,l){var i=l;if("ref"in l){i={};for(var s in l)s!=="ref"&&(i[s]=l[s])}if(n=n.defaultProps){i===l&&(i=O({},i));for(var h in n)i[h]===void 0&&(i[h]=n[h])}return i}function Ph(n){ls(n)}function Wy(n){console.error(n)}function tm(n){ls(n)}function Vr(n,l){try{var i=n.onUncaughtError;i(l.value,{componentStack:l.stack})}catch(s){setTimeout(function(){throw s})}}function Nf(n,l,i){try{var s=n.onCaughtError;s(i.value,{componentStack:i.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(h){setTimeout(function(){throw h})}}function Iy(n,l,i){return i=xo(i),i.tag=3,i.payload={element:null},i.callback=function(){Vr(n,l)},i}function Py(n){return n=xo(n),n.tag=3,n}function tg(n,l,i,s){var h=i.type.getDerivedStateFromError;if(typeof h=="function"){var p=s.value;n.payload=function(){return h(p)},n.callback=function(){Nf(l,i,s)}}var S=i.stateNode;S!==null&&typeof S.componentDidCatch=="function"&&(n.callback=function(){Nf(l,i,s),typeof h!="function"&&(We===null?We=new Set([this]):We.add(this));var C=s.stack;this.componentDidCatch(s.value,{componentStack:C!==null?C:""})})}function CT(n,l,i,s,h){if(i.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){if(l=i.alternate,l!==null&&Ln(l,i,h,!0),i=Ta.current,i!==null){switch(i.tag){case 31:case 13:return nl===null?bm():i.alternate===null&&Qe===0&&(Qe=3),i.flags&=-257,i.flags|=65536,i.lanes=h,s===fs?i.flags|=16384:(l=i.updateQueue,l===null?i.updateQueue=new Set([s]):l.add(s),Kf(n,s,h)),!1;case 22:return i.flags|=65536,s===fs?i.flags|=16384:(l=i.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([s])},i.updateQueue=l):(i=l.retryQueue,i===null?l.retryQueue=new Set([s]):i.add(s)),Kf(n,s,h)),!1}throw Error(m(435,i.tag))}return Kf(n,s,h),bm(),!1}if(he)return l=Ta.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=h,s!==zi&&(n=Error(m(422),{cause:s}),xr(Wa(n,i)))):(s!==zi&&(l=Error(m(423),{cause:s}),xr(Wa(l,i))),n=n.current.alternate,n.flags|=65536,h&=-h,n.lanes|=h,s=Wa(s,i),h=Iy(n.stateNode,s,h),_h(n,h),Qe!==4&&(Qe=2)),!1;var p=Error(m(520),{cause:s});if(p=Wa(p,i),Qf===null?Qf=[p]:Qf.push(p),Qe!==4&&(Qe=2),l===null)return!0;s=Wa(s,i),i=l;do{switch(i.tag){case 3:return i.flags|=65536,n=h&-h,i.lanes|=n,n=Iy(i.stateNode,s,n),_h(i,n),!1;case 1:if(l=i.type,p=i.stateNode,(i.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(We===null||!We.has(p))))return i.flags|=65536,h&=-h,i.lanes|=h,h=Py(h),tg(h,n,i,s),_h(i,h),!1}i=i.return}while(i!==null);return!1}var em=Error(m(461)),Sn=!1;function Je(n,l,i,s){l.child=n===null?wy(l,null,i,s):ru(l,n.child,i,s)}function eg(n,l,i,s,h){i=i.render;var p=l.ref;if("ref"in s){var S={};for(var C in s)C!=="ref"&&(S[C]=s[C])}else S=s;return $t(l),s=xf(n,l,i,S,p,h),C=Vh(),n!==null&&!Sn?(ys(n,l,h),il(n,l,h)):(he&&C&&Ar(l),l.flags|=1,Je(n,l,s,h),l.child)}function ng(n,l,i,s,h){if(n===null){var p=i.type;return typeof p=="function"&&!is(p)&&p.defaultProps===void 0&&i.compare===null?(l.tag=15,l.type=p,ag(n,l,p,s,h)):(n=Ch(i.type,null,s,l,l.mode,h),n.ref=l.ref,n.return=l,l.child=n)}if(p=n.child,!lm(n,h)){var S=p.memoizedProps;if(i=i.compare,i=i!==null?i:Tl,i(S,s)&&n.ref===l.ref)return il(n,l,h)}return l.flags|=1,n=vo(p,s),n.ref=l.ref,n.return=l,l.child=n}function ag(n,l,i,s,h){if(n!==null){var p=n.memoizedProps;if(Tl(p,s)&&n.ref===l.ref)if(Sn=!1,l.pendingProps=s=p,lm(n,h))(n.flags&131072)!==0&&(Sn=!0);else return l.lanes=n.lanes,il(n,l,h)}return nm(n,l,i,s,h)}function $v(n,l,i,s){var h=s.children,p=n!==null?n.memoizedState:null;if(n===null&&l.stateNode===null&&(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),s.mode==="hidden"){if((l.flags&128)!==0){if(p=p!==null?p.baseLanes|i:i,n!==null){for(s=l.child=n.child,h=0;s!==null;)h=h|s.lanes|s.childLanes,s=s.sibling;s=h&~p}else s=0,l.child=null;return Ea(n,l,p,i,s)}if((i&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},n!==null&&Dr(l,p!==null?p.cachePool:null),p!==null?Vv(l,p):Af(),jh(l);else return s=l.lanes=536870912,Ea(n,l,p!==null?p.baseLanes|i:i,i,s)}else p!==null?(Dr(l,p.cachePool),Vv(l,p),Fl(),l.memoizedState=null):(n!==null&&Dr(l,null),Af(),Fl());return Je(n,l,h,i),l.child}function yu(n,l){return n!==null&&n.tag===22||l.stateNode!==null||(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.sibling}function Ea(n,l,i,s,h){var p=tl();return p=p===null?null:{parent:vn._currentValue,pool:p},l.memoizedState={baseLanes:i,cachePool:p},n!==null&&Dr(l,null),Af(),jh(l),n!==null&&Ln(n,l,s,!0),l.childLanes=h,null}function jf(n,l){return l=Hf({mode:l.mode,children:l.children},n.mode),l.ref=n.ref,n.child=l,l.return=n,l}function xa(n,l,i){return ru(l,n.child,null,i),n=jf(l,l.pendingProps),n.flags|=2,Aa(l),l.memoizedState=null,n}function Fv(n,l,i){var s=l.pendingProps,h=(l.flags&128)!==0;if(l.flags&=-129,n===null){if(he){if(s.mode==="hidden")return n=jf(l,s),l.lanes=536870912,yu(null,n);if(Or(l),(n=Ge)?(n=wb(n,zn),n=n!==null&&n.data==="&"?n:null,n!==null&&(l.memoizedState={dehydrated:n,treeContext:kl!==null?{id:Ba,overflow:Jl}:null,retryLane:536870912,hydrationErrors:null},i=Ay(n),i.return=l,l.child=i,Hn=l,Ge=null)):n=null,n===null)throw Cl(l);return l.lanes=536870912,null}return jf(l,s)}var p=n.memoizedState;if(p!==null){var S=p.dehydrated;if(Or(l),h)if(l.flags&256)l.flags&=-257,l=xa(n,l,i);else if(l.memoizedState!==null)l.child=n.child,l.flags|=128,l=null;else throw Error(m(558));else if(Sn||Ln(n,l,i,!1),h=(i&n.childLanes)!==0,Sn||h){if(s=Be,s!==null&&(S=ka(s,i),S!==0&&S!==p.retryLane))throw p.retryLane=S,go(n,S),za(s,n,S),em;bm(),l=xa(n,l,i)}else n=p.treeContext,Ge=Oa(S.nextSibling),Hn=l,he=!0,Mi=null,zn=!1,n!==null&&ff(l,n),l=jf(l,s),l.flags|=4096;return l}return n=vo(n.child,{mode:s.mode,children:s.children}),n.ref=l.ref,l.child=n,n.return=l,n}function al(n,l){var i=l.ref;if(i===null)n!==null&&n.ref!==null&&(l.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(m(284));(n===null||n.ref!==i)&&(l.flags|=4194816)}}function nm(n,l,i,s,h){return $t(l),i=xf(n,l,i,s,void 0,h),s=Vh(),n!==null&&!Sn?(ys(n,l,h),il(n,l,h)):(he&&s&&Ar(l),l.flags|=1,Je(n,l,i,h),l.child)}function gu(n,l,i,s,h,p){return $t(l),l.updateQueue=null,i=Lv(l,s,i,h),Bh(n),s=Vh(),n!==null&&!Sn?(ys(n,l,p),il(n,l,p)):(he&&s&&Ar(l),l.flags|=1,Je(n,l,i,p),l.child)}function lg(n,l,i,s,h){if($t(l),l.stateNode===null){var p=va,S=i.contextType;typeof S=="object"&&S!==null&&(p=ct(S)),p=new i(s,p),l.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,p.updater=Ml,l.stateNode=p,p._reactInternals=l,p=l.stateNode,p.props=s,p.state=l.memoizedState,p.refs={},Tf(l),S=i.contextType,p.context=typeof S=="object"&&S!==null?ct(S):va,p.state=l.memoizedState,S=i.getDerivedStateFromProps,typeof S=="function"&&(Ss(l,i,S,s),p.state=l.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof p.getSnapshotBeforeUpdate=="function"||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(S=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),S!==p.state&&Ml.enqueueReplaceState(p,p.state,null),wi(l,s,p,h),fu(),p.state=l.memoizedState),typeof p.componentDidMount=="function"&&(l.flags|=4194308),s=!0}else if(n===null){p=l.stateNode;var C=l.memoizedProps,N=pu(i,C);p.props=N;var Z=p.context,et=i.contextType;S=va,typeof et=="object"&&et!==null&&(S=ct(et));var rt=i.getDerivedStateFromProps;et=typeof rt=="function"||typeof p.getSnapshotBeforeUpdate=="function",C=l.pendingProps!==C,et||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(C||Z!==S)&&Kv(l,p,s,S),Eo=!1;var J=l.memoizedState;p.state=J,wi(l,s,p,h),fu(),Z=l.memoizedState,C||J!==Z||Eo?(typeof rt=="function"&&(Ss(l,i,rt,s),Z=l.memoizedState),(N=Eo||Fy(l,i,N,s,J,Z,S))?(et||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount()),typeof p.componentDidMount=="function"&&(l.flags|=4194308)):(typeof p.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=s,l.memoizedState=Z),p.props=s,p.state=Z,p.context=S,s=N):(typeof p.componentDidMount=="function"&&(l.flags|=4194308),s=!1)}else{p=l.stateNode,Uh(n,l),S=l.memoizedProps,et=pu(i,S),p.props=et,rt=l.pendingProps,J=p.context,Z=i.contextType,N=va,typeof Z=="object"&&Z!==null&&(N=ct(Z)),C=i.getDerivedStateFromProps,(Z=typeof C=="function"||typeof p.getSnapshotBeforeUpdate=="function")||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(S!==rt||J!==N)&&Kv(l,p,s,N),Eo=!1,J=l.memoizedState,p.state=J,wi(l,s,p,h),fu();var tt=l.memoizedState;S!==rt||J!==tt||Eo||n!==null&&n.dependencies!==null&&us(n.dependencies)?(typeof C=="function"&&(Ss(l,i,C,s),tt=l.memoizedState),(et=Eo||Fy(l,i,et,s,J,tt,N)||n!==null&&n.dependencies!==null&&us(n.dependencies))?(Z||typeof p.UNSAFE_componentWillUpdate!="function"&&typeof p.componentWillUpdate!="function"||(typeof p.componentWillUpdate=="function"&&p.componentWillUpdate(s,tt,N),typeof p.UNSAFE_componentWillUpdate=="function"&&p.UNSAFE_componentWillUpdate(s,tt,N)),typeof p.componentDidUpdate=="function"&&(l.flags|=4),typeof p.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof p.componentDidUpdate!="function"||S===n.memoizedProps&&J===n.memoizedState||(l.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||S===n.memoizedProps&&J===n.memoizedState||(l.flags|=1024),l.memoizedProps=s,l.memoizedState=tt),p.props=s,p.state=tt,p.context=N,s=et):(typeof p.componentDidUpdate!="function"||S===n.memoizedProps&&J===n.memoizedState||(l.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||S===n.memoizedProps&&J===n.memoizedState||(l.flags|=1024),s=!1)}return p=s,al(n,l),s=(l.flags&128)!==0,p||s?(p=l.stateNode,i=s&&typeof i.getDerivedStateFromError!="function"?null:p.render(),l.flags|=1,n!==null&&s?(l.child=ru(l,n.child,null,h),l.child=ru(l,null,i,h)):Je(n,l,i,h),l.memoizedState=p.state,n=l.child):n=il(n,l,h),n}function Il(n,l,i,s){return au(),l.flags|=256,Je(n,l,i,s),l.child}var Bf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Vf(n){return{baseLanes:n,cachePool:rs()}}function ll(n,l,i){return n=n!==null?n.childLanes&~i:0,l&&(n|=Ma),n}function ig(n,l,i){var s=l.pendingProps,h=!1,p=(l.flags&128)!==0,S;if((S=p)||(S=n!==null&&n.memoizedState===null?!1:(Fe.current&2)!==0),S&&(h=!0,l.flags&=-129),S=(l.flags&32)!==0,l.flags&=-33,n===null){if(he){if(h?Ui(l):Fl(),(n=Ge)?(n=wb(n,zn),n=n!==null&&n.data!=="&"?n:null,n!==null&&(l.memoizedState={dehydrated:n,treeContext:kl!==null?{id:Ba,overflow:Jl}:null,retryLane:536870912,hydrationErrors:null},i=Ay(n),i.return=l,l.child=i,Hn=l,Ge=null)):n=null,n===null)throw Cl(l);return xu(n)?l.lanes=32:l.lanes=536870912,null}var C=s.children;return s=s.fallback,h?(Fl(),h=l.mode,C=Hf({mode:"hidden",children:C},h),s=bo(s,h,i,null),C.return=l,s.return=l,C.sibling=s,l.child=C,s=l.child,s.memoizedState=Vf(i),s.childLanes=ll(n,S,i),l.memoizedState=Bf,yu(null,s)):(Ui(l),vu(l,C))}var N=n.memoizedState;if(N!==null&&(C=N.dehydrated,C!==null)){if(p)l.flags&256?(Ui(l),l.flags&=-257,l=Ts(n,l,i)):l.memoizedState!==null?(Fl(),l.child=n.child,l.flags|=128,l=null):(Fl(),C=s.fallback,h=l.mode,s=Hf({mode:"visible",children:s.children},h),C=bo(C,h,i,null),C.flags|=2,s.return=l,C.return=l,s.sibling=C,l.child=s,ru(l,n.child,null,i),s=l.child,s.memoizedState=Vf(i),s.childLanes=ll(n,S,i),l.memoizedState=Bf,l=yu(null,s));else if(Ui(l),xu(C)){if(S=C.nextSibling&&C.nextSibling.dataset,S)var Z=S.dgst;S=Z,s=Error(m(419)),s.stack="",s.digest=S,xr({value:s,source:null,stack:null}),l=Ts(n,l,i)}else if(Sn||Ln(n,l,i,!1),S=(i&n.childLanes)!==0,Sn||S){if(S=Be,S!==null&&(s=ka(S,i),s!==0&&s!==N.retryLane))throw N.retryLane=s,go(n,s),za(S,n,s),em;Rl(C)||bm(),l=Ts(n,l,i)}else Rl(C)?(l.flags|=192,l.child=n.child,l=null):(n=N.treeContext,Ge=Oa(C.nextSibling),Hn=l,he=!0,Mi=null,zn=!1,n!==null&&ff(l,n),l=vu(l,s.children),l.flags|=4096);return l}return h?(Fl(),C=s.fallback,h=l.mode,N=n.child,Z=N.sibling,s=vo(N,{mode:"hidden",children:s.children}),s.subtreeFlags=N.subtreeFlags&65011712,Z!==null?C=vo(Z,C):(C=bo(C,h,i,null),C.flags|=2),C.return=l,s.return=l,s.sibling=C,l.child=s,yu(null,s),s=l.child,C=n.child.memoizedState,C===null?C=Vf(i):(h=C.cachePool,h!==null?(N=vn._currentValue,h=h.parent!==N?{parent:N,pool:N}:h):h=rs(),C={baseLanes:C.baseLanes|i,cachePool:h}),s.memoizedState=C,s.childLanes=ll(n,S,i),l.memoizedState=Bf,yu(n.child,s)):(Ui(l),i=n.child,n=i.sibling,i=vo(i,{mode:"visible",children:s.children}),i.return=l,i.sibling=null,n!==null&&(S=l.deletions,S===null?(l.deletions=[n],l.flags|=16):S.push(n)),l.child=i,l.memoizedState=null,i)}function vu(n,l){return l=Hf({mode:"visible",children:l},n.mode),l.return=n,n.child=l}function Hf(n,l){return n=rn(22,n,null,l),n.lanes=0,n}function Ts(n,l,i){return ru(l,n.child,null,i),n=vu(l,l.pendingProps.children),n.flags|=2,l.memoizedState=null,n}function As(n,l,i){n.lanes|=l;var s=n.alternate;s!==null&&(s.lanes|=l),Rh(n.return,l,i)}function am(n,l,i,s,h,p){var S=n.memoizedState;S===null?n.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:s,tail:i,tailMode:h,treeForkCount:p}:(S.isBackwards=l,S.rendering=null,S.renderingStartTime=0,S.last=s,S.tail=i,S.tailMode=h,S.treeForkCount=p)}function og(n,l,i){var s=l.pendingProps,h=s.revealOrder,p=s.tail;s=s.children;var S=Fe.current,C=(S&2)!==0;if(C?(S=S&1|2,l.flags|=128):S&=1,st(Fe,S),Je(n,l,s,i),s=he?gn:0,!C&&n!==null&&(n.flags&128)!==0)t:for(n=l.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&As(n,i,l);else if(n.tag===19)As(n,i,l);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===l)break t;for(;n.sibling===null;){if(n.return===null||n.return===l)break t;n=n.return}n.sibling.return=n.return,n=n.sibling}switch(h){case"forwards":for(i=l.child,h=null;i!==null;)n=i.alternate,n!==null&&Rr(n)===null&&(h=i),i=i.sibling;i=h,i===null?(h=l.child,l.child=null):(h=i.sibling,i.sibling=null),am(l,!1,h,i,p,s);break;case"backwards":case"unstable_legacy-backwards":for(i=null,h=l.child,l.child=null;h!==null;){if(n=h.alternate,n!==null&&Rr(n)===null){l.child=h;break}n=h.sibling,h.sibling=i,i=h,h=n}am(l,!0,i,null,p,s);break;case"together":am(l,!1,null,null,void 0,s);break;default:l.memoizedState=null}return l.child}function il(n,l,i){if(n!==null&&(l.dependencies=n.dependencies),ni|=l.lanes,(i&l.childLanes)===0)if(n!==null){if(Ln(n,l,i,!1),(i&l.childLanes)===0)return null}else return null;if(n!==null&&l.child!==n.child)throw Error(m(153));if(l.child!==null){for(n=l.child,i=vo(n,n.pendingProps),l.child=i,i.return=l;n.sibling!==null;)n=n.sibling,i=i.sibling=vo(n,n.pendingProps),i.return=l;i.sibling=null}return l.child}function lm(n,l){return(n.lanes&l)!==0?!0:(n=n.dependencies,!!(n!==null&&us(n)))}function im(n,l,i){switch(l.tag){case 3:be(l,l.stateNode.containerInfo),Sa(l,vn,n.memoizedState.cache),au();break;case 27:case 5:Kt(l);break;case 4:be(l,l.stateNode.containerInfo);break;case 10:Sa(l,l.type,l.memoizedProps.value);break;case 31:if(l.memoizedState!==null)return l.flags|=128,Or(l),null;break;case 13:var s=l.memoizedState;if(s!==null)return s.dehydrated!==null?(Ui(l),l.flags|=128,null):(i&l.child.childLanes)!==0?ig(n,l,i):(Ui(l),n=il(n,l,i),n!==null?n.sibling:null);Ui(l);break;case 19:var h=(n.flags&128)!==0;if(s=(i&l.childLanes)!==0,s||(Ln(n,l,i,!1),s=(i&l.childLanes)!==0),h){if(s)return og(n,l,i);l.flags|=128}if(h=l.memoizedState,h!==null&&(h.rendering=null,h.tail=null,h.lastEffect=null),st(Fe,Fe.current),s)break;return null;case 22:return l.lanes=0,$v(n,l,i,l.pendingProps);case 24:Sa(l,vn,n.memoizedState.cache)}return il(n,l,i)}function ug(n,l,i){if(n!==null)if(n.memoizedProps!==l.pendingProps)Sn=!0;else{if(!lm(n,i)&&(l.flags&128)===0)return Sn=!1,im(n,l,i);Sn=(n.flags&131072)!==0}else Sn=!1,he&&(l.flags&1048576)!==0&&xy(l,gn,l.index);switch(l.lanes=0,l.tag){case 16:t:{var s=l.pendingProps;if(n=ou(l.elementType),l.type=n,typeof n=="function")is(n)?(s=pu(n,s),l.tag=1,l=lg(null,l,n,s,i)):(l.tag=0,l=nm(null,l,n,s,i));else{if(n!=null){var h=n.$$typeof;if(h===Tt){l.tag=11,l=eg(null,l,n,s,i);break t}else if(h===Dt){l.tag=14,l=ng(null,l,n,s,i);break t}}throw l=Lt(n)||n,Error(m(306,l,""))}}return l;case 0:return nm(n,l,l.type,l.pendingProps,i);case 1:return s=l.type,h=pu(s,l.pendingProps),lg(n,l,s,h,i);case 3:t:{if(be(l,l.stateNode.containerInfo),n===null)throw Error(m(387));s=l.pendingProps;var p=l.memoizedState;h=p.element,Uh(n,l),wi(l,s,null,i);var S=l.memoizedState;if(s=S.cache,Sa(l,vn,s),s!==p.cache&&Ri(l,[vn],i,!0),fu(),s=S.element,p.isDehydrated)if(p={element:s,isDehydrated:!1,cache:S.cache},l.updateQueue.baseState=p,l.memoizedState=p,l.flags&256){l=Il(n,l,s,i);break t}else if(s!==h){h=Wa(Error(m(424)),l),xr(h),l=Il(n,l,s,i);break t}else{switch(n=l.stateNode.containerInfo,n.nodeType){case 9:n=n.body;break;default:n=n.nodeName==="HTML"?n.ownerDocument.body:n}for(Ge=Oa(n.firstChild),Hn=l,he=!0,Mi=null,zn=!0,i=wy(l,null,s,i),l.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling}else{if(au(),s===h){l=il(n,l,i);break t}Je(n,l,s,i)}l=l.child}return l;case 26:return al(n,l),n===null?(i=ic(l.type,null,l.pendingProps,null))?l.memoizedState=i:he||(i=l.type,n=l.pendingProps,s=Eu(xe.current).createElement(i),s[Ne]=l,s[pa]=n,ta(s,i,n),ze(s),l.stateNode=s):l.memoizedState=ic(l.type,n.memoizedProps,l.pendingProps,n.memoizedState),null;case 27:return Kt(l),n===null&&he&&(s=l.stateNode=ac(l.type,l.pendingProps,xe.current),Hn=l,zn=!0,h=Ge,li(l.type)?(ad=h,Ge=Oa(s.firstChild)):Ge=h),Je(n,l,l.pendingProps.children,i),al(n,l),n===null&&(l.flags|=4194304),l.child;case 5:return n===null&&he&&((h=s=Ge)&&(s=OT(s,l.type,l.pendingProps,zn),s!==null?(l.stateNode=s,Hn=l,Ge=Oa(s.firstChild),zn=!1,h=!0):h=!1),h||Cl(l)),Kt(l),h=l.type,p=l.pendingProps,S=n!==null?n.memoizedProps:null,s=p.children,ec(h,p)?s=null:S!==null&&ec(h,S)&&(l.flags|=32),l.memoizedState!==null&&(h=xf(n,l,DT,null,null,i),od._currentValue=h),al(n,l),Je(n,l,s,i),l.child;case 6:return n===null&&he&&((n=i=Ge)&&(i=le(i,l.pendingProps,zn),i!==null?(l.stateNode=i,Hn=l,Ge=null,n=!0):n=!1),n||Cl(l)),null;case 13:return ig(n,l,i);case 4:return be(l,l.stateNode.containerInfo),s=l.pendingProps,n===null?l.child=ru(l,null,s,i):Je(n,l,s,i),l.child;case 11:return eg(n,l,l.type,l.pendingProps,i);case 7:return Je(n,l,l.pendingProps,i),l.child;case 8:return Je(n,l,l.pendingProps.children,i),l.child;case 12:return Je(n,l,l.pendingProps.children,i),l.child;case 10:return s=l.pendingProps,Sa(l,l.type,s.value),Je(n,l,s.children,i),l.child;case 9:return h=l.type._context,s=l.pendingProps.children,$t(l),h=ct(h),s=s(h),l.flags|=1,Je(n,l,s,i),l.child;case 14:return ng(n,l,l.type,l.pendingProps,i);case 15:return ag(n,l,l.type,l.pendingProps,i);case 19:return og(n,l,i);case 31:return Fv(n,l,i);case 22:return $v(n,l,i,l.pendingProps);case 24:return $t(l),s=ct(vn),n===null?(h=tl(),h===null&&(h=Be,p=mf(),h.pooledCache=p,p.refCount++,p!==null&&(h.pooledCacheLanes|=i),h=p),l.memoizedState={parent:s,cache:h},Tf(l),Sa(l,vn,h)):((n.lanes&i)!==0&&(Uh(n,l),wi(l,null,null,i),fu()),h=n.memoizedState,p=l.memoizedState,h.parent!==s?(h={parent:s,cache:s},l.memoizedState=h,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=h),Sa(l,vn,s)):(s=p.cache,Sa(l,vn,s),s!==h.cache&&Ri(l,[vn],i,!0))),Je(n,l,l.pendingProps.children,i),l.child;case 29:throw l.pendingProps}throw Error(m(156,l.tag))}function Hi(n){n.flags|=4}function sg(n,l,i,s,h){if((l=(n.mode&32)!==0)&&(l=!1),l){if(n.flags|=16777216,(h&335544128)===h)if(n.stateNode.complete)n.flags|=8192;else if(ob())n.flags|=8192;else throw uu=fs,cs}else n.flags&=-16777217}function rg(n,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!Ga(l))if(ob())n.flags|=8192;else throw uu=fs,cs}function ua(n,l){l!==null&&(n.flags|=4),n.flags&16384&&(l=n.tag!==22?Gu():536870912,n.lanes|=l,ln|=l)}function Hr(n,l){if(!he)switch(n.tailMode){case"hidden":l=n.tail;for(var i=null;l!==null;)l.alternate!==null&&(i=l),l=l.sibling;i===null?n.tail=null:i.sibling=null;break;case"collapsed":i=n.tail;for(var s=null;i!==null;)i.alternate!==null&&(s=i),i=i.sibling;s===null?l||n.tail===null?n.tail=null:n.tail.sibling=null:s.sibling=null}}function kt(n){var l=n.alternate!==null&&n.alternate.child===n.child,i=0,s=0;if(l)for(var h=n.child;h!==null;)i|=h.lanes|h.childLanes,s|=h.subtreeFlags&65011712,s|=h.flags&65011712,h.return=n,h=h.sibling;else for(h=n.child;h!==null;)i|=h.lanes|h.childLanes,s|=h.subtreeFlags,s|=h.flags,h.return=n,h=h.sibling;return n.subtreeFlags|=s,n.childLanes=i,l}function Wv(n,l,i){var s=l.pendingProps;switch(zh(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return kt(l),null;case 1:return kt(l),null;case 3:return i=l.stateNode,s=null,n!==null&&(s=n.memoizedState.cache),l.memoizedState.cache!==s&&(l.flags|=2048),$l(vn),It(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(n===null||n.child===null)&&(Oi(l)?Hi(l):n===null||n.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,Dy())),kt(l),null;case 26:var h=l.type,p=l.memoizedState;return n===null?(Hi(l),p!==null?(kt(l),rg(l,p)):(kt(l),sg(l,h,null,s,i))):p?p!==n.memoizedState?(Hi(l),kt(l),rg(l,p)):(kt(l),l.flags&=-16777217):(n=n.memoizedProps,n!==s&&Hi(l),kt(l),sg(l,h,n,s,i)),null;case 27:if(mt(l),i=xe.current,h=l.type,n!==null&&l.stateNode!=null)n.memoizedProps!==s&&Hi(l);else{if(!s){if(l.stateNode===null)throw Error(m(166));return kt(l),null}n=ft.current,Oi(l)?df(l):(n=ac(h,s,i),l.stateNode=n,Hi(l))}return kt(l),null;case 5:if(mt(l),h=l.type,n!==null&&l.stateNode!=null)n.memoizedProps!==s&&Hi(l);else{if(!s){if(l.stateNode===null)throw Error(m(166));return kt(l),null}if(p=ft.current,Oi(l))df(l);else{var S=Eu(xe.current);switch(p){case 1:p=S.createElementNS("http://www.w3.org/2000/svg",h);break;case 2:p=S.createElementNS("http://www.w3.org/1998/Math/MathML",h);break;default:switch(h){case"svg":p=S.createElementNS("http://www.w3.org/2000/svg",h);break;case"math":p=S.createElementNS("http://www.w3.org/1998/Math/MathML",h);break;case"script":p=S.createElement("div"),p.innerHTML="<script><\/script>",p=p.removeChild(p.firstChild);break;case"select":p=typeof s.is=="string"?S.createElement("select",{is:s.is}):S.createElement("select"),s.multiple?p.multiple=!0:s.size&&(p.size=s.size);break;default:p=typeof s.is=="string"?S.createElement(h,{is:s.is}):S.createElement(h)}}p[Ne]=l,p[pa]=s;t:for(S=l.child;S!==null;){if(S.tag===5||S.tag===6)p.appendChild(S.stateNode);else if(S.tag!==4&&S.tag!==27&&S.child!==null){S.child.return=S,S=S.child;continue}if(S===l)break t;for(;S.sibling===null;){if(S.return===null||S.return===l)break t;S=S.return}S.sibling.return=S.return,S=S.sibling}l.stateNode=p;t:switch(ta(p,h,s),h){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break t;case"img":s=!0;break t;default:s=!1}s&&Hi(l)}}return kt(l),sg(l,l.type,n===null?null:n.memoizedProps,l.pendingProps,i),null;case 6:if(n&&l.stateNode!=null)n.memoizedProps!==s&&Hi(l);else{if(typeof s!="string"&&l.stateNode===null)throw Error(m(166));if(n=xe.current,Oi(l)){if(n=l.stateNode,i=l.memoizedProps,s=null,h=Hn,h!==null)switch(h.tag){case 27:case 5:s=h.memoizedProps}n[Ne]=l,n=!!(n.nodeValue===i||s!==null&&s.suppressHydrationWarning===!0||_g(n.nodeValue,i)),n||Cl(l,!0)}else n=Eu(n).createTextNode(s),n[Ne]=l,l.stateNode=n}return kt(l),null;case 31:if(i=l.memoizedState,n===null||n.memoizedState!==null){if(s=Oi(l),i!==null){if(n===null){if(!s)throw Error(m(318));if(n=l.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(m(557));n[Ne]=l}else au(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;kt(l),n=!1}else i=Dy(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=i),n=!0;if(!n)return l.flags&256?(Aa(l),l):(Aa(l),null);if((l.flags&128)!==0)throw Error(m(558))}return kt(l),null;case 13:if(s=l.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(h=Oi(l),s!==null&&s.dehydrated!==null){if(n===null){if(!h)throw Error(m(318));if(h=l.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(m(317));h[Ne]=l}else au(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;kt(l),h=!1}else h=Dy(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=h),h=!0;if(!h)return l.flags&256?(Aa(l),l):(Aa(l),null)}return Aa(l),(l.flags&128)!==0?(l.lanes=i,l):(i=s!==null,n=n!==null&&n.memoizedState!==null,i&&(s=l.child,h=null,s.alternate!==null&&s.alternate.memoizedState!==null&&s.alternate.memoizedState.cachePool!==null&&(h=s.alternate.memoizedState.cachePool.pool),p=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(p=s.memoizedState.cachePool.pool),p!==h&&(s.flags|=2048)),i!==n&&i&&(l.child.flags|=8192),ua(l,l.updateQueue),kt(l),null);case 4:return It(),n===null&&tc(l.stateNode.containerInfo),kt(l),null;case 10:return $l(l.type),kt(l),null;case 19:if(pt(Fe),s=l.memoizedState,s===null)return kt(l),null;if(h=(l.flags&128)!==0,p=s.rendering,p===null)if(h)Hr(s,!1);else{if(Qe!==0||n!==null&&(n.flags&128)!==0)for(n=l.child;n!==null;){if(p=Rr(n),p!==null){for(l.flags|=128,Hr(s,!1),n=p.updateQueue,l.updateQueue=n,ua(l,n),l.subtreeFlags=0,n=i,i=l.child;i!==null;)Ty(i,n),i=i.sibling;return st(Fe,Fe.current&1|2),he&&Dl(l,s.treeForkCount),l.child}n=n.sibling}s.tail!==null&&In()>Ce&&(l.flags|=128,h=!0,Hr(s,!1),l.lanes=4194304)}else{if(!h)if(n=Rr(p),n!==null){if(l.flags|=128,h=!0,n=n.updateQueue,l.updateQueue=n,ua(l,n),Hr(s,!0),s.tail===null&&s.tailMode==="hidden"&&!p.alternate&&!he)return kt(l),null}else 2*In()-s.renderingStartTime>Ce&&i!==536870912&&(l.flags|=128,h=!0,Hr(s,!1),l.lanes=4194304);s.isBackwards?(p.sibling=l.child,l.child=p):(n=s.last,n!==null?n.sibling=p:l.child=p,s.last=p)}return s.tail!==null?(n=s.tail,s.rendering=n,s.tail=n.sibling,s.renderingStartTime=In(),n.sibling=null,i=Fe.current,st(Fe,h?i&1|2:i&1),he&&Dl(l,s.treeForkCount),n):(kt(l),null);case 22:case 23:return Aa(l),zr(),s=l.memoizedState!==null,n!==null?n.memoizedState!==null!==s&&(l.flags|=8192):s&&(l.flags|=8192),s?(i&536870912)!==0&&(l.flags&128)===0&&(kt(l),l.subtreeFlags&6&&(l.flags|=8192)):kt(l),i=l.updateQueue,i!==null&&ua(l,i.retryQueue),i=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),s=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(s=l.memoizedState.cachePool.pool),s!==i&&(l.flags|=2048),n!==null&&pt(Pa),null;case 24:return i=null,n!==null&&(i=n.memoizedState.cache),l.memoizedState.cache!==i&&(l.flags|=2048),$l(vn),kt(l),null;case 25:return null;case 30:return null}throw Error(m(156,l.tag))}function Iv(n,l){switch(zh(l),l.tag){case 1:return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 3:return $l(vn),It(),n=l.flags,(n&65536)!==0&&(n&128)===0?(l.flags=n&-65537|128,l):null;case 26:case 27:case 5:return mt(l),null;case 31:if(l.memoizedState!==null){if(Aa(l),l.alternate===null)throw Error(m(340));au()}return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 13:if(Aa(l),n=l.memoizedState,n!==null&&n.dehydrated!==null){if(l.alternate===null)throw Error(m(340));au()}return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 19:return pt(Fe),null;case 4:return It(),null;case 10:return $l(l.type),null;case 22:case 23:return Aa(l),zr(),n!==null&&pt(Pa),n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 24:return $l(vn),null;case 25:return null;default:return null}}function Pv(n,l){switch(zh(l),l.tag){case 3:$l(vn),It();break;case 26:case 27:case 5:mt(l);break;case 4:It();break;case 31:l.memoizedState!==null&&Aa(l);break;case 13:Aa(l);break;case 19:pt(Fe);break;case 10:$l(l.type);break;case 22:case 23:Aa(l),zr(),n!==null&&pt(Pa);break;case 24:$l(vn)}}function zl(n,l){try{var i=l.updateQueue,s=i!==null?i.lastEffect:null;if(s!==null){var h=s.next;i=h;do{if((i.tag&n)===n){s=void 0;var p=i.create,S=i.inst;s=p(),S.destroy=s}i=i.next}while(i!==h)}}catch(C){Ue(l,l.return,C)}}function ol(n,l,i){try{var s=l.updateQueue,h=s!==null?s.lastEffect:null;if(h!==null){var p=h.next;s=p;do{if((s.tag&n)===n){var S=s.inst,C=S.destroy;if(C!==void 0){S.destroy=void 0,h=l;var N=i,Z=C;try{Z()}catch(et){Ue(h,N,et)}}}s=s.next}while(s!==p)}}catch(et){Ue(l,l.return,et)}}function om(n){var l=n.updateQueue;if(l!==null){var i=n.stateNode;try{du(l,i)}catch(s){Ue(n,n.return,s)}}}function bu(n,l,i){i.props=pu(n.type,n.memoizedProps),i.state=n.memoizedState;try{i.componentWillUnmount()}catch(s){Ue(n,l,s)}}function Li(n,l){try{var i=n.ref;if(i!==null){switch(n.tag){case 26:case 27:case 5:var s=n.stateNode;break;case 30:s=n.stateNode;break;default:s=n.stateNode}typeof i=="function"?n.refCleanup=i(s):i.current=s}}catch(h){Ue(n,l,h)}}function Pl(n,l){var i=n.ref,s=n.refCleanup;if(i!==null)if(typeof s=="function")try{s()}catch(h){Ue(n,l,h)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(h){Ue(n,l,h)}else i.current=null}function cg(n){var l=n.type,i=n.memoizedProps,s=n.stateNode;try{t:switch(l){case"button":case"input":case"select":case"textarea":i.autoFocus&&s.focus();break t;case"img":i.src?s.src=i.src:i.srcSet&&(s.srcset=i.srcSet)}}catch(h){Ue(n,n.return,h)}}function um(n,l,i){try{var s=n.stateNode;jg(s,n.type,i,l),s[pa]=l}catch(h){Ue(n,n.return,h)}}function fg(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&li(n.type)||n.tag===4}function Lr(n){t:for(;;){for(;n.sibling===null;){if(n.return===null||fg(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&li(n.type)||n.flags&2||n.child===null||n.tag===4)continue t;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function qr(n,l,i){var s=n.tag;if(s===5||s===6)n=n.stateNode,l?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(n,l):(l=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,l.appendChild(n),i=i._reactRootContainer,i!=null||l.onclick!==null||(l.onclick=Ll));else if(s!==4&&(s===27&&li(n.type)&&(i=n.stateNode,l=null),n=n.child,n!==null))for(qr(n,l,i),n=n.sibling;n!==null;)qr(n,l,i),n=n.sibling}function Yr(n,l,i){var s=n.tag;if(s===5||s===6)n=n.stateNode,l?i.insertBefore(n,l):i.appendChild(n);else if(s!==4&&(s===27&&li(n.type)&&(i=n.stateNode),n=n.child,n!==null))for(Yr(n,l,i),n=n.sibling;n!==null;)Yr(n,l,i),n=n.sibling}function dg(n){var l=n.stateNode,i=n.memoizedProps;try{for(var s=n.type,h=l.attributes;h.length;)l.removeAttributeNode(h[0]);ta(l,s,i),l[Ne]=n,l[pa]=i}catch(p){Ue(n,n.return,p)}}var zo=!1,xn=!1,sm=!1,hg=typeof WeakSet=="function"?WeakSet:Set,Gn=null;function Gr(n,l){if(n=n.containerInfo,zm=wn,n=tu(n),lf(n)){if("selectionStart"in n)var i={start:n.selectionStart,end:n.selectionEnd};else t:{i=(i=n.ownerDocument)&&i.defaultView||window;var s=i.getSelection&&i.getSelection();if(s&&s.rangeCount!==0){i=s.anchorNode;var h=s.anchorOffset,p=s.focusNode;s=s.focusOffset;try{i.nodeType,p.nodeType}catch{i=null;break t}var S=0,C=-1,N=-1,Z=0,et=0,rt=n,J=null;e:for(;;){for(var tt;rt!==i||h!==0&&rt.nodeType!==3||(C=S+h),rt!==p||s!==0&&rt.nodeType!==3||(N=S+s),rt.nodeType===3&&(S+=rt.nodeValue.length),(tt=rt.firstChild)!==null;)J=rt,rt=tt;for(;;){if(rt===n)break e;if(J===i&&++Z===h&&(C=S),J===p&&++et===s&&(N=S),(tt=rt.nextSibling)!==null)break;rt=J,J=rt.parentNode}rt=tt}i=C===-1||N===-1?null:{start:C,end:N}}else i=null}i=i||{start:0,end:0}}else i=null;for(Om={focusedElem:n,selectionRange:i},wn=!1,Gn=l;Gn!==null;)if(l=Gn,n=l.child,(l.subtreeFlags&1028)!==0&&n!==null)n.return=l,Gn=n;else for(;Gn!==null;){switch(l=Gn,p=l.alternate,n=l.flags,l.tag){case 0:if((n&4)!==0&&(n=l.updateQueue,n=n!==null?n.events:null,n!==null))for(i=0;i<n.length;i++)h=n[i],h.ref.impl=h.nextImpl;break;case 11:case 15:break;case 1:if((n&1024)!==0&&p!==null){n=void 0,i=l,h=p.memoizedProps,p=p.memoizedState,s=i.stateNode;try{var Ct=pu(i.type,h);n=s.getSnapshotBeforeUpdate(Ct,p),s.__reactInternalSnapshotBeforeUpdate=n}catch(qt){Ue(i,i.return,qt)}}break;case 3:if((n&1024)!==0){if(n=l.stateNode.containerInfo,i=n.nodeType,i===9)nd(n);else if(i===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":nd(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((n&1024)!==0)throw Error(m(163))}if(n=l.sibling,n!==null){n.return=l.return,Gn=n;break}Gn=l.return}}function Lf(n,l,i){var s=i.flags;switch(i.tag){case 0:case 11:case 15:Oo(n,i),s&4&&zl(5,i);break;case 1:if(Oo(n,i),s&4)if(n=i.stateNode,l===null)try{n.componentDidMount()}catch(S){Ue(i,i.return,S)}else{var h=pu(i.type,l.memoizedProps);l=l.memoizedState;try{n.componentDidUpdate(h,l,n.__reactInternalSnapshotBeforeUpdate)}catch(S){Ue(i,i.return,S)}}s&64&&om(i),s&512&&Li(i,i.return);break;case 3:if(Oo(n,i),s&64&&(n=i.updateQueue,n!==null)){if(l=null,i.child!==null)switch(i.child.tag){case 27:case 5:l=i.child.stateNode;break;case 1:l=i.child.stateNode}try{du(n,l)}catch(S){Ue(i,i.return,S)}}break;case 27:l===null&&s&4&&dg(i);case 26:case 5:Oo(n,i),l===null&&s&4&&cg(i),s&512&&Li(i,i.return);break;case 12:Oo(n,i);break;case 31:Oo(n,i),s&4&&tb(n,i);break;case 13:Oo(n,i),s&4&&yg(n,i),s&64&&(n=i.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(i=ul.bind(null,i),nc(n,i))));break;case 22:if(s=i.memoizedState!==null||zo,!s){l=l!==null&&l.memoizedState!==null||xn,h=zo;var p=xn;zo=s,(xn=l)&&!p?ti(n,i,(i.subtreeFlags&8772)!==0):Oo(n,i),zo=h,xn=p}break;case 30:break;default:Oo(n,i)}}function mg(n){var l=n.alternate;l!==null&&(n.alternate=null,mg(l)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(l=n.stateNode,l!==null&&lh(l)),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}var Xe=null,Da=!1;function qi(n,l,i){for(i=i.child;i!==null;)pg(n,l,i),i=i.sibling}function pg(n,l,i){if(Na&&typeof Na.onCommitFiberUnmount=="function")try{Na.onCommitFiberUnmount(Yu,i)}catch{}switch(i.tag){case 26:xn||Pl(i,l),qi(n,l,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:xn||Pl(i,l);var s=Xe,h=Da;li(i.type)&&(Xe=i.stateNode,Da=!1),qi(n,l,i),Rs(i.stateNode),Xe=s,Da=h;break;case 5:xn||Pl(i,l);case 6:if(s=Xe,h=Da,Xe=null,qi(n,l,i),Xe=s,Da=h,Xe!==null)if(Da)try{(Xe.nodeType===9?Xe.body:Xe.nodeName==="HTML"?Xe.ownerDocument.body:Xe).removeChild(i.stateNode)}catch(p){Ue(i,l,p)}else try{Xe.removeChild(i.stateNode)}catch(p){Ue(i,l,p)}break;case 18:Xe!==null&&(Da?(n=Xe,Lg(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,i.stateNode),hc(n)):Lg(Xe,i.stateNode));break;case 4:s=Xe,h=Da,Xe=i.stateNode.containerInfo,Da=!0,qi(n,l,i),Xe=s,Da=h;break;case 0:case 11:case 14:case 15:ol(2,i,l),xn||ol(4,i,l),qi(n,l,i);break;case 1:xn||(Pl(i,l),s=i.stateNode,typeof s.componentWillUnmount=="function"&&bu(i,l,s)),qi(n,l,i);break;case 21:qi(n,l,i);break;case 22:xn=(s=xn)||i.memoizedState!==null,qi(n,l,i),xn=s;break;default:qi(n,l,i)}}function tb(n,l){if(l.memoizedState===null&&(n=l.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{hc(n)}catch(i){Ue(l,l.return,i)}}}function yg(n,l){if(l.memoizedState===null&&(n=l.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{hc(n)}catch(i){Ue(l,l.return,i)}}function qf(n){switch(n.tag){case 31:case 13:case 19:var l=n.stateNode;return l===null&&(l=n.stateNode=new hg),l;case 22:return n=n.stateNode,l=n._retryCache,l===null&&(l=n._retryCache=new hg),l;default:throw Error(m(435,n.tag))}}function Yf(n,l){var i=qf(n);l.forEach(function(s){if(!i.has(s)){i.add(s);var h=Tb.bind(null,n,s);s.then(h,h)}})}function Ca(n,l){var i=l.deletions;if(i!==null)for(var s=0;s<i.length;s++){var h=i[s],p=n,S=l,C=S;t:for(;C!==null;){switch(C.tag){case 27:if(li(C.type)){Xe=C.stateNode,Da=!1;break t}break;case 5:Xe=C.stateNode,Da=!1;break t;case 3:case 4:Xe=C.stateNode.containerInfo,Da=!0;break t}C=C.return}if(Xe===null)throw Error(m(160));pg(p,S,h),Xe=null,Da=!1,p=h.alternate,p!==null&&(p.return=null),h.return=null}if(l.subtreeFlags&13886)for(l=l.child;l!==null;)rm(l,n),l=l.sibling}var ee=null;function rm(n,l){var i=n.alternate,s=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:Ca(l,n),Va(n),s&4&&(ol(3,n,n.return),zl(3,n),ol(5,n,n.return));break;case 1:Ca(l,n),Va(n),s&512&&(xn||i===null||Pl(i,i.return)),s&64&&zo&&(n=n.updateQueue,n!==null&&(s=n.callbacks,s!==null&&(i=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=i===null?s:i.concat(s))));break;case 26:var h=ee;if(Ca(l,n),Va(n),s&512&&(xn||i===null||Pl(i,i.return)),s&4){var p=i!==null?i.memoizedState:null;if(s=n.memoizedState,i===null)if(s===null)if(n.stateNode===null){t:{s=n.type,i=n.memoizedProps,h=h.ownerDocument||h;e:switch(s){case"title":p=h.getElementsByTagName("title")[0],(!p||p[bi]||p[Ne]||p.namespaceURI==="http://www.w3.org/2000/svg"||p.hasAttribute("itemprop"))&&(p=h.createElement(s),h.head.insertBefore(p,h.querySelector("head > title"))),ta(p,s,i),p[Ne]=n,ze(p),s=p;break t;case"link":var S=Xg("link","href",h).get(s+(i.href||""));if(S){for(var C=0;C<S.length;C++)if(p=S[C],p.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&p.getAttribute("rel")===(i.rel==null?null:i.rel)&&p.getAttribute("title")===(i.title==null?null:i.title)&&p.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){S.splice(C,1);break e}}p=h.createElement(s),ta(p,s,i),h.head.appendChild(p);break;case"meta":if(S=Xg("meta","content",h).get(s+(i.content||""))){for(C=0;C<S.length;C++)if(p=S[C],p.getAttribute("content")===(i.content==null?null:""+i.content)&&p.getAttribute("name")===(i.name==null?null:i.name)&&p.getAttribute("property")===(i.property==null?null:i.property)&&p.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&p.getAttribute("charset")===(i.charSet==null?null:i.charSet)){S.splice(C,1);break e}}p=h.createElement(s),ta(p,s,i),h.head.appendChild(p);break;default:throw Error(m(468,s))}p[Ne]=n,ze(p),s=p}n.stateNode=s}else Nm(h,n.type,n.stateNode);else n.stateNode=Gg(h,s,n.memoizedProps);else p!==s?(p===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):p.count--,s===null?Nm(h,n.type,n.stateNode):Gg(h,s,n.memoizedProps)):s===null&&n.stateNode!==null&&um(n,n.memoizedProps,i.memoizedProps)}break;case 27:Ca(l,n),Va(n),s&512&&(xn||i===null||Pl(i,i.return)),i!==null&&s&4&&um(n,n.memoizedProps,i.memoizedProps);break;case 5:if(Ca(l,n),Va(n),s&512&&(xn||i===null||Pl(i,i.return)),n.flags&32){h=n.stateNode;try{Ti(h,"")}catch(Ct){Ue(n,n.return,Ct)}}s&4&&n.stateNode!=null&&(h=n.memoizedProps,um(n,h,i!==null?i.memoizedProps:h)),s&1024&&(sm=!0);break;case 6:if(Ca(l,n),Va(n),s&4){if(n.stateNode===null)throw Error(m(162));s=n.memoizedProps,i=n.stateNode;try{i.nodeValue=s}catch(Ct){Ue(n,n.return,Ct)}}break;case 3:if(sc=null,h=ee,ee=sa(l.containerInfo),Ca(l,n),ee=h,Va(n),s&4&&i!==null&&i.memoizedState.isDehydrated)try{hc(l.containerInfo)}catch(Ct){Ue(n,n.return,Ct)}sm&&(sm=!1,gg(n));break;case 4:s=ee,ee=sa(n.stateNode.containerInfo),Ca(l,n),Va(n),ee=s;break;case 12:Ca(l,n),Va(n);break;case 31:Ca(l,n),Va(n),s&4&&(s=n.updateQueue,s!==null&&(n.updateQueue=null,Yf(n,s)));break;case 13:Ca(l,n),Va(n),n.child.flags&8192&&n.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(ai=In()),s&4&&(s=n.updateQueue,s!==null&&(n.updateQueue=null,Yf(n,s)));break;case 22:h=n.memoizedState!==null;var N=i!==null&&i.memoizedState!==null,Z=zo,et=xn;if(zo=Z||h,xn=et||N,Ca(l,n),xn=et,zo=Z,Va(n),s&8192)t:for(l=n.stateNode,l._visibility=h?l._visibility&-2:l._visibility|1,h&&(i===null||N||zo||xn||Es(n)),i=null,l=n;;){if(l.tag===5||l.tag===26){if(i===null){N=i=l;try{if(p=N.stateNode,h)S=p.style,typeof S.setProperty=="function"?S.setProperty("display","none","important"):S.display="none";else{C=N.stateNode;var rt=N.memoizedProps.style,J=rt!=null&&rt.hasOwnProperty("display")?rt.display:null;C.style.display=J==null||typeof J=="boolean"?"":(""+J).trim()}}catch(Ct){Ue(N,N.return,Ct)}}}else if(l.tag===6){if(i===null){N=l;try{N.stateNode.nodeValue=h?"":N.memoizedProps}catch(Ct){Ue(N,N.return,Ct)}}}else if(l.tag===18){if(i===null){N=l;try{var tt=N.stateNode;h?Tn(tt,!0):Tn(N.stateNode,!1)}catch(Ct){Ue(N,N.return,Ct)}}}else if((l.tag!==22&&l.tag!==23||l.memoizedState===null||l===n)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===n)break t;for(;l.sibling===null;){if(l.return===null||l.return===n)break t;i===l&&(i=null),l=l.return}i===l&&(i=null),l.sibling.return=l.return,l=l.sibling}s&4&&(s=n.updateQueue,s!==null&&(i=s.retryQueue,i!==null&&(s.retryQueue=null,Yf(n,i))));break;case 19:Ca(l,n),Va(n),s&4&&(s=n.updateQueue,s!==null&&(n.updateQueue=null,Yf(n,s)));break;case 30:break;case 21:break;default:Ca(l,n),Va(n)}}function Va(n){var l=n.flags;if(l&2){try{for(var i,s=n.return;s!==null;){if(fg(s)){i=s;break}s=s.return}if(i==null)throw Error(m(160));switch(i.tag){case 27:var h=i.stateNode,p=Lr(n);Yr(n,p,h);break;case 5:var S=i.stateNode;i.flags&32&&(Ti(S,""),i.flags&=-33);var C=Lr(n);Yr(n,C,S);break;case 3:case 4:var N=i.stateNode.containerInfo,Z=Lr(n);qr(n,Z,N);break;default:throw Error(m(161))}}catch(et){Ue(n,n.return,et)}n.flags&=-3}l&4096&&(n.flags&=-4097)}function gg(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var l=n;gg(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),n=n.sibling}}function Oo(n,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)Lf(n,l.alternate,l),l=l.sibling}function Es(n){for(n=n.child;n!==null;){var l=n;switch(l.tag){case 0:case 11:case 14:case 15:ol(4,l,l.return),Es(l);break;case 1:Pl(l,l.return);var i=l.stateNode;typeof i.componentWillUnmount=="function"&&bu(l,l.return,i),Es(l);break;case 27:Rs(l.stateNode);case 26:case 5:Pl(l,l.return),Es(l);break;case 22:l.memoizedState===null&&Es(l);break;case 30:Es(l);break;default:Es(l)}n=n.sibling}}function ti(n,l,i){for(i=i&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var s=l.alternate,h=n,p=l,S=p.flags;switch(p.tag){case 0:case 11:case 15:ti(h,p,i),zl(4,p);break;case 1:if(ti(h,p,i),s=p,h=s.stateNode,typeof h.componentDidMount=="function")try{h.componentDidMount()}catch(Z){Ue(s,s.return,Z)}if(s=p,h=s.updateQueue,h!==null){var C=s.stateNode;try{var N=h.shared.hiddenCallbacks;if(N!==null)for(h.shared.hiddenCallbacks=null,h=0;h<N.length;h++)Nh(N[h],C)}catch(Z){Ue(s,s.return,Z)}}i&&S&64&&om(p),Li(p,p.return);break;case 27:dg(p);case 26:case 5:ti(h,p,i),i&&s===null&&S&4&&cg(p),Li(p,p.return);break;case 12:ti(h,p,i);break;case 31:ti(h,p,i),i&&S&4&&tb(h,p);break;case 13:ti(h,p,i),i&&S&4&&yg(h,p);break;case 22:p.memoizedState===null&&ti(h,p,i),Li(p,p.return);break;case 30:break;default:ti(h,p,i)}l=l.sibling}}function cm(n,l){var i=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),n=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(n=l.memoizedState.cachePool.pool),n!==i&&(n!=null&&n.refCount++,i!=null&&pf(i))}function fm(n,l){n=null,l.alternate!==null&&(n=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==n&&(l.refCount++,n!=null&&pf(n))}function Ol(n,l,i,s){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)Xr(n,l,i,s),l=l.sibling}function Xr(n,l,i,s){var h=l.flags;switch(l.tag){case 0:case 11:case 15:Ol(n,l,i,s),h&2048&&zl(9,l);break;case 1:Ol(n,l,i,s);break;case 3:Ol(n,l,i,s),h&2048&&(n=null,l.alternate!==null&&(n=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==n&&(l.refCount++,n!=null&&pf(n)));break;case 12:if(h&2048){Ol(n,l,i,s),n=l.stateNode;try{var p=l.memoizedProps,S=p.id,C=p.onPostCommit;typeof C=="function"&&C(S,l.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(N){Ue(l,l.return,N)}}else Ol(n,l,i,s);break;case 31:Ol(n,l,i,s);break;case 13:Ol(n,l,i,s);break;case 23:break;case 22:p=l.stateNode,S=l.alternate,l.memoizedState!==null?p._visibility&2?Ol(n,l,i,s):Gf(n,l):p._visibility&2?Ol(n,l,i,s):(p._visibility|=2,Qr(n,l,i,s,(l.subtreeFlags&10256)!==0||!1)),h&2048&&cm(S,l);break;case 24:Ol(n,l,i,s),h&2048&&fm(l.alternate,l);break;default:Ol(n,l,i,s)}}function Qr(n,l,i,s,h){for(h=h&&((l.subtreeFlags&10256)!==0||!1),l=l.child;l!==null;){var p=n,S=l,C=i,N=s,Z=S.flags;switch(S.tag){case 0:case 11:case 15:Qr(p,S,C,N,h),zl(8,S);break;case 23:break;case 22:var et=S.stateNode;S.memoizedState!==null?et._visibility&2?Qr(p,S,C,N,h):Gf(p,S):(et._visibility|=2,Qr(p,S,C,N,h)),h&&Z&2048&&cm(S.alternate,S);break;case 24:Qr(p,S,C,N,h),h&&Z&2048&&fm(S.alternate,S);break;default:Qr(p,S,C,N,h)}l=l.sibling}}function Gf(n,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var i=n,s=l,h=s.flags;switch(s.tag){case 22:Gf(i,s),h&2048&&cm(s.alternate,s);break;case 24:Gf(i,s),h&2048&&fm(s.alternate,s);break;default:Gf(i,s)}l=l.sibling}}var Ha=8192;function Yi(n,l,i){if(n.subtreeFlags&Ha)for(n=n.child;n!==null;)eb(n,l,i),n=n.sibling}function eb(n,l,i){switch(n.tag){case 26:Yi(n,l,i),n.flags&Ha&&n.memoizedState!==null&&ki(i,ee,n.memoizedState,n.memoizedProps);break;case 5:Yi(n,l,i);break;case 3:case 4:var s=ee;ee=sa(n.stateNode.containerInfo),Yi(n,l,i),ee=s;break;case 22:n.memoizedState===null&&(s=n.alternate,s!==null&&s.memoizedState!==null?(s=Ha,Ha=16777216,Yi(n,l,i),Ha=s):Yi(n,l,i));break;default:Yi(n,l,i)}}function dm(n){var l=n.alternate;if(l!==null&&(n=l.child,n!==null)){l.child=null;do l=n.sibling,n.sibling=null,n=l;while(n!==null)}}function Zr(n){var l=n.deletions;if((n.flags&16)!==0){if(l!==null)for(var i=0;i<l.length;i++){var s=l[i];Gn=s,hm(s,n)}dm(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)vg(n),n=n.sibling}function vg(n){switch(n.tag){case 0:case 11:case 15:Zr(n),n.flags&2048&&ol(9,n,n.return);break;case 3:Zr(n);break;case 12:Zr(n);break;case 22:var l=n.stateNode;n.memoizedState!==null&&l._visibility&2&&(n.return===null||n.return.tag!==13)?(l._visibility&=-3,Xf(n)):Zr(n);break;default:Zr(n)}}function Xf(n){var l=n.deletions;if((n.flags&16)!==0){if(l!==null)for(var i=0;i<l.length;i++){var s=l[i];Gn=s,hm(s,n)}dm(n)}for(n=n.child;n!==null;){switch(l=n,l.tag){case 0:case 11:case 15:ol(8,l,l.return),Xf(l);break;case 22:i=l.stateNode,i._visibility&2&&(i._visibility&=-3,Xf(l));break;default:Xf(l)}n=n.sibling}}function hm(n,l){for(;Gn!==null;){var i=Gn;switch(i.tag){case 0:case 11:case 15:ol(8,i,l);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var s=i.memoizedState.cachePool.pool;s!=null&&s.refCount++}break;case 24:pf(i.memoizedState.cache)}if(s=i.child,s!==null)s.return=i,Gn=s;else t:for(i=n;Gn!==null;){s=Gn;var h=s.sibling,p=s.return;if(mg(s),s===i){Gn=null;break t}if(h!==null){h.return=p,Gn=h;break t}Gn=p}}}var nb={getCacheForType:function(n){var l=ct(vn),i=l.data.get(n);return i===void 0&&(i=n(),l.data.set(n,i)),i},cacheSignal:function(){return ct(vn).controller.signal}},bg=typeof WeakMap=="function"?WeakMap:Map,Ae=0,Be=null,me=null,re=0,we=0,Xt=null,Gi=!1,Su=!1,mm=!1,ei=0,Qe=0,ni=0,xs=0,pm=0,Ma=0,ln=0,Qf=null,on=null,ym=!1,ai=0,Sg=0,Ce=1/0,kr=null,We=null,Rn=0,Ro=null,Tu=null,Xi=0,La=0,gm=null,vm=null,Jr=0,Zf=null;function qa(){return(Ae&2)!==0&&re!==0?re&-re:j.T!==null?Em():nh()}function ab(){if(Ma===0)if((re&536870912)===0||he){var n=Bl;Bl<<=1,(Bl&3932160)===0&&(Bl=262144),Ma=n}else Ma=536870912;return n=Ta.current,n!==null&&(n.flags|=32),Ma}function za(n,l,i){(n===Be&&(we===2||we===9)||n.cancelPendingCommit!==null)&&(Qi(n,0),wo(n,re,Ma,!1)),or(n,i),((Ae&2)===0||n!==Be)&&(n===Be&&((Ae&2)===0&&(xs|=i),Qe===4&&wo(n,re,Ma,!1)),Zi(n))}function lb(n,l,i){if((Ae&6)!==0)throw Error(m(327));var s=!i&&(l&127)===0&&(l&n.expiredLanes)===0||Vl(n,l),h=s?rb(n,l):Sm(n,l,!0),p=s;do{if(h===0){Su&&!s&&wo(n,l,0,!1);break}else{if(i=n.current.alternate,p&&!ib(i)){h=Sm(n,l,!1),p=!1;continue}if(h===2){if(p=l,n.errorRecoveryDisabledLanes&p)var S=0;else S=n.pendingLanes&-536870913,S=S!==0?S:S&536870912?536870912:0;if(S!==0){l=S;t:{var C=n;h=Qf;var N=C.current.memoizedState.isDehydrated;if(N&&(Qi(C,S).flags|=256),S=Sm(C,S,!1),S!==2){if(mm&&!N){C.errorRecoveryDisabledLanes|=p,xs|=p,h=4;break t}p=on,on=h,p!==null&&(on===null?on=p:on.push.apply(on,p))}h=S}if(p=!1,h!==2)continue}}if(h===1){Qi(n,0),wo(n,l,0,!0);break}t:{switch(s=n,p=h,p){case 0:case 1:throw Error(m(345));case 4:if((l&4194048)!==l)break;case 6:wo(s,l,Ma,!Gi);break t;case 2:on=null;break;case 3:case 5:break;default:throw Error(m(329))}if((l&62914560)===l&&(h=ai+300-In(),10<h)){if(wo(s,l,Ma,!Gi),yn(s,0,!0)!==0)break t;Xi=l,s.timeoutHandle=ed(kf.bind(null,s,i,on,kr,ym,l,Ma,xs,ln,Gi,p,"Throttled",-0,0),h);break t}kf(s,i,on,kr,ym,l,Ma,xs,ln,Gi,p,null,-0,0)}}break}while(!0);Zi(n)}function kf(n,l,i,s,h,p,S,C,N,Z,et,rt,J,tt){if(n.timeoutHandle=-1,rt=l.subtreeFlags,rt&8192||(rt&16785408)===16785408){rt={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ll},eb(l,p,rt);var Ct=(p&62914560)===p?ai-In():(p&4194048)===p?Sg-In():0;if(Ct=Zg(rt,Ct),Ct!==null){Xi=p,n.cancelPendingCommit=Ct(hb.bind(null,n,l,p,i,s,h,S,C,N,et,rt,null,J,tt)),wo(n,p,S,!Z);return}}hb(n,l,p,i,s,h,S,C,N)}function ib(n){for(var l=n;;){var i=l.tag;if((i===0||i===11||i===15)&&l.flags&16384&&(i=l.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var s=0;s<i.length;s++){var h=i[s],p=h.getSnapshot;h=h.value;try{if(!oa(p(),h))return!1}catch{return!1}}if(i=l.child,l.subtreeFlags&16384&&i!==null)i.return=l,l=i;else{if(l===n)break;for(;l.sibling===null;){if(l.return===null||l.return===n)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function wo(n,l,i,s){l&=~pm,l&=~xs,n.suspendedLanes|=l,n.pingedLanes&=~l,s&&(n.warmLanes|=l),s=n.expirationTimes;for(var h=l;0<h;){var p=31-ma(h),S=1<<p;s[p]=-1,h&=~S}i!==0&&Jc(n,i,l)}function Kr(){return(Ae&6)===0?(_o(0),!1):!0}function Tg(){if(me!==null){if(we===0)var n=me.return;else n=me,Kl=So=null,Df(n),su=null,ds=0,n=me;for(;n!==null;)Pv(n.alternate,n),n=n.return;me=null}}function Qi(n,l){var i=n.timeoutHandle;i!==-1&&(n.timeoutHandle=-1,Ob(i)),i=n.cancelPendingCommit,i!==null&&(n.cancelPendingCommit=null,i()),Xi=0,Tg(),Be=n,me=i=vo(n.current,null),re=l,we=0,Xt=null,Gi=!1,Su=Vl(n,l),mm=!1,ln=Ma=pm=xs=ni=Qe=0,on=Qf=null,ym=!1,(l&8)!==0&&(l|=l&32);var s=n.entangledLanes;if(s!==0)for(n=n.entanglements,s&=l;0<s;){var h=31-ma(s),p=1<<h;l|=n[h],s&=~p}return ei=l,$a(),i}function $r(n,l){te=null,j.H=_f,l===iu||l===Cr?(l=Ry(),we=3):l===cs?(l=Ry(),we=4):we=l===em?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,Xt=l,me===null&&(Qe=1,Vr(n,Wa(l,n.current)))}function ob(){var n=Ta.current;return n===null?!0:(re&4194048)===re?nl===null:(re&62914560)===re||(re&536870912)!==0?n===nl:!1}function ub(){var n=j.H;return j.H=_f,n===null?_f:n}function sb(){var n=j.A;return j.A=nb,n}function bm(){Qe=4,Gi||(re&4194048)!==re&&Ta.current!==null||(Su=!0),(ni&134217727)===0&&(xs&134217727)===0||Be===null||wo(Be,re,Ma,!1)}function Sm(n,l,i){var s=Ae;Ae|=2;var h=ub(),p=sb();(Be!==n||re!==l)&&(kr=null,Qi(n,l)),l=!1;var S=Qe;t:do try{if(we!==0&&me!==null){var C=me,N=Xt;switch(we){case 8:Tg(),S=6;break t;case 3:case 2:case 9:case 6:Ta.current===null&&(l=!0);var Z=we;if(we=0,Xt=null,Ds(n,C,N,Z),i&&Su){S=0;break t}break;default:Z=we,we=0,Xt=null,Ds(n,C,N,Z)}}MT(),S=Qe;break}catch(et){$r(n,et)}while(!0);return l&&n.shellSuspendCounter++,Kl=So=null,Ae=s,j.H=h,j.A=p,me===null&&(Be=null,re=0,$a()),S}function MT(){for(;me!==null;)cb(me)}function rb(n,l){var i=Ae;Ae|=2;var s=ub(),h=sb();Be!==n||re!==l?(kr=null,Ce=In()+500,Qi(n,l)):Su=Vl(n,l);t:do try{if(we!==0&&me!==null){l=me;var p=Xt;e:switch(we){case 1:we=0,Xt=null,Ds(n,l,p,1);break;case 2:case 9:if(zy(p)){we=0,Xt=null,fb(l);break}l=function(){we!==2&&we!==9||Be!==n||(we=7),Zi(n)},p.then(l,l);break t;case 3:we=7;break t;case 4:we=5;break t;case 7:zy(p)?(we=0,Xt=null,fb(l)):(we=0,Xt=null,Ds(n,l,p,7));break;case 5:var S=null;switch(me.tag){case 26:S=me.memoizedState;case 5:case 27:var C=me;if(S?Ga(S):C.stateNode.complete){we=0,Xt=null;var N=C.sibling;if(N!==null)me=N;else{var Z=C.return;Z!==null?(me=Z,Jf(Z)):me=null}break e}}we=0,Xt=null,Ds(n,l,p,5);break;case 6:we=0,Xt=null,Ds(n,l,p,6);break;case 8:Tg(),Qe=6;break t;default:throw Error(m(462))}}Au();break}catch(et){$r(n,et)}while(!0);return Kl=So=null,j.H=s,j.A=h,Ae=i,me!==null?0:(Be=null,re=0,$a(),Qe)}function Au(){for(;me!==null&&!qu();)cb(me)}function cb(n){var l=ug(n.alternate,n,ei);n.memoizedProps=n.pendingProps,l===null?Jf(n):me=l}function fb(n){var l=n,i=l.alternate;switch(l.tag){case 15:case 0:l=gu(i,l,l.pendingProps,l.type,void 0,re);break;case 11:l=gu(i,l,l.pendingProps,l.type.render,l.ref,re);break;case 5:Df(l);default:Pv(i,l),l=me=Ty(l,ei),l=ug(i,l,ei)}n.memoizedProps=n.pendingProps,l===null?Jf(n):me=l}function Ds(n,l,i,s){Kl=So=null,Df(l),su=null,ds=0;var h=l.return;try{if(CT(n,h,l,i,re)){Qe=1,Vr(n,Wa(i,n.current)),me=null;return}}catch(p){if(h!==null)throw me=h,p;Qe=1,Vr(n,Wa(i,n.current)),me=null;return}l.flags&32768?(he||s===1?n=!0:Su||(re&536870912)!==0?n=!1:(Gi=n=!0,(s===2||s===9||s===3||s===6)&&(s=Ta.current,s!==null&&s.tag===13&&(s.flags|=16384))),db(l,n)):Jf(l)}function Jf(n){var l=n;do{if((l.flags&32768)!==0){db(l,Gi);return}n=l.return;var i=Wv(l.alternate,l,ei);if(i!==null){me=i;return}if(l=l.sibling,l!==null){me=l;return}me=l=n}while(l!==null);Qe===0&&(Qe=5)}function db(n,l){do{var i=Iv(n.alternate,n);if(i!==null){i.flags&=32767,me=i;return}if(i=n.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!l&&(n=n.sibling,n!==null)){me=n;return}me=n=i}while(n!==null);Qe=6,me=null}function hb(n,l,i,s,h,p,S,C,N){n.cancelPendingCommit=null;do Fr();while(Rn!==0);if((Ae&6)!==0)throw Error(m(327));if(l!==null){if(l===n.current)throw Error(m(177));if(p=l.lanes|l.childLanes,p|=El,th(n,i,p,S,C,N),n===Be&&(me=Be=null,re=0),Tu=l,Ro=n,Xi=i,La=p,gm=h,vm=s,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,Ab(Zo,function(){return vb(),null})):(n.callbackNode=null,n.callbackPriority=0),s=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||s){s=j.T,j.T=null,h=F.p,F.p=2,S=Ae,Ae|=4;try{Gr(n,l,i)}finally{Ae=S,F.p=h,j.T=s}}Rn=1,mb(),pb(),yb()}}function mb(){if(Rn===1){Rn=0;var n=Ro,l=Tu,i=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||i){i=j.T,j.T=null;var s=F.p;F.p=2;var h=Ae;Ae|=4;try{rm(l,n);var p=Om,S=tu(n.containerInfo),C=p.focusedElem,N=p.selectionRange;if(S!==C&&C&&C.ownerDocument&&ns(C.ownerDocument.documentElement,C)){if(N!==null&&lf(C)){var Z=N.start,et=N.end;if(et===void 0&&(et=Z),"selectionStart"in C)C.selectionStart=Z,C.selectionEnd=Math.min(et,C.value.length);else{var rt=C.ownerDocument||document,J=rt&&rt.defaultView||window;if(J.getSelection){var tt=J.getSelection(),Ct=C.textContent.length,qt=Math.min(N.start,Ct),He=N.end===void 0?qt:Math.min(N.end,Ct);!tt.extend&&qt>He&&(S=He,He=qt,qt=S);var q=by(C,qt),H=by(C,He);if(q&&H&&(tt.rangeCount!==1||tt.anchorNode!==q.node||tt.anchorOffset!==q.offset||tt.focusNode!==H.node||tt.focusOffset!==H.offset)){var G=rt.createRange();G.setStart(q.node,q.offset),tt.removeAllRanges(),qt>He?(tt.addRange(G),tt.extend(H.node,H.offset)):(G.setEnd(H.node,H.offset),tt.addRange(G))}}}}for(rt=[],tt=C;tt=tt.parentNode;)tt.nodeType===1&&rt.push({element:tt,left:tt.scrollLeft,top:tt.scrollTop});for(typeof C.focus=="function"&&C.focus(),C=0;C<rt.length;C++){var it=rt[C];it.element.scrollLeft=it.left,it.element.scrollTop=it.top}}wn=!!zm,Om=zm=null}finally{Ae=h,F.p=s,j.T=i}}n.current=l,Rn=2}}function pb(){if(Rn===2){Rn=0;var n=Ro,l=Tu,i=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||i){i=j.T,j.T=null;var s=F.p;F.p=2;var h=Ae;Ae|=4;try{Lf(n,l.alternate,l)}finally{Ae=h,F.p=s,j.T=i}}Rn=3}}function yb(){if(Rn===4||Rn===3){Rn=0,Wd();var n=Ro,l=Tu,i=Xi,s=vm;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?Rn=5:(Rn=0,Tu=Ro=null,gb(n,n.pendingLanes));var h=n.pendingLanes;if(h===0&&(We=null),Jp(i),l=l.stateNode,Na&&typeof Na.onCommitFiberRoot=="function")try{Na.onCommitFiberRoot(Yu,l,void 0,(l.current.flags&128)===128)}catch{}if(s!==null){l=j.T,h=F.p,F.p=2,j.T=null;try{for(var p=n.onRecoverableError,S=0;S<s.length;S++){var C=s[S];p(C.value,{componentStack:C.stack})}}finally{j.T=l,F.p=h}}(Xi&3)!==0&&Fr(),Zi(n),h=n.pendingLanes,(i&261930)!==0&&(h&42)!==0?n===Zf?Jr++:(Jr=0,Zf=n):Jr=0,_o(0)}}function gb(n,l){(n.pooledCacheLanes&=l)===0&&(l=n.pooledCache,l!=null&&(n.pooledCache=null,pf(l)))}function Fr(){return mb(),pb(),yb(),vb()}function vb(){if(Rn!==5)return!1;var n=Ro,l=La;La=0;var i=Jp(Xi),s=j.T,h=F.p;try{F.p=32>i?32:i,j.T=null,i=gm,gm=null;var p=Ro,S=Xi;if(Rn=0,Tu=Ro=null,Xi=0,(Ae&6)!==0)throw Error(m(331));var C=Ae;if(Ae|=4,vg(p.current),Xr(p,p.current,S,i),Ae=C,_o(0,!1),Na&&typeof Na.onPostCommitFiberRoot=="function")try{Na.onPostCommitFiberRoot(Yu,p)}catch{}return!0}finally{F.p=h,j.T=s,gb(n,l)}}function bb(n,l,i){l=Wa(i,l),l=Iy(n.stateNode,l,2),n=el(n,l,2),n!==null&&(or(n,2),Zi(n))}function Ue(n,l,i){if(n.tag===3)bb(n,n,i);else for(;l!==null;){if(l.tag===3){bb(l,n,i);break}else if(l.tag===1){var s=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(We===null||!We.has(s))){n=Wa(i,n),i=Py(2),s=el(l,i,2),s!==null&&(tg(i,s,l,n),or(s,2),Zi(s));break}}l=l.return}}function Kf(n,l,i){var s=n.pingCache;if(s===null){s=n.pingCache=new bg;var h=new Set;s.set(l,h)}else h=s.get(l),h===void 0&&(h=new Set,s.set(l,h));h.has(i)||(mm=!0,h.add(i),n=Ag.bind(null,n,l,i),l.then(n,n))}function Ag(n,l,i){var s=n.pingCache;s!==null&&s.delete(l),n.pingedLanes|=n.suspendedLanes&i,n.warmLanes&=~i,Be===n&&(re&i)===i&&(Qe===4||Qe===3&&(re&62914560)===re&&300>In()-ai?(Ae&2)===0&&Qi(n,0):pm|=i,ln===re&&(ln=0)),Zi(n)}function Sb(n,l){l===0&&(l=Gu()),n=go(n,l),n!==null&&(or(n,l),Zi(n))}function ul(n){var l=n.memoizedState,i=0;l!==null&&(i=l.retryLane),Sb(n,i)}function Tb(n,l){var i=0;switch(n.tag){case 31:case 13:var s=n.stateNode,h=n.memoizedState;h!==null&&(i=h.retryLane);break;case 19:s=n.stateNode;break;case 22:s=n.stateNode._retryCache;break;default:throw Error(m(314))}s!==null&&s.delete(l),Sb(n,i)}function Ab(n,l){return Ye(n,l)}var Wr=null,Cs=null,Eg=!1,Tm=!1,xg=!1,Uo=0;function Zi(n){n!==Cs&&n.next===null&&(Cs===null?Wr=Cs=n:Cs=Cs.next=n),Tm=!0,Eg||(Eg=!0,Ff())}function _o(n,l){if(!xg&&Tm){xg=!0;do for(var i=!1,s=Wr;s!==null;){if(n!==0){var h=s.pendingLanes;if(h===0)var p=0;else{var S=s.suspendedLanes,C=s.pingedLanes;p=(1<<31-ma(42|n)+1)-1,p&=h&~(S&~C),p=p&201326741?p&201326741|1:p?p|2:0}p!==0&&(i=!0,Ms(s,p))}else p=re,p=yn(s,s===Be?p:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),(p&3)===0||Vl(s,p)||(i=!0,Ms(s,p));s=s.next}while(i);xg=!1}}function Am(){Dg()}function Dg(){Tm=Eg=!1;var n=0;Uo!==0&&zT()&&(n=Uo);for(var l=In(),i=null,s=Wr;s!==null;){var h=s.next,p=Cg(s,l);p===0?(s.next=null,i===null?Wr=h:i.next=h,h===null&&(Cs=i)):(i=s,(n!==0||(p&3)!==0)&&(Tm=!0)),s=h}Rn!==0&&Rn!==5||_o(n),Uo!==0&&(Uo=0)}function Cg(n,l){for(var i=n.suspendedLanes,s=n.pingedLanes,h=n.expirationTimes,p=n.pendingLanes&-62914561;0<p;){var S=31-ma(p),C=1<<S,N=h[S];N===-1?((C&i)===0||(C&s)!==0)&&(h[S]=ir(C,l)):N<=l&&(n.expiredLanes|=C),p&=~C}if(l=Be,i=re,i=yn(n,n===l?i:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),s=n.callbackNode,i===0||n===l&&(we===2||we===9)||n.cancelPendingCommit!==null)return s!==null&&s!==null&&Qp(s),n.callbackNode=null,n.callbackPriority=0;if((i&3)===0||Vl(n,i)){if(l=i&-i,l===n.callbackPriority)return l;switch(s!==null&&Qp(s),Jp(i)){case 2:case 8:i=Pd;break;case 32:i=Zo;break;case 268435456:i=Zp;break;default:i=Zo}return s=$f.bind(null,n),i=Ye(i,s),n.callbackPriority=l,n.callbackNode=i,l}return s!==null&&s!==null&&Qp(s),n.callbackPriority=2,n.callbackNode=null,2}function $f(n,l){if(Rn!==0&&Rn!==5)return n.callbackNode=null,n.callbackPriority=0,null;var i=n.callbackNode;if(Fr()&&n.callbackNode!==i)return null;var s=re;return s=yn(n,n===Be?s:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),s===0?null:(lb(n,s,l),Cg(n,In()),n.callbackNode!=null&&n.callbackNode===i?$f.bind(null,n):null)}function Ms(n,l){if(Fr())return null;lb(n,l,!0)}function Ff(){Rb(function(){(Ae&6)!==0?Ye(Id,Am):Dg()})}function Em(){if(Uo===0){var n=lu;n===0&&(n=fo,fo<<=1,(fo&261888)===0&&(fo=256)),Uo=n}return Uo}function Eb(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:bl(""+n)}function zs(n,l){var i=l.ownerDocument.createElement("input");return i.name=l.name,i.value=l.value,n.id&&i.setAttribute("form",n.id),l.parentNode.insertBefore(i,l),n=new FormData(n),i.parentNode.removeChild(i),n}function Wf(n,l,i,s,h){if(l==="submit"&&i&&i.stateNode===h){var p=Eb((h[pa]||null).action),S=s.submitter;S&&(l=(l=S[pa]||null)?Eb(l.formAction):S.getAttribute("formAction"),l!==null&&(p=l,S=null));var C=new ef("action","action",null,s,h);n.push({event:C,listeners:[{instance:null,listener:function(){if(s.defaultPrevented){if(Uo!==0){var N=S?zs(h,S):new FormData(h);jr(i,{pending:!0,data:N,method:h.method,action:p},null,N)}}else typeof p=="function"&&(C.preventDefault(),N=S?zs(h,S):new FormData(h),jr(i,{pending:!0,data:N,method:h.method,action:p},p,N))},currentTarget:h}]})}}for(var xm=0;xm<Sr.length;xm++){var Ir=Sr[xm],Mg=Ir.toLowerCase(),zg=Ir[0].toUpperCase()+Ir.slice(1);ga(Mg,"on"+zg)}ga(uf,"onAnimationEnd"),ga(Sy,"onAnimationIteration"),ga(xh,"onAnimationStart"),ga("dblclick","onDoubleClick"),ga("focusin","onFocus"),ga("focusout","onBlur"),ga(as,"onTransitionRun"),ga(sf,"onTransitionStart"),ga(Di,"onTransitionCancel"),ga(Nv,"onTransitionEnd"),Si("onMouseEnter",["mouseout","mouseover"]),Si("onMouseLeave",["mouseout","mouseover"]),Si("onPointerEnter",["pointerout","pointerover"]),Si("onPointerLeave",["pointerout","pointerover"]),$o("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),$o("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),$o("onBeforeInput",["compositionend","keypress","textInput","paste"]),$o("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),$o("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),$o("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Pr="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(" "),xb=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Pr));function Db(n,l){l=(l&4)!==0;for(var i=0;i<n.length;i++){var s=n[i],h=s.event;s=s.listeners;t:{var p=void 0;if(l)for(var S=s.length-1;0<=S;S--){var C=s[S],N=C.instance,Z=C.currentTarget;if(C=C.listener,N!==p&&h.isPropagationStopped())break t;p=C,h.currentTarget=Z;try{p(h)}catch(et){ls(et)}h.currentTarget=null,p=N}else for(S=0;S<s.length;S++){if(C=s[S],N=C.instance,Z=C.currentTarget,C=C.listener,N!==p&&h.isPropagationStopped())break t;p=C,h.currentTarget=Z;try{p(h)}catch(et){ls(et)}h.currentTarget=null,p=N}}}}function fe(n,l){var i=l[ah];i===void 0&&(i=l[ah]=new Set);var s=n+"__bubble";i.has(s)||(If(l,n,2,!1),i.add(s))}function Og(n,l,i){var s=0;l&&(s|=4),If(i,n,s,l)}var Dm="_reactListening"+Math.random().toString(36).slice(2);function tc(n){if(!n[Dm]){n[Dm]=!0,ku.forEach(function(i){i!=="selectionchange"&&(xb.has(i)||Og(i,!1,n),Og(i,!0,n))});var l=n.nodeType===9?n:n.ownerDocument;l===null||l[Dm]||(l[Dm]=!0,Og("selectionchange",!1,l))}}function If(n,l,i,s){switch(ud(l)){case 2:var h=Ji;break;case 8:h=Ki;break;default:h=ea}i=h.bind(null,l,i,n),h=void 0,!Pc||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(h=!0),s?h!==void 0?n.addEventListener(l,i,{capture:!0,passive:h}):n.addEventListener(l,i,!0):h!==void 0?n.addEventListener(l,i,{passive:h}):n.addEventListener(l,i,!1)}function Rg(n,l,i,s,h){var p=s;if((l&1)===0&&(l&2)===0&&s!==null)t:for(;;){if(s===null)return;var S=s.tag;if(S===3||S===4){var C=s.stateNode.containerInfo;if(C===h)break;if(S===4)for(S=s.return;S!==null;){var N=S.tag;if((N===3||N===4)&&S.stateNode.containerInfo===h)return;S=S.return}for(;C!==null;){if(S=Xu(C),S===null)return;if(N=S.tag,N===5||N===6||N===26||N===27){s=p=S;continue t}C=C.parentNode}}s=s.return}ny(function(){var Z=p,et=fh(i),rt=[];t:{var J=Ci.get(n);if(J!==void 0){var tt=ef,Ct=n;switch(n){case"keypress":if(hh(i)===0)break t;case"keydown":case"keyup":tt=gh;break;case"focusin":Ct="focus",tt=ph;break;case"focusout":Ct="blur",tt=ph;break;case"beforeblur":case"afterblur":tt=ph;break;case"click":if(i.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":tt=pr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":tt=Av;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":tt=Mv;break;case uf:case Sy:case xh:tt=xv;break;case Nv:tt=AT;break;case"scroll":case"scrollend":tt=ST;break;case"wheel":tt=ET;break;case"copy":case"cut":case"paste":tt=Fu;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":tt=Gl;break;case"toggle":case"beforetoggle":tt=fy}var qt=(l&4)!==0,He=!qt&&(n==="scroll"||n==="scrollend"),q=qt?J!==null?J+"Capture":null:J;qt=[];for(var H=Z,G;H!==null;){var it=H;if(G=it.stateNode,it=it.tag,it!==5&&it!==26&&it!==27||G===null||q===null||(it=Bn(H,q),it!=null&&qt.push(Pf(H,it,G))),He)break;H=H.return}0<qt.length&&(J=new tt(J,Ct,null,i,et),rt.push({event:J,listeners:qt}))}}if((l&7)===0){t:{if(J=n==="mouseover"||n==="pointerover",tt=n==="mouseout"||n==="pointerout",J&&i!==ch&&(Ct=i.relatedTarget||i.fromElement)&&(Xu(Ct)||Ct[Jo]))break t;if((tt||J)&&(J=et.window===et?et:(J=et.ownerDocument)?J.defaultView||J.parentWindow:window,tt?(Ct=i.relatedTarget||i.toElement,tt=Z,Ct=Ct?Xu(Ct):null,Ct!==null&&(He=T(Ct),qt=Ct.tag,Ct!==He||qt!==5&&qt!==27&&qt!==6)&&(Ct=null)):(tt=null,Ct=Z),tt!==Ct)){if(qt=pr,it="onMouseLeave",q="onMouseEnter",H="mouse",(n==="pointerout"||n==="pointerover")&&(qt=Gl,it="onPointerLeave",q="onPointerEnter",H="pointer"),He=tt==null?J:ur(tt),G=Ct==null?J:ur(Ct),J=new qt(it,H+"leave",tt,i,et),J.target=He,J.relatedTarget=G,it=null,Xu(et)===Z&&(qt=new qt(q,H+"enter",Ct,i,et),qt.target=G,qt.relatedTarget=He,it=qt),He=it,tt&&Ct)e:{for(qt=Cb,q=tt,H=Ct,G=0,it=q;it;it=qt(it))G++;it=0;for(var _t=H;_t;_t=qt(_t))it++;for(;0<G-it;)q=qt(q),G--;for(;0<it-G;)H=qt(H),it--;for(;G--;){if(q===H||H!==null&&q===H.alternate){qt=q;break e}q=qt(q),H=qt(H)}qt=null}else qt=null;tt!==null&&Cm(rt,J,tt,qt,!1),Ct!==null&&He!==null&&Cm(rt,He,Ct,qt,!0)}}t:{if(J=Z?ur(Z):window,tt=J.nodeName&&J.nodeName.toLowerCase(),tt==="select"||tt==="input"&&J.type==="file")var Se=yy;else if(xi(J))if(Sh)Se=es;else{Se=Uv;var Rt=wv}else tt=J.nodeName,!tt||tt.toLowerCase()!=="input"||J.type!=="checkbox"&&J.type!=="radio"?Z&&ey(Z.elementType)&&(Se=yy):Se=Po;if(Se&&(Se=Se(n,Z))){py(rt,Se,i,et);break t}Rt&&Rt(n,J,Z),n==="focusout"&&Z&&J.type==="number"&&Z.memoizedProps.value!=null&&Ju(J,"number",J.value)}switch(Rt=Z?ur(Z):window,n){case"focusin":(xi(Rt)||Rt.contentEditable==="true")&&(eu=Rt,vr=Z,Al=null);break;case"focusout":Al=vr=eu=null;break;case"mousedown":Ql=!0;break;case"contextmenu":case"mouseup":case"dragend":Ql=!1,Eh(rt,i,et);break;case"selectionchange":if(of)break;case"keydown":case"keyup":Eh(rt,i,et)}var Pt;if(yr)t:{switch(n){case"compositionstart":var ne="onCompositionStart";break t;case"compositionend":ne="onCompositionEnd";break t;case"compositionupdate":ne="onCompositionUpdate";break t}ne=void 0}else Iu?bh(n,i)&&(ne="onCompositionEnd"):n==="keydown"&&i.keyCode===229&&(ne="onCompositionStart");ne&&(dy&&i.locale!=="ko"&&(Iu||ne!=="onCompositionStart"?ne==="onCompositionEnd"&&Iu&&(Pt=ly()):(po=et,ay="value"in po?po.value:po.textContent,Iu=!0)),Rt=td(Z,ne),0<Rt.length&&(ne=new Dv(ne,n,null,i,et),rt.push({event:ne,listeners:Rt}),Pt?ne.data=Pt:(Pt=hy(i),Pt!==null&&(ne.data=Pt)))),(Pt=ia?Rv(n,i):xT(n,i))&&(ne=td(Z,"onBeforeInput"),0<ne.length&&(Rt=new Dv("onBeforeInput","beforeinput",null,i,et),rt.push({event:Rt,listeners:ne}),Rt.data=Pt)),Wf(rt,n,Z,i,et)}Db(rt,l)})}function Pf(n,l,i){return{instance:n,listener:l,currentTarget:i}}function td(n,l){for(var i=l+"Capture",s=[];n!==null;){var h=n,p=h.stateNode;if(h=h.tag,h!==5&&h!==26&&h!==27||p===null||(h=Bn(n,i),h!=null&&s.unshift(Pf(n,h,p)),h=Bn(n,l),h!=null&&s.push(Pf(n,h,p))),n.tag===3)return s;n=n.return}return[]}function Cb(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function Cm(n,l,i,s,h){for(var p=l._reactName,S=[];i!==null&&i!==s;){var C=i,N=C.alternate,Z=C.stateNode;if(C=C.tag,N!==null&&N===s)break;C!==5&&C!==26&&C!==27||Z===null||(N=Z,h?(Z=Bn(i,p),Z!=null&&S.unshift(Pf(i,Z,N))):h||(Z=Bn(i,p),Z!=null&&S.push(Pf(i,Z,N)))),i=i.return}S.length!==0&&n.push({event:l,listeners:S})}var Mb=/\r\n?/g,wg=/\u0000|\uFFFD/g;function Ug(n){return(typeof n=="string"?n:""+n).replace(Mb,`
54
- `).replace(wg,"")}function _g(n,l){return l=Ug(l),Ug(n)===l}function Ve(n,l,i,s,h,p){switch(i){case"children":typeof s=="string"?l==="body"||l==="textarea"&&s===""||Ti(n,s):(typeof s=="number"||typeof s=="bigint")&&l!=="body"&&Ti(n,""+s);break;case"className":uh(n,"class",s);break;case"tabIndex":uh(n,"tabindex",s);break;case"dir":case"role":case"viewBox":case"width":case"height":uh(n,i,s);break;case"style":bv(n,s,p);break;case"data":if(l!=="object"){uh(n,"data",s);break}case"src":case"href":if(s===""&&(l!=="a"||i!=="href")){n.removeAttribute(i);break}if(s==null||typeof s=="function"||typeof s=="symbol"||typeof s=="boolean"){n.removeAttribute(i);break}s=bl(""+s),n.setAttribute(i,s);break;case"action":case"formAction":if(typeof s=="function"){n.setAttribute(i,"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 p=="function"&&(i==="formAction"?(l!=="input"&&Ve(n,l,"name",h.name,h,null),Ve(n,l,"formEncType",h.formEncType,h,null),Ve(n,l,"formMethod",h.formMethod,h,null),Ve(n,l,"formTarget",h.formTarget,h,null)):(Ve(n,l,"encType",h.encType,h,null),Ve(n,l,"method",h.method,h,null),Ve(n,l,"target",h.target,h,null)));if(s==null||typeof s=="symbol"||typeof s=="boolean"){n.removeAttribute(i);break}s=bl(""+s),n.setAttribute(i,s);break;case"onClick":s!=null&&(n.onclick=Ll);break;case"onScroll":s!=null&&fe("scroll",n);break;case"onScrollEnd":s!=null&&fe("scrollend",n);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(m(61));if(i=s.__html,i!=null){if(h.children!=null)throw Error(m(60));n.innerHTML=i}}break;case"multiple":n.multiple=s&&typeof s!="function"&&typeof s!="symbol";break;case"muted":n.muted=s&&typeof s!="function"&&typeof s!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(s==null||typeof s=="function"||typeof s=="boolean"||typeof s=="symbol"){n.removeAttribute("xlink:href");break}i=bl(""+s),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":s!=null&&typeof s!="function"&&typeof s!="symbol"?n.setAttribute(i,""+s):n.removeAttribute(i);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":s&&typeof s!="function"&&typeof s!="symbol"?n.setAttribute(i,""):n.removeAttribute(i);break;case"capture":case"download":s===!0?n.setAttribute(i,""):s!==!1&&s!=null&&typeof s!="function"&&typeof s!="symbol"?n.setAttribute(i,s):n.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":s!=null&&typeof s!="function"&&typeof s!="symbol"&&!isNaN(s)&&1<=s?n.setAttribute(i,s):n.removeAttribute(i);break;case"rowSpan":case"start":s==null||typeof s=="function"||typeof s=="symbol"||isNaN(s)?n.removeAttribute(i):n.setAttribute(i,s);break;case"popover":fe("beforetoggle",n),fe("toggle",n),cr(n,"popover",s);break;case"xlinkActuate":ho(n,"http://www.w3.org/1999/xlink","xlink:actuate",s);break;case"xlinkArcrole":ho(n,"http://www.w3.org/1999/xlink","xlink:arcrole",s);break;case"xlinkRole":ho(n,"http://www.w3.org/1999/xlink","xlink:role",s);break;case"xlinkShow":ho(n,"http://www.w3.org/1999/xlink","xlink:show",s);break;case"xlinkTitle":ho(n,"http://www.w3.org/1999/xlink","xlink:title",s);break;case"xlinkType":ho(n,"http://www.w3.org/1999/xlink","xlink:type",s);break;case"xmlBase":ho(n,"http://www.w3.org/XML/1998/namespace","xml:base",s);break;case"xmlLang":ho(n,"http://www.w3.org/XML/1998/namespace","xml:lang",s);break;case"xmlSpace":ho(n,"http://www.w3.org/XML/1998/namespace","xml:space",s);break;case"is":cr(n,"is",s);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=bT.get(i)||i,cr(n,i,s))}}function Ng(n,l,i,s,h,p){switch(i){case"style":bv(n,s,p);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(m(61));if(i=s.__html,i!=null){if(h.children!=null)throw Error(m(60));n.innerHTML=i}}break;case"children":typeof s=="string"?Ti(n,s):(typeof s=="number"||typeof s=="bigint")&&Ti(n,""+s);break;case"onScroll":s!=null&&fe("scroll",n);break;case"onScrollEnd":s!=null&&fe("scrollend",n);break;case"onClick":s!=null&&(n.onclick=Ll);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Ko.hasOwnProperty(i))t:{if(i[0]==="o"&&i[1]==="n"&&(h=i.endsWith("Capture"),l=i.slice(2,h?i.length-7:void 0),p=n[pa]||null,p=p!=null?p[i]:null,typeof p=="function"&&n.removeEventListener(l,p,h),typeof s=="function")){typeof p!="function"&&p!==null&&(i in n?n[i]=null:n.hasAttribute(i)&&n.removeAttribute(i)),n.addEventListener(l,s,h);break t}i in n?n[i]=s:s===!0?n.setAttribute(i,""):cr(n,i,s)}}}function ta(n,l,i){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":fe("error",n),fe("load",n);var s=!1,h=!1,p;for(p in i)if(i.hasOwnProperty(p)){var S=i[p];if(S!=null)switch(p){case"src":s=!0;break;case"srcSet":h=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(m(137,l));default:Ve(n,l,p,S,i,null)}}h&&Ve(n,l,"srcSet",i.srcSet,i,null),s&&Ve(n,l,"src",i.src,i,null);return;case"input":fe("invalid",n);var C=p=S=h=null,N=null,Z=null;for(s in i)if(i.hasOwnProperty(s)){var et=i[s];if(et!=null)switch(s){case"name":h=et;break;case"type":S=et;break;case"checked":N=et;break;case"defaultChecked":Z=et;break;case"value":p=et;break;case"defaultValue":C=et;break;case"children":case"dangerouslySetInnerHTML":if(et!=null)throw Error(m(137,l));break;default:Ve(n,l,s,et,i,null)}}Fc(n,p,C,N,Z,S,h,!1);return;case"select":fe("invalid",n),s=S=p=null;for(h in i)if(i.hasOwnProperty(h)&&(C=i[h],C!=null))switch(h){case"value":p=C;break;case"defaultValue":S=C;break;case"multiple":s=C;default:Ve(n,l,h,C,i,null)}l=p,i=S,n.multiple=!!s,l!=null?fr(n,!!s,l,!1):i!=null&&fr(n,!!s,i,!0);return;case"textarea":fe("invalid",n),p=h=s=null;for(S in i)if(i.hasOwnProperty(S)&&(C=i[S],C!=null))switch(S){case"value":s=C;break;case"defaultValue":h=C;break;case"children":p=C;break;case"dangerouslySetInnerHTML":if(C!=null)throw Error(m(91));break;default:Ve(n,l,S,C,i,null)}ty(n,s,h,p);return;case"option":for(N in i)if(i.hasOwnProperty(N)&&(s=i[N],s!=null))switch(N){case"selected":n.selected=s&&typeof s!="function"&&typeof s!="symbol";break;default:Ve(n,l,N,s,i,null)}return;case"dialog":fe("beforetoggle",n),fe("toggle",n),fe("cancel",n),fe("close",n);break;case"iframe":case"object":fe("load",n);break;case"video":case"audio":for(s=0;s<Pr.length;s++)fe(Pr[s],n);break;case"image":fe("error",n),fe("load",n);break;case"details":fe("toggle",n);break;case"embed":case"source":case"link":fe("error",n),fe("load",n);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(Z in i)if(i.hasOwnProperty(Z)&&(s=i[Z],s!=null))switch(Z){case"children":case"dangerouslySetInnerHTML":throw Error(m(137,l));default:Ve(n,l,Z,s,i,null)}return;default:if(ey(l)){for(et in i)i.hasOwnProperty(et)&&(s=i[et],s!==void 0&&Ng(n,l,et,s,i,void 0));return}}for(C in i)i.hasOwnProperty(C)&&(s=i[C],s!=null&&Ve(n,l,C,s,i,null))}function jg(n,l,i,s){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var h=null,p=null,S=null,C=null,N=null,Z=null,et=null;for(tt in i){var rt=i[tt];if(i.hasOwnProperty(tt)&&rt!=null)switch(tt){case"checked":break;case"value":break;case"defaultValue":N=rt;default:s.hasOwnProperty(tt)||Ve(n,l,tt,null,s,rt)}}for(var J in s){var tt=s[J];if(rt=i[J],s.hasOwnProperty(J)&&(tt!=null||rt!=null))switch(J){case"type":p=tt;break;case"name":h=tt;break;case"checked":Z=tt;break;case"defaultChecked":et=tt;break;case"value":S=tt;break;case"defaultValue":C=tt;break;case"children":case"dangerouslySetInnerHTML":if(tt!=null)throw Error(m(137,l));break;default:tt!==rt&&Ve(n,l,J,tt,s,rt)}}$c(n,S,C,N,Z,et,p,h);return;case"select":tt=S=C=J=null;for(p in i)if(N=i[p],i.hasOwnProperty(p)&&N!=null)switch(p){case"value":break;case"multiple":tt=N;default:s.hasOwnProperty(p)||Ve(n,l,p,null,s,N)}for(h in s)if(p=s[h],N=i[h],s.hasOwnProperty(h)&&(p!=null||N!=null))switch(h){case"value":J=p;break;case"defaultValue":C=p;break;case"multiple":S=p;default:p!==N&&Ve(n,l,h,p,s,N)}l=C,i=S,s=tt,J!=null?fr(n,!!i,J,!1):!!s!=!!i&&(l!=null?fr(n,!!i,l,!0):fr(n,!!i,i?[]:"",!1));return;case"textarea":tt=J=null;for(C in i)if(h=i[C],i.hasOwnProperty(C)&&h!=null&&!s.hasOwnProperty(C))switch(C){case"value":break;case"children":break;default:Ve(n,l,C,null,s,h)}for(S in s)if(h=s[S],p=i[S],s.hasOwnProperty(S)&&(h!=null||p!=null))switch(S){case"value":J=h;break;case"defaultValue":tt=h;break;case"children":break;case"dangerouslySetInnerHTML":if(h!=null)throw Error(m(91));break;default:h!==p&&Ve(n,l,S,h,s,p)}Pp(n,J,tt);return;case"option":for(var Ct in i)if(J=i[Ct],i.hasOwnProperty(Ct)&&J!=null&&!s.hasOwnProperty(Ct))switch(Ct){case"selected":n.selected=!1;break;default:Ve(n,l,Ct,null,s,J)}for(N in s)if(J=s[N],tt=i[N],s.hasOwnProperty(N)&&J!==tt&&(J!=null||tt!=null))switch(N){case"selected":n.selected=J&&typeof J!="function"&&typeof J!="symbol";break;default:Ve(n,l,N,J,s,tt)}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 qt in i)J=i[qt],i.hasOwnProperty(qt)&&J!=null&&!s.hasOwnProperty(qt)&&Ve(n,l,qt,null,s,J);for(Z in s)if(J=s[Z],tt=i[Z],s.hasOwnProperty(Z)&&J!==tt&&(J!=null||tt!=null))switch(Z){case"children":case"dangerouslySetInnerHTML":if(J!=null)throw Error(m(137,l));break;default:Ve(n,l,Z,J,s,tt)}return;default:if(ey(l)){for(var He in i)J=i[He],i.hasOwnProperty(He)&&J!==void 0&&!s.hasOwnProperty(He)&&Ng(n,l,He,void 0,s,J);for(et in s)J=s[et],tt=i[et],!s.hasOwnProperty(et)||J===tt||J===void 0&&tt===void 0||Ng(n,l,et,J,s,tt);return}}for(var q in i)J=i[q],i.hasOwnProperty(q)&&J!=null&&!s.hasOwnProperty(q)&&Ve(n,l,q,null,s,J);for(rt in s)J=s[rt],tt=i[rt],!s.hasOwnProperty(rt)||J===tt||J==null&&tt==null||Ve(n,l,rt,J,s,tt)}function Mm(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Bg(){if(typeof performance.getEntriesByType=="function"){for(var n=0,l=0,i=performance.getEntriesByType("resource"),s=0;s<i.length;s++){var h=i[s],p=h.transferSize,S=h.initiatorType,C=h.duration;if(p&&C&&Mm(S)){for(S=0,C=h.responseEnd,s+=1;s<i.length;s++){var N=i[s],Z=N.startTime;if(Z>C)break;var et=N.transferSize,rt=N.initiatorType;et&&Mm(rt)&&(N=N.responseEnd,S+=et*(N<C?1:(C-Z)/(N-Z)))}if(--s,l+=8*(p+S)/(h.duration/1e3),n++,10<n)break}}if(0<n)return l/n/1e6}return navigator.connection&&(n=navigator.connection.downlink,typeof n=="number")?n:5}var zm=null,Om=null;function Eu(n){return n.nodeType===9?n:n.ownerDocument}function zb(n){switch(n){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Vg(n,l){if(n===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&l==="foreignObject"?0:n}function ec(n,l){return n==="textarea"||n==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.children=="bigint"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var Rm=null;function zT(){var n=window.event;return n&&n.type==="popstate"?n===Rm?!1:(Rm=n,!0):(Rm=null,!1)}var ed=typeof setTimeout=="function"?setTimeout:void 0,Ob=typeof clearTimeout=="function"?clearTimeout:void 0,Os=typeof Promise=="function"?Promise:void 0,Rb=typeof queueMicrotask=="function"?queueMicrotask:typeof Os<"u"?function(n){return Os.resolve(null).then(n).catch(Hg)}:ed;function Hg(n){setTimeout(function(){throw n})}function li(n){return n==="head"}function Lg(n,l){var i=l,s=0;do{var h=i.nextSibling;if(n.removeChild(i),h&&h.nodeType===8)if(i=h.data,i==="/$"||i==="/&"){if(s===0){n.removeChild(h),hc(l);return}s--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")s++;else if(i==="html")Rs(n.ownerDocument.documentElement);else if(i==="head"){i=n.ownerDocument.head,Rs(i);for(var p=i.firstChild;p;){var S=p.nextSibling,C=p.nodeName;p[bi]||C==="SCRIPT"||C==="STYLE"||C==="LINK"&&p.rel.toLowerCase()==="stylesheet"||i.removeChild(p),p=S}}else i==="body"&&Rs(n.ownerDocument.body);i=h}while(i);hc(l)}function Tn(n,l){var i=n;n=0;do{var s=i.nextSibling;if(i.nodeType===1?l?(i._stashedDisplay=i.style.display,i.style.display="none"):(i.style.display=i._stashedDisplay||"",i.getAttribute("style")===""&&i.removeAttribute("style")):i.nodeType===3&&(l?(i._stashedText=i.nodeValue,i.nodeValue=""):i.nodeValue=i._stashedText||""),s&&s.nodeType===8)if(i=s.data,i==="/$"){if(n===0)break;n--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||n++;i=s}while(i)}function nd(n){var l=n.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var i=l;switch(l=l.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":nd(i),lh(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}n.removeChild(i)}}function OT(n,l,i,s){for(;n.nodeType===1;){var h=i;if(n.nodeName.toLowerCase()!==l.toLowerCase()){if(!s&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(s){if(!n[bi])switch(l){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(p=n.getAttribute("rel"),p==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(p!==h.rel||n.getAttribute("href")!==(h.href==null||h.href===""?null:h.href)||n.getAttribute("crossorigin")!==(h.crossOrigin==null?null:h.crossOrigin)||n.getAttribute("title")!==(h.title==null?null:h.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(p=n.getAttribute("src"),(p!==(h.src==null?null:h.src)||n.getAttribute("type")!==(h.type==null?null:h.type)||n.getAttribute("crossorigin")!==(h.crossOrigin==null?null:h.crossOrigin))&&p&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(l==="input"&&n.type==="hidden"){var p=h.name==null?null:""+h.name;if(h.type==="hidden"&&n.getAttribute("name")===p)return n}else return n;if(n=Oa(n.nextSibling),n===null)break}return null}function le(n,l,i){if(l==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!i||(n=Oa(n.nextSibling),n===null))return null;return n}function wb(n,l){for(;n.nodeType!==8;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!l||(n=Oa(n.nextSibling),n===null))return null;return n}function Rl(n){return n.data==="$?"||n.data==="$~"}function xu(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function nc(n,l){var i=n.ownerDocument;if(n.data==="$~")n._reactRetry=l;else if(n.data!=="$?"||i.readyState!=="loading")l();else{var s=function(){l(),i.removeEventListener("DOMContentLoaded",s)};i.addEventListener("DOMContentLoaded",s),n._reactRetry=s}}function Oa(n){for(;n!=null;n=n.nextSibling){var l=n.nodeType;if(l===1||l===3)break;if(l===8){if(l=n.data,l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"||l==="F!"||l==="F")break;if(l==="/$"||l==="/&")return null}}return n}var ad=null;function wm(n){n=n.nextSibling;for(var l=0;n;){if(n.nodeType===8){var i=n.data;if(i==="/$"||i==="/&"){if(l===0)return Oa(n.nextSibling);l--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||l++}n=n.nextSibling}return null}function ii(n){n=n.previousSibling;for(var l=0;n;){if(n.nodeType===8){var i=n.data;if(i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"){if(l===0)return n;l--}else i!=="/$"&&i!=="/&"||l++}n=n.previousSibling}return null}function ac(n,l,i){switch(l=Eu(i),n){case"html":if(n=l.documentElement,!n)throw Error(m(452));return n;case"head":if(n=l.head,!n)throw Error(m(453));return n;case"body":if(n=l.body,!n)throw Error(m(454));return n;default:throw Error(m(451))}}function Rs(n){for(var l=n.attributes;l.length;)n.removeAttributeNode(l[0]);lh(n)}var Ya=new Map,ld=new Set;function sa(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var oi=F.d;F.d={f:RT,r:Ub,D:P,C:Me,L:wT,m:qg,X:No,S:Yg,M:Du};function RT(){var n=oi.f(),l=Kr();return n||l}function Ub(n){var l=Qu(n);l!==null&&l.tag===5&&l.type==="form"?je(l):oi.r(n)}var lc=typeof document>"u"?null:document;function Dn(n,l,i){var s=lc;if(s&&typeof l=="string"&&l){var h=Ka(l);h='link[rel="'+n+'"][href="'+h+'"]',typeof i=="string"&&(h+='[crossorigin="'+i+'"]'),ld.has(h)||(ld.add(h),n={rel:n,crossOrigin:i,href:l},s.querySelector(h)===null&&(l=s.createElement("link"),ta(l,"link",n),ze(l),s.head.appendChild(l)))}}function P(n){oi.D(n),Dn("dns-prefetch",n,null)}function Me(n,l){oi.C(n,l),Dn("preconnect",n,l)}function wT(n,l,i){oi.L(n,l,i);var s=lc;if(s&&n&&l){var h='link[rel="preload"][as="'+Ka(l)+'"]';l==="image"&&i&&i.imageSrcSet?(h+='[imagesrcset="'+Ka(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(h+='[imagesizes="'+Ka(i.imageSizes)+'"]')):h+='[href="'+Ka(n)+'"]';var p=h;switch(l){case"style":p=sl(n);break;case"script":p=ws(n)}Ya.has(p)||(n=O({rel:"preload",href:l==="image"&&i&&i.imageSrcSet?void 0:n,as:l},i),Ya.set(p,n),s.querySelector(h)!==null||l==="style"&&s.querySelector(Cu(p))||l==="script"&&s.querySelector(uc(p))||(l=s.createElement("link"),ta(l,"link",n),ze(l),s.head.appendChild(l)))}}function qg(n,l){oi.m(n,l);var i=lc;if(i&&n){var s=l&&typeof l.as=="string"?l.as:"script",h='link[rel="modulepreload"][as="'+Ka(s)+'"][href="'+Ka(n)+'"]',p=h;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":p=ws(n)}if(!Ya.has(p)&&(n=O({rel:"modulepreload",href:n},l),Ya.set(p,n),i.querySelector(h)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(uc(p)))return}s=i.createElement("link"),ta(s,"link",n),ze(s),i.head.appendChild(s)}}}function Yg(n,l,i){oi.S(n,l,i);var s=lc;if(s&&n){var h=Zu(s).hoistableStyles,p=sl(n);l=l||"default";var S=h.get(p);if(!S){var C={loading:0,preload:null};if(S=s.querySelector(Cu(p)))C.loading=5;else{n=O({rel:"stylesheet",href:n,"data-precedence":l},i),(i=Ya.get(p))&&Um(n,i);var N=S=s.createElement("link");ze(N),ta(N,"link",n),N._p=new Promise(function(Z,et){N.onload=Z,N.onerror=et}),N.addEventListener("load",function(){C.loading|=1}),N.addEventListener("error",function(){C.loading|=2}),C.loading|=4,id(S,l,s)}S={type:"stylesheet",instance:S,count:1,state:C},h.set(p,S)}}}function No(n,l){oi.X(n,l);var i=lc;if(i&&n){var s=Zu(i).hoistableScripts,h=ws(n),p=s.get(h);p||(p=i.querySelector(uc(h)),p||(n=O({src:n,async:!0},l),(l=Ya.get(h))&&_m(n,l),p=i.createElement("script"),ze(p),ta(p,"link",n),i.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},s.set(h,p))}}function Du(n,l){oi.M(n,l);var i=lc;if(i&&n){var s=Zu(i).hoistableScripts,h=ws(n),p=s.get(h);p||(p=i.querySelector(uc(h)),p||(n=O({src:n,async:!0,type:"module"},l),(l=Ya.get(h))&&_m(n,l),p=i.createElement("script"),ze(p),ta(p,"link",n),i.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},s.set(h,p))}}function ic(n,l,i,s){var h=(h=xe.current)?sa(h):null;if(!h)throw Error(m(446));switch(n){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(l=sl(i.href),i=Zu(h).hoistableStyles,s=i.get(l),s||(s={type:"style",instance:null,count:0,state:null},i.set(l,s)),s):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){n=sl(i.href);var p=Zu(h).hoistableStyles,S=p.get(n);if(S||(h=h.ownerDocument||h,S={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},p.set(n,S),(p=h.querySelector(Cu(n)))&&!p._p&&(S.instance=p,S.state.loading=5),Ya.has(n)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},Ya.set(n,i),p||_b(h,n,i,S.state))),l&&s===null)throw Error(m(528,""));return S}if(l&&s!==null)throw Error(m(529,""));return null;case"script":return l=i.async,i=i.src,typeof i=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=ws(i),i=Zu(h).hoistableScripts,s=i.get(l),s||(s={type:"script",instance:null,count:0,state:null},i.set(l,s)),s):{type:"void",instance:null,count:0,state:null};default:throw Error(m(444,n))}}function sl(n){return'href="'+Ka(n)+'"'}function Cu(n){return'link[rel="stylesheet"]['+n+"]"}function oc(n){return O({},n,{"data-precedence":n.precedence,precedence:null})}function _b(n,l,i,s){n.querySelector('link[rel="preload"][as="style"]['+l+"]")?s.loading=1:(l=n.createElement("link"),s.preload=l,l.addEventListener("load",function(){return s.loading|=1}),l.addEventListener("error",function(){return s.loading|=2}),ta(l,"link",i),ze(l),n.head.appendChild(l))}function ws(n){return'[src="'+Ka(n)+'"]'}function uc(n){return"script[async]"+n}function Gg(n,l,i){if(l.count++,l.instance===null)switch(l.type){case"style":var s=n.querySelector('style[data-href~="'+Ka(i.href)+'"]');if(s)return l.instance=s,ze(s),s;var h=O({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return s=(n.ownerDocument||n).createElement("style"),ze(s),ta(s,"style",h),id(s,i.precedence,n),l.instance=s;case"stylesheet":h=sl(i.href);var p=n.querySelector(Cu(h));if(p)return l.state.loading|=4,l.instance=p,ze(p),p;s=oc(i),(h=Ya.get(h))&&Um(s,h),p=(n.ownerDocument||n).createElement("link"),ze(p);var S=p;return S._p=new Promise(function(C,N){S.onload=C,S.onerror=N}),ta(p,"link",s),l.state.loading|=4,id(p,i.precedence,n),l.instance=p;case"script":return p=ws(i.src),(h=n.querySelector(uc(p)))?(l.instance=h,ze(h),h):(s=i,(h=Ya.get(p))&&(s=O({},i),_m(s,h)),n=n.ownerDocument||n,h=n.createElement("script"),ze(h),ta(h,"link",s),n.head.appendChild(h),l.instance=h);case"void":return null;default:throw Error(m(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(s=l.instance,l.state.loading|=4,id(s,i.precedence,n));return l.instance}function id(n,l,i){for(var s=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),h=s.length?s[s.length-1]:null,p=h,S=0;S<s.length;S++){var C=s[S];if(C.dataset.precedence===l)p=C;else if(p!==h)break}p?p.parentNode.insertBefore(n,p.nextSibling):(l=i.nodeType===9?i.head:i,l.insertBefore(n,l.firstChild))}function Um(n,l){n.crossOrigin==null&&(n.crossOrigin=l.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=l.referrerPolicy),n.title==null&&(n.title=l.title)}function _m(n,l){n.crossOrigin==null&&(n.crossOrigin=l.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=l.referrerPolicy),n.integrity==null&&(n.integrity=l.integrity)}var sc=null;function Xg(n,l,i){if(sc===null){var s=new Map,h=sc=new Map;h.set(i,s)}else h=sc,s=h.get(i),s||(s=new Map,h.set(i,s));if(s.has(n))return s;for(s.set(n,null),i=i.getElementsByTagName(n),h=0;h<i.length;h++){var p=i[h];if(!(p[bi]||p[Ne]||n==="link"&&p.getAttribute("rel")==="stylesheet")&&p.namespaceURI!=="http://www.w3.org/2000/svg"){var S=p.getAttribute(l)||"";S=n+S;var C=s.get(S);C?C.push(p):s.set(S,[p])}}return s}function Nm(n,l,i){n=n.ownerDocument||n,n.head.insertBefore(i,l==="title"?n.querySelector("head > title"):null)}function Qg(n,l,i){if(i===1||l.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return n=l.disabled,typeof l.precedence=="string"&&n==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function Ga(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function ki(n,l,i,s){if(i.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var h=sl(s.href),p=l.querySelector(Cu(h));if(p){l=p._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(n.count++,n=jm.bind(n),l.then(n,n)),i.state.loading|=4,i.instance=p,ze(p);return}p=l.ownerDocument||l,s=oc(s),(h=Ya.get(h))&&Um(s,h),p=p.createElement("link"),ze(p);var S=p;S._p=new Promise(function(C,N){S.onload=C,S.onerror=N}),ta(p,"link",s),i.instance=p}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(i,l),(l=i.state.preload)&&(i.state.loading&3)===0&&(n.count++,i=jm.bind(n),l.addEventListener("load",i),l.addEventListener("error",i))}}var rl=0;function Zg(n,l){return n.stylesheets&&n.count===0&&Vm(n,n.stylesheets),0<n.count||0<n.imgCount?function(i){var s=setTimeout(function(){if(n.stylesheets&&Vm(n,n.stylesheets),n.unsuspend){var p=n.unsuspend;n.unsuspend=null,p()}},6e4+l);0<n.imgBytes&&rl===0&&(rl=62500*Bg());var h=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&Vm(n,n.stylesheets),n.unsuspend)){var p=n.unsuspend;n.unsuspend=null,p()}},(n.imgBytes>rl?50:800)+l);return n.unsuspend=i,function(){n.unsuspend=null,clearTimeout(s),clearTimeout(h)}}:null}function jm(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Vm(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var Bm=null;function Vm(n,l){n.stylesheets=null,n.unsuspend!==null&&(n.count++,Bm=new Map,l.forEach(Xn,n),Bm=null,jm.call(n))}function Xn(n,l){if(!(l.state.loading&4)){var i=Bm.get(n);if(i)var s=i.get(null);else{i=new Map,Bm.set(n,i);for(var h=n.querySelectorAll("link[data-precedence],style[data-precedence]"),p=0;p<h.length;p++){var S=h[p];(S.nodeName==="LINK"||S.getAttribute("media")!=="not all")&&(i.set(S.dataset.precedence,S),s=S)}s&&i.set(null,s)}h=l.instance,S=h.getAttribute("data-precedence"),p=i.get(S)||s,p===s&&i.set(null,h),i.set(S,h),this.count++,s=jm.bind(this),h.addEventListener("load",s),h.addEventListener("error",s),p?p.parentNode.insertBefore(h,p.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(h,n.firstChild)),l.state.loading|=4}}var od={$$typeof:ht,Provider:null,Consumer:null,_currentValue:k,_currentValue2:k,_threadCount:0};function kg(n,l,i,s,h,p,S,C,N){this.tag=1,this.containerInfo=n,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=kc(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=kc(0),this.hiddenUpdates=kc(null),this.identifierPrefix=s,this.onUncaughtError=h,this.onCaughtError=p,this.onRecoverableError=S,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=N,this.incompleteTransitions=new Map}function Hm(n,l,i,s,h,p,S,C,N,Z,et,rt){return n=new kg(n,l,i,S,N,Z,et,rt,C),l=1,p===!0&&(l|=24),p=rn(3,null,null,l),n.current=p,p.stateNode=n,l=mf(),l.refCount++,n.pooledCache=l,l.refCount++,p.memoizedState={element:s,isDehydrated:i,cache:l},Tf(p),n}function Us(n){return n?(n=va,n):va}function Nb(n,l,i,s,h,p){h=Us(h),s.context===null?s.context=h:s.pendingContext=h,s=xo(l),s.payload={element:i},p=p===void 0?null:p,p!==null&&(s.callback=p),i=el(n,s,l),i!==null&&(za(i,n,l),cu(i,n,l))}function Lm(n,l){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var i=n.retryLane;n.retryLane=i!==0&&i<l?i:l}}function Jg(n,l){Lm(n,l),(n=n.alternate)&&Lm(n,l)}function jb(n){if(n.tag===13||n.tag===31){var l=go(n,67108864);l!==null&&za(l,n,67108864),Jg(n,67108864)}}function _s(n){if(n.tag===13||n.tag===31){var l=qa();l=eh(l);var i=go(n,l);i!==null&&za(i,n,l),Jg(n,l)}}var wn=!0;function Ji(n,l,i,s){var h=j.T;j.T=null;var p=F.p;try{F.p=2,ea(n,l,i,s)}finally{F.p=p,j.T=h}}function Ki(n,l,i,s){var h=j.T;j.T=null;var p=F.p;try{F.p=8,ea(n,l,i,s)}finally{F.p=p,j.T=h}}function ea(n,l,i,s){if(wn){var h=Kg(s);if(h===null)Rg(n,l,s,qm,i),jo(n,s);else if(UT(h,n,l,i,s))s.stopPropagation();else if(jo(n,s),l&4&&-1<Ra.indexOf(n)){for(;h!==null;){var p=Qu(h);if(p!==null)switch(p.tag){case 3:if(p=p.stateNode,p.current.memoizedState.isDehydrated){var S=vl(p.pendingLanes);if(S!==0){var C=p;for(C.pendingLanes|=2,C.entangledLanes|=2;S;){var N=1<<31-ma(S);C.entanglements[1]|=N,S&=~N}Zi(p),(Ae&6)===0&&(Ce=In()+500,_o(0))}}break;case 31:case 13:C=go(p,2),C!==null&&za(C,p,2),Kr(),Jg(p,2)}if(p=Kg(s),p===null&&Rg(n,l,s,qm,i),p===h)break;h=p}h!==null&&s.stopPropagation()}else Rg(n,l,s,null,i)}}function Kg(n){return n=fh(n),rc(n)}var qm=null;function rc(n){if(qm=null,n=Xu(n),n!==null){var l=T(n);if(l===null)n=null;else{var i=l.tag;if(i===13){if(n=b(l),n!==null)return n;n=null}else if(i===31){if(n=A(l),n!==null)return n;n=null}else if(i===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;n=null}else l!==n&&(n=null)}}return qm=n,null}function ud(n){switch(n){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(yT()){case Id:return 2;case Pd:return 8;case Zo:case gT:return 32;case Zp:return 268435456;default:return 32}default:return 32}}var cc=!1,Un=null,na=null,ra=null,Mu=new Map,wl=new Map,Ie=[],Ra="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 jo(n,l){switch(n){case"focusin":case"focusout":Un=null;break;case"dragenter":case"dragleave":na=null;break;case"mouseover":case"mouseout":ra=null;break;case"pointerover":case"pointerout":Mu.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":wl.delete(l.pointerId)}}function Ns(n,l,i,s,h,p){return n===null||n.nativeEvent!==p?(n={blockedOn:l,domEventName:i,eventSystemFlags:s,nativeEvent:p,targetContainers:[h]},l!==null&&(l=Qu(l),l!==null&&jb(l)),n):(n.eventSystemFlags|=s,l=n.targetContainers,h!==null&&l.indexOf(h)===-1&&l.push(h),n)}function UT(n,l,i,s,h){switch(l){case"focusin":return Un=Ns(Un,n,l,i,s,h),!0;case"dragenter":return na=Ns(na,n,l,i,s,h),!0;case"mouseover":return ra=Ns(ra,n,l,i,s,h),!0;case"pointerover":var p=h.pointerId;return Mu.set(p,Ns(Mu.get(p)||null,n,l,i,s,h)),!0;case"gotpointercapture":return p=h.pointerId,wl.set(p,Ns(wl.get(p)||null,n,l,i,s,h)),!0}return!1}function Bb(n){var l=Xu(n.target);if(l!==null){var i=T(l);if(i!==null){if(l=i.tag,l===13){if(l=b(i),l!==null){n.blockedOn=l,Kp(n.priority,function(){_s(i)});return}}else if(l===31){if(l=A(i),l!==null){n.blockedOn=l,Kp(n.priority,function(){_s(i)});return}}else if(l===3&&i.stateNode.current.memoizedState.isDehydrated){n.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}n.blockedOn=null}function sd(n){if(n.blockedOn!==null)return!1;for(var l=n.targetContainers;0<l.length;){var i=Kg(n.nativeEvent);if(i===null){i=n.nativeEvent;var s=new i.constructor(i.type,i);ch=s,i.target.dispatchEvent(s),ch=null}else return l=Qu(i),l!==null&&jb(l),n.blockedOn=i,!1;l.shift()}return!0}function fc(n,l,i){sd(n)&&i.delete(l)}function Vb(){cc=!1,Un!==null&&sd(Un)&&(Un=null),na!==null&&sd(na)&&(na=null),ra!==null&&sd(ra)&&(ra=null),Mu.forEach(fc),wl.forEach(fc)}function $i(n,l){n.blockedOn===l&&(n.blockedOn=null,cc||(cc=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,Vb)))}var dc=null;function Hb(n){dc!==n&&(dc=n,u.unstable_scheduleCallback(u.unstable_NormalPriority,function(){dc===n&&(dc=null);for(var l=0;l<n.length;l+=3){var i=n[l],s=n[l+1],h=n[l+2];if(typeof s!="function"){if(rc(s||i)===null)continue;break}var p=Qu(i);p!==null&&(n.splice(l,3),l-=3,jr(p,{pending:!0,data:h,method:i.method,action:s},s,h))}}))}function hc(n){function l(N){return $i(N,n)}Un!==null&&$i(Un,n),na!==null&&$i(na,n),ra!==null&&$i(ra,n),Mu.forEach(l),wl.forEach(l);for(var i=0;i<Ie.length;i++){var s=Ie[i];s.blockedOn===n&&(s.blockedOn=null)}for(;0<Ie.length&&(i=Ie[0],i.blockedOn===null);)Bb(i),i.blockedOn===null&&Ie.shift();if(i=(n.ownerDocument||n).$$reactFormReplay,i!=null)for(s=0;s<i.length;s+=3){var h=i[s],p=i[s+1],S=h[pa]||null;if(typeof p=="function")S||Hb(i);else if(S){var C=null;if(p&&p.hasAttribute("formAction")){if(h=p,S=p[pa]||null)C=S.formAction;else if(rc(h)!==null)continue}else C=S.action;typeof C=="function"?i[s+1]=C:(i.splice(s,3),s-=3),Hb(i)}}}function $g(){function n(p){p.canIntercept&&p.info==="react-transition"&&p.intercept({handler:function(){return new Promise(function(S){return h=S})},focusReset:"manual",scroll:"manual"})}function l(){h!==null&&(h(),h=null),s||setTimeout(i,20)}function i(){if(!s&&!navigation.transition){var p=navigation.currentEntry;p&&p.url!=null&&navigation.navigate(p.url,{state:p.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var s=!1,h=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",l),navigation.addEventListener("navigateerror",l),setTimeout(i,100),function(){s=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",l),navigation.removeEventListener("navigateerror",l),h!==null&&(h(),h=null)}}}function Ym(n){this._internalRoot=n}Gm.prototype.render=Ym.prototype.render=function(n){var l=this._internalRoot;if(l===null)throw Error(m(409));var i=l.current,s=qa();Nb(i,s,n,l,null,null)},Gm.prototype.unmount=Ym.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var l=n.containerInfo;Nb(n.current,2,null,n,null,null),Kr(),l[Jo]=null}};function Gm(n){this._internalRoot=n}Gm.prototype.unstable_scheduleHydration=function(n){if(n){var l=nh();n={blockedOn:null,target:n,priority:l};for(var i=0;i<Ie.length&&l!==0&&l<Ie[i].priority;i++);Ie.splice(i,0,n),i===0&&Bb(n)}};var Fg=r.version;if(Fg!=="19.2.0")throw Error(m(527,Fg,"19.2.0"));F.findDOMNode=function(n){var l=n._reactInternals;if(l===void 0)throw typeof n.render=="function"?Error(m(188)):(n=Object.keys(n).join(","),Error(m(268,n)));return n=z(l),n=n!==null?M(n):null,n=n===null?null:n.stateNode,n};var Lb={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:j,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var rd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rd.isDisabled&&rd.supportsFiber)try{Yu=rd.inject(Lb),Na=rd}catch{}}return Ap.createRoot=function(n,l){if(!v(n))throw Error(m(299));var i=!1,s="",h=Ph,p=Wy,S=tm;return l!=null&&(l.unstable_strictMode===!0&&(i=!0),l.identifierPrefix!==void 0&&(s=l.identifierPrefix),l.onUncaughtError!==void 0&&(h=l.onUncaughtError),l.onCaughtError!==void 0&&(p=l.onCaughtError),l.onRecoverableError!==void 0&&(S=l.onRecoverableError)),l=Hm(n,1,!1,null,null,i,s,null,h,p,S,$g),n[Jo]=l.current,tc(n),new Ym(l)},Ap.hydrateRoot=function(n,l,i){if(!v(n))throw Error(m(299));var s=!1,h="",p=Ph,S=Wy,C=tm,N=null;return i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(h=i.identifierPrefix),i.onUncaughtError!==void 0&&(p=i.onUncaughtError),i.onCaughtError!==void 0&&(S=i.onCaughtError),i.onRecoverableError!==void 0&&(C=i.onRecoverableError),i.formState!==void 0&&(N=i.formState)),l=Hm(n,1,!0,l,i??null,s,h,N,p,S,C,$g),l.context=Us(null),i=l.current,s=qa(),s=eh(s),h=xo(s),h.callback=null,el(i,h,s),i=s,l.current.lanes=i,or(l,i),Zi(l),n[Jo]=l.current,tc(n),new Gm(l)},Ap.version="19.2.0",Ap}var Ep={};/**
25
+ */var Xb;function gT(){if(Xb)return Tm;Xb=1;var v=Gb(),U=ht,w=wb;function E(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 k(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function lt(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 ut(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 V(l){if(l.tag===31){var n=l.memoizedState;if(n===null&&(l=l.alternate,l!==null&&(n=l.memoizedState)),n!==null)return n.dehydrated}return null}function tt(l){if(lt(l)!==l)throw Error(E(188))}function Ct(l){var n=l.alternate;if(!n){if(n=lt(l),n===null)throw Error(E(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 tt(s),l;if(r===c)return tt(s),n;r=r.sibling}throw Error(E(188))}if(u.return!==c.return)u=s,c=r;else{for(var m=!1,g=s.child;g;){if(g===u){m=!0,u=s,c=r;break}if(g===c){m=!0,c=s,u=r;break}g=g.sibling}if(!m){for(g=r.child;g;){if(g===u){m=!0,u=r,c=s;break}if(g===c){m=!0,c=r,u=s;break}g=g.sibling}if(!m)throw Error(E(189))}}if(u.alternate!==c)throw Error(E(190))}if(u.tag!==3)throw Error(E(188));return u.stateNode.current===u?l:n}function St(l){var n=l.tag;if(n===5||n===26||n===27||n===6)return l;for(l=l.child;l!==null;){if(n=St(l),n!==null)return n;l=l.sibling}return null}var K=Object.assign,ct=Symbol.for("react.element"),_t=Symbol.for("react.transitional.element"),ot=Symbol.for("react.portal"),wt=Symbol.for("react.fragment"),Tt=Symbol.for("react.strict_mode"),zt=Symbol.for("react.profiler"),Wt=Symbol.for("react.consumer"),he=Symbol.for("react.context"),me=Symbol.for("react.forward_ref"),cl=Symbol.for("react.suspense"),oe=Symbol.for("react.suspense_list"),Ge=Symbol.for("react.memo"),vt=Symbol.for("react.lazy"),xe=Symbol.for("react.activity"),at=Symbol.for("react.memo_cache_sentinel"),ue=Symbol.iterator;function jt(l){return l===null||typeof l!="object"?null:(l=ue&&l[ue]||l["@@iterator"],typeof l=="function"?l:null)}var Ht=Symbol.for("react.client.reference");function qt(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===Ht?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case wt:return"Fragment";case zt:return"Profiler";case Tt:return"StrictMode";case cl:return"Suspense";case oe:return"SuspenseList";case xe:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case ot:return"Portal";case he:return l.displayName||"Context";case Wt:return(l._context.displayName||"Context")+".Consumer";case me:var n=l.render;return l=l.displayName,l||(l=n.displayName||n.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case Ge:return n=l.displayName||null,n!==null?n:qt(l.type)||"Memo";case vt:n=l._payload,l=l._init;try{return qt(l(n))}catch{}}return null}var le=Array.isArray,C=U.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L=w.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W={pending:!1,data:null,method:null,action:null},it=[],Et=-1;function st(l){return{current:l}}function mt(l){0>Et||(l.current=it[Et],it[Et]=null,Et--)}function I(l,n){Et++,it[Et]=l.current,l.current=n}var et=st(null),Yt=st(null),Xe=st(null),ve=st(null);function We(l,n){switch(I(Xe,n),I(Yt,l),I(et,null),n.nodeType){case 9:case 11:l=(l=n.documentElement)&&(l=l.namespaceURI)?Lg(l):0;break;default:if(l=n.tagName,n=n.namespaceURI)n=Lg(n),l=b0(n,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}mt(et),I(et,l)}function te(){mt(et),mt(Yt),mt(Xe)}function Kt(l){l.memoizedState!==null&&I(ve,l);var n=et.current,u=b0(n,l.type);n!==u&&(I(Yt,l),I(et,u))}function $(l){Yt.current===l&&(mt(et),mt(Yt)),ve.current===l&&(mt(ve),Ar._currentValue=W)}var ie,Fe;function Pn(l){if(ie===void 0)try{throw Error()}catch(u){var n=u.stack.trim().match(/\n( *(at )?)/);ie=n&&n[1]||"",Fe=-1<u.stack.indexOf(`
26
+ at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
27
+ `+ie+l+Fe}var hc=!1;function ze(l,n){if(!l||hc)return"";hc=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:function(){try{if(n){var Z=function(){throw Error()};if(Object.defineProperty(Z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Z,[])}catch(j){var H=j}Reflect.construct(l,[],Z)}else{try{Z.call()}catch(j){H=j}l.call(Z.prototype)}}else{try{throw Error()}catch(j){H=j}(Z=l())&&typeof Z.catch=="function"&&Z.catch(function(){})}}catch(j){if(j&&H&&typeof j.stack=="string")return[j.stack,H.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var r=c.DetermineComponentFrameRoot(),m=r[0],g=r[1];if(m&&g){var A=m.split(`
28
+ `),_=g.split(`
29
+ `);for(s=c=0;c<A.length&&!A[c].includes("DetermineComponentFrameRoot");)c++;for(;s<_.length&&!_[s].includes("DetermineComponentFrameRoot");)s++;if(c===A.length||s===_.length)for(c=A.length-1,s=_.length-1;1<=c&&0<=s&&A[c]!==_[s];)s--;for(;1<=c&&0<=s;c--,s--)if(A[c]!==_[s]){if(c!==1||s!==1)do if(c--,s--,0>s||A[c]!==_[s]){var G=`
30
+ `+A[c].replace(" at new "," at ");return l.displayName&&G.includes("<anonymous>")&&(G=G.replace("<anonymous>",l.displayName)),G}while(1<=c&&0<=s);break}}}finally{hc=!1,Error.prepareStackTrace=u}return(u=l?l.displayName||l.name:"")?Pn(u):""}function zm(l,n){switch(l.tag){case 26:case 27:case 5:return Pn(l.type);case 16:return Pn("Lazy");case 13:return l.child!==n&&n!==null?Pn("Suspense Fallback"):Pn("Suspense");case 19:return Pn("SuspenseList");case 0:case 15:return ze(l.type,!1);case 11:return ze(l.type.render,!1);case 1:return ze(l.type,!0);case 31:return Pn("Activity");default:return""}}function Fr(l){try{var n="",u=null;do n+=zm(l,u),u=l,l=l.return;while(l);return n}catch(c){return`
31
+ Error generating stack: `+c.message+`
32
+ `+c.stack}}var Dm=Object.prototype.hasOwnProperty,_e=v.unstable_scheduleCallback,Mm=v.unstable_cancelCallback,mc=v.unstable_shouldYield,Ir=v.unstable_requestPaint,Vl=v.unstable_now,f1=v.unstable_getCurrentPriorityLevel,Pr=v.unstable_ImmediatePriority,td=v.unstable_UserBlockingPriority,zi=v.unstable_NormalPriority,s1=v.unstable_LowPriority,Om=v.unstable_IdlePriority,Cp=v.log,Up=v.unstable_setDisableYieldValue,yc=null,Ea=null;function Lu(l){if(typeof Cp=="function"&&Up(l),Ea&&typeof Ea.setStrictMode=="function")try{Ea.setStrictMode(yc,l)}catch{}}var aa=Math.clz32?Math.clz32:Cm,Rp=Math.log,xp=Math.LN2;function Cm(l){return l>>>=0,l===0?32:31-(Rp(l)/xp|0)|0}var Zu=256,En=262144,Di=4194304;function an(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:return l&261888;case 262144:case 524288:case 1048576:case 2097152:return l&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return l&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return l}}function ol(l,n,u){var c=l.pendingLanes;if(c===0)return 0;var s=0,r=l.suspendedLanes,m=l.pingedLanes;l=l.warmLanes;var g=c&134217727;return g!==0?(c=g&~r,c!==0?s=an(c):(m&=g,m!==0?s=an(m):u||(u=g&~l,u!==0&&(s=an(u))))):(g=c&~r,g!==0?s=an(g):m!==0?s=an(m):u||(u=c&~l,u!==0&&(s=an(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 An(l,n){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&n)===0}function Uo(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 pc(){var l=Di;return Di<<=1,(Di&62914560)===0&&(Di=4194304),l}function ss(l){for(var n=[],u=0;31>u;u++)n.push(l);return n}function Ro(l,n){l.pendingLanes|=n,n!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function ed(l,n,u,c,s,r){var m=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 g=l.entanglements,A=l.expirationTimes,_=l.hiddenUpdates;for(u=m&~u;0<u;){var G=31-aa(u),Z=1<<G;g[G]=0,A[G]=-1;var H=_[G];if(H!==null)for(_[G]=null,G=0;G<H.length;G++){var j=H[G];j!==null&&(j.lane&=-536870913)}u&=~Z}c!==0&&rs(l,c,0),r!==0&&s===0&&l.tag!==0&&(l.suspendedLanes|=r&~(m&~n))}function rs(l,n,u){l.pendingLanes|=n,l.suspendedLanes&=~n;var c=31-aa(n);l.entangledLanes|=n,l.entanglements[c]=l.entanglements[c]|1073741824|u&261930}function tu(l,n){var u=l.entangledLanes|=n;for(l=l.entanglements;u;){var c=31-aa(u),s=1<<c;s&n|l[c]&n&&(l[c]|=n),u&=~s}}function _a(l,n){var u=n&-n;return u=(u&42)!==0?1:ld(u),(u&(l.suspendedLanes|n))!==0?0:u}function ld(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 Um(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}function ad(){var l=L.p;return l!==0?l:(l=window.event,l===void 0?32:zr(l.type))}function Rm(l,n){var u=L.p;try{return L.p=l,n()}finally{L.p=u}}var zn=Math.random().toString(36).slice(2),De="__reactFiber$"+zn,na="__reactProps$"+zn,Mi="__reactContainer$"+zn,nd="__reactEvents$"+zn,xm="__reactListeners$"+zn,_p="__reactHandles$"+zn,_m="__reactResources$"+zn,eu="__reactMarker$"+zn;function ud(l){delete l[De],delete l[na],delete l[nd],delete l[xm],delete l[_p]}function gc(l){var n=l[De];if(n)return n;for(var u=l.parentNode;u;){if(n=u[Mi]||u[De]){if(u=n.alternate,n.child!==null||u!==null&&u.child!==null)for(l=Zn(l);l!==null;){if(u=l[De])return u;l=Zn(l)}return n}l=u,u=l.parentNode}return null}function vc(l){if(l=l[De]||l[Mi]){var n=l.tag;if(n===5||n===6||n===13||n===31||n===26||n===27||n===3)return l}return null}function xo(l){var n=l.tag;if(n===5||n===26||n===27||n===6)return l.stateNode;throw Error(E(33))}function bc(l){var n=l[_m];return n||(n=l[_m]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function be(l){l[eu]=!0}var Sc=new Set,Oi={};function Ci(l,n){lu(l,n),lu(l+"Capture",n)}function lu(l,n){for(Oi[l]=n,l=0;l<n.length;l++)Sc.add(n[l])}var id=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]*$"),cd={},_o={};function Ho(l){return Dm.call(_o,l)?!0:Dm.call(cd,l)?!1:id.test(l)?_o[l]=!0:(cd[l]=!0,!1)}function No(l,n,u){if(Ho(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 od(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 Ju(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)}}function Ha(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function fd(l){var n=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Hm(l,n,u){var c=Object.getOwnPropertyDescriptor(l.constructor.prototype,n);if(!l.hasOwnProperty(n)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var s=c.get,r=c.set;return Object.defineProperty(l,n,{configurable:!0,get:function(){return s.call(this)},set:function(m){u=""+m,r.call(this,m)}}),Object.defineProperty(l,n,{enumerable:c.enumerable}),{getValue:function(){return u},setValue:function(m){u=""+m},stopTracking:function(){l._valueTracker=null,delete l[n]}}}}function sd(l){if(!l._valueTracker){var n=fd(l)?"checked":"value";l._valueTracker=Hm(l,n,""+l[n])}}function Nm(l){if(!l)return!1;var n=l._valueTracker;if(!n)return!0;var u=n.getValue(),c="";return l&&(c=fd(l)?l.checked?"true":"false":l.value),l=c,l!==u?(n.setValue(l),!0):!1}function ds(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 r1=/[\n"\\]/g;function Na(l){return l.replace(r1,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function hs(l,n,u,c,s,r,m,g){l.name="",m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?l.type=m:l.removeAttribute("type"),n!=null?m==="number"?(n===0&&l.value===""||l.value!=n)&&(l.value=""+Ha(n)):l.value!==""+Ha(n)&&(l.value=""+Ha(n)):m!=="submit"&&m!=="reset"||l.removeAttribute("value"),n!=null?Tc(l,m,Ha(n)):u!=null?Tc(l,m,Ha(u)):c!=null&&l.removeAttribute("value"),s==null&&r!=null&&(l.defaultChecked=!!r),s!=null&&(l.checked=s&&typeof s!="function"&&typeof s!="symbol"),g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?l.name=""+Ha(g):l.removeAttribute("name")}function ms(l,n,u,c,s,r,m,g){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)){sd(l);return}u=u!=null?""+Ha(u):"",n=n!=null?""+Ha(n):u,g||n===l.value||(l.value=n),l.defaultValue=n}c=c??s,c=typeof c!="function"&&typeof c!="symbol"&&!!c,l.checked=g?l.checked:!!c,l.defaultChecked=!!c,m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(l.name=m),sd(l)}function Tc(l,n,u){n==="number"&&ds(l.ownerDocument)===l||l.defaultValue===""+u||(l.defaultValue=""+u)}function Bo(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=""+Ha(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 Bm(l,n,u){if(n!=null&&(n=""+Ha(n),n!==l.value&&(l.value=n),u==null)){l.defaultValue!==n&&(l.defaultValue=n);return}l.defaultValue=u!=null?""+Ha(u):""}function wm(l,n,u,c){if(n==null){if(c!=null){if(u!=null)throw Error(E(92));if(le(c)){if(1<c.length)throw Error(E(93));c=c[0]}u=c}u==null&&(u=""),n=u}u=Ha(n),l.defaultValue=u,c=l.textContent,c===u&&c!==""&&c!==null&&(l.value=c),sd(l)}function au(l,n){if(n){var u=l.firstChild;if(u&&u===l.lastChild&&u.nodeType===3){u.nodeValue=n;return}}l.textContent=n}var Hp=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 Np(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||Hp.has(n)?n==="float"?l.cssFloat=u:l[n]=(""+u).trim():l[n]=u+"px"}function Bp(l,n,u){if(n!=null&&typeof n!="object")throw Error(E(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&&Np(l,s,c)}else for(var r in n)n.hasOwnProperty(r)&&Np(l,r,n[r])}function qm(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 d1=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"]]),ys=/^[\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 nn(l){return ys.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}function Dn(){}var rd=null;function dd(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var nu=null,Ec=null;function ps(l){var n=vc(l);if(n&&(l=n.stateNode)){var u=l[na]||null;t:switch(l=n.stateNode,n.type){case"input":if(hs(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="'+Na(""+n)+'"][type="radio"]'),n=0;n<u.length;n++){var c=u[n];if(c!==l&&c.form===l.form){var s=c[na]||null;if(!s)throw Error(E(90));hs(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&&Nm(c)}break t;case"textarea":Bm(l,u.value,u.defaultValue);break t;case"select":n=u.value,n!=null&&Bo(l,!!u.multiple,n,!1)}}}var wo=!1;function Ym(l,n,u){if(wo)return l(n,u);wo=!0;try{var c=l(n);return c}finally{if(wo=!1,(nu!==null||Ec!==null)&&(bf(),nu&&(n=nu,l=Ec,Ec=nu=null,ps(n),l)))for(n=0;n<l.length;n++)ps(l[n])}}function Ml(l,n){var u=l.stateNode;if(u===null)return null;var c=u[na]||null;if(c===null)return null;u=c[n];t: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 t;default:l=!1}if(l)return null;if(u&&typeof u!="function")throw Error(E(231,n,typeof u));return u}var Ku=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),gs=!1;if(Ku)try{var qo={};Object.defineProperty(qo,"passive",{get:function(){gs=!0}}),window.addEventListener("test",qo,qo),window.removeEventListener("test",qo,qo)}catch{gs=!1}var $u=null,jm=null,hd=null;function Gm(){if(hd)return hd;var l,n=jm,u=n.length,c,s="value"in $u?$u.value:$u.textContent,r=s.length;for(l=0;l<u&&n[l]===s[l];l++);var m=u-l;for(c=1;c<=m&&n[u-c]===s[r-c];c++);return hd=s.slice(l,1<c?1-c:void 0)}function md(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 vs(){return!0}function wp(){return!1}function Ql(l){function n(u,c,s,r,m){this._reactName=u,this._targetInst=s,this.type=c,this.nativeEvent=r,this.target=m,this.currentTarget=null;for(var g in l)l.hasOwnProperty(g)&&(u=l[g],this[g]=u?u(r):r[g]);return this.isDefaultPrevented=(r.defaultPrevented!=null?r.defaultPrevented:r.returnValue===!1)?vs:wp,this.isPropagationStopped=wp,this}return K(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=vs)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=vs)},persist:function(){},isPersistent:vs}),n}var Ui={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},bs=Ql(Ui),Yo=K({},Ui,{view:0,detail:0}),h1=Ql(Yo),Xm,Vm,Ss,yd=K({},Yo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:un,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!==Ss&&(Ss&&l.type==="mousemove"?(Xm=l.screenX-Ss.screenX,Vm=l.screenY-Ss.screenY):Vm=Xm=0,Ss=l),Xm)},movementY:function(l){return"movementY"in l?l.movementY:Vm}}),jo=Ql(yd),qp=K({},yd,{dataTransfer:0}),Yp=Ql(qp),jp=K({},Yo,{relatedTarget:0}),pd=Ql(jp),Qm=K({},Ui,{animationName:0,elapsedTime:0,pseudoElement:0}),Gp=Ql(Qm),Ac=K({},Ui,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),zc=Ql(Ac),Mn=K({},Ui,{data:0}),Xp=Ql(Mn),Lm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},uu={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"},Vp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function On(l){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(l):(l=Vp[l])?!!n[l]:!1}function un(){return On}var gd=K({},Yo,{key:function(l){if(l.key){var n=Lm[l.key]||l.key;if(n!=="Unidentified")return n}return l.type==="keypress"?(l=md(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?uu[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:un,charCode:function(l){return l.type==="keypress"?md(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?md(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),vd=Ql(gd),Zm=K({},yd,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Cn=Ql(Zm),m1=K({},Yo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:un}),Qp=Ql(m1),Lp=K({},Ui,{propertyName:0,elapsedTime:0,pseudoElement:0}),y1=Ql(Lp),Jm=K({},yd,{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}),p1=Ql(Jm),Zp=K({},Ui,{newState:0,oldState:0}),Km=Ql(Zp),bd=[9,13,27,32],Go=Ku&&"CompositionEvent"in window,Dc=null;Ku&&"documentMode"in document&&(Dc=document.documentMode);var kl=Ku&&"TextEvent"in window&&!Dc,$m=Ku&&(!Go||Dc&&8<Dc&&11>=Dc),Ts=" ",Ri=!1;function Sd(l,n){switch(l){case"keyup":return bd.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function km(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var Mc=!1;function Jp(l,n){switch(l){case"compositionend":return km(n);case"keypress":return n.which!==32?null:(Ri=!0,Ts);case"textInput":return l=n.data,l===Ts&&Ri?null:l;default:return null}}function g1(l,n){if(Mc)return l==="compositionend"||!Go&&Sd(l,n)?(l=Gm(),hd=jm=$u=null,Mc=!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 $m&&n.locale!=="ko"?null:n.data;default:return null}}var Wm={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 iu(l){var n=l&&l.nodeName&&l.nodeName.toLowerCase();return n==="input"?!!Wm[l.type]:n==="textarea"}function Fm(l,n,u,c){nu?Ec?Ec.push(c):Ec=[c]:nu=c,n=gr(n,"onChange"),0<n.length&&(u=new bs("onChange","change",null,u,c),l.push({event:u,listeners:n}))}var Oc=null,xi=null;function Cc(l){Xg(l,0)}function Xo(l){var n=xo(l);if(Nm(n))return l}function Im(l,n){if(l==="change")return n}var Td=!1;if(Ku){var ua;if(Ku){var Un="oninput"in document;if(!Un){var Pm=document.createElement("div");Pm.setAttribute("oninput","return;"),Un=typeof Pm.oninput=="function"}ua=Un}else ua=!1;Td=ua&&(!document.documentMode||9<document.documentMode)}function Ed(){Oc&&(Oc.detachEvent("onpropertychange",Ad),xi=Oc=null)}function Ad(l){if(l.propertyName==="value"&&Xo(xi)){var n=[];Fm(n,xi,l,dd(l)),Ym(Cc,n)}}function Kp(l,n,u){l==="focusin"?(Ed(),Oc=n,xi=u,Oc.attachEvent("onpropertychange",Ad)):l==="focusout"&&Ed()}function $p(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return Xo(xi)}function _i(l,n){if(l==="click")return Xo(n)}function Uc(l,n){if(l==="input"||l==="change")return Xo(n)}function kp(l,n){return l===n&&(l!==0||1/l===1/n)||l!==l&&n!==n}var Wl=typeof Object.is=="function"?Object.is:kp;function cn(l,n){if(Wl(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(!Dm.call(n,s)||!Wl(l[s],n[s]))return!1}return!0}function ty(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function ey(l,n){var u=ty(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}t:{for(;u;){if(u.nextSibling){u=u.nextSibling;break t}u=u.parentNode}u=void 0}u=ty(u)}}function Rc(l,n){return l&&n?l===n?!0:l&&l.nodeType===3?!1:n&&n.nodeType===3?Rc(l,n.parentNode):"contains"in l?l.contains(n):l.compareDocumentPosition?!!(l.compareDocumentPosition(n)&16):!1:!1}function Hi(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var n=ds(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=ds(l.document)}return n}function Es(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 As=Ku&&"documentMode"in document&&11>=document.documentMode,Ni=null,Vo=null,on=null,Rn=!1;function zd(l,n,u){var c=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;Rn||Ni==null||Ni!==ds(c)||(c=Ni,"selectionStart"in c&&Es(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}),on&&cn(on,c)||(on=c,c=gr(Vo,"onSelect"),0<c.length&&(n=new bs("onSelect","select",null,n,u),l.push({event:n,listeners:c}),n.target=Ni)))}function ku(l,n){var u={};return u[l.toLowerCase()]=n.toLowerCase(),u["Webkit"+l]="webkit"+n,u["Moz"+l]="moz"+n,u}var xn={animationend:ku("Animation","AnimationEnd"),animationiteration:ku("Animation","AnimationIteration"),animationstart:ku("Animation","AnimationStart"),transitionrun:ku("Transition","TransitionRun"),transitionstart:ku("Transition","TransitionStart"),transitioncancel:ku("Transition","TransitionCancel"),transitionend:ku("Transition","TransitionEnd")},Qo={},Bi={};Ku&&(Bi=document.createElement("div").style,"AnimationEvent"in window||(delete xn.animationend.animation,delete xn.animationiteration.animation,delete xn.animationstart.animation),"TransitionEvent"in window||delete xn.transitionend.transition);function ye(l){if(Qo[l])return Qo[l];if(!xn[l])return l;var n=xn[l],u;for(u in n)if(n.hasOwnProperty(u)&&u in Bi)return Qo[l]=n[u];return l}var zs=ye("animationend"),ly=ye("animationiteration"),Dd=ye("animationstart"),xc=ye("transitionrun"),Ds=ye("transitionstart"),cu=ye("transitioncancel"),Wp=ye("transitionend"),ou=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 ia(l,n){ou.set(l,n),Ci(n,[l])}var _c=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)},Ve=[],Ol=0,fn=0;function Ba(){for(var l=Ol,n=fn=Ol=0;n<l;){var u=Ve[n];Ve[n++]=null;var c=Ve[n];Ve[n++]=null;var s=Ve[n];Ve[n++]=null;var r=Ve[n];if(Ve[n++]=null,c!==null&&s!==null){var m=c.pending;m===null?s.next=s:(s.next=m.next,m.next=s),c.pending=s}r!==0&&Md(u,s,r)}}function wa(l,n,u,c){Ve[Ol++]=l,Ve[Ol++]=n,Ve[Ol++]=u,Ve[Ol++]=c,fn|=c,l.lanes|=c,l=l.alternate,l!==null&&(l.lanes|=c)}function sn(l,n,u,c){return wa(l,n,u,c),Ms(l)}function Wu(l,n){return wa(l,null,null,n),Ms(l)}function Md(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-aa(u),l=r.hiddenUpdates,c=l[s],c===null?l[s]=[n]:c.push(n),n.lane=u|536870912),r):null}function Ms(l){if(50<vf)throw vf=0,or=null,Error(E(185));for(var n=l.return;n!==null;)l=n,n=l.return;return l.tag===3?l.stateNode:null}var ca={};function Fp(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 ll(l,n,u,c){return new Fp(l,n,u,c)}function Hc(l){return l=l.prototype,!(!l||!l.isReactComponent)}function Fu(l,n){var u=l.alternate;return u===null?(u=ll(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 ay(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 Od(l,n,u,c,s,r){var m=0;if(c=l,typeof l=="function")Hc(l)&&(m=1);else if(typeof l=="string")m=M0(l,u,et.current)?26:l==="html"||l==="head"||l==="body"?27:5;else t:switch(l){case xe:return l=ll(31,u,n,s),l.elementType=xe,l.lanes=r,l;case wt:return Iu(u.children,s,r,n);case Tt:m=8,s|=24;break;case zt:return l=ll(12,u,n,s|2),l.elementType=zt,l.lanes=r,l;case cl:return l=ll(13,u,n,s),l.elementType=cl,l.lanes=r,l;case oe:return l=ll(19,u,n,s),l.elementType=oe,l.lanes=r,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case he:m=10;break t;case Wt:m=9;break t;case me:m=11;break t;case Ge:m=14;break t;case vt:m=16,c=null;break t}m=29,u=Error(E(130,l===null?"null":typeof l,"")),c=null}return n=ll(m,u,n,s),n.elementType=l,n.type=c,n.lanes=r,n}function Iu(l,n,u,c){return l=ll(7,l,c,n),l.lanes=u,l}function Zo(l,n,u){return l=ll(6,l,null,n),l.lanes=u,l}function ny(l){var n=ll(18,null,null,0);return n.stateNode=l,n}function Cd(l,n,u){return n=ll(4,l.children!==null?l.children:[],l.key,n),n.lanes=u,n.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},n}var uy=new WeakMap;function qa(l,n){if(typeof l=="object"&&l!==null){var u=uy.get(l);return u!==void 0?u:(n={value:l,source:n,stack:Fr(n)},uy.set(l,n),n)}return{value:l,source:n,stack:Fr(n)}}var Ya=[],Nc=0,Os=null,fl=0,Aa=[],oa=0,_n=null,za=1,Hn="";function rn(l,n){Ya[Nc++]=fl,Ya[Nc++]=Os,Os=l,fl=n}function iy(l,n,u){Aa[oa++]=za,Aa[oa++]=Hn,Aa[oa++]=_n,_n=l;var c=za;l=Hn;var s=32-aa(c)-1;c&=~(1<<s),u+=1;var r=32-aa(n)+s;if(30<r){var m=s-s%5;r=(c&(1<<m)-1).toString(32),c>>=m,s-=m,za=1<<32-aa(n)+s|u<<s|c,Hn=r+l}else za=1<<r|u<<s|c,Hn=l}function Jo(l){l.return!==null&&(rn(l,1),iy(l,1,0))}function Ud(l){for(;l===Os;)Os=Ya[--Nc],Ya[Nc]=null,fl=Ya[--Nc],Ya[Nc]=null;for(;l===_n;)_n=Aa[--oa],Aa[oa]=null,Hn=Aa[--oa],Aa[oa]=null,za=Aa[--oa],Aa[oa]=null}function Cs(l,n){Aa[oa++]=za,Aa[oa++]=Hn,Aa[oa++]=_n,za=n.id,Hn=n.overflow,_n=l}var Cl=null,He=null,It=!1,fu=null,bl=!1,su=Error(E(519));function dn(l){var n=Error(E(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw $o(qa(n,l)),su}function Us(l){var n=l.stateNode,u=l.type,c=l.memoizedProps;switch(n[De]=l,n[na]=c,u){case"dialog":Ft("cancel",n),Ft("close",n);break;case"iframe":case"object":case"embed":Ft("load",n);break;case"video":case"audio":for(u=0;u<zf.length;u++)Ft(zf[u],n);break;case"source":Ft("error",n);break;case"img":case"image":case"link":Ft("error",n),Ft("load",n);break;case"details":Ft("toggle",n);break;case"input":Ft("invalid",n),ms(n,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0);break;case"select":Ft("invalid",n);break;case"textarea":Ft("invalid",n),wm(n,c.value,c.defaultValue,c.children)}u=c.children,typeof u!="string"&&typeof u!="number"&&typeof u!="bigint"||n.textContent===""+u||c.suppressHydrationWarning===!0||y0(n.textContent,u)?(c.popover!=null&&(Ft("beforetoggle",n),Ft("toggle",n)),c.onScroll!=null&&Ft("scroll",n),c.onScrollEnd!=null&&Ft("scrollend",n),c.onClick!=null&&(n.onclick=Dn),n=!0):n=!1,n||dn(l,!0)}function Ko(l){for(Cl=l.return;Cl;)switch(Cl.tag){case 5:case 31:case 13:bl=!1;return;case 27:case 3:bl=!0;return;default:Cl=Cl.return}}function ru(l){if(l!==Cl)return!1;if(!It)return Ko(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")||Mf(l.type,l.memoizedProps)),u=!u),u&&He&&dn(l),Ko(l),n===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(E(317));He=_h(l)}else if(n===31){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(E(317));He=_h(l)}else n===27?(n=He,Ln(l.type)?(l=Sr,Sr=null,He=l):He=n):He=Cl?va(l.stateNode.nextSibling):null;return!0}function wi(){He=Cl=null,It=!1}function cy(){var l=fu;return l!==null&&(tl===null?tl=l:tl.push.apply(tl,l),fu=null),l}function $o(l){fu===null?fu=[l]:fu.push(l)}var Rd=st(null),Pu=null,Nn=null;function fa(l,n,u){I(Rd,n._currentValue),n._currentValue=u}function Bn(l){l._currentValue=Rd.current,mt(Rd)}function xd(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 du(l,n,u,c){var s=l.child;for(s!==null&&(s.return=l);s!==null;){var r=s.dependencies;if(r!==null){var m=s.child;r=r.firstContext;t:for(;r!==null;){var g=r;r=s;for(var A=0;A<n.length;A++)if(g.context===n[A]){r.lanes|=u,g=r.alternate,g!==null&&(g.lanes|=u),xd(r.return,u,l),c||(m=null);break t}r=g.next}}else if(s.tag===18){if(m=s.return,m===null)throw Error(E(341));m.lanes|=u,r=m.alternate,r!==null&&(r.lanes|=u),xd(m,u,l),m=null}else m=s.child;if(m!==null)m.return=s;else for(m=s;m!==null;){if(m===l){m=null;break}if(s=m.sibling,s!==null){s.return=m.return,m=s;break}m=m.return}s=m}}function Ul(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 m=s.alternate;if(m===null)throw Error(E(387));if(m=m.memoizedProps,m!==null){var g=s.type;Wl(s.pendingProps.value,m.value)||(l!==null?l.push(g):l=[g])}}else if(s===ve.current){if(m=s.alternate,m===null)throw Error(E(387));m.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(l!==null?l.push(Ar):l=[Ar])}s=s.return}l!==null&&du(n,l,u,c),n.flags|=262144}function Bc(l){for(l=l.firstContext;l!==null;){if(!Wl(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}function Ut(l){Pu=l,Nn=null,l=l.dependencies,l!==null&&(l.firstContext=null)}function J(l){return Rs(Pu,l)}function ti(l,n){return Pu===null&&Ut(l),Rs(l,n)}function Rs(l,n){var u=n._currentValue;if(n={context:n,memoizedValue:u,next:null},Nn===null){if(l===null)throw Error(E(308));Nn=n,l.dependencies={lanes:0,firstContext:n},l.flags|=524288}else Nn=Nn.next=n;return u}var al=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()})}},oy=v.unstable_scheduleCallback,fy=v.unstable_NormalPriority,sl={$$typeof:he,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function xs(){return{controller:new al,data:new Map,refCount:0}}function _s(l){l.refCount--,l.refCount===0&&oy(fy,function(){l.controller.abort()})}var wc=null,Hs=0,qi=0,yl=null;function Se(l,n){if(wc===null){var u=wc=[];Hs=0,qi=zh(),yl={status:"pending",value:void 0,then:function(c){u.push(c)}}}return Hs++,n.then(Ns,Ns),n}function Ns(){if(--Hs===0&&wc!==null){yl!==null&&(yl.status="fulfilled");var l=wc;wc=null,qi=0,yl=null;for(var n=0;n<l.length;n++)(0,l[n])()}}function Bs(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 ei=C.S;C.S=function(l,n){l0=Vl(),typeof n=="object"&&n!==null&&typeof n.then=="function"&&Se(l,n),ei!==null&&ei(l,n)};var ja=st(null);function Ga(){var l=ja.current;return l!==null?l:Oe.pooledCache}function ko(l,n){n===null?I(ja,ja.current):I(ja,n.pool)}function qc(){var l=Ga();return l===null?null:{parent:sl._currentValue,pool:l}}var Yi=Error(E(460)),Yc=Error(E(474)),Wo=Error(E(542)),jc={then:function(){}};function sy(l){return l=l.status,l==="fulfilled"||l==="rejected"}function ry(l,n,u){switch(u=l[u],u===void 0?l.push(n):u!==n&&(n.then(Dn,Dn),n=u),n.status){case"fulfilled":return n.value;case"rejected":throw l=n.reason,_d(l),l;default:if(typeof n.status=="string")n.then(Dn,Dn);else{if(l=Oe,l!==null&&100<l.shellSuspendCounter)throw Error(E(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,_d(l),l}throw Gi=n,Yi}}function ji(l){try{var n=l._init;return n(l._payload)}catch(u){throw u!==null&&typeof u=="object"&&typeof u.then=="function"?(Gi=u,Yi):u}}var Gi=null;function dy(){if(Gi===null)throw Error(E(459));var l=Gi;return Gi=null,l}function _d(l){if(l===Yi||l===Wo)throw Error(E(483))}var Xi=null,Gc=0;function ws(l){var n=Gc;return Gc+=1,Xi===null&&(Xi=[]),ry(Xi,l,n)}function Fo(l,n){n=n.props.ref,l.ref=n!==void 0?n:null}function qs(l,n){throw n.$$typeof===ct?Error(E(525)):(l=Object.prototype.toString.call(n),Error(E(31,l==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":l)))}function Ip(l){function n(R,M){if(l){var x=R.deletions;x===null?(R.deletions=[M],R.flags|=16):x.push(M)}}function u(R,M){if(!l)return null;for(;M!==null;)n(R,M),M=M.sibling;return null}function c(R){for(var M=new Map;R!==null;)R.key!==null?M.set(R.key,R):M.set(R.index,R),R=R.sibling;return M}function s(R,M){return R=Fu(R,M),R.index=0,R.sibling=null,R}function r(R,M,x){return R.index=x,l?(x=R.alternate,x!==null?(x=x.index,x<M?(R.flags|=67108866,M):x):(R.flags|=67108866,M)):(R.flags|=1048576,M)}function m(R){return l&&R.alternate===null&&(R.flags|=67108866),R}function g(R,M,x,Q){return M===null||M.tag!==6?(M=Zo(x,R.mode,Q),M.return=R,M):(M=s(M,x),M.return=R,M)}function A(R,M,x,Q){var yt=x.type;return yt===wt?G(R,M,x.props.children,Q,x.key):M!==null&&(M.elementType===yt||typeof yt=="object"&&yt!==null&&yt.$$typeof===vt&&ji(yt)===M.type)?(M=s(M,x.props),Fo(M,x),M.return=R,M):(M=Od(x.type,x.key,x.props,null,R.mode,Q),Fo(M,x),M.return=R,M)}function _(R,M,x,Q){return M===null||M.tag!==4||M.stateNode.containerInfo!==x.containerInfo||M.stateNode.implementation!==x.implementation?(M=Cd(x,R.mode,Q),M.return=R,M):(M=s(M,x.children||[]),M.return=R,M)}function G(R,M,x,Q,yt){return M===null||M.tag!==7?(M=Iu(x,R.mode,Q,yt),M.return=R,M):(M=s(M,x),M.return=R,M)}function Z(R,M,x){if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return M=Zo(""+M,R.mode,x),M.return=R,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case _t:return x=Od(M.type,M.key,M.props,null,R.mode,x),Fo(x,M),x.return=R,x;case ot:return M=Cd(M,R.mode,x),M.return=R,M;case vt:return M=ji(M),Z(R,M,x)}if(le(M)||jt(M))return M=Iu(M,R.mode,x,null),M.return=R,M;if(typeof M.then=="function")return Z(R,ws(M),x);if(M.$$typeof===he)return Z(R,ti(R,M),x);qs(R,M)}return null}function H(R,M,x,Q){var yt=M!==null?M.key:null;if(typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint")return yt!==null?null:g(R,M,""+x,Q);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case _t:return x.key===yt?A(R,M,x,Q):null;case ot:return x.key===yt?_(R,M,x,Q):null;case vt:return x=ji(x),H(R,M,x,Q)}if(le(x)||jt(x))return yt!==null?null:G(R,M,x,Q,null);if(typeof x.then=="function")return H(R,M,ws(x),Q);if(x.$$typeof===he)return H(R,M,ti(R,x),Q);qs(R,x)}return null}function j(R,M,x,Q,yt){if(typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint")return R=R.get(x)||null,g(M,R,""+Q,yt);if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case _t:return R=R.get(Q.key===null?x:Q.key)||null,A(M,R,Q,yt);case ot:return R=R.get(Q.key===null?x:Q.key)||null,_(M,R,Q,yt);case vt:return Q=ji(Q),j(R,M,x,Q,yt)}if(le(Q)||jt(Q))return R=R.get(x)||null,G(M,R,Q,yt,null);if(typeof Q.then=="function")return j(R,M,x,ws(Q),yt);if(Q.$$typeof===he)return j(R,M,x,ti(M,Q),yt);qs(M,Q)}return null}function ft(R,M,x,Q){for(var yt=null,fe=null,rt=M,Nt=M=0,Xt=null;rt!==null&&Nt<x.length;Nt++){rt.index>Nt?(Xt=rt,rt=null):Xt=rt.sibling;var de=H(R,rt,x[Nt],Q);if(de===null){rt===null&&(rt=Xt);break}l&&rt&&de.alternate===null&&n(R,rt),M=r(de,M,Nt),fe===null?yt=de:fe.sibling=de,fe=de,rt=Xt}if(Nt===x.length)return u(R,rt),It&&rn(R,Nt),yt;if(rt===null){for(;Nt<x.length;Nt++)rt=Z(R,x[Nt],Q),rt!==null&&(M=r(rt,M,Nt),fe===null?yt=rt:fe.sibling=rt,fe=rt);return It&&rn(R,Nt),yt}for(rt=c(rt);Nt<x.length;Nt++)Xt=j(rt,R,Nt,x[Nt],Q),Xt!==null&&(l&&Xt.alternate!==null&&rt.delete(Xt.key===null?Nt:Xt.key),M=r(Xt,M,Nt),fe===null?yt=Xt:fe.sibling=Xt,fe=Xt);return l&&rt.forEach(function(Kn){return n(R,Kn)}),It&&rn(R,Nt),yt}function bt(R,M,x,Q){if(x==null)throw Error(E(151));for(var yt=null,fe=null,rt=M,Nt=M=0,Xt=null,de=x.next();rt!==null&&!de.done;Nt++,de=x.next()){rt.index>Nt?(Xt=rt,rt=null):Xt=rt.sibling;var Kn=H(R,rt,de.value,Q);if(Kn===null){rt===null&&(rt=Xt);break}l&&rt&&Kn.alternate===null&&n(R,rt),M=r(Kn,M,Nt),fe===null?yt=Kn:fe.sibling=Kn,fe=Kn,rt=Xt}if(de.done)return u(R,rt),It&&rn(R,Nt),yt;if(rt===null){for(;!de.done;Nt++,de=x.next())de=Z(R,de.value,Q),de!==null&&(M=r(de,M,Nt),fe===null?yt=de:fe.sibling=de,fe=de);return It&&rn(R,Nt),yt}for(rt=c(rt);!de.done;Nt++,de=x.next())de=j(rt,R,Nt,de.value,Q),de!==null&&(l&&de.alternate!==null&&rt.delete(de.key===null?Nt:de.key),M=r(de,M,Nt),fe===null?yt=de:fe.sibling=de,fe=de);return l&&rt.forEach(function(lv){return n(R,lv)}),It&&rn(R,Nt),yt}function Ue(R,M,x,Q){if(typeof x=="object"&&x!==null&&x.type===wt&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case _t:t:{for(var yt=x.key;M!==null;){if(M.key===yt){if(yt=x.type,yt===wt){if(M.tag===7){u(R,M.sibling),Q=s(M,x.props.children),Q.return=R,R=Q;break t}}else if(M.elementType===yt||typeof yt=="object"&&yt!==null&&yt.$$typeof===vt&&ji(yt)===M.type){u(R,M.sibling),Q=s(M,x.props),Fo(Q,x),Q.return=R,R=Q;break t}u(R,M);break}else n(R,M);M=M.sibling}x.type===wt?(Q=Iu(x.props.children,R.mode,Q,x.key),Q.return=R,R=Q):(Q=Od(x.type,x.key,x.props,null,R.mode,Q),Fo(Q,x),Q.return=R,R=Q)}return m(R);case ot:t:{for(yt=x.key;M!==null;){if(M.key===yt)if(M.tag===4&&M.stateNode.containerInfo===x.containerInfo&&M.stateNode.implementation===x.implementation){u(R,M.sibling),Q=s(M,x.children||[]),Q.return=R,R=Q;break t}else{u(R,M);break}else n(R,M);M=M.sibling}Q=Cd(x,R.mode,Q),Q.return=R,R=Q}return m(R);case vt:return x=ji(x),Ue(R,M,x,Q)}if(le(x))return ft(R,M,x,Q);if(jt(x)){if(yt=jt(x),typeof yt!="function")throw Error(E(150));return x=yt.call(x),bt(R,M,x,Q)}if(typeof x.then=="function")return Ue(R,M,ws(x),Q);if(x.$$typeof===he)return Ue(R,M,ti(R,x),Q);qs(R,x)}return typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint"?(x=""+x,M!==null&&M.tag===6?(u(R,M.sibling),Q=s(M,x),Q.return=R,R=Q):(u(R,M),Q=Zo(x,R.mode,Q),Q.return=R,R=Q),m(R)):u(R,M)}return function(R,M,x,Q){try{Gc=0;var yt=Ue(R,M,x,Q);return Xi=null,yt}catch(rt){if(rt===Yi||rt===Wo)throw rt;var fe=ll(29,rt,null,R.mode);return fe.lanes=Q,fe.return=R,fe}finally{}}}var Vi=Ip(!0),hy=Ip(!1),li=!1;function Ys(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Hd(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 ai(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}function Xa(l,n,u){var c=l.updateQueue;if(c===null)return null;if(c=c.shared,(re&2)!==0){var s=c.pending;return s===null?n.next=n:(n.next=s.next,s.next=n),c.pending=n,n=Ms(l),Md(l,null,u),n}return wa(l,c,n,u),Ms(l)}function Qi(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,tu(l,u)}}function Nd(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 m={lane:u.lane,tag:u.tag,payload:u.payload,callback:null,next:null};r===null?s=r=m:r=r.next=m,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 my=!1;function Li(){if(my){var l=yl;if(l!==null)throw l}}function hu(l,n,u,c){my=!1;var s=l.updateQueue;li=!1;var r=s.firstBaseUpdate,m=s.lastBaseUpdate,g=s.shared.pending;if(g!==null){s.shared.pending=null;var A=g,_=A.next;A.next=null,m===null?r=_:m.next=_,m=A;var G=l.alternate;G!==null&&(G=G.updateQueue,g=G.lastBaseUpdate,g!==m&&(g===null?G.firstBaseUpdate=_:g.next=_,G.lastBaseUpdate=A))}if(r!==null){var Z=s.baseState;m=0,G=_=A=null,g=r;do{var H=g.lane&-536870913,j=H!==g.lane;if(j?($t&H)===H:(c&H)===H){H!==0&&H===qi&&(my=!0),G!==null&&(G=G.next={lane:0,tag:g.tag,payload:g.payload,callback:null,next:null});t:{var ft=l,bt=g;H=n;var Ue=u;switch(bt.tag){case 1:if(ft=bt.payload,typeof ft=="function"){Z=ft.call(Ue,Z,H);break t}Z=ft;break t;case 3:ft.flags=ft.flags&-65537|128;case 0:if(ft=bt.payload,H=typeof ft=="function"?ft.call(Ue,Z,H):ft,H==null)break t;Z=K({},Z,H);break t;case 2:li=!0}}H=g.callback,H!==null&&(l.flags|=64,j&&(l.flags|=8192),j=s.callbacks,j===null?s.callbacks=[H]:j.push(H))}else j={lane:H,tag:g.tag,payload:g.payload,callback:g.callback,next:null},G===null?(_=G=j,A=Z):G=G.next=j,m|=H;if(g=g.next,g===null){if(g=s.shared.pending,g===null)break;j=g,g=j.next,j.next=null,s.lastBaseUpdate=j,s.shared.pending=null}}while(!0);G===null&&(A=Z),s.baseState=A,s.firstBaseUpdate=_,s.lastBaseUpdate=G,r===null&&(s.shared.lanes=0),Vn|=m,l.lanes=m,l.memoizedState=Z}}function Bd(l,n){if(typeof l!="function")throw Error(E(191,l));l.call(n)}function Zi(l,n){var u=l.callbacks;if(u!==null)for(l.callbacks=null,l=0;l<u.length;l++)Bd(u[l],n)}var Sl=st(null),Xc=st(0);function Pp(l,n){l=Xn,I(Xc,l),I(Sl,n),Xn=l|n.baseLanes}function js(){I(Xc,Xn),I(Sl,Sl.current)}function Io(){Xn=Xc.current,mt(Sl),mt(Xc)}var sa=st(null),Va=null;function mu(l){var n=l.alternate;I(Qe,Qe.current&1),I(sa,l),Va===null&&(n===null||Sl.current!==null||n.memoizedState!==null)&&(Va=l)}function Po(l){I(Qe,Qe.current),I(sa,l),Va===null&&(Va=l)}function wd(l){l.tag===22?(I(Qe,Qe.current),I(sa,l),Va===null&&(Va=l)):wn()}function wn(){I(Qe,Qe.current),I(sa,sa.current)}function ra(l){mt(sa),Va===l&&(Va=null),mt(Qe)}var Qe=st(0);function tf(l){for(var n=l;n!==null;){if(n.tag===13){var u=n.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||pn(u)||ac(u)))return n}else if(n.tag===19&&(n.memoizedProps.revealOrder==="forwards"||n.memoizedProps.revealOrder==="backwards"||n.memoizedProps.revealOrder==="unstable_legacy-backwards"||n.memoizedProps.revealOrder==="together")){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}var yu=0,Bt=null,Te=null,rl=null,Vc=!1,Qc=!1,ni=!1,Gs=0,ef=0,Ji=null,tg=0;function Ie(){throw Error(E(321))}function ui(l,n){if(n===null)return!1;for(var u=0;u<n.length&&u<l.length;u++)if(!Wl(l[u],n[u]))return!1;return!0}function Xs(l,n,u,c,s,r){return yu=r,Bt=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,C.H=l===null||l.memoizedState===null?og:Pd,ni=!1,r=u(c,s),ni=!1,Qc&&(r=eg(n,u,c,s)),qd(l),r}function qd(l){C.H=Ws;var n=Te!==null&&Te.next!==null;if(yu=0,rl=Te=Bt=null,Vc=!1,ef=0,Ji=null,n)throw Error(E(300));l===null||dl||(l=l.dependencies,l!==null&&Bc(l)&&(dl=!0))}function eg(l,n,u,c){Bt=l;var s=0;do{if(Qc&&(Ji=null),ef=0,Qc=!1,25<=s)throw Error(E(301));if(s+=1,rl=Te=null,l.updateQueue!=null){var r=l.updateQueue;r.lastEffect=null,r.events=null,r.stores=null,r.memoCache!=null&&(r.memoCache.index=0)}C.H=fg,r=n(u,c)}while(Qc);return r}function v1(){var l=C.H,n=l.useState()[0];return n=typeof n.then=="function"?Zc(n):n,l=l.useState()[0],(Te!==null?Te.memoizedState:null)!==l&&(Bt.flags|=1024),n}function Yd(){var l=Gs!==0;return Gs=0,l}function Lc(l,n,u){n.updateQueue=l.updateQueue,n.flags&=-2053,l.lanes&=~u}function Vs(l){if(Vc){for(l=l.memoizedState;l!==null;){var n=l.queue;n!==null&&(n.pending=null),l=l.next}Vc=!1}yu=0,rl=Te=Bt=null,Qc=!1,ef=Gs=0,Ji=null}function Rl(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return rl===null?Bt.memoizedState=rl=l:rl=rl.next=l,rl}function nl(){if(Te===null){var l=Bt.alternate;l=l!==null?l.memoizedState:null}else l=Te.next;var n=rl===null?Bt.memoizedState:rl.next;if(n!==null)rl=n,Te=l;else{if(l===null)throw Bt.alternate===null?Error(E(467)):Error(E(310));Te=l,l={memoizedState:Te.memoizedState,baseState:Te.baseState,baseQueue:Te.baseQueue,queue:Te.queue,next:null},rl===null?Bt.memoizedState=rl=l:rl=rl.next=l}return rl}function Qs(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Zc(l){var n=ef;return ef+=1,Ji===null&&(Ji=[]),l=ry(Ji,l,n),n=Bt,(rl===null?n.memoizedState:rl.next)===null&&(n=n.alternate,C.H=n===null||n.memoizedState===null?og:Pd),l}function lf(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return Zc(l);if(l.$$typeof===he)return J(l)}throw Error(E(438,String(l)))}function jd(l){var n=null,u=Bt.updateQueue;if(u!==null&&(n=u.memoCache),n==null){var c=Bt.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=Qs(),Bt.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]=at;return n.index++,u}function pu(l,n){return typeof n=="function"?n(l):n}function gu(l){var n=nl();return Gd(n,Te,l)}function Gd(l,n,u){var c=l.queue;if(c===null)throw Error(E(311));c.lastRenderedReducer=u;var s=l.baseQueue,r=c.pending;if(r!==null){if(s!==null){var m=s.next;s.next=r.next,r.next=m}n.baseQueue=s=r,c.pending=null}if(r=l.baseState,s===null)l.memoizedState=r;else{n=s.next;var g=m=null,A=null,_=n,G=!1;do{var Z=_.lane&-536870913;if(Z!==_.lane?($t&Z)===Z:(yu&Z)===Z){var H=_.revertLane;if(H===0)A!==null&&(A=A.next={lane:0,revertLane:0,gesture:null,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null}),Z===qi&&(G=!0);else if((yu&H)===H){_=_.next,H===qi&&(G=!0);continue}else Z={lane:0,revertLane:_.revertLane,gesture:null,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null},A===null?(g=A=Z,m=r):A=A.next=Z,Bt.lanes|=H,Vn|=H;Z=_.action,ni&&u(r,Z),r=_.hasEagerState?_.eagerState:u(r,Z)}else H={lane:Z,revertLane:_.revertLane,gesture:_.gesture,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null},A===null?(g=A=H,m=r):A=A.next=H,Bt.lanes|=Z,Vn|=Z;_=_.next}while(_!==null&&_!==n);if(A===null?m=r:A.next=g,!Wl(r,l.memoizedState)&&(dl=!0,G&&(u=yl,u!==null)))throw u;l.memoizedState=r,l.baseState=m,l.baseQueue=A,c.lastRenderedState=r}return s===null&&(c.lanes=0),[l.memoizedState,c.dispatch]}function Xd(l){var n=nl(),u=n.queue;if(u===null)throw Error(E(311));u.lastRenderedReducer=l;var c=u.dispatch,s=u.pending,r=n.memoizedState;if(s!==null){u.pending=null;var m=s=s.next;do r=l(r,m.action),m=m.next;while(m!==s);Wl(r,n.memoizedState)||(dl=!0),n.memoizedState=r,n.baseQueue===null&&(n.baseState=r),u.lastRenderedState=r}return[r,c]}function yy(l,n,u){var c=Bt,s=nl(),r=It;if(r){if(u===void 0)throw Error(E(407));u=u()}else u=n();var m=!Wl((Te||s).memoizedState,u);if(m&&(s.memoizedState=u,dl=!0),s=s.queue,Jd(Vd.bind(null,c,s,l),[l]),s.getSnapshot!==n||m||rl!==null&&rl.memoizedState.tag&1){if(c.flags|=2048,Kc(9,{destroy:void 0},py.bind(null,c,s,u,n),null),Oe===null)throw Error(E(349));r||(yu&127)!==0||Ls(c,n,u)}return u}function Ls(l,n,u){l.flags|=16384,l={getSnapshot:n,value:u},n=Bt.updateQueue,n===null?(n=Qs(),Bt.updateQueue=n,n.stores=[l]):(u=n.stores,u===null?n.stores=[l]:u.push(l))}function py(l,n,u,c){n.value=u,n.getSnapshot=c,Qd(n)&&Ld(l)}function Vd(l,n,u){return u(function(){Qd(n)&&Ld(l)})}function Qd(l){var n=l.getSnapshot;l=l.value;try{var u=n();return!Wl(l,u)}catch{return!0}}function Ld(l){var n=Wu(l,2);n!==null&&ga(n,l,2)}function gy(l){var n=Rl();if(typeof l=="function"){var u=l;if(l=u(),ni){Lu(!0);try{u()}finally{Lu(!1)}}}return n.memoizedState=n.baseState=l,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:pu,lastRenderedState:l},n}function xl(l,n,u,c){return l.baseState=u,Gd(l,Te,typeof c=="function"?c:pu)}function lg(l,n,u,c,s){if(ks(l))throw Error(E(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(m){r.listeners.push(m)}};C.T!==null?u(!0):r.isTransition=!1,c(r),u=n.pending,u===null?(r.next=n.pending=r,vy(n,r)):(r.next=u.next,n.pending=u.next=r)}}function vy(l,n){var u=n.action,c=n.payload,s=l.state;if(n.isTransition){var r=C.T,m={};C.T=m;try{var g=u(s,c),A=C.S;A!==null&&A(m,g),by(l,n,g)}catch(_){Jc(l,n,_)}finally{r!==null&&m.types!==null&&(r.types=m.types),C.T=r}}else try{r=u(s,c),by(l,n,r)}catch(_){Jc(l,n,_)}}function by(l,n,u){u!==null&&typeof u=="object"&&typeof u.then=="function"?u.then(function(c){Sy(l,n,c)},function(c){return Jc(l,n,c)}):Sy(l,n,u)}function Sy(l,n,u){n.status="fulfilled",n.value=u,Ty(n),l.state=u,n=l.pending,n!==null&&(u=n.next,u===n?l.pending=null:(u=u.next,n.next=u,vy(l,u)))}function Jc(l,n,u){var c=l.pending;if(l.pending=null,c!==null){c=c.next;do n.status="rejected",n.reason=u,Ty(n),n=n.next;while(n!==c)}l.action=null}function Ty(l){l=l.listeners;for(var n=0;n<l.length;n++)(0,l[n])()}function Zs(l,n){return n}function Ey(l,n){if(It){var u=Oe.formState;if(u!==null){t:{var c=Bt;if(It){if(He){e:{for(var s=He,r=bl;s.nodeType!==8;){if(!r){s=null;break e}if(s=va(s.nextSibling),s===null){s=null;break e}}r=s.data,s=r==="F!"||r==="F"?s:null}if(s){He=va(s.nextSibling),c=s.data==="F!";break t}}dn(c)}c=!1}c&&(n=u[0])}}return u=Rl(),u.memoizedState=u.baseState=n,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zs,lastRenderedState:n},u.queue=c,u=Fd.bind(null,Bt,c),c.dispatch=u,c=gy(!1),r=Ki.bind(null,Bt,!1,c.queue),c=Rl(),s={state:n,dispatch:null,action:l,pending:null},c.queue=s,u=lg.bind(null,Bt,s,r,u),s.dispatch=u,c.memoizedState=l,[n,u,!1]}function ag(l){var n=nl();return Js(n,Te,l)}function Js(l,n,u){if(n=Gd(l,n,Zs)[0],l=gu(pu)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var c=Zc(n)}catch(m){throw m===Yi?Wo:m}else c=n;n=nl();var s=n.queue,r=s.dispatch;return u!==n.memoizedState&&(Bt.flags|=2048,Kc(9,{destroy:void 0},Ay.bind(null,s,u),null)),[c,r,l]}function Ay(l,n){l.action=n}function zy(l){var n=nl(),u=Te;if(u!==null)return Js(n,u,l);nl(),n=n.memoizedState,u=nl();var c=u.queue.dispatch;return u.memoizedState=l,[n,c,!1]}function Kc(l,n,u,c){return l={tag:l,create:u,deps:c,inst:n,next:null},n=Bt.updateQueue,n===null&&(n=Qs(),Bt.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 Dy(){return nl().memoizedState}function af(l,n,u,c){var s=Rl();Bt.flags|=l,s.memoizedState=Kc(1|n,{destroy:void 0},u,c===void 0?null:c)}function nf(l,n,u,c){var s=nl();c=c===void 0?null:c;var r=s.memoizedState.inst;Te!==null&&c!==null&&ui(c,Te.memoizedState.deps)?s.memoizedState=Kc(n,r,u,c):(Bt.flags|=l,s.memoizedState=Kc(1|n,r,u,c))}function Zd(l,n){af(8390656,8,l,n)}function Jd(l,n){nf(2048,8,l,n)}function My(l){Bt.flags|=4;var n=Bt.updateQueue;if(n===null)n=Qs(),Bt.updateQueue=n,n.events=[l];else{var u=n.events;u===null?n.events=[l]:u.push(l)}}function Ks(l){var n=nl().memoizedState;return My({ref:n,nextImpl:l}),function(){if((re&2)!==0)throw Error(E(440));return n.impl.apply(void 0,arguments)}}function Kd(l,n){return nf(4,2,l,n)}function Oy(l,n){return nf(4,4,l,n)}function $d(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 Cy(l,n,u){u=u!=null?u.concat([l]):null,nf(4,4,$d.bind(null,n,l),u)}function qn(){}function kd(l,n){var u=nl();n=n===void 0?null:n;var c=u.memoizedState;return n!==null&&ui(n,c[1])?c[0]:(u.memoizedState=[l,n],l)}function ng(l,n){var u=nl();n=n===void 0?null:n;var c=u.memoizedState;if(n!==null&&ui(n,c[1]))return c[0];if(c=l(),ni){Lu(!0);try{l()}finally{Lu(!1)}}return u.memoizedState=[c,n],c}function $s(l,n,u){return u===void 0||(yu&1073741824)!==0&&($t&261930)===0?l.memoizedState=n:(l.memoizedState=u,l=bg(),Bt.lanes|=l,Vn|=l,u)}function vu(l,n,u,c){return Wl(u,n)?u:Sl.current!==null?(l=$s(l,u,c),Wl(l,n)||(dl=!0),l):(yu&42)===0||(yu&1073741824)!==0&&($t&261930)===0?(dl=!0,l.memoizedState=u):(l=bg(),Bt.lanes|=l,Vn|=l,n)}function Wd(l,n,u,c,s){var r=L.p;L.p=r!==0&&8>r?r:8;var m=C.T,g={};C.T=g,Ki(l,!1,n,u);try{var A=s(),_=C.S;if(_!==null&&_(g,A),A!==null&&typeof A=="object"&&typeof A.then=="function"){var G=Bs(A,c);ii(l,n,G,Ca(l))}else ii(l,n,c,Ca(l))}catch(Z){ii(l,n,{then:function(){},status:"rejected",reason:Z},Ca())}finally{L.p=r,m!==null&&g.types!==null&&(m.types=g.types),C.T=m}}function ug(){}function uf(l,n,u,c){if(l.tag!==5)throw Error(E(476));var s=cf(l).queue;Wd(l,s,n,W,u===null?ug:function(){return Me(l),u(c)})}function cf(l){var n=l.memoizedState;if(n!==null)return n;n={memoizedState:W,baseState:W,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:pu,lastRenderedState:W},next:null};var u={};return n.next={memoizedState:u,baseState:u,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:pu,lastRenderedState:u},next:null},l.memoizedState=n,l=l.alternate,l!==null&&(l.memoizedState=n),n}function Me(l){var n=cf(l);n.next===null&&(n=l.alternate.memoizedState),ii(l,n.next.queue,{},Ca())}function Uy(){return J(Ar)}function ig(){return nl().memoizedState}function Ry(){return nl().memoizedState}function bu(l){for(var n=l.return;n!==null;){switch(n.tag){case 24:case 3:var u=Ca();l=ai(u);var c=Xa(n,l,u);c!==null&&(ga(c,n,u),Qi(c,n,u)),n={cache:xs()},l.payload=n;return}n=n.return}}function cg(l,n,u){var c=Ca();u={lane:c,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},ks(l)?Id(n,u):(u=sn(l,n,u,c),u!==null&&(ga(u,l,c),xy(u,n,c)))}function Fd(l,n,u){var c=Ca();ii(l,n,u,c)}function ii(l,n,u,c){var s={lane:c,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null};if(ks(l))Id(n,s);else{var r=l.alternate;if(l.lanes===0&&(r===null||r.lanes===0)&&(r=n.lastRenderedReducer,r!==null))try{var m=n.lastRenderedState,g=r(m,u);if(s.hasEagerState=!0,s.eagerState=g,Wl(g,m))return wa(l,n,s,0),Oe===null&&Ba(),!1}catch{}finally{}if(u=sn(l,n,s,c),u!==null)return ga(u,l,c),xy(u,n,c),!0}return!1}function Ki(l,n,u,c){if(c={lane:2,revertLane:zh(),gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null},ks(l)){if(n)throw Error(E(479))}else n=sn(l,u,c,2),n!==null&&ga(n,l,2)}function ks(l){var n=l.alternate;return l===Bt||n!==null&&n===Bt}function Id(l,n){Qc=Vc=!0;var u=l.pending;u===null?n.next=n:(n.next=u.next,u.next=n),l.pending=n}function xy(l,n,u){if((u&4194048)!==0){var c=n.lanes;c&=l.pendingLanes,u|=c,n.lanes=u,tu(l,u)}}var Ws={readContext:J,use:lf,useCallback:Ie,useContext:Ie,useEffect:Ie,useImperativeHandle:Ie,useLayoutEffect:Ie,useInsertionEffect:Ie,useMemo:Ie,useReducer:Ie,useRef:Ie,useState:Ie,useDebugValue:Ie,useDeferredValue:Ie,useTransition:Ie,useSyncExternalStore:Ie,useId:Ie,useHostTransitionStatus:Ie,useFormState:Ie,useActionState:Ie,useOptimistic:Ie,useMemoCache:Ie,useCacheRefresh:Ie};Ws.useEffectEvent=Ie;var og={readContext:J,use:lf,useCallback:function(l,n){return Rl().memoizedState=[l,n===void 0?null:n],l},useContext:J,useEffect:Zd,useImperativeHandle:function(l,n,u){u=u!=null?u.concat([l]):null,af(4194308,4,$d.bind(null,n,l),u)},useLayoutEffect:function(l,n){return af(4194308,4,l,n)},useInsertionEffect:function(l,n){af(4,2,l,n)},useMemo:function(l,n){var u=Rl();n=n===void 0?null:n;var c=l();if(ni){Lu(!0);try{l()}finally{Lu(!1)}}return u.memoizedState=[c,n],c},useReducer:function(l,n,u){var c=Rl();if(u!==void 0){var s=u(n);if(ni){Lu(!0);try{u(n)}finally{Lu(!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=cg.bind(null,Bt,l),[c.memoizedState,l]},useRef:function(l){var n=Rl();return l={current:l},n.memoizedState=l},useState:function(l){l=gy(l);var n=l.queue,u=Fd.bind(null,Bt,n);return n.dispatch=u,[l.memoizedState,u]},useDebugValue:qn,useDeferredValue:function(l,n){var u=Rl();return $s(u,l,n)},useTransition:function(){var l=gy(!1);return l=Wd.bind(null,Bt,l.queue,!0,!1),Rl().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,n,u){var c=Bt,s=Rl();if(It){if(u===void 0)throw Error(E(407));u=u()}else{if(u=n(),Oe===null)throw Error(E(349));($t&127)!==0||Ls(c,n,u)}s.memoizedState=u;var r={value:u,getSnapshot:n};return s.queue=r,Zd(Vd.bind(null,c,r,l),[l]),c.flags|=2048,Kc(9,{destroy:void 0},py.bind(null,c,r,u,n),null),u},useId:function(){var l=Rl(),n=Oe.identifierPrefix;if(It){var u=Hn,c=za;u=(c&~(1<<32-aa(c)-1)).toString(32)+u,n="_"+n+"R_"+u,u=Gs++,0<u&&(n+="H"+u.toString(32)),n+="_"}else u=tg++,n="_"+n+"r_"+u.toString(32)+"_";return l.memoizedState=n},useHostTransitionStatus:Uy,useFormState:Ey,useActionState:Ey,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=Ki.bind(null,Bt,!0,u),u.dispatch=n,[l,n]},useMemoCache:jd,useCacheRefresh:function(){return Rl().memoizedState=bu.bind(null,Bt)},useEffectEvent:function(l){var n=Rl(),u={impl:l};return n.memoizedState=u,function(){if((re&2)!==0)throw Error(E(440));return u.impl.apply(void 0,arguments)}}},Pd={readContext:J,use:lf,useCallback:kd,useContext:J,useEffect:Jd,useImperativeHandle:Cy,useInsertionEffect:Kd,useLayoutEffect:Oy,useMemo:ng,useReducer:gu,useRef:Dy,useState:function(){return gu(pu)},useDebugValue:qn,useDeferredValue:function(l,n){var u=nl();return vu(u,Te.memoizedState,l,n)},useTransition:function(){var l=gu(pu)[0],n=nl().memoizedState;return[typeof l=="boolean"?l:Zc(l),n]},useSyncExternalStore:yy,useId:ig,useHostTransitionStatus:Uy,useFormState:ag,useActionState:ag,useOptimistic:function(l,n){var u=nl();return xl(u,Te,l,n)},useMemoCache:jd,useCacheRefresh:Ry};Pd.useEffectEvent=Ks;var fg={readContext:J,use:lf,useCallback:kd,useContext:J,useEffect:Jd,useImperativeHandle:Cy,useInsertionEffect:Kd,useLayoutEffect:Oy,useMemo:ng,useReducer:Xd,useRef:Dy,useState:function(){return Xd(pu)},useDebugValue:qn,useDeferredValue:function(l,n){var u=nl();return Te===null?$s(u,l,n):vu(u,Te.memoizedState,l,n)},useTransition:function(){var l=Xd(pu)[0],n=nl().memoizedState;return[typeof l=="boolean"?l:Zc(l),n]},useSyncExternalStore:yy,useId:ig,useHostTransitionStatus:Uy,useFormState:zy,useActionState:zy,useOptimistic:function(l,n){var u=nl();return Te!==null?xl(u,Te,l,n):(u.baseState=l,[l,u.queue.dispatch])},useMemoCache:jd,useCacheRefresh:Ry};fg.useEffectEvent=Ks;function $c(l,n,u,c){n=l.memoizedState,u=u(c,n),u=u==null?n:K({},n,u),l.memoizedState=u,l.lanes===0&&(l.updateQueue.baseState=u)}var hn={enqueueSetState:function(l,n,u){l=l._reactInternals;var c=Ca(),s=ai(c);s.payload=n,u!=null&&(s.callback=u),n=Xa(l,s,c),n!==null&&(ga(n,l,c),Qi(n,l,c))},enqueueReplaceState:function(l,n,u){l=l._reactInternals;var c=Ca(),s=ai(c);s.tag=1,s.payload=n,u!=null&&(s.callback=u),n=Xa(l,s,c),n!==null&&(ga(n,l,c),Qi(n,l,c))},enqueueForceUpdate:function(l,n){l=l._reactInternals;var u=Ca(),c=ai(u);c.tag=2,n!=null&&(c.callback=n),n=Xa(l,c,u),n!==null&&(ga(n,l,u),Qi(n,l,u))}};function _y(l,n,u,c,s,r,m){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(c,r,m):n.prototype&&n.prototype.isPureReactComponent?!cn(u,c)||!cn(s,r):!0}function sg(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&&hn.enqueueReplaceState(n,n.state,null)}function $i(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=K({},u));for(var s in l)u[s]===void 0&&(u[s]=l[s])}return u}function th(l){_c(l)}function Hy(l){console.error(l)}function eh(l){_c(l)}function of(l,n){try{var u=l.onUncaughtError;u(n.value,{componentStack:n.stack})}catch(c){setTimeout(function(){throw c})}}function Fs(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 Ny(l,n,u){return u=ai(u),u.tag=3,u.payload={element:null},u.callback=function(){of(l,n)},u}function By(l){return l=ai(l),l.tag=3,l}function wy(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(){Fs(n,u,c)}}var m=u.stateNode;m!==null&&typeof m.componentDidCatch=="function"&&(l.callback=function(){Fs(n,u,c),typeof s!="function"&&(Le===null?Le=new Set([this]):Le.add(this));var g=c.stack;this.componentDidCatch(c.value,{componentStack:g!==null?g:""})})}function b1(l,n,u,c,s){if(u.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){if(n=u.alternate,n!==null&&Ul(n,u,s,!0),u=sa.current,u!==null){switch(u.tag){case 31:case 13:return Va===null?Sh():u.alternate===null&&Be===0&&(Be=3),u.flags&=-257,u.flags|=65536,u.lanes=s,c===jc?u.flags|=16384:(n=u.updateQueue,n===null?u.updateQueue=new Set([c]):n.add(c),rr(l,c,s)),!1;case 22:return u.flags|=65536,c===jc?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)),rr(l,c,s)),!1}throw Error(E(435,u.tag))}return rr(l,c,s),Sh(),!1}if(It)return n=sa.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=s,c!==su&&(l=Error(E(422),{cause:c}),$o(qa(l,u)))):(c!==su&&(n=Error(E(423),{cause:c}),$o(qa(n,u))),l=l.current.alternate,l.flags|=65536,s&=-s,l.lanes|=s,c=qa(c,u),s=Ny(l.stateNode,c,s),Nd(l,s),Be!==4&&(Be=2)),!1;var r=Error(E(520),{cause:c});if(r=qa(r,u),cr===null?cr=[r]:cr.push(r),Be!==4&&(Be=2),n===null)return!0;c=qa(c,u),u=n;do{switch(u.tag){case 3:return u.flags|=65536,l=s&-s,u.lanes|=l,l=Ny(u.stateNode,c,l),Nd(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"&&(Le===null||!Le.has(r))))return u.flags|=65536,s&=-s,u.lanes|=s,s=By(s),wy(s,l,u,c),Nd(u,s),!1}u=u.return}while(u!==null);return!1}var lh=Error(E(461)),dl=!1;function Ye(l,n,u,c){n.child=l===null?hy(n,null,u,c):Vi(n,l.child,u,c)}function qy(l,n,u,c,s){u=u.render;var r=n.ref;if("ref"in c){var m={};for(var g in c)g!=="ref"&&(m[g]=c[g])}else m=c;return Ut(n),c=Xs(l,n,u,m,r,s),g=Yd(),l!==null&&!dl?(Lc(l,n,s),Za(l,n,s)):(It&&g&&Jo(n),n.flags|=1,Ye(l,n,c,s),n.child)}function Yy(l,n,u,c,s){if(l===null){var r=u.type;return typeof r=="function"&&!Hc(r)&&r.defaultProps===void 0&&u.compare===null?(n.tag=15,n.type=r,jy(l,n,r,c,s)):(l=Od(u.type,null,c,n,n.mode,s),l.ref=n.ref,l.return=n,n.child=l)}if(r=l.child,!uh(l,s)){var m=r.memoizedProps;if(u=u.compare,u=u!==null?u:cn,u(m,c)&&l.ref===n.ref)return Za(l,n,s)}return n.flags|=1,l=Fu(r,c),l.ref=n.ref,l.return=n,n.child=l}function jy(l,n,u,c,s){if(l!==null){var r=l.memoizedProps;if(cn(r,c)&&l.ref===n.ref)if(dl=!1,n.pendingProps=c=r,uh(l,s))(l.flags&131072)!==0&&(dl=!0);else return n.lanes=l.lanes,Za(l,n,s)}return ah(l,n,u,c,s)}function rg(l,n,u,c){var s=c.children,r=l!==null?l.memoizedState:null;if(l===null&&n.stateNode===null&&(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),c.mode==="hidden"){if((n.flags&128)!==0){if(r=r!==null?r.baseLanes|u:u,l!==null){for(c=n.child=l.child,s=0;c!==null;)s=s|c.lanes|c.childLanes,c=c.sibling;c=s&~r}else c=0,n.child=null;return da(l,n,r,u,c)}if((u&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},l!==null&&ko(n,r!==null?r.cachePool:null),r!==null?Pp(n,r):js(),wd(n);else return c=n.lanes=536870912,da(l,n,r!==null?r.baseLanes|u:u,u,c)}else r!==null?(ko(n,r.cachePool),Pp(n,r),wn(),n.memoizedState=null):(l!==null&&ko(n,null),js(),wn());return Ye(l,n,s,u),n.child}function ki(l,n){return l!==null&&l.tag===22||n.stateNode!==null||(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.sibling}function da(l,n,u,c,s){var r=Ga();return r=r===null?null:{parent:sl._currentValue,pool:r},n.memoizedState={baseLanes:u,cachePool:r},l!==null&&ko(n,null),js(),wd(n),l!==null&&Ul(l,n,c,!0),n.childLanes=s,null}function Is(l,n){return n=er({mode:n.mode,children:n.children},l.mode),n.ref=l.ref,l.child=n,n.return=l,n}function ha(l,n,u){return Vi(n,l.child,null,u),l=Is(n,n.pendingProps),l.flags|=2,ra(n),n.memoizedState=null,l}function dg(l,n,u){var c=n.pendingProps,s=(n.flags&128)!==0;if(n.flags&=-129,l===null){if(It){if(c.mode==="hidden")return l=Is(n,c),n.lanes=536870912,ki(null,l);if(Po(n),(l=He)?(l=Kg(l,bl),l=l!==null&&l.data==="&"?l:null,l!==null&&(n.memoizedState={dehydrated:l,treeContext:_n!==null?{id:za,overflow:Hn}:null,retryLane:536870912,hydrationErrors:null},u=ny(l),u.return=n,n.child=u,Cl=n,He=null)):l=null,l===null)throw dn(n);return n.lanes=536870912,null}return Is(n,c)}var r=l.memoizedState;if(r!==null){var m=r.dehydrated;if(Po(n),s)if(n.flags&256)n.flags&=-257,n=ha(l,n,u);else if(n.memoizedState!==null)n.child=l.child,n.flags|=128,n=null;else throw Error(E(558));else if(dl||Ul(l,n,u,!1),s=(u&l.childLanes)!==0,dl||s){if(c=Oe,c!==null&&(m=_a(c,u),m!==0&&m!==r.retryLane))throw r.retryLane=m,Wu(l,m),ga(c,l,m),lh;Sh(),n=ha(l,n,u)}else l=r.treeContext,He=va(m.nextSibling),Cl=n,It=!0,fu=null,bl=!1,l!==null&&Cs(n,l),n=Is(n,c),n.flags|=4096;return n}return l=Fu(l.child,{mode:c.mode,children:c.children}),l.ref=n.ref,n.child=l,l.return=n,l}function Qa(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(E(284));(l===null||l.ref!==u)&&(n.flags|=4194816)}}function ah(l,n,u,c,s){return Ut(n),u=Xs(l,n,u,c,void 0,s),c=Yd(),l!==null&&!dl?(Lc(l,n,s),Za(l,n,s)):(It&&c&&Jo(n),n.flags|=1,Ye(l,n,u,s),n.child)}function Wi(l,n,u,c,s,r){return Ut(n),n.updateQueue=null,u=eg(n,c,u,s),qd(l),c=Yd(),l!==null&&!dl?(Lc(l,n,r),Za(l,n,r)):(It&&c&&Jo(n),n.flags|=1,Ye(l,n,u,r),n.child)}function Gy(l,n,u,c,s){if(Ut(n),n.stateNode===null){var r=ca,m=u.contextType;typeof m=="object"&&m!==null&&(r=J(m)),r=new u(c,r),n.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=hn,n.stateNode=r,r._reactInternals=n,r=n.stateNode,r.props=c,r.state=n.memoizedState,r.refs={},Ys(n),m=u.contextType,r.context=typeof m=="object"&&m!==null?J(m):ca,r.state=n.memoizedState,m=u.getDerivedStateFromProps,typeof m=="function"&&($c(n,u,m,c),r.state=n.memoizedState),typeof u.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(m=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),m!==r.state&&hn.enqueueReplaceState(r,r.state,null),hu(n,c,r,s),Li(),r.state=n.memoizedState),typeof r.componentDidMount=="function"&&(n.flags|=4194308),c=!0}else if(l===null){r=n.stateNode;var g=n.memoizedProps,A=$i(u,g);r.props=A;var _=r.context,G=u.contextType;m=ca,typeof G=="object"&&G!==null&&(m=J(G));var Z=u.getDerivedStateFromProps;G=typeof Z=="function"||typeof r.getSnapshotBeforeUpdate=="function",g=n.pendingProps!==g,G||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(g||_!==m)&&sg(n,r,c,m),li=!1;var H=n.memoizedState;r.state=H,hu(n,c,r,s),Li(),_=n.memoizedState,g||H!==_||li?(typeof Z=="function"&&($c(n,u,Z,c),_=n.memoizedState),(A=li||_y(n,u,A,c,H,_,m))?(G||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=_),r.props=c,r.state=_,r.context=m,c=A):(typeof r.componentDidMount=="function"&&(n.flags|=4194308),c=!1)}else{r=n.stateNode,Hd(l,n),m=n.memoizedProps,G=$i(u,m),r.props=G,Z=n.pendingProps,H=r.context,_=u.contextType,A=ca,typeof _=="object"&&_!==null&&(A=J(_)),g=u.getDerivedStateFromProps,(_=typeof g=="function"||typeof r.getSnapshotBeforeUpdate=="function")||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(m!==Z||H!==A)&&sg(n,r,c,A),li=!1,H=n.memoizedState,r.state=H,hu(n,c,r,s),Li();var j=n.memoizedState;m!==Z||H!==j||li||l!==null&&l.dependencies!==null&&Bc(l.dependencies)?(typeof g=="function"&&($c(n,u,g,c),j=n.memoizedState),(G=li||_y(n,u,G,c,H,j,A)||l!==null&&l.dependencies!==null&&Bc(l.dependencies))?(_||typeof r.UNSAFE_componentWillUpdate!="function"&&typeof r.componentWillUpdate!="function"||(typeof r.componentWillUpdate=="function"&&r.componentWillUpdate(c,j,A),typeof r.UNSAFE_componentWillUpdate=="function"&&r.UNSAFE_componentWillUpdate(c,j,A)),typeof r.componentDidUpdate=="function"&&(n.flags|=4),typeof r.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof r.componentDidUpdate!="function"||m===l.memoizedProps&&H===l.memoizedState||(n.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||m===l.memoizedProps&&H===l.memoizedState||(n.flags|=1024),n.memoizedProps=c,n.memoizedState=j),r.props=c,r.state=j,r.context=A,c=G):(typeof r.componentDidUpdate!="function"||m===l.memoizedProps&&H===l.memoizedState||(n.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||m===l.memoizedProps&&H===l.memoizedState||(n.flags|=1024),c=!1)}return r=c,Qa(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=Vi(n,l.child,null,s),n.child=Vi(n,null,u,s)):Ye(l,n,u,s),n.memoizedState=r.state,l=n.child):l=Za(l,n,s),l}function Yn(l,n,u,c){return wi(),n.flags|=256,Ye(l,n,u,c),n.child}var Ps={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function tr(l){return{baseLanes:l,cachePool:qc()}}function La(l,n,u){return l=l!==null?l.childLanes&~u:0,n&&(l|=pa),l}function Xy(l,n,u){var c=n.pendingProps,s=!1,r=(n.flags&128)!==0,m;if((m=r)||(m=l!==null&&l.memoizedState===null?!1:(Qe.current&2)!==0),m&&(s=!0,n.flags&=-129),m=(n.flags&32)!==0,n.flags&=-33,l===null){if(It){if(s?mu(n):wn(),(l=He)?(l=Kg(l,bl),l=l!==null&&l.data!=="&"?l:null,l!==null&&(n.memoizedState={dehydrated:l,treeContext:_n!==null?{id:za,overflow:Hn}:null,retryLane:536870912,hydrationErrors:null},u=ny(l),u.return=n,n.child=u,Cl=n,He=null)):l=null,l===null)throw dn(n);return ac(l)?n.lanes=32:n.lanes=536870912,null}var g=c.children;return c=c.fallback,s?(wn(),s=n.mode,g=er({mode:"hidden",children:g},s),c=Iu(c,s,u,null),g.return=n,c.return=n,g.sibling=c,n.child=g,c=n.child,c.memoizedState=tr(u),c.childLanes=La(l,m,u),n.memoizedState=Ps,ki(null,c)):(mu(n),Fi(n,g))}var A=l.memoizedState;if(A!==null&&(g=A.dehydrated,g!==null)){if(r)n.flags&256?(mu(n),n.flags&=-257,n=kc(l,n,u)):n.memoizedState!==null?(wn(),n.child=l.child,n.flags|=128,n=null):(wn(),g=c.fallback,s=n.mode,c=er({mode:"visible",children:c.children},s),g=Iu(g,s,u,null),g.flags|=2,c.return=n,g.return=n,c.sibling=g,n.child=c,Vi(n,l.child,null,u),c=n.child,c.memoizedState=tr(u),c.childLanes=La(l,m,u),n.memoizedState=Ps,n=ki(null,c));else if(mu(n),ac(g)){if(m=g.nextSibling&&g.nextSibling.dataset,m)var _=m.dgst;m=_,c=Error(E(419)),c.stack="",c.digest=m,$o({value:c,source:null,stack:null}),n=kc(l,n,u)}else if(dl||Ul(l,n,u,!1),m=(u&l.childLanes)!==0,dl||m){if(m=Oe,m!==null&&(c=_a(m,u),c!==0&&c!==A.retryLane))throw A.retryLane=c,Wu(l,c),ga(m,l,c),lh;pn(g)||Sh(),n=kc(l,n,u)}else pn(g)?(n.flags|=192,n.child=l.child,n=null):(l=A.treeContext,He=va(g.nextSibling),Cl=n,It=!0,fu=null,bl=!1,l!==null&&Cs(n,l),n=Fi(n,c.children),n.flags|=4096);return n}return s?(wn(),g=c.fallback,s=n.mode,A=l.child,_=A.sibling,c=Fu(A,{mode:"hidden",children:c.children}),c.subtreeFlags=A.subtreeFlags&65011712,_!==null?g=Fu(_,g):(g=Iu(g,s,u,null),g.flags|=2),g.return=n,c.return=n,c.sibling=g,n.child=c,ki(null,c),c=n.child,g=l.child.memoizedState,g===null?g=tr(u):(s=g.cachePool,s!==null?(A=sl._currentValue,s=s.parent!==A?{parent:A,pool:A}:s):s=qc(),g={baseLanes:g.baseLanes|u,cachePool:s}),c.memoizedState=g,c.childLanes=La(l,m,u),n.memoizedState=Ps,ki(l.child,c)):(mu(n),u=l.child,l=u.sibling,u=Fu(u,{mode:"visible",children:c.children}),u.return=n,u.sibling=null,l!==null&&(m=n.deletions,m===null?(n.deletions=[l],n.flags|=16):m.push(l)),n.child=u,n.memoizedState=null,u)}function Fi(l,n){return n=er({mode:"visible",children:n},l.mode),n.return=l,l.child=n}function er(l,n){return l=ll(22,l,null,n),l.lanes=0,l}function kc(l,n,u){return Vi(n,l.child,null,u),l=Fi(n,n.pendingProps.children),l.flags|=2,n.memoizedState=null,l}function Wc(l,n,u){l.lanes|=n;var c=l.alternate;c!==null&&(c.lanes|=n),xd(l.return,n,u)}function nh(l,n,u,c,s,r){var m=l.memoizedState;m===null?l.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:c,tail:u,tailMode:s,treeForkCount:r}:(m.isBackwards=n,m.rendering=null,m.renderingStartTime=0,m.last=c,m.tail=u,m.tailMode=s,m.treeForkCount=r)}function Vy(l,n,u){var c=n.pendingProps,s=c.revealOrder,r=c.tail;c=c.children;var m=Qe.current,g=(m&2)!==0;if(g?(m=m&1|2,n.flags|=128):m&=1,I(Qe,m),Ye(l,n,c,u),c=It?fl:0,!g&&l!==null&&(l.flags&128)!==0)t:for(l=n.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&Wc(l,u,n);else if(l.tag===19)Wc(l,u,n);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===n)break t;for(;l.sibling===null;){if(l.return===null||l.return===n)break t;l=l.return}l.sibling.return=l.return,l=l.sibling}switch(s){case"forwards":for(u=n.child,s=null;u!==null;)l=u.alternate,l!==null&&tf(l)===null&&(s=u),u=u.sibling;u=s,u===null?(s=n.child,n.child=null):(s=u.sibling,u.sibling=null),nh(n,!1,s,u,r,c);break;case"backwards":case"unstable_legacy-backwards":for(u=null,s=n.child,n.child=null;s!==null;){if(l=s.alternate,l!==null&&tf(l)===null){n.child=s;break}l=s.sibling,s.sibling=u,u=s,s=l}nh(n,!0,u,null,r,c);break;case"together":nh(n,!1,null,null,void 0,c);break;default:n.memoizedState=null}return n.child}function Za(l,n,u){if(l!==null&&(n.dependencies=l.dependencies),Vn|=n.lanes,(u&n.childLanes)===0)if(l!==null){if(Ul(l,n,u,!1),(u&n.childLanes)===0)return null}else return null;if(l!==null&&n.child!==l.child)throw Error(E(153));if(n.child!==null){for(l=n.child,u=Fu(l,l.pendingProps),n.child=u,u.return=n;l.sibling!==null;)l=l.sibling,u=u.sibling=Fu(l,l.pendingProps),u.return=n;u.sibling=null}return n.child}function uh(l,n){return(l.lanes&n)!==0?!0:(l=l.dependencies,!!(l!==null&&Bc(l)))}function ih(l,n,u){switch(n.tag){case 3:We(n,n.stateNode.containerInfo),fa(n,sl,l.memoizedState.cache),wi();break;case 27:case 5:Kt(n);break;case 4:We(n,n.stateNode.containerInfo);break;case 10:fa(n,n.type,n.memoizedProps.value);break;case 31:if(n.memoizedState!==null)return n.flags|=128,Po(n),null;break;case 13:var c=n.memoizedState;if(c!==null)return c.dehydrated!==null?(mu(n),n.flags|=128,null):(u&n.child.childLanes)!==0?Xy(l,n,u):(mu(n),l=Za(l,n,u),l!==null?l.sibling:null);mu(n);break;case 19:var s=(l.flags&128)!==0;if(c=(u&n.childLanes)!==0,c||(Ul(l,n,u,!1),c=(u&n.childLanes)!==0),s){if(c)return Vy(l,n,u);n.flags|=128}if(s=n.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),I(Qe,Qe.current),c)break;return null;case 22:return n.lanes=0,rg(l,n,u,n.pendingProps);case 24:fa(n,sl,l.memoizedState.cache)}return Za(l,n,u)}function Qy(l,n,u){if(l!==null)if(l.memoizedProps!==n.pendingProps)dl=!0;else{if(!uh(l,u)&&(n.flags&128)===0)return dl=!1,ih(l,n,u);dl=(l.flags&131072)!==0}else dl=!1,It&&(n.flags&1048576)!==0&&iy(n,fl,n.index);switch(n.lanes=0,n.tag){case 16:t:{var c=n.pendingProps;if(l=ji(n.elementType),n.type=l,typeof l=="function")Hc(l)?(c=$i(l,c),n.tag=1,n=Gy(null,n,l,c,u)):(n.tag=0,n=ah(null,n,l,c,u));else{if(l!=null){var s=l.$$typeof;if(s===me){n.tag=11,n=qy(null,n,l,c,u);break t}else if(s===Ge){n.tag=14,n=Yy(null,n,l,c,u);break t}}throw n=qt(l)||l,Error(E(306,n,""))}}return n;case 0:return ah(l,n,n.type,n.pendingProps,u);case 1:return c=n.type,s=$i(c,n.pendingProps),Gy(l,n,c,s,u);case 3:t:{if(We(n,n.stateNode.containerInfo),l===null)throw Error(E(387));c=n.pendingProps;var r=n.memoizedState;s=r.element,Hd(l,n),hu(n,c,null,u);var m=n.memoizedState;if(c=m.cache,fa(n,sl,c),c!==r.cache&&du(n,[sl],u,!0),Li(),c=m.element,r.isDehydrated)if(r={element:c,isDehydrated:!1,cache:m.cache},n.updateQueue.baseState=r,n.memoizedState=r,n.flags&256){n=Yn(l,n,c,u);break t}else if(c!==s){s=qa(Error(E(424)),n),$o(s),n=Yn(l,n,c,u);break t}else{switch(l=n.stateNode.containerInfo,l.nodeType){case 9:l=l.body;break;default:l=l.nodeName==="HTML"?l.ownerDocument.body:l}for(He=va(l.firstChild),Cl=n,It=!0,fu=null,bl=!0,u=hy(n,null,c,u),n.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling}else{if(wi(),c===s){n=Za(l,n,u);break t}Ye(l,n,c,u)}n=n.child}return n;case 26:return Qa(l,n),l===null?(u=Rf(n.type,null,n.pendingProps,null))?n.memoizedState=u:It||(u=n.type,l=n.pendingProps,c=lc(Xe.current).createElement(u),c[De]=n,c[na]=l,Ll(c,u,l),be(c),n.stateNode=c):n.memoizedState=Rf(n.type,l.memoizedProps,n.pendingProps,l.memoizedState),null;case 27:return Kt(n),l===null&&It&&(c=n.stateNode=Cf(n.type,n.pendingProps,Xe.current),Cl=n,bl=!0,s=He,Ln(n.type)?(Sr=s,He=va(c.firstChild)):He=s),Ye(l,n,n.pendingProps.children,u),Qa(l,n),l===null&&(n.flags|=4194304),n.child;case 5:return l===null&&It&&((s=c=He)&&(c=E1(c,n.type,n.pendingProps,bl),c!==null?(n.stateNode=c,Cl=n,He=va(c.firstChild),bl=!1,s=!0):s=!1),s||dn(n)),Kt(n),s=n.type,r=n.pendingProps,m=l!==null?l.memoizedProps:null,c=r.children,Mf(s,r)?c=null:m!==null&&Mf(s,m)&&(n.flags|=32),n.memoizedState!==null&&(s=Xs(l,n,v1,null,null,u),Ar._currentValue=s),Qa(l,n),Ye(l,n,c,u),n.child;case 6:return l===null&&It&&((l=u=He)&&(u=Qt(u,n.pendingProps,bl),u!==null?(n.stateNode=u,Cl=n,He=null,l=!0):l=!1),l||dn(n)),null;case 13:return Xy(l,n,u);case 4:return We(n,n.stateNode.containerInfo),c=n.pendingProps,l===null?n.child=Vi(n,null,c,u):Ye(l,n,c,u),n.child;case 11:return qy(l,n,n.type,n.pendingProps,u);case 7:return Ye(l,n,n.pendingProps,u),n.child;case 8:return Ye(l,n,n.pendingProps.children,u),n.child;case 12:return Ye(l,n,n.pendingProps.children,u),n.child;case 10:return c=n.pendingProps,fa(n,n.type,c.value),Ye(l,n,c.children,u),n.child;case 9:return s=n.type._context,c=n.pendingProps.children,Ut(n),s=J(s),c=c(s),n.flags|=1,Ye(l,n,c,u),n.child;case 14:return Yy(l,n,n.type,n.pendingProps,u);case 15:return jy(l,n,n.type,n.pendingProps,u);case 19:return Vy(l,n,u);case 31:return dg(l,n,u);case 22:return rg(l,n,u,n.pendingProps);case 24:return Ut(n),c=J(sl),l===null?(s=Ga(),s===null&&(s=Oe,r=xs(),s.pooledCache=r,r.refCount++,r!==null&&(s.pooledCacheLanes|=u),s=r),n.memoizedState={parent:c,cache:s},Ys(n),fa(n,sl,s)):((l.lanes&u)!==0&&(Hd(l,n),hu(n,null,null,u),Li()),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),fa(n,sl,c)):(c=r.cache,fa(n,sl,c),c!==s.cache&&du(n,[sl],u,!0))),Ye(l,n,n.pendingProps.children,u),n.child;case 29:throw n.pendingProps}throw Error(E(156,n.tag))}function Su(l){l.flags|=4}function Ly(l,n,u,c,s){if((n=(l.mode&32)!==0)&&(n=!1),n){if(l.flags|=16777216,(s&335544128)===s)if(l.stateNode.complete)l.flags|=8192;else if(Eg())l.flags|=8192;else throw Gi=jc,Yc}else l.flags&=-16777217}function Zy(l,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!Ra(n))if(Eg())l.flags|=8192;else throw Gi=jc,Yc}function Fl(l,n){n!==null&&(l.flags|=4),l.flags&16384&&(n=l.tag!==22?pc():536870912,l.lanes|=n,Pe|=n)}function ff(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 Ot(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 hg(l,n,u){var c=n.pendingProps;switch(Ud(n),n.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ot(n),null;case 1:return Ot(n),null;case 3:return u=n.stateNode,c=null,l!==null&&(c=l.memoizedState.cache),n.memoizedState.cache!==c&&(n.flags|=2048),Bn(sl),te(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(l===null||l.child===null)&&(ru(n)?Su(n):l===null||l.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,cy())),Ot(n),null;case 26:var s=n.type,r=n.memoizedState;return l===null?(Su(n),r!==null?(Ot(n),Zy(n,r)):(Ot(n),Ly(n,s,null,c,u))):r?r!==l.memoizedState?(Su(n),Ot(n),Zy(n,r)):(Ot(n),n.flags&=-16777217):(l=l.memoizedProps,l!==c&&Su(n),Ot(n),Ly(n,s,l,c,u)),null;case 27:if($(n),u=Xe.current,s=n.type,l!==null&&n.stateNode!=null)l.memoizedProps!==c&&Su(n);else{if(!c){if(n.stateNode===null)throw Error(E(166));return Ot(n),null}l=et.current,ru(n)?Us(n):(l=Cf(s,c,u),n.stateNode=l,Su(n))}return Ot(n),null;case 5:if($(n),s=n.type,l!==null&&n.stateNode!=null)l.memoizedProps!==c&&Su(n);else{if(!c){if(n.stateNode===null)throw Error(E(166));return Ot(n),null}if(r=et.current,ru(n))Us(n);else{var m=lc(Xe.current);switch(r){case 1:r=m.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:r=m.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":r=m.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":r=m.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":r=m.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof c.is=="string"?m.createElement("select",{is:c.is}):m.createElement("select"),c.multiple?r.multiple=!0:c.size&&(r.size=c.size);break;default:r=typeof c.is=="string"?m.createElement(s,{is:c.is}):m.createElement(s)}}r[De]=n,r[na]=c;t:for(m=n.child;m!==null;){if(m.tag===5||m.tag===6)r.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===n)break t;for(;m.sibling===null;){if(m.return===null||m.return===n)break t;m=m.return}m.sibling.return=m.return,m=m.sibling}n.stateNode=r;t:switch(Ll(r,s,c),s){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break t;case"img":c=!0;break t;default:c=!1}c&&Su(n)}}return Ot(n),Ly(n,n.type,l===null?null:l.memoizedProps,n.pendingProps,u),null;case 6:if(l&&n.stateNode!=null)l.memoizedProps!==c&&Su(n);else{if(typeof c!="string"&&n.stateNode===null)throw Error(E(166));if(l=Xe.current,ru(n)){if(l=n.stateNode,u=n.memoizedProps,c=null,s=Cl,s!==null)switch(s.tag){case 27:case 5:c=s.memoizedProps}l[De]=n,l=!!(l.nodeValue===u||c!==null&&c.suppressHydrationWarning===!0||y0(l.nodeValue,u)),l||dn(n,!0)}else l=lc(l).createTextNode(c),l[De]=n,n.stateNode=l}return Ot(n),null;case 31:if(u=n.memoizedState,l===null||l.memoizedState!==null){if(c=ru(n),u!==null){if(l===null){if(!c)throw Error(E(318));if(l=n.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(E(557));l[De]=n}else wi(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Ot(n),l=!1}else u=cy(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=u),l=!0;if(!l)return n.flags&256?(ra(n),n):(ra(n),null);if((n.flags&128)!==0)throw Error(E(558))}return Ot(n),null;case 13:if(c=n.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(s=ru(n),c!==null&&c.dehydrated!==null){if(l===null){if(!s)throw Error(E(318));if(s=n.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(E(317));s[De]=n}else wi(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Ot(n),s=!1}else s=cy(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=s),s=!0;if(!s)return n.flags&256?(ra(n),n):(ra(n),null)}return ra(n),(n.flags&128)!==0?(n.lanes=u,n):(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),r=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(r=c.memoizedState.cachePool.pool),r!==s&&(c.flags|=2048)),u!==l&&u&&(n.child.flags|=8192),Fl(n,n.updateQueue),Ot(n),null);case 4:return te(),l===null&&Df(n.stateNode.containerInfo),Ot(n),null;case 10:return Bn(n.type),Ot(n),null;case 19:if(mt(Qe),c=n.memoizedState,c===null)return Ot(n),null;if(s=(n.flags&128)!==0,r=c.rendering,r===null)if(s)ff(c,!1);else{if(Be!==0||l!==null&&(l.flags&128)!==0)for(l=n.child;l!==null;){if(r=tf(l),r!==null){for(n.flags|=128,ff(c,!1),l=r.updateQueue,n.updateQueue=l,Fl(n,l),n.subtreeFlags=0,l=u,u=n.child;u!==null;)ay(u,l),u=u.sibling;return I(Qe,Qe.current&1|2),It&&rn(n,c.treeForkCount),n.child}l=l.sibling}c.tail!==null&&Vl()>pe&&(n.flags|=128,s=!0,ff(c,!1),n.lanes=4194304)}else{if(!s)if(l=tf(r),l!==null){if(n.flags|=128,s=!0,l=l.updateQueue,n.updateQueue=l,Fl(n,l),ff(c,!0),c.tail===null&&c.tailMode==="hidden"&&!r.alternate&&!It)return Ot(n),null}else 2*Vl()-c.renderingStartTime>pe&&u!==536870912&&(n.flags|=128,s=!0,ff(c,!1),n.lanes=4194304);c.isBackwards?(r.sibling=n.child,n.child=r):(l=c.last,l!==null?l.sibling=r:n.child=r,c.last=r)}return c.tail!==null?(l=c.tail,c.rendering=l,c.tail=l.sibling,c.renderingStartTime=Vl(),l.sibling=null,u=Qe.current,I(Qe,s?u&1|2:u&1),It&&rn(n,c.treeForkCount),l):(Ot(n),null);case 22:case 23:return ra(n),Io(),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&&(Ot(n),n.subtreeFlags&6&&(n.flags|=8192)):Ot(n),u=n.updateQueue,u!==null&&Fl(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&&mt(ja),null;case 24:return u=null,l!==null&&(u=l.memoizedState.cache),n.memoizedState.cache!==u&&(n.flags|=2048),Bn(sl),Ot(n),null;case 25:return null;case 30:return null}throw Error(E(156,n.tag))}function mg(l,n){switch(Ud(n),n.tag){case 1:return l=n.flags,l&65536?(n.flags=l&-65537|128,n):null;case 3:return Bn(sl),te(),l=n.flags,(l&65536)!==0&&(l&128)===0?(n.flags=l&-65537|128,n):null;case 26:case 27:case 5:return $(n),null;case 31:if(n.memoizedState!==null){if(ra(n),n.alternate===null)throw Error(E(340));wi()}return l=n.flags,l&65536?(n.flags=l&-65537|128,n):null;case 13:if(ra(n),l=n.memoizedState,l!==null&&l.dehydrated!==null){if(n.alternate===null)throw Error(E(340));wi()}return l=n.flags,l&65536?(n.flags=l&-65537|128,n):null;case 19:return mt(Qe),null;case 4:return te(),null;case 10:return Bn(n.type),null;case 22:case 23:return ra(n),Io(),l!==null&&mt(ja),l=n.flags,l&65536?(n.flags=l&-65537|128,n):null;case 24:return Bn(sl),null;case 25:return null;default:return null}}function yg(l,n){switch(Ud(n),n.tag){case 3:Bn(sl),te();break;case 26:case 27:case 5:$(n);break;case 4:te();break;case 31:n.memoizedState!==null&&ra(n);break;case 13:ra(n);break;case 19:mt(Qe);break;case 10:Bn(n.type);break;case 22:case 23:ra(n),Io(),l!==null&&mt(ja);break;case 24:Bn(sl)}}function mn(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,m=u.inst;c=r(),m.destroy=c}u=u.next}while(u!==s)}}catch(g){Ae(n,n.return,g)}}function Ja(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 m=c.inst,g=m.destroy;if(g!==void 0){m.destroy=void 0,s=n;var A=u,_=g;try{_()}catch(G){Ae(s,A,G)}}}c=c.next}while(c!==r)}}catch(G){Ae(n,n.return,G)}}function ch(l){var n=l.updateQueue;if(n!==null){var u=l.stateNode;try{Zi(n,u)}catch(c){Ae(l,l.return,c)}}}function Ii(l,n,u){u.props=$i(l.type,l.memoizedProps),u.state=l.memoizedState;try{u.componentWillUnmount()}catch(c){Ae(l,n,c)}}function Tu(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){Ae(l,n,s)}}function jn(l,n){var u=l.ref,c=l.refCleanup;if(u!==null)if(typeof c=="function")try{c()}catch(s){Ae(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){Ae(l,n,s)}else u.current=null}function Jy(l){var n=l.type,u=l.memoizedProps,c=l.stateNode;try{t:switch(n){case"button":case"input":case"select":case"textarea":u.autoFocus&&c.focus();break t;case"img":u.src?c.src=u.src:u.srcSet&&(c.srcset=u.srcSet)}}catch(s){Ae(l,l.return,s)}}function oh(l,n,u){try{var c=l.stateNode;g0(c,l.type,u,n),c[na]=n}catch(s){Ae(l,l.return,s)}}function Ky(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&Ln(l.type)||l.tag===4}function sf(l){t:for(;;){for(;l.sibling===null;){if(l.return===null||Ky(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&&Ln(l.type)||l.flags&2||l.child===null||l.tag===4)continue t;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function rf(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=Dn));else if(c!==4&&(c===27&&Ln(l.type)&&(u=l.stateNode,n=null),l=l.child,l!==null))for(rf(l,n,u),l=l.sibling;l!==null;)rf(l,n,u),l=l.sibling}function df(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&&Ln(l.type)&&(u=l.stateNode),l=l.child,l!==null))for(df(l,n,u),l=l.sibling;l!==null;)df(l,n,u),l=l.sibling}function $y(l){var n=l.stateNode,u=l.memoizedProps;try{for(var c=l.type,s=n.attributes;s.length;)n.removeAttributeNode(s[0]);Ll(n,c,u),n[De]=l,n[na]=u}catch(r){Ae(l,l.return,r)}}var ci=!1,pl=!1,fh=!1,ky=typeof WeakSet=="function"?WeakSet:Set,_l=null;function hf(l,n){if(l=l.containerInfo,Uh=El,l=Hi(l),Es(l)){if("selectionStart"in l)var u={start:l.selectionStart,end:l.selectionEnd};else t:{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 t}var m=0,g=-1,A=-1,_=0,G=0,Z=l,H=null;e:for(;;){for(var j;Z!==u||s!==0&&Z.nodeType!==3||(g=m+s),Z!==r||c!==0&&Z.nodeType!==3||(A=m+c),Z.nodeType===3&&(m+=Z.nodeValue.length),(j=Z.firstChild)!==null;)H=Z,Z=j;for(;;){if(Z===l)break e;if(H===u&&++_===s&&(g=m),H===r&&++G===c&&(A=m),(j=Z.nextSibling)!==null)break;Z=H,H=Z.parentNode}Z=j}u=g===-1||A===-1?null:{start:g,end:A}}else u=null}u=u||{start:0,end:0}}else u=null;for(Rh={focusedElem:l,selectionRange:u},El=!1,_l=n;_l!==null;)if(n=_l,l=n.child,(n.subtreeFlags&1028)!==0&&l!==null)l.return=n,_l=l;else for(;_l!==null;){switch(n=_l,r=n.alternate,l=n.flags,n.tag){case 0:if((l&4)!==0&&(l=n.updateQueue,l=l!==null?l.events:null,l!==null))for(u=0;u<l.length;u++)s=l[u],s.ref.impl=s.nextImpl;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 ft=$i(u.type,s);l=c.getSnapshotBeforeUpdate(ft,r),c.__reactInternalSnapshotBeforeUpdate=l}catch(bt){Ae(u,u.return,bt)}}break;case 3:if((l&1024)!==0){if(l=n.stateNode.containerInfo,u=l.nodeType,u===9)br(l);else if(u===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":br(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(E(163))}if(l=n.sibling,l!==null){l.return=n.return,_l=l;break}_l=n.return}}function lr(l,n,u){var c=u.flags;switch(u.tag){case 0:case 11:case 15:oi(l,u),c&4&&mn(5,u);break;case 1:if(oi(l,u),c&4)if(l=u.stateNode,n===null)try{l.componentDidMount()}catch(m){Ae(u,u.return,m)}else{var s=$i(u.type,n.memoizedProps);n=n.memoizedState;try{l.componentDidUpdate(s,n,l.__reactInternalSnapshotBeforeUpdate)}catch(m){Ae(u,u.return,m)}}c&64&&ch(u),c&512&&Tu(u,u.return);break;case 3:if(oi(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{Zi(l,n)}catch(m){Ae(u,u.return,m)}}break;case 27:n===null&&c&4&&$y(u);case 26:case 5:oi(l,u),n===null&&c&4&&Jy(u),c&512&&Tu(u,u.return);break;case 12:oi(l,u);break;case 31:oi(l,u),c&4&&pg(l,u);break;case 13:oi(l,u),c&4&&Iy(l,u),c&64&&(l=u.memoizedState,l!==null&&(l=l.dehydrated,l!==null&&(u=Ka.bind(null,u),Of(l,u))));break;case 22:if(c=u.memoizedState!==null||ci,!c){n=n!==null&&n.memoizedState!==null||pl,s=ci;var r=pl;ci=c,(pl=n)&&!r?Gn(l,u,(u.subtreeFlags&8772)!==0):oi(l,u),ci=s,pl=r}break;case 30:break;default:oi(l,u)}}function Wy(l){var n=l.alternate;n!==null&&(l.alternate=null,Wy(n)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(n=l.stateNode,n!==null&&ud(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 Ne=null,ma=!1;function Eu(l,n,u){for(u=u.child;u!==null;)Fy(l,n,u),u=u.sibling}function Fy(l,n,u){if(Ea&&typeof Ea.onCommitFiberUnmount=="function")try{Ea.onCommitFiberUnmount(yc,u)}catch{}switch(u.tag){case 26:pl||jn(u,n),Eu(l,n,u),u.memoizedState?u.memoizedState.count--:u.stateNode&&(u=u.stateNode,u.parentNode.removeChild(u));break;case 27:pl||jn(u,n);var c=Ne,s=ma;Ln(u.type)&&(Ne=u.stateNode,ma=!1),Eu(l,n,u),no(u.stateNode),Ne=c,ma=s;break;case 5:pl||jn(u,n);case 6:if(c=Ne,s=ma,Ne=null,Eu(l,n,u),Ne=c,ma=s,Ne!==null)if(ma)try{(Ne.nodeType===9?Ne.body:Ne.nodeName==="HTML"?Ne.ownerDocument.body:Ne).removeChild(u.stateNode)}catch(r){Ae(u,n,r)}else try{Ne.removeChild(u.stateNode)}catch(r){Ae(u,n,r)}break;case 18:Ne!==null&&(ma?(l=Ne,T0(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,u.stateNode),Yf(l)):T0(Ne,u.stateNode));break;case 4:c=Ne,s=ma,Ne=u.stateNode.containerInfo,ma=!0,Eu(l,n,u),Ne=c,ma=s;break;case 0:case 11:case 14:case 15:Ja(2,u,n),pl||Ja(4,u,n),Eu(l,n,u);break;case 1:pl||(jn(u,n),c=u.stateNode,typeof c.componentWillUnmount=="function"&&Ii(u,n,c)),Eu(l,n,u);break;case 21:Eu(l,n,u);break;case 22:pl=(c=pl)||u.memoizedState!==null,Eu(l,n,u),pl=c;break;default:Eu(l,n,u)}}function pg(l,n){if(n.memoizedState===null&&(l=n.alternate,l!==null&&(l=l.memoizedState,l!==null))){l=l.dehydrated;try{Yf(l)}catch(u){Ae(n,n.return,u)}}}function Iy(l,n){if(n.memoizedState===null&&(l=n.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{Yf(l)}catch(u){Ae(n,n.return,u)}}function ar(l){switch(l.tag){case 31:case 13:case 19:var n=l.stateNode;return n===null&&(n=l.stateNode=new ky),n;case 22:return l=l.stateNode,n=l._retryCache,n===null&&(n=l._retryCache=new ky),n;default:throw Error(E(435,l.tag))}}function nr(l,n){var u=ar(l);n.forEach(function(c){if(!u.has(c)){u.add(c);var s=qg.bind(null,l,c);c.then(s,s)}})}function ya(l,n){var u=n.deletions;if(u!==null)for(var c=0;c<u.length;c++){var s=u[c],r=l,m=n,g=m;t:for(;g!==null;){switch(g.tag){case 27:if(Ln(g.type)){Ne=g.stateNode,ma=!1;break t}break;case 5:Ne=g.stateNode,ma=!1;break t;case 3:case 4:Ne=g.stateNode.containerInfo,ma=!0;break t}g=g.return}if(Ne===null)throw Error(E(160));Fy(r,m,s),Ne=null,ma=!1,r=s.alternate,r!==null&&(r.return=null),s.return=null}if(n.subtreeFlags&13886)for(n=n.child;n!==null;)sh(n,l),n=n.sibling}var Gt=null;function sh(l,n){var u=l.alternate,c=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:ya(n,l),Da(l),c&4&&(Ja(3,l,l.return),mn(3,l),Ja(5,l,l.return));break;case 1:ya(n,l),Da(l),c&512&&(pl||u===null||jn(u,u.return)),c&64&&ci&&(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=Gt;if(ya(n,l),Da(l),c&512&&(pl||u===null||jn(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){t:{c=l.type,u=l.memoizedProps,s=s.ownerDocument||s;e:switch(c){case"title":r=s.getElementsByTagName("title")[0],(!r||r[eu]||r[De]||r.namespaceURI==="http://www.w3.org/2000/svg"||r.hasAttribute("itemprop"))&&(r=s.createElement(c),s.head.insertBefore(r,s.querySelector("head > title"))),Ll(r,c,u),r[De]=l,be(r),c=r;break t;case"link":var m=D0("link","href",s).get(c+(u.href||""));if(m){for(var g=0;g<m.length;g++)if(r=m[g],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)){m.splice(g,1);break e}}r=s.createElement(c),Ll(r,c,u),s.head.appendChild(r);break;case"meta":if(m=D0("meta","content",s).get(c+(u.content||""))){for(g=0;g<m.length;g++)if(r=m[g],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)){m.splice(g,1);break e}}r=s.createElement(c),Ll(r,c,u),s.head.appendChild(r);break;default:throw Error(E(468,c))}r[De]=l,be(r),c=r}l.stateNode=c}else Bh(s,l.type,l.stateNode);else l.stateNode=z0(s,c,l.memoizedProps);else r!==c?(r===null?u.stateNode!==null&&(u=u.stateNode,u.parentNode.removeChild(u)):r.count--,c===null?Bh(s,l.type,l.stateNode):z0(s,c,l.memoizedProps)):c===null&&l.stateNode!==null&&oh(l,l.memoizedProps,u.memoizedProps)}break;case 27:ya(n,l),Da(l),c&512&&(pl||u===null||jn(u,u.return)),u!==null&&c&4&&oh(l,l.memoizedProps,u.memoizedProps);break;case 5:if(ya(n,l),Da(l),c&512&&(pl||u===null||jn(u,u.return)),l.flags&32){s=l.stateNode;try{au(s,"")}catch(ft){Ae(l,l.return,ft)}}c&4&&l.stateNode!=null&&(s=l.memoizedProps,oh(l,s,u!==null?u.memoizedProps:s)),c&1024&&(fh=!0);break;case 6:if(ya(n,l),Da(l),c&4){if(l.stateNode===null)throw Error(E(162));c=l.memoizedProps,u=l.stateNode;try{u.nodeValue=c}catch(ft){Ae(l,l.return,ft)}}break;case 3:if(Hf=null,s=Gt,Gt=Il(n.containerInfo),ya(n,l),Gt=s,Da(l),c&4&&u!==null&&u.memoizedState.isDehydrated)try{Yf(n.containerInfo)}catch(ft){Ae(l,l.return,ft)}fh&&(fh=!1,Py(l));break;case 4:c=Gt,Gt=Il(l.stateNode.containerInfo),ya(n,l),Da(l),Gt=c;break;case 12:ya(n,l),Da(l);break;case 31:ya(n,l),Da(l),c&4&&(c=l.updateQueue,c!==null&&(l.updateQueue=null,nr(l,c)));break;case 13:ya(n,l),Da(l),l.child.flags&8192&&l.memoizedState!==null!=(u!==null&&u.memoizedState!==null)&&(Qn=Vl()),c&4&&(c=l.updateQueue,c!==null&&(l.updateQueue=null,nr(l,c)));break;case 22:s=l.memoizedState!==null;var A=u!==null&&u.memoizedState!==null,_=ci,G=pl;if(ci=_||s,pl=G||A,ya(n,l),pl=G,ci=_,Da(l),c&8192)t:for(n=l.stateNode,n._visibility=s?n._visibility&-2:n._visibility|1,s&&(u===null||A||ci||pl||Fc(l)),u=null,n=l;;){if(n.tag===5||n.tag===26){if(u===null){A=u=n;try{if(r=A.stateNode,s)m=r.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none";else{g=A.stateNode;var Z=A.memoizedProps.style,H=Z!=null&&Z.hasOwnProperty("display")?Z.display:null;g.style.display=H==null||typeof H=="boolean"?"":(""+H).trim()}}catch(ft){Ae(A,A.return,ft)}}}else if(n.tag===6){if(u===null){A=n;try{A.stateNode.nodeValue=s?"":A.memoizedProps}catch(ft){Ae(A,A.return,ft)}}}else if(n.tag===18){if(u===null){A=n;try{var j=A.stateNode;s?hl(j,!0):hl(A.stateNode,!1)}catch(ft){Ae(A,A.return,ft)}}}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 t;for(;n.sibling===null;){if(n.return===null||n.return===l)break t;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,nr(l,u))));break;case 19:ya(n,l),Da(l),c&4&&(c=l.updateQueue,c!==null&&(l.updateQueue=null,nr(l,c)));break;case 30:break;case 21:break;default:ya(n,l),Da(l)}}function Da(l){var n=l.flags;if(n&2){try{for(var u,c=l.return;c!==null;){if(Ky(c)){u=c;break}c=c.return}if(u==null)throw Error(E(160));switch(u.tag){case 27:var s=u.stateNode,r=sf(l);df(l,r,s);break;case 5:var m=u.stateNode;u.flags&32&&(au(m,""),u.flags&=-33);var g=sf(l);df(l,g,m);break;case 3:case 4:var A=u.stateNode.containerInfo,_=sf(l);rf(l,_,A);break;default:throw Error(E(161))}}catch(G){Ae(l,l.return,G)}l.flags&=-3}n&4096&&(l.flags&=-4097)}function Py(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var n=l;Py(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),l=l.sibling}}function oi(l,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)lr(l,n.alternate,n),n=n.sibling}function Fc(l){for(l=l.child;l!==null;){var n=l;switch(n.tag){case 0:case 11:case 14:case 15:Ja(4,n,n.return),Fc(n);break;case 1:jn(n,n.return);var u=n.stateNode;typeof u.componentWillUnmount=="function"&&Ii(n,n.return,u),Fc(n);break;case 27:no(n.stateNode);case 26:case 5:jn(n,n.return),Fc(n);break;case 22:n.memoizedState===null&&Fc(n);break;case 30:Fc(n);break;default:Fc(n)}l=l.sibling}}function Gn(l,n,u){for(u=u&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var c=n.alternate,s=l,r=n,m=r.flags;switch(r.tag){case 0:case 11:case 15:Gn(s,r,u),mn(4,r);break;case 1:if(Gn(s,r,u),c=r,s=c.stateNode,typeof s.componentDidMount=="function")try{s.componentDidMount()}catch(_){Ae(c,c.return,_)}if(c=r,s=c.updateQueue,s!==null){var g=c.stateNode;try{var A=s.shared.hiddenCallbacks;if(A!==null)for(s.shared.hiddenCallbacks=null,s=0;s<A.length;s++)Bd(A[s],g)}catch(_){Ae(c,c.return,_)}}u&&m&64&&ch(r),Tu(r,r.return);break;case 27:$y(r);case 26:case 5:Gn(s,r,u),u&&c===null&&m&4&&Jy(r),Tu(r,r.return);break;case 12:Gn(s,r,u);break;case 31:Gn(s,r,u),u&&m&4&&pg(s,r);break;case 13:Gn(s,r,u),u&&m&4&&Iy(s,r);break;case 22:r.memoizedState===null&&Gn(s,r,u),Tu(r,r.return);break;case 30:break;default:Gn(s,r,u)}n=n.sibling}}function rh(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&&_s(u))}function dh(l,n){l=null,n.alternate!==null&&(l=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==l&&(n.refCount++,l!=null&&_s(l))}function yn(l,n,u,c){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)mf(l,n,u,c),n=n.sibling}function mf(l,n,u,c){var s=n.flags;switch(n.tag){case 0:case 11:case 15:yn(l,n,u,c),s&2048&&mn(9,n);break;case 1:yn(l,n,u,c);break;case 3:yn(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&&_s(l)));break;case 12:if(s&2048){yn(l,n,u,c),l=n.stateNode;try{var r=n.memoizedProps,m=r.id,g=r.onPostCommit;typeof g=="function"&&g(m,n.alternate===null?"mount":"update",l.passiveEffectDuration,-0)}catch(A){Ae(n,n.return,A)}}else yn(l,n,u,c);break;case 31:yn(l,n,u,c);break;case 13:yn(l,n,u,c);break;case 23:break;case 22:r=n.stateNode,m=n.alternate,n.memoizedState!==null?r._visibility&2?yn(l,n,u,c):ur(l,n):r._visibility&2?yn(l,n,u,c):(r._visibility|=2,yf(l,n,u,c,(n.subtreeFlags&10256)!==0||!1)),s&2048&&rh(m,n);break;case 24:yn(l,n,u,c),s&2048&&dh(n.alternate,n);break;default:yn(l,n,u,c)}}function yf(l,n,u,c,s){for(s=s&&((n.subtreeFlags&10256)!==0||!1),n=n.child;n!==null;){var r=l,m=n,g=u,A=c,_=m.flags;switch(m.tag){case 0:case 11:case 15:yf(r,m,g,A,s),mn(8,m);break;case 23:break;case 22:var G=m.stateNode;m.memoizedState!==null?G._visibility&2?yf(r,m,g,A,s):ur(r,m):(G._visibility|=2,yf(r,m,g,A,s)),s&&_&2048&&rh(m.alternate,m);break;case 24:yf(r,m,g,A,s),s&&_&2048&&dh(m.alternate,m);break;default:yf(r,m,g,A,s)}n=n.sibling}}function ur(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:ur(u,c),s&2048&&rh(c.alternate,c);break;case 24:ur(u,c),s&2048&&dh(c.alternate,c);break;default:ur(u,c)}n=n.sibling}}var Ma=8192;function Au(l,n,u){if(l.subtreeFlags&Ma)for(l=l.child;l!==null;)gg(l,n,u),l=l.sibling}function gg(l,n,u){switch(l.tag){case 26:Au(l,n,u),l.flags&Ma&&l.memoizedState!==null&&Cu(u,Gt,l.memoizedState,l.memoizedProps);break;case 5:Au(l,n,u);break;case 3:case 4:var c=Gt;Gt=Il(l.stateNode.containerInfo),Au(l,n,u),Gt=c;break;case 22:l.memoizedState===null&&(c=l.alternate,c!==null&&c.memoizedState!==null?(c=Ma,Ma=16777216,Au(l,n,u),Ma=c):Au(l,n,u));break;default:Au(l,n,u)}}function hh(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 pf(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];_l=c,mh(c,l)}hh(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)t0(l),l=l.sibling}function t0(l){switch(l.tag){case 0:case 11:case 15:pf(l),l.flags&2048&&Ja(9,l,l.return);break;case 3:pf(l);break;case 12:pf(l);break;case 22:var n=l.stateNode;l.memoizedState!==null&&n._visibility&2&&(l.return===null||l.return.tag!==13)?(n._visibility&=-3,ir(l)):pf(l);break;default:pf(l)}}function ir(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];_l=c,mh(c,l)}hh(l)}for(l=l.child;l!==null;){switch(n=l,n.tag){case 0:case 11:case 15:Ja(8,n,n.return),ir(n);break;case 22:u=n.stateNode,u._visibility&2&&(u._visibility&=-3,ir(n));break;default:ir(n)}l=l.sibling}}function mh(l,n){for(;_l!==null;){var u=_l;switch(u.tag){case 0:case 11:case 15:Ja(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:_s(u.memoizedState.cache)}if(c=u.child,c!==null)c.return=u,_l=c;else t:for(u=l;_l!==null;){c=_l;var s=c.sibling,r=c.return;if(Wy(c),c===u){_l=null;break t}if(s!==null){s.return=r,_l=s;break t}_l=r}}}var vg={getCacheForType:function(l){var n=J(sl),u=n.data.get(l);return u===void 0&&(u=l(),n.data.set(l,u)),u},cacheSignal:function(){return J(sl).controller.signal}},e0=typeof WeakMap=="function"?WeakMap:Map,re=0,Oe=null,Pt=null,$t=0,Ee=0,Dt=null,zu=!1,Pi=!1,yh=!1,Xn=0,Be=0,Vn=0,Ic=0,ph=0,pa=0,Pe=0,cr=null,tl=null,gh=!1,Qn=0,l0=0,pe=1/0,gf=null,Le=null,Tl=0,fi=null,tc=null,Du=0,Oa=0,vh=null,bh=null,vf=0,or=null;function Ca(){return(re&2)!==0&&$t!==0?$t&-$t:C.T!==null?zh():ad()}function bg(){if(pa===0)if(($t&536870912)===0||It){var l=En;En<<=1,(En&3932160)===0&&(En=262144),pa=l}else pa=536870912;return l=sa.current,l!==null&&(l.flags|=32),pa}function ga(l,n,u){(l===Oe&&(Ee===2||Ee===9)||l.cancelPendingCommit!==null)&&(Mu(l,0),si(l,$t,pa,!1)),Ro(l,u),((re&2)===0||l!==Oe)&&(l===Oe&&((re&2)===0&&(Ic|=u),Be===4&&si(l,$t,pa,!1)),Ou(l))}function Sg(l,n,u){if((re&6)!==0)throw Error(E(327));var c=!u&&(n&127)===0&&(n&l.expiredLanes)===0||An(l,n),s=c?Dg(l,n):Th(l,n,!0),r=c;do{if(s===0){Pi&&!c&&si(l,n,0,!1);break}else{if(u=l.current.alternate,r&&!Tg(u)){s=Th(l,n,!1),r=!1;continue}if(s===2){if(r=n,l.errorRecoveryDisabledLanes&r)var m=0;else m=l.pendingLanes&-536870913,m=m!==0?m:m&536870912?536870912:0;if(m!==0){n=m;t:{var g=l;s=cr;var A=g.current.memoizedState.isDehydrated;if(A&&(Mu(g,m).flags|=256),m=Th(g,m,!1),m!==2){if(yh&&!A){g.errorRecoveryDisabledLanes|=r,Ic|=r,s=4;break t}r=tl,tl=s,r!==null&&(tl===null?tl=r:tl.push.apply(tl,r))}s=m}if(r=!1,s!==2)continue}}if(s===1){Mu(l,0),si(l,n,0,!0);break}t:{switch(c=l,r=s,r){case 0:case 1:throw Error(E(345));case 4:if((n&4194048)!==n)break;case 6:si(c,n,pa,!zu);break t;case 2:tl=null;break;case 3:case 5:break;default:throw Error(E(329))}if((n&62914560)===n&&(s=Qn+300-Vl(),10<s)){if(si(c,n,pa,!zu),ol(c,0,!0)!==0)break t;Du=n,c.timeoutHandle=vr(fr.bind(null,c,u,tl,gf,gh,n,pa,Ic,Pe,zu,r,"Throttled",-0,0),s);break t}fr(c,u,tl,gf,gh,n,pa,Ic,Pe,zu,r,null,-0,0)}}break}while(!0);Ou(l)}function fr(l,n,u,c,s,r,m,g,A,_,G,Z,H,j){if(l.timeoutHandle=-1,Z=n.subtreeFlags,Z&8192||(Z&16785408)===16785408){Z={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Dn},gg(n,r,Z);var ft=(r&62914560)===r?Qn-Vl():(r&4194048)===r?l0-Vl():0;if(ft=O0(Z,ft),ft!==null){Du=r,l.cancelPendingCommit=ft(Ug.bind(null,l,n,r,u,c,s,m,g,A,G,Z,null,H,j)),si(l,r,m,!_);return}}Ug(l,n,r,u,c,s,m,g,A)}function Tg(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(!Wl(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 si(l,n,u,c){n&=~ph,n&=~Ic,l.suspendedLanes|=n,l.pingedLanes&=~n,c&&(l.warmLanes|=n),c=l.expirationTimes;for(var s=n;0<s;){var r=31-aa(s),m=1<<r;c[r]=-1,s&=~m}u!==0&&rs(l,u,n)}function bf(){return(re&6)===0?(di(0),!1):!0}function a0(){if(Pt!==null){if(Ee===0)var l=Pt.return;else l=Pt,Nn=Pu=null,Vs(l),Xi=null,Gc=0,l=Pt;for(;l!==null;)yg(l.alternate,l),l=l.return;Pt=null}}function Mu(l,n){var u=l.timeoutHandle;u!==-1&&(l.timeoutHandle=-1,Zg(u)),u=l.cancelPendingCommit,u!==null&&(l.cancelPendingCommit=null,u()),Du=0,a0(),Oe=l,Pt=u=Fu(l.current,null),$t=n,Ee=0,Dt=null,zu=!1,Pi=An(l,n),yh=!1,Pe=pa=ph=Ic=Vn=Be=0,tl=cr=null,gh=!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-aa(c),r=1<<s;n|=l[s],c&=~r}return Xn=n,Ba(),u}function Sf(l,n){Bt=null,C.H=Ws,n===Yi||n===Wo?(n=dy(),Ee=3):n===Yc?(n=dy(),Ee=4):Ee=n===lh?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,Dt=n,Pt===null&&(Be=1,of(l,qa(n,l.current)))}function Eg(){var l=sa.current;return l===null?!0:($t&4194048)===$t?Va===null:($t&62914560)===$t||($t&536870912)!==0?l===Va:!1}function Ag(){var l=C.H;return C.H=Ws,l===null?Ws:l}function zg(){var l=C.A;return C.A=vg,l}function Sh(){Be=4,zu||($t&4194048)!==$t&&sa.current!==null||(Pi=!0),(Vn&134217727)===0&&(Ic&134217727)===0||Oe===null||si(Oe,$t,pa,!1)}function Th(l,n,u){var c=re;re|=2;var s=Ag(),r=zg();(Oe!==l||$t!==n)&&(gf=null,Mu(l,n)),n=!1;var m=Be;t:do try{if(Ee!==0&&Pt!==null){var g=Pt,A=Dt;switch(Ee){case 8:a0(),m=6;break t;case 3:case 2:case 9:case 6:sa.current===null&&(n=!0);var _=Ee;if(Ee=0,Dt=null,Pc(l,g,A,_),u&&Pi){m=0;break t}break;default:_=Ee,Ee=0,Dt=null,Pc(l,g,A,_)}}S1(),m=Be;break}catch(G){Sf(l,G)}while(!0);return n&&l.shellSuspendCounter++,Nn=Pu=null,re=c,C.H=s,C.A=r,Pt===null&&(Oe=null,$t=0,Ba()),m}function S1(){for(;Pt!==null;)Mg(Pt)}function Dg(l,n){var u=re;re|=2;var c=Ag(),s=zg();Oe!==l||$t!==n?(gf=null,pe=Vl()+500,Mu(l,n)):Pi=An(l,n);t:do try{if(Ee!==0&&Pt!==null){n=Pt;var r=Dt;e:switch(Ee){case 1:Ee=0,Dt=null,Pc(l,n,r,1);break;case 2:case 9:if(sy(r)){Ee=0,Dt=null,Og(n);break}n=function(){Ee!==2&&Ee!==9||Oe!==l||(Ee=7),Ou(l)},r.then(n,n);break t;case 3:Ee=7;break t;case 4:Ee=5;break t;case 7:sy(r)?(Ee=0,Dt=null,Og(n)):(Ee=0,Dt=null,Pc(l,n,r,7));break;case 5:var m=null;switch(Pt.tag){case 26:m=Pt.memoizedState;case 5:case 27:var g=Pt;if(m?Ra(m):g.stateNode.complete){Ee=0,Dt=null;var A=g.sibling;if(A!==null)Pt=A;else{var _=g.return;_!==null?(Pt=_,sr(_)):Pt=null}break e}}Ee=0,Dt=null,Pc(l,n,r,5);break;case 6:Ee=0,Dt=null,Pc(l,n,r,6);break;case 8:a0(),Be=6;break t;default:throw Error(E(462))}}ec();break}catch(G){Sf(l,G)}while(!0);return Nn=Pu=null,C.H=c,C.A=s,re=u,Pt!==null?0:(Oe=null,$t=0,Ba(),Be)}function ec(){for(;Pt!==null&&!mc();)Mg(Pt)}function Mg(l){var n=Qy(l.alternate,l,Xn);l.memoizedProps=l.pendingProps,n===null?sr(l):Pt=n}function Og(l){var n=l,u=n.alternate;switch(n.tag){case 15:case 0:n=Wi(u,n,n.pendingProps,n.type,void 0,$t);break;case 11:n=Wi(u,n,n.pendingProps,n.type.render,n.ref,$t);break;case 5:Vs(n);default:yg(u,n),n=Pt=ay(n,Xn),n=Qy(u,n,Xn)}l.memoizedProps=l.pendingProps,n===null?sr(l):Pt=n}function Pc(l,n,u,c){Nn=Pu=null,Vs(n),Xi=null,Gc=0;var s=n.return;try{if(b1(l,s,n,u,$t)){Be=1,of(l,qa(u,l.current)),Pt=null;return}}catch(r){if(s!==null)throw Pt=s,r;Be=1,of(l,qa(u,l.current)),Pt=null;return}n.flags&32768?(It||c===1?l=!0:Pi||($t&536870912)!==0?l=!1:(zu=l=!0,(c===2||c===9||c===3||c===6)&&(c=sa.current,c!==null&&c.tag===13&&(c.flags|=16384))),Cg(n,l)):sr(n)}function sr(l){var n=l;do{if((n.flags&32768)!==0){Cg(n,zu);return}l=n.return;var u=hg(n.alternate,n,Xn);if(u!==null){Pt=u;return}if(n=n.sibling,n!==null){Pt=n;return}Pt=n=l}while(n!==null);Be===0&&(Be=5)}function Cg(l,n){do{var u=mg(l.alternate,l);if(u!==null){u.flags&=32767,Pt=u;return}if(u=l.return,u!==null&&(u.flags|=32768,u.subtreeFlags=0,u.deletions=null),!n&&(l=l.sibling,l!==null)){Pt=l;return}Pt=l=u}while(l!==null);Be=6,Pt=null}function Ug(l,n,u,c,s,r,m,g,A){l.cancelPendingCommit=null;do Tf();while(Tl!==0);if((re&6)!==0)throw Error(E(327));if(n!==null){if(n===l.current)throw Error(E(177));if(r=n.lanes|n.childLanes,r|=fn,ed(l,u,r,m,g,A),l===Oe&&(Pt=Oe=null,$t=0),tc=n,fi=l,Du=u,Oa=r,vh=s,bh=c,(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?(l.callbackNode=null,l.callbackPriority=0,Yg(zi,function(){return Ng(),null})):(l.callbackNode=null,l.callbackPriority=0),c=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||c){c=C.T,C.T=null,s=L.p,L.p=2,m=re,re|=4;try{hf(l,n,u)}finally{re=m,L.p=s,C.T=c}}Tl=1,Rg(),xg(),_g()}}function Rg(){if(Tl===1){Tl=0;var l=fi,n=tc,u=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||u){u=C.T,C.T=null;var c=L.p;L.p=2;var s=re;re|=4;try{sh(n,l);var r=Rh,m=Hi(l.containerInfo),g=r.focusedElem,A=r.selectionRange;if(m!==g&&g&&g.ownerDocument&&Rc(g.ownerDocument.documentElement,g)){if(A!==null&&Es(g)){var _=A.start,G=A.end;if(G===void 0&&(G=_),"selectionStart"in g)g.selectionStart=_,g.selectionEnd=Math.min(G,g.value.length);else{var Z=g.ownerDocument||document,H=Z&&Z.defaultView||window;if(H.getSelection){var j=H.getSelection(),ft=g.textContent.length,bt=Math.min(A.start,ft),Ue=A.end===void 0?bt:Math.min(A.end,ft);!j.extend&&bt>Ue&&(m=Ue,Ue=bt,bt=m);var R=ey(g,bt),M=ey(g,Ue);if(R&&M&&(j.rangeCount!==1||j.anchorNode!==R.node||j.anchorOffset!==R.offset||j.focusNode!==M.node||j.focusOffset!==M.offset)){var x=Z.createRange();x.setStart(R.node,R.offset),j.removeAllRanges(),bt>Ue?(j.addRange(x),j.extend(M.node,M.offset)):(x.setEnd(M.node,M.offset),j.addRange(x))}}}}for(Z=[],j=g;j=j.parentNode;)j.nodeType===1&&Z.push({element:j,left:j.scrollLeft,top:j.scrollTop});for(typeof g.focus=="function"&&g.focus(),g=0;g<Z.length;g++){var Q=Z[g];Q.element.scrollLeft=Q.left,Q.element.scrollTop=Q.top}}El=!!Uh,Rh=Uh=null}finally{re=s,L.p=c,C.T=u}}l.current=n,Tl=2}}function xg(){if(Tl===2){Tl=0;var l=fi,n=tc,u=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||u){u=C.T,C.T=null;var c=L.p;L.p=2;var s=re;re|=4;try{lr(l,n.alternate,n)}finally{re=s,L.p=c,C.T=u}}Tl=3}}function _g(){if(Tl===4||Tl===3){Tl=0,Ir();var l=fi,n=tc,u=Du,c=bh;(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?Tl=5:(Tl=0,tc=fi=null,Hg(l,l.pendingLanes));var s=l.pendingLanes;if(s===0&&(Le=null),Um(u),n=n.stateNode,Ea&&typeof Ea.onCommitFiberRoot=="function")try{Ea.onCommitFiberRoot(yc,n,void 0,(n.current.flags&128)===128)}catch{}if(c!==null){n=C.T,s=L.p,L.p=2,C.T=null;try{for(var r=l.onRecoverableError,m=0;m<c.length;m++){var g=c[m];r(g.value,{componentStack:g.stack})}}finally{C.T=n,L.p=s}}(Du&3)!==0&&Tf(),Ou(l),s=l.pendingLanes,(u&261930)!==0&&(s&42)!==0?l===or?vf++:(vf=0,or=l):vf=0,di(0)}}function Hg(l,n){(l.pooledCacheLanes&=n)===0&&(n=l.pooledCache,n!=null&&(l.pooledCache=null,_s(n)))}function Tf(){return Rg(),xg(),_g(),Ng()}function Ng(){if(Tl!==5)return!1;var l=fi,n=Oa;Oa=0;var u=Um(Du),c=C.T,s=L.p;try{L.p=32>u?32:u,C.T=null,u=vh,vh=null;var r=fi,m=Du;if(Tl=0,tc=fi=null,Du=0,(re&6)!==0)throw Error(E(331));var g=re;if(re|=4,t0(r.current),mf(r,r.current,m,u),re=g,di(0,!1),Ea&&typeof Ea.onPostCommitFiberRoot=="function")try{Ea.onPostCommitFiberRoot(yc,r)}catch{}return!0}finally{L.p=s,C.T=c,Hg(l,n)}}function Bg(l,n,u){n=qa(u,n),n=Ny(l.stateNode,n,2),l=Xa(l,n,2),l!==null&&(Ro(l,2),Ou(l))}function Ae(l,n,u){if(l.tag===3)Bg(l,l,u);else for(;n!==null;){if(n.tag===3){Bg(n,l,u);break}else if(n.tag===1){var c=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(Le===null||!Le.has(c))){l=qa(u,l),u=By(2),c=Xa(n,u,2),c!==null&&(wy(u,c,n,l),Ro(c,2),Ou(c));break}}n=n.return}}function rr(l,n,u){var c=l.pingCache;if(c===null){c=l.pingCache=new e0;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)||(yh=!0,s.add(u),l=n0.bind(null,l,n,u),n.then(l,l))}function n0(l,n,u){var c=l.pingCache;c!==null&&c.delete(n),l.pingedLanes|=l.suspendedLanes&u,l.warmLanes&=~u,Oe===l&&($t&u)===u&&(Be===4||Be===3&&($t&62914560)===$t&&300>Vl()-Qn?(re&2)===0&&Mu(l,0):ph|=u,Pe===$t&&(Pe=0)),Ou(l)}function wg(l,n){n===0&&(n=pc()),l=Wu(l,n),l!==null&&(Ro(l,n),Ou(l))}function Ka(l){var n=l.memoizedState,u=0;n!==null&&(u=n.retryLane),wg(l,u)}function qg(l,n){var u=0;switch(l.tag){case 31: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(E(314))}c!==null&&c.delete(n),wg(l,u)}function Yg(l,n){return _e(l,n)}var Ef=null,to=null,u0=!1,Eh=!1,i0=!1,ri=0;function Ou(l){l!==to&&l.next===null&&(to===null?Ef=to=l:to=to.next=l),Eh=!0,u0||(u0=!0,hr())}function di(l,n){if(!i0&&Eh){i0=!0;do for(var u=!1,c=Ef;c!==null;){if(l!==0){var s=c.pendingLanes;if(s===0)var r=0;else{var m=c.suspendedLanes,g=c.pingedLanes;r=(1<<31-aa(42|l)+1)-1,r&=s&~(m&~g),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(u=!0,eo(c,r))}else r=$t,r=ol(c,c===Oe?r:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(r&3)===0||An(c,r)||(u=!0,eo(c,r));c=c.next}while(u);i0=!1}}function Ah(){c0()}function c0(){Eh=u0=!1;var l=0;ri!==0&&T1()&&(l=ri);for(var n=Vl(),u=null,c=Ef;c!==null;){var s=c.next,r=o0(c,n);r===0?(c.next=null,u===null?Ef=s:u.next=s,s===null&&(to=u)):(u=c,(l!==0||(r&3)!==0)&&(Eh=!0)),c=s}Tl!==0&&Tl!==5||di(l),ri!==0&&(ri=0)}function o0(l,n){for(var u=l.suspendedLanes,c=l.pingedLanes,s=l.expirationTimes,r=l.pendingLanes&-62914561;0<r;){var m=31-aa(r),g=1<<m,A=s[m];A===-1?((g&u)===0||(g&c)!==0)&&(s[m]=Uo(g,n)):A<=n&&(l.expiredLanes|=g),r&=~g}if(n=Oe,u=$t,u=ol(l,l===n?u:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),c=l.callbackNode,u===0||l===n&&(Ee===2||Ee===9)||l.cancelPendingCommit!==null)return c!==null&&c!==null&&Mm(c),l.callbackNode=null,l.callbackPriority=0;if((u&3)===0||An(l,u)){if(n=u&-u,n===l.callbackPriority)return n;switch(c!==null&&Mm(c),Um(u)){case 2:case 8:u=td;break;case 32:u=zi;break;case 268435456:u=Om;break;default:u=zi}return c=dr.bind(null,l),u=_e(u,c),l.callbackPriority=n,l.callbackNode=u,n}return c!==null&&c!==null&&Mm(c),l.callbackPriority=2,l.callbackNode=null,2}function dr(l,n){if(Tl!==0&&Tl!==5)return l.callbackNode=null,l.callbackPriority=0,null;var u=l.callbackNode;if(Tf()&&l.callbackNode!==u)return null;var c=$t;return c=ol(l,l===Oe?c:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),c===0?null:(Sg(l,c,n),o0(l,Vl()),l.callbackNode!=null&&l.callbackNode===u?dr.bind(null,l):null)}function eo(l,n){if(Tf())return null;Sg(l,n,!0)}function hr(){Jg(function(){(re&6)!==0?_e(Pr,Ah):c0()})}function zh(){if(ri===0){var l=qi;l===0&&(l=Zu,Zu<<=1,(Zu&261888)===0&&(Zu=256)),ri=l}return ri}function jg(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:nn(""+l)}function lo(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 mr(l,n,u,c,s){if(n==="submit"&&u&&u.stateNode===s){var r=jg((s[na]||null).action),m=c.submitter;m&&(n=(n=m[na]||null)?jg(n.formAction):m.getAttribute("formAction"),n!==null&&(r=n,m=null));var g=new bs("action","action",null,c,s);l.push({event:g,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(ri!==0){var A=m?lo(s,m):new FormData(s);uf(u,{pending:!0,data:A,method:s.method,action:r},null,A)}}else typeof r=="function"&&(g.preventDefault(),A=m?lo(s,m):new FormData(s),uf(u,{pending:!0,data:A,method:s.method,action:r},r,A))},currentTarget:s}]})}}for(var Dh=0;Dh<Lo.length;Dh++){var Af=Lo[Dh],f0=Af.toLowerCase(),s0=Af[0].toUpperCase()+Af.slice(1);ia(f0,"on"+s0)}ia(zs,"onAnimationEnd"),ia(ly,"onAnimationIteration"),ia(Dd,"onAnimationStart"),ia("dblclick","onDoubleClick"),ia("focusin","onFocus"),ia("focusout","onBlur"),ia(xc,"onTransitionRun"),ia(Ds,"onTransitionStart"),ia(cu,"onTransitionCancel"),ia(Wp,"onTransitionEnd"),lu("onMouseEnter",["mouseout","mouseover"]),lu("onMouseLeave",["mouseout","mouseover"]),lu("onPointerEnter",["pointerout","pointerover"]),lu("onPointerLeave",["pointerout","pointerover"]),Ci("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ci("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ci("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ci("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ci("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ci("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var zf="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(" "),Gg=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(zf));function Xg(l,n){n=(n&4)!==0;for(var u=0;u<l.length;u++){var c=l[u],s=c.event;c=c.listeners;t:{var r=void 0;if(n)for(var m=c.length-1;0<=m;m--){var g=c[m],A=g.instance,_=g.currentTarget;if(g=g.listener,A!==r&&s.isPropagationStopped())break t;r=g,s.currentTarget=_;try{r(s)}catch(G){_c(G)}s.currentTarget=null,r=A}else for(m=0;m<c.length;m++){if(g=c[m],A=g.instance,_=g.currentTarget,g=g.listener,A!==r&&s.isPropagationStopped())break t;r=g,s.currentTarget=_;try{r(s)}catch(G){_c(G)}s.currentTarget=null,r=A}}}}function Ft(l,n){var u=n[nd];u===void 0&&(u=n[nd]=new Set);var c=l+"__bubble";u.has(c)||(yr(n,l,2,!1),u.add(c))}function r0(l,n,u){var c=0;n&&(c|=4),yr(u,l,c,n)}var Mh="_reactListening"+Math.random().toString(36).slice(2);function Df(l){if(!l[Mh]){l[Mh]=!0,Sc.forEach(function(u){u!=="selectionchange"&&(Gg.has(u)||r0(u,!1,l),r0(u,!0,l))});var n=l.nodeType===9?l:l.ownerDocument;n===null||n[Mh]||(n[Mh]=!0,r0("selectionchange",!1,n))}}function yr(l,n,u,c){switch(zr(n)){case 2:var s=Uu;break;case 8:s=Ru;break;default:s=Zl}u=s.bind(null,n,u,l),s=void 0,!gs||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 d0(l,n,u,c,s){var r=c;if((n&1)===0&&(n&2)===0&&c!==null)t:for(;;){if(c===null)return;var m=c.tag;if(m===3||m===4){var g=c.stateNode.containerInfo;if(g===s)break;if(m===4)for(m=c.return;m!==null;){var A=m.tag;if((A===3||A===4)&&m.stateNode.containerInfo===s)return;m=m.return}for(;g!==null;){if(m=gc(g),m===null)return;if(A=m.tag,A===5||A===6||A===26||A===27){c=r=m;continue t}g=g.parentNode}}c=c.return}Ym(function(){var _=r,G=dd(u),Z=[];t:{var H=ou.get(l);if(H!==void 0){var j=bs,ft=l;switch(l){case"keypress":if(md(u)===0)break t;case"keydown":case"keyup":j=vd;break;case"focusin":ft="focus",j=pd;break;case"focusout":ft="blur",j=pd;break;case"beforeblur":case"afterblur":j=pd;break;case"click":if(u.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":j=jo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":j=Yp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":j=Qp;break;case zs:case ly:case Dd:j=Gp;break;case Wp:j=y1;break;case"scroll":case"scrollend":j=h1;break;case"wheel":j=p1;break;case"copy":case"cut":case"paste":j=zc;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":j=Cn;break;case"toggle":case"beforetoggle":j=Km}var bt=(n&4)!==0,Ue=!bt&&(l==="scroll"||l==="scrollend"),R=bt?H!==null?H+"Capture":null:H;bt=[];for(var M=_,x;M!==null;){var Q=M;if(x=Q.stateNode,Q=Q.tag,Q!==5&&Q!==26&&Q!==27||x===null||R===null||(Q=Ml(M,R),Q!=null&&bt.push(pr(M,Q,x))),Ue)break;M=M.return}0<bt.length&&(H=new j(H,ft,null,u,G),Z.push({event:H,listeners:bt}))}}if((n&7)===0){t:{if(H=l==="mouseover"||l==="pointerover",j=l==="mouseout"||l==="pointerout",H&&u!==rd&&(ft=u.relatedTarget||u.fromElement)&&(gc(ft)||ft[Mi]))break t;if((j||H)&&(H=G.window===G?G:(H=G.ownerDocument)?H.defaultView||H.parentWindow:window,j?(ft=u.relatedTarget||u.toElement,j=_,ft=ft?gc(ft):null,ft!==null&&(Ue=lt(ft),bt=ft.tag,ft!==Ue||bt!==5&&bt!==27&&bt!==6)&&(ft=null)):(j=null,ft=_),j!==ft)){if(bt=jo,Q="onMouseLeave",R="onMouseEnter",M="mouse",(l==="pointerout"||l==="pointerover")&&(bt=Cn,Q="onPointerLeave",R="onPointerEnter",M="pointer"),Ue=j==null?H:xo(j),x=ft==null?H:xo(ft),H=new bt(Q,M+"leave",j,u,G),H.target=Ue,H.relatedTarget=x,Q=null,gc(G)===_&&(bt=new bt(R,M+"enter",ft,u,G),bt.target=x,bt.relatedTarget=Ue,Q=bt),Ue=Q,j&&ft)e:{for(bt=Vg,R=j,M=ft,x=0,Q=R;Q;Q=bt(Q))x++;Q=0;for(var yt=M;yt;yt=bt(yt))Q++;for(;0<x-Q;)R=bt(R),x--;for(;0<Q-x;)M=bt(M),Q--;for(;x--;){if(R===M||M!==null&&R===M.alternate){bt=R;break e}R=bt(R),M=bt(M)}bt=null}else bt=null;j!==null&&Oh(Z,H,j,bt,!1),ft!==null&&Ue!==null&&Oh(Z,Ue,ft,bt,!0)}}t:{if(H=_?xo(_):window,j=H.nodeName&&H.nodeName.toLowerCase(),j==="select"||j==="input"&&H.type==="file")var fe=Im;else if(iu(H))if(Td)fe=Uc;else{fe=$p;var rt=Kp}else j=H.nodeName,!j||j.toLowerCase()!=="input"||H.type!=="checkbox"&&H.type!=="radio"?_&&qm(_.elementType)&&(fe=Im):fe=_i;if(fe&&(fe=fe(l,_))){Fm(Z,fe,u,G);break t}rt&&rt(l,H,_),l==="focusout"&&_&&H.type==="number"&&_.memoizedProps.value!=null&&Tc(H,"number",H.value)}switch(rt=_?xo(_):window,l){case"focusin":(iu(rt)||rt.contentEditable==="true")&&(Ni=rt,Vo=_,on=null);break;case"focusout":on=Vo=Ni=null;break;case"mousedown":Rn=!0;break;case"contextmenu":case"mouseup":case"dragend":Rn=!1,zd(Z,u,G);break;case"selectionchange":if(As)break;case"keydown":case"keyup":zd(Z,u,G)}var Nt;if(Go)t:{switch(l){case"compositionstart":var Xt="onCompositionStart";break t;case"compositionend":Xt="onCompositionEnd";break t;case"compositionupdate":Xt="onCompositionUpdate";break t}Xt=void 0}else Mc?Sd(l,u)&&(Xt="onCompositionEnd"):l==="keydown"&&u.keyCode===229&&(Xt="onCompositionStart");Xt&&($m&&u.locale!=="ko"&&(Mc||Xt!=="onCompositionStart"?Xt==="onCompositionEnd"&&Mc&&(Nt=Gm()):($u=G,jm="value"in $u?$u.value:$u.textContent,Mc=!0)),rt=gr(_,Xt),0<rt.length&&(Xt=new Xp(Xt,l,null,u,G),Z.push({event:Xt,listeners:rt}),Nt?Xt.data=Nt:(Nt=km(u),Nt!==null&&(Xt.data=Nt)))),(Nt=kl?Jp(l,u):g1(l,u))&&(Xt=gr(_,"onBeforeInput"),0<Xt.length&&(rt=new Xp("onBeforeInput","beforeinput",null,u,G),Z.push({event:rt,listeners:Xt}),rt.data=Nt)),mr(Z,l,_,u,G)}Xg(Z,n)})}function pr(l,n,u){return{instance:l,listener:n,currentTarget:u}}function gr(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=Ml(l,u),s!=null&&c.unshift(pr(l,s,r)),s=Ml(l,n),s!=null&&c.push(pr(l,s,r))),l.tag===3)return c;l=l.return}return[]}function Vg(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}function Oh(l,n,u,c,s){for(var r=n._reactName,m=[];u!==null&&u!==c;){var g=u,A=g.alternate,_=g.stateNode;if(g=g.tag,A!==null&&A===c)break;g!==5&&g!==26&&g!==27||_===null||(A=_,s?(_=Ml(u,r),_!=null&&m.unshift(pr(u,_,A))):s||(_=Ml(u,r),_!=null&&m.push(pr(u,_,A)))),u=u.return}m.length!==0&&l.push({event:n,listeners:m})}var Qg=/\r\n?/g,h0=/\u0000|\uFFFD/g;function m0(l){return(typeof l=="string"?l:""+l).replace(Qg,`
33
+ `).replace(h0,"")}function y0(l,n){return n=m0(n),m0(l)===n}function Ce(l,n,u,c,s,r){switch(u){case"children":typeof c=="string"?n==="body"||n==="textarea"&&c===""||au(l,c):(typeof c=="number"||typeof c=="bigint")&&n!=="body"&&au(l,""+c);break;case"className":od(l,"class",c);break;case"tabIndex":od(l,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":od(l,u,c);break;case"style":Bp(l,c,r);break;case"data":if(n!=="object"){od(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=nn(""+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"&&Ce(l,n,"name",s.name,s,null),Ce(l,n,"formEncType",s.formEncType,s,null),Ce(l,n,"formMethod",s.formMethod,s,null),Ce(l,n,"formTarget",s.formTarget,s,null)):(Ce(l,n,"encType",s.encType,s,null),Ce(l,n,"method",s.method,s,null),Ce(l,n,"target",s.target,s,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){l.removeAttribute(u);break}c=nn(""+c),l.setAttribute(u,c);break;case"onClick":c!=null&&(l.onclick=Dn);break;case"onScroll":c!=null&&Ft("scroll",l);break;case"onScrollEnd":c!=null&&Ft("scrollend",l);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(E(61));if(u=c.__html,u!=null){if(s.children!=null)throw Error(E(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=nn(""+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":Ft("beforetoggle",l),Ft("toggle",l),No(l,"popover",c);break;case"xlinkActuate":Ju(l,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":Ju(l,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":Ju(l,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":Ju(l,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":Ju(l,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":Ju(l,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":Ju(l,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":Ju(l,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":Ju(l,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":No(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=d1.get(u)||u,No(l,u,c))}}function p0(l,n,u,c,s,r){switch(u){case"style":Bp(l,c,r);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(E(61));if(u=c.__html,u!=null){if(s.children!=null)throw Error(E(60));l.innerHTML=u}}break;case"children":typeof c=="string"?au(l,c):(typeof c=="number"||typeof c=="bigint")&&au(l,""+c);break;case"onScroll":c!=null&&Ft("scroll",l);break;case"onScrollEnd":c!=null&&Ft("scrollend",l);break;case"onClick":c!=null&&(l.onclick=Dn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Oi.hasOwnProperty(u))t:{if(u[0]==="o"&&u[1]==="n"&&(s=u.endsWith("Capture"),n=u.slice(2,s?u.length-7:void 0),r=l[na]||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 t}u in l?l[u]=c:c===!0?l.setAttribute(u,""):No(l,u,c)}}}function Ll(l,n,u){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ft("error",l),Ft("load",l);var c=!1,s=!1,r;for(r in u)if(u.hasOwnProperty(r)){var m=u[r];if(m!=null)switch(r){case"src":c=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(E(137,n));default:Ce(l,n,r,m,u,null)}}s&&Ce(l,n,"srcSet",u.srcSet,u,null),c&&Ce(l,n,"src",u.src,u,null);return;case"input":Ft("invalid",l);var g=r=m=s=null,A=null,_=null;for(c in u)if(u.hasOwnProperty(c)){var G=u[c];if(G!=null)switch(c){case"name":s=G;break;case"type":m=G;break;case"checked":A=G;break;case"defaultChecked":_=G;break;case"value":r=G;break;case"defaultValue":g=G;break;case"children":case"dangerouslySetInnerHTML":if(G!=null)throw Error(E(137,n));break;default:Ce(l,n,c,G,u,null)}}ms(l,r,g,A,_,m,s,!1);return;case"select":Ft("invalid",l),c=m=r=null;for(s in u)if(u.hasOwnProperty(s)&&(g=u[s],g!=null))switch(s){case"value":r=g;break;case"defaultValue":m=g;break;case"multiple":c=g;default:Ce(l,n,s,g,u,null)}n=r,u=m,l.multiple=!!c,n!=null?Bo(l,!!c,n,!1):u!=null&&Bo(l,!!c,u,!0);return;case"textarea":Ft("invalid",l),r=s=c=null;for(m in u)if(u.hasOwnProperty(m)&&(g=u[m],g!=null))switch(m){case"value":c=g;break;case"defaultValue":s=g;break;case"children":r=g;break;case"dangerouslySetInnerHTML":if(g!=null)throw Error(E(91));break;default:Ce(l,n,m,g,u,null)}wm(l,c,s,r);return;case"option":for(A in u)if(u.hasOwnProperty(A)&&(c=u[A],c!=null))switch(A){case"selected":l.selected=c&&typeof c!="function"&&typeof c!="symbol";break;default:Ce(l,n,A,c,u,null)}return;case"dialog":Ft("beforetoggle",l),Ft("toggle",l),Ft("cancel",l),Ft("close",l);break;case"iframe":case"object":Ft("load",l);break;case"video":case"audio":for(c=0;c<zf.length;c++)Ft(zf[c],l);break;case"image":Ft("error",l),Ft("load",l);break;case"details":Ft("toggle",l);break;case"embed":case"source":case"link":Ft("error",l),Ft("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(_ in u)if(u.hasOwnProperty(_)&&(c=u[_],c!=null))switch(_){case"children":case"dangerouslySetInnerHTML":throw Error(E(137,n));default:Ce(l,n,_,c,u,null)}return;default:if(qm(n)){for(G in u)u.hasOwnProperty(G)&&(c=u[G],c!==void 0&&p0(l,n,G,c,u,void 0));return}}for(g in u)u.hasOwnProperty(g)&&(c=u[g],c!=null&&Ce(l,n,g,c,u,null))}function g0(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,m=null,g=null,A=null,_=null,G=null;for(j in u){var Z=u[j];if(u.hasOwnProperty(j)&&Z!=null)switch(j){case"checked":break;case"value":break;case"defaultValue":A=Z;default:c.hasOwnProperty(j)||Ce(l,n,j,null,c,Z)}}for(var H in c){var j=c[H];if(Z=u[H],c.hasOwnProperty(H)&&(j!=null||Z!=null))switch(H){case"type":r=j;break;case"name":s=j;break;case"checked":_=j;break;case"defaultChecked":G=j;break;case"value":m=j;break;case"defaultValue":g=j;break;case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(E(137,n));break;default:j!==Z&&Ce(l,n,H,j,c,Z)}}hs(l,m,g,A,_,G,r,s);return;case"select":j=m=g=H=null;for(r in u)if(A=u[r],u.hasOwnProperty(r)&&A!=null)switch(r){case"value":break;case"multiple":j=A;default:c.hasOwnProperty(r)||Ce(l,n,r,null,c,A)}for(s in c)if(r=c[s],A=u[s],c.hasOwnProperty(s)&&(r!=null||A!=null))switch(s){case"value":H=r;break;case"defaultValue":g=r;break;case"multiple":m=r;default:r!==A&&Ce(l,n,s,r,c,A)}n=g,u=m,c=j,H!=null?Bo(l,!!u,H,!1):!!c!=!!u&&(n!=null?Bo(l,!!u,n,!0):Bo(l,!!u,u?[]:"",!1));return;case"textarea":j=H=null;for(g in u)if(s=u[g],u.hasOwnProperty(g)&&s!=null&&!c.hasOwnProperty(g))switch(g){case"value":break;case"children":break;default:Ce(l,n,g,null,c,s)}for(m in c)if(s=c[m],r=u[m],c.hasOwnProperty(m)&&(s!=null||r!=null))switch(m){case"value":H=s;break;case"defaultValue":j=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(E(91));break;default:s!==r&&Ce(l,n,m,s,c,r)}Bm(l,H,j);return;case"option":for(var ft in u)if(H=u[ft],u.hasOwnProperty(ft)&&H!=null&&!c.hasOwnProperty(ft))switch(ft){case"selected":l.selected=!1;break;default:Ce(l,n,ft,null,c,H)}for(A in c)if(H=c[A],j=u[A],c.hasOwnProperty(A)&&H!==j&&(H!=null||j!=null))switch(A){case"selected":l.selected=H&&typeof H!="function"&&typeof H!="symbol";break;default:Ce(l,n,A,H,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 bt in u)H=u[bt],u.hasOwnProperty(bt)&&H!=null&&!c.hasOwnProperty(bt)&&Ce(l,n,bt,null,c,H);for(_ in c)if(H=c[_],j=u[_],c.hasOwnProperty(_)&&H!==j&&(H!=null||j!=null))switch(_){case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(E(137,n));break;default:Ce(l,n,_,H,c,j)}return;default:if(qm(n)){for(var Ue in u)H=u[Ue],u.hasOwnProperty(Ue)&&H!==void 0&&!c.hasOwnProperty(Ue)&&p0(l,n,Ue,void 0,c,H);for(G in c)H=c[G],j=u[G],!c.hasOwnProperty(G)||H===j||H===void 0&&j===void 0||p0(l,n,G,H,c,j);return}}for(var R in u)H=u[R],u.hasOwnProperty(R)&&H!=null&&!c.hasOwnProperty(R)&&Ce(l,n,R,null,c,H);for(Z in c)H=c[Z],j=u[Z],!c.hasOwnProperty(Z)||H===j||H==null&&j==null||Ce(l,n,Z,H,c,j)}function Ch(l){switch(l){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function v0(){if(typeof performance.getEntriesByType=="function"){for(var l=0,n=0,u=performance.getEntriesByType("resource"),c=0;c<u.length;c++){var s=u[c],r=s.transferSize,m=s.initiatorType,g=s.duration;if(r&&g&&Ch(m)){for(m=0,g=s.responseEnd,c+=1;c<u.length;c++){var A=u[c],_=A.startTime;if(_>g)break;var G=A.transferSize,Z=A.initiatorType;G&&Ch(Z)&&(A=A.responseEnd,m+=G*(A<g?1:(g-_)/(A-_)))}if(--c,n+=8*(r+m)/(s.duration/1e3),l++,10<l)break}}if(0<l)return n/l/1e6}return navigator.connection&&(l=navigator.connection.downlink,typeof l=="number")?l:5}var Uh=null,Rh=null;function lc(l){return l.nodeType===9?l:l.ownerDocument}function Lg(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 b0(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 Mf(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 xh=null;function T1(){var l=window.event;return l&&l.type==="popstate"?l===xh?!1:(xh=l,!0):(xh=null,!1)}var vr=typeof setTimeout=="function"?setTimeout:void 0,Zg=typeof clearTimeout=="function"?clearTimeout:void 0,ao=typeof Promise=="function"?Promise:void 0,Jg=typeof queueMicrotask=="function"?queueMicrotask:typeof ao<"u"?function(l){return ao.resolve(null).then(l).catch(S0)}:vr;function S0(l){setTimeout(function(){throw l})}function Ln(l){return l==="head"}function T0(l,n){var u=n,c=0;do{var s=u.nextSibling;if(l.removeChild(u),s&&s.nodeType===8)if(u=s.data,u==="/$"||u==="/&"){if(c===0){l.removeChild(s),Yf(n);return}c--}else if(u==="$"||u==="$?"||u==="$~"||u==="$!"||u==="&")c++;else if(u==="html")no(l.ownerDocument.documentElement);else if(u==="head"){u=l.ownerDocument.head,no(u);for(var r=u.firstChild;r;){var m=r.nextSibling,g=r.nodeName;r[eu]||g==="SCRIPT"||g==="STYLE"||g==="LINK"&&r.rel.toLowerCase()==="stylesheet"||u.removeChild(r),r=m}}else u==="body"&&no(l.ownerDocument.body);u=s}while(u);Yf(n)}function hl(l,n){var u=l;l=0;do{var c=u.nextSibling;if(u.nodeType===1?n?(u._stashedDisplay=u.style.display,u.style.display="none"):(u.style.display=u._stashedDisplay||"",u.getAttribute("style")===""&&u.removeAttribute("style")):u.nodeType===3&&(n?(u._stashedText=u.nodeValue,u.nodeValue=""):u.nodeValue=u._stashedText||""),c&&c.nodeType===8)if(u=c.data,u==="/$"){if(l===0)break;l--}else u!=="$"&&u!=="$?"&&u!=="$~"&&u!=="$!"||l++;u=c}while(u)}function br(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":br(u),ud(u);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(u.rel.toLowerCase()==="stylesheet")continue}l.removeChild(u)}}function E1(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[eu])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=va(l.nextSibling),l===null)break}return null}function Qt(l,n,u){if(n==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!u||(l=va(l.nextSibling),l===null))return null;return l}function Kg(l,n){for(;l.nodeType!==8;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!n||(l=va(l.nextSibling),l===null))return null;return l}function pn(l){return l.data==="$?"||l.data==="$~"}function ac(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState!=="loading"}function Of(l,n){var u=l.ownerDocument;if(l.data==="$~")l._reactRetry=n;else if(l.data!=="$?"||u.readyState!=="loading")n();else{var c=function(){n(),u.removeEventListener("DOMContentLoaded",c)};u.addEventListener("DOMContentLoaded",c),l._reactRetry=c}}function va(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==="$~"||n==="&"||n==="F!"||n==="F")break;if(n==="/$"||n==="/&")return null}}return l}var Sr=null;function _h(l){l=l.nextSibling;for(var n=0;l;){if(l.nodeType===8){var u=l.data;if(u==="/$"||u==="/&"){if(n===0)return va(l.nextSibling);n--}else u!=="$"&&u!=="$!"&&u!=="$?"&&u!=="$~"&&u!=="&"||n++}l=l.nextSibling}return null}function Zn(l){l=l.previousSibling;for(var n=0;l;){if(l.nodeType===8){var u=l.data;if(u==="$"||u==="$!"||u==="$?"||u==="$~"||u==="&"){if(n===0)return l;n--}else u!=="/$"&&u!=="/&"||n++}l=l.previousSibling}return null}function Cf(l,n,u){switch(n=lc(u),l){case"html":if(l=n.documentElement,!l)throw Error(E(452));return l;case"head":if(l=n.head,!l)throw Error(E(453));return l;case"body":if(l=n.body,!l)throw Error(E(454));return l;default:throw Error(E(451))}}function no(l){for(var n=l.attributes;n.length;)l.removeAttributeNode(n[0]);ud(l)}var Ua=new Map,Tr=new Set;function Il(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}var Jn=L.d;L.d={f:A1,r:$g,D:Y,C:ge,L:z1,m:E0,X:hi,S:A0,M:nc};function A1(){var l=Jn.f(),n=bf();return l||n}function $g(l){var n=vc(l);n!==null&&n.tag===5&&n.type==="form"?Me(n):Jn.r(l)}var Uf=typeof document>"u"?null:document;function gl(l,n,u){var c=Uf;if(c&&typeof n=="string"&&n){var s=Na(n);s='link[rel="'+l+'"][href="'+s+'"]',typeof u=="string"&&(s+='[crossorigin="'+u+'"]'),Tr.has(s)||(Tr.add(s),l={rel:l,crossOrigin:u,href:n},c.querySelector(s)===null&&(n=c.createElement("link"),Ll(n,"link",l),be(n),c.head.appendChild(n)))}}function Y(l){Jn.D(l),gl("dns-prefetch",l,null)}function ge(l,n){Jn.C(l,n),gl("preconnect",l,n)}function z1(l,n,u){Jn.L(l,n,u);var c=Uf;if(c&&l&&n){var s='link[rel="preload"][as="'+Na(n)+'"]';n==="image"&&u&&u.imageSrcSet?(s+='[imagesrcset="'+Na(u.imageSrcSet)+'"]',typeof u.imageSizes=="string"&&(s+='[imagesizes="'+Na(u.imageSizes)+'"]')):s+='[href="'+Na(l)+'"]';var r=s;switch(n){case"style":r=$a(l);break;case"script":r=uo(l)}Ua.has(r)||(l=K({rel:"preload",href:n==="image"&&u&&u.imageSrcSet?void 0:l,as:n},u),Ua.set(r,l),c.querySelector(s)!==null||n==="style"&&c.querySelector(uc(r))||n==="script"&&c.querySelector(_f(r))||(n=c.createElement("link"),Ll(n,"link",l),be(n),c.head.appendChild(n)))}}function E0(l,n){Jn.m(l,n);var u=Uf;if(u&&l){var c=n&&typeof n.as=="string"?n.as:"script",s='link[rel="modulepreload"][as="'+Na(c)+'"][href="'+Na(l)+'"]',r=s;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=uo(l)}if(!Ua.has(r)&&(l=K({rel:"modulepreload",href:l},n),Ua.set(r,l),u.querySelector(s)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(u.querySelector(_f(r)))return}c=u.createElement("link"),Ll(c,"link",l),be(c),u.head.appendChild(c)}}}function A0(l,n,u){Jn.S(l,n,u);var c=Uf;if(c&&l){var s=bc(c).hoistableStyles,r=$a(l);n=n||"default";var m=s.get(r);if(!m){var g={loading:0,preload:null};if(m=c.querySelector(uc(r)))g.loading=5;else{l=K({rel:"stylesheet",href:l,"data-precedence":n},u),(u=Ua.get(r))&&Hh(l,u);var A=m=c.createElement("link");be(A),Ll(A,"link",l),A._p=new Promise(function(_,G){A.onload=_,A.onerror=G}),A.addEventListener("load",function(){g.loading|=1}),A.addEventListener("error",function(){g.loading|=2}),g.loading|=4,Er(m,n,c)}m={type:"stylesheet",instance:m,count:1,state:g},s.set(r,m)}}}function hi(l,n){Jn.X(l,n);var u=Uf;if(u&&l){var c=bc(u).hoistableScripts,s=uo(l),r=c.get(s);r||(r=u.querySelector(_f(s)),r||(l=K({src:l,async:!0},n),(n=Ua.get(s))&&Nh(l,n),r=u.createElement("script"),be(r),Ll(r,"link",l),u.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},c.set(s,r))}}function nc(l,n){Jn.M(l,n);var u=Uf;if(u&&l){var c=bc(u).hoistableScripts,s=uo(l),r=c.get(s);r||(r=u.querySelector(_f(s)),r||(l=K({src:l,async:!0,type:"module"},n),(n=Ua.get(s))&&Nh(l,n),r=u.createElement("script"),be(r),Ll(r,"link",l),u.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},c.set(s,r))}}function Rf(l,n,u,c){var s=(s=Xe.current)?Il(s):null;if(!s)throw Error(E(446));switch(l){case"meta":case"title":return null;case"style":return typeof u.precedence=="string"&&typeof u.href=="string"?(n=$a(u.href),u=bc(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=$a(u.href);var r=bc(s).hoistableStyles,m=r.get(l);if(m||(s=s.ownerDocument||s,m={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},r.set(l,m),(r=s.querySelector(uc(l)))&&!r._p&&(m.instance=r,m.state.loading=5),Ua.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},Ua.set(l,u),r||kg(s,l,u,m.state))),n&&c===null)throw Error(E(528,""));return m}if(n&&c!==null)throw Error(E(529,""));return null;case"script":return n=u.async,u=u.src,typeof u=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=uo(u),u=bc(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(E(444,l))}}function $a(l){return'href="'+Na(l)+'"'}function uc(l){return'link[rel="stylesheet"]['+l+"]"}function xf(l){return K({},l,{"data-precedence":l.precedence,precedence:null})}function kg(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}),Ll(n,"link",u),be(n),l.head.appendChild(n))}function uo(l){return'[src="'+Na(l)+'"]'}function _f(l){return"script[async]"+l}function z0(l,n,u){if(n.count++,n.instance===null)switch(n.type){case"style":var c=l.querySelector('style[data-href~="'+Na(u.href)+'"]');if(c)return n.instance=c,be(c),c;var s=K({},u,{"data-href":u.href,"data-precedence":u.precedence,href:null,precedence:null});return c=(l.ownerDocument||l).createElement("style"),be(c),Ll(c,"style",s),Er(c,u.precedence,l),n.instance=c;case"stylesheet":s=$a(u.href);var r=l.querySelector(uc(s));if(r)return n.state.loading|=4,n.instance=r,be(r),r;c=xf(u),(s=Ua.get(s))&&Hh(c,s),r=(l.ownerDocument||l).createElement("link"),be(r);var m=r;return m._p=new Promise(function(g,A){m.onload=g,m.onerror=A}),Ll(r,"link",c),n.state.loading|=4,Er(r,u.precedence,l),n.instance=r;case"script":return r=uo(u.src),(s=l.querySelector(_f(r)))?(n.instance=s,be(s),s):(c=u,(s=Ua.get(r))&&(c=K({},u),Nh(c,s)),l=l.ownerDocument||l,s=l.createElement("script"),be(s),Ll(s,"link",c),l.head.appendChild(s),n.instance=s);case"void":return null;default:throw Error(E(443,n.type))}else n.type==="stylesheet"&&(n.state.loading&4)===0&&(c=n.instance,n.state.loading|=4,Er(c,u.precedence,l));return n.instance}function Er(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,m=0;m<c.length;m++){var g=c[m];if(g.dataset.precedence===n)r=g;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 Hh(l,n){l.crossOrigin==null&&(l.crossOrigin=n.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=n.referrerPolicy),l.title==null&&(l.title=n.title)}function Nh(l,n){l.crossOrigin==null&&(l.crossOrigin=n.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=n.referrerPolicy),l.integrity==null&&(l.integrity=n.integrity)}var Hf=null;function D0(l,n,u){if(Hf===null){var c=new Map,s=Hf=new Map;s.set(u,c)}else s=Hf,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[eu]||r[De]||l==="link"&&r.getAttribute("rel")==="stylesheet")&&r.namespaceURI!=="http://www.w3.org/2000/svg"){var m=r.getAttribute(n)||"";m=l+m;var g=c.get(m);g?g.push(r):c.set(m,[r])}}return c}function Bh(l,n,u){l=l.ownerDocument||l,l.head.insertBefore(u,n==="title"?l.querySelector("head > title"):null)}function M0(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 Ra(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}function Cu(l,n,u,c){if(u.type==="stylesheet"&&(typeof c.media!="string"||matchMedia(c.media).matches!==!1)&&(u.state.loading&4)===0){if(u.instance===null){var s=$a(c.href),r=n.querySelector(uc(s));if(r){n=r._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(l.count++,l=wh.bind(l),n.then(l,l)),u.state.loading|=4,u.instance=r,be(r);return}r=n.ownerDocument||n,c=xf(c),(s=Ua.get(s))&&Hh(c,s),r=r.createElement("link"),be(r);var m=r;m._p=new Promise(function(g,A){m.onload=g,m.onerror=A}),Ll(r,"link",c),u.instance=r}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(u,n),(n=u.state.preload)&&(u.state.loading&3)===0&&(l.count++,u=wh.bind(l),n.addEventListener("load",u),n.addEventListener("error",u))}}var ka=0;function O0(l,n){return l.stylesheets&&l.count===0&&Yh(l,l.stylesheets),0<l.count||0<l.imgCount?function(u){var c=setTimeout(function(){if(l.stylesheets&&Yh(l,l.stylesheets),l.unsuspend){var r=l.unsuspend;l.unsuspend=null,r()}},6e4+n);0<l.imgBytes&&ka===0&&(ka=62500*v0());var s=setTimeout(function(){if(l.waitingForImages=!1,l.count===0&&(l.stylesheets&&Yh(l,l.stylesheets),l.unsuspend)){var r=l.unsuspend;l.unsuspend=null,r()}},(l.imgBytes>ka?50:800)+n);return l.unsuspend=u,function(){l.unsuspend=null,clearTimeout(c),clearTimeout(s)}}:null}function wh(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Yh(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}var qh=null;function Yh(l,n){l.stylesheets=null,l.unsuspend!==null&&(l.count++,qh=new Map,n.forEach(Hl,l),qh=null,wh.call(l))}function Hl(l,n){if(!(n.state.loading&4)){var u=qh.get(l);if(u)var c=u.get(null);else{u=new Map,qh.set(l,u);for(var s=l.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r<s.length;r++){var m=s[r];(m.nodeName==="LINK"||m.getAttribute("media")!=="not all")&&(u.set(m.dataset.precedence,m),c=m)}c&&u.set(null,c)}s=n.instance,m=s.getAttribute("data-precedence"),r=u.get(m)||c,r===c&&u.set(null,s),u.set(m,s),this.count++,c=wh.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 Ar={$$typeof:he,Provider:null,Consumer:null,_currentValue:W,_currentValue2:W,_threadCount:0};function C0(l,n,u,c,s,r,m,g,A){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=ss(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ss(0),this.hiddenUpdates=ss(null),this.identifierPrefix=c,this.onUncaughtError=s,this.onCaughtError=r,this.onRecoverableError=m,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=A,this.incompleteTransitions=new Map}function jh(l,n,u,c,s,r,m,g,A,_,G,Z){return l=new C0(l,n,u,m,A,_,G,Z,g),n=1,r===!0&&(n|=24),r=ll(3,null,null,n),l.current=r,r.stateNode=l,n=xs(),n.refCount++,l.pooledCache=n,n.refCount++,r.memoizedState={element:c,isDehydrated:u,cache:n},Ys(r),l}function io(l){return l?(l=ca,l):ca}function Wg(l,n,u,c,s,r){s=io(s),c.context===null?c.context=s:c.pendingContext=s,c=ai(n),c.payload={element:u},r=r===void 0?null:r,r!==null&&(c.callback=r),u=Xa(l,c,n),u!==null&&(ga(u,l,n),Qi(u,l,n))}function Gh(l,n){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var u=l.retryLane;l.retryLane=u!==0&&u<n?u:n}}function U0(l,n){Gh(l,n),(l=l.alternate)&&Gh(l,n)}function Fg(l){if(l.tag===13||l.tag===31){var n=Wu(l,67108864);n!==null&&ga(n,l,67108864),U0(l,67108864)}}function co(l){if(l.tag===13||l.tag===31){var n=Ca();n=ld(n);var u=Wu(l,n);u!==null&&ga(u,l,n),U0(l,n)}}var El=!0;function Uu(l,n,u,c){var s=C.T;C.T=null;var r=L.p;try{L.p=2,Zl(l,n,u,c)}finally{L.p=r,C.T=s}}function Ru(l,n,u,c){var s=C.T;C.T=null;var r=L.p;try{L.p=8,Zl(l,n,u,c)}finally{L.p=r,C.T=s}}function Zl(l,n,u,c){if(El){var s=R0(c);if(s===null)d0(l,n,c,Xh,u),mi(l,c);else if(D1(s,l,n,u,c))c.stopPropagation();else if(mi(l,c),n&4&&-1<ba.indexOf(l)){for(;s!==null;){var r=vc(s);if(r!==null)switch(r.tag){case 3:if(r=r.stateNode,r.current.memoizedState.isDehydrated){var m=an(r.pendingLanes);if(m!==0){var g=r;for(g.pendingLanes|=2,g.entangledLanes|=2;m;){var A=1<<31-aa(m);g.entanglements[1]|=A,m&=~A}Ou(r),(re&6)===0&&(pe=Vl()+500,di(0))}}break;case 31:case 13:g=Wu(r,2),g!==null&&ga(g,r,2),bf(),U0(r,2)}if(r=R0(c),r===null&&d0(l,n,c,Xh,u),r===s)break;s=r}s!==null&&c.stopPropagation()}else d0(l,n,c,null,u)}}function R0(l){return l=dd(l),Nf(l)}var Xh=null;function Nf(l){if(Xh=null,l=gc(l),l!==null){var n=lt(l);if(n===null)l=null;else{var u=n.tag;if(u===13){if(l=ut(n),l!==null)return l;l=null}else if(u===31){if(l=V(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 Xh=l,null}function zr(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(f1()){case Pr:return 2;case td:return 8;case zi:case s1:return 32;case Om:return 268435456;default:return 32}default:return 32}}var Bf=!1,Al=null,Jl=null,Pl=null,ic=new Map,gn=new Map,Ze=[],ba="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 mi(l,n){switch(l){case"focusin":case"focusout":Al=null;break;case"dragenter":case"dragleave":Jl=null;break;case"mouseover":case"mouseout":Pl=null;break;case"pointerover":case"pointerout":ic.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":gn.delete(n.pointerId)}}function oo(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=vc(n),n!==null&&Fg(n)),l):(l.eventSystemFlags|=c,n=l.targetContainers,s!==null&&n.indexOf(s)===-1&&n.push(s),l)}function D1(l,n,u,c,s){switch(n){case"focusin":return Al=oo(Al,l,n,u,c,s),!0;case"dragenter":return Jl=oo(Jl,l,n,u,c,s),!0;case"mouseover":return Pl=oo(Pl,l,n,u,c,s),!0;case"pointerover":var r=s.pointerId;return ic.set(r,oo(ic.get(r)||null,l,n,u,c,s)),!0;case"gotpointercapture":return r=s.pointerId,gn.set(r,oo(gn.get(r)||null,l,n,u,c,s)),!0}return!1}function Ig(l){var n=gc(l.target);if(n!==null){var u=lt(n);if(u!==null){if(n=u.tag,n===13){if(n=ut(u),n!==null){l.blockedOn=n,Rm(l.priority,function(){co(u)});return}}else if(n===31){if(n=V(u),n!==null){l.blockedOn=n,Rm(l.priority,function(){co(u)});return}}else if(n===3&&u.stateNode.current.memoizedState.isDehydrated){l.blockedOn=u.tag===3?u.stateNode.containerInfo:null;return}}}l.blockedOn=null}function Dr(l){if(l.blockedOn!==null)return!1;for(var n=l.targetContainers;0<n.length;){var u=R0(l.nativeEvent);if(u===null){u=l.nativeEvent;var c=new u.constructor(u.type,u);rd=c,u.target.dispatchEvent(c),rd=null}else return n=vc(u),n!==null&&Fg(n),l.blockedOn=u,!1;n.shift()}return!0}function wf(l,n,u){Dr(l)&&u.delete(n)}function Pg(){Bf=!1,Al!==null&&Dr(Al)&&(Al=null),Jl!==null&&Dr(Jl)&&(Jl=null),Pl!==null&&Dr(Pl)&&(Pl=null),ic.forEach(wf),gn.forEach(wf)}function xu(l,n){l.blockedOn===n&&(l.blockedOn=null,Bf||(Bf=!0,v.unstable_scheduleCallback(v.unstable_NormalPriority,Pg)))}var qf=null;function tv(l){qf!==l&&(qf=l,v.unstable_scheduleCallback(v.unstable_NormalPriority,function(){qf===l&&(qf=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(Nf(c||u)===null)continue;break}var r=vc(u);r!==null&&(l.splice(n,3),n-=3,uf(r,{pending:!0,data:s,method:u.method,action:c},c,s))}}))}function Yf(l){function n(A){return xu(A,l)}Al!==null&&xu(Al,l),Jl!==null&&xu(Jl,l),Pl!==null&&xu(Pl,l),ic.forEach(n),gn.forEach(n);for(var u=0;u<Ze.length;u++){var c=Ze[u];c.blockedOn===l&&(c.blockedOn=null)}for(;0<Ze.length&&(u=Ze[0],u.blockedOn===null);)Ig(u),u.blockedOn===null&&Ze.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],m=s[na]||null;if(typeof r=="function")m||tv(u);else if(m){var g=null;if(r&&r.hasAttribute("formAction")){if(s=r,m=r[na]||null)g=m.formAction;else if(Nf(s)!==null)continue}else g=m.action;typeof g=="function"?u[c+1]=g:(u.splice(c,3),c-=3),tv(u)}}}function x0(){function l(r){r.canIntercept&&r.info==="react-transition"&&r.intercept({handler:function(){return new Promise(function(m){return s=m})},focusReset:"manual",scroll:"manual"})}function n(){s!==null&&(s(),s=null),c||setTimeout(u,20)}function u(){if(!c&&!navigation.transition){var r=navigation.currentEntry;r&&r.url!=null&&navigation.navigate(r.url,{state:r.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var c=!1,s=null;return navigation.addEventListener("navigate",l),navigation.addEventListener("navigatesuccess",n),navigation.addEventListener("navigateerror",n),setTimeout(u,100),function(){c=!0,navigation.removeEventListener("navigate",l),navigation.removeEventListener("navigatesuccess",n),navigation.removeEventListener("navigateerror",n),s!==null&&(s(),s=null)}}}function Vh(l){this._internalRoot=l}Qh.prototype.render=Vh.prototype.render=function(l){var n=this._internalRoot;if(n===null)throw Error(E(409));var u=n.current,c=Ca();Wg(u,c,l,n,null,null)},Qh.prototype.unmount=Vh.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var n=l.containerInfo;Wg(l.current,2,null,l,null,null),bf(),n[Mi]=null}};function Qh(l){this._internalRoot=l}Qh.prototype.unstable_scheduleHydration=function(l){if(l){var n=ad();l={blockedOn:null,target:l,priority:n};for(var u=0;u<Ze.length&&n!==0&&n<Ze[u].priority;u++);Ze.splice(u,0,l),u===0&&Ig(l)}};var _0=U.version;if(_0!=="19.2.0")throw Error(E(527,_0,"19.2.0"));L.findDOMNode=function(l){var n=l._reactInternals;if(n===void 0)throw typeof l.render=="function"?Error(E(188)):(l=Object.keys(l).join(","),Error(E(268,l)));return l=Ct(n),l=l!==null?St(l):null,l=l===null?null:l.stateNode,l};var ev={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:C,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Mr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Mr.isDisabled&&Mr.supportsFiber)try{yc=Mr.inject(ev),Ea=Mr}catch{}}return Tm.createRoot=function(l,n){if(!k(l))throw Error(E(299));var u=!1,c="",s=th,r=Hy,m=eh;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&&(m=n.onRecoverableError)),n=jh(l,1,!1,null,null,u,c,null,s,r,m,x0),l[Mi]=n.current,Df(l),new Vh(n)},Tm.hydrateRoot=function(l,n,u){if(!k(l))throw Error(E(299));var c=!1,s="",r=th,m=Hy,g=eh,A=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&&(m=u.onCaughtError),u.onRecoverableError!==void 0&&(g=u.onRecoverableError),u.formState!==void 0&&(A=u.formState)),n=jh(l,1,!0,n,u??null,c,s,A,r,m,g,x0),n.context=io(null),u=n.current,c=Ca(),c=ld(c),s=ai(c),s.callback=null,Xa(u,s,c),u=c,n.current.lanes=u,Ro(n,u),Ou(n),l[Mi]=n.current,Df(l),new Qh(n)},Tm.version="19.2.0",Tm}var Em={};/**
55
34
  * @license React
56
35
  * react-dom-client.development.js
57
36
  *
@@ -59,63 +38,63 @@ Error generating stack: `+s.message+`
59
38
  *
60
39
  * This source code is licensed under the MIT license found in the
61
40
  * LICENSE file in the root directory of this source tree.
62
- */var I2;function VM(){return I2||(I2=1,process.env.NODE_ENV!=="production"&&(function(){function u(t,e){for(t=t.memoizedState;t!==null&&0<e;)t=t.next,e--;return t}function r(t,e,a,o){if(a>=e.length)return o;var c=e[a],f=Dn(t)?t.slice():le({},t);return f[c]=r(t[c],e,a+1,o),f}function d(t,e,a){if(e.length!==a.length)console.warn("copyWithRename() expects paths of the same length");else{for(var o=0;o<a.length-1;o++)if(e[o]!==a[o]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return m(t,e,a,0)}}function m(t,e,a,o){var c=e[o],f=Dn(t)?t.slice():le({},t);return o+1===e.length?(f[a[o]]=f[c],Dn(f)?f.splice(c,1):delete f[c]):f[c]=m(t[c],e,a,o+1),f}function v(t,e,a){var o=e[a],c=Dn(t)?t.slice():le({},t);return a+1===e.length?(Dn(c)?c.splice(o,1):delete c[o],c):(c[o]=v(t[o],e,a+1),c)}function T(){return!1}function b(){return null}function A(){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 x(){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 z(){}function M(){}function O(t){var e=[];return t.forEach(function(a){e.push(a)}),e.sort().join(", ")}function w(t,e,a,o){return new xT(t,e,a,o)}function Q(t,e){t.context===gc&&(Cm(t.current,2,e,t,null,null),ol())}function X(t,e){if(Ii!==null){var a=e.staleFamilies;e=e.updatedFamilies,qf(),Rv(t.current,e,a),ol()}}function lt(t){Ii=t}function ot(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function nt(t){var e=t,a=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(a=e.return),t=e.return;while(t)}return e.tag===3?a:null}function dt(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function ht(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function Tt(t){if(nt(t)!==t)throw Error("Unable to find node on an unmounted component.")}function St(t){var e=t.alternate;if(!e){if(e=nt(t),e===null)throw Error("Unable to find node on an unmounted component.");return e!==t?null:t}for(var a=t,o=e;;){var c=a.return;if(c===null)break;var f=c.alternate;if(f===null){if(o=c.return,o!==null){a=o;continue}break}if(c.child===f.child){for(f=c.child;f;){if(f===a)return Tt(c),t;if(f===o)return Tt(c),e;f=f.sibling}throw Error("Unable to find node on an unmounted component.")}if(a.return!==o.return)a=c,o=f;else{for(var y=!1,g=c.child;g;){if(g===a){y=!0,a=c,o=f;break}if(g===o){y=!0,o=c,a=f;break}g=g.sibling}if(!y){for(g=f.child;g;){if(g===a){y=!0,a=f,o=c;break}if(g===o){y=!0,o=f,a=c;break}g=g.sibling}if(!y)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!==o)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?t:e}function bt(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=bt(t),e!==null)return e;t=t.sibling}return null}function Dt(t){return t===null||typeof t!="object"?null:(t=Ub&&t[Ub]||t["@@iterator"],typeof t=="function"?t:null)}function I(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===lc?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case nc:return"Fragment";case ad:return"Profiler";case Oa:return"StrictMode";case Rs:return"Suspense";case Ya:return"SuspenseList";case oi:return"Activity"}if(typeof t=="object")switch(typeof t.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),t.$$typeof){case xu:return"Portal";case ii:return t.displayName||"Context";case wm:return(t._context.displayName||"Context")+".Consumer";case ac:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case ld:return e=t.displayName||null,e!==null?e:I(t.type)||"Memo";case sa:e=t._payload,t=t._init;try{return I(t(e))}catch{}}return null}function wt(t){return typeof t.tag=="number"?yt(t):typeof t.name=="string"?t.name:null}function yt(t){var e=t.type;switch(t.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(e._context.displayName||"Context")+".Consumer";case 10:return e.displayName||"Context";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return I(e);case 8:return e===Oa?"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 e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;break;case 29:if(e=t._debugInfo,e!=null){for(var a=e.length-1;0<=a;a--)if(typeof e[a].name=="string")return e[a].name}if(t.return!==null)return yt(t.return)}return null}function Qt(t){return{current:t}}function Bt(t,e){0>No?console.error("Unexpected pop."):(e!==Yg[No]&&console.error("Unexpected Fiber popped."),t.current=qg[No],qg[No]=null,Yg[No]=null,No--)}function Vt(t,e,a){No++,qg[No]=t.current,Yg[No]=a,t.current=e}function Lt(t){return t===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),t}function Gt(t,e){Vt(sl,e,t),Vt(ic,t,t),Vt(Du,null,t);var a=e.nodeType;switch(a){case 9:case 11:a=a===9?"#document":"#fragment",e=(e=e.documentElement)&&(e=e.namespaceURI)?ib(e):Ks;break;default:if(a=e.tagName,e=e.namespaceURI)e=ib(e),e=wo(e,a);else switch(a){case"svg":e=vp;break;case"math":e=R1;break;default:e=Ks}}a=a.toLowerCase(),a=Ip(null,a),a={context:e,ancestorInfo:a},Bt(Du,t),Vt(Du,a,t)}function j(t){Bt(Du,t),Bt(ic,t),Bt(sl,t)}function F(){return Lt(Du.current)}function k(t){t.memoizedState!==null&&Vt(Cu,t,t);var e=Lt(Du.current),a=t.type,o=wo(e.context,a);a=Ip(e.ancestorInfo,a),o={context:o,ancestorInfo:a},e!==o&&(Vt(ic,t,t),Vt(Du,o,t))}function gt(t){ic.current===t&&(Bt(Du,t),Bt(ic,t)),Cu.current===t&&(Bt(Cu,t),L0._currentValue=Ud)}function Mt(){}function Y(){if(oc===0){_b=console.log,ws=console.info,uc=console.warn,Gg=console.error,id=console.group,Um=console.groupCollapsed,_m=console.groupEnd;var t={configurable:!0,enumerable:!0,value:Mt,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}oc++}function pt(){if(oc--,oc===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:le({},t,{value:_b}),info:le({},t,{value:ws}),warn:le({},t,{value:uc}),error:le({},t,{value:Gg}),group:le({},t,{value:id}),groupCollapsed:le({},t,{value:Um}),groupEnd:le({},t,{value:_m})})}0>oc&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function st(t){var e=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,t=t.stack,Error.prepareStackTrace=e,t.startsWith(`Error: react-stack-top-frame
41
+ */var Vb;function vT(){return Vb||(Vb=1,process.env.NODE_ENV!=="production"&&(function(){function v(t,e){for(t=t.memoizedState;t!==null&&0<e;)t=t.next,e--;return t}function U(t,e,a,i){if(a>=e.length)return i;var o=e[a],f=gl(t)?t.slice():Qt({},t);return f[o]=U(t[o],e,a+1,i),f}function w(t,e,a){if(e.length!==a.length)console.warn("copyWithRename() expects paths of the same length");else{for(var i=0;i<a.length-1;i++)if(e[i]!==a[i]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return E(t,e,a,0)}}function E(t,e,a,i){var o=e[i],f=gl(t)?t.slice():Qt({},t);return i+1===e.length?(f[a[i]]=f[o],gl(f)?f.splice(o,1):delete f[o]):f[o]=E(t[o],e,a,i+1),f}function k(t,e,a){var i=e[a],o=gl(t)?t.slice():Qt({},t);return a+1===e.length?(gl(o)?o.splice(i,1):delete o[i],o):(o[i]=k(t[i],e,a+1),o)}function lt(){return!1}function ut(){return null}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 tt(){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 Ct(){}function St(){}function K(t){var e=[];return t.forEach(function(a){e.push(a)}),e.sort().join(", ")}function ct(t,e,a,i){return new g1(t,e,a,i)}function _t(t,e){t.context===Vf&&(Oh(t.current,2,e,t,null,null),Ja())}function ot(t,e){if(Nu!==null){var a=e.staleFamilies;e=e.updatedFamilies,ar(),Jp(t.current,e,a),Ja()}}function wt(t){Nu=t}function Tt(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function zt(t){var e=t,a=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(a=e.return),t=e.return;while(t)}return e.tag===3?a:null}function Wt(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function he(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function me(t){if(zt(t)!==t)throw Error("Unable to find node on an unmounted component.")}function cl(t){var e=t.alternate;if(!e){if(e=zt(t),e===null)throw Error("Unable to find node on an unmounted component.");return e!==t?null:t}for(var a=t,i=e;;){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 me(o),t;if(f===i)return me(o),e;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,h=o.child;h;){if(h===a){d=!0,a=o,i=f;break}if(h===i){d=!0,i=o,a=f;break}h=h.sibling}if(!d){for(h=f.child;h;){if(h===a){d=!0,a=f,i=o;break}if(h===i){d=!0,i=f,a=o;break}h=h.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?t:e}function oe(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=oe(t),e!==null)return e;t=t.sibling}return null}function Ge(t){return t===null||typeof t!="object"?null:(t=$g&&t[$g]||t["@@iterator"],typeof t=="function"?t:null)}function vt(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Uf?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Of:return"Fragment";case Sr:return"Profiler";case va:return"StrictMode";case no:return"Suspense";case Ua:return"SuspenseList";case Jn:return"Activity"}if(typeof t=="object")switch(typeof t.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),t.$$typeof){case ac:return"Portal";case Zn:return t.displayName||"Context";case _h:return(t._context.displayName||"Context")+".Consumer";case Cf:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Tr:return e=t.displayName||null,e!==null?e:vt(t.type)||"Memo";case Il:e=t._payload,t=t._init;try{return vt(t(e))}catch{}}return null}function xe(t){return typeof t.tag=="number"?at(t):typeof t.name=="string"?t.name:null}function at(t){var e=t.type;switch(t.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(e._context.displayName||"Context")+".Consumer";case 10:return e.displayName||"Context";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return vt(e);case 8:return e===va?"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 e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;break;case 29:if(e=t._debugInfo,e!=null){for(var a=e.length-1;0<=a;a--)if(typeof e[a].name=="string")return e[a].name}if(t.return!==null)return at(t.return)}return null}function ue(t){return{current:t}}function jt(t,e){0>hi?console.error("Unexpected pop."):(e!==A0[hi]&&console.error("Unexpected Fiber popped."),t.current=E0[hi],E0[hi]=null,A0[hi]=null,hi--)}function Ht(t,e,a){hi++,E0[hi]=t.current,A0[hi]=a,t.current=e}function qt(t){return t===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),t}function le(t,e){Ht($a,e,t),Ht(Rf,t,t),Ht(nc,null,t);var a=e.nodeType;switch(a){case 9:case 11:a=a===9?"#document":"#fragment",e=(e=e.documentElement)&&(e=e.namespaceURI)?Tg(e):Ao;break;default:if(a=e.tagName,e=e.namespaceURI)e=Tg(e),e=si(e,a);else switch(a){case"svg":e=bm;break;case"math":e=Jv;break;default:e=Ao}}a=a.toLowerCase(),a=Nm(null,a),a={context:e,ancestorInfo:a},jt(nc,t),Ht(nc,a,t)}function C(t){jt(nc,t),jt(Rf,t),jt($a,t)}function L(){return qt(nc.current)}function W(t){t.memoizedState!==null&&Ht(uc,t,t);var e=qt(nc.current),a=t.type,i=si(e.context,a);a=Nm(e.ancestorInfo,a),i={context:i,ancestorInfo:a},e!==i&&(Ht(Rf,t,t),Ht(nc,i,t))}function it(t){Rf.current===t&&(jt(nc,t),jt(Rf,t)),uc.current===t&&(jt(uc,t),Tp._currentValue=kr)}function Et(){}function st(){if(xf===0){kg=console.log,uo=console.info,_f=console.warn,z0=console.error,Er=console.group,Hh=console.groupCollapsed,Nh=console.groupEnd;var t={configurable:!0,enumerable:!0,value:Et,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}xf++}function mt(){if(xf--,xf===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Qt({},t,{value:kg}),info:Qt({},t,{value:uo}),warn:Qt({},t,{value:_f}),error:Qt({},t,{value:z0}),group:Qt({},t,{value:Er}),groupCollapsed:Qt({},t,{value:Hh}),groupEnd:Qt({},t,{value:Nh})})}0>xf&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function I(t){var e=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,t=t.stack,Error.prepareStackTrace=e,t.startsWith(`Error: react-stack-top-frame
63
42
  `)&&(t=t.slice(29)),e=t.indexOf(`
64
43
  `),e!==-1&&(t=t.slice(e+1)),e=t.indexOf("react_stack_bottom_frame"),e!==-1&&(e=t.lastIndexOf(`
65
- `,e)),e!==-1)t=t.slice(0,e);else return"";return t}function ft(t){if(sc===void 0)try{throw Error()}catch(a){var e=a.stack.trim().match(/\n( *(at )?)/);sc=e&&e[1]||"",Xg=-1<a.stack.indexOf(`
44
+ `,e)),e!==-1)t=t.slice(0,e);else return"";return t}function et(t){if(Hf===void 0)try{throw Error()}catch(a){var e=a.stack.trim().match(/\n( *(at )?)/);Hf=e&&e[1]||"",D0=-1<a.stack.indexOf(`
66
45
  at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
67
- `+sc+t+Xg}function Ht(t,e){if(!t||Nm)return"";var a=Qg.get(t);if(a!==void 0)return a;Nm=!0,a=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var o=null;o=P.H,P.H=null,Y();try{var c={DetermineComponentFrameRoot:function(){try{if(e){var U=function(){throw Error()};if(Object.defineProperty(U.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(U,[])}catch(vt){var K=vt}Reflect.construct(t,[],U)}else{try{U.call()}catch(vt){K=vt}t.call(U.prototype)}}else{try{throw Error()}catch(vt){K=vt}(U=t())&&typeof U.catch=="function"&&U.catch(function(){})}}catch(vt){if(vt&&K&&typeof vt.stack=="string")return[vt.stack,K.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var y=c.DetermineComponentFrameRoot(),g=y[0],E=y[1];if(g&&E){var D=g.split(`
68
- `),V=E.split(`
69
- `);for(y=f=0;f<D.length&&!D[f].includes("DetermineComponentFrameRoot");)f++;for(;y<V.length&&!V[y].includes("DetermineComponentFrameRoot");)y++;if(f===D.length||y===V.length)for(f=D.length-1,y=V.length-1;1<=f&&0<=y&&D[f]!==V[y];)y--;for(;1<=f&&0<=y;f--,y--)if(D[f]!==V[y]){if(f!==1||y!==1)do if(f--,y--,0>y||D[f]!==V[y]){var L=`
70
- `+D[f].replace(" at new "," at ");return t.displayName&&L.includes("<anonymous>")&&(L=L.replace("<anonymous>",t.displayName)),typeof t=="function"&&Qg.set(t,L),L}while(1<=f&&0<=y);break}}}finally{Nm=!1,P.H=o,pt(),Error.prepareStackTrace=a}return D=(D=t?t.displayName||t.name:"")?ft(D):"",typeof t=="function"&&Qg.set(t,D),D}function xe(t,e){switch(t.tag){case 26:case 27:case 5:return ft(t.type);case 16:return ft("Lazy");case 13:return t.child!==e&&e!==null?ft("Suspense Fallback"):ft("Suspense");case 19:return ft("SuspenseList");case 0:case 15:return Ht(t.type,!1);case 11:return Ht(t.type.render,!1);case 1:return Ht(t.type,!0);case 31:return ft("Activity");default:return""}}function xt(t){try{var e="",a=null;do{e+=xe(t,a);var o=t._debugInfo;if(o)for(var c=o.length-1;0<=c;c--){var f=o[c];if(typeof f.name=="string"){var y=e;t:{var g=f.name,E=f.env,D=f.debugLocation;if(D!=null){var V=st(D),L=V.lastIndexOf(`
71
- `),U=L===-1?V:V.slice(L+1);if(U.indexOf(g)!==-1){var K=`
72
- `+U;break t}}K=ft(g+(E?" ["+E+"]":""))}e=y+K}}a=t,t=t.return}while(t);return e}catch(vt){return`
73
- Error generating stack: `+vt.message+`
74
- `+vt.stack}}function be(t){return(t=t?t.displayName||t.name:"")?ft(t):""}function It(){if(Ga===null)return null;var t=Ga._debugOwner;return t!=null?wt(t):null}function Kt(){if(Ga===null)return"";var t=Ga;try{var e="";switch(t.tag===6&&(t=t.return),t.tag){case 26:case 27:case 5:e+=ft(t.type);break;case 13:e+=ft("Suspense");break;case 19:e+=ft("SuspenseList");break;case 31:e+=ft("Activity");break;case 30:case 0:case 15:case 1:t._debugOwner||e!==""||(e+=be(t.type));break;case 11:t._debugOwner||e!==""||(e+=be(t.type.render))}for(;t;)if(typeof t.tag=="number"){var a=t;t=a._debugOwner;var o=a._debugStack;if(t&&o){var c=st(o);c!==""&&(e+=`
75
- `+c)}}else if(t.debugStack!=null){var f=t.debugStack;(t=t.owner)&&f&&(e+=`
76
- `+st(f))}else break;var y=e}catch(g){y=`
77
- Error generating stack: `+g.message+`
78
- `+g.stack}return y}function mt(t,e,a,o,c,f,y){var g=Ga;se(t);try{return t!==null&&t._debugTask?t._debugTask.run(e.bind(null,a,o,c,f,y)):e(a,o,c,f,y)}finally{se(g)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function se(t){P.getCurrentStack=t===null?null:Kt,ki=!1,Ga=t}function nn(t){return typeof Symbol=="function"&&Symbol.toStringTag&&t[Symbol.toStringTag]||t.constructor.name||"Object"}function gi(t){try{return Lu(t),!1}catch{return!0}}function Lu(t){return""+t}function _e(t,e){if(gi(t))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",e,nn(t)),Lu(t)}function Gp(t,e){if(gi(t))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.",e,nn(t)),Lu(t)}function Fd(t){if(gi(t))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.",nn(t)),Lu(t)}function Xp(t){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var e=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(e.isDisabled)return!0;if(!e.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{_s=e.inject(t),wn=e}catch(a){console.error("React instrumentation encountered an error: %o.",a)}return!!e.checkDCE}function Ye(t){if(typeof Jg=="function"&&jb(t),wn&&typeof wn.setStrictMode=="function")try{wn.setStrictMode(_s,t)}catch(e){Ji||(Ji=!0,console.error("React instrumentation encountered an error: %o",e))}}function Qp(t){return t>>>=0,t===0?32:31-(Kg(t)/qm|0)|0}function qu(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&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."),t}}function Wd(t,e,a){var o=t.pendingLanes;if(o===0)return 0;var c=0,f=t.suspendedLanes,y=t.pingedLanes;t=t.warmLanes;var g=o&134217727;return g!==0?(o=g&~f,o!==0?c=qu(o):(y&=g,y!==0?c=qu(y):a||(a=g&~t,a!==0&&(c=qu(a))))):(g=o&~f,g!==0?c=qu(g):y!==0?c=qu(y):a||(a=o&~t,a!==0&&(c=qu(a)))),c===0?0:e!==0&&e!==c&&(e&f)===0&&(f=c&-c,a=e&-e,f>=a||f===32&&(a&4194048)!==0)?e:c}function In(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function yT(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function Id(){var t=cc;return cc<<=1,(cc&62914560)===0&&(cc=4194304),t}function Pd(t){for(var e=[],a=0;31>a;a++)e.push(t);return e}function Zo(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function gT(t,e,a,o,c,f){var y=t.pendingLanes;t.pendingLanes=a,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=a,t.entangledLanes&=a,t.errorRecoveryDisabledLanes&=a,t.shellSuspendCounter=0;var g=t.entanglements,E=t.expirationTimes,D=t.hiddenUpdates;for(a=y&~a;0<a;){var V=31-ea(a),L=1<<V;g[V]=0,E[V]=-1;var U=D[V];if(U!==null)for(D[V]=null,V=0;V<U.length;V++){var K=U[V];K!==null&&(K.lane&=-536870913)}a&=~L}o!==0&&Zp(t,o,0),f!==0&&c===0&&t.tag!==0&&(t.suspendedLanes|=f&~(y&~e))}function Zp(t,e,a){t.pendingLanes|=e,t.suspendedLanes&=~e;var o=31-ea(e);t.entangledLanes|=e,t.entanglements[o]=t.entanglements[o]|1073741824|a&261930}function dv(t,e){var a=t.entangledLanes|=e;for(t=t.entanglements;a;){var o=31-ea(a),c=1<<o;c&e|t[o]&e&&(t[o]|=e),a&=~c}}function hv(t,e){var a=e&-e;return a=(a&42)!==0?1:Yu(a),(a&(t.suspendedLanes|e))!==0?0:a}function Yu(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Na(t,e,a){if(Ki)for(t=t.pendingUpdatersLaneMap;0<a;){var o=31-ea(a),c=1<<o;t[o].add(e),a&=~c}}function co(t,e){if(Ki)for(var a=t.pendingUpdatersLaneMap,o=t.memoizedUpdaters;0<e;){var c=31-ea(e);t=1<<c,c=a[c],0<c.size&&(c.forEach(function(f){var y=f.alternate;y!==null&&o.has(y)||o.add(f)}),c.clear()),e&=~t}}function ma(t){return t&=-t,Un<t?na<t?(t&134217727)!==0?ra:Mu:na:Un}function mv(){var t=Me.p;return t!==0?t:(t=window.event,t===void 0?ra:zm(t.type))}function pv(t,e){var a=Me.p;try{return Me.p=t,e()}finally{Me.p=a}}function kp(t){delete t[Ie],delete t[Ra],delete t[Ns],delete t[UT],delete t[Bb]}function fo(t){var e=t[Ie];if(e)return e;for(var a=t.parentNode;a;){if(e=a[jo]||a[Ie]){if(a=e.alternate,e.child!==null||a!==null&&a.child!==null)for(t=Cs(t);t!==null;){if(a=t[Ie])return a;t=Cs(t)}return e}t=a,a=t.parentNode}return null}function Bl(t){if(t=t[Ie]||t[jo]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function ko(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function vl(t){var e=t[sd];return e||(e=t[sd]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function yn(t){t[fc]=!0}function Vl(t,e){ir(t,e),ir(t+"Capture",e)}function ir(t,e){$i[t]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",t),$i[t]=e;var a=t.toLowerCase();for(dc[a]=t,t==="onDoubleClick"&&(dc.ondblclick=t),t=0;t<e.length;t++)Vb.add(e[t])}function Gu(t,e){Hb[e.type]||e.onChange||e.onInput||e.readOnly||e.disabled||e.value==null||console.error(t==="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`."),e.onChange||e.readOnly||e.disabled||e.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 kc(t){return rl.call(Ym,t)?!0:rl.call($g,t)?!1:hc.test(t)?Ym[t]=!0:($g[t]=!0,console.error("Invalid attribute name: `%s`",t),!1)}function or(t,e,a){if(kc(e)){if(!t.hasAttribute(e)){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 t=t.getAttribute(e),t===""&&a===!0?!0:(_e(a,e),t===""+a?a:t)}}function th(t,e,a){if(kc(e))if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var o=e.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){t.removeAttribute(e);return}}_e(a,e),t.setAttribute(e,""+a)}}function Jc(t,e,a){if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}_e(a,e),t.setAttribute(e,""+a)}}function vi(t,e,a,o){if(o===null)t.removeAttribute(a);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(a);return}_e(o,a),t.setAttributeNS(e,a,""+o)}}function ka(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return Fd(t),t;default:return""}}function eh(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Jp(t,e,a){var o=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var c=o.get,f=o.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return c.call(this)},set:function(y){Fd(y),a=""+y,f.call(this,y)}}),Object.defineProperty(t,e,{enumerable:o.enumerable}),{getValue:function(){return a},setValue:function(y){Fd(y),a=""+y},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function nh(t){if(!t._valueTracker){var e=eh(t)?"checked":"value";t._valueTracker=Jp(t,e,""+t[e])}}function Kp(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var a=e.getValue(),o="";return t&&(o=eh(t)?t.checked?"true":"false":t.value),t=o,t!==a?(e.setValue(t),!0):!1}function Hl(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function Ne(t){return t.replace(Gm,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function pa(t,e){e.checked===void 0||e.defaultChecked===void 0||Lb||(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",It()||"A component",e.type),Lb=!0),e.value===void 0||e.defaultValue===void 0||Fg||(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",It()||"A component",e.type),Fg=!0)}function Jo(t,e,a,o,c,f,y,g){t.name="",y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?(_e(y,"type"),t.type=y):t.removeAttribute("type"),e!=null?y==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+ka(e)):t.value!==""+ka(e)&&(t.value=""+ka(e)):y!=="submit"&&y!=="reset"||t.removeAttribute("value"),e!=null?$p(t,y,ka(e)):a!=null?$p(t,y,ka(a)):o!=null&&t.removeAttribute("value"),c==null&&f!=null&&(t.defaultChecked=!!f),c!=null&&(t.checked=c&&typeof c!="function"&&typeof c!="symbol"),g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?(_e(g,"name"),t.name=""+ka(g)):t.removeAttribute("name")}function ah(t,e,a,o,c,f,y,g){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(_e(f,"type"),t.type=f),e!=null||a!=null){if(!(f!=="submit"&&f!=="reset"||e!=null)){nh(t);return}a=a!=null?""+ka(a):"",e=e!=null?""+ka(e):a,g||e===t.value||(t.value=e),t.defaultValue=e}o=o??c,o=typeof o!="function"&&typeof o!="symbol"&&!!o,t.checked=g?t.checked:!!o,t.defaultChecked=!!o,y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"&&(_e(y,"name"),t.name=y),nh(t)}function $p(t,e,a){e==="number"&&Hl(t.ownerDocument)===t||t.defaultValue===""+a||(t.defaultValue=""+a)}function yv(t,e){e.value==null&&(typeof e.children=="object"&&e.children!==null?nd.Children.forEach(e.children,function(a){a==null||typeof a=="string"||typeof a=="number"||typeof a=="bigint"||n||(n=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):e.dangerouslySetInnerHTML==null||l||(l=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),e.selected==null||rd||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),rd=!0)}function Fp(){var t=It();return t?`
79
-
80
- Check the render method of \``+t+"`.":""}function bi(t,e,a,o){if(t=t.options,e){e={};for(var c=0;c<a.length;c++)e["$"+a[c]]=!0;for(a=0;a<t.length;a++)c=e.hasOwnProperty("$"+t[a].value),t[a].selected!==c&&(t[a].selected=c),c&&o&&(t[a].defaultSelected=!0)}else{for(a=""+ka(a),e=null,c=0;c<t.length;c++){if(t[c].value===a){t[c].selected=!0,o&&(t[c].defaultSelected=!0);return}e!==null||t[c].disabled||(e=t[c])}e!==null&&(e.selected=!0)}}function lh(t,e){for(t=0;t<s.length;t++){var a=s[t];if(e[a]!=null){var o=Dn(e[a]);e.multiple&&!o?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",a,Fp()):!e.multiple&&o&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",a,Fp())}}e.value===void 0||e.defaultValue===void 0||i||(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"),i=!0)}function Xu(t,e){e.value===void 0||e.defaultValue===void 0||h||(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",It()||"A component"),h=!0),e.children!=null&&e.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function Qu(t,e,a){if(e!=null&&(e=""+ka(e),e!==t.value&&(t.value=e),a==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=a!=null?""+ka(a):""}function ur(t,e,a,o){if(e==null){if(o!=null){if(a!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Dn(o)){if(1<o.length)throw Error("<textarea> can only have at most one child.");o=o[0]}a=o}a==null&&(a=""),e=a}a=ka(e),t.defaultValue=a,o=t.textContent,o===a&&o!==""&&o!==null&&(t.value=o),nh(t)}function Zu(t,e){return t.serverProps===void 0&&t.serverTail.length===0&&t.children.length===1&&3<t.distanceFromLeaf&&t.distanceFromLeaf>15-e?Zu(t.children[0],e):t}function ze(t){return" "+" ".repeat(t)}function ku(t){return"+ "+" ".repeat(t)}function Ko(t){return"- "+" ".repeat(t)}function $o(t){switch(t.tag){case 26:case 27:case 5:return t.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return t=t.type,t.displayName||t.name||null;case 11:return t=t.type.render,t.displayName||t.name||null;case 1:return t=t.type,t.displayName||t.name||null;default:return null}}function Si(t,e){return p.test(t)?(t=JSON.stringify(t),t.length>e-2?8>e?'{"..."}':"{"+t.slice(0,e-7)+'..."}':"{"+t+"}"):t.length>e?5>e?'{"..."}':t.slice(0,e-3)+"...":t}function ih(t,e,a){var o=120-2*a;if(e===null)return ku(a)+Si(t,o)+`
81
- `;if(typeof e=="string"){for(var c=0;c<e.length&&c<t.length&&e.charCodeAt(c)===t.charCodeAt(c);c++);return c>o-8&&10<c&&(t="..."+t.slice(c-8),e="..."+e.slice(c-8)),ku(a)+Si(t,o)+`
82
- `+Ko(a)+Si(e,o)+`
83
- `}return ze(a)+Si(t,o)+`
84
- `}function oh(t){return Object.prototype.toString.call(t).replace(/^\[object (.*)\]$/,function(e,a){return a})}function sr(t,e){switch(typeof t){case"string":return t=JSON.stringify(t),t.length>e?5>e?'"..."':t.slice(0,e-4)+'..."':t;case"object":if(t===null)return"null";if(Dn(t))return"[...]";if(t.$$typeof===Rl)return(e=I(t.type))?"<"+e+">":"<...>";var a=oh(t);if(a==="Object"){a="",e-=2;for(var o in t)if(t.hasOwnProperty(o)){var c=JSON.stringify(o);if(c!=='"'+o+'"'&&(o=c),e-=o.length-2,c=sr(t[o],15>e?e:15),e-=c.length,0>e){a+=a===""?"...":", ...";break}a+=(a===""?"":",")+o+":"+c}return"{"+a+"}"}return a;case"function":return(e=t.displayName||t.name)?"function "+e:"function";default:return String(t)}}function rr(t,e){return typeof t!="string"||p.test(t)?"{"+sr(t,e-2)+"}":t.length>e-2?5>e?'"..."':'"'+t.slice(0,e-5)+'..."':'"'+t+'"'}function cr(t,e,a){var o=120-a.length-t.length,c=[],f;for(f in e)if(e.hasOwnProperty(f)&&f!=="children"){var y=rr(e[f],120-a.length-f.length-1);o-=f.length+y.length+2,c.push(f+"="+y)}return c.length===0?a+"<"+t+`>
85
- `:0<o?a+"<"+t+" "+c.join(" ")+`>
46
+ `+Hf+t+D0}function Yt(t,e){if(!t||Bh)return"";var a=M0.get(t);if(a!==void 0)return a;Bh=!0,a=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var i=null;i=Y.H,Y.H=null,st();try{var o={DetermineComponentFrameRoot:function(){try{if(e){var S=function(){throw Error()};if(Object.defineProperty(S.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(S,[])}catch(F){var N=F}Reflect.construct(t,[],S)}else{try{S.call()}catch(F){N=F}t.call(S.prototype)}}else{try{throw Error()}catch(F){N=F}(S=t())&&typeof S.catch=="function"&&S.catch(function(){})}}catch(F){if(F&&N&&typeof F.stack=="string")return[F.stack,N.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(),h=d[0],y=d[1];if(h&&y){var p=h.split(`
47
+ `),D=y.split(`
48
+ `);for(d=f=0;f<p.length&&!p[f].includes("DetermineComponentFrameRoot");)f++;for(;d<D.length&&!D[d].includes("DetermineComponentFrameRoot");)d++;if(f===p.length||d===D.length)for(f=p.length-1,d=D.length-1;1<=f&&0<=d&&p[f]!==D[d];)d--;for(;1<=f&&0<=d;f--,d--)if(p[f]!==D[d]){if(f!==1||d!==1)do if(f--,d--,0>d||p[f]!==D[d]){var O=`
49
+ `+p[f].replace(" at new "," at ");return t.displayName&&O.includes("<anonymous>")&&(O=O.replace("<anonymous>",t.displayName)),typeof t=="function"&&M0.set(t,O),O}while(1<=f&&0<=d);break}}}finally{Bh=!1,Y.H=i,mt(),Error.prepareStackTrace=a}return p=(p=t?t.displayName||t.name:"")?et(p):"",typeof t=="function"&&M0.set(t,p),p}function Xe(t,e){switch(t.tag){case 26:case 27:case 5:return et(t.type);case 16:return et("Lazy");case 13:return t.child!==e&&e!==null?et("Suspense Fallback"):et("Suspense");case 19:return et("SuspenseList");case 0:case 15:return Yt(t.type,!1);case 11:return Yt(t.type.render,!1);case 1:return Yt(t.type,!0);case 31:return et("Activity");default:return""}}function ve(t){try{var e="",a=null;do{e+=Xe(t,a);var i=t._debugInfo;if(i)for(var o=i.length-1;0<=o;o--){var f=i[o];if(typeof f.name=="string"){var d=e;t:{var h=f.name,y=f.env,p=f.debugLocation;if(p!=null){var D=I(p),O=D.lastIndexOf(`
50
+ `),S=O===-1?D:D.slice(O+1);if(S.indexOf(h)!==-1){var N=`
51
+ `+S;break t}}N=et(h+(y?" ["+y+"]":""))}e=d+N}}a=t,t=t.return}while(t);return e}catch(F){return`
52
+ Error generating stack: `+F.message+`
53
+ `+F.stack}}function We(t){return(t=t?t.displayName||t.name:"")?et(t):""}function te(){if(Ra===null)return null;var t=Ra._debugOwner;return t!=null?xe(t):null}function Kt(){if(Ra===null)return"";var t=Ra;try{var e="";switch(t.tag===6&&(t=t.return),t.tag){case 26:case 27:case 5:e+=et(t.type);break;case 13:e+=et("Suspense");break;case 19:e+=et("SuspenseList");break;case 31:e+=et("Activity");break;case 30:case 0:case 15:case 1:t._debugOwner||e!==""||(e+=We(t.type));break;case 11:t._debugOwner||e!==""||(e+=We(t.type.render))}for(;t;)if(typeof t.tag=="number"){var a=t;t=a._debugOwner;var i=a._debugStack;if(t&&i){var o=I(i);o!==""&&(e+=`
54
+ `+o)}}else if(t.debugStack!=null){var f=t.debugStack;(t=t.owner)&&f&&(e+=`
55
+ `+I(f))}else break;var d=e}catch(h){d=`
56
+ Error generating stack: `+h.message+`
57
+ `+h.stack}return d}function $(t,e,a,i,o,f,d){var h=Ra;ie(t);try{return t!==null&&t._debugTask?t._debugTask.run(e.bind(null,a,i,o,f,d)):e(a,i,o,f,d)}finally{ie(h)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function ie(t){Y.getCurrentStack=t===null?null:Kt,Cu=!1,Ra=t}function Fe(t){return typeof Symbol=="function"&&Symbol.toStringTag&&t[Symbol.toStringTag]||t.constructor.name||"Object"}function Pn(t){try{return hc(t),!1}catch{return!0}}function hc(t){return""+t}function ze(t,e){if(Pn(t))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",e,Fe(t)),hc(t)}function zm(t,e){if(Pn(t))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.",e,Fe(t)),hc(t)}function Fr(t){if(Pn(t))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.",Fe(t)),hc(t)}function Dm(t){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var e=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(e.isDisabled)return!0;if(!e.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{co=e.inject(t),El=e}catch(a){console.error("React instrumentation encountered an error: %o.",a)}return!!e.checkDCE}function _e(t){if(typeof U0=="function"&&Fg(t),El&&typeof El.setStrictMode=="function")try{El.setStrictMode(co,t)}catch(e){Uu||(Uu=!0,console.error("React instrumentation encountered an error: %o",e))}}function Mm(t){return t>>>=0,t===0?32:31-(R0(t)/Xh|0)|0}function mc(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&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."),t}}function Ir(t,e,a){var i=t.pendingLanes;if(i===0)return 0;var o=0,f=t.suspendedLanes,d=t.pingedLanes;t=t.warmLanes;var h=i&134217727;return h!==0?(i=h&~f,i!==0?o=mc(i):(d&=h,d!==0?o=mc(d):a||(a=h&~t,a!==0&&(o=mc(a))))):(h=i&~f,h!==0?o=mc(h):d!==0?o=mc(d):a||(a=i&~t,a!==0&&(o=mc(a)))),o===0?0:e!==0&&e!==o&&(e&f)===0&&(f=o&-o,a=e&-e,f>=a||f===32&&(a&4194048)!==0)?e:o}function Vl(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function f1(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function Pr(){var t=Bf;return Bf<<=1,(Bf&62914560)===0&&(Bf=4194304),t}function td(t){for(var e=[],a=0;31>a;a++)e.push(t);return e}function zi(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function s1(t,e,a,i,o,f){var d=t.pendingLanes;t.pendingLanes=a,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=a,t.entangledLanes&=a,t.errorRecoveryDisabledLanes&=a,t.shellSuspendCounter=0;var h=t.entanglements,y=t.expirationTimes,p=t.hiddenUpdates;for(a=d&~a;0<a;){var D=31-Zl(a),O=1<<D;h[D]=0,y[D]=-1;var S=p[D];if(S!==null)for(p[D]=null,D=0;D<S.length;D++){var N=S[D];N!==null&&(N.lane&=-536870913)}a&=~O}i!==0&&Om(t,i,0),f!==0&&o===0&&t.tag!==0&&(t.suspendedLanes|=f&~(d&~e))}function Om(t,e,a){t.pendingLanes|=e,t.suspendedLanes&=~e;var i=31-Zl(e);t.entangledLanes|=e,t.entanglements[i]=t.entanglements[i]|1073741824|a&261930}function Cp(t,e){var a=t.entangledLanes|=e;for(t=t.entanglements;a;){var i=31-Zl(a),o=1<<i;o&e|t[i]&e&&(t[i]|=e),a&=~o}}function Up(t,e){var a=e&-e;return a=(a&42)!==0?1:yc(a),(a&(t.suspendedLanes|e))!==0?0:a}function yc(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Ea(t,e,a){if(Ru)for(t=t.pendingUpdatersLaneMap;0<a;){var i=31-Zl(a),o=1<<i;t[i].add(e),a&=~o}}function Lu(t,e){if(Ru)for(var a=t.pendingUpdatersLaneMap,i=t.memoizedUpdaters;0<e;){var o=31-Zl(e);t=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()),e&=~t}}function aa(t){return t&=-t,Al<t?Jl<t?(t&134217727)!==0?Pl:ic:Jl:Al}function Rp(){var t=ge.p;return t!==0?t:(t=window.event,t===void 0?Pl:Uh(t.type))}function xp(t,e){var a=ge.p;try{return ge.p=t,e()}finally{ge.p=a}}function Cm(t){delete t[Ze],delete t[ba],delete t[oo],delete t[D1],delete t[Ig]}function Zu(t){var e=t[Ze];if(e)return e;for(var a=t.parentNode;a;){if(e=a[mi]||a[Ze]){if(a=e.alternate,e.child!==null||a!==null&&a.child!==null)for(t=to(t);t!==null;){if(a=t[Ze])return a;t=to(t)}return e}t=a,a=t.parentNode}return null}function En(t){if(t=t[Ze]||t[mi]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function Di(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function an(t){var e=t[Dr];return e||(e=t[Dr]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function ol(t){t[wf]=!0}function An(t,e){Uo(t,e),Uo(t+"Capture",e)}function Uo(t,e){xu[t]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",t),xu[t]=e;var a=t.toLowerCase();for(qf[a]=t,t==="onDoubleClick"&&(qf.ondblclick=t),t=0;t<e.length;t++)Pg.add(e[t])}function pc(t,e){tv[e.type]||e.onChange||e.onInput||e.readOnly||e.disabled||e.value==null||console.error(t==="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`."),e.onChange||e.readOnly||e.disabled||e.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 ss(t){return ka.call(Vh,t)?!0:ka.call(x0,t)?!1:Yf.test(t)?Vh[t]=!0:(x0[t]=!0,console.error("Invalid attribute name: `%s`",t),!1)}function Ro(t,e,a){if(ss(e)){if(!t.hasAttribute(e)){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 t=t.getAttribute(e),t===""&&a===!0?!0:(ze(a,e),t===""+a?a:t)}}function ed(t,e,a){if(ss(e))if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var i=e.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){t.removeAttribute(e);return}}ze(a,e),t.setAttribute(e,""+a)}}function rs(t,e,a){if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}ze(a,e),t.setAttribute(e,""+a)}}function tu(t,e,a,i){if(i===null)t.removeAttribute(a);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(a);return}ze(i,a),t.setAttributeNS(e,a,""+i)}}function _a(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return Fr(t),t;default:return""}}function ld(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Um(t,e,a){var i=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var o=i.get,f=i.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return o.call(this)},set:function(d){Fr(d),a=""+d,f.call(this,d)}}),Object.defineProperty(t,e,{enumerable:i.enumerable}),{getValue:function(){return a},setValue:function(d){Fr(d),a=""+d},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function ad(t){if(!t._valueTracker){var e=ld(t)?"checked":"value";t._valueTracker=Um(t,e,""+t[e])}}function Rm(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var a=e.getValue(),i="";return t&&(i=ld(t)?t.checked?"true":"false":t.value),t=i,t!==a?(e.setValue(t),!0):!1}function zn(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function De(t){return t.replace(Qh,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function na(t,e){e.checked===void 0||e.defaultChecked===void 0||ev||(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",te()||"A component",e.type),ev=!0),e.value===void 0||e.defaultValue===void 0||_0||(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",te()||"A component",e.type),_0=!0)}function Mi(t,e,a,i,o,f,d,h){t.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?(ze(d,"type"),t.type=d):t.removeAttribute("type"),e!=null?d==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+_a(e)):t.value!==""+_a(e)&&(t.value=""+_a(e)):d!=="submit"&&d!=="reset"||t.removeAttribute("value"),e!=null?xm(t,d,_a(e)):a!=null?xm(t,d,_a(a)):i!=null&&t.removeAttribute("value"),o==null&&f!=null&&(t.defaultChecked=!!f),o!=null&&(t.checked=o&&typeof o!="function"&&typeof o!="symbol"),h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?(ze(h,"name"),t.name=""+_a(h)):t.removeAttribute("name")}function nd(t,e,a,i,o,f,d,h){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(ze(f,"type"),t.type=f),e!=null||a!=null){if(!(f!=="submit"&&f!=="reset"||e!=null)){ad(t);return}a=a!=null?""+_a(a):"",e=e!=null?""+_a(e):a,h||e===t.value||(t.value=e),t.defaultValue=e}i=i??o,i=typeof i!="function"&&typeof i!="symbol"&&!!i,t.checked=h?t.checked:!!i,t.defaultChecked=!!i,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(ze(d,"name"),t.name=d),ad(t)}function xm(t,e,a){e==="number"&&zn(t.ownerDocument)===t||t.defaultValue===""+a||(t.defaultValue=""+a)}function _p(t,e){e.value==null&&(typeof e.children=="object"&&e.children!==null?br.Children.forEach(e.children,function(a){a==null||typeof a=="string"||typeof a=="number"||typeof a=="bigint"||l||(l=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):e.dangerouslySetInnerHTML==null||n||(n=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),e.selected==null||Mr||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Mr=!0)}function _m(){var t=te();return t?`
58
+
59
+ Check the render method of \``+t+"`.":""}function eu(t,e,a,i){if(t=t.options,e){e={};for(var o=0;o<a.length;o++)e["$"+a[o]]=!0;for(a=0;a<t.length;a++)o=e.hasOwnProperty("$"+t[a].value),t[a].selected!==o&&(t[a].selected=o),o&&i&&(t[a].defaultSelected=!0)}else{for(a=""+_a(a),e=null,o=0;o<t.length;o++){if(t[o].value===a){t[o].selected=!0,i&&(t[o].defaultSelected=!0);return}e!==null||t[o].disabled||(e=t[o])}e!==null&&(e.selected=!0)}}function ud(t,e){for(t=0;t<c.length;t++){var a=c[t];if(e[a]!=null){var i=gl(e[a]);e.multiple&&!i?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",a,_m()):!e.multiple&&i&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",a,_m())}}e.value===void 0||e.defaultValue===void 0||u||(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"),u=!0)}function gc(t,e){e.value===void 0||e.defaultValue===void 0||s||(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",te()||"A component"),s=!0),e.children!=null&&e.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function vc(t,e,a){if(e!=null&&(e=""+_a(e),e!==t.value&&(t.value=e),a==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=a!=null?""+_a(a):""}function xo(t,e,a,i){if(e==null){if(i!=null){if(a!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(gl(i)){if(1<i.length)throw Error("<textarea> can only have at most one child.");i=i[0]}a=i}a==null&&(a=""),e=a}a=_a(e),t.defaultValue=a,i=t.textContent,i===a&&i!==""&&i!==null&&(t.value=i),ad(t)}function bc(t,e){return t.serverProps===void 0&&t.serverTail.length===0&&t.children.length===1&&3<t.distanceFromLeaf&&t.distanceFromLeaf>15-e?bc(t.children[0],e):t}function be(t){return" "+" ".repeat(t)}function Sc(t){return"+ "+" ".repeat(t)}function Oi(t){return"- "+" ".repeat(t)}function Ci(t){switch(t.tag){case 26:case 27:case 5:return t.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return t=t.type,t.displayName||t.name||null;case 11:return t=t.type.render,t.displayName||t.name||null;case 1:return t=t.type,t.displayName||t.name||null;default:return null}}function lu(t,e){return r.test(t)?(t=JSON.stringify(t),t.length>e-2?8>e?'{"..."}':"{"+t.slice(0,e-7)+'..."}':"{"+t+"}"):t.length>e?5>e?'{"..."}':t.slice(0,e-3)+"...":t}function id(t,e,a){var i=120-2*a;if(e===null)return Sc(a)+lu(t,i)+`
60
+ `;if(typeof e=="string"){for(var o=0;o<e.length&&o<t.length&&e.charCodeAt(o)===t.charCodeAt(o);o++);return o>i-8&&10<o&&(t="..."+t.slice(o-8),e="..."+e.slice(o-8)),Sc(a)+lu(t,i)+`
61
+ `+Oi(a)+lu(e,i)+`
62
+ `}return be(a)+lu(t,i)+`
63
+ `}function cd(t){return Object.prototype.toString.call(t).replace(/^\[object (.*)\]$/,function(e,a){return a})}function _o(t,e){switch(typeof t){case"string":return t=JSON.stringify(t),t.length>e?5>e?'"..."':t.slice(0,e-4)+'..."':t;case"object":if(t===null)return"null";if(gl(t))return"[...]";if(t.$$typeof===pn)return(e=vt(t.type))?"<"+e+">":"<...>";var a=cd(t);if(a==="Object"){a="",e-=2;for(var i in t)if(t.hasOwnProperty(i)){var o=JSON.stringify(i);if(o!=='"'+i+'"'&&(i=o),e-=i.length-2,o=_o(t[i],15>e?e:15),e-=o.length,0>e){a+=a===""?"...":", ...";break}a+=(a===""?"":",")+i+":"+o}return"{"+a+"}"}return a;case"function":return(e=t.displayName||t.name)?"function "+e:"function";default:return String(t)}}function Ho(t,e){return typeof t!="string"||r.test(t)?"{"+_o(t,e-2)+"}":t.length>e-2?5>e?'"..."':'"'+t.slice(0,e-5)+'..."':'"'+t+'"'}function No(t,e,a){var i=120-a.length-t.length,o=[],f;for(f in e)if(e.hasOwnProperty(f)&&f!=="children"){var d=Ho(e[f],120-a.length-f.length-1);i-=f.length+d.length+2,o.push(f+"="+d)}return o.length===0?a+"<"+t+`>
64
+ `:0<i?a+"<"+t+" "+o.join(" ")+`>
86
65
  `:a+"<"+t+`
87
- `+a+" "+c.join(`
66
+ `+a+" "+o.join(`
88
67
  `+a+" ")+`
89
68
  `+a+`>
90
- `}function uh(t,e,a){var o="",c=le({},e),f;for(f in t)if(t.hasOwnProperty(f)){delete c[f];var y=120-2*a-f.length-2,g=sr(t[f],y);e.hasOwnProperty(f)?(y=sr(e[f],y),o+=ku(a)+f+": "+g+`
91
- `,o+=Ko(a)+f+": "+y+`
92
- `):o+=ku(a)+f+": "+g+`
93
- `}for(var E in c)c.hasOwnProperty(E)&&(t=sr(c[E],120-2*a-E.length-2),o+=Ko(a)+E+": "+t+`
94
- `);return o}function ho(t,e,a,o){var c="",f=new Map;for(D in a)a.hasOwnProperty(D)&&f.set(D.toLowerCase(),D);if(f.size===1&&f.has("children"))c+=cr(t,e,ze(o));else{for(var y in e)if(e.hasOwnProperty(y)&&y!=="children"){var g=120-2*(o+1)-y.length-1,E=f.get(y.toLowerCase());if(E!==void 0){f.delete(y.toLowerCase());var D=e[y];E=a[E];var V=rr(D,g);g=rr(E,g),typeof D=="object"&&D!==null&&typeof E=="object"&&E!==null&&oh(D)==="Object"&&oh(E)==="Object"&&(2<Object.keys(D).length||2<Object.keys(E).length||-1<V.indexOf("...")||-1<g.indexOf("..."))?c+=ze(o+1)+y+`={{
95
- `+uh(D,E,o+2)+ze(o+1)+`}}
96
- `:(c+=ku(o+1)+y+"="+V+`
97
- `,c+=Ko(o+1)+y+"="+g+`
98
- `)}else c+=ze(o+1)+y+"="+rr(e[y],g)+`
99
- `}f.forEach(function(L){if(L!=="children"){var U=120-2*(o+1)-L.length-1;c+=Ko(o+1)+L+"="+rr(a[L],U)+`
100
- `}}),c=c===""?ze(o)+"<"+t+`>
101
- `:ze(o)+"<"+t+`
102
- `+c+ze(o)+`>
103
- `}return t=a.children,e=e.children,typeof t=="string"||typeof t=="number"||typeof t=="bigint"?(f="",(typeof e=="string"||typeof e=="number"||typeof e=="bigint")&&(f=""+e),c+=ih(f,""+t,o+1)):(typeof e=="string"||typeof e=="number"||typeof e=="bigint")&&(c=t==null?c+ih(""+e,null,o+1):c+ih(""+e,void 0,o+1)),c}function Ja(t,e){var a=$o(t);if(a===null){for(a="",t=t.child;t;)a+=Ja(t,e),t=t.sibling;return a}return ze(e)+"<"+a+`>
104
- `}function sh(t,e){var a=Zu(t,e);if(a!==t&&(t.children.length!==1||t.children[0]!==a))return ze(e)+`...
105
- `+sh(a,e+1);a="";var o=t.fiber._debugInfo;if(o)for(var c=0;c<o.length;c++){var f=o[c].name;typeof f=="string"&&(a+=ze(e)+"<"+f+`>
106
- `,e++)}if(o="",c=t.fiber.pendingProps,t.fiber.tag===6)o=ih(c,t.serverProps,e),e++;else if(f=$o(t.fiber),f!==null)if(t.serverProps===void 0){o=e;var y=120-2*o-f.length-2,g="";for(D in c)if(c.hasOwnProperty(D)&&D!=="children"){var E=rr(c[D],15);if(y-=D.length+E.length+2,0>y){g+=" ...";break}g+=" "+D+"="+E}o=ze(o)+"<"+f+g+`>
107
- `,e++}else t.serverProps===null?(o=cr(f,c,ku(e)),e++):typeof t.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(o=ho(f,c,t.serverProps,e),e++);var D="";for(c=t.fiber.child,f=0;c&&f<t.children.length;)y=t.children[f],y.fiber===c?(D+=sh(y,e),f++):D+=Ja(c,e),c=c.sibling;for(c&&0<t.children.length&&(D+=ze(e)+`...
108
- `),c=t.serverTail,t.serverProps===null&&e--,t=0;t<c.length;t++)f=c[t],D=typeof f=="string"?D+(Ko(e)+Si(f,120-2*e)+`
109
- `):D+cr(f.type,f.props,Ko(e));return a+o+D}function Wp(t){try{return`
110
-
111
- `+sh(t,0)}catch{return""}}function rh(t,e,a){for(var o=e,c=null,f=0;o;)o===t&&(f=0),c={fiber:o,children:c!==null?[c]:[],serverProps:o===e?a:o===t?null:void 0,serverTail:[],distanceFromLeaf:f},f++,o=o.return;return c!==null?Wp(c).replaceAll(/^[+-]/gm,">"):""}function Ip(t,e){var a=le({},t||et),o={tag:e};return C.indexOf(e)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),N.indexOf(e)!==-1&&(a.pTagInButtonScope=null),S.indexOf(e)!==-1&&e!=="address"&&e!=="div"&&e!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=o,e==="form"&&(a.formTag=o),e==="a"&&(a.aTagInScope=o),e==="button"&&(a.buttonTagInScope=o),e==="nobr"&&(a.nobrTagInScope=o),e==="p"&&(a.pTagInButtonScope=o),e==="li"&&(a.listItemTagAutoclosing=o),(e==="dd"||e==="dt")&&(a.dlItemTagAutoclosing=o),e==="#document"||e==="html"?a.containerTagInScope=null:a.containerTagInScope||(a.containerTagInScope=o),t!==null||e!=="#document"&&e!=="html"&&e!=="body"?a.implicitRootScope===!0&&(a.implicitRootScope=!1):a.implicitRootScope=!0,a}function Kc(t,e,a){switch(e){case"select":return t==="hr"||t==="option"||t==="optgroup"||t==="script"||t==="template"||t==="#text";case"optgroup":return t==="option"||t==="#text";case"option":return t==="#text";case"tr":return t==="th"||t==="td"||t==="style"||t==="script"||t==="template";case"tbody":case"thead":case"tfoot":return t==="tr"||t==="style"||t==="script"||t==="template";case"colgroup":return t==="col"||t==="template";case"table":return t==="caption"||t==="colgroup"||t==="tbody"||t==="tfoot"||t==="thead"||t==="style"||t==="script"||t==="template";case"head":return t==="base"||t==="basefont"||t==="bgsound"||t==="link"||t==="meta"||t==="title"||t==="noscript"||t==="noframes"||t==="style"||t==="script"||t==="template";case"html":if(a)break;return t==="head"||t==="body"||t==="frameset";case"frameset":return t==="frame";case"#document":if(!a)return t==="html"}switch(t){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return e!=="h1"&&e!=="h2"&&e!=="h3"&&e!=="h4"&&e!=="h5"&&e!=="h6";case"rp":case"rt":return Z.indexOf(e)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return e==null;case"head":return a||e===null;case"html":return a&&e==="#document"||e===null;case"body":return a&&(e==="#document"||e==="html")||e===null}return!0}function vT(t,e){switch(t){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 e.pTagInButtonScope;case"form":return e.formTag||e.pTagInButtonScope;case"li":return e.listItemTagAutoclosing;case"dd":case"dt":return e.dlItemTagAutoclosing;case"button":return e.buttonTagInScope;case"a":return e.aTagInScope;case"nobr":return e.nobrTagInScope}return null}function Ka(t,e){for(;t;){switch(t.tag){case 5:case 26:case 27:if(t.type===e)return t}t=t.return}return null}function $c(t,e){e=e||et;var a=e.current;if(e=(a=Kc(t,a&&a.tag,e.implicitRootScope)?null:a)?null:vT(t,e),e=a||e,!e)return!0;var o=e.tag;if(e=String(!!a)+"|"+t+"|"+o,rt[e])return!1;rt[e]=!0;var c=(e=Ga)?Ka(e.return,o):null,f=e!==null&&c!==null?rh(c,e,null):"",y="<"+t+">";return a?(a="",o==="table"&&t==="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
112
- This will cause a hydration error.%s`,y,o,a,f)):console.error(`In HTML, %s cannot be a descendant of <%s>.
113
- This will cause a hydration error.%s`,y,o,f),e&&(t=e.return,c===null||t===null||c===t&&t._debugOwner===e._debugOwner||mt(c,function(){console.error(`<%s> cannot contain a nested %s.
114
- See this log for the ancestor stack trace.`,o,y)})),!1}function Fc(t,e,a){if(a||Kc("#text",e,!1))return!0;if(a="#text|"+e,rt[a])return!1;rt[a]=!0;var o=(a=Ga)?Ka(a,e):null;return a=a!==null&&o!==null?rh(o,a,a.tag!==6?{children:null}:null):"",/\S/.test(t)?console.error(`In HTML, text nodes cannot be a child of <%s>.
69
+ `}function od(t,e,a){var i="",o=Qt({},e),f;for(f in t)if(t.hasOwnProperty(f)){delete o[f];var d=120-2*a-f.length-2,h=_o(t[f],d);e.hasOwnProperty(f)?(d=_o(e[f],d),i+=Sc(a)+f+": "+h+`
70
+ `,i+=Oi(a)+f+": "+d+`
71
+ `):i+=Sc(a)+f+": "+h+`
72
+ `}for(var y in o)o.hasOwnProperty(y)&&(t=_o(o[y],120-2*a-y.length-2),i+=Oi(a)+y+": "+t+`
73
+ `);return i}function Ju(t,e,a,i){var o="",f=new Map;for(p in a)a.hasOwnProperty(p)&&f.set(p.toLowerCase(),p);if(f.size===1&&f.has("children"))o+=No(t,e,be(i));else{for(var d in e)if(e.hasOwnProperty(d)&&d!=="children"){var h=120-2*(i+1)-d.length-1,y=f.get(d.toLowerCase());if(y!==void 0){f.delete(d.toLowerCase());var p=e[d];y=a[y];var D=Ho(p,h);h=Ho(y,h),typeof p=="object"&&p!==null&&typeof y=="object"&&y!==null&&cd(p)==="Object"&&cd(y)==="Object"&&(2<Object.keys(p).length||2<Object.keys(y).length||-1<D.indexOf("...")||-1<h.indexOf("..."))?o+=be(i+1)+d+`={{
74
+ `+od(p,y,i+2)+be(i+1)+`}}
75
+ `:(o+=Sc(i+1)+d+"="+D+`
76
+ `,o+=Oi(i+1)+d+"="+h+`
77
+ `)}else o+=be(i+1)+d+"="+Ho(e[d],h)+`
78
+ `}f.forEach(function(O){if(O!=="children"){var S=120-2*(i+1)-O.length-1;o+=Oi(i+1)+O+"="+Ho(a[O],S)+`
79
+ `}}),o=o===""?be(i)+"<"+t+`>
80
+ `:be(i)+"<"+t+`
81
+ `+o+be(i)+`>
82
+ `}return t=a.children,e=e.children,typeof t=="string"||typeof t=="number"||typeof t=="bigint"?(f="",(typeof e=="string"||typeof e=="number"||typeof e=="bigint")&&(f=""+e),o+=id(f,""+t,i+1)):(typeof e=="string"||typeof e=="number"||typeof e=="bigint")&&(o=t==null?o+id(""+e,null,i+1):o+id(""+e,void 0,i+1)),o}function Ha(t,e){var a=Ci(t);if(a===null){for(a="",t=t.child;t;)a+=Ha(t,e),t=t.sibling;return a}return be(e)+"<"+a+`>
83
+ `}function fd(t,e){var a=bc(t,e);if(a!==t&&(t.children.length!==1||t.children[0]!==a))return be(e)+`...
84
+ `+fd(a,e+1);a="";var i=t.fiber._debugInfo;if(i)for(var o=0;o<i.length;o++){var f=i[o].name;typeof f=="string"&&(a+=be(e)+"<"+f+`>
85
+ `,e++)}if(i="",o=t.fiber.pendingProps,t.fiber.tag===6)i=id(o,t.serverProps,e),e++;else if(f=Ci(t.fiber),f!==null)if(t.serverProps===void 0){i=e;var d=120-2*i-f.length-2,h="";for(p in o)if(o.hasOwnProperty(p)&&p!=="children"){var y=Ho(o[p],15);if(d-=p.length+y.length+2,0>d){h+=" ...";break}h+=" "+p+"="+y}i=be(i)+"<"+f+h+`>
86
+ `,e++}else t.serverProps===null?(i=No(f,o,Sc(e)),e++):typeof t.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(i=Ju(f,o,t.serverProps,e),e++);var p="";for(o=t.fiber.child,f=0;o&&f<t.children.length;)d=t.children[f],d.fiber===o?(p+=fd(d,e),f++):p+=Ha(o,e),o=o.sibling;for(o&&0<t.children.length&&(p+=be(e)+`...
87
+ `),o=t.serverTail,t.serverProps===null&&e--,t=0;t<o.length;t++)f=o[t],p=typeof f=="string"?p+(Oi(e)+lu(f,120-2*e)+`
88
+ `):p+No(f.type,f.props,Oi(e));return a+i+p}function Hm(t){try{return`
89
+
90
+ `+fd(t,0)}catch{return""}}function sd(t,e,a){for(var i=e,o=null,f=0;i;)i===t&&(f=0),o={fiber:i,children:o!==null?[o]:[],serverProps:i===e?a:i===t?null:void 0,serverTail:[],distanceFromLeaf:f},f++,i=i.return;return o!==null?Hm(o).replaceAll(/^[+-]/gm,">"):""}function Nm(t,e){var a=Qt({},t||G),i={tag:e};return g.indexOf(e)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),A.indexOf(e)!==-1&&(a.pTagInButtonScope=null),m.indexOf(e)!==-1&&e!=="address"&&e!=="div"&&e!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=i,e==="form"&&(a.formTag=i),e==="a"&&(a.aTagInScope=i),e==="button"&&(a.buttonTagInScope=i),e==="nobr"&&(a.nobrTagInScope=i),e==="p"&&(a.pTagInButtonScope=i),e==="li"&&(a.listItemTagAutoclosing=i),(e==="dd"||e==="dt")&&(a.dlItemTagAutoclosing=i),e==="#document"||e==="html"?a.containerTagInScope=null:a.containerTagInScope||(a.containerTagInScope=i),t!==null||e!=="#document"&&e!=="html"&&e!=="body"?a.implicitRootScope===!0&&(a.implicitRootScope=!1):a.implicitRootScope=!0,a}function ds(t,e,a){switch(e){case"select":return t==="hr"||t==="option"||t==="optgroup"||t==="script"||t==="template"||t==="#text";case"optgroup":return t==="option"||t==="#text";case"option":return t==="#text";case"tr":return t==="th"||t==="td"||t==="style"||t==="script"||t==="template";case"tbody":case"thead":case"tfoot":return t==="tr"||t==="style"||t==="script"||t==="template";case"colgroup":return t==="col"||t==="template";case"table":return t==="caption"||t==="colgroup"||t==="tbody"||t==="tfoot"||t==="thead"||t==="style"||t==="script"||t==="template";case"head":return t==="base"||t==="basefont"||t==="bgsound"||t==="link"||t==="meta"||t==="title"||t==="noscript"||t==="noframes"||t==="style"||t==="script"||t==="template";case"html":if(a)break;return t==="head"||t==="body"||t==="frameset";case"frameset":return t==="frame";case"#document":if(!a)return t==="html"}switch(t){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return e!=="h1"&&e!=="h2"&&e!=="h3"&&e!=="h4"&&e!=="h5"&&e!=="h6";case"rp":case"rt":return _.indexOf(e)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return e==null;case"head":return a||e===null;case"html":return a&&e==="#document"||e===null;case"body":return a&&(e==="#document"||e==="html")||e===null}return!0}function r1(t,e){switch(t){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 e.pTagInButtonScope;case"form":return e.formTag||e.pTagInButtonScope;case"li":return e.listItemTagAutoclosing;case"dd":case"dt":return e.dlItemTagAutoclosing;case"button":return e.buttonTagInScope;case"a":return e.aTagInScope;case"nobr":return e.nobrTagInScope}return null}function Na(t,e){for(;t;){switch(t.tag){case 5:case 26:case 27:if(t.type===e)return t}t=t.return}return null}function hs(t,e){e=e||G;var a=e.current;if(e=(a=ds(t,a&&a.tag,e.implicitRootScope)?null:a)?null:r1(t,e),e=a||e,!e)return!0;var i=e.tag;if(e=String(!!a)+"|"+t+"|"+i,Z[e])return!1;Z[e]=!0;var o=(e=Ra)?Na(e.return,i):null,f=e!==null&&o!==null?sd(o,e,null):"",d="<"+t+">";return a?(a="",i==="table"&&t==="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
91
+ This will cause a hydration error.%s`,d,i,a,f)):console.error(`In HTML, %s cannot be a descendant of <%s>.
92
+ This will cause a hydration error.%s`,d,i,f),e&&(t=e.return,o===null||t===null||o===t&&t._debugOwner===e._debugOwner||$(o,function(){console.error(`<%s> cannot contain a nested %s.
93
+ See this log for the ancestor stack trace.`,i,d)})),!1}function ms(t,e,a){if(a||ds("#text",e,!1))return!0;if(a="#text|"+e,Z[a])return!1;Z[a]=!0;var i=(a=Ra)?Na(a,e):null;return a=a!==null&&i!==null?sd(i,a,a.tag!==6?{children:null}:null):"",/\S/.test(t)?console.error(`In HTML, text nodes cannot be a child of <%s>.
115
94
  This will cause a hydration error.%s`,e,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.
116
- This will cause a hydration error.%s`,e,a),!1}function Ju(t,e){if(e){var a=t.firstChild;if(a&&a===t.lastChild&&a.nodeType===3){a.nodeValue=e;return}}t.textContent=e}function fr(t){return t.replace(q,function(e,a){return a.toUpperCase()})}function Pp(t,e,a){var o=e.indexOf("--")===0;o||(-1<e.indexOf("-")?G.hasOwnProperty(e)&&G[e]||(G[e]=!0,console.error("Unsupported style property %s. Did you mean %s?",e,fr(e.replace(He,"ms-")))):qt.test(e)?G.hasOwnProperty(e)&&G[e]||(G[e]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1))):!H.test(a)||it.hasOwnProperty(a)&&it[a]||(it[a]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,a.replace(H,""))),typeof a=="number"&&(isNaN(a)?_t||(_t=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",e)):isFinite(a)||Se||(Se=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",e)))),a==null||typeof a=="boolean"||a===""?o?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":o?t.setProperty(e,a):typeof a!="number"||a===0||Rt.has(e)?e==="float"?t.cssFloat=a:(Gp(a,e),t[e]=(""+a).trim()):t[e]=a+"px"}function ty(t,e,a){if(e!=null&&typeof e!="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(e&&Object.freeze(e),t=t.style,a!=null){if(e){var o={};if(a){for(var c in a)if(a.hasOwnProperty(c)&&!e.hasOwnProperty(c))for(var f=J[c]||[c],y=0;y<f.length;y++)o[f[y]]=c}for(var g in e)if(e.hasOwnProperty(g)&&(!a||a[g]!==e[g]))for(c=J[g]||[g],f=0;f<c.length;f++)o[c[f]]=g;g={};for(var E in e)for(c=J[E]||[E],f=0;f<c.length;f++)g[c[f]]=E;E={};for(var D in o)if(c=o[D],(f=g[D])&&c!==f&&(y=c+","+f,!E[y])){E[y]=!0,y=console;var V=e[c];y.error.call(y,"%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.",V==null||typeof V=="boolean"||V===""?"Removing":"Updating",c,f)}}for(var L in a)!a.hasOwnProperty(L)||e!=null&&e.hasOwnProperty(L)||(L.indexOf("--")===0?t.setProperty(L,""):L==="float"?t.cssFloat="":t[L]="");for(var U in e)D=e[U],e.hasOwnProperty(U)&&a[U]!==D&&Pp(t,U,D)}else for(o in e)e.hasOwnProperty(o)&&Pp(t,o,e[o])}function Ti(t){if(t.indexOf("-")===-1)return!1;switch(t){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 gv(t){return Ee.get(t)||t}function vv(t,e){if(rl.call(Xm,e)&&Xm[e])return!0;if($4.test(e)){if(t="aria-"+e.slice(4).toLowerCase(),t=qb.hasOwnProperty(t)?t:null,t==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",e),Xm[e]=!0;if(e!==t)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",e,t),Xm[e]=!0}if(K4.test(e)){if(t=e.toLowerCase(),t=qb.hasOwnProperty(t)?t:null,t==null)return Xm[e]=!0,!1;e!==t&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",e,t),Xm[e]=!0)}return!0}function bv(t,e){var a=[],o;for(o in e)vv(t,o)||a.push(o);e=a.map(function(c){return"`"+c+"`"}).join(", "),a.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",e,t):1<a.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",e,t)}function ey(t,e,a,o){if(rl.call(cl,e)&&cl[e])return!0;var c=e.toLowerCase();if(c==="onfocusin"||c==="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."),cl[e]=!0;if(typeof a=="function"&&(t==="form"&&e==="action"||t==="input"&&e==="formAction"||t==="button"&&e==="formAction"))return!0;if(o!=null){if(t=o.possibleRegistrationNames,o.registrationNameDependencies.hasOwnProperty(e))return!0;if(o=t.hasOwnProperty(c)?t[c]:null,o!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",e,o),cl[e]=!0;if(SD.test(e))return console.error("Unknown event handler property `%s`. It will be ignored.",e),cl[e]=!0}else if(SD.test(e))return F4.test(e)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",e),cl[e]=!0;if(W4.test(e)||I4.test(e))return!0;if(c==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),cl[e]=!0;if(c==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),cl[e]=!0;if(c==="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),cl[e]=!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.",e),cl[e]=!0;if(ui.hasOwnProperty(c)){if(c=ui[c],c!==e)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",e,c),cl[e]=!0}else if(e!==c)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.",e,c),cl[e]=!0;switch(e){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(e){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 c=e.toLowerCase().slice(0,5),c==="data-"||c==="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,e,e,a,e):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,e,e,a,e,e,e),cl[e]=!0)}case"function":case"symbol":return cl[e]=!0,!1;case"string":if(a==="false"||a==="true"){switch(e){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,e,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".',e,a),cl[e]=!0}}return!0}function bT(t,e,a){var o=[],c;for(c in e)ey(t,c,e[c],a)||o.push(c);e=o.map(function(f){return"`"+f+"`"}).join(", "),o.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 ",e,t):1<o.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 ",e,t)}function Wc(t){return P4.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function bl(){}function Ll(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}function ch(t){var e=Bl(t);if(e&&(t=e.stateNode)){var a=t[Ra]||null;t:switch(t=e.stateNode,e.type){case"input":if(Jo(t,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),e=a.name,a.type==="radio"&&e!=null){for(a=t;a.parentNode;)a=a.parentNode;for(_e(e,"name"),a=a.querySelectorAll('input[name="'+Ne(""+e)+'"][type="radio"]'),e=0;e<a.length;e++){var o=a[e];if(o!==t&&o.form===t.form){var c=o[Ra]||null;if(!c)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Jo(o,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(e=0;e<a.length;e++)o=a[e],o.form===t.form&&Kp(o)}break t;case"textarea":Qu(t,a.value,a.defaultValue);break t;case"select":e=a.value,e!=null&&bi(t,!!a.multiple,e,!1)}}}function fh(t,e,a){if(_T)return t(e,a);_T=!0;try{var o=t(e);return o}finally{if(_T=!1,(Qm!==null||Zm!==null)&&(ol(),Qm&&(e=Qm,t=Zm,Zm=Qm=null,ch(e),t)))for(e=0;e<t.length;e++)ch(t[e])}}function Ai(t,e){var a=t.stateNode;if(a===null)return null;var o=a[Ra]||null;if(o===null)return null;a=o[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(t=t.type,o=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!o;break t;default:t=!1}if(t)return null;if(a&&typeof a!="function")throw Error("Expected `"+e+"` listener to be a function, instead got a value of `"+typeof a+"` type.");return a}function Ku(){if(Yb)return Yb;var t,e=jT,a=e.length,o,c="value"in mc?mc.value:mc.textContent,f=c.length;for(t=0;t<a&&e[t]===c[t];t++);var y=a-t;for(o=1;o<=y&&e[a-o]===c[f-o];o++);return Yb=c.slice(t,1<o?1-o:void 0)}function Ic(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function dr(){return!0}function ny(){return!1}function Bn(t){function e(a,o,c,f,y){this._reactName=a,this._targetInst=c,this.type=o,this.nativeEvent=f,this.target=y,this.currentTarget=null;for(var g in t)t.hasOwnProperty(g)&&(a=t[g],this[g]=a?a(f):f[g]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?dr:ny,this.isPropagationStopped=ny,this}return le(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=dr)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=dr)},persist:function(){},isPersistent:dr}),e}function mo(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=d5[t])?!!e[t]:!1}function Pc(){return mo}function hr(t,e){switch(t){case"keyup":return x5.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==xD;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function po(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}function ay(t,e){switch(t){case"compositionend":return po(e);case"keypress":return e.which!==CD?null:(zD=!0,MD);case"textInput":return t=e.data,t===MD&&zD?null:t;default:return null}}function dh(t,e){if(km)return t==="compositionend"||!LT&&hr(t,e)?(t=Ku(),Yb=jT=mc=null,km=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return DD&&e.locale!=="ko"?null:e.data;default:return null}}function ly(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!C5[t.type]:e==="textarea"}function hh(t){if(!zu)return!1;t="on"+t;var e=t in document;return e||(e=document.createElement("div"),e.setAttribute(t,"return;"),e=typeof e[t]=="function"),e}function tf(t,e,a,o){Qm?Zm?Zm.push(o):Zm=[o]:Qm=o,e=ni(e,"onChange"),0<e.length&&(a=new Gb("onChange","change",null,a,o),t.push({event:a,listeners:e}))}function Sv(t){we(t,0)}function Pn(t){var e=ko(t);if(Kp(e))return t}function Fo(t,e){if(t==="change")return e}function ef(){n0&&(n0.detachEvent("onpropertychange",mr),a0=n0=null)}function mr(t){if(t.propertyName==="value"&&Pn(a0)){var e=[];tf(e,a0,t,Ll(t)),fh(Sv,e)}}function ST(t,e,a){t==="focusin"?(ef(),n0=e,a0=a,n0.attachEvent("onpropertychange",mr)):t==="focusout"&&ef()}function iy(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Pn(a0)}function oy(t,e){if(t==="click")return Pn(e)}function nf(t,e){if(t==="input"||t==="change")return Pn(e)}function mh(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}function pr(t,e){if(fl(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var a=Object.keys(t),o=Object.keys(e);if(a.length!==o.length)return!1;for(o=0;o<a.length;o++){var c=a[o];if(!rl.call(e,c)||!fl(t[c],e[c]))return!1}return!0}function Tv(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Av(t,e){var a=Tv(t);t=0;for(var o;a;){if(a.nodeType===3){if(o=t+a.textContent.length,t<=e&&o>=e)return{node:a,offset:e-t};t=o}t:{for(;a;){if(a.nextSibling){a=a.nextSibling;break t}a=a.parentNode}a=void 0}a=Tv(a)}}function Ev(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Ev(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function ph(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Hl(t.document);e instanceof t.HTMLIFrameElement;){try{var a=typeof e.contentWindow.location.href=="string"}catch{a=!1}if(a)t=e.contentWindow;else break;e=Hl(t.document)}return e}function uy(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function xv(t,e,a){var o=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;YT||Jm==null||Jm!==Hl(o)||(o=Jm,"selectionStart"in o&&uy(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),l0&&pr(l0,o)||(l0=o,o=ni(qT,"onSelect"),0<o.length&&(e=new Gb("onSelect","select",null,e,a),t.push({event:e,listeners:o}),e.target=Jm)))}function $u(t,e){var a={};return a[t.toLowerCase()]=e.toLowerCase(),a["Webkit"+t]="webkit"+e,a["Moz"+t]="moz"+e,a}function Fu(t){if(GT[t])return GT[t];if(!Km[t])return t;var e=Km[t],a;for(a in e)if(e.hasOwnProperty(a)&&a in RD)return GT[t]=e[a];return t}function ql(t,e){jD.set(t,e),Vl(e,[t])}function Dv(t){for(var e=Qb,a=0;a<t.length;a++){var o=t[a];if(typeof o=="object"&&o!==null)if(Dn(o)&&o.length===2&&typeof o[0]=="string"){if(e!==Qb&&e!==JT)return ZT;e=JT}else return ZT;else{if(typeof o=="function"||typeof o=="string"&&50<o.length||e!==Qb&&e!==kT)return ZT;e=kT}}return e}function sy(t,e,a,o){for(var c in t)rl.call(t,c)&&c[0]!=="_"&&Ei(c,t[c],e,a,o)}function Ei(t,e,a,o,c){switch(typeof e){case"object":if(e===null){e="null";break}else{if(e.$$typeof===Rl){var f=I(e.type)||"…",y=e.key;e=e.props;var g=Object.keys(e),E=g.length;if(y==null&&E===0){e="<"+f+" />";break}if(3>o||E===1&&g[0]==="children"&&y==null){e="<"+f+" … />";break}a.push([c+"  ".repeat(o)+t,"<"+f]),y!==null&&Ei("key",y,a,o+1,c),t=!1;for(var D in e)D==="children"?e.children!=null&&(!Dn(e.children)||0<e.children.length)&&(t=!0):rl.call(e,D)&&D[0]!=="_"&&Ei(D,e[D],a,o+1,c);a.push(["",t?">…</"+f+">":"/>"]);return}if(f=Object.prototype.toString.call(e),f=f.slice(8,f.length-1),f==="Array"){if(D=Dv(e),D===kT||D===Qb){e=JSON.stringify(e);break}else if(D===JT){for(a.push([c+"  ".repeat(o)+t,""]),t=0;t<e.length;t++)f=e[t],Ei(f[0],f[1],a,o+1,c);return}}if(f==="Promise"){if(e.status==="fulfilled"){if(f=a.length,Ei(t,e.value,a,o,c),a.length>f){a=a[f],a[1]="Promise<"+(a[1]||"Object")+">";return}}else if(e.status==="rejected"&&(f=a.length,Ei(t,e.reason,a,o,c),a.length>f)){a=a[f],a[1]="Rejected Promise<"+a[1]+">";return}a.push(["  ".repeat(o)+t,"Promise"]);return}f==="Object"&&(D=Object.getPrototypeOf(e))&&typeof D.constructor=="function"&&(f=D.constructor.name),a.push([c+"  ".repeat(o)+t,f==="Object"?3>o?"":"…":f]),3>o&&sy(e,a,o+1,c);return}case"function":e=e.name===""?"() => {}":e.name+"() {}";break;case"string":e=e===_5?"…":JSON.stringify(e);break;case"undefined":e="undefined";break;case"boolean":e=e?"true":"false";break;default:e=String(e)}a.push([c+"  ".repeat(o)+t,e])}function Cv(t,e,a,o){var c=!0;for(y in t)y in e||(a.push([Zb+"  ".repeat(o)+y,"…"]),c=!1);for(var f in e)if(f in t){var y=t[f],g=e[f];if(y!==g){if(o===0&&f==="children")c="  ".repeat(o)+f,a.push([Zb+c,"…"],[kb+c,"…"]);else{if(!(3<=o)){if(typeof y=="object"&&typeof g=="object"&&y!==null&&g!==null&&y.$$typeof===g.$$typeof)if(g.$$typeof===Rl){if(y.type===g.type&&y.key===g.key){y=I(g.type)||"…",c="  ".repeat(o)+f,y="<"+y+" … />",a.push([Zb+c,y],[kb+c,y]),c=!1;continue}}else{var E=Object.prototype.toString.call(y),D=Object.prototype.toString.call(g);if(E===D&&(D==="[object Object]"||D==="[object Array]")){E=[HD+"  ".repeat(o)+f,D==="[object Array]"?"Array":""],a.push(E),D=a.length,Cv(y,g,a,o+1)?D===a.length&&(E[1]="Referentially unequal but deeply equal objects. Consider memoization."):c=!1;continue}}else if(typeof y=="function"&&typeof g=="function"&&y.name===g.name&&y.length===g.length&&(E=Function.prototype.toString.call(y),D=Function.prototype.toString.call(g),E===D)){y=g.name===""?"() => {}":g.name+"() {}",a.push([HD+"  ".repeat(o)+f,y+" Referentially unequal function closure. Consider memoization."]);continue}}Ei(f,y,a,o,Zb),Ei(f,g,a,o,kb)}c=!1}}else a.push([kb+"  ".repeat(o)+f,"…"]),c=!1;return c}function Yl(t){ve=t&63?"Blocking":t&64?"Gesture":t&4194176?"Transition":t&62914560?"Suspense":t&2080374784?"Idle":"Other"}function Sl(t,e,a,o){Pe&&(yc.start=e,yc.end=a,js.color="warning",js.tooltipText=o,js.properties=null,(t=t._debugTask)?t.run(performance.measure.bind(performance,o,yc)):performance.measure(o,yc))}function yh(t,e,a){Sl(t,e,a,"Reconnect")}function gh(t,e,a,o,c){var f=yt(t);if(f!==null&&Pe){var y=t.alternate,g=t.actualDuration;if(y===null||y.child!==t.child)for(var E=t.child;E!==null;E=E.sibling)g-=E.actualDuration;o=.5>g?o?"tertiary-light":"primary-light":10>g?o?"tertiary":"primary":100>g?o?"tertiary-dark":"primary-dark":"error";var D=t.memoizedProps;g=t._debugTask,D!==null&&y!==null&&y.memoizedProps!==D?(E=[N5],D=Cv(y.memoizedProps,D,E,0),1<E.length&&(D&&!pc&&(y.lanes&c)===0&&100<t.actualDuration?(pc=!0,E[0]=j5,js.color="warning",js.tooltipText=LD):(js.color=o,js.tooltipText=f),js.properties=E,yc.start=e,yc.end=a,g!=null?g.run(performance.measure.bind(performance,"​"+f,yc)):performance.measure("​"+f,yc))):g!=null?g.run(console.timeStamp.bind(console,f,e,a,Fi,void 0,o)):console.timeStamp(f,e,a,Fi,void 0,o)}}function ry(t,e,a,o){if(Pe){var c=yt(t);if(c!==null){for(var f=null,y=[],g=0;g<o.length;g++){var E=o[g];f==null&&E.source!==null&&(f=E.source._debugTask),E=E.value,y.push(["Error",typeof E=="object"&&E!==null&&typeof E.message=="string"?String(E.message):String(E)])}t.key!==null&&Ei("key",t.key,y,0,""),t.memoizedProps!==null&&sy(t.memoizedProps,y,0,""),f==null&&(f=t._debugTask),t={start:e,end:a,detail:{devtools:{color:"error",track:Fi,tooltipText:t.tag===13?"Hydration failed":"Error boundary caught an error",properties:y}}},f?f.run(performance.measure.bind(performance,"​"+c,t)):performance.measure("​"+c,t)}}}function Gl(t,e,a,o,c){if(c!==null){if(Pe){var f=yt(t);if(f!==null){o=[];for(var y=0;y<c.length;y++){var g=c[y].value;o.push(["Error",typeof g=="object"&&g!==null&&typeof g.message=="string"?String(g.message):String(g)])}t.key!==null&&Ei("key",t.key,o,0,""),t.memoizedProps!==null&&sy(t.memoizedProps,o,0,""),e={start:e,end:a,detail:{devtools:{color:"error",track:Fi,tooltipText:"A lifecycle or effect errored",properties:o}}},(t=t._debugTask)?t.run(performance.measure.bind(performance,"​"+f,e)):performance.measure("​"+f,e)}}}else f=yt(t),f!==null&&Pe&&(c=1>o?"secondary-light":100>o?"secondary":500>o?"secondary-dark":"error",(t=t._debugTask)?t.run(console.timeStamp.bind(console,f,e,a,Fi,void 0,c)):console.timeStamp(f,e,a,Fi,void 0,c))}function TT(t,e,a,o){if(Pe&&!(e<=t)){var c=(a&738197653)===a?"tertiary-dark":"primary-dark";a=(a&536870912)===a?"Prepared":(a&201326741)===a?"Hydrated":"Render",o?o.run(console.timeStamp.bind(console,a,t,e,ve,ye,c)):console.timeStamp(a,t,e,ve,ye,c)}}function Mv(t,e,a,o){!Pe||e<=t||(a=(a&738197653)===a?"tertiary-dark":"primary-dark",o?o.run(console.timeStamp.bind(console,"Prewarm",t,e,ve,ye,a)):console.timeStamp("Prewarm",t,e,ve,ye,a))}function zv(t,e,a,o){!Pe||e<=t||(a=(a&738197653)===a?"tertiary-dark":"primary-dark",o?o.run(console.timeStamp.bind(console,"Suspended",t,e,ve,ye,a)):console.timeStamp("Suspended",t,e,ve,ye,a))}function AT(t,e,a,o,c,f){if(Pe&&!(e<=t)){a=[];for(var y=0;y<o.length;y++){var g=o[y].value;a.push(["Recoverable Error",typeof g=="object"&&g!==null&&typeof g.message=="string"?String(g.message):String(g)])}t={start:t,end:e,detail:{devtools:{color:"primary-dark",track:ve,trackGroup:ye,tooltipText:c?"Hydration Failed":"Recovered after Error",properties:a}}},f?f.run(performance.measure.bind(performance,"Recovered",t)):performance.measure("Recovered",t)}}function cy(t,e,a,o){!Pe||e<=t||(o?o.run(console.timeStamp.bind(console,"Errored",t,e,ve,ye,"error")):console.timeStamp("Errored",t,e,ve,ye,"error"))}function ET(t,e,a,o){!Pe||e<=t||(o?o.run(console.timeStamp.bind(console,a,t,e,ve,ye,"secondary-light")):console.timeStamp(a,t,e,ve,ye,"secondary-light"))}function Ov(t,e,a,o,c){if(Pe&&!(e<=t)){for(var f=[],y=0;y<a.length;y++){var g=a[y].value;f.push(["Error",typeof g=="object"&&g!==null&&typeof g.message=="string"?String(g.message):String(g)])}t={start:t,end:e,detail:{devtools:{color:"error",track:ve,trackGroup:ye,tooltipText:o?"Remaining Effects Errored":"Commit Errored",properties:f}}},c?c.run(performance.measure.bind(performance,"Errored",t)):performance.measure("Errored",t)}}function fy(t,e,a){!Pe||e<=t||console.timeStamp("Animating",t,e,ve,ye,"secondary-dark")}function vh(){for(var t=$m,e=KT=$m=0;e<t;){var a=Wi[e];Wi[e++]=null;var o=Wi[e];Wi[e++]=null;var c=Wi[e];Wi[e++]=null;var f=Wi[e];if(Wi[e++]=null,o!==null&&c!==null){var y=o.pending;y===null?c.next=c:(c.next=y.next,y.next=c),o.pending=c}f!==0&&dy(a,c,f)}}function yr(t,e,a,o){Wi[$m++]=t,Wi[$m++]=e,Wi[$m++]=a,Wi[$m++]=o,KT|=o,t.lanes|=o,t=t.alternate,t!==null&&(t.lanes|=o)}function Wu(t,e,a,o){return yr(t,e,a,o),af(t)}function ia(t,e){return yr(t,null,null,e),af(t)}function dy(t,e,a){t.lanes|=a;var o=t.alternate;o!==null&&(o.lanes|=a);for(var c=!1,f=t.return;f!==null;)f.childLanes|=a,o=f.alternate,o!==null&&(o.childLanes|=a),f.tag===22&&(t=f.stateNode,t===null||t._visibility&i0||(c=!0)),t=f,f=f.return;return t.tag===3?(f=t.stateNode,c&&e!==null&&(c=31-ea(a),t=f.hiddenUpdates,o=t[c],o===null?t[c]=[e]:o.push(e),e.lane=a|536870912),f):null}function af(t){if(U0>W5)throw Cd=U0=0,_0=M2=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.");Cd>I5&&(Cd=0,_0=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.")),t.alternate===null&&(t.flags&4098)!==0&&Ol(t);for(var e=t,a=e.return;a!==null;)e.alternate===null&&(e.flags&4098)!==0&&Ol(t),e=a,a=e.return;return e.tag===3?e.stateNode:null}function Wo(t){if(Ii===null)return t;var e=Ii(t);return e===void 0?t:e.current}function bh(t){if(Ii===null)return t;var e=Ii(t);return e===void 0?t!=null&&typeof t.render=="function"&&(e=Wo(t.render),t.render!==e)?(e={$$typeof:ac,render:e},t.displayName!==void 0&&(e.displayName=t.displayName),e):t:e.current}function hy(t,e){if(Ii===null)return!1;var a=t.elementType;e=e.type;var o=!1,c=typeof e=="object"&&e!==null?e.$$typeof:null;switch(t.tag){case 1:typeof e=="function"&&(o=!0);break;case 0:(typeof e=="function"||c===sa)&&(o=!0);break;case 11:(c===ac||c===sa)&&(o=!0);break;case 14:case 15:(c===ld||c===sa)&&(o=!0);break;default:return!1}return!!(o&&(t=Ii(a),t!==void 0&&t===Ii(e)))}function Iu(t){Ii!==null&&typeof WeakSet=="function"&&(Fm===null&&(Fm=new WeakSet),Fm.add(t))}function Rv(t,e,a){do{var o=t,c=o.alternate,f=o.child,y=o.sibling,g=o.tag;o=o.type;var E=null;switch(g){case 0:case 15:case 1:E=o;break;case 11:E=o.render}if(Ii===null)throw Error("Expected resolveFamily to be set during hot reload.");var D=!1;if(o=!1,E!==null&&(E=Ii(E),E!==void 0&&(a.has(E)?o=!0:e.has(E)&&(g===1?o=!0:D=!0))),Fm!==null&&(Fm.has(t)||c!==null&&Fm.has(c))&&(o=!0),o&&(t._debugNeedsRemount=!0),(o||D)&&(c=ia(t,2),c!==null&&kt(c,t,2)),f===null||o||Rv(f,e,a),y===null)break;t=y}while(!0)}function xT(t,e,a,o){this.tag=t,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=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,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,qD||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function my(t){return t=t.prototype,!(!t||!t.isReactComponent)}function xi(t,e){var a=t.alternate;switch(a===null?(a=w(t.tag,e,t.key,t.mode),a.elementType=t.elementType,a.type=t.type,a.stateNode=t.stateNode,a._debugOwner=t._debugOwner,a._debugStack=t._debugStack,a._debugTask=t._debugTask,a._debugHookTypes=t._debugHookTypes,a.alternate=t,t.alternate=a):(a.pendingProps=e,a.type=t.type,a.flags=0,a.subtreeFlags=0,a.deletions=null,a.actualDuration=-0,a.actualStartTime=-1.1),a.flags=t.flags&65011712,a.childLanes=t.childLanes,a.lanes=t.lanes,a.child=t.child,a.memoizedProps=t.memoizedProps,a.memoizedState=t.memoizedState,a.updateQueue=t.updateQueue,e=t.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext,_debugThenableState:e._debugThenableState},a.sibling=t.sibling,a.index=t.index,a.ref=t.ref,a.refCleanup=t.refCleanup,a.selfBaseDuration=t.selfBaseDuration,a.treeBaseDuration=t.treeBaseDuration,a._debugInfo=t._debugInfo,a._debugNeedsRemount=t._debugNeedsRemount,a.tag){case 0:case 15:a.type=Wo(t.type);break;case 1:a.type=Wo(t.type);break;case 11:a.type=bh(t.type)}return a}function py(t,e){t.flags&=65011714;var a=t.alternate;return a===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null,t.selfBaseDuration=0,t.treeBaseDuration=0):(t.childLanes=a.childLanes,t.lanes=a.lanes,t.child=a.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=a.memoizedProps,t.memoizedState=a.memoizedState,t.updateQueue=a.updateQueue,t.type=a.type,e=a.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext,_debugThenableState:e._debugThenableState},t.selfBaseDuration=a.selfBaseDuration,t.treeBaseDuration=a.treeBaseDuration),t}function Pu(t,e,a,o,c,f){var y=0,g=t;if(typeof t=="function")my(t)&&(y=1),g=Wo(g);else if(typeof t=="string")y=F(),y=Db(t,a,y)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case oi:return e=w(31,a,e,c),e.elementType=oi,e.lanes=f,e;case nc:return ts(a.children,c,f,e);case Oa:y=8,c|=Xa,c|=Bo;break;case ad:return t=a,o=c,typeof t.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof t.id),e=w(12,t,e,o|ie),e.elementType=ad,e.lanes=f,e.stateNode={effectDuration:0,passiveEffectDuration:0},e;case Rs:return e=w(13,a,e,c),e.elementType=Rs,e.lanes=f,e;case Ya:return e=w(19,a,e,c),e.elementType=Ya,e.lanes=f,e;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case ii:y=10;break t;case wm:y=9;break t;case ac:y=11,g=bh(g);break t;case ld:y=14;break t;case sa:y=16,g=null;break t}g="",(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(g+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),t===null?a="null":Dn(t)?a="array":t!==void 0&&t.$$typeof===Rl?(a="<"+(I(t.type)||"Unknown")+" />",g=" Did you accidentally export a JSX literal instead of a component?"):a=typeof t,(y=o?wt(o):null)&&(g+=`
95
+ This will cause a hydration error.%s`,e,a),!1}function Tc(t,e){if(e){var a=t.firstChild;if(a&&a===t.lastChild&&a.nodeType===3){a.nodeValue=e;return}}t.textContent=e}function Bo(t){return t.replace(R,function(e,a){return a.toUpperCase()})}function Bm(t,e,a){var i=e.indexOf("--")===0;i||(-1<e.indexOf("-")?x.hasOwnProperty(e)&&x[e]||(x[e]=!0,console.error("Unsupported style property %s. Did you mean %s?",e,Bo(e.replace(Ue,"ms-")))):bt.test(e)?x.hasOwnProperty(e)&&x[e]||(x[e]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1))):!M.test(a)||Q.hasOwnProperty(a)&&Q[a]||(Q[a]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,a.replace(M,""))),typeof a=="number"&&(isNaN(a)?yt||(yt=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",e)):isFinite(a)||fe||(fe=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",e)))),a==null||typeof a=="boolean"||a===""?i?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":i?t.setProperty(e,a):typeof a!="number"||a===0||rt.has(e)?e==="float"?t.cssFloat=a:(zm(a,e),t[e]=(""+a).trim()):t[e]=a+"px"}function wm(t,e,a){if(e!=null&&typeof e!="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(e&&Object.freeze(e),t=t.style,a!=null){if(e){var i={};if(a){for(var o in a)if(a.hasOwnProperty(o)&&!e.hasOwnProperty(o))for(var f=H[o]||[o],d=0;d<f.length;d++)i[f[d]]=o}for(var h in e)if(e.hasOwnProperty(h)&&(!a||a[h]!==e[h]))for(o=H[h]||[h],f=0;f<o.length;f++)i[o[f]]=h;h={};for(var y in e)for(o=H[y]||[y],f=0;f<o.length;f++)h[o[f]]=y;y={};for(var p in i)if(o=i[p],(f=h[p])&&o!==f&&(d=o+","+f,!y[d])){y[d]=!0,d=console;var D=e[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.",D==null||typeof D=="boolean"||D===""?"Removing":"Updating",o,f)}}for(var O in a)!a.hasOwnProperty(O)||e!=null&&e.hasOwnProperty(O)||(O.indexOf("--")===0?t.setProperty(O,""):O==="float"?t.cssFloat="":t[O]="");for(var S in e)p=e[S],e.hasOwnProperty(S)&&a[S]!==p&&Bm(t,S,p)}else for(i in e)e.hasOwnProperty(i)&&Bm(t,i,e[i])}function au(t){if(t.indexOf("-")===-1)return!1;switch(t){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 Hp(t){return de.get(t)||t}function Np(t,e){if(ka.call(Lh,e)&&Lh[e])return!0;if(b3.test(e)){if(t="aria-"+e.slice(4).toLowerCase(),t=lv.hasOwnProperty(t)?t:null,t==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",e),Lh[e]=!0;if(e!==t)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",e,t),Lh[e]=!0}if(v3.test(e)){if(t=e.toLowerCase(),t=lv.hasOwnProperty(t)?t:null,t==null)return Lh[e]=!0,!1;e!==t&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",e,t),Lh[e]=!0)}return!0}function Bp(t,e){var a=[],i;for(i in e)Np(t,i)||a.push(i);e=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",e,t):1<a.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",e,t)}function qm(t,e,a,i){if(ka.call(Wa,e)&&Wa[e])return!0;var o=e.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."),Wa[e]=!0;if(typeof a=="function"&&(t==="form"&&e==="action"||t==="input"&&e==="formAction"||t==="button"&&e==="formAction"))return!0;if(i!=null){if(t=i.possibleRegistrationNames,i.registrationNameDependencies.hasOwnProperty(e))return!0;if(i=t.hasOwnProperty(o)?t[o]:null,i!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",e,i),Wa[e]=!0;if(lS.test(e))return console.error("Unknown event handler property `%s`. It will be ignored.",e),Wa[e]=!0}else if(lS.test(e))return S3.test(e)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",e),Wa[e]=!0;if(T3.test(e)||E3.test(e))return!0;if(o==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Wa[e]=!0;if(o==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Wa[e]=!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),Wa[e]=!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.",e),Wa[e]=!0;if(Kn.hasOwnProperty(o)){if(o=Kn[o],o!==e)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",e,o),Wa[e]=!0}else if(e!==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.",e,o),Wa[e]=!0;switch(e){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(e){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=e.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,e,e,a,e):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,e,e,a,e,e,e),Wa[e]=!0)}case"function":case"symbol":return Wa[e]=!0,!1;case"string":if(a==="false"||a==="true"){switch(e){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,e,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".',e,a),Wa[e]=!0}}return!0}function d1(t,e,a){var i=[],o;for(o in e)qm(t,o,e[o],a)||i.push(o);e=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 ",e,t):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 ",e,t)}function ys(t){return A3.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function nn(){}function Dn(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}function rd(t){var e=En(t);if(e&&(t=e.stateNode)){var a=t[ba]||null;t:switch(t=e.stateNode,e.type){case"input":if(Mi(t,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),e=a.name,a.type==="radio"&&e!=null){for(a=t;a.parentNode;)a=a.parentNode;for(ze(e,"name"),a=a.querySelectorAll('input[name="'+De(""+e)+'"][type="radio"]'),e=0;e<a.length;e++){var i=a[e];if(i!==t&&i.form===t.form){var o=i[ba]||null;if(!o)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Mi(i,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(e=0;e<a.length;e++)i=a[e],i.form===t.form&&Rm(i)}break t;case"textarea":vc(t,a.value,a.defaultValue);break t;case"select":e=a.value,e!=null&&eu(t,!!a.multiple,e,!1)}}}function dd(t,e,a){if(M1)return t(e,a);M1=!0;try{var i=t(e);return i}finally{if(M1=!1,(Zh!==null||Jh!==null)&&(Ja(),Zh&&(e=Zh,t=Jh,Jh=Zh=null,rd(e),t)))for(e=0;e<t.length;e++)rd(t[e])}}function nu(t,e){var a=t.stateNode;if(a===null)return null;var i=a[ba]||null;if(i===null)return null;a=i[e];t:switch(e){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)||(t=t.type,i=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!i;break t;default:t=!1}if(t)return null;if(a&&typeof a!="function")throw Error("Expected `"+e+"` listener to be a function, instead got a value of `"+typeof a+"` type.");return a}function Ec(){if(av)return av;var t,e=C1,a=e.length,i,o="value"in jf?jf.value:jf.textContent,f=o.length;for(t=0;t<a&&e[t]===o[t];t++);var d=a-t;for(i=1;i<=d&&e[a-i]===o[f-i];i++);return av=o.slice(t,1<i?1-i:void 0)}function ps(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function wo(){return!0}function Ym(){return!1}function Ml(t){function e(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 h in t)t.hasOwnProperty(h)&&(a=t[h],this[h]=a?a(f):f[h]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?wo:Ym,this.isPropagationStopped=Ym,this}return Qt(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=wo)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=wo)},persist:function(){},isPersistent:wo}),e}function Ku(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=w3[t])?!!e[t]:!1}function gs(){return Ku}function qo(t,e){switch(t){case"keyup":return $3.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==iS;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $u(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}function jm(t,e){switch(t){case"compositionend":return $u(e);case"keypress":return e.which!==oS?null:(sS=!0,fS);case"textInput":return t=e.data,t===fS&&sS?null:t;default:return null}}function hd(t,e){if(Kh)return t==="compositionend"||!_1&&qo(t,e)?(t=Ec(),av=C1=jf=null,Kh=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return cS&&e.locale!=="ko"?null:e.data;default:return null}}function Gm(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!W3[t.type]:e==="textarea"}function md(t){if(!cc)return!1;t="on"+t;var e=t in document;return e||(e=document.createElement("div"),e.setAttribute(t,"return;"),e=typeof e[t]=="function"),e}function vs(t,e,a,i){Zh?Jh?Jh.push(i):Jh=[i]:Zh=i,e=Vn(e,"onChange"),0<e.length&&(a=new nv("onChange","change",null,a,i),t.push({event:a,listeners:e}))}function wp(t){Ee(t,0)}function Ql(t){var e=Di(t);if(Rm(e))return t}function Ui(t,e){if(t==="change")return e}function bs(){Y0&&(Y0.detachEvent("onpropertychange",Yo),j0=Y0=null)}function Yo(t){if(t.propertyName==="value"&&Ql(j0)){var e=[];vs(e,j0,t,Dn(t)),dd(wp,e)}}function h1(t,e,a){t==="focusin"?(bs(),Y0=e,j0=a,Y0.attachEvent("onpropertychange",Yo)):t==="focusout"&&bs()}function Xm(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Ql(j0)}function Vm(t,e){if(t==="click")return Ql(e)}function Ss(t,e){if(t==="input"||t==="change")return Ql(e)}function yd(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}function jo(t,e){if(Fa(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var a=Object.keys(t),i=Object.keys(e);if(a.length!==i.length)return!1;for(i=0;i<a.length;i++){var o=a[i];if(!ka.call(e,o)||!Fa(t[o],e[o]))return!1}return!0}function qp(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Yp(t,e){var a=qp(t);t=0;for(var i;a;){if(a.nodeType===3){if(i=t+a.textContent.length,t<=e&&i>=e)return{node:a,offset:e-t};t=i}t:{for(;a;){if(a.nextSibling){a=a.nextSibling;break t}a=a.parentNode}a=void 0}a=qp(a)}}function jp(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?jp(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function pd(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=zn(t.document);e instanceof t.HTMLIFrameElement;){try{var a=typeof e.contentWindow.location.href=="string"}catch{a=!1}if(a)t=e.contentWindow;else break;e=zn(t.document)}return e}function Qm(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function Gp(t,e,a){var i=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;N1||$h==null||$h!==zn(i)||(i=$h,"selectionStart"in i&&Qm(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}),G0&&jo(G0,i)||(G0=i,i=Vn(H1,"onSelect"),0<i.length&&(e=new nv("onSelect","select",null,e,a),t.push({event:e,listeners:i}),e.target=$h)))}function Ac(t,e){var a={};return a[t.toLowerCase()]=e.toLowerCase(),a["Webkit"+t]="webkit"+e,a["Moz"+t]="moz"+e,a}function zc(t){if(B1[t])return B1[t];if(!kh[t])return t;var e=kh[t],a;for(a in e)if(e.hasOwnProperty(a)&&a in dS)return B1[t]=e[a];return t}function Mn(t,e){gS.set(t,e),An(e,[t])}function Xp(t){for(var e=iv,a=0;a<t.length;a++){var i=t[a];if(typeof i=="object"&&i!==null)if(gl(i)&&i.length===2&&typeof i[0]=="string"){if(e!==iv&&e!==G1)return Y1;e=G1}else return Y1;else{if(typeof i=="function"||typeof i=="string"&&50<i.length||e!==iv&&e!==j1)return Y1;e=j1}}return e}function Lm(t,e,a,i){for(var o in t)ka.call(t,o)&&o[0]!=="_"&&uu(o,t[o],e,a,i)}function uu(t,e,a,i,o){switch(typeof e){case"object":if(e===null){e="null";break}else{if(e.$$typeof===pn){var f=vt(e.type)||"…",d=e.key;e=e.props;var h=Object.keys(e),y=h.length;if(d==null&&y===0){e="<"+f+" />";break}if(3>i||y===1&&h[0]==="children"&&d==null){e="<"+f+" … />";break}a.push([o+"  ".repeat(i)+t,"<"+f]),d!==null&&uu("key",d,a,i+1,o),t=!1;for(var p in e)p==="children"?e.children!=null&&(!gl(e.children)||0<e.children.length)&&(t=!0):ka.call(e,p)&&p[0]!=="_"&&uu(p,e[p],a,i+1,o);a.push(["",t?">…</"+f+">":"/>"]);return}if(f=Object.prototype.toString.call(e),f=f.slice(8,f.length-1),f==="Array"){if(p=Xp(e),p===j1||p===iv){e=JSON.stringify(e);break}else if(p===G1){for(a.push([o+"  ".repeat(i)+t,""]),t=0;t<e.length;t++)f=e[t],uu(f[0],f[1],a,i+1,o);return}}if(f==="Promise"){if(e.status==="fulfilled"){if(f=a.length,uu(t,e.value,a,i,o),a.length>f){a=a[f],a[1]="Promise<"+(a[1]||"Object")+">";return}}else if(e.status==="rejected"&&(f=a.length,uu(t,e.reason,a,i,o),a.length>f)){a=a[f],a[1]="Rejected Promise<"+a[1]+">";return}a.push(["  ".repeat(i)+t,"Promise"]);return}f==="Object"&&(p=Object.getPrototypeOf(e))&&typeof p.constructor=="function"&&(f=p.constructor.name),a.push([o+"  ".repeat(i)+t,f==="Object"?3>i?"":"…":f]),3>i&&Lm(e,a,i+1,o);return}case"function":e=e.name===""?"() => {}":e.name+"() {}";break;case"string":e=e===aE?"…":JSON.stringify(e);break;case"undefined":e="undefined";break;case"boolean":e=e?"true":"false";break;default:e=String(e)}a.push([o+"  ".repeat(i)+t,e])}function Vp(t,e,a,i){var o=!0;for(d in t)d in e||(a.push([cv+"  ".repeat(i)+d,"…"]),o=!1);for(var f in e)if(f in t){var d=t[f],h=e[f];if(d!==h){if(i===0&&f==="children")o="  ".repeat(i)+f,a.push([cv+o,"…"],[ov+o,"…"]);else{if(!(3<=i)){if(typeof d=="object"&&typeof h=="object"&&d!==null&&h!==null&&d.$$typeof===h.$$typeof)if(h.$$typeof===pn){if(d.type===h.type&&d.key===h.key){d=vt(h.type)||"…",o="  ".repeat(i)+f,d="<"+d+" … />",a.push([cv+o,d],[ov+o,d]),o=!1;continue}}else{var y=Object.prototype.toString.call(d),p=Object.prototype.toString.call(h);if(y===p&&(p==="[object Object]"||p==="[object Array]")){y=[SS+"  ".repeat(i)+f,p==="[object Array]"?"Array":""],a.push(y),p=a.length,Vp(d,h,a,i+1)?p===a.length&&(y[1]="Referentially unequal but deeply equal objects. Consider memoization."):o=!1;continue}}else if(typeof d=="function"&&typeof h=="function"&&d.name===h.name&&d.length===h.length&&(y=Function.prototype.toString.call(d),p=Function.prototype.toString.call(h),y===p)){d=h.name===""?"() => {}":h.name+"() {}",a.push([SS+"  ".repeat(i)+f,d+" Referentially unequal function closure. Consider memoization."]);continue}}uu(f,d,a,i,cv),uu(f,h,a,i,ov)}o=!1}}else a.push([ov+"  ".repeat(i)+f,"…"]),o=!1;return o}function On(t){ce=t&63?"Blocking":t&64?"Gesture":t&4194176?"Transition":t&62914560?"Suspense":t&2080374784?"Idle":"Other"}function un(t,e,a,i){Je&&(Xf.start=e,Xf.end=a,fo.color="warning",fo.tooltipText=i,fo.properties=null,(t=t._debugTask)?t.run(performance.measure.bind(performance,i,Xf)):performance.measure(i,Xf))}function gd(t,e,a){un(t,e,a,"Reconnect")}function vd(t,e,a,i,o){var f=at(t);if(f!==null&&Je){var d=t.alternate,h=t.actualDuration;if(d===null||d.child!==t.child)for(var y=t.child;y!==null;y=y.sibling)h-=y.actualDuration;i=.5>h?i?"tertiary-light":"primary-light":10>h?i?"tertiary":"primary":100>h?i?"tertiary-dark":"primary-dark":"error";var p=t.memoizedProps;h=t._debugTask,p!==null&&d!==null&&d.memoizedProps!==p?(y=[nE],p=Vp(d.memoizedProps,p,y,0),1<y.length&&(p&&!Gf&&(d.lanes&o)===0&&100<t.actualDuration?(Gf=!0,y[0]=uE,fo.color="warning",fo.tooltipText=TS):(fo.color=i,fo.tooltipText=f),fo.properties=y,Xf.start=e,Xf.end=a,h!=null?h.run(performance.measure.bind(performance,"​"+f,Xf)):performance.measure("​"+f,Xf))):h!=null?h.run(console.timeStamp.bind(console,f,e,a,_u,void 0,i)):console.timeStamp(f,e,a,_u,void 0,i)}}function Zm(t,e,a,i){if(Je){var o=at(t);if(o!==null){for(var f=null,d=[],h=0;h<i.length;h++){var y=i[h];f==null&&y.source!==null&&(f=y.source._debugTask),y=y.value,d.push(["Error",typeof y=="object"&&y!==null&&typeof y.message=="string"?String(y.message):String(y)])}t.key!==null&&uu("key",t.key,d,0,""),t.memoizedProps!==null&&Lm(t.memoizedProps,d,0,""),f==null&&(f=t._debugTask),t={start:e,end:a,detail:{devtools:{color:"error",track:_u,tooltipText:t.tag===13?"Hydration failed":"Error boundary caught an error",properties:d}}},f?f.run(performance.measure.bind(performance,"​"+o,t)):performance.measure("​"+o,t)}}}function Cn(t,e,a,i,o){if(o!==null){if(Je){var f=at(t);if(f!==null){i=[];for(var d=0;d<o.length;d++){var h=o[d].value;i.push(["Error",typeof h=="object"&&h!==null&&typeof h.message=="string"?String(h.message):String(h)])}t.key!==null&&uu("key",t.key,i,0,""),t.memoizedProps!==null&&Lm(t.memoizedProps,i,0,""),e={start:e,end:a,detail:{devtools:{color:"error",track:_u,tooltipText:"A lifecycle or effect errored",properties:i}}},(t=t._debugTask)?t.run(performance.measure.bind(performance,"​"+f,e)):performance.measure("​"+f,e)}}}else f=at(t),f!==null&&Je&&(o=1>i?"secondary-light":100>i?"secondary":500>i?"secondary-dark":"error",(t=t._debugTask)?t.run(console.timeStamp.bind(console,f,e,a,_u,void 0,o)):console.timeStamp(f,e,a,_u,void 0,o))}function m1(t,e,a,i){if(Je&&!(e<=t)){var o=(a&738197653)===a?"tertiary-dark":"primary-dark";a=(a&536870912)===a?"Prepared":(a&201326741)===a?"Hydrated":"Render",i?i.run(console.timeStamp.bind(console,a,t,e,ce,ae,o)):console.timeStamp(a,t,e,ce,ae,o)}}function Qp(t,e,a,i){!Je||e<=t||(a=(a&738197653)===a?"tertiary-dark":"primary-dark",i?i.run(console.timeStamp.bind(console,"Prewarm",t,e,ce,ae,a)):console.timeStamp("Prewarm",t,e,ce,ae,a))}function Lp(t,e,a,i){!Je||e<=t||(a=(a&738197653)===a?"tertiary-dark":"primary-dark",i?i.run(console.timeStamp.bind(console,"Suspended",t,e,ce,ae,a)):console.timeStamp("Suspended",t,e,ce,ae,a))}function y1(t,e,a,i,o,f){if(Je&&!(e<=t)){a=[];for(var d=0;d<i.length;d++){var h=i[d].value;a.push(["Recoverable Error",typeof h=="object"&&h!==null&&typeof h.message=="string"?String(h.message):String(h)])}t={start:t,end:e,detail:{devtools:{color:"primary-dark",track:ce,trackGroup:ae,tooltipText:o?"Hydration Failed":"Recovered after Error",properties:a}}},f?f.run(performance.measure.bind(performance,"Recovered",t)):performance.measure("Recovered",t)}}function Jm(t,e,a,i){!Je||e<=t||(i?i.run(console.timeStamp.bind(console,"Errored",t,e,ce,ae,"error")):console.timeStamp("Errored",t,e,ce,ae,"error"))}function p1(t,e,a,i){!Je||e<=t||(i?i.run(console.timeStamp.bind(console,a,t,e,ce,ae,"secondary-light")):console.timeStamp(a,t,e,ce,ae,"secondary-light"))}function Zp(t,e,a,i,o){if(Je&&!(e<=t)){for(var f=[],d=0;d<a.length;d++){var h=a[d].value;f.push(["Error",typeof h=="object"&&h!==null&&typeof h.message=="string"?String(h.message):String(h)])}t={start:t,end:e,detail:{devtools:{color:"error",track:ce,trackGroup:ae,tooltipText:i?"Remaining Effects Errored":"Commit Errored",properties:f}}},o?o.run(performance.measure.bind(performance,"Errored",t)):performance.measure("Errored",t)}}function Km(t,e,a){!Je||e<=t||console.timeStamp("Animating",t,e,ce,ae,"secondary-dark")}function bd(){for(var t=Wh,e=X1=Wh=0;e<t;){var a=Hu[e];Hu[e++]=null;var i=Hu[e];Hu[e++]=null;var o=Hu[e];Hu[e++]=null;var f=Hu[e];if(Hu[e++]=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&&$m(a,o,f)}}function Go(t,e,a,i){Hu[Wh++]=t,Hu[Wh++]=e,Hu[Wh++]=a,Hu[Wh++]=i,X1|=i,t.lanes|=i,t=t.alternate,t!==null&&(t.lanes|=i)}function Dc(t,e,a,i){return Go(t,e,a,i),Ts(t)}function kl(t,e){return Go(t,null,null,e),Ts(t)}function $m(t,e,a){t.lanes|=a;var i=t.alternate;i!==null&&(i.lanes|=a);for(var o=!1,f=t.return;f!==null;)f.childLanes|=a,i=f.alternate,i!==null&&(i.childLanes|=a),f.tag===22&&(t=f.stateNode,t===null||t._visibility&X0||(o=!0)),t=f,f=f.return;return t.tag===3?(f=t.stateNode,o&&e!==null&&(o=31-Zl(a),t=f.hiddenUpdates,i=t[o],i===null?t[o]=[e]:i.push(e),e.lane=a|536870912),f):null}function Ts(t){if(mp>TE)throw Qr=mp=0,yp=Sb=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.");Qr>EE&&(Qr=0,yp=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.")),t.alternate===null&&(t.flags&4098)!==0&&yn(t);for(var e=t,a=e.return;a!==null;)e.alternate===null&&(e.flags&4098)!==0&&yn(t),e=a,a=e.return;return e.tag===3?e.stateNode:null}function Ri(t){if(Nu===null)return t;var e=Nu(t);return e===void 0?t:e.current}function Sd(t){if(Nu===null)return t;var e=Nu(t);return e===void 0?t!=null&&typeof t.render=="function"&&(e=Ri(t.render),t.render!==e)?(e={$$typeof:Cf,render:e},t.displayName!==void 0&&(e.displayName=t.displayName),e):t:e.current}function km(t,e){if(Nu===null)return!1;var a=t.elementType;e=e.type;var i=!1,o=typeof e=="object"&&e!==null?e.$$typeof:null;switch(t.tag){case 1:typeof e=="function"&&(i=!0);break;case 0:(typeof e=="function"||o===Il)&&(i=!0);break;case 11:(o===Cf||o===Il)&&(i=!0);break;case 14:case 15:(o===Tr||o===Il)&&(i=!0);break;default:return!1}return!!(i&&(t=Nu(a),t!==void 0&&t===Nu(e)))}function Mc(t){Nu!==null&&typeof WeakSet=="function"&&(Fh===null&&(Fh=new WeakSet),Fh.add(t))}function Jp(t,e,a){do{var i=t,o=i.alternate,f=i.child,d=i.sibling,h=i.tag;i=i.type;var y=null;switch(h){case 0:case 15:case 1:y=i;break;case 11:y=i.render}if(Nu===null)throw Error("Expected resolveFamily to be set during hot reload.");var p=!1;if(i=!1,y!==null&&(y=Nu(y),y!==void 0&&(a.has(y)?i=!0:e.has(y)&&(h===1?i=!0:p=!0))),Fh!==null&&(Fh.has(t)||o!==null&&Fh.has(o))&&(i=!0),i&&(t._debugNeedsRemount=!0),(i||p)&&(o=kl(t,2),o!==null&&Ot(o,t,2)),f===null||i||Jp(f,e,a),d===null)break;t=d}while(!0)}function g1(t,e,a,i){this.tag=t,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=e,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,ES||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function Wm(t){return t=t.prototype,!(!t||!t.isReactComponent)}function iu(t,e){var a=t.alternate;switch(a===null?(a=ct(t.tag,e,t.key,t.mode),a.elementType=t.elementType,a.type=t.type,a.stateNode=t.stateNode,a._debugOwner=t._debugOwner,a._debugStack=t._debugStack,a._debugTask=t._debugTask,a._debugHookTypes=t._debugHookTypes,a.alternate=t,t.alternate=a):(a.pendingProps=e,a.type=t.type,a.flags=0,a.subtreeFlags=0,a.deletions=null,a.actualDuration=-0,a.actualStartTime=-1.1),a.flags=t.flags&65011712,a.childLanes=t.childLanes,a.lanes=t.lanes,a.child=t.child,a.memoizedProps=t.memoizedProps,a.memoizedState=t.memoizedState,a.updateQueue=t.updateQueue,e=t.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext,_debugThenableState:e._debugThenableState},a.sibling=t.sibling,a.index=t.index,a.ref=t.ref,a.refCleanup=t.refCleanup,a.selfBaseDuration=t.selfBaseDuration,a.treeBaseDuration=t.treeBaseDuration,a._debugInfo=t._debugInfo,a._debugNeedsRemount=t._debugNeedsRemount,a.tag){case 0:case 15:a.type=Ri(t.type);break;case 1:a.type=Ri(t.type);break;case 11:a.type=Sd(t.type)}return a}function Fm(t,e){t.flags&=65011714;var a=t.alternate;return a===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null,t.selfBaseDuration=0,t.treeBaseDuration=0):(t.childLanes=a.childLanes,t.lanes=a.lanes,t.child=a.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=a.memoizedProps,t.memoizedState=a.memoizedState,t.updateQueue=a.updateQueue,t.type=a.type,e=a.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext,_debugThenableState:e._debugThenableState},t.selfBaseDuration=a.selfBaseDuration,t.treeBaseDuration=a.treeBaseDuration),t}function Oc(t,e,a,i,o,f){var d=0,h=t;if(typeof t=="function")Wm(t)&&(d=1),h=Ri(h);else if(typeof t=="string")d=L(),d=Xg(t,a,d)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case Jn:return e=ct(31,a,e,o),e.elementType=Jn,e.lanes=f,e;case Of:return Cc(a.children,o,f,e);case va:d=8,o|=xa,o|=yi;break;case Sr:return t=a,i=o,typeof t.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof t.id),e=ct(12,t,e,i|Lt),e.elementType=Sr,e.lanes=f,e.stateNode={effectDuration:0,passiveEffectDuration:0},e;case no:return e=ct(13,a,e,o),e.elementType=no,e.lanes=f,e;case Ua:return e=ct(19,a,e,o),e.elementType=Ua,e.lanes=f,e;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Zn:d=10;break t;case _h:d=9;break t;case Cf:d=11,h=Sd(h);break t;case Tr:d=14;break t;case Il:d=16,h=null;break t}h="",(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(h+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),t===null?a="null":gl(t)?a="array":t!==void 0&&t.$$typeof===pn?(a="<"+(vt(t.type)||"Unknown")+" />",h=" Did you accidentally export a JSX literal instead of a component?"):a=typeof t,(d=i?xe(i):null)&&(h+=`
117
96
 
118
- Check the render method of \``+y+"`."),y=29,a=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(a+"."+g)),g=null}return e=w(y,a,e,c),e.elementType=t,e.type=g,e.lanes=f,e._debugOwner=o,e}function Io(t,e,a){return e=Pu(t.type,t.key,t.props,t._owner,e,a),e._debugOwner=t._owner,e._debugStack=t._debugStack,e._debugTask=t._debugTask,e}function ts(t,e,a,o){return t=w(7,t,o,e),t.lanes=a,t}function gr(t,e,a){return t=w(6,t,null,e),t.lanes=a,t}function yy(t){var e=w(18,null,null,Zt);return e.stateNode=t,e}function Sh(t,e,a){return e=w(4,t.children!==null?t.children:[],t.key,e),e.lanes=a,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function ya(t,e){if(typeof t=="object"&&t!==null){var a=$T.get(t);return a!==void 0?a:(e={value:t,source:e,stack:xt(e)},$T.set(t,e),e)}return{value:t,source:e,stack:xt(e)}}function Xl(t,e){Po(),Wm[Im++]=o0,Wm[Im++]=Jb,Jb=t,o0=e}function gy(t,e,a){Po(),Pi[to++]=Vs,Pi[to++]=Hs,Pi[to++]=fd,fd=t;var o=Vs;t=Hs;var c=32-ea(o)-1;o&=~(1<<c),a+=1;var f=32-ea(e)+c;if(30<f){var y=c-c%5;f=(o&(1<<y)-1).toString(32),o>>=y,c-=y,Vs=1<<32-ea(e)+c|a<<c|o,Hs=f+t}else Vs=1<<f|a<<c|o,Hs=t}function Th(t){Po(),t.return!==null&&(Xl(t,1),gy(t,1,0))}function Ah(t){for(;t===Jb;)Jb=Wm[--Im],Wm[Im]=null,o0=Wm[--Im],Wm[Im]=null;for(;t===fd;)fd=Pi[--to],Pi[to]=null,Hs=Pi[--to],Pi[to]=null,Vs=Pi[--to],Pi[to]=null}function wv(){return Po(),fd!==null?{id:Vs,overflow:Hs}:null}function Uv(t,e){Po(),Pi[to++]=Vs,Pi[to++]=Hs,Pi[to++]=fd,Vs=e.id,Hs=e.overflow,fd=t}function Po(){pe||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function es(t,e){if(t.return===null){if(si===null)si={fiber:t,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:e};else{if(si.fiber!==t)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");si.distanceFromLeaf>e&&(si.distanceFromLeaf=e)}return si}var a=es(t.return,e+1).children;return 0<a.length&&a[a.length-1].fiber===t?(a=a[a.length-1],a.distanceFromLeaf>e&&(a.distanceFromLeaf=e),a):(e={fiber:t,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:e},a.push(e),e)}function _v(){pe&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function oa(t,e){Ou||(t=es(t,0),t.serverProps=null,e!==null&&(e=Tb(e),t.serverTail.push(e)))}function Tl(t){var e=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,a="",o=si;throw o!==null&&(si=null,a=Wp(o)),of(ya(Error("Hydration failed because the server rendered "+(e?"text":"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:
97
+ 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+"."+h)),h=null}return e=ct(d,a,e,o),e.elementType=t,e.type=h,e.lanes=f,e._debugOwner=i,e}function xi(t,e,a){return e=Oc(t.type,t.key,t.props,t._owner,e,a),e._debugOwner=t._owner,e._debugStack=t._debugStack,e._debugTask=t._debugTask,e}function Cc(t,e,a,i){return t=ct(7,t,i,e),t.lanes=a,t}function Xo(t,e,a){return t=ct(6,t,null,e),t.lanes=a,t}function Im(t){var e=ct(18,null,null,Mt);return e.stateNode=t,e}function Td(t,e,a){return e=ct(4,t.children!==null?t.children:[],t.key,e),e.lanes=a,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function ua(t,e){if(typeof t=="object"&&t!==null){var a=V1.get(t);return a!==void 0?a:(e={value:t,source:e,stack:ve(e)},V1.set(t,e),e)}return{value:t,source:e,stack:ve(e)}}function Un(t,e){_i(),Ih[Ph++]=V0,Ih[Ph++]=fv,fv=t,V0=e}function Pm(t,e,a){_i(),Bu[wu++]=ro,Bu[wu++]=ho,Bu[wu++]=Cr,Cr=t;var i=ro;t=ho;var o=32-Zl(i)-1;i&=~(1<<o),a+=1;var f=32-Zl(e)+o;if(30<f){var d=o-o%5;f=(i&(1<<d)-1).toString(32),i>>=d,o-=d,ro=1<<32-Zl(e)+o|a<<o|i,ho=f+t}else ro=1<<f|a<<o|i,ho=t}function Ed(t){_i(),t.return!==null&&(Un(t,1),Pm(t,1,0))}function Ad(t){for(;t===fv;)fv=Ih[--Ph],Ih[Ph]=null,V0=Ih[--Ph],Ih[Ph]=null;for(;t===Cr;)Cr=Bu[--wu],Bu[wu]=null,ho=Bu[--wu],Bu[wu]=null,ro=Bu[--wu],Bu[wu]=null}function Kp(){return _i(),Cr!==null?{id:ro,overflow:ho}:null}function $p(t,e){_i(),Bu[wu++]=ro,Bu[wu++]=ho,Bu[wu++]=Cr,ro=e.id,ho=e.overflow,Cr=t}function _i(){ee||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Uc(t,e){if(t.return===null){if($n===null)$n={fiber:t,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:e};else{if($n.fiber!==t)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");$n.distanceFromLeaf>e&&($n.distanceFromLeaf=e)}return $n}var a=Uc(t.return,e+1).children;return 0<a.length&&a[a.length-1].fiber===t?(a=a[a.length-1],a.distanceFromLeaf>e&&(a.distanceFromLeaf=e),a):(e={fiber:t,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:e},a.push(e),e)}function kp(){ee&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function Wl(t,e){oc||(t=Uc(t,0),t.serverProps=null,e!==null&&(e=qg(e),t.serverTail.push(e)))}function cn(t){var e=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,a="",i=$n;throw i!==null&&($n=null,a=Hm(i)),As(ua(Error("Hydration failed because the server rendered "+(e?"text":"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:
119
98
 
120
99
  - A server/client branch \`if (typeof window !== 'undefined')\`.
121
100
  - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
@@ -125,7 +104,7 @@ Check the render method of \``+y+"`."),y=29,a=Error("Element type is invalid: ex
125
104
 
126
105
  It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
127
106
 
128
- https://react.dev/link/hydration-mismatch`+a),t)),FT}function vy(t){var e=t.stateNode,a=t.type,o=t.memoizedProps;switch(e[Ie]=t,e[Ra]=o,Ma(a,o),a){case"dialog":Xt("cancel",e),Xt("close",e);break;case"iframe":case"object":case"embed":Xt("load",e);break;case"video":case"audio":for(a=0;a<N0.length;a++)Xt(N0[a],e);break;case"source":Xt("error",e);break;case"img":case"image":case"link":Xt("error",e),Xt("load",e);break;case"details":Xt("toggle",e);break;case"input":Gu("input",o),Xt("invalid",e),pa(e,o),ah(e,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"option":yv(e,o);break;case"select":Gu("select",o),Xt("invalid",e),lh(e,o);break;case"textarea":Gu("textarea",o),Xt("invalid",e),Xu(e,o),ur(e,o.value,o.defaultValue,o.children)}a=o.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||e.textContent===""+a||o.suppressHydrationWarning===!0||Sg(e.textContent,a)?(o.popover!=null&&(Xt("beforetoggle",e),Xt("toggle",e)),o.onScroll!=null&&Xt("scroll",e),o.onScrollEnd!=null&&Xt("scrollend",e),o.onClick!=null&&(e.onclick=bl),e=!0):e=!1,e||Tl(t,!0)}function by(t){for(wa=t.return;wa;)switch(wa.tag){case 5:case 31:case 13:eo=!1;return;case 27:case 3:eo=!0;return;default:wa=wa.return}}function ns(t){if(t!==wa)return!1;if(!pe)return by(t),pe=!0,!1;var e=t.tag,a;if((a=e!==3&&e!==27)&&((a=e===5)&&(a=t.type,a=!(a!=="form"&&a!=="button")||Kr(t.type,t.memoizedProps)),a=!a),a&&tn){for(a=tn;a;){var o=es(t,0),c=Tb(a);o.serverTail.push(c),a=c.type==="Suspense"?Wr(a):ul(a.nextSibling)}Tl(t)}if(by(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");tn=Wr(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");tn=Wr(t)}else e===27?(e=tn,Au(t.type)?(t=L2,L2=null,tn=t):tn=e):tn=wa?ul(t.stateNode.nextSibling):null;return!0}function tu(){tn=wa=null,Ou=pe=!1}function lf(){var t=vc;return t!==null&&(pl===null?pl=t:pl.push.apply(pl,t),vc=null),t}function of(t){vc===null?vc=[t]:vc.push(t)}function eu(){var t=si;if(t!==null){si=null;for(var e=Wp(t);0<t.children.length;)t=t.children[0];mt(t.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:
107
+ https://react.dev/link/hydration-mismatch`+a),t)),Q1}function ty(t){var e=t.stateNode,a=t.type,i=t.memoizedProps;switch(e[Ze]=t,e[ba]=i,pa(a,i),a){case"dialog":Dt("cancel",e),Dt("close",e);break;case"iframe":case"object":case"embed":Dt("load",e);break;case"video":case"audio":for(a=0;a<pp.length;a++)Dt(pp[a],e);break;case"source":Dt("error",e);break;case"img":case"image":case"link":Dt("error",e),Dt("load",e);break;case"details":Dt("toggle",e);break;case"input":pc("input",i),Dt("invalid",e),na(e,i),nd(e,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"option":_p(e,i);break;case"select":pc("select",i),Dt("invalid",e),ud(e,i);break;case"textarea":pc("textarea",i),Dt("invalid",e),gc(e,i),xo(e,i.value,i.defaultValue,i.children)}a=i.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||e.textContent===""+a||i.suppressHydrationWarning===!0||l0(e.textContent,a)?(i.popover!=null&&(Dt("beforetoggle",e),Dt("toggle",e)),i.onScroll!=null&&Dt("scroll",e),i.onScrollEnd!=null&&Dt("scrollend",e),i.onClick!=null&&(e.onclick=nn),e=!0):e=!1,e||cn(t,!0)}function ey(t){for(Sa=t.return;Sa;)switch(Sa.tag){case 5:case 31:case 13:qu=!1;return;case 27:case 3:qu=!0;return;default:Sa=Sa.return}}function Rc(t){if(t!==Sa)return!1;if(!ee)return ey(t),ee=!0,!1;var e=t.tag,a;if((a=e!==3&&e!==27)&&((a=e===5)&&(a=t.type,a=!(a!=="form"&&a!=="button")||bf(t.type,t.memoizedProps)),a=!a),a&&Ke){for(a=Ke;a;){var i=Uc(t,0),o=qg(a);i.serverTail.push(o),a=o.type==="Suspense"?Ef(a):Ka(a.nextSibling)}cn(t)}if(ey(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Ke=Ef(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Ke=Ef(t)}else e===27?(e=Ke,ec(t.type)?(t=_b,_b=null,Ke=t):Ke=e):Ke=Sa?Ka(t.stateNode.nextSibling):null;return!0}function Hi(){Ke=Sa=null,oc=ee=!1}function Es(){var t=Qf;return t!==null&&(en===null?en=t:en.push.apply(en,t),Qf=null),t}function As(t){Qf===null?Qf=[t]:Qf.push(t)}function Ni(){var t=$n;if(t!==null){$n=null;for(var e=Hm(t);0<t.children.length;)t=t.children[0];$(t.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:
129
108
 
130
109
  - A server/client branch \`if (typeof window !== 'undefined')\`.
131
110
  - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
@@ -135,54 +114,54 @@ https://react.dev/link/hydration-mismatch`+a),t)),FT}function vy(t){var e=t.stat
135
114
 
136
115
  It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
137
116
 
138
- %s%s`,"https://react.dev/link/hydration-mismatch",e)})}}function vr(){Pm=Kb=null,tp=!1}function Al(t,e,a){Vt(WT,e._currentValue,t),e._currentValue=a,Vt(IT,e._currentRenderer,t),e._currentRenderer!==void 0&&e._currentRenderer!==null&&e._currentRenderer!==GD&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),e._currentRenderer=GD}function Ql(t,e){t._currentValue=WT.current;var a=IT.current;Bt(IT,e),t._currentRenderer=a,Bt(WT,e)}function Eh(t,e,a){for(;t!==null;){var o=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,o!==null&&(o.childLanes|=e)):o!==null&&(o.childLanes&e)!==e&&(o.childLanes|=e),t===a)break;t=t.return}t!==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 yo(t,e,a,o){var c=t.child;for(c!==null&&(c.return=t);c!==null;){var f=c.dependencies;if(f!==null){var y=c.child;f=f.firstContext;t:for(;f!==null;){var g=f;f=c;for(var E=0;E<e.length;E++)if(g.context===e[E]){f.lanes|=a,g=f.alternate,g!==null&&(g.lanes|=a),Eh(f.return,a,t),o||(y=null);break t}f=g.next}}else if(c.tag===18){if(y=c.return,y===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");y.lanes|=a,f=y.alternate,f!==null&&(f.lanes|=a),Eh(y,a,t),y=null}else y=c.child;if(y!==null)y.return=c;else for(y=c;y!==null;){if(y===t){y=null;break}if(c=y.sibling,c!==null){c.return=y.return,y=c;break}y=y.return}c=y}}function Zl(t,e,a,o){t=null;for(var c=e,f=!1;c!==null;){if(!f){if((c.flags&524288)!==0)f=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var y=c.alternate;if(y===null)throw Error("Should have a current fiber. This is a bug in React.");if(y=y.memoizedProps,y!==null){var g=c.type;fl(c.pendingProps.value,y.value)||(t!==null?t.push(g):t=[g])}}else if(c===Cu.current){if(y=c.alternate,y===null)throw Error("Should have a current fiber. This is a bug in React.");y.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(t!==null?t.push(L0):t=[L0])}c=c.return}t!==null&&yo(e,t,a,o),e.flags|=262144}function br(t){for(t=t.firstContext;t!==null;){if(!fl(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function nu(t){Kb=t,Pm=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function De(t){return tp&&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()."),Sy(Kb,t)}function uf(t,e){return Kb===null&&nu(t),Sy(t,e)}function Sy(t,e){var a=e._currentValue;if(e={context:e,memoizedValue:a,next:null},Pm===null){if(t===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().");Pm=e,t.dependencies={lanes:0,firstContext:e,_debugThenableState:null},t.flags|=524288}else Pm=Pm.next=e;return a}function xh(){return{controller:new H5,data:new Map,refCount:0}}function as(t){t.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),t.refCount++}function sf(t){t.refCount--,0>t.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),t.refCount===0&&L5(q5,function(){t.controller.abort()})}function Di(t,e,a){(t&127)!==0?0>Ru&&(Ru=Zn(),s0=$b(e),PT=e,a!=null&&(t2=yt(a)),(Te&(la|fi))!==da&&(An=!0,Sc=u0),t=$r(),e=Qi(),t!==ep||e!==r0?ep=-1.1:e!==null&&(Sc=u0),md=t,r0=e):(t&4194048)!==0&&0>no&&(no=Zn(),c0=$b(e),XD=e,a!=null&&(QD=yt(a)),0>Gs)&&(t=$r(),e=Qi(),(t!==Ac||e!==pd)&&(Ac=-1.1),Tc=t,pd=e)}function Nv(t){if(0>Ru){Ru=Zn(),s0=t._debugTask!=null?t._debugTask:null,(Te&(la|fi))!==da&&(Sc=u0);var e=$r(),a=Qi();e!==ep||a!==r0?ep=-1.1:a!==null&&(Sc=u0),md=e,r0=a}0>no&&(no=Zn(),c0=t._debugTask!=null?t._debugTask:null,0>Gs)&&(t=$r(),e=Qi(),(t!==Ac||e!==pd)&&(Ac=-1.1),Tc=t,pd=e)}function Ci(){var t=dd;return dd=0,t}function Sr(t){var e=dd;return dd=t,e}function ga(t){var e=dd;return dd+=t,e}function ls(){Yt=jt=-1.1}function $e(){var t=jt;return jt=-1.1,t}function Vn(t){0<=t&&(jt=t)}function El(){var t=dn;return dn=-0,t}function $a(t){0<=t&&(dn=t)}function Fa(){var t=un;return un=null,t}function xl(){var t=An;return An=!1,t}function go(t){dl=Zn(),0>t.actualStartTime&&(t.actualStartTime=dl)}function Dh(t){if(0<=dl){var e=Zn()-dl;t.actualDuration+=e,t.selfBaseDuration=e,dl=-1}}function rf(t){if(0<=dl){var e=Zn()-dl;t.actualDuration+=e,dl=-1}}function va(){if(0<=dl){var t=Zn(),e=t-dl;dl=-1,dd+=e,dn+=e,Yt=t}}function jv(t){un===null&&(un=[]),un.push(t),qs===null&&(qs=[]),qs.push(t)}function rn(){dl=Zn(),0>jt&&(jt=dl)}function is(t){for(var e=t.child;e;)t.actualDuration+=e.actualDuration,e=e.sibling}function vo(t,e){if(d0===null){var a=d0=[];n2=0,yd=bg(),np={status:"pending",value:void 0,then:function(o){a.push(o)}}}return n2++,e.then(Ty,Ty),e}function Ty(){if(--n2===0&&(-1<no||(Gs=-1.1),d0!==null)){np!==null&&(np.status="fulfilled");var t=d0;d0=null,yd=0,np=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function Ch(t,e){var a=[],o={status:"pending",value:null,reason:null,then:function(c){a.push(c)}};return t.then(function(){o.status="fulfilled",o.value=e;for(var c=0;c<a.length;c++)(0,a[c])(e)},function(c){for(o.status="rejected",o.reason=c,c=0;c<a.length;c++)(0,a[c])(void 0)}),o}function bo(){var t=gd.current;return t!==null?t:ke.pooledCache}function Tr(t,e){e===null?Vt(gd,gd.current,t):Vt(gd,e.pool,t)}function Ay(){var t=bo();return t===null?null:{parent:Qn._currentValue,pool:t}}function Mh(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function Ey(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Wa(t,e,a){P.actQueue!==null&&(P.didUsePromise=!0);var o=t.thenables;if(a=o[a],a===void 0?o.push(e):a!==e&&(t.didWarnAboutUncachedPromise||(t.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.")),e.then(bl,bl),e=a),e._debugInfo===void 0){t=performance.now(),o=e.displayName;var c={name:typeof o=="string"?o:"Promise",start:t,end:t,value:e};e._debugInfo=[{awaited:c}],e.status!=="fulfilled"&&e.status!=="rejected"&&(t=function(){c.end=performance.now()},e.then(t,t))}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,cf(t),t;default:if(typeof e.status=="string")e.then(bl,bl);else{if(t=ke,t!==null&&100<t.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.");t=e,t.status="pending",t.then(function(f){if(e.status==="pending"){var y=e;y.status="fulfilled",y.value=f}},function(f){if(e.status==="pending"){var y=e;y.status="rejected",y.reason=f}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,cf(t),t}throw bd=e,b0=!0,ap}}function Ia(t){try{return Z5(t)}catch(e){throw e!==null&&typeof e=="object"&&typeof e.then=="function"?(bd=e,b0=!0,ap):e}}function os(){if(bd===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var t=bd;return bd=null,b0=!1,t}function cf(t){if(t===ap||t===a1)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 gn(t){var e=oe;return t!=null&&(oe=e===null?t:e.concat(t)),e}function ja(){var t=oe;if(t!=null){for(var e=t.length-1;0<=e;e--)if(t[e].name!=null){var a=t[e].debugTask;if(a!=null)return a}}return null}function ba(t,e,a){for(var o=Object.keys(t.props),c=0;c<o.length;c++){var f=o[c];if(f!=="children"&&f!=="key"){e===null&&(e=Io(t,a.mode,0),e._debugInfo=oe,e.return=a),mt(e,function(y){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",y)},f);break}}}function kl(t){var e=S0;return S0+=1,lp===null&&(lp=Mh()),Wa(lp,t,e)}function Ba(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function Jl(t,e){throw e.$$typeof===wb?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
117
+ %s%s`,"https://react.dev/link/hydration-mismatch",e)})}}function Vo(){tm=sv=null,em=!1}function on(t,e,a){Ht(L1,e._currentValue,t),e._currentValue=a,Ht(Z1,e._currentRenderer,t),e._currentRenderer!==void 0&&e._currentRenderer!==null&&e._currentRenderer!==zS&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),e._currentRenderer=zS}function Rn(t,e){t._currentValue=L1.current;var a=Z1.current;jt(Z1,e),t._currentRenderer=a,jt(L1,e)}function zd(t,e,a){for(;t!==null;){var i=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,i!==null&&(i.childLanes|=e)):i!==null&&(i.childLanes&e)!==e&&(i.childLanes|=e),t===a)break;t=t.return}t!==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 ku(t,e,a,i){var o=t.child;for(o!==null&&(o.return=t);o!==null;){var f=o.dependencies;if(f!==null){var d=o.child;f=f.firstContext;t:for(;f!==null;){var h=f;f=o;for(var y=0;y<e.length;y++)if(h.context===e[y]){f.lanes|=a,h=f.alternate,h!==null&&(h.lanes|=a),zd(f.return,a,t),i||(d=null);break t}f=h.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),zd(d,a,t),d=null}else d=o.child;if(d!==null)d.return=o;else for(d=o;d!==null;){if(d===t){d=null;break}if(o=d.sibling,o!==null){o.return=d.return,d=o;break}d=d.return}o=d}}function xn(t,e,a,i){t=null;for(var o=e,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 h=o.type;Fa(o.pendingProps.value,d.value)||(t!==null?t.push(h):t=[h])}}else if(o===uc.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&&(t!==null?t.push(Tp):t=[Tp])}o=o.return}t!==null&&ku(e,t,a,i),e.flags|=262144}function Qo(t){for(t=t.firstContext;t!==null;){if(!Fa(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Bi(t){sv=t,tm=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function ye(t){return em&&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()."),ly(sv,t)}function zs(t,e){return sv===null&&Bi(t),ly(t,e)}function ly(t,e){var a=e._currentValue;if(e={context:e,memoizedValue:a,next:null},tm===null){if(t===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().");tm=e,t.dependencies={lanes:0,firstContext:e,_debugThenableState:null},t.flags|=524288}else tm=tm.next=e;return a}function Dd(){return{controller:new oE,data:new Map,refCount:0}}function xc(t){t.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),t.refCount++}function Ds(t){t.refCount--,0>t.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),t.refCount===0&&fE(sE,function(){t.controller.abort()})}function cu(t,e,a){(t&127)!==0?0>fc&&(fc=Bl(),L0=rv(e),J1=e,a!=null&&(K1=at(a)),(se&($l|Fn))!==la&&(ml=!0,Zf=Q0),t=Sf(),e=Mu(),t!==lm||e!==Z0?lm=-1.1:e!==null&&(Zf=Q0),xr=t,Z0=e):(t&4194048)!==0&&0>Yu&&(Yu=Bl(),J0=rv(e),DS=e,a!=null&&(MS=at(a)),0>go)&&(t=Sf(),e=Mu(),(t!==Kf||e!==_r)&&(Kf=-1.1),Jf=t,_r=e)}function Wp(t){if(0>fc){fc=Bl(),L0=t._debugTask!=null?t._debugTask:null,(se&($l|Fn))!==la&&(Zf=Q0);var e=Sf(),a=Mu();e!==lm||a!==Z0?lm=-1.1:a!==null&&(Zf=Q0),xr=e,Z0=a}0>Yu&&(Yu=Bl(),J0=t._debugTask!=null?t._debugTask:null,0>go)&&(t=Sf(),e=Mu(),(t!==Kf||e!==_r)&&(Kf=-1.1),Jf=t,_r=e)}function ou(){var t=Ur;return Ur=0,t}function Lo(t){var e=Ur;return Ur=t,e}function ia(t){var e=Ur;return Ur+=t,e}function _c(){At=gt=-1.1}function Ve(){var t=gt;return gt=-1.1,t}function Ol(t){0<=t&&(gt=t)}function fn(){var t=ul;return ul=-0,t}function Ba(t){0<=t&&(ul=t)}function wa(){var t=el;return el=null,t}function sn(){var t=ml;return ml=!1,t}function Wu(t){Ia=Bl(),0>t.actualStartTime&&(t.actualStartTime=Ia)}function Md(t){if(0<=Ia){var e=Bl()-Ia;t.actualDuration+=e,t.selfBaseDuration=e,Ia=-1}}function Ms(t){if(0<=Ia){var e=Bl()-Ia;t.actualDuration+=e,Ia=-1}}function ca(){if(0<=Ia){var t=Bl(),e=t-Ia;Ia=-1,Ur+=e,ul+=e,At=t}}function Fp(t){el===null&&(el=[]),el.push(t),yo===null&&(yo=[]),yo.push(t)}function ll(){Ia=Bl(),0>gt&&(gt=Ia)}function Hc(t){for(var e=t.child;e;)t.actualDuration+=e.actualDuration,e=e.sibling}function Fu(t,e){if($0===null){var a=$0=[];k1=0,Hr=e0(),am={status:"pending",value:void 0,then:function(i){a.push(i)}}}return k1++,e.then(ay,ay),e}function ay(){if(--k1===0&&(-1<Yu||(go=-1.1),$0!==null)){am!==null&&(am.status="fulfilled");var t=$0;$0=null,Hr=0,am=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function Od(t,e){var a=[],i={status:"pending",value:null,reason:null,then:function(o){a.push(o)}};return t.then(function(){i.status="fulfilled",i.value=e;for(var o=0;o<a.length;o++)(0,a[o])(e)},function(o){for(i.status="rejected",i.reason=o,o=0;o<a.length;o++)(0,a[o])(void 0)}),i}function Iu(){var t=Nr.current;return t!==null?t:qe.pooledCache}function Zo(t,e){e===null?Ht(Nr,Nr.current,t):Ht(Nr,e.pool,t)}function ny(){var t=Iu();return t===null?null:{parent:Nl._currentValue,pool:t}}function Cd(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function uy(t){return t=t.status,t==="fulfilled"||t==="rejected"}function qa(t,e,a){Y.actQueue!==null&&(Y.didUsePromise=!0);var i=t.thenables;if(a=i[a],a===void 0?i.push(e):a!==e&&(t.didWarnAboutUncachedPromise||(t.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.")),e.then(nn,nn),e=a),e._debugInfo===void 0){t=performance.now(),i=e.displayName;var o={name:typeof i=="string"?i:"Promise",start:t,end:t,value:e};e._debugInfo=[{awaited:o}],e.status!=="fulfilled"&&e.status!=="rejected"&&(t=function(){o.end=performance.now()},e.then(t,t))}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Os(t),t;default:if(typeof e.status=="string")e.then(nn,nn);else{if(t=qe,t!==null&&100<t.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.");t=e,t.status="pending",t.then(function(f){if(e.status==="pending"){var d=e;d.status="fulfilled",d.value=f}},function(f){if(e.status==="pending"){var d=e;d.status="rejected",d.reason=f}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Os(t),t}throw wr=e,ep=!0,nm}}function Ya(t){try{return yE(t)}catch(e){throw e!==null&&typeof e=="object"&&typeof e.then=="function"?(wr=e,ep=!0,nm):e}}function Nc(){if(wr===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var t=wr;return wr=null,ep=!1,t}function Os(t){if(t===nm||t===bv)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 fl(t){var e=Zt;return t!=null&&(Zt=e===null?t:e.concat(t)),e}function Aa(){var t=Zt;if(t!=null){for(var e=t.length-1;0<=e;e--)if(t[e].name!=null){var a=t[e].debugTask;if(a!=null)return a}}return null}function oa(t,e,a){for(var i=Object.keys(t.props),o=0;o<i.length;o++){var f=i[o];if(f!=="children"&&f!=="key"){e===null&&(e=xi(t,a.mode,0),e._debugInfo=Zt,e.return=a),$(e,function(d){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",d)},f);break}}}function _n(t){var e=lp;return lp+=1,um===null&&(um=Cd()),qa(um,t,e)}function za(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function Hn(t,e){throw e.$$typeof===Kg?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
139
118
  - Multiple copies of the "react" package is used.
140
119
  - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
141
- - A compiler tries to "inline" JSX instead of using the runtime.`):(t=Object.prototype.toString.call(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead."))}function Dl(t,e){var a=ja();a!==null?a.run(Jl.bind(null,t,e)):Jl(t,e)}function xy(t,e){var a=yt(t)||"Component";cC[a]||(cC[a]=!0,e=e.displayName||e.name||"Component",t.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.
120
+ - A compiler tries to "inline" JSX instead of using the runtime.`):(t=Object.prototype.toString.call(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead."))}function rn(t,e){var a=Aa();a!==null?a.run(Hn.bind(null,t,e)):Hn(t,e)}function iy(t,e){var a=at(t)||"Component";JS[a]||(JS[a]=!0,e=e.displayName||e.name||"Component",t.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.
142
121
  root.render(%s)`,e,e,e):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.
143
- <%s>{%s}</%s>`,e,e,a,e,a))}function Ar(t,e){var a=ja();a!==null?a.run(xy.bind(null,t,e)):xy(t,e)}function zh(t,e){var a=yt(t)||"Component";fC[a]||(fC[a]=!0,e=String(e),t.tag===3?console.error(`Symbols are not valid as a React child.
122
+ <%s>{%s}</%s>`,e,e,a,e,a))}function Jo(t,e){var a=Aa();a!==null?a.run(iy.bind(null,t,e)):iy(t,e)}function Ud(t,e){var a=at(t)||"Component";KS[a]||(KS[a]=!0,e=String(e),t.tag===3?console.error(`Symbols are not valid as a React child.
144
123
  root.render(%s)`,e):console.error(`Symbols are not valid as a React child.
145
- <%s>%s</%s>`,a,e,a))}function ff(t,e){var a=ja();a!==null?a.run(zh.bind(null,t,e)):zh(t,e)}function Hn(t){function e(R,_){if(t){var B=R.deletions;B===null?(R.deletions=[_],R.flags|=16):B.push(_)}}function a(R,_){if(!t)return null;for(;_!==null;)e(R,_),_=_.sibling;return null}function o(R){for(var _=new Map;R!==null;)R.key!==null?_.set(R.key,R):_.set(R.index,R),R=R.sibling;return _}function c(R,_){return R=xi(R,_),R.index=0,R.sibling=null,R}function f(R,_,B){return R.index=B,t?(B=R.alternate,B!==null?(B=B.index,B<_?(R.flags|=67108866,_):B):(R.flags|=67108866,_)):(R.flags|=1048576,_)}function y(R){return t&&R.alternate===null&&(R.flags|=67108866),R}function g(R,_,B,at){return _===null||_.tag!==6?(_=gr(B,R.mode,at),_.return=R,_._debugOwner=R,_._debugTask=R._debugTask,_._debugInfo=oe,_):(_=c(_,B),_.return=R,_._debugInfo=oe,_)}function E(R,_,B,at){var At=B.type;return At===nc?(_=V(R,_,B.props.children,at,B.key),ba(B,_,R),_):_!==null&&(_.elementType===At||hy(_,B)||typeof At=="object"&&At!==null&&At.$$typeof===sa&&Ia(At)===_.type)?(_=c(_,B.props),Ba(_,B),_.return=R,_._debugOwner=B._owner,_._debugInfo=oe,_):(_=Io(B,R.mode,at),Ba(_,B),_.return=R,_._debugInfo=oe,_)}function D(R,_,B,at){return _===null||_.tag!==4||_.stateNode.containerInfo!==B.containerInfo||_.stateNode.implementation!==B.implementation?(_=Sh(B,R.mode,at),_.return=R,_._debugInfo=oe,_):(_=c(_,B.children||[]),_.return=R,_._debugInfo=oe,_)}function V(R,_,B,at,At){return _===null||_.tag!==7?(_=ts(B,R.mode,at,At),_.return=R,_._debugOwner=R,_._debugTask=R._debugTask,_._debugInfo=oe,_):(_=c(_,B),_.return=R,_._debugInfo=oe,_)}function L(R,_,B){if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return _=gr(""+_,R.mode,B),_.return=R,_._debugOwner=R,_._debugTask=R._debugTask,_._debugInfo=oe,_;if(typeof _=="object"&&_!==null){switch(_.$$typeof){case Rl:return B=Io(_,R.mode,B),Ba(B,_),B.return=R,R=gn(_._debugInfo),B._debugInfo=oe,oe=R,B;case xu:return _=Sh(_,R.mode,B),_.return=R,_._debugInfo=oe,_;case sa:var at=gn(_._debugInfo);return _=Ia(_),R=L(R,_,B),oe=at,R}if(Dn(_)||Dt(_))return B=ts(_,R.mode,B,null),B.return=R,B._debugOwner=R,B._debugTask=R._debugTask,R=gn(_._debugInfo),B._debugInfo=oe,oe=R,B;if(typeof _.then=="function")return at=gn(_._debugInfo),R=L(R,kl(_),B),oe=at,R;if(_.$$typeof===ii)return L(R,uf(R,_),B);Dl(R,_)}return typeof _=="function"&&Ar(R,_),typeof _=="symbol"&&ff(R,_),null}function U(R,_,B,at){var At=_!==null?_.key:null;if(typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint")return At!==null?null:g(R,_,""+B,at);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case Rl:return B.key===At?(At=gn(B._debugInfo),R=E(R,_,B,at),oe=At,R):null;case xu:return B.key===At?D(R,_,B,at):null;case sa:return At=gn(B._debugInfo),B=Ia(B),R=U(R,_,B,at),oe=At,R}if(Dn(B)||Dt(B))return At!==null?null:(At=gn(B._debugInfo),R=V(R,_,B,at,null),oe=At,R);if(typeof B.then=="function")return At=gn(B._debugInfo),R=U(R,_,kl(B),at),oe=At,R;if(B.$$typeof===ii)return U(R,_,uf(R,B),at);Dl(R,B)}return typeof B=="function"&&Ar(R,B),typeof B=="symbol"&&ff(R,B),null}function K(R,_,B,at,At){if(typeof at=="string"&&at!==""||typeof at=="number"||typeof at=="bigint")return R=R.get(B)||null,g(_,R,""+at,At);if(typeof at=="object"&&at!==null){switch(at.$$typeof){case Rl:return B=R.get(at.key===null?B:at.key)||null,R=gn(at._debugInfo),_=E(_,B,at,At),oe=R,_;case xu:return R=R.get(at.key===null?B:at.key)||null,D(_,R,at,At);case sa:var Wt=gn(at._debugInfo);return at=Ia(at),_=K(R,_,B,at,At),oe=Wt,_}if(Dn(at)||Dt(at))return B=R.get(B)||null,R=gn(at._debugInfo),_=V(_,B,at,At,null),oe=R,_;if(typeof at.then=="function")return Wt=gn(at._debugInfo),_=K(R,_,B,kl(at),At),oe=Wt,_;if(at.$$typeof===ii)return K(R,_,B,uf(_,at),At);Dl(_,at)}return typeof at=="function"&&Ar(_,at),typeof at=="symbol"&&ff(_,at),null}function vt(R,_,B,at){if(typeof B!="object"||B===null)return at;switch(B.$$typeof){case Rl:case xu:M(R,_,B);var At=B.key;if(typeof At!="string")break;if(at===null){at=new Set,at.add(At);break}if(!at.has(At)){at.add(At);break}mt(_,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.",At)});break;case sa:B=Ia(B),vt(R,_,B,at)}return at}function Et(R,_,B,at){for(var At=null,Wt=null,Nt=null,Ut=_,ae=_=0,en=null;Ut!==null&&ae<B.length;ae++){Ut.index>ae?(en=Ut,Ut=null):en=Ut.sibling;var Nn=U(R,Ut,B[ae],at);if(Nn===null){Ut===null&&(Ut=en);break}At=vt(R,Nn,B[ae],At),t&&Ut&&Nn.alternate===null&&e(R,Ut),_=f(Nn,_,ae),Nt===null?Wt=Nn:Nt.sibling=Nn,Nt=Nn,Ut=en}if(ae===B.length)return a(R,Ut),pe&&Xl(R,ae),Wt;if(Ut===null){for(;ae<B.length;ae++)Ut=L(R,B[ae],at),Ut!==null&&(At=vt(R,Ut,B[ae],At),_=f(Ut,_,ae),Nt===null?Wt=Ut:Nt.sibling=Ut,Nt=Ut);return pe&&Xl(R,ae),Wt}for(Ut=o(Ut);ae<B.length;ae++)en=K(Ut,R,ae,B[ae],at),en!==null&&(At=vt(R,en,B[ae],At),t&&en.alternate!==null&&Ut.delete(en.key===null?ae:en.key),_=f(en,_,ae),Nt===null?Wt=en:Nt.sibling=en,Nt=en);return t&&Ut.forEach(function(Fs){return e(R,Fs)}),pe&&Xl(R,ae),Wt}function Ke(R,_,B,at){if(B==null)throw Error("An iterable object provided no iterator.");for(var At=null,Wt=null,Nt=_,Ut=_=0,ae=null,en=null,Nn=B.next();Nt!==null&&!Nn.done;Ut++,Nn=B.next()){Nt.index>Ut?(ae=Nt,Nt=null):ae=Nt.sibling;var Fs=U(R,Nt,Nn.value,at);if(Fs===null){Nt===null&&(Nt=ae);break}en=vt(R,Fs,Nn.value,en),t&&Nt&&Fs.alternate===null&&e(R,Nt),_=f(Fs,_,Ut),Wt===null?At=Fs:Wt.sibling=Fs,Wt=Fs,Nt=ae}if(Nn.done)return a(R,Nt),pe&&Xl(R,Ut),At;if(Nt===null){for(;!Nn.done;Ut++,Nn=B.next())Nt=L(R,Nn.value,at),Nt!==null&&(en=vt(R,Nt,Nn.value,en),_=f(Nt,_,Ut),Wt===null?At=Nt:Wt.sibling=Nt,Wt=Nt);return pe&&Xl(R,Ut),At}for(Nt=o(Nt);!Nn.done;Ut++,Nn=B.next())ae=K(Nt,R,Ut,Nn.value,at),ae!==null&&(en=vt(R,ae,Nn.value,en),t&&ae.alternate!==null&&Nt.delete(ae.key===null?Ut:ae.key),_=f(ae,_,Ut),Wt===null?At=ae:Wt.sibling=ae,Wt=ae);return t&&Nt.forEach(function(p6){return e(R,p6)}),pe&&Xl(R,Ut),At}function ge(R,_,B,at){if(typeof B=="object"&&B!==null&&B.type===nc&&B.key===null&&(ba(B,null,R),B=B.props.children),typeof B=="object"&&B!==null){switch(B.$$typeof){case Rl:var At=gn(B._debugInfo);t:{for(var Wt=B.key;_!==null;){if(_.key===Wt){if(Wt=B.type,Wt===nc){if(_.tag===7){a(R,_.sibling),at=c(_,B.props.children),at.return=R,at._debugOwner=B._owner,at._debugInfo=oe,ba(B,at,R),R=at;break t}}else if(_.elementType===Wt||hy(_,B)||typeof Wt=="object"&&Wt!==null&&Wt.$$typeof===sa&&Ia(Wt)===_.type){a(R,_.sibling),at=c(_,B.props),Ba(at,B),at.return=R,at._debugOwner=B._owner,at._debugInfo=oe,R=at;break t}a(R,_);break}else e(R,_);_=_.sibling}B.type===nc?(at=ts(B.props.children,R.mode,at,B.key),at.return=R,at._debugOwner=R,at._debugTask=R._debugTask,at._debugInfo=oe,ba(B,at,R),R=at):(at=Io(B,R.mode,at),Ba(at,B),at.return=R,at._debugInfo=oe,R=at)}return R=y(R),oe=At,R;case xu:t:{for(At=B,B=At.key;_!==null;){if(_.key===B)if(_.tag===4&&_.stateNode.containerInfo===At.containerInfo&&_.stateNode.implementation===At.implementation){a(R,_.sibling),at=c(_,At.children||[]),at.return=R,R=at;break t}else{a(R,_);break}else e(R,_);_=_.sibling}at=Sh(At,R.mode,at),at.return=R,R=at}return y(R);case sa:return At=gn(B._debugInfo),B=Ia(B),R=ge(R,_,B,at),oe=At,R}if(Dn(B))return At=gn(B._debugInfo),R=Et(R,_,B,at),oe=At,R;if(Dt(B)){if(At=gn(B._debugInfo),Wt=Dt(B),typeof Wt!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Nt=Wt.call(B);return Nt===B?(R.tag!==0||Object.prototype.toString.call(R.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Nt)!=="[object Generator]")&&(sC||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."),sC=!0):B.entries!==Wt||o2||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),o2=!0),R=Ke(R,_,Nt,at),oe=At,R}if(typeof B.then=="function")return At=gn(B._debugInfo),R=ge(R,_,kl(B),at),oe=At,R;if(B.$$typeof===ii)return ge(R,_,uf(R,B),at);Dl(R,B)}return typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint"?(At=""+B,_!==null&&_.tag===6?(a(R,_.sibling),at=c(_,At),at.return=R,R=at):(a(R,_),at=gr(At,R.mode,at),at.return=R,at._debugOwner=R,at._debugTask=R._debugTask,at._debugInfo=oe,R=at),y(R)):(typeof B=="function"&&Ar(R,B),typeof B=="symbol"&&ff(R,B),a(R,_))}return function(R,_,B,at){var At=oe;oe=null;try{S0=0;var Wt=ge(R,_,B,at);return lp=null,Wt}catch(en){if(en===ap||en===a1)throw en;var Nt=w(29,en,null,R.mode);Nt.lanes=at,Nt.return=R;var Ut=Nt._debugInfo=oe;if(Nt._debugOwner=R._debugOwner,Nt._debugTask=R._debugTask,Ut!=null){for(var ae=Ut.length-1;0<=ae;ae--)if(typeof Ut[ae].stack=="string"){Nt._debugOwner=Ut[ae],Nt._debugTask=Ut[ae].debugTask;break}}return Nt}finally{oe=At}}}function Ge(t,e){var a=Dn(t);return t=!a&&typeof Dt(t)=="function",a||t?(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,e,a),!1):!0}function he(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Mi(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function zn(t){return{lane:t,tag:hC,payload:null,callback:null,next:null}}function zi(t,e,a){var o=t.updateQueue;if(o===null)return null;if(o=o.shared,s2===o&&!yC){var c=yt(t);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.
124
+ <%s>%s</%s>`,a,e,a))}function Cs(t,e){var a=Aa();a!==null?a.run(Ud.bind(null,t,e)):Ud(t,e)}function Cl(t){function e(b,T){if(t){var z=b.deletions;z===null?(b.deletions=[T],b.flags|=16):z.push(T)}}function a(b,T){if(!t)return null;for(;T!==null;)e(b,T),T=T.sibling;return null}function i(b){for(var T=new Map;b!==null;)b.key!==null?T.set(b.key,b):T.set(b.index,b),b=b.sibling;return T}function o(b,T){return b=iu(b,T),b.index=0,b.sibling=null,b}function f(b,T,z){return b.index=z,t?(z=b.alternate,z!==null?(z=z.index,z<T?(b.flags|=67108866,T):z):(b.flags|=67108866,T)):(b.flags|=1048576,T)}function d(b){return t&&b.alternate===null&&(b.flags|=67108866),b}function h(b,T,z,X){return T===null||T.tag!==6?(T=Xo(z,b.mode,X),T.return=b,T._debugOwner=b,T._debugTask=b._debugTask,T._debugInfo=Zt,T):(T=o(T,z),T.return=b,T._debugInfo=Zt,T)}function y(b,T,z,X){var P=z.type;return P===Of?(T=D(b,T,z.props.children,X,z.key),oa(z,T,b),T):T!==null&&(T.elementType===P||km(T,z)||typeof P=="object"&&P!==null&&P.$$typeof===Il&&Ya(P)===T.type)?(T=o(T,z.props),za(T,z),T.return=b,T._debugOwner=z._owner,T._debugInfo=Zt,T):(T=xi(z,b.mode,X),za(T,z),T.return=b,T._debugInfo=Zt,T)}function p(b,T,z,X){return T===null||T.tag!==4||T.stateNode.containerInfo!==z.containerInfo||T.stateNode.implementation!==z.implementation?(T=Td(z,b.mode,X),T.return=b,T._debugInfo=Zt,T):(T=o(T,z.children||[]),T.return=b,T._debugInfo=Zt,T)}function D(b,T,z,X,P){return T===null||T.tag!==7?(T=Cc(z,b.mode,X,P),T.return=b,T._debugOwner=b,T._debugTask=b._debugTask,T._debugInfo=Zt,T):(T=o(T,z),T.return=b,T._debugInfo=Zt,T)}function O(b,T,z){if(typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint")return T=Xo(""+T,b.mode,z),T.return=b,T._debugOwner=b,T._debugTask=b._debugTask,T._debugInfo=Zt,T;if(typeof T=="object"&&T!==null){switch(T.$$typeof){case pn:return z=xi(T,b.mode,z),za(z,T),z.return=b,b=fl(T._debugInfo),z._debugInfo=Zt,Zt=b,z;case ac:return T=Td(T,b.mode,z),T.return=b,T._debugInfo=Zt,T;case Il:var X=fl(T._debugInfo);return T=Ya(T),b=O(b,T,z),Zt=X,b}if(gl(T)||Ge(T))return z=Cc(T,b.mode,z,null),z.return=b,z._debugOwner=b,z._debugTask=b._debugTask,b=fl(T._debugInfo),z._debugInfo=Zt,Zt=b,z;if(typeof T.then=="function")return X=fl(T._debugInfo),b=O(b,_n(T),z),Zt=X,b;if(T.$$typeof===Zn)return O(b,zs(b,T),z);rn(b,T)}return typeof T=="function"&&Jo(b,T),typeof T=="symbol"&&Cs(b,T),null}function S(b,T,z,X){var P=T!==null?T.key:null;if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return P!==null?null:h(b,T,""+z,X);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case pn:return z.key===P?(P=fl(z._debugInfo),b=y(b,T,z,X),Zt=P,b):null;case ac:return z.key===P?p(b,T,z,X):null;case Il:return P=fl(z._debugInfo),z=Ya(z),b=S(b,T,z,X),Zt=P,b}if(gl(z)||Ge(z))return P!==null?null:(P=fl(z._debugInfo),b=D(b,T,z,X,null),Zt=P,b);if(typeof z.then=="function")return P=fl(z._debugInfo),b=S(b,T,_n(z),X),Zt=P,b;if(z.$$typeof===Zn)return S(b,T,zs(b,z),X);rn(b,z)}return typeof z=="function"&&Jo(b,z),typeof z=="symbol"&&Cs(b,z),null}function N(b,T,z,X,P){if(typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint")return b=b.get(z)||null,h(T,b,""+X,P);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case pn:return z=b.get(X.key===null?z:X.key)||null,b=fl(X._debugInfo),T=y(T,z,X,P),Zt=b,T;case ac:return b=b.get(X.key===null?z:X.key)||null,p(T,b,X,P);case Il:var xt=fl(X._debugInfo);return X=Ya(X),T=N(b,T,z,X,P),Zt=xt,T}if(gl(X)||Ge(X))return z=b.get(z)||null,b=fl(X._debugInfo),T=D(T,z,X,P,null),Zt=b,T;if(typeof X.then=="function")return xt=fl(X._debugInfo),T=N(b,T,z,_n(X),P),Zt=xt,T;if(X.$$typeof===Zn)return N(b,T,z,zs(T,X),P);rn(T,X)}return typeof X=="function"&&Jo(T,X),typeof X=="symbol"&&Cs(T,X),null}function F(b,T,z,X){if(typeof z!="object"||z===null)return X;switch(z.$$typeof){case pn:case ac:St(b,T,z);var P=z.key;if(typeof P!="string")break;if(X===null){X=new Set,X.add(P);break}if(!X.has(P)){X.add(P);break}$(T,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.",P)});break;case Il:z=Ya(z),F(b,T,z,X)}return X}function nt(b,T,z,X){for(var P=null,xt=null,pt=null,dt=T,Vt=T=0,$e=null;dt!==null&&Vt<z.length;Vt++){dt.index>Vt?($e=dt,dt=null):$e=dt.sibling;var Dl=S(b,dt,z[Vt],X);if(Dl===null){dt===null&&(dt=$e);break}P=F(b,Dl,z[Vt],P),t&&dt&&Dl.alternate===null&&e(b,dt),T=f(Dl,T,Vt),pt===null?xt=Dl:pt.sibling=Dl,pt=Dl,dt=$e}if(Vt===z.length)return a(b,dt),ee&&Un(b,Vt),xt;if(dt===null){for(;Vt<z.length;Vt++)dt=O(b,z[Vt],X),dt!==null&&(P=F(b,dt,z[Vt],P),T=f(dt,T,Vt),pt===null?xt=dt:pt.sibling=dt,pt=dt);return ee&&Un(b,Vt),xt}for(dt=i(dt);Vt<z.length;Vt++)$e=N(dt,b,Vt,z[Vt],X),$e!==null&&(P=F(b,$e,z[Vt],P),t&&$e.alternate!==null&&dt.delete($e.key===null?Vt:$e.key),T=f($e,T,Vt),pt===null?xt=$e:pt.sibling=$e,pt=$e);return t&&dt.forEach(function(Do){return e(b,Do)}),ee&&Un(b,Vt),xt}function je(b,T,z,X){if(z==null)throw Error("An iterable object provided no iterator.");for(var P=null,xt=null,pt=T,dt=T=0,Vt=null,$e=null,Dl=z.next();pt!==null&&!Dl.done;dt++,Dl=z.next()){pt.index>dt?(Vt=pt,pt=null):Vt=pt.sibling;var Do=S(b,pt,Dl.value,X);if(Do===null){pt===null&&(pt=Vt);break}$e=F(b,Do,Dl.value,$e),t&&pt&&Do.alternate===null&&e(b,pt),T=f(Do,T,dt),xt===null?P=Do:xt.sibling=Do,xt=Do,pt=Vt}if(Dl.done)return a(b,pt),ee&&Un(b,dt),P;if(pt===null){for(;!Dl.done;dt++,Dl=z.next())pt=O(b,Dl.value,X),pt!==null&&($e=F(b,pt,Dl.value,$e),T=f(pt,T,dt),xt===null?P=pt:xt.sibling=pt,xt=pt);return ee&&Un(b,dt),P}for(pt=i(pt);!Dl.done;dt++,Dl=z.next())Vt=N(pt,b,dt,Dl.value,X),Vt!==null&&($e=F(b,Vt,Dl.value,$e),t&&Vt.alternate!==null&&pt.delete(Vt.key===null?dt:Vt.key),T=f(Vt,T,dt),xt===null?P=Vt:xt.sibling=Vt,xt=Vt);return t&&pt.forEach(function(jE){return e(b,jE)}),ee&&Un(b,dt),P}function ne(b,T,z,X){if(typeof z=="object"&&z!==null&&z.type===Of&&z.key===null&&(oa(z,null,b),z=z.props.children),typeof z=="object"&&z!==null){switch(z.$$typeof){case pn:var P=fl(z._debugInfo);t:{for(var xt=z.key;T!==null;){if(T.key===xt){if(xt=z.type,xt===Of){if(T.tag===7){a(b,T.sibling),X=o(T,z.props.children),X.return=b,X._debugOwner=z._owner,X._debugInfo=Zt,oa(z,X,b),b=X;break t}}else if(T.elementType===xt||km(T,z)||typeof xt=="object"&&xt!==null&&xt.$$typeof===Il&&Ya(xt)===T.type){a(b,T.sibling),X=o(T,z.props),za(X,z),X.return=b,X._debugOwner=z._owner,X._debugInfo=Zt,b=X;break t}a(b,T);break}else e(b,T);T=T.sibling}z.type===Of?(X=Cc(z.props.children,b.mode,X,z.key),X.return=b,X._debugOwner=b,X._debugTask=b._debugTask,X._debugInfo=Zt,oa(z,X,b),b=X):(X=xi(z,b.mode,X),za(X,z),X.return=b,X._debugInfo=Zt,b=X)}return b=d(b),Zt=P,b;case ac:t:{for(P=z,z=P.key;T!==null;){if(T.key===z)if(T.tag===4&&T.stateNode.containerInfo===P.containerInfo&&T.stateNode.implementation===P.implementation){a(b,T.sibling),X=o(T,P.children||[]),X.return=b,b=X;break t}else{a(b,T);break}else e(b,T);T=T.sibling}X=Td(P,b.mode,X),X.return=b,b=X}return d(b);case Il:return P=fl(z._debugInfo),z=Ya(z),b=ne(b,T,z,X),Zt=P,b}if(gl(z))return P=fl(z._debugInfo),b=nt(b,T,z,X),Zt=P,b;if(Ge(z)){if(P=fl(z._debugInfo),xt=Ge(z),typeof xt!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var pt=xt.call(z);return pt===z?(b.tag!==0||Object.prototype.toString.call(b.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(pt)!=="[object Generator]")&&(LS||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."),LS=!0):z.entries!==xt||P1||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),P1=!0),b=je(b,T,pt,X),Zt=P,b}if(typeof z.then=="function")return P=fl(z._debugInfo),b=ne(b,T,_n(z),X),Zt=P,b;if(z.$$typeof===Zn)return ne(b,T,zs(b,z),X);rn(b,z)}return typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint"?(P=""+z,T!==null&&T.tag===6?(a(b,T.sibling),X=o(T,P),X.return=b,b=X):(a(b,T),X=Xo(P,b.mode,X),X.return=b,X._debugOwner=b,X._debugTask=b._debugTask,X._debugInfo=Zt,b=X),d(b)):(typeof z=="function"&&Jo(b,z),typeof z=="symbol"&&Cs(b,z),a(b,T))}return function(b,T,z,X){var P=Zt;Zt=null;try{lp=0;var xt=ne(b,T,z,X);return um=null,xt}catch($e){if($e===nm||$e===bv)throw $e;var pt=ct(29,$e,null,b.mode);pt.lanes=X,pt.return=b;var dt=pt._debugInfo=Zt;if(pt._debugOwner=b._debugOwner,pt._debugTask=b._debugTask,dt!=null){for(var Vt=dt.length-1;0<=Vt;Vt--)if(typeof dt[Vt].stack=="string"){pt._debugOwner=dt[Vt],pt._debugTask=dt[Vt].debugTask;break}}return pt}finally{Zt=P}}}function He(t,e){var a=gl(t);return t=!a&&typeof Ge(t)=="function",a||t?(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,e,a),!1):!0}function It(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function fu(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function bl(t){return{lane:t,tag:kS,payload:null,callback:null,next:null}}function su(t,e,a){var i=t.updateQueue;if(i===null)return null;if(i=i.shared,eb===i&&!IS){var o=at(t);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.
146
125
 
147
- Please update the following component: %s`,c),yC=!0}return(Te&la)!==da?(c=o.pending,c===null?e.next=e:(e.next=c.next,c.next=e),o.pending=e,e=af(t),dy(t,null,a),e):(yr(t,o,e,a),af(t))}function Cl(t,e,a){if(e=e.updateQueue,e!==null&&(e=e.shared,(a&4194048)!==0)){var o=e.lanes;o&=t.pendingLanes,a|=o,e.lanes=a,dv(t,a)}}function df(t,e){var a=t.updateQueue,o=t.alternate;if(o!==null&&(o=o.updateQueue,a===o)){var c=null,f=null;if(a=a.firstBaseUpdate,a!==null){do{var y={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};f===null?c=f=y:f=f.next=y,a=a.next}while(a!==null);f===null?c=f=e:f=f.next=e}else c=f=e;a={baseState:o.baseState,firstBaseUpdate:c,lastBaseUpdate:f,shared:o.shared,callbacks:o.callbacks},t.updateQueue=a;return}t=a.lastBaseUpdate,t===null?a.firstBaseUpdate=e:t.next=e,a.lastBaseUpdate=e}function Er(){if(r2){var t=np;if(t!==null)throw t}}function Oi(t,e,a,o){r2=!1;var c=t.updateQueue;Ec=!1,s2=c.shared;var f=c.firstBaseUpdate,y=c.lastBaseUpdate,g=c.shared.pending;if(g!==null){c.shared.pending=null;var E=g,D=E.next;E.next=null,y===null?f=D:y.next=D,y=E;var V=t.alternate;V!==null&&(V=V.updateQueue,g=V.lastBaseUpdate,g!==y&&(g===null?V.firstBaseUpdate=D:g.next=D,V.lastBaseUpdate=E))}if(f!==null){var L=c.baseState;y=0,V=D=E=null,g=f;do{var U=g.lane&-536870913,K=U!==g.lane;if(K?(ue&U)===U:(o&U)===U){U!==0&&U===yd&&(r2=!0),V!==null&&(V=V.next={lane:0,tag:g.tag,payload:g.payload,callback:null,next:null});t:{U=t;var vt=g,Et=e,Ke=a;switch(vt.tag){case mC:if(vt=vt.payload,typeof vt=="function"){tp=!0;var ge=vt.call(Ke,L,Et);if(U.mode&Xa){Ye(!0);try{vt.call(Ke,L,Et)}finally{Ye(!1)}}tp=!1,L=ge;break t}L=vt;break t;case u2:U.flags=U.flags&-65537|128;case hC:if(ge=vt.payload,typeof ge=="function"){if(tp=!0,vt=ge.call(Ke,L,Et),U.mode&Xa){Ye(!0);try{ge.call(Ke,L,Et)}finally{Ye(!1)}}tp=!1}else vt=ge;if(vt==null)break t;L=le({},L,vt);break t;case pC:Ec=!0}}U=g.callback,U!==null&&(t.flags|=64,K&&(t.flags|=8192),K=c.callbacks,K===null?c.callbacks=[U]:K.push(U))}else K={lane:U,tag:g.tag,payload:g.payload,callback:g.callback,next:null},V===null?(D=V=K,E=L):V=V.next=K,y|=U;if(g=g.next,g===null){if(g=c.shared.pending,g===null)break;K=g,g=K.next,K.next=null,c.lastBaseUpdate=K,c.shared.pending=null}}while(!0);V===null&&(E=L),c.baseState=E,c.firstBaseUpdate=D,c.lastBaseUpdate=V,f===null&&(c.shared.lanes=0),Cc|=y,t.lanes=y,t.memoizedState=L}s2=null}function au(t,e){if(typeof t!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+t);t.call(e)}function Dy(t,e){var a=t.shared.hiddenCallbacks;if(a!==null)for(t.shared.hiddenCallbacks=null,t=0;t<a.length;t++)au(a[t],e)}function xr(t,e){var a=t.callbacks;if(a!==null)for(t.callbacks=null,t=0;t<a.length;t++)au(a[t],e)}function Oh(t,e){var a=Uu;Vt(i1,a,t),Vt(ip,e,t),Uu=a|e.baseLanes}function So(t){Vt(i1,Uu,t),Vt(ip,ip.current,t)}function Kl(t){Uu=i1.current,Bt(ip,t),Bt(i1,t)}function Sa(t){var e=t.alternate;Vt(_n,_n.current&op,t),Vt(ri,t,t),ao===null&&(e===null||ip.current!==null||e.memoizedState!==null)&&(ao=t)}function $l(t){Vt(_n,_n.current,t),Vt(ri,t,t),ao===null&&(ao=t)}function Rh(t){t.tag===22?(Vt(_n,_n.current,t),Vt(ri,t,t),ao===null&&(ao=t)):Ri(t)}function Ri(t){Vt(_n,_n.current,t),Vt(ri,ri.current,t)}function Ln(t){Bt(ri,t),ao===t&&(ao=null),Bt(_n,t)}function us(t){for(var e=t;e!==null;){if(e.tag===13){var a=e.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||Kf(a)||Ag(a)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function $t(){var t=W;io===null?io=[t]:io.push(t)}function ct(){var t=W;if(io!==null&&(Zs++,io[Zs]!==t)){var e=yt(Ft);if(!gC.has(e)&&(gC.add(e),io!==null)){for(var a="",o=0;o<=Zs;o++){var c=io[o],f=o===Zs?t:c;for(c=o+1+". "+c;30>c.length;)c+=" ";c+=f+`
148
- `,a+=c}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
126
+ Please update the following component: %s`,o),IS=!0}return(se&$l)!==la?(o=i.pending,o===null?e.next=e:(e.next=o.next,o.next=e),i.pending=e,e=Ts(t),$m(t,null,a),e):(Go(t,i,e,a),Ts(t))}function dn(t,e,a){if(e=e.updateQueue,e!==null&&(e=e.shared,(a&4194048)!==0)){var i=e.lanes;i&=t.pendingLanes,a|=i,e.lanes=a,Cp(t,a)}}function Us(t,e){var a=t.updateQueue,i=t.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=e:f=f.next=e}else o=f=e;a={baseState:i.baseState,firstBaseUpdate:o,lastBaseUpdate:f,shared:i.shared,callbacks:i.callbacks},t.updateQueue=a;return}t=a.lastBaseUpdate,t===null?a.firstBaseUpdate=e:t.next=e,a.lastBaseUpdate=e}function Ko(){if(lb){var t=am;if(t!==null)throw t}}function ru(t,e,a,i){lb=!1;var o=t.updateQueue;$f=!1,eb=o.shared;var f=o.firstBaseUpdate,d=o.lastBaseUpdate,h=o.shared.pending;if(h!==null){o.shared.pending=null;var y=h,p=y.next;y.next=null,d===null?f=p:d.next=p,d=y;var D=t.alternate;D!==null&&(D=D.updateQueue,h=D.lastBaseUpdate,h!==d&&(h===null?D.firstBaseUpdate=p:h.next=p,D.lastBaseUpdate=y))}if(f!==null){var O=o.baseState;d=0,D=p=y=null,h=f;do{var S=h.lane&-536870913,N=S!==h.lane;if(N?(Jt&S)===S:(i&S)===S){S!==0&&S===Hr&&(lb=!0),D!==null&&(D=D.next={lane:0,tag:h.tag,payload:h.payload,callback:null,next:null});t:{S=t;var F=h,nt=e,je=a;switch(F.tag){case WS:if(F=F.payload,typeof F=="function"){em=!0;var ne=F.call(je,O,nt);if(S.mode&xa){_e(!0);try{F.call(je,O,nt)}finally{_e(!1)}}em=!1,O=ne;break t}O=F;break t;case tb:S.flags=S.flags&-65537|128;case kS:if(ne=F.payload,typeof ne=="function"){if(em=!0,F=ne.call(je,O,nt),S.mode&xa){_e(!0);try{ne.call(je,O,nt)}finally{_e(!1)}}em=!1}else F=ne;if(F==null)break t;O=Qt({},O,F);break t;case FS:$f=!0}}S=h.callback,S!==null&&(t.flags|=64,N&&(t.flags|=8192),N=o.callbacks,N===null?o.callbacks=[S]:N.push(S))}else N={lane:S,tag:h.tag,payload:h.payload,callback:h.callback,next:null},D===null?(p=D=N,y=O):D=D.next=N,d|=S;if(h=h.next,h===null){if(h=o.shared.pending,h===null)break;N=h,h=N.next,N.next=null,o.lastBaseUpdate=N,o.shared.pending=null}}while(!0);D===null&&(y=O),o.baseState=y,o.firstBaseUpdate=p,o.lastBaseUpdate=D,f===null&&(o.shared.lanes=0),Ff|=d,t.lanes=d,t.memoizedState=O}eb=null}function wi(t,e){if(typeof t!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+t);t.call(e)}function cy(t,e){var a=t.shared.hiddenCallbacks;if(a!==null)for(t.shared.hiddenCallbacks=null,t=0;t<a.length;t++)wi(a[t],e)}function $o(t,e){var a=t.callbacks;if(a!==null)for(t.callbacks=null,t=0;t<a.length;t++)wi(a[t],e)}function Rd(t,e){var a=rc;Ht(Tv,a,t),Ht(im,e,t),rc=a|e.baseLanes}function Pu(t){Ht(Tv,rc,t),Ht(im,im.current,t)}function Nn(t){rc=Tv.current,jt(im,t),jt(Tv,t)}function fa(t){var e=t.alternate;Ht(zl,zl.current&cm,t),Ht(kn,t,t),ju===null&&(e===null||im.current!==null||e.memoizedState!==null)&&(ju=t)}function Bn(t){Ht(zl,zl.current,t),Ht(kn,t,t),ju===null&&(ju=t)}function xd(t){t.tag===22?(Ht(zl,zl.current,t),Ht(kn,t,t),ju===null&&(ju=t)):du(t)}function du(t){Ht(zl,zl.current,t),Ht(kn,kn.current,t)}function Ul(t){jt(kn,t),ju===t&&(ju=null),jt(zl,t)}function Bc(t){for(var e=t;e!==null;){if(e.tag===13){var a=e.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||rr(a)||n0(a)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function Ut(){var t=B;Xu===null?Xu=[t]:Xu.push(t)}function J(){var t=B;if(Xu!==null&&(So++,Xu[So]!==t)){var e=at(Rt);if(!PS.has(e)&&(PS.add(e),Xu!==null)){for(var a="",i=0;i<=So;i++){var o=Xu[i],f=i===So?t:o;for(o=i+1+". "+o;30>o.length;)o+=" ";o+=f+`
127
+ `,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
149
128
 
150
129
  Previous render Next render
151
130
  ------------------------------------------------------
152
131
  %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
153
- `,e,a)}}}function To(t){t==null||Dn(t)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",W,typeof t)}function hf(){var t=yt(Ft);bC.has(t)||(bC.add(t),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",t))}function cn(){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:
132
+ `,e,a)}}}function ti(t){t==null||gl(t)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",B,typeof t)}function Rs(){var t=at(Rt);e2.has(t)||(e2.add(t),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",t))}function al(){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:
154
133
  1. You might have mismatching versions of React and the renderer (such as React DOM)
155
134
  2. You might be breaking the Rules of Hooks
156
135
  3. You might have more than one copy of React in the same app
157
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Cy(t,e){if(E0)return!1;if(e===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.",W),!1;t.length!==e.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
136
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function oy(t,e){if(up)return!1;if(e===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.",B),!1;t.length!==e.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
158
137
 
159
138
  Previous: %s
160
- Incoming: %s`,W,"["+e.join(", ")+"]","["+t.join(", ")+"]");for(var a=0;a<e.length&&a<t.length;a++)if(!fl(t[a],e[a]))return!1;return!0}function My(t,e,a,o,c,f){Xs=f,Ft=e,io=t!==null?t._debugHookTypes:null,Zs=-1,E0=t!==null&&t.type!==e.type,(Object.prototype.toString.call(a)==="[object AsyncFunction]"||Object.prototype.toString.call(a)==="[object AsyncGeneratorFunction]")&&(f=yt(Ft),c2.has(f)||(c2.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+">"))),e.memoizedState=null,e.updateQueue=null,e.lanes=0,P.H=t!==null&&t.memoizedState!==null?d2:io!==null?SC:f2,Td=f=(e.mode&Xa)!==Zt;var y=a2(a,o,c);if(Td=!1,sp&&(y=mf(e,a,o,c)),f){Ye(!0);try{y=mf(e,a,o,c)}finally{Ye(!1)}}return vn(t,e),y}function vn(t,e){e._debugHookTypes=io,e.dependencies===null?Qs!==null&&(e.dependencies={lanes:0,firstContext:null,_debugThenableState:Qs}):e.dependencies._debugThenableState=Qs,P.H=x0;var a=Ze!==null&&Ze.next!==null;if(Xs=0,io=W=kn=Ze=Ft=null,Zs=-1,t!==null&&(t.flags&65011712)!==(e.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),u1=!1,A0=0,Qs=null,a)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");t===null||Jn||(t=t.dependencies,t!==null&&br(t)&&(Jn=!0)),b0?(b0=!1,t=!0):t=!1,t&&(e=yt(e)||"Unknown",vC.has(e)||c2.has(e)||(vC.add(e),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 mf(t,e,a,o){Ft=t;var c=0;do{if(sp&&(Qs=null),A0=0,sp=!1,c>=J5)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(c+=1,E0=!1,kn=Ze=null,t.updateQueue!=null){var f=t.updateQueue;f.lastEffect=null,f.events=null,f.stores=null,f.memoCache!=null&&(f.memoCache.index=0)}Zs=-1,P.H=TC,f=a2(e,a,o)}while(sp);return f}function pf(){var t=P.H,e=t.useState()[0];return e=typeof e.then=="function"?vf(e):e,t=t.useState()[0],(Ze!==null?Ze.memoizedState:null)!==t&&(Ft.flags|=1024),e}function ss(){var t=s1!==0;return s1=0,t}function yf(t,e,a){e.updateQueue=t.updateQueue,e.flags=(e.mode&Bo)!==Zt?e.flags&-402655237:e.flags&-2053,t.lanes&=~a}function lu(t){if(u1){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}u1=!1}Xs=0,io=kn=Ze=Ft=null,Zs=-1,W=null,sp=!1,A0=s1=0,Qs=null}function En(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return kn===null?Ft.memoizedState=kn=t:kn=kn.next=t,kn}function Oe(){if(Ze===null){var t=Ft.alternate;t=t!==null?t.memoizedState:null}else t=Ze.next;var e=kn===null?Ft.memoizedState:kn.next;if(e!==null)kn=e,Ze=t;else{if(t===null)throw Ft.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.");Ze=t,t={memoizedState:Ze.memoizedState,baseState:Ze.baseState,baseQueue:Ze.baseQueue,queue:Ze.queue,next:null},kn===null?Ft.memoizedState=kn=t:kn=kn.next=t}return kn}function gf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function vf(t){var e=A0;return A0+=1,Qs===null&&(Qs=Mh()),t=Wa(Qs,t,e),e=Ft,(kn===null?e.memoizedState:kn.next)===null&&(e=e.alternate,P.H=e!==null&&e.memoizedState!==null?d2:f2),t}function Ao(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return vf(t);if(t.$$typeof===ii)return De(t)}throw Error("An unsupported type was passed to use(): "+String(t))}function Pa(t){var e=null,a=Ft.updateQueue;if(a!==null&&(e=a.memoCache),e==null){var o=Ft.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(e={data:o.data.map(function(c){return c.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),a===null&&(a=gf(),Ft.updateQueue=a),a.memoCache=e,a=e.data[e.index],a===void 0||E0)for(a=e.data[e.index]=Array(t),o=0;o<t;o++)a[o]=RT;else a.length!==t&&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,t);return e.index++,a}function tl(t,e){return typeof e=="function"?e(t):e}function Dr(t,e,a){var o=En();if(a!==void 0){var c=a(e);if(Td){Ye(!0);try{a(e)}finally{Ye(!1)}}}else c=e;return o.memoizedState=o.baseState=c,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:c},o.queue=t,t=t.dispatch=DT.bind(null,Ft,t),[o.memoizedState,t]}function rs(t){var e=Oe();return iu(e,Ze,t)}function iu(t,e,a){var o=t.queue;if(o===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");o.lastRenderedReducer=a;var c=t.baseQueue,f=o.pending;if(f!==null){if(c!==null){var y=c.next;c.next=f.next,f.next=y}e.baseQueue!==c&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),e.baseQueue=c=f,o.pending=null}if(f=t.baseState,c===null)t.memoizedState=f;else{e=c.next;var g=y=null,E=null,D=e,V=!1;do{var L=D.lane&-536870913;if(L!==D.lane?(ue&L)===L:(Xs&L)===L){var U=D.revertLane;if(U===0)E!==null&&(E=E.next={lane:0,revertLane:0,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),L===yd&&(V=!0);else if((Xs&U)===U){D=D.next,U===yd&&(V=!0);continue}else L={lane:0,revertLane:D.revertLane,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},E===null?(g=E=L,y=f):E=E.next=L,Ft.lanes|=U,Cc|=U;L=D.action,Td&&a(f,L),f=D.hasEagerState?D.eagerState:a(f,L)}else U={lane:L,revertLane:D.revertLane,gesture:D.gesture,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},E===null?(g=E=U,y=f):E=E.next=U,Ft.lanes|=L,Cc|=L;D=D.next}while(D!==null&&D!==e);if(E===null?y=f:E.next=g,!fl(f,t.memoizedState)&&(Jn=!0,V&&(a=np,a!==null)))throw a;t.memoizedState=f,t.baseState=y,t.baseQueue=E,o.lastRenderedState=f}return c===null&&(o.lanes=0),[t.memoizedState,o.dispatch]}function cs(t){var e=Oe(),a=e.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=t;var o=a.dispatch,c=a.pending,f=e.memoizedState;if(c!==null){a.pending=null;var y=c=c.next;do f=t(f,y.action),y=y.next;while(y!==c);fl(f,e.memoizedState)||(Jn=!0),e.memoizedState=f,e.baseQueue===null&&(e.baseState=f),a.lastRenderedState=f}return[f,o]}function Cr(t,e,a){var o=Ft,c=En();if(pe){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var f=a();up||f===a()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),up=!0)}else{if(f=e(),up||(a=e(),fl(f,a)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),up=!0)),ke===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(ue&127)!==0||zy(o,e,f)}return c.memoizedState=f,a={value:f,getSnapshot:e},c.queue=a,hs(ou.bind(null,o,a,t),[t]),o.flags|=2048,wi(lo|ml,{destroy:void 0},Oy.bind(null,o,a,f,e),null),f}function fs(t,e,a){var o=Ft,c=Oe(),f=pe;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=e(),!up){var y=e();fl(a,y)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),up=!0)}(y=!fl((Ze||c).memoizedState,a))&&(c.memoizedState=a,Jn=!0),c=c.queue;var g=ou.bind(null,o,c,t);if(On(2048,ml,g,[t]),c.getSnapshot!==e||y||kn!==null&&kn.memoizedState.tag&lo){if(o.flags|=2048,wi(lo|ml,{destroy:void 0},Oy.bind(null,o,c,a,e),null),ke===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");f||(Xs&127)!==0||zy(o,e,a)}return a}function zy(t,e,a){t.flags|=16384,t={getSnapshot:e,value:a},e=Ft.updateQueue,e===null?(e=gf(),Ft.updateQueue=e,e.stores=[t]):(a=e.stores,a===null?e.stores=[t]:a.push(t))}function Oy(t,e,a,o){e.value=a,e.getSnapshot=o,uu(e)&&Ry(t)}function ou(t,e,a){return a(function(){uu(e)&&(Di(2,"updateSyncExternalStore()",t),Ry(t))})}function uu(t){var e=t.getSnapshot;t=t.value;try{var a=e();return!fl(t,a)}catch{return!0}}function Ry(t){var e=ia(t,2);e!==null&&kt(e,t,2)}function wh(t){var e=En();if(typeof t=="function"){var a=t;if(t=a(),Td){Ye(!0);try{a()}finally{Ye(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:tl,lastRenderedState:t},e}function su(t){t=wh(t);var e=t.queue,a=Vh.bind(null,Ft,e);return e.dispatch=a,[t.memoizedState,a]}function ds(t){var e=En();e.memoizedState=e.baseState=t;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=a,e=Df.bind(null,Ft,!0,a),a.dispatch=e,[t,e]}function bf(t,e){var a=Oe();return Mr(a,Ze,t,e)}function Mr(t,e,a,o){return t.baseState=a,iu(t,Ze,typeof o=="function"?o:tl)}function Sf(t,e){var a=Oe();return Ze!==null?Mr(a,Ze,t,e):(a.baseState=t,[t,a.queue.dispatch])}function Bv(t,e,a,o,c){if(qn(t))throw Error("Cannot update form state while rendering.");if(t=e.action,t!==null){var f={payload:c,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(y){f.listeners.push(y)}};P.T!==null?a(!0):f.isTransition=!1,o(f),a=e.pending,a===null?(f.next=e.pending=f,ru(e,f)):(f.next=a.next,e.pending=a.next=f)}}function ru(t,e){var a=e.action,o=e.payload,c=t.state;if(e.isTransition){var f=P.T,y={};y._updatedFibers=new Set,P.T=y;try{var g=a(c,o),E=P.S;E!==null&&E(y,g),wy(t,e,g)}catch(D){Tf(t,e,D)}finally{f!==null&&y.types!==null&&(f.types!==null&&f.types!==y.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),f.types=y.types),P.T=f,f===null&&y._updatedFibers&&(t=y._updatedFibers.size,y._updatedFibers.clear(),10<t&&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{y=a(c,o),wy(t,e,y)}catch(D){Tf(t,e,D)}}function wy(t,e,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?(P.asyncTransitions++,a.then(ms,ms),a.then(function(o){Eo(t,e,o)},function(o){return Tf(t,e,o)}),e.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.")):Eo(t,e,a)}function Eo(t,e,a){e.status="fulfilled",e.value=a,Uh(e),t.state=a,e=t.pending,e!==null&&(a=e.next,a===e?t.pending=null:(a=a.next,e.next=a,ru(t,a)))}function Tf(t,e,a){var o=t.pending;if(t.pending=null,o!==null){o=o.next;do e.status="rejected",e.reason=a,Uh(e),e=e.next;while(e!==o)}t.action=null}function Uh(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function xo(t,e){return e}function el(t,e){if(pe){var a=ke.formState;if(a!==null){t:{var o=Ft;if(pe){if(tn){e:{for(var c=tn,f=eo;c.nodeType!==8;){if(!f){c=null;break e}if(c=ul(c.nextSibling),c===null){c=null;break e}}f=c.data,c=f===j2||f===oM?c:null}if(c){tn=ul(c.nextSibling),o=c.data===j2;break t}}Tl(o)}o=!1}o&&(e=a[0])}}return a=En(),a.memoizedState=a.baseState=e,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:xo,lastRenderedState:e},a.queue=o,a=Vh.bind(null,Ft,o),o.dispatch=a,o=wh(!1),f=Df.bind(null,Ft,!1,o.queue),o=En(),c={state:e,dispatch:null,action:t,pending:null},o.queue=c,a=Bv.bind(null,Ft,c,f,a),c.dispatch=a,o.memoizedState=t,[e,a,!1]}function cu(t){var e=Oe();return _h(e,Ze,t)}function _h(t,e,a){if(e=iu(t,e,xo)[0],t=rs(tl)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var o=vf(e)}catch(y){throw y===ap?a1:y}else o=e;e=Oe();var c=e.queue,f=c.dispatch;return a!==e.memoizedState&&(Ft.flags|=2048,wi(lo|ml,{destroy:void 0},Uy.bind(null,c,a),null)),[o,f,t]}function Uy(t,e){t.action=e}function fu(t){var e=Oe(),a=Ze;if(a!==null)return _h(e,a,t);Oe(),e=e.memoizedState,a=Oe();var o=a.queue.dispatch;return a.memoizedState=t,[e,o,!1]}function wi(t,e,a,o){return t={tag:t,create:a,deps:o,inst:e,next:null},e=Ft.updateQueue,e===null&&(e=gf(),Ft.updateQueue=e),a=e.lastEffect,a===null?e.lastEffect=t.next=t:(o=a.next,a.next=t,t.next=o,e.lastEffect=t),t}function Nh(t){var e=En();return t={current:t},e.memoizedState=t}function du(t,e,a,o){var c=En();Ft.flags|=t,c.memoizedState=wi(lo|e,{destroy:void 0},a,o===void 0?null:o)}function On(t,e,a,o){var c=Oe();o=o===void 0?null:o;var f=c.memoizedState.inst;Ze!==null&&o!==null&&Cy(o,Ze.memoizedState.deps)?c.memoizedState=wi(e,f,a,o):(Ft.flags|=t,c.memoizedState=wi(lo|e,f,a,o))}function hs(t,e){(Ft.mode&Bo)!==Zt?du(276826112,ml,t,e):du(8390656,ml,t,e)}function Vv(t){Ft.flags|=4;var e=Ft.updateQueue;if(e===null)e=gf(),Ft.updateQueue=e,e.events=[t];else{var a=e.events;a===null?e.events=[t]:a.push(t)}}function Af(t){var e=En(),a={impl:t};return e.memoizedState=a,function(){if((Te&la)!==da)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return a.impl.apply(void 0,arguments)}}function zr(t){var e=Oe().memoizedState;return Vv({ref:e,nextImpl:t}),function(){if((Te&la)!==da)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return e.impl.apply(void 0,arguments)}}function Ta(t,e){var a=4194308;return(Ft.mode&Bo)!==Zt&&(a|=134217728),du(a,ci,t,e)}function nl(t,e){if(typeof e=="function"){t=t();var a=e(t);return function(){typeof a=="function"?a():e(null)}}if(e!=null)return e.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(e).join(", ")+"}"),t=t(),e.current=t,function(){e.current=null}}function Ui(t,e,a){typeof e!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",e!==null?typeof e:"null"),a=a!=null?a.concat([t]):null;var o=4194308;(Ft.mode&Bo)!==Zt&&(o|=134217728),du(o,ci,nl.bind(null,e,t),a)}function Or(t,e,a){typeof e!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",e!==null?typeof e:"null"),a=a!=null?a.concat([t]):null,On(4,ci,nl.bind(null,e,t),a)}function jh(t,e){return En().memoizedState=[t,e===void 0?null:e],t}function Fl(t,e){var a=Oe();e=e===void 0?null:e;var o=a.memoizedState;return e!==null&&Cy(e,o[1])?o[0]:(a.memoizedState=[t,e],t)}function Aa(t,e){var a=En();e=e===void 0?null:e;var o=t();if(Td){Ye(!0);try{t()}finally{Ye(!1)}}return a.memoizedState=[o,e],o}function Fe(t,e){var a=Oe();e=e===void 0?null:e;var o=a.memoizedState;if(e!==null&&Cy(e,o[1]))return o[0];if(o=t(),Td){Ye(!0);try{t()}finally{Ye(!1)}}return a.memoizedState=[o,e],o}function Rr(t,e){var a=En();return Re(a,t,e)}function _i(t,e){var a=Oe();return bn(a,Ze.memoizedState,t,e)}function te(t,e){var a=Oe();return Ze===null?Re(a,t,e):bn(a,Ze.memoizedState,t,e)}function Re(t,e,a){return a===void 0||(Xs&1073741824)!==0&&(ue&261930)===0?t.memoizedState=e:(t.memoizedState=a,t=Hr(),Ft.lanes|=t,Cc|=t,a)}function bn(t,e,a,o){return fl(a,e)?a:ip.current!==null?(t=Re(t,a,o),fl(t,e)||(Jn=!0),t):(Xs&42)===0||(Xs&1073741824)!==0&&(ue&261930)===0?(Jn=!0,t.memoizedState=a):(t=Hr(),Ft.lanes|=t,Cc|=t,e)}function ms(){P.asyncTransitions--}function ps(t,e,a,o,c){var f=Me.p;Me.p=f!==0&&f<na?f:na;var y=P.T,g={};g._updatedFibers=new Set,P.T=g,Df(t,!1,e,a);try{var E=c(),D=P.S;if(D!==null&&D(g,E),E!==null&&typeof E=="object"&&typeof E.then=="function"){P.asyncTransitions++,E.then(ms,ms);var V=Ch(E,o);ys(t,e,V,ua(t))}else ys(t,e,o,ua(t))}catch(L){ys(t,e,{then:function(){},status:"rejected",reason:L},ua(t))}finally{Me.p=f,y!==null&&g.types!==null&&(y.types!==null&&y.types!==g.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),y.types=g.types),P.T=y,y===null&&g._updatedFibers&&(t=g._updatedFibers.size,g._updatedFibers.clear(),10<t&&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 Do(t,e,a,o){if(t.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var c=Ef(t).queue;Nv(t),ps(t,c,e,Ud,a===null?z:function(){return wr(t),a(o)})}function Ef(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:Ud,baseState:Ud,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:tl,lastRenderedState:Ud},next:null};var a={};return e.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:tl,lastRenderedState:a},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function wr(t){P.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var e=Ef(t);e.next===null&&(e=t.alternate.memoizedState),ys(t,e.next.queue,{},ua(t))}function hu(){var t=wh(!1);return t=ps.bind(null,Ft,t.queue,!0,!1),En().memoizedState=t,[!1,t]}function Hv(){var t=rs(tl)[0],e=Oe().memoizedState;return[typeof t=="boolean"?t:vf(t),e]}function an(){var t=cs(tl)[0],e=Oe().memoizedState;return[typeof t=="boolean"?t:vf(t),e]}function Co(){return De(L0)}function xf(){var t=En(),e=ke.identifierPrefix;if(pe){var a=Hs,o=Vs;a=(o&~(1<<32-ea(o)-1)).toString(32)+a,e="_"+e+"R_"+a,a=s1++,0<a&&(e+="H"+a.toString(32)),e+="_"}else a=k5++,e="_"+e+"r_"+a.toString(32)+"_";return t.memoizedState=e}function Bh(){return En().memoizedState=Lv.bind(null,Ft)}function Lv(t,e){for(var a=t.return;a!==null;){switch(a.tag){case 24:case 3:var o=ua(a),c=zn(o),f=zi(a,c,o);f!==null&&(Di(o,"refresh()",t),kt(f,a,o),Cl(f,a,o)),t=xh(),e!=null&&f!==null&&console.error("The seed argument is not enabled outside experimental channels."),c.payload={cache:t};return}a=a.return}}function DT(t,e,a){var o=arguments;typeof o[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()."),o=ua(t);var c={lane:o,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};qn(t)?fn(e,c):(c=Wu(t,e,c,o),c!==null&&(Di(o,"dispatch()",t),kt(c,t,o),Cf(c,e,o)))}function Vh(t,e,a){var o=arguments;typeof o[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()."),o=ua(t),ys(t,e,a,o)&&Di(o,"setState()",t)}function ys(t,e,a,o){var c={lane:o,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(qn(t))fn(e,c);else{var f=t.alternate;if(t.lanes===0&&(f===null||f.lanes===0)&&(f=e.lastRenderedReducer,f!==null)){var y=P.H;P.H=Ho;try{var g=e.lastRenderedState,E=f(g,a);if(c.hasEagerState=!0,c.eagerState=E,fl(E,g))return yr(t,e,c,0),ke===null&&vh(),!1}catch{}finally{P.H=y}}if(a=Wu(t,e,c,o),a!==null)return kt(a,t,o),Cf(a,e,o),!0}return!1}function Df(t,e,a,o){if(P.T===null&&yd===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."),o={lane:2,revertLane:bg(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},qn(t)){if(e)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else e=Wu(t,a,o,2),e!==null&&(Di(2,"setOptimistic()",t),kt(e,t,2))}function qn(t){var e=t.alternate;return t===Ft||e!==null&&e===Ft}function fn(t,e){sp=u1=!0;var a=t.pending;a===null?e.next=e:(e.next=a.next,a.next=e),t.pending=e}function Cf(t,e,a){if((a&4194048)!==0){var o=e.lanes;o&=t.pendingLanes,a|=o,e.lanes=a,dv(t,a)}}function gs(t){if(t!==null&&typeof t!="function"){var e=String(t);UC.has(e)||(UC.add(e),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",t))}}function Ur(t,e,a,o){var c=t.memoizedState,f=a(o,c);if(t.mode&Xa){Ye(!0);try{f=a(o,c)}finally{Ye(!1)}}f===void 0&&(e=I(e)||"Component",zC.has(e)||(zC.add(e),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",e))),c=f==null?c:le({},c,f),t.memoizedState=c,t.lanes===0&&(t.updateQueue.baseState=c)}function Hh(t,e,a,o,c,f,y){var g=t.stateNode;if(typeof g.shouldComponentUpdate=="function"){if(a=g.shouldComponentUpdate(o,f,y),t.mode&Xa){Ye(!0);try{a=g.shouldComponentUpdate(o,f,y)}finally{Ye(!1)}}return a===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",I(e)||"Component"),a}return e.prototype&&e.prototype.isPureReactComponent?!pr(a,o)||!pr(c,f):!0}function Ni(t,e,a,o){var c=e.state;typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(a,o),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(a,o),e.state!==c&&(t=yt(t)||"Component",EC.has(t)||(EC.add(t),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",t)),h2.enqueueReplaceState(e,e.state,null))}function ji(t,e){var a=e;if("ref"in e){a={};for(var o in e)o!=="ref"&&(a[o]=e[o])}if(t=t.defaultProps){a===e&&(a=le({},a));for(var c in t)a[c]===void 0&&(a[c]=t[c])}return a}function Lh(t){QT(t),console.warn(`%s
139
+ Incoming: %s`,B,"["+e.join(", ")+"]","["+t.join(", ")+"]");for(var a=0;a<e.length&&a<t.length;a++)if(!Fa(t[a],e[a]))return!1;return!0}function fy(t,e,a,i,o,f){vo=f,Rt=e,Xu=t!==null?t._debugHookTypes:null,So=-1,up=t!==null&&t.type!==e.type,(Object.prototype.toString.call(a)==="[object AsyncFunction]"||Object.prototype.toString.call(a)==="[object AsyncGeneratorFunction]")&&(f=at(Rt),ab.has(f)||(ab.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+">"))),e.memoizedState=null,e.updateQueue=null,e.lanes=0,Y.H=t!==null&&t.memoizedState!==null?ub:Xu!==null?l2:nb,Yr=f=(e.mode&xa)!==Mt;var d=W1(a,i,o);if(Yr=!1,fm&&(d=xs(e,a,i,o)),f){_e(!0);try{d=xs(e,a,i,o)}finally{_e(!1)}}return sl(t,e),d}function sl(t,e){e._debugHookTypes=Xu,e.dependencies===null?bo!==null&&(e.dependencies={lanes:0,firstContext:null,_debugThenableState:bo}):e.dependencies._debugThenableState=bo,Y.H=ip;var a=we!==null&&we.next!==null;if(vo=0,Xu=B=wl=we=Rt=null,So=-1,t!==null&&(t.flags&65011712)!==(e.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),Av=!1,np=0,bo=null,a)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");t===null||ql||(t=t.dependencies,t!==null&&Qo(t)&&(ql=!0)),ep?(ep=!1,t=!0):t=!1,t&&(e=at(e)||"Unknown",t2.has(e)||ab.has(e)||(t2.add(e),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 xs(t,e,a,i){Rt=t;var o=0;do{if(fm&&(bo=null),np=0,fm=!1,o>=gE)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(o+=1,up=!1,wl=we=null,t.updateQueue!=null){var f=t.updateQueue;f.lastEffect=null,f.events=null,f.stores=null,f.memoCache!=null&&(f.memoCache.index=0)}So=-1,Y.H=a2,f=W1(e,a,i)}while(fm);return f}function _s(){var t=Y.H,e=t.useState()[0];return e=typeof e.then=="function"?Bs(e):e,t=t.useState()[0],(we!==null?we.memoizedState:null)!==t&&(Rt.flags|=1024),e}function wc(){var t=zv!==0;return zv=0,t}function Hs(t,e,a){e.updateQueue=t.updateQueue,e.flags=(e.mode&yi)!==Mt?e.flags&-402655237:e.flags&-2053,t.lanes&=~a}function qi(t){if(Av){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Av=!1}vo=0,Xu=wl=we=Rt=null,So=-1,B=null,fm=!1,np=zv=0,bo=null}function yl(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return wl===null?Rt.memoizedState=wl=t:wl=wl.next=t,wl}function Se(){if(we===null){var t=Rt.alternate;t=t!==null?t.memoizedState:null}else t=we.next;var e=wl===null?Rt.memoizedState:wl.next;if(e!==null)wl=e,we=t;else{if(t===null)throw Rt.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.");we=t,t={memoizedState:we.memoizedState,baseState:we.baseState,baseQueue:we.baseQueue,queue:we.queue,next:null},wl===null?Rt.memoizedState=wl=t:wl=wl.next=t}return wl}function Ns(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Bs(t){var e=np;return np+=1,bo===null&&(bo=Cd()),t=qa(bo,t,e),e=Rt,(wl===null?e.memoizedState:wl.next)===null&&(e=e.alternate,Y.H=e!==null&&e.memoizedState!==null?ub:nb),t}function ei(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Bs(t);if(t.$$typeof===Zn)return ye(t)}throw Error("An unsupported type was passed to use(): "+String(t))}function ja(t){var e=null,a=Rt.updateQueue;if(a!==null&&(e=a.memoCache),e==null){var i=Rt.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(e={data:i.data.map(function(o){return o.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),a===null&&(a=Ns(),Rt.updateQueue=a),a.memoCache=e,a=e.data[e.index],a===void 0||up)for(a=e.data[e.index]=Array(t),i=0;i<t;i++)a[i]=A1;else a.length!==t&&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,t);return e.index++,a}function Ga(t,e){return typeof e=="function"?e(t):e}function ko(t,e,a){var i=yl();if(a!==void 0){var o=a(e);if(Yr){_e(!0);try{a(e)}finally{_e(!1)}}}else o=e;return i.memoizedState=i.baseState=o,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:o},i.queue=t,t=t.dispatch=v1.bind(null,Rt,t),[i.memoizedState,t]}function qc(t){var e=Se();return Yi(e,we,t)}function Yi(t,e,a){var i=t.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=t.baseQueue,f=i.pending;if(f!==null){if(o!==null){var d=o.next;o.next=f.next,f.next=d}e.baseQueue!==o&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),e.baseQueue=o=f,i.pending=null}if(f=t.baseState,o===null)t.memoizedState=f;else{e=o.next;var h=d=null,y=null,p=e,D=!1;do{var O=p.lane&-536870913;if(O!==p.lane?(Jt&O)===O:(vo&O)===O){var S=p.revertLane;if(S===0)y!==null&&(y=y.next={lane:0,revertLane:0,gesture:null,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null}),O===Hr&&(D=!0);else if((vo&S)===S){p=p.next,S===Hr&&(D=!0);continue}else O={lane:0,revertLane:p.revertLane,gesture:null,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null},y===null?(h=y=O,d=f):y=y.next=O,Rt.lanes|=S,Ff|=S;O=p.action,Yr&&a(f,O),f=p.hasEagerState?p.eagerState:a(f,O)}else S={lane:O,revertLane:p.revertLane,gesture:p.gesture,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null},y===null?(h=y=S,d=f):y=y.next=S,Rt.lanes|=O,Ff|=O;p=p.next}while(p!==null&&p!==e);if(y===null?d=f:y.next=h,!Fa(f,t.memoizedState)&&(ql=!0,D&&(a=am,a!==null)))throw a;t.memoizedState=f,t.baseState=d,t.baseQueue=y,i.lastRenderedState=f}return o===null&&(i.lanes=0),[t.memoizedState,i.dispatch]}function Yc(t){var e=Se(),a=e.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=t;var i=a.dispatch,o=a.pending,f=e.memoizedState;if(o!==null){a.pending=null;var d=o=o.next;do f=t(f,d.action),d=d.next;while(d!==o);Fa(f,e.memoizedState)||(ql=!0),e.memoizedState=f,e.baseQueue===null&&(e.baseState=f),a.lastRenderedState=f}return[f,i]}function Wo(t,e,a){var i=Rt,o=yl();if(ee){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var f=a();om||f===a()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),om=!0)}else{if(f=e(),om||(a=e(),Fa(f,a)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),om=!0)),qe===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Jt&127)!==0||sy(i,e,f)}return o.memoizedState=f,a={value:f,getSnapshot:e},o.queue=a,Xc(ji.bind(null,i,a,t),[t]),i.flags|=2048,hu(Gu|tn,{destroy:void 0},ry.bind(null,i,a,f,e),null),f}function jc(t,e,a){var i=Rt,o=Se(),f=ee;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=e(),!om){var d=e();Fa(a,d)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),om=!0)}(d=!Fa((we||o).memoizedState,a))&&(o.memoizedState=a,ql=!0),o=o.queue;var h=ji.bind(null,i,o,t);if(Sl(2048,tn,h,[t]),o.getSnapshot!==e||d||wl!==null&&wl.memoizedState.tag&Gu){if(i.flags|=2048,hu(Gu|tn,{destroy:void 0},ry.bind(null,i,o,a,e),null),qe===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");f||(vo&127)!==0||sy(i,e,a)}return a}function sy(t,e,a){t.flags|=16384,t={getSnapshot:e,value:a},e=Rt.updateQueue,e===null?(e=Ns(),Rt.updateQueue=e,e.stores=[t]):(a=e.stores,a===null?e.stores=[t]:a.push(t))}function ry(t,e,a,i){e.value=a,e.getSnapshot=i,Gi(e)&&dy(t)}function ji(t,e,a){return a(function(){Gi(e)&&(cu(2,"updateSyncExternalStore()",t),dy(t))})}function Gi(t){var e=t.getSnapshot;t=t.value;try{var a=e();return!Fa(t,a)}catch{return!0}}function dy(t){var e=kl(t,2);e!==null&&Ot(e,t,2)}function _d(t){var e=yl();if(typeof t=="function"){var a=t;if(t=a(),Yr){_e(!0);try{a()}finally{_e(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ga,lastRenderedState:t},e}function Xi(t){t=_d(t);var e=t.queue,a=Yd.bind(null,Rt,e);return e.dispatch=a,[t.memoizedState,a]}function Gc(t){var e=yl();e.memoizedState=e.baseState=t;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=a,e=Vs.bind(null,Rt,!0,a),a.dispatch=e,[t,e]}function ws(t,e){var a=Se();return Fo(a,we,t,e)}function Fo(t,e,a,i){return t.baseState=a,Yi(t,we,typeof i=="function"?i:Ga)}function qs(t,e){var a=Se();return we!==null?Fo(a,we,t,e):(a.baseState=t,[t,a.queue.dispatch])}function Ip(t,e,a,i,o){if(Rl(t))throw Error("Cannot update form state while rendering.");if(t=e.action,t!==null){var f={payload:o,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(d){f.listeners.push(d)}};Y.T!==null?a(!0):f.isTransition=!1,i(f),a=e.pending,a===null?(f.next=e.pending=f,Vi(e,f)):(f.next=a.next,e.pending=a.next=f)}}function Vi(t,e){var a=e.action,i=e.payload,o=t.state;if(e.isTransition){var f=Y.T,d={};d._updatedFibers=new Set,Y.T=d;try{var h=a(o,i),y=Y.S;y!==null&&y(d,h),hy(t,e,h)}catch(p){Ys(t,e,p)}finally{f!==null&&d.types!==null&&(f.types!==null&&f.types!==d.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),f.types=d.types),Y.T=f,f===null&&d._updatedFibers&&(t=d._updatedFibers.size,d._updatedFibers.clear(),10<t&&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),hy(t,e,d)}catch(p){Ys(t,e,p)}}function hy(t,e,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?(Y.asyncTransitions++,a.then(Vc,Vc),a.then(function(i){li(t,e,i)},function(i){return Ys(t,e,i)}),e.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.")):li(t,e,a)}function li(t,e,a){e.status="fulfilled",e.value=a,Hd(e),t.state=a,e=t.pending,e!==null&&(a=e.next,a===e?t.pending=null:(a=a.next,e.next=a,Vi(t,a)))}function Ys(t,e,a){var i=t.pending;if(t.pending=null,i!==null){i=i.next;do e.status="rejected",e.reason=a,Hd(e),e=e.next;while(e!==i)}t.action=null}function Hd(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function ai(t,e){return e}function Xa(t,e){if(ee){var a=qe.formState;if(a!==null){t:{var i=Rt;if(ee){if(Ke){e:{for(var o=Ke,f=qu;o.nodeType!==8;){if(!f){o=null;break e}if(o=Ka(o.nextSibling),o===null){o=null;break e}}f=o.data,o=f===Cb||f===V2?o:null}if(o){Ke=Ka(o.nextSibling),i=o.data===Cb;break t}}cn(i)}i=!1}i&&(e=a[0])}}return a=yl(),a.memoizedState=a.baseState=e,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ai,lastRenderedState:e},a.queue=i,a=Yd.bind(null,Rt,i),i.dispatch=a,i=_d(!1),f=Vs.bind(null,Rt,!1,i.queue),i=yl(),o={state:e,dispatch:null,action:t,pending:null},i.queue=o,a=Ip.bind(null,Rt,o,f,a),o.dispatch=a,i.memoizedState=t,[e,a,!1]}function Qi(t){var e=Se();return Nd(e,we,t)}function Nd(t,e,a){if(e=Yi(t,e,ai)[0],t=qc(Ga)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var i=Bs(e)}catch(d){throw d===nm?bv:d}else i=e;e=Se();var o=e.queue,f=o.dispatch;return a!==e.memoizedState&&(Rt.flags|=2048,hu(Gu|tn,{destroy:void 0},my.bind(null,o,a),null)),[i,f,t]}function my(t,e){t.action=e}function Li(t){var e=Se(),a=we;if(a!==null)return Nd(e,a,t);Se(),e=e.memoizedState,a=Se();var i=a.queue.dispatch;return a.memoizedState=t,[e,i,!1]}function hu(t,e,a,i){return t={tag:t,create:a,deps:i,inst:e,next:null},e=Rt.updateQueue,e===null&&(e=Ns(),Rt.updateQueue=e),a=e.lastEffect,a===null?e.lastEffect=t.next=t:(i=a.next,a.next=t,t.next=i,e.lastEffect=t),t}function Bd(t){var e=yl();return t={current:t},e.memoizedState=t}function Zi(t,e,a,i){var o=yl();Rt.flags|=t,o.memoizedState=hu(Gu|e,{destroy:void 0},a,i===void 0?null:i)}function Sl(t,e,a,i){var o=Se();i=i===void 0?null:i;var f=o.memoizedState.inst;we!==null&&i!==null&&oy(i,we.memoizedState.deps)?o.memoizedState=hu(e,f,a,i):(Rt.flags|=t,o.memoizedState=hu(Gu|e,f,a,i))}function Xc(t,e){(Rt.mode&yi)!==Mt?Zi(276826112,tn,t,e):Zi(8390656,tn,t,e)}function Pp(t){Rt.flags|=4;var e=Rt.updateQueue;if(e===null)e=Ns(),Rt.updateQueue=e,e.events=[t];else{var a=e.events;a===null?e.events=[t]:a.push(t)}}function js(t){var e=yl(),a={impl:t};return e.memoizedState=a,function(){if((se&$l)!==la)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return a.impl.apply(void 0,arguments)}}function Io(t){var e=Se().memoizedState;return Pp({ref:e,nextImpl:t}),function(){if((se&$l)!==la)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return e.impl.apply(void 0,arguments)}}function sa(t,e){var a=4194308;return(Rt.mode&yi)!==Mt&&(a|=134217728),Zi(a,Wn,t,e)}function Va(t,e){if(typeof e=="function"){t=t();var a=e(t);return function(){typeof a=="function"?a():e(null)}}if(e!=null)return e.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(e).join(", ")+"}"),t=t(),e.current=t,function(){e.current=null}}function mu(t,e,a){typeof e!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",e!==null?typeof e:"null"),a=a!=null?a.concat([t]):null;var i=4194308;(Rt.mode&yi)!==Mt&&(i|=134217728),Zi(i,Wn,Va.bind(null,e,t),a)}function Po(t,e,a){typeof e!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",e!==null?typeof e:"null"),a=a!=null?a.concat([t]):null,Sl(4,Wn,Va.bind(null,e,t),a)}function wd(t,e){return yl().memoizedState=[t,e===void 0?null:e],t}function wn(t,e){var a=Se();e=e===void 0?null:e;var i=a.memoizedState;return e!==null&&oy(e,i[1])?i[0]:(a.memoizedState=[t,e],t)}function ra(t,e){var a=yl();e=e===void 0?null:e;var i=t();if(Yr){_e(!0);try{t()}finally{_e(!1)}}return a.memoizedState=[i,e],i}function Qe(t,e){var a=Se();e=e===void 0?null:e;var i=a.memoizedState;if(e!==null&&oy(e,i[1]))return i[0];if(i=t(),Yr){_e(!0);try{t()}finally{_e(!1)}}return a.memoizedState=[i,e],i}function tf(t,e){var a=yl();return Te(a,t,e)}function yu(t,e){var a=Se();return rl(a,we.memoizedState,t,e)}function Bt(t,e){var a=Se();return we===null?Te(a,t,e):rl(a,we.memoizedState,t,e)}function Te(t,e,a){return a===void 0||(vo&1073741824)!==0&&(Jt&261930)===0?t.memoizedState=e:(t.memoizedState=a,t=ff(),Rt.lanes|=t,Ff|=t,a)}function rl(t,e,a,i){return Fa(a,e)?a:im.current!==null?(t=Te(t,a,i),Fa(t,e)||(ql=!0),t):(vo&42)===0||(vo&1073741824)!==0&&(Jt&261930)===0?(ql=!0,t.memoizedState=a):(t=ff(),Rt.lanes|=t,Ff|=t,e)}function Vc(){Y.asyncTransitions--}function Qc(t,e,a,i,o){var f=ge.p;ge.p=f!==0&&f<Jl?f:Jl;var d=Y.T,h={};h._updatedFibers=new Set,Y.T=h,Vs(t,!1,e,a);try{var y=o(),p=Y.S;if(p!==null&&p(h,y),y!==null&&typeof y=="object"&&typeof y.then=="function"){Y.asyncTransitions++,y.then(Vc,Vc);var D=Od(y,i);Lc(t,e,D,Fl(t))}else Lc(t,e,i,Fl(t))}catch(O){Lc(t,e,{then:function(){},status:"rejected",reason:O},Fl(t))}finally{ge.p=f,d!==null&&h.types!==null&&(d.types!==null&&d.types!==h.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),d.types=h.types),Y.T=d,d===null&&h._updatedFibers&&(t=h._updatedFibers.size,h._updatedFibers.clear(),10<t&&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 ni(t,e,a,i){if(t.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var o=Gs(t).queue;Wp(t),Qc(t,o,e,kr,a===null?Ct:function(){return ef(t),a(i)})}function Gs(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:kr,baseState:kr,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ga,lastRenderedState:kr},next:null};var a={};return e.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ga,lastRenderedState:a},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function ef(t){Y.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var e=Gs(t);e.next===null&&(e=t.alternate.memoizedState),Lc(t,e.next.queue,{},Fl(t))}function Ji(){var t=_d(!1);return t=Qc.bind(null,Rt,t.queue,!0,!1),yl().memoizedState=t,[!1,t]}function tg(){var t=qc(Ga)[0],e=Se().memoizedState;return[typeof t=="boolean"?t:Bs(t),e]}function Ie(){var t=Yc(Ga)[0],e=Se().memoizedState;return[typeof t=="boolean"?t:Bs(t),e]}function ui(){return ye(Tp)}function Xs(){var t=yl(),e=qe.identifierPrefix;if(ee){var a=ho,i=ro;a=(i&~(1<<32-Zl(i)-1)).toString(32)+a,e="_"+e+"R_"+a,a=zv++,0<a&&(e+="H"+a.toString(32)),e+="_"}else a=pE++,e="_"+e+"r_"+a.toString(32)+"_";return t.memoizedState=e}function qd(){return yl().memoizedState=eg.bind(null,Rt)}function eg(t,e){for(var a=t.return;a!==null;){switch(a.tag){case 24:case 3:var i=Fl(a),o=bl(i),f=su(a,o,i);f!==null&&(cu(i,"refresh()",t),Ot(f,a,i),dn(f,a,i)),t=Dd(),e!=null&&f!==null&&console.error("The seed argument is not enabled outside experimental channels."),o.payload={cache:t};return}a=a.return}}function v1(t,e,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=Fl(t);var o={lane:i,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};Rl(t)?nl(e,o):(o=Dc(t,e,o,i),o!==null&&(cu(i,"dispatch()",t),Ot(o,t,i),Qs(o,e,i)))}function Yd(t,e,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=Fl(t),Lc(t,e,a,i)&&cu(i,"setState()",t)}function Lc(t,e,a,i){var o={lane:i,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Rl(t))nl(e,o);else{var f=t.alternate;if(t.lanes===0&&(f===null||f.lanes===0)&&(f=e.lastRenderedReducer,f!==null)){var d=Y.H;Y.H=gi;try{var h=e.lastRenderedState,y=f(h,a);if(o.hasEagerState=!0,o.eagerState=y,Fa(y,h))return Go(t,e,o,0),qe===null&&bd(),!1}catch{}finally{Y.H=d}}if(a=Dc(t,e,o,i),a!==null)return Ot(a,t,i),Qs(a,e,i),!0}return!1}function Vs(t,e,a,i){if(Y.T===null&&Hr===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:e0(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Rl(t)){if(e)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else e=Dc(t,a,i,2),e!==null&&(cu(2,"setOptimistic()",t),Ot(e,t,2))}function Rl(t){var e=t.alternate;return t===Rt||e!==null&&e===Rt}function nl(t,e){fm=Av=!0;var a=t.pending;a===null?e.next=e:(e.next=a.next,a.next=e),t.pending=e}function Qs(t,e,a){if((a&4194048)!==0){var i=e.lanes;i&=t.pendingLanes,a|=i,e.lanes=a,Cp(t,a)}}function Zc(t){if(t!==null&&typeof t!="function"){var e=String(t);m2.has(e)||(m2.add(e),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",t))}}function lf(t,e,a,i){var o=t.memoizedState,f=a(i,o);if(t.mode&xa){_e(!0);try{f=a(i,o)}finally{_e(!1)}}f===void 0&&(e=vt(e)||"Component",s2.has(e)||(s2.add(e),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",e))),o=f==null?o:Qt({},o,f),t.memoizedState=o,t.lanes===0&&(t.updateQueue.baseState=o)}function jd(t,e,a,i,o,f,d){var h=t.stateNode;if(typeof h.shouldComponentUpdate=="function"){if(a=h.shouldComponentUpdate(i,f,d),t.mode&xa){_e(!0);try{a=h.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.",vt(e)||"Component"),a}return e.prototype&&e.prototype.isPureReactComponent?!jo(a,i)||!jo(o,f):!0}function pu(t,e,a,i){var o=e.state;typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(a,i),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(a,i),e.state!==o&&(t=at(t)||"Component",u2.has(t)||(u2.add(t),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",t)),ib.enqueueReplaceState(e,e.state,null))}function gu(t,e){var a=e;if("ref"in e){a={};for(var i in e)i!=="ref"&&(a[i]=e[i])}if(t=t.defaultProps){a===e&&(a=Qt({},a));for(var o in t)a[o]===void 0&&(a[o]=t[o])}return a}function Gd(t){q1(t),console.warn(`%s
161
140
 
162
141
  %s
163
- `,rp?"An error occurred in the <"+rp+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
164
- Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function qh(t){var e=rp?"The above error occurred in the <"+rp+"> 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, "+((m2||"Anonymous")+".");if(typeof t=="object"&&t!==null&&typeof t.environmentName=="string"){var o=t.environmentName;t=[`%o
142
+ `,sm?"An error occurred in the <"+sm+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
143
+ Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function Xd(t){var e=sm?"The above error occurred in the <"+sm+"> 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, "+((cb||"Anonymous")+".");if(typeof t=="object"&&t!==null&&typeof t.environmentName=="string"){var i=t.environmentName;t=[`%o
165
144
 
166
145
  %s
167
146
 
168
147
  %s
169
- `,t,e,a].slice(0),typeof t[0]=="string"?t.splice(0,1,mM+" "+t[0],pM,_1+o+_1,yM):t.splice(0,0,mM,pM,_1+o+_1,yM),t.unshift(console),o=h6.apply(console.error,t),o()}else console.error(`%o
148
+ `,t,e,a].slice(0),typeof t[0]=="string"?t.splice(0,1,W2+" "+t[0],F2,kv+i+kv,I2):t.splice(0,0,W2,F2,kv+i+kv,I2),t.unshift(console),i=qE.apply(console.error,t),i()}else console.error(`%o
170
149
 
171
150
  %s
172
151
 
173
152
  %s
174
- `,t,e,a)}function _y(t){QT(t)}function Mf(t,e){try{rp=e.source?yt(e.source):null,m2=null;var a=e.value;if(P.actQueue!==null)P.thrownErrors.push(a);else{var o=t.onUncaughtError;o(a,{componentStack:e.stack})}}catch(c){setTimeout(function(){throw c})}}function Ny(t,e,a){try{rp=a.source?yt(a.source):null,m2=yt(e);var o=t.onCaughtError;o(a.value,{componentStack:a.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function Yh(t,e,a){return a=zn(a),a.tag=u2,a.payload={element:null},a.callback=function(){mt(e.source,Mf,t,e)},a}function Gh(t){return t=zn(t),t.tag=u2,t}function Xh(t,e,a,o){var c=a.type.getDerivedStateFromError;if(typeof c=="function"){var f=o.value;t.payload=function(){return c(f)},t.callback=function(){Iu(a),mt(o.source,Ny,e,a,o)}}var y=a.stateNode;y!==null&&typeof y.componentDidCatch=="function"&&(t.callback=function(){Iu(a),mt(o.source,Ny,e,a,o),typeof c!="function"&&(zc===null?zc=new Set([this]):zc.add(this)),G5(this,o),typeof c=="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.",yt(a)||"Unknown")})}function jy(t,e,a,o,c){if(a.flags|=32768,Ki&&Xr(t,c),o!==null&&typeof o=="object"&&typeof o.then=="function"){if(e=a.alternate,e!==null&&Zl(e,a,c,!0),pe&&(Ou=!0),a=ri.current,a!==null){switch(a.tag){case 31:case 13:return ao===null?qr():a.alternate===null&&hn===Js&&(hn=f1),a.flags&=-257,a.flags|=65536,a.lanes=c,o===l1?a.flags|=16384:(e=a.updateQueue,e===null?a.updateQueue=new Set([o]):e.add(o),rm(t,o,c)),!1;case 22:return a.flags|=65536,o===l1?a.flags|=16384:(e=a.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([o])},a.updateQueue=e):(a=e.retryQueue,a===null?e.retryQueue=new Set([o]):a.add(o)),rm(t,o,c)),!1}throw Error("Unexpected Suspense handler tag ("+a.tag+"). This is a bug in React.")}return rm(t,o,c),qr(),!1}if(pe)return Ou=!0,e=ri.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=c,o!==FT&&of(ya(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:o}),a))):(o!==FT&&of(ya(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:o}),a)),t=t.current.alternate,t.flags|=65536,c&=-c,t.lanes|=c,o=ya(o,a),c=Yh(t.stateNode,o,c),df(t,c),hn!==xc&&(hn=Ad)),!1;var f=ya(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:o}),a);if(R0===null?R0=[f]:R0.push(f),hn!==xc&&(hn=Ad),e===null)return!0;o=ya(o,a),a=e;do{switch(a.tag){case 3:return a.flags|=65536,t=c&-c,a.lanes|=t,t=Yh(a.stateNode,o,t),df(a,t),!1;case 1:if(e=a.type,f=a.stateNode,(a.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(zc===null||!zc.has(f))))return a.flags|=65536,c&=-c,a.lanes|=c,c=Gh(c),Xh(c,t,a,o),df(a,c),!1}a=a.return}while(a!==null);return!1}function Yn(t,e,a,o){e.child=t===null?dC(e,null,a,o):Sd(e,t.child,a,o)}function qv(t,e,a,o,c){a=a.render;var f=e.ref;if("ref"in o){var y={};for(var g in o)g!=="ref"&&(y[g]=o[g])}else y=o;return nu(e),o=My(t,e,a,y,f,c),g=ss(),t!==null&&!Jn?(yf(t,e,c),Wl(t,e,c)):(pe&&g&&Th(e),e.flags|=1,Yn(t,e,o,c),e.child)}function By(t,e,a,o,c){if(t===null){var f=a.type;return typeof f=="function"&&!my(f)&&f.defaultProps===void 0&&a.compare===null?(a=Wo(f),e.tag=15,e.type=a,_r(e,f),Vy(t,e,a,o,c)):(t=Pu(a.type,null,o,e,e.mode,c),t.ref=e.ref,t.return=e,e.child=t)}if(f=t.child,!Kh(t,c)){var y=f.memoizedProps;if(a=a.compare,a=a!==null?a:pr,a(y,o)&&t.ref===e.ref)return Wl(t,e,c)}return e.flags|=1,t=xi(f,o),t.ref=e.ref,t.return=e,e.child=t}function Vy(t,e,a,o,c){if(t!==null){var f=t.memoizedProps;if(pr(f,o)&&t.ref===e.ref&&e.type===t.type)if(Jn=!1,e.pendingProps=o=f,Kh(t,c))(t.flags&131072)!==0&&(Jn=!0);else return e.lanes=t.lanes,Wl(t,e,c)}return Yy(t,e,a,o,c)}function Hy(t,e,a,o){var c=o.children,f=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:i0,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((e.flags&128)!==0){if(f=f!==null?f.baseLanes|a:a,t!==null){for(o=e.child=t.child,c=0;o!==null;)c=c|o.lanes|o.childLanes,o=o.sibling;o=c&~f}else o=0,e.child=null;return Ly(t,e,f,a,o)}if((a&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Tr(e,f!==null?f.cachePool:null),f!==null?Oh(e,f):So(e),Rh(e);else return o=e.lanes=536870912,Ly(t,e,f!==null?f.baseLanes|a:a,a,o)}else f!==null?(Tr(e,f.cachePool),Oh(e,f),Ri(e),e.memoizedState=null):(t!==null&&Tr(e,null),So(e),Ri(e));return Yn(t,e,c,a),e.child}function vs(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:i0,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function Ly(t,e,a,o,c){var f=bo();return f=f===null?null:{parent:Qn._currentValue,pool:f},e.memoizedState={baseLanes:a,cachePool:f},t!==null&&Tr(e,null),So(e),Rh(e),t!==null&&Zl(t,e,o,!0),e.childLanes=c,null}function zf(t,e){var a=e.hidden;return a!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
153
+ `,t,e,a)}function yy(t){q1(t)}function Ls(t,e){try{sm=e.source?at(e.source):null,cb=null;var a=e.value;if(Y.actQueue!==null)Y.thrownErrors.push(a);else{var i=t.onUncaughtError;i(a,{componentStack:e.stack})}}catch(o){setTimeout(function(){throw o})}}function py(t,e,a){try{sm=a.source?at(a.source):null,cb=at(e);var i=t.onCaughtError;i(a.value,{componentStack:a.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function Vd(t,e,a){return a=bl(a),a.tag=tb,a.payload={element:null},a.callback=function(){$(e.source,Ls,t,e)},a}function Qd(t){return t=bl(t),t.tag=tb,t}function Ld(t,e,a,i){var o=a.type.getDerivedStateFromError;if(typeof o=="function"){var f=i.value;t.payload=function(){return o(f)},t.callback=function(){Mc(a),$(i.source,py,e,a,i)}}var d=a.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(t.callback=function(){Mc(a),$(i.source,py,e,a,i),typeof o!="function"&&(Pf===null?Pf=new Set([this]):Pf.add(this)),dE(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.",at(a)||"Unknown")})}function gy(t,e,a,i,o){if(a.flags|=32768,Ru&&mf(t,o),i!==null&&typeof i=="object"&&typeof i.then=="function"){if(e=a.alternate,e!==null&&xn(e,a,o,!0),ee&&(oc=!0),a=kn.current,a!==null){switch(a.tag){case 31:case 13:return ju===null?rf():a.alternate===null&&il===Eo&&(il=Ov),a.flags&=-257,a.flags|=65536,a.lanes=o,i===Sv?a.flags|=16384:(e=a.updateQueue,e===null?a.updateQueue=new Set([i]):e.add(i),sh(t,i,o)),!1;case 22:return a.flags|=65536,i===Sv?a.flags|=16384:(e=a.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([i])},a.updateQueue=e):(a=e.retryQueue,a===null?e.retryQueue=new Set([i]):a.add(i)),sh(t,i,o)),!1}throw Error("Unexpected Suspense handler tag ("+a.tag+"). This is a bug in React.")}return sh(t,i,o),rf(),!1}if(ee)return oc=!0,e=kn.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=o,i!==Q1&&As(ua(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!==Q1&&As(ua(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:i}),a)),t=t.current.alternate,t.flags|=65536,o&=-o,t.lanes|=o,i=ua(i,a),o=Vd(t.stateNode,i,o),Us(t,o),il!==kf&&(il=jr)),!1;var f=ua(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(dp===null?dp=[f]:dp.push(f),il!==kf&&(il=jr),e===null)return!0;i=ua(i,a),a=e;do{switch(a.tag){case 3:return a.flags|=65536,t=o&-o,a.lanes|=t,t=Vd(a.stateNode,i,t),Us(a,t),!1;case 1:if(e=a.type,f=a.stateNode,(a.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(Pf===null||!Pf.has(f))))return a.flags|=65536,o&=-o,a.lanes|=o,o=Qd(o),Ld(o,t,a,i),Us(a,o),!1}a=a.return}while(a!==null);return!1}function xl(t,e,a,i){e.child=t===null?$S(e,null,a,i):qr(e,t.child,a,i)}function lg(t,e,a,i,o){a=a.render;var f=e.ref;if("ref"in i){var d={};for(var h in i)h!=="ref"&&(d[h]=i[h])}else d=i;return Bi(e),i=fy(t,e,a,d,f,o),h=wc(),t!==null&&!ql?(Hs(t,e,o),qn(t,e,o)):(ee&&h&&Ed(e),e.flags|=1,xl(t,e,i,o),e.child)}function vy(t,e,a,i,o){if(t===null){var f=a.type;return typeof f=="function"&&!Wm(f)&&f.defaultProps===void 0&&a.compare===null?(a=Ri(f),e.tag=15,e.type=a,af(e,f),by(t,e,a,i,o)):(t=Oc(a.type,null,i,e,e.mode,o),t.ref=e.ref,t.return=e,e.child=t)}if(f=t.child,!kd(t,o)){var d=f.memoizedProps;if(a=a.compare,a=a!==null?a:jo,a(d,i)&&t.ref===e.ref)return qn(t,e,o)}return e.flags|=1,t=iu(f,i),t.ref=e.ref,t.return=e,e.child=t}function by(t,e,a,i,o){if(t!==null){var f=t.memoizedProps;if(jo(f,i)&&t.ref===e.ref&&e.type===t.type)if(ql=!1,e.pendingProps=i=f,kd(t,o))(t.flags&131072)!==0&&(ql=!0);else return e.lanes=t.lanes,qn(t,e,o)}return Ay(t,e,a,i,o)}function Sy(t,e,a,i){var o=i.children,f=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:X0,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.mode==="hidden"){if((e.flags&128)!==0){if(f=f!==null?f.baseLanes|a:a,t!==null){for(i=e.child=t.child,o=0;i!==null;)o=o|i.lanes|i.childLanes,i=i.sibling;i=o&~f}else i=0,e.child=null;return Ty(t,e,f,a,i)}if((a&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Zo(e,f!==null?f.cachePool:null),f!==null?Rd(e,f):Pu(e),xd(e);else return i=e.lanes=536870912,Ty(t,e,f!==null?f.baseLanes|a:a,a,i)}else f!==null?(Zo(e,f.cachePool),Rd(e,f),du(e),e.memoizedState=null):(t!==null&&Zo(e,null),Pu(e),du(e));return xl(t,e,o,a),e.child}function Jc(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:X0,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function Ty(t,e,a,i,o){var f=Iu();return f=f===null?null:{parent:Nl._currentValue,pool:f},e.memoizedState={baseLanes:a,cachePool:f},t!==null&&Zo(e,null),Pu(e),xd(e),t!==null&&xn(t,e,i,!0),e.childLanes=o,null}function Zs(t,e){var a=e.hidden;return a!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
175
154
  - <Activity %s>
176
- + <Activity %s>`,a===!0?"hidden":a===!1?"hidden={false}":"hidden={...}",a?'mode="hidden"':'mode="visible"'),e=Rf({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function qy(t,e,a){return Sd(e,t.child,null,a),t=zf(e,e.pendingProps),t.flags|=2,Ln(e),e.memoizedState=null,t}function Yv(t,e,a){var o=e.pendingProps,c=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(pe){if(o.mode==="hidden")return t=zf(e,o),e.lanes=536870912,vs(null,t);if($l(e),(t=tn)?(a=Ue(t,eo),a=a!==null&&a.data===zd?a:null,a!==null&&(o={dehydrated:a,treeContext:wv(),retryLane:536870912,hydrationErrors:null},e.memoizedState=o,o=yy(a),o.return=e,e.child=o,wa=e,tn=null)):a=null,a===null)throw oa(e,t),Tl(e);return e.lanes=536870912,null}return zf(e,o)}var f=t.memoizedState;if(f!==null){var y=f.dehydrated;if($l(e),c)if(e.flags&256)e.flags&=-257,e=qy(t,e,a);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(_v(),(a&536870912)!==0&&Lr(e),Jn||Zl(t,e,a,!1),c=(a&t.childLanes)!==0,Jn||c){if(o=ke,o!==null&&(y=hv(o,a),y!==0&&y!==f.retryLane))throw f.retryLane=y,ia(t,y),kt(o,t,y),p2;qr(),e=qy(t,e,a)}else t=f.treeContext,tn=ul(y.nextSibling),wa=e,pe=!0,vc=null,Ou=!1,si=null,eo=!1,t!==null&&Uv(e,t),e=zf(e,o),e.flags|=4096;return e}return f=t.child,o={mode:o.mode,children:o.children},(a&536870912)!==0&&(a&t.lanes)!==0&&Lr(e),t=xi(f,o),t.ref=e.ref,e.child=t,t.return=e,t}function Of(t,e){var a=e.ref;if(a===null)t!==null&&t.ref!==null&&(e.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.");(t===null||t.ref!==a)&&(e.flags|=4194816)}}function Yy(t,e,a,o,c){if(a.prototype&&typeof a.prototype.render=="function"){var f=I(a)||"Unknown";_C[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),_C[f]=!0)}return e.mode&Xa&&Vo.recordLegacyContextWarning(e,null),t===null&&(_r(e,e.type),a.contextTypes&&(f=I(a)||"Unknown",jC[f]||(jC[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)))),nu(e),a=My(t,e,a,o,void 0,c),o=ss(),t!==null&&!Jn?(yf(t,e,c),Wl(t,e,c)):(pe&&o&&Th(e),e.flags|=1,Yn(t,e,a,c),e.child)}function Gy(t,e,a,o,c,f){return nu(e),Zs=-1,E0=t!==null&&t.type!==e.type,e.updateQueue=null,a=mf(e,o,a,c),vn(t,e),o=ss(),t!==null&&!Jn?(yf(t,e,f),Wl(t,e,f)):(pe&&o&&Th(e),e.flags|=1,Yn(t,e,a,f),e.child)}function bs(t,e,a,o,c){switch(b(e)){case!1:var f=e.stateNode,y=new e.type(e.memoizedProps,f.context).state;f.updater.enqueueSetState(f,y,null);break;case!0:e.flags|=128,e.flags|=65536,f=Error("Simulated error coming from DevTools");var g=c&-c;if(e.lanes|=g,y=ke,y===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");g=Gh(g),Xh(g,y,e,ya(f,e)),df(e,g)}if(nu(e),e.stateNode===null){if(y=gc,f=a.contextType,"contextType"in a&&f!==null&&(f===void 0||f.$$typeof!==ii)&&!wC.has(a)&&(wC.add(a),g=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===wm?" 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",I(a)||"Component",g)),typeof f=="object"&&f!==null&&(y=De(f)),f=new a(o,y),e.mode&Xa){Ye(!0);try{f=new a(o,y)}finally{Ye(!1)}}if(y=e.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=h2,e.stateNode=f,f._reactInternals=e,f._reactInternalInstance=AC,typeof a.getDerivedStateFromProps=="function"&&y===null&&(y=I(a)||"Component",xC.has(y)||(xC.add(y),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.",y,f.state===null?"null":"undefined",y))),typeof a.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"){var E=g=y=null;if(typeof f.componentWillMount=="function"&&f.componentWillMount.__suppressDeprecationWarning!==!0?y="componentWillMount":typeof f.UNSAFE_componentWillMount=="function"&&(y="UNSAFE_componentWillMount"),typeof f.componentWillReceiveProps=="function"&&f.componentWillReceiveProps.__suppressDeprecationWarning!==!0?g="componentWillReceiveProps":typeof f.UNSAFE_componentWillReceiveProps=="function"&&(g="UNSAFE_componentWillReceiveProps"),typeof f.componentWillUpdate=="function"&&f.componentWillUpdate.__suppressDeprecationWarning!==!0?E="componentWillUpdate":typeof f.UNSAFE_componentWillUpdate=="function"&&(E="UNSAFE_componentWillUpdate"),y!==null||g!==null||E!==null){f=I(a)||"Component";var D=typeof a.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";CC.has(f)||(CC.add(f),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
155
+ + <Activity %s>`,a===!0?"hidden":a===!1?"hidden={false}":"hidden={...}",a?'mode="hidden"':'mode="visible"'),e=Ks({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function Ey(t,e,a){return qr(e,t.child,null,a),t=Zs(e,e.pendingProps),t.flags|=2,Ul(e),e.memoizedState=null,t}function ag(t,e,a){var i=e.pendingProps,o=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(ee){if(i.mode==="hidden")return t=Zs(e,i),e.lanes=536870912,Jc(null,t);if(Bn(e),(t=Ke)?(a=Ae(t,qu),a=a!==null&&a.data===Zr?a:null,a!==null&&(i={dehydrated:a,treeContext:Kp(),retryLane:536870912,hydrationErrors:null},e.memoizedState=i,i=Im(a),i.return=e,e.child=i,Sa=e,Ke=null)):a=null,a===null)throw Wl(e,t),cn(e);return e.lanes=536870912,null}return Zs(e,i)}var f=t.memoizedState;if(f!==null){var d=f.dehydrated;if(Bn(e),o)if(e.flags&256)e.flags&=-257,e=Ey(t,e,a);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(kp(),(a&536870912)!==0&&sf(e),ql||xn(t,e,a,!1),o=(a&t.childLanes)!==0,ql||o){if(i=qe,i!==null&&(d=Up(i,a),d!==0&&d!==f.retryLane))throw f.retryLane=d,kl(t,d),Ot(i,t,d),ob;rf(),e=Ey(t,e,a)}else t=f.treeContext,Ke=Ka(d.nextSibling),Sa=e,ee=!0,Qf=null,oc=!1,$n=null,qu=!1,t!==null&&$p(e,t),e=Zs(e,i),e.flags|=4096;return e}return f=t.child,i={mode:i.mode,children:i.children},(a&536870912)!==0&&(a&t.lanes)!==0&&sf(e),t=iu(f,i),t.ref=e.ref,e.child=t,t.return=e,t}function Js(t,e){var a=e.ref;if(a===null)t!==null&&t.ref!==null&&(e.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.");(t===null||t.ref!==a)&&(e.flags|=4194816)}}function Ay(t,e,a,i,o){if(a.prototype&&typeof a.prototype.render=="function"){var f=vt(a)||"Unknown";y2[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),y2[f]=!0)}return e.mode&xa&&pi.recordLegacyContextWarning(e,null),t===null&&(af(e,e.type),a.contextTypes&&(f=vt(a)||"Unknown",g2[f]||(g2[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)))),Bi(e),a=fy(t,e,a,i,void 0,o),i=wc(),t!==null&&!ql?(Hs(t,e,o),qn(t,e,o)):(ee&&i&&Ed(e),e.flags|=1,xl(t,e,a,o),e.child)}function zy(t,e,a,i,o,f){return Bi(e),So=-1,up=t!==null&&t.type!==e.type,e.updateQueue=null,a=xs(e,i,a,o),sl(t,e),i=wc(),t!==null&&!ql?(Hs(t,e,f),qn(t,e,f)):(ee&&i&&Ed(e),e.flags|=1,xl(t,e,a,f),e.child)}function Kc(t,e,a,i,o){switch(ut(e)){case!1:var f=e.stateNode,d=new e.type(e.memoizedProps,f.context).state;f.updater.enqueueSetState(f,d,null);break;case!0:e.flags|=128,e.flags|=65536,f=Error("Simulated error coming from DevTools");var h=o&-o;if(e.lanes|=h,d=qe,d===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");h=Qd(h),Ld(h,d,e,ua(f,e)),Us(e,h)}if(Bi(e),e.stateNode===null){if(d=Vf,f=a.contextType,"contextType"in a&&f!==null&&(f===void 0||f.$$typeof!==Zn)&&!h2.has(a)&&(h2.add(a),h=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===_h?" 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",vt(a)||"Component",h)),typeof f=="object"&&f!==null&&(d=ye(f)),f=new a(i,d),e.mode&xa){_e(!0);try{f=new a(i,d)}finally{_e(!1)}}if(d=e.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=ib,e.stateNode=f,f._reactInternals=e,f._reactInternalInstance=n2,typeof a.getDerivedStateFromProps=="function"&&d===null&&(d=vt(a)||"Component",i2.has(d)||(i2.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 y=h=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?h="componentWillReceiveProps":typeof f.UNSAFE_componentWillReceiveProps=="function"&&(h="UNSAFE_componentWillReceiveProps"),typeof f.componentWillUpdate=="function"&&f.componentWillUpdate.__suppressDeprecationWarning!==!0?y="componentWillUpdate":typeof f.UNSAFE_componentWillUpdate=="function"&&(y="UNSAFE_componentWillUpdate"),d!==null||h!==null||y!==null){f=vt(a)||"Component";var p=typeof a.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";o2.has(f)||(o2.add(f),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
177
156
 
178
157
  %s uses %s but also contains the following legacy lifecycles:%s%s%s
179
158
 
180
159
  The above lifecycles should be removed. Learn more about this warning here:
181
- https://react.dev/link/unsafe-component-lifecycles`,f,D,y!==null?`
182
- `+y:"",g!==null?`
183
- `+g:"",E!==null?`
184
- `+E:""))}}f=e.stateNode,y=I(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?",y):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",y)),!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?",y),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.",y),f.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",y),a.childContextTypes&&!RC.has(a)&&(RC.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)",y)),a.contextTypes&&!OC.has(a)&&(OC.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)",y)),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.",y),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.",I(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()?",y),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().",y),typeof f.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",y),typeof f.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",y),g=f.props!==o,f.props!==void 0&&g&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",y),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.",y,y),typeof f.getSnapshotBeforeUpdate!="function"||typeof f.componentDidUpdate=="function"||DC.has(a)||(DC.add(a),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",I(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.",y),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.",y),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.",y),(g=f.state)&&(typeof g!="object"||Dn(g))&&console.error("%s.state: must be set to an object or null",y),typeof f.getChildContext=="function"&&typeof a.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",y),f=e.stateNode,f.props=o,f.state=e.memoizedState,f.refs={},he(e),y=a.contextType,f.context=typeof y=="object"&&y!==null?De(y):gc,f.state===o&&(y=I(a)||"Component",MC.has(y)||(MC.add(y),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.",y))),e.mode&Xa&&Vo.recordLegacyContextWarning(e,f),Vo.recordUnsafeLifecycleWarnings(e,f),f.state=e.memoizedState,y=a.getDerivedStateFromProps,typeof y=="function"&&(Ur(e,a,y,o),f.state=e.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(y=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),y!==f.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",yt(e)||"Component"),h2.enqueueReplaceState(f,f.state,null)),Oi(e,o,f,c),Er(),f.state=e.memoizedState),typeof f.componentDidMount=="function"&&(e.flags|=4194308),(e.mode&Bo)!==Zt&&(e.flags|=134217728),f=!0}else if(t===null){f=e.stateNode;var V=e.memoizedProps;g=ji(a,V),f.props=g;var L=f.context;E=a.contextType,y=gc,typeof E=="object"&&E!==null&&(y=De(E)),D=a.getDerivedStateFromProps,E=typeof D=="function"||typeof f.getSnapshotBeforeUpdate=="function",V=e.pendingProps!==V,E||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(V||L!==y)&&Ni(e,f,o,y),Ec=!1;var U=e.memoizedState;f.state=U,Oi(e,o,f,c),Er(),L=e.memoizedState,V||U!==L||Ec?(typeof D=="function"&&(Ur(e,a,D,o),L=e.memoizedState),(g=Ec||Hh(e,a,g,o,U,L,y))?(E||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"&&(e.flags|=4194308),(e.mode&Bo)!==Zt&&(e.flags|=134217728)):(typeof f.componentDidMount=="function"&&(e.flags|=4194308),(e.mode&Bo)!==Zt&&(e.flags|=134217728),e.memoizedProps=o,e.memoizedState=L),f.props=o,f.state=L,f.context=y,f=g):(typeof f.componentDidMount=="function"&&(e.flags|=4194308),(e.mode&Bo)!==Zt&&(e.flags|=134217728),f=!1)}else{f=e.stateNode,Mi(t,e),y=e.memoizedProps,E=ji(a,y),f.props=E,D=e.pendingProps,U=f.context,L=a.contextType,g=gc,typeof L=="object"&&L!==null&&(g=De(L)),V=a.getDerivedStateFromProps,(L=typeof V=="function"||typeof f.getSnapshotBeforeUpdate=="function")||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(y!==D||U!==g)&&Ni(e,f,o,g),Ec=!1,U=e.memoizedState,f.state=U,Oi(e,o,f,c),Er();var K=e.memoizedState;y!==D||U!==K||Ec||t!==null&&t.dependencies!==null&&br(t.dependencies)?(typeof V=="function"&&(Ur(e,a,V,o),K=e.memoizedState),(E=Ec||Hh(e,a,E,o,U,K,g)||t!==null&&t.dependencies!==null&&br(t.dependencies))?(L||typeof f.UNSAFE_componentWillUpdate!="function"&&typeof f.componentWillUpdate!="function"||(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(o,K,g),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(o,K,g)),typeof f.componentDidUpdate=="function"&&(e.flags|=4),typeof f.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof f.componentDidUpdate!="function"||y===t.memoizedProps&&U===t.memoizedState||(e.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||y===t.memoizedProps&&U===t.memoizedState||(e.flags|=1024),e.memoizedProps=o,e.memoizedState=K),f.props=o,f.state=K,f.context=g,f=E):(typeof f.componentDidUpdate!="function"||y===t.memoizedProps&&U===t.memoizedState||(e.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||y===t.memoizedProps&&U===t.memoizedState||(e.flags|=1024),f=!1)}if(g=f,Of(t,e),y=(e.flags&128)!==0,g||y){if(g=e.stateNode,se(e),y&&typeof a.getDerivedStateFromError!="function")a=null,dl=-1;else if(a=ID(g),e.mode&Xa){Ye(!0);try{ID(g)}finally{Ye(!1)}}e.flags|=1,t!==null&&y?(e.child=Sd(e,t.child,null,c),e.child=Sd(e,null,a,c)):Yn(t,e,a,c),e.memoizedState=g.state,t=e.child}else t=Wl(t,e,c);return c=e.stateNode,f&&c.props!==o&&(cp||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",yt(e)||"a component"),cp=!0),t}function Xy(t,e,a,o){return tu(),e.flags|=256,Yn(t,e,a,o),e.child}function _r(t,e){e&&e.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
185
- %s.childContextTypes = ...`,e.displayName||e.name||"Component"),typeof e.getDerivedStateFromProps=="function"&&(t=I(e)||"Unknown",BC[t]||(console.error("%s: Function components do not support getDerivedStateFromProps.",t),BC[t]=!0)),typeof e.contextType=="object"&&e.contextType!==null&&(e=I(e)||"Unknown",NC[e]||(console.error("%s: Function components do not support contextType.",e),NC[e]=!0))}function Nr(t){return{baseLanes:t,cachePool:Ay()}}function Qh(t,e,a){return t=t!==null?t.childLanes&~a:0,e&&(t|=Nl),t}function Zh(t,e,a){var o,c=e.pendingProps;T(e)&&(e.flags|=128);var f=!1,y=(e.flags&128)!==0;if((o=y)||(o=t!==null&&t.memoizedState===null?!1:(_n.current&T0)!==0),o&&(f=!0,e.flags&=-129),o=(e.flags&32)!==0,e.flags&=-33,t===null){if(pe){if(f?Sa(e):Ri(e),(t=tn)?(a=Ue(t,eo),a=a!==null&&a.data!==zd?a:null,a!==null&&(o={dehydrated:a,treeContext:wv(),retryLane:536870912,hydrationErrors:null},e.memoizedState=o,o=yy(a),o.return=e,e.child=o,wa=e,tn=null)):a=null,a===null)throw oa(e,t),Tl(e);return Ag(a)?e.lanes=32:e.lanes=536870912,null}var g=c.children;if(c=c.fallback,f){Ri(e);var E=e.mode;return g=Rf({mode:"hidden",children:g},E),c=ts(c,E,a,null),g.return=e,c.return=e,g.sibling=c,e.child=g,c=e.child,c.memoizedState=Nr(a),c.childLanes=Qh(t,o,a),e.memoizedState=y2,vs(null,c)}return Sa(e),Qy(e,g)}var D=t.memoizedState;if(D!==null){var V=D.dehydrated;if(V!==null){if(y)e.flags&256?(Sa(e),e.flags&=-257,e=kh(t,e,a)):e.memoizedState!==null?(Ri(e),e.child=t.child,e.flags|=128,e=null):(Ri(e),g=c.fallback,E=e.mode,c=Rf({mode:"visible",children:c.children},E),g=ts(g,E,a,null),g.flags|=2,c.return=e,g.return=e,c.sibling=g,e.child=c,Sd(e,t.child,null,a),c=e.child,c.memoizedState=Nr(a),c.childLanes=Qh(t,o,a),e.memoizedState=y2,e=vs(null,c));else if(Sa(e),_v(),(a&536870912)!==0&&Lr(e),Ag(V)){if(o=V.nextSibling&&V.nextSibling.dataset,o){g=o.dgst;var L=o.msg;E=o.stck;var U=o.cstck}f=L,o=g,c=E,V=U,g=f,E=V,g=Error(g||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),g.stack=c||"",g.digest=o,o=E===void 0?null:E,c={value:g,source:null,stack:o},typeof o=="string"&&$T.set(g,c),of(c),e=kh(t,e,a)}else if(Jn||Zl(t,e,a,!1),o=(a&t.childLanes)!==0,Jn||o){if(o=ke,o!==null&&(c=hv(o,a),c!==0&&c!==D.retryLane))throw D.retryLane=c,ia(t,c),kt(o,t,c),p2;Kf(V)||qr(),e=kh(t,e,a)}else Kf(V)?(e.flags|=192,e.child=t.child,e=null):(t=D.treeContext,tn=ul(V.nextSibling),wa=e,pe=!0,vc=null,Ou=!1,si=null,eo=!1,t!==null&&Uv(e,t),e=Qy(e,c.children),e.flags|=4096);return e}}return f?(Ri(e),g=c.fallback,E=e.mode,U=t.child,V=U.sibling,c=xi(U,{mode:"hidden",children:c.children}),c.subtreeFlags=U.subtreeFlags&65011712,V!==null?g=xi(V,g):(g=ts(g,E,a,null),g.flags|=2),g.return=e,c.return=e,c.sibling=g,e.child=c,vs(null,c),c=e.child,g=t.child.memoizedState,g===null?g=Nr(a):(E=g.cachePool,E!==null?(U=Qn._currentValue,E=E.parent!==U?{parent:U,pool:U}:E):E=Ay(),g={baseLanes:g.baseLanes|a,cachePool:E}),c.memoizedState=g,c.childLanes=Qh(t,o,a),e.memoizedState=y2,vs(t.child,c)):(D!==null&&(a&62914560)===a&&(a&t.lanes)!==0&&Lr(e),Sa(e),a=t.child,t=a.sibling,a=xi(a,{mode:"visible",children:c.children}),a.return=e,a.sibling=null,t!==null&&(o=e.deletions,o===null?(e.deletions=[t],e.flags|=16):o.push(t)),e.child=a,e.memoizedState=null,a)}function Qy(t,e){return e=Rf({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Rf(t,e){return t=w(22,t,null,e),t.lanes=0,t}function kh(t,e,a){return Sd(e,t.child,null,a),t=Qy(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Zy(t,e,a){t.lanes|=e;var o=t.alternate;o!==null&&(o.lanes|=e),Eh(t.return,e,a)}function Jh(t,e,a,o,c,f){var y=t.memoizedState;y===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:o,tail:a,tailMode:c,treeForkCount:f}:(y.isBackwards=e,y.rendering=null,y.renderingStartTime=0,y.last=o,y.tail=a,y.tailMode=c,y.treeForkCount=f)}function ky(t,e,a){var o=e.pendingProps,c=o.revealOrder,f=o.tail,y=o.children,g=_n.current;if((o=(g&T0)!==0)?(g=g&op|T0,e.flags|=128):g&=op,Vt(_n,g,e),g=c??"null",c!=="forwards"&&c!=="unstable_legacy-backwards"&&c!=="together"&&c!=="independent"&&!VC[g])if(VC[g]=!0,c==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(c==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof c=="string")switch(c.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',c,c.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.',c,c.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',c)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',c);g=f??"null",c1[g]||(f==null?(c==="forwards"||c==="backwards"||c==="unstable_legacy-backwards")&&(c1[g]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')):f!=="visible"&&f!=="collapsed"&&f!=="hidden"?(c1[g]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',f)):c!=="forwards"&&c!=="backwards"&&c!=="unstable_legacy-backwards"&&(c1[g]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',f)));t:if((c==="forwards"||c==="backwards"||c==="unstable_legacy-backwards")&&y!==void 0&&y!==null&&y!==!1)if(Dn(y)){for(g=0;g<y.length;g++)if(!Ge(y[g],g))break t}else if(g=Dt(y),typeof g=="function"){if(g=g.call(y))for(var E=g.next(),D=0;!E.done;E=g.next()){if(!Ge(E.value,D))break t;D++}}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?',c);if(Yn(t,e,y,a),pe?(Po(),y=o0):y=0,!o&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Zy(t,a,e);else if(t.tag===19)Zy(t,a,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(c){case"forwards":for(a=e.child,c=null;a!==null;)t=a.alternate,t!==null&&us(t)===null&&(c=a),a=a.sibling;a=c,a===null?(c=e.child,e.child=null):(c=a.sibling,a.sibling=null),Jh(e,!1,c,a,f,y);break;case"backwards":case"unstable_legacy-backwards":for(a=null,c=e.child,e.child=null;c!==null;){if(t=c.alternate,t!==null&&us(t)===null){e.child=c;break}t=c.sibling,c.sibling=a,a=c,c=t}Jh(e,!0,a,null,f,y);break;case"together":Jh(e,!1,null,null,void 0,y);break;default:e.memoizedState=null}return e.child}function Wl(t,e,a){if(t!==null&&(e.dependencies=t.dependencies),dl=-1,Cc|=e.lanes,(a&e.childLanes)===0)if(t!==null){if(Zl(t,e,a,!1),(a&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error("Resuming work not yet implemented.");if(e.child!==null){for(t=e.child,a=xi(t,t.pendingProps),e.child=a,a.return=e;t.sibling!==null;)t=t.sibling,a=a.sibling=xi(t,t.pendingProps),a.return=e;a.sibling=null}return e.child}function Kh(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&br(t)))}function Gv(t,e,a){switch(e.tag){case 3:Gt(e,e.stateNode.containerInfo),Al(e,Qn,t.memoizedState.cache),tu();break;case 27:case 5:k(e);break;case 4:Gt(e,e.stateNode.containerInfo);break;case 10:Al(e,e.type,e.memoizedProps.value);break;case 12:(a&e.childLanes)!==0&&(e.flags|=4),e.flags|=2048;var o=e.stateNode;o.effectDuration=-0,o.passiveEffectDuration=-0;break;case 31:if(e.memoizedState!==null)return e.flags|=128,$l(e),null;break;case 13:if(o=e.memoizedState,o!==null)return o.dehydrated!==null?(Sa(e),e.flags|=128,null):(a&e.child.childLanes)!==0?Zh(t,e,a):(Sa(e),t=Wl(t,e,a),t!==null?t.sibling:null);Sa(e);break;case 19:var c=(t.flags&128)!==0;if(o=(a&e.childLanes)!==0,o||(Zl(t,e,a,!1),o=(a&e.childLanes)!==0),c){if(o)return ky(t,e,a);e.flags|=128}if(c=e.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),Vt(_n,_n.current,e),o)break;return null;case 22:return e.lanes=0,Hy(t,e,a,e.pendingProps);case 24:Al(e,Qn,t.memoizedState.cache)}return Wl(t,e,a)}function wf(t,e,a){if(e._debugNeedsRemount&&t!==null){a=Pu(e.type,e.key,e.pendingProps,e._debugOwner||null,e.mode,e.lanes),a._debugStack=e._debugStack,a._debugTask=e._debugTask;var o=e.return;if(o===null)throw Error("Cannot swap the root fiber.");if(t.alternate=null,e.alternate=null,a.index=e.index,a.sibling=e.sibling,a.return=e.return,a.ref=e.ref,a._debugInfo=e._debugInfo,e===o.child)o.child=a;else{var c=o.child;if(c===null)throw Error("Expected parent to have a child.");for(;c.sibling!==e;)if(c=c.sibling,c===null)throw Error("Expected to find the previous sibling.");c.sibling=a}return e=o.deletions,e===null?(o.deletions=[t],o.flags|=16):e.push(t),a.flags|=2,a}if(t!==null)if(t.memoizedProps!==e.pendingProps||e.type!==t.type)Jn=!0;else{if(!Kh(t,a)&&(e.flags&128)===0)return Jn=!1,Gv(t,e,a);Jn=(t.flags&131072)!==0}else Jn=!1,(o=pe)&&(Po(),o=(e.flags&1048576)!==0),o&&(o=e.index,Po(),gy(e,o0,o));switch(e.lanes=0,e.tag){case 16:t:if(o=e.pendingProps,t=Ia(e.elementType),e.type=t,typeof t=="function")my(t)?(o=ji(t,o),e.tag=1,e.type=t=Wo(t),e=bs(null,e,t,o,a)):(e.tag=0,_r(e,t),e.type=t=Wo(t),e=Yy(null,e,t,o,a));else{if(t!=null){if(c=t.$$typeof,c===ac){e.tag=11,e.type=t=bh(t),e=qv(null,e,t,o,a);break t}else if(c===ld){e.tag=14,e=By(null,e,t,o,a);break t}}throw e="",t!==null&&typeof t=="object"&&t.$$typeof===sa&&(e=" Did you wrap a component in React.lazy() more than once?"),a=I(t)||t,Error("Element type is invalid. Received a promise that resolves to: "+a+". Lazy element type must resolve to a class or function."+e)}return e;case 0:return Yy(t,e,e.type,e.pendingProps,a);case 1:return o=e.type,c=ji(o,e.pendingProps),bs(t,e,o,c,a);case 3:t:{if(Gt(e,e.stateNode.containerInfo),t===null)throw Error("Should have a current fiber. This is a bug in React.");o=e.pendingProps;var f=e.memoizedState;c=f.element,Mi(t,e),Oi(e,o,null,a);var y=e.memoizedState;if(o=y.cache,Al(e,Qn,o),o!==f.cache&&yo(e,[Qn],a,!0),Er(),o=y.element,f.isDehydrated)if(f={element:o,isDehydrated:!1,cache:y.cache},e.updateQueue.baseState=f,e.memoizedState=f,e.flags&256){e=Xy(t,e,o,a);break t}else if(o!==c){c=ya(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),e),of(c),e=Xy(t,e,o,a);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(tn=ul(t.firstChild),wa=e,pe=!0,vc=null,Ou=!1,si=null,eo=!0,a=dC(e,null,o,a),e.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(tu(),o===c){e=Wl(t,e,a);break t}Yn(t,e,o,a)}e=e.child}return e;case 26:return Of(t,e),t===null?(a=Cg(e.type,null,e.pendingProps,null))?e.memoizedState=a:pe||(a=e.type,t=e.pendingProps,o=Lt(sl.current),o=kf(o).createElement(a),o[Ie]=e,o[Ra]=t,We(o,a,t),yn(o),e.stateNode=o):e.memoizedState=Cg(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return k(e),t===null&&pe&&(o=Lt(sl.current),c=F(),o=e.stateNode=Uo(e.type,e.pendingProps,o,c,!1),Ou||(c=qa(o,e.type,e.pendingProps,c),c!==null&&(es(e,0).serverProps=c)),wa=e,eo=!0,c=tn,Au(e.type)?(L2=c,tn=ul(o.firstChild)):tn=c),Yn(t,e,e.pendingProps.children,a),Of(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&pe&&(f=F(),o=$c(e.type,f.ancestorInfo),c=tn,(y=!c)||(y=vb(c,e.type,e.pendingProps,eo),y!==null?(e.stateNode=y,Ou||(f=qa(y,e.type,e.pendingProps,f),f!==null&&(es(e,0).serverProps=f)),wa=e,tn=ul(y.firstChild),eo=!1,f=!0):f=!1,y=!f),y&&(o&&oa(e,c),Tl(e))),k(e),c=e.type,f=e.pendingProps,y=t!==null?t.memoizedProps:null,o=f.children,Kr(c,f)?o=null:y!==null&&Kr(c,y)&&(e.flags|=32),e.memoizedState!==null&&(c=My(t,e,pf,null,null,a),L0._currentValue=c),Of(t,e),Yn(t,e,o,a),e.child;case 6:return t===null&&pe&&(a=e.pendingProps,t=F(),o=t.ancestorInfo.current,a=o!=null?Fc(a,o.tag,t.ancestorInfo.implicitRootScope):!0,t=tn,(o=!t)||(o=bb(t,e.pendingProps,eo),o!==null?(e.stateNode=o,wa=e,tn=null,o=!0):o=!1,o=!o),o&&(a&&oa(e,t),Tl(e))),null;case 13:return Zh(t,e,a);case 4:return Gt(e,e.stateNode.containerInfo),o=e.pendingProps,t===null?e.child=Sd(e,null,o,a):Yn(t,e,o,a),e.child;case 11:return qv(t,e,e.type,e.pendingProps,a);case 7:return Yn(t,e,e.pendingProps,a),e.child;case 8:return Yn(t,e,e.pendingProps.children,a),e.child;case 12:return e.flags|=4,e.flags|=2048,o=e.stateNode,o.effectDuration=-0,o.passiveEffectDuration=-0,Yn(t,e,e.pendingProps.children,a),e.child;case 10:return o=e.type,c=e.pendingProps,f=c.value,"value"in c||HC||(HC=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Al(e,o,f),Yn(t,e,c.children,a),e.child;case 9:return c=e.type._context,o=e.pendingProps.children,typeof o!="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."),nu(e),c=De(c),o=a2(o,c,void 0),e.flags|=1,Yn(t,e,o,a),e.child;case 14:return By(t,e,e.type,e.pendingProps,a);case 15:return Vy(t,e,e.type,e.pendingProps,a);case 19:return ky(t,e,a);case 31:return Yv(t,e,a);case 22:return Hy(t,e,a,e.pendingProps);case 24:return nu(e),o=De(Qn),t===null?(c=bo(),c===null&&(c=ke,f=xh(),c.pooledCache=f,as(f),f!==null&&(c.pooledCacheLanes|=a),c=f),e.memoizedState={parent:o,cache:c},he(e),Al(e,Qn,c)):((t.lanes&a)!==0&&(Mi(t,e),Oi(e,null,null,a),Er()),c=t.memoizedState,f=e.memoizedState,c.parent!==o?(c={parent:o,cache:o},e.memoizedState=c,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=c),Al(e,Qn,o)):(o=f.cache,Al(e,Qn,o),o!==c.cache&&yo(e,[Qn],a,!0))),Yn(t,e,e.pendingProps.children,a),e.child;case 29:throw e.pendingProps}throw Error("Unknown unit of work tag ("+e.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Bi(t){t.flags|=4}function $h(t,e,a,o,c){if((e=(t.mode&V5)!==Zt)&&(e=!1),e){if(t.flags|=16777216,(c&335544128)===c)if(t.stateNode.complete)t.flags|=8192;else if(cg())t.flags|=8192;else throw bd=l1,i2}else t.flags&=-16777217}function Xv(t,e){if(e.type!=="stylesheet"||(e.state.loading&oo)!==wd)t.flags&=-16777217;else if(t.flags|=16777216,!fe(e))if(cg())t.flags|=8192;else throw bd=l1,i2}function jr(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Id():536870912,t.lanes|=e,Dd|=e)}function Br(t,e){if(!pe)switch(t.tailMode){case"hidden":e=t.tail;for(var a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?t.tail=null:a.sibling=null;break;case"collapsed":a=t.tail;for(var o=null;a!==null;)a.alternate!==null&&(o=a),a=a.sibling;o===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:o.sibling=null}}function je(t){var e=t.alternate!==null&&t.alternate.child===t.child,a=0,o=0;if(e)if((t.mode&ie)!==Zt){for(var c=t.selfBaseDuration,f=t.child;f!==null;)a|=f.lanes|f.childLanes,o|=f.subtreeFlags&65011712,o|=f.flags&65011712,c+=f.treeBaseDuration,f=f.sibling;t.treeBaseDuration=c}else for(c=t.child;c!==null;)a|=c.lanes|c.childLanes,o|=c.subtreeFlags&65011712,o|=c.flags&65011712,c.return=t,c=c.sibling;else if((t.mode&ie)!==Zt){c=t.actualDuration,f=t.selfBaseDuration;for(var y=t.child;y!==null;)a|=y.lanes|y.childLanes,o|=y.subtreeFlags,o|=y.flags,c+=y.actualDuration,f+=y.treeBaseDuration,y=y.sibling;t.actualDuration=c,t.treeBaseDuration=f}else for(c=t.child;c!==null;)a|=c.lanes|c.childLanes,o|=c.subtreeFlags,o|=c.flags,c.return=t,c=c.sibling;return t.subtreeFlags|=o,t.childLanes=a,e}function Jy(t,e,a){var o=e.pendingProps;switch(Ah(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return je(e),null;case 1:return je(e),null;case 3:return a=e.stateNode,o=null,t!==null&&(o=t.memoizedState.cache),e.memoizedState.cache!==o&&(e.flags|=2048),Ql(Qn,e),j(e),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(ns(e)?(eu(),Bi(e)):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,lf())),je(e),null;case 26:var c=e.type,f=e.memoizedState;return t===null?(Bi(e),f!==null?(je(e),Xv(e,f)):(je(e),$h(e,c,null,o,a))):f?f!==t.memoizedState?(Bi(e),je(e),Xv(e,f)):(je(e),e.flags&=-16777217):(t=t.memoizedProps,t!==o&&Bi(e),je(e),$h(e,c,t,o,a)),null;case 27:if(gt(e),a=Lt(sl.current),c=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==o&&Bi(e);else{if(!o){if(e.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 je(e),null}t=F(),ns(e)?vy(e):(t=Uo(c,o,a,t,!0),e.stateNode=t,Bi(e))}return je(e),null;case 5:if(gt(e),c=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==o&&Bi(e);else{if(!o){if(e.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 je(e),null}var y=F();if(ns(e))vy(e);else{switch(f=Lt(sl.current),$c(c,y.ancestorInfo),y=y.context,f=kf(f),y){case vp:f=f.createElementNS(ne,c);break;case R1:f=f.createElementNS(Pt,c);break;default:switch(c){case"svg":f=f.createElementNS(ne,c);break;case"math":f=f.createElementNS(Pt,c);break;case"script":f=f.createElement("div"),f.innerHTML="<script><\/script>",f=f.removeChild(f.firstChild);break;case"select":f=typeof o.is=="string"?f.createElement("select",{is:o.is}):f.createElement("select"),o.multiple?f.multiple=!0:o.size&&(f.size=o.size);break;default:f=typeof o.is=="string"?f.createElement(c,{is:o.is}):f.createElement(c),c.indexOf("-")===-1&&(c!==c.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",c),Object.prototype.toString.call(f)!=="[object HTMLUnknownElement]"||rl.call(sM,c)||(sM[c]=!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.",c)))}}f[Ie]=e,f[Ra]=o;t:for(y=e.child;y!==null;){if(y.tag===5||y.tag===6)f.appendChild(y.stateNode);else if(y.tag!==4&&y.tag!==27&&y.child!==null){y.child.return=y,y=y.child;continue}if(y===e)break t;for(;y.sibling===null;){if(y.return===null||y.return===e)break t;y=y.return}y.sibling.return=y.return,y=y.sibling}e.stateNode=f;t:switch(We(f,c,o),c){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break t;case"img":o=!0;break t;default:o=!1}o&&Bi(e)}}return je(e),$h(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,a),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==o&&Bi(e);else{if(typeof o!="string"&&e.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(t=Lt(sl.current),a=F(),ns(e)){if(t=e.stateNode,a=e.memoizedProps,c=!Ou,o=null,f=wa,f!==null)switch(f.tag){case 3:c&&(c=Ab(t,a,o),c!==null&&(es(e,0).serverProps=c));break;case 27:case 5:o=f.memoizedProps,c&&(c=Ab(t,a,o),c!==null&&(es(e,0).serverProps=c))}t[Ie]=e,t=!!(t.nodeValue===a||o!==null&&o.suppressHydrationWarning===!0||Sg(t.nodeValue,a)),t||Tl(e,!0)}else c=a.ancestorInfo.current,c!=null&&Fc(o,c.tag,a.ancestorInfo.implicitRootScope),t=kf(t).createTextNode(o),t[Ie]=e,e.stateNode=t}return je(e),null;case 31:if(a=e.memoizedState,t===null||t.memoizedState!==null){if(o=ns(e),a!==null){if(t===null){if(!o)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");t[Ie]=e,je(e),(e.mode&ie)!==Zt&&a!==null&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration))}else eu(),tu(),(e.flags&128)===0&&(a=e.memoizedState=null),e.flags|=4,je(e),(e.mode&ie)!==Zt&&a!==null&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration));t=!1}else a=lf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),t=!0;if(!t)return e.flags&256?(Ln(e),e):(Ln(e),null);if((e.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return je(e),null;case 13:if(o=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(c=o,f=ns(e),c!==null&&c.dehydrated!==null){if(t===null){if(!f)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(f=e.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");f[Ie]=e,je(e),(e.mode&ie)!==Zt&&c!==null&&(c=e.child,c!==null&&(e.treeBaseDuration-=c.treeBaseDuration))}else eu(),tu(),(e.flags&128)===0&&(c=e.memoizedState=null),e.flags|=4,je(e),(e.mode&ie)!==Zt&&c!==null&&(c=e.child,c!==null&&(e.treeBaseDuration-=c.treeBaseDuration));c=!1}else c=lf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=c),c=!0;if(!c)return e.flags&256?(Ln(e),e):(Ln(e),null)}return Ln(e),(e.flags&128)!==0?(e.lanes=a,(e.mode&ie)!==Zt&&is(e),e):(a=o!==null,t=t!==null&&t.memoizedState!==null,a&&(o=e.child,c=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(c=o.alternate.memoizedState.cachePool.pool),f=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(f=o.memoizedState.cachePool.pool),f!==c&&(o.flags|=2048)),a!==t&&a&&(e.child.flags|=8192),jr(e,e.updateQueue),je(e),(e.mode&ie)!==Zt&&a&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration)),null);case 4:return j(e),t===null&&Su(e.stateNode.containerInfo),je(e),null;case 10:return Ql(e.type,e),je(e),null;case 19:if(Bt(_n,e),o=e.memoizedState,o===null)return je(e),null;if(c=(e.flags&128)!==0,f=o.rendering,f===null)if(c)Br(o,!1);else{if(hn!==Js||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(f=us(t),f!==null){for(e.flags|=128,Br(o,!1),t=f.updateQueue,e.updateQueue=t,jr(e,t),e.subtreeFlags=0,t=a,a=e.child;a!==null;)py(a,t),a=a.sibling;return Vt(_n,_n.current&op|T0,e),pe&&Xl(e,o.treeForkCount),e.child}t=t.sibling}o.tail!==null&&Xn()>g1&&(e.flags|=128,c=!0,Br(o,!1),e.lanes=4194304)}else{if(!c)if(t=us(f),t!==null){if(e.flags|=128,c=!0,t=t.updateQueue,e.updateQueue=t,jr(e,t),Br(o,!0),o.tail===null&&o.tailMode==="hidden"&&!f.alternate&&!pe)return je(e),null}else 2*Xn()-o.renderingStartTime>g1&&a!==536870912&&(e.flags|=128,c=!0,Br(o,!1),e.lanes=4194304);o.isBackwards?(f.sibling=e.child,e.child=f):(t=o.last,t!==null?t.sibling=f:e.child=f,o.last=f)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Xn(),t.sibling=null,a=_n.current,a=c?a&op|T0:a&op,Vt(_n,a,e),pe&&Xl(e,o.treeForkCount),t):(je(e),null);case 22:case 23:return Ln(e),Kl(e),o=e.memoizedState!==null,t!==null?t.memoizedState!==null!==o&&(e.flags|=8192):o&&(e.flags|=8192),o?(a&536870912)!==0&&(e.flags&128)===0&&(je(e),e.subtreeFlags&6&&(e.flags|=8192)):je(e),a=e.updateQueue,a!==null&&jr(e,a.retryQueue),a=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),o=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),o!==a&&(e.flags|=2048),t!==null&&Bt(gd,e),null;case 24:return a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),Ql(Qn,e),je(e),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+e.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Qv(t,e){switch(Ah(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&ie)!==Zt&&is(e),e):null;case 3:return Ql(Qn,e),j(e),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return gt(e),null;case 31:if(e.memoizedState!==null){if(Ln(e),e.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");tu()}return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&ie)!==Zt&&is(e),e):null;case 13:if(Ln(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");tu()}return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&ie)!==Zt&&is(e),e):null;case 19:return Bt(_n,e),null;case 4:return j(e),null;case 10:return Ql(e.type,e),null;case 22:case 23:return Ln(e),Kl(e),t!==null&&Bt(gd,e),t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&ie)!==Zt&&is(e),e):null;case 24:return Ql(Qn,e),null;case 25:return null;default:return null}}function Ky(t,e){switch(Ah(e),e.tag){case 3:Ql(Qn,e),j(e);break;case 26:case 27:case 5:gt(e);break;case 4:j(e);break;case 31:e.memoizedState!==null&&Ln(e);break;case 13:Ln(e);break;case 19:Bt(_n,e);break;case 10:Ql(e.type,e);break;case 22:case 23:Ln(e),Kl(e),t!==null&&Bt(gd,e);break;case 24:Ql(Qn,e)}}function Vi(t){return(t.mode&ie)!==Zt}function Zv(t,e){Vi(t)?(rn(),Mo(e,t),va()):Mo(e,t)}function Fh(t,e,a){Vi(t)?(rn(),mu(a,t,e),va()):mu(a,t,e)}function Mo(t,e){try{var a=e.updateQueue,o=a!==null?a.lastEffect:null;if(o!==null){var c=o.next;a=c;do{if((a.tag&t)===t&&(o=void 0,(t&hl)!==o1&&(pp=!0),o=mt(e,X5,a),(t&hl)!==o1&&(pp=!1),o!==void 0&&typeof o!="function")){var f=void 0;f=(a.tag&ci)!==0?"useLayoutEffect":(a.tag&hl)!==0?"useInsertionEffect":"useEffect";var y=void 0;y=o===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof o.then=="function"?`
160
+ https://react.dev/link/unsafe-component-lifecycles`,f,p,d!==null?`
161
+ `+d:"",h!==null?`
162
+ `+h:"",y!==null?`
163
+ `+y:""))}}f=e.stateNode,d=vt(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&&!d2.has(a)&&(d2.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&&!r2.has(a)&&(r2.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.",vt(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),h=f.props!==i,f.props!==void 0&&h&&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"||c2.has(a)||(c2.add(a),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",vt(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),(h=f.state)&&(typeof h!="object"||gl(h))&&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=e.stateNode,f.props=i,f.state=e.memoizedState,f.refs={},It(e),d=a.contextType,f.context=typeof d=="object"&&d!==null?ye(d):Vf,f.state===i&&(d=vt(a)||"Component",f2.has(d)||(f2.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))),e.mode&xa&&pi.recordLegacyContextWarning(e,f),pi.recordUnsafeLifecycleWarnings(e,f),f.state=e.memoizedState,d=a.getDerivedStateFromProps,typeof d=="function"&&(lf(e,a,d,i),f.state=e.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.",at(e)||"Component"),ib.enqueueReplaceState(f,f.state,null)),ru(e,i,f,o),Ko(),f.state=e.memoizedState),typeof f.componentDidMount=="function"&&(e.flags|=4194308),(e.mode&yi)!==Mt&&(e.flags|=134217728),f=!0}else if(t===null){f=e.stateNode;var D=e.memoizedProps;h=gu(a,D),f.props=h;var O=f.context;y=a.contextType,d=Vf,typeof y=="object"&&y!==null&&(d=ye(y)),p=a.getDerivedStateFromProps,y=typeof p=="function"||typeof f.getSnapshotBeforeUpdate=="function",D=e.pendingProps!==D,y||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(D||O!==d)&&pu(e,f,i,d),$f=!1;var S=e.memoizedState;f.state=S,ru(e,i,f,o),Ko(),O=e.memoizedState,D||S!==O||$f?(typeof p=="function"&&(lf(e,a,p,i),O=e.memoizedState),(h=$f||jd(e,a,h,i,S,O,d))?(y||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"&&(e.flags|=4194308),(e.mode&yi)!==Mt&&(e.flags|=134217728)):(typeof f.componentDidMount=="function"&&(e.flags|=4194308),(e.mode&yi)!==Mt&&(e.flags|=134217728),e.memoizedProps=i,e.memoizedState=O),f.props=i,f.state=O,f.context=d,f=h):(typeof f.componentDidMount=="function"&&(e.flags|=4194308),(e.mode&yi)!==Mt&&(e.flags|=134217728),f=!1)}else{f=e.stateNode,fu(t,e),d=e.memoizedProps,y=gu(a,d),f.props=y,p=e.pendingProps,S=f.context,O=a.contextType,h=Vf,typeof O=="object"&&O!==null&&(h=ye(O)),D=a.getDerivedStateFromProps,(O=typeof D=="function"||typeof f.getSnapshotBeforeUpdate=="function")||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(d!==p||S!==h)&&pu(e,f,i,h),$f=!1,S=e.memoizedState,f.state=S,ru(e,i,f,o),Ko();var N=e.memoizedState;d!==p||S!==N||$f||t!==null&&t.dependencies!==null&&Qo(t.dependencies)?(typeof D=="function"&&(lf(e,a,D,i),N=e.memoizedState),(y=$f||jd(e,a,y,i,S,N,h)||t!==null&&t.dependencies!==null&&Qo(t.dependencies))?(O||typeof f.UNSAFE_componentWillUpdate!="function"&&typeof f.componentWillUpdate!="function"||(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(i,N,h),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(i,N,h)),typeof f.componentDidUpdate=="function"&&(e.flags|=4),typeof f.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof f.componentDidUpdate!="function"||d===t.memoizedProps&&S===t.memoizedState||(e.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||d===t.memoizedProps&&S===t.memoizedState||(e.flags|=1024),e.memoizedProps=i,e.memoizedState=N),f.props=i,f.state=N,f.context=h,f=y):(typeof f.componentDidUpdate!="function"||d===t.memoizedProps&&S===t.memoizedState||(e.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||d===t.memoizedProps&&S===t.memoizedState||(e.flags|=1024),f=!1)}if(h=f,Js(t,e),d=(e.flags&128)!==0,h||d){if(h=e.stateNode,ie(e),d&&typeof a.getDerivedStateFromError!="function")a=null,Ia=-1;else if(a=NS(h),e.mode&xa){_e(!0);try{NS(h)}finally{_e(!1)}}e.flags|=1,t!==null&&d?(e.child=qr(e,t.child,null,o),e.child=qr(e,null,a,o)):xl(t,e,a,o),e.memoizedState=h.state,t=e.child}else t=qn(t,e,o);return o=e.stateNode,f&&o.props!==i&&(rm||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",at(e)||"a component"),rm=!0),t}function Dy(t,e,a,i){return Hi(),e.flags|=256,xl(t,e,a,i),e.child}function af(t,e){e&&e.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
164
+ %s.childContextTypes = ...`,e.displayName||e.name||"Component"),typeof e.getDerivedStateFromProps=="function"&&(t=vt(e)||"Unknown",v2[t]||(console.error("%s: Function components do not support getDerivedStateFromProps.",t),v2[t]=!0)),typeof e.contextType=="object"&&e.contextType!==null&&(e=vt(e)||"Unknown",p2[e]||(console.error("%s: Function components do not support contextType.",e),p2[e]=!0))}function nf(t){return{baseLanes:t,cachePool:ny()}}function Zd(t,e,a){return t=t!==null?t.childLanes&~a:0,e&&(t|=Sn),t}function Jd(t,e,a){var i,o=e.pendingProps;lt(e)&&(e.flags|=128);var f=!1,d=(e.flags&128)!==0;if((i=d)||(i=t!==null&&t.memoizedState===null?!1:(zl.current&ap)!==0),i&&(f=!0,e.flags&=-129),i=(e.flags&32)!==0,e.flags&=-33,t===null){if(ee){if(f?fa(e):du(e),(t=Ke)?(a=Ae(t,qu),a=a!==null&&a.data!==Zr?a:null,a!==null&&(i={dehydrated:a,treeContext:Kp(),retryLane:536870912,hydrationErrors:null},e.memoizedState=i,i=Im(a),i.return=e,e.child=i,Sa=e,Ke=null)):a=null,a===null)throw Wl(e,t),cn(e);return n0(a)?e.lanes=32:e.lanes=536870912,null}var h=o.children;if(o=o.fallback,f){du(e);var y=e.mode;return h=Ks({mode:"hidden",children:h},y),o=Cc(o,y,a,null),h.return=e,o.return=e,h.sibling=o,e.child=h,o=e.child,o.memoizedState=nf(a),o.childLanes=Zd(t,i,a),e.memoizedState=fb,Jc(null,o)}return fa(e),My(e,h)}var p=t.memoizedState;if(p!==null){var D=p.dehydrated;if(D!==null){if(d)e.flags&256?(fa(e),e.flags&=-257,e=Kd(t,e,a)):e.memoizedState!==null?(du(e),e.child=t.child,e.flags|=128,e=null):(du(e),h=o.fallback,y=e.mode,o=Ks({mode:"visible",children:o.children},y),h=Cc(h,y,a,null),h.flags|=2,o.return=e,h.return=e,o.sibling=h,e.child=o,qr(e,t.child,null,a),o=e.child,o.memoizedState=nf(a),o.childLanes=Zd(t,i,a),e.memoizedState=fb,e=Jc(null,o));else if(fa(e),kp(),(a&536870912)!==0&&sf(e),n0(D)){if(i=D.nextSibling&&D.nextSibling.dataset,i){h=i.dgst;var O=i.msg;y=i.stck;var S=i.cstck}f=O,i=h,o=y,D=S,h=f,y=D,h=Error(h||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),h.stack=o||"",h.digest=i,i=y===void 0?null:y,o={value:h,source:null,stack:i},typeof i=="string"&&V1.set(h,o),As(o),e=Kd(t,e,a)}else if(ql||xn(t,e,a,!1),i=(a&t.childLanes)!==0,ql||i){if(i=qe,i!==null&&(o=Up(i,a),o!==0&&o!==p.retryLane))throw p.retryLane=o,kl(t,o),Ot(i,t,o),ob;rr(D)||rf(),e=Kd(t,e,a)}else rr(D)?(e.flags|=192,e.child=t.child,e=null):(t=p.treeContext,Ke=Ka(D.nextSibling),Sa=e,ee=!0,Qf=null,oc=!1,$n=null,qu=!1,t!==null&&$p(e,t),e=My(e,o.children),e.flags|=4096);return e}}return f?(du(e),h=o.fallback,y=e.mode,S=t.child,D=S.sibling,o=iu(S,{mode:"hidden",children:o.children}),o.subtreeFlags=S.subtreeFlags&65011712,D!==null?h=iu(D,h):(h=Cc(h,y,a,null),h.flags|=2),h.return=e,o.return=e,o.sibling=h,e.child=o,Jc(null,o),o=e.child,h=t.child.memoizedState,h===null?h=nf(a):(y=h.cachePool,y!==null?(S=Nl._currentValue,y=y.parent!==S?{parent:S,pool:S}:y):y=ny(),h={baseLanes:h.baseLanes|a,cachePool:y}),o.memoizedState=h,o.childLanes=Zd(t,i,a),e.memoizedState=fb,Jc(t.child,o)):(p!==null&&(a&62914560)===a&&(a&t.lanes)!==0&&sf(e),fa(e),a=t.child,t=a.sibling,a=iu(a,{mode:"visible",children:o.children}),a.return=e,a.sibling=null,t!==null&&(i=e.deletions,i===null?(e.deletions=[t],e.flags|=16):i.push(t)),e.child=a,e.memoizedState=null,a)}function My(t,e){return e=Ks({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Ks(t,e){return t=ct(22,t,null,e),t.lanes=0,t}function Kd(t,e,a){return qr(e,t.child,null,a),t=My(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Oy(t,e,a){t.lanes|=e;var i=t.alternate;i!==null&&(i.lanes|=e),zd(t.return,e,a)}function $d(t,e,a,i,o,f){var d=t.memoizedState;d===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:i,tail:a,tailMode:o,treeForkCount:f}:(d.isBackwards=e,d.rendering=null,d.renderingStartTime=0,d.last=i,d.tail=a,d.tailMode=o,d.treeForkCount=f)}function Cy(t,e,a){var i=e.pendingProps,o=i.revealOrder,f=i.tail,d=i.children,h=zl.current;if((i=(h&ap)!==0)?(h=h&cm|ap,e.flags|=128):h&=cm,Ht(zl,h,e),h=o??"null",o!=="forwards"&&o!=="unstable_legacy-backwards"&&o!=="together"&&o!=="independent"&&!b2[h])if(b2[h]=!0,o==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(o==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof o=="string")switch(o.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":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 "independent", "together", "forwards" or "backwards"?',o)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',o);h=f??"null",Mv[h]||(f==null?(o==="forwards"||o==="backwards"||o==="unstable_legacy-backwards")&&(Mv[h]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')):f!=="visible"&&f!=="collapsed"&&f!=="hidden"?(Mv[h]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',f)):o!=="forwards"&&o!=="backwards"&&o!=="unstable_legacy-backwards"&&(Mv[h]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',f)));t:if((o==="forwards"||o==="backwards"||o==="unstable_legacy-backwards")&&d!==void 0&&d!==null&&d!==!1)if(gl(d)){for(h=0;h<d.length;h++)if(!He(d[h],h))break t}else if(h=Ge(d),typeof h=="function"){if(h=h.call(d))for(var y=h.next(),p=0;!y.done;y=h.next()){if(!He(y.value,p))break t;p++}}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(xl(t,e,d,a),ee?(_i(),d=V0):d=0,!i&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Oy(t,a,e);else if(t.tag===19)Oy(t,a,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(o){case"forwards":for(a=e.child,o=null;a!==null;)t=a.alternate,t!==null&&Bc(t)===null&&(o=a),a=a.sibling;a=o,a===null?(o=e.child,e.child=null):(o=a.sibling,a.sibling=null),$d(e,!1,o,a,f,d);break;case"backwards":case"unstable_legacy-backwards":for(a=null,o=e.child,e.child=null;o!==null;){if(t=o.alternate,t!==null&&Bc(t)===null){e.child=o;break}t=o.sibling,o.sibling=a,a=o,o=t}$d(e,!0,a,null,f,d);break;case"together":$d(e,!1,null,null,void 0,d);break;default:e.memoizedState=null}return e.child}function qn(t,e,a){if(t!==null&&(e.dependencies=t.dependencies),Ia=-1,Ff|=e.lanes,(a&e.childLanes)===0)if(t!==null){if(xn(t,e,a,!1),(a&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error("Resuming work not yet implemented.");if(e.child!==null){for(t=e.child,a=iu(t,t.pendingProps),e.child=a,a.return=e;t.sibling!==null;)t=t.sibling,a=a.sibling=iu(t,t.pendingProps),a.return=e;a.sibling=null}return e.child}function kd(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Qo(t)))}function ng(t,e,a){switch(e.tag){case 3:le(e,e.stateNode.containerInfo),on(e,Nl,t.memoizedState.cache),Hi();break;case 27:case 5:W(e);break;case 4:le(e,e.stateNode.containerInfo);break;case 10:on(e,e.type,e.memoizedProps.value);break;case 12:(a&e.childLanes)!==0&&(e.flags|=4),e.flags|=2048;var i=e.stateNode;i.effectDuration=-0,i.passiveEffectDuration=-0;break;case 31:if(e.memoizedState!==null)return e.flags|=128,Bn(e),null;break;case 13:if(i=e.memoizedState,i!==null)return i.dehydrated!==null?(fa(e),e.flags|=128,null):(a&e.child.childLanes)!==0?Jd(t,e,a):(fa(e),t=qn(t,e,a),t!==null?t.sibling:null);fa(e);break;case 19:var o=(t.flags&128)!==0;if(i=(a&e.childLanes)!==0,i||(xn(t,e,a,!1),i=(a&e.childLanes)!==0),o){if(i)return Cy(t,e,a);e.flags|=128}if(o=e.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Ht(zl,zl.current,e),i)break;return null;case 22:return e.lanes=0,Sy(t,e,a,e.pendingProps);case 24:on(e,Nl,t.memoizedState.cache)}return qn(t,e,a)}function $s(t,e,a){if(e._debugNeedsRemount&&t!==null){a=Oc(e.type,e.key,e.pendingProps,e._debugOwner||null,e.mode,e.lanes),a._debugStack=e._debugStack,a._debugTask=e._debugTask;var i=e.return;if(i===null)throw Error("Cannot swap the root fiber.");if(t.alternate=null,e.alternate=null,a.index=e.index,a.sibling=e.sibling,a.return=e.return,a.ref=e.ref,a._debugInfo=e._debugInfo,e===i.child)i.child=a;else{var o=i.child;if(o===null)throw Error("Expected parent to have a child.");for(;o.sibling!==e;)if(o=o.sibling,o===null)throw Error("Expected to find the previous sibling.");o.sibling=a}return e=i.deletions,e===null?(i.deletions=[t],i.flags|=16):e.push(t),a.flags|=2,a}if(t!==null)if(t.memoizedProps!==e.pendingProps||e.type!==t.type)ql=!0;else{if(!kd(t,a)&&(e.flags&128)===0)return ql=!1,ng(t,e,a);ql=(t.flags&131072)!==0}else ql=!1,(i=ee)&&(_i(),i=(e.flags&1048576)!==0),i&&(i=e.index,_i(),Pm(e,V0,i));switch(e.lanes=0,e.tag){case 16:t:if(i=e.pendingProps,t=Ya(e.elementType),e.type=t,typeof t=="function")Wm(t)?(i=gu(t,i),e.tag=1,e.type=t=Ri(t),e=Kc(null,e,t,i,a)):(e.tag=0,af(e,t),e.type=t=Ri(t),e=Ay(null,e,t,i,a));else{if(t!=null){if(o=t.$$typeof,o===Cf){e.tag=11,e.type=t=Sd(t),e=lg(null,e,t,i,a);break t}else if(o===Tr){e.tag=14,e=vy(null,e,t,i,a);break t}}throw e="",t!==null&&typeof t=="object"&&t.$$typeof===Il&&(e=" Did you wrap a component in React.lazy() more than once?"),a=vt(t)||t,Error("Element type is invalid. Received a promise that resolves to: "+a+". Lazy element type must resolve to a class or function."+e)}return e;case 0:return Ay(t,e,e.type,e.pendingProps,a);case 1:return i=e.type,o=gu(i,e.pendingProps),Kc(t,e,i,o,a);case 3:t:{if(le(e,e.stateNode.containerInfo),t===null)throw Error("Should have a current fiber. This is a bug in React.");i=e.pendingProps;var f=e.memoizedState;o=f.element,fu(t,e),ru(e,i,null,a);var d=e.memoizedState;if(i=d.cache,on(e,Nl,i),i!==f.cache&&ku(e,[Nl],a,!0),Ko(),i=d.element,f.isDehydrated)if(f={element:i,isDehydrated:!1,cache:d.cache},e.updateQueue.baseState=f,e.memoizedState=f,e.flags&256){e=Dy(t,e,i,a);break t}else if(i!==o){o=ua(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),e),As(o),e=Dy(t,e,i,a);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Ke=Ka(t.firstChild),Sa=e,ee=!0,Qf=null,oc=!1,$n=null,qu=!0,a=$S(e,null,i,a),e.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(Hi(),i===o){e=qn(t,e,a);break t}xl(t,e,i,a)}e=e.child}return e;case 26:return Js(t,e),t===null?(a=o0(e.type,null,e.pendingProps,null))?e.memoizedState=a:ee||(a=e.type,t=e.pendingProps,i=qt($a.current),i=fr(i).createElement(a),i[Ze]=e,i[ba]=t,Le(i,a,t),ol(i),e.stateNode=i):e.memoizedState=o0(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return W(e),t===null&&ee&&(i=qt($a.current),o=L(),i=e.stateNode=ri(e.type,e.pendingProps,i,o,!1),oc||(o=Ca(i,e.type,e.pendingProps,o),o!==null&&(Uc(e,0).serverProps=o)),Sa=e,qu=!0,o=Ke,ec(e.type)?(_b=o,Ke=Ka(i.firstChild)):Ke=o),xl(t,e,e.pendingProps.children,a),Js(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&ee&&(f=L(),i=hs(e.type,f.ancestorInfo),o=Ke,(d=!o)||(d=Ng(o,e.type,e.pendingProps,qu),d!==null?(e.stateNode=d,oc||(f=Ca(d,e.type,e.pendingProps,f),f!==null&&(Uc(e,0).serverProps=f)),Sa=e,Ke=Ka(d.firstChild),qu=!1,f=!0):f=!1,d=!f),d&&(i&&Wl(e,o),cn(e))),W(e),o=e.type,f=e.pendingProps,d=t!==null?t.memoizedProps:null,i=f.children,bf(o,f)?i=null:d!==null&&bf(o,d)&&(e.flags|=32),e.memoizedState!==null&&(o=fy(t,e,_s,null,null,a),Tp._currentValue=o),Js(t,e),xl(t,e,i,a),e.child;case 6:return t===null&&ee&&(a=e.pendingProps,t=L(),i=t.ancestorInfo.current,a=i!=null?ms(a,i.tag,t.ancestorInfo.implicitRootScope):!0,t=Ke,(i=!t)||(i=Bg(t,e.pendingProps,qu),i!==null?(e.stateNode=i,Sa=e,Ke=null,i=!0):i=!1,i=!i),i&&(a&&Wl(e,t),cn(e))),null;case 13:return Jd(t,e,a);case 4:return le(e,e.stateNode.containerInfo),i=e.pendingProps,t===null?e.child=qr(e,null,i,a):xl(t,e,i,a),e.child;case 11:return lg(t,e,e.type,e.pendingProps,a);case 7:return xl(t,e,e.pendingProps,a),e.child;case 8:return xl(t,e,e.pendingProps.children,a),e.child;case 12:return e.flags|=4,e.flags|=2048,i=e.stateNode,i.effectDuration=-0,i.passiveEffectDuration=-0,xl(t,e,e.pendingProps.children,a),e.child;case 10:return i=e.type,o=e.pendingProps,f=o.value,"value"in o||S2||(S2=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),on(e,i,f),xl(t,e,o.children,a),e.child;case 9:return o=e.type._context,i=e.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."),Bi(e),o=ye(o),i=W1(i,o,void 0),e.flags|=1,xl(t,e,i,a),e.child;case 14:return vy(t,e,e.type,e.pendingProps,a);case 15:return by(t,e,e.type,e.pendingProps,a);case 19:return Cy(t,e,a);case 31:return ag(t,e,a);case 22:return Sy(t,e,a,e.pendingProps);case 24:return Bi(e),i=ye(Nl),t===null?(o=Iu(),o===null&&(o=qe,f=Dd(),o.pooledCache=f,xc(f),f!==null&&(o.pooledCacheLanes|=a),o=f),e.memoizedState={parent:i,cache:o},It(e),on(e,Nl,o)):((t.lanes&a)!==0&&(fu(t,e),ru(e,null,null,a),Ko()),o=t.memoizedState,f=e.memoizedState,o.parent!==i?(o={parent:i,cache:i},e.memoizedState=o,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=o),on(e,Nl,i)):(i=f.cache,on(e,Nl,i),i!==o.cache&&ku(e,[Nl],a,!0))),xl(t,e,e.pendingProps.children,a),e.child;case 29:throw e.pendingProps}throw Error("Unknown unit of work tag ("+e.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function vu(t){t.flags|=4}function Wd(t,e,a,i,o){if((e=(t.mode&cE)!==Mt)&&(e=!1),e){if(t.flags|=16777216,(o&335544128)===o)if(t.stateNode.complete)t.flags|=8192;else if(Jy())t.flags|=8192;else throw wr=Sv,I1}else t.flags&=-16777217}function ug(t,e){if(e.type!=="stylesheet"||(e.state.loading&Vu)!==$r)t.flags&=-16777217;else if(t.flags|=16777216,!Ft(e))if(Jy())t.flags|=8192;else throw wr=Sv,I1}function uf(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Pr():536870912,t.lanes|=e,Vr|=e)}function cf(t,e){if(!ee)switch(t.tailMode){case"hidden":e=t.tail;for(var a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?t.tail=null:a.sibling=null;break;case"collapsed":a=t.tail;for(var i=null;a!==null;)a.alternate!==null&&(i=a),a=a.sibling;i===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:i.sibling=null}}function Me(t){var e=t.alternate!==null&&t.alternate.child===t.child,a=0,i=0;if(e)if((t.mode&Lt)!==Mt){for(var o=t.selfBaseDuration,f=t.child;f!==null;)a|=f.lanes|f.childLanes,i|=f.subtreeFlags&65011712,i|=f.flags&65011712,o+=f.treeBaseDuration,f=f.sibling;t.treeBaseDuration=o}else for(o=t.child;o!==null;)a|=o.lanes|o.childLanes,i|=o.subtreeFlags&65011712,i|=o.flags&65011712,o.return=t,o=o.sibling;else if((t.mode&Lt)!==Mt){o=t.actualDuration,f=t.selfBaseDuration;for(var d=t.child;d!==null;)a|=d.lanes|d.childLanes,i|=d.subtreeFlags,i|=d.flags,o+=d.actualDuration,f+=d.treeBaseDuration,d=d.sibling;t.actualDuration=o,t.treeBaseDuration=f}else for(o=t.child;o!==null;)a|=o.lanes|o.childLanes,i|=o.subtreeFlags,i|=o.flags,o.return=t,o=o.sibling;return t.subtreeFlags|=i,t.childLanes=a,e}function Uy(t,e,a){var i=e.pendingProps;switch(Ad(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Me(e),null;case 1:return Me(e),null;case 3:return a=e.stateNode,i=null,t!==null&&(i=t.memoizedState.cache),e.memoizedState.cache!==i&&(e.flags|=2048),Rn(Nl,e),C(e),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(Rc(e)?(Ni(),vu(e)):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Es())),Me(e),null;case 26:var o=e.type,f=e.memoizedState;return t===null?(vu(e),f!==null?(Me(e),ug(e,f)):(Me(e),Wd(e,o,null,i,a))):f?f!==t.memoizedState?(vu(e),Me(e),ug(e,f)):(Me(e),e.flags&=-16777217):(t=t.memoizedProps,t!==i&&vu(e),Me(e),Wd(e,o,t,i,a)),null;case 27:if(it(e),a=qt($a.current),o=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==i&&vu(e);else{if(!i){if(e.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 Me(e),null}t=L(),Rc(e)?ty(e):(t=ri(o,i,a,t,!0),e.stateNode=t,vu(e))}return Me(e),null;case 5:if(it(e),o=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==i&&vu(e);else{if(!i){if(e.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 Me(e),null}var d=L();if(Rc(e))ty(e);else{switch(f=qt($a.current),hs(o,d.ancestorInfo),d=d.context,f=fr(f),d){case bm:f=f.createElementNS(Xt,o);break;case Jv:f=f.createElementNS(Nt,o);break;default:switch(o){case"svg":f=f.createElementNS(Xt,o);break;case"math":f=f.createElementNS(Nt,o);break;case"script":f=f.createElement("div"),f.innerHTML="<script><\/script>",f=f.removeChild(f.firstChild);break;case"select":f=typeof i.is=="string"?f.createElement("select",{is:i.is}):f.createElement("select"),i.multiple?f.multiple=!0:i.size&&(f.size=i.size);break;default:f=typeof i.is=="string"?f.createElement(o,{is:i.is}):f.createElement(o),o.indexOf("-")===-1&&(o!==o.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",o),Object.prototype.toString.call(f)!=="[object HTMLUnknownElement]"||ka.call(L2,o)||(L2[o]=!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.",o)))}}f[Ze]=e,f[ba]=i;t:for(d=e.child;d!==null;){if(d.tag===5||d.tag===6)f.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break t;for(;d.sibling===null;){if(d.return===null||d.return===e)break t;d=d.return}d.sibling.return=d.return,d=d.sibling}e.stateNode=f;t:switch(Le(f,o,i),o){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break t;case"img":i=!0;break t;default:i=!1}i&&vu(e)}}return Me(e),Wd(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,a),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==i&&vu(e);else{if(typeof i!="string"&&e.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(t=qt($a.current),a=L(),Rc(e)){if(t=e.stateNode,a=e.memoizedProps,o=!oc,i=null,f=Sa,f!==null)switch(f.tag){case 3:o&&(o=Yg(t,a,i),o!==null&&(Uc(e,0).serverProps=o));break;case 27:case 5:i=f.memoizedProps,o&&(o=Yg(t,a,i),o!==null&&(Uc(e,0).serverProps=o))}t[Ze]=e,t=!!(t.nodeValue===a||i!==null&&i.suppressHydrationWarning===!0||l0(t.nodeValue,a)),t||cn(e,!0)}else o=a.ancestorInfo.current,o!=null&&ms(i,o.tag,a.ancestorInfo.implicitRootScope),t=fr(t).createTextNode(i),t[Ze]=e,e.stateNode=t}return Me(e),null;case 31:if(a=e.memoizedState,t===null||t.memoizedState!==null){if(i=Rc(e),a!==null){if(t===null){if(!i)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");t[Ze]=e,Me(e),(e.mode&Lt)!==Mt&&a!==null&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration))}else Ni(),Hi(),(e.flags&128)===0&&(a=e.memoizedState=null),e.flags|=4,Me(e),(e.mode&Lt)!==Mt&&a!==null&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration));t=!1}else a=Es(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),t=!0;if(!t)return e.flags&256?(Ul(e),e):(Ul(e),null);if((e.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return Me(e),null;case 13:if(i=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(o=i,f=Rc(e),o!==null&&o.dehydrated!==null){if(t===null){if(!f)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(f=e.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");f[Ze]=e,Me(e),(e.mode&Lt)!==Mt&&o!==null&&(o=e.child,o!==null&&(e.treeBaseDuration-=o.treeBaseDuration))}else Ni(),Hi(),(e.flags&128)===0&&(o=e.memoizedState=null),e.flags|=4,Me(e),(e.mode&Lt)!==Mt&&o!==null&&(o=e.child,o!==null&&(e.treeBaseDuration-=o.treeBaseDuration));o=!1}else o=Es(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=o),o=!0;if(!o)return e.flags&256?(Ul(e),e):(Ul(e),null)}return Ul(e),(e.flags&128)!==0?(e.lanes=a,(e.mode&Lt)!==Mt&&Hc(e),e):(a=i!==null,t=t!==null&&t.memoizedState!==null,a&&(i=e.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!==t&&a&&(e.child.flags|=8192),uf(e,e.updateQueue),Me(e),(e.mode&Lt)!==Mt&&a&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration)),null);case 4:return C(e),t===null&&Pi(e.stateNode.containerInfo),Me(e),null;case 10:return Rn(e.type,e),Me(e),null;case 19:if(jt(zl,e),i=e.memoizedState,i===null)return Me(e),null;if(o=(e.flags&128)!==0,f=i.rendering,f===null)if(o)cf(i,!1);else{if(il!==Eo||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(f=Bc(t),f!==null){for(e.flags|=128,cf(i,!1),t=f.updateQueue,e.updateQueue=t,uf(e,t),e.subtreeFlags=0,t=a,a=e.child;a!==null;)Fm(a,t),a=a.sibling;return Ht(zl,zl.current&cm|ap,e),ee&&Un(e,i.treeForkCount),e.child}t=t.sibling}i.tail!==null&&Hl()>Hv&&(e.flags|=128,o=!0,cf(i,!1),e.lanes=4194304)}else{if(!o)if(t=Bc(f),t!==null){if(e.flags|=128,o=!0,t=t.updateQueue,e.updateQueue=t,uf(e,t),cf(i,!0),i.tail===null&&i.tailMode==="hidden"&&!f.alternate&&!ee)return Me(e),null}else 2*Hl()-i.renderingStartTime>Hv&&a!==536870912&&(e.flags|=128,o=!0,cf(i,!1),e.lanes=4194304);i.isBackwards?(f.sibling=e.child,e.child=f):(t=i.last,t!==null?t.sibling=f:e.child=f,i.last=f)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Hl(),t.sibling=null,a=zl.current,a=o?a&cm|ap:a&cm,Ht(zl,a,e),ee&&Un(e,i.treeForkCount),t):(Me(e),null);case 22:case 23:return Ul(e),Nn(e),i=e.memoizedState!==null,t!==null?t.memoizedState!==null!==i&&(e.flags|=8192):i&&(e.flags|=8192),i?(a&536870912)!==0&&(e.flags&128)===0&&(Me(e),e.subtreeFlags&6&&(e.flags|=8192)):Me(e),a=e.updateQueue,a!==null&&uf(e,a.retryQueue),a=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),i=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),i!==a&&(e.flags|=2048),t!==null&&jt(Nr,e),null;case 24:return a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),Rn(Nl,e),Me(e),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+e.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function ig(t,e){switch(Ad(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&Lt)!==Mt&&Hc(e),e):null;case 3:return Rn(Nl,e),C(e),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return it(e),null;case 31:if(e.memoizedState!==null){if(Ul(e),e.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Hi()}return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&Lt)!==Mt&&Hc(e),e):null;case 13:if(Ul(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Hi()}return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&Lt)!==Mt&&Hc(e),e):null;case 19:return jt(zl,e),null;case 4:return C(e),null;case 10:return Rn(e.type,e),null;case 22:case 23:return Ul(e),Nn(e),t!==null&&jt(Nr,e),t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&Lt)!==Mt&&Hc(e),e):null;case 24:return Rn(Nl,e),null;case 25:return null;default:return null}}function Ry(t,e){switch(Ad(e),e.tag){case 3:Rn(Nl,e),C(e);break;case 26:case 27:case 5:it(e);break;case 4:C(e);break;case 31:e.memoizedState!==null&&Ul(e);break;case 13:Ul(e);break;case 19:jt(zl,e);break;case 10:Rn(e.type,e);break;case 22:case 23:Ul(e),Nn(e),t!==null&&jt(Nr,e);break;case 24:Rn(Nl,e)}}function bu(t){return(t.mode&Lt)!==Mt}function cg(t,e){bu(t)?(ll(),ii(e,t),ca()):ii(e,t)}function Fd(t,e,a){bu(t)?(ll(),Ki(a,t,e),ca()):Ki(a,t,e)}function ii(t,e){try{var a=e.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var o=i.next;a=o;do{if((a.tag&t)===t&&(i=void 0,(t&Pa)!==Ev&&(pm=!0),i=$(e,hE,a),(t&Pa)!==Ev&&(pm=!1),i!==void 0&&typeof i!="function")){var f=void 0;f=(a.tag&Wn)!==0?"useLayoutEffect":(a.tag&Pa)!==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"?`
186
165
 
187
166
  It looks like you wrote `+f+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
188
167
 
@@ -195,11 +174,11 @@ It looks like you wrote `+f+`(async () => ...) or returned a Promise. Instead, w
195
174
  fetchData();
196
175
  }, [someId]); // Or [] if effect doesn't need props or state
197
176
 
198
- Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+o,mt(e,function(g,E){console.error("%s must not return anything besides a function, which is used for clean-up.%s",g,E)},f,y)}a=a.next}while(a!==c)}}catch(g){ee(e,e.return,g)}}function mu(t,e,a){try{var o=e.updateQueue,c=o!==null?o.lastEffect:null;if(c!==null){var f=c.next;o=f;do{if((o.tag&t)===t){var y=o.inst,g=y.destroy;g!==void 0&&(y.destroy=void 0,(t&hl)!==o1&&(pp=!0),c=e,mt(c,Q5,c,a,g),(t&hl)!==o1&&(pp=!1))}o=o.next}while(o!==f)}}catch(E){ee(e,e.return,E)}}function Uf(t,e){Vi(t)?(rn(),Mo(e,t),va()):Mo(e,t)}function Wh(t,e,a){Vi(t)?(rn(),mu(a,t,e),va()):mu(a,t,e)}function $y(t){var e=t.updateQueue;if(e!==null){var a=t.stateNode;t.type.defaultProps||"ref"in t.memoizedProps||cp||(a.props!==t.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.",yt(t)||"instance"),a.state!==t.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.",yt(t)||"instance"));try{mt(t,xr,e,a)}catch(o){ee(t,t.return,o)}}}function _f(t,e,a){return t.getSnapshotBeforeUpdate(e,a)}function kv(t,e){var a=e.memoizedProps,o=e.memoizedState;e=t.stateNode,t.type.defaultProps||"ref"in t.memoizedProps||cp||(e.props!==t.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.",yt(t)||"instance"),e.state!==t.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.",yt(t)||"instance"));try{var c=ji(t.type,a),f=mt(t,_f,e,c,o);a=LC,f!==void 0||a.has(t.type)||(a.add(t.type),mt(t,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",yt(t))})),e.__reactInternalSnapshotBeforeUpdate=f}catch(y){ee(t,t.return,y)}}function Ih(t,e,a){a.props=ji(t.type,t.memoizedProps),a.state=t.memoizedState,Vi(t)?(rn(),mt(t,lC,t,e,a),va()):mt(t,lC,t,e,a)}function Jv(t){var e=t.ref;if(e!==null){switch(t.tag){case 26:case 27:case 5:var a=t.stateNode;break;case 30:a=t.stateNode;break;default:a=t.stateNode}if(typeof e=="function")if(Vi(t))try{rn(),t.refCleanup=e(a)}finally{va()}else t.refCleanup=e(a);else typeof e=="string"?console.error("String refs are no longer supported."):e.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",yt(t)),e.current=a}}function Ss(t,e){try{mt(t,Jv,t)}catch(a){ee(t,e,a)}}function Ml(t,e){var a=t.ref,o=t.refCleanup;if(a!==null)if(typeof o=="function")try{if(Vi(t))try{rn(),mt(t,o)}finally{va(t)}else mt(t,o)}catch(c){ee(t,e,c)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof a=="function")try{if(Vi(t))try{rn(),mt(t,a,null)}finally{va(t)}else mt(t,a,null)}catch(c){ee(t,e,c)}else a.current=null}function Fy(t,e,a,o){var c=t.memoizedProps,f=c.id,y=c.onCommit;c=c.onRender,e=e===null?"mount":"update",t1&&(e="nested-update"),typeof c=="function"&&c(f,e,t.actualDuration,t.treeBaseDuration,t.actualStartTime,a),typeof y=="function"&&y(f,e,o,a)}function Kv(t,e,a,o){var c=t.memoizedProps;t=c.id,c=c.onPostCommit,e=e===null?"mount":"update",t1&&(e="nested-update"),typeof c=="function"&&c(t,e,o,a)}function pu(t){var e=t.type,a=t.memoizedProps,o=t.stateNode;try{mt(t,ub,o,e,a,t)}catch(c){ee(t,t.return,c)}}function Ph(t,e,a){try{mt(t,bm,t.stateNode,t.type,a,e,t)}catch(o){ee(t,t.return,o)}}function Wy(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Au(t.type)||t.tag===4}function tm(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Wy(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Au(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Vr(t,e,a){var o=t.tag;if(o===5||o===6)t=t.stateNode,e?(rb(a),(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(t,e)):(rb(a),e=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,e.appendChild(t),a=a._reactRootContainer,a!=null||e.onclick!==null||(e.onclick=bl));else if(o!==4&&(o===27&&Au(t.type)&&(a=t.stateNode,e=null),t=t.child,t!==null))for(Vr(t,e,a),t=t.sibling;t!==null;)Vr(t,e,a),t=t.sibling}function Nf(t,e,a){var o=t.tag;if(o===5||o===6)t=t.stateNode,e?a.insertBefore(t,e):a.appendChild(t);else if(o!==4&&(o===27&&Au(t.type)&&(a=t.stateNode),t=t.child,t!==null))for(Nf(t,e,a),t=t.sibling;t!==null;)Nf(t,e,a),t=t.sibling}function Iy(t){for(var e,a=t.return;a!==null;){if(Wy(a)){e=a;break}a=a.return}if(e==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(e.tag){case 27:e=e.stateNode,a=tm(t),Nf(t,a,e);break;case 5:a=e.stateNode,e.flags&32&&(Sm(a),e.flags&=-33),e=tm(t),Nf(t,e,a);break;case 3:case 4:e=e.stateNode.containerInfo,a=tm(t),Vr(t,a,e);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Py(t){var e=t.stateNode,a=t.memoizedProps;try{mt(t,Zi,t.type,a,e,t)}catch(o){ee(t,t.return,o)}}function tg(t,e){return e.tag===31?(e=e.memoizedState,t.memoizedState!==null&&e===null):e.tag===13?(t=t.memoizedState,e=e.memoizedState,t!==null&&t.dehydrated!==null&&(e===null||e.dehydrated===null)):e.tag===3?t.memoizedState.isDehydrated&&(e.flags&256)===0:!1}function CT(t,e){if(t=t.containerInfo,B2=N1,t=ph(t),uy(t)){if("selectionStart"in t)var a={start:t.selectionStart,end:t.selectionEnd};else t:{a=(a=t.ownerDocument)&&a.defaultView||window;var o=a.getSelection&&a.getSelection();if(o&&o.rangeCount!==0){a=o.anchorNode;var c=o.anchorOffset,f=o.focusNode;o=o.focusOffset;try{a.nodeType,f.nodeType}catch{a=null;break t}var y=0,g=-1,E=-1,D=0,V=0,L=t,U=null;e:for(;;){for(var K;L!==a||c!==0&&L.nodeType!==3||(g=y+c),L!==f||o!==0&&L.nodeType!==3||(E=y+o),L.nodeType===3&&(y+=L.nodeValue.length),(K=L.firstChild)!==null;)U=L,L=K;for(;;){if(L===t)break e;if(U===a&&++D===c&&(g=y),U===f&&++V===o&&(E=y),(K=L.nextSibling)!==null)break;L=U,U=L.parentNode}L=K}a=g===-1||E===-1?null:{start:g,end:E}}else a=null}a=a||{start:0,end:0}}else a=null;for(V2={focusedElem:t,selectionRange:a},N1=!1,fa=e;fa!==null;)if(e=fa,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,fa=t;else for(;fa!==null;){switch(t=e=fa,a=t.alternate,c=t.flags,t.tag){case 0:if((c&4)!==0&&(t=t.updateQueue,t=t!==null?t.events:null,t!==null))for(a=0;a<t.length;a++)c=t[a],c.ref.impl=c.nextImpl;break;case 11:case 15:break;case 1:(c&1024)!==0&&a!==null&&kv(t,a);break;case 3:if((c&1024)!==0){if(t=t.stateNode.containerInfo,a=t.nodeType,a===9)Fr(t);else if(a===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Fr(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((c&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(t=e.sibling,t!==null){t.return=e.return,fa=t;break}fa=e.return}}function em(t,e,a){var o=$e(),c=El(),f=Fa(),y=xl(),g=a.flags;switch(a.tag){case 0:case 11:case 15:al(t,a),g&4&&Zv(a,ci|lo);break;case 1:if(al(t,a),g&4)if(t=a.stateNode,e===null)a.type.defaultProps||"ref"in a.memoizedProps||cp||(t.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.",yt(a)||"instance"),t.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.",yt(a)||"instance")),Vi(a)?(rn(),mt(a,l2,a,t),va()):mt(a,l2,a,t);else{var E=ji(a.type,e.memoizedProps);e=e.memoizedState,a.type.defaultProps||"ref"in a.memoizedProps||cp||(t.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.",yt(a)||"instance"),t.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.",yt(a)||"instance")),Vi(a)?(rn(),mt(a,eC,a,t,E,e,t.__reactInternalSnapshotBeforeUpdate),va()):mt(a,eC,a,t,E,e,t.__reactInternalSnapshotBeforeUpdate)}g&64&&$y(a),g&512&&Ss(a,a.return);break;case 3:if(e=Ci(),al(t,a),g&64&&(g=a.updateQueue,g!==null)){if(E=null,a.child!==null)switch(a.child.tag){case 27:case 5:E=a.child.stateNode;break;case 1:E=a.child.stateNode}try{mt(a,xr,g,E)}catch(V){ee(a,a.return,V)}}t.effectDuration+=Sr(e);break;case 27:e===null&&g&4&&Py(a);case 26:case 5:if(al(t,a),e===null){if(g&4)pu(a);else if(g&64){t=a.type,e=a.memoizedProps,E=a.stateNode;try{mt(a,sb,E,t,e,a)}catch(V){ee(a,a.return,V)}}}g&512&&Ss(a,a.return);break;case 12:if(g&4){g=Ci(),al(t,a),t=a.stateNode,t.effectDuration+=ga(g);try{mt(a,Fy,a,e,bc,t.effectDuration)}catch(V){ee(a,a.return,V)}}else al(t,a);break;case 31:al(t,a),g&4&&ng(t,a);break;case 13:al(t,a),g&4&&ag(t,a),g&64&&(t=a.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(g=Oo.bind(null,a),Sb(t,g))));break;case 22:if(g=a.memoizedState!==null||ks,!g){e=e!==null&&e.memoizedState!==null||Kn,E=ks;var D=Kn;ks=g,(Kn=e)&&!D?(Il(t,a,(a.subtreeFlags&8772)!==0),(a.mode&ie)!==Zt&&0<=jt&&0<=Yt&&.05<Yt-jt&&yh(a,jt,Yt)):al(t,a),ks=E,Kn=D}break;case 30:break;default:al(t,a)}(a.mode&ie)!==Zt&&0<=jt&&0<=Yt&&((An||.05<dn)&&Gl(a,jt,Yt,dn,un),a.alternate===null&&a.return!==null&&a.return.alternate!==null&&.05<Yt-jt&&(tg(a.return.alternate,a.return)||Sl(a,jt,Yt,"Mount"))),Vn(o),$a(c),un=f,An=y}function Sn(t){var e=t.alternate;e!==null&&(t.alternate=null,Sn(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&kp(e)),t.stateNode=null,t._debugOwner=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function Je(t,e,a){for(a=a.child;a!==null;)eg(t,e,a),a=a.sibling}function eg(t,e,a){if(wn&&typeof wn.onCommitFiberUnmount=="function")try{wn.onCommitFiberUnmount(_s,a)}catch(D){Ji||(Ji=!0,console.error("React instrumentation encountered an error: %o",D))}var o=$e(),c=El(),f=Fa(),y=xl();switch(a.tag){case 26:Kn||Ml(a,e),Je(t,e,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(t=a.stateNode,t.parentNode.removeChild(t));break;case 27:Kn||Ml(a,e);var g=$n,E=Ul;Au(a.type)&&($n=a.stateNode,Ul=!1),Je(t,e,a),mt(a,_o,a.stateNode),$n=g,Ul=E;break;case 5:Kn||Ml(a,e);case 6:if(g=$n,E=Ul,$n=null,Je(t,e,a),$n=g,Ul=E,$n!==null)if(Ul)try{mt(a,fb,$n,a.stateNode)}catch(D){ee(a,e,D)}else try{mt(a,cb,$n,a.stateNode)}catch(D){ee(a,e,D)}break;case 18:$n!==null&&(Ul?(t=$n,Ds(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,a.stateNode),Os(t)):Ds($n,a.stateNode));break;case 4:g=$n,E=Ul,$n=a.stateNode.containerInfo,Ul=!0,Je(t,e,a),$n=g,Ul=E;break;case 0:case 11:case 14:case 15:mu(hl,a,e),Kn||Fh(a,e,ci),Je(t,e,a);break;case 1:Kn||(Ml(a,e),g=a.stateNode,typeof g.componentWillUnmount=="function"&&Ih(a,e,g)),Je(t,e,a);break;case 21:Je(t,e,a);break;case 22:Kn=(g=Kn)||a.memoizedState!==null,Je(t,e,a),Kn=g;break;default:Je(t,e,a)}(a.mode&ie)!==Zt&&0<=jt&&0<=Yt&&(An||.05<dn)&&Gl(a,jt,Yt,dn,un),Vn(o),$a(c),un=f,An=y}function ng(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{mt(e,Tm,t)}catch(a){ee(e,e.return,a)}}}function ag(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{mt(e,xg,t)}catch(a){ee(e,e.return,a)}}function $v(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new qC),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new qC),e;default:throw Error("Unexpected Suspense handler tag ("+t.tag+"). This is a bug in React.")}}function yu(t,e){var a=$v(t);e.forEach(function(o){if(!a.has(o)){if(a.add(o),Ki)if(fp!==null&&dp!==null)Xr(dp,fp);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var c=Es.bind(null,t,o);o.then(c,c)}})}function Ea(t,e){var a=e.deletions;if(a!==null)for(var o=0;o<a.length;o++){var c=t,f=e,y=a[o],g=$e(),E=f;t:for(;E!==null;){switch(E.tag){case 27:if(Au(E.type)){$n=E.stateNode,Ul=!1;break t}break;case 5:$n=E.stateNode,Ul=!1;break t;case 3:case 4:$n=E.stateNode.containerInfo,Ul=!0;break t}E=E.return}if($n===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");eg(c,f,y),$n=null,Ul=!1,(y.mode&ie)!==Zt&&0<=jt&&0<=Yt&&.05<Yt-jt&&Sl(y,jt,Yt,"Unmount"),Vn(g),c=y,f=c.alternate,f!==null&&(f.return=null),c.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)jf(e,t),e=e.sibling}function jf(t,e){var a=$e(),o=El(),c=Fa(),f=xl(),y=t.alternate,g=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Ea(e,t),xa(t),g&4&&(mu(hl|lo,t,t.return),Mo(hl|lo,t),Fh(t,t.return,ci|lo));break;case 1:if(Ea(e,t),xa(t),g&512&&(Kn||y===null||Ml(y,y.return)),g&64&&ks&&(g=t.updateQueue,g!==null&&(y=g.callbacks,y!==null))){var E=g.shared.hiddenCallbacks;g.shared.hiddenCallbacks=E===null?y:E.concat(y)}break;case 26:if(E=Lo,Ea(e,t),xa(t),g&512&&(Kn||y===null||Ml(y,y.return)),g&4){var D=y!==null?y.memoizedState:null;if(g=t.memoizedState,y===null)if(g===null)if(t.stateNode===null){t:{g=t.type,y=t.memoizedProps,E=E.ownerDocument||E;e:switch(g){case"title":D=E.getElementsByTagName("title")[0],(!D||D[fc]||D[Ie]||D.namespaceURI===ne||D.hasAttribute("itemprop"))&&(D=E.createElement(g),E.head.insertBefore(D,E.querySelector("head > title"))),We(D,g,y),D[Ie]=t,yn(D),g=D;break t;case"link":var V=Pr("link","href",E).get(g+(y.href||""));if(V){for(var L=0;L<V.length;L++)if(D=V[L],D.getAttribute("href")===(y.href==null||y.href===""?null:y.href)&&D.getAttribute("rel")===(y.rel==null?null:y.rel)&&D.getAttribute("title")===(y.title==null?null:y.title)&&D.getAttribute("crossorigin")===(y.crossOrigin==null?null:y.crossOrigin)){V.splice(L,1);break e}}D=E.createElement(g),We(D,g,y),E.head.appendChild(D);break;case"meta":if(V=Pr("meta","content",E).get(g+(y.content||""))){for(L=0;L<V.length;L++)if(D=V[L],_e(y.content,"content"),D.getAttribute("content")===(y.content==null?null:""+y.content)&&D.getAttribute("name")===(y.name==null?null:y.name)&&D.getAttribute("property")===(y.property==null?null:y.property)&&D.getAttribute("http-equiv")===(y.httpEquiv==null?null:y.httpEquiv)&&D.getAttribute("charset")===(y.charSet==null?null:y.charSet)){V.splice(L,1);break e}}D=E.createElement(g),We(D,g,y),E.head.appendChild(D);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+g+'". This is a bug in React.')}D[Ie]=t,yn(D),g=D}t.stateNode=g}else xb(E,t.type,t.stateNode);else t.stateNode=xm(E,g,t.memoizedProps);else D!==g?(D===null?y.stateNode!==null&&(y=y.stateNode,y.parentNode.removeChild(y)):D.count--,g===null?xb(E,t.type,t.stateNode):xm(E,g,t.memoizedProps)):g===null&&t.stateNode!==null&&Ph(t,t.memoizedProps,y.memoizedProps)}break;case 27:Ea(e,t),xa(t),g&512&&(Kn||y===null||Ml(y,y.return)),y!==null&&g&4&&Ph(t,t.memoizedProps,y.memoizedProps);break;case 5:if(Ea(e,t),xa(t),g&512&&(Kn||y===null||Ml(y,y.return)),t.flags&32){E=t.stateNode;try{mt(t,Sm,E)}catch(Et){ee(t,t.return,Et)}}g&4&&t.stateNode!=null&&(E=t.memoizedProps,Ph(t,E,y!==null?y.memoizedProps:E)),g&1024&&(g2=!0,t.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Ea(e,t),xa(t),g&4){if(t.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.");g=t.memoizedProps,y=y!==null?y.memoizedProps:g,E=t.stateNode;try{mt(t,MT,E,y,g)}catch(Et){ee(t,t.return,Et)}}break;case 3:if(E=Ci(),w1=null,D=Lo,Lo=Am(e.containerInfo),Ea(e,t),Lo=D,xa(t),g&4&&y!==null&&y.memoizedState.isDehydrated)try{mt(t,Eg,e.containerInfo)}catch(Et){ee(t,t.return,Et)}g2&&(g2=!1,Fv(t)),e.effectDuration+=Sr(E);break;case 4:g=Lo,Lo=Am(t.stateNode.containerInfo),Ea(e,t),xa(t),Lo=g;break;case 12:g=Ci(),Ea(e,t),xa(t),t.stateNode.effectDuration+=ga(g);break;case 31:Ea(e,t),xa(t),g&4&&(g=t.updateQueue,g!==null&&(t.updateQueue=null,yu(t,g)));break;case 13:Ea(e,t),xa(t),t.child.flags&8192&&t.memoizedState!==null!=(y!==null&&y.memoizedState!==null)&&(y1=Xn()),g&4&&(g=t.updateQueue,g!==null&&(t.updateQueue=null,yu(t,g)));break;case 22:E=t.memoizedState!==null;var U=y!==null&&y.memoizedState!==null,K=ks,vt=Kn;if(ks=K||E,Kn=vt||U,Ea(e,t),Kn=vt,ks=K,U&&!E&&!K&&!vt&&(t.mode&ie)!==Zt&&0<=jt&&0<=Yt&&.05<Yt-jt&&yh(t,jt,Yt),xa(t),g&8192)t:for(e=t.stateNode,e._visibility=E?e._visibility&~i0:e._visibility|i0,!E||y===null||U||ks||Kn||(gu(t),(t.mode&ie)!==Zt&&0<=jt&&0<=Yt&&.05<Yt-jt&&Sl(t,jt,Yt,"Disconnect")),y=null,e=t;;){if(e.tag===5||e.tag===26){if(y===null){U=y=e;try{D=U.stateNode,E?mt(U,hb,D):mt(U,yb,U.stateNode,U.memoizedProps)}catch(Et){ee(U,U.return,Et)}}}else if(e.tag===6){if(y===null){U=e;try{V=U.stateNode,E?mt(U,mb,V):mt(U,gb,V,U.memoizedProps)}catch(Et){ee(U,U.return,Et)}}}else if(e.tag===18){if(y===null){U=e;try{L=U.stateNode,E?mt(U,db,L):mt(U,pb,U.stateNode)}catch(Et){ee(U,U.return,Et)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;y===e&&(y=null),e=e.return}y===e&&(y=null),e.sibling.return=e.return,e=e.sibling}g&4&&(g=t.updateQueue,g!==null&&(y=g.retryQueue,y!==null&&(g.retryQueue=null,yu(t,y))));break;case 19:Ea(e,t),xa(t),g&4&&(g=t.updateQueue,g!==null&&(t.updateQueue=null,yu(t,g)));break;case 30:break;case 21:break;default:Ea(e,t),xa(t)}(t.mode&ie)!==Zt&&0<=jt&&0<=Yt&&((An||.05<dn)&&Gl(t,jt,Yt,dn,un),t.alternate===null&&t.return!==null&&t.return.alternate!==null&&.05<Yt-jt&&(tg(t.return.alternate,t.return)||Sl(t,jt,Yt,"Mount"))),Vn(a),$a(o),un=c,An=f}function xa(t){var e=t.flags;if(e&2){try{mt(t,Iy,t)}catch(a){ee(t,t.return,a)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Fv(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Fv(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function al(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)em(t,e.alternate,e),e=e.sibling}function nm(t){var e=$e(),a=El(),o=Fa(),c=xl();switch(t.tag){case 0:case 11:case 14:case 15:Fh(t,t.return,ci),gu(t);break;case 1:Ml(t,t.return);var f=t.stateNode;typeof f.componentWillUnmount=="function"&&Ih(t,t.return,f),gu(t);break;case 27:mt(t,_o,t.stateNode);case 26:case 5:Ml(t,t.return),gu(t);break;case 22:t.memoizedState===null&&gu(t);break;case 30:gu(t);break;default:gu(t)}(t.mode&ie)!==Zt&&0<=jt&&0<=Yt&&(An||.05<dn)&&Gl(t,jt,Yt,dn,un),Vn(e),$a(a),un=o,An=c}function gu(t){for(t=t.child;t!==null;)nm(t),t=t.sibling}function lg(t,e,a,o){var c=$e(),f=El(),y=Fa(),g=xl(),E=a.flags;switch(a.tag){case 0:case 11:case 15:Il(t,a,o),Zv(a,ci);break;case 1:if(Il(t,a,o),e=a.stateNode,typeof e.componentDidMount=="function"&&mt(a,l2,a,e),e=a.updateQueue,e!==null){t=a.stateNode;try{mt(a,Dy,e,t)}catch(D){ee(a,a.return,D)}}o&&E&64&&$y(a),Ss(a,a.return);break;case 27:Py(a);case 26:case 5:Il(t,a,o),o&&e===null&&E&4&&pu(a),Ss(a,a.return);break;case 12:if(o&&E&4){E=Ci(),Il(t,a,o),o=a.stateNode,o.effectDuration+=ga(E);try{mt(a,Fy,a,e,bc,o.effectDuration)}catch(D){ee(a,a.return,D)}}else Il(t,a,o);break;case 31:Il(t,a,o),o&&E&4&&ng(t,a);break;case 13:Il(t,a,o),o&&E&4&&ag(t,a);break;case 22:a.memoizedState===null&&Il(t,a,o),Ss(a,a.return);break;case 30:break;default:Il(t,a,o)}(a.mode&ie)!==Zt&&0<=jt&&0<=Yt&&(An||.05<dn)&&Gl(a,jt,Yt,dn,un),Vn(c),$a(f),un=y,An=g}function Il(t,e,a){for(a=a&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;)lg(t,e.alternate,e,a),e=e.sibling}function Bf(t,e){var a=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==a&&(t!=null&&as(t),a!=null&&sf(a))}function Vf(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(as(e),t!=null&&sf(t))}function ll(t,e,a,o,c){if(e.subtreeFlags&10256||e.actualDuration!==0&&(e.alternate===null||e.alternate.child!==e.child))for(e=e.child;e!==null;){var f=e.sibling;ig(t,e,a,o,f!==null?f.actualStartTime:c),e=f}}function ig(t,e,a,o,c){var f=$e(),y=El(),g=Fa(),E=xl(),D=pc,V=e.flags;switch(e.tag){case 0:case 11:case 15:(e.mode&ie)!==Zt&&0<e.actualStartTime&&(e.flags&1)!==0&&gh(e,e.actualStartTime,c,aa,a),ll(t,e,a,o,c),V&2048&&Uf(e,ml|lo);break;case 1:(e.mode&ie)!==Zt&&0<e.actualStartTime&&((e.flags&128)!==0?ry(e,e.actualStartTime,c,[]):(e.flags&1)!==0&&gh(e,e.actualStartTime,c,aa,a)),ll(t,e,a,o,c);break;case 3:var L=Ci(),U=aa;aa=e.alternate!==null&&e.alternate.memoizedState.isDehydrated&&(e.flags&256)===0,ll(t,e,a,o,c),aa=U,V&2048&&(a=null,e.alternate!==null&&(a=e.alternate.memoizedState.cache),o=e.memoizedState.cache,o!==a&&(as(o),a!=null&&sf(a))),t.passiveEffectDuration+=Sr(L);break;case 12:if(V&2048){V=Ci(),ll(t,e,a,o,c),t=e.stateNode,t.passiveEffectDuration+=ga(V);try{mt(e,Kv,e,e.alternate,bc,t.passiveEffectDuration)}catch(K){ee(e,e.return,K)}}else ll(t,e,a,o,c);break;case 31:V=aa,L=e.alternate!==null?e.alternate.memoizedState:null,U=e.memoizedState,L!==null&&U===null?(U=e.deletions,U!==null&&0<U.length&&U[0].tag===18?(aa=!1,L=L.hydrationErrors,L!==null&&ry(e,e.actualStartTime,c,L)):aa=!0):aa=!1,ll(t,e,a,o,c),aa=V;break;case 13:V=aa,L=e.alternate!==null?e.alternate.memoizedState:null,U=e.memoizedState,L===null||L.dehydrated===null||U!==null&&U.dehydrated!==null?aa=!1:(U=e.deletions,U!==null&&0<U.length&&U[0].tag===18?(aa=!1,L=L.hydrationErrors,L!==null&&ry(e,e.actualStartTime,c,L)):aa=!0),ll(t,e,a,o,c),aa=V;break;case 23:break;case 22:U=e.stateNode,L=e.alternate,e.memoizedState!==null?U._visibility&Bs?ll(t,e,a,o,c):Ts(t,e,a,o,c):U._visibility&Bs?ll(t,e,a,o,c):(U._visibility|=Bs,vu(t,e,a,o,(e.subtreeFlags&10256)!==0||e.actualDuration!==0&&(e.alternate===null||e.alternate.child!==e.child),c),(e.mode&ie)===Zt||aa||(t=e.actualStartTime,0<=t&&.05<c-t&&yh(e,t,c),0<=jt&&0<=Yt&&.05<Yt-jt&&yh(e,jt,Yt))),V&2048&&Bf(L,e);break;case 24:ll(t,e,a,o,c),V&2048&&Vf(e.alternate,e);break;default:ll(t,e,a,o,c)}(e.mode&ie)!==Zt&&((t=!aa&&e.alternate===null&&e.return!==null&&e.return.alternate!==null)&&(a=e.actualStartTime,0<=a&&.05<c-a&&Sl(e,a,c,"Mount")),0<=jt&&0<=Yt&&((An||.05<dn)&&Gl(e,jt,Yt,dn,un),t&&.05<Yt-jt&&Sl(e,jt,Yt,"Mount"))),Vn(f),$a(y),un=g,An=E,pc=D}function vu(t,e,a,o,c,f){for(c=c&&((e.subtreeFlags&10256)!==0||e.actualDuration!==0&&(e.alternate===null||e.alternate.child!==e.child)),e=e.child;e!==null;){var y=e.sibling;Hf(t,e,a,o,c,y!==null?y.actualStartTime:f),e=y}}function Hf(t,e,a,o,c,f){var y=$e(),g=El(),E=Fa(),D=xl(),V=pc;c&&(e.mode&ie)!==Zt&&0<e.actualStartTime&&(e.flags&1)!==0&&gh(e,e.actualStartTime,f,aa,a);var L=e.flags;switch(e.tag){case 0:case 11:case 15:vu(t,e,a,o,c,f),Uf(e,ml);break;case 23:break;case 22:var U=e.stateNode;e.memoizedState!==null?U._visibility&Bs?vu(t,e,a,o,c,f):Ts(t,e,a,o,f):(U._visibility|=Bs,vu(t,e,a,o,c,f)),c&&L&2048&&Bf(e.alternate,e);break;case 24:vu(t,e,a,o,c,f),c&&L&2048&&Vf(e.alternate,e);break;default:vu(t,e,a,o,c,f)}(e.mode&ie)!==Zt&&0<=jt&&0<=Yt&&(An||.05<dn)&&Gl(e,jt,Yt,dn,un),Vn(y),$a(g),un=E,An=D,pc=V}function Ts(t,e,a,o,c){if(e.subtreeFlags&10256||e.actualDuration!==0&&(e.alternate===null||e.alternate.child!==e.child))for(var f=e.child;f!==null;){e=f.sibling;var y=t,g=a,E=o,D=e!==null?e.actualStartTime:c,V=pc;(f.mode&ie)!==Zt&&0<f.actualStartTime&&(f.flags&1)!==0&&gh(f,f.actualStartTime,D,aa,g);var L=f.flags;switch(f.tag){case 22:Ts(y,f,g,E,D),L&2048&&Bf(f.alternate,f);break;case 24:Ts(y,f,g,E,D),L&2048&&Vf(f.alternate,f);break;default:Ts(y,f,g,E,D)}pc=V,f=e}}function As(t,e,a){if(t.subtreeFlags&D0)for(t=t.child;t!==null;)am(t,e,a),t=t.sibling}function am(t,e,a){switch(t.tag){case 26:As(t,e,a),t.flags&D0&&t.memoizedState!==null&&Og(a,Lo,t.memoizedState,t.memoizedProps);break;case 5:As(t,e,a);break;case 3:case 4:var o=Lo;Lo=Am(t.stateNode.containerInfo),As(t,e,a),Lo=o;break;case 22:t.memoizedState===null&&(o=t.alternate,o!==null&&o.memoizedState!==null?(o=D0,D0=16777216,As(t,e,a),D0=o):As(t,e,a));break;default:As(t,e,a)}}function og(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function il(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var o=e[a],c=$e();fa=o,Hi(o,t),(o.mode&ie)!==Zt&&0<=jt&&0<=Yt&&.05<Yt-jt&&Sl(o,jt,Yt,"Unmount"),Vn(c)}og(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)lm(t),t=t.sibling}function lm(t){var e=$e(),a=El(),o=Fa(),c=xl();switch(t.tag){case 0:case 11:case 15:il(t),t.flags&2048&&Wh(t,t.return,ml|lo);break;case 3:var f=Ci();il(t),t.stateNode.passiveEffectDuration+=Sr(f);break;case 12:f=Ci(),il(t),t.stateNode.passiveEffectDuration+=ga(f);break;case 22:f=t.stateNode,t.memoizedState!==null&&f._visibility&Bs&&(t.return===null||t.return.tag!==13)?(f._visibility&=~Bs,im(t),(t.mode&ie)!==Zt&&0<=jt&&0<=Yt&&.05<Yt-jt&&Sl(t,jt,Yt,"Disconnect")):il(t);break;default:il(t)}(t.mode&ie)!==Zt&&0<=jt&&0<=Yt&&(An||.05<dn)&&Gl(t,jt,Yt,dn,un),Vn(e),$a(a),An=c,un=o}function im(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var o=e[a],c=$e();fa=o,Hi(o,t),(o.mode&ie)!==Zt&&0<=jt&&0<=Yt&&.05<Yt-jt&&Sl(o,jt,Yt,"Unmount"),Vn(c)}og(t)}for(t=t.child;t!==null;)ug(t),t=t.sibling}function ug(t){var e=$e(),a=El(),o=Fa(),c=xl();switch(t.tag){case 0:case 11:case 15:Wh(t,t.return,ml),im(t);break;case 22:var f=t.stateNode;f._visibility&Bs&&(f._visibility&=~Bs,im(t));break;default:im(t)}(t.mode&ie)!==Zt&&0<=jt&&0<=Yt&&(An||.05<dn)&&Gl(t,jt,Yt,dn,un),Vn(e),$a(a),An=c,un=o}function Hi(t,e){for(;fa!==null;){var a=fa,o=a,c=e,f=$e(),y=El(),g=Fa(),E=xl();switch(o.tag){case 0:case 11:case 15:Wh(o,c,ml);break;case 23:case 22:o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(c=o.memoizedState.cachePool.pool,c!=null&&as(c));break;case 24:sf(o.memoizedState.cache)}if((o.mode&ie)!==Zt&&0<=jt&&0<=Yt&&(An||.05<dn)&&Gl(o,jt,Yt,dn,un),Vn(f),$a(y),An=E,un=g,o=a.child,o!==null)o.return=a,fa=o;else t:for(a=t;fa!==null;){if(o=fa,f=o.sibling,y=o.return,Sn(o),o===a){fa=null;break t}if(f!==null){f.return=y,fa=f;break t}fa=y}}}function sg(){$5.forEach(function(t){return t()})}function rg(){var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return t||P.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),t}function ua(t){if((Te&la)!==da&&ue!==0)return ue&-ue;var e=P.T;return e!==null?(e._updatedFibers||(e._updatedFibers=new Set),e._updatedFibers.add(t),bg()):mv()}function Hr(){if(Nl===0)if((ue&536870912)===0||pe){var t=ud;ud<<=1,(ud&3932160)===0&&(ud=262144),Nl=t}else Nl=536870912;return t=ri.current,t!==null&&(t.flags|=32),Nl}function kt(t,e,a){if(pp&&console.error("useInsertionEffect must not schedule updates."),z2&&(S1=!0),(t===ke&&(Le===Ed||Le===xd)||t.cancelPendingCommit!==null)&&(Li(t,0),zl(t,ue,Nl,!1)),Zo(t,a),(Te&la)!==da&&t===ke){if(ki)switch(e.tag){case 0:case 11:case 15:t=ce&&yt(ce)||"Unknown",eM.has(t)||(eM.add(t),e=yt(e)||"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",e,t,t));break;case 1:tM||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),tM=!0)}}else Ki&&Na(t,e,a),Gf(e),t===ke&&((Te&la)===da&&(Mc|=a),hn===xc&&zl(t,ue,Nl,!1)),Ha(t)}function Wv(t,e,a){if((Te&(la|fi))!==da)throw Error("Should not already be working.");if(ue!==0&&ce!==null){var o=ce,c=Xn();switch(JD){case z0:case Ed:var f=f0;Pe&&((o=o._debugTask)?o.run(console.timeStamp.bind(console,"Suspended",f,c,Fi,void 0,"primary-light")):console.timeStamp("Suspended",f,c,Fi,void 0,"primary-light"));break;case xd:f=f0,Pe&&((o=o._debugTask)?o.run(console.timeStamp.bind(console,"Action",f,c,Fi,void 0,"primary-light")):console.timeStamp("Action",f,c,Fi,void 0,"primary-light"));break;default:Pe&&(o=c-f0,3>o||console.timeStamp("Blocked",f0,c,Fi,void 0,5>o?"primary-light":10>o?"primary":100>o?"primary-dark":"error"))}}f=(a=!a&&(e&127)===0&&(e&t.expiredLanes)===0||In(t,e))?zo(t,e):Yr(t,e,!0);var y=a;do{if(f===Js){hp&&!a&&zl(t,e,0,!1),e=Le,f0=Zn(),JD=e;break}else{if(o=Xn(),c=t.current.alternate,y&&!Pv(c)){Yl(e),c=ca,f=o,!Pe||f<=c||(Cn?Cn.run(console.timeStamp.bind(console,"Teared Render",c,f,ve,ye,"error")):console.timeStamp("Teared Render",c,f,ve,ye,"error")),bu(e,o),f=Yr(t,e,!1),y=!1;continue}if(f===Ad){if(y=e,t.errorRecoveryDisabledLanes&y)var g=0;else g=t.pendingLanes&-536870913,g=g!==0?g:g&536870912?536870912:0;if(g!==0){Yl(e),cy(ca,o,e,Cn),bu(e,o),e=g;t:{o=t,f=y,y=R0;var E=o.current.memoizedState.isDehydrated;if(E&&(Li(o,g).flags|=256),g=Yr(o,g,!1),g!==Ad){if(S2&&!E){o.errorRecoveryDisabledLanes|=f,Mc|=f,f=xc;break t}o=pl,pl=y,o!==null&&(pl===null?pl=o:pl.push.apply(pl,o))}f=g}if(y=!1,f!==Ad)continue;o=Xn()}}if(f===M0){Yl(e),cy(ca,o,e,Cn),bu(e,o),Li(t,0),zl(t,e,0,!0);break}t:{switch(a=t,f){case Js:case M0:throw Error("Root did not complete. This is a bug in React.");case xc:if((e&4194048)!==e)break;case d1:Yl(e),Mv(ca,o,e,Cn),bu(e,o),c=e,(c&127)!==0?Wb=o:(c&4194048)!==0&&(Ib=o),zl(a,e,Nl,!Dc);break t;case Ad:pl=null;break;case f1:case YC:break;default:throw Error("Unknown root exit status.")}if(P.actQueue!==null)Xe(a,c,e,pl,w0,p1,Nl,Mc,Dd,f,null,null,ca,o);else{if((e&62914560)===e&&(y=y1+QC-Xn(),10<y)){if(zl(a,e,Nl,!Dc),Wd(a,0,!0)!==0)break t;qo=e,a.timeoutHandle=rM(Iv.bind(null,a,c,pl,w0,p1,e,Nl,Mc,Dd,Dc,f,"Throttled",ca,o),y);break t}Iv(a,c,pl,w0,p1,e,Nl,Mc,Dd,Dc,f,null,ca,o)}}}break}while(!0);Ha(t)}function Iv(t,e,a,o,c,f,y,g,E,D,V,L,U,K){t.timeoutHandle=Rd;var vt=e.subtreeFlags,Et=null;if((vt&8192||(vt&16785408)===16785408)&&(Et={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:bl},am(e,f,Et),vt=(f&62914560)===f?y1-Xn():(f&4194048)===f?XC-Xn():0,vt=Dm(Et,vt),vt!==null)){qo=f,t.cancelPendingCommit=vt(Xe.bind(null,t,e,f,a,o,c,y,g,E,V,Et,Et.waitingForViewTransition?"Waiting for the previous Animation":0<Et.count?0<Et.imgCount?"Suspended on CSS and Images":"Suspended on CSS":Et.imgCount===1?"Suspended on an Image":0<Et.imgCount?"Suspended on Images":null,U,K)),zl(t,f,y,!D);return}Xe(t,e,f,a,o,c,y,g,E,V,Et,L,U,K)}function Pv(t){for(var e=t;;){var a=e.tag;if((a===0||a===11||a===15)&&e.flags&16384&&(a=e.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var o=0;o<a.length;o++){var c=a[o],f=c.getSnapshot;c=c.value;try{if(!fl(f(),c))return!1}catch{return!1}}if(a=e.child,e.subtreeFlags&16384&&a!==null)a.return=e,e=a;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function zl(t,e,a,o){e&=~T2,e&=~Mc,t.suspendedLanes|=e,t.pingedLanes&=~e,o&&(t.warmLanes|=e),o=t.expirationTimes;for(var c=e;0<c;){var f=31-ea(c),y=1<<f;o[f]=-1,c&=~y}a!==0&&Zp(t,a,e)}function ol(){return(Te&(la|fi))===da?(Yi(0),!1):!0}function om(){if(ce!==null){if(Le===_l)var t=ce.return;else t=ce,vr(),lu(t),lp=null,S0=0,t=ce;for(;t!==null;)Ky(t.alternate,t),t=t.return;ce=null}}function bu(t,e){(t&127)!==0&&(hd=e),(t&4194048)!==0&&(Ys=e),(t&62914560)!==0&&(ZD=e),(t&2080374784)!==0&&(kD=e)}function Li(t,e){Pe&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",ye,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",ye,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",ye,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",ye,"primary-light"));var a=ca;if(ca=Zn(),ue!==0&&0<a){if(Yl(ue),hn===f1||hn===xc)Mv(a,ca,e,Cn);else{var o=ca,c=Cn;if(Pe&&!(o<=a)){var f=(e&738197653)===e?"tertiary-dark":"primary-dark",y=(e&536870912)===e?"Prewarm":(e&201326741)===e?"Interrupted Hydration":"Interrupted Render";c?c.run(console.timeStamp.bind(console,y,a,o,ve,ye,f)):console.timeStamp(y,a,o,ve,ye,f)}}bu(ue,ca)}if(a=Cn,Cn=null,(e&127)!==0){Cn=s0,c=0<=Ru&&Ru<hd?hd:Ru,o=0<=md&&md<hd?hd:md,f=0<=o?o:0<=c?c:ca,0<=Wb?(Yl(2),zv(Wb,f,e,a)):Pb&127,a=c;var g=o,E=r0,D=0<ep,V=Sc===u0,L=Sc===Fb;if(c=ca,o=s0,f=PT,y=t2,Pe){if(ve="Blocking",0<a?a>c&&(a=c):a=c,0<g?g>a&&(g=a):g=a,E!==null&&a>g){var U=D?"secondary-light":"warning";o?o.run(console.timeStamp.bind(console,D?"Consecutive":"Event: "+E,g,a,ve,ye,U)):console.timeStamp(D?"Consecutive":"Event: "+E,g,a,ve,ye,U)}c>a&&(g=V?"error":(e&738197653)===e?"tertiary-light":"primary-light",V=L?"Promise Resolved":V?"Cascading Update":5<c-a?"Update Blocked":"Update",L=[],y!=null&&L.push(["Component name",y]),f!=null&&L.push(["Method name",f]),a={start:a,end:c,detail:{devtools:{properties:L,track:ve,trackGroup:ye,color:g}}},o?o.run(performance.measure.bind(performance,V,a)):performance.measure(V,a))}Ru=-1.1,Sc=0,t2=PT=null,Wb=-1.1,ep=md,md=-1.1,hd=Zn()}if((e&4194048)!==0&&(Cn=c0,c=0<=Gs&&Gs<Ys?Ys:Gs,a=0<=no&&no<Ys?Ys:no,o=0<=Tc&&Tc<Ys?Ys:Tc,f=0<=o?o:0<=a?a:ca,0<=Ib?(Yl(256),zv(Ib,f,e,Cn)):Pb&4194048,L=o,g=pd,E=0<Ac,D=e2===Fb,f=ca,o=c0,y=XD,V=QD,Pe&&(ve="Transition",0<a?a>f&&(a=f):a=f,0<c?c>a&&(c=a):c=a,0<L?L>c&&(L=c):L=c,c>L&&g!==null&&(U=E?"secondary-light":"warning",o?o.run(console.timeStamp.bind(console,E?"Consecutive":"Event: "+g,L,c,ve,ye,U)):console.timeStamp(E?"Consecutive":"Event: "+g,L,c,ve,ye,U)),a>c&&(o?o.run(console.timeStamp.bind(console,"Action",c,a,ve,ye,"primary-dark")):console.timeStamp("Action",c,a,ve,ye,"primary-dark")),f>a&&(c=D?"Promise Resolved":5<f-a?"Update Blocked":"Update",L=[],V!=null&&L.push(["Component name",V]),y!=null&&L.push(["Method name",y]),a={start:a,end:f,detail:{devtools:{properties:L,track:ve,trackGroup:ye,color:"primary-light"}}},o?o.run(performance.measure.bind(performance,c,a)):performance.measure(c,a))),no=Gs=-1.1,e2=0,Ib=-1.1,Ac=Tc,Tc=-1.1,Ys=Zn()),(e&62914560)!==0&&(Pb&62914560)!==0&&(Yl(4194304),fy(ZD,ca)),(e&2080374784)!==0&&(Pb&2080374784)!==0&&(Yl(268435456),fy(kD,ca)),a=t.timeoutHandle,a!==Rd&&(t.timeoutHandle=Rd,s6(a)),a=t.cancelPendingCommit,a!==null&&(t.cancelPendingCommit=null,a()),qo=0,om(),ke=t,ce=a=xi(t.current,null),ue=e,Le=_l,di=null,Dc=!1,hp=In(t,e),S2=!1,hn=Js,Dd=Nl=T2=Mc=Cc=0,pl=R0=null,p1=!1,(e&8)!==0&&(e|=e&32),o=t.entangledLanes,o!==0)for(t=t.entanglements,o&=e;0<o;)c=31-ea(o),f=1<<c,e|=t[c],o&=~f;return Uu=e,vh(),t=VD(),1e3<t-BD&&(P.recentlyCreatedOwnerStacks=0,BD=t),Vo.discardPendingWarnings(),a}function Pl(t,e){Ft=null,P.H=x0,P.getCurrentStack=null,ki=!1,Ga=null,e===ap||e===a1?(e=os(),Le=z0):e===i2?(e=os(),Le=GC):Le=e===p2?b2:e!==null&&typeof e=="object"&&typeof e.then=="function"?O0:h1,di=e;var a=ce;a===null?(hn=M0,Mf(t,ya(e,t.current))):a.mode&ie&&Dh(a)}function cg(){var t=ri.current;return t===null?!0:(ue&4194048)===ue?ao===null:(ue&62914560)===ue||(ue&536870912)!==0?t===ao:!1}function um(){var t=P.H;return P.H=x0,t===null?x0:t}function fg(){var t=P.A;return P.A=K5,t}function Lr(t){Cn===null&&(Cn=t._debugTask==null?null:t._debugTask)}function qr(){hn=xc,Dc||(ue&4194048)!==ue&&ri.current!==null||(hp=!0),(Cc&134217727)===0&&(Mc&134217727)===0||ke===null||zl(ke,ue,Nl,!1)}function Yr(t,e,a){var o=Te;Te|=la;var c=um(),f=fg();if(ke!==t||ue!==e){if(Ki){var y=t.memoizedUpdaters;0<y.size&&(Xr(t,ue),y.clear()),co(t,e)}w0=null,Li(t,e)}e=!1,y=hn;t:do try{if(Le!==_l&&ce!==null){var g=ce,E=di;switch(Le){case b2:om(),y=d1;break t;case z0:case Ed:case xd:case O0:ri.current===null&&(e=!0);var D=Le;if(Le=_l,di=null,Gr(t,g,E,D),a&&hp){y=Js;break t}break;default:D=Le,Le=_l,di=null,Gr(t,g,E,D)}}dg(),y=hn;break}catch(V){Pl(t,V)}while(!0);return e&&t.shellSuspendCounter++,vr(),Te=o,P.H=c,P.A=f,ce===null&&(ke=null,ue=0,vh()),y}function dg(){for(;ce!==null;)sm(ce)}function zo(t,e){var a=Te;Te|=la;var o=um(),c=fg();if(ke!==t||ue!==e){if(Ki){var f=t.memoizedUpdaters;0<f.size&&(Xr(t,ue),f.clear()),co(t,e)}w0=null,g1=Xn()+ZC,Li(t,e)}else hp=In(t,e);t:do try{if(Le!==_l&&ce!==null)e:switch(e=ce,f=di,Le){case h1:Le=_l,di=null,Gr(t,e,f,h1);break;case Ed:case xd:if(Ey(f)){Le=_l,di=null,hg(e);break}e=function(){Le!==Ed&&Le!==xd||ke!==t||(Le=m1),Ha(t)},f.then(e,e);break t;case z0:Le=m1;break t;case GC:Le=v2;break t;case m1:Ey(f)?(Le=_l,di=null,hg(e)):(Le=_l,di=null,Gr(t,e,f,m1));break;case v2:var y=null;switch(ce.tag){case 26:y=ce.memoizedState;case 5:case 27:var g=ce;if(y?fe(y):g.stateNode.complete){Le=_l,di=null;var E=g.sibling;if(E!==null)ce=E;else{var D=g.return;D!==null?(ce=D,Lf(D)):ce=null}break e}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Le=_l,di=null,Gr(t,e,f,v2);break;case O0:Le=_l,di=null,Gr(t,e,f,O0);break;case b2:om(),hn=d1;break t;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}P.actQueue!==null?dg():xn();break}catch(V){Pl(t,V)}while(!0);return vr(),P.H=o,P.A=c,Te=a,ce!==null?Js:(ke=null,ue=0,vh(),hn)}function xn(){for(;ce!==null&&!Bm();)sm(ce)}function sm(t){var e=t.alternate;(t.mode&ie)!==Zt?(go(t),e=mt(t,wf,e,t,Uu),Dh(t)):e=mt(t,wf,e,t,Uu),t.memoizedProps=t.pendingProps,e===null?Lf(t):ce=e}function hg(t){var e=mt(t,Gn,t);t.memoizedProps=t.pendingProps,e===null?Lf(t):ce=e}function Gn(t){var e=t.alternate,a=(t.mode&ie)!==Zt;switch(a&&go(t),t.tag){case 15:case 0:e=Gy(e,t,t.pendingProps,t.type,void 0,ue);break;case 11:e=Gy(e,t,t.pendingProps,t.type.render,t.ref,ue);break;case 5:lu(t);default:Ky(e,t),t=ce=py(t,Uu),e=wf(e,t,Uu)}return a&&Dh(t),e}function Gr(t,e,a,o){vr(),lu(e),lp=null,S0=0;var c=e.return;try{if(jy(t,c,e,a,ue)){hn=M0,Mf(t,ya(a,t.current)),ce=null;return}}catch(f){if(c!==null)throw ce=c,f;hn=M0,Mf(t,ya(a,t.current)),ce=null;return}e.flags&32768?(pe||o===h1?t=!0:hp||(ue&536870912)!==0?t=!1:(Dc=t=!0,(o===Ed||o===xd||o===z0||o===O0)&&(o=ri.current,o!==null&&o.tag===13&&(o.flags|=16384))),mg(e,t)):Lf(e)}function Lf(t){var e=t;do{if((e.flags&32768)!==0){mg(e,Dc);return}var a=e.alternate;if(t=e.return,go(e),a=mt(e,Jy,a,e,Uu),(e.mode&ie)!==Zt&&rf(e),a!==null){ce=a;return}if(e=e.sibling,e!==null){ce=e;return}ce=e=t}while(e!==null);hn===Js&&(hn=YC)}function mg(t,e){do{var a=Qv(t.alternate,t);if(a!==null){a.flags&=32767,ce=a;return}if((t.mode&ie)!==Zt){rf(t),a=t.actualDuration;for(var o=t.child;o!==null;)a+=o.actualDuration,o=o.sibling;t.actualDuration=a}if(a=t.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!e&&(t=t.sibling,t!==null)){ce=t;return}ce=t=a}while(t!==null);hn=d1,ce=null}function Xe(t,e,a,o,c,f,y,g,E,D,V,L,U,K){t.cancelPendingCommit=null;do qf();while(Fn!==Oc);if(Vo.flushLegacyContextWarning(),Vo.flushPendingUnsafeLifecycleWarnings(),(Te&(la|fi))!==da)throw Error("Should not already be working.");if(Yl(a),D===Ad?cy(U,K,a,Cn):o!==null?AT(U,K,a,o,e!==null&&e.alternate!==null&&e.alternate.memoizedState.isDehydrated&&(e.flags&256)!==0,Cn):TT(U,K,a,Cn),e!==null){if(a===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),e===t.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=e.lanes|e.childLanes,f|=KT,gT(t,a,f,y,g,E),t===ke&&(ce=ke=null,ue=0),mp=e,Rc=t,qo=a,x2=f,C2=c,WC=o,D2=K,IC=L,Yo=v1,PC=null,e.actualDuration!==0||(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,Qr(Us,function(){return V0=window.event,Yo===v1&&(Yo=E2),Yf(),null})):(t.callbackNode=null,t.callbackPriority=0),qs=null,bc=Zn(),L!==null&&ET(K,bc,L,Cn),o=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||o){o=P.T,P.T=null,c=Me.p,Me.p=Un,y=Te,Te|=fi;try{CT(t,e,a)}finally{Te=y,Me.p=c,P.T=o}}Fn=JC,Da(),qi(),pg()}}function Da(){if(Fn===JC){Fn=Oc;var t=Rc,e=mp,a=qo,o=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||o){o=P.T,P.T=null;var c=Me.p;Me.p=Un;var f=Te;Te|=fi;try{fp=a,dp=t,ls(),jf(e,t),dp=fp=null,a=V2;var y=ph(t.containerInfo),g=a.focusedElem,E=a.selectionRange;if(y!==g&&g&&g.ownerDocument&&Ev(g.ownerDocument.documentElement,g)){if(E!==null&&uy(g)){var D=E.start,V=E.end;if(V===void 0&&(V=D),"selectionStart"in g)g.selectionStart=D,g.selectionEnd=Math.min(V,g.value.length);else{var L=g.ownerDocument||document,U=L&&L.defaultView||window;if(U.getSelection){var K=U.getSelection(),vt=g.textContent.length,Et=Math.min(E.start,vt),Ke=E.end===void 0?Et:Math.min(E.end,vt);!K.extend&&Et>Ke&&(y=Ke,Ke=Et,Et=y);var ge=Av(g,Et),R=Av(g,Ke);if(ge&&R&&(K.rangeCount!==1||K.anchorNode!==ge.node||K.anchorOffset!==ge.offset||K.focusNode!==R.node||K.focusOffset!==R.offset)){var _=L.createRange();_.setStart(ge.node,ge.offset),K.removeAllRanges(),Et>Ke?(K.addRange(_),K.extend(R.node,R.offset)):(_.setEnd(R.node,R.offset),K.addRange(_))}}}}for(L=[],K=g;K=K.parentNode;)K.nodeType===1&&L.push({element:K,left:K.scrollLeft,top:K.scrollTop});for(typeof g.focus=="function"&&g.focus(),g=0;g<L.length;g++){var B=L[g];B.element.scrollLeft=B.left,B.element.scrollTop=B.top}}N1=!!B2,V2=B2=null}finally{Te=f,Me.p=c,P.T=o}}t.current=e,Fn=KC}}function qi(){if(Fn===KC){Fn=Oc;var t=PC;if(t!==null){bc=Zn();var e=Ls,a=bc;!Pe||a<=e||console.timeStamp(t,e,a,ve,ye,"secondary-light")}t=Rc,e=mp,a=qo;var o=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||o){o=P.T,P.T=null;var c=Me.p;Me.p=Un;var f=Te;Te|=fi;try{fp=a,dp=t,ls(),em(t,e.alternate,e),dp=fp=null}finally{Te=f,Me.p=c,P.T=o}}t=D2,e=IC,Ls=Zn(),t=e===null?t:bc,e=Ls,a=Yo===A2,o=Cn,qs!==null?Ov(t,e,qs,!1,o):!Pe||e<=t||(o?o.run(console.timeStamp.bind(console,a?"Commit Interrupted View Transition":"Commit",t,e,ve,ye,a?"error":"secondary-dark")):console.timeStamp(a?"Commit Interrupted View Transition":"Commit",t,e,ve,ye,a?"error":"secondary-dark")),Fn=$C}}function pg(){if(Fn===FC||Fn===$C){if(Fn===FC){var t=Ls;Ls=Zn();var e=Ls,a=Yo===A2;!Pe||e<=t||console.timeStamp(a?"Interrupted View Transition":"Starting Animation",t,e,ve,ye,a?" error":"secondary-light"),Yo!==A2&&(Yo=kC)}Fn=Oc,Vm(),t=Rc;var o=mp;e=qo,a=WC;var c=o.actualDuration!==0||(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0;c?Fn=b1:(Fn=Oc,mp=Rc=null,yg(t,t.pendingLanes),Cd=0,_0=null);var f=t.pendingLanes;if(f===0&&(zc=null),c||fm(t),f=ma(e),o=o.stateNode,wn&&typeof wn.onCommitFiberRoot=="function")try{var y=(o.current.flags&128)===128;switch(f){case Un:var g=kg;break;case na:g=Hm;break;case ra:g=Us;break;case Mu:g=Lm;break;default:g=Us}wn.onCommitFiberRoot(_s,o,g,y)}catch(L){Ji||(Ji=!0,console.error("React instrumentation encountered an error: %o",L))}if(Ki&&t.memoizedUpdaters.clear(),sg(),a!==null){y=P.T,g=Me.p,Me.p=Un,P.T=null;try{var E=t.onRecoverableError;for(o=0;o<a.length;o++){var D=a[o],V=tb(D.stack);mt(D.source,E,D.value,V)}}finally{P.T=y,Me.p=g}}(qo&3)!==0&&qf(),Ha(t),f=t.pendingLanes,(e&261930)!==0&&(f&42)!==0?(e1=!0,t===M2?U0++:(U0=0,M2=t)):U0=0,c||bu(e,Ls),Yi(0)}}function tb(t){return t={componentStack:t},Object.defineProperty(t,"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.')}}),t}function yg(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,sf(e)))}function qf(){return Da(),qi(),pg(),Yf()}function Yf(){if(Fn!==b1)return!1;var t=Rc,e=x2;x2=0;var a=ma(qo),o=ra>a?ra:a;a=P.T;var c=Me.p;try{Me.p=o,P.T=null;var f=C2;C2=null,o=Rc;var y=qo;if(Fn=Oc,mp=Rc=null,qo=0,(Te&(la|fi))!==da)throw Error("Cannot flush passive effects while already rendering.");Yl(y),z2=!0,S1=!1;var g=0;if(qs=null,g=Xn(),Yo===kC)fy(Ls,g,Y5);else{var E=Ls,D=g,V=Yo===E2;!Pe||D<=E||(Cn?Cn.run(console.timeStamp.bind(console,V?"Waiting for Paint":"Waiting",E,D,ve,ye,"secondary-light")):console.timeStamp(V?"Waiting for Paint":"Waiting",E,D,ve,ye,"secondary-light"))}E=Te,Te|=fi;var L=o.current;ls(),lm(L);var U=o.current;L=D2,ls(),ig(o,U,y,f,L),fm(o),Te=E;var K=Xn();if(U=g,L=Cn,qs!==null?Ov(U,K,qs,!0,L):!Pe||K<=U||(L?L.run(console.timeStamp.bind(console,"Remaining Effects",U,K,ve,ye,"secondary-dark")):console.timeStamp("Remaining Effects",U,K,ve,ye,"secondary-dark")),bu(y,K),Yi(0,!1),S1?o===_0?Cd++:(Cd=0,_0=o):Cd=0,S1=z2=!1,wn&&typeof wn.onPostCommitFiberRoot=="function")try{wn.onPostCommitFiberRoot(_s,o)}catch(Et){Ji||(Ji=!0,console.error("React instrumentation encountered an error: %o",Et))}var vt=o.current.stateNode;return vt.effectDuration=0,vt.passiveEffectDuration=0,!0}finally{Me.p=c,P.T=a,yg(t,e)}}function Ca(t,e,a){e=ya(a,e),jv(e),e=Yh(t.stateNode,e,2),t=zi(t,e,2),t!==null&&(Zo(t,2),Ha(t))}function ee(t,e,a){if(pp=!1,t.tag===3)Ca(t,t,a);else{for(;e!==null;){if(e.tag===3){Ca(e,t,a);return}if(e.tag===1){var o=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(zc===null||!zc.has(o))){t=ya(a,t),jv(t),a=Gh(2),o=zi(e,a,2),o!==null&&(Xh(a,o,e,t),Zo(o,2),Ha(o));return}}e=e.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.
177
+ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+i,$(e,function(h,y){console.error("%s must not return anything besides a function, which is used for clean-up.%s",h,y)},f,d)}a=a.next}while(a!==o)}}catch(h){Gt(e,e.return,h)}}function Ki(t,e,a){try{var i=e.updateQueue,o=i!==null?i.lastEffect:null;if(o!==null){var f=o.next;i=f;do{if((i.tag&t)===t){var d=i.inst,h=d.destroy;h!==void 0&&(d.destroy=void 0,(t&Pa)!==Ev&&(pm=!0),o=e,$(o,mE,o,a,h),(t&Pa)!==Ev&&(pm=!1))}i=i.next}while(i!==f)}}catch(y){Gt(e,e.return,y)}}function ks(t,e){bu(t)?(ll(),ii(e,t),ca()):ii(e,t)}function Id(t,e,a){bu(t)?(ll(),Ki(a,t,e),ca()):Ki(a,t,e)}function xy(t){var e=t.updateQueue;if(e!==null){var a=t.stateNode;t.type.defaultProps||"ref"in t.memoizedProps||rm||(a.props!==t.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.",at(t)||"instance"),a.state!==t.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.",at(t)||"instance"));try{$(t,$o,e,a)}catch(i){Gt(t,t.return,i)}}}function Ws(t,e,a){return t.getSnapshotBeforeUpdate(e,a)}function og(t,e){var a=e.memoizedProps,i=e.memoizedState;e=t.stateNode,t.type.defaultProps||"ref"in t.memoizedProps||rm||(e.props!==t.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.",at(t)||"instance"),e.state!==t.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.",at(t)||"instance"));try{var o=gu(t.type,a),f=$(t,Ws,e,o,i);a=T2,f!==void 0||a.has(t.type)||(a.add(t.type),$(t,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",at(t))})),e.__reactInternalSnapshotBeforeUpdate=f}catch(d){Gt(t,t.return,d)}}function Pd(t,e,a){a.props=gu(t.type,t.memoizedProps),a.state=t.memoizedState,bu(t)?(ll(),$(t,GS,t,e,a),ca()):$(t,GS,t,e,a)}function fg(t){var e=t.ref;if(e!==null){switch(t.tag){case 26:case 27:case 5:var a=t.stateNode;break;case 30:a=t.stateNode;break;default:a=t.stateNode}if(typeof e=="function")if(bu(t))try{ll(),t.refCleanup=e(a)}finally{ca()}else t.refCleanup=e(a);else typeof e=="string"?console.error("String refs are no longer supported."):e.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",at(t)),e.current=a}}function $c(t,e){try{$(t,fg,t)}catch(a){Gt(t,e,a)}}function hn(t,e){var a=t.ref,i=t.refCleanup;if(a!==null)if(typeof i=="function")try{if(bu(t))try{ll(),$(t,i)}finally{ca(t)}else $(t,i)}catch(o){Gt(t,e,o)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof a=="function")try{if(bu(t))try{ll(),$(t,a,null)}finally{ca(t)}else $(t,a,null)}catch(o){Gt(t,e,o)}else a.current=null}function _y(t,e,a,i){var o=t.memoizedProps,f=o.id,d=o.onCommit;o=o.onRender,e=e===null?"mount":"update",pv&&(e="nested-update"),typeof o=="function"&&o(f,e,t.actualDuration,t.treeBaseDuration,t.actualStartTime,a),typeof d=="function"&&d(f,e,i,a)}function sg(t,e,a,i){var o=t.memoizedProps;t=o.id,o=o.onPostCommit,e=e===null?"mount":"update",pv&&(e="nested-update"),typeof o=="function"&&o(t,e,i,a)}function $i(t){var e=t.type,a=t.memoizedProps,i=t.stateNode;try{$(t,Ag,i,e,a,t)}catch(o){Gt(t,t.return,o)}}function th(t,e,a){try{$(t,Sh,t.stateNode,t.type,a,e,t)}catch(i){Gt(t,t.return,i)}}function Hy(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&ec(t.type)||t.tag===4}function eh(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Hy(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&ec(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function of(t,e,a){var i=t.tag;if(i===5||i===6)t=t.stateNode,e?(Dg(a),(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(t,e)):(Dg(a),e=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,e.appendChild(t),a=a._reactRootContainer,a!=null||e.onclick!==null||(e.onclick=nn));else if(i!==4&&(i===27&&ec(t.type)&&(a=t.stateNode,e=null),t=t.child,t!==null))for(of(t,e,a),t=t.sibling;t!==null;)of(t,e,a),t=t.sibling}function Fs(t,e,a){var i=t.tag;if(i===5||i===6)t=t.stateNode,e?a.insertBefore(t,e):a.appendChild(t);else if(i!==4&&(i===27&&ec(t.type)&&(a=t.stateNode),t=t.child,t!==null))for(Fs(t,e,a),t=t.sibling;t!==null;)Fs(t,e,a),t=t.sibling}function Ny(t){for(var e,a=t.return;a!==null;){if(Hy(a)){e=a;break}a=a.return}if(e==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(e.tag){case 27:e=e.stateNode,a=eh(t),Fs(t,a,e);break;case 5:a=e.stateNode,e.flags&32&&(Th(a),e.flags&=-33),e=eh(t),Fs(t,e,a);break;case 3:case 4:e=e.stateNode.containerInfo,a=eh(t),of(t,a,e);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function By(t){var e=t.stateNode,a=t.memoizedProps;try{$(t,Ou,t.type,a,e,t)}catch(i){Gt(t,t.return,i)}}function wy(t,e){return e.tag===31?(e=e.memoizedState,t.memoizedState!==null&&e===null):e.tag===13?(t=t.memoizedState,e=e.memoizedState,t!==null&&t.dehydrated!==null&&(e===null||e.dehydrated===null)):e.tag===3?t.memoizedState.isDehydrated&&(e.flags&256)===0:!1}function b1(t,e){if(t=t.containerInfo,Ub=Wv,t=pd(t),Qm(t)){if("selectionStart"in t)var a={start:t.selectionStart,end:t.selectionEnd};else t:{a=(a=t.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 t}var d=0,h=-1,y=-1,p=0,D=0,O=t,S=null;e:for(;;){for(var N;O!==a||o!==0&&O.nodeType!==3||(h=d+o),O!==f||i!==0&&O.nodeType!==3||(y=d+i),O.nodeType===3&&(d+=O.nodeValue.length),(N=O.firstChild)!==null;)S=O,O=N;for(;;){if(O===t)break e;if(S===a&&++p===o&&(h=d),S===f&&++D===i&&(y=d),(N=O.nextSibling)!==null)break;O=S,S=O.parentNode}O=N}a=h===-1||y===-1?null:{start:h,end:y}}else a=null}a=a||{start:0,end:0}}else a=null;for(Rb={focusedElem:t,selectionRange:a},Wv=!1,ea=e;ea!==null;)if(e=ea,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,ea=t;else for(;ea!==null;){switch(t=e=ea,a=t.alternate,o=t.flags,t.tag){case 0:if((o&4)!==0&&(t=t.updateQueue,t=t!==null?t.events:null,t!==null))for(a=0;a<t.length;a++)o=t[a],o.ref.impl=o.nextImpl;break;case 11:case 15:break;case 1:(o&1024)!==0&&a!==null&&og(t,a);break;case 3:if((o&1024)!==0){if(t=t.stateNode.containerInfo,a=t.nodeType,a===9)Tf(t);else if(a===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Tf(t);break;default:t.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(t=e.sibling,t!==null){t.return=e.return,ea=t;break}ea=e.return}}function lh(t,e,a){var i=Ve(),o=fn(),f=wa(),d=sn(),h=a.flags;switch(a.tag){case 0:case 11:case 15:Qa(t,a),h&4&&cg(a,Wn|Gu);break;case 1:if(Qa(t,a),h&4)if(t=a.stateNode,e===null)a.type.defaultProps||"ref"in a.memoizedProps||rm||(t.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.",at(a)||"instance"),t.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.",at(a)||"instance")),bu(a)?(ll(),$(a,F1,a,t),ca()):$(a,F1,a,t);else{var y=gu(a.type,e.memoizedProps);e=e.memoizedState,a.type.defaultProps||"ref"in a.memoizedProps||rm||(t.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.",at(a)||"instance"),t.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.",at(a)||"instance")),bu(a)?(ll(),$(a,qS,a,t,y,e,t.__reactInternalSnapshotBeforeUpdate),ca()):$(a,qS,a,t,y,e,t.__reactInternalSnapshotBeforeUpdate)}h&64&&xy(a),h&512&&$c(a,a.return);break;case 3:if(e=ou(),Qa(t,a),h&64&&(h=a.updateQueue,h!==null)){if(y=null,a.child!==null)switch(a.child.tag){case 27:case 5:y=a.child.stateNode;break;case 1:y=a.child.stateNode}try{$(a,$o,h,y)}catch(D){Gt(a,a.return,D)}}t.effectDuration+=Lo(e);break;case 27:e===null&&h&4&&By(a);case 26:case 5:if(Qa(t,a),e===null){if(h&4)$i(a);else if(h&64){t=a.type,e=a.memoizedProps,y=a.stateNode;try{$(a,zg,y,t,e,a)}catch(D){Gt(a,a.return,D)}}}h&512&&$c(a,a.return);break;case 12:if(h&4){h=ou(),Qa(t,a),t=a.stateNode,t.effectDuration+=ia(h);try{$(a,_y,a,e,Lf,t.effectDuration)}catch(D){Gt(a,a.return,D)}}else Qa(t,a);break;case 31:Qa(t,a),h&4&&Yy(t,a);break;case 13:Qa(t,a),h&4&&jy(t,a),h&64&&(t=a.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(h=oi.bind(null,a),wg(t,h))));break;case 22:if(h=a.memoizedState!==null||To,!h){e=e!==null&&e.memoizedState!==null||Yl,y=To;var p=Yl;To=h,(Yl=e)&&!p?(Yn(t,a,(a.subtreeFlags&8772)!==0),(a.mode&Lt)!==Mt&&0<=gt&&0<=At&&.05<At-gt&&gd(a,gt,At)):Qa(t,a),To=y,Yl=p}break;case 30:break;default:Qa(t,a)}(a.mode&Lt)!==Mt&&0<=gt&&0<=At&&((ml||.05<ul)&&Cn(a,gt,At,ul,el),a.alternate===null&&a.return!==null&&a.return.alternate!==null&&.05<At-gt&&(wy(a.return.alternate,a.return)||un(a,gt,At,"Mount"))),Ol(i),Ba(o),el=f,ml=d}function dl(t){var e=t.alternate;e!==null&&(t.alternate=null,dl(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Cm(e)),t.stateNode=null,t._debugOwner=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function Ye(t,e,a){for(a=a.child;a!==null;)qy(t,e,a),a=a.sibling}function qy(t,e,a){if(El&&typeof El.onCommitFiberUnmount=="function")try{El.onCommitFiberUnmount(co,a)}catch(p){Uu||(Uu=!0,console.error("React instrumentation encountered an error: %o",p))}var i=Ve(),o=fn(),f=wa(),d=sn();switch(a.tag){case 26:Yl||hn(a,e),Ye(t,e,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(t=a.stateNode,t.parentNode.removeChild(t));break;case 27:Yl||hn(a,e);var h=jl,y=vn;ec(a.type)&&(jl=a.stateNode,vn=!1),Ye(t,e,a),$(a,di,a.stateNode),jl=h,vn=y;break;case 5:Yl||hn(a,e);case 6:if(h=jl,y=vn,jl=null,Ye(t,e,a),jl=h,vn=y,jl!==null)if(vn)try{$(a,Og,jl,a.stateNode)}catch(p){Gt(a,e,p)}else try{$(a,Mg,jl,a.stateNode)}catch(p){Gt(a,e,p)}break;case 18:jl!==null&&(vn?(t=jl,Pc(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,a.stateNode),ao(t)):Pc(jl,a.stateNode));break;case 4:h=jl,y=vn,jl=a.stateNode.containerInfo,vn=!0,Ye(t,e,a),jl=h,vn=y;break;case 0:case 11:case 14:case 15:Ki(Pa,a,e),Yl||Fd(a,e,Wn),Ye(t,e,a);break;case 1:Yl||(hn(a,e),h=a.stateNode,typeof h.componentWillUnmount=="function"&&Pd(a,e,h)),Ye(t,e,a);break;case 21:Ye(t,e,a);break;case 22:Yl=(h=Yl)||a.memoizedState!==null,Ye(t,e,a),Yl=h;break;default:Ye(t,e,a)}(a.mode&Lt)!==Mt&&0<=gt&&0<=At&&(ml||.05<ul)&&Cn(a,gt,At,ul,el),Ol(i),Ba(o),el=f,ml=d}function Yy(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{$(e,Eh,t)}catch(a){Gt(e,e.return,a)}}}function jy(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{$(e,i0,t)}catch(a){Gt(e,e.return,a)}}function rg(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new E2),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new E2),e;default:throw Error("Unexpected Suspense handler tag ("+t.tag+"). This is a bug in React.")}}function ki(t,e){var a=rg(t);e.forEach(function(i){if(!a.has(i)){if(a.add(i),Ru)if(dm!==null&&hm!==null)mf(hm,dm);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var o=Fc.bind(null,t,i);i.then(o,o)}})}function da(t,e){var a=e.deletions;if(a!==null)for(var i=0;i<a.length;i++){var o=t,f=e,d=a[i],h=Ve(),y=f;t:for(;y!==null;){switch(y.tag){case 27:if(ec(y.type)){jl=y.stateNode,vn=!1;break t}break;case 5:jl=y.stateNode,vn=!1;break t;case 3:case 4:jl=y.stateNode.containerInfo,vn=!0;break t}y=y.return}if(jl===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");qy(o,f,d),jl=null,vn=!1,(d.mode&Lt)!==Mt&&0<=gt&&0<=At&&.05<At-gt&&un(d,gt,At,"Unmount"),Ol(h),o=d,f=o.alternate,f!==null&&(f.return=null),o.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)Is(e,t),e=e.sibling}function Is(t,e){var a=Ve(),i=fn(),o=wa(),f=sn(),d=t.alternate,h=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:da(e,t),ha(t),h&4&&(Ki(Pa|Gu,t,t.return),ii(Pa|Gu,t),Fd(t,t.return,Wn|Gu));break;case 1:if(da(e,t),ha(t),h&512&&(Yl||d===null||hn(d,d.return)),h&64&&To&&(h=t.updateQueue,h!==null&&(d=h.callbacks,d!==null))){var y=h.shared.hiddenCallbacks;h.shared.hiddenCallbacks=y===null?d:y.concat(d)}break;case 26:if(y=vi,da(e,t),ha(t),h&512&&(Yl||d===null||hn(d,d.return)),h&4){var p=d!==null?d.memoizedState:null;if(h=t.memoizedState,d===null)if(h===null)if(t.stateNode===null){t:{h=t.type,d=t.memoizedProps,y=y.ownerDocument||y;e:switch(h){case"title":p=y.getElementsByTagName("title")[0],(!p||p[wf]||p[Ze]||p.namespaceURI===Xt||p.hasAttribute("itemprop"))&&(p=y.createElement(h),y.head.insertBefore(p,y.querySelector("head > title"))),Le(p,h,d),p[Ze]=t,ol(p),h=p;break t;case"link":var D=zf("link","href",y).get(h+(d.href||""));if(D){for(var O=0;O<D.length;O++)if(p=D[O],p.getAttribute("href")===(d.href==null||d.href===""?null:d.href)&&p.getAttribute("rel")===(d.rel==null?null:d.rel)&&p.getAttribute("title")===(d.title==null?null:d.title)&&p.getAttribute("crossorigin")===(d.crossOrigin==null?null:d.crossOrigin)){D.splice(O,1);break e}}p=y.createElement(h),Le(p,h,d),y.head.appendChild(p);break;case"meta":if(D=zf("meta","content",y).get(h+(d.content||""))){for(O=0;O<D.length;O++)if(p=D[O],ze(d.content,"content"),p.getAttribute("content")===(d.content==null?null:""+d.content)&&p.getAttribute("name")===(d.name==null?null:d.name)&&p.getAttribute("property")===(d.property==null?null:d.property)&&p.getAttribute("http-equiv")===(d.httpEquiv==null?null:d.httpEquiv)&&p.getAttribute("charset")===(d.charSet==null?null:d.charSet)){D.splice(O,1);break e}}p=y.createElement(h),Le(p,h,d),y.head.appendChild(p);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+h+'". This is a bug in React.')}p[Ze]=t,ol(p),h=p}t.stateNode=h}else Gg(y,t.type,t.stateNode);else t.stateNode=Dh(y,h,t.memoizedProps);else p!==h?(p===null?d.stateNode!==null&&(d=d.stateNode,d.parentNode.removeChild(d)):p.count--,h===null?Gg(y,t.type,t.stateNode):Dh(y,h,t.memoizedProps)):h===null&&t.stateNode!==null&&th(t,t.memoizedProps,d.memoizedProps)}break;case 27:da(e,t),ha(t),h&512&&(Yl||d===null||hn(d,d.return)),d!==null&&h&4&&th(t,t.memoizedProps,d.memoizedProps);break;case 5:if(da(e,t),ha(t),h&512&&(Yl||d===null||hn(d,d.return)),t.flags&32){y=t.stateNode;try{$(t,Th,y)}catch(nt){Gt(t,t.return,nt)}}h&4&&t.stateNode!=null&&(y=t.memoizedProps,th(t,y,d!==null?d.memoizedProps:y)),h&1024&&(sb=!0,t.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(da(e,t),ha(t),h&4){if(t.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.");h=t.memoizedProps,d=d!==null?d.memoizedProps:h,y=t.stateNode;try{$(t,S1,y,d,h)}catch(nt){Gt(t,t.return,nt)}}break;case 3:if(y=ou(),Kv=null,p=vi,vi=Ah(e.containerInfo),da(e,t),vi=p,ha(t),h&4&&d!==null&&d.memoizedState.isDehydrated)try{$(t,u0,e.containerInfo)}catch(nt){Gt(t,t.return,nt)}sb&&(sb=!1,dg(t)),e.effectDuration+=Lo(y);break;case 4:h=vi,vi=Ah(t.stateNode.containerInfo),da(e,t),ha(t),vi=h;break;case 12:h=ou(),da(e,t),ha(t),t.stateNode.effectDuration+=ia(h);break;case 31:da(e,t),ha(t),h&4&&(h=t.updateQueue,h!==null&&(t.updateQueue=null,ki(t,h)));break;case 13:da(e,t),ha(t),t.child.flags&8192&&t.memoizedState!==null!=(d!==null&&d.memoizedState!==null)&&(_v=Hl()),h&4&&(h=t.updateQueue,h!==null&&(t.updateQueue=null,ki(t,h)));break;case 22:y=t.memoizedState!==null;var S=d!==null&&d.memoizedState!==null,N=To,F=Yl;if(To=N||y,Yl=F||S,da(e,t),Yl=F,To=N,S&&!y&&!N&&!F&&(t.mode&Lt)!==Mt&&0<=gt&&0<=At&&.05<At-gt&&gd(t,gt,At),ha(t),h&8192)t:for(e=t.stateNode,e._visibility=y?e._visibility&~X0:e._visibility|X0,!y||d===null||S||To||Yl||(Wi(t),(t.mode&Lt)!==Mt&&0<=gt&&0<=At&&.05<At-gt&&un(t,gt,At,"Disconnect")),d=null,e=t;;){if(e.tag===5||e.tag===26){if(d===null){S=d=e;try{p=S.stateNode,y?$(S,Ug,p):$(S,_g,S.stateNode,S.memoizedProps)}catch(nt){Gt(S,S.return,nt)}}}else if(e.tag===6){if(d===null){S=e;try{D=S.stateNode,y?$(S,Rg,D):$(S,Hg,D,S.memoizedProps)}catch(nt){Gt(S,S.return,nt)}}}else if(e.tag===18){if(d===null){S=e;try{O=S.stateNode,y?$(S,Cg,O):$(S,xg,S.stateNode)}catch(nt){Gt(S,S.return,nt)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;d===e&&(d=null),e=e.return}d===e&&(d=null),e.sibling.return=e.return,e=e.sibling}h&4&&(h=t.updateQueue,h!==null&&(d=h.retryQueue,d!==null&&(h.retryQueue=null,ki(t,d))));break;case 19:da(e,t),ha(t),h&4&&(h=t.updateQueue,h!==null&&(t.updateQueue=null,ki(t,h)));break;case 30:break;case 21:break;default:da(e,t),ha(t)}(t.mode&Lt)!==Mt&&0<=gt&&0<=At&&((ml||.05<ul)&&Cn(t,gt,At,ul,el),t.alternate===null&&t.return!==null&&t.return.alternate!==null&&.05<At-gt&&(wy(t.return.alternate,t.return)||un(t,gt,At,"Mount"))),Ol(a),Ba(i),el=o,ml=f}function ha(t){var e=t.flags;if(e&2){try{$(t,Ny,t)}catch(a){Gt(t,t.return,a)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function dg(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;dg(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function Qa(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)lh(t,e.alternate,e),e=e.sibling}function ah(t){var e=Ve(),a=fn(),i=wa(),o=sn();switch(t.tag){case 0:case 11:case 14:case 15:Fd(t,t.return,Wn),Wi(t);break;case 1:hn(t,t.return);var f=t.stateNode;typeof f.componentWillUnmount=="function"&&Pd(t,t.return,f),Wi(t);break;case 27:$(t,di,t.stateNode);case 26:case 5:hn(t,t.return),Wi(t);break;case 22:t.memoizedState===null&&Wi(t);break;case 30:Wi(t);break;default:Wi(t)}(t.mode&Lt)!==Mt&&0<=gt&&0<=At&&(ml||.05<ul)&&Cn(t,gt,At,ul,el),Ol(e),Ba(a),el=i,ml=o}function Wi(t){for(t=t.child;t!==null;)ah(t),t=t.sibling}function Gy(t,e,a,i){var o=Ve(),f=fn(),d=wa(),h=sn(),y=a.flags;switch(a.tag){case 0:case 11:case 15:Yn(t,a,i),cg(a,Wn);break;case 1:if(Yn(t,a,i),e=a.stateNode,typeof e.componentDidMount=="function"&&$(a,F1,a,e),e=a.updateQueue,e!==null){t=a.stateNode;try{$(a,cy,e,t)}catch(p){Gt(a,a.return,p)}}i&&y&64&&xy(a),$c(a,a.return);break;case 27:By(a);case 26:case 5:Yn(t,a,i),i&&e===null&&y&4&&$i(a),$c(a,a.return);break;case 12:if(i&&y&4){y=ou(),Yn(t,a,i),i=a.stateNode,i.effectDuration+=ia(y);try{$(a,_y,a,e,Lf,i.effectDuration)}catch(p){Gt(a,a.return,p)}}else Yn(t,a,i);break;case 31:Yn(t,a,i),i&&y&4&&Yy(t,a);break;case 13:Yn(t,a,i),i&&y&4&&jy(t,a);break;case 22:a.memoizedState===null&&Yn(t,a,i),$c(a,a.return);break;case 30:break;default:Yn(t,a,i)}(a.mode&Lt)!==Mt&&0<=gt&&0<=At&&(ml||.05<ul)&&Cn(a,gt,At,ul,el),Ol(o),Ba(f),el=d,ml=h}function Yn(t,e,a){for(a=a&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;)Gy(t,e.alternate,e,a),e=e.sibling}function Ps(t,e){var a=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==a&&(t!=null&&xc(t),a!=null&&Ds(a))}function tr(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(xc(e),t!=null&&Ds(t))}function La(t,e,a,i,o){if(e.subtreeFlags&10256||e.actualDuration!==0&&(e.alternate===null||e.alternate.child!==e.child))for(e=e.child;e!==null;){var f=e.sibling;Xy(t,e,a,i,f!==null?f.actualStartTime:o),e=f}}function Xy(t,e,a,i,o){var f=Ve(),d=fn(),h=wa(),y=sn(),p=Gf,D=e.flags;switch(e.tag){case 0:case 11:case 15:(e.mode&Lt)!==Mt&&0<e.actualStartTime&&(e.flags&1)!==0&&vd(e,e.actualStartTime,o,Kl,a),La(t,e,a,i,o),D&2048&&ks(e,tn|Gu);break;case 1:(e.mode&Lt)!==Mt&&0<e.actualStartTime&&((e.flags&128)!==0?Zm(e,e.actualStartTime,o,[]):(e.flags&1)!==0&&vd(e,e.actualStartTime,o,Kl,a)),La(t,e,a,i,o);break;case 3:var O=ou(),S=Kl;Kl=e.alternate!==null&&e.alternate.memoizedState.isDehydrated&&(e.flags&256)===0,La(t,e,a,i,o),Kl=S,D&2048&&(a=null,e.alternate!==null&&(a=e.alternate.memoizedState.cache),i=e.memoizedState.cache,i!==a&&(xc(i),a!=null&&Ds(a))),t.passiveEffectDuration+=Lo(O);break;case 12:if(D&2048){D=ou(),La(t,e,a,i,o),t=e.stateNode,t.passiveEffectDuration+=ia(D);try{$(e,sg,e,e.alternate,Lf,t.passiveEffectDuration)}catch(N){Gt(e,e.return,N)}}else La(t,e,a,i,o);break;case 31:D=Kl,O=e.alternate!==null?e.alternate.memoizedState:null,S=e.memoizedState,O!==null&&S===null?(S=e.deletions,S!==null&&0<S.length&&S[0].tag===18?(Kl=!1,O=O.hydrationErrors,O!==null&&Zm(e,e.actualStartTime,o,O)):Kl=!0):Kl=!1,La(t,e,a,i,o),Kl=D;break;case 13:D=Kl,O=e.alternate!==null?e.alternate.memoizedState:null,S=e.memoizedState,O===null||O.dehydrated===null||S!==null&&S.dehydrated!==null?Kl=!1:(S=e.deletions,S!==null&&0<S.length&&S[0].tag===18?(Kl=!1,O=O.hydrationErrors,O!==null&&Zm(e,e.actualStartTime,o,O)):Kl=!0),La(t,e,a,i,o),Kl=D;break;case 23:break;case 22:S=e.stateNode,O=e.alternate,e.memoizedState!==null?S._visibility&so?La(t,e,a,i,o):kc(t,e,a,i,o):S._visibility&so?La(t,e,a,i,o):(S._visibility|=so,Fi(t,e,a,i,(e.subtreeFlags&10256)!==0||e.actualDuration!==0&&(e.alternate===null||e.alternate.child!==e.child),o),(e.mode&Lt)===Mt||Kl||(t=e.actualStartTime,0<=t&&.05<o-t&&gd(e,t,o),0<=gt&&0<=At&&.05<At-gt&&gd(e,gt,At))),D&2048&&Ps(O,e);break;case 24:La(t,e,a,i,o),D&2048&&tr(e.alternate,e);break;default:La(t,e,a,i,o)}(e.mode&Lt)!==Mt&&((t=!Kl&&e.alternate===null&&e.return!==null&&e.return.alternate!==null)&&(a=e.actualStartTime,0<=a&&.05<o-a&&un(e,a,o,"Mount")),0<=gt&&0<=At&&((ml||.05<ul)&&Cn(e,gt,At,ul,el),t&&.05<At-gt&&un(e,gt,At,"Mount"))),Ol(f),Ba(d),el=h,ml=y,Gf=p}function Fi(t,e,a,i,o,f){for(o=o&&((e.subtreeFlags&10256)!==0||e.actualDuration!==0&&(e.alternate===null||e.alternate.child!==e.child)),e=e.child;e!==null;){var d=e.sibling;er(t,e,a,i,o,d!==null?d.actualStartTime:f),e=d}}function er(t,e,a,i,o,f){var d=Ve(),h=fn(),y=wa(),p=sn(),D=Gf;o&&(e.mode&Lt)!==Mt&&0<e.actualStartTime&&(e.flags&1)!==0&&vd(e,e.actualStartTime,f,Kl,a);var O=e.flags;switch(e.tag){case 0:case 11:case 15:Fi(t,e,a,i,o,f),ks(e,tn);break;case 23:break;case 22:var S=e.stateNode;e.memoizedState!==null?S._visibility&so?Fi(t,e,a,i,o,f):kc(t,e,a,i,f):(S._visibility|=so,Fi(t,e,a,i,o,f)),o&&O&2048&&Ps(e.alternate,e);break;case 24:Fi(t,e,a,i,o,f),o&&O&2048&&tr(e.alternate,e);break;default:Fi(t,e,a,i,o,f)}(e.mode&Lt)!==Mt&&0<=gt&&0<=At&&(ml||.05<ul)&&Cn(e,gt,At,ul,el),Ol(d),Ba(h),el=y,ml=p,Gf=D}function kc(t,e,a,i,o){if(e.subtreeFlags&10256||e.actualDuration!==0&&(e.alternate===null||e.alternate.child!==e.child))for(var f=e.child;f!==null;){e=f.sibling;var d=t,h=a,y=i,p=e!==null?e.actualStartTime:o,D=Gf;(f.mode&Lt)!==Mt&&0<f.actualStartTime&&(f.flags&1)!==0&&vd(f,f.actualStartTime,p,Kl,h);var O=f.flags;switch(f.tag){case 22:kc(d,f,h,y,p),O&2048&&Ps(f.alternate,f);break;case 24:kc(d,f,h,y,p),O&2048&&tr(f.alternate,f);break;default:kc(d,f,h,y,p)}Gf=D,f=e}}function Wc(t,e,a){if(t.subtreeFlags&cp)for(t=t.child;t!==null;)nh(t,e,a),t=t.sibling}function nh(t,e,a){switch(t.tag){case 26:Wc(t,e,a),t.flags&cp&&t.memoizedState!==null&&r0(a,vi,t.memoizedState,t.memoizedProps);break;case 5:Wc(t,e,a);break;case 3:case 4:var i=vi;vi=Ah(t.stateNode.containerInfo),Wc(t,e,a),vi=i;break;case 22:t.memoizedState===null&&(i=t.alternate,i!==null&&i.memoizedState!==null?(i=cp,cp=16777216,Wc(t,e,a),cp=i):Wc(t,e,a));break;default:Wc(t,e,a)}}function Vy(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function Za(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var i=e[a],o=Ve();ea=i,Su(i,t),(i.mode&Lt)!==Mt&&0<=gt&&0<=At&&.05<At-gt&&un(i,gt,At,"Unmount"),Ol(o)}Vy(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)uh(t),t=t.sibling}function uh(t){var e=Ve(),a=fn(),i=wa(),o=sn();switch(t.tag){case 0:case 11:case 15:Za(t),t.flags&2048&&Id(t,t.return,tn|Gu);break;case 3:var f=ou();Za(t),t.stateNode.passiveEffectDuration+=Lo(f);break;case 12:f=ou(),Za(t),t.stateNode.passiveEffectDuration+=ia(f);break;case 22:f=t.stateNode,t.memoizedState!==null&&f._visibility&so&&(t.return===null||t.return.tag!==13)?(f._visibility&=~so,ih(t),(t.mode&Lt)!==Mt&&0<=gt&&0<=At&&.05<At-gt&&un(t,gt,At,"Disconnect")):Za(t);break;default:Za(t)}(t.mode&Lt)!==Mt&&0<=gt&&0<=At&&(ml||.05<ul)&&Cn(t,gt,At,ul,el),Ol(e),Ba(a),ml=o,el=i}function ih(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var i=e[a],o=Ve();ea=i,Su(i,t),(i.mode&Lt)!==Mt&&0<=gt&&0<=At&&.05<At-gt&&un(i,gt,At,"Unmount"),Ol(o)}Vy(t)}for(t=t.child;t!==null;)Qy(t),t=t.sibling}function Qy(t){var e=Ve(),a=fn(),i=wa(),o=sn();switch(t.tag){case 0:case 11:case 15:Id(t,t.return,tn),ih(t);break;case 22:var f=t.stateNode;f._visibility&so&&(f._visibility&=~so,ih(t));break;default:ih(t)}(t.mode&Lt)!==Mt&&0<=gt&&0<=At&&(ml||.05<ul)&&Cn(t,gt,At,ul,el),Ol(e),Ba(a),ml=o,el=i}function Su(t,e){for(;ea!==null;){var a=ea,i=a,o=e,f=Ve(),d=fn(),h=wa(),y=sn();switch(i.tag){case 0:case 11:case 15:Id(i,o,tn);break;case 23:case 22:i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(o=i.memoizedState.cachePool.pool,o!=null&&xc(o));break;case 24:Ds(i.memoizedState.cache)}if((i.mode&Lt)!==Mt&&0<=gt&&0<=At&&(ml||.05<ul)&&Cn(i,gt,At,ul,el),Ol(f),Ba(d),ml=y,el=h,i=a.child,i!==null)i.return=a,ea=i;else t:for(a=t;ea!==null;){if(i=ea,f=i.sibling,d=i.return,dl(i),i===a){ea=null;break t}if(f!==null){f.return=d,ea=f;break t}ea=d}}}function Ly(){bE.forEach(function(t){return t()})}function Zy(){var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return t||Y.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),t}function Fl(t){if((se&$l)!==la&&Jt!==0)return Jt&-Jt;var e=Y.T;return e!==null?(e._updatedFibers||(e._updatedFibers=new Set),e._updatedFibers.add(t),e0()):Rp()}function ff(){if(Sn===0)if((Jt&536870912)===0||ee){var t=zr;zr<<=1,(zr&3932160)===0&&(zr=262144),Sn=t}else Sn=536870912;return t=kn.current,t!==null&&(t.flags|=32),Sn}function Ot(t,e,a){if(pm&&console.error("useInsertionEffect must not schedule updates."),Tb&&(wv=!0),(t===qe&&(Re===Gr||Re===Xr)||t.cancelPendingCommit!==null)&&(Tu(t,0),mn(t,Jt,Sn,!1)),zi(t,a),(se&$l)!==la&&t===qe){if(Cu)switch(e.tag){case 0:case 11:case 15:t=kt&&at(kt)||"Unknown",q2.has(t)||(q2.add(t),e=at(e)||"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",e,t,t));break;case 1:w2||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),w2=!0)}}else Ru&&Ea(t,e,a),ur(e),t===qe&&((se&$l)===la&&(If|=a),il===kf&&mn(t,Jt,Sn,!1)),Ma(t)}function hg(t,e,a){if((se&($l|Fn))!==la)throw Error("Should not already be working.");if(Jt!==0&&kt!==null){var i=kt,o=Hl();switch(US){case sp:case Gr:var f=K0;Je&&((i=i._debugTask)?i.run(console.timeStamp.bind(console,"Suspended",f,o,_u,void 0,"primary-light")):console.timeStamp("Suspended",f,o,_u,void 0,"primary-light"));break;case Xr:f=K0,Je&&((i=i._debugTask)?i.run(console.timeStamp.bind(console,"Action",f,o,_u,void 0,"primary-light")):console.timeStamp("Action",f,o,_u,void 0,"primary-light"));break;default:Je&&(i=o-K0,3>i||console.timeStamp("Blocked",K0,o,_u,void 0,5>i?"primary-light":10>i?"primary":100>i?"primary-dark":"error"))}}f=(a=!a&&(e&127)===0&&(e&t.expiredLanes)===0||Vl(t,e))?ci(t,e):df(t,e,!0);var d=a;do{if(f===Eo){mm&&!a&&mn(t,e,0,!1),e=Re,K0=Bl(),US=e;break}else{if(i=Hl(),o=t.current.alternate,d&&!yg(o)){On(e),o=ta,f=i,!Je||f<=o||(vl?vl.run(console.timeStamp.bind(console,"Teared Render",o,f,ce,ae,"error")):console.timeStamp("Teared Render",o,f,ce,ae,"error")),Ii(e,i),f=df(t,e,!1),d=!1;continue}if(f===jr){if(d=e,t.errorRecoveryDisabledLanes&d)var h=0;else h=t.pendingLanes&-536870913,h=h!==0?h:h&536870912?536870912:0;if(h!==0){On(e),Jm(ta,i,e,vl),Ii(e,i),e=h;t:{i=t,f=d,d=dp;var y=i.current.memoizedState.isDehydrated;if(y&&(Tu(i,h).flags|=256),h=df(i,h,!1),h!==jr){if(hb&&!y){i.errorRecoveryDisabledLanes|=f,If|=f,f=kf;break t}i=en,en=d,i!==null&&(en===null?en=i:en.push.apply(en,i))}f=h}if(d=!1,f!==jr)continue;i=Hl()}}if(f===fp){On(e),Jm(ta,i,e,vl),Ii(e,i),Tu(t,0),mn(t,e,0,!0);break}t:{switch(a=t,f){case Eo:case fp:throw Error("Root did not complete. This is a bug in React.");case kf:if((e&4194048)!==e)break;case Cv:On(e),Qp(ta,i,e,vl),Ii(e,i),o=e,(o&127)!==0?hv=i:(o&4194048)!==0&&(mv=i),mn(a,e,Sn,!Wf);break t;case jr:en=null;break;case Ov:case A2:break;default:throw Error("Unknown root exit status.")}if(Y.actQueue!==null)Ne(a,o,e,en,hp,xv,Sn,If,Vr,f,null,null,ta,i);else{if((e&62914560)===e&&(d=_v+M2-Hl(),10<d)){if(mn(a,e,Sn,!Wf),Ir(a,0,!0)!==0)break t;bi=e,a.timeoutHandle=Z2(mg.bind(null,a,o,en,hp,xv,e,Sn,If,Vr,Wf,f,"Throttled",ta,i),d);break t}mg(a,o,en,hp,xv,e,Sn,If,Vr,Wf,f,null,ta,i)}}}break}while(!0);Ma(t)}function mg(t,e,a,i,o,f,d,h,y,p,D,O,S,N){t.timeoutHandle=Kr;var F=e.subtreeFlags,nt=null;if((F&8192||(F&16785408)===16785408)&&(nt={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:nn},nh(e,f,nt),F=(f&62914560)===f?_v-Hl():(f&4194048)===f?D2-Hl():0,F=Mh(nt,F),F!==null)){bi=f,t.cancelPendingCommit=F(Ne.bind(null,t,e,f,a,i,o,d,h,y,D,nt,nt.waitingForViewTransition?"Waiting for the previous Animation":0<nt.count?0<nt.imgCount?"Suspended on CSS and Images":"Suspended on CSS":nt.imgCount===1?"Suspended on an Image":0<nt.imgCount?"Suspended on Images":null,S,N)),mn(t,f,d,!p);return}Ne(t,e,f,a,i,o,d,h,y,D,nt,O,S,N)}function yg(t){for(var e=t;;){var a=e.tag;if((a===0||a===11||a===15)&&e.flags&16384&&(a=e.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(!Fa(f(),o))return!1}catch{return!1}}if(a=e.child,e.subtreeFlags&16384&&a!==null)a.return=e,e=a;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function mn(t,e,a,i){e&=~mb,e&=~If,t.suspendedLanes|=e,t.pingedLanes&=~e,i&&(t.warmLanes|=e),i=t.expirationTimes;for(var o=e;0<o;){var f=31-Zl(o),d=1<<f;i[f]=-1,o&=~d}a!==0&&Om(t,a,e)}function Ja(){return(se&($l|Fn))===la?(Au(0),!1):!0}function ch(){if(kt!==null){if(Re===bn)var t=kt.return;else t=kt,Vo(),qi(t),um=null,lp=0,t=kt;for(;t!==null;)Ry(t.alternate,t),t=t.return;kt=null}}function Ii(t,e){(t&127)!==0&&(Rr=e),(t&4194048)!==0&&(po=e),(t&62914560)!==0&&(OS=e),(t&2080374784)!==0&&(CS=e)}function Tu(t,e){Je&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",ae,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",ae,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",ae,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",ae,"primary-light"));var a=ta;if(ta=Bl(),Jt!==0&&0<a){if(On(Jt),il===Ov||il===kf)Qp(a,ta,e,vl);else{var i=ta,o=vl;if(Je&&!(i<=a)){var f=(e&738197653)===e?"tertiary-dark":"primary-dark",d=(e&536870912)===e?"Prewarm":(e&201326741)===e?"Interrupted Hydration":"Interrupted Render";o?o.run(console.timeStamp.bind(console,d,a,i,ce,ae,f)):console.timeStamp(d,a,i,ce,ae,f)}}Ii(Jt,ta)}if(a=vl,vl=null,(e&127)!==0){vl=L0,o=0<=fc&&fc<Rr?Rr:fc,i=0<=xr&&xr<Rr?Rr:xr,f=0<=i?i:0<=o?o:ta,0<=hv?(On(2),Lp(hv,f,e,a)):yv&127,a=o;var h=i,y=Z0,p=0<lm,D=Zf===Q0,O=Zf===dv;if(o=ta,i=L0,f=J1,d=K1,Je){if(ce="Blocking",0<a?a>o&&(a=o):a=o,0<h?h>a&&(h=a):h=a,y!==null&&a>h){var S=p?"secondary-light":"warning";i?i.run(console.timeStamp.bind(console,p?"Consecutive":"Event: "+y,h,a,ce,ae,S)):console.timeStamp(p?"Consecutive":"Event: "+y,h,a,ce,ae,S)}o>a&&(h=D?"error":(e&738197653)===e?"tertiary-light":"primary-light",D=O?"Promise Resolved":D?"Cascading Update":5<o-a?"Update Blocked":"Update",O=[],d!=null&&O.push(["Component name",d]),f!=null&&O.push(["Method name",f]),a={start:a,end:o,detail:{devtools:{properties:O,track:ce,trackGroup:ae,color:h}}},i?i.run(performance.measure.bind(performance,D,a)):performance.measure(D,a))}fc=-1.1,Zf=0,K1=J1=null,hv=-1.1,lm=xr,xr=-1.1,Rr=Bl()}if((e&4194048)!==0&&(vl=J0,o=0<=go&&go<po?po:go,a=0<=Yu&&Yu<po?po:Yu,i=0<=Jf&&Jf<po?po:Jf,f=0<=i?i:0<=a?a:ta,0<=mv?(On(256),Lp(mv,f,e,vl)):yv&4194048,O=i,h=_r,y=0<Kf,p=$1===dv,f=ta,i=J0,d=DS,D=MS,Je&&(ce="Transition",0<a?a>f&&(a=f):a=f,0<o?o>a&&(o=a):o=a,0<O?O>o&&(O=o):O=o,o>O&&h!==null&&(S=y?"secondary-light":"warning",i?i.run(console.timeStamp.bind(console,y?"Consecutive":"Event: "+h,O,o,ce,ae,S)):console.timeStamp(y?"Consecutive":"Event: "+h,O,o,ce,ae,S)),a>o&&(i?i.run(console.timeStamp.bind(console,"Action",o,a,ce,ae,"primary-dark")):console.timeStamp("Action",o,a,ce,ae,"primary-dark")),f>a&&(o=p?"Promise Resolved":5<f-a?"Update Blocked":"Update",O=[],D!=null&&O.push(["Component name",D]),d!=null&&O.push(["Method name",d]),a={start:a,end:f,detail:{devtools:{properties:O,track:ce,trackGroup:ae,color:"primary-light"}}},i?i.run(performance.measure.bind(performance,o,a)):performance.measure(o,a))),Yu=go=-1.1,$1=0,mv=-1.1,Kf=Jf,Jf=-1.1,po=Bl()),(e&62914560)!==0&&(yv&62914560)!==0&&(On(4194304),Km(OS,ta)),(e&2080374784)!==0&&(yv&2080374784)!==0&&(On(268435456),Km(CS,ta)),a=t.timeoutHandle,a!==Kr&&(t.timeoutHandle=Kr,_E(a)),a=t.cancelPendingCommit,a!==null&&(t.cancelPendingCommit=null,a()),bi=0,ch(),qe=t,kt=a=iu(t.current,null),Jt=e,Re=bn,In=null,Wf=!1,mm=Vl(t,e),hb=!1,il=Eo,Vr=Sn=mb=If=Ff=0,en=dp=null,xv=!1,(e&8)!==0&&(e|=e&32),i=t.entangledLanes,i!==0)for(t=t.entanglements,i&=e;0<i;)o=31-Zl(i),f=1<<o,e|=t[o],i&=~f;return rc=e,bd(),t=bS(),1e3<t-vS&&(Y.recentlyCreatedOwnerStacks=0,vS=t),pi.discardPendingWarnings(),a}function jn(t,e){Rt=null,Y.H=ip,Y.getCurrentStack=null,Cu=!1,Ra=null,e===nm||e===bv?(e=Nc(),Re=sp):e===I1?(e=Nc(),Re=z2):Re=e===ob?db:e!==null&&typeof e=="object"&&typeof e.then=="function"?rp:Uv,In=e;var a=kt;a===null?(il=fp,Ls(t,ua(e,t.current))):a.mode&Lt&&Md(a)}function Jy(){var t=kn.current;return t===null?!0:(Jt&4194048)===Jt?ju===null:(Jt&62914560)===Jt||(Jt&536870912)!==0?t===ju:!1}function oh(){var t=Y.H;return Y.H=ip,t===null?ip:t}function Ky(){var t=Y.A;return Y.A=vE,t}function sf(t){vl===null&&(vl=t._debugTask==null?null:t._debugTask)}function rf(){il=kf,Wf||(Jt&4194048)!==Jt&&kn.current!==null||(mm=!0),(Ff&134217727)===0&&(If&134217727)===0||qe===null||mn(qe,Jt,Sn,!1)}function df(t,e,a){var i=se;se|=$l;var o=oh(),f=Ky();if(qe!==t||Jt!==e){if(Ru){var d=t.memoizedUpdaters;0<d.size&&(mf(t,Jt),d.clear()),Lu(t,e)}hp=null,Tu(t,e)}e=!1,d=il;t:do try{if(Re!==bn&&kt!==null){var h=kt,y=In;switch(Re){case db:ch(),d=Cv;break t;case sp:case Gr:case Xr:case rp:kn.current===null&&(e=!0);var p=Re;if(Re=bn,In=null,hf(t,h,y,p),a&&mm){d=Eo;break t}break;default:p=Re,Re=bn,In=null,hf(t,h,y,p)}}$y(),d=il;break}catch(D){jn(t,D)}while(!0);return e&&t.shellSuspendCounter++,Vo(),se=i,Y.H=o,Y.A=f,kt===null&&(qe=null,Jt=0,bd()),d}function $y(){for(;kt!==null;)fh(kt)}function ci(t,e){var a=se;se|=$l;var i=oh(),o=Ky();if(qe!==t||Jt!==e){if(Ru){var f=t.memoizedUpdaters;0<f.size&&(mf(t,Jt),f.clear()),Lu(t,e)}hp=null,Hv=Hl()+O2,Tu(t,e)}else mm=Vl(t,e);t:do try{if(Re!==bn&&kt!==null)e:switch(e=kt,f=In,Re){case Uv:Re=bn,In=null,hf(t,e,f,Uv);break;case Gr:case Xr:if(uy(f)){Re=bn,In=null,ky(e);break}e=function(){Re!==Gr&&Re!==Xr||qe!==t||(Re=Rv),Ma(t)},f.then(e,e);break t;case sp:Re=Rv;break t;case z2:Re=rb;break t;case Rv:uy(f)?(Re=bn,In=null,ky(e)):(Re=bn,In=null,hf(t,e,f,Rv));break;case rb:var d=null;switch(kt.tag){case 26:d=kt.memoizedState;case 5:case 27:var h=kt;if(d?Ft(d):h.stateNode.complete){Re=bn,In=null;var y=h.sibling;if(y!==null)kt=y;else{var p=h.return;p!==null?(kt=p,lr(p)):kt=null}break e}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Re=bn,In=null,hf(t,e,f,rb);break;case rp:Re=bn,In=null,hf(t,e,f,rp);break;case db:ch(),il=Cv;break t;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}Y.actQueue!==null?$y():pl();break}catch(D){jn(t,D)}while(!0);return Vo(),Y.H=i,Y.A=o,se=a,kt!==null?Eo:(qe=null,Jt=0,bd(),il)}function pl(){for(;kt!==null&&!qh();)fh(kt)}function fh(t){var e=t.alternate;(t.mode&Lt)!==Mt?(Wu(t),e=$(t,$s,e,t,rc),Md(t)):e=$(t,$s,e,t,rc),t.memoizedProps=t.pendingProps,e===null?lr(t):kt=e}function ky(t){var e=$(t,_l,t);t.memoizedProps=t.pendingProps,e===null?lr(t):kt=e}function _l(t){var e=t.alternate,a=(t.mode&Lt)!==Mt;switch(a&&Wu(t),t.tag){case 15:case 0:e=zy(e,t,t.pendingProps,t.type,void 0,Jt);break;case 11:e=zy(e,t,t.pendingProps,t.type.render,t.ref,Jt);break;case 5:qi(t);default:Ry(e,t),t=kt=Fm(t,rc),e=$s(e,t,rc)}return a&&Md(t),e}function hf(t,e,a,i){Vo(),qi(e),um=null,lp=0;var o=e.return;try{if(gy(t,o,e,a,Jt)){il=fp,Ls(t,ua(a,t.current)),kt=null;return}}catch(f){if(o!==null)throw kt=o,f;il=fp,Ls(t,ua(a,t.current)),kt=null;return}e.flags&32768?(ee||i===Uv?t=!0:mm||(Jt&536870912)!==0?t=!1:(Wf=t=!0,(i===Gr||i===Xr||i===sp||i===rp)&&(i=kn.current,i!==null&&i.tag===13&&(i.flags|=16384))),Wy(e,t)):lr(e)}function lr(t){var e=t;do{if((e.flags&32768)!==0){Wy(e,Wf);return}var a=e.alternate;if(t=e.return,Wu(e),a=$(e,Uy,a,e,rc),(e.mode&Lt)!==Mt&&Ms(e),a!==null){kt=a;return}if(e=e.sibling,e!==null){kt=e;return}kt=e=t}while(e!==null);il===Eo&&(il=A2)}function Wy(t,e){do{var a=ig(t.alternate,t);if(a!==null){a.flags&=32767,kt=a;return}if((t.mode&Lt)!==Mt){Ms(t),a=t.actualDuration;for(var i=t.child;i!==null;)a+=i.actualDuration,i=i.sibling;t.actualDuration=a}if(a=t.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!e&&(t=t.sibling,t!==null)){kt=t;return}kt=t=a}while(t!==null);il=Cv,kt=null}function Ne(t,e,a,i,o,f,d,h,y,p,D,O,S,N){t.cancelPendingCommit=null;do ar();while(Gl!==ts);if(pi.flushLegacyContextWarning(),pi.flushPendingUnsafeLifecycleWarnings(),(se&($l|Fn))!==la)throw Error("Should not already be working.");if(On(a),p===jr?Jm(S,N,a,vl):i!==null?y1(S,N,a,i,e!==null&&e.alternate!==null&&e.alternate.memoizedState.isDehydrated&&(e.flags&256)!==0,vl):m1(S,N,a,vl),e!==null){if(a===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),e===t.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=e.lanes|e.childLanes,f|=X1,s1(t,a,f,d,h,y),t===qe&&(kt=qe=null,Jt=0),ym=e,es=t,bi=a,gb=f,bb=o,H2=i,vb=N,N2=O,Si=Nv,B2=null,e.actualDuration!==0||(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,yf(io,function(){return bp=window.event,Si===Nv&&(Si=pb),nr(),null})):(t.callbackNode=null,t.callbackPriority=0),yo=null,Lf=Bl(),O!==null&&p1(N,Lf,O,vl),i=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||i){i=Y.T,Y.T=null,o=ge.p,ge.p=Al,d=se,se|=Fn;try{b1(t,e,a)}finally{se=d,ge.p=o,Y.T=i}}Gl=U2,ma(),Eu(),Fy()}}function ma(){if(Gl===U2){Gl=ts;var t=es,e=ym,a=bi,i=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||i){i=Y.T,Y.T=null;var o=ge.p;ge.p=Al;var f=se;se|=Fn;try{dm=a,hm=t,_c(),Is(e,t),hm=dm=null,a=Rb;var d=pd(t.containerInfo),h=a.focusedElem,y=a.selectionRange;if(d!==h&&h&&h.ownerDocument&&jp(h.ownerDocument.documentElement,h)){if(y!==null&&Qm(h)){var p=y.start,D=y.end;if(D===void 0&&(D=p),"selectionStart"in h)h.selectionStart=p,h.selectionEnd=Math.min(D,h.value.length);else{var O=h.ownerDocument||document,S=O&&O.defaultView||window;if(S.getSelection){var N=S.getSelection(),F=h.textContent.length,nt=Math.min(y.start,F),je=y.end===void 0?nt:Math.min(y.end,F);!N.extend&&nt>je&&(d=je,je=nt,nt=d);var ne=Yp(h,nt),b=Yp(h,je);if(ne&&b&&(N.rangeCount!==1||N.anchorNode!==ne.node||N.anchorOffset!==ne.offset||N.focusNode!==b.node||N.focusOffset!==b.offset)){var T=O.createRange();T.setStart(ne.node,ne.offset),N.removeAllRanges(),nt>je?(N.addRange(T),N.extend(b.node,b.offset)):(T.setEnd(b.node,b.offset),N.addRange(T))}}}}for(O=[],N=h;N=N.parentNode;)N.nodeType===1&&O.push({element:N,left:N.scrollLeft,top:N.scrollTop});for(typeof h.focus=="function"&&h.focus(),h=0;h<O.length;h++){var z=O[h];z.element.scrollLeft=z.left,z.element.scrollTop=z.top}}Wv=!!Ub,Rb=Ub=null}finally{se=f,ge.p=o,Y.T=i}}t.current=e,Gl=R2}}function Eu(){if(Gl===R2){Gl=ts;var t=B2;if(t!==null){Lf=Bl();var e=mo,a=Lf;!Je||a<=e||console.timeStamp(t,e,a,ce,ae,"secondary-light")}t=es,e=ym,a=bi;var i=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||i){i=Y.T,Y.T=null;var o=ge.p;ge.p=Al;var f=se;se|=Fn;try{dm=a,hm=t,_c(),lh(t,e.alternate,e),hm=dm=null}finally{se=f,ge.p=o,Y.T=i}}t=vb,e=N2,mo=Bl(),t=e===null?t:Lf,e=mo,a=Si===yb,i=vl,yo!==null?Zp(t,e,yo,!1,i):!Je||e<=t||(i?i.run(console.timeStamp.bind(console,a?"Commit Interrupted View Transition":"Commit",t,e,ce,ae,a?"error":"secondary-dark")):console.timeStamp(a?"Commit Interrupted View Transition":"Commit",t,e,ce,ae,a?"error":"secondary-dark")),Gl=x2}}function Fy(){if(Gl===_2||Gl===x2){if(Gl===_2){var t=mo;mo=Bl();var e=mo,a=Si===yb;!Je||e<=t||console.timeStamp(a?"Interrupted View Transition":"Starting Animation",t,e,ce,ae,a?" error":"secondary-light"),Si!==yb&&(Si=C2)}Gl=ts,Yh(),t=es;var i=ym;e=bi,a=H2;var o=i.actualDuration!==0||(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0;o?Gl=Bv:(Gl=ts,ym=es=null,Iy(t,t.pendingLanes),Qr=0,yp=null);var f=t.pendingLanes;if(f===0&&(Pf=null),o||dh(t),f=aa(e),i=i.stateNode,El&&typeof El.onCommitFiberRoot=="function")try{var d=(i.current.flags&128)===128;switch(f){case Al:var h=C0;break;case Jl:h=jh;break;case Pl:h=io;break;case ic:h=Gh;break;default:h=io}El.onCommitFiberRoot(co,i,h,d)}catch(O){Uu||(Uu=!0,console.error("React instrumentation encountered an error: %o",O))}if(Ru&&t.memoizedUpdaters.clear(),Ly(),a!==null){d=Y.T,h=ge.p,ge.p=Al,Y.T=null;try{var y=t.onRecoverableError;for(i=0;i<a.length;i++){var p=a[i],D=pg(p.stack);$(p.source,y,p.value,D)}}finally{Y.T=d,ge.p=h}}(bi&3)!==0&&ar(),Ma(t),f=t.pendingLanes,(e&261930)!==0&&(f&42)!==0?(gv=!0,t===Sb?mp++:(mp=0,Sb=t)):mp=0,o||Ii(e,mo),Au(0)}}function pg(t){return t={componentStack:t},Object.defineProperty(t,"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.')}}),t}function Iy(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Ds(e)))}function ar(){return ma(),Eu(),Fy(),nr()}function nr(){if(Gl!==Bv)return!1;var t=es,e=gb;gb=0;var a=aa(bi),i=Pl>a?Pl:a;a=Y.T;var o=ge.p;try{ge.p=i,Y.T=null;var f=bb;bb=null,i=es;var d=bi;if(Gl=ts,ym=es=null,bi=0,(se&($l|Fn))!==la)throw Error("Cannot flush passive effects while already rendering.");On(d),Tb=!0,wv=!1;var h=0;if(yo=null,h=Hl(),Si===C2)Km(mo,h,rE);else{var y=mo,p=h,D=Si===pb;!Je||p<=y||(vl?vl.run(console.timeStamp.bind(console,D?"Waiting for Paint":"Waiting",y,p,ce,ae,"secondary-light")):console.timeStamp(D?"Waiting for Paint":"Waiting",y,p,ce,ae,"secondary-light"))}y=se,se|=Fn;var O=i.current;_c(),uh(O);var S=i.current;O=vb,_c(),Xy(i,S,d,f,O),dh(i),se=y;var N=Hl();if(S=h,O=vl,yo!==null?Zp(S,N,yo,!0,O):!Je||N<=S||(O?O.run(console.timeStamp.bind(console,"Remaining Effects",S,N,ce,ae,"secondary-dark")):console.timeStamp("Remaining Effects",S,N,ce,ae,"secondary-dark")),Ii(d,N),Au(0,!1),wv?i===yp?Qr++:(Qr=0,yp=i):Qr=0,wv=Tb=!1,El&&typeof El.onPostCommitFiberRoot=="function")try{El.onPostCommitFiberRoot(co,i)}catch(nt){Uu||(Uu=!0,console.error("React instrumentation encountered an error: %o",nt))}var F=i.current.stateNode;return F.effectDuration=0,F.passiveEffectDuration=0,!0}finally{ge.p=o,Y.T=a,Iy(t,e)}}function ya(t,e,a){e=ua(a,e),Fp(e),e=Vd(t.stateNode,e,2),t=su(t,e,2),t!==null&&(zi(t,2),Ma(t))}function Gt(t,e,a){if(pm=!1,t.tag===3)ya(t,t,a);else{for(;e!==null;){if(e.tag===3){ya(e,t,a);return}if(e.tag===1){var i=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(Pf===null||!Pf.has(i))){t=ua(a,t),Fp(t),a=Qd(2),i=su(e,a,2),i!==null&&(Ld(a,i,e,t),zi(i,2),Ma(i));return}}e=e.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.
199
178
 
200
179
  Error message:
201
180
 
202
- %s`,a)}}function rm(t,e,a){var o=t.pingCache;if(o===null){o=t.pingCache=new F5;var c=new Set;o.set(e,c)}else c=o.get(e),c===void 0&&(c=new Set,o.set(e,c));c.has(a)||(S2=!0,c.add(a),o=Va.bind(null,t,e,a),Ki&&Xr(t,a),e.then(o,o))}function Va(t,e,a){var o=t.pingCache;o!==null&&o.delete(e),t.pingedLanes|=t.suspendedLanes&a,t.warmLanes&=~a,(a&127)!==0?0>Ru&&(hd=Ru=Zn(),s0=$b("Promise Resolved"),Sc=Fb):(a&4194048)!==0&&0>no&&(Ys=no=Zn(),c0=$b("Promise Resolved"),e2=Fb),rg()&&P.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
181
+ %s`,a)}}function sh(t,e,a){var i=t.pingCache;if(i===null){i=t.pingCache=new SE;var o=new Set;i.set(e,o)}else o=i.get(e),o===void 0&&(o=new Set,i.set(e,o));o.has(a)||(hb=!0,o.add(a),i=Da.bind(null,t,e,a),Ru&&mf(t,a),e.then(i,i))}function Da(t,e,a){var i=t.pingCache;i!==null&&i.delete(e),t.pingedLanes|=t.suspendedLanes&a,t.warmLanes&=~a,(a&127)!==0?0>fc&&(Rr=fc=Bl(),L0=rv("Promise Resolved"),Zf=dv):(a&4194048)!==0&&0>Yu&&(po=Yu=Bl(),J0=rv("Promise Resolved"),$1=dv),Zy()&&Y.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
203
182
 
204
183
  When testing, code that resolves suspended data should be wrapped into act(...):
205
184
 
@@ -208,7 +187,7 @@ act(() => {
208
187
  });
209
188
  /* assert on the output */
210
189
 
211
- 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`),ke===t&&(ue&a)===a&&(hn===xc||hn===f1&&(ue&62914560)===ue&&Xn()-y1<QC?(Te&la)===da&&Li(t,0):T2|=a,Dd===ue&&(Dd=0)),Ha(t)}function gg(t,e){e===0&&(e=Id()),t=ia(t,e),t!==null&&(Zo(t,e),Ha(t))}function Oo(t){var e=t.memoizedState,a=0;e!==null&&(a=e.retryLane),gg(t,a)}function Es(t,e){var a=0;switch(t.tag){case 31:case 13:var o=t.stateNode,c=t.memoizedState;c!==null&&(a=c.retryLane);break;case 19:o=t.stateNode;break;case 22:o=t.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}o!==null&&o.delete(e),gg(t,a)}function ti(t,e,a){if((e.subtreeFlags&67117056)!==0)for(e=e.child;e!==null;){var o=t,c=e,f=c.type===Oa;f=a||f,c.tag!==22?c.flags&67108864?f&&mt(c,cm,o,c):ti(o,c,f):c.memoizedState===null&&(f&&c.flags&8192?mt(c,cm,o,c):c.subtreeFlags&67108864&&mt(c,ti,o,c,f)),e=e.sibling}}function cm(t,e){Ye(!0);try{nm(e),ug(e),lg(t,e.alternate,e,!1),Hf(t,e,0,null,!1,0)}finally{Ye(!1)}}function fm(t){var e=!0;t.current.mode&(Xa|Bo)||(e=!1),ti(t,t.current,e)}function Ol(t){if((Te&la)===da){var e=t.tag;if(e===3||e===1||e===0||e===11||e===14||e===15){if(e=yt(t)||"ReactComponent",T1!==null){if(T1.has(e))return;T1.add(e)}else T1=new Set([e]);mt(t,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 tries to update the component. Move this work to useEffect instead.")})}}}function Xr(t,e){Ki&&t.memoizedUpdaters.forEach(function(a){Na(t,a,e)})}function Qr(t,e){var a=P.actQueue;return a!==null?(a.push(e),P5):Zg(t,e)}function Gf(t){rg()&&P.actQueue===null&&mt(t,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
190
+ 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`),qe===t&&(Jt&a)===a&&(il===kf||il===Ov&&(Jt&62914560)===Jt&&Hl()-_v<M2?(se&$l)===la&&Tu(t,0):mb|=a,Vr===Jt&&(Vr=0)),Ma(t)}function Py(t,e){e===0&&(e=Pr()),t=kl(t,e),t!==null&&(zi(t,e),Ma(t))}function oi(t){var e=t.memoizedState,a=0;e!==null&&(a=e.retryLane),Py(t,a)}function Fc(t,e){var a=0;switch(t.tag){case 31:case 13:var i=t.stateNode,o=t.memoizedState;o!==null&&(a=o.retryLane);break;case 19:i=t.stateNode;break;case 22:i=t.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}i!==null&&i.delete(e),Py(t,a)}function Gn(t,e,a){if((e.subtreeFlags&67117056)!==0)for(e=e.child;e!==null;){var i=t,o=e,f=o.type===va;f=a||f,o.tag!==22?o.flags&67108864?f&&$(o,rh,i,o):Gn(i,o,f):o.memoizedState===null&&(f&&o.flags&8192?$(o,rh,i,o):o.subtreeFlags&67108864&&$(o,Gn,i,o,f)),e=e.sibling}}function rh(t,e){_e(!0);try{ah(e),Qy(e),Gy(t,e.alternate,e,!1),er(t,e,0,null,!1,0)}finally{_e(!1)}}function dh(t){var e=!0;t.current.mode&(xa|yi)||(e=!1),Gn(t,t.current,e)}function yn(t){if((se&$l)===la){var e=t.tag;if(e===3||e===1||e===0||e===11||e===14||e===15){if(e=at(t)||"ReactComponent",qv!==null){if(qv.has(e))return;qv.add(e)}else qv=new Set([e]);$(t,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 tries to update the component. Move this work to useEffect instead.")})}}}function mf(t,e){Ru&&t.memoizedUpdaters.forEach(function(a){Ea(t,a,e)})}function yf(t,e){var a=Y.actQueue;return a!==null?(a.push(e),AE):O0(t,e)}function ur(t){Zy()&&Y.actQueue===null&&$(t,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
212
191
 
213
192
  When testing, code that causes React state updates should be wrapped into act(...):
214
193
 
@@ -217,91 +196,83 @@ act(() => {
217
196
  });
218
197
  /* assert on the output */
219
198
 
220
- 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`,yt(t))})}function Ha(t){t!==yp&&t.next===null&&(yp===null?A1=yp=t:yp=yp.next=t),E1=!0,P.actQueue!==null?R2||(R2=!0,nb()):O2||(O2=!0,nb())}function Yi(t,e){if(!w2&&E1){w2=!0;do for(var a=!1,o=A1;o!==null;){if(t!==0){var c=o.pendingLanes;if(c===0)var f=0;else{var y=o.suspendedLanes,g=o.pingedLanes;f=(1<<31-ea(42|t)+1)-1,f&=c&~(y&~g),f=f&201326741?f&201326741|1:f?f|2:0}f!==0&&(a=!0,Xf(o,f))}else f=ue,f=Wd(o,o===ke?f:0,o.cancelPendingCommit!==null||o.timeoutHandle!==Rd),(f&3)===0||In(o,f)||(a=!0,Xf(o,f));o=o.next}while(a);w2=!1}}function eb(){V0=window.event,dm()}function dm(){E1=R2=O2=!1;var t=0;wc!==0&&Tg()&&(t=wc);for(var e=Xn(),a=null,o=A1;o!==null;){var c=o.next,f=Zr(o,e);f===0?(o.next=null,a===null?A1=c:a.next=c,c===null&&(yp=a)):(a=o,(t!==0||(f&3)!==0)&&(E1=!0)),o=c}Fn!==Oc&&Fn!==b1||Yi(t),wc!==0&&(wc=0)}function Zr(t,e){for(var a=t.suspendedLanes,o=t.pingedLanes,c=t.expirationTimes,f=t.pendingLanes&-62914561;0<f;){var y=31-ea(f),g=1<<y,E=c[y];E===-1?((g&a)===0||(g&o)!==0)&&(c[y]=yT(g,e)):E<=e&&(t.expiredLanes|=g),f&=~g}if(e=ke,a=ue,a=Wd(t,t===e?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==Rd),o=t.callbackNode,a===0||t===e&&(Le===Ed||Le===xd)||t.cancelPendingCommit!==null)return o!==null&&hm(o),t.callbackNode=null,t.callbackPriority=0;if((a&3)===0||In(t,a)){if(e=a&-a,e!==t.callbackPriority||P.actQueue!==null&&o!==U2)hm(o);else return e;switch(ma(a)){case Un:case na:a=Hm;break;case ra:a=Us;break;case Mu:a=Lm;break;default:a=Us}return o=vg.bind(null,t),P.actQueue!==null?(P.actQueue.push(o),a=U2):a=Zg(a,o),t.callbackPriority=e,t.callbackNode=a,e}return o!==null&&hm(o),t.callbackPriority=2,t.callbackNode=null,2}function vg(t,e){if(e1=t1=!1,V0=window.event,Fn!==Oc&&Fn!==b1)return t.callbackNode=null,t.callbackPriority=0,null;var a=t.callbackNode;if(Yo===v1&&(Yo=E2),qf()&&t.callbackNode!==a)return null;var o=ue;return o=Wd(t,t===ke?o:0,t.cancelPendingCommit!==null||t.timeoutHandle!==Rd),o===0?null:(Wv(t,o,e),Zr(t,Xn()),t.callbackNode!=null&&t.callbackNode===a?vg.bind(null,t):null)}function Xf(t,e){if(qf())return null;t1=e1,e1=!1,Wv(t,e,!0)}function hm(t){t!==U2&&t!==null&&jm(t)}function nb(){P.actQueue!==null&&P.actQueue.push(function(){return dm(),null}),r6(function(){(Te&(la|fi))!==da?Zg(kg,eb):dm()})}function bg(){if(wc===0){var t=yd;t===0&&(t=rc,rc<<=1,(rc&261888)===0&&(rc=256)),wc=t}return wc}function Ae(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:(_e(t,"action"),Wc(""+t))}function Be(t,e){var a=e.ownerDocument.createElement("input");return a.name=e.name,a.value=e.value,t.id&&a.setAttribute("form",t.id),e.parentNode.insertBefore(a,e),t=new FormData(t),a.parentNode.removeChild(a),t}function me(t,e,a,o,c){if(e==="submit"&&a&&a.stateNode===c){var f=Ae((c[Ra]||null).action),y=o.submitter;y&&(e=(e=y[Ra]||null)?Ae(e.formAction):y.getAttribute("formAction"),e!==null&&(f=e,y=null));var g=new Gb("action","action",null,o,c);t.push({event:g,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(wc!==0){var E=y?Be(c,y):new FormData(c),D={pending:!0,data:E,method:c.method,action:f};Object.freeze(D),Do(a,D,null,E)}}else typeof f=="function"&&(g.preventDefault(),E=y?Be(c,y):new FormData(c),D={pending:!0,data:E,method:c.method,action:f},Object.freeze(D),Do(a,D,f,E))},currentTarget:c}]})}}function re(t,e,a){t.currentTarget=a;try{e(t)}catch(o){QT(o)}t.currentTarget=null}function we(t,e){e=(e&4)!==0;for(var a=0;a<t.length;a++){var o=t[a];t:{var c=void 0,f=o.event;if(o=o.listeners,e)for(var y=o.length-1;0<=y;y--){var g=o[y],E=g.instance,D=g.currentTarget;if(g=g.listener,E!==c&&f.isPropagationStopped())break t;E!==null?mt(E,re,f,g,D):re(f,g,D),c=E}else for(y=0;y<o.length;y++){if(g=o[y],E=g.instance,D=g.currentTarget,g=g.listener,E!==c&&f.isPropagationStopped())break t;E!==null?mt(E,re,f,g,D):re(f,g,D),c=E}}}}function Xt(t,e){_2.has(t)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',t);var a=e[Ns];a===void 0&&(a=e[Ns]=new Set);var o=t+"__bubble";a.has(o)||(mm(e,t,2,!1),a.add(o))}function Gi(t,e,a){_2.has(t)&&!e&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',t);var o=0;e&&(o|=4),mm(a,t,o,e)}function Su(t){if(!t[x1]){t[x1]=!0,Vb.forEach(function(a){a!=="selectionchange"&&(_2.has(a)||Gi(a,!1,t),Gi(a,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[x1]||(e[x1]=!0,Gi("selectionchange",!1,e))}}function mm(t,e,a,o){switch(zm(e)){case Un:var c=Ng;break;case na:c=ta;break;default:c=jg}a=c.bind(null,e,a,t),c=void 0,!NT||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(c=!0),o?c!==void 0?t.addEventListener(e,a,{capture:!0,passive:c}):t.addEventListener(e,a,!0):c!==void 0?t.addEventListener(e,a,{passive:c}):t.addEventListener(e,a,!1)}function ei(t,e,a,o,c){var f=o;if((e&1)===0&&(e&2)===0&&o!==null)t:for(;;){if(o===null)return;var y=o.tag;if(y===3||y===4){var g=o.stateNode.containerInfo;if(g===c)break;if(y===4)for(y=o.return;y!==null;){var E=y.tag;if((E===3||E===4)&&y.stateNode.containerInfo===c)return;y=y.return}for(;g!==null;){if(y=fo(g),y===null)return;if(E=y.tag,E===5||E===6||E===26||E===27){o=f=y;continue t}g=g.parentNode}}o=o.return}fh(function(){var D=f,V=Ll(a),L=[];t:{var U=jD.get(t);if(U!==void 0){var K=Gb,vt=t;switch(t){case"keypress":if(Ic(a)===0)break t;case"keydown":case"keyup":K=m5;break;case"focusin":vt="focus",K=HT;break;case"focusout":vt="blur",K=HT;break;case"beforeblur":case"afterblur":K=HT;break;case"click":if(a.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":K=TD;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":K=n5;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":K=g5;break;case wD:case UD:case _D:K=i5;break;case ND:K=b5;break;case"scroll":case"scrollend":K=t5;break;case"wheel":K=T5;break;case"copy":case"cut":case"paste":K=u5;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":K=ED;break;case"toggle":case"beforetoggle":K=E5}var Et=(e&4)!==0,Ke=!Et&&(t==="scroll"||t==="scrollend"),ge=Et?U!==null?U+"Capture":null:U;Et=[];for(var R=D,_;R!==null;){var B=R;if(_=B.stateNode,B=B.tag,B!==5&&B!==26&&B!==27||_===null||ge===null||(B=Ai(R,ge),B!=null&&Et.push(Qe(R,B,_))),Ke)break;R=R.return}0<Et.length&&(U=new K(U,vt,null,a,V),L.push({event:U,listeners:Et}))}}if((e&7)===0){t:{if(U=t==="mouseover"||t==="pointerover",K=t==="mouseout"||t==="pointerout",U&&a!==Wg&&(vt=a.relatedTarget||a.fromElement)&&(fo(vt)||vt[jo]))break t;if((K||U)&&(U=V.window===V?V:(U=V.ownerDocument)?U.defaultView||U.parentWindow:window,K?(vt=a.relatedTarget||a.toElement,K=D,vt=vt?fo(vt):null,vt!==null&&(Ke=nt(vt),Et=vt.tag,vt!==Ke||Et!==5&&Et!==27&&Et!==6)&&(vt=null)):(K=null,vt=D),K!==vt)){if(Et=TD,B="onMouseLeave",ge="onMouseEnter",R="mouse",(t==="pointerout"||t==="pointerover")&&(Et=ED,B="onPointerLeave",ge="onPointerEnter",R="pointer"),Ke=K==null?U:ko(K),_=vt==null?U:ko(vt),U=new Et(B,R+"leave",K,a,V),U.target=Ke,U.relatedTarget=_,B=null,fo(V)===D&&(Et=new Et(ge,R+"enter",vt,a,V),Et.target=_,Et.relatedTarget=Ke,B=Et),Ke=B,K&&vt)e:{for(Et=xs,ge=K,R=vt,_=0,B=ge;B;B=Et(B))_++;B=0;for(var at=R;at;at=Et(at))B++;for(;0<_-B;)ge=Et(ge),_--;for(;0<B-_;)R=Et(R),B--;for(;_--;){if(ge===R||R!==null&&ge===R.alternate){Et=ge;break e}ge=Et(ge),R=Et(R)}Et=null}else Et=null;K!==null&&pm(L,U,K,Et,!1),vt!==null&&Ke!==null&&pm(L,Ke,vt,Et,!0)}}t:{if(U=D?ko(D):window,K=U.nodeName&&U.nodeName.toLowerCase(),K==="select"||K==="input"&&U.type==="file")var At=Fo;else if(ly(U))if(OD)At=nf;else{At=iy;var Wt=ST}else K=U.nodeName,!K||K.toLowerCase()!=="input"||U.type!=="checkbox"&&U.type!=="radio"?D&&Ti(D.elementType)&&(At=Fo):At=oy;if(At&&(At=At(t,D))){tf(L,At,a,V);break t}Wt&&Wt(t,U,D),t==="focusout"&&D&&U.type==="number"&&D.memoizedProps.value!=null&&$p(U,"number",U.value)}switch(Wt=D?ko(D):window,t){case"focusin":(ly(Wt)||Wt.contentEditable==="true")&&(Jm=Wt,qT=D,l0=null);break;case"focusout":l0=qT=Jm=null;break;case"mousedown":YT=!0;break;case"contextmenu":case"mouseup":case"dragend":YT=!1,xv(L,a,V);break;case"selectionchange":if(M5)break;case"keydown":case"keyup":xv(L,a,V)}var Nt;if(LT)t:{switch(t){case"compositionstart":var Ut="onCompositionStart";break t;case"compositionend":Ut="onCompositionEnd";break t;case"compositionupdate":Ut="onCompositionUpdate";break t}Ut=void 0}else km?hr(t,a)&&(Ut="onCompositionEnd"):t==="keydown"&&a.keyCode===xD&&(Ut="onCompositionStart");Ut&&(DD&&a.locale!=="ko"&&(km||Ut!=="onCompositionStart"?Ut==="onCompositionEnd"&&km&&(Nt=Ku()):(mc=V,jT="value"in mc?mc.value:mc.textContent,km=!0)),Wt=ni(D,Ut),0<Wt.length&&(Ut=new AD(Ut,t,null,a,V),L.push({event:Ut,listeners:Wt}),Nt?Ut.data=Nt:(Nt=po(a),Nt!==null&&(Ut.data=Nt)))),(Nt=D5?ay(t,a):dh(t,a))&&(Ut=ni(D,"onBeforeInput"),0<Ut.length&&(Wt=new r5("onBeforeInput","beforeinput",null,a,V),L.push({event:Wt,listeners:Ut}),Wt.data=Nt)),me(L,t,D,a,V)}we(L,e)})}function Qe(t,e,a){return{instance:t,listener:e,currentTarget:a}}function ni(t,e){for(var a=e+"Capture",o=[];t!==null;){var c=t,f=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||f===null||(c=Ai(t,a),c!=null&&o.unshift(Qe(t,c,f)),c=Ai(t,e),c!=null&&o.push(Qe(t,c,f))),t.tag===3)return o;t=t.return}return[]}function xs(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function pm(t,e,a,o,c){for(var f=e._reactName,y=[];a!==null&&a!==o;){var g=a,E=g.alternate,D=g.stateNode;if(g=g.tag,E!==null&&E===o)break;g!==5&&g!==26&&g!==27||D===null||(E=D,c?(D=Ai(a,f),D!=null&&y.unshift(Qe(a,D,E))):c||(D=Ai(a,f),D!=null&&y.push(Qe(a,D,E)))),a=a.return}y.length!==0&&t.push({event:e,listeners:y})}function Ma(t,e){bv(t,e),t!=="input"&&t!=="textarea"&&t!=="select"||e==null||e.value!==null||bD||(bD=!0,t==="select"&&e.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.",t):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",t));var a={registrationNameDependencies:$i,possibleRegistrationNames:dc};Ti(t)||typeof e.is=="string"||bT(t,e,a),e.contentEditable&&!e.suppressContentEditableWarning&&e.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 ln(t,e,a,o){e!==a&&(a=ai(a),ai(e)!==a&&(o[t]=e))}function Qf(t,e,a){e.forEach(function(o){a[Ro(o)]=o==="style"?Tu(t):t.getAttribute(o)})}function on(t,e){e===!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.",t,t,t):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",t,typeof e)}function ym(t,e){return t=t.namespaceURI===Pt||t.namespaceURI===ne?t.ownerDocument.createElementNS(t.namespaceURI,t.tagName):t.ownerDocument.createElement(t.tagName),t.innerHTML=e,t.innerHTML}function ai(t){return gi(t)&&(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.",nn(t)),Lu(t)),(typeof t=="string"?t:""+t).replace(t6,`
221
- `).replace(e6,"")}function Sg(t,e){return e=ai(e),ai(t)===e}function Ce(t,e,a,o,c,f){switch(a){case"children":typeof o=="string"?(Fc(o,e,!1),e==="body"||e==="textarea"&&o===""||Ju(t,o)):(typeof o=="number"||typeof o=="bigint")&&(Fc(""+o,e,!1),e!=="body"&&Ju(t,""+o));break;case"className":Jc(t,"class",o);break;case"tabIndex":Jc(t,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Jc(t,a,o);break;case"style":ty(t,o,f);break;case"data":if(e!=="object"){Jc(t,"data",o);break}case"src":case"href":if(o===""&&(e!=="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),t.removeAttribute(a);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){t.removeAttribute(a);break}_e(o,a),o=Wc(""+o),t.setAttribute(a,o);break;case"action":case"formAction":if(o!=null&&(e==="form"?a==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof o=="function"&&(c.encType==null&&c.method==null||M1||(M1=!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.")),c.target==null||C1||(C1=!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."))):e==="input"||e==="button"?a==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):e!=="input"||c.type==="submit"||c.type==="image"||D1?e!=="button"||c.type==null||c.type==="submit"||D1?typeof o=="function"&&(c.name==null||lM||(lM=!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.')),c.formEncType==null&&c.formMethod==null||M1||(M1=!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.")),c.formTarget==null||C1||(C1=!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."))):(D1=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(D1=!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 o=="function"){t.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"?(e!=="input"&&Ce(t,e,"name",c.name,c,null),Ce(t,e,"formEncType",c.formEncType,c,null),Ce(t,e,"formMethod",c.formMethod,c,null),Ce(t,e,"formTarget",c.formTarget,c,null)):(Ce(t,e,"encType",c.encType,c,null),Ce(t,e,"method",c.method,c,null),Ce(t,e,"target",c.target,c,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){t.removeAttribute(a);break}_e(o,a),o=Wc(""+o),t.setAttribute(a,o);break;case"onClick":o!=null&&(typeof o!="function"&&on(a,o),t.onclick=bl);break;case"onScroll":o!=null&&(typeof o!="function"&&on(a,o),Xt("scroll",t));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&on(a,o),Xt("scrollend",t));break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))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=o.__html,a!=null){if(c.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");t.innerHTML=a}}break;case"multiple":t.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":t.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){t.removeAttribute("xlink:href");break}_e(o,a),a=Wc(""+o),t.setAttributeNS(Md,"xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?(_e(o,a),t.setAttribute(a,""+o)):t.removeAttribute(a);break;case"inert":o!==""||z1[a]||(z1[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":o&&typeof o!="function"&&typeof o!="symbol"?t.setAttribute(a,""):t.removeAttribute(a);break;case"capture":case"download":o===!0?t.setAttribute(a,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?(_e(o,a),t.setAttribute(a,o)):t.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?(_e(o,a),t.setAttribute(a,o)):t.removeAttribute(a);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?t.removeAttribute(a):(_e(o,a),t.setAttribute(a,o));break;case"popover":Xt("beforetoggle",t),Xt("toggle",t),th(t,"popover",o);break;case"xlinkActuate":vi(t,Md,"xlink:actuate",o);break;case"xlinkArcrole":vi(t,Md,"xlink:arcrole",o);break;case"xlinkRole":vi(t,Md,"xlink:role",o);break;case"xlinkShow":vi(t,Md,"xlink:show",o);break;case"xlinkTitle":vi(t,Md,"xlink:title",o);break;case"xlinkType":vi(t,Md,"xlink:type",o);break;case"xmlBase":vi(t,N2,"xml:base",o);break;case"xmlLang":vi(t,N2,"xml:lang",o);break;case"xmlSpace":vi(t,N2,"xml:space",o);break;case"is":f!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),th(t,"is",o);break;case"innerText":case"textContent":break;case"popoverTarget":iM||o==null||typeof o!="object"||(iM=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",o));default:!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N"?(a=gv(a),th(t,a,o)):$i.hasOwnProperty(a)&&o!=null&&typeof o!="function"&&on(a,o)}}function kr(t,e,a,o,c,f){switch(a){case"style":ty(t,o,f);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))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=o.__html,a!=null){if(c.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");t.innerHTML=a}}break;case"children":typeof o=="string"?Ju(t,o):(typeof o=="number"||typeof o=="bigint")&&Ju(t,""+o);break;case"onScroll":o!=null&&(typeof o!="function"&&on(a,o),Xt("scroll",t));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&on(a,o),Xt("scrollend",t));break;case"onClick":o!=null&&(typeof o!="function"&&on(a,o),t.onclick=bl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if($i.hasOwnProperty(a))o!=null&&typeof o!="function"&&on(a,o);else t:{if(a[0]==="o"&&a[1]==="n"&&(c=a.endsWith("Capture"),e=a.slice(2,c?a.length-7:void 0),f=t[Ra]||null,f=f!=null?f[a]:null,typeof f=="function"&&t.removeEventListener(e,f,c),typeof o=="function")){typeof f!="function"&&f!==null&&(a in t?t[a]=null:t.hasAttribute(a)&&t.removeAttribute(a)),t.addEventListener(e,o,c);break t}a in t?t[a]=o:o===!0?t.setAttribute(a,""):th(t,a,o)}}}function We(t,e,a){switch(Ma(e,a),e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Xt("error",t),Xt("load",t);var o=!1,c=!1,f;for(f in a)if(a.hasOwnProperty(f)){var y=a[f];if(y!=null)switch(f){case"src":o=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ce(t,e,f,y,a,null)}}c&&Ce(t,e,"srcSet",a.srcSet,a,null),o&&Ce(t,e,"src",a.src,a,null);return;case"input":Gu("input",a),Xt("invalid",t);var g=f=y=c=null,E=null,D=null;for(o in a)if(a.hasOwnProperty(o)){var V=a[o];if(V!=null)switch(o){case"name":c=V;break;case"type":y=V;break;case"checked":E=V;break;case"defaultChecked":D=V;break;case"value":f=V;break;case"defaultValue":g=V;break;case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ce(t,e,o,V,a,null)}}pa(t,a),ah(t,f,g,E,D,y,c,!1);return;case"select":Gu("select",a),Xt("invalid",t),o=y=f=null;for(c in a)if(a.hasOwnProperty(c)&&(g=a[c],g!=null))switch(c){case"value":f=g;break;case"defaultValue":y=g;break;case"multiple":o=g;default:Ce(t,e,c,g,a,null)}lh(t,a),e=f,a=y,t.multiple=!!o,e!=null?bi(t,!!o,e,!1):a!=null&&bi(t,!!o,a,!0);return;case"textarea":Gu("textarea",a),Xt("invalid",t),f=c=o=null;for(y in a)if(a.hasOwnProperty(y)&&(g=a[y],g!=null))switch(y){case"value":o=g;break;case"defaultValue":c=g;break;case"children":f=g;break;case"dangerouslySetInnerHTML":if(g!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Ce(t,e,y,g,a,null)}Xu(t,a),ur(t,o,c,f);return;case"option":yv(t,a);for(E in a)if(a.hasOwnProperty(E)&&(o=a[E],o!=null))switch(E){case"selected":t.selected=o&&typeof o!="function"&&typeof o!="symbol";break;default:Ce(t,e,E,o,a,null)}return;case"dialog":Xt("beforetoggle",t),Xt("toggle",t),Xt("cancel",t),Xt("close",t);break;case"iframe":case"object":Xt("load",t);break;case"video":case"audio":for(o=0;o<N0.length;o++)Xt(N0[o],t);break;case"image":Xt("error",t),Xt("load",t);break;case"details":Xt("toggle",t);break;case"embed":case"source":case"link":Xt("error",t),Xt("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(D in a)if(a.hasOwnProperty(D)&&(o=a[D],o!=null))switch(D){case"children":case"dangerouslySetInnerHTML":throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ce(t,e,D,o,a,null)}return;default:if(Ti(e)){for(V in a)a.hasOwnProperty(V)&&(o=a[V],o!==void 0&&kr(t,e,V,o,a,void 0));return}}for(g in a)a.hasOwnProperty(g)&&(o=a[g],o!=null&&Ce(t,e,g,o,a,null))}function Rn(t,e,a,o){switch(Ma(e,o),e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,f=null,y=null,g=null,E=null,D=null,V=null;for(K in a){var L=a[K];if(a.hasOwnProperty(K)&&L!=null)switch(K){case"checked":break;case"value":break;case"defaultValue":E=L;default:o.hasOwnProperty(K)||Ce(t,e,K,null,o,L)}}for(var U in o){var K=o[U];if(L=a[U],o.hasOwnProperty(U)&&(K!=null||L!=null))switch(U){case"type":f=K;break;case"name":c=K;break;case"checked":D=K;break;case"defaultChecked":V=K;break;case"value":y=K;break;case"defaultValue":g=K;break;case"children":case"dangerouslySetInnerHTML":if(K!=null)throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:K!==L&&Ce(t,e,U,K,o,L)}}e=a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null,o=o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null,e||!o||aM||(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"),aM=!0),!e||o||nM||(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"),nM=!0),Jo(t,y,g,E,D,V,f,c);return;case"select":K=y=g=U=null;for(f in a)if(E=a[f],a.hasOwnProperty(f)&&E!=null)switch(f){case"value":break;case"multiple":K=E;default:o.hasOwnProperty(f)||Ce(t,e,f,null,o,E)}for(c in o)if(f=o[c],E=a[c],o.hasOwnProperty(c)&&(f!=null||E!=null))switch(c){case"value":U=f;break;case"defaultValue":g=f;break;case"multiple":y=f;default:f!==E&&Ce(t,e,c,f,o,E)}o=g,e=y,a=K,U!=null?bi(t,!!e,U,!1):!!a!=!!e&&(o!=null?bi(t,!!e,o,!0):bi(t,!!e,e?[]:"",!1));return;case"textarea":K=U=null;for(g in a)if(c=a[g],a.hasOwnProperty(g)&&c!=null&&!o.hasOwnProperty(g))switch(g){case"value":break;case"children":break;default:Ce(t,e,g,null,o,c)}for(y in o)if(c=o[y],f=a[y],o.hasOwnProperty(y)&&(c!=null||f!=null))switch(y){case"value":U=c;break;case"defaultValue":K=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:c!==f&&Ce(t,e,y,c,o,f)}Qu(t,U,K);return;case"option":for(var vt in a)if(U=a[vt],a.hasOwnProperty(vt)&&U!=null&&!o.hasOwnProperty(vt))switch(vt){case"selected":t.selected=!1;break;default:Ce(t,e,vt,null,o,U)}for(E in o)if(U=o[E],K=a[E],o.hasOwnProperty(E)&&U!==K&&(U!=null||K!=null))switch(E){case"selected":t.selected=U&&typeof U!="function"&&typeof U!="symbol";break;default:Ce(t,e,E,U,o,K)}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 Et in a)U=a[Et],a.hasOwnProperty(Et)&&U!=null&&!o.hasOwnProperty(Et)&&Ce(t,e,Et,null,o,U);for(D in o)if(U=o[D],K=a[D],o.hasOwnProperty(D)&&U!==K&&(U!=null||K!=null))switch(D){case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ce(t,e,D,U,o,K)}return;default:if(Ti(e)){for(var Ke in a)U=a[Ke],a.hasOwnProperty(Ke)&&U!==void 0&&!o.hasOwnProperty(Ke)&&kr(t,e,Ke,void 0,o,U);for(V in o)U=o[V],K=a[V],!o.hasOwnProperty(V)||U===K||U===void 0&&K===void 0||kr(t,e,V,U,o,K);return}}for(var ge in a)U=a[ge],a.hasOwnProperty(ge)&&U!=null&&!o.hasOwnProperty(ge)&&Ce(t,e,ge,null,o,U);for(L in o)U=o[L],K=a[L],!o.hasOwnProperty(L)||U===K||U==null&&K==null||Ce(t,e,L,U,o,K)}function Ro(t){switch(t){case"class":return"className";case"for":return"htmlFor";default:return t}}function Tu(t){var e={};t=t.style;for(var a=0;a<t.length;a++){var o=t[a];e[o]=t.getPropertyValue(o)}return e}function Xi(t,e,a){if(e!=null&&typeof e!="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 o,c=o="",f;for(f in e)if(e.hasOwnProperty(f)){var y=e[f];y!=null&&typeof y!="boolean"&&y!==""&&(f.indexOf("--")===0?(Gp(y,f),o+=c+f+":"+(""+y).trim()):typeof y!="number"||y===0||Rt.has(f)?(Gp(y,f),o+=c+f.replace(tt,"-$1").toLowerCase().replace(Ct,"-ms-")+":"+(""+y).trim()):o+=c+f.replace(tt,"-$1").toLowerCase().replace(Ct,"-ms-")+":"+y+"px",c=";")}o=o||null,e=t.getAttribute("style"),e!==o&&(o=ai(o),ai(e)!==o&&(a.style=Tu(t)))}}function La(t,e,a,o,c,f){if(c.delete(a),t=t.getAttribute(a),t===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(_e(o,e),t===""+o)return}ln(e,t,o,f)}function gm(t,e,a,o,c,f){if(c.delete(a),t=t.getAttribute(a),t===null){switch(typeof o){case"function":case"symbol":return}if(!o)return}else switch(typeof o){case"function":case"symbol":break;default:if(o)return}ln(e,t,o,f)}function vm(t,e,a,o,c,f){if(c.delete(a),t=t.getAttribute(a),t===null)switch(typeof o){case"undefined":case"function":case"symbol":return}else if(o!=null)switch(typeof o){case"function":case"symbol":break;default:if(_e(o,a),t===""+o)return}ln(e,t,o,f)}function Jr(t,e,a,o,c,f){if(c.delete(a),t=t.getAttribute(a),t===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(o))return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(!isNaN(o)&&(_e(o,e),t===""+o))return}ln(e,t,o,f)}function Zf(t,e,a,o,c,f){if(c.delete(a),t=t.getAttribute(a),t===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(_e(o,e),a=Wc(""+o),t===a)return}ln(e,t,o,f)}function qa(t,e,a,o){for(var c={},f=new Set,y=t.attributes,g=0;g<y.length;g++)switch(y[g].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:f.add(y[g].name)}if(Ti(e)){for(var E in a)if(a.hasOwnProperty(E)){var D=a[E];if(D!=null){if($i.hasOwnProperty(E))typeof D!="function"&&on(E,D);else if(a.suppressHydrationWarning!==!0)switch(E){case"children":typeof D!="string"&&typeof D!="number"||ln("children",t.textContent,D,c);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":y=t.innerHTML,D=D?D.__html:void 0,D!=null&&(D=ym(t,D),ln(E,y,D,c));continue;case"style":f.delete(E),Xi(t,D,c);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":f.delete(E.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",E);continue;case"className":f.delete("class"),y=or(t,"class",D),ln("className",y,D,c);continue;default:o.context===Ks&&e!=="svg"&&e!=="math"?f.delete(E.toLowerCase()):f.delete(E),y=or(t,E,D),ln(E,y,D,c)}}}}else for(D in a)if(a.hasOwnProperty(D)&&(E=a[D],E!=null)){if($i.hasOwnProperty(D))typeof E!="function"&&on(D,E);else if(a.suppressHydrationWarning!==!0)switch(D){case"children":typeof E!="string"&&typeof E!="number"||ln("children",t.textContent,E,c);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":y=t.innerHTML,E=E?E.__html:void 0,E!=null&&(E=ym(t,E),y!==E&&(c[D]={__html:y}));continue;case"className":La(t,D,"class",E,f,c);continue;case"tabIndex":La(t,D,"tabindex",E,f,c);continue;case"style":f.delete(D),Xi(t,E,c);continue;case"multiple":f.delete(D),ln(D,t.multiple,E,c);continue;case"muted":f.delete(D),ln(D,t.muted,E,c);continue;case"autoFocus":f.delete("autofocus"),ln(D,t.autofocus,E,c);continue;case"data":if(e!=="object"){f.delete(D),y=t.getAttribute("data"),ln(D,y,E,c);continue}case"src":case"href":if(!(E!==""||e==="a"&&D==="href"||e==="object"&&D==="data")){console.error(D==="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.',D,D);continue}Zf(t,D,D,E,f,c);continue;case"action":case"formAction":if(y=t.getAttribute(D),typeof E=="function"){f.delete(D.toLowerCase()),D==="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(y===n6){f.delete(D.toLowerCase()),ln(D,"function",E,c);continue}Zf(t,D,D.toLowerCase(),E,f,c);continue;case"xlinkHref":Zf(t,D,"xlink:href",E,f,c);continue;case"contentEditable":vm(t,D,"contenteditable",E,f,c);continue;case"spellCheck":vm(t,D,"spellcheck",E,f,c);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":vm(t,D,D,E,f,c);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":gm(t,D,D.toLowerCase(),E,f,c);continue;case"capture":case"download":t:{g=t;var V=y=D,L=c;if(f.delete(V),g=g.getAttribute(V),g===null)switch(typeof E){case"undefined":case"function":case"symbol":break t;default:if(E===!1)break t}else if(E!=null)switch(typeof E){case"function":case"symbol":break;case"boolean":if(E===!0&&g==="")break t;break;default:if(_e(E,y),g===""+E)break t}ln(y,g,E,L)}continue;case"cols":case"rows":case"size":case"span":t:{if(g=t,V=y=D,L=c,f.delete(V),g=g.getAttribute(V),g===null)switch(typeof E){case"undefined":case"function":case"symbol":case"boolean":break t;default:if(isNaN(E)||1>E)break t}else if(E!=null)switch(typeof E){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(E)||1>E)&&(_e(E,y),g===""+E))break t}ln(y,g,E,L)}continue;case"rowSpan":Jr(t,D,"rowspan",E,f,c);continue;case"start":Jr(t,D,D,E,f,c);continue;case"xHeight":La(t,D,"x-height",E,f,c);continue;case"xlinkActuate":La(t,D,"xlink:actuate",E,f,c);continue;case"xlinkArcrole":La(t,D,"xlink:arcrole",E,f,c);continue;case"xlinkRole":La(t,D,"xlink:role",E,f,c);continue;case"xlinkShow":La(t,D,"xlink:show",E,f,c);continue;case"xlinkTitle":La(t,D,"xlink:title",E,f,c);continue;case"xlinkType":La(t,D,"xlink:type",E,f,c);continue;case"xmlBase":La(t,D,"xml:base",E,f,c);continue;case"xmlLang":La(t,D,"xml:lang",E,f,c);continue;case"xmlSpace":La(t,D,"xml:space",E,f,c);continue;case"inert":E!==""||z1[D]||(z1[D]=!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.",D)),gm(t,D,D,E,f,c);continue;default:if(!(2<D.length)||D[0]!=="o"&&D[0]!=="O"||D[1]!=="n"&&D[1]!=="N"){g=gv(D),y=!1,o.context===Ks&&e!=="svg"&&e!=="math"?f.delete(g.toLowerCase()):(V=D.toLowerCase(),V=ui.hasOwnProperty(V)&&ui[V]||null,V!==null&&V!==D&&(y=!0,f.delete(V)),f.delete(g));t:if(V=t,L=g,g=E,kc(L))if(V.hasAttribute(L))V=V.getAttribute(L),_e(g,L),g=V===""+g?g:V;else{switch(typeof g){case"function":case"symbol":break t;case"boolean":if(V=L.toLowerCase().slice(0,5),V!=="data-"&&V!=="aria-")break t}g=g===void 0?void 0:null}else g=void 0;y||ln(D,g,E,c)}}}return 0<f.size&&a.suppressHydrationWarning!==!0&&Qf(t,f,c),Object.keys(c).length===0?null:c}function ab(t,e){switch(t.length){case 0:return"";case 1:return t[0];case 2:return t[0]+" "+e+" "+t[1];default:return t.slice(0,-1).join(", ")+", "+e+" "+t[t.length-1]}}function za(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function lb(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,a=performance.getEntriesByType("resource"),o=0;o<a.length;o++){var c=a[o],f=c.transferSize,y=c.initiatorType,g=c.duration;if(f&&g&&za(y)){for(y=0,g=c.responseEnd,o+=1;o<a.length;o++){var E=a[o],D=E.startTime;if(D>g)break;var V=E.transferSize,L=E.initiatorType;V&&za(L)&&(E=E.responseEnd,y+=V*(E<g?1:(g-D)/(E-D)))}if(--o,e+=8*(f+y)/(c.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}function kf(t){return t.nodeType===9?t:t.ownerDocument}function ib(t){switch(t){case ne:return vp;case Pt:return R1;default:return Ks}}function wo(t,e){if(t===Ks)switch(e){case"svg":return vp;case"math":return R1;default:return Ks}return t===vp&&e==="foreignObject"?Ks:t}function Kr(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}function Tg(){var t=window.event;return t&&t.type==="popstate"?t===H2?!1:(H2=t,!0):(H2=null,!1)}function Qi(){var t=window.event;return t&&t!==V0?t.type:null}function $r(){var t=window.event;return t&&t!==V0?t.timeStamp:-1.1}function ob(t){setTimeout(function(){throw t})}function ub(t,e,a){switch(e){case"button":case"input":case"select":case"textarea":a.autoFocus&&t.focus();break;case"img":a.src?t.src=a.src:a.srcSet&&(t.srcset=a.srcSet)}}function sb(){}function bm(t,e,a,o){Rn(t,e,a,o),t[Ra]=o}function Sm(t){Ju(t,"")}function MT(t,e,a){t.nodeValue=a}function rb(t){if(!t.__reactWarnedAboutChildrenConflict){var e=t[Ra]||null;if(e!==null){var a=Bl(t);a!==null&&(typeof e.children=="string"||typeof e.children=="number"?(t.__reactWarnedAboutChildrenConflict=!0,mt(a,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):e.dangerouslySetInnerHTML!=null&&(t.__reactWarnedAboutChildrenConflict=!0,mt(a,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function Au(t){return t==="head"}function cb(t,e){t.removeChild(e)}function fb(t,e){(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t).removeChild(e)}function Ds(t,e){var a=e,o=0;do{var c=a.nextSibling;if(t.removeChild(a),c&&c.nodeType===8)if(a=c.data,a===B0||a===O1){if(o===0){t.removeChild(c),Os(e);return}o--}else if(a===j0||a===Uc||a===Od||a===gp||a===zd)o++;else if(a===l6)_o(t.ownerDocument.documentElement);else if(a===o6){a=t.ownerDocument.head,_o(a);for(var f=a.firstChild;f;){var y=f.nextSibling,g=f.nodeName;f[fc]||g==="SCRIPT"||g==="STYLE"||g==="LINK"&&f.rel.toLowerCase()==="stylesheet"||a.removeChild(f),f=y}}else a===i6&&_o(t.ownerDocument.body);a=c}while(a);Os(e)}function Jf(t,e){var a=t;t=0;do{var o=a.nextSibling;if(a.nodeType===1?e?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(e?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),o&&o.nodeType===8)if(a=o.data,a===B0){if(t===0)break;t--}else a!==j0&&a!==Uc&&a!==Od&&a!==gp||t++;a=o}while(a)}function db(t){Jf(t,!0)}function hb(t){t=t.style,typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function mb(t){t.nodeValue=""}function pb(t){Jf(t,!1)}function yb(t,e){e=e[u6],e=e!=null&&e.hasOwnProperty("display")?e.display:null,t.style.display=e==null||typeof e=="boolean"?"":(""+e).trim()}function gb(t,e){t.nodeValue=e}function Fr(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var a=e;switch(e=e.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Fr(a),kp(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}t.removeChild(a)}}function vb(t,e,a,o){for(;t.nodeType===1;){var c=a;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!o&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(o){if(!t[fc])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(f=t.getAttribute("rel"),f==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(f!==c.rel||t.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||t.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||t.getAttribute("title")!==(c.title==null?null:c.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(f=t.getAttribute("src"),(f!==(c.src==null?null:c.src)||t.getAttribute("type")!==(c.type==null?null:c.type)||t.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&f&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){_e(c.name,"name");var f=c.name==null?null:""+c.name;if(c.type==="hidden"&&t.getAttribute("name")===f)return t}else return t;if(t=ul(t.nextSibling),t===null)break}return null}function bb(t,e,a){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!a||(t=ul(t.nextSibling),t===null))return null;return t}function Ue(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=ul(t.nextSibling),t===null))return null;return t}function Kf(t){return t.data===Uc||t.data===Od}function Ag(t){return t.data===gp||t.data===Uc&&t.ownerDocument.readyState!==uM}function Sb(t,e){var a=t.ownerDocument;if(t.data===Od)t._reactRetry=e;else if(t.data!==Uc||a.readyState!==uM)e();else{var o=function(){e(),a.removeEventListener("DOMContentLoaded",o)};a.addEventListener("DOMContentLoaded",o),t._reactRetry=o}}function ul(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e===j0||e===gp||e===Uc||e===Od||e===zd||e===j2||e===oM)break;if(e===B0||e===O1)return null}}return t}function Tb(t){if(t.nodeType===1){for(var e=t.nodeName.toLowerCase(),a={},o=t.attributes,c=0;c<o.length;c++){var f=o[c];a[Ro(f.name)]=f.name.toLowerCase()==="style"?Tu(t):f.value}return{type:e,props:a}}return t.nodeType===8?t.data===zd?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:t.nodeValue}function Ab(t,e,a){return a===null||a[a6]!==!0?(t.nodeValue===e?t=null:(e=ai(e),t=ai(t.nodeValue)===e?null:t.nodeValue),t):null}function Wr(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a===B0||a===O1){if(e===0)return ul(t.nextSibling);e--}else a!==j0&&a!==gp&&a!==Uc&&a!==Od&&a!==zd||e++}t=t.nextSibling}return null}function Cs(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a===j0||a===gp||a===Uc||a===Od||a===zd){if(e===0)return t;e--}else a!==B0&&a!==O1||e++}t=t.previousSibling}return null}function Eg(t){Os(t)}function Tm(t){Os(t)}function xg(t){Os(t)}function Uo(t,e,a,o,c){switch(c&&$c(t,o.ancestorInfo),e=kf(a),t){case"html":if(t=e.documentElement,!t)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 t;case"head":if(t=e.head,!t)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 t;case"body":if(t=e.body,!t)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 t;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function Zi(t,e,a,o){if(!a[jo]&&Bl(a)){var c=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.",c,c,c)}switch(t){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(c=a.attributes;c.length;)a.removeAttributeNode(c[0]);We(a,t,e),a[Ie]=o,a[Ra]=e}function _o(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);kp(t)}function Am(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}function Dg(t,e,a){var o=bp;if(o&&typeof e=="string"&&e){var c=Ne(e);c='link[rel="'+t+'"][href="'+c+'"]',typeof a=="string"&&(c+='[crossorigin="'+a+'"]'),hM.has(c)||(hM.add(c),t={rel:t,crossOrigin:a,href:e},o.querySelector(c)===null&&(e=o.createElement("link"),We(e,"link",t),yn(e),o.head.appendChild(e)))}}function Cg(t,e,a,o){var c=(c=sl.current)?Am(c):null;if(!c)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(t){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(a=Ms(a.href),e=vl(c).hoistableStyles,o=e.get(a),o||(o={type:"style",instance:null,count:0,state:null},e.set(a,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){t=Ms(a.href);var f=vl(c).hoistableStyles,y=f.get(t);if(!y&&(c=c.ownerDocument||c,y={type:"stylesheet",instance:null,count:0,state:{loading:wd,preload:null}},f.set(t,y),(f=c.querySelector(Ff(t)))&&!f._p&&(y.instance=f,y.state.loading=H0|oo),!uo.has(t))){var g={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy};uo.set(t,g),f||Eb(c,t,g,y.state)}if(e&&o===null)throw a=`
199
+ 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`,at(t))})}function Ma(t){t!==gm&&t.next===null&&(gm===null?Yv=gm=t:gm=gm.next=t),jv=!0,Y.actQueue!==null?Ab||(Ab=!0,vg()):Eb||(Eb=!0,vg())}function Au(t,e){if(!zb&&jv){zb=!0;do for(var a=!1,i=Yv;i!==null;){if(t!==0){var o=i.pendingLanes;if(o===0)var f=0;else{var d=i.suspendedLanes,h=i.pingedLanes;f=(1<<31-Zl(42|t)+1)-1,f&=o&~(d&~h),f=f&201326741?f&201326741|1:f?f|2:0}f!==0&&(a=!0,ir(i,f))}else f=Jt,f=Ir(i,i===qe?f:0,i.cancelPendingCommit!==null||i.timeoutHandle!==Kr),(f&3)===0||Vl(i,f)||(a=!0,ir(i,f));i=i.next}while(a);zb=!1}}function gg(){bp=window.event,hh()}function hh(){jv=Ab=Eb=!1;var t=0;ls!==0&&a0()&&(t=ls);for(var e=Hl(),a=null,i=Yv;i!==null;){var o=i.next,f=pf(i,e);f===0?(i.next=null,a===null?Yv=o:a.next=o,o===null&&(gm=a)):(a=i,(t!==0||(f&3)!==0)&&(jv=!0)),i=o}Gl!==ts&&Gl!==Bv||Au(t),ls!==0&&(ls=0)}function pf(t,e){for(var a=t.suspendedLanes,i=t.pingedLanes,o=t.expirationTimes,f=t.pendingLanes&-62914561;0<f;){var d=31-Zl(f),h=1<<d,y=o[d];y===-1?((h&a)===0||(h&i)!==0)&&(o[d]=f1(h,e)):y<=e&&(t.expiredLanes|=h),f&=~h}if(e=qe,a=Jt,a=Ir(t,t===e?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==Kr),i=t.callbackNode,a===0||t===e&&(Re===Gr||Re===Xr)||t.cancelPendingCommit!==null)return i!==null&&mh(i),t.callbackNode=null,t.callbackPriority=0;if((a&3)===0||Vl(t,a)){if(e=a&-a,e!==t.callbackPriority||Y.actQueue!==null&&i!==Db)mh(i);else return e;switch(aa(a)){case Al:case Jl:a=jh;break;case Pl:a=io;break;case ic:a=Gh;break;default:a=io}return i=t0.bind(null,t),Y.actQueue!==null?(Y.actQueue.push(i),a=Db):a=O0(a,i),t.callbackPriority=e,t.callbackNode=a,e}return i!==null&&mh(i),t.callbackPriority=2,t.callbackNode=null,2}function t0(t,e){if(gv=pv=!1,bp=window.event,Gl!==ts&&Gl!==Bv)return t.callbackNode=null,t.callbackPriority=0,null;var a=t.callbackNode;if(Si===Nv&&(Si=pb),ar()&&t.callbackNode!==a)return null;var i=Jt;return i=Ir(t,t===qe?i:0,t.cancelPendingCommit!==null||t.timeoutHandle!==Kr),i===0?null:(hg(t,i,e),pf(t,Hl()),t.callbackNode!=null&&t.callbackNode===a?t0.bind(null,t):null)}function ir(t,e){if(ar())return null;pv=gv,gv=!1,hg(t,e,!0)}function mh(t){t!==Db&&t!==null&&wh(t)}function vg(){Y.actQueue!==null&&Y.actQueue.push(function(){return hh(),null}),HE(function(){(se&($l|Fn))!==la?O0(C0,gg):hh()})}function e0(){if(ls===0){var t=Hr;t===0&&(t=Nf,Nf<<=1,(Nf&261888)===0&&(Nf=256)),ls=t}return ls}function re(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:(ze(t,"action"),ys(""+t))}function Oe(t,e){var a=e.ownerDocument.createElement("input");return a.name=e.name,a.value=e.value,t.id&&a.setAttribute("form",t.id),e.parentNode.insertBefore(a,e),t=new FormData(t),a.parentNode.removeChild(a),t}function Pt(t,e,a,i,o){if(e==="submit"&&a&&a.stateNode===o){var f=re((o[ba]||null).action),d=i.submitter;d&&(e=(e=d[ba]||null)?re(e.formAction):d.getAttribute("formAction"),e!==null&&(f=e,d=null));var h=new nv("action","action",null,i,o);t.push({event:h,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(ls!==0){var y=d?Oe(o,d):new FormData(o),p={pending:!0,data:y,method:o.method,action:f};Object.freeze(p),ni(a,p,null,y)}}else typeof f=="function"&&(h.preventDefault(),y=d?Oe(o,d):new FormData(o),p={pending:!0,data:y,method:o.method,action:f},Object.freeze(p),ni(a,p,f,y))},currentTarget:o}]})}}function $t(t,e,a){t.currentTarget=a;try{e(t)}catch(i){q1(i)}t.currentTarget=null}function Ee(t,e){e=(e&4)!==0;for(var a=0;a<t.length;a++){var i=t[a];t:{var o=void 0,f=i.event;if(i=i.listeners,e)for(var d=i.length-1;0<=d;d--){var h=i[d],y=h.instance,p=h.currentTarget;if(h=h.listener,y!==o&&f.isPropagationStopped())break t;y!==null?$(y,$t,f,h,p):$t(f,h,p),o=y}else for(d=0;d<i.length;d++){if(h=i[d],y=h.instance,p=h.currentTarget,h=h.listener,y!==o&&f.isPropagationStopped())break t;y!==null?$(y,$t,f,h,p):$t(f,h,p),o=y}}}}function Dt(t,e){Mb.has(t)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',t);var a=e[oo];a===void 0&&(a=e[oo]=new Set);var i=t+"__bubble";a.has(i)||(yh(e,t,2,!1),a.add(i))}function zu(t,e,a){Mb.has(t)&&!e&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',t);var i=0;e&&(i|=4),yh(a,t,i,e)}function Pi(t){if(!t[Gv]){t[Gv]=!0,Pg.forEach(function(a){a!=="selectionchange"&&(Mb.has(a)||zu(a,!1,t),zu(a,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Gv]||(e[Gv]=!0,zu("selectionchange",!1,e))}}function yh(t,e,a,i){switch(Uh(e)){case Al:var o=p0;break;case Jl:o=Ll;break;default:o=g0}a=o.bind(null,e,a,t),o=void 0,!O1||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(o=!0),i?o!==void 0?t.addEventListener(e,a,{capture:!0,passive:o}):t.addEventListener(e,a,!0):o!==void 0?t.addEventListener(e,a,{passive:o}):t.addEventListener(e,a,!1)}function Xn(t,e,a,i,o){var f=i;if((e&1)===0&&(e&2)===0&&i!==null)t:for(;;){if(i===null)return;var d=i.tag;if(d===3||d===4){var h=i.stateNode.containerInfo;if(h===o)break;if(d===4)for(d=i.return;d!==null;){var y=d.tag;if((y===3||y===4)&&d.stateNode.containerInfo===o)return;d=d.return}for(;h!==null;){if(d=Zu(h),d===null)return;if(y=d.tag,y===5||y===6||y===26||y===27){i=f=d;continue t}h=h.parentNode}}i=i.return}dd(function(){var p=f,D=Dn(a),O=[];t:{var S=gS.get(t);if(S!==void 0){var N=nv,F=t;switch(t){case"keypress":if(ps(a)===0)break t;case"keydown":case"keyup":N=Y3;break;case"focusin":F="focus",N=x1;break;case"focusout":F="blur",N=x1;break;case"beforeblur":case"afterblur":N=x1;break;case"click":if(a.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":N=aS;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":N=M3;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":N=X3;break;case hS:case mS:case yS:N=U3;break;case pS:N=Q3;break;case"scroll":case"scrollend":N=z3;break;case"wheel":N=Z3;break;case"copy":case"cut":case"paste":N=x3;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":N=uS;break;case"toggle":case"beforetoggle":N=K3}var nt=(e&4)!==0,je=!nt&&(t==="scroll"||t==="scrollend"),ne=nt?S!==null?S+"Capture":null:S;nt=[];for(var b=p,T;b!==null;){var z=b;if(T=z.stateNode,z=z.tag,z!==5&&z!==26&&z!==27||T===null||ne===null||(z=nu(b,ne),z!=null&&nt.push(Be(b,z,T))),je)break;b=b.return}0<nt.length&&(S=new N(S,F,null,a,D),O.push({event:S,listeners:nt}))}}if((e&7)===0){t:{if(S=t==="mouseover"||t==="pointerover",N=t==="mouseout"||t==="pointerout",S&&a!==H0&&(F=a.relatedTarget||a.fromElement)&&(Zu(F)||F[mi]))break t;if((N||S)&&(S=D.window===D?D:(S=D.ownerDocument)?S.defaultView||S.parentWindow:window,N?(F=a.relatedTarget||a.toElement,N=p,F=F?Zu(F):null,F!==null&&(je=zt(F),nt=F.tag,F!==je||nt!==5&&nt!==27&&nt!==6)&&(F=null)):(N=null,F=p),N!==F)){if(nt=aS,z="onMouseLeave",ne="onMouseEnter",b="mouse",(t==="pointerout"||t==="pointerover")&&(nt=uS,z="onPointerLeave",ne="onPointerEnter",b="pointer"),je=N==null?S:Di(N),T=F==null?S:Di(F),S=new nt(z,b+"leave",N,a,D),S.target=je,S.relatedTarget=T,z=null,Zu(D)===p&&(nt=new nt(ne,b+"enter",F,a,D),nt.target=T,nt.relatedTarget=je,z=nt),je=z,N&&F)e:{for(nt=Ic,ne=N,b=F,T=0,z=ne;z;z=nt(z))T++;z=0;for(var X=b;X;X=nt(X))z++;for(;0<T-z;)ne=nt(ne),T--;for(;0<z-T;)b=nt(b),z--;for(;T--;){if(ne===b||b!==null&&ne===b.alternate){nt=ne;break e}ne=nt(ne),b=nt(b)}nt=null}else nt=null;N!==null&&ph(O,S,N,nt,!1),F!==null&&je!==null&&ph(O,je,F,nt,!0)}}t:{if(S=p?Di(p):window,N=S.nodeName&&S.nodeName.toLowerCase(),N==="select"||N==="input"&&S.type==="file")var P=Ui;else if(Gm(S))if(rS)P=Ss;else{P=Xm;var xt=h1}else N=S.nodeName,!N||N.toLowerCase()!=="input"||S.type!=="checkbox"&&S.type!=="radio"?p&&au(p.elementType)&&(P=Ui):P=Vm;if(P&&(P=P(t,p))){vs(O,P,a,D);break t}xt&&xt(t,S,p),t==="focusout"&&p&&S.type==="number"&&p.memoizedProps.value!=null&&xm(S,"number",S.value)}switch(xt=p?Di(p):window,t){case"focusin":(Gm(xt)||xt.contentEditable==="true")&&($h=xt,H1=p,G0=null);break;case"focusout":G0=H1=$h=null;break;case"mousedown":N1=!0;break;case"contextmenu":case"mouseup":case"dragend":N1=!1,Gp(O,a,D);break;case"selectionchange":if(F3)break;case"keydown":case"keyup":Gp(O,a,D)}var pt;if(_1)t:{switch(t){case"compositionstart":var dt="onCompositionStart";break t;case"compositionend":dt="onCompositionEnd";break t;case"compositionupdate":dt="onCompositionUpdate";break t}dt=void 0}else Kh?qo(t,a)&&(dt="onCompositionEnd"):t==="keydown"&&a.keyCode===iS&&(dt="onCompositionStart");dt&&(cS&&a.locale!=="ko"&&(Kh||dt!=="onCompositionStart"?dt==="onCompositionEnd"&&Kh&&(pt=Ec()):(jf=D,C1="value"in jf?jf.value:jf.textContent,Kh=!0)),xt=Vn(p,dt),0<xt.length&&(dt=new nS(dt,t,null,a,D),O.push({event:dt,listeners:xt}),pt?dt.data=pt:(pt=$u(a),pt!==null&&(dt.data=pt)))),(pt=k3?jm(t,a):hd(t,a))&&(dt=Vn(p,"onBeforeInput"),0<dt.length&&(xt=new H3("onBeforeInput","beforeinput",null,a,D),O.push({event:xt,listeners:dt}),xt.data=pt)),Pt(O,t,p,a,D)}Ee(O,e)})}function Be(t,e,a){return{instance:t,listener:e,currentTarget:a}}function Vn(t,e){for(var a=e+"Capture",i=[];t!==null;){var o=t,f=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||f===null||(o=nu(t,a),o!=null&&i.unshift(Be(t,o,f)),o=nu(t,e),o!=null&&i.push(Be(t,o,f))),t.tag===3)return i;t=t.return}return[]}function Ic(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function ph(t,e,a,i,o){for(var f=e._reactName,d=[];a!==null&&a!==i;){var h=a,y=h.alternate,p=h.stateNode;if(h=h.tag,y!==null&&y===i)break;h!==5&&h!==26&&h!==27||p===null||(y=p,o?(p=nu(a,f),p!=null&&d.unshift(Be(a,p,y))):o||(p=nu(a,f),p!=null&&d.push(Be(a,p,y)))),a=a.return}d.length!==0&&t.push({event:e,listeners:d})}function pa(t,e){Bp(t,e),t!=="input"&&t!=="textarea"&&t!=="select"||e==null||e.value!==null||eS||(eS=!0,t==="select"&&e.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.",t):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",t));var a={registrationNameDependencies:xu,possibleRegistrationNames:qf};au(t)||typeof e.is=="string"||d1(t,e,a),e.contentEditable&&!e.suppressContentEditableWarning&&e.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 Pe(t,e,a,i){e!==a&&(a=Qn(a),Qn(e)!==a&&(i[t]=e))}function cr(t,e,a){e.forEach(function(i){a[fi(i)]=i==="style"?tc(t):t.getAttribute(i)})}function tl(t,e){e===!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.",t,t,t):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",t,typeof e)}function gh(t,e){return t=t.namespaceURI===Nt||t.namespaceURI===Xt?t.ownerDocument.createElementNS(t.namespaceURI,t.tagName):t.ownerDocument.createElement(t.tagName),t.innerHTML=e,t.innerHTML}function Qn(t){return Pn(t)&&(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.",Fe(t)),hc(t)),(typeof t=="string"?t:""+t).replace(zE,`
200
+ `).replace(DE,"")}function l0(t,e){return e=Qn(e),Qn(t)===e}function pe(t,e,a,i,o,f){switch(a){case"children":typeof i=="string"?(ms(i,e,!1),e==="body"||e==="textarea"&&i===""||Tc(t,i)):(typeof i=="number"||typeof i=="bigint")&&(ms(""+i,e,!1),e!=="body"&&Tc(t,""+i));break;case"className":rs(t,"class",i);break;case"tabIndex":rs(t,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":rs(t,a,i);break;case"style":wm(t,i,f);break;case"data":if(e!=="object"){rs(t,"data",i);break}case"src":case"href":if(i===""&&(e!=="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),t.removeAttribute(a);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){t.removeAttribute(a);break}ze(i,a),i=ys(""+i),t.setAttribute(a,i);break;case"action":case"formAction":if(i!=null&&(e==="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||Qv||(Qv=!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||Vv||(Vv=!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."))):e==="input"||e==="button"?a==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):e!=="input"||o.type==="submit"||o.type==="image"||Xv?e!=="button"||o.type==null||o.type==="submit"||Xv?typeof i=="function"&&(o.name==null||G2||(G2=!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||Qv||(Qv=!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||Vv||(Vv=!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."))):(Xv=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(Xv=!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"){t.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"?(e!=="input"&&pe(t,e,"name",o.name,o,null),pe(t,e,"formEncType",o.formEncType,o,null),pe(t,e,"formMethod",o.formMethod,o,null),pe(t,e,"formTarget",o.formTarget,o,null)):(pe(t,e,"encType",o.encType,o,null),pe(t,e,"method",o.method,o,null),pe(t,e,"target",o.target,o,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){t.removeAttribute(a);break}ze(i,a),i=ys(""+i),t.setAttribute(a,i);break;case"onClick":i!=null&&(typeof i!="function"&&tl(a,i),t.onclick=nn);break;case"onScroll":i!=null&&(typeof i!="function"&&tl(a,i),Dt("scroll",t));break;case"onScrollEnd":i!=null&&(typeof i!="function"&&tl(a,i),Dt("scrollend",t));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`.");t.innerHTML=a}}break;case"multiple":t.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":t.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"){t.removeAttribute("xlink:href");break}ze(i,a),a=ys(""+i),t.setAttributeNS(Lr,"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"?(ze(i,a),t.setAttribute(a,""+i)):t.removeAttribute(a);break;case"inert":i!==""||Lv[a]||(Lv[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"?t.setAttribute(a,""):t.removeAttribute(a);break;case"capture":case"download":i===!0?t.setAttribute(a,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?(ze(i,a),t.setAttribute(a,i)):t.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?(ze(i,a),t.setAttribute(a,i)):t.removeAttribute(a);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?t.removeAttribute(a):(ze(i,a),t.setAttribute(a,i));break;case"popover":Dt("beforetoggle",t),Dt("toggle",t),ed(t,"popover",i);break;case"xlinkActuate":tu(t,Lr,"xlink:actuate",i);break;case"xlinkArcrole":tu(t,Lr,"xlink:arcrole",i);break;case"xlinkRole":tu(t,Lr,"xlink:role",i);break;case"xlinkShow":tu(t,Lr,"xlink:show",i);break;case"xlinkTitle":tu(t,Lr,"xlink:title",i);break;case"xlinkType":tu(t,Lr,"xlink:type",i);break;case"xmlBase":tu(t,Ob,"xml:base",i);break;case"xmlLang":tu(t,Ob,"xml:lang",i);break;case"xmlSpace":tu(t,Ob,"xml:space",i);break;case"is":f!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),ed(t,"is",i);break;case"innerText":case"textContent":break;case"popoverTarget":X2||i==null||typeof i!="object"||(X2=!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=Hp(a),ed(t,a,i)):xu.hasOwnProperty(a)&&i!=null&&typeof i!="function"&&tl(a,i)}}function gf(t,e,a,i,o,f){switch(a){case"style":wm(t,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`.");t.innerHTML=a}}break;case"children":typeof i=="string"?Tc(t,i):(typeof i=="number"||typeof i=="bigint")&&Tc(t,""+i);break;case"onScroll":i!=null&&(typeof i!="function"&&tl(a,i),Dt("scroll",t));break;case"onScrollEnd":i!=null&&(typeof i!="function"&&tl(a,i),Dt("scrollend",t));break;case"onClick":i!=null&&(typeof i!="function"&&tl(a,i),t.onclick=nn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(xu.hasOwnProperty(a))i!=null&&typeof i!="function"&&tl(a,i);else t:{if(a[0]==="o"&&a[1]==="n"&&(o=a.endsWith("Capture"),e=a.slice(2,o?a.length-7:void 0),f=t[ba]||null,f=f!=null?f[a]:null,typeof f=="function"&&t.removeEventListener(e,f,o),typeof i=="function")){typeof f!="function"&&f!==null&&(a in t?t[a]=null:t.hasAttribute(a)&&t.removeAttribute(a)),t.addEventListener(e,i,o);break t}a in t?t[a]=i:i===!0?t.setAttribute(a,""):ed(t,a,i)}}}function Le(t,e,a){switch(pa(e,a),e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Dt("error",t),Dt("load",t);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(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:pe(t,e,f,d,a,null)}}o&&pe(t,e,"srcSet",a.srcSet,a,null),i&&pe(t,e,"src",a.src,a,null);return;case"input":pc("input",a),Dt("invalid",t);var h=f=d=o=null,y=null,p=null;for(i in a)if(a.hasOwnProperty(i)){var D=a[i];if(D!=null)switch(i){case"name":o=D;break;case"type":d=D;break;case"checked":y=D;break;case"defaultChecked":p=D;break;case"value":f=D;break;case"defaultValue":h=D;break;case"children":case"dangerouslySetInnerHTML":if(D!=null)throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:pe(t,e,i,D,a,null)}}na(t,a),nd(t,f,h,y,p,d,o,!1);return;case"select":pc("select",a),Dt("invalid",t),i=d=f=null;for(o in a)if(a.hasOwnProperty(o)&&(h=a[o],h!=null))switch(o){case"value":f=h;break;case"defaultValue":d=h;break;case"multiple":i=h;default:pe(t,e,o,h,a,null)}ud(t,a),e=f,a=d,t.multiple=!!i,e!=null?eu(t,!!i,e,!1):a!=null&&eu(t,!!i,a,!0);return;case"textarea":pc("textarea",a),Dt("invalid",t),f=o=i=null;for(d in a)if(a.hasOwnProperty(d)&&(h=a[d],h!=null))switch(d){case"value":i=h;break;case"defaultValue":o=h;break;case"children":f=h;break;case"dangerouslySetInnerHTML":if(h!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:pe(t,e,d,h,a,null)}gc(t,a),xo(t,i,o,f);return;case"option":_p(t,a);for(y in a)if(a.hasOwnProperty(y)&&(i=a[y],i!=null))switch(y){case"selected":t.selected=i&&typeof i!="function"&&typeof i!="symbol";break;default:pe(t,e,y,i,a,null)}return;case"dialog":Dt("beforetoggle",t),Dt("toggle",t),Dt("cancel",t),Dt("close",t);break;case"iframe":case"object":Dt("load",t);break;case"video":case"audio":for(i=0;i<pp.length;i++)Dt(pp[i],t);break;case"image":Dt("error",t),Dt("load",t);break;case"details":Dt("toggle",t);break;case"embed":case"source":case"link":Dt("error",t),Dt("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(p in a)if(a.hasOwnProperty(p)&&(i=a[p],i!=null))switch(p){case"children":case"dangerouslySetInnerHTML":throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:pe(t,e,p,i,a,null)}return;default:if(au(e)){for(D in a)a.hasOwnProperty(D)&&(i=a[D],i!==void 0&&gf(t,e,D,i,a,void 0));return}}for(h in a)a.hasOwnProperty(h)&&(i=a[h],i!=null&&pe(t,e,h,i,a,null))}function Tl(t,e,a,i){switch(pa(e,i),e){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,h=null,y=null,p=null,D=null;for(N in a){var O=a[N];if(a.hasOwnProperty(N)&&O!=null)switch(N){case"checked":break;case"value":break;case"defaultValue":y=O;default:i.hasOwnProperty(N)||pe(t,e,N,null,i,O)}}for(var S in i){var N=i[S];if(O=a[S],i.hasOwnProperty(S)&&(N!=null||O!=null))switch(S){case"type":f=N;break;case"name":o=N;break;case"checked":p=N;break;case"defaultChecked":D=N;break;case"value":d=N;break;case"defaultValue":h=N;break;case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:N!==O&&pe(t,e,S,N,i,O)}}e=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,e||!i||j2||(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"),j2=!0),!e||i||Y2||(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"),Y2=!0),Mi(t,d,h,y,p,D,f,o);return;case"select":N=d=h=S=null;for(f in a)if(y=a[f],a.hasOwnProperty(f)&&y!=null)switch(f){case"value":break;case"multiple":N=y;default:i.hasOwnProperty(f)||pe(t,e,f,null,i,y)}for(o in i)if(f=i[o],y=a[o],i.hasOwnProperty(o)&&(f!=null||y!=null))switch(o){case"value":S=f;break;case"defaultValue":h=f;break;case"multiple":d=f;default:f!==y&&pe(t,e,o,f,i,y)}i=h,e=d,a=N,S!=null?eu(t,!!e,S,!1):!!a!=!!e&&(i!=null?eu(t,!!e,i,!0):eu(t,!!e,e?[]:"",!1));return;case"textarea":N=S=null;for(h in a)if(o=a[h],a.hasOwnProperty(h)&&o!=null&&!i.hasOwnProperty(h))switch(h){case"value":break;case"children":break;default:pe(t,e,h,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":S=o;break;case"defaultValue":N=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:o!==f&&pe(t,e,d,o,i,f)}vc(t,S,N);return;case"option":for(var F in a)if(S=a[F],a.hasOwnProperty(F)&&S!=null&&!i.hasOwnProperty(F))switch(F){case"selected":t.selected=!1;break;default:pe(t,e,F,null,i,S)}for(y in i)if(S=i[y],N=a[y],i.hasOwnProperty(y)&&S!==N&&(S!=null||N!=null))switch(y){case"selected":t.selected=S&&typeof S!="function"&&typeof S!="symbol";break;default:pe(t,e,y,S,i,N)}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 nt in a)S=a[nt],a.hasOwnProperty(nt)&&S!=null&&!i.hasOwnProperty(nt)&&pe(t,e,nt,null,i,S);for(p in i)if(S=i[p],N=a[p],i.hasOwnProperty(p)&&S!==N&&(S!=null||N!=null))switch(p){case"children":case"dangerouslySetInnerHTML":if(S!=null)throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:pe(t,e,p,S,i,N)}return;default:if(au(e)){for(var je in a)S=a[je],a.hasOwnProperty(je)&&S!==void 0&&!i.hasOwnProperty(je)&&gf(t,e,je,void 0,i,S);for(D in i)S=i[D],N=a[D],!i.hasOwnProperty(D)||S===N||S===void 0&&N===void 0||gf(t,e,D,S,i,N);return}}for(var ne in a)S=a[ne],a.hasOwnProperty(ne)&&S!=null&&!i.hasOwnProperty(ne)&&pe(t,e,ne,null,i,S);for(O in i)S=i[O],N=a[O],!i.hasOwnProperty(O)||S===N||S==null&&N==null||pe(t,e,O,S,i,N)}function fi(t){switch(t){case"class":return"className";case"for":return"htmlFor";default:return t}}function tc(t){var e={};t=t.style;for(var a=0;a<t.length;a++){var i=t[a];e[i]=t.getPropertyValue(i)}return e}function Du(t,e,a){if(e!=null&&typeof e!="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 e)if(e.hasOwnProperty(f)){var d=e[f];d!=null&&typeof d!="boolean"&&d!==""&&(f.indexOf("--")===0?(zm(d,f),i+=o+f+":"+(""+d).trim()):typeof d!="number"||d===0||rt.has(f)?(zm(d,f),i+=o+f.replace(j,"-$1").toLowerCase().replace(ft,"-ms-")+":"+(""+d).trim()):i+=o+f.replace(j,"-$1").toLowerCase().replace(ft,"-ms-")+":"+d+"px",o=";")}i=i||null,e=t.getAttribute("style"),e!==i&&(i=Qn(i),Qn(e)!==i&&(a.style=tc(t)))}}function Oa(t,e,a,i,o,f){if(o.delete(a),t=t.getAttribute(a),t===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(ze(i,e),t===""+i)return}Pe(e,t,i,f)}function vh(t,e,a,i,o,f){if(o.delete(a),t=t.getAttribute(a),t===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}Pe(e,t,i,f)}function bh(t,e,a,i,o,f){if(o.delete(a),t=t.getAttribute(a),t===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(ze(i,a),t===""+i)return}Pe(e,t,i,f)}function vf(t,e,a,i,o,f){if(o.delete(a),t=t.getAttribute(a),t===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)&&(ze(i,e),t===""+i))return}Pe(e,t,i,f)}function or(t,e,a,i,o,f){if(o.delete(a),t=t.getAttribute(a),t===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(ze(i,e),a=ys(""+i),t===a)return}Pe(e,t,i,f)}function Ca(t,e,a,i){for(var o={},f=new Set,d=t.attributes,h=0;h<d.length;h++)switch(d[h].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:f.add(d[h].name)}if(au(e)){for(var y in a)if(a.hasOwnProperty(y)){var p=a[y];if(p!=null){if(xu.hasOwnProperty(y))typeof p!="function"&&tl(y,p);else if(a.suppressHydrationWarning!==!0)switch(y){case"children":typeof p!="string"&&typeof p!="number"||Pe("children",t.textContent,p,o);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":d=t.innerHTML,p=p?p.__html:void 0,p!=null&&(p=gh(t,p),Pe(y,d,p,o));continue;case"style":f.delete(y),Du(t,p,o);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":f.delete(y.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",y);continue;case"className":f.delete("class"),d=Ro(t,"class",p),Pe("className",d,p,o);continue;default:i.context===Ao&&e!=="svg"&&e!=="math"?f.delete(y.toLowerCase()):f.delete(y),d=Ro(t,y,p),Pe(y,d,p,o)}}}}else for(p in a)if(a.hasOwnProperty(p)&&(y=a[p],y!=null)){if(xu.hasOwnProperty(p))typeof y!="function"&&tl(p,y);else if(a.suppressHydrationWarning!==!0)switch(p){case"children":typeof y!="string"&&typeof y!="number"||Pe("children",t.textContent,y,o);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":d=t.innerHTML,y=y?y.__html:void 0,y!=null&&(y=gh(t,y),d!==y&&(o[p]={__html:d}));continue;case"className":Oa(t,p,"class",y,f,o);continue;case"tabIndex":Oa(t,p,"tabindex",y,f,o);continue;case"style":f.delete(p),Du(t,y,o);continue;case"multiple":f.delete(p),Pe(p,t.multiple,y,o);continue;case"muted":f.delete(p),Pe(p,t.muted,y,o);continue;case"autoFocus":f.delete("autofocus"),Pe(p,t.autofocus,y,o);continue;case"data":if(e!=="object"){f.delete(p),d=t.getAttribute("data"),Pe(p,d,y,o);continue}case"src":case"href":if(!(y!==""||e==="a"&&p==="href"||e==="object"&&p==="data")){console.error(p==="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.',p,p);continue}or(t,p,p,y,f,o);continue;case"action":case"formAction":if(d=t.getAttribute(p),typeof y=="function"){f.delete(p.toLowerCase()),p==="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===ME){f.delete(p.toLowerCase()),Pe(p,"function",y,o);continue}or(t,p,p.toLowerCase(),y,f,o);continue;case"xlinkHref":or(t,p,"xlink:href",y,f,o);continue;case"contentEditable":bh(t,p,"contenteditable",y,f,o);continue;case"spellCheck":bh(t,p,"spellcheck",y,f,o);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":bh(t,p,p,y,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":vh(t,p,p.toLowerCase(),y,f,o);continue;case"capture":case"download":t:{h=t;var D=d=p,O=o;if(f.delete(D),h=h.getAttribute(D),h===null)switch(typeof y){case"undefined":case"function":case"symbol":break t;default:if(y===!1)break t}else if(y!=null)switch(typeof y){case"function":case"symbol":break;case"boolean":if(y===!0&&h==="")break t;break;default:if(ze(y,d),h===""+y)break t}Pe(d,h,y,O)}continue;case"cols":case"rows":case"size":case"span":t:{if(h=t,D=d=p,O=o,f.delete(D),h=h.getAttribute(D),h===null)switch(typeof y){case"undefined":case"function":case"symbol":case"boolean":break t;default:if(isNaN(y)||1>y)break t}else if(y!=null)switch(typeof y){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(y)||1>y)&&(ze(y,d),h===""+y))break t}Pe(d,h,y,O)}continue;case"rowSpan":vf(t,p,"rowspan",y,f,o);continue;case"start":vf(t,p,p,y,f,o);continue;case"xHeight":Oa(t,p,"x-height",y,f,o);continue;case"xlinkActuate":Oa(t,p,"xlink:actuate",y,f,o);continue;case"xlinkArcrole":Oa(t,p,"xlink:arcrole",y,f,o);continue;case"xlinkRole":Oa(t,p,"xlink:role",y,f,o);continue;case"xlinkShow":Oa(t,p,"xlink:show",y,f,o);continue;case"xlinkTitle":Oa(t,p,"xlink:title",y,f,o);continue;case"xlinkType":Oa(t,p,"xlink:type",y,f,o);continue;case"xmlBase":Oa(t,p,"xml:base",y,f,o);continue;case"xmlLang":Oa(t,p,"xml:lang",y,f,o);continue;case"xmlSpace":Oa(t,p,"xml:space",y,f,o);continue;case"inert":y!==""||Lv[p]||(Lv[p]=!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.",p)),vh(t,p,p,y,f,o);continue;default:if(!(2<p.length)||p[0]!=="o"&&p[0]!=="O"||p[1]!=="n"&&p[1]!=="N"){h=Hp(p),d=!1,i.context===Ao&&e!=="svg"&&e!=="math"?f.delete(h.toLowerCase()):(D=p.toLowerCase(),D=Kn.hasOwnProperty(D)&&Kn[D]||null,D!==null&&D!==p&&(d=!0,f.delete(D)),f.delete(h));t:if(D=t,O=h,h=y,ss(O))if(D.hasAttribute(O))D=D.getAttribute(O),ze(h,O),h=D===""+h?h:D;else{switch(typeof h){case"function":case"symbol":break t;case"boolean":if(D=O.toLowerCase().slice(0,5),D!=="data-"&&D!=="aria-")break t}h=h===void 0?void 0:null}else h=void 0;d||Pe(p,h,y,o)}}}return 0<f.size&&a.suppressHydrationWarning!==!0&&cr(t,f,o),Object.keys(o).length===0?null:o}function bg(t,e){switch(t.length){case 0:return"";case 1:return t[0];case 2:return t[0]+" "+e+" "+t[1];default:return t.slice(0,-1).join(", ")+", "+e+" "+t[t.length-1]}}function ga(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Sg(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,a=performance.getEntriesByType("resource"),i=0;i<a.length;i++){var o=a[i],f=o.transferSize,d=o.initiatorType,h=o.duration;if(f&&h&&ga(d)){for(d=0,h=o.responseEnd,i+=1;i<a.length;i++){var y=a[i],p=y.startTime;if(p>h)break;var D=y.transferSize,O=y.initiatorType;D&&ga(O)&&(y=y.responseEnd,d+=D*(y<h?1:(h-p)/(y-p)))}if(--i,e+=8*(f+d)/(o.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}function fr(t){return t.nodeType===9?t:t.ownerDocument}function Tg(t){switch(t){case Xt:return bm;case Nt:return Jv;default:return Ao}}function si(t,e){if(t===Ao)switch(e){case"svg":return bm;case"math":return Jv;default:return Ao}return t===bm&&e==="foreignObject"?Ao:t}function bf(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}function a0(){var t=window.event;return t&&t.type==="popstate"?t===xb?!1:(xb=t,!0):(xb=null,!1)}function Mu(){var t=window.event;return t&&t!==bp?t.type:null}function Sf(){var t=window.event;return t&&t!==bp?t.timeStamp:-1.1}function Eg(t){setTimeout(function(){throw t})}function Ag(t,e,a){switch(e){case"button":case"input":case"select":case"textarea":a.autoFocus&&t.focus();break;case"img":a.src?t.src=a.src:a.srcSet&&(t.srcset=a.srcSet)}}function zg(){}function Sh(t,e,a,i){Tl(t,e,a,i),t[ba]=i}function Th(t){Tc(t,"")}function S1(t,e,a){t.nodeValue=a}function Dg(t){if(!t.__reactWarnedAboutChildrenConflict){var e=t[ba]||null;if(e!==null){var a=En(t);a!==null&&(typeof e.children=="string"||typeof e.children=="number"?(t.__reactWarnedAboutChildrenConflict=!0,$(a,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):e.dangerouslySetInnerHTML!=null&&(t.__reactWarnedAboutChildrenConflict=!0,$(a,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function ec(t){return t==="head"}function Mg(t,e){t.removeChild(e)}function Og(t,e){(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t).removeChild(e)}function Pc(t,e){var a=e,i=0;do{var o=a.nextSibling;if(t.removeChild(a),o&&o.nodeType===8)if(a=o.data,a===vp||a===Zv){if(i===0){t.removeChild(o),ao(e);return}i--}else if(a===gp||a===as||a===Jr||a===vm||a===Zr)i++;else if(a===CE)di(t.ownerDocument.documentElement);else if(a===RE){a=t.ownerDocument.head,di(a);for(var f=a.firstChild;f;){var d=f.nextSibling,h=f.nodeName;f[wf]||h==="SCRIPT"||h==="STYLE"||h==="LINK"&&f.rel.toLowerCase()==="stylesheet"||a.removeChild(f),f=d}}else a===UE&&di(t.ownerDocument.body);a=o}while(a);ao(e)}function sr(t,e){var a=t;t=0;do{var i=a.nextSibling;if(a.nodeType===1?e?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(e?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),i&&i.nodeType===8)if(a=i.data,a===vp){if(t===0)break;t--}else a!==gp&&a!==as&&a!==Jr&&a!==vm||t++;a=i}while(a)}function Cg(t){sr(t,!0)}function Ug(t){t=t.style,typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function Rg(t){t.nodeValue=""}function xg(t){sr(t,!1)}function _g(t,e){e=e[xE],e=e!=null&&e.hasOwnProperty("display")?e.display:null,t.style.display=e==null||typeof e=="boolean"?"":(""+e).trim()}function Hg(t,e){t.nodeValue=e}function Tf(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var a=e;switch(e=e.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Tf(a),Cm(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}t.removeChild(a)}}function Ng(t,e,a,i){for(;t.nodeType===1;){var o=a;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!i&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(i){if(!t[wf])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(f=t.getAttribute("rel"),f==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(f!==o.rel||t.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||t.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||t.getAttribute("title")!==(o.title==null?null:o.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(f=t.getAttribute("src"),(f!==(o.src==null?null:o.src)||t.getAttribute("type")!==(o.type==null?null:o.type)||t.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&f&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){ze(o.name,"name");var f=o.name==null?null:""+o.name;if(o.type==="hidden"&&t.getAttribute("name")===f)return t}else return t;if(t=Ka(t.nextSibling),t===null)break}return null}function Bg(t,e,a){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!a||(t=Ka(t.nextSibling),t===null))return null;return t}function Ae(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Ka(t.nextSibling),t===null))return null;return t}function rr(t){return t.data===as||t.data===Jr}function n0(t){return t.data===vm||t.data===as&&t.ownerDocument.readyState!==Q2}function wg(t,e){var a=t.ownerDocument;if(t.data===Jr)t._reactRetry=e;else if(t.data!==as||a.readyState!==Q2)e();else{var i=function(){e(),a.removeEventListener("DOMContentLoaded",i)};a.addEventListener("DOMContentLoaded",i),t._reactRetry=i}}function Ka(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e===gp||e===vm||e===as||e===Jr||e===Zr||e===Cb||e===V2)break;if(e===vp||e===Zv)return null}}return t}function qg(t){if(t.nodeType===1){for(var e=t.nodeName.toLowerCase(),a={},i=t.attributes,o=0;o<i.length;o++){var f=i[o];a[fi(f.name)]=f.name.toLowerCase()==="style"?tc(t):f.value}return{type:e,props:a}}return t.nodeType===8?t.data===Zr?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:t.nodeValue}function Yg(t,e,a){return a===null||a[OE]!==!0?(t.nodeValue===e?t=null:(e=Qn(e),t=Qn(t.nodeValue)===e?null:t.nodeValue),t):null}function Ef(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a===vp||a===Zv){if(e===0)return Ka(t.nextSibling);e--}else a!==gp&&a!==vm&&a!==as&&a!==Jr&&a!==Zr||e++}t=t.nextSibling}return null}function to(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a===gp||a===vm||a===as||a===Jr||a===Zr){if(e===0)return t;e--}else a!==vp&&a!==Zv||e++}t=t.previousSibling}return null}function u0(t){ao(t)}function Eh(t){ao(t)}function i0(t){ao(t)}function ri(t,e,a,i,o){switch(o&&hs(t,i.ancestorInfo),e=fr(a),t){case"html":if(t=e.documentElement,!t)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 t;case"head":if(t=e.head,!t)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 t;case"body":if(t=e.body,!t)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 t;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function Ou(t,e,a,i){if(!a[mi]&&En(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(t){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]);Le(a,t,e),a[Ze]=i,a[ba]=e}function di(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Cm(t)}function Ah(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}function c0(t,e,a){var i=Sm;if(i&&typeof e=="string"&&e){var o=De(e);o='link[rel="'+t+'"][href="'+o+'"]',typeof a=="string"&&(o+='[crossorigin="'+a+'"]'),k2.has(o)||(k2.add(o),t={rel:t,crossOrigin:a,href:e},i.querySelector(o)===null&&(e=i.createElement("link"),Le(e,"link",t),ol(e),i.head.appendChild(e)))}}function o0(t,e,a,i){var o=(o=$a.current)?Ah(o):null;if(!o)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(t){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(a=eo(a.href),e=an(o).hoistableStyles,i=e.get(a),i||(i={type:"style",instance:null,count:0,state:null},e.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"){t=eo(a.href);var f=an(o).hoistableStyles,d=f.get(t);if(!d&&(o=o.ownerDocument||o,d={type:"stylesheet",instance:null,count:0,state:{loading:$r,preload:null}},f.set(t,d),(f=o.querySelector(hr(t)))&&!f._p&&(d.instance=f,d.state.loading=Sp|Vu),!Qu.has(t))){var h={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy};Qu.set(t,h),f||jg(o,t,h,d.state)}if(e&&i===null)throw a=`
222
201
 
223
- - `+$f(e)+`
224
- + `+$f(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 y}if(e&&o!==null)throw a=`
202
+ - `+dr(e)+`
203
+ + `+dr(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(e&&i!==null)throw a=`
225
204
 
226
- - `+$f(e)+`
227
- + `+$f(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 e=a.async,a=a.src,typeof a=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(a=zs(a),e=vl(c).hoistableScripts,o=e.get(a),o||(o={type:"script",instance:null,count:0,state:null},e.set(a,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+t+'". this is a bug in React.')}}function $f(t){var e=0,a="<link";return typeof t.rel=="string"?(e++,a+=' rel="'+t.rel+'"'):rl.call(t,"rel")&&(e++,a+=' rel="'+(t.rel===null?"null":"invalid type "+typeof t.rel)+'"'),typeof t.href=="string"?(e++,a+=' href="'+t.href+'"'):rl.call(t,"href")&&(e++,a+=' href="'+(t.href===null?"null":"invalid type "+typeof t.href)+'"'),typeof t.precedence=="string"?(e++,a+=' precedence="'+t.precedence+'"'):rl.call(t,"precedence")&&(e++,a+=" precedence={"+(t.precedence===null?"null":"invalid type "+typeof t.precedence)+"}"),Object.getOwnPropertyNames(t).length>e&&(a+=" ..."),a+" />"}function Ms(t){return'href="'+Ne(t)+'"'}function Ff(t){return'link[rel="stylesheet"]['+t+"]"}function Em(t){return le({},t,{"data-precedence":t.precedence,precedence:null})}function Eb(t,e,a,o){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?o.loading=H0:(e=t.createElement("link"),o.preload=e,e.addEventListener("load",function(){return o.loading|=H0}),e.addEventListener("error",function(){return o.loading|=fM}),We(e,"link",a),yn(e),t.head.appendChild(e))}function zs(t){return'[src="'+Ne(t)+'"]'}function Wf(t){return"script[async]"+t}function xm(t,e,a){if(e.count++,e.instance===null)switch(e.type){case"style":var o=t.querySelector('style[data-href~="'+Ne(a.href)+'"]');if(o)return e.instance=o,yn(o),o;var c=le({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return o=(t.ownerDocument||t).createElement("style"),yn(o),We(o,"style",c),Ir(o,a.precedence,t),e.instance=o;case"stylesheet":c=Ms(a.href);var f=t.querySelector(Ff(c));if(f)return e.state.loading|=oo,e.instance=f,yn(f),f;o=Em(a),(c=uo.get(c))&&Mg(o,c),f=(t.ownerDocument||t).createElement("link"),yn(f);var y=f;return y._p=new Promise(function(g,E){y.onload=g,y.onerror=E}),We(f,"link",o),e.state.loading|=oo,Ir(f,a.precedence,t),e.instance=f;case"script":return f=zs(a.src),(c=t.querySelector(Wf(f)))?(e.instance=c,yn(c),c):(o=a,(c=uo.get(f))&&(o=le({},a),zg(o,c)),t=t.ownerDocument||t,c=t.createElement("script"),yn(c),We(c,"link",o),t.head.appendChild(c),e.instance=c);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+e.type+'". this is a bug in React.')}else e.type==="stylesheet"&&(e.state.loading&oo)===wd&&(o=e.instance,e.state.loading|=oo,Ir(o,a.precedence,t));return e.instance}function Ir(t,e,a){for(var o=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=o.length?o[o.length-1]:null,f=c,y=0;y<o.length;y++){var g=o[y];if(g.dataset.precedence===e)f=g;else if(f!==c)break}f?f.parentNode.insertBefore(t,f.nextSibling):(e=a.nodeType===9?a.head:a,e.insertBefore(t,e.firstChild))}function Mg(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function zg(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}function Pr(t,e,a){if(w1===null){var o=new Map,c=w1=new Map;c.set(a,o)}else c=w1,o=c.get(a),o||(o=new Map,c.set(a,o));if(o.has(t))return o;for(o.set(t,null),a=a.getElementsByTagName(t),c=0;c<a.length;c++){var f=a[c];if(!(f[fc]||f[Ie]||t==="link"&&f.getAttribute("rel")==="stylesheet")&&f.namespaceURI!==ne){var y=f.getAttribute(e)||"";y=t+y;var g=o.get(y);g?g.push(f):o.set(y,[f])}}return o}function xb(t,e,a){t=t.ownerDocument||t,t.head.insertBefore(a,e==="title"?t.querySelector("head > title"):null)}function Db(t,e,a){var o=!a.ancestorInfo.containerTagInScope;if(a.context===vp||e.itemProp!=null)return!o||e.itemProp==null||t!=="meta"&&t!=="title"&&t!=="style"&&t!=="link"&&t!=="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.",t,t),!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href===""){o&&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 e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError){if(e.rel==="stylesheet"&&typeof e.precedence=="string"){t=e.href;var c=e.onError,f=e.disabled;a=[],e.onLoad&&a.push("`onLoad`"),c&&a.push("`onError`"),f!=null&&a.push("`disabled`"),c=ab(a,"and"),c+=a.length===1?" prop":" props",f=a.length===1?"an "+c:"the "+c,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.',t,f,c)}o&&(typeof e.rel!="string"||typeof e.href!="string"||e.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"):(e.onError||e.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(e.rel){case"stylesheet":return t=e.precedence,e=e.disabled,typeof t!="string"&&o&&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 t=="string"&&e==null;default:return!0}case"script":if(t=e.async&&typeof e.async!="function"&&typeof e.async!="symbol",!t||e.onLoad||e.onError||!e.src||typeof e.src!="string"){o&&(t?e.onLoad||e.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":o&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",t)}return!1}function fe(t){return!(t.type==="stylesheet"&&(t.state.loading&dM)===wd)}function Og(t,e,a,o){if(a.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(a.state.loading&oo)===wd){if(a.instance===null){var c=Ms(o.href),f=e.querySelector(Ff(c));if(f){e=f._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=tc.bind(t),e.then(t,t)),a.state.loading|=oo,a.instance=f,yn(f);return}f=e.ownerDocument||e,o=Em(o),(c=uo.get(c))&&Mg(o,c),f=f.createElement("link"),yn(f);var y=f;y._p=new Promise(function(g,E){y.onload=g,y.onerror=E}),We(f,"link",o),a.instance=f}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(a,e),(e=a.state.preload)&&(a.state.loading&dM)===wd&&(t.count++,a=tc.bind(t),e.addEventListener("load",a),e.addEventListener("error",a))}}function Dm(t,e){return t.stylesheets&&t.count===0&&If(t,t.stylesheets),0<t.count||0<t.imgCount?function(a){var o=setTimeout(function(){if(t.stylesheets&&If(t,t.stylesheets),t.unsuspend){var f=t.unsuspend;t.unsuspend=null,f()}},c6+e);0<t.imgBytes&&q2===0&&(q2=125*lb()*d6);var c=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&If(t,t.stylesheets),t.unsuspend)){var f=t.unsuspend;t.unsuspend=null,f()}},(t.imgBytes>q2?50:f6)+e);return t.unsuspend=a,function(){t.unsuspend=null,clearTimeout(o),clearTimeout(c)}}:null}function tc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)If(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}function If(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,U1=new Map,e.forEach(Rg,t),U1=null,tc.call(t))}function Rg(t,e){if(!(e.state.loading&oo)){var a=U1.get(t);if(a)var o=a.get(Y2);else{a=new Map,U1.set(t,a);for(var c=t.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<c.length;f++){var y=c[f];(y.nodeName==="LINK"||y.getAttribute("media")!=="not all")&&(a.set(y.dataset.precedence,y),o=y)}o&&a.set(Y2,o)}c=e.instance,y=c.getAttribute("data-precedence"),f=a.get(y)||o,f===o&&a.set(Y2,c),a.set(y,c),this.count++,o=tc.bind(this),c.addEventListener("load",o),c.addEventListener("error",o),f?f.parentNode.insertBefore(c,f.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(c,t.firstChild)),e.state.loading|=oo}}function Pf(t,e,a,o,c,f,y,g,E){for(this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Rd,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Pd(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pd(0),this.hiddenUpdates=Pd(null),this.identifierPrefix=o,this.onUncaughtError=c,this.onCaughtError=f,this.onRecoverableError=y,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=E,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,t=this.pendingUpdatersLaneMap=[],e=0;31>e;e++)t.push(new Set);this._debugRootType=a?"hydrateRoot()":"createRoot()"}function td(t,e,a,o,c,f,y,g,E,D,V,L){return t=new Pf(t,e,a,y,E,D,V,L,g),e=B5,f===!0&&(e|=Xa|Bo),e|=ie,f=w(3,null,null,e),t.current=f,f.stateNode=t,e=xh(),as(e),t.pooledCache=e,as(e),f.memoizedState={element:o,isDehydrated:a,cache:e},he(f),t}function Cb(t){return t?(t=gc,t):gc}function Cm(t,e,a,o,c,f){if(wn&&typeof wn.onScheduleFiberRoot=="function")try{wn.onScheduleFiberRoot(_s,o,a)}catch(y){Ji||(Ji=!0,console.error("React instrumentation encountered an error: %o",y))}c=Cb(c),o.context===null?o.context=c:o.pendingContext=c,ki&&Ga!==null&&!gM&&(gM=!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.
205
+ - `+dr(e)+`
206
+ + `+dr(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 e=a.async,a=a.src,typeof a=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(a=lo(a),e=an(o).hoistableScripts,i=e.get(a),i||(i={type:"script",instance:null,count:0,state:null},e.set(a,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+t+'". this is a bug in React.')}}function dr(t){var e=0,a="<link";return typeof t.rel=="string"?(e++,a+=' rel="'+t.rel+'"'):ka.call(t,"rel")&&(e++,a+=' rel="'+(t.rel===null?"null":"invalid type "+typeof t.rel)+'"'),typeof t.href=="string"?(e++,a+=' href="'+t.href+'"'):ka.call(t,"href")&&(e++,a+=' href="'+(t.href===null?"null":"invalid type "+typeof t.href)+'"'),typeof t.precedence=="string"?(e++,a+=' precedence="'+t.precedence+'"'):ka.call(t,"precedence")&&(e++,a+=" precedence={"+(t.precedence===null?"null":"invalid type "+typeof t.precedence)+"}"),Object.getOwnPropertyNames(t).length>e&&(a+=" ..."),a+" />"}function eo(t){return'href="'+De(t)+'"'}function hr(t){return'link[rel="stylesheet"]['+t+"]"}function zh(t){return Qt({},t,{"data-precedence":t.precedence,precedence:null})}function jg(t,e,a,i){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?i.loading=Sp:(e=t.createElement("link"),i.preload=e,e.addEventListener("load",function(){return i.loading|=Sp}),e.addEventListener("error",function(){return i.loading|=K2}),Le(e,"link",a),ol(e),t.head.appendChild(e))}function lo(t){return'[src="'+De(t)+'"]'}function mr(t){return"script[async]"+t}function Dh(t,e,a){if(e.count++,e.instance===null)switch(e.type){case"style":var i=t.querySelector('style[data-href~="'+De(a.href)+'"]');if(i)return e.instance=i,ol(i),i;var o=Qt({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return i=(t.ownerDocument||t).createElement("style"),ol(i),Le(i,"style",o),Af(i,a.precedence,t),e.instance=i;case"stylesheet":o=eo(a.href);var f=t.querySelector(hr(o));if(f)return e.state.loading|=Vu,e.instance=f,ol(f),f;i=zh(a),(o=Qu.get(o))&&f0(i,o),f=(t.ownerDocument||t).createElement("link"),ol(f);var d=f;return d._p=new Promise(function(h,y){d.onload=h,d.onerror=y}),Le(f,"link",i),e.state.loading|=Vu,Af(f,a.precedence,t),e.instance=f;case"script":return f=lo(a.src),(o=t.querySelector(mr(f)))?(e.instance=o,ol(o),o):(i=a,(o=Qu.get(f))&&(i=Qt({},a),s0(i,o)),t=t.ownerDocument||t,o=t.createElement("script"),ol(o),Le(o,"link",i),t.head.appendChild(o),e.instance=o);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+e.type+'". this is a bug in React.')}else e.type==="stylesheet"&&(e.state.loading&Vu)===$r&&(i=e.instance,e.state.loading|=Vu,Af(i,a.precedence,t));return e.instance}function Af(t,e,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 h=i[d];if(h.dataset.precedence===e)f=h;else if(f!==o)break}f?f.parentNode.insertBefore(t,f.nextSibling):(e=a.nodeType===9?a.head:a,e.insertBefore(t,e.firstChild))}function f0(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function s0(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}function zf(t,e,a){if(Kv===null){var i=new Map,o=Kv=new Map;o.set(a,i)}else o=Kv,i=o.get(a),i||(i=new Map,o.set(a,i));if(i.has(t))return i;for(i.set(t,null),a=a.getElementsByTagName(t),o=0;o<a.length;o++){var f=a[o];if(!(f[wf]||f[Ze]||t==="link"&&f.getAttribute("rel")==="stylesheet")&&f.namespaceURI!==Xt){var d=f.getAttribute(e)||"";d=t+d;var h=i.get(d);h?h.push(f):i.set(d,[f])}}return i}function Gg(t,e,a){t=t.ownerDocument||t,t.head.insertBefore(a,e==="title"?t.querySelector("head > title"):null)}function Xg(t,e,a){var i=!a.ancestorInfo.containerTagInScope;if(a.context===bm||e.itemProp!=null)return!i||e.itemProp==null||t!=="meta"&&t!=="title"&&t!=="style"&&t!=="link"&&t!=="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.",t,t),!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.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 e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError){if(e.rel==="stylesheet"&&typeof e.precedence=="string"){t=e.href;var o=e.onError,f=e.disabled;a=[],e.onLoad&&a.push("`onLoad`"),o&&a.push("`onError`"),f!=null&&a.push("`disabled`"),o=bg(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.',t,f,o)}i&&(typeof e.rel!="string"||typeof e.href!="string"||e.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"):(e.onError||e.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(e.rel){case"stylesheet":return t=e.precedence,e=e.disabled,typeof t!="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 t=="string"&&e==null;default:return!0}case"script":if(t=e.async&&typeof e.async!="function"&&typeof e.async!="symbol",!t||e.onLoad||e.onError||!e.src||typeof e.src!="string"){i&&(t?e.onLoad||e.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.",t)}return!1}function Ft(t){return!(t.type==="stylesheet"&&(t.state.loading&$2)===$r)}function r0(t,e,a,i){if(a.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(a.state.loading&Vu)===$r){if(a.instance===null){var o=eo(i.href),f=e.querySelector(hr(o));if(f){e=f._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=Df.bind(t),e.then(t,t)),a.state.loading|=Vu,a.instance=f,ol(f);return}f=e.ownerDocument||e,i=zh(i),(o=Qu.get(o))&&f0(i,o),f=f.createElement("link"),ol(f);var d=f;d._p=new Promise(function(h,y){d.onload=h,d.onerror=y}),Le(f,"link",i),a.instance=f}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(a,e),(e=a.state.preload)&&(a.state.loading&$2)===$r&&(t.count++,a=Df.bind(t),e.addEventListener("load",a),e.addEventListener("error",a))}}function Mh(t,e){return t.stylesheets&&t.count===0&&yr(t,t.stylesheets),0<t.count||0<t.imgCount?function(a){var i=setTimeout(function(){if(t.stylesheets&&yr(t,t.stylesheets),t.unsuspend){var f=t.unsuspend;t.unsuspend=null,f()}},NE+e);0<t.imgBytes&&Hb===0&&(Hb=125*Sg()*wE);var o=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&yr(t,t.stylesheets),t.unsuspend)){var f=t.unsuspend;t.unsuspend=null,f()}},(t.imgBytes>Hb?50:BE)+e);return t.unsuspend=a,function(){t.unsuspend=null,clearTimeout(i),clearTimeout(o)}}:null}function Df(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)yr(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}function yr(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,$v=new Map,e.forEach(d0,t),$v=null,Df.call(t))}function d0(t,e){if(!(e.state.loading&Vu)){var a=$v.get(t);if(a)var i=a.get(Nb);else{a=new Map,$v.set(t,a);for(var o=t.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(Nb,i)}o=e.instance,d=o.getAttribute("data-precedence"),f=a.get(d)||i,f===i&&a.set(Nb,o),a.set(d,o),this.count++,i=Df.bind(this),o.addEventListener("load",i),o.addEventListener("error",i),f?f.parentNode.insertBefore(o,f.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(o,t.firstChild)),e.state.loading|=Vu}}function pr(t,e,a,i,o,f,d,h,y){for(this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Kr,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=td(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=td(0),this.hiddenUpdates=td(null),this.identifierPrefix=i,this.onUncaughtError=o,this.onCaughtError=f,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=y,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,t=this.pendingUpdatersLaneMap=[],e=0;31>e;e++)t.push(new Set);this._debugRootType=a?"hydrateRoot()":"createRoot()"}function gr(t,e,a,i,o,f,d,h,y,p,D,O){return t=new pr(t,e,a,d,y,p,D,O,h),e=iE,f===!0&&(e|=xa|yi),e|=Lt,f=ct(3,null,null,e),t.current=f,f.stateNode=t,e=Dd(),xc(e),t.pooledCache=e,xc(e),f.memoizedState={element:i,isDehydrated:a,cache:e},It(f),t}function Vg(t){return t?(t=Vf,t):Vf}function Oh(t,e,a,i,o,f){if(El&&typeof El.onScheduleFiberRoot=="function")try{El.onScheduleFiberRoot(co,i,a)}catch(d){Uu||(Uu=!0,console.error("React instrumentation encountered an error: %o",d))}o=Vg(o),i.context===null?i.context=o:i.pendingContext=o,Cu&&Ra!==null&&!P2&&(P2=!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.
228
207
 
229
- Check the render method of %s.`,yt(Ga)||"Unknown")),o=zn(e),o.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),o.callback=f),a=zi(t,o,e),a!==null&&(Di(e,"root.render()",null),kt(a,t,e),Cl(a,t,e))}function Mb(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var a=t.retryLane;t.retryLane=a!==0&&a<e?a:e}}function wg(t,e){Mb(t,e),(t=t.alternate)&&Mb(t,e)}function Ug(t){if(t.tag===13||t.tag===31){var e=ia(t,67108864);e!==null&&kt(e,t,67108864),wg(t,67108864)}}function _g(t){if(t.tag===13||t.tag===31){var e=ua(t);e=Yu(e);var a=ia(t,e);a!==null&&kt(a,t,e),wg(t,e)}}function Ve(){return Ga}function Ng(t,e,a,o){var c=P.T;P.T=null;var f=Me.p;try{Me.p=Un,jg(t,e,a,o)}finally{Me.p=f,P.T=c}}function ta(t,e,a,o){var c=P.T;P.T=null;var f=Me.p;try{Me.p=na,jg(t,e,a,o)}finally{Me.p=f,P.T=c}}function jg(t,e,a,o){if(N1){var c=Mm(o);if(c===null)ei(t,e,o,j1,a),Om(t,o);else if(zb(c,t,e,a,o))o.stopPropagation();else if(Om(t,o),e&4&&-1<m6.indexOf(t)){for(;c!==null;){var f=Bl(c);if(f!==null)switch(f.tag){case 3:if(f=f.stateNode,f.current.memoizedState.isDehydrated){var y=qu(f.pendingLanes);if(y!==0){var g=f;for(g.pendingLanes|=2,g.entangledLanes|=2;y;){var E=1<<31-ea(y);g.entanglements[1]|=E,y&=~E}Ha(f),(Te&(la|fi))===da&&(g1=Xn()+ZC,Yi(0))}}break;case 31:case 13:g=ia(f,2),g!==null&&kt(g,f,2),ol(),wg(f,2)}if(f=Mm(o),f===null&&ei(t,e,o,j1,a),f===c)break;c=f}c!==null&&o.stopPropagation()}else ei(t,e,o,null,a)}}function Mm(t){return t=Ll(t),Bg(t)}function Bg(t){if(j1=null,t=fo(t),t!==null){var e=nt(t);if(e===null)t=null;else{var a=e.tag;if(a===13){if(t=dt(e),t!==null)return t;t=null}else if(a===31){if(t=ht(e),t!==null)return t;t=null}else if(a===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return j1=t,null}function zm(t){switch(t){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 Un;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 na;case"message":switch(od()){case kg:return Un;case Hm:return na;case Us:case Nb:return ra;case Lm:return Mu;default:return ra}default:return ra}}function Om(t,e){switch(t){case"focusin":case"focusout":_c=null;break;case"dragenter":case"dragleave":Nc=null;break;case"mouseover":case"mouseout":jc=null;break;case"pointerover":case"pointerout":q0.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Y0.delete(e.pointerId)}}function Eu(t,e,a,o,c,f){return t===null||t.nativeEvent!==f?(t={blockedOn:e,domEventName:a,eventSystemFlags:o,nativeEvent:f,targetContainers:[c]},e!==null&&(e=Bl(e),e!==null&&Ug(e)),t):(t.eventSystemFlags|=o,e=t.targetContainers,c!==null&&e.indexOf(c)===-1&&e.push(c),t)}function zb(t,e,a,o,c){switch(e){case"focusin":return _c=Eu(_c,t,e,a,o,c),!0;case"dragenter":return Nc=Eu(Nc,t,e,a,o,c),!0;case"mouseover":return jc=Eu(jc,t,e,a,o,c),!0;case"pointerover":var f=c.pointerId;return q0.set(f,Eu(q0.get(f)||null,t,e,a,o,c)),!0;case"gotpointercapture":return f=c.pointerId,Y0.set(f,Eu(Y0.get(f)||null,t,e,a,o,c)),!0}return!1}function Vg(t){var e=fo(t.target);if(e!==null){var a=nt(e);if(a!==null){if(e=a.tag,e===13){if(e=dt(a),e!==null){t.blockedOn=e,pv(t.priority,function(){_g(a)});return}}else if(e===31){if(e=ht(a),e!==null){t.blockedOn=e,pv(t.priority,function(){_g(a)});return}}else if(e===3&&a.stateNode.current.memoizedState.isDehydrated){t.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}t.blockedOn=null}function ec(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var a=Mm(t.nativeEvent);if(a===null){a=t.nativeEvent;var o=new a.constructor(a.type,a),c=o;Wg!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Wg=c,a.target.dispatchEvent(o),Wg===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."),Wg=null}else return e=Bl(a),e!==null&&Ug(e),t.blockedOn=a,!1;e.shift()}return!0}function Rm(t,e,a){ec(t)&&a.delete(e)}function zT(){G2=!1,_c!==null&&ec(_c)&&(_c=null),Nc!==null&&ec(Nc)&&(Nc=null),jc!==null&&ec(jc)&&(jc=null),q0.forEach(Rm),Y0.forEach(Rm)}function ed(t,e){t.blockedOn===e&&(t.blockedOn=null,G2||(G2=!0,Tn.unstable_scheduleCallback(Tn.unstable_NormalPriority,zT)))}function Ob(t){B1!==t&&(B1=t,Tn.unstable_scheduleCallback(Tn.unstable_NormalPriority,function(){B1===t&&(B1=null);for(var e=0;e<t.length;e+=3){var a=t[e],o=t[e+1],c=t[e+2];if(typeof o!="function"){if(Bg(o||a)===null)continue;break}var f=Bl(a);f!==null&&(t.splice(e,3),e-=3,a={pending:!0,data:c,method:a.method,action:o},Object.freeze(a),Do(f,a,o,c))}}))}function Os(t){function e(E){return ed(E,t)}_c!==null&&ed(_c,t),Nc!==null&&ed(Nc,t),jc!==null&&ed(jc,t),q0.forEach(e),Y0.forEach(e);for(var a=0;a<Bc.length;a++){var o=Bc[a];o.blockedOn===t&&(o.blockedOn=null)}for(;0<Bc.length&&(a=Bc[0],a.blockedOn===null);)Vg(a),a.blockedOn===null&&Bc.shift();if(a=(t.ownerDocument||t).$$reactFormReplay,a!=null)for(o=0;o<a.length;o+=3){var c=a[o],f=a[o+1],y=c[Ra]||null;if(typeof f=="function")y||Ob(a);else if(y){var g=null;if(f&&f.hasAttribute("formAction")){if(c=f,y=f[Ra]||null)g=y.formAction;else if(Bg(c)!==null)continue}else g=y.action;typeof g=="function"?a[o+1]=g:(a.splice(o,3),o-=3),Ob(a)}}}function Rb(){function t(f){f.canIntercept&&f.info==="react-transition"&&f.intercept({handler:function(){return new Promise(function(y){return c=y})},focusReset:"manual",scroll:"manual"})}function e(){c!==null&&(c(),c=null),o||setTimeout(a,20)}function a(){if(!o&&!navigation.transition){var f=navigation.currentEntry;f&&f.url!=null&&navigation.navigate(f.url,{state:f.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,c=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(a,100),function(){o=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),c!==null&&(c(),c=null)}}}function Hg(t){this._internalRoot=t}function li(t){this._internalRoot=t}function Lg(t){t[jo]&&(t._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 Tn=F2(),nd=ut,OT=X2,le=Object.assign,wb=Symbol.for("react.element"),Rl=Symbol.for("react.transitional.element"),xu=Symbol.for("react.portal"),nc=Symbol.for("react.fragment"),Oa=Symbol.for("react.strict_mode"),ad=Symbol.for("react.profiler"),wm=Symbol.for("react.consumer"),ii=Symbol.for("react.context"),ac=Symbol.for("react.forward_ref"),Rs=Symbol.for("react.suspense"),Ya=Symbol.for("react.suspense_list"),ld=Symbol.for("react.memo"),sa=Symbol.for("react.lazy"),oi=Symbol.for("react.activity"),RT=Symbol.for("react.memo_cache_sentinel"),Ub=Symbol.iterator,lc=Symbol.for("react.client.reference"),Dn=Array.isArray,P=nd.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Me=OT.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,wT=Object.freeze({pending:!1,data:null,method:null,action:null}),qg=[],Yg=[],No=-1,Du=Qt(null),ic=Qt(null),sl=Qt(null),Cu=Qt(null),oc=0,_b,ws,uc,Gg,id,Um,_m;Mt.__reactDisabledLog=!0;var sc,Xg,Nm=!1,Qg=new(typeof WeakMap=="function"?WeakMap:Map),Ga=null,ki=!1,rl=Object.prototype.hasOwnProperty,Zg=Tn.unstable_scheduleCallback,jm=Tn.unstable_cancelCallback,Bm=Tn.unstable_shouldYield,Vm=Tn.unstable_requestPaint,Xn=Tn.unstable_now,od=Tn.unstable_getCurrentPriorityLevel,kg=Tn.unstable_ImmediatePriority,Hm=Tn.unstable_UserBlockingPriority,Us=Tn.unstable_NormalPriority,Nb=Tn.unstable_LowPriority,Lm=Tn.unstable_IdlePriority,Jg=Tn.log,jb=Tn.unstable_setDisableYieldValue,_s=null,wn=null,Ji=!1,Ki=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",ea=Math.clz32?Math.clz32:Qp,Kg=Math.log,qm=Math.LN2,rc=256,ud=262144,cc=4194304,Un=2,na=8,ra=32,Mu=268435456,wl=Math.random().toString(36).slice(2),Ie="__reactFiber$"+wl,Ra="__reactProps$"+wl,jo="__reactContainer$"+wl,Ns="__reactEvents$"+wl,UT="__reactListeners$"+wl,Bb="__reactHandles$"+wl,sd="__reactResources$"+wl,fc="__reactMarker$"+wl,Vb=new Set,$i={},dc={},Hb={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},hc=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]*$"),$g={},Ym={},Gm=/[\n"\\]/g,Fg=!1,Lb=!1,rd=!1,n=!1,l=!1,i=!1,s=["value","defaultValue"],h=!1,p=/["'&<>\n\t]|^\s|\s$/,S="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(" "),C="applet caption html table td th marquee object template foreignObject desc title".split(" "),N=C.concat(["button"]),Z="dd dt li option optgroup p rp rt".split(" "),et={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},rt={},J={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"]},tt=/([A-Z])/g,Ct=/^ms-/,qt=/^(?:webkit|moz|o)[A-Z]/,He=/^-ms-/,q=/-(.)/g,H=/;\s*$/,G={},it={},_t=!1,Se=!1,Rt=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(" ")),Pt="http://www.w3.org/1998/Math/MathML",ne="http://www.w3.org/2000/svg",Ee=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"]]),ui={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"},qb={"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,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},Xm={},K4=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]*$"),$4=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]*$"),bD=!1,cl={},SD=/^on./,F4=/^on[^A-Z]/,W4=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]*$"),I4=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]*$"),P4=/^[\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,Wg=null,Qm=null,Zm=null,_T=!1,zu=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),NT=!1;if(zu)try{var Ig={};Object.defineProperty(Ig,"passive",{get:function(){NT=!0}}),window.addEventListener("test",Ig,Ig),window.removeEventListener("test",Ig,Ig)}catch{NT=!1}var mc=null,jT=null,Yb=null,cd={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Gb=Bn(cd),Pg=le({},cd,{view:0,detail:0}),t5=Bn(Pg),BT,VT,t0,Xb=le({},Pg,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Pc,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==t0&&(t0&&t.type==="mousemove"?(BT=t.screenX-t0.screenX,VT=t.screenY-t0.screenY):VT=BT=0,t0=t),BT)},movementY:function(t){return"movementY"in t?t.movementY:VT}}),TD=Bn(Xb),e5=le({},Xb,{dataTransfer:0}),n5=Bn(e5),a5=le({},Pg,{relatedTarget:0}),HT=Bn(a5),l5=le({},cd,{animationName:0,elapsedTime:0,pseudoElement:0}),i5=Bn(l5),o5=le({},cd,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),u5=Bn(o5),s5=le({},cd,{data:0}),AD=Bn(s5),r5=AD,c5={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},f5={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"},d5={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},h5=le({},Pg,{key:function(t){if(t.key){var e=c5[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Ic(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?f5[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Pc,charCode:function(t){return t.type==="keypress"?Ic(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Ic(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),m5=Bn(h5),p5=le({},Xb,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ED=Bn(p5),y5=le({},Pg,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Pc}),g5=Bn(y5),v5=le({},cd,{propertyName:0,elapsedTime:0,pseudoElement:0}),b5=Bn(v5),S5=le({},Xb,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),T5=Bn(S5),A5=le({},cd,{newState:0,oldState:0}),E5=Bn(A5),x5=[9,13,27,32],xD=229,LT=zu&&"CompositionEvent"in window,e0=null;zu&&"documentMode"in document&&(e0=document.documentMode);var D5=zu&&"TextEvent"in window&&!e0,DD=zu&&(!LT||e0&&8<e0&&11>=e0),CD=32,MD=String.fromCharCode(CD),zD=!1,km=!1,C5={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},n0=null,a0=null,OD=!1;zu&&(OD=hh("input")&&(!document.documentMode||9<document.documentMode));var fl=typeof Object.is=="function"?Object.is:mh,M5=zu&&"documentMode"in document&&11>=document.documentMode,Jm=null,qT=null,l0=null,YT=!1,Km={animationend:$u("Animation","AnimationEnd"),animationiteration:$u("Animation","AnimationIteration"),animationstart:$u("Animation","AnimationStart"),transitionrun:$u("Transition","TransitionRun"),transitionstart:$u("Transition","TransitionStart"),transitioncancel:$u("Transition","TransitionCancel"),transitionend:$u("Transition","TransitionEnd")},GT={},RD={};zu&&(RD=document.createElement("div").style,"AnimationEvent"in window||(delete Km.animationend.animation,delete Km.animationiteration.animation,delete Km.animationstart.animation),"TransitionEvent"in window||delete Km.transitionend.transition);var wD=Fu("animationend"),UD=Fu("animationiteration"),_D=Fu("animationstart"),z5=Fu("transitionrun"),O5=Fu("transitionstart"),R5=Fu("transitioncancel"),ND=Fu("transitionend"),jD=new Map,XT="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(" ");XT.push("scrollEnd");var BD=0;if(typeof performance=="object"&&typeof performance.now=="function")var w5=performance,VD=function(){return w5.now()};else{var U5=Date;VD=function(){return U5.now()}}var QT=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},_5="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",Qb=0,ZT=1,kT=2,JT=3,Zb="– ",kb="+ ",HD="  ",Pe=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",Fi="Components ⚛",ye="Scheduler ⚛",ve="Blocking",pc=!1,js={color:"primary",properties:null,tooltipText:"",track:Fi},yc={start:-0,end:-0,detail:{devtools:js}},N5=["Changed Props",""],LD="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",j5=["Changed Props",LD],i0=1,Bs=2,Wi=[],$m=0,KT=0,gc={};Object.freeze(gc);var Ii=null,Fm=null,Zt=0,B5=1,ie=2,Xa=8,Bo=16,V5=32,qD=!1;try{var YD=Object.preventExtensions({})}catch{qD=!0}var $T=new WeakMap,Wm=[],Im=0,Jb=null,o0=0,Pi=[],to=0,fd=null,Vs=1,Hs="",wa=null,tn=null,pe=!1,Ou=!1,si=null,vc=null,eo=!1,FT=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."),WT=Qt(null),IT=Qt(null),GD={},Kb=null,Pm=null,tp=!1,H5=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(a,o){t.push(o)}};this.abort=function(){e.aborted=!0,t.forEach(function(a){return a()})}},L5=Tn.unstable_scheduleCallback,q5=Tn.unstable_NormalPriority,Qn={$$typeof:ii,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Zn=Tn.unstable_now,$b=console.createTask?console.createTask:function(){return null},u0=1,Fb=2,ca=-0,bc=-0,Ls=-0,qs=null,dl=-1.1,dd=-0,dn=-0,jt=-1.1,Yt=-1.1,un=null,An=!1,hd=-0,Ru=-1.1,s0=null,Sc=0,PT=null,t2=null,md=-1.1,r0=null,ep=-1.1,Wb=-1.1,Ys=-0,Gs=-1.1,no=-1.1,e2=0,c0=null,XD=null,QD=null,Tc=-1.1,pd=null,Ac=-1.1,Ib=-1.1,ZD=-0,kD=-0,Pb=0,Y5=null,JD=0,f0=-1.1,t1=!1,e1=!1,d0=null,n2=0,yd=0,np=null,KD=P.S;P.S=function(t,e){if(XC=Xn(),typeof e=="object"&&e!==null&&typeof e.then=="function"){if(0>Gs&&0>no){Gs=Zn();var a=$r(),o=Qi();(a!==Ac||o!==pd)&&(Ac=-1.1),Tc=a,pd=o}vo(t,e)}KD!==null&&KD(t,e)};var gd=Qt(null),Vo={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},h0=[],m0=[],p0=[],y0=[],g0=[],v0=[],vd=new Set;Vo.recordUnsafeLifecycleWarnings=function(t,e){vd.has(t.type)||(typeof e.componentWillMount=="function"&&e.componentWillMount.__suppressDeprecationWarning!==!0&&h0.push(t),t.mode&Xa&&typeof e.UNSAFE_componentWillMount=="function"&&m0.push(t),typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&p0.push(t),t.mode&Xa&&typeof e.UNSAFE_componentWillReceiveProps=="function"&&y0.push(t),typeof e.componentWillUpdate=="function"&&e.componentWillUpdate.__suppressDeprecationWarning!==!0&&g0.push(t),t.mode&Xa&&typeof e.UNSAFE_componentWillUpdate=="function"&&v0.push(t))},Vo.flushPendingUnsafeLifecycleWarnings=function(){var t=new Set;0<h0.length&&(h0.forEach(function(g){t.add(yt(g)||"Component"),vd.add(g.type)}),h0=[]);var e=new Set;0<m0.length&&(m0.forEach(function(g){e.add(yt(g)||"Component"),vd.add(g.type)}),m0=[]);var a=new Set;0<p0.length&&(p0.forEach(function(g){a.add(yt(g)||"Component"),vd.add(g.type)}),p0=[]);var o=new Set;0<y0.length&&(y0.forEach(function(g){o.add(yt(g)||"Component"),vd.add(g.type)}),y0=[]);var c=new Set;0<g0.length&&(g0.forEach(function(g){c.add(yt(g)||"Component"),vd.add(g.type)}),g0=[]);var f=new Set;if(0<v0.length&&(v0.forEach(function(g){f.add(yt(g)||"Component"),vd.add(g.type)}),v0=[]),0<e.size){var y=O(e);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.
208
+ Check the render method of %s.`,at(Ra)||"Unknown")),i=bl(e),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=su(t,i,e),a!==null&&(cu(e,"root.render()",null),Ot(a,t,e),dn(a,t,e))}function Qg(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var a=t.retryLane;t.retryLane=a!==0&&a<e?a:e}}function h0(t,e){Qg(t,e),(t=t.alternate)&&Qg(t,e)}function m0(t){if(t.tag===13||t.tag===31){var e=kl(t,67108864);e!==null&&Ot(e,t,67108864),h0(t,67108864)}}function y0(t){if(t.tag===13||t.tag===31){var e=Fl(t);e=yc(e);var a=kl(t,e);a!==null&&Ot(a,t,e),h0(t,e)}}function Ce(){return Ra}function p0(t,e,a,i){var o=Y.T;Y.T=null;var f=ge.p;try{ge.p=Al,g0(t,e,a,i)}finally{ge.p=f,Y.T=o}}function Ll(t,e,a,i){var o=Y.T;Y.T=null;var f=ge.p;try{ge.p=Jl,g0(t,e,a,i)}finally{ge.p=f,Y.T=o}}function g0(t,e,a,i){if(Wv){var o=Ch(i);if(o===null)Xn(t,e,i,Fv,a),Rh(t,i);else if(Lg(o,t,e,a,i))i.stopPropagation();else if(Rh(t,i),e&4&&-1<YE.indexOf(t)){for(;o!==null;){var f=En(o);if(f!==null)switch(f.tag){case 3:if(f=f.stateNode,f.current.memoizedState.isDehydrated){var d=mc(f.pendingLanes);if(d!==0){var h=f;for(h.pendingLanes|=2,h.entangledLanes|=2;d;){var y=1<<31-Zl(d);h.entanglements[1]|=y,d&=~y}Ma(f),(se&($l|Fn))===la&&(Hv=Hl()+O2,Au(0))}}break;case 31:case 13:h=kl(f,2),h!==null&&Ot(h,f,2),Ja(),h0(f,2)}if(f=Ch(i),f===null&&Xn(t,e,i,Fv,a),f===o)break;o=f}o!==null&&i.stopPropagation()}else Xn(t,e,i,null,a)}}function Ch(t){return t=Dn(t),v0(t)}function v0(t){if(Fv=null,t=Zu(t),t!==null){var e=zt(t);if(e===null)t=null;else{var a=e.tag;if(a===13){if(t=Wt(e),t!==null)return t;t=null}else if(a===31){if(t=he(e),t!==null)return t;t=null}else if(a===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Fv=t,null}function Uh(t){switch(t){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 Al;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 Jl;case"message":switch(Ar()){case C0:return Al;case jh:return Jl;case io:case Wg:return Pl;case Gh:return ic;default:return Pl}default:return Pl}}function Rh(t,e){switch(t){case"focusin":case"focusout":ns=null;break;case"dragenter":case"dragleave":us=null;break;case"mouseover":case"mouseout":is=null;break;case"pointerover":case"pointerout":Ep.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ap.delete(e.pointerId)}}function lc(t,e,a,i,o,f){return t===null||t.nativeEvent!==f?(t={blockedOn:e,domEventName:a,eventSystemFlags:i,nativeEvent:f,targetContainers:[o]},e!==null&&(e=En(e),e!==null&&m0(e)),t):(t.eventSystemFlags|=i,e=t.targetContainers,o!==null&&e.indexOf(o)===-1&&e.push(o),t)}function Lg(t,e,a,i,o){switch(e){case"focusin":return ns=lc(ns,t,e,a,i,o),!0;case"dragenter":return us=lc(us,t,e,a,i,o),!0;case"mouseover":return is=lc(is,t,e,a,i,o),!0;case"pointerover":var f=o.pointerId;return Ep.set(f,lc(Ep.get(f)||null,t,e,a,i,o)),!0;case"gotpointercapture":return f=o.pointerId,Ap.set(f,lc(Ap.get(f)||null,t,e,a,i,o)),!0}return!1}function b0(t){var e=Zu(t.target);if(e!==null){var a=zt(e);if(a!==null){if(e=a.tag,e===13){if(e=Wt(a),e!==null){t.blockedOn=e,xp(t.priority,function(){y0(a)});return}}else if(e===31){if(e=he(a),e!==null){t.blockedOn=e,xp(t.priority,function(){y0(a)});return}}else if(e===3&&a.stateNode.current.memoizedState.isDehydrated){t.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Mf(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var a=Ch(t.nativeEvent);if(a===null){a=t.nativeEvent;var i=new a.constructor(a.type,a),o=i;H0!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),H0=o,a.target.dispatchEvent(i),H0===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."),H0=null}else return e=En(a),e!==null&&m0(e),t.blockedOn=a,!1;e.shift()}return!0}function xh(t,e,a){Mf(t)&&a.delete(e)}function T1(){Bb=!1,ns!==null&&Mf(ns)&&(ns=null),us!==null&&Mf(us)&&(us=null),is!==null&&Mf(is)&&(is=null),Ep.forEach(xh),Ap.forEach(xh)}function vr(t,e){t.blockedOn===e&&(t.blockedOn=null,Bb||(Bb=!0,hl.unstable_scheduleCallback(hl.unstable_NormalPriority,T1)))}function Zg(t){Iv!==t&&(Iv=t,hl.unstable_scheduleCallback(hl.unstable_NormalPriority,function(){Iv===t&&(Iv=null);for(var e=0;e<t.length;e+=3){var a=t[e],i=t[e+1],o=t[e+2];if(typeof i!="function"){if(v0(i||a)===null)continue;break}var f=En(a);f!==null&&(t.splice(e,3),e-=3,a={pending:!0,data:o,method:a.method,action:i},Object.freeze(a),ni(f,a,i,o))}}))}function ao(t){function e(y){return vr(y,t)}ns!==null&&vr(ns,t),us!==null&&vr(us,t),is!==null&&vr(is,t),Ep.forEach(e),Ap.forEach(e);for(var a=0;a<cs.length;a++){var i=cs[a];i.blockedOn===t&&(i.blockedOn=null)}for(;0<cs.length&&(a=cs[0],a.blockedOn===null);)b0(a),a.blockedOn===null&&cs.shift();if(a=(t.ownerDocument||t).$$reactFormReplay,a!=null)for(i=0;i<a.length;i+=3){var o=a[i],f=a[i+1],d=o[ba]||null;if(typeof f=="function")d||Zg(a);else if(d){var h=null;if(f&&f.hasAttribute("formAction")){if(o=f,d=f[ba]||null)h=d.formAction;else if(v0(o)!==null)continue}else h=d.action;typeof h=="function"?a[i+1]=h:(a.splice(i,3),i-=3),Zg(a)}}}function Jg(){function t(f){f.canIntercept&&f.info==="react-transition"&&f.intercept({handler:function(){return new Promise(function(d){return o=d})},focusReset:"manual",scroll:"manual"})}function e(){o!==null&&(o(),o=null),i||setTimeout(a,20)}function a(){if(!i&&!navigation.transition){var f=navigation.currentEntry;f&&f.url!=null&&navigation.navigate(f.url,{state:f.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var i=!1,o=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(a,100),function(){i=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),o!==null&&(o(),o=null)}}}function S0(t){this._internalRoot=t}function Ln(t){this._internalRoot=t}function T0(t){t[mi]&&(t._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 hl=Gb(),br=ht,E1=wb,Qt=Object.assign,Kg=Symbol.for("react.element"),pn=Symbol.for("react.transitional.element"),ac=Symbol.for("react.portal"),Of=Symbol.for("react.fragment"),va=Symbol.for("react.strict_mode"),Sr=Symbol.for("react.profiler"),_h=Symbol.for("react.consumer"),Zn=Symbol.for("react.context"),Cf=Symbol.for("react.forward_ref"),no=Symbol.for("react.suspense"),Ua=Symbol.for("react.suspense_list"),Tr=Symbol.for("react.memo"),Il=Symbol.for("react.lazy"),Jn=Symbol.for("react.activity"),A1=Symbol.for("react.memo_cache_sentinel"),$g=Symbol.iterator,Uf=Symbol.for("react.client.reference"),gl=Array.isArray,Y=br.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ge=E1.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,z1=Object.freeze({pending:!1,data:null,method:null,action:null}),E0=[],A0=[],hi=-1,nc=ue(null),Rf=ue(null),$a=ue(null),uc=ue(null),xf=0,kg,uo,_f,z0,Er,Hh,Nh;Et.__reactDisabledLog=!0;var Hf,D0,Bh=!1,M0=new(typeof WeakMap=="function"?WeakMap:Map),Ra=null,Cu=!1,ka=Object.prototype.hasOwnProperty,O0=hl.unstable_scheduleCallback,wh=hl.unstable_cancelCallback,qh=hl.unstable_shouldYield,Yh=hl.unstable_requestPaint,Hl=hl.unstable_now,Ar=hl.unstable_getCurrentPriorityLevel,C0=hl.unstable_ImmediatePriority,jh=hl.unstable_UserBlockingPriority,io=hl.unstable_NormalPriority,Wg=hl.unstable_LowPriority,Gh=hl.unstable_IdlePriority,U0=hl.log,Fg=hl.unstable_setDisableYieldValue,co=null,El=null,Uu=!1,Ru=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Zl=Math.clz32?Math.clz32:Mm,R0=Math.log,Xh=Math.LN2,Nf=256,zr=262144,Bf=4194304,Al=2,Jl=8,Pl=32,ic=268435456,gn=Math.random().toString(36).slice(2),Ze="__reactFiber$"+gn,ba="__reactProps$"+gn,mi="__reactContainer$"+gn,oo="__reactEvents$"+gn,D1="__reactListeners$"+gn,Ig="__reactHandles$"+gn,Dr="__reactResources$"+gn,wf="__reactMarker$"+gn,Pg=new Set,xu={},qf={},tv={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},Yf=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]*$"),x0={},Vh={},Qh=/[\n"\\]/g,_0=!1,ev=!1,Mr=!1,l=!1,n=!1,u=!1,c=["value","defaultValue"],s=!1,r=/["'&<>\n\t]|^\s|\s$/,m="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(" "),g="applet caption html table td th marquee object template foreignObject desc title".split(" "),A=g.concat(["button"]),_="dd dt li option optgroup p rp rt".split(" "),G={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},Z={},H={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"]},j=/([A-Z])/g,ft=/^ms-/,bt=/^(?:webkit|moz|o)[A-Z]/,Ue=/^-ms-/,R=/-(.)/g,M=/;\s*$/,x={},Q={},yt=!1,fe=!1,rt=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(" ")),Nt="http://www.w3.org/1998/Math/MathML",Xt="http://www.w3.org/2000/svg",de=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"]]),Kn={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"},lv={"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,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},Lh={},v3=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]*$"),b3=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]*$"),eS=!1,Wa={},lS=/^on./,S3=/^on[^A-Z]/,T3=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]*$"),E3=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]*$"),A3=/^[\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,H0=null,Zh=null,Jh=null,M1=!1,cc=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),O1=!1;if(cc)try{var N0={};Object.defineProperty(N0,"passive",{get:function(){O1=!0}}),window.addEventListener("test",N0,N0),window.removeEventListener("test",N0,N0)}catch{O1=!1}var jf=null,C1=null,av=null,Or={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},nv=Ml(Or),B0=Qt({},Or,{view:0,detail:0}),z3=Ml(B0),U1,R1,w0,uv=Qt({},B0,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:gs,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==w0&&(w0&&t.type==="mousemove"?(U1=t.screenX-w0.screenX,R1=t.screenY-w0.screenY):R1=U1=0,w0=t),U1)},movementY:function(t){return"movementY"in t?t.movementY:R1}}),aS=Ml(uv),D3=Qt({},uv,{dataTransfer:0}),M3=Ml(D3),O3=Qt({},B0,{relatedTarget:0}),x1=Ml(O3),C3=Qt({},Or,{animationName:0,elapsedTime:0,pseudoElement:0}),U3=Ml(C3),R3=Qt({},Or,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),x3=Ml(R3),_3=Qt({},Or,{data:0}),nS=Ml(_3),H3=nS,N3={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},B3={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"},w3={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},q3=Qt({},B0,{key:function(t){if(t.key){var e=N3[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=ps(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?B3[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:gs,charCode:function(t){return t.type==="keypress"?ps(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?ps(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Y3=Ml(q3),j3=Qt({},uv,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),uS=Ml(j3),G3=Qt({},B0,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:gs}),X3=Ml(G3),V3=Qt({},Or,{propertyName:0,elapsedTime:0,pseudoElement:0}),Q3=Ml(V3),L3=Qt({},uv,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),Z3=Ml(L3),J3=Qt({},Or,{newState:0,oldState:0}),K3=Ml(J3),$3=[9,13,27,32],iS=229,_1=cc&&"CompositionEvent"in window,q0=null;cc&&"documentMode"in document&&(q0=document.documentMode);var k3=cc&&"TextEvent"in window&&!q0,cS=cc&&(!_1||q0&&8<q0&&11>=q0),oS=32,fS=String.fromCharCode(oS),sS=!1,Kh=!1,W3={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},Y0=null,j0=null,rS=!1;cc&&(rS=md("input")&&(!document.documentMode||9<document.documentMode));var Fa=typeof Object.is=="function"?Object.is:yd,F3=cc&&"documentMode"in document&&11>=document.documentMode,$h=null,H1=null,G0=null,N1=!1,kh={animationend:Ac("Animation","AnimationEnd"),animationiteration:Ac("Animation","AnimationIteration"),animationstart:Ac("Animation","AnimationStart"),transitionrun:Ac("Transition","TransitionRun"),transitionstart:Ac("Transition","TransitionStart"),transitioncancel:Ac("Transition","TransitionCancel"),transitionend:Ac("Transition","TransitionEnd")},B1={},dS={};cc&&(dS=document.createElement("div").style,"AnimationEvent"in window||(delete kh.animationend.animation,delete kh.animationiteration.animation,delete kh.animationstart.animation),"TransitionEvent"in window||delete kh.transitionend.transition);var hS=zc("animationend"),mS=zc("animationiteration"),yS=zc("animationstart"),I3=zc("transitionrun"),P3=zc("transitionstart"),tE=zc("transitioncancel"),pS=zc("transitionend"),gS=new Map,w1="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(" ");w1.push("scrollEnd");var vS=0;if(typeof performance=="object"&&typeof performance.now=="function")var eE=performance,bS=function(){return eE.now()};else{var lE=Date;bS=function(){return lE.now()}}var q1=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},aE="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",iv=0,Y1=1,j1=2,G1=3,cv="– ",ov="+ ",SS="  ",Je=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",_u="Components ⚛",ae="Scheduler ⚛",ce="Blocking",Gf=!1,fo={color:"primary",properties:null,tooltipText:"",track:_u},Xf={start:-0,end:-0,detail:{devtools:fo}},nE=["Changed Props",""],TS="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",uE=["Changed Props",TS],X0=1,so=2,Hu=[],Wh=0,X1=0,Vf={};Object.freeze(Vf);var Nu=null,Fh=null,Mt=0,iE=1,Lt=2,xa=8,yi=16,cE=32,ES=!1;try{var AS=Object.preventExtensions({})}catch{ES=!0}var V1=new WeakMap,Ih=[],Ph=0,fv=null,V0=0,Bu=[],wu=0,Cr=null,ro=1,ho="",Sa=null,Ke=null,ee=!1,oc=!1,$n=null,Qf=null,qu=!1,Q1=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."),L1=ue(null),Z1=ue(null),zS={},sv=null,tm=null,em=!1,oE=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(a,i){t.push(i)}};this.abort=function(){e.aborted=!0,t.forEach(function(a){return a()})}},fE=hl.unstable_scheduleCallback,sE=hl.unstable_NormalPriority,Nl={$$typeof:Zn,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Bl=hl.unstable_now,rv=console.createTask?console.createTask:function(){return null},Q0=1,dv=2,ta=-0,Lf=-0,mo=-0,yo=null,Ia=-1.1,Ur=-0,ul=-0,gt=-1.1,At=-1.1,el=null,ml=!1,Rr=-0,fc=-1.1,L0=null,Zf=0,J1=null,K1=null,xr=-1.1,Z0=null,lm=-1.1,hv=-1.1,po=-0,go=-1.1,Yu=-1.1,$1=0,J0=null,DS=null,MS=null,Jf=-1.1,_r=null,Kf=-1.1,mv=-1.1,OS=-0,CS=-0,yv=0,rE=null,US=0,K0=-1.1,pv=!1,gv=!1,$0=null,k1=0,Hr=0,am=null,RS=Y.S;Y.S=function(t,e){if(D2=Hl(),typeof e=="object"&&e!==null&&typeof e.then=="function"){if(0>go&&0>Yu){go=Bl();var a=Sf(),i=Mu();(a!==Kf||i!==_r)&&(Kf=-1.1),Jf=a,_r=i}Fu(t,e)}RS!==null&&RS(t,e)};var Nr=ue(null),pi={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},k0=[],W0=[],F0=[],I0=[],P0=[],tp=[],Br=new Set;pi.recordUnsafeLifecycleWarnings=function(t,e){Br.has(t.type)||(typeof e.componentWillMount=="function"&&e.componentWillMount.__suppressDeprecationWarning!==!0&&k0.push(t),t.mode&xa&&typeof e.UNSAFE_componentWillMount=="function"&&W0.push(t),typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&F0.push(t),t.mode&xa&&typeof e.UNSAFE_componentWillReceiveProps=="function"&&I0.push(t),typeof e.componentWillUpdate=="function"&&e.componentWillUpdate.__suppressDeprecationWarning!==!0&&P0.push(t),t.mode&xa&&typeof e.UNSAFE_componentWillUpdate=="function"&&tp.push(t))},pi.flushPendingUnsafeLifecycleWarnings=function(){var t=new Set;0<k0.length&&(k0.forEach(function(h){t.add(at(h)||"Component"),Br.add(h.type)}),k0=[]);var e=new Set;0<W0.length&&(W0.forEach(function(h){e.add(at(h)||"Component"),Br.add(h.type)}),W0=[]);var a=new Set;0<F0.length&&(F0.forEach(function(h){a.add(at(h)||"Component"),Br.add(h.type)}),F0=[]);var i=new Set;0<I0.length&&(I0.forEach(function(h){i.add(at(h)||"Component"),Br.add(h.type)}),I0=[]);var o=new Set;0<P0.length&&(P0.forEach(function(h){o.add(at(h)||"Component"),Br.add(h.type)}),P0=[]);var f=new Set;if(0<tp.length&&(tp.forEach(function(h){f.add(at(h)||"Component"),Br.add(h.type)}),tp=[]),0<e.size){var d=K(e);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.
230
209
 
231
210
  * Move code with side effects to componentDidMount, and set initial state in the constructor.
232
211
 
233
- Please update the following components: %s`,y)}0<o.size&&(y=O(o),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.
212
+ Please update the following components: %s`,d)}0<i.size&&(d=K(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.
234
213
 
235
214
  * Move data fetching code or side effects to componentDidUpdate.
236
215
  * 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
237
216
 
238
- Please update the following components: %s`,y)),0<f.size&&(y=O(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.
217
+ Please update the following components: %s`,d)),0<f.size&&(d=K(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.
239
218
 
240
219
  * Move data fetching code or side effects to componentDidUpdate.
241
220
 
242
- Please update the following components: %s`,y)),0<t.size&&(y=O(t),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
221
+ Please update the following components: %s`,d)),0<t.size&&(d=K(t),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
243
222
 
244
223
  * Move code with side effects to componentDidMount, and set initial state in the constructor.
245
224
  * 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.
246
225
 
247
- Please update the following components: %s`,y)),0<a.size&&(y=O(a),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
226
+ Please update the following components: %s`,d)),0<a.size&&(d=K(a),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
248
227
 
249
228
  * Move data fetching code or side effects to componentDidUpdate.
250
229
  * 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
251
230
  * 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.
252
231
 
253
- Please update the following components: %s`,y)),0<c.size&&(y=O(c),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
232
+ Please update the following components: %s`,d)),0<o.size&&(d=K(o),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
254
233
 
255
234
  * Move data fetching code or side effects to componentDidUpdate.
256
235
  * 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.
257
236
 
258
- Please update the following components: %s`,y))};var n1=new Map,$D=new Set;Vo.recordLegacyContextWarning=function(t,e){for(var a=null,o=t;o!==null;)o.mode&Xa&&(a=o),o=o.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."):!$D.has(t.type)&&(o=n1.get(a),t.type.contextTypes!=null||t.type.childContextTypes!=null||e!==null&&typeof e.getChildContext=="function")&&(o===void 0&&(o=[],n1.set(a,o)),o.push(t))},Vo.flushLegacyContextWarning=function(){n1.forEach(function(t){if(t.length!==0){var e=t[0],a=new Set;t.forEach(function(c){a.add(yt(c)||"Component"),$D.add(c.type)});var o=O(a);mt(e,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
237
+ Please update the following components: %s`,d))};var vv=new Map,xS=new Set;pi.recordLegacyContextWarning=function(t,e){for(var a=null,i=t;i!==null;)i.mode&xa&&(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."):!xS.has(t.type)&&(i=vv.get(a),t.type.contextTypes!=null||t.type.childContextTypes!=null||e!==null&&typeof e.getChildContext=="function")&&(i===void 0&&(i=[],vv.set(a,i)),i.push(t))},pi.flushLegacyContextWarning=function(){vv.forEach(function(t){if(t.length!==0){var e=t[0],a=new Set;t.forEach(function(o){a.add(at(o)||"Component"),xS.add(o.type)});var i=K(a);$(e,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
259
238
 
260
239
  The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
261
240
 
262
241
  Please update the following components: %s
263
242
 
264
- Learn more about this warning here: https://react.dev/link/legacy-context`,o)})}})},Vo.discardPendingWarnings=function(){h0=[],m0=[],p0=[],y0=[],g0=[],v0=[],n1=new Map};var FD={react_stack_bottom_frame:function(t,e,a){var o=ki;ki=!0;try{return t(e,a)}finally{ki=o}}},a2=FD.react_stack_bottom_frame.bind(FD),WD={react_stack_bottom_frame:function(t){var e=ki;ki=!0;try{return t.render()}finally{ki=e}}},ID=WD.react_stack_bottom_frame.bind(WD),PD={react_stack_bottom_frame:function(t,e){try{e.componentDidMount()}catch(a){ee(t,t.return,a)}}},l2=PD.react_stack_bottom_frame.bind(PD),tC={react_stack_bottom_frame:function(t,e,a,o,c){try{e.componentDidUpdate(a,o,c)}catch(f){ee(t,t.return,f)}}},eC=tC.react_stack_bottom_frame.bind(tC),nC={react_stack_bottom_frame:function(t,e){var a=e.stack;t.componentDidCatch(e.value,{componentStack:a!==null?a:""})}},G5=nC.react_stack_bottom_frame.bind(nC),aC={react_stack_bottom_frame:function(t,e,a){try{a.componentWillUnmount()}catch(o){ee(t,e,o)}}},lC=aC.react_stack_bottom_frame.bind(aC),iC={react_stack_bottom_frame:function(t){var e=t.create;return t=t.inst,e=e(),t.destroy=e}},X5=iC.react_stack_bottom_frame.bind(iC),oC={react_stack_bottom_frame:function(t,e,a){try{a()}catch(o){ee(t,e,o)}}},Q5=oC.react_stack_bottom_frame.bind(oC),uC={react_stack_bottom_frame:function(t){var e=t._init;return e(t._payload)}},Z5=uC.react_stack_bottom_frame.bind(uC),ap=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`."),i2=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."),a1=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."),l1={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.')}},bd=null,b0=!1,lp=null,S0=0,oe=null,o2,sC=o2=!1,rC={},cC={},fC={};M=function(t,e,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 o=yt(t),c=o||"null";if(!rC[c]){rC[c]=!0,a=a._owner,t=t._debugOwner;var f="";t&&typeof t.tag=="number"&&(c=yt(t))&&(f=`
243
+ Learn more about this warning here: https://react.dev/link/legacy-context`,i)})}})},pi.discardPendingWarnings=function(){k0=[],W0=[],F0=[],I0=[],P0=[],tp=[],vv=new Map};var _S={react_stack_bottom_frame:function(t,e,a){var i=Cu;Cu=!0;try{return t(e,a)}finally{Cu=i}}},W1=_S.react_stack_bottom_frame.bind(_S),HS={react_stack_bottom_frame:function(t){var e=Cu;Cu=!0;try{return t.render()}finally{Cu=e}}},NS=HS.react_stack_bottom_frame.bind(HS),BS={react_stack_bottom_frame:function(t,e){try{e.componentDidMount()}catch(a){Gt(t,t.return,a)}}},F1=BS.react_stack_bottom_frame.bind(BS),wS={react_stack_bottom_frame:function(t,e,a,i,o){try{e.componentDidUpdate(a,i,o)}catch(f){Gt(t,t.return,f)}}},qS=wS.react_stack_bottom_frame.bind(wS),YS={react_stack_bottom_frame:function(t,e){var a=e.stack;t.componentDidCatch(e.value,{componentStack:a!==null?a:""})}},dE=YS.react_stack_bottom_frame.bind(YS),jS={react_stack_bottom_frame:function(t,e,a){try{a.componentWillUnmount()}catch(i){Gt(t,e,i)}}},GS=jS.react_stack_bottom_frame.bind(jS),XS={react_stack_bottom_frame:function(t){var e=t.create;return t=t.inst,e=e(),t.destroy=e}},hE=XS.react_stack_bottom_frame.bind(XS),VS={react_stack_bottom_frame:function(t,e,a){try{a()}catch(i){Gt(t,e,i)}}},mE=VS.react_stack_bottom_frame.bind(VS),QS={react_stack_bottom_frame:function(t){var e=t._init;return e(t._payload)}},yE=QS.react_stack_bottom_frame.bind(QS),nm=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`."),I1=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."),bv=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."),Sv={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.')}},wr=null,ep=!1,um=null,lp=0,Zt=null,P1,LS=P1=!1,ZS={},JS={},KS={};St=function(t,e,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=at(t),o=i||"null";if(!ZS[o]){ZS[o]=!0,a=a._owner,t=t._debugOwner;var f="";t&&typeof t.tag=="number"&&(o=at(t))&&(f=`
265
244
 
266
- Check the render method of \``+c+"`."),f||o&&(f=`
245
+ Check the render method of \``+o+"`."),f||i&&(f=`
267
246
 
268
- Check the top-level render call using <`+o+">.");var y="";a!=null&&t!==a&&(o=null,typeof a.tag=="number"?o=yt(a):typeof a.name=="string"&&(o=a.name),o&&(y=" It was passed a child from "+o+".")),mt(e,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,y)})}}};var Sd=Hn(!0),dC=Hn(!1),hC=0,mC=1,pC=2,u2=3,Ec=!1,yC=!1,s2=null,r2=!1,ip=Qt(null),i1=Qt(0),ri=Qt(null),ao=null,op=1,T0=2,_n=Qt(0),o1=0,lo=1,hl=2,ci=4,ml=8,up,gC=new Set,vC=new Set,c2=new Set,bC=new Set,Xs=0,Ft=null,Ze=null,kn=null,u1=!1,sp=!1,Td=!1,s1=0,A0=0,Qs=null,k5=0,J5=25,W=null,io=null,Zs=-1,E0=!1,x0={readContext:De,use:Ao,useCallback:cn,useContext:cn,useEffect:cn,useImperativeHandle:cn,useLayoutEffect:cn,useInsertionEffect:cn,useMemo:cn,useReducer:cn,useRef:cn,useState:cn,useDebugValue:cn,useDeferredValue:cn,useTransition:cn,useSyncExternalStore:cn,useId:cn,useHostTransitionStatus:cn,useFormState:cn,useActionState:cn,useOptimistic:cn,useMemoCache:cn,useCacheRefresh:cn};x0.useEffectEvent=cn;var f2=null,SC=null,d2=null,TC=null,wu=null,Ho=null,r1=null;f2={readContext:function(t){return De(t)},use:Ao,useCallback:function(t,e){return W="useCallback",$t(),To(e),jh(t,e)},useContext:function(t){return W="useContext",$t(),De(t)},useEffect:function(t,e){return W="useEffect",$t(),To(e),hs(t,e)},useImperativeHandle:function(t,e,a){return W="useImperativeHandle",$t(),To(a),Ui(t,e,a)},useInsertionEffect:function(t,e){W="useInsertionEffect",$t(),To(e),du(4,hl,t,e)},useLayoutEffect:function(t,e){return W="useLayoutEffect",$t(),To(e),Ta(t,e)},useMemo:function(t,e){W="useMemo",$t(),To(e);var a=P.H;P.H=wu;try{return Aa(t,e)}finally{P.H=a}},useReducer:function(t,e,a){W="useReducer",$t();var o=P.H;P.H=wu;try{return Dr(t,e,a)}finally{P.H=o}},useRef:function(t){return W="useRef",$t(),Nh(t)},useState:function(t){W="useState",$t();var e=P.H;P.H=wu;try{return su(t)}finally{P.H=e}},useDebugValue:function(){W="useDebugValue",$t()},useDeferredValue:function(t,e){return W="useDeferredValue",$t(),Rr(t,e)},useTransition:function(){return W="useTransition",$t(),hu()},useSyncExternalStore:function(t,e,a){return W="useSyncExternalStore",$t(),Cr(t,e,a)},useId:function(){return W="useId",$t(),xf()},useFormState:function(t,e){return W="useFormState",$t(),hf(),el(t,e)},useActionState:function(t,e){return W="useActionState",$t(),el(t,e)},useOptimistic:function(t){return W="useOptimistic",$t(),ds(t)},useHostTransitionStatus:Co,useMemoCache:Pa,useCacheRefresh:function(){return W="useCacheRefresh",$t(),Bh()},useEffectEvent:function(t){return W="useEffectEvent",$t(),Af(t)}},SC={readContext:function(t){return De(t)},use:Ao,useCallback:function(t,e){return W="useCallback",ct(),jh(t,e)},useContext:function(t){return W="useContext",ct(),De(t)},useEffect:function(t,e){return W="useEffect",ct(),hs(t,e)},useImperativeHandle:function(t,e,a){return W="useImperativeHandle",ct(),Ui(t,e,a)},useInsertionEffect:function(t,e){W="useInsertionEffect",ct(),du(4,hl,t,e)},useLayoutEffect:function(t,e){return W="useLayoutEffect",ct(),Ta(t,e)},useMemo:function(t,e){W="useMemo",ct();var a=P.H;P.H=wu;try{return Aa(t,e)}finally{P.H=a}},useReducer:function(t,e,a){W="useReducer",ct();var o=P.H;P.H=wu;try{return Dr(t,e,a)}finally{P.H=o}},useRef:function(t){return W="useRef",ct(),Nh(t)},useState:function(t){W="useState",ct();var e=P.H;P.H=wu;try{return su(t)}finally{P.H=e}},useDebugValue:function(){W="useDebugValue",ct()},useDeferredValue:function(t,e){return W="useDeferredValue",ct(),Rr(t,e)},useTransition:function(){return W="useTransition",ct(),hu()},useSyncExternalStore:function(t,e,a){return W="useSyncExternalStore",ct(),Cr(t,e,a)},useId:function(){return W="useId",ct(),xf()},useActionState:function(t,e){return W="useActionState",ct(),el(t,e)},useFormState:function(t,e){return W="useFormState",ct(),hf(),el(t,e)},useOptimistic:function(t){return W="useOptimistic",ct(),ds(t)},useHostTransitionStatus:Co,useMemoCache:Pa,useCacheRefresh:function(){return W="useCacheRefresh",ct(),Bh()},useEffectEvent:function(t){return W="useEffectEvent",ct(),Af(t)}},d2={readContext:function(t){return De(t)},use:Ao,useCallback:function(t,e){return W="useCallback",ct(),Fl(t,e)},useContext:function(t){return W="useContext",ct(),De(t)},useEffect:function(t,e){W="useEffect",ct(),On(2048,ml,t,e)},useImperativeHandle:function(t,e,a){return W="useImperativeHandle",ct(),Or(t,e,a)},useInsertionEffect:function(t,e){return W="useInsertionEffect",ct(),On(4,hl,t,e)},useLayoutEffect:function(t,e){return W="useLayoutEffect",ct(),On(4,ci,t,e)},useMemo:function(t,e){W="useMemo",ct();var a=P.H;P.H=Ho;try{return Fe(t,e)}finally{P.H=a}},useReducer:function(t,e,a){W="useReducer",ct();var o=P.H;P.H=Ho;try{return rs(t,e,a)}finally{P.H=o}},useRef:function(){return W="useRef",ct(),Oe().memoizedState},useState:function(){W="useState",ct();var t=P.H;P.H=Ho;try{return rs(tl)}finally{P.H=t}},useDebugValue:function(){W="useDebugValue",ct()},useDeferredValue:function(t,e){return W="useDeferredValue",ct(),_i(t,e)},useTransition:function(){return W="useTransition",ct(),Hv()},useSyncExternalStore:function(t,e,a){return W="useSyncExternalStore",ct(),fs(t,e,a)},useId:function(){return W="useId",ct(),Oe().memoizedState},useFormState:function(t){return W="useFormState",ct(),hf(),cu(t)},useActionState:function(t){return W="useActionState",ct(),cu(t)},useOptimistic:function(t,e){return W="useOptimistic",ct(),bf(t,e)},useHostTransitionStatus:Co,useMemoCache:Pa,useCacheRefresh:function(){return W="useCacheRefresh",ct(),Oe().memoizedState},useEffectEvent:function(t){return W="useEffectEvent",ct(),zr(t)}},TC={readContext:function(t){return De(t)},use:Ao,useCallback:function(t,e){return W="useCallback",ct(),Fl(t,e)},useContext:function(t){return W="useContext",ct(),De(t)},useEffect:function(t,e){W="useEffect",ct(),On(2048,ml,t,e)},useImperativeHandle:function(t,e,a){return W="useImperativeHandle",ct(),Or(t,e,a)},useInsertionEffect:function(t,e){return W="useInsertionEffect",ct(),On(4,hl,t,e)},useLayoutEffect:function(t,e){return W="useLayoutEffect",ct(),On(4,ci,t,e)},useMemo:function(t,e){W="useMemo",ct();var a=P.H;P.H=r1;try{return Fe(t,e)}finally{P.H=a}},useReducer:function(t,e,a){W="useReducer",ct();var o=P.H;P.H=r1;try{return cs(t,e,a)}finally{P.H=o}},useRef:function(){return W="useRef",ct(),Oe().memoizedState},useState:function(){W="useState",ct();var t=P.H;P.H=r1;try{return cs(tl)}finally{P.H=t}},useDebugValue:function(){W="useDebugValue",ct()},useDeferredValue:function(t,e){return W="useDeferredValue",ct(),te(t,e)},useTransition:function(){return W="useTransition",ct(),an()},useSyncExternalStore:function(t,e,a){return W="useSyncExternalStore",ct(),fs(t,e,a)},useId:function(){return W="useId",ct(),Oe().memoizedState},useFormState:function(t){return W="useFormState",ct(),hf(),fu(t)},useActionState:function(t){return W="useActionState",ct(),fu(t)},useOptimistic:function(t,e){return W="useOptimistic",ct(),Sf(t,e)},useHostTransitionStatus:Co,useMemoCache:Pa,useCacheRefresh:function(){return W="useCacheRefresh",ct(),Oe().memoizedState},useEffectEvent:function(t){return W="useEffectEvent",ct(),zr(t)}},wu={readContext:function(t){return x(),De(t)},use:function(t){return A(),Ao(t)},useCallback:function(t,e){return W="useCallback",A(),$t(),jh(t,e)},useContext:function(t){return W="useContext",A(),$t(),De(t)},useEffect:function(t,e){return W="useEffect",A(),$t(),hs(t,e)},useImperativeHandle:function(t,e,a){return W="useImperativeHandle",A(),$t(),Ui(t,e,a)},useInsertionEffect:function(t,e){W="useInsertionEffect",A(),$t(),du(4,hl,t,e)},useLayoutEffect:function(t,e){return W="useLayoutEffect",A(),$t(),Ta(t,e)},useMemo:function(t,e){W="useMemo",A(),$t();var a=P.H;P.H=wu;try{return Aa(t,e)}finally{P.H=a}},useReducer:function(t,e,a){W="useReducer",A(),$t();var o=P.H;P.H=wu;try{return Dr(t,e,a)}finally{P.H=o}},useRef:function(t){return W="useRef",A(),$t(),Nh(t)},useState:function(t){W="useState",A(),$t();var e=P.H;P.H=wu;try{return su(t)}finally{P.H=e}},useDebugValue:function(){W="useDebugValue",A(),$t()},useDeferredValue:function(t,e){return W="useDeferredValue",A(),$t(),Rr(t,e)},useTransition:function(){return W="useTransition",A(),$t(),hu()},useSyncExternalStore:function(t,e,a){return W="useSyncExternalStore",A(),$t(),Cr(t,e,a)},useId:function(){return W="useId",A(),$t(),xf()},useFormState:function(t,e){return W="useFormState",A(),$t(),el(t,e)},useActionState:function(t,e){return W="useActionState",A(),$t(),el(t,e)},useOptimistic:function(t){return W="useOptimistic",A(),$t(),ds(t)},useMemoCache:function(t){return A(),Pa(t)},useHostTransitionStatus:Co,useCacheRefresh:function(){return W="useCacheRefresh",$t(),Bh()},useEffectEvent:function(t){return W="useEffectEvent",A(),$t(),Af(t)}},Ho={readContext:function(t){return x(),De(t)},use:function(t){return A(),Ao(t)},useCallback:function(t,e){return W="useCallback",A(),ct(),Fl(t,e)},useContext:function(t){return W="useContext",A(),ct(),De(t)},useEffect:function(t,e){W="useEffect",A(),ct(),On(2048,ml,t,e)},useImperativeHandle:function(t,e,a){return W="useImperativeHandle",A(),ct(),Or(t,e,a)},useInsertionEffect:function(t,e){return W="useInsertionEffect",A(),ct(),On(4,hl,t,e)},useLayoutEffect:function(t,e){return W="useLayoutEffect",A(),ct(),On(4,ci,t,e)},useMemo:function(t,e){W="useMemo",A(),ct();var a=P.H;P.H=Ho;try{return Fe(t,e)}finally{P.H=a}},useReducer:function(t,e,a){W="useReducer",A(),ct();var o=P.H;P.H=Ho;try{return rs(t,e,a)}finally{P.H=o}},useRef:function(){return W="useRef",A(),ct(),Oe().memoizedState},useState:function(){W="useState",A(),ct();var t=P.H;P.H=Ho;try{return rs(tl)}finally{P.H=t}},useDebugValue:function(){W="useDebugValue",A(),ct()},useDeferredValue:function(t,e){return W="useDeferredValue",A(),ct(),_i(t,e)},useTransition:function(){return W="useTransition",A(),ct(),Hv()},useSyncExternalStore:function(t,e,a){return W="useSyncExternalStore",A(),ct(),fs(t,e,a)},useId:function(){return W="useId",A(),ct(),Oe().memoizedState},useFormState:function(t){return W="useFormState",A(),ct(),cu(t)},useActionState:function(t){return W="useActionState",A(),ct(),cu(t)},useOptimistic:function(t,e){return W="useOptimistic",A(),ct(),bf(t,e)},useMemoCache:function(t){return A(),Pa(t)},useHostTransitionStatus:Co,useCacheRefresh:function(){return W="useCacheRefresh",ct(),Oe().memoizedState},useEffectEvent:function(t){return W="useEffectEvent",A(),ct(),zr(t)}},r1={readContext:function(t){return x(),De(t)},use:function(t){return A(),Ao(t)},useCallback:function(t,e){return W="useCallback",A(),ct(),Fl(t,e)},useContext:function(t){return W="useContext",A(),ct(),De(t)},useEffect:function(t,e){W="useEffect",A(),ct(),On(2048,ml,t,e)},useImperativeHandle:function(t,e,a){return W="useImperativeHandle",A(),ct(),Or(t,e,a)},useInsertionEffect:function(t,e){return W="useInsertionEffect",A(),ct(),On(4,hl,t,e)},useLayoutEffect:function(t,e){return W="useLayoutEffect",A(),ct(),On(4,ci,t,e)},useMemo:function(t,e){W="useMemo",A(),ct();var a=P.H;P.H=Ho;try{return Fe(t,e)}finally{P.H=a}},useReducer:function(t,e,a){W="useReducer",A(),ct();var o=P.H;P.H=Ho;try{return cs(t,e,a)}finally{P.H=o}},useRef:function(){return W="useRef",A(),ct(),Oe().memoizedState},useState:function(){W="useState",A(),ct();var t=P.H;P.H=Ho;try{return cs(tl)}finally{P.H=t}},useDebugValue:function(){W="useDebugValue",A(),ct()},useDeferredValue:function(t,e){return W="useDeferredValue",A(),ct(),te(t,e)},useTransition:function(){return W="useTransition",A(),ct(),an()},useSyncExternalStore:function(t,e,a){return W="useSyncExternalStore",A(),ct(),fs(t,e,a)},useId:function(){return W="useId",A(),ct(),Oe().memoizedState},useFormState:function(t){return W="useFormState",A(),ct(),fu(t)},useActionState:function(t){return W="useActionState",A(),ct(),fu(t)},useOptimistic:function(t,e){return W="useOptimistic",A(),ct(),Sf(t,e)},useMemoCache:function(t){return A(),Pa(t)},useHostTransitionStatus:Co,useCacheRefresh:function(){return W="useCacheRefresh",ct(),Oe().memoizedState},useEffectEvent:function(t){return W="useEffectEvent",A(),ct(),zr(t)}};var AC={},EC=new Set,xC=new Set,DC=new Set,CC=new Set,MC=new Set,zC=new Set,OC=new Set,RC=new Set,wC=new Set,UC=new Set;Object.freeze(AC);var h2={enqueueSetState:function(t,e,a){t=t._reactInternals;var o=ua(t),c=zn(o);c.payload=e,a!=null&&(gs(a),c.callback=a),e=zi(t,c,o),e!==null&&(Di(o,"this.setState()",t),kt(e,t,o),Cl(e,t,o))},enqueueReplaceState:function(t,e,a){t=t._reactInternals;var o=ua(t),c=zn(o);c.tag=mC,c.payload=e,a!=null&&(gs(a),c.callback=a),e=zi(t,c,o),e!==null&&(Di(o,"this.replaceState()",t),kt(e,t,o),Cl(e,t,o))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var a=ua(t),o=zn(a);o.tag=pC,e!=null&&(gs(e),o.callback=e),e=zi(t,o,a),e!==null&&(Di(a,"this.forceUpdate()",t),kt(e,t,a),Cl(e,t,a))}},rp=null,m2=null,p2=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."),Jn=!1,_C={},NC={},jC={},BC={},cp=!1,VC={},c1={},y2={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},HC=!1,LC=null;LC=new Set;var ks=!1,Kn=!1,g2=!1,qC=typeof WeakSet=="function"?WeakSet:Set,fa=null,fp=null,dp=null,$n=null,Ul=!1,Lo=null,aa=!1,D0=8192,K5={getCacheForType:function(t){var e=De(Qn),a=e.data.get(t);return a===void 0&&(a=t(),e.data.set(t,a)),a},cacheSignal:function(){return De(Qn).controller.signal},getOwner:function(){return Ga}};if(typeof Symbol=="function"&&Symbol.for){var C0=Symbol.for;C0("selector.component"),C0("selector.has_pseudo_class"),C0("selector.role"),C0("selector.test_id"),C0("selector.text")}var $5=[],F5=typeof WeakMap=="function"?WeakMap:Map,da=0,la=2,fi=4,Js=0,M0=1,Ad=2,f1=3,xc=4,d1=6,YC=5,Te=da,ke=null,ce=null,ue=0,_l=0,h1=1,Ed=2,z0=3,GC=4,v2=5,O0=6,m1=7,b2=8,xd=9,Le=_l,di=null,Dc=!1,hp=!1,S2=!1,Uu=0,hn=Js,Cc=0,Mc=0,T2=0,Nl=0,Dd=0,R0=null,pl=null,p1=!1,y1=0,XC=0,QC=300,g1=1/0,ZC=500,w0=null,Cn=null,zc=null,v1=0,A2=1,E2=2,kC=3,Oc=0,JC=1,KC=2,$C=3,FC=4,b1=5,Fn=0,Rc=null,mp=null,qo=0,x2=0,D2=-0,C2=null,WC=null,IC=null,Yo=v1,PC=null,W5=50,U0=0,M2=null,z2=!1,S1=!1,I5=50,Cd=0,_0=null,pp=!1,T1=null,tM=!1,eM=new Set,P5={},A1=null,yp=null,O2=!1,R2=!1,E1=!1,w2=!1,wc=0,U2={};(function(){for(var t=0;t<XT.length;t++){var e=XT[t],a=e.toLowerCase();e=e[0].toUpperCase()+e.slice(1),ql(a,"on"+e)}ql(wD,"onAnimationEnd"),ql(UD,"onAnimationIteration"),ql(_D,"onAnimationStart"),ql("dblclick","onDoubleClick"),ql("focusin","onFocus"),ql("focusout","onBlur"),ql(z5,"onTransitionRun"),ql(O5,"onTransitionStart"),ql(R5,"onTransitionCancel"),ql(ND,"onTransitionEnd")})(),ir("onMouseEnter",["mouseout","mouseover"]),ir("onMouseLeave",["mouseout","mouseover"]),ir("onPointerEnter",["pointerout","pointerover"]),ir("onPointerLeave",["pointerout","pointerover"]),Vl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Vl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Vl("onBeforeInput",["compositionend","keypress","textInput","paste"]),Vl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Vl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Vl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var N0="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(" "),_2=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(N0)),x1="_reactListening"+Math.random().toString(36).slice(2),nM=!1,aM=!1,D1=!1,lM=!1,C1=!1,M1=!1,iM=!1,z1={},t6=/\r\n?/g,e6=/\u0000|\uFFFD/g,Md="http://www.w3.org/1999/xlink",N2="http://www.w3.org/XML/1998/namespace",n6="javascript:throw new Error('React form unexpectedly submitted.')",a6="suppressHydrationWarning",zd="&",O1="/&",j0="$",B0="/$",Uc="$?",Od="$~",gp="$!",l6="html",i6="body",o6="head",j2="F!",oM="F",uM="loading",u6="style",Ks=0,vp=1,R1=2,B2=null,V2=null,sM={dialog:!0,webview:!0},H2=null,V0=void 0,rM=typeof setTimeout=="function"?setTimeout:void 0,s6=typeof clearTimeout=="function"?clearTimeout:void 0,Rd=-1,cM=typeof Promise=="function"?Promise:void 0,r6=typeof queueMicrotask=="function"?queueMicrotask:typeof cM<"u"?function(t){return cM.resolve(null).then(t).catch(ob)}:rM,L2=null,wd=0,H0=1,fM=2,dM=3,oo=4,uo=new Map,hM=new Set,$s=Me.d;Me.d={f:function(){var t=$s.f(),e=ol();return t||e},r:function(t){var e=Bl(t);e!==null&&e.tag===5&&e.type==="form"?wr(e):$s.r(t)},D:function(t){$s.D(t),Dg("dns-prefetch",t,null)},C:function(t,e){$s.C(t,e),Dg("preconnect",t,e)},L:function(t,e,a){$s.L(t,e,a);var o=bp;if(o&&t&&e){var c='link[rel="preload"][as="'+Ne(e)+'"]';e==="image"&&a&&a.imageSrcSet?(c+='[imagesrcset="'+Ne(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(c+='[imagesizes="'+Ne(a.imageSizes)+'"]')):c+='[href="'+Ne(t)+'"]';var f=c;switch(e){case"style":f=Ms(t);break;case"script":f=zs(t)}uo.has(f)||(t=le({rel:"preload",href:e==="image"&&a&&a.imageSrcSet?void 0:t,as:e},a),uo.set(f,t),o.querySelector(c)!==null||e==="style"&&o.querySelector(Ff(f))||e==="script"&&o.querySelector(Wf(f))||(e=o.createElement("link"),We(e,"link",t),yn(e),o.head.appendChild(e)))}},m:function(t,e){$s.m(t,e);var a=bp;if(a&&t){var o=e&&typeof e.as=="string"?e.as:"script",c='link[rel="modulepreload"][as="'+Ne(o)+'"][href="'+Ne(t)+'"]',f=c;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=zs(t)}if(!uo.has(f)&&(t=le({rel:"modulepreload",href:t},e),uo.set(f,t),a.querySelector(c)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Wf(f)))return}o=a.createElement("link"),We(o,"link",t),yn(o),a.head.appendChild(o)}}},X:function(t,e){$s.X(t,e);var a=bp;if(a&&t){var o=vl(a).hoistableScripts,c=zs(t),f=o.get(c);f||(f=a.querySelector(Wf(c)),f||(t=le({src:t,async:!0},e),(e=uo.get(c))&&zg(t,e),f=a.createElement("script"),yn(f),We(f,"link",t),a.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},o.set(c,f))}},S:function(t,e,a){$s.S(t,e,a);var o=bp;if(o&&t){var c=vl(o).hoistableStyles,f=Ms(t);e=e||"default";var y=c.get(f);if(!y){var g={loading:wd,preload:null};if(y=o.querySelector(Ff(f)))g.loading=H0|oo;else{t=le({rel:"stylesheet",href:t,"data-precedence":e},a),(a=uo.get(f))&&Mg(t,a);var E=y=o.createElement("link");yn(E),We(E,"link",t),E._p=new Promise(function(D,V){E.onload=D,E.onerror=V}),E.addEventListener("load",function(){g.loading|=H0}),E.addEventListener("error",function(){g.loading|=fM}),g.loading|=oo,Ir(y,e,o)}y={type:"stylesheet",instance:y,count:1,state:g},c.set(f,y)}}},M:function(t,e){$s.M(t,e);var a=bp;if(a&&t){var o=vl(a).hoistableScripts,c=zs(t),f=o.get(c);f||(f=a.querySelector(Wf(c)),f||(t=le({src:t,async:!0,type:"module"},e),(e=uo.get(c))&&zg(t,e),f=a.createElement("script"),yn(f),We(f,"link",t),a.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},o.set(c,f))}}};var bp=typeof document>"u"?null:document,w1=null,c6=6e4,f6=800,d6=500,q2=0,Y2=null,U1=null,Ud=wT,L0={$$typeof:ii,Provider:null,Consumer:null,_currentValue:Ud,_currentValue2:Ud,_threadCount:0},mM="%c%s%c",pM="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",yM="",_1=" ",h6=Function.prototype.bind,gM=!1,vM=null,bM=null,SM=null,TM=null,AM=null,EM=null,xM=null,DM=null,CM=null,MM=null;vM=function(t,e,a,o){e=u(t,e),e!==null&&(a=r(e.memoizedState,a,0,o),e.memoizedState=a,e.baseState=a,t.memoizedProps=le({},t.memoizedProps),a=ia(t,2),a!==null&&kt(a,t,2))},bM=function(t,e,a){e=u(t,e),e!==null&&(a=v(e.memoizedState,a,0),e.memoizedState=a,e.baseState=a,t.memoizedProps=le({},t.memoizedProps),a=ia(t,2),a!==null&&kt(a,t,2))},SM=function(t,e,a,o){e=u(t,e),e!==null&&(a=d(e.memoizedState,a,o),e.memoizedState=a,e.baseState=a,t.memoizedProps=le({},t.memoizedProps),a=ia(t,2),a!==null&&kt(a,t,2))},TM=function(t,e,a){t.pendingProps=r(t.memoizedProps,e,0,a),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=ia(t,2),e!==null&&kt(e,t,2)},AM=function(t,e){t.pendingProps=v(t.memoizedProps,e,0),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=ia(t,2),e!==null&&kt(e,t,2)},EM=function(t,e,a){t.pendingProps=d(t.memoizedProps,e,a),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=ia(t,2),e!==null&&kt(e,t,2)},xM=function(t){var e=ia(t,2);e!==null&&kt(e,t,2)},DM=function(t){var e=Id(),a=ia(t,e);a!==null&&kt(a,t,e)},CM=function(t){b=t},MM=function(t){T=t};var N1=!0,j1=null,G2=!1,_c=null,Nc=null,jc=null,q0=new Map,Y0=new Map,Bc=[],m6="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(" "),B1=null;if(li.prototype.render=Hg.prototype.render=function(t){var e=this._internalRoot;if(e===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()."):ot(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=t;var o=e.current,c=ua(o);Cm(o,c,a,e,null,null)},li.prototype.unmount=Hg.prototype.unmount=function(){var t=arguments;if(typeof t[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()."),t=this._internalRoot,t!==null){this._internalRoot=null;var e=t.containerInfo;(Te&(la|fi))!==da&&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."),Cm(t.current,2,null,t,null,null),ol(),e[jo]=null}},li.prototype.unstable_scheduleHydration=function(t){if(t){var e=mv();t={blockedOn:null,target:t,priority:e};for(var a=0;a<Bc.length&&e!==0&&e<Bc[a].priority;a++);Bc.splice(a,0,t),a===0&&Vg(t)}},(function(){var t=nd.version;if(t!=="19.2.0")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
247
+ Check the top-level render call using <`+i+">.");var d="";a!=null&&t!==a&&(i=null,typeof a.tag=="number"?i=at(a):typeof a.name=="string"&&(i=a.name),i&&(d=" It was passed a child from "+i+".")),$(e,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 qr=Cl(!0),$S=Cl(!1),kS=0,WS=1,FS=2,tb=3,$f=!1,IS=!1,eb=null,lb=!1,im=ue(null),Tv=ue(0),kn=ue(null),ju=null,cm=1,ap=2,zl=ue(0),Ev=0,Gu=1,Pa=2,Wn=4,tn=8,om,PS=new Set,t2=new Set,ab=new Set,e2=new Set,vo=0,Rt=null,we=null,wl=null,Av=!1,fm=!1,Yr=!1,zv=0,np=0,bo=null,pE=0,gE=25,B=null,Xu=null,So=-1,up=!1,ip={readContext:ye,use:ei,useCallback:al,useContext:al,useEffect:al,useImperativeHandle:al,useLayoutEffect:al,useInsertionEffect:al,useMemo:al,useReducer:al,useRef:al,useState:al,useDebugValue:al,useDeferredValue:al,useTransition:al,useSyncExternalStore:al,useId:al,useHostTransitionStatus:al,useFormState:al,useActionState:al,useOptimistic:al,useMemoCache:al,useCacheRefresh:al};ip.useEffectEvent=al;var nb=null,l2=null,ub=null,a2=null,sc=null,gi=null,Dv=null;nb={readContext:function(t){return ye(t)},use:ei,useCallback:function(t,e){return B="useCallback",Ut(),ti(e),wd(t,e)},useContext:function(t){return B="useContext",Ut(),ye(t)},useEffect:function(t,e){return B="useEffect",Ut(),ti(e),Xc(t,e)},useImperativeHandle:function(t,e,a){return B="useImperativeHandle",Ut(),ti(a),mu(t,e,a)},useInsertionEffect:function(t,e){B="useInsertionEffect",Ut(),ti(e),Zi(4,Pa,t,e)},useLayoutEffect:function(t,e){return B="useLayoutEffect",Ut(),ti(e),sa(t,e)},useMemo:function(t,e){B="useMemo",Ut(),ti(e);var a=Y.H;Y.H=sc;try{return ra(t,e)}finally{Y.H=a}},useReducer:function(t,e,a){B="useReducer",Ut();var i=Y.H;Y.H=sc;try{return ko(t,e,a)}finally{Y.H=i}},useRef:function(t){return B="useRef",Ut(),Bd(t)},useState:function(t){B="useState",Ut();var e=Y.H;Y.H=sc;try{return Xi(t)}finally{Y.H=e}},useDebugValue:function(){B="useDebugValue",Ut()},useDeferredValue:function(t,e){return B="useDeferredValue",Ut(),tf(t,e)},useTransition:function(){return B="useTransition",Ut(),Ji()},useSyncExternalStore:function(t,e,a){return B="useSyncExternalStore",Ut(),Wo(t,e,a)},useId:function(){return B="useId",Ut(),Xs()},useFormState:function(t,e){return B="useFormState",Ut(),Rs(),Xa(t,e)},useActionState:function(t,e){return B="useActionState",Ut(),Xa(t,e)},useOptimistic:function(t){return B="useOptimistic",Ut(),Gc(t)},useHostTransitionStatus:ui,useMemoCache:ja,useCacheRefresh:function(){return B="useCacheRefresh",Ut(),qd()},useEffectEvent:function(t){return B="useEffectEvent",Ut(),js(t)}},l2={readContext:function(t){return ye(t)},use:ei,useCallback:function(t,e){return B="useCallback",J(),wd(t,e)},useContext:function(t){return B="useContext",J(),ye(t)},useEffect:function(t,e){return B="useEffect",J(),Xc(t,e)},useImperativeHandle:function(t,e,a){return B="useImperativeHandle",J(),mu(t,e,a)},useInsertionEffect:function(t,e){B="useInsertionEffect",J(),Zi(4,Pa,t,e)},useLayoutEffect:function(t,e){return B="useLayoutEffect",J(),sa(t,e)},useMemo:function(t,e){B="useMemo",J();var a=Y.H;Y.H=sc;try{return ra(t,e)}finally{Y.H=a}},useReducer:function(t,e,a){B="useReducer",J();var i=Y.H;Y.H=sc;try{return ko(t,e,a)}finally{Y.H=i}},useRef:function(t){return B="useRef",J(),Bd(t)},useState:function(t){B="useState",J();var e=Y.H;Y.H=sc;try{return Xi(t)}finally{Y.H=e}},useDebugValue:function(){B="useDebugValue",J()},useDeferredValue:function(t,e){return B="useDeferredValue",J(),tf(t,e)},useTransition:function(){return B="useTransition",J(),Ji()},useSyncExternalStore:function(t,e,a){return B="useSyncExternalStore",J(),Wo(t,e,a)},useId:function(){return B="useId",J(),Xs()},useActionState:function(t,e){return B="useActionState",J(),Xa(t,e)},useFormState:function(t,e){return B="useFormState",J(),Rs(),Xa(t,e)},useOptimistic:function(t){return B="useOptimistic",J(),Gc(t)},useHostTransitionStatus:ui,useMemoCache:ja,useCacheRefresh:function(){return B="useCacheRefresh",J(),qd()},useEffectEvent:function(t){return B="useEffectEvent",J(),js(t)}},ub={readContext:function(t){return ye(t)},use:ei,useCallback:function(t,e){return B="useCallback",J(),wn(t,e)},useContext:function(t){return B="useContext",J(),ye(t)},useEffect:function(t,e){B="useEffect",J(),Sl(2048,tn,t,e)},useImperativeHandle:function(t,e,a){return B="useImperativeHandle",J(),Po(t,e,a)},useInsertionEffect:function(t,e){return B="useInsertionEffect",J(),Sl(4,Pa,t,e)},useLayoutEffect:function(t,e){return B="useLayoutEffect",J(),Sl(4,Wn,t,e)},useMemo:function(t,e){B="useMemo",J();var a=Y.H;Y.H=gi;try{return Qe(t,e)}finally{Y.H=a}},useReducer:function(t,e,a){B="useReducer",J();var i=Y.H;Y.H=gi;try{return qc(t,e,a)}finally{Y.H=i}},useRef:function(){return B="useRef",J(),Se().memoizedState},useState:function(){B="useState",J();var t=Y.H;Y.H=gi;try{return qc(Ga)}finally{Y.H=t}},useDebugValue:function(){B="useDebugValue",J()},useDeferredValue:function(t,e){return B="useDeferredValue",J(),yu(t,e)},useTransition:function(){return B="useTransition",J(),tg()},useSyncExternalStore:function(t,e,a){return B="useSyncExternalStore",J(),jc(t,e,a)},useId:function(){return B="useId",J(),Se().memoizedState},useFormState:function(t){return B="useFormState",J(),Rs(),Qi(t)},useActionState:function(t){return B="useActionState",J(),Qi(t)},useOptimistic:function(t,e){return B="useOptimistic",J(),ws(t,e)},useHostTransitionStatus:ui,useMemoCache:ja,useCacheRefresh:function(){return B="useCacheRefresh",J(),Se().memoizedState},useEffectEvent:function(t){return B="useEffectEvent",J(),Io(t)}},a2={readContext:function(t){return ye(t)},use:ei,useCallback:function(t,e){return B="useCallback",J(),wn(t,e)},useContext:function(t){return B="useContext",J(),ye(t)},useEffect:function(t,e){B="useEffect",J(),Sl(2048,tn,t,e)},useImperativeHandle:function(t,e,a){return B="useImperativeHandle",J(),Po(t,e,a)},useInsertionEffect:function(t,e){return B="useInsertionEffect",J(),Sl(4,Pa,t,e)},useLayoutEffect:function(t,e){return B="useLayoutEffect",J(),Sl(4,Wn,t,e)},useMemo:function(t,e){B="useMemo",J();var a=Y.H;Y.H=Dv;try{return Qe(t,e)}finally{Y.H=a}},useReducer:function(t,e,a){B="useReducer",J();var i=Y.H;Y.H=Dv;try{return Yc(t,e,a)}finally{Y.H=i}},useRef:function(){return B="useRef",J(),Se().memoizedState},useState:function(){B="useState",J();var t=Y.H;Y.H=Dv;try{return Yc(Ga)}finally{Y.H=t}},useDebugValue:function(){B="useDebugValue",J()},useDeferredValue:function(t,e){return B="useDeferredValue",J(),Bt(t,e)},useTransition:function(){return B="useTransition",J(),Ie()},useSyncExternalStore:function(t,e,a){return B="useSyncExternalStore",J(),jc(t,e,a)},useId:function(){return B="useId",J(),Se().memoizedState},useFormState:function(t){return B="useFormState",J(),Rs(),Li(t)},useActionState:function(t){return B="useActionState",J(),Li(t)},useOptimistic:function(t,e){return B="useOptimistic",J(),qs(t,e)},useHostTransitionStatus:ui,useMemoCache:ja,useCacheRefresh:function(){return B="useCacheRefresh",J(),Se().memoizedState},useEffectEvent:function(t){return B="useEffectEvent",J(),Io(t)}},sc={readContext:function(t){return tt(),ye(t)},use:function(t){return V(),ei(t)},useCallback:function(t,e){return B="useCallback",V(),Ut(),wd(t,e)},useContext:function(t){return B="useContext",V(),Ut(),ye(t)},useEffect:function(t,e){return B="useEffect",V(),Ut(),Xc(t,e)},useImperativeHandle:function(t,e,a){return B="useImperativeHandle",V(),Ut(),mu(t,e,a)},useInsertionEffect:function(t,e){B="useInsertionEffect",V(),Ut(),Zi(4,Pa,t,e)},useLayoutEffect:function(t,e){return B="useLayoutEffect",V(),Ut(),sa(t,e)},useMemo:function(t,e){B="useMemo",V(),Ut();var a=Y.H;Y.H=sc;try{return ra(t,e)}finally{Y.H=a}},useReducer:function(t,e,a){B="useReducer",V(),Ut();var i=Y.H;Y.H=sc;try{return ko(t,e,a)}finally{Y.H=i}},useRef:function(t){return B="useRef",V(),Ut(),Bd(t)},useState:function(t){B="useState",V(),Ut();var e=Y.H;Y.H=sc;try{return Xi(t)}finally{Y.H=e}},useDebugValue:function(){B="useDebugValue",V(),Ut()},useDeferredValue:function(t,e){return B="useDeferredValue",V(),Ut(),tf(t,e)},useTransition:function(){return B="useTransition",V(),Ut(),Ji()},useSyncExternalStore:function(t,e,a){return B="useSyncExternalStore",V(),Ut(),Wo(t,e,a)},useId:function(){return B="useId",V(),Ut(),Xs()},useFormState:function(t,e){return B="useFormState",V(),Ut(),Xa(t,e)},useActionState:function(t,e){return B="useActionState",V(),Ut(),Xa(t,e)},useOptimistic:function(t){return B="useOptimistic",V(),Ut(),Gc(t)},useMemoCache:function(t){return V(),ja(t)},useHostTransitionStatus:ui,useCacheRefresh:function(){return B="useCacheRefresh",Ut(),qd()},useEffectEvent:function(t){return B="useEffectEvent",V(),Ut(),js(t)}},gi={readContext:function(t){return tt(),ye(t)},use:function(t){return V(),ei(t)},useCallback:function(t,e){return B="useCallback",V(),J(),wn(t,e)},useContext:function(t){return B="useContext",V(),J(),ye(t)},useEffect:function(t,e){B="useEffect",V(),J(),Sl(2048,tn,t,e)},useImperativeHandle:function(t,e,a){return B="useImperativeHandle",V(),J(),Po(t,e,a)},useInsertionEffect:function(t,e){return B="useInsertionEffect",V(),J(),Sl(4,Pa,t,e)},useLayoutEffect:function(t,e){return B="useLayoutEffect",V(),J(),Sl(4,Wn,t,e)},useMemo:function(t,e){B="useMemo",V(),J();var a=Y.H;Y.H=gi;try{return Qe(t,e)}finally{Y.H=a}},useReducer:function(t,e,a){B="useReducer",V(),J();var i=Y.H;Y.H=gi;try{return qc(t,e,a)}finally{Y.H=i}},useRef:function(){return B="useRef",V(),J(),Se().memoizedState},useState:function(){B="useState",V(),J();var t=Y.H;Y.H=gi;try{return qc(Ga)}finally{Y.H=t}},useDebugValue:function(){B="useDebugValue",V(),J()},useDeferredValue:function(t,e){return B="useDeferredValue",V(),J(),yu(t,e)},useTransition:function(){return B="useTransition",V(),J(),tg()},useSyncExternalStore:function(t,e,a){return B="useSyncExternalStore",V(),J(),jc(t,e,a)},useId:function(){return B="useId",V(),J(),Se().memoizedState},useFormState:function(t){return B="useFormState",V(),J(),Qi(t)},useActionState:function(t){return B="useActionState",V(),J(),Qi(t)},useOptimistic:function(t,e){return B="useOptimistic",V(),J(),ws(t,e)},useMemoCache:function(t){return V(),ja(t)},useHostTransitionStatus:ui,useCacheRefresh:function(){return B="useCacheRefresh",J(),Se().memoizedState},useEffectEvent:function(t){return B="useEffectEvent",V(),J(),Io(t)}},Dv={readContext:function(t){return tt(),ye(t)},use:function(t){return V(),ei(t)},useCallback:function(t,e){return B="useCallback",V(),J(),wn(t,e)},useContext:function(t){return B="useContext",V(),J(),ye(t)},useEffect:function(t,e){B="useEffect",V(),J(),Sl(2048,tn,t,e)},useImperativeHandle:function(t,e,a){return B="useImperativeHandle",V(),J(),Po(t,e,a)},useInsertionEffect:function(t,e){return B="useInsertionEffect",V(),J(),Sl(4,Pa,t,e)},useLayoutEffect:function(t,e){return B="useLayoutEffect",V(),J(),Sl(4,Wn,t,e)},useMemo:function(t,e){B="useMemo",V(),J();var a=Y.H;Y.H=gi;try{return Qe(t,e)}finally{Y.H=a}},useReducer:function(t,e,a){B="useReducer",V(),J();var i=Y.H;Y.H=gi;try{return Yc(t,e,a)}finally{Y.H=i}},useRef:function(){return B="useRef",V(),J(),Se().memoizedState},useState:function(){B="useState",V(),J();var t=Y.H;Y.H=gi;try{return Yc(Ga)}finally{Y.H=t}},useDebugValue:function(){B="useDebugValue",V(),J()},useDeferredValue:function(t,e){return B="useDeferredValue",V(),J(),Bt(t,e)},useTransition:function(){return B="useTransition",V(),J(),Ie()},useSyncExternalStore:function(t,e,a){return B="useSyncExternalStore",V(),J(),jc(t,e,a)},useId:function(){return B="useId",V(),J(),Se().memoizedState},useFormState:function(t){return B="useFormState",V(),J(),Li(t)},useActionState:function(t){return B="useActionState",V(),J(),Li(t)},useOptimistic:function(t,e){return B="useOptimistic",V(),J(),qs(t,e)},useMemoCache:function(t){return V(),ja(t)},useHostTransitionStatus:ui,useCacheRefresh:function(){return B="useCacheRefresh",J(),Se().memoizedState},useEffectEvent:function(t){return B="useEffectEvent",V(),J(),Io(t)}};var n2={},u2=new Set,i2=new Set,c2=new Set,o2=new Set,f2=new Set,s2=new Set,r2=new Set,d2=new Set,h2=new Set,m2=new Set;Object.freeze(n2);var ib={enqueueSetState:function(t,e,a){t=t._reactInternals;var i=Fl(t),o=bl(i);o.payload=e,a!=null&&(Zc(a),o.callback=a),e=su(t,o,i),e!==null&&(cu(i,"this.setState()",t),Ot(e,t,i),dn(e,t,i))},enqueueReplaceState:function(t,e,a){t=t._reactInternals;var i=Fl(t),o=bl(i);o.tag=WS,o.payload=e,a!=null&&(Zc(a),o.callback=a),e=su(t,o,i),e!==null&&(cu(i,"this.replaceState()",t),Ot(e,t,i),dn(e,t,i))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var a=Fl(t),i=bl(a);i.tag=FS,e!=null&&(Zc(e),i.callback=e),e=su(t,i,a),e!==null&&(cu(a,"this.forceUpdate()",t),Ot(e,t,a),dn(e,t,a))}},sm=null,cb=null,ob=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."),ql=!1,y2={},p2={},g2={},v2={},rm=!1,b2={},Mv={},fb={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},S2=!1,T2=null;T2=new Set;var To=!1,Yl=!1,sb=!1,E2=typeof WeakSet=="function"?WeakSet:Set,ea=null,dm=null,hm=null,jl=null,vn=!1,vi=null,Kl=!1,cp=8192,vE={getCacheForType:function(t){var e=ye(Nl),a=e.data.get(t);return a===void 0&&(a=t(),e.data.set(t,a)),a},cacheSignal:function(){return ye(Nl).controller.signal},getOwner:function(){return Ra}};if(typeof Symbol=="function"&&Symbol.for){var op=Symbol.for;op("selector.component"),op("selector.has_pseudo_class"),op("selector.role"),op("selector.test_id"),op("selector.text")}var bE=[],SE=typeof WeakMap=="function"?WeakMap:Map,la=0,$l=2,Fn=4,Eo=0,fp=1,jr=2,Ov=3,kf=4,Cv=6,A2=5,se=la,qe=null,kt=null,Jt=0,bn=0,Uv=1,Gr=2,sp=3,z2=4,rb=5,rp=6,Rv=7,db=8,Xr=9,Re=bn,In=null,Wf=!1,mm=!1,hb=!1,rc=0,il=Eo,Ff=0,If=0,mb=0,Sn=0,Vr=0,dp=null,en=null,xv=!1,_v=0,D2=0,M2=300,Hv=1/0,O2=500,hp=null,vl=null,Pf=null,Nv=0,yb=1,pb=2,C2=3,ts=0,U2=1,R2=2,x2=3,_2=4,Bv=5,Gl=0,es=null,ym=null,bi=0,gb=0,vb=-0,bb=null,H2=null,N2=null,Si=Nv,B2=null,TE=50,mp=0,Sb=null,Tb=!1,wv=!1,EE=50,Qr=0,yp=null,pm=!1,qv=null,w2=!1,q2=new Set,AE={},Yv=null,gm=null,Eb=!1,Ab=!1,jv=!1,zb=!1,ls=0,Db={};(function(){for(var t=0;t<w1.length;t++){var e=w1[t],a=e.toLowerCase();e=e[0].toUpperCase()+e.slice(1),Mn(a,"on"+e)}Mn(hS,"onAnimationEnd"),Mn(mS,"onAnimationIteration"),Mn(yS,"onAnimationStart"),Mn("dblclick","onDoubleClick"),Mn("focusin","onFocus"),Mn("focusout","onBlur"),Mn(I3,"onTransitionRun"),Mn(P3,"onTransitionStart"),Mn(tE,"onTransitionCancel"),Mn(pS,"onTransitionEnd")})(),Uo("onMouseEnter",["mouseout","mouseover"]),Uo("onMouseLeave",["mouseout","mouseover"]),Uo("onPointerEnter",["pointerout","pointerover"]),Uo("onPointerLeave",["pointerout","pointerover"]),An("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),An("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),An("onBeforeInput",["compositionend","keypress","textInput","paste"]),An("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),An("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),An("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var pp="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(" "),Mb=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(pp)),Gv="_reactListening"+Math.random().toString(36).slice(2),Y2=!1,j2=!1,Xv=!1,G2=!1,Vv=!1,Qv=!1,X2=!1,Lv={},zE=/\r\n?/g,DE=/\u0000|\uFFFD/g,Lr="http://www.w3.org/1999/xlink",Ob="http://www.w3.org/XML/1998/namespace",ME="javascript:throw new Error('React form unexpectedly submitted.')",OE="suppressHydrationWarning",Zr="&",Zv="/&",gp="$",vp="/$",as="$?",Jr="$~",vm="$!",CE="html",UE="body",RE="head",Cb="F!",V2="F",Q2="loading",xE="style",Ao=0,bm=1,Jv=2,Ub=null,Rb=null,L2={dialog:!0,webview:!0},xb=null,bp=void 0,Z2=typeof setTimeout=="function"?setTimeout:void 0,_E=typeof clearTimeout=="function"?clearTimeout:void 0,Kr=-1,J2=typeof Promise=="function"?Promise:void 0,HE=typeof queueMicrotask=="function"?queueMicrotask:typeof J2<"u"?function(t){return J2.resolve(null).then(t).catch(Eg)}:Z2,_b=null,$r=0,Sp=1,K2=2,$2=3,Vu=4,Qu=new Map,k2=new Set,zo=ge.d;ge.d={f:function(){var t=zo.f(),e=Ja();return t||e},r:function(t){var e=En(t);e!==null&&e.tag===5&&e.type==="form"?ef(e):zo.r(t)},D:function(t){zo.D(t),c0("dns-prefetch",t,null)},C:function(t,e){zo.C(t,e),c0("preconnect",t,e)},L:function(t,e,a){zo.L(t,e,a);var i=Sm;if(i&&t&&e){var o='link[rel="preload"][as="'+De(e)+'"]';e==="image"&&a&&a.imageSrcSet?(o+='[imagesrcset="'+De(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(o+='[imagesizes="'+De(a.imageSizes)+'"]')):o+='[href="'+De(t)+'"]';var f=o;switch(e){case"style":f=eo(t);break;case"script":f=lo(t)}Qu.has(f)||(t=Qt({rel:"preload",href:e==="image"&&a&&a.imageSrcSet?void 0:t,as:e},a),Qu.set(f,t),i.querySelector(o)!==null||e==="style"&&i.querySelector(hr(f))||e==="script"&&i.querySelector(mr(f))||(e=i.createElement("link"),Le(e,"link",t),ol(e),i.head.appendChild(e)))}},m:function(t,e){zo.m(t,e);var a=Sm;if(a&&t){var i=e&&typeof e.as=="string"?e.as:"script",o='link[rel="modulepreload"][as="'+De(i)+'"][href="'+De(t)+'"]',f=o;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=lo(t)}if(!Qu.has(f)&&(t=Qt({rel:"modulepreload",href:t},e),Qu.set(f,t),a.querySelector(o)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(mr(f)))return}i=a.createElement("link"),Le(i,"link",t),ol(i),a.head.appendChild(i)}}},X:function(t,e){zo.X(t,e);var a=Sm;if(a&&t){var i=an(a).hoistableScripts,o=lo(t),f=i.get(o);f||(f=a.querySelector(mr(o)),f||(t=Qt({src:t,async:!0},e),(e=Qu.get(o))&&s0(t,e),f=a.createElement("script"),ol(f),Le(f,"link",t),a.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},i.set(o,f))}},S:function(t,e,a){zo.S(t,e,a);var i=Sm;if(i&&t){var o=an(i).hoistableStyles,f=eo(t);e=e||"default";var d=o.get(f);if(!d){var h={loading:$r,preload:null};if(d=i.querySelector(hr(f)))h.loading=Sp|Vu;else{t=Qt({rel:"stylesheet",href:t,"data-precedence":e},a),(a=Qu.get(f))&&f0(t,a);var y=d=i.createElement("link");ol(y),Le(y,"link",t),y._p=new Promise(function(p,D){y.onload=p,y.onerror=D}),y.addEventListener("load",function(){h.loading|=Sp}),y.addEventListener("error",function(){h.loading|=K2}),h.loading|=Vu,Af(d,e,i)}d={type:"stylesheet",instance:d,count:1,state:h},o.set(f,d)}}},M:function(t,e){zo.M(t,e);var a=Sm;if(a&&t){var i=an(a).hoistableScripts,o=lo(t),f=i.get(o);f||(f=a.querySelector(mr(o)),f||(t=Qt({src:t,async:!0,type:"module"},e),(e=Qu.get(o))&&s0(t,e),f=a.createElement("script"),ol(f),Le(f,"link",t),a.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},i.set(o,f))}}};var Sm=typeof document>"u"?null:document,Kv=null,NE=6e4,BE=800,wE=500,Hb=0,Nb=null,$v=null,kr=z1,Tp={$$typeof:Zn,Provider:null,Consumer:null,_currentValue:kr,_currentValue2:kr,_threadCount:0},W2="%c%s%c",F2="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",I2="",kv=" ",qE=Function.prototype.bind,P2=!1,tT=null,eT=null,lT=null,aT=null,nT=null,uT=null,iT=null,cT=null,oT=null,fT=null;tT=function(t,e,a,i){e=v(t,e),e!==null&&(a=U(e.memoizedState,a,0,i),e.memoizedState=a,e.baseState=a,t.memoizedProps=Qt({},t.memoizedProps),a=kl(t,2),a!==null&&Ot(a,t,2))},eT=function(t,e,a){e=v(t,e),e!==null&&(a=k(e.memoizedState,a,0),e.memoizedState=a,e.baseState=a,t.memoizedProps=Qt({},t.memoizedProps),a=kl(t,2),a!==null&&Ot(a,t,2))},lT=function(t,e,a,i){e=v(t,e),e!==null&&(a=w(e.memoizedState,a,i),e.memoizedState=a,e.baseState=a,t.memoizedProps=Qt({},t.memoizedProps),a=kl(t,2),a!==null&&Ot(a,t,2))},aT=function(t,e,a){t.pendingProps=U(t.memoizedProps,e,0,a),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=kl(t,2),e!==null&&Ot(e,t,2)},nT=function(t,e){t.pendingProps=k(t.memoizedProps,e,0),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=kl(t,2),e!==null&&Ot(e,t,2)},uT=function(t,e,a){t.pendingProps=w(t.memoizedProps,e,a),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=kl(t,2),e!==null&&Ot(e,t,2)},iT=function(t){var e=kl(t,2);e!==null&&Ot(e,t,2)},cT=function(t){var e=Pr(),a=kl(t,e);a!==null&&Ot(a,t,e)},oT=function(t){ut=t},fT=function(t){lt=t};var Wv=!0,Fv=null,Bb=!1,ns=null,us=null,is=null,Ep=new Map,Ap=new Map,cs=[],YE="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(" "),Iv=null;if(Ln.prototype.render=S0.prototype.render=function(t){var e=this._internalRoot;if(e===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()."):Tt(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=t;var i=e.current,o=Fl(i);Oh(i,o,a,e,null,null)},Ln.prototype.unmount=S0.prototype.unmount=function(){var t=arguments;if(typeof t[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()."),t=this._internalRoot,t!==null){this._internalRoot=null;var e=t.containerInfo;(se&($l|Fn))!==la&&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."),Oh(t.current,2,null,t,null,null),Ja(),e[mi]=null}},Ln.prototype.unstable_scheduleHydration=function(t){if(t){var e=Rp();t={blockedOn:null,target:t,priority:e};for(var a=0;a<cs.length&&e!==0&&e<cs[a].priority;a++);cs.splice(a,0,t),a===0&&b0(t)}},(function(){var t=br.version;if(t!=="19.2.0")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
269
248
  - react: `+(t+`
270
249
  - react-dom: 19.2.0
271
- 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"),Me.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error("Unable to find node on an unmounted component."):(t=Object.keys(t).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+t));return t=St(e),t=t!==null?bt(t):null,t=t===null?null:t.stateNode,t},!(function(){var t={bundleType:1,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:P,reconcilerVersion:"19.2.0"};return t.overrideHookState=vM,t.overrideHookStateDeletePath=bM,t.overrideHookStateRenamePath=SM,t.overrideProps=TM,t.overridePropsDeletePath=AM,t.overridePropsRenamePath=EM,t.scheduleUpdate=xM,t.scheduleRetry=DM,t.setErrorHandler=CM,t.setSuspenseHandler=MM,t.scheduleRefresh=X,t.scheduleRoot=Q,t.setRefreshHandler=lt,t.getCurrentFiber=Ve,Xp(t)})()&&zu&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var zM=window.location.protocol;/^(https?|file):$/.test(zM)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(zM==="file:"?`
272
- You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}Ep.createRoot=function(t,e){if(!ot(t))throw Error("Target container is not a DOM element.");Lg(t);var a=!1,o="",c=Lh,f=qh,y=_y;return e!=null&&(e.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof e=="object"&&e!==null&&e.$$typeof===Rl&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
250
+ 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"),ge.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error("Unable to find node on an unmounted component."):(t=Object.keys(t).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+t));return t=cl(e),t=t!==null?oe(t):null,t=t===null?null:t.stateNode,t},!(function(){var t={bundleType:1,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:Y,reconcilerVersion:"19.2.0"};return t.overrideHookState=tT,t.overrideHookStateDeletePath=eT,t.overrideHookStateRenamePath=lT,t.overrideProps=aT,t.overridePropsDeletePath=nT,t.overridePropsRenamePath=uT,t.scheduleUpdate=iT,t.scheduleRetry=cT,t.setErrorHandler=oT,t.setSuspenseHandler=fT,t.scheduleRefresh=ot,t.scheduleRoot=_t,t.setRefreshHandler=wt,t.getCurrentFiber=Ce,Dm(t)})()&&cc&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var sT=window.location.protocol;/^(https?|file):$/.test(sT)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(sT==="file:"?`
251
+ You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}Em.createRoot=function(t,e){if(!Tt(t))throw Error("Target container is not a DOM element.");T0(t);var a=!1,i="",o=Gd,f=Xd,d=yy;return e!=null&&(e.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof e=="object"&&e!==null&&e.$$typeof===pn&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
273
252
 
274
253
  let root = createRoot(domContainer);
275
- root.render(<App />);`),e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(o=e.identifierPrefix),e.onUncaughtError!==void 0&&(c=e.onUncaughtError),e.onCaughtError!==void 0&&(f=e.onCaughtError),e.onRecoverableError!==void 0&&(y=e.onRecoverableError)),e=td(t,1,!1,null,null,a,o,null,c,f,y,Rb),t[jo]=e.current,Su(t),new Hg(e)},Ep.hydrateRoot=function(t,e,a){if(!ot(t))throw Error("Target container is not a DOM element.");Lg(t),e===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var o=!1,c="",f=Lh,y=qh,g=_y,E=null;return a!=null&&(a.unstable_strictMode===!0&&(o=!0),a.identifierPrefix!==void 0&&(c=a.identifierPrefix),a.onUncaughtError!==void 0&&(f=a.onUncaughtError),a.onCaughtError!==void 0&&(y=a.onCaughtError),a.onRecoverableError!==void 0&&(g=a.onRecoverableError),a.formState!==void 0&&(E=a.formState)),e=td(t,1,!0,e,a??null,o,c,E,f,y,g,Rb),e.context=Cb(null),a=e.current,o=ua(a),o=Yu(o),c=zn(o),c.callback=null,zi(a,c,o),Di(o,"hydrateRoot()",null),a=o,e.current.lanes=a,Zo(e,a),Ha(e),t[jo]=e.current,Su(t),new li(e)},Ep.version="19.2.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Ep}var P2;function HM(){if(P2)return X0.exports;P2=1;function u(){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(u)}catch(r){console.error(r)}}}return process.env.NODE_ENV==="production"?(u(),X0.exports=BM()):X0.exports=VM(),X0.exports}var LM=HM();const qM=RM(LM);function tA(u){var r,d,m="";if(typeof u=="string"||typeof u=="number")m+=u;else if(typeof u=="object")if(Array.isArray(u)){var v=u.length;for(r=0;r<v;r++)u[r]&&(d=tA(u[r]))&&(m&&(m+=" "),m+=d)}else for(d in u)u[d]&&(m&&(m+=" "),m+=d);return m}function YM(){for(var u,r,d=0,m="",v=arguments.length;d<v;d++)(u=arguments[d])&&(r=tA(u))&&(m&&(m+=" "),m+=r);return m}const L1="-",GM=u=>{const r=QM(u),{conflictingClassGroups:d,conflictingClassGroupModifiers:m}=u;return{getClassGroupId:b=>{const A=b.split(L1);return A[0]===""&&A.length!==1&&A.shift(),eA(A,r)||XM(b)},getConflictingClassGroupIds:(b,A)=>{const x=d[b]||[];return A&&m[b]?[...x,...m[b]]:x}}},eA=(u,r)=>{if(u.length===0)return r.classGroupId;const d=u[0],m=r.nextPart.get(d),v=m?eA(u.slice(1),m):void 0;if(v)return v;if(r.validators.length===0)return;const T=u.join(L1);return r.validators.find(({validator:b})=>b(T))?.classGroupId},nA=/^\[(.+)\]$/,XM=u=>{if(nA.test(u)){const r=nA.exec(u)[1],d=r?.substring(0,r.indexOf(":"));if(d)return"arbitrary.."+d}},QM=u=>{const{theme:r,classGroups:d}=u,m={nextPart:new Map,validators:[]};for(const v in d)q1(d[v],m,v,r);return m},q1=(u,r,d,m)=>{u.forEach(v=>{if(typeof v=="string"){const T=v===""?r:aA(r,v);T.classGroupId=d;return}if(typeof v=="function"){if(ZM(v)){q1(v(m),r,d,m);return}r.validators.push({validator:v,classGroupId:d});return}Object.entries(v).forEach(([T,b])=>{q1(b,aA(r,T),d,m)})})},aA=(u,r)=>{let d=u;return r.split(L1).forEach(m=>{d.nextPart.has(m)||d.nextPart.set(m,{nextPart:new Map,validators:[]}),d=d.nextPart.get(m)}),d},ZM=u=>u.isThemeGetter,kM=u=>{if(u<1)return{get:()=>{},set:()=>{}};let r=0,d=new Map,m=new Map;const v=(T,b)=>{d.set(T,b),r++,r>u&&(r=0,m=d,d=new Map)};return{get(T){let b=d.get(T);if(b!==void 0)return b;if((b=m.get(T))!==void 0)return v(T,b),b},set(T,b){d.has(T)?d.set(T,b):v(T,b)}}},Y1="!",G1=":",JM=G1.length,KM=u=>{const{prefix:r,experimentalParseClassName:d}=u;let m=v=>{const T=[];let b=0,A=0,x=0,z;for(let X=0;X<v.length;X++){let lt=v[X];if(b===0&&A===0){if(lt===G1){T.push(v.slice(x,X)),x=X+JM;continue}if(lt==="/"){z=X;continue}}lt==="["?b++:lt==="]"?b--:lt==="("?A++:lt===")"&&A--}const M=T.length===0?v:v.substring(x),O=$M(M),w=O!==M,Q=z&&z>x?z-x:void 0;return{modifiers:T,hasImportantModifier:w,baseClassName:O,maybePostfixModifierPosition:Q}};if(r){const v=r+G1,T=m;m=b=>b.startsWith(v)?T(b.substring(v.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:b,maybePostfixModifierPosition:void 0}}if(d){const v=m;m=T=>d({className:T,parseClassName:v})}return m},$M=u=>u.endsWith(Y1)?u.substring(0,u.length-1):u.startsWith(Y1)?u.substring(1):u,FM=u=>{const r=Object.fromEntries(u.orderSensitiveModifiers.map(m=>[m,!0]));return m=>{if(m.length<=1)return m;const v=[];let T=[];return m.forEach(b=>{b[0]==="["||r[b]?(v.push(...T.sort(),b),T=[]):T.push(b)}),v.push(...T.sort()),v}},WM=u=>({cache:kM(u.cacheSize),parseClassName:KM(u),sortModifiers:FM(u),...GM(u)}),IM=/\s+/,PM=(u,r)=>{const{parseClassName:d,getClassGroupId:m,getConflictingClassGroupIds:v,sortModifiers:T}=r,b=[],A=u.trim().split(IM);let x="";for(let z=A.length-1;z>=0;z-=1){const M=A[z],{isExternal:O,modifiers:w,hasImportantModifier:Q,baseClassName:X,maybePostfixModifierPosition:lt}=d(M);if(O){x=M+(x.length>0?" "+x:x);continue}let ot=!!lt,nt=m(ot?X.substring(0,lt):X);if(!nt){if(!ot){x=M+(x.length>0?" "+x:x);continue}if(nt=m(X),!nt){x=M+(x.length>0?" "+x:x);continue}ot=!1}const dt=T(w).join(":"),ht=Q?dt+Y1:dt,Tt=ht+nt;if(b.includes(Tt))continue;b.push(Tt);const St=v(nt,ot);for(let bt=0;bt<St.length;++bt){const Dt=St[bt];b.push(ht+Dt)}x=M+(x.length>0?" "+x:x)}return x};function t3(){let u=0,r,d,m="";for(;u<arguments.length;)(r=arguments[u++])&&(d=lA(r))&&(m&&(m+=" "),m+=d);return m}const lA=u=>{if(typeof u=="string")return u;let r,d="";for(let m=0;m<u.length;m++)u[m]&&(r=lA(u[m]))&&(d&&(d+=" "),d+=r);return d};function e3(u,...r){let d,m,v,T=b;function b(x){const z=r.reduce((M,O)=>O(M),u());return d=WM(z),m=d.cache.get,v=d.cache.set,T=A,A(x)}function A(x){const z=m(x);if(z)return z;const M=PM(x,d);return v(x,M),M}return function(){return T(t3.apply(null,arguments))}}const Wn=u=>{const r=d=>d[u]||[];return r.isThemeGetter=!0,r},iA=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,oA=/^\((?:(\w[\w-]*):)?(.+)\)$/i,n3=/^\d+\/\d+$/,a3=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,l3=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,i3=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,o3=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,u3=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_d=u=>n3.test(u),de=u=>!!u&&!Number.isNaN(Number(u)),Ws=u=>!!u&&Number.isInteger(Number(u)),X1=u=>u.endsWith("%")&&de(u.slice(0,-1)),_u=u=>a3.test(u),s3=()=>!0,r3=u=>l3.test(u)&&!i3.test(u),uA=()=>!1,c3=u=>o3.test(u),f3=u=>u3.test(u),d3=u=>!zt(u)&&!Ot(u),h3=u=>Nd(u,dA,uA),zt=u=>iA.test(u),Vc=u=>Nd(u,hA,r3),Q1=u=>Nd(u,v3,de),sA=u=>Nd(u,cA,uA),m3=u=>Nd(u,fA,f3),Z0=u=>Nd(u,mA,c3),Ot=u=>oA.test(u),xp=u=>jd(u,hA),p3=u=>jd(u,b3),rA=u=>jd(u,cA),y3=u=>jd(u,dA),g3=u=>jd(u,fA),k0=u=>jd(u,mA,!0),Nd=(u,r,d)=>{const m=iA.exec(u);return m?m[1]?r(m[1]):d(m[2]):!1},jd=(u,r,d=!1)=>{const m=oA.exec(u);return m?m[1]?r(m[1]):d:!1},cA=u=>u==="position"||u==="percentage",fA=u=>u==="image"||u==="url",dA=u=>u==="length"||u==="size"||u==="bg-size",hA=u=>u==="length",v3=u=>u==="number",b3=u=>u==="family-name",mA=u=>u==="shadow",S3=e3(()=>{const u=Wn("color"),r=Wn("font"),d=Wn("text"),m=Wn("font-weight"),v=Wn("tracking"),T=Wn("leading"),b=Wn("breakpoint"),A=Wn("container"),x=Wn("spacing"),z=Wn("radius"),M=Wn("shadow"),O=Wn("inset-shadow"),w=Wn("text-shadow"),Q=Wn("drop-shadow"),X=Wn("blur"),lt=Wn("perspective"),ot=Wn("aspect"),nt=Wn("ease"),dt=Wn("animate"),ht=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Tt=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],St=()=>[...Tt(),Ot,zt],bt=()=>["auto","hidden","clip","visible","scroll"],Dt=()=>["auto","contain","none"],I=()=>[Ot,zt,x],wt=()=>[_d,"full","auto",...I()],yt=()=>[Ws,"none","subgrid",Ot,zt],Qt=()=>["auto",{span:["full",Ws,Ot,zt]},Ws,Ot,zt],Bt=()=>[Ws,"auto",Ot,zt],Vt=()=>["auto","min","max","fr",Ot,zt],Lt=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Gt=()=>["start","end","center","stretch","center-safe","end-safe"],j=()=>["auto",...I()],F=()=>[_d,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...I()],k=()=>[u,Ot,zt],gt=()=>[...Tt(),rA,sA,{position:[Ot,zt]}],Mt=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Y=()=>["auto","cover","contain",y3,h3,{size:[Ot,zt]}],pt=()=>[X1,xp,Vc],st=()=>["","none","full",z,Ot,zt],ft=()=>["",de,xp,Vc],Ht=()=>["solid","dashed","dotted","double"],xe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],xt=()=>[de,X1,rA,sA],be=()=>["","none",X,Ot,zt],It=()=>["none",de,Ot,zt],Kt=()=>["none",de,Ot,zt],mt=()=>[de,Ot,zt],se=()=>[_d,"full",...I()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[_u],breakpoint:[_u],color:[s3],container:[_u],"drop-shadow":[_u],ease:["in","out","in-out"],font:[d3],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[_u],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[_u],shadow:[_u],spacing:["px",de],text:[_u],"text-shadow":[_u],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",_d,zt,Ot,ot]}],container:["container"],columns:[{columns:[de,zt,Ot,A]}],"break-after":[{"break-after":ht()}],"break-before":[{"break-before":ht()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:St()}],overflow:[{overflow:bt()}],"overflow-x":[{"overflow-x":bt()}],"overflow-y":[{"overflow-y":bt()}],overscroll:[{overscroll:Dt()}],"overscroll-x":[{"overscroll-x":Dt()}],"overscroll-y":[{"overscroll-y":Dt()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:wt()}],"inset-x":[{"inset-x":wt()}],"inset-y":[{"inset-y":wt()}],start:[{start:wt()}],end:[{end:wt()}],top:[{top:wt()}],right:[{right:wt()}],bottom:[{bottom:wt()}],left:[{left:wt()}],visibility:["visible","invisible","collapse"],z:[{z:[Ws,"auto",Ot,zt]}],basis:[{basis:[_d,"full","auto",A,...I()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[de,_d,"auto","initial","none",zt]}],grow:[{grow:["",de,Ot,zt]}],shrink:[{shrink:["",de,Ot,zt]}],order:[{order:[Ws,"first","last","none",Ot,zt]}],"grid-cols":[{"grid-cols":yt()}],"col-start-end":[{col:Qt()}],"col-start":[{"col-start":Bt()}],"col-end":[{"col-end":Bt()}],"grid-rows":[{"grid-rows":yt()}],"row-start-end":[{row:Qt()}],"row-start":[{"row-start":Bt()}],"row-end":[{"row-end":Bt()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Vt()}],"auto-rows":[{"auto-rows":Vt()}],gap:[{gap:I()}],"gap-x":[{"gap-x":I()}],"gap-y":[{"gap-y":I()}],"justify-content":[{justify:[...Lt(),"normal"]}],"justify-items":[{"justify-items":[...Gt(),"normal"]}],"justify-self":[{"justify-self":["auto",...Gt()]}],"align-content":[{content:["normal",...Lt()]}],"align-items":[{items:[...Gt(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Gt(),{baseline:["","last"]}]}],"place-content":[{"place-content":Lt()}],"place-items":[{"place-items":[...Gt(),"baseline"]}],"place-self":[{"place-self":["auto",...Gt()]}],p:[{p:I()}],px:[{px:I()}],py:[{py:I()}],ps:[{ps:I()}],pe:[{pe:I()}],pt:[{pt:I()}],pr:[{pr:I()}],pb:[{pb:I()}],pl:[{pl:I()}],m:[{m:j()}],mx:[{mx:j()}],my:[{my:j()}],ms:[{ms:j()}],me:[{me:j()}],mt:[{mt:j()}],mr:[{mr:j()}],mb:[{mb:j()}],ml:[{ml:j()}],"space-x":[{"space-x":I()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":I()}],"space-y-reverse":["space-y-reverse"],size:[{size:F()}],w:[{w:[A,"screen",...F()]}],"min-w":[{"min-w":[A,"screen","none",...F()]}],"max-w":[{"max-w":[A,"screen","none","prose",{screen:[b]},...F()]}],h:[{h:["screen","lh",...F()]}],"min-h":[{"min-h":["screen","lh","none",...F()]}],"max-h":[{"max-h":["screen","lh",...F()]}],"font-size":[{text:["base",d,xp,Vc]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[m,Ot,Q1]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",X1,zt]}],"font-family":[{font:[p3,zt,r]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[v,Ot,zt]}],"line-clamp":[{"line-clamp":[de,"none",Ot,Q1]}],leading:[{leading:[T,...I()]}],"list-image":[{"list-image":["none",Ot,zt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ot,zt]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:k()}],"text-color":[{text:k()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Ht(),"wavy"]}],"text-decoration-thickness":[{decoration:[de,"from-font","auto",Ot,Vc]}],"text-decoration-color":[{decoration:k()}],"underline-offset":[{"underline-offset":[de,"auto",Ot,zt]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ot,zt]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ot,zt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:gt()}],"bg-repeat":[{bg:Mt()}],"bg-size":[{bg:Y()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ws,Ot,zt],radial:["",Ot,zt],conic:[Ws,Ot,zt]},g3,m3]}],"bg-color":[{bg:k()}],"gradient-from-pos":[{from:pt()}],"gradient-via-pos":[{via:pt()}],"gradient-to-pos":[{to:pt()}],"gradient-from":[{from:k()}],"gradient-via":[{via:k()}],"gradient-to":[{to:k()}],rounded:[{rounded:st()}],"rounded-s":[{"rounded-s":st()}],"rounded-e":[{"rounded-e":st()}],"rounded-t":[{"rounded-t":st()}],"rounded-r":[{"rounded-r":st()}],"rounded-b":[{"rounded-b":st()}],"rounded-l":[{"rounded-l":st()}],"rounded-ss":[{"rounded-ss":st()}],"rounded-se":[{"rounded-se":st()}],"rounded-ee":[{"rounded-ee":st()}],"rounded-es":[{"rounded-es":st()}],"rounded-tl":[{"rounded-tl":st()}],"rounded-tr":[{"rounded-tr":st()}],"rounded-br":[{"rounded-br":st()}],"rounded-bl":[{"rounded-bl":st()}],"border-w":[{border:ft()}],"border-w-x":[{"border-x":ft()}],"border-w-y":[{"border-y":ft()}],"border-w-s":[{"border-s":ft()}],"border-w-e":[{"border-e":ft()}],"border-w-t":[{"border-t":ft()}],"border-w-r":[{"border-r":ft()}],"border-w-b":[{"border-b":ft()}],"border-w-l":[{"border-l":ft()}],"divide-x":[{"divide-x":ft()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ft()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Ht(),"hidden","none"]}],"divide-style":[{divide:[...Ht(),"hidden","none"]}],"border-color":[{border:k()}],"border-color-x":[{"border-x":k()}],"border-color-y":[{"border-y":k()}],"border-color-s":[{"border-s":k()}],"border-color-e":[{"border-e":k()}],"border-color-t":[{"border-t":k()}],"border-color-r":[{"border-r":k()}],"border-color-b":[{"border-b":k()}],"border-color-l":[{"border-l":k()}],"divide-color":[{divide:k()}],"outline-style":[{outline:[...Ht(),"none","hidden"]}],"outline-offset":[{"outline-offset":[de,Ot,zt]}],"outline-w":[{outline:["",de,xp,Vc]}],"outline-color":[{outline:k()}],shadow:[{shadow:["","none",M,k0,Z0]}],"shadow-color":[{shadow:k()}],"inset-shadow":[{"inset-shadow":["none",O,k0,Z0]}],"inset-shadow-color":[{"inset-shadow":k()}],"ring-w":[{ring:ft()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:k()}],"ring-offset-w":[{"ring-offset":[de,Vc]}],"ring-offset-color":[{"ring-offset":k()}],"inset-ring-w":[{"inset-ring":ft()}],"inset-ring-color":[{"inset-ring":k()}],"text-shadow":[{"text-shadow":["none",w,k0,Z0]}],"text-shadow-color":[{"text-shadow":k()}],opacity:[{opacity:[de,Ot,zt]}],"mix-blend":[{"mix-blend":[...xe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":xe()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[de]}],"mask-image-linear-from-pos":[{"mask-linear-from":xt()}],"mask-image-linear-to-pos":[{"mask-linear-to":xt()}],"mask-image-linear-from-color":[{"mask-linear-from":k()}],"mask-image-linear-to-color":[{"mask-linear-to":k()}],"mask-image-t-from-pos":[{"mask-t-from":xt()}],"mask-image-t-to-pos":[{"mask-t-to":xt()}],"mask-image-t-from-color":[{"mask-t-from":k()}],"mask-image-t-to-color":[{"mask-t-to":k()}],"mask-image-r-from-pos":[{"mask-r-from":xt()}],"mask-image-r-to-pos":[{"mask-r-to":xt()}],"mask-image-r-from-color":[{"mask-r-from":k()}],"mask-image-r-to-color":[{"mask-r-to":k()}],"mask-image-b-from-pos":[{"mask-b-from":xt()}],"mask-image-b-to-pos":[{"mask-b-to":xt()}],"mask-image-b-from-color":[{"mask-b-from":k()}],"mask-image-b-to-color":[{"mask-b-to":k()}],"mask-image-l-from-pos":[{"mask-l-from":xt()}],"mask-image-l-to-pos":[{"mask-l-to":xt()}],"mask-image-l-from-color":[{"mask-l-from":k()}],"mask-image-l-to-color":[{"mask-l-to":k()}],"mask-image-x-from-pos":[{"mask-x-from":xt()}],"mask-image-x-to-pos":[{"mask-x-to":xt()}],"mask-image-x-from-color":[{"mask-x-from":k()}],"mask-image-x-to-color":[{"mask-x-to":k()}],"mask-image-y-from-pos":[{"mask-y-from":xt()}],"mask-image-y-to-pos":[{"mask-y-to":xt()}],"mask-image-y-from-color":[{"mask-y-from":k()}],"mask-image-y-to-color":[{"mask-y-to":k()}],"mask-image-radial":[{"mask-radial":[Ot,zt]}],"mask-image-radial-from-pos":[{"mask-radial-from":xt()}],"mask-image-radial-to-pos":[{"mask-radial-to":xt()}],"mask-image-radial-from-color":[{"mask-radial-from":k()}],"mask-image-radial-to-color":[{"mask-radial-to":k()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":Tt()}],"mask-image-conic-pos":[{"mask-conic":[de]}],"mask-image-conic-from-pos":[{"mask-conic-from":xt()}],"mask-image-conic-to-pos":[{"mask-conic-to":xt()}],"mask-image-conic-from-color":[{"mask-conic-from":k()}],"mask-image-conic-to-color":[{"mask-conic-to":k()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:gt()}],"mask-repeat":[{mask:Mt()}],"mask-size":[{mask:Y()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ot,zt]}],filter:[{filter:["","none",Ot,zt]}],blur:[{blur:be()}],brightness:[{brightness:[de,Ot,zt]}],contrast:[{contrast:[de,Ot,zt]}],"drop-shadow":[{"drop-shadow":["","none",Q,k0,Z0]}],"drop-shadow-color":[{"drop-shadow":k()}],grayscale:[{grayscale:["",de,Ot,zt]}],"hue-rotate":[{"hue-rotate":[de,Ot,zt]}],invert:[{invert:["",de,Ot,zt]}],saturate:[{saturate:[de,Ot,zt]}],sepia:[{sepia:["",de,Ot,zt]}],"backdrop-filter":[{"backdrop-filter":["","none",Ot,zt]}],"backdrop-blur":[{"backdrop-blur":be()}],"backdrop-brightness":[{"backdrop-brightness":[de,Ot,zt]}],"backdrop-contrast":[{"backdrop-contrast":[de,Ot,zt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",de,Ot,zt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[de,Ot,zt]}],"backdrop-invert":[{"backdrop-invert":["",de,Ot,zt]}],"backdrop-opacity":[{"backdrop-opacity":[de,Ot,zt]}],"backdrop-saturate":[{"backdrop-saturate":[de,Ot,zt]}],"backdrop-sepia":[{"backdrop-sepia":["",de,Ot,zt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":I()}],"border-spacing-x":[{"border-spacing-x":I()}],"border-spacing-y":[{"border-spacing-y":I()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Ot,zt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[de,"initial",Ot,zt]}],ease:[{ease:["linear","initial",nt,Ot,zt]}],delay:[{delay:[de,Ot,zt]}],animate:[{animate:["none",dt,Ot,zt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[lt,Ot,zt]}],"perspective-origin":[{"perspective-origin":St()}],rotate:[{rotate:It()}],"rotate-x":[{"rotate-x":It()}],"rotate-y":[{"rotate-y":It()}],"rotate-z":[{"rotate-z":It()}],scale:[{scale:Kt()}],"scale-x":[{"scale-x":Kt()}],"scale-y":[{"scale-y":Kt()}],"scale-z":[{"scale-z":Kt()}],"scale-3d":["scale-3d"],skew:[{skew:mt()}],"skew-x":[{"skew-x":mt()}],"skew-y":[{"skew-y":mt()}],transform:[{transform:[Ot,zt,"","none","gpu","cpu"]}],"transform-origin":[{origin:St()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:se()}],"translate-x":[{"translate-x":se()}],"translate-y":[{"translate-y":se()}],"translate-z":[{"translate-z":se()}],"translate-none":["translate-none"],accent:[{accent:k()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:k()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ot,zt]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ot,zt]}],fill:[{fill:["none",...k()]}],"stroke-w":[{stroke:[de,xp,Vc,Q1]}],stroke:[{stroke:["none",...k()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function yl(...u){return S3(YM(u))}function Z1(u){const r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let d="";for(let m=0;m<u;m++)d+=r.charAt(Math.floor(Math.random()*r.length));return d}function T3(u){const r=Date.now(),d=Z1(12);return`sdk_${u}_${r}_${d}`}function pA(u){if(!u||u.length===0)return u;let r=u;return(r.startsWith("'")||r.startsWith('"'))&&(r=r.substring(1)),(r.endsWith("'")||r.endsWith('"'))&&(r=r.substring(0,r.length-1)),r}function A3(u){if(!u||u.length===0)return u;const r=u.indexOf("_v");return(r!==-1?u.substring(0,r):u).replace(/-/g," ").split(" ").map(T=>T.length===0?T:T.charAt(0).toUpperCase()+T.slice(1).toLowerCase()).join(" ")}const yA=qe.forwardRef(({className:u,...r},d)=>$.jsx("textarea",{className:yl("flex min-h-[80px] w-full rounded-md px-3 py-2 placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",u),ref:d,...r}));yA.displayName="Textarea";const E3=({size:u=16})=>$.jsx("svg",{height:u,strokeLinejoin:"round",viewBox:"0 0 16 16",width:u,style:{color:"currentcolor"},children:$.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.70711 1.39644C8.31659 1.00592 7.68342 1.00592 7.2929 1.39644L2.21968 6.46966L1.68935 6.99999L2.75001 8.06065L3.28034 7.53032L7.25001 3.56065V14.25V15H8.75001V14.25V3.56065L12.7197 7.53032L13.25 8.06065L14.3107 6.99999L13.7803 6.46966L8.70711 1.39644Z",fill:"currentColor"})}),x3=({size:u=16})=>$.jsx("svg",{height:u,viewBox:"0 0 16 16",width:u,style:{color:"currentcolor"},children:$.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3H13V13H3V3Z",fill:"currentColor"})}),D3=({size:u=16})=>$.jsx("svg",{height:u,strokeLinejoin:"round",viewBox:"0 0 16 16",width:u,style:{color:"currentcolor"},children:$.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M 8.75,1 H7.25 V7.25 H1.5 V8.75 H7.25 V15 H8.75 V8.75 H14.5 V7.25 H8.75 V1.75 Z",fill:"currentColor"})}),C3=({size:u=16})=>$.jsx("svg",{height:u,strokeLinejoin:"round",viewBox:"0 0 16 16",width:u,style:{color:"currentcolor"},children:$.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.96452 2.5C11.0257 2.5 13.5 4.96643 13.5 8C13.5 11.0336 11.0257 13.5 7.96452 13.5C6.12055 13.5 4.48831 12.6051 3.48161 11.2273L3.03915 10.6217L1.828 11.5066L2.27046 12.1122C3.54872 13.8617 5.62368 15 7.96452 15C11.8461 15 15 11.87 15 8C15 4.13001 11.8461 1 7.96452 1C5.06835 1 2.57851 2.74164 1.5 5.23347V3.75V3H0V3.75V7.25C0 7.66421 0.335786 8 0.75 8H3.75H4.5V6.5H3.75H2.63724C3.29365 4.19393 5.42843 2.5 7.96452 2.5ZM8.75 5.25V4.5H7.25V5.25V7.8662C7.25 8.20056 7.4171 8.51279 7.6953 8.69825L9.08397 9.62404L9.70801 10.0401L10.5401 8.79199L9.91603 8.37596L8.75 7.59861V5.25Z",fill:"currentColor"})}),k1={project_id:"",user_id:"",width:"50vw",maxWidth:"80vw",resizable:!0,keyboardShortcut:"b",userMessage:"bg-black dark:bg-gray-600 text-white dark:text-gray-100 text-base",assistantMessage:"text-black dark dark:text-gray-100 text-base",headerButtons:"p-2 my-2 rounded-lg border bg-white dark:bg-gray-800 border-gray-300 dark:border-gray-700 text-gray-900 dark:text-gray-100 hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",headerButtonSize:20,headerTitle:"text-base text-gray-900 dark:text-gray-100",sendButton:"p-2 m-2 rounded-lg border bg-white dark:bg-gray-800 border-gray-300 dark:border-gray-700 text-gray-900 dark:text-gray-100 hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",sendButtonSize:16,placeholder:"Ask me anything",textArea:"flex min-h-[80px] w-full rounded-md border focus:border-black dark:focus:border-white focus-visible:outline-none border-gray-300 dark:border-gray-700 bg-background px-3 py-2 placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50 text-base",sidebarContainer:"bg-white dark:bg-gray-900 text-black dark:text-gray-100 border-l-1 border-gray-300 dark:border-gray-700 shadow-lg border-shadow-lg",suggestions:"bg-white dark:bg-gray-800 text-black dark:text-gray-100 border-gray-300 dark:border-gray-700",cardContainer:"dark:bg-gray-800",cardTitle:"dark:text-gray-100",cardSubtitle:"text-gray-500 text-sm dark:text-gray-400",defaultOpen:!0,debug:!0};let gA={...k1};function J1(){return gA}function M3(u){gA={...k1,...u}}async function z3(u){const r=u.projectId||u.copilotId,d=u.userId,m=u.apiKey;if(!r)return console.warn("No projectId or copilotId provided, using default config"),{};if(!m)return console.warn("No API key provided, using default config"),{};try{const v=`http://localhost:8080/api/v1/copilot/${r}/config`,T={"Content-Type":"application/json",Authorization:`Bearer ${m}`};d&&(T["X-User-Id"]=d);const b=await fetch(v,{method:"GET",headers:T});if(!b.ok){if(b.status===404)return console.warn("Config endpoint not found (404), using default config"),{};throw new Error(`Failed to fetch config: ${b.status} ${b.statusText}`)}const A=await b.json();return k1.debug&&console.log("✅ Successfully fetched config from database:",A),A}catch(v){return console.warn("⚠️ Failed to fetch config from database, using defaults:",v),{}}}const vA=ut.createContext(J1());function Dp(){return ut.useContext(vA)}function bA({children:u}){const r=J1();return $.jsx(vA.Provider,{value:r,children:u})}function O3({onSendMessage:u,isStreaming:r,inputValue:d,onInputChange:m,onFocusRequest:v}){const[T,b]=ut.useState(""),A=d!==void 0?d:T,x=m||b,z=ut.useRef(null),M=Dp(),O=()=>{if(z.current){z.current.focus();const X=z.current.value.length;z.current.setSelectionRange(X,X)}};ut.useEffect(()=>{v&&v(O)},[v]);const w=X=>{X.preventDefault(),A.trim()&&!r&&u(A.trim())},Q=X=>{if(X.key==="Enter"&&!X.shiftKey){X.preventDefault();const lt=new Event("submit",{bubbles:!0,cancelable:!0});w(lt)}};return $.jsx("div",{className:"my-4",children:$.jsxs("form",{onSubmit:w,className:"space-y-3 m relative",children:[$.jsx("div",{className:"",children:$.jsx(yA,{ref:z,value:A,onChange:X=>x(X.target.value),onKeyDown:Q,placeholder:M.placeholder,disabled:r,className:`min-h-[80px] resize-none ${M.textArea} `})}),$.jsx("div",{className:"absolute bottom-0 right-0 h-fit justify-end p-0 ",children:$.jsx("button",{type:"submit",disabled:!A.trim()||r,className:`
276
- ${M.sendButton}
277
- ${r||!A.trim()?" cursor-not-allowed":""}
278
- `,children:r?$.jsx(x3,{size:M.sendButtonSize}):$.jsx(E3,{size:M.sendButtonSize})})})]})})}const R3=({children:u})=>(d=>{const m=d.replace(/^###### (.*$)/gim,"<h6>$1</h6>").replace(/^##### (.*$)/gim,"<h5>$1</h5>").replace(/^#### (.*$)/gim,"<h4>$1</h4>").replace(/^### (.*$)/gim,"<h3>$1</h3>").replace(/^## (.*$)/gim,"<h2>$1</h2>").replace(/^# (.*$)/gim,"<h1>$1</h1>").replace(/\*\*(.*?)\*\*/g,"<strong>$1</strong>").replace(/\*(.*?)\*/g,"<em>$1</em>").replace(/```([\s\S]*?)```/g,"<pre><code>$1</code></pre>").replace(/`([^`]+)`/g,"<code>$1</code>").replace(/!\[([^\]]*)\]\(([^)]+)\)/g,`<div class="my-4"><img src="$2" alt="$1" class="max-w-full h-auto rounded-lg shadow-md border border-gray-200" loading="lazy" onerror="this.style.display='none'; this.nextElementSibling.style.display='block';" /><div class="hidden text-sm text-gray-500 mt-2 text-center">Failed to load image: $1</div></div>`).replace(/\[([^\]]+)\]\(([^)]+)\)/g,'<a href="$2" target="_blank" rel="noopener noreferrer" title="Open $2">$1</a>').replace(/\n/g,"<br>");return $.jsx("div",{dangerouslySetInnerHTML:{__html:m}})})(u),w3=ut.memo(R3),K1=ut.createContext({});function $1(u){const r=ut.useRef(null);return r.current===null&&(r.current=u()),r.current}const F1=typeof window<"u",SA=F1?ut.useLayoutEffect:ut.useEffect,J0=ut.createContext(null);function W1(u,r){u.indexOf(r)===-1&&u.push(r)}function I1(u,r){const d=u.indexOf(r);d>-1&&u.splice(d,1)}const Nu=(u,r,d)=>d>r?r:d<u?u:d;function P1(u,r){return r?`${u}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${r}`:u}let Bd=()=>{},ju=()=>{};process.env.NODE_ENV!=="production"&&(Bd=(u,r,d)=>{!u&&typeof console<"u"&&console.warn(P1(r,d))},ju=(u,r,d)=>{if(!u)throw new Error(P1(r,d))});const Bu={},TA=u=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(u);function AA(u){return typeof u=="object"&&u!==null}const EA=u=>/^0[^.\s]+$/u.test(u);function tS(u){let r;return()=>(r===void 0&&(r=u()),r)}const hi=u=>u,U3=(u,r)=>d=>r(u(d)),Cp=(...u)=>u.reduce(U3),Mp=(u,r,d)=>{const m=r-u;return m===0?1:(d-u)/m};class eS{constructor(){this.subscriptions=[]}add(r){return W1(this.subscriptions,r),()=>I1(this.subscriptions,r)}notify(r,d,m){const v=this.subscriptions.length;if(v)if(v===1)this.subscriptions[0](r,d,m);else for(let T=0;T<v;T++){const b=this.subscriptions[T];b&&b(r,d,m)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const so=u=>u*1e3,mi=u=>u/1e3;function xA(u,r){return r?u*(1e3/r):0}const DA=new Set;function nS(u,r,d){u||DA.has(r)||(console.warn(P1(r,d)),DA.add(r))}const CA=(u,r,d)=>(((1-3*d+3*r)*u+(3*d-6*r))*u+3*r)*u,_3=1e-7,N3=12;function j3(u,r,d,m,v){let T,b,A=0;do b=r+(d-r)/2,T=CA(b,m,v)-u,T>0?d=b:r=b;while(Math.abs(T)>_3&&++A<N3);return b}function zp(u,r,d,m){if(u===r&&d===m)return hi;const v=T=>j3(T,0,1,u,d);return T=>T===0||T===1?T:CA(v(T),r,m)}const MA=u=>r=>r<=.5?u(2*r)/2:(2-u(2*(1-r)))/2,zA=u=>r=>1-u(1-r),OA=zp(.33,1.53,.69,.99),aS=zA(OA),RA=MA(aS),wA=u=>(u*=2)<1?.5*aS(u):.5*(2-Math.pow(2,-10*(u-1))),lS=u=>1-Math.sin(Math.acos(u)),UA=zA(lS),_A=MA(lS),B3=zp(.42,0,1,1),V3=zp(0,0,.58,1),NA=zp(.42,0,.58,1),H3=u=>Array.isArray(u)&&typeof u[0]!="number",jA=u=>Array.isArray(u)&&typeof u[0]=="number",BA={linear:hi,easeIn:B3,easeInOut:NA,easeOut:V3,circIn:lS,circInOut:_A,circOut:UA,backIn:aS,backInOut:RA,backOut:OA,anticipate:wA},L3=u=>typeof u=="string",VA=u=>{if(jA(u)){ju(u.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[r,d,m,v]=u;return zp(r,d,m,v)}else if(L3(u))return ju(BA[u]!==void 0,`Invalid easing type '${u}'`,"invalid-easing-type"),BA[u];return u},K0=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function q3(u,r){let d=new Set,m=new Set,v=!1,T=!1;const b=new WeakSet;let A={delta:0,timestamp:0,isProcessing:!1};function x(M){b.has(M)&&(z.schedule(M),u()),M(A)}const z={schedule:(M,O=!1,w=!1)=>{const X=w&&v?d:m;return O&&b.add(M),X.has(M)||X.add(M),M},cancel:M=>{m.delete(M),b.delete(M)},process:M=>{if(A=M,v){T=!0;return}v=!0,[d,m]=[m,d],d.forEach(x),d.clear(),v=!1,T&&(T=!1,z.process(M))}};return z}const Y3=40;function HA(u,r){let d=!1,m=!0;const v={delta:0,timestamp:0,isProcessing:!1},T=()=>d=!0,b=K0.reduce((ht,Tt)=>(ht[Tt]=q3(T),ht),{}),{setup:A,read:x,resolveKeyframes:z,preUpdate:M,update:O,preRender:w,render:Q,postRender:X}=b,lt=()=>{const ht=Bu.useManualTiming?v.timestamp:performance.now();d=!1,Bu.useManualTiming||(v.delta=m?1e3/60:Math.max(Math.min(ht-v.timestamp,Y3),1)),v.timestamp=ht,v.isProcessing=!0,A.process(v),x.process(v),z.process(v),M.process(v),O.process(v),w.process(v),Q.process(v),X.process(v),v.isProcessing=!1,d&&r&&(m=!1,u(lt))},ot=()=>{d=!0,m=!0,v.isProcessing||u(lt)};return{schedule:K0.reduce((ht,Tt)=>{const St=b[Tt];return ht[Tt]=(bt,Dt=!1,I=!1)=>(d||ot(),St.schedule(bt,Dt,I)),ht},{}),cancel:ht=>{for(let Tt=0;Tt<K0.length;Tt++)b[K0[Tt]].cancel(ht)},state:v,steps:b}}const{schedule:sn,cancel:Is,state:ha,steps:iS}=HA(typeof requestAnimationFrame<"u"?requestAnimationFrame:hi,!0);let $0;function G3(){$0=void 0}const gl={now:()=>($0===void 0&&gl.set(ha.isProcessing||Bu.useManualTiming?ha.timestamp:performance.now()),$0),set:u=>{$0=u,queueMicrotask(G3)}},LA=u=>r=>typeof r=="string"&&r.startsWith(u),oS=LA("--"),X3=LA("var(--"),uS=u=>X3(u)?Q3.test(u.split("/*")[0].trim()):!1,Q3=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Vd={test:u=>typeof u=="number",parse:parseFloat,transform:u=>u},Op={...Vd,transform:u=>Nu(0,1,u)},F0={...Vd,default:1},Rp=u=>Math.round(u*1e5)/1e5,sS=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Z3(u){return u==null}const k3=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,rS=(u,r)=>d=>!!(typeof d=="string"&&k3.test(d)&&d.startsWith(u)||r&&!Z3(d)&&Object.prototype.hasOwnProperty.call(d,r)),qA=(u,r,d)=>m=>{if(typeof m!="string")return m;const[v,T,b,A]=m.match(sS);return{[u]:parseFloat(v),[r]:parseFloat(T),[d]:parseFloat(b),alpha:A!==void 0?parseFloat(A):1}},J3=u=>Nu(0,255,u),cS={...Vd,transform:u=>Math.round(J3(u))},Hc={test:rS("rgb","red"),parse:qA("red","green","blue"),transform:({red:u,green:r,blue:d,alpha:m=1})=>"rgba("+cS.transform(u)+", "+cS.transform(r)+", "+cS.transform(d)+", "+Rp(Op.transform(m))+")"};function K3(u){let r="",d="",m="",v="";return u.length>5?(r=u.substring(1,3),d=u.substring(3,5),m=u.substring(5,7),v=u.substring(7,9)):(r=u.substring(1,2),d=u.substring(2,3),m=u.substring(3,4),v=u.substring(4,5),r+=r,d+=d,m+=m,v+=v),{red:parseInt(r,16),green:parseInt(d,16),blue:parseInt(m,16),alpha:v?parseInt(v,16)/255:1}}const fS={test:rS("#"),parse:K3,transform:Hc.transform},wp=u=>({test:r=>typeof r=="string"&&r.endsWith(u)&&r.split(" ").length===1,parse:parseFloat,transform:r=>`${r}${u}`}),Ps=wp("deg"),Go=wp("%"),Jt=wp("px"),$3=wp("vh"),F3=wp("vw"),YA={...Go,parse:u=>Go.parse(u)/100,transform:u=>Go.transform(u*100)},Hd={test:rS("hsl","hue"),parse:qA("hue","saturation","lightness"),transform:({hue:u,saturation:r,lightness:d,alpha:m=1})=>"hsla("+Math.round(u)+", "+Go.transform(Rp(r))+", "+Go.transform(Rp(d))+", "+Rp(Op.transform(m))+")"},jn={test:u=>Hc.test(u)||fS.test(u)||Hd.test(u),parse:u=>Hc.test(u)?Hc.parse(u):Hd.test(u)?Hd.parse(u):fS.parse(u),transform:u=>typeof u=="string"?u:u.hasOwnProperty("red")?Hc.transform(u):Hd.transform(u),getAnimatableNone:u=>{const r=jn.parse(u);return r.alpha=0,jn.transform(r)}},W3=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function I3(u){return isNaN(u)&&typeof u=="string"&&(u.match(sS)?.length||0)+(u.match(W3)?.length||0)>0}const GA="number",XA="color",P3="var",tz="var(",QA="${}",ez=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Up(u){const r=u.toString(),d=[],m={color:[],number:[],var:[]},v=[];let T=0;const A=r.replace(ez,x=>(jn.test(x)?(m.color.push(T),v.push(XA),d.push(jn.parse(x))):x.startsWith(tz)?(m.var.push(T),v.push(P3),d.push(x)):(m.number.push(T),v.push(GA),d.push(parseFloat(x))),++T,QA)).split(QA);return{values:d,split:A,indexes:m,types:v}}function ZA(u){return Up(u).values}function kA(u){const{split:r,types:d}=Up(u),m=r.length;return v=>{let T="";for(let b=0;b<m;b++)if(T+=r[b],v[b]!==void 0){const A=d[b];A===GA?T+=Rp(v[b]):A===XA?T+=jn.transform(v[b]):T+=v[b]}return T}}const nz=u=>typeof u=="number"?0:jn.test(u)?jn.getAnimatableNone(u):u;function az(u){const r=ZA(u);return kA(u)(r.map(nz))}const tr={test:I3,parse:ZA,createTransformer:kA,getAnimatableNone:az};function dS(u,r,d){return d<0&&(d+=1),d>1&&(d-=1),d<1/6?u+(r-u)*6*d:d<1/2?r:d<2/3?u+(r-u)*(2/3-d)*6:u}function lz({hue:u,saturation:r,lightness:d,alpha:m}){u/=360,r/=100,d/=100;let v=0,T=0,b=0;if(!r)v=T=b=d;else{const A=d<.5?d*(1+r):d+r-d*r,x=2*d-A;v=dS(x,A,u+1/3),T=dS(x,A,u),b=dS(x,A,u-1/3)}return{red:Math.round(v*255),green:Math.round(T*255),blue:Math.round(b*255),alpha:m}}function W0(u,r){return d=>d>0?r:u}const mn=(u,r,d)=>u+(r-u)*d,hS=(u,r,d)=>{const m=u*u,v=d*(r*r-m)+m;return v<0?0:Math.sqrt(v)},iz=[fS,Hc,Hd],oz=u=>iz.find(r=>r.test(u));function JA(u){const r=oz(u);if(Bd(!!r,`'${u}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!r)return!1;let d=r.parse(u);return r===Hd&&(d=lz(d)),d}const KA=(u,r)=>{const d=JA(u),m=JA(r);if(!d||!m)return W0(u,r);const v={...d};return T=>(v.red=hS(d.red,m.red,T),v.green=hS(d.green,m.green,T),v.blue=hS(d.blue,m.blue,T),v.alpha=mn(d.alpha,m.alpha,T),Hc.transform(v))},mS=new Set(["none","hidden"]);function uz(u,r){return mS.has(u)?d=>d<=0?u:r:d=>d>=1?r:u}function sz(u,r){return d=>mn(u,r,d)}function pS(u){return typeof u=="number"?sz:typeof u=="string"?uS(u)?W0:jn.test(u)?KA:fz:Array.isArray(u)?$A:typeof u=="object"?jn.test(u)?KA:rz:W0}function $A(u,r){const d=[...u],m=d.length,v=u.map((T,b)=>pS(T)(T,r[b]));return T=>{for(let b=0;b<m;b++)d[b]=v[b](T);return d}}function rz(u,r){const d={...u,...r},m={};for(const v in d)u[v]!==void 0&&r[v]!==void 0&&(m[v]=pS(u[v])(u[v],r[v]));return v=>{for(const T in m)d[T]=m[T](v);return d}}function cz(u,r){const d=[],m={color:0,var:0,number:0};for(let v=0;v<r.values.length;v++){const T=r.types[v],b=u.indexes[T][m[T]],A=u.values[b]??0;d[v]=A,m[T]++}return d}const fz=(u,r)=>{const d=tr.createTransformer(r),m=Up(u),v=Up(r);return m.indexes.var.length===v.indexes.var.length&&m.indexes.color.length===v.indexes.color.length&&m.indexes.number.length>=v.indexes.number.length?mS.has(u)&&!v.values.length||mS.has(r)&&!m.values.length?uz(u,r):Cp($A(cz(m,v),v.values),d):(Bd(!0,`Complex values '${u}' and '${r}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),W0(u,r))};function FA(u,r,d){return typeof u=="number"&&typeof r=="number"&&typeof d=="number"?mn(u,r,d):pS(u)(u,r)}const dz=u=>{const r=({timestamp:d})=>u(d);return{start:(d=!0)=>sn.update(r,d),stop:()=>Is(r),now:()=>ha.isProcessing?ha.timestamp:gl.now()}},WA=(u,r,d=10)=>{let m="";const v=Math.max(Math.round(r/d),2);for(let T=0;T<v;T++)m+=Math.round(u(T/(v-1))*1e4)/1e4+", ";return`linear(${m.substring(0,m.length-2)})`},I0=2e4;function yS(u){let r=0;const d=50;let m=u.next(r);for(;!m.done&&r<I0;)r+=d,m=u.next(r);return r>=I0?1/0:r}function hz(u,r=100,d){const m=d({...u,keyframes:[0,r]}),v=Math.min(yS(m),I0);return{type:"keyframes",ease:T=>m.next(v*T).value/r,duration:mi(v)}}const mz=5;function IA(u,r,d){const m=Math.max(r-mz,0);return xA(d-u(m),r-m)}const pn={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},gS=.001;function pz({duration:u=pn.duration,bounce:r=pn.bounce,velocity:d=pn.velocity,mass:m=pn.mass}){let v,T;Bd(u<=so(pn.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let b=1-r;b=Nu(pn.minDamping,pn.maxDamping,b),u=Nu(pn.minDuration,pn.maxDuration,mi(u)),b<1?(v=z=>{const M=z*b,O=M*u,w=M-d,Q=vS(z,b),X=Math.exp(-O);return gS-w/Q*X},T=z=>{const O=z*b*u,w=O*d+d,Q=Math.pow(b,2)*Math.pow(z,2)*u,X=Math.exp(-O),lt=vS(Math.pow(z,2),b);return(-v(z)+gS>0?-1:1)*((w-Q)*X)/lt}):(v=z=>{const M=Math.exp(-z*u),O=(z-d)*u+1;return-gS+M*O},T=z=>{const M=Math.exp(-z*u),O=(d-z)*(u*u);return M*O});const A=5/u,x=gz(v,T,A);if(u=so(u),isNaN(x))return{stiffness:pn.stiffness,damping:pn.damping,duration:u};{const z=Math.pow(x,2)*m;return{stiffness:z,damping:b*2*Math.sqrt(m*z),duration:u}}}const yz=12;function gz(u,r,d){let m=d;for(let v=1;v<yz;v++)m=m-u(m)/r(m);return m}function vS(u,r){return u*Math.sqrt(1-r*r)}const vz=["duration","bounce"],bz=["stiffness","damping","mass"];function PA(u,r){return r.some(d=>u[d]!==void 0)}function Sz(u){let r={velocity:pn.velocity,stiffness:pn.stiffness,damping:pn.damping,mass:pn.mass,isResolvedFromDuration:!1,...u};if(!PA(u,bz)&&PA(u,vz))if(u.visualDuration){const d=u.visualDuration,m=2*Math.PI/(d*1.2),v=m*m,T=2*Nu(.05,1,1-(u.bounce||0))*Math.sqrt(v);r={...r,mass:pn.mass,stiffness:v,damping:T}}else{const d=pz(u);r={...r,...d,mass:pn.mass},r.isResolvedFromDuration=!0}return r}function P0(u=pn.visualDuration,r=pn.bounce){const d=typeof u!="object"?{visualDuration:u,keyframes:[0,1],bounce:r}:u;let{restSpeed:m,restDelta:v}=d;const T=d.keyframes[0],b=d.keyframes[d.keyframes.length-1],A={done:!1,value:T},{stiffness:x,damping:z,mass:M,duration:O,velocity:w,isResolvedFromDuration:Q}=Sz({...d,velocity:-mi(d.velocity||0)}),X=w||0,lt=z/(2*Math.sqrt(x*M)),ot=b-T,nt=mi(Math.sqrt(x/M)),dt=Math.abs(ot)<5;m||(m=dt?pn.restSpeed.granular:pn.restSpeed.default),v||(v=dt?pn.restDelta.granular:pn.restDelta.default);let ht;if(lt<1){const St=vS(nt,lt);ht=bt=>{const Dt=Math.exp(-lt*nt*bt);return b-Dt*((X+lt*nt*ot)/St*Math.sin(St*bt)+ot*Math.cos(St*bt))}}else if(lt===1)ht=St=>b-Math.exp(-nt*St)*(ot+(X+nt*ot)*St);else{const St=nt*Math.sqrt(lt*lt-1);ht=bt=>{const Dt=Math.exp(-lt*nt*bt),I=Math.min(St*bt,300);return b-Dt*((X+lt*nt*ot)*Math.sinh(I)+St*ot*Math.cosh(I))/St}}const Tt={calculatedDuration:Q&&O||null,next:St=>{const bt=ht(St);if(Q)A.done=St>=O;else{let Dt=St===0?X:0;lt<1&&(Dt=St===0?so(X):IA(ht,St,bt));const I=Math.abs(Dt)<=m,wt=Math.abs(b-bt)<=v;A.done=I&&wt}return A.value=A.done?b:bt,A},toString:()=>{const St=Math.min(yS(Tt),I0),bt=WA(Dt=>Tt.next(St*Dt).value,St,30);return St+"ms "+bt},toTransition:()=>{}};return Tt}P0.applyToOptions=u=>{const r=hz(u,100,P0);return u.ease=r.ease,u.duration=so(r.duration),u.type="keyframes",u};function bS({keyframes:u,velocity:r=0,power:d=.8,timeConstant:m=325,bounceDamping:v=10,bounceStiffness:T=500,modifyTarget:b,min:A,max:x,restDelta:z=.5,restSpeed:M}){const O=u[0],w={done:!1,value:O},Q=I=>A!==void 0&&I<A||x!==void 0&&I>x,X=I=>A===void 0?x:x===void 0||Math.abs(A-I)<Math.abs(x-I)?A:x;let lt=d*r;const ot=O+lt,nt=b===void 0?ot:b(ot);nt!==ot&&(lt=nt-O);const dt=I=>-lt*Math.exp(-I/m),ht=I=>nt+dt(I),Tt=I=>{const wt=dt(I),yt=ht(I);w.done=Math.abs(wt)<=z,w.value=w.done?nt:yt};let St,bt;const Dt=I=>{Q(w.value)&&(St=I,bt=P0({keyframes:[w.value,X(w.value)],velocity:IA(ht,I,w.value),damping:v,stiffness:T,restDelta:z,restSpeed:M}))};return Dt(0),{calculatedDuration:null,next:I=>{let wt=!1;return!bt&&St===void 0&&(wt=!0,Tt(I),Dt(I)),St!==void 0&&I>=St?bt.next(I-St):(!wt&&Tt(I),w)}}}function Tz(u,r,d){const m=[],v=d||Bu.mix||FA,T=u.length-1;for(let b=0;b<T;b++){let A=v(u[b],u[b+1]);if(r){const x=Array.isArray(r)?r[b]||hi:r;A=Cp(x,A)}m.push(A)}return m}function Az(u,r,{clamp:d=!0,ease:m,mixer:v}={}){const T=u.length;if(ju(T===r.length,"Both input and output ranges must be the same length","range-length"),T===1)return()=>r[0];if(T===2&&r[0]===r[1])return()=>r[1];const b=u[0]===u[1];u[0]>u[T-1]&&(u=[...u].reverse(),r=[...r].reverse());const A=Tz(r,m,v),x=A.length,z=M=>{if(b&&M<u[0])return r[0];let O=0;if(x>1)for(;O<u.length-2&&!(M<u[O+1]);O++);const w=Mp(u[O],u[O+1],M);return A[O](w)};return d?M=>z(Nu(u[0],u[T-1],M)):z}function Ez(u,r){const d=u[u.length-1];for(let m=1;m<=r;m++){const v=Mp(0,r,m);u.push(mn(d,1,v))}}function xz(u){const r=[0];return Ez(r,u.length-1),r}function Dz(u,r){return u.map(d=>d*r)}function Cz(u,r){return u.map(()=>r||NA).splice(0,u.length-1)}function Ld({duration:u=300,keyframes:r,times:d,ease:m="easeInOut"}){const v=H3(m)?m.map(VA):VA(m),T={done:!1,value:r[0]},b=Dz(d&&d.length===r.length?d:xz(r),u),A=Az(b,r,{ease:Array.isArray(v)?v:Cz(r,v)});return{calculatedDuration:u,next:x=>(T.value=A(x),T.done=x>=u,T)}}const Mz=u=>u!==null;function SS(u,{repeat:r,repeatType:d="loop"},m,v=1){const T=u.filter(Mz),A=v<0||r&&d!=="loop"&&r%2===1?0:T.length-1;return!A||m===void 0?T[A]:m}const zz={decay:bS,inertia:bS,tween:Ld,keyframes:Ld,spring:P0};function tE(u){typeof u.type=="string"&&(u.type=zz[u.type])}class TS{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(r=>{this.resolve=r})}notifyFinished(){this.resolve()}then(r,d){return this.finished.then(r,d)}}const Oz=u=>u/100;class AS extends TS{constructor(r){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:d}=this.options;d&&d.updatedAt!==gl.now()&&this.tick(gl.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=r,this.initAnimation(),this.play(),r.autoplay===!1&&this.pause()}initAnimation(){const{options:r}=this;tE(r);const{type:d=Ld,repeat:m=0,repeatDelay:v=0,repeatType:T,velocity:b=0}=r;let{keyframes:A}=r;const x=d||Ld;process.env.NODE_ENV!=="production"&&x!==Ld&&ju(A.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${A}`,"spring-two-frames"),x!==Ld&&typeof A[0]!="number"&&(this.mixKeyframes=Cp(Oz,FA(A[0],A[1])),A=[0,100]);const z=x({...r,keyframes:A});T==="mirror"&&(this.mirroredGenerator=x({...r,keyframes:[...A].reverse(),velocity:-b})),z.calculatedDuration===null&&(z.calculatedDuration=yS(z));const{calculatedDuration:M}=z;this.calculatedDuration=M,this.resolvedDuration=M+v,this.totalDuration=this.resolvedDuration*(m+1)-v,this.generator=z}updateTime(r){const d=Math.round(r-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=d}tick(r,d=!1){const{generator:m,totalDuration:v,mixKeyframes:T,mirroredGenerator:b,resolvedDuration:A,calculatedDuration:x}=this;if(this.startTime===null)return m.next(0);const{delay:z=0,keyframes:M,repeat:O,repeatType:w,repeatDelay:Q,type:X,onUpdate:lt,finalKeyframe:ot}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,r):this.speed<0&&(this.startTime=Math.min(r-v/this.speed,this.startTime)),d?this.currentTime=r:this.updateTime(r);const nt=this.currentTime-z*(this.playbackSpeed>=0?1:-1),dt=this.playbackSpeed>=0?nt<0:nt>v;this.currentTime=Math.max(nt,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=v);let ht=this.currentTime,Tt=m;if(O){const I=Math.min(this.currentTime,v)/A;let wt=Math.floor(I),yt=I%1;!yt&&I>=1&&(yt=1),yt===1&&wt--,wt=Math.min(wt,O+1),!!(wt%2)&&(w==="reverse"?(yt=1-yt,Q&&(yt-=Q/A)):w==="mirror"&&(Tt=b)),ht=Nu(0,1,yt)*A}const St=dt?{done:!1,value:M[0]}:Tt.next(ht);T&&(St.value=T(St.value));let{done:bt}=St;!dt&&x!==null&&(bt=this.playbackSpeed>=0?this.currentTime>=v:this.currentTime<=0);const Dt=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&bt);return Dt&&X!==bS&&(St.value=SS(M,this.options,ot,this.speed)),lt&&lt(St.value),Dt&&this.finish(),St}then(r,d){return this.finished.then(r,d)}get duration(){return mi(this.calculatedDuration)}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+mi(r)}get time(){return mi(this.currentTime)}set time(r){r=so(r),this.currentTime=r,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=r:this.driver&&(this.startTime=this.driver.now()-r/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(r){this.updateTime(gl.now());const d=this.playbackSpeed!==r;this.playbackSpeed=r,d&&(this.time=mi(this.currentTime))}play(){if(this.isStopped)return;const{driver:r=dz,startTime:d}=this.options;this.driver||(this.driver=r(v=>this.tick(v))),this.options.onPlay?.();const m=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=m):this.holdTime!==null?this.startTime=m-this.holdTime:this.startTime||(this.startTime=d??m),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(gl.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(r){return this.startTime=0,this.tick(r,!0)}attachTimeline(r){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),r.observe(this)}}function Rz(u){for(let r=1;r<u.length;r++)u[r]??(u[r]=u[r-1])}const Lc=u=>u*180/Math.PI,ES=u=>{const r=Lc(Math.atan2(u[1],u[0]));return xS(r)},wz={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:u=>(Math.abs(u[0])+Math.abs(u[3]))/2,rotate:ES,rotateZ:ES,skewX:u=>Lc(Math.atan(u[1])),skewY:u=>Lc(Math.atan(u[2])),skew:u=>(Math.abs(u[1])+Math.abs(u[2]))/2},xS=u=>(u=u%360,u<0&&(u+=360),u),eE=ES,nE=u=>Math.sqrt(u[0]*u[0]+u[1]*u[1]),aE=u=>Math.sqrt(u[4]*u[4]+u[5]*u[5]),Uz={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:nE,scaleY:aE,scale:u=>(nE(u)+aE(u))/2,rotateX:u=>xS(Lc(Math.atan2(u[6],u[5]))),rotateY:u=>xS(Lc(Math.atan2(-u[2],u[0]))),rotateZ:eE,rotate:eE,skewX:u=>Lc(Math.atan(u[4])),skewY:u=>Lc(Math.atan(u[1])),skew:u=>(Math.abs(u[1])+Math.abs(u[4]))/2};function DS(u){return u.includes("scale")?1:0}function CS(u,r){if(!u||u==="none")return DS(r);const d=u.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let m,v;if(d)m=Uz,v=d;else{const A=u.match(/^matrix\(([-\d.e\s,]+)\)$/u);m=wz,v=A}if(!v)return DS(r);const T=m[r],b=v[1].split(",").map(Nz);return typeof T=="function"?T(b):b[T]}const _z=(u,r)=>{const{transform:d="none"}=getComputedStyle(u);return CS(d,r)};function Nz(u){return parseFloat(u.trim())}const qd=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Yd=new Set(qd),lE=u=>u===Vd||u===Jt,jz=new Set(["x","y","z"]),Bz=qd.filter(u=>!jz.has(u));function Vz(u){const r=[];return Bz.forEach(d=>{const m=u.getValue(d);m!==void 0&&(r.push([d,m.get()]),m.set(d.startsWith("scale")?1:0))}),r}const qc={width:({x:u},{paddingLeft:r="0",paddingRight:d="0"})=>u.max-u.min-parseFloat(r)-parseFloat(d),height:({y:u},{paddingTop:r="0",paddingBottom:d="0"})=>u.max-u.min-parseFloat(r)-parseFloat(d),top:(u,{top:r})=>parseFloat(r),left:(u,{left:r})=>parseFloat(r),bottom:({y:u},{top:r})=>parseFloat(r)+(u.max-u.min),right:({x:u},{left:r})=>parseFloat(r)+(u.max-u.min),x:(u,{transform:r})=>CS(r,"x"),y:(u,{transform:r})=>CS(r,"y")};qc.translateX=qc.x,qc.translateY=qc.y;const Yc=new Set;let MS=!1,zS=!1,OS=!1;function iE(){if(zS){const u=Array.from(Yc).filter(m=>m.needsMeasurement),r=new Set(u.map(m=>m.element)),d=new Map;r.forEach(m=>{const v=Vz(m);v.length&&(d.set(m,v),m.render())}),u.forEach(m=>m.measureInitialState()),r.forEach(m=>{m.render();const v=d.get(m);v&&v.forEach(([T,b])=>{m.getValue(T)?.set(b)})}),u.forEach(m=>m.measureEndState()),u.forEach(m=>{m.suspendedScrollY!==void 0&&window.scrollTo(0,m.suspendedScrollY)})}zS=!1,MS=!1,Yc.forEach(u=>u.complete(OS)),Yc.clear()}function oE(){Yc.forEach(u=>{u.readKeyframes(),u.needsMeasurement&&(zS=!0)})}function Hz(){OS=!0,oE(),iE(),OS=!1}class RS{constructor(r,d,m,v,T,b=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...r],this.onComplete=d,this.name=m,this.motionValue=v,this.element=T,this.isAsync=b}scheduleResolve(){this.state="scheduled",this.isAsync?(Yc.add(this),MS||(MS=!0,sn.read(oE),sn.resolveKeyframes(iE))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:r,name:d,element:m,motionValue:v}=this;if(r[0]===null){const T=v?.get(),b=r[r.length-1];if(T!==void 0)r[0]=T;else if(m&&d){const A=m.readValue(d,b);A!=null&&(r[0]=A)}r[0]===void 0&&(r[0]=b),v&&T===void 0&&v.set(r[0])}Rz(r)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(r=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,r),Yc.delete(this)}cancel(){this.state==="scheduled"&&(Yc.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Lz=u=>u.startsWith("--");function qz(u,r,d){Lz(r)?u.style.setProperty(r,d):u.style[r]=d}const Yz=tS(()=>window.ScrollTimeline!==void 0),Gz={};function Xz(u,r){const d=tS(u);return()=>Gz[r]??d()}const uE=Xz(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),_p=([u,r,d,m])=>`cubic-bezier(${u}, ${r}, ${d}, ${m})`,sE={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:_p([0,.65,.55,1]),circOut:_p([.55,0,1,.45]),backIn:_p([.31,.01,.66,-.59]),backOut:_p([.33,1.53,.69,.99])};function rE(u,r){if(u)return typeof u=="function"?uE()?WA(u,r):"ease-out":jA(u)?_p(u):Array.isArray(u)?u.map(d=>rE(d,r)||sE.easeOut):sE[u]}function Qz(u,r,d,{delay:m=0,duration:v=300,repeat:T=0,repeatType:b="loop",ease:A="easeOut",times:x}={},z=void 0){const M={[r]:d};x&&(M.offset=x);const O=rE(A,v);Array.isArray(O)&&(M.easing=O);const w={delay:m,duration:v,easing:Array.isArray(O)?"linear":O,fill:"both",iterations:T+1,direction:b==="reverse"?"alternate":"normal"};return z&&(w.pseudoElement=z),u.animate(M,w)}function cE(u){return typeof u=="function"&&"applyToOptions"in u}function Zz({type:u,...r}){return cE(u)&&uE()?u.applyToOptions(r):(r.duration??(r.duration=300),r.ease??(r.ease="easeOut"),r)}class kz extends TS{constructor(r){if(super(),this.finishedTime=null,this.isStopped=!1,!r)return;const{element:d,name:m,keyframes:v,pseudoElement:T,allowFlatten:b=!1,finalKeyframe:A,onComplete:x}=r;this.isPseudoElement=!!T,this.allowFlatten=b,this.options=r,ju(typeof r.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const z=Zz(r);this.animation=Qz(d,m,v,z,T),z.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!T){const M=SS(v,this.options,A,this.speed);this.updateMotionValue?this.updateMotionValue(M):qz(d,m,M),this.animation.cancel()}x?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:r}=this;r==="idle"||r==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const r=this.animation.effect?.getComputedTiming?.().duration||0;return mi(Number(r))}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+mi(r)}get time(){return mi(Number(this.animation.currentTime)||0)}set time(r){this.finishedTime=null,this.animation.currentTime=so(r)}get speed(){return this.animation.playbackRate}set speed(r){r<0&&(this.finishedTime=null),this.animation.playbackRate=r}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(r){this.animation.startTime=r}attachTimeline({timeline:r,observe:d}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,r&&Yz()?(this.animation.timeline=r,hi):d(this)}}const fE={anticipate:wA,backInOut:RA,circInOut:_A};function Jz(u){return u in fE}function Kz(u){typeof u.ease=="string"&&Jz(u.ease)&&(u.ease=fE[u.ease])}const dE=10;class $z extends kz{constructor(r){Kz(r),tE(r),super(r),r.startTime&&(this.startTime=r.startTime),this.options=r}updateMotionValue(r){const{motionValue:d,onUpdate:m,onComplete:v,element:T,...b}=this.options;if(!d)return;if(r!==void 0){d.set(r);return}const A=new AS({...b,autoplay:!1}),x=so(this.finishedTime??this.time);d.setWithVelocity(A.sample(x-dE).value,A.sample(x).value,dE),A.stop()}}const hE=(u,r)=>r==="zIndex"?!1:!!(typeof u=="number"||Array.isArray(u)||typeof u=="string"&&(tr.test(u)||u==="0")&&!u.startsWith("url("));function Fz(u){const r=u[0];if(u.length===1)return!0;for(let d=0;d<u.length;d++)if(u[d]!==r)return!0}function Wz(u,r,d,m){const v=u[0];if(v===null)return!1;if(r==="display"||r==="visibility")return!0;const T=u[u.length-1],b=hE(v,r),A=hE(T,r);return Bd(b===A,`You are trying to animate ${r} from "${v}" to "${T}". "${b?T:v}" is not an animatable value.`,"value-not-animatable"),!b||!A?!1:Fz(u)||(d==="spring"||cE(d))&&m}function wS(u){u.duration=0,u.type="keyframes"}const Iz=new Set(["opacity","clipPath","filter","transform"]),Pz=tS(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function tO(u){const{motionValue:r,name:d,repeatDelay:m,repeatType:v,damping:T,type:b}=u;if(!(r?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:x,transformTemplate:z}=r.owner.getProps();return Pz()&&d&&Iz.has(d)&&(d!=="transform"||!z)&&!x&&!m&&v!=="mirror"&&T!==0&&b!=="inertia"}const eO=40;class nO extends TS{constructor({autoplay:r=!0,delay:d=0,type:m="keyframes",repeat:v=0,repeatDelay:T=0,repeatType:b="loop",keyframes:A,name:x,motionValue:z,element:M,...O}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=gl.now();const w={autoplay:r,delay:d,type:m,repeat:v,repeatDelay:T,repeatType:b,name:x,motionValue:z,element:M,...O},Q=M?.KeyframeResolver||RS;this.keyframeResolver=new Q(A,(X,lt,ot)=>this.onKeyframesResolved(X,lt,w,!ot),x,z,M),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(r,d,m,v){this.keyframeResolver=void 0;const{name:T,type:b,velocity:A,delay:x,isHandoff:z,onUpdate:M}=m;this.resolvedAt=gl.now(),Wz(r,T,b,A)||((Bu.instantAnimations||!x)&&M?.(SS(r,m,d)),r[0]=r[r.length-1],wS(m),m.repeat=0);const w={startTime:v?this.resolvedAt?this.resolvedAt-this.createdAt>eO?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:d,...m,keyframes:r},Q=!z&&tO(w)?new $z({...w,element:w.motionValue.owner.current}):new AS(w);Q.finished.then(()=>this.notifyFinished()).catch(hi),this.pendingTimeline&&(this.stopTimeline=Q.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=Q}get finished(){return this._animation?this.animation.finished:this._finished}then(r,d){return this.finished.finally(r).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Hz()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(r){this.animation.time=r}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(r){this.animation.speed=r}get startTime(){return this.animation.startTime}attachTimeline(r){return this._animation?this.stopTimeline=this.animation.attachTimeline(r):this.pendingTimeline=r,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const aO=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function lO(u){const r=aO.exec(u);if(!r)return[,];const[,d,m,v]=r;return[`--${d??m}`,v]}const iO=4;function mE(u,r,d=1){ju(d<=iO,`Max CSS variable fallback depth detected in property "${u}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[m,v]=lO(u);if(!m)return;const T=window.getComputedStyle(r).getPropertyValue(m);if(T){const b=T.trim();return TA(b)?parseFloat(b):b}return uS(v)?mE(v,r,d+1):v}function US(u,r){return u?.[r]??u?.default??u}const pE=new Set(["width","height","top","left","right","bottom",...qd]),oO={test:u=>u==="auto",parse:u=>u},yE=u=>r=>r.test(u),gE=[Vd,Jt,Go,Ps,F3,$3,oO],vE=u=>gE.find(yE(u));function uO(u){return typeof u=="number"?u===0:u!==null?u==="none"||u==="0"||EA(u):!0}const sO=new Set(["brightness","contrast","saturate","opacity"]);function rO(u){const[r,d]=u.slice(0,-1).split("(");if(r==="drop-shadow")return u;const[m]=d.match(sS)||[];if(!m)return u;const v=d.replace(m,"");let T=sO.has(r)?1:0;return m!==d&&(T*=100),r+"("+T+v+")"}const cO=/\b([a-z-]*)\(.*?\)/gu,_S={...tr,getAnimatableNone:u=>{const r=u.match(cO);return r?r.map(rO).join(" "):u}},bE={...Vd,transform:Math.round},NS={borderWidth:Jt,borderTopWidth:Jt,borderRightWidth:Jt,borderBottomWidth:Jt,borderLeftWidth:Jt,borderRadius:Jt,radius:Jt,borderTopLeftRadius:Jt,borderTopRightRadius:Jt,borderBottomRightRadius:Jt,borderBottomLeftRadius:Jt,width:Jt,maxWidth:Jt,height:Jt,maxHeight:Jt,top:Jt,right:Jt,bottom:Jt,left:Jt,padding:Jt,paddingTop:Jt,paddingRight:Jt,paddingBottom:Jt,paddingLeft:Jt,margin:Jt,marginTop:Jt,marginRight:Jt,marginBottom:Jt,marginLeft:Jt,backgroundPositionX:Jt,backgroundPositionY:Jt,...{rotate:Ps,rotateX:Ps,rotateY:Ps,rotateZ:Ps,scale:F0,scaleX:F0,scaleY:F0,scaleZ:F0,skew:Ps,skewX:Ps,skewY:Ps,distance:Jt,translateX:Jt,translateY:Jt,translateZ:Jt,x:Jt,y:Jt,z:Jt,perspective:Jt,transformPerspective:Jt,opacity:Op,originX:YA,originY:YA,originZ:Jt},zIndex:bE,fillOpacity:Op,strokeOpacity:Op,numOctaves:bE},fO={...NS,color:jn,backgroundColor:jn,outlineColor:jn,fill:jn,stroke:jn,borderColor:jn,borderTopColor:jn,borderRightColor:jn,borderBottomColor:jn,borderLeftColor:jn,filter:_S,WebkitFilter:_S},SE=u=>fO[u];function TE(u,r){let d=SE(u);return d!==_S&&(d=tr),d.getAnimatableNone?d.getAnimatableNone(r):void 0}const dO=new Set(["auto","none","0"]);function hO(u,r,d){let m=0,v;for(;m<u.length&&!v;){const T=u[m];typeof T=="string"&&!dO.has(T)&&Up(T).values.length&&(v=u[m]),m++}if(v&&d)for(const T of r)u[T]=TE(d,v)}class mO extends RS{constructor(r,d,m,v,T){super(r,d,m,v,T,!0)}readKeyframes(){const{unresolvedKeyframes:r,element:d,name:m}=this;if(!d||!d.current)return;super.readKeyframes();for(let x=0;x<r.length;x++){let z=r[x];if(typeof z=="string"&&(z=z.trim(),uS(z))){const M=mE(z,d.current);M!==void 0&&(r[x]=M),x===r.length-1&&(this.finalKeyframe=z)}}if(this.resolveNoneKeyframes(),!pE.has(m)||r.length!==2)return;const[v,T]=r,b=vE(v),A=vE(T);if(b!==A)if(lE(b)&&lE(A))for(let x=0;x<r.length;x++){const z=r[x];typeof z=="string"&&(r[x]=parseFloat(z))}else qc[m]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:r,name:d}=this,m=[];for(let v=0;v<r.length;v++)(r[v]===null||uO(r[v]))&&m.push(v);m.length&&hO(r,m,d)}measureInitialState(){const{element:r,unresolvedKeyframes:d,name:m}=this;if(!r||!r.current)return;m==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=qc[m](r.measureViewportBox(),window.getComputedStyle(r.current)),d[0]=this.measuredOrigin;const v=d[d.length-1];v!==void 0&&r.getValue(m,v).jump(v,!1)}measureEndState(){const{element:r,name:d,unresolvedKeyframes:m}=this;if(!r||!r.current)return;const v=r.getValue(d);v&&v.jump(this.measuredOrigin,!1);const T=m.length-1,b=m[T];m[T]=qc[d](r.measureViewportBox(),window.getComputedStyle(r.current)),b!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=b),this.removedTransforms?.length&&this.removedTransforms.forEach(([A,x])=>{r.getValue(A).set(x)}),this.resolveNoneKeyframes()}}function pO(u,r,d){if(u instanceof EventTarget)return[u];if(typeof u=="string"){let m=document;const v=d?.[u]??m.querySelectorAll(u);return v?Array.from(v):[]}return Array.from(u)}const AE=(u,r)=>r&&typeof u=="number"?r.transform(u):u;function EE(u){return AA(u)&&"offsetHeight"in u}const xE=30,yO=u=>!isNaN(parseFloat(u));class gO{constructor(r,d={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=m=>{const v=gl.now();if(this.updatedAt!==v&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(m),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const T of this.dependents)T.dirty()},this.hasAnimated=!1,this.setCurrent(r),this.owner=d.owner}setCurrent(r){this.current=r,this.updatedAt=gl.now(),this.canTrackVelocity===null&&r!==void 0&&(this.canTrackVelocity=yO(this.current))}setPrevFrameValue(r=this.current){this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt}onChange(r){return process.env.NODE_ENV!=="production"&&nS(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",r)}on(r,d){this.events[r]||(this.events[r]=new eS);const m=this.events[r].add(d);return r==="change"?()=>{m(),sn.read(()=>{this.events.change.getSize()||this.stop()})}:m}clearListeners(){for(const r in this.events)this.events[r].clear()}attach(r,d){this.passiveEffect=r,this.stopPassiveEffect=d}set(r){this.passiveEffect?this.passiveEffect(r,this.updateAndNotify):this.updateAndNotify(r)}setWithVelocity(r,d,m){this.set(d),this.prev=void 0,this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt-m}jump(r,d=!0){this.updateAndNotify(r),this.prev=r,this.prevUpdatedAt=this.prevFrameValue=void 0,d&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(r){this.dependents||(this.dependents=new Set),this.dependents.add(r)}removeDependent(r){this.dependents&&this.dependents.delete(r)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const r=gl.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||r-this.updatedAt>xE)return 0;const d=Math.min(this.updatedAt-this.prevUpdatedAt,xE);return xA(parseFloat(this.current)-parseFloat(this.prevFrameValue),d)}start(r){return this.stop(),new Promise(d=>{this.hasAnimated=!0,this.animation=r(d),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Gd(u,r){return new gO(u,r)}const{schedule:jS}=HA(queueMicrotask,!1),ro={x:!1,y:!1};function DE(){return ro.x||ro.y}function vO(u){return u==="x"||u==="y"?ro[u]?null:(ro[u]=!0,()=>{ro[u]=!1}):ro.x||ro.y?null:(ro.x=ro.y=!0,()=>{ro.x=ro.y=!1})}function CE(u,r){const d=pO(u),m=new AbortController,v={passive:!0,...r,signal:m.signal};return[d,v,()=>m.abort()]}function ME(u){return!(u.pointerType==="touch"||DE())}function bO(u,r,d={}){const[m,v,T]=CE(u,d),b=A=>{if(!ME(A))return;const{target:x}=A,z=r(x,A);if(typeof z!="function"||!x)return;const M=O=>{ME(O)&&(z(O),x.removeEventListener("pointerleave",M))};x.addEventListener("pointerleave",M,v)};return m.forEach(A=>{A.addEventListener("pointerenter",b,v)}),T}const zE=(u,r)=>r?u===r?!0:zE(u,r.parentElement):!1,BS=u=>u.pointerType==="mouse"?typeof u.button!="number"||u.button<=0:u.isPrimary!==!1,SO=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function TO(u){return SO.has(u.tagName)||u.tabIndex!==-1}const tv=new WeakSet;function OE(u){return r=>{r.key==="Enter"&&u(r)}}function VS(u,r){u.dispatchEvent(new PointerEvent("pointer"+r,{isPrimary:!0,bubbles:!0}))}const AO=(u,r)=>{const d=u.currentTarget;if(!d)return;const m=OE(()=>{if(tv.has(d))return;VS(d,"down");const v=OE(()=>{VS(d,"up")}),T=()=>VS(d,"cancel");d.addEventListener("keyup",v,r),d.addEventListener("blur",T,r)});d.addEventListener("keydown",m,r),d.addEventListener("blur",()=>d.removeEventListener("keydown",m),r)};function RE(u){return BS(u)&&!DE()}function EO(u,r,d={}){const[m,v,T]=CE(u,d),b=A=>{const x=A.currentTarget;if(!RE(A))return;tv.add(x);const z=r(x,A),M=(Q,X)=>{window.removeEventListener("pointerup",O),window.removeEventListener("pointercancel",w),tv.has(x)&&tv.delete(x),RE(Q)&&typeof z=="function"&&z(Q,{success:X})},O=Q=>{M(Q,x===window||x===document||d.useGlobalTarget||zE(x,Q.target))},w=Q=>{M(Q,!1)};window.addEventListener("pointerup",O,v),window.addEventListener("pointercancel",w,v)};return m.forEach(A=>{(d.useGlobalTarget?window:A).addEventListener("pointerdown",b,v),EE(A)&&(A.addEventListener("focus",z=>AO(z,v)),!TO(A)&&!A.hasAttribute("tabindex")&&(A.tabIndex=0))}),T}function wE(u){return AA(u)&&"ownerSVGElement"in u}function xO(u){return wE(u)&&u.tagName==="svg"}const Ua=u=>!!(u&&u.getVelocity),DO=[...gE,jn,tr],CO=u=>DO.find(yE(u)),HS=ut.createContext({transformPagePoint:u=>u,isStatic:!1,reducedMotion:"never"});function UE(u,r){if(typeof u=="function")return u(r);u!=null&&(u.current=r)}function MO(...u){return r=>{let d=!1;const m=u.map(v=>{const T=UE(v,r);return!d&&typeof T=="function"&&(d=!0),T});if(d)return()=>{for(let v=0;v<m.length;v++){const T=m[v];typeof T=="function"?T():UE(u[v],null)}}}}function zO(...u){return qe.useCallback(MO(...u),u)}class OO extends qe.Component{getSnapshotBeforeUpdate(r){const d=this.props.childRef.current;if(d&&r.isPresent&&!this.props.isPresent){const m=d.offsetParent,v=EE(m)&&m.offsetWidth||0,T=this.props.sizeRef.current;T.height=d.offsetHeight||0,T.width=d.offsetWidth||0,T.top=d.offsetTop,T.left=d.offsetLeft,T.right=v-T.width-T.left}return null}componentDidUpdate(){}render(){return this.props.children}}function RO({children:u,isPresent:r,anchorX:d,root:m}){const v=ut.useId(),T=ut.useRef(null),b=ut.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:A}=ut.useContext(HS),x=zO(T,u?.ref);return ut.useInsertionEffect(()=>{const{width:z,height:M,top:O,left:w,right:Q}=b.current;if(r||!T.current||!z||!M)return;const X=d==="left"?`left: ${w}`:`right: ${Q}`;T.current.dataset.motionPopId=v;const lt=document.createElement("style");A&&(lt.nonce=A);const ot=m??document.head;return ot.appendChild(lt),lt.sheet&&lt.sheet.insertRule(`
279
- [data-motion-pop-id="${v}"] {
280
- position: absolute !important;
281
- width: ${z}px !important;
282
- height: ${M}px !important;
283
- ${X}px !important;
284
- top: ${O}px !important;
285
- }
286
- `),()=>{ot.contains(lt)&&ot.removeChild(lt)}},[r]),$.jsx(OO,{isPresent:r,childRef:T,sizeRef:b,children:qe.cloneElement(u,{ref:x})})}const wO=({children:u,initial:r,isPresent:d,onExitComplete:m,custom:v,presenceAffectsLayout:T,mode:b,anchorX:A,root:x})=>{const z=$1(UO),M=ut.useId();let O=!0,w=ut.useMemo(()=>(O=!1,{id:M,initial:r,isPresent:d,custom:v,onExitComplete:Q=>{z.set(Q,!0);for(const X of z.values())if(!X)return;m&&m()},register:Q=>(z.set(Q,!1),()=>z.delete(Q))}),[d,z,m]);return T&&O&&(w={...w}),ut.useMemo(()=>{z.forEach((Q,X)=>z.set(X,!1))},[d]),qe.useEffect(()=>{!d&&!z.size&&m&&m()},[d]),b==="popLayout"&&(u=$.jsx(RO,{isPresent:d,anchorX:A,root:x,children:u})),$.jsx(J0.Provider,{value:w,children:u})};function UO(){return new Map}function _E(u=!0){const r=ut.useContext(J0);if(r===null)return[!0,null];const{isPresent:d,onExitComplete:m,register:v}=r,T=ut.useId();ut.useEffect(()=>{if(u)return v(T)},[u]);const b=ut.useCallback(()=>u&&m&&m(T),[T,m,u]);return!d&&m?[!1,b]:[!0]}const ev=u=>u.key||"";function NE(u){const r=[];return ut.Children.forEach(u,d=>{ut.isValidElement(d)&&r.push(d)}),r}const _O=({children:u,custom:r,initial:d=!0,onExitComplete:m,presenceAffectsLayout:v=!0,mode:T="sync",propagate:b=!1,anchorX:A="left",root:x})=>{const[z,M]=_E(b),O=ut.useMemo(()=>NE(u),[u]),w=b&&!z?[]:O.map(ev),Q=ut.useRef(!0),X=ut.useRef(O),lt=$1(()=>new Map),[ot,nt]=ut.useState(O),[dt,ht]=ut.useState(O);SA(()=>{Q.current=!1,X.current=O;for(let bt=0;bt<dt.length;bt++){const Dt=ev(dt[bt]);w.includes(Dt)?lt.delete(Dt):lt.get(Dt)!==!0&&lt.set(Dt,!1)}},[dt,w.length,w.join("-")]);const Tt=[];if(O!==ot){let bt=[...O];for(let Dt=0;Dt<dt.length;Dt++){const I=dt[Dt],wt=ev(I);w.includes(wt)||(bt.splice(Dt,0,I),Tt.push(I))}return T==="wait"&&Tt.length&&(bt=Tt),ht(NE(bt)),nt(O),null}process.env.NODE_ENV!=="production"&&T==="wait"&&dt.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:St}=ut.useContext(K1);return $.jsx($.Fragment,{children:dt.map(bt=>{const Dt=ev(bt),I=b&&!z?!1:O===dt||w.includes(Dt),wt=()=>{if(lt.has(Dt))lt.set(Dt,!0);else return;let yt=!0;lt.forEach(Qt=>{Qt||(yt=!1)}),yt&&(St?.(),ht(X.current),b&&M?.(),m&&m())};return $.jsx(wO,{isPresent:I,initial:!Q.current||d?void 0:!1,custom:r,presenceAffectsLayout:v,mode:T,root:x,onExitComplete:I?void 0:wt,anchorX:A,children:bt},Dt)})})},jE=ut.createContext({strict:!1}),BE={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Xd={};for(const u in BE)Xd[u]={isEnabled:r=>BE[u].some(d=>!!r[d])};function NO(u){for(const r in u)Xd[r]={...Xd[r],...u[r]}}const jO=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function nv(u){return u.startsWith("while")||u.startsWith("drag")&&u!=="draggable"||u.startsWith("layout")||u.startsWith("onTap")||u.startsWith("onPan")||u.startsWith("onLayout")||jO.has(u)}let VE=u=>!nv(u);function BO(u){typeof u=="function"&&(VE=r=>r.startsWith("on")?!nv(r):u(r))}try{BO(require("@emotion/is-prop-valid").default)}catch{}function VO(u,r,d){const m={};for(const v in u)v==="values"&&typeof u.values=="object"||(VE(v)||d===!0&&nv(v)||!r&&!nv(v)||u.draggable&&v.startsWith("onDrag"))&&(m[v]=u[v]);return m}const av=ut.createContext({});function lv(u){return u!==null&&typeof u=="object"&&typeof u.start=="function"}function Np(u){return typeof u=="string"||Array.isArray(u)}const LS=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],qS=["initial",...LS];function iv(u){return lv(u.animate)||qS.some(r=>Np(u[r]))}function HE(u){return!!(iv(u)||u.variants)}function HO(u,r){if(iv(u)){const{initial:d,animate:m}=u;return{initial:d===!1||Np(d)?d:void 0,animate:Np(m)?m:void 0}}return u.inherit!==!1?r:{}}function LO(u){const{initial:r,animate:d}=HO(u,ut.useContext(av));return ut.useMemo(()=>({initial:r,animate:d}),[LE(r),LE(d)])}function LE(u){return Array.isArray(u)?u.join(" "):u}const jp={};function qO(u){for(const r in u)jp[r]=u[r],oS(r)&&(jp[r].isCSSVariable=!0)}function qE(u,{layout:r,layoutId:d}){return Yd.has(u)||u.startsWith("origin")||(r||d!==void 0)&&(!!jp[u]||u==="opacity")}const YO={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},GO=qd.length;function XO(u,r,d){let m="",v=!0;for(let T=0;T<GO;T++){const b=qd[T],A=u[b];if(A===void 0)continue;let x=!0;if(typeof A=="number"?x=A===(b.startsWith("scale")?1:0):x=parseFloat(A)===0,!x||d){const z=AE(A,NS[b]);if(!x){v=!1;const M=YO[b]||b;m+=`${M}(${z}) `}d&&(r[b]=z)}}return m=m.trim(),d?m=d(r,v?"":m):v&&(m="none"),m}function YS(u,r,d){const{style:m,vars:v,transformOrigin:T}=u;let b=!1,A=!1;for(const x in r){const z=r[x];if(Yd.has(x)){b=!0;continue}else if(oS(x)){v[x]=z;continue}else{const M=AE(z,NS[x]);x.startsWith("origin")?(A=!0,T[x]=M):m[x]=M}}if(r.transform||(b||d?m.transform=XO(r,u.transform,d):m.transform&&(m.transform="none")),A){const{originX:x="50%",originY:z="50%",originZ:M=0}=T;m.transformOrigin=`${x} ${z} ${M}`}}const GS=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function YE(u,r,d){for(const m in r)!Ua(r[m])&&!qE(m,d)&&(u[m]=r[m])}function QO({transformTemplate:u},r){return ut.useMemo(()=>{const d=GS();return YS(d,r,u),Object.assign({},d.vars,d.style)},[r])}function ZO(u,r){const d=u.style||{},m={};return YE(m,d,u),Object.assign(m,QO(u,r)),m}function kO(u,r){const d={},m=ZO(u,r);return u.drag&&u.dragListener!==!1&&(d.draggable=!1,m.userSelect=m.WebkitUserSelect=m.WebkitTouchCallout="none",m.touchAction=u.drag===!0?"none":`pan-${u.drag==="x"?"y":"x"}`),u.tabIndex===void 0&&(u.onTap||u.onTapStart||u.whileTap)&&(d.tabIndex=0),d.style=m,d}const JO={offset:"stroke-dashoffset",array:"stroke-dasharray"},KO={offset:"strokeDashoffset",array:"strokeDasharray"};function $O(u,r,d=1,m=0,v=!0){u.pathLength=1;const T=v?JO:KO;u[T.offset]=Jt.transform(-m);const b=Jt.transform(r),A=Jt.transform(d);u[T.array]=`${b} ${A}`}function GE(u,{attrX:r,attrY:d,attrScale:m,pathLength:v,pathSpacing:T=1,pathOffset:b=0,...A},x,z,M){if(YS(u,A,z),x){u.style.viewBox&&(u.attrs.viewBox=u.style.viewBox);return}u.attrs=u.style,u.style={};const{attrs:O,style:w}=u;O.transform&&(w.transform=O.transform,delete O.transform),(w.transform||O.transformOrigin)&&(w.transformOrigin=O.transformOrigin??"50% 50%",delete O.transformOrigin),w.transform&&(w.transformBox=M?.transformBox??"fill-box",delete O.transformBox),r!==void 0&&(O.x=r),d!==void 0&&(O.y=d),m!==void 0&&(O.scale=m),v!==void 0&&$O(O,v,T,b,!1)}const XE=()=>({...GS(),attrs:{}}),QE=u=>typeof u=="string"&&u.toLowerCase()==="svg";function FO(u,r,d,m){const v=ut.useMemo(()=>{const T=XE();return GE(T,r,QE(m),u.transformTemplate,u.style),{...T.attrs,style:{...T.style}}},[r]);if(u.style){const T={};YE(T,u.style,u),v.style={...T,...v.style}}return v}const WO=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function XS(u){return typeof u!="string"||u.includes("-")?!1:!!(WO.indexOf(u)>-1||/[A-Z]/u.test(u))}function IO(u,r,d,{latestValues:m},v,T=!1){const A=(XS(u)?FO:kO)(r,m,v,u),x=VO(r,typeof u=="string",T),z=u!==ut.Fragment?{...x,...A,ref:d}:{},{children:M}=r,O=ut.useMemo(()=>Ua(M)?M.get():M,[M]);return ut.createElement(u,{...z,children:O})}function ZE(u){const r=[{},{}];return u?.values.forEach((d,m)=>{r[0][m]=d.get(),r[1][m]=d.getVelocity()}),r}function QS(u,r,d,m){if(typeof r=="function"){const[v,T]=ZE(m);r=r(d!==void 0?d:u.custom,v,T)}if(typeof r=="string"&&(r=u.variants&&u.variants[r]),typeof r=="function"){const[v,T]=ZE(m);r=r(d!==void 0?d:u.custom,v,T)}return r}function ov(u){return Ua(u)?u.get():u}function PO({scrapeMotionValuesFromProps:u,createRenderState:r},d,m,v){return{latestValues:tR(d,m,v,u),renderState:r()}}function tR(u,r,d,m){const v={},T=m(u,{});for(const w in T)v[w]=ov(T[w]);let{initial:b,animate:A}=u;const x=iv(u),z=HE(u);r&&z&&!x&&u.inherit!==!1&&(b===void 0&&(b=r.initial),A===void 0&&(A=r.animate));let M=d?d.initial===!1:!1;M=M||b===!1;const O=M?A:b;if(O&&typeof O!="boolean"&&!lv(O)){const w=Array.isArray(O)?O:[O];for(let Q=0;Q<w.length;Q++){const X=QS(u,w[Q]);if(X){const{transitionEnd:lt,transition:ot,...nt}=X;for(const dt in nt){let ht=nt[dt];if(Array.isArray(ht)){const Tt=M?ht.length-1:0;ht=ht[Tt]}ht!==null&&(v[dt]=ht)}for(const dt in lt)v[dt]=lt[dt]}}}return v}const kE=u=>(r,d)=>{const m=ut.useContext(av),v=ut.useContext(J0),T=()=>PO(u,r,m,v);return d?T():$1(T)};function ZS(u,r,d){const{style:m}=u,v={};for(const T in m)(Ua(m[T])||r.style&&Ua(r.style[T])||qE(T,u)||d?.getValue(T)?.liveStyle!==void 0)&&(v[T]=m[T]);return v}const eR=kE({scrapeMotionValuesFromProps:ZS,createRenderState:GS});function JE(u,r,d){const m=ZS(u,r,d);for(const v in u)if(Ua(u[v])||Ua(r[v])){const T=qd.indexOf(v)!==-1?"attr"+v.charAt(0).toUpperCase()+v.substring(1):v;m[T]=u[v]}return m}const nR=kE({scrapeMotionValuesFromProps:JE,createRenderState:XE}),aR=Symbol.for("motionComponentSymbol");function Qd(u){return u&&typeof u=="object"&&Object.prototype.hasOwnProperty.call(u,"current")}function lR(u,r,d){return ut.useCallback(m=>{m&&u.onMount&&u.onMount(m),r&&(m?r.mount(m):r.unmount()),d&&(typeof d=="function"?d(m):Qd(d)&&(d.current=m))},[r])}const kS=u=>u.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),KE="data-"+kS("framerAppearId"),$E=ut.createContext({});function iR(u,r,d,m,v){const{visualElement:T}=ut.useContext(av),b=ut.useContext(jE),A=ut.useContext(J0),x=ut.useContext(HS).reducedMotion,z=ut.useRef(null);m=m||b.renderer,!z.current&&m&&(z.current=m(u,{visualState:r,parent:T,props:d,presenceContext:A,blockInitialAnimation:A?A.initial===!1:!1,reducedMotionConfig:x}));const M=z.current,O=ut.useContext($E);M&&!M.projection&&v&&(M.type==="html"||M.type==="svg")&&oR(z.current,d,v,O);const w=ut.useRef(!1);ut.useInsertionEffect(()=>{M&&w.current&&M.update(d,A)});const Q=d[KE],X=ut.useRef(!!Q&&!window.MotionHandoffIsComplete?.(Q)&&window.MotionHasOptimisedAnimation?.(Q));return SA(()=>{M&&(w.current=!0,window.MotionIsMounted=!0,M.updateFeatures(),M.scheduleRenderMicrotask(),X.current&&M.animationState&&M.animationState.animateChanges())}),ut.useEffect(()=>{M&&(!X.current&&M.animationState&&M.animationState.animateChanges(),X.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(Q)}),X.current=!1),M.enteringChildren=void 0)}),M}function oR(u,r,d,m){const{layoutId:v,layout:T,drag:b,dragConstraints:A,layoutScroll:x,layoutRoot:z,layoutCrossfade:M}=r;u.projection=new d(u.latestValues,r["data-framer-portal-id"]?void 0:FE(u.parent)),u.projection.setOptions({layoutId:v,layout:T,alwaysMeasureLayout:!!b||A&&Qd(A),visualElement:u,animationType:typeof T=="string"?T:"both",initialPromotionConfig:m,crossfade:M,layoutScroll:x,layoutRoot:z})}function FE(u){if(u)return u.options.allowProjection!==!1?u.projection:FE(u.parent)}function JS(u,{forwardMotionProps:r=!1}={},d,m){d&&NO(d);const v=XS(u)?nR:eR;function T(A,x){let z;const M={...ut.useContext(HS),...A,layoutId:uR(A)},{isStatic:O}=M,w=LO(A),Q=v(A,O);if(!O&&F1){sR(M,d);const X=rR(M);z=X.MeasureLayout,w.visualElement=iR(u,Q,M,m,X.ProjectionNode)}return $.jsxs(av.Provider,{value:w,children:[z&&w.visualElement?$.jsx(z,{visualElement:w.visualElement,...M}):null,IO(u,A,lR(Q,w.visualElement,x),Q,O,r)]})}T.displayName=`motion.${typeof u=="string"?u:`create(${u.displayName??u.name??""})`}`;const b=ut.forwardRef(T);return b[aR]=u,b}function uR({layoutId:u}){const r=ut.useContext(K1).id;return r&&u!==void 0?r+"-"+u:u}function sR(u,r){const d=ut.useContext(jE).strict;if(process.env.NODE_ENV!=="production"&&r&&d){const m="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";u.ignoreStrict?Bd(!1,m,"lazy-strict-mode"):ju(!1,m,"lazy-strict-mode")}}function rR(u){const{drag:r,layout:d}=Xd;if(!r&&!d)return{};const m={...r,...d};return{MeasureLayout:r?.isEnabled(u)||d?.isEnabled(u)?m.MeasureLayout:void 0,ProjectionNode:m.ProjectionNode}}function cR(u,r){if(typeof Proxy>"u")return JS;const d=new Map,m=(T,b)=>JS(T,b,u,r),v=(T,b)=>(process.env.NODE_ENV!=="production"&&nS(!1,"motion() is deprecated. Use motion.create() instead."),m(T,b));return new Proxy(v,{get:(T,b)=>b==="create"?m:(d.has(b)||d.set(b,JS(b,void 0,u,r)),d.get(b))})}function WE({top:u,left:r,right:d,bottom:m}){return{x:{min:r,max:d},y:{min:u,max:m}}}function fR({x:u,y:r}){return{top:r.min,right:u.max,bottom:r.max,left:u.min}}function dR(u,r){if(!r)return u;const d=r({x:u.left,y:u.top}),m=r({x:u.right,y:u.bottom});return{top:d.y,left:d.x,bottom:m.y,right:m.x}}function KS(u){return u===void 0||u===1}function $S({scale:u,scaleX:r,scaleY:d}){return!KS(u)||!KS(r)||!KS(d)}function Gc(u){return $S(u)||IE(u)||u.z||u.rotate||u.rotateX||u.rotateY||u.skewX||u.skewY}function IE(u){return PE(u.x)||PE(u.y)}function PE(u){return u&&u!=="0%"}function uv(u,r,d){const m=u-d,v=r*m;return d+v}function tx(u,r,d,m,v){return v!==void 0&&(u=uv(u,v,m)),uv(u,d,m)+r}function FS(u,r=0,d=1,m,v){u.min=tx(u.min,r,d,m,v),u.max=tx(u.max,r,d,m,v)}function ex(u,{x:r,y:d}){FS(u.x,r.translate,r.scale,r.originPoint),FS(u.y,d.translate,d.scale,d.originPoint)}const nx=.999999999999,ax=1.0000000000001;function hR(u,r,d,m=!1){const v=d.length;if(!v)return;r.x=r.y=1;let T,b;for(let A=0;A<v;A++){T=d[A],b=T.projectionDelta;const{visualElement:x}=T.options;x&&x.props.style&&x.props.style.display==="contents"||(m&&T.options.layoutScroll&&T.scroll&&T!==T.root&&kd(u,{x:-T.scroll.offset.x,y:-T.scroll.offset.y}),b&&(r.x*=b.x.scale,r.y*=b.y.scale,ex(u,b)),m&&Gc(T.latestValues)&&kd(u,T.latestValues))}r.x<ax&&r.x>nx&&(r.x=1),r.y<ax&&r.y>nx&&(r.y=1)}function Zd(u,r){u.min=u.min+r,u.max=u.max+r}function lx(u,r,d,m,v=.5){const T=mn(u.min,u.max,v);FS(u,r,d,T,m)}function kd(u,r){lx(u.x,r.x,r.scaleX,r.scale,r.originX),lx(u.y,r.y,r.scaleY,r.scale,r.originY)}function ix(u,r){return WE(dR(u.getBoundingClientRect(),r))}function mR(u,r,d){const m=ix(u,d),{scroll:v}=r;return v&&(Zd(m.x,v.offset.x),Zd(m.y,v.offset.y)),m}const ox=()=>({translate:0,scale:1,origin:0,originPoint:0}),Jd=()=>({x:ox(),y:ox()}),ux=()=>({min:0,max:0}),Mn=()=>({x:ux(),y:ux()}),WS={current:null},sx={current:!1};function pR(){if(sx.current=!0,!!F1)if(window.matchMedia){const u=window.matchMedia("(prefers-reduced-motion)"),r=()=>WS.current=u.matches;u.addEventListener("change",r),r()}else WS.current=!1}const yR=new WeakMap;function gR(u,r,d){for(const m in r){const v=r[m],T=d[m];if(Ua(v))u.addValue(m,v);else if(Ua(T))u.addValue(m,Gd(v,{owner:u}));else if(T!==v)if(u.hasValue(m)){const b=u.getValue(m);b.liveStyle===!0?b.jump(v):b.hasAnimated||b.set(v)}else{const b=u.getStaticValue(m);u.addValue(m,Gd(b!==void 0?b:v,{owner:u}))}}for(const m in d)r[m]===void 0&&u.removeValue(m);return r}const rx=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class vR{scrapeMotionValuesFromProps(r,d,m){return{}}constructor({parent:r,props:d,presenceContext:m,reducedMotionConfig:v,blockInitialAnimation:T,visualState:b},A={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=RS,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const w=gl.now();this.renderScheduledAt<w&&(this.renderScheduledAt=w,sn.render(this.render,!1,!0))};const{latestValues:x,renderState:z}=b;this.latestValues=x,this.baseTarget={...x},this.initialValues=d.initial?{...x}:{},this.renderState=z,this.parent=r,this.props=d,this.presenceContext=m,this.depth=r?r.depth+1:0,this.reducedMotionConfig=v,this.options=A,this.blockInitialAnimation=!!T,this.isControllingVariants=iv(d),this.isVariantNode=HE(d),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(r&&r.current);const{willChange:M,...O}=this.scrapeMotionValuesFromProps(d,{},this);for(const w in O){const Q=O[w];x[w]!==void 0&&Ua(Q)&&Q.set(x[w])}}mount(r){this.current=r,yR.set(r,this),this.projection&&!this.projection.instance&&this.projection.mount(r),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((d,m)=>this.bindToMotionValue(m,d)),sx.current||pR(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:WS.current,process.env.NODE_ENV!=="production"&&nS(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Is(this.notifyUpdate),Is(this.render),this.valueSubscriptions.forEach(r=>r()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const r in this.events)this.events[r].clear();for(const r in this.features){const d=this.features[r];d&&(d.unmount(),d.isMounted=!1)}this.current=null}addChild(r){this.children.add(r),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(r)}removeChild(r){this.children.delete(r),this.enteringChildren&&this.enteringChildren.delete(r)}bindToMotionValue(r,d){this.valueSubscriptions.has(r)&&this.valueSubscriptions.get(r)();const m=Yd.has(r);m&&this.onBindTransform&&this.onBindTransform();const v=d.on("change",b=>{this.latestValues[r]=b,this.props.onUpdate&&sn.preRender(this.notifyUpdate),m&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let T;window.MotionCheckAppearSync&&(T=window.MotionCheckAppearSync(this,r,d)),this.valueSubscriptions.set(r,()=>{v(),T&&T(),d.owner&&d.stop()})}sortNodePosition(r){return!this.current||!this.sortInstanceNodePosition||this.type!==r.type?0:this.sortInstanceNodePosition(this.current,r.current)}updateFeatures(){let r="animation";for(r in Xd){const d=Xd[r];if(!d)continue;const{isEnabled:m,Feature:v}=d;if(!this.features[r]&&v&&m(this.props)&&(this.features[r]=new v(this)),this.features[r]){const T=this.features[r];T.isMounted?T.update():(T.mount(),T.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Mn()}getStaticValue(r){return this.latestValues[r]}setStaticValue(r,d){this.latestValues[r]=d}update(r,d){(r.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=r,this.prevPresenceContext=this.presenceContext,this.presenceContext=d;for(let m=0;m<rx.length;m++){const v=rx[m];this.propEventSubscriptions[v]&&(this.propEventSubscriptions[v](),delete this.propEventSubscriptions[v]);const T="on"+v,b=r[T];b&&(this.propEventSubscriptions[v]=this.on(v,b))}this.prevMotionValues=gR(this,this.scrapeMotionValuesFromProps(r,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(r){return this.props.variants?this.props.variants[r]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(r){const d=this.getClosestVariantNode();if(d)return d.variantChildren&&d.variantChildren.add(r),()=>d.variantChildren.delete(r)}addValue(r,d){const m=this.values.get(r);d!==m&&(m&&this.removeValue(r),this.bindToMotionValue(r,d),this.values.set(r,d),this.latestValues[r]=d.get())}removeValue(r){this.values.delete(r);const d=this.valueSubscriptions.get(r);d&&(d(),this.valueSubscriptions.delete(r)),delete this.latestValues[r],this.removeValueFromRenderState(r,this.renderState)}hasValue(r){return this.values.has(r)}getValue(r,d){if(this.props.values&&this.props.values[r])return this.props.values[r];let m=this.values.get(r);return m===void 0&&d!==void 0&&(m=Gd(d===null?void 0:d,{owner:this}),this.addValue(r,m)),m}readValue(r,d){let m=this.latestValues[r]!==void 0||!this.current?this.latestValues[r]:this.getBaseTargetFromProps(this.props,r)??this.readValueFromInstance(this.current,r,this.options);return m!=null&&(typeof m=="string"&&(TA(m)||EA(m))?m=parseFloat(m):!CO(m)&&tr.test(d)&&(m=TE(r,d)),this.setBaseTarget(r,Ua(m)?m.get():m)),Ua(m)?m.get():m}setBaseTarget(r,d){this.baseTarget[r]=d}getBaseTarget(r){const{initial:d}=this.props;let m;if(typeof d=="string"||typeof d=="object"){const T=QS(this.props,d,this.presenceContext?.custom);T&&(m=T[r])}if(d&&m!==void 0)return m;const v=this.getBaseTargetFromProps(this.props,r);return v!==void 0&&!Ua(v)?v:this.initialValues[r]!==void 0&&m===void 0?void 0:this.baseTarget[r]}on(r,d){return this.events[r]||(this.events[r]=new eS),this.events[r].add(d)}notify(r,...d){this.events[r]&&this.events[r].notify(...d)}scheduleRenderMicrotask(){jS.render(this.render)}}class cx extends vR{constructor(){super(...arguments),this.KeyframeResolver=mO}sortInstanceNodePosition(r,d){return r.compareDocumentPosition(d)&2?1:-1}getBaseTargetFromProps(r,d){return r.style?r.style[d]:void 0}removeValueFromRenderState(r,{vars:d,style:m}){delete d[r],delete m[r]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:r}=this.props;Ua(r)&&(this.childSubscription=r.on("change",d=>{this.current&&(this.current.textContent=`${d}`)}))}}function fx(u,{style:r,vars:d},m,v){const T=u.style;let b;for(b in r)T[b]=r[b];v?.applyProjectionStyles(T,m);for(b in d)T.setProperty(b,d[b])}function bR(u){return window.getComputedStyle(u)}class SR extends cx{constructor(){super(...arguments),this.type="html",this.renderInstance=fx}readValueFromInstance(r,d){if(Yd.has(d))return this.projection?.isProjecting?DS(d):_z(r,d);{const m=bR(r),v=(oS(d)?m.getPropertyValue(d):m[d])||0;return typeof v=="string"?v.trim():v}}measureInstanceViewportBox(r,{transformPagePoint:d}){return ix(r,d)}build(r,d,m){YS(r,d,m.transformTemplate)}scrapeMotionValuesFromProps(r,d,m){return ZS(r,d,m)}}const dx=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function TR(u,r,d,m){fx(u,r,void 0,m);for(const v in r.attrs)u.setAttribute(dx.has(v)?v:kS(v),r.attrs[v])}class AR extends cx{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Mn}getBaseTargetFromProps(r,d){return r[d]}readValueFromInstance(r,d){if(Yd.has(d)){const m=SE(d);return m&&m.default||0}return d=dx.has(d)?d:kS(d),r.getAttribute(d)}scrapeMotionValuesFromProps(r,d,m){return JE(r,d,m)}build(r,d,m){GE(r,d,this.isSVGTag,m.transformTemplate,m.style)}renderInstance(r,d,m,v){TR(r,d,m,v)}mount(r){this.isSVGTag=QE(r.tagName),super.mount(r)}}const ER=(u,r)=>XS(u)?new AR(r):new SR(r,{allowProjection:u!==ut.Fragment});function Kd(u,r,d){const m=u.getProps();return QS(m,r,d!==void 0?d:m.custom,u)}const IS=u=>Array.isArray(u);function xR(u,r,d){u.hasValue(r)?u.getValue(r).set(d):u.addValue(r,Gd(d))}function DR(u){return IS(u)?u[u.length-1]||0:u}function CR(u,r){const d=Kd(u,r);let{transitionEnd:m={},transition:v={},...T}=d||{};T={...T,...m};for(const b in T){const A=DR(T[b]);xR(u,b,A)}}function MR(u){return!!(Ua(u)&&u.add)}function PS(u,r){const d=u.getValue("willChange");if(MR(d))return d.add(r);if(!d&&Bu.WillChange){const m=new Bu.WillChange("auto");u.addValue("willChange",m),m.add(r)}}function hx(u){return u.props[KE]}const zR=u=>u!==null;function OR(u,{repeat:r,repeatType:d="loop"},m){const v=u.filter(zR),T=r&&d!=="loop"&&r%2===1?0:v.length-1;return v[T]}const RR={type:"spring",stiffness:500,damping:25,restSpeed:10},wR=u=>({type:"spring",stiffness:550,damping:u===0?2*Math.sqrt(550):30,restSpeed:10}),UR={type:"keyframes",duration:.8},_R={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},NR=(u,{keyframes:r})=>r.length>2?UR:Yd.has(u)?u.startsWith("scale")?wR(r[1]):RR:_R;function jR({when:u,delay:r,delayChildren:d,staggerChildren:m,staggerDirection:v,repeat:T,repeatType:b,repeatDelay:A,from:x,elapsed:z,...M}){return!!Object.keys(M).length}const tT=(u,r,d,m={},v,T)=>b=>{const A=US(m,u)||{},x=A.delay||m.delay||0;let{elapsed:z=0}=m;z=z-so(x);const M={keyframes:Array.isArray(d)?d:[null,d],ease:"easeOut",velocity:r.getVelocity(),...A,delay:-z,onUpdate:w=>{r.set(w),A.onUpdate&&A.onUpdate(w)},onComplete:()=>{b(),A.onComplete&&A.onComplete()},name:u,motionValue:r,element:T?void 0:v};jR(A)||Object.assign(M,NR(u,M)),M.duration&&(M.duration=so(M.duration)),M.repeatDelay&&(M.repeatDelay=so(M.repeatDelay)),M.from!==void 0&&(M.keyframes[0]=M.from);let O=!1;if((M.type===!1||M.duration===0&&!M.repeatDelay)&&(wS(M),M.delay===0&&(O=!0)),(Bu.instantAnimations||Bu.skipAnimations)&&(O=!0,wS(M),M.delay=0),M.allowFlatten=!A.type&&!A.ease,O&&!T&&r.get()!==void 0){const w=OR(M.keyframes,A);if(w!==void 0){sn.update(()=>{M.onUpdate(w),M.onComplete()});return}}return A.isSync?new AS(M):new nO(M)};function BR({protectedKeys:u,needsAnimating:r},d){const m=u.hasOwnProperty(d)&&r[d]!==!0;return r[d]=!1,m}function mx(u,r,{delay:d=0,transitionOverride:m,type:v}={}){let{transition:T=u.getDefaultTransition(),transitionEnd:b,...A}=r;m&&(T=m);const x=[],z=v&&u.animationState&&u.animationState.getState()[v];for(const M in A){const O=u.getValue(M,u.latestValues[M]??null),w=A[M];if(w===void 0||z&&BR(z,M))continue;const Q={delay:d,...US(T||{},M)},X=O.get();if(X!==void 0&&!O.isAnimating&&!Array.isArray(w)&&w===X&&!Q.velocity)continue;let lt=!1;if(window.MotionHandoffAnimation){const nt=hx(u);if(nt){const dt=window.MotionHandoffAnimation(nt,M,sn);dt!==null&&(Q.startTime=dt,lt=!0)}}PS(u,M),O.start(tT(M,O,w,u.shouldReduceMotion&&pE.has(M)?{type:!1}:Q,u,lt));const ot=O.animation;ot&&x.push(ot)}return b&&Promise.all(x).then(()=>{sn.update(()=>{b&&CR(u,b)})}),x}function px(u,r,d,m=0,v=1){const T=Array.from(u).sort((z,M)=>z.sortNodePosition(M)).indexOf(r),b=u.size,A=(b-1)*m;return typeof d=="function"?d(T,b):v===1?T*m:A-T*m}function eT(u,r,d={}){const m=Kd(u,r,d.type==="exit"?u.presenceContext?.custom:void 0);let{transition:v=u.getDefaultTransition()||{}}=m||{};d.transitionOverride&&(v=d.transitionOverride);const T=m?()=>Promise.all(mx(u,m,d)):()=>Promise.resolve(),b=u.variantChildren&&u.variantChildren.size?(x=0)=>{const{delayChildren:z=0,staggerChildren:M,staggerDirection:O}=v;return VR(u,r,x,z,M,O,d)}:()=>Promise.resolve(),{when:A}=v;if(A){const[x,z]=A==="beforeChildren"?[T,b]:[b,T];return x().then(()=>z())}else return Promise.all([T(),b(d.delay)])}function VR(u,r,d=0,m=0,v=0,T=1,b){const A=[];for(const x of u.variantChildren)x.notify("AnimationStart",r),A.push(eT(x,r,{...b,delay:d+(typeof m=="function"?0:m)+px(u.variantChildren,x,m,v,T)}).then(()=>x.notify("AnimationComplete",r)));return Promise.all(A)}function HR(u,r,d={}){u.notify("AnimationStart",r);let m;if(Array.isArray(r)){const v=r.map(T=>eT(u,T,d));m=Promise.all(v)}else if(typeof r=="string")m=eT(u,r,d);else{const v=typeof r=="function"?Kd(u,r,d.custom):r;m=Promise.all(mx(u,v,d))}return m.then(()=>{u.notify("AnimationComplete",r)})}function yx(u,r){if(!Array.isArray(r))return!1;const d=r.length;if(d!==u.length)return!1;for(let m=0;m<d;m++)if(r[m]!==u[m])return!1;return!0}const LR=qS.length;function gx(u){if(!u)return;if(!u.isControllingVariants){const d=u.parent?gx(u.parent)||{}:{};return u.props.initial!==void 0&&(d.initial=u.props.initial),d}const r={};for(let d=0;d<LR;d++){const m=qS[d],v=u.props[m];(Np(v)||v===!1)&&(r[m]=v)}return r}const qR=[...LS].reverse(),YR=LS.length;function GR(u){return r=>Promise.all(r.map(({animation:d,options:m})=>HR(u,d,m)))}function XR(u){let r=GR(u),d=vx(),m=!0;const v=x=>(z,M)=>{const O=Kd(u,M,x==="exit"?u.presenceContext?.custom:void 0);if(O){const{transition:w,transitionEnd:Q,...X}=O;z={...z,...X,...Q}}return z};function T(x){r=x(u)}function b(x){const{props:z}=u,M=gx(u.parent)||{},O=[],w=new Set;let Q={},X=1/0;for(let ot=0;ot<YR;ot++){const nt=qR[ot],dt=d[nt],ht=z[nt]!==void 0?z[nt]:M[nt],Tt=Np(ht),St=nt===x?dt.isActive:null;St===!1&&(X=ot);let bt=ht===M[nt]&&ht!==z[nt]&&Tt;if(bt&&m&&u.manuallyAnimateOnMount&&(bt=!1),dt.protectedKeys={...Q},!dt.isActive&&St===null||!ht&&!dt.prevProp||lv(ht)||typeof ht=="boolean")continue;const Dt=QR(dt.prevProp,ht);let I=Dt||nt===x&&dt.isActive&&!bt&&Tt||ot>X&&Tt,wt=!1;const yt=Array.isArray(ht)?ht:[ht];let Qt=yt.reduce(v(nt),{});St===!1&&(Qt={});const{prevResolvedValues:Bt={}}=dt,Vt={...Bt,...Qt},Lt=F=>{I=!0,w.has(F)&&(wt=!0,w.delete(F)),dt.needsAnimating[F]=!0;const k=u.getValue(F);k&&(k.liveStyle=!1)};for(const F in Vt){const k=Qt[F],gt=Bt[F];if(Q.hasOwnProperty(F))continue;let Mt=!1;IS(k)&&IS(gt)?Mt=!yx(k,gt):Mt=k!==gt,Mt?k!=null?Lt(F):w.add(F):k!==void 0&&w.has(F)?Lt(F):dt.protectedKeys[F]=!0}dt.prevProp=ht,dt.prevResolvedValues=Qt,dt.isActive&&(Q={...Q,...Qt}),m&&u.blockInitialAnimation&&(I=!1);const Gt=bt&&Dt;I&&(!Gt||wt)&&O.push(...yt.map(F=>{const k={type:nt};if(typeof F=="string"&&m&&!Gt&&u.manuallyAnimateOnMount&&u.parent){const{parent:gt}=u,Mt=Kd(gt,F);if(gt.enteringChildren&&Mt){const{delayChildren:Y}=Mt.transition||{};k.delay=px(gt.enteringChildren,u,Y)}}return{animation:F,options:k}}))}if(w.size){const ot={};if(typeof z.initial!="boolean"){const nt=Kd(u,Array.isArray(z.initial)?z.initial[0]:z.initial);nt&&nt.transition&&(ot.transition=nt.transition)}w.forEach(nt=>{const dt=u.getBaseTarget(nt),ht=u.getValue(nt);ht&&(ht.liveStyle=!0),ot[nt]=dt??null}),O.push({animation:ot})}let lt=!!O.length;return m&&(z.initial===!1||z.initial===z.animate)&&!u.manuallyAnimateOnMount&&(lt=!1),m=!1,lt?r(O):Promise.resolve()}function A(x,z){if(d[x].isActive===z)return Promise.resolve();u.variantChildren?.forEach(O=>O.animationState?.setActive(x,z)),d[x].isActive=z;const M=b(x);for(const O in d)d[O].protectedKeys={};return M}return{animateChanges:b,setActive:A,setAnimateFunction:T,getState:()=>d,reset:()=>{d=vx()}}}function QR(u,r){return typeof r=="string"?r!==u:Array.isArray(r)?!yx(r,u):!1}function Xc(u=!1){return{isActive:u,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function vx(){return{animate:Xc(!0),whileInView:Xc(),whileHover:Xc(),whileTap:Xc(),whileDrag:Xc(),whileFocus:Xc(),exit:Xc()}}class er{constructor(r){this.isMounted=!1,this.node=r}update(){}}class ZR extends er{constructor(r){super(r),r.animationState||(r.animationState=XR(r))}updateAnimationControlsSubscription(){const{animate:r}=this.node.getProps();lv(r)&&(this.unmountControls=r.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:r}=this.node.getProps(),{animate:d}=this.node.prevProps||{};r!==d&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let kR=0;class JR extends er{constructor(){super(...arguments),this.id=kR++}update(){if(!this.node.presenceContext)return;const{isPresent:r,onExitComplete:d}=this.node.presenceContext,{isPresent:m}=this.node.prevPresenceContext||{};if(!this.node.animationState||r===m)return;const v=this.node.animationState.setActive("exit",!r);d&&!r&&v.then(()=>{d(this.id)})}mount(){const{register:r,onExitComplete:d}=this.node.presenceContext||{};d&&d(this.id),r&&(this.unmount=r(this.id))}unmount(){}}const KR={animation:{Feature:ZR},exit:{Feature:JR}};function Bp(u,r,d,m={passive:!0}){return u.addEventListener(r,d,m),()=>u.removeEventListener(r,d)}function Vp(u){return{point:{x:u.pageX,y:u.pageY}}}const $R=u=>r=>BS(r)&&u(r,Vp(r));function Hp(u,r,d,m){return Bp(u,r,$R(d),m)}const bx=1e-4,FR=1-bx,WR=1+bx,Sx=.01,IR=0-Sx,PR=0+Sx;function Za(u){return u.max-u.min}function tw(u,r,d){return Math.abs(u-r)<=d}function Tx(u,r,d,m=.5){u.origin=m,u.originPoint=mn(r.min,r.max,u.origin),u.scale=Za(d)/Za(r),u.translate=mn(d.min,d.max,u.origin)-u.originPoint,(u.scale>=FR&&u.scale<=WR||isNaN(u.scale))&&(u.scale=1),(u.translate>=IR&&u.translate<=PR||isNaN(u.translate))&&(u.translate=0)}function Lp(u,r,d,m){Tx(u.x,r.x,d.x,m?m.originX:void 0),Tx(u.y,r.y,d.y,m?m.originY:void 0)}function Ax(u,r,d){u.min=d.min+r.min,u.max=u.min+Za(r)}function ew(u,r,d){Ax(u.x,r.x,d.x),Ax(u.y,r.y,d.y)}function Ex(u,r,d){u.min=r.min-d.min,u.max=u.min+Za(r)}function qp(u,r,d){Ex(u.x,r.x,d.x),Ex(u.y,r.y,d.y)}function pi(u){return[u("x"),u("y")]}const xx=({current:u})=>u?u.ownerDocument.defaultView:null,Dx=(u,r)=>Math.abs(u-r);function nw(u,r){const d=Dx(u.x,r.x),m=Dx(u.y,r.y);return Math.sqrt(d**2+m**2)}class Cx{constructor(r,d,{transformPagePoint:m,contextWindow:v=window,dragSnapToOrigin:T=!1,distanceThreshold:b=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const w=aT(this.lastMoveEventInfo,this.history),Q=this.startEvent!==null,X=nw(w.offset,{x:0,y:0})>=this.distanceThreshold;if(!Q&&!X)return;const{point:lt}=w,{timestamp:ot}=ha;this.history.push({...lt,timestamp:ot});const{onStart:nt,onMove:dt}=this.handlers;Q||(nt&&nt(this.lastMoveEvent,w),this.startEvent=this.lastMoveEvent),dt&&dt(this.lastMoveEvent,w)},this.handlePointerMove=(w,Q)=>{this.lastMoveEvent=w,this.lastMoveEventInfo=nT(Q,this.transformPagePoint),sn.update(this.updatePoint,!0)},this.handlePointerUp=(w,Q)=>{this.end();const{onEnd:X,onSessionEnd:lt,resumeAnimation:ot}=this.handlers;if(this.dragSnapToOrigin&&ot&&ot(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const nt=aT(w.type==="pointercancel"?this.lastMoveEventInfo:nT(Q,this.transformPagePoint),this.history);this.startEvent&&X&&X(w,nt),lt&&lt(w,nt)},!BS(r))return;this.dragSnapToOrigin=T,this.handlers=d,this.transformPagePoint=m,this.distanceThreshold=b,this.contextWindow=v||window;const A=Vp(r),x=nT(A,this.transformPagePoint),{point:z}=x,{timestamp:M}=ha;this.history=[{...z,timestamp:M}];const{onSessionStart:O}=d;O&&O(r,aT(x,this.history)),this.removeListeners=Cp(Hp(this.contextWindow,"pointermove",this.handlePointerMove),Hp(this.contextWindow,"pointerup",this.handlePointerUp),Hp(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(r){this.handlers=r}end(){this.removeListeners&&this.removeListeners(),Is(this.updatePoint)}}function nT(u,r){return r?{point:r(u.point)}:u}function Mx(u,r){return{x:u.x-r.x,y:u.y-r.y}}function aT({point:u},r){return{point:u,delta:Mx(u,zx(r)),offset:Mx(u,aw(r)),velocity:lw(r,.1)}}function aw(u){return u[0]}function zx(u){return u[u.length-1]}function lw(u,r){if(u.length<2)return{x:0,y:0};let d=u.length-1,m=null;const v=zx(u);for(;d>=0&&(m=u[d],!(v.timestamp-m.timestamp>so(r)));)d--;if(!m)return{x:0,y:0};const T=mi(v.timestamp-m.timestamp);if(T===0)return{x:0,y:0};const b={x:(v.x-m.x)/T,y:(v.y-m.y)/T};return b.x===1/0&&(b.x=0),b.y===1/0&&(b.y=0),b}function iw(u,{min:r,max:d},m){return r!==void 0&&u<r?u=m?mn(r,u,m.min):Math.max(u,r):d!==void 0&&u>d&&(u=m?mn(d,u,m.max):Math.min(u,d)),u}function Ox(u,r,d){return{min:r!==void 0?u.min+r:void 0,max:d!==void 0?u.max+d-(u.max-u.min):void 0}}function ow(u,{top:r,left:d,bottom:m,right:v}){return{x:Ox(u.x,d,v),y:Ox(u.y,r,m)}}function Rx(u,r){let d=r.min-u.min,m=r.max-u.max;return r.max-r.min<u.max-u.min&&([d,m]=[m,d]),{min:d,max:m}}function uw(u,r){return{x:Rx(u.x,r.x),y:Rx(u.y,r.y)}}function sw(u,r){let d=.5;const m=Za(u),v=Za(r);return v>m?d=Mp(r.min,r.max-m,u.min):m>v&&(d=Mp(u.min,u.max-v,r.min)),Nu(0,1,d)}function rw(u,r){const d={};return r.min!==void 0&&(d.min=r.min-u.min),r.max!==void 0&&(d.max=r.max-u.min),d}const lT=.35;function cw(u=lT){return u===!1?u=0:u===!0&&(u=lT),{x:wx(u,"left","right"),y:wx(u,"top","bottom")}}function wx(u,r,d){return{min:Ux(u,r),max:Ux(u,d)}}function Ux(u,r){return typeof u=="number"?u:u[r]||0}const fw=new WeakMap;class dw{constructor(r){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Mn(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=r}start(r,{snapToCursor:d=!1,distanceThreshold:m}={}){const{presenceContext:v}=this.visualElement;if(v&&v.isPresent===!1)return;const T=O=>{const{dragSnapToOrigin:w}=this.getProps();w?this.pauseAnimation():this.stopAnimation(),d&&this.snapToCursor(Vp(O).point)},b=(O,w)=>{const{drag:Q,dragPropagation:X,onDragStart:lt}=this.getProps();if(Q&&!X&&(this.openDragLock&&this.openDragLock(),this.openDragLock=vO(Q),!this.openDragLock))return;this.latestPointerEvent=O,this.latestPanInfo=w,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),pi(nt=>{let dt=this.getAxisMotionValue(nt).get()||0;if(Go.test(dt)){const{projection:ht}=this.visualElement;if(ht&&ht.layout){const Tt=ht.layout.layoutBox[nt];Tt&&(dt=Za(Tt)*(parseFloat(dt)/100))}}this.originPoint[nt]=dt}),lt&&sn.postRender(()=>lt(O,w)),PS(this.visualElement,"transform");const{animationState:ot}=this.visualElement;ot&&ot.setActive("whileDrag",!0)},A=(O,w)=>{this.latestPointerEvent=O,this.latestPanInfo=w;const{dragPropagation:Q,dragDirectionLock:X,onDirectionLock:lt,onDrag:ot}=this.getProps();if(!Q&&!this.openDragLock)return;const{offset:nt}=w;if(X&&this.currentDirection===null){this.currentDirection=hw(nt),this.currentDirection!==null&&lt&&lt(this.currentDirection);return}this.updateAxis("x",w.point,nt),this.updateAxis("y",w.point,nt),this.visualElement.render(),ot&&ot(O,w)},x=(O,w)=>{this.latestPointerEvent=O,this.latestPanInfo=w,this.stop(O,w),this.latestPointerEvent=null,this.latestPanInfo=null},z=()=>pi(O=>this.getAnimationState(O)==="paused"&&this.getAxisMotionValue(O).animation?.play()),{dragSnapToOrigin:M}=this.getProps();this.panSession=new Cx(r,{onSessionStart:T,onStart:b,onMove:A,onSessionEnd:x,resumeAnimation:z},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:M,distanceThreshold:m,contextWindow:xx(this.visualElement)})}stop(r,d){const m=r||this.latestPointerEvent,v=d||this.latestPanInfo,T=this.isDragging;if(this.cancel(),!T||!v||!m)return;const{velocity:b}=v;this.startAnimation(b);const{onDragEnd:A}=this.getProps();A&&sn.postRender(()=>A(m,v))}cancel(){this.isDragging=!1;const{projection:r,animationState:d}=this.visualElement;r&&(r.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:m}=this.getProps();!m&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),d&&d.setActive("whileDrag",!1)}updateAxis(r,d,m){const{drag:v}=this.getProps();if(!m||!sv(r,v,this.currentDirection))return;const T=this.getAxisMotionValue(r);let b=this.originPoint[r]+m[r];this.constraints&&this.constraints[r]&&(b=iw(b,this.constraints[r],this.elastic[r])),T.set(b)}resolveConstraints(){const{dragConstraints:r,dragElastic:d}=this.getProps(),m=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,v=this.constraints;r&&Qd(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&m?this.constraints=ow(m.layoutBox,r):this.constraints=!1,this.elastic=cw(d),v!==this.constraints&&m&&this.constraints&&!this.hasMutatedConstraints&&pi(T=>{this.constraints!==!1&&this.getAxisMotionValue(T)&&(this.constraints[T]=rw(m.layoutBox[T],this.constraints[T]))})}resolveRefConstraints(){const{dragConstraints:r,onMeasureDragConstraints:d}=this.getProps();if(!r||!Qd(r))return!1;const m=r.current;ju(m!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:v}=this.visualElement;if(!v||!v.layout)return!1;const T=mR(m,v.root,this.visualElement.getTransformPagePoint());let b=uw(v.layout.layoutBox,T);if(d){const A=d(fR(b));this.hasMutatedConstraints=!!A,A&&(b=WE(A))}return b}startAnimation(r){const{drag:d,dragMomentum:m,dragElastic:v,dragTransition:T,dragSnapToOrigin:b,onDragTransitionEnd:A}=this.getProps(),x=this.constraints||{},z=pi(M=>{if(!sv(M,d,this.currentDirection))return;let O=x&&x[M]||{};b&&(O={min:0,max:0});const w=v?200:1e6,Q=v?40:1e7,X={type:"inertia",velocity:m?r[M]:0,bounceStiffness:w,bounceDamping:Q,timeConstant:750,restDelta:1,restSpeed:10,...T,...O};return this.startAxisValueAnimation(M,X)});return Promise.all(z).then(A)}startAxisValueAnimation(r,d){const m=this.getAxisMotionValue(r);return PS(this.visualElement,r),m.start(tT(r,m,0,d,this.visualElement,!1))}stopAnimation(){pi(r=>this.getAxisMotionValue(r).stop())}pauseAnimation(){pi(r=>this.getAxisMotionValue(r).animation?.pause())}getAnimationState(r){return this.getAxisMotionValue(r).animation?.state}getAxisMotionValue(r){const d=`_drag${r.toUpperCase()}`,m=this.visualElement.getProps(),v=m[d];return v||this.visualElement.getValue(r,(m.initial?m.initial[r]:void 0)||0)}snapToCursor(r){pi(d=>{const{drag:m}=this.getProps();if(!sv(d,m,this.currentDirection))return;const{projection:v}=this.visualElement,T=this.getAxisMotionValue(d);if(v&&v.layout){const{min:b,max:A}=v.layout.layoutBox[d];T.set(r[d]-mn(b,A,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:r,dragConstraints:d}=this.getProps(),{projection:m}=this.visualElement;if(!Qd(d)||!m||!this.constraints)return;this.stopAnimation();const v={x:0,y:0};pi(b=>{const A=this.getAxisMotionValue(b);if(A&&this.constraints!==!1){const x=A.get();v[b]=sw({min:x,max:x},this.constraints[b])}});const{transformTemplate:T}=this.visualElement.getProps();this.visualElement.current.style.transform=T?T({},""):"none",m.root&&m.root.updateScroll(),m.updateLayout(),this.resolveConstraints(),pi(b=>{if(!sv(b,r,null))return;const A=this.getAxisMotionValue(b),{min:x,max:z}=this.constraints[b];A.set(mn(x,z,v[b]))})}addListeners(){if(!this.visualElement.current)return;fw.set(this.visualElement,this);const r=this.visualElement.current,d=Hp(r,"pointerdown",x=>{const{drag:z,dragListener:M=!0}=this.getProps();z&&M&&this.start(x)}),m=()=>{const{dragConstraints:x}=this.getProps();Qd(x)&&x.current&&(this.constraints=this.resolveRefConstraints())},{projection:v}=this.visualElement,T=v.addEventListener("measure",m);v&&!v.layout&&(v.root&&v.root.updateScroll(),v.updateLayout()),sn.read(m);const b=Bp(window,"resize",()=>this.scalePositionWithinConstraints()),A=v.addEventListener("didUpdate",(({delta:x,hasLayoutChanged:z})=>{this.isDragging&&z&&(pi(M=>{const O=this.getAxisMotionValue(M);O&&(this.originPoint[M]+=x[M].translate,O.set(O.get()+x[M].translate))}),this.visualElement.render())}));return()=>{b(),d(),T(),A&&A()}}getProps(){const r=this.visualElement.getProps(),{drag:d=!1,dragDirectionLock:m=!1,dragPropagation:v=!1,dragConstraints:T=!1,dragElastic:b=lT,dragMomentum:A=!0}=r;return{...r,drag:d,dragDirectionLock:m,dragPropagation:v,dragConstraints:T,dragElastic:b,dragMomentum:A}}}function sv(u,r,d){return(r===!0||r===u)&&(d===null||d===u)}function hw(u,r=10){let d=null;return Math.abs(u.y)>r?d="y":Math.abs(u.x)>r&&(d="x"),d}class mw extends er{constructor(r){super(r),this.removeGroupControls=hi,this.removeListeners=hi,this.controls=new dw(r)}mount(){const{dragControls:r}=this.node.getProps();r&&(this.removeGroupControls=r.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||hi}unmount(){this.removeGroupControls(),this.removeListeners()}}const _x=u=>(r,d)=>{u&&sn.postRender(()=>u(r,d))};class pw extends er{constructor(){super(...arguments),this.removePointerDownListener=hi}onPointerDown(r){this.session=new Cx(r,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:xx(this.node)})}createPanHandlers(){const{onPanSessionStart:r,onPanStart:d,onPan:m,onPanEnd:v}=this.node.getProps();return{onSessionStart:_x(r),onStart:_x(d),onMove:m,onEnd:(T,b)=>{delete this.session,v&&sn.postRender(()=>v(T,b))}}}mount(){this.removePointerDownListener=Hp(this.node.current,"pointerdown",r=>this.onPointerDown(r))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const rv={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Nx(u,r){return r.max===r.min?0:u/(r.max-r.min)*100}const Yp={correct:(u,r)=>{if(!r.target)return u;if(typeof u=="string")if(Jt.test(u))u=parseFloat(u);else return u;const d=Nx(u,r.target.x),m=Nx(u,r.target.y);return`${d}% ${m}%`}},yw={correct:(u,{treeScale:r,projectionDelta:d})=>{const m=u,v=tr.parse(u);if(v.length>5)return m;const T=tr.createTransformer(u),b=typeof v[0]!="number"?1:0,A=d.x.scale*r.x,x=d.y.scale*r.y;v[0+b]/=A,v[1+b]/=x;const z=mn(A,x,.5);return typeof v[2+b]=="number"&&(v[2+b]/=z),typeof v[3+b]=="number"&&(v[3+b]/=z),T(v)}};let iT=!1;class gw extends ut.Component{componentDidMount(){const{visualElement:r,layoutGroup:d,switchLayoutGroup:m,layoutId:v}=this.props,{projection:T}=r;qO(vw),T&&(d.group&&d.group.add(T),m&&m.register&&v&&m.register(T),iT&&T.root.didUpdate(),T.addEventListener("animationComplete",()=>{this.safeToRemove()}),T.setOptions({...T.options,onExitComplete:()=>this.safeToRemove()})),rv.hasEverUpdated=!0}getSnapshotBeforeUpdate(r){const{layoutDependency:d,visualElement:m,drag:v,isPresent:T}=this.props,{projection:b}=m;return b&&(b.isPresent=T,iT=!0,v||r.layoutDependency!==d||d===void 0||r.isPresent!==T?b.willUpdate():this.safeToRemove(),r.isPresent!==T&&(T?b.promote():b.relegate()||sn.postRender(()=>{const A=b.getStack();(!A||!A.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:r}=this.props.visualElement;r&&(r.root.didUpdate(),jS.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:r,layoutGroup:d,switchLayoutGroup:m}=this.props,{projection:v}=r;iT=!0,v&&(v.scheduleCheckAfterUnmount(),d&&d.group&&d.group.remove(v),m&&m.deregister&&m.deregister(v))}safeToRemove(){const{safeToRemove:r}=this.props;r&&r()}render(){return null}}function jx(u){const[r,d]=_E(),m=ut.useContext(K1);return $.jsx(gw,{...u,layoutGroup:m,switchLayoutGroup:ut.useContext($E),isPresent:r,safeToRemove:d})}const vw={borderRadius:{...Yp,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Yp,borderTopRightRadius:Yp,borderBottomLeftRadius:Yp,borderBottomRightRadius:Yp,boxShadow:yw};function bw(u,r,d){const m=Ua(u)?u:Gd(u);return m.start(tT("",m,r,d)),m.animation}const Sw=(u,r)=>u.depth-r.depth;class Tw{constructor(){this.children=[],this.isDirty=!1}add(r){W1(this.children,r),this.isDirty=!0}remove(r){I1(this.children,r),this.isDirty=!0}forEach(r){this.isDirty&&this.children.sort(Sw),this.isDirty=!1,this.children.forEach(r)}}function Aw(u,r){const d=gl.now(),m=({timestamp:v})=>{const T=v-d;T>=r&&(Is(m),u(T-r))};return sn.setup(m,!0),()=>Is(m)}const Bx=["TopLeft","TopRight","BottomLeft","BottomRight"],Ew=Bx.length,Vx=u=>typeof u=="string"?parseFloat(u):u,Hx=u=>typeof u=="number"||Jt.test(u);function xw(u,r,d,m,v,T){v?(u.opacity=mn(0,d.opacity??1,Dw(m)),u.opacityExit=mn(r.opacity??1,0,Cw(m))):T&&(u.opacity=mn(r.opacity??1,d.opacity??1,m));for(let b=0;b<Ew;b++){const A=`border${Bx[b]}Radius`;let x=Lx(r,A),z=Lx(d,A);if(x===void 0&&z===void 0)continue;x||(x=0),z||(z=0),x===0||z===0||Hx(x)===Hx(z)?(u[A]=Math.max(mn(Vx(x),Vx(z),m),0),(Go.test(z)||Go.test(x))&&(u[A]+="%")):u[A]=z}(r.rotate||d.rotate)&&(u.rotate=mn(r.rotate||0,d.rotate||0,m))}function Lx(u,r){return u[r]!==void 0?u[r]:u.borderRadius}const Dw=qx(0,.5,UA),Cw=qx(.5,.95,hi);function qx(u,r,d){return m=>m<u?0:m>r?1:d(Mp(u,r,m))}function Yx(u,r){u.min=r.min,u.max=r.max}function yi(u,r){Yx(u.x,r.x),Yx(u.y,r.y)}function Gx(u,r){u.translate=r.translate,u.scale=r.scale,u.originPoint=r.originPoint,u.origin=r.origin}function Xx(u,r,d,m,v){return u-=r,u=uv(u,1/d,m),v!==void 0&&(u=uv(u,1/v,m)),u}function Mw(u,r=0,d=1,m=.5,v,T=u,b=u){if(Go.test(r)&&(r=parseFloat(r),r=mn(b.min,b.max,r/100)-b.min),typeof r!="number")return;let A=mn(T.min,T.max,m);u===T&&(A-=r),u.min=Xx(u.min,r,d,A,v),u.max=Xx(u.max,r,d,A,v)}function Qx(u,r,[d,m,v],T,b){Mw(u,r[d],r[m],r[v],r.scale,T,b)}const zw=["x","scaleX","originX"],Ow=["y","scaleY","originY"];function Zx(u,r,d,m){Qx(u.x,r,zw,d?d.x:void 0,m?m.x:void 0),Qx(u.y,r,Ow,d?d.y:void 0,m?m.y:void 0)}function kx(u){return u.translate===0&&u.scale===1}function Jx(u){return kx(u.x)&&kx(u.y)}function Kx(u,r){return u.min===r.min&&u.max===r.max}function Rw(u,r){return Kx(u.x,r.x)&&Kx(u.y,r.y)}function $x(u,r){return Math.round(u.min)===Math.round(r.min)&&Math.round(u.max)===Math.round(r.max)}function Fx(u,r){return $x(u.x,r.x)&&$x(u.y,r.y)}function Wx(u){return Za(u.x)/Za(u.y)}function Ix(u,r){return u.translate===r.translate&&u.scale===r.scale&&u.originPoint===r.originPoint}class ww{constructor(){this.members=[]}add(r){W1(this.members,r),r.scheduleRender()}remove(r){if(I1(this.members,r),r===this.prevLead&&(this.prevLead=void 0),r===this.lead){const d=this.members[this.members.length-1];d&&this.promote(d)}}relegate(r){const d=this.members.findIndex(v=>r===v);if(d===0)return!1;let m;for(let v=d;v>=0;v--){const T=this.members[v];if(T.isPresent!==!1){m=T;break}}return m?(this.promote(m),!0):!1}promote(r,d){const m=this.lead;if(r!==m&&(this.prevLead=m,this.lead=r,r.show(),m)){m.instance&&m.scheduleRender(),r.scheduleRender(),r.resumeFrom=m,d&&(r.resumeFrom.preserveOpacity=!0),m.snapshot&&(r.snapshot=m.snapshot,r.snapshot.latestValues=m.animationValues||m.latestValues),r.root&&r.root.isUpdating&&(r.isLayoutDirty=!0);const{crossfade:v}=r.options;v===!1&&m.hide()}}exitAnimationComplete(){this.members.forEach(r=>{const{options:d,resumingFrom:m}=r;d.onExitComplete&&d.onExitComplete(),m&&m.options.onExitComplete&&m.options.onExitComplete()})}scheduleRender(){this.members.forEach(r=>{r.instance&&r.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Uw(u,r,d){let m="";const v=u.x.translate/r.x,T=u.y.translate/r.y,b=d?.z||0;if((v||T||b)&&(m=`translate3d(${v}px, ${T}px, ${b}px) `),(r.x!==1||r.y!==1)&&(m+=`scale(${1/r.x}, ${1/r.y}) `),d){const{transformPerspective:z,rotate:M,rotateX:O,rotateY:w,skewX:Q,skewY:X}=d;z&&(m=`perspective(${z}px) ${m}`),M&&(m+=`rotate(${M}deg) `),O&&(m+=`rotateX(${O}deg) `),w&&(m+=`rotateY(${w}deg) `),Q&&(m+=`skewX(${Q}deg) `),X&&(m+=`skewY(${X}deg) `)}const A=u.x.scale*r.x,x=u.y.scale*r.y;return(A!==1||x!==1)&&(m+=`scale(${A}, ${x})`),m||"none"}const oT=["","X","Y","Z"],_w=1e3;let Nw=0;function uT(u,r,d,m){const{latestValues:v}=r;v[u]&&(d[u]=v[u],r.setStaticValue(u,0),m&&(m[u]=0))}function Px(u){if(u.hasCheckedOptimisedAppear=!0,u.root===u)return;const{visualElement:r}=u.options;if(!r)return;const d=hx(r);if(window.MotionHasOptimisedAnimation(d,"transform")){const{layout:v,layoutId:T}=u.options;window.MotionCancelOptimisedAnimation(d,"transform",sn,!(v||T))}const{parent:m}=u;m&&!m.hasCheckedOptimisedAppear&&Px(m)}function tD({attachResizeListener:u,defaultParent:r,measureScroll:d,checkIsScrollRoot:m,resetTransform:v}){return class{constructor(b={},A=r?.()){this.id=Nw++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(Vw),this.nodes.forEach(Yw),this.nodes.forEach(Gw),this.nodes.forEach(Hw)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=b,this.root=A?A.root||A:this,this.path=A?[...A.path,A]:[],this.parent=A,this.depth=A?A.depth+1:0;for(let x=0;x<this.path.length;x++)this.path[x].shouldResetTransform=!0;this.root===this&&(this.nodes=new Tw)}addEventListener(b,A){return this.eventHandlers.has(b)||this.eventHandlers.set(b,new eS),this.eventHandlers.get(b).add(A)}notifyListeners(b,...A){const x=this.eventHandlers.get(b);x&&x.notify(...A)}hasListeners(b){return this.eventHandlers.has(b)}mount(b){if(this.instance)return;this.isSVG=wE(b)&&!xO(b),this.instance=b;const{layoutId:A,layout:x,visualElement:z}=this.options;if(z&&!z.current&&z.mount(b),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(x||A)&&(this.isLayoutDirty=!0),u){let M,O=0;const w=()=>this.root.updateBlockedByResize=!1;sn.read(()=>{O=window.innerWidth}),u(b,()=>{const Q=window.innerWidth;Q!==O&&(O=Q,this.root.updateBlockedByResize=!0,M&&M(),M=Aw(w,250),rv.hasAnimatedSinceResize&&(rv.hasAnimatedSinceResize=!1,this.nodes.forEach(aD)))})}A&&this.root.registerSharedNode(A,this),this.options.animate!==!1&&z&&(A||x)&&this.addEventListener("didUpdate",({delta:M,hasLayoutChanged:O,hasRelativeLayoutChanged:w,layout:Q})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const X=this.options.transition||z.getDefaultTransition()||Jw,{onLayoutAnimationStart:lt,onLayoutAnimationComplete:ot}=z.getProps(),nt=!this.targetLayout||!Fx(this.targetLayout,Q),dt=!O&&w;if(this.options.layoutRoot||this.resumeFrom||dt||O&&(nt||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const ht={...US(X,"layout"),onPlay:lt,onComplete:ot};(z.shouldReduceMotion||this.options.layoutRoot)&&(ht.delay=0,ht.type=!1),this.startAnimation(ht),this.setAnimationOrigin(M,dt)}else O||aD(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=Q})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const b=this.getStack();b&&b.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Is(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Xw),this.animationId++)}getTransformTemplate(){const{visualElement:b}=this.options;return b&&b.getProps().transformTemplate}willUpdate(b=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Px(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let M=0;M<this.path.length;M++){const O=this.path[M];O.shouldResetTransform=!0,O.updateScroll("snapshot"),O.options.layoutRoot&&O.willUpdate(!1)}const{layoutId:A,layout:x}=this.options;if(A===void 0&&!x)return;const z=this.getTransformTemplate();this.prevTransformTemplateValue=z?z(this.latestValues,""):void 0,this.updateSnapshot(),b&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(eD);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(nD);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(qw),this.nodes.forEach(jw),this.nodes.forEach(Bw)):this.nodes.forEach(nD),this.clearAllSnapshots();const A=gl.now();ha.delta=Nu(0,1e3/60,A-ha.timestamp),ha.timestamp=A,ha.isProcessing=!0,iS.update.process(ha),iS.preRender.process(ha),iS.render.process(ha),ha.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,jS.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Lw),this.sharedNodes.forEach(Qw)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,sn.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){sn.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Za(this.snapshot.measuredBox.x)&&!Za(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let x=0;x<this.path.length;x++)this.path[x].updateScroll();const b=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Mn(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:A}=this.options;A&&A.notify("LayoutMeasure",this.layout.layoutBox,b?b.layoutBox:void 0)}updateScroll(b="measure"){let A=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===b&&(A=!1),A&&this.instance){const x=m(this.instance);this.scroll={animationId:this.root.animationId,phase:b,isRoot:x,offset:d(this.instance),wasRoot:this.scroll?this.scroll.isRoot:x}}}resetTransform(){if(!v)return;const b=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,A=this.projectionDelta&&!Jx(this.projectionDelta),x=this.getTransformTemplate(),z=x?x(this.latestValues,""):void 0,M=z!==this.prevTransformTemplateValue;b&&this.instance&&(A||Gc(this.latestValues)||M)&&(v(this.instance,z),this.shouldResetTransform=!1,this.scheduleRender())}measure(b=!0){const A=this.measurePageBox();let x=this.removeElementScroll(A);return b&&(x=this.removeTransform(x)),Kw(x),{animationId:this.root.animationId,measuredBox:A,layoutBox:x,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:b}=this.options;if(!b)return Mn();const A=b.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some($w))){const{scroll:z}=this.root;z&&(Zd(A.x,z.offset.x),Zd(A.y,z.offset.y))}return A}removeElementScroll(b){const A=Mn();if(yi(A,b),this.scroll?.wasRoot)return A;for(let x=0;x<this.path.length;x++){const z=this.path[x],{scroll:M,options:O}=z;z!==this.root&&M&&O.layoutScroll&&(M.wasRoot&&yi(A,b),Zd(A.x,M.offset.x),Zd(A.y,M.offset.y))}return A}applyTransform(b,A=!1){const x=Mn();yi(x,b);for(let z=0;z<this.path.length;z++){const M=this.path[z];!A&&M.options.layoutScroll&&M.scroll&&M!==M.root&&kd(x,{x:-M.scroll.offset.x,y:-M.scroll.offset.y}),Gc(M.latestValues)&&kd(x,M.latestValues)}return Gc(this.latestValues)&&kd(x,this.latestValues),x}removeTransform(b){const A=Mn();yi(A,b);for(let x=0;x<this.path.length;x++){const z=this.path[x];if(!z.instance||!Gc(z.latestValues))continue;$S(z.latestValues)&&z.updateSnapshot();const M=Mn(),O=z.measurePageBox();yi(M,O),Zx(A,z.latestValues,z.snapshot?z.snapshot.layoutBox:void 0,M)}return Gc(this.latestValues)&&Zx(A,this.latestValues),A}setTargetDelta(b){this.targetDelta=b,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(b){this.options={...this.options,...b,crossfade:b.crossfade!==void 0?b.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==ha.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(b=!1){const A=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=A.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=A.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=A.isSharedProjectionDirty);const x=!!this.resumingFrom||this!==A;if(!(b||x&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:M,layoutId:O}=this.options;if(!(!this.layout||!(M||O))){if(this.resolvedRelativeTargetAt=ha.timestamp,!this.targetDelta&&!this.relativeTarget){const w=this.getClosestProjectingParent();w&&w.layout&&this.animationProgress!==1?(this.relativeParent=w,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Mn(),this.relativeTargetOrigin=Mn(),qp(this.relativeTargetOrigin,this.layout.layoutBox,w.layout.layoutBox),yi(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Mn(),this.targetWithTransforms=Mn()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),ew(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):yi(this.target,this.layout.layoutBox),ex(this.target,this.targetDelta)):yi(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const w=this.getClosestProjectingParent();w&&!!w.resumingFrom==!!this.resumingFrom&&!w.options.layoutScroll&&w.target&&this.animationProgress!==1?(this.relativeParent=w,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Mn(),this.relativeTargetOrigin=Mn(),qp(this.relativeTargetOrigin,this.target,w.target),yi(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||$S(this.parent.latestValues)||IE(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const b=this.getLead(),A=!!this.resumingFrom||this!==b;let x=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(x=!1),A&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(x=!1),this.resolvedRelativeTargetAt===ha.timestamp&&(x=!1),x)return;const{layout:z,layoutId:M}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(z||M))return;yi(this.layoutCorrected,this.layout.layoutBox);const O=this.treeScale.x,w=this.treeScale.y;hR(this.layoutCorrected,this.treeScale,this.path,A),b.layout&&!b.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(b.target=b.layout.layoutBox,b.targetWithTransforms=Mn());const{target:Q}=b;if(!Q){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Gx(this.prevProjectionDelta.x,this.projectionDelta.x),Gx(this.prevProjectionDelta.y,this.projectionDelta.y)),Lp(this.projectionDelta,this.layoutCorrected,Q,this.latestValues),(this.treeScale.x!==O||this.treeScale.y!==w||!Ix(this.projectionDelta.x,this.prevProjectionDelta.x)||!Ix(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",Q))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(b=!0){if(this.options.visualElement?.scheduleRender(),b){const A=this.getStack();A&&A.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Jd(),this.projectionDelta=Jd(),this.projectionDeltaWithTransform=Jd()}setAnimationOrigin(b,A=!1){const x=this.snapshot,z=x?x.latestValues:{},M={...this.latestValues},O=Jd();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!A;const w=Mn(),Q=x?x.source:void 0,X=this.layout?this.layout.source:void 0,lt=Q!==X,ot=this.getStack(),nt=!ot||ot.members.length<=1,dt=!!(lt&&!nt&&this.options.crossfade===!0&&!this.path.some(kw));this.animationProgress=0;let ht;this.mixTargetDelta=Tt=>{const St=Tt/1e3;lD(O.x,b.x,St),lD(O.y,b.y,St),this.setTargetDelta(O),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(qp(w,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Zw(this.relativeTarget,this.relativeTargetOrigin,w,St),ht&&Rw(this.relativeTarget,ht)&&(this.isProjectionDirty=!1),ht||(ht=Mn()),yi(ht,this.relativeTarget)),lt&&(this.animationValues=M,xw(M,z,this.latestValues,St,dt,nt)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=St},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(b){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Is(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=sn.update(()=>{rv.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Gd(0)),this.currentAnimation=bw(this.motionValue,[0,1e3],{...b,velocity:0,isSync:!0,onUpdate:A=>{this.mixTargetDelta(A),b.onUpdate&&b.onUpdate(A)},onStop:()=>{},onComplete:()=>{b.onComplete&&b.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const b=this.getStack();b&&b.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(_w),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const b=this.getLead();let{targetWithTransforms:A,target:x,layout:z,latestValues:M}=b;if(!(!A||!x||!z)){if(this!==b&&this.layout&&z&&rD(this.options.animationType,this.layout.layoutBox,z.layoutBox)){x=this.target||Mn();const O=Za(this.layout.layoutBox.x);x.x.min=b.target.x.min,x.x.max=x.x.min+O;const w=Za(this.layout.layoutBox.y);x.y.min=b.target.y.min,x.y.max=x.y.min+w}yi(A,x),kd(A,M),Lp(this.projectionDeltaWithTransform,this.layoutCorrected,A,M)}}registerSharedNode(b,A){this.sharedNodes.has(b)||this.sharedNodes.set(b,new ww),this.sharedNodes.get(b).add(A);const z=A.options.initialPromotionConfig;A.promote({transition:z?z.transition:void 0,preserveFollowOpacity:z&&z.shouldPreserveFollowOpacity?z.shouldPreserveFollowOpacity(A):void 0})}isLead(){const b=this.getStack();return b?b.lead===this:!0}getLead(){const{layoutId:b}=this.options;return b?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:b}=this.options;return b?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:b}=this.options;if(b)return this.root.sharedNodes.get(b)}promote({needsReset:b,transition:A,preserveFollowOpacity:x}={}){const z=this.getStack();z&&z.promote(this,x),b&&(this.projectionDelta=void 0,this.needsReset=!0),A&&this.setOptions({transition:A})}relegate(){const b=this.getStack();return b?b.relegate(this):!1}resetSkewAndRotation(){const{visualElement:b}=this.options;if(!b)return;let A=!1;const{latestValues:x}=b;if((x.z||x.rotate||x.rotateX||x.rotateY||x.rotateZ||x.skewX||x.skewY)&&(A=!0),!A)return;const z={};x.z&&uT("z",b,z,this.animationValues);for(let M=0;M<oT.length;M++)uT(`rotate${oT[M]}`,b,z,this.animationValues),uT(`skew${oT[M]}`,b,z,this.animationValues);b.render();for(const M in z)b.setStaticValue(M,z[M]),this.animationValues&&(this.animationValues[M]=z[M]);b.scheduleRender()}applyProjectionStyles(b,A){if(!this.instance||this.isSVG)return;if(!this.isVisible){b.visibility="hidden";return}const x=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,b.visibility="",b.opacity="",b.pointerEvents=ov(A?.pointerEvents)||"",b.transform=x?x(this.latestValues,""):"none";return}const z=this.getLead();if(!this.projectionDelta||!this.layout||!z.target){this.options.layoutId&&(b.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,b.pointerEvents=ov(A?.pointerEvents)||""),this.hasProjected&&!Gc(this.latestValues)&&(b.transform=x?x({},""):"none",this.hasProjected=!1);return}b.visibility="";const M=z.animationValues||z.latestValues;this.applyTransformsToTarget();let O=Uw(this.projectionDeltaWithTransform,this.treeScale,M);x&&(O=x(M,O)),b.transform=O;const{x:w,y:Q}=this.projectionDelta;b.transformOrigin=`${w.origin*100}% ${Q.origin*100}% 0`,z.animationValues?b.opacity=z===this?M.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:M.opacityExit:b.opacity=z===this?M.opacity!==void 0?M.opacity:"":M.opacityExit!==void 0?M.opacityExit:0;for(const X in jp){if(M[X]===void 0)continue;const{correct:lt,applyTo:ot,isCSSVariable:nt}=jp[X],dt=O==="none"?M[X]:lt(M[X],z);if(ot){const ht=ot.length;for(let Tt=0;Tt<ht;Tt++)b[ot[Tt]]=dt}else nt?this.options.visualElement.renderState.vars[X]=dt:b[X]=dt}this.options.layoutId&&(b.pointerEvents=z===this?ov(A?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(b=>b.currentAnimation?.stop()),this.root.nodes.forEach(eD),this.root.sharedNodes.clear()}}}function jw(u){u.updateLayout()}function Bw(u){const r=u.resumeFrom?.snapshot||u.snapshot;if(u.isLead()&&u.layout&&r&&u.hasListeners("didUpdate")){const{layoutBox:d,measuredBox:m}=u.layout,{animationType:v}=u.options,T=r.source!==u.layout.source;v==="size"?pi(M=>{const O=T?r.measuredBox[M]:r.layoutBox[M],w=Za(O);O.min=d[M].min,O.max=O.min+w}):rD(v,r.layoutBox,d)&&pi(M=>{const O=T?r.measuredBox[M]:r.layoutBox[M],w=Za(d[M]);O.max=O.min+w,u.relativeTarget&&!u.currentAnimation&&(u.isProjectionDirty=!0,u.relativeTarget[M].max=u.relativeTarget[M].min+w)});const b=Jd();Lp(b,d,r.layoutBox);const A=Jd();T?Lp(A,u.applyTransform(m,!0),r.measuredBox):Lp(A,d,r.layoutBox);const x=!Jx(b);let z=!1;if(!u.resumeFrom){const M=u.getClosestProjectingParent();if(M&&!M.resumeFrom){const{snapshot:O,layout:w}=M;if(O&&w){const Q=Mn();qp(Q,r.layoutBox,O.layoutBox);const X=Mn();qp(X,d,w.layoutBox),Fx(Q,X)||(z=!0),M.options.layoutRoot&&(u.relativeTarget=X,u.relativeTargetOrigin=Q,u.relativeParent=M)}}}u.notifyListeners("didUpdate",{layout:d,snapshot:r,delta:A,layoutDelta:b,hasLayoutChanged:x,hasRelativeLayoutChanged:z})}else if(u.isLead()){const{onExitComplete:d}=u.options;d&&d()}u.options.transition=void 0}function Vw(u){u.parent&&(u.isProjecting()||(u.isProjectionDirty=u.parent.isProjectionDirty),u.isSharedProjectionDirty||(u.isSharedProjectionDirty=!!(u.isProjectionDirty||u.parent.isProjectionDirty||u.parent.isSharedProjectionDirty)),u.isTransformDirty||(u.isTransformDirty=u.parent.isTransformDirty))}function Hw(u){u.isProjectionDirty=u.isSharedProjectionDirty=u.isTransformDirty=!1}function Lw(u){u.clearSnapshot()}function eD(u){u.clearMeasurements()}function nD(u){u.isLayoutDirty=!1}function qw(u){const{visualElement:r}=u.options;r&&r.getProps().onBeforeLayoutMeasure&&r.notify("BeforeLayoutMeasure"),u.resetTransform()}function aD(u){u.finishAnimation(),u.targetDelta=u.relativeTarget=u.target=void 0,u.isProjectionDirty=!0}function Yw(u){u.resolveTargetDelta()}function Gw(u){u.calcProjection()}function Xw(u){u.resetSkewAndRotation()}function Qw(u){u.removeLeadSnapshot()}function lD(u,r,d){u.translate=mn(r.translate,0,d),u.scale=mn(r.scale,1,d),u.origin=r.origin,u.originPoint=r.originPoint}function iD(u,r,d,m){u.min=mn(r.min,d.min,m),u.max=mn(r.max,d.max,m)}function Zw(u,r,d,m){iD(u.x,r.x,d.x,m),iD(u.y,r.y,d.y,m)}function kw(u){return u.animationValues&&u.animationValues.opacityExit!==void 0}const Jw={duration:.45,ease:[.4,0,.1,1]},oD=u=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(u),uD=oD("applewebkit/")&&!oD("chrome/")?Math.round:hi;function sD(u){u.min=uD(u.min),u.max=uD(u.max)}function Kw(u){sD(u.x),sD(u.y)}function rD(u,r,d){return u==="position"||u==="preserve-aspect"&&!tw(Wx(r),Wx(d),.2)}function $w(u){return u!==u.root&&u.scroll?.wasRoot}const Fw=tD({attachResizeListener:(u,r)=>Bp(u,"resize",r),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),sT={current:void 0},cD=tD({measureScroll:u=>({x:u.scrollLeft,y:u.scrollTop}),defaultParent:()=>{if(!sT.current){const u=new Fw({});u.mount(window),u.setOptions({layoutScroll:!0}),sT.current=u}return sT.current},resetTransform:(u,r)=>{u.style.transform=r!==void 0?r:"none"},checkIsScrollRoot:u=>window.getComputedStyle(u).position==="fixed"}),Ww={pan:{Feature:pw},drag:{Feature:mw,ProjectionNode:cD,MeasureLayout:jx}};function fD(u,r,d){const{props:m}=u;u.animationState&&m.whileHover&&u.animationState.setActive("whileHover",d==="Start");const v="onHover"+d,T=m[v];T&&sn.postRender(()=>T(r,Vp(r)))}class Iw extends er{mount(){const{current:r}=this.node;r&&(this.unmount=bO(r,(d,m)=>(fD(this.node,m,"Start"),v=>fD(this.node,v,"End"))))}unmount(){}}class Pw extends er{constructor(){super(...arguments),this.isActive=!1}onFocus(){let r=!1;try{r=this.node.current.matches(":focus-visible")}catch{r=!0}!r||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Cp(Bp(this.node.current,"focus",()=>this.onFocus()),Bp(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function dD(u,r,d){const{props:m}=u;if(u.current instanceof HTMLButtonElement&&u.current.disabled)return;u.animationState&&m.whileTap&&u.animationState.setActive("whileTap",d==="Start");const v="onTap"+(d==="End"?"":d),T=m[v];T&&sn.postRender(()=>T(r,Vp(r)))}class t4 extends er{mount(){const{current:r}=this.node;r&&(this.unmount=EO(r,(d,m)=>(dD(this.node,m,"Start"),(v,{success:T})=>dD(this.node,v,T?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const rT=new WeakMap,cT=new WeakMap,e4=u=>{const r=rT.get(u.target);r&&r(u)},n4=u=>{u.forEach(e4)};function a4({root:u,...r}){const d=u||document;cT.has(d)||cT.set(d,{});const m=cT.get(d),v=JSON.stringify(r);return m[v]||(m[v]=new IntersectionObserver(n4,{root:u,...r})),m[v]}function l4(u,r,d){const m=a4(r);return rT.set(u,d),m.observe(u),()=>{rT.delete(u),m.unobserve(u)}}const i4={some:0,all:1};class o4 extends er{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:r={}}=this.node.getProps(),{root:d,margin:m,amount:v="some",once:T}=r,b={root:d?d.current:void 0,rootMargin:m,threshold:typeof v=="number"?v:i4[v]},A=x=>{const{isIntersecting:z}=x;if(this.isInView===z||(this.isInView=z,T&&!z&&this.hasEnteredView))return;z&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",z);const{onViewportEnter:M,onViewportLeave:O}=this.node.getProps(),w=z?M:O;w&&w(x)};return l4(this.node.current,b,A)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:r,prevProps:d}=this.node;["amount","margin","root"].some(u4(r,d))&&this.startObserver()}unmount(){}}function u4({viewport:u={}},{viewport:r={}}={}){return d=>u[d]!==r[d]}const s4={...KR,...{inView:{Feature:o4},tap:{Feature:t4},focus:{Feature:Pw},hover:{Feature:Iw}},...Ww,...{layout:{ProjectionNode:cD,MeasureLayout:jx}}},Vu=cR(s4,ER);function r4({title:u,titleId:r,...d},m){return qe.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:m,"aria-labelledby":r},d),u?qe.createElement("title",{id:r},u):null,qe.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const c4=qe.forwardRef(r4);function f4({title:u,titleId:r,...d},m){return qe.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:m,"aria-labelledby":r},d),u?qe.createElement("title",{id:r},u):null,qe.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const d4=qe.forwardRef(f4);function h4({title:u,titleId:r,...d},m){return qe.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:m,"aria-labelledby":r},d),u?qe.createElement("title",{id:r},u):null,qe.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const hD={pending:{borderColor:"border-gray-300 dark:border-gray-600",icon:d4,iconColor:"text-gray-500 dark:text-gray-400"},running:{borderColor:"border-orange-400 dark:border-orange-500",icon:null,iconColor:"text-orange-500 dark:text-orange-400"},success:{borderColor:"border-green-500 dark:border-green-400",icon:c4,iconColor:"text-green-600 dark:text-green-400"},error:{borderColor:"border-red-500 dark:border-red-400",icon:qe.forwardRef(h4),iconColor:"text-red-600 dark:text-red-400"}},m4=()=>$.jsxs("div",{className:"relative w-5 h-5",children:[$.jsx(Vu.div,{className:"absolute inset-0 border-2 border-current border-t-transparent rounded-full",animate:{rotate:360},transition:{duration:1,repeat:1/0,ease:"linear"}}),$.jsx(Vu.div,{className:"absolute inset-1 border border-current rounded-full",animate:{scale:[1,1.2,1],opacity:[.5,1,.5]},transition:{duration:1.5,repeat:1/0,ease:"easeInOut"}})]}),p4=({status:u,className:r})=>{const d=hD[u];return $.jsx(Vu.div,{className:yl("flex items-center justify-center w-8 h-8 rounded-full",d.iconColor,r),initial:{scale:.8,rotate:-10},animate:{scale:1,rotate:0},transition:{duration:.3,ease:"easeOut"},children:u==="running"?$.jsx(m4,{}):d.icon?$.jsx(d.icon,{className:"w-5 h-5"}):null},u)},y4={default:"rounded-lg border bg-card text-card-foreground shadow-sm border-gray-200 py-4 px-4",suggestion:"rounded-xl border border-gray-200 bg-white text-left py-3.5 px-4 text-sm hover:shadow-md hover:bg-gray-50 dark:hover:bg-black transition-all cursor-pointer"},g4={default:"flex flex-col space-y-0.5",suggestion:"flex flex-col space-y-1"},v4={default:"leading-none tracking-tight",suggestion:"leading-none tracking-tight font-medium text-sm"},cv=qe.forwardRef(({className:u,variant:r="default",status:d,showStatusIcon:m=!1,collapsible:v=!1,isCollapsed:T,defaultCollapsed:b=!1,onCollapseChange:A,children:x,...z},M)=>{const[O,w]=ut.useState(b),Q=T!==void 0,X=Q?T:O,lt=bt=>{Q||w(bt),A?.(bt)},ot=()=>{lt(!X)},nt=qe.Children.toArray(x).find(bt=>qe.isValidElement(bt)&&bt.type===$d),dt=qe.Children.toArray(x).filter(bt=>qe.isValidElement(bt)&&bt.type!==$d),ht=d?hD[d]:null,Tt=ht?ht.borderColor:"",St=nt&&qe.isValidElement(nt)?qe.cloneElement(nt,{collapsible:v,isCollapsed:X,onToggleCollapse:ot,status:d,showStatusIcon:m}):nt;return $.jsxs("div",{ref:M,className:yl(y4[r],d&&"border-2 transition-all duration-300 ease-in-out",Tt,u),...z,children:[St,dt.length>0&&$.jsx("div",{className:yl("overflow-hidden transition-all duration-300 ease-in-out",X?"max-h-0 opacity-0":"max-h-[1000px] opacity-100"),children:dt})]})});cv.displayName="Card";const $d=qe.forwardRef(({className:u,variant:r="default",status:d,showStatusIcon:m=!1,collapsible:v=!1,isCollapsed:T=!1,onToggleCollapse:b,children:A,...x},z)=>$.jsxs("div",{ref:z,className:yl(g4[r],"flex flex-row items-center justify-between",u),...x,children:[$.jsx("div",{className:"flex-1",children:m&&d?$.jsxs("div",{className:"flex items-center gap-3",children:[$.jsx(p4,{status:d}),A]}):A}),v&&$.jsx("button",{onClick:b,className:yl("ml-2 p-1 rounded-md hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors","flex items-center justify-center w-6 h-6"),"aria-label":T?"Expand card":"Collapse card",children:$.jsx("svg",{className:yl("w-4 h-4 transition-transform duration-200 text-white",T?"rotate-180":""),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:$.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})})]}));$d.displayName="CardHeader";const fv=qe.forwardRef(({className:u,variant:r="default",...d},m)=>$.jsx("div",{ref:m,className:yl(v4[r],u),...d}));fv.displayName="CardTitle";const b4=qe.forwardRef(({className:u,...r},d)=>$.jsx("div",{ref:d,className:yl(" text-muted-foreground",u),...r}));b4.displayName="CardDescription";const fT=qe.forwardRef(({className:u,...r},d)=>$.jsx("div",{ref:d,className:yl("pt-0",u),...r}));fT.displayName="CardContent";const S4=qe.forwardRef(({className:u,...r},d)=>$.jsx("div",{ref:d,className:yl("flex items-center",u),...r}));S4.displayName="CardFooter";function T4({toolCall:u}){const r=m=>JSON.stringify(m,null,2),d=!!u.result;return $.jsxs(cv,{collapsible:!0,defaultCollapsed:!0,status:d?"success":"running",showStatusIcon:!0,className:"hover:shadow-md mb-2 min-w-max max-w-[85%]",children:[$.jsx($d,{className:"pb-0 ",children:$.jsx("div",{className:"flex items-center justify-start gap-5",children:$.jsxs(fv,{className:" dark:text-gray-200 text-gray-700",children:["Called ",A3(u.toolName)]})})}),$.jsx(fT,{className:"pt-2 space-y-3 w-80 max-w-80",children:$.jsx("div",{children:$.jsx("p",{className:` text-gray-700 dark:text-gray-300 ${d?"success":"running"}`,children:typeof u.args.prompt=="string"?u.args.prompt:r(u.args.prompt)})})})]})}const A4=({data:u})=>{const{steps:r,workflow_id:d,run_id:m}=u;return console.log("🎨 WorkflowSteps Component Rendering:",{steps:r,workflow_id:d,run_id:m}),$.jsxs("div",{className:"w-full space-y-4",children:[$.jsx(Vu.div,{className:"flex items-center gap-2 text-muted-foreground flex-wrap",initial:{opacity:0,y:-10},animate:{opacity:1,y:0},transition:{duration:.4,ease:"easeOut"}}),$.jsx("div",{className:"grid gap-3",children:$.jsx(_O,{children:r.map((v,T)=>$.jsx(Vu.div,{initial:{opacity:0,y:20,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-10,scale:.95},transition:{duration:.5,delay:T*.3,ease:"easeOut"},children:$.jsx(Vu.div,{initial:{scale:.98,opacity:.9},animate:{scale:1,opacity:1},transition:{duration:.4,ease:"easeOut"},children:$.jsxs(cv,{status:v.step_status,showStatusIcon:!0,collapsible:!0,defaultCollapsed:!0,className:"hover:shadow-md mb-2 max-w-[85%] mr-auto",children:[$.jsx($d,{className:"pb-0",children:$.jsx(fv,{className:"text-sm font-medium",children:v.step_name})}),v.args&&$.jsx(fT,{className:"pt-2 space-y-3",children:$.jsxs("div",{children:[$.jsx("p",{className:"text-xs font-medium text-gray-700 mb-1",children:"Arguments:"}),JSON.stringify(v.args,null,2)]})})]})},`${v.step_id}-${v.step_status}`)},v.step_id))})})]})};function E4({message:u,statusCode:r,errorType:d}){const m=b=>({400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",500:"Internal Server Error",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout"})[b]||"Unknown Error",T=(()=>{if(r){const b=m(r),A=u.replace(/HTTP error! status: \d+/i,"").trim();return A?`HTTP Error (${r}): ${b}
287
-
288
- ${A}`:`HTTP Error (${r}): ${b}`}if(d==="validation"&&!u.toLowerCase().startsWith("error"))return`Error: ${u}`;if(d==="network"){if(u.includes("body is null"))return"Error: No response received from server";if(u.toLowerCase().includes("network")||u.toLowerCase().includes("fetch"))return`Network Error: ${u}`}return u})();return $.jsxs("div",{className:"error-message-container",children:[$.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[$.jsx("div",{className:"shrink-0",children:$.jsx("svg",{className:"w-5 h-5 text-red-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:$.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})}),$.jsx("div",{className:"flex-1",children:$.jsx("p",{className:"text-lg font-semibold text-red-700 dark:text-red-400",children:"Error"})})]}),$.jsx("div",{className:"error-message-content",children:$.jsx("p",{className:"text-sm text-red-600 dark:text-red-300 whitespace-pre-wrap",children:T})})]})}function x4({role:u,content:r,streamItems:d,isError:m,errorType:v,statusCode:T}){const b=Dp(),A=u==="user",x=`
254
+ root.render(<App />);`),e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(i=e.identifierPrefix),e.onUncaughtError!==void 0&&(o=e.onUncaughtError),e.onCaughtError!==void 0&&(f=e.onCaughtError),e.onRecoverableError!==void 0&&(d=e.onRecoverableError)),e=gr(t,1,!1,null,null,a,i,null,o,f,d,Jg),t[mi]=e.current,Pi(t),new S0(e)},Em.hydrateRoot=function(t,e,a){if(!Tt(t))throw Error("Target container is not a DOM element.");T0(t),e===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var i=!1,o="",f=Gd,d=Xd,h=yy,y=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&&(h=a.onRecoverableError),a.formState!==void 0&&(y=a.formState)),e=gr(t,1,!0,e,a??null,i,o,y,f,d,h,Jg),e.context=Vg(null),a=e.current,i=Fl(a),i=yc(i),o=bl(i),o.callback=null,su(a,o,i),cu(i,"hydrateRoot()",null),a=i,e.current.lanes=a,zi(e,a),Ma(e),t[mi]=e.current,Pi(t),new Ln(e)},Em.version="19.2.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Em}var Qb;function bT(){if(Qb)return zp.exports;Qb=1;function v(){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(v)}catch(U){console.error(U)}}}return process.env.NODE_ENV==="production"?(v(),zp.exports=gT()):zp.exports=vT(),zp.exports}var ST=bT();const TT=mT(ST);function ln(...v){return dT.twMerge(rT.clsx(v))}function e1(v){const U="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let w="";for(let E=0;E<v;E++)w+=U.charAt(Math.floor(Math.random()*U.length));return w}function ET(v){const U=Date.now(),w=e1(12);return`sdk_${v}_${U}_${w}`}function Lb(v){if(!v||v.length===0)return v;let U=v;return(U.startsWith("'")||U.startsWith('"'))&&(U=U.substring(1)),(U.endsWith("'")||U.endsWith('"'))&&(U=U.substring(0,U.length-1)),U}function AT(v){if(!v||v.length===0)return v;const U=v.indexOf("_v");return(U!==-1?v.substring(0,U):v).replace(/-/g," ").split(" ").map(lt=>lt.length===0?lt:lt.charAt(0).toUpperCase()+lt.slice(1).toLowerCase()).join(" ")}const Zb=ke.forwardRef(({className:v,...U},w)=>q.jsx("textarea",{className:ln("flex min-h-[80px] w-full rounded-md px-3 py-2 placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",v),ref:w,...U}));Zb.displayName="Textarea";const zT=({size:v=16})=>q.jsx("svg",{height:v,strokeLinejoin:"round",viewBox:"0 0 16 16",width:v,style:{color:"currentcolor"},children:q.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.70711 1.39644C8.31659 1.00592 7.68342 1.00592 7.2929 1.39644L2.21968 6.46966L1.68935 6.99999L2.75001 8.06065L3.28034 7.53032L7.25001 3.56065V14.25V15H8.75001V14.25V3.56065L12.7197 7.53032L13.25 8.06065L14.3107 6.99999L13.7803 6.46966L8.70711 1.39644Z",fill:"currentColor"})}),DT=({size:v=16})=>q.jsx("svg",{height:v,viewBox:"0 0 16 16",width:v,style:{color:"currentcolor"},children:q.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3H13V13H3V3Z",fill:"currentColor"})}),MT=({size:v=16})=>q.jsx("svg",{height:v,strokeLinejoin:"round",viewBox:"0 0 16 16",width:v,style:{color:"currentcolor"},children:q.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M 8.75,1 H7.25 V7.25 H1.5 V8.75 H7.25 V15 H8.75 V8.75 H14.5 V7.25 H8.75 V1.75 Z",fill:"currentColor"})}),OT=({size:v=16})=>q.jsx("svg",{height:v,strokeLinejoin:"round",viewBox:"0 0 16 16",width:v,style:{color:"currentcolor"},children:q.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.96452 2.5C11.0257 2.5 13.5 4.96643 13.5 8C13.5 11.0336 11.0257 13.5 7.96452 13.5C6.12055 13.5 4.48831 12.6051 3.48161 11.2273L3.03915 10.6217L1.828 11.5066L2.27046 12.1122C3.54872 13.8617 5.62368 15 7.96452 15C11.8461 15 15 11.87 15 8C15 4.13001 11.8461 1 7.96452 1C5.06835 1 2.57851 2.74164 1.5 5.23347V3.75V3H0V3.75V7.25C0 7.66421 0.335786 8 0.75 8H3.75H4.5V6.5H3.75H2.63724C3.29365 4.19393 5.42843 2.5 7.96452 2.5ZM8.75 5.25V4.5H7.25V5.25V7.8662C7.25 8.20056 7.4171 8.51279 7.6953 8.69825L9.08397 9.62404L9.70801 10.0401L10.5401 8.79199L9.91603 8.37596L8.75 7.59861V5.25Z",fill:"currentColor"})}),l1={project_id:"",user_id:"",width:"50vw",maxWidth:"80vw",resizable:!0,keyboardShortcut:"b",userMessage:"bg-black dark:bg-gray-600 text-white dark:text-gray-100 text-base",assistantMessage:"text-black dark dark:text-gray-100 text-base",headerButtons:"p-2 my-2 rounded-lg border bg-white dark:bg-gray-800 border-gray-300 dark:border-gray-700 text-gray-900 dark:text-gray-100 hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",headerButtonSize:20,headerTitle:"text-base text-gray-900 dark:text-gray-100",sendButton:"p-2 m-2 rounded-lg border bg-white dark:bg-gray-800 border-gray-300 dark:border-gray-700 text-gray-900 dark:text-gray-100 hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",sendButtonSize:16,placeholder:"Ask me anything",textArea:"flex min-h-[80px] w-full rounded-md border focus:border-black dark:focus:border-white focus-visible:outline-none border-gray-300 dark:border-gray-700 bg-background px-3 py-2 placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50 text-base",sidebarContainer:"bg-white dark:bg-gray-900 text-black dark:text-gray-100 border-l-1 border-gray-300 dark:border-gray-700 shadow-lg border-shadow-lg",suggestions:"bg-white dark:bg-gray-800 text-black dark:text-gray-100 border-gray-300 dark:border-gray-700",cardContainer:"dark:bg-gray-800",cardTitle:"dark:text-gray-100",cardSubtitle:"text-gray-500 text-sm dark:text-gray-400",defaultOpen:!0,debug:!0};let Jb={...l1};function a1(){return Jb}function CT(v){Jb={...l1,...v}}async function UT(v){const U=v.projectId||v.copilotId,w=v.userId,E=v.apiKey;if(!U)return console.warn("No projectId or copilotId provided, using default config"),{};if(!E)return console.warn("No API key provided, using default config"),{};try{const k=`http://localhost:8080/api/v1/copilot/${U}/config`,lt={"Content-Type":"application/json",Authorization:`Bearer ${E}`};w&&(lt["X-User-Id"]=w);const ut=await fetch(k,{method:"GET",headers:lt});if(!ut.ok){if(ut.status===404)return console.warn("Config endpoint not found (404), using default config"),{};throw new Error(`Failed to fetch config: ${ut.status} ${ut.statusText}`)}const V=await ut.json();return l1.debug&&console.log("✅ Successfully fetched config from database:",V),V}catch(k){return console.warn("⚠️ Failed to fetch config from database, using defaults:",k),{}}}const Kb=ht.createContext(a1());function Am(){return ht.useContext(Kb)}function $b({children:v}){const U=a1();return q.jsx(Kb.Provider,{value:U,children:v})}function RT({onSendMessage:v,isStreaming:U,inputValue:w,onInputChange:E,onFocusRequest:k}){const[lt,ut]=ht.useState(""),V=w!==void 0?w:lt,tt=E||ut,Ct=ht.useRef(null),St=Am(),K=()=>{if(Ct.current){Ct.current.focus();const ot=Ct.current.value.length;Ct.current.setSelectionRange(ot,ot)}};ht.useEffect(()=>{k&&k(K)},[k]);const ct=ot=>{ot.preventDefault(),V.trim()&&!U&&v(V.trim())},_t=ot=>{if(ot.key==="Enter"&&!ot.shiftKey){ot.preventDefault();const wt=new Event("submit",{bubbles:!0,cancelable:!0});ct(wt)}};return q.jsx("div",{className:"my-4",children:q.jsxs("form",{onSubmit:ct,className:"space-y-3 m relative",children:[q.jsx("div",{className:"",children:q.jsx(Zb,{ref:Ct,value:V,onChange:ot=>tt(ot.target.value),onKeyDown:_t,placeholder:St.placeholder,disabled:U,className:`min-h-[80px] resize-none ${St.textArea} `})}),q.jsx("div",{className:"absolute bottom-0 right-0 h-fit justify-end p-0 ",children:q.jsx("button",{type:"submit",disabled:!V.trim()||U,className:`
255
+ ${St.sendButton}
256
+ ${U||!V.trim()?" cursor-not-allowed":""}
257
+ `,children:U?q.jsx(DT,{size:St.sendButtonSize}):q.jsx(zT,{size:St.sendButtonSize})})})]})})}const xT=({children:v})=>(w=>{const E=w.replace(/^###### (.*$)/gim,"<h6>$1</h6>").replace(/^##### (.*$)/gim,"<h5>$1</h5>").replace(/^#### (.*$)/gim,"<h4>$1</h4>").replace(/^### (.*$)/gim,"<h3>$1</h3>").replace(/^## (.*$)/gim,"<h2>$1</h2>").replace(/^# (.*$)/gim,"<h1>$1</h1>").replace(/\*\*(.*?)\*\*/g,"<strong>$1</strong>").replace(/\*(.*?)\*/g,"<em>$1</em>").replace(/```([\s\S]*?)```/g,"<pre><code>$1</code></pre>").replace(/`([^`]+)`/g,"<code>$1</code>").replace(/!\[([^\]]*)\]\(([^)]+)\)/g,`<div class="my-4"><img src="$2" alt="$1" class="max-w-full h-auto rounded-lg shadow-md border border-gray-200" loading="lazy" onerror="this.style.display='none'; this.nextElementSibling.style.display='block';" /><div class="hidden text-sm text-gray-500 mt-2 text-center">Failed to load image: $1</div></div>`).replace(/\[([^\]]+)\]\(([^)]+)\)/g,'<a href="$2" target="_blank" rel="noopener noreferrer" title="Open $2">$1</a>').replace(/\n/g,"<br>");return q.jsx("div",{dangerouslySetInnerHTML:{__html:E}})})(v),_T=ht.memo(xT);function HT({title:v,titleId:U,...w},E){return ke.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:E,"aria-labelledby":U},w),v?ke.createElement("title",{id:U},v):null,ke.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const NT=ke.forwardRef(HT);function BT({title:v,titleId:U,...w},E){return ke.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:E,"aria-labelledby":U},w),v?ke.createElement("title",{id:U},v):null,ke.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const wT=ke.forwardRef(BT);function qT({title:v,titleId:U,...w},E){return ke.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:E,"aria-labelledby":U},w),v?ke.createElement("title",{id:U},v):null,ke.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const kb={pending:{borderColor:"border-gray-300 dark:border-gray-600",icon:wT,iconColor:"text-gray-500 dark:text-gray-400"},running:{borderColor:"border-orange-400 dark:border-orange-500",icon:null,iconColor:"text-orange-500 dark:text-orange-400"},success:{borderColor:"border-green-500 dark:border-green-400",icon:NT,iconColor:"text-green-600 dark:text-green-400"},error:{borderColor:"border-red-500 dark:border-red-400",icon:ke.forwardRef(qT),iconColor:"text-red-600 dark:text-red-400"}},YT=()=>q.jsxs("div",{className:"relative w-5 h-5",children:[q.jsx(Ti.motion.div,{className:"absolute inset-0 border-2 border-current border-t-transparent rounded-full",animate:{rotate:360},transition:{duration:1,repeat:1/0,ease:"linear"}}),q.jsx(Ti.motion.div,{className:"absolute inset-1 border border-current rounded-full",animate:{scale:[1,1.2,1],opacity:[.5,1,.5]},transition:{duration:1.5,repeat:1/0,ease:"easeInOut"}})]}),jT=({status:v,className:U})=>{const w=kb[v];return q.jsx(Ti.motion.div,{className:ln("flex items-center justify-center w-8 h-8 rounded-full",w.iconColor,U),initial:{scale:.8,rotate:-10},animate:{scale:1,rotate:0},transition:{duration:.3,ease:"easeOut"},children:v==="running"?q.jsx(YT,{}):w.icon?q.jsx(w.icon,{className:"w-5 h-5"}):null},v)},GT={default:"rounded-lg border bg-card text-card-foreground shadow-sm border-gray-200 py-4 px-4",suggestion:"rounded-xl border border-gray-200 bg-white text-left py-3.5 px-4 text-sm hover:shadow-md hover:bg-gray-50 dark:hover:bg-black transition-all cursor-pointer"},XT={default:"flex flex-col space-y-0.5",suggestion:"flex flex-col space-y-1"},VT={default:"leading-none tracking-tight",suggestion:"leading-none tracking-tight font-medium text-sm"},Mp=ke.forwardRef(({className:v,variant:U="default",status:w,showStatusIcon:E=!1,collapsible:k=!1,isCollapsed:lt,defaultCollapsed:ut=!1,onCollapseChange:V,children:tt,...Ct},St)=>{const[K,ct]=ht.useState(ut),_t=lt!==void 0,ot=_t?lt:K,wt=oe=>{_t||ct(oe),V?.(oe)},Tt=()=>{wt(!ot)},zt=ke.Children.toArray(tt).find(oe=>ke.isValidElement(oe)&&oe.type===Wr),Wt=ke.Children.toArray(tt).filter(oe=>ke.isValidElement(oe)&&oe.type!==Wr),he=w?kb[w]:null,me=he?he.borderColor:"",cl=zt&&ke.isValidElement(zt)?ke.cloneElement(zt,{collapsible:k,isCollapsed:ot,onToggleCollapse:Tt,status:w,showStatusIcon:E}):zt;return q.jsxs("div",{ref:St,className:ln(GT[U],w&&"border-2 transition-all duration-300 ease-in-out",me,v),...Ct,children:[cl,Wt.length>0&&q.jsx("div",{className:ln("overflow-hidden transition-all duration-300 ease-in-out",ot?"max-h-0 opacity-0":"max-h-[1000px] opacity-100"),children:Wt})]})});Mp.displayName="Card";const Wr=ke.forwardRef(({className:v,variant:U="default",status:w,showStatusIcon:E=!1,collapsible:k=!1,isCollapsed:lt=!1,onToggleCollapse:ut,children:V,...tt},Ct)=>q.jsxs("div",{ref:Ct,className:ln(XT[U],"flex flex-row items-center justify-between",v),...tt,children:[q.jsx("div",{className:"flex-1",children:E&&w?q.jsxs("div",{className:"flex items-center gap-3",children:[q.jsx(jT,{status:w}),V]}):V}),k&&q.jsx("button",{onClick:ut,className:ln("ml-2 p-1 rounded-md hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors","flex items-center justify-center w-6 h-6"),"aria-label":lt?"Expand card":"Collapse card",children:q.jsx("svg",{className:ln("w-4 h-4 transition-transform duration-200 text-white",lt?"rotate-180":""),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:q.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})})]}));Wr.displayName="CardHeader";const Op=ke.forwardRef(({className:v,variant:U="default",...w},E)=>q.jsx("div",{ref:E,className:ln(VT[U],v),...w}));Op.displayName="CardTitle";const QT=ke.forwardRef(({className:v,...U},w)=>q.jsx("div",{ref:w,className:ln(" text-muted-foreground",v),...U}));QT.displayName="CardDescription";const n1=ke.forwardRef(({className:v,...U},w)=>q.jsx("div",{ref:w,className:ln("pt-0",v),...U}));n1.displayName="CardContent";const LT=ke.forwardRef(({className:v,...U},w)=>q.jsx("div",{ref:w,className:ln("flex items-center",v),...U}));LT.displayName="CardFooter";function ZT({toolCall:v}){const U=E=>JSON.stringify(E,null,2),w=!!v.result;return q.jsxs(Mp,{collapsible:!0,defaultCollapsed:!0,status:w?"success":"running",showStatusIcon:!0,className:"hover:shadow-md mb-2 min-w-max max-w-[85%]",children:[q.jsx(Wr,{className:"pb-0 ",children:q.jsx("div",{className:"flex items-center justify-start gap-5",children:q.jsxs(Op,{className:" dark:text-gray-200 text-gray-700",children:["Called ",AT(v.toolName)]})})}),q.jsx(n1,{className:"pt-2 space-y-3 w-80 max-w-80",children:q.jsx("div",{children:q.jsx("p",{className:` text-gray-700 dark:text-gray-300 ${w?"success":"running"}`,children:typeof v.args.prompt=="string"?v.args.prompt:U(v.args.prompt)})})})]})}const JT=({data:v})=>{const{steps:U,workflow_id:w,run_id:E}=v;return console.log("🎨 WorkflowSteps Component Rendering:",{steps:U,workflow_id:w,run_id:E}),q.jsxs("div",{className:"w-full space-y-4",children:[q.jsx(Ti.motion.div,{className:"flex items-center gap-2 text-muted-foreground flex-wrap",initial:{opacity:0,y:-10},animate:{opacity:1,y:0},transition:{duration:.4,ease:"easeOut"}}),q.jsx("div",{className:"grid gap-3",children:q.jsx(Ti.AnimatePresence,{children:U.map((k,lt)=>q.jsx(Ti.motion.div,{initial:{opacity:0,y:20,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-10,scale:.95},transition:{duration:.5,delay:lt*.3,ease:"easeOut"},children:q.jsx(Ti.motion.div,{initial:{scale:.98,opacity:.9},animate:{scale:1,opacity:1},transition:{duration:.4,ease:"easeOut"},children:q.jsxs(Mp,{status:k.step_status,showStatusIcon:!0,collapsible:!0,defaultCollapsed:!0,className:"hover:shadow-md mb-2 max-w-[85%] mr-auto",children:[q.jsx(Wr,{className:"pb-0",children:q.jsx(Op,{className:"text-sm font-medium",children:k.step_name})}),k.args&&q.jsx(n1,{className:"pt-2 space-y-3",children:q.jsxs("div",{children:[q.jsx("p",{className:"text-xs font-medium text-gray-700 mb-1",children:"Arguments:"}),JSON.stringify(k.args,null,2)]})})]})},`${k.step_id}-${k.step_status}`)},k.step_id))})})]})};function KT({message:v,statusCode:U,errorType:w}){const E=ut=>({400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",500:"Internal Server Error",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout"})[ut]||"Unknown Error",lt=(()=>{if(U){const ut=E(U),V=v.replace(/HTTP error! status: \d+/i,"").trim();return V?`HTTP Error (${U}): ${ut}
258
+
259
+ ${V}`:`HTTP Error (${U}): ${ut}`}if(w==="validation"&&!v.toLowerCase().startsWith("error"))return`Error: ${v}`;if(w==="network"){if(v.includes("body is null"))return"Error: No response received from server";if(v.toLowerCase().includes("network")||v.toLowerCase().includes("fetch"))return`Network Error: ${v}`}return v})();return q.jsxs("div",{className:"error-message-container",children:[q.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[q.jsx("div",{className:"shrink-0",children:q.jsx("svg",{className:"w-5 h-5 text-red-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:q.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})}),q.jsx("div",{className:"flex-1",children:q.jsx("p",{className:"text-lg font-semibold text-red-700 dark:text-red-400",children:"Error"})})]}),q.jsx("div",{className:"error-message-content",children:q.jsx("p",{className:"text-sm text-red-600 dark:text-red-300 whitespace-pre-wrap",children:lt})})]})}function $T({role:v,content:U,streamItems:w,isError:E,errorType:k,statusCode:lt}){const ut=Am(),V=v==="user",tt=`
289
260
  max-w-[85%] rounded-lg p-3 mb-3
290
- ${m?"mr-auto border border-red-300 dark:border-red-700 bg-red-50 dark:bg-red-900/20":A?`ml-auto ${b.userMessage}`:`mr-auto ${b.assistantMessage}`}
291
- `;return $.jsx("div",{className:m?"w-full":`flex ${A?"justify-end":"justify-start"}`,children:$.jsxs("div",{className:x,children:[m&&$.jsx("div",{className:"flex-1",children:$.jsx(E4,{message:r,statusCode:T,errorType:v})}),!m&&r&&A&&$.jsx("div",{children:$.jsx("p",{className:"whitespace-pre-wrap",children:r})}),!m&&!A&&d&&d.length>0&&$.jsx("div",{className:"space-y-3 mt-3",children:d.map((z,M)=>{const O=z;return O.type==="tool-call"&&O.toolCall?$.jsx("div",{children:$.jsx(T4,{toolCall:{toolName:O.toolCall.toolName,args:O.toolCall.args,result:O.toolCall.result,timestamp:new Date().toISOString()}})},M):(O.type==="workflow-steps"||O.type==="workflow-steps-update")&&O.workflowSteps?$.jsx("div",{children:$.jsx(A4,{data:O.workflowSteps})},M):null})}),!m&&!A&&r&&$.jsx("div",{className:"my-3",children:$.jsx(w3,{children:r})})]})})}const D4=({title:u=null,subtitle:r=null})=>{const d=u??"Hello there!",m=r??"How can I help you today?";return $.jsxs("div",{className:"flex flex-col justify-center mx-auto md:mt-20",children:[$.jsx(Vu.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:10},transition:{delay:.5},className:"text-2xl font-semibold text-black dark:text-white",children:d}),$.jsx(Vu.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:10},transition:{delay:.6},className:"text-2xl text-zinc-500 dark:text-zinc-400",children:m})]},"overview")};function C4({messages:u,isStreaming:r,animationKey:d}){const m=ut.useRef(null),v=ut.useRef(null);ut.useEffect(()=>{T()},[u,r]);const T=()=>{m.current?.scrollIntoView({behavior:"smooth",block:"end"})};return $.jsxs("div",{ref:v,className:"flex-1 overflow-y-auto scrollbar-hide",children:[u.length===0&&$.jsxs("div",{className:"flex flex-col justify-between h-full gap-10 mx-auto px-10 align-center ",children:[$.jsx("div",{className:"flex-1",children:$.jsx(D4,{},`greeting-${d}`)}),$.jsx("div",{className:"flex-shrink-0"})]}),u.length>0&&u.map(b=>$.jsx(x4,{role:b.role,content:b.content,streamItems:b.streamItems,timestamp:b.timestamp,isError:b.isError,errorType:b.errorType,statusCode:b.statusCode},b.id)),u.length>0&&r&&$.jsx("div",{className:"flex justify-start",children:$.jsx("div",{className:" text-gray-900 rounded-lg p-3 max-w-[85%]",children:$.jsxs("div",{className:"flex items-center space-x-1",children:[$.jsx("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce"}),$.jsx("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce",style:{animationDelay:"0.1s"}}),$.jsx("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce",style:{animationDelay:"0.2s"}})]})})}),$.jsx("div",{ref:m})]})}function M4(u,r,d){const[m,v]=ut.useState(!1),[T,b]=ut.useState(""),[A,x]=ut.useState([]),z=ut.useRef(new Map),M=ut.useRef(new Map),O=ut.useRef(new Map),w=ut.useRef(null),[Q,X]=ut.useState(null),[lt,ot]=ut.useState(0),nt=ut.useCallback(async(Tt,St)=>{v(!0),b(""),z.current=new Map,M.current=new Map,O.current=new Map,w.current=null;let bt=St||Q;bt?console.log("🔄 Reusing existing threadId for conversation:",bt):(bt=T3(u),X(bt),console.log("🆕 Generated new threadId for conversation:",bt));const Dt={id:Z1(12),role:"user",content:Tt,streamItems:[],timestamp:new Date};x(wt=>[...wt,Dt]);const I={id:Z1(12),role:"assistant",content:"",streamItems:[],timestamp:new Date};x(wt=>[...wt,I]);try{if(!u)throw new Error("Copilot ID is required");if(!r)throw new Error("User ID is required");const wt={message:Tt,threadId:bt,copilotId:u,resourceId:r};if(console.log("📤 Sending request body:",wt),!d)throw new Error('API key is required. Please provide an apiKey when initializing the SDK with initSidenet({ apiKey: "your-key" }).');const yt={"Content-Type":"application/json",Authorization:`Bearer ${d}`},Qt=await fetch(`http://localhost:8080/api/v1/copilot/${u}/stream`,{method:"POST",headers:yt,body:JSON.stringify(wt)});if(!Qt.ok){let Gt="";try{const k=Qt.headers.get("content-type");if(k&&k.includes("application/json")){const gt=await Qt.json();Gt=gt.message||gt.error||gt.details||""}else{const gt=await Qt.text();gt&&(Gt=gt)}}catch{}const j=`HTTP error! status: ${Qt.status}`,F=Gt?`${j}
261
+ ${E?"mr-auto border border-red-300 dark:border-red-700 bg-red-50 dark:bg-red-900/20":V?`ml-auto ${ut.userMessage}`:`mr-auto ${ut.assistantMessage}`}
262
+ `;return q.jsx("div",{className:E?"w-full":`flex ${V?"justify-end":"justify-start"}`,children:q.jsxs("div",{className:tt,children:[E&&q.jsx("div",{className:"flex-1",children:q.jsx(KT,{message:U,statusCode:lt,errorType:k})}),!E&&U&&V&&q.jsx("div",{children:q.jsx("p",{className:"whitespace-pre-wrap",children:U})}),!E&&!V&&w&&w.length>0&&q.jsx("div",{className:"space-y-3 mt-3",children:w.map((Ct,St)=>{const K=Ct;return K.type==="tool-call"&&K.toolCall?q.jsx("div",{children:q.jsx(ZT,{toolCall:{toolName:K.toolCall.toolName,args:K.toolCall.args,result:K.toolCall.result,timestamp:new Date().toISOString()}})},St):(K.type==="workflow-steps"||K.type==="workflow-steps-update")&&K.workflowSteps?q.jsx("div",{children:q.jsx(JT,{data:K.workflowSteps})},St):null})}),!E&&!V&&U&&q.jsx("div",{className:"my-3",children:q.jsx(_T,{children:U})})]})})}const kT=({title:v=null,subtitle:U=null})=>{const w=v??"Hello there!",E=U??"How can I help you today?";return q.jsxs("div",{className:"flex flex-col justify-center mx-auto md:mt-20",children:[q.jsx(Ti.motion.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:10},transition:{delay:.5},className:"text-2xl font-semibold text-black dark:text-white",children:w}),q.jsx(Ti.motion.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:10},transition:{delay:.6},className:"text-2xl text-zinc-500 dark:text-zinc-400",children:E})]},"overview")};function WT({messages:v,isStreaming:U,animationKey:w}){const E=ht.useRef(null),k=ht.useRef(null);ht.useEffect(()=>{lt()},[v,U]);const lt=()=>{E.current?.scrollIntoView({behavior:"smooth",block:"end"})};return q.jsxs("div",{ref:k,className:"flex-1 overflow-y-auto scrollbar-hide",children:[v.length===0&&q.jsxs("div",{className:"flex flex-col justify-between h-full gap-10 mx-auto px-10 align-center ",children:[q.jsx("div",{className:"flex-1",children:q.jsx(kT,{},`greeting-${w}`)}),q.jsx("div",{className:"flex-shrink-0"})]}),v.length>0&&v.map(ut=>q.jsx($T,{role:ut.role,content:ut.content,streamItems:ut.streamItems,timestamp:ut.timestamp,isError:ut.isError,errorType:ut.errorType,statusCode:ut.statusCode},ut.id)),v.length>0&&U&&q.jsx("div",{className:"flex justify-start",children:q.jsx("div",{className:" text-gray-900 rounded-lg p-3 max-w-[85%]",children:q.jsxs("div",{className:"flex items-center space-x-1",children:[q.jsx("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce"}),q.jsx("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce",style:{animationDelay:"0.1s"}}),q.jsx("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce",style:{animationDelay:"0.2s"}})]})})}),q.jsx("div",{ref:E})]})}function FT(v,U,w){const[E,k]=ht.useState(!1),[lt,ut]=ht.useState(""),[V,tt]=ht.useState([]),Ct=ht.useRef(new Map),St=ht.useRef(new Map),K=ht.useRef(new Map),ct=ht.useRef(null),[_t,ot]=ht.useState(null),[wt,Tt]=ht.useState(0),zt=ht.useCallback(async(me,cl)=>{k(!0),ut(""),Ct.current=new Map,St.current=new Map,K.current=new Map,ct.current=null;let oe=cl||_t;oe?console.log("🔄 Reusing existing threadId for conversation:",oe):(oe=ET(v),ot(oe),console.log("🆕 Generated new threadId for conversation:",oe));const Ge={id:e1(12),role:"user",content:me,streamItems:[],timestamp:new Date};tt(xe=>[...xe,Ge]);const vt={id:e1(12),role:"assistant",content:"",streamItems:[],timestamp:new Date};tt(xe=>[...xe,vt]);try{if(!v)throw new Error("Copilot ID is required");if(!U)throw new Error("User ID is required");const xe={message:me,threadId:oe,copilotId:v,resourceId:U};if(console.log("📤 Sending request body:",xe),!w)throw new Error('API key is required. Please provide an apiKey when initializing the SDK with initSidenet({ apiKey: "your-key" }).');const at={"Content-Type":"application/json",Authorization:`Bearer ${w}`},ue=await fetch(`http://localhost:8080/api/v1/copilot/${v}/stream`,{method:"POST",headers:at,body:JSON.stringify(xe)});if(!ue.ok){let le="";try{const W=ue.headers.get("content-type");if(W&&W.includes("application/json")){const it=await ue.json();le=it.message||it.error||it.details||""}else{const it=await ue.text();it&&(le=it)}}catch{}const C=`HTTP error! status: ${ue.status}`,L=le?`${C}
292
263
 
293
- ${Gt}`:j;throw new Error(F)}if(!Qt.body)throw new Error("Response body is null");const Bt=Qt.body.getReader(),Vt=new TextDecoder;let Lt="";try{for(;;){const{done:Gt,value:j}=await Bt.read();if(Gt)break;const k=Vt.decode(j,{stream:!0}).split(`
294
- `).filter(gt=>gt.trim());for(const gt of k)try{const Mt=gt.startsWith("data: ")?gt.slice(6):gt;if(!Mt.trim())continue;const Y=JSON.parse(Mt);switch(console.log("📥 Received chunk:",Y),Y.type){case"tool-call":{const pt=Y.payload,st=pt?.toolCallId||Y.toolCallId,ft=pt?.toolName||Y.toolName,Ht=pt?.args||Y.args;if(st&&ft){const xe=O.current.get(st);let xt={};if(xe)try{xt=JSON.parse(xe),console.log("✅ Parsed accumulated args:",xt)}catch(be){console.warn("⚠️ Failed to parse accumulated args, using event args:",be),xt=Ht||{}}else xt=Ht||{};x(be=>be.map(It=>{if(It.role==="assistant"&&It.id===I.id){const Kt=It.streamItems,mt=Kt.findIndex(se=>se.type==="tool-call"&&se.toolCall?.id===st);if(mt!==-1){const se=[...Kt];return se[mt]={...se[mt],toolCall:{...se[mt].toolCall,toolName:ft,args:xt}},{...It,streamItems:se}}else return{...It,streamItems:[...Kt,{type:"tool-call",toolCall:{id:st,toolName:ft,args:xt}}]}}return It})),O.current.delete(st),w.current=st}break}case"tool-result":{const pt=Y.payload;let st=pt?.toolCallId||Y.toolCallId;const ft=pt?.result||Y.result;console.log("📦 tool-result received:",{toolCallId:st,hasResult:!!ft,resultKeys:ft?Object.keys(ft):[],payloadToolCallId:pt?.toolCallId,mostRecentToolCallId:w.current}),!st&&w.current&&(st=w.current,console.log("⚠️ tool-result missing toolCallId, using most recent:",st)),st&&ft?x(Ht=>Ht.map(xe=>{if(xe.role==="assistant"&&xe.id===I.id){const xt=xe.streamItems,be=xt.filter(mt=>mt.type==="tool-call").map(mt=>{const se=mt.toolCall;return{id:se?.id,toolName:se?.toolName,hasResult:!!se?.result}});console.log("🔍 Existing tool calls in streamItems:",be),console.log("🔍 Looking for toolCallId:",st);let It=!1;const Kt=xt.map(mt=>{if(mt.type==="tool-call"){const se=mt.toolCall;if(se?.id===st&&!se?.result)return It=!0,console.log("✅ Found matching tool call by ID, attaching result"),{...mt,toolCall:{...se,result:ft}}}return mt});if(!It){console.log("⚠️ Could not find tool call by ID, trying to match most recent tool call without result");for(let mt=Kt.length-1;mt>=0;mt--){const se=Kt[mt];if(se.type==="tool-call"){const nn=se.toolCall;if(!nn?.result){Kt[mt]={...se,toolCall:{...nn,result:ft}},It=!0,console.log("✅ Matched tool call by finding most recent without result");break}}}}if(It)return{...xe,streamItems:Kt};console.warn("⚠️ Could not find matching tool call for result:",{resultToolCallId:st,toolResult:ft,streamItemsCount:xt.length})}return xe})):console.warn("⚠️ tool-result event missing required fields:",{resultToolCallId:st,hasToolResult:!!ft,mostRecentToolCallId:w.current});break}case"text-delta":{const pt=Y.textDelta||Y.payload?.text;pt&&(Lt+=pt,b(Lt),x(st=>st.map(ft=>ft.role==="assistant"&&ft.id===I.id?{...ft,content:Lt}:ft)));break}case"start":Y.runId&&Y.from==="WORKFLOW"&&console.log("🚀 Workflow started:",Y.runId);break;case"step-start":if(Y.runId&&Y.payload&&Y.from==="WORKFLOW"){const pt=Y.payload,st=pt.stepCallId,ft=pt.stepName,Ht=pt.args,xe=Ht?`Arguments: ${JSON.stringify(Ht,null,2)}`:"";M.current.set(st,{step_id:st,step_name:ft,step_description:xe,step_status:"running",args:Ht,timestamp:new Date});const xt=Array.from(M.current.values()),be={type:"workflow-steps",workflow_id:ft,run_id:Y.runId,steps:xt};x(It=>It.map(Kt=>{if(Kt.role==="assistant"&&Kt.id===I.id){const mt=Kt.streamItems,se=mt.findIndex(nn=>nn.type==="workflow-steps"||nn.type==="workflow-steps-update");if(se!==-1){const nn=[...mt];return nn[se]={...nn[se],workflowSteps:be},{...Kt,streamItems:nn}}else return{...Kt,streamItems:[...mt,{type:"workflow-steps",workflowSteps:be}]}}return Kt}))}break;case"step-result":if(Y.runId&&Y.payload&&Y.from==="WORKFLOW"){const pt=Y.payload,st=pt.stepCallId,ft=pt.status,Ht=M.current.get(st);if(Ht){M.current.set(st,{...Ht,step_status:ft==="success"?"success":"error"});const xe=Array.from(M.current.values()),xt={type:"workflow-steps-update",workflow_id:Ht.step_name,run_id:Y.runId,steps:xe};x(be=>be.map(It=>It.role==="assistant"&&It.id===I.id?{...It,streamItems:It.streamItems.map(Kt=>Kt.type==="workflow-steps"||Kt.type==="workflow-steps-update"?{...Kt,workflowSteps:xt}:Kt)}:It))}}break;case"step-output":if(Y.payload&&Y.from==="USER"){const pt=Y.payload.output;pt&&(Lt+=pt,b(Lt),x(st=>st.map(ft=>ft.role==="assistant"&&ft.id===I.id?{...ft,content:Lt}:ft)))}break;case"step-finish":Y.runId&&Y.payload&&Y.from==="AGENT"&&console.log("🏁 Step finished:",Y.runId);break;case"tool-call-input-streaming-start":{const st=Y.payload?.toolCallId||Y.toolCallId;st&&(O.current.set(st,""),console.log("🔄 Tool call input streaming started for:",st));break}case"tool-call-delta":{const pt=Y.payload,st=pt?.toolCallId||Y.toolCallId,ft=pt?.argsTextDelta||Y.argsTextDelta,Ht=pt?.toolName||Y.toolName;if(st&&ft){const xt=(O.current.get(st)||"")+ft;O.current.set(st,xt);try{const be=JSON.parse(xt);console.log("📝 Tool call delta accumulated, parsed args:",be),x(It=>It.map(Kt=>{if(Kt.role==="assistant"&&Kt.id===I.id){const mt=Kt.streamItems,se=mt.findIndex(nn=>nn.type==="tool-call"&&nn.toolCall?.id===st);if(se!==-1){const nn=[...mt];return nn[se]={...nn[se],toolCall:{...nn[se].toolCall,args:be}},{...Kt,streamItems:nn}}else return{...Kt,streamItems:[...mt,{type:"tool-call",toolCall:{id:st,toolName:Ht||"Tool calling...",args:be}}]}}return Kt}))}catch{console.log("📝 Tool call delta accumulated (JSON incomplete, waiting for more):",xt)}}break}case"tool-call-input-streaming-end":{const st=Y.payload?.toolCallId||Y.toolCallId;if(st){const ft=O.current.get(st);if(ft)try{const Ht=JSON.parse(ft);console.log("✅ Tool call input streaming ended, final args:",Ht),x(xe=>xe.map(xt=>{if(xt.role==="assistant"&&xt.id===I.id){const be=xt.streamItems,It=be.findIndex(Kt=>Kt.type==="tool-call"&&Kt.toolCall?.id===st);if(It!==-1){const Kt=[...be];return Kt[It]={...Kt[It],toolCall:{...Kt[It].toolCall,args:Ht}},{...xt,streamItems:Kt}}}return xt}))}catch(Ht){console.warn("⚠️ Failed to parse final accumulated args:",Ht)}}break}case"error":{const st=Y.error?.message||Y.message||"An error occurred during streaming";console.error("❌ Stream error received:",st),x(ft=>ft.map(Ht=>Ht.role==="assistant"&&Ht.id===I.id?{...Ht,content:st,isError:!0,errorType:"stream"}:Ht)),v(!1);return}case"finish":Y.runId&&Y.from==="WORKFLOW"&&console.log("✅ Workflow finished:",Y.runId);break}}catch(Mt){console.warn("⚠️ Failed to parse chunk:",{originalLine:gt,jsonString:gt.startsWith("data: ")?gt.slice(6):gt,error:Mt,lineLength:gt.length})}}}finally{Bt.releaseLock()}x(Gt=>Gt.map(j=>j.role==="assistant"&&j.id===I.id?{...j,content:Lt}:j))}catch(wt){console.error("❌ Error sending message:",wt);let yt="An unexpected error occurred",Qt,Bt;if(wt instanceof Error){yt=wt.message;const Vt=yt.match(/HTTP error! status: (\d+)/i);Vt?(Bt=parseInt(Vt[1],10),Qt="http"):yt.includes("required")||yt.includes("Copilot ID")||yt.includes("User ID")||yt.includes("API key")?Qt="validation":(yt.includes("body is null")||yt.includes("network")||yt.includes("fetch")||yt.includes("Failed to fetch"))&&(Qt="network")}x(Vt=>Vt.map(Lt=>Lt.id===I.id?{...Lt,content:yt,isError:!0,errorType:Qt,statusCode:Bt}:Lt))}finally{v(!1)}},[Q,u,r,d]),dt=ut.useCallback(()=>{ot(Tt=>Tt+1)},[]),ht=ut.useCallback(()=>{X(null),x([]),b(""),z.current=new Map,M.current=new Map,O.current=new Map,w.current=null,dt(),console.log("🔄 Started new conversation thread")},[dt]);return{sendMessage:nt,isStreaming:m,streamedText:T,messages:A,setMessages:x,threadId:Q,resetThread:ht,animationKey:lt,triggerAnimation:dt}}function z4({workflows:u,agents:r,setInput:d}){const m=Dp(),v=[{title:"What's the latest news",subtitle:"in France?"},{title:"What's the weather like",subtitle:"in Tokyo?"},{title:"Analyze today's sales",subtitle:"performance vs yesterday"},{title:"Which menu items",subtitle:"are selling best this week?"},{title:"Show me staff",subtitle:"scheduling for this weekend"},{title:"What are the top",subtitle:"cost drivers this month?"},{title:"Generate a report",subtitle:"on food waste trends"},{title:"Which suppliers",subtitle:"need payment this week?"},{title:"Analyze customer",subtitle:"satisfaction scores"},{title:"Show me inventory",subtitle:"items running low"},{title:"What's the profit",subtitle:"margin by category?"},{title:"Which employees",subtitle:"need performance reviews?"},{title:"Analyze peak",subtitle:"hours and staffing needs"},{title:"Show me cash flow",subtitle:"projections for next month"},{title:"Which menu items",subtitle:"should we promote?"},{title:"Analyze delivery",subtitle:"vs dine-in performance"},{title:"What are the main",subtitle:"operational bottlenecks?"},{title:"Show me seasonal",subtitle:"trends in sales data"},{title:"Which equipment",subtitle:"needs maintenance soon?"},{title:"Analyze table",subtitle:"turnover rates"},{title:"What's the impact",subtitle:"of weather on sales?"},{title:"Show me employee",subtitle:"productivity metrics"},{title:"Write me an essay",subtitle:"about the future of AI"},{title:"Summarise",subtitle:"my sales data"}],T=(O,w)=>O+" "+w,b=r||{},A=u||{},x=Object.keys(b).length+Object.keys(A).length,z=Math.max(0,10-x),M=O=>{d(O)};return $.jsx("div",{className:"px-4 rounded-lg ",children:$.jsx("div",{className:"flex flex-wrap gap-2 overflow-y-auto justify-center",style:{maxHeight:"380px"},children:v.slice(0,z).map((O,w)=>$.jsx(Vu.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:10},transition:{delay:.2+(x+w)*.1},children:$.jsx(cv,{variant:"suggestion",className:m.suggestions,onClick:()=>M(T(O.title,O.subtitle)),children:$.jsxs($d,{children:[$.jsx("div",{className:"",children:$.jsx(fv,{variant:"suggestion",className:m.cardTitle,children:O.title})}),$.jsx("p",{className:m.cardSubtitle,children:O.subtitle})]})})},`placeholder-${w}`))})})}function mD(u){const r=new Date;return u.toDateString()===r.toDateString()}function O4(u){const r=new Date,d=new Date(r.getTime()-10080*60*1e3);return u>=d&&!mD(u)}function R4(u){const r=new Date,d=new Date(r.getTime()-720*60*60*1e3),m=new Date(r.getTime()-10080*60*1e3);return u>=d&&u<m}function w4(u){const r={today:[],last7Days:[],last30Days:[],older:[]};return u.forEach(d=>{const m=new Date(d.lastMessageAt);mD(m)?r.today.push(d):O4(m)?r.last7Days.push(d):R4(m)?r.last30Days.push(d):r.older.push(d)}),r}function U4({threads:u,selectedThreadId:r,onSelectThread:d,isLoading:m,error:v,onResetChat:T}){const[b,A]=ut.useState(!1),[x,z]=ut.useState(""),M=ut.useRef(null),O=u.find(dt=>dt.id===r),w=O?.title?pA(O.title):"",Q=x?u.filter(dt=>dt.title.toLowerCase().includes(x.toLowerCase())):u,X=w4(Q);ut.useEffect(()=>{function dt(ht){M.current&&!M.current.contains(ht.target)&&A(!1)}if(b)return document.addEventListener("mousedown",dt),()=>document.removeEventListener("mousedown",dt)},[b]);const lt=dt=>{d(dt),A(!1),z("")},ot=(dt,ht)=>ht.length===0?null:$.jsxs("div",{className:"mb-3",children:[$.jsx("div",{className:"px-3 py-1.5 text-xs font-semibold text-gray-500 dark:text-gray-400 uppercase tracking-wider",children:dt}),$.jsx("div",{className:"space-y-0.5",children:ht.map(Tt=>$.jsx("button",{onClick:()=>lt(Tt.id),className:yl("w-full text-left px-3 py-2 text-sm rounded-md transition-colors","hover:bg-gray-100 dark:hover:bg-gray-800",Tt.id===r&&"bg-gray-100 dark:bg-gray-800 font-medium"),children:$.jsx("div",{className:"font-medium text-gray-900 dark:text-gray-100 truncate",children:pA(Tt.title)||"Untitled Thread"})},Tt.id))})]},dt),nt=Dp();return $.jsxs("div",{ref:M,className:"relative p-4 pb-3",children:[$.jsxs("div",{className:"flex flex-row justify-between items-center gap-2 w-full",children:[$.jsx("span",{className:`flex-1 truncate ${nt.headerTitle}`,children:m?"Loading threads...":w}),$.jsxs("div",{className:"flex flex-row gap-2",children:[$.jsx("button",{"aria-label":"New chat",title:"New chat",className:nt.headerButtons,onClick:T,children:$.jsx(D3,{size:nt.headerButtonSize})}),$.jsx("button",{onClick:()=>A(!b),disabled:m,className:nt.headerButtons,"aria-label":"Select thread",children:$.jsx(C3,{size:nt.headerButtonSize})})]})]}),b&&$.jsxs("div",{className:yl("absolute z-50 mx-4 mt-2","bg-white dark:bg-gray-800","border border-gray-300 dark:border-gray-700","rounded-lg shadow-lg","max-h-96 overflow-hidden flex flex-col"),children:[$.jsx("div",{className:"p-3 border-b border-gray-200 dark:border-gray-700",children:$.jsx("input",{type:"text",placeholder:"Search threads...",value:x,onChange:dt=>z(dt.target.value),className:yl("w-full px-3 py-2 text-sm","bg-gray-50 dark:bg-gray-900","border border-gray-300 dark:border-gray-600","rounded-md","text-gray-900 dark:text-gray-100","placeholder:text-gray-500 dark:placeholder:text-gray-400","focus:outline-none focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-400"),autoFocus:!0})}),$.jsx("div",{className:"overflow-y-auto p-2",children:v?$.jsx("div",{className:"px-3 py-8 text-center text-sm text-red-600 dark:text-red-400",children:"Failed to load threads"}):Q.length===0?$.jsx("div",{className:"px-3 py-8 text-center text-sm text-gray-500 dark:text-gray-400",children:x?"No threads found":"No threads available"}):$.jsxs($.Fragment,{children:[ot("Today",X.today),ot("Last 7 Days",X.last7Days),ot("Last 30 Days",X.last30Days),ot("Older",X.older)]})})]})]})}async function _4(u,r,d,m=100,v=0){if(!u)throw new Error("Copilot ID is required");if(!r)throw new Error("User ID is required");if(!d)throw new Error("API key is required");const T=new URL(`http://localhost:8080/api/v1/copilot/${u}/threads/list`);T.searchParams.append("externalUserId",r),T.searchParams.append("limit",m.toString()),T.searchParams.append("offset",v.toString());const b={"Content-Type":"application/json",Authorization:`Bearer ${d}`};try{const A=await fetch(T.toString(),{method:"GET",headers:b});if(!A.ok){let M="";try{const Q=A.headers.get("content-type");if(Q&&Q.includes("application/json")){const X=await A.json();M=X.message||X.error||X.details||""}else{const X=await A.text();X&&(M=X)}}catch{}const O=`HTTP error! status: ${A.status}`,w=M?`${O}
264
+ ${le}`:C;throw new Error(L)}if(!ue.body)throw new Error("Response body is null");const jt=ue.body.getReader(),Ht=new TextDecoder;let qt="";try{for(;;){const{done:le,value:C}=await jt.read();if(le)break;const W=Ht.decode(C,{stream:!0}).split(`
265
+ `).filter(it=>it.trim());for(const it of W)try{const Et=it.startsWith("data: ")?it.slice(6):it;if(!Et.trim())continue;const st=JSON.parse(Et);switch(console.log("📥 Received chunk:",st),st.type){case"tool-call":{const mt=st.payload,I=mt?.toolCallId||st.toolCallId,et=mt?.toolName||st.toolName,Yt=mt?.args||st.args;if(I&&et){const Xe=K.current.get(I);let ve={};if(Xe)try{ve=JSON.parse(Xe),console.log("✅ Parsed accumulated args:",ve)}catch(We){console.warn("⚠️ Failed to parse accumulated args, using event args:",We),ve=Yt||{}}else ve=Yt||{};tt(We=>We.map(te=>{if(te.role==="assistant"&&te.id===vt.id){const Kt=te.streamItems,$=Kt.findIndex(ie=>ie.type==="tool-call"&&ie.toolCall?.id===I);if($!==-1){const ie=[...Kt];return ie[$]={...ie[$],toolCall:{...ie[$].toolCall,toolName:et,args:ve}},{...te,streamItems:ie}}else return{...te,streamItems:[...Kt,{type:"tool-call",toolCall:{id:I,toolName:et,args:ve}}]}}return te})),K.current.delete(I),ct.current=I}break}case"tool-result":{const mt=st.payload;let I=mt?.toolCallId||st.toolCallId;const et=mt?.result||st.result;console.log("📦 tool-result received:",{toolCallId:I,hasResult:!!et,resultKeys:et?Object.keys(et):[],payloadToolCallId:mt?.toolCallId,mostRecentToolCallId:ct.current}),!I&&ct.current&&(I=ct.current,console.log("⚠️ tool-result missing toolCallId, using most recent:",I)),I&&et?tt(Yt=>Yt.map(Xe=>{if(Xe.role==="assistant"&&Xe.id===vt.id){const ve=Xe.streamItems,We=ve.filter($=>$.type==="tool-call").map($=>{const ie=$.toolCall;return{id:ie?.id,toolName:ie?.toolName,hasResult:!!ie?.result}});console.log("🔍 Existing tool calls in streamItems:",We),console.log("🔍 Looking for toolCallId:",I);let te=!1;const Kt=ve.map($=>{if($.type==="tool-call"){const ie=$.toolCall;if(ie?.id===I&&!ie?.result)return te=!0,console.log("✅ Found matching tool call by ID, attaching result"),{...$,toolCall:{...ie,result:et}}}return $});if(!te){console.log("⚠️ Could not find tool call by ID, trying to match most recent tool call without result");for(let $=Kt.length-1;$>=0;$--){const ie=Kt[$];if(ie.type==="tool-call"){const Fe=ie.toolCall;if(!Fe?.result){Kt[$]={...ie,toolCall:{...Fe,result:et}},te=!0,console.log("✅ Matched tool call by finding most recent without result");break}}}}if(te)return{...Xe,streamItems:Kt};console.warn("⚠️ Could not find matching tool call for result:",{resultToolCallId:I,toolResult:et,streamItemsCount:ve.length})}return Xe})):console.warn("⚠️ tool-result event missing required fields:",{resultToolCallId:I,hasToolResult:!!et,mostRecentToolCallId:ct.current});break}case"text-delta":{const mt=st.textDelta||st.payload?.text;mt&&(qt+=mt,ut(qt),tt(I=>I.map(et=>et.role==="assistant"&&et.id===vt.id?{...et,content:qt}:et)));break}case"start":st.runId&&st.from==="WORKFLOW"&&console.log("🚀 Workflow started:",st.runId);break;case"step-start":if(st.runId&&st.payload&&st.from==="WORKFLOW"){const mt=st.payload,I=mt.stepCallId,et=mt.stepName,Yt=mt.args,Xe=Yt?`Arguments: ${JSON.stringify(Yt,null,2)}`:"";St.current.set(I,{step_id:I,step_name:et,step_description:Xe,step_status:"running",args:Yt,timestamp:new Date});const ve=Array.from(St.current.values()),We={type:"workflow-steps",workflow_id:et,run_id:st.runId,steps:ve};tt(te=>te.map(Kt=>{if(Kt.role==="assistant"&&Kt.id===vt.id){const $=Kt.streamItems,ie=$.findIndex(Fe=>Fe.type==="workflow-steps"||Fe.type==="workflow-steps-update");if(ie!==-1){const Fe=[...$];return Fe[ie]={...Fe[ie],workflowSteps:We},{...Kt,streamItems:Fe}}else return{...Kt,streamItems:[...$,{type:"workflow-steps",workflowSteps:We}]}}return Kt}))}break;case"step-result":if(st.runId&&st.payload&&st.from==="WORKFLOW"){const mt=st.payload,I=mt.stepCallId,et=mt.status,Yt=St.current.get(I);if(Yt){St.current.set(I,{...Yt,step_status:et==="success"?"success":"error"});const Xe=Array.from(St.current.values()),ve={type:"workflow-steps-update",workflow_id:Yt.step_name,run_id:st.runId,steps:Xe};tt(We=>We.map(te=>te.role==="assistant"&&te.id===vt.id?{...te,streamItems:te.streamItems.map(Kt=>Kt.type==="workflow-steps"||Kt.type==="workflow-steps-update"?{...Kt,workflowSteps:ve}:Kt)}:te))}}break;case"step-output":if(st.payload&&st.from==="USER"){const mt=st.payload.output;mt&&(qt+=mt,ut(qt),tt(I=>I.map(et=>et.role==="assistant"&&et.id===vt.id?{...et,content:qt}:et)))}break;case"step-finish":st.runId&&st.payload&&st.from==="AGENT"&&console.log("🏁 Step finished:",st.runId);break;case"tool-call-input-streaming-start":{const I=st.payload?.toolCallId||st.toolCallId;I&&(K.current.set(I,""),console.log("🔄 Tool call input streaming started for:",I));break}case"tool-call-delta":{const mt=st.payload,I=mt?.toolCallId||st.toolCallId,et=mt?.argsTextDelta||st.argsTextDelta,Yt=mt?.toolName||st.toolName;if(I&&et){const ve=(K.current.get(I)||"")+et;K.current.set(I,ve);try{const We=JSON.parse(ve);console.log("📝 Tool call delta accumulated, parsed args:",We),tt(te=>te.map(Kt=>{if(Kt.role==="assistant"&&Kt.id===vt.id){const $=Kt.streamItems,ie=$.findIndex(Fe=>Fe.type==="tool-call"&&Fe.toolCall?.id===I);if(ie!==-1){const Fe=[...$];return Fe[ie]={...Fe[ie],toolCall:{...Fe[ie].toolCall,args:We}},{...Kt,streamItems:Fe}}else return{...Kt,streamItems:[...$,{type:"tool-call",toolCall:{id:I,toolName:Yt||"Tool calling...",args:We}}]}}return Kt}))}catch{console.log("📝 Tool call delta accumulated (JSON incomplete, waiting for more):",ve)}}break}case"tool-call-input-streaming-end":{const I=st.payload?.toolCallId||st.toolCallId;if(I){const et=K.current.get(I);if(et)try{const Yt=JSON.parse(et);console.log("✅ Tool call input streaming ended, final args:",Yt),tt(Xe=>Xe.map(ve=>{if(ve.role==="assistant"&&ve.id===vt.id){const We=ve.streamItems,te=We.findIndex(Kt=>Kt.type==="tool-call"&&Kt.toolCall?.id===I);if(te!==-1){const Kt=[...We];return Kt[te]={...Kt[te],toolCall:{...Kt[te].toolCall,args:Yt}},{...ve,streamItems:Kt}}}return ve}))}catch(Yt){console.warn("⚠️ Failed to parse final accumulated args:",Yt)}}break}case"error":{const I=st.error?.message||st.message||"An error occurred during streaming";console.error("❌ Stream error received:",I),tt(et=>et.map(Yt=>Yt.role==="assistant"&&Yt.id===vt.id?{...Yt,content:I,isError:!0,errorType:"stream"}:Yt)),k(!1);return}case"finish":st.runId&&st.from==="WORKFLOW"&&console.log("✅ Workflow finished:",st.runId);break}}catch(Et){console.warn("⚠️ Failed to parse chunk:",{originalLine:it,jsonString:it.startsWith("data: ")?it.slice(6):it,error:Et,lineLength:it.length})}}}finally{jt.releaseLock()}tt(le=>le.map(C=>C.role==="assistant"&&C.id===vt.id?{...C,content:qt}:C))}catch(xe){console.error("❌ Error sending message:",xe);let at="An unexpected error occurred",ue,jt;if(xe instanceof Error){at=xe.message;const Ht=at.match(/HTTP error! status: (\d+)/i);Ht?(jt=parseInt(Ht[1],10),ue="http"):at.includes("required")||at.includes("Copilot ID")||at.includes("User ID")||at.includes("API key")?ue="validation":(at.includes("body is null")||at.includes("network")||at.includes("fetch")||at.includes("Failed to fetch"))&&(ue="network")}tt(Ht=>Ht.map(qt=>qt.id===vt.id?{...qt,content:at,isError:!0,errorType:ue,statusCode:jt}:qt))}finally{k(!1)}},[_t,v,U,w]),Wt=ht.useCallback(()=>{Tt(me=>me+1)},[]),he=ht.useCallback(()=>{ot(null),tt([]),ut(""),Ct.current=new Map,St.current=new Map,K.current=new Map,ct.current=null,Wt(),console.log("🔄 Started new conversation thread")},[Wt]);return{sendMessage:zt,isStreaming:E,streamedText:lt,messages:V,setMessages:tt,threadId:_t,resetThread:he,animationKey:wt,triggerAnimation:Wt}}function IT({workflows:v,agents:U,setInput:w}){const E=Am(),k=[{title:"What's the latest news",subtitle:"in France?"},{title:"What's the weather like",subtitle:"in Tokyo?"},{title:"Analyze today's sales",subtitle:"performance vs yesterday"},{title:"Which menu items",subtitle:"are selling best this week?"},{title:"Show me staff",subtitle:"scheduling for this weekend"},{title:"What are the top",subtitle:"cost drivers this month?"},{title:"Generate a report",subtitle:"on food waste trends"},{title:"Which suppliers",subtitle:"need payment this week?"},{title:"Analyze customer",subtitle:"satisfaction scores"},{title:"Show me inventory",subtitle:"items running low"},{title:"What's the profit",subtitle:"margin by category?"},{title:"Which employees",subtitle:"need performance reviews?"},{title:"Analyze peak",subtitle:"hours and staffing needs"},{title:"Show me cash flow",subtitle:"projections for next month"},{title:"Which menu items",subtitle:"should we promote?"},{title:"Analyze delivery",subtitle:"vs dine-in performance"},{title:"What are the main",subtitle:"operational bottlenecks?"},{title:"Show me seasonal",subtitle:"trends in sales data"},{title:"Which equipment",subtitle:"needs maintenance soon?"},{title:"Analyze table",subtitle:"turnover rates"},{title:"What's the impact",subtitle:"of weather on sales?"},{title:"Show me employee",subtitle:"productivity metrics"},{title:"Write me an essay",subtitle:"about the future of AI"},{title:"Summarise",subtitle:"my sales data"}],lt=(K,ct)=>K+" "+ct,ut=U||{},V=v||{},tt=Object.keys(ut).length+Object.keys(V).length,Ct=Math.max(0,10-tt),St=K=>{w(K)};return q.jsx("div",{className:"px-4 rounded-lg ",children:q.jsx("div",{className:"flex flex-wrap gap-2 overflow-y-auto justify-center",style:{maxHeight:"380px"},children:k.slice(0,Ct).map((K,ct)=>q.jsx(Ti.motion.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:10},transition:{delay:.2+(tt+ct)*.1},children:q.jsx(Mp,{variant:"suggestion",className:E.suggestions,onClick:()=>St(lt(K.title,K.subtitle)),children:q.jsxs(Wr,{children:[q.jsx("div",{className:"",children:q.jsx(Op,{variant:"suggestion",className:E.cardTitle,children:K.title})}),q.jsx("p",{className:E.cardSubtitle,children:K.subtitle})]})})},`placeholder-${ct}`))})})}function Wb(v){const U=new Date;return v.toDateString()===U.toDateString()}function PT(v){const U=new Date,w=new Date(U.getTime()-10080*60*1e3);return v>=w&&!Wb(v)}function t3(v){const U=new Date,w=new Date(U.getTime()-720*60*60*1e3),E=new Date(U.getTime()-10080*60*1e3);return v>=w&&v<E}function e3(v){const U={today:[],last7Days:[],last30Days:[],older:[]};return v.forEach(w=>{const E=new Date(w.lastMessageAt);Wb(E)?U.today.push(w):PT(E)?U.last7Days.push(w):t3(E)?U.last30Days.push(w):U.older.push(w)}),U}function l3({threads:v,selectedThreadId:U,onSelectThread:w,isLoading:E,error:k,onResetChat:lt}){const[ut,V]=ht.useState(!1),[tt,Ct]=ht.useState(""),St=ht.useRef(null),K=v.find(Wt=>Wt.id===U),ct=K?.title?Lb(K.title):"",_t=tt?v.filter(Wt=>Wt.title.toLowerCase().includes(tt.toLowerCase())):v,ot=e3(_t);ht.useEffect(()=>{function Wt(he){St.current&&!St.current.contains(he.target)&&V(!1)}if(ut)return document.addEventListener("mousedown",Wt),()=>document.removeEventListener("mousedown",Wt)},[ut]);const wt=Wt=>{w(Wt),V(!1),Ct("")},Tt=(Wt,he)=>he.length===0?null:q.jsxs("div",{className:"mb-3",children:[q.jsx("div",{className:"px-3 py-1.5 text-xs font-semibold text-gray-500 dark:text-gray-400 uppercase tracking-wider",children:Wt}),q.jsx("div",{className:"space-y-0.5",children:he.map(me=>q.jsx("button",{onClick:()=>wt(me.id),className:ln("w-full text-left px-3 py-2 text-sm rounded-md transition-colors","hover:bg-gray-100 dark:hover:bg-gray-800",me.id===U&&"bg-gray-100 dark:bg-gray-800 font-medium"),children:q.jsx("div",{className:"font-medium text-gray-900 dark:text-gray-100 truncate",children:Lb(me.title)||"Untitled Thread"})},me.id))})]},Wt),zt=Am();return q.jsxs("div",{ref:St,className:"relative p-4 pb-3",children:[q.jsxs("div",{className:"flex flex-row justify-between items-center gap-2 w-full",children:[q.jsx("span",{className:`flex-1 truncate ${zt.headerTitle}`,children:E?"Loading threads...":ct}),q.jsxs("div",{className:"flex flex-row gap-2",children:[q.jsx("button",{"aria-label":"New chat",title:"New chat",className:zt.headerButtons,onClick:lt,children:q.jsx(MT,{size:zt.headerButtonSize})}),q.jsx("button",{onClick:()=>V(!ut),disabled:E,className:zt.headerButtons,"aria-label":"Select thread",children:q.jsx(OT,{size:zt.headerButtonSize})})]})]}),ut&&q.jsxs("div",{className:ln("absolute z-50 mx-4 mt-2","bg-white dark:bg-gray-800","border border-gray-300 dark:border-gray-700","rounded-lg shadow-lg","max-h-96 overflow-hidden flex flex-col"),children:[q.jsx("div",{className:"p-3 border-b border-gray-200 dark:border-gray-700",children:q.jsx("input",{type:"text",placeholder:"Search threads...",value:tt,onChange:Wt=>Ct(Wt.target.value),className:ln("w-full px-3 py-2 text-sm","bg-gray-50 dark:bg-gray-900","border border-gray-300 dark:border-gray-600","rounded-md","text-gray-900 dark:text-gray-100","placeholder:text-gray-500 dark:placeholder:text-gray-400","focus:outline-none focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-400"),autoFocus:!0})}),q.jsx("div",{className:"overflow-y-auto p-2",children:k?q.jsx("div",{className:"px-3 py-8 text-center text-sm text-red-600 dark:text-red-400",children:"Failed to load threads"}):_t.length===0?q.jsx("div",{className:"px-3 py-8 text-center text-sm text-gray-500 dark:text-gray-400",children:tt?"No threads found":"No threads available"}):q.jsxs(q.Fragment,{children:[Tt("Today",ot.today),Tt("Last 7 Days",ot.last7Days),Tt("Last 30 Days",ot.last30Days),Tt("Older",ot.older)]})})]})]})}async function a3(v,U,w,E=100,k=0){if(!v)throw new Error("Copilot ID is required");if(!U)throw new Error("User ID is required");if(!w)throw new Error("API key is required");const lt=new URL(`http://localhost:8080/api/v1/copilot/${v}/threads/list`);lt.searchParams.append("externalUserId",U),lt.searchParams.append("limit",E.toString()),lt.searchParams.append("offset",k.toString());const ut={"Content-Type":"application/json",Authorization:`Bearer ${w}`};try{const V=await fetch(lt.toString(),{method:"GET",headers:ut});if(!V.ok){let St="";try{const _t=V.headers.get("content-type");if(_t&&_t.includes("application/json")){const ot=await V.json();St=ot.message||ot.error||ot.details||""}else{const ot=await V.text();ot&&(St=ot)}}catch{}const K=`HTTP error! status: ${V.status}`,ct=St?`${K}
295
266
 
296
- ${M}`:O;throw new Error(w)}return(await A.json()).data?.threads||[]}catch(A){throw A instanceof Error?A:new Error("Failed to fetch threads list")}}async function N4(u,r,d,m,v=100,T=0){if(!u)throw new Error("Copilot ID is required");if(!r)throw new Error("Thread ID is required");if(!d)throw new Error("User ID is required");if(!m)throw new Error("API key is required");const b=new URL(`http://localhost:8080/api/v1/copilot/${u}/threads/${r}/messages`);b.searchParams.append("externalUserId",d),b.searchParams.append("limit",v.toString()),b.searchParams.append("offset",T.toString());const A={"Content-Type":"application/json",Authorization:`Bearer ${m}`};try{const x=await fetch(b.toString(),{method:"GET",headers:A});if(!x.ok){let O="";try{const X=x.headers.get("content-type");if(X&&X.includes("application/json")){const lt=await x.json();O=lt.message||lt.error||lt.details||""}else{const lt=await x.text();lt&&(O=lt)}}catch{}const w=`HTTP error! status: ${x.status}`,Q=O?`${w}
267
+ ${St}`:K;throw new Error(ct)}return(await V.json()).data?.threads||[]}catch(V){throw V instanceof Error?V:new Error("Failed to fetch threads list")}}async function n3(v,U,w,E,k=100,lt=0){if(!v)throw new Error("Copilot ID is required");if(!U)throw new Error("Thread ID is required");if(!w)throw new Error("User ID is required");if(!E)throw new Error("API key is required");const ut=new URL(`http://localhost:8080/api/v1/copilot/${v}/threads/${U}/messages`);ut.searchParams.append("externalUserId",w),ut.searchParams.append("limit",k.toString()),ut.searchParams.append("offset",lt.toString());const V={"Content-Type":"application/json",Authorization:`Bearer ${E}`};try{const tt=await fetch(ut.toString(),{method:"GET",headers:V});if(!tt.ok){let K="";try{const ot=tt.headers.get("content-type");if(ot&&ot.includes("application/json")){const wt=await tt.json();K=wt.message||wt.error||wt.details||""}else{const wt=await tt.text();wt&&(K=wt)}}catch{}const ct=`HTTP error! status: ${tt.status}`,_t=K?`${ct}
297
268
 
298
- ${O}`:w;throw new Error(Q)}return(await x.json()).data?.messages||[]}catch(x){throw x instanceof Error?x:new Error("Failed to fetch thread messages")}}function j4(u){try{const r=JSON.parse(u);if(r.format!==2||!Array.isArray(r.parts))return{streamItems:[],content:u};const d=[];let m="";for(const v of r.parts)v.type==="text"&&v.text?m+=v.text:v.type==="tool-invocation"&&v.toolInvocation&&d.push({type:"tool-call",toolCall:{id:v.toolInvocation.toolCallId||`tool-${Date.now()}-${Math.random()}`,toolName:v.toolInvocation.toolName,args:v.toolInvocation.args,result:v.toolInvocation.result}});return{streamItems:d,content:m||r.content||""}}catch(r){return console.warn("Failed to parse V2 message content:",r),{streamItems:[],content:u}}}function B4(u){const{streamItems:r,content:d}=j4(u.content);return{id:u.id||`msg-${Date.now()}-${Math.random().toString(36).substr(2,9)}`,role:u.role,content:d,streamItems:r,timestamp:new Date(u.createdAt)}}function V4(u,r,d){const[m,v]=ut.useState([]),[T,b]=ut.useState(!1),[A,x]=ut.useState(null),[z,M]=ut.useState(null),[O,w]=ut.useState(!1),Q=ut.useCallback(async()=>{if(!(!u||!r||!d)){b(!0),x(null);try{const ot=await _4(u,r,d);v(ot)}catch(ot){console.error("Failed to load threads:",ot),x(ot instanceof Error?ot:new Error("Failed to load threads"))}finally{b(!1)}}},[u,r,d]);ut.useEffect(()=>{Q()},[Q]);const X=ut.useCallback(async ot=>{if(!u||!r||!d)throw new Error("Missing required parameters");w(!0),M(ot);try{return(await N4(u,ot,r,d)).map(B4)}catch(nt){throw console.error("Failed to load thread messages:",nt),nt}finally{w(!1)}},[u,r,d]),lt=ut.useCallback(()=>{M(null)},[]);return{threads:m,isLoadingThreads:T,threadsError:A,selectedThreadId:z,isLoadingMessages:O,selectThread:X,clearSelection:lt,loadThreads:Q}}const H4=({copilotId:u,userId:r,apiKey:d})=>{const{sendMessage:m,isStreaming:v,messages:T,setMessages:b,resetThread:A,animationKey:x,triggerAnimation:z,threadId:M}=M4(u||"",r,d),{threads:O,isLoadingThreads:w,threadsError:Q,selectThread:X,clearSelection:lt,loadThreads:ot}=V4(u||"",r,d),[nt,dt]=ut.useState(null),[ht,Tt]=ut.useState(""),St=ut.useRef(null),bt=ut.useRef(!1),Dt=ut.useRef(null),I=ut.useRef(!1);ut.useEffect(()=>{Dt.current===null&&M!==null&&(I.current=!0),Dt.current=M},[M]),ut.useEffect(()=>{let Lt,Gt;return bt.current&&!v&&(I.current&&M&&(Lt=setTimeout(async()=>{await ot(),dt(M),I.current=!1},1e3)),Gt=setTimeout(()=>{St.current&&St.current()},50)),bt.current=v,()=>{Lt&&clearTimeout(Lt),Gt&&clearTimeout(Gt)}},[v,ot]);const wt=Lt=>{Tt(Lt),setTimeout(()=>{St.current&&St.current()},50)},yt=Lt=>{St.current=Lt};ut.useEffect(()=>{const Lt=document.getElementById("sidebarai-container");if(!Lt)return;const Gt=new IntersectionObserver(j=>{j.forEach(F=>{F.isIntersecting&&T.length===0&&z()})},{threshold:.1});return Gt.observe(Lt),()=>{Gt.disconnect()}},[T.length,z]);const Qt=async Lt=>{try{const Gt=await X(Lt);b(Gt),dt(Lt),console.log("Loaded thread messages:",Gt)}catch(Gt){console.error("Failed to select thread:",Gt)}},Bt=async Lt=>{await m(Lt,nt||void 0),Tt("")},Vt=()=>{A(),lt(),dt(null),Dt.current=null,I.current=!1};return $.jsxs("div",{className:"flex flex-col h-full",children:[$.jsx(U4,{threads:O,selectedThreadId:nt,onSelectThread:Qt,isLoading:w,error:Q,onResetChat:Vt}),$.jsx("div",{className:"flex-1 overflow-y-auto max-w-3xl px-10 mx-auto w-full",children:$.jsx(C4,{messages:T,isStreaming:v,animationKey:x})}),$.jsxs("div",{className:"max-w-3xl px-10 mx-auto w-full",children:[T.length===0&&$.jsx(z4,{setInput:wt||(()=>{})},`suggestions-${x}`),$.jsx(O3,{onSendMessage:Bt,isStreaming:v,inputValue:ht,onInputChange:Tt,onFocusRequest:yt})]})]})},L4=({position:u,onMouseDown:r})=>{const d={position:"absolute",top:0,bottom:0,width:"6px",cursor:"col-resize",zIndex:10,transition:"background-color 0.2s ease",backgroundColor:"transparent",[u==="right"?"left":"right"]:0};return $.jsx("div",{style:d,onMouseDown:r,className:"resize-handle",title:"Drag to resize"})},q4=({position:u,initialWidth:r,onWidthChange:d,minWidth:m=300,maxWidth:v=.8})=>{const[T,b]=ut.useState(!1),A=ut.useRef(0),x=ut.useRef(0),z=ut.useRef("vw");ut.useEffect(()=>{z.current=r.includes("vw")?"vw":"px"},[r]);const M=ut.useCallback(X=>{const lt=u==="right"?A.current-X:X-A.current;let ot=x.current+lt;const nt=typeof v=="number"&&v<1?window.innerWidth*v:v;if(ot=Math.max(m,Math.min(ot,nt)),z.current==="vw"){const dt=ot/window.innerWidth*100;return`${Math.round(dt*100)/100}vw`}return`${Math.round(ot)}px`},[u,m,v]),O=ut.useCallback(X=>{X.preventDefault(),b(!0),A.current=X.clientX;const lt=document.getElementById("sidebarai-container");lt&&(x.current=lt.offsetWidth),lt?.classList.add("resizing")},[]),w=ut.useCallback(X=>{if(!T)return;const lt=M(X.clientX),ot=document.getElementById("sidebarai-container");ot&&(ot.style.width=lt),d?.(lt)},[T,M,d]),Q=ut.useCallback(()=>{if(!T)return;b(!1),document.getElementById("sidebarai-container")?.classList.remove("resizing")},[T]);return ut.useEffect(()=>{if(T)return document.addEventListener("mousemove",w),document.addEventListener("mouseup",Q),()=>{document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",Q)}},[T,w,Q]),{isDragging:T,onMouseDown:O}},dT=({config:u,onWidthChange:r})=>{const d=Dp(),{onMouseDown:m}=q4({position:u.position||"right",initialWidth:u.width||"45vw",onWidthChange:r});return $.jsxs("div",{style:{position:"relative",width:"100%",height:"100%"},className:d.sidebarContainer,children:[$.jsx(L4,{position:u.position||"right",onMouseDown:m}),$.jsx(H4,{userId:u.userId,copilotId:u.copilotId,apiKey:u.apiKey})]})};let nr=!1,Qc=null,hT=null,_a="right",jl="45vw",Xo=45,Qo="vw",mT,ar=null;const Hu="sidebarai-container",Zc={backgroundColor:"red",textColor:"blue",borderColor:"green",borderRadius:"20px",fontSize:"30px",fontFamily:"Arial, sans-serif",boxShadow:"0 4px 12px rgba(0, 0, 0, 0.15)",buttonColor:"white",buttonBgColor:"transparent",buttonHoverColor:"blue",transitionDuration:"0.5s"};function lr(u){const r=Zc.transitionDuration;u?document.body.style.transition=`margin ${r} ease`:document.body.style.transition=""}function pD(u){const r=parseFloat(u),d=u.includes("vw")?"vw":"px";Xo=r,Qo=d,jl=u;const m=document.getElementById(Hu);if(m){const v=m.style.transform;(v==="translateX(0px)"||v==="")&&(_a==="right"?document.body.style.marginRight=`${Xo}${Qo}`:document.body.style.marginLeft=`${Xo}${Qo}`)}}function Y4(u){const r=u.toLowerCase();return d=>{(/Mac|iPhone|iPod|iPad/.test(navigator.platform)?d.metaKey:d.ctrlKey)&&d.key.toLowerCase()===r&&(d.preventDefault(),pT())}}function yD(u){ar&&(document.removeEventListener("keydown",ar),ar=null),!(!u||!nr)&&(ar=Y4(u),document.addEventListener("keydown",ar),console.log(`⌨️ Keyboard shortcut registered: ${navigator.platform.includes("Mac")?"Cmd":"Ctrl"}+${u.toUpperCase()}`))}function gD(){ar&&(document.removeEventListener("keydown",ar),ar=null,console.log("⌨️ Keyboard shortcut unregistered"))}async function G4(u={}){if(nr){console.warn("SideNetAI SDK: Sidebar is already initialized");return}try{mT=u.apiKey;try{const x=await z3({projectId:u.copilotId,userId:u.userId,copilotId:u.copilotId,apiKey:u.apiKey});M3(x),console.log("✅ Tailwind config loaded from database")}catch(x){console.warn("⚠️ Failed to fetch config from database, using defaults:",x)}const r={position:u.position??"right",width:u.width??"45vw",userId:u.userId,copilotId:u.copilotId,apiKey:u.apiKey,defaultOpen:u.defaultOpen??!1},d=parseFloat(r.width),m=r.width.includes("vw")?"vw":"px";Xo=d,Qo=m,jl=`${Xo}${Qo}`,_a=r.position,hT=document.body.style.overflow||"";let v=document.getElementById(Hu);if(!v){v=document.createElement("div"),v.id=Hu;const x=r.defaultOpen?"translateX(0px)":`translateX(${r.position==="right"?"100%":"-100%"})`,z=Zc.transitionDuration??"0.3s";v.style.cssText=`
269
+ ${K}`:ct;throw new Error(_t)}return(await tt.json()).data?.messages||[]}catch(tt){throw tt instanceof Error?tt:new Error("Failed to fetch thread messages")}}function u3(v){try{const U=JSON.parse(v);if(U.format!==2||!Array.isArray(U.parts))return{streamItems:[],content:v};const w=[];let E="";for(const k of U.parts)k.type==="text"&&k.text?E+=k.text:k.type==="tool-invocation"&&k.toolInvocation&&w.push({type:"tool-call",toolCall:{id:k.toolInvocation.toolCallId||`tool-${Date.now()}-${Math.random()}`,toolName:k.toolInvocation.toolName,args:k.toolInvocation.args,result:k.toolInvocation.result}});return{streamItems:w,content:E||U.content||""}}catch(U){return console.warn("Failed to parse V2 message content:",U),{streamItems:[],content:v}}}function i3(v){const{streamItems:U,content:w}=u3(v.content);return{id:v.id||`msg-${Date.now()}-${Math.random().toString(36).substr(2,9)}`,role:v.role,content:w,streamItems:U,timestamp:new Date(v.createdAt)}}function c3(v,U,w){const[E,k]=ht.useState([]),[lt,ut]=ht.useState(!1),[V,tt]=ht.useState(null),[Ct,St]=ht.useState(null),[K,ct]=ht.useState(!1),_t=ht.useCallback(async()=>{if(!(!v||!U||!w)){ut(!0),tt(null);try{const Tt=await a3(v,U,w);k(Tt)}catch(Tt){console.error("Failed to load threads:",Tt),tt(Tt instanceof Error?Tt:new Error("Failed to load threads"))}finally{ut(!1)}}},[v,U,w]);ht.useEffect(()=>{_t()},[_t]);const ot=ht.useCallback(async Tt=>{if(!v||!U||!w)throw new Error("Missing required parameters");ct(!0),St(Tt);try{return(await n3(v,Tt,U,w)).map(i3)}catch(zt){throw console.error("Failed to load thread messages:",zt),zt}finally{ct(!1)}},[v,U,w]),wt=ht.useCallback(()=>{St(null)},[]);return{threads:E,isLoadingThreads:lt,threadsError:V,selectedThreadId:Ct,isLoadingMessages:K,selectThread:ot,clearSelection:wt,loadThreads:_t}}const o3=({copilotId:v,userId:U,apiKey:w})=>{const{sendMessage:E,isStreaming:k,messages:lt,setMessages:ut,resetThread:V,animationKey:tt,triggerAnimation:Ct,threadId:St}=FT(v||"",U,w),{threads:K,isLoadingThreads:ct,threadsError:_t,selectThread:ot,clearSelection:wt,loadThreads:Tt}=c3(v||"",U,w),[zt,Wt]=ht.useState(null),[he,me]=ht.useState(""),cl=ht.useRef(null),oe=ht.useRef(!1),Ge=ht.useRef(null),vt=ht.useRef(!1);ht.useEffect(()=>{Ge.current===null&&St!==null&&(vt.current=!0),Ge.current=St},[St]),ht.useEffect(()=>{let qt,le;return oe.current&&!k&&(vt.current&&St&&(qt=setTimeout(async()=>{await Tt(),Wt(St),vt.current=!1},1e3)),le=setTimeout(()=>{cl.current&&cl.current()},50)),oe.current=k,()=>{qt&&clearTimeout(qt),le&&clearTimeout(le)}},[k,Tt]);const xe=qt=>{me(qt),setTimeout(()=>{cl.current&&cl.current()},50)},at=qt=>{cl.current=qt};ht.useEffect(()=>{const qt=document.getElementById("sidebarai-container");if(!qt)return;const le=new IntersectionObserver(C=>{C.forEach(L=>{L.isIntersecting&&lt.length===0&&Ct()})},{threshold:.1});return le.observe(qt),()=>{le.disconnect()}},[lt.length,Ct]);const ue=async qt=>{try{const le=await ot(qt);ut(le),Wt(qt),console.log("Loaded thread messages:",le)}catch(le){console.error("Failed to select thread:",le)}},jt=async qt=>{await E(qt,zt||void 0),me("")},Ht=()=>{V(),wt(),Wt(null),Ge.current=null,vt.current=!1};return q.jsxs("div",{className:"flex flex-col h-full",children:[q.jsx(l3,{threads:K,selectedThreadId:zt,onSelectThread:ue,isLoading:ct,error:_t,onResetChat:Ht}),q.jsx("div",{className:"flex-1 overflow-y-auto max-w-3xl px-10 mx-auto w-full",children:q.jsx(WT,{messages:lt,isStreaming:k,animationKey:tt})}),q.jsxs("div",{className:"max-w-3xl px-10 mx-auto w-full",children:[lt.length===0&&q.jsx(IT,{setInput:xe||(()=>{})},`suggestions-${tt}`),q.jsx(RT,{onSendMessage:jt,isStreaming:k,inputValue:he,onInputChange:me,onFocusRequest:at})]})]})},f3=({position:v,onMouseDown:U})=>{const w={position:"absolute",top:0,bottom:0,width:"6px",cursor:"col-resize",zIndex:10,transition:"background-color 0.2s ease",backgroundColor:"transparent",[v==="right"?"left":"right"]:0};return q.jsx("div",{style:w,onMouseDown:U,className:"resize-handle",title:"Drag to resize"})},s3=({position:v,initialWidth:U,onWidthChange:w,minWidth:E=300,maxWidth:k=.8})=>{const[lt,ut]=ht.useState(!1),V=ht.useRef(0),tt=ht.useRef(0),Ct=ht.useRef("vw");ht.useEffect(()=>{Ct.current=U.includes("vw")?"vw":"px"},[U]);const St=ht.useCallback(ot=>{const wt=v==="right"?V.current-ot:ot-V.current;let Tt=tt.current+wt;const zt=typeof k=="number"&&k<1?window.innerWidth*k:k;if(Tt=Math.max(E,Math.min(Tt,zt)),Ct.current==="vw"){const Wt=Tt/window.innerWidth*100;return`${Math.round(Wt*100)/100}vw`}return`${Math.round(Tt)}px`},[v,E,k]),K=ht.useCallback(ot=>{ot.preventDefault(),ut(!0),V.current=ot.clientX;const wt=document.getElementById("sidebarai-container");wt&&(tt.current=wt.offsetWidth),wt?.classList.add("resizing")},[]),ct=ht.useCallback(ot=>{if(!lt)return;const wt=St(ot.clientX),Tt=document.getElementById("sidebarai-container");Tt&&(Tt.style.width=wt),w?.(wt)},[lt,St,w]),_t=ht.useCallback(()=>{if(!lt)return;ut(!1),document.getElementById("sidebarai-container")?.classList.remove("resizing")},[lt]);return ht.useEffect(()=>{if(lt)return document.addEventListener("mousemove",ct),document.addEventListener("mouseup",_t),()=>{document.removeEventListener("mousemove",ct),document.removeEventListener("mouseup",_t)}},[lt,ct,_t]),{isDragging:lt,onMouseDown:K}},u1=({config:v,onWidthChange:U})=>{const w=Am(),{onMouseDown:E}=s3({position:v.position||"right",initialWidth:v.width||"45vw",onWidthChange:U});return q.jsxs("div",{style:{position:"relative",width:"100%",height:"100%"},className:w.sidebarContainer,children:[q.jsx(f3,{position:v.position||"right",onMouseDown:E}),q.jsx(o3,{userId:v.userId,copilotId:v.copilotId,apiKey:v.apiKey})]})};let Mo=!1,os=null,i1=null,Ta="right",Tn="45vw",Ei=45,Ai="vw",c1,Oo=null;const dc="sidebarai-container",fs={backgroundColor:"red",textColor:"blue",borderColor:"green",borderRadius:"20px",fontSize:"30px",fontFamily:"Arial, sans-serif",boxShadow:"0 4px 12px rgba(0, 0, 0, 0.15)",buttonColor:"white",buttonBgColor:"transparent",buttonHoverColor:"blue",transitionDuration:"0.5s"};function Co(v){const U=fs.transitionDuration;v?document.body.style.transition=`margin ${U} ease`:document.body.style.transition=""}function Fb(v){const U=parseFloat(v),w=v.includes("vw")?"vw":"px";Ei=U,Ai=w,Tn=v;const E=document.getElementById(dc);if(E){const k=E.style.transform;(k==="translateX(0px)"||k==="")&&(Ta==="right"?document.body.style.marginRight=`${Ei}${Ai}`:document.body.style.marginLeft=`${Ei}${Ai}`)}}function r3(v){const U=v.toLowerCase();return w=>{(/Mac|iPhone|iPod|iPad/.test(navigator.platform)?w.metaKey:w.ctrlKey)&&w.key.toLowerCase()===U&&(w.preventDefault(),o1())}}function Ib(v){Oo&&(document.removeEventListener("keydown",Oo),Oo=null),!(!v||!Mo)&&(Oo=r3(v),document.addEventListener("keydown",Oo),console.log(`⌨️ Keyboard shortcut registered: ${navigator.platform.includes("Mac")?"Cmd":"Ctrl"}+${v.toUpperCase()}`))}function Pb(){Oo&&(document.removeEventListener("keydown",Oo),Oo=null,console.log("⌨️ Keyboard shortcut unregistered"))}async function d3(v={}){if(Mo){console.warn("SideNetAI SDK: Sidebar is already initialized");return}try{c1=v.apiKey;try{const tt=await UT({projectId:v.copilotId,userId:v.userId,copilotId:v.copilotId,apiKey:v.apiKey});CT(tt),console.log("✅ Tailwind config loaded from database")}catch(tt){console.warn("⚠️ Failed to fetch config from database, using defaults:",tt)}const U={position:v.position??"right",width:v.width??"45vw",userId:v.userId,copilotId:v.copilotId,apiKey:v.apiKey,defaultOpen:v.defaultOpen??!1},w=parseFloat(U.width),E=U.width.includes("vw")?"vw":"px";Ei=w,Ai=E,Tn=`${Ei}${Ai}`,Ta=U.position,i1=document.body.style.overflow||"";let k=document.getElementById(dc);if(!k){k=document.createElement("div"),k.id=dc;const tt=U.defaultOpen?"translateX(0px)":`translateX(${U.position==="right"?"100%":"-100%"})`,Ct=fs.transitionDuration??"0.3s";k.style.cssText=`
299
270
  position: fixed;
300
271
  top: 0;
301
272
  height: 100vh;
302
273
  z-index: 9999;
303
- ${r.position}: 0;
304
- width: ${d}${m};
305
- transform: ${x};
306
- transition: transform ${z} ease;
307
- `,document.body.appendChild(v)}vD(v),r.defaultOpen&&(r.position==="right"?document.body.style.marginRight=`${d}${m}`:document.body.style.marginLeft=`${d}${m}`),Qc=qM.createRoot(v),Qc.render($.jsx(ut.StrictMode,{children:$.jsx(bA,{children:$.jsx(dT,{config:{position:r.position,width:`${d}${m}`,userId:r.userId,copilotId:r.copilotId,apiKey:r.apiKey,defaultOpen:r.defaultOpen},onWidthChange:pD})})})),nr=!0;const T=J1(),b=u.keyboardShortcut??T.keyboardShortcut;yD(b);const A=r.defaultOpen?"open":"hidden";console.log(`✅ SideNetAI SDK initialized successfully! (Sidebar starts ${A}, width: ${r.width}px)`),console.log("Use `updateSidenetConfig` to update the sidebar configuration dynamically. Use px or vw to set the width"),console.log("Use `refreshSidenetStyles` to refresh the sidebar styles from the database"),console.log("Use `toggleSidenet` to toggle the sidebar visibility"),console.log("Use `destroySidenet` to destroy the sidebar")}catch(r){console.error("❌ Error initializing SideNetAI SDK:",r)}}function X4(){Qc&&(Qc.unmount(),Qc=null);const u=document.getElementById(Hu);u&&u.remove(),document.body.style.marginRight="0px",document.body.style.marginLeft="0px",document.body.style.overflow=hT||"",gD(),nr=!1,console.log("🗑️ SideNetAI SDK destroyed")}function Q4(u){if(!nr){console.warn("SideNetAI SDK: Cannot update config - sidebar not initialized. Call initSidebar() first.");return}const r=document.getElementById(Hu);if(!r){console.warn("SideNetAI SDK: Container not found for config update");return}const d=r.style.transform,m=d==="translateX(0px)"||d==="";if(u.width!==void 0&&u.width!==jl){const v=jl;if(Xo=parseFloat(u.width),Qo=u.width.includes("vw")?"vw":"px",jl=u.width,r.style.width=jl,m){lr(!0),_a==="right"?document.body.style.marginRight=jl:document.body.style.marginLeft=jl;const T=parseFloat(Zc.transitionDuration)*1e3;setTimeout(()=>{lr(!1)},T)}console.log(`📏 Sidebar width updated: ${v} → ${jl}`)}if(u.position!==void 0&&u.position!==_a){const v=_a;if(_a=u.position,r.style.left=_a==="left"?"0":"auto",r.style.right=_a==="right"?"0":"auto",m||(r.style.transform=_a==="right"?"translateX(100%)":"translateX(-100%)"),m){lr(!0),v==="right"?document.body.style.marginRight="0px":document.body.style.marginLeft="0px",_a==="right"?document.body.style.marginRight=`${Xo}${Qo}`:document.body.style.marginLeft=`${Xo}${Qo}`;const T=parseFloat(Zc.transitionDuration)*1e3;setTimeout(()=>{lr(!1)},T)}console.log(`📍 Sidebar position updated: ${v} → ${_a}`)}u.apiKey!==void 0&&(mT=u.apiKey,console.log("🔑 API key updated")),u.keyboardShortcut!==void 0&&(u.keyboardShortcut===null?gD():yD(u.keyboardShortcut)),(u.position!==void 0||u.userId!==void 0||u.copilotId!==void 0||u.apiKey!==void 0||u.defaultOpen!==void 0)&&Qc&&Qc.render($.jsx(ut.StrictMode,{children:$.jsx(bA,{children:$.jsx(dT,{config:{position:_a,width:jl,userId:u.userId,copilotId:u.copilotId,apiKey:mT,defaultOpen:u.defaultOpen},onWidthChange:pD})})}))}function pT(){const u=document.getElementById(Hu);if(!u){console.warn("Sidebar container not found:",Hu);return}const r=u.style.transform;if(console.log("Current transform:",r),r==="translateX(0px)"||r===""){u.style.transform=_a==="right"?"translateX(100%)":"translateX(-100%)",lr(!0),_a==="right"?document.body.style.marginRight="0px":document.body.style.marginLeft="0px",document.body.style.overflow=hT||"";const m=parseFloat(Zc.transitionDuration)*1e3;setTimeout(()=>{lr(!1)},m),console.log("🔽 Sidebar hidden")}else{u.style.transform="translateX(0px)",lr(!0),_a==="right"?document.body.style.marginRight=`${Xo}${Qo}`:document.body.style.marginLeft=`${Xo}${Qo}`;const m=parseFloat(Zc.transitionDuration)*1e3;setTimeout(()=>{lr(!1)},m),console.log(`🔼 Sidebar shown (width: ${jl})`)}}function Z4(){if(!nr){console.warn("SideNetAI SDK: Cannot trigger keyboard shortcut - sidebar not initialized");return}pT()}function vD(u){const r=Zc;u.style.setProperty("--sidebar-bg-color",r.backgroundColor),u.style.setProperty("--sidebar-text-color",r.textColor),u.style.setProperty("--sidebar-border-color",r.borderColor),u.style.setProperty("--sidebar-border-radius",r.borderRadius),u.style.setProperty("--sidebar-font-size",r.fontSize),u.style.setProperty("--sidebar-font-family",r.fontFamily),u.style.setProperty("--sidebar-box-shadow",r.boxShadow),u.style.setProperty("--sidebar-button-color",r.buttonColor),u.style.setProperty("--sidebar-button-bg",r.buttonBgColor),u.style.setProperty("--sidebar-button-hover",r.buttonHoverColor),console.log("🎨 Database styles applied to sidebar")}function k4(){if(!nr){console.warn("SideNetAI SDK: Cannot refresh styles - sidebar not initialized. Call initSidebar() first.");return}const u=document.getElementById(Hu);if(!u){console.warn("SideNetAI SDK: Container not found for style refresh");return}vD(u),console.log("🔄 Database styles refreshed")}function J4(){if(!nr){console.warn("SideNetAI SDK: Cannot refresh scrollbar detection - sidebar not initialized. Call initSidebar() first.");return}const u=document.getElementById(Hu);if(!u){console.warn("SideNetAI SDK: Container not found for scrollbar refresh");return}const r=u.style.transform;(r==="translateX(0px)"||r==="")&&(_a==="right"?document.body.style.marginRight=jl:document.body.style.marginLeft=jl,console.log("🔄 Sidebar positioning refreshed"))}Qa.Sidebar=dT,Qa.destroySidenet=X4,Qa.initSidenet=G4,Qa.refreshSidenetScrollbar=J4,Qa.refreshSidenetStyles=k4,Qa.toggleSidenet=pT,Qa.triggerKeyboardShortcut=Z4,Qa.updateSidenetConfig=Q4,Object.defineProperty(Qa,Symbol.toStringTag,{value:"Module"})}));
274
+ ${U.position}: 0;
275
+ width: ${w}${E};
276
+ transform: ${tt};
277
+ transition: transform ${Ct} ease;
278
+ `,document.body.appendChild(k)}tS(k),U.defaultOpen&&(U.position==="right"?document.body.style.marginRight=`${w}${E}`:document.body.style.marginLeft=`${w}${E}`),os=TT.createRoot(k),os.render(q.jsx(ht.StrictMode,{children:q.jsx($b,{children:q.jsx(u1,{config:{position:U.position,width:`${w}${E}`,userId:U.userId,copilotId:U.copilotId,apiKey:U.apiKey,defaultOpen:U.defaultOpen},onWidthChange:Fb})})})),Mo=!0;const lt=a1(),ut=v.keyboardShortcut??lt.keyboardShortcut;Ib(ut);const V=U.defaultOpen?"open":"hidden";console.log(`✅ SideNetAI SDK initialized successfully! (Sidebar starts ${V}, width: ${U.width}px)`),console.log("Use `updateSidenetConfig` to update the sidebar configuration dynamically. Use px or vw to set the width"),console.log("Use `refreshSidenetStyles` to refresh the sidebar styles from the database"),console.log("Use `toggleSidenet` to toggle the sidebar visibility"),console.log("Use `destroySidenet` to destroy the sidebar")}catch(U){console.error("❌ Error initializing SideNetAI SDK:",U)}}function h3(){os&&(os.unmount(),os=null);const v=document.getElementById(dc);v&&v.remove(),document.body.style.marginRight="0px",document.body.style.marginLeft="0px",document.body.style.overflow=i1||"",Pb(),Mo=!1,console.log("🗑️ SideNetAI SDK destroyed")}function m3(v){if(!Mo){console.warn("SideNetAI SDK: Cannot update config - sidebar not initialized. Call initSidebar() first.");return}const U=document.getElementById(dc);if(!U){console.warn("SideNetAI SDK: Container not found for config update");return}const w=U.style.transform,E=w==="translateX(0px)"||w==="";if(v.width!==void 0&&v.width!==Tn){const k=Tn;if(Ei=parseFloat(v.width),Ai=v.width.includes("vw")?"vw":"px",Tn=v.width,U.style.width=Tn,E){Co(!0),Ta==="right"?document.body.style.marginRight=Tn:document.body.style.marginLeft=Tn;const lt=parseFloat(fs.transitionDuration)*1e3;setTimeout(()=>{Co(!1)},lt)}console.log(`📏 Sidebar width updated: ${k} → ${Tn}`)}if(v.position!==void 0&&v.position!==Ta){const k=Ta;if(Ta=v.position,U.style.left=Ta==="left"?"0":"auto",U.style.right=Ta==="right"?"0":"auto",E||(U.style.transform=Ta==="right"?"translateX(100%)":"translateX(-100%)"),E){Co(!0),k==="right"?document.body.style.marginRight="0px":document.body.style.marginLeft="0px",Ta==="right"?document.body.style.marginRight=`${Ei}${Ai}`:document.body.style.marginLeft=`${Ei}${Ai}`;const lt=parseFloat(fs.transitionDuration)*1e3;setTimeout(()=>{Co(!1)},lt)}console.log(`📍 Sidebar position updated: ${k} → ${Ta}`)}v.apiKey!==void 0&&(c1=v.apiKey,console.log("🔑 API key updated")),v.keyboardShortcut!==void 0&&(v.keyboardShortcut===null?Pb():Ib(v.keyboardShortcut)),(v.position!==void 0||v.userId!==void 0||v.copilotId!==void 0||v.apiKey!==void 0||v.defaultOpen!==void 0)&&os&&os.render(q.jsx(ht.StrictMode,{children:q.jsx($b,{children:q.jsx(u1,{config:{position:Ta,width:Tn,userId:v.userId,copilotId:v.copilotId,apiKey:c1,defaultOpen:v.defaultOpen},onWidthChange:Fb})})}))}function o1(){const v=document.getElementById(dc);if(!v){console.warn("Sidebar container not found:",dc);return}const U=v.style.transform;if(console.log("Current transform:",U),U==="translateX(0px)"||U===""){v.style.transform=Ta==="right"?"translateX(100%)":"translateX(-100%)",Co(!0),Ta==="right"?document.body.style.marginRight="0px":document.body.style.marginLeft="0px",document.body.style.overflow=i1||"";const E=parseFloat(fs.transitionDuration)*1e3;setTimeout(()=>{Co(!1)},E),console.log("🔽 Sidebar hidden")}else{v.style.transform="translateX(0px)",Co(!0),Ta==="right"?document.body.style.marginRight=`${Ei}${Ai}`:document.body.style.marginLeft=`${Ei}${Ai}`;const E=parseFloat(fs.transitionDuration)*1e3;setTimeout(()=>{Co(!1)},E),console.log(`🔼 Sidebar shown (width: ${Tn})`)}}function y3(){if(!Mo){console.warn("SideNetAI SDK: Cannot trigger keyboard shortcut - sidebar not initialized");return}o1()}function tS(v){const U=fs;v.style.setProperty("--sidebar-bg-color",U.backgroundColor),v.style.setProperty("--sidebar-text-color",U.textColor),v.style.setProperty("--sidebar-border-color",U.borderColor),v.style.setProperty("--sidebar-border-radius",U.borderRadius),v.style.setProperty("--sidebar-font-size",U.fontSize),v.style.setProperty("--sidebar-font-family",U.fontFamily),v.style.setProperty("--sidebar-box-shadow",U.boxShadow),v.style.setProperty("--sidebar-button-color",U.buttonColor),v.style.setProperty("--sidebar-button-bg",U.buttonBgColor),v.style.setProperty("--sidebar-button-hover",U.buttonHoverColor),console.log("🎨 Database styles applied to sidebar")}function p3(){if(!Mo){console.warn("SideNetAI SDK: Cannot refresh styles - sidebar not initialized. Call initSidebar() first.");return}const v=document.getElementById(dc);if(!v){console.warn("SideNetAI SDK: Container not found for style refresh");return}tS(v),console.log("🔄 Database styles refreshed")}function g3(){if(!Mo){console.warn("SideNetAI SDK: Cannot refresh scrollbar detection - sidebar not initialized. Call initSidebar() first.");return}const v=document.getElementById(dc);if(!v){console.warn("SideNetAI SDK: Container not found for scrollbar refresh");return}const U=v.style.transform;(U==="translateX(0px)"||U==="")&&(Ta==="right"?document.body.style.marginRight=Tn:document.body.style.marginLeft=Tn,console.log("🔄 Sidebar positioning refreshed"))}Xl.Sidebar=u1,Xl.destroySidenet=h3,Xl.initSidenet=d3,Xl.refreshSidenetScrollbar=g3,Xl.refreshSidenetStyles=p3,Xl.toggleSidenet=o1,Xl.triggerKeyboardShortcut=y3,Xl.updateSidenetConfig=m3,Object.defineProperty(Xl,Symbol.toStringTag,{value:"Module"})}));