@open-yama/theme-toolbar 0.1.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.
- package/dist/yama-toolbar.css +1 -0
- package/dist/yama-toolbar.es.js +33249 -0
- package/dist/yama-toolbar.umd.js +299 -0
- package/package.json +42 -0
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
(function(ne,er){typeof exports=="object"&&typeof module<"u"?er(require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["react","react-dom"],er):(ne=typeof globalThis<"u"?globalThis:ne||self,er(ne.React,ne.ReactDOM))})(this,(function(ne,er){"use strict";function m4(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var ey={exports:{}},K0={};var G2;function p4(){if(G2)return K0;G2=1;var r=Symbol.for("react.transitional.element"),f=Symbol.for("react.fragment");function h(m,v,S){var z=null;if(S!==void 0&&(z=""+S),v.key!==void 0&&(z=""+v.key),"key"in v){S={};for(var _ in v)_!=="key"&&(S[_]=v[_])}else S=v;return v=S.ref,{$$typeof:r,type:m,key:z,ref:v!==void 0?v:null,props:S}}return K0.Fragment=f,K0.jsx=h,K0.jsxs=h,K0}var W0={};var L2;function g4(){return L2||(L2=1,process.env.NODE_ENV!=="production"&&(function(){function r(K){if(K==null)return null;if(typeof K=="function")return K.$$typeof===Zt?null:K.displayName||K.name||null;if(typeof K=="string")return K;switch(K){case De:return"Fragment";case un:return"Profiler";case me:return"StrictMode";case rt:return"Suspense";case Ct:return"SuspenseList";case ge:return"Activity"}if(typeof K=="object")switch(typeof K.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),K.$$typeof){case Ye:return"Portal";case _t:return K.displayName||"Context";case ut:return(K._context.displayName||"Context")+".Consumer";case pn:var de=K.render;return K=K.displayName,K||(K=de.displayName||de.name||"",K=K!==""?"ForwardRef("+K+")":"ForwardRef"),K;case Ne:return de=K.displayName||null,de!==null?de:r(K.type)||"Memo";case on:de=K._payload,K=K._init;try{return r(K(de))}catch{}}return null}function f(K){return""+K}function h(K){try{f(K);var de=!1}catch{de=!0}if(de){de=console;var oe=de.error,re=typeof Symbol=="function"&&Symbol.toStringTag&&K[Symbol.toStringTag]||K.constructor.name||"Object";return oe.call(de,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",re),f(K)}}function m(K){if(K===De)return"<>";if(typeof K=="object"&&K!==null&&K.$$typeof===on)return"<...>";try{var de=r(K);return de?"<"+de+">":"<...>"}catch{return"<...>"}}function v(){var K=Ze.A;return K===null?null:K.getOwner()}function S(){return Error("react-stack-top-frame")}function z(K){if(xe.call(K,"key")){var de=Object.getOwnPropertyDescriptor(K,"key").get;if(de&&de.isReactWarning)return!1}return K.key!==void 0}function _(K,de){function oe(){U||(U=!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)",de))}oe.isReactWarning=!0,Object.defineProperty(K,"key",{get:oe,configurable:!0})}function C(){var K=r(this.type);return J[K]||(J[K]=!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.")),K=this.props.ref,K!==void 0?K:null}function R(K,de,oe,re,He,qt){var st=oe.ref;return K={$$typeof:ie,type:K,key:de,props:oe,_owner:re},(st!==void 0?st:null)!==null?Object.defineProperty(K,"ref",{enumerable:!1,get:C}):Object.defineProperty(K,"ref",{enumerable:!1,value:null}),K._store={},Object.defineProperty(K._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(K,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(K,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:He}),Object.defineProperty(K,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:qt}),Object.freeze&&(Object.freeze(K.props),Object.freeze(K)),K}function V(K,de,oe,re,He,qt){var st=de.children;if(st!==void 0)if(re)if(gn(st)){for(re=0;re<st.length;re++)x(st[re]);Object.freeze&&Object.freeze(st)}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 x(st);if(xe.call(de,"key")){st=r(K);var Ie=Object.keys(de).filter(function(zu){return zu!=="key"});re=0<Ie.length?"{key: someKey, "+Ie.join(": ..., ")+": ...}":"{key: someKey}",Se[st+re]||(Ie=0<Ie.length?"{"+Ie.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
2
|
+
let props = %s;
|
|
3
|
+
<%s {...props} />
|
|
4
|
+
React keys must be passed directly to JSX without using spread:
|
|
5
|
+
let props = %s;
|
|
6
|
+
<%s key={someKey} {...props} />`,re,st,Ie,st),Se[st+re]=!0)}if(st=null,oe!==void 0&&(h(oe),st=""+oe),z(de)&&(h(de.key),st=""+de.key),"key"in de){oe={};for(var An in de)An!=="key"&&(oe[An]=de[An])}else oe=de;return st&&_(oe,typeof K=="function"?K.displayName||K.name||"Unknown":K),R(K,st,oe,v(),He,qt)}function x(K){I(K)?K._store&&(K._store.validated=1):typeof K=="object"&&K!==null&&K.$$typeof===on&&(K._payload.status==="fulfilled"?I(K._payload.value)&&K._payload.value._store&&(K._payload.value._store.validated=1):K._store&&(K._store.validated=1))}function I(K){return typeof K=="object"&&K!==null&&K.$$typeof===ie}var le=ne,ie=Symbol.for("react.transitional.element"),Ye=Symbol.for("react.portal"),De=Symbol.for("react.fragment"),me=Symbol.for("react.strict_mode"),un=Symbol.for("react.profiler"),ut=Symbol.for("react.consumer"),_t=Symbol.for("react.context"),pn=Symbol.for("react.forward_ref"),rt=Symbol.for("react.suspense"),Ct=Symbol.for("react.suspense_list"),Ne=Symbol.for("react.memo"),on=Symbol.for("react.lazy"),ge=Symbol.for("react.activity"),Zt=Symbol.for("react.client.reference"),Ze=le.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,xe=Object.prototype.hasOwnProperty,gn=Array.isArray,Vt=console.createTask?console.createTask:function(){return null};le={react_stack_bottom_frame:function(K){return K()}};var U,J={},ae=le.react_stack_bottom_frame.bind(le,S)(),be=Vt(m(S)),Se={};W0.Fragment=De,W0.jsx=function(K,de,oe){var re=1e4>Ze.recentlyCreatedOwnerStacks++;return V(K,de,oe,!1,re?Error("react-stack-top-frame"):ae,re?Vt(m(K)):be)},W0.jsxs=function(K,de,oe){var re=1e4>Ze.recentlyCreatedOwnerStacks++;return V(K,de,oe,!0,re?Error("react-stack-top-frame"):ae,re?Vt(m(K)):be)}})()),W0}var V2;function y4(){return V2||(V2=1,process.env.NODE_ENV==="production"?ey.exports=p4():ey.exports=g4()),ey.exports}var q=y4(),ty={exports:{}},F0={},ny={exports:{}},Gv={};var X2;function v4(){return X2||(X2=1,(function(r){function f(U,J){var ae=U.length;U.push(J);e:for(;0<ae;){var be=ae-1>>>1,Se=U[be];if(0<v(Se,J))U[be]=J,U[ae]=Se,ae=be;else break e}}function h(U){return U.length===0?null:U[0]}function m(U){if(U.length===0)return null;var J=U[0],ae=U.pop();if(ae!==J){U[0]=ae;e:for(var be=0,Se=U.length,K=Se>>>1;be<K;){var de=2*(be+1)-1,oe=U[de],re=de+1,He=U[re];if(0>v(oe,ae))re<Se&&0>v(He,oe)?(U[be]=He,U[re]=ae,be=re):(U[be]=oe,U[de]=ae,be=de);else if(re<Se&&0>v(He,ae))U[be]=He,U[re]=ae,be=re;else break e}}return J}function v(U,J){var ae=U.sortIndex-J.sortIndex;return ae!==0?ae:U.id-J.id}if(r.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var S=performance;r.unstable_now=function(){return S.now()}}else{var z=Date,_=z.now();r.unstable_now=function(){return z.now()-_}}var C=[],R=[],V=1,x=null,I=3,le=!1,ie=!1,Ye=!1,De=!1,me=typeof setTimeout=="function"?setTimeout:null,un=typeof clearTimeout=="function"?clearTimeout:null,ut=typeof setImmediate<"u"?setImmediate:null;function _t(U){for(var J=h(R);J!==null;){if(J.callback===null)m(R);else if(J.startTime<=U)m(R),J.sortIndex=J.expirationTime,f(C,J);else break;J=h(R)}}function pn(U){if(Ye=!1,_t(U),!ie)if(h(C)!==null)ie=!0,rt||(rt=!0,Ze());else{var J=h(R);J!==null&&Vt(pn,J.startTime-U)}}var rt=!1,Ct=-1,Ne=5,on=-1;function ge(){return De?!0:!(r.unstable_now()-on<Ne)}function Zt(){if(De=!1,rt){var U=r.unstable_now();on=U;var J=!0;try{e:{ie=!1,Ye&&(Ye=!1,un(Ct),Ct=-1),le=!0;var ae=I;try{t:{for(_t(U),x=h(C);x!==null&&!(x.expirationTime>U&&ge());){var be=x.callback;if(typeof be=="function"){x.callback=null,I=x.priorityLevel;var Se=be(x.expirationTime<=U);if(U=r.unstable_now(),typeof Se=="function"){x.callback=Se,_t(U),J=!0;break t}x===h(C)&&m(C),_t(U)}else m(C);x=h(C)}if(x!==null)J=!0;else{var K=h(R);K!==null&&Vt(pn,K.startTime-U),J=!1}}break e}finally{x=null,I=ae,le=!1}J=void 0}}finally{J?Ze():rt=!1}}}var Ze;if(typeof ut=="function")Ze=function(){ut(Zt)};else if(typeof MessageChannel<"u"){var xe=new MessageChannel,gn=xe.port2;xe.port1.onmessage=Zt,Ze=function(){gn.postMessage(null)}}else Ze=function(){me(Zt,0)};function Vt(U,J){Ct=me(function(){U(r.unstable_now())},J)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(U){U.callback=null},r.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ne=0<U?Math.floor(1e3/U):5},r.unstable_getCurrentPriorityLevel=function(){return I},r.unstable_next=function(U){switch(I){case 1:case 2:case 3:var J=3;break;default:J=I}var ae=I;I=J;try{return U()}finally{I=ae}},r.unstable_requestPaint=function(){De=!0},r.unstable_runWithPriority=function(U,J){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var ae=I;I=U;try{return J()}finally{I=ae}},r.unstable_scheduleCallback=function(U,J,ae){var be=r.unstable_now();switch(typeof ae=="object"&&ae!==null?(ae=ae.delay,ae=typeof ae=="number"&&0<ae?be+ae:be):ae=be,U){case 1:var Se=-1;break;case 2:Se=250;break;case 5:Se=1073741823;break;case 4:Se=1e4;break;default:Se=5e3}return Se=ae+Se,U={id:V++,callback:J,priorityLevel:U,startTime:ae,expirationTime:Se,sortIndex:-1},ae>be?(U.sortIndex=ae,f(R,U),h(C)===null&&U===h(R)&&(Ye?(un(Ct),Ct=-1):Ye=!0,Vt(pn,ae-be))):(U.sortIndex=Se,f(C,U),ie||le||(ie=!0,rt||(rt=!0,Ze()))),U},r.unstable_shouldYield=ge,r.unstable_wrapCallback=function(U){var J=I;return function(){var ae=I;I=J;try{return U.apply(this,arguments)}finally{I=ae}}}})(Gv)),Gv}var Lv={};var Q2;function b4(){return Q2||(Q2=1,(function(r){process.env.NODE_ENV!=="production"&&(function(){function f(){if(pn=!1,on){var U=r.unstable_now();Ze=U;var J=!0;try{e:{ut=!1,_t&&(_t=!1,Ct(ge),ge=-1),un=!0;var ae=me;try{t:{for(z(U),De=m(le);De!==null&&!(De.expirationTime>U&&C());){var be=De.callback;if(typeof be=="function"){De.callback=null,me=De.priorityLevel;var Se=be(De.expirationTime<=U);if(U=r.unstable_now(),typeof Se=="function"){De.callback=Se,z(U),J=!0;break t}De===m(le)&&v(le),z(U)}else v(le);De=m(le)}if(De!==null)J=!0;else{var K=m(ie);K!==null&&R(_,K.startTime-U),J=!1}}break e}finally{De=null,me=ae,un=!1}J=void 0}}finally{J?xe():on=!1}}}function h(U,J){var ae=U.length;U.push(J);e:for(;0<ae;){var be=ae-1>>>1,Se=U[be];if(0<S(Se,J))U[be]=J,U[ae]=Se,ae=be;else break e}}function m(U){return U.length===0?null:U[0]}function v(U){if(U.length===0)return null;var J=U[0],ae=U.pop();if(ae!==J){U[0]=ae;e:for(var be=0,Se=U.length,K=Se>>>1;be<K;){var de=2*(be+1)-1,oe=U[de],re=de+1,He=U[re];if(0>S(oe,ae))re<Se&&0>S(He,oe)?(U[be]=He,U[re]=ae,be=re):(U[be]=oe,U[de]=ae,be=de);else if(re<Se&&0>S(He,ae))U[be]=He,U[re]=ae,be=re;else break e}}return J}function S(U,J){var ae=U.sortIndex-J.sortIndex;return ae!==0?ae:U.id-J.id}function z(U){for(var J=m(ie);J!==null;){if(J.callback===null)v(ie);else if(J.startTime<=U)v(ie),J.sortIndex=J.expirationTime,h(le,J);else break;J=m(ie)}}function _(U){if(_t=!1,z(U),!ut)if(m(le)!==null)ut=!0,on||(on=!0,xe());else{var J=m(ie);J!==null&&R(_,J.startTime-U)}}function C(){return pn?!0:!(r.unstable_now()-Ze<Zt)}function R(U,J){ge=rt(function(){U(r.unstable_now())},J)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),r.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var V=performance;r.unstable_now=function(){return V.now()}}else{var x=Date,I=x.now();r.unstable_now=function(){return x.now()-I}}var le=[],ie=[],Ye=1,De=null,me=3,un=!1,ut=!1,_t=!1,pn=!1,rt=typeof setTimeout=="function"?setTimeout:null,Ct=typeof clearTimeout=="function"?clearTimeout:null,Ne=typeof setImmediate<"u"?setImmediate:null,on=!1,ge=-1,Zt=5,Ze=-1;if(typeof Ne=="function")var xe=function(){Ne(f)};else if(typeof MessageChannel<"u"){var gn=new MessageChannel,Vt=gn.port2;gn.port1.onmessage=f,xe=function(){Vt.postMessage(null)}}else xe=function(){rt(f,0)};r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(U){U.callback=null},r.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Zt=0<U?Math.floor(1e3/U):5},r.unstable_getCurrentPriorityLevel=function(){return me},r.unstable_next=function(U){switch(me){case 1:case 2:case 3:var J=3;break;default:J=me}var ae=me;me=J;try{return U()}finally{me=ae}},r.unstable_requestPaint=function(){pn=!0},r.unstable_runWithPriority=function(U,J){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var ae=me;me=U;try{return J()}finally{me=ae}},r.unstable_scheduleCallback=function(U,J,ae){var be=r.unstable_now();switch(typeof ae=="object"&&ae!==null?(ae=ae.delay,ae=typeof ae=="number"&&0<ae?be+ae:be):ae=be,U){case 1:var Se=-1;break;case 2:Se=250;break;case 5:Se=1073741823;break;case 4:Se=1e4;break;default:Se=5e3}return Se=ae+Se,U={id:Ye++,callback:J,priorityLevel:U,startTime:ae,expirationTime:Se,sortIndex:-1},ae>be?(U.sortIndex=ae,h(ie,U),m(le)===null&&U===m(ie)&&(_t?(Ct(ge),ge=-1):_t=!0,R(_,ae-be))):(U.sortIndex=Se,h(le,U),ut||un||(ut=!0,on||(on=!0,xe()))),U},r.unstable_shouldYield=C,r.unstable_wrapCallback=function(U){var J=me;return function(){var ae=me;me=J;try{return U.apply(this,arguments)}finally{me=ae}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(Lv)),Lv}var $2;function J2(){return $2||($2=1,process.env.NODE_ENV==="production"?ny.exports=v4():ny.exports=b4()),ny.exports}var K2;function S4(){if(K2)return F0;K2=1;var r=J2(),f=ne,h=er;function m(n){var a="https://react.dev/errors/"+n;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var u=2;u<arguments.length;u++)a+="&args[]="+encodeURIComponent(arguments[u])}return"Minified React error #"+n+"; visit "+a+" 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 S(n){var a=n,u=n;if(n.alternate)for(;a.return;)a=a.return;else{n=a;do a=n,(a.flags&4098)!==0&&(u=a.return),n=a.return;while(n)}return a.tag===3?u:null}function z(n){if(n.tag===13){var a=n.memoizedState;if(a===null&&(n=n.alternate,n!==null&&(a=n.memoizedState)),a!==null)return a.dehydrated}return null}function _(n){if(n.tag===31){var a=n.memoizedState;if(a===null&&(n=n.alternate,n!==null&&(a=n.memoizedState)),a!==null)return a.dehydrated}return null}function C(n){if(S(n)!==n)throw Error(m(188))}function R(n){var a=n.alternate;if(!a){if(a=S(n),a===null)throw Error(m(188));return a!==n?null:n}for(var u=n,o=a;;){var d=u.return;if(d===null)break;var p=d.alternate;if(p===null){if(o=d.return,o!==null){u=o;continue}break}if(d.child===p.child){for(p=d.child;p;){if(p===u)return C(d),n;if(p===o)return C(d),a;p=p.sibling}throw Error(m(188))}if(u.return!==o.return)u=d,o=p;else{for(var b=!1,A=d.child;A;){if(A===u){b=!0,u=d,o=p;break}if(A===o){b=!0,o=d,u=p;break}A=A.sibling}if(!b){for(A=p.child;A;){if(A===u){b=!0,u=p,o=d;break}if(A===o){b=!0,o=p,u=d;break}A=A.sibling}if(!b)throw Error(m(189))}}if(u.alternate!==o)throw Error(m(190))}if(u.tag!==3)throw Error(m(188));return u.stateNode.current===u?n:a}function V(n){var a=n.tag;if(a===5||a===26||a===27||a===6)return n;for(n=n.child;n!==null;){if(a=V(n),a!==null)return a;n=n.sibling}return null}var x=Object.assign,I=Symbol.for("react.element"),le=Symbol.for("react.transitional.element"),ie=Symbol.for("react.portal"),Ye=Symbol.for("react.fragment"),De=Symbol.for("react.strict_mode"),me=Symbol.for("react.profiler"),un=Symbol.for("react.consumer"),ut=Symbol.for("react.context"),_t=Symbol.for("react.forward_ref"),pn=Symbol.for("react.suspense"),rt=Symbol.for("react.suspense_list"),Ct=Symbol.for("react.memo"),Ne=Symbol.for("react.lazy"),on=Symbol.for("react.activity"),ge=Symbol.for("react.memo_cache_sentinel"),Zt=Symbol.iterator;function Ze(n){return n===null||typeof n!="object"?null:(n=Zt&&n[Zt]||n["@@iterator"],typeof n=="function"?n:null)}var xe=Symbol.for("react.client.reference");function gn(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===xe?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case Ye:return"Fragment";case me:return"Profiler";case De:return"StrictMode";case pn:return"Suspense";case rt:return"SuspenseList";case on:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case ie:return"Portal";case ut:return n.displayName||"Context";case un:return(n._context.displayName||"Context")+".Consumer";case _t:var a=n.render;return n=n.displayName,n||(n=a.displayName||a.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case Ct:return a=n.displayName||null,a!==null?a:gn(n.type)||"Memo";case Ne:a=n._payload,n=n._init;try{return gn(n(a))}catch{}}return null}var Vt=Array.isArray,U=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J=h.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ae={pending:!1,data:null,method:null,action:null},be=[],Se=-1;function K(n){return{current:n}}function de(n){0>Se||(n.current=be[Se],be[Se]=null,Se--)}function oe(n,a){Se++,be[Se]=n.current,n.current=a}var re=K(null),He=K(null),qt=K(null),st=K(null);function Ie(n,a){switch(oe(qt,a),oe(He,n),oe(re,null),a.nodeType){case 9:case 11:n=(n=a.documentElement)&&(n=n.namespaceURI)?U1(n):0;break;default:if(n=a.tagName,a=a.namespaceURI)a=U1(a),n=Kp(a,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}de(re),oe(re,n)}function An(){de(re),de(He),de(qt)}function zu(n){n.memoizedState!==null&&oe(st,n);var a=re.current,u=Kp(a,n.type);a!==u&&(oe(He,n),oe(re,u))}function fe(n){He.current===n&&(de(re),de(He)),st.current===n&&(de(st),Pf._currentValue=ae)}var za,Lo;function ql(n){if(za===void 0)try{throw Error()}catch(u){var a=u.stack.trim().match(/\n( *(at )?)/);za=a&&a[1]||"",Lo=-1<u.stack.indexOf(`
|
|
7
|
+
at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
8
|
+
`+za+n+Lo}var yi=!1;function ht(n,a){if(!n||yi)return"";yi=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(a){var ee=function(){throw Error()};if(Object.defineProperty(ee.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ee,[])}catch($){var G=$}Reflect.construct(n,[],ee)}else{try{ee.call()}catch($){G=$}n.call(ee.prototype)}}else{try{throw Error()}catch($){G=$}(ee=n())&&typeof ee.catch=="function"&&ee.catch(function(){})}}catch($){if($&&G&&typeof $.stack=="string")return[$.stack,G.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var d=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");d&&d.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var p=o.DetermineComponentFrameRoot(),b=p[0],A=p[1];if(b&&A){var M=b.split(`
|
|
9
|
+
`),k=A.split(`
|
|
10
|
+
`);for(d=o=0;o<M.length&&!M[o].includes("DetermineComponentFrameRoot");)o++;for(;d<k.length&&!k[d].includes("DetermineComponentFrameRoot");)d++;if(o===M.length||d===k.length)for(o=M.length-1,d=k.length-1;1<=o&&0<=d&&M[o]!==k[d];)d--;for(;1<=o&&0<=d;o--,d--)if(M[o]!==k[d]){if(o!==1||d!==1)do if(o--,d--,0>d||M[o]!==k[d]){var W=`
|
|
11
|
+
`+M[o].replace(" at new "," at ");return n.displayName&&W.includes("<anonymous>")&&(W=W.replace("<anonymous>",n.displayName)),W}while(1<=o&&0<=d);break}}}finally{yi=!1,Error.prepareStackTrace=u}return(u=n?n.displayName||n.name:"")?ql(u):""}function vi(n,a){switch(n.tag){case 26:case 27:case 5:return ql(n.type);case 16:return ql("Lazy");case 13:return n.child!==a&&a!==null?ql("Suspense Fallback"):ql("Suspense");case 19:return ql("SuspenseList");case 0:case 15:return ht(n.type,!1);case 11:return ht(n.type.render,!1);case 1:return ht(n.type,!0);case 31:return ql("Activity");default:return""}}function Vo(n){try{var a="",u=null;do a+=vi(n,u),u=n,n=n.return;while(n);return a}catch(o){return`
|
|
12
|
+
Error generating stack: `+o.message+`
|
|
13
|
+
`+o.stack}}var Wl=Object.prototype.hasOwnProperty,At=r.unstable_scheduleCallback,Bs=r.unstable_cancelCallback,yn=r.unstable_shouldYield,ka=r.unstable_requestPaint,wn=r.unstable_now,um=r.unstable_getCurrentPriorityLevel,bi=r.unstable_ImmediatePriority,nr=r.unstable_UserBlockingPriority,Ga=r.unstable_NormalPriority,Zs=r.unstable_LowPriority,Eu=r.unstable_IdlePriority,qs=r.log,Si=r.unstable_setDisableYieldValue,Ti=null,rl=null;function Ea(n){if(typeof qs=="function"&&Si(n),rl&&typeof rl.setStrictMode=="function")try{rl.setStrictMode(Ti,n)}catch{}}var Zn=Math.clz32?Math.clz32:_a,Md=Math.log,lr=Math.LN2;function _a(n){return n>>>=0,n===0?32:31-(Md(n)/lr|0)|0}var La=256,Fl=262144,Va=4194304;function vl(n){var a=n&42;if(a!==0)return a;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 ye(n,a,u){var o=n.pendingLanes;if(o===0)return 0;var d=0,p=n.suspendedLanes,b=n.pingedLanes;n=n.warmLanes;var A=o&134217727;return A!==0?(o=A&~p,o!==0?d=vl(o):(b&=A,b!==0?d=vl(b):u||(u=A&~n,u!==0&&(d=vl(u))))):(A=o&~p,A!==0?d=vl(A):b!==0?d=vl(b):u||(u=o&~n,u!==0&&(d=vl(u)))),d===0?0:a!==0&&a!==d&&(a&p)===0&&(p=d&-d,u=a&-a,p>=u||p===32&&(u&4194048)!==0)?a:d}function yt(n,a){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&a)===0}function Pt(n,a){switch(n){case 1:case 2:case 4:case 8:case 64:return a+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 a+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 vn(){var n=Va;return Va<<=1,(Va&62914560)===0&&(Va=4194304),n}function _u(n){for(var a=[],u=0;31>u;u++)a.push(n);return a}function Xt(n,a){n.pendingLanes|=a,a!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function el(n,a,u,o,d,p){var b=n.pendingLanes;n.pendingLanes=u,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=u,n.entangledLanes&=u,n.errorRecoveryDisabledLanes&=u,n.shellSuspendCounter=0;var A=n.entanglements,M=n.expirationTimes,k=n.hiddenUpdates;for(u=b&~u;0<u;){var W=31-Zn(u),ee=1<<W;A[W]=0,M[W]=-1;var G=k[W];if(G!==null)for(k[W]=null,W=0;W<G.length;W++){var $=G[W];$!==null&&($.lane&=-536870913)}u&=~ee}o!==0&&Au(n,o,0),p!==0&&d===0&&n.tag!==0&&(n.suspendedLanes|=p&~(b&~a))}function Au(n,a,u){n.pendingLanes|=a,n.suspendedLanes&=~a;var o=31-Zn(a);n.entangledLanes|=a,n.entanglements[o]=n.entanglements[o]|1073741824|u&261930}function cn(n,a){var u=n.entangledLanes|=a;for(n=n.entanglements;u;){var o=31-Zn(u),d=1<<o;d&a|n[o]&a&&(n[o]|=a),u&=~d}}function Yt(n,a){var u=a&-a;return u=(u&42)!==0?1:Xo(u),(u&(n.suspendedLanes|a))!==0?0:u}function Xo(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 Xa(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function Ys(){var n=J.p;return n!==0?n:(n=window.event,n===void 0?32:ed(n.type))}function im(n,a){var u=J.p;try{return J.p=n,a()}finally{J.p=u}}var Qa=Math.random().toString(36).slice(2),xt="__reactFiber$"+Qa,bl="__reactProps$"+Qa,eo="__reactContainer$"+Qa,Cd="__reactEvents$"+Qa,om="__reactListeners$"+Qa,Ty="__reactHandles$"+Qa,cm="__reactResources$"+Qa,xu="__reactMarker$"+Qa;function Ud(n){delete n[xt],delete n[bl],delete n[Cd],delete n[om],delete n[Ty]}function Qo(n){var a=n[xt];if(a)return a;for(var u=n.parentNode;u;){if(a=u[eo]||u[xt]){if(u=a.alternate,a.child!==null||u!==null&&u.child!==null)for(n=hu(n);n!==null;){if(u=n[xt])return u;n=hu(n)}return a}n=u,u=n.parentNode}return null}function $o(n){if(n=n[xt]||n[eo]){var a=n.tag;if(a===5||a===6||a===13||a===31||a===26||a===27||a===3)return n}return null}function ar(n){var a=n.tag;if(a===5||a===26||a===27||a===6)return n.stateNode;throw Error(m(33))}function Jo(n){var a=n[cm];return a||(a=n[cm]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function vt(n){n[xu]=!0}var Ko=new Set,to={};function no(n,a){Ru(n,a),Ru(n+"Capture",a)}function Ru(n,a){for(to[n]=a,n=0;n<a.length;n++)Ko.add(a[n])}var jd=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]*$"),Hd={},ur={};function ir(n){return Wl.call(ur,n)?!0:Wl.call(Hd,n)?!1:jd.test(n)?ur[n]=!0:(Hd[n]=!0,!1)}function or(n,a,u){if(ir(a))if(u===null)n.removeAttribute(a);else{switch(typeof u){case"undefined":case"function":case"symbol":n.removeAttribute(a);return;case"boolean":var o=a.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){n.removeAttribute(a);return}}n.setAttribute(a,""+u)}}function Nd(n,a,u){if(u===null)n.removeAttribute(a);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(a);return}n.setAttribute(a,""+u)}}function zi(n,a,u,o){if(o===null)n.removeAttribute(u);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(u);return}n.setAttributeNS(a,u,""+o)}}function Il(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function Bd(n){var a=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function rm(n,a,u){var o=Object.getOwnPropertyDescriptor(n.constructor.prototype,a);if(!n.hasOwnProperty(a)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var d=o.get,p=o.set;return Object.defineProperty(n,a,{configurable:!0,get:function(){return d.call(this)},set:function(b){u=""+b,p.call(this,b)}}),Object.defineProperty(n,a,{enumerable:o.enumerable}),{getValue:function(){return u},setValue:function(b){u=""+b},stopTracking:function(){n._valueTracker=null,delete n[a]}}}}function Zd(n){if(!n._valueTracker){var a=Bd(n)?"checked":"value";n._valueTracker=rm(n,a,""+n[a])}}function sm(n){if(!n)return!1;var a=n._valueTracker;if(!a)return!0;var u=a.getValue(),o="";return n&&(o=Bd(n)?n.checked?"true":"false":n.value),n=o,n!==u?(a.setValue(n),!0):!1}function ks(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 pb=/[\n"\\]/g;function Pl(n){return n.replace(pb,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function Gs(n,a,u,o,d,p,b,A){n.name="",b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?n.type=b:n.removeAttribute("type"),a!=null?b==="number"?(a===0&&n.value===""||n.value!=a)&&(n.value=""+Il(a)):n.value!==""+Il(a)&&(n.value=""+Il(a)):b!=="submit"&&b!=="reset"||n.removeAttribute("value"),a!=null?Wo(n,b,Il(a)):u!=null?Wo(n,b,Il(u)):o!=null&&n.removeAttribute("value"),d==null&&p!=null&&(n.defaultChecked=!!p),d!=null&&(n.checked=d&&typeof d!="function"&&typeof d!="symbol"),A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"?n.name=""+Il(A):n.removeAttribute("name")}function Ls(n,a,u,o,d,p,b,A){if(p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(n.type=p),a!=null||u!=null){if(!(p!=="submit"&&p!=="reset"||a!=null)){Zd(n);return}u=u!=null?""+Il(u):"",a=a!=null?""+Il(a):u,A||a===n.value||(n.value=a),n.defaultValue=a}o=o??d,o=typeof o!="function"&&typeof o!="symbol"&&!!o,n.checked=A?n.checked:!!o,n.defaultChecked=!!o,b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(n.name=b),Zd(n)}function Wo(n,a,u){a==="number"&&ks(n.ownerDocument)===n||n.defaultValue===""+u||(n.defaultValue=""+u)}function cr(n,a,u,o){if(n=n.options,a){a={};for(var d=0;d<u.length;d++)a["$"+u[d]]=!0;for(u=0;u<n.length;u++)d=a.hasOwnProperty("$"+n[u].value),n[u].selected!==d&&(n[u].selected=d),d&&o&&(n[u].defaultSelected=!0)}else{for(u=""+Il(u),a=null,d=0;d<n.length;d++){if(n[d].value===u){n[d].selected=!0,o&&(n[d].defaultSelected=!0);return}a!==null||n[d].disabled||(a=n[d])}a!==null&&(a.selected=!0)}}function fm(n,a,u){if(a!=null&&(a=""+Il(a),a!==n.value&&(n.value=a),u==null)){n.defaultValue!==a&&(n.defaultValue=a);return}n.defaultValue=u!=null?""+Il(u):""}function dm(n,a,u,o){if(a==null){if(o!=null){if(u!=null)throw Error(m(92));if(Vt(o)){if(1<o.length)throw Error(m(93));o=o[0]}u=o}u==null&&(u=""),a=u}u=Il(a),n.defaultValue=u,o=n.textContent,o===u&&o!==""&&o!==null&&(n.value=o),Zd(n)}function Du(n,a){if(a){var u=n.firstChild;if(u&&u===n.lastChild&&u.nodeType===3){u.nodeValue=a;return}}n.textContent=a}var zy=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 Ey(n,a,u){var o=a.indexOf("--")===0;u==null||typeof u=="boolean"||u===""?o?n.setProperty(a,""):a==="float"?n.cssFloat="":n[a]="":o?n.setProperty(a,u):typeof u!="number"||u===0||zy.has(a)?a==="float"?n.cssFloat=u:n[a]=(""+u).trim():n[a]=u+"px"}function _y(n,a,u){if(a!=null&&typeof a!="object")throw Error(m(62));if(n=n.style,u!=null){for(var o in u)!u.hasOwnProperty(o)||a!=null&&a.hasOwnProperty(o)||(o.indexOf("--")===0?n.setProperty(o,""):o==="float"?n.cssFloat="":n[o]="");for(var d in a)o=a[d],a.hasOwnProperty(d)&&u[d]!==o&&Ey(n,d,o)}else for(var p in a)a.hasOwnProperty(p)&&Ey(n,p,a[p])}function hm(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 gb=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"]]),Vs=/^[\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 Aa(n){return Vs.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function $a(){}var qd=null;function Yd(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var Ou=null,Fo=null;function Xs(n){var a=$o(n);if(a&&(n=a.stateNode)){var u=n[bl]||null;e:switch(n=a.stateNode,a.type){case"input":if(Gs(n,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name),a=u.name,u.type==="radio"&&a!=null){for(u=n;u.parentNode;)u=u.parentNode;for(u=u.querySelectorAll('input[name="'+Pl(""+a)+'"][type="radio"]'),a=0;a<u.length;a++){var o=u[a];if(o!==n&&o.form===n.form){var d=o[bl]||null;if(!d)throw Error(m(90));Gs(o,d.value,d.defaultValue,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name)}}for(a=0;a<u.length;a++)o=u[a],o.form===n.form&&sm(o)}break e;case"textarea":fm(n,u.value,u.defaultValue);break e;case"select":a=u.value,a!=null&&cr(n,!!u.multiple,a,!1)}}}var rr=!1;function mm(n,a,u){if(rr)return n(a,u);rr=!0;try{var o=n(a);return o}finally{if(rr=!1,(Ou!==null||Fo!==null)&&(Xr(),Ou&&(a=Ou,n=Fo,Fo=Ou=null,Xs(a),n)))for(a=0;a<n.length;a++)Xs(n[a])}}function qn(n,a){var u=n.stateNode;if(u===null)return null;var o=u[bl]||null;if(o===null)return null;u=o[a];e:switch(a){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)||(n=n.type,o=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!o;break e;default:n=!1}if(n)return null;if(u&&typeof u!="function")throw Error(m(231,a,typeof u));return u}var Ei=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Qs=!1;if(Ei)try{var sr={};Object.defineProperty(sr,"passive",{get:function(){Qs=!0}}),window.addEventListener("test",sr,sr),window.removeEventListener("test",sr,sr)}catch{Qs=!1}var _i=null,pm=null,kd=null;function gm(){if(kd)return kd;var n,a=pm,u=a.length,o,d="value"in _i?_i.value:_i.textContent,p=d.length;for(n=0;n<u&&a[n]===d[n];n++);var b=u-n;for(o=1;o<=b&&a[u-o]===d[p-o];o++);return kd=d.slice(n,1<o?1-o:void 0)}function Gd(n){var a=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&a===13&&(n=13)):n=a,n===10&&(n=13),32<=n||n===13?n:0}function $s(){return!0}function Ay(){return!1}function tl(n){function a(u,o,d,p,b){this._reactName=u,this._targetInst=d,this.type=o,this.nativeEvent=p,this.target=b,this.currentTarget=null;for(var A in n)n.hasOwnProperty(A)&&(u=n[A],this[A]=u?u(p):p[A]);return this.isDefaultPrevented=(p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1)?$s:Ay,this.isPropagationStopped=Ay,this}return x(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!="unknown"&&(u.returnValue=!1),this.isDefaultPrevented=$s)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=$s)},persist:function(){},isPersistent:$s}),a}var lo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Js=tl(lo),fr=x({},lo,{view:0,detail:0}),yb=tl(fr),ym,vm,Ks,Ld=x({},fr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xa,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!==Ks&&(Ks&&n.type==="mousemove"?(ym=n.screenX-Ks.screenX,vm=n.screenY-Ks.screenY):vm=ym=0,Ks=n),ym)},movementY:function(n){return"movementY"in n?n.movementY:vm}}),dr=tl(Ld),xy=x({},Ld,{dataTransfer:0}),Ry=tl(xy),Dy=x({},fr,{relatedTarget:0}),Vd=tl(Dy),bm=x({},lo,{animationName:0,elapsedTime:0,pseudoElement:0}),Oy=tl(bm),Io=x({},lo,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),Po=tl(Io),Ja=x({},lo,{data:0}),wy=tl(Ja),Sm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wu={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"},My={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ka(n){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(n):(n=My[n])?!!a[n]:!1}function xa(){return Ka}var Xd=x({},fr,{key:function(n){if(n.key){var a=Sm[n.key]||n.key;if(a!=="Unidentified")return a}return n.type==="keypress"?(n=Gd(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?wu[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xa,charCode:function(n){return n.type==="keypress"?Gd(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?Gd(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),Qd=tl(Xd),Tm=x({},Ld,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wa=tl(Tm),vb=x({},fr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xa}),Cy=tl(vb),Uy=x({},lo,{propertyName:0,elapsedTime:0,pseudoElement:0}),bb=tl(Uy),zm=x({},Ld,{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}),Sb=tl(zm),jy=x({},lo,{newState:0,oldState:0}),Em=tl(jy),$d=[9,13,27,32],hr=Ei&&"CompositionEvent"in window,ec=null;Ei&&"documentMode"in document&&(ec=document.documentMode);var sl=Ei&&"TextEvent"in window&&!ec,_m=Ei&&(!hr||ec&&8<ec&&11>=ec),Ws=" ",ao=!1;function Jd(n,a){switch(n){case"keyup":return $d.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Am(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var tc=!1;function Hy(n,a){switch(n){case"compositionend":return Am(a);case"keypress":return a.which!==32?null:(ao=!0,Ws);case"textInput":return n=a.data,n===Ws&&ao?null:n;default:return null}}function Tb(n,a){if(tc)return n==="compositionend"||!hr&&Jd(n,a)?(n=gm(),kd=pm=_i=null,tc=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return _m&&a.locale!=="ko"?null:a.data;default:return null}}var xm={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 Mu(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a==="input"?!!xm[n.type]:a==="textarea"}function Rm(n,a,u,o){Ou?Fo?Fo.push(o):Fo=[o]:Ou=o,a=$f(a,"onChange"),0<a.length&&(u=new Js("onChange","change",null,u,o),n.push({event:u,listeners:a}))}var nc=null,uo=null;function lc(n){w1(n,0)}function mr(n){var a=ar(n);if(sm(a))return n}function Dm(n,a){if(n==="change")return a}var Kd=!1;if(Ei){var Sl;if(Ei){var Fa="oninput"in document;if(!Fa){var Om=document.createElement("div");Om.setAttribute("oninput","return;"),Fa=typeof Om.oninput=="function"}Sl=Fa}else Sl=!1;Kd=Sl&&(!document.documentMode||9<document.documentMode)}function Wd(){nc&&(nc.detachEvent("onpropertychange",Fd),uo=nc=null)}function Fd(n){if(n.propertyName==="value"&&mr(uo)){var a=[];Rm(a,uo,n,Yd(n)),mm(lc,a)}}function Ny(n,a,u){n==="focusin"?(Wd(),nc=a,uo=u,nc.attachEvent("onpropertychange",Fd)):n==="focusout"&&Wd()}function By(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return mr(uo)}function io(n,a){if(n==="click")return mr(a)}function ac(n,a){if(n==="input"||n==="change")return mr(a)}function Zy(n,a){return n===a&&(n!==0||1/n===1/a)||n!==n&&a!==a}var fl=typeof Object.is=="function"?Object.is:Zy;function Ra(n,a){if(fl(n,a))return!0;if(typeof n!="object"||n===null||typeof a!="object"||a===null)return!1;var u=Object.keys(n),o=Object.keys(a);if(u.length!==o.length)return!1;for(o=0;o<u.length;o++){var d=u[o];if(!Wl.call(a,d)||!fl(n[d],a[d]))return!1}return!0}function wm(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function Mm(n,a){var u=wm(n);n=0;for(var o;u;){if(u.nodeType===3){if(o=n+u.textContent.length,n<=a&&o>=a)return{node:u,offset:a-n};n=o}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=wm(u)}}function uc(n,a){return n&&a?n===a?!0:n&&n.nodeType===3?!1:a&&a.nodeType===3?uc(n,a.parentNode):"contains"in n?n.contains(a):n.compareDocumentPosition?!!(n.compareDocumentPosition(a)&16):!1:!1}function oo(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var a=ks(n.document);a instanceof n.HTMLIFrameElement;){try{var u=typeof a.contentWindow.location.href=="string"}catch{u=!1}if(u)n=a.contentWindow;else break;a=ks(n.document)}return a}function Fs(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a&&(a==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||a==="textarea"||n.contentEditable==="true")}var Is=Ei&&"documentMode"in document&&11>=document.documentMode,co=null,pr=null,Da=null,Ia=!1;function Id(n,a,u){var o=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;Ia||co==null||co!==ks(o)||(o=co,"selectionStart"in o&&Fs(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}),Da&&Ra(Da,o)||(Da=o,o=$f(pr,"onSelect"),0<o.length&&(a=new Js("onSelect","select",null,a,u),n.push({event:a,listeners:o}),a.target=co)))}function Ai(n,a){var u={};return u[n.toLowerCase()]=a.toLowerCase(),u["Webkit"+n]="webkit"+a,u["Moz"+n]="moz"+a,u}var Pa={animationend:Ai("Animation","AnimationEnd"),animationiteration:Ai("Animation","AnimationIteration"),animationstart:Ai("Animation","AnimationStart"),transitionrun:Ai("Transition","TransitionRun"),transitionstart:Ai("Transition","TransitionStart"),transitioncancel:Ai("Transition","TransitionCancel"),transitionend:Ai("Transition","TransitionEnd")},gr={},ro={};Ei&&(ro=document.createElement("div").style,"AnimationEvent"in window||(delete Pa.animationend.animation,delete Pa.animationiteration.animation,delete Pa.animationstart.animation),"TransitionEvent"in window||delete Pa.transitionend.transition);function mt(n){if(gr[n])return gr[n];if(!Pa[n])return n;var a=Pa[n],u;for(u in a)if(a.hasOwnProperty(u)&&u in ro)return gr[n]=a[u];return n}var Ps=mt("animationend"),Cm=mt("animationiteration"),Pd=mt("animationstart"),ic=mt("transitionrun"),ef=mt("transitionstart"),Cu=mt("transitioncancel"),qy=mt("transitionend"),Uu=new Map,yr="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(" ");yr.push("scrollEnd");function Tl(n,a){Uu.set(n,a),no(a,[n])}var oc=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=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(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},Qt=[],Yn=0,Oa=0;function ea(){for(var n=Yn,a=Oa=Yn=0;a<n;){var u=Qt[a];Qt[a++]=null;var o=Qt[a];Qt[a++]=null;var d=Qt[a];Qt[a++]=null;var p=Qt[a];if(Qt[a++]=null,o!==null&&d!==null){var b=o.pending;b===null?d.next=d:(d.next=b.next,b.next=d),o.pending=d}p!==0&&eh(u,d,p)}}function ta(n,a,u,o){Qt[Yn++]=n,Qt[Yn++]=a,Qt[Yn++]=u,Qt[Yn++]=o,Oa|=o,n.lanes|=o,n=n.alternate,n!==null&&(n.lanes|=o)}function wa(n,a,u,o){return ta(n,a,u,o),tf(n)}function xi(n,a){return ta(n,null,null,a),tf(n)}function eh(n,a,u){n.lanes|=u;var o=n.alternate;o!==null&&(o.lanes|=u);for(var d=!1,p=n.return;p!==null;)p.childLanes|=u,o=p.alternate,o!==null&&(o.childLanes|=u),p.tag===22&&(n=p.stateNode,n===null||n._visibility&1||(d=!0)),n=p,p=p.return;return n.tag===3?(p=n.stateNode,d&&a!==null&&(d=31-Zn(u),n=p.hiddenUpdates,o=n[d],o===null?n[d]=[a]:o.push(a),a.lane=u|536870912),p):null}function tf(n){if(50<Vr)throw Vr=0,Zf=null,Error(m(185));for(var a=n.return;a!==null;)n=a,a=n.return;return n.tag===3?n.stateNode:null}var zl={};function Yy(n,a,u,o){this.tag=n,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=a,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}function rn(n,a,u,o){return new Yy(n,a,u,o)}function cc(n){return n=n.prototype,!(!n||!n.isReactComponent)}function Ri(n,a){var u=n.alternate;return u===null?(u=rn(n.tag,a,n.key,n.mode),u.elementType=n.elementType,u.type=n.type,u.stateNode=n.stateNode,u.alternate=n,n.alternate=u):(u.pendingProps=a,u.type=n.type,u.flags=0,u.subtreeFlags=0,u.deletions=null),u.flags=n.flags&65011712,u.childLanes=n.childLanes,u.lanes=n.lanes,u.child=n.child,u.memoizedProps=n.memoizedProps,u.memoizedState=n.memoizedState,u.updateQueue=n.updateQueue,a=n.dependencies,u.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},u.sibling=n.sibling,u.index=n.index,u.ref=n.ref,u.refCleanup=n.refCleanup,u}function Um(n,a){n.flags&=65011714;var u=n.alternate;return u===null?(n.childLanes=0,n.lanes=a,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=u.childLanes,n.lanes=u.lanes,n.child=u.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=u.memoizedProps,n.memoizedState=u.memoizedState,n.updateQueue=u.updateQueue,n.type=u.type,a=u.dependencies,n.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),n}function th(n,a,u,o,d,p){var b=0;if(o=n,typeof n=="function")cc(n)&&(b=1);else if(typeof n=="string")b=ng(n,u,re.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case on:return n=rn(31,u,a,d),n.elementType=on,n.lanes=p,n;case Ye:return Di(u.children,d,p,a);case De:b=8,d|=24;break;case me:return n=rn(12,u,a,d|2),n.elementType=me,n.lanes=p,n;case pn:return n=rn(13,u,a,d),n.elementType=pn,n.lanes=p,n;case rt:return n=rn(19,u,a,d),n.elementType=rt,n.lanes=p,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case ut:b=10;break e;case un:b=9;break e;case _t:b=11;break e;case Ct:b=14;break e;case Ne:b=16,o=null;break e}b=29,u=Error(m(130,n===null?"null":typeof n,"")),o=null}return a=rn(b,u,a,d),a.elementType=n,a.type=o,a.lanes=p,a}function Di(n,a,u,o){return n=rn(7,n,o,a),n.lanes=u,n}function vr(n,a,u){return n=rn(6,n,null,a),n.lanes=u,n}function jm(n){var a=rn(18,null,null,0);return a.stateNode=n,a}function nh(n,a,u){return a=rn(4,n.children!==null?n.children:[],n.key,a),a.lanes=u,a.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},a}var Hm=new WeakMap;function na(n,a){if(typeof n=="object"&&n!==null){var u=Hm.get(n);return u!==void 0?u:(a={value:n,source:a,stack:Vo(a)},Hm.set(n,a),a)}return{value:n,source:a,stack:Vo(a)}}var la=[],rc=0,nf=null,bn=0,Yl=[],El=0,eu=null,kl=1,tu="";function Ma(n,a){la[rc++]=bn,la[rc++]=nf,nf=n,bn=a}function Nm(n,a,u){Yl[El++]=kl,Yl[El++]=tu,Yl[El++]=eu,eu=n;var o=kl;n=tu;var d=32-Zn(o)-1;o&=~(1<<d),u+=1;var p=32-Zn(a)+d;if(30<p){var b=d-d%5;p=(o&(1<<b)-1).toString(32),o>>=b,d-=b,kl=1<<32-Zn(a)+d|u<<d|o,tu=p+n}else kl=1<<p|u<<d|o,tu=n}function br(n){n.return!==null&&(Ma(n,1),Nm(n,1,0))}function lh(n){for(;n===nf;)nf=la[--rc],la[rc]=null,bn=la[--rc],la[rc]=null;for(;n===eu;)eu=Yl[--El],Yl[El]=null,tu=Yl[--El],Yl[El]=null,kl=Yl[--El],Yl[El]=null}function lf(n,a){Yl[El++]=kl,Yl[El++]=tu,Yl[El++]=eu,kl=a.id,tu=a.overflow,eu=n}var kn=null,Ut=null,Pe=!1,ju=null,Mn=!1,Hu=Error(m(519));function Ca(n){var a=Error(m(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Tr(na(a,n)),Hu}function af(n){var a=n.stateNode,u=n.type,o=n.memoizedProps;switch(a[xt]=n,a[bl]=o,u){case"dialog":Fe("cancel",a),Fe("close",a);break;case"iframe":case"object":case"embed":Fe("load",a);break;case"video":case"audio":for(u=0;u<Wr.length;u++)Fe(Wr[u],a);break;case"source":Fe("error",a);break;case"img":case"image":case"link":Fe("error",a),Fe("load",a);break;case"details":Fe("toggle",a);break;case"input":Fe("invalid",a),Ls(a,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"select":Fe("invalid",a);break;case"textarea":Fe("invalid",a),dm(a,o.value,o.defaultValue,o.children)}u=o.children,typeof u!="string"&&typeof u!="number"&&typeof u!="bigint"||a.textContent===""+u||o.suppressHydrationWarning===!0||Xp(a.textContent,u)?(o.popover!=null&&(Fe("beforetoggle",a),Fe("toggle",a)),o.onScroll!=null&&Fe("scroll",a),o.onScrollEnd!=null&&Fe("scrollend",a),o.onClick!=null&&(a.onclick=$a),a=!0):a=!1,a||Ca(n,!0)}function Sr(n){for(kn=n.return;kn;)switch(kn.tag){case 5:case 31:case 13:Mn=!1;return;case 27:case 3:Mn=!0;return;default:kn=kn.return}}function Nu(n){if(n!==kn)return!1;if(!Pe)return Sr(n),Pe=!0,!1;var a=n.tag,u;if((u=a!==3&&a!==27)&&((u=a===5)&&(u=n.type,u=!(u!=="form"&&u!=="button")||Ir(n.type,n.memoizedProps)),u=!u),u&&Ut&&Ca(n),Sr(n),a===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(m(317));Ut=i0(n)}else if(a===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(m(317));Ut=i0(n)}else a===27?(a=Ut,du(n.type)?(n=Wf,Wf=null,Ut=n):Ut=a):Ut=kn?Ul(n.stateNode.nextSibling):null;return!0}function so(){Ut=kn=null,Pe=!1}function Bm(){var n=ju;return n!==null&&(nn===null?nn=n:nn.push.apply(nn,n),ju=null),n}function Tr(n){ju===null?ju=[n]:ju.push(n)}var ah=K(null),Oi=null,nu=null;function _l(n,a,u){oe(ah,a._currentValue),a._currentValue=u}function lu(n){n._currentValue=ah.current,de(ah)}function uh(n,a,u){for(;n!==null;){var o=n.alternate;if((n.childLanes&a)!==a?(n.childLanes|=a,o!==null&&(o.childLanes|=a)):o!==null&&(o.childLanes&a)!==a&&(o.childLanes|=a),n===u)break;n=n.return}}function Bu(n,a,u,o){var d=n.child;for(d!==null&&(d.return=n);d!==null;){var p=d.dependencies;if(p!==null){var b=d.child;p=p.firstContext;e:for(;p!==null;){var A=p;p=d;for(var M=0;M<a.length;M++)if(A.context===a[M]){p.lanes|=u,A=p.alternate,A!==null&&(A.lanes|=u),uh(p.return,u,n),o||(b=null);break e}p=A.next}}else if(d.tag===18){if(b=d.return,b===null)throw Error(m(341));b.lanes|=u,p=b.alternate,p!==null&&(p.lanes|=u),uh(b,u,n),b=null}else b=d.child;if(b!==null)b.return=d;else for(b=d;b!==null;){if(b===n){b=null;break}if(d=b.sibling,d!==null){d.return=b.return,b=d;break}b=b.return}d=b}}function Gn(n,a,u,o){n=null;for(var d=a,p=!1;d!==null;){if(!p){if((d.flags&524288)!==0)p=!0;else if((d.flags&262144)!==0)break}if(d.tag===10){var b=d.alternate;if(b===null)throw Error(m(387));if(b=b.memoizedProps,b!==null){var A=d.type;fl(d.pendingProps.value,b.value)||(n!==null?n.push(A):n=[A])}}else if(d===st.current){if(b=d.alternate,b===null)throw Error(m(387));b.memoizedState.memoizedState!==d.memoizedState.memoizedState&&(n!==null?n.push(Pf):n=[Pf])}d=d.return}n!==null&&Bu(a,n,u,o),a.flags|=262144}function sc(n){for(n=n.firstContext;n!==null;){if(!fl(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function Ce(n){Oi=n,nu=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function te(n){return uf(Oi,n)}function wi(n,a){return Oi===null&&Ce(n),uf(n,a)}function uf(n,a){var u=a._currentValue;if(a={context:a,memoizedValue:u,next:null},nu===null){if(n===null)throw Error(m(308));nu=a,n.dependencies={lanes:0,firstContext:a},n.flags|=524288}else nu=nu.next=a;return u}var sn=typeof AbortController<"u"?AbortController:function(){var n=[],a=this.signal={aborted:!1,addEventListener:function(u,o){n.push(o)}};this.abort=function(){a.aborted=!0,n.forEach(function(u){return u()})}},Zm=r.unstable_scheduleCallback,qm=r.unstable_NormalPriority,Sn={$$typeof:ut,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function of(){return{controller:new sn,data:new Map,refCount:0}}function cf(n){n.refCount--,n.refCount===0&&Zm(qm,function(){n.controller.abort()})}var fc=null,rf=0,fo=0,xn=null;function bt(n,a){if(fc===null){var u=fc=[];rf=0,fo=Ih(),xn={status:"pending",value:void 0,then:function(o){u.push(o)}}}return rf++,a.then(sf,sf),a}function sf(){if(--rf===0&&fc!==null){xn!==null&&(xn.status="fulfilled");var n=fc;fc=null,fo=0,xn=null;for(var a=0;a<n.length;a++)(0,n[a])()}}function ff(n,a){var u=[],o={status:"pending",value:null,reason:null,then:function(d){u.push(d)}};return n.then(function(){o.status="fulfilled",o.value=a;for(var d=0;d<u.length;d++)(0,u[d])(a)},function(d){for(o.status="rejected",o.reason=d,d=0;d<u.length;d++)(0,u[d])(void 0)}),o}var Mi=U.S;U.S=function(n,a){Cp=wn(),typeof a=="object"&&a!==null&&typeof a.then=="function"&&bt(n,a),Mi!==null&&Mi(n,a)};var aa=K(null);function ua(){var n=aa.current;return n!==null?n:Dt.pooledCache}function zr(n,a){a===null?oe(aa,aa.current):oe(aa,a.pool)}function dc(){var n=ua();return n===null?null:{parent:Sn._currentValue,pool:n}}var ho=Error(m(460)),hc=Error(m(474)),Er=Error(m(542)),mc={then:function(){}};function Ym(n){return n=n.status,n==="fulfilled"||n==="rejected"}function km(n,a,u){switch(u=n[u],u===void 0?n.push(a):u!==a&&(a.then($a,$a),a=u),a.status){case"fulfilled":return a.value;case"rejected":throw n=a.reason,ih(n),n;default:if(typeof a.status=="string")a.then($a,$a);else{if(n=Dt,n!==null&&100<n.shellSuspendCounter)throw Error(m(482));n=a,n.status="pending",n.then(function(o){if(a.status==="pending"){var d=a;d.status="fulfilled",d.value=o}},function(o){if(a.status==="pending"){var d=a;d.status="rejected",d.reason=o}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw n=a.reason,ih(n),n}throw po=a,ho}}function mo(n){try{var a=n._init;return a(n._payload)}catch(u){throw u!==null&&typeof u=="object"&&typeof u.then=="function"?(po=u,ho):u}}var po=null;function Gm(){if(po===null)throw Error(m(459));var n=po;return po=null,n}function ih(n){if(n===ho||n===Er)throw Error(m(483))}var go=null,pc=0;function df(n){var a=pc;return pc+=1,go===null&&(go=[]),km(go,n,a)}function _r(n,a){a=a.props.ref,n.ref=a!==void 0?a:null}function hf(n,a){throw a.$$typeof===I?Error(m(525)):(n=Object.prototype.toString.call(a),Error(m(31,n==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":n)))}function ky(n){function a(Z,N){if(n){var Y=Z.deletions;Y===null?(Z.deletions=[N],Z.flags|=16):Y.push(N)}}function u(Z,N){if(!n)return null;for(;N!==null;)a(Z,N),N=N.sibling;return null}function o(Z){for(var N=new Map;Z!==null;)Z.key!==null?N.set(Z.key,Z):N.set(Z.index,Z),Z=Z.sibling;return N}function d(Z,N){return Z=Ri(Z,N),Z.index=0,Z.sibling=null,Z}function p(Z,N,Y){return Z.index=Y,n?(Y=Z.alternate,Y!==null?(Y=Y.index,Y<N?(Z.flags|=67108866,N):Y):(Z.flags|=67108866,N)):(Z.flags|=1048576,N)}function b(Z){return n&&Z.alternate===null&&(Z.flags|=67108866),Z}function A(Z,N,Y,P){return N===null||N.tag!==6?(N=vr(Y,Z.mode,P),N.return=Z,N):(N=d(N,Y),N.return=Z,N)}function M(Z,N,Y,P){var ze=Y.type;return ze===Ye?W(Z,N,Y.props.children,P,Y.key):N!==null&&(N.elementType===ze||typeof ze=="object"&&ze!==null&&ze.$$typeof===Ne&&mo(ze)===N.type)?(N=d(N,Y.props),_r(N,Y),N.return=Z,N):(N=th(Y.type,Y.key,Y.props,null,Z.mode,P),_r(N,Y),N.return=Z,N)}function k(Z,N,Y,P){return N===null||N.tag!==4||N.stateNode.containerInfo!==Y.containerInfo||N.stateNode.implementation!==Y.implementation?(N=nh(Y,Z.mode,P),N.return=Z,N):(N=d(N,Y.children||[]),N.return=Z,N)}function W(Z,N,Y,P,ze){return N===null||N.tag!==7?(N=Di(Y,Z.mode,P,ze),N.return=Z,N):(N=d(N,Y),N.return=Z,N)}function ee(Z,N,Y){if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return N=vr(""+N,Z.mode,Y),N.return=Z,N;if(typeof N=="object"&&N!==null){switch(N.$$typeof){case le:return Y=th(N.type,N.key,N.props,null,Z.mode,Y),_r(Y,N),Y.return=Z,Y;case ie:return N=nh(N,Z.mode,Y),N.return=Z,N;case Ne:return N=mo(N),ee(Z,N,Y)}if(Vt(N)||Ze(N))return N=Di(N,Z.mode,Y,null),N.return=Z,N;if(typeof N.then=="function")return ee(Z,df(N),Y);if(N.$$typeof===ut)return ee(Z,wi(Z,N),Y);hf(Z,N)}return null}function G(Z,N,Y,P){var ze=N!==null?N.key:null;if(typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint")return ze!==null?null:A(Z,N,""+Y,P);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case le:return Y.key===ze?M(Z,N,Y,P):null;case ie:return Y.key===ze?k(Z,N,Y,P):null;case Ne:return Y=mo(Y),G(Z,N,Y,P)}if(Vt(Y)||Ze(Y))return ze!==null?null:W(Z,N,Y,P,null);if(typeof Y.then=="function")return G(Z,N,df(Y),P);if(Y.$$typeof===ut)return G(Z,N,wi(Z,Y),P);hf(Z,Y)}return null}function $(Z,N,Y,P,ze){if(typeof P=="string"&&P!==""||typeof P=="number"||typeof P=="bigint")return Z=Z.get(Y)||null,A(N,Z,""+P,ze);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case le:return Z=Z.get(P.key===null?Y:P.key)||null,M(N,Z,P,ze);case ie:return Z=Z.get(P.key===null?Y:P.key)||null,k(N,Z,P,ze);case Ne:return P=mo(P),$(Z,N,Y,P,ze)}if(Vt(P)||Ze(P))return Z=Z.get(Y)||null,W(N,Z,P,ze,null);if(typeof P.then=="function")return $(Z,N,Y,df(P),ze);if(P.$$typeof===ut)return $(Z,N,Y,wi(N,P),ze);hf(N,P)}return null}function pe(Z,N,Y,P){for(var ze=null,it=null,ve=N,Be=N=0,Le=null;ve!==null&&Be<Y.length;Be++){ve.index>Be?(Le=ve,ve=null):Le=ve.sibling;var dt=G(Z,ve,Y[Be],P);if(dt===null){ve===null&&(ve=Le);break}n&&ve&&dt.alternate===null&&a(Z,ve),N=p(dt,N,Be),it===null?ze=dt:it.sibling=dt,it=dt,ve=Le}if(Be===Y.length)return u(Z,ve),Pe&&Ma(Z,Be),ze;if(ve===null){for(;Be<Y.length;Be++)ve=ee(Z,Y[Be],P),ve!==null&&(N=p(ve,N,Be),it===null?ze=ve:it.sibling=ve,it=ve);return Pe&&Ma(Z,Be),ze}for(ve=o(ve);Be<Y.length;Be++)Le=$(ve,Z,Be,Y[Be],P),Le!==null&&(n&&Le.alternate!==null&&ve.delete(Le.key===null?Be:Le.key),N=p(Le,N,Be),it===null?ze=Le:it.sibling=Le,it=Le);return n&&ve.forEach(function(pu){return a(Z,pu)}),Pe&&Ma(Z,Be),ze}function Ae(Z,N,Y,P){if(Y==null)throw Error(m(151));for(var ze=null,it=null,ve=N,Be=N=0,Le=null,dt=Y.next();ve!==null&&!dt.done;Be++,dt=Y.next()){ve.index>Be?(Le=ve,ve=null):Le=ve.sibling;var pu=G(Z,ve,dt.value,P);if(pu===null){ve===null&&(ve=Le);break}n&&ve&&pu.alternate===null&&a(Z,ve),N=p(pu,N,Be),it===null?ze=pu:it.sibling=pu,it=pu,ve=Le}if(dt.done)return u(Z,ve),Pe&&Ma(Z,Be),ze;if(ve===null){for(;!dt.done;Be++,dt=Y.next())dt=ee(Z,dt.value,P),dt!==null&&(N=p(dt,N,Be),it===null?ze=dt:it.sibling=dt,it=dt);return Pe&&Ma(Z,Be),ze}for(ve=o(ve);!dt.done;Be++,dt=Y.next())dt=$(ve,Z,Be,dt.value,P),dt!==null&&(n&&dt.alternate!==null&&ve.delete(dt.key===null?Be:dt.key),N=p(dt,N,Be),it===null?ze=dt:it.sibling=dt,it=dt);return n&&ve.forEach(function(X1){return a(Z,X1)}),Pe&&Ma(Z,Be),ze}function wt(Z,N,Y,P){if(typeof Y=="object"&&Y!==null&&Y.type===Ye&&Y.key===null&&(Y=Y.props.children),typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case le:e:{for(var ze=Y.key;N!==null;){if(N.key===ze){if(ze=Y.type,ze===Ye){if(N.tag===7){u(Z,N.sibling),P=d(N,Y.props.children),P.return=Z,Z=P;break e}}else if(N.elementType===ze||typeof ze=="object"&&ze!==null&&ze.$$typeof===Ne&&mo(ze)===N.type){u(Z,N.sibling),P=d(N,Y.props),_r(P,Y),P.return=Z,Z=P;break e}u(Z,N);break}else a(Z,N);N=N.sibling}Y.type===Ye?(P=Di(Y.props.children,Z.mode,P,Y.key),P.return=Z,Z=P):(P=th(Y.type,Y.key,Y.props,null,Z.mode,P),_r(P,Y),P.return=Z,Z=P)}return b(Z);case ie:e:{for(ze=Y.key;N!==null;){if(N.key===ze)if(N.tag===4&&N.stateNode.containerInfo===Y.containerInfo&&N.stateNode.implementation===Y.implementation){u(Z,N.sibling),P=d(N,Y.children||[]),P.return=Z,Z=P;break e}else{u(Z,N);break}else a(Z,N);N=N.sibling}P=nh(Y,Z.mode,P),P.return=Z,Z=P}return b(Z);case Ne:return Y=mo(Y),wt(Z,N,Y,P)}if(Vt(Y))return pe(Z,N,Y,P);if(Ze(Y)){if(ze=Ze(Y),typeof ze!="function")throw Error(m(150));return Y=ze.call(Y),Ae(Z,N,Y,P)}if(typeof Y.then=="function")return wt(Z,N,df(Y),P);if(Y.$$typeof===ut)return wt(Z,N,wi(Z,Y),P);hf(Z,Y)}return typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint"?(Y=""+Y,N!==null&&N.tag===6?(u(Z,N.sibling),P=d(N,Y),P.return=Z,Z=P):(u(Z,N),P=vr(Y,Z.mode,P),P.return=Z,Z=P),b(Z)):u(Z,N)}return function(Z,N,Y,P){try{pc=0;var ze=wt(Z,N,Y,P);return go=null,ze}catch(ve){if(ve===ho||ve===Er)throw ve;var it=rn(29,ve,null,Z.mode);return it.lanes=P,it.return=Z,it}}}var yo=ky(!0),Lm=ky(!1),Ci=!1;function mf(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function oh(n,a){n=n.updateQueue,a.updateQueue===n&&(a.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function Ui(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function ia(n,a,u){var o=n.updateQueue;if(o===null)return null;if(o=o.shared,(ft&2)!==0){var d=o.pending;return d===null?a.next=a:(a.next=d.next,d.next=a),o.pending=a,a=tf(n),eh(n,null,u),a}return ta(n,o,a,u),tf(n)}function vo(n,a,u){if(a=a.updateQueue,a!==null&&(a=a.shared,(u&4194048)!==0)){var o=a.lanes;o&=n.pendingLanes,u|=o,a.lanes=u,cn(n,u)}}function ch(n,a){var u=n.updateQueue,o=n.alternate;if(o!==null&&(o=o.updateQueue,u===o)){var d=null,p=null;if(u=u.firstBaseUpdate,u!==null){do{var b={lane:u.lane,tag:u.tag,payload:u.payload,callback:null,next:null};p===null?d=p=b:p=p.next=b,u=u.next}while(u!==null);p===null?d=p=a:p=p.next=a}else d=p=a;u={baseState:o.baseState,firstBaseUpdate:d,lastBaseUpdate:p,shared:o.shared,callbacks:o.callbacks},n.updateQueue=u;return}n=u.lastBaseUpdate,n===null?u.firstBaseUpdate=a:n.next=a,u.lastBaseUpdate=a}var Vm=!1;function bo(){if(Vm){var n=xn;if(n!==null)throw n}}function Zu(n,a,u,o){Vm=!1;var d=n.updateQueue;Ci=!1;var p=d.firstBaseUpdate,b=d.lastBaseUpdate,A=d.shared.pending;if(A!==null){d.shared.pending=null;var M=A,k=M.next;M.next=null,b===null?p=k:b.next=k,b=M;var W=n.alternate;W!==null&&(W=W.updateQueue,A=W.lastBaseUpdate,A!==b&&(A===null?W.firstBaseUpdate=k:A.next=k,W.lastBaseUpdate=M))}if(p!==null){var ee=d.baseState;b=0,W=k=M=null,A=p;do{var G=A.lane&-536870913,$=G!==A.lane;if($?(Ke&G)===G:(o&G)===G){G!==0&&G===fo&&(Vm=!0),W!==null&&(W=W.next={lane:0,tag:A.tag,payload:A.payload,callback:null,next:null});e:{var pe=n,Ae=A;G=a;var wt=u;switch(Ae.tag){case 1:if(pe=Ae.payload,typeof pe=="function"){ee=pe.call(wt,ee,G);break e}ee=pe;break e;case 3:pe.flags=pe.flags&-65537|128;case 0:if(pe=Ae.payload,G=typeof pe=="function"?pe.call(wt,ee,G):pe,G==null)break e;ee=x({},ee,G);break e;case 2:Ci=!0}}G=A.callback,G!==null&&(n.flags|=64,$&&(n.flags|=8192),$=d.callbacks,$===null?d.callbacks=[G]:$.push(G))}else $={lane:G,tag:A.tag,payload:A.payload,callback:A.callback,next:null},W===null?(k=W=$,M=ee):W=W.next=$,b|=G;if(A=A.next,A===null){if(A=d.shared.pending,A===null)break;$=A,A=$.next,$.next=null,d.lastBaseUpdate=$,d.shared.pending=null}}while(!0);W===null&&(M=ee),d.baseState=M,d.firstBaseUpdate=k,d.lastBaseUpdate=W,p===null&&(d.shared.lanes=0),su|=b,n.lanes=b,n.memoizedState=ee}}function rh(n,a){if(typeof n!="function")throw Error(m(191,n));n.call(a)}function So(n,a){var u=n.callbacks;if(u!==null)for(n.callbacks=null,n=0;n<u.length;n++)rh(u[n],a)}var Cn=K(null),gc=K(0);function Gy(n,a){n=ru,oe(gc,n),oe(Cn,a),ru=n|a.baseLanes}function pf(){oe(gc,ru),oe(Cn,Cn.current)}function Ar(){ru=gc.current,de(Cn),de(gc)}var Al=K(null),oa=null;function qu(n){var a=n.alternate;oe($t,$t.current&1),oe(Al,n),oa===null&&(a===null||Cn.current!==null||a.memoizedState!==null)&&(oa=n)}function xr(n){oe($t,$t.current),oe(Al,n),oa===null&&(oa=n)}function sh(n){n.tag===22?(oe($t,$t.current),oe(Al,n),oa===null&&(oa=n)):au()}function au(){oe($t,$t.current),oe(Al,Al.current)}function xl(n){de(Al),oa===n&&(oa=null),de($t)}var $t=K(0);function Rr(n){for(var a=n;a!==null;){if(a.tag===13){var u=a.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||Na(u)||Co(u)))return a}else if(a.tag===19&&(a.memoizedProps.revealOrder==="forwards"||a.memoizedProps.revealOrder==="backwards"||a.memoizedProps.revealOrder==="unstable_legacy-backwards"||a.memoizedProps.revealOrder==="together")){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var Yu=0,qe=null,St=null,Tn=null,yc=!1,vc=!1,ji=!1,gf=0,Dr=0,To=null,Ly=0;function en(){throw Error(m(321))}function Hi(n,a){if(a===null)return!1;for(var u=0;u<a.length&&u<n.length;u++)if(!fl(n[u],a[u]))return!1;return!0}function yf(n,a,u,o,d,p){return Yu=p,qe=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,U.H=n===null||n.memoizedState===null?Fy:Rh,ji=!1,p=u(o,d),ji=!1,vc&&(p=Vy(a,u,o,d)),fh(n),p}function fh(n){U.H=xf;var a=St!==null&&St.next!==null;if(Yu=0,Tn=St=qe=null,yc=!1,Dr=0,To=null,a)throw Error(m(300));n===null||zn||(n=n.dependencies,n!==null&&sc(n)&&(zn=!0))}function Vy(n,a,u,o){qe=n;var d=0;do{if(vc&&(To=null),Dr=0,vc=!1,25<=d)throw Error(m(301));if(d+=1,Tn=St=null,n.updateQueue!=null){var p=n.updateQueue;p.lastEffect=null,p.events=null,p.stores=null,p.memoCache!=null&&(p.memoCache.index=0)}U.H=Iy,p=a(u,o)}while(vc);return p}function zb(){var n=U.H,a=n.useState()[0];return a=typeof a.then=="function"?Sc(a):a,n=n.useState()[0],(St!==null?St.memoizedState:null)!==n&&(qe.flags|=1024),a}function dh(){var n=gf!==0;return gf=0,n}function bc(n,a,u){a.updateQueue=n.updateQueue,a.flags&=-2053,n.lanes&=~u}function vf(n){if(yc){for(n=n.memoizedState;n!==null;){var a=n.queue;a!==null&&(a.pending=null),n=n.next}yc=!1}Yu=0,Tn=St=qe=null,vc=!1,Dr=gf=0,To=null}function Ln(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Tn===null?qe.memoizedState=Tn=n:Tn=Tn.next=n,Tn}function fn(){if(St===null){var n=qe.alternate;n=n!==null?n.memoizedState:null}else n=St.next;var a=Tn===null?qe.memoizedState:Tn.next;if(a!==null)Tn=a,St=n;else{if(n===null)throw qe.alternate===null?Error(m(467)):Error(m(310));St=n,n={memoizedState:St.memoizedState,baseState:St.baseState,baseQueue:St.baseQueue,queue:St.queue,next:null},Tn===null?qe.memoizedState=Tn=n:Tn=Tn.next=n}return Tn}function bf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Sc(n){var a=Dr;return Dr+=1,To===null&&(To=[]),n=km(To,n,a),a=qe,(Tn===null?a.memoizedState:Tn.next)===null&&(a=a.alternate,U.H=a===null||a.memoizedState===null?Fy:Rh),n}function Or(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return Sc(n);if(n.$$typeof===ut)return te(n)}throw Error(m(438,String(n)))}function hh(n){var a=null,u=qe.updateQueue;if(u!==null&&(a=u.memoCache),a==null){var o=qe.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(a={data:o.data.map(function(d){return d.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),u===null&&(u=bf(),qe.updateQueue=u),u.memoCache=a,u=a.data[a.index],u===void 0)for(u=a.data[a.index]=Array(n),o=0;o<n;o++)u[o]=ge;return a.index++,u}function ku(n,a){return typeof a=="function"?a(n):a}function Gu(n){var a=fn();return mh(a,St,n)}function mh(n,a,u){var o=n.queue;if(o===null)throw Error(m(311));o.lastRenderedReducer=u;var d=n.baseQueue,p=o.pending;if(p!==null){if(d!==null){var b=d.next;d.next=p.next,p.next=b}a.baseQueue=d=p,o.pending=null}if(p=n.baseState,d===null)n.memoizedState=p;else{a=d.next;var A=b=null,M=null,k=a,W=!1;do{var ee=k.lane&-536870913;if(ee!==k.lane?(Ke&ee)===ee:(Yu&ee)===ee){var G=k.revertLane;if(G===0)M!==null&&(M=M.next={lane:0,revertLane:0,gesture:null,action:k.action,hasEagerState:k.hasEagerState,eagerState:k.eagerState,next:null}),ee===fo&&(W=!0);else if((Yu&G)===G){k=k.next,G===fo&&(W=!0);continue}else ee={lane:0,revertLane:k.revertLane,gesture:null,action:k.action,hasEagerState:k.hasEagerState,eagerState:k.eagerState,next:null},M===null?(A=M=ee,b=p):M=M.next=ee,qe.lanes|=G,su|=G;ee=k.action,ji&&u(p,ee),p=k.hasEagerState?k.eagerState:u(p,ee)}else G={lane:ee,revertLane:k.revertLane,gesture:k.gesture,action:k.action,hasEagerState:k.hasEagerState,eagerState:k.eagerState,next:null},M===null?(A=M=G,b=p):M=M.next=G,qe.lanes|=ee,su|=ee;k=k.next}while(k!==null&&k!==a);if(M===null?b=p:M.next=A,!fl(p,n.memoizedState)&&(zn=!0,W&&(u=xn,u!==null)))throw u;n.memoizedState=p,n.baseState=b,n.baseQueue=M,o.lastRenderedState=p}return d===null&&(o.lanes=0),[n.memoizedState,o.dispatch]}function ph(n){var a=fn(),u=a.queue;if(u===null)throw Error(m(311));u.lastRenderedReducer=n;var o=u.dispatch,d=u.pending,p=a.memoizedState;if(d!==null){u.pending=null;var b=d=d.next;do p=n(p,b.action),b=b.next;while(b!==d);fl(p,a.memoizedState)||(zn=!0),a.memoizedState=p,a.baseQueue===null&&(a.baseState=p),u.lastRenderedState=p}return[p,o]}function Xm(n,a,u){var o=qe,d=fn(),p=Pe;if(p){if(u===void 0)throw Error(m(407));u=u()}else u=a();var b=!fl((St||d).memoizedState,u);if(b&&(d.memoizedState=u,zn=!0),d=d.queue,Sh(gh.bind(null,o,d,n),[n]),d.getSnapshot!==a||b||Tn!==null&&Tn.memoizedState.tag&1){if(o.flags|=2048,zc(9,{destroy:void 0},Qm.bind(null,o,d,u,a),null),Dt===null)throw Error(m(349));p||(Yu&127)!==0||Sf(o,a,u)}return u}function Sf(n,a,u){n.flags|=16384,n={getSnapshot:a,value:u},a=qe.updateQueue,a===null?(a=bf(),qe.updateQueue=a,a.stores=[n]):(u=a.stores,u===null?a.stores=[n]:u.push(n))}function Qm(n,a,u,o){a.value=u,a.getSnapshot=o,yh(a)&&vh(n)}function gh(n,a,u){return u(function(){yh(a)&&vh(n)})}function yh(n){var a=n.getSnapshot;n=n.value;try{var u=a();return!fl(n,u)}catch{return!0}}function vh(n){var a=xi(n,2);a!==null&&Cl(a,n,2)}function $m(n){var a=Ln();if(typeof n=="function"){var u=n;if(n=u(),ji){Ea(!0);try{u()}finally{Ea(!1)}}}return a.memoizedState=a.baseState=n,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ku,lastRenderedState:n},a}function Vn(n,a,u,o){return n.baseState=u,mh(n,St,typeof o=="function"?o:ku)}function Xy(n,a,u,o,d){if(Af(n))throw Error(m(485));if(n=a.action,n!==null){var p={payload:d,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(b){p.listeners.push(b)}};U.T!==null?u(!0):p.isTransition=!1,o(p),u=a.pending,u===null?(p.next=a.pending=p,Jm(a,p)):(p.next=u.next,a.pending=u.next=p)}}function Jm(n,a){var u=a.action,o=a.payload,d=n.state;if(a.isTransition){var p=U.T,b={};U.T=b;try{var A=u(d,o),M=U.S;M!==null&&M(b,A),Km(n,a,A)}catch(k){Tc(n,a,k)}finally{p!==null&&b.types!==null&&(p.types=b.types),U.T=p}}else try{p=u(d,o),Km(n,a,p)}catch(k){Tc(n,a,k)}}function Km(n,a,u){u!==null&&typeof u=="object"&&typeof u.then=="function"?u.then(function(o){Wm(n,a,o)},function(o){return Tc(n,a,o)}):Wm(n,a,u)}function Wm(n,a,u){a.status="fulfilled",a.value=u,Fm(a),n.state=u,a=n.pending,a!==null&&(u=a.next,u===a?n.pending=null:(u=u.next,a.next=u,Jm(n,u)))}function Tc(n,a,u){var o=n.pending;if(n.pending=null,o!==null){o=o.next;do a.status="rejected",a.reason=u,Fm(a),a=a.next;while(a!==o)}n.action=null}function Fm(n){n=n.listeners;for(var a=0;a<n.length;a++)(0,n[a])()}function Tf(n,a){return a}function Im(n,a){if(Pe){var u=Dt.formState;if(u!==null){e:{var o=qe;if(Pe){if(Ut){t:{for(var d=Ut,p=Mn;d.nodeType!==8;){if(!p){d=null;break t}if(d=Ul(d.nextSibling),d===null){d=null;break t}}p=d.data,d=p==="F!"||p==="F"?d:null}if(d){Ut=Ul(d.nextSibling),o=d.data==="F!";break e}}Ca(o)}o=!1}o&&(a=u[0])}}return u=Ln(),u.memoizedState=u.baseState=a,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Tf,lastRenderedState:a},u.queue=o,u=Ah.bind(null,qe,o),o.dispatch=u,o=$m(!1),p=zo.bind(null,qe,!1,o.queue),o=Ln(),d={state:a,dispatch:null,action:n,pending:null},o.queue=d,u=Xy.bind(null,qe,d,p,u),d.dispatch=u,o.memoizedState=n,[a,u,!1]}function Qy(n){var a=fn();return zf(a,St,n)}function zf(n,a,u){if(a=mh(n,a,Tf)[0],n=Gu(ku)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var o=Sc(a)}catch(b){throw b===ho?Er:b}else o=a;a=fn();var d=a.queue,p=d.dispatch;return u!==a.memoizedState&&(qe.flags|=2048,zc(9,{destroy:void 0},Pm.bind(null,d,u),null)),[o,p,n]}function Pm(n,a){n.action=a}function ep(n){var a=fn(),u=St;if(u!==null)return zf(a,u,n);fn(),a=a.memoizedState,u=fn();var o=u.queue.dispatch;return u.memoizedState=n,[a,o,!1]}function zc(n,a,u,o){return n={tag:n,create:u,deps:o,inst:a,next:null},a=qe.updateQueue,a===null&&(a=bf(),qe.updateQueue=a),u=a.lastEffect,u===null?a.lastEffect=n.next=n:(o=u.next,u.next=n,n.next=o,a.lastEffect=n),n}function tp(){return fn().memoizedState}function wr(n,a,u,o){var d=Ln();qe.flags|=n,d.memoizedState=zc(1|a,{destroy:void 0},u,o===void 0?null:o)}function Mr(n,a,u,o){var d=fn();o=o===void 0?null:o;var p=d.memoizedState.inst;St!==null&&o!==null&&Hi(o,St.memoizedState.deps)?d.memoizedState=zc(a,p,u,o):(qe.flags|=n,d.memoizedState=zc(1|a,p,u,o))}function bh(n,a){wr(8390656,8,n,a)}function Sh(n,a){Mr(2048,8,n,a)}function np(n){qe.flags|=4;var a=qe.updateQueue;if(a===null)a=bf(),qe.updateQueue=a,a.events=[n];else{var u=a.events;u===null?a.events=[n]:u.push(n)}}function Ef(n){var a=fn().memoizedState;return np({ref:a,nextImpl:n}),function(){if((ft&2)!==0)throw Error(m(440));return a.impl.apply(void 0,arguments)}}function Th(n,a){return Mr(4,2,n,a)}function lp(n,a){return Mr(4,4,n,a)}function zh(n,a){if(typeof a=="function"){n=n();var u=a(n);return function(){typeof u=="function"?u():a(null)}}if(a!=null)return n=n(),a.current=n,function(){a.current=null}}function ap(n,a,u){u=u!=null?u.concat([n]):null,Mr(4,4,zh.bind(null,a,n),u)}function uu(){}function Eh(n,a){var u=fn();a=a===void 0?null:a;var o=u.memoizedState;return a!==null&&Hi(a,o[1])?o[0]:(u.memoizedState=[n,a],n)}function $y(n,a){var u=fn();a=a===void 0?null:a;var o=u.memoizedState;if(a!==null&&Hi(a,o[1]))return o[0];if(o=n(),ji){Ea(!0);try{n()}finally{Ea(!1)}}return u.memoizedState=[o,a],o}function _f(n,a,u){return u===void 0||(Yu&1073741824)!==0&&(Ke&261930)===0?n.memoizedState=a:(n.memoizedState=u,n=c1(),qe.lanes|=n,su|=n,u)}function Lu(n,a,u,o){return fl(u,a)?u:Cn.current!==null?(n=_f(n,u,o),fl(n,a)||(zn=!0),n):(Yu&42)===0||(Yu&1073741824)!==0&&(Ke&261930)===0?(zn=!0,n.memoizedState=u):(n=c1(),qe.lanes|=n,su|=n,a)}function _h(n,a,u,o,d){var p=J.p;J.p=p!==0&&8>p?p:8;var b=U.T,A={};U.T=A,zo(n,!1,a,u);try{var M=d(),k=U.S;if(k!==null&&k(A,M),M!==null&&typeof M=="object"&&typeof M.then=="function"){var W=ff(M,o);Ni(n,a,W,Xl(n))}else Ni(n,a,o,Xl(n))}catch(ee){Ni(n,a,{then:function(){},status:"rejected",reason:ee},Xl())}finally{J.p=p,b!==null&&A.types!==null&&(b.types=A.types),U.T=b}}function Jy(){}function Cr(n,a,u,o){if(n.tag!==5)throw Error(m(476));var d=Ur(n).queue;_h(n,d,a,ae,u===null?Jy:function(){return Rt(n),u(o)})}function Ur(n){var a=n.memoizedState;if(a!==null)return a;a={memoizedState:ae,baseState:ae,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ku,lastRenderedState:ae},next:null};var u={};return a.next={memoizedState:u,baseState:u,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ku,lastRenderedState:u},next:null},n.memoizedState=a,n=n.alternate,n!==null&&(n.memoizedState=a),a}function Rt(n){var a=Ur(n);a.next===null&&(a=n.alternate.memoizedState),Ni(n,a.next.queue,{},Xl())}function up(){return te(Pf)}function Ky(){return fn().memoizedState}function ip(){return fn().memoizedState}function Vu(n){for(var a=n.return;a!==null;){switch(a.tag){case 24:case 3:var u=Xl();n=Ui(u);var o=ia(a,n,u);o!==null&&(Cl(o,a,u),vo(o,a,u)),a={cache:of()},n.payload=a;return}a=a.return}}function Wy(n,a,u){var o=Xl();u={lane:o,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},Af(n)?xh(a,u):(u=wa(n,a,u,o),u!==null&&(Cl(u,n,o),op(u,a,o)))}function Ah(n,a,u){var o=Xl();Ni(n,a,u,o)}function Ni(n,a,u,o){var d={lane:o,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null};if(Af(n))xh(a,d);else{var p=n.alternate;if(n.lanes===0&&(p===null||p.lanes===0)&&(p=a.lastRenderedReducer,p!==null))try{var b=a.lastRenderedState,A=p(b,u);if(d.hasEagerState=!0,d.eagerState=A,fl(A,b))return ta(n,a,d,0),Dt===null&&ea(),!1}catch{}if(u=wa(n,a,d,o),u!==null)return Cl(u,n,o),op(u,a,o),!0}return!1}function zo(n,a,u,o){if(o={lane:2,revertLane:Ih(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Af(n)){if(a)throw Error(m(479))}else a=wa(n,u,o,2),a!==null&&Cl(a,n,2)}function Af(n){var a=n.alternate;return n===qe||a!==null&&a===qe}function xh(n,a){vc=yc=!0;var u=n.pending;u===null?a.next=a:(a.next=u.next,u.next=a),n.pending=a}function op(n,a,u){if((u&4194048)!==0){var o=a.lanes;o&=n.pendingLanes,u|=o,a.lanes=u,cn(n,u)}}var xf={readContext:te,use:Or,useCallback:en,useContext:en,useEffect:en,useImperativeHandle:en,useLayoutEffect:en,useInsertionEffect:en,useMemo:en,useReducer:en,useRef:en,useState:en,useDebugValue:en,useDeferredValue:en,useTransition:en,useSyncExternalStore:en,useId:en,useHostTransitionStatus:en,useFormState:en,useActionState:en,useOptimistic:en,useMemoCache:en,useCacheRefresh:en};xf.useEffectEvent=en;var Fy={readContext:te,use:Or,useCallback:function(n,a){return Ln().memoizedState=[n,a===void 0?null:a],n},useContext:te,useEffect:bh,useImperativeHandle:function(n,a,u){u=u!=null?u.concat([n]):null,wr(4194308,4,zh.bind(null,a,n),u)},useLayoutEffect:function(n,a){return wr(4194308,4,n,a)},useInsertionEffect:function(n,a){wr(4,2,n,a)},useMemo:function(n,a){var u=Ln();a=a===void 0?null:a;var o=n();if(ji){Ea(!0);try{n()}finally{Ea(!1)}}return u.memoizedState=[o,a],o},useReducer:function(n,a,u){var o=Ln();if(u!==void 0){var d=u(a);if(ji){Ea(!0);try{u(a)}finally{Ea(!1)}}}else d=a;return o.memoizedState=o.baseState=d,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:d},o.queue=n,n=n.dispatch=Wy.bind(null,qe,n),[o.memoizedState,n]},useRef:function(n){var a=Ln();return n={current:n},a.memoizedState=n},useState:function(n){n=$m(n);var a=n.queue,u=Ah.bind(null,qe,a);return a.dispatch=u,[n.memoizedState,u]},useDebugValue:uu,useDeferredValue:function(n,a){var u=Ln();return _f(u,n,a)},useTransition:function(){var n=$m(!1);return n=_h.bind(null,qe,n.queue,!0,!1),Ln().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,a,u){var o=qe,d=Ln();if(Pe){if(u===void 0)throw Error(m(407));u=u()}else{if(u=a(),Dt===null)throw Error(m(349));(Ke&127)!==0||Sf(o,a,u)}d.memoizedState=u;var p={value:u,getSnapshot:a};return d.queue=p,bh(gh.bind(null,o,p,n),[n]),o.flags|=2048,zc(9,{destroy:void 0},Qm.bind(null,o,p,u,a),null),u},useId:function(){var n=Ln(),a=Dt.identifierPrefix;if(Pe){var u=tu,o=kl;u=(o&~(1<<32-Zn(o)-1)).toString(32)+u,a="_"+a+"R_"+u,u=gf++,0<u&&(a+="H"+u.toString(32)),a+="_"}else u=Ly++,a="_"+a+"r_"+u.toString(32)+"_";return n.memoizedState=a},useHostTransitionStatus:up,useFormState:Im,useActionState:Im,useOptimistic:function(n){var a=Ln();a.memoizedState=a.baseState=n;var u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=u,a=zo.bind(null,qe,!0,u),u.dispatch=a,[n,a]},useMemoCache:hh,useCacheRefresh:function(){return Ln().memoizedState=Vu.bind(null,qe)},useEffectEvent:function(n){var a=Ln(),u={impl:n};return a.memoizedState=u,function(){if((ft&2)!==0)throw Error(m(440));return u.impl.apply(void 0,arguments)}}},Rh={readContext:te,use:Or,useCallback:Eh,useContext:te,useEffect:Sh,useImperativeHandle:ap,useInsertionEffect:Th,useLayoutEffect:lp,useMemo:$y,useReducer:Gu,useRef:tp,useState:function(){return Gu(ku)},useDebugValue:uu,useDeferredValue:function(n,a){var u=fn();return Lu(u,St.memoizedState,n,a)},useTransition:function(){var n=Gu(ku)[0],a=fn().memoizedState;return[typeof n=="boolean"?n:Sc(n),a]},useSyncExternalStore:Xm,useId:Ky,useHostTransitionStatus:up,useFormState:Qy,useActionState:Qy,useOptimistic:function(n,a){var u=fn();return Vn(u,St,n,a)},useMemoCache:hh,useCacheRefresh:ip};Rh.useEffectEvent=Ef;var Iy={readContext:te,use:Or,useCallback:Eh,useContext:te,useEffect:Sh,useImperativeHandle:ap,useInsertionEffect:Th,useLayoutEffect:lp,useMemo:$y,useReducer:ph,useRef:tp,useState:function(){return ph(ku)},useDebugValue:uu,useDeferredValue:function(n,a){var u=fn();return St===null?_f(u,n,a):Lu(u,St.memoizedState,n,a)},useTransition:function(){var n=ph(ku)[0],a=fn().memoizedState;return[typeof n=="boolean"?n:Sc(n),a]},useSyncExternalStore:Xm,useId:Ky,useHostTransitionStatus:up,useFormState:ep,useActionState:ep,useOptimistic:function(n,a){var u=fn();return St!==null?Vn(u,St,n,a):(u.baseState=n,[n,u.queue.dispatch])},useMemoCache:hh,useCacheRefresh:ip};Iy.useEffectEvent=Ef;function Ec(n,a,u,o){a=n.memoizedState,u=u(o,a),u=u==null?a:x({},a,u),n.memoizedState=u,n.lanes===0&&(n.updateQueue.baseState=u)}var Ua={enqueueSetState:function(n,a,u){n=n._reactInternals;var o=Xl(),d=Ui(o);d.payload=a,u!=null&&(d.callback=u),a=ia(n,d,o),a!==null&&(Cl(a,n,o),vo(a,n,o))},enqueueReplaceState:function(n,a,u){n=n._reactInternals;var o=Xl(),d=Ui(o);d.tag=1,d.payload=a,u!=null&&(d.callback=u),a=ia(n,d,o),a!==null&&(Cl(a,n,o),vo(a,n,o))},enqueueForceUpdate:function(n,a){n=n._reactInternals;var u=Xl(),o=Ui(u);o.tag=2,a!=null&&(o.callback=a),a=ia(n,o,u),a!==null&&(Cl(a,n,u),vo(a,n,u))}};function cp(n,a,u,o,d,p,b){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(o,p,b):a.prototype&&a.prototype.isPureReactComponent?!Ra(u,o)||!Ra(d,p):!0}function Py(n,a,u,o){n=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(u,o),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(u,o),a.state!==n&&Ua.enqueueReplaceState(a,a.state,null)}function Eo(n,a){var u=a;if("ref"in a){u={};for(var o in a)o!=="ref"&&(u[o]=a[o])}if(n=n.defaultProps){u===a&&(u=x({},u));for(var d in n)u[d]===void 0&&(u[d]=n[d])}return u}function Dh(n){oc(n)}function rp(n){console.error(n)}function Oh(n){oc(n)}function jr(n,a){try{var u=n.onUncaughtError;u(a.value,{componentStack:a.stack})}catch(o){setTimeout(function(){throw o})}}function Rf(n,a,u){try{var o=n.onCaughtError;o(u.value,{componentStack:u.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(d){setTimeout(function(){throw d})}}function sp(n,a,u){return u=Ui(u),u.tag=3,u.payload={element:null},u.callback=function(){jr(n,a)},u}function fp(n){return n=Ui(n),n.tag=3,n}function dp(n,a,u,o){var d=u.type.getDerivedStateFromError;if(typeof d=="function"){var p=o.value;n.payload=function(){return d(p)},n.callback=function(){Rf(a,u,o)}}var b=u.stateNode;b!==null&&typeof b.componentDidCatch=="function"&&(n.callback=function(){Rf(a,u,o),typeof d!="function"&&(Jt===null?Jt=new Set([this]):Jt.add(this));var A=o.stack;this.componentDidCatch(o.value,{componentStack:A!==null?A:""})})}function Eb(n,a,u,o,d){if(u.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(a=u.alternate,a!==null&&Gn(a,u,d,!0),u=Al.current,u!==null){switch(u.tag){case 31:case 13:return oa===null?Jh():u.alternate===null&&Ht===0&&(Ht=3),u.flags&=-257,u.flags|=65536,u.lanes=d,o===mc?u.flags|=16384:(a=u.updateQueue,a===null?u.updateQueue=new Set([o]):a.add(o),kf(n,o,d)),!1;case 22:return u.flags|=65536,o===mc?u.flags|=16384:(a=u.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([o])},u.updateQueue=a):(u=a.retryQueue,u===null?a.retryQueue=new Set([o]):u.add(o)),kf(n,o,d)),!1}throw Error(m(435,u.tag))}return kf(n,o,d),Jh(),!1}if(Pe)return a=Al.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=d,o!==Hu&&(n=Error(m(422),{cause:o}),Tr(na(n,u)))):(o!==Hu&&(a=Error(m(423),{cause:o}),Tr(na(a,u))),n=n.current.alternate,n.flags|=65536,d&=-d,n.lanes|=d,o=na(o,u),d=sp(n.stateNode,o,d),ch(n,d),Ht!==4&&(Ht=2)),!1;var p=Error(m(520),{cause:o});if(p=na(p,u),Bf===null?Bf=[p]:Bf.push(p),Ht!==4&&(Ht=2),a===null)return!0;o=na(o,u),u=a;do{switch(u.tag){case 3:return u.flags|=65536,n=d&-d,u.lanes|=n,n=sp(u.stateNode,o,n),ch(u,n),!1;case 1:if(a=u.type,p=u.stateNode,(u.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(Jt===null||!Jt.has(p))))return u.flags|=65536,d&=-d,u.lanes|=d,d=fp(d),dp(d,n,u,o),ch(u,d),!1}u=u.return}while(u!==null);return!1}var wh=Error(m(461)),zn=!1;function kt(n,a,u,o){a.child=n===null?Lm(a,null,u,o):yo(a,n.child,u,o)}function hp(n,a,u,o,d){u=u.render;var p=a.ref;if("ref"in o){var b={};for(var A in o)A!=="ref"&&(b[A]=o[A])}else b=o;return Ce(a),o=yf(n,a,u,b,p,d),A=dh(),n!==null&&!zn?(bc(n,a,d),sa(n,a,d)):(Pe&&A&&br(a),a.flags|=1,kt(n,a,o,d),a.child)}function mp(n,a,u,o,d){if(n===null){var p=u.type;return typeof p=="function"&&!cc(p)&&p.defaultProps===void 0&&u.compare===null?(a.tag=15,a.type=p,pp(n,a,p,o,d)):(n=th(u.type,null,o,a,a.mode,d),n.ref=a.ref,n.return=a,a.child=n)}if(p=n.child,!Uh(n,d)){var b=p.memoizedProps;if(u=u.compare,u=u!==null?u:Ra,u(b,o)&&n.ref===a.ref)return sa(n,a,d)}return a.flags|=1,n=Ri(p,o),n.ref=a.ref,n.return=a,a.child=n}function pp(n,a,u,o,d){if(n!==null){var p=n.memoizedProps;if(Ra(p,o)&&n.ref===a.ref)if(zn=!1,a.pendingProps=o=p,Uh(n,d))(n.flags&131072)!==0&&(zn=!0);else return a.lanes=n.lanes,sa(n,a,d)}return Mh(n,a,u,o,d)}function e1(n,a,u,o){var d=o.children,p=n!==null?n.memoizedState:null;if(n===null&&a.stateNode===null&&(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((a.flags&128)!==0){if(p=p!==null?p.baseLanes|u:u,n!==null){for(o=a.child=n.child,d=0;o!==null;)d=d|o.lanes|o.childLanes,o=o.sibling;o=d&~p}else o=0,a.child=null;return Rl(n,a,p,u,o)}if((u&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},n!==null&&zr(a,p!==null?p.cachePool:null),p!==null?Gy(a,p):pf(),sh(a);else return o=a.lanes=536870912,Rl(n,a,p!==null?p.baseLanes|u:u,u,o)}else p!==null?(zr(a,p.cachePool),Gy(a,p),au(),a.memoizedState=null):(n!==null&&zr(a,null),pf(),au());return kt(n,a,d,u),a.child}function _o(n,a){return n!==null&&n.tag===22||a.stateNode!==null||(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.sibling}function Rl(n,a,u,o,d){var p=ua();return p=p===null?null:{parent:Sn._currentValue,pool:p},a.memoizedState={baseLanes:u,cachePool:p},n!==null&&zr(a,null),pf(),sh(a),n!==null&&Gn(n,a,o,!0),a.childLanes=d,null}function Df(n,a){return a=Mf({mode:a.mode,children:a.children},n.mode),a.ref=n.ref,n.child=a,a.return=n,a}function Dl(n,a,u){return yo(a,n.child,null,u),n=Df(a,a.pendingProps),n.flags|=2,xl(a),a.memoizedState=null,n}function t1(n,a,u){var o=a.pendingProps,d=(a.flags&128)!==0;if(a.flags&=-129,n===null){if(Pe){if(o.mode==="hidden")return n=Df(a,o),a.lanes=536870912,_o(null,n);if(xr(a),(n=Ut)?(n=N1(n,Mn),n=n!==null&&n.data==="&"?n:null,n!==null&&(a.memoizedState={dehydrated:n,treeContext:eu!==null?{id:kl,overflow:tu}:null,retryLane:536870912,hydrationErrors:null},u=jm(n),u.return=a,a.child=u,kn=a,Ut=null)):n=null,n===null)throw Ca(a);return a.lanes=536870912,null}return Df(a,o)}var p=n.memoizedState;if(p!==null){var b=p.dehydrated;if(xr(a),d)if(a.flags&256)a.flags&=-257,a=Dl(n,a,u);else if(a.memoizedState!==null)a.child=n.child,a.flags|=128,a=null;else throw Error(m(558));else if(zn||Gn(n,a,u,!1),d=(u&n.childLanes)!==0,zn||d){if(o=Dt,o!==null&&(b=Yt(o,u),b!==0&&b!==p.retryLane))throw p.retryLane=b,xi(n,b),Cl(o,n,b),wh;Jh(),a=Dl(n,a,u)}else n=p.treeContext,Ut=Ul(b.nextSibling),kn=a,Pe=!0,ju=null,Mn=!1,n!==null&&lf(a,n),a=Df(a,o),a.flags|=4096;return a}return n=Ri(n.child,{mode:o.mode,children:o.children}),n.ref=a.ref,a.child=n,n.return=a,n}function ca(n,a){var u=a.ref;if(u===null)n!==null&&n.ref!==null&&(a.flags|=4194816);else{if(typeof u!="function"&&typeof u!="object")throw Error(m(284));(n===null||n.ref!==u)&&(a.flags|=4194816)}}function Mh(n,a,u,o,d){return Ce(a),u=yf(n,a,u,o,void 0,d),o=dh(),n!==null&&!zn?(bc(n,a,d),sa(n,a,d)):(Pe&&o&&br(a),a.flags|=1,kt(n,a,u,d),a.child)}function Ao(n,a,u,o,d,p){return Ce(a),a.updateQueue=null,u=Vy(a,o,u,d),fh(n),o=dh(),n!==null&&!zn?(bc(n,a,p),sa(n,a,p)):(Pe&&o&&br(a),a.flags|=1,kt(n,a,u,p),a.child)}function gp(n,a,u,o,d){if(Ce(a),a.stateNode===null){var p=zl,b=u.contextType;typeof b=="object"&&b!==null&&(p=te(b)),p=new u(o,p),a.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,p.updater=Ua,a.stateNode=p,p._reactInternals=a,p=a.stateNode,p.props=o,p.state=a.memoizedState,p.refs={},mf(a),b=u.contextType,p.context=typeof b=="object"&&b!==null?te(b):zl,p.state=a.memoizedState,b=u.getDerivedStateFromProps,typeof b=="function"&&(Ec(a,u,b,o),p.state=a.memoizedState),typeof u.getDerivedStateFromProps=="function"||typeof p.getSnapshotBeforeUpdate=="function"||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(b=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),b!==p.state&&Ua.enqueueReplaceState(p,p.state,null),Zu(a,o,p,d),bo(),p.state=a.memoizedState),typeof p.componentDidMount=="function"&&(a.flags|=4194308),o=!0}else if(n===null){p=a.stateNode;var A=a.memoizedProps,M=Eo(u,A);p.props=M;var k=p.context,W=u.contextType;b=zl,typeof W=="object"&&W!==null&&(b=te(W));var ee=u.getDerivedStateFromProps;W=typeof ee=="function"||typeof p.getSnapshotBeforeUpdate=="function",A=a.pendingProps!==A,W||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(A||k!==b)&&Py(a,p,o,b),Ci=!1;var G=a.memoizedState;p.state=G,Zu(a,o,p,d),bo(),k=a.memoizedState,A||G!==k||Ci?(typeof ee=="function"&&(Ec(a,u,ee,o),k=a.memoizedState),(M=Ci||cp(a,u,M,o,G,k,b))?(W||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"&&(a.flags|=4194308)):(typeof p.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=o,a.memoizedState=k),p.props=o,p.state=k,p.context=b,o=M):(typeof p.componentDidMount=="function"&&(a.flags|=4194308),o=!1)}else{p=a.stateNode,oh(n,a),b=a.memoizedProps,W=Eo(u,b),p.props=W,ee=a.pendingProps,G=p.context,k=u.contextType,M=zl,typeof k=="object"&&k!==null&&(M=te(k)),A=u.getDerivedStateFromProps,(k=typeof A=="function"||typeof p.getSnapshotBeforeUpdate=="function")||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(b!==ee||G!==M)&&Py(a,p,o,M),Ci=!1,G=a.memoizedState,p.state=G,Zu(a,o,p,d),bo();var $=a.memoizedState;b!==ee||G!==$||Ci||n!==null&&n.dependencies!==null&&sc(n.dependencies)?(typeof A=="function"&&(Ec(a,u,A,o),$=a.memoizedState),(W=Ci||cp(a,u,W,o,G,$,M)||n!==null&&n.dependencies!==null&&sc(n.dependencies))?(k||typeof p.UNSAFE_componentWillUpdate!="function"&&typeof p.componentWillUpdate!="function"||(typeof p.componentWillUpdate=="function"&&p.componentWillUpdate(o,$,M),typeof p.UNSAFE_componentWillUpdate=="function"&&p.UNSAFE_componentWillUpdate(o,$,M)),typeof p.componentDidUpdate=="function"&&(a.flags|=4),typeof p.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof p.componentDidUpdate!="function"||b===n.memoizedProps&&G===n.memoizedState||(a.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||b===n.memoizedProps&&G===n.memoizedState||(a.flags|=1024),a.memoizedProps=o,a.memoizedState=$),p.props=o,p.state=$,p.context=M,o=W):(typeof p.componentDidUpdate!="function"||b===n.memoizedProps&&G===n.memoizedState||(a.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||b===n.memoizedProps&&G===n.memoizedState||(a.flags|=1024),o=!1)}return p=o,ca(n,a),o=(a.flags&128)!==0,p||o?(p=a.stateNode,u=o&&typeof u.getDerivedStateFromError!="function"?null:p.render(),a.flags|=1,n!==null&&o?(a.child=yo(a,n.child,null,d),a.child=yo(a,null,u,d)):kt(n,a,u,d),a.memoizedState=p.state,n=a.child):n=sa(n,a,d),n}function iu(n,a,u,o){return so(),a.flags|=256,kt(n,a,u,o),a.child}var Of={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function wf(n){return{baseLanes:n,cachePool:dc()}}function ra(n,a,u){return n=n!==null?n.childLanes&~u:0,a&&(n|=Ml),n}function yp(n,a,u){var o=a.pendingProps,d=!1,p=(a.flags&128)!==0,b;if((b=p)||(b=n!==null&&n.memoizedState===null?!1:($t.current&2)!==0),b&&(d=!0,a.flags&=-129),b=(a.flags&32)!==0,a.flags&=-33,n===null){if(Pe){if(d?qu(a):au(),(n=Ut)?(n=N1(n,Mn),n=n!==null&&n.data!=="&"?n:null,n!==null&&(a.memoizedState={dehydrated:n,treeContext:eu!==null?{id:kl,overflow:tu}:null,retryLane:536870912,hydrationErrors:null},u=jm(n),u.return=a,a.child=u,kn=a,Ut=null)):n=null,n===null)throw Ca(a);return Co(n)?a.lanes=32:a.lanes=536870912,null}var A=o.children;return o=o.fallback,d?(au(),d=a.mode,A=Mf({mode:"hidden",children:A},d),o=Di(o,d,u,null),A.return=a,o.return=a,A.sibling=o,a.child=A,o=a.child,o.memoizedState=wf(u),o.childLanes=ra(n,b,u),a.memoizedState=Of,_o(null,o)):(qu(a),xo(a,A))}var M=n.memoizedState;if(M!==null&&(A=M.dehydrated,A!==null)){if(p)a.flags&256?(qu(a),a.flags&=-257,a=_c(n,a,u)):a.memoizedState!==null?(au(),a.child=n.child,a.flags|=128,a=null):(au(),A=o.fallback,d=a.mode,o=Mf({mode:"visible",children:o.children},d),A=Di(A,d,u,null),A.flags|=2,o.return=a,A.return=a,o.sibling=A,a.child=o,yo(a,n.child,null,u),o=a.child,o.memoizedState=wf(u),o.childLanes=ra(n,b,u),a.memoizedState=Of,a=_o(null,o));else if(qu(a),Co(A)){if(b=A.nextSibling&&A.nextSibling.dataset,b)var k=b.dgst;b=k,o=Error(m(419)),o.stack="",o.digest=b,Tr({value:o,source:null,stack:null}),a=_c(n,a,u)}else if(zn||Gn(n,a,u,!1),b=(u&n.childLanes)!==0,zn||b){if(b=Dt,b!==null&&(o=Yt(b,u),o!==0&&o!==M.retryLane))throw M.retryLane=o,xi(n,o),Cl(b,n,o),wh;Na(A)||Jh(),a=_c(n,a,u)}else Na(A)?(a.flags|=192,a.child=n.child,a=null):(n=M.treeContext,Ut=Ul(A.nextSibling),kn=a,Pe=!0,ju=null,Mn=!1,n!==null&&lf(a,n),a=xo(a,o.children),a.flags|=4096);return a}return d?(au(),A=o.fallback,d=a.mode,M=n.child,k=M.sibling,o=Ri(M,{mode:"hidden",children:o.children}),o.subtreeFlags=M.subtreeFlags&65011712,k!==null?A=Ri(k,A):(A=Di(A,d,u,null),A.flags|=2),A.return=a,o.return=a,o.sibling=A,a.child=o,_o(null,o),o=a.child,A=n.child.memoizedState,A===null?A=wf(u):(d=A.cachePool,d!==null?(M=Sn._currentValue,d=d.parent!==M?{parent:M,pool:M}:d):d=dc(),A={baseLanes:A.baseLanes|u,cachePool:d}),o.memoizedState=A,o.childLanes=ra(n,b,u),a.memoizedState=Of,_o(n.child,o)):(qu(a),u=n.child,n=u.sibling,u=Ri(u,{mode:"visible",children:o.children}),u.return=a,u.sibling=null,n!==null&&(b=a.deletions,b===null?(a.deletions=[n],a.flags|=16):b.push(n)),a.child=u,a.memoizedState=null,u)}function xo(n,a){return a=Mf({mode:"visible",children:a},n.mode),a.return=n,n.child=a}function Mf(n,a){return n=rn(22,n,null,a),n.lanes=0,n}function _c(n,a,u){return yo(a,n.child,null,u),n=xo(a,a.pendingProps.children),n.flags|=2,a.memoizedState=null,n}function Ac(n,a,u){n.lanes|=a;var o=n.alternate;o!==null&&(o.lanes|=a),uh(n.return,a,u)}function Ch(n,a,u,o,d,p){var b=n.memoizedState;b===null?n.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:o,tail:u,tailMode:d,treeForkCount:p}:(b.isBackwards=a,b.rendering=null,b.renderingStartTime=0,b.last=o,b.tail=u,b.tailMode=d,b.treeForkCount=p)}function vp(n,a,u){var o=a.pendingProps,d=o.revealOrder,p=o.tail;o=o.children;var b=$t.current,A=(b&2)!==0;if(A?(b=b&1|2,a.flags|=128):b&=1,oe($t,b),kt(n,a,o,u),o=Pe?bn:0,!A&&n!==null&&(n.flags&128)!==0)e:for(n=a.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Ac(n,u,a);else if(n.tag===19)Ac(n,u,a);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===a)break e;for(;n.sibling===null;){if(n.return===null||n.return===a)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}switch(d){case"forwards":for(u=a.child,d=null;u!==null;)n=u.alternate,n!==null&&Rr(n)===null&&(d=u),u=u.sibling;u=d,u===null?(d=a.child,a.child=null):(d=u.sibling,u.sibling=null),Ch(a,!1,d,u,p,o);break;case"backwards":case"unstable_legacy-backwards":for(u=null,d=a.child,a.child=null;d!==null;){if(n=d.alternate,n!==null&&Rr(n)===null){a.child=d;break}n=d.sibling,d.sibling=u,u=d,d=n}Ch(a,!0,u,null,p,o);break;case"together":Ch(a,!1,null,null,void 0,o);break;default:a.memoizedState=null}return a.child}function sa(n,a,u){if(n!==null&&(a.dependencies=n.dependencies),su|=a.lanes,(u&a.childLanes)===0)if(n!==null){if(Gn(n,a,u,!1),(u&a.childLanes)===0)return null}else return null;if(n!==null&&a.child!==n.child)throw Error(m(153));if(a.child!==null){for(n=a.child,u=Ri(n,n.pendingProps),a.child=u,u.return=a;n.sibling!==null;)n=n.sibling,u=u.sibling=Ri(n,n.pendingProps),u.return=a;u.sibling=null}return a.child}function Uh(n,a){return(n.lanes&a)!==0?!0:(n=n.dependencies,!!(n!==null&&sc(n)))}function jh(n,a,u){switch(a.tag){case 3:Ie(a,a.stateNode.containerInfo),_l(a,Sn,n.memoizedState.cache),so();break;case 27:case 5:zu(a);break;case 4:Ie(a,a.stateNode.containerInfo);break;case 10:_l(a,a.type,a.memoizedProps.value);break;case 31:if(a.memoizedState!==null)return a.flags|=128,xr(a),null;break;case 13:var o=a.memoizedState;if(o!==null)return o.dehydrated!==null?(qu(a),a.flags|=128,null):(u&a.child.childLanes)!==0?yp(n,a,u):(qu(a),n=sa(n,a,u),n!==null?n.sibling:null);qu(a);break;case 19:var d=(n.flags&128)!==0;if(o=(u&a.childLanes)!==0,o||(Gn(n,a,u,!1),o=(u&a.childLanes)!==0),d){if(o)return vp(n,a,u);a.flags|=128}if(d=a.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),oe($t,$t.current),o)break;return null;case 22:return a.lanes=0,e1(n,a,u,a.pendingProps);case 24:_l(a,Sn,n.memoizedState.cache)}return sa(n,a,u)}function bp(n,a,u){if(n!==null)if(n.memoizedProps!==a.pendingProps)zn=!0;else{if(!Uh(n,u)&&(a.flags&128)===0)return zn=!1,jh(n,a,u);zn=(n.flags&131072)!==0}else zn=!1,Pe&&(a.flags&1048576)!==0&&Nm(a,bn,a.index);switch(a.lanes=0,a.tag){case 16:e:{var o=a.pendingProps;if(n=mo(a.elementType),a.type=n,typeof n=="function")cc(n)?(o=Eo(n,o),a.tag=1,a=gp(null,a,n,o,u)):(a.tag=0,a=Mh(null,a,n,o,u));else{if(n!=null){var d=n.$$typeof;if(d===_t){a.tag=11,a=hp(null,a,n,o,u);break e}else if(d===Ct){a.tag=14,a=mp(null,a,n,o,u);break e}}throw a=gn(n)||n,Error(m(306,a,""))}}return a;case 0:return Mh(n,a,a.type,a.pendingProps,u);case 1:return o=a.type,d=Eo(o,a.pendingProps),gp(n,a,o,d,u);case 3:e:{if(Ie(a,a.stateNode.containerInfo),n===null)throw Error(m(387));o=a.pendingProps;var p=a.memoizedState;d=p.element,oh(n,a),Zu(a,o,null,u);var b=a.memoizedState;if(o=b.cache,_l(a,Sn,o),o!==p.cache&&Bu(a,[Sn],u,!0),bo(),o=b.element,p.isDehydrated)if(p={element:o,isDehydrated:!1,cache:b.cache},a.updateQueue.baseState=p,a.memoizedState=p,a.flags&256){a=iu(n,a,o,u);break e}else if(o!==d){d=na(Error(m(424)),a),Tr(d),a=iu(n,a,o,u);break e}else for(n=a.stateNode.containerInfo,n.nodeType===9?n=n.body:n=n.nodeName==="HTML"?n.ownerDocument.body:n,Ut=Ul(n.firstChild),kn=a,Pe=!0,ju=null,Mn=!0,u=Lm(a,null,o,u),a.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling;else{if(so(),o===d){a=sa(n,a,u);break e}kt(n,a,o,u)}a=a.child}return a;case 26:return ca(n,a),n===null?(u=ns(a.type,null,a.pendingProps,null))?a.memoizedState=u:Pe||(u=a.type,n=a.pendingProps,o=Mo(qt.current).createElement(u),o[xt]=a,o[bl]=n,nl(o,u,n),vt(o),a.stateNode=o):a.memoizedState=ns(a.type,n.memoizedProps,a.pendingProps,n.memoizedState),null;case 27:return zu(a),n===null&&Pe&&(o=a.stateNode=es(a.type,a.pendingProps,qt.current),kn=a,Mn=!0,d=Ut,du(a.type)?(Wf=d,Ut=Ul(o.firstChild)):Ut=d),kt(n,a,a.pendingProps.children,u),ca(n,a),n===null&&(a.flags|=4194304),a.child;case 5:return n===null&&Pe&&((d=o=Ut)&&(o=xb(o,a.type,a.pendingProps,Mn),o!==null?(a.stateNode=o,kn=a,Ut=Ul(o.firstChild),Mn=!1,d=!0):d=!1),d||Ca(a)),zu(a),d=a.type,p=a.pendingProps,b=n!==null?n.memoizedProps:null,o=p.children,Ir(d,p)?o=null:b!==null&&Ir(d,b)&&(a.flags|=32),a.memoizedState!==null&&(d=yf(n,a,zb,null,null,u),Pf._currentValue=d),ca(n,a),kt(n,a,o,u),a.child;case 6:return n===null&&Pe&&((n=u=Ut)&&(u=Xe(u,a.pendingProps,Mn),u!==null?(a.stateNode=u,kn=a,Ut=null,n=!0):n=!1),n||Ca(a)),null;case 13:return yp(n,a,u);case 4:return Ie(a,a.stateNode.containerInfo),o=a.pendingProps,n===null?a.child=yo(a,null,o,u):kt(n,a,o,u),a.child;case 11:return hp(n,a,a.type,a.pendingProps,u);case 7:return kt(n,a,a.pendingProps,u),a.child;case 8:return kt(n,a,a.pendingProps.children,u),a.child;case 12:return kt(n,a,a.pendingProps.children,u),a.child;case 10:return o=a.pendingProps,_l(a,a.type,o.value),kt(n,a,o.children,u),a.child;case 9:return d=a.type._context,o=a.pendingProps.children,Ce(a),d=te(d),o=o(d),a.flags|=1,kt(n,a,o,u),a.child;case 14:return mp(n,a,a.type,a.pendingProps,u);case 15:return pp(n,a,a.type,a.pendingProps,u);case 19:return vp(n,a,u);case 31:return t1(n,a,u);case 22:return e1(n,a,u,a.pendingProps);case 24:return Ce(a),o=te(Sn),n===null?(d=ua(),d===null&&(d=Dt,p=of(),d.pooledCache=p,p.refCount++,p!==null&&(d.pooledCacheLanes|=u),d=p),a.memoizedState={parent:o,cache:d},mf(a),_l(a,Sn,d)):((n.lanes&u)!==0&&(oh(n,a),Zu(a,null,null,u),bo()),d=n.memoizedState,p=a.memoizedState,d.parent!==o?(d={parent:o,cache:o},a.memoizedState=d,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=d),_l(a,Sn,o)):(o=p.cache,_l(a,Sn,o),o!==d.cache&&Bu(a,[Sn],u,!0))),kt(n,a,a.pendingProps.children,u),a.child;case 29:throw a.pendingProps}throw Error(m(156,a.tag))}function Xu(n){n.flags|=4}function Sp(n,a,u,o,d){if((a=(n.mode&32)!==0)&&(a=!1),a){if(n.flags|=16777216,(d&335544128)===d)if(n.stateNode.complete)n.flags|=8192;else if(f1())n.flags|=8192;else throw po=mc,hc}else n.flags&=-16777217}function Tp(n,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!$l(a))if(f1())n.flags|=8192;else throw po=mc,hc}function dl(n,a){a!==null&&(n.flags|=4),n.flags&16384&&(a=n.tag!==22?vn():536870912,n.lanes|=a,tn|=a)}function Hr(n,a){if(!Pe)switch(n.tailMode){case"hidden":a=n.tail;for(var u=null;a!==null;)a.alternate!==null&&(u=a),a=a.sibling;u===null?n.tail=null:u.sibling=null;break;case"collapsed":u=n.tail;for(var o=null;u!==null;)u.alternate!==null&&(o=u),u=u.sibling;o===null?a||n.tail===null?n.tail=null:n.tail.sibling=null:o.sibling=null}}function Me(n){var a=n.alternate!==null&&n.alternate.child===n.child,u=0,o=0;if(a)for(var d=n.child;d!==null;)u|=d.lanes|d.childLanes,o|=d.subtreeFlags&65011712,o|=d.flags&65011712,d.return=n,d=d.sibling;else for(d=n.child;d!==null;)u|=d.lanes|d.childLanes,o|=d.subtreeFlags,o|=d.flags,d.return=n,d=d.sibling;return n.subtreeFlags|=o,n.childLanes=u,a}function n1(n,a,u){var o=a.pendingProps;switch(lh(a),a.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Me(a),null;case 1:return Me(a),null;case 3:return u=a.stateNode,o=null,n!==null&&(o=n.memoizedState.cache),a.memoizedState.cache!==o&&(a.flags|=2048),lu(Sn),An(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(n===null||n.child===null)&&(Nu(a)?Xu(a):n===null||n.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,Bm())),Me(a),null;case 26:var d=a.type,p=a.memoizedState;return n===null?(Xu(a),p!==null?(Me(a),Tp(a,p)):(Me(a),Sp(a,d,null,o,u))):p?p!==n.memoizedState?(Xu(a),Me(a),Tp(a,p)):(Me(a),a.flags&=-16777217):(n=n.memoizedProps,n!==o&&Xu(a),Me(a),Sp(a,d,n,o,u)),null;case 27:if(fe(a),u=qt.current,d=a.type,n!==null&&a.stateNode!=null)n.memoizedProps!==o&&Xu(a);else{if(!o){if(a.stateNode===null)throw Error(m(166));return Me(a),null}n=re.current,Nu(a)?af(a):(n=es(d,o,u),a.stateNode=n,Xu(a))}return Me(a),null;case 5:if(fe(a),d=a.type,n!==null&&a.stateNode!=null)n.memoizedProps!==o&&Xu(a);else{if(!o){if(a.stateNode===null)throw Error(m(166));return Me(a),null}if(p=re.current,Nu(a))af(a);else{var b=Mo(qt.current);switch(p){case 1:p=b.createElementNS("http://www.w3.org/2000/svg",d);break;case 2:p=b.createElementNS("http://www.w3.org/1998/Math/MathML",d);break;default:switch(d){case"svg":p=b.createElementNS("http://www.w3.org/2000/svg",d);break;case"math":p=b.createElementNS("http://www.w3.org/1998/Math/MathML",d);break;case"script":p=b.createElement("div"),p.innerHTML="<script><\/script>",p=p.removeChild(p.firstChild);break;case"select":p=typeof o.is=="string"?b.createElement("select",{is:o.is}):b.createElement("select"),o.multiple?p.multiple=!0:o.size&&(p.size=o.size);break;default:p=typeof o.is=="string"?b.createElement(d,{is:o.is}):b.createElement(d)}}p[xt]=a,p[bl]=o;e:for(b=a.child;b!==null;){if(b.tag===5||b.tag===6)p.appendChild(b.stateNode);else if(b.tag!==4&&b.tag!==27&&b.child!==null){b.child.return=b,b=b.child;continue}if(b===a)break e;for(;b.sibling===null;){if(b.return===null||b.return===a)break e;b=b.return}b.sibling.return=b.return,b=b.sibling}a.stateNode=p;e:switch(nl(p,d,o),d){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&Xu(a)}}return Me(a),Sp(a,a.type,n===null?null:n.memoizedProps,a.pendingProps,u),null;case 6:if(n&&a.stateNode!=null)n.memoizedProps!==o&&Xu(a);else{if(typeof o!="string"&&a.stateNode===null)throw Error(m(166));if(n=qt.current,Nu(a)){if(n=a.stateNode,u=a.memoizedProps,o=null,d=kn,d!==null)switch(d.tag){case 27:case 5:o=d.memoizedProps}n[xt]=a,n=!!(n.nodeValue===u||o!==null&&o.suppressHydrationWarning===!0||Xp(n.nodeValue,u)),n||Ca(a,!0)}else n=Mo(n).createTextNode(o),n[xt]=a,a.stateNode=n}return Me(a),null;case 31:if(u=a.memoizedState,n===null||n.memoizedState!==null){if(o=Nu(a),u!==null){if(n===null){if(!o)throw Error(m(318));if(n=a.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(m(557));n[xt]=a}else so(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Me(a),n=!1}else u=Bm(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=u),n=!0;if(!n)return a.flags&256?(xl(a),a):(xl(a),null);if((a.flags&128)!==0)throw Error(m(558))}return Me(a),null;case 13:if(o=a.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(d=Nu(a),o!==null&&o.dehydrated!==null){if(n===null){if(!d)throw Error(m(318));if(d=a.memoizedState,d=d!==null?d.dehydrated:null,!d)throw Error(m(317));d[xt]=a}else so(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Me(a),d=!1}else d=Bm(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=d),d=!0;if(!d)return a.flags&256?(xl(a),a):(xl(a),null)}return xl(a),(a.flags&128)!==0?(a.lanes=u,a):(u=o!==null,n=n!==null&&n.memoizedState!==null,u&&(o=a.child,d=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(d=o.alternate.memoizedState.cachePool.pool),p=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(p=o.memoizedState.cachePool.pool),p!==d&&(o.flags|=2048)),u!==n&&u&&(a.child.flags|=8192),dl(a,a.updateQueue),Me(a),null);case 4:return An(),n===null&&Fr(a.stateNode.containerInfo),Me(a),null;case 10:return lu(a.type),Me(a),null;case 19:if(de($t),o=a.memoizedState,o===null)return Me(a),null;if(d=(a.flags&128)!==0,p=o.rendering,p===null)if(d)Hr(o,!1);else{if(Ht!==0||n!==null&&(n.flags&128)!==0)for(n=a.child;n!==null;){if(p=Rr(n),p!==null){for(a.flags|=128,Hr(o,!1),n=p.updateQueue,a.updateQueue=n,dl(a,n),a.subtreeFlags=0,n=u,u=a.child;u!==null;)Um(u,n),u=u.sibling;return oe($t,$t.current&1|2),Pe&&Ma(a,o.treeForkCount),a.child}n=n.sibling}o.tail!==null&&wn()>pt&&(a.flags|=128,d=!0,Hr(o,!1),a.lanes=4194304)}else{if(!d)if(n=Rr(p),n!==null){if(a.flags|=128,d=!0,n=n.updateQueue,a.updateQueue=n,dl(a,n),Hr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!p.alternate&&!Pe)return Me(a),null}else 2*wn()-o.renderingStartTime>pt&&u!==536870912&&(a.flags|=128,d=!0,Hr(o,!1),a.lanes=4194304);o.isBackwards?(p.sibling=a.child,a.child=p):(n=o.last,n!==null?n.sibling=p:a.child=p,o.last=p)}return o.tail!==null?(n=o.tail,o.rendering=n,o.tail=n.sibling,o.renderingStartTime=wn(),n.sibling=null,u=$t.current,oe($t,d?u&1|2:u&1),Pe&&Ma(a,o.treeForkCount),n):(Me(a),null);case 22:case 23:return xl(a),Ar(),o=a.memoizedState!==null,n!==null?n.memoizedState!==null!==o&&(a.flags|=8192):o&&(a.flags|=8192),o?(u&536870912)!==0&&(a.flags&128)===0&&(Me(a),a.subtreeFlags&6&&(a.flags|=8192)):Me(a),u=a.updateQueue,u!==null&&dl(a,u.retryQueue),u=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(u=n.memoizedState.cachePool.pool),o=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(o=a.memoizedState.cachePool.pool),o!==u&&(a.flags|=2048),n!==null&&de(aa),null;case 24:return u=null,n!==null&&(u=n.memoizedState.cache),a.memoizedState.cache!==u&&(a.flags|=2048),lu(Sn),Me(a),null;case 25:return null;case 30:return null}throw Error(m(156,a.tag))}function l1(n,a){switch(lh(a),a.tag){case 1:return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 3:return lu(Sn),An(),n=a.flags,(n&65536)!==0&&(n&128)===0?(a.flags=n&-65537|128,a):null;case 26:case 27:case 5:return fe(a),null;case 31:if(a.memoizedState!==null){if(xl(a),a.alternate===null)throw Error(m(340));so()}return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 13:if(xl(a),n=a.memoizedState,n!==null&&n.dehydrated!==null){if(a.alternate===null)throw Error(m(340));so()}return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 19:return de($t),null;case 4:return An(),null;case 10:return lu(a.type),null;case 22:case 23:return xl(a),Ar(),n!==null&&de(aa),n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 24:return lu(Sn),null;case 25:return null;default:return null}}function a1(n,a){switch(lh(a),a.tag){case 3:lu(Sn),An();break;case 26:case 27:case 5:fe(a);break;case 4:An();break;case 31:a.memoizedState!==null&&xl(a);break;case 13:xl(a);break;case 19:de($t);break;case 10:lu(a.type);break;case 22:case 23:xl(a),Ar(),n!==null&&de(aa);break;case 24:lu(Sn)}}function ja(n,a){try{var u=a.updateQueue,o=u!==null?u.lastEffect:null;if(o!==null){var d=o.next;u=d;do{if((u.tag&n)===n){o=void 0;var p=u.create,b=u.inst;o=p(),b.destroy=o}u=u.next}while(u!==d)}}catch(A){zt(a,a.return,A)}}function fa(n,a,u){try{var o=a.updateQueue,d=o!==null?o.lastEffect:null;if(d!==null){var p=d.next;o=p;do{if((o.tag&n)===n){var b=o.inst,A=b.destroy;if(A!==void 0){b.destroy=void 0,d=a;var M=u,k=A;try{k()}catch(W){zt(d,M,W)}}}o=o.next}while(o!==p)}}catch(W){zt(a,a.return,W)}}function Hh(n){var a=n.updateQueue;if(a!==null){var u=n.stateNode;try{So(a,u)}catch(o){zt(n,n.return,o)}}}function Ro(n,a,u){u.props=Eo(n.type,n.memoizedProps),u.state=n.memoizedState;try{u.componentWillUnmount()}catch(o){zt(n,a,o)}}function Qu(n,a){try{var u=n.ref;if(u!==null){switch(n.tag){case 26:case 27:case 5:var o=n.stateNode;break;case 30:o=n.stateNode;break;default:o=n.stateNode}typeof u=="function"?n.refCleanup=u(o):u.current=o}}catch(d){zt(n,a,d)}}function ou(n,a){var u=n.ref,o=n.refCleanup;if(u!==null)if(typeof o=="function")try{o()}catch(d){zt(n,a,d)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof u=="function")try{u(null)}catch(d){zt(n,a,d)}else u.current=null}function zp(n){var a=n.type,u=n.memoizedProps,o=n.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":u.autoFocus&&o.focus();break e;case"img":u.src?o.src=u.src:u.srcSet&&(o.srcset=u.srcSet)}}catch(d){zt(n,n.return,d)}}function Nh(n,a,u){try{var o=n.stateNode;$p(o,n.type,u,a),o[bl]=a}catch(d){zt(n,n.return,d)}}function Ep(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&du(n.type)||n.tag===4}function Nr(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||Ep(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&&du(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Br(n,a,u){var o=n.tag;if(o===5||o===6)n=n.stateNode,a?(u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u).insertBefore(n,a):(a=u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u,a.appendChild(n),u=u._reactRootContainer,u!=null||a.onclick!==null||(a.onclick=$a));else if(o!==4&&(o===27&&du(n.type)&&(u=n.stateNode,a=null),n=n.child,n!==null))for(Br(n,a,u),n=n.sibling;n!==null;)Br(n,a,u),n=n.sibling}function Zr(n,a,u){var o=n.tag;if(o===5||o===6)n=n.stateNode,a?u.insertBefore(n,a):u.appendChild(n);else if(o!==4&&(o===27&&du(n.type)&&(u=n.stateNode),n=n.child,n!==null))for(Zr(n,a,u),n=n.sibling;n!==null;)Zr(n,a,u),n=n.sibling}function _p(n){var a=n.stateNode,u=n.memoizedProps;try{for(var o=n.type,d=a.attributes;d.length;)a.removeAttributeNode(d[0]);nl(a,o,u),a[xt]=n,a[bl]=u}catch(p){zt(n,n.return,p)}}var Bi=!1,Rn=!1,Bh=!1,Ap=typeof WeakSet=="function"?WeakSet:Set,Xn=null;function qr(n,a){if(n=n.containerInfo,l0=jn,n=oo(n),Fs(n)){if("selectionStart"in n)var u={start:n.selectionStart,end:n.selectionEnd};else e:{u=(u=n.ownerDocument)&&u.defaultView||window;var o=u.getSelection&&u.getSelection();if(o&&o.rangeCount!==0){u=o.anchorNode;var d=o.anchorOffset,p=o.focusNode;o=o.focusOffset;try{u.nodeType,p.nodeType}catch{u=null;break e}var b=0,A=-1,M=-1,k=0,W=0,ee=n,G=null;t:for(;;){for(var $;ee!==u||d!==0&&ee.nodeType!==3||(A=b+d),ee!==p||o!==0&&ee.nodeType!==3||(M=b+o),ee.nodeType===3&&(b+=ee.nodeValue.length),($=ee.firstChild)!==null;)G=ee,ee=$;for(;;){if(ee===n)break t;if(G===u&&++k===d&&(A=b),G===p&&++W===o&&(M=b),($=ee.nextSibling)!==null)break;ee=G,G=ee.parentNode}ee=$}u=A===-1||M===-1?null:{start:A,end:M}}else u=null}u=u||{start:0,end:0}}else u=null;for(a0={focusedElem:n,selectionRange:u},jn=!1,Xn=a;Xn!==null;)if(a=Xn,n=a.child,(a.subtreeFlags&1028)!==0&&n!==null)n.return=a,Xn=n;else for(;Xn!==null;){switch(a=Xn,p=a.alternate,n=a.flags,a.tag){case 0:if((n&4)!==0&&(n=a.updateQueue,n=n!==null?n.events:null,n!==null))for(u=0;u<n.length;u++)d=n[u],d.ref.impl=d.nextImpl;break;case 11:case 15:break;case 1:if((n&1024)!==0&&p!==null){n=void 0,u=a,d=p.memoizedProps,p=p.memoizedState,o=u.stateNode;try{var pe=Eo(u.type,d);n=o.getSnapshotBeforeUpdate(pe,p),o.__reactInternalSnapshotBeforeUpdate=n}catch(Ae){zt(u,u.return,Ae)}}break;case 3:if((n&1024)!==0){if(n=a.stateNode.containerInfo,u=n.nodeType,u===9)Kf(n);else if(u===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":Kf(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=a.sibling,n!==null){n.return=a.return,Xn=n;break}Xn=a.return}}function Cf(n,a,u){var o=u.flags;switch(u.tag){case 0:case 11:case 15:Zi(n,u),o&4&&ja(5,u);break;case 1:if(Zi(n,u),o&4)if(n=u.stateNode,a===null)try{n.componentDidMount()}catch(b){zt(u,u.return,b)}else{var d=Eo(u.type,a.memoizedProps);a=a.memoizedState;try{n.componentDidUpdate(d,a,n.__reactInternalSnapshotBeforeUpdate)}catch(b){zt(u,u.return,b)}}o&64&&Hh(u),o&512&&Qu(u,u.return);break;case 3:if(Zi(n,u),o&64&&(n=u.updateQueue,n!==null)){if(a=null,u.child!==null)switch(u.child.tag){case 27:case 5:a=u.child.stateNode;break;case 1:a=u.child.stateNode}try{So(n,a)}catch(b){zt(u,u.return,b)}}break;case 27:a===null&&o&4&&_p(u);case 26:case 5:Zi(n,u),a===null&&o&4&&zp(u),o&512&&Qu(u,u.return);break;case 12:Zi(n,u);break;case 31:Zi(n,u),o&4&&u1(n,u);break;case 13:Zi(n,u),o&4&&Dp(n,u),o&64&&(n=u.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(u=da.bind(null,u),Pr(n,u))));break;case 22:if(o=u.memoizedState!==null||Bi,!o){a=a!==null&&a.memoizedState!==null||Rn,d=Bi;var p=Rn;Bi=o,(Rn=a)&&!p?cu(n,u,(u.subtreeFlags&8772)!==0):Zi(n,u),Bi=d,Rn=p}break;case 30:break;default:Zi(n,u)}}function xp(n){var a=n.alternate;a!==null&&(n.alternate=null,xp(a)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(a=n.stateNode,a!==null&&Ud(a)),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 jt=null,Ol=!1;function $u(n,a,u){for(u=u.child;u!==null;)Rp(n,a,u),u=u.sibling}function Rp(n,a,u){if(rl&&typeof rl.onCommitFiberUnmount=="function")try{rl.onCommitFiberUnmount(Ti,u)}catch{}switch(u.tag){case 26:Rn||ou(u,a),$u(n,a,u),u.memoizedState?u.memoizedState.count--:u.stateNode&&(u=u.stateNode,u.parentNode.removeChild(u));break;case 27:Rn||ou(u,a);var o=jt,d=Ol;du(u.type)&&(jt=u.stateNode,Ol=!1),$u(n,a,u),Uc(u.stateNode),jt=o,Ol=d;break;case 5:Rn||ou(u,a);case 6:if(o=jt,d=Ol,jt=null,$u(n,a,u),jt=o,Ol=d,jt!==null)if(Ol)try{(jt.nodeType===9?jt.body:jt.nodeName==="HTML"?jt.ownerDocument.body:jt).removeChild(u.stateNode)}catch(p){zt(u,a,p)}else try{jt.removeChild(u.stateNode)}catch(p){zt(u,a,p)}break;case 18:jt!==null&&(Ol?(n=jt,Fp(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,u.stateNode),ss(n)):Fp(jt,u.stateNode));break;case 4:o=jt,d=Ol,jt=u.stateNode.containerInfo,Ol=!0,$u(n,a,u),jt=o,Ol=d;break;case 0:case 11:case 14:case 15:fa(2,u,a),Rn||fa(4,u,a),$u(n,a,u);break;case 1:Rn||(ou(u,a),o=u.stateNode,typeof o.componentWillUnmount=="function"&&Ro(u,a,o)),$u(n,a,u);break;case 21:$u(n,a,u);break;case 22:Rn=(o=Rn)||u.memoizedState!==null,$u(n,a,u),Rn=o;break;default:$u(n,a,u)}}function u1(n,a){if(a.memoizedState===null&&(n=a.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{ss(n)}catch(u){zt(a,a.return,u)}}}function Dp(n,a){if(a.memoizedState===null&&(n=a.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{ss(n)}catch(u){zt(a,a.return,u)}}function Uf(n){switch(n.tag){case 31:case 13:case 19:var a=n.stateNode;return a===null&&(a=n.stateNode=new Ap),a;case 22:return n=n.stateNode,a=n._retryCache,a===null&&(a=n._retryCache=new Ap),a;default:throw Error(m(435,n.tag))}}function jf(n,a){var u=Uf(n);a.forEach(function(o){if(!u.has(o)){u.add(o);var d=x1.bind(null,n,o);o.then(d,d)}})}function wl(n,a){var u=a.deletions;if(u!==null)for(var o=0;o<u.length;o++){var d=u[o],p=n,b=a,A=b;e:for(;A!==null;){switch(A.tag){case 27:if(du(A.type)){jt=A.stateNode,Ol=!1;break e}break;case 5:jt=A.stateNode,Ol=!1;break e;case 3:case 4:jt=A.stateNode.containerInfo,Ol=!0;break e}A=A.return}if(jt===null)throw Error(m(160));Rp(p,b,d),jt=null,Ol=!1,p=d.alternate,p!==null&&(p.return=null),d.return=null}if(a.subtreeFlags&13886)for(a=a.child;a!==null;)Zh(a,n),a=a.sibling}var Ge=null;function Zh(n,a){var u=n.alternate,o=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:wl(a,n),Gl(n),o&4&&(fa(3,n,n.return),ja(3,n),fa(5,n,n.return));break;case 1:wl(a,n),Gl(n),o&512&&(Rn||u===null||ou(u,u.return)),o&64&&Bi&&(n=n.updateQueue,n!==null&&(o=n.callbacks,o!==null&&(u=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=u===null?o:u.concat(o))));break;case 26:var d=Ge;if(wl(a,n),Gl(n),o&512&&(Rn||u===null||ou(u,u.return)),o&4){var p=u!==null?u.memoizedState:null;if(o=n.memoizedState,u===null)if(o===null)if(n.stateNode===null){e:{o=n.type,u=n.memoizedProps,d=d.ownerDocument||d;t:switch(o){case"title":p=d.getElementsByTagName("title")[0],(!p||p[xu]||p[xt]||p.namespaceURI==="http://www.w3.org/2000/svg"||p.hasAttribute("itemprop"))&&(p=d.createElement(o),d.head.insertBefore(p,d.querySelector("head > title"))),nl(p,o,u),p[xt]=n,vt(p),o=p;break e;case"link":var b=tg("link","href",d).get(o+(u.href||""));if(b){for(var A=0;A<b.length;A++)if(p=b[A],p.getAttribute("href")===(u.href==null||u.href===""?null:u.href)&&p.getAttribute("rel")===(u.rel==null?null:u.rel)&&p.getAttribute("title")===(u.title==null?null:u.title)&&p.getAttribute("crossorigin")===(u.crossOrigin==null?null:u.crossOrigin)){b.splice(A,1);break t}}p=d.createElement(o),nl(p,o,u),d.head.appendChild(p);break;case"meta":if(b=tg("meta","content",d).get(o+(u.content||""))){for(A=0;A<b.length;A++)if(p=b[A],p.getAttribute("content")===(u.content==null?null:""+u.content)&&p.getAttribute("name")===(u.name==null?null:u.name)&&p.getAttribute("property")===(u.property==null?null:u.property)&&p.getAttribute("http-equiv")===(u.httpEquiv==null?null:u.httpEquiv)&&p.getAttribute("charset")===(u.charSet==null?null:u.charSet)){b.splice(A,1);break t}}p=d.createElement(o),nl(p,o,u),d.head.appendChild(p);break;default:throw Error(m(468,o))}p[xt]=n,vt(p),o=p}n.stateNode=o}else r0(d,n.type,n.stateNode);else n.stateNode=eg(d,o,n.memoizedProps);else p!==o?(p===null?u.stateNode!==null&&(u=u.stateNode,u.parentNode.removeChild(u)):p.count--,o===null?r0(d,n.type,n.stateNode):eg(d,o,n.memoizedProps)):o===null&&n.stateNode!==null&&Nh(n,n.memoizedProps,u.memoizedProps)}break;case 27:wl(a,n),Gl(n),o&512&&(Rn||u===null||ou(u,u.return)),u!==null&&o&4&&Nh(n,n.memoizedProps,u.memoizedProps);break;case 5:if(wl(a,n),Gl(n),o&512&&(Rn||u===null||ou(u,u.return)),n.flags&32){d=n.stateNode;try{Du(d,"")}catch(pe){zt(n,n.return,pe)}}o&4&&n.stateNode!=null&&(d=n.memoizedProps,Nh(n,d,u!==null?u.memoizedProps:d)),o&1024&&(Bh=!0);break;case 6:if(wl(a,n),Gl(n),o&4){if(n.stateNode===null)throw Error(m(162));o=n.memoizedProps,u=n.stateNode;try{u.nodeValue=o}catch(pe){zt(n,n.return,pe)}}break;case 3:if(us=null,d=Ge,Ge=hl(a.containerInfo),wl(a,n),Ge=d,Gl(n),o&4&&u!==null&&u.memoizedState.isDehydrated)try{ss(a.containerInfo)}catch(pe){zt(n,n.return,pe)}Bh&&(Bh=!1,Op(n));break;case 4:o=Ge,Ge=hl(n.stateNode.containerInfo),wl(a,n),Gl(n),Ge=o;break;case 12:wl(a,n),Gl(n);break;case 31:wl(a,n),Gl(n),o&4&&(o=n.updateQueue,o!==null&&(n.updateQueue=null,jf(n,o)));break;case 13:wl(a,n),Gl(n),n.child.flags&8192&&n.memoizedState!==null!=(u!==null&&u.memoizedState!==null)&&(fu=wn()),o&4&&(o=n.updateQueue,o!==null&&(n.updateQueue=null,jf(n,o)));break;case 22:d=n.memoizedState!==null;var M=u!==null&&u.memoizedState!==null,k=Bi,W=Rn;if(Bi=k||d,Rn=W||M,wl(a,n),Rn=W,Bi=k,Gl(n),o&8192)e:for(a=n.stateNode,a._visibility=d?a._visibility&-2:a._visibility|1,d&&(u===null||M||Bi||Rn||xc(n)),u=null,a=n;;){if(a.tag===5||a.tag===26){if(u===null){M=u=a;try{if(p=M.stateNode,d)b=p.style,typeof b.setProperty=="function"?b.setProperty("display","none","important"):b.display="none";else{A=M.stateNode;var ee=M.memoizedProps.style,G=ee!=null&&ee.hasOwnProperty("display")?ee.display:null;A.style.display=G==null||typeof G=="boolean"?"":(""+G).trim()}}catch(pe){zt(M,M.return,pe)}}}else if(a.tag===6){if(u===null){M=a;try{M.stateNode.nodeValue=d?"":M.memoizedProps}catch(pe){zt(M,M.return,pe)}}}else if(a.tag===18){if(u===null){M=a;try{var $=M.stateNode;d?En($,!0):En(M.stateNode,!1)}catch(pe){zt(M,M.return,pe)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===n)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break e;for(;a.sibling===null;){if(a.return===null||a.return===n)break e;u===a&&(u=null),a=a.return}u===a&&(u=null),a.sibling.return=a.return,a=a.sibling}o&4&&(o=n.updateQueue,o!==null&&(u=o.retryQueue,u!==null&&(o.retryQueue=null,jf(n,u))));break;case 19:wl(a,n),Gl(n),o&4&&(o=n.updateQueue,o!==null&&(n.updateQueue=null,jf(n,o)));break;case 30:break;case 21:break;default:wl(a,n),Gl(n)}}function Gl(n){var a=n.flags;if(a&2){try{for(var u,o=n.return;o!==null;){if(Ep(o)){u=o;break}o=o.return}if(u==null)throw Error(m(160));switch(u.tag){case 27:var d=u.stateNode,p=Nr(n);Zr(n,p,d);break;case 5:var b=u.stateNode;u.flags&32&&(Du(b,""),u.flags&=-33);var A=Nr(n);Zr(n,A,b);break;case 3:case 4:var M=u.stateNode.containerInfo,k=Nr(n);Br(n,k,M);break;default:throw Error(m(161))}}catch(W){zt(n,n.return,W)}n.flags&=-3}a&4096&&(n.flags&=-4097)}function Op(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var a=n;Op(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),n=n.sibling}}function Zi(n,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)Cf(n,a.alternate,a),a=a.sibling}function xc(n){for(n=n.child;n!==null;){var a=n;switch(a.tag){case 0:case 11:case 14:case 15:fa(4,a,a.return),xc(a);break;case 1:ou(a,a.return);var u=a.stateNode;typeof u.componentWillUnmount=="function"&&Ro(a,a.return,u),xc(a);break;case 27:Uc(a.stateNode);case 26:case 5:ou(a,a.return),xc(a);break;case 22:a.memoizedState===null&&xc(a);break;case 30:xc(a);break;default:xc(a)}n=n.sibling}}function cu(n,a,u){for(u=u&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;){var o=a.alternate,d=n,p=a,b=p.flags;switch(p.tag){case 0:case 11:case 15:cu(d,p,u),ja(4,p);break;case 1:if(cu(d,p,u),o=p,d=o.stateNode,typeof d.componentDidMount=="function")try{d.componentDidMount()}catch(k){zt(o,o.return,k)}if(o=p,d=o.updateQueue,d!==null){var A=o.stateNode;try{var M=d.shared.hiddenCallbacks;if(M!==null)for(d.shared.hiddenCallbacks=null,d=0;d<M.length;d++)rh(M[d],A)}catch(k){zt(o,o.return,k)}}u&&b&64&&Hh(p),Qu(p,p.return);break;case 27:_p(p);case 26:case 5:cu(d,p,u),u&&o===null&&b&4&&zp(p),Qu(p,p.return);break;case 12:cu(d,p,u);break;case 31:cu(d,p,u),u&&b&4&&u1(d,p);break;case 13:cu(d,p,u),u&&b&4&&Dp(d,p);break;case 22:p.memoizedState===null&&cu(d,p,u),Qu(p,p.return);break;case 30:break;default:cu(d,p,u)}a=a.sibling}}function qh(n,a){var u=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(u=n.memoizedState.cachePool.pool),n=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(n=a.memoizedState.cachePool.pool),n!==u&&(n!=null&&n.refCount++,u!=null&&cf(u))}function Yh(n,a){n=null,a.alternate!==null&&(n=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==n&&(a.refCount++,n!=null&&cf(n))}function Ha(n,a,u,o){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)Yr(n,a,u,o),a=a.sibling}function Yr(n,a,u,o){var d=a.flags;switch(a.tag){case 0:case 11:case 15:Ha(n,a,u,o),d&2048&&ja(9,a);break;case 1:Ha(n,a,u,o);break;case 3:Ha(n,a,u,o),d&2048&&(n=null,a.alternate!==null&&(n=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==n&&(a.refCount++,n!=null&&cf(n)));break;case 12:if(d&2048){Ha(n,a,u,o),n=a.stateNode;try{var p=a.memoizedProps,b=p.id,A=p.onPostCommit;typeof A=="function"&&A(b,a.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(M){zt(a,a.return,M)}}else Ha(n,a,u,o);break;case 31:Ha(n,a,u,o);break;case 13:Ha(n,a,u,o);break;case 23:break;case 22:p=a.stateNode,b=a.alternate,a.memoizedState!==null?p._visibility&2?Ha(n,a,u,o):Hf(n,a):p._visibility&2?Ha(n,a,u,o):(p._visibility|=2,kr(n,a,u,o,(a.subtreeFlags&10256)!==0||!1)),d&2048&&qh(b,a);break;case 24:Ha(n,a,u,o),d&2048&&Yh(a.alternate,a);break;default:Ha(n,a,u,o)}}function kr(n,a,u,o,d){for(d=d&&((a.subtreeFlags&10256)!==0||!1),a=a.child;a!==null;){var p=n,b=a,A=u,M=o,k=b.flags;switch(b.tag){case 0:case 11:case 15:kr(p,b,A,M,d),ja(8,b);break;case 23:break;case 22:var W=b.stateNode;b.memoizedState!==null?W._visibility&2?kr(p,b,A,M,d):Hf(p,b):(W._visibility|=2,kr(p,b,A,M,d)),d&&k&2048&&qh(b.alternate,b);break;case 24:kr(p,b,A,M,d),d&&k&2048&&Yh(b.alternate,b);break;default:kr(p,b,A,M,d)}a=a.sibling}}function Hf(n,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var u=n,o=a,d=o.flags;switch(o.tag){case 22:Hf(u,o),d&2048&&qh(o.alternate,o);break;case 24:Hf(u,o),d&2048&&Yh(o.alternate,o);break;default:Hf(u,o)}a=a.sibling}}var Ll=8192;function Ju(n,a,u){if(n.subtreeFlags&Ll)for(n=n.child;n!==null;)i1(n,a,u),n=n.sibling}function i1(n,a,u){switch(n.tag){case 26:Ju(n,a,u),n.flags&Ll&&n.memoizedState!==null&&Pu(u,Ge,n.memoizedState,n.memoizedProps);break;case 5:Ju(n,a,u);break;case 3:case 4:var o=Ge;Ge=hl(n.stateNode.containerInfo),Ju(n,a,u),Ge=o;break;case 22:n.memoizedState===null&&(o=n.alternate,o!==null&&o.memoizedState!==null?(o=Ll,Ll=16777216,Ju(n,a,u),Ll=o):Ju(n,a,u));break;default:Ju(n,a,u)}}function kh(n){var a=n.alternate;if(a!==null&&(n=a.child,n!==null)){a.child=null;do a=n.sibling,n.sibling=null,n=a;while(n!==null)}}function Gr(n){var a=n.deletions;if((n.flags&16)!==0){if(a!==null)for(var u=0;u<a.length;u++){var o=a[u];Xn=o,Gh(o,n)}kh(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)wp(n),n=n.sibling}function wp(n){switch(n.tag){case 0:case 11:case 15:Gr(n),n.flags&2048&&fa(9,n,n.return);break;case 3:Gr(n);break;case 12:Gr(n);break;case 22:var a=n.stateNode;n.memoizedState!==null&&a._visibility&2&&(n.return===null||n.return.tag!==13)?(a._visibility&=-3,Nf(n)):Gr(n);break;default:Gr(n)}}function Nf(n){var a=n.deletions;if((n.flags&16)!==0){if(a!==null)for(var u=0;u<a.length;u++){var o=a[u];Xn=o,Gh(o,n)}kh(n)}for(n=n.child;n!==null;){switch(a=n,a.tag){case 0:case 11:case 15:fa(8,a,a.return),Nf(a);break;case 22:u=a.stateNode,u._visibility&2&&(u._visibility&=-3,Nf(a));break;default:Nf(a)}n=n.sibling}}function Gh(n,a){for(;Xn!==null;){var u=Xn;switch(u.tag){case 0:case 11:case 15:fa(8,u,a);break;case 23:case 22:if(u.memoizedState!==null&&u.memoizedState.cachePool!==null){var o=u.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:cf(u.memoizedState.cache)}if(o=u.child,o!==null)o.return=u,Xn=o;else e:for(u=n;Xn!==null;){o=Xn;var d=o.sibling,p=o.return;if(xp(o),o===u){Xn=null;break e}if(d!==null){d.return=p,Xn=d;break e}Xn=p}}}var o1={getCacheForType:function(n){var a=te(Sn),u=a.data.get(n);return u===void 0&&(u=n(),a.data.set(n,u)),u},cacheSignal:function(){return te(Sn).controller.signal}},Mp=typeof WeakMap=="function"?WeakMap:Map,ft=0,Dt=null,et=null,Ke=0,Tt=0,Oe=null,Ku=!1,Do=!1,Lh=!1,ru=0,Ht=0,su=0,Rc=0,Vh=0,Ml=0,tn=0,Bf=null,nn=null,Xh=!1,fu=0,Cp=0,pt=1/0,Lr=null,Jt=null,Un=0,qi=null,Oo=null,Wu=0,Vl=0,Qh=null,$h=null,Vr=0,Zf=null;function Xl(){return(ft&2)!==0&&Ke!==0?Ke&-Ke:U.T!==null?Ih():Ys()}function c1(){if(Ml===0)if((Ke&536870912)===0||Pe){var n=Fl;Fl<<=1,(Fl&3932160)===0&&(Fl=262144),Ml=n}else Ml=536870912;return n=Al.current,n!==null&&(n.flags|=32),Ml}function Cl(n,a,u){(n===Dt&&(Tt===2||Tt===9)||n.cancelPendingCommit!==null)&&(Fu(n,0),Yi(n,Ke,Ml,!1)),Xt(n,u),((ft&2)===0||n!==Dt)&&(n===Dt&&((ft&2)===0&&(Rc|=u),Ht===4&&Yi(n,Ke,Ml,!1)),Iu(n))}function r1(n,a,u){if((ft&6)!==0)throw Error(m(327));var o=!u&&(a&127)===0&&(a&n.expiredLanes)===0||yt(n,a),d=o?m1(n,a):Kh(n,a,!0),p=o;do{if(d===0){Do&&!o&&Yi(n,a,0,!1);break}else{if(u=n.current.alternate,p&&!s1(u)){d=Kh(n,a,!1),p=!1;continue}if(d===2){if(p=a,n.errorRecoveryDisabledLanes&p)var b=0;else b=n.pendingLanes&-536870913,b=b!==0?b:b&536870912?536870912:0;if(b!==0){a=b;e:{var A=n;d=Bf;var M=A.current.memoizedState.isDehydrated;if(M&&(Fu(A,b).flags|=256),b=Kh(A,b,!1),b!==2){if(Lh&&!M){A.errorRecoveryDisabledLanes|=p,Rc|=p,d=4;break e}p=nn,nn=d,p!==null&&(nn===null?nn=p:nn.push.apply(nn,p))}d=b}if(p=!1,d!==2)continue}}if(d===1){Fu(n,0),Yi(n,a,0,!0);break}e:{switch(o=n,p=d,p){case 0:case 1:throw Error(m(345));case 4:if((a&4194048)!==a)break;case 6:Yi(o,a,Ml,!Ku);break e;case 2:nn=null;break;case 3:case 5:break;default:throw Error(m(329))}if((a&62914560)===a&&(d=fu+300-wn(),10<d)){if(Yi(o,a,Ml,!Ku),ye(o,0,!0)!==0)break e;Wu=a,o.timeoutHandle=Jf(qf.bind(null,o,u,nn,Lr,Xh,a,Ml,Rc,tn,Ku,p,"Throttled",-0,0),d);break e}qf(o,u,nn,Lr,Xh,a,Ml,Rc,tn,Ku,p,null,-0,0)}}break}while(!0);Iu(n)}function qf(n,a,u,o,d,p,b,A,M,k,W,ee,G,$){if(n.timeoutHandle=-1,ee=a.subtreeFlags,ee&8192||(ee&16785408)===16785408){ee={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:$a},i1(a,p,ee);var pe=(p&62914560)===p?fu-wn():(p&4194048)===p?Cp-wn():0;if(pe=lg(ee,pe),pe!==null){Wu=p,n.cancelPendingCommit=pe(v1.bind(null,n,a,p,u,o,d,b,A,M,W,ee,null,G,$)),Yi(n,p,b,!k);return}}v1(n,a,p,u,o,d,b,A,M)}function s1(n){for(var a=n;;){var u=a.tag;if((u===0||u===11||u===15)&&a.flags&16384&&(u=a.updateQueue,u!==null&&(u=u.stores,u!==null)))for(var o=0;o<u.length;o++){var d=u[o],p=d.getSnapshot;d=d.value;try{if(!fl(p(),d))return!1}catch{return!1}}if(u=a.child,a.subtreeFlags&16384&&u!==null)u.return=a,a=u;else{if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function Yi(n,a,u,o){a&=~Vh,a&=~Rc,n.suspendedLanes|=a,n.pingedLanes&=~a,o&&(n.warmLanes|=a),o=n.expirationTimes;for(var d=a;0<d;){var p=31-Zn(d),b=1<<p;o[p]=-1,d&=~b}u!==0&&Au(n,u,a)}function Xr(){return(ft&6)===0?(Gi(0),!1):!0}function Up(){if(et!==null){if(Tt===0)var n=et.return;else n=et,nu=Oi=null,vf(n),go=null,pc=0,n=et;for(;n!==null;)a1(n.alternate,n),n=n.return;et=null}}function Fu(n,a){var u=n.timeoutHandle;u!==-1&&(n.timeoutHandle=-1,j1(u)),u=n.cancelPendingCommit,u!==null&&(n.cancelPendingCommit=null,u()),Wu=0,Up(),Dt=n,et=u=Ri(n.current,null),Ke=a,Tt=0,Oe=null,Ku=!1,Do=yt(n,a),Lh=!1,tn=Ml=Vh=Rc=su=Ht=0,nn=Bf=null,Xh=!1,(a&8)!==0&&(a|=a&32);var o=n.entangledLanes;if(o!==0)for(n=n.entanglements,o&=a;0<o;){var d=31-Zn(o),p=1<<d;a|=n[d],o&=~p}return ru=a,ea(),u}function Qr(n,a){qe=null,U.H=xf,a===ho||a===Er?(a=Gm(),Tt=3):a===hc?(a=Gm(),Tt=4):Tt=a===wh?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,Oe=a,et===null&&(Ht=1,jr(n,na(a,n.current)))}function f1(){var n=Al.current;return n===null?!0:(Ke&4194048)===Ke?oa===null:(Ke&62914560)===Ke||(Ke&536870912)!==0?n===oa:!1}function d1(){var n=U.H;return U.H=xf,n===null?xf:n}function h1(){var n=U.A;return U.A=o1,n}function Jh(){Ht=4,Ku||(Ke&4194048)!==Ke&&Al.current!==null||(Do=!0),(su&134217727)===0&&(Rc&134217727)===0||Dt===null||Yi(Dt,Ke,Ml,!1)}function Kh(n,a,u){var o=ft;ft|=2;var d=d1(),p=h1();(Dt!==n||Ke!==a)&&(Lr=null,Fu(n,a)),a=!1;var b=Ht;e:do try{if(Tt!==0&&et!==null){var A=et,M=Oe;switch(Tt){case 8:Up(),b=6;break e;case 3:case 2:case 9:case 6:Al.current===null&&(a=!0);var k=Tt;if(Tt=0,Oe=null,Dc(n,A,M,k),u&&Do){b=0;break e}break;default:k=Tt,Tt=0,Oe=null,Dc(n,A,M,k)}}_b(),b=Ht;break}catch(W){Qr(n,W)}while(!0);return a&&n.shellSuspendCounter++,nu=Oi=null,ft=o,U.H=d,U.A=p,et===null&&(Dt=null,Ke=0,ea()),b}function _b(){for(;et!==null;)p1(et)}function m1(n,a){var u=ft;ft|=2;var o=d1(),d=h1();Dt!==n||Ke!==a?(Lr=null,pt=wn()+500,Fu(n,a)):Do=yt(n,a);e:do try{if(Tt!==0&&et!==null){a=et;var p=Oe;t:switch(Tt){case 1:Tt=0,Oe=null,Dc(n,a,p,1);break;case 2:case 9:if(Ym(p)){Tt=0,Oe=null,g1(a);break}a=function(){Tt!==2&&Tt!==9||Dt!==n||(Tt=7),Iu(n)},p.then(a,a);break e;case 3:Tt=7;break e;case 4:Tt=5;break e;case 7:Ym(p)?(Tt=0,Oe=null,g1(a)):(Tt=0,Oe=null,Dc(n,a,p,7));break;case 5:var b=null;switch(et.tag){case 26:b=et.memoizedState;case 5:case 27:var A=et;if(b?$l(b):A.stateNode.complete){Tt=0,Oe=null;var M=A.sibling;if(M!==null)et=M;else{var k=A.return;k!==null?(et=k,Yf(k)):et=null}break t}}Tt=0,Oe=null,Dc(n,a,p,5);break;case 6:Tt=0,Oe=null,Dc(n,a,p,6);break;case 8:Up(),Ht=6;break e;default:throw Error(m(462))}}wo();break}catch(W){Qr(n,W)}while(!0);return nu=Oi=null,U.H=o,U.A=d,ft=u,et!==null?0:(Dt=null,Ke=0,ea(),Ht)}function wo(){for(;et!==null&&!yn();)p1(et)}function p1(n){var a=bp(n.alternate,n,ru);n.memoizedProps=n.pendingProps,a===null?Yf(n):et=a}function g1(n){var a=n,u=a.alternate;switch(a.tag){case 15:case 0:a=Ao(u,a,a.pendingProps,a.type,void 0,Ke);break;case 11:a=Ao(u,a,a.pendingProps,a.type.render,a.ref,Ke);break;case 5:vf(a);default:a1(u,a),a=et=Um(a,ru),a=bp(u,a,ru)}n.memoizedProps=n.pendingProps,a===null?Yf(n):et=a}function Dc(n,a,u,o){nu=Oi=null,vf(a),go=null,pc=0;var d=a.return;try{if(Eb(n,d,a,u,Ke)){Ht=1,jr(n,na(u,n.current)),et=null;return}}catch(p){if(d!==null)throw et=d,p;Ht=1,jr(n,na(u,n.current)),et=null;return}a.flags&32768?(Pe||o===1?n=!0:Do||(Ke&536870912)!==0?n=!1:(Ku=n=!0,(o===2||o===9||o===3||o===6)&&(o=Al.current,o!==null&&o.tag===13&&(o.flags|=16384))),y1(a,n)):Yf(a)}function Yf(n){var a=n;do{if((a.flags&32768)!==0){y1(a,Ku);return}n=a.return;var u=n1(a.alternate,a,ru);if(u!==null){et=u;return}if(a=a.sibling,a!==null){et=a;return}et=a=n}while(a!==null);Ht===0&&(Ht=5)}function y1(n,a){do{var u=l1(n.alternate,n);if(u!==null){u.flags&=32767,et=u;return}if(u=n.return,u!==null&&(u.flags|=32768,u.subtreeFlags=0,u.deletions=null),!a&&(n=n.sibling,n!==null)){et=n;return}et=n=u}while(n!==null);Ht=6,et=null}function v1(n,a,u,o,d,p,b,A,M){n.cancelPendingCommit=null;do $r();while(Un!==0);if((ft&6)!==0)throw Error(m(327));if(a!==null){if(a===n.current)throw Error(m(177));if(p=a.lanes|a.childLanes,p|=Oa,el(n,u,p,b,A,M),n===Dt&&(et=Dt=null,Ke=0),Oo=a,qi=n,Wu=u,Vl=p,Qh=d,$h=o,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,R1(Ga,function(){return E1(),null})):(n.callbackNode=null,n.callbackPriority=0),o=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||o){o=U.T,U.T=null,d=J.p,J.p=2,b=ft,ft|=4;try{qr(n,a,u)}finally{ft=b,J.p=d,U.T=o}}Un=1,b1(),S1(),T1()}}function b1(){if(Un===1){Un=0;var n=qi,a=Oo,u=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||u){u=U.T,U.T=null;var o=J.p;J.p=2;var d=ft;ft|=4;try{Zh(a,n);var p=a0,b=oo(n.containerInfo),A=p.focusedElem,M=p.selectionRange;if(b!==A&&A&&A.ownerDocument&&uc(A.ownerDocument.documentElement,A)){if(M!==null&&Fs(A)){var k=M.start,W=M.end;if(W===void 0&&(W=k),"selectionStart"in A)A.selectionStart=k,A.selectionEnd=Math.min(W,A.value.length);else{var ee=A.ownerDocument||document,G=ee&&ee.defaultView||window;if(G.getSelection){var $=G.getSelection(),pe=A.textContent.length,Ae=Math.min(M.start,pe),wt=M.end===void 0?Ae:Math.min(M.end,pe);!$.extend&&Ae>wt&&(b=wt,wt=Ae,Ae=b);var Z=Mm(A,Ae),N=Mm(A,wt);if(Z&&N&&($.rangeCount!==1||$.anchorNode!==Z.node||$.anchorOffset!==Z.offset||$.focusNode!==N.node||$.focusOffset!==N.offset)){var Y=ee.createRange();Y.setStart(Z.node,Z.offset),$.removeAllRanges(),Ae>wt?($.addRange(Y),$.extend(N.node,N.offset)):(Y.setEnd(N.node,N.offset),$.addRange(Y))}}}}for(ee=[],$=A;$=$.parentNode;)$.nodeType===1&&ee.push({element:$,left:$.scrollLeft,top:$.scrollTop});for(typeof A.focus=="function"&&A.focus(),A=0;A<ee.length;A++){var P=ee[A];P.element.scrollLeft=P.left,P.element.scrollTop=P.top}}jn=!!l0,a0=l0=null}finally{ft=d,J.p=o,U.T=u}}n.current=a,Un=2}}function S1(){if(Un===2){Un=0;var n=qi,a=Oo,u=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||u){u=U.T,U.T=null;var o=J.p;J.p=2;var d=ft;ft|=4;try{Cf(n,a.alternate,a)}finally{ft=d,J.p=o,U.T=u}}Un=3}}function T1(){if(Un===4||Un===3){Un=0,ka();var n=qi,a=Oo,u=Wu,o=$h;(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?Un=5:(Un=0,Oo=qi=null,z1(n,n.pendingLanes));var d=n.pendingLanes;if(d===0&&(Jt=null),Xa(u),a=a.stateNode,rl&&typeof rl.onCommitFiberRoot=="function")try{rl.onCommitFiberRoot(Ti,a,void 0,(a.current.flags&128)===128)}catch{}if(o!==null){a=U.T,d=J.p,J.p=2,U.T=null;try{for(var p=n.onRecoverableError,b=0;b<o.length;b++){var A=o[b];p(A.value,{componentStack:A.stack})}}finally{U.T=a,J.p=d}}(Wu&3)!==0&&$r(),Iu(n),d=n.pendingLanes,(u&261930)!==0&&(d&42)!==0?n===Zf?Vr++:(Vr=0,Zf=n):Vr=0,Gi(0)}}function z1(n,a){(n.pooledCacheLanes&=a)===0&&(a=n.pooledCache,a!=null&&(n.pooledCache=null,cf(a)))}function $r(){return b1(),S1(),T1(),E1()}function E1(){if(Un!==5)return!1;var n=qi,a=Vl;Vl=0;var u=Xa(Wu),o=U.T,d=J.p;try{J.p=32>u?32:u,U.T=null,u=Qh,Qh=null;var p=qi,b=Wu;if(Un=0,Oo=qi=null,Wu=0,(ft&6)!==0)throw Error(m(331));var A=ft;if(ft|=4,wp(p.current),Yr(p,p.current,b,u),ft=A,Gi(0,!1),rl&&typeof rl.onPostCommitFiberRoot=="function")try{rl.onPostCommitFiberRoot(Ti,p)}catch{}return!0}finally{J.p=d,U.T=o,z1(n,a)}}function _1(n,a,u){a=na(u,a),a=sp(n.stateNode,a,2),n=ia(n,a,2),n!==null&&(Xt(n,2),Iu(n))}function zt(n,a,u){if(n.tag===3)_1(n,n,u);else for(;a!==null;){if(a.tag===3){_1(a,n,u);break}else if(a.tag===1){var o=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Jt===null||!Jt.has(o))){n=na(u,n),u=fp(2),o=ia(a,u,2),o!==null&&(dp(u,o,a,n),Xt(o,2),Iu(o));break}}a=a.return}}function kf(n,a,u){var o=n.pingCache;if(o===null){o=n.pingCache=new Mp;var d=new Set;o.set(a,d)}else d=o.get(a),d===void 0&&(d=new Set,o.set(a,d));d.has(u)||(Lh=!0,d.add(u),n=jp.bind(null,n,a,u),a.then(n,n))}function jp(n,a,u){var o=n.pingCache;o!==null&&o.delete(a),n.pingedLanes|=n.suspendedLanes&u,n.warmLanes&=~u,Dt===n&&(Ke&u)===u&&(Ht===4||Ht===3&&(Ke&62914560)===Ke&&300>wn()-fu?(ft&2)===0&&Fu(n,0):Vh|=u,tn===Ke&&(tn=0)),Iu(n)}function A1(n,a){a===0&&(a=vn()),n=xi(n,a),n!==null&&(Xt(n,a),Iu(n))}function da(n){var a=n.memoizedState,u=0;a!==null&&(u=a.retryLane),A1(n,u)}function x1(n,a){var u=0;switch(n.tag){case 31:case 13:var o=n.stateNode,d=n.memoizedState;d!==null&&(u=d.retryLane);break;case 19:o=n.stateNode;break;case 22:o=n.stateNode._retryCache;break;default:throw Error(m(314))}o!==null&&o.delete(a),A1(n,u)}function R1(n,a){return At(n,a)}var Jr=null,Oc=null,Hp=!1,Wh=!1,Np=!1,ki=0;function Iu(n){n!==Oc&&n.next===null&&(Oc===null?Jr=Oc=n:Oc=Oc.next=n),Wh=!0,Hp||(Hp=!0,Lf())}function Gi(n,a){if(!Np&&Wh){Np=!0;do for(var u=!1,o=Jr;o!==null;){if(n!==0){var d=o.pendingLanes;if(d===0)var p=0;else{var b=o.suspendedLanes,A=o.pingedLanes;p=(1<<31-Zn(42|n)+1)-1,p&=d&~(b&~A),p=p&201326741?p&201326741|1:p?p|2:0}p!==0&&(u=!0,wc(o,p))}else p=Ke,p=ye(o,o===Dt?p:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(p&3)===0||yt(o,p)||(u=!0,wc(o,p));o=o.next}while(u);Np=!1}}function Fh(){Bp()}function Bp(){Wh=Hp=!1;var n=0;ki!==0&&Ab()&&(n=ki);for(var a=wn(),u=null,o=Jr;o!==null;){var d=o.next,p=Zp(o,a);p===0?(o.next=null,u===null?Jr=d:u.next=d,d===null&&(Oc=u)):(u=o,(n!==0||(p&3)!==0)&&(Wh=!0)),o=d}Un!==0&&Un!==5||Gi(n),ki!==0&&(ki=0)}function Zp(n,a){for(var u=n.suspendedLanes,o=n.pingedLanes,d=n.expirationTimes,p=n.pendingLanes&-62914561;0<p;){var b=31-Zn(p),A=1<<b,M=d[b];M===-1?((A&u)===0||(A&o)!==0)&&(d[b]=Pt(A,a)):M<=a&&(n.expiredLanes|=A),p&=~A}if(a=Dt,u=Ke,u=ye(n,n===a?u:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),o=n.callbackNode,u===0||n===a&&(Tt===2||Tt===9)||n.cancelPendingCommit!==null)return o!==null&&o!==null&&Bs(o),n.callbackNode=null,n.callbackPriority=0;if((u&3)===0||yt(n,u)){if(a=u&-u,a===n.callbackPriority)return a;switch(o!==null&&Bs(o),Xa(u)){case 2:case 8:u=nr;break;case 32:u=Ga;break;case 268435456:u=Eu;break;default:u=Ga}return o=Gf.bind(null,n),u=At(u,o),n.callbackPriority=a,n.callbackNode=u,a}return o!==null&&o!==null&&Bs(o),n.callbackPriority=2,n.callbackNode=null,2}function Gf(n,a){if(Un!==0&&Un!==5)return n.callbackNode=null,n.callbackPriority=0,null;var u=n.callbackNode;if($r()&&n.callbackNode!==u)return null;var o=Ke;return o=ye(n,n===Dt?o:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),o===0?null:(r1(n,o,a),Zp(n,wn()),n.callbackNode!=null&&n.callbackNode===u?Gf.bind(null,n):null)}function wc(n,a){if($r())return null;r1(n,a,!0)}function Lf(){H1(function(){(ft&6)!==0?At(bi,Fh):Bp()})}function Ih(){if(ki===0){var n=fo;n===0&&(n=La,La<<=1,(La&261888)===0&&(La=256)),ki=n}return ki}function D1(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:Aa(""+n)}function Mc(n,a){var u=a.ownerDocument.createElement("input");return u.name=a.name,u.value=a.value,n.id&&u.setAttribute("form",n.id),a.parentNode.insertBefore(u,a),n=new FormData(n),u.parentNode.removeChild(u),n}function Vf(n,a,u,o,d){if(a==="submit"&&u&&u.stateNode===d){var p=D1((d[bl]||null).action),b=o.submitter;b&&(a=(a=b[bl]||null)?D1(a.formAction):b.getAttribute("formAction"),a!==null&&(p=a,b=null));var A=new Js("action","action",null,o,d);n.push({event:A,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(ki!==0){var M=b?Mc(d,b):new FormData(d);Cr(u,{pending:!0,data:M,method:d.method,action:p},null,M)}}else typeof p=="function"&&(A.preventDefault(),M=b?Mc(d,b):new FormData(d),Cr(u,{pending:!0,data:M,method:d.method,action:p},p,M))},currentTarget:d}]})}}for(var Ph=0;Ph<yr.length;Ph++){var Kr=yr[Ph],qp=Kr.toLowerCase(),Yp=Kr[0].toUpperCase()+Kr.slice(1);Tl(qp,"on"+Yp)}Tl(Ps,"onAnimationEnd"),Tl(Cm,"onAnimationIteration"),Tl(Pd,"onAnimationStart"),Tl("dblclick","onDoubleClick"),Tl("focusin","onFocus"),Tl("focusout","onBlur"),Tl(ic,"onTransitionRun"),Tl(ef,"onTransitionStart"),Tl(Cu,"onTransitionCancel"),Tl(qy,"onTransitionEnd"),Ru("onMouseEnter",["mouseout","mouseover"]),Ru("onMouseLeave",["mouseout","mouseover"]),Ru("onPointerEnter",["pointerout","pointerover"]),Ru("onPointerLeave",["pointerout","pointerover"]),no("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),no("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),no("onBeforeInput",["compositionend","keypress","textInput","paste"]),no("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),no("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),no("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Wr="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(" "),O1=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Wr));function w1(n,a){a=(a&4)!==0;for(var u=0;u<n.length;u++){var o=n[u],d=o.event;o=o.listeners;e:{var p=void 0;if(a)for(var b=o.length-1;0<=b;b--){var A=o[b],M=A.instance,k=A.currentTarget;if(A=A.listener,M!==p&&d.isPropagationStopped())break e;p=A,d.currentTarget=k;try{p(d)}catch(W){oc(W)}d.currentTarget=null,p=M}else for(b=0;b<o.length;b++){if(A=o[b],M=A.instance,k=A.currentTarget,A=A.listener,M!==p&&d.isPropagationStopped())break e;p=A,d.currentTarget=k;try{p(d)}catch(W){oc(W)}d.currentTarget=null,p=M}}}}function Fe(n,a){var u=a[Cd];u===void 0&&(u=a[Cd]=new Set);var o=n+"__bubble";u.has(o)||(Xf(a,n,2,!1),u.add(o))}function kp(n,a,u){var o=0;a&&(o|=4),Xf(u,n,o,a)}var e0="_reactListening"+Math.random().toString(36).slice(2);function Fr(n){if(!n[e0]){n[e0]=!0,Ko.forEach(function(u){u!=="selectionchange"&&(O1.has(u)||kp(u,!1,n),kp(u,!0,n))});var a=n.nodeType===9?n:n.ownerDocument;a===null||a[e0]||(a[e0]=!0,kp("selectionchange",!1,a))}}function Xf(n,a,u,o){switch(ed(a)){case 2:var d=ei;break;case 8:d=ti;break;default:d=ll}u=d.bind(null,a,u,n),d=void 0,!Qs||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(d=!0),o?d!==void 0?n.addEventListener(a,u,{capture:!0,passive:d}):n.addEventListener(a,u,!0):d!==void 0?n.addEventListener(a,u,{passive:d}):n.addEventListener(a,u,!1)}function Gp(n,a,u,o,d){var p=o;if((a&1)===0&&(a&2)===0&&o!==null)e:for(;;){if(o===null)return;var b=o.tag;if(b===3||b===4){var A=o.stateNode.containerInfo;if(A===d)break;if(b===4)for(b=o.return;b!==null;){var M=b.tag;if((M===3||M===4)&&b.stateNode.containerInfo===d)return;b=b.return}for(;A!==null;){if(b=Qo(A),b===null)return;if(M=b.tag,M===5||M===6||M===26||M===27){o=p=b;continue e}A=A.parentNode}}o=o.return}mm(function(){var k=p,W=Yd(u),ee=[];e:{var G=Uu.get(n);if(G!==void 0){var $=Js,pe=n;switch(n){case"keypress":if(Gd(u)===0)break e;case"keydown":case"keyup":$=Qd;break;case"focusin":pe="focus",$=Vd;break;case"focusout":pe="blur",$=Vd;break;case"beforeblur":case"afterblur":$=Vd;break;case"click":if(u.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":$=dr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":$=Ry;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":$=Cy;break;case Ps:case Cm:case Pd:$=Oy;break;case qy:$=bb;break;case"scroll":case"scrollend":$=yb;break;case"wheel":$=Sb;break;case"copy":case"cut":case"paste":$=Po;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":$=Wa;break;case"toggle":case"beforetoggle":$=Em}var Ae=(a&4)!==0,wt=!Ae&&(n==="scroll"||n==="scrollend"),Z=Ae?G!==null?G+"Capture":null:G;Ae=[];for(var N=k,Y;N!==null;){var P=N;if(Y=P.stateNode,P=P.tag,P!==5&&P!==26&&P!==27||Y===null||Z===null||(P=qn(N,Z),P!=null&&Ae.push(Qf(N,P,Y))),wt)break;N=N.return}0<Ae.length&&(G=new $(G,pe,null,u,W),ee.push({event:G,listeners:Ae}))}}if((a&7)===0){e:{if(G=n==="mouseover"||n==="pointerover",$=n==="mouseout"||n==="pointerout",G&&u!==qd&&(pe=u.relatedTarget||u.fromElement)&&(Qo(pe)||pe[eo]))break e;if(($||G)&&(G=W.window===W?W:(G=W.ownerDocument)?G.defaultView||G.parentWindow:window,$?(pe=u.relatedTarget||u.toElement,$=k,pe=pe?Qo(pe):null,pe!==null&&(wt=S(pe),Ae=pe.tag,pe!==wt||Ae!==5&&Ae!==27&&Ae!==6)&&(pe=null)):($=null,pe=k),$!==pe)){if(Ae=dr,P="onMouseLeave",Z="onMouseEnter",N="mouse",(n==="pointerout"||n==="pointerover")&&(Ae=Wa,P="onPointerLeave",Z="onPointerEnter",N="pointer"),wt=$==null?G:ar($),Y=pe==null?G:ar(pe),G=new Ae(P,N+"leave",$,u,W),G.target=wt,G.relatedTarget=Y,P=null,Qo(W)===k&&(Ae=new Ae(Z,N+"enter",pe,u,W),Ae.target=Y,Ae.relatedTarget=wt,P=Ae),wt=P,$&&pe)t:{for(Ae=M1,Z=$,N=pe,Y=0,P=Z;P;P=Ae(P))Y++;P=0;for(var ze=N;ze;ze=Ae(ze))P++;for(;0<Y-P;)Z=Ae(Z),Y--;for(;0<P-Y;)N=Ae(N),P--;for(;Y--;){if(Z===N||N!==null&&Z===N.alternate){Ae=Z;break t}Z=Ae(Z),N=Ae(N)}Ae=null}else Ae=null;$!==null&&t0(ee,G,$,Ae,!1),pe!==null&&wt!==null&&t0(ee,wt,pe,Ae,!0)}}e:{if(G=k?ar(k):window,$=G.nodeName&&G.nodeName.toLowerCase(),$==="select"||$==="input"&&G.type==="file")var it=Dm;else if(Mu(G))if(Kd)it=ac;else{it=By;var ve=Ny}else $=G.nodeName,!$||$.toLowerCase()!=="input"||G.type!=="checkbox"&&G.type!=="radio"?k&&hm(k.elementType)&&(it=Dm):it=io;if(it&&(it=it(n,k))){Rm(ee,it,u,W);break e}ve&&ve(n,G,k),n==="focusout"&&k&&G.type==="number"&&k.memoizedProps.value!=null&&Wo(G,"number",G.value)}switch(ve=k?ar(k):window,n){case"focusin":(Mu(ve)||ve.contentEditable==="true")&&(co=ve,pr=k,Da=null);break;case"focusout":Da=pr=co=null;break;case"mousedown":Ia=!0;break;case"contextmenu":case"mouseup":case"dragend":Ia=!1,Id(ee,u,W);break;case"selectionchange":if(Is)break;case"keydown":case"keyup":Id(ee,u,W)}var Be;if(hr)e:{switch(n){case"compositionstart":var Le="onCompositionStart";break e;case"compositionend":Le="onCompositionEnd";break e;case"compositionupdate":Le="onCompositionUpdate";break e}Le=void 0}else tc?Jd(n,u)&&(Le="onCompositionEnd"):n==="keydown"&&u.keyCode===229&&(Le="onCompositionStart");Le&&(_m&&u.locale!=="ko"&&(tc||Le!=="onCompositionStart"?Le==="onCompositionEnd"&&tc&&(Be=gm()):(_i=W,pm="value"in _i?_i.value:_i.textContent,tc=!0)),ve=$f(k,Le),0<ve.length&&(Le=new wy(Le,n,null,u,W),ee.push({event:Le,listeners:ve}),Be?Le.data=Be:(Be=Am(u),Be!==null&&(Le.data=Be)))),(Be=sl?Hy(n,u):Tb(n,u))&&(Le=$f(k,"onBeforeInput"),0<Le.length&&(ve=new wy("onBeforeInput","beforeinput",null,u,W),ee.push({event:ve,listeners:Le}),ve.data=Be)),Vf(ee,n,k,u,W)}w1(ee,a)})}function Qf(n,a,u){return{instance:n,listener:a,currentTarget:u}}function $f(n,a){for(var u=a+"Capture",o=[];n!==null;){var d=n,p=d.stateNode;if(d=d.tag,d!==5&&d!==26&&d!==27||p===null||(d=qn(n,u),d!=null&&o.unshift(Qf(n,d,p)),d=qn(n,a),d!=null&&o.push(Qf(n,d,p))),n.tag===3)return o;n=n.return}return[]}function M1(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function t0(n,a,u,o,d){for(var p=a._reactName,b=[];u!==null&&u!==o;){var A=u,M=A.alternate,k=A.stateNode;if(A=A.tag,M!==null&&M===o)break;A!==5&&A!==26&&A!==27||k===null||(M=k,d?(k=qn(u,p),k!=null&&b.unshift(Qf(u,k,M))):d||(k=qn(u,p),k!=null&&b.push(Qf(u,k,M)))),u=u.return}b.length!==0&&n.push({event:a,listeners:b})}var C1=/\r\n?/g,Lp=/\u0000|\uFFFD/g;function Vp(n){return(typeof n=="string"?n:""+n).replace(C1,`
|
|
14
|
+
`).replace(Lp,"")}function Xp(n,a){return a=Vp(a),Vp(n)===a}function Ot(n,a,u,o,d,p){switch(u){case"children":typeof o=="string"?a==="body"||a==="textarea"&&o===""||Du(n,o):(typeof o=="number"||typeof o=="bigint")&&a!=="body"&&Du(n,""+o);break;case"className":Nd(n,"class",o);break;case"tabIndex":Nd(n,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Nd(n,u,o);break;case"style":_y(n,o,p);break;case"data":if(a!=="object"){Nd(n,"data",o);break}case"src":case"href":if(o===""&&(a!=="a"||u!=="href")){n.removeAttribute(u);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){n.removeAttribute(u);break}o=Aa(""+o),n.setAttribute(u,o);break;case"action":case"formAction":if(typeof o=="function"){n.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 p=="function"&&(u==="formAction"?(a!=="input"&&Ot(n,a,"name",d.name,d,null),Ot(n,a,"formEncType",d.formEncType,d,null),Ot(n,a,"formMethod",d.formMethod,d,null),Ot(n,a,"formTarget",d.formTarget,d,null)):(Ot(n,a,"encType",d.encType,d,null),Ot(n,a,"method",d.method,d,null),Ot(n,a,"target",d.target,d,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){n.removeAttribute(u);break}o=Aa(""+o),n.setAttribute(u,o);break;case"onClick":o!=null&&(n.onclick=$a);break;case"onScroll":o!=null&&Fe("scroll",n);break;case"onScrollEnd":o!=null&&Fe("scrollend",n);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(m(61));if(u=o.__html,u!=null){if(d.children!=null)throw Error(m(60));n.innerHTML=u}}break;case"multiple":n.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":n.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"){n.removeAttribute("xlink:href");break}u=Aa(""+o),n.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":o!=null&&typeof o!="function"&&typeof o!="symbol"?n.setAttribute(u,""+o):n.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":o&&typeof o!="function"&&typeof o!="symbol"?n.setAttribute(u,""):n.removeAttribute(u);break;case"capture":case"download":o===!0?n.setAttribute(u,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?n.setAttribute(u,o):n.removeAttribute(u);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?n.setAttribute(u,o):n.removeAttribute(u);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?n.removeAttribute(u):n.setAttribute(u,o);break;case"popover":Fe("beforetoggle",n),Fe("toggle",n),or(n,"popover",o);break;case"xlinkActuate":zi(n,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":zi(n,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":zi(n,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":zi(n,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":zi(n,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":zi(n,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":zi(n,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":zi(n,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":zi(n,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":or(n,"is",o);break;case"innerText":case"textContent":break;default:(!(2<u.length)||u[0]!=="o"&&u[0]!=="O"||u[1]!=="n"&&u[1]!=="N")&&(u=gb.get(u)||u,or(n,u,o))}}function Qp(n,a,u,o,d,p){switch(u){case"style":_y(n,o,p);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(m(61));if(u=o.__html,u!=null){if(d.children!=null)throw Error(m(60));n.innerHTML=u}}break;case"children":typeof o=="string"?Du(n,o):(typeof o=="number"||typeof o=="bigint")&&Du(n,""+o);break;case"onScroll":o!=null&&Fe("scroll",n);break;case"onScrollEnd":o!=null&&Fe("scrollend",n);break;case"onClick":o!=null&&(n.onclick=$a);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!to.hasOwnProperty(u))e:{if(u[0]==="o"&&u[1]==="n"&&(d=u.endsWith("Capture"),a=u.slice(2,d?u.length-7:void 0),p=n[bl]||null,p=p!=null?p[u]:null,typeof p=="function"&&n.removeEventListener(a,p,d),typeof o=="function")){typeof p!="function"&&p!==null&&(u in n?n[u]=null:n.hasAttribute(u)&&n.removeAttribute(u)),n.addEventListener(a,o,d);break e}u in n?n[u]=o:o===!0?n.setAttribute(u,""):or(n,u,o)}}}function nl(n,a,u){switch(a){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 o=!1,d=!1,p;for(p in u)if(u.hasOwnProperty(p)){var b=u[p];if(b!=null)switch(p){case"src":o=!0;break;case"srcSet":d=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(m(137,a));default:Ot(n,a,p,b,u,null)}}d&&Ot(n,a,"srcSet",u.srcSet,u,null),o&&Ot(n,a,"src",u.src,u,null);return;case"input":Fe("invalid",n);var A=p=b=d=null,M=null,k=null;for(o in u)if(u.hasOwnProperty(o)){var W=u[o];if(W!=null)switch(o){case"name":d=W;break;case"type":b=W;break;case"checked":M=W;break;case"defaultChecked":k=W;break;case"value":p=W;break;case"defaultValue":A=W;break;case"children":case"dangerouslySetInnerHTML":if(W!=null)throw Error(m(137,a));break;default:Ot(n,a,o,W,u,null)}}Ls(n,p,A,M,k,b,d,!1);return;case"select":Fe("invalid",n),o=b=p=null;for(d in u)if(u.hasOwnProperty(d)&&(A=u[d],A!=null))switch(d){case"value":p=A;break;case"defaultValue":b=A;break;case"multiple":o=A;default:Ot(n,a,d,A,u,null)}a=p,u=b,n.multiple=!!o,a!=null?cr(n,!!o,a,!1):u!=null&&cr(n,!!o,u,!0);return;case"textarea":Fe("invalid",n),p=d=o=null;for(b in u)if(u.hasOwnProperty(b)&&(A=u[b],A!=null))switch(b){case"value":o=A;break;case"defaultValue":d=A;break;case"children":p=A;break;case"dangerouslySetInnerHTML":if(A!=null)throw Error(m(91));break;default:Ot(n,a,b,A,u,null)}dm(n,o,d,p);return;case"option":for(M in u)u.hasOwnProperty(M)&&(o=u[M],o!=null)&&(M==="selected"?n.selected=o&&typeof o!="function"&&typeof o!="symbol":Ot(n,a,M,o,u,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(o=0;o<Wr.length;o++)Fe(Wr[o],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(k in u)if(u.hasOwnProperty(k)&&(o=u[k],o!=null))switch(k){case"children":case"dangerouslySetInnerHTML":throw Error(m(137,a));default:Ot(n,a,k,o,u,null)}return;default:if(hm(a)){for(W in u)u.hasOwnProperty(W)&&(o=u[W],o!==void 0&&Qp(n,a,W,o,u,void 0));return}}for(A in u)u.hasOwnProperty(A)&&(o=u[A],o!=null&&Ot(n,a,A,o,u,null))}function $p(n,a,u,o){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var d=null,p=null,b=null,A=null,M=null,k=null,W=null;for($ in u){var ee=u[$];if(u.hasOwnProperty($)&&ee!=null)switch($){case"checked":break;case"value":break;case"defaultValue":M=ee;default:o.hasOwnProperty($)||Ot(n,a,$,null,o,ee)}}for(var G in o){var $=o[G];if(ee=u[G],o.hasOwnProperty(G)&&($!=null||ee!=null))switch(G){case"type":p=$;break;case"name":d=$;break;case"checked":k=$;break;case"defaultChecked":W=$;break;case"value":b=$;break;case"defaultValue":A=$;break;case"children":case"dangerouslySetInnerHTML":if($!=null)throw Error(m(137,a));break;default:$!==ee&&Ot(n,a,G,$,o,ee)}}Gs(n,b,A,M,k,W,p,d);return;case"select":$=b=A=G=null;for(p in u)if(M=u[p],u.hasOwnProperty(p)&&M!=null)switch(p){case"value":break;case"multiple":$=M;default:o.hasOwnProperty(p)||Ot(n,a,p,null,o,M)}for(d in o)if(p=o[d],M=u[d],o.hasOwnProperty(d)&&(p!=null||M!=null))switch(d){case"value":G=p;break;case"defaultValue":A=p;break;case"multiple":b=p;default:p!==M&&Ot(n,a,d,p,o,M)}a=A,u=b,o=$,G!=null?cr(n,!!u,G,!1):!!o!=!!u&&(a!=null?cr(n,!!u,a,!0):cr(n,!!u,u?[]:"",!1));return;case"textarea":$=G=null;for(A in u)if(d=u[A],u.hasOwnProperty(A)&&d!=null&&!o.hasOwnProperty(A))switch(A){case"value":break;case"children":break;default:Ot(n,a,A,null,o,d)}for(b in o)if(d=o[b],p=u[b],o.hasOwnProperty(b)&&(d!=null||p!=null))switch(b){case"value":G=d;break;case"defaultValue":$=d;break;case"children":break;case"dangerouslySetInnerHTML":if(d!=null)throw Error(m(91));break;default:d!==p&&Ot(n,a,b,d,o,p)}fm(n,G,$);return;case"option":for(var pe in u)G=u[pe],u.hasOwnProperty(pe)&&G!=null&&!o.hasOwnProperty(pe)&&(pe==="selected"?n.selected=!1:Ot(n,a,pe,null,o,G));for(M in o)G=o[M],$=u[M],o.hasOwnProperty(M)&&G!==$&&(G!=null||$!=null)&&(M==="selected"?n.selected=G&&typeof G!="function"&&typeof G!="symbol":Ot(n,a,M,G,o,$));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Ae in u)G=u[Ae],u.hasOwnProperty(Ae)&&G!=null&&!o.hasOwnProperty(Ae)&&Ot(n,a,Ae,null,o,G);for(k in o)if(G=o[k],$=u[k],o.hasOwnProperty(k)&&G!==$&&(G!=null||$!=null))switch(k){case"children":case"dangerouslySetInnerHTML":if(G!=null)throw Error(m(137,a));break;default:Ot(n,a,k,G,o,$)}return;default:if(hm(a)){for(var wt in u)G=u[wt],u.hasOwnProperty(wt)&&G!==void 0&&!o.hasOwnProperty(wt)&&Qp(n,a,wt,void 0,o,G);for(W in o)G=o[W],$=u[W],!o.hasOwnProperty(W)||G===$||G===void 0&&$===void 0||Qp(n,a,W,G,o,$);return}}for(var Z in u)G=u[Z],u.hasOwnProperty(Z)&&G!=null&&!o.hasOwnProperty(Z)&&Ot(n,a,Z,null,o,G);for(ee in o)G=o[ee],$=u[ee],!o.hasOwnProperty(ee)||G===$||G==null&&$==null||Ot(n,a,ee,G,o,$)}function n0(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Jp(){if(typeof performance.getEntriesByType=="function"){for(var n=0,a=0,u=performance.getEntriesByType("resource"),o=0;o<u.length;o++){var d=u[o],p=d.transferSize,b=d.initiatorType,A=d.duration;if(p&&A&&n0(b)){for(b=0,A=d.responseEnd,o+=1;o<u.length;o++){var M=u[o],k=M.startTime;if(k>A)break;var W=M.transferSize,ee=M.initiatorType;W&&n0(ee)&&(M=M.responseEnd,b+=W*(M<A?1:(A-k)/(M-k)))}if(--o,a+=8*(p+b)/(d.duration/1e3),n++,10<n)break}}if(0<n)return a/n/1e6}return navigator.connection&&(n=navigator.connection.downlink,typeof n=="number")?n:5}var l0=null,a0=null;function Mo(n){return n.nodeType===9?n:n.ownerDocument}function U1(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 Kp(n,a){if(n===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&a==="foreignObject"?0:n}function Ir(n,a){return n==="textarea"||n==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var u0=null;function Ab(){var n=window.event;return n&&n.type==="popstate"?n===u0?!1:(u0=n,!0):(u0=null,!1)}var Jf=typeof setTimeout=="function"?setTimeout:void 0,j1=typeof clearTimeout=="function"?clearTimeout:void 0,Cc=typeof Promise=="function"?Promise:void 0,H1=typeof queueMicrotask=="function"?queueMicrotask:typeof Cc<"u"?function(n){return Cc.resolve(null).then(n).catch(Wp)}:Jf;function Wp(n){setTimeout(function(){throw n})}function du(n){return n==="head"}function Fp(n,a){var u=a,o=0;do{var d=u.nextSibling;if(n.removeChild(u),d&&d.nodeType===8)if(u=d.data,u==="/$"||u==="/&"){if(o===0){n.removeChild(d),ss(a);return}o--}else if(u==="$"||u==="$?"||u==="$~"||u==="$!"||u==="&")o++;else if(u==="html")Uc(n.ownerDocument.documentElement);else if(u==="head"){u=n.ownerDocument.head,Uc(u);for(var p=u.firstChild;p;){var b=p.nextSibling,A=p.nodeName;p[xu]||A==="SCRIPT"||A==="STYLE"||A==="LINK"&&p.rel.toLowerCase()==="stylesheet"||u.removeChild(p),p=b}}else u==="body"&&Uc(n.ownerDocument.body);u=d}while(u);ss(a)}function En(n,a){var u=n;n=0;do{var o=u.nextSibling;if(u.nodeType===1?a?(u._stashedDisplay=u.style.display,u.style.display="none"):(u.style.display=u._stashedDisplay||"",u.getAttribute("style")===""&&u.removeAttribute("style")):u.nodeType===3&&(a?(u._stashedText=u.nodeValue,u.nodeValue=""):u.nodeValue=u._stashedText||""),o&&o.nodeType===8)if(u=o.data,u==="/$"){if(n===0)break;n--}else u!=="$"&&u!=="$?"&&u!=="$~"&&u!=="$!"||n++;u=o}while(u)}function Kf(n){var a=n.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var u=a;switch(a=a.nextSibling,u.nodeName){case"HTML":case"HEAD":case"BODY":Kf(u),Ud(u);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(u.rel.toLowerCase()==="stylesheet")continue}n.removeChild(u)}}function xb(n,a,u,o){for(;n.nodeType===1;){var d=u;if(n.nodeName.toLowerCase()!==a.toLowerCase()){if(!o&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(o){if(!n[xu])switch(a){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!==d.rel||n.getAttribute("href")!==(d.href==null||d.href===""?null:d.href)||n.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin)||n.getAttribute("title")!==(d.title==null?null:d.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(p=n.getAttribute("src"),(p!==(d.src==null?null:d.src)||n.getAttribute("type")!==(d.type==null?null:d.type)||n.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin))&&p&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(a==="input"&&n.type==="hidden"){var p=d.name==null?null:""+d.name;if(d.type==="hidden"&&n.getAttribute("name")===p)return n}else return n;if(n=Ul(n.nextSibling),n===null)break}return null}function Xe(n,a,u){if(a==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!u||(n=Ul(n.nextSibling),n===null))return null;return n}function N1(n,a){for(;n.nodeType!==8;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!a||(n=Ul(n.nextSibling),n===null))return null;return n}function Na(n){return n.data==="$?"||n.data==="$~"}function Co(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function Pr(n,a){var u=n.ownerDocument;if(n.data==="$~")n._reactRetry=a;else if(n.data!=="$?"||u.readyState!=="loading")a();else{var o=function(){a(),u.removeEventListener("DOMContentLoaded",o)};u.addEventListener("DOMContentLoaded",o),n._reactRetry=o}}function Ul(n){for(;n!=null;n=n.nextSibling){var a=n.nodeType;if(a===1||a===3)break;if(a===8){if(a=n.data,a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"||a==="F!"||a==="F")break;if(a==="/$"||a==="/&")return null}}return n}var Wf=null;function i0(n){n=n.nextSibling;for(var a=0;n;){if(n.nodeType===8){var u=n.data;if(u==="/$"||u==="/&"){if(a===0)return Ul(n.nextSibling);a--}else u!=="$"&&u!=="$!"&&u!=="$?"&&u!=="$~"&&u!=="&"||a++}n=n.nextSibling}return null}function hu(n){n=n.previousSibling;for(var a=0;n;){if(n.nodeType===8){var u=n.data;if(u==="$"||u==="$!"||u==="$?"||u==="$~"||u==="&"){if(a===0)return n;a--}else u!=="/$"&&u!=="/&"||a++}n=n.previousSibling}return null}function es(n,a,u){switch(a=Mo(u),n){case"html":if(n=a.documentElement,!n)throw Error(m(452));return n;case"head":if(n=a.head,!n)throw Error(m(453));return n;case"body":if(n=a.body,!n)throw Error(m(454));return n;default:throw Error(m(451))}}function Uc(n){for(var a=n.attributes;a.length;)n.removeAttributeNode(a[0]);Ud(n)}var Ql=new Map,Ff=new Set;function hl(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var mu=J.d;J.d={f:Rb,r:B1,D:Q,C:gt,L:Db,m:Ip,X:Li,S:Pp,M:Uo};function Rb(){var n=mu.f(),a=Xr();return n||a}function B1(n){var a=$o(n);a!==null&&a.tag===5&&a.type==="form"?Rt(a):mu.r(n)}var ts=typeof document>"u"?null:document;function Dn(n,a,u){var o=ts;if(o&&typeof a=="string"&&a){var d=Pl(a);d='link[rel="'+n+'"][href="'+d+'"]',typeof u=="string"&&(d+='[crossorigin="'+u+'"]'),Ff.has(d)||(Ff.add(d),n={rel:n,crossOrigin:u,href:a},o.querySelector(d)===null&&(a=o.createElement("link"),nl(a,"link",n),vt(a),o.head.appendChild(a)))}}function Q(n){mu.D(n),Dn("dns-prefetch",n,null)}function gt(n,a){mu.C(n,a),Dn("preconnect",n,a)}function Db(n,a,u){mu.L(n,a,u);var o=ts;if(o&&n&&a){var d='link[rel="preload"][as="'+Pl(a)+'"]';a==="image"&&u&&u.imageSrcSet?(d+='[imagesrcset="'+Pl(u.imageSrcSet)+'"]',typeof u.imageSizes=="string"&&(d+='[imagesizes="'+Pl(u.imageSizes)+'"]')):d+='[href="'+Pl(n)+'"]';var p=d;switch(a){case"style":p=ha(n);break;case"script":p=jc(n)}Ql.has(p)||(n=x({rel:"preload",href:a==="image"&&u&&u.imageSrcSet?void 0:n,as:a},u),Ql.set(p,n),o.querySelector(d)!==null||a==="style"&&o.querySelector(jo(p))||a==="script"&&o.querySelector(as(p))||(a=o.createElement("link"),nl(a,"link",n),vt(a),o.head.appendChild(a)))}}function Ip(n,a){mu.m(n,a);var u=ts;if(u&&n){var o=a&&typeof a.as=="string"?a.as:"script",d='link[rel="modulepreload"][as="'+Pl(o)+'"][href="'+Pl(n)+'"]',p=d;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":p=jc(n)}if(!Ql.has(p)&&(n=x({rel:"modulepreload",href:n},a),Ql.set(p,n),u.querySelector(d)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(u.querySelector(as(p)))return}o=u.createElement("link"),nl(o,"link",n),vt(o),u.head.appendChild(o)}}}function Pp(n,a,u){mu.S(n,a,u);var o=ts;if(o&&n){var d=Jo(o).hoistableStyles,p=ha(n);a=a||"default";var b=d.get(p);if(!b){var A={loading:0,preload:null};if(b=o.querySelector(jo(p)))A.loading=5;else{n=x({rel:"stylesheet",href:n,"data-precedence":a},u),(u=Ql.get(p))&&o0(n,u);var M=b=o.createElement("link");vt(M),nl(M,"link",n),M._p=new Promise(function(k,W){M.onload=k,M.onerror=W}),M.addEventListener("load",function(){A.loading|=1}),M.addEventListener("error",function(){A.loading|=2}),A.loading|=4,If(b,a,o)}b={type:"stylesheet",instance:b,count:1,state:A},d.set(p,b)}}}function Li(n,a){mu.X(n,a);var u=ts;if(u&&n){var o=Jo(u).hoistableScripts,d=jc(n),p=o.get(d);p||(p=u.querySelector(as(d)),p||(n=x({src:n,async:!0},a),(a=Ql.get(d))&&c0(n,a),p=u.createElement("script"),vt(p),nl(p,"link",n),u.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},o.set(d,p))}}function Uo(n,a){mu.M(n,a);var u=ts;if(u&&n){var o=Jo(u).hoistableScripts,d=jc(n),p=o.get(d);p||(p=u.querySelector(as(d)),p||(n=x({src:n,async:!0,type:"module"},a),(a=Ql.get(d))&&c0(n,a),p=u.createElement("script"),vt(p),nl(p,"link",n),u.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},o.set(d,p))}}function ns(n,a,u,o){var d=(d=qt.current)?hl(d):null;if(!d)throw Error(m(446));switch(n){case"meta":case"title":return null;case"style":return typeof u.precedence=="string"&&typeof u.href=="string"?(a=ha(u.href),u=Jo(d).hoistableStyles,o=u.get(a),o||(o={type:"style",instance:null,count:0,state:null},u.set(a,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(u.rel==="stylesheet"&&typeof u.href=="string"&&typeof u.precedence=="string"){n=ha(u.href);var p=Jo(d).hoistableStyles,b=p.get(n);if(b||(d=d.ownerDocument||d,b={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},p.set(n,b),(p=d.querySelector(jo(n)))&&!p._p&&(b.instance=p,b.state.loading=5),Ql.has(n)||(u={rel:"preload",as:"style",href:u.href,crossOrigin:u.crossOrigin,integrity:u.integrity,media:u.media,hrefLang:u.hrefLang,referrerPolicy:u.referrerPolicy},Ql.set(n,u),p||Z1(d,n,u,b.state))),a&&o===null)throw Error(m(528,""));return b}if(a&&o!==null)throw Error(m(529,""));return null;case"script":return a=u.async,u=u.src,typeof u=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=jc(u),u=Jo(d).hoistableScripts,o=u.get(a),o||(o={type:"script",instance:null,count:0,state:null},u.set(a,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(m(444,n))}}function ha(n){return'href="'+Pl(n)+'"'}function jo(n){return'link[rel="stylesheet"]['+n+"]"}function ls(n){return x({},n,{"data-precedence":n.precedence,precedence:null})}function Z1(n,a,u,o){n.querySelector('link[rel="preload"][as="style"]['+a+"]")?o.loading=1:(a=n.createElement("link"),o.preload=a,a.addEventListener("load",function(){return o.loading|=1}),a.addEventListener("error",function(){return o.loading|=2}),nl(a,"link",u),vt(a),n.head.appendChild(a))}function jc(n){return'[src="'+Pl(n)+'"]'}function as(n){return"script[async]"+n}function eg(n,a,u){if(a.count++,a.instance===null)switch(a.type){case"style":var o=n.querySelector('style[data-href~="'+Pl(u.href)+'"]');if(o)return a.instance=o,vt(o),o;var d=x({},u,{"data-href":u.href,"data-precedence":u.precedence,href:null,precedence:null});return o=(n.ownerDocument||n).createElement("style"),vt(o),nl(o,"style",d),If(o,u.precedence,n),a.instance=o;case"stylesheet":d=ha(u.href);var p=n.querySelector(jo(d));if(p)return a.state.loading|=4,a.instance=p,vt(p),p;o=ls(u),(d=Ql.get(d))&&o0(o,d),p=(n.ownerDocument||n).createElement("link"),vt(p);var b=p;return b._p=new Promise(function(A,M){b.onload=A,b.onerror=M}),nl(p,"link",o),a.state.loading|=4,If(p,u.precedence,n),a.instance=p;case"script":return p=jc(u.src),(d=n.querySelector(as(p)))?(a.instance=d,vt(d),d):(o=u,(d=Ql.get(p))&&(o=x({},u),c0(o,d)),n=n.ownerDocument||n,d=n.createElement("script"),vt(d),nl(d,"link",o),n.head.appendChild(d),a.instance=d);case"void":return null;default:throw Error(m(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(o=a.instance,a.state.loading|=4,If(o,u.precedence,n));return a.instance}function If(n,a,u){for(var o=u.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),d=o.length?o[o.length-1]:null,p=d,b=0;b<o.length;b++){var A=o[b];if(A.dataset.precedence===a)p=A;else if(p!==d)break}p?p.parentNode.insertBefore(n,p.nextSibling):(a=u.nodeType===9?u.head:u,a.insertBefore(n,a.firstChild))}function o0(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.title==null&&(n.title=a.title)}function c0(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.integrity==null&&(n.integrity=a.integrity)}var us=null;function tg(n,a,u){if(us===null){var o=new Map,d=us=new Map;d.set(u,o)}else d=us,o=d.get(u),o||(o=new Map,d.set(u,o));if(o.has(n))return o;for(o.set(n,null),u=u.getElementsByTagName(n),d=0;d<u.length;d++){var p=u[d];if(!(p[xu]||p[xt]||n==="link"&&p.getAttribute("rel")==="stylesheet")&&p.namespaceURI!=="http://www.w3.org/2000/svg"){var b=p.getAttribute(a)||"";b=n+b;var A=o.get(b);A?A.push(p):o.set(b,[p])}}return o}function r0(n,a,u){n=n.ownerDocument||n,n.head.insertBefore(u,a==="title"?n.querySelector("head > title"):null)}function ng(n,a,u){if(u===1||a.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;return a.rel==="stylesheet"?(n=a.disabled,typeof a.precedence=="string"&&n==null):!0;case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function $l(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function Pu(n,a,u,o){if(u.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(u.state.loading&4)===0){if(u.instance===null){var d=ha(o.href),p=a.querySelector(jo(d));if(p){a=p._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(n.count++,n=s0.bind(n),a.then(n,n)),u.state.loading|=4,u.instance=p,vt(p);return}p=a.ownerDocument||a,o=ls(o),(d=Ql.get(d))&&o0(o,d),p=p.createElement("link"),vt(p);var b=p;b._p=new Promise(function(A,M){b.onload=A,b.onerror=M}),nl(p,"link",o),u.instance=p}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(u,a),(a=u.state.preload)&&(u.state.loading&3)===0&&(n.count++,u=s0.bind(n),a.addEventListener("load",u),a.addEventListener("error",u))}}var ma=0;function lg(n,a){return n.stylesheets&&n.count===0&&d0(n,n.stylesheets),0<n.count||0<n.imgCount?function(u){var o=setTimeout(function(){if(n.stylesheets&&d0(n,n.stylesheets),n.unsuspend){var p=n.unsuspend;n.unsuspend=null,p()}},6e4+a);0<n.imgBytes&&ma===0&&(ma=62500*Jp());var d=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&d0(n,n.stylesheets),n.unsuspend)){var p=n.unsuspend;n.unsuspend=null,p()}},(n.imgBytes>ma?50:800)+a);return n.unsuspend=u,function(){n.unsuspend=null,clearTimeout(o),clearTimeout(d)}}:null}function s0(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)d0(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var f0=null;function d0(n,a){n.stylesheets=null,n.unsuspend!==null&&(n.count++,f0=new Map,a.forEach(Qn,n),f0=null,s0.call(n))}function Qn(n,a){if(!(a.state.loading&4)){var u=f0.get(n);if(u)var o=u.get(null);else{u=new Map,f0.set(n,u);for(var d=n.querySelectorAll("link[data-precedence],style[data-precedence]"),p=0;p<d.length;p++){var b=d[p];(b.nodeName==="LINK"||b.getAttribute("media")!=="not all")&&(u.set(b.dataset.precedence,b),o=b)}o&&u.set(null,o)}d=a.instance,b=d.getAttribute("data-precedence"),p=u.get(b)||o,p===o&&u.set(null,d),u.set(b,d),this.count++,o=s0.bind(this),d.addEventListener("load",o),d.addEventListener("error",o),p?p.parentNode.insertBefore(d,p.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(d,n.firstChild)),a.state.loading|=4}}var Pf={$$typeof:ut,Provider:null,Consumer:null,_currentValue:ae,_currentValue2:ae,_threadCount:0};function ag(n,a,u,o,d,p,b,A,M){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=_u(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_u(0),this.hiddenUpdates=_u(null),this.identifierPrefix=o,this.onUncaughtError=d,this.onCaughtError=p,this.onRecoverableError=b,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=M,this.incompleteTransitions=new Map}function h0(n,a,u,o,d,p,b,A,M,k,W,ee){return n=new ag(n,a,u,b,M,k,W,ee,A),a=1,p===!0&&(a|=24),p=rn(3,null,null,a),n.current=p,p.stateNode=n,a=of(),a.refCount++,n.pooledCache=a,a.refCount++,p.memoizedState={element:o,isDehydrated:u,cache:a},mf(p),n}function Hc(n){return n?(n=zl,n):zl}function q1(n,a,u,o,d,p){d=Hc(d),o.context===null?o.context=d:o.pendingContext=d,o=Ui(a),o.payload={element:u},p=p===void 0?null:p,p!==null&&(o.callback=p),u=ia(n,o,a),u!==null&&(Cl(u,n,a),vo(u,n,a))}function m0(n,a){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var u=n.retryLane;n.retryLane=u!==0&&u<a?u:a}}function ug(n,a){m0(n,a),(n=n.alternate)&&m0(n,a)}function Y1(n){if(n.tag===13||n.tag===31){var a=xi(n,67108864);a!==null&&Cl(a,n,67108864),ug(n,67108864)}}function Nc(n){if(n.tag===13||n.tag===31){var a=Xl();a=Xo(a);var u=xi(n,a);u!==null&&Cl(u,n,a),ug(n,a)}}var jn=!0;function ei(n,a,u,o){var d=U.T;U.T=null;var p=J.p;try{J.p=2,ll(n,a,u,o)}finally{J.p=p,U.T=d}}function ti(n,a,u,o){var d=U.T;U.T=null;var p=J.p;try{J.p=8,ll(n,a,u,o)}finally{J.p=p,U.T=d}}function ll(n,a,u,o){if(jn){var d=ig(o);if(d===null)Gp(n,a,o,p0,u),Vi(n,o);else if(Ob(d,n,a,u,o))o.stopPropagation();else if(Vi(n,o),a&4&&-1<jl.indexOf(n)){for(;d!==null;){var p=$o(d);if(p!==null)switch(p.tag){case 3:if(p=p.stateNode,p.current.memoizedState.isDehydrated){var b=vl(p.pendingLanes);if(b!==0){var A=p;for(A.pendingLanes|=2,A.entangledLanes|=2;b;){var M=1<<31-Zn(b);A.entanglements[1]|=M,b&=~M}Iu(p),(ft&6)===0&&(pt=wn()+500,Gi(0))}}break;case 31:case 13:A=xi(p,2),A!==null&&Cl(A,p,2),Xr(),ug(p,2)}if(p=ig(o),p===null&&Gp(n,a,o,p0,u),p===d)break;d=p}d!==null&&o.stopPropagation()}else Gp(n,a,o,null,u)}}function ig(n){return n=Yd(n),is(n)}var p0=null;function is(n){if(p0=null,n=Qo(n),n!==null){var a=S(n);if(a===null)n=null;else{var u=a.tag;if(u===13){if(n=z(a),n!==null)return n;n=null}else if(u===31){if(n=_(a),n!==null)return n;n=null}else if(u===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;n=null}else a!==n&&(n=null)}}return p0=n,null}function ed(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(um()){case bi:return 2;case nr:return 8;case Ga:case Zs:return 32;case Eu:return 268435456;default:return 32}default:return 32}}var os=!1,Hn=null,al=null,ml=null,Ho=new Map,Ba=new Map,Kt=[],jl="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 Vi(n,a){switch(n){case"focusin":case"focusout":Hn=null;break;case"dragenter":case"dragleave":al=null;break;case"mouseover":case"mouseout":ml=null;break;case"pointerover":case"pointerout":Ho.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ba.delete(a.pointerId)}}function Bc(n,a,u,o,d,p){return n===null||n.nativeEvent!==p?(n={blockedOn:a,domEventName:u,eventSystemFlags:o,nativeEvent:p,targetContainers:[d]},a!==null&&(a=$o(a),a!==null&&Y1(a)),n):(n.eventSystemFlags|=o,a=n.targetContainers,d!==null&&a.indexOf(d)===-1&&a.push(d),n)}function Ob(n,a,u,o,d){switch(a){case"focusin":return Hn=Bc(Hn,n,a,u,o,d),!0;case"dragenter":return al=Bc(al,n,a,u,o,d),!0;case"mouseover":return ml=Bc(ml,n,a,u,o,d),!0;case"pointerover":var p=d.pointerId;return Ho.set(p,Bc(Ho.get(p)||null,n,a,u,o,d)),!0;case"gotpointercapture":return p=d.pointerId,Ba.set(p,Bc(Ba.get(p)||null,n,a,u,o,d)),!0}return!1}function k1(n){var a=Qo(n.target);if(a!==null){var u=S(a);if(u!==null){if(a=u.tag,a===13){if(a=z(u),a!==null){n.blockedOn=a,im(n.priority,function(){Nc(u)});return}}else if(a===31){if(a=_(u),a!==null){n.blockedOn=a,im(n.priority,function(){Nc(u)});return}}else if(a===3&&u.stateNode.current.memoizedState.isDehydrated){n.blockedOn=u.tag===3?u.stateNode.containerInfo:null;return}}}n.blockedOn=null}function td(n){if(n.blockedOn!==null)return!1;for(var a=n.targetContainers;0<a.length;){var u=ig(n.nativeEvent);if(u===null){u=n.nativeEvent;var o=new u.constructor(u.type,u);qd=o,u.target.dispatchEvent(o),qd=null}else return a=$o(u),a!==null&&Y1(a),n.blockedOn=u,!1;a.shift()}return!0}function cs(n,a,u){td(n)&&u.delete(a)}function G1(){os=!1,Hn!==null&&td(Hn)&&(Hn=null),al!==null&&td(al)&&(al=null),ml!==null&&td(ml)&&(ml=null),Ho.forEach(cs),Ba.forEach(cs)}function ni(n,a){n.blockedOn===a&&(n.blockedOn=null,os||(os=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,G1)))}var rs=null;function L1(n){rs!==n&&(rs=n,r.unstable_scheduleCallback(r.unstable_NormalPriority,function(){rs===n&&(rs=null);for(var a=0;a<n.length;a+=3){var u=n[a],o=n[a+1],d=n[a+2];if(typeof o!="function"){if(is(o||u)===null)continue;break}var p=$o(u);p!==null&&(n.splice(a,3),a-=3,Cr(p,{pending:!0,data:d,method:u.method,action:o},o,d))}}))}function ss(n){function a(M){return ni(M,n)}Hn!==null&&ni(Hn,n),al!==null&&ni(al,n),ml!==null&&ni(ml,n),Ho.forEach(a),Ba.forEach(a);for(var u=0;u<Kt.length;u++){var o=Kt[u];o.blockedOn===n&&(o.blockedOn=null)}for(;0<Kt.length&&(u=Kt[0],u.blockedOn===null);)k1(u),u.blockedOn===null&&Kt.shift();if(u=(n.ownerDocument||n).$$reactFormReplay,u!=null)for(o=0;o<u.length;o+=3){var d=u[o],p=u[o+1],b=d[bl]||null;if(typeof p=="function")b||L1(u);else if(b){var A=null;if(p&&p.hasAttribute("formAction")){if(d=p,b=p[bl]||null)A=b.formAction;else if(is(d)!==null)continue}else A=b.action;typeof A=="function"?u[o+1]=A:(u.splice(o,3),o-=3),L1(u)}}}function og(){function n(p){p.canIntercept&&p.info==="react-transition"&&p.intercept({handler:function(){return new Promise(function(b){return d=b})},focusReset:"manual",scroll:"manual"})}function a(){d!==null&&(d(),d=null),o||setTimeout(u,20)}function u(){if(!o&&!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 o=!1,d=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",a),navigation.addEventListener("navigateerror",a),setTimeout(u,100),function(){o=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",a),navigation.removeEventListener("navigateerror",a),d!==null&&(d(),d=null)}}}function g0(n){this._internalRoot=n}y0.prototype.render=g0.prototype.render=function(n){var a=this._internalRoot;if(a===null)throw Error(m(409));var u=a.current,o=Xl();q1(u,o,n,a,null,null)},y0.prototype.unmount=g0.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var a=n.containerInfo;q1(n.current,2,null,n,null,null),Xr(),a[eo]=null}};function y0(n){this._internalRoot=n}y0.prototype.unstable_scheduleHydration=function(n){if(n){var a=Ys();n={blockedOn:null,target:n,priority:a};for(var u=0;u<Kt.length&&a!==0&&a<Kt[u].priority;u++);Kt.splice(u,0,n),u===0&&k1(n)}};var cg=f.version;if(cg!=="19.2.6")throw Error(m(527,cg,"19.2.6"));J.findDOMNode=function(n){var a=n._reactInternals;if(a===void 0)throw typeof n.render=="function"?Error(m(188)):(n=Object.keys(n).join(","),Error(m(268,n)));return n=R(a),n=n!==null?V(n):null,n=n===null?null:n.stateNode,n};var V1={bundleType:0,version:"19.2.6",rendererPackageName:"react-dom",currentDispatcherRef:U,reconcilerVersion:"19.2.6"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var nd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!nd.isDisabled&&nd.supportsFiber)try{Ti=nd.inject(V1),rl=nd}catch{}}return F0.createRoot=function(n,a){if(!v(n))throw Error(m(299));var u=!1,o="",d=Dh,p=rp,b=Oh;return a!=null&&(a.unstable_strictMode===!0&&(u=!0),a.identifierPrefix!==void 0&&(o=a.identifierPrefix),a.onUncaughtError!==void 0&&(d=a.onUncaughtError),a.onCaughtError!==void 0&&(p=a.onCaughtError),a.onRecoverableError!==void 0&&(b=a.onRecoverableError)),a=h0(n,1,!1,null,null,u,o,null,d,p,b,og),n[eo]=a.current,Fr(n),new g0(a)},F0.hydrateRoot=function(n,a,u){if(!v(n))throw Error(m(299));var o=!1,d="",p=Dh,b=rp,A=Oh,M=null;return u!=null&&(u.unstable_strictMode===!0&&(o=!0),u.identifierPrefix!==void 0&&(d=u.identifierPrefix),u.onUncaughtError!==void 0&&(p=u.onUncaughtError),u.onCaughtError!==void 0&&(b=u.onCaughtError),u.onRecoverableError!==void 0&&(A=u.onRecoverableError),u.formState!==void 0&&(M=u.formState)),a=h0(n,1,!0,a,u??null,o,d,M,p,b,A,og),a.context=Hc(null),u=a.current,o=Xl(),o=Xo(o),d=Ui(o),d.callback=null,ia(u,d,o),u=o,a.current.lanes=u,Xt(a,u),Iu(a),n[eo]=a.current,Fr(n),new y0(a)},F0.version="19.2.6",F0}var I0={};var W2;function T4(){return W2||(W2=1,process.env.NODE_ENV!=="production"&&(function(){function r(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function f(e,t,l,i){if(l>=t.length)return i;var c=t[l],s=Dn(e)?e.slice():Xe({},e);return s[c]=f(e[c],t,l+1,i),s}function h(e,t,l){if(t.length!==l.length)console.warn("copyWithRename() expects paths of the same length");else{for(var i=0;i<l.length-1;i++)if(t[i]!==l[i]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return m(e,t,l,0)}}function m(e,t,l,i){var c=t[i],s=Dn(e)?e.slice():Xe({},e);return i+1===t.length?(s[l[i]]=s[c],Dn(s)?s.splice(c,1):delete s[c]):s[c]=m(e[c],t,l,i+1),s}function v(e,t,l){var i=t[l],c=Dn(e)?e.slice():Xe({},e);return l+1===t.length?(Dn(c)?c.splice(i,1):delete c[i],c):(c[i]=v(e[i],t,l+1),c)}function S(){return!1}function z(){return null}function _(){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 C(){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 R(){}function V(){}function x(e){var t=[];return e.forEach(function(l){t.push(l)}),t.sort().join(", ")}function I(e,t,l,i){return new Tb(e,t,l,i)}function le(e,t){e.context===ms&&(t0(e.current,2,t,e,null,null),fa())}function ie(e,t){if(ui!==null){var l=t.staleFamilies;t=t.updatedFamilies,Uf(),Hy(e.current,t,l),fa()}}function Ye(e){ui=e}function De(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function me(e){var t=e,l=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(l=t.return),e=t.return;while(e)}return t.tag===3?l:null}function un(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function ut(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function _t(e){if(me(e)!==e)throw Error("Unable to find node on an unmounted component.")}function pn(e){var t=e.alternate;if(!t){if(t=me(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var l=e,i=t;;){var c=l.return;if(c===null)break;var s=c.alternate;if(s===null){if(i=c.return,i!==null){l=i;continue}break}if(c.child===s.child){for(s=c.child;s;){if(s===l)return _t(c),e;if(s===i)return _t(c),t;s=s.sibling}throw Error("Unable to find node on an unmounted component.")}if(l.return!==i.return)l=c,i=s;else{for(var g=!1,y=c.child;y;){if(y===l){g=!0,l=c,i=s;break}if(y===i){g=!0,i=c,l=s;break}y=y.sibling}if(!g){for(y=s.child;y;){if(y===l){g=!0,l=s,i=c;break}if(y===i){g=!0,i=s,l=c;break}y=y.sibling}if(!g)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(l.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(l.tag!==3)throw Error("Unable to find node on an unmounted component.");return l.stateNode.current===l?e:t}function rt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=rt(e),t!==null)return t;e=e.sibling}return null}function Ct(e){return e===null||typeof e!="object"?null:(e=B1&&e[B1]||e["@@iterator"],typeof e=="function"?e:null)}function Ne(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ts?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Pr:return"Fragment";case Wf:return"Profiler";case Ul:return"StrictMode";case Uc:return"Suspense";case Ql:return"SuspenseList";case mu:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case Co:return"Portal";case hu:return e.displayName||"Context";case i0:return(e._context.displayName||"Context")+".Consumer";case es:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ff:return t=e.displayName||null,t!==null?t:Ne(e.type)||"Memo";case hl:t=e._payload,e=e._init;try{return Ne(e(t))}catch{}}return null}function on(e){return typeof e.tag=="number"?ge(e):typeof e.name=="string"?e.name:null}function ge(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return t.displayName||"Context";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ne(t);case 8:return t===Ul?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var l=t.length-1;0<=l;l--)if(typeof t[l].name=="string")return t[l].name}if(e.return!==null)return ge(e.return)}return null}function Zt(e){return{current:e}}function Ze(e,t){0>Li?console.error("Unexpected pop."):(t!==Pp[Li]&&console.error("Unexpected Fiber popped."),e.current=Ip[Li],Ip[Li]=null,Pp[Li]=null,Li--)}function xe(e,t,l){Li++,Ip[Li]=e.current,Pp[Li]=l,e.current=t}function gn(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function Vt(e,t){xe(ha,t,e),xe(ns,e,e),xe(Uo,null,e);var l=t.nodeType;switch(l){case 9:case 11:l=l===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?s1(t):Fc;break;default:if(l=t.tagName,t=t.namespaceURI)t=s1(t),t=Yi(t,l);else switch(l){case"svg":t=$0;break;case"math":t=Hv;break;default:t=Fc}}l=l.toLowerCase(),l=sm(null,l),l={context:t,ancestorInfo:l},Ze(Uo,e),xe(Uo,l,e)}function U(e){Ze(Uo,e),Ze(ns,e),Ze(ha,e)}function J(){return gn(Uo.current)}function ae(e){e.memoizedState!==null&&xe(jo,e,e);var t=gn(Uo.current),l=e.type,i=Yi(t.context,l);l=sm(t.ancestorInfo,l),i={context:i,ancestorInfo:l},t!==i&&(xe(ns,e,e),xe(Uo,i,e))}function be(e){ns.current===e&&(Ze(Uo,e),Ze(ns,e)),jo.current===e&&(Ze(jo,e),Fg._currentValue=Ad)}function Se(){}function K(){if(ls===0){Z1=console.log,jc=console.info,as=console.warn,eg=console.error,If=console.group,o0=console.groupCollapsed,c0=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Se,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}ls++}function de(){if(ls--,ls===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Xe({},e,{value:Z1}),info:Xe({},e,{value:jc}),warn:Xe({},e,{value:as}),error:Xe({},e,{value:eg}),group:Xe({},e,{value:If}),groupCollapsed:Xe({},e,{value:o0}),groupEnd:Xe({},e,{value:c0})})}0>ls&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function oe(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
|
|
15
|
+
`)&&(e=e.slice(29)),t=e.indexOf(`
|
|
16
|
+
`),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react_stack_bottom_frame"),t!==-1&&(t=e.lastIndexOf(`
|
|
17
|
+
`,t)),t!==-1)e=e.slice(0,t);else return"";return e}function re(e){if(us===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);us=t&&t[1]||"",tg=-1<l.stack.indexOf(`
|
|
18
|
+
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
19
|
+
`+us+e+tg}function He(e,t){if(!e||r0)return"";var l=ng.get(e);if(l!==void 0)return l;r0=!0,l=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var i=null;i=Q.H,Q.H=null,K();try{var c={DetermineComponentFrameRoot:function(){try{if(t){var O=function(){throw Error()};if(Object.defineProperty(O.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(O,[])}catch(ce){var L=ce}Reflect.construct(e,[],O)}else{try{O.call()}catch(ce){L=ce}e.call(O.prototype)}}else{try{throw Error()}catch(ce){L=ce}(O=e())&&typeof O.catch=="function"&&O.catch(function(){})}}catch(ce){if(ce&&L&&typeof ce.stack=="string")return[ce.stack,L.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 g=c.DetermineComponentFrameRoot(),y=g[0],T=g[1];if(y&&T){var E=y.split(`
|
|
20
|
+
`),H=T.split(`
|
|
21
|
+
`);for(g=s=0;s<E.length&&!E[s].includes("DetermineComponentFrameRoot");)s++;for(;g<H.length&&!H[g].includes("DetermineComponentFrameRoot");)g++;if(s===E.length||g===H.length)for(s=E.length-1,g=H.length-1;1<=s&&0<=g&&E[s]!==H[g];)g--;for(;1<=s&&0<=g;s--,g--)if(E[s]!==H[g]){if(s!==1||g!==1)do if(s--,g--,0>g||E[s]!==H[g]){var B=`
|
|
22
|
+
`+E[s].replace(" at new "," at ");return e.displayName&&B.includes("<anonymous>")&&(B=B.replace("<anonymous>",e.displayName)),typeof e=="function"&&ng.set(e,B),B}while(1<=s&&0<=g);break}}}finally{r0=!1,Q.H=i,de(),Error.prepareStackTrace=l}return E=(E=e?e.displayName||e.name:"")?re(E):"",typeof e=="function"&&ng.set(e,E),E}function qt(e,t){switch(e.tag){case 26:case 27:case 5:return re(e.type);case 16:return re("Lazy");case 13:return e.child!==t&&t!==null?re("Suspense Fallback"):re("Suspense");case 19:return re("SuspenseList");case 0:case 15:return He(e.type,!1);case 11:return He(e.type.render,!1);case 1:return He(e.type,!0);case 31:return re("Activity");default:return""}}function st(e){try{var t="",l=null;do{t+=qt(e,l);var i=e._debugInfo;if(i)for(var c=i.length-1;0<=c;c--){var s=i[c];if(typeof s.name=="string"){var g=t;e:{var y=s.name,T=s.env,E=s.debugLocation;if(E!=null){var H=oe(E),B=H.lastIndexOf(`
|
|
23
|
+
`),O=B===-1?H:H.slice(B+1);if(O.indexOf(y)!==-1){var L=`
|
|
24
|
+
`+O;break e}}L=re(y+(T?" ["+T+"]":""))}t=g+L}}l=e,e=e.return}while(e);return t}catch(ce){return`
|
|
25
|
+
Error generating stack: `+ce.message+`
|
|
26
|
+
`+ce.stack}}function Ie(e){return(e=e?e.displayName||e.name:"")?re(e):""}function An(){if($l===null)return null;var e=$l._debugOwner;return e!=null?on(e):null}function zu(){if($l===null)return"";var e=$l;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=re(e.type);break;case 13:t+=re("Suspense");break;case 19:t+=re("SuspenseList");break;case 31:t+=re("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=Ie(e.type));break;case 11:e._debugOwner||t!==""||(t+=Ie(e.type.render))}for(;e;)if(typeof e.tag=="number"){var l=e;e=l._debugOwner;var i=l._debugStack;if(e&&i){var c=oe(i);c!==""&&(t+=`
|
|
27
|
+
`+c)}}else if(e.debugStack!=null){var s=e.debugStack;(e=e.owner)&&s&&(t+=`
|
|
28
|
+
`+oe(s))}else break;var g=t}catch(y){g=`
|
|
29
|
+
Error generating stack: `+y.message+`
|
|
30
|
+
`+y.stack}return g}function fe(e,t,l,i,c,s,g){var y=$l;za(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,l,i,c,s,g)):t(l,i,c,s,g)}finally{za(y)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function za(e){Q.getCurrentStack=e===null?null:zu,Pu=!1,$l=e}function Lo(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function ql(e){try{return yi(e),!1}catch{return!0}}function yi(e){return""+e}function ht(e,t){if(ql(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,Lo(e)),yi(e)}function vi(e,t){if(ql(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,Lo(e)),yi(e)}function Vo(e){if(ql(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",Lo(e)),yi(e)}function Wl(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{Nc=t.inject(e),jn=t}catch(l){console.error("React instrumentation encountered an error: %o.",l)}return!!t.checkDCE}function At(e){if(typeof ug=="function"&&Y1(e),jn&&typeof jn.setStrictMode=="function")try{jn.setStrictMode(Nc,e)}catch(t){ei||(ei=!0,console.error("React instrumentation encountered an error: %o",t))}}function Bs(e){return e>>>=0,e===0?32:31-(ig(e)/p0|0)|0}function yn(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function ka(e,t,l){var i=e.pendingLanes;if(i===0)return 0;var c=0,s=e.suspendedLanes,g=e.pingedLanes;e=e.warmLanes;var y=i&134217727;return y!==0?(i=y&~s,i!==0?c=yn(i):(g&=y,g!==0?c=yn(g):l||(l=y&~e,l!==0&&(c=yn(l))))):(y=i&~s,y!==0?c=yn(y):g!==0?c=yn(g):l||(l=i&~e,l!==0&&(c=yn(l)))),c===0?0:t!==0&&t!==c&&(t&s)===0&&(s=c&-c,l=t&-t,s>=l||s===32&&(l&4194048)!==0)?t:c}function wn(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function um(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function bi(){var e=os;return os<<=1,(os&62914560)===0&&(os=4194304),e}function nr(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function Ga(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Zs(e,t,l,i,c,s){var g=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var y=e.entanglements,T=e.expirationTimes,E=e.hiddenUpdates;for(l=g&~l;0<l;){var H=31-ll(l),B=1<<H;y[H]=0,T[H]=-1;var O=E[H];if(O!==null)for(E[H]=null,H=0;H<O.length;H++){var L=O[H];L!==null&&(L.lane&=-536870913)}l&=~B}i!==0&&Eu(e,i,0),s!==0&&c===0&&e.tag!==0&&(e.suspendedLanes|=s&~(g&~t))}function Eu(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-ll(t);e.entangledLanes|=t,e.entanglements[i]=e.entanglements[i]|1073741824|l&261930}function qs(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var i=31-ll(l),c=1<<i;c&t|e[i]&t&&(e[i]|=t),l&=~c}}function Si(e,t){var l=t&-t;return l=(l&42)!==0?1:Ti(l),(l&(e.suspendedLanes|t))!==0?0:l}function Ti(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function rl(e,t,l){if(ti)for(e=e.pendingUpdatersLaneMap;0<l;){var i=31-ll(l),c=1<<i;e[i].add(t),l&=~c}}function Ea(e,t){if(ti)for(var l=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;0<t;){var c=31-ll(t);e=1<<c,c=l[c],0<c.size&&(c.forEach(function(s){var g=s.alternate;g!==null&&i.has(g)||i.add(s)}),c.clear()),t&=~e}}function Zn(e){return e&=-e,Hn<e?al<e?(e&134217727)!==0?ml:Ho:al:Hn}function Md(){var e=gt.p;return e!==0?e:(e=window.event,e===void 0?ml:l0(e.type))}function lr(e,t){var l=gt.p;try{return gt.p=e,t()}finally{gt.p=l}}function _a(e){delete e[Kt],delete e[jl],delete e[Bc],delete e[Ob],delete e[k1]}function La(e){var t=e[Kt];if(t)return t;for(var l=e.parentNode;l;){if(t=l[Vi]||l[Kt]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=Oc(e);e!==null;){if(l=e[Kt])return l;e=Oc(e)}return t}e=l,l=e.parentNode}return null}function Fl(e){if(e=e[Kt]||e[Vi]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Va(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function vl(e){var t=e[td];return t||(t=e[td]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ye(e){e[cs]=!0}function yt(e,t){Pt(e,t),Pt(e+"Capture",t)}function Pt(e,t){ni[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),ni[e]=t;var l=e.toLowerCase();for(rs[l]=e,e==="onDoubleClick"&&(rs.ondblclick=e),e=0;e<t.length;e++)G1.add(t[e])}function vn(e,t){L1[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function _u(e){return ma.call(g0,e)?!0:ma.call(og,e)?!1:ss.test(e)?g0[e]=!0:(og[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function Xt(e,t,l){if(_u(t)){if(!e.hasAttribute(t)){switch(typeof l){case"symbol":case"object":return l;case"function":return l;case"boolean":if(l===!1)return l}return l===void 0?void 0:null}return e=e.getAttribute(t),e===""&&l===!0?!0:(ht(l,t),e===""+l?l:e)}}function el(e,t,l){if(_u(t))if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var i=t.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){e.removeAttribute(t);return}}ht(l,t),e.setAttribute(t,""+l)}}function Au(e,t,l){if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}ht(l,t),e.setAttribute(t,""+l)}}function cn(e,t,l,i){if(i===null)e.removeAttribute(l);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}ht(i,l),e.setAttributeNS(t,l,""+i)}}function Yt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return Vo(e),e;default:return""}}function Xo(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Xa(e,t,l){var i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var c=i.get,s=i.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return c.call(this)},set:function(g){Vo(g),l=""+g,s.call(this,g)}}),Object.defineProperty(e,t,{enumerable:i.enumerable}),{getValue:function(){return l},setValue:function(g){Vo(g),l=""+g},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ys(e){if(!e._valueTracker){var t=Xo(e)?"checked":"value";e._valueTracker=Xa(e,t,""+e[t])}}function im(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),i="";return e&&(i=Xo(e)?e.checked?"true":"false":e.value),e=i,e!==l?(t.setValue(e),!0):!1}function Qa(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function xt(e){return e.replace(y0,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function bl(e,t){t.checked===void 0||t.defaultChecked===void 0||V1||(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",An()||"A component",t.type),V1=!0),t.value===void 0||t.defaultValue===void 0||cg||(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",An()||"A component",t.type),cg=!0)}function eo(e,t,l,i,c,s,g,y){e.name="",g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?(ht(g,"type"),e.type=g):e.removeAttribute("type"),t!=null?g==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Yt(t)):e.value!==""+Yt(t)&&(e.value=""+Yt(t)):g!=="submit"&&g!=="reset"||e.removeAttribute("value"),t!=null?om(e,g,Yt(t)):l!=null?om(e,g,Yt(l)):i!=null&&e.removeAttribute("value"),c==null&&s!=null&&(e.defaultChecked=!!s),c!=null&&(e.checked=c&&typeof c!="function"&&typeof c!="symbol"),y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?(ht(y,"name"),e.name=""+Yt(y)):e.removeAttribute("name")}function Cd(e,t,l,i,c,s,g,y){if(s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(ht(s,"type"),e.type=s),t!=null||l!=null){if(!(s!=="submit"&&s!=="reset"||t!=null)){Ys(e);return}l=l!=null?""+Yt(l):"",t=t!=null?""+Yt(t):l,y||t===e.value||(e.value=t),e.defaultValue=t}i=i??c,i=typeof i!="function"&&typeof i!="symbol"&&!!i,e.checked=y?e.checked:!!i,e.defaultChecked=!!i,g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(ht(g,"name"),e.name=g),Ys(e)}function om(e,t,l){t==="number"&&Qa(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function Ty(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?Kf.Children.forEach(t.children,function(l){l==null||typeof l=="string"||typeof l=="number"||typeof l=="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>."))}):t.dangerouslySetInnerHTML==null||a||(a=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||nd||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),nd=!0)}function cm(){var e=An();return e?`
|
|
31
|
+
|
|
32
|
+
Check the render method of \``+e+"`.":""}function xu(e,t,l,i){if(e=e.options,t){t={};for(var c=0;c<l.length;c++)t["$"+l[c]]=!0;for(l=0;l<e.length;l++)c=t.hasOwnProperty("$"+e[l].value),e[l].selected!==c&&(e[l].selected=c),c&&i&&(e[l].defaultSelected=!0)}else{for(l=""+Yt(l),t=null,c=0;c<e.length;c++){if(e[c].value===l){e[c].selected=!0,i&&(e[c].defaultSelected=!0);return}t!==null||e[c].disabled||(t=e[c])}t!==null&&(t.selected=!0)}}function Ud(e,t){for(e=0;e<o.length;e++){var l=o[e];if(t[l]!=null){var i=Dn(t[l]);t.multiple&&!i?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",l,cm()):!t.multiple&&i&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",l,cm())}}t.value===void 0||t.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 Qo(e,t){t.value===void 0||t.defaultValue===void 0||d||(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",An()||"A component"),d=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function $o(e,t,l){if(t!=null&&(t=""+Yt(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+Yt(l):""}function ar(e,t,l,i){if(t==null){if(i!=null){if(l!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Dn(i)){if(1<i.length)throw Error("<textarea> can only have at most one child.");i=i[0]}l=i}l==null&&(l=""),t=l}l=Yt(t),e.defaultValue=l,i=e.textContent,i===l&&i!==""&&i!==null&&(e.value=i),Ys(e)}function Jo(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?Jo(e.children[0],t):e}function vt(e){return" "+" ".repeat(e)}function Ko(e){return"+ "+" ".repeat(e)}function to(e){return"- "+" ".repeat(e)}function no(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function Ru(e,t){return p.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}"):e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function jd(e,t,l){var i=120-2*l;if(t===null)return Ko(l)+Ru(e,i)+`
|
|
33
|
+
`;if(typeof t=="string"){for(var c=0;c<t.length&&c<e.length&&t.charCodeAt(c)===e.charCodeAt(c);c++);return c>i-8&&10<c&&(e="..."+e.slice(c-8),t="..."+t.slice(c-8)),Ko(l)+Ru(e,i)+`
|
|
34
|
+
`+to(l)+Ru(t,i)+`
|
|
35
|
+
`}return vt(l)+Ru(e,i)+`
|
|
36
|
+
`}function Hd(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,l){return l})}function ur(e,t){switch(typeof e){case"string":return e=JSON.stringify(e),e.length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(e===null)return"null";if(Dn(e))return"[...]";if(e.$$typeof===Na)return(t=Ne(e.type))?"<"+t+">":"<...>";var l=Hd(e);if(l==="Object"){l="",t-=2;for(var i in e)if(e.hasOwnProperty(i)){var c=JSON.stringify(i);if(c!=='"'+i+'"'&&(i=c),t-=i.length-2,c=ur(e[i],15>t?t:15),t-=c.length,0>t){l+=l===""?"...":", ...";break}l+=(l===""?"":",")+i+":"+c}return"{"+l+"}"}return l;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function ir(e,t){return typeof e!="string"||p.test(e)?"{"+ur(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function or(e,t,l){var i=120-l.length-e.length,c=[],s;for(s in t)if(t.hasOwnProperty(s)&&s!=="children"){var g=ir(t[s],120-l.length-s.length-1);i-=s.length+g.length+2,c.push(s+"="+g)}return c.length===0?l+"<"+e+`>
|
|
37
|
+
`:0<i?l+"<"+e+" "+c.join(" ")+`>
|
|
38
|
+
`:l+"<"+e+`
|
|
39
|
+
`+l+" "+c.join(`
|
|
40
|
+
`+l+" ")+`
|
|
41
|
+
`+l+`>
|
|
42
|
+
`}function Nd(e,t,l){var i="",c=Xe({},t),s;for(s in e)if(e.hasOwnProperty(s)){delete c[s];var g=120-2*l-s.length-2,y=ur(e[s],g);t.hasOwnProperty(s)?(g=ur(t[s],g),i+=Ko(l)+s+": "+y+`
|
|
43
|
+
`,i+=to(l)+s+": "+g+`
|
|
44
|
+
`):i+=Ko(l)+s+": "+y+`
|
|
45
|
+
`}for(var T in c)c.hasOwnProperty(T)&&(e=ur(c[T],120-2*l-T.length-2),i+=to(l)+T+": "+e+`
|
|
46
|
+
`);return i}function zi(e,t,l,i){var c="",s=new Map;for(E in l)l.hasOwnProperty(E)&&s.set(E.toLowerCase(),E);if(s.size===1&&s.has("children"))c+=or(e,t,vt(i));else{for(var g in t)if(t.hasOwnProperty(g)&&g!=="children"){var y=120-2*(i+1)-g.length-1,T=s.get(g.toLowerCase());if(T!==void 0){s.delete(g.toLowerCase());var E=t[g];T=l[T];var H=ir(E,y);y=ir(T,y),typeof E=="object"&&E!==null&&typeof T=="object"&&T!==null&&Hd(E)==="Object"&&Hd(T)==="Object"&&(2<Object.keys(E).length||2<Object.keys(T).length||-1<H.indexOf("...")||-1<y.indexOf("..."))?c+=vt(i+1)+g+`={{
|
|
47
|
+
`+Nd(E,T,i+2)+vt(i+1)+`}}
|
|
48
|
+
`:(c+=Ko(i+1)+g+"="+H+`
|
|
49
|
+
`,c+=to(i+1)+g+"="+y+`
|
|
50
|
+
`)}else c+=vt(i+1)+g+"="+ir(t[g],y)+`
|
|
51
|
+
`}s.forEach(function(B){if(B!=="children"){var O=120-2*(i+1)-B.length-1;c+=to(i+1)+B+"="+ir(l[B],O)+`
|
|
52
|
+
`}}),c=c===""?vt(i)+"<"+e+`>
|
|
53
|
+
`:vt(i)+"<"+e+`
|
|
54
|
+
`+c+vt(i)+`>
|
|
55
|
+
`}return e=l.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(s="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(s=""+t),c+=jd(s,""+e,i+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(c=e==null?c+jd(""+t,null,i+1):c+jd(""+t,void 0,i+1)),c}function Il(e,t){var l=no(e);if(l===null){for(l="",e=e.child;e;)l+=Il(e,t),e=e.sibling;return l}return vt(t)+"<"+l+`>
|
|
56
|
+
`}function Bd(e,t){var l=Jo(e,t);if(l!==e&&(e.children.length!==1||e.children[0]!==l))return vt(t)+`...
|
|
57
|
+
`+Bd(l,t+1);l="";var i=e.fiber._debugInfo;if(i)for(var c=0;c<i.length;c++){var s=i[c].name;typeof s=="string"&&(l+=vt(t)+"<"+s+`>
|
|
58
|
+
`,t++)}if(i="",c=e.fiber.pendingProps,e.fiber.tag===6)i=jd(c,e.serverProps,t),t++;else if(s=no(e.fiber),s!==null)if(e.serverProps===void 0){i=t;var g=120-2*i-s.length-2,y="";for(E in c)if(c.hasOwnProperty(E)&&E!=="children"){var T=ir(c[E],15);if(g-=E.length+T.length+2,0>g){y+=" ...";break}y+=" "+E+"="+T}i=vt(i)+"<"+s+y+`>
|
|
59
|
+
`,t++}else e.serverProps===null?(i=or(s,c,Ko(t)),t++):typeof e.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(i=zi(s,c,e.serverProps,t),t++);var E="";for(c=e.fiber.child,s=0;c&&s<e.children.length;)g=e.children[s],g.fiber===c?(E+=Bd(g,t),s++):E+=Il(c,t),c=c.sibling;for(c&&0<e.children.length&&(E+=vt(t)+`...
|
|
60
|
+
`),c=e.serverTail,e.serverProps===null&&t--,e=0;e<c.length;e++)s=c[e],E=typeof s=="string"?E+(to(t)+Ru(s,120-2*t)+`
|
|
61
|
+
`):E+or(s.type,s.props,to(t));return l+i+E}function rm(e){try{return`
|
|
62
|
+
|
|
63
|
+
`+Bd(e,0)}catch{return""}}function Zd(e,t,l){for(var i=t,c=null,s=0;i;)i===e&&(s=0),c={fiber:i,children:c!==null?[c]:[],serverProps:i===t?l:i===e?null:void 0,serverTail:[],distanceFromLeaf:s},s++,i=i.return;return c!==null?rm(c).replaceAll(/^[+-]/gm,">"):""}function sm(e,t){var l=Xe({},e||W),i={tag:t};return A.indexOf(t)!==-1&&(l.aTagInScope=null,l.buttonTagInScope=null,l.nobrTagInScope=null),M.indexOf(t)!==-1&&(l.pTagInButtonScope=null),b.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(l.listItemTagAutoclosing=null,l.dlItemTagAutoclosing=null),l.current=i,t==="form"&&(l.formTag=i),t==="a"&&(l.aTagInScope=i),t==="button"&&(l.buttonTagInScope=i),t==="nobr"&&(l.nobrTagInScope=i),t==="p"&&(l.pTagInButtonScope=i),t==="li"&&(l.listItemTagAutoclosing=i),(t==="dd"||t==="dt")&&(l.dlItemTagAutoclosing=i),t==="#document"||t==="html"?l.containerTagInScope=null:l.containerTagInScope||(l.containerTagInScope=i),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?l.implicitRootScope===!0&&(l.implicitRootScope=!1):l.implicitRootScope=!0,l}function ks(e,t,l){switch(t){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="script"||e==="template"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":if(l)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!l)return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return k.indexOf(t)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null;case"head":return l||t===null;case"html":return l&&t==="#document"||t===null;case"body":return l&&(t==="#document"||t==="html")||t===null}return!0}function pb(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}function Pl(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function Gs(e,t){t=t||W;var l=t.current;if(t=(l=ks(e,l&&l.tag,t.implicitRootScope)?null:l)?null:pb(e,t),t=l||t,!t)return!0;var i=t.tag;if(t=String(!!l)+"|"+e+"|"+i,ee[t])return!1;ee[t]=!0;var c=(t=$l)?Pl(t.return,i):null,s=t!==null&&c!==null?Zd(c,t,null):"",g="<"+e+">";return l?(l="",i==="table"&&e==="tr"&&(l+=" 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
|
|
64
|
+
This will cause a hydration error.%s`,g,i,l,s)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
65
|
+
This will cause a hydration error.%s`,g,i,s),t&&(e=t.return,c===null||e===null||c===e&&e._debugOwner===t._debugOwner||fe(c,function(){console.error(`<%s> cannot contain a nested %s.
|
|
66
|
+
See this log for the ancestor stack trace.`,i,g)})),!1}function Ls(e,t,l){if(l||ks("#text",t,!1))return!0;if(l="#text|"+t,ee[l])return!1;ee[l]=!0;var i=(l=$l)?Pl(l,t):null;return l=l!==null&&i!==null?Zd(i,l,l.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
67
|
+
This will cause a hydration error.%s`,t,l):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.
|
|
68
|
+
This will cause a hydration error.%s`,t,l),!1}function Wo(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}function cr(e){return e.replace(Z,function(t,l){return l.toUpperCase()})}function fm(e,t,l){var i=t.indexOf("--")===0;i||(-1<t.indexOf("-")?Y.hasOwnProperty(t)&&Y[t]||(Y[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,cr(t.replace(wt,"ms-")))):Ae.test(t)?Y.hasOwnProperty(t)&&Y[t]||(Y[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!N.test(l)||P.hasOwnProperty(l)&&P[l]||(P[l]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,l.replace(N,""))),typeof l=="number"&&(isNaN(l)?ze||(ze=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(l)||it||(it=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),l==null||typeof l=="boolean"||l===""?i?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":i?e.setProperty(t,l):typeof l!="number"||l===0||ve.has(t)?t==="float"?e.cssFloat=l:(vi(l,t),e[t]=(""+l).trim()):e[t]=l+"px"}function dm(e,t,l){if(t!=null&&typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,l!=null){if(t){var i={};if(l){for(var c in l)if(l.hasOwnProperty(c)&&!t.hasOwnProperty(c))for(var s=G[c]||[c],g=0;g<s.length;g++)i[s[g]]=c}for(var y in t)if(t.hasOwnProperty(y)&&(!l||l[y]!==t[y]))for(c=G[y]||[y],s=0;s<c.length;s++)i[c[s]]=y;y={};for(var T in t)for(c=G[T]||[T],s=0;s<c.length;s++)y[c[s]]=T;T={};for(var E in i)if(c=i[E],(s=y[E])&&c!==s&&(g=c+","+s,!T[g])){T[g]=!0,g=console;var H=t[c];g.error.call(g,"%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.",H==null||typeof H=="boolean"||H===""?"Removing":"Updating",c,s)}}for(var B in l)!l.hasOwnProperty(B)||t!=null&&t.hasOwnProperty(B)||(B.indexOf("--")===0?e.setProperty(B,""):B==="float"?e.cssFloat="":e[B]="");for(var O in t)E=t[O],t.hasOwnProperty(O)&&l[O]!==E&&fm(e,O,E)}else for(i in t)t.hasOwnProperty(i)&&fm(e,i,t[i])}function Du(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function zy(e){return dt.get(e)||e}function Ey(e,t){if(ma.call(v0,t)&&v0[t])return!0;if(u_.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=X1.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),v0[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),v0[t]=!0}if(a_.test(t)){if(e=t.toLowerCase(),e=X1.hasOwnProperty(e)?e:null,e==null)return v0[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),v0[t]=!0)}return!0}function _y(e,t){var l=[],i;for(i in t)Ey(e,i)||l.push(i);t=l.map(function(c){return"`"+c+"`"}).join(", "),l.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<l.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function hm(e,t,l,i){if(ma.call(pa,t)&&pa[t])return!0;var c=t.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."),pa[t]=!0;if(typeof l=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(i!=null){if(e=i.possibleRegistrationNames,i.registrationNameDependencies.hasOwnProperty(t))return!0;if(i=e.hasOwnProperty(c)?e[c]:null,i!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,i),pa[t]=!0;if(u5.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),pa[t]=!0}else if(u5.test(t))return i_.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),pa[t]=!0;if(o_.test(t)||c_.test(t))return!0;if(c==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),pa[t]=!0;if(c==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),pa[t]=!0;if(c==="is"&&l!==null&&l!==void 0&&typeof l!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof l),pa[t]=!0;if(typeof l=="number"&&isNaN(l))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),pa[t]=!0;if(pu.hasOwnProperty(c)){if(c=pu[c],c!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,c),pa[t]=!0}else if(t!==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.",t,c),pa[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof l){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return c=t.toLowerCase().slice(0,5),c==="data-"||c==="aria-"?!0:(l?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()}.',l,t,t,l,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',l,t,t,l,t,t,t),pa[t]=!0)}case"function":case"symbol":return pa[t]=!0,!1;case"string":if(l==="false"||l==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",l,t,l==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,l),pa[t]=!0}}return!0}function gb(e,t,l){var i=[],c;for(c in t)hm(e,c,t[c],l)||i.push(c);t=i.map(function(s){return"`"+s+"`"}).join(", "),i.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<i.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function Vs(e){return r_.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Aa(){}function $a(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function qd(e){var t=Fl(e);if(t&&(e=t.stateNode)){var l=e[jl]||null;e:switch(e=t.stateNode,t.type){case"input":if(eo(e,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),t=l.name,l.type==="radio"&&t!=null){for(l=e;l.parentNode;)l=l.parentNode;for(ht(t,"name"),l=l.querySelectorAll('input[name="'+xt(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var i=l[t];if(i!==e&&i.form===e.form){var c=i[jl]||null;if(!c)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");eo(i,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(t=0;t<l.length;t++)i=l[t],i.form===e.form&&im(i)}break e;case"textarea":$o(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&xu(e,!!l.multiple,t,!1)}}}function Yd(e,t,l){if(wb)return e(t,l);wb=!0;try{var i=e(t);return i}finally{if(wb=!1,(b0!==null||S0!==null)&&(fa(),b0&&(t=b0,e=S0,S0=b0=null,qd(t),e)))for(t=0;t<e.length;t++)qd(e[t])}}function Ou(e,t){var l=e.stateNode;if(l===null)return null;var i=l[jl]||null;if(i===null)return null;l=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof l+"` type.");return l}function Fo(){if(Q1)return Q1;var e,t=Cb,l=t.length,i,c="value"in fs?fs.value:fs.textContent,s=c.length;for(e=0;e<l&&t[e]===c[e];e++);var g=l-e;for(i=1;i<=g&&t[l-i]===c[s-i];i++);return Q1=c.slice(e,1<i?1-i:void 0)}function Xs(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function rr(){return!0}function mm(){return!1}function qn(e){function t(l,i,c,s,g){this._reactName=l,this._targetInst=c,this.type=i,this.nativeEvent=s,this.target=g,this.currentTarget=null;for(var y in e)e.hasOwnProperty(y)&&(l=e[y],this[y]=l?l(s):s[y]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?rr:mm,this.isPropagationStopped=mm,this}return Xe(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=rr)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=rr)},persist:function(){},isPersistent:rr}),t}function Ei(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=z_[e])?!!t[e]:!1}function Qs(){return Ei}function sr(e,t){switch(e){case"keyup":return j_.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==r5;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _i(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function pm(e,t){switch(e){case"compositionend":return _i(t);case"keypress":return t.which!==f5?null:(h5=!0,d5);case"textInput":return e=t.data,e===d5&&h5?null:e;default:return null}}function kd(e,t){if(T0)return e==="compositionend"||!Nb&&sr(e,t)?(e=Fo(),Q1=Cb=fs=null,T0=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return s5&&t.locale!=="ko"?null:t.data;default:return null}}function gm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!N_[e.type]:t==="textarea"}function Gd(e){if(!No)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function $s(e,t,l,i){b0?S0?S0.push(i):S0=[i]:b0=i,t=su(t,"onChange"),0<t.length&&(l=new $1("onChange","change",null,l,i),e.push({event:l,listeners:t}))}function Ay(e){Tt(e,0)}function tl(e){var t=Va(e);if(im(t))return e}function lo(e,t){if(e==="change")return t}function Js(){mg&&(mg.detachEvent("onpropertychange",fr),pg=mg=null)}function fr(e){if(e.propertyName==="value"&&tl(pg)){var t=[];$s(t,pg,e,$a(e)),Yd(Ay,t)}}function yb(e,t,l){e==="focusin"?(Js(),mg=t,pg=l,mg.attachEvent("onpropertychange",fr)):e==="focusout"&&Js()}function ym(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return tl(pg)}function vm(e,t){if(e==="click")return tl(t)}function Ks(e,t){if(e==="input"||e==="change")return tl(t)}function Ld(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function dr(e,t){if(ga(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var l=Object.keys(e),i=Object.keys(t);if(l.length!==i.length)return!1;for(i=0;i<l.length;i++){var c=l[i];if(!ma.call(t,c)||!ga(e[c],t[c]))return!1}return!0}function xy(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ry(e,t){var l=xy(e);e=0;for(var i;l;){if(l.nodeType===3){if(i=e+l.textContent.length,e<=t&&i>=t)return{node:l,offset:t-e};e=i}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=xy(l)}}function Dy(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Dy(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Vd(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Qa(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch{l=!1}if(l)e=t.contentWindow;else break;t=Qa(e.document)}return t}function bm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Oy(e,t,l){var i=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Zb||z0==null||z0!==Qa(i)||(i=z0,"selectionStart"in i&&bm(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}),gg&&dr(gg,i)||(gg=i,i=su(Bb,"onSelect"),0<i.length&&(t=new $1("onSelect","select",null,t,l),e.push({event:t,listeners:i}),t.target=z0)))}function Io(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}function Po(e){if(qb[e])return qb[e];if(!E0[e])return e;var t=E0[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in p5)return qb[e]=t[l];return e}function Ja(e,t){S5.set(e,t),yt(t,[e])}function wy(e){for(var t=K1,l=0;l<e.length;l++){var i=e[l];if(typeof i=="object"&&i!==null)if(Dn(i)&&i.length===2&&typeof i[0]=="string"){if(t!==K1&&t!==Vb)return Gb;t=Vb}else return Gb;else{if(typeof i=="function"||typeof i=="string"&&50<i.length||t!==K1&&t!==Lb)return Gb;t=Lb}}return t}function Sm(e,t,l,i){for(var c in e)ma.call(e,c)&&c[0]!=="_"&&wu(c,e[c],t,l,i)}function wu(e,t,l,i,c){switch(typeof t){case"object":if(t===null){t="null";break}else{if(t.$$typeof===Na){var s=Ne(t.type)||"…",g=t.key;t=t.props;var y=Object.keys(t),T=y.length;if(g==null&&T===0){t="<"+s+" />";break}if(3>i||T===1&&y[0]==="children"&&g==null){t="<"+s+" … />";break}l.push([c+" ".repeat(i)+e,"<"+s]),g!==null&&wu("key",g,l,i+1,c),e=!1;for(var E in t)E==="children"?t.children!=null&&(!Dn(t.children)||0<t.children.length)&&(e=!0):ma.call(t,E)&&E[0]!=="_"&&wu(E,t[E],l,i+1,c);l.push(["",e?">…</"+s+">":"/>"]);return}if(s=Object.prototype.toString.call(t),s=s.slice(8,s.length-1),s==="Array"){if(E=wy(t),E===Lb||E===K1){t=JSON.stringify(t);break}else if(E===Vb){for(l.push([c+" ".repeat(i)+e,""]),e=0;e<t.length;e++)s=t[e],wu(s[0],s[1],l,i+1,c);return}}if(s==="Promise"){if(t.status==="fulfilled"){if(s=l.length,wu(e,t.value,l,i,c),l.length>s){l=l[s],l[1]="Promise<"+(l[1]||"Object")+">";return}}else if(t.status==="rejected"&&(s=l.length,wu(e,t.reason,l,i,c),l.length>s)){l=l[s],l[1]="Rejected Promise<"+l[1]+">";return}l.push([" ".repeat(i)+e,"Promise"]);return}s==="Object"&&(E=Object.getPrototypeOf(t))&&typeof E.constructor=="function"&&(s=E.constructor.name),l.push([c+" ".repeat(i)+e,s==="Object"?3>i?"":"…":s]),3>i&&Sm(t,l,i+1,c);return}case"function":t=t.name===""?"() => {}":t.name+"() {}";break;case"string":t=t===L_?"…":JSON.stringify(t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}l.push([c+" ".repeat(i)+e,t])}function My(e,t,l,i){var c=!0;for(g in e)g in t||(l.push([W1+" ".repeat(i)+g,"…"]),c=!1);for(var s in t)if(s in e){var g=e[s],y=t[s];if(g!==y){if(i===0&&s==="children")c=" ".repeat(i)+s,l.push([W1+c,"…"],[F1+c,"…"]);else{if(!(3<=i)){if(typeof g=="object"&&typeof y=="object"&&g!==null&&y!==null&&g.$$typeof===y.$$typeof)if(y.$$typeof===Na){if(g.type===y.type&&g.key===y.key){g=Ne(y.type)||"…",c=" ".repeat(i)+s,g="<"+g+" … />",l.push([W1+c,g],[F1+c,g]),c=!1;continue}}else{var T=Object.prototype.toString.call(g),E=Object.prototype.toString.call(y);if(T===E&&(E==="[object Object]"||E==="[object Array]")){T=[E5+" ".repeat(i)+s,E==="[object Array]"?"Array":""],l.push(T),E=l.length,My(g,y,l,i+1)?E===l.length&&(T[1]="Referentially unequal but deeply equal objects. Consider memoization."):c=!1;continue}}else if(typeof g=="function"&&typeof y=="function"&&g.name===y.name&&g.length===y.length&&(T=Function.prototype.toString.call(g),E=Function.prototype.toString.call(y),T===E)){g=y.name===""?"() => {}":y.name+"() {}",l.push([E5+" ".repeat(i)+s,g+" Referentially unequal function closure. Consider memoization."]);continue}}wu(s,g,l,i,W1),wu(s,y,l,i,F1)}c=!1}}else l.push([F1+" ".repeat(i)+s,"…"]),c=!1;return c}function Ka(e){at=e&63?"Blocking":e&64?"Gesture":e&4194176?"Transition":e&62914560?"Suspense":e&2080374784?"Idle":"Other"}function xa(e,t,l,i){Wt&&(hs.start=t,hs.end=l,Zc.color="warning",Zc.tooltipText=i,Zc.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,i,hs)):performance.measure(i,hs))}function Xd(e,t,l){xa(e,t,l,"Reconnect")}function Qd(e,t,l,i,c){var s=ge(e);if(s!==null&&Wt){var g=e.alternate,y=e.actualDuration;if(g===null||g.child!==e.child)for(var T=e.child;T!==null;T=T.sibling)y-=T.actualDuration;i=.5>y?i?"tertiary-light":"primary-light":10>y?i?"tertiary":"primary":100>y?i?"tertiary-dark":"primary-dark":"error";var E=e.memoizedProps;y=e._debugTask,E!==null&&g!==null&&g.memoizedProps!==E?(T=[V_],E=My(g.memoizedProps,E,T,0),1<T.length&&(E&&!ds&&(g.lanes&c)===0&&100<e.actualDuration?(ds=!0,T[0]=X_,Zc.color="warning",Zc.tooltipText=_5):(Zc.color=i,Zc.tooltipText=s),Zc.properties=T,hs.start=t,hs.end=l,y!=null?y.run(performance.measure.bind(performance,""+s,hs)):performance.measure(""+s,hs))):y!=null?y.run(console.timeStamp.bind(console,s,t,l,li,void 0,i)):console.timeStamp(s,t,l,li,void 0,i)}}function Tm(e,t,l,i){if(Wt){var c=ge(e);if(c!==null){for(var s=null,g=[],y=0;y<i.length;y++){var T=i[y];s==null&&T.source!==null&&(s=T.source._debugTask),T=T.value,g.push(["Error",typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T)])}e.key!==null&&wu("key",e.key,g,0,""),e.memoizedProps!==null&&Sm(e.memoizedProps,g,0,""),s==null&&(s=e._debugTask),e={start:t,end:l,detail:{devtools:{color:"error",track:li,tooltipText:e.tag===13?"Hydration failed":"Error boundary caught an error",properties:g}}},s?s.run(performance.measure.bind(performance,""+c,e)):performance.measure(""+c,e)}}}function Wa(e,t,l,i,c){if(c!==null){if(Wt){var s=ge(e);if(s!==null){i=[];for(var g=0;g<c.length;g++){var y=c[g].value;i.push(["Error",typeof y=="object"&&y!==null&&typeof y.message=="string"?String(y.message):String(y)])}e.key!==null&&wu("key",e.key,i,0,""),e.memoizedProps!==null&&Sm(e.memoizedProps,i,0,""),t={start:t,end:l,detail:{devtools:{color:"error",track:li,tooltipText:"A lifecycle or effect errored",properties:i}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,""+s,t)):performance.measure(""+s,t)}}}else s=ge(e),s!==null&&Wt&&(c=1>i?"secondary-light":100>i?"secondary":500>i?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,s,t,l,li,void 0,c)):console.timeStamp(s,t,l,li,void 0,c))}function vb(e,t,l,i){if(Wt&&!(t<=e)){var c=(l&738197653)===l?"tertiary-dark":"primary-dark";l=(l&536870912)===l?"Prepared":(l&201326741)===l?"Hydrated":"Render",i?i.run(console.timeStamp.bind(console,l,e,t,at,nt,c)):console.timeStamp(l,e,t,at,nt,c)}}function Cy(e,t,l,i){!Wt||t<=e||(l=(l&738197653)===l?"tertiary-dark":"primary-dark",i?i.run(console.timeStamp.bind(console,"Prewarm",e,t,at,nt,l)):console.timeStamp("Prewarm",e,t,at,nt,l))}function Uy(e,t,l,i){!Wt||t<=e||(l=(l&738197653)===l?"tertiary-dark":"primary-dark",i?i.run(console.timeStamp.bind(console,"Suspended",e,t,at,nt,l)):console.timeStamp("Suspended",e,t,at,nt,l))}function bb(e,t,l,i,c,s){if(Wt&&!(t<=e)){l=[];for(var g=0;g<i.length;g++){var y=i[g].value;l.push(["Recoverable Error",typeof y=="object"&&y!==null&&typeof y.message=="string"?String(y.message):String(y)])}e={start:e,end:t,detail:{devtools:{color:"primary-dark",track:at,trackGroup:nt,tooltipText:c?"Hydration Failed":"Recovered after Error",properties:l}}},s?s.run(performance.measure.bind(performance,"Recovered",e)):performance.measure("Recovered",e)}}function zm(e,t,l,i){!Wt||t<=e||(i?i.run(console.timeStamp.bind(console,"Errored",e,t,at,nt,"error")):console.timeStamp("Errored",e,t,at,nt,"error"))}function Sb(e,t,l,i){!Wt||t<=e||(i?i.run(console.timeStamp.bind(console,l,e,t,at,nt,"secondary-light")):console.timeStamp(l,e,t,at,nt,"secondary-light"))}function jy(e,t,l,i,c){if(Wt&&!(t<=e)){for(var s=[],g=0;g<l.length;g++){var y=l[g].value;s.push(["Error",typeof y=="object"&&y!==null&&typeof y.message=="string"?String(y.message):String(y)])}e={start:e,end:t,detail:{devtools:{color:"error",track:at,trackGroup:nt,tooltipText:i?"Remaining Effects Errored":"Commit Errored",properties:s}}},c?c.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e)}}function Em(e,t,l){!Wt||t<=e||console.timeStamp("Animating",e,t,at,nt,"secondary-dark")}function $d(){for(var e=_0,t=Xb=_0=0;t<e;){var l=ai[t];ai[t++]=null;var i=ai[t];ai[t++]=null;var c=ai[t];ai[t++]=null;var s=ai[t];if(ai[t++]=null,i!==null&&c!==null){var g=i.pending;g===null?c.next=c:(c.next=g.next,g.next=c),i.pending=c}s!==0&&_m(l,c,s)}}function hr(e,t,l,i){ai[_0++]=e,ai[_0++]=t,ai[_0++]=l,ai[_0++]=i,Xb|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function ec(e,t,l,i){return hr(e,t,l,i),Ws(e)}function sl(e,t){return hr(e,null,null,t),Ws(e)}function _m(e,t,l){e.lanes|=l;var i=e.alternate;i!==null&&(i.lanes|=l);for(var c=!1,s=e.return;s!==null;)s.childLanes|=l,i=s.alternate,i!==null&&(i.childLanes|=l),s.tag===22&&(e=s.stateNode,e===null||e._visibility&yg||(c=!0)),e=s,s=s.return;return e.tag===3?(s=e.stateNode,c&&t!==null&&(c=31-ll(l),e=s.hiddenUpdates,i=e[c],i===null?e[c]=[t]:i.push(t),t.lane=l|536870912),s):null}function Ws(e){if(Vg>oA)throw bd=Vg=0,Xg=_2=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.");bd>cA&&(bd=0,Xg=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&Ha(e);for(var t=e,l=t.return;l!==null;)t.alternate===null&&(t.flags&4098)!==0&&Ha(e),t=l,l=t.return;return t.tag===3?t.stateNode:null}function ao(e){if(ui===null)return e;var t=ui(e);return t===void 0?e:t.current}function Jd(e){if(ui===null)return e;var t=ui(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=ao(e.render),e.render!==t)?(t={$$typeof:es,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function Am(e,t){if(ui===null)return!1;var l=e.elementType;t=t.type;var i=!1,c=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(i=!0);break;case 0:(typeof t=="function"||c===hl)&&(i=!0);break;case 11:(c===es||c===hl)&&(i=!0);break;case 14:case 15:(c===Ff||c===hl)&&(i=!0);break;default:return!1}return!!(i&&(e=ui(l),e!==void 0&&e===ui(t)))}function tc(e){ui!==null&&typeof WeakSet=="function"&&(A0===null&&(A0=new WeakSet),A0.add(e))}function Hy(e,t,l){do{var i=e,c=i.alternate,s=i.child,g=i.sibling,y=i.tag;i=i.type;var T=null;switch(y){case 0:case 15:case 1:T=i;break;case 11:T=i.render}if(ui===null)throw Error("Expected resolveFamily to be set during hot reload.");var E=!1;if(i=!1,T!==null&&(T=ui(T),T!==void 0&&(l.has(T)?i=!0:t.has(T)&&(y===1?i=!0:E=!0))),A0!==null&&(A0.has(e)||c!==null&&A0.has(c))&&(i=!0),i&&(e._debugNeedsRemount=!0),(i||E)&&(c=sl(e,2),c!==null&&Me(c,e,2)),s===null||i||Hy(s,t,l),g===null)break;e=g}while(!0)}function Tb(e,t,l,i){this.tag=e,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,A5||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function xm(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Mu(e,t){var l=e.alternate;switch(l===null?(l=I(e.tag,t,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l._debugOwner=e._debugOwner,l._debugStack=e._debugStack,l._debugTask=e._debugTask,l._debugHookTypes=e._debugHookTypes,l.alternate=e,e.alternate=l):(l.pendingProps=t,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null,l.actualDuration=-0,l.actualStartTime=-1.1),l.flags=e.flags&65011712,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.refCleanup=e.refCleanup,l.selfBaseDuration=e.selfBaseDuration,l.treeBaseDuration=e.treeBaseDuration,l._debugInfo=e._debugInfo,l._debugNeedsRemount=e._debugNeedsRemount,l.tag){case 0:case 15:l.type=ao(e.type);break;case 1:l.type=ao(e.type);break;case 11:l.type=Jd(e.type)}return l}function Rm(e,t){e.flags&=65011714;var l=e.alternate;return l===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=l.selfBaseDuration,e.treeBaseDuration=l.treeBaseDuration),e}function nc(e,t,l,i,c,s){var g=0,y=e;if(typeof e=="function")xm(e)&&(g=1),y=ao(y);else if(typeof e=="string")g=J(),g=w1(e,l,g)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case mu:return t=I(31,l,t,c),t.elementType=mu,t.lanes=s,t;case Pr:return lc(l.children,c,s,t);case Ul:g=8,c|=Jl,c|=Xi;break;case Wf:return e=l,i=c,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=I(12,e,t,i|Qe),t.elementType=Wf,t.lanes=s,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case Uc:return t=I(13,l,t,c),t.elementType=Uc,t.lanes=s,t;case Ql:return t=I(19,l,t,c),t.elementType=Ql,t.lanes=s,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case hu:g=10;break e;case i0:g=9;break e;case es:g=11,y=Jd(y);break e;case Ff:g=14;break e;case hl:g=16,y=null;break e}y="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(y+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?l="null":Dn(e)?l="array":e!==void 0&&e.$$typeof===Na?(l="<"+(Ne(e.type)||"Unknown")+" />",y=" Did you accidentally export a JSX literal instead of a component?"):l=typeof e,(g=i?on(i):null)&&(y+=`
|
|
69
|
+
|
|
70
|
+
Check the render method of \``+g+"`."),g=29,l=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(l+"."+y)),y=null}return t=I(g,l,t,c),t.elementType=e,t.type=y,t.lanes=s,t._debugOwner=i,t}function uo(e,t,l){return t=nc(e.type,e.key,e.props,e._owner,t,l),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function lc(e,t,l,i){return e=I(7,e,i,t),e.lanes=l,e}function mr(e,t,l){return e=I(6,e,null,t),e.lanes=l,e}function Dm(e){var t=I(18,null,null,we);return t.stateNode=e,t}function Kd(e,t,l){return t=I(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Sl(e,t){if(typeof e=="object"&&e!==null){var l=Qb.get(e);return l!==void 0?l:(t={value:e,source:t,stack:st(t)},Qb.set(e,t),t)}return{value:e,source:t,stack:st(t)}}function Fa(e,t){io(),x0[R0++]=vg,x0[R0++]=I1,I1=e,vg=t}function Om(e,t,l){io(),ii[oi++]=Yc,ii[oi++]=kc,ii[oi++]=ad,ad=e;var i=Yc;e=kc;var c=32-ll(i)-1;i&=~(1<<c),l+=1;var s=32-ll(t)+c;if(30<s){var g=c-c%5;s=(i&(1<<g)-1).toString(32),i>>=g,c-=g,Yc=1<<32-ll(t)+c|l<<c|i,kc=s+e}else Yc=1<<s|l<<c|i,kc=e}function Wd(e){io(),e.return!==null&&(Fa(e,1),Om(e,1,0))}function Fd(e){for(;e===I1;)I1=x0[--R0],x0[R0]=null,vg=x0[--R0],x0[R0]=null;for(;e===ad;)ad=ii[--oi],ii[oi]=null,kc=ii[--oi],ii[oi]=null,Yc=ii[--oi],ii[oi]=null}function Ny(){return io(),ad!==null?{id:Yc,overflow:kc}:null}function By(e,t){io(),ii[oi++]=Yc,ii[oi++]=kc,ii[oi++]=ad,Yc=t.id,kc=t.overflow,ad=e}function io(){tt||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function ac(e,t){if(e.return===null){if(gu===null)gu={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(gu.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");gu.distanceFromLeaf>t&&(gu.distanceFromLeaf=t)}return gu}var l=ac(e.return,t+1).children;return 0<l.length&&l[l.length-1].fiber===e?(l=l[l.length-1],l.distanceFromLeaf>t&&(l.distanceFromLeaf=t),l):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},l.push(t),t)}function Zy(){tt&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function fl(e,t){Bo||(e=ac(e,0),e.serverProps=null,t!==null&&(t=x1(t),e.serverTail.push(t)))}function Ra(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,l="",i=gu;throw i!==null&&(gu=null,l=rm(i)),Is(Sl(Error("Hydration failed because the server rendered "+(t?"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:
|
|
71
|
+
|
|
72
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
73
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
74
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
75
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
76
|
+
- Invalid HTML tag nesting.
|
|
77
|
+
|
|
78
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
79
|
+
|
|
80
|
+
https://react.dev/link/hydration-mismatch`+l),e)),$b}function wm(e){var t=e.stateNode,l=e.type,i=e.memoizedProps;switch(t[Kt]=e,t[jl]=i,Ml(l,i),l){case"dialog":Oe("cancel",t),Oe("close",t);break;case"iframe":case"object":case"embed":Oe("load",t);break;case"video":case"audio":for(l=0;l<Qg.length;l++)Oe(Qg[l],t);break;case"source":Oe("error",t);break;case"img":case"image":case"link":Oe("error",t),Oe("load",t);break;case"details":Oe("toggle",t);break;case"input":vn("input",i),Oe("invalid",t),bl(t,i),Cd(t,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"option":Ty(t,i);break;case"select":vn("select",i),Oe("invalid",t),Ud(t,i);break;case"textarea":vn("textarea",i),Oe("invalid",t),Qo(t,i),ar(t,i.value,i.defaultValue,i.children)}l=i.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||t.textContent===""+l||i.suppressHydrationWarning===!0||Cp(t.textContent,l)?(i.popover!=null&&(Oe("beforetoggle",t),Oe("toggle",t)),i.onScroll!=null&&Oe("scroll",t),i.onScrollEnd!=null&&Oe("scrollend",t),i.onClick!=null&&(t.onclick=Aa),t=!0):t=!1,t||Ra(e,!0)}function Mm(e){for(Hl=e.return;Hl;)switch(Hl.tag){case 5:case 31:case 13:ci=!1;return;case 27:case 3:ci=!0;return;default:Hl=Hl.return}}function uc(e){if(e!==Hl)return!1;if(!tt)return Mm(e),tt=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||Xr(e.type,e.memoizedProps)),l=!l),l&&Ft){for(l=Ft;l;){var i=ac(e,0),c=x1(l);i.serverTail.push(c),l=c.type==="Suspense"?Jr(l):da(l.nextSibling)}Ra(e)}if(Mm(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Ft=Jr(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Ft=Jr(e)}else t===27?(t=Ft,wo(e.type)?(e=N2,N2=null,Ft=e):Ft=t):Ft=Hl?da(e.stateNode.nextSibling):null;return!0}function oo(){Ft=Hl=null,Bo=tt=!1}function Fs(){var e=ps;return e!==null&&(Sa===null?Sa=e:Sa.push.apply(Sa,e),ps=null),e}function Is(e){ps===null?ps=[e]:ps.push(e)}function co(){var e=gu;if(e!==null){gu=null;for(var t=rm(e);0<e.children.length;)e=e.children[0];fe(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
|
|
81
|
+
|
|
82
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
83
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
84
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
85
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
86
|
+
- Invalid HTML tag nesting.
|
|
87
|
+
|
|
88
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
89
|
+
|
|
90
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function pr(){D0=P1=null,O0=!1}function Da(e,t,l){xe(Jb,t._currentValue,e),t._currentValue=l,xe(Kb,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==R5&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=R5}function Ia(e,t){e._currentValue=Jb.current;var l=Kb.current;Ze(Kb,t),e._currentRenderer=l,Ze(Jb,t)}function Id(e,t,l){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===l)break;e=e.return}e!==l&&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 Ai(e,t,l,i){var c=e.child;for(c!==null&&(c.return=e);c!==null;){var s=c.dependencies;if(s!==null){var g=c.child;s=s.firstContext;e:for(;s!==null;){var y=s;s=c;for(var T=0;T<t.length;T++)if(y.context===t[T]){s.lanes|=l,y=s.alternate,y!==null&&(y.lanes|=l),Id(s.return,l,e),i||(g=null);break e}s=y.next}}else if(c.tag===18){if(g=c.return,g===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");g.lanes|=l,s=g.alternate,s!==null&&(s.lanes|=l),Id(g,l,e),g=null}else g=c.child;if(g!==null)g.return=c;else for(g=c;g!==null;){if(g===e){g=null;break}if(c=g.sibling,c!==null){c.return=g.return,g=c;break}g=g.return}c=g}}function Pa(e,t,l,i){e=null;for(var c=t,s=!1;c!==null;){if(!s){if((c.flags&524288)!==0)s=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var g=c.alternate;if(g===null)throw Error("Should have a current fiber. This is a bug in React.");if(g=g.memoizedProps,g!==null){var y=c.type;ga(c.pendingProps.value,g.value)||(e!==null?e.push(y):e=[y])}}else if(c===jo.current){if(g=c.alternate,g===null)throw Error("Should have a current fiber. This is a bug in React.");g.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(e!==null?e.push(Fg):e=[Fg])}c=c.return}e!==null&&Ai(t,e,l,i),t.flags|=262144}function gr(e){for(e=e.firstContext;e!==null;){if(!ga(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ro(e){P1=e,D0=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function mt(e){return O0&&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()."),Cm(P1,e)}function Ps(e,t){return P1===null&&ro(e),Cm(e,t)}function Cm(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},D0===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");D0=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else D0=D0.next=t;return l}function Pd(){return{controller:new J_,data:new Map,refCount:0}}function ic(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function ef(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&K_(W_,function(){e.controller.abort()})}function Cu(e,t,l){(e&127)!==0?0>Zo&&(Zo=Jn(),Sg=ev(t),Wb=t,l!=null&&(Fb=ge(l)),(ot&(il|bu))!==yl&&(_n=!0,ys=bg),e=Qr(),t=Fu(),e!==w0||t!==Tg?w0=-1.1:t!==null&&(ys=bg),od=e,Tg=t):(e&4194048)!==0&&0>ri&&(ri=Jn(),zg=ev(t),D5=t,l!=null&&(O5=ge(l)),0>Xc)&&(e=Qr(),t=Fu(),(e!==bs||t!==cd)&&(bs=-1.1),vs=e,cd=t)}function qy(e){if(0>Zo){Zo=Jn(),Sg=e._debugTask!=null?e._debugTask:null,(ot&(il|bu))!==yl&&(ys=bg);var t=Qr(),l=Fu();t!==w0||l!==Tg?w0=-1.1:l!==null&&(ys=bg),od=t,Tg=l}0>ri&&(ri=Jn(),zg=e._debugTask!=null?e._debugTask:null,0>Xc)&&(e=Qr(),t=Fu(),(e!==bs||t!==cd)&&(bs=-1.1),vs=e,cd=t)}function Uu(){var e=ud;return ud=0,e}function yr(e){var t=ud;return ud=e,t}function Tl(e){var t=ud;return ud+=e,t}function oc(){Re=_e=-1.1}function Qt(){var e=_e;return _e=-1.1,e}function Yn(e){0<=e&&(_e=e)}function Oa(){var e=dn;return dn=-0,e}function ea(e){0<=e&&(dn=e)}function ta(){var e=ln;return ln=null,e}function wa(){var e=_n;return _n=!1,e}function xi(e){ya=Jn(),0>e.actualStartTime&&(e.actualStartTime=ya)}function eh(e){if(0<=ya){var t=Jn()-ya;e.actualDuration+=t,e.selfBaseDuration=t,ya=-1}}function tf(e){if(0<=ya){var t=Jn()-ya;e.actualDuration+=t,ya=-1}}function zl(){if(0<=ya){var e=Jn(),t=e-ya;ya=-1,ud+=t,dn+=t,Re=e}}function Yy(e){ln===null&&(ln=[]),ln.push(e),Lc===null&&(Lc=[]),Lc.push(e)}function rn(){ya=Jn(),0>_e&&(_e=ya)}function cc(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Ri(e,t){if(_g===null){var l=_g=[];Pb=0,rd=Mp(),M0={status:"pending",value:void 0,then:function(i){l.push(i)}}}return Pb++,t.then(Um,Um),t}function Um(){if(--Pb===0&&(-1<ri||(Xc=-1.1),_g!==null)){M0!==null&&(M0.status="fulfilled");var e=_g;_g=null,rd=0,M0=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function th(e,t){var l=[],i={status:"pending",value:null,reason:null,then:function(c){l.push(c)}};return e.then(function(){i.status="fulfilled",i.value=t;for(var c=0;c<l.length;c++)(0,l[c])(t)},function(c){for(i.status="rejected",i.reason=c,c=0;c<l.length;c++)(0,l[c])(void 0)}),i}function Di(){var e=sd.current;return e!==null?e:Bt.pooledCache}function vr(e,t){t===null?xe(sd,sd.current,e):xe(sd,t.pool,e)}function jm(){var e=Di();return e===null?null:{parent:$n._currentValue,pool:e}}function nh(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function Hm(e){return e=e.status,e==="fulfilled"||e==="rejected"}function na(e,t,l){Q.actQueue!==null&&(Q.didUsePromise=!0);var i=e.thenables;if(l=i[l],l===void 0?i.push(t):l!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(Aa,Aa),t=l),t._debugInfo===void 0){e=performance.now(),i=t.displayName;var c={name:typeof i=="string"?i:"Promise",start:e,end:e,value:t};t._debugInfo=[{awaited:c}],t.status!=="fulfilled"&&t.status!=="rejected"&&(e=function(){c.end=performance.now()},t.then(e,e))}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,nf(e),e;default:if(typeof t.status=="string")t.then(Aa,Aa);else{if(e=Bt,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status="pending",e.then(function(s){if(t.status==="pending"){var g=t;g.status="fulfilled",g.value=s}},function(s){if(t.status==="pending"){var g=t;g.status="rejected",g.reason=s}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,nf(e),e}throw dd=t,Mg=!0,C0}}function la(e){try{return tA(e)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(dd=t,Mg=!0,C0):t}}function rc(){if(dd===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=dd;return dd=null,Mg=!1,e}function nf(e){if(e===C0||e===cv)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 bn(e){var t=$e;return e!=null&&($e=t===null?e:t.concat(e)),t}function Yl(){var e=$e;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var l=e[t].debugTask;if(l!=null)return l}}return null}function El(e,t,l){for(var i=Object.keys(e.props),c=0;c<i.length;c++){var s=i[c];if(s!=="children"&&s!=="key"){t===null&&(t=uo(e,l.mode,0),t._debugInfo=$e,t.return=l),fe(t,function(g){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",g)},s);break}}}function eu(e){var t=Cg;return Cg+=1,U0===null&&(U0=nh()),na(U0,e,t)}function kl(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function tu(e,t){throw t.$$typeof===N1?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
91
|
+
- Multiple copies of the "react" package is used.
|
|
92
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
93
|
+
- A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function Ma(e,t){var l=Yl();l!==null?l.run(tu.bind(null,e,t)):tu(e,t)}function Nm(e,t){var l=ge(e)||"Component";K5[l]||(K5[l]=!0,t=t.displayName||t.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
94
|
+
root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
95
|
+
<%s>{%s}</%s>`,t,t,l,t,l))}function br(e,t){var l=Yl();l!==null?l.run(Nm.bind(null,e,t)):Nm(e,t)}function lh(e,t){var l=ge(e)||"Component";W5[l]||(W5[l]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
|
|
96
|
+
root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
|
|
97
|
+
<%s>%s</%s>`,l,t,l))}function lf(e,t){var l=Yl();l!==null?l.run(lh.bind(null,e,t)):lh(e,t)}function kn(e){function t(D,w){if(e){var j=D.deletions;j===null?(D.deletions=[w],D.flags|=16):j.push(w)}}function l(D,w){if(!e)return null;for(;w!==null;)t(D,w),w=w.sibling;return null}function i(D){for(var w=new Map;D!==null;)D.key!==null?w.set(D.key,D):w.set(D.index,D),D=D.sibling;return w}function c(D,w){return D=Mu(D,w),D.index=0,D.sibling=null,D}function s(D,w,j){return D.index=j,e?(j=D.alternate,j!==null?(j=j.index,j<w?(D.flags|=67108866,w):j):(D.flags|=67108866,w)):(D.flags|=1048576,w)}function g(D){return e&&D.alternate===null&&(D.flags|=67108866),D}function y(D,w,j,F){return w===null||w.tag!==6?(w=mr(j,D.mode,F),w.return=D,w._debugOwner=D,w._debugTask=D._debugTask,w._debugInfo=$e,w):(w=c(w,j),w.return=D,w._debugInfo=$e,w)}function T(D,w,j,F){var se=j.type;return se===Pr?(w=H(D,w,j.props.children,F,j.key),El(j,w,D),w):w!==null&&(w.elementType===se||Am(w,j)||typeof se=="object"&&se!==null&&se.$$typeof===hl&&la(se)===w.type)?(w=c(w,j.props),kl(w,j),w.return=D,w._debugOwner=j._owner,w._debugInfo=$e,w):(w=uo(j,D.mode,F),kl(w,j),w.return=D,w._debugInfo=$e,w)}function E(D,w,j,F){return w===null||w.tag!==4||w.stateNode.containerInfo!==j.containerInfo||w.stateNode.implementation!==j.implementation?(w=Kd(j,D.mode,F),w.return=D,w._debugInfo=$e,w):(w=c(w,j.children||[]),w.return=D,w._debugInfo=$e,w)}function H(D,w,j,F,se){return w===null||w.tag!==7?(w=lc(j,D.mode,F,se),w.return=D,w._debugOwner=D,w._debugTask=D._debugTask,w._debugInfo=$e,w):(w=c(w,j),w.return=D,w._debugInfo=$e,w)}function B(D,w,j){if(typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint")return w=mr(""+w,D.mode,j),w.return=D,w._debugOwner=D,w._debugTask=D._debugTask,w._debugInfo=$e,w;if(typeof w=="object"&&w!==null){switch(w.$$typeof){case Na:return j=uo(w,D.mode,j),kl(j,w),j.return=D,D=bn(w._debugInfo),j._debugInfo=$e,$e=D,j;case Co:return w=Kd(w,D.mode,j),w.return=D,w._debugInfo=$e,w;case hl:var F=bn(w._debugInfo);return w=la(w),D=B(D,w,j),$e=F,D}if(Dn(w)||Ct(w))return j=lc(w,D.mode,j,null),j.return=D,j._debugOwner=D,j._debugTask=D._debugTask,D=bn(w._debugInfo),j._debugInfo=$e,$e=D,j;if(typeof w.then=="function")return F=bn(w._debugInfo),D=B(D,eu(w),j),$e=F,D;if(w.$$typeof===hu)return B(D,Ps(D,w),j);Ma(D,w)}return typeof w=="function"&&br(D,w),typeof w=="symbol"&&lf(D,w),null}function O(D,w,j,F){var se=w!==null?w.key:null;if(typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint")return se!==null?null:y(D,w,""+j,F);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case Na:return j.key===se?(se=bn(j._debugInfo),D=T(D,w,j,F),$e=se,D):null;case Co:return j.key===se?E(D,w,j,F):null;case hl:return se=bn(j._debugInfo),j=la(j),D=O(D,w,j,F),$e=se,D}if(Dn(j)||Ct(j))return se!==null?null:(se=bn(j._debugInfo),D=H(D,w,j,F,null),$e=se,D);if(typeof j.then=="function")return se=bn(j._debugInfo),D=O(D,w,eu(j),F),$e=se,D;if(j.$$typeof===hu)return O(D,w,Ps(D,j),F);Ma(D,j)}return typeof j=="function"&&br(D,j),typeof j=="symbol"&&lf(D,j),null}function L(D,w,j,F,se){if(typeof F=="string"&&F!==""||typeof F=="number"||typeof F=="bigint")return D=D.get(j)||null,y(w,D,""+F,se);if(typeof F=="object"&&F!==null){switch(F.$$typeof){case Na:return j=D.get(F.key===null?j:F.key)||null,D=bn(F._debugInfo),w=T(w,j,F,se),$e=D,w;case Co:return D=D.get(F.key===null?j:F.key)||null,E(w,D,F,se);case hl:var je=bn(F._debugInfo);return F=la(F),w=L(D,w,j,F,se),$e=je,w}if(Dn(F)||Ct(F))return j=D.get(j)||null,D=bn(F._debugInfo),w=H(w,j,F,se,null),$e=D,w;if(typeof F.then=="function")return je=bn(F._debugInfo),w=L(D,w,j,eu(F),se),$e=je,w;if(F.$$typeof===hu)return L(D,w,j,Ps(w,F),se);Ma(w,F)}return typeof F=="function"&&br(w,F),typeof F=="symbol"&&lf(w,F),null}function ce(D,w,j,F){if(typeof j!="object"||j===null)return F;switch(j.$$typeof){case Na:case Co:V(D,w,j);var se=j.key;if(typeof se!="string")break;if(F===null){F=new Set,F.add(se);break}if(!F.has(se)){F.add(se);break}fe(w,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.",se)});break;case hl:j=la(j),ce(D,w,j,F)}return F}function he(D,w,j,F){for(var se=null,je=null,Ee=null,Te=w,Ve=w=0,It=null;Te!==null&&Ve<j.length;Ve++){Te.index>Ve?(It=Te,Te=null):It=Te.sibling;var Bn=O(D,Te,j[Ve],F);if(Bn===null){Te===null&&(Te=It);break}se=ce(D,Bn,j[Ve],se),e&&Te&&Bn.alternate===null&&t(D,Te),w=s(Bn,w,Ve),Ee===null?je=Bn:Ee.sibling=Bn,Ee=Bn,Te=It}if(Ve===j.length)return l(D,Te),tt&&Fa(D,Ve),je;if(Te===null){for(;Ve<j.length;Ve++)Te=B(D,j[Ve],F),Te!==null&&(se=ce(D,Te,j[Ve],se),w=s(Te,w,Ve),Ee===null?je=Te:Ee.sibling=Te,Ee=Te);return tt&&Fa(D,Ve),je}for(Te=i(Te);Ve<j.length;Ve++)It=L(Te,D,Ve,j[Ve],F),It!==null&&(se=ce(D,It,j[Ve],se),e&&It.alternate!==null&&Te.delete(It.key===null?Ve:It.key),w=s(It,w,Ve),Ee===null?je=It:Ee.sibling=It,Ee=It);return e&&Te.forEach(function(Pc){return t(D,Pc)}),tt&&Fa(D,Ve),je}function Gt(D,w,j,F){if(j==null)throw Error("An iterable object provided no iterator.");for(var se=null,je=null,Ee=w,Te=w=0,Ve=null,It=null,Bn=j.next();Ee!==null&&!Bn.done;Te++,Bn=j.next()){Ee.index>Te?(Ve=Ee,Ee=null):Ve=Ee.sibling;var Pc=O(D,Ee,Bn.value,F);if(Pc===null){Ee===null&&(Ee=Ve);break}It=ce(D,Pc,Bn.value,It),e&&Ee&&Pc.alternate===null&&t(D,Ee),w=s(Pc,w,Te),je===null?se=Pc:je.sibling=Pc,je=Pc,Ee=Ve}if(Bn.done)return l(D,Ee),tt&&Fa(D,Te),se;if(Ee===null){for(;!Bn.done;Te++,Bn=j.next())Ee=B(D,Bn.value,F),Ee!==null&&(It=ce(D,Ee,Bn.value,It),w=s(Ee,w,Te),je===null?se=Ee:je.sibling=Ee,je=Ee);return tt&&Fa(D,Te),se}for(Ee=i(Ee);!Bn.done;Te++,Bn=j.next())Ve=L(Ee,D,Te,Bn.value,F),Ve!==null&&(It=ce(D,Ve,Bn.value,It),e&&Ve.alternate!==null&&Ee.delete(Ve.key===null?Te:Ve.key),w=s(Ve,w,Te),je===null?se=Ve:je.sibling=Ve,je=Ve);return e&&Ee.forEach(function(AA){return t(D,AA)}),tt&&Fa(D,Te),se}function lt(D,w,j,F){if(typeof j=="object"&&j!==null&&j.type===Pr&&j.key===null&&(El(j,null,D),j=j.props.children),typeof j=="object"&&j!==null){switch(j.$$typeof){case Na:var se=bn(j._debugInfo);e:{for(var je=j.key;w!==null;){if(w.key===je){if(je=j.type,je===Pr){if(w.tag===7){l(D,w.sibling),F=c(w,j.props.children),F.return=D,F._debugOwner=j._owner,F._debugInfo=$e,El(j,F,D),D=F;break e}}else if(w.elementType===je||Am(w,j)||typeof je=="object"&&je!==null&&je.$$typeof===hl&&la(je)===w.type){l(D,w.sibling),F=c(w,j.props),kl(F,j),F.return=D,F._debugOwner=j._owner,F._debugInfo=$e,D=F;break e}l(D,w);break}else t(D,w);w=w.sibling}j.type===Pr?(F=lc(j.props.children,D.mode,F,j.key),F.return=D,F._debugOwner=D,F._debugTask=D._debugTask,F._debugInfo=$e,El(j,F,D),D=F):(F=uo(j,D.mode,F),kl(F,j),F.return=D,F._debugInfo=$e,D=F)}return D=g(D),$e=se,D;case Co:e:{for(se=j,j=se.key;w!==null;){if(w.key===j)if(w.tag===4&&w.stateNode.containerInfo===se.containerInfo&&w.stateNode.implementation===se.implementation){l(D,w.sibling),F=c(w,se.children||[]),F.return=D,D=F;break e}else{l(D,w);break}else t(D,w);w=w.sibling}F=Kd(se,D.mode,F),F.return=D,D=F}return g(D);case hl:return se=bn(j._debugInfo),j=la(j),D=lt(D,w,j,F),$e=se,D}if(Dn(j))return se=bn(j._debugInfo),D=he(D,w,j,F),$e=se,D;if(Ct(j)){if(se=bn(j._debugInfo),je=Ct(j),typeof je!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Ee=je.call(j);return Ee===j?(D.tag!==0||Object.prototype.toString.call(D.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Ee)!=="[object Generator]")&&($5||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."),$5=!0):j.entries!==je||l2||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),l2=!0),D=Gt(D,w,Ee,F),$e=se,D}if(typeof j.then=="function")return se=bn(j._debugInfo),D=lt(D,w,eu(j),F),$e=se,D;if(j.$$typeof===hu)return lt(D,w,Ps(D,j),F);Ma(D,j)}return typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint"?(se=""+j,w!==null&&w.tag===6?(l(D,w.sibling),F=c(w,se),F.return=D,D=F):(l(D,w),F=mr(se,D.mode,F),F.return=D,F._debugOwner=D,F._debugTask=D._debugTask,F._debugInfo=$e,D=F),g(D)):(typeof j=="function"&&br(D,j),typeof j=="symbol"&&lf(D,j),l(D,w))}return function(D,w,j,F){var se=$e;$e=null;try{Cg=0;var je=lt(D,w,j,F);return U0=null,je}catch(It){if(It===C0||It===cv)throw It;var Ee=I(29,It,null,D.mode);Ee.lanes=F,Ee.return=D;var Te=Ee._debugInfo=$e;if(Ee._debugOwner=D._debugOwner,Ee._debugTask=D._debugTask,Te!=null){for(var Ve=Te.length-1;0<=Ve;Ve--)if(typeof Te[Ve].stack=="string"){Ee._debugOwner=Te[Ve],Ee._debugTask=Te[Ve].debugTask;break}}return Ee}finally{$e=se}}}function Ut(e,t){var l=Dn(e);return e=!l&&typeof Ct(e)=="function",l||e?(l=l?"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>",l,t,l),!1):!0}function Pe(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ju(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Mn(e){return{lane:e,tag:I5,payload:null,callback:null,next:null}}function Hu(e,t,l){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,u2===i&&!t3){var c=ge(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
98
|
+
|
|
99
|
+
Please update the following component: %s`,c),t3=!0}return(ot&il)!==yl?(c=i.pending,c===null?t.next=t:(t.next=c.next,c.next=t),i.pending=t,t=Ws(e),_m(e,null,l),t):(hr(e,i,t,l),Ws(e))}function Ca(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var i=t.lanes;i&=e.pendingLanes,l|=i,t.lanes=l,qs(e,l)}}function af(e,t){var l=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,l===i)){var c=null,s=null;if(l=l.firstBaseUpdate,l!==null){do{var g={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};s===null?c=s=g:s=s.next=g,l=l.next}while(l!==null);s===null?c=s=t:s=s.next=t}else c=s=t;l={baseState:i.baseState,firstBaseUpdate:c,lastBaseUpdate:s,shared:i.shared,callbacks:i.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}function Sr(){if(i2){var e=M0;if(e!==null)throw e}}function Nu(e,t,l,i){i2=!1;var c=e.updateQueue;Ss=!1,u2=c.shared;var s=c.firstBaseUpdate,g=c.lastBaseUpdate,y=c.shared.pending;if(y!==null){c.shared.pending=null;var T=y,E=T.next;T.next=null,g===null?s=E:g.next=E,g=T;var H=e.alternate;H!==null&&(H=H.updateQueue,y=H.lastBaseUpdate,y!==g&&(y===null?H.firstBaseUpdate=E:y.next=E,H.lastBaseUpdate=T))}if(s!==null){var B=c.baseState;g=0,H=E=T=null,y=s;do{var O=y.lane&-536870913,L=O!==y.lane;if(L?(Je&O)===O:(i&O)===O){O!==0&&O===rd&&(i2=!0),H!==null&&(H=H.next={lane:0,tag:y.tag,payload:y.payload,callback:null,next:null});e:{O=e;var ce=y,he=t,Gt=l;switch(ce.tag){case P5:if(ce=ce.payload,typeof ce=="function"){O0=!0;var lt=ce.call(Gt,B,he);if(O.mode&Jl){At(!0);try{ce.call(Gt,B,he)}finally{At(!1)}}O0=!1,B=lt;break e}B=ce;break e;case a2:O.flags=O.flags&-65537|128;case I5:if(lt=ce.payload,typeof lt=="function"){if(O0=!0,ce=lt.call(Gt,B,he),O.mode&Jl){At(!0);try{lt.call(Gt,B,he)}finally{At(!1)}}O0=!1}else ce=lt;if(ce==null)break e;B=Xe({},B,ce);break e;case e3:Ss=!0}}O=y.callback,O!==null&&(e.flags|=64,L&&(e.flags|=8192),L=c.callbacks,L===null?c.callbacks=[O]:L.push(O))}else L={lane:O,tag:y.tag,payload:y.payload,callback:y.callback,next:null},H===null?(E=H=L,T=B):H=H.next=L,g|=O;if(y=y.next,y===null){if(y=c.shared.pending,y===null)break;L=y,y=L.next,L.next=null,c.lastBaseUpdate=L,c.shared.pending=null}}while(!0);H===null&&(T=B),c.baseState=T,c.firstBaseUpdate=E,c.lastBaseUpdate=H,s===null&&(c.shared.lanes=0),Es|=g,e.lanes=g,e.memoizedState=B}u2=null}function so(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function Bm(e,t){var l=e.shared.hiddenCallbacks;if(l!==null)for(e.shared.hiddenCallbacks=null,e=0;e<l.length;e++)so(l[e],t)}function Tr(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)so(l[e],t)}function ah(e,t){var l=Yo;xe(sv,l,e),xe(j0,t,e),Yo=l|t.baseLanes}function Oi(e){xe(sv,Yo,e),xe(j0,j0.current,e)}function nu(e){Yo=sv.current,Ze(j0,e),Ze(sv,e)}function _l(e){var t=e.alternate;xe(Nn,Nn.current&H0,e),xe(yu,e,e),si===null&&(t===null||j0.current!==null||t.memoizedState!==null)&&(si=e)}function lu(e){xe(Nn,Nn.current,e),xe(yu,e,e),si===null&&(si=e)}function uh(e){e.tag===22?(xe(Nn,Nn.current,e),xe(yu,e,e),si===null&&(si=e)):Bu(e)}function Bu(e){xe(Nn,Nn.current,e),xe(yu,yu.current,e)}function Gn(e){Ze(yu,e),si===e&&(si=null),Ze(Nn,e)}function sc(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||kf(l)||jp(l)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Ce(){var e=X;di===null?di=[e]:di.push(e)}function te(){var e=X;if(di!==null&&(Jc++,di[Jc]!==e)){var t=ge(Ue);if(!n3.has(t)&&(n3.add(t),di!==null)){for(var l="",i=0;i<=Jc;i++){var c=di[i],s=i===Jc?e:c;for(c=i+1+". "+c;30>c.length;)c+=" ";c+=s+`
|
|
100
|
+
`,l+=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
|
|
101
|
+
|
|
102
|
+
Previous render Next render
|
|
103
|
+
------------------------------------------------------
|
|
104
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
105
|
+
`,t,l)}}}function wi(e){e==null||Dn(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",X,typeof e)}function uf(){var e=ge(Ue);a3.has(e)||(a3.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function sn(){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:
|
|
106
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
107
|
+
2. You might be breaking the Rules of Hooks
|
|
108
|
+
3. You might have more than one copy of React in the same app
|
|
109
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Zm(e,t){if(Hg)return!1;if(t===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",X),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
110
|
+
|
|
111
|
+
Previous: %s
|
|
112
|
+
Incoming: %s`,X,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var l=0;l<t.length&&l<e.length;l++)if(!ga(e[l],t[l]))return!1;return!0}function qm(e,t,l,i,c,s){Qc=s,Ue=t,di=e!==null?e._debugHookTypes:null,Jc=-1,Hg=e!==null&&e.type!==t.type,(Object.prototype.toString.call(l)==="[object AsyncFunction]"||Object.prototype.toString.call(l)==="[object AsyncGeneratorFunction]")&&(s=ge(Ue),o2.has(s)||(o2.add(s),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.",s===null?"An unknown Component":"<"+s+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,Q.H=e!==null&&e.memoizedState!==null?r2:di!==null?u3:c2,md=s=(t.mode&Jl)!==we;var g=e2(l,i,c);if(md=!1,B0&&(g=of(t,l,i,c)),s){At(!0);try{g=of(t,l,i,c)}finally{At(!1)}}return Sn(e,t),g}function Sn(e,t){t._debugHookTypes=di,t.dependencies===null?$c!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:$c}):t.dependencies._debugThenableState=$c,Q.H=Ng;var l=Nt!==null&&Nt.next!==null;if(Qc=0,di=X=Kn=Nt=Ue=null,Jc=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),dv=!1,jg=0,$c=null,l)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||Wn||(e=e.dependencies,e!==null&&gr(e)&&(Wn=!0)),Mg?(Mg=!1,e=!0):e=!1,e&&(t=ge(t)||"Unknown",l3.has(t)||o2.has(t)||(l3.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function of(e,t,l,i){Ue=e;var c=0;do{if(B0&&($c=null),jg=0,B0=!1,c>=lA)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(c+=1,Hg=!1,Kn=Nt=null,e.updateQueue!=null){var s=e.updateQueue;s.lastEffect=null,s.events=null,s.stores=null,s.memoCache!=null&&(s.memoCache.index=0)}Jc=-1,Q.H=i3,s=e2(t,l,i)}while(B0);return s}function cf(){var e=Q.H,t=e.useState()[0];return t=typeof t.then=="function"?ff(t):t,e=e.useState()[0],(Nt!==null?Nt.memoizedState:null)!==e&&(Ue.flags|=1024),t}function fc(){var e=hv!==0;return hv=0,e}function rf(e,t,l){t.updateQueue=e.updateQueue,t.flags=(t.mode&Xi)!==we?t.flags&-402655237:t.flags&-2053,e.lanes&=~l}function fo(e){if(dv){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}dv=!1}Qc=0,di=Kn=Nt=Ue=null,Jc=-1,X=null,B0=!1,jg=hv=0,$c=null}function xn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Kn===null?Ue.memoizedState=Kn=e:Kn=Kn.next=e,Kn}function bt(){if(Nt===null){var e=Ue.alternate;e=e!==null?e.memoizedState:null}else e=Nt.next;var t=Kn===null?Ue.memoizedState:Kn.next;if(t!==null)Kn=t,Nt=e;else{if(e===null)throw Ue.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.");Nt=e,e={memoizedState:Nt.memoizedState,baseState:Nt.baseState,baseQueue:Nt.baseQueue,queue:Nt.queue,next:null},Kn===null?Ue.memoizedState=Kn=e:Kn=Kn.next=e}return Kn}function sf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ff(e){var t=jg;return jg+=1,$c===null&&($c=nh()),e=na($c,e,t),t=Ue,(Kn===null?t.memoizedState:Kn.next)===null&&(t=t.alternate,Q.H=t!==null&&t.memoizedState!==null?r2:c2),e}function Mi(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return ff(e);if(e.$$typeof===hu)return mt(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function aa(e){var t=null,l=Ue.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var i=Ue.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(t={data:i.data.map(function(c){return c.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),l===null&&(l=sf(),Ue.updateQueue=l),l.memoCache=t,l=t.data[t.index],l===void 0||Hg)for(l=t.data[t.index]=Array(e),i=0;i<e;i++)l[i]=Rb;else l.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",l.length,e);return t.index++,l}function ua(e,t){return typeof t=="function"?t(e):t}function zr(e,t,l){var i=xn();if(l!==void 0){var c=l(t);if(md){At(!0);try{l(t)}finally{At(!1)}}}else c=t;return i.memoizedState=i.baseState=c,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:c},i.queue=e,e=e.dispatch=zb.bind(null,Ue,e),[i.memoizedState,e]}function dc(e){var t=bt();return ho(t,Nt,e)}function ho(e,t,l){var i=e.queue;if(i===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");i.lastRenderedReducer=l;var c=e.baseQueue,s=i.pending;if(s!==null){if(c!==null){var g=c.next;c.next=s.next,s.next=g}t.baseQueue!==c&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=c=s,i.pending=null}if(s=e.baseState,c===null)e.memoizedState=s;else{t=c.next;var y=g=null,T=null,E=t,H=!1;do{var B=E.lane&-536870913;if(B!==E.lane?(Je&B)===B:(Qc&B)===B){var O=E.revertLane;if(O===0)T!==null&&(T=T.next={lane:0,revertLane:0,gesture:null,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null}),B===rd&&(H=!0);else if((Qc&O)===O){E=E.next,O===rd&&(H=!0);continue}else B={lane:0,revertLane:E.revertLane,gesture:null,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null},T===null?(y=T=B,g=s):T=T.next=B,Ue.lanes|=O,Es|=O;B=E.action,md&&l(s,B),s=E.hasEagerState?E.eagerState:l(s,B)}else O={lane:B,revertLane:E.revertLane,gesture:E.gesture,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null},T===null?(y=T=O,g=s):T=T.next=O,Ue.lanes|=B,Es|=B;E=E.next}while(E!==null&&E!==t);if(T===null?g=s:T.next=y,!ga(s,e.memoizedState)&&(Wn=!0,H&&(l=M0,l!==null)))throw l;e.memoizedState=s,e.baseState=g,e.baseQueue=T,i.lastRenderedState=s}return c===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function hc(e){var t=bt(),l=t.queue;if(l===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");l.lastRenderedReducer=e;var i=l.dispatch,c=l.pending,s=t.memoizedState;if(c!==null){l.pending=null;var g=c=c.next;do s=e(s,g.action),g=g.next;while(g!==c);ga(s,t.memoizedState)||(Wn=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),l.lastRenderedState=s}return[s,i]}function Er(e,t,l){var i=Ue,c=xn();if(tt){if(l===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var s=l();N0||s===l()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),N0=!0)}else{if(s=t(),N0||(l=t(),ga(s,l)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),N0=!0)),Bt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Je&127)!==0||Ym(i,t,s)}return c.memoizedState=s,l={value:s,getSnapshot:t},c.queue=l,gc(mo.bind(null,i,l,e),[e]),i.flags|=2048,Zu(fi|ba,{destroy:void 0},km.bind(null,i,l,s,t),null),s}function mc(e,t,l){var i=Ue,c=bt(),s=tt;if(s){if(l===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");l=l()}else if(l=t(),!N0){var g=t();ga(l,g)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),N0=!0)}(g=!ga((Nt||c).memoizedState,l))&&(c.memoizedState=l,Wn=!0),c=c.queue;var y=mo.bind(null,i,c,e);if(Cn(2048,ba,y,[e]),c.getSnapshot!==t||g||Kn!==null&&Kn.memoizedState.tag&fi){if(i.flags|=2048,Zu(fi|ba,{destroy:void 0},km.bind(null,i,c,l,t),null),Bt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");s||(Qc&127)!==0||Ym(i,t,l)}return l}function Ym(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=Ue.updateQueue,t===null?(t=sf(),Ue.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function km(e,t,l,i){t.value=l,t.getSnapshot=i,po(t)&&Gm(e)}function mo(e,t,l){return l(function(){po(t)&&(Cu(2,"updateSyncExternalStore()",e),Gm(e))})}function po(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!ga(e,l)}catch{return!0}}function Gm(e){var t=sl(e,2);t!==null&&Me(t,e,2)}function ih(e){var t=xn();if(typeof e=="function"){var l=e;if(e=l(),md){At(!0);try{l()}finally{At(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ua,lastRenderedState:e},t}function go(e){e=ih(e);var t=e.queue,l=dh.bind(null,Ue,t);return t.dispatch=l,[e.memoizedState,l]}function pc(e){var t=xn();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=vf.bind(null,Ue,!0,l),l.dispatch=t,[e,t]}function df(e,t){var l=bt();return _r(l,Nt,e,t)}function _r(e,t,l,i){return e.baseState=l,ho(e,Nt,typeof i=="function"?i:ua)}function hf(e,t){var l=bt();return Nt!==null?_r(l,Nt,e,t):(l.baseState=e,[e,l.queue.dispatch])}function ky(e,t,l,i,c){if(Ln(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var s={payload:c,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(g){s.listeners.push(g)}};Q.T!==null?l(!0):s.isTransition=!1,i(s),l=t.pending,l===null?(s.next=t.pending=s,yo(t,s)):(s.next=l.next,t.pending=l.next=s)}}function yo(e,t){var l=t.action,i=t.payload,c=e.state;if(t.isTransition){var s=Q.T,g={};g._updatedFibers=new Set,Q.T=g;try{var y=l(c,i),T=Q.S;T!==null&&T(g,y),Lm(e,t,y)}catch(E){mf(e,t,E)}finally{s!==null&&g.types!==null&&(s.types!==null&&s.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."),s.types=g.types),Q.T=s,s===null&&g._updatedFibers&&(e=g._updatedFibers.size,g._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{g=l(c,i),Lm(e,t,g)}catch(E){mf(e,t,E)}}function Lm(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?(Q.asyncTransitions++,l.then(yc,yc),l.then(function(i){Ci(e,t,i)},function(i){return mf(e,t,i)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):Ci(e,t,l)}function Ci(e,t,l){t.status="fulfilled",t.value=l,oh(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,yo(e,l)))}function mf(e,t,l){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do t.status="rejected",t.reason=l,oh(t),t=t.next;while(t!==i)}e.action=null}function oh(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Ui(e,t){return t}function ia(e,t){if(tt){var l=Bt.formState;if(l!==null){e:{var i=Ue;if(tt){if(Ft){t:{for(var c=Ft,s=ci;c.nodeType!==8;){if(!s){c=null;break t}if(c=da(c.nextSibling),c===null){c=null;break t}}s=c.data,c=s===C2||s===X3?c:null}if(c){Ft=da(c.nextSibling),i=c.data===C2;break e}}Ra(i)}i=!1}i&&(t=l[0])}}return l=xn(),l.memoizedState=l.baseState=t,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ui,lastRenderedState:t},l.queue=i,l=dh.bind(null,Ue,i),i.dispatch=l,i=ih(!1),s=vf.bind(null,Ue,!1,i.queue),i=xn(),c={state:t,dispatch:null,action:e,pending:null},i.queue=c,l=ky.bind(null,Ue,c,s,l),c.dispatch=l,i.memoizedState=e,[t,l,!1]}function vo(e){var t=bt();return ch(t,Nt,e)}function ch(e,t,l){if(t=ho(e,t,Ui)[0],e=dc(ua)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var i=ff(t)}catch(g){throw g===C0?cv:g}else i=t;t=bt();var c=t.queue,s=c.dispatch;return l!==t.memoizedState&&(Ue.flags|=2048,Zu(fi|ba,{destroy:void 0},Vm.bind(null,c,l),null)),[i,s,e]}function Vm(e,t){e.action=t}function bo(e){var t=bt(),l=Nt;if(l!==null)return ch(t,l,e);bt(),t=t.memoizedState,l=bt();var i=l.queue.dispatch;return l.memoizedState=e,[t,i,!1]}function Zu(e,t,l,i){return e={tag:e,create:l,deps:i,inst:t,next:null},t=Ue.updateQueue,t===null&&(t=sf(),Ue.updateQueue=t),l=t.lastEffect,l===null?t.lastEffect=e.next=e:(i=l.next,l.next=e,e.next=i,t.lastEffect=e),e}function rh(e){var t=xn();return e={current:e},t.memoizedState=e}function So(e,t,l,i){var c=xn();Ue.flags|=e,c.memoizedState=Zu(fi|t,{destroy:void 0},l,i===void 0?null:i)}function Cn(e,t,l,i){var c=bt();i=i===void 0?null:i;var s=c.memoizedState.inst;Nt!==null&&i!==null&&Zm(i,Nt.memoizedState.deps)?c.memoizedState=Zu(t,s,l,i):(Ue.flags|=e,c.memoizedState=Zu(fi|t,s,l,i))}function gc(e,t){(Ue.mode&Xi)!==we?So(276826112,ba,e,t):So(8390656,ba,e,t)}function Gy(e){Ue.flags|=4;var t=Ue.updateQueue;if(t===null)t=sf(),Ue.updateQueue=t,t.events=[e];else{var l=t.events;l===null?t.events=[e]:l.push(e)}}function pf(e){var t=xn(),l={impl:e};return t.memoizedState=l,function(){if((ot&il)!==yl)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return l.impl.apply(void 0,arguments)}}function Ar(e){var t=bt().memoizedState;return Gy({ref:t,nextImpl:e}),function(){if((ot&il)!==yl)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function Al(e,t){var l=4194308;return(Ue.mode&Xi)!==we&&(l|=134217728),So(l,vu,e,t)}function oa(e,t){if(typeof t=="function"){e=e();var l=t(e);return function(){typeof l=="function"?l():t(null)}}if(t!=null)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function qu(e,t,l){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),l=l!=null?l.concat([e]):null;var i=4194308;(Ue.mode&Xi)!==we&&(i|=134217728),So(i,vu,oa.bind(null,t,e),l)}function xr(e,t,l){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),l=l!=null?l.concat([e]):null,Cn(4,vu,oa.bind(null,t,e),l)}function sh(e,t){return xn().memoizedState=[e,t===void 0?null:t],e}function au(e,t){var l=bt();t=t===void 0?null:t;var i=l.memoizedState;return t!==null&&Zm(t,i[1])?i[0]:(l.memoizedState=[e,t],e)}function xl(e,t){var l=xn();t=t===void 0?null:t;var i=e();if(md){At(!0);try{e()}finally{At(!1)}}return l.memoizedState=[i,t],i}function $t(e,t){var l=bt();t=t===void 0?null:t;var i=l.memoizedState;if(t!==null&&Zm(t,i[1]))return i[0];if(i=e(),md){At(!0);try{e()}finally{At(!1)}}return l.memoizedState=[i,t],i}function Rr(e,t){var l=xn();return St(l,e,t)}function Yu(e,t){var l=bt();return Tn(l,Nt.memoizedState,e,t)}function qe(e,t){var l=bt();return Nt===null?St(l,e,t):Tn(l,Nt.memoizedState,e,t)}function St(e,t,l){return l===void 0||(Qc&1073741824)!==0&&(Je&261930)===0?e.memoizedState=t:(e.memoizedState=l,e=Hr(),Ue.lanes|=e,Es|=e,l)}function Tn(e,t,l,i){return ga(l,t)?l:j0.current!==null?(e=St(e,l,i),ga(e,t)||(Wn=!0),e):(Qc&42)===0||(Qc&1073741824)!==0&&(Je&261930)===0?(Wn=!0,e.memoizedState=l):(e=Hr(),Ue.lanes|=e,Es|=e,t)}function yc(){Q.asyncTransitions--}function vc(e,t,l,i,c){var s=gt.p;gt.p=s!==0&&s<al?s:al;var g=Q.T,y={};y._updatedFibers=new Set,Q.T=y,vf(e,!1,t,l);try{var T=c(),E=Q.S;if(E!==null&&E(y,T),T!==null&&typeof T=="object"&&typeof T.then=="function"){Q.asyncTransitions++,T.then(yc,yc);var H=th(T,i);bc(e,t,H,dl(e))}else bc(e,t,i,dl(e))}catch(B){bc(e,t,{then:function(){},status:"rejected",reason:B},dl(e))}finally{gt.p=s,g!==null&&y.types!==null&&(g.types!==null&&g.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."),g.types=y.types),Q.T=g,g===null&&y._updatedFibers&&(e=y._updatedFibers.size,y._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function ji(e,t,l,i){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var c=gf(e).queue;qy(e),vc(e,c,t,Ad,l===null?R:function(){return Dr(e),l(i)})}function gf(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Ad,baseState:Ad,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ua,lastRenderedState:Ad},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ua,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Dr(e){Q.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=gf(e);t.next===null&&(t=e.alternate.memoizedState),bc(e,t.next.queue,{},dl(e))}function To(){var e=ih(!1);return e=vc.bind(null,Ue,e.queue,!0,!1),xn().memoizedState=e,[!1,e]}function Ly(){var e=dc(ua)[0],t=bt().memoizedState;return[typeof e=="boolean"?e:ff(e),t]}function en(){var e=hc(ua)[0],t=bt().memoizedState;return[typeof e=="boolean"?e:ff(e),t]}function Hi(){return mt(Fg)}function yf(){var e=xn(),t=Bt.identifierPrefix;if(tt){var l=kc,i=Yc;l=(i&~(1<<32-ll(i)-1)).toString(32)+l,t="_"+t+"R_"+l,l=hv++,0<l&&(t+="H"+l.toString(32)),t+="_"}else l=nA++,t="_"+t+"r_"+l.toString(32)+"_";return e.memoizedState=t}function fh(){return xn().memoizedState=Vy.bind(null,Ue)}function Vy(e,t){for(var l=e.return;l!==null;){switch(l.tag){case 24:case 3:var i=dl(l),c=Mn(i),s=Hu(l,c,i);s!==null&&(Cu(i,"refresh()",e),Me(s,l,i),Ca(s,l,i)),e=Pd(),t!=null&&s!==null&&console.error("The seed argument is not enabled outside experimental channels."),c.payload={cache:e};return}l=l.return}}function zb(e,t,l){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=dl(e);var c={lane:i,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};Ln(e)?fn(t,c):(c=ec(e,t,c,i),c!==null&&(Cu(i,"dispatch()",e),Me(c,e,i),bf(c,t,i)))}function dh(e,t,l){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=dl(e),bc(e,t,l,i)&&Cu(i,"setState()",e)}function bc(e,t,l,i){var c={lane:i,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Ln(e))fn(t,c);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null)){var g=Q.H;Q.H=$i;try{var y=t.lastRenderedState,T=s(y,l);if(c.hasEagerState=!0,c.eagerState=T,ga(T,y))return hr(e,t,c,0),Bt===null&&$d(),!1}catch{}finally{Q.H=g}}if(l=ec(e,t,c,i),l!==null)return Me(l,e,i),bf(l,t,i),!0}return!1}function vf(e,t,l,i){if(Q.T===null&&rd===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:Mp(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Ln(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=ec(e,l,i,2),t!==null&&(Cu(2,"setOptimistic()",e),Me(t,e,2))}function Ln(e){var t=e.alternate;return e===Ue||t!==null&&t===Ue}function fn(e,t){B0=dv=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function bf(e,t,l){if((l&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,l|=i,t.lanes=l,qs(e,l)}}function Sc(e){if(e!==null&&typeof e!="function"){var t=String(e);y3.has(t)||(y3.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function Or(e,t,l,i){var c=e.memoizedState,s=l(i,c);if(e.mode&Jl){At(!0);try{s=l(i,c)}finally{At(!1)}}s===void 0&&(t=Ne(t)||"Component",h3.has(t)||(h3.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),c=s==null?c:Xe({},c,s),e.memoizedState=c,e.lanes===0&&(e.updateQueue.baseState=c)}function hh(e,t,l,i,c,s,g){var y=e.stateNode;if(typeof y.shouldComponentUpdate=="function"){if(l=y.shouldComponentUpdate(i,s,g),e.mode&Jl){At(!0);try{l=y.shouldComponentUpdate(i,s,g)}finally{At(!1)}}return l===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Ne(t)||"Component"),l}return t.prototype&&t.prototype.isPureReactComponent?!dr(l,i)||!dr(c,s):!0}function ku(e,t,l,i){var c=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(l,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(l,i),t.state!==c&&(e=ge(e)||"Component",c3.has(e)||(c3.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),s2.enqueueReplaceState(t,t.state,null))}function Gu(e,t){var l=t;if("ref"in t){l={};for(var i in t)i!=="ref"&&(l[i]=t[i])}if(e=e.defaultProps){l===t&&(l=Xe({},l));for(var c in e)l[c]===void 0&&(l[c]=e[c])}return l}function mh(e){kb(e),console.warn(`%s
|
|
113
|
+
|
|
114
|
+
%s
|
|
115
|
+
`,Z0?"An error occurred in the <"+Z0+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
116
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function ph(e){var t=Z0?"The above error occurred in the <"+Z0+"> component.":"The above error occurred in one of your React components.",l="React will try to recreate this component tree from scratch using the error boundary you provided, "+((f2||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var i=e.environmentName;e=[`%o
|
|
117
|
+
|
|
118
|
+
%s
|
|
119
|
+
|
|
120
|
+
%s
|
|
121
|
+
`,e,t,l].slice(0),typeof e[0]=="string"?e.splice(0,1,P3+" "+e[0],e4,Zv+i+Zv,t4):e.splice(0,0,P3,e4,Zv+i+Zv,t4),e.unshift(console),i=EA.apply(console.error,e),i()}else console.error(`%o
|
|
122
|
+
|
|
123
|
+
%s
|
|
124
|
+
|
|
125
|
+
%s
|
|
126
|
+
`,e,t,l)}function Xm(e){kb(e)}function Sf(e,t){try{Z0=t.source?ge(t.source):null,f2=null;var l=t.value;if(Q.actQueue!==null)Q.thrownErrors.push(l);else{var i=e.onUncaughtError;i(l,{componentStack:t.stack})}}catch(c){setTimeout(function(){throw c})}}function Qm(e,t,l){try{Z0=l.source?ge(l.source):null,f2=ge(t);var i=e.onCaughtError;i(l.value,{componentStack:l.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function gh(e,t,l){return l=Mn(l),l.tag=a2,l.payload={element:null},l.callback=function(){fe(t.source,Sf,e,t)},l}function yh(e){return e=Mn(e),e.tag=a2,e}function vh(e,t,l,i){var c=l.type.getDerivedStateFromError;if(typeof c=="function"){var s=i.value;e.payload=function(){return c(s)},e.callback=function(){tc(l),fe(i.source,Qm,t,l,i)}}var g=l.stateNode;g!==null&&typeof g.componentDidCatch=="function"&&(e.callback=function(){tc(l),fe(i.source,Qm,t,l,i),typeof c!="function"&&(As===null?As=new Set([this]):As.add(this)),I_(this,i),typeof c=="function"||(l.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.",ge(l)||"Unknown")})}function $m(e,t,l,i,c){if(l.flags|=32768,ti&&Yr(e,c),i!==null&&typeof i=="object"&&typeof i.then=="function"){if(t=l.alternate,t!==null&&Pa(t,l,c,!0),tt&&(Bo=!0),l=yu.current,l!==null){switch(l.tag){case 31:case 13:return si===null?Br():l.alternate===null&&hn===Wc&&(hn=gv),l.flags&=-257,l.flags|=65536,l.lanes=c,i===rv?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([i]):t.add(i),Zh(e,i,c)),!1;case 22:return l.flags|=65536,i===rv?l.flags|=16384:(t=l.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([i])},l.updateQueue=t):(l=t.retryQueue,l===null?t.retryQueue=new Set([i]):l.add(i)),Zh(e,i,c)),!1}throw Error("Unexpected Suspense handler tag ("+l.tag+"). This is a bug in React.")}return Zh(e,i,c),Br(),!1}if(tt)return Bo=!0,t=yu.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=c,i!==$b&&Is(Sl(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:i}),l))):(i!==$b&&Is(Sl(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:i}),l)),e=e.current.alternate,e.flags|=65536,c&=-c,e.lanes|=c,i=Sl(i,l),c=gh(e.stateNode,i,c),af(e,c),hn!==Ts&&(hn=pd)),!1;var s=Sl(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:i}),l);if(Gg===null?Gg=[s]:Gg.push(s),hn!==Ts&&(hn=pd),t===null)return!0;i=Sl(i,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=c&-c,l.lanes|=e,e=gh(l.stateNode,i,e),af(l,e),!1;case 1:if(t=l.type,s=l.stateNode,(l.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||s!==null&&typeof s.componentDidCatch=="function"&&(As===null||!As.has(s))))return l.flags|=65536,c&=-c,l.lanes|=c,c=yh(c),vh(c,e,l,i),af(l,c),!1}l=l.return}while(l!==null);return!1}function Vn(e,t,l,i){t.child=e===null?F5(t,null,l,i):hd(t,e.child,l,i)}function Xy(e,t,l,i,c){l=l.render;var s=t.ref;if("ref"in i){var g={};for(var y in i)y!=="ref"&&(g[y]=i[y])}else g=i;return ro(t),i=qm(e,t,l,g,s,c),y=fc(),e!==null&&!Wn?(rf(e,t,c),uu(e,t,c)):(tt&&y&&Wd(t),t.flags|=1,Vn(e,t,i,c),t.child)}function Jm(e,t,l,i,c){if(e===null){var s=l.type;return typeof s=="function"&&!xm(s)&&s.defaultProps===void 0&&l.compare===null?(l=ao(s),t.tag=15,t.type=l,wr(t,s),Km(e,t,l,i,c)):(e=nc(l.type,null,i,t,t.mode,c),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!Eh(e,c)){var g=s.memoizedProps;if(l=l.compare,l=l!==null?l:dr,l(g,i)&&e.ref===t.ref)return uu(e,t,c)}return t.flags|=1,e=Mu(s,i),e.ref=t.ref,e.return=t,t.child=e}function Km(e,t,l,i,c){if(e!==null){var s=e.memoizedProps;if(dr(s,i)&&e.ref===t.ref&&t.type===e.type)if(Wn=!1,t.pendingProps=i=s,Eh(e,c))(e.flags&131072)!==0&&(Wn=!0);else return t.lanes=e.lanes,uu(e,t,c)}return Pm(e,t,l,i,c)}function Wm(e,t,l,i){var c=i.children,s=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:yg,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.mode==="hidden"){if((t.flags&128)!==0){if(s=s!==null?s.baseLanes|l:l,e!==null){for(i=t.child=e.child,c=0;i!==null;)c=c|i.lanes|i.childLanes,i=i.sibling;i=c&~s}else i=0,t.child=null;return Fm(e,t,s,l,i)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&vr(t,s!==null?s.cachePool:null),s!==null?ah(t,s):Oi(t),uh(t);else return i=t.lanes=536870912,Fm(e,t,s!==null?s.baseLanes|l:l,l,i)}else s!==null?(vr(t,s.cachePool),ah(t,s),Bu(t),t.memoizedState=null):(e!==null&&vr(t,null),Oi(t),Bu(t));return Vn(e,t,c,l),t.child}function Tc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:yg,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Fm(e,t,l,i,c){var s=Di();return s=s===null?null:{parent:$n._currentValue,pool:s},t.memoizedState={baseLanes:l,cachePool:s},e!==null&&vr(t,null),Oi(t),uh(t),e!==null&&Pa(e,t,i,!0),t.childLanes=c,null}function Tf(e,t){var l=t.hidden;return l!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
127
|
+
- <Activity %s>
|
|
128
|
+
+ <Activity %s>`,l===!0?"hidden":l===!1?"hidden={false}":"hidden={...}",l?'mode="hidden"':'mode="visible"'),t=Ef({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Im(e,t,l){return hd(t,e.child,null,l),e=Tf(t,t.pendingProps),e.flags|=2,Gn(t),t.memoizedState=null,e}function Qy(e,t,l){var i=t.pendingProps,c=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(tt){if(i.mode==="hidden")return e=Tf(t,i),t.lanes=536870912,Tc(null,e);if(lu(t),(e=Ft)?(l=zt(e,ci),l=l!==null&&l.data===Td?l:null,l!==null&&(i={dehydrated:l,treeContext:Ny(),retryLane:536870912,hydrationErrors:null},t.memoizedState=i,i=Dm(l),i.return=t,t.child=i,Hl=t,Ft=null)):l=null,l===null)throw fl(t,e),Ra(t);return t.lanes=536870912,null}return Tf(t,i)}var s=e.memoizedState;if(s!==null){var g=s.dehydrated;if(lu(t),c)if(t.flags&256)t.flags&=-257,t=Im(e,t,l);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(Zy(),(l&536870912)!==0&&Nr(t),Wn||Pa(e,t,l,!1),c=(l&e.childLanes)!==0,Wn||c){if(i=Bt,i!==null&&(g=Si(i,l),g!==0&&g!==s.retryLane))throw s.retryLane=g,sl(e,g),Me(i,e,g),d2;Br(),t=Im(e,t,l)}else e=s.treeContext,Ft=da(g.nextSibling),Hl=t,tt=!0,ps=null,Bo=!1,gu=null,ci=!1,e!==null&&By(t,e),t=Tf(t,i),t.flags|=4096;return t}return s=e.child,i={mode:i.mode,children:i.children},(l&536870912)!==0&&(l&e.lanes)!==0&&Nr(t),e=Mu(s,i),e.ref=t.ref,t.child=e,e.return=t,e}function zf(e,t){var l=t.ref;if(l===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==l)&&(t.flags|=4194816)}}function Pm(e,t,l,i,c){if(l.prototype&&typeof l.prototype.render=="function"){var s=Ne(l)||"Unknown";v3[s]||(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.",s,s),v3[s]=!0)}return t.mode&Jl&&Qi.recordLegacyContextWarning(t,null),e===null&&(wr(t,t.type),l.contextTypes&&(s=Ne(l)||"Unknown",S3[s]||(S3[s]=!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)",s)))),ro(t),l=qm(e,t,l,i,void 0,c),i=fc(),e!==null&&!Wn?(rf(e,t,c),uu(e,t,c)):(tt&&i&&Wd(t),t.flags|=1,Vn(e,t,l,c),t.child)}function ep(e,t,l,i,c,s){return ro(t),Jc=-1,Hg=e!==null&&e.type!==t.type,t.updateQueue=null,l=of(t,i,l,c),Sn(e,t),i=fc(),e!==null&&!Wn?(rf(e,t,s),uu(e,t,s)):(tt&&i&&Wd(t),t.flags|=1,Vn(e,t,l,s),t.child)}function zc(e,t,l,i,c){switch(z(t)){case!1:var s=t.stateNode,g=new t.type(t.memoizedProps,s.context).state;s.updater.enqueueSetState(s,g,null);break;case!0:t.flags|=128,t.flags|=65536,s=Error("Simulated error coming from DevTools");var y=c&-c;if(t.lanes|=y,g=Bt,g===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");y=yh(y),vh(y,g,t,Sl(s,t)),af(t,y)}if(ro(t),t.stateNode===null){if(g=ms,s=l.contextType,"contextType"in l&&s!==null&&(s===void 0||s.$$typeof!==hu)&&!g3.has(l)&&(g3.add(l),y=s===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 s!="object"?" However, it is set to a "+typeof s+".":s.$$typeof===i0?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(s).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Ne(l)||"Component",y)),typeof s=="object"&&s!==null&&(g=mt(s)),s=new l(i,g),t.mode&Jl){At(!0);try{s=new l(i,g)}finally{At(!1)}}if(g=t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=s2,t.stateNode=s,s._reactInternals=t,s._reactInternalInstance=o3,typeof l.getDerivedStateFromProps=="function"&&g===null&&(g=Ne(l)||"Component",r3.has(g)||(r3.add(g),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.",g,s.state===null?"null":"undefined",g))),typeof l.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"){var T=y=g=null;if(typeof s.componentWillMount=="function"&&s.componentWillMount.__suppressDeprecationWarning!==!0?g="componentWillMount":typeof s.UNSAFE_componentWillMount=="function"&&(g="UNSAFE_componentWillMount"),typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps.__suppressDeprecationWarning!==!0?y="componentWillReceiveProps":typeof s.UNSAFE_componentWillReceiveProps=="function"&&(y="UNSAFE_componentWillReceiveProps"),typeof s.componentWillUpdate=="function"&&s.componentWillUpdate.__suppressDeprecationWarning!==!0?T="componentWillUpdate":typeof s.UNSAFE_componentWillUpdate=="function"&&(T="UNSAFE_componentWillUpdate"),g!==null||y!==null||T!==null){s=Ne(l)||"Component";var E=typeof l.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";f3.has(s)||(f3.add(s),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
129
|
+
|
|
130
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
131
|
+
|
|
132
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
133
|
+
https://react.dev/link/unsafe-component-lifecycles`,s,E,g!==null?`
|
|
134
|
+
`+g:"",y!==null?`
|
|
135
|
+
`+y:"",T!==null?`
|
|
136
|
+
`+T:""))}}s=t.stateNode,g=Ne(l)||"Component",s.render||(l.prototype&&typeof l.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",g):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",g)),!s.getInitialState||s.getInitialState.isReactClassApproved||s.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?",g),s.getDefaultProps&&!s.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.",g),s.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",g),l.childContextTypes&&!p3.has(l)&&(p3.add(l),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",g)),l.contextTypes&&!m3.has(l)&&(m3.add(l),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)",g)),typeof s.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.",g),l.prototype&&l.prototype.isPureReactComponent&&typeof s.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.",Ne(l)||"A pure component"),typeof s.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",g),typeof s.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().",g),typeof s.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",g),typeof s.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",g),y=s.props!==i,s.props!==void 0&&y&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",g),s.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.",g,g),typeof s.getSnapshotBeforeUpdate!="function"||typeof s.componentDidUpdate=="function"||s3.has(l)||(s3.add(l),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Ne(l))),typeof s.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",g),typeof s.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",g),typeof l.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",g),(y=s.state)&&(typeof y!="object"||Dn(y))&&console.error("%s.state: must be set to an object or null",g),typeof s.getChildContext=="function"&&typeof l.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",g),s=t.stateNode,s.props=i,s.state=t.memoizedState,s.refs={},Pe(t),g=l.contextType,s.context=typeof g=="object"&&g!==null?mt(g):ms,s.state===i&&(g=Ne(l)||"Component",d3.has(g)||(d3.add(g),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.",g))),t.mode&Jl&&Qi.recordLegacyContextWarning(t,s),Qi.recordUnsafeLifecycleWarnings(t,s),s.state=t.memoizedState,g=l.getDerivedStateFromProps,typeof g=="function"&&(Or(t,l,g,i),s.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(g=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),g!==s.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",ge(t)||"Component"),s2.enqueueReplaceState(s,s.state,null)),Nu(t,i,s,c),Sr(),s.state=t.memoizedState),typeof s.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Xi)!==we&&(t.flags|=134217728),s=!0}else if(e===null){s=t.stateNode;var H=t.memoizedProps;y=Gu(l,H),s.props=y;var B=s.context;T=l.contextType,g=ms,typeof T=="object"&&T!==null&&(g=mt(T)),E=l.getDerivedStateFromProps,T=typeof E=="function"||typeof s.getSnapshotBeforeUpdate=="function",H=t.pendingProps!==H,T||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(H||B!==g)&&ku(t,s,i,g),Ss=!1;var O=t.memoizedState;s.state=O,Nu(t,i,s,c),Sr(),B=t.memoizedState,H||O!==B||Ss?(typeof E=="function"&&(Or(t,l,E,i),B=t.memoizedState),(y=Ss||hh(t,l,y,i,O,B,g))?(T||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Xi)!==we&&(t.flags|=134217728)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Xi)!==we&&(t.flags|=134217728),t.memoizedProps=i,t.memoizedState=B),s.props=i,s.state=B,s.context=g,s=y):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Xi)!==we&&(t.flags|=134217728),s=!1)}else{s=t.stateNode,ju(e,t),g=t.memoizedProps,T=Gu(l,g),s.props=T,E=t.pendingProps,O=s.context,B=l.contextType,y=ms,typeof B=="object"&&B!==null&&(y=mt(B)),H=l.getDerivedStateFromProps,(B=typeof H=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(g!==E||O!==y)&&ku(t,s,i,y),Ss=!1,O=t.memoizedState,s.state=O,Nu(t,i,s,c),Sr();var L=t.memoizedState;g!==E||O!==L||Ss||e!==null&&e.dependencies!==null&&gr(e.dependencies)?(typeof H=="function"&&(Or(t,l,H,i),L=t.memoizedState),(T=Ss||hh(t,l,T,i,O,L,y)||e!==null&&e.dependencies!==null&&gr(e.dependencies))?(B||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(i,L,y),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(i,L,y)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||g===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||g===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=L),s.props=i,s.state=L,s.context=y,s=T):(typeof s.componentDidUpdate!="function"||g===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||g===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),s=!1)}if(y=s,zf(e,t),g=(t.flags&128)!==0,y||g){if(y=t.stateNode,za(t),g&&typeof l.getDerivedStateFromError!="function")l=null,ya=-1;else if(l=B5(y),t.mode&Jl){At(!0);try{B5(y)}finally{At(!1)}}t.flags|=1,e!==null&&g?(t.child=hd(t,e.child,null,c),t.child=hd(t,null,l,c)):Vn(e,t,l,c),t.memoizedState=y.state,e=t.child}else e=uu(e,t,c);return c=t.stateNode,s&&c.props!==i&&(q0||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",ge(t)||"a component"),q0=!0),e}function tp(e,t,l,i){return oo(),t.flags|=256,Vn(e,t,l,i),t.child}function wr(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
137
|
+
%s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=Ne(t)||"Unknown",T3[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),T3[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=Ne(t)||"Unknown",b3[t]||(console.error("%s: Function components do not support contextType.",t),b3[t]=!0))}function Mr(e){return{baseLanes:e,cachePool:jm()}}function bh(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=Ya),e}function Sh(e,t,l){var i,c=t.pendingProps;S(t)&&(t.flags|=128);var s=!1,g=(t.flags&128)!==0;if((i=g)||(i=e!==null&&e.memoizedState===null?!1:(Nn.current&Ug)!==0),i&&(s=!0,t.flags&=-129),i=(t.flags&32)!==0,t.flags&=-33,e===null){if(tt){if(s?_l(t):Bu(t),(e=Ft)?(l=zt(e,ci),l=l!==null&&l.data!==Td?l:null,l!==null&&(i={dehydrated:l,treeContext:Ny(),retryLane:536870912,hydrationErrors:null},t.memoizedState=i,i=Dm(l),i.return=t,t.child=i,Hl=t,Ft=null)):l=null,l===null)throw fl(t,e),Ra(t);return jp(l)?t.lanes=32:t.lanes=536870912,null}var y=c.children;if(c=c.fallback,s){Bu(t);var T=t.mode;return y=Ef({mode:"hidden",children:y},T),c=lc(c,T,l,null),y.return=t,c.return=t,y.sibling=c,t.child=y,c=t.child,c.memoizedState=Mr(l),c.childLanes=bh(e,i,l),t.memoizedState=h2,Tc(null,c)}return _l(t),np(t,y)}var E=e.memoizedState;if(E!==null){var H=E.dehydrated;if(H!==null){if(g)t.flags&256?(_l(t),t.flags&=-257,t=Th(e,t,l)):t.memoizedState!==null?(Bu(t),t.child=e.child,t.flags|=128,t=null):(Bu(t),y=c.fallback,T=t.mode,c=Ef({mode:"visible",children:c.children},T),y=lc(y,T,l,null),y.flags|=2,c.return=t,y.return=t,c.sibling=y,t.child=c,hd(t,e.child,null,l),c=t.child,c.memoizedState=Mr(l),c.childLanes=bh(e,i,l),t.memoizedState=h2,t=Tc(null,c));else if(_l(t),Zy(),(l&536870912)!==0&&Nr(t),jp(H)){if(i=H.nextSibling&&H.nextSibling.dataset,i){y=i.dgst;var B=i.msg;T=i.stck;var O=i.cstck}s=B,i=y,c=T,H=O,y=s,T=H,y=Error(y||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),y.stack=c||"",y.digest=i,i=T===void 0?null:T,c={value:y,source:null,stack:i},typeof i=="string"&&Qb.set(y,c),Is(c),t=Th(e,t,l)}else if(Wn||Pa(e,t,l,!1),i=(l&e.childLanes)!==0,Wn||i){if(i=Bt,i!==null&&(c=Si(i,l),c!==0&&c!==E.retryLane))throw E.retryLane=c,sl(e,c),Me(i,e,c),d2;kf(H)||Br(),t=Th(e,t,l)}else kf(H)?(t.flags|=192,t.child=e.child,t=null):(e=E.treeContext,Ft=da(H.nextSibling),Hl=t,tt=!0,ps=null,Bo=!1,gu=null,ci=!1,e!==null&&By(t,e),t=np(t,c.children),t.flags|=4096);return t}}return s?(Bu(t),y=c.fallback,T=t.mode,O=e.child,H=O.sibling,c=Mu(O,{mode:"hidden",children:c.children}),c.subtreeFlags=O.subtreeFlags&65011712,H!==null?y=Mu(H,y):(y=lc(y,T,l,null),y.flags|=2),y.return=t,c.return=t,c.sibling=y,t.child=c,Tc(null,c),c=t.child,y=e.child.memoizedState,y===null?y=Mr(l):(T=y.cachePool,T!==null?(O=$n._currentValue,T=T.parent!==O?{parent:O,pool:O}:T):T=jm(),y={baseLanes:y.baseLanes|l,cachePool:T}),c.memoizedState=y,c.childLanes=bh(e,i,l),t.memoizedState=h2,Tc(e.child,c)):(E!==null&&(l&62914560)===l&&(l&e.lanes)!==0&&Nr(t),_l(t),l=e.child,e=l.sibling,l=Mu(l,{mode:"visible",children:c.children}),l.return=t,l.sibling=null,e!==null&&(i=t.deletions,i===null?(t.deletions=[e],t.flags|=16):i.push(e)),t.child=l,t.memoizedState=null,l)}function np(e,t){return t=Ef({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Ef(e,t){return e=I(22,e,null,t),e.lanes=0,e}function Th(e,t,l){return hd(t,e.child,null,l),e=np(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function lp(e,t,l){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),Id(e.return,t,l)}function zh(e,t,l,i,c,s){var g=e.memoizedState;g===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:l,tailMode:c,treeForkCount:s}:(g.isBackwards=t,g.rendering=null,g.renderingStartTime=0,g.last=i,g.tail=l,g.tailMode=c,g.treeForkCount=s)}function ap(e,t,l){var i=t.pendingProps,c=i.revealOrder,s=i.tail,g=i.children,y=Nn.current;if((i=(y&Ug)!==0)?(y=y&H0|Ug,t.flags|=128):y&=H0,xe(Nn,y,t),y=c??"null",c!=="forwards"&&c!=="unstable_legacy-backwards"&&c!=="together"&&c!=="independent"&&!z3[y])if(z3[y]=!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);y=s??"null",pv[y]||(s==null?(c==="forwards"||c==="backwards"||c==="unstable_legacy-backwards")&&(pv[y]=!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".')):s!=="visible"&&s!=="collapsed"&&s!=="hidden"?(pv[y]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',s)):c!=="forwards"&&c!=="backwards"&&c!=="unstable_legacy-backwards"&&(pv[y]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',s)));e:if((c==="forwards"||c==="backwards"||c==="unstable_legacy-backwards")&&g!==void 0&&g!==null&&g!==!1)if(Dn(g)){for(y=0;y<g.length;y++)if(!Ut(g[y],y))break e}else if(y=Ct(g),typeof y=="function"){if(y=y.call(g))for(var T=y.next(),E=0;!T.done;T=y.next()){if(!Ut(T.value,E))break e;E++}}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(Vn(e,t,g,l),tt?(io(),g=vg):g=0,!i&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&lp(e,l,t);else if(e.tag===19)lp(e,l,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(c){case"forwards":for(l=t.child,c=null;l!==null;)e=l.alternate,e!==null&&sc(e)===null&&(c=l),l=l.sibling;l=c,l===null?(c=t.child,t.child=null):(c=l.sibling,l.sibling=null),zh(t,!1,c,l,s,g);break;case"backwards":case"unstable_legacy-backwards":for(l=null,c=t.child,t.child=null;c!==null;){if(e=c.alternate,e!==null&&sc(e)===null){t.child=c;break}e=c.sibling,c.sibling=l,l=c,c=e}zh(t,!0,l,null,s,g);break;case"together":zh(t,!1,null,null,void 0,g);break;default:t.memoizedState=null}return t.child}function uu(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),ya=-1,Es|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(Pa(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,l=Mu(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=Mu(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function Eh(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&gr(e)))}function $y(e,t,l){switch(t.tag){case 3:Vt(t,t.stateNode.containerInfo),Da(t,$n,e.memoizedState.cache),oo();break;case 27:case 5:ae(t);break;case 4:Vt(t,t.stateNode.containerInfo);break;case 10:Da(t,t.type,t.memoizedProps.value);break;case 12:(l&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var i=t.stateNode;i.effectDuration=-0,i.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,lu(t),null;break;case 13:if(i=t.memoizedState,i!==null)return i.dehydrated!==null?(_l(t),t.flags|=128,null):(l&t.child.childLanes)!==0?Sh(e,t,l):(_l(t),e=uu(e,t,l),e!==null?e.sibling:null);_l(t);break;case 19:var c=(e.flags&128)!==0;if(i=(l&t.childLanes)!==0,i||(Pa(e,t,l,!1),i=(l&t.childLanes)!==0),c){if(i)return ap(e,t,l);t.flags|=128}if(c=t.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),xe(Nn,Nn.current,t),i)break;return null;case 22:return t.lanes=0,Wm(e,t,l,t.pendingProps);case 24:Da(t,$n,e.memoizedState.cache)}return uu(e,t,l)}function _f(e,t,l){if(t._debugNeedsRemount&&e!==null){l=nc(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),l._debugStack=t._debugStack,l._debugTask=t._debugTask;var i=t.return;if(i===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,l.index=t.index,l.sibling=t.sibling,l.return=t.return,l.ref=t.ref,l._debugInfo=t._debugInfo,t===i.child)i.child=l;else{var c=i.child;if(c===null)throw Error("Expected parent to have a child.");for(;c.sibling!==t;)if(c=c.sibling,c===null)throw Error("Expected to find the previous sibling.");c.sibling=l}return t=i.deletions,t===null?(i.deletions=[e],i.flags|=16):t.push(e),l.flags|=2,l}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)Wn=!0;else{if(!Eh(e,l)&&(t.flags&128)===0)return Wn=!1,$y(e,t,l);Wn=(e.flags&131072)!==0}else Wn=!1,(i=tt)&&(io(),i=(t.flags&1048576)!==0),i&&(i=t.index,io(),Om(t,vg,i));switch(t.lanes=0,t.tag){case 16:e:if(i=t.pendingProps,e=la(t.elementType),t.type=e,typeof e=="function")xm(e)?(i=Gu(e,i),t.tag=1,t.type=e=ao(e),t=zc(null,t,e,i,l)):(t.tag=0,wr(t,e),t.type=e=ao(e),t=Pm(null,t,e,i,l));else{if(e!=null){if(c=e.$$typeof,c===es){t.tag=11,t.type=e=Jd(e),t=Xy(null,t,e,i,l);break e}else if(c===Ff){t.tag=14,t=Jm(null,t,e,i,l);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===hl&&(t=" Did you wrap a component in React.lazy() more than once?"),l=Ne(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+l+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return Pm(e,t,t.type,t.pendingProps,l);case 1:return i=t.type,c=Gu(i,t.pendingProps),zc(e,t,i,c,l);case 3:e:{if(Vt(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");i=t.pendingProps;var s=t.memoizedState;c=s.element,ju(e,t),Nu(t,i,null,l);var g=t.memoizedState;if(i=g.cache,Da(t,$n,i),i!==s.cache&&Ai(t,[$n],l,!0),Sr(),i=g.element,s.isDehydrated)if(s={element:i,isDehydrated:!1,cache:g.cache},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){t=tp(e,t,i,l);break e}else if(i!==c){c=Sl(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),Is(c),t=tp(e,t,i,l);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,Ft=da(e.firstChild),Hl=t,tt=!0,ps=null,Bo=!1,gu=null,ci=!0,l=F5(t,null,i,l),t.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(oo(),i===c){t=uu(e,t,l);break e}Vn(e,t,i,l)}t=t.child}return t;case 26:return zf(e,t),e===null?(l=Zp(t.type,null,t.pendingProps,null))?t.memoizedState=l:tt||(l=t.type,e=t.pendingProps,i=gn(ha.current),i=qf(i).createElement(l),i[Kt]=t,i[jl]=e,Jt(i,l,e),ye(i),t.stateNode=i):t.memoizedState=Zp(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ae(t),e===null&&tt&&(i=gn(ha.current),c=J(),i=t.stateNode=ki(t.type,t.pendingProps,i,c,!1),Bo||(c=Xl(i,t.type,t.pendingProps,c),c!==null&&(ac(t,0).serverProps=c)),Hl=t,ci=!0,c=Ft,wo(t.type)?(N2=c,Ft=da(i.firstChild)):Ft=c),Vn(e,t,t.pendingProps.children,l),zf(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&tt&&(s=J(),i=Gs(t.type,s.ancestorInfo),c=Ft,(g=!c)||(g=E1(c,t.type,t.pendingProps,ci),g!==null?(t.stateNode=g,Bo||(s=Xl(g,t.type,t.pendingProps,s),s!==null&&(ac(t,0).serverProps=s)),Hl=t,Ft=da(g.firstChild),ci=!1,s=!0):s=!1,g=!s),g&&(i&&fl(t,c),Ra(t))),ae(t),c=t.type,s=t.pendingProps,g=e!==null?e.memoizedProps:null,i=s.children,Xr(c,s)?i=null:g!==null&&Xr(c,g)&&(t.flags|=32),t.memoizedState!==null&&(c=qm(e,t,cf,null,null,l),Fg._currentValue=c),zf(e,t),Vn(e,t,i,l),t.child;case 6:return e===null&&tt&&(l=t.pendingProps,e=J(),i=e.ancestorInfo.current,l=i!=null?Ls(l,i.tag,e.ancestorInfo.implicitRootScope):!0,e=Ft,(i=!e)||(i=_1(e,t.pendingProps,ci),i!==null?(t.stateNode=i,Hl=t,Ft=null,i=!0):i=!1,i=!i),i&&(l&&fl(t,e),Ra(t))),null;case 13:return Sh(e,t,l);case 4:return Vt(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=hd(t,null,i,l):Vn(e,t,i,l),t.child;case 11:return Xy(e,t,t.type,t.pendingProps,l);case 7:return Vn(e,t,t.pendingProps,l),t.child;case 8:return Vn(e,t,t.pendingProps.children,l),t.child;case 12:return t.flags|=4,t.flags|=2048,i=t.stateNode,i.effectDuration=-0,i.passiveEffectDuration=-0,Vn(e,t,t.pendingProps.children,l),t.child;case 10:return i=t.type,c=t.pendingProps,s=c.value,"value"in c||E3||(E3=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Da(t,i,s),Vn(e,t,c.children,l),t.child;case 9:return c=t.type._context,i=t.pendingProps.children,typeof i!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),ro(t),c=mt(c),i=e2(i,c,void 0),t.flags|=1,Vn(e,t,i,l),t.child;case 14:return Jm(e,t,t.type,t.pendingProps,l);case 15:return Km(e,t,t.type,t.pendingProps,l);case 19:return ap(e,t,l);case 31:return Qy(e,t,l);case 22:return Wm(e,t,l,t.pendingProps);case 24:return ro(t),i=mt($n),e===null?(c=Di(),c===null&&(c=Bt,s=Pd(),c.pooledCache=s,ic(s),s!==null&&(c.pooledCacheLanes|=l),c=s),t.memoizedState={parent:i,cache:c},Pe(t),Da(t,$n,c)):((e.lanes&l)!==0&&(ju(e,t),Nu(t,null,null,l),Sr()),c=e.memoizedState,s=t.memoizedState,c.parent!==i?(c={parent:i,cache:i},t.memoizedState=c,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=c),Da(t,$n,i)):(i=s.cache,Da(t,$n,i),i!==c.cache&&Ai(t,[$n],l,!0))),Vn(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Lu(e){e.flags|=4}function _h(e,t,l,i,c){if((t=(e.mode&$_)!==we)&&(t=!1),t){if(e.flags|=16777216,(c&335544128)===c)if(e.stateNode.complete)e.flags|=8192;else if(zp())e.flags|=8192;else throw dd=rv,n2}else e.flags&=-16777217}function Jy(e,t){if(t.type!=="stylesheet"||(t.state.loading&hi)!==_d)e.flags&=-16777217;else if(e.flags|=16777216,!Fe(t))if(zp())e.flags|=8192;else throw dd=rv,n2}function Cr(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?bi():536870912,e.lanes|=t,vd|=t)}function Ur(e,t){if(!tt)switch(e.tailMode){case"hidden":t=e.tail;for(var l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var i=null;l!==null;)l.alternate!==null&&(i=l),l=l.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function Rt(e){var t=e.alternate!==null&&e.alternate.child===e.child,l=0,i=0;if(t)if((e.mode&Qe)!==we){for(var c=e.selfBaseDuration,s=e.child;s!==null;)l|=s.lanes|s.childLanes,i|=s.subtreeFlags&65011712,i|=s.flags&65011712,c+=s.treeBaseDuration,s=s.sibling;e.treeBaseDuration=c}else for(c=e.child;c!==null;)l|=c.lanes|c.childLanes,i|=c.subtreeFlags&65011712,i|=c.flags&65011712,c.return=e,c=c.sibling;else if((e.mode&Qe)!==we){c=e.actualDuration,s=e.selfBaseDuration;for(var g=e.child;g!==null;)l|=g.lanes|g.childLanes,i|=g.subtreeFlags,i|=g.flags,c+=g.actualDuration,s+=g.treeBaseDuration,g=g.sibling;e.actualDuration=c,e.treeBaseDuration=s}else for(c=e.child;c!==null;)l|=c.lanes|c.childLanes,i|=c.subtreeFlags,i|=c.flags,c.return=e,c=c.sibling;return e.subtreeFlags|=i,e.childLanes=l,t}function up(e,t,l){var i=t.pendingProps;switch(Fd(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Rt(t),null;case 1:return Rt(t),null;case 3:return l=t.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),Ia($n,t),U(t),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(uc(t)?(co(),Lu(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Fs())),Rt(t),null;case 26:var c=t.type,s=t.memoizedState;return e===null?(Lu(t),s!==null?(Rt(t),Jy(t,s)):(Rt(t),_h(t,c,null,i,l))):s?s!==e.memoizedState?(Lu(t),Rt(t),Jy(t,s)):(Rt(t),t.flags&=-16777217):(e=e.memoizedProps,e!==i&&Lu(t),Rt(t),_h(t,c,e,i,l)),null;case 27:if(be(t),l=gn(ha.current),c=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Lu(t);else{if(!i){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Rt(t),null}e=J(),uc(t)?wm(t):(e=ki(c,i,l,e,!0),t.stateNode=e,Lu(t))}return Rt(t),null;case 5:if(be(t),c=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Lu(t);else{if(!i){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Rt(t),null}var g=J();if(uc(t))wm(t);else{switch(s=gn(ha.current),Gs(c,g.ancestorInfo),g=g.context,s=qf(s),g){case $0:s=s.createElementNS(Le,c);break;case Hv:s=s.createElementNS(Be,c);break;default:switch(c){case"svg":s=s.createElementNS(Le,c);break;case"math":s=s.createElementNS(Be,c);break;case"script":s=s.createElement("div"),s.innerHTML="<script><\/script>",s=s.removeChild(s.firstChild);break;case"select":s=typeof i.is=="string"?s.createElement("select",{is:i.is}):s.createElement("select"),i.multiple?s.multiple=!0:i.size&&(s.size=i.size);break;default:s=typeof i.is=="string"?s.createElement(c,{is:i.is}):s.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(s)!=="[object HTMLUnknownElement]"||ma.call($3,c)||($3[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)))}}s[Kt]=t,s[jl]=i;e:for(g=t.child;g!==null;){if(g.tag===5||g.tag===6)s.appendChild(g.stateNode);else if(g.tag!==4&&g.tag!==27&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===t)break e;for(;g.sibling===null;){if(g.return===null||g.return===t)break e;g=g.return}g.sibling.return=g.return,g=g.sibling}t.stateNode=s;e:switch(Jt(s,c,i),c){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&Lu(t)}}return Rt(t),_h(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&Lu(t);else{if(typeof i!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=gn(ha.current),l=J(),uc(t)){if(e=t.stateNode,l=t.memoizedProps,c=!Bo,i=null,s=Hl,s!==null)switch(s.tag){case 3:c&&(c=R1(e,l,i),c!==null&&(ac(t,0).serverProps=c));break;case 27:case 5:i=s.memoizedProps,c&&(c=R1(e,l,i),c!==null&&(ac(t,0).serverProps=c))}e[Kt]=t,e=!!(e.nodeValue===l||i!==null&&i.suppressHydrationWarning===!0||Cp(e.nodeValue,l)),e||Ra(t,!0)}else c=l.ancestorInfo.current,c!=null&&Ls(i,c.tag,l.ancestorInfo.implicitRootScope),e=qf(e).createTextNode(i),e[Kt]=t,t.stateNode=e}return Rt(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(i=uc(t),l!==null){if(e===null){if(!i)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");e[Kt]=t,Rt(t),(t.mode&Qe)!==we&&l!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else co(),oo(),(t.flags&128)===0&&(l=t.memoizedState=null),t.flags|=4,Rt(t),(t.mode&Qe)!==we&&l!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else l=Fs(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(Gn(t),t):(Gn(t),null);if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return Rt(t),null;case 13:if(i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(c=i,s=uc(t),c!==null&&c.dehydrated!==null){if(e===null){if(!s)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");s[Kt]=t,Rt(t),(t.mode&Qe)!==we&&c!==null&&(c=t.child,c!==null&&(t.treeBaseDuration-=c.treeBaseDuration))}else co(),oo(),(t.flags&128)===0&&(c=t.memoizedState=null),t.flags|=4,Rt(t),(t.mode&Qe)!==we&&c!==null&&(c=t.child,c!==null&&(t.treeBaseDuration-=c.treeBaseDuration));c=!1}else c=Fs(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=c),c=!0;if(!c)return t.flags&256?(Gn(t),t):(Gn(t),null)}return Gn(t),(t.flags&128)!==0?(t.lanes=l,(t.mode&Qe)!==we&&cc(t),t):(l=i!==null,e=e!==null&&e.memoizedState!==null,l&&(i=t.child,c=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(c=i.alternate.memoizedState.cachePool.pool),s=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(s=i.memoizedState.cachePool.pool),s!==c&&(i.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),Cr(t,t.updateQueue),Rt(t),(t.mode&Qe)!==we&&l&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return U(t),e===null&&Do(t.stateNode.containerInfo),Rt(t),null;case 10:return Ia(t.type,t),Rt(t),null;case 19:if(Ze(Nn,t),i=t.memoizedState,i===null)return Rt(t),null;if(c=(t.flags&128)!==0,s=i.rendering,s===null)if(c)Ur(i,!1);else{if(hn!==Wc||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(s=sc(e),s!==null){for(t.flags|=128,Ur(i,!1),e=s.updateQueue,t.updateQueue=e,Cr(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)Rm(l,e),l=l.sibling;return xe(Nn,Nn.current&H0|Ug,t),tt&&Fa(t,i.treeForkCount),t.child}e=e.sibling}i.tail!==null&&Qn()>zv&&(t.flags|=128,c=!0,Ur(i,!1),t.lanes=4194304)}else{if(!c)if(e=sc(s),e!==null){if(t.flags|=128,c=!0,e=e.updateQueue,t.updateQueue=e,Cr(t,e),Ur(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!tt)return Rt(t),null}else 2*Qn()-i.renderingStartTime>zv&&l!==536870912&&(t.flags|=128,c=!0,Ur(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(e=i.last,e!==null?e.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=Qn(),e.sibling=null,l=Nn.current,l=c?l&H0|Ug:l&H0,xe(Nn,l,t),tt&&Fa(t,i.treeForkCount),e):(Rt(t),null);case 22:case 23:return Gn(t),nu(t),i=t.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?(l&536870912)!==0&&(t.flags&128)===0&&(Rt(t),t.subtreeFlags&6&&(t.flags|=8192)):Rt(t),l=t.updateQueue,l!==null&&Cr(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),i=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),i!==l&&(t.flags|=2048),e!==null&&Ze(sd,t),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),Ia($n,t),Rt(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Ky(e,t){switch(Fd(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Qe)!==we&&cc(t),t):null;case 3:return Ia($n,t),U(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return be(t),null;case 31:if(t.memoizedState!==null){if(Gn(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");oo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Qe)!==we&&cc(t),t):null;case 13:if(Gn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");oo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Qe)!==we&&cc(t),t):null;case 19:return Ze(Nn,t),null;case 4:return U(t),null;case 10:return Ia(t.type,t),null;case 22:case 23:return Gn(t),nu(t),e!==null&&Ze(sd,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Qe)!==we&&cc(t),t):null;case 24:return Ia($n,t),null;case 25:return null;default:return null}}function ip(e,t){switch(Fd(t),t.tag){case 3:Ia($n,t),U(t);break;case 26:case 27:case 5:be(t);break;case 4:U(t);break;case 31:t.memoizedState!==null&&Gn(t);break;case 13:Gn(t);break;case 19:Ze(Nn,t);break;case 10:Ia(t.type,t);break;case 22:case 23:Gn(t),nu(t),e!==null&&Ze(sd,t);break;case 24:Ia($n,t)}}function Vu(e){return(e.mode&Qe)!==we}function Wy(e,t){Vu(e)?(rn(),Ni(t,e),zl()):Ni(t,e)}function Ah(e,t,l){Vu(e)?(rn(),zo(l,e,t),zl()):zo(l,e,t)}function Ni(e,t){try{var l=t.updateQueue,i=l!==null?l.lastEffect:null;if(i!==null){var c=i.next;l=c;do{if((l.tag&e)===e&&(i=void 0,(e&va)!==fv&&(V0=!0),i=fe(t,P_,l),(e&va)!==fv&&(V0=!1),i!==void 0&&typeof i!="function")){var s=void 0;s=(l.tag&vu)!==0?"useLayoutEffect":(l.tag&va)!==0?"useInsertionEffect":"useEffect";var g=void 0;g=i===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof i.then=="function"?`
|
|
138
|
+
|
|
139
|
+
It looks like you wrote `+s+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
140
|
+
|
|
141
|
+
`+s+`(() => {
|
|
142
|
+
async function fetchData() {
|
|
143
|
+
// You can await here
|
|
144
|
+
const response = await MyAPI.getData(someId);
|
|
145
|
+
// ...
|
|
146
|
+
}
|
|
147
|
+
fetchData();
|
|
148
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
149
|
+
|
|
150
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+i,fe(t,function(y,T){console.error("%s must not return anything besides a function, which is used for clean-up.%s",y,T)},s,g)}l=l.next}while(l!==c)}}catch(y){Ge(t,t.return,y)}}function zo(e,t,l){try{var i=t.updateQueue,c=i!==null?i.lastEffect:null;if(c!==null){var s=c.next;i=s;do{if((i.tag&e)===e){var g=i.inst,y=g.destroy;y!==void 0&&(g.destroy=void 0,(e&va)!==fv&&(V0=!0),c=t,fe(c,eA,c,l,y),(e&va)!==fv&&(V0=!1))}i=i.next}while(i!==s)}}catch(T){Ge(t,t.return,T)}}function Af(e,t){Vu(e)?(rn(),Ni(t,e),zl()):Ni(t,e)}function xh(e,t,l){Vu(e)?(rn(),zo(l,e,t),zl()):zo(l,e,t)}function op(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||q0||(l.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ge(e)||"instance"),l.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ge(e)||"instance"));try{fe(e,Tr,t,l)}catch(i){Ge(e,e.return,i)}}}function xf(e,t,l){return e.getSnapshotBeforeUpdate(t,l)}function Fy(e,t){var l=t.memoizedProps,i=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||q0||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ge(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ge(e)||"instance"));try{var c=Gu(e.type,l),s=fe(e,xf,t,c,i);l=_3,s!==void 0||l.has(e.type)||(l.add(e.type),fe(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",ge(e))})),t.__reactInternalSnapshotBeforeUpdate=s}catch(g){Ge(e,e.return,g)}}function Rh(e,t,l){l.props=Gu(e.type,e.memoizedProps),l.state=e.memoizedState,Vu(e)?(rn(),fe(e,L5,e,t,l),zl()):fe(e,L5,e,t,l)}function Iy(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}if(typeof t=="function")if(Vu(e))try{rn(),e.refCleanup=t(l)}finally{zl()}else e.refCleanup=t(l);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",ge(e)),t.current=l}}function Ec(e,t){try{fe(e,Iy,e)}catch(l){Ge(e,t,l)}}function Ua(e,t){var l=e.ref,i=e.refCleanup;if(l!==null)if(typeof i=="function")try{if(Vu(e))try{rn(),fe(e,i)}finally{zl(e)}else fe(e,i)}catch(c){Ge(e,t,c)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{if(Vu(e))try{rn(),fe(e,l,null)}finally{zl(e)}else fe(e,l,null)}catch(c){Ge(e,t,c)}else l.current=null}function cp(e,t,l,i){var c=e.memoizedProps,s=c.id,g=c.onCommit;c=c.onRender,t=t===null?"mount":"update",uv&&(t="nested-update"),typeof c=="function"&&c(s,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,l),typeof g=="function"&&g(s,t,i,l)}function Py(e,t,l,i){var c=e.memoizedProps;e=c.id,c=c.onPostCommit,t=t===null?"mount":"update",uv&&(t="nested-update"),typeof c=="function"&&c(e,t,i,l)}function Eo(e){var t=e.type,l=e.memoizedProps,i=e.stateNode;try{fe(e,d1,i,t,l,e)}catch(c){Ge(e,e.return,c)}}function Dh(e,t,l){try{fe(e,Jh,e.stateNode,e.type,l,t,e)}catch(i){Ge(e,e.return,i)}}function rp(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&wo(e.type)||e.tag===4}function Oh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||rp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&wo(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function jr(e,t,l){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?(m1(l),(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t)):(m1(l),t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=Aa));else if(i!==4&&(i===27&&wo(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(jr(e,t,l),e=e.sibling;e!==null;)jr(e,t,l),e=e.sibling}function Rf(e,t,l){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(i!==4&&(i===27&&wo(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(Rf(e,t,l),e=e.sibling;e!==null;)Rf(e,t,l),e=e.sibling}function sp(e){for(var t,l=e.return;l!==null;){if(rp(l)){t=l;break}l=l.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,l=Oh(e),Rf(e,l,t);break;case 5:l=t.stateNode,t.flags&32&&(Kh(l),t.flags&=-33),t=Oh(e),Rf(e,t,l);break;case 3:case 4:t=t.stateNode.containerInfo,l=Oh(e),jr(e,l,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function fp(e){var t=e.stateNode,l=e.memoizedProps;try{fe(e,Iu,e.type,l,t,e)}catch(i){Ge(e,e.return,i)}}function dp(e,t){return t.tag===31?(t=t.memoizedState,e.memoizedState!==null&&t===null):t.tag===13?(e=e.memoizedState,t=t.memoizedState,e!==null&&e.dehydrated!==null&&(t===null||t.dehydrated===null)):t.tag===3?e.memoizedState.isDehydrated&&(t.flags&256)===0:!1}function Eb(e,t){if(e=e.containerInfo,U2=qv,e=Vd(e),bm(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var i=l.getSelection&&l.getSelection();if(i&&i.rangeCount!==0){l=i.anchorNode;var c=i.anchorOffset,s=i.focusNode;i=i.focusOffset;try{l.nodeType,s.nodeType}catch{l=null;break e}var g=0,y=-1,T=-1,E=0,H=0,B=e,O=null;t:for(;;){for(var L;B!==l||c!==0&&B.nodeType!==3||(y=g+c),B!==s||i!==0&&B.nodeType!==3||(T=g+i),B.nodeType===3&&(g+=B.nodeValue.length),(L=B.firstChild)!==null;)O=B,B=L;for(;;){if(B===e)break t;if(O===l&&++E===c&&(y=g),O===s&&++H===i&&(T=g),(L=B.nextSibling)!==null)break;B=O,O=B.parentNode}B=L}l=y===-1||T===-1?null:{start:y,end:T}}else l=null}l=l||{start:0,end:0}}else l=null;for(j2={focusedElem:e,selectionRange:l},qv=!1,gl=t;gl!==null;)if(t=gl,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,gl=e;else for(;gl!==null;){switch(e=t=gl,l=e.alternate,c=e.flags,e.tag){case 0:if((c&4)!==0&&(e=e.updateQueue,e=e!==null?e.events:null,e!==null))for(l=0;l<e.length;l++)c=e[l],c.ref.impl=c.nextImpl;break;case 11:case 15:break;case 1:(c&1024)!==0&&l!==null&&Fy(e,l);break;case 3:if((c&1024)!==0){if(e=e.stateNode.containerInfo,l=e.nodeType,l===9)$r(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":$r(e);break;default:e.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(e=t.sibling,e!==null){e.return=t.return,gl=e;break}gl=t.return}}function wh(e,t,l){var i=Qt(),c=Oa(),s=ta(),g=wa(),y=l.flags;switch(l.tag){case 0:case 11:case 15:ca(e,l),y&4&&Wy(l,vu|fi);break;case 1:if(ca(e,l),y&4)if(e=l.stateNode,t===null)l.type.defaultProps||"ref"in l.memoizedProps||q0||(e.props!==l.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.",ge(l)||"instance"),e.state!==l.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.",ge(l)||"instance")),Vu(l)?(rn(),fe(l,t2,l,e),zl()):fe(l,t2,l,e);else{var T=Gu(l.type,t.memoizedProps);t=t.memoizedState,l.type.defaultProps||"ref"in l.memoizedProps||q0||(e.props!==l.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.",ge(l)||"instance"),e.state!==l.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.",ge(l)||"instance")),Vu(l)?(rn(),fe(l,Y5,l,e,T,t,e.__reactInternalSnapshotBeforeUpdate),zl()):fe(l,Y5,l,e,T,t,e.__reactInternalSnapshotBeforeUpdate)}y&64&&op(l),y&512&&Ec(l,l.return);break;case 3:if(t=Uu(),ca(e,l),y&64&&(y=l.updateQueue,y!==null)){if(T=null,l.child!==null)switch(l.child.tag){case 27:case 5:T=l.child.stateNode;break;case 1:T=l.child.stateNode}try{fe(l,Tr,y,T)}catch(H){Ge(l,l.return,H)}}e.effectDuration+=yr(t);break;case 27:t===null&&y&4&&fp(l);case 26:case 5:if(ca(e,l),t===null){if(y&4)Eo(l);else if(y&64){e=l.type,t=l.memoizedProps,T=l.stateNode;try{fe(l,h1,T,e,t,l)}catch(H){Ge(l,l.return,H)}}}y&512&&Ec(l,l.return);break;case 12:if(y&4){y=Uu(),ca(e,l),e=l.stateNode,e.effectDuration+=Tl(y);try{fe(l,cp,l,t,gs,e.effectDuration)}catch(H){Ge(l,l.return,H)}}else ca(e,l);break;case 31:ca(e,l),y&4&&mp(e,l);break;case 13:ca(e,l),y&4&&pp(e,l),y&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(y=Zi.bind(null,l),A1(e,y))));break;case 22:if(y=l.memoizedState!==null||Kc,!y){t=t!==null&&t.memoizedState!==null||Fn,T=Kc;var E=Fn;Kc=y,(Fn=t)&&!E?(iu(e,l,(l.subtreeFlags&8772)!==0),(l.mode&Qe)!==we&&0<=_e&&0<=Re&&.05<Re-_e&&Xd(l,_e,Re)):ca(e,l),Kc=T,Fn=E}break;case 30:break;default:ca(e,l)}(l.mode&Qe)!==we&&0<=_e&&0<=Re&&((_n||.05<dn)&&Wa(l,_e,Re,dn,ln),l.alternate===null&&l.return!==null&&l.return.alternate!==null&&.05<Re-_e&&(dp(l.return.alternate,l.return)||xa(l,_e,Re,"Mount"))),Yn(i),ea(c),ln=s,_n=g}function zn(e){var t=e.alternate;t!==null&&(e.alternate=null,zn(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&_a(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function kt(e,t,l){for(l=l.child;l!==null;)hp(e,t,l),l=l.sibling}function hp(e,t,l){if(jn&&typeof jn.onCommitFiberUnmount=="function")try{jn.onCommitFiberUnmount(Nc,l)}catch(E){ei||(ei=!0,console.error("React instrumentation encountered an error: %o",E))}var i=Qt(),c=Oa(),s=ta(),g=wa();switch(l.tag){case 26:Fn||Ua(l,t),kt(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(e=l.stateNode,e.parentNode.removeChild(e));break;case 27:Fn||Ua(l,t);var y=In,T=Za;wo(l.type)&&(In=l.stateNode,Za=!1),kt(e,t,l),fe(l,Gi,l.stateNode),In=y,Za=T;break;case 5:Fn||Ua(l,t);case 6:if(y=In,T=Za,In=null,kt(e,t,l),In=y,Za=T,In!==null)if(Za)try{fe(l,g1,In,l.stateNode)}catch(E){Ge(l,t,E)}else try{fe(l,p1,In,l.stateNode)}catch(E){Ge(l,t,E)}break;case 18:In!==null&&(Za?(e=In,Dc(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),Cc(e)):Dc(In,l.stateNode));break;case 4:y=In,T=Za,In=l.stateNode.containerInfo,Za=!0,kt(e,t,l),In=y,Za=T;break;case 0:case 11:case 14:case 15:zo(va,l,t),Fn||Ah(l,t,vu),kt(e,t,l);break;case 1:Fn||(Ua(l,t),y=l.stateNode,typeof y.componentWillUnmount=="function"&&Rh(l,t,y)),kt(e,t,l);break;case 21:kt(e,t,l);break;case 22:Fn=(y=Fn)||l.memoizedState!==null,kt(e,t,l),Fn=y;break;default:kt(e,t,l)}(l.mode&Qe)!==we&&0<=_e&&0<=Re&&(_n||.05<dn)&&Wa(l,_e,Re,dn,ln),Yn(i),ea(c),ln=s,_n=g}function mp(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{fe(t,Wh,e)}catch(l){Ge(t,t.return,l)}}}function pp(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{fe(t,Np,e)}catch(l){Ge(t,t.return,l)}}function e1(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new A3),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new A3),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function _o(e,t){var l=e1(e);t.forEach(function(i){if(!l.has(i)){if(l.add(i),ti)if(Y0!==null&&k0!==null)Yr(k0,Y0);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var c=xc.bind(null,e,i);i.then(c,c)}})}function Rl(e,t){var l=t.deletions;if(l!==null)for(var i=0;i<l.length;i++){var c=e,s=t,g=l[i],y=Qt(),T=s;e:for(;T!==null;){switch(T.tag){case 27:if(wo(T.type)){In=T.stateNode,Za=!1;break e}break;case 5:In=T.stateNode,Za=!1;break e;case 3:case 4:In=T.stateNode.containerInfo,Za=!0;break e}T=T.return}if(In===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");hp(c,s,g),In=null,Za=!1,(g.mode&Qe)!==we&&0<=_e&&0<=Re&&.05<Re-_e&&xa(g,_e,Re,"Unmount"),Yn(y),c=g,s=c.alternate,s!==null&&(s.return=null),c.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Df(t,e),t=t.sibling}function Df(e,t){var l=Qt(),i=Oa(),c=ta(),s=wa(),g=e.alternate,y=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Rl(t,e),Dl(e),y&4&&(zo(va|fi,e,e.return),Ni(va|fi,e),Ah(e,e.return,vu|fi));break;case 1:if(Rl(t,e),Dl(e),y&512&&(Fn||g===null||Ua(g,g.return)),y&64&&Kc&&(y=e.updateQueue,y!==null&&(g=y.callbacks,g!==null))){var T=y.shared.hiddenCallbacks;y.shared.hiddenCallbacks=T===null?g:T.concat(g)}break;case 26:if(T=Ji,Rl(t,e),Dl(e),y&512&&(Fn||g===null||Ua(g,g.return)),y&4){var E=g!==null?g.memoizedState:null;if(y=e.memoizedState,g===null)if(y===null)if(e.stateNode===null){e:{y=e.type,g=e.memoizedProps,T=T.ownerDocument||T;t:switch(y){case"title":E=T.getElementsByTagName("title")[0],(!E||E[cs]||E[Kt]||E.namespaceURI===Le||E.hasAttribute("itemprop"))&&(E=T.createElement(y),T.head.insertBefore(E,T.querySelector("head > title"))),Jt(E,y,g),E[Kt]=e,ye(E),y=E;break e;case"link":var H=Wr("link","href",T).get(y+(g.href||""));if(H){for(var B=0;B<H.length;B++)if(E=H[B],E.getAttribute("href")===(g.href==null||g.href===""?null:g.href)&&E.getAttribute("rel")===(g.rel==null?null:g.rel)&&E.getAttribute("title")===(g.title==null?null:g.title)&&E.getAttribute("crossorigin")===(g.crossOrigin==null?null:g.crossOrigin)){H.splice(B,1);break t}}E=T.createElement(y),Jt(E,y,g),T.head.appendChild(E);break;case"meta":if(H=Wr("meta","content",T).get(y+(g.content||""))){for(B=0;B<H.length;B++)if(E=H[B],ht(g.content,"content"),E.getAttribute("content")===(g.content==null?null:""+g.content)&&E.getAttribute("name")===(g.name==null?null:g.name)&&E.getAttribute("property")===(g.property==null?null:g.property)&&E.getAttribute("http-equiv")===(g.httpEquiv==null?null:g.httpEquiv)&&E.getAttribute("charset")===(g.charSet==null?null:g.charSet)){H.splice(B,1);break t}}E=T.createElement(y),Jt(E,y,g),T.head.appendChild(E);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+y+'". This is a bug in React.')}E[Kt]=e,ye(E),y=E}e.stateNode=y}else O1(T,e.type,e.stateNode);else e.stateNode=Ph(T,y,e.memoizedProps);else E!==y?(E===null?g.stateNode!==null&&(g=g.stateNode,g.parentNode.removeChild(g)):E.count--,y===null?O1(T,e.type,e.stateNode):Ph(T,y,e.memoizedProps)):y===null&&e.stateNode!==null&&Dh(e,e.memoizedProps,g.memoizedProps)}break;case 27:Rl(t,e),Dl(e),y&512&&(Fn||g===null||Ua(g,g.return)),g!==null&&y&4&&Dh(e,e.memoizedProps,g.memoizedProps);break;case 5:if(Rl(t,e),Dl(e),y&512&&(Fn||g===null||Ua(g,g.return)),e.flags&32){T=e.stateNode;try{fe(e,Kh,T)}catch(he){Ge(e,e.return,he)}}y&4&&e.stateNode!=null&&(T=e.memoizedProps,Dh(e,T,g!==null?g.memoizedProps:T)),y&1024&&(m2=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Rl(t,e),Dl(e),y&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");y=e.memoizedProps,g=g!==null?g.memoizedProps:y,T=e.stateNode;try{fe(e,_b,T,g,y)}catch(he){Ge(e,e.return,he)}}break;case 3:if(T=Uu(),Nv=null,E=Ji,Ji=Fh(t.containerInfo),Rl(t,e),Ji=E,Dl(e),y&4&&g!==null&&g.memoizedState.isDehydrated)try{fe(e,Hp,t.containerInfo)}catch(he){Ge(e,e.return,he)}m2&&(m2=!1,t1(e)),t.effectDuration+=yr(T);break;case 4:y=Ji,Ji=Fh(e.stateNode.containerInfo),Rl(t,e),Dl(e),Ji=y;break;case 12:y=Uu(),Rl(t,e),Dl(e),e.stateNode.effectDuration+=Tl(y);break;case 31:Rl(t,e),Dl(e),y&4&&(y=e.updateQueue,y!==null&&(e.updateQueue=null,_o(e,y)));break;case 13:Rl(t,e),Dl(e),e.child.flags&8192&&e.memoizedState!==null!=(g!==null&&g.memoizedState!==null)&&(Tv=Qn()),y&4&&(y=e.updateQueue,y!==null&&(e.updateQueue=null,_o(e,y)));break;case 22:T=e.memoizedState!==null;var O=g!==null&&g.memoizedState!==null,L=Kc,ce=Fn;if(Kc=L||T,Fn=ce||O,Rl(t,e),Fn=ce,Kc=L,O&&!T&&!L&&!ce&&(e.mode&Qe)!==we&&0<=_e&&0<=Re&&.05<Re-_e&&Xd(e,_e,Re),Dl(e),y&8192)e:for(t=e.stateNode,t._visibility=T?t._visibility&~yg:t._visibility|yg,!T||g===null||O||Kc||Fn||(Ao(e),(e.mode&Qe)!==we&&0<=_e&&0<=Re&&.05<Re-_e&&xa(e,_e,Re,"Disconnect")),g=null,t=e;;){if(t.tag===5||t.tag===26){if(g===null){O=g=t;try{E=O.stateNode,T?fe(O,v1,E):fe(O,T1,O.stateNode,O.memoizedProps)}catch(he){Ge(O,O.return,he)}}}else if(t.tag===6){if(g===null){O=t;try{H=O.stateNode,T?fe(O,b1,H):fe(O,z1,H,O.memoizedProps)}catch(he){Ge(O,O.return,he)}}}else if(t.tag===18){if(g===null){O=t;try{B=O.stateNode,T?fe(O,y1,B):fe(O,S1,O.stateNode)}catch(he){Ge(O,O.return,he)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;g===t&&(g=null),t=t.return}g===t&&(g=null),t.sibling.return=t.return,t=t.sibling}y&4&&(y=e.updateQueue,y!==null&&(g=y.retryQueue,g!==null&&(y.retryQueue=null,_o(e,g))));break;case 19:Rl(t,e),Dl(e),y&4&&(y=e.updateQueue,y!==null&&(e.updateQueue=null,_o(e,y)));break;case 30:break;case 21:break;default:Rl(t,e),Dl(e)}(e.mode&Qe)!==we&&0<=_e&&0<=Re&&((_n||.05<dn)&&Wa(e,_e,Re,dn,ln),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<Re-_e&&(dp(e.return.alternate,e.return)||xa(e,_e,Re,"Mount"))),Yn(l),ea(i),ln=c,_n=s}function Dl(e){var t=e.flags;if(t&2){try{fe(e,sp,e)}catch(l){Ge(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function t1(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;t1(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function ca(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)wh(e,t.alternate,t),t=t.sibling}function Mh(e){var t=Qt(),l=Oa(),i=ta(),c=wa();switch(e.tag){case 0:case 11:case 14:case 15:Ah(e,e.return,vu),Ao(e);break;case 1:Ua(e,e.return);var s=e.stateNode;typeof s.componentWillUnmount=="function"&&Rh(e,e.return,s),Ao(e);break;case 27:fe(e,Gi,e.stateNode);case 26:case 5:Ua(e,e.return),Ao(e);break;case 22:e.memoizedState===null&&Ao(e);break;case 30:Ao(e);break;default:Ao(e)}(e.mode&Qe)!==we&&0<=_e&&0<=Re&&(_n||.05<dn)&&Wa(e,_e,Re,dn,ln),Yn(t),ea(l),ln=i,_n=c}function Ao(e){for(e=e.child;e!==null;)Mh(e),e=e.sibling}function gp(e,t,l,i){var c=Qt(),s=Oa(),g=ta(),y=wa(),T=l.flags;switch(l.tag){case 0:case 11:case 15:iu(e,l,i),Wy(l,vu);break;case 1:if(iu(e,l,i),t=l.stateNode,typeof t.componentDidMount=="function"&&fe(l,t2,l,t),t=l.updateQueue,t!==null){e=l.stateNode;try{fe(l,Bm,t,e)}catch(E){Ge(l,l.return,E)}}i&&T&64&&op(l),Ec(l,l.return);break;case 27:fp(l);case 26:case 5:iu(e,l,i),i&&t===null&&T&4&&Eo(l),Ec(l,l.return);break;case 12:if(i&&T&4){T=Uu(),iu(e,l,i),i=l.stateNode,i.effectDuration+=Tl(T);try{fe(l,cp,l,t,gs,i.effectDuration)}catch(E){Ge(l,l.return,E)}}else iu(e,l,i);break;case 31:iu(e,l,i),i&&T&4&&mp(e,l);break;case 13:iu(e,l,i),i&&T&4&&pp(e,l);break;case 22:l.memoizedState===null&&iu(e,l,i),Ec(l,l.return);break;case 30:break;default:iu(e,l,i)}(l.mode&Qe)!==we&&0<=_e&&0<=Re&&(_n||.05<dn)&&Wa(l,_e,Re,dn,ln),Yn(c),ea(s),ln=g,_n=y}function iu(e,t,l){for(l=l&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)gp(e,t.alternate,t,l),t=t.sibling}function Of(e,t){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==l&&(e!=null&&ic(e),l!=null&&ef(l))}function wf(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(ic(t),e!=null&&ef(e))}function ra(e,t,l,i,c){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var s=t.sibling;yp(e,t,l,i,s!==null?s.actualStartTime:c),t=s}}function yp(e,t,l,i,c){var s=Qt(),g=Oa(),y=ta(),T=wa(),E=ds,H=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&Qe)!==we&&0<t.actualStartTime&&(t.flags&1)!==0&&Qd(t,t.actualStartTime,c,ul,l),ra(e,t,l,i,c),H&2048&&Af(t,ba|fi);break;case 1:(t.mode&Qe)!==we&&0<t.actualStartTime&&((t.flags&128)!==0?Tm(t,t.actualStartTime,c,[]):(t.flags&1)!==0&&Qd(t,t.actualStartTime,c,ul,l)),ra(e,t,l,i,c);break;case 3:var B=Uu(),O=ul;ul=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)===0,ra(e,t,l,i,c),ul=O,H&2048&&(l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),i=t.memoizedState.cache,i!==l&&(ic(i),l!=null&&ef(l))),e.passiveEffectDuration+=yr(B);break;case 12:if(H&2048){H=Uu(),ra(e,t,l,i,c),e=t.stateNode,e.passiveEffectDuration+=Tl(H);try{fe(t,Py,t,t.alternate,gs,e.passiveEffectDuration)}catch(L){Ge(t,t.return,L)}}else ra(e,t,l,i,c);break;case 31:H=ul,B=t.alternate!==null?t.alternate.memoizedState:null,O=t.memoizedState,B!==null&&O===null?(O=t.deletions,O!==null&&0<O.length&&O[0].tag===18?(ul=!1,B=B.hydrationErrors,B!==null&&Tm(t,t.actualStartTime,c,B)):ul=!0):ul=!1,ra(e,t,l,i,c),ul=H;break;case 13:H=ul,B=t.alternate!==null?t.alternate.memoizedState:null,O=t.memoizedState,B===null||B.dehydrated===null||O!==null&&O.dehydrated!==null?ul=!1:(O=t.deletions,O!==null&&0<O.length&&O[0].tag===18?(ul=!1,B=B.hydrationErrors,B!==null&&Tm(t,t.actualStartTime,c,B)):ul=!0),ra(e,t,l,i,c),ul=H;break;case 23:break;case 22:O=t.stateNode,B=t.alternate,t.memoizedState!==null?O._visibility&qc?ra(e,t,l,i,c):_c(e,t,l,i,c):O._visibility&qc?ra(e,t,l,i,c):(O._visibility|=qc,xo(e,t,l,i,(t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),c),(t.mode&Qe)===we||ul||(e=t.actualStartTime,0<=e&&.05<c-e&&Xd(t,e,c),0<=_e&&0<=Re&&.05<Re-_e&&Xd(t,_e,Re))),H&2048&&Of(B,t);break;case 24:ra(e,t,l,i,c),H&2048&&wf(t.alternate,t);break;default:ra(e,t,l,i,c)}(t.mode&Qe)!==we&&((e=!ul&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(l=t.actualStartTime,0<=l&&.05<c-l&&xa(t,l,c,"Mount")),0<=_e&&0<=Re&&((_n||.05<dn)&&Wa(t,_e,Re,dn,ln),e&&.05<Re-_e&&xa(t,_e,Re,"Mount"))),Yn(s),ea(g),ln=y,_n=T,ds=E}function xo(e,t,l,i,c,s){for(c=c&&((t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child)),t=t.child;t!==null;){var g=t.sibling;Mf(e,t,l,i,c,g!==null?g.actualStartTime:s),t=g}}function Mf(e,t,l,i,c,s){var g=Qt(),y=Oa(),T=ta(),E=wa(),H=ds;c&&(t.mode&Qe)!==we&&0<t.actualStartTime&&(t.flags&1)!==0&&Qd(t,t.actualStartTime,s,ul,l);var B=t.flags;switch(t.tag){case 0:case 11:case 15:xo(e,t,l,i,c,s),Af(t,ba);break;case 23:break;case 22:var O=t.stateNode;t.memoizedState!==null?O._visibility&qc?xo(e,t,l,i,c,s):_c(e,t,l,i,s):(O._visibility|=qc,xo(e,t,l,i,c,s)),c&&B&2048&&Of(t.alternate,t);break;case 24:xo(e,t,l,i,c,s),c&&B&2048&&wf(t.alternate,t);break;default:xo(e,t,l,i,c,s)}(t.mode&Qe)!==we&&0<=_e&&0<=Re&&(_n||.05<dn)&&Wa(t,_e,Re,dn,ln),Yn(g),ea(y),ln=T,_n=E,ds=H}function _c(e,t,l,i,c){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var s=t.child;s!==null;){t=s.sibling;var g=e,y=l,T=i,E=t!==null?t.actualStartTime:c,H=ds;(s.mode&Qe)!==we&&0<s.actualStartTime&&(s.flags&1)!==0&&Qd(s,s.actualStartTime,E,ul,y);var B=s.flags;switch(s.tag){case 22:_c(g,s,y,T,E),B&2048&&Of(s.alternate,s);break;case 24:_c(g,s,y,T,E),B&2048&&wf(s.alternate,s);break;default:_c(g,s,y,T,E)}ds=H,s=t}}function Ac(e,t,l){if(e.subtreeFlags&Bg)for(e=e.child;e!==null;)Ch(e,t,l),e=e.sibling}function Ch(e,t,l){switch(e.tag){case 26:Ac(e,t,l),e.flags&Bg&&e.memoizedState!==null&&kp(l,Ji,e.memoizedState,e.memoizedProps);break;case 5:Ac(e,t,l);break;case 3:case 4:var i=Ji;Ji=Fh(e.stateNode.containerInfo),Ac(e,t,l),Ji=i;break;case 22:e.memoizedState===null&&(i=e.alternate,i!==null&&i.memoizedState!==null?(i=Bg,Bg=16777216,Ac(e,t,l),Bg=i):Ac(e,t,l));break;default:Ac(e,t,l)}}function vp(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function sa(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var i=t[l],c=Qt();gl=i,Xu(i,e),(i.mode&Qe)!==we&&0<=_e&&0<=Re&&.05<Re-_e&&xa(i,_e,Re,"Unmount"),Yn(c)}vp(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Uh(e),e=e.sibling}function Uh(e){var t=Qt(),l=Oa(),i=ta(),c=wa();switch(e.tag){case 0:case 11:case 15:sa(e),e.flags&2048&&xh(e,e.return,ba|fi);break;case 3:var s=Uu();sa(e),e.stateNode.passiveEffectDuration+=yr(s);break;case 12:s=Uu(),sa(e),e.stateNode.passiveEffectDuration+=Tl(s);break;case 22:s=e.stateNode,e.memoizedState!==null&&s._visibility&qc&&(e.return===null||e.return.tag!==13)?(s._visibility&=~qc,jh(e),(e.mode&Qe)!==we&&0<=_e&&0<=Re&&.05<Re-_e&&xa(e,_e,Re,"Disconnect")):sa(e);break;default:sa(e)}(e.mode&Qe)!==we&&0<=_e&&0<=Re&&(_n||.05<dn)&&Wa(e,_e,Re,dn,ln),Yn(t),ea(l),_n=c,ln=i}function jh(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var i=t[l],c=Qt();gl=i,Xu(i,e),(i.mode&Qe)!==we&&0<=_e&&0<=Re&&.05<Re-_e&&xa(i,_e,Re,"Unmount"),Yn(c)}vp(e)}for(e=e.child;e!==null;)bp(e),e=e.sibling}function bp(e){var t=Qt(),l=Oa(),i=ta(),c=wa();switch(e.tag){case 0:case 11:case 15:xh(e,e.return,ba),jh(e);break;case 22:var s=e.stateNode;s._visibility&qc&&(s._visibility&=~qc,jh(e));break;default:jh(e)}(e.mode&Qe)!==we&&0<=_e&&0<=Re&&(_n||.05<dn)&&Wa(e,_e,Re,dn,ln),Yn(t),ea(l),_n=c,ln=i}function Xu(e,t){for(;gl!==null;){var l=gl,i=l,c=t,s=Qt(),g=Oa(),y=ta(),T=wa();switch(i.tag){case 0:case 11:case 15:xh(i,c,ba);break;case 23:case 22:i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(c=i.memoizedState.cachePool.pool,c!=null&&ic(c));break;case 24:ef(i.memoizedState.cache)}if((i.mode&Qe)!==we&&0<=_e&&0<=Re&&(_n||.05<dn)&&Wa(i,_e,Re,dn,ln),Yn(s),ea(g),_n=T,ln=y,i=l.child,i!==null)i.return=l,gl=i;else e:for(l=e;gl!==null;){if(i=gl,s=i.sibling,g=i.return,zn(i),i===l){gl=null;break e}if(s!==null){s.return=g,gl=s;break e}gl=g}}}function Sp(){uA.forEach(function(e){return e()})}function Tp(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||Q.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function dl(e){if((ot&il)!==yl&&Je!==0)return Je&-Je;var t=Q.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),Mp()):Md()}function Hr(){if(Ya===0)if((Je&536870912)===0||tt){var e=ed;ed<<=1,(ed&3932160)===0&&(ed=262144),Ya=e}else Ya=536870912;return e=yu.current,e!==null&&(e.flags|=32),Ya}function Me(e,t,l){if(V0&&console.error("useInsertionEffect must not schedule updates."),A2&&(Av=!0),(e===Bt&&(Mt===gd||Mt===yd)||e.cancelPendingCommit!==null)&&(Qu(e,0),ja(e,Je,Ya,!1)),Ga(e,l),(ot&il)!==yl&&e===Bt){if(Pu)switch(t.tag){case 0:case 11:case 15:e=We&&ge(We)||"Unknown",Y3.has(e)||(Y3.add(e),t=ge(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:q3||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),q3=!0)}}else ti&&rl(e,t,l),Hf(t),e===Bt&&((ot&il)===yl&&(_s|=l),hn===Ts&&ja(e,Je,Ya,!1)),Ll(e)}function n1(e,t,l){if((ot&(il|bu))!==yl)throw Error("Should not already be working.");if(Je!==0&&We!==null){var i=We,c=Qn();switch(C5){case Yg:case gd:var s=Eg;Wt&&((i=i._debugTask)?i.run(console.timeStamp.bind(console,"Suspended",s,c,li,void 0,"primary-light")):console.timeStamp("Suspended",s,c,li,void 0,"primary-light"));break;case yd:s=Eg,Wt&&((i=i._debugTask)?i.run(console.timeStamp.bind(console,"Action",s,c,li,void 0,"primary-light")):console.timeStamp("Action",s,c,li,void 0,"primary-light"));break;default:Wt&&(i=c-Eg,3>i||console.timeStamp("Blocked",Eg,c,li,void 0,5>i?"primary-light":10>i?"primary":100>i?"primary-dark":"error"))}}s=(l=!l&&(t&127)===0&&(t&e.expiredLanes)===0||wn(e,t))?Bi(e,t):Zr(e,t,!0);var g=l;do{if(s===Wc){G0&&!l&&ja(e,t,0,!1),t=Mt,Eg=Jn(),C5=t;break}else{if(i=Qn(),c=e.current.alternate,g&&!a1(c)){Ka(t),c=pl,s=i,!Wt||s<=c||(On?On.run(console.timeStamp.bind(console,"Teared Render",c,s,at,nt,"error")):console.timeStamp("Teared Render",c,s,at,nt,"error")),Ro(t,i),s=Zr(e,t,!1),g=!1;continue}if(s===pd){if(g=t,e.errorRecoveryDisabledLanes&g)var y=0;else y=e.pendingLanes&-536870913,y=y!==0?y:y&536870912?536870912:0;if(y!==0){Ka(t),zm(pl,i,t,On),Ro(t,i),t=y;e:{i=e,s=g,g=Gg;var T=i.current.memoizedState.isDehydrated;if(T&&(Qu(i,y).flags|=256),y=Zr(i,y,!1),y!==pd){if(y2&&!T){i.errorRecoveryDisabledLanes|=s,_s|=s,s=Ts;break e}i=Sa,Sa=g,i!==null&&(Sa===null?Sa=i:Sa.push.apply(Sa,i))}s=y}if(g=!1,s!==pd)continue;i=Qn()}}if(s===qg){Ka(t),zm(pl,i,t,On),Ro(t,i),Qu(e,0),ja(e,t,0,!0);break}e:{switch(l=e,s){case Wc:case qg:throw Error("Root did not complete. This is a bug in React.");case Ts:if((t&4194048)!==t)break;case yv:Ka(t),Cy(pl,i,t,On),Ro(t,i),c=t,(c&127)!==0?nv=i:(c&4194048)!==0&&(lv=i),ja(l,t,Ya,!zs);break e;case pd:Sa=null;break;case gv:case x3:break;default:throw Error("Unknown root exit status.")}if(Q.actQueue!==null)jt(l,c,t,Sa,Lg,Sv,Ya,_s,vd,s,null,null,pl,i);else{if((t&62914560)===t&&(g=Tv+O3-Qn(),10<g)){if(ja(l,t,Ya,!zs),ka(l,0,!0)!==0)break e;Ki=t,l.timeoutHandle=J3(l1.bind(null,l,c,Sa,Lg,Sv,t,Ya,_s,vd,zs,s,"Throttled",pl,i),g);break e}l1(l,c,Sa,Lg,Sv,t,Ya,_s,vd,zs,s,null,pl,i)}}}break}while(!0);Ll(e)}function l1(e,t,l,i,c,s,g,y,T,E,H,B,O,L){e.timeoutHandle=Ed;var ce=t.subtreeFlags,he=null;if((ce&8192||(ce&16785408)===16785408)&&(he={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Aa},Ch(t,s,he),ce=(s&62914560)===s?Tv-Qn():(s&4194048)===s?D3-Qn():0,ce=e0(he,ce),ce!==null)){Ki=s,e.cancelPendingCommit=ce(jt.bind(null,e,t,s,l,i,c,g,y,T,H,he,he.waitingForViewTransition?"Waiting for the previous Animation":0<he.count?0<he.imgCount?"Suspended on CSS and Images":"Suspended on CSS":he.imgCount===1?"Suspended on an Image":0<he.imgCount?"Suspended on Images":null,O,L)),ja(e,s,g,!E);return}jt(e,t,s,l,i,c,g,y,T,H,he,B,O,L)}function a1(e){for(var t=e;;){var l=t.tag;if((l===0||l===11||l===15)&&t.flags&16384&&(l=t.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var i=0;i<l.length;i++){var c=l[i],s=c.getSnapshot;c=c.value;try{if(!ga(s(),c))return!1}catch{return!1}}if(l=t.child,t.subtreeFlags&16384&&l!==null)l.return=t,t=l;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ja(e,t,l,i){t&=~v2,t&=~_s,e.suspendedLanes|=t,e.pingedLanes&=~t,i&&(e.warmLanes|=t),i=e.expirationTimes;for(var c=t;0<c;){var s=31-ll(c),g=1<<s;i[s]=-1,c&=~g}l!==0&&Eu(e,l,t)}function fa(){return(ot&(il|bu))===yl?(Ju(0),!1):!0}function Hh(){if(We!==null){if(Mt===qa)var e=We.return;else e=We,pr(),fo(e),U0=null,Cg=0,e=We;for(;e!==null;)ip(e.alternate,e),e=e.return;We=null}}function Ro(e,t){(e&127)!==0&&(id=t),(e&4194048)!==0&&(Vc=t),(e&62914560)!==0&&(w5=t),(e&2080374784)!==0&&(M5=t)}function Qu(e,t){Wt&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",nt,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",nt,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",nt,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",nt,"primary-light"));var l=pl;if(pl=Jn(),Je!==0&&0<l){if(Ka(Je),hn===gv||hn===Ts)Cy(l,pl,t,On);else{var i=pl,c=On;if(Wt&&!(i<=l)){var s=(t&738197653)===t?"tertiary-dark":"primary-dark",g=(t&536870912)===t?"Prewarm":(t&201326741)===t?"Interrupted Hydration":"Interrupted Render";c?c.run(console.timeStamp.bind(console,g,l,i,at,nt,s)):console.timeStamp(g,l,i,at,nt,s)}}Ro(Je,pl)}if(l=On,On=null,(t&127)!==0){On=Sg,c=0<=Zo&&Zo<id?id:Zo,i=0<=od&&od<id?id:od,s=0<=i?i:0<=c?c:pl,0<=nv?(Ka(2),Uy(nv,s,t,l)):av&127,l=c;var y=i,T=Tg,E=0<w0,H=ys===bg,B=ys===tv;if(c=pl,i=Sg,s=Wb,g=Fb,Wt){if(at="Blocking",0<l?l>c&&(l=c):l=c,0<y?y>l&&(y=l):y=l,T!==null&&l>y){var O=E?"secondary-light":"warning";i?i.run(console.timeStamp.bind(console,E?"Consecutive":"Event: "+T,y,l,at,nt,O)):console.timeStamp(E?"Consecutive":"Event: "+T,y,l,at,nt,O)}c>l&&(y=H?"error":(t&738197653)===t?"tertiary-light":"primary-light",H=B?"Promise Resolved":H?"Cascading Update":5<c-l?"Update Blocked":"Update",B=[],g!=null&&B.push(["Component name",g]),s!=null&&B.push(["Method name",s]),l={start:l,end:c,detail:{devtools:{properties:B,track:at,trackGroup:nt,color:y}}},i?i.run(performance.measure.bind(performance,H,l)):performance.measure(H,l))}Zo=-1.1,ys=0,Fb=Wb=null,nv=-1.1,w0=od,od=-1.1,id=Jn()}if((t&4194048)!==0&&(On=zg,c=0<=Xc&&Xc<Vc?Vc:Xc,l=0<=ri&&ri<Vc?Vc:ri,i=0<=vs&&vs<Vc?Vc:vs,s=0<=i?i:0<=l?l:pl,0<=lv?(Ka(256),Uy(lv,s,t,On)):av&4194048,B=i,y=cd,T=0<bs,E=Ib===tv,s=pl,i=zg,g=D5,H=O5,Wt&&(at="Transition",0<l?l>s&&(l=s):l=s,0<c?c>l&&(c=l):c=l,0<B?B>c&&(B=c):B=c,c>B&&y!==null&&(O=T?"secondary-light":"warning",i?i.run(console.timeStamp.bind(console,T?"Consecutive":"Event: "+y,B,c,at,nt,O)):console.timeStamp(T?"Consecutive":"Event: "+y,B,c,at,nt,O)),l>c&&(i?i.run(console.timeStamp.bind(console,"Action",c,l,at,nt,"primary-dark")):console.timeStamp("Action",c,l,at,nt,"primary-dark")),s>l&&(c=E?"Promise Resolved":5<s-l?"Update Blocked":"Update",B=[],H!=null&&B.push(["Component name",H]),g!=null&&B.push(["Method name",g]),l={start:l,end:s,detail:{devtools:{properties:B,track:at,trackGroup:nt,color:"primary-light"}}},i?i.run(performance.measure.bind(performance,c,l)):performance.measure(c,l))),ri=Xc=-1.1,Ib=0,lv=-1.1,bs=vs,vs=-1.1,Vc=Jn()),(t&62914560)!==0&&(av&62914560)!==0&&(Ka(4194304),Em(w5,pl)),(t&2080374784)!==0&&(av&2080374784)!==0&&(Ka(268435456),Em(M5,pl)),l=e.timeoutHandle,l!==Ed&&(e.timeoutHandle=Ed,vA(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),Ki=0,Hh(),Bt=e,We=l=Mu(e.current,null),Je=t,Mt=qa,Su=null,zs=!1,G0=wn(e,t),y2=!1,hn=Wc,vd=Ya=v2=_s=Es=0,Sa=Gg=null,Sv=!1,(t&8)!==0&&(t|=t&32),i=e.entangledLanes,i!==0)for(e=e.entanglements,i&=t;0<i;)c=31-ll(i),s=1<<c,t|=e[c],i&=~s;return Yo=t,$d(),e=z5(),1e3<e-T5&&(Q.recentlyCreatedOwnerStacks=0,T5=e),Qi.discardPendingWarnings(),l}function ou(e,t){Ue=null,Q.H=Ng,Q.getCurrentStack=null,Pu=!1,$l=null,t===C0||t===cv?(t=rc(),Mt=Yg):t===n2?(t=rc(),Mt=R3):Mt=t===d2?g2:t!==null&&typeof t=="object"&&typeof t.then=="function"?kg:vv,Su=t;var l=We;l===null?(hn=qg,Sf(e,Sl(t,e.current))):l.mode&Qe&&eh(l)}function zp(){var e=yu.current;return e===null?!0:(Je&4194048)===Je?si===null:(Je&62914560)===Je||(Je&536870912)!==0?e===si:!1}function Nh(){var e=Q.H;return Q.H=Ng,e===null?Ng:e}function Ep(){var e=Q.A;return Q.A=aA,e}function Nr(e){On===null&&(On=e._debugTask==null?null:e._debugTask)}function Br(){hn=Ts,zs||(Je&4194048)!==Je&&yu.current!==null||(G0=!0),(Es&134217727)===0&&(_s&134217727)===0||Bt===null||ja(Bt,Je,Ya,!1)}function Zr(e,t,l){var i=ot;ot|=il;var c=Nh(),s=Ep();if(Bt!==e||Je!==t){if(ti){var g=e.memoizedUpdaters;0<g.size&&(Yr(e,Je),g.clear()),Ea(e,t)}Lg=null,Qu(e,t)}t=!1,g=hn;e:do try{if(Mt!==qa&&We!==null){var y=We,T=Su;switch(Mt){case g2:Hh(),g=yv;break e;case Yg:case gd:case yd:case kg:yu.current===null&&(t=!0);var E=Mt;if(Mt=qa,Su=null,qr(e,y,T,E),l&&G0){g=Wc;break e}break;default:E=Mt,Mt=qa,Su=null,qr(e,y,T,E)}}_p(),g=hn;break}catch(H){ou(e,H)}while(!0);return t&&e.shellSuspendCounter++,pr(),ot=i,Q.H=c,Q.A=s,We===null&&(Bt=null,Je=0,$d()),g}function _p(){for(;We!==null;)Bh(We)}function Bi(e,t){var l=ot;ot|=il;var i=Nh(),c=Ep();if(Bt!==e||Je!==t){if(ti){var s=e.memoizedUpdaters;0<s.size&&(Yr(e,Je),s.clear()),Ea(e,t)}Lg=null,zv=Qn()+w3,Qu(e,t)}else G0=wn(e,t);e:do try{if(Mt!==qa&&We!==null)t:switch(t=We,s=Su,Mt){case vv:Mt=qa,Su=null,qr(e,t,s,vv);break;case gd:case yd:if(Hm(s)){Mt=qa,Su=null,Ap(t);break}t=function(){Mt!==gd&&Mt!==yd||Bt!==e||(Mt=bv),Ll(e)},s.then(t,t);break e;case Yg:Mt=bv;break e;case R3:Mt=p2;break e;case bv:Hm(s)?(Mt=qa,Su=null,Ap(t)):(Mt=qa,Su=null,qr(e,t,s,bv));break;case p2:var g=null;switch(We.tag){case 26:g=We.memoizedState;case 5:case 27:var y=We;if(g?Fe(g):y.stateNode.complete){Mt=qa,Su=null;var T=y.sibling;if(T!==null)We=T;else{var E=y.return;E!==null?(We=E,Cf(E)):We=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Mt=qa,Su=null,qr(e,t,s,p2);break;case kg:Mt=qa,Su=null,qr(e,t,s,kg);break;case g2:Hh(),hn=yv;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}Q.actQueue!==null?_p():Rn();break}catch(H){ou(e,H)}while(!0);return pr(),Q.H=i,Q.A=c,ot=l,We!==null?Wc:(Bt=null,Je=0,$d(),hn)}function Rn(){for(;We!==null&&!f0();)Bh(We)}function Bh(e){var t=e.alternate;(e.mode&Qe)!==we?(xi(e),t=fe(e,_f,t,e,Yo),eh(e)):t=fe(e,_f,t,e,Yo),e.memoizedProps=e.pendingProps,t===null?Cf(e):We=t}function Ap(e){var t=fe(e,Xn,e);e.memoizedProps=e.pendingProps,t===null?Cf(e):We=t}function Xn(e){var t=e.alternate,l=(e.mode&Qe)!==we;switch(l&&xi(e),e.tag){case 15:case 0:t=ep(t,e,e.pendingProps,e.type,void 0,Je);break;case 11:t=ep(t,e,e.pendingProps,e.type.render,e.ref,Je);break;case 5:fo(e);default:ip(t,e),e=We=Rm(e,Yo),t=_f(t,e,Yo)}return l&&eh(e),t}function qr(e,t,l,i){pr(),fo(t),U0=null,Cg=0;var c=t.return;try{if($m(e,c,t,l,Je)){hn=qg,Sf(e,Sl(l,e.current)),We=null;return}}catch(s){if(c!==null)throw We=c,s;hn=qg,Sf(e,Sl(l,e.current)),We=null;return}t.flags&32768?(tt||i===vv?e=!0:G0||(Je&536870912)!==0?e=!1:(zs=e=!0,(i===gd||i===yd||i===Yg||i===kg)&&(i=yu.current,i!==null&&i.tag===13&&(i.flags|=16384))),xp(t,e)):Cf(t)}function Cf(e){var t=e;do{if((t.flags&32768)!==0){xp(t,zs);return}var l=t.alternate;if(e=t.return,xi(t),l=fe(t,up,l,t,Yo),(t.mode&Qe)!==we&&tf(t),l!==null){We=l;return}if(t=t.sibling,t!==null){We=t;return}We=t=e}while(t!==null);hn===Wc&&(hn=x3)}function xp(e,t){do{var l=Ky(e.alternate,e);if(l!==null){l.flags&=32767,We=l;return}if((e.mode&Qe)!==we){tf(e),l=e.actualDuration;for(var i=e.child;i!==null;)l+=i.actualDuration,i=i.sibling;e.actualDuration=l}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){We=e;return}We=e=l}while(e!==null);hn=yv,We=null}function jt(e,t,l,i,c,s,g,y,T,E,H,B,O,L){e.cancelPendingCommit=null;do Uf();while(Pn!==xs);if(Qi.flushLegacyContextWarning(),Qi.flushPendingUnsafeLifecycleWarnings(),(ot&(il|bu))!==yl)throw Error("Should not already be working.");if(Ka(l),E===pd?zm(O,L,l,On):i!==null?bb(O,L,l,i,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!==0,On):vb(O,L,l,On),t!==null){if(l===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(s=t.lanes|t.childLanes,s|=Xb,Zs(e,l,s,g,y,T),e===Bt&&(We=Bt=null,Je=0),L0=t,Rs=e,Ki=l,T2=s,E2=c,N3=i,z2=L,B3=B,Wi=Ev,Z3=null,t.actualDuration!==0||(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,kr(Hc,function(){return Kg=window.event,Wi===Ev&&(Wi=S2),jf(),null})):(e.callbackNode=null,e.callbackPriority=0),Lc=null,gs=Jn(),B!==null&&Sb(L,gs,B,On),i=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||i){i=Q.T,Q.T=null,c=gt.p,gt.p=Hn,g=ot,ot|=bu;try{Eb(e,t,l)}finally{ot=g,gt.p=c,Q.T=i}}Pn=C3,Ol(),$u(),Rp()}}function Ol(){if(Pn===C3){Pn=xs;var e=Rs,t=L0,l=Ki,i=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||i){i=Q.T,Q.T=null;var c=gt.p;gt.p=Hn;var s=ot;ot|=bu;try{Y0=l,k0=e,oc(),Df(t,e),k0=Y0=null,l=j2;var g=Vd(e.containerInfo),y=l.focusedElem,T=l.selectionRange;if(g!==y&&y&&y.ownerDocument&&Dy(y.ownerDocument.documentElement,y)){if(T!==null&&bm(y)){var E=T.start,H=T.end;if(H===void 0&&(H=E),"selectionStart"in y)y.selectionStart=E,y.selectionEnd=Math.min(H,y.value.length);else{var B=y.ownerDocument||document,O=B&&B.defaultView||window;if(O.getSelection){var L=O.getSelection(),ce=y.textContent.length,he=Math.min(T.start,ce),Gt=T.end===void 0?he:Math.min(T.end,ce);!L.extend&&he>Gt&&(g=Gt,Gt=he,he=g);var lt=Ry(y,he),D=Ry(y,Gt);if(lt&&D&&(L.rangeCount!==1||L.anchorNode!==lt.node||L.anchorOffset!==lt.offset||L.focusNode!==D.node||L.focusOffset!==D.offset)){var w=B.createRange();w.setStart(lt.node,lt.offset),L.removeAllRanges(),he>Gt?(L.addRange(w),L.extend(D.node,D.offset)):(w.setEnd(D.node,D.offset),L.addRange(w))}}}}for(B=[],L=y;L=L.parentNode;)L.nodeType===1&&B.push({element:L,left:L.scrollLeft,top:L.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;y<B.length;y++){var j=B[y];j.element.scrollLeft=j.left,j.element.scrollTop=j.top}}qv=!!U2,j2=U2=null}finally{ot=s,gt.p=c,Q.T=i}}e.current=t,Pn=U3}}function $u(){if(Pn===U3){Pn=xs;var e=Z3;if(e!==null){gs=Jn();var t=Gc,l=gs;!Wt||l<=t||console.timeStamp(e,t,l,at,nt,"secondary-light")}e=Rs,t=L0,l=Ki;var i=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||i){i=Q.T,Q.T=null;var c=gt.p;gt.p=Hn;var s=ot;ot|=bu;try{Y0=l,k0=e,oc(),wh(e,t.alternate,t),k0=Y0=null}finally{ot=s,gt.p=c,Q.T=i}}e=z2,t=B3,Gc=Jn(),e=t===null?e:gs,t=Gc,l=Wi===b2,i=On,Lc!==null?jy(e,t,Lc,!1,i):!Wt||t<=e||(i?i.run(console.timeStamp.bind(console,l?"Commit Interrupted View Transition":"Commit",e,t,at,nt,l?"error":"secondary-dark")):console.timeStamp(l?"Commit Interrupted View Transition":"Commit",e,t,at,nt,l?"error":"secondary-dark")),Pn=j3}}function Rp(){if(Pn===H3||Pn===j3){if(Pn===H3){var e=Gc;Gc=Jn();var t=Gc,l=Wi===b2;!Wt||t<=e||console.timeStamp(l?"Interrupted View Transition":"Starting Animation",e,t,at,nt,l?" error":"secondary-light"),Wi!==b2&&(Wi=M3)}Pn=xs,d0(),e=Rs;var i=L0;t=Ki,l=N3;var c=i.actualDuration!==0||(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0;c?Pn=_v:(Pn=xs,L0=Rs=null,Dp(e,e.pendingLanes),bd=0,Xg=null);var s=e.pendingLanes;if(s===0&&(As=null),c||Yh(e),s=Zn(t),i=i.stateNode,jn&&typeof jn.onCommitFiberRoot=="function")try{var g=(i.current.flags&128)===128;switch(s){case Hn:var y=ag;break;case al:y=h0;break;case ml:y=Hc;break;case Ho:y=m0;break;default:y=Hc}jn.onCommitFiberRoot(Nc,i,y,g)}catch(B){ei||(ei=!0,console.error("React instrumentation encountered an error: %o",B))}if(ti&&e.memoizedUpdaters.clear(),Sp(),l!==null){g=Q.T,y=gt.p,gt.p=Hn,Q.T=null;try{var T=e.onRecoverableError;for(i=0;i<l.length;i++){var E=l[i],H=u1(E.stack);fe(E.source,T,E.value,H)}}finally{Q.T=g,gt.p=y}}(Ki&3)!==0&&Uf(),Ll(e),s=e.pendingLanes,(t&261930)!==0&&(s&42)!==0?(iv=!0,e===_2?Vg++:(Vg=0,_2=e)):Vg=0,c||Ro(t,Gc),Ju(0)}}function u1(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function Dp(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ef(t)))}function Uf(){return Ol(),$u(),Rp(),jf()}function jf(){if(Pn!==_v)return!1;var e=Rs,t=T2;T2=0;var l=Zn(Ki),i=ml>l?ml:l;l=Q.T;var c=gt.p;try{gt.p=i,Q.T=null;var s=E2;E2=null,i=Rs;var g=Ki;if(Pn=xs,L0=Rs=null,Ki=0,(ot&(il|bu))!==yl)throw Error("Cannot flush passive effects while already rendering.");Ka(g),A2=!0,Av=!1;var y=0;if(Lc=null,y=Qn(),Wi===M3)Em(Gc,y,F_);else{var T=Gc,E=y,H=Wi===S2;!Wt||E<=T||(On?On.run(console.timeStamp.bind(console,H?"Waiting for Paint":"Waiting",T,E,at,nt,"secondary-light")):console.timeStamp(H?"Waiting for Paint":"Waiting",T,E,at,nt,"secondary-light"))}T=ot,ot|=bu;var B=i.current;oc(),Uh(B);var O=i.current;B=z2,oc(),yp(i,O,g,s,B),Yh(i),ot=T;var L=Qn();if(O=y,B=On,Lc!==null?jy(O,L,Lc,!0,B):!Wt||L<=O||(B?B.run(console.timeStamp.bind(console,"Remaining Effects",O,L,at,nt,"secondary-dark")):console.timeStamp("Remaining Effects",O,L,at,nt,"secondary-dark")),Ro(g,L),Ju(0,!1),Av?i===Xg?bd++:(bd=0,Xg=i):bd=0,Av=A2=!1,jn&&typeof jn.onPostCommitFiberRoot=="function")try{jn.onPostCommitFiberRoot(Nc,i)}catch(he){ei||(ei=!0,console.error("React instrumentation encountered an error: %o",he))}var ce=i.current.stateNode;return ce.effectDuration=0,ce.passiveEffectDuration=0,!0}finally{gt.p=c,Q.T=l,Dp(e,t)}}function wl(e,t,l){t=Sl(l,t),Yy(t),t=gh(e.stateNode,t,2),e=Hu(e,t,2),e!==null&&(Ga(e,2),Ll(e))}function Ge(e,t,l){if(V0=!1,e.tag===3)wl(e,e,l);else{for(;t!==null;){if(t.tag===3){wl(t,e,l);return}if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(As===null||!As.has(i))){e=Sl(l,e),Yy(e),l=yh(2),i=Hu(t,l,2),i!==null&&(vh(l,i,t,e),Ga(i,2),Ll(i));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
151
|
+
|
|
152
|
+
Error message:
|
|
153
|
+
|
|
154
|
+
%s`,l)}}function Zh(e,t,l){var i=e.pingCache;if(i===null){i=e.pingCache=new iA;var c=new Set;i.set(t,c)}else c=i.get(t),c===void 0&&(c=new Set,i.set(t,c));c.has(l)||(y2=!0,c.add(l),i=Gl.bind(null,e,t,l),ti&&Yr(e,l),t.then(i,i))}function Gl(e,t,l){var i=e.pingCache;i!==null&&i.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,(l&127)!==0?0>Zo&&(id=Zo=Jn(),Sg=ev("Promise Resolved"),ys=tv):(l&4194048)!==0&&0>ri&&(Vc=ri=Jn(),zg=ev("Promise Resolved"),Ib=tv),Tp()&&Q.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
155
|
+
|
|
156
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
157
|
+
|
|
158
|
+
act(() => {
|
|
159
|
+
/* finish loading suspended data */
|
|
160
|
+
});
|
|
161
|
+
/* assert on the output */
|
|
162
|
+
|
|
163
|
+
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`),Bt===e&&(Je&l)===l&&(hn===Ts||hn===gv&&(Je&62914560)===Je&&Qn()-Tv<O3?(ot&il)===yl&&Qu(e,0):v2|=l,vd===Je&&(vd=0)),Ll(e)}function Op(e,t){t===0&&(t=bi()),e=sl(e,t),e!==null&&(Ga(e,t),Ll(e))}function Zi(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),Op(e,l)}function xc(e,t){var l=0;switch(e.tag){case 31:case 13:var i=e.stateNode,c=e.memoizedState;c!==null&&(l=c.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}i!==null&&i.delete(t),Op(e,l)}function cu(e,t,l){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var i=e,c=t,s=c.type===Ul;s=l||s,c.tag!==22?c.flags&67108864?s&&fe(c,qh,i,c):cu(i,c,s):c.memoizedState===null&&(s&&c.flags&8192?fe(c,qh,i,c):c.subtreeFlags&67108864&&fe(c,cu,i,c,s)),t=t.sibling}}function qh(e,t){At(!0);try{Mh(t),bp(t),gp(e,t.alternate,t,!1),Mf(e,t,0,null,!1,0)}finally{At(!1)}}function Yh(e){var t=!0;e.current.mode&(Jl|Xi)||(t=!1),cu(e,e.current,t)}function Ha(e){if((ot&il)===yl){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=ge(e)||"ReactComponent",xv!==null){if(xv.has(t))return;xv.add(t)}else xv=new Set([t]);fe(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function Yr(e,t){ti&&e.memoizedUpdaters.forEach(function(l){rl(e,l,t)})}function kr(e,t){var l=Q.actQueue;return l!==null?(l.push(t),rA):lg(e,t)}function Hf(e){Tp()&&Q.actQueue===null&&fe(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
164
|
+
|
|
165
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
166
|
+
|
|
167
|
+
act(() => {
|
|
168
|
+
/* fire events that update state */
|
|
169
|
+
});
|
|
170
|
+
/* assert on the output */
|
|
171
|
+
|
|
172
|
+
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`,ge(e))})}function Ll(e){e!==X0&&e.next===null&&(X0===null?Rv=X0=e:X0=X0.next=e),Dv=!0,Q.actQueue!==null?R2||(R2=!0,o1()):x2||(x2=!0,o1())}function Ju(e,t){if(!D2&&Dv){D2=!0;do for(var l=!1,i=Rv;i!==null;){if(e!==0){var c=i.pendingLanes;if(c===0)var s=0;else{var g=i.suspendedLanes,y=i.pingedLanes;s=(1<<31-ll(42|e)+1)-1,s&=c&~(g&~y),s=s&201326741?s&201326741|1:s?s|2:0}s!==0&&(l=!0,Nf(i,s))}else s=Je,s=ka(i,i===Bt?s:0,i.cancelPendingCommit!==null||i.timeoutHandle!==Ed),(s&3)===0||wn(i,s)||(l=!0,Nf(i,s));i=i.next}while(l);D2=!1}}function i1(){Kg=window.event,kh()}function kh(){Dv=R2=x2=!1;var e=0;Ds!==0&&Up()&&(e=Ds);for(var t=Qn(),l=null,i=Rv;i!==null;){var c=i.next,s=Gr(i,t);s===0?(i.next=null,l===null?Rv=c:l.next=c,c===null&&(X0=l)):(l=i,(e!==0||(s&3)!==0)&&(Dv=!0)),i=c}Pn!==xs&&Pn!==_v||Ju(e),Ds!==0&&(Ds=0)}function Gr(e,t){for(var l=e.suspendedLanes,i=e.pingedLanes,c=e.expirationTimes,s=e.pendingLanes&-62914561;0<s;){var g=31-ll(s),y=1<<g,T=c[g];T===-1?((y&l)===0||(y&i)!==0)&&(c[g]=um(y,t)):T<=t&&(e.expiredLanes|=y),s&=~y}if(t=Bt,l=Je,l=ka(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Ed),i=e.callbackNode,l===0||e===t&&(Mt===gd||Mt===yd)||e.cancelPendingCommit!==null)return i!==null&&Gh(i),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||wn(e,l)){if(t=l&-l,t!==e.callbackPriority||Q.actQueue!==null&&i!==O2)Gh(i);else return t;switch(Zn(l)){case Hn:case al:l=h0;break;case ml:l=Hc;break;case Ho:l=m0;break;default:l=Hc}return i=wp.bind(null,e),Q.actQueue!==null?(Q.actQueue.push(i),l=O2):l=lg(l,i),e.callbackPriority=t,e.callbackNode=l,t}return i!==null&&Gh(i),e.callbackPriority=2,e.callbackNode=null,2}function wp(e,t){if(iv=uv=!1,Kg=window.event,Pn!==xs&&Pn!==_v)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(Wi===Ev&&(Wi=S2),Uf()&&e.callbackNode!==l)return null;var i=Je;return i=ka(e,e===Bt?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Ed),i===0?null:(n1(e,i,t),Gr(e,Qn()),e.callbackNode!=null&&e.callbackNode===l?wp.bind(null,e):null)}function Nf(e,t){if(Uf())return null;uv=iv,iv=!1,n1(e,t,!0)}function Gh(e){e!==O2&&e!==null&&s0(e)}function o1(){Q.actQueue!==null&&Q.actQueue.push(function(){return kh(),null}),bA(function(){(ot&(il|bu))!==yl?lg(ag,i1):kh()})}function Mp(){if(Ds===0){var e=rd;e===0&&(e=is,is<<=1,(is&261888)===0&&(is=256)),Ds=e}return Ds}function ft(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(ht(e,"action"),Vs(""+e))}function Dt(e,t){var l=t.ownerDocument.createElement("input");return l.name=t.name,l.value=t.value,e.id&&l.setAttribute("form",e.id),t.parentNode.insertBefore(l,t),e=new FormData(e),l.parentNode.removeChild(l),e}function et(e,t,l,i,c){if(t==="submit"&&l&&l.stateNode===c){var s=ft((c[jl]||null).action),g=i.submitter;g&&(t=(t=g[jl]||null)?ft(t.formAction):g.getAttribute("formAction"),t!==null&&(s=t,g=null));var y=new $1("action","action",null,i,c);e.push({event:y,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(Ds!==0){var T=g?Dt(c,g):new FormData(c),E={pending:!0,data:T,method:c.method,action:s};Object.freeze(E),ji(l,E,null,T)}}else typeof s=="function"&&(y.preventDefault(),T=g?Dt(c,g):new FormData(c),E={pending:!0,data:T,method:c.method,action:s},Object.freeze(E),ji(l,E,s,T))},currentTarget:c}]})}}function Ke(e,t,l){e.currentTarget=l;try{t(e)}catch(i){kb(i)}e.currentTarget=null}function Tt(e,t){t=(t&4)!==0;for(var l=0;l<e.length;l++){var i=e[l];e:{var c=void 0,s=i.event;if(i=i.listeners,t)for(var g=i.length-1;0<=g;g--){var y=i[g],T=y.instance,E=y.currentTarget;if(y=y.listener,T!==c&&s.isPropagationStopped())break e;T!==null?fe(T,Ke,s,y,E):Ke(s,y,E),c=T}else for(g=0;g<i.length;g++){if(y=i[g],T=y.instance,E=y.currentTarget,y=y.listener,T!==c&&s.isPropagationStopped())break e;T!==null?fe(T,Ke,s,y,E):Ke(s,y,E),c=T}}}}function Oe(e,t){w2.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var l=t[Bc];l===void 0&&(l=t[Bc]=new Set);var i=e+"__bubble";l.has(i)||(Lh(t,e,2,!1),l.add(i))}function Ku(e,t,l){w2.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var i=0;t&&(i|=4),Lh(l,e,i,t)}function Do(e){if(!e[Ov]){e[Ov]=!0,G1.forEach(function(l){l!=="selectionchange"&&(w2.has(l)||Ku(l,!1,e),Ku(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ov]||(t[Ov]=!0,Ku("selectionchange",!1,t))}}function Lh(e,t,l,i){switch(l0(t)){case Hn:var c=Qp;break;case al:c=nl;break;default:c=$p}l=c.bind(null,t,l,e),c=void 0,!Mb||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(c=!0),i?c!==void 0?e.addEventListener(t,l,{capture:!0,passive:c}):e.addEventListener(t,l,!0):c!==void 0?e.addEventListener(t,l,{passive:c}):e.addEventListener(t,l,!1)}function ru(e,t,l,i,c){var s=i;if((t&1)===0&&(t&2)===0&&i!==null)e:for(;;){if(i===null)return;var g=i.tag;if(g===3||g===4){var y=i.stateNode.containerInfo;if(y===c)break;if(g===4)for(g=i.return;g!==null;){var T=g.tag;if((T===3||T===4)&&g.stateNode.containerInfo===c)return;g=g.return}for(;y!==null;){if(g=La(y),g===null)return;if(T=g.tag,T===5||T===6||T===26||T===27){i=s=g;continue e}y=y.parentNode}}i=i.return}Yd(function(){var E=s,H=$a(l),B=[];e:{var O=S5.get(e);if(O!==void 0){var L=$1,ce=e;switch(e){case"keypress":if(Xs(l)===0)break e;case"keydown":case"keyup":L=__;break;case"focusin":ce="focus",L=Hb;break;case"focusout":ce="blur",L=Hb;break;case"beforeblur":case"afterblur":L=Hb;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":L=i5;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":L=d_;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":L=R_;break;case g5:case y5:case v5:L=p_;break;case b5:L=O_;break;case"scroll":case"scrollend":L=s_;break;case"wheel":L=M_;break;case"copy":case"cut":case"paste":L=y_;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":L=c5;break;case"toggle":case"beforetoggle":L=U_}var he=(t&4)!==0,Gt=!he&&(e==="scroll"||e==="scrollend"),lt=he?O!==null?O+"Capture":null:O;he=[];for(var D=E,w;D!==null;){var j=D;if(w=j.stateNode,j=j.tag,j!==5&&j!==26&&j!==27||w===null||lt===null||(j=Ou(D,lt),j!=null&&he.push(Ht(D,j,w))),Gt)break;D=D.return}0<he.length&&(O=new L(O,ce,null,l,H),B.push({event:O,listeners:he}))}}if((t&7)===0){e:{if(O=e==="mouseover"||e==="pointerover",L=e==="mouseout"||e==="pointerout",O&&l!==rg&&(ce=l.relatedTarget||l.fromElement)&&(La(ce)||ce[Vi]))break e;if((L||O)&&(O=H.window===H?H:(O=H.ownerDocument)?O.defaultView||O.parentWindow:window,L?(ce=l.relatedTarget||l.toElement,L=E,ce=ce?La(ce):null,ce!==null&&(Gt=me(ce),he=ce.tag,ce!==Gt||he!==5&&he!==27&&he!==6)&&(ce=null)):(L=null,ce=E),L!==ce)){if(he=i5,j="onMouseLeave",lt="onMouseEnter",D="mouse",(e==="pointerout"||e==="pointerover")&&(he=c5,j="onPointerLeave",lt="onPointerEnter",D="pointer"),Gt=L==null?O:Va(L),w=ce==null?O:Va(ce),O=new he(j,D+"leave",L,l,H),O.target=Gt,O.relatedTarget=w,j=null,La(H)===E&&(he=new he(lt,D+"enter",ce,l,H),he.target=w,he.relatedTarget=Gt,j=he),Gt=j,L&&ce)t:{for(he=Rc,lt=L,D=ce,w=0,j=lt;j;j=he(j))w++;j=0;for(var F=D;F;F=he(F))j++;for(;0<w-j;)lt=he(lt),w--;for(;0<j-w;)D=he(D),j--;for(;w--;){if(lt===D||D!==null&<===D.alternate){he=lt;break t}lt=he(lt),D=he(D)}he=null}else he=null;L!==null&&Vh(B,O,L,he,!1),ce!==null&&Gt!==null&&Vh(B,Gt,ce,he,!0)}}e:{if(O=E?Va(E):window,L=O.nodeName&&O.nodeName.toLowerCase(),L==="select"||L==="input"&&O.type==="file")var se=lo;else if(gm(O))if(m5)se=Ks;else{se=ym;var je=yb}else L=O.nodeName,!L||L.toLowerCase()!=="input"||O.type!=="checkbox"&&O.type!=="radio"?E&&Du(E.elementType)&&(se=lo):se=vm;if(se&&(se=se(e,E))){$s(B,se,l,H);break e}je&&je(e,O,E),e==="focusout"&&E&&O.type==="number"&&E.memoizedProps.value!=null&&om(O,"number",O.value)}switch(je=E?Va(E):window,e){case"focusin":(gm(je)||je.contentEditable==="true")&&(z0=je,Bb=E,gg=null);break;case"focusout":gg=Bb=z0=null;break;case"mousedown":Zb=!0;break;case"contextmenu":case"mouseup":case"dragend":Zb=!1,Oy(B,l,H);break;case"selectionchange":if(B_)break;case"keydown":case"keyup":Oy(B,l,H)}var Ee;if(Nb)e:{switch(e){case"compositionstart":var Te="onCompositionStart";break e;case"compositionend":Te="onCompositionEnd";break e;case"compositionupdate":Te="onCompositionUpdate";break e}Te=void 0}else T0?sr(e,l)&&(Te="onCompositionEnd"):e==="keydown"&&l.keyCode===r5&&(Te="onCompositionStart");Te&&(s5&&l.locale!=="ko"&&(T0||Te!=="onCompositionStart"?Te==="onCompositionEnd"&&T0&&(Ee=Fo()):(fs=H,Cb="value"in fs?fs.value:fs.textContent,T0=!0)),je=su(E,Te),0<je.length&&(Te=new o5(Te,e,null,l,H),B.push({event:Te,listeners:je}),Ee?Te.data=Ee:(Ee=_i(l),Ee!==null&&(Te.data=Ee)))),(Ee=H_?pm(e,l):kd(e,l))&&(Te=su(E,"onBeforeInput"),0<Te.length&&(je=new b_("onBeforeInput","beforeinput",null,l,H),B.push({event:je,listeners:Te}),je.data=Ee)),et(B,e,E,l,H)}Tt(B,t)})}function Ht(e,t,l){return{instance:e,listener:t,currentTarget:l}}function su(e,t){for(var l=t+"Capture",i=[];e!==null;){var c=e,s=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||s===null||(c=Ou(e,l),c!=null&&i.unshift(Ht(e,c,s)),c=Ou(e,t),c!=null&&i.push(Ht(e,c,s))),e.tag===3)return i;e=e.return}return[]}function Rc(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Vh(e,t,l,i,c){for(var s=t._reactName,g=[];l!==null&&l!==i;){var y=l,T=y.alternate,E=y.stateNode;if(y=y.tag,T!==null&&T===i)break;y!==5&&y!==26&&y!==27||E===null||(T=E,c?(E=Ou(l,s),E!=null&&g.unshift(Ht(l,E,T))):c||(E=Ou(l,s),E!=null&&g.push(Ht(l,E,T)))),l=l.return}g.length!==0&&e.push({event:t,listeners:g})}function Ml(e,t){_y(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||a5||(a5=!0,e==="select"&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var l={registrationNameDependencies:ni,possibleRegistrationNames:rs};Du(e)||typeof t.is=="string"||gb(e,t,l),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function tn(e,t,l,i){t!==l&&(l=fu(l),fu(t)!==l&&(i[e]=t))}function Bf(e,t,l){t.forEach(function(i){l[qi(i)]=i==="style"?Oo(e):e.getAttribute(i)})}function nn(e,t){t===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function Xh(e,t){return e=e.namespaceURI===Be||e.namespaceURI===Le?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function fu(e){return ql(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",Lo(e)),yi(e)),(typeof e=="string"?e:""+e).replace(sA,`
|
|
173
|
+
`).replace(fA,"")}function Cp(e,t){return t=fu(t),fu(e)===t}function pt(e,t,l,i,c,s){switch(l){case"children":typeof i=="string"?(Ls(i,t,!1),t==="body"||t==="textarea"&&i===""||Wo(e,i)):(typeof i=="number"||typeof i=="bigint")&&(Ls(""+i,t,!1),t!=="body"&&Wo(e,""+i));break;case"className":Au(e,"class",i);break;case"tabIndex":Au(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":Au(e,l,i);break;case"style":dm(e,i,s);break;case"data":if(t!=="object"){Au(e,"data",i);break}case"src":case"href":if(i===""&&(t!=="a"||l!=="href")){console.error(l==="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.',l,l),e.removeAttribute(l);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(l);break}ht(i,l),i=Vs(""+i),e.setAttribute(l,i);break;case"action":case"formAction":if(i!=null&&(t==="form"?l==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof i=="function"&&(c.encType==null&&c.method==null||Cv||(Cv=!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||Mv||(Mv=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?l==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||c.type==="submit"||c.type==="image"||wv?t!=="button"||c.type==null||c.type==="submit"||wv?typeof i=="function"&&(c.name==null||L3||(L3=!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||Cv||(Cv=!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||Mv||(Mv=!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."))):(wv=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(wv=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(l==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof i=="function"){e.setAttribute(l,"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 s=="function"&&(l==="formAction"?(t!=="input"&&pt(e,t,"name",c.name,c,null),pt(e,t,"formEncType",c.formEncType,c,null),pt(e,t,"formMethod",c.formMethod,c,null),pt(e,t,"formTarget",c.formTarget,c,null)):(pt(e,t,"encType",c.encType,c,null),pt(e,t,"method",c.method,c,null),pt(e,t,"target",c.target,c,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(l);break}ht(i,l),i=Vs(""+i),e.setAttribute(l,i);break;case"onClick":i!=null&&(typeof i!="function"&&nn(l,i),e.onclick=Aa);break;case"onScroll":i!=null&&(typeof i!="function"&&nn(l,i),Oe("scroll",e));break;case"onScrollEnd":i!=null&&(typeof i!="function"&&nn(l,i),Oe("scrollend",e));break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(l=i.__html,l!=null){if(c.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=l}}break;case"multiple":e.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":e.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){e.removeAttribute("xlink:href");break}ht(i,l),l=Vs(""+i),e.setAttributeNS(Sd,"xlink:href",l);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"?(ht(i,l),e.setAttribute(l,""+i)):e.removeAttribute(l);break;case"inert":i!==""||Uv[l]||(Uv[l]=!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.",l));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":i===!0?e.setAttribute(l,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?(ht(i,l),e.setAttribute(l,i)):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?(ht(i,l),e.setAttribute(l,i)):e.removeAttribute(l);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?e.removeAttribute(l):(ht(i,l),e.setAttribute(l,i));break;case"popover":Oe("beforetoggle",e),Oe("toggle",e),el(e,"popover",i);break;case"xlinkActuate":cn(e,Sd,"xlink:actuate",i);break;case"xlinkArcrole":cn(e,Sd,"xlink:arcrole",i);break;case"xlinkRole":cn(e,Sd,"xlink:role",i);break;case"xlinkShow":cn(e,Sd,"xlink:show",i);break;case"xlinkTitle":cn(e,Sd,"xlink:title",i);break;case"xlinkType":cn(e,Sd,"xlink:type",i);break;case"xmlBase":cn(e,M2,"xml:base",i);break;case"xmlLang":cn(e,M2,"xml:lang",i);break;case"xmlSpace":cn(e,M2,"xml:space",i);break;case"is":s!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),el(e,"is",i);break;case"innerText":case"textContent":break;case"popoverTarget":V3||i==null||typeof i!="object"||(V3=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",i));default:!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N"?(l=zy(l),el(e,l,i)):ni.hasOwnProperty(l)&&i!=null&&typeof i!="function"&&nn(l,i)}}function Lr(e,t,l,i,c,s){switch(l){case"style":dm(e,i,s);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(l=i.__html,l!=null){if(c.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=l}}break;case"children":typeof i=="string"?Wo(e,i):(typeof i=="number"||typeof i=="bigint")&&Wo(e,""+i);break;case"onScroll":i!=null&&(typeof i!="function"&&nn(l,i),Oe("scroll",e));break;case"onScrollEnd":i!=null&&(typeof i!="function"&&nn(l,i),Oe("scrollend",e));break;case"onClick":i!=null&&(typeof i!="function"&&nn(l,i),e.onclick=Aa);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(ni.hasOwnProperty(l))i!=null&&typeof i!="function"&&nn(l,i);else e:{if(l[0]==="o"&&l[1]==="n"&&(c=l.endsWith("Capture"),t=l.slice(2,c?l.length-7:void 0),s=e[jl]||null,s=s!=null?s[l]:null,typeof s=="function"&&e.removeEventListener(t,s,c),typeof i=="function")){typeof s!="function"&&s!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(t,i,c);break e}l in e?e[l]=i:i===!0?e.setAttribute(l,""):el(e,l,i)}}}function Jt(e,t,l){switch(Ml(t,l),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Oe("error",e),Oe("load",e);var i=!1,c=!1,s;for(s in l)if(l.hasOwnProperty(s)){var g=l[s];if(g!=null)switch(s){case"src":i=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:pt(e,t,s,g,l,null)}}c&&pt(e,t,"srcSet",l.srcSet,l,null),i&&pt(e,t,"src",l.src,l,null);return;case"input":vn("input",l),Oe("invalid",e);var y=s=g=c=null,T=null,E=null;for(i in l)if(l.hasOwnProperty(i)){var H=l[i];if(H!=null)switch(i){case"name":c=H;break;case"type":g=H;break;case"checked":T=H;break;case"defaultChecked":E=H;break;case"value":s=H;break;case"defaultValue":y=H;break;case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:pt(e,t,i,H,l,null)}}bl(e,l),Cd(e,s,y,T,E,g,c,!1);return;case"select":vn("select",l),Oe("invalid",e),i=g=s=null;for(c in l)if(l.hasOwnProperty(c)&&(y=l[c],y!=null))switch(c){case"value":s=y;break;case"defaultValue":g=y;break;case"multiple":i=y;default:pt(e,t,c,y,l,null)}Ud(e,l),t=s,l=g,e.multiple=!!i,t!=null?xu(e,!!i,t,!1):l!=null&&xu(e,!!i,l,!0);return;case"textarea":vn("textarea",l),Oe("invalid",e),s=c=i=null;for(g in l)if(l.hasOwnProperty(g)&&(y=l[g],y!=null))switch(g){case"value":i=y;break;case"defaultValue":c=y;break;case"children":s=y;break;case"dangerouslySetInnerHTML":if(y!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:pt(e,t,g,y,l,null)}Qo(e,l),ar(e,i,c,s);return;case"option":Ty(e,l);for(T in l)l.hasOwnProperty(T)&&(i=l[T],i!=null)&&(T==="selected"?e.selected=i&&typeof i!="function"&&typeof i!="symbol":pt(e,t,T,i,l,null));return;case"dialog":Oe("beforetoggle",e),Oe("toggle",e),Oe("cancel",e),Oe("close",e);break;case"iframe":case"object":Oe("load",e);break;case"video":case"audio":for(i=0;i<Qg.length;i++)Oe(Qg[i],e);break;case"image":Oe("error",e),Oe("load",e);break;case"details":Oe("toggle",e);break;case"embed":case"source":case"link":Oe("error",e),Oe("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(E in l)if(l.hasOwnProperty(E)&&(i=l[E],i!=null))switch(E){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:pt(e,t,E,i,l,null)}return;default:if(Du(t)){for(H in l)l.hasOwnProperty(H)&&(i=l[H],i!==void 0&&Lr(e,t,H,i,l,void 0));return}}for(y in l)l.hasOwnProperty(y)&&(i=l[y],i!=null&&pt(e,t,y,i,l,null))}function Un(e,t,l,i){switch(Ml(t,i),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,s=null,g=null,y=null,T=null,E=null,H=null;for(L in l){var B=l[L];if(l.hasOwnProperty(L)&&B!=null)switch(L){case"checked":break;case"value":break;case"defaultValue":T=B;default:i.hasOwnProperty(L)||pt(e,t,L,null,i,B)}}for(var O in i){var L=i[O];if(B=l[O],i.hasOwnProperty(O)&&(L!=null||B!=null))switch(O){case"type":s=L;break;case"name":c=L;break;case"checked":E=L;break;case"defaultChecked":H=L;break;case"value":g=L;break;case"defaultValue":y=L;break;case"children":case"dangerouslySetInnerHTML":if(L!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:L!==B&&pt(e,t,O,L,i,B)}}t=l.type==="checkbox"||l.type==="radio"?l.checked!=null:l.value!=null,i=i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null,t||!i||G3||(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"),G3=!0),!t||i||k3||(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"),k3=!0),eo(e,g,y,T,E,H,s,c);return;case"select":L=g=y=O=null;for(s in l)if(T=l[s],l.hasOwnProperty(s)&&T!=null)switch(s){case"value":break;case"multiple":L=T;default:i.hasOwnProperty(s)||pt(e,t,s,null,i,T)}for(c in i)if(s=i[c],T=l[c],i.hasOwnProperty(c)&&(s!=null||T!=null))switch(c){case"value":O=s;break;case"defaultValue":y=s;break;case"multiple":g=s;default:s!==T&&pt(e,t,c,s,i,T)}i=y,t=g,l=L,O!=null?xu(e,!!t,O,!1):!!l!=!!t&&(i!=null?xu(e,!!t,i,!0):xu(e,!!t,t?[]:"",!1));return;case"textarea":L=O=null;for(y in l)if(c=l[y],l.hasOwnProperty(y)&&c!=null&&!i.hasOwnProperty(y))switch(y){case"value":break;case"children":break;default:pt(e,t,y,null,i,c)}for(g in i)if(c=i[g],s=l[g],i.hasOwnProperty(g)&&(c!=null||s!=null))switch(g){case"value":O=c;break;case"defaultValue":L=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:c!==s&&pt(e,t,g,c,i,s)}$o(e,O,L);return;case"option":for(var ce in l)O=l[ce],l.hasOwnProperty(ce)&&O!=null&&!i.hasOwnProperty(ce)&&(ce==="selected"?e.selected=!1:pt(e,t,ce,null,i,O));for(T in i)O=i[T],L=l[T],i.hasOwnProperty(T)&&O!==L&&(O!=null||L!=null)&&(T==="selected"?e.selected=O&&typeof O!="function"&&typeof O!="symbol":pt(e,t,T,O,i,L));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var he in l)O=l[he],l.hasOwnProperty(he)&&O!=null&&!i.hasOwnProperty(he)&&pt(e,t,he,null,i,O);for(E in i)if(O=i[E],L=l[E],i.hasOwnProperty(E)&&O!==L&&(O!=null||L!=null))switch(E){case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:pt(e,t,E,O,i,L)}return;default:if(Du(t)){for(var Gt in l)O=l[Gt],l.hasOwnProperty(Gt)&&O!==void 0&&!i.hasOwnProperty(Gt)&&Lr(e,t,Gt,void 0,i,O);for(H in i)O=i[H],L=l[H],!i.hasOwnProperty(H)||O===L||O===void 0&&L===void 0||Lr(e,t,H,O,i,L);return}}for(var lt in l)O=l[lt],l.hasOwnProperty(lt)&&O!=null&&!i.hasOwnProperty(lt)&&pt(e,t,lt,null,i,O);for(B in i)O=i[B],L=l[B],!i.hasOwnProperty(B)||O===L||O==null&&L==null||pt(e,t,B,O,i,L)}function qi(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function Oo(e){var t={};e=e.style;for(var l=0;l<e.length;l++){var i=e[l];t[i]=e.getPropertyValue(i)}return t}function Wu(e,t,l){if(t!=null&&typeof t!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var i,c=i="",s;for(s in t)if(t.hasOwnProperty(s)){var g=t[s];g!=null&&typeof g!="boolean"&&g!==""&&(s.indexOf("--")===0?(vi(g,s),i+=c+s+":"+(""+g).trim()):typeof g!="number"||g===0||ve.has(s)?(vi(g,s),i+=c+s.replace($,"-$1").toLowerCase().replace(pe,"-ms-")+":"+(""+g).trim()):i+=c+s.replace($,"-$1").toLowerCase().replace(pe,"-ms-")+":"+g+"px",c=";")}i=i||null,t=e.getAttribute("style"),t!==i&&(i=fu(i),fu(t)!==i&&(l.style=Oo(e)))}}function Vl(e,t,l,i,c,s){if(c.delete(l),e=e.getAttribute(l),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(ht(i,t),e===""+i)return}tn(t,e,i,s)}function Qh(e,t,l,i,c,s){if(c.delete(l),e=e.getAttribute(l),e===null){switch(typeof i){case"function":case"symbol":return}if(!i)return}else switch(typeof i){case"function":case"symbol":break;default:if(i)return}tn(t,e,i,s)}function $h(e,t,l,i,c,s){if(c.delete(l),e=e.getAttribute(l),e===null)switch(typeof i){case"undefined":case"function":case"symbol":return}else if(i!=null)switch(typeof i){case"function":case"symbol":break;default:if(ht(i,l),e===""+i)return}tn(t,e,i,s)}function Vr(e,t,l,i,c,s){if(c.delete(l),e=e.getAttribute(l),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(i))return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(!isNaN(i)&&(ht(i,t),e===""+i))return}tn(t,e,i,s)}function Zf(e,t,l,i,c,s){if(c.delete(l),e=e.getAttribute(l),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(ht(i,t),l=Vs(""+i),e===l)return}tn(t,e,i,s)}function Xl(e,t,l,i){for(var c={},s=new Set,g=e.attributes,y=0;y<g.length;y++)switch(g[y].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:s.add(g[y].name)}if(Du(t)){for(var T in l)if(l.hasOwnProperty(T)){var E=l[T];if(E!=null){if(ni.hasOwnProperty(T))typeof E!="function"&&nn(T,E);else if(l.suppressHydrationWarning!==!0)switch(T){case"children":typeof E!="string"&&typeof E!="number"||tn("children",e.textContent,E,c);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":g=e.innerHTML,E=E?E.__html:void 0,E!=null&&(E=Xh(e,E),tn(T,g,E,c));continue;case"style":s.delete(T),Wu(e,E,c);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":s.delete(T.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",T);continue;case"className":s.delete("class"),g=Xt(e,"class",E),tn("className",g,E,c);continue;default:i.context===Fc&&t!=="svg"&&t!=="math"?s.delete(T.toLowerCase()):s.delete(T),g=Xt(e,T,E),tn(T,g,E,c)}}}}else for(E in l)if(l.hasOwnProperty(E)&&(T=l[E],T!=null)){if(ni.hasOwnProperty(E))typeof T!="function"&&nn(E,T);else if(l.suppressHydrationWarning!==!0)switch(E){case"children":typeof T!="string"&&typeof T!="number"||tn("children",e.textContent,T,c);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":g=e.innerHTML,T=T?T.__html:void 0,T!=null&&(T=Xh(e,T),g!==T&&(c[E]={__html:g}));continue;case"className":Vl(e,E,"class",T,s,c);continue;case"tabIndex":Vl(e,E,"tabindex",T,s,c);continue;case"style":s.delete(E),Wu(e,T,c);continue;case"multiple":s.delete(E),tn(E,e.multiple,T,c);continue;case"muted":s.delete(E),tn(E,e.muted,T,c);continue;case"autoFocus":s.delete("autofocus"),tn(E,e.autofocus,T,c);continue;case"data":if(t!=="object"){s.delete(E),g=e.getAttribute("data"),tn(E,g,T,c);continue}case"src":case"href":if(!(T!==""||t==="a"&&E==="href"||t==="object"&&E==="data")){console.error(E==="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.',E,E);continue}Zf(e,E,E,T,s,c);continue;case"action":case"formAction":if(g=e.getAttribute(E),typeof T=="function"){s.delete(E.toLowerCase()),E==="formAction"?(s.delete("name"),s.delete("formenctype"),s.delete("formmethod"),s.delete("formtarget")):(s.delete("enctype"),s.delete("method"),s.delete("target"));continue}else if(g===dA){s.delete(E.toLowerCase()),tn(E,"function",T,c);continue}Zf(e,E,E.toLowerCase(),T,s,c);continue;case"xlinkHref":Zf(e,E,"xlink:href",T,s,c);continue;case"contentEditable":$h(e,E,"contenteditable",T,s,c);continue;case"spellCheck":$h(e,E,"spellcheck",T,s,c);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":$h(e,E,E,T,s,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":Qh(e,E,E.toLowerCase(),T,s,c);continue;case"capture":case"download":e:{y=e;var H=g=E,B=c;if(s.delete(H),y=y.getAttribute(H),y===null)switch(typeof T){case"undefined":case"function":case"symbol":break e;default:if(T===!1)break e}else if(T!=null)switch(typeof T){case"function":case"symbol":break;case"boolean":if(T===!0&&y==="")break e;break;default:if(ht(T,g),y===""+T)break e}tn(g,y,T,B)}continue;case"cols":case"rows":case"size":case"span":e:{if(y=e,H=g=E,B=c,s.delete(H),y=y.getAttribute(H),y===null)switch(typeof T){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(T)||1>T)break e}else if(T!=null)switch(typeof T){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(T)||1>T)&&(ht(T,g),y===""+T))break e}tn(g,y,T,B)}continue;case"rowSpan":Vr(e,E,"rowspan",T,s,c);continue;case"start":Vr(e,E,E,T,s,c);continue;case"xHeight":Vl(e,E,"x-height",T,s,c);continue;case"xlinkActuate":Vl(e,E,"xlink:actuate",T,s,c);continue;case"xlinkArcrole":Vl(e,E,"xlink:arcrole",T,s,c);continue;case"xlinkRole":Vl(e,E,"xlink:role",T,s,c);continue;case"xlinkShow":Vl(e,E,"xlink:show",T,s,c);continue;case"xlinkTitle":Vl(e,E,"xlink:title",T,s,c);continue;case"xlinkType":Vl(e,E,"xlink:type",T,s,c);continue;case"xmlBase":Vl(e,E,"xml:base",T,s,c);continue;case"xmlLang":Vl(e,E,"xml:lang",T,s,c);continue;case"xmlSpace":Vl(e,E,"xml:space",T,s,c);continue;case"inert":T!==""||Uv[E]||(Uv[E]=!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.",E)),Qh(e,E,E,T,s,c);continue;default:if(!(2<E.length)||E[0]!=="o"&&E[0]!=="O"||E[1]!=="n"&&E[1]!=="N"){y=zy(E),g=!1,i.context===Fc&&t!=="svg"&&t!=="math"?s.delete(y.toLowerCase()):(H=E.toLowerCase(),H=pu.hasOwnProperty(H)&&pu[H]||null,H!==null&&H!==E&&(g=!0,s.delete(H)),s.delete(y));e:if(H=e,B=y,y=T,_u(B))if(H.hasAttribute(B))H=H.getAttribute(B),ht(y,B),y=H===""+y?y:H;else{switch(typeof y){case"function":case"symbol":break e;case"boolean":if(H=B.toLowerCase().slice(0,5),H!=="data-"&&H!=="aria-")break e}y=y===void 0?void 0:null}else y=void 0;g||tn(E,y,T,c)}}}return 0<s.size&&l.suppressHydrationWarning!==!0&&Bf(e,s,c),Object.keys(c).length===0?null:c}function c1(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function Cl(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function r1(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,l=performance.getEntriesByType("resource"),i=0;i<l.length;i++){var c=l[i],s=c.transferSize,g=c.initiatorType,y=c.duration;if(s&&y&&Cl(g)){for(g=0,y=c.responseEnd,i+=1;i<l.length;i++){var T=l[i],E=T.startTime;if(E>y)break;var H=T.transferSize,B=T.initiatorType;H&&Cl(B)&&(T=T.responseEnd,g+=H*(T<y?1:(y-E)/(T-E)))}if(--i,t+=8*(s+g)/(c.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}function qf(e){return e.nodeType===9?e:e.ownerDocument}function s1(e){switch(e){case Le:return $0;case Be:return Hv;default:return Fc}}function Yi(e,t){if(e===Fc)switch(t){case"svg":return $0;case"math":return Hv;default:return Fc}return e===$0&&t==="foreignObject"?Fc:e}function Xr(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function Up(){var e=window.event;return e&&e.type==="popstate"?e===H2?!1:(H2=e,!0):(H2=null,!1)}function Fu(){var e=window.event;return e&&e!==Kg?e.type:null}function Qr(){var e=window.event;return e&&e!==Kg?e.timeStamp:-1.1}function f1(e){setTimeout(function(){throw e})}function d1(e,t,l){switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&e.focus();break;case"img":l.src?e.src=l.src:l.srcSet&&(e.srcset=l.srcSet)}}function h1(){}function Jh(e,t,l,i){Un(e,t,l,i),e[jl]=i}function Kh(e){Wo(e,"")}function _b(e,t,l){e.nodeValue=l}function m1(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[jl]||null;if(t!==null){var l=Fl(e);l!==null&&(typeof t.children=="string"||typeof t.children=="number"?(e.__reactWarnedAboutChildrenConflict=!0,fe(l,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.')})):t.dangerouslySetInnerHTML!=null&&(e.__reactWarnedAboutChildrenConflict=!0,fe(l,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 wo(e){return e==="head"}function p1(e,t){e.removeChild(t)}function g1(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function Dc(e,t){var l=t,i=0;do{var c=l.nextSibling;if(e.removeChild(l),c&&c.nodeType===8)if(l=c.data,l===Jg||l===jv){if(i===0){e.removeChild(c),Cc(t);return}i--}else if(l===$g||l===Os||l===zd||l===Q0||l===Td)i++;else if(l===mA)Gi(e.ownerDocument.documentElement);else if(l===gA){l=e.ownerDocument.head,Gi(l);for(var s=l.firstChild;s;){var g=s.nextSibling,y=s.nodeName;s[cs]||y==="SCRIPT"||y==="STYLE"||y==="LINK"&&s.rel.toLowerCase()==="stylesheet"||l.removeChild(s),s=g}}else l===pA&&Gi(e.ownerDocument.body);l=c}while(l);Cc(t)}function Yf(e,t){var l=e;e=0;do{var i=l.nextSibling;if(l.nodeType===1?t?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(t?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),i&&i.nodeType===8)if(l=i.data,l===Jg){if(e===0)break;e--}else l!==$g&&l!==Os&&l!==zd&&l!==Q0||e++;l=i}while(l)}function y1(e){Yf(e,!0)}function v1(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function b1(e){e.nodeValue=""}function S1(e){Yf(e,!1)}function T1(e,t){t=t[yA],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function z1(e,t){e.nodeValue=t}function $r(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var l=t;switch(t=t.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":$r(l),_a(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function E1(e,t,l,i){for(;e.nodeType===1;){var c=l;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!i&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(i){if(!e[cs])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(s=e.getAttribute("rel"),s==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(s!==c.rel||e.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||e.getAttribute("title")!==(c.title==null?null:c.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(s=e.getAttribute("src"),(s!==(c.src==null?null:c.src)||e.getAttribute("type")!==(c.type==null?null:c.type)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&s&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){ht(c.name,"name");var s=c.name==null?null:""+c.name;if(c.type==="hidden"&&e.getAttribute("name")===s)return e}else return e;if(e=da(e.nextSibling),e===null)break}return null}function _1(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=da(e.nextSibling),e===null))return null;return e}function zt(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=da(e.nextSibling),e===null))return null;return e}function kf(e){return e.data===Os||e.data===zd}function jp(e){return e.data===Q0||e.data===Os&&e.ownerDocument.readyState!==Q3}function A1(e,t){var l=e.ownerDocument;if(e.data===zd)e._reactRetry=t;else if(e.data!==Os||l.readyState!==Q3)t();else{var i=function(){t(),l.removeEventListener("DOMContentLoaded",i)};l.addEventListener("DOMContentLoaded",i),e._reactRetry=i}}function da(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===$g||t===Q0||t===Os||t===zd||t===Td||t===C2||t===X3)break;if(t===Jg||t===jv)return null}}return e}function x1(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),l={},i=e.attributes,c=0;c<i.length;c++){var s=i[c];l[qi(s.name)]=s.name.toLowerCase()==="style"?Oo(e):s.value}return{type:t,props:l}}return e.nodeType===8?e.data===Td?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function R1(e,t,l){return l===null||l[hA]!==!0?(e.nodeValue===t?e=null:(t=fu(t),e=fu(e.nodeValue)===t?null:e.nodeValue),e):null}function Jr(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l===Jg||l===jv){if(t===0)return da(e.nextSibling);t--}else l!==$g&&l!==Q0&&l!==Os&&l!==zd&&l!==Td||t++}e=e.nextSibling}return null}function Oc(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l===$g||l===Q0||l===Os||l===zd||l===Td){if(t===0)return e;t--}else l!==Jg&&l!==jv||t++}e=e.previousSibling}return null}function Hp(e){Cc(e)}function Wh(e){Cc(e)}function Np(e){Cc(e)}function ki(e,t,l,i,c){switch(c&&Gs(e,i.ancestorInfo),t=qf(l),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function Iu(e,t,l,i){if(!l[Vi]&&Fl(l)){var c=l.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(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(c=l.attributes;c.length;)l.removeAttributeNode(c[0]);Jt(l,e,t),l[Kt]=i,l[jl]=t}function Gi(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);_a(e)}function Fh(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function Bp(e,t,l){var i=J0;if(i&&typeof t=="string"&&t){var c=xt(t);c='link[rel="'+e+'"][href="'+c+'"]',typeof l=="string"&&(c+='[crossorigin="'+l+'"]'),I3.has(c)||(I3.add(c),e={rel:e,crossOrigin:l,href:t},i.querySelector(c)===null&&(t=i.createElement("link"),Jt(t,"link",e),ye(t),i.head.appendChild(t)))}}function Zp(e,t,l,i){var c=(c=ha.current)?Fh(c):null;if(!c)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(l=wc(l.href),t=vl(c).hoistableStyles,i=t.get(l),i||(i={type:"style",instance:null,count:0,state:null},t.set(l,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=wc(l.href);var s=vl(c).hoistableStyles,g=s.get(e);if(!g&&(c=c.ownerDocument||c,g={type:"stylesheet",instance:null,count:0,state:{loading:_d,preload:null}},s.set(e,g),(s=c.querySelector(Lf(e)))&&!s._p&&(g.instance=s,g.state.loading=Wg|hi),!mi.has(e))){var y={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy};mi.set(e,y),s||D1(c,e,y,g.state)}if(t&&i===null)throw l=`
|
|
174
|
+
|
|
175
|
+
- `+Gf(t)+`
|
|
176
|
+
+ `+Gf(l),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."+l);return g}if(t&&i!==null)throw l=`
|
|
177
|
+
|
|
178
|
+
- `+Gf(t)+`
|
|
179
|
+
+ `+Gf(l),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."+l);return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(l=Mc(l),t=vl(c).hoistableScripts,i=t.get(l),i||(i={type:"script",instance:null,count:0,state:null},t.set(l,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function Gf(e){var t=0,l="<link";return typeof e.rel=="string"?(t++,l+=' rel="'+e.rel+'"'):ma.call(e,"rel")&&(t++,l+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,l+=' href="'+e.href+'"'):ma.call(e,"href")&&(t++,l+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,l+=' precedence="'+e.precedence+'"'):ma.call(e,"precedence")&&(t++,l+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(l+=" ..."),l+" />"}function wc(e){return'href="'+xt(e)+'"'}function Lf(e){return'link[rel="stylesheet"]['+e+"]"}function Ih(e){return Xe({},e,{"data-precedence":e.precedence,precedence:null})}function D1(e,t,l,i){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?i.loading=Wg:(t=e.createElement("link"),i.preload=t,t.addEventListener("load",function(){return i.loading|=Wg}),t.addEventListener("error",function(){return i.loading|=W3}),Jt(t,"link",l),ye(t),e.head.appendChild(t))}function Mc(e){return'[src="'+xt(e)+'"]'}function Vf(e){return"script[async]"+e}function Ph(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+xt(l.href)+'"]');if(i)return t.instance=i,ye(i),i;var c=Xe({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),ye(i),Jt(i,"style",c),Kr(i,l.precedence,e),t.instance=i;case"stylesheet":c=wc(l.href);var s=e.querySelector(Lf(c));if(s)return t.state.loading|=hi,t.instance=s,ye(s),s;i=Ih(l),(c=mi.get(c))&&qp(i,c),s=(e.ownerDocument||e).createElement("link"),ye(s);var g=s;return g._p=new Promise(function(y,T){g.onload=y,g.onerror=T}),Jt(s,"link",i),t.state.loading|=hi,Kr(s,l.precedence,e),t.instance=s;case"script":return s=Mc(l.src),(c=e.querySelector(Vf(s)))?(t.instance=c,ye(c),c):(i=l,(c=mi.get(s))&&(i=Xe({},l),Yp(i,c)),e=e.ownerDocument||e,c=e.createElement("script"),ye(c),Jt(c,"link",i),e.head.appendChild(c),t.instance=c);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&hi)===_d&&(i=t.instance,t.state.loading|=hi,Kr(i,l.precedence,e));return t.instance}function Kr(e,t,l){for(var i=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=i.length?i[i.length-1]:null,s=c,g=0;g<i.length;g++){var y=i[g];if(y.dataset.precedence===t)s=y;else if(s!==c)break}s?s.parentNode.insertBefore(e,s.nextSibling):(t=l.nodeType===9?l.head:l,t.insertBefore(e,t.firstChild))}function qp(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Yp(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function Wr(e,t,l){if(Nv===null){var i=new Map,c=Nv=new Map;c.set(l,i)}else c=Nv,i=c.get(l),i||(i=new Map,c.set(l,i));if(i.has(e))return i;for(i.set(e,null),l=l.getElementsByTagName(e),c=0;c<l.length;c++){var s=l[c];if(!(s[cs]||s[Kt]||e==="link"&&s.getAttribute("rel")==="stylesheet")&&s.namespaceURI!==Le){var g=s.getAttribute(t)||"";g=e+g;var y=i.get(g);y?y.push(s):i.set(g,[s])}}return i}function O1(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function w1(e,t,l){var i=!l.ancestorInfo.containerTagInScope;if(l.context===$0||t.itemProp!=null)return!i||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){i&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var c=t.onError,s=t.disabled;l=[],t.onLoad&&l.push("`onLoad`"),c&&l.push("`onError`"),s!=null&&l.push("`disabled`"),c=c1(l,"and"),c+=l.length===1?" prop":" props",s=l.length===1?"an "+c:"the "+c,l.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,s,c)}i&&(typeof t.rel!="string"||typeof t.href!="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}return t.rel==="stylesheet"?(e=t.precedence,t=t.disabled,typeof e!="string"&&i&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&t==null):!0;case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){i&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":i&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function Fe(e){return!(e.type==="stylesheet"&&(e.state.loading&F3)===_d)}function kp(e,t,l,i){if(l.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(l.state.loading&hi)===_d){if(l.instance===null){var c=wc(i.href),s=t.querySelector(Lf(c));if(s){t=s._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Fr.bind(e),t.then(e,e)),l.state.loading|=hi,l.instance=s,ye(s);return}s=t.ownerDocument||t,i=Ih(i),(c=mi.get(c))&&qp(i,c),s=s.createElement("link"),ye(s);var g=s;g._p=new Promise(function(y,T){g.onload=y,g.onerror=T}),Jt(s,"link",i),l.instance=s}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&F3)===_d&&(e.count++,l=Fr.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}function e0(e,t){return e.stylesheets&&e.count===0&&Xf(e,e.stylesheets),0<e.count||0<e.imgCount?function(l){var i=setTimeout(function(){if(e.stylesheets&&Xf(e,e.stylesheets),e.unsuspend){var s=e.unsuspend;e.unsuspend=null,s()}},SA+t);0<e.imgBytes&&B2===0&&(B2=125*r1()*zA);var c=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Xf(e,e.stylesheets),e.unsuspend)){var s=e.unsuspend;e.unsuspend=null,s()}},(e.imgBytes>B2?50:TA)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(i),clearTimeout(c)}}:null}function Fr(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Xf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Xf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Bv=new Map,t.forEach(Gp,e),Bv=null,Fr.call(e))}function Gp(e,t){if(!(t.state.loading&hi)){var l=Bv.get(e);if(l)var i=l.get(Z2);else{l=new Map,Bv.set(e,l);for(var c=e.querySelectorAll("link[data-precedence],style[data-precedence]"),s=0;s<c.length;s++){var g=c[s];(g.nodeName==="LINK"||g.getAttribute("media")!=="not all")&&(l.set(g.dataset.precedence,g),i=g)}i&&l.set(Z2,i)}c=t.instance,g=c.getAttribute("data-precedence"),s=l.get(g)||i,s===i&&l.set(Z2,c),l.set(g,c),this.count++,i=Fr.bind(this),c.addEventListener("load",i),c.addEventListener("error",i),s?s.parentNode.insertBefore(c,s.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(c,e.firstChild)),t.state.loading|=hi}}function Qf(e,t,l,i,c,s,g,y,T){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Ed,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=nr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=nr(0),this.hiddenUpdates=nr(null),this.identifierPrefix=i,this.onUncaughtError=c,this.onCaughtError=s,this.onRecoverableError=g,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=T,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=l?"hydrateRoot()":"createRoot()"}function $f(e,t,l,i,c,s,g,y,T,E,H,B){return e=new Qf(e,t,l,g,T,E,H,B,y),t=Q_,s===!0&&(t|=Jl|Xi),t|=Qe,s=I(3,null,null,t),e.current=s,s.stateNode=e,t=Pd(),ic(t),e.pooledCache=t,ic(t),s.memoizedState={element:i,isDehydrated:l,cache:t},Pe(s),e}function M1(e){return e?(e=ms,e):ms}function t0(e,t,l,i,c,s){if(jn&&typeof jn.onScheduleFiberRoot=="function")try{jn.onScheduleFiberRoot(Nc,i,l)}catch(g){ei||(ei=!0,console.error("React instrumentation encountered an error: %o",g))}c=M1(c),i.context===null?i.context=c:i.pendingContext=c,Pu&&$l!==null&&!n4&&(n4=!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.
|
|
180
|
+
|
|
181
|
+
Check the render method of %s.`,ge($l)||"Unknown")),i=Mn(t),i.payload={element:l},s=s===void 0?null:s,s!==null&&(typeof s!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",s),i.callback=s),l=Hu(e,i,t),l!==null&&(Cu(t,"root.render()",null),Me(l,e,t),Ca(l,e,t))}function C1(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function Lp(e,t){C1(e,t),(e=e.alternate)&&C1(e,t)}function Vp(e){if(e.tag===13||e.tag===31){var t=sl(e,67108864);t!==null&&Me(t,e,67108864),Lp(e,67108864)}}function Xp(e){if(e.tag===13||e.tag===31){var t=dl(e);t=Ti(t);var l=sl(e,t);l!==null&&Me(l,e,t),Lp(e,t)}}function Ot(){return $l}function Qp(e,t,l,i){var c=Q.T;Q.T=null;var s=gt.p;try{gt.p=Hn,$p(e,t,l,i)}finally{gt.p=s,Q.T=c}}function nl(e,t,l,i){var c=Q.T;Q.T=null;var s=gt.p;try{gt.p=al,$p(e,t,l,i)}finally{gt.p=s,Q.T=c}}function $p(e,t,l,i){if(qv){var c=n0(i);if(c===null)ru(e,t,i,Yv,l),a0(e,i);else if(U1(c,e,t,l,i))i.stopPropagation();else if(a0(e,i),t&4&&-1<_A.indexOf(e)){for(;c!==null;){var s=Fl(c);if(s!==null)switch(s.tag){case 3:if(s=s.stateNode,s.current.memoizedState.isDehydrated){var g=yn(s.pendingLanes);if(g!==0){var y=s;for(y.pendingLanes|=2,y.entangledLanes|=2;g;){var T=1<<31-ll(g);y.entanglements[1]|=T,g&=~T}Ll(s),(ot&(il|bu))===yl&&(zv=Qn()+w3,Ju(0))}}break;case 31:case 13:y=sl(s,2),y!==null&&Me(y,s,2),fa(),Lp(s,2)}if(s=n0(i),s===null&&ru(e,t,i,Yv,l),s===c)break;c=s}c!==null&&i.stopPropagation()}else ru(e,t,i,null,l)}}function n0(e){return e=$a(e),Jp(e)}function Jp(e){if(Yv=null,e=La(e),e!==null){var t=me(e);if(t===null)e=null;else{var l=t.tag;if(l===13){if(e=un(t),e!==null)return e;e=null}else if(l===31){if(e=ut(t),e!==null)return e;e=null}else if(l===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Yv=e,null}function l0(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Hn;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 al;case"message":switch(Pf()){case ag:return Hn;case h0:return al;case Hc:case q1:return ml;case m0:return Ho;default:return ml}default:return ml}}function a0(e,t){switch(e){case"focusin":case"focusout":ws=null;break;case"dragenter":case"dragleave":Ms=null;break;case"mouseover":case"mouseout":Cs=null;break;case"pointerover":case"pointerout":Ig.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pg.delete(t.pointerId)}}function Mo(e,t,l,i,c,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:l,eventSystemFlags:i,nativeEvent:s,targetContainers:[c]},t!==null&&(t=Fl(t),t!==null&&Vp(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,c!==null&&t.indexOf(c)===-1&&t.push(c),e)}function U1(e,t,l,i,c){switch(t){case"focusin":return ws=Mo(ws,e,t,l,i,c),!0;case"dragenter":return Ms=Mo(Ms,e,t,l,i,c),!0;case"mouseover":return Cs=Mo(Cs,e,t,l,i,c),!0;case"pointerover":var s=c.pointerId;return Ig.set(s,Mo(Ig.get(s)||null,e,t,l,i,c)),!0;case"gotpointercapture":return s=c.pointerId,Pg.set(s,Mo(Pg.get(s)||null,e,t,l,i,c)),!0}return!1}function Kp(e){var t=La(e.target);if(t!==null){var l=me(t);if(l!==null){if(t=l.tag,t===13){if(t=un(l),t!==null){e.blockedOn=t,lr(e.priority,function(){Xp(l)});return}}else if(t===31){if(t=ut(l),t!==null){e.blockedOn=t,lr(e.priority,function(){Xp(l)});return}}else if(t===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ir(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=n0(e.nativeEvent);if(l===null){l=e.nativeEvent;var i=new l.constructor(l.type,l),c=i;rg!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),rg=c,l.target.dispatchEvent(i),rg===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."),rg=null}else return t=Fl(l),t!==null&&Vp(t),e.blockedOn=l,!1;t.shift()}return!0}function u0(e,t,l){Ir(e)&&l.delete(t)}function Ab(){q2=!1,ws!==null&&Ir(ws)&&(ws=null),Ms!==null&&Ir(Ms)&&(Ms=null),Cs!==null&&Ir(Cs)&&(Cs=null),Ig.forEach(u0),Pg.forEach(u0)}function Jf(e,t){e.blockedOn===t&&(e.blockedOn=null,q2||(q2=!0,En.unstable_scheduleCallback(En.unstable_NormalPriority,Ab)))}function j1(e){kv!==e&&(kv=e,En.unstable_scheduleCallback(En.unstable_NormalPriority,function(){kv===e&&(kv=null);for(var t=0;t<e.length;t+=3){var l=e[t],i=e[t+1],c=e[t+2];if(typeof i!="function"){if(Jp(i||l)===null)continue;break}var s=Fl(l);s!==null&&(e.splice(t,3),t-=3,l={pending:!0,data:c,method:l.method,action:i},Object.freeze(l),ji(s,l,i,c))}}))}function Cc(e){function t(T){return Jf(T,e)}ws!==null&&Jf(ws,e),Ms!==null&&Jf(Ms,e),Cs!==null&&Jf(Cs,e),Ig.forEach(t),Pg.forEach(t);for(var l=0;l<Us.length;l++){var i=Us[l];i.blockedOn===e&&(i.blockedOn=null)}for(;0<Us.length&&(l=Us[0],l.blockedOn===null);)Kp(l),l.blockedOn===null&&Us.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(i=0;i<l.length;i+=3){var c=l[i],s=l[i+1],g=c[jl]||null;if(typeof s=="function")g||j1(l);else if(g){var y=null;if(s&&s.hasAttribute("formAction")){if(c=s,g=s[jl]||null)y=g.formAction;else if(Jp(c)!==null)continue}else y=g.action;typeof y=="function"?l[i+1]=y:(l.splice(i,3),i-=3),j1(l)}}}function H1(){function e(s){s.canIntercept&&s.info==="react-transition"&&s.intercept({handler:function(){return new Promise(function(g){return c=g})},focusReset:"manual",scroll:"manual"})}function t(){c!==null&&(c(),c=null),i||setTimeout(l,20)}function l(){if(!i&&!navigation.transition){var s=navigation.currentEntry;s&&s.url!=null&&navigation.navigate(s.url,{state:s.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var i=!1,c=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(l,100),function(){i=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),c!==null&&(c(),c=null)}}}function Wp(e){this._internalRoot=e}function du(e){this._internalRoot=e}function Fp(e){e[Vi]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var En=J2(),Kf=ne,xb=er,Xe=Object.assign,N1=Symbol.for("react.element"),Na=Symbol.for("react.transitional.element"),Co=Symbol.for("react.portal"),Pr=Symbol.for("react.fragment"),Ul=Symbol.for("react.strict_mode"),Wf=Symbol.for("react.profiler"),i0=Symbol.for("react.consumer"),hu=Symbol.for("react.context"),es=Symbol.for("react.forward_ref"),Uc=Symbol.for("react.suspense"),Ql=Symbol.for("react.suspense_list"),Ff=Symbol.for("react.memo"),hl=Symbol.for("react.lazy"),mu=Symbol.for("react.activity"),Rb=Symbol.for("react.memo_cache_sentinel"),B1=Symbol.iterator,ts=Symbol.for("react.client.reference"),Dn=Array.isArray,Q=Kf.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,gt=xb.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Db=Object.freeze({pending:!1,data:null,method:null,action:null}),Ip=[],Pp=[],Li=-1,Uo=Zt(null),ns=Zt(null),ha=Zt(null),jo=Zt(null),ls=0,Z1,jc,as,eg,If,o0,c0;Se.__reactDisabledLog=!0;var us,tg,r0=!1,ng=new(typeof WeakMap=="function"?WeakMap:Map),$l=null,Pu=!1,ma=Object.prototype.hasOwnProperty,lg=En.unstable_scheduleCallback,s0=En.unstable_cancelCallback,f0=En.unstable_shouldYield,d0=En.unstable_requestPaint,Qn=En.unstable_now,Pf=En.unstable_getCurrentPriorityLevel,ag=En.unstable_ImmediatePriority,h0=En.unstable_UserBlockingPriority,Hc=En.unstable_NormalPriority,q1=En.unstable_LowPriority,m0=En.unstable_IdlePriority,ug=En.log,Y1=En.unstable_setDisableYieldValue,Nc=null,jn=null,ei=!1,ti=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",ll=Math.clz32?Math.clz32:Bs,ig=Math.log,p0=Math.LN2,is=256,ed=262144,os=4194304,Hn=2,al=8,ml=32,Ho=268435456,Ba=Math.random().toString(36).slice(2),Kt="__reactFiber$"+Ba,jl="__reactProps$"+Ba,Vi="__reactContainer$"+Ba,Bc="__reactEvents$"+Ba,Ob="__reactListeners$"+Ba,k1="__reactHandles$"+Ba,td="__reactResources$"+Ba,cs="__reactMarker$"+Ba,G1=new Set,ni={},rs={},L1={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},ss=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]*$"),og={},g0={},y0=/[\n"\\]/g,cg=!1,V1=!1,nd=!1,n=!1,a=!1,u=!1,o=["value","defaultValue"],d=!1,p=/["'&<>\n\t]|^\s|\s$/,b="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(" "),A="applet caption html table td th marquee object template foreignObject desc title".split(" "),M=A.concat(["button"]),k="dd dt li option optgroup p rp rt".split(" "),W={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},ee={},G={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"]},$=/([A-Z])/g,pe=/^ms-/,Ae=/^(?:webkit|moz|o)[A-Z]/,wt=/^-ms-/,Z=/-(.)/g,N=/;\s*$/,Y={},P={},ze=!1,it=!1,ve=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(" ")),Be="http://www.w3.org/1998/Math/MathML",Le="http://www.w3.org/2000/svg",dt=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"]]),pu={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"},X1={"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},v0={},a_=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),u_=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),a5=!1,pa={},u5=/^on./,i_=/^on[^A-Z]/,o_=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]*$"),c_=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]*$"),r_=/^[\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,rg=null,b0=null,S0=null,wb=!1,No=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Mb=!1;if(No)try{var sg={};Object.defineProperty(sg,"passive",{get:function(){Mb=!0}}),window.addEventListener("test",sg,sg),window.removeEventListener("test",sg,sg)}catch{Mb=!1}var fs=null,Cb=null,Q1=null,ld={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$1=qn(ld),fg=Xe({},ld,{view:0,detail:0}),s_=qn(fg),Ub,jb,dg,J1=Xe({},fg,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Qs,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==dg&&(dg&&e.type==="mousemove"?(Ub=e.screenX-dg.screenX,jb=e.screenY-dg.screenY):jb=Ub=0,dg=e),Ub)},movementY:function(e){return"movementY"in e?e.movementY:jb}}),i5=qn(J1),f_=Xe({},J1,{dataTransfer:0}),d_=qn(f_),h_=Xe({},fg,{relatedTarget:0}),Hb=qn(h_),m_=Xe({},ld,{animationName:0,elapsedTime:0,pseudoElement:0}),p_=qn(m_),g_=Xe({},ld,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),y_=qn(g_),v_=Xe({},ld,{data:0}),o5=qn(v_),b_=o5,S_={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},T_={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"},z_={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},E_=Xe({},fg,{key:function(e){if(e.key){var t=S_[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Xs(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?T_[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Qs,charCode:function(e){return e.type==="keypress"?Xs(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Xs(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),__=qn(E_),A_=Xe({},J1,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),c5=qn(A_),x_=Xe({},fg,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Qs}),R_=qn(x_),D_=Xe({},ld,{propertyName:0,elapsedTime:0,pseudoElement:0}),O_=qn(D_),w_=Xe({},J1,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),M_=qn(w_),C_=Xe({},ld,{newState:0,oldState:0}),U_=qn(C_),j_=[9,13,27,32],r5=229,Nb=No&&"CompositionEvent"in window,hg=null;No&&"documentMode"in document&&(hg=document.documentMode);var H_=No&&"TextEvent"in window&&!hg,s5=No&&(!Nb||hg&&8<hg&&11>=hg),f5=32,d5=String.fromCharCode(f5),h5=!1,T0=!1,N_={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},mg=null,pg=null,m5=!1;No&&(m5=Gd("input")&&(!document.documentMode||9<document.documentMode));var ga=typeof Object.is=="function"?Object.is:Ld,B_=No&&"documentMode"in document&&11>=document.documentMode,z0=null,Bb=null,gg=null,Zb=!1,E0={animationend:Io("Animation","AnimationEnd"),animationiteration:Io("Animation","AnimationIteration"),animationstart:Io("Animation","AnimationStart"),transitionrun:Io("Transition","TransitionRun"),transitionstart:Io("Transition","TransitionStart"),transitioncancel:Io("Transition","TransitionCancel"),transitionend:Io("Transition","TransitionEnd")},qb={},p5={};No&&(p5=document.createElement("div").style,"AnimationEvent"in window||(delete E0.animationend.animation,delete E0.animationiteration.animation,delete E0.animationstart.animation),"TransitionEvent"in window||delete E0.transitionend.transition);var g5=Po("animationend"),y5=Po("animationiteration"),v5=Po("animationstart"),Z_=Po("transitionrun"),q_=Po("transitionstart"),Y_=Po("transitioncancel"),b5=Po("transitionend"),S5=new Map,Yb="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(" ");Yb.push("scrollEnd");var T5=0;if(typeof performance=="object"&&typeof performance.now=="function")var k_=performance,z5=function(){return k_.now()};else{var G_=Date;z5=function(){return G_.now()}}var kb=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},L_="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.",K1=0,Gb=1,Lb=2,Vb=3,W1="– ",F1="+ ",E5=" ",Wt=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",li="Components ⚛",nt="Scheduler ⚛",at="Blocking",ds=!1,Zc={color:"primary",properties:null,tooltipText:"",track:li},hs={start:-0,end:-0,detail:{devtools:Zc}},V_=["Changed Props",""],_5="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",X_=["Changed Props",_5],yg=1,qc=2,ai=[],_0=0,Xb=0,ms={};Object.freeze(ms);var ui=null,A0=null,we=0,Q_=1,Qe=2,Jl=8,Xi=16,$_=32,A5=!1;try{var x5=Object.preventExtensions({})}catch{A5=!0}var Qb=new WeakMap,x0=[],R0=0,I1=null,vg=0,ii=[],oi=0,ad=null,Yc=1,kc="",Hl=null,Ft=null,tt=!1,Bo=!1,gu=null,ps=null,ci=!1,$b=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."),Jb=Zt(null),Kb=Zt(null),R5={},P1=null,D0=null,O0=!1,J_=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(l,i){e.push(i)}};this.abort=function(){t.aborted=!0,e.forEach(function(l){return l()})}},K_=En.unstable_scheduleCallback,W_=En.unstable_NormalPriority,$n={$$typeof:hu,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Jn=En.unstable_now,ev=console.createTask?console.createTask:function(){return null},bg=1,tv=2,pl=-0,gs=-0,Gc=-0,Lc=null,ya=-1.1,ud=-0,dn=-0,_e=-1.1,Re=-1.1,ln=null,_n=!1,id=-0,Zo=-1.1,Sg=null,ys=0,Wb=null,Fb=null,od=-1.1,Tg=null,w0=-1.1,nv=-1.1,Vc=-0,Xc=-1.1,ri=-1.1,Ib=0,zg=null,D5=null,O5=null,vs=-1.1,cd=null,bs=-1.1,lv=-1.1,w5=-0,M5=-0,av=0,F_=null,C5=0,Eg=-1.1,uv=!1,iv=!1,_g=null,Pb=0,rd=0,M0=null,U5=Q.S;Q.S=function(e,t){if(D3=Qn(),typeof t=="object"&&t!==null&&typeof t.then=="function"){if(0>Xc&&0>ri){Xc=Jn();var l=Qr(),i=Fu();(l!==bs||i!==cd)&&(bs=-1.1),vs=l,cd=i}Ri(e,t)}U5!==null&&U5(e,t)};var sd=Zt(null),Qi={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Ag=[],xg=[],Rg=[],Dg=[],Og=[],wg=[],fd=new Set;Qi.recordUnsafeLifecycleWarnings=function(e,t){fd.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Ag.push(e),e.mode&Jl&&typeof t.UNSAFE_componentWillMount=="function"&&xg.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Rg.push(e),e.mode&Jl&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Dg.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Og.push(e),e.mode&Jl&&typeof t.UNSAFE_componentWillUpdate=="function"&&wg.push(e))},Qi.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<Ag.length&&(Ag.forEach(function(y){e.add(ge(y)||"Component"),fd.add(y.type)}),Ag=[]);var t=new Set;0<xg.length&&(xg.forEach(function(y){t.add(ge(y)||"Component"),fd.add(y.type)}),xg=[]);var l=new Set;0<Rg.length&&(Rg.forEach(function(y){l.add(ge(y)||"Component"),fd.add(y.type)}),Rg=[]);var i=new Set;0<Dg.length&&(Dg.forEach(function(y){i.add(ge(y)||"Component"),fd.add(y.type)}),Dg=[]);var c=new Set;0<Og.length&&(Og.forEach(function(y){c.add(ge(y)||"Component"),fd.add(y.type)}),Og=[]);var s=new Set;if(0<wg.length&&(wg.forEach(function(y){s.add(ge(y)||"Component"),fd.add(y.type)}),wg=[]),0<t.size){var g=x(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
182
|
+
|
|
183
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
184
|
+
|
|
185
|
+
Please update the following components: %s`,g)}0<i.size&&(g=x(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.
|
|
186
|
+
|
|
187
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
188
|
+
* 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
|
|
189
|
+
|
|
190
|
+
Please update the following components: %s`,g)),0<s.size&&(g=x(s),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.
|
|
191
|
+
|
|
192
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
193
|
+
|
|
194
|
+
Please update the following components: %s`,g)),0<e.size&&(g=x(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
195
|
+
|
|
196
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
197
|
+
* 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.
|
|
198
|
+
|
|
199
|
+
Please update the following components: %s`,g)),0<l.size&&(g=x(l),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
200
|
+
|
|
201
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
202
|
+
* 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
|
|
203
|
+
* 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.
|
|
204
|
+
|
|
205
|
+
Please update the following components: %s`,g)),0<c.size&&(g=x(c),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
206
|
+
|
|
207
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
208
|
+
* 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.
|
|
209
|
+
|
|
210
|
+
Please update the following components: %s`,g))};var ov=new Map,j5=new Set;Qi.recordLegacyContextWarning=function(e,t){for(var l=null,i=e;i!==null;)i.mode&Jl&&(l=i),i=i.return;l===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."):!j5.has(e.type)&&(i=ov.get(l),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(i===void 0&&(i=[],ov.set(l,i)),i.push(e))},Qi.flushLegacyContextWarning=function(){ov.forEach(function(e){if(e.length!==0){var t=e[0],l=new Set;e.forEach(function(c){l.add(ge(c)||"Component"),j5.add(c.type)});var i=x(l);fe(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
211
|
+
|
|
212
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
213
|
+
|
|
214
|
+
Please update the following components: %s
|
|
215
|
+
|
|
216
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,i)})}})},Qi.discardPendingWarnings=function(){Ag=[],xg=[],Rg=[],Dg=[],Og=[],wg=[],ov=new Map};var H5={react_stack_bottom_frame:function(e,t,l){var i=Pu;Pu=!0;try{return e(t,l)}finally{Pu=i}}},e2=H5.react_stack_bottom_frame.bind(H5),N5={react_stack_bottom_frame:function(e){var t=Pu;Pu=!0;try{return e.render()}finally{Pu=t}}},B5=N5.react_stack_bottom_frame.bind(N5),Z5={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(l){Ge(e,e.return,l)}}},t2=Z5.react_stack_bottom_frame.bind(Z5),q5={react_stack_bottom_frame:function(e,t,l,i,c){try{t.componentDidUpdate(l,i,c)}catch(s){Ge(e,e.return,s)}}},Y5=q5.react_stack_bottom_frame.bind(q5),k5={react_stack_bottom_frame:function(e,t){var l=t.stack;e.componentDidCatch(t.value,{componentStack:l!==null?l:""})}},I_=k5.react_stack_bottom_frame.bind(k5),G5={react_stack_bottom_frame:function(e,t,l){try{l.componentWillUnmount()}catch(i){Ge(e,t,i)}}},L5=G5.react_stack_bottom_frame.bind(G5),V5={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},P_=V5.react_stack_bottom_frame.bind(V5),X5={react_stack_bottom_frame:function(e,t,l){try{l()}catch(i){Ge(e,t,i)}}},eA=X5.react_stack_bottom_frame.bind(X5),Q5={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},tA=Q5.react_stack_bottom_frame.bind(Q5),C0=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`."),n2=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."),cv=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."),rv={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.')}},dd=null,Mg=!1,U0=null,Cg=0,$e=null,l2,$5=l2=!1,J5={},K5={},W5={};V=function(e,t,l){if(l!==null&&typeof l=="object"&&l._store&&(!l._store.validated&&l.key==null||l._store.validated===2)){if(typeof l._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.");l._store.validated=1;var i=ge(e),c=i||"null";if(!J5[c]){J5[c]=!0,l=l._owner,e=e._debugOwner;var s="";e&&typeof e.tag=="number"&&(c=ge(e))&&(s=`
|
|
217
|
+
|
|
218
|
+
Check the render method of \``+c+"`."),s||i&&(s=`
|
|
219
|
+
|
|
220
|
+
Check the top-level render call using <`+i+">.");var g="";l!=null&&e!==l&&(i=null,typeof l.tag=="number"?i=ge(l):typeof l.name=="string"&&(i=l.name),i&&(g=" It was passed a child from "+i+".")),fe(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',s,g)})}}};var hd=kn(!0),F5=kn(!1),I5=0,P5=1,e3=2,a2=3,Ss=!1,t3=!1,u2=null,i2=!1,j0=Zt(null),sv=Zt(0),yu=Zt(null),si=null,H0=1,Ug=2,Nn=Zt(0),fv=0,fi=1,va=2,vu=4,ba=8,N0,n3=new Set,l3=new Set,o2=new Set,a3=new Set,Qc=0,Ue=null,Nt=null,Kn=null,dv=!1,B0=!1,md=!1,hv=0,jg=0,$c=null,nA=0,lA=25,X=null,di=null,Jc=-1,Hg=!1,Ng={readContext:mt,use:Mi,useCallback:sn,useContext:sn,useEffect:sn,useImperativeHandle:sn,useLayoutEffect:sn,useInsertionEffect:sn,useMemo:sn,useReducer:sn,useRef:sn,useState:sn,useDebugValue:sn,useDeferredValue:sn,useTransition:sn,useSyncExternalStore:sn,useId:sn,useHostTransitionStatus:sn,useFormState:sn,useActionState:sn,useOptimistic:sn,useMemoCache:sn,useCacheRefresh:sn};Ng.useEffectEvent=sn;var c2=null,u3=null,r2=null,i3=null,qo=null,$i=null,mv=null;c2={readContext:function(e){return mt(e)},use:Mi,useCallback:function(e,t){return X="useCallback",Ce(),wi(t),sh(e,t)},useContext:function(e){return X="useContext",Ce(),mt(e)},useEffect:function(e,t){return X="useEffect",Ce(),wi(t),gc(e,t)},useImperativeHandle:function(e,t,l){return X="useImperativeHandle",Ce(),wi(l),qu(e,t,l)},useInsertionEffect:function(e,t){X="useInsertionEffect",Ce(),wi(t),So(4,va,e,t)},useLayoutEffect:function(e,t){return X="useLayoutEffect",Ce(),wi(t),Al(e,t)},useMemo:function(e,t){X="useMemo",Ce(),wi(t);var l=Q.H;Q.H=qo;try{return xl(e,t)}finally{Q.H=l}},useReducer:function(e,t,l){X="useReducer",Ce();var i=Q.H;Q.H=qo;try{return zr(e,t,l)}finally{Q.H=i}},useRef:function(e){return X="useRef",Ce(),rh(e)},useState:function(e){X="useState",Ce();var t=Q.H;Q.H=qo;try{return go(e)}finally{Q.H=t}},useDebugValue:function(){X="useDebugValue",Ce()},useDeferredValue:function(e,t){return X="useDeferredValue",Ce(),Rr(e,t)},useTransition:function(){return X="useTransition",Ce(),To()},useSyncExternalStore:function(e,t,l){return X="useSyncExternalStore",Ce(),Er(e,t,l)},useId:function(){return X="useId",Ce(),yf()},useFormState:function(e,t){return X="useFormState",Ce(),uf(),ia(e,t)},useActionState:function(e,t){return X="useActionState",Ce(),ia(e,t)},useOptimistic:function(e){return X="useOptimistic",Ce(),pc(e)},useHostTransitionStatus:Hi,useMemoCache:aa,useCacheRefresh:function(){return X="useCacheRefresh",Ce(),fh()},useEffectEvent:function(e){return X="useEffectEvent",Ce(),pf(e)}},u3={readContext:function(e){return mt(e)},use:Mi,useCallback:function(e,t){return X="useCallback",te(),sh(e,t)},useContext:function(e){return X="useContext",te(),mt(e)},useEffect:function(e,t){return X="useEffect",te(),gc(e,t)},useImperativeHandle:function(e,t,l){return X="useImperativeHandle",te(),qu(e,t,l)},useInsertionEffect:function(e,t){X="useInsertionEffect",te(),So(4,va,e,t)},useLayoutEffect:function(e,t){return X="useLayoutEffect",te(),Al(e,t)},useMemo:function(e,t){X="useMemo",te();var l=Q.H;Q.H=qo;try{return xl(e,t)}finally{Q.H=l}},useReducer:function(e,t,l){X="useReducer",te();var i=Q.H;Q.H=qo;try{return zr(e,t,l)}finally{Q.H=i}},useRef:function(e){return X="useRef",te(),rh(e)},useState:function(e){X="useState",te();var t=Q.H;Q.H=qo;try{return go(e)}finally{Q.H=t}},useDebugValue:function(){X="useDebugValue",te()},useDeferredValue:function(e,t){return X="useDeferredValue",te(),Rr(e,t)},useTransition:function(){return X="useTransition",te(),To()},useSyncExternalStore:function(e,t,l){return X="useSyncExternalStore",te(),Er(e,t,l)},useId:function(){return X="useId",te(),yf()},useActionState:function(e,t){return X="useActionState",te(),ia(e,t)},useFormState:function(e,t){return X="useFormState",te(),uf(),ia(e,t)},useOptimistic:function(e){return X="useOptimistic",te(),pc(e)},useHostTransitionStatus:Hi,useMemoCache:aa,useCacheRefresh:function(){return X="useCacheRefresh",te(),fh()},useEffectEvent:function(e){return X="useEffectEvent",te(),pf(e)}},r2={readContext:function(e){return mt(e)},use:Mi,useCallback:function(e,t){return X="useCallback",te(),au(e,t)},useContext:function(e){return X="useContext",te(),mt(e)},useEffect:function(e,t){X="useEffect",te(),Cn(2048,ba,e,t)},useImperativeHandle:function(e,t,l){return X="useImperativeHandle",te(),xr(e,t,l)},useInsertionEffect:function(e,t){return X="useInsertionEffect",te(),Cn(4,va,e,t)},useLayoutEffect:function(e,t){return X="useLayoutEffect",te(),Cn(4,vu,e,t)},useMemo:function(e,t){X="useMemo",te();var l=Q.H;Q.H=$i;try{return $t(e,t)}finally{Q.H=l}},useReducer:function(e,t,l){X="useReducer",te();var i=Q.H;Q.H=$i;try{return dc(e,t,l)}finally{Q.H=i}},useRef:function(){return X="useRef",te(),bt().memoizedState},useState:function(){X="useState",te();var e=Q.H;Q.H=$i;try{return dc(ua)}finally{Q.H=e}},useDebugValue:function(){X="useDebugValue",te()},useDeferredValue:function(e,t){return X="useDeferredValue",te(),Yu(e,t)},useTransition:function(){return X="useTransition",te(),Ly()},useSyncExternalStore:function(e,t,l){return X="useSyncExternalStore",te(),mc(e,t,l)},useId:function(){return X="useId",te(),bt().memoizedState},useFormState:function(e){return X="useFormState",te(),uf(),vo(e)},useActionState:function(e){return X="useActionState",te(),vo(e)},useOptimistic:function(e,t){return X="useOptimistic",te(),df(e,t)},useHostTransitionStatus:Hi,useMemoCache:aa,useCacheRefresh:function(){return X="useCacheRefresh",te(),bt().memoizedState},useEffectEvent:function(e){return X="useEffectEvent",te(),Ar(e)}},i3={readContext:function(e){return mt(e)},use:Mi,useCallback:function(e,t){return X="useCallback",te(),au(e,t)},useContext:function(e){return X="useContext",te(),mt(e)},useEffect:function(e,t){X="useEffect",te(),Cn(2048,ba,e,t)},useImperativeHandle:function(e,t,l){return X="useImperativeHandle",te(),xr(e,t,l)},useInsertionEffect:function(e,t){return X="useInsertionEffect",te(),Cn(4,va,e,t)},useLayoutEffect:function(e,t){return X="useLayoutEffect",te(),Cn(4,vu,e,t)},useMemo:function(e,t){X="useMemo",te();var l=Q.H;Q.H=mv;try{return $t(e,t)}finally{Q.H=l}},useReducer:function(e,t,l){X="useReducer",te();var i=Q.H;Q.H=mv;try{return hc(e,t,l)}finally{Q.H=i}},useRef:function(){return X="useRef",te(),bt().memoizedState},useState:function(){X="useState",te();var e=Q.H;Q.H=mv;try{return hc(ua)}finally{Q.H=e}},useDebugValue:function(){X="useDebugValue",te()},useDeferredValue:function(e,t){return X="useDeferredValue",te(),qe(e,t)},useTransition:function(){return X="useTransition",te(),en()},useSyncExternalStore:function(e,t,l){return X="useSyncExternalStore",te(),mc(e,t,l)},useId:function(){return X="useId",te(),bt().memoizedState},useFormState:function(e){return X="useFormState",te(),uf(),bo(e)},useActionState:function(e){return X="useActionState",te(),bo(e)},useOptimistic:function(e,t){return X="useOptimistic",te(),hf(e,t)},useHostTransitionStatus:Hi,useMemoCache:aa,useCacheRefresh:function(){return X="useCacheRefresh",te(),bt().memoizedState},useEffectEvent:function(e){return X="useEffectEvent",te(),Ar(e)}},qo={readContext:function(e){return C(),mt(e)},use:function(e){return _(),Mi(e)},useCallback:function(e,t){return X="useCallback",_(),Ce(),sh(e,t)},useContext:function(e){return X="useContext",_(),Ce(),mt(e)},useEffect:function(e,t){return X="useEffect",_(),Ce(),gc(e,t)},useImperativeHandle:function(e,t,l){return X="useImperativeHandle",_(),Ce(),qu(e,t,l)},useInsertionEffect:function(e,t){X="useInsertionEffect",_(),Ce(),So(4,va,e,t)},useLayoutEffect:function(e,t){return X="useLayoutEffect",_(),Ce(),Al(e,t)},useMemo:function(e,t){X="useMemo",_(),Ce();var l=Q.H;Q.H=qo;try{return xl(e,t)}finally{Q.H=l}},useReducer:function(e,t,l){X="useReducer",_(),Ce();var i=Q.H;Q.H=qo;try{return zr(e,t,l)}finally{Q.H=i}},useRef:function(e){return X="useRef",_(),Ce(),rh(e)},useState:function(e){X="useState",_(),Ce();var t=Q.H;Q.H=qo;try{return go(e)}finally{Q.H=t}},useDebugValue:function(){X="useDebugValue",_(),Ce()},useDeferredValue:function(e,t){return X="useDeferredValue",_(),Ce(),Rr(e,t)},useTransition:function(){return X="useTransition",_(),Ce(),To()},useSyncExternalStore:function(e,t,l){return X="useSyncExternalStore",_(),Ce(),Er(e,t,l)},useId:function(){return X="useId",_(),Ce(),yf()},useFormState:function(e,t){return X="useFormState",_(),Ce(),ia(e,t)},useActionState:function(e,t){return X="useActionState",_(),Ce(),ia(e,t)},useOptimistic:function(e){return X="useOptimistic",_(),Ce(),pc(e)},useMemoCache:function(e){return _(),aa(e)},useHostTransitionStatus:Hi,useCacheRefresh:function(){return X="useCacheRefresh",Ce(),fh()},useEffectEvent:function(e){return X="useEffectEvent",_(),Ce(),pf(e)}},$i={readContext:function(e){return C(),mt(e)},use:function(e){return _(),Mi(e)},useCallback:function(e,t){return X="useCallback",_(),te(),au(e,t)},useContext:function(e){return X="useContext",_(),te(),mt(e)},useEffect:function(e,t){X="useEffect",_(),te(),Cn(2048,ba,e,t)},useImperativeHandle:function(e,t,l){return X="useImperativeHandle",_(),te(),xr(e,t,l)},useInsertionEffect:function(e,t){return X="useInsertionEffect",_(),te(),Cn(4,va,e,t)},useLayoutEffect:function(e,t){return X="useLayoutEffect",_(),te(),Cn(4,vu,e,t)},useMemo:function(e,t){X="useMemo",_(),te();var l=Q.H;Q.H=$i;try{return $t(e,t)}finally{Q.H=l}},useReducer:function(e,t,l){X="useReducer",_(),te();var i=Q.H;Q.H=$i;try{return dc(e,t,l)}finally{Q.H=i}},useRef:function(){return X="useRef",_(),te(),bt().memoizedState},useState:function(){X="useState",_(),te();var e=Q.H;Q.H=$i;try{return dc(ua)}finally{Q.H=e}},useDebugValue:function(){X="useDebugValue",_(),te()},useDeferredValue:function(e,t){return X="useDeferredValue",_(),te(),Yu(e,t)},useTransition:function(){return X="useTransition",_(),te(),Ly()},useSyncExternalStore:function(e,t,l){return X="useSyncExternalStore",_(),te(),mc(e,t,l)},useId:function(){return X="useId",_(),te(),bt().memoizedState},useFormState:function(e){return X="useFormState",_(),te(),vo(e)},useActionState:function(e){return X="useActionState",_(),te(),vo(e)},useOptimistic:function(e,t){return X="useOptimistic",_(),te(),df(e,t)},useMemoCache:function(e){return _(),aa(e)},useHostTransitionStatus:Hi,useCacheRefresh:function(){return X="useCacheRefresh",te(),bt().memoizedState},useEffectEvent:function(e){return X="useEffectEvent",_(),te(),Ar(e)}},mv={readContext:function(e){return C(),mt(e)},use:function(e){return _(),Mi(e)},useCallback:function(e,t){return X="useCallback",_(),te(),au(e,t)},useContext:function(e){return X="useContext",_(),te(),mt(e)},useEffect:function(e,t){X="useEffect",_(),te(),Cn(2048,ba,e,t)},useImperativeHandle:function(e,t,l){return X="useImperativeHandle",_(),te(),xr(e,t,l)},useInsertionEffect:function(e,t){return X="useInsertionEffect",_(),te(),Cn(4,va,e,t)},useLayoutEffect:function(e,t){return X="useLayoutEffect",_(),te(),Cn(4,vu,e,t)},useMemo:function(e,t){X="useMemo",_(),te();var l=Q.H;Q.H=$i;try{return $t(e,t)}finally{Q.H=l}},useReducer:function(e,t,l){X="useReducer",_(),te();var i=Q.H;Q.H=$i;try{return hc(e,t,l)}finally{Q.H=i}},useRef:function(){return X="useRef",_(),te(),bt().memoizedState},useState:function(){X="useState",_(),te();var e=Q.H;Q.H=$i;try{return hc(ua)}finally{Q.H=e}},useDebugValue:function(){X="useDebugValue",_(),te()},useDeferredValue:function(e,t){return X="useDeferredValue",_(),te(),qe(e,t)},useTransition:function(){return X="useTransition",_(),te(),en()},useSyncExternalStore:function(e,t,l){return X="useSyncExternalStore",_(),te(),mc(e,t,l)},useId:function(){return X="useId",_(),te(),bt().memoizedState},useFormState:function(e){return X="useFormState",_(),te(),bo(e)},useActionState:function(e){return X="useActionState",_(),te(),bo(e)},useOptimistic:function(e,t){return X="useOptimistic",_(),te(),hf(e,t)},useMemoCache:function(e){return _(),aa(e)},useHostTransitionStatus:Hi,useCacheRefresh:function(){return X="useCacheRefresh",te(),bt().memoizedState},useEffectEvent:function(e){return X="useEffectEvent",_(),te(),Ar(e)}};var o3={},c3=new Set,r3=new Set,s3=new Set,f3=new Set,d3=new Set,h3=new Set,m3=new Set,p3=new Set,g3=new Set,y3=new Set;Object.freeze(o3);var s2={enqueueSetState:function(e,t,l){e=e._reactInternals;var i=dl(e),c=Mn(i);c.payload=t,l!=null&&(Sc(l),c.callback=l),t=Hu(e,c,i),t!==null&&(Cu(i,"this.setState()",e),Me(t,e,i),Ca(t,e,i))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var i=dl(e),c=Mn(i);c.tag=P5,c.payload=t,l!=null&&(Sc(l),c.callback=l),t=Hu(e,c,i),t!==null&&(Cu(i,"this.replaceState()",e),Me(t,e,i),Ca(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=dl(e),i=Mn(l);i.tag=e3,t!=null&&(Sc(t),i.callback=t),t=Hu(e,i,l),t!==null&&(Cu(l,"this.forceUpdate()",e),Me(t,e,l),Ca(t,e,l))}},Z0=null,f2=null,d2=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."),Wn=!1,v3={},b3={},S3={},T3={},q0=!1,z3={},pv={},h2={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},E3=!1,_3=null;_3=new Set;var Kc=!1,Fn=!1,m2=!1,A3=typeof WeakSet=="function"?WeakSet:Set,gl=null,Y0=null,k0=null,In=null,Za=!1,Ji=null,ul=!1,Bg=8192,aA={getCacheForType:function(e){var t=mt($n),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l},cacheSignal:function(){return mt($n).controller.signal},getOwner:function(){return $l}};if(typeof Symbol=="function"&&Symbol.for){var Zg=Symbol.for;Zg("selector.component"),Zg("selector.has_pseudo_class"),Zg("selector.role"),Zg("selector.test_id"),Zg("selector.text")}var uA=[],iA=typeof WeakMap=="function"?WeakMap:Map,yl=0,il=2,bu=4,Wc=0,qg=1,pd=2,gv=3,Ts=4,yv=6,x3=5,ot=yl,Bt=null,We=null,Je=0,qa=0,vv=1,gd=2,Yg=3,R3=4,p2=5,kg=6,bv=7,g2=8,yd=9,Mt=qa,Su=null,zs=!1,G0=!1,y2=!1,Yo=0,hn=Wc,Es=0,_s=0,v2=0,Ya=0,vd=0,Gg=null,Sa=null,Sv=!1,Tv=0,D3=0,O3=300,zv=1/0,w3=500,Lg=null,On=null,As=null,Ev=0,b2=1,S2=2,M3=3,xs=0,C3=1,U3=2,j3=3,H3=4,_v=5,Pn=0,Rs=null,L0=null,Ki=0,T2=0,z2=-0,E2=null,N3=null,B3=null,Wi=Ev,Z3=null,oA=50,Vg=0,_2=null,A2=!1,Av=!1,cA=50,bd=0,Xg=null,V0=!1,xv=null,q3=!1,Y3=new Set,rA={},Rv=null,X0=null,x2=!1,R2=!1,Dv=!1,D2=!1,Ds=0,O2={};(function(){for(var e=0;e<Yb.length;e++){var t=Yb[e],l=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),Ja(l,"on"+t)}Ja(g5,"onAnimationEnd"),Ja(y5,"onAnimationIteration"),Ja(v5,"onAnimationStart"),Ja("dblclick","onDoubleClick"),Ja("focusin","onFocus"),Ja("focusout","onBlur"),Ja(Z_,"onTransitionRun"),Ja(q_,"onTransitionStart"),Ja(Y_,"onTransitionCancel"),Ja(b5,"onTransitionEnd")})(),Pt("onMouseEnter",["mouseout","mouseover"]),Pt("onMouseLeave",["mouseout","mouseover"]),Pt("onPointerEnter",["pointerout","pointerover"]),Pt("onPointerLeave",["pointerout","pointerover"]),yt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),yt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),yt("onBeforeInput",["compositionend","keypress","textInput","paste"]),yt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),yt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),yt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Qg="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(" "),w2=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Qg)),Ov="_reactListening"+Math.random().toString(36).slice(2),k3=!1,G3=!1,wv=!1,L3=!1,Mv=!1,Cv=!1,V3=!1,Uv={},sA=/\r\n?/g,fA=/\u0000|\uFFFD/g,Sd="http://www.w3.org/1999/xlink",M2="http://www.w3.org/XML/1998/namespace",dA="javascript:throw new Error('React form unexpectedly submitted.')",hA="suppressHydrationWarning",Td="&",jv="/&",$g="$",Jg="/$",Os="$?",zd="$~",Q0="$!",mA="html",pA="body",gA="head",C2="F!",X3="F",Q3="loading",yA="style",Fc=0,$0=1,Hv=2,U2=null,j2=null,$3={dialog:!0,webview:!0},H2=null,Kg=void 0,J3=typeof setTimeout=="function"?setTimeout:void 0,vA=typeof clearTimeout=="function"?clearTimeout:void 0,Ed=-1,K3=typeof Promise=="function"?Promise:void 0,bA=typeof queueMicrotask=="function"?queueMicrotask:typeof K3<"u"?function(e){return K3.resolve(null).then(e).catch(f1)}:J3,N2=null,_d=0,Wg=1,W3=2,F3=3,hi=4,mi=new Map,I3=new Set,Ic=gt.d;gt.d={f:function(){var e=Ic.f(),t=fa();return e||t},r:function(e){var t=Fl(e);t!==null&&t.tag===5&&t.type==="form"?Dr(t):Ic.r(e)},D:function(e){Ic.D(e),Bp("dns-prefetch",e,null)},C:function(e,t){Ic.C(e,t),Bp("preconnect",e,t)},L:function(e,t,l){Ic.L(e,t,l);var i=J0;if(i&&e&&t){var c='link[rel="preload"][as="'+xt(t)+'"]';t==="image"&&l&&l.imageSrcSet?(c+='[imagesrcset="'+xt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(c+='[imagesizes="'+xt(l.imageSizes)+'"]')):c+='[href="'+xt(e)+'"]';var s=c;switch(t){case"style":s=wc(e);break;case"script":s=Mc(e)}mi.has(s)||(e=Xe({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),mi.set(s,e),i.querySelector(c)!==null||t==="style"&&i.querySelector(Lf(s))||t==="script"&&i.querySelector(Vf(s))||(t=i.createElement("link"),Jt(t,"link",e),ye(t),i.head.appendChild(t)))}},m:function(e,t){Ic.m(e,t);var l=J0;if(l&&e){var i=t&&typeof t.as=="string"?t.as:"script",c='link[rel="modulepreload"][as="'+xt(i)+'"][href="'+xt(e)+'"]',s=c;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=Mc(e)}if(!mi.has(s)&&(e=Xe({rel:"modulepreload",href:e},t),mi.set(s,e),l.querySelector(c)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Vf(s)))return}i=l.createElement("link"),Jt(i,"link",e),ye(i),l.head.appendChild(i)}}},X:function(e,t){Ic.X(e,t);var l=J0;if(l&&e){var i=vl(l).hoistableScripts,c=Mc(e),s=i.get(c);s||(s=l.querySelector(Vf(c)),s||(e=Xe({src:e,async:!0},t),(t=mi.get(c))&&Yp(e,t),s=l.createElement("script"),ye(s),Jt(s,"link",e),l.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},i.set(c,s))}},S:function(e,t,l){Ic.S(e,t,l);var i=J0;if(i&&e){var c=vl(i).hoistableStyles,s=wc(e);t=t||"default";var g=c.get(s);if(!g){var y={loading:_d,preload:null};if(g=i.querySelector(Lf(s)))y.loading=Wg|hi;else{e=Xe({rel:"stylesheet",href:e,"data-precedence":t},l),(l=mi.get(s))&&qp(e,l);var T=g=i.createElement("link");ye(T),Jt(T,"link",e),T._p=new Promise(function(E,H){T.onload=E,T.onerror=H}),T.addEventListener("load",function(){y.loading|=Wg}),T.addEventListener("error",function(){y.loading|=W3}),y.loading|=hi,Kr(g,t,i)}g={type:"stylesheet",instance:g,count:1,state:y},c.set(s,g)}}},M:function(e,t){Ic.M(e,t);var l=J0;if(l&&e){var i=vl(l).hoistableScripts,c=Mc(e),s=i.get(c);s||(s=l.querySelector(Vf(c)),s||(e=Xe({src:e,async:!0,type:"module"},t),(t=mi.get(c))&&Yp(e,t),s=l.createElement("script"),ye(s),Jt(s,"link",e),l.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},i.set(c,s))}}};var J0=typeof document>"u"?null:document,Nv=null,SA=6e4,TA=800,zA=500,B2=0,Z2=null,Bv=null,Ad=Db,Fg={$$typeof:hu,Provider:null,Consumer:null,_currentValue:Ad,_currentValue2:Ad,_threadCount:0},P3="%c%s%c",e4="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",t4="",Zv=" ",EA=Function.prototype.bind,n4=!1,l4=null,a4=null,u4=null,i4=null,o4=null,c4=null,r4=null,s4=null,f4=null,d4=null;l4=function(e,t,l,i){t=r(e,t),t!==null&&(l=f(t.memoizedState,l,0,i),t.memoizedState=l,t.baseState=l,e.memoizedProps=Xe({},e.memoizedProps),l=sl(e,2),l!==null&&Me(l,e,2))},a4=function(e,t,l){t=r(e,t),t!==null&&(l=v(t.memoizedState,l,0),t.memoizedState=l,t.baseState=l,e.memoizedProps=Xe({},e.memoizedProps),l=sl(e,2),l!==null&&Me(l,e,2))},u4=function(e,t,l,i){t=r(e,t),t!==null&&(l=h(t.memoizedState,l,i),t.memoizedState=l,t.baseState=l,e.memoizedProps=Xe({},e.memoizedProps),l=sl(e,2),l!==null&&Me(l,e,2))},i4=function(e,t,l){e.pendingProps=f(e.memoizedProps,t,0,l),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=sl(e,2),t!==null&&Me(t,e,2)},o4=function(e,t){e.pendingProps=v(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=sl(e,2),t!==null&&Me(t,e,2)},c4=function(e,t,l){e.pendingProps=h(e.memoizedProps,t,l),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=sl(e,2),t!==null&&Me(t,e,2)},r4=function(e){var t=sl(e,2);t!==null&&Me(t,e,2)},s4=function(e){var t=bi(),l=sl(e,t);l!==null&&Me(l,e,t)},f4=function(e){z=e},d4=function(e){S=e};var qv=!0,Yv=null,q2=!1,ws=null,Ms=null,Cs=null,Ig=new Map,Pg=new Map,Us=[],_A="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(" "),kv=null;if(du.prototype.render=Wp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var l=arguments;typeof l[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()."):De(l[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 l[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),l=e;var i=t.current,c=dl(i);t0(i,c,l,t,null,null)},du.prototype.unmount=Wp.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(ot&(il|bu))!==yl&&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."),t0(e.current,2,null,e,null,null),fa(),t[Vi]=null}},du.prototype.unstable_scheduleHydration=function(e){if(e){var t=Md();e={blockedOn:null,target:e,priority:t};for(var l=0;l<Us.length&&t!==0&&t<Us[l].priority;l++);Us.splice(l,0,e),l===0&&Kp(e)}},(function(){var e=Kf.version;if(e!=="19.2.6")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
221
|
+
- react: `+(e+`
|
|
222
|
+
- react-dom: 19.2.6
|
|
223
|
+
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"),gt.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=pn(t),e=e!==null?rt(e):null,e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:"19.2.6",rendererPackageName:"react-dom",currentDispatcherRef:Q,reconcilerVersion:"19.2.6"};return e.overrideHookState=l4,e.overrideHookStateDeletePath=a4,e.overrideHookStateRenamePath=u4,e.overrideProps=i4,e.overridePropsDeletePath=o4,e.overridePropsRenamePath=c4,e.scheduleUpdate=r4,e.scheduleRetry=s4,e.setErrorHandler=f4,e.setSuspenseHandler=d4,e.scheduleRefresh=ie,e.scheduleRoot=le,e.setRefreshHandler=Ye,e.getCurrentFiber=Ot,Wl(e)})()&&No&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var h4=window.location.protocol;/^(https?|file):$/.test(h4)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(h4==="file:"?`
|
|
224
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}I0.createRoot=function(e,t){if(!De(e))throw Error("Target container is not a DOM element.");Fp(e);var l=!1,i="",c=mh,s=ph,g=Xm;return t!=null&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Na&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
225
|
+
|
|
226
|
+
let root = createRoot(domContainer);
|
|
227
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onUncaughtError!==void 0&&(c=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(g=t.onRecoverableError)),t=$f(e,1,!1,null,null,l,i,null,c,s,g,H1),e[Vi]=t.current,Do(e),new Wp(t)},I0.hydrateRoot=function(e,t,l){if(!De(e))throw Error("Target container is not a DOM element.");Fp(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var i=!1,c="",s=mh,g=ph,y=Xm,T=null;return l!=null&&(l.unstable_strictMode===!0&&(i=!0),l.identifierPrefix!==void 0&&(c=l.identifierPrefix),l.onUncaughtError!==void 0&&(s=l.onUncaughtError),l.onCaughtError!==void 0&&(g=l.onCaughtError),l.onRecoverableError!==void 0&&(y=l.onRecoverableError),l.formState!==void 0&&(T=l.formState)),t=$f(e,1,!0,t,l??null,i,c,T,s,g,y,H1),t.context=M1(null),l=t.current,i=dl(l),i=Ti(i),c=Mn(i),c.callback=null,Hu(l,c,i),Cu(i,"hydrateRoot()",null),l=i,t.current.lanes=l,Ga(t,l),Ll(t),e[Vi]=t.current,Do(e),new du(t)},I0.version="19.2.6",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),I0}var F2;function z4(){if(F2)return ty.exports;F2=1;function r(){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(r)}catch(f){console.error(f)}}}return process.env.NODE_ENV==="production"?(r(),ty.exports=S4()):ty.exports=T4(),ty.exports}var E4=z4();function _4(r){if(typeof document>"u")return;let f=document.head||document.getElementsByTagName("head")[0],h=document.createElement("style");h.type="text/css",f.appendChild(h),h.styleSheet?h.styleSheet.cssText=r:h.appendChild(document.createTextNode(r))}const A4=r=>{switch(r){case"success":return D4;case"info":return w4;case"warning":return O4;case"error":return M4;default:return null}},x4=Array(12).fill(0),R4=({visible:r,className:f})=>ne.createElement("div",{className:["sonner-loading-wrapper",f].filter(Boolean).join(" "),"data-visible":r},ne.createElement("div",{className:"sonner-spinner"},x4.map((h,m)=>ne.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${m}`})))),D4=ne.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ne.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),O4=ne.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},ne.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),w4=ne.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ne.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),M4=ne.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ne.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),C4=ne.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},ne.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),ne.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),U4=()=>{const[r,f]=ne.useState(document.hidden);return ne.useEffect(()=>{const h=()=>{f(document.hidden)};return document.addEventListener("visibilitychange",h),()=>window.removeEventListener("visibilitychange",h)},[]),r};let Vv=1;class j4{constructor(){this.subscribe=f=>(this.subscribers.push(f),()=>{const h=this.subscribers.indexOf(f);this.subscribers.splice(h,1)}),this.publish=f=>{this.subscribers.forEach(h=>h(f))},this.addToast=f=>{this.publish(f),this.toasts=[...this.toasts,f]},this.create=f=>{var h;const{message:m,...v}=f,S=typeof f?.id=="number"||((h=f.id)==null?void 0:h.length)>0?f.id:Vv++,z=this.toasts.find(C=>C.id===S),_=f.dismissible===void 0?!0:f.dismissible;return this.dismissedToasts.has(S)&&this.dismissedToasts.delete(S),z?this.toasts=this.toasts.map(C=>C.id===S?(this.publish({...C,...f,id:S,title:m}),{...C,...f,id:S,dismissible:_,title:m}):C):this.addToast({title:m,...v,dismissible:_,id:S}),S},this.dismiss=f=>(f?(this.dismissedToasts.add(f),requestAnimationFrame(()=>this.subscribers.forEach(h=>h({id:f,dismiss:!0})))):this.toasts.forEach(h=>{this.subscribers.forEach(m=>m({id:h.id,dismiss:!0}))}),f),this.message=(f,h)=>this.create({...h,message:f}),this.error=(f,h)=>this.create({...h,message:f,type:"error"}),this.success=(f,h)=>this.create({...h,type:"success",message:f}),this.info=(f,h)=>this.create({...h,type:"info",message:f}),this.warning=(f,h)=>this.create({...h,type:"warning",message:f}),this.loading=(f,h)=>this.create({...h,type:"loading",message:f}),this.promise=(f,h)=>{if(!h)return;let m;h.loading!==void 0&&(m=this.create({...h,promise:f,type:"loading",message:h.loading,description:typeof h.description!="function"?h.description:void 0}));const v=Promise.resolve(f instanceof Function?f():f);let S=m!==void 0,z;const _=v.then(async R=>{if(z=["resolve",R],ne.isValidElement(R))S=!1,this.create({id:m,type:"default",message:R});else if(N4(R)&&!R.ok){S=!1;const x=typeof h.error=="function"?await h.error(`HTTP error! status: ${R.status}`):h.error,I=typeof h.description=="function"?await h.description(`HTTP error! status: ${R.status}`):h.description,ie=typeof x=="object"&&!ne.isValidElement(x)?x:{message:x};this.create({id:m,type:"error",description:I,...ie})}else if(R instanceof Error){S=!1;const x=typeof h.error=="function"?await h.error(R):h.error,I=typeof h.description=="function"?await h.description(R):h.description,ie=typeof x=="object"&&!ne.isValidElement(x)?x:{message:x};this.create({id:m,type:"error",description:I,...ie})}else if(h.success!==void 0){S=!1;const x=typeof h.success=="function"?await h.success(R):h.success,I=typeof h.description=="function"?await h.description(R):h.description,ie=typeof x=="object"&&!ne.isValidElement(x)?x:{message:x};this.create({id:m,type:"success",description:I,...ie})}}).catch(async R=>{if(z=["reject",R],h.error!==void 0){S=!1;const V=typeof h.error=="function"?await h.error(R):h.error,x=typeof h.description=="function"?await h.description(R):h.description,le=typeof V=="object"&&!ne.isValidElement(V)?V:{message:V};this.create({id:m,type:"error",description:x,...le})}}).finally(()=>{S&&(this.dismiss(m),m=void 0),h.finally==null||h.finally.call(h)}),C=()=>new Promise((R,V)=>_.then(()=>z[0]==="reject"?V(z[1]):R(z[1])).catch(V));return typeof m!="string"&&typeof m!="number"?{unwrap:C}:Object.assign(m,{unwrap:C})},this.custom=(f,h)=>{const m=h?.id||Vv++;return this.create({jsx:f(m),id:m,...h}),m},this.getActiveToasts=()=>this.toasts.filter(f=>!this.dismissedToasts.has(f.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const Ta=new j4,H4=(r,f)=>{const h=f?.id||Vv++;return Ta.addToast({title:r,...f,id:h}),h},N4=r=>r&&typeof r=="object"&&"ok"in r&&typeof r.ok=="boolean"&&"status"in r&&typeof r.status=="number",B4=H4,Z4=()=>Ta.toasts,q4=()=>Ta.getActiveToasts(),Xv=Object.assign(B4,{success:Ta.success,info:Ta.info,warning:Ta.warning,error:Ta.error,custom:Ta.custom,message:Ta.message,promise:Ta.promise,dismiss:Ta.dismiss,loading:Ta.loading},{getHistory:Z4,getToasts:q4});_4("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function ly(r){return r.label!==void 0}const Y4=3,k4="24px",G4="16px",I2=4e3,L4=356,V4=14,X4=45,Q4=200;function Fi(...r){return r.filter(Boolean).join(" ")}function $4(r){const[f,h]=r.split("-"),m=[];return f&&m.push(f),h&&m.push(h),m}const J4=r=>{var f,h,m,v,S,z,_,C,R;const{invert:V,toast:x,unstyled:I,interacting:le,setHeights:ie,visibleToasts:Ye,heights:De,index:me,toasts:un,expanded:ut,removeToast:_t,defaultRichColors:pn,closeButton:rt,style:Ct,cancelButtonStyle:Ne,actionButtonStyle:on,className:ge="",descriptionClassName:Zt="",duration:Ze,position:xe,gap:gn,expandByDefault:Vt,classNames:U,icons:J,closeButtonAriaLabel:ae="Close toast"}=r,[be,Se]=ne.useState(null),[K,de]=ne.useState(null),[oe,re]=ne.useState(!1),[He,qt]=ne.useState(!1),[st,Ie]=ne.useState(!1),[An,zu]=ne.useState(!1),[fe,za]=ne.useState(!1),[Lo,ql]=ne.useState(0),[yi,ht]=ne.useState(0),vi=ne.useRef(x.duration||Ze||I2),Vo=ne.useRef(null),Wl=ne.useRef(null),At=me===0,Bs=me+1<=Ye,yn=x.type,ka=x.dismissible!==!1,wn=x.className||"",um=x.descriptionClassName||"",bi=ne.useMemo(()=>De.findIndex(ye=>ye.toastId===x.id)||0,[De,x.id]),nr=ne.useMemo(()=>{var ye;return(ye=x.closeButton)!=null?ye:rt},[x.closeButton,rt]),Ga=ne.useMemo(()=>x.duration||Ze||I2,[x.duration,Ze]),Zs=ne.useRef(0),Eu=ne.useRef(0),qs=ne.useRef(0),Si=ne.useRef(null),[Ti,rl]=xe.split("-"),Ea=ne.useMemo(()=>De.reduce((ye,yt,Pt)=>Pt>=bi?ye:ye+yt.height,0),[De,bi]),Zn=U4(),Md=x.invert||V,lr=yn==="loading";Eu.current=ne.useMemo(()=>bi*gn+Ea,[bi,Ea]),ne.useEffect(()=>{vi.current=Ga},[Ga]),ne.useEffect(()=>{re(!0)},[]),ne.useEffect(()=>{const ye=Wl.current;if(ye){const yt=ye.getBoundingClientRect().height;return ht(yt),ie(Pt=>[{toastId:x.id,height:yt,position:x.position},...Pt]),()=>ie(Pt=>Pt.filter(vn=>vn.toastId!==x.id))}},[ie,x.id]),ne.useLayoutEffect(()=>{if(!oe)return;const ye=Wl.current,yt=ye.style.height;ye.style.height="auto";const Pt=ye.getBoundingClientRect().height;ye.style.height=yt,ht(Pt),ie(vn=>vn.find(Xt=>Xt.toastId===x.id)?vn.map(Xt=>Xt.toastId===x.id?{...Xt,height:Pt}:Xt):[{toastId:x.id,height:Pt,position:x.position},...vn])},[oe,x.title,x.description,ie,x.id,x.jsx,x.action,x.cancel]);const _a=ne.useCallback(()=>{qt(!0),ql(Eu.current),ie(ye=>ye.filter(yt=>yt.toastId!==x.id)),setTimeout(()=>{_t(x)},Q4)},[x,_t,ie,Eu]);ne.useEffect(()=>{if(x.promise&&yn==="loading"||x.duration===1/0||x.type==="loading")return;let ye;return ut||le||Zn?(()=>{if(qs.current<Zs.current){const vn=new Date().getTime()-Zs.current;vi.current=vi.current-vn}qs.current=new Date().getTime()})():vi.current!==1/0&&(Zs.current=new Date().getTime(),ye=setTimeout(()=>{x.onAutoClose==null||x.onAutoClose.call(x,x),_a()},vi.current)),()=>clearTimeout(ye)},[ut,le,x,yn,Zn,_a]),ne.useEffect(()=>{x.delete&&(_a(),x.onDismiss==null||x.onDismiss.call(x,x))},[_a,x.delete]);function La(){var ye;if(J?.loading){var yt;return ne.createElement("div",{className:Fi(U?.loader,x==null||(yt=x.classNames)==null?void 0:yt.loader,"sonner-loader"),"data-visible":yn==="loading"},J.loading)}return ne.createElement(R4,{className:Fi(U?.loader,x==null||(ye=x.classNames)==null?void 0:ye.loader),visible:yn==="loading"})}const Fl=x.icon||J?.[yn]||A4(yn);var Va,vl;return ne.createElement("li",{tabIndex:0,ref:Wl,className:Fi(ge,wn,U?.toast,x==null||(f=x.classNames)==null?void 0:f.toast,U?.default,U?.[yn],x==null||(h=x.classNames)==null?void 0:h[yn]),"data-sonner-toast":"","data-rich-colors":(Va=x.richColors)!=null?Va:pn,"data-styled":!(x.jsx||x.unstyled||I),"data-mounted":oe,"data-promise":!!x.promise,"data-swiped":fe,"data-removed":He,"data-visible":Bs,"data-y-position":Ti,"data-x-position":rl,"data-index":me,"data-front":At,"data-swiping":st,"data-dismissible":ka,"data-type":yn,"data-invert":Md,"data-swipe-out":An,"data-swipe-direction":K,"data-expanded":!!(ut||Vt&&oe),"data-testid":x.testId,style:{"--index":me,"--toasts-before":me,"--z-index":un.length-me,"--offset":`${He?Lo:Eu.current}px`,"--initial-height":Vt?"auto":`${yi}px`,...Ct,...x.style},onDragEnd:()=>{Ie(!1),Se(null),Si.current=null},onPointerDown:ye=>{ye.button!==2&&(lr||!ka||(Vo.current=new Date,ql(Eu.current),ye.target.setPointerCapture(ye.pointerId),ye.target.tagName!=="BUTTON"&&(Ie(!0),Si.current={x:ye.clientX,y:ye.clientY})))},onPointerUp:()=>{var ye,yt,Pt;if(An||!ka)return;Si.current=null;const vn=Number(((ye=Wl.current)==null?void 0:ye.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),_u=Number(((yt=Wl.current)==null?void 0:yt.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Xt=new Date().getTime()-((Pt=Vo.current)==null?void 0:Pt.getTime()),el=be==="x"?vn:_u,Au=Math.abs(el)/Xt;if(Math.abs(el)>=X4||Au>.11){ql(Eu.current),x.onDismiss==null||x.onDismiss.call(x,x),de(be==="x"?vn>0?"right":"left":_u>0?"down":"up"),_a(),zu(!0);return}else{var cn,Yt;(cn=Wl.current)==null||cn.style.setProperty("--swipe-amount-x","0px"),(Yt=Wl.current)==null||Yt.style.setProperty("--swipe-amount-y","0px")}za(!1),Ie(!1),Se(null)},onPointerMove:ye=>{var yt,Pt,vn;if(!Si.current||!ka||((yt=window.getSelection())==null?void 0:yt.toString().length)>0)return;const Xt=ye.clientY-Si.current.y,el=ye.clientX-Si.current.x;var Au;const cn=(Au=r.swipeDirections)!=null?Au:$4(xe);!be&&(Math.abs(el)>1||Math.abs(Xt)>1)&&Se(Math.abs(el)>Math.abs(Xt)?"x":"y");let Yt={x:0,y:0};const Xo=Xa=>1/(1.5+Math.abs(Xa)/20);if(be==="y"){if(cn.includes("top")||cn.includes("bottom"))if(cn.includes("top")&&Xt<0||cn.includes("bottom")&&Xt>0)Yt.y=Xt;else{const Xa=Xt*Xo(Xt);Yt.y=Math.abs(Xa)<Math.abs(Xt)?Xa:Xt}}else if(be==="x"&&(cn.includes("left")||cn.includes("right")))if(cn.includes("left")&&el<0||cn.includes("right")&&el>0)Yt.x=el;else{const Xa=el*Xo(el);Yt.x=Math.abs(Xa)<Math.abs(el)?Xa:el}(Math.abs(Yt.x)>0||Math.abs(Yt.y)>0)&&za(!0),(Pt=Wl.current)==null||Pt.style.setProperty("--swipe-amount-x",`${Yt.x}px`),(vn=Wl.current)==null||vn.style.setProperty("--swipe-amount-y",`${Yt.y}px`)}},nr&&!x.jsx&&yn!=="loading"?ne.createElement("button",{"aria-label":ae,"data-disabled":lr,"data-close-button":!0,onClick:lr||!ka?()=>{}:()=>{_a(),x.onDismiss==null||x.onDismiss.call(x,x)},className:Fi(U?.closeButton,x==null||(m=x.classNames)==null?void 0:m.closeButton)},(vl=J?.close)!=null?vl:C4):null,(yn||x.icon||x.promise)&&x.icon!==null&&(J?.[yn]!==null||x.icon)?ne.createElement("div",{"data-icon":"",className:Fi(U?.icon,x==null||(v=x.classNames)==null?void 0:v.icon)},x.promise||x.type==="loading"&&!x.icon?x.icon||La():null,x.type!=="loading"?Fl:null):null,ne.createElement("div",{"data-content":"",className:Fi(U?.content,x==null||(S=x.classNames)==null?void 0:S.content)},ne.createElement("div",{"data-title":"",className:Fi(U?.title,x==null||(z=x.classNames)==null?void 0:z.title)},x.jsx?x.jsx:typeof x.title=="function"?x.title():x.title),x.description?ne.createElement("div",{"data-description":"",className:Fi(Zt,um,U?.description,x==null||(_=x.classNames)==null?void 0:_.description)},typeof x.description=="function"?x.description():x.description):null),ne.isValidElement(x.cancel)?x.cancel:x.cancel&&ly(x.cancel)?ne.createElement("button",{"data-button":!0,"data-cancel":!0,style:x.cancelButtonStyle||Ne,onClick:ye=>{ly(x.cancel)&&ka&&(x.cancel.onClick==null||x.cancel.onClick.call(x.cancel,ye),_a())},className:Fi(U?.cancelButton,x==null||(C=x.classNames)==null?void 0:C.cancelButton)},x.cancel.label):null,ne.isValidElement(x.action)?x.action:x.action&&ly(x.action)?ne.createElement("button",{"data-button":!0,"data-action":!0,style:x.actionButtonStyle||on,onClick:ye=>{ly(x.action)&&(x.action.onClick==null||x.action.onClick.call(x.action,ye),!ye.defaultPrevented&&_a())},className:Fi(U?.actionButton,x==null||(R=x.classNames)==null?void 0:R.actionButton)},x.action.label):null)};function P2(){if(typeof window>"u"||typeof document>"u")return"ltr";const r=document.documentElement.getAttribute("dir");return r==="auto"||!r?window.getComputedStyle(document.documentElement).direction:r}function K4(r,f){const h={};return[r,f].forEach((m,v)=>{const S=v===1,z=S?"--mobile-offset":"--offset",_=S?G4:k4;function C(R){["top","right","bottom","left"].forEach(V=>{h[`${z}-${V}`]=typeof R=="number"?`${R}px`:R})}typeof m=="number"||typeof m=="string"?C(m):typeof m=="object"?["top","right","bottom","left"].forEach(R=>{m[R]===void 0?h[`${z}-${R}`]=_:h[`${z}-${R}`]=typeof m[R]=="number"?`${m[R]}px`:m[R]}):C(_)}),h}const W4=ne.forwardRef(function(f,h){const{id:m,invert:v,position:S="bottom-right",hotkey:z=["altKey","KeyT"],expand:_,closeButton:C,className:R,offset:V,mobileOffset:x,theme:I="light",richColors:le,duration:ie,style:Ye,visibleToasts:De=Y4,toastOptions:me,dir:un=P2(),gap:ut=V4,icons:_t,containerAriaLabel:pn="Notifications"}=f,[rt,Ct]=ne.useState([]),Ne=ne.useMemo(()=>m?rt.filter(oe=>oe.toasterId===m):rt.filter(oe=>!oe.toasterId),[rt,m]),on=ne.useMemo(()=>Array.from(new Set([S].concat(Ne.filter(oe=>oe.position).map(oe=>oe.position)))),[Ne,S]),[ge,Zt]=ne.useState([]),[Ze,xe]=ne.useState(!1),[gn,Vt]=ne.useState(!1),[U,J]=ne.useState(I!=="system"?I:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),ae=ne.useRef(null),be=z.join("+").replace(/Key/g,"").replace(/Digit/g,""),Se=ne.useRef(null),K=ne.useRef(!1),de=ne.useCallback(oe=>{Ct(re=>{var He;return(He=re.find(qt=>qt.id===oe.id))!=null&&He.delete||Ta.dismiss(oe.id),re.filter(({id:qt})=>qt!==oe.id)})},[]);return ne.useEffect(()=>Ta.subscribe(oe=>{if(oe.dismiss){requestAnimationFrame(()=>{Ct(re=>re.map(He=>He.id===oe.id?{...He,delete:!0}:He))});return}setTimeout(()=>{er.flushSync(()=>{Ct(re=>{const He=re.findIndex(qt=>qt.id===oe.id);return He!==-1?[...re.slice(0,He),{...re[He],...oe},...re.slice(He+1)]:[oe,...re]})})})}),[rt]),ne.useEffect(()=>{if(I!=="system"){J(I);return}if(I==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?J("dark"):J("light")),typeof window>"u")return;const oe=window.matchMedia("(prefers-color-scheme: dark)");try{oe.addEventListener("change",({matches:re})=>{J(re?"dark":"light")})}catch{oe.addListener(({matches:He})=>{try{J(He?"dark":"light")}catch(qt){console.error(qt)}})}},[I]),ne.useEffect(()=>{rt.length<=1&&xe(!1)},[rt]),ne.useEffect(()=>{const oe=re=>{var He;if(z.every(Ie=>re[Ie]||re.code===Ie)){var st;xe(!0),(st=ae.current)==null||st.focus()}re.code==="Escape"&&(document.activeElement===ae.current||(He=ae.current)!=null&&He.contains(document.activeElement))&&xe(!1)};return document.addEventListener("keydown",oe),()=>document.removeEventListener("keydown",oe)},[z]),ne.useEffect(()=>{if(ae.current)return()=>{Se.current&&(Se.current.focus({preventScroll:!0}),Se.current=null,K.current=!1)}},[ae.current]),ne.createElement("section",{ref:h,"aria-label":`${pn} ${be}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},on.map((oe,re)=>{var He;const[qt,st]=oe.split("-");return Ne.length?ne.createElement("ol",{key:oe,dir:un==="auto"?P2():un,tabIndex:-1,ref:ae,className:R,"data-sonner-toaster":!0,"data-sonner-theme":U,"data-y-position":qt,"data-x-position":st,style:{"--front-toast-height":`${((He=ge[0])==null?void 0:He.height)||0}px`,"--width":`${L4}px`,"--gap":`${ut}px`,...Ye,...K4(V,x)},onBlur:Ie=>{K.current&&!Ie.currentTarget.contains(Ie.relatedTarget)&&(K.current=!1,Se.current&&(Se.current.focus({preventScroll:!0}),Se.current=null))},onFocus:Ie=>{Ie.target instanceof HTMLElement&&Ie.target.dataset.dismissible==="false"||K.current||(K.current=!0,Se.current=Ie.relatedTarget)},onMouseEnter:()=>xe(!0),onMouseMove:()=>xe(!0),onMouseLeave:()=>{gn||xe(!1)},onDragEnd:()=>xe(!1),onPointerDown:Ie=>{Ie.target instanceof HTMLElement&&Ie.target.dataset.dismissible==="false"||Vt(!0)},onPointerUp:()=>Vt(!1)},Ne.filter(Ie=>!Ie.position&&re===0||Ie.position===oe).map((Ie,An)=>{var zu,fe;return ne.createElement(J4,{key:Ie.id,icons:_t,index:An,toast:Ie,defaultRichColors:le,duration:(zu=me?.duration)!=null?zu:ie,className:me?.className,descriptionClassName:me?.descriptionClassName,invert:v,visibleToasts:De,closeButton:(fe=me?.closeButton)!=null?fe:C,interacting:gn,position:oe,style:me?.style,unstyled:me?.unstyled,classNames:me?.classNames,cancelButtonStyle:me?.cancelButtonStyle,actionButtonStyle:me?.actionButtonStyle,closeButtonAriaLabel:me?.closeButtonAriaLabel,removeToast:de,toasts:Ne.filter(za=>za.position==Ie.position),heights:ge.filter(za=>za.position==Ie.position),setHeights:Zt,expandByDefault:_,gap:ut,expanded:Ze,swipeDirections:f.swipeDirections})})):null}))});var eS;function ue(r,f,h){function m(_,C){if(_._zod||Object.defineProperty(_,"_zod",{value:{def:C,constr:z,traits:new Set},enumerable:!1}),_._zod.traits.has(r))return;_._zod.traits.add(r),f(_,C);const R=z.prototype,V=Object.keys(R);for(let x=0;x<V.length;x++){const I=V[x];I in _||(_[I]=R[I].bind(_))}}const v=h?.Parent??Object;class S extends v{}Object.defineProperty(S,"name",{value:r});function z(_){var C;const R=h?.Parent?new S:this;m(R,_),(C=R._zod).deferred??(C.deferred=[]);for(const V of R._zod.deferred)V();return R}return Object.defineProperty(z,"init",{value:m}),Object.defineProperty(z,Symbol.hasInstance,{value:_=>h?.Parent&&_ instanceof h.Parent?!0:_?._zod?.traits?.has(r)}),Object.defineProperty(z,"name",{value:r}),z}class xd extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class tS extends Error{constructor(f){super(`Encountered unidirectional transform during encode: ${f}`),this.name="ZodEncodeError"}}(eS=globalThis).__zod_globalConfig??(eS.__zod_globalConfig={});const F4=globalThis.__zod_globalConfig;function ko(r){return F4}function Qv(r,f){return typeof f=="bigint"?f.toString():f}function $v(r){return r==null}function Jv(r){const f=r.startsWith("^")?1:0,h=r.endsWith("$")?r.length-1:r.length;return r.slice(f,h)}const nS=Symbol("evaluating");function Lt(r,f,h){let m;Object.defineProperty(r,f,{get(){if(m!==nS)return m===void 0&&(m=nS,m=h()),m},set(v){Object.defineProperty(r,f,{value:v})},configurable:!0})}function I4(...r){const f={};for(const h of r){const m=Object.getOwnPropertyDescriptors(h);Object.assign(f,m)}return Object.defineProperties({},f)}function P4(r){return r.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const lS="captureStackTrace"in Error?Error.captureStackTrace:(...r)=>{};function aS(r){return typeof r=="object"&&r!==null&&!Array.isArray(r)}function ay(r){if(aS(r)===!1)return!1;const f=r.constructor;if(f===void 0||typeof f!="function")return!0;const h=f.prototype;return!(aS(h)===!1||Object.prototype.hasOwnProperty.call(h,"isPrototypeOf")===!1)}function uS(r){return ay(r)?{...r}:Array.isArray(r)?[...r]:r instanceof Map?new Map(r):r instanceof Set?new Set(r):r}function Kv(r){return r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function eT(r,f,h){const m=new r._zod.constr(f??r._zod.def);return(!f||h?.parent)&&(m._zod.parent=r),m}function ke(r){const f=r;if(!f)return{};if(typeof f=="string")return{error:()=>f};if(f?.message!==void 0){if(f?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");f.error=f.message}return delete f.message,typeof f.error=="string"?{...f,error:()=>f.error}:f}function Rd(r,f=0){if(r.aborted===!0)return!0;for(let h=f;h<r.issues.length;h++)if(r.issues[h]?.continue!==!0)return!0;return!1}function tT(r,f=0){if(r.aborted===!0)return!0;for(let h=f;h<r.issues.length;h++)if(r.issues[h]?.continue===!1)return!0;return!1}function P0(r,f){return f.map(h=>{var m;return(m=h).path??(m.path=[]),h.path.unshift(r),h})}function uy(r){return typeof r=="string"?r:r?.message}function Go(r,f,h){const m=r.message?r.message:uy(r.inst?._zod.def?.error?.(r))??uy(f?.error?.(r))??uy(h.customError?.(r))??uy(h.localeError?.(r))??"Invalid input",{inst:v,continue:S,input:z,..._}=r;return _.path??(_.path=[]),_.message=m,f?.reportInput&&(_.input=z),_}function Wv(r){return Array.isArray(r)?"array":typeof r=="string"?"string":"unknown"}function em(...r){const[f,h,m]=r;return typeof f=="string"?{message:f,code:"custom",input:h,inst:m}:{...f}}const iS=(r,f)=>{r.name="$ZodError",Object.defineProperty(r,"_zod",{value:r._zod,enumerable:!1}),Object.defineProperty(r,"issues",{value:f,enumerable:!1}),r.message=JSON.stringify(f,Qv,2),Object.defineProperty(r,"toString",{value:()=>r.message,enumerable:!1})},oS=ue("$ZodError",iS),cS=ue("$ZodError",iS,{Parent:Error});function nT(r,f=h=>h.message){const h={},m=[];for(const v of r.issues)v.path.length>0?(h[v.path[0]]=h[v.path[0]]||[],h[v.path[0]].push(f(v))):m.push(f(v));return{formErrors:m,fieldErrors:h}}function lT(r,f=h=>h.message){const h={_errors:[]},m=(v,S=[])=>{for(const z of v.issues)if(z.code==="invalid_union"&&z.errors.length)z.errors.map(_=>m({issues:_},[...S,...z.path]));else if(z.code==="invalid_key")m({issues:z.issues},[...S,...z.path]);else if(z.code==="invalid_element")m({issues:z.issues},[...S,...z.path]);else{const _=[...S,...z.path];if(_.length===0)h._errors.push(f(z));else{let C=h,R=0;for(;R<_.length;){const V=_[R];R===_.length-1?(C[V]=C[V]||{_errors:[]},C[V]._errors.push(f(z))):C[V]=C[V]||{_errors:[]},C=C[V],R++}}}};return m(r),h}const Fv=r=>(f,h,m,v)=>{const S=m?{...m,async:!1}:{async:!1},z=f._zod.run({value:h,issues:[]},S);if(z instanceof Promise)throw new xd;if(z.issues.length){const _=new(v?.Err??r)(z.issues.map(C=>Go(C,S,ko())));throw lS(_,v?.callee),_}return z.value},Iv=r=>async(f,h,m,v)=>{const S=m?{...m,async:!0}:{async:!0};let z=f._zod.run({value:h,issues:[]},S);if(z instanceof Promise&&(z=await z),z.issues.length){const _=new(v?.Err??r)(z.issues.map(C=>Go(C,S,ko())));throw lS(_,v?.callee),_}return z.value},iy=r=>(f,h,m)=>{const v=m?{...m,async:!1}:{async:!1},S=f._zod.run({value:h,issues:[]},v);if(S instanceof Promise)throw new xd;return S.issues.length?{success:!1,error:new(r??oS)(S.issues.map(z=>Go(z,v,ko())))}:{success:!0,data:S.value}},aT=iy(cS),oy=r=>async(f,h,m)=>{const v=m?{...m,async:!0}:{async:!0};let S=f._zod.run({value:h,issues:[]},v);return S instanceof Promise&&(S=await S),S.issues.length?{success:!1,error:new r(S.issues.map(z=>Go(z,v,ko())))}:{success:!0,data:S.value}},uT=oy(cS),iT=r=>(f,h,m)=>{const v=m?{...m,direction:"backward"}:{direction:"backward"};return Fv(r)(f,h,v)},oT=r=>(f,h,m)=>Fv(r)(f,h,m),cT=r=>async(f,h,m)=>{const v=m?{...m,direction:"backward"}:{direction:"backward"};return Iv(r)(f,h,v)},rT=r=>async(f,h,m)=>Iv(r)(f,h,m),sT=r=>(f,h,m)=>{const v=m?{...m,direction:"backward"}:{direction:"backward"};return iy(r)(f,h,v)},fT=r=>(f,h,m)=>iy(r)(f,h,m),dT=r=>async(f,h,m)=>{const v=m?{...m,direction:"backward"}:{direction:"backward"};return oy(r)(f,h,v)},hT=r=>async(f,h,m)=>oy(r)(f,h,m),mT=/^[cC][0-9a-z]{6,}$/,pT=/^[0-9a-z]+$/,gT=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,yT=/^[0-9a-vA-V]{20}$/,vT=/^[A-Za-z0-9]{27}$/,bT=/^[a-zA-Z0-9_-]{21}$/,ST=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,TT=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,rS=r=>r?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${r}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,zT=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,ET="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function _T(){return new RegExp(ET,"u")}const AT=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,xT=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,RT=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,DT=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,OT=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,sS=/^[A-Za-z0-9_-]*$/,wT=/^https?$/,MT=/^\+[1-9]\d{6,14}$/,fS="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",CT=new RegExp(`^${fS}$`);function dS(r){const f="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof r.precision=="number"?r.precision===-1?`${f}`:r.precision===0?`${f}:[0-5]\\d`:`${f}:[0-5]\\d\\.\\d{${r.precision}}`:`${f}(?::[0-5]\\d(?:\\.\\d+)?)?`}function UT(r){return new RegExp(`^${dS(r)}$`)}function jT(r){const f=dS({precision:r.precision}),h=["Z"];r.local&&h.push(""),r.offset&&h.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const m=`${f}(?:${h.join("|")})`;return new RegExp(`^${fS}T(?:${m})$`)}const HT=r=>{const f=r?`[\\s\\S]{${r?.minimum??0},${r?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${f}$`)},NT=/^-?\d+(?:\.\d+)?$/,BT=/^[^A-Z]*$/,ZT=/^[^a-z]*$/,Ii=ue("$ZodCheck",(r,f)=>{var h;r._zod??(r._zod={}),r._zod.def=f,(h=r._zod).onattach??(h.onattach=[])}),qT=ue("$ZodCheckMaxLength",(r,f)=>{var h;Ii.init(r,f),(h=r._zod.def).when??(h.when=m=>{const v=m.value;return!$v(v)&&v.length!==void 0}),r._zod.onattach.push(m=>{const v=m._zod.bag.maximum??Number.POSITIVE_INFINITY;f.maximum<v&&(m._zod.bag.maximum=f.maximum)}),r._zod.check=m=>{const v=m.value;if(v.length<=f.maximum)return;const z=Wv(v);m.issues.push({origin:z,code:"too_big",maximum:f.maximum,inclusive:!0,input:v,inst:r,continue:!f.abort})}}),YT=ue("$ZodCheckMinLength",(r,f)=>{var h;Ii.init(r,f),(h=r._zod.def).when??(h.when=m=>{const v=m.value;return!$v(v)&&v.length!==void 0}),r._zod.onattach.push(m=>{const v=m._zod.bag.minimum??Number.NEGATIVE_INFINITY;f.minimum>v&&(m._zod.bag.minimum=f.minimum)}),r._zod.check=m=>{const v=m.value;if(v.length>=f.minimum)return;const z=Wv(v);m.issues.push({origin:z,code:"too_small",minimum:f.minimum,inclusive:!0,input:v,inst:r,continue:!f.abort})}}),kT=ue("$ZodCheckLengthEquals",(r,f)=>{var h;Ii.init(r,f),(h=r._zod.def).when??(h.when=m=>{const v=m.value;return!$v(v)&&v.length!==void 0}),r._zod.onattach.push(m=>{const v=m._zod.bag;v.minimum=f.length,v.maximum=f.length,v.length=f.length}),r._zod.check=m=>{const v=m.value,S=v.length;if(S===f.length)return;const z=Wv(v),_=S>f.length;m.issues.push({origin:z,..._?{code:"too_big",maximum:f.length}:{code:"too_small",minimum:f.length},inclusive:!0,exact:!0,input:m.value,inst:r,continue:!f.abort})}}),cy=ue("$ZodCheckStringFormat",(r,f)=>{var h,m;Ii.init(r,f),r._zod.onattach.push(v=>{const S=v._zod.bag;S.format=f.format,f.pattern&&(S.patterns??(S.patterns=new Set),S.patterns.add(f.pattern))}),f.pattern?(h=r._zod).check??(h.check=v=>{f.pattern.lastIndex=0,!f.pattern.test(v.value)&&v.issues.push({origin:"string",code:"invalid_format",format:f.format,input:v.value,...f.pattern?{pattern:f.pattern.toString()}:{},inst:r,continue:!f.abort})}):(m=r._zod).check??(m.check=()=>{})}),GT=ue("$ZodCheckRegex",(r,f)=>{cy.init(r,f),r._zod.check=h=>{f.pattern.lastIndex=0,!f.pattern.test(h.value)&&h.issues.push({origin:"string",code:"invalid_format",format:"regex",input:h.value,pattern:f.pattern.toString(),inst:r,continue:!f.abort})}}),LT=ue("$ZodCheckLowerCase",(r,f)=>{f.pattern??(f.pattern=BT),cy.init(r,f)}),VT=ue("$ZodCheckUpperCase",(r,f)=>{f.pattern??(f.pattern=ZT),cy.init(r,f)}),XT=ue("$ZodCheckIncludes",(r,f)=>{Ii.init(r,f);const h=Kv(f.includes),m=new RegExp(typeof f.position=="number"?`^.{${f.position}}${h}`:h);f.pattern=m,r._zod.onattach.push(v=>{const S=v._zod.bag;S.patterns??(S.patterns=new Set),S.patterns.add(m)}),r._zod.check=v=>{v.value.includes(f.includes,f.position)||v.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:f.includes,input:v.value,inst:r,continue:!f.abort})}}),QT=ue("$ZodCheckStartsWith",(r,f)=>{Ii.init(r,f);const h=new RegExp(`^${Kv(f.prefix)}.*`);f.pattern??(f.pattern=h),r._zod.onattach.push(m=>{const v=m._zod.bag;v.patterns??(v.patterns=new Set),v.patterns.add(h)}),r._zod.check=m=>{m.value.startsWith(f.prefix)||m.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:f.prefix,input:m.value,inst:r,continue:!f.abort})}}),$T=ue("$ZodCheckEndsWith",(r,f)=>{Ii.init(r,f);const h=new RegExp(`.*${Kv(f.suffix)}$`);f.pattern??(f.pattern=h),r._zod.onattach.push(m=>{const v=m._zod.bag;v.patterns??(v.patterns=new Set),v.patterns.add(h)}),r._zod.check=m=>{m.value.endsWith(f.suffix)||m.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:f.suffix,input:m.value,inst:r,continue:!f.abort})}}),JT=ue("$ZodCheckOverwrite",(r,f)=>{Ii.init(r,f),r._zod.check=h=>{h.value=f.tx(h.value)}}),KT={major:4,minor:4,patch:3},Nl=ue("$ZodType",(r,f)=>{var h;r??(r={}),r._zod.def=f,r._zod.bag=r._zod.bag||{},r._zod.version=KT;const m=[...r._zod.def.checks??[]];r._zod.traits.has("$ZodCheck")&&m.unshift(r);for(const v of m)for(const S of v._zod.onattach)S(r);if(m.length===0)(h=r._zod).deferred??(h.deferred=[]),r._zod.deferred?.push(()=>{r._zod.run=r._zod.parse});else{const v=(z,_,C)=>{let R=Rd(z),V;for(const x of _){if(x._zod.def.when){if(tT(z)||!x._zod.def.when(z))continue}else if(R)continue;const I=z.issues.length,le=x._zod.check(z);if(le instanceof Promise&&C?.async===!1)throw new xd;if(V||le instanceof Promise)V=(V??Promise.resolve()).then(async()=>{await le,z.issues.length!==I&&(R||(R=Rd(z,I)))});else{if(z.issues.length===I)continue;R||(R=Rd(z,I))}}return V?V.then(()=>z):z},S=(z,_,C)=>{if(Rd(z))return z.aborted=!0,z;const R=v(_,m,C);if(R instanceof Promise){if(C.async===!1)throw new xd;return R.then(V=>r._zod.parse(V,C))}return r._zod.parse(R,C)};r._zod.run=(z,_)=>{if(_.skipChecks)return r._zod.parse(z,_);if(_.direction==="backward"){const R=r._zod.parse({value:z.value,issues:[]},{..._,skipChecks:!0});return R instanceof Promise?R.then(V=>S(V,z,_)):S(R,z,_)}const C=r._zod.parse(z,_);if(C instanceof Promise){if(_.async===!1)throw new xd;return C.then(R=>v(R,m,_))}return v(C,m,_)}}Lt(r,"~standard",()=>({validate:v=>{try{const S=aT(r,v);return S.success?{value:S.data}:{issues:S.error?.issues}}catch{return uT(r,v).then(z=>z.success?{value:z.data}:{issues:z.error?.issues})}},vendor:"zod",version:1}))}),Pv=ue("$ZodString",(r,f)=>{Nl.init(r,f),r._zod.pattern=[...r?._zod.bag?.patterns??[]].pop()??HT(r._zod.bag),r._zod.parse=(h,m)=>{if(f.coerce)try{h.value=String(h.value)}catch{}return typeof h.value=="string"||h.issues.push({expected:"string",code:"invalid_type",input:h.value,inst:r}),h}}),an=ue("$ZodStringFormat",(r,f)=>{cy.init(r,f),Pv.init(r,f)}),WT=ue("$ZodGUID",(r,f)=>{f.pattern??(f.pattern=TT),an.init(r,f)}),FT=ue("$ZodUUID",(r,f)=>{if(f.version){const m={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[f.version];if(m===void 0)throw new Error(`Invalid UUID version: "${f.version}"`);f.pattern??(f.pattern=rS(m))}else f.pattern??(f.pattern=rS());an.init(r,f)}),IT=ue("$ZodEmail",(r,f)=>{f.pattern??(f.pattern=zT),an.init(r,f)}),PT=ue("$ZodURL",(r,f)=>{an.init(r,f),r._zod.check=h=>{try{const m=h.value.trim();if(!f.normalize&&f.protocol?.source===wT.source&&!/^https?:\/\//i.test(m)){h.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:h.value,inst:r,continue:!f.abort});return}const v=new URL(m);f.hostname&&(f.hostname.lastIndex=0,f.hostname.test(v.hostname)||h.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:f.hostname.source,input:h.value,inst:r,continue:!f.abort})),f.protocol&&(f.protocol.lastIndex=0,f.protocol.test(v.protocol.endsWith(":")?v.protocol.slice(0,-1):v.protocol)||h.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:f.protocol.source,input:h.value,inst:r,continue:!f.abort})),f.normalize?h.value=v.href:h.value=m;return}catch{h.issues.push({code:"invalid_format",format:"url",input:h.value,inst:r,continue:!f.abort})}}}),e6=ue("$ZodEmoji",(r,f)=>{f.pattern??(f.pattern=_T()),an.init(r,f)}),t6=ue("$ZodNanoID",(r,f)=>{f.pattern??(f.pattern=bT),an.init(r,f)}),n6=ue("$ZodCUID",(r,f)=>{f.pattern??(f.pattern=mT),an.init(r,f)}),l6=ue("$ZodCUID2",(r,f)=>{f.pattern??(f.pattern=pT),an.init(r,f)}),a6=ue("$ZodULID",(r,f)=>{f.pattern??(f.pattern=gT),an.init(r,f)}),u6=ue("$ZodXID",(r,f)=>{f.pattern??(f.pattern=yT),an.init(r,f)}),i6=ue("$ZodKSUID",(r,f)=>{f.pattern??(f.pattern=vT),an.init(r,f)}),o6=ue("$ZodISODateTime",(r,f)=>{f.pattern??(f.pattern=jT(f)),an.init(r,f)}),c6=ue("$ZodISODate",(r,f)=>{f.pattern??(f.pattern=CT),an.init(r,f)}),r6=ue("$ZodISOTime",(r,f)=>{f.pattern??(f.pattern=UT(f)),an.init(r,f)}),s6=ue("$ZodISODuration",(r,f)=>{f.pattern??(f.pattern=ST),an.init(r,f)}),f6=ue("$ZodIPv4",(r,f)=>{f.pattern??(f.pattern=AT),an.init(r,f),r._zod.bag.format="ipv4"}),d6=ue("$ZodIPv6",(r,f)=>{f.pattern??(f.pattern=xT),an.init(r,f),r._zod.bag.format="ipv6",r._zod.check=h=>{try{new URL(`http://[${h.value}]`)}catch{h.issues.push({code:"invalid_format",format:"ipv6",input:h.value,inst:r,continue:!f.abort})}}}),h6=ue("$ZodCIDRv4",(r,f)=>{f.pattern??(f.pattern=RT),an.init(r,f)}),m6=ue("$ZodCIDRv6",(r,f)=>{f.pattern??(f.pattern=DT),an.init(r,f),r._zod.check=h=>{const m=h.value.split("/");try{if(m.length!==2)throw new Error;const[v,S]=m;if(!S)throw new Error;const z=Number(S);if(`${z}`!==S)throw new Error;if(z<0||z>128)throw new Error;new URL(`http://[${v}]`)}catch{h.issues.push({code:"invalid_format",format:"cidrv6",input:h.value,inst:r,continue:!f.abort})}}});function hS(r){if(r==="")return!0;if(/\s/.test(r)||r.length%4!==0)return!1;try{return atob(r),!0}catch{return!1}}const p6=ue("$ZodBase64",(r,f)=>{f.pattern??(f.pattern=OT),an.init(r,f),r._zod.bag.contentEncoding="base64",r._zod.check=h=>{hS(h.value)||h.issues.push({code:"invalid_format",format:"base64",input:h.value,inst:r,continue:!f.abort})}});function g6(r){if(!sS.test(r))return!1;const f=r.replace(/[-_]/g,m=>m==="-"?"+":"/"),h=f.padEnd(Math.ceil(f.length/4)*4,"=");return hS(h)}const y6=ue("$ZodBase64URL",(r,f)=>{f.pattern??(f.pattern=sS),an.init(r,f),r._zod.bag.contentEncoding="base64url",r._zod.check=h=>{g6(h.value)||h.issues.push({code:"invalid_format",format:"base64url",input:h.value,inst:r,continue:!f.abort})}}),v6=ue("$ZodE164",(r,f)=>{f.pattern??(f.pattern=MT),an.init(r,f)});function b6(r,f=null){try{const h=r.split(".");if(h.length!==3)return!1;const[m]=h;if(!m)return!1;const v=JSON.parse(atob(m));return!("typ"in v&&v?.typ!=="JWT"||!v.alg||f&&(!("alg"in v)||v.alg!==f))}catch{return!1}}const S6=ue("$ZodJWT",(r,f)=>{an.init(r,f),r._zod.check=h=>{b6(h.value,f.alg)||h.issues.push({code:"invalid_format",format:"jwt",input:h.value,inst:r,continue:!f.abort})}});function mS(r,f,h){r.issues.length&&f.issues.push(...P0(h,r.issues)),f.value[h]=r.value}const T6=ue("$ZodArray",(r,f)=>{Nl.init(r,f),r._zod.parse=(h,m)=>{const v=h.value;if(!Array.isArray(v))return h.issues.push({expected:"array",code:"invalid_type",input:v,inst:r}),h;h.value=Array(v.length);const S=[];for(let z=0;z<v.length;z++){const _=v[z],C=f.element._zod.run({value:_,issues:[]},m);C instanceof Promise?S.push(C.then(R=>mS(R,h,z))):mS(C,h,z)}return S.length?Promise.all(S).then(()=>h):h}});function pS(r,f,h,m){for(const S of r)if(S.issues.length===0)return f.value=S.value,f;const v=r.filter(S=>!Rd(S));return v.length===1?(f.value=v[0].value,v[0]):(f.issues.push({code:"invalid_union",input:f.value,inst:h,errors:r.map(S=>S.issues.map(z=>Go(z,m,ko())))}),f)}const z6=ue("$ZodUnion",(r,f)=>{Nl.init(r,f),Lt(r._zod,"optin",()=>f.options.some(m=>m._zod.optin==="optional")?"optional":void 0),Lt(r._zod,"optout",()=>f.options.some(m=>m._zod.optout==="optional")?"optional":void 0),Lt(r._zod,"values",()=>{if(f.options.every(m=>m._zod.values))return new Set(f.options.flatMap(m=>Array.from(m._zod.values)))}),Lt(r._zod,"pattern",()=>{if(f.options.every(m=>m._zod.pattern)){const m=f.options.map(v=>v._zod.pattern);return new RegExp(`^(${m.map(v=>Jv(v.source)).join("|")})$`)}});const h=f.options.length===1?f.options[0]._zod.run:null;r._zod.parse=(m,v)=>{if(h)return h(m,v);let S=!1;const z=[];for(const _ of f.options){const C=_._zod.run({value:m.value,issues:[]},v);if(C instanceof Promise)z.push(C),S=!0;else{if(C.issues.length===0)return C;z.push(C)}}return S?Promise.all(z).then(_=>pS(_,m,r,v)):pS(z,m,r,v)}}),E6=ue("$ZodIntersection",(r,f)=>{Nl.init(r,f),r._zod.parse=(h,m)=>{const v=h.value,S=f.left._zod.run({value:v,issues:[]},m),z=f.right._zod.run({value:v,issues:[]},m);return S instanceof Promise||z instanceof Promise?Promise.all([S,z]).then(([C,R])=>gS(h,C,R)):gS(h,S,z)}});function eb(r,f){if(r===f)return{valid:!0,data:r};if(r instanceof Date&&f instanceof Date&&+r==+f)return{valid:!0,data:r};if(ay(r)&&ay(f)){const h=Object.keys(f),m=Object.keys(r).filter(S=>h.indexOf(S)!==-1),v={...r,...f};for(const S of m){const z=eb(r[S],f[S]);if(!z.valid)return{valid:!1,mergeErrorPath:[S,...z.mergeErrorPath]};v[S]=z.data}return{valid:!0,data:v}}if(Array.isArray(r)&&Array.isArray(f)){if(r.length!==f.length)return{valid:!1,mergeErrorPath:[]};const h=[];for(let m=0;m<r.length;m++){const v=r[m],S=f[m],z=eb(v,S);if(!z.valid)return{valid:!1,mergeErrorPath:[m,...z.mergeErrorPath]};h.push(z.data)}return{valid:!0,data:h}}return{valid:!1,mergeErrorPath:[]}}function gS(r,f,h){const m=new Map;let v;for(const _ of f.issues)if(_.code==="unrecognized_keys"){v??(v=_);for(const C of _.keys)m.has(C)||m.set(C,{}),m.get(C).l=!0}else r.issues.push(_);for(const _ of h.issues)if(_.code==="unrecognized_keys")for(const C of _.keys)m.has(C)||m.set(C,{}),m.get(C).r=!0;else r.issues.push(_);const S=[...m].filter(([,_])=>_.l&&_.r).map(([_])=>_);if(S.length&&v&&r.issues.push({...v,keys:S}),Rd(r))return r;const z=eb(f.value,h.value);if(!z.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(z.mergeErrorPath)}`);return r.value=z.data,r}const _6=ue("$ZodRecord",(r,f)=>{Nl.init(r,f),r._zod.parse=(h,m)=>{const v=h.value;if(!ay(v))return h.issues.push({expected:"record",code:"invalid_type",input:v,inst:r}),h;const S=[],z=f.keyType._zod.values;if(z){h.value={};const _=new Set;for(const R of z)if(typeof R=="string"||typeof R=="number"||typeof R=="symbol"){_.add(typeof R=="number"?R.toString():R);const V=f.keyType._zod.run({value:R,issues:[]},m);if(V instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(V.issues.length){h.issues.push({code:"invalid_key",origin:"record",issues:V.issues.map(le=>Go(le,m,ko())),input:R,path:[R],inst:r});continue}const x=V.value,I=f.valueType._zod.run({value:v[R],issues:[]},m);I instanceof Promise?S.push(I.then(le=>{le.issues.length&&h.issues.push(...P0(R,le.issues)),h.value[x]=le.value})):(I.issues.length&&h.issues.push(...P0(R,I.issues)),h.value[x]=I.value)}let C;for(const R in v)_.has(R)||(C=C??[],C.push(R));C&&C.length>0&&h.issues.push({code:"unrecognized_keys",input:v,inst:r,keys:C})}else{h.value={};for(const _ of Reflect.ownKeys(v)){if(_==="__proto__"||!Object.prototype.propertyIsEnumerable.call(v,_))continue;let C=f.keyType._zod.run({value:_,issues:[]},m);if(C instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof _=="string"&&NT.test(_)&&C.issues.length){const x=f.keyType._zod.run({value:Number(_),issues:[]},m);if(x instanceof Promise)throw new Error("Async schemas not supported in object keys currently");x.issues.length===0&&(C=x)}if(C.issues.length){f.mode==="loose"?h.value[_]=v[_]:h.issues.push({code:"invalid_key",origin:"record",issues:C.issues.map(x=>Go(x,m,ko())),input:_,path:[_],inst:r});continue}const V=f.valueType._zod.run({value:v[_],issues:[]},m);V instanceof Promise?S.push(V.then(x=>{x.issues.length&&h.issues.push(...P0(_,x.issues)),h.value[C.value]=x.value})):(V.issues.length&&h.issues.push(...P0(_,V.issues)),h.value[C.value]=V.value)}}return S.length?Promise.all(S).then(()=>h):h}}),A6=ue("$ZodTransform",(r,f)=>{Nl.init(r,f),r._zod.optin="optional",r._zod.parse=(h,m)=>{if(m.direction==="backward")throw new tS(r.constructor.name);const v=f.transform(h.value,h);if(m.async)return(v instanceof Promise?v:Promise.resolve(v)).then(z=>(h.value=z,h.fallback=!0,h));if(v instanceof Promise)throw new xd;return h.value=v,h.fallback=!0,h}});function yS(r,f){return f===void 0&&(r.issues.length||r.fallback)?{issues:[],value:void 0}:r}const vS=ue("$ZodOptional",(r,f)=>{Nl.init(r,f),r._zod.optin="optional",r._zod.optout="optional",Lt(r._zod,"values",()=>f.innerType._zod.values?new Set([...f.innerType._zod.values,void 0]):void 0),Lt(r._zod,"pattern",()=>{const h=f.innerType._zod.pattern;return h?new RegExp(`^(${Jv(h.source)})?$`):void 0}),r._zod.parse=(h,m)=>{if(f.innerType._zod.optin==="optional"){const v=h.value,S=f.innerType._zod.run(h,m);return S instanceof Promise?S.then(z=>yS(z,v)):yS(S,v)}return h.value===void 0?h:f.innerType._zod.run(h,m)}}),x6=ue("$ZodExactOptional",(r,f)=>{vS.init(r,f),Lt(r._zod,"values",()=>f.innerType._zod.values),Lt(r._zod,"pattern",()=>f.innerType._zod.pattern),r._zod.parse=(h,m)=>f.innerType._zod.run(h,m)}),R6=ue("$ZodNullable",(r,f)=>{Nl.init(r,f),Lt(r._zod,"optin",()=>f.innerType._zod.optin),Lt(r._zod,"optout",()=>f.innerType._zod.optout),Lt(r._zod,"pattern",()=>{const h=f.innerType._zod.pattern;return h?new RegExp(`^(${Jv(h.source)}|null)$`):void 0}),Lt(r._zod,"values",()=>f.innerType._zod.values?new Set([...f.innerType._zod.values,null]):void 0),r._zod.parse=(h,m)=>h.value===null?h:f.innerType._zod.run(h,m)}),D6=ue("$ZodDefault",(r,f)=>{Nl.init(r,f),r._zod.optin="optional",Lt(r._zod,"values",()=>f.innerType._zod.values),r._zod.parse=(h,m)=>{if(m.direction==="backward")return f.innerType._zod.run(h,m);if(h.value===void 0)return h.value=f.defaultValue,h;const v=f.innerType._zod.run(h,m);return v instanceof Promise?v.then(S=>bS(S,f)):bS(v,f)}});function bS(r,f){return r.value===void 0&&(r.value=f.defaultValue),r}const O6=ue("$ZodPrefault",(r,f)=>{Nl.init(r,f),r._zod.optin="optional",Lt(r._zod,"values",()=>f.innerType._zod.values),r._zod.parse=(h,m)=>(m.direction==="backward"||h.value===void 0&&(h.value=f.defaultValue),f.innerType._zod.run(h,m))}),w6=ue("$ZodNonOptional",(r,f)=>{Nl.init(r,f),Lt(r._zod,"values",()=>{const h=f.innerType._zod.values;return h?new Set([...h].filter(m=>m!==void 0)):void 0}),r._zod.parse=(h,m)=>{const v=f.innerType._zod.run(h,m);return v instanceof Promise?v.then(S=>SS(S,r)):SS(v,r)}});function SS(r,f){return!r.issues.length&&r.value===void 0&&r.issues.push({code:"invalid_type",expected:"nonoptional",input:r.value,inst:f}),r}const M6=ue("$ZodCatch",(r,f)=>{Nl.init(r,f),r._zod.optin="optional",Lt(r._zod,"optout",()=>f.innerType._zod.optout),Lt(r._zod,"values",()=>f.innerType._zod.values),r._zod.parse=(h,m)=>{if(m.direction==="backward")return f.innerType._zod.run(h,m);const v=f.innerType._zod.run(h,m);return v instanceof Promise?v.then(S=>(h.value=S.value,S.issues.length&&(h.value=f.catchValue({...h,error:{issues:S.issues.map(z=>Go(z,m,ko()))},input:h.value}),h.issues=[],h.fallback=!0),h)):(h.value=v.value,v.issues.length&&(h.value=f.catchValue({...h,error:{issues:v.issues.map(S=>Go(S,m,ko()))},input:h.value}),h.issues=[],h.fallback=!0),h)}}),C6=ue("$ZodPipe",(r,f)=>{Nl.init(r,f),Lt(r._zod,"values",()=>f.in._zod.values),Lt(r._zod,"optin",()=>f.in._zod.optin),Lt(r._zod,"optout",()=>f.out._zod.optout),Lt(r._zod,"propValues",()=>f.in._zod.propValues),r._zod.parse=(h,m)=>{if(m.direction==="backward"){const S=f.out._zod.run(h,m);return S instanceof Promise?S.then(z=>ry(z,f.in,m)):ry(S,f.in,m)}const v=f.in._zod.run(h,m);return v instanceof Promise?v.then(S=>ry(S,f.out,m)):ry(v,f.out,m)}});function ry(r,f,h){return r.issues.length?(r.aborted=!0,r):f._zod.run({value:r.value,issues:r.issues,fallback:r.fallback},h)}const U6=ue("$ZodReadonly",(r,f)=>{Nl.init(r,f),Lt(r._zod,"propValues",()=>f.innerType._zod.propValues),Lt(r._zod,"values",()=>f.innerType._zod.values),Lt(r._zod,"optin",()=>f.innerType?._zod?.optin),Lt(r._zod,"optout",()=>f.innerType?._zod?.optout),r._zod.parse=(h,m)=>{if(m.direction==="backward")return f.innerType._zod.run(h,m);const v=f.innerType._zod.run(h,m);return v instanceof Promise?v.then(TS):TS(v)}});function TS(r){return r.value=Object.freeze(r.value),r}const j6=ue("$ZodCustom",(r,f)=>{Ii.init(r,f),Nl.init(r,f),r._zod.parse=(h,m)=>h,r._zod.check=h=>{const m=h.value,v=f.fn(m);if(v instanceof Promise)return v.then(S=>zS(S,h,m,r));zS(v,h,m,r)}});function zS(r,f,h,m){if(!r){const v={code:"custom",input:h,inst:m,path:[...m._zod.def.path??[]],continue:!m._zod.def.abort};m._zod.def.params&&(v.params=m._zod.def.params),f.issues.push(em(v))}}var ES;class H6{constructor(){this._map=new WeakMap,this._idmap=new Map}add(f,...h){const m=h[0];return this._map.set(f,m),m&&typeof m=="object"&&"id"in m&&this._idmap.set(m.id,f),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(f){const h=this._map.get(f);return h&&typeof h=="object"&&"id"in h&&this._idmap.delete(h.id),this._map.delete(f),this}get(f){const h=f._zod.parent;if(h){const m={...this.get(h)??{}};delete m.id;const v={...m,...this._map.get(f)};return Object.keys(v).length?v:void 0}return this._map.get(f)}has(f){return this._map.has(f)}}function N6(){return new H6}(ES=globalThis).__zod_globalRegistry??(ES.__zod_globalRegistry=N6());const tm=globalThis.__zod_globalRegistry;function B6(r,f){return new r({type:"string",...ke(f)})}function Z6(r,f){return new r({type:"string",format:"email",check:"string_format",abort:!1,...ke(f)})}function _S(r,f){return new r({type:"string",format:"guid",check:"string_format",abort:!1,...ke(f)})}function q6(r,f){return new r({type:"string",format:"uuid",check:"string_format",abort:!1,...ke(f)})}function Y6(r,f){return new r({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...ke(f)})}function k6(r,f){return new r({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...ke(f)})}function G6(r,f){return new r({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...ke(f)})}function L6(r,f){return new r({type:"string",format:"url",check:"string_format",abort:!1,...ke(f)})}function V6(r,f){return new r({type:"string",format:"emoji",check:"string_format",abort:!1,...ke(f)})}function X6(r,f){return new r({type:"string",format:"nanoid",check:"string_format",abort:!1,...ke(f)})}function Q6(r,f){return new r({type:"string",format:"cuid",check:"string_format",abort:!1,...ke(f)})}function $6(r,f){return new r({type:"string",format:"cuid2",check:"string_format",abort:!1,...ke(f)})}function J6(r,f){return new r({type:"string",format:"ulid",check:"string_format",abort:!1,...ke(f)})}function K6(r,f){return new r({type:"string",format:"xid",check:"string_format",abort:!1,...ke(f)})}function W6(r,f){return new r({type:"string",format:"ksuid",check:"string_format",abort:!1,...ke(f)})}function F6(r,f){return new r({type:"string",format:"ipv4",check:"string_format",abort:!1,...ke(f)})}function I6(r,f){return new r({type:"string",format:"ipv6",check:"string_format",abort:!1,...ke(f)})}function P6(r,f){return new r({type:"string",format:"cidrv4",check:"string_format",abort:!1,...ke(f)})}function ez(r,f){return new r({type:"string",format:"cidrv6",check:"string_format",abort:!1,...ke(f)})}function tz(r,f){return new r({type:"string",format:"base64",check:"string_format",abort:!1,...ke(f)})}function nz(r,f){return new r({type:"string",format:"base64url",check:"string_format",abort:!1,...ke(f)})}function lz(r,f){return new r({type:"string",format:"e164",check:"string_format",abort:!1,...ke(f)})}function az(r,f){return new r({type:"string",format:"jwt",check:"string_format",abort:!1,...ke(f)})}function uz(r,f){return new r({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...ke(f)})}function iz(r,f){return new r({type:"string",format:"date",check:"string_format",...ke(f)})}function oz(r,f){return new r({type:"string",format:"time",check:"string_format",precision:null,...ke(f)})}function cz(r,f){return new r({type:"string",format:"duration",check:"string_format",...ke(f)})}function AS(r,f){return new qT({check:"max_length",...ke(f),maximum:r})}function sy(r,f){return new YT({check:"min_length",...ke(f),minimum:r})}function xS(r,f){return new kT({check:"length_equals",...ke(f),length:r})}function rz(r,f){return new GT({check:"string_format",format:"regex",...ke(f),pattern:r})}function sz(r){return new LT({check:"string_format",format:"lowercase",...ke(r)})}function fz(r){return new VT({check:"string_format",format:"uppercase",...ke(r)})}function dz(r,f){return new XT({check:"string_format",format:"includes",...ke(f),includes:r})}function hz(r,f){return new QT({check:"string_format",format:"starts_with",...ke(f),prefix:r})}function mz(r,f){return new $T({check:"string_format",format:"ends_with",...ke(f),suffix:r})}function Dd(r){return new JT({check:"overwrite",tx:r})}function pz(r){return Dd(f=>f.normalize(r))}function gz(){return Dd(r=>r.trim())}function yz(){return Dd(r=>r.toLowerCase())}function vz(){return Dd(r=>r.toUpperCase())}function bz(){return Dd(r=>P4(r))}function Sz(r,f,h){return new r({type:"array",element:f,...ke(h)})}function Tz(r,f,h){return new r({type:"custom",check:"custom",fn:f,...ke(h)})}function zz(r,f){const h=Ez(m=>(m.addIssue=v=>{if(typeof v=="string")m.issues.push(em(v,m.value,h._zod.def));else{const S=v;S.fatal&&(S.continue=!1),S.code??(S.code="custom"),S.input??(S.input=m.value),S.inst??(S.inst=h),S.continue??(S.continue=!h._zod.def.abort),m.issues.push(em(S))}},r(m.value,m)),f);return h}function Ez(r,f){const h=new Ii({check:"custom",...ke(f)});return h._zod.check=r,h}function RS(r){let f=r?.target??"draft-2020-12";return f==="draft-4"&&(f="draft-04"),f==="draft-7"&&(f="draft-07"),{processors:r.processors??{},metadataRegistry:r?.metadata??tm,target:f,unrepresentable:r?.unrepresentable??"throw",override:r?.override??(()=>{}),io:r?.io??"output",counter:0,seen:new Map,cycles:r?.cycles??"ref",reused:r?.reused??"inline",external:r?.external??void 0}}function ol(r,f,h={path:[],schemaPath:[]}){var m;const v=r._zod.def,S=f.seen.get(r);if(S)return S.count++,h.schemaPath.includes(r)&&(S.cycle=h.path),S.schema;const z={schema:{},count:1,cycle:void 0,path:h.path};f.seen.set(r,z);const _=r._zod.toJSONSchema?.();if(_)z.schema=_;else{const V={...h,schemaPath:[...h.schemaPath,r],path:h.path};if(r._zod.processJSONSchema)r._zod.processJSONSchema(f,z.schema,V);else{const I=z.schema,le=f.processors[v.type];if(!le)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${v.type}`);le(r,f,I,V)}const x=r._zod.parent;x&&(z.ref||(z.ref=x),ol(x,f,V),f.seen.get(x).isParent=!0)}const C=f.metadataRegistry.get(r);return C&&Object.assign(z.schema,C),f.io==="input"&&Kl(r)&&(delete z.schema.examples,delete z.schema.default),f.io==="input"&&"_prefault"in z.schema&&((m=z.schema).default??(m.default=z.schema._prefault)),delete z.schema._prefault,f.seen.get(r).schema}function DS(r,f){const h=r.seen.get(f);if(!h)throw new Error("Unprocessed schema. This is a bug in Zod.");const m=new Map;for(const z of r.seen.entries()){const _=r.metadataRegistry.get(z[0])?.id;if(_){const C=m.get(_);if(C&&C!==z[0])throw new Error(`Duplicate schema id "${_}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);m.set(_,z[0])}}const v=z=>{const _=r.target==="draft-2020-12"?"$defs":"definitions";if(r.external){const x=r.external.registry.get(z[0])?.id,I=r.external.uri??(ie=>ie);if(x)return{ref:I(x)};const le=z[1].defId??z[1].schema.id??`schema${r.counter++}`;return z[1].defId=le,{defId:le,ref:`${I("__shared")}#/${_}/${le}`}}if(z[1]===h)return{ref:"#"};const R=`#/${_}/`,V=z[1].schema.id??`__schema${r.counter++}`;return{defId:V,ref:R+V}},S=z=>{if(z[1].schema.$ref)return;const _=z[1],{ref:C,defId:R}=v(z);_.def={..._.schema},R&&(_.defId=R);const V=_.schema;for(const x in V)delete V[x];V.$ref=C};if(r.cycles==="throw")for(const z of r.seen.entries()){const _=z[1];if(_.cycle)throw new Error(`Cycle detected: #/${_.cycle?.join("/")}/<root>
|
|
228
|
+
|
|
229
|
+
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const z of r.seen.entries()){const _=z[1];if(f===z[0]){S(z);continue}if(r.external){const R=r.external.registry.get(z[0])?.id;if(f!==z[0]&&R){S(z);continue}}if(r.metadataRegistry.get(z[0])?.id){S(z);continue}if(_.cycle){S(z);continue}if(_.count>1&&r.reused==="ref"){S(z);continue}}}function OS(r,f){const h=r.seen.get(f);if(!h)throw new Error("Unprocessed schema. This is a bug in Zod.");const m=_=>{const C=r.seen.get(_);if(C.ref===null)return;const R=C.def??C.schema,V={...R},x=C.ref;if(C.ref=null,x){m(x);const le=r.seen.get(x),ie=le.schema;if(ie.$ref&&(r.target==="draft-07"||r.target==="draft-04"||r.target==="openapi-3.0")?(R.allOf=R.allOf??[],R.allOf.push(ie)):Object.assign(R,ie),Object.assign(R,V),_._zod.parent===x)for(const De in R)De==="$ref"||De==="allOf"||De in V||delete R[De];if(ie.$ref&&le.def)for(const De in R)De==="$ref"||De==="allOf"||De in le.def&&JSON.stringify(R[De])===JSON.stringify(le.def[De])&&delete R[De]}const I=_._zod.parent;if(I&&I!==x){m(I);const le=r.seen.get(I);if(le?.schema.$ref&&(R.$ref=le.schema.$ref,le.def))for(const ie in R)ie==="$ref"||ie==="allOf"||ie in le.def&&JSON.stringify(R[ie])===JSON.stringify(le.def[ie])&&delete R[ie]}r.override({zodSchema:_,jsonSchema:R,path:C.path??[]})};for(const _ of[...r.seen.entries()].reverse())m(_[0]);const v={};if(r.target==="draft-2020-12"?v.$schema="https://json-schema.org/draft/2020-12/schema":r.target==="draft-07"?v.$schema="http://json-schema.org/draft-07/schema#":r.target==="draft-04"?v.$schema="http://json-schema.org/draft-04/schema#":r.target,r.external?.uri){const _=r.external.registry.get(f)?.id;if(!_)throw new Error("Schema is missing an `id` property");v.$id=r.external.uri(_)}Object.assign(v,h.def??h.schema);const S=r.metadataRegistry.get(f)?.id;S!==void 0&&v.id===S&&delete v.id;const z=r.external?.defs??{};for(const _ of r.seen.entries()){const C=_[1];C.def&&C.defId&&(C.def.id===C.defId&&delete C.def.id,z[C.defId]=C.def)}r.external||Object.keys(z).length>0&&(r.target==="draft-2020-12"?v.$defs=z:v.definitions=z);try{const _=JSON.parse(JSON.stringify(v));return Object.defineProperty(_,"~standard",{value:{...f["~standard"],jsonSchema:{input:fy(f,"input",r.processors),output:fy(f,"output",r.processors)}},enumerable:!1,writable:!1}),_}catch{throw new Error("Error converting schema to JSON.")}}function Kl(r,f){const h=f??{seen:new Set};if(h.seen.has(r))return!1;h.seen.add(r);const m=r._zod.def;if(m.type==="transform")return!0;if(m.type==="array")return Kl(m.element,h);if(m.type==="set")return Kl(m.valueType,h);if(m.type==="lazy")return Kl(m.getter(),h);if(m.type==="promise"||m.type==="optional"||m.type==="nonoptional"||m.type==="nullable"||m.type==="readonly"||m.type==="default"||m.type==="prefault")return Kl(m.innerType,h);if(m.type==="intersection")return Kl(m.left,h)||Kl(m.right,h);if(m.type==="record"||m.type==="map")return Kl(m.keyType,h)||Kl(m.valueType,h);if(m.type==="pipe")return r._zod.traits.has("$ZodCodec")?!0:Kl(m.in,h)||Kl(m.out,h);if(m.type==="object"){for(const v in m.shape)if(Kl(m.shape[v],h))return!0;return!1}if(m.type==="union"){for(const v of m.options)if(Kl(v,h))return!0;return!1}if(m.type==="tuple"){for(const v of m.items)if(Kl(v,h))return!0;return!!(m.rest&&Kl(m.rest,h))}return!1}const _z=(r,f={})=>h=>{const m=RS({...h,processors:f});return ol(r,m),DS(m,r),OS(m,r)},fy=(r,f,h={})=>m=>{const{libraryOptions:v,target:S}=m??{},z=RS({...v??{},target:S,io:f,processors:h});return ol(r,z),DS(z,r),OS(z,r)},Az={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},xz=(r,f,h,m)=>{const v=h;v.type="string";const{minimum:S,maximum:z,format:_,patterns:C,contentEncoding:R}=r._zod.bag;if(typeof S=="number"&&(v.minLength=S),typeof z=="number"&&(v.maxLength=z),_&&(v.format=Az[_]??_,v.format===""&&delete v.format,_==="time"&&delete v.format),R&&(v.contentEncoding=R),C&&C.size>0){const V=[...C];V.length===1?v.pattern=V[0].source:V.length>1&&(v.allOf=[...V.map(x=>({...f.target==="draft-07"||f.target==="draft-04"||f.target==="openapi-3.0"?{type:"string"}:{},pattern:x.source}))])}},Rz=(r,f,h,m)=>{if(f.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},Dz=(r,f,h,m)=>{if(f.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},Oz=(r,f,h,m)=>{const v=h,S=r._zod.def,{minimum:z,maximum:_}=r._zod.bag;typeof z=="number"&&(v.minItems=z),typeof _=="number"&&(v.maxItems=_),v.type="array",v.items=ol(S.element,f,{...m,path:[...m.path,"items"]})},wz=(r,f,h,m)=>{const v=r._zod.def,S=v.inclusive===!1,z=v.options.map((_,C)=>ol(_,f,{...m,path:[...m.path,S?"oneOf":"anyOf",C]}));S?h.oneOf=z:h.anyOf=z},Mz=(r,f,h,m)=>{const v=r._zod.def,S=ol(v.left,f,{...m,path:[...m.path,"allOf",0]}),z=ol(v.right,f,{...m,path:[...m.path,"allOf",1]}),_=R=>"allOf"in R&&Object.keys(R).length===1,C=[..._(S)?S.allOf:[S],..._(z)?z.allOf:[z]];h.allOf=C},Cz=(r,f,h,m)=>{const v=h,S=r._zod.def;v.type="object";const z=S.keyType,C=z._zod.bag?.patterns;if(S.mode==="loose"&&C&&C.size>0){const V=ol(S.valueType,f,{...m,path:[...m.path,"patternProperties","*"]});v.patternProperties={};for(const x of C)v.patternProperties[x.source]=V}else(f.target==="draft-07"||f.target==="draft-2020-12")&&(v.propertyNames=ol(S.keyType,f,{...m,path:[...m.path,"propertyNames"]})),v.additionalProperties=ol(S.valueType,f,{...m,path:[...m.path,"additionalProperties"]});const R=z._zod.values;if(R){const V=[...R].filter(x=>typeof x=="string"||typeof x=="number");V.length>0&&(v.required=V)}},Uz=(r,f,h,m)=>{const v=r._zod.def,S=ol(v.innerType,f,m),z=f.seen.get(r);f.target==="openapi-3.0"?(z.ref=v.innerType,h.nullable=!0):h.anyOf=[S,{type:"null"}]},jz=(r,f,h,m)=>{const v=r._zod.def;ol(v.innerType,f,m);const S=f.seen.get(r);S.ref=v.innerType},Hz=(r,f,h,m)=>{const v=r._zod.def;ol(v.innerType,f,m);const S=f.seen.get(r);S.ref=v.innerType,h.default=JSON.parse(JSON.stringify(v.defaultValue))},Nz=(r,f,h,m)=>{const v=r._zod.def;ol(v.innerType,f,m);const S=f.seen.get(r);S.ref=v.innerType,f.io==="input"&&(h._prefault=JSON.parse(JSON.stringify(v.defaultValue)))},Bz=(r,f,h,m)=>{const v=r._zod.def;ol(v.innerType,f,m);const S=f.seen.get(r);S.ref=v.innerType;let z;try{z=v.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}h.default=z},Zz=(r,f,h,m)=>{const v=r._zod.def,S=v.in._zod.traits.has("$ZodTransform"),z=f.io==="input"?S?v.out:v.in:v.out;ol(z,f,m);const _=f.seen.get(r);_.ref=z},qz=(r,f,h,m)=>{const v=r._zod.def;ol(v.innerType,f,m);const S=f.seen.get(r);S.ref=v.innerType,h.readOnly=!0},wS=(r,f,h,m)=>{const v=r._zod.def;ol(v.innerType,f,m);const S=f.seen.get(r);S.ref=v.innerType},Yz=ue("ZodISODateTime",(r,f)=>{o6.init(r,f),mn.init(r,f)});function kz(r){return uz(Yz,r)}const Gz=ue("ZodISODate",(r,f)=>{c6.init(r,f),mn.init(r,f)});function Lz(r){return iz(Gz,r)}const Vz=ue("ZodISOTime",(r,f)=>{r6.init(r,f),mn.init(r,f)});function Xz(r){return oz(Vz,r)}const Qz=ue("ZodISODuration",(r,f)=>{s6.init(r,f),mn.init(r,f)});function $z(r){return cz(Qz,r)}const Tu=ue("ZodError",(r,f)=>{oS.init(r,f),r.name="ZodError",Object.defineProperties(r,{format:{value:h=>lT(r,h)},flatten:{value:h=>nT(r,h)},addIssue:{value:h=>{r.issues.push(h),r.message=JSON.stringify(r.issues,Qv,2)}},addIssues:{value:h=>{r.issues.push(...h),r.message=JSON.stringify(r.issues,Qv,2)}},isEmpty:{get(){return r.issues.length===0}}})},{Parent:Error}),Jz=Fv(Tu),Kz=Iv(Tu),Wz=iy(Tu),Fz=oy(Tu),Iz=iT(Tu),Pz=oT(Tu),e9=cT(Tu),t9=rT(Tu),n9=sT(Tu),l9=fT(Tu),a9=dT(Tu),u9=hT(Tu),MS=new WeakMap;function tb(r,f,h){const m=Object.getPrototypeOf(r);let v=MS.get(m);if(v||(v=new Set,MS.set(m,v)),!v.has(f)){v.add(f);for(const S in h){const z=h[S];Object.defineProperty(m,S,{configurable:!0,enumerable:!1,get(){const _=z.bind(this);return Object.defineProperty(this,S,{configurable:!0,writable:!0,enumerable:!0,value:_}),_},set(_){Object.defineProperty(this,S,{configurable:!0,writable:!0,enumerable:!0,value:_})}})}}}const Bl=ue("ZodType",(r,f)=>(Nl.init(r,f),Object.assign(r["~standard"],{jsonSchema:{input:fy(r,"input"),output:fy(r,"output")}}),r.toJSONSchema=_z(r,{}),r.def=f,r.type=f.type,Object.defineProperty(r,"_def",{value:f}),r.parse=(h,m)=>Jz(r,h,m,{callee:r.parse}),r.safeParse=(h,m)=>Wz(r,h,m),r.parseAsync=async(h,m)=>Kz(r,h,m,{callee:r.parseAsync}),r.safeParseAsync=async(h,m)=>Fz(r,h,m),r.spa=r.safeParseAsync,r.encode=(h,m)=>Iz(r,h,m),r.decode=(h,m)=>Pz(r,h,m),r.encodeAsync=async(h,m)=>e9(r,h,m),r.decodeAsync=async(h,m)=>t9(r,h,m),r.safeEncode=(h,m)=>n9(r,h,m),r.safeDecode=(h,m)=>l9(r,h,m),r.safeEncodeAsync=async(h,m)=>a9(r,h,m),r.safeDecodeAsync=async(h,m)=>u9(r,h,m),tb(r,"ZodType",{check(...h){const m=this.def;return this.clone(I4(m,{checks:[...m.checks??[],...h.map(v=>typeof v=="function"?{_zod:{check:v,def:{check:"custom"},onattach:[]}}:v)]}),{parent:!0})},with(...h){return this.check(...h)},clone(h,m){return eT(this,h,m)},brand(){return this},register(h,m){return h.add(this,m),this},refine(h,m){return this.check(J9(h,m))},superRefine(h,m){return this.check(K9(h,m))},overwrite(h){return this.check(Dd(h))},optional(){return NS(this)},exactOptional(){return j9(this)},nullable(){return BS(this)},nullish(){return NS(BS(this))},nonoptional(h){return k9(this,h)},array(){return A9(this)},or(h){return R9([this,h])},and(h){return O9(this,h)},transform(h){return ZS(this,M9(h))},default(h){return B9(this,h)},prefault(h){return q9(this,h)},catch(h){return L9(this,h)},pipe(h){return ZS(this,h)},readonly(){return Q9(this)},describe(h){const m=this.clone();return tm.add(m,{description:h}),m},meta(...h){if(h.length===0)return tm.get(this);const m=this.clone();return tm.add(m,h[0]),m},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(h){return h(this)}}),Object.defineProperty(r,"description",{get(){return tm.get(r)?.description},configurable:!0}),r)),CS=ue("_ZodString",(r,f)=>{Pv.init(r,f),Bl.init(r,f),r._zod.processJSONSchema=(m,v,S)=>xz(r,m,v);const h=r._zod.bag;r.format=h.format??null,r.minLength=h.minimum??null,r.maxLength=h.maximum??null,tb(r,"_ZodString",{regex(...m){return this.check(rz(...m))},includes(...m){return this.check(dz(...m))},startsWith(...m){return this.check(hz(...m))},endsWith(...m){return this.check(mz(...m))},min(...m){return this.check(sy(...m))},max(...m){return this.check(AS(...m))},length(...m){return this.check(xS(...m))},nonempty(...m){return this.check(sy(1,...m))},lowercase(m){return this.check(sz(m))},uppercase(m){return this.check(fz(m))},trim(){return this.check(gz())},normalize(...m){return this.check(pz(...m))},toLowerCase(){return this.check(yz())},toUpperCase(){return this.check(vz())},slugify(){return this.check(bz())}})}),i9=ue("ZodString",(r,f)=>{Pv.init(r,f),CS.init(r,f),r.email=h=>r.check(Z6(o9,h)),r.url=h=>r.check(L6(c9,h)),r.jwt=h=>r.check(az(E9,h)),r.emoji=h=>r.check(V6(r9,h)),r.guid=h=>r.check(_S(US,h)),r.uuid=h=>r.check(q6(hy,h)),r.uuidv4=h=>r.check(Y6(hy,h)),r.uuidv6=h=>r.check(k6(hy,h)),r.uuidv7=h=>r.check(G6(hy,h)),r.nanoid=h=>r.check(X6(s9,h)),r.guid=h=>r.check(_S(US,h)),r.cuid=h=>r.check(Q6(f9,h)),r.cuid2=h=>r.check($6(d9,h)),r.ulid=h=>r.check(J6(h9,h)),r.base64=h=>r.check(tz(S9,h)),r.base64url=h=>r.check(nz(T9,h)),r.xid=h=>r.check(K6(m9,h)),r.ksuid=h=>r.check(W6(p9,h)),r.ipv4=h=>r.check(F6(g9,h)),r.ipv6=h=>r.check(I6(y9,h)),r.cidrv4=h=>r.check(P6(v9,h)),r.cidrv6=h=>r.check(ez(b9,h)),r.e164=h=>r.check(lz(z9,h)),r.datetime=h=>r.check(kz(h)),r.date=h=>r.check(Lz(h)),r.time=h=>r.check(Xz(h)),r.duration=h=>r.check($z(h))});function dy(r){return B6(i9,r)}const mn=ue("ZodStringFormat",(r,f)=>{an.init(r,f),CS.init(r,f)}),o9=ue("ZodEmail",(r,f)=>{IT.init(r,f),mn.init(r,f)}),US=ue("ZodGUID",(r,f)=>{WT.init(r,f),mn.init(r,f)}),hy=ue("ZodUUID",(r,f)=>{FT.init(r,f),mn.init(r,f)}),c9=ue("ZodURL",(r,f)=>{PT.init(r,f),mn.init(r,f)}),r9=ue("ZodEmoji",(r,f)=>{e6.init(r,f),mn.init(r,f)}),s9=ue("ZodNanoID",(r,f)=>{t6.init(r,f),mn.init(r,f)}),f9=ue("ZodCUID",(r,f)=>{n6.init(r,f),mn.init(r,f)}),d9=ue("ZodCUID2",(r,f)=>{l6.init(r,f),mn.init(r,f)}),h9=ue("ZodULID",(r,f)=>{a6.init(r,f),mn.init(r,f)}),m9=ue("ZodXID",(r,f)=>{u6.init(r,f),mn.init(r,f)}),p9=ue("ZodKSUID",(r,f)=>{i6.init(r,f),mn.init(r,f)}),g9=ue("ZodIPv4",(r,f)=>{f6.init(r,f),mn.init(r,f)}),y9=ue("ZodIPv6",(r,f)=>{d6.init(r,f),mn.init(r,f)}),v9=ue("ZodCIDRv4",(r,f)=>{h6.init(r,f),mn.init(r,f)}),b9=ue("ZodCIDRv6",(r,f)=>{m6.init(r,f),mn.init(r,f)}),S9=ue("ZodBase64",(r,f)=>{p6.init(r,f),mn.init(r,f)}),T9=ue("ZodBase64URL",(r,f)=>{y6.init(r,f),mn.init(r,f)}),z9=ue("ZodE164",(r,f)=>{v6.init(r,f),mn.init(r,f)}),E9=ue("ZodJWT",(r,f)=>{S6.init(r,f),mn.init(r,f)}),_9=ue("ZodArray",(r,f)=>{T6.init(r,f),Bl.init(r,f),r._zod.processJSONSchema=(h,m,v)=>Oz(r,h,m,v),r.element=f.element,tb(r,"ZodArray",{min(h,m){return this.check(sy(h,m))},nonempty(h){return this.check(sy(1,h))},max(h,m){return this.check(AS(h,m))},length(h,m){return this.check(xS(h,m))},unwrap(){return this.element}})});function A9(r,f){return Sz(_9,r,f)}const x9=ue("ZodUnion",(r,f)=>{z6.init(r,f),Bl.init(r,f),r._zod.processJSONSchema=(h,m,v)=>wz(r,h,m,v),r.options=f.options});function R9(r,f){return new x9({type:"union",options:r,...ke(f)})}const D9=ue("ZodIntersection",(r,f)=>{E6.init(r,f),Bl.init(r,f),r._zod.processJSONSchema=(h,m,v)=>Mz(r,h,m,v)});function O9(r,f){return new D9({type:"intersection",left:r,right:f})}const jS=ue("ZodRecord",(r,f)=>{_6.init(r,f),Bl.init(r,f),r._zod.processJSONSchema=(h,m,v)=>Cz(r,h,m,v),r.keyType=f.keyType,r.valueType=f.valueType});function HS(r,f,h){return!f||!f._zod?new jS({type:"record",keyType:dy(),valueType:r,...ke(f)}):new jS({type:"record",keyType:r,valueType:f,...ke(h)})}const w9=ue("ZodTransform",(r,f)=>{A6.init(r,f),Bl.init(r,f),r._zod.processJSONSchema=(h,m,v)=>Dz(r,h),r._zod.parse=(h,m)=>{if(m.direction==="backward")throw new tS(r.constructor.name);h.addIssue=S=>{if(typeof S=="string")h.issues.push(em(S,h.value,f));else{const z=S;z.fatal&&(z.continue=!1),z.code??(z.code="custom"),z.input??(z.input=h.value),z.inst??(z.inst=r),h.issues.push(em(z))}};const v=f.transform(h.value,h);return v instanceof Promise?v.then(S=>(h.value=S,h.fallback=!0,h)):(h.value=v,h.fallback=!0,h)}});function M9(r){return new w9({type:"transform",transform:r})}const C9=ue("ZodOptional",(r,f)=>{vS.init(r,f),Bl.init(r,f),r._zod.processJSONSchema=(h,m,v)=>wS(r,h,m,v),r.unwrap=()=>r._zod.def.innerType});function NS(r){return new C9({type:"optional",innerType:r})}const U9=ue("ZodExactOptional",(r,f)=>{x6.init(r,f),Bl.init(r,f),r._zod.processJSONSchema=(h,m,v)=>wS(r,h,m,v),r.unwrap=()=>r._zod.def.innerType});function j9(r){return new U9({type:"optional",innerType:r})}const H9=ue("ZodNullable",(r,f)=>{R6.init(r,f),Bl.init(r,f),r._zod.processJSONSchema=(h,m,v)=>Uz(r,h,m,v),r.unwrap=()=>r._zod.def.innerType});function BS(r){return new H9({type:"nullable",innerType:r})}const N9=ue("ZodDefault",(r,f)=>{D6.init(r,f),Bl.init(r,f),r._zod.processJSONSchema=(h,m,v)=>Hz(r,h,m,v),r.unwrap=()=>r._zod.def.innerType,r.removeDefault=r.unwrap});function B9(r,f){return new N9({type:"default",innerType:r,get defaultValue(){return typeof f=="function"?f():uS(f)}})}const Z9=ue("ZodPrefault",(r,f)=>{O6.init(r,f),Bl.init(r,f),r._zod.processJSONSchema=(h,m,v)=>Nz(r,h,m,v),r.unwrap=()=>r._zod.def.innerType});function q9(r,f){return new Z9({type:"prefault",innerType:r,get defaultValue(){return typeof f=="function"?f():uS(f)}})}const Y9=ue("ZodNonOptional",(r,f)=>{w6.init(r,f),Bl.init(r,f),r._zod.processJSONSchema=(h,m,v)=>jz(r,h,m,v),r.unwrap=()=>r._zod.def.innerType});function k9(r,f){return new Y9({type:"nonoptional",innerType:r,...ke(f)})}const G9=ue("ZodCatch",(r,f)=>{M6.init(r,f),Bl.init(r,f),r._zod.processJSONSchema=(h,m,v)=>Bz(r,h,m,v),r.unwrap=()=>r._zod.def.innerType,r.removeCatch=r.unwrap});function L9(r,f){return new G9({type:"catch",innerType:r,catchValue:typeof f=="function"?f:()=>f})}const V9=ue("ZodPipe",(r,f)=>{C6.init(r,f),Bl.init(r,f),r._zod.processJSONSchema=(h,m,v)=>Zz(r,h,m,v),r.in=f.in,r.out=f.out});function ZS(r,f){return new V9({type:"pipe",in:r,out:f})}const X9=ue("ZodReadonly",(r,f)=>{U6.init(r,f),Bl.init(r,f),r._zod.processJSONSchema=(h,m,v)=>qz(r,h,m,v),r.unwrap=()=>r._zod.def.innerType});function Q9(r){return new X9({type:"readonly",innerType:r})}const $9=ue("ZodCustom",(r,f)=>{j6.init(r,f),Bl.init(r,f),r._zod.processJSONSchema=(h,m,v)=>Rz(r,h)});function J9(r,f={}){return Tz($9,r,f)}function K9(r,f){return zz(r,f)}var my={exports:{}},qS;function W9(){if(qS)return my.exports;qS=1;function r(f,h=100,m={}){if(typeof f!="function")throw new TypeError(`Expected the first parameter to be a function, got \`${typeof f}\`.`);if(h<0)throw new RangeError("`wait` must not be negative.");const{immediate:v}=typeof m=="boolean"?{immediate:m}:m;let S,z,_,C,R;function V(){const le=S,ie=z;return S=void 0,z=void 0,R=f.apply(le,ie),R}function x(){const le=Date.now()-C;le<h&&le>=0?_=setTimeout(x,h-le):(_=void 0,v||(R=V()))}const I=function(...le){if(S&&this!==S&&Object.getPrototypeOf(this)===Object.getPrototypeOf(S))throw new Error("Debounced method called with different contexts of the same prototype.");S=this,z=le,C=Date.now();const ie=v&&!_;return _||(_=setTimeout(x,h)),ie&&(R=V()),R};return Object.defineProperty(I,"isPending",{get(){return _!==void 0}}),I.clear=()=>{_&&(clearTimeout(_),_=void 0)},I.flush=()=>{_&&I.trigger()},I.trigger=()=>{R=V(),I.clear()},I}return my.exports.debounce=r,my.exports=r,my.exports}var F9=W9();const I9=m4(F9),P9=HS(dy(),dy()),eE=HS(dy(),P9);function tE(r){const f=Object.entries(r);if(f.length===0)return"";const h=v=>Object.entries(v).map(([S,z])=>` --color-${S}: ${z};`).join(`
|
|
230
|
+
`);let m="";for(const[v,S]of f){if(v==="default"){m+=`:root {
|
|
231
|
+
${h(S)}
|
|
232
|
+
}
|
|
233
|
+
`;continue}m+=`[data-theme="${v}"] {
|
|
234
|
+
${h(S)}
|
|
235
|
+
}
|
|
236
|
+
`}return m}function nE(r){return/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(r.trim())}function lE(r,f="yama-toolbar-overrides"){const h=ne.useRef(null);ne.useEffect(()=>{let m=h.current;m||(m=document.createElement("style"),m.id=f,document.head.appendChild(m),h.current=m),m.textContent=r},[r,f])}function aE(r,f={}){const{onThemeChanged:h}=f,m=ne.useRef(h);m.current=h;const[v,S]=ne.useState(r),[z,_]=ne.useState(Object.keys(v)[0]),C=Object.keys(v),R=v[z]??{};ne.useEffect(()=>{_(le=>le)},[v]),ne.useEffect(()=>{z==="default"?document.documentElement.removeAttribute("data-theme"):document.documentElement.setAttribute("data-theme",z)},[z]);const V=tE(v);lE(V);const x=le=>{if(C.length<=1)return;const ie=C.indexOf(z),Ye=C[(ie+1)%C.length];_(Ye),m.current?.(Ye)},I=I9((le,ie)=>{S(Ye=>({...Ye,[z]:{...Ye[z]??{},[le]:ie}}))},50);return{themes:v,activeTheme:z,themeNames:C,activeVars:R,changeTheme:x,updateVar:I}}function nb(...r){return r.filter(Boolean).join(" ")}const uE={fr:{"guide.open":"Guide","guide.close":"Fermer le guide","guide.empty":"Ce thème ne dispose pour l'instant d'aucun guide utilisateur.","guide.fullscreen.enter":"Plein écran","guide.fullscreen.exit":"Quitter le plein écran","toolbar.label":"Barre d'outils Yama","theme.label":"Thème :","theme.changed":"Thème :","colors.open":"Palette","colors.close":"Fermer la palette","colors.active_theme":"Thème actif","colors.copy_theme":"Copier la palette","copy.success":"Copié dans le presse-papiers","copy.error":"Impossible de copier"},en:{"guide.open":"Guide","guide.close":"Close guide","guide.empty":"This theme does not have a user guide yet.","guide.fullscreen.enter":"Full screen","guide.fullscreen.exit":"Exit full screen","toolbar.label":"Yama Toolbar","theme.label":"Theme:","theme.changed":"Theme:","colors.open":"Palette","colors.close":"Close palette","colors.active_theme":"Active theme","colors.copy_theme":"Copy palette","copy.success":"Copied to clipboard","copy.error":"Unable to copy"},es:{"guide.open":"Guide","guide.close":"Cerrar la guía","guide.empty":"Este tema aún no tiene guía de usuario.","guide.fullscreen.enter":"Pantalla completa","guide.fullscreen.exit":"Salir de pantalla completa","toolbar.label":"Barra de herramientas Yama","theme.label":"Tema:","theme.changed":"Tema:","colors.open":"Paleta","colors.close":"Cerrar la paleta","colors.active_theme":"Tema activo","colors.copy_theme":"Copiar la paleta","copy.success":"Copiado al portapapeles","copy.error":"No se puede copiar"},it:{"guide.open":"Guide","guide.close":"Chiudi la guida","guide.empty":"Questo tema non dispone ancora di una guida utente.","guide.fullscreen.enter":"Schermo intero","guide.fullscreen.exit":"Esci dallo schermo intero","toolbar.label":"Barra degli strumenti Yama","theme.label":"Tema:","theme.changed":"Tema:","colors.open":"Tavolozza","colors.close":"Chiudi la tavolozza","colors.active_theme":"Tema attivo","colors.copy_theme":"Copia la palette","copy.success":"Copiato negli appunti","copy.error":"Impossibile copiare"},de:{"guide.open":"Guide","guide.close":"Guide schließen","guide.empty":"Für dieses Theme gibt es noch keinen Benutzerleitfaden.","guide.fullscreen.enter":"Vollbild","guide.fullscreen.exit":"Vollbild beenden","toolbar.label":"Yama-Werkzeugleiste","theme.label":"Theme:","theme.changed":"Theme:","colors.open":"Palette","colors.close":"Palette schließen","colors.active_theme":"Aktives Theme","colors.copy_theme":"Palette kopieren","copy.success":"In die Zwischenablage kopiert","copy.error":"Kopieren nicht möglich"}},cl=(r,f,h)=>uE[f]?.[r]??h??r;function iE(){return q.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 24 24","aria-hidden":!0,children:q.jsxs("g",{fill:"none",children:[q.jsx("path",{d:"m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"}),q.jsx("path",{fill:"currentColor",d:"M19 2a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-2v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2V4a2 2 0 0 1 2-2zm-4 6H5v12h10zm-5 7a1 1 0 1 1 0 2H8a1 1 0 1 1 0-2zm9-11H9v2h6a2 2 0 0 1 2 2v8h2zm-7 7a1 1 0 0 1 .117 1.993L12 13H8a1 1 0 0 1-.117-1.993L8 11z"})]})})}function lb({label:r,placement:f="top",className:h,children:m}){return q.jsxs("div",{className:nb("yama-tooltip",`yama-tooltip--${f}`,h),children:[m,q.jsx("span",{className:"yama-tooltip__bubble",role:"tooltip",children:r})]})}function oE(r){const{activeTheme:f,activeVars:h,isOpen:m,onCopyExport:v,onUpdateVar:S,lang:z}=r;return q.jsxs("div",{className:nb("panel","color-panel",m?"panel--open":"panel--closed"),"aria-hidden":!m,inert:m?void 0:!0,style:{background:"linear-gradient(180deg, #13151A 0%, rgba(19, 21, 26, 0.88) 100%)"},children:[q.jsxs("div",{className:"panel__header",children:[q.jsxs("p",{className:"panel__title",children:[cl("colors.active_theme",z)," ",q.jsx("span",{className:"color-panel__active-theme",children:f})]}),q.jsx("div",{className:"panel__spacer"}),q.jsx(lb,{label:cl("colors.copy_theme",z),placement:"top",children:q.jsx("button",{type:"button",onClick:v,className:"color-panel__copy-button",children:q.jsx(iE,{})})})]}),q.jsx("div",{className:"panel__body color-panel__grid",children:Object.keys(h).map(_=>{const C=h[_]??"";return q.jsxs("div",{className:"color-row",children:[q.jsx("div",{className:"color-row__label",children:_}),q.jsxs("div",{className:"color-row__inputs",children:[q.jsx("input",{"aria-label":_,type:"color",value:nE(C)?C:"#000000",onChange:R=>S(_,R.target.value),className:"color-row__swatch"}),q.jsx("input",{value:C,onChange:R=>S(_,R.target.value),className:"color-row__text"})]},_)]},_)})})]})}function cE(){return q.jsxs("svg",{id:"Groupe_113","data-name":"Groupe 113",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"42.933",height:"49.48",viewBox:"0 0 42.933 49.48",className:"",children:[q.jsxs("defs",{children:[q.jsxs("radialGradient",{id:"radial-gradient",cx:"0.087",cy:"0.573",r:"1.574",gradientUnits:"objectBoundingBox",children:[q.jsx("stop",{offset:"0",stopColor:"#30a484"}),q.jsx("stop",{offset:"0.537",stopColor:"#0885a0"}),q.jsx("stop",{offset:"1",stopColor:"#00519e"})]}),q.jsx("clipPath",{id:"clipPath",children:q.jsx("path",{id:"Tracé_22","data-name":"Tracé 22",d:"M225.747,118.38l1.034-.593.025-9.36-8.094-4.7-.966.555-4.123-2.381,0-1.21-8.216-4.772-8.241,4.729,0,1.242L193,104.3l-.981-.57-8.119,4.659-.024,9.36,1.149.667v4.652l-1.124.645-.024,9.36,8.094,4.7,1.17-.671,4.011,2.316,0,1.211,8.216,4.772,8.241-4.729,0-1.244,3.966-2.29,1.093.635,8.118-4.659.025-9.36-1.058-.615Zm-2.21,12.831-18.28,10.553-18.28-10.553V110.1l18.28-10.554,18.28,10.554Z",transform:"translate(-183.872 -95.917)",fill:"none"})}),q.jsx("radialGradient",{id:"radial-gradient-2",cx:"-1.203",cy:"0.581",r:"1.539",xlinkHref:"#radial-gradient"}),q.jsx("radialGradient",{id:"radial-gradient-3",cx:"-0.029",cy:"1.899",r:"3.575",xlinkHref:"#radial-gradient"})]}),q.jsx("path",{id:"Tracé_19","data-name":"Tracé 19",d:"M201.981,152.243l.058,4.585,5.535,3.1,4,2.242.139,11.013,4,2.243-.2-15.6Z",transform:"translate(-196.072 -133.864)",fill:"url(#radial-gradient)"}),q.jsx("path",{id:"Tracé_20","data-name":"Tracé 20",d:"M280.224,188.7l5.615-3.337-.082-6.532-5.615,3.337Z",transform:"translate(-248.73 -151.778)",fill:"#006da3"}),q.jsx("path",{id:"Tracé_21","data-name":"Tracé 21",d:"M202.335,180.346l.081,6.428,5.535,3.1-.081-6.428Z",transform:"translate(-196.311 -152.798)",fill:"#2aa287"}),q.jsx("g",{id:"Groupe_8","data-name":"Groupe 8",children:q.jsx("g",{id:"Groupe_7","data-name":"Groupe 7",clipPath:"url(#clipPath)",children:q.jsxs("g",{id:"Groupe_6","data-name":"Groupe 6",transform:"translate(-10.442 -9.059)",children:[q.jsx("rect",{id:"Rectangle_3","data-name":"Rectangle 3",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 0, 14.522)",fill:"#2aa387"}),q.jsx("rect",{id:"Rectangle_4","data-name":"Rectangle 4",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 0.565, 14.348)",fill:"#29a288"}),q.jsx("rect",{id:"Rectangle_5","data-name":"Rectangle 5",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 1.13, 14.174)",fill:"#28a189"}),q.jsx("rect",{id:"Rectangle_6","data-name":"Rectangle 6",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 1.695, 14)",fill:"#27a08a"}),q.jsx("rect",{id:"Rectangle_7","data-name":"Rectangle 7",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 2.261, 13.826)",fill:"#279f8b"}),q.jsx("rect",{id:"Rectangle_8","data-name":"Rectangle 8",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 2.826, 13.653)",fill:"#269e8c"}),q.jsx("rect",{id:"Rectangle_9","data-name":"Rectangle 9",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 3.391, 13.479)",fill:"#259e8d"}),q.jsx("rect",{id:"Rectangle_10","data-name":"Rectangle 10",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 3.956, 13.305)",fill:"#249d8e"}),q.jsx("rect",{id:"Rectangle_11","data-name":"Rectangle 11",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 4.521, 13.131)",fill:"#249c8f"}),q.jsx("rect",{id:"Rectangle_12","data-name":"Rectangle 12",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 5.086, 12.957)",fill:"#239b90"}),q.jsx("rect",{id:"Rectangle_13","data-name":"Rectangle 13",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 5.651, 12.783)",fill:"#229a90"}),q.jsx("rect",{id:"Rectangle_14","data-name":"Rectangle 14",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 6.217, 12.609)",fill:"#229991"}),q.jsx("rect",{id:"Rectangle_15","data-name":"Rectangle 15",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 6.782, 12.436)",fill:"#219892"}),q.jsx("rect",{id:"Rectangle_16","data-name":"Rectangle 16",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 7.347, 12.262)",fill:"#209793"}),q.jsx("rect",{id:"Rectangle_17","data-name":"Rectangle 17",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 7.912, 12.088)",fill:"#1f9694"}),q.jsx("rect",{id:"Rectangle_18","data-name":"Rectangle 18",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 8.477, 11.914)",fill:"#1f9594"}),q.jsx("rect",{id:"Rectangle_19","data-name":"Rectangle 19",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 9.042, 11.74)",fill:"#1e9495"}),q.jsx("rect",{id:"Rectangle_20","data-name":"Rectangle 20",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 9.608, 11.566)",fill:"#1d9396"}),q.jsx("rect",{id:"Rectangle_21","data-name":"Rectangle 21",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 10.173, 11.393)",fill:"#1c9397"}),q.jsx("rect",{id:"Rectangle_22","data-name":"Rectangle 22",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 10.738, 11.219)",fill:"#1c9297"}),q.jsx("rect",{id:"Rectangle_23","data-name":"Rectangle 23",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 11.303, 11.045)",fill:"#1b9198"}),q.jsx("rect",{id:"Rectangle_24","data-name":"Rectangle 24",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 11.868, 10.871)",fill:"#1a9099"}),q.jsx("rect",{id:"Rectangle_25","data-name":"Rectangle 25",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 12.433, 10.697)",fill:"#198f99"}),q.jsx("rect",{id:"Rectangle_26","data-name":"Rectangle 26",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 12.998, 10.523)",fill:"#198e9a"}),q.jsx("rect",{id:"Rectangle_27","data-name":"Rectangle 27",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 13.564, 10.35)",fill:"#188d9b"}),q.jsx("rect",{id:"Rectangle_28","data-name":"Rectangle 28",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 14.129, 10.176)",fill:"#178c9b"}),q.jsx("rect",{id:"Rectangle_29","data-name":"Rectangle 29",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 14.694, 10.002)",fill:"#178b9c"}),q.jsx("rect",{id:"Rectangle_30","data-name":"Rectangle 30",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 15.259, 9.828)",fill:"#168a9c"}),q.jsx("rect",{id:"Rectangle_31","data-name":"Rectangle 31",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 15.824, 9.654)",fill:"#15899d"}),q.jsx("rect",{id:"Rectangle_32","data-name":"Rectangle 32",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 16.389, 9.48)",fill:"#14899e"}),q.jsx("rect",{id:"Rectangle_33","data-name":"Rectangle 33",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 16.954, 9.307)",fill:"#14889e"}),q.jsx("rect",{id:"Rectangle_34","data-name":"Rectangle 34",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 17.52, 9.133)",fill:"#13879f"}),q.jsx("rect",{id:"Rectangle_35","data-name":"Rectangle 35",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 18.085, 8.959)",fill:"#12869f"}),q.jsx("rect",{id:"Rectangle_36","data-name":"Rectangle 36",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 18.65, 8.785)",fill:"#1185a0"}),q.jsx("rect",{id:"Rectangle_37","data-name":"Rectangle 37",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 19.215, 8.611)",fill:"#1084a0"}),q.jsx("rect",{id:"Rectangle_38","data-name":"Rectangle 38",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 19.78, 8.437)",fill:"#1083a1"}),q.jsx("rect",{id:"Rectangle_39","data-name":"Rectangle 39",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 20.345, 8.264)",fill:"#0f82a1"}),q.jsx("rect",{id:"Rectangle_40","data-name":"Rectangle 40",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 20.91, 8.09)",fill:"#0e81a2"}),q.jsx("rect",{id:"Rectangle_41","data-name":"Rectangle 41",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 21.476, 7.916)",fill:"#0e80a2"}),q.jsx("rect",{id:"Rectangle_42","data-name":"Rectangle 42",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 22.041, 7.742)",fill:"#0d7fa2"}),q.jsx("rect",{id:"Rectangle_43","data-name":"Rectangle 43",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 22.606, 7.568)",fill:"#0c7ea3"}),q.jsx("rect",{id:"Rectangle_44","data-name":"Rectangle 44",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 23.171, 7.394)",fill:"#0c7da3"}),q.jsx("rect",{id:"Rectangle_45","data-name":"Rectangle 45",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 23.736, 7.22)",fill:"#0a7ca3"}),q.jsx("rect",{id:"Rectangle_46","data-name":"Rectangle 46",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 24.301, 7.047)",fill:"#087ba3"}),q.jsx("rect",{id:"Rectangle_47","data-name":"Rectangle 47",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 24.867, 6.873)",fill:"#077aa4"}),q.jsx("rect",{id:"Rectangle_48","data-name":"Rectangle 48",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 25.432, 6.699)",fill:"#0479a4"}),q.jsx("rect",{id:"Rectangle_49","data-name":"Rectangle 49",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 25.997, 6.525)",fill:"#0078a4"}),q.jsx("rect",{id:"Rectangle_50","data-name":"Rectangle 50",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 26.562, 6.351)",fill:"#0077a4"}),q.jsx("rect",{id:"Rectangle_51","data-name":"Rectangle 51",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 27.127, 6.177)",fill:"#0076a4"}),q.jsx("rect",{id:"Rectangle_52","data-name":"Rectangle 52",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 27.692, 6.004)",fill:"#0075a4"}),q.jsx("rect",{id:"Rectangle_53","data-name":"Rectangle 53",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 28.257, 5.83)",fill:"#0074a4"}),q.jsx("rect",{id:"Rectangle_54","data-name":"Rectangle 54",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 28.823, 5.656)",fill:"#0073a4"}),q.jsx("rect",{id:"Rectangle_55","data-name":"Rectangle 55",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 29.388, 5.482)",fill:"#0072a4"}),q.jsx("rect",{id:"Rectangle_56","data-name":"Rectangle 56",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 29.953, 5.308)",fill:"#0071a3"}),q.jsx("rect",{id:"Rectangle_57","data-name":"Rectangle 57",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 30.518, 5.134)",fill:"#0070a3"}),q.jsx("rect",{id:"Rectangle_58","data-name":"Rectangle 58",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 31.083, 4.961)",fill:"#006fa3"}),q.jsx("rect",{id:"Rectangle_59","data-name":"Rectangle 59",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 31.648, 4.787)",fill:"#006ea3"}),q.jsx("rect",{id:"Rectangle_60","data-name":"Rectangle 60",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 32.213, 4.613)",fill:"#006da3"}),q.jsx("rect",{id:"Rectangle_61","data-name":"Rectangle 61",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 32.779, 4.439)",fill:"#006ca3"}),q.jsx("rect",{id:"Rectangle_62","data-name":"Rectangle 62",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 33.344, 4.265)",fill:"#006aa3"}),q.jsx("rect",{id:"Rectangle_63","data-name":"Rectangle 63",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 33.909, 4.091)",fill:"#0069a3"}),q.jsx("rect",{id:"Rectangle_64","data-name":"Rectangle 64",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 34.474, 3.918)",fill:"#0068a3"}),q.jsx("rect",{id:"Rectangle_65","data-name":"Rectangle 65",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 35.039, 3.744)",fill:"#0067a3"}),q.jsx("rect",{id:"Rectangle_66","data-name":"Rectangle 66",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 35.604, 3.57)",fill:"#0066a2"}),q.jsx("rect",{id:"Rectangle_67","data-name":"Rectangle 67",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 36.169, 3.396)",fill:"#0065a2"}),q.jsx("rect",{id:"Rectangle_68","data-name":"Rectangle 68",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 36.735, 3.222)",fill:"#0064a2"}),q.jsx("rect",{id:"Rectangle_69","data-name":"Rectangle 69",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 37.3, 3.048)",fill:"#0063a2"}),q.jsx("rect",{id:"Rectangle_70","data-name":"Rectangle 70",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 37.865, 2.875)",fill:"#0062a2"}),q.jsx("rect",{id:"Rectangle_71","data-name":"Rectangle 71",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 38.43, 2.701)",fill:"#0061a2"}),q.jsx("rect",{id:"Rectangle_72","data-name":"Rectangle 72",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 38.995, 2.527)",fill:"#0060a2"}),q.jsx("rect",{id:"Rectangle_73","data-name":"Rectangle 73",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 39.56, 2.353)",fill:"#005fa1"}),q.jsx("rect",{id:"Rectangle_74","data-name":"Rectangle 74",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 40.126, 2.179)",fill:"#005ea1"}),q.jsx("rect",{id:"Rectangle_75","data-name":"Rectangle 75",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 40.691, 2.005)",fill:"#005da1"}),q.jsx("rect",{id:"Rectangle_76","data-name":"Rectangle 76",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 41.256, 1.831)",fill:"#005ca1"}),q.jsx("rect",{id:"Rectangle_77","data-name":"Rectangle 77",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 41.821, 1.658)",fill:"#005ba0"}),q.jsx("rect",{id:"Rectangle_78","data-name":"Rectangle 78",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 42.386, 1.484)",fill:"#005aa0"}),q.jsx("rect",{id:"Rectangle_79","data-name":"Rectangle 79",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 42.951, 1.31)",fill:"#0058a0"}),q.jsx("rect",{id:"Rectangle_80","data-name":"Rectangle 80",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 43.516, 1.136)",fill:"#00579f"}),q.jsx("rect",{id:"Rectangle_81","data-name":"Rectangle 81",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 44.082, 0.962)",fill:"#00569f"}),q.jsx("rect",{id:"Rectangle_82","data-name":"Rectangle 82",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 44.647, 0.788)",fill:"#00559f"}),q.jsx("rect",{id:"Rectangle_83","data-name":"Rectangle 83",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 45.212, 0.615)",fill:"#00549e"}),q.jsx("rect",{id:"Rectangle_84","data-name":"Rectangle 84",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 45.777, 0.441)",fill:"#00539e"}),q.jsx("rect",{id:"Rectangle_85","data-name":"Rectangle 85",width:"0.908",height:"53.205",transform:"matrix(0.956, -0.294, 0.294, 0.956, 46.342, 0.267)",fill:"#00529e"})]})})}),q.jsx("path",{id:"Tracé_23","data-name":"Tracé 23",d:"M255.825,174.453l3.942-2.342-.14-11.116,9.557-5.679-.058-4.585-13.5,8.022Z",transform:"translate(-232.215 -132.845)",fill:"url(#radial-gradient-2)"}),q.jsx("path",{id:"Tracé_24","data-name":"Tracé 24",d:"M231.994,120.436l5.664,3.255,5.65-3.278-5.663-3.255Z",transform:"translate(-216.292 -110.228)",fill:"#0072a2"}),q.jsx("path",{id:"Tracé_25","data-name":"Tracé 25",d:"M217.519,136.926l-5.535-3.1-3.942,2.342,13.534,7.588,13.41-7.969-4-2.242-9.468,5.627Z",transform:"translate(-200.156 -121.265)",fill:"url(#radial-gradient-3)"}),q.jsx("path",{id:"Tracé_26","data-name":"Tracé 26",d:"M193.392,117.6V138.71l18.28,10.553,18.28-10.553V117.6l-18.28-10.554Zm3,19.79-.081-6.428,5.535,3.1.081,6.428Zm9.534,5.346-.139-11.013-4-2.242-5.535-3.1-.058-4.585,13.534,7.588.2,15.6ZM227.4,137l-5.615,3.337-.082-6.532,5.615-3.337Zm-.14-11.116-9.557,5.679.14,11.116-3.942,2.342-.2-15.7,13.5-8.022Zm-2.139-7.951-13.41,7.969-13.534-7.588,3.942-2.342,5.535,3.1,4,2.243,9.468-5.627Zm-13.465-1.056-5.663-3.255,5.65-3.278L217.3,113.6Z",transform:"translate(-190.286 -103.417)",fill:"#fff"}),q.jsxs("g",{id:"Groupe_9","data-name":"Groupe 9",transform:"translate(5.909 12.276)",children:[q.jsx("path",{id:"Tracé_27","data-name":"Tracé 27",d:"M230.987,133.542l-9.468,5.627-4-2.242-5.535-3.1-3.942,2.342,13.534,7.588,13.41-7.969Z",transform:"translate(-206.065 -133.542)",fill:"#1e1e1f",fillRule:"evenodd"}),q.jsx("path",{id:"Tracé_28","data-name":"Tracé 28",d:"M269.184,155.315l-.058-4.585-13.5,8.022.2,15.7,3.942-2.342-.14-11.116Z",transform:"translate(-238.124 -145.122)",fill:"#1e1e1f",fillRule:"evenodd"}),q.jsx("path",{id:"Tracé_29","data-name":"Tracé 29",d:"M201.981,152.243l.058,4.585,5.535,3.1,4,2.242.139,11.013,4,2.243-.2-15.6Z",transform:"translate(-201.981 -146.141)",fill:"#1e1e1f",fillRule:"evenodd"})]})]})}function rE(){return q.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 24 24","aria-hidden":!0,children:q.jsx("path",{fill:"currentColor",d:"M7.5 2c-1.79 1.15-3 3.18-3 5.5s1.21 4.35 3.03 5.5C4.46 13 2 10.54 2 7.5A5.5 5.5 0 0 1 7.5 2m11.57 1.5l1.43 1.43L4.93 20.5L3.5 19.07zm-6.18 2.43L11.41 5L9.97 6l.42-1.7L9 3.24l1.75-.12l.58-1.65L12 3.1l1.73.03l-1.35 1.13zm-3.3 3.61l-1.16-.73l-1.12.78l.34-1.32l-1.09-.83l1.36-.09l.45-1.29l.51 1.27l1.36.03l-1.05.87zM19 13.5a5.5 5.5 0 0 1-5.5 5.5c-1.22 0-2.35-.4-3.26-1.07l7.69-7.69c.67.91 1.07 2.04 1.07 3.26m-4.4 6.58l2.77-1.15l-.24 3.35zm4.33-2.7l1.15-2.77l2.2 2.54zm1.15-4.96l-1.14-2.78l3.34.24zM9.63 18.93l2.77 1.15l-2.53 2.19z"})})}function sE(){return q.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 24 24","aria-hidden":!0,children:q.jsx("path",{fill:"currentColor",d:"M12 22q-2.05 0-3.875-.788t-3.187-2.15t-2.15-3.187T2 12q0-2.075.813-3.9t2.2-3.175T8.25 2.788T12.2 2q2 0 3.775.688t3.113 1.9t2.125 2.875T22 11.05q0 2.875-1.75 4.413T16 17h-1.85q-.225 0-.312.125t-.088.275q0 .3.375.863t.375 1.287q0 1.25-.687 1.85T12 22m-4.425-9.425Q8 12.15 8 11.5t-.425-1.075T6.5 10t-1.075.425T5 11.5t.425 1.075T6.5 13t1.075-.425m3-4Q11 8.15 11 7.5t-.425-1.075T9.5 6t-1.075.425T8 7.5t.425 1.075T9.5 9t1.075-.425m5 0Q16 8.15 16 7.5t-.425-1.075T14.5 6t-1.075.425T13 7.5t.425 1.075T14.5 9t1.075-.425m3 4Q19 12.15 19 11.5t-.425-1.075T17.5 10t-1.075.425T16 11.5t.425 1.075T17.5 13t1.075-.425"})})}function ab({label:r,onClick:f,disabled:h,children:m}){return q.jsx(lb,{label:r,className:"yama-toolbar__item",children:q.jsx("button",{type:"button",onClick:f,disabled:h,"aria-label":r,className:"yama-toolbar__button",children:q.jsx("span",{className:"yama-toolbar__icon",children:m})})})}function fE({activePanel:r,onToggleGuidePanel:f,onToggleColorsPanel:h,activeTheme:m,themeCount:v,onThemeChanged:S,lang:z}){const _=r==="guide",C=r==="colors";return q.jsxs("div",{className:"yama-toolbar__toolbar",id:"dev-bar",tabIndex:0,role:"toolbar","aria-label":cl("toolbar.label",z),style:{background:"linear-gradient(180deg, #13151A 0%, rgba(19, 21, 26, 0.88) 100%)"},children:[q.jsx(ab,{label:cl(_?"guide.close":"guide.open",z),onClick:f,children:q.jsx(cE,{})}),q.jsx(ab,{label:`${cl("theme.label",z)} ${m}`,onClick:S,disabled:v<=1,children:q.jsx(rE,{})}),q.jsx(ab,{label:cl(C?"colors.close":"colors.open",z),onClick:h,children:q.jsx(sE,{})})]})}function ub(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var js=ub();function YS(r){js=r}var Hs={exec:()=>null};function Od(r){let f=[];return h=>{let m=Math.max(0,Math.min(3,h-1)),v=f[m];return v||(v=r(m),f[m]=v),v}}function ct(r,f=""){let h=typeof r=="string"?r:r.source,m={replace:(v,S)=>{let z=typeof S=="string"?S:S.source;return z=z.replace(Zl.caret,"$1"),h=h.replace(v,z),m},getRegex:()=>new RegExp(h,f)};return m}var dE=((r="")=>{try{return!!new RegExp("(?<=1)(?<!1)"+r)}catch{return!1}})(),Zl={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:r=>new RegExp(`^( {0,3}${r})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:Od(r=>new RegExp(`^ {0,${r}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),hrRegex:Od(r=>new RegExp(`^ {0,${r}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)),fencesBeginRegex:Od(r=>new RegExp(`^ {0,${r}}(?:\`\`\`|~~~)`)),headingBeginRegex:Od(r=>new RegExp(`^ {0,${r}}#`)),htmlBeginRegex:Od(r=>new RegExp(`^ {0,${r}}<(?:[a-z].*>|!--)`,"i")),blockquoteBeginRegex:Od(r=>new RegExp(`^ {0,${r}}>`))},hE=/^(?:[ \t]*(?:\n|$))+/,mE=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,pE=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,nm=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,gE=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,ib=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,kS=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,GS=ct(kS).replace(/bull/g,ib).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),yE=ct(kS).replace(/bull/g,ib).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),ob=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,vE=/^[^\n]+/,cb=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,bE=ct(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",cb).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),SE=ct(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g,ib).getRegex(),py="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",rb=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,TE=ct("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",rb).replace("tag",py).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),LS=ct(ob).replace("hr",nm).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",py).getRegex(),zE=ct(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",LS).getRegex(),sb={blockquote:zE,code:mE,def:bE,fences:pE,heading:gE,hr:nm,html:TE,lheading:GS,list:SE,newline:hE,paragraph:LS,table:Hs,text:vE},VS=ct("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",nm).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",py).getRegex(),EE={...sb,lheading:yE,table:VS,paragraph:ct(ob).replace("hr",nm).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",VS).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",py).getRegex()},_E={...sb,html:ct(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",rb).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Hs,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:ct(ob).replace("hr",nm).replace("heading",` *#{1,6} *[^
|
|
237
|
+
]`).replace("lheading",GS).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},AE=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,xE=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,XS=/^( {2,}|\\)\n(?!\s*$)/,RE=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,wd=/[\p{P}\p{S}]/u,gy=/[\s\p{P}\p{S}]/u,fb=/[^\s\p{P}\p{S}]/u,DE=ct(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,gy).getRegex(),QS=/(?!~)[\p{P}\p{S}]/u,OE=/(?!~)[\s\p{P}\p{S}]/u,wE=/(?:[^\s\p{P}\p{S}]|~)/u,ME=ct(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",dE?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),$S=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,CE=ct($S,"u").replace(/punct/g,wd).getRegex(),UE=ct($S,"u").replace(/punct/g,QS).getRegex(),JS="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",jE=ct(JS,"gu").replace(/notPunctSpace/g,fb).replace(/punctSpace/g,gy).replace(/punct/g,wd).getRegex(),HE=ct(JS,"gu").replace(/notPunctSpace/g,wE).replace(/punctSpace/g,OE).replace(/punct/g,QS).getRegex(),NE=ct("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,fb).replace(/punctSpace/g,gy).replace(/punct/g,wd).getRegex(),BE=ct(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,wd).getRegex(),ZE="^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)",qE=ct(ZE,"gu").replace(/notPunctSpace/g,fb).replace(/punctSpace/g,gy).replace(/punct/g,wd).getRegex(),YE=ct(/\\(punct)/,"gu").replace(/punct/g,wd).getRegex(),kE=ct(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),GE=ct(rb).replace("(?:-->|$)","-->").getRegex(),LE=ct("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",GE).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),yy=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,VE=ct(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",yy).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),KS=ct(/^!?\[(label)\]\[(ref)\]/).replace("label",yy).replace("ref",cb).getRegex(),WS=ct(/^!?\[(ref)\](?:\[\])?/).replace("ref",cb).getRegex(),XE=ct("reflink|nolink(?!\\()","g").replace("reflink",KS).replace("nolink",WS).getRegex(),FS=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,db={_backpedal:Hs,anyPunctuation:YE,autolink:kE,blockSkip:ME,br:XS,code:xE,del:Hs,delLDelim:Hs,delRDelim:Hs,emStrongLDelim:CE,emStrongRDelimAst:jE,emStrongRDelimUnd:NE,escape:AE,link:VE,nolink:WS,punctuation:DE,reflink:KS,reflinkSearch:XE,tag:LE,text:RE,url:Hs},QE={...db,link:ct(/^!?\[(label)\]\((.*?)\)/).replace("label",yy).getRegex(),reflink:ct(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",yy).getRegex()},hb={...db,emStrongRDelimAst:HE,emStrongLDelim:UE,delLDelim:BE,delRDelim:qE,url:ct(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",FS).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:ct(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",FS).getRegex()},$E={...hb,br:ct(XS).replace("{2,}","*").getRegex(),text:ct(hb.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},vy={normal:sb,gfm:EE,pedantic:_E},lm={normal:db,gfm:hb,breaks:$E,pedantic:QE},JE={"&":"&","<":"<",">":">",'"':""","'":"'"},IS=r=>JE[r];function Pi(r,f){if(f){if(Zl.escapeTest.test(r))return r.replace(Zl.escapeReplace,IS)}else if(Zl.escapeTestNoEncode.test(r))return r.replace(Zl.escapeReplaceNoEncode,IS);return r}function PS(r){try{r=encodeURI(r).replace(Zl.percentDecode,"%")}catch{return null}return r}function e5(r,f){let h=r.replace(Zl.findPipe,(S,z,_)=>{let C=!1,R=z;for(;--R>=0&&_[R]==="\\";)C=!C;return C?"|":" |"}),m=h.split(Zl.splitPipe),v=0;if(m[0].trim()||m.shift(),m.length>0&&!m.at(-1)?.trim()&&m.pop(),f)if(m.length>f)m.splice(f);else for(;m.length<f;)m.push("");for(;v<m.length;v++)m[v]=m[v].trim().replace(Zl.slashPipe,"|");return m}function tr(r,f,h){let m=r.length;if(m===0)return"";let v=0;for(;v<m&&r.charAt(m-v-1)===f;)v++;return r.slice(0,m-v)}function t5(r){let f=r.split(`
|
|
238
|
+
`),h=f.length-1;for(;h>=0&&Zl.blankLine.test(f[h]);)h--;return f.length-h<=2?r:f.slice(0,h+1).join(`
|
|
239
|
+
`)}function KE(r,f){if(r.indexOf(f[1])===-1)return-1;let h=0;for(let m=0;m<r.length;m++)if(r[m]==="\\")m++;else if(r[m]===f[0])h++;else if(r[m]===f[1]&&(h--,h<0))return m;return h>0?-2:-1}function WE(r,f=0){let h=f,m="";for(let v of r)if(v===" "){let S=4-h%4;m+=" ".repeat(S),h+=S}else m+=v,h++;return m}function n5(r,f,h,m,v){let S=f.href,z=f.title||null,_=r[1].replace(v.other.outputLinkReplace,"$1");m.state.inLink=!0;let C={type:r[0].charAt(0)==="!"?"image":"link",raw:h,href:S,title:z,text:_,tokens:m.inlineTokens(_)};return m.state.inLink=!1,C}function FE(r,f,h){let m=r.match(h.other.indentCodeCompensation);if(m===null)return f;let v=m[1];return f.split(`
|
|
240
|
+
`).map(S=>{let z=S.match(h.other.beginningSpace);if(z===null)return S;let[_]=z;return _.length>=v.length?S.slice(v.length):S}).join(`
|
|
241
|
+
`)}var by=class{options;rules;lexer;constructor(r){this.options=r||js}space(r){let f=this.rules.block.newline.exec(r);if(f&&f[0].length>0)return{type:"space",raw:f[0]}}code(r){let f=this.rules.block.code.exec(r);if(f){let h=this.options.pedantic?f[0]:t5(f[0]),m=h.replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:h,codeBlockStyle:"indented",text:m}}}fences(r){let f=this.rules.block.fences.exec(r);if(f){let h=f[0],m=FE(h,f[3]||"",this.rules);return{type:"code",raw:h,lang:f[2]?f[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):f[2],text:m}}}heading(r){let f=this.rules.block.heading.exec(r);if(f){let h=f[2].trim();if(this.rules.other.endingHash.test(h)){let m=tr(h,"#");(this.options.pedantic||!m||this.rules.other.endingSpaceChar.test(m))&&(h=m.trim())}return{type:"heading",raw:tr(f[0],`
|
|
242
|
+
`),depth:f[1].length,text:h,tokens:this.lexer.inline(h)}}}hr(r){let f=this.rules.block.hr.exec(r);if(f)return{type:"hr",raw:tr(f[0],`
|
|
243
|
+
`)}}blockquote(r){let f=this.rules.block.blockquote.exec(r);if(f){let h=tr(f[0],`
|
|
244
|
+
`).split(`
|
|
245
|
+
`),m="",v="",S=[];for(;h.length>0;){let z=!1,_=[],C;for(C=0;C<h.length;C++)if(this.rules.other.blockquoteStart.test(h[C]))_.push(h[C]),z=!0;else if(!z)_.push(h[C]);else break;h=h.slice(C);let R=_.join(`
|
|
246
|
+
`),V=R.replace(this.rules.other.blockquoteSetextReplace,`
|
|
247
|
+
$1`).replace(this.rules.other.blockquoteSetextReplace2,"");m=m?`${m}
|
|
248
|
+
${R}`:R,v=v?`${v}
|
|
249
|
+
${V}`:V;let x=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(V,S,!0),this.lexer.state.top=x,h.length===0)break;let I=S.at(-1);if(I?.type==="code")break;if(I?.type==="blockquote"){let le=I,ie=le.raw+`
|
|
250
|
+
`+h.join(`
|
|
251
|
+
`),Ye=this.blockquote(ie);S[S.length-1]=Ye,m=m.substring(0,m.length-le.raw.length)+Ye.raw,v=v.substring(0,v.length-le.text.length)+Ye.text;break}else if(I?.type==="list"){let le=I,ie=le.raw+`
|
|
252
|
+
`+h.join(`
|
|
253
|
+
`),Ye=this.list(ie);S[S.length-1]=Ye,m=m.substring(0,m.length-I.raw.length)+Ye.raw,v=v.substring(0,v.length-le.raw.length)+Ye.raw,h=ie.substring(S.at(-1).raw.length).split(`
|
|
254
|
+
`);continue}}return{type:"blockquote",raw:m,tokens:S,text:v}}}list(r){let f=this.rules.block.list.exec(r);if(f){let h=f[1].trim(),m=h.length>1,v={type:"list",raw:"",ordered:m,start:m?+h.slice(0,-1):"",loose:!1,items:[]};h=m?`\\d{1,9}\\${h.slice(-1)}`:`\\${h}`,this.options.pedantic&&(h=m?h:"[*+-]");let S=this.rules.other.listItemRegex(h),z=!1;for(;r;){let C=!1,R="",V="";if(!(f=S.exec(r))||this.rules.block.hr.test(r))break;R=f[0],r=r.substring(R.length);let x=WE(f[2].split(`
|
|
255
|
+
`,1)[0],f[1].length),I=r.split(`
|
|
256
|
+
`,1)[0],le=!x.trim(),ie=0;if(this.options.pedantic?(ie=2,V=x.trimStart()):le?ie=f[1].length+1:(ie=x.search(this.rules.other.nonSpaceChar),ie=ie>4?1:ie,V=x.slice(ie),ie+=f[1].length),le&&this.rules.other.blankLine.test(I)&&(R+=I+`
|
|
257
|
+
`,r=r.substring(I.length+1),C=!0),!C){let Ye=this.rules.other.nextBulletRegex(ie),De=this.rules.other.hrRegex(ie),me=this.rules.other.fencesBeginRegex(ie),un=this.rules.other.headingBeginRegex(ie),ut=this.rules.other.htmlBeginRegex(ie),_t=this.rules.other.blockquoteBeginRegex(ie);for(;r;){let pn=r.split(`
|
|
258
|
+
`,1)[0],rt;if(I=pn,this.options.pedantic?(I=I.replace(this.rules.other.listReplaceNesting," "),rt=I):rt=I.replace(this.rules.other.tabCharGlobal," "),me.test(I)||un.test(I)||ut.test(I)||_t.test(I)||Ye.test(I)||De.test(I))break;if(rt.search(this.rules.other.nonSpaceChar)>=ie||!I.trim())V+=`
|
|
259
|
+
`+rt.slice(ie);else{if(le||x.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||me.test(x)||un.test(x)||De.test(x))break;V+=`
|
|
260
|
+
`+I}le=!I.trim(),R+=pn+`
|
|
261
|
+
`,r=r.substring(pn.length+1),x=rt.slice(ie)}}v.loose||(z?v.loose=!0:this.rules.other.doubleBlankLine.test(R)&&(z=!0)),v.items.push({type:"list_item",raw:R,task:!!this.options.gfm&&this.rules.other.listIsTask.test(V),loose:!1,text:V,tokens:[]}),v.raw+=R}let _=v.items.at(-1);if(_)_.raw=_.raw.trimEnd(),_.text=_.text.trimEnd();else return;v.raw=v.raw.trimEnd();for(let C of v.items){this.lexer.state.top=!1,C.tokens=this.lexer.blockTokens(C.text,[]);let R=C.tokens[0];if(C.task&&(R?.type==="text"||R?.type==="paragraph")){C.text=C.text.replace(this.rules.other.listReplaceTask,""),R.raw=R.raw.replace(this.rules.other.listReplaceTask,""),R.text=R.text.replace(this.rules.other.listReplaceTask,"");for(let x=this.lexer.inlineQueue.length-1;x>=0;x--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[x].src)){this.lexer.inlineQueue[x].src=this.lexer.inlineQueue[x].src.replace(this.rules.other.listReplaceTask,"");break}let V=this.rules.other.listTaskCheckbox.exec(C.raw);if(V){let x={type:"checkbox",raw:V[0]+" ",checked:V[0]!=="[ ]"};C.checked=x.checked,v.loose?C.tokens[0]&&["paragraph","text"].includes(C.tokens[0].type)&&"tokens"in C.tokens[0]&&C.tokens[0].tokens?(C.tokens[0].raw=x.raw+C.tokens[0].raw,C.tokens[0].text=x.raw+C.tokens[0].text,C.tokens[0].tokens.unshift(x)):C.tokens.unshift({type:"paragraph",raw:x.raw,text:x.raw,tokens:[x]}):C.tokens.unshift(x)}}else C.task&&(C.task=!1);if(!v.loose){let V=C.tokens.filter(I=>I.type==="space"),x=V.length>0&&V.some(I=>this.rules.other.anyLine.test(I.raw));v.loose=x}}if(v.loose)for(let C of v.items){C.loose=!0;for(let R of C.tokens)R.type==="text"&&(R.type="paragraph")}return v}}html(r){let f=this.rules.block.html.exec(r);if(f){let h=t5(f[0]);return{type:"html",block:!0,raw:h,pre:f[1]==="pre"||f[1]==="script"||f[1]==="style",text:h}}}def(r){let f=this.rules.block.def.exec(r);if(f){let h=f[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),m=f[2]?f[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",v=f[3]?f[3].substring(1,f[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):f[3];return{type:"def",tag:h,raw:tr(f[0],`
|
|
262
|
+
`),href:m,title:v}}}table(r){let f=this.rules.block.table.exec(r);if(!f||!this.rules.other.tableDelimiter.test(f[2]))return;let h=e5(f[1]),m=f[2].replace(this.rules.other.tableAlignChars,"").split("|"),v=f[3]?.trim()?f[3].replace(this.rules.other.tableRowBlankLine,"").split(`
|
|
263
|
+
`):[],S={type:"table",raw:tr(f[0],`
|
|
264
|
+
`),header:[],align:[],rows:[]};if(h.length===m.length){for(let z of m)this.rules.other.tableAlignRight.test(z)?S.align.push("right"):this.rules.other.tableAlignCenter.test(z)?S.align.push("center"):this.rules.other.tableAlignLeft.test(z)?S.align.push("left"):S.align.push(null);for(let z=0;z<h.length;z++)S.header.push({text:h[z],tokens:this.lexer.inline(h[z]),header:!0,align:S.align[z]});for(let z of v)S.rows.push(e5(z,S.header.length).map((_,C)=>({text:_,tokens:this.lexer.inline(_),header:!1,align:S.align[C]})));return S}}lheading(r){let f=this.rules.block.lheading.exec(r);if(f){let h=f[1].trim();return{type:"heading",raw:tr(f[0],`
|
|
265
|
+
`),depth:f[2].charAt(0)==="="?1:2,text:h,tokens:this.lexer.inline(h)}}}paragraph(r){let f=this.rules.block.paragraph.exec(r);if(f){let h=f[1].charAt(f[1].length-1)===`
|
|
266
|
+
`?f[1].slice(0,-1):f[1];return{type:"paragraph",raw:f[0],text:h,tokens:this.lexer.inline(h)}}}text(r){let f=this.rules.block.text.exec(r);if(f)return{type:"text",raw:f[0],text:f[0],tokens:this.lexer.inline(f[0])}}escape(r){let f=this.rules.inline.escape.exec(r);if(f)return{type:"escape",raw:f[0],text:f[1]}}tag(r){let f=this.rules.inline.tag.exec(r);if(f)return!this.lexer.state.inLink&&this.rules.other.startATag.test(f[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(f[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(f[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(f[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:f[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:f[0]}}link(r){let f=this.rules.inline.link.exec(r);if(f){let h=f[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(h)){if(!this.rules.other.endAngleBracket.test(h))return;let S=tr(h.slice(0,-1),"\\");if((h.length-S.length)%2===0)return}else{let S=KE(f[2],"()");if(S===-2)return;if(S>-1){let z=(f[0].indexOf("!")===0?5:4)+f[1].length+S;f[2]=f[2].substring(0,S),f[0]=f[0].substring(0,z).trim(),f[3]=""}}let m=f[2],v="";if(this.options.pedantic){let S=this.rules.other.pedanticHrefTitle.exec(m);S&&(m=S[1],v=S[3])}else v=f[3]?f[3].slice(1,-1):"";return m=m.trim(),this.rules.other.startAngleBracket.test(m)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(h)?m=m.slice(1):m=m.slice(1,-1)),n5(f,{href:m&&m.replace(this.rules.inline.anyPunctuation,"$1"),title:v&&v.replace(this.rules.inline.anyPunctuation,"$1")},f[0],this.lexer,this.rules)}}reflink(r,f){let h;if((h=this.rules.inline.reflink.exec(r))||(h=this.rules.inline.nolink.exec(r))){let m=(h[2]||h[1]).replace(this.rules.other.multipleSpaceGlobal," "),v=f[m.toLowerCase()];if(!v){let S=h[0].charAt(0);return{type:"text",raw:S,text:S}}return n5(h,v,h[0],this.lexer,this.rules)}}emStrong(r,f,h=""){let m=this.rules.inline.emStrongLDelim.exec(r);if(!(!m||!m[1]&&!m[2]&&!m[3]&&!m[4]||m[4]&&h.match(this.rules.other.unicodeAlphaNumeric))&&(!(m[1]||m[3])||!h||this.rules.inline.punctuation.exec(h))){let v=[...m[0]].length-1,S,z,_=v,C=0,R=m[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(R.lastIndex=0,f=f.slice(-1*r.length+v);(m=R.exec(f))!==null;){if(S=m[1]||m[2]||m[3]||m[4]||m[5]||m[6],!S)continue;if(z=[...S].length,m[3]||m[4]){_+=z;continue}else if((m[5]||m[6])&&v%3&&!((v+z)%3)){C+=z;continue}if(_-=z,_>0)continue;z=Math.min(z,z+_+C);let V=[...m[0]][0].length,x=r.slice(0,v+m.index+V+z);if(Math.min(v,z)%2){let le=x.slice(1,-1);return{type:"em",raw:x,text:le,tokens:this.lexer.inlineTokens(le)}}let I=x.slice(2,-2);return{type:"strong",raw:x,text:I,tokens:this.lexer.inlineTokens(I)}}}}codespan(r){let f=this.rules.inline.code.exec(r);if(f){let h=f[2].replace(this.rules.other.newLineCharGlobal," "),m=this.rules.other.nonSpaceChar.test(h),v=this.rules.other.startingSpaceChar.test(h)&&this.rules.other.endingSpaceChar.test(h);return m&&v&&(h=h.substring(1,h.length-1)),{type:"codespan",raw:f[0],text:h}}}br(r){let f=this.rules.inline.br.exec(r);if(f)return{type:"br",raw:f[0]}}del(r,f,h=""){let m=this.rules.inline.delLDelim.exec(r);if(m&&(!m[1]||!h||this.rules.inline.punctuation.exec(h))){let v=[...m[0]].length-1,S,z,_=v,C=this.rules.inline.delRDelim;for(C.lastIndex=0,f=f.slice(-1*r.length+v);(m=C.exec(f))!==null;){if(S=m[1]||m[2]||m[3]||m[4]||m[5]||m[6],!S||(z=[...S].length,z!==v))continue;if(m[3]||m[4]){_+=z;continue}if(_-=z,_>0)continue;z=Math.min(z,z+_);let R=[...m[0]][0].length,V=r.slice(0,v+m.index+R+z),x=V.slice(v,-v);return{type:"del",raw:V,text:x,tokens:this.lexer.inlineTokens(x)}}}}autolink(r){let f=this.rules.inline.autolink.exec(r);if(f){let h,m;return f[2]==="@"?(h=f[1],m="mailto:"+h):(h=f[1],m=h),{type:"link",raw:f[0],text:h,href:m,tokens:[{type:"text",raw:h,text:h}]}}}url(r){let f;if(f=this.rules.inline.url.exec(r)){let h,m;if(f[2]==="@")h=f[0],m="mailto:"+h;else{let v;do v=f[0],f[0]=this.rules.inline._backpedal.exec(f[0])?.[0]??"";while(v!==f[0]);h=f[0],f[1]==="www."?m="http://"+f[0]:m=f[0]}return{type:"link",raw:f[0],text:h,href:m,tokens:[{type:"text",raw:h,text:h}]}}}inlineText(r){let f=this.rules.inline.text.exec(r);if(f){let h=this.lexer.state.inRawBlock;return{type:"text",raw:f[0],text:f[0],escaped:h}}}},pi=class Y2{tokens;options;state;inlineQueue;tokenizer;constructor(f){this.tokens=[],this.tokens.links=Object.create(null),this.options=f||js,this.options.tokenizer=this.options.tokenizer||new by,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let h={other:Zl,block:vy.normal,inline:lm.normal};this.options.pedantic?(h.block=vy.pedantic,h.inline=lm.pedantic):this.options.gfm&&(h.block=vy.gfm,this.options.breaks?h.inline=lm.breaks:h.inline=lm.gfm),this.tokenizer.rules=h}static get rules(){return{block:vy,inline:lm}}static lex(f,h){return new Y2(h).lex(f)}static lexInline(f,h){return new Y2(h).inlineTokens(f)}lex(f){f=f.replace(Zl.carriageReturn,`
|
|
267
|
+
`),this.blockTokens(f,this.tokens);for(let h=0;h<this.inlineQueue.length;h++){let m=this.inlineQueue[h];this.inlineTokens(m.src,m.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(f,h=[],m=!1){this.tokenizer.lexer=this,this.options.pedantic&&(f=f.replace(Zl.tabCharGlobal," ").replace(Zl.spaceLine,""));let v=1/0;for(;f;){if(f.length<v)v=f.length;else{this.infiniteLoopError(f.charCodeAt(0));break}let S;if(this.options.extensions?.block?.some(_=>(S=_.call({lexer:this},f,h))?(f=f.substring(S.raw.length),h.push(S),!0):!1))continue;if(S=this.tokenizer.space(f)){f=f.substring(S.raw.length);let _=h.at(-1);S.raw.length===1&&_!==void 0?_.raw+=`
|
|
268
|
+
`:h.push(S);continue}if(S=this.tokenizer.code(f)){f=f.substring(S.raw.length);let _=h.at(-1);_?.type==="paragraph"||_?.type==="text"?(_.raw+=(_.raw.endsWith(`
|
|
269
|
+
`)?"":`
|
|
270
|
+
`)+S.raw,_.text+=`
|
|
271
|
+
`+S.text,this.inlineQueue.at(-1).src=_.text):h.push(S);continue}if(S=this.tokenizer.fences(f)){f=f.substring(S.raw.length),h.push(S);continue}if(S=this.tokenizer.heading(f)){f=f.substring(S.raw.length),h.push(S);continue}if(S=this.tokenizer.hr(f)){f=f.substring(S.raw.length),h.push(S);continue}if(S=this.tokenizer.blockquote(f)){f=f.substring(S.raw.length),h.push(S);continue}if(S=this.tokenizer.list(f)){f=f.substring(S.raw.length),h.push(S);continue}if(S=this.tokenizer.html(f)){f=f.substring(S.raw.length),h.push(S);continue}if(S=this.tokenizer.def(f)){f=f.substring(S.raw.length);let _=h.at(-1);_?.type==="paragraph"||_?.type==="text"?(_.raw+=(_.raw.endsWith(`
|
|
272
|
+
`)?"":`
|
|
273
|
+
`)+S.raw,_.text+=`
|
|
274
|
+
`+S.raw,this.inlineQueue.at(-1).src=_.text):this.tokens.links[S.tag]||(this.tokens.links[S.tag]={href:S.href,title:S.title},h.push(S));continue}if(S=this.tokenizer.table(f)){f=f.substring(S.raw.length),h.push(S);continue}if(S=this.tokenizer.lheading(f)){f=f.substring(S.raw.length),h.push(S);continue}let z=f;if(this.options.extensions?.startBlock){let _=1/0,C=f.slice(1),R;this.options.extensions.startBlock.forEach(V=>{R=V.call({lexer:this},C),typeof R=="number"&&R>=0&&(_=Math.min(_,R))}),_<1/0&&_>=0&&(z=f.substring(0,_+1))}if(this.state.top&&(S=this.tokenizer.paragraph(z))){let _=h.at(-1);m&&_?.type==="paragraph"?(_.raw+=(_.raw.endsWith(`
|
|
275
|
+
`)?"":`
|
|
276
|
+
`)+S.raw,_.text+=`
|
|
277
|
+
`+S.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=_.text):h.push(S),m=z.length!==f.length,f=f.substring(S.raw.length);continue}if(S=this.tokenizer.text(f)){f=f.substring(S.raw.length);let _=h.at(-1);_?.type==="text"?(_.raw+=(_.raw.endsWith(`
|
|
278
|
+
`)?"":`
|
|
279
|
+
`)+S.raw,_.text+=`
|
|
280
|
+
`+S.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=_.text):h.push(S);continue}if(f){this.infiniteLoopError(f.charCodeAt(0));break}}return this.state.top=!0,h}inline(f,h=[]){return this.inlineQueue.push({src:f,tokens:h}),h}inlineTokens(f,h=[]){this.tokenizer.lexer=this;let m=f,v=null;if(this.tokens.links){let R=Object.keys(this.tokens.links);if(R.length>0)for(;(v=this.tokenizer.rules.inline.reflinkSearch.exec(m))!==null;)R.includes(v[0].slice(v[0].lastIndexOf("[")+1,-1))&&(m=m.slice(0,v.index)+"["+"a".repeat(v[0].length-2)+"]"+m.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(v=this.tokenizer.rules.inline.anyPunctuation.exec(m))!==null;)m=m.slice(0,v.index)+"++"+m.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let S;for(;(v=this.tokenizer.rules.inline.blockSkip.exec(m))!==null;)S=v[2]?v[2].length:0,m=m.slice(0,v.index+S)+"["+"a".repeat(v[0].length-S-2)+"]"+m.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);m=this.options.hooks?.emStrongMask?.call({lexer:this},m)??m;let z=!1,_="",C=1/0;for(;f;){if(f.length<C)C=f.length;else{this.infiniteLoopError(f.charCodeAt(0));break}z||(_=""),z=!1;let R;if(this.options.extensions?.inline?.some(x=>(R=x.call({lexer:this},f,h))?(f=f.substring(R.raw.length),h.push(R),!0):!1))continue;if(R=this.tokenizer.escape(f)){f=f.substring(R.raw.length),h.push(R);continue}if(R=this.tokenizer.tag(f)){f=f.substring(R.raw.length),h.push(R);continue}if(R=this.tokenizer.link(f)){f=f.substring(R.raw.length),h.push(R);continue}if(R=this.tokenizer.reflink(f,this.tokens.links)){f=f.substring(R.raw.length);let x=h.at(-1);R.type==="text"&&x?.type==="text"?(x.raw+=R.raw,x.text+=R.text):h.push(R);continue}if(R=this.tokenizer.emStrong(f,m,_)){f=f.substring(R.raw.length),h.push(R);continue}if(R=this.tokenizer.codespan(f)){f=f.substring(R.raw.length),h.push(R);continue}if(R=this.tokenizer.br(f)){f=f.substring(R.raw.length),h.push(R);continue}if(R=this.tokenizer.del(f,m,_)){f=f.substring(R.raw.length),h.push(R);continue}if(R=this.tokenizer.autolink(f)){f=f.substring(R.raw.length),h.push(R);continue}if(!this.state.inLink&&(R=this.tokenizer.url(f))){f=f.substring(R.raw.length),h.push(R);continue}let V=f;if(this.options.extensions?.startInline){let x=1/0,I=f.slice(1),le;this.options.extensions.startInline.forEach(ie=>{le=ie.call({lexer:this},I),typeof le=="number"&&le>=0&&(x=Math.min(x,le))}),x<1/0&&x>=0&&(V=f.substring(0,x+1))}if(R=this.tokenizer.inlineText(V)){f=f.substring(R.raw.length),R.raw.slice(-1)!=="_"&&(_=R.raw.slice(-1)),z=!0;let x=h.at(-1);x?.type==="text"?(x.raw+=R.raw,x.text+=R.text):h.push(R);continue}if(f){this.infiniteLoopError(f.charCodeAt(0));break}}return h}infiniteLoopError(f){let h="Infinite loop on byte: "+f;if(this.options.silent)console.error(h);else throw new Error(h)}},Sy=class{options;parser;constructor(r){this.options=r||js}space(r){return""}code({text:r,lang:f,escaped:h}){let m=(f||"").match(Zl.notSpaceStart)?.[0],v=r.replace(Zl.endingNewline,"")+`
|
|
281
|
+
`;return m?'<pre><code class="language-'+Pi(m)+'">'+(h?v:Pi(v,!0))+`</code></pre>
|
|
282
|
+
`:"<pre><code>"+(h?v:Pi(v,!0))+`</code></pre>
|
|
283
|
+
`}blockquote({tokens:r}){return`<blockquote>
|
|
284
|
+
${this.parser.parse(r)}</blockquote>
|
|
285
|
+
`}html({text:r}){return r}def(r){return""}heading({tokens:r,depth:f}){return`<h${f}>${this.parser.parseInline(r)}</h${f}>
|
|
286
|
+
`}hr(r){return`<hr>
|
|
287
|
+
`}list(r){let f=r.ordered,h=r.start,m="";for(let z=0;z<r.items.length;z++){let _=r.items[z];m+=this.listitem(_)}let v=f?"ol":"ul",S=f&&h!==1?' start="'+h+'"':"";return"<"+v+S+`>
|
|
288
|
+
`+m+"</"+v+`>
|
|
289
|
+
`}listitem(r){return`<li>${this.parser.parse(r.tokens)}</li>
|
|
290
|
+
`}checkbox({checked:r}){return"<input "+(r?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph({tokens:r}){return`<p>${this.parser.parseInline(r)}</p>
|
|
291
|
+
`}table(r){let f="",h="";for(let v=0;v<r.header.length;v++)h+=this.tablecell(r.header[v]);f+=this.tablerow({text:h});let m="";for(let v=0;v<r.rows.length;v++){let S=r.rows[v];h="";for(let z=0;z<S.length;z++)h+=this.tablecell(S[z]);m+=this.tablerow({text:h})}return m&&(m=`<tbody>${m}</tbody>`),`<table>
|
|
292
|
+
<thead>
|
|
293
|
+
`+f+`</thead>
|
|
294
|
+
`+m+`</table>
|
|
295
|
+
`}tablerow({text:r}){return`<tr>
|
|
296
|
+
${r}</tr>
|
|
297
|
+
`}tablecell(r){let f=this.parser.parseInline(r.tokens),h=r.header?"th":"td";return(r.align?`<${h} align="${r.align}">`:`<${h}>`)+f+`</${h}>
|
|
298
|
+
`}strong({tokens:r}){return`<strong>${this.parser.parseInline(r)}</strong>`}em({tokens:r}){return`<em>${this.parser.parseInline(r)}</em>`}codespan({text:r}){return`<code>${Pi(r,!0)}</code>`}br(r){return"<br>"}del({tokens:r}){return`<del>${this.parser.parseInline(r)}</del>`}link({href:r,title:f,tokens:h}){let m=this.parser.parseInline(h),v=PS(r);if(v===null)return m;r=v;let S='<a href="'+r+'"';return f&&(S+=' title="'+Pi(f)+'"'),S+=">"+m+"</a>",S}image({href:r,title:f,text:h,tokens:m}){m&&(h=this.parser.parseInline(m,this.parser.textRenderer));let v=PS(r);if(v===null)return Pi(h);r=v;let S=`<img src="${r}" alt="${Pi(h)}"`;return f&&(S+=` title="${Pi(f)}"`),S+=">",S}text(r){return"tokens"in r&&r.tokens?this.parser.parseInline(r.tokens):"escaped"in r&&r.escaped?r.text:Pi(r.text)}},mb=class{strong({text:r}){return r}em({text:r}){return r}codespan({text:r}){return r}del({text:r}){return r}html({text:r}){return r}text({text:r}){return r}link({text:r}){return""+r}image({text:r}){return""+r}br(){return""}checkbox({raw:r}){return r}},gi=class k2{options;renderer;textRenderer;constructor(f){this.options=f||js,this.options.renderer=this.options.renderer||new Sy,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new mb}static parse(f,h){return new k2(h).parse(f)}static parseInline(f,h){return new k2(h).parseInline(f)}parse(f){this.renderer.parser=this;let h="";for(let m=0;m<f.length;m++){let v=f[m];if(this.options.extensions?.renderers?.[v.type]){let z=v,_=this.options.extensions.renderers[z.type].call({parser:this},z);if(_!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(z.type)){h+=_||"";continue}}let S=v;switch(S.type){case"space":{h+=this.renderer.space(S);break}case"hr":{h+=this.renderer.hr(S);break}case"heading":{h+=this.renderer.heading(S);break}case"code":{h+=this.renderer.code(S);break}case"table":{h+=this.renderer.table(S);break}case"blockquote":{h+=this.renderer.blockquote(S);break}case"list":{h+=this.renderer.list(S);break}case"checkbox":{h+=this.renderer.checkbox(S);break}case"html":{h+=this.renderer.html(S);break}case"def":{h+=this.renderer.def(S);break}case"paragraph":{h+=this.renderer.paragraph(S);break}case"text":{h+=this.renderer.text(S);break}default:{let z='Token with "'+S.type+'" type was not found.';if(this.options.silent)return console.error(z),"";throw new Error(z)}}}return h}parseInline(f,h=this.renderer){this.renderer.parser=this;let m="";for(let v=0;v<f.length;v++){let S=f[v];if(this.options.extensions?.renderers?.[S.type]){let _=this.options.extensions.renderers[S.type].call({parser:this},S);if(_!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(S.type)){m+=_||"";continue}}let z=S;switch(z.type){case"escape":{m+=h.text(z);break}case"html":{m+=h.html(z);break}case"link":{m+=h.link(z);break}case"image":{m+=h.image(z);break}case"checkbox":{m+=h.checkbox(z);break}case"strong":{m+=h.strong(z);break}case"em":{m+=h.em(z);break}case"codespan":{m+=h.codespan(z);break}case"br":{m+=h.br(z);break}case"del":{m+=h.del(z);break}case"text":{m+=h.text(z);break}default:{let _='Token with "'+z.type+'" type was not found.';if(this.options.silent)return console.error(_),"";throw new Error(_)}}}return m}},am=class{options;block;constructor(r){this.options=r||js}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(r){return r}postprocess(r){return r}processAllTokens(r){return r}emStrongMask(r){return r}provideLexer(r=this.block){return r?pi.lex:pi.lexInline}provideParser(r=this.block){return r?gi.parse:gi.parseInline}},IE=class{defaults=ub();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=gi;Renderer=Sy;TextRenderer=mb;Lexer=pi;Tokenizer=by;Hooks=am;constructor(...r){this.use(...r)}walkTokens(r,f){let h=[];for(let m of r)switch(h=h.concat(f.call(this,m)),m.type){case"table":{let v=m;for(let S of v.header)h=h.concat(this.walkTokens(S.tokens,f));for(let S of v.rows)for(let z of S)h=h.concat(this.walkTokens(z.tokens,f));break}case"list":{let v=m;h=h.concat(this.walkTokens(v.items,f));break}default:{let v=m;this.defaults.extensions?.childTokens?.[v.type]?this.defaults.extensions.childTokens[v.type].forEach(S=>{let z=v[S].flat(1/0);h=h.concat(this.walkTokens(z,f))}):v.tokens&&(h=h.concat(this.walkTokens(v.tokens,f)))}}return h}use(...r){let f=this.defaults.extensions||{renderers:{},childTokens:{}};return r.forEach(h=>{let m={...h};if(m.async=this.defaults.async||m.async||!1,h.extensions&&(h.extensions.forEach(v=>{if(!v.name)throw new Error("extension name required");if("renderer"in v){let S=f.renderers[v.name];S?f.renderers[v.name]=function(...z){let _=v.renderer.apply(this,z);return _===!1&&(_=S.apply(this,z)),_}:f.renderers[v.name]=v.renderer}if("tokenizer"in v){if(!v.level||v.level!=="block"&&v.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let S=f[v.level];S?S.unshift(v.tokenizer):f[v.level]=[v.tokenizer],v.start&&(v.level==="block"?f.startBlock?f.startBlock.push(v.start):f.startBlock=[v.start]:v.level==="inline"&&(f.startInline?f.startInline.push(v.start):f.startInline=[v.start]))}"childTokens"in v&&v.childTokens&&(f.childTokens[v.name]=v.childTokens)}),m.extensions=f),h.renderer){let v=this.defaults.renderer||new Sy(this.defaults);for(let S in h.renderer){if(!(S in v))throw new Error(`renderer '${S}' does not exist`);if(["options","parser"].includes(S))continue;let z=S,_=h.renderer[z],C=v[z];v[z]=(...R)=>{let V=_.apply(v,R);return V===!1&&(V=C.apply(v,R)),V||""}}m.renderer=v}if(h.tokenizer){let v=this.defaults.tokenizer||new by(this.defaults);for(let S in h.tokenizer){if(!(S in v))throw new Error(`tokenizer '${S}' does not exist`);if(["options","rules","lexer"].includes(S))continue;let z=S,_=h.tokenizer[z],C=v[z];v[z]=(...R)=>{let V=_.apply(v,R);return V===!1&&(V=C.apply(v,R)),V}}m.tokenizer=v}if(h.hooks){let v=this.defaults.hooks||new am;for(let S in h.hooks){if(!(S in v))throw new Error(`hook '${S}' does not exist`);if(["options","block"].includes(S))continue;let z=S,_=h.hooks[z],C=v[z];am.passThroughHooks.has(S)?v[z]=R=>{if(this.defaults.async&&am.passThroughHooksRespectAsync.has(S))return(async()=>{let x=await _.call(v,R);return C.call(v,x)})();let V=_.call(v,R);return C.call(v,V)}:v[z]=(...R)=>{if(this.defaults.async)return(async()=>{let x=await _.apply(v,R);return x===!1&&(x=await C.apply(v,R)),x})();let V=_.apply(v,R);return V===!1&&(V=C.apply(v,R)),V}}m.hooks=v}if(h.walkTokens){let v=this.defaults.walkTokens,S=h.walkTokens;m.walkTokens=function(z){let _=[];return _.push(S.call(this,z)),v&&(_=_.concat(v.call(this,z))),_}}this.defaults={...this.defaults,...m}}),this}setOptions(r){return this.defaults={...this.defaults,...r},this}lexer(r,f){return pi.lex(r,f??this.defaults)}parser(r,f){return gi.parse(r,f??this.defaults)}parseMarkdown(r){return(f,h)=>{let m={...h},v={...this.defaults,...m},S=this.onError(!!v.silent,!!v.async);if(this.defaults.async===!0&&m.async===!1)return S(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof f>"u"||f===null)return S(new Error("marked(): input parameter is undefined or null"));if(typeof f!="string")return S(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(f)+", string expected"));if(v.hooks&&(v.hooks.options=v,v.hooks.block=r),v.async)return(async()=>{let z=v.hooks?await v.hooks.preprocess(f):f,_=await(v.hooks?await v.hooks.provideLexer(r):r?pi.lex:pi.lexInline)(z,v),C=v.hooks?await v.hooks.processAllTokens(_):_;v.walkTokens&&await Promise.all(this.walkTokens(C,v.walkTokens));let R=await(v.hooks?await v.hooks.provideParser(r):r?gi.parse:gi.parseInline)(C,v);return v.hooks?await v.hooks.postprocess(R):R})().catch(S);try{v.hooks&&(f=v.hooks.preprocess(f));let z=(v.hooks?v.hooks.provideLexer(r):r?pi.lex:pi.lexInline)(f,v);v.hooks&&(z=v.hooks.processAllTokens(z)),v.walkTokens&&this.walkTokens(z,v.walkTokens);let _=(v.hooks?v.hooks.provideParser(r):r?gi.parse:gi.parseInline)(z,v);return v.hooks&&(_=v.hooks.postprocess(_)),_}catch(z){return S(z)}}}onError(r,f){return h=>{if(h.message+=`
|
|
299
|
+
Please report this to https://github.com/markedjs/marked.`,r){let m="<p>An error occurred:</p><pre>"+Pi(h.message+"",!0)+"</pre>";return f?Promise.resolve(m):m}if(f)return Promise.reject(h);throw h}}},Ns=new IE;function Et(r,f){return Ns.parse(r,f)}Et.options=Et.setOptions=function(r){return Ns.setOptions(r),Et.defaults=Ns.defaults,YS(Et.defaults),Et},Et.getDefaults=ub,Et.defaults=js,Et.use=function(...r){return Ns.use(...r),Et.defaults=Ns.defaults,YS(Et.defaults),Et},Et.walkTokens=function(r,f){return Ns.walkTokens(r,f)},Et.parseInline=Ns.parseInline,Et.Parser=gi,Et.parser=gi.parse,Et.Renderer=Sy,Et.TextRenderer=mb,Et.Lexer=pi,Et.lexer=pi.lex,Et.Tokenizer=by,Et.Hooks=am,Et.parse=Et,Et.options,Et.setOptions,Et.use,Et.walkTokens,Et.parseInline,gi.parse,pi.lex;function PE(){const r={fill:"none",stroke:"currentColor",strokeWidth:1.5};return q.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":!0,...r,children:q.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 3.75v4.5m0-4.5h4.5m-4.5 0L9 9M3.75 20.25v-4.5m0 4.5h4.5m-4.5 0L9 15M20.25 3.75h-4.5m4.5 0v4.5m0-4.5L15 9m5.25 11.25h-4.5m4.5 0v-4.5m0 4.5L15 15"})})}function e_(){const r={fill:"none",stroke:"currentColor",strokeWidth:1.5};return q.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":!0,...r,children:q.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 9V4.5M9 9H4.5M9 9L3.75 3.75M9 15v4.5M9 15H4.5M9 15l-5.25 5.25M15 9h4.5M15 9V4.5M15 9l5.25-5.25M15 15h4.5M15 15v4.5m0-4.5l5.25 5.25"})})}const t_="[data-yama-guide-fullscreen]",n_=ne.memo(function({isOpen:f,guideFallbackLang:h,lang:m}){const[v,S]=ne.useState(""),[z,_]=ne.useState(!1),C=ne.useMemo(()=>({__html:v}),[v]);ne.useEffect(()=>{f||_(!1)},[f]),ne.useEffect(()=>{if(!f||!z)return;const V=x=>{x.key==="Escape"&&_(!1)};return window.addEventListener("keydown",V),()=>window.removeEventListener("keydown",V)},[f,z]),ne.useEffect(()=>{if(!z||!f)return;const V=document.documentElement,x=V.style.overflow;return V.style.overflow="hidden",()=>{V.style.overflow=x}},[z,f]),ne.useEffect(()=>{if(!f||v)return;let V=!1;return(async()=>{try{let x="";const I=[document.documentElement.lang,h].filter(le=>!!le);for(const le of I){const ie=await fetch(`/guide/guide.${le}.md`);if(ie.ok){let Ye=await ie.text();if(Ye.startsWith("<!doctype html>")){console.info("No guide found for language",le);continue}x=Ye;break}}if(!x){S(Et.parse(cl("guide.empty",m)));return}V||S(Et.parse(x))}catch{V||S(Et.parse(cl("guide.empty",m)))}})(),()=>{V=!0}},[f,v,h,m]);const R=q.jsx("div",{className:nb("panel","main-panel",f?"panel--open":"panel--closed",z&&"main-panel--fullscreen"),"aria-hidden":!f,inert:f?void 0:!0,"data-yama-guide-fullscreen":f&&z?"":void 0,style:{background:"linear-gradient(180deg, #13151A 0%, rgba(19, 21, 26, 0.88) 100%)"},children:q.jsxs("div",{className:"main-panel__shell",children:[q.jsxs("div",{className:"panel__header",children:[q.jsx("p",{className:"panel__title",children:cl("guide.open",m)}),q.jsx("div",{className:"panel__spacer"}),q.jsx(lb,{label:cl(z?"guide.fullscreen.exit":"guide.fullscreen.enter",m),placement:z?"bottom-right":"top-right",children:q.jsx("button",{type:"button",className:"main-panel__fullscreen-btn",onClick:()=>_(V=>!V),"aria-pressed":z,"aria-label":cl(z?"guide.fullscreen.exit":"guide.fullscreen.enter",m),children:z?q.jsx(e_,{}):q.jsx(PE,{})})})]}),q.jsx("div",{className:"panel__body main-panel__body",children:v&&q.jsx("div",{className:"main-panel__prose-container",children:q.jsx("div",{className:"main-panel__prose",dangerouslySetInnerHTML:C})})})]})});return f&&z?er.createPortal(R,document.body):R});function l_({initialThemes:r,guideDisplayOnMount:f,guideFallbackLang:h}){const[m,v]=ne.useState(()=>f?"guide":"none"),S=ne.useRef(null),z=document.documentElement.lang;ne.useEffect(()=>{if(m==="none")return;const me=un=>{const ut=S.current,_t=un.target;!ut||!(_t instanceof Node)||_t instanceof Element&&_t.closest(t_)||ut.contains(_t)||v("none")};return document.addEventListener("pointerdown",me,!0),()=>document.removeEventListener("pointerdown",me,!0)},[m]);const _=me=>Xv(`${cl("theme.changed",z)} ${me}`),{themes:C,activeTheme:R,themeNames:V,activeVars:x,changeTheme:I,updateVar:le}=aE(r,{onThemeChanged:_}),ie=async()=>{try{await navigator.clipboard.writeText(JSON.stringify(C,null,2)),Xv.success(cl("copy.success",z))}catch{Xv.error(cl("copy.error",z))}},Ye=()=>{v(me=>me==="guide"?"none":"guide")},De=()=>{v(me=>me==="colors"?"none":"colors")};return q.jsxs(q.Fragment,{children:[q.jsx(W4,{position:"top-center",richColors:!0}),q.jsx("div",{className:"yama-toolbar","data-placement":"bottom-center","data-panel-open":m!=="none"?"":void 0,children:q.jsxs("div",{className:"yama-toolbar__content",children:[q.jsxs("div",{className:"yama-toolbar__inner",ref:S,children:[q.jsx(fE,{activePanel:m,onToggleGuidePanel:Ye,onToggleColorsPanel:De,activeTheme:R,themeCount:V.length,onThemeChanged:()=>I(),lang:z}),q.jsx(oE,{activeTheme:R,activeVars:x,isOpen:m==="colors",onCopyExport:ie,onUpdateVar:le,lang:z}),q.jsx(n_,{isOpen:m==="guide",guideFallbackLang:h,lang:z})]}),q.jsx("div",{className:"yama-toolbar__spacer","aria-hidden":!0})]})})]})}const l5=()=>{const r=eE.parse(JSON.parse(document.body.dataset.yttColors??"{}")),f=document.body.dataset.yttDisplayGuide==="true",h=document.body.dataset.yttGuideFallbackLang;if(Object.keys(r).length===0){console.error("[yama-toolbar] no themes found in data-yama-colors");return}const m=document.createElement("div");m.id="yama-toolbar",document.body.appendChild(m),E4.createRoot(m).render(q.jsx(l_,{initialThemes:r,guideDisplayOnMount:f,guideFallbackLang:h}))};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",l5):l5()}));
|