var uf=Object.defineProperty;var af=(e,t,n)=>t in e?uf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var sr=(e,t,n)=>af(e,typeof t!="symbol"?t+"":t,n);import{r as g,g as sf,a as cf}from"./jsx-runtime-BMrMXMSG.js";import{l as ff,D as po,f as vl,R as df,g as pf,N as nr,s as Nt,h as mo,d as mf,u as fn,i as yl,j as hi,b as hf,k as vf,n as gl,o as yf,p as gf,q as wf,r as yu,t as Sf,A as Ef,v as kf,w as Da,x as xf,y as Fa,E as Wr,z as Cf,m as Ia,B as _f,C as Lf}from"./index-XrU1i-Uc.js";function Rf(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const l in r)if(l!=="default"&&!(l in e)){const i=Object.getOwnPropertyDescriptor(r,l);i&&Object.defineProperty(e,l,i.get?i:{enumerable:!0,get:()=>r[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var Ma={exports:{}},we={},ja={exports:{}},Aa={};/**
 * @license React
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */(function(e){function t(P,z){var O=P.length;P.push(z);e:for(;0<O;){var Q=O-1>>>1,Z=P[Q];if(0<l(Z,z))P[Q]=z,P[O]=Z,O=Q;else break e}}function n(P){return P.length===0?null:P[0]}function r(P){if(P.length===0)return null;var z=P[0],O=P.pop();if(O!==z){P[0]=O;e:for(var Q=0,Z=P.length,ur=Z>>>1;Q<ur;){var St=2*(Q+1)-1,Ul=P[St],Et=St+1,ar=P[Et];if(0>l(Ul,O))Et<Z&&0>l(ar,Ul)?(P[Q]=ar,P[Et]=O,Q=Et):(P[Q]=Ul,P[St]=O,Q=St);else if(Et<Z&&0>l(ar,O))P[Q]=ar,P[Et]=O,Q=Et;else break e}}return z}function l(P,z){var O=P.sortIndex-z.sortIndex;return O!==0?O:P.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,u=o.now();e.unstable_now=function(){return o.now()-u}}var a=[],s=[],h=1,d=null,f=3,w=!1,v=!1,S=!1,L=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(P){for(var z=n(s);z!==null;){if(z.callback===null)r(s);else if(z.startTime<=P)r(s),z.sortIndex=z.expirationTime,t(a,z);else break;z=n(s)}}function y(P){if(S=!1,m(P),!v)if(n(a)!==null)v=!0,wt(k);else{var z=n(s);z!==null&&Al(y,z.startTime-P)}}function k(P,z){v=!1,S&&(S=!1,p(x),x=-1),w=!0;var O=f;try{for(m(z),d=n(a);d!==null&&(!(d.expirationTime>z)||P&&!I());){var Q=d.callback;if(typeof Q=="function"){d.callback=null,f=d.priorityLevel;var Z=Q(d.expirationTime<=z);z=e.unstable_now(),typeof Z=="function"?d.callback=Z:d===n(a)&&r(a),m(z)}else r(a);d=n(a)}if(d!==null)var ur=!0;else{var St=n(s);St!==null&&Al(y,St.startTime-z),ur=!1}return ur}finally{d=null,f=O,w=!1}}var E=!1,C=null,x=-1,T=5,N=-1;function I(){return!(e.unstable_now()-N<T)}function V(){if(C!==null){var P=e.unstable_now();N=P;var z=!0;try{z=C(!0,P)}finally{z?$e():(E=!1,C=null)}}else E=!1}var $e;if(typeof c=="function")$e=function(){c(V)};else if(typeof MessageChannel<"u"){var Ee=new MessageChannel,ke=Ee.port2;Ee.port1.onmessage=V,$e=function(){ke.postMessage(null)}}else $e=function(){L(V,0)};function wt(P){C=P,E||(E=!0,$e())}function Al(P,z){x=L(function(){P(e.unstable_now())},z)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(P){P.callback=null},e.unstable_continueExecution=function(){v||w||(v=!0,wt(k))},e.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<P?Math.floor(1e3/P):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(P){switch(f){case 1:case 2:case 3:var z=3;break;default:z=f}var O=f;f=z;try{return P()}finally{f=O}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(P,z){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var O=f;f=P;try{return z()}finally{f=O}},e.unstable_scheduleCallback=function(P,z,O){var Q=e.unstable_now();switch(typeof O=="object"&&O!==null?(O=O.delay,O=typeof O=="number"&&0<O?Q+O:Q):O=Q,P){case 1:var Z=-1;break;case 2:Z=250;break;case 5:Z=1073741823;break;case 4:Z=1e4;break;default:Z=5e3}return Z=O+Z,P={id:h++,callback:z,priorityLevel:P,startTime:O,expirationTime:Z,sortIndex:-1},O>Q?(P.sortIndex=O,t(s,P),n(a)===null&&P===n(s)&&(S?(p(x),x=-1):S=!0,Al(y,O-Q))):(P.sortIndex=Z,t(a,P),v||w||(v=!0,wt(k))),P},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(P){var z=f;return function(){var O=f;f=z;try{return P.apply(this,arguments)}finally{f=O}}}})(Aa);ja.exports=Aa;var Pf=ja.exports;/**
 * @license React
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Nf=g,ge=Pf;function _(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Ua=new Set,An={};function Mt(e,t){rn(e,t),rn(e+"Capture",t)}function rn(e,t){for(An[e]=t,e=0;e<t.length;e++)Ua.add(t[e])}var Ye=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),vi=Object.prototype.hasOwnProperty,Tf=/^[: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]*$/,gu={},wu={};function zf(e){return vi.call(wu,e)?!0:vi.call(gu,e)?!1:Tf.test(e)?wu[e]=!0:(gu[e]=!0,!1)}function Of(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Df(e,t,n,r){if(t===null||typeof t>"u"||Of(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function se(e,t,n,r,l,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var ne={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ne[e]=new se(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ne[t]=new se(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ne[e]=new se(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ne[e]=new se(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ne[e]=new se(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ne[e]=new se(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ne[e]=new se(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ne[e]=new se(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ne[e]=new se(e,5,!1,e.toLowerCase(),null,!1,!1)});var ho=/[\-:]([a-z])/g;function vo(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(ho,vo);ne[t]=new se(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ho,vo);ne[t]=new se(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ho,vo);ne[t]=new se(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ne[e]=new se(e,1,!1,e.toLowerCase(),null,!1,!1)});ne.xlinkHref=new se("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ne[e]=new se(e,1,!1,e.toLowerCase(),null,!0,!0)});function yo(e,t,n,r){var l=ne.hasOwnProperty(t)?ne[t]:null;(l!==null?l.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Df(t,n,l,r)&&(n=null),r||l===null?zf(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):l.mustUseProperty?e[l.propertyName]=n===null?l.type===3?!1:"":n:(t=l.attributeName,r=l.attributeNamespace,n===null?e.removeAttribute(t):(l=l.type,n=l===3||l===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var qe=Nf.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,cr=Symbol.for("react.element"),Ut=Symbol.for("react.portal"),Ht=Symbol.for("react.fragment"),go=Symbol.for("react.strict_mode"),yi=Symbol.for("react.profiler"),Ha=Symbol.for("react.provider"),$a=Symbol.for("react.context"),wo=Symbol.for("react.forward_ref"),gi=Symbol.for("react.suspense"),wi=Symbol.for("react.suspense_list"),So=Symbol.for("react.memo"),et=Symbol.for("react.lazy"),Ba=Symbol.for("react.offscreen"),Su=Symbol.iterator;function hn(e){return e===null||typeof e!="object"?null:(e=Su&&e[Su]||e["@@iterator"],typeof e=="function"?e:null)}var B=Object.assign,Hl;function _n(e){if(Hl===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Hl=t&&t[1]||""}return`
`+Hl+e}var $l=!1;function Bl(e,t){if(!e||$l)return"";$l=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var r=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){r=s}e.call(t.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&typeof s.stack=="string"){for(var l=s.stack.split(`
`),i=r.stack.split(`
`),o=l.length-1,u=i.length-1;1<=o&&0<=u&&l[o]!==i[u];)u--;for(;1<=o&&0<=u;o--,u--)if(l[o]!==i[u]){if(o!==1||u!==1)do if(o--,u--,0>u||l[o]!==i[u]){var a=`
`+l[o].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=o&&0<=u);break}}}finally{$l=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?_n(e):""}function Ff(e){switch(e.tag){case 5:return _n(e.type);case 16:return _n("Lazy");case 13:return _n("Suspense");case 19:return _n("SuspenseList");case 0:case 2:case 15:return e=Bl(e.type,!1),e;case 11:return e=Bl(e.type.render,!1),e;case 1:return e=Bl(e.type,!0),e;default:return""}}function Si(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ht:return"Fragment";case Ut:return"Portal";case yi:return"Profiler";case go:return"StrictMode";case gi:return"Suspense";case wi:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case $a:return(e.displayName||"Context")+".Consumer";case Ha:return(e._context.displayName||"Context")+".Provider";case wo:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case So:return t=e.displayName||null,t!==null?t:Si(e.type)||"Memo";case et:t=e._payload,e=e._init;try{return Si(e(t))}catch{}}return null}function If(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Si(t);case 8:return t===go?"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 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function mt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Va(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Mf(e){var t=Va(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function fr(e){e._valueTracker||(e._valueTracker=Mf(e))}function Wa(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Va(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Qr(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 Ei(e,t){var n=t.checked;return B({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Eu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=mt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Qa(e,t){t=t.checked,t!=null&&yo(e,"checked",t,!1)}function ki(e,t){Qa(e,t);var n=mt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?xi(e,t.type,n):t.hasOwnProperty("defaultValue")&&xi(e,t.type,mt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ku(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function xi(e,t,n){(t!=="number"||Qr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ln=Array.isArray;function Zt(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&r&&(e[n].defaultSelected=!0)}else{for(n=""+mt(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,r&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function Ci(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(_(91));return B({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function xu(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(_(92));if(Ln(n)){if(1<n.length)throw Error(_(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:mt(n)}}function Ka(e,t){var n=mt(t.value),r=mt(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Cu(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Ya(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function _i(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Ya(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var dr,Xa=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,l){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,l)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(dr=dr||document.createElement("div"),dr.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=dr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Un(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Nn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},jf=["Webkit","ms","Moz","O"];Object.keys(Nn).forEach(function(e){jf.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Nn[t]=Nn[e]})});function Ja(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Nn.hasOwnProperty(e)&&Nn[e]?(""+t).trim():t+"px"}function Ga(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Ja(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Af=B({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Li(e,t){if(t){if(Af[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(_(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(_(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(_(61))}if(t.style!=null&&typeof t.style!="object")throw Error(_(62))}}function Ri(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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}}var Pi=null;function Eo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ni=null,qt=null,bt=null;function _u(e){if(e=ir(e)){if(typeof Ni!="function")throw Error(_(280));var t=e.stateNode;t&&(t=xl(t),Ni(e.stateNode,e.type,t))}}function Za(e){qt?bt?bt.push(e):bt=[e]:qt=e}function qa(){if(qt){var e=qt,t=bt;if(bt=qt=null,_u(e),t)for(e=0;e<t.length;e++)_u(t[e])}}function ba(e,t){return e(t)}function es(){}var Vl=!1;function ts(e,t,n){if(Vl)return e(t,n);Vl=!0;try{return ba(e,t,n)}finally{Vl=!1,(qt!==null||bt!==null)&&(es(),qa())}}function Hn(e,t){var n=e.stateNode;if(n===null)return null;var r=xl(n);if(r===null)return null;n=r[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":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(_(231,t,typeof n));return n}var Ti=!1;if(Ye)try{var vn={};Object.defineProperty(vn,"passive",{get:function(){Ti=!0}}),window.addEventListener("test",vn,vn),window.removeEventListener("test",vn,vn)}catch{Ti=!1}function Uf(e,t,n,r,l,i,o,u,a){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(h){this.onError(h)}}var Tn=!1,Kr=null,Yr=!1,zi=null,Hf={onError:function(e){Tn=!0,Kr=e}};function $f(e,t,n,r,l,i,o,u,a){Tn=!1,Kr=null,Uf.apply(Hf,arguments)}function Bf(e,t,n,r,l,i,o,u,a){if($f.apply(this,arguments),Tn){if(Tn){var s=Kr;Tn=!1,Kr=null}else throw Error(_(198));Yr||(Yr=!0,zi=s)}}function jt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function ns(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 Lu(e){if(jt(e)!==e)throw Error(_(188))}function Vf(e){var t=e.alternate;if(!t){if(t=jt(e),t===null)throw Error(_(188));return t!==e?null:e}for(var n=e,r=t;;){var l=n.return;if(l===null)break;var i=l.alternate;if(i===null){if(r=l.return,r!==null){n=r;continue}break}if(l.child===i.child){for(i=l.child;i;){if(i===n)return Lu(l),e;if(i===r)return Lu(l),t;i=i.sibling}throw Error(_(188))}if(n.return!==r.return)n=l,r=i;else{for(var o=!1,u=l.child;u;){if(u===n){o=!0,n=l,r=i;break}if(u===r){o=!0,r=l,n=i;break}u=u.sibling}if(!o){for(u=i.child;u;){if(u===n){o=!0,n=i,r=l;break}if(u===r){o=!0,r=i,n=l;break}u=u.sibling}if(!o)throw Error(_(189))}}if(n.alternate!==r)throw Error(_(190))}if(n.tag!==3)throw Error(_(188));return n.stateNode.current===n?e:t}function rs(e){return e=Vf(e),e!==null?ls(e):null}function ls(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=ls(e);if(t!==null)return t;e=e.sibling}return null}var is=ge.unstable_scheduleCallback,Ru=ge.unstable_cancelCallback,Wf=ge.unstable_shouldYield,Qf=ge.unstable_requestPaint,K=ge.unstable_now,Kf=ge.unstable_getCurrentPriorityLevel,ko=ge.unstable_ImmediatePriority,os=ge.unstable_UserBlockingPriority,Xr=ge.unstable_NormalPriority,Yf=ge.unstable_LowPriority,us=ge.unstable_IdlePriority,wl=null,Ue=null;function Xf(e){if(Ue&&typeof Ue.onCommitFiberRoot=="function")try{Ue.onCommitFiberRoot(wl,e,void 0,(e.current.flags&128)===128)}catch{}}var De=Math.clz32?Math.clz32:Zf,Jf=Math.log,Gf=Math.LN2;function Zf(e){return e>>>=0,e===0?32:31-(Jf(e)/Gf|0)|0}var pr=64,mr=4194304;function Rn(e){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:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Jr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var u=o&~l;u!==0?r=Rn(u):(i&=o,i!==0&&(r=Rn(i)))}else o=n&~l,o!==0?r=Rn(o):i!==0&&(r=Rn(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-De(t),l=1<<n,r|=e[n],t&=~l;return r}function qf(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64: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:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function bf(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,i=e.pendingLanes;0<i;){var o=31-De(i),u=1<<o,a=l[o];a===-1?(!(u&n)||u&r)&&(l[o]=qf(u,t)):a<=t&&(e.expiredLanes|=u),i&=~u}}function Oi(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function as(){var e=pr;return pr<<=1,!(pr&4194240)&&(pr=64),e}function Wl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function rr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-De(t),e[t]=n}function ed(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var l=31-De(n),i=1<<l;t[l]=0,r[l]=-1,e[l]=-1,n&=~i}}function xo(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-De(n),l=1<<r;l&t|e[r]&t&&(e[r]|=t),n&=~l}}var F=0;function ss(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var cs,Co,fs,ds,ps,Di=!1,hr=[],ot=null,ut=null,at=null,$n=new Map,Bn=new Map,nt=[],td="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 submit".split(" ");function Pu(e,t){switch(e){case"focusin":case"focusout":ot=null;break;case"dragenter":case"dragleave":ut=null;break;case"mouseover":case"mouseout":at=null;break;case"pointerover":case"pointerout":$n.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Bn.delete(t.pointerId)}}function yn(e,t,n,r,l,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[l]},t!==null&&(t=ir(t),t!==null&&Co(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function nd(e,t,n,r,l){switch(t){case"focusin":return ot=yn(ot,e,t,n,r,l),!0;case"dragenter":return ut=yn(ut,e,t,n,r,l),!0;case"mouseover":return at=yn(at,e,t,n,r,l),!0;case"pointerover":var i=l.pointerId;return $n.set(i,yn($n.get(i)||null,e,t,n,r,l)),!0;case"gotpointercapture":return i=l.pointerId,Bn.set(i,yn(Bn.get(i)||null,e,t,n,r,l)),!0}return!1}function ms(e){var t=Ct(e.target);if(t!==null){var n=jt(t);if(n!==null){if(t=n.tag,t===13){if(t=ns(n),t!==null){e.blockedOn=t,ps(e.priority,function(){fs(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function zr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Fi(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Pi=r,n.target.dispatchEvent(r),Pi=null}else return t=ir(n),t!==null&&Co(t),e.blockedOn=n,!1;t.shift()}return!0}function Nu(e,t,n){zr(e)&&n.delete(t)}function rd(){Di=!1,ot!==null&&zr(ot)&&(ot=null),ut!==null&&zr(ut)&&(ut=null),at!==null&&zr(at)&&(at=null),$n.forEach(Nu),Bn.forEach(Nu)}function gn(e,t){e.blockedOn===t&&(e.blockedOn=null,Di||(Di=!0,ge.unstable_scheduleCallback(ge.unstable_NormalPriority,rd)))}function Vn(e){function t(l){return gn(l,e)}if(0<hr.length){gn(hr[0],e);for(var n=1;n<hr.length;n++){var r=hr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(ot!==null&&gn(ot,e),ut!==null&&gn(ut,e),at!==null&&gn(at,e),$n.forEach(t),Bn.forEach(t),n=0;n<nt.length;n++)r=nt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<nt.length&&(n=nt[0],n.blockedOn===null);)ms(n),n.blockedOn===null&&nt.shift()}var en=qe.ReactCurrentBatchConfig,Gr=!0;function ld(e,t,n,r){var l=F,i=en.transition;en.transition=null;try{F=1,_o(e,t,n,r)}finally{F=l,en.transition=i}}function id(e,t,n,r){var l=F,i=en.transition;en.transition=null;try{F=4,_o(e,t,n,r)}finally{F=l,en.transition=i}}function _o(e,t,n,r){if(Gr){var l=Fi(e,t,n,r);if(l===null)ei(e,t,r,Zr,n),Pu(e,r);else if(nd(l,e,t,n,r))r.stopPropagation();else if(Pu(e,r),t&4&&-1<td.indexOf(e)){for(;l!==null;){var i=ir(l);if(i!==null&&cs(i),i=Fi(e,t,n,r),i===null&&ei(e,t,r,Zr,n),i===l)break;l=i}l!==null&&r.stopPropagation()}else ei(e,t,r,null,n)}}var Zr=null;function Fi(e,t,n,r){if(Zr=null,e=Eo(r),e=Ct(e),e!==null)if(t=jt(e),t===null)e=null;else if(n=t.tag,n===13){if(e=ns(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Zr=e,null}function hs(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Kf()){case ko:return 1;case os:return 4;case Xr:case Yf:return 16;case us:return 536870912;default:return 16}default:return 16}}var lt=null,Lo=null,Or=null;function vs(){if(Or)return Or;var e,t=Lo,n=t.length,r,l="value"in lt?lt.value:lt.textContent,i=l.length;for(e=0;e<n&&t[e]===l[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===l[i-r];r++);return Or=l.slice(e,1<r?1-r:void 0)}function Dr(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 vr(){return!0}function Tu(){return!1}function Se(e){function t(n,r,l,i,o){this._reactName=n,this._targetInst=l,this.type=r,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var u in e)e.hasOwnProperty(u)&&(n=e[u],this[u]=n?n(i):i[u]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?vr:Tu,this.isPropagationStopped=Tu,this}return B(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=vr)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=vr)},persist:function(){},isPersistent:vr}),t}var dn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ro=Se(dn),lr=B({},dn,{view:0,detail:0}),od=Se(lr),Ql,Kl,wn,Sl=B({},lr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Po,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!==wn&&(wn&&e.type==="mousemove"?(Ql=e.screenX-wn.screenX,Kl=e.screenY-wn.screenY):Kl=Ql=0,wn=e),Ql)},movementY:function(e){return"movementY"in e?e.movementY:Kl}}),zu=Se(Sl),ud=B({},Sl,{dataTransfer:0}),ad=Se(ud),sd=B({},lr,{relatedTarget:0}),Yl=Se(sd),cd=B({},dn,{animationName:0,elapsedTime:0,pseudoElement:0}),fd=Se(cd),dd=B({},dn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),pd=Se(dd),md=B({},dn,{data:0}),Ou=Se(md),hd={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},vd={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"},yd={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function gd(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=yd[e])?!!t[e]:!1}function Po(){return gd}var wd=B({},lr,{key:function(e){if(e.key){var t=hd[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Dr(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?vd[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Po,charCode:function(e){return e.type==="keypress"?Dr(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Dr(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Sd=Se(wd),Ed=B({},Sl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Du=Se(Ed),kd=B({},lr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Po}),xd=Se(kd),Cd=B({},dn,{propertyName:0,elapsedTime:0,pseudoElement:0}),_d=Se(Cd),Ld=B({},Sl,{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}),Rd=Se(Ld),Pd=[9,13,27,32],No=Ye&&"CompositionEvent"in window,zn=null;Ye&&"documentMode"in document&&(zn=document.documentMode);var Nd=Ye&&"TextEvent"in window&&!zn,ys=Ye&&(!No||zn&&8<zn&&11>=zn),Fu=" ",Iu=!1;function gs(e,t){switch(e){case"keyup":return Pd.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ws(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var $t=!1;function Td(e,t){switch(e){case"compositionend":return ws(t);case"keypress":return t.which!==32?null:(Iu=!0,Fu);case"textInput":return e=t.data,e===Fu&&Iu?null:e;default:return null}}function zd(e,t){if($t)return e==="compositionend"||!No&&gs(e,t)?(e=vs(),Or=Lo=lt=null,$t=!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 ys&&t.locale!=="ko"?null:t.data;default:return null}}var Od={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(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Od[e.type]:t==="textarea"}function Ss(e,t,n,r){Za(r),t=qr(t,"onChange"),0<t.length&&(n=new Ro("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var On=null,Wn=null;function Dd(e){zs(e,0)}function El(e){var t=Wt(e);if(Wa(t))return e}function Fd(e,t){if(e==="change")return t}var Es=!1;if(Ye){var Xl;if(Ye){var Jl="oninput"in document;if(!Jl){var ju=document.createElement("div");ju.setAttribute("oninput","return;"),Jl=typeof ju.oninput=="function"}Xl=Jl}else Xl=!1;Es=Xl&&(!document.documentMode||9<document.documentMode)}function Au(){On&&(On.detachEvent("onpropertychange",ks),Wn=On=null)}function ks(e){if(e.propertyName==="value"&&El(Wn)){var t=[];Ss(t,Wn,e,Eo(e)),ts(Dd,t)}}function Id(e,t,n){e==="focusin"?(Au(),On=t,Wn=n,On.attachEvent("onpropertychange",ks)):e==="focusout"&&Au()}function Md(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return El(Wn)}function jd(e,t){if(e==="click")return El(t)}function Ad(e,t){if(e==="input"||e==="change")return El(t)}function Ud(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ie=typeof Object.is=="function"?Object.is:Ud;function Qn(e,t){if(Ie(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var l=n[r];if(!vi.call(t,l)||!Ie(e[l],t[l]))return!1}return!0}function Uu(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Hu(e,t){var n=Uu(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Uu(n)}}function xs(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?xs(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Cs(){for(var e=window,t=Qr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Qr(e.document)}return t}function To(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 Hd(e){var t=Cs(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&xs(n.ownerDocument.documentElement,n)){if(r!==null&&To(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=Hu(n,i);var o=Hu(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var $d=Ye&&"documentMode"in document&&11>=document.documentMode,Bt=null,Ii=null,Dn=null,Mi=!1;function $u(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Mi||Bt==null||Bt!==Qr(r)||(r=Bt,"selectionStart"in r&&To(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Dn&&Qn(Dn,r)||(Dn=r,r=qr(Ii,"onSelect"),0<r.length&&(t=new Ro("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Bt)))}function yr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Vt={animationend:yr("Animation","AnimationEnd"),animationiteration:yr("Animation","AnimationIteration"),animationstart:yr("Animation","AnimationStart"),transitionend:yr("Transition","TransitionEnd")},Gl={},_s={};Ye&&(_s=document.createElement("div").style,"AnimationEvent"in window||(delete Vt.animationend.animation,delete Vt.animationiteration.animation,delete Vt.animationstart.animation),"TransitionEvent"in window||delete Vt.transitionend.transition);function kl(e){if(Gl[e])return Gl[e];if(!Vt[e])return e;var t=Vt[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in _s)return Gl[e]=t[n];return e}var Ls=kl("animationend"),Rs=kl("animationiteration"),Ps=kl("animationstart"),Ns=kl("transitionend"),Ts=new Map,Bu="abort auxClick 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(" ");function vt(e,t){Ts.set(e,t),Mt(t,[e])}for(var Zl=0;Zl<Bu.length;Zl++){var ql=Bu[Zl],Bd=ql.toLowerCase(),Vd=ql[0].toUpperCase()+ql.slice(1);vt(Bd,"on"+Vd)}vt(Ls,"onAnimationEnd");vt(Rs,"onAnimationIteration");vt(Ps,"onAnimationStart");vt("dblclick","onDoubleClick");vt("focusin","onFocus");vt("focusout","onBlur");vt(Ns,"onTransitionEnd");rn("onMouseEnter",["mouseout","mouseover"]);rn("onMouseLeave",["mouseout","mouseover"]);rn("onPointerEnter",["pointerout","pointerover"]);rn("onPointerLeave",["pointerout","pointerover"]);Mt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Mt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Mt("onBeforeInput",["compositionend","keypress","textInput","paste"]);Mt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Mt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Mt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Pn="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(" "),Wd=new Set("cancel close invalid load scroll toggle".split(" ").concat(Pn));function Vu(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Bf(r,t,void 0,e),e.currentTarget=null}function zs(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],l=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var o=r.length-1;0<=o;o--){var u=r[o],a=u.instance,s=u.currentTarget;if(u=u.listener,a!==i&&l.isPropagationStopped())break e;Vu(l,u,s),i=a}else for(o=0;o<r.length;o++){if(u=r[o],a=u.instance,s=u.currentTarget,u=u.listener,a!==i&&l.isPropagationStopped())break e;Vu(l,u,s),i=a}}}if(Yr)throw e=zi,Yr=!1,zi=null,e}function j(e,t){var n=t[$i];n===void 0&&(n=t[$i]=new Set);var r=e+"__bubble";n.has(r)||(Os(t,e,2,!1),n.add(r))}function bl(e,t,n){var r=0;t&&(r|=4),Os(n,e,r,t)}var gr="_reactListening"+Math.random().toString(36).slice(2);function Kn(e){if(!e[gr]){e[gr]=!0,Ua.forEach(function(n){n!=="selectionchange"&&(Wd.has(n)||bl(n,!1,e),bl(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[gr]||(t[gr]=!0,bl("selectionchange",!1,t))}}function Os(e,t,n,r){switch(hs(t)){case 1:var l=ld;break;case 4:l=id;break;default:l=_o}n=l.bind(null,t,n,e),l=void 0,!Ti||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),r?l!==void 0?e.addEventListener(t,n,{capture:!0,passive:l}):e.addEventListener(t,n,!0):l!==void 0?e.addEventListener(t,n,{passive:l}):e.addEventListener(t,n,!1)}function ei(e,t,n,r,l){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var u=r.stateNode.containerInfo;if(u===l||u.nodeType===8&&u.parentNode===l)break;if(o===4)for(o=r.return;o!==null;){var a=o.tag;if((a===3||a===4)&&(a=o.stateNode.containerInfo,a===l||a.nodeType===8&&a.parentNode===l))return;o=o.return}for(;u!==null;){if(o=Ct(u),o===null)return;if(a=o.tag,a===5||a===6){r=i=o;continue e}u=u.parentNode}}r=r.return}ts(function(){var s=i,h=Eo(n),d=[];e:{var f=Ts.get(e);if(f!==void 0){var w=Ro,v=e;switch(e){case"keypress":if(Dr(n)===0)break e;case"keydown":case"keyup":w=Sd;break;case"focusin":v="focus",w=Yl;break;case"focusout":v="blur",w=Yl;break;case"beforeblur":case"afterblur":w=Yl;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":w=zu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":w=ad;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":w=xd;break;case Ls:case Rs:case Ps:w=fd;break;case Ns:w=_d;break;case"scroll":w=od;break;case"wheel":w=Rd;break;case"copy":case"cut":case"paste":w=pd;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":w=Du}var S=(t&4)!==0,L=!S&&e==="scroll",p=S?f!==null?f+"Capture":null:f;S=[];for(var c=s,m;c!==null;){m=c;var y=m.stateNode;if(m.tag===5&&y!==null&&(m=y,p!==null&&(y=Hn(c,p),y!=null&&S.push(Yn(c,y,m)))),L)break;c=c.return}0<S.length&&(f=new w(f,v,null,n,h),d.push({event:f,listeners:S}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",w=e==="mouseout"||e==="pointerout",f&&n!==Pi&&(v=n.relatedTarget||n.fromElement)&&(Ct(v)||v[Xe]))break e;if((w||f)&&(f=h.window===h?h:(f=h.ownerDocument)?f.defaultView||f.parentWindow:window,w?(v=n.relatedTarget||n.toElement,w=s,v=v?Ct(v):null,v!==null&&(L=jt(v),v!==L||v.tag!==5&&v.tag!==6)&&(v=null)):(w=null,v=s),w!==v)){if(S=zu,y="onMouseLeave",p="onMouseEnter",c="mouse",(e==="pointerout"||e==="pointerover")&&(S=Du,y="onPointerLeave",p="onPointerEnter",c="pointer"),L=w==null?f:Wt(w),m=v==null?f:Wt(v),f=new S(y,c+"leave",w,n,h),f.target=L,f.relatedTarget=m,y=null,Ct(h)===s&&(S=new S(p,c+"enter",v,n,h),S.target=m,S.relatedTarget=L,y=S),L=y,w&&v)t:{for(S=w,p=v,c=0,m=S;m;m=At(m))c++;for(m=0,y=p;y;y=At(y))m++;for(;0<c-m;)S=At(S),c--;for(;0<m-c;)p=At(p),m--;for(;c--;){if(S===p||p!==null&&S===p.alternate)break t;S=At(S),p=At(p)}S=null}else S=null;w!==null&&Wu(d,f,w,S,!1),v!==null&&L!==null&&Wu(d,L,v,S,!0)}}e:{if(f=s?Wt(s):window,w=f.nodeName&&f.nodeName.toLowerCase(),w==="select"||w==="input"&&f.type==="file")var k=Fd;else if(Mu(f))if(Es)k=Ad;else{k=Md;var E=Id}else(w=f.nodeName)&&w.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(k=jd);if(k&&(k=k(e,s))){Ss(d,k,n,h);break e}E&&E(e,f,s),e==="focusout"&&(E=f._wrapperState)&&E.controlled&&f.type==="number"&&xi(f,"number",f.value)}switch(E=s?Wt(s):window,e){case"focusin":(Mu(E)||E.contentEditable==="true")&&(Bt=E,Ii=s,Dn=null);break;case"focusout":Dn=Ii=Bt=null;break;case"mousedown":Mi=!0;break;case"contextmenu":case"mouseup":case"dragend":Mi=!1,$u(d,n,h);break;case"selectionchange":if($d)break;case"keydown":case"keyup":$u(d,n,h)}var C;if(No)e:{switch(e){case"compositionstart":var x="onCompositionStart";break e;case"compositionend":x="onCompositionEnd";break e;case"compositionupdate":x="onCompositionUpdate";break e}x=void 0}else $t?gs(e,n)&&(x="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(x="onCompositionStart");x&&(ys&&n.locale!=="ko"&&($t||x!=="onCompositionStart"?x==="onCompositionEnd"&&$t&&(C=vs()):(lt=h,Lo="value"in lt?lt.value:lt.textContent,$t=!0)),E=qr(s,x),0<E.length&&(x=new Ou(x,e,null,n,h),d.push({event:x,listeners:E}),C?x.data=C:(C=ws(n),C!==null&&(x.data=C)))),(C=Nd?Td(e,n):zd(e,n))&&(s=qr(s,"onBeforeInput"),0<s.length&&(h=new Ou("onBeforeInput","beforeinput",null,n,h),d.push({event:h,listeners:s}),h.data=C))}zs(d,t)})}function Yn(e,t,n){return{instance:e,listener:t,currentTarget:n}}function qr(e,t){for(var n=t+"Capture",r=[];e!==null;){var l=e,i=l.stateNode;l.tag===5&&i!==null&&(l=i,i=Hn(e,n),i!=null&&r.unshift(Yn(e,i,l)),i=Hn(e,t),i!=null&&r.push(Yn(e,i,l))),e=e.return}return r}function At(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Wu(e,t,n,r,l){for(var i=t._reactName,o=[];n!==null&&n!==r;){var u=n,a=u.alternate,s=u.stateNode;if(a!==null&&a===r)break;u.tag===5&&s!==null&&(u=s,l?(a=Hn(n,i),a!=null&&o.unshift(Yn(n,a,u))):l||(a=Hn(n,i),a!=null&&o.push(Yn(n,a,u)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Qd=/\r\n?/g,Kd=/\u0000|\uFFFD/g;function Qu(e){return(typeof e=="string"?e:""+e).replace(Qd,`
`).replace(Kd,"")}function wr(e,t,n){if(t=Qu(t),Qu(e)!==t&&n)throw Error(_(425))}function br(){}var ji=null,Ai=null;function Ui(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Hi=typeof setTimeout=="function"?setTimeout:void 0,Yd=typeof clearTimeout=="function"?clearTimeout:void 0,Ku=typeof Promise=="function"?Promise:void 0,Xd=typeof queueMicrotask=="function"?queueMicrotask:typeof Ku<"u"?function(e){return Ku.resolve(null).then(e).catch(Jd)}:Hi;function Jd(e){setTimeout(function(){throw e})}function ti(e,t){var n=t,r=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(r===0){e.removeChild(l),Vn(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);Vn(t)}function st(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==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Yu(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var pn=Math.random().toString(36).slice(2),Ae="__reactFiber$"+pn,Xn="__reactProps$"+pn,Xe="__reactContainer$"+pn,$i="__reactEvents$"+pn,Gd="__reactListeners$"+pn,Zd="__reactHandles$"+pn;function Ct(e){var t=e[Ae];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Xe]||n[Ae]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Yu(e);e!==null;){if(n=e[Ae])return n;e=Yu(e)}return t}e=n,n=e.parentNode}return null}function ir(e){return e=e[Ae]||e[Xe],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Wt(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(_(33))}function xl(e){return e[Xn]||null}var Bi=[],Qt=-1;function yt(e){return{current:e}}function A(e){0>Qt||(e.current=Bi[Qt],Bi[Qt]=null,Qt--)}function M(e,t){Qt++,Bi[Qt]=e.current,e.current=t}var ht={},oe=yt(ht),de=yt(!1),Tt=ht;function ln(e,t){var n=e.type.contextTypes;if(!n)return ht;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function pe(e){return e=e.childContextTypes,e!=null}function el(){A(de),A(oe)}function Xu(e,t,n){if(oe.current!==ht)throw Error(_(168));M(oe,t),M(de,n)}function Ds(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(_(108,If(e)||"Unknown",l));return B({},n,r)}function tl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ht,Tt=oe.current,M(oe,e),M(de,de.current),!0}function Ju(e,t,n){var r=e.stateNode;if(!r)throw Error(_(169));n?(e=Ds(e,t,Tt),r.__reactInternalMemoizedMergedChildContext=e,A(de),A(oe),M(oe,e)):A(de),M(de,n)}var Ve=null,Cl=!1,ni=!1;function Fs(e){Ve===null?Ve=[e]:Ve.push(e)}function qd(e){Cl=!0,Fs(e)}function gt(){if(!ni&&Ve!==null){ni=!0;var e=0,t=F;try{var n=Ve;for(F=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Ve=null,Cl=!1}catch(l){throw Ve!==null&&(Ve=Ve.slice(e+1)),is(ko,gt),l}finally{F=t,ni=!1}}return null}var Kt=[],Yt=0,nl=null,rl=0,xe=[],Ce=0,zt=null,We=1,Qe="";function kt(e,t){Kt[Yt++]=rl,Kt[Yt++]=nl,nl=e,rl=t}function Is(e,t,n){xe[Ce++]=We,xe[Ce++]=Qe,xe[Ce++]=zt,zt=e;var r=We;e=Qe;var l=32-De(r)-1;r&=~(1<<l),n+=1;var i=32-De(t)+l;if(30<i){var o=l-l%5;i=(r&(1<<o)-1).toString(32),r>>=o,l-=o,We=1<<32-De(t)+l|n<<l|r,Qe=i+e}else We=1<<i|n<<l|r,Qe=e}function zo(e){e.return!==null&&(kt(e,1),Is(e,1,0))}function Oo(e){for(;e===nl;)nl=Kt[--Yt],Kt[Yt]=null,rl=Kt[--Yt],Kt[Yt]=null;for(;e===zt;)zt=xe[--Ce],xe[Ce]=null,Qe=xe[--Ce],xe[Ce]=null,We=xe[--Ce],xe[Ce]=null}var ye=null,ve=null,U=!1,Oe=null;function Ms(e,t){var n=_e(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Gu(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ye=e,ve=st(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ye=e,ve=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=zt!==null?{id:We,overflow:Qe}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=_e(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ye=e,ve=null,!0):!1;default:return!1}}function Vi(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Wi(e){if(U){var t=ve;if(t){var n=t;if(!Gu(e,t)){if(Vi(e))throw Error(_(418));t=st(n.nextSibling);var r=ye;t&&Gu(e,t)?Ms(r,n):(e.flags=e.flags&-4097|2,U=!1,ye=e)}}else{if(Vi(e))throw Error(_(418));e.flags=e.flags&-4097|2,U=!1,ye=e}}}function Zu(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ye=e}function Sr(e){if(e!==ye)return!1;if(!U)return Zu(e),U=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Ui(e.type,e.memoizedProps)),t&&(t=ve)){if(Vi(e))throw js(),Error(_(418));for(;t;)Ms(e,t),t=st(t.nextSibling)}if(Zu(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(_(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){ve=st(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}ve=null}}else ve=ye?st(e.stateNode.nextSibling):null;return!0}function js(){for(var e=ve;e;)e=st(e.nextSibling)}function on(){ve=ye=null,U=!1}function Do(e){Oe===null?Oe=[e]:Oe.push(e)}var bd=qe.ReactCurrentBatchConfig;function Sn(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(_(309));var r=n.stateNode}if(!r)throw Error(_(147,e));var l=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(o){var u=l.refs;o===null?delete u[i]:u[i]=o},t._stringRef=i,t)}if(typeof e!="string")throw Error(_(284));if(!n._owner)throw Error(_(290,e))}return e}function Er(e,t){throw e=Object.prototype.toString.call(t),Error(_(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function qu(e){var t=e._init;return t(e._payload)}function As(e){function t(p,c){if(e){var m=p.deletions;m===null?(p.deletions=[c],p.flags|=16):m.push(c)}}function n(p,c){if(!e)return null;for(;c!==null;)t(p,c),c=c.sibling;return null}function r(p,c){for(p=new Map;c!==null;)c.key!==null?p.set(c.key,c):p.set(c.index,c),c=c.sibling;return p}function l(p,c){return p=pt(p,c),p.index=0,p.sibling=null,p}function i(p,c,m){return p.index=m,e?(m=p.alternate,m!==null?(m=m.index,m<c?(p.flags|=2,c):m):(p.flags|=2,c)):(p.flags|=1048576,c)}function o(p){return e&&p.alternate===null&&(p.flags|=2),p}function u(p,c,m,y){return c===null||c.tag!==6?(c=si(m,p.mode,y),c.return=p,c):(c=l(c,m),c.return=p,c)}function a(p,c,m,y){var k=m.type;return k===Ht?h(p,c,m.props.children,y,m.key):c!==null&&(c.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===et&&qu(k)===c.type)?(y=l(c,m.props),y.ref=Sn(p,c,m),y.return=p,y):(y=Hr(m.type,m.key,m.props,null,p.mode,y),y.ref=Sn(p,c,m),y.return=p,y)}function s(p,c,m,y){return c===null||c.tag!==4||c.stateNode.containerInfo!==m.containerInfo||c.stateNode.implementation!==m.implementation?(c=ci(m,p.mode,y),c.return=p,c):(c=l(c,m.children||[]),c.return=p,c)}function h(p,c,m,y,k){return c===null||c.tag!==7?(c=Pt(m,p.mode,y,k),c.return=p,c):(c=l(c,m),c.return=p,c)}function d(p,c,m){if(typeof c=="string"&&c!==""||typeof c=="number")return c=si(""+c,p.mode,m),c.return=p,c;if(typeof c=="object"&&c!==null){switch(c.$$typeof){case cr:return m=Hr(c.type,c.key,c.props,null,p.mode,m),m.ref=Sn(p,null,c),m.return=p,m;case Ut:return c=ci(c,p.mode,m),c.return=p,c;case et:var y=c._init;return d(p,y(c._payload),m)}if(Ln(c)||hn(c))return c=Pt(c,p.mode,m,null),c.return=p,c;Er(p,c)}return null}function f(p,c,m,y){var k=c!==null?c.key:null;if(typeof m=="string"&&m!==""||typeof m=="number")return k!==null?null:u(p,c,""+m,y);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case cr:return m.key===k?a(p,c,m,y):null;case Ut:return m.key===k?s(p,c,m,y):null;case et:return k=m._init,f(p,c,k(m._payload),y)}if(Ln(m)||hn(m))return k!==null?null:h(p,c,m,y,null);Er(p,m)}return null}function w(p,c,m,y,k){if(typeof y=="string"&&y!==""||typeof y=="number")return p=p.get(m)||null,u(c,p,""+y,k);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case cr:return p=p.get(y.key===null?m:y.key)||null,a(c,p,y,k);case Ut:return p=p.get(y.key===null?m:y.key)||null,s(c,p,y,k);case et:var E=y._init;return w(p,c,m,E(y._payload),k)}if(Ln(y)||hn(y))return p=p.get(m)||null,h(c,p,y,k,null);Er(c,y)}return null}function v(p,c,m,y){for(var k=null,E=null,C=c,x=c=0,T=null;C!==null&&x<m.length;x++){C.index>x?(T=C,C=null):T=C.sibling;var N=f(p,C,m[x],y);if(N===null){C===null&&(C=T);break}e&&C&&N.alternate===null&&t(p,C),c=i(N,c,x),E===null?k=N:E.sibling=N,E=N,C=T}if(x===m.length)return n(p,C),U&&kt(p,x),k;if(C===null){for(;x<m.length;x++)C=d(p,m[x],y),C!==null&&(c=i(C,c,x),E===null?k=C:E.sibling=C,E=C);return U&&kt(p,x),k}for(C=r(p,C);x<m.length;x++)T=w(C,p,x,m[x],y),T!==null&&(e&&T.alternate!==null&&C.delete(T.key===null?x:T.key),c=i(T,c,x),E===null?k=T:E.sibling=T,E=T);return e&&C.forEach(function(I){return t(p,I)}),U&&kt(p,x),k}function S(p,c,m,y){var k=hn(m);if(typeof k!="function")throw Error(_(150));if(m=k.call(m),m==null)throw Error(_(151));for(var E=k=null,C=c,x=c=0,T=null,N=m.next();C!==null&&!N.done;x++,N=m.next()){C.index>x?(T=C,C=null):T=C.sibling;var I=f(p,C,N.value,y);if(I===null){C===null&&(C=T);break}e&&C&&I.alternate===null&&t(p,C),c=i(I,c,x),E===null?k=I:E.sibling=I,E=I,C=T}if(N.done)return n(p,C),U&&kt(p,x),k;if(C===null){for(;!N.done;x++,N=m.next())N=d(p,N.value,y),N!==null&&(c=i(N,c,x),E===null?k=N:E.sibling=N,E=N);return U&&kt(p,x),k}for(C=r(p,C);!N.done;x++,N=m.next())N=w(C,p,x,N.value,y),N!==null&&(e&&N.alternate!==null&&C.delete(N.key===null?x:N.key),c=i(N,c,x),E===null?k=N:E.sibling=N,E=N);return e&&C.forEach(function(V){return t(p,V)}),U&&kt(p,x),k}function L(p,c,m,y){if(typeof m=="object"&&m!==null&&m.type===Ht&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case cr:e:{for(var k=m.key,E=c;E!==null;){if(E.key===k){if(k=m.type,k===Ht){if(E.tag===7){n(p,E.sibling),c=l(E,m.props.children),c.return=p,p=c;break e}}else if(E.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===et&&qu(k)===E.type){n(p,E.sibling),c=l(E,m.props),c.ref=Sn(p,E,m),c.return=p,p=c;break e}n(p,E);break}else t(p,E);E=E.sibling}m.type===Ht?(c=Pt(m.props.children,p.mode,y,m.key),c.return=p,p=c):(y=Hr(m.type,m.key,m.props,null,p.mode,y),y.ref=Sn(p,c,m),y.return=p,p=y)}return o(p);case Ut:e:{for(E=m.key;c!==null;){if(c.key===E)if(c.tag===4&&c.stateNode.containerInfo===m.containerInfo&&c.stateNode.implementation===m.implementation){n(p,c.sibling),c=l(c,m.children||[]),c.return=p,p=c;break e}else{n(p,c);break}else t(p,c);c=c.sibling}c=ci(m,p.mode,y),c.return=p,p=c}return o(p);case et:return E=m._init,L(p,c,E(m._payload),y)}if(Ln(m))return v(p,c,m,y);if(hn(m))return S(p,c,m,y);Er(p,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,c!==null&&c.tag===6?(n(p,c.sibling),c=l(c,m),c.return=p,p=c):(n(p,c),c=si(m,p.mode,y),c.return=p,p=c),o(p)):n(p,c)}return L}var un=As(!0),Us=As(!1),ll=yt(null),il=null,Xt=null,Fo=null;function Io(){Fo=Xt=il=null}function Mo(e){var t=ll.current;A(ll),e._currentValue=t}function Qi(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function tn(e,t){il=e,Fo=Xt=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(fe=!0),e.firstContext=null)}function Re(e){var t=e._currentValue;if(Fo!==e)if(e={context:e,memoizedValue:t,next:null},Xt===null){if(il===null)throw Error(_(308));Xt=e,il.dependencies={lanes:0,firstContext:e}}else Xt=Xt.next=e;return t}var _t=null;function jo(e){_t===null?_t=[e]:_t.push(e)}function Hs(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,jo(t)):(n.next=l.next,l.next=n),t.interleaved=n,Je(e,r)}function Je(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var tt=!1;function Ao(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function $s(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ke(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ct(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,D&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Je(e,n)}return l=r.interleaved,l===null?(t.next=t,jo(r)):(t.next=l.next,l.next=t),r.interleaved=t,Je(e,n)}function Fr(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xo(e,n)}}function bu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?l=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ol(e,t,n,r){var l=e.updateQueue;tt=!1;var i=l.firstBaseUpdate,o=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var a=u,s=a.next;a.next=null,o===null?i=s:o.next=s,o=a;var h=e.alternate;h!==null&&(h=h.updateQueue,u=h.lastBaseUpdate,u!==o&&(u===null?h.firstBaseUpdate=s:u.next=s,h.lastBaseUpdate=a))}if(i!==null){var d=l.baseState;o=0,h=s=a=null,u=i;do{var f=u.lane,w=u.eventTime;if((r&f)===f){h!==null&&(h=h.next={eventTime:w,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var v=e,S=u;switch(f=t,w=n,S.tag){case 1:if(v=S.payload,typeof v=="function"){d=v.call(w,d,f);break e}d=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=S.payload,f=typeof v=="function"?v.call(w,d,f):v,f==null)break e;d=B({},d,f);break e;case 2:tt=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,f=l.effects,f===null?l.effects=[u]:f.push(u))}else w={eventTime:w,lane:f,tag:u.tag,payload:u.payload,callback:u.callback,next:null},h===null?(s=h=w,a=d):h=h.next=w,o|=f;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;f=u,u=f.next,f.next=null,l.lastBaseUpdate=f,l.shared.pending=null}}while(!0);if(h===null&&(a=d),l.baseState=a,l.firstBaseUpdate=s,l.lastBaseUpdate=h,t=l.shared.interleaved,t!==null){l=t;do o|=l.lane,l=l.next;while(l!==t)}else i===null&&(l.shared.lanes=0);Dt|=o,e.lanes=o,e.memoizedState=d}}function ea(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],l=r.callback;if(l!==null){if(r.callback=null,r=n,typeof l!="function")throw Error(_(191,l));l.call(r)}}}var or={},He=yt(or),Jn=yt(or),Gn=yt(or);function Lt(e){if(e===or)throw Error(_(174));return e}function Uo(e,t){switch(M(Gn,t),M(Jn,e),M(He,or),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:_i(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=_i(t,e)}A(He),M(He,t)}function an(){A(He),A(Jn),A(Gn)}function Bs(e){Lt(Gn.current);var t=Lt(He.current),n=_i(t,e.type);t!==n&&(M(Jn,e),M(He,n))}function Ho(e){Jn.current===e&&(A(He),A(Jn))}var H=yt(0);function ul(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)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}var ri=[];function $o(){for(var e=0;e<ri.length;e++)ri[e]._workInProgressVersionPrimary=null;ri.length=0}var Ir=qe.ReactCurrentDispatcher,li=qe.ReactCurrentBatchConfig,Ot=0,$=null,X=null,q=null,al=!1,Fn=!1,Zn=0,ep=0;function re(){throw Error(_(321))}function Bo(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ie(e[n],t[n]))return!1;return!0}function Vo(e,t,n,r,l,i){if(Ot=i,$=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ir.current=e===null||e.memoizedState===null?lp:ip,e=n(r,l),Fn){i=0;do{if(Fn=!1,Zn=0,25<=i)throw Error(_(301));i+=1,q=X=null,t.updateQueue=null,Ir.current=op,e=n(r,l)}while(Fn)}if(Ir.current=sl,t=X!==null&&X.next!==null,Ot=0,q=X=$=null,al=!1,t)throw Error(_(300));return e}function Wo(){var e=Zn!==0;return Zn=0,e}function je(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return q===null?$.memoizedState=q=e:q=q.next=e,q}function Pe(){if(X===null){var e=$.alternate;e=e!==null?e.memoizedState:null}else e=X.next;var t=q===null?$.memoizedState:q.next;if(t!==null)q=t,X=e;else{if(e===null)throw Error(_(310));X=e,e={memoizedState:X.memoizedState,baseState:X.baseState,baseQueue:X.baseQueue,queue:X.queue,next:null},q===null?$.memoizedState=q=e:q=q.next=e}return q}function qn(e,t){return typeof t=="function"?t(e):t}function ii(e){var t=Pe(),n=t.queue;if(n===null)throw Error(_(311));n.lastRenderedReducer=e;var r=X,l=r.baseQueue,i=n.pending;if(i!==null){if(l!==null){var o=l.next;l.next=i.next,i.next=o}r.baseQueue=l=i,n.pending=null}if(l!==null){i=l.next,r=r.baseState;var u=o=null,a=null,s=i;do{var h=s.lane;if((Ot&h)===h)a!==null&&(a=a.next={lane:0,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),r=s.hasEagerState?s.eagerState:e(r,s.action);else{var d={lane:h,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null};a===null?(u=a=d,o=r):a=a.next=d,$.lanes|=h,Dt|=h}s=s.next}while(s!==null&&s!==i);a===null?o=r:a.next=u,Ie(r,t.memoizedState)||(fe=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){l=e;do i=l.lane,$.lanes|=i,Dt|=i,l=l.next;while(l!==e)}else l===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function oi(e){var t=Pe(),n=t.queue;if(n===null)throw Error(_(311));n.lastRenderedReducer=e;var r=n.dispatch,l=n.pending,i=t.memoizedState;if(l!==null){n.pending=null;var o=l=l.next;do i=e(i,o.action),o=o.next;while(o!==l);Ie(i,t.memoizedState)||(fe=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Vs(){}function Ws(e,t){var n=$,r=Pe(),l=t(),i=!Ie(r.memoizedState,l);if(i&&(r.memoizedState=l,fe=!0),r=r.queue,Qo(Ys.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||q!==null&&q.memoizedState.tag&1){if(n.flags|=2048,bn(9,Ks.bind(null,n,r,l,t),void 0,null),b===null)throw Error(_(349));Ot&30||Qs(n,t,l)}return l}function Qs(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=$.updateQueue,t===null?(t={lastEffect:null,stores:null},$.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Ks(e,t,n,r){t.value=n,t.getSnapshot=r,Xs(t)&&Js(e)}function Ys(e,t,n){return n(function(){Xs(t)&&Js(e)})}function Xs(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ie(e,n)}catch{return!0}}function Js(e){var t=Je(e,1);t!==null&&Fe(t,e,1,-1)}function ta(e){var t=je();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:qn,lastRenderedState:e},t.queue=e,e=e.dispatch=rp.bind(null,$,e),[t.memoizedState,e]}function bn(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=$.updateQueue,t===null?(t={lastEffect:null,stores:null},$.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Gs(){return Pe().memoizedState}function Mr(e,t,n,r){var l=je();$.flags|=e,l.memoizedState=bn(1|t,n,void 0,r===void 0?null:r)}function _l(e,t,n,r){var l=Pe();r=r===void 0?null:r;var i=void 0;if(X!==null){var o=X.memoizedState;if(i=o.destroy,r!==null&&Bo(r,o.deps)){l.memoizedState=bn(t,n,i,r);return}}$.flags|=e,l.memoizedState=bn(1|t,n,i,r)}function na(e,t){return Mr(8390656,8,e,t)}function Qo(e,t){return _l(2048,8,e,t)}function Zs(e,t){return _l(4,2,e,t)}function qs(e,t){return _l(4,4,e,t)}function bs(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function ec(e,t,n){return n=n!=null?n.concat([e]):null,_l(4,4,bs.bind(null,t,e),n)}function Ko(){}function tc(e,t){var n=Pe();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Bo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function nc(e,t){var n=Pe();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Bo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function rc(e,t,n){return Ot&21?(Ie(n,t)||(n=as(),$.lanes|=n,Dt|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,fe=!0),e.memoizedState=n)}function tp(e,t){var n=F;F=n!==0&&4>n?n:4,e(!0);var r=li.transition;li.transition={};try{e(!1),t()}finally{F=n,li.transition=r}}function lc(){return Pe().memoizedState}function np(e,t,n){var r=dt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ic(e))oc(t,n);else if(n=Hs(e,t,n,r),n!==null){var l=ae();Fe(n,e,r,l),uc(n,t,r)}}function rp(e,t,n){var r=dt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ic(e))oc(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,u=i(o,n);if(l.hasEagerState=!0,l.eagerState=u,Ie(u,o)){var a=t.interleaved;a===null?(l.next=l,jo(t)):(l.next=a.next,a.next=l),t.interleaved=l;return}}catch{}finally{}n=Hs(e,t,l,r),n!==null&&(l=ae(),Fe(n,e,r,l),uc(n,t,r))}}function ic(e){var t=e.alternate;return e===$||t!==null&&t===$}function oc(e,t){Fn=al=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function uc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xo(e,n)}}var sl={readContext:Re,useCallback:re,useContext:re,useEffect:re,useImperativeHandle:re,useInsertionEffect:re,useLayoutEffect:re,useMemo:re,useReducer:re,useRef:re,useState:re,useDebugValue:re,useDeferredValue:re,useTransition:re,useMutableSource:re,useSyncExternalStore:re,useId:re,unstable_isNewReconciler:!1},lp={readContext:Re,useCallback:function(e,t){return je().memoizedState=[e,t===void 0?null:t],e},useContext:Re,useEffect:na,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Mr(4194308,4,bs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Mr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Mr(4,2,e,t)},useMemo:function(e,t){var n=je();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=je();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=np.bind(null,$,e),[r.memoizedState,e]},useRef:function(e){var t=je();return e={current:e},t.memoizedState=e},useState:ta,useDebugValue:Ko,useDeferredValue:function(e){return je().memoizedState=e},useTransition:function(){var e=ta(!1),t=e[0];return e=tp.bind(null,e[1]),je().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=$,l=je();if(U){if(n===void 0)throw Error(_(407));n=n()}else{if(n=t(),b===null)throw Error(_(349));Ot&30||Qs(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,na(Ys.bind(null,r,i,e),[e]),r.flags|=2048,bn(9,Ks.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=je(),t=b.identifierPrefix;if(U){var n=Qe,r=We;n=(r&~(1<<32-De(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Zn++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=ep++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ip={readContext:Re,useCallback:tc,useContext:Re,useEffect:Qo,useImperativeHandle:ec,useInsertionEffect:Zs,useLayoutEffect:qs,useMemo:nc,useReducer:ii,useRef:Gs,useState:function(){return ii(qn)},useDebugValue:Ko,useDeferredValue:function(e){var t=Pe();return rc(t,X.memoizedState,e)},useTransition:function(){var e=ii(qn)[0],t=Pe().memoizedState;return[e,t]},useMutableSource:Vs,useSyncExternalStore:Ws,useId:lc,unstable_isNewReconciler:!1},op={readContext:Re,useCallback:tc,useContext:Re,useEffect:Qo,useImperativeHandle:ec,useInsertionEffect:Zs,useLayoutEffect:qs,useMemo:nc,useReducer:oi,useRef:Gs,useState:function(){return oi(qn)},useDebugValue:Ko,useDeferredValue:function(e){var t=Pe();return X===null?t.memoizedState=e:rc(t,X.memoizedState,e)},useTransition:function(){var e=oi(qn)[0],t=Pe().memoizedState;return[e,t]},useMutableSource:Vs,useSyncExternalStore:Ws,useId:lc,unstable_isNewReconciler:!1};function Te(e,t){if(e&&e.defaultProps){t=B({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Ki(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:B({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ll={isMounted:function(e){return(e=e._reactInternals)?jt(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ae(),l=dt(e),i=Ke(r,l);i.payload=t,n!=null&&(i.callback=n),t=ct(e,i,l),t!==null&&(Fe(t,e,l,r),Fr(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ae(),l=dt(e),i=Ke(r,l);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=ct(e,i,l),t!==null&&(Fe(t,e,l,r),Fr(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ae(),r=dt(e),l=Ke(n,r);l.tag=2,t!=null&&(l.callback=t),t=ct(e,l,r),t!==null&&(Fe(t,e,r,n),Fr(t,e,r))}};function ra(e,t,n,r,l,i,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,o):t.prototype&&t.prototype.isPureReactComponent?!Qn(n,r)||!Qn(l,i):!0}function ac(e,t,n){var r=!1,l=ht,i=t.contextType;return typeof i=="object"&&i!==null?i=Re(i):(l=pe(t)?Tt:oe.current,r=t.contextTypes,i=(r=r!=null)?ln(e,l):ht),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ll,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=i),t}function la(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ll.enqueueReplaceState(t,t.state,null)}function Yi(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs={},Ao(e);var i=t.contextType;typeof i=="object"&&i!==null?l.context=Re(i):(i=pe(t)?Tt:oe.current,l.context=ln(e,i)),l.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Ki(e,t,i,n),l.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(t=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),t!==l.state&&Ll.enqueueReplaceState(l,l.state,null),ol(e,n,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function sn(e,t){try{var n="",r=t;do n+=Ff(r),r=r.return;while(r);var l=n}catch(i){l=`
Error generating stack: `+i.message+`
`+i.stack}return{value:e,source:t,stack:l,digest:null}}function ui(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Xi(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var up=typeof WeakMap=="function"?WeakMap:Map;function sc(e,t,n){n=Ke(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){fl||(fl=!0,lo=r),Xi(e,t)},n}function cc(e,t,n){n=Ke(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){Xi(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Xi(e,t),typeof r!="function"&&(ft===null?ft=new Set([this]):ft.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function ia(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new up;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=Ep.bind(null,e,t,n),t.then(e,e))}function oa(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function ua(e,t,n,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Ke(-1,1),t.tag=2,ct(n,t,1))),n.lanes|=1),e)}var ap=qe.ReactCurrentOwner,fe=!1;function ue(e,t,n,r){t.child=e===null?Us(t,null,n,r):un(t,e.child,n,r)}function aa(e,t,n,r,l){n=n.render;var i=t.ref;return tn(t,l),r=Vo(e,t,n,r,i,l),n=Wo(),e!==null&&!fe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Ge(e,t,l)):(U&&n&&zo(t),t.flags|=1,ue(e,t,r,l),t.child)}function sa(e,t,n,r,l){if(e===null){var i=n.type;return typeof i=="function"&&!eu(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,fc(e,t,i,r,l)):(e=Hr(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&l)){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:Qn,n(o,r)&&e.ref===t.ref)return Ge(e,t,l)}return t.flags|=1,e=pt(i,r),e.ref=t.ref,e.return=t,t.child=e}function fc(e,t,n,r,l){if(e!==null){var i=e.memoizedProps;if(Qn(i,r)&&e.ref===t.ref)if(fe=!1,t.pendingProps=r=i,(e.lanes&l)!==0)e.flags&131072&&(fe=!0);else return t.lanes=e.lanes,Ge(e,t,l)}return Ji(e,t,n,r,l)}function dc(e,t,n){var r=t.pendingProps,l=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},M(Gt,he),he|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,M(Gt,he),he|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,M(Gt,he),he|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,M(Gt,he),he|=r;return ue(e,t,l,n),t.child}function pc(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ji(e,t,n,r,l){var i=pe(n)?Tt:oe.current;return i=ln(t,i),tn(t,l),n=Vo(e,t,n,r,i,l),r=Wo(),e!==null&&!fe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Ge(e,t,l)):(U&&r&&zo(t),t.flags|=1,ue(e,t,n,l),t.child)}function ca(e,t,n,r,l){if(pe(n)){var i=!0;tl(t)}else i=!1;if(tn(t,l),t.stateNode===null)jr(e,t),ac(t,n,r),Yi(t,n,r,l),r=!0;else if(e===null){var o=t.stateNode,u=t.memoizedProps;o.props=u;var a=o.context,s=n.contextType;typeof s=="object"&&s!==null?s=Re(s):(s=pe(n)?Tt:oe.current,s=ln(t,s));var h=n.getDerivedStateFromProps,d=typeof h=="function"||typeof o.getSnapshotBeforeUpdate=="function";d||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==r||a!==s)&&la(t,o,r,s),tt=!1;var f=t.memoizedState;o.state=f,ol(t,r,o,l),a=t.memoizedState,u!==r||f!==a||de.current||tt?(typeof h=="function"&&(Ki(t,n,h,r),a=t.memoizedState),(u=tt||ra(t,n,u,r,f,a,s))?(d||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),o.props=r,o.state=a,o.context=s,r=u):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,$s(e,t),u=t.memoizedProps,s=t.type===t.elementType?u:Te(t.type,u),o.props=s,d=t.pendingProps,f=o.context,a=n.contextType,typeof a=="object"&&a!==null?a=Re(a):(a=pe(n)?Tt:oe.current,a=ln(t,a));var w=n.getDerivedStateFromProps;(h=typeof w=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==d||f!==a)&&la(t,o,r,a),tt=!1,f=t.memoizedState,o.state=f,ol(t,r,o,l);var v=t.memoizedState;u!==d||f!==v||de.current||tt?(typeof w=="function"&&(Ki(t,n,w,r),v=t.memoizedState),(s=tt||ra(t,n,s,r,f,v,a)||!1)?(h||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,v,a),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,v,a)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),o.props=r,o.state=v,o.context=a,r=s):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Gi(e,t,n,r,i,l)}function Gi(e,t,n,r,l,i){pc(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return l&&Ju(t,n,!1),Ge(e,t,i);r=t.stateNode,ap.current=t;var u=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=un(t,e.child,null,i),t.child=un(t,null,u,i)):ue(e,t,u,i),t.memoizedState=r.state,l&&Ju(t,n,!0),t.child}function mc(e){var t=e.stateNode;t.pendingContext?Xu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Xu(e,t.context,!1),Uo(e,t.containerInfo)}function fa(e,t,n,r,l){return on(),Do(l),t.flags|=256,ue(e,t,n,r),t.child}var Zi={dehydrated:null,treeContext:null,retryLane:0};function qi(e){return{baseLanes:e,cachePool:null,transitions:null}}function hc(e,t,n){var r=t.pendingProps,l=H.current,i=!1,o=(t.flags&128)!==0,u;if((u=o)||(u=e!==null&&e.memoizedState===null?!1:(l&2)!==0),u?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),M(H,l&1),e===null)return Wi(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,i?(r=t.mode,i=t.child,o={mode:"hidden",children:o},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=o):i=Nl(o,r,0,null),e=Pt(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=qi(n),t.memoizedState=Zi,e):Yo(t,o));if(l=e.memoizedState,l!==null&&(u=l.dehydrated,u!==null))return sp(e,t,o,r,u,l,n);if(i){i=r.fallback,o=t.mode,l=e.child,u=l.sibling;var a={mode:"hidden",children:r.children};return!(o&1)&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=pt(l,a),r.subtreeFlags=l.subtreeFlags&14680064),u!==null?i=pt(u,i):(i=Pt(i,o,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,o=e.child.memoizedState,o=o===null?qi(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=e.childLanes&~n,t.memoizedState=Zi,r}return i=e.child,e=i.sibling,r=pt(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Yo(e,t){return t=Nl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function kr(e,t,n,r){return r!==null&&Do(r),un(t,e.child,null,n),e=Yo(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function sp(e,t,n,r,l,i,o){if(n)return t.flags&256?(t.flags&=-257,r=ui(Error(_(422))),kr(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,l=t.mode,r=Nl({mode:"visible",children:r.children},l,0,null),i=Pt(i,l,o,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&un(t,e.child,null,o),t.child.memoizedState=qi(o),t.memoizedState=Zi,i);if(!(t.mode&1))return kr(e,t,o,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var u=r.dgst;return r=u,i=Error(_(419)),r=ui(i,r,void 0),kr(e,t,o,r)}if(u=(o&e.childLanes)!==0,fe||u){if(r=b,r!==null){switch(o&-o){case 4:l=2;break;case 16:l=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|o)?0:l,l!==0&&l!==i.retryLane&&(i.retryLane=l,Je(e,l),Fe(r,e,l,-1))}return bo(),r=ui(Error(_(421))),kr(e,t,o,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=kp.bind(null,e),l._reactRetry=t,null):(e=i.treeContext,ve=st(l.nextSibling),ye=t,U=!0,Oe=null,e!==null&&(xe[Ce++]=We,xe[Ce++]=Qe,xe[Ce++]=zt,We=e.id,Qe=e.overflow,zt=t),t=Yo(t,r.children),t.flags|=4096,t)}function da(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Qi(e.return,t,n)}function ai(e,t,n,r,l){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=l)}function vc(e,t,n){var r=t.pendingProps,l=r.revealOrder,i=r.tail;if(ue(e,t,r.children,n),r=H.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&da(e,n,t);else if(e.tag===19)da(e,n,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}r&=1}if(M(H,r),!(t.mode&1))t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&ul(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),ai(t,!1,l,n,i);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&ul(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}ai(t,!0,n,null,i);break;case"together":ai(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function jr(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ge(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Dt|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(_(153));if(t.child!==null){for(e=t.child,n=pt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=pt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function cp(e,t,n){switch(t.tag){case 3:mc(t),on();break;case 5:Bs(t);break;case 1:pe(t.type)&&tl(t);break;case 4:Uo(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;M(ll,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(M(H,H.current&1),t.flags|=128,null):n&t.child.childLanes?hc(e,t,n):(M(H,H.current&1),e=Ge(e,t,n),e!==null?e.sibling:null);M(H,H.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return vc(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),M(H,H.current),r)break;return null;case 22:case 23:return t.lanes=0,dc(e,t,n)}return Ge(e,t,n)}var yc,bi,gc,wc;yc=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};bi=function(){};gc=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,Lt(He.current);var i=null;switch(n){case"input":l=Ei(e,l),r=Ei(e,r),i=[];break;case"select":l=B({},l,{value:void 0}),r=B({},r,{value:void 0}),i=[];break;case"textarea":l=Ci(e,l),r=Ci(e,r),i=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=br)}Li(n,r);var o;n=null;for(s in l)if(!r.hasOwnProperty(s)&&l.hasOwnProperty(s)&&l[s]!=null)if(s==="style"){var u=l[s];for(o in u)u.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else s!=="dangerouslySetInnerHTML"&&s!=="children"&&s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(An.hasOwnProperty(s)?i||(i=[]):(i=i||[]).push(s,null));for(s in r){var a=r[s];if(u=l!=null?l[s]:void 0,r.hasOwnProperty(s)&&a!==u&&(a!=null||u!=null))if(s==="style")if(u){for(o in u)!u.hasOwnProperty(o)||a&&a.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in a)a.hasOwnProperty(o)&&u[o]!==a[o]&&(n||(n={}),n[o]=a[o])}else n||(i||(i=[]),i.push(s,n)),n=a;else s==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,u=u?u.__html:void 0,a!=null&&u!==a&&(i=i||[]).push(s,a)):s==="children"?typeof a!="string"&&typeof a!="number"||(i=i||[]).push(s,""+a):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&(An.hasOwnProperty(s)?(a!=null&&s==="onScroll"&&j("scroll",e),i||u===a||(i=[])):(i=i||[]).push(s,a))}n&&(i=i||[]).push("style",n);var s=i;(t.updateQueue=s)&&(t.flags|=4)}};wc=function(e,t,n,r){n!==r&&(t.flags|=4)};function En(e,t){if(!U)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function le(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function fp(e,t,n){var r=t.pendingProps;switch(Oo(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return le(t),null;case 1:return pe(t.type)&&el(),le(t),null;case 3:return r=t.stateNode,an(),A(de),A(oe),$o(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Sr(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Oe!==null&&(uo(Oe),Oe=null))),bi(e,t),le(t),null;case 5:Ho(t);var l=Lt(Gn.current);if(n=t.type,e!==null&&t.stateNode!=null)gc(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(_(166));return le(t),null}if(e=Lt(He.current),Sr(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Ae]=t,r[Xn]=i,e=(t.mode&1)!==0,n){case"dialog":j("cancel",r),j("close",r);break;case"iframe":case"object":case"embed":j("load",r);break;case"video":case"audio":for(l=0;l<Pn.length;l++)j(Pn[l],r);break;case"source":j("error",r);break;case"img":case"image":case"link":j("error",r),j("load",r);break;case"details":j("toggle",r);break;case"input":Eu(r,i),j("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},j("invalid",r);break;case"textarea":xu(r,i),j("invalid",r)}Li(n,i),l=null;for(var o in i)if(i.hasOwnProperty(o)){var u=i[o];o==="children"?typeof u=="string"?r.textContent!==u&&(i.suppressHydrationWarning!==!0&&wr(r.textContent,u,e),l=["children",u]):typeof u=="number"&&r.textContent!==""+u&&(i.suppressHydrationWarning!==!0&&wr(r.textContent,u,e),l=["children",""+u]):An.hasOwnProperty(o)&&u!=null&&o==="onScroll"&&j("scroll",r)}switch(n){case"input":fr(r),ku(r,i,!0);break;case"textarea":fr(r),Cu(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=br)}r=l,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Ya(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Ae]=t,e[Xn]=r,yc(e,t,!1,!1),t.stateNode=e;e:{switch(o=Ri(n,r),n){case"dialog":j("cancel",e),j("close",e),l=r;break;case"iframe":case"object":case"embed":j("load",e),l=r;break;case"video":case"audio":for(l=0;l<Pn.length;l++)j(Pn[l],e);l=r;break;case"source":j("error",e),l=r;break;case"img":case"image":case"link":j("error",e),j("load",e),l=r;break;case"details":j("toggle",e),l=r;break;case"input":Eu(e,r),l=Ei(e,r),j("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=B({},r,{value:void 0}),j("invalid",e);break;case"textarea":xu(e,r),l=Ci(e,r),j("invalid",e);break;default:l=r}Li(n,l),u=l;for(i in u)if(u.hasOwnProperty(i)){var a=u[i];i==="style"?Ga(e,a):i==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&Xa(e,a)):i==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&Un(e,a):typeof a=="number"&&Un(e,""+a):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(An.hasOwnProperty(i)?a!=null&&i==="onScroll"&&j("scroll",e):a!=null&&yo(e,i,a,o))}switch(n){case"input":fr(e),ku(e,r,!1);break;case"textarea":fr(e),Cu(e);break;case"option":r.value!=null&&e.setAttribute("value",""+mt(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Zt(e,!!r.multiple,i,!1):r.defaultValue!=null&&Zt(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=br)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return le(t),null;case 6:if(e&&t.stateNode!=null)wc(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(_(166));if(n=Lt(Gn.current),Lt(He.current),Sr(t)){if(r=t.stateNode,n=t.memoizedProps,r[Ae]=t,(i=r.nodeValue!==n)&&(e=ye,e!==null))switch(e.tag){case 3:wr(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&wr(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Ae]=t,t.stateNode=r}return le(t),null;case 13:if(A(H),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(U&&ve!==null&&t.mode&1&&!(t.flags&128))js(),on(),t.flags|=98560,i=!1;else if(i=Sr(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(_(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(_(317));i[Ae]=t}else on(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;le(t),i=!1}else Oe!==null&&(uo(Oe),Oe=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||H.current&1?J===0&&(J=3):bo())),t.updateQueue!==null&&(t.flags|=4),le(t),null);case 4:return an(),bi(e,t),e===null&&Kn(t.stateNode.containerInfo),le(t),null;case 10:return Mo(t.type._context),le(t),null;case 17:return pe(t.type)&&el(),le(t),null;case 19:if(A(H),i=t.memoizedState,i===null)return le(t),null;if(r=(t.flags&128)!==0,o=i.rendering,o===null)if(r)En(i,!1);else{if(J!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=ul(e),o!==null){for(t.flags|=128,En(i,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,o=i.alternate,o===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=o.childLanes,i.lanes=o.lanes,i.child=o.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=o.memoizedProps,i.memoizedState=o.memoizedState,i.updateQueue=o.updateQueue,i.type=o.type,e=o.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return M(H,H.current&1|2),t.child}e=e.sibling}i.tail!==null&&K()>cn&&(t.flags|=128,r=!0,En(i,!1),t.lanes=4194304)}else{if(!r)if(e=ul(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),En(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!U)return le(t),null}else 2*K()-i.renderingStartTime>cn&&n!==1073741824&&(t.flags|=128,r=!0,En(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=K(),t.sibling=null,n=H.current,M(H,r?n&1|2:n&1),t):(le(t),null);case 22:case 23:return qo(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?he&1073741824&&(le(t),t.subtreeFlags&6&&(t.flags|=8192)):le(t),null;case 24:return null;case 25:return null}throw Error(_(156,t.tag))}function dp(e,t){switch(Oo(t),t.tag){case 1:return pe(t.type)&&el(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return an(),A(de),A(oe),$o(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ho(t),null;case 13:if(A(H),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(_(340));on()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return A(H),null;case 4:return an(),null;case 10:return Mo(t.type._context),null;case 22:case 23:return qo(),null;case 24:return null;default:return null}}var xr=!1,ie=!1,pp=typeof WeakSet=="function"?WeakSet:Set,R=null;function Jt(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){W(e,t,r)}else n.current=null}function eo(e,t,n){try{n()}catch(r){W(e,t,r)}}var pa=!1;function mp(e,t){if(ji=Gr,e=Cs(),To(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,u=-1,a=-1,s=0,h=0,d=e,f=null;t:for(;;){for(var w;d!==n||l!==0&&d.nodeType!==3||(u=o+l),d!==i||r!==0&&d.nodeType!==3||(a=o+r),d.nodeType===3&&(o+=d.nodeValue.length),(w=d.firstChild)!==null;)f=d,d=w;for(;;){if(d===e)break t;if(f===n&&++s===l&&(u=o),f===i&&++h===r&&(a=o),(w=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=w}n=u===-1||a===-1?null:{start:u,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ai={focusedElem:e,selectionRange:n},Gr=!1,R=t;R!==null;)if(t=R,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var S=v.memoizedProps,L=v.memoizedState,p=t.stateNode,c=p.getSnapshotBeforeUpdate(t.elementType===t.type?S:Te(t.type,S),L);p.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(_(163))}}catch(y){W(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return v=pa,pa=!1,v}function In(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&eo(t,n,i)}l=l.next}while(l!==r)}}function Rl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function to(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Sc(e){var t=e.alternate;t!==null&&(e.alternate=null,Sc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ae],delete t[Xn],delete t[$i],delete t[Gd],delete t[Zd])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Ec(e){return e.tag===5||e.tag===3||e.tag===4}function ma(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ec(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.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 no(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=br));else if(r!==4&&(e=e.child,e!==null))for(no(e,t,n),e=e.sibling;e!==null;)no(e,t,n),e=e.sibling}function ro(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ro(e,t,n),e=e.sibling;e!==null;)ro(e,t,n),e=e.sibling}var ee=null,ze=!1;function be(e,t,n){for(n=n.child;n!==null;)kc(e,t,n),n=n.sibling}function kc(e,t,n){if(Ue&&typeof Ue.onCommitFiberUnmount=="function")try{Ue.onCommitFiberUnmount(wl,n)}catch{}switch(n.tag){case 5:ie||Jt(n,t);case 6:var r=ee,l=ze;ee=null,be(e,t,n),ee=r,ze=l,ee!==null&&(ze?(e=ee,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ee.removeChild(n.stateNode));break;case 18:ee!==null&&(ze?(e=ee,n=n.stateNode,e.nodeType===8?ti(e.parentNode,n):e.nodeType===1&&ti(e,n),Vn(e)):ti(ee,n.stateNode));break;case 4:r=ee,l=ze,ee=n.stateNode.containerInfo,ze=!0,be(e,t,n),ee=r,ze=l;break;case 0:case 11:case 14:case 15:if(!ie&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&eo(n,t,o),l=l.next}while(l!==r)}be(e,t,n);break;case 1:if(!ie&&(Jt(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){W(n,t,u)}be(e,t,n);break;case 21:be(e,t,n);break;case 22:n.mode&1?(ie=(r=ie)||n.memoizedState!==null,be(e,t,n),ie=r):be(e,t,n);break;default:be(e,t,n)}}function ha(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new pp),t.forEach(function(r){var l=xp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Ne(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var l=n[r];try{var i=e,o=t,u=o;e:for(;u!==null;){switch(u.tag){case 5:ee=u.stateNode,ze=!1;break e;case 3:ee=u.stateNode.containerInfo,ze=!0;break e;case 4:ee=u.stateNode.containerInfo,ze=!0;break e}u=u.return}if(ee===null)throw Error(_(160));kc(i,o,l),ee=null,ze=!1;var a=l.alternate;a!==null&&(a.return=null),l.return=null}catch(s){W(l,t,s)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)xc(t,e),t=t.sibling}function xc(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Ne(t,e),Me(e),r&4){try{In(3,e,e.return),Rl(3,e)}catch(S){W(e,e.return,S)}try{In(5,e,e.return)}catch(S){W(e,e.return,S)}}break;case 1:Ne(t,e),Me(e),r&512&&n!==null&&Jt(n,n.return);break;case 5:if(Ne(t,e),Me(e),r&512&&n!==null&&Jt(n,n.return),e.flags&32){var l=e.stateNode;try{Un(l,"")}catch(S){W(e,e.return,S)}}if(r&4&&(l=e.stateNode,l!=null)){var i=e.memoizedProps,o=n!==null?n.memoizedProps:i,u=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{u==="input"&&i.type==="radio"&&i.name!=null&&Qa(l,i),Ri(u,o);var s=Ri(u,i);for(o=0;o<a.length;o+=2){var h=a[o],d=a[o+1];h==="style"?Ga(l,d):h==="dangerouslySetInnerHTML"?Xa(l,d):h==="children"?Un(l,d):yo(l,h,d,s)}switch(u){case"input":ki(l,i);break;case"textarea":Ka(l,i);break;case"select":var f=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!i.multiple;var w=i.value;w!=null?Zt(l,!!i.multiple,w,!1):f!==!!i.multiple&&(i.defaultValue!=null?Zt(l,!!i.multiple,i.defaultValue,!0):Zt(l,!!i.multiple,i.multiple?[]:"",!1))}l[Xn]=i}catch(S){W(e,e.return,S)}}break;case 6:if(Ne(t,e),Me(e),r&4){if(e.stateNode===null)throw Error(_(162));l=e.stateNode,i=e.memoizedProps;try{l.nodeValue=i}catch(S){W(e,e.return,S)}}break;case 3:if(Ne(t,e),Me(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Vn(t.containerInfo)}catch(S){W(e,e.return,S)}break;case 4:Ne(t,e),Me(e);break;case 13:Ne(t,e),Me(e),l=e.child,l.flags&8192&&(i=l.memoizedState!==null,l.stateNode.isHidden=i,!i||l.alternate!==null&&l.alternate.memoizedState!==null||(Go=K())),r&4&&ha(e);break;case 22:if(h=n!==null&&n.memoizedState!==null,e.mode&1?(ie=(s=ie)||h,Ne(t,e),ie=s):Ne(t,e),Me(e),r&8192){if(s=e.memoizedState!==null,(e.stateNode.isHidden=s)&&!h&&e.mode&1)for(R=e,h=e.child;h!==null;){for(d=R=h;R!==null;){switch(f=R,w=f.child,f.tag){case 0:case 11:case 14:case 15:In(4,f,f.return);break;case 1:Jt(f,f.return);var v=f.stateNode;if(typeof v.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(S){W(r,n,S)}}break;case 5:Jt(f,f.return);break;case 22:if(f.memoizedState!==null){ya(d);continue}}w!==null?(w.return=f,R=w):ya(d)}h=h.sibling}e:for(h=null,d=e;;){if(d.tag===5){if(h===null){h=d;try{l=d.stateNode,s?(i=l.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(u=d.stateNode,a=d.memoizedProps.style,o=a!=null&&a.hasOwnProperty("display")?a.display:null,u.style.display=Ja("display",o))}catch(S){W(e,e.return,S)}}}else if(d.tag===6){if(h===null)try{d.stateNode.nodeValue=s?"":d.memoizedProps}catch(S){W(e,e.return,S)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;h===d&&(h=null),d=d.return}h===d&&(h=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Ne(t,e),Me(e),r&4&&ha(e);break;case 21:break;default:Ne(t,e),Me(e)}}function Me(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Ec(n)){var r=n;break e}n=n.return}throw Error(_(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&(Un(l,""),r.flags&=-33);var i=ma(e);ro(e,i,l);break;case 3:case 4:var o=r.stateNode.containerInfo,u=ma(e);no(e,u,o);break;default:throw Error(_(161))}}catch(a){W(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function hp(e,t,n){R=e,Cc(e)}function Cc(e,t,n){for(var r=(e.mode&1)!==0;R!==null;){var l=R,i=l.child;if(l.tag===22&&r){var o=l.memoizedState!==null||xr;if(!o){var u=l.alternate,a=u!==null&&u.memoizedState!==null||ie;u=xr;var s=ie;if(xr=o,(ie=a)&&!s)for(R=l;R!==null;)o=R,a=o.child,o.tag===22&&o.memoizedState!==null?ga(l):a!==null?(a.return=o,R=a):ga(l);for(;i!==null;)R=i,Cc(i),i=i.sibling;R=l,xr=u,ie=s}va(e)}else l.subtreeFlags&8772&&i!==null?(i.return=l,R=i):va(e)}}function va(e){for(;R!==null;){var t=R;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:ie||Rl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!ie)if(n===null)r.componentDidMount();else{var l=t.elementType===t.type?n.memoizedProps:Te(t.type,n.memoizedProps);r.componentDidUpdate(l,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&ea(t,i,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}ea(t,o,n)}break;case 5:var u=t.stateNode;if(n===null&&t.flags&4){n=u;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var s=t.alternate;if(s!==null){var h=s.memoizedState;if(h!==null){var d=h.dehydrated;d!==null&&Vn(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(_(163))}ie||t.flags&512&&to(t)}catch(f){W(t,t.return,f)}}if(t===e){R=null;break}if(n=t.sibling,n!==null){n.return=t.return,R=n;break}R=t.return}}function ya(e){for(;R!==null;){var t=R;if(t===e){R=null;break}var n=t.sibling;if(n!==null){n.return=t.return,R=n;break}R=t.return}}function ga(e){for(;R!==null;){var t=R;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Rl(4,t)}catch(a){W(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var l=t.return;try{r.componentDidMount()}catch(a){W(t,l,a)}}var i=t.return;try{to(t)}catch(a){W(t,i,a)}break;case 5:var o=t.return;try{to(t)}catch(a){W(t,o,a)}}}catch(a){W(t,t.return,a)}if(t===e){R=null;break}var u=t.sibling;if(u!==null){u.return=t.return,R=u;break}R=t.return}}var vp=Math.ceil,cl=qe.ReactCurrentDispatcher,Xo=qe.ReactCurrentOwner,Le=qe.ReactCurrentBatchConfig,D=0,b=null,Y=null,te=0,he=0,Gt=yt(0),J=0,er=null,Dt=0,Pl=0,Jo=0,Mn=null,ce=null,Go=0,cn=1/0,Be=null,fl=!1,lo=null,ft=null,Cr=!1,it=null,dl=0,jn=0,io=null,Ar=-1,Ur=0;function ae(){return D&6?K():Ar!==-1?Ar:Ar=K()}function dt(e){return e.mode&1?D&2&&te!==0?te&-te:bd.transition!==null?(Ur===0&&(Ur=as()),Ur):(e=F,e!==0||(e=window.event,e=e===void 0?16:hs(e.type)),e):1}function Fe(e,t,n,r){if(50<jn)throw jn=0,io=null,Error(_(185));rr(e,n,r),(!(D&2)||e!==b)&&(e===b&&(!(D&2)&&(Pl|=n),J===4&&rt(e,te)),me(e,r),n===1&&D===0&&!(t.mode&1)&&(cn=K()+500,Cl&&gt()))}function me(e,t){var n=e.callbackNode;bf(e,t);var r=Jr(e,e===b?te:0);if(r===0)n!==null&&Ru(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Ru(n),t===1)e.tag===0?qd(wa.bind(null,e)):Fs(wa.bind(null,e)),Xd(function(){!(D&6)&&gt()}),n=null;else{switch(ss(r)){case 1:n=ko;break;case 4:n=os;break;case 16:n=Xr;break;case 536870912:n=us;break;default:n=Xr}n=Oc(n,_c.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function _c(e,t){if(Ar=-1,Ur=0,D&6)throw Error(_(327));var n=e.callbackNode;if(nn()&&e.callbackNode!==n)return null;var r=Jr(e,e===b?te:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=pl(e,r);else{t=r;var l=D;D|=2;var i=Rc();(b!==e||te!==t)&&(Be=null,cn=K()+500,Rt(e,t));do try{wp();break}catch(u){Lc(e,u)}while(!0);Io(),cl.current=i,D=l,Y!==null?t=0:(b=null,te=0,t=J)}if(t!==0){if(t===2&&(l=Oi(e),l!==0&&(r=l,t=oo(e,l))),t===1)throw n=er,Rt(e,0),rt(e,r),me(e,K()),n;if(t===6)rt(e,r);else{if(l=e.current.alternate,!(r&30)&&!yp(l)&&(t=pl(e,r),t===2&&(i=Oi(e),i!==0&&(r=i,t=oo(e,i))),t===1))throw n=er,Rt(e,0),rt(e,r),me(e,K()),n;switch(e.finishedWork=l,e.finishedLanes=r,t){case 0:case 1:throw Error(_(345));case 2:xt(e,ce,Be);break;case 3:if(rt(e,r),(r&130023424)===r&&(t=Go+500-K(),10<t)){if(Jr(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){ae(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=Hi(xt.bind(null,e,ce,Be),t);break}xt(e,ce,Be);break;case 4:if(rt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,l=-1;0<r;){var o=31-De(r);i=1<<o,o=t[o],o>l&&(l=o),r&=~i}if(r=l,r=K()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*vp(r/1960))-r,10<r){e.timeoutHandle=Hi(xt.bind(null,e,ce,Be),r);break}xt(e,ce,Be);break;case 5:xt(e,ce,Be);break;default:throw Error(_(329))}}}return me(e,K()),e.callbackNode===n?_c.bind(null,e):null}function oo(e,t){var n=Mn;return e.current.memoizedState.isDehydrated&&(Rt(e,t).flags|=256),e=pl(e,t),e!==2&&(t=ce,ce=n,t!==null&&uo(t)),e}function uo(e){ce===null?ce=e:ce.push.apply(ce,e)}function yp(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var l=n[r],i=l.getSnapshot;l=l.value;try{if(!Ie(i(),l))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;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 rt(e,t){for(t&=~Jo,t&=~Pl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-De(t),r=1<<n;e[n]=-1,t&=~r}}function wa(e){if(D&6)throw Error(_(327));nn();var t=Jr(e,0);if(!(t&1))return me(e,K()),null;var n=pl(e,t);if(e.tag!==0&&n===2){var r=Oi(e);r!==0&&(t=r,n=oo(e,r))}if(n===1)throw n=er,Rt(e,0),rt(e,t),me(e,K()),n;if(n===6)throw Error(_(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xt(e,ce,Be),me(e,K()),null}function Zo(e,t){var n=D;D|=1;try{return e(t)}finally{D=n,D===0&&(cn=K()+500,Cl&&gt())}}function Ft(e){it!==null&&it.tag===0&&!(D&6)&&nn();var t=D;D|=1;var n=Le.transition,r=F;try{if(Le.transition=null,F=1,e)return e()}finally{F=r,Le.transition=n,D=t,!(D&6)&&gt()}}function qo(){he=Gt.current,A(Gt)}function Rt(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Yd(n)),Y!==null)for(n=Y.return;n!==null;){var r=n;switch(Oo(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&el();break;case 3:an(),A(de),A(oe),$o();break;case 5:Ho(r);break;case 4:an();break;case 13:A(H);break;case 19:A(H);break;case 10:Mo(r.type._context);break;case 22:case 23:qo()}n=n.return}if(b=e,Y=e=pt(e.current,null),te=he=t,J=0,er=null,Jo=Pl=Dt=0,ce=Mn=null,_t!==null){for(t=0;t<_t.length;t++)if(n=_t[t],r=n.interleaved,r!==null){n.interleaved=null;var l=r.next,i=n.pending;if(i!==null){var o=i.next;i.next=l,r.next=o}n.pending=r}_t=null}return e}function Lc(e,t){do{var n=Y;try{if(Io(),Ir.current=sl,al){for(var r=$.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}al=!1}if(Ot=0,q=X=$=null,Fn=!1,Zn=0,Xo.current=null,n===null||n.return===null){J=1,er=t,Y=null;break}e:{var i=e,o=n.return,u=n,a=t;if(t=te,u.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var s=a,h=u,d=h.tag;if(!(h.mode&1)&&(d===0||d===11||d===15)){var f=h.alternate;f?(h.updateQueue=f.updateQueue,h.memoizedState=f.memoizedState,h.lanes=f.lanes):(h.updateQueue=null,h.memoizedState=null)}var w=oa(o);if(w!==null){w.flags&=-257,ua(w,o,u,i,t),w.mode&1&&ia(i,s,t),t=w,a=s;var v=t.updateQueue;if(v===null){var S=new Set;S.add(a),t.updateQueue=S}else v.add(a);break e}else{if(!(t&1)){ia(i,s,t),bo();break e}a=Error(_(426))}}else if(U&&u.mode&1){var L=oa(o);if(L!==null){!(L.flags&65536)&&(L.flags|=256),ua(L,o,u,i,t),Do(sn(a,u));break e}}i=a=sn(a,u),J!==4&&(J=2),Mn===null?Mn=[i]:Mn.push(i),i=o;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var p=sc(i,a,t);bu(i,p);break e;case 1:u=a;var c=i.type,m=i.stateNode;if(!(i.flags&128)&&(typeof c.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(ft===null||!ft.has(m)))){i.flags|=65536,t&=-t,i.lanes|=t;var y=cc(i,u,t);bu(i,y);break e}}i=i.return}while(i!==null)}Nc(n)}catch(k){t=k,Y===n&&n!==null&&(Y=n=n.return);continue}break}while(!0)}function Rc(){var e=cl.current;return cl.current=sl,e===null?sl:e}function bo(){(J===0||J===3||J===2)&&(J=4),b===null||!(Dt&268435455)&&!(Pl&268435455)||rt(b,te)}function pl(e,t){var n=D;D|=2;var r=Rc();(b!==e||te!==t)&&(Be=null,Rt(e,t));do try{gp();break}catch(l){Lc(e,l)}while(!0);if(Io(),D=n,cl.current=r,Y!==null)throw Error(_(261));return b=null,te=0,J}function gp(){for(;Y!==null;)Pc(Y)}function wp(){for(;Y!==null&&!Wf();)Pc(Y)}function Pc(e){var t=zc(e.alternate,e,he);e.memoizedProps=e.pendingProps,t===null?Nc(e):Y=t,Xo.current=null}function Nc(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=dp(n,t),n!==null){n.flags&=32767,Y=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{J=6,Y=null;return}}else if(n=fp(n,t,he),n!==null){Y=n;return}if(t=t.sibling,t!==null){Y=t;return}Y=t=e}while(t!==null);J===0&&(J=5)}function xt(e,t,n){var r=F,l=Le.transition;try{Le.transition=null,F=1,Sp(e,t,n,r)}finally{Le.transition=l,F=r}return null}function Sp(e,t,n,r){do nn();while(it!==null);if(D&6)throw Error(_(327));n=e.finishedWork;var l=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(_(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(ed(e,i),e===b&&(Y=b=null,te=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Cr||(Cr=!0,Oc(Xr,function(){return nn(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=Le.transition,Le.transition=null;var o=F;F=1;var u=D;D|=4,Xo.current=null,mp(e,n),xc(n,e),Hd(Ai),Gr=!!ji,Ai=ji=null,e.current=n,hp(n),Qf(),D=u,F=o,Le.transition=i}else e.current=n;if(Cr&&(Cr=!1,it=e,dl=l),i=e.pendingLanes,i===0&&(ft=null),Xf(n.stateNode),me(e,K()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)l=t[n],r(l.value,{componentStack:l.stack,digest:l.digest});if(fl)throw fl=!1,e=lo,lo=null,e;return dl&1&&e.tag!==0&&nn(),i=e.pendingLanes,i&1?e===io?jn++:(jn=0,io=e):jn=0,gt(),null}function nn(){if(it!==null){var e=ss(dl),t=Le.transition,n=F;try{if(Le.transition=null,F=16>e?16:e,it===null)var r=!1;else{if(e=it,it=null,dl=0,D&6)throw Error(_(331));var l=D;for(D|=4,R=e.current;R!==null;){var i=R,o=i.child;if(R.flags&16){var u=i.deletions;if(u!==null){for(var a=0;a<u.length;a++){var s=u[a];for(R=s;R!==null;){var h=R;switch(h.tag){case 0:case 11:case 15:In(8,h,i)}var d=h.child;if(d!==null)d.return=h,R=d;else for(;R!==null;){h=R;var f=h.sibling,w=h.return;if(Sc(h),h===s){R=null;break}if(f!==null){f.return=w,R=f;break}R=w}}}var v=i.alternate;if(v!==null){var S=v.child;if(S!==null){v.child=null;do{var L=S.sibling;S.sibling=null,S=L}while(S!==null)}}R=i}}if(i.subtreeFlags&2064&&o!==null)o.return=i,R=o;else e:for(;R!==null;){if(i=R,i.flags&2048)switch(i.tag){case 0:case 11:case 15:In(9,i,i.return)}var p=i.sibling;if(p!==null){p.return=i.return,R=p;break e}R=i.return}}var c=e.current;for(R=c;R!==null;){o=R;var m=o.child;if(o.subtreeFlags&2064&&m!==null)m.return=o,R=m;else e:for(o=c;R!==null;){if(u=R,u.flags&2048)try{switch(u.tag){case 0:case 11:case 15:Rl(9,u)}}catch(k){W(u,u.return,k)}if(u===o){R=null;break e}var y=u.sibling;if(y!==null){y.return=u.return,R=y;break e}R=u.return}}if(D=l,gt(),Ue&&typeof Ue.onPostCommitFiberRoot=="function")try{Ue.onPostCommitFiberRoot(wl,e)}catch{}r=!0}return r}finally{F=n,Le.transition=t}}return!1}function Sa(e,t,n){t=sn(n,t),t=sc(e,t,1),e=ct(e,t,1),t=ae(),e!==null&&(rr(e,1,t),me(e,t))}function W(e,t,n){if(e.tag===3)Sa(e,e,n);else for(;t!==null;){if(t.tag===3){Sa(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(ft===null||!ft.has(r))){e=sn(n,e),e=cc(t,e,1),t=ct(t,e,1),e=ae(),t!==null&&(rr(t,1,e),me(t,e));break}}t=t.return}}function Ep(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=ae(),e.pingedLanes|=e.suspendedLanes&n,b===e&&(te&n)===n&&(J===4||J===3&&(te&130023424)===te&&500>K()-Go?Rt(e,0):Jo|=n),me(e,t)}function Tc(e,t){t===0&&(e.mode&1?(t=mr,mr<<=1,!(mr&130023424)&&(mr=4194304)):t=1);var n=ae();e=Je(e,t),e!==null&&(rr(e,t,n),me(e,n))}function kp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Tc(e,n)}function xp(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(_(314))}r!==null&&r.delete(t),Tc(e,n)}var zc;zc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||de.current)fe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return fe=!1,cp(e,t,n);fe=!!(e.flags&131072)}else fe=!1,U&&t.flags&1048576&&Is(t,rl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;jr(e,t),e=t.pendingProps;var l=ln(t,oe.current);tn(t,n),l=Vo(null,t,r,e,l,n);var i=Wo();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,pe(r)?(i=!0,tl(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Ao(t),l.updater=Ll,t.stateNode=l,l._reactInternals=t,Yi(t,r,e,n),t=Gi(null,t,r,!0,i,n)):(t.tag=0,U&&i&&zo(t),ue(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(jr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=_p(r),e=Te(r,e),l){case 0:t=Ji(null,t,r,e,n);break e;case 1:t=ca(null,t,r,e,n);break e;case 11:t=aa(null,t,r,e,n);break e;case 14:t=sa(null,t,r,Te(r.type,e),n);break e}throw Error(_(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Te(r,l),Ji(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Te(r,l),ca(e,t,r,l,n);case 3:e:{if(mc(t),e===null)throw Error(_(387));r=t.pendingProps,i=t.memoizedState,l=i.element,$s(e,t),ol(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=sn(Error(_(423)),t),t=fa(e,t,r,n,l);break e}else if(r!==l){l=sn(Error(_(424)),t),t=fa(e,t,r,n,l);break e}else for(ve=st(t.stateNode.containerInfo.firstChild),ye=t,U=!0,Oe=null,n=Us(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(on(),r===l){t=Ge(e,t,n);break e}ue(e,t,r,n)}t=t.child}return t;case 5:return Bs(t),e===null&&Wi(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,Ui(r,l)?o=null:i!==null&&Ui(r,i)&&(t.flags|=32),pc(e,t),ue(e,t,o,n),t.child;case 6:return e===null&&Wi(t),null;case 13:return hc(e,t,n);case 4:return Uo(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=un(t,null,r,n):ue(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Te(r,l),aa(e,t,r,l,n);case 7:return ue(e,t,t.pendingProps,n),t.child;case 8:return ue(e,t,t.pendingProps.children,n),t.child;case 12:return ue(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,M(ll,r._currentValue),r._currentValue=o,i!==null)if(Ie(i.value,o)){if(i.children===l.children&&!de.current){t=Ge(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){o=i.child;for(var a=u.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=Ke(-1,n&-n),a.tag=2;var s=i.updateQueue;if(s!==null){s=s.shared;var h=s.pending;h===null?a.next=a:(a.next=h.next,h.next=a),s.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Qi(i.return,n,t),u.lanes|=n;break}a=a.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(_(341));o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Qi(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}ue(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,tn(t,n),l=Re(l),r=r(l),t.flags|=1,ue(e,t,r,n),t.child;case 14:return r=t.type,l=Te(r,t.pendingProps),l=Te(r.type,l),sa(e,t,r,l,n);case 15:return fc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Te(r,l),jr(e,t),t.tag=1,pe(r)?(e=!0,tl(t)):e=!1,tn(t,n),ac(t,r,l),Yi(t,r,l,n),Gi(null,t,r,!0,e,n);case 19:return vc(e,t,n);case 22:return dc(e,t,n)}throw Error(_(156,t.tag))};function Oc(e,t){return is(e,t)}function Cp(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function _e(e,t,n,r){return new Cp(e,t,n,r)}function eu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _p(e){if(typeof e=="function")return eu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===wo)return 11;if(e===So)return 14}return 2}function pt(e,t){var n=e.alternate;return n===null?(n=_e(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Hr(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")eu(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Ht:return Pt(n.children,l,i,t);case go:o=8,l|=8;break;case yi:return e=_e(12,n,t,l|2),e.elementType=yi,e.lanes=i,e;case gi:return e=_e(13,n,t,l),e.elementType=gi,e.lanes=i,e;case wi:return e=_e(19,n,t,l),e.elementType=wi,e.lanes=i,e;case Ba:return Nl(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ha:o=10;break e;case $a:o=9;break e;case wo:o=11;break e;case So:o=14;break e;case et:o=16,r=null;break e}throw Error(_(130,e==null?e:typeof e,""))}return t=_e(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function Pt(e,t,n,r){return e=_e(7,e,r,t),e.lanes=n,e}function Nl(e,t,n,r){return e=_e(22,e,r,t),e.elementType=Ba,e.lanes=n,e.stateNode={isHidden:!1},e}function si(e,t,n){return e=_e(6,e,null,t),e.lanes=n,e}function ci(e,t,n){return t=_e(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Lp(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Wl(0),this.expirationTimes=Wl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function tu(e,t,n,r,l,i,o,u,a){return e=new Lp(e,t,n,u,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=_e(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ao(i),e}function Rp(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Ut,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Dc(e){if(!e)return ht;e=e._reactInternals;e:{if(jt(e)!==e||e.tag!==1)throw Error(_(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(pe(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(_(171))}if(e.tag===1){var n=e.type;if(pe(n))return Ds(e,n,t)}return t}function Fc(e,t,n,r,l,i,o,u,a){return e=tu(n,r,!0,e,l,i,o,u,a),e.context=Dc(null),n=e.current,r=ae(),l=dt(n),i=Ke(r,l),i.callback=t??null,ct(n,i,l),e.current.lanes=l,rr(e,l,r),me(e,r),e}function Tl(e,t,n,r){var l=t.current,i=ae(),o=dt(l);return n=Dc(n),t.context===null?t.context=n:t.pendingContext=n,t=Ke(i,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=ct(l,t,o),e!==null&&(Fe(e,l,o,i),Fr(e,l,o)),o}function ml(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Ea(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function nu(e,t){Ea(e,t),(e=e.alternate)&&Ea(e,t)}function Pp(){return null}var Ic=typeof reportError=="function"?reportError:function(e){console.error(e)};function ru(e){this._internalRoot=e}zl.prototype.render=ru.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(_(409));Tl(e,t,null,null)};zl.prototype.unmount=ru.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Ft(function(){Tl(null,e,null,null)}),t[Xe]=null}};function zl(e){this._internalRoot=e}zl.prototype.unstable_scheduleHydration=function(e){if(e){var t=ds();e={blockedOn:null,target:e,priority:t};for(var n=0;n<nt.length&&t!==0&&t<nt[n].priority;n++);nt.splice(n,0,e),n===0&&ms(e)}};function lu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Ol(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function ka(){}function Np(e,t,n,r,l){if(l){if(typeof r=="function"){var i=r;r=function(){var s=ml(o);i.call(s)}}var o=Fc(t,r,e,0,null,!1,!1,"",ka);return e._reactRootContainer=o,e[Xe]=o.current,Kn(e.nodeType===8?e.parentNode:e),Ft(),o}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var u=r;r=function(){var s=ml(a);u.call(s)}}var a=tu(e,0,!1,null,null,!1,!1,"",ka);return e._reactRootContainer=a,e[Xe]=a.current,Kn(e.nodeType===8?e.parentNode:e),Ft(function(){Tl(t,a,n,r)}),a}function Dl(e,t,n,r,l){var i=n._reactRootContainer;if(i){var o=i;if(typeof l=="function"){var u=l;l=function(){var a=ml(o);u.call(a)}}Tl(t,o,e,l)}else o=Np(n,t,e,l,r);return ml(o)}cs=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Rn(t.pendingLanes);n!==0&&(xo(t,n|1),me(t,K()),!(D&6)&&(cn=K()+500,gt()))}break;case 13:Ft(function(){var r=Je(e,1);if(r!==null){var l=ae();Fe(r,e,1,l)}}),nu(e,1)}};Co=function(e){if(e.tag===13){var t=Je(e,134217728);if(t!==null){var n=ae();Fe(t,e,134217728,n)}nu(e,134217728)}};fs=function(e){if(e.tag===13){var t=dt(e),n=Je(e,t);if(n!==null){var r=ae();Fe(n,e,t,r)}nu(e,t)}};ds=function(){return F};ps=function(e,t){var n=F;try{return F=e,t()}finally{F=n}};Ni=function(e,t,n){switch(t){case"input":if(ki(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var l=xl(r);if(!l)throw Error(_(90));Wa(r),ki(r,l)}}}break;case"textarea":Ka(e,n);break;case"select":t=n.value,t!=null&&Zt(e,!!n.multiple,t,!1)}};ba=Zo;es=Ft;var Tp={usingClientEntryPoint:!1,Events:[ir,Wt,xl,Za,qa,Zo]},kn={findFiberByHostInstance:Ct,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},zp={bundleType:kn.bundleType,version:kn.version,rendererPackageName:kn.rendererPackageName,rendererConfig:kn.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:qe.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=rs(e),e===null?null:e.stateNode},findFiberByHostInstance:kn.findFiberByHostInstance||Pp,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var _r=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!_r.isDisabled&&_r.supportsFiber)try{wl=_r.inject(zp),Ue=_r}catch{}}we.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Tp;we.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!lu(t))throw Error(_(200));return Rp(e,t,null,n)};we.createRoot=function(e,t){if(!lu(e))throw Error(_(299));var n=!1,r="",l=Ic;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=tu(e,1,!1,null,null,n,!1,r,l),e[Xe]=t.current,Kn(e.nodeType===8?e.parentNode:e),new ru(t)};we.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(_(188)):(e=Object.keys(e).join(","),Error(_(268,e)));return e=rs(t),e=e===null?null:e.stateNode,e};we.flushSync=function(e){return Ft(e)};we.hydrate=function(e,t,n){if(!Ol(t))throw Error(_(200));return Dl(null,e,t,!0,n)};we.hydrateRoot=function(e,t,n){if(!lu(e))throw Error(_(405));var r=n!=null&&n.hydratedSources||null,l=!1,i="",o=Ic;if(n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=Fc(t,null,e,1,n??null,l,!1,i,o),e[Xe]=t.current,Kn(e),r)for(e=0;e<r.length;e++)n=r[e],l=n._getVersion,l=l(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,l]:t.mutableSourceEagerHydrationData.push(n,l);return new zl(t)};we.render=function(e,t,n){if(!Ol(t))throw Error(_(200));return Dl(null,e,t,!1,n)};we.unmountComponentAtNode=function(e){if(!Ol(e))throw Error(_(40));return e._reactRootContainer?(Ft(function(){Dl(null,null,e,!1,function(){e._reactRootContainer=null,e[Xe]=null})}),!0):!1};we.unstable_batchedUpdates=Zo;we.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ol(n))throw Error(_(200));if(e==null||e._reactInternals===void 0)throw Error(_(38));return Dl(e,t,n,!1,r)};we.version="18.3.1-next-f1338f8080-20240426";function Mc(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Mc)}catch(e){console.error(e)}}Mc(),Ma.exports=we;var jc=Ma.exports;const Op=sf(jc),Dp=Rf({__proto__:null,default:Op},[jc]);/**
 * React Router DOM v6.28.0
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function It(){return It=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},It.apply(this,arguments)}function iu(e,t){if(e==null)return{};var n={},r=Object.keys(e),l,i;for(i=0;i<r.length;i++)l=r[i],!(t.indexOf(l)>=0)&&(n[l]=e[l]);return n}const $r="get",fi="application/x-www-form-urlencoded";function Fl(e){return e!=null&&typeof e.tagName=="string"}function Fp(e){return Fl(e)&&e.tagName.toLowerCase()==="button"}function Ip(e){return Fl(e)&&e.tagName.toLowerCase()==="form"}function Mp(e){return Fl(e)&&e.tagName.toLowerCase()==="input"}function jp(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Ap(e,t){return e.button===0&&(!t||t==="_self")&&!jp(e)}let Lr=null;function Up(){if(Lr===null)try{new FormData(document.createElement("form"),0),Lr=!1}catch{Lr=!0}return Lr}const Hp=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function di(e){return e!=null&&!Hp.has(e)?null:e}function $p(e,t){let n,r,l,i,o;if(Ip(e)){let u=e.getAttribute("action");r=u?Nt(u,t):null,n=e.getAttribute("method")||$r,l=di(e.getAttribute("enctype"))||fi,i=new FormData(e)}else if(Fp(e)||Mp(e)&&(e.type==="submit"||e.type==="image")){let u=e.form;if(u==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let a=e.getAttribute("formaction")||u.getAttribute("action");if(r=a?Nt(a,t):null,n=e.getAttribute("formmethod")||u.getAttribute("method")||$r,l=di(e.getAttribute("formenctype"))||di(u.getAttribute("enctype"))||fi,i=new FormData(u,e),!Up()){let{name:s,type:h,value:d}=e;if(h==="image"){let f=s?s+".":"";i.append(f+"x","0"),i.append(f+"y","0")}else s&&i.append(s,d)}}else{if(Fl(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=$r,r=null,l=fi,o=e}return i&&l==="text/plain"&&(o=i,i=void 0),{action:r,method:n.toLowerCase(),encType:l,formData:i,body:o}}const Bp=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Vp=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],Wp=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"],Qp="6";try{window.__reactRouterVersion=Qp}catch{}const Ac=g.createContext({isTransitioning:!1}),Kp=g.createContext(new Map),Yp="startTransition",xa=cf[Yp],Xp="flushSync",Ca=Dp[Xp];function Jp(e){xa?xa(e):e()}function xn(e){Ca?Ca(e):e()}let Gp=class{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}};function Nh(e){let{fallbackElement:t,router:n,future:r}=e,[l,i]=g.useState(n.state),[o,u]=g.useState(),[a,s]=g.useState({isTransitioning:!1}),[h,d]=g.useState(),[f,w]=g.useState(),[v,S]=g.useState(),L=g.useRef(new Map),{v7_startTransition:p}=r||{},c=g.useCallback(x=>{p?Jp(x):x()},[p]),m=g.useCallback((x,T)=>{let{deletedFetchers:N,flushSync:I,viewTransitionOpts:V}=T;N.forEach(Ee=>L.current.delete(Ee)),x.fetchers.forEach((Ee,ke)=>{Ee.data!==void 0&&L.current.set(ke,Ee.data)});let $e=n.window==null||n.window.document==null||typeof n.window.document.startViewTransition!="function";if(!V||$e){I?xn(()=>i(x)):c(()=>i(x));return}if(I){xn(()=>{f&&(h&&h.resolve(),f.skipTransition()),s({isTransitioning:!0,flushSync:!0,currentLocation:V.currentLocation,nextLocation:V.nextLocation})});let Ee=n.window.document.startViewTransition(()=>{xn(()=>i(x))});Ee.finished.finally(()=>{xn(()=>{d(void 0),w(void 0),u(void 0),s({isTransitioning:!1})})}),xn(()=>w(Ee));return}f?(h&&h.resolve(),f.skipTransition(),S({state:x,currentLocation:V.currentLocation,nextLocation:V.nextLocation})):(u(x),s({isTransitioning:!0,flushSync:!1,currentLocation:V.currentLocation,nextLocation:V.nextLocation}))},[n.window,f,h,L,c]);g.useLayoutEffect(()=>n.subscribe(m),[n,m]),g.useEffect(()=>{a.isTransitioning&&!a.flushSync&&d(new Gp)},[a]),g.useEffect(()=>{if(h&&o&&n.window){let x=o,T=h.promise,N=n.window.document.startViewTransition(async()=>{c(()=>i(x)),await T});N.finished.finally(()=>{d(void 0),w(void 0),u(void 0),s({isTransitioning:!1})}),w(N)}},[c,o,h,n.window]),g.useEffect(()=>{h&&o&&l.location.key===o.location.key&&h.resolve()},[h,f,l.location,o]),g.useEffect(()=>{!a.isTransitioning&&v&&(u(v.state),s({isTransitioning:!0,flushSync:!1,currentLocation:v.currentLocation,nextLocation:v.nextLocation}),S(void 0))},[a.isTransitioning,v]),g.useEffect(()=>{},[]);let y=g.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:x=>n.navigate(x),push:(x,T,N)=>n.navigate(x,{state:T,preventScrollReset:N==null?void 0:N.preventScrollReset}),replace:(x,T,N)=>n.navigate(x,{replace:!0,state:T,preventScrollReset:N==null?void 0:N.preventScrollReset})}),[n]),k=n.basename||"/",E=g.useMemo(()=>({router:n,navigator:y,static:!1,basename:k}),[n,y,k]),C=g.useMemo(()=>({v7_relativeSplatPath:n.future.v7_relativeSplatPath}),[n.future.v7_relativeSplatPath]);return g.useEffect(()=>ff(r,n.future),[r,n.future]),g.createElement(g.Fragment,null,g.createElement(po.Provider,{value:E},g.createElement(vl.Provider,{value:l},g.createElement(Kp.Provider,{value:L.current},g.createElement(Ac.Provider,{value:a},g.createElement(df,{basename:k,location:l.location,navigationType:l.historyAction,navigator:y,future:C},l.initialized||n.future.v7_partialHydration?g.createElement(Zp,{routes:n.routes,future:n.future,state:l}):t))))),null)}const Zp=g.memo(qp);function qp(e){let{routes:t,future:n,state:r}=e;return pf(t,void 0,r,n)}const bp=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",em=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Uc=g.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:i,replace:o,state:u,target:a,to:s,preventScrollReset:h,viewTransition:d}=t,f=iu(t,Bp),{basename:w}=g.useContext(nr),v,S=!1;if(typeof s=="string"&&em.test(s)&&(v=s,bp))try{let m=new URL(window.location.href),y=s.startsWith("//")?new URL(m.protocol+s):new URL(s),k=Nt(y.pathname,w);y.origin===m.origin&&k!=null?s=k+y.search+y.hash:S=!0}catch{}let L=mo(s,{relative:l}),p=lm(s,{replace:o,state:u,target:a,preventScrollReset:h,relative:l,viewTransition:d});function c(m){r&&r(m),m.defaultPrevented||p(m)}return g.createElement("a",It({},f,{href:v||L,onClick:S||i?r:c,ref:n,target:a}))}),tm=g.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:l=!1,className:i="",end:o=!1,style:u,to:a,viewTransition:s,children:h}=t,d=iu(t,Vp),f=yl(a,{relative:d.relative}),w=fn(),v=g.useContext(vl),{navigator:S,basename:L}=g.useContext(nr),p=v!=null&&fm(f)&&s===!0,c=S.encodeLocation?S.encodeLocation(f).pathname:f.pathname,m=w.pathname,y=v&&v.navigation&&v.navigation.location?v.navigation.location.pathname:null;l||(m=m.toLowerCase(),y=y?y.toLowerCase():null,c=c.toLowerCase()),y&&L&&(y=Nt(y,L)||y);const k=c!=="/"&&c.endsWith("/")?c.length-1:c.length;let E=m===c||!o&&m.startsWith(c)&&m.charAt(k)==="/",C=y!=null&&(y===c||!o&&y.startsWith(c)&&y.charAt(c.length)==="/"),x={isActive:E,isPending:C,isTransitioning:p},T=E?r:void 0,N;typeof i=="function"?N=i(x):N=[i,E?"active":null,C?"pending":null,p?"transitioning":null].filter(Boolean).join(" ");let I=typeof u=="function"?u(x):u;return g.createElement(Uc,It({},d,{"aria-current":T,className:N,ref:n,style:I,to:a,viewTransition:s}),typeof h=="function"?h(x):h)}),nm=g.forwardRef((e,t)=>{let{fetcherKey:n,navigate:r,reloadDocument:l,replace:i,state:o,method:u=$r,action:a,onSubmit:s,relative:h,preventScrollReset:d,viewTransition:f}=e,w=iu(e,Wp),v=am(),S=sm(a,{relative:h}),L=u.toLowerCase()==="get"?"get":"post",p=c=>{if(s&&s(c),c.defaultPrevented)return;c.preventDefault();let m=c.nativeEvent.submitter,y=(m==null?void 0:m.getAttribute("formmethod"))||u;v(m||c.currentTarget,{fetcherKey:n,method:y,navigate:r,replace:i,state:o,relative:h,preventScrollReset:d,viewTransition:f})};return g.createElement("form",It({ref:t,method:L,action:S,onSubmit:l?s:p},w))});var tr;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(tr||(tr={}));var ao;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(ao||(ao={}));function ou(e){let t=g.useContext(po);return t||gl(!1),t}function rm(e){let t=g.useContext(vl);return t||gl(!1),t}function lm(e,t){let{target:n,replace:r,state:l,preventScrollReset:i,relative:o,viewTransition:u}=t===void 0?{}:t,a=mf(),s=fn(),h=yl(e,{relative:o});return g.useCallback(d=>{if(Ap(d,n)){d.preventDefault();let f=r!==void 0?r:hi(s)===hi(h);a(e,{replace:f,state:l,preventScrollReset:i,relative:o,viewTransition:u})}},[s,a,h,r,l,n,e,i,o,u])}function im(){if(typeof document>"u")throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}let om=0,um=()=>"__"+String(++om)+"__";function am(){let{router:e}=ou(tr.UseSubmit),{basename:t}=g.useContext(nr),n=yf();return g.useCallback(function(r,l){l===void 0&&(l={}),im();let{action:i,method:o,encType:u,formData:a,body:s}=$p(r,t);if(l.navigate===!1){let h=l.fetcherKey||um();e.fetch(h,n,l.action||i,{preventScrollReset:l.preventScrollReset,formData:a,body:s,formMethod:l.method||o,formEncType:l.encType||u,flushSync:l.flushSync})}else e.navigate(l.action||i,{preventScrollReset:l.preventScrollReset,formData:a,body:s,formMethod:l.method||o,formEncType:l.encType||u,replace:l.replace,state:l.state,fromRouteId:n,flushSync:l.flushSync,viewTransition:l.viewTransition})},[e,t,n])}function sm(e,t){let{relative:n}=t===void 0?{}:t,{basename:r}=g.useContext(nr),l=g.useContext(gf);l||gl(!1);let[i]=l.matches.slice(-1),o=It({},yl(e||".",{relative:n})),u=fn();if(e==null){o.search=u.search;let a=new URLSearchParams(o.search),s=a.getAll("index");if(s.some(d=>d==="")){a.delete("index"),s.filter(f=>f).forEach(f=>a.append("index",f));let d=a.toString();o.search=d?"?"+d:""}}return(!e||e===".")&&i.route.index&&(o.search=o.search?o.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(o.pathname=o.pathname==="/"?r:wf([r,o.pathname])),hi(o)}const _a="react-router-scroll-positions";let Rr={};function Th(e){let{getKey:t,storageKey:n}=e===void 0?{}:e,{router:r}=ou(tr.UseScrollRestoration),{restoreScrollPosition:l,preventScrollReset:i}=rm(ao.UseScrollRestoration),{basename:o}=g.useContext(nr),u=fn(),a=hf(),s=vf();g.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),cm(g.useCallback(()=>{if(s.state==="idle"){let h=(t?t(u,a):null)||u.key;Rr[h]=window.scrollY}try{sessionStorage.setItem(n||_a,JSON.stringify(Rr))}catch{}window.history.scrollRestoration="auto"},[n,t,s.state,u,a])),typeof document<"u"&&(g.useLayoutEffect(()=>{try{let h=sessionStorage.getItem(n||_a);h&&(Rr=JSON.parse(h))}catch{}},[n]),g.useLayoutEffect(()=>{let h=t&&o!=="/"?(f,w)=>t(It({},f,{pathname:Nt(f.pathname,o)||f.pathname}),w):t,d=r==null?void 0:r.enableScrollRestoration(Rr,()=>window.scrollY,h);return()=>d&&d()},[r,o,t]),g.useLayoutEffect(()=>{if(l!==!1){if(typeof l=="number"){window.scrollTo(0,l);return}if(u.hash){let h=document.getElementById(decodeURIComponent(u.hash.slice(1)));if(h){h.scrollIntoView();return}}i!==!0&&window.scrollTo(0,0)}},[u,l,i]))}function cm(e,t){let{capture:n}={};g.useEffect(()=>{let r=n!=null?{capture:n}:void 0;return window.addEventListener("pagehide",e,r),()=>{window.removeEventListener("pagehide",e,r)}},[e,n])}function fm(e,t){t===void 0&&(t={});let n=g.useContext(Ac);n==null&&gl(!1);let{basename:r}=ou(tr.useViewTransitionState),l=yl(e,{relative:t.relative});if(!n.isTransitioning)return!1;let i=Nt(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=Nt(n.nextLocation.pathname,r)||n.nextLocation.pathname;return yu(l.pathname,o)!=null||yu(l.pathname,i)!=null}var dm=-1,pm=-2,mm=-3,hm=-4,vm=-5,ym=-6,gm=-7,wm="B",Sm="D",Hc="E",Em="M",km="N",$c="P",xm="R",Cm="S",_m="Y",Lm="U",Rm="Z",Bc=class{constructor(){sr(this,"promise");sr(this,"resolve");sr(this,"reject");this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}};function Pm(){const e=new TextDecoder;let t="";return new TransformStream({transform(n,r){const l=e.decode(n,{stream:!0}),i=(t+l).split(`
`);t=i.pop()||"";for(const o of i)r.enqueue(o)},flush(n){t&&n.enqueue(t)}})}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var pi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:void 0;function so(e){const{hydrated:t,values:n}=this;if(typeof e=="number")return La.call(this,e);if(!Array.isArray(e)||!e.length)throw new SyntaxError;const r=n.length;for(const l of e)n.push(l);return t.length=n.length,La.call(this,r)}function La(e){const{hydrated:t,values:n,deferred:r,plugins:l}=this;let i;const o=[[e,a=>{i=a}]];let u=[];for(;o.length>0;){const[a,s]=o.pop();switch(a){case gm:s(void 0);continue;case vm:s(null);continue;case pm:s(NaN);continue;case ym:s(1/0);continue;case mm:s(-1/0);continue;case hm:s(-0);continue}if(t[a]){s(t[a]);continue}const h=n[a];if(!h||typeof h!="object"){t[a]=h,s(h);continue}if(Array.isArray(h))if(typeof h[0]=="string"){const[d,f,w]=h;switch(d){case Sm:s(t[a]=new Date(f));continue;case Lm:s(t[a]=new URL(f));continue;case wm:s(t[a]=BigInt(f));continue;case xm:s(t[a]=new RegExp(f,w));continue;case _m:s(t[a]=Symbol.for(f));continue;case Cm:const v=new Set;t[a]=v;for(let y=1;y<h.length;y++)o.push([h[y],k=>{v.add(k)}]);s(v);continue;case Em:const S=new Map;t[a]=S;for(let y=1;y<h.length;y+=2){const k=[];o.push([h[y+1],E=>{k[1]=E}]),o.push([h[y],E=>{k[0]=E}]),u.push(()=>{S.set(k[0],k[1])})}s(S);continue;case km:const L=Object.create(null);t[a]=L;for(const y of Object.keys(f).reverse()){const k=[];o.push([f[y],E=>{k[1]=E}]),o.push([Number(y.slice(1)),E=>{k[0]=E}]),u.push(()=>{L[k[0]]=k[1]})}s(L);continue;case $c:if(t[f])s(t[a]=t[f]);else{const y=new Bc;r[f]=y,s(t[a]=y.promise)}continue;case Hc:const[,p,c]=h;let m=c&&pi&&pi[c]?new pi[c](p):new Error(p);t[a]=m,s(m);continue;case Rm:s(t[a]=t[f]);continue;default:if(Array.isArray(l)){const y=[],k=h.slice(1);for(let E=0;E<k.length;E++){const C=k[E];o.push([C,x=>{y[E]=x}])}u.push(()=>{for(const E of l){const C=E(h[0],...y);if(C){s(t[a]=C.value);return}}throw new SyntaxError});continue}throw new SyntaxError}}else{const d=[];t[a]=d;for(let f=0;f<h.length;f++){const w=h[f];w!==dm&&o.push([w,v=>{d[f]=v}])}s(d);continue}else{const d={};t[a]=d;for(const f of Object.keys(h).reverse()){const w=[];o.push([h[f],v=>{w[1]=v}]),o.push([Number(f.slice(1)),v=>{w[0]=v}]),u.push(()=>{d[w[0]]=w[1]})}s(d);continue}}for(;u.length>0;)u.pop()();return i}async function Nm(e,t){const{plugins:n}=t??{},r=new Bc,l=e.pipeThrough(Pm()).getReader(),i={values:[],hydrated:[],deferred:{},plugins:n},o=await Tm.call(i,l);let u=r.promise;return o.done?r.resolve():u=zm.call(i,l).then(r.resolve).catch(a=>{for(const s of Object.values(i.deferred))s.reject(a);r.reject(a)}),{done:u.then(()=>l.closed),value:o.value}}async function Tm(e){const t=await e.read();if(!t.value)throw new SyntaxError;let n;try{n=JSON.parse(t.value)}catch{throw new SyntaxError}return{done:t.done,value:so.call(this,n)}}async function zm(e){let t=await e.read();for(;!t.done;){if(!t.value)continue;const n=t.value;switch(n[0]){case $c:{const r=n.indexOf(":"),l=Number(n.slice(1,r)),i=this.deferred[l];if(!i)throw new Error(`Deferred ID ${l} not found in stream`);const o=n.slice(r+1);let u;try{u=JSON.parse(o)}catch{throw new SyntaxError}const a=so.call(this,u);i.resolve(a);break}case Hc:{const r=n.indexOf(":"),l=Number(n.slice(1,r)),i=this.deferred[l];if(!i)throw new Error(`Deferred ID ${l} not found in stream`);const o=n.slice(r+1);let u;try{u=JSON.parse(o)}catch{throw new SyntaxError}const a=so.call(this,u);i.reject(a);break}default:throw new SyntaxError}t=await e.read()}}/**
 * @remix-run/server-runtime v2.15.1
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */const Vc=Symbol("SingleFetchRedirect");/**
 * @remix-run/react v2.15.1
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function G(){return G=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},G.apply(this,arguments)}/**
 * @remix-run/react v2.15.1
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function Ze(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}/**
 * @remix-run/react v2.15.1
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */async function Wc(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__remixContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}/**
 * @remix-run/react v2.15.1
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function Om(e,t,n){let r=e.map(i=>{var o;let u=t[i.route.id],a=n.routes[i.route.id];return[a.css?a.css.map(s=>({rel:"stylesheet",href:s})):[],(u==null||(o=u.links)===null||o===void 0?void 0:o.call(u))||[]]}).flat(2),l=Am(e,n);return Kc(r,l)}async function Qc(e,t){var n,r;if(!e.css&&!t.links||!Hm())return;let l=[((n=e.css)===null||n===void 0?void 0:n.map(u=>({rel:"stylesheet",href:u})))??[],((r=t.links)===null||r===void 0?void 0:r.call(t))??[]].flat(1);if(l.length===0)return;let i=[];for(let u of l)!uu(u)&&u.rel==="stylesheet"&&i.push({...u,rel:"preload",as:"style"});let o=i.filter(u=>(!u.media||window.matchMedia(u.media).matches)&&!document.querySelector(`link[rel="stylesheet"][href="${u.href}"]`));await Promise.all(o.map(Dm))}async function Dm(e){return new Promise(t=>{let n=document.createElement("link");Object.assign(n,e);function r(){document.head.contains(n)&&document.head.removeChild(n)}n.onload=()=>{r(),t()},n.onerror=()=>{r(),t()},document.head.appendChild(n)})}function uu(e){return e!=null&&typeof e.page=="string"}function Fm(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function Im(e,t,n){let r=await Promise.all(e.map(async l=>{let i=await Wc(t.routes[l.route.id],n);return i.links?i.links():[]}));return Kc(r.flat(1).filter(Fm).filter(l=>l.rel==="stylesheet"||l.rel==="preload").map(l=>l.rel==="stylesheet"?{...l,rel:"prefetch",as:"style"}:{...l,rel:"prefetch"}))}function Ra(e,t,n,r,l,i,o){let u=Yc(e),a=(d,f)=>n[f]?d.route.id!==n[f].route.id:!0,s=(d,f)=>{var w;return n[f].pathname!==d.pathname||((w=n[f].route.path)===null||w===void 0?void 0:w.endsWith("*"))&&n[f].params["*"]!==d.params["*"]};return o==="data"&&(i.v3_singleFetch||l.search!==u.search)?t.filter((d,f)=>{if(!r.routes[d.route.id].hasLoader)return!1;if(a(d,f)||s(d,f))return!0;let v=i.v3_singleFetch||l.search!==u.search;if(d.route.shouldRevalidate){var S;let L=d.route.shouldRevalidate({currentUrl:new URL(l.pathname+l.search+l.hash,window.origin),currentParams:((S=n[0])===null||S===void 0?void 0:S.params)||{},nextUrl:new URL(e,window.origin),nextParams:d.params,defaultShouldRevalidate:v});if(typeof L=="boolean")return L}return v}):t.filter((d,f)=>{let w=r.routes[d.route.id];return(o==="assets"||w.hasLoader)&&(a(d,f)||s(d,f))})}function Mm(e,t,n){let r=Yc(e);return au(t.filter(l=>n.routes[l.route.id].hasLoader&&!n.routes[l.route.id].hasClientLoader).map(l=>{let{pathname:i,search:o}=r,u=new URLSearchParams(o);return u.set("_data",l.route.id),`${i}?${u}`}))}function jm(e,t){return au(e.map(n=>{let r=t.routes[n.route.id],l=[r.module];return r.imports&&(l=l.concat(r.imports)),l}).flat(1))}function Am(e,t){return au(e.map(n=>{let r=t.routes[n.route.id],l=[r.module];return r.imports&&(l=l.concat(r.imports)),l}).flat(1))}function au(e){return[...new Set(e)]}function Um(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function Kc(e,t){let n=new Set,r=new Set(t);return e.reduce((l,i)=>{if(t&&!uu(i)&&i.as==="script"&&i.href&&r.has(i.href))return l;let u=JSON.stringify(Um(i));return n.has(u)||(n.add(u),l.push({key:u,link:i})),l},[])}function Yc(e){let t=Sf(e);return t.search===void 0&&(t.search=""),t}let Pr;function Hm(){if(Pr!==void 0)return Pr;let e=document.createElement("link");return Pr=e.relList.supports("preload"),e=null,Pr}/**
 * @remix-run/react v2.15.1
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */const $m={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},Bm=/[&><\u2028\u2029]/g;function Nr(e){return e.replace(Bm,t=>$m[t])}function Pa(e){return{__html:e}}/**
 * @remix-run/react v2.15.1
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function Vm(e){return e.headers.get("X-Remix-Catch")!=null}function Wm(e){return e.headers.get("X-Remix-Error")!=null}function Qm(e){return su(e)&&e.status>=400&&e.headers.get("X-Remix-Error")==null&&e.headers.get("X-Remix-Catch")==null&&e.headers.get("X-Remix-Response")==null}function Km(e){return e.headers.get("X-Remix-Redirect")!=null}function Ym(e){var t;return!!((t=e.headers.get("Content-Type"))!==null&&t!==void 0&&t.match(/text\/remix-deferred/))}function su(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function Xm(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}async function Xc(e,t,n=0){let r=new URL(e.url);r.searchParams.set("_data",t),n>0&&await new Promise(u=>setTimeout(u,5**n*10));let l=await Il(e),i=window.__remixRevalidation,o=await fetch(r.href,l).catch(u=>{if(typeof i=="number"&&i===window.__remixRevalidation&&(u==null?void 0:u.name)==="TypeError"&&n<3)return Xc(e,t,n+1);throw u});if(Wm(o)){let u=await o.json(),a=new Error(u.message);return a.stack=u.stack,a}if(Qm(o)){let u=await o.text(),a=new Error(u);return a.stack=void 0,a}return o}async function Il(e){let t={signal:e.signal};if(e.method!=="GET"){t.method=e.method;let n=e.headers.get("Content-Type");n&&/\bapplication\/json\b/.test(n)?(t.headers={"Content-Type":n},t.body=JSON.stringify(await e.json())):n&&/\btext\/plain\b/.test(n)?(t.headers={"Content-Type":n},t.body=await e.text()):n&&/\bapplication\/x-www-form-urlencoded\b/.test(n)?t.body=new URLSearchParams(await e.text()):t.body=await e.formData()}return t}const Jm="__deferred_promise:";async function Gm(e){if(!e)throw new Error("parseDeferredReadableStream requires stream argument");let t,n={};try{let r=Zm(e),i=(await r.next()).value;if(!i)throw new Error("no critical data");let o=JSON.parse(i);if(typeof o=="object"&&o!==null)for(let[u,a]of Object.entries(o))typeof a!="string"||!a.startsWith(Jm)||(t=t||{},t[u]=new Promise((s,h)=>{n[u]={resolve:d=>{s(d),delete n[u]},reject:d=>{h(d),delete n[u]}}}));return(async()=>{try{for await(let u of r){let[a,...s]=u.split(":"),h=s.join(":"),d=JSON.parse(h);if(a==="data")for(let[f,w]of Object.entries(d))n[f]&&n[f].resolve(w);else if(a==="error")for(let[f,w]of Object.entries(d)){let v=new Error(w.message);v.stack=w.stack,n[f]&&n[f].reject(v)}}for(let[u,a]of Object.entries(n))a.reject(new Ef(`Deferred ${u} will never be resolved`))}catch(u){for(let a of Object.values(n))a.reject(u)}})(),new kf({...o,...t})}catch(r){for(let l of Object.values(n))l.reject(r);throw r}}async function*Zm(e){let t=e.getReader(),n=[],r=[],l=!1,i=new TextEncoder,o=new TextDecoder,u=async()=>{if(r.length>0)return r.shift();for(;!l&&r.length===0;){let s=await t.read();if(s.done){l=!0;break}n.push(s.value);try{let d=o.decode(Na(...n)).split(`

`);if(d.length>=2&&(r.push(...d.slice(0,-1)),n=[i.encode(d.slice(-1).join(`

`))]),r.length>0)break}catch{continue}}return r.length>0||n.length>0&&(r=o.decode(Na(...n)).split(`

`).filter(h=>h),n=[]),r.shift()},a=await u();for(;a;)yield a,a=await u()}function Na(...e){let t=new Uint8Array(e.reduce((r,l)=>r+l.length,0)),n=0;for(let r of e)t.set(r,n),n+=r.length;return t}/**
 * @remix-run/react v2.15.1
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function zh(e,t,n){return async({request:r,matches:l,fetcherKey:i})=>r.method!=="GET"?qm(r,l):i?eh(r,l):bm(e,t,n(),r,l)}async function qm(e,t){let n=t.find(i=>i.shouldLoad);Ze(n,"No action match found");let r,l=await n.resolve(async i=>await i(async()=>{let u=Ml(e.url),a=await Il(e),{data:s,status:h}=await cu(u,a);return r=h,co(s,n.route.id)}));return su(l.result)||Da(l.result)?{[n.route.id]:l}:{[n.route.id]:{type:l.type,result:xf(l.result,r)}}}async function bm(e,t,n,r,l){let i=new Set,o=!1,u=l.map(()=>Ta()),a=Promise.all(u.map(v=>v.promise)),s=Ta(),h=Gc(Ml(r.url)),d=await Il(r),f={},w=Promise.all(l.map(async(v,S)=>v.resolve(async L=>{if(u[S].resolve(),!v.shouldLoad){var p;if(!n.state.initialized)return;if(v.route.id in n.state.loaderData&&e.routes[v.route.id].hasLoader&&(p=t[v.route.id])!==null&&p!==void 0&&p.shouldRevalidate){o=!0;return}}if(e.routes[v.route.id].hasClientLoader){e.routes[v.route.id].hasLoader&&(o=!0);try{let c=await Jc(L,h,d,v.route.id);f[v.route.id]={type:"data",result:c}}catch(c){f[v.route.id]={type:"error",result:c}}return}e.routes[v.route.id].hasLoader&&i.add(v.route.id);try{let c=await L(async()=>{let m=await s.promise;return Zc(m,v.route.id)});f[v.route.id]={type:"data",result:c}}catch(c){f[v.route.id]={type:"error",result:c}}})));if(await a,(!n.state.initialized||i.size===0)&&!window.__remixHdrActive)s.resolve({});else try{o&&i.size>0&&h.searchParams.set("_routes",l.filter(S=>i.has(S.route.id)).map(S=>S.route.id).join(","));let v=await cu(h,d);s.resolve(v.data)}catch(v){s.reject(v)}return await w,f}async function eh(e,t){let n=t.find(l=>l.shouldLoad);Ze(n,"No fetcher match found");let r=await n.resolve(async l=>{let i=Gc(Ml(e.url)),o=await Il(e);return Jc(l,i,o,n.route.id)});return{[n.route.id]:r}}function Jc(e,t,n,r){return e(async()=>{let l=new URL(t);l.searchParams.set("_routes",r);let{data:i}=await cu(l,n);return Zc(i,r)})}function Gc(e){let t=e.searchParams.getAll("index");e.searchParams.delete("index");let n=[];for(let r of t)r&&n.push(r);for(let r of n)e.searchParams.append("index",r);return e}function Ml(e){let t=typeof e=="string"?new URL(e,window.location.origin):e;return t.pathname==="/"?t.pathname="_root.data":t.pathname=`${t.pathname.replace(/\/$/,"")}.data`,t}async function cu(e,t){let n=await fetch(e,t);Ze(n.body,"No response body to decode");try{let r=await th(n.body,window);return{status:n.status,data:r.value}}catch(r){throw console.error(r),new Error(`Unable to decode turbo-stream response from URL: ${e.toString()}`)}}function th(e,t){return Nm(e,{plugins:[(n,...r)=>{if(n==="SanitizedError"){let[l,i,o]=r,u=Error;l&&l in t&&typeof t[l]=="function"&&(u=t[l]);let a=new u(i);return a.stack=o,{value:a}}if(n==="ErrorResponse"){let[l,i,o]=r;return{value:new Wr(i,o,l)}}if(n==="SingleFetchRedirect")return{value:{[Vc]:r[0]}}},(n,r)=>{if(n==="SingleFetchFallback")return{value:void 0};if(n==="SingleFetchClassInstance")return{value:r}}]})}function Zc(e,t){let n=e[Vc];return n?co(n,t):e[t]!==void 0?co(e[t],t):null}function co(e,t){if("error"in e)throw e.error;if("redirect"in e){let n={};return e.revalidate&&(n["X-Remix-Revalidate"]="yes"),e.reload&&(n["X-Remix-Reload-Document"]="yes"),e.replace&&(n["X-Remix-Replace"]="yes"),Fa(e.redirect,{status:e.status,headers:n})}else{if("data"in e)return e.data;throw new Error(`No response found for routeId "${t}"`)}}function Ta(){let e,t,n=new Promise((r,l)=>{e=async i=>{r(i);try{await n}catch{}},t=async i=>{l(i);try{await n}catch{}}});return{promise:n,resolve:e,reject:t}}/**
 * @remix-run/react v2.15.1
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */class Oh extends g.Component{constructor(t){super(t),this.state={error:t.error||null,location:t.location}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location?{error:t.error||null,location:t.location}:{error:t.error||n.error,location:n.location}}render(){return this.state.error?g.createElement(qc,{error:this.state.error,isOutsideRemixApp:!0}):this.props.children}}function qc({error:e,isOutsideRemixApp:t}){console.error(e);let n=g.createElement("script",{dangerouslySetInnerHTML:{__html:`
        console.log(
          "💿 Hey developer 👋. You can provide a way better UX than this when your app throws errors. Check out https://remix.run/guides/errors for more information."
        );
      `}});if(Da(e))return g.createElement(fo,{title:"Unhandled Thrown Response!"},g.createElement("h1",{style:{fontSize:"24px"}},e.status," ",e.statusText),n);let r;if(e instanceof Error)r=e;else{let l=e==null?"Unknown Error":typeof e=="object"&&"toString"in e?e.toString():JSON.stringify(e);r=new Error(l)}return g.createElement(fo,{title:"Application Error!",isOutsideRemixApp:t},g.createElement("h1",{style:{fontSize:"24px"}},"Application Error"),g.createElement("pre",{style:{padding:"2rem",background:"hsla(10, 50%, 50%, 0.1)",color:"red",overflow:"auto"}},r.stack),n)}function fo({title:e,renderScripts:t,isOutsideRemixApp:n,children:r}){var l;let{routeModules:i}=mn();return(l=i.root)!==null&&l!==void 0&&l.Layout&&!n?r:g.createElement("html",{lang:"en"},g.createElement("head",null,g.createElement("meta",{charSet:"utf-8"}),g.createElement("meta",{name:"viewport",content:"width=device-width,initial-scale=1,viewport-fit=cover"}),g.createElement("title",null,e)),g.createElement("body",null,g.createElement("main",{style:{fontFamily:"system-ui, sans-serif",padding:"2rem"}},r,t?g.createElement(kh,null):null)))}/**
 * @remix-run/react v2.15.1
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function nh(){return g.createElement(fo,{title:"Loading...",renderScripts:!0},g.createElement("script",{dangerouslySetInnerHTML:{__html:`
              console.log(
                "💿 Hey developer 👋. You can provide a way better UX than this " +
                "when your app is loading JS modules and/or running \`clientLoader\` " +
                "functions. Check out https://remix.run/route/hydrate-fallback " +
                "for more information."
              );
            `}}))}/**
 * @remix-run/react v2.15.1
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function bc(e){let t={};return Object.values(e).forEach(n=>{let r=n.parentId||"";t[r]||(t[r]=[]),t[r].push(n)}),t}function rh(e,t,n){let r=ef(t),l=t.HydrateFallback&&(!n||e.id==="root")?t.HydrateFallback:e.id==="root"?nh:void 0,i=t.ErrorBoundary?t.ErrorBoundary:e.id==="root"?()=>g.createElement(qc,{error:Cf()}):void 0;return e.id==="root"&&t.Layout?{...r?{element:g.createElement(t.Layout,null,g.createElement(r,null))}:{Component:r},...i?{errorElement:g.createElement(t.Layout,null,g.createElement(i,null))}:{ErrorBoundary:i},...l?{hydrateFallbackElement:g.createElement(t.Layout,null,g.createElement(l,null))}:{HydrateFallback:l}}:{Component:r,ErrorBoundary:i,HydrateFallback:l}}function Dh(e,t,n,r,l,i){return fu(t,n,r,l,i,"",bc(t),e)}function Tr(e,t,n){if(n){let o=`You cannot call ${e==="action"?"serverAction()":"serverLoader()"} in SPA Mode (routeId: "${t.id}")`;throw console.error(o),new Wr(400,"Bad Request",new Error(o),!0)}let l=`You are trying to call ${e==="action"?"serverAction()":"serverLoader()"} on a route that does not have a server ${e} (routeId: "${t.id}")`;if(e==="loader"&&!t.hasLoader||e==="action"&&!t.hasAction)throw console.error(l),new Wr(400,"Bad Request",new Error(l),!0)}function mi(e,t){let n=e==="clientAction"?"a":"an",r=`Route "${t}" does not have ${n} ${e}, but you are trying to submit to it. To fix this, please add ${n} \`${e}\` function to the route`;throw console.error(r),new Wr(405,"Method Not Allowed",new Error(r),!0)}function fu(e,t,n,r,l,i="",o=bc(e),u){return(o[i]||[]).map(a=>{let s=t[a.id];async function h(m,y,k){if(typeof k=="function")return await k();let E=await oh(m,a);return y?uh(E):E}function d(m,y,k){return a.hasLoader?h(m,y,k):Promise.resolve(null)}function f(m,y,k){if(!a.hasAction)throw mi("action",a.id);return h(m,y,k)}async function w(m){let y=t[a.id],k=y?Qc(a,y):Promise.resolve();try{return m()}finally{await k}}let v={id:a.id,index:a.index,path:a.path};if(s){var S,L,p;Object.assign(v,{...v,...rh(a,s,l),handle:s.handle,shouldRevalidate:za(r,s,a.id,u)});let m=n==null||(S=n.loaderData)===null||S===void 0?void 0:S[a.id],y=n==null||(L=n.errors)===null||L===void 0?void 0:L[a.id],k=u==null&&(((p=s.clientLoader)===null||p===void 0?void 0:p.hydrate)===!0||!a.hasLoader);v.loader=async({request:E,params:C},x)=>{try{return await w(async()=>(Ze(s,"No `routeModule` available for critical-route loader"),s.clientLoader?s.clientLoader({request:E,params:C,async serverLoader(){if(Tr("loader",a,l),k){if(m!==void 0)return m;if(y!==void 0)throw y;return null}return d(E,!0,x)}}):l?null:d(E,!1,x)))}finally{k=!1}},v.loader.hydrate=sh(a,s,l),v.action=({request:E,params:C},x)=>w(async()=>{if(Ze(s,"No `routeModule` available for critical-route action"),!s.clientAction){if(l)throw mi("clientAction",a.id);return f(E,!1,x)}return s.clientAction({request:E,params:C,async serverAction(){return Tr("action",a,l),f(E,!0,x)}})})}else a.hasClientLoader||(v.loader=({request:m},y)=>w(()=>l?Promise.resolve(null):d(m,!1,y))),a.hasClientAction||(v.action=({request:m},y)=>w(()=>{if(l)throw mi("clientAction",a.id);return f(m,!1,y)})),v.lazy=async()=>{let m=await ih(a,t),y={...m};if(m.clientLoader){let k=m.clientLoader;y.loader=(E,C)=>k({...E,async serverLoader(){return Tr("loader",a,l),d(E.request,!0,C)}})}if(m.clientAction){let k=m.clientAction;y.action=(E,C)=>k({...E,async serverAction(){return Tr("action",a,l),f(E.request,!0,C)}})}return{...y.loader?{loader:y.loader}:{},...y.action?{action:y.action}:{},hasErrorBoundary:y.hasErrorBoundary,shouldRevalidate:za(r,y,a.id,u),handle:y.handle,Component:y.Component,ErrorBoundary:y.ErrorBoundary}};let c=fu(e,t,n,r,l,a.id,o,u);return c.length>0&&(v.children=c),v})}function za(e,t,n,r){if(r)return lh(n,t.shouldRevalidate,r);if(e.v3_singleFetch&&t.shouldRevalidate){let l=t.shouldRevalidate;return i=>l({...i,defaultShouldRevalidate:!0})}return t.shouldRevalidate}function lh(e,t,n){let r=!1;return l=>r?t?t(l):l.defaultShouldRevalidate:(r=!0,n.has(e))}async function ih(e,t){let n=await Wc(e,t);return await Qc(e,n),{Component:ef(n),ErrorBoundary:n.ErrorBoundary,clientAction:n.clientAction,clientLoader:n.clientLoader,handle:n.handle,links:n.links,meta:n.meta,shouldRevalidate:n.shouldRevalidate}}async function oh(e,t){let n=await Xc(e,t.id);if(n instanceof Error)throw n;if(Km(n))throw ah(n);if(Vm(n))throw n;return Ym(n)&&n.body?await Gm(n.body):n}function uh(e){if(Xm(e))return e.data;if(su(e)){let t=e.headers.get("Content-Type");return t&&/\bapplication\/json\b/.test(t)?e.json():e.text()}return e}function ah(e){let t=parseInt(e.headers.get("X-Remix-Status"),10)||302,n=e.headers.get("X-Remix-Redirect"),r={},l=e.headers.get("X-Remix-Revalidate");l&&(r["X-Remix-Revalidate"]=l);let i=e.headers.get("X-Remix-Reload-Document");i&&(r["X-Remix-Reload-Document"]=i);let o=e.headers.get("X-Remix-Replace");return o&&(r["X-Remix-Replace"]=o),Fa(n,{status:t,headers:r})}function ef(e){if(e.default==null)return;if(!(typeof e.default=="object"&&Object.keys(e.default).length===0))return e.default}function sh(e,t,n){return n&&e.id!=="root"||t.clientLoader!=null&&(t.clientLoader.hydrate===!0||e.hasLoader!==!0)}/**
 * @remix-run/react v2.15.1
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */const Br=new Set,ch=1e3,hl=new Set,fh=7680;function du(e,t){return e.v3_lazyRouteDiscovery===!0&&!t}function dh(e,t){let n=new Set(t.state.matches.map(o=>o.route.id)),r=t.state.location.pathname.split("/").filter(Boolean),l=["/"];for(r.pop();r.length>0;)l.push(`/${r.join("/")}`),r.pop();l.forEach(o=>{let u=Ia(t.routes,o,t.basename);u&&u.forEach(a=>n.add(a.route.id))});let i=[...n].reduce((o,u)=>Object.assign(o,{[u]:e.routes[u]}),{});return{...e,routes:i}}function Fh(e,t,n,r,l){if(du(n,r))return async({path:i,patch:o})=>{hl.has(i)||await tf([i],e,t,n,r,l,o)}}function Ih(e,t,n,r,l){g.useEffect(()=>{var i;if(!du(r,l)||((i=navigator.connection)===null||i===void 0?void 0:i.saveData)===!0)return;function o(d){let f=d.tagName==="FORM"?d.getAttribute("action"):d.getAttribute("href");if(!f)return;let w=new URL(f,window.location.origin);hl.has(w.pathname)||Br.add(w.pathname)}async function u(){let d=Array.from(Br.keys()).filter(f=>hl.has(f)?(Br.delete(f),!1):!0);if(d.length!==0)try{await tf(d,t,n,r,l,e.basename,e.patchRoutes)}catch(f){console.error("Failed to fetch manifest patches",f)}}document.body.querySelectorAll("a[data-discover], form[data-discover]").forEach(d=>o(d)),u();let a=mh(u,100);function s(d){return d.nodeType===Node.ELEMENT_NODE}let h=new MutationObserver(d=>{let f=new Set;d.forEach(w=>{[w.target,...w.addedNodes].forEach(v=>{s(v)&&((v.tagName==="A"&&v.getAttribute("data-discover")||v.tagName==="FORM"&&v.getAttribute("data-discover"))&&f.add(v),v.tagName!=="A"&&v.querySelectorAll("a[data-discover], form[data-discover]").forEach(S=>f.add(S)))})}),f.forEach(w=>o(w)),a()});return h.observe(document.documentElement,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["data-discover","href","action"]}),()=>h.disconnect()},[r,l,t,n,e])}async function tf(e,t,n,r,l,i,o){let u=`${i??"/"}/__manifest`.replace(/\/+/g,"/"),a=new URL(u,window.location.origin);if(e.sort().forEach(v=>a.searchParams.append("p",v)),a.searchParams.set("version",t.version),a.toString().length>fh){Br.clear();return}let s=await fetch(a);if(s.ok){if(s.status>=400)throw new Error(await s.text())}else throw new Error(`${s.status} ${s.statusText}`);let h=await s.json(),d=new Set(Object.keys(t.routes)),f=Object.values(h).reduce((v,S)=>d.has(S.id)?v:Object.assign(v,{[S.id]:S}),{});Object.assign(t.routes,f),e.forEach(v=>ph(v,hl));let w=new Set;Object.values(f).forEach(v=>{(!v.parentId||!f[v.parentId])&&w.add(v.parentId)}),w.forEach(v=>o(v||null,fu(f,n,null,r,l,v)))}function ph(e,t){if(t.size>=ch){let n=t.values().next().value;typeof n=="string"&&t.delete(n)}t.add(e)}function mh(e,t){let n;return(...r)=>{window.clearTimeout(n),n=window.setTimeout(()=>e(...r),t)}}function nf(){let e=g.useContext(po);return Ze(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function jl(){let e=g.useContext(vl);return Ze(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}const rf=g.createContext(void 0);rf.displayName="Remix";function mn(){let e=g.useContext(rf);return Ze(e,"You must render this element inside a <Remix> element"),e}function lf(e,t){let[n,r]=g.useState(!1),[l,i]=g.useState(!1),{onFocus:o,onBlur:u,onMouseEnter:a,onMouseLeave:s,onTouchStart:h}=t,d=g.useRef(null);g.useEffect(()=>{if(e==="render"&&i(!0),e==="viewport"){let v=L=>{L.forEach(p=>{i(p.isIntersecting)})},S=new IntersectionObserver(v,{threshold:.5});return d.current&&S.observe(d.current),()=>{S.disconnect()}}},[e]);let f=()=>{e==="intent"&&r(!0)},w=()=>{e==="intent"&&(r(!1),i(!1))};return g.useEffect(()=>{if(n){let v=setTimeout(()=>{i(!0)},100);return()=>{clearTimeout(v)}}},[n]),[l,d,{onFocus:Cn(o,f),onBlur:Cn(u,w),onMouseEnter:Cn(a,f),onMouseLeave:Cn(s,w),onTouchStart:Cn(h,f)}]}const pu=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function mu(e,t,n){return e==="render"&&!t&&!n?"true":void 0}let hh=g.forwardRef(({to:e,prefetch:t="none",discover:n="render",...r},l)=>{let i=typeof e=="string"&&pu.test(e),o=mo(e),[u,a,s]=lf(t,r);return g.createElement(g.Fragment,null,g.createElement(tm,G({},r,s,{ref:of(l,a),to:e,"data-discover":mu(n,i,r.reloadDocument)})),u&&!i?g.createElement(vu,{page:o}):null)});hh.displayName="NavLink";let vh=g.forwardRef(({to:e,prefetch:t="none",discover:n="render",...r},l)=>{let i=typeof e=="string"&&pu.test(e),o=mo(e),[u,a,s]=lf(t,r);return g.createElement(g.Fragment,null,g.createElement(Uc,G({},r,s,{ref:of(l,a),to:e,"data-discover":mu(n,i,r.reloadDocument)})),u&&!i?g.createElement(vu,{page:o}):null)});vh.displayName="Link";let yh=g.forwardRef(({discover:e="render",...t},n)=>{let r=typeof t.action=="string"&&pu.test(t.action);return g.createElement(nm,G({},t,{ref:n,"data-discover":mu(e,r,t.reloadDocument)}))});yh.displayName="Form";function Cn(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function hu(e,t,n){if(n&&!Vr)return[e[0]];if(t){let r=e.findIndex(l=>t[l.route.id]!==void 0);return e.slice(0,r+1)}return e}function Mh(){let{isSpaMode:e,manifest:t,routeModules:n,criticalCss:r}=mn(),{errors:l,matches:i}=jl(),o=hu(i,l,e),u=g.useMemo(()=>Om(o,n,t),[o,n,t]);return g.createElement(g.Fragment,null,r?g.createElement("style",{dangerouslySetInnerHTML:{__html:r}}):null,u.map(({key:a,link:s})=>uu(s)?g.createElement(vu,G({key:a},s)):g.createElement("link",G({key:a},s))))}function vu({page:e,...t}){let{router:n}=nf(),r=g.useMemo(()=>Ia(n.routes,e,n.basename),[n.routes,e,n.basename]);return r?g.createElement(wh,G({page:e,matches:r},t)):(console.warn(`Tried to prefetch ${e} but no routes matched.`),null)}function gh(e){let{manifest:t,routeModules:n}=mn(),[r,l]=g.useState([]);return g.useEffect(()=>{let i=!1;return Im(e,t,n).then(o=>{i||l(o)}),()=>{i=!0}},[e,t,n]),r}function wh({page:e,matches:t,...n}){let r=fn(),{future:l,manifest:i,routeModules:o}=mn(),{loaderData:u,matches:a}=jl(),s=g.useMemo(()=>Ra(e,t,a,i,r,l,"data"),[e,t,a,i,r,l]),h=g.useMemo(()=>{if(!l.v3_singleFetch)return Mm(e,s,i);if(e===r.pathname+r.search+r.hash)return[];let v=new Set,S=!1;if(t.forEach(p=>{var c;i.routes[p.route.id].hasLoader&&(!s.some(m=>m.route.id===p.route.id)&&p.route.id in u&&(c=o[p.route.id])!==null&&c!==void 0&&c.shouldRevalidate||i.routes[p.route.id].hasClientLoader?S=!0:v.add(p.route.id))}),v.size===0)return[];let L=Ml(e);return S&&v.size>0&&L.searchParams.set("_routes",t.filter(p=>v.has(p.route.id)).map(p=>p.route.id).join(",")),[L.pathname+L.search]},[l.v3_singleFetch,u,r,i,s,t,e,o]),d=g.useMemo(()=>Ra(e,t,a,i,r,l,"assets"),[e,t,a,i,r,l]),f=g.useMemo(()=>jm(d,i),[d,i]),w=gh(d);return g.createElement(g.Fragment,null,h.map(v=>g.createElement("link",G({key:v,rel:"prefetch",as:"fetch",href:v},n))),f.map(v=>g.createElement("link",G({key:v,rel:"modulepreload",href:v},n))),w.map(({key:v,link:S})=>g.createElement("link",G({key:v},S))))}function jh(){let{isSpaMode:e,routeModules:t}=mn(),{errors:n,matches:r,loaderData:l}=jl(),i=fn(),o=hu(r,n,e),u=null;n&&(u=n[o[o.length-1].route.id]);let a=[],s=null,h=[];for(let d=0;d<o.length;d++){let f=o[d],w=f.route.id,v=l[w],S=f.params,L=t[w],p=[],c={id:w,data:v,meta:[],params:f.params,pathname:f.pathname,handle:f.route.handle,error:u};if(h[d]=c,L!=null&&L.meta?p=typeof L.meta=="function"?L.meta({data:v,params:S,location:i,matches:h,error:u}):Array.isArray(L.meta)?[...L.meta]:L.meta:s&&(p=[...s]),p=p||[],!Array.isArray(p))throw new Error("The route at "+f.route.path+` returns an invalid value. All route meta functions must return an array of meta objects.

To reference the meta function API, see https://remix.run/route/meta`);c.meta=p,h[d]=c,a=[...p],s=a}return g.createElement(g.Fragment,null,a.flat().map(d=>{if(!d)return null;if("tagName"in d){let{tagName:f,...w}=d;if(!Sh(f))return console.warn(`A meta object uses an invalid tagName: ${f}. Expected either 'link' or 'meta'`),null;let v=f;return g.createElement(v,G({key:JSON.stringify(w)},w))}if("title"in d)return g.createElement("title",{key:"title"},String(d.title));if("charset"in d&&(d.charSet??(d.charSet=d.charset),delete d.charset),"charSet"in d&&d.charSet!=null)return typeof d.charSet=="string"?g.createElement("meta",{key:"charSet",charSet:d.charSet}):null;if("script:ld+json"in d)try{let f=JSON.stringify(d["script:ld+json"]);return g.createElement("script",{key:`script:ld+json:${f}`,type:"application/ld+json",dangerouslySetInnerHTML:{__html:f}})}catch{return null}return g.createElement("meta",G({key:JSON.stringify(d)},d))}))}function Sh(e){return typeof e=="string"&&/^(meta|link)$/.test(e)}function Eh(e){return g.createElement(Lf,e)}let Vr=!1;function kh(e){let{manifest:t,serverHandoffString:n,abortDelay:r,serializeError:l,isSpaMode:i,future:o,renderMeta:u}=mn(),{router:a,static:s,staticContext:h}=nf(),{matches:d}=jl(),f=du(o,i);u&&(u.didRenderScripts=!0);let w=hu(d,null,i);g.useEffect(()=>{Vr=!0},[]);let v=(E,C)=>{let x;return l&&C instanceof Error?x=l(C):x=C,`${JSON.stringify(E)}:__remixContext.p(!1, ${Nr(JSON.stringify(x))})`},S=(E,C,x)=>{let T;try{T=JSON.stringify(x)}catch(N){return v(C,N)}return`${JSON.stringify(C)}:__remixContext.p(${Nr(T)})`},L=(E,C,x)=>{let T;return l&&x instanceof Error?T=l(x):T=x,`__remixContext.r(${JSON.stringify(E)}, ${JSON.stringify(C)}, !1, ${Nr(JSON.stringify(T))})`},p=(E,C,x)=>{let T;try{T=JSON.stringify(x)}catch(N){return L(E,C,N)}return`__remixContext.r(${JSON.stringify(E)}, ${JSON.stringify(C)}, ${Nr(T)})`},c=[],m=g.useMemo(()=>{var E;let C=o.v3_singleFetch?"window.__remixContext.stream = new ReadableStream({start(controller){window.__remixContext.streamController = controller;}}).pipeThrough(new TextEncoderStream());":"",x=h?`window.__remixContext = ${n};${C}`:" ",T=o.v3_singleFetch||h==null?void 0:h.activeDeferreds;x+=T?["__remixContext.p = function(v,e,p,x) {","  if (typeof e !== 'undefined') {",`    x=new Error("Unexpected Server Error");
    x.stack=undefined;`,"    p=Promise.reject(x);","  } else {","    p=Promise.resolve(v);","  }","  return p;","};","__remixContext.n = function(i,k) {","  __remixContext.t = __remixContext.t || {};","  __remixContext.t[i] = __remixContext.t[i] || {};","  let p = new Promise((r, e) => {__remixContext.t[i][k] = {r:(v)=>{r(v);},e:(v)=>{e(v);}};});",typeof r=="number"?`setTimeout(() => {if(typeof p._error !== "undefined" || typeof p._data !== "undefined"){return;} __remixContext.t[i][k].e(new Error("Server timeout."))}, ${r});`:"","  return p;","};","__remixContext.r = function(i,k,v,e,p,x) {","  p = __remixContext.t[i][k];","  if (typeof e !== 'undefined') {",`    x=new Error("Unexpected Server Error");
    x.stack=undefined;`,"    p.e(x);","  } else {","    p.r(v);","  }","};"].join(`
`)+Object.entries(T).map(([I,V])=>{let $e=new Set(V.pendingKeys),Ee=V.deferredKeys.map(ke=>{if($e.has(ke))return c.push(g.createElement(Oa,{key:`${I} | ${ke}`,deferredData:V,routeId:I,dataKey:ke,scriptProps:e,serializeData:p,serializeError:L})),`${JSON.stringify(ke)}:__remixContext.n(${JSON.stringify(I)}, ${JSON.stringify(ke)})`;{let wt=V.data[ke];return typeof wt._error<"u"?v(ke,wt._error):S(I,ke,wt._data)}}).join(`,
`);return`Object.assign(__remixContext.state.loaderData[${JSON.stringify(I)}], {${Ee}});`}).join(`
`)+(c.length>0?`__remixContext.a=${c.length};`:""):"";let N=s?`${(E=t.hmr)!==null&&E!==void 0&&E.runtime?`import ${JSON.stringify(t.hmr.runtime)};`:""}${f?"":`import ${JSON.stringify(t.url)}`};
${w.map((I,V)=>`import * as route${V} from ${JSON.stringify(t.routes[I.route.id].module)};`).join(`
`)}
${f?`window.__remixManifest = ${JSON.stringify(dh(t,a),null,2)};`:""}
window.__remixRouteModules = {${w.map((I,V)=>`${JSON.stringify(I.route.id)}:route${V}`).join(",")}};

import(${JSON.stringify(t.entry.module)});`:" ";return g.createElement(g.Fragment,null,g.createElement("script",G({},e,{suppressHydrationWarning:!0,dangerouslySetInnerHTML:Pa(x),type:void 0})),g.createElement("script",G({},e,{suppressHydrationWarning:!0,dangerouslySetInnerHTML:Pa(N),type:"module",async:!0})))},[]);if(!s&&typeof __remixContext=="object"&&__remixContext.a)for(let E=0;E<__remixContext.a;E++)c.push(g.createElement(Oa,{key:E,scriptProps:e,serializeData:p,serializeError:L}));let y=w.map(E=>{let C=t.routes[E.route.id];return(C.imports||[]).concat([C.module])}).flat(1),k=Vr?[]:t.entry.imports.concat(y);return Vr?null:g.createElement(g.Fragment,null,f?null:g.createElement("link",{rel:"modulepreload",href:t.url,crossOrigin:e.crossOrigin}),g.createElement("link",{rel:"modulepreload",href:t.entry.module,crossOrigin:e.crossOrigin}),Ch(k).map(E=>g.createElement("link",{key:E,rel:"modulepreload",href:E,crossOrigin:e.crossOrigin})),m,c)}function Oa({dataKey:e,deferredData:t,routeId:n,scriptProps:r,serializeData:l,serializeError:i}){return typeof document>"u"&&t&&e&&n&&Ze(t.pendingKeys.includes(e),`Deferred data for route ${n} with key ${e} was not pending but tried to render a script for it.`),g.createElement(g.Suspense,{fallback:typeof document>"u"&&t&&e&&n?null:g.createElement("script",G({},r,{async:!0,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:" "}}))},typeof document>"u"&&t&&e&&n?g.createElement(Eh,{resolve:t.data[e],errorElement:g.createElement(xh,{dataKey:e,routeId:n,scriptProps:r,serializeError:i}),children:o=>g.createElement("script",G({},r,{async:!0,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:l(n,e,o)}}))}):g.createElement("script",G({},r,{async:!0,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:" "}})))}function xh({dataKey:e,routeId:t,scriptProps:n,serializeError:r}){let l=_f();return g.createElement("script",G({},n,{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:r(t,e,l)}}))}function Ch(e){return[...new Set(e)]}function of(...e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}export{Mh as L,jh as M,rf as R,kh as S,G as _,fu as a,Fh as b,Dh as c,th as d,Oh as e,Nh as f,zh as g,mn as h,Ze as i,Th as j,vh as k,Op as l,jc as r,sh as s,Ih as u};
